Advertisement
mrmeval

Fiasco fixed patch fractal codec compressor

Jun 17th, 2019
409
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 <bug-libtool@gnu.org>."
  622. -
  623. -lt_cl_version="\
  624. -m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
  625. -m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  626. -configured by $[0], generated by m4_PACKAGE_STRING.
  627. -
  628. -Copyright (C) 2008 Free Software Foundation, Inc.
  629. -This config.lt script is free software; the Free Software Foundation
  630. -gives unlimited permision to copy, distribute and modify it."
  631. -
  632. -while test $[#] != 0
  633. -do
  634. - case $[1] in
  635. - --version | --v* | -V )
  636. - echo "$lt_cl_version"; exit 0 ;;
  637. - --help | --h* | -h )
  638. - echo "$lt_cl_help"; exit 0 ;;
  639. - --debug | --d* | -d )
  640. - debug=: ;;
  641. - --quiet | --q* | --silent | --s* | -q )
  642. - lt_cl_silent=: ;;
  643. -
  644. - -*) AC_MSG_ERROR([unrecognized option: $[1]
  645. -Try \`$[0] --help' for more information.]) ;;
  646. -
  647. - *) AC_MSG_ERROR([unrecognized argument: $[1]
  648. -Try \`$[0] --help' for more information.]) ;;
  649. - esac
  650. - shift
  651. -done
  652. -
  653. -if $lt_cl_silent; then
  654. - exec AS_MESSAGE_FD>/dev/null
  655. -fi
  656. -_LTEOF
  657. -
  658. -cat >>"$CONFIG_LT" <<_LTEOF
  659. -_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
  660. -_LTEOF
  661. -
  662. -cat >>"$CONFIG_LT" <<\_LTEOF
  663. -AC_MSG_NOTICE([creating $ofile])
  664. -_LT_OUTPUT_LIBTOOL_COMMANDS
  665. -AS_EXIT(0)
  666. -_LTEOF
  667. -chmod +x "$CONFIG_LT"
  668. -
  669. -# configure is writing to config.log, but config.lt does its own redirection,
  670. -# appending to config.log, which fails on DOS, as config.log is still kept
  671. -# open by configure. Here we exec the FD to /dev/null, effectively closing
  672. -# config.log, so it can be properly (re)opened and appended to by config.lt.
  673. -if test "$no_create" != yes; then
  674. - lt_cl_success=:
  675. - test "$silent" = yes &&
  676. - lt_config_lt_args="$lt_config_lt_args --quiet"
  677. - exec AS_MESSAGE_LOG_FD>/dev/null
  678. - $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  679. - exec AS_MESSAGE_LOG_FD>>config.log
  680. - $lt_cl_success || AS_EXIT(1)
  681. -fi
  682. -])# LT_OUTPUT
  683. -
  684. -
  685. -# _LT_CONFIG(TAG)
  686. -# ---------------
  687. -# If TAG is the built-in tag, create an initial libtool script with a
  688. -# default configuration from the untagged config vars. Otherwise add code
  689. -# to config.status for appending the configuration named by TAG from the
  690. -# matching tagged config vars.
  691. -m4_defun([_LT_CONFIG],
  692. -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  693. -_LT_CONFIG_SAVE_COMMANDS([
  694. - m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
  695. - m4_if(_LT_TAG, [C], [
  696. - # See if we are running on zsh, and set the options which allow our
  697. - # commands through without removal of \ escapes.
  698. - if test -n "${ZSH_VERSION+set}" ; then
  699. - setopt NO_GLOB_SUBST
  700. - fi
  701. -
  702. - cfgfile="${ofile}T"
  703. - trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  704. - $RM "$cfgfile"
  705. -
  706. - cat <<_LT_EOF >> "$cfgfile"
  707. -#! $SHELL
  708. -
  709. -# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  710. -# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  711. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  712. -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  713. -#
  714. -_LT_COPYING
  715. -_LT_LIBTOOL_TAGS
  716. -
  717. -# ### BEGIN LIBTOOL CONFIG
  718. -_LT_LIBTOOL_CONFIG_VARS
  719. -_LT_LIBTOOL_TAG_VARS
  720. -# ### END LIBTOOL CONFIG
  721. -
  722. -_LT_EOF
  723. -
  724. - case $host_os in
  725. - aix3*)
  726. - cat <<\_LT_EOF >> "$cfgfile"
  727. -# AIX sometimes has problems with the GCC collect2 program. For some
  728. -# reason, if we set the COLLECT_NAMES environment variable, the problems
  729. -# vanish in a puff of smoke.
  730. -if test "X${COLLECT_NAMES+set}" != Xset; then
  731. - COLLECT_NAMES=
  732. - export COLLECT_NAMES
  733. -fi
  734. -_LT_EOF
  735. - ;;
  736. - esac
  737. -
  738. - _LT_PROG_LTMAIN
  739. -
  740. - # We use sed instead of cat because bash on DJGPP gets confused if
  741. - # if finds mixed CR/LF and LF-only lines. Since sed operates in
  742. - # text mode, it properly converts lines to CR/LF. This bash problem
  743. - # is reportedly fixed, but why not run on old versions too?
  744. - sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  745. - || (rm -f "$cfgfile"; exit 1)
  746. -
  747. - _LT_PROG_XSI_SHELLFNS
  748. -
  749. - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  750. - || (rm -f "$cfgfile"; exit 1)
  751. -
  752. - mv -f "$cfgfile" "$ofile" ||
  753. - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  754. - chmod +x "$ofile"
  755. -],
  756. -[cat <<_LT_EOF >> "$ofile"
  757. -
  758. -dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
  759. -dnl in a comment (ie after a #).
  760. -# ### BEGIN LIBTOOL TAG CONFIG: $1
  761. -_LT_LIBTOOL_TAG_VARS(_LT_TAG)
  762. -# ### END LIBTOOL TAG CONFIG: $1
  763. -_LT_EOF
  764. -])dnl /m4_if
  765. -],
  766. -[m4_if([$1], [], [
  767. - PACKAGE='$PACKAGE'
  768. - VERSION='$VERSION'
  769. - TIMESTAMP='$TIMESTAMP'
  770. - RM='$RM'
  771. - ofile='$ofile'], [])
  772. -])dnl /_LT_CONFIG_SAVE_COMMANDS
  773. -])# _LT_CONFIG
  774. -
  775. -
  776. -# LT_SUPPORTED_TAG(TAG)
  777. -# ---------------------
  778. -# Trace this macro to discover what tags are supported by the libtool
  779. -# --tag option, using:
  780. -# autoconf --trace 'LT_SUPPORTED_TAG:$1'
  781. -AC_DEFUN([LT_SUPPORTED_TAG], [])
  782. -
  783. -
  784. -# C support is built-in for now
  785. -m4_define([_LT_LANG_C_enabled], [])
  786. -m4_define([_LT_TAGS], [])
  787. -
  788. -
  789. -# LT_LANG(LANG)
  790. -# -------------
  791. -# Enable libtool support for the given language if not already enabled.
  792. -AC_DEFUN([LT_LANG],
  793. -[AC_BEFORE([$0], [LT_OUTPUT])dnl
  794. -m4_case([$1],
  795. - [C], [_LT_LANG(C)],
  796. - [C++], [_LT_LANG(CXX)],
  797. - [Java], [_LT_LANG(GCJ)],
  798. - [Fortran 77], [_LT_LANG(F77)],
  799. - [Fortran], [_LT_LANG(FC)],
  800. - [Windows Resource], [_LT_LANG(RC)],
  801. - [m4_ifdef([_LT_LANG_]$1[_CONFIG],
  802. - [_LT_LANG($1)],
  803. - [m4_fatal([$0: unsupported language: "$1"])])])dnl
  804. -])# LT_LANG
  805. -
  806. -
  807. -# _LT_LANG(LANGNAME)
  808. -# ------------------
  809. -m4_defun([_LT_LANG],
  810. -[m4_ifdef([_LT_LANG_]$1[_enabled], [],
  811. - [LT_SUPPORTED_TAG([$1])dnl
  812. - m4_append([_LT_TAGS], [$1 ])dnl
  813. - m4_define([_LT_LANG_]$1[_enabled], [])dnl
  814. - _LT_LANG_$1_CONFIG($1)])dnl
  815. -])# _LT_LANG
  816. -
  817. -
  818. -# _LT_LANG_DEFAULT_CONFIG
  819. -# -----------------------
  820. -m4_defun([_LT_LANG_DEFAULT_CONFIG],
  821. -[AC_PROVIDE_IFELSE([AC_PROG_CXX],
  822. - [LT_LANG(CXX)],
  823. - [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
  824. -
  825. -AC_PROVIDE_IFELSE([AC_PROG_F77],
  826. - [LT_LANG(F77)],
  827. - [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
  828. -
  829. -AC_PROVIDE_IFELSE([AC_PROG_FC],
  830. - [LT_LANG(FC)],
  831. - [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
  832. -
  833. -dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
  834. -dnl pulling things in needlessly.
  835. -AC_PROVIDE_IFELSE([AC_PROG_GCJ],
  836. - [LT_LANG(GCJ)],
  837. - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
  838. - [LT_LANG(GCJ)],
  839. - [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
  840. - [LT_LANG(GCJ)],
  841. - [m4_ifdef([AC_PROG_GCJ],
  842. - [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
  843. - m4_ifdef([A][M_PROG_GCJ],
  844. - [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
  845. - m4_ifdef([LT_PROG_GCJ],
  846. - [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
  847. -
  848. -AC_PROVIDE_IFELSE([LT_PROG_RC],
  849. - [LT_LANG(RC)],
  850. - [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
  851. -])# _LT_LANG_DEFAULT_CONFIG
  852. -
  853. -# Obsolete macros:
  854. -AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
  855. -AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  856. -AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  857. -AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  858. -dnl aclocal-1.4 backwards compatibility:
  859. -dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
  860. -dnl AC_DEFUN([AC_LIBTOOL_F77], [])
  861. -dnl AC_DEFUN([AC_LIBTOOL_FC], [])
  862. -dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
  863. -
  864. -
  865. -# _LT_TAG_COMPILER
  866. -# ----------------
  867. -m4_defun([_LT_TAG_COMPILER],
  868. -[AC_REQUIRE([AC_PROG_CC])dnl
  869. -
  870. -_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
  871. -_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
  872. -_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
  873. -_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
  874. -
  875. -# If no C compiler was specified, use CC.
  876. -LTCC=${LTCC-"$CC"}
  877. -
  878. -# If no C compiler flags were specified, use CFLAGS.
  879. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  880. -
  881. -# Allow CC to be a program name with arguments.
  882. -compiler=$CC
  883. -])# _LT_TAG_COMPILER
  884. -
  885. -
  886. -# _LT_COMPILER_BOILERPLATE
  887. -# ------------------------
  888. -# Check for compiler boilerplate output or warnings with
  889. -# the simple compiler test code.
  890. -m4_defun([_LT_COMPILER_BOILERPLATE],
  891. -[m4_require([_LT_DECL_SED])dnl
  892. -ac_outfile=conftest.$ac_objext
  893. -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  894. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  895. -_lt_compiler_boilerplate=`cat conftest.err`
  896. -$RM conftest*
  897. -])# _LT_COMPILER_BOILERPLATE
  898. -
  899. -
  900. -# _LT_LINKER_BOILERPLATE
  901. -# ----------------------
  902. -# Check for linker boilerplate output or warnings with
  903. -# the simple link test code.
  904. -m4_defun([_LT_LINKER_BOILERPLATE],
  905. -[m4_require([_LT_DECL_SED])dnl
  906. -ac_outfile=conftest.$ac_objext
  907. -echo "$lt_simple_link_test_code" >conftest.$ac_ext
  908. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  909. -_lt_linker_boilerplate=`cat conftest.err`
  910. -$RM -r conftest*
  911. -])# _LT_LINKER_BOILERPLATE
  912. -
  913. -# _LT_REQUIRED_DARWIN_CHECKS
  914. -# -------------------------
  915. -m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
  916. - case $host_os in
  917. - rhapsody* | darwin*)
  918. - AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
  919. - AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
  920. - AC_CHECK_TOOL([LIPO], [lipo], [:])
  921. - AC_CHECK_TOOL([OTOOL], [otool], [:])
  922. - AC_CHECK_TOOL([OTOOL64], [otool64], [:])
  923. - _LT_DECL([], [DSYMUTIL], [1],
  924. - [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
  925. - _LT_DECL([], [NMEDIT], [1],
  926. - [Tool to change global to local symbols on Mac OS X])
  927. - _LT_DECL([], [LIPO], [1],
  928. - [Tool to manipulate fat objects and archives on Mac OS X])
  929. - _LT_DECL([], [OTOOL], [1],
  930. - [ldd/readelf like tool for Mach-O binaries on Mac OS X])
  931. - _LT_DECL([], [OTOOL64], [1],
  932. - [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
  933. -
  934. - AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
  935. - [lt_cv_apple_cc_single_mod=no
  936. - if test -z "${LT_MULTI_MODULE}"; then
  937. - # By default we will add the -single_module flag. You can override
  938. - # by either setting the environment variable LT_MULTI_MODULE
  939. - # non-empty at configure time, or by adding -multi_module to the
  940. - # link flags.
  941. - rm -rf libconftest.dylib*
  942. - echo "int foo(void){return 1;}" > conftest.c
  943. - echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  944. --dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
  945. - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  946. - -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  947. - _lt_result=$?
  948. - if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  949. - lt_cv_apple_cc_single_mod=yes
  950. - else
  951. - cat conftest.err >&AS_MESSAGE_LOG_FD
  952. - fi
  953. - rm -rf libconftest.dylib*
  954. - rm -f conftest.*
  955. - fi])
  956. - AC_CACHE_CHECK([for -exported_symbols_list linker flag],
  957. - [lt_cv_ld_exported_symbols_list],
  958. - [lt_cv_ld_exported_symbols_list=no
  959. - save_LDFLAGS=$LDFLAGS
  960. - echo "_main" > conftest.sym
  961. - LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  962. - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  963. - [lt_cv_ld_exported_symbols_list=yes],
  964. - [lt_cv_ld_exported_symbols_list=no])
  965. - LDFLAGS="$save_LDFLAGS"
  966. - ])
  967. - case $host_os in
  968. - rhapsody* | darwin1.[[012]])
  969. - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  970. - darwin1.*)
  971. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  972. - darwin*) # darwin 5.x on
  973. - # if running on 10.5 or later, the deployment target defaults
  974. - # to the OS version, if on x86, and 10.4, the deployment
  975. - # target defaults to 10.4. Don't you love it?
  976. - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  977. - 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
  978. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  979. - 10.[[012]]*)
  980. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  981. - 10.*)
  982. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  983. - esac
  984. - ;;
  985. - esac
  986. - if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  987. - _lt_dar_single_mod='$single_module'
  988. - fi
  989. - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  990. - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  991. - else
  992. - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  993. - fi
  994. - if test "$DSYMUTIL" != ":"; then
  995. - _lt_dsymutil='~$DSYMUTIL $lib || :'
  996. - else
  997. - _lt_dsymutil=
  998. - fi
  999. - ;;
  1000. - esac
  1001. -])
  1002. -
  1003. -
  1004. -# _LT_DARWIN_LINKER_FEATURES
  1005. -# --------------------------
  1006. -# Checks for linker and compiler features on darwin
  1007. -m4_defun([_LT_DARWIN_LINKER_FEATURES],
  1008. -[
  1009. - m4_require([_LT_REQUIRED_DARWIN_CHECKS])
  1010. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  1011. - _LT_TAGVAR(hardcode_direct, $1)=no
  1012. - _LT_TAGVAR(hardcode_automatic, $1)=yes
  1013. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  1014. - _LT_TAGVAR(whole_archive_flag_spec, $1)=''
  1015. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  1016. - _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
  1017. - case $cc_basename in
  1018. - ifort*) _lt_dar_can_shared=yes ;;
  1019. - *) _lt_dar_can_shared=$GCC ;;
  1020. - esac
  1021. - if test "$_lt_dar_can_shared" = "yes"; then
  1022. - output_verbose_link_cmd=echo
  1023. - _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  1024. - _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  1025. - _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  1026. - _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  1027. - m4_if([$1], [CXX],
  1028. -[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  1029. - _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
  1030. - _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
  1031. - fi
  1032. -],[])
  1033. - else
  1034. - _LT_TAGVAR(ld_shlibs, $1)=no
  1035. - fi
  1036. -])
  1037. -
  1038. -# _LT_SYS_MODULE_PATH_AIX
  1039. -# -----------------------
  1040. -# Links a minimal program and checks the executable
  1041. -# for the system default hardcoded library path. In most cases,
  1042. -# this is /usr/lib:/lib, but when the MPI compilers are used
  1043. -# the location of the communication and MPI libs are included too.
  1044. -# If we don't find anything, use the default library path according
  1045. -# to the aix ld manual.
  1046. -m4_defun([_LT_SYS_MODULE_PATH_AIX],
  1047. -[m4_require([_LT_DECL_SED])dnl
  1048. -AC_LINK_IFELSE(AC_LANG_PROGRAM,[
  1049. -lt_aix_libpath_sed='
  1050. - /Import File Strings/,/^$/ {
  1051. - /^0/ {
  1052. - s/^0 *\(.*\)$/\1/
  1053. - p
  1054. - }
  1055. - }'
  1056. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  1057. -# Check for a 64-bit object if we didn't find anything.
  1058. -if test -z "$aix_libpath"; then
  1059. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  1060. -fi],[])
  1061. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  1062. -])# _LT_SYS_MODULE_PATH_AIX
  1063. -
  1064. -
  1065. -# _LT_SHELL_INIT(ARG)
  1066. -# -------------------
  1067. -m4_define([_LT_SHELL_INIT],
  1068. -[ifdef([AC_DIVERSION_NOTICE],
  1069. - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
  1070. - [AC_DIVERT_PUSH(NOTICE)])
  1071. -$1
  1072. -AC_DIVERT_POP
  1073. -])# _LT_SHELL_INIT
  1074. -
  1075. -
  1076. -# _LT_PROG_ECHO_BACKSLASH
  1077. -# -----------------------
  1078. -# Add some code to the start of the generated configure script which
  1079. -# will find an echo command which doesn't interpret backslashes.
  1080. -m4_defun([_LT_PROG_ECHO_BACKSLASH],
  1081. -[_LT_SHELL_INIT([
  1082. -# Check that we are running under the correct shell.
  1083. -SHELL=${CONFIG_SHELL-/bin/sh}
  1084. -
  1085. -case X$lt_ECHO in
  1086. -X*--fallback-echo)
  1087. - # Remove one level of quotation (which was required for Make).
  1088. - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  1089. - ;;
  1090. -esac
  1091. -
  1092. -ECHO=${lt_ECHO-echo}
  1093. -if test "X[$]1" = X--no-reexec; then
  1094. - # Discard the --no-reexec flag, and continue.
  1095. - shift
  1096. -elif test "X[$]1" = X--fallback-echo; then
  1097. - # Avoid inline document here, it may be left over
  1098. - :
  1099. -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  1100. - # Yippee, $ECHO works!
  1101. - :
  1102. -else
  1103. - # Restart under the correct shell.
  1104. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
  1105. -fi
  1106. -
  1107. -if test "X[$]1" = X--fallback-echo; then
  1108. - # used as fallback echo
  1109. - shift
  1110. - cat <<_LT_EOF
  1111. -[$]*
  1112. -_LT_EOF
  1113. - exit 0
  1114. -fi
  1115. -
  1116. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  1117. -# if CDPATH is set.
  1118. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  1119. -
  1120. -if test -z "$lt_ECHO"; then
  1121. - if test "X${echo_test_string+set}" != Xset; then
  1122. - # find a string as large as possible, as long as the shell can cope with it
  1123. - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  1124. - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  1125. - if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  1126. - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  1127. - then
  1128. - break
  1129. - fi
  1130. - done
  1131. - fi
  1132. -
  1133. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  1134. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  1135. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1136. - :
  1137. - else
  1138. - # The Solaris, AIX, and Digital Unix default echo programs unquote
  1139. - # backslashes. This makes it impossible to quote backslashes using
  1140. - # echo "$something" | sed 's/\\/\\\\/g'
  1141. - #
  1142. - # So, first we look for a working echo in the user's PATH.
  1143. -
  1144. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1145. - for dir in $PATH /usr/ucb; do
  1146. - IFS="$lt_save_ifs"
  1147. - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  1148. - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  1149. - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  1150. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1151. - ECHO="$dir/echo"
  1152. - break
  1153. - fi
  1154. - done
  1155. - IFS="$lt_save_ifs"
  1156. -
  1157. - if test "X$ECHO" = Xecho; then
  1158. - # We didn't find a better echo, so look for alternatives.
  1159. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  1160. - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  1161. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1162. - # This shell has a builtin print -r that does the trick.
  1163. - ECHO='print -r'
  1164. - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  1165. - test "X$CONFIG_SHELL" != X/bin/ksh; then
  1166. - # If we have ksh, try running configure again with it.
  1167. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  1168. - export ORIGINAL_CONFIG_SHELL
  1169. - CONFIG_SHELL=/bin/ksh
  1170. - export CONFIG_SHELL
  1171. - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  1172. - else
  1173. - # Try using printf.
  1174. - ECHO='printf %s\n'
  1175. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  1176. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  1177. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1178. - # Cool, printf works
  1179. - :
  1180. - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  1181. - test "X$echo_testing_string" = 'X\t' &&
  1182. - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1183. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1184. - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  1185. - export CONFIG_SHELL
  1186. - SHELL="$CONFIG_SHELL"
  1187. - export SHELL
  1188. - ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  1189. - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  1190. - test "X$echo_testing_string" = 'X\t' &&
  1191. - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1192. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1193. - ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  1194. - else
  1195. - # maybe with a smaller string...
  1196. - prev=:
  1197. -
  1198. - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  1199. - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  1200. - then
  1201. - break
  1202. - fi
  1203. - prev="$cmd"
  1204. - done
  1205. -
  1206. - if test "$prev" != 'sed 50q "[$]0"'; then
  1207. - echo_test_string=`eval $prev`
  1208. - export echo_test_string
  1209. - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  1210. - else
  1211. - # Oops. We lost completely, so just stick with echo.
  1212. - ECHO=echo
  1213. - fi
  1214. - fi
  1215. - fi
  1216. - fi
  1217. - fi
  1218. -fi
  1219. -
  1220. -# Copy echo and quote the copy suitably for passing to libtool from
  1221. -# the Makefile, instead of quoting the original, which is used later.
  1222. -lt_ECHO=$ECHO
  1223. -if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  1224. - lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  1225. -fi
  1226. -
  1227. -AC_SUBST(lt_ECHO)
  1228. -])
  1229. -_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
  1230. -_LT_DECL([], [ECHO], [1],
  1231. - [An echo program that does not interpret backslashes])
  1232. -])# _LT_PROG_ECHO_BACKSLASH
  1233. -
  1234. -
  1235. -# _LT_ENABLE_LOCK
  1236. -# ---------------
  1237. -m4_defun([_LT_ENABLE_LOCK],
  1238. -[AC_ARG_ENABLE([libtool-lock],
  1239. - [AS_HELP_STRING([--disable-libtool-lock],
  1240. - [avoid locking (might break parallel builds)])])
  1241. -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  1242. -
  1243. -# Some flags need to be propagated to the compiler or linker for good
  1244. -# libtool support.
  1245. -case $host in
  1246. -ia64-*-hpux*)
  1247. - # Find out which ABI we are using.
  1248. - echo 'int i;' > conftest.$ac_ext
  1249. - if AC_TRY_EVAL(ac_compile); then
  1250. - case `/usr/bin/file conftest.$ac_objext` in
  1251. - *ELF-32*)
  1252. - HPUX_IA64_MODE="32"
  1253. - ;;
  1254. - *ELF-64*)
  1255. - HPUX_IA64_MODE="64"
  1256. - ;;
  1257. - esac
  1258. - fi
  1259. - rm -rf conftest*
  1260. - ;;
  1261. -*-*-irix6*)
  1262. - # Find out which ABI we are using.
  1263. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  1264. - if AC_TRY_EVAL(ac_compile); then
  1265. - if test "$lt_cv_prog_gnu_ld" = yes; then
  1266. - case `/usr/bin/file conftest.$ac_objext` in
  1267. - *32-bit*)
  1268. - LD="${LD-ld} -melf32bsmip"
  1269. - ;;
  1270. - *N32*)
  1271. - LD="${LD-ld} -melf32bmipn32"
  1272. - ;;
  1273. - *64-bit*)
  1274. - LD="${LD-ld} -melf64bmip"
  1275. - ;;
  1276. - esac
  1277. - else
  1278. - case `/usr/bin/file conftest.$ac_objext` in
  1279. - *32-bit*)
  1280. - LD="${LD-ld} -32"
  1281. - ;;
  1282. - *N32*)
  1283. - LD="${LD-ld} -n32"
  1284. - ;;
  1285. - *64-bit*)
  1286. - LD="${LD-ld} -64"
  1287. - ;;
  1288. - esac
  1289. - fi
  1290. - fi
  1291. - rm -rf conftest*
  1292. - ;;
  1293. -
  1294. -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  1295. -s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  1296. - # Find out which ABI we are using.
  1297. - echo 'int i;' > conftest.$ac_ext
  1298. - if AC_TRY_EVAL(ac_compile); then
  1299. - case `/usr/bin/file conftest.o` in
  1300. - *32-bit*)
  1301. - case $host in
  1302. - x86_64-*kfreebsd*-gnu)
  1303. - LD="${LD-ld} -m elf_i386_fbsd"
  1304. - ;;
  1305. - x86_64-*linux*)
  1306. - LD="${LD-ld} -m elf_i386"
  1307. - ;;
  1308. - ppc64-*linux*|powerpc64-*linux*)
  1309. - LD="${LD-ld} -m elf32ppclinux"
  1310. - ;;
  1311. - s390x-*linux*)
  1312. - LD="${LD-ld} -m elf_s390"
  1313. - ;;
  1314. - sparc64-*linux*)
  1315. - LD="${LD-ld} -m elf32_sparc"
  1316. - ;;
  1317. - esac
  1318. - ;;
  1319. - *64-bit*)
  1320. - case $host in
  1321. - x86_64-*kfreebsd*-gnu)
  1322. - LD="${LD-ld} -m elf_x86_64_fbsd"
  1323. - ;;
  1324. - x86_64-*linux*)
  1325. - LD="${LD-ld} -m elf_x86_64"
  1326. - ;;
  1327. - ppc*-*linux*|powerpc*-*linux*)
  1328. - LD="${LD-ld} -m elf64ppc"
  1329. - ;;
  1330. - s390*-*linux*|s390*-*tpf*)
  1331. - LD="${LD-ld} -m elf64_s390"
  1332. - ;;
  1333. - sparc*-*linux*)
  1334. - LD="${LD-ld} -m elf64_sparc"
  1335. - ;;
  1336. - esac
  1337. - ;;
  1338. - esac
  1339. - fi
  1340. - rm -rf conftest*
  1341. - ;;
  1342. -
  1343. -*-*-sco3.2v5*)
  1344. - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  1345. - SAVE_CFLAGS="$CFLAGS"
  1346. - CFLAGS="$CFLAGS -belf"
  1347. - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  1348. - [AC_LANG_PUSH(C)
  1349. - AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  1350. - AC_LANG_POP])
  1351. - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  1352. - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  1353. - CFLAGS="$SAVE_CFLAGS"
  1354. - fi
  1355. - ;;
  1356. -sparc*-*solaris*)
  1357. - # Find out which ABI we are using.
  1358. - echo 'int i;' > conftest.$ac_ext
  1359. - if AC_TRY_EVAL(ac_compile); then
  1360. - case `/usr/bin/file conftest.o` in
  1361. - *64-bit*)
  1362. - case $lt_cv_prog_gnu_ld in
  1363. - yes*) LD="${LD-ld} -m elf64_sparc" ;;
  1364. - *)
  1365. - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  1366. - LD="${LD-ld} -64"
  1367. - fi
  1368. - ;;
  1369. - esac
  1370. - ;;
  1371. - esac
  1372. - fi
  1373. - rm -rf conftest*
  1374. - ;;
  1375. -esac
  1376. -
  1377. -need_locks="$enable_libtool_lock"
  1378. -])# _LT_ENABLE_LOCK
  1379. -
  1380. -
  1381. -# _LT_CMD_OLD_ARCHIVE
  1382. -# -------------------
  1383. -m4_defun([_LT_CMD_OLD_ARCHIVE],
  1384. -[AC_CHECK_TOOL(AR, ar, false)
  1385. -test -z "$AR" && AR=ar
  1386. -test -z "$AR_FLAGS" && AR_FLAGS=cru
  1387. -_LT_DECL([], [AR], [1], [The archiver])
  1388. -_LT_DECL([], [AR_FLAGS], [1])
  1389. -
  1390. -AC_CHECK_TOOL(STRIP, strip, :)
  1391. -test -z "$STRIP" && STRIP=:
  1392. -_LT_DECL([], [STRIP], [1], [A symbol stripping program])
  1393. -
  1394. -AC_CHECK_TOOL(RANLIB, ranlib, :)
  1395. -test -z "$RANLIB" && RANLIB=:
  1396. -_LT_DECL([], [RANLIB], [1],
  1397. - [Commands used to install an old-style archive])
  1398. -
  1399. -# Determine commands to create old-style static archives.
  1400. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  1401. -old_postinstall_cmds='chmod 644 $oldlib'
  1402. -old_postuninstall_cmds=
  1403. -
  1404. -if test -n "$RANLIB"; then
  1405. - case $host_os in
  1406. - openbsd*)
  1407. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  1408. - ;;
  1409. - *)
  1410. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  1411. - ;;
  1412. - esac
  1413. - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  1414. -fi
  1415. -_LT_DECL([], [old_postinstall_cmds], [2])
  1416. -_LT_DECL([], [old_postuninstall_cmds], [2])
  1417. -_LT_TAGDECL([], [old_archive_cmds], [2],
  1418. - [Commands used to build an old-style archive])
  1419. -])# _LT_CMD_OLD_ARCHIVE
  1420. -
  1421. -
  1422. -# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  1423. -# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
  1424. -# ----------------------------------------------------------------
  1425. -# Check whether the given compiler option works
  1426. -AC_DEFUN([_LT_COMPILER_OPTION],
  1427. -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  1428. -m4_require([_LT_DECL_SED])dnl
  1429. -AC_CACHE_CHECK([$1], [$2],
  1430. - [$2=no
  1431. - m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  1432. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1433. - lt_compiler_flag="$3"
  1434. - # Insert the option either (1) after the last *FLAGS variable, or
  1435. - # (2) before a word containing "conftest.", or (3) at the end.
  1436. - # Note that $ac_compile itself does not contain backslashes and begins
  1437. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  1438. - # The option is referenced via a variable to avoid confusing sed.
  1439. - lt_compile=`echo "$ac_compile" | $SED \
  1440. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1441. - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  1442. - -e 's:$: $lt_compiler_flag:'`
  1443. - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  1444. - (eval "$lt_compile" 2>conftest.err)
  1445. - ac_status=$?
  1446. - cat conftest.err >&AS_MESSAGE_LOG_FD
  1447. - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  1448. - if (exit $ac_status) && test -s "$ac_outfile"; then
  1449. - # The compiler can only warn and ignore the option if not recognized
  1450. - # So say no if there are warnings other than the usual output.
  1451. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  1452. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1453. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  1454. - $2=yes
  1455. - fi
  1456. - fi
  1457. - $RM conftest*
  1458. -])
  1459. -
  1460. -if test x"[$]$2" = xyes; then
  1461. - m4_if([$5], , :, [$5])
  1462. -else
  1463. - m4_if([$6], , :, [$6])
  1464. -fi
  1465. -])# _LT_COMPILER_OPTION
  1466. -
  1467. -# Old name:
  1468. -AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
  1469. -dnl aclocal-1.4 backwards compatibility:
  1470. -dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
  1471. -
  1472. -
  1473. -# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  1474. -# [ACTION-SUCCESS], [ACTION-FAILURE])
  1475. -# ----------------------------------------------------
  1476. -# Check whether the given linker option works
  1477. -AC_DEFUN([_LT_LINKER_OPTION],
  1478. -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  1479. -m4_require([_LT_DECL_SED])dnl
  1480. -AC_CACHE_CHECK([$1], [$2],
  1481. - [$2=no
  1482. - save_LDFLAGS="$LDFLAGS"
  1483. - LDFLAGS="$LDFLAGS $3"
  1484. - echo "$lt_simple_link_test_code" > conftest.$ac_ext
  1485. - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  1486. - # The linker can only warn and ignore the option if not recognized
  1487. - # So say no if there are warnings
  1488. - if test -s conftest.err; then
  1489. - # Append any errors to the config.log.
  1490. - cat conftest.err 1>&AS_MESSAGE_LOG_FD
  1491. - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  1492. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1493. - if diff conftest.exp conftest.er2 >/dev/null; then
  1494. - $2=yes
  1495. - fi
  1496. - else
  1497. - $2=yes
  1498. - fi
  1499. - fi
  1500. - $RM -r conftest*
  1501. - LDFLAGS="$save_LDFLAGS"
  1502. -])
  1503. -
  1504. -if test x"[$]$2" = xyes; then
  1505. - m4_if([$4], , :, [$4])
  1506. -else
  1507. - m4_if([$5], , :, [$5])
  1508. -fi
  1509. -])# _LT_LINKER_OPTION
  1510. -
  1511. -# Old name:
  1512. -AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
  1513. -dnl aclocal-1.4 backwards compatibility:
  1514. -dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
  1515. -
  1516. -
  1517. -# LT_CMD_MAX_LEN
  1518. -#---------------
  1519. -AC_DEFUN([LT_CMD_MAX_LEN],
  1520. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  1521. -# find the maximum length of command line arguments
  1522. -AC_MSG_CHECKING([the maximum length of command line arguments])
  1523. -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
  1524. - i=0
  1525. - teststring="ABCD"
  1526. -
  1527. - case $build_os in
  1528. - msdosdjgpp*)
  1529. - # On DJGPP, this test can blow up pretty badly due to problems in libc
  1530. - # (any single argument exceeding 2000 bytes causes a buffer overrun
  1531. - # during glob expansion). Even if it were fixed, the result of this
  1532. - # check would be larger than it should be.
  1533. - lt_cv_sys_max_cmd_len=12288; # 12K is about right
  1534. - ;;
  1535. -
  1536. - gnu*)
  1537. - # Under GNU Hurd, this test is not required because there is
  1538. - # no limit to the length of command line arguments.
  1539. - # Libtool will interpret -1 as no limit whatsoever
  1540. - lt_cv_sys_max_cmd_len=-1;
  1541. - ;;
  1542. -
  1543. - cygwin* | mingw* | cegcc*)
  1544. - # On Win9x/ME, this test blows up -- it succeeds, but takes
  1545. - # about 5 minutes as the teststring grows exponentially.
  1546. - # Worse, since 9x/ME are not pre-emptively multitasking,
  1547. - # you end up with a "frozen" computer, even though with patience
  1548. - # the test eventually succeeds (with a max line length of 256k).
  1549. - # Instead, let's just punt: use the minimum linelength reported by
  1550. - # all of the supported platforms: 8192 (on NT/2K/XP).
  1551. - lt_cv_sys_max_cmd_len=8192;
  1552. - ;;
  1553. -
  1554. - amigaos*)
  1555. - # On AmigaOS with pdksh, this test takes hours, literally.
  1556. - # So we just punt and use a minimum line length of 8192.
  1557. - lt_cv_sys_max_cmd_len=8192;
  1558. - ;;
  1559. -
  1560. - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  1561. - # This has been around since 386BSD, at least. Likely further.
  1562. - if test -x /sbin/sysctl; then
  1563. - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  1564. - elif test -x /usr/sbin/sysctl; then
  1565. - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  1566. - else
  1567. - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  1568. - fi
  1569. - # And add a safety zone
  1570. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  1571. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  1572. - ;;
  1573. -
  1574. - interix*)
  1575. - # We know the value 262144 and hardcode it with a safety zone (like BSD)
  1576. - lt_cv_sys_max_cmd_len=196608
  1577. - ;;
  1578. -
  1579. - osf*)
  1580. - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  1581. - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  1582. - # nice to cause kernel panics so lets avoid the loop below.
  1583. - # First set a reasonable default.
  1584. - lt_cv_sys_max_cmd_len=16384
  1585. - #
  1586. - if test -x /sbin/sysconfig; then
  1587. - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  1588. - *1*) lt_cv_sys_max_cmd_len=-1 ;;
  1589. - esac
  1590. - fi
  1591. - ;;
  1592. - sco3.2v5*)
  1593. - lt_cv_sys_max_cmd_len=102400
  1594. - ;;
  1595. - sysv5* | sco5v6* | sysv4.2uw2*)
  1596. - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  1597. - if test -n "$kargmax"; then
  1598. - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
  1599. - else
  1600. - lt_cv_sys_max_cmd_len=32768
  1601. - fi
  1602. - ;;
  1603. - *)
  1604. - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  1605. - if test -n "$lt_cv_sys_max_cmd_len"; then
  1606. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  1607. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  1608. - else
  1609. - # Make teststring a little bigger before we do anything with it.
  1610. - # a 1K string should be a reasonable start.
  1611. - for i in 1 2 3 4 5 6 7 8 ; do
  1612. - teststring=$teststring$teststring
  1613. - done
  1614. - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  1615. - # If test is not a shell built-in, we'll probably end up computing a
  1616. - # maximum length that is only half of the actual maximum length, but
  1617. - # we can't tell.
  1618. - while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  1619. - = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  1620. - test $i != 17 # 1/2 MB should be enough
  1621. - do
  1622. - i=`expr $i + 1`
  1623. - teststring=$teststring$teststring
  1624. - done
  1625. - # Only check the string length outside the loop.
  1626. - lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  1627. - teststring=
  1628. - # Add a significant safety factor because C++ compilers can tack on
  1629. - # massive amounts of additional arguments before passing them to the
  1630. - # linker. It appears as though 1/2 is a usable value.
  1631. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  1632. - fi
  1633. - ;;
  1634. - esac
  1635. -])
  1636. -if test -n $lt_cv_sys_max_cmd_len ; then
  1637. - AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
  1638. -else
  1639. - AC_MSG_RESULT(none)
  1640. -fi
  1641. -max_cmd_len=$lt_cv_sys_max_cmd_len
  1642. -_LT_DECL([], [max_cmd_len], [0],
  1643. - [What is the maximum length of a command?])
  1644. -])# LT_CMD_MAX_LEN
  1645. -
  1646. -# Old name:
  1647. -AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
  1648. -dnl aclocal-1.4 backwards compatibility:
  1649. -dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
  1650. -
  1651. -
  1652. -# _LT_HEADER_DLFCN
  1653. -# ----------------
  1654. -m4_defun([_LT_HEADER_DLFCN],
  1655. -[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
  1656. -])# _LT_HEADER_DLFCN
  1657. -
  1658. -
  1659. -# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
  1660. -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
  1661. -# ----------------------------------------------------------------
  1662. -m4_defun([_LT_TRY_DLOPEN_SELF],
  1663. -[m4_require([_LT_HEADER_DLFCN])dnl
  1664. -if test "$cross_compiling" = yes; then :
  1665. - [$4]
  1666. -else
  1667. - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  1668. - lt_status=$lt_dlunknown
  1669. - cat > conftest.$ac_ext <<_LT_EOF
  1670. -[#line __oline__ "configure"
  1671. -#include "confdefs.h"
  1672. -
  1673. -#if HAVE_DLFCN_H
  1674. -#include <dlfcn.h>
  1675. -#endif
  1676. -
  1677. -#include <stdio.h>
  1678. -
  1679. -#ifdef RTLD_GLOBAL
  1680. -# define LT_DLGLOBAL RTLD_GLOBAL
  1681. -#else
  1682. -# ifdef DL_GLOBAL
  1683. -# define LT_DLGLOBAL DL_GLOBAL
  1684. -# else
  1685. -# define LT_DLGLOBAL 0
  1686. -# endif
  1687. -#endif
  1688. -
  1689. -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  1690. - find out it does not work in some platform. */
  1691. -#ifndef LT_DLLAZY_OR_NOW
  1692. -# ifdef RTLD_LAZY
  1693. -# define LT_DLLAZY_OR_NOW RTLD_LAZY
  1694. -# else
  1695. -# ifdef DL_LAZY
  1696. -# define LT_DLLAZY_OR_NOW DL_LAZY
  1697. -# else
  1698. -# ifdef RTLD_NOW
  1699. -# define LT_DLLAZY_OR_NOW RTLD_NOW
  1700. -# else
  1701. -# ifdef DL_NOW
  1702. -# define LT_DLLAZY_OR_NOW DL_NOW
  1703. -# else
  1704. -# define LT_DLLAZY_OR_NOW 0
  1705. -# endif
  1706. -# endif
  1707. -# endif
  1708. -# endif
  1709. -#endif
  1710. -
  1711. -void fnord() { int i=42;}
  1712. -int main ()
  1713. -{
  1714. - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  1715. - int status = $lt_dlunknown;
  1716. -
  1717. - if (self)
  1718. - {
  1719. - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  1720. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  1721. - /* dlclose (self); */
  1722. - }
  1723. - else
  1724. - puts (dlerror ());
  1725. -
  1726. - return status;
  1727. -}]
  1728. -_LT_EOF
  1729. - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
  1730. - (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
  1731. - lt_status=$?
  1732. - case x$lt_status in
  1733. - x$lt_dlno_uscore) $1 ;;
  1734. - x$lt_dlneed_uscore) $2 ;;
  1735. - x$lt_dlunknown|x*) $3 ;;
  1736. - esac
  1737. - else :
  1738. - # compilation failed
  1739. - $3
  1740. - fi
  1741. -fi
  1742. -rm -fr conftest*
  1743. -])# _LT_TRY_DLOPEN_SELF
  1744. -
  1745. -
  1746. -# LT_SYS_DLOPEN_SELF
  1747. -# ------------------
  1748. -AC_DEFUN([LT_SYS_DLOPEN_SELF],
  1749. -[m4_require([_LT_HEADER_DLFCN])dnl
  1750. -if test "x$enable_dlopen" != xyes; then
  1751. - enable_dlopen=unknown
  1752. - enable_dlopen_self=unknown
  1753. - enable_dlopen_self_static=unknown
  1754. -else
  1755. - lt_cv_dlopen=no
  1756. - lt_cv_dlopen_libs=
  1757. -
  1758. - case $host_os in
  1759. - beos*)
  1760. - lt_cv_dlopen="load_add_on"
  1761. - lt_cv_dlopen_libs=
  1762. - lt_cv_dlopen_self=yes
  1763. - ;;
  1764. -
  1765. - mingw* | pw32* | cegcc*)
  1766. - lt_cv_dlopen="LoadLibrary"
  1767. - lt_cv_dlopen_libs=
  1768. - ;;
  1769. -
  1770. - cygwin*)
  1771. - lt_cv_dlopen="dlopen"
  1772. - lt_cv_dlopen_libs=
  1773. - ;;
  1774. -
  1775. - darwin*)
  1776. - # if libdl is installed we need to link against it
  1777. - AC_CHECK_LIB([dl], [dlopen],
  1778. - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
  1779. - lt_cv_dlopen="dyld"
  1780. - lt_cv_dlopen_libs=
  1781. - lt_cv_dlopen_self=yes
  1782. - ])
  1783. - ;;
  1784. -
  1785. - *)
  1786. - AC_CHECK_FUNC([shl_load],
  1787. - [lt_cv_dlopen="shl_load"],
  1788. - [AC_CHECK_LIB([dld], [shl_load],
  1789. - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
  1790. - [AC_CHECK_FUNC([dlopen],
  1791. - [lt_cv_dlopen="dlopen"],
  1792. - [AC_CHECK_LIB([dl], [dlopen],
  1793. - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
  1794. - [AC_CHECK_LIB([svld], [dlopen],
  1795. - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
  1796. - [AC_CHECK_LIB([dld], [dld_link],
  1797. - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
  1798. - ])
  1799. - ])
  1800. - ])
  1801. - ])
  1802. - ])
  1803. - ;;
  1804. - esac
  1805. -
  1806. - if test "x$lt_cv_dlopen" != xno; then
  1807. - enable_dlopen=yes
  1808. - else
  1809. - enable_dlopen=no
  1810. - fi
  1811. -
  1812. - case $lt_cv_dlopen in
  1813. - dlopen)
  1814. - save_CPPFLAGS="$CPPFLAGS"
  1815. - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  1816. -
  1817. - save_LDFLAGS="$LDFLAGS"
  1818. - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  1819. -
  1820. - save_LIBS="$LIBS"
  1821. - LIBS="$lt_cv_dlopen_libs $LIBS"
  1822. -
  1823. - AC_CACHE_CHECK([whether a program can dlopen itself],
  1824. - lt_cv_dlopen_self, [dnl
  1825. - _LT_TRY_DLOPEN_SELF(
  1826. - lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  1827. - lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  1828. - ])
  1829. -
  1830. - if test "x$lt_cv_dlopen_self" = xyes; then
  1831. - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  1832. - AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  1833. - lt_cv_dlopen_self_static, [dnl
  1834. - _LT_TRY_DLOPEN_SELF(
  1835. - lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  1836. - lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
  1837. - ])
  1838. - fi
  1839. -
  1840. - CPPFLAGS="$save_CPPFLAGS"
  1841. - LDFLAGS="$save_LDFLAGS"
  1842. - LIBS="$save_LIBS"
  1843. - ;;
  1844. - esac
  1845. -
  1846. - case $lt_cv_dlopen_self in
  1847. - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  1848. - *) enable_dlopen_self=unknown ;;
  1849. - esac
  1850. -
  1851. - case $lt_cv_dlopen_self_static in
  1852. - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  1853. - *) enable_dlopen_self_static=unknown ;;
  1854. - esac
  1855. -fi
  1856. -_LT_DECL([dlopen_support], [enable_dlopen], [0],
  1857. - [Whether dlopen is supported])
  1858. -_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
  1859. - [Whether dlopen of programs is supported])
  1860. -_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
  1861. - [Whether dlopen of statically linked programs is supported])
  1862. -])# LT_SYS_DLOPEN_SELF
  1863. -
  1864. -# Old name:
  1865. -AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
  1866. -dnl aclocal-1.4 backwards compatibility:
  1867. -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
  1868. -
  1869. -
  1870. -# _LT_COMPILER_C_O([TAGNAME])
  1871. -# ---------------------------
  1872. -# Check to see if options -c and -o are simultaneously supported by compiler.
  1873. -# This macro does not hard code the compiler like AC_PROG_CC_C_O.
  1874. -m4_defun([_LT_COMPILER_C_O],
  1875. -[m4_require([_LT_DECL_SED])dnl
  1876. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  1877. -m4_require([_LT_TAG_COMPILER])dnl
  1878. -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
  1879. - [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
  1880. - [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
  1881. - $RM -r conftest 2>/dev/null
  1882. - mkdir conftest
  1883. - cd conftest
  1884. - mkdir out
  1885. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1886. -
  1887. - lt_compiler_flag="-o out/conftest2.$ac_objext"
  1888. - # Insert the option either (1) after the last *FLAGS variable, or
  1889. - # (2) before a word containing "conftest.", or (3) at the end.
  1890. - # Note that $ac_compile itself does not contain backslashes and begins
  1891. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  1892. - lt_compile=`echo "$ac_compile" | $SED \
  1893. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1894. - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  1895. - -e 's:$: $lt_compiler_flag:'`
  1896. - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  1897. - (eval "$lt_compile" 2>out/conftest.err)
  1898. - ac_status=$?
  1899. - cat out/conftest.err >&AS_MESSAGE_LOG_FD
  1900. - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  1901. - if (exit $ac_status) && test -s out/conftest2.$ac_objext
  1902. - then
  1903. - # The compiler can only warn and ignore the option if not recognized
  1904. - # So say no if there are warnings
  1905. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  1906. - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  1907. - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  1908. - _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  1909. - fi
  1910. - fi
  1911. - chmod u+w . 2>&AS_MESSAGE_LOG_FD
  1912. - $RM conftest*
  1913. - # SGI C++ compiler will create directory out/ii_files/ for
  1914. - # template instantiation
  1915. - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  1916. - $RM out/* && rmdir out
  1917. - cd ..
  1918. - $RM -r conftest
  1919. - $RM conftest*
  1920. -])
  1921. -_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
  1922. - [Does compiler simultaneously support -c and -o options?])
  1923. -])# _LT_COMPILER_C_O
  1924. -
  1925. -
  1926. -# _LT_COMPILER_FILE_LOCKS([TAGNAME])
  1927. -# ----------------------------------
  1928. -# Check to see if we can do hard links to lock some files if needed
  1929. -m4_defun([_LT_COMPILER_FILE_LOCKS],
  1930. -[m4_require([_LT_ENABLE_LOCK])dnl
  1931. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  1932. -_LT_COMPILER_C_O([$1])
  1933. -
  1934. -hard_links="nottested"
  1935. -if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
  1936. - # do not overwrite the value of need_locks provided by the user
  1937. - AC_MSG_CHECKING([if we can lock with hard links])
  1938. - hard_links=yes
  1939. - $RM conftest*
  1940. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  1941. - touch conftest.a
  1942. - ln conftest.a conftest.b 2>&5 || hard_links=no
  1943. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  1944. - AC_MSG_RESULT([$hard_links])
  1945. - if test "$hard_links" = no; then
  1946. - AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
  1947. - need_locks=warn
  1948. - fi
  1949. -else
  1950. - need_locks=no
  1951. -fi
  1952. -_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
  1953. -])# _LT_COMPILER_FILE_LOCKS
  1954. -
  1955. -
  1956. -# _LT_CHECK_OBJDIR
  1957. -# ----------------
  1958. -m4_defun([_LT_CHECK_OBJDIR],
  1959. -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
  1960. -[rm -f .libs 2>/dev/null
  1961. -mkdir .libs 2>/dev/null
  1962. -if test -d .libs; then
  1963. - lt_cv_objdir=.libs
  1964. -else
  1965. - # MS-DOS does not allow filenames that begin with a dot.
  1966. - lt_cv_objdir=_libs
  1967. -fi
  1968. -rmdir .libs 2>/dev/null])
  1969. -objdir=$lt_cv_objdir
  1970. -_LT_DECL([], [objdir], [0],
  1971. - [The name of the directory that contains temporary libtool files])dnl
  1972. -m4_pattern_allow([LT_OBJDIR])dnl
  1973. -AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
  1974. - [Define to the sub-directory in which libtool stores uninstalled libraries.])
  1975. -])# _LT_CHECK_OBJDIR
  1976. -
  1977. -
  1978. -# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
  1979. -# --------------------------------------
  1980. -# Check hardcoding attributes.
  1981. -m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
  1982. -[AC_MSG_CHECKING([how to hardcode library paths into programs])
  1983. -_LT_TAGVAR(hardcode_action, $1)=
  1984. -if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
  1985. - test -n "$_LT_TAGVAR(runpath_var, $1)" ||
  1986. - test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
  1987. -
  1988. - # We can hardcode non-existent directories.
  1989. - if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
  1990. - # If the only mechanism to avoid hardcoding is shlibpath_var, we
  1991. - # have to relink, otherwise we might link with an installed library
  1992. - # when we should be linking with a yet-to-be-installed one
  1993. - ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
  1994. - test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
  1995. - # Linking always hardcodes the temporary library directory.
  1996. - _LT_TAGVAR(hardcode_action, $1)=relink
  1997. - else
  1998. - # We can link without hardcoding, and we can hardcode nonexisting dirs.
  1999. - _LT_TAGVAR(hardcode_action, $1)=immediate
  2000. - fi
  2001. -else
  2002. - # We cannot hardcode anything, or else we can only hardcode existing
  2003. - # directories.
  2004. - _LT_TAGVAR(hardcode_action, $1)=unsupported
  2005. -fi
  2006. -AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
  2007. -
  2008. -if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
  2009. - test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
  2010. - # Fast installation is not supported
  2011. - enable_fast_install=no
  2012. -elif test "$shlibpath_overrides_runpath" = yes ||
  2013. - test "$enable_shared" = no; then
  2014. - # Fast installation is not necessary
  2015. - enable_fast_install=needless
  2016. -fi
  2017. -_LT_TAGDECL([], [hardcode_action], [0],
  2018. - [How to hardcode a shared library path into an executable])
  2019. -])# _LT_LINKER_HARDCODE_LIBPATH
  2020. -
  2021. -
  2022. -# _LT_CMD_STRIPLIB
  2023. -# ----------------
  2024. -m4_defun([_LT_CMD_STRIPLIB],
  2025. -[m4_require([_LT_DECL_EGREP])
  2026. -striplib=
  2027. -old_striplib=
  2028. -AC_MSG_CHECKING([whether stripping libraries is possible])
  2029. -if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  2030. - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  2031. - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  2032. - AC_MSG_RESULT([yes])
  2033. -else
  2034. -# FIXME - insert some real tests, host_os isn't really good enough
  2035. - case $host_os in
  2036. - darwin*)
  2037. - if test -n "$STRIP" ; then
  2038. - striplib="$STRIP -x"
  2039. - old_striplib="$STRIP -S"
  2040. - AC_MSG_RESULT([yes])
  2041. - else
  2042. - AC_MSG_RESULT([no])
  2043. - fi
  2044. - ;;
  2045. - *)
  2046. - AC_MSG_RESULT([no])
  2047. - ;;
  2048. - esac
  2049. -fi
  2050. -_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
  2051. -_LT_DECL([], [striplib], [1])
  2052. -])# _LT_CMD_STRIPLIB
  2053. -
  2054. -
  2055. -# _LT_SYS_DYNAMIC_LINKER([TAG])
  2056. -# -----------------------------
  2057. -# PORTME Fill in your ld.so characteristics
  2058. -m4_defun([_LT_SYS_DYNAMIC_LINKER],
  2059. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2060. -m4_require([_LT_DECL_EGREP])dnl
  2061. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  2062. -m4_require([_LT_DECL_OBJDUMP])dnl
  2063. -m4_require([_LT_DECL_SED])dnl
  2064. -AC_MSG_CHECKING([dynamic linker characteristics])
  2065. -m4_if([$1],
  2066. - [], [
  2067. -if test "$GCC" = yes; then
  2068. - case $host_os in
  2069. - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  2070. - *) lt_awk_arg="/^libraries:/" ;;
  2071. - esac
  2072. - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  2073. - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  2074. - # if the path contains ";" then we assume it to be the separator
  2075. - # otherwise default to the standard path separator (i.e. ":") - it is
  2076. - # assumed that no part of a normal pathname contains ";" but that should
  2077. - # okay in the real world where ";" in dirpaths is itself problematic.
  2078. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  2079. - else
  2080. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  2081. - fi
  2082. - # Ok, now we have the path, separated by spaces, we can step through it
  2083. - # and add multilib dir if necessary.
  2084. - lt_tmp_lt_search_path_spec=
  2085. - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  2086. - for lt_sys_path in $lt_search_path_spec; do
  2087. - if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  2088. - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  2089. - else
  2090. - test -d "$lt_sys_path" && \
  2091. - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  2092. - fi
  2093. - done
  2094. - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  2095. -BEGIN {RS=" "; FS="/|\n";} {
  2096. - lt_foo="";
  2097. - lt_count=0;
  2098. - for (lt_i = NF; lt_i > 0; lt_i--) {
  2099. - if ($lt_i != "" && $lt_i != ".") {
  2100. - if ($lt_i == "..") {
  2101. - lt_count++;
  2102. - } else {
  2103. - if (lt_count == 0) {
  2104. - lt_foo="/" $lt_i lt_foo;
  2105. - } else {
  2106. - lt_count--;
  2107. - }
  2108. - }
  2109. - }
  2110. - }
  2111. - if (lt_foo != "") { lt_freq[[lt_foo]]++; }
  2112. - if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
  2113. -}'`
  2114. - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  2115. -else
  2116. - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  2117. -fi])
  2118. -library_names_spec=
  2119. -libname_spec='lib$name'
  2120. -soname_spec=
  2121. -shrext_cmds=".so"
  2122. -postinstall_cmds=
  2123. -postuninstall_cmds=
  2124. -finish_cmds=
  2125. -finish_eval=
  2126. -shlibpath_var=
  2127. -shlibpath_overrides_runpath=unknown
  2128. -version_type=none
  2129. -dynamic_linker="$host_os ld.so"
  2130. -sys_lib_dlsearch_path_spec="/lib /usr/lib"
  2131. -need_lib_prefix=unknown
  2132. -hardcode_into_libs=no
  2133. -
  2134. -# when you set need_version to no, make sure it does not cause -set_version
  2135. -# flags to be left without arguments
  2136. -need_version=unknown
  2137. -
  2138. -case $host_os in
  2139. -aix3*)
  2140. - version_type=linux
  2141. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  2142. - shlibpath_var=LIBPATH
  2143. -
  2144. - # AIX 3 has no versioning support, so we append a major version to the name.
  2145. - soname_spec='${libname}${release}${shared_ext}$major'
  2146. - ;;
  2147. -
  2148. -aix[[4-9]]*)
  2149. - version_type=linux
  2150. - need_lib_prefix=no
  2151. - need_version=no
  2152. - hardcode_into_libs=yes
  2153. - if test "$host_cpu" = ia64; then
  2154. - # AIX 5 supports IA64
  2155. - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  2156. - shlibpath_var=LD_LIBRARY_PATH
  2157. - else
  2158. - # With GCC up to 2.95.x, collect2 would create an import file
  2159. - # for dependence libraries. The import file would start with
  2160. - # the line `#! .'. This would cause the generated library to
  2161. - # depend on `.', always an invalid library. This was fixed in
  2162. - # development snapshots of GCC prior to 3.0.
  2163. - case $host_os in
  2164. - aix4 | aix4.[[01]] | aix4.[[01]].*)
  2165. - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  2166. - echo ' yes '
  2167. - echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  2168. - :
  2169. - else
  2170. - can_build_shared=no
  2171. - fi
  2172. - ;;
  2173. - esac
  2174. - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  2175. - # soname into executable. Probably we can add versioning support to
  2176. - # collect2, so additional links can be useful in future.
  2177. - if test "$aix_use_runtimelinking" = yes; then
  2178. - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  2179. - # instead of lib<name>.a to let people know that these are not
  2180. - # typical AIX shared libraries.
  2181. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2182. - else
  2183. - # We preserve .a as extension for shared libraries through AIX4.2
  2184. - # and later when we are not doing run time linking.
  2185. - library_names_spec='${libname}${release}.a $libname.a'
  2186. - soname_spec='${libname}${release}${shared_ext}$major'
  2187. - fi
  2188. - shlibpath_var=LIBPATH
  2189. - fi
  2190. - ;;
  2191. -
  2192. -amigaos*)
  2193. - case $host_cpu in
  2194. - powerpc)
  2195. - # Since July 2007 AmigaOS4 officially supports .so libraries.
  2196. - # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  2197. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2198. - ;;
  2199. - m68k)
  2200. - library_names_spec='$libname.ixlibrary $libname.a'
  2201. - # Create ${libname}_ixlibrary.a entries in /sys/libs.
  2202. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  2203. - ;;
  2204. - esac
  2205. - ;;
  2206. -
  2207. -beos*)
  2208. - library_names_spec='${libname}${shared_ext}'
  2209. - dynamic_linker="$host_os ld.so"
  2210. - shlibpath_var=LIBRARY_PATH
  2211. - ;;
  2212. -
  2213. -bsdi[[45]]*)
  2214. - version_type=linux
  2215. - need_version=no
  2216. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2217. - soname_spec='${libname}${release}${shared_ext}$major'
  2218. - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  2219. - shlibpath_var=LD_LIBRARY_PATH
  2220. - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  2221. - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  2222. - # the default ld.so.conf also contains /usr/contrib/lib and
  2223. - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  2224. - # libtool to hard-code these into programs
  2225. - ;;
  2226. -
  2227. -cygwin* | mingw* | pw32* | cegcc*)
  2228. - version_type=windows
  2229. - shrext_cmds=".dll"
  2230. - need_version=no
  2231. - need_lib_prefix=no
  2232. -
  2233. - case $GCC,$host_os in
  2234. - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  2235. - library_names_spec='$libname.dll.a'
  2236. - # DLL is installed to $(libdir)/../bin by postinstall_cmds
  2237. - postinstall_cmds='base_file=`basename \${file}`~
  2238. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  2239. - dldir=$destdir/`dirname \$dlpath`~
  2240. - test -d \$dldir || mkdir -p \$dldir~
  2241. - $install_prog $dir/$dlname \$dldir/$dlname~
  2242. - chmod a+x \$dldir/$dlname~
  2243. - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  2244. - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  2245. - fi'
  2246. - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  2247. - dlpath=$dir/\$dldll~
  2248. - $RM \$dlpath'
  2249. - shlibpath_overrides_runpath=yes
  2250. -
  2251. - case $host_os in
  2252. - cygwin*)
  2253. - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  2254. - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  2255. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  2256. - ;;
  2257. - mingw* | cegcc*)
  2258. - # MinGW DLLs use traditional 'lib' prefix
  2259. - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  2260. - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  2261. - if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
  2262. - # It is most probably a Windows format PATH printed by
  2263. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  2264. - # path with ; separators, and with drive letters. We can handle the
  2265. - # drive letters (cygwin fileutils understands them), so leave them,
  2266. - # especially as we might pass files found there to a mingw objdump,
  2267. - # which wouldn't understand a cygwinified path. Ahh.
  2268. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  2269. - else
  2270. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  2271. - fi
  2272. - ;;
  2273. - pw32*)
  2274. - # pw32 DLLs use 'pw' prefix rather than 'lib'
  2275. - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  2276. - ;;
  2277. - esac
  2278. - ;;
  2279. -
  2280. - *)
  2281. - library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
  2282. - ;;
  2283. - esac
  2284. - dynamic_linker='Win32 ld.exe'
  2285. - # FIXME: first we should search . and the directory the executable is in
  2286. - shlibpath_var=PATH
  2287. - ;;
  2288. -
  2289. -darwin* | rhapsody*)
  2290. - dynamic_linker="$host_os dyld"
  2291. - version_type=darwin
  2292. - need_lib_prefix=no
  2293. - need_version=no
  2294. - library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  2295. - soname_spec='${libname}${release}${major}$shared_ext'
  2296. - shlibpath_overrides_runpath=yes
  2297. - shlibpath_var=DYLD_LIBRARY_PATH
  2298. - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  2299. -m4_if([$1], [],[
  2300. - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
  2301. - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  2302. - ;;
  2303. -
  2304. -dgux*)
  2305. - version_type=linux
  2306. - need_lib_prefix=no
  2307. - need_version=no
  2308. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  2309. - soname_spec='${libname}${release}${shared_ext}$major'
  2310. - shlibpath_var=LD_LIBRARY_PATH
  2311. - ;;
  2312. -
  2313. -freebsd1*)
  2314. - dynamic_linker=no
  2315. - ;;
  2316. -
  2317. -freebsd* | dragonfly*)
  2318. - # DragonFly does not have aout. When/if they implement a new
  2319. - # versioning mechanism, adjust this.
  2320. - if test -x /usr/bin/objformat; then
  2321. - objformat=`/usr/bin/objformat`
  2322. - else
  2323. - case $host_os in
  2324. - freebsd[[123]]*) objformat=aout ;;
  2325. - *) objformat=elf ;;
  2326. - esac
  2327. - fi
  2328. - version_type=freebsd-$objformat
  2329. - case $version_type in
  2330. - freebsd-elf*)
  2331. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  2332. - need_version=no
  2333. - need_lib_prefix=no
  2334. - ;;
  2335. - freebsd-*)
  2336. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  2337. - need_version=yes
  2338. - ;;
  2339. - esac
  2340. - shlibpath_var=LD_LIBRARY_PATH
  2341. - case $host_os in
  2342. - freebsd2*)
  2343. - shlibpath_overrides_runpath=yes
  2344. - ;;
  2345. - freebsd3.[[01]]* | freebsdelf3.[[01]]*)
  2346. - shlibpath_overrides_runpath=yes
  2347. - hardcode_into_libs=yes
  2348. - ;;
  2349. - freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
  2350. - freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
  2351. - shlibpath_overrides_runpath=no
  2352. - hardcode_into_libs=yes
  2353. - ;;
  2354. - *) # from 4.6 on, and DragonFly
  2355. - shlibpath_overrides_runpath=yes
  2356. - hardcode_into_libs=yes
  2357. - ;;
  2358. - esac
  2359. - ;;
  2360. -
  2361. -gnu*)
  2362. - version_type=linux
  2363. - need_lib_prefix=no
  2364. - need_version=no
  2365. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  2366. - soname_spec='${libname}${release}${shared_ext}$major'
  2367. - shlibpath_var=LD_LIBRARY_PATH
  2368. - hardcode_into_libs=yes
  2369. - ;;
  2370. -
  2371. -hpux9* | hpux10* | hpux11*)
  2372. - # Give a soname corresponding to the major version so that dld.sl refuses to
  2373. - # link against other versions.
  2374. - version_type=sunos
  2375. - need_lib_prefix=no
  2376. - need_version=no
  2377. - case $host_cpu in
  2378. - ia64*)
  2379. - shrext_cmds='.so'
  2380. - hardcode_into_libs=yes
  2381. - dynamic_linker="$host_os dld.so"
  2382. - shlibpath_var=LD_LIBRARY_PATH
  2383. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  2384. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2385. - soname_spec='${libname}${release}${shared_ext}$major'
  2386. - if test "X$HPUX_IA64_MODE" = X32; then
  2387. - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  2388. - else
  2389. - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  2390. - fi
  2391. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  2392. - ;;
  2393. - hppa*64*)
  2394. - shrext_cmds='.sl'
  2395. - hardcode_into_libs=yes
  2396. - dynamic_linker="$host_os dld.sl"
  2397. - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  2398. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  2399. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2400. - soname_spec='${libname}${release}${shared_ext}$major'
  2401. - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  2402. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  2403. - ;;
  2404. - *)
  2405. - shrext_cmds='.sl'
  2406. - dynamic_linker="$host_os dld.sl"
  2407. - shlibpath_var=SHLIB_PATH
  2408. - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  2409. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2410. - soname_spec='${libname}${release}${shared_ext}$major'
  2411. - ;;
  2412. - esac
  2413. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  2414. - postinstall_cmds='chmod 555 $lib'
  2415. - ;;
  2416. -
  2417. -interix[[3-9]]*)
  2418. - version_type=linux
  2419. - need_lib_prefix=no
  2420. - need_version=no
  2421. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  2422. - soname_spec='${libname}${release}${shared_ext}$major'
  2423. - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  2424. - shlibpath_var=LD_LIBRARY_PATH
  2425. - shlibpath_overrides_runpath=no
  2426. - hardcode_into_libs=yes
  2427. - ;;
  2428. -
  2429. -irix5* | irix6* | nonstopux*)
  2430. - case $host_os in
  2431. - nonstopux*) version_type=nonstopux ;;
  2432. - *)
  2433. - if test "$lt_cv_prog_gnu_ld" = yes; then
  2434. - version_type=linux
  2435. - else
  2436. - version_type=irix
  2437. - fi ;;
  2438. - esac
  2439. - need_lib_prefix=no
  2440. - need_version=no
  2441. - soname_spec='${libname}${release}${shared_ext}$major'
  2442. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  2443. - case $host_os in
  2444. - irix5* | nonstopux*)
  2445. - libsuff= shlibsuff=
  2446. - ;;
  2447. - *)
  2448. - case $LD in # libtool.m4 will add one of these switches to LD
  2449. - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  2450. - libsuff= shlibsuff= libmagic=32-bit;;
  2451. - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  2452. - libsuff=32 shlibsuff=N32 libmagic=N32;;
  2453. - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  2454. - libsuff=64 shlibsuff=64 libmagic=64-bit;;
  2455. - *) libsuff= shlibsuff= libmagic=never-match;;
  2456. - esac
  2457. - ;;
  2458. - esac
  2459. - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  2460. - shlibpath_overrides_runpath=no
  2461. - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  2462. - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  2463. - hardcode_into_libs=yes
  2464. - ;;
  2465. -
  2466. -# No shared lib support for Linux oldld, aout, or coff.
  2467. -linux*oldld* | linux*aout* | linux*coff*)
  2468. - dynamic_linker=no
  2469. - ;;
  2470. -
  2471. -# This must be Linux ELF.
  2472. -linux* | k*bsd*-gnu | kopensolaris*-gnu)
  2473. - version_type=linux
  2474. - need_lib_prefix=no
  2475. - need_version=no
  2476. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2477. - soname_spec='${libname}${release}${shared_ext}$major'
  2478. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  2479. - shlibpath_var=LD_LIBRARY_PATH
  2480. - shlibpath_overrides_runpath=no
  2481. - # Some binutils ld are patched to set DT_RUNPATH
  2482. - save_LDFLAGS=$LDFLAGS
  2483. - save_libdir=$libdir
  2484. - eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
  2485. - LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
  2486. - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  2487. - [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
  2488. - [shlibpath_overrides_runpath=yes])])
  2489. - LDFLAGS=$save_LDFLAGS
  2490. - libdir=$save_libdir
  2491. -
  2492. - # This implies no fast_install, which is unacceptable.
  2493. - # Some rework will be needed to allow for fast_install
  2494. - # before this can be enabled.
  2495. - hardcode_into_libs=yes
  2496. -
  2497. - # Append ld.so.conf contents to the search path
  2498. - if test -f /etc/ld.so.conf; then
  2499. - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  2500. - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  2501. - fi
  2502. -
  2503. - # We used to test for /lib/ld.so.1 and disable shared libraries on
  2504. - # powerpc, because MkLinux only supported shared libraries with the
  2505. - # GNU dynamic linker. Since this was broken with cross compilers,
  2506. - # most powerpc-linux boxes support dynamic linking these days and
  2507. - # people can always --disable-shared, the test was removed, and we
  2508. - # assume the GNU/Linux dynamic linker is in use.
  2509. - dynamic_linker='GNU/Linux ld.so'
  2510. - ;;
  2511. -
  2512. -netbsdelf*-gnu)
  2513. - version_type=linux
  2514. - need_lib_prefix=no
  2515. - need_version=no
  2516. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  2517. - soname_spec='${libname}${release}${shared_ext}$major'
  2518. - shlibpath_var=LD_LIBRARY_PATH
  2519. - shlibpath_overrides_runpath=no
  2520. - hardcode_into_libs=yes
  2521. - dynamic_linker='NetBSD ld.elf_so'
  2522. - ;;
  2523. -
  2524. -netbsd*)
  2525. - version_type=sunos
  2526. - need_lib_prefix=no
  2527. - need_version=no
  2528. - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  2529. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  2530. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  2531. - dynamic_linker='NetBSD (a.out) ld.so'
  2532. - else
  2533. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  2534. - soname_spec='${libname}${release}${shared_ext}$major'
  2535. - dynamic_linker='NetBSD ld.elf_so'
  2536. - fi
  2537. - shlibpath_var=LD_LIBRARY_PATH
  2538. - shlibpath_overrides_runpath=yes
  2539. - hardcode_into_libs=yes
  2540. - ;;
  2541. -
  2542. -newsos6)
  2543. - version_type=linux
  2544. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2545. - shlibpath_var=LD_LIBRARY_PATH
  2546. - shlibpath_overrides_runpath=yes
  2547. - ;;
  2548. -
  2549. -*nto* | *qnx*)
  2550. - version_type=qnx
  2551. - need_lib_prefix=no
  2552. - need_version=no
  2553. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2554. - soname_spec='${libname}${release}${shared_ext}$major'
  2555. - shlibpath_var=LD_LIBRARY_PATH
  2556. - shlibpath_overrides_runpath=no
  2557. - hardcode_into_libs=yes
  2558. - dynamic_linker='ldqnx.so'
  2559. - ;;
  2560. -
  2561. -openbsd*)
  2562. - version_type=sunos
  2563. - sys_lib_dlsearch_path_spec="/usr/lib"
  2564. - need_lib_prefix=no
  2565. - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  2566. - case $host_os in
  2567. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  2568. - *) need_version=no ;;
  2569. - esac
  2570. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  2571. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  2572. - shlibpath_var=LD_LIBRARY_PATH
  2573. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  2574. - case $host_os in
  2575. - openbsd2.[[89]] | openbsd2.[[89]].*)
  2576. - shlibpath_overrides_runpath=no
  2577. - ;;
  2578. - *)
  2579. - shlibpath_overrides_runpath=yes
  2580. - ;;
  2581. - esac
  2582. - else
  2583. - shlibpath_overrides_runpath=yes
  2584. - fi
  2585. - ;;
  2586. -
  2587. -os2*)
  2588. - libname_spec='$name'
  2589. - shrext_cmds=".dll"
  2590. - need_lib_prefix=no
  2591. - library_names_spec='$libname${shared_ext} $libname.a'
  2592. - dynamic_linker='OS/2 ld.exe'
  2593. - shlibpath_var=LIBPATH
  2594. - ;;
  2595. -
  2596. -osf3* | osf4* | osf5*)
  2597. - version_type=osf
  2598. - need_lib_prefix=no
  2599. - need_version=no
  2600. - soname_spec='${libname}${release}${shared_ext}$major'
  2601. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2602. - shlibpath_var=LD_LIBRARY_PATH
  2603. - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  2604. - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  2605. - ;;
  2606. -
  2607. -rdos*)
  2608. - dynamic_linker=no
  2609. - ;;
  2610. -
  2611. -solaris*)
  2612. - version_type=linux
  2613. - need_lib_prefix=no
  2614. - need_version=no
  2615. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2616. - soname_spec='${libname}${release}${shared_ext}$major'
  2617. - shlibpath_var=LD_LIBRARY_PATH
  2618. - shlibpath_overrides_runpath=yes
  2619. - hardcode_into_libs=yes
  2620. - # ldd complains unless libraries are executable
  2621. - postinstall_cmds='chmod +x $lib'
  2622. - ;;
  2623. -
  2624. -sunos4*)
  2625. - version_type=sunos
  2626. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  2627. - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  2628. - shlibpath_var=LD_LIBRARY_PATH
  2629. - shlibpath_overrides_runpath=yes
  2630. - if test "$with_gnu_ld" = yes; then
  2631. - need_lib_prefix=no
  2632. - fi
  2633. - need_version=yes
  2634. - ;;
  2635. -
  2636. -sysv4 | sysv4.3*)
  2637. - version_type=linux
  2638. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2639. - soname_spec='${libname}${release}${shared_ext}$major'
  2640. - shlibpath_var=LD_LIBRARY_PATH
  2641. - case $host_vendor in
  2642. - sni)
  2643. - shlibpath_overrides_runpath=no
  2644. - need_lib_prefix=no
  2645. - runpath_var=LD_RUN_PATH
  2646. - ;;
  2647. - siemens)
  2648. - need_lib_prefix=no
  2649. - ;;
  2650. - motorola)
  2651. - need_lib_prefix=no
  2652. - need_version=no
  2653. - shlibpath_overrides_runpath=no
  2654. - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  2655. - ;;
  2656. - esac
  2657. - ;;
  2658. -
  2659. -sysv4*MP*)
  2660. - if test -d /usr/nec ;then
  2661. - version_type=linux
  2662. - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  2663. - soname_spec='$libname${shared_ext}.$major'
  2664. - shlibpath_var=LD_LIBRARY_PATH
  2665. - fi
  2666. - ;;
  2667. -
  2668. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  2669. - version_type=freebsd-elf
  2670. - need_lib_prefix=no
  2671. - need_version=no
  2672. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  2673. - soname_spec='${libname}${release}${shared_ext}$major'
  2674. - shlibpath_var=LD_LIBRARY_PATH
  2675. - shlibpath_overrides_runpath=yes
  2676. - hardcode_into_libs=yes
  2677. - if test "$with_gnu_ld" = yes; then
  2678. - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  2679. - else
  2680. - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  2681. - case $host_os in
  2682. - sco3.2v5*)
  2683. - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  2684. - ;;
  2685. - esac
  2686. - fi
  2687. - sys_lib_dlsearch_path_spec='/usr/lib'
  2688. - ;;
  2689. -
  2690. -tpf*)
  2691. - # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  2692. - version_type=linux
  2693. - need_lib_prefix=no
  2694. - need_version=no
  2695. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2696. - shlibpath_var=LD_LIBRARY_PATH
  2697. - shlibpath_overrides_runpath=no
  2698. - hardcode_into_libs=yes
  2699. - ;;
  2700. -
  2701. -uts4*)
  2702. - version_type=linux
  2703. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2704. - soname_spec='${libname}${release}${shared_ext}$major'
  2705. - shlibpath_var=LD_LIBRARY_PATH
  2706. - ;;
  2707. -
  2708. -*)
  2709. - dynamic_linker=no
  2710. - ;;
  2711. -esac
  2712. -AC_MSG_RESULT([$dynamic_linker])
  2713. -test "$dynamic_linker" = no && can_build_shared=no
  2714. -
  2715. -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  2716. -if test "$GCC" = yes; then
  2717. - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  2718. -fi
  2719. -
  2720. -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  2721. - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  2722. -fi
  2723. -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  2724. - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  2725. -fi
  2726. -
  2727. -_LT_DECL([], [variables_saved_for_relink], [1],
  2728. - [Variables whose values should be saved in libtool wrapper scripts and
  2729. - restored at link time])
  2730. -_LT_DECL([], [need_lib_prefix], [0],
  2731. - [Do we need the "lib" prefix for modules?])
  2732. -_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
  2733. -_LT_DECL([], [version_type], [0], [Library versioning type])
  2734. -_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
  2735. -_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
  2736. -_LT_DECL([], [shlibpath_overrides_runpath], [0],
  2737. - [Is shlibpath searched before the hard-coded library search path?])
  2738. -_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
  2739. -_LT_DECL([], [library_names_spec], [1],
  2740. - [[List of archive names. First name is the real one, the rest are links.
  2741. - The last name is the one that the linker finds with -lNAME]])
  2742. -_LT_DECL([], [soname_spec], [1],
  2743. - [[The coded name of the library, if different from the real name]])
  2744. -_LT_DECL([], [postinstall_cmds], [2],
  2745. - [Command to use after installation of a shared archive])
  2746. -_LT_DECL([], [postuninstall_cmds], [2],
  2747. - [Command to use after uninstallation of a shared archive])
  2748. -_LT_DECL([], [finish_cmds], [2],
  2749. - [Commands used to finish a libtool library installation in a directory])
  2750. -_LT_DECL([], [finish_eval], [1],
  2751. - [[As "finish_cmds", except a single script fragment to be evaled but
  2752. - not shown]])
  2753. -_LT_DECL([], [hardcode_into_libs], [0],
  2754. - [Whether we should hardcode library paths into libraries])
  2755. -_LT_DECL([], [sys_lib_search_path_spec], [2],
  2756. - [Compile-time system search path for libraries])
  2757. -_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
  2758. - [Run-time system search path for libraries])
  2759. -])# _LT_SYS_DYNAMIC_LINKER
  2760. -
  2761. -
  2762. -# _LT_PATH_TOOL_PREFIX(TOOL)
  2763. -# --------------------------
  2764. -# find a file program which can recognize shared library
  2765. -AC_DEFUN([_LT_PATH_TOOL_PREFIX],
  2766. -[m4_require([_LT_DECL_EGREP])dnl
  2767. -AC_MSG_CHECKING([for $1])
  2768. -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  2769. -[case $MAGIC_CMD in
  2770. -[[\\/*] | ?:[\\/]*])
  2771. - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  2772. - ;;
  2773. -*)
  2774. - lt_save_MAGIC_CMD="$MAGIC_CMD"
  2775. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  2776. -dnl $ac_dummy forces splitting on constant user-supplied paths.
  2777. -dnl POSIX.2 word splitting is done only on the output of word expansions,
  2778. -dnl not every word. This closes a longstanding sh security hole.
  2779. - ac_dummy="m4_if([$2], , $PATH, [$2])"
  2780. - for ac_dir in $ac_dummy; do
  2781. - IFS="$lt_save_ifs"
  2782. - test -z "$ac_dir" && ac_dir=.
  2783. - if test -f $ac_dir/$1; then
  2784. - lt_cv_path_MAGIC_CMD="$ac_dir/$1"
  2785. - if test -n "$file_magic_test_file"; then
  2786. - case $deplibs_check_method in
  2787. - "file_magic "*)
  2788. - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  2789. - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  2790. - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  2791. - $EGREP "$file_magic_regex" > /dev/null; then
  2792. - :
  2793. - else
  2794. - cat <<_LT_EOF 1>&2
  2795. -
  2796. -*** Warning: the command libtool uses to detect shared libraries,
  2797. -*** $file_magic_cmd, produces output that libtool cannot recognize.
  2798. -*** The result is that libtool may fail to recognize shared libraries
  2799. -*** as such. This will affect the creation of libtool libraries that
  2800. -*** depend on shared libraries, but programs linked with such libtool
  2801. -*** libraries will work regardless of this problem. Nevertheless, you
  2802. -*** may want to report the problem to your system manager and/or to
  2803. -*** bug-libtool@gnu.org
  2804. -
  2805. -_LT_EOF
  2806. - fi ;;
  2807. - esac
  2808. - fi
  2809. - break
  2810. - fi
  2811. - done
  2812. - IFS="$lt_save_ifs"
  2813. - MAGIC_CMD="$lt_save_MAGIC_CMD"
  2814. - ;;
  2815. -esac])
  2816. -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  2817. -if test -n "$MAGIC_CMD"; then
  2818. - AC_MSG_RESULT($MAGIC_CMD)
  2819. -else
  2820. - AC_MSG_RESULT(no)
  2821. -fi
  2822. -_LT_DECL([], [MAGIC_CMD], [0],
  2823. - [Used to examine libraries when file_magic_cmd begins with "file"])dnl
  2824. -])# _LT_PATH_TOOL_PREFIX
  2825. -
  2826. -# Old name:
  2827. -AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
  2828. -dnl aclocal-1.4 backwards compatibility:
  2829. -dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
  2830. -
  2831. -
  2832. -# _LT_PATH_MAGIC
  2833. -# --------------
  2834. -# find a file program which can recognize a shared library
  2835. -m4_defun([_LT_PATH_MAGIC],
  2836. -[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
  2837. -if test -z "$lt_cv_path_MAGIC_CMD"; then
  2838. - if test -n "$ac_tool_prefix"; then
  2839. - _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
  2840. - else
  2841. - MAGIC_CMD=:
  2842. - fi
  2843. -fi
  2844. -])# _LT_PATH_MAGIC
  2845. -
  2846. -
  2847. -# LT_PATH_LD
  2848. -# ----------
  2849. -# find the pathname to the GNU or non-GNU linker
  2850. -AC_DEFUN([LT_PATH_LD],
  2851. -[AC_REQUIRE([AC_PROG_CC])dnl
  2852. -AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2853. -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  2854. -m4_require([_LT_DECL_SED])dnl
  2855. -m4_require([_LT_DECL_EGREP])dnl
  2856. -
  2857. -AC_ARG_WITH([gnu-ld],
  2858. - [AS_HELP_STRING([--with-gnu-ld],
  2859. - [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  2860. - [test "$withval" = no || with_gnu_ld=yes],
  2861. - [with_gnu_ld=no])dnl
  2862. -
  2863. -ac_prog=ld
  2864. -if test "$GCC" = yes; then
  2865. - # Check if gcc -print-prog-name=ld gives a path.
  2866. - AC_MSG_CHECKING([for ld used by $CC])
  2867. - case $host in
  2868. - *-*-mingw*)
  2869. - # gcc leaves a trailing carriage return which upsets mingw
  2870. - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  2871. - *)
  2872. - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  2873. - esac
  2874. - case $ac_prog in
  2875. - # Accept absolute paths.
  2876. - [[\\/]]* | ?:[[\\/]]*)
  2877. - re_direlt='/[[^/]][[^/]]*/\.\./'
  2878. - # Canonicalize the pathname of ld
  2879. - ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  2880. - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  2881. - ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  2882. - done
  2883. - test -z "$LD" && LD="$ac_prog"
  2884. - ;;
  2885. - "")
  2886. - # If it fails, then pretend we aren't using GCC.
  2887. - ac_prog=ld
  2888. - ;;
  2889. - *)
  2890. - # If it is relative, then search for the first ld in PATH.
  2891. - with_gnu_ld=unknown
  2892. - ;;
  2893. - esac
  2894. -elif test "$with_gnu_ld" = yes; then
  2895. - AC_MSG_CHECKING([for GNU ld])
  2896. -else
  2897. - AC_MSG_CHECKING([for non-GNU ld])
  2898. -fi
  2899. -AC_CACHE_VAL(lt_cv_path_LD,
  2900. -[if test -z "$LD"; then
  2901. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  2902. - for ac_dir in $PATH; do
  2903. - IFS="$lt_save_ifs"
  2904. - test -z "$ac_dir" && ac_dir=.
  2905. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  2906. - lt_cv_path_LD="$ac_dir/$ac_prog"
  2907. - # Check to see if the program is GNU ld. I'd rather use --version,
  2908. - # but apparently some variants of GNU ld only accept -v.
  2909. - # Break only if it was the GNU/non-GNU ld that we prefer.
  2910. - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  2911. - *GNU* | *'with BFD'*)
  2912. - test "$with_gnu_ld" != no && break
  2913. - ;;
  2914. - *)
  2915. - test "$with_gnu_ld" != yes && break
  2916. - ;;
  2917. - esac
  2918. - fi
  2919. - done
  2920. - IFS="$lt_save_ifs"
  2921. -else
  2922. - lt_cv_path_LD="$LD" # Let the user override the test with a path.
  2923. -fi])
  2924. -LD="$lt_cv_path_LD"
  2925. -if test -n "$LD"; then
  2926. - AC_MSG_RESULT($LD)
  2927. -else
  2928. - AC_MSG_RESULT(no)
  2929. -fi
  2930. -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  2931. -_LT_PATH_LD_GNU
  2932. -AC_SUBST([LD])
  2933. -
  2934. -_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
  2935. -])# LT_PATH_LD
  2936. -
  2937. -# Old names:
  2938. -AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
  2939. -AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
  2940. -dnl aclocal-1.4 backwards compatibility:
  2941. -dnl AC_DEFUN([AM_PROG_LD], [])
  2942. -dnl AC_DEFUN([AC_PROG_LD], [])
  2943. -
  2944. -
  2945. -# _LT_PATH_LD_GNU
  2946. -#- --------------
  2947. -m4_defun([_LT_PATH_LD_GNU],
  2948. -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  2949. -[# I'd rather use --version here, but apparently some GNU lds only accept -v.
  2950. -case `$LD -v 2>&1 </dev/null` in
  2951. -*GNU* | *'with BFD'*)
  2952. - lt_cv_prog_gnu_ld=yes
  2953. - ;;
  2954. -*)
  2955. - lt_cv_prog_gnu_ld=no
  2956. - ;;
  2957. -esac])
  2958. -with_gnu_ld=$lt_cv_prog_gnu_ld
  2959. -])# _LT_PATH_LD_GNU
  2960. -
  2961. -
  2962. -# _LT_CMD_RELOAD
  2963. -# --------------
  2964. -# find reload flag for linker
  2965. -# -- PORTME Some linkers may need a different reload flag.
  2966. -m4_defun([_LT_CMD_RELOAD],
  2967. -[AC_CACHE_CHECK([for $LD option to reload object files],
  2968. - lt_cv_ld_reload_flag,
  2969. - [lt_cv_ld_reload_flag='-r'])
  2970. -reload_flag=$lt_cv_ld_reload_flag
  2971. -case $reload_flag in
  2972. -"" | " "*) ;;
  2973. -*) reload_flag=" $reload_flag" ;;
  2974. -esac
  2975. -reload_cmds='$LD$reload_flag -o $output$reload_objs'
  2976. -case $host_os in
  2977. - darwin*)
  2978. - if test "$GCC" = yes; then
  2979. - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  2980. - else
  2981. - reload_cmds='$LD$reload_flag -o $output$reload_objs'
  2982. - fi
  2983. - ;;
  2984. -esac
  2985. -_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
  2986. -_LT_DECL([], [reload_cmds], [2])dnl
  2987. -])# _LT_CMD_RELOAD
  2988. -
  2989. -
  2990. -# _LT_CHECK_MAGIC_METHOD
  2991. -# ----------------------
  2992. -# how to check for library dependencies
  2993. -# -- PORTME fill in with the dynamic library characteristics
  2994. -m4_defun([_LT_CHECK_MAGIC_METHOD],
  2995. -[m4_require([_LT_DECL_EGREP])
  2996. -m4_require([_LT_DECL_OBJDUMP])
  2997. -AC_CACHE_CHECK([how to recognize dependent libraries],
  2998. -lt_cv_deplibs_check_method,
  2999. -[lt_cv_file_magic_cmd='$MAGIC_CMD'
  3000. -lt_cv_file_magic_test_file=
  3001. -lt_cv_deplibs_check_method='unknown'
  3002. -# Need to set the preceding variable on all platforms that support
  3003. -# interlibrary dependencies.
  3004. -# 'none' -- dependencies not supported.
  3005. -# `unknown' -- same as none, but documents that we really don't know.
  3006. -# 'pass_all' -- all dependencies passed with no checks.
  3007. -# 'test_compile' -- check by making test program.
  3008. -# 'file_magic [[regex]]' -- check by looking for files in library path
  3009. -# which responds to the $file_magic_cmd with a given extended regex.
  3010. -# If you have `file' or equivalent on your system and you're not sure
  3011. -# whether `pass_all' will *always* work, you probably want this one.
  3012. -
  3013. -case $host_os in
  3014. -aix[[4-9]]*)
  3015. - lt_cv_deplibs_check_method=pass_all
  3016. - ;;
  3017. -
  3018. -beos*)
  3019. - lt_cv_deplibs_check_method=pass_all
  3020. - ;;
  3021. -
  3022. -bsdi[[45]]*)
  3023. - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
  3024. - lt_cv_file_magic_cmd='/usr/bin/file -L'
  3025. - lt_cv_file_magic_test_file=/shlib/libc.so
  3026. - ;;
  3027. -
  3028. -cygwin*)
  3029. - # func_win32_libid is a shell function defined in ltmain.sh
  3030. - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  3031. - lt_cv_file_magic_cmd='func_win32_libid'
  3032. - ;;
  3033. -
  3034. -mingw* | pw32*)
  3035. - # Base MSYS/MinGW do not provide the 'file' command needed by
  3036. - # func_win32_libid shell function, so use a weaker test based on 'objdump',
  3037. - # unless we find 'file', for example because we are cross-compiling.
  3038. - if ( file / ) >/dev/null 2>&1; then
  3039. - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  3040. - lt_cv_file_magic_cmd='func_win32_libid'
  3041. - else
  3042. - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  3043. - lt_cv_file_magic_cmd='$OBJDUMP -f'
  3044. - fi
  3045. - ;;
  3046. -
  3047. -cegcc)
  3048. - # use the weaker test based on 'objdump'. See mingw*.
  3049. - lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  3050. - lt_cv_file_magic_cmd='$OBJDUMP -f'
  3051. - ;;
  3052. -
  3053. -darwin* | rhapsody*)
  3054. - lt_cv_deplibs_check_method=pass_all
  3055. - ;;
  3056. -
  3057. -freebsd* | dragonfly*)
  3058. - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  3059. - case $host_cpu in
  3060. - i*86 )
  3061. - # Not sure whether the presence of OpenBSD here was a mistake.
  3062. - # Let's accept both of them until this is cleared up.
  3063. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
  3064. - lt_cv_file_magic_cmd=/usr/bin/file
  3065. - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  3066. - ;;
  3067. - esac
  3068. - else
  3069. - lt_cv_deplibs_check_method=pass_all
  3070. - fi
  3071. - ;;
  3072. -
  3073. -gnu*)
  3074. - lt_cv_deplibs_check_method=pass_all
  3075. - ;;
  3076. -
  3077. -hpux10.20* | hpux11*)
  3078. - lt_cv_file_magic_cmd=/usr/bin/file
  3079. - case $host_cpu in
  3080. - ia64*)
  3081. - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
  3082. - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  3083. - ;;
  3084. - hppa*64*)
  3085. - [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
  3086. - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  3087. - ;;
  3088. - *)
  3089. - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
  3090. - lt_cv_file_magic_test_file=/usr/lib/libc.sl
  3091. - ;;
  3092. - esac
  3093. - ;;
  3094. -
  3095. -interix[[3-9]]*)
  3096. - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  3097. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
  3098. - ;;
  3099. -
  3100. -irix5* | irix6* | nonstopux*)
  3101. - case $LD in
  3102. - *-32|*"-32 ") libmagic=32-bit;;
  3103. - *-n32|*"-n32 ") libmagic=N32;;
  3104. - *-64|*"-64 ") libmagic=64-bit;;
  3105. - *) libmagic=never-match;;
  3106. - esac
  3107. - lt_cv_deplibs_check_method=pass_all
  3108. - ;;
  3109. -
  3110. -# This must be Linux ELF.
  3111. -linux* | k*bsd*-gnu | kopensolaris*-gnu)
  3112. - lt_cv_deplibs_check_method=pass_all
  3113. - ;;
  3114. -
  3115. -netbsd* | netbsdelf*-gnu)
  3116. - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  3117. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  3118. - else
  3119. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
  3120. - fi
  3121. - ;;
  3122. -
  3123. -newos6*)
  3124. - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
  3125. - lt_cv_file_magic_cmd=/usr/bin/file
  3126. - lt_cv_file_magic_test_file=/usr/lib/libnls.so
  3127. - ;;
  3128. -
  3129. -*nto* | *qnx*)
  3130. - lt_cv_deplibs_check_method=pass_all
  3131. - ;;
  3132. -
  3133. -openbsd*)
  3134. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  3135. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
  3136. - else
  3137. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  3138. - fi
  3139. - ;;
  3140. -
  3141. -osf3* | osf4* | osf5*)
  3142. - lt_cv_deplibs_check_method=pass_all
  3143. - ;;
  3144. -
  3145. -rdos*)
  3146. - lt_cv_deplibs_check_method=pass_all
  3147. - ;;
  3148. -
  3149. -solaris*)
  3150. - lt_cv_deplibs_check_method=pass_all
  3151. - ;;
  3152. -
  3153. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  3154. - lt_cv_deplibs_check_method=pass_all
  3155. - ;;
  3156. -
  3157. -sysv4 | sysv4.3*)
  3158. - case $host_vendor in
  3159. - motorola)
  3160. - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
  3161. - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  3162. - ;;
  3163. - ncr)
  3164. - lt_cv_deplibs_check_method=pass_all
  3165. - ;;
  3166. - sequent)
  3167. - lt_cv_file_magic_cmd='/bin/file'
  3168. - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
  3169. - ;;
  3170. - sni)
  3171. - lt_cv_file_magic_cmd='/bin/file'
  3172. - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
  3173. - lt_cv_file_magic_test_file=/lib/libc.so
  3174. - ;;
  3175. - siemens)
  3176. - lt_cv_deplibs_check_method=pass_all
  3177. - ;;
  3178. - pc)
  3179. - lt_cv_deplibs_check_method=pass_all
  3180. - ;;
  3181. - esac
  3182. - ;;
  3183. -
  3184. -tpf*)
  3185. - lt_cv_deplibs_check_method=pass_all
  3186. - ;;
  3187. -esac
  3188. -])
  3189. -file_magic_cmd=$lt_cv_file_magic_cmd
  3190. -deplibs_check_method=$lt_cv_deplibs_check_method
  3191. -test -z "$deplibs_check_method" && deplibs_check_method=unknown
  3192. -
  3193. -_LT_DECL([], [deplibs_check_method], [1],
  3194. - [Method to check whether dependent libraries are shared objects])
  3195. -_LT_DECL([], [file_magic_cmd], [1],
  3196. - [Command to use when deplibs_check_method == "file_magic"])
  3197. -])# _LT_CHECK_MAGIC_METHOD
  3198. -
  3199. -
  3200. -# LT_PATH_NM
  3201. -# ----------
  3202. -# find the pathname to a BSD- or MS-compatible name lister
  3203. -AC_DEFUN([LT_PATH_NM],
  3204. -[AC_REQUIRE([AC_PROG_CC])dnl
  3205. -AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
  3206. -[if test -n "$NM"; then
  3207. - # Let the user override the test.
  3208. - lt_cv_path_NM="$NM"
  3209. -else
  3210. - lt_nm_to_check="${ac_tool_prefix}nm"
  3211. - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  3212. - lt_nm_to_check="$lt_nm_to_check nm"
  3213. - fi
  3214. - for lt_tmp_nm in $lt_nm_to_check; do
  3215. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  3216. - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  3217. - IFS="$lt_save_ifs"
  3218. - test -z "$ac_dir" && ac_dir=.
  3219. - tmp_nm="$ac_dir/$lt_tmp_nm"
  3220. - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  3221. - # Check to see if the nm accepts a BSD-compat flag.
  3222. - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  3223. - # nm: unknown option "B" ignored
  3224. - # Tru64's nm complains that /dev/null is an invalid object file
  3225. - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  3226. - */dev/null* | *'Invalid file or object type'*)
  3227. - lt_cv_path_NM="$tmp_nm -B"
  3228. - break
  3229. - ;;
  3230. - *)
  3231. - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  3232. - */dev/null*)
  3233. - lt_cv_path_NM="$tmp_nm -p"
  3234. - break
  3235. - ;;
  3236. - *)
  3237. - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  3238. - continue # so that we can try to find one that supports BSD flags
  3239. - ;;
  3240. - esac
  3241. - ;;
  3242. - esac
  3243. - fi
  3244. - done
  3245. - IFS="$lt_save_ifs"
  3246. - done
  3247. - : ${lt_cv_path_NM=no}
  3248. -fi])
  3249. -if test "$lt_cv_path_NM" != "no"; then
  3250. - NM="$lt_cv_path_NM"
  3251. -else
  3252. - # Didn't find any BSD compatible name lister, look for dumpbin.
  3253. - AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
  3254. - AC_SUBST([DUMPBIN])
  3255. - if test "$DUMPBIN" != ":"; then
  3256. - NM="$DUMPBIN"
  3257. - fi
  3258. -fi
  3259. -test -z "$NM" && NM=nm
  3260. -AC_SUBST([NM])
  3261. -_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
  3262. -
  3263. -AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  3264. - [lt_cv_nm_interface="BSD nm"
  3265. - echo "int some_variable = 0;" > conftest.$ac_ext
  3266. - (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  3267. - (eval "$ac_compile" 2>conftest.err)
  3268. - cat conftest.err >&AS_MESSAGE_LOG_FD
  3269. - (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  3270. - (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  3271. - cat conftest.err >&AS_MESSAGE_LOG_FD
  3272. - (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
  3273. - cat conftest.out >&AS_MESSAGE_LOG_FD
  3274. - if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  3275. - lt_cv_nm_interface="MS dumpbin"
  3276. - fi
  3277. - rm -f conftest*])
  3278. -])# LT_PATH_NM
  3279. -
  3280. -# Old names:
  3281. -AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
  3282. -AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
  3283. -dnl aclocal-1.4 backwards compatibility:
  3284. -dnl AC_DEFUN([AM_PROG_NM], [])
  3285. -dnl AC_DEFUN([AC_PROG_NM], [])
  3286. -
  3287. -
  3288. -# LT_LIB_M
  3289. -# --------
  3290. -# check for math library
  3291. -AC_DEFUN([LT_LIB_M],
  3292. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  3293. -LIBM=
  3294. -case $host in
  3295. -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
  3296. - # These system don't have libm, or don't need it
  3297. - ;;
  3298. -*-ncr-sysv4.3*)
  3299. - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
  3300. - AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
  3301. - ;;
  3302. -*)
  3303. - AC_CHECK_LIB(m, cos, LIBM="-lm")
  3304. - ;;
  3305. -esac
  3306. -AC_SUBST([LIBM])
  3307. -])# LT_LIB_M
  3308. -
  3309. -# Old name:
  3310. -AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
  3311. -dnl aclocal-1.4 backwards compatibility:
  3312. -dnl AC_DEFUN([AC_CHECK_LIBM], [])
  3313. -
  3314. -
  3315. -# _LT_COMPILER_NO_RTTI([TAGNAME])
  3316. -# -------------------------------
  3317. -m4_defun([_LT_COMPILER_NO_RTTI],
  3318. -[m4_require([_LT_TAG_COMPILER])dnl
  3319. -
  3320. -_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  3321. -
  3322. -if test "$GCC" = yes; then
  3323. - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  3324. -
  3325. - _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  3326. - lt_cv_prog_compiler_rtti_exceptions,
  3327. - [-fno-rtti -fno-exceptions], [],
  3328. - [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
  3329. -fi
  3330. -_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
  3331. - [Compiler flag to turn off builtin functions])
  3332. -])# _LT_COMPILER_NO_RTTI
  3333. -
  3334. -
  3335. -# _LT_CMD_GLOBAL_SYMBOLS
  3336. -# ----------------------
  3337. -m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
  3338. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  3339. -AC_REQUIRE([AC_PROG_CC])dnl
  3340. -AC_REQUIRE([LT_PATH_NM])dnl
  3341. -AC_REQUIRE([LT_PATH_LD])dnl
  3342. -m4_require([_LT_DECL_SED])dnl
  3343. -m4_require([_LT_DECL_EGREP])dnl
  3344. -m4_require([_LT_TAG_COMPILER])dnl
  3345. -
  3346. -# Check for command to grab the raw symbol name followed by C symbol from nm.
  3347. -AC_MSG_CHECKING([command to parse $NM output from $compiler object])
  3348. -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
  3349. -[
  3350. -# These are sane defaults that work on at least a few old systems.
  3351. -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  3352. -
  3353. -# Character class describing NM global symbol codes.
  3354. -symcode='[[BCDEGRST]]'
  3355. -
  3356. -# Regexp to match symbols that can be accessed directly from C.
  3357. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
  3358. -
  3359. -# Define system-specific variables.
  3360. -case $host_os in
  3361. -aix*)
  3362. - symcode='[[BCDT]]'
  3363. - ;;
  3364. -cygwin* | mingw* | pw32* | cegcc*)
  3365. - symcode='[[ABCDGISTW]]'
  3366. - ;;
  3367. -hpux*)
  3368. - if test "$host_cpu" = ia64; then
  3369. - symcode='[[ABCDEGRST]]'
  3370. - fi
  3371. - ;;
  3372. -irix* | nonstopux*)
  3373. - symcode='[[BCDEGRST]]'
  3374. - ;;
  3375. -osf*)
  3376. - symcode='[[BCDEGQRST]]'
  3377. - ;;
  3378. -solaris*)
  3379. - symcode='[[BDRT]]'
  3380. - ;;
  3381. -sco3.2v5*)
  3382. - symcode='[[DT]]'
  3383. - ;;
  3384. -sysv4.2uw2*)
  3385. - symcode='[[DT]]'
  3386. - ;;
  3387. -sysv5* | sco5v6* | unixware* | OpenUNIX*)
  3388. - symcode='[[ABDT]]'
  3389. - ;;
  3390. -sysv4)
  3391. - symcode='[[DFNSTU]]'
  3392. - ;;
  3393. -esac
  3394. -
  3395. -# If we're using GNU nm, then use its standard symbol codes.
  3396. -case `$NM -V 2>&1` in
  3397. -*GNU* | *'with BFD'*)
  3398. - symcode='[[ABCDGIRSTW]]' ;;
  3399. -esac
  3400. -
  3401. -# Transform an extracted symbol line into a proper C declaration.
  3402. -# Some systems (esp. on ia64) link data and code symbols differently,
  3403. -# so use this general approach.
  3404. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  3405. -
  3406. -# Transform an extracted symbol line into symbol name and symbol address
  3407. -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
  3408. -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
  3409. -
  3410. -# Handle CRLF in mingw tool chain
  3411. -opt_cr=
  3412. -case $build_os in
  3413. -mingw*)
  3414. - opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  3415. - ;;
  3416. -esac
  3417. -
  3418. -# Try without a prefix underscore, then with it.
  3419. -for ac_symprfx in "" "_"; do
  3420. -
  3421. - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  3422. - symxfrm="\\1 $ac_symprfx\\2 \\2"
  3423. -
  3424. - # Write the raw and C identifiers.
  3425. - if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  3426. - # Fake it for dumpbin and say T for any non-static function
  3427. - # and D for any global variable.
  3428. - # Also find C++ and __fastcall symbols from MSVC++,
  3429. - # which start with @ or ?.
  3430. - lt_cv_sys_global_symbol_pipe="$AWK ['"\
  3431. -" {last_section=section; section=\$ 3};"\
  3432. -" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  3433. -" \$ 0!~/External *\|/{next};"\
  3434. -" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  3435. -" {if(hide[section]) next};"\
  3436. -" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  3437. -" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  3438. -" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  3439. -" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  3440. -" ' prfx=^$ac_symprfx]"
  3441. - else
  3442. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  3443. - fi
  3444. -
  3445. - # Check to see that the pipe works correctly.
  3446. - pipe_works=no
  3447. -
  3448. - rm -f conftest*
  3449. - cat > conftest.$ac_ext <<_LT_EOF
  3450. -#ifdef __cplusplus
  3451. -extern "C" {
  3452. -#endif
  3453. -char nm_test_var;
  3454. -void nm_test_func(void);
  3455. -void nm_test_func(void){}
  3456. -#ifdef __cplusplus
  3457. -}
  3458. -#endif
  3459. -int main(){nm_test_var='a';nm_test_func();return(0);}
  3460. -_LT_EOF
  3461. -
  3462. - if AC_TRY_EVAL(ac_compile); then
  3463. - # Now try to grab the symbols.
  3464. - nlist=conftest.nm
  3465. - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  3466. - # Try sorting and uniquifying the output.
  3467. - if sort "$nlist" | uniq > "$nlist"T; then
  3468. - mv -f "$nlist"T "$nlist"
  3469. - else
  3470. - rm -f "$nlist"T
  3471. - fi
  3472. -
  3473. - # Make sure that we snagged all the symbols we need.
  3474. - if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  3475. - if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  3476. - cat <<_LT_EOF > conftest.$ac_ext
  3477. -#ifdef __cplusplus
  3478. -extern "C" {
  3479. -#endif
  3480. -
  3481. -_LT_EOF
  3482. - # Now generate the symbol file.
  3483. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  3484. -
  3485. - cat <<_LT_EOF >> conftest.$ac_ext
  3486. -
  3487. -/* The mapping between symbol names and symbols. */
  3488. -const struct {
  3489. - const char *name;
  3490. - void *address;
  3491. -}
  3492. -lt__PROGRAM__LTX_preloaded_symbols[[]] =
  3493. -{
  3494. - { "@PROGRAM@", (void *) 0 },
  3495. -_LT_EOF
  3496. - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  3497. - cat <<\_LT_EOF >> conftest.$ac_ext
  3498. - {0, (void *) 0}
  3499. -};
  3500. -
  3501. -/* This works around a problem in FreeBSD linker */
  3502. -#ifdef FREEBSD_WORKAROUND
  3503. -static const void *lt_preloaded_setup() {
  3504. - return lt__PROGRAM__LTX_preloaded_symbols;
  3505. -}
  3506. -#endif
  3507. -
  3508. -#ifdef __cplusplus
  3509. -}
  3510. -#endif
  3511. -_LT_EOF
  3512. - # Now try linking the two files.
  3513. - mv conftest.$ac_objext conftstm.$ac_objext
  3514. - lt_save_LIBS="$LIBS"
  3515. - lt_save_CFLAGS="$CFLAGS"
  3516. - LIBS="conftstm.$ac_objext"
  3517. - CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
  3518. - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
  3519. - pipe_works=yes
  3520. - fi
  3521. - LIBS="$lt_save_LIBS"
  3522. - CFLAGS="$lt_save_CFLAGS"
  3523. - else
  3524. - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
  3525. - fi
  3526. - else
  3527. - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
  3528. - fi
  3529. - else
  3530. - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  3531. - fi
  3532. - else
  3533. - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
  3534. - cat conftest.$ac_ext >&5
  3535. - fi
  3536. - rm -rf conftest* conftst*
  3537. -
  3538. - # Do not use the global_symbol_pipe unless it works.
  3539. - if test "$pipe_works" = yes; then
  3540. - break
  3541. - else
  3542. - lt_cv_sys_global_symbol_pipe=
  3543. - fi
  3544. -done
  3545. -])
  3546. -if test -z "$lt_cv_sys_global_symbol_pipe"; then
  3547. - lt_cv_sys_global_symbol_to_cdecl=
  3548. -fi
  3549. -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  3550. - AC_MSG_RESULT(failed)
  3551. -else
  3552. - AC_MSG_RESULT(ok)
  3553. -fi
  3554. -
  3555. -_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
  3556. - [Take the output of nm and produce a listing of raw symbols and C names])
  3557. -_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
  3558. - [Transform the output of nm in a proper C declaration])
  3559. -_LT_DECL([global_symbol_to_c_name_address],
  3560. - [lt_cv_sys_global_symbol_to_c_name_address], [1],
  3561. - [Transform the output of nm in a C name address pair])
  3562. -_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
  3563. - [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
  3564. - [Transform the output of nm in a C name address pair when lib prefix is needed])
  3565. -]) # _LT_CMD_GLOBAL_SYMBOLS
  3566. -
  3567. -
  3568. -# _LT_COMPILER_PIC([TAGNAME])
  3569. -# ---------------------------
  3570. -m4_defun([_LT_COMPILER_PIC],
  3571. -[m4_require([_LT_TAG_COMPILER])dnl
  3572. -_LT_TAGVAR(lt_prog_compiler_wl, $1)=
  3573. -_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3574. -_LT_TAGVAR(lt_prog_compiler_static, $1)=
  3575. -
  3576. -AC_MSG_CHECKING([for $compiler option to produce PIC])
  3577. -m4_if([$1], [CXX], [
  3578. - # C++ specific cases for pic, static, wl, etc.
  3579. - if test "$GXX" = yes; then
  3580. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3581. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3582. -
  3583. - case $host_os in
  3584. - aix*)
  3585. - # All AIX code is PIC.
  3586. - if test "$host_cpu" = ia64; then
  3587. - # AIX 5 now supports IA64 processor
  3588. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3589. - fi
  3590. - ;;
  3591. -
  3592. - amigaos*)
  3593. - case $host_cpu in
  3594. - powerpc)
  3595. - # see comment about AmigaOS4 .so support
  3596. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3597. - ;;
  3598. - m68k)
  3599. - # FIXME: we need at least 68020 code to build shared libraries, but
  3600. - # adding the `-m68020' flag to GCC prevents building anything better,
  3601. - # like `-m68040'.
  3602. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  3603. - ;;
  3604. - esac
  3605. - ;;
  3606. -
  3607. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  3608. - # PIC is the default for these OSes.
  3609. - ;;
  3610. - mingw* | cygwin* | os2* | pw32* | cegcc*)
  3611. - # This hack is so that the source file can tell whether it is being
  3612. - # built for inclusion in a dll (and should export symbols for example).
  3613. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  3614. - # (--disable-auto-import) libraries
  3615. - m4_if([$1], [GCJ], [],
  3616. - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  3617. - ;;
  3618. - darwin* | rhapsody*)
  3619. - # PIC is the default on this platform
  3620. - # Common symbols not allowed in MH_DYLIB files
  3621. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  3622. - ;;
  3623. - *djgpp*)
  3624. - # DJGPP does not support shared libraries at all
  3625. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3626. - ;;
  3627. - interix[[3-9]]*)
  3628. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  3629. - # Instead, we relocate shared libraries at runtime.
  3630. - ;;
  3631. - sysv4*MP*)
  3632. - if test -d /usr/nec; then
  3633. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  3634. - fi
  3635. - ;;
  3636. - hpux*)
  3637. - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  3638. - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  3639. - # sets the default TLS model and affects inlining.
  3640. - case $host_cpu in
  3641. - hppa*64*)
  3642. - ;;
  3643. - *)
  3644. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3645. - ;;
  3646. - esac
  3647. - ;;
  3648. - *qnx* | *nto*)
  3649. - # QNX uses GNU C++, but need to define -shared option too, otherwise
  3650. - # it will coredump.
  3651. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  3652. - ;;
  3653. - *)
  3654. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3655. - ;;
  3656. - esac
  3657. - else
  3658. - case $host_os in
  3659. - aix[[4-9]]*)
  3660. - # All AIX code is PIC.
  3661. - if test "$host_cpu" = ia64; then
  3662. - # AIX 5 now supports IA64 processor
  3663. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3664. - else
  3665. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  3666. - fi
  3667. - ;;
  3668. - chorus*)
  3669. - case $cc_basename in
  3670. - cxch68*)
  3671. - # Green Hills C++ Compiler
  3672. - # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
  3673. - ;;
  3674. - esac
  3675. - ;;
  3676. - dgux*)
  3677. - case $cc_basename in
  3678. - ec++*)
  3679. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3680. - ;;
  3681. - ghcx*)
  3682. - # Green Hills C++ Compiler
  3683. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3684. - ;;
  3685. - *)
  3686. - ;;
  3687. - esac
  3688. - ;;
  3689. - freebsd* | dragonfly*)
  3690. - # FreeBSD uses GNU C++
  3691. - ;;
  3692. - hpux9* | hpux10* | hpux11*)
  3693. - case $cc_basename in
  3694. - CC*)
  3695. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3696. - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  3697. - if test "$host_cpu" != ia64; then
  3698. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  3699. - fi
  3700. - ;;
  3701. - aCC*)
  3702. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3703. - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  3704. - case $host_cpu in
  3705. - hppa*64*|ia64*)
  3706. - # +Z the default
  3707. - ;;
  3708. - *)
  3709. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  3710. - ;;
  3711. - esac
  3712. - ;;
  3713. - *)
  3714. - ;;
  3715. - esac
  3716. - ;;
  3717. - interix*)
  3718. - # This is c89, which is MS Visual C++ (no shared libs)
  3719. - # Anyone wants to do a port?
  3720. - ;;
  3721. - irix5* | irix6* | nonstopux*)
  3722. - case $cc_basename in
  3723. - CC*)
  3724. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3725. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3726. - # CC pic flag -KPIC is the default.
  3727. - ;;
  3728. - *)
  3729. - ;;
  3730. - esac
  3731. - ;;
  3732. - linux* | k*bsd*-gnu | kopensolaris*-gnu)
  3733. - case $cc_basename in
  3734. - KCC*)
  3735. - # KAI C++ Compiler
  3736. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  3737. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3738. - ;;
  3739. - ecpc* )
  3740. - # old Intel C++ for x86_64 which still supported -KPIC.
  3741. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3742. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3743. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3744. - ;;
  3745. - icpc* )
  3746. - # Intel C++, used to be incompatible with GCC.
  3747. - # ICC 10 doesn't accept -KPIC any more.
  3748. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3749. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3750. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3751. - ;;
  3752. - pgCC* | pgcpp*)
  3753. - # Portland Group C++ compiler
  3754. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3755. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  3756. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3757. - ;;
  3758. - cxx*)
  3759. - # Compaq C++
  3760. - # Make sure the PIC flag is empty. It appears that all Alpha
  3761. - # Linux and Compaq Tru64 Unix objects are PIC.
  3762. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3763. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3764. - ;;
  3765. - xlc* | xlC*)
  3766. - # IBM XL 8.0 on PPC
  3767. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3768. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  3769. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  3770. - ;;
  3771. - *)
  3772. - case `$CC -V 2>&1 | sed 5q` in
  3773. - *Sun\ C*)
  3774. - # Sun C++ 5.9
  3775. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3776. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3777. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  3778. - ;;
  3779. - esac
  3780. - ;;
  3781. - esac
  3782. - ;;
  3783. - lynxos*)
  3784. - ;;
  3785. - m88k*)
  3786. - ;;
  3787. - mvs*)
  3788. - case $cc_basename in
  3789. - cxx*)
  3790. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
  3791. - ;;
  3792. - *)
  3793. - ;;
  3794. - esac
  3795. - ;;
  3796. - netbsd* | netbsdelf*-gnu)
  3797. - ;;
  3798. - *qnx* | *nto*)
  3799. - # QNX uses GNU C++, but need to define -shared option too, otherwise
  3800. - # it will coredump.
  3801. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  3802. - ;;
  3803. - osf3* | osf4* | osf5*)
  3804. - case $cc_basename in
  3805. - KCC*)
  3806. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  3807. - ;;
  3808. - RCC*)
  3809. - # Rational C++ 2.4.1
  3810. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3811. - ;;
  3812. - cxx*)
  3813. - # Digital/Compaq C++
  3814. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3815. - # Make sure the PIC flag is empty. It appears that all Alpha
  3816. - # Linux and Compaq Tru64 Unix objects are PIC.
  3817. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3818. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3819. - ;;
  3820. - *)
  3821. - ;;
  3822. - esac
  3823. - ;;
  3824. - psos*)
  3825. - ;;
  3826. - solaris*)
  3827. - case $cc_basename in
  3828. - CC*)
  3829. - # Sun C++ 4.2, 5.x and Centerline C++
  3830. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3831. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3832. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  3833. - ;;
  3834. - gcx*)
  3835. - # Green Hills C++ Compiler
  3836. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  3837. - ;;
  3838. - *)
  3839. - ;;
  3840. - esac
  3841. - ;;
  3842. - sunos4*)
  3843. - case $cc_basename in
  3844. - CC*)
  3845. - # Sun C++ 4.x
  3846. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3847. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3848. - ;;
  3849. - lcc*)
  3850. - # Lucid
  3851. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3852. - ;;
  3853. - *)
  3854. - ;;
  3855. - esac
  3856. - ;;
  3857. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  3858. - case $cc_basename in
  3859. - CC*)
  3860. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3861. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3862. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3863. - ;;
  3864. - esac
  3865. - ;;
  3866. - tandem*)
  3867. - case $cc_basename in
  3868. - NCC*)
  3869. - # NonStop-UX NCC 3.20
  3870. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3871. - ;;
  3872. - *)
  3873. - ;;
  3874. - esac
  3875. - ;;
  3876. - vxworks*)
  3877. - ;;
  3878. - *)
  3879. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  3880. - ;;
  3881. - esac
  3882. - fi
  3883. -],
  3884. -[
  3885. - if test "$GCC" = yes; then
  3886. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3887. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3888. -
  3889. - case $host_os in
  3890. - aix*)
  3891. - # All AIX code is PIC.
  3892. - if test "$host_cpu" = ia64; then
  3893. - # AIX 5 now supports IA64 processor
  3894. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3895. - fi
  3896. - ;;
  3897. -
  3898. - amigaos*)
  3899. - case $host_cpu in
  3900. - powerpc)
  3901. - # see comment about AmigaOS4 .so support
  3902. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3903. - ;;
  3904. - m68k)
  3905. - # FIXME: we need at least 68020 code to build shared libraries, but
  3906. - # adding the `-m68020' flag to GCC prevents building anything better,
  3907. - # like `-m68040'.
  3908. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  3909. - ;;
  3910. - esac
  3911. - ;;
  3912. -
  3913. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  3914. - # PIC is the default for these OSes.
  3915. - ;;
  3916. -
  3917. - mingw* | cygwin* | pw32* | os2* | cegcc*)
  3918. - # This hack is so that the source file can tell whether it is being
  3919. - # built for inclusion in a dll (and should export symbols for example).
  3920. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  3921. - # (--disable-auto-import) libraries
  3922. - m4_if([$1], [GCJ], [],
  3923. - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  3924. - ;;
  3925. -
  3926. - darwin* | rhapsody*)
  3927. - # PIC is the default on this platform
  3928. - # Common symbols not allowed in MH_DYLIB files
  3929. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  3930. - ;;
  3931. -
  3932. - hpux*)
  3933. - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  3934. - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  3935. - # sets the default TLS model and affects inlining.
  3936. - case $host_cpu in
  3937. - hppa*64*)
  3938. - # +Z the default
  3939. - ;;
  3940. - *)
  3941. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3942. - ;;
  3943. - esac
  3944. - ;;
  3945. -
  3946. - interix[[3-9]]*)
  3947. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  3948. - # Instead, we relocate shared libraries at runtime.
  3949. - ;;
  3950. -
  3951. - msdosdjgpp*)
  3952. - # Just because we use GCC doesn't mean we suddenly get shared libraries
  3953. - # on systems that don't support them.
  3954. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  3955. - enable_shared=no
  3956. - ;;
  3957. -
  3958. - *nto* | *qnx*)
  3959. - # QNX uses GNU C++, but need to define -shared option too, otherwise
  3960. - # it will coredump.
  3961. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  3962. - ;;
  3963. -
  3964. - sysv4*MP*)
  3965. - if test -d /usr/nec; then
  3966. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  3967. - fi
  3968. - ;;
  3969. -
  3970. - *)
  3971. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3972. - ;;
  3973. - esac
  3974. - else
  3975. - # PORTME Check for flag to pass linker flags through the system compiler.
  3976. - case $host_os in
  3977. - aix*)
  3978. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3979. - if test "$host_cpu" = ia64; then
  3980. - # AIX 5 now supports IA64 processor
  3981. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3982. - else
  3983. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  3984. - fi
  3985. - ;;
  3986. -
  3987. - mingw* | cygwin* | pw32* | os2* | cegcc*)
  3988. - # This hack is so that the source file can tell whether it is being
  3989. - # built for inclusion in a dll (and should export symbols for example).
  3990. - m4_if([$1], [GCJ], [],
  3991. - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  3992. - ;;
  3993. -
  3994. - hpux9* | hpux10* | hpux11*)
  3995. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3996. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  3997. - # not for PA HP-UX.
  3998. - case $host_cpu in
  3999. - hppa*64*|ia64*)
  4000. - # +Z the default
  4001. - ;;
  4002. - *)
  4003. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  4004. - ;;
  4005. - esac
  4006. - # Is there a better lt_prog_compiler_static that works with the bundled CC?
  4007. - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  4008. - ;;
  4009. -
  4010. - irix5* | irix6* | nonstopux*)
  4011. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4012. - # PIC (with -KPIC) is the default.
  4013. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4014. - ;;
  4015. -
  4016. - linux* | k*bsd*-gnu | kopensolaris*-gnu)
  4017. - case $cc_basename in
  4018. - # old Intel for x86_64 which still supported -KPIC.
  4019. - ecc*)
  4020. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4021. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4022. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  4023. - ;;
  4024. - # icc used to be incompatible with GCC.
  4025. - # ICC 10 doesn't accept -KPIC any more.
  4026. - icc* | ifort*)
  4027. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4028. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  4029. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  4030. - ;;
  4031. - # Lahey Fortran 8.1.
  4032. - lf95*)
  4033. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4034. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
  4035. - _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
  4036. - ;;
  4037. - pgcc* | pgf77* | pgf90* | pgf95*)
  4038. - # Portland Group compilers (*not* the Pentium gcc compiler,
  4039. - # which looks to be a dead project)
  4040. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4041. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  4042. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4043. - ;;
  4044. - ccc*)
  4045. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4046. - # All Alpha code is PIC.
  4047. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4048. - ;;
  4049. - xl*)
  4050. - # IBM XL C 8.0/Fortran 10.1 on PPC
  4051. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4052. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  4053. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  4054. - ;;
  4055. - *)
  4056. - case `$CC -V 2>&1 | sed 5q` in
  4057. - *Sun\ C*)
  4058. - # Sun C 5.9
  4059. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4060. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4061. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4062. - ;;
  4063. - *Sun\ F*)
  4064. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  4065. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4066. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4067. - _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
  4068. - ;;
  4069. - esac
  4070. - ;;
  4071. - esac
  4072. - ;;
  4073. -
  4074. - newsos6)
  4075. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4076. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4077. - ;;
  4078. -
  4079. - *nto* | *qnx*)
  4080. - # QNX uses GNU C++, but need to define -shared option too, otherwise
  4081. - # it will coredump.
  4082. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  4083. - ;;
  4084. -
  4085. - osf3* | osf4* | osf5*)
  4086. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4087. - # All OSF/1 code is PIC.
  4088. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4089. - ;;
  4090. -
  4091. - rdos*)
  4092. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4093. - ;;
  4094. -
  4095. - solaris*)
  4096. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4097. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4098. - case $cc_basename in
  4099. - f77* | f90* | f95*)
  4100. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
  4101. - *)
  4102. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
  4103. - esac
  4104. - ;;
  4105. -
  4106. - sunos4*)
  4107. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  4108. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  4109. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4110. - ;;
  4111. -
  4112. - sysv4 | sysv4.2uw2* | sysv4.3*)
  4113. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4114. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4115. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4116. - ;;
  4117. -
  4118. - sysv4*MP*)
  4119. - if test -d /usr/nec ;then
  4120. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
  4121. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4122. - fi
  4123. - ;;
  4124. -
  4125. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  4126. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4127. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4128. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4129. - ;;
  4130. -
  4131. - unicos*)
  4132. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4133. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  4134. - ;;
  4135. -
  4136. - uts4*)
  4137. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  4138. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4139. - ;;
  4140. -
  4141. - *)
  4142. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  4143. - ;;
  4144. - esac
  4145. - fi
  4146. -])
  4147. -case $host_os in
  4148. - # For platforms which do not support PIC, -DPIC is meaningless:
  4149. - *djgpp*)
  4150. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  4151. - ;;
  4152. - *)
  4153. - _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
  4154. - ;;
  4155. -esac
  4156. -AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
  4157. -_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
  4158. - [How to pass a linker flag through the compiler])
  4159. -
  4160. -#
  4161. -# Check to make sure the PIC flag actually works.
  4162. -#
  4163. -if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
  4164. - _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
  4165. - [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
  4166. - [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
  4167. - [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
  4168. - "" | " "*) ;;
  4169. - *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
  4170. - esac],
  4171. - [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  4172. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
  4173. -fi
  4174. -_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
  4175. - [Additional compiler flags for building library objects])
  4176. -
  4177. -#
  4178. -# Check to make sure the static flag actually works.
  4179. -#
  4180. -wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
  4181. -_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
  4182. - _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
  4183. - $lt_tmp_static_flag,
  4184. - [],
  4185. - [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
  4186. -_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
  4187. - [Compiler flag to prevent dynamic linking])
  4188. -])# _LT_COMPILER_PIC
  4189. -
  4190. -
  4191. -# _LT_LINKER_SHLIBS([TAGNAME])
  4192. -# ----------------------------
  4193. -# See if the linker supports building shared libraries.
  4194. -m4_defun([_LT_LINKER_SHLIBS],
  4195. -[AC_REQUIRE([LT_PATH_LD])dnl
  4196. -AC_REQUIRE([LT_PATH_NM])dnl
  4197. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  4198. -m4_require([_LT_DECL_EGREP])dnl
  4199. -m4_require([_LT_DECL_SED])dnl
  4200. -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  4201. -m4_require([_LT_TAG_COMPILER])dnl
  4202. -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  4203. -m4_if([$1], [CXX], [
  4204. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  4205. - case $host_os in
  4206. - aix[[4-9]]*)
  4207. - # If we're using GNU nm, then we don't want the "-C" option.
  4208. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  4209. - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  4210. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  4211. - else
  4212. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  4213. - fi
  4214. - ;;
  4215. - pw32*)
  4216. - _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  4217. - ;;
  4218. - cygwin* | mingw* | cegcc*)
  4219. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
  4220. - ;;
  4221. - linux* | k*bsd*-gnu)
  4222. - _LT_TAGVAR(link_all_deplibs, $1)=no
  4223. - ;;
  4224. - *)
  4225. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  4226. - ;;
  4227. - esac
  4228. - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  4229. -], [
  4230. - runpath_var=
  4231. - _LT_TAGVAR(allow_undefined_flag, $1)=
  4232. - _LT_TAGVAR(always_export_symbols, $1)=no
  4233. - _LT_TAGVAR(archive_cmds, $1)=
  4234. - _LT_TAGVAR(archive_expsym_cmds, $1)=
  4235. - _LT_TAGVAR(compiler_needs_object, $1)=no
  4236. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  4237. - _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  4238. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  4239. - _LT_TAGVAR(hardcode_automatic, $1)=no
  4240. - _LT_TAGVAR(hardcode_direct, $1)=no
  4241. - _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  4242. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  4243. - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  4244. - _LT_TAGVAR(hardcode_libdir_separator, $1)=
  4245. - _LT_TAGVAR(hardcode_minus_L, $1)=no
  4246. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  4247. - _LT_TAGVAR(inherit_rpath, $1)=no
  4248. - _LT_TAGVAR(link_all_deplibs, $1)=unknown
  4249. - _LT_TAGVAR(module_cmds, $1)=
  4250. - _LT_TAGVAR(module_expsym_cmds, $1)=
  4251. - _LT_TAGVAR(old_archive_from_new_cmds, $1)=
  4252. - _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
  4253. - _LT_TAGVAR(thread_safe_flag_spec, $1)=
  4254. - _LT_TAGVAR(whole_archive_flag_spec, $1)=
  4255. - # include_expsyms should be a list of space-separated symbols to be *always*
  4256. - # included in the symbol list
  4257. - _LT_TAGVAR(include_expsyms, $1)=
  4258. - # exclude_expsyms can be an extended regexp of symbols to exclude
  4259. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  4260. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  4261. - # as well as any symbol that contains `d'.
  4262. - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  4263. - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  4264. - # platforms (ab)use it in PIC code, but their linkers get confused if
  4265. - # the symbol is explicitly referenced. Since portable code cannot
  4266. - # rely on this symbol name, it's probably fine to never include it in
  4267. - # preloaded symbol tables.
  4268. - # Exclude shared library initialization/finalization symbols.
  4269. -dnl Note also adjust exclude_expsyms for C++ above.
  4270. - extract_expsyms_cmds=
  4271. -
  4272. - case $host_os in
  4273. - cygwin* | mingw* | pw32* | cegcc*)
  4274. - # FIXME: the MSVC++ port hasn't been tested in a loooong time
  4275. - # When not using gcc, we currently assume that we are using
  4276. - # Microsoft Visual C++.
  4277. - if test "$GCC" != yes; then
  4278. - with_gnu_ld=no
  4279. - fi
  4280. - ;;
  4281. - interix*)
  4282. - # we just hope/assume this is gcc and not c89 (= MSVC++)
  4283. - with_gnu_ld=yes
  4284. - ;;
  4285. - openbsd*)
  4286. - with_gnu_ld=no
  4287. - ;;
  4288. - linux* | k*bsd*-gnu)
  4289. - _LT_TAGVAR(link_all_deplibs, $1)=no
  4290. - ;;
  4291. - esac
  4292. -
  4293. - _LT_TAGVAR(ld_shlibs, $1)=yes
  4294. - if test "$with_gnu_ld" = yes; then
  4295. - # If archive_cmds runs LD, not CC, wlarc should be empty
  4296. - wlarc='${wl}'
  4297. -
  4298. - # Set some defaults for GNU ld with shared library support. These
  4299. - # are reset later if shared libraries are not supported. Putting them
  4300. - # here allows them to be overridden if necessary.
  4301. - runpath_var=LD_RUN_PATH
  4302. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4303. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  4304. - # ancient GNU ld didn't support --whole-archive et. al.
  4305. - if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  4306. - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  4307. - else
  4308. - _LT_TAGVAR(whole_archive_flag_spec, $1)=
  4309. - fi
  4310. - supports_anon_versioning=no
  4311. - case `$LD -v 2>&1` in
  4312. - *GNU\ gold*) supports_anon_versioning=yes ;;
  4313. - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
  4314. - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  4315. - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  4316. - *\ 2.11.*) ;; # other 2.11 versions
  4317. - *) supports_anon_versioning=yes ;;
  4318. - esac
  4319. -
  4320. - # See if GNU ld supports shared libraries.
  4321. - case $host_os in
  4322. - aix[[3-9]]*)
  4323. - # On AIX/PPC, the GNU linker is very broken
  4324. - if test "$host_cpu" != ia64; then
  4325. - _LT_TAGVAR(ld_shlibs, $1)=no
  4326. - cat <<_LT_EOF 1>&2
  4327. -
  4328. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  4329. -*** to be unable to reliably create shared libraries on AIX.
  4330. -*** Therefore, libtool is disabling shared libraries support. If you
  4331. -*** really care for shared libraries, you may want to modify your PATH
  4332. -*** so that a non-GNU linker is found, and then restart.
  4333. -
  4334. -_LT_EOF
  4335. - fi
  4336. - ;;
  4337. -
  4338. - amigaos*)
  4339. - case $host_cpu in
  4340. - powerpc)
  4341. - # see comment about AmigaOS4 .so support
  4342. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4343. - _LT_TAGVAR(archive_expsym_cmds, $1)=''
  4344. - ;;
  4345. - m68k)
  4346. - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  4347. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4348. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4349. - ;;
  4350. - esac
  4351. - ;;
  4352. -
  4353. - beos*)
  4354. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  4355. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4356. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  4357. - # support --undefined. This deserves some investigation. FIXME
  4358. - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4359. - else
  4360. - _LT_TAGVAR(ld_shlibs, $1)=no
  4361. - fi
  4362. - ;;
  4363. -
  4364. - cygwin* | mingw* | pw32* | cegcc*)
  4365. - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  4366. - # as there is no search path for DLLs.
  4367. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4368. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4369. - _LT_TAGVAR(always_export_symbols, $1)=no
  4370. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  4371. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
  4372. -
  4373. - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  4374. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  4375. - # If the export-symbols file already is a .def file (1st line
  4376. - # is EXPORTS), use it as is; otherwise, prepend...
  4377. - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  4378. - cp $export_symbols $output_objdir/$soname.def;
  4379. - else
  4380. - echo EXPORTS > $output_objdir/$soname.def;
  4381. - cat $export_symbols >> $output_objdir/$soname.def;
  4382. - fi~
  4383. - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  4384. - else
  4385. - _LT_TAGVAR(ld_shlibs, $1)=no
  4386. - fi
  4387. - ;;
  4388. -
  4389. - interix[[3-9]]*)
  4390. - _LT_TAGVAR(hardcode_direct, $1)=no
  4391. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4392. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4393. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4394. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  4395. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  4396. - # default) and relocated if they conflict, which is a slow very memory
  4397. - # consuming and fragmenting process. To avoid this, we pick a random,
  4398. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  4399. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  4400. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  4401. - _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  4402. - ;;
  4403. -
  4404. - gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  4405. - tmp_diet=no
  4406. - if test "$host_os" = linux-dietlibc; then
  4407. - case $cc_basename in
  4408. - diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  4409. - esac
  4410. - fi
  4411. - if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  4412. - && test "$tmp_diet" = no
  4413. - then
  4414. - tmp_addflag=
  4415. - tmp_sharedflag='-shared'
  4416. - case $cc_basename,$host_cpu in
  4417. - pgcc*) # Portland Group C compiler
  4418. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  4419. - tmp_addflag=' $pic_flag'
  4420. - ;;
  4421. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  4422. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  4423. - tmp_addflag=' $pic_flag -Mnomain' ;;
  4424. - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  4425. - tmp_addflag=' -i_dynamic' ;;
  4426. - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  4427. - tmp_addflag=' -i_dynamic -nofor_main' ;;
  4428. - ifc* | ifort*) # Intel Fortran compiler
  4429. - tmp_addflag=' -nofor_main' ;;
  4430. - lf95*) # Lahey Fortran 8.1
  4431. - _LT_TAGVAR(whole_archive_flag_spec, $1)=
  4432. - tmp_sharedflag='--shared' ;;
  4433. - xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  4434. - tmp_sharedflag='-qmkshrobj'
  4435. - tmp_addflag= ;;
  4436. - esac
  4437. - case `$CC -V 2>&1 | sed 5q` in
  4438. - *Sun\ C*) # Sun C 5.9
  4439. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  4440. - _LT_TAGVAR(compiler_needs_object, $1)=yes
  4441. - tmp_sharedflag='-G' ;;
  4442. - *Sun\ F*) # Sun Fortran 8.3
  4443. - tmp_sharedflag='-G' ;;
  4444. - esac
  4445. - _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4446. -
  4447. - if test "x$supports_anon_versioning" = xyes; then
  4448. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  4449. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  4450. - echo "local: *; };" >> $output_objdir/$libname.ver~
  4451. - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  4452. - fi
  4453. -
  4454. - case $cc_basename in
  4455. - xlf*)
  4456. - # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  4457. - _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
  4458. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  4459. - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  4460. - _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  4461. - if test "x$supports_anon_versioning" = xyes; then
  4462. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  4463. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  4464. - echo "local: *; };" >> $output_objdir/$libname.ver~
  4465. - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  4466. - fi
  4467. - ;;
  4468. - esac
  4469. - else
  4470. - _LT_TAGVAR(ld_shlibs, $1)=no
  4471. - fi
  4472. - ;;
  4473. -
  4474. - netbsd* | netbsdelf*-gnu)
  4475. - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  4476. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  4477. - wlarc=
  4478. - else
  4479. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4480. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  4481. - fi
  4482. - ;;
  4483. -
  4484. - solaris*)
  4485. - if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  4486. - _LT_TAGVAR(ld_shlibs, $1)=no
  4487. - cat <<_LT_EOF 1>&2
  4488. -
  4489. -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  4490. -*** create shared libraries on Solaris systems. Therefore, libtool
  4491. -*** is disabling shared libraries support. We urge you to upgrade GNU
  4492. -*** binutils to release 2.9.1 or newer. Another option is to modify
  4493. -*** your PATH or compiler configuration so that the native linker is
  4494. -*** used, and then restart.
  4495. -
  4496. -_LT_EOF
  4497. - elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  4498. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4499. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  4500. - else
  4501. - _LT_TAGVAR(ld_shlibs, $1)=no
  4502. - fi
  4503. - ;;
  4504. -
  4505. - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  4506. - case `$LD -v 2>&1` in
  4507. - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
  4508. - _LT_TAGVAR(ld_shlibs, $1)=no
  4509. - cat <<_LT_EOF 1>&2
  4510. -
  4511. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  4512. -*** reliably create shared libraries on SCO systems. Therefore, libtool
  4513. -*** is disabling shared libraries support. We urge you to upgrade GNU
  4514. -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  4515. -*** your PATH or compiler configuration so that the native linker is
  4516. -*** used, and then restart.
  4517. -
  4518. -_LT_EOF
  4519. - ;;
  4520. - *)
  4521. - # For security reasons, it is highly recommended that you always
  4522. - # use absolute paths for naming shared libraries, and exclude the
  4523. - # DT_RUNPATH tag from executables and libraries. But doing so
  4524. - # requires that you compile everything twice, which is a pain.
  4525. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  4526. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4527. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4528. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  4529. - else
  4530. - _LT_TAGVAR(ld_shlibs, $1)=no
  4531. - fi
  4532. - ;;
  4533. - esac
  4534. - ;;
  4535. -
  4536. - sunos4*)
  4537. - _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  4538. - wlarc=
  4539. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4540. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4541. - ;;
  4542. -
  4543. - *)
  4544. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  4545. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4546. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  4547. - else
  4548. - _LT_TAGVAR(ld_shlibs, $1)=no
  4549. - fi
  4550. - ;;
  4551. - esac
  4552. -
  4553. - if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
  4554. - runpath_var=
  4555. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  4556. - _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  4557. - _LT_TAGVAR(whole_archive_flag_spec, $1)=
  4558. - fi
  4559. - else
  4560. - # PORTME fill in a description of your system's linker (not GNU ld)
  4561. - case $host_os in
  4562. - aix3*)
  4563. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4564. - _LT_TAGVAR(always_export_symbols, $1)=yes
  4565. - _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  4566. - # Note: this linker hardcodes the directories in LIBPATH if there
  4567. - # are no directories specified by -L.
  4568. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4569. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  4570. - # Neither direct hardcoding nor static linking is supported with a
  4571. - # broken collect2.
  4572. - _LT_TAGVAR(hardcode_direct, $1)=unsupported
  4573. - fi
  4574. - ;;
  4575. -
  4576. - aix[[4-9]]*)
  4577. - if test "$host_cpu" = ia64; then
  4578. - # On IA64, the linker does run time linking by default, so we don't
  4579. - # have to do anything special.
  4580. - aix_use_runtimelinking=no
  4581. - exp_sym_flag='-Bexport'
  4582. - no_entry_flag=""
  4583. - else
  4584. - # If we're using GNU nm, then we don't want the "-C" option.
  4585. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  4586. - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  4587. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  4588. - else
  4589. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  4590. - fi
  4591. - aix_use_runtimelinking=no
  4592. -
  4593. - # Test if we are trying to use run time linking or normal
  4594. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  4595. - # need to do runtime linking.
  4596. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  4597. - for ld_flag in $LDFLAGS; do
  4598. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  4599. - aix_use_runtimelinking=yes
  4600. - break
  4601. - fi
  4602. - done
  4603. - ;;
  4604. - esac
  4605. -
  4606. - exp_sym_flag='-bexport'
  4607. - no_entry_flag='-bnoentry'
  4608. - fi
  4609. -
  4610. - # When large executables or shared objects are built, AIX ld can
  4611. - # have problems creating the table of contents. If linking a library
  4612. - # or program results in "error TOC overflow" add -mminimal-toc to
  4613. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  4614. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  4615. -
  4616. - _LT_TAGVAR(archive_cmds, $1)=''
  4617. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4618. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  4619. - _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  4620. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  4621. - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  4622. -
  4623. - if test "$GCC" = yes; then
  4624. - case $host_os in aix4.[[012]]|aix4.[[012]].*)
  4625. - # We only want to do this on AIX 4.2 and lower, the check
  4626. - # below for broken collect2 doesn't work under 4.3+
  4627. - collect2name=`${CC} -print-prog-name=collect2`
  4628. - if test -f "$collect2name" &&
  4629. - strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  4630. - then
  4631. - # We have reworked collect2
  4632. - :
  4633. - else
  4634. - # We have old collect2
  4635. - _LT_TAGVAR(hardcode_direct, $1)=unsupported
  4636. - # It fails to find uninstalled libraries when the uninstalled
  4637. - # path is not listed in the libpath. Setting hardcode_minus_L
  4638. - # to unsupported forces relinking
  4639. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4640. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4641. - _LT_TAGVAR(hardcode_libdir_separator, $1)=
  4642. - fi
  4643. - ;;
  4644. - esac
  4645. - shared_flag='-shared'
  4646. - if test "$aix_use_runtimelinking" = yes; then
  4647. - shared_flag="$shared_flag "'${wl}-G'
  4648. - fi
  4649. - _LT_TAGVAR(link_all_deplibs, $1)=no
  4650. - else
  4651. - # not using gcc
  4652. - if test "$host_cpu" = ia64; then
  4653. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  4654. - # chokes on -Wl,-G. The following line is correct:
  4655. - shared_flag='-G'
  4656. - else
  4657. - if test "$aix_use_runtimelinking" = yes; then
  4658. - shared_flag='${wl}-G'
  4659. - else
  4660. - shared_flag='${wl}-bM:SRE'
  4661. - fi
  4662. - fi
  4663. - fi
  4664. -
  4665. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  4666. - # It seems that -bexpall does not export symbols beginning with
  4667. - # underscore (_), so it is better to generate a list of symbols to export.
  4668. - _LT_TAGVAR(always_export_symbols, $1)=yes
  4669. - if test "$aix_use_runtimelinking" = yes; then
  4670. - # Warning - without using the other runtime loading flags (-brtl),
  4671. - # -berok will link without error, but may produce a broken library.
  4672. - _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  4673. - # Determine the default libpath from the value encoded in an
  4674. - # empty executable.
  4675. - _LT_SYS_MODULE_PATH_AIX
  4676. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  4677. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  4678. - else
  4679. - if test "$host_cpu" = ia64; then
  4680. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  4681. - _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  4682. - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  4683. - else
  4684. - # Determine the default libpath from the value encoded in an
  4685. - # empty executable.
  4686. - _LT_SYS_MODULE_PATH_AIX
  4687. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  4688. - # Warning - without using the other run time loading flags,
  4689. - # -berok will link without error, but may produce a broken library.
  4690. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  4691. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  4692. - # Exported symbols can be pulled into shared objects from archives
  4693. - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  4694. - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  4695. - # This is similar to how AIX traditionally builds its shared libraries.
  4696. - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  4697. - fi
  4698. - fi
  4699. - ;;
  4700. -
  4701. - amigaos*)
  4702. - case $host_cpu in
  4703. - powerpc)
  4704. - # see comment about AmigaOS4 .so support
  4705. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4706. - _LT_TAGVAR(archive_expsym_cmds, $1)=''
  4707. - ;;
  4708. - m68k)
  4709. - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  4710. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4711. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4712. - ;;
  4713. - esac
  4714. - ;;
  4715. -
  4716. - bsdi[[45]]*)
  4717. - _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
  4718. - ;;
  4719. -
  4720. - cygwin* | mingw* | pw32* | cegcc*)
  4721. - # When not using gcc, we currently assume that we are using
  4722. - # Microsoft Visual C++.
  4723. - # hardcode_libdir_flag_spec is actually meaningless, as there is
  4724. - # no search path for DLLs.
  4725. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  4726. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4727. - # Tell ltmain to make .lib files, not .a files.
  4728. - libext=lib
  4729. - # Tell ltmain to make .dll files, not .so files.
  4730. - shrext_cmds=".dll"
  4731. - # FIXME: Setting linknames here is a bad hack.
  4732. - _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  4733. - # The linker will automatically build a .lib file if we build a DLL.
  4734. - _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  4735. - # FIXME: Should let the user specify the lib program.
  4736. - _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  4737. - _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  4738. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  4739. - ;;
  4740. -
  4741. - darwin* | rhapsody*)
  4742. - _LT_DARWIN_LINKER_FEATURES($1)
  4743. - ;;
  4744. -
  4745. - dgux*)
  4746. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  4747. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4748. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4749. - ;;
  4750. -
  4751. - freebsd1*)
  4752. - _LT_TAGVAR(ld_shlibs, $1)=no
  4753. - ;;
  4754. -
  4755. - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  4756. - # support. Future versions do this automatically, but an explicit c++rt0.o
  4757. - # does not break anything, and helps significantly (at the cost of a little
  4758. - # extra space).
  4759. - freebsd2.2*)
  4760. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  4761. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4762. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4763. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4764. - ;;
  4765. -
  4766. - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  4767. - freebsd2*)
  4768. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  4769. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4770. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4771. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4772. - ;;
  4773. -
  4774. - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  4775. - freebsd* | dragonfly*)
  4776. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  4777. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4778. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4779. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4780. - ;;
  4781. -
  4782. - hpux9*)
  4783. - if test "$GCC" = yes; then
  4784. - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  4785. - else
  4786. - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  4787. - fi
  4788. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  4789. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4790. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4791. -
  4792. - # hardcode_minus_L: Not really in the search PATH,
  4793. - # but as the default location of the library.
  4794. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4795. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4796. - ;;
  4797. -
  4798. - hpux10*)
  4799. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  4800. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  4801. - else
  4802. - _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  4803. - fi
  4804. - if test "$with_gnu_ld" = no; then
  4805. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  4806. - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  4807. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4808. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4809. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  4810. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4811. - # hardcode_minus_L: Not really in the search PATH,
  4812. - # but as the default location of the library.
  4813. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4814. - fi
  4815. - ;;
  4816. -
  4817. - hpux11*)
  4818. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  4819. - case $host_cpu in
  4820. - hppa*64*)
  4821. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4822. - ;;
  4823. - ia64*)
  4824. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  4825. - ;;
  4826. - *)
  4827. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  4828. - ;;
  4829. - esac
  4830. - else
  4831. - case $host_cpu in
  4832. - hppa*64*)
  4833. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4834. - ;;
  4835. - ia64*)
  4836. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  4837. - ;;
  4838. - *)
  4839. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  4840. - ;;
  4841. - esac
  4842. - fi
  4843. - if test "$with_gnu_ld" = no; then
  4844. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  4845. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4846. -
  4847. - case $host_cpu in
  4848. - hppa*64*|ia64*)
  4849. - _LT_TAGVAR(hardcode_direct, $1)=no
  4850. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4851. - ;;
  4852. - *)
  4853. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4854. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  4855. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4856. -
  4857. - # hardcode_minus_L: Not really in the search PATH,
  4858. - # but as the default location of the library.
  4859. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4860. - ;;
  4861. - esac
  4862. - fi
  4863. - ;;
  4864. -
  4865. - irix5* | irix6* | nonstopux*)
  4866. - if test "$GCC" = yes; then
  4867. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  4868. - # Try to use the -exported_symbol ld option, if it does not
  4869. - # work, assume that -exports_file does not work either and
  4870. - # implicitly export all symbols.
  4871. - save_LDFLAGS="$LDFLAGS"
  4872. - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  4873. - AC_LINK_IFELSE(int foo(void) {},
  4874. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  4875. - )
  4876. - LDFLAGS="$save_LDFLAGS"
  4877. - else
  4878. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  4879. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  4880. - fi
  4881. - _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  4882. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4883. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4884. - _LT_TAGVAR(inherit_rpath, $1)=yes
  4885. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  4886. - ;;
  4887. -
  4888. - netbsd* | netbsdelf*-gnu)
  4889. - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  4890. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  4891. - else
  4892. - _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  4893. - fi
  4894. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4895. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4896. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4897. - ;;
  4898. -
  4899. - newsos6)
  4900. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  4901. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4902. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4903. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4904. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4905. - ;;
  4906. -
  4907. - *nto* | *qnx*)
  4908. - ;;
  4909. -
  4910. - openbsd*)
  4911. - if test -f /usr/libexec/ld.so; then
  4912. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4913. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4914. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  4915. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  4916. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  4917. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  4918. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4919. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4920. - else
  4921. - case $host_os in
  4922. - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  4923. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  4924. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4925. - ;;
  4926. - *)
  4927. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  4928. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4929. - ;;
  4930. - esac
  4931. - fi
  4932. - else
  4933. - _LT_TAGVAR(ld_shlibs, $1)=no
  4934. - fi
  4935. - ;;
  4936. -
  4937. - os2*)
  4938. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4939. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4940. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4941. - _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  4942. - _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  4943. - ;;
  4944. -
  4945. - osf3*)
  4946. - if test "$GCC" = yes; then
  4947. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  4948. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  4949. - else
  4950. - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  4951. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  4952. - fi
  4953. - _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  4954. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4955. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4956. - ;;
  4957. -
  4958. - osf4* | osf5*) # as osf3* with the addition of -msym flag
  4959. - if test "$GCC" = yes; then
  4960. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  4961. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  4962. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4963. - else
  4964. - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  4965. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  4966. - _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  4967. - $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  4968. -
  4969. - # Both c and cxx compiler support -rpath directly
  4970. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  4971. - fi
  4972. - _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  4973. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4974. - ;;
  4975. -
  4976. - solaris*)
  4977. - _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
  4978. - if test "$GCC" = yes; then
  4979. - wlarc='${wl}'
  4980. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4981. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  4982. - $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  4983. - else
  4984. - case `$CC -V 2>&1` in
  4985. - *"Compilers 5.0"*)
  4986. - wlarc=''
  4987. - _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  4988. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  4989. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  4990. - ;;
  4991. - *)
  4992. - wlarc='${wl}'
  4993. - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  4994. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  4995. - $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  4996. - ;;
  4997. - esac
  4998. - fi
  4999. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  5000. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5001. - case $host_os in
  5002. - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  5003. - *)
  5004. - # The compiler driver will combine and reorder linker options,
  5005. - # but understands `-z linker_flag'. GCC discards it without `$wl',
  5006. - # but is careful enough not to reorder.
  5007. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  5008. - if test "$GCC" = yes; then
  5009. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  5010. - else
  5011. - _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  5012. - fi
  5013. - ;;
  5014. - esac
  5015. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  5016. - ;;
  5017. -
  5018. - sunos4*)
  5019. - if test "x$host_vendor" = xsequent; then
  5020. - # Use $CC to link under sequent, because it throws in some extra .o
  5021. - # files that make .init and .fini sections work.
  5022. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  5023. - else
  5024. - _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  5025. - fi
  5026. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5027. - _LT_TAGVAR(hardcode_direct, $1)=yes
  5028. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  5029. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5030. - ;;
  5031. -
  5032. - sysv4)
  5033. - case $host_vendor in
  5034. - sni)
  5035. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5036. - _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
  5037. - ;;
  5038. - siemens)
  5039. - ## LD is ld it makes a PLAMLIB
  5040. - ## CC just makes a GrossModule.
  5041. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  5042. - _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
  5043. - _LT_TAGVAR(hardcode_direct, $1)=no
  5044. - ;;
  5045. - motorola)
  5046. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5047. - _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
  5048. - ;;
  5049. - esac
  5050. - runpath_var='LD_RUN_PATH'
  5051. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5052. - ;;
  5053. -
  5054. - sysv4.3*)
  5055. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5056. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5057. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
  5058. - ;;
  5059. -
  5060. - sysv4*MP*)
  5061. - if test -d /usr/nec; then
  5062. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5063. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5064. - runpath_var=LD_RUN_PATH
  5065. - hardcode_runpath_var=yes
  5066. - _LT_TAGVAR(ld_shlibs, $1)=yes
  5067. - fi
  5068. - ;;
  5069. -
  5070. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  5071. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  5072. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5073. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5074. - runpath_var='LD_RUN_PATH'
  5075. -
  5076. - if test "$GCC" = yes; then
  5077. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5078. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5079. - else
  5080. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5081. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5082. - fi
  5083. - ;;
  5084. -
  5085. - sysv5* | sco3.2v5* | sco5v6*)
  5086. - # Note: We can NOT use -z defs as we might desire, because we do not
  5087. - # link with -lc, and that would cause any symbols used from libc to
  5088. - # always be unresolved, which means just about no library would
  5089. - # ever link correctly. If we're not using GNU ld we use -z text
  5090. - # though, which does catch some bad symbols but isn't as heavy-handed
  5091. - # as -z defs.
  5092. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  5093. - _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  5094. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5095. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5096. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  5097. - _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  5098. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  5099. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  5100. - runpath_var='LD_RUN_PATH'
  5101. -
  5102. - if test "$GCC" = yes; then
  5103. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5104. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5105. - else
  5106. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5107. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5108. - fi
  5109. - ;;
  5110. -
  5111. - uts4*)
  5112. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5113. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5114. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5115. - ;;
  5116. -
  5117. - *)
  5118. - _LT_TAGVAR(ld_shlibs, $1)=no
  5119. - ;;
  5120. - esac
  5121. -
  5122. - if test x$host_vendor = xsni; then
  5123. - case $host in
  5124. - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  5125. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
  5126. - ;;
  5127. - esac
  5128. - fi
  5129. - fi
  5130. -])
  5131. -AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  5132. -test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  5133. -
  5134. -_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
  5135. -
  5136. -_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
  5137. -_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
  5138. -_LT_DECL([], [extract_expsyms_cmds], [2],
  5139. - [The commands to extract the exported symbol list from a shared archive])
  5140. -
  5141. -#
  5142. -# Do we need to explicitly link libc?
  5143. -#
  5144. -case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
  5145. -x|xyes)
  5146. - # Assume -lc should be added
  5147. - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  5148. -
  5149. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  5150. - case $_LT_TAGVAR(archive_cmds, $1) in
  5151. - *'~'*)
  5152. - # FIXME: we may have to deal with multi-command sequences.
  5153. - ;;
  5154. - '$CC '*)
  5155. - # Test whether the compiler implicitly links with -lc since on some
  5156. - # systems, -lgcc has to come before -lc. If gcc already passes -lc
  5157. - # to ld, don't add -lc before -lgcc.
  5158. - AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  5159. - $RM conftest*
  5160. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  5161. -
  5162. - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  5163. - soname=conftest
  5164. - lib=conftest
  5165. - libobjs=conftest.$ac_objext
  5166. - deplibs=
  5167. - wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
  5168. - pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
  5169. - compiler_flags=-v
  5170. - linker_flags=-v
  5171. - verstring=
  5172. - output_objdir=.
  5173. - libname=conftest
  5174. - lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
  5175. - _LT_TAGVAR(allow_undefined_flag, $1)=
  5176. - if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
  5177. - then
  5178. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5179. - else
  5180. - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  5181. - fi
  5182. - _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  5183. - else
  5184. - cat conftest.err 1>&5
  5185. - fi
  5186. - $RM conftest*
  5187. - AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
  5188. - ;;
  5189. - esac
  5190. - fi
  5191. - ;;
  5192. -esac
  5193. -
  5194. -_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
  5195. - [Whether or not to add -lc for building shared libraries])
  5196. -_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
  5197. - [enable_shared_with_static_runtimes], [0],
  5198. - [Whether or not to disallow shared libs when runtime libs are static])
  5199. -_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
  5200. - [Compiler flag to allow reflexive dlopens])
  5201. -_LT_TAGDECL([], [whole_archive_flag_spec], [1],
  5202. - [Compiler flag to generate shared objects directly from archives])
  5203. -_LT_TAGDECL([], [compiler_needs_object], [1],
  5204. - [Whether the compiler copes with passing no objects directly])
  5205. -_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
  5206. - [Create an old-style archive from a shared archive])
  5207. -_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
  5208. - [Create a temporary old-style archive to link instead of a shared archive])
  5209. -_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
  5210. -_LT_TAGDECL([], [archive_expsym_cmds], [2])
  5211. -_LT_TAGDECL([], [module_cmds], [2],
  5212. - [Commands used to build a loadable module if different from building
  5213. - a shared archive.])
  5214. -_LT_TAGDECL([], [module_expsym_cmds], [2])
  5215. -_LT_TAGDECL([], [with_gnu_ld], [1],
  5216. - [Whether we are building with GNU ld or not])
  5217. -_LT_TAGDECL([], [allow_undefined_flag], [1],
  5218. - [Flag that allows shared libraries with undefined symbols to be built])
  5219. -_LT_TAGDECL([], [no_undefined_flag], [1],
  5220. - [Flag that enforces no undefined symbols])
  5221. -_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
  5222. - [Flag to hardcode $libdir into a binary during linking.
  5223. - This must work even if $libdir does not exist])
  5224. -_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
  5225. - [[If ld is used when linking, flag to hardcode $libdir into a binary
  5226. - during linking. This must work even if $libdir does not exist]])
  5227. -_LT_TAGDECL([], [hardcode_libdir_separator], [1],
  5228. - [Whether we need a single "-rpath" flag with a separated argument])
  5229. -_LT_TAGDECL([], [hardcode_direct], [0],
  5230. - [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  5231. - DIR into the resulting binary])
  5232. -_LT_TAGDECL([], [hardcode_direct_absolute], [0],
  5233. - [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  5234. - DIR into the resulting binary and the resulting library dependency is
  5235. - "absolute", i.e impossible to change by setting ${shlibpath_var} if the
  5236. - library is relocated])
  5237. -_LT_TAGDECL([], [hardcode_minus_L], [0],
  5238. - [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  5239. - into the resulting binary])
  5240. -_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
  5241. - [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  5242. - into the resulting binary])
  5243. -_LT_TAGDECL([], [hardcode_automatic], [0],
  5244. - [Set to "yes" if building a shared library automatically hardcodes DIR
  5245. - into the library and all subsequent libraries and executables linked
  5246. - against it])
  5247. -_LT_TAGDECL([], [inherit_rpath], [0],
  5248. - [Set to yes if linker adds runtime paths of dependent libraries
  5249. - to runtime path list])
  5250. -_LT_TAGDECL([], [link_all_deplibs], [0],
  5251. - [Whether libtool must link a program against all its dependency libraries])
  5252. -_LT_TAGDECL([], [fix_srcfile_path], [1],
  5253. - [Fix the shell variable $srcfile for the compiler])
  5254. -_LT_TAGDECL([], [always_export_symbols], [0],
  5255. - [Set to "yes" if exported symbols are required])
  5256. -_LT_TAGDECL([], [export_symbols_cmds], [2],
  5257. - [The commands to list exported symbols])
  5258. -_LT_TAGDECL([], [exclude_expsyms], [1],
  5259. - [Symbols that should not be listed in the preloaded symbols])
  5260. -_LT_TAGDECL([], [include_expsyms], [1],
  5261. - [Symbols that must always be exported])
  5262. -_LT_TAGDECL([], [prelink_cmds], [2],
  5263. - [Commands necessary for linking programs (against libraries) with templates])
  5264. -_LT_TAGDECL([], [file_list_spec], [1],
  5265. - [Specify filename containing input files])
  5266. -dnl FIXME: Not yet implemented
  5267. -dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
  5268. -dnl [Compiler flag to generate thread safe objects])
  5269. -])# _LT_LINKER_SHLIBS
  5270. -
  5271. -
  5272. -# _LT_LANG_C_CONFIG([TAG])
  5273. -# ------------------------
  5274. -# Ensure that the configuration variables for a C compiler are suitably
  5275. -# defined. These variables are subsequently used by _LT_CONFIG to write
  5276. -# the compiler configuration to `libtool'.
  5277. -m4_defun([_LT_LANG_C_CONFIG],
  5278. -[m4_require([_LT_DECL_EGREP])dnl
  5279. -lt_save_CC="$CC"
  5280. -AC_LANG_PUSH(C)
  5281. -
  5282. -# Source file extension for C test sources.
  5283. -ac_ext=c
  5284. -
  5285. -# Object file extension for compiled C test sources.
  5286. -objext=o
  5287. -_LT_TAGVAR(objext, $1)=$objext
  5288. -
  5289. -# Code to be used in simple compile tests
  5290. -lt_simple_compile_test_code="int some_variable = 0;"
  5291. -
  5292. -# Code to be used in simple link tests
  5293. -lt_simple_link_test_code='int main(){return(0);}'
  5294. -
  5295. -_LT_TAG_COMPILER
  5296. -# Save the default compiler, since it gets overwritten when the other
  5297. -# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  5298. -compiler_DEFAULT=$CC
  5299. -
  5300. -# save warnings/boilerplate of simple test code
  5301. -_LT_COMPILER_BOILERPLATE
  5302. -_LT_LINKER_BOILERPLATE
  5303. -
  5304. -if test -n "$compiler"; then
  5305. - _LT_COMPILER_NO_RTTI($1)
  5306. - _LT_COMPILER_PIC($1)
  5307. - _LT_COMPILER_C_O($1)
  5308. - _LT_COMPILER_FILE_LOCKS($1)
  5309. - _LT_LINKER_SHLIBS($1)
  5310. - _LT_SYS_DYNAMIC_LINKER($1)
  5311. - _LT_LINKER_HARDCODE_LIBPATH($1)
  5312. - LT_SYS_DLOPEN_SELF
  5313. - _LT_CMD_STRIPLIB
  5314. -
  5315. - # Report which library types will actually be built
  5316. - AC_MSG_CHECKING([if libtool supports shared libraries])
  5317. - AC_MSG_RESULT([$can_build_shared])
  5318. -
  5319. - AC_MSG_CHECKING([whether to build shared libraries])
  5320. - test "$can_build_shared" = "no" && enable_shared=no
  5321. -
  5322. - # On AIX, shared libraries and static libraries use the same namespace, and
  5323. - # are all built from PIC.
  5324. - case $host_os in
  5325. - aix3*)
  5326. - test "$enable_shared" = yes && enable_static=no
  5327. - if test -n "$RANLIB"; then
  5328. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  5329. - postinstall_cmds='$RANLIB $lib'
  5330. - fi
  5331. - ;;
  5332. -
  5333. - aix[[4-9]]*)
  5334. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  5335. - test "$enable_shared" = yes && enable_static=no
  5336. - fi
  5337. - ;;
  5338. - esac
  5339. - AC_MSG_RESULT([$enable_shared])
  5340. -
  5341. - AC_MSG_CHECKING([whether to build static libraries])
  5342. - # Make sure either enable_shared or enable_static is yes.
  5343. - test "$enable_shared" = yes || enable_static=yes
  5344. - AC_MSG_RESULT([$enable_static])
  5345. -
  5346. - _LT_CONFIG($1)
  5347. -fi
  5348. -AC_LANG_POP
  5349. -CC="$lt_save_CC"
  5350. -])# _LT_LANG_C_CONFIG
  5351. -
  5352. -
  5353. -# _LT_PROG_CXX
  5354. -# ------------
  5355. -# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
  5356. -# compiler, we have our own version here.
  5357. -m4_defun([_LT_PROG_CXX],
  5358. -[
  5359. -pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
  5360. -AC_PROG_CXX
  5361. -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  5362. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  5363. - (test "X$CXX" != "Xg++"))) ; then
  5364. - AC_PROG_CXXCPP
  5365. -else
  5366. - _lt_caught_CXX_error=yes
  5367. -fi
  5368. -popdef([AC_MSG_ERROR])
  5369. -])# _LT_PROG_CXX
  5370. -
  5371. -dnl aclocal-1.4 backwards compatibility:
  5372. -dnl AC_DEFUN([_LT_PROG_CXX], [])
  5373. -
  5374. -
  5375. -# _LT_LANG_CXX_CONFIG([TAG])
  5376. -# --------------------------
  5377. -# Ensure that the configuration variables for a C++ compiler are suitably
  5378. -# defined. These variables are subsequently used by _LT_CONFIG to write
  5379. -# the compiler configuration to `libtool'.
  5380. -m4_defun([_LT_LANG_CXX_CONFIG],
  5381. -[AC_REQUIRE([_LT_PROG_CXX])dnl
  5382. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  5383. -m4_require([_LT_DECL_EGREP])dnl
  5384. -
  5385. -AC_LANG_PUSH(C++)
  5386. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5387. -_LT_TAGVAR(allow_undefined_flag, $1)=
  5388. -_LT_TAGVAR(always_export_symbols, $1)=no
  5389. -_LT_TAGVAR(archive_expsym_cmds, $1)=
  5390. -_LT_TAGVAR(compiler_needs_object, $1)=no
  5391. -_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  5392. -_LT_TAGVAR(hardcode_direct, $1)=no
  5393. -_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  5394. -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  5395. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  5396. -_LT_TAGVAR(hardcode_libdir_separator, $1)=
  5397. -_LT_TAGVAR(hardcode_minus_L, $1)=no
  5398. -_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  5399. -_LT_TAGVAR(hardcode_automatic, $1)=no
  5400. -_LT_TAGVAR(inherit_rpath, $1)=no
  5401. -_LT_TAGVAR(module_cmds, $1)=
  5402. -_LT_TAGVAR(module_expsym_cmds, $1)=
  5403. -_LT_TAGVAR(link_all_deplibs, $1)=unknown
  5404. -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  5405. -_LT_TAGVAR(no_undefined_flag, $1)=
  5406. -_LT_TAGVAR(whole_archive_flag_spec, $1)=
  5407. -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  5408. -
  5409. -# Source file extension for C++ test sources.
  5410. -ac_ext=cpp
  5411. -
  5412. -# Object file extension for compiled C++ test sources.
  5413. -objext=o
  5414. -_LT_TAGVAR(objext, $1)=$objext
  5415. -
  5416. -# No sense in running all these tests if we already determined that
  5417. -# the CXX compiler isn't working. Some variables (like enable_shared)
  5418. -# are currently assumed to apply to all compilers on this platform,
  5419. -# and will be corrupted by setting them based on a non-working compiler.
  5420. -if test "$_lt_caught_CXX_error" != yes; then
  5421. - # Code to be used in simple compile tests
  5422. - lt_simple_compile_test_code="int some_variable = 0;"
  5423. -
  5424. - # Code to be used in simple link tests
  5425. - lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
  5426. -
  5427. - # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  5428. - _LT_TAG_COMPILER
  5429. -
  5430. - # save warnings/boilerplate of simple test code
  5431. - _LT_COMPILER_BOILERPLATE
  5432. - _LT_LINKER_BOILERPLATE
  5433. -
  5434. - # Allow CC to be a program name with arguments.
  5435. - lt_save_CC=$CC
  5436. - lt_save_LD=$LD
  5437. - lt_save_GCC=$GCC
  5438. - GCC=$GXX
  5439. - lt_save_with_gnu_ld=$with_gnu_ld
  5440. - lt_save_path_LD=$lt_cv_path_LD
  5441. - if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  5442. - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  5443. - else
  5444. - $as_unset lt_cv_prog_gnu_ld
  5445. - fi
  5446. - if test -n "${lt_cv_path_LDCXX+set}"; then
  5447. - lt_cv_path_LD=$lt_cv_path_LDCXX
  5448. - else
  5449. - $as_unset lt_cv_path_LD
  5450. - fi
  5451. - test -z "${LDCXX+set}" || LD=$LDCXX
  5452. - CC=${CXX-"c++"}
  5453. - compiler=$CC
  5454. - _LT_TAGVAR(compiler, $1)=$CC
  5455. - _LT_CC_BASENAME([$compiler])
  5456. -
  5457. - if test -n "$compiler"; then
  5458. - # We don't want -fno-exception when compiling C++ code, so set the
  5459. - # no_builtin_flag separately
  5460. - if test "$GXX" = yes; then
  5461. - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  5462. - else
  5463. - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  5464. - fi
  5465. -
  5466. - if test "$GXX" = yes; then
  5467. - # Set up default GNU C++ configuration
  5468. -
  5469. - LT_PATH_LD
  5470. -
  5471. - # Check if GNU C++ uses GNU ld as the underlying linker, since the
  5472. - # archiving commands below assume that GNU ld is being used.
  5473. - if test "$with_gnu_ld" = yes; then
  5474. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5475. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  5476. -
  5477. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  5478. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5479. -
  5480. - # If archive_cmds runs LD, not CC, wlarc should be empty
  5481. - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  5482. - # investigate it a little bit more. (MM)
  5483. - wlarc='${wl}'
  5484. -
  5485. - # ancient GNU ld didn't support --whole-archive et. al.
  5486. - if eval "`$CC -print-prog-name=ld` --help 2>&1" |
  5487. - $GREP 'no-whole-archive' > /dev/null; then
  5488. - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  5489. - else
  5490. - _LT_TAGVAR(whole_archive_flag_spec, $1)=
  5491. - fi
  5492. - else
  5493. - with_gnu_ld=no
  5494. - wlarc=
  5495. -
  5496. - # A generic and very simple default shared library creation
  5497. - # command for GNU C++ for the case where it uses the native
  5498. - # linker, instead of GNU ld. If possible, this setting should
  5499. - # overridden to take advantage of the native linker features on
  5500. - # the platform it is being used on.
  5501. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  5502. - fi
  5503. -
  5504. - # Commands to make compiler produce verbose output that lists
  5505. - # what "hidden" libraries, object files and flags are used when
  5506. - # linking a shared library.
  5507. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  5508. -
  5509. - else
  5510. - GXX=no
  5511. - with_gnu_ld=no
  5512. - wlarc=
  5513. - fi
  5514. -
  5515. - # PORTME: fill in a description of your system's C++ link characteristics
  5516. - AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  5517. - _LT_TAGVAR(ld_shlibs, $1)=yes
  5518. - case $host_os in
  5519. - aix3*)
  5520. - # FIXME: insert proper C++ library support
  5521. - _LT_TAGVAR(ld_shlibs, $1)=no
  5522. - ;;
  5523. - aix[[4-9]]*)
  5524. - if test "$host_cpu" = ia64; then
  5525. - # On IA64, the linker does run time linking by default, so we don't
  5526. - # have to do anything special.
  5527. - aix_use_runtimelinking=no
  5528. - exp_sym_flag='-Bexport'
  5529. - no_entry_flag=""
  5530. - else
  5531. - aix_use_runtimelinking=no
  5532. -
  5533. - # Test if we are trying to use run time linking or normal
  5534. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  5535. - # need to do runtime linking.
  5536. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  5537. - for ld_flag in $LDFLAGS; do
  5538. - case $ld_flag in
  5539. - *-brtl*)
  5540. - aix_use_runtimelinking=yes
  5541. - break
  5542. - ;;
  5543. - esac
  5544. - done
  5545. - ;;
  5546. - esac
  5547. -
  5548. - exp_sym_flag='-bexport'
  5549. - no_entry_flag='-bnoentry'
  5550. - fi
  5551. -
  5552. - # When large executables or shared objects are built, AIX ld can
  5553. - # have problems creating the table of contents. If linking a library
  5554. - # or program results in "error TOC overflow" add -mminimal-toc to
  5555. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  5556. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  5557. -
  5558. - _LT_TAGVAR(archive_cmds, $1)=''
  5559. - _LT_TAGVAR(hardcode_direct, $1)=yes
  5560. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  5561. - _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  5562. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  5563. - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  5564. -
  5565. - if test "$GXX" = yes; then
  5566. - case $host_os in aix4.[[012]]|aix4.[[012]].*)
  5567. - # We only want to do this on AIX 4.2 and lower, the check
  5568. - # below for broken collect2 doesn't work under 4.3+
  5569. - collect2name=`${CC} -print-prog-name=collect2`
  5570. - if test -f "$collect2name" &&
  5571. - strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  5572. - then
  5573. - # We have reworked collect2
  5574. - :
  5575. - else
  5576. - # We have old collect2
  5577. - _LT_TAGVAR(hardcode_direct, $1)=unsupported
  5578. - # It fails to find uninstalled libraries when the uninstalled
  5579. - # path is not listed in the libpath. Setting hardcode_minus_L
  5580. - # to unsupported forces relinking
  5581. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  5582. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5583. - _LT_TAGVAR(hardcode_libdir_separator, $1)=
  5584. - fi
  5585. - esac
  5586. - shared_flag='-shared'
  5587. - if test "$aix_use_runtimelinking" = yes; then
  5588. - shared_flag="$shared_flag "'${wl}-G'
  5589. - fi
  5590. - else
  5591. - # not using gcc
  5592. - if test "$host_cpu" = ia64; then
  5593. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  5594. - # chokes on -Wl,-G. The following line is correct:
  5595. - shared_flag='-G'
  5596. - else
  5597. - if test "$aix_use_runtimelinking" = yes; then
  5598. - shared_flag='${wl}-G'
  5599. - else
  5600. - shared_flag='${wl}-bM:SRE'
  5601. - fi
  5602. - fi
  5603. - fi
  5604. -
  5605. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  5606. - # It seems that -bexpall does not export symbols beginning with
  5607. - # underscore (_), so it is better to generate a list of symbols to
  5608. - # export.
  5609. - _LT_TAGVAR(always_export_symbols, $1)=yes
  5610. - if test "$aix_use_runtimelinking" = yes; then
  5611. - # Warning - without using the other runtime loading flags (-brtl),
  5612. - # -berok will link without error, but may produce a broken library.
  5613. - _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  5614. - # Determine the default libpath from the value encoded in an empty
  5615. - # executable.
  5616. - _LT_SYS_MODULE_PATH_AIX
  5617. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  5618. -
  5619. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  5620. - else
  5621. - if test "$host_cpu" = ia64; then
  5622. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  5623. - _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  5624. - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  5625. - else
  5626. - # Determine the default libpath from the value encoded in an
  5627. - # empty executable.
  5628. - _LT_SYS_MODULE_PATH_AIX
  5629. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  5630. - # Warning - without using the other run time loading flags,
  5631. - # -berok will link without error, but may produce a broken library.
  5632. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  5633. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  5634. - # Exported symbols can be pulled into shared objects from archives
  5635. - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  5636. - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  5637. - # This is similar to how AIX traditionally builds its shared
  5638. - # libraries.
  5639. - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  5640. - fi
  5641. - fi
  5642. - ;;
  5643. -
  5644. - beos*)
  5645. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  5646. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  5647. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  5648. - # support --undefined. This deserves some investigation. FIXME
  5649. - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5650. - else
  5651. - _LT_TAGVAR(ld_shlibs, $1)=no
  5652. - fi
  5653. - ;;
  5654. -
  5655. - chorus*)
  5656. - case $cc_basename in
  5657. - *)
  5658. - # FIXME: insert proper C++ library support
  5659. - _LT_TAGVAR(ld_shlibs, $1)=no
  5660. - ;;
  5661. - esac
  5662. - ;;
  5663. -
  5664. - cygwin* | mingw* | pw32* | cegcc*)
  5665. - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  5666. - # as there is no search path for DLLs.
  5667. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5668. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  5669. - _LT_TAGVAR(always_export_symbols, $1)=no
  5670. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  5671. -
  5672. - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  5673. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  5674. - # If the export-symbols file already is a .def file (1st line
  5675. - # is EXPORTS), use it as is; otherwise, prepend...
  5676. - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  5677. - cp $export_symbols $output_objdir/$soname.def;
  5678. - else
  5679. - echo EXPORTS > $output_objdir/$soname.def;
  5680. - cat $export_symbols >> $output_objdir/$soname.def;
  5681. - fi~
  5682. - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  5683. - else
  5684. - _LT_TAGVAR(ld_shlibs, $1)=no
  5685. - fi
  5686. - ;;
  5687. - darwin* | rhapsody*)
  5688. - _LT_DARWIN_LINKER_FEATURES($1)
  5689. - ;;
  5690. -
  5691. - dgux*)
  5692. - case $cc_basename in
  5693. - ec++*)
  5694. - # FIXME: insert proper C++ library support
  5695. - _LT_TAGVAR(ld_shlibs, $1)=no
  5696. - ;;
  5697. - ghcx*)
  5698. - # Green Hills C++ Compiler
  5699. - # FIXME: insert proper C++ library support
  5700. - _LT_TAGVAR(ld_shlibs, $1)=no
  5701. - ;;
  5702. - *)
  5703. - # FIXME: insert proper C++ library support
  5704. - _LT_TAGVAR(ld_shlibs, $1)=no
  5705. - ;;
  5706. - esac
  5707. - ;;
  5708. -
  5709. - freebsd[[12]]*)
  5710. - # C++ shared libraries reported to be fairly broken before
  5711. - # switch to ELF
  5712. - _LT_TAGVAR(ld_shlibs, $1)=no
  5713. - ;;
  5714. -
  5715. - freebsd-elf*)
  5716. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5717. - ;;
  5718. -
  5719. - freebsd* | dragonfly*)
  5720. - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  5721. - # conventions
  5722. - _LT_TAGVAR(ld_shlibs, $1)=yes
  5723. - ;;
  5724. -
  5725. - gnu*)
  5726. - ;;
  5727. -
  5728. - hpux9*)
  5729. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  5730. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  5731. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5732. - _LT_TAGVAR(hardcode_direct, $1)=yes
  5733. - _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  5734. - # but as the default
  5735. - # location of the library.
  5736. -
  5737. - case $cc_basename in
  5738. - CC*)
  5739. - # FIXME: insert proper C++ library support
  5740. - _LT_TAGVAR(ld_shlibs, $1)=no
  5741. - ;;
  5742. - aCC*)
  5743. - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  5744. - # Commands to make compiler produce verbose output that lists
  5745. - # what "hidden" libraries, object files and flags are used when
  5746. - # linking a shared library.
  5747. - #
  5748. - # There doesn't appear to be a way to prevent this compiler from
  5749. - # explicitly linking system object files so we need to strip them
  5750. - # from the output so that they don't get included in the library
  5751. - # dependencies.
  5752. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  5753. - ;;
  5754. - *)
  5755. - if test "$GXX" = yes; then
  5756. - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  5757. - else
  5758. - # FIXME: insert proper C++ library support
  5759. - _LT_TAGVAR(ld_shlibs, $1)=no
  5760. - fi
  5761. - ;;
  5762. - esac
  5763. - ;;
  5764. -
  5765. - hpux10*|hpux11*)
  5766. - if test $with_gnu_ld = no; then
  5767. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  5768. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  5769. -
  5770. - case $host_cpu in
  5771. - hppa*64*|ia64*)
  5772. - ;;
  5773. - *)
  5774. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5775. - ;;
  5776. - esac
  5777. - fi
  5778. - case $host_cpu in
  5779. - hppa*64*|ia64*)
  5780. - _LT_TAGVAR(hardcode_direct, $1)=no
  5781. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5782. - ;;
  5783. - *)
  5784. - _LT_TAGVAR(hardcode_direct, $1)=yes
  5785. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  5786. - _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  5787. - # but as the default
  5788. - # location of the library.
  5789. - ;;
  5790. - esac
  5791. -
  5792. - case $cc_basename in
  5793. - CC*)
  5794. - # FIXME: insert proper C++ library support
  5795. - _LT_TAGVAR(ld_shlibs, $1)=no
  5796. - ;;
  5797. - aCC*)
  5798. - case $host_cpu in
  5799. - hppa*64*)
  5800. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5801. - ;;
  5802. - ia64*)
  5803. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5804. - ;;
  5805. - *)
  5806. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5807. - ;;
  5808. - esac
  5809. - # Commands to make compiler produce verbose output that lists
  5810. - # what "hidden" libraries, object files and flags are used when
  5811. - # linking a shared library.
  5812. - #
  5813. - # There doesn't appear to be a way to prevent this compiler from
  5814. - # explicitly linking system object files so we need to strip them
  5815. - # from the output so that they don't get included in the library
  5816. - # dependencies.
  5817. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  5818. - ;;
  5819. - *)
  5820. - if test "$GXX" = yes; then
  5821. - if test $with_gnu_ld = no; then
  5822. - case $host_cpu in
  5823. - hppa*64*)
  5824. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5825. - ;;
  5826. - ia64*)
  5827. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5828. - ;;
  5829. - *)
  5830. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5831. - ;;
  5832. - esac
  5833. - fi
  5834. - else
  5835. - # FIXME: insert proper C++ library support
  5836. - _LT_TAGVAR(ld_shlibs, $1)=no
  5837. - fi
  5838. - ;;
  5839. - esac
  5840. - ;;
  5841. -
  5842. - interix[[3-9]]*)
  5843. - _LT_TAGVAR(hardcode_direct, $1)=no
  5844. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5845. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  5846. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5847. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  5848. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  5849. - # default) and relocated if they conflict, which is a slow very memory
  5850. - # consuming and fragmenting process. To avoid this, we pick a random,
  5851. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  5852. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  5853. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  5854. - _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  5855. - ;;
  5856. - irix5* | irix6*)
  5857. - case $cc_basename in
  5858. - CC*)
  5859. - # SGI C++
  5860. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  5861. -
  5862. - # Archives containing C++ object files must be created using
  5863. - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  5864. - # necessary to make sure instantiated templates are included
  5865. - # in the archive.
  5866. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
  5867. - ;;
  5868. - *)
  5869. - if test "$GXX" = yes; then
  5870. - if test "$with_gnu_ld" = no; then
  5871. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  5872. - else
  5873. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
  5874. - fi
  5875. - fi
  5876. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  5877. - ;;
  5878. - esac
  5879. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  5880. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  5881. - _LT_TAGVAR(inherit_rpath, $1)=yes
  5882. - ;;
  5883. -
  5884. - linux* | k*bsd*-gnu | kopensolaris*-gnu)
  5885. - case $cc_basename in
  5886. - KCC*)
  5887. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  5888. -
  5889. - # KCC will only create a shared library if the output file
  5890. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  5891. - # to its proper name (with version) after linking.
  5892. - _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  5893. - _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
  5894. - # Commands to make compiler produce verbose output that lists
  5895. - # what "hidden" libraries, object files and flags are used when
  5896. - # linking a shared library.
  5897. - #
  5898. - # There doesn't appear to be a way to prevent this compiler from
  5899. - # explicitly linking system object files so we need to strip them
  5900. - # from the output so that they don't get included in the library
  5901. - # dependencies.
  5902. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  5903. -
  5904. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  5905. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5906. -
  5907. - # Archives containing C++ object files must be created using
  5908. - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  5909. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  5910. - ;;
  5911. - icpc* | ecpc* )
  5912. - # Intel C++
  5913. - with_gnu_ld=yes
  5914. - # version 8.0 and above of icpc choke on multiply defined symbols
  5915. - # if we add $predep_objects and $postdep_objects, however 7.1 and
  5916. - # earlier do not add the objects themselves.
  5917. - case `$CC -V 2>&1` in
  5918. - *"Version 7."*)
  5919. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5920. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  5921. - ;;
  5922. - *) # Version 8.0 or newer
  5923. - tmp_idyn=
  5924. - case $host_cpu in
  5925. - ia64*) tmp_idyn=' -i_dynamic';;
  5926. - esac
  5927. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5928. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  5929. - ;;
  5930. - esac
  5931. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5932. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  5933. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5934. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  5935. - ;;
  5936. - pgCC* | pgcpp*)
  5937. - # Portland Group C++ compiler
  5938. - case `$CC -V` in
  5939. - *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
  5940. - _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
  5941. - rm -rf $tpldir~
  5942. - $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  5943. - compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
  5944. - _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
  5945. - rm -rf $tpldir~
  5946. - $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  5947. - $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
  5948. - $RANLIB $oldlib'
  5949. - _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
  5950. - rm -rf $tpldir~
  5951. - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  5952. - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  5953. - _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
  5954. - rm -rf $tpldir~
  5955. - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  5956. - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  5957. - ;;
  5958. - *) # Version 6 will use weak symbols
  5959. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  5960. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  5961. - ;;
  5962. - esac
  5963. -
  5964. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  5965. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5966. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  5967. - ;;
  5968. - cxx*)
  5969. - # Compaq C++
  5970. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5971. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
  5972. -
  5973. - runpath_var=LD_RUN_PATH
  5974. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  5975. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  5976. -
  5977. - # Commands to make compiler produce verbose output that lists
  5978. - # what "hidden" libraries, object files and flags are used when
  5979. - # linking a shared library.
  5980. - #
  5981. - # There doesn't appear to be a way to prevent this compiler from
  5982. - # explicitly linking system object files so we need to strip them
  5983. - # from the output so that they don't get included in the library
  5984. - # dependencies.
  5985. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  5986. - ;;
  5987. - xl*)
  5988. - # IBM XL 8.0 on PPC, with GNU ld
  5989. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  5990. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5991. - _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5992. - if test "x$supports_anon_versioning" = xyes; then
  5993. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  5994. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  5995. - echo "local: *; };" >> $output_objdir/$libname.ver~
  5996. - $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  5997. - fi
  5998. - ;;
  5999. - *)
  6000. - case `$CC -V 2>&1 | sed 5q` in
  6001. - *Sun\ C*)
  6002. - # Sun C++ 5.9
  6003. - _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  6004. - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  6005. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
  6006. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6007. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  6008. - _LT_TAGVAR(compiler_needs_object, $1)=yes
  6009. -
  6010. - # Not sure whether something based on
  6011. - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  6012. - # would be better.
  6013. - output_verbose_link_cmd='echo'
  6014. -
  6015. - # Archives containing C++ object files must be created using
  6016. - # "CC -xar", where "CC" is the Sun C++ compiler. This is
  6017. - # necessary to make sure instantiated templates are included
  6018. - # in the archive.
  6019. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  6020. - ;;
  6021. - esac
  6022. - ;;
  6023. - esac
  6024. - ;;
  6025. -
  6026. - lynxos*)
  6027. - # FIXME: insert proper C++ library support
  6028. - _LT_TAGVAR(ld_shlibs, $1)=no
  6029. - ;;
  6030. -
  6031. - m88k*)
  6032. - # FIXME: insert proper C++ library support
  6033. - _LT_TAGVAR(ld_shlibs, $1)=no
  6034. - ;;
  6035. -
  6036. - mvs*)
  6037. - case $cc_basename in
  6038. - cxx*)
  6039. - # FIXME: insert proper C++ library support
  6040. - _LT_TAGVAR(ld_shlibs, $1)=no
  6041. - ;;
  6042. - *)
  6043. - # FIXME: insert proper C++ library support
  6044. - _LT_TAGVAR(ld_shlibs, $1)=no
  6045. - ;;
  6046. - esac
  6047. - ;;
  6048. -
  6049. - netbsd*)
  6050. - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  6051. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  6052. - wlarc=
  6053. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6054. - _LT_TAGVAR(hardcode_direct, $1)=yes
  6055. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6056. - fi
  6057. - # Workaround some broken pre-1.5 toolchains
  6058. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  6059. - ;;
  6060. -
  6061. - *nto* | *qnx*)
  6062. - _LT_TAGVAR(ld_shlibs, $1)=yes
  6063. - ;;
  6064. -
  6065. - openbsd2*)
  6066. - # C++ shared libraries are fairly broken
  6067. - _LT_TAGVAR(ld_shlibs, $1)=no
  6068. - ;;
  6069. -
  6070. - openbsd*)
  6071. - if test -f /usr/libexec/ld.so; then
  6072. - _LT_TAGVAR(hardcode_direct, $1)=yes
  6073. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6074. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  6075. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  6076. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  6077. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  6078. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
  6079. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  6080. - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  6081. - fi
  6082. - output_verbose_link_cmd=echo
  6083. - else
  6084. - _LT_TAGVAR(ld_shlibs, $1)=no
  6085. - fi
  6086. - ;;
  6087. -
  6088. - osf3* | osf4* | osf5*)
  6089. - case $cc_basename in
  6090. - KCC*)
  6091. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  6092. -
  6093. - # KCC will only create a shared library if the output file
  6094. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  6095. - # to its proper name (with version) after linking.
  6096. - _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  6097. -
  6098. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  6099. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6100. -
  6101. - # Archives containing C++ object files must be created using
  6102. - # the KAI C++ compiler.
  6103. - case $host in
  6104. - osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
  6105. - *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
  6106. - esac
  6107. - ;;
  6108. - RCC*)
  6109. - # Rational C++ 2.4.1
  6110. - # FIXME: insert proper C++ library support
  6111. - _LT_TAGVAR(ld_shlibs, $1)=no
  6112. - ;;
  6113. - cxx*)
  6114. - case $host in
  6115. - osf3*)
  6116. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  6117. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  6118. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6119. - ;;
  6120. - *)
  6121. - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  6122. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  6123. - _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  6124. - echo "-hidden">> $lib.exp~
  6125. - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
  6126. - $RM $lib.exp'
  6127. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  6128. - ;;
  6129. - esac
  6130. -
  6131. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6132. -
  6133. - # Commands to make compiler produce verbose output that lists
  6134. - # what "hidden" libraries, object files and flags are used when
  6135. - # linking a shared library.
  6136. - #
  6137. - # There doesn't appear to be a way to prevent this compiler from
  6138. - # explicitly linking system object files so we need to strip them
  6139. - # from the output so that they don't get included in the library
  6140. - # dependencies.
  6141. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  6142. - ;;
  6143. - *)
  6144. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  6145. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  6146. - case $host in
  6147. - osf3*)
  6148. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  6149. - ;;
  6150. - *)
  6151. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  6152. - ;;
  6153. - esac
  6154. -
  6155. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6156. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6157. -
  6158. - # Commands to make compiler produce verbose output that lists
  6159. - # what "hidden" libraries, object files and flags are used when
  6160. - # linking a shared library.
  6161. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  6162. -
  6163. - else
  6164. - # FIXME: insert proper C++ library support
  6165. - _LT_TAGVAR(ld_shlibs, $1)=no
  6166. - fi
  6167. - ;;
  6168. - esac
  6169. - ;;
  6170. -
  6171. - psos*)
  6172. - # FIXME: insert proper C++ library support
  6173. - _LT_TAGVAR(ld_shlibs, $1)=no
  6174. - ;;
  6175. -
  6176. - sunos4*)
  6177. - case $cc_basename in
  6178. - CC*)
  6179. - # Sun C++ 4.x
  6180. - # FIXME: insert proper C++ library support
  6181. - _LT_TAGVAR(ld_shlibs, $1)=no
  6182. - ;;
  6183. - lcc*)
  6184. - # Lucid
  6185. - # FIXME: insert proper C++ library support
  6186. - _LT_TAGVAR(ld_shlibs, $1)=no
  6187. - ;;
  6188. - *)
  6189. - # FIXME: insert proper C++ library support
  6190. - _LT_TAGVAR(ld_shlibs, $1)=no
  6191. - ;;
  6192. - esac
  6193. - ;;
  6194. -
  6195. - solaris*)
  6196. - case $cc_basename in
  6197. - CC*)
  6198. - # Sun C++ 4.2, 5.x and Centerline C++
  6199. - _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
  6200. - _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  6201. - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  6202. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6203. - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  6204. -
  6205. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6206. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6207. - case $host_os in
  6208. - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  6209. - *)
  6210. - # The compiler driver will combine and reorder linker options,
  6211. - # but understands `-z linker_flag'.
  6212. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  6213. - _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  6214. - ;;
  6215. - esac
  6216. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  6217. -
  6218. - output_verbose_link_cmd='echo'
  6219. -
  6220. - # Archives containing C++ object files must be created using
  6221. - # "CC -xar", where "CC" is the Sun C++ compiler. This is
  6222. - # necessary to make sure instantiated templates are included
  6223. - # in the archive.
  6224. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  6225. - ;;
  6226. - gcx*)
  6227. - # Green Hills C++ Compiler
  6228. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  6229. -
  6230. - # The C++ compiler must be used to create the archive.
  6231. - _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  6232. - ;;
  6233. - *)
  6234. - # GNU C++ compiler with Solaris linker
  6235. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  6236. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
  6237. - if $CC --version | $GREP -v '^2\.7' > /dev/null; then
  6238. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  6239. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6240. - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  6241. -
  6242. - # Commands to make compiler produce verbose output that lists
  6243. - # what "hidden" libraries, object files and flags are used when
  6244. - # linking a shared library.
  6245. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  6246. - else
  6247. - # g++ 2.7 appears to require `-G' NOT `-shared' on this
  6248. - # platform.
  6249. - _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  6250. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6251. - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  6252. -
  6253. - # Commands to make compiler produce verbose output that lists
  6254. - # what "hidden" libraries, object files and flags are used when
  6255. - # linking a shared library.
  6256. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  6257. - fi
  6258. -
  6259. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
  6260. - case $host_os in
  6261. - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  6262. - *)
  6263. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  6264. - ;;
  6265. - esac
  6266. - fi
  6267. - ;;
  6268. - esac
  6269. - ;;
  6270. -
  6271. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  6272. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  6273. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6274. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6275. - runpath_var='LD_RUN_PATH'
  6276. -
  6277. - case $cc_basename in
  6278. - CC*)
  6279. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6280. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6281. - ;;
  6282. - *)
  6283. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6284. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6285. - ;;
  6286. - esac
  6287. - ;;
  6288. -
  6289. - sysv5* | sco3.2v5* | sco5v6*)
  6290. - # Note: We can NOT use -z defs as we might desire, because we do not
  6291. - # link with -lc, and that would cause any symbols used from libc to
  6292. - # always be unresolved, which means just about no library would
  6293. - # ever link correctly. If we're not using GNU ld we use -z text
  6294. - # though, which does catch some bad symbols but isn't as heavy-handed
  6295. - # as -z defs.
  6296. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  6297. - _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  6298. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6299. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6300. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  6301. - _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  6302. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  6303. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  6304. - runpath_var='LD_RUN_PATH'
  6305. -
  6306. - case $cc_basename in
  6307. - CC*)
  6308. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6309. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6310. - ;;
  6311. - *)
  6312. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6313. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6314. - ;;
  6315. - esac
  6316. - ;;
  6317. -
  6318. - tandem*)
  6319. - case $cc_basename in
  6320. - NCC*)
  6321. - # NonStop-UX NCC 3.20
  6322. - # FIXME: insert proper C++ library support
  6323. - _LT_TAGVAR(ld_shlibs, $1)=no
  6324. - ;;
  6325. - *)
  6326. - # FIXME: insert proper C++ library support
  6327. - _LT_TAGVAR(ld_shlibs, $1)=no
  6328. - ;;
  6329. - esac
  6330. - ;;
  6331. -
  6332. - vxworks*)
  6333. - # FIXME: insert proper C++ library support
  6334. - _LT_TAGVAR(ld_shlibs, $1)=no
  6335. - ;;
  6336. -
  6337. - *)
  6338. - # FIXME: insert proper C++ library support
  6339. - _LT_TAGVAR(ld_shlibs, $1)=no
  6340. - ;;
  6341. - esac
  6342. -
  6343. - AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  6344. - test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  6345. -
  6346. - _LT_TAGVAR(GCC, $1)="$GXX"
  6347. - _LT_TAGVAR(LD, $1)="$LD"
  6348. -
  6349. - ## CAVEAT EMPTOR:
  6350. - ## There is no encapsulation within the following macros, do not change
  6351. - ## the running order or otherwise move them around unless you know exactly
  6352. - ## what you are doing...
  6353. - _LT_SYS_HIDDEN_LIBDEPS($1)
  6354. - _LT_COMPILER_PIC($1)
  6355. - _LT_COMPILER_C_O($1)
  6356. - _LT_COMPILER_FILE_LOCKS($1)
  6357. - _LT_LINKER_SHLIBS($1)
  6358. - _LT_SYS_DYNAMIC_LINKER($1)
  6359. - _LT_LINKER_HARDCODE_LIBPATH($1)
  6360. -
  6361. - _LT_CONFIG($1)
  6362. - fi # test -n "$compiler"
  6363. -
  6364. - CC=$lt_save_CC
  6365. - LDCXX=$LD
  6366. - LD=$lt_save_LD
  6367. - GCC=$lt_save_GCC
  6368. - with_gnu_ld=$lt_save_with_gnu_ld
  6369. - lt_cv_path_LDCXX=$lt_cv_path_LD
  6370. - lt_cv_path_LD=$lt_save_path_LD
  6371. - lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  6372. - lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  6373. -fi # test "$_lt_caught_CXX_error" != yes
  6374. -
  6375. -AC_LANG_POP
  6376. -])# _LT_LANG_CXX_CONFIG
  6377. -
  6378. -
  6379. -# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
  6380. -# ---------------------------------
  6381. -# Figure out "hidden" library dependencies from verbose
  6382. -# compiler output when linking a shared library.
  6383. -# Parse the compiler output and extract the necessary
  6384. -# objects, libraries and library flags.
  6385. -m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
  6386. -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  6387. -# Dependencies to place before and after the object being linked:
  6388. -_LT_TAGVAR(predep_objects, $1)=
  6389. -_LT_TAGVAR(postdep_objects, $1)=
  6390. -_LT_TAGVAR(predeps, $1)=
  6391. -_LT_TAGVAR(postdeps, $1)=
  6392. -_LT_TAGVAR(compiler_lib_search_path, $1)=
  6393. -
  6394. -dnl we can't use the lt_simple_compile_test_code here,
  6395. -dnl because it contains code intended for an executable,
  6396. -dnl not a library. It's possible we should let each
  6397. -dnl tag define a new lt_????_link_test_code variable,
  6398. -dnl but it's only used here...
  6399. -m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
  6400. -int a;
  6401. -void foo (void) { a = 0; }
  6402. -_LT_EOF
  6403. -], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
  6404. -class Foo
  6405. -{
  6406. -public:
  6407. - Foo (void) { a = 0; }
  6408. -private:
  6409. - int a;
  6410. -};
  6411. -_LT_EOF
  6412. -], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
  6413. - subroutine foo
  6414. - implicit none
  6415. - integer*4 a
  6416. - a=0
  6417. - return
  6418. - end
  6419. -_LT_EOF
  6420. -], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
  6421. - subroutine foo
  6422. - implicit none
  6423. - integer a
  6424. - a=0
  6425. - return
  6426. - end
  6427. -_LT_EOF
  6428. -], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
  6429. -public class foo {
  6430. - private int a;
  6431. - public void bar (void) {
  6432. - a = 0;
  6433. - }
  6434. -};
  6435. -_LT_EOF
  6436. -])
  6437. -dnl Parse the compiler output and extract the necessary
  6438. -dnl objects, libraries and library flags.
  6439. -if AC_TRY_EVAL(ac_compile); then
  6440. - # Parse the compiler output and extract the necessary
  6441. - # objects, libraries and library flags.
  6442. -
  6443. - # Sentinel used to keep track of whether or not we are before
  6444. - # the conftest object file.
  6445. - pre_test_object_deps_done=no
  6446. -
  6447. - for p in `eval "$output_verbose_link_cmd"`; do
  6448. - case $p in
  6449. -
  6450. - -L* | -R* | -l*)
  6451. - # Some compilers place space between "-{L,R}" and the path.
  6452. - # Remove the space.
  6453. - if test $p = "-L" ||
  6454. - test $p = "-R"; then
  6455. - prev=$p
  6456. - continue
  6457. - else
  6458. - prev=
  6459. - fi
  6460. -
  6461. - if test "$pre_test_object_deps_done" = no; then
  6462. - case $p in
  6463. - -L* | -R*)
  6464. - # Internal compiler library paths should come after those
  6465. - # provided the user. The postdeps already come after the
  6466. - # user supplied libs so there is no need to process them.
  6467. - if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
  6468. - _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
  6469. - else
  6470. - _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
  6471. - fi
  6472. - ;;
  6473. - # The "-l" case would never come before the object being
  6474. - # linked, so don't bother handling this case.
  6475. - esac
  6476. - else
  6477. - if test -z "$_LT_TAGVAR(postdeps, $1)"; then
  6478. - _LT_TAGVAR(postdeps, $1)="${prev}${p}"
  6479. - else
  6480. - _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
  6481. - fi
  6482. - fi
  6483. - ;;
  6484. -
  6485. - *.$objext)
  6486. - # This assumes that the test object file only shows up
  6487. - # once in the compiler output.
  6488. - if test "$p" = "conftest.$objext"; then
  6489. - pre_test_object_deps_done=yes
  6490. - continue
  6491. - fi
  6492. -
  6493. - if test "$pre_test_object_deps_done" = no; then
  6494. - if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
  6495. - _LT_TAGVAR(predep_objects, $1)="$p"
  6496. - else
  6497. - _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
  6498. - fi
  6499. - else
  6500. - if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
  6501. - _LT_TAGVAR(postdep_objects, $1)="$p"
  6502. - else
  6503. - _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
  6504. - fi
  6505. - fi
  6506. - ;;
  6507. -
  6508. - *) ;; # Ignore the rest.
  6509. -
  6510. - esac
  6511. - done
  6512. -
  6513. - # Clean up.
  6514. - rm -f a.out a.exe
  6515. -else
  6516. - echo "libtool.m4: error: problem compiling $1 test program"
  6517. -fi
  6518. -
  6519. -$RM -f confest.$objext
  6520. -
  6521. -# PORTME: override above test on systems where it is broken
  6522. -m4_if([$1], [CXX],
  6523. -[case $host_os in
  6524. -interix[[3-9]]*)
  6525. - # Interix 3.5 installs completely hosed .la files for C++, so rather than
  6526. - # hack all around it, let's just trust "g++" to DTRT.
  6527. - _LT_TAGVAR(predep_objects,$1)=
  6528. - _LT_TAGVAR(postdep_objects,$1)=
  6529. - _LT_TAGVAR(postdeps,$1)=
  6530. - ;;
  6531. -
  6532. -linux*)
  6533. - case `$CC -V 2>&1 | sed 5q` in
  6534. - *Sun\ C*)
  6535. - # Sun C++ 5.9
  6536. -
  6537. - # The more standards-conforming stlport4 library is
  6538. - # incompatible with the Cstd library. Avoid specifying
  6539. - # it if it's in CXXFLAGS. Ignore libCrun as
  6540. - # -library=stlport4 depends on it.
  6541. - case " $CXX $CXXFLAGS " in
  6542. - *" -library=stlport4 "*)
  6543. - solaris_use_stlport4=yes
  6544. - ;;
  6545. - esac
  6546. -
  6547. - if test "$solaris_use_stlport4" != yes; then
  6548. - _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  6549. - fi
  6550. - ;;
  6551. - esac
  6552. - ;;
  6553. -
  6554. -solaris*)
  6555. - case $cc_basename in
  6556. - CC*)
  6557. - # The more standards-conforming stlport4 library is
  6558. - # incompatible with the Cstd library. Avoid specifying
  6559. - # it if it's in CXXFLAGS. Ignore libCrun as
  6560. - # -library=stlport4 depends on it.
  6561. - case " $CXX $CXXFLAGS " in
  6562. - *" -library=stlport4 "*)
  6563. - solaris_use_stlport4=yes
  6564. - ;;
  6565. - esac
  6566. -
  6567. - # Adding this requires a known-good setup of shared libraries for
  6568. - # Sun compiler versions before 5.6, else PIC objects from an old
  6569. - # archive will be linked into the output, leading to subtle bugs.
  6570. - if test "$solaris_use_stlport4" != yes; then
  6571. - _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  6572. - fi
  6573. - ;;
  6574. - esac
  6575. - ;;
  6576. -esac
  6577. -])
  6578. -
  6579. -case " $_LT_TAGVAR(postdeps, $1) " in
  6580. -*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
  6581. -esac
  6582. - _LT_TAGVAR(compiler_lib_search_dirs, $1)=
  6583. -if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
  6584. - _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  6585. -fi
  6586. -_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
  6587. - [The directories searched by this compiler when creating a shared library])
  6588. -_LT_TAGDECL([], [predep_objects], [1],
  6589. - [Dependencies to place before and after the objects being linked to
  6590. - create a shared library])
  6591. -_LT_TAGDECL([], [postdep_objects], [1])
  6592. -_LT_TAGDECL([], [predeps], [1])
  6593. -_LT_TAGDECL([], [postdeps], [1])
  6594. -_LT_TAGDECL([], [compiler_lib_search_path], [1],
  6595. - [The library search path used internally by the compiler when linking
  6596. - a shared library])
  6597. -])# _LT_SYS_HIDDEN_LIBDEPS
  6598. -
  6599. -
  6600. -# _LT_PROG_F77
  6601. -# ------------
  6602. -# Since AC_PROG_F77 is broken, in that it returns the empty string
  6603. -# if there is no fortran compiler, we have our own version here.
  6604. -m4_defun([_LT_PROG_F77],
  6605. -[
  6606. -pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
  6607. -AC_PROG_F77
  6608. -if test -z "$F77" || test "X$F77" = "Xno"; then
  6609. - _lt_disable_F77=yes
  6610. -fi
  6611. -popdef([AC_MSG_ERROR])
  6612. -])# _LT_PROG_F77
  6613. -
  6614. -dnl aclocal-1.4 backwards compatibility:
  6615. -dnl AC_DEFUN([_LT_PROG_F77], [])
  6616. -
  6617. -
  6618. -# _LT_LANG_F77_CONFIG([TAG])
  6619. -# --------------------------
  6620. -# Ensure that the configuration variables for a Fortran 77 compiler are
  6621. -# suitably defined. These variables are subsequently used by _LT_CONFIG
  6622. -# to write the compiler configuration to `libtool'.
  6623. -m4_defun([_LT_LANG_F77_CONFIG],
  6624. -[AC_REQUIRE([_LT_PROG_F77])dnl
  6625. -AC_LANG_PUSH(Fortran 77)
  6626. -
  6627. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6628. -_LT_TAGVAR(allow_undefined_flag, $1)=
  6629. -_LT_TAGVAR(always_export_symbols, $1)=no
  6630. -_LT_TAGVAR(archive_expsym_cmds, $1)=
  6631. -_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  6632. -_LT_TAGVAR(hardcode_direct, $1)=no
  6633. -_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  6634. -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  6635. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  6636. -_LT_TAGVAR(hardcode_libdir_separator, $1)=
  6637. -_LT_TAGVAR(hardcode_minus_L, $1)=no
  6638. -_LT_TAGVAR(hardcode_automatic, $1)=no
  6639. -_LT_TAGVAR(inherit_rpath, $1)=no
  6640. -_LT_TAGVAR(module_cmds, $1)=
  6641. -_LT_TAGVAR(module_expsym_cmds, $1)=
  6642. -_LT_TAGVAR(link_all_deplibs, $1)=unknown
  6643. -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  6644. -_LT_TAGVAR(no_undefined_flag, $1)=
  6645. -_LT_TAGVAR(whole_archive_flag_spec, $1)=
  6646. -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  6647. -
  6648. -# Source file extension for f77 test sources.
  6649. -ac_ext=f
  6650. -
  6651. -# Object file extension for compiled f77 test sources.
  6652. -objext=o
  6653. -_LT_TAGVAR(objext, $1)=$objext
  6654. -
  6655. -# No sense in running all these tests if we already determined that
  6656. -# the F77 compiler isn't working. Some variables (like enable_shared)
  6657. -# are currently assumed to apply to all compilers on this platform,
  6658. -# and will be corrupted by setting them based on a non-working compiler.
  6659. -if test "$_lt_disable_F77" != yes; then
  6660. - # Code to be used in simple compile tests
  6661. - lt_simple_compile_test_code="\
  6662. - subroutine t
  6663. - return
  6664. - end
  6665. -"
  6666. -
  6667. - # Code to be used in simple link tests
  6668. - lt_simple_link_test_code="\
  6669. - program t
  6670. - end
  6671. -"
  6672. -
  6673. - # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  6674. - _LT_TAG_COMPILER
  6675. -
  6676. - # save warnings/boilerplate of simple test code
  6677. - _LT_COMPILER_BOILERPLATE
  6678. - _LT_LINKER_BOILERPLATE
  6679. -
  6680. - # Allow CC to be a program name with arguments.
  6681. - lt_save_CC="$CC"
  6682. - lt_save_GCC=$GCC
  6683. - CC=${F77-"f77"}
  6684. - compiler=$CC
  6685. - _LT_TAGVAR(compiler, $1)=$CC
  6686. - _LT_CC_BASENAME([$compiler])
  6687. - GCC=$G77
  6688. - if test -n "$compiler"; then
  6689. - AC_MSG_CHECKING([if libtool supports shared libraries])
  6690. - AC_MSG_RESULT([$can_build_shared])
  6691. -
  6692. - AC_MSG_CHECKING([whether to build shared libraries])
  6693. - test "$can_build_shared" = "no" && enable_shared=no
  6694. -
  6695. - # On AIX, shared libraries and static libraries use the same namespace, and
  6696. - # are all built from PIC.
  6697. - case $host_os in
  6698. - aix3*)
  6699. - test "$enable_shared" = yes && enable_static=no
  6700. - if test -n "$RANLIB"; then
  6701. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  6702. - postinstall_cmds='$RANLIB $lib'
  6703. - fi
  6704. - ;;
  6705. - aix[[4-9]]*)
  6706. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  6707. - test "$enable_shared" = yes && enable_static=no
  6708. - fi
  6709. - ;;
  6710. - esac
  6711. - AC_MSG_RESULT([$enable_shared])
  6712. -
  6713. - AC_MSG_CHECKING([whether to build static libraries])
  6714. - # Make sure either enable_shared or enable_static is yes.
  6715. - test "$enable_shared" = yes || enable_static=yes
  6716. - AC_MSG_RESULT([$enable_static])
  6717. -
  6718. - _LT_TAGVAR(GCC, $1)="$G77"
  6719. - _LT_TAGVAR(LD, $1)="$LD"
  6720. -
  6721. - ## CAVEAT EMPTOR:
  6722. - ## There is no encapsulation within the following macros, do not change
  6723. - ## the running order or otherwise move them around unless you know exactly
  6724. - ## what you are doing...
  6725. - _LT_COMPILER_PIC($1)
  6726. - _LT_COMPILER_C_O($1)
  6727. - _LT_COMPILER_FILE_LOCKS($1)
  6728. - _LT_LINKER_SHLIBS($1)
  6729. - _LT_SYS_DYNAMIC_LINKER($1)
  6730. - _LT_LINKER_HARDCODE_LIBPATH($1)
  6731. -
  6732. - _LT_CONFIG($1)
  6733. - fi # test -n "$compiler"
  6734. -
  6735. - GCC=$lt_save_GCC
  6736. - CC="$lt_save_CC"
  6737. -fi # test "$_lt_disable_F77" != yes
  6738. -
  6739. -AC_LANG_POP
  6740. -])# _LT_LANG_F77_CONFIG
  6741. -
  6742. -
  6743. -# _LT_PROG_FC
  6744. -# -----------
  6745. -# Since AC_PROG_FC is broken, in that it returns the empty string
  6746. -# if there is no fortran compiler, we have our own version here.
  6747. -m4_defun([_LT_PROG_FC],
  6748. -[
  6749. -pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
  6750. -AC_PROG_FC
  6751. -if test -z "$FC" || test "X$FC" = "Xno"; then
  6752. - _lt_disable_FC=yes
  6753. -fi
  6754. -popdef([AC_MSG_ERROR])
  6755. -])# _LT_PROG_FC
  6756. -
  6757. -dnl aclocal-1.4 backwards compatibility:
  6758. -dnl AC_DEFUN([_LT_PROG_FC], [])
  6759. -
  6760. -
  6761. -# _LT_LANG_FC_CONFIG([TAG])
  6762. -# -------------------------
  6763. -# Ensure that the configuration variables for a Fortran compiler are
  6764. -# suitably defined. These variables are subsequently used by _LT_CONFIG
  6765. -# to write the compiler configuration to `libtool'.
  6766. -m4_defun([_LT_LANG_FC_CONFIG],
  6767. -[AC_REQUIRE([_LT_PROG_FC])dnl
  6768. -AC_LANG_PUSH(Fortran)
  6769. -
  6770. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6771. -_LT_TAGVAR(allow_undefined_flag, $1)=
  6772. -_LT_TAGVAR(always_export_symbols, $1)=no
  6773. -_LT_TAGVAR(archive_expsym_cmds, $1)=
  6774. -_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  6775. -_LT_TAGVAR(hardcode_direct, $1)=no
  6776. -_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  6777. -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  6778. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  6779. -_LT_TAGVAR(hardcode_libdir_separator, $1)=
  6780. -_LT_TAGVAR(hardcode_minus_L, $1)=no
  6781. -_LT_TAGVAR(hardcode_automatic, $1)=no
  6782. -_LT_TAGVAR(inherit_rpath, $1)=no
  6783. -_LT_TAGVAR(module_cmds, $1)=
  6784. -_LT_TAGVAR(module_expsym_cmds, $1)=
  6785. -_LT_TAGVAR(link_all_deplibs, $1)=unknown
  6786. -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  6787. -_LT_TAGVAR(no_undefined_flag, $1)=
  6788. -_LT_TAGVAR(whole_archive_flag_spec, $1)=
  6789. -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  6790. -
  6791. -# Source file extension for fc test sources.
  6792. -ac_ext=${ac_fc_srcext-f}
  6793. -
  6794. -# Object file extension for compiled fc test sources.
  6795. -objext=o
  6796. -_LT_TAGVAR(objext, $1)=$objext
  6797. -
  6798. -# No sense in running all these tests if we already determined that
  6799. -# the FC compiler isn't working. Some variables (like enable_shared)
  6800. -# are currently assumed to apply to all compilers on this platform,
  6801. -# and will be corrupted by setting them based on a non-working compiler.
  6802. -if test "$_lt_disable_FC" != yes; then
  6803. - # Code to be used in simple compile tests
  6804. - lt_simple_compile_test_code="\
  6805. - subroutine t
  6806. - return
  6807. - end
  6808. -"
  6809. -
  6810. - # Code to be used in simple link tests
  6811. - lt_simple_link_test_code="\
  6812. - program t
  6813. - end
  6814. -"
  6815. -
  6816. - # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  6817. - _LT_TAG_COMPILER
  6818. -
  6819. - # save warnings/boilerplate of simple test code
  6820. - _LT_COMPILER_BOILERPLATE
  6821. - _LT_LINKER_BOILERPLATE
  6822. -
  6823. - # Allow CC to be a program name with arguments.
  6824. - lt_save_CC="$CC"
  6825. - lt_save_GCC=$GCC
  6826. - CC=${FC-"f95"}
  6827. - compiler=$CC
  6828. - GCC=$ac_cv_fc_compiler_gnu
  6829. -
  6830. - _LT_TAGVAR(compiler, $1)=$CC
  6831. - _LT_CC_BASENAME([$compiler])
  6832. -
  6833. - if test -n "$compiler"; then
  6834. - AC_MSG_CHECKING([if libtool supports shared libraries])
  6835. - AC_MSG_RESULT([$can_build_shared])
  6836. -
  6837. - AC_MSG_CHECKING([whether to build shared libraries])
  6838. - test "$can_build_shared" = "no" && enable_shared=no
  6839. -
  6840. - # On AIX, shared libraries and static libraries use the same namespace, and
  6841. - # are all built from PIC.
  6842. - case $host_os in
  6843. - aix3*)
  6844. - test "$enable_shared" = yes && enable_static=no
  6845. - if test -n "$RANLIB"; then
  6846. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  6847. - postinstall_cmds='$RANLIB $lib'
  6848. - fi
  6849. - ;;
  6850. - aix[[4-9]]*)
  6851. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  6852. - test "$enable_shared" = yes && enable_static=no
  6853. - fi
  6854. - ;;
  6855. - esac
  6856. - AC_MSG_RESULT([$enable_shared])
  6857. -
  6858. - AC_MSG_CHECKING([whether to build static libraries])
  6859. - # Make sure either enable_shared or enable_static is yes.
  6860. - test "$enable_shared" = yes || enable_static=yes
  6861. - AC_MSG_RESULT([$enable_static])
  6862. -
  6863. - _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
  6864. - _LT_TAGVAR(LD, $1)="$LD"
  6865. -
  6866. - ## CAVEAT EMPTOR:
  6867. - ## There is no encapsulation within the following macros, do not change
  6868. - ## the running order or otherwise move them around unless you know exactly
  6869. - ## what you are doing...
  6870. - _LT_SYS_HIDDEN_LIBDEPS($1)
  6871. - _LT_COMPILER_PIC($1)
  6872. - _LT_COMPILER_C_O($1)
  6873. - _LT_COMPILER_FILE_LOCKS($1)
  6874. - _LT_LINKER_SHLIBS($1)
  6875. - _LT_SYS_DYNAMIC_LINKER($1)
  6876. - _LT_LINKER_HARDCODE_LIBPATH($1)
  6877. -
  6878. - _LT_CONFIG($1)
  6879. - fi # test -n "$compiler"
  6880. -
  6881. - GCC=$lt_save_GCC
  6882. - CC="$lt_save_CC"
  6883. -fi # test "$_lt_disable_FC" != yes
  6884. -
  6885. -AC_LANG_POP
  6886. -])# _LT_LANG_FC_CONFIG
  6887. -
  6888. -
  6889. -# _LT_LANG_GCJ_CONFIG([TAG])
  6890. -# --------------------------
  6891. -# Ensure that the configuration variables for the GNU Java Compiler compiler
  6892. -# are suitably defined. These variables are subsequently used by _LT_CONFIG
  6893. -# to write the compiler configuration to `libtool'.
  6894. -m4_defun([_LT_LANG_GCJ_CONFIG],
  6895. -[AC_REQUIRE([LT_PROG_GCJ])dnl
  6896. -AC_LANG_SAVE
  6897. -
  6898. -# Source file extension for Java test sources.
  6899. -ac_ext=java
  6900. -
  6901. -# Object file extension for compiled Java test sources.
  6902. -objext=o
  6903. -_LT_TAGVAR(objext, $1)=$objext
  6904. -
  6905. -# Code to be used in simple compile tests
  6906. -lt_simple_compile_test_code="class foo {}"
  6907. -
  6908. -# Code to be used in simple link tests
  6909. -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
  6910. -
  6911. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  6912. -_LT_TAG_COMPILER
  6913. -
  6914. -# save warnings/boilerplate of simple test code
  6915. -_LT_COMPILER_BOILERPLATE
  6916. -_LT_LINKER_BOILERPLATE
  6917. -
  6918. -# Allow CC to be a program name with arguments.
  6919. -lt_save_CC="$CC"
  6920. -lt_save_GCC=$GCC
  6921. -GCC=yes
  6922. -CC=${GCJ-"gcj"}
  6923. -compiler=$CC
  6924. -_LT_TAGVAR(compiler, $1)=$CC
  6925. -_LT_TAGVAR(LD, $1)="$LD"
  6926. -_LT_CC_BASENAME([$compiler])
  6927. -
  6928. -# GCJ did not exist at the time GCC didn't implicitly link libc in.
  6929. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6930. -
  6931. -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  6932. -
  6933. -if test -n "$compiler"; then
  6934. - _LT_COMPILER_NO_RTTI($1)
  6935. - _LT_COMPILER_PIC($1)
  6936. - _LT_COMPILER_C_O($1)
  6937. - _LT_COMPILER_FILE_LOCKS($1)
  6938. - _LT_LINKER_SHLIBS($1)
  6939. - _LT_LINKER_HARDCODE_LIBPATH($1)
  6940. -
  6941. - _LT_CONFIG($1)
  6942. -fi
  6943. -
  6944. -AC_LANG_RESTORE
  6945. -
  6946. -GCC=$lt_save_GCC
  6947. -CC="$lt_save_CC"
  6948. -])# _LT_LANG_GCJ_CONFIG
  6949. -
  6950. -
  6951. -# _LT_LANG_RC_CONFIG([TAG])
  6952. -# -------------------------
  6953. -# Ensure that the configuration variables for the Windows resource compiler
  6954. -# are suitably defined. These variables are subsequently used by _LT_CONFIG
  6955. -# to write the compiler configuration to `libtool'.
  6956. -m4_defun([_LT_LANG_RC_CONFIG],
  6957. -[AC_REQUIRE([LT_PROG_RC])dnl
  6958. -AC_LANG_SAVE
  6959. -
  6960. -# Source file extension for RC test sources.
  6961. -ac_ext=rc
  6962. -
  6963. -# Object file extension for compiled RC test sources.
  6964. -objext=o
  6965. -_LT_TAGVAR(objext, $1)=$objext
  6966. -
  6967. -# Code to be used in simple compile tests
  6968. -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
  6969. -
  6970. -# Code to be used in simple link tests
  6971. -lt_simple_link_test_code="$lt_simple_compile_test_code"
  6972. -
  6973. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  6974. -_LT_TAG_COMPILER
  6975. -
  6976. -# save warnings/boilerplate of simple test code
  6977. -_LT_COMPILER_BOILERPLATE
  6978. -_LT_LINKER_BOILERPLATE
  6979. -
  6980. -# Allow CC to be a program name with arguments.
  6981. -lt_save_CC="$CC"
  6982. -lt_save_GCC=$GCC
  6983. -GCC=
  6984. -CC=${RC-"windres"}
  6985. -compiler=$CC
  6986. -_LT_TAGVAR(compiler, $1)=$CC
  6987. -_LT_CC_BASENAME([$compiler])
  6988. -_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  6989. -
  6990. -if test -n "$compiler"; then
  6991. - :
  6992. - _LT_CONFIG($1)
  6993. -fi
  6994. -
  6995. -GCC=$lt_save_GCC
  6996. -AC_LANG_RESTORE
  6997. -CC="$lt_save_CC"
  6998. -])# _LT_LANG_RC_CONFIG
  6999. -
  7000. -
  7001. -# LT_PROG_GCJ
  7002. -# -----------
  7003. -AC_DEFUN([LT_PROG_GCJ],
  7004. -[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
  7005. - [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
  7006. - [AC_CHECK_TOOL(GCJ, gcj,)
  7007. - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
  7008. - AC_SUBST(GCJFLAGS)])])[]dnl
  7009. -])
  7010. -
  7011. -# Old name:
  7012. -AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
  7013. -dnl aclocal-1.4 backwards compatibility:
  7014. -dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
  7015. -
  7016. -
  7017. -# LT_PROG_RC
  7018. -# ----------
  7019. -AC_DEFUN([LT_PROG_RC],
  7020. -[AC_CHECK_TOOL(RC, windres,)
  7021. -])
  7022. -
  7023. -# Old name:
  7024. -AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
  7025. -dnl aclocal-1.4 backwards compatibility:
  7026. -dnl AC_DEFUN([LT_AC_PROG_RC], [])
  7027. -
  7028. -
  7029. -# _LT_DECL_EGREP
  7030. -# --------------
  7031. -# If we don't have a new enough Autoconf to choose the best grep
  7032. -# available, choose the one first in the user's PATH.
  7033. -m4_defun([_LT_DECL_EGREP],
  7034. -[AC_REQUIRE([AC_PROG_EGREP])dnl
  7035. -AC_REQUIRE([AC_PROG_FGREP])dnl
  7036. -test -z "$GREP" && GREP=grep
  7037. -_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
  7038. -_LT_DECL([], [EGREP], [1], [An ERE matcher])
  7039. -_LT_DECL([], [FGREP], [1], [A literal string matcher])
  7040. -dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
  7041. -AC_SUBST([GREP])
  7042. -])
  7043. -
  7044. -
  7045. -# _LT_DECL_OBJDUMP
  7046. -# --------------
  7047. -# If we don't have a new enough Autoconf to choose the best objdump
  7048. -# available, choose the one first in the user's PATH.
  7049. -m4_defun([_LT_DECL_OBJDUMP],
  7050. -[AC_CHECK_TOOL(OBJDUMP, objdump, false)
  7051. -test -z "$OBJDUMP" && OBJDUMP=objdump
  7052. -_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
  7053. -AC_SUBST([OBJDUMP])
  7054. -])
  7055. -
  7056. -
  7057. -# _LT_DECL_SED
  7058. -# ------------
  7059. -# Check for a fully-functional sed program, that truncates
  7060. -# as few characters as possible. Prefer GNU sed if found.
  7061. -m4_defun([_LT_DECL_SED],
  7062. -[AC_PROG_SED
  7063. -test -z "$SED" && SED=sed
  7064. -Xsed="$SED -e 1s/^X//"
  7065. -_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
  7066. -_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
  7067. - [Sed that helps us avoid accidentally triggering echo(1) options like -n])
  7068. -])# _LT_DECL_SED
  7069. -
  7070. -m4_ifndef([AC_PROG_SED], [
  7071. -# NOTE: This macro has been submitted for inclusion into #
  7072. -# GNU Autoconf as AC_PROG_SED. When it is available in #
  7073. -# a released version of Autoconf we should remove this #
  7074. -# macro and use it instead. #
  7075. -
  7076. -m4_defun([AC_PROG_SED],
  7077. -[AC_MSG_CHECKING([for a sed that does not truncate output])
  7078. -AC_CACHE_VAL(lt_cv_path_SED,
  7079. -[# Loop through the user's path and test for sed and gsed.
  7080. -# Then use that list of sed's as ones to test for truncation.
  7081. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7082. -for as_dir in $PATH
  7083. -do
  7084. - IFS=$as_save_IFS
  7085. - test -z "$as_dir" && as_dir=.
  7086. - for lt_ac_prog in sed gsed; do
  7087. - for ac_exec_ext in '' $ac_executable_extensions; do
  7088. - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
  7089. - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  7090. - fi
  7091. - done
  7092. - done
  7093. -done
  7094. -IFS=$as_save_IFS
  7095. -lt_ac_max=0
  7096. -lt_ac_count=0
  7097. -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
  7098. -# along with /bin/sed that truncates output.
  7099. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  7100. - test ! -f $lt_ac_sed && continue
  7101. - cat /dev/null > conftest.in
  7102. - lt_ac_count=0
  7103. - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  7104. - # Check for GNU sed and select it if it is found.
  7105. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  7106. - lt_cv_path_SED=$lt_ac_sed
  7107. - break
  7108. - fi
  7109. - while true; do
  7110. - cat conftest.in conftest.in >conftest.tmp
  7111. - mv conftest.tmp conftest.in
  7112. - cp conftest.in conftest.nl
  7113. - echo >>conftest.nl
  7114. - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  7115. - cmp -s conftest.out conftest.nl || break
  7116. - # 10000 chars as input seems more than enough
  7117. - test $lt_ac_count -gt 10 && break
  7118. - lt_ac_count=`expr $lt_ac_count + 1`
  7119. - if test $lt_ac_count -gt $lt_ac_max; then
  7120. - lt_ac_max=$lt_ac_count
  7121. - lt_cv_path_SED=$lt_ac_sed
  7122. - fi
  7123. - done
  7124. -done
  7125. -])
  7126. -SED=$lt_cv_path_SED
  7127. -AC_SUBST([SED])
  7128. -AC_MSG_RESULT([$SED])
  7129. -])#AC_PROG_SED
  7130. -])#m4_ifndef
  7131. -
  7132. -# Old name:
  7133. -AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
  7134. -dnl aclocal-1.4 backwards compatibility:
  7135. -dnl AC_DEFUN([LT_AC_PROG_SED], [])
  7136. -
  7137. -
  7138. -# _LT_CHECK_SHELL_FEATURES
  7139. -# ------------------------
  7140. -# Find out whether the shell is Bourne or XSI compatible,
  7141. -# or has some other useful features.
  7142. -m4_defun([_LT_CHECK_SHELL_FEATURES],
  7143. -[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
  7144. -# Try some XSI features
  7145. -xsi_shell=no
  7146. -( _lt_dummy="a/b/c"
  7147. - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  7148. - = c,a/b,, \
  7149. - && eval 'test $(( 1 + 1 )) -eq 2 \
  7150. - && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  7151. - && xsi_shell=yes
  7152. -AC_MSG_RESULT([$xsi_shell])
  7153. -_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
  7154. -
  7155. -AC_MSG_CHECKING([whether the shell understands "+="])
  7156. -lt_shell_append=no
  7157. -( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
  7158. - >/dev/null 2>&1 \
  7159. - && lt_shell_append=yes
  7160. -AC_MSG_RESULT([$lt_shell_append])
  7161. -_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
  7162. -
  7163. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  7164. - lt_unset=unset
  7165. -else
  7166. - lt_unset=false
  7167. -fi
  7168. -_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
  7169. -
  7170. -# test EBCDIC or ASCII
  7171. -case `echo X|tr X '\101'` in
  7172. - A) # ASCII based system
  7173. - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  7174. - lt_SP2NL='tr \040 \012'
  7175. - lt_NL2SP='tr \015\012 \040\040'
  7176. - ;;
  7177. - *) # EBCDIC based system
  7178. - lt_SP2NL='tr \100 \n'
  7179. - lt_NL2SP='tr \r\n \100\100'
  7180. - ;;
  7181. -esac
  7182. -_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
  7183. -_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
  7184. -])# _LT_CHECK_SHELL_FEATURES
  7185. -
  7186. -
  7187. -# _LT_PROG_XSI_SHELLFNS
  7188. -# ---------------------
  7189. -# Bourne and XSI compatible variants of some useful shell functions.
  7190. -m4_defun([_LT_PROG_XSI_SHELLFNS],
  7191. -[case $xsi_shell in
  7192. - yes)
  7193. - cat << \_LT_EOF >> "$cfgfile"
  7194. -
  7195. -# func_dirname file append nondir_replacement
  7196. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  7197. -# otherwise set result to NONDIR_REPLACEMENT.
  7198. -func_dirname ()
  7199. -{
  7200. - case ${1} in
  7201. - */*) func_dirname_result="${1%/*}${2}" ;;
  7202. - * ) func_dirname_result="${3}" ;;
  7203. - esac
  7204. -}
  7205. -
  7206. -# func_basename file
  7207. -func_basename ()
  7208. -{
  7209. - func_basename_result="${1##*/}"
  7210. -}
  7211. -
  7212. -# func_dirname_and_basename file append nondir_replacement
  7213. -# perform func_basename and func_dirname in a single function
  7214. -# call:
  7215. -# dirname: Compute the dirname of FILE. If nonempty,
  7216. -# add APPEND to the result, otherwise set result
  7217. -# to NONDIR_REPLACEMENT.
  7218. -# value returned in "$func_dirname_result"
  7219. -# basename: Compute filename of FILE.
  7220. -# value retuned in "$func_basename_result"
  7221. -# Implementation must be kept synchronized with func_dirname
  7222. -# and func_basename. For efficiency, we do not delegate to
  7223. -# those functions but instead duplicate the functionality here.
  7224. -func_dirname_and_basename ()
  7225. -{
  7226. - case ${1} in
  7227. - */*) func_dirname_result="${1%/*}${2}" ;;
  7228. - * ) func_dirname_result="${3}" ;;
  7229. - esac
  7230. - func_basename_result="${1##*/}"
  7231. -}
  7232. -
  7233. -# func_stripname prefix suffix name
  7234. -# strip PREFIX and SUFFIX off of NAME.
  7235. -# PREFIX and SUFFIX must not contain globbing or regex special
  7236. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  7237. -# dot (in which case that matches only a dot).
  7238. -func_stripname ()
  7239. -{
  7240. - # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  7241. - # positional parameters, so assign one to ordinary parameter first.
  7242. - func_stripname_result=${3}
  7243. - func_stripname_result=${func_stripname_result#"${1}"}
  7244. - func_stripname_result=${func_stripname_result%"${2}"}
  7245. -}
  7246. -
  7247. -# func_opt_split
  7248. -func_opt_split ()
  7249. -{
  7250. - func_opt_split_opt=${1%%=*}
  7251. - func_opt_split_arg=${1#*=}
  7252. -}
  7253. -
  7254. -# func_lo2o object
  7255. -func_lo2o ()
  7256. -{
  7257. - case ${1} in
  7258. - *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  7259. - *) func_lo2o_result=${1} ;;
  7260. - esac
  7261. -}
  7262. -
  7263. -# func_xform libobj-or-source
  7264. -func_xform ()
  7265. -{
  7266. - func_xform_result=${1%.*}.lo
  7267. -}
  7268. -
  7269. -# func_arith arithmetic-term...
  7270. -func_arith ()
  7271. -{
  7272. - func_arith_result=$(( $[*] ))
  7273. -}
  7274. -
  7275. -# func_len string
  7276. -# STRING may not start with a hyphen.
  7277. -func_len ()
  7278. -{
  7279. - func_len_result=${#1}
  7280. -}
  7281. -
  7282. -_LT_EOF
  7283. - ;;
  7284. - *) # Bourne compatible functions.
  7285. - cat << \_LT_EOF >> "$cfgfile"
  7286. -
  7287. -# func_dirname file append nondir_replacement
  7288. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  7289. -# otherwise set result to NONDIR_REPLACEMENT.
  7290. -func_dirname ()
  7291. -{
  7292. - # Extract subdirectory from the argument.
  7293. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  7294. - if test "X$func_dirname_result" = "X${1}"; then
  7295. - func_dirname_result="${3}"
  7296. - else
  7297. - func_dirname_result="$func_dirname_result${2}"
  7298. - fi
  7299. -}
  7300. -
  7301. -# func_basename file
  7302. -func_basename ()
  7303. -{
  7304. - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  7305. -}
  7306. -
  7307. -dnl func_dirname_and_basename
  7308. -dnl A portable version of this function is already defined in general.m4sh
  7309. -dnl so there is no need for it here.
  7310. -
  7311. -# func_stripname prefix suffix name
  7312. -# strip PREFIX and SUFFIX off of NAME.
  7313. -# PREFIX and SUFFIX must not contain globbing or regex special
  7314. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  7315. -# dot (in which case that matches only a dot).
  7316. -# func_strip_suffix prefix name
  7317. -func_stripname ()
  7318. -{
  7319. - case ${2} in
  7320. - .*) func_stripname_result=`$ECHO "X${3}" \
  7321. - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  7322. - *) func_stripname_result=`$ECHO "X${3}" \
  7323. - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  7324. - esac
  7325. -}
  7326. -
  7327. -# sed scripts:
  7328. -my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
  7329. -my_sed_long_arg='1s/^-[[^=]]*=//'
  7330. -
  7331. -# func_opt_split
  7332. -func_opt_split ()
  7333. -{
  7334. - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  7335. - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  7336. -}
  7337. -
  7338. -# func_lo2o object
  7339. -func_lo2o ()
  7340. -{
  7341. - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  7342. -}
  7343. -
  7344. -# func_xform libobj-or-source
  7345. -func_xform ()
  7346. -{
  7347. - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
  7348. -}
  7349. -
  7350. -# func_arith arithmetic-term...
  7351. -func_arith ()
  7352. -{
  7353. - func_arith_result=`expr "$[@]"`
  7354. -}
  7355. -
  7356. -# func_len string
  7357. -# STRING may not start with a hyphen.
  7358. -func_len ()
  7359. -{
  7360. - func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
  7361. -}
  7362. -
  7363. -_LT_EOF
  7364. -esac
  7365. -
  7366. -case $lt_shell_append in
  7367. - yes)
  7368. - cat << \_LT_EOF >> "$cfgfile"
  7369. -
  7370. -# func_append var value
  7371. -# Append VALUE to the end of shell variable VAR.
  7372. -func_append ()
  7373. -{
  7374. - eval "$[1]+=\$[2]"
  7375. -}
  7376. -_LT_EOF
  7377. - ;;
  7378. - *)
  7379. - cat << \_LT_EOF >> "$cfgfile"
  7380. -
  7381. -# func_append var value
  7382. -# Append VALUE to the end of shell variable VAR.
  7383. -func_append ()
  7384. -{
  7385. - eval "$[1]=\$$[1]\$[2]"
  7386. -}
  7387. -
  7388. -_LT_EOF
  7389. - ;;
  7390. - esac
  7391. -])
  7392. -
  7393. -# Helper functions for option handling. -*- Autoconf -*-
  7394. -#
  7395. -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  7396. -# Written by Gary V. Vaughan, 2004
  7397. -#
  7398. -# This file is free software; the Free Software Foundation gives
  7399. -# unlimited permission to copy and/or distribute it, with or without
  7400. -# modifications, as long as this notice is preserved.
  7401. -
  7402. -# serial 6 ltoptions.m4
  7403. -
  7404. -# This is to help aclocal find these macros, as it can't see m4_define.
  7405. -AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
  7406. -
  7407. -
  7408. -# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
  7409. -# ------------------------------------------
  7410. -m4_define([_LT_MANGLE_OPTION],
  7411. -[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
  7412. -
  7413. -
  7414. -# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
  7415. -# ---------------------------------------
  7416. -# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
  7417. -# matching handler defined, dispatch to it. Other OPTION-NAMEs are
  7418. -# saved as a flag.
  7419. -m4_define([_LT_SET_OPTION],
  7420. -[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
  7421. -m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
  7422. - _LT_MANGLE_DEFUN([$1], [$2]),
  7423. - [m4_warning([Unknown $1 option `$2'])])[]dnl
  7424. -])
  7425. -
  7426. -
  7427. -# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
  7428. -# ------------------------------------------------------------
  7429. -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
  7430. -m4_define([_LT_IF_OPTION],
  7431. -[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
  7432. -
  7433. -
  7434. -# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
  7435. -# -------------------------------------------------------
  7436. -# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
  7437. -# are set.
  7438. -m4_define([_LT_UNLESS_OPTIONS],
  7439. -[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
  7440. - [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
  7441. - [m4_define([$0_found])])])[]dnl
  7442. -m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
  7443. -])[]dnl
  7444. -])
  7445. -
  7446. -
  7447. -# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
  7448. -# ----------------------------------------
  7449. -# OPTION-LIST is a space-separated list of Libtool options associated
  7450. -# with MACRO-NAME. If any OPTION has a matching handler declared with
  7451. -# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
  7452. -# the unknown option and exit.
  7453. -m4_defun([_LT_SET_OPTIONS],
  7454. -[# Set options
  7455. -m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
  7456. - [_LT_SET_OPTION([$1], _LT_Option)])
  7457. -
  7458. -m4_if([$1],[LT_INIT],[
  7459. - dnl
  7460. - dnl Simply set some default values (i.e off) if boolean options were not
  7461. - dnl specified:
  7462. - _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
  7463. - ])
  7464. - _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
  7465. - ])
  7466. - dnl
  7467. - dnl If no reference was made to various pairs of opposing options, then
  7468. - dnl we run the default mode handler for the pair. For example, if neither
  7469. - dnl `shared' nor `disable-shared' was passed, we enable building of shared
  7470. - dnl archives by default:
  7471. - _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
  7472. - _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
  7473. - _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
  7474. - _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
  7475. - [_LT_ENABLE_FAST_INSTALL])
  7476. - ])
  7477. -])# _LT_SET_OPTIONS
  7478. -
  7479. -
  7480. -
  7481. -# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
  7482. -# -----------------------------------------
  7483. -m4_define([_LT_MANGLE_DEFUN],
  7484. -[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
  7485. -
  7486. -
  7487. -# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
  7488. -# -----------------------------------------------
  7489. -m4_define([LT_OPTION_DEFINE],
  7490. -[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
  7491. -])# LT_OPTION_DEFINE
  7492. -
  7493. -
  7494. -# dlopen
  7495. -# ------
  7496. -LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
  7497. -])
  7498. -
  7499. -AU_DEFUN([AC_LIBTOOL_DLOPEN],
  7500. -[_LT_SET_OPTION([LT_INIT], [dlopen])
  7501. -AC_DIAGNOSE([obsolete],
  7502. -[$0: Remove this warning and the call to _LT_SET_OPTION when you
  7503. -put the `dlopen' option into LT_INIT's first parameter.])
  7504. -])
  7505. -
  7506. -dnl aclocal-1.4 backwards compatibility:
  7507. -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
  7508. -
  7509. -
  7510. -# win32-dll
  7511. -# ---------
  7512. -# Declare package support for building win32 dll's.
  7513. -LT_OPTION_DEFINE([LT_INIT], [win32-dll],
  7514. -[enable_win32_dll=yes
  7515. -
  7516. -case $host in
  7517. -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  7518. - AC_CHECK_TOOL(AS, as, false)
  7519. - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  7520. - AC_CHECK_TOOL(OBJDUMP, objdump, false)
  7521. - ;;
  7522. -esac
  7523. -
  7524. -test -z "$AS" && AS=as
  7525. -_LT_DECL([], [AS], [0], [Assembler program])dnl
  7526. -
  7527. -test -z "$DLLTOOL" && DLLTOOL=dlltool
  7528. -_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
  7529. -
  7530. -test -z "$OBJDUMP" && OBJDUMP=objdump
  7531. -_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
  7532. -])# win32-dll
  7533. -
  7534. -AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
  7535. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  7536. -_LT_SET_OPTION([LT_INIT], [win32-dll])
  7537. -AC_DIAGNOSE([obsolete],
  7538. -[$0: Remove this warning and the call to _LT_SET_OPTION when you
  7539. -put the `win32-dll' option into LT_INIT's first parameter.])
  7540. -])
  7541. -
  7542. -dnl aclocal-1.4 backwards compatibility:
  7543. -dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
  7544. -
  7545. -
  7546. -# _LT_ENABLE_SHARED([DEFAULT])
  7547. -# ----------------------------
  7548. -# implement the --enable-shared flag, and supports the `shared' and
  7549. -# `disable-shared' LT_INIT options.
  7550. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  7551. -m4_define([_LT_ENABLE_SHARED],
  7552. -[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
  7553. -AC_ARG_ENABLE([shared],
  7554. - [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
  7555. - [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
  7556. - [p=${PACKAGE-default}
  7557. - case $enableval in
  7558. - yes) enable_shared=yes ;;
  7559. - no) enable_shared=no ;;
  7560. - *)
  7561. - enable_shared=no
  7562. - # Look at the argument we got. We use all the common list separators.
  7563. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7564. - for pkg in $enableval; do
  7565. - IFS="$lt_save_ifs"
  7566. - if test "X$pkg" = "X$p"; then
  7567. - enable_shared=yes
  7568. - fi
  7569. - done
  7570. - IFS="$lt_save_ifs"
  7571. - ;;
  7572. - esac],
  7573. - [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
  7574. -
  7575. - _LT_DECL([build_libtool_libs], [enable_shared], [0],
  7576. - [Whether or not to build shared libraries])
  7577. -])# _LT_ENABLE_SHARED
  7578. -
  7579. -LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
  7580. -LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
  7581. -
  7582. -# Old names:
  7583. -AC_DEFUN([AC_ENABLE_SHARED],
  7584. -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
  7585. -])
  7586. -
  7587. -AC_DEFUN([AC_DISABLE_SHARED],
  7588. -[_LT_SET_OPTION([LT_INIT], [disable-shared])
  7589. -])
  7590. -
  7591. -AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  7592. -AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  7593. -
  7594. -dnl aclocal-1.4 backwards compatibility:
  7595. -dnl AC_DEFUN([AM_ENABLE_SHARED], [])
  7596. -dnl AC_DEFUN([AM_DISABLE_SHARED], [])
  7597. -
  7598. -
  7599. -
  7600. -# _LT_ENABLE_STATIC([DEFAULT])
  7601. -# ----------------------------
  7602. -# implement the --enable-static flag, and support the `static' and
  7603. -# `disable-static' LT_INIT options.
  7604. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  7605. -m4_define([_LT_ENABLE_STATIC],
  7606. -[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
  7607. -AC_ARG_ENABLE([static],
  7608. - [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
  7609. - [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
  7610. - [p=${PACKAGE-default}
  7611. - case $enableval in
  7612. - yes) enable_static=yes ;;
  7613. - no) enable_static=no ;;
  7614. - *)
  7615. - enable_static=no
  7616. - # Look at the argument we got. We use all the common list separators.
  7617. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7618. - for pkg in $enableval; do
  7619. - IFS="$lt_save_ifs"
  7620. - if test "X$pkg" = "X$p"; then
  7621. - enable_static=yes
  7622. - fi
  7623. - done
  7624. - IFS="$lt_save_ifs"
  7625. - ;;
  7626. - esac],
  7627. - [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
  7628. -
  7629. - _LT_DECL([build_old_libs], [enable_static], [0],
  7630. - [Whether or not to build static libraries])
  7631. -])# _LT_ENABLE_STATIC
  7632. -
  7633. -LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
  7634. -LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
  7635. -
  7636. -# Old names:
  7637. -AC_DEFUN([AC_ENABLE_STATIC],
  7638. -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
  7639. -])
  7640. -
  7641. -AC_DEFUN([AC_DISABLE_STATIC],
  7642. -[_LT_SET_OPTION([LT_INIT], [disable-static])
  7643. -])
  7644. -
  7645. -AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  7646. -AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  7647. -
  7648. -dnl aclocal-1.4 backwards compatibility:
  7649. -dnl AC_DEFUN([AM_ENABLE_STATIC], [])
  7650. -dnl AC_DEFUN([AM_DISABLE_STATIC], [])
  7651. -
  7652. -
  7653. -
  7654. -# _LT_ENABLE_FAST_INSTALL([DEFAULT])
  7655. -# ----------------------------------
  7656. -# implement the --enable-fast-install flag, and support the `fast-install'
  7657. -# and `disable-fast-install' LT_INIT options.
  7658. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  7659. -m4_define([_LT_ENABLE_FAST_INSTALL],
  7660. -[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
  7661. -AC_ARG_ENABLE([fast-install],
  7662. - [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
  7663. - [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
  7664. - [p=${PACKAGE-default}
  7665. - case $enableval in
  7666. - yes) enable_fast_install=yes ;;
  7667. - no) enable_fast_install=no ;;
  7668. - *)
  7669. - enable_fast_install=no
  7670. - # Look at the argument we got. We use all the common list separators.
  7671. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7672. - for pkg in $enableval; do
  7673. - IFS="$lt_save_ifs"
  7674. - if test "X$pkg" = "X$p"; then
  7675. - enable_fast_install=yes
  7676. - fi
  7677. - done
  7678. - IFS="$lt_save_ifs"
  7679. - ;;
  7680. - esac],
  7681. - [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
  7682. -
  7683. -_LT_DECL([fast_install], [enable_fast_install], [0],
  7684. - [Whether or not to optimize for fast installation])dnl
  7685. -])# _LT_ENABLE_FAST_INSTALL
  7686. -
  7687. -LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
  7688. -LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
  7689. -
  7690. -# Old names:
  7691. -AU_DEFUN([AC_ENABLE_FAST_INSTALL],
  7692. -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  7693. -AC_DIAGNOSE([obsolete],
  7694. -[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  7695. -the `fast-install' option into LT_INIT's first parameter.])
  7696. -])
  7697. -
  7698. -AU_DEFUN([AC_DISABLE_FAST_INSTALL],
  7699. -[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  7700. -AC_DIAGNOSE([obsolete],
  7701. -[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  7702. -the `disable-fast-install' option into LT_INIT's first parameter.])
  7703. -])
  7704. -
  7705. -dnl aclocal-1.4 backwards compatibility:
  7706. -dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
  7707. -dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
  7708. -
  7709. -
  7710. -# _LT_WITH_PIC([MODE])
  7711. -# --------------------
  7712. -# implement the --with-pic flag, and support the `pic-only' and `no-pic'
  7713. -# LT_INIT options.
  7714. -# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
  7715. -m4_define([_LT_WITH_PIC],
  7716. -[AC_ARG_WITH([pic],
  7717. - [AS_HELP_STRING([--with-pic],
  7718. - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
  7719. - [pic_mode="$withval"],
  7720. - [pic_mode=default])
  7721. -
  7722. -test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
  7723. -
  7724. -_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
  7725. -])# _LT_WITH_PIC
  7726. -
  7727. -LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
  7728. -LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
  7729. -
  7730. -# Old name:
  7731. -AU_DEFUN([AC_LIBTOOL_PICMODE],
  7732. -[_LT_SET_OPTION([LT_INIT], [pic-only])
  7733. -AC_DIAGNOSE([obsolete],
  7734. -[$0: Remove this warning and the call to _LT_SET_OPTION when you
  7735. -put the `pic-only' option into LT_INIT's first parameter.])
  7736. -])
  7737. -
  7738. -dnl aclocal-1.4 backwards compatibility:
  7739. -dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
  7740. -
  7741. -
  7742. -m4_define([_LTDL_MODE], [])
  7743. -LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
  7744. - [m4_define([_LTDL_MODE], [nonrecursive])])
  7745. -LT_OPTION_DEFINE([LTDL_INIT], [recursive],
  7746. - [m4_define([_LTDL_MODE], [recursive])])
  7747. -LT_OPTION_DEFINE([LTDL_INIT], [subproject],
  7748. - [m4_define([_LTDL_MODE], [subproject])])
  7749. -
  7750. -m4_define([_LTDL_TYPE], [])
  7751. -LT_OPTION_DEFINE([LTDL_INIT], [installable],
  7752. - [m4_define([_LTDL_TYPE], [installable])])
  7753. -LT_OPTION_DEFINE([LTDL_INIT], [convenience],
  7754. - [m4_define([_LTDL_TYPE], [convenience])])
  7755. -
  7756. -# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
  7757. -#
  7758. -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  7759. -# Written by Gary V. Vaughan, 2004
  7760. -#
  7761. -# This file is free software; the Free Software Foundation gives
  7762. -# unlimited permission to copy and/or distribute it, with or without
  7763. -# modifications, as long as this notice is preserved.
  7764. -
  7765. -# serial 6 ltsugar.m4
  7766. -
  7767. -# This is to help aclocal find these macros, as it can't see m4_define.
  7768. -AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
  7769. -
  7770. -
  7771. -# lt_join(SEP, ARG1, [ARG2...])
  7772. -# -----------------------------
  7773. -# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
  7774. -# associated separator.
  7775. -# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
  7776. -# versions in m4sugar had bugs.
  7777. -m4_define([lt_join],
  7778. -[m4_if([$#], [1], [],
  7779. - [$#], [2], [[$2]],
  7780. - [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
  7781. -m4_define([_lt_join],
  7782. -[m4_if([$#$2], [2], [],
  7783. - [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
  7784. -
  7785. -
  7786. -# lt_car(LIST)
  7787. -# lt_cdr(LIST)
  7788. -# ------------
  7789. -# Manipulate m4 lists.
  7790. -# These macros are necessary as long as will still need to support
  7791. -# Autoconf-2.59 which quotes differently.
  7792. -m4_define([lt_car], [[$1]])
  7793. -m4_define([lt_cdr],
  7794. -[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
  7795. - [$#], 1, [],
  7796. - [m4_dquote(m4_shift($@))])])
  7797. -m4_define([lt_unquote], $1)
  7798. -
  7799. -
  7800. -# lt_append(MACRO-NAME, STRING, [SEPARATOR])
  7801. -# ------------------------------------------
  7802. -# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
  7803. -# Note that neither SEPARATOR nor STRING are expanded; they are appended
  7804. -# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
  7805. -# No SEPARATOR is output if MACRO-NAME was previously undefined (different
  7806. -# than defined and empty).
  7807. -#
  7808. -# This macro is needed until we can rely on Autoconf 2.62, since earlier
  7809. -# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
  7810. -m4_define([lt_append],
  7811. -[m4_define([$1],
  7812. - m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
  7813. -
  7814. -
  7815. -
  7816. -# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
  7817. -# ----------------------------------------------------------
  7818. -# Produce a SEP delimited list of all paired combinations of elements of
  7819. -# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
  7820. -# has the form PREFIXmINFIXSUFFIXn.
  7821. -# Needed until we can rely on m4_combine added in Autoconf 2.62.
  7822. -m4_define([lt_combine],
  7823. -[m4_if(m4_eval([$# > 3]), [1],
  7824. - [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
  7825. -[[m4_foreach([_Lt_prefix], [$2],
  7826. - [m4_foreach([_Lt_suffix],
  7827. - ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
  7828. - [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
  7829. -
  7830. -
  7831. -# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
  7832. -# -----------------------------------------------------------------------
  7833. -# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
  7834. -# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
  7835. -m4_define([lt_if_append_uniq],
  7836. -[m4_ifdef([$1],
  7837. - [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
  7838. - [lt_append([$1], [$2], [$3])$4],
  7839. - [$5])],
  7840. - [lt_append([$1], [$2], [$3])$4])])
  7841. -
  7842. -
  7843. -# lt_dict_add(DICT, KEY, VALUE)
  7844. -# -----------------------------
  7845. -m4_define([lt_dict_add],
  7846. -[m4_define([$1($2)], [$3])])
  7847. -
  7848. -
  7849. -# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
  7850. -# --------------------------------------------
  7851. -m4_define([lt_dict_add_subkey],
  7852. -[m4_define([$1($2:$3)], [$4])])
  7853. -
  7854. -
  7855. -# lt_dict_fetch(DICT, KEY, [SUBKEY])
  7856. -# ----------------------------------
  7857. -m4_define([lt_dict_fetch],
  7858. -[m4_ifval([$3],
  7859. - m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
  7860. - m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
  7861. -
  7862. -
  7863. -# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
  7864. -# -----------------------------------------------------------------
  7865. -m4_define([lt_if_dict_fetch],
  7866. -[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
  7867. - [$5],
  7868. - [$6])])
  7869. -
  7870. -
  7871. -# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
  7872. -# --------------------------------------------------------------
  7873. -m4_define([lt_dict_filter],
  7874. -[m4_if([$5], [], [],
  7875. - [lt_join(m4_quote(m4_default([$4], [[, ]])),
  7876. - lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
  7877. - [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
  7878. -])
  7879. -
  7880. -# ltversion.m4 -- version numbers -*- Autoconf -*-
  7881. -#
  7882. -# Copyright (C) 2004 Free Software Foundation, Inc.
  7883. -# Written by Scott James Remnant, 2004
  7884. -#
  7885. -# This file is free software; the Free Software Foundation gives
  7886. -# unlimited permission to copy and/or distribute it, with or without
  7887. -# modifications, as long as this notice is preserved.
  7888. -
  7889. -# Generated from ltversion.in.
  7890. -
  7891. -# serial 3017 ltversion.m4
  7892. -# This file is part of GNU Libtool
  7893. -
  7894. -m4_define([LT_PACKAGE_VERSION], [2.2.6b])
  7895. -m4_define([LT_PACKAGE_REVISION], [1.3017])
  7896. -
  7897. -AC_DEFUN([LTVERSION_VERSION],
  7898. -[macro_version='2.2.6b'
  7899. -macro_revision='1.3017'
  7900. -_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  7901. -_LT_DECL(, macro_revision, 0)
  7902. -])
  7903. -
  7904. -# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
  7905. -#
  7906. -# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
  7907. -# Written by Scott James Remnant, 2004.
  7908. -#
  7909. -# This file is free software; the Free Software Foundation gives
  7910. -# unlimited permission to copy and/or distribute it, with or without
  7911. -# modifications, as long as this notice is preserved.
  7912. -
  7913. -# serial 4 lt~obsolete.m4
  7914. -
  7915. -# These exist entirely to fool aclocal when bootstrapping libtool.
  7916. -#
  7917. -# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
  7918. -# which have later been changed to m4_define as they aren't part of the
  7919. -# exported API, or moved to Autoconf or Automake where they belong.
  7920. -#
  7921. -# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
  7922. -# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
  7923. -# using a macro with the same name in our local m4/libtool.m4 it'll
  7924. -# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
  7925. -# and doesn't know about Autoconf macros at all.)
  7926. -#
  7927. -# So we provide this file, which has a silly filename so it's always
  7928. -# included after everything else. This provides aclocal with the
  7929. -# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
  7930. -# because those macros already exist, or will be overwritten later.
  7931. -# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
  7932. -#
  7933. -# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
  7934. -# Yes, that means every name once taken will need to remain here until
  7935. -# we give up compatibility with versions before 1.7, at which point
  7936. -# we need to keep only those names which we still refer to.
  7937. -
  7938. -# This is to help aclocal find these macros, as it can't see m4_define.
  7939. -AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
  7940. -
  7941. -m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
  7942. -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
  7943. -m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
  7944. -m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
  7945. -m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
  7946. -m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
  7947. -m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
  7948. -m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
  7949. -m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
  7950. -m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
  7951. -m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
  7952. -m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
  7953. -m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
  7954. -m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
  7955. -m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
  7956. -m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
  7957. -m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
  7958. -m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
  7959. -m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
  7960. -m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
  7961. -m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
  7962. -m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
  7963. -m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
  7964. -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
  7965. -m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
  7966. -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
  7967. -m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
  7968. -m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
  7969. -m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
  7970. -m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
  7971. -m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
  7972. -m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
  7973. -m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
  7974. -m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
  7975. -m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
  7976. -m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
  7977. -m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
  7978. -m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
  7979. -m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
  7980. -m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
  7981. -m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
  7982. -m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
  7983. -m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
  7984. -m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
  7985. -m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
  7986. -m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
  7987. -m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
  7988. -m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
  7989. -m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
  7990. -m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
  7991. -m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
  7992. -m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
  7993. -m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
  7994. -m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
  7995. -m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
  7996. -
  7997. -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  7998. +# Copyright (C) 2002-2018 Free Software Foundation, Inc.
  7999. #
  8000. # This file is free software; the Free Software Foundation
  8001. # gives unlimited permission to copy and/or distribute it,
  8002. @@ -7997,10 +32,10 @@
  8003. # generated from the m4 files accompanying Automake X.Y.
  8004. # (This private macro should not be called outside this file.)
  8005. AC_DEFUN([AM_AUTOMAKE_VERSION],
  8006. -[am__api_version='1.11'
  8007. +[am__api_version='1.16'
  8008. dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  8009. dnl require some minimum version. Point them to the right macro.
  8010. -m4_if([$1], [1.11.1], [],
  8011. +m4_if([$1], [1.16.1], [],
  8012. [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  8013. ])
  8014.  
  8015. @@ -8016,22 +51,22 @@
  8016. # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  8017. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  8018. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  8019. -[AM_AUTOMAKE_VERSION([1.11.1])dnl
  8020. +[AM_AUTOMAKE_VERSION([1.16.1])dnl
  8021. m4_ifndef([AC_AUTOCONF_VERSION],
  8022. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  8023. _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  8024.  
  8025. # AM_AUX_DIR_EXPAND -*- Autoconf -*-
  8026.  
  8027. -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  8028. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  8029. #
  8030. # This file is free software; the Free Software Foundation
  8031. # gives unlimited permission to copy and/or distribute it,
  8032. # with or without modifications, as long as this notice is preserved.
  8033.  
  8034. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
  8035. -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
  8036. -# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
  8037. +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
  8038. +# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
  8039. #
  8040. # Of course, Automake must honor this variable whenever it calls a
  8041. # tool from the auxiliary directory. The problem is that $srcdir (and
  8042. @@ -8050,7 +85,7 @@
  8043. #
  8044. # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
  8045. # are both prefixed by $srcdir. In an in-source build this is usually
  8046. -# harmless because $srcdir is `.', but things will broke when you
  8047. +# harmless because $srcdir is '.', but things will broke when you
  8048. # start a VPATH build or use an absolute $srcdir.
  8049. #
  8050. # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
  8051. @@ -8068,30 +103,26 @@
  8052. # configured tree to be moved without reconfiguration.
  8053.  
  8054. AC_DEFUN([AM_AUX_DIR_EXPAND],
  8055. -[dnl Rely on autoconf to set up CDPATH properly.
  8056. -AC_PREREQ([2.50])dnl
  8057. -# expand $ac_aux_dir to an absolute path
  8058. -am_aux_dir=`cd $ac_aux_dir && pwd`
  8059. +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  8060. +# Expand $ac_aux_dir to an absolute path.
  8061. +am_aux_dir=`cd "$ac_aux_dir" && pwd`
  8062. ])
  8063.  
  8064. # AM_CONDITIONAL -*- Autoconf -*-
  8065.  
  8066. -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
  8067. -# Free Software Foundation, Inc.
  8068. +# Copyright (C) 1997-2018 Free Software Foundation, Inc.
  8069. #
  8070. # This file is free software; the Free Software Foundation
  8071. # gives unlimited permission to copy and/or distribute it,
  8072. # with or without modifications, as long as this notice is preserved.
  8073.  
  8074. -# serial 9
  8075. -
  8076. # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  8077. # -------------------------------------
  8078. # Define a conditional.
  8079. AC_DEFUN([AM_CONDITIONAL],
  8080. -[AC_PREREQ(2.52)dnl
  8081. - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  8082. - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  8083. +[AC_PREREQ([2.52])dnl
  8084. + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  8085. + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  8086. AC_SUBST([$1_TRUE])dnl
  8087. AC_SUBST([$1_FALSE])dnl
  8088. _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  8089. @@ -8110,16 +141,14 @@
  8090. Usually this means the macro was only invoked conditionally.]])
  8091. fi])])
  8092.  
  8093. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
  8094. -# Free Software Foundation, Inc.
  8095. +# Copyright (C) 1999-2018 Free Software Foundation, Inc.
  8096. #
  8097. # This file is free software; the Free Software Foundation
  8098. # gives unlimited permission to copy and/or distribute it,
  8099. # with or without modifications, as long as this notice is preserved.
  8100.  
  8101. -# serial 10
  8102.  
  8103. -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
  8104. +# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
  8105. # written in clear, in which case automake, when reading aclocal.m4,
  8106. # will think it sees a *use*, and therefore will trigger all it's
  8107. # C support machinery. Also note that it means that autoscan, seeing
  8108. @@ -8129,7 +158,7 @@
  8109. # _AM_DEPENDENCIES(NAME)
  8110. # ----------------------
  8111. # See how the compiler implements dependency checking.
  8112. -# NAME is "CC", "CXX", "GCJ", or "OBJC".
  8113. +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
  8114. # We try a few techniques and use that to set a single cache variable.
  8115. #
  8116. # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
  8117. @@ -8142,12 +171,13 @@
  8118. AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  8119. AC_REQUIRE([AM_DEP_TRACK])dnl
  8120.  
  8121. -ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
  8122. - [$1], CXX, [depcc="$CXX" am_compiler_list=],
  8123. - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  8124. - [$1], UPC, [depcc="$UPC" am_compiler_list=],
  8125. - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  8126. - [depcc="$$1" am_compiler_list=])
  8127. +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
  8128. + [$1], [CXX], [depcc="$CXX" am_compiler_list=],
  8129. + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  8130. + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
  8131. + [$1], [UPC], [depcc="$UPC" am_compiler_list=],
  8132. + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  8133. + [depcc="$$1" am_compiler_list=])
  8134.  
  8135. AC_CACHE_CHECK([dependency style of $depcc],
  8136. [am_cv_$1_dependencies_compiler_type],
  8137. @@ -8155,8 +185,9 @@
  8138. # We make a subdir and do the tests there. Otherwise we can end up
  8139. # making bogus files that we don't know about and never remove. For
  8140. # instance it was reported that on HP-UX the gcc test will end up
  8141. - # making a dummy file named `D' -- because `-MD' means `put the output
  8142. - # in D'.
  8143. + # making a dummy file named 'D' -- because '-MD' means "put the output
  8144. + # in D".
  8145. + rm -rf conftest.dir
  8146. mkdir conftest.dir
  8147. # Copy depcomp to subdir because otherwise we won't find it if we're
  8148. # using a relative directory.
  8149. @@ -8195,16 +226,16 @@
  8150. : > sub/conftest.c
  8151. for i in 1 2 3 4 5 6; do
  8152. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  8153. - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  8154. - # Solaris 8's {/usr,}/bin/sh.
  8155. - touch sub/conftst$i.h
  8156. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  8157. + # Solaris 10 /bin/sh.
  8158. + echo '/* dummy */' > sub/conftst$i.h
  8159. done
  8160. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  8161.  
  8162. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  8163. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  8164. # mode. It turns out that the SunPro C++ compiler does not properly
  8165. - # handle `-M -o', and we need to detect this. Also, some Intel
  8166. - # versions had trouble with output in subdirs
  8167. + # handle '-M -o', and we need to detect this. Also, some Intel
  8168. + # versions had trouble with output in subdirs.
  8169. am__obj=sub/conftest.${OBJEXT-o}
  8170. am__minus_obj="-o $am__obj"
  8171. case $depmode in
  8172. @@ -8213,16 +244,16 @@
  8173. test "$am__universal" = false || continue
  8174. ;;
  8175. nosideeffect)
  8176. - # after this tag, mechanisms are not by side-effect, so they'll
  8177. - # only be used when explicitly requested
  8178. + # After this tag, mechanisms are not by side-effect, so they'll
  8179. + # only be used when explicitly requested.
  8180. if test "x$enable_dependency_tracking" = xyes; then
  8181. continue
  8182. else
  8183. break
  8184. fi
  8185. ;;
  8186. - msvisualcpp | msvcmsys)
  8187. - # This compiler won't grok `-c -o', but also, the minuso test has
  8188. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  8189. + # This compiler won't grok '-c -o', but also, the minuso test has
  8190. # not run yet. These depmodes are late enough in the game, and
  8191. # so weak that their functioning should not be impacted.
  8192. am__obj=conftest.${OBJEXT-o}
  8193. @@ -8270,7 +301,7 @@
  8194. # AM_SET_DEPDIR
  8195. # -------------
  8196. # Choose a directory name for dependency files.
  8197. -# This macro is AC_REQUIREd in _AM_DEPENDENCIES
  8198. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
  8199. AC_DEFUN([AM_SET_DEPDIR],
  8200. [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  8201. AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  8202. @@ -8280,81 +311,75 @@
  8203. # AM_DEP_TRACK
  8204. # ------------
  8205. AC_DEFUN([AM_DEP_TRACK],
  8206. -[AC_ARG_ENABLE(dependency-tracking,
  8207. -[ --disable-dependency-tracking speeds up one-time build
  8208. - --enable-dependency-tracking do not reject slow dependency extractors])
  8209. +[AC_ARG_ENABLE([dependency-tracking], [dnl
  8210. +AS_HELP_STRING(
  8211. + [--enable-dependency-tracking],
  8212. + [do not reject slow dependency extractors])
  8213. +AS_HELP_STRING(
  8214. + [--disable-dependency-tracking],
  8215. + [speeds up one-time build])])
  8216. if test "x$enable_dependency_tracking" != xno; then
  8217. am_depcomp="$ac_aux_dir/depcomp"
  8218. AMDEPBACKSLASH='\'
  8219. + am__nodep='_no'
  8220. fi
  8221. AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  8222. AC_SUBST([AMDEPBACKSLASH])dnl
  8223. _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
  8224. +AC_SUBST([am__nodep])dnl
  8225. +_AM_SUBST_NOTMAKE([am__nodep])dnl
  8226. ])
  8227.  
  8228. # Generate code to set up dependency tracking. -*- Autoconf -*-
  8229.  
  8230. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
  8231. -# Free Software Foundation, Inc.
  8232. +# Copyright (C) 1999-2018 Free Software Foundation, Inc.
  8233. #
  8234. # This file is free software; the Free Software Foundation
  8235. # gives unlimited permission to copy and/or distribute it,
  8236. # with or without modifications, as long as this notice is preserved.
  8237.  
  8238. -#serial 5
  8239. -
  8240. # _AM_OUTPUT_DEPENDENCY_COMMANDS
  8241. # ------------------------------
  8242. AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
  8243. [{
  8244. - # Autoconf 2.62 quotes --file arguments for eval, but not when files
  8245. + # Older Autoconf quotes --file arguments for eval, but not when files
  8246. # are listed without --file. Let's play safe and only enable the eval
  8247. # if we detect the quoting.
  8248. - case $CONFIG_FILES in
  8249. - *\'*) eval set x "$CONFIG_FILES" ;;
  8250. - *) set x $CONFIG_FILES ;;
  8251. - esac
  8252. + # TODO: see whether this extra hack can be removed once we start
  8253. + # requiring Autoconf 2.70 or later.
  8254. + AS_CASE([$CONFIG_FILES],
  8255. + [*\'*], [eval set x "$CONFIG_FILES"],
  8256. + [*], [set x $CONFIG_FILES])
  8257. shift
  8258. - for mf
  8259. + # Used to flag and report bootstrapping failures.
  8260. + am_rc=0
  8261. + for am_mf
  8262. do
  8263. # Strip MF so we end up with the name of the file.
  8264. - mf=`echo "$mf" | sed -e 's/:.*$//'`
  8265. - # Check whether this is an Automake generated Makefile or not.
  8266. - # We used to match only the files named `Makefile.in', but
  8267. - # some people rename them; so instead we look at the file content.
  8268. - # Grep'ing the first line is not enough: some people post-process
  8269. - # each Makefile.in and add a new line on top of each file to say so.
  8270. - # Grep'ing the whole file is not good either: AIX grep has a line
  8271. + am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
  8272. + # Check whether this is an Automake generated Makefile which includes
  8273. + # dependency-tracking related rules and includes.
  8274. + # Grep'ing the whole file directly is not great: AIX grep has a line
  8275. # limit of 2048, but all sed's we know have understand at least 4000.
  8276. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  8277. - dirpart=`AS_DIRNAME("$mf")`
  8278. - else
  8279. - continue
  8280. - fi
  8281. - # Extract the definition of DEPDIR, am__include, and am__quote
  8282. - # from the Makefile without running `make'.
  8283. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  8284. - test -z "$DEPDIR" && continue
  8285. - am__include=`sed -n 's/^am__include = //p' < "$mf"`
  8286. - test -z "am__include" && continue
  8287. - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  8288. - # When using ansi2knr, U may be empty or an underscore; expand it
  8289. - U=`sed -n 's/^U = //p' < "$mf"`
  8290. - # Find all dependency output files, they are included files with
  8291. - # $(DEPDIR) in their names. We invoke sed twice because it is the
  8292. - # simplest approach to changing $(DEPDIR) to its actual value in the
  8293. - # expansion.
  8294. - for file in `sed -n "
  8295. - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  8296. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  8297. - # Make sure the directory exists.
  8298. - test -f "$dirpart/$file" && continue
  8299. - fdir=`AS_DIRNAME(["$file"])`
  8300. - AS_MKDIR_P([$dirpart/$fdir])
  8301. - # echo "creating $dirpart/$file"
  8302. - echo '# dummy' > "$dirpart/$file"
  8303. - done
  8304. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  8305. + || continue
  8306. + am_dirpart=`AS_DIRNAME(["$am_mf"])`
  8307. + am_filepart=`AS_BASENAME(["$am_mf"])`
  8308. + AM_RUN_LOG([cd "$am_dirpart" \
  8309. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  8310. + | $MAKE -f - am--depfiles]) || am_rc=$?
  8311. done
  8312. + if test $am_rc -ne 0; then
  8313. + AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
  8314. + for automatic dependency tracking. Try re-running configure with the
  8315. + '--disable-dependency-tracking' option to at least be able to build
  8316. + the package (albeit without support for automatic dependency tracking).])
  8317. + fi
  8318. + AS_UNSET([am_dirpart])
  8319. + AS_UNSET([am_filepart])
  8320. + AS_UNSET([am_mf])
  8321. + AS_UNSET([am_rc])
  8322. + rm -f conftest-deps.mk
  8323. }
  8324. ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
  8325.  
  8326. @@ -8363,41 +388,31 @@
  8327. # -----------------------------
  8328. # This macro should only be invoked once -- use via AC_REQUIRE.
  8329. #
  8330. -# This code is only required when automatic dependency tracking
  8331. -# is enabled. FIXME. This creates each `.P' file that we will
  8332. -# need in order to bootstrap the dependency handling code.
  8333. +# This code is only required when automatic dependency tracking is enabled.
  8334. +# This creates each '.Po' and '.Plo' makefile fragment that we'll need in
  8335. +# order to bootstrap the dependency handling code.
  8336. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
  8337. [AC_CONFIG_COMMANDS([depfiles],
  8338. [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
  8339. - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
  8340. -])
  8341. -
  8342. -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
  8343. -# Free Software Foundation, Inc.
  8344. -#
  8345. -# This file is free software; the Free Software Foundation
  8346. -# gives unlimited permission to copy and/or distribute it,
  8347. -# with or without modifications, as long as this notice is preserved.
  8348. -
  8349. -# serial 8
  8350. -
  8351. -# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
  8352. -AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
  8353. + [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
  8354.  
  8355. # Do all the work for Automake. -*- Autoconf -*-
  8356.  
  8357. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  8358. -# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
  8359. +# Copyright (C) 1996-2018 Free Software Foundation, Inc.
  8360. #
  8361. # This file is free software; the Free Software Foundation
  8362. # gives unlimited permission to copy and/or distribute it,
  8363. # with or without modifications, as long as this notice is preserved.
  8364.  
  8365. -# serial 16
  8366. -
  8367. # This macro actually does too much. Some checks are only needed if
  8368. # your package does certain things. But this isn't really a big deal.
  8369.  
  8370. +dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
  8371. +m4_define([AC_PROG_CC],
  8372. +m4_defn([AC_PROG_CC])
  8373. +[_AM_PROG_CC_C_O
  8374. +])
  8375. +
  8376. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
  8377. # AM_INIT_AUTOMAKE([OPTIONS])
  8378. # -----------------------------------------------
  8379. @@ -8410,7 +425,7 @@
  8380. # arguments mandatory, and then we can depend on a new Autoconf
  8381. # release and drop the old call support.
  8382. AC_DEFUN([AM_INIT_AUTOMAKE],
  8383. -[AC_PREREQ([2.62])dnl
  8384. +[AC_PREREQ([2.65])dnl
  8385. dnl Autoconf wants to disallow AM_ names. We explicitly allow
  8386. dnl the ones we care about.
  8387. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  8388. @@ -8439,33 +454,42 @@
  8389. # Define the identity of the package.
  8390. dnl Distinguish between old-style and new-style calls.
  8391. m4_ifval([$2],
  8392. -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  8393. +[AC_DIAGNOSE([obsolete],
  8394. + [$0: two- and three-arguments forms are deprecated.])
  8395. +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  8396. AC_SUBST([PACKAGE], [$1])dnl
  8397. AC_SUBST([VERSION], [$2])],
  8398. [_AM_SET_OPTIONS([$1])dnl
  8399. dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  8400. -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
  8401. +m4_if(
  8402. + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
  8403. + [ok:ok],,
  8404. [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  8405. AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  8406. AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  8407.  
  8408. _AM_IF_OPTION([no-define],,
  8409. -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
  8410. - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
  8411. +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  8412. + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
  8413.  
  8414. # Some tools Automake needs.
  8415. AC_REQUIRE([AM_SANITY_CHECK])dnl
  8416. AC_REQUIRE([AC_ARG_PROGRAM])dnl
  8417. -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
  8418. -AM_MISSING_PROG(AUTOCONF, autoconf)
  8419. -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  8420. -AM_MISSING_PROG(AUTOHEADER, autoheader)
  8421. -AM_MISSING_PROG(MAKEINFO, makeinfo)
  8422. +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  8423. +AM_MISSING_PROG([AUTOCONF], [autoconf])
  8424. +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  8425. +AM_MISSING_PROG([AUTOHEADER], [autoheader])
  8426. +AM_MISSING_PROG([MAKEINFO], [makeinfo])
  8427. AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  8428. AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  8429. -AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  8430. -# We need awk for the "check" target. The system "awk" is bad on
  8431. -# some platforms.
  8432. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  8433. +# For better backward compatibility. To be removed once Automake 1.9.x
  8434. +# dies out for good. For more background, see:
  8435. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  8436. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  8437. +AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  8438. +# We need awk for the "check" target (and possibly the TAP driver). The
  8439. +# system "awk" is bad on some platforms.
  8440. AC_REQUIRE([AC_PROG_AWK])dnl
  8441. AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  8442. AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  8443. @@ -8474,34 +498,82 @@
  8444. [_AM_PROG_TAR([v7])])])
  8445. _AM_IF_OPTION([no-dependencies],,
  8446. [AC_PROVIDE_IFELSE([AC_PROG_CC],
  8447. - [_AM_DEPENDENCIES(CC)],
  8448. - [define([AC_PROG_CC],
  8449. - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  8450. + [_AM_DEPENDENCIES([CC])],
  8451. + [m4_define([AC_PROG_CC],
  8452. + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  8453. AC_PROVIDE_IFELSE([AC_PROG_CXX],
  8454. - [_AM_DEPENDENCIES(CXX)],
  8455. - [define([AC_PROG_CXX],
  8456. - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  8457. + [_AM_DEPENDENCIES([CXX])],
  8458. + [m4_define([AC_PROG_CXX],
  8459. + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  8460. AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  8461. - [_AM_DEPENDENCIES(OBJC)],
  8462. - [define([AC_PROG_OBJC],
  8463. - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  8464. -])
  8465. -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  8466. -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  8467. -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  8468. -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  8469. + [_AM_DEPENDENCIES([OBJC])],
  8470. + [m4_define([AC_PROG_OBJC],
  8471. + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  8472. +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  8473. + [_AM_DEPENDENCIES([OBJCXX])],
  8474. + [m4_define([AC_PROG_OBJCXX],
  8475. + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  8476. +])
  8477. +AC_REQUIRE([AM_SILENT_RULES])dnl
  8478. +dnl The testsuite driver may need to know about EXEEXT, so add the
  8479. +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
  8480. +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
  8481. AC_CONFIG_COMMANDS_PRE(dnl
  8482. [m4_provide_if([_AM_COMPILER_EXEEXT],
  8483. [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  8484. +
  8485. +# POSIX will say in a future version that running "rm -f" with no argument
  8486. +# is OK; and we want to be able to make that assumption in our Makefile
  8487. +# recipes. So use an aggressive probe to check that the usage we want is
  8488. +# actually supported "in the wild" to an acceptable degree.
  8489. +# See automake bug#10828.
  8490. +# To make any issue more visible, cause the running configure to be aborted
  8491. +# by default if the 'rm' program in use doesn't match our expectations; the
  8492. +# user can still override this though.
  8493. +if rm -f && rm -fr && rm -rf; then : OK; else
  8494. + cat >&2 <<'END'
  8495. +Oops!
  8496. +
  8497. +Your 'rm' program seems unable to run without file operands specified
  8498. +on the command line, even when the '-f' option is present. This is contrary
  8499. +to the behaviour of most rm programs out there, and not conforming with
  8500. +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  8501. +
  8502. +Please tell bug-automake@gnu.org about your system, including the value
  8503. +of your $PATH and any error possibly output before this message. This
  8504. +can help us improve future automake versions.
  8505. +
  8506. +END
  8507. + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  8508. + echo 'Configuration will proceed anyway, since you have set the' >&2
  8509. + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  8510. + echo >&2
  8511. + else
  8512. + cat >&2 <<'END'
  8513. +Aborting the configuration process, to ensure you take notice of the issue.
  8514. +
  8515. +You can download and install GNU coreutils to get an 'rm' implementation
  8516. +that behaves properly: <https://www.gnu.org/software/coreutils/>.
  8517. +
  8518. +If you want to complete the configuration process using your problematic
  8519. +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  8520. +to "yes", and re-run configure.
  8521. +
  8522. +END
  8523. + AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
  8524. + fi
  8525. +fi
  8526. +dnl The trailing newline in this macro's definition is deliberate, for
  8527. +dnl backward compatibility and to allow trailing 'dnl'-style comments
  8528. +dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
  8529. ])
  8530.  
  8531. -dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  8532. +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  8533. dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
  8534. dnl mangled by Autoconf and run in a shell conditional statement.
  8535. m4_define([_AC_COMPILER_EXEEXT],
  8536. m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
  8537.  
  8538. -
  8539. # When config.status generates a header, we must update the stamp-h file.
  8540. # This file resides in the same directory as the config header
  8541. # that is generated. The stamp files are numbered to have different names.
  8542. @@ -8523,7 +595,7 @@
  8543. done
  8544. echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  8545.  
  8546. -# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
  8547. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  8548. #
  8549. # This file is free software; the Free Software Foundation
  8550. # gives unlimited permission to copy and/or distribute it,
  8551. @@ -8534,7 +606,7 @@
  8552. # Define $install_sh.
  8553. AC_DEFUN([AM_PROG_INSTALL_SH],
  8554. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  8555. -if test x"${install_sh}" != xset; then
  8556. +if test x"${install_sh+set}" != xset; then
  8557. case $am_aux_dir in
  8558. *\ * | *\ *)
  8559. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  8560. @@ -8542,16 +614,14 @@
  8561. install_sh="\${SHELL} $am_aux_dir/install-sh"
  8562. esac
  8563. fi
  8564. -AC_SUBST(install_sh)])
  8565. +AC_SUBST([install_sh])])
  8566.  
  8567. -# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
  8568. +# Copyright (C) 2003-2018 Free Software Foundation, Inc.
  8569. #
  8570. # This file is free software; the Free Software Foundation
  8571. # gives unlimited permission to copy and/or distribute it,
  8572. # with or without modifications, as long as this notice is preserved.
  8573.  
  8574. -# serial 2
  8575. -
  8576. # Check whether the underlying file-system supports filenames
  8577. # with a leading dot. For instance MS-DOS doesn't.
  8578. AC_DEFUN([AM_SET_LEADING_DOT],
  8579. @@ -8567,67 +637,55 @@
  8580.  
  8581. # Check to see how 'make' treats includes. -*- Autoconf -*-
  8582.  
  8583. -# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
  8584. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  8585. #
  8586. # This file is free software; the Free Software Foundation
  8587. # gives unlimited permission to copy and/or distribute it,
  8588. # with or without modifications, as long as this notice is preserved.
  8589.  
  8590. -# serial 4
  8591. -
  8592. # AM_MAKE_INCLUDE()
  8593. # -----------------
  8594. -# Check to see how make treats includes.
  8595. +# Check whether make has an 'include' directive that can support all
  8596. +# the idioms we need for our automatic dependency tracking code.
  8597. AC_DEFUN([AM_MAKE_INCLUDE],
  8598. -[am_make=${MAKE-make}
  8599. -cat > confinc << 'END'
  8600. +[AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
  8601. +cat > confinc.mk << 'END'
  8602. am__doit:
  8603. - @echo this is the am__doit target
  8604. + @echo this is the am__doit target >confinc.out
  8605. .PHONY: am__doit
  8606. END
  8607. -# If we don't find an include directive, just comment out the code.
  8608. -AC_MSG_CHECKING([for style of include used by $am_make])
  8609. am__include="#"
  8610. am__quote=
  8611. -_am_result=none
  8612. -# First try GNU make style include.
  8613. -echo "include confinc" > confmf
  8614. -# Ignore all kinds of additional output from `make'.
  8615. -case `$am_make -s -f confmf 2> /dev/null` in #(
  8616. -*the\ am__doit\ target*)
  8617. - am__include=include
  8618. - am__quote=
  8619. - _am_result=GNU
  8620. - ;;
  8621. -esac
  8622. -# Now try BSD make style include.
  8623. -if test "$am__include" = "#"; then
  8624. - echo '.include "confinc"' > confmf
  8625. - case `$am_make -s -f confmf 2> /dev/null` in #(
  8626. - *the\ am__doit\ target*)
  8627. - am__include=.include
  8628. - am__quote="\""
  8629. - _am_result=BSD
  8630. - ;;
  8631. - esac
  8632. -fi
  8633. -AC_SUBST([am__include])
  8634. -AC_SUBST([am__quote])
  8635. -AC_MSG_RESULT([$_am_result])
  8636. -rm -f confinc confmf
  8637. -])
  8638. +# BSD make does it like this.
  8639. +echo '.include "confinc.mk" # ignored' > confmf.BSD
  8640. +# Other make implementations (GNU, Solaris 10, AIX) do it like this.
  8641. +echo 'include confinc.mk # ignored' > confmf.GNU
  8642. +_am_result=no
  8643. +for s in GNU BSD; do
  8644. + AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
  8645. + AS_CASE([$?:`cat confinc.out 2>/dev/null`],
  8646. + ['0:this is the am__doit target'],
  8647. + [AS_CASE([$s],
  8648. + [BSD], [am__include='.include' am__quote='"'],
  8649. + [am__include='include' am__quote=''])])
  8650. + if test "$am__include" != "#"; then
  8651. + _am_result="yes ($s style)"
  8652. + break
  8653. + fi
  8654. +done
  8655. +rm -f confinc.* confmf.*
  8656. +AC_MSG_RESULT([${_am_result}])
  8657. +AC_SUBST([am__include])])
  8658. +AC_SUBST([am__quote])])
  8659.  
  8660. # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
  8661.  
  8662. -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
  8663. -# Free Software Foundation, Inc.
  8664. +# Copyright (C) 1997-2018 Free Software Foundation, Inc.
  8665. #
  8666. # This file is free software; the Free Software Foundation
  8667. # gives unlimited permission to copy and/or distribute it,
  8668. # with or without modifications, as long as this notice is preserved.
  8669.  
  8670. -# serial 6
  8671. -
  8672. # AM_MISSING_PROG(NAME, PROGRAM)
  8673. # ------------------------------
  8674. AC_DEFUN([AM_MISSING_PROG],
  8675. @@ -8635,11 +693,10 @@
  8676. $1=${$1-"${am_missing_run}$2"}
  8677. AC_SUBST($1)])
  8678.  
  8679. -
  8680. # AM_MISSING_HAS_RUN
  8681. # ------------------
  8682. -# Define MISSING if not defined so far and test if it supports --run.
  8683. -# If it does, set am_missing_run to use it, otherwise, to nothing.
  8684. +# Define MISSING if not defined so far and test if it is modern enough.
  8685. +# If it is, set am_missing_run to use it, otherwise, to nothing.
  8686. AC_DEFUN([AM_MISSING_HAS_RUN],
  8687. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  8688. AC_REQUIRE_AUX_FILE([missing])dnl
  8689. @@ -8652,63 +709,64 @@
  8690. esac
  8691. fi
  8692. # Use eval to expand $SHELL
  8693. -if eval "$MISSING --run true"; then
  8694. - am_missing_run="$MISSING --run "
  8695. +if eval "$MISSING --is-lightweight"; then
  8696. + am_missing_run="$MISSING "
  8697. else
  8698. am_missing_run=
  8699. - AC_MSG_WARN([`missing' script is too old or missing])
  8700. + AC_MSG_WARN(['missing' script is too old or missing])
  8701. fi
  8702. ])
  8703.  
  8704. -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  8705. +# -*- Autoconf -*-
  8706. +# Obsolete and "removed" macros, that must however still report explicit
  8707. +# error messages when used, to smooth transition.
  8708. +#
  8709. +# Copyright (C) 1996-2018 Free Software Foundation, Inc.
  8710. #
  8711. # This file is free software; the Free Software Foundation
  8712. # gives unlimited permission to copy and/or distribute it,
  8713. # with or without modifications, as long as this notice is preserved.
  8714.  
  8715. -# AM_PROG_MKDIR_P
  8716. -# ---------------
  8717. -# Check for `mkdir -p'.
  8718. -AC_DEFUN([AM_PROG_MKDIR_P],
  8719. -[AC_PREREQ([2.60])dnl
  8720. -AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  8721. -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
  8722. -dnl while keeping a definition of mkdir_p for backward compatibility.
  8723. -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
  8724. -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
  8725. -dnl Makefile.ins that do not define MKDIR_P, so we do our own
  8726. -dnl adjustment using top_builddir (which is defined more often than
  8727. -dnl MKDIR_P).
  8728. -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
  8729. -case $mkdir_p in
  8730. - [[\\/$]]* | ?:[[\\/]]*) ;;
  8731. - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  8732. -esac
  8733. -])
  8734. +AC_DEFUN([AM_CONFIG_HEADER],
  8735. +[AC_DIAGNOSE([obsolete],
  8736. +['$0': this macro is obsolete.
  8737. +You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
  8738. +AC_CONFIG_HEADERS($@)])
  8739. +
  8740. +AC_DEFUN([AM_PROG_CC_STDC],
  8741. +[AC_PROG_CC
  8742. +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  8743. +AC_DIAGNOSE([obsolete],
  8744. +['$0': this macro is obsolete.
  8745. +You should simply use the 'AC][_PROG_CC' macro instead.
  8746. +Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
  8747. +but upon 'ac_cv_prog_cc_stdc'.])])
  8748. +
  8749. +AC_DEFUN([AM_C_PROTOTYPES],
  8750. + [AC_FATAL([automatic de-ANSI-fication support has been removed])])
  8751. +AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
  8752.  
  8753. # Helper functions for option handling. -*- Autoconf -*-
  8754.  
  8755. -# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
  8756. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  8757. #
  8758. # This file is free software; the Free Software Foundation
  8759. # gives unlimited permission to copy and/or distribute it,
  8760. # with or without modifications, as long as this notice is preserved.
  8761.  
  8762. -# serial 4
  8763. -
  8764. # _AM_MANGLE_OPTION(NAME)
  8765. # -----------------------
  8766. AC_DEFUN([_AM_MANGLE_OPTION],
  8767. [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  8768.  
  8769. # _AM_SET_OPTION(NAME)
  8770. -# ------------------------------
  8771. +# --------------------
  8772. # Set option NAME. Presently that only means defining a flag for this option.
  8773. AC_DEFUN([_AM_SET_OPTION],
  8774. -[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
  8775. +[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
  8776.  
  8777. # _AM_SET_OPTIONS(OPTIONS)
  8778. -# ----------------------------------
  8779. +# ------------------------
  8780. # OPTIONS is a space-separated list of Automake options.
  8781. AC_DEFUN([_AM_SET_OPTIONS],
  8782. [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  8783. @@ -8719,24 +777,82 @@
  8784. AC_DEFUN([_AM_IF_OPTION],
  8785. [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  8786.  
  8787. -# Check to make sure that the build environment is sane. -*- Autoconf -*-
  8788. +# Copyright (C) 1999-2018 Free Software Foundation, Inc.
  8789. +#
  8790. +# This file is free software; the Free Software Foundation
  8791. +# gives unlimited permission to copy and/or distribute it,
  8792. +# with or without modifications, as long as this notice is preserved.
  8793.  
  8794. -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
  8795. -# Free Software Foundation, Inc.
  8796. +# _AM_PROG_CC_C_O
  8797. +# ---------------
  8798. +# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
  8799. +# to automatically call this.
  8800. +AC_DEFUN([_AM_PROG_CC_C_O],
  8801. +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  8802. +AC_REQUIRE_AUX_FILE([compile])dnl
  8803. +AC_LANG_PUSH([C])dnl
  8804. +AC_CACHE_CHECK(
  8805. + [whether $CC understands -c and -o together],
  8806. + [am_cv_prog_cc_c_o],
  8807. + [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
  8808. + # Make sure it works both with $CC and with simple cc.
  8809. + # Following AC_PROG_CC_C_O, we do the test twice because some
  8810. + # compilers refuse to overwrite an existing .o file with -o,
  8811. + # though they will create one.
  8812. + am_cv_prog_cc_c_o=yes
  8813. + for am_i in 1 2; do
  8814. + if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
  8815. + && test -f conftest2.$ac_objext; then
  8816. + : OK
  8817. + else
  8818. + am_cv_prog_cc_c_o=no
  8819. + break
  8820. + fi
  8821. + done
  8822. + rm -f core conftest*
  8823. + unset am_i])
  8824. +if test "$am_cv_prog_cc_c_o" != yes; then
  8825. + # Losing compiler, so override with the script.
  8826. + # FIXME: It is wrong to rewrite CC.
  8827. + # But if we don't then we get into trouble of one sort or another.
  8828. + # A longer-term fix would be to have automake use am__CC in this case,
  8829. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  8830. + CC="$am_aux_dir/compile $CC"
  8831. +fi
  8832. +AC_LANG_POP([C])])
  8833. +
  8834. +# For backward compatibility.
  8835. +AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
  8836. +
  8837. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  8838. #
  8839. # This file is free software; the Free Software Foundation
  8840. # gives unlimited permission to copy and/or distribute it,
  8841. # with or without modifications, as long as this notice is preserved.
  8842.  
  8843. -# serial 5
  8844. +# AM_RUN_LOG(COMMAND)
  8845. +# -------------------
  8846. +# Run COMMAND, save the exit status in ac_status, and log it.
  8847. +# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
  8848. +AC_DEFUN([AM_RUN_LOG],
  8849. +[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
  8850. + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
  8851. + ac_status=$?
  8852. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  8853. + (exit $ac_status); }])
  8854. +
  8855. +# Check to make sure that the build environment is sane. -*- Autoconf -*-
  8856. +
  8857. +# Copyright (C) 1996-2018 Free Software Foundation, Inc.
  8858. +#
  8859. +# This file is free software; the Free Software Foundation
  8860. +# gives unlimited permission to copy and/or distribute it,
  8861. +# with or without modifications, as long as this notice is preserved.
  8862.  
  8863. # AM_SANITY_CHECK
  8864. # ---------------
  8865. AC_DEFUN([AM_SANITY_CHECK],
  8866. [AC_MSG_CHECKING([whether build environment is sane])
  8867. -# Just in case
  8868. -sleep 1
  8869. -echo timestamp > conftest.file
  8870. # Reject unsafe characters in $srcdir or the absolute working directory
  8871. # name. Accept space and tab only in the latter.
  8872. am_lf='
  8873. @@ -8747,32 +863,40 @@
  8874. esac
  8875. case $srcdir in
  8876. *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  8877. - AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  8878. + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
  8879. esac
  8880.  
  8881. -# Do `set' in a subshell so we don't clobber the current shell's
  8882. +# Do 'set' in a subshell so we don't clobber the current shell's
  8883. # arguments. Must try -L first in case configure is actually a
  8884. # symlink; some systems play weird games with the mod time of symlinks
  8885. # (eg FreeBSD returns the mod time of the symlink's containing
  8886. # directory).
  8887. if (
  8888. - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  8889. - if test "$[*]" = "X"; then
  8890. - # -L didn't work.
  8891. - set X `ls -t "$srcdir/configure" conftest.file`
  8892. - fi
  8893. - rm -f conftest.file
  8894. - if test "$[*]" != "X $srcdir/configure conftest.file" \
  8895. - && test "$[*]" != "X conftest.file $srcdir/configure"; then
  8896. -
  8897. - # If neither matched, then we have a broken ls. This can happen
  8898. - # if, for instance, CONFIG_SHELL is bash and it inherits a
  8899. - # broken ls alias from the environment. This has actually
  8900. - # happened. Such a system could not be considered "sane".
  8901. - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  8902. -alias in your environment])
  8903. - fi
  8904. + am_has_slept=no
  8905. + for am_try in 1 2; do
  8906. + echo "timestamp, slept: $am_has_slept" > conftest.file
  8907. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  8908. + if test "$[*]" = "X"; then
  8909. + # -L didn't work.
  8910. + set X `ls -t "$srcdir/configure" conftest.file`
  8911. + fi
  8912. + if test "$[*]" != "X $srcdir/configure conftest.file" \
  8913. + && test "$[*]" != "X conftest.file $srcdir/configure"; then
  8914.  
  8915. + # If neither matched, then we have a broken ls. This can happen
  8916. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  8917. + # broken ls alias from the environment. This has actually
  8918. + # happened. Such a system could not be considered "sane".
  8919. + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  8920. + alias in your environment])
  8921. + fi
  8922. + if test "$[2]" = conftest.file || test $am_try -eq 2; then
  8923. + break
  8924. + fi
  8925. + # Just in case.
  8926. + sleep 1
  8927. + am_has_slept=yes
  8928. + done
  8929. test "$[2]" = conftest.file
  8930. )
  8931. then
  8932. @@ -8782,9 +906,85 @@
  8933. AC_MSG_ERROR([newly created file is older than distributed files!
  8934. Check your system clock])
  8935. fi
  8936. -AC_MSG_RESULT(yes)])
  8937. +AC_MSG_RESULT([yes])
  8938. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  8939. +# generated files are strictly newer.
  8940. +am_sleep_pid=
  8941. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  8942. + ( sleep 1 ) &
  8943. + am_sleep_pid=$!
  8944. +fi
  8945. +AC_CONFIG_COMMANDS_PRE(
  8946. + [AC_MSG_CHECKING([that generated files are newer than configure])
  8947. + if test -n "$am_sleep_pid"; then
  8948. + # Hide warnings about reused PIDs.
  8949. + wait $am_sleep_pid 2>/dev/null
  8950. + fi
  8951. + AC_MSG_RESULT([done])])
  8952. +rm -f conftest.file
  8953. +])
  8954. +
  8955. +# Copyright (C) 2009-2018 Free Software Foundation, Inc.
  8956. +#
  8957. +# This file is free software; the Free Software Foundation
  8958. +# gives unlimited permission to copy and/or distribute it,
  8959. +# with or without modifications, as long as this notice is preserved.
  8960. +
  8961. +# AM_SILENT_RULES([DEFAULT])
  8962. +# --------------------------
  8963. +# Enable less verbose build rules; with the default set to DEFAULT
  8964. +# ("yes" being less verbose, "no" or empty being verbose).
  8965. +AC_DEFUN([AM_SILENT_RULES],
  8966. +[AC_ARG_ENABLE([silent-rules], [dnl
  8967. +AS_HELP_STRING(
  8968. + [--enable-silent-rules],
  8969. + [less verbose build output (undo: "make V=1")])
  8970. +AS_HELP_STRING(
  8971. + [--disable-silent-rules],
  8972. + [verbose build output (undo: "make V=0")])dnl
  8973. +])
  8974. +case $enable_silent_rules in @%:@ (((
  8975. + yes) AM_DEFAULT_VERBOSITY=0;;
  8976. + no) AM_DEFAULT_VERBOSITY=1;;
  8977. + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  8978. +esac
  8979. +dnl
  8980. +dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
  8981. +dnl do not support nested variable expansions.
  8982. +dnl See automake bug#9928 and bug#10237.
  8983. +am_make=${MAKE-make}
  8984. +AC_CACHE_CHECK([whether $am_make supports nested variables],
  8985. + [am_cv_make_support_nested_variables],
  8986. + [if AS_ECHO([['TRUE=$(BAR$(V))
  8987. +BAR0=false
  8988. +BAR1=true
  8989. +V=1
  8990. +am__doit:
  8991. + @$(TRUE)
  8992. +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
  8993. + am_cv_make_support_nested_variables=yes
  8994. +else
  8995. + am_cv_make_support_nested_variables=no
  8996. +fi])
  8997. +if test $am_cv_make_support_nested_variables = yes; then
  8998. + dnl Using '$V' instead of '$(V)' breaks IRIX make.
  8999. + AM_V='$(V)'
  9000. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  9001. +else
  9002. + AM_V=$AM_DEFAULT_VERBOSITY
  9003. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  9004. +fi
  9005. +AC_SUBST([AM_V])dnl
  9006. +AM_SUBST_NOTMAKE([AM_V])dnl
  9007. +AC_SUBST([AM_DEFAULT_V])dnl
  9008. +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
  9009. +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
  9010. +AM_BACKSLASH='\'
  9011. +AC_SUBST([AM_BACKSLASH])dnl
  9012. +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
  9013. +])
  9014.  
  9015. -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  9016. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  9017. #
  9018. # This file is free software; the Free Software Foundation
  9019. # gives unlimited permission to copy and/or distribute it,
  9020. @@ -8792,34 +992,32 @@
  9021.  
  9022. # AM_PROG_INSTALL_STRIP
  9023. # ---------------------
  9024. -# One issue with vendor `install' (even GNU) is that you can't
  9025. +# One issue with vendor 'install' (even GNU) is that you can't
  9026. # specify the program used to strip binaries. This is especially
  9027. # annoying in cross-compiling environments, where the build's strip
  9028. # is unlikely to handle the host's binaries.
  9029. # Fortunately install-sh will honor a STRIPPROG variable, so we
  9030. -# always use install-sh in `make install-strip', and initialize
  9031. +# always use install-sh in "make install-strip", and initialize
  9032. # STRIPPROG with the value of the STRIP variable (set by the user).
  9033. AC_DEFUN([AM_PROG_INSTALL_STRIP],
  9034. [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  9035. -# Installed binaries are usually stripped using `strip' when the user
  9036. -# run `make install-strip'. However `strip' might not be the right
  9037. +# Installed binaries are usually stripped using 'strip' when the user
  9038. +# run "make install-strip". However 'strip' might not be the right
  9039. # tool to use in cross-compilation environments, therefore Automake
  9040. -# will honor the `STRIP' environment variable to overrule this program.
  9041. -dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
  9042. +# will honor the 'STRIP' environment variable to overrule this program.
  9043. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
  9044. if test "$cross_compiling" != no; then
  9045. AC_CHECK_TOOL([STRIP], [strip], :)
  9046. fi
  9047. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  9048. AC_SUBST([INSTALL_STRIP_PROGRAM])])
  9049.  
  9050. -# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
  9051. +# Copyright (C) 2006-2018 Free Software Foundation, Inc.
  9052. #
  9053. # This file is free software; the Free Software Foundation
  9054. # gives unlimited permission to copy and/or distribute it,
  9055. # with or without modifications, as long as this notice is preserved.
  9056.  
  9057. -# serial 2
  9058. -
  9059. # _AM_SUBST_NOTMAKE(VARIABLE)
  9060. # ---------------------------
  9061. # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
  9062. @@ -8827,24 +1025,22 @@
  9063. AC_DEFUN([_AM_SUBST_NOTMAKE])
  9064.  
  9065. # AM_SUBST_NOTMAKE(VARIABLE)
  9066. -# ---------------------------
  9067. +# --------------------------
  9068. # Public sister of _AM_SUBST_NOTMAKE.
  9069. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  9070.  
  9071. # Check how to create a tarball. -*- Autoconf -*-
  9072.  
  9073. -# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
  9074. +# Copyright (C) 2004-2018 Free Software Foundation, Inc.
  9075. #
  9076. # This file is free software; the Free Software Foundation
  9077. # gives unlimited permission to copy and/or distribute it,
  9078. # with or without modifications, as long as this notice is preserved.
  9079.  
  9080. -# serial 2
  9081. -
  9082. # _AM_PROG_TAR(FORMAT)
  9083. # --------------------
  9084. # Check how to create a tarball in format FORMAT.
  9085. -# FORMAT should be one of `v7', `ustar', or `pax'.
  9086. +# FORMAT should be one of 'v7', 'ustar', or 'pax'.
  9087. #
  9088. # Substitute a variable $(am__tar) that is a command
  9089. # writing to stdout a FORMAT-tarball containing the directory
  9090. @@ -8854,76 +1050,120 @@
  9091. # Substitute a variable $(am__untar) that extract such
  9092. # a tarball read from stdin.
  9093. # $(am__untar) < result.tar
  9094. +#
  9095. AC_DEFUN([_AM_PROG_TAR],
  9096. -[# Always define AMTAR for backward compatibility.
  9097. -AM_MISSING_PROG([AMTAR], [tar])
  9098. -m4_if([$1], [v7],
  9099. - [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
  9100. - [m4_case([$1], [ustar],, [pax],,
  9101. - [m4_fatal([Unknown tar format])])
  9102. -AC_MSG_CHECKING([how to create a $1 tar archive])
  9103. -# Loop over all known methods to create a tar archive until one works.
  9104. +[# Always define AMTAR for backward compatibility. Yes, it's still used
  9105. +# in the wild :-( We should find a proper way to deprecate it ...
  9106. +AC_SUBST([AMTAR], ['$${TAR-tar}'])
  9107. +
  9108. +# We'll loop over all known methods to create a tar archive until one works.
  9109. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  9110. -_am_tools=${am_cv_prog_tar_$1-$_am_tools}
  9111. -# Do not fold the above two line into one, because Tru64 sh and
  9112. -# Solaris sh will not grok spaces in the rhs of `-'.
  9113. -for _am_tool in $_am_tools
  9114. -do
  9115. - case $_am_tool in
  9116. - gnutar)
  9117. - for _am_tar in tar gnutar gtar;
  9118. - do
  9119. - AM_RUN_LOG([$_am_tar --version]) && break
  9120. - done
  9121. - am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  9122. - am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  9123. - am__untar="$_am_tar -xf -"
  9124. - ;;
  9125. - plaintar)
  9126. - # Must skip GNU tar: if it does not support --format= it doesn't create
  9127. - # ustar tarball either.
  9128. - (tar --version) >/dev/null 2>&1 && continue
  9129. - am__tar='tar chf - "$$tardir"'
  9130. - am__tar_='tar chf - "$tardir"'
  9131. - am__untar='tar xf -'
  9132. - ;;
  9133. - pax)
  9134. - am__tar='pax -L -x $1 -w "$$tardir"'
  9135. - am__tar_='pax -L -x $1 -w "$tardir"'
  9136. - am__untar='pax -r'
  9137. - ;;
  9138. - cpio)
  9139. - am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  9140. - am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  9141. - am__untar='cpio -i -H $1 -d'
  9142. - ;;
  9143. - none)
  9144. - am__tar=false
  9145. - am__tar_=false
  9146. - am__untar=false
  9147. - ;;
  9148. - esac
  9149.  
  9150. - # If the value was cached, stop now. We just wanted to have am__tar
  9151. - # and am__untar set.
  9152. - test -n "${am_cv_prog_tar_$1}" && break
  9153. +m4_if([$1], [v7],
  9154. + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
  9155.  
  9156. - # tar/untar a dummy directory, and stop if the command works
  9157. - rm -rf conftest.dir
  9158. - mkdir conftest.dir
  9159. - echo GrepMe > conftest.dir/file
  9160. - AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  9161. + [m4_case([$1],
  9162. + [ustar],
  9163. + [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
  9164. + # There is notably a 21 bits limit for the UID and the GID. In fact,
  9165. + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
  9166. + # and bug#13588).
  9167. + am_max_uid=2097151 # 2^21 - 1
  9168. + am_max_gid=$am_max_uid
  9169. + # The $UID and $GID variables are not portable, so we need to resort
  9170. + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
  9171. + # below are definitely unexpected, so allow the users to see them
  9172. + # (that is, avoid stderr redirection).
  9173. + am_uid=`id -u || echo unknown`
  9174. + am_gid=`id -g || echo unknown`
  9175. + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
  9176. + if test $am_uid -le $am_max_uid; then
  9177. + AC_MSG_RESULT([yes])
  9178. + else
  9179. + AC_MSG_RESULT([no])
  9180. + _am_tools=none
  9181. + fi
  9182. + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
  9183. + if test $am_gid -le $am_max_gid; then
  9184. + AC_MSG_RESULT([yes])
  9185. + else
  9186. + AC_MSG_RESULT([no])
  9187. + _am_tools=none
  9188. + fi],
  9189. +
  9190. + [pax],
  9191. + [],
  9192. +
  9193. + [m4_fatal([Unknown tar format])])
  9194. +
  9195. + AC_MSG_CHECKING([how to create a $1 tar archive])
  9196. +
  9197. + # Go ahead even if we have the value already cached. We do so because we
  9198. + # need to set the values for the 'am__tar' and 'am__untar' variables.
  9199. + _am_tools=${am_cv_prog_tar_$1-$_am_tools}
  9200. +
  9201. + for _am_tool in $_am_tools; do
  9202. + case $_am_tool in
  9203. + gnutar)
  9204. + for _am_tar in tar gnutar gtar; do
  9205. + AM_RUN_LOG([$_am_tar --version]) && break
  9206. + done
  9207. + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  9208. + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  9209. + am__untar="$_am_tar -xf -"
  9210. + ;;
  9211. + plaintar)
  9212. + # Must skip GNU tar: if it does not support --format= it doesn't create
  9213. + # ustar tarball either.
  9214. + (tar --version) >/dev/null 2>&1 && continue
  9215. + am__tar='tar chf - "$$tardir"'
  9216. + am__tar_='tar chf - "$tardir"'
  9217. + am__untar='tar xf -'
  9218. + ;;
  9219. + pax)
  9220. + am__tar='pax -L -x $1 -w "$$tardir"'
  9221. + am__tar_='pax -L -x $1 -w "$tardir"'
  9222. + am__untar='pax -r'
  9223. + ;;
  9224. + cpio)
  9225. + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  9226. + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  9227. + am__untar='cpio -i -H $1 -d'
  9228. + ;;
  9229. + none)
  9230. + am__tar=false
  9231. + am__tar_=false
  9232. + am__untar=false
  9233. + ;;
  9234. + esac
  9235. +
  9236. + # If the value was cached, stop now. We just wanted to have am__tar
  9237. + # and am__untar set.
  9238. + test -n "${am_cv_prog_tar_$1}" && break
  9239. +
  9240. + # tar/untar a dummy directory, and stop if the command works.
  9241. + rm -rf conftest.dir
  9242. + mkdir conftest.dir
  9243. + echo GrepMe > conftest.dir/file
  9244. + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  9245. + rm -rf conftest.dir
  9246. + if test -s conftest.tar; then
  9247. + AM_RUN_LOG([$am__untar <conftest.tar])
  9248. + AM_RUN_LOG([cat conftest.dir/file])
  9249. + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  9250. + fi
  9251. + done
  9252. rm -rf conftest.dir
  9253. - if test -s conftest.tar; then
  9254. - AM_RUN_LOG([$am__untar <conftest.tar])
  9255. - grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  9256. - fi
  9257. -done
  9258. -rm -rf conftest.dir
  9259.  
  9260. -AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  9261. -AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  9262. + AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  9263. + AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  9264. +
  9265. AC_SUBST([am__tar])
  9266. AC_SUBST([am__untar])
  9267. ]) # _AM_PROG_TAR
  9268.  
  9269. +m4_include([m4/libtool.m4])
  9270. +m4_include([m4/ltoptions.m4])
  9271. +m4_include([m4/ltsugar.m4])
  9272. +m4_include([m4/ltversion.m4])
  9273. +m4_include([m4/lt~obsolete.m4])
  9274. diff -Nru Fiasco-master/autom4te.cache/output.0 Fiasco-master-pfiasco/autom4te.cache/output.0
  9275. --- Fiasco-master/autom4te.cache/output.0 1969-12-31 19:00:00.000000000 -0500
  9276. +++ Fiasco-master-pfiasco/autom4te.cache/output.0 2019-06-17 20:58:41.120215281 -0400
  9277. @@ -0,0 +1,14757 @@
  9278. +@%:@! /bin/sh
  9279. +@%:@ Guess values for system-dependent variables and create Makefiles.
  9280. +@%:@ Generated by GNU Autoconf 2.69.
  9281. +@%:@
  9282. +@%:@
  9283. +@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  9284. +@%:@
  9285. +@%:@
  9286. +@%:@ This configure script is free software; the Free Software Foundation
  9287. +@%:@ gives unlimited permission to copy, distribute and modify it.
  9288. +## -------------------- ##
  9289. +## M4sh Initialization. ##
  9290. +## -------------------- ##
  9291. +
  9292. +# Be more Bourne compatible
  9293. +DUALCASE=1; export DUALCASE # for MKS sh
  9294. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  9295. + emulate sh
  9296. + NULLCMD=:
  9297. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  9298. + # is contrary to our usage. Disable this feature.
  9299. + alias -g '${1+"$@"}'='"$@"'
  9300. + setopt NO_GLOB_SUBST
  9301. +else
  9302. + case `(set -o) 2>/dev/null` in @%:@(
  9303. + *posix*) :
  9304. + set -o posix ;; @%:@(
  9305. + *) :
  9306. + ;;
  9307. +esac
  9308. +fi
  9309. +
  9310. +
  9311. +as_nl='
  9312. +'
  9313. +export as_nl
  9314. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  9315. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  9316. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  9317. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  9318. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  9319. +# but without wasting forks for bash or zsh.
  9320. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  9321. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  9322. + as_echo='print -r --'
  9323. + as_echo_n='print -rn --'
  9324. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  9325. + as_echo='printf %s\n'
  9326. + as_echo_n='printf %s'
  9327. +else
  9328. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  9329. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  9330. + as_echo_n='/usr/ucb/echo -n'
  9331. + else
  9332. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  9333. + as_echo_n_body='eval
  9334. + arg=$1;
  9335. + case $arg in @%:@(
  9336. + *"$as_nl"*)
  9337. + expr "X$arg" : "X\\(.*\\)$as_nl";
  9338. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  9339. + esac;
  9340. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  9341. + '
  9342. + export as_echo_n_body
  9343. + as_echo_n='sh -c $as_echo_n_body as_echo'
  9344. + fi
  9345. + export as_echo_body
  9346. + as_echo='sh -c $as_echo_body as_echo'
  9347. +fi
  9348. +
  9349. +# The user is always right.
  9350. +if test "${PATH_SEPARATOR+set}" != set; then
  9351. + PATH_SEPARATOR=:
  9352. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  9353. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  9354. + PATH_SEPARATOR=';'
  9355. + }
  9356. +fi
  9357. +
  9358. +
  9359. +# IFS
  9360. +# We need space, tab and new line, in precisely that order. Quoting is
  9361. +# there to prevent editors from complaining about space-tab.
  9362. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  9363. +# splitting by setting IFS to empty value.)
  9364. +IFS=" "" $as_nl"
  9365. +
  9366. +# Find who we are. Look in the path if we contain no directory separator.
  9367. +as_myself=
  9368. +case $0 in @%:@((
  9369. + *[\\/]* ) as_myself=$0 ;;
  9370. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9371. +for as_dir in $PATH
  9372. +do
  9373. + IFS=$as_save_IFS
  9374. + test -z "$as_dir" && as_dir=.
  9375. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  9376. + done
  9377. +IFS=$as_save_IFS
  9378. +
  9379. + ;;
  9380. +esac
  9381. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  9382. +# in which case we are not to be found in the path.
  9383. +if test "x$as_myself" = x; then
  9384. + as_myself=$0
  9385. +fi
  9386. +if test ! -f "$as_myself"; then
  9387. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  9388. + exit 1
  9389. +fi
  9390. +
  9391. +# Unset variables that we do not need and which cause bugs (e.g. in
  9392. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  9393. +# suppresses any "Segmentation fault" message there. '((' could
  9394. +# trigger a bug in pdksh 5.2.14.
  9395. +for as_var in BASH_ENV ENV MAIL MAILPATH
  9396. +do eval test x\${$as_var+set} = xset \
  9397. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  9398. +done
  9399. +PS1='$ '
  9400. +PS2='> '
  9401. +PS4='+ '
  9402. +
  9403. +# NLS nuisances.
  9404. +LC_ALL=C
  9405. +export LC_ALL
  9406. +LANGUAGE=C
  9407. +export LANGUAGE
  9408. +
  9409. +# CDPATH.
  9410. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  9411. +
  9412. +# Use a proper internal environment variable to ensure we don't fall
  9413. + # into an infinite loop, continuously re-executing ourselves.
  9414. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  9415. + _as_can_reexec=no; export _as_can_reexec;
  9416. + # We cannot yet assume a decent shell, so we have to provide a
  9417. +# neutralization value for shells without unset; and this also
  9418. +# works around shells that cannot unset nonexistent variables.
  9419. +# Preserve -v and -x to the replacement shell.
  9420. +BASH_ENV=/dev/null
  9421. +ENV=/dev/null
  9422. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  9423. +case $- in @%:@ ((((
  9424. + *v*x* | *x*v* ) as_opts=-vx ;;
  9425. + *v* ) as_opts=-v ;;
  9426. + *x* ) as_opts=-x ;;
  9427. + * ) as_opts= ;;
  9428. +esac
  9429. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  9430. +# Admittedly, this is quite paranoid, since all the known shells bail
  9431. +# out after a failed `exec'.
  9432. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  9433. +as_fn_exit 255
  9434. + fi
  9435. + # We don't want this to propagate to other subprocesses.
  9436. + { _as_can_reexec=; unset _as_can_reexec;}
  9437. +if test "x$CONFIG_SHELL" = x; then
  9438. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  9439. + emulate sh
  9440. + NULLCMD=:
  9441. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  9442. + # is contrary to our usage. Disable this feature.
  9443. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  9444. + setopt NO_GLOB_SUBST
  9445. +else
  9446. + case \`(set -o) 2>/dev/null\` in @%:@(
  9447. + *posix*) :
  9448. + set -o posix ;; @%:@(
  9449. + *) :
  9450. + ;;
  9451. +esac
  9452. +fi
  9453. +"
  9454. + as_required="as_fn_return () { (exit \$1); }
  9455. +as_fn_success () { as_fn_return 0; }
  9456. +as_fn_failure () { as_fn_return 1; }
  9457. +as_fn_ret_success () { return 0; }
  9458. +as_fn_ret_failure () { return 1; }
  9459. +
  9460. +exitcode=0
  9461. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  9462. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  9463. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  9464. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  9465. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  9466. +
  9467. +else
  9468. + exitcode=1; echo positional parameters were not saved.
  9469. +fi
  9470. +test x\$exitcode = x0 || exit 1
  9471. +test -x / || exit 1"
  9472. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  9473. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  9474. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  9475. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  9476. +test \$(( 1 + 1 )) = 2 || exit 1"
  9477. + if (eval "$as_required") 2>/dev/null; then :
  9478. + as_have_required=yes
  9479. +else
  9480. + as_have_required=no
  9481. +fi
  9482. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  9483. +
  9484. +else
  9485. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9486. +as_found=false
  9487. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  9488. +do
  9489. + IFS=$as_save_IFS
  9490. + test -z "$as_dir" && as_dir=.
  9491. + as_found=:
  9492. + case $as_dir in @%:@(
  9493. + /*)
  9494. + for as_base in sh bash ksh sh5; do
  9495. + # Try only shells that exist, to save several forks.
  9496. + as_shell=$as_dir/$as_base
  9497. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  9498. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  9499. + CONFIG_SHELL=$as_shell as_have_required=yes
  9500. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  9501. + break 2
  9502. +fi
  9503. +fi
  9504. + done;;
  9505. + esac
  9506. + as_found=false
  9507. +done
  9508. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  9509. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  9510. + CONFIG_SHELL=$SHELL as_have_required=yes
  9511. +fi; }
  9512. +IFS=$as_save_IFS
  9513. +
  9514. +
  9515. + if test "x$CONFIG_SHELL" != x; then :
  9516. + export CONFIG_SHELL
  9517. + # We cannot yet assume a decent shell, so we have to provide a
  9518. +# neutralization value for shells without unset; and this also
  9519. +# works around shells that cannot unset nonexistent variables.
  9520. +# Preserve -v and -x to the replacement shell.
  9521. +BASH_ENV=/dev/null
  9522. +ENV=/dev/null
  9523. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  9524. +case $- in @%:@ ((((
  9525. + *v*x* | *x*v* ) as_opts=-vx ;;
  9526. + *v* ) as_opts=-v ;;
  9527. + *x* ) as_opts=-x ;;
  9528. + * ) as_opts= ;;
  9529. +esac
  9530. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  9531. +# Admittedly, this is quite paranoid, since all the known shells bail
  9532. +# out after a failed `exec'.
  9533. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  9534. +exit 255
  9535. +fi
  9536. +
  9537. + if test x$as_have_required = xno; then :
  9538. + $as_echo "$0: This script requires a shell more modern than all"
  9539. + $as_echo "$0: the shells that I found on your system."
  9540. + if test x${ZSH_VERSION+set} = xset ; then
  9541. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  9542. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  9543. + else
  9544. + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  9545. +$0: including any error possibly output before this
  9546. +$0: message. Then install a modern shell, or manually run
  9547. +$0: the script under such a shell if you do have one."
  9548. + fi
  9549. + exit 1
  9550. +fi
  9551. +fi
  9552. +fi
  9553. +SHELL=${CONFIG_SHELL-/bin/sh}
  9554. +export SHELL
  9555. +# Unset more variables known to interfere with behavior of common tools.
  9556. +CLICOLOR_FORCE= GREP_OPTIONS=
  9557. +unset CLICOLOR_FORCE GREP_OPTIONS
  9558. +
  9559. +## --------------------- ##
  9560. +## M4sh Shell Functions. ##
  9561. +## --------------------- ##
  9562. +@%:@ as_fn_unset VAR
  9563. +@%:@ ---------------
  9564. +@%:@ Portably unset VAR.
  9565. +as_fn_unset ()
  9566. +{
  9567. + { eval $1=; unset $1;}
  9568. +}
  9569. +as_unset=as_fn_unset
  9570. +
  9571. +@%:@ as_fn_set_status STATUS
  9572. +@%:@ -----------------------
  9573. +@%:@ Set @S|@? to STATUS, without forking.
  9574. +as_fn_set_status ()
  9575. +{
  9576. + return $1
  9577. +} @%:@ as_fn_set_status
  9578. +
  9579. +@%:@ as_fn_exit STATUS
  9580. +@%:@ -----------------
  9581. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  9582. +as_fn_exit ()
  9583. +{
  9584. + set +e
  9585. + as_fn_set_status $1
  9586. + exit $1
  9587. +} @%:@ as_fn_exit
  9588. +
  9589. +@%:@ as_fn_mkdir_p
  9590. +@%:@ -------------
  9591. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  9592. +as_fn_mkdir_p ()
  9593. +{
  9594. +
  9595. + case $as_dir in #(
  9596. + -*) as_dir=./$as_dir;;
  9597. + esac
  9598. + test -d "$as_dir" || eval $as_mkdir_p || {
  9599. + as_dirs=
  9600. + while :; do
  9601. + case $as_dir in #(
  9602. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  9603. + *) as_qdir=$as_dir;;
  9604. + esac
  9605. + as_dirs="'$as_qdir' $as_dirs"
  9606. + as_dir=`$as_dirname -- "$as_dir" ||
  9607. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9608. + X"$as_dir" : 'X\(//\)[^/]' \| \
  9609. + X"$as_dir" : 'X\(//\)$' \| \
  9610. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  9611. +$as_echo X"$as_dir" |
  9612. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  9613. + s//\1/
  9614. + q
  9615. + }
  9616. + /^X\(\/\/\)[^/].*/{
  9617. + s//\1/
  9618. + q
  9619. + }
  9620. + /^X\(\/\/\)$/{
  9621. + s//\1/
  9622. + q
  9623. + }
  9624. + /^X\(\/\).*/{
  9625. + s//\1/
  9626. + q
  9627. + }
  9628. + s/.*/./; q'`
  9629. + test -d "$as_dir" && break
  9630. + done
  9631. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  9632. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  9633. +
  9634. +
  9635. +} @%:@ as_fn_mkdir_p
  9636. +
  9637. +@%:@ as_fn_executable_p FILE
  9638. +@%:@ -----------------------
  9639. +@%:@ Test if FILE is an executable regular file.
  9640. +as_fn_executable_p ()
  9641. +{
  9642. + test -f "$1" && test -x "$1"
  9643. +} @%:@ as_fn_executable_p
  9644. +@%:@ as_fn_append VAR VALUE
  9645. +@%:@ ----------------------
  9646. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  9647. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  9648. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  9649. +@%:@ implementations.
  9650. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  9651. + eval 'as_fn_append ()
  9652. + {
  9653. + eval $1+=\$2
  9654. + }'
  9655. +else
  9656. + as_fn_append ()
  9657. + {
  9658. + eval $1=\$$1\$2
  9659. + }
  9660. +fi # as_fn_append
  9661. +
  9662. +@%:@ as_fn_arith ARG...
  9663. +@%:@ ------------------
  9664. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  9665. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  9666. +@%:@ must be portable across @S|@(()) and expr.
  9667. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  9668. + eval 'as_fn_arith ()
  9669. + {
  9670. + as_val=$(( $* ))
  9671. + }'
  9672. +else
  9673. + as_fn_arith ()
  9674. + {
  9675. + as_val=`expr "$@" || test $? -eq 1`
  9676. + }
  9677. +fi # as_fn_arith
  9678. +
  9679. +
  9680. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  9681. +@%:@ ----------------------------------------
  9682. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  9683. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  9684. +@%:@ script with STATUS, using 1 if that was 0.
  9685. +as_fn_error ()
  9686. +{
  9687. + as_status=$1; test $as_status -eq 0 && as_status=1
  9688. + if test "$4"; then
  9689. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  9690. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  9691. + fi
  9692. + $as_echo "$as_me: error: $2" >&2
  9693. + as_fn_exit $as_status
  9694. +} @%:@ as_fn_error
  9695. +
  9696. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  9697. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  9698. + as_expr=expr
  9699. +else
  9700. + as_expr=false
  9701. +fi
  9702. +
  9703. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  9704. + as_basename=basename
  9705. +else
  9706. + as_basename=false
  9707. +fi
  9708. +
  9709. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  9710. + as_dirname=dirname
  9711. +else
  9712. + as_dirname=false
  9713. +fi
  9714. +
  9715. +as_me=`$as_basename -- "$0" ||
  9716. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  9717. + X"$0" : 'X\(//\)$' \| \
  9718. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  9719. +$as_echo X/"$0" |
  9720. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  9721. + s//\1/
  9722. + q
  9723. + }
  9724. + /^X\/\(\/\/\)$/{
  9725. + s//\1/
  9726. + q
  9727. + }
  9728. + /^X\/\(\/\).*/{
  9729. + s//\1/
  9730. + q
  9731. + }
  9732. + s/.*/./; q'`
  9733. +
  9734. +# Avoid depending upon Character Ranges.
  9735. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  9736. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  9737. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  9738. +as_cr_digits='0123456789'
  9739. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  9740. +
  9741. +
  9742. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  9743. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  9744. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  9745. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  9746. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  9747. + sed -n '
  9748. + p
  9749. + /[$]LINENO/=
  9750. + ' <$as_myself |
  9751. + sed '
  9752. + s/[$]LINENO.*/&-/
  9753. + t lineno
  9754. + b
  9755. + :lineno
  9756. + N
  9757. + :loop
  9758. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  9759. + t loop
  9760. + s/-\n.*//
  9761. + ' >$as_me.lineno &&
  9762. + chmod +x "$as_me.lineno" ||
  9763. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  9764. +
  9765. + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  9766. + # already done that, so ensure we don't try to do so again and fall
  9767. + # in an infinite loop. This has already happened in practice.
  9768. + _as_can_reexec=no; export _as_can_reexec
  9769. + # Don't try to exec as it changes $[0], causing all sort of problems
  9770. + # (the dirname of $[0] is not the place where we might find the
  9771. + # original and so on. Autoconf is especially sensitive to this).
  9772. + . "./$as_me.lineno"
  9773. + # Exit status is that of the last command.
  9774. + exit
  9775. +}
  9776. +
  9777. +ECHO_C= ECHO_N= ECHO_T=
  9778. +case `echo -n x` in @%:@(((((
  9779. +-n*)
  9780. + case `echo 'xy\c'` in
  9781. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  9782. + xy) ECHO_C='\c';;
  9783. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  9784. + ECHO_T=' ';;
  9785. + esac;;
  9786. +*)
  9787. + ECHO_N='-n';;
  9788. +esac
  9789. +
  9790. +rm -f conf$$ conf$$.exe conf$$.file
  9791. +if test -d conf$$.dir; then
  9792. + rm -f conf$$.dir/conf$$.file
  9793. +else
  9794. + rm -f conf$$.dir
  9795. + mkdir conf$$.dir 2>/dev/null
  9796. +fi
  9797. +if (echo >conf$$.file) 2>/dev/null; then
  9798. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  9799. + as_ln_s='ln -s'
  9800. + # ... but there are two gotchas:
  9801. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  9802. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  9803. + # In both cases, we have to default to `cp -pR'.
  9804. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  9805. + as_ln_s='cp -pR'
  9806. + elif ln conf$$.file conf$$ 2>/dev/null; then
  9807. + as_ln_s=ln
  9808. + else
  9809. + as_ln_s='cp -pR'
  9810. + fi
  9811. +else
  9812. + as_ln_s='cp -pR'
  9813. +fi
  9814. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  9815. +rmdir conf$$.dir 2>/dev/null
  9816. +
  9817. +if mkdir -p . 2>/dev/null; then
  9818. + as_mkdir_p='mkdir -p "$as_dir"'
  9819. +else
  9820. + test -d ./-p && rmdir ./-p
  9821. + as_mkdir_p=false
  9822. +fi
  9823. +
  9824. +as_test_x='test -x'
  9825. +as_executable_p=as_fn_executable_p
  9826. +
  9827. +# Sed expression to map a string onto a valid CPP name.
  9828. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  9829. +
  9830. +# Sed expression to map a string onto a valid variable name.
  9831. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  9832. +
  9833. +
  9834. +
  9835. +# Check that we are running under the correct shell.
  9836. +SHELL=${CONFIG_SHELL-/bin/sh}
  9837. +
  9838. +case X$lt_ECHO in
  9839. +X*--fallback-echo)
  9840. + # Remove one level of quotation (which was required for Make).
  9841. + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  9842. + ;;
  9843. +esac
  9844. +
  9845. +ECHO=${lt_ECHO-echo}
  9846. +if test "X$1" = X--no-reexec; then
  9847. + # Discard the --no-reexec flag, and continue.
  9848. + shift
  9849. +elif test "X$1" = X--fallback-echo; then
  9850. + # Avoid inline document here, it may be left over
  9851. + :
  9852. +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  9853. + # Yippee, $ECHO works!
  9854. + :
  9855. +else
  9856. + # Restart under the correct shell.
  9857. + exec $SHELL "$0" --no-reexec ${1+"$@"}
  9858. +fi
  9859. +
  9860. +if test "X$1" = X--fallback-echo; then
  9861. + # used as fallback echo
  9862. + shift
  9863. + cat <<_LT_EOF
  9864. +$*
  9865. +_LT_EOF
  9866. + exit 0
  9867. +fi
  9868. +
  9869. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  9870. +# if CDPATH is set.
  9871. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  9872. +
  9873. +if test -z "$lt_ECHO"; then
  9874. + if test "X${echo_test_string+set}" != Xset; then
  9875. + # find a string as large as possible, as long as the shell can cope with it
  9876. + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  9877. + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  9878. + if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  9879. + { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  9880. + then
  9881. + break
  9882. + fi
  9883. + done
  9884. + fi
  9885. +
  9886. + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  9887. + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  9888. + test "X$echo_testing_string" = "X$echo_test_string"; then
  9889. + :
  9890. + else
  9891. + # The Solaris, AIX, and Digital Unix default echo programs unquote
  9892. + # backslashes. This makes it impossible to quote backslashes using
  9893. + # echo "$something" | sed 's/\\/\\\\/g'
  9894. + #
  9895. + # So, first we look for a working echo in the user's PATH.
  9896. +
  9897. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  9898. + for dir in $PATH /usr/ucb; do
  9899. + IFS="$lt_save_ifs"
  9900. + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  9901. + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  9902. + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  9903. + test "X$echo_testing_string" = "X$echo_test_string"; then
  9904. + ECHO="$dir/echo"
  9905. + break
  9906. + fi
  9907. + done
  9908. + IFS="$lt_save_ifs"
  9909. +
  9910. + if test "X$ECHO" = Xecho; then
  9911. + # We didn't find a better echo, so look for alternatives.
  9912. + if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  9913. + echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  9914. + test "X$echo_testing_string" = "X$echo_test_string"; then
  9915. + # This shell has a builtin print -r that does the trick.
  9916. + ECHO='print -r'
  9917. + elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  9918. + test "X$CONFIG_SHELL" != X/bin/ksh; then
  9919. + # If we have ksh, try running configure again with it.
  9920. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  9921. + export ORIGINAL_CONFIG_SHELL
  9922. + CONFIG_SHELL=/bin/ksh
  9923. + export CONFIG_SHELL
  9924. + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  9925. + else
  9926. + # Try using printf.
  9927. + ECHO='printf %s\n'
  9928. + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  9929. + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  9930. + test "X$echo_testing_string" = "X$echo_test_string"; then
  9931. + # Cool, printf works
  9932. + :
  9933. + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  9934. + test "X$echo_testing_string" = 'X\t' &&
  9935. + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  9936. + test "X$echo_testing_string" = "X$echo_test_string"; then
  9937. + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  9938. + export CONFIG_SHELL
  9939. + SHELL="$CONFIG_SHELL"
  9940. + export SHELL
  9941. + ECHO="$CONFIG_SHELL $0 --fallback-echo"
  9942. + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  9943. + test "X$echo_testing_string" = 'X\t' &&
  9944. + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  9945. + test "X$echo_testing_string" = "X$echo_test_string"; then
  9946. + ECHO="$CONFIG_SHELL $0 --fallback-echo"
  9947. + else
  9948. + # maybe with a smaller string...
  9949. + prev=:
  9950. +
  9951. + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  9952. + if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  9953. + then
  9954. + break
  9955. + fi
  9956. + prev="$cmd"
  9957. + done
  9958. +
  9959. + if test "$prev" != 'sed 50q "$0"'; then
  9960. + echo_test_string=`eval $prev`
  9961. + export echo_test_string
  9962. + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  9963. + else
  9964. + # Oops. We lost completely, so just stick with echo.
  9965. + ECHO=echo
  9966. + fi
  9967. + fi
  9968. + fi
  9969. + fi
  9970. + fi
  9971. +fi
  9972. +
  9973. +# Copy echo and quote the copy suitably for passing to libtool from
  9974. +# the Makefile, instead of quoting the original, which is used later.
  9975. +lt_ECHO=$ECHO
  9976. +if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  9977. + lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  9978. +fi
  9979. +
  9980. +
  9981. +
  9982. +
  9983. +test -n "$DJDIR" || exec 7<&0 </dev/null
  9984. +exec 6>&1
  9985. +
  9986. +# Name of the host.
  9987. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  9988. +# so uname gets run too.
  9989. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  9990. +
  9991. +#
  9992. +# Initializations.
  9993. +#
  9994. +ac_default_prefix=/usr/local
  9995. +ac_clean_files=
  9996. +ac_config_libobj_dir=.
  9997. +LIB@&t@OBJS=
  9998. +cross_compiling=no
  9999. +subdirs=
  10000. +MFLAGS=
  10001. +MAKEFLAGS=
  10002. +
  10003. +# Identity of this package.
  10004. +PACKAGE_NAME=
  10005. +PACKAGE_TARNAME=
  10006. +PACKAGE_VERSION=
  10007. +PACKAGE_STRING=
  10008. +PACKAGE_BUGREPORT=
  10009. +PACKAGE_URL=
  10010. +
  10011. +ac_unique_file="system.fiascorc"
  10012. +# Factoring default headers for most tests.
  10013. +ac_includes_default="\
  10014. +#include <stdio.h>
  10015. +#ifdef HAVE_SYS_TYPES_H
  10016. +# include <sys/types.h>
  10017. +#endif
  10018. +#ifdef HAVE_SYS_STAT_H
  10019. +# include <sys/stat.h>
  10020. +#endif
  10021. +#ifdef STDC_HEADERS
  10022. +# include <stdlib.h>
  10023. +# include <stddef.h>
  10024. +#else
  10025. +# ifdef HAVE_STDLIB_H
  10026. +# include <stdlib.h>
  10027. +# endif
  10028. +#endif
  10029. +#ifdef HAVE_STRING_H
  10030. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10031. +# include <memory.h>
  10032. +# endif
  10033. +# include <string.h>
  10034. +#endif
  10035. +#ifdef HAVE_STRINGS_H
  10036. +# include <strings.h>
  10037. +#endif
  10038. +#ifdef HAVE_INTTYPES_H
  10039. +# include <inttypes.h>
  10040. +#endif
  10041. +#ifdef HAVE_STDINT_H
  10042. +# include <stdint.h>
  10043. +#endif
  10044. +#ifdef HAVE_UNISTD_H
  10045. +# include <unistd.h>
  10046. +#endif"
  10047. +
  10048. +ac_subst_vars='am__EXEEXT_FALSE
  10049. +am__EXEEXT_TRUE
  10050. +LTLIBOBJS
  10051. +LIB@&t@OBJS
  10052. +xmag
  10053. +xfig
  10054. +INCLUDES
  10055. +LIBTOOL_DEPS
  10056. +CPP
  10057. +OTOOL64
  10058. +OTOOL
  10059. +LIPO
  10060. +NMEDIT
  10061. +DSYMUTIL
  10062. +lt_ECHO
  10063. +RANLIB
  10064. +AR
  10065. +OBJDUMP
  10066. +LN_S
  10067. +NM
  10068. +ac_ct_DUMPBIN
  10069. +DUMPBIN
  10070. +LD
  10071. +FGREP
  10072. +EGREP
  10073. +GREP
  10074. +SED
  10075. +am__fastdepCC_FALSE
  10076. +am__fastdepCC_TRUE
  10077. +CCDEPMODE
  10078. +am__nodep
  10079. +AMDEPBACKSLASH
  10080. +AMDEP_FALSE
  10081. +AMDEP_TRUE
  10082. +am__include
  10083. +DEPDIR
  10084. +OBJEXT
  10085. +EXEEXT
  10086. +ac_ct_CC
  10087. +CPPFLAGS
  10088. +LDFLAGS
  10089. +CFLAGS
  10090. +CC
  10091. +host_os
  10092. +host_vendor
  10093. +host_cpu
  10094. +host
  10095. +build_os
  10096. +build_vendor
  10097. +build_cpu
  10098. +build
  10099. +LIBTOOL
  10100. +AM_BACKSLASH
  10101. +AM_DEFAULT_VERBOSITY
  10102. +AM_DEFAULT_V
  10103. +AM_V
  10104. +am__untar
  10105. +am__tar
  10106. +AMTAR
  10107. +am__leading_dot
  10108. +SET_MAKE
  10109. +AWK
  10110. +mkdir_p
  10111. +MKDIR_P
  10112. +INSTALL_STRIP_PROGRAM
  10113. +STRIP
  10114. +install_sh
  10115. +MAKEINFO
  10116. +AUTOHEADER
  10117. +AUTOMAKE
  10118. +AUTOCONF
  10119. +ACLOCAL
  10120. +VERSION
  10121. +PACKAGE
  10122. +CYGPATH_W
  10123. +am__isrc
  10124. +INSTALL_DATA
  10125. +INSTALL_SCRIPT
  10126. +INSTALL_PROGRAM
  10127. +target_alias
  10128. +host_alias
  10129. +build_alias
  10130. +LIBS
  10131. +ECHO_T
  10132. +ECHO_N
  10133. +ECHO_C
  10134. +DEFS
  10135. +mandir
  10136. +localedir
  10137. +libdir
  10138. +psdir
  10139. +pdfdir
  10140. +dvidir
  10141. +htmldir
  10142. +infodir
  10143. +docdir
  10144. +oldincludedir
  10145. +includedir
  10146. +localstatedir
  10147. +sharedstatedir
  10148. +sysconfdir
  10149. +datadir
  10150. +datarootdir
  10151. +libexecdir
  10152. +sbindir
  10153. +bindir
  10154. +program_transform_name
  10155. +prefix
  10156. +exec_prefix
  10157. +PACKAGE_URL
  10158. +PACKAGE_BUGREPORT
  10159. +PACKAGE_STRING
  10160. +PACKAGE_VERSION
  10161. +PACKAGE_TARNAME
  10162. +PACKAGE_NAME
  10163. +PATH_SEPARATOR
  10164. +SHELL
  10165. +am__quote'
  10166. +ac_subst_files=''
  10167. +ac_user_opts='
  10168. +enable_option_checking
  10169. +enable_silent_rules
  10170. +enable_shared
  10171. +enable_static
  10172. +with_pic
  10173. +enable_fast_install
  10174. +enable_dependency_tracking
  10175. +with_gnu_ld
  10176. +enable_libtool_lock
  10177. +'
  10178. + ac_precious_vars='build_alias
  10179. +host_alias
  10180. +target_alias
  10181. +CC
  10182. +CFLAGS
  10183. +LDFLAGS
  10184. +LIBS
  10185. +CPPFLAGS
  10186. +CPP'
  10187. +
  10188. +
  10189. +# Initialize some variables set by options.
  10190. +ac_init_help=
  10191. +ac_init_version=false
  10192. +ac_unrecognized_opts=
  10193. +ac_unrecognized_sep=
  10194. +# The variables have the same names as the options, with
  10195. +# dashes changed to underlines.
  10196. +cache_file=/dev/null
  10197. +exec_prefix=NONE
  10198. +no_create=
  10199. +no_recursion=
  10200. +prefix=NONE
  10201. +program_prefix=NONE
  10202. +program_suffix=NONE
  10203. +program_transform_name=s,x,x,
  10204. +silent=
  10205. +site=
  10206. +srcdir=
  10207. +verbose=
  10208. +x_includes=NONE
  10209. +x_libraries=NONE
  10210. +
  10211. +# Installation directory options.
  10212. +# These are left unexpanded so users can "make install exec_prefix=/foo"
  10213. +# and all the variables that are supposed to be based on exec_prefix
  10214. +# by default will actually change.
  10215. +# Use braces instead of parens because sh, perl, etc. also accept them.
  10216. +# (The list follows the same order as the GNU Coding Standards.)
  10217. +bindir='${exec_prefix}/bin'
  10218. +sbindir='${exec_prefix}/sbin'
  10219. +libexecdir='${exec_prefix}/libexec'
  10220. +datarootdir='${prefix}/share'
  10221. +datadir='${datarootdir}'
  10222. +sysconfdir='${prefix}/etc'
  10223. +sharedstatedir='${prefix}/com'
  10224. +localstatedir='${prefix}/var'
  10225. +includedir='${prefix}/include'
  10226. +oldincludedir='/usr/include'
  10227. +docdir='${datarootdir}/doc/${PACKAGE}'
  10228. +infodir='${datarootdir}/info'
  10229. +htmldir='${docdir}'
  10230. +dvidir='${docdir}'
  10231. +pdfdir='${docdir}'
  10232. +psdir='${docdir}'
  10233. +libdir='${exec_prefix}/lib'
  10234. +localedir='${datarootdir}/locale'
  10235. +mandir='${datarootdir}/man'
  10236. +
  10237. +ac_prev=
  10238. +ac_dashdash=
  10239. +for ac_option
  10240. +do
  10241. + # If the previous option needs an argument, assign it.
  10242. + if test -n "$ac_prev"; then
  10243. + eval $ac_prev=\$ac_option
  10244. + ac_prev=
  10245. + continue
  10246. + fi
  10247. +
  10248. + case $ac_option in
  10249. + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  10250. + *=) ac_optarg= ;;
  10251. + *) ac_optarg=yes ;;
  10252. + esac
  10253. +
  10254. + # Accept the important Cygnus configure options, so we can diagnose typos.
  10255. +
  10256. + case $ac_dashdash$ac_option in
  10257. + --)
  10258. + ac_dashdash=yes ;;
  10259. +
  10260. + -bindir | --bindir | --bindi | --bind | --bin | --bi)
  10261. + ac_prev=bindir ;;
  10262. + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  10263. + bindir=$ac_optarg ;;
  10264. +
  10265. + -build | --build | --buil | --bui | --bu)
  10266. + ac_prev=build_alias ;;
  10267. + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  10268. + build_alias=$ac_optarg ;;
  10269. +
  10270. + -cache-file | --cache-file | --cache-fil | --cache-fi \
  10271. + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  10272. + ac_prev=cache_file ;;
  10273. + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  10274. + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  10275. + cache_file=$ac_optarg ;;
  10276. +
  10277. + --config-cache | -C)
  10278. + cache_file=config.cache ;;
  10279. +
  10280. + -datadir | --datadir | --datadi | --datad)
  10281. + ac_prev=datadir ;;
  10282. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  10283. + datadir=$ac_optarg ;;
  10284. +
  10285. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  10286. + | --dataroo | --dataro | --datar)
  10287. + ac_prev=datarootdir ;;
  10288. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  10289. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  10290. + datarootdir=$ac_optarg ;;
  10291. +
  10292. + -disable-* | --disable-*)
  10293. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  10294. + # Reject names that are not valid shell variable names.
  10295. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  10296. + as_fn_error $? "invalid feature name: $ac_useropt"
  10297. + ac_useropt_orig=$ac_useropt
  10298. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  10299. + case $ac_user_opts in
  10300. + *"
  10301. +"enable_$ac_useropt"
  10302. +"*) ;;
  10303. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  10304. + ac_unrecognized_sep=', ';;
  10305. + esac
  10306. + eval enable_$ac_useropt=no ;;
  10307. +
  10308. + -docdir | --docdir | --docdi | --doc | --do)
  10309. + ac_prev=docdir ;;
  10310. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  10311. + docdir=$ac_optarg ;;
  10312. +
  10313. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  10314. + ac_prev=dvidir ;;
  10315. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  10316. + dvidir=$ac_optarg ;;
  10317. +
  10318. + -enable-* | --enable-*)
  10319. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  10320. + # Reject names that are not valid shell variable names.
  10321. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  10322. + as_fn_error $? "invalid feature name: $ac_useropt"
  10323. + ac_useropt_orig=$ac_useropt
  10324. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  10325. + case $ac_user_opts in
  10326. + *"
  10327. +"enable_$ac_useropt"
  10328. +"*) ;;
  10329. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  10330. + ac_unrecognized_sep=', ';;
  10331. + esac
  10332. + eval enable_$ac_useropt=\$ac_optarg ;;
  10333. +
  10334. + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  10335. + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  10336. + | --exec | --exe | --ex)
  10337. + ac_prev=exec_prefix ;;
  10338. + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  10339. + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  10340. + | --exec=* | --exe=* | --ex=*)
  10341. + exec_prefix=$ac_optarg ;;
  10342. +
  10343. + -gas | --gas | --ga | --g)
  10344. + # Obsolete; use --with-gas.
  10345. + with_gas=yes ;;
  10346. +
  10347. + -help | --help | --hel | --he | -h)
  10348. + ac_init_help=long ;;
  10349. + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  10350. + ac_init_help=recursive ;;
  10351. + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  10352. + ac_init_help=short ;;
  10353. +
  10354. + -host | --host | --hos | --ho)
  10355. + ac_prev=host_alias ;;
  10356. + -host=* | --host=* | --hos=* | --ho=*)
  10357. + host_alias=$ac_optarg ;;
  10358. +
  10359. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  10360. + ac_prev=htmldir ;;
  10361. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  10362. + | --ht=*)
  10363. + htmldir=$ac_optarg ;;
  10364. +
  10365. + -includedir | --includedir | --includedi | --included | --include \
  10366. + | --includ | --inclu | --incl | --inc)
  10367. + ac_prev=includedir ;;
  10368. + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  10369. + | --includ=* | --inclu=* | --incl=* | --inc=*)
  10370. + includedir=$ac_optarg ;;
  10371. +
  10372. + -infodir | --infodir | --infodi | --infod | --info | --inf)
  10373. + ac_prev=infodir ;;
  10374. + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  10375. + infodir=$ac_optarg ;;
  10376. +
  10377. + -libdir | --libdir | --libdi | --libd)
  10378. + ac_prev=libdir ;;
  10379. + -libdir=* | --libdir=* | --libdi=* | --libd=*)
  10380. + libdir=$ac_optarg ;;
  10381. +
  10382. + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  10383. + | --libexe | --libex | --libe)
  10384. + ac_prev=libexecdir ;;
  10385. + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  10386. + | --libexe=* | --libex=* | --libe=*)
  10387. + libexecdir=$ac_optarg ;;
  10388. +
  10389. + -localedir | --localedir | --localedi | --localed | --locale)
  10390. + ac_prev=localedir ;;
  10391. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  10392. + localedir=$ac_optarg ;;
  10393. +
  10394. + -localstatedir | --localstatedir | --localstatedi | --localstated \
  10395. + | --localstate | --localstat | --localsta | --localst | --locals)
  10396. + ac_prev=localstatedir ;;
  10397. + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  10398. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  10399. + localstatedir=$ac_optarg ;;
  10400. +
  10401. + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  10402. + ac_prev=mandir ;;
  10403. + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  10404. + mandir=$ac_optarg ;;
  10405. +
  10406. + -nfp | --nfp | --nf)
  10407. + # Obsolete; use --without-fp.
  10408. + with_fp=no ;;
  10409. +
  10410. + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  10411. + | --no-cr | --no-c | -n)
  10412. + no_create=yes ;;
  10413. +
  10414. + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  10415. + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  10416. + no_recursion=yes ;;
  10417. +
  10418. + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  10419. + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  10420. + | --oldin | --oldi | --old | --ol | --o)
  10421. + ac_prev=oldincludedir ;;
  10422. + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  10423. + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  10424. + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  10425. + oldincludedir=$ac_optarg ;;
  10426. +
  10427. + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  10428. + ac_prev=prefix ;;
  10429. + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  10430. + prefix=$ac_optarg ;;
  10431. +
  10432. + -program-prefix | --program-prefix | --program-prefi | --program-pref \
  10433. + | --program-pre | --program-pr | --program-p)
  10434. + ac_prev=program_prefix ;;
  10435. + -program-prefix=* | --program-prefix=* | --program-prefi=* \
  10436. + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  10437. + program_prefix=$ac_optarg ;;
  10438. +
  10439. + -program-suffix | --program-suffix | --program-suffi | --program-suff \
  10440. + | --program-suf | --program-su | --program-s)
  10441. + ac_prev=program_suffix ;;
  10442. + -program-suffix=* | --program-suffix=* | --program-suffi=* \
  10443. + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  10444. + program_suffix=$ac_optarg ;;
  10445. +
  10446. + -program-transform-name | --program-transform-name \
  10447. + | --program-transform-nam | --program-transform-na \
  10448. + | --program-transform-n | --program-transform- \
  10449. + | --program-transform | --program-transfor \
  10450. + | --program-transfo | --program-transf \
  10451. + | --program-trans | --program-tran \
  10452. + | --progr-tra | --program-tr | --program-t)
  10453. + ac_prev=program_transform_name ;;
  10454. + -program-transform-name=* | --program-transform-name=* \
  10455. + | --program-transform-nam=* | --program-transform-na=* \
  10456. + | --program-transform-n=* | --program-transform-=* \
  10457. + | --program-transform=* | --program-transfor=* \
  10458. + | --program-transfo=* | --program-transf=* \
  10459. + | --program-trans=* | --program-tran=* \
  10460. + | --progr-tra=* | --program-tr=* | --program-t=*)
  10461. + program_transform_name=$ac_optarg ;;
  10462. +
  10463. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  10464. + ac_prev=pdfdir ;;
  10465. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  10466. + pdfdir=$ac_optarg ;;
  10467. +
  10468. + -psdir | --psdir | --psdi | --psd | --ps)
  10469. + ac_prev=psdir ;;
  10470. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  10471. + psdir=$ac_optarg ;;
  10472. +
  10473. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  10474. + | -silent | --silent | --silen | --sile | --sil)
  10475. + silent=yes ;;
  10476. +
  10477. + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  10478. + ac_prev=sbindir ;;
  10479. + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  10480. + | --sbi=* | --sb=*)
  10481. + sbindir=$ac_optarg ;;
  10482. +
  10483. + -sharedstatedir | --sharedstatedir | --sharedstatedi \
  10484. + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  10485. + | --sharedst | --shareds | --shared | --share | --shar \
  10486. + | --sha | --sh)
  10487. + ac_prev=sharedstatedir ;;
  10488. + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  10489. + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  10490. + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  10491. + | --sha=* | --sh=*)
  10492. + sharedstatedir=$ac_optarg ;;
  10493. +
  10494. + -site | --site | --sit)
  10495. + ac_prev=site ;;
  10496. + -site=* | --site=* | --sit=*)
  10497. + site=$ac_optarg ;;
  10498. +
  10499. + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  10500. + ac_prev=srcdir ;;
  10501. + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  10502. + srcdir=$ac_optarg ;;
  10503. +
  10504. + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  10505. + | --syscon | --sysco | --sysc | --sys | --sy)
  10506. + ac_prev=sysconfdir ;;
  10507. + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  10508. + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  10509. + sysconfdir=$ac_optarg ;;
  10510. +
  10511. + -target | --target | --targe | --targ | --tar | --ta | --t)
  10512. + ac_prev=target_alias ;;
  10513. + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  10514. + target_alias=$ac_optarg ;;
  10515. +
  10516. + -v | -verbose | --verbose | --verbos | --verbo | --verb)
  10517. + verbose=yes ;;
  10518. +
  10519. + -version | --version | --versio | --versi | --vers | -V)
  10520. + ac_init_version=: ;;
  10521. +
  10522. + -with-* | --with-*)
  10523. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  10524. + # Reject names that are not valid shell variable names.
  10525. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  10526. + as_fn_error $? "invalid package name: $ac_useropt"
  10527. + ac_useropt_orig=$ac_useropt
  10528. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  10529. + case $ac_user_opts in
  10530. + *"
  10531. +"with_$ac_useropt"
  10532. +"*) ;;
  10533. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  10534. + ac_unrecognized_sep=', ';;
  10535. + esac
  10536. + eval with_$ac_useropt=\$ac_optarg ;;
  10537. +
  10538. + -without-* | --without-*)
  10539. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  10540. + # Reject names that are not valid shell variable names.
  10541. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  10542. + as_fn_error $? "invalid package name: $ac_useropt"
  10543. + ac_useropt_orig=$ac_useropt
  10544. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  10545. + case $ac_user_opts in
  10546. + *"
  10547. +"with_$ac_useropt"
  10548. +"*) ;;
  10549. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  10550. + ac_unrecognized_sep=', ';;
  10551. + esac
  10552. + eval with_$ac_useropt=no ;;
  10553. +
  10554. + --x)
  10555. + # Obsolete; use --with-x.
  10556. + with_x=yes ;;
  10557. +
  10558. + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  10559. + | --x-incl | --x-inc | --x-in | --x-i)
  10560. + ac_prev=x_includes ;;
  10561. + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  10562. + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  10563. + x_includes=$ac_optarg ;;
  10564. +
  10565. + -x-libraries | --x-libraries | --x-librarie | --x-librari \
  10566. + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  10567. + ac_prev=x_libraries ;;
  10568. + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  10569. + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  10570. + x_libraries=$ac_optarg ;;
  10571. +
  10572. + -*) as_fn_error $? "unrecognized option: \`$ac_option'
  10573. +Try \`$0 --help' for more information"
  10574. + ;;
  10575. +
  10576. + *=*)
  10577. + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  10578. + # Reject names that are not valid shell variable names.
  10579. + case $ac_envvar in #(
  10580. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  10581. + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  10582. + esac
  10583. + eval $ac_envvar=\$ac_optarg
  10584. + export $ac_envvar ;;
  10585. +
  10586. + *)
  10587. + # FIXME: should be removed in autoconf 3.0.
  10588. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  10589. + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  10590. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  10591. + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  10592. + ;;
  10593. +
  10594. + esac
  10595. +done
  10596. +
  10597. +if test -n "$ac_prev"; then
  10598. + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  10599. + as_fn_error $? "missing argument to $ac_option"
  10600. +fi
  10601. +
  10602. +if test -n "$ac_unrecognized_opts"; then
  10603. + case $enable_option_checking in
  10604. + no) ;;
  10605. + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  10606. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  10607. + esac
  10608. +fi
  10609. +
  10610. +# Check all directory arguments for consistency.
  10611. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  10612. + datadir sysconfdir sharedstatedir localstatedir includedir \
  10613. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  10614. + libdir localedir mandir
  10615. +do
  10616. + eval ac_val=\$$ac_var
  10617. + # Remove trailing slashes.
  10618. + case $ac_val in
  10619. + */ )
  10620. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  10621. + eval $ac_var=\$ac_val;;
  10622. + esac
  10623. + # Be sure to have absolute directory names.
  10624. + case $ac_val in
  10625. + [\\/$]* | ?:[\\/]* ) continue;;
  10626. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  10627. + esac
  10628. + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  10629. +done
  10630. +
  10631. +# There might be people who depend on the old broken behavior: `$host'
  10632. +# used to hold the argument of --host etc.
  10633. +# FIXME: To remove some day.
  10634. +build=$build_alias
  10635. +host=$host_alias
  10636. +target=$target_alias
  10637. +
  10638. +# FIXME: To remove some day.
  10639. +if test "x$host_alias" != x; then
  10640. + if test "x$build_alias" = x; then
  10641. + cross_compiling=maybe
  10642. + elif test "x$build_alias" != "x$host_alias"; then
  10643. + cross_compiling=yes
  10644. + fi
  10645. +fi
  10646. +
  10647. +ac_tool_prefix=
  10648. +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  10649. +
  10650. +test "$silent" = yes && exec 6>/dev/null
  10651. +
  10652. +
  10653. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  10654. +ac_ls_di=`ls -di .` &&
  10655. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  10656. + as_fn_error $? "working directory cannot be determined"
  10657. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  10658. + as_fn_error $? "pwd does not report name of working directory"
  10659. +
  10660. +
  10661. +# Find the source files, if location was not specified.
  10662. +if test -z "$srcdir"; then
  10663. + ac_srcdir_defaulted=yes
  10664. + # Try the directory containing this script, then the parent directory.
  10665. + ac_confdir=`$as_dirname -- "$as_myself" ||
  10666. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  10667. + X"$as_myself" : 'X\(//\)[^/]' \| \
  10668. + X"$as_myself" : 'X\(//\)$' \| \
  10669. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  10670. +$as_echo X"$as_myself" |
  10671. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  10672. + s//\1/
  10673. + q
  10674. + }
  10675. + /^X\(\/\/\)[^/].*/{
  10676. + s//\1/
  10677. + q
  10678. + }
  10679. + /^X\(\/\/\)$/{
  10680. + s//\1/
  10681. + q
  10682. + }
  10683. + /^X\(\/\).*/{
  10684. + s//\1/
  10685. + q
  10686. + }
  10687. + s/.*/./; q'`
  10688. + srcdir=$ac_confdir
  10689. + if test ! -r "$srcdir/$ac_unique_file"; then
  10690. + srcdir=..
  10691. + fi
  10692. +else
  10693. + ac_srcdir_defaulted=no
  10694. +fi
  10695. +if test ! -r "$srcdir/$ac_unique_file"; then
  10696. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  10697. + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  10698. +fi
  10699. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  10700. +ac_abs_confdir=`(
  10701. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  10702. + pwd)`
  10703. +# When building in place, set srcdir=.
  10704. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  10705. + srcdir=.
  10706. +fi
  10707. +# Remove unnecessary trailing slashes from srcdir.
  10708. +# Double slashes in file names in object file debugging info
  10709. +# mess up M-x gdb in Emacs.
  10710. +case $srcdir in
  10711. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  10712. +esac
  10713. +for ac_var in $ac_precious_vars; do
  10714. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  10715. + eval ac_env_${ac_var}_value=\$${ac_var}
  10716. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  10717. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  10718. +done
  10719. +
  10720. +#
  10721. +# Report the --help message.
  10722. +#
  10723. +if test "$ac_init_help" = "long"; then
  10724. + # Omit some internal or obsolete options to make the list less imposing.
  10725. + # This message is too long to be a string in the A/UX 3.1 sh.
  10726. + cat <<_ACEOF
  10727. +\`configure' configures this package to adapt to many kinds of systems.
  10728. +
  10729. +Usage: $0 [OPTION]... [VAR=VALUE]...
  10730. +
  10731. +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  10732. +VAR=VALUE. See below for descriptions of some of the useful variables.
  10733. +
  10734. +Defaults for the options are specified in brackets.
  10735. +
  10736. +Configuration:
  10737. + -h, --help display this help and exit
  10738. + --help=short display options specific to this package
  10739. + --help=recursive display the short help of all the included packages
  10740. + -V, --version display version information and exit
  10741. + -q, --quiet, --silent do not print \`checking ...' messages
  10742. + --cache-file=FILE cache test results in FILE [disabled]
  10743. + -C, --config-cache alias for \`--cache-file=config.cache'
  10744. + -n, --no-create do not create output files
  10745. + --srcdir=DIR find the sources in DIR [configure dir or \`..']
  10746. +
  10747. +Installation directories:
  10748. + --prefix=PREFIX install architecture-independent files in PREFIX
  10749. + @<:@@S|@ac_default_prefix@:>@
  10750. + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  10751. + @<:@PREFIX@:>@
  10752. +
  10753. +By default, \`make install' will install all the files in
  10754. +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  10755. +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  10756. +for instance \`--prefix=\$HOME'.
  10757. +
  10758. +For better control, use the options below.
  10759. +
  10760. +Fine tuning of the installation directories:
  10761. + --bindir=DIR user executables [EPREFIX/bin]
  10762. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  10763. + --libexecdir=DIR program executables [EPREFIX/libexec]
  10764. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  10765. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  10766. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  10767. + --libdir=DIR object code libraries [EPREFIX/lib]
  10768. + --includedir=DIR C header files [PREFIX/include]
  10769. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  10770. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  10771. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  10772. + --infodir=DIR info documentation [DATAROOTDIR/info]
  10773. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  10774. + --mandir=DIR man documentation [DATAROOTDIR/man]
  10775. + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
  10776. + --htmldir=DIR html documentation [DOCDIR]
  10777. + --dvidir=DIR dvi documentation [DOCDIR]
  10778. + --pdfdir=DIR pdf documentation [DOCDIR]
  10779. + --psdir=DIR ps documentation [DOCDIR]
  10780. +_ACEOF
  10781. +
  10782. + cat <<\_ACEOF
  10783. +
  10784. +Program names:
  10785. + --program-prefix=PREFIX prepend PREFIX to installed program names
  10786. + --program-suffix=SUFFIX append SUFFIX to installed program names
  10787. + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  10788. +
  10789. +System types:
  10790. + --build=BUILD configure for building on BUILD [guessed]
  10791. + --host=HOST cross-compile to build programs to run on HOST [BUILD]
  10792. +_ACEOF
  10793. +fi
  10794. +
  10795. +if test -n "$ac_init_help"; then
  10796. +
  10797. + cat <<\_ACEOF
  10798. +
  10799. +Optional Features:
  10800. + --disable-option-checking ignore unrecognized --enable/--with options
  10801. + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  10802. + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  10803. + --enable-silent-rules less verbose build output (undo: "make V=1")
  10804. + --disable-silent-rules verbose build output (undo: "make V=0")
  10805. + --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
  10806. + --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
  10807. + --enable-fast-install@<:@=PKGS@:>@
  10808. + optimize for fast installation @<:@default=yes@:>@
  10809. + --enable-dependency-tracking
  10810. + do not reject slow dependency extractors
  10811. + --disable-dependency-tracking
  10812. + speeds up one-time build
  10813. + --disable-libtool-lock avoid locking (might break parallel builds)
  10814. +
  10815. +Optional Packages:
  10816. + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  10817. + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  10818. + --with-pic try to use only PIC/non-PIC objects @<:@default=use
  10819. + both@:>@
  10820. + --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
  10821. +
  10822. +Some influential environment variables:
  10823. + CC C compiler command
  10824. + CFLAGS C compiler flags
  10825. + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  10826. + nonstandard directory <lib dir>
  10827. + LIBS libraries to pass to the linker, e.g. -l<library>
  10828. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  10829. + you have headers in a nonstandard directory <include dir>
  10830. + CPP C preprocessor
  10831. +
  10832. +Use these variables to override the choices made by `configure' or to help
  10833. +it to find libraries and programs with nonstandard names/locations.
  10834. +
  10835. +Report bugs to the package provider.
  10836. +_ACEOF
  10837. +ac_status=$?
  10838. +fi
  10839. +
  10840. +if test "$ac_init_help" = "recursive"; then
  10841. + # If there are subdirs, report their specific --help.
  10842. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  10843. + test -d "$ac_dir" ||
  10844. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  10845. + continue
  10846. + ac_builddir=.
  10847. +
  10848. +case "$ac_dir" in
  10849. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  10850. +*)
  10851. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  10852. + # A ".." for each directory in $ac_dir_suffix.
  10853. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  10854. + case $ac_top_builddir_sub in
  10855. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  10856. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  10857. + esac ;;
  10858. +esac
  10859. +ac_abs_top_builddir=$ac_pwd
  10860. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  10861. +# for backward compatibility:
  10862. +ac_top_builddir=$ac_top_build_prefix
  10863. +
  10864. +case $srcdir in
  10865. + .) # We are building in place.
  10866. + ac_srcdir=.
  10867. + ac_top_srcdir=$ac_top_builddir_sub
  10868. + ac_abs_top_srcdir=$ac_pwd ;;
  10869. + [\\/]* | ?:[\\/]* ) # Absolute name.
  10870. + ac_srcdir=$srcdir$ac_dir_suffix;
  10871. + ac_top_srcdir=$srcdir
  10872. + ac_abs_top_srcdir=$srcdir ;;
  10873. + *) # Relative name.
  10874. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  10875. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  10876. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  10877. +esac
  10878. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  10879. +
  10880. + cd "$ac_dir" || { ac_status=$?; continue; }
  10881. + # Check for guested configure.
  10882. + if test -f "$ac_srcdir/configure.gnu"; then
  10883. + echo &&
  10884. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  10885. + elif test -f "$ac_srcdir/configure"; then
  10886. + echo &&
  10887. + $SHELL "$ac_srcdir/configure" --help=recursive
  10888. + else
  10889. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  10890. + fi || ac_status=$?
  10891. + cd "$ac_pwd" || { ac_status=$?; break; }
  10892. + done
  10893. +fi
  10894. +
  10895. +test -n "$ac_init_help" && exit $ac_status
  10896. +if $ac_init_version; then
  10897. + cat <<\_ACEOF
  10898. +configure
  10899. +generated by GNU Autoconf 2.69
  10900. +
  10901. +Copyright (C) 2012 Free Software Foundation, Inc.
  10902. +This configure script is free software; the Free Software Foundation
  10903. +gives unlimited permission to copy, distribute and modify it.
  10904. +_ACEOF
  10905. + exit
  10906. +fi
  10907. +
  10908. +## ------------------------ ##
  10909. +## Autoconf initialization. ##
  10910. +## ------------------------ ##
  10911. +
  10912. +@%:@ ac_fn_c_try_compile LINENO
  10913. +@%:@ --------------------------
  10914. +@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  10915. +ac_fn_c_try_compile ()
  10916. +{
  10917. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  10918. + rm -f conftest.$ac_objext
  10919. + if { { ac_try="$ac_compile"
  10920. +case "(($ac_try" in
  10921. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10922. + *) ac_try_echo=$ac_try;;
  10923. +esac
  10924. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  10925. +$as_echo "$ac_try_echo"; } >&5
  10926. + (eval "$ac_compile") 2>conftest.err
  10927. + ac_status=$?
  10928. + if test -s conftest.err; then
  10929. + grep -v '^ *+' conftest.err >conftest.er1
  10930. + cat conftest.er1 >&5
  10931. + mv -f conftest.er1 conftest.err
  10932. + fi
  10933. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10934. + test $ac_status = 0; } && {
  10935. + test -z "$ac_c_werror_flag" ||
  10936. + test ! -s conftest.err
  10937. + } && test -s conftest.$ac_objext; then :
  10938. + ac_retval=0
  10939. +else
  10940. + $as_echo "$as_me: failed program was:" >&5
  10941. +sed 's/^/| /' conftest.$ac_ext >&5
  10942. +
  10943. + ac_retval=1
  10944. +fi
  10945. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  10946. + as_fn_set_status $ac_retval
  10947. +
  10948. +} @%:@ ac_fn_c_try_compile
  10949. +
  10950. +@%:@ ac_fn_c_try_link LINENO
  10951. +@%:@ -----------------------
  10952. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
  10953. +ac_fn_c_try_link ()
  10954. +{
  10955. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  10956. + rm -f conftest.$ac_objext conftest$ac_exeext
  10957. + if { { ac_try="$ac_link"
  10958. +case "(($ac_try" in
  10959. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10960. + *) ac_try_echo=$ac_try;;
  10961. +esac
  10962. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  10963. +$as_echo "$ac_try_echo"; } >&5
  10964. + (eval "$ac_link") 2>conftest.err
  10965. + ac_status=$?
  10966. + if test -s conftest.err; then
  10967. + grep -v '^ *+' conftest.err >conftest.er1
  10968. + cat conftest.er1 >&5
  10969. + mv -f conftest.er1 conftest.err
  10970. + fi
  10971. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10972. + test $ac_status = 0; } && {
  10973. + test -z "$ac_c_werror_flag" ||
  10974. + test ! -s conftest.err
  10975. + } && test -s conftest$ac_exeext && {
  10976. + test "$cross_compiling" = yes ||
  10977. + test -x conftest$ac_exeext
  10978. + }; then :
  10979. + ac_retval=0
  10980. +else
  10981. + $as_echo "$as_me: failed program was:" >&5
  10982. +sed 's/^/| /' conftest.$ac_ext >&5
  10983. +
  10984. + ac_retval=1
  10985. +fi
  10986. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  10987. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  10988. + # interfere with the next link command; also delete a directory that is
  10989. + # left behind by Apple's compiler. We do this before executing the actions.
  10990. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  10991. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  10992. + as_fn_set_status $ac_retval
  10993. +
  10994. +} @%:@ ac_fn_c_try_link
  10995. +
  10996. +@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  10997. +@%:@ -------------------------------------------------------
  10998. +@%:@ Tests whether HEADER exists and can be compiled using the include files in
  10999. +@%:@ INCLUDES, setting the cache variable VAR accordingly.
  11000. +ac_fn_c_check_header_compile ()
  11001. +{
  11002. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11003. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11004. +$as_echo_n "checking for $2... " >&6; }
  11005. +if eval \${$3+:} false; then :
  11006. + $as_echo_n "(cached) " >&6
  11007. +else
  11008. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11009. +/* end confdefs.h. */
  11010. +$4
  11011. +@%:@include <$2>
  11012. +_ACEOF
  11013. +if ac_fn_c_try_compile "$LINENO"; then :
  11014. + eval "$3=yes"
  11015. +else
  11016. + eval "$3=no"
  11017. +fi
  11018. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11019. +fi
  11020. +eval ac_res=\$$3
  11021. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11022. +$as_echo "$ac_res" >&6; }
  11023. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11024. +
  11025. +} @%:@ ac_fn_c_check_header_compile
  11026. +
  11027. +@%:@ ac_fn_c_try_cpp LINENO
  11028. +@%:@ ----------------------
  11029. +@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
  11030. +ac_fn_c_try_cpp ()
  11031. +{
  11032. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11033. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  11034. +case "(($ac_try" in
  11035. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11036. + *) ac_try_echo=$ac_try;;
  11037. +esac
  11038. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11039. +$as_echo "$ac_try_echo"; } >&5
  11040. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  11041. + ac_status=$?
  11042. + if test -s conftest.err; then
  11043. + grep -v '^ *+' conftest.err >conftest.er1
  11044. + cat conftest.er1 >&5
  11045. + mv -f conftest.er1 conftest.err
  11046. + fi
  11047. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11048. + test $ac_status = 0; } > conftest.i && {
  11049. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11050. + test ! -s conftest.err
  11051. + }; then :
  11052. + ac_retval=0
  11053. +else
  11054. + $as_echo "$as_me: failed program was:" >&5
  11055. +sed 's/^/| /' conftest.$ac_ext >&5
  11056. +
  11057. + ac_retval=1
  11058. +fi
  11059. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11060. + as_fn_set_status $ac_retval
  11061. +
  11062. +} @%:@ ac_fn_c_try_cpp
  11063. +
  11064. +@%:@ ac_fn_c_try_run LINENO
  11065. +@%:@ ----------------------
  11066. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
  11067. +@%:@ that executables *can* be run.
  11068. +ac_fn_c_try_run ()
  11069. +{
  11070. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11071. + if { { ac_try="$ac_link"
  11072. +case "(($ac_try" in
  11073. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11074. + *) ac_try_echo=$ac_try;;
  11075. +esac
  11076. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11077. +$as_echo "$ac_try_echo"; } >&5
  11078. + (eval "$ac_link") 2>&5
  11079. + ac_status=$?
  11080. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11081. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  11082. + { { case "(($ac_try" in
  11083. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11084. + *) ac_try_echo=$ac_try;;
  11085. +esac
  11086. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11087. +$as_echo "$ac_try_echo"; } >&5
  11088. + (eval "$ac_try") 2>&5
  11089. + ac_status=$?
  11090. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11091. + test $ac_status = 0; }; }; then :
  11092. + ac_retval=0
  11093. +else
  11094. + $as_echo "$as_me: program exited with status $ac_status" >&5
  11095. + $as_echo "$as_me: failed program was:" >&5
  11096. +sed 's/^/| /' conftest.$ac_ext >&5
  11097. +
  11098. + ac_retval=$ac_status
  11099. +fi
  11100. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  11101. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11102. + as_fn_set_status $ac_retval
  11103. +
  11104. +} @%:@ ac_fn_c_try_run
  11105. +
  11106. +@%:@ ac_fn_c_check_func LINENO FUNC VAR
  11107. +@%:@ ----------------------------------
  11108. +@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
  11109. +ac_fn_c_check_func ()
  11110. +{
  11111. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11112. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11113. +$as_echo_n "checking for $2... " >&6; }
  11114. +if eval \${$3+:} false; then :
  11115. + $as_echo_n "(cached) " >&6
  11116. +else
  11117. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11118. +/* end confdefs.h. */
  11119. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  11120. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  11121. +#define $2 innocuous_$2
  11122. +
  11123. +/* System header to define __stub macros and hopefully few prototypes,
  11124. + which can conflict with char $2 (); below.
  11125. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  11126. + <limits.h> exists even on freestanding compilers. */
  11127. +
  11128. +#ifdef __STDC__
  11129. +# include <limits.h>
  11130. +#else
  11131. +# include <assert.h>
  11132. +#endif
  11133. +
  11134. +#undef $2
  11135. +
  11136. +/* Override any GCC internal prototype to avoid an error.
  11137. + Use char because int might match the return type of a GCC
  11138. + builtin and then its argument prototype would still apply. */
  11139. +#ifdef __cplusplus
  11140. +extern "C"
  11141. +#endif
  11142. +char $2 ();
  11143. +/* The GNU C library defines this for functions which it implements
  11144. + to always fail with ENOSYS. Some functions are actually named
  11145. + something starting with __ and the normal name is an alias. */
  11146. +#if defined __stub_$2 || defined __stub___$2
  11147. +choke me
  11148. +#endif
  11149. +
  11150. +int
  11151. +main ()
  11152. +{
  11153. +return $2 ();
  11154. + ;
  11155. + return 0;
  11156. +}
  11157. +_ACEOF
  11158. +if ac_fn_c_try_link "$LINENO"; then :
  11159. + eval "$3=yes"
  11160. +else
  11161. + eval "$3=no"
  11162. +fi
  11163. +rm -f core conftest.err conftest.$ac_objext \
  11164. + conftest$ac_exeext conftest.$ac_ext
  11165. +fi
  11166. +eval ac_res=\$$3
  11167. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11168. +$as_echo "$ac_res" >&6; }
  11169. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11170. +
  11171. +} @%:@ ac_fn_c_check_func
  11172. +
  11173. +@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  11174. +@%:@ --------------------------------------------
  11175. +@%:@ Tries to find the compile-time value of EXPR in a program that includes
  11176. +@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
  11177. +@%:@ computed
  11178. +ac_fn_c_compute_int ()
  11179. +{
  11180. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11181. + if test "$cross_compiling" = yes; then
  11182. + # Depending upon the size, compute the lo and hi bounds.
  11183. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11184. +/* end confdefs.h. */
  11185. +$4
  11186. +int
  11187. +main ()
  11188. +{
  11189. +static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
  11190. +test_array @<:@0@:>@ = 0;
  11191. +return test_array @<:@0@:>@;
  11192. +
  11193. + ;
  11194. + return 0;
  11195. +}
  11196. +_ACEOF
  11197. +if ac_fn_c_try_compile "$LINENO"; then :
  11198. + ac_lo=0 ac_mid=0
  11199. + while :; do
  11200. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11201. +/* end confdefs.h. */
  11202. +$4
  11203. +int
  11204. +main ()
  11205. +{
  11206. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  11207. +test_array @<:@0@:>@ = 0;
  11208. +return test_array @<:@0@:>@;
  11209. +
  11210. + ;
  11211. + return 0;
  11212. +}
  11213. +_ACEOF
  11214. +if ac_fn_c_try_compile "$LINENO"; then :
  11215. + ac_hi=$ac_mid; break
  11216. +else
  11217. + as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  11218. + if test $ac_lo -le $ac_mid; then
  11219. + ac_lo= ac_hi=
  11220. + break
  11221. + fi
  11222. + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  11223. +fi
  11224. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11225. + done
  11226. +else
  11227. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11228. +/* end confdefs.h. */
  11229. +$4
  11230. +int
  11231. +main ()
  11232. +{
  11233. +static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
  11234. +test_array @<:@0@:>@ = 0;
  11235. +return test_array @<:@0@:>@;
  11236. +
  11237. + ;
  11238. + return 0;
  11239. +}
  11240. +_ACEOF
  11241. +if ac_fn_c_try_compile "$LINENO"; then :
  11242. + ac_hi=-1 ac_mid=-1
  11243. + while :; do
  11244. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11245. +/* end confdefs.h. */
  11246. +$4
  11247. +int
  11248. +main ()
  11249. +{
  11250. +static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
  11251. +test_array @<:@0@:>@ = 0;
  11252. +return test_array @<:@0@:>@;
  11253. +
  11254. + ;
  11255. + return 0;
  11256. +}
  11257. +_ACEOF
  11258. +if ac_fn_c_try_compile "$LINENO"; then :
  11259. + ac_lo=$ac_mid; break
  11260. +else
  11261. + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  11262. + if test $ac_mid -le $ac_hi; then
  11263. + ac_lo= ac_hi=
  11264. + break
  11265. + fi
  11266. + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  11267. +fi
  11268. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11269. + done
  11270. +else
  11271. + ac_lo= ac_hi=
  11272. +fi
  11273. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11274. +fi
  11275. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11276. +# Binary search between lo and hi bounds.
  11277. +while test "x$ac_lo" != "x$ac_hi"; do
  11278. + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  11279. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11280. +/* end confdefs.h. */
  11281. +$4
  11282. +int
  11283. +main ()
  11284. +{
  11285. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  11286. +test_array @<:@0@:>@ = 0;
  11287. +return test_array @<:@0@:>@;
  11288. +
  11289. + ;
  11290. + return 0;
  11291. +}
  11292. +_ACEOF
  11293. +if ac_fn_c_try_compile "$LINENO"; then :
  11294. + ac_hi=$ac_mid
  11295. +else
  11296. + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  11297. +fi
  11298. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11299. +done
  11300. +case $ac_lo in @%:@((
  11301. +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  11302. +'') ac_retval=1 ;;
  11303. +esac
  11304. + else
  11305. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11306. +/* end confdefs.h. */
  11307. +$4
  11308. +static long int longval () { return $2; }
  11309. +static unsigned long int ulongval () { return $2; }
  11310. +@%:@include <stdio.h>
  11311. +@%:@include <stdlib.h>
  11312. +int
  11313. +main ()
  11314. +{
  11315. +
  11316. + FILE *f = fopen ("conftest.val", "w");
  11317. + if (! f)
  11318. + return 1;
  11319. + if (($2) < 0)
  11320. + {
  11321. + long int i = longval ();
  11322. + if (i != ($2))
  11323. + return 1;
  11324. + fprintf (f, "%ld", i);
  11325. + }
  11326. + else
  11327. + {
  11328. + unsigned long int i = ulongval ();
  11329. + if (i != ($2))
  11330. + return 1;
  11331. + fprintf (f, "%lu", i);
  11332. + }
  11333. + /* Do not output a trailing newline, as this causes \r\n confusion
  11334. + on some platforms. */
  11335. + return ferror (f) || fclose (f) != 0;
  11336. +
  11337. + ;
  11338. + return 0;
  11339. +}
  11340. +_ACEOF
  11341. +if ac_fn_c_try_run "$LINENO"; then :
  11342. + echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  11343. +else
  11344. + ac_retval=1
  11345. +fi
  11346. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  11347. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  11348. +rm -f conftest.val
  11349. +
  11350. + fi
  11351. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11352. + as_fn_set_status $ac_retval
  11353. +
  11354. +} @%:@ ac_fn_c_compute_int
  11355. +
  11356. +@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  11357. +@%:@ -------------------------------------------------------
  11358. +@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
  11359. +@%:@ the include files in INCLUDES and setting the cache variable VAR
  11360. +@%:@ accordingly.
  11361. +ac_fn_c_check_header_mongrel ()
  11362. +{
  11363. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11364. + if eval \${$3+:} false; then :
  11365. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11366. +$as_echo_n "checking for $2... " >&6; }
  11367. +if eval \${$3+:} false; then :
  11368. + $as_echo_n "(cached) " >&6
  11369. +fi
  11370. +eval ac_res=\$$3
  11371. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11372. +$as_echo "$ac_res" >&6; }
  11373. +else
  11374. + # Is the header compilable?
  11375. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  11376. +$as_echo_n "checking $2 usability... " >&6; }
  11377. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11378. +/* end confdefs.h. */
  11379. +$4
  11380. +@%:@include <$2>
  11381. +_ACEOF
  11382. +if ac_fn_c_try_compile "$LINENO"; then :
  11383. + ac_header_compiler=yes
  11384. +else
  11385. + ac_header_compiler=no
  11386. +fi
  11387. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11388. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  11389. +$as_echo "$ac_header_compiler" >&6; }
  11390. +
  11391. +# Is the header present?
  11392. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  11393. +$as_echo_n "checking $2 presence... " >&6; }
  11394. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11395. +/* end confdefs.h. */
  11396. +@%:@include <$2>
  11397. +_ACEOF
  11398. +if ac_fn_c_try_cpp "$LINENO"; then :
  11399. + ac_header_preproc=yes
  11400. +else
  11401. + ac_header_preproc=no
  11402. +fi
  11403. +rm -f conftest.err conftest.i conftest.$ac_ext
  11404. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  11405. +$as_echo "$ac_header_preproc" >&6; }
  11406. +
  11407. +# So? What about this header?
  11408. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  11409. + yes:no: )
  11410. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  11411. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  11412. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  11413. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  11414. + ;;
  11415. + no:yes:* )
  11416. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  11417. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  11418. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  11419. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  11420. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  11421. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  11422. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  11423. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  11424. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  11425. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  11426. + ;;
  11427. +esac
  11428. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11429. +$as_echo_n "checking for $2... " >&6; }
  11430. +if eval \${$3+:} false; then :
  11431. + $as_echo_n "(cached) " >&6
  11432. +else
  11433. + eval "$3=\$ac_header_compiler"
  11434. +fi
  11435. +eval ac_res=\$$3
  11436. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11437. +$as_echo "$ac_res" >&6; }
  11438. +fi
  11439. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11440. +
  11441. +} @%:@ ac_fn_c_check_header_mongrel
  11442. +
  11443. +@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  11444. +@%:@ -------------------------------------------
  11445. +@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
  11446. +@%:@ variable VAR accordingly.
  11447. +ac_fn_c_check_type ()
  11448. +{
  11449. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11450. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11451. +$as_echo_n "checking for $2... " >&6; }
  11452. +if eval \${$3+:} false; then :
  11453. + $as_echo_n "(cached) " >&6
  11454. +else
  11455. + eval "$3=no"
  11456. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11457. +/* end confdefs.h. */
  11458. +$4
  11459. +int
  11460. +main ()
  11461. +{
  11462. +if (sizeof ($2))
  11463. + return 0;
  11464. + ;
  11465. + return 0;
  11466. +}
  11467. +_ACEOF
  11468. +if ac_fn_c_try_compile "$LINENO"; then :
  11469. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11470. +/* end confdefs.h. */
  11471. +$4
  11472. +int
  11473. +main ()
  11474. +{
  11475. +if (sizeof (($2)))
  11476. + return 0;
  11477. + ;
  11478. + return 0;
  11479. +}
  11480. +_ACEOF
  11481. +if ac_fn_c_try_compile "$LINENO"; then :
  11482. +
  11483. +else
  11484. + eval "$3=yes"
  11485. +fi
  11486. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11487. +fi
  11488. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11489. +fi
  11490. +eval ac_res=\$$3
  11491. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11492. +$as_echo "$ac_res" >&6; }
  11493. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11494. +
  11495. +} @%:@ ac_fn_c_check_type
  11496. +cat >config.log <<_ACEOF
  11497. +This file contains any messages produced by compilers while
  11498. +running configure, to aid debugging if configure makes a mistake.
  11499. +
  11500. +It was created by $as_me, which was
  11501. +generated by GNU Autoconf 2.69. Invocation command line was
  11502. +
  11503. + $ $0 $@
  11504. +
  11505. +_ACEOF
  11506. +exec 5>>config.log
  11507. +{
  11508. +cat <<_ASUNAME
  11509. +## --------- ##
  11510. +## Platform. ##
  11511. +## --------- ##
  11512. +
  11513. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  11514. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  11515. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  11516. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  11517. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  11518. +
  11519. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  11520. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  11521. +
  11522. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  11523. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  11524. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  11525. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  11526. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  11527. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  11528. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  11529. +
  11530. +_ASUNAME
  11531. +
  11532. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11533. +for as_dir in $PATH
  11534. +do
  11535. + IFS=$as_save_IFS
  11536. + test -z "$as_dir" && as_dir=.
  11537. + $as_echo "PATH: $as_dir"
  11538. + done
  11539. +IFS=$as_save_IFS
  11540. +
  11541. +} >&5
  11542. +
  11543. +cat >&5 <<_ACEOF
  11544. +
  11545. +
  11546. +## ----------- ##
  11547. +## Core tests. ##
  11548. +## ----------- ##
  11549. +
  11550. +_ACEOF
  11551. +
  11552. +
  11553. +# Keep a trace of the command line.
  11554. +# Strip out --no-create and --no-recursion so they do not pile up.
  11555. +# Strip out --silent because we don't want to record it for future runs.
  11556. +# Also quote any args containing shell meta-characters.
  11557. +# Make two passes to allow for proper duplicate-argument suppression.
  11558. +ac_configure_args=
  11559. +ac_configure_args0=
  11560. +ac_configure_args1=
  11561. +ac_must_keep_next=false
  11562. +for ac_pass in 1 2
  11563. +do
  11564. + for ac_arg
  11565. + do
  11566. + case $ac_arg in
  11567. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  11568. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  11569. + | -silent | --silent | --silen | --sile | --sil)
  11570. + continue ;;
  11571. + *\'*)
  11572. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  11573. + esac
  11574. + case $ac_pass in
  11575. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  11576. + 2)
  11577. + as_fn_append ac_configure_args1 " '$ac_arg'"
  11578. + if test $ac_must_keep_next = true; then
  11579. + ac_must_keep_next=false # Got value, back to normal.
  11580. + else
  11581. + case $ac_arg in
  11582. + *=* | --config-cache | -C | -disable-* | --disable-* \
  11583. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  11584. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  11585. + | -with-* | --with-* | -without-* | --without-* | --x)
  11586. + case "$ac_configure_args0 " in
  11587. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  11588. + esac
  11589. + ;;
  11590. + -* ) ac_must_keep_next=true ;;
  11591. + esac
  11592. + fi
  11593. + as_fn_append ac_configure_args " '$ac_arg'"
  11594. + ;;
  11595. + esac
  11596. + done
  11597. +done
  11598. +{ ac_configure_args0=; unset ac_configure_args0;}
  11599. +{ ac_configure_args1=; unset ac_configure_args1;}
  11600. +
  11601. +# When interrupted or exit'd, cleanup temporary files, and complete
  11602. +# config.log. We remove comments because anyway the quotes in there
  11603. +# would cause problems or look ugly.
  11604. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  11605. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  11606. +trap 'exit_status=$?
  11607. + # Save into config.log some information that might help in debugging.
  11608. + {
  11609. + echo
  11610. +
  11611. + $as_echo "## ---------------- ##
  11612. +## Cache variables. ##
  11613. +## ---------------- ##"
  11614. + echo
  11615. + # The following way of writing the cache mishandles newlines in values,
  11616. +(
  11617. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  11618. + eval ac_val=\$$ac_var
  11619. + case $ac_val in #(
  11620. + *${as_nl}*)
  11621. + case $ac_var in #(
  11622. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  11623. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  11624. + esac
  11625. + case $ac_var in #(
  11626. + _ | IFS | as_nl) ;; #(
  11627. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  11628. + *) { eval $ac_var=; unset $ac_var;} ;;
  11629. + esac ;;
  11630. + esac
  11631. + done
  11632. + (set) 2>&1 |
  11633. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  11634. + *${as_nl}ac_space=\ *)
  11635. + sed -n \
  11636. + "s/'\''/'\''\\\\'\'''\''/g;
  11637. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  11638. + ;; #(
  11639. + *)
  11640. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  11641. + ;;
  11642. + esac |
  11643. + sort
  11644. +)
  11645. + echo
  11646. +
  11647. + $as_echo "## ----------------- ##
  11648. +## Output variables. ##
  11649. +## ----------------- ##"
  11650. + echo
  11651. + for ac_var in $ac_subst_vars
  11652. + do
  11653. + eval ac_val=\$$ac_var
  11654. + case $ac_val in
  11655. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  11656. + esac
  11657. + $as_echo "$ac_var='\''$ac_val'\''"
  11658. + done | sort
  11659. + echo
  11660. +
  11661. + if test -n "$ac_subst_files"; then
  11662. + $as_echo "## ------------------- ##
  11663. +## File substitutions. ##
  11664. +## ------------------- ##"
  11665. + echo
  11666. + for ac_var in $ac_subst_files
  11667. + do
  11668. + eval ac_val=\$$ac_var
  11669. + case $ac_val in
  11670. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  11671. + esac
  11672. + $as_echo "$ac_var='\''$ac_val'\''"
  11673. + done | sort
  11674. + echo
  11675. + fi
  11676. +
  11677. + if test -s confdefs.h; then
  11678. + $as_echo "## ----------- ##
  11679. +## confdefs.h. ##
  11680. +## ----------- ##"
  11681. + echo
  11682. + cat confdefs.h
  11683. + echo
  11684. + fi
  11685. + test "$ac_signal" != 0 &&
  11686. + $as_echo "$as_me: caught signal $ac_signal"
  11687. + $as_echo "$as_me: exit $exit_status"
  11688. + } >&5
  11689. + rm -f core *.core core.conftest.* &&
  11690. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  11691. + exit $exit_status
  11692. +' 0
  11693. +for ac_signal in 1 2 13 15; do
  11694. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  11695. +done
  11696. +ac_signal=0
  11697. +
  11698. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  11699. +rm -f -r conftest* confdefs.h
  11700. +
  11701. +$as_echo "/* confdefs.h */" > confdefs.h
  11702. +
  11703. +# Predefined preprocessor variables.
  11704. +
  11705. +cat >>confdefs.h <<_ACEOF
  11706. +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
  11707. +_ACEOF
  11708. +
  11709. +cat >>confdefs.h <<_ACEOF
  11710. +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  11711. +_ACEOF
  11712. +
  11713. +cat >>confdefs.h <<_ACEOF
  11714. +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  11715. +_ACEOF
  11716. +
  11717. +cat >>confdefs.h <<_ACEOF
  11718. +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
  11719. +_ACEOF
  11720. +
  11721. +cat >>confdefs.h <<_ACEOF
  11722. +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  11723. +_ACEOF
  11724. +
  11725. +cat >>confdefs.h <<_ACEOF
  11726. +@%:@define PACKAGE_URL "$PACKAGE_URL"
  11727. +_ACEOF
  11728. +
  11729. +
  11730. +# Let the site file select an alternate cache file if it wants to.
  11731. +# Prefer an explicitly selected file to automatically selected ones.
  11732. +ac_site_file1=NONE
  11733. +ac_site_file2=NONE
  11734. +if test -n "$CONFIG_SITE"; then
  11735. + # We do not want a PATH search for config.site.
  11736. + case $CONFIG_SITE in @%:@((
  11737. + -*) ac_site_file1=./$CONFIG_SITE;;
  11738. + */*) ac_site_file1=$CONFIG_SITE;;
  11739. + *) ac_site_file1=./$CONFIG_SITE;;
  11740. + esac
  11741. +elif test "x$prefix" != xNONE; then
  11742. + ac_site_file1=$prefix/share/config.site
  11743. + ac_site_file2=$prefix/etc/config.site
  11744. +else
  11745. + ac_site_file1=$ac_default_prefix/share/config.site
  11746. + ac_site_file2=$ac_default_prefix/etc/config.site
  11747. +fi
  11748. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  11749. +do
  11750. + test "x$ac_site_file" = xNONE && continue
  11751. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  11752. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  11753. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  11754. + sed 's/^/| /' "$ac_site_file" >&5
  11755. + . "$ac_site_file" \
  11756. + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11757. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11758. +as_fn_error $? "failed to load site script $ac_site_file
  11759. +See \`config.log' for more details" "$LINENO" 5; }
  11760. + fi
  11761. +done
  11762. +
  11763. +if test -r "$cache_file"; then
  11764. + # Some versions of bash will fail to source /dev/null (special files
  11765. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  11766. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  11767. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  11768. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  11769. + case $cache_file in
  11770. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  11771. + *) . "./$cache_file";;
  11772. + esac
  11773. + fi
  11774. +else
  11775. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  11776. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  11777. + >$cache_file
  11778. +fi
  11779. +
  11780. +# Check that the precious variables saved in the cache have kept the same
  11781. +# value.
  11782. +ac_cache_corrupted=false
  11783. +for ac_var in $ac_precious_vars; do
  11784. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  11785. + eval ac_new_set=\$ac_env_${ac_var}_set
  11786. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  11787. + eval ac_new_val=\$ac_env_${ac_var}_value
  11788. + case $ac_old_set,$ac_new_set in
  11789. + set,)
  11790. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  11791. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  11792. + ac_cache_corrupted=: ;;
  11793. + ,set)
  11794. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  11795. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  11796. + ac_cache_corrupted=: ;;
  11797. + ,);;
  11798. + *)
  11799. + if test "x$ac_old_val" != "x$ac_new_val"; then
  11800. + # differences in whitespace do not lead to failure.
  11801. + ac_old_val_w=`echo x $ac_old_val`
  11802. + ac_new_val_w=`echo x $ac_new_val`
  11803. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  11804. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  11805. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  11806. + ac_cache_corrupted=:
  11807. + else
  11808. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  11809. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  11810. + eval $ac_var=\$ac_old_val
  11811. + fi
  11812. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  11813. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  11814. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  11815. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  11816. + fi;;
  11817. + esac
  11818. + # Pass precious variables to config.status.
  11819. + if test "$ac_new_set" = set; then
  11820. + case $ac_new_val in
  11821. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  11822. + *) ac_arg=$ac_var=$ac_new_val ;;
  11823. + esac
  11824. + case " $ac_configure_args " in
  11825. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  11826. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  11827. + esac
  11828. + fi
  11829. +done
  11830. +if $ac_cache_corrupted; then
  11831. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11832. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11833. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  11834. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  11835. + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  11836. +fi
  11837. +## -------------------- ##
  11838. +## Main body of script. ##
  11839. +## -------------------- ##
  11840. +
  11841. +ac_ext=c
  11842. +ac_cpp='$CPP $CPPFLAGS'
  11843. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11844. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11845. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11846. +
  11847. +
  11848. +
  11849. +am__api_version='1.16'
  11850. +
  11851. +ac_aux_dir=
  11852. +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  11853. + if test -f "$ac_dir/install-sh"; then
  11854. + ac_aux_dir=$ac_dir
  11855. + ac_install_sh="$ac_aux_dir/install-sh -c"
  11856. + break
  11857. + elif test -f "$ac_dir/install.sh"; then
  11858. + ac_aux_dir=$ac_dir
  11859. + ac_install_sh="$ac_aux_dir/install.sh -c"
  11860. + break
  11861. + elif test -f "$ac_dir/shtool"; then
  11862. + ac_aux_dir=$ac_dir
  11863. + ac_install_sh="$ac_aux_dir/shtool install -c"
  11864. + break
  11865. + fi
  11866. +done
  11867. +if test -z "$ac_aux_dir"; then
  11868. + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  11869. +fi
  11870. +
  11871. +# These three variables are undocumented and unsupported,
  11872. +# and are intended to be withdrawn in a future Autoconf release.
  11873. +# They can cause serious problems if a builder's source tree is in a directory
  11874. +# whose full name contains unusual characters.
  11875. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  11876. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  11877. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  11878. +
  11879. +
  11880. +# Find a good install program. We prefer a C program (faster),
  11881. +# so one script is as good as another. But avoid the broken or
  11882. +# incompatible versions:
  11883. +# SysV /etc/install, /usr/sbin/install
  11884. +# SunOS /usr/etc/install
  11885. +# IRIX /sbin/install
  11886. +# AIX /bin/install
  11887. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  11888. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  11889. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  11890. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  11891. +# OS/2's system install, which has a completely different semantic
  11892. +# ./install, which can be erroneously created by make from ./install.sh.
  11893. +# Reject install programs that cannot install multiple files.
  11894. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  11895. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  11896. +if test -z "$INSTALL"; then
  11897. +if ${ac_cv_path_install+:} false; then :
  11898. + $as_echo_n "(cached) " >&6
  11899. +else
  11900. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11901. +for as_dir in $PATH
  11902. +do
  11903. + IFS=$as_save_IFS
  11904. + test -z "$as_dir" && as_dir=.
  11905. + # Account for people who put trailing slashes in PATH elements.
  11906. +case $as_dir/ in @%:@((
  11907. + ./ | .// | /[cC]/* | \
  11908. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  11909. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  11910. + /usr/ucb/* ) ;;
  11911. + *)
  11912. + # OSF1 and SCO ODT 3.0 have their own names for install.
  11913. + # Don't use installbsd from OSF since it installs stuff as root
  11914. + # by default.
  11915. + for ac_prog in ginstall scoinst install; do
  11916. + for ac_exec_ext in '' $ac_executable_extensions; do
  11917. + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  11918. + if test $ac_prog = install &&
  11919. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  11920. + # AIX install. It has an incompatible calling convention.
  11921. + :
  11922. + elif test $ac_prog = install &&
  11923. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  11924. + # program-specific install script used by HP pwplus--don't use.
  11925. + :
  11926. + else
  11927. + rm -rf conftest.one conftest.two conftest.dir
  11928. + echo one > conftest.one
  11929. + echo two > conftest.two
  11930. + mkdir conftest.dir
  11931. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  11932. + test -s conftest.one && test -s conftest.two &&
  11933. + test -s conftest.dir/conftest.one &&
  11934. + test -s conftest.dir/conftest.two
  11935. + then
  11936. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  11937. + break 3
  11938. + fi
  11939. + fi
  11940. + fi
  11941. + done
  11942. + done
  11943. + ;;
  11944. +esac
  11945. +
  11946. + done
  11947. +IFS=$as_save_IFS
  11948. +
  11949. +rm -rf conftest.one conftest.two conftest.dir
  11950. +
  11951. +fi
  11952. + if test "${ac_cv_path_install+set}" = set; then
  11953. + INSTALL=$ac_cv_path_install
  11954. + else
  11955. + # As a last resort, use the slow shell script. Don't cache a
  11956. + # value for INSTALL within a source directory, because that will
  11957. + # break other packages using the cache if that directory is
  11958. + # removed, or if the value is a relative name.
  11959. + INSTALL=$ac_install_sh
  11960. + fi
  11961. +fi
  11962. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  11963. +$as_echo "$INSTALL" >&6; }
  11964. +
  11965. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  11966. +# It thinks the first close brace ends the variable substitution.
  11967. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  11968. +
  11969. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  11970. +
  11971. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  11972. +
  11973. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  11974. +$as_echo_n "checking whether build environment is sane... " >&6; }
  11975. +# Reject unsafe characters in $srcdir or the absolute working directory
  11976. +# name. Accept space and tab only in the latter.
  11977. +am_lf='
  11978. +'
  11979. +case `pwd` in
  11980. + *[\\\"\#\$\&\'\`$am_lf]*)
  11981. + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  11982. +esac
  11983. +case $srcdir in
  11984. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  11985. + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  11986. +esac
  11987. +
  11988. +# Do 'set' in a subshell so we don't clobber the current shell's
  11989. +# arguments. Must try -L first in case configure is actually a
  11990. +# symlink; some systems play weird games with the mod time of symlinks
  11991. +# (eg FreeBSD returns the mod time of the symlink's containing
  11992. +# directory).
  11993. +if (
  11994. + am_has_slept=no
  11995. + for am_try in 1 2; do
  11996. + echo "timestamp, slept: $am_has_slept" > conftest.file
  11997. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  11998. + if test "$*" = "X"; then
  11999. + # -L didn't work.
  12000. + set X `ls -t "$srcdir/configure" conftest.file`
  12001. + fi
  12002. + if test "$*" != "X $srcdir/configure conftest.file" \
  12003. + && test "$*" != "X conftest.file $srcdir/configure"; then
  12004. +
  12005. + # If neither matched, then we have a broken ls. This can happen
  12006. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  12007. + # broken ls alias from the environment. This has actually
  12008. + # happened. Such a system could not be considered "sane".
  12009. + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  12010. + alias in your environment" "$LINENO" 5
  12011. + fi
  12012. + if test "$2" = conftest.file || test $am_try -eq 2; then
  12013. + break
  12014. + fi
  12015. + # Just in case.
  12016. + sleep 1
  12017. + am_has_slept=yes
  12018. + done
  12019. + test "$2" = conftest.file
  12020. + )
  12021. +then
  12022. + # Ok.
  12023. + :
  12024. +else
  12025. + as_fn_error $? "newly created file is older than distributed files!
  12026. +Check your system clock" "$LINENO" 5
  12027. +fi
  12028. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12029. +$as_echo "yes" >&6; }
  12030. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  12031. +# generated files are strictly newer.
  12032. +am_sleep_pid=
  12033. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  12034. + ( sleep 1 ) &
  12035. + am_sleep_pid=$!
  12036. +fi
  12037. +
  12038. +rm -f conftest.file
  12039. +
  12040. +test "$program_prefix" != NONE &&
  12041. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  12042. +# Use a double $ so make ignores it.
  12043. +test "$program_suffix" != NONE &&
  12044. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  12045. +# Double any \ or $.
  12046. +# By default was `s,x,x', remove it if useless.
  12047. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  12048. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  12049. +
  12050. +# Expand $ac_aux_dir to an absolute path.
  12051. +am_aux_dir=`cd "$ac_aux_dir" && pwd`
  12052. +
  12053. +if test x"${MISSING+set}" != xset; then
  12054. + case $am_aux_dir in
  12055. + *\ * | *\ *)
  12056. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  12057. + *)
  12058. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  12059. + esac
  12060. +fi
  12061. +# Use eval to expand $SHELL
  12062. +if eval "$MISSING --is-lightweight"; then
  12063. + am_missing_run="$MISSING "
  12064. +else
  12065. + am_missing_run=
  12066. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  12067. +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  12068. +fi
  12069. +
  12070. +if test x"${install_sh+set}" != xset; then
  12071. + case $am_aux_dir in
  12072. + *\ * | *\ *)
  12073. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  12074. + *)
  12075. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  12076. + esac
  12077. +fi
  12078. +
  12079. +# Installed binaries are usually stripped using 'strip' when the user
  12080. +# run "make install-strip". However 'strip' might not be the right
  12081. +# tool to use in cross-compilation environments, therefore Automake
  12082. +# will honor the 'STRIP' environment variable to overrule this program.
  12083. +if test "$cross_compiling" != no; then
  12084. + if test -n "$ac_tool_prefix"; then
  12085. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  12086. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  12087. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12088. +$as_echo_n "checking for $ac_word... " >&6; }
  12089. +if ${ac_cv_prog_STRIP+:} false; then :
  12090. + $as_echo_n "(cached) " >&6
  12091. +else
  12092. + if test -n "$STRIP"; then
  12093. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  12094. +else
  12095. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12096. +for as_dir in $PATH
  12097. +do
  12098. + IFS=$as_save_IFS
  12099. + test -z "$as_dir" && as_dir=.
  12100. + for ac_exec_ext in '' $ac_executable_extensions; do
  12101. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12102. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  12103. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12104. + break 2
  12105. + fi
  12106. +done
  12107. + done
  12108. +IFS=$as_save_IFS
  12109. +
  12110. +fi
  12111. +fi
  12112. +STRIP=$ac_cv_prog_STRIP
  12113. +if test -n "$STRIP"; then
  12114. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  12115. +$as_echo "$STRIP" >&6; }
  12116. +else
  12117. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12118. +$as_echo "no" >&6; }
  12119. +fi
  12120. +
  12121. +
  12122. +fi
  12123. +if test -z "$ac_cv_prog_STRIP"; then
  12124. + ac_ct_STRIP=$STRIP
  12125. + # Extract the first word of "strip", so it can be a program name with args.
  12126. +set dummy strip; ac_word=$2
  12127. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12128. +$as_echo_n "checking for $ac_word... " >&6; }
  12129. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  12130. + $as_echo_n "(cached) " >&6
  12131. +else
  12132. + if test -n "$ac_ct_STRIP"; then
  12133. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  12134. +else
  12135. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12136. +for as_dir in $PATH
  12137. +do
  12138. + IFS=$as_save_IFS
  12139. + test -z "$as_dir" && as_dir=.
  12140. + for ac_exec_ext in '' $ac_executable_extensions; do
  12141. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12142. + ac_cv_prog_ac_ct_STRIP="strip"
  12143. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12144. + break 2
  12145. + fi
  12146. +done
  12147. + done
  12148. +IFS=$as_save_IFS
  12149. +
  12150. +fi
  12151. +fi
  12152. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  12153. +if test -n "$ac_ct_STRIP"; then
  12154. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  12155. +$as_echo "$ac_ct_STRIP" >&6; }
  12156. +else
  12157. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12158. +$as_echo "no" >&6; }
  12159. +fi
  12160. +
  12161. + if test "x$ac_ct_STRIP" = x; then
  12162. + STRIP=":"
  12163. + else
  12164. + case $cross_compiling:$ac_tool_warned in
  12165. +yes:)
  12166. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12167. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12168. +ac_tool_warned=yes ;;
  12169. +esac
  12170. + STRIP=$ac_ct_STRIP
  12171. + fi
  12172. +else
  12173. + STRIP="$ac_cv_prog_STRIP"
  12174. +fi
  12175. +
  12176. +fi
  12177. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  12178. +
  12179. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  12180. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  12181. +if test -z "$MKDIR_P"; then
  12182. + if ${ac_cv_path_mkdir+:} false; then :
  12183. + $as_echo_n "(cached) " >&6
  12184. +else
  12185. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12186. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  12187. +do
  12188. + IFS=$as_save_IFS
  12189. + test -z "$as_dir" && as_dir=.
  12190. + for ac_prog in mkdir gmkdir; do
  12191. + for ac_exec_ext in '' $ac_executable_extensions; do
  12192. + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  12193. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  12194. + 'mkdir (GNU coreutils) '* | \
  12195. + 'mkdir (coreutils) '* | \
  12196. + 'mkdir (fileutils) '4.1*)
  12197. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  12198. + break 3;;
  12199. + esac
  12200. + done
  12201. + done
  12202. + done
  12203. +IFS=$as_save_IFS
  12204. +
  12205. +fi
  12206. +
  12207. + test -d ./--version && rmdir ./--version
  12208. + if test "${ac_cv_path_mkdir+set}" = set; then
  12209. + MKDIR_P="$ac_cv_path_mkdir -p"
  12210. + else
  12211. + # As a last resort, use the slow shell script. Don't cache a
  12212. + # value for MKDIR_P within a source directory, because that will
  12213. + # break other packages using the cache if that directory is
  12214. + # removed, or if the value is a relative name.
  12215. + MKDIR_P="$ac_install_sh -d"
  12216. + fi
  12217. +fi
  12218. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  12219. +$as_echo "$MKDIR_P" >&6; }
  12220. +
  12221. +for ac_prog in gawk mawk nawk awk
  12222. +do
  12223. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  12224. +set dummy $ac_prog; ac_word=$2
  12225. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12226. +$as_echo_n "checking for $ac_word... " >&6; }
  12227. +if ${ac_cv_prog_AWK+:} false; then :
  12228. + $as_echo_n "(cached) " >&6
  12229. +else
  12230. + if test -n "$AWK"; then
  12231. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  12232. +else
  12233. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12234. +for as_dir in $PATH
  12235. +do
  12236. + IFS=$as_save_IFS
  12237. + test -z "$as_dir" && as_dir=.
  12238. + for ac_exec_ext in '' $ac_executable_extensions; do
  12239. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12240. + ac_cv_prog_AWK="$ac_prog"
  12241. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12242. + break 2
  12243. + fi
  12244. +done
  12245. + done
  12246. +IFS=$as_save_IFS
  12247. +
  12248. +fi
  12249. +fi
  12250. +AWK=$ac_cv_prog_AWK
  12251. +if test -n "$AWK"; then
  12252. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  12253. +$as_echo "$AWK" >&6; }
  12254. +else
  12255. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12256. +$as_echo "no" >&6; }
  12257. +fi
  12258. +
  12259. +
  12260. + test -n "$AWK" && break
  12261. +done
  12262. +
  12263. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  12264. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  12265. +set x ${MAKE-make}
  12266. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  12267. +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  12268. + $as_echo_n "(cached) " >&6
  12269. +else
  12270. + cat >conftest.make <<\_ACEOF
  12271. +SHELL = /bin/sh
  12272. +all:
  12273. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  12274. +_ACEOF
  12275. +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  12276. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  12277. + *@@@%%%=?*=@@@%%%*)
  12278. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  12279. + *)
  12280. + eval ac_cv_prog_make_${ac_make}_set=no;;
  12281. +esac
  12282. +rm -f conftest.make
  12283. +fi
  12284. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  12285. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12286. +$as_echo "yes" >&6; }
  12287. + SET_MAKE=
  12288. +else
  12289. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12290. +$as_echo "no" >&6; }
  12291. + SET_MAKE="MAKE=${MAKE-make}"
  12292. +fi
  12293. +
  12294. +rm -rf .tst 2>/dev/null
  12295. +mkdir .tst 2>/dev/null
  12296. +if test -d .tst; then
  12297. + am__leading_dot=.
  12298. +else
  12299. + am__leading_dot=_
  12300. +fi
  12301. +rmdir .tst 2>/dev/null
  12302. +
  12303. +@%:@ Check whether --enable-silent-rules was given.
  12304. +if test "${enable_silent_rules+set}" = set; then :
  12305. + enableval=$enable_silent_rules;
  12306. +fi
  12307. +
  12308. +case $enable_silent_rules in @%:@ (((
  12309. + yes) AM_DEFAULT_VERBOSITY=0;;
  12310. + no) AM_DEFAULT_VERBOSITY=1;;
  12311. + *) AM_DEFAULT_VERBOSITY=1;;
  12312. +esac
  12313. +am_make=${MAKE-make}
  12314. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  12315. +$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  12316. +if ${am_cv_make_support_nested_variables+:} false; then :
  12317. + $as_echo_n "(cached) " >&6
  12318. +else
  12319. + if $as_echo 'TRUE=$(BAR$(V))
  12320. +BAR0=false
  12321. +BAR1=true
  12322. +V=1
  12323. +am__doit:
  12324. + @$(TRUE)
  12325. +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  12326. + am_cv_make_support_nested_variables=yes
  12327. +else
  12328. + am_cv_make_support_nested_variables=no
  12329. +fi
  12330. +fi
  12331. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  12332. +$as_echo "$am_cv_make_support_nested_variables" >&6; }
  12333. +if test $am_cv_make_support_nested_variables = yes; then
  12334. + AM_V='$(V)'
  12335. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  12336. +else
  12337. + AM_V=$AM_DEFAULT_VERBOSITY
  12338. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  12339. +fi
  12340. +AM_BACKSLASH='\'
  12341. +
  12342. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  12343. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  12344. + # is not polluted with repeated "-I."
  12345. + am__isrc=' -I$(srcdir)'
  12346. + # test to see if srcdir already configured
  12347. + if test -f $srcdir/config.status; then
  12348. + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  12349. + fi
  12350. +fi
  12351. +
  12352. +# test whether we have cygpath
  12353. +if test -z "$CYGPATH_W"; then
  12354. + if (cygpath --version) >/dev/null 2>/dev/null; then
  12355. + CYGPATH_W='cygpath -w'
  12356. + else
  12357. + CYGPATH_W=echo
  12358. + fi
  12359. +fi
  12360. +
  12361. +
  12362. +# Define the identity of the package.
  12363. +
  12364. + PACKAGE=fiasco
  12365. + VERSION=1.3
  12366. +
  12367. +
  12368. +cat >>confdefs.h <<_ACEOF
  12369. +@%:@define PACKAGE "$PACKAGE"
  12370. +_ACEOF
  12371. +
  12372. +
  12373. +cat >>confdefs.h <<_ACEOF
  12374. +@%:@define VERSION "$VERSION"
  12375. +_ACEOF
  12376. +
  12377. +# Some tools Automake needs.
  12378. +
  12379. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  12380. +
  12381. +
  12382. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  12383. +
  12384. +
  12385. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  12386. +
  12387. +
  12388. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  12389. +
  12390. +
  12391. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  12392. +
  12393. +# For better backward compatibility. To be removed once Automake 1.9.x
  12394. +# dies out for good. For more background, see:
  12395. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  12396. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  12397. +mkdir_p='$(MKDIR_P)'
  12398. +
  12399. +# We need awk for the "check" target (and possibly the TAP driver). The
  12400. +# system "awk" is bad on some platforms.
  12401. +# Always define AMTAR for backward compatibility. Yes, it's still used
  12402. +# in the wild :-( We should find a proper way to deprecate it ...
  12403. +AMTAR='$${TAR-tar}'
  12404. +
  12405. +
  12406. +# We'll loop over all known methods to create a tar archive until one works.
  12407. +_am_tools='gnutar pax cpio none'
  12408. +
  12409. +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  12410. +
  12411. +
  12412. +
  12413. +
  12414. +
  12415. +
  12416. +# POSIX will say in a future version that running "rm -f" with no argument
  12417. +# is OK; and we want to be able to make that assumption in our Makefile
  12418. +# recipes. So use an aggressive probe to check that the usage we want is
  12419. +# actually supported "in the wild" to an acceptable degree.
  12420. +# See automake bug#10828.
  12421. +# To make any issue more visible, cause the running configure to be aborted
  12422. +# by default if the 'rm' program in use doesn't match our expectations; the
  12423. +# user can still override this though.
  12424. +if rm -f && rm -fr && rm -rf; then : OK; else
  12425. + cat >&2 <<'END'
  12426. +Oops!
  12427. +
  12428. +Your 'rm' program seems unable to run without file operands specified
  12429. +on the command line, even when the '-f' option is present. This is contrary
  12430. +to the behaviour of most rm programs out there, and not conforming with
  12431. +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  12432. +
  12433. +Please tell bug-automake@gnu.org about your system, including the value
  12434. +of your $PATH and any error possibly output before this message. This
  12435. +can help us improve future automake versions.
  12436. +
  12437. +END
  12438. + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  12439. + echo 'Configuration will proceed anyway, since you have set the' >&2
  12440. + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  12441. + echo >&2
  12442. + else
  12443. + cat >&2 <<'END'
  12444. +Aborting the configuration process, to ensure you take notice of the issue.
  12445. +
  12446. +You can download and install GNU coreutils to get an 'rm' implementation
  12447. +that behaves properly: <https://www.gnu.org/software/coreutils/>.
  12448. +
  12449. +If you want to complete the configuration process using your problematic
  12450. +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  12451. +to "yes", and re-run configure.
  12452. +
  12453. +END
  12454. + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  12455. + fi
  12456. +fi
  12457. +
  12458. +ac_config_headers="$ac_config_headers config.h"
  12459. +
  12460. +
  12461. +# Important programs:
  12462. +case `pwd` in
  12463. + *\ * | *\ *)
  12464. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  12465. +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  12466. +esac
  12467. +
  12468. +
  12469. +
  12470. +macro_version='2.2.6b'
  12471. +macro_revision='1.3017'
  12472. +
  12473. +
  12474. +
  12475. +
  12476. +
  12477. +
  12478. +
  12479. +
  12480. +
  12481. +
  12482. +
  12483. +
  12484. +
  12485. +ltmain="$ac_aux_dir/ltmain.sh"
  12486. +
  12487. +# Make sure we can run config.sub.
  12488. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  12489. + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  12490. +
  12491. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  12492. +$as_echo_n "checking build system type... " >&6; }
  12493. +if ${ac_cv_build+:} false; then :
  12494. + $as_echo_n "(cached) " >&6
  12495. +else
  12496. + ac_build_alias=$build_alias
  12497. +test "x$ac_build_alias" = x &&
  12498. + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  12499. +test "x$ac_build_alias" = x &&
  12500. + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  12501. +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  12502. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  12503. +
  12504. +fi
  12505. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  12506. +$as_echo "$ac_cv_build" >&6; }
  12507. +case $ac_cv_build in
  12508. +*-*-*) ;;
  12509. +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  12510. +esac
  12511. +build=$ac_cv_build
  12512. +ac_save_IFS=$IFS; IFS='-'
  12513. +set x $ac_cv_build
  12514. +shift
  12515. +build_cpu=$1
  12516. +build_vendor=$2
  12517. +shift; shift
  12518. +# Remember, the first character of IFS is used to create $*,
  12519. +# except with old shells:
  12520. +build_os=$*
  12521. +IFS=$ac_save_IFS
  12522. +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  12523. +
  12524. +
  12525. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  12526. +$as_echo_n "checking host system type... " >&6; }
  12527. +if ${ac_cv_host+:} false; then :
  12528. + $as_echo_n "(cached) " >&6
  12529. +else
  12530. + if test "x$host_alias" = x; then
  12531. + ac_cv_host=$ac_cv_build
  12532. +else
  12533. + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  12534. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  12535. +fi
  12536. +
  12537. +fi
  12538. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  12539. +$as_echo "$ac_cv_host" >&6; }
  12540. +case $ac_cv_host in
  12541. +*-*-*) ;;
  12542. +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  12543. +esac
  12544. +host=$ac_cv_host
  12545. +ac_save_IFS=$IFS; IFS='-'
  12546. +set x $ac_cv_host
  12547. +shift
  12548. +host_cpu=$1
  12549. +host_vendor=$2
  12550. +shift; shift
  12551. +# Remember, the first character of IFS is used to create $*,
  12552. +# except with old shells:
  12553. +host_os=$*
  12554. +IFS=$ac_save_IFS
  12555. +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  12556. +
  12557. +
  12558. +DEPDIR="${am__leading_dot}deps"
  12559. +
  12560. +ac_config_commands="$ac_config_commands depfiles"
  12561. +
  12562. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
  12563. +$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
  12564. +cat > confinc.mk << 'END'
  12565. +am__doit:
  12566. + @echo this is the am__doit target >confinc.out
  12567. +.PHONY: am__doit
  12568. +END
  12569. +am__include="#"
  12570. +am__quote=
  12571. +# BSD make does it like this.
  12572. +echo '.include "confinc.mk" # ignored' > confmf.BSD
  12573. +# Other make implementations (GNU, Solaris 10, AIX) do it like this.
  12574. +echo 'include confinc.mk # ignored' > confmf.GNU
  12575. +_am_result=no
  12576. +for s in GNU BSD; do
  12577. + { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
  12578. + (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
  12579. + ac_status=$?
  12580. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12581. + (exit $ac_status); }
  12582. + case $?:`cat confinc.out 2>/dev/null` in @%:@(
  12583. + '0:this is the am__doit target') :
  12584. + case $s in @%:@(
  12585. + BSD) :
  12586. + am__include='.include' am__quote='"' ;; @%:@(
  12587. + *) :
  12588. + am__include='include' am__quote='' ;;
  12589. +esac ;; @%:@(
  12590. + *) :
  12591. + ;;
  12592. +esac
  12593. + if test "$am__include" != "#"; then
  12594. + _am_result="yes ($s style)"
  12595. + break
  12596. + fi
  12597. +done
  12598. +rm -f confinc.* confmf.*
  12599. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
  12600. +$as_echo "${_am_result}" >&6; }
  12601. +
  12602. +@%:@ Check whether --enable-dependency-tracking was given.
  12603. +if test "${enable_dependency_tracking+set}" = set; then :
  12604. + enableval=$enable_dependency_tracking;
  12605. +fi
  12606. +
  12607. +if test "x$enable_dependency_tracking" != xno; then
  12608. + am_depcomp="$ac_aux_dir/depcomp"
  12609. + AMDEPBACKSLASH='\'
  12610. + am__nodep='_no'
  12611. +fi
  12612. + if test "x$enable_dependency_tracking" != xno; then
  12613. + AMDEP_TRUE=
  12614. + AMDEP_FALSE='#'
  12615. +else
  12616. + AMDEP_TRUE='#'
  12617. + AMDEP_FALSE=
  12618. +fi
  12619. +
  12620. +
  12621. +ac_ext=c
  12622. +ac_cpp='$CPP $CPPFLAGS'
  12623. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  12624. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  12625. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  12626. +if test -n "$ac_tool_prefix"; then
  12627. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  12628. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  12629. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12630. +$as_echo_n "checking for $ac_word... " >&6; }
  12631. +if ${ac_cv_prog_CC+:} false; then :
  12632. + $as_echo_n "(cached) " >&6
  12633. +else
  12634. + if test -n "$CC"; then
  12635. + ac_cv_prog_CC="$CC" # Let the user override the test.
  12636. +else
  12637. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12638. +for as_dir in $PATH
  12639. +do
  12640. + IFS=$as_save_IFS
  12641. + test -z "$as_dir" && as_dir=.
  12642. + for ac_exec_ext in '' $ac_executable_extensions; do
  12643. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12644. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  12645. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12646. + break 2
  12647. + fi
  12648. +done
  12649. + done
  12650. +IFS=$as_save_IFS
  12651. +
  12652. +fi
  12653. +fi
  12654. +CC=$ac_cv_prog_CC
  12655. +if test -n "$CC"; then
  12656. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  12657. +$as_echo "$CC" >&6; }
  12658. +else
  12659. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12660. +$as_echo "no" >&6; }
  12661. +fi
  12662. +
  12663. +
  12664. +fi
  12665. +if test -z "$ac_cv_prog_CC"; then
  12666. + ac_ct_CC=$CC
  12667. + # Extract the first word of "gcc", so it can be a program name with args.
  12668. +set dummy gcc; ac_word=$2
  12669. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12670. +$as_echo_n "checking for $ac_word... " >&6; }
  12671. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  12672. + $as_echo_n "(cached) " >&6
  12673. +else
  12674. + if test -n "$ac_ct_CC"; then
  12675. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  12676. +else
  12677. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12678. +for as_dir in $PATH
  12679. +do
  12680. + IFS=$as_save_IFS
  12681. + test -z "$as_dir" && as_dir=.
  12682. + for ac_exec_ext in '' $ac_executable_extensions; do
  12683. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12684. + ac_cv_prog_ac_ct_CC="gcc"
  12685. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12686. + break 2
  12687. + fi
  12688. +done
  12689. + done
  12690. +IFS=$as_save_IFS
  12691. +
  12692. +fi
  12693. +fi
  12694. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  12695. +if test -n "$ac_ct_CC"; then
  12696. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  12697. +$as_echo "$ac_ct_CC" >&6; }
  12698. +else
  12699. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12700. +$as_echo "no" >&6; }
  12701. +fi
  12702. +
  12703. + if test "x$ac_ct_CC" = x; then
  12704. + CC=""
  12705. + else
  12706. + case $cross_compiling:$ac_tool_warned in
  12707. +yes:)
  12708. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12709. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12710. +ac_tool_warned=yes ;;
  12711. +esac
  12712. + CC=$ac_ct_CC
  12713. + fi
  12714. +else
  12715. + CC="$ac_cv_prog_CC"
  12716. +fi
  12717. +
  12718. +if test -z "$CC"; then
  12719. + if test -n "$ac_tool_prefix"; then
  12720. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  12721. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  12722. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12723. +$as_echo_n "checking for $ac_word... " >&6; }
  12724. +if ${ac_cv_prog_CC+:} false; then :
  12725. + $as_echo_n "(cached) " >&6
  12726. +else
  12727. + if test -n "$CC"; then
  12728. + ac_cv_prog_CC="$CC" # Let the user override the test.
  12729. +else
  12730. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12731. +for as_dir in $PATH
  12732. +do
  12733. + IFS=$as_save_IFS
  12734. + test -z "$as_dir" && as_dir=.
  12735. + for ac_exec_ext in '' $ac_executable_extensions; do
  12736. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12737. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  12738. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12739. + break 2
  12740. + fi
  12741. +done
  12742. + done
  12743. +IFS=$as_save_IFS
  12744. +
  12745. +fi
  12746. +fi
  12747. +CC=$ac_cv_prog_CC
  12748. +if test -n "$CC"; then
  12749. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  12750. +$as_echo "$CC" >&6; }
  12751. +else
  12752. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12753. +$as_echo "no" >&6; }
  12754. +fi
  12755. +
  12756. +
  12757. + fi
  12758. +fi
  12759. +if test -z "$CC"; then
  12760. + # Extract the first word of "cc", so it can be a program name with args.
  12761. +set dummy cc; ac_word=$2
  12762. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12763. +$as_echo_n "checking for $ac_word... " >&6; }
  12764. +if ${ac_cv_prog_CC+:} false; then :
  12765. + $as_echo_n "(cached) " >&6
  12766. +else
  12767. + if test -n "$CC"; then
  12768. + ac_cv_prog_CC="$CC" # Let the user override the test.
  12769. +else
  12770. + ac_prog_rejected=no
  12771. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12772. +for as_dir in $PATH
  12773. +do
  12774. + IFS=$as_save_IFS
  12775. + test -z "$as_dir" && as_dir=.
  12776. + for ac_exec_ext in '' $ac_executable_extensions; do
  12777. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12778. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  12779. + ac_prog_rejected=yes
  12780. + continue
  12781. + fi
  12782. + ac_cv_prog_CC="cc"
  12783. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12784. + break 2
  12785. + fi
  12786. +done
  12787. + done
  12788. +IFS=$as_save_IFS
  12789. +
  12790. +if test $ac_prog_rejected = yes; then
  12791. + # We found a bogon in the path, so make sure we never use it.
  12792. + set dummy $ac_cv_prog_CC
  12793. + shift
  12794. + if test $@%:@ != 0; then
  12795. + # We chose a different compiler from the bogus one.
  12796. + # However, it has the same basename, so the bogon will be chosen
  12797. + # first if we set CC to just the basename; use the full file name.
  12798. + shift
  12799. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  12800. + fi
  12801. +fi
  12802. +fi
  12803. +fi
  12804. +CC=$ac_cv_prog_CC
  12805. +if test -n "$CC"; then
  12806. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  12807. +$as_echo "$CC" >&6; }
  12808. +else
  12809. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12810. +$as_echo "no" >&6; }
  12811. +fi
  12812. +
  12813. +
  12814. +fi
  12815. +if test -z "$CC"; then
  12816. + if test -n "$ac_tool_prefix"; then
  12817. + for ac_prog in cl.exe
  12818. + do
  12819. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  12820. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  12821. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12822. +$as_echo_n "checking for $ac_word... " >&6; }
  12823. +if ${ac_cv_prog_CC+:} false; then :
  12824. + $as_echo_n "(cached) " >&6
  12825. +else
  12826. + if test -n "$CC"; then
  12827. + ac_cv_prog_CC="$CC" # Let the user override the test.
  12828. +else
  12829. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12830. +for as_dir in $PATH
  12831. +do
  12832. + IFS=$as_save_IFS
  12833. + test -z "$as_dir" && as_dir=.
  12834. + for ac_exec_ext in '' $ac_executable_extensions; do
  12835. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12836. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  12837. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12838. + break 2
  12839. + fi
  12840. +done
  12841. + done
  12842. +IFS=$as_save_IFS
  12843. +
  12844. +fi
  12845. +fi
  12846. +CC=$ac_cv_prog_CC
  12847. +if test -n "$CC"; then
  12848. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  12849. +$as_echo "$CC" >&6; }
  12850. +else
  12851. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12852. +$as_echo "no" >&6; }
  12853. +fi
  12854. +
  12855. +
  12856. + test -n "$CC" && break
  12857. + done
  12858. +fi
  12859. +if test -z "$CC"; then
  12860. + ac_ct_CC=$CC
  12861. + for ac_prog in cl.exe
  12862. +do
  12863. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  12864. +set dummy $ac_prog; ac_word=$2
  12865. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12866. +$as_echo_n "checking for $ac_word... " >&6; }
  12867. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  12868. + $as_echo_n "(cached) " >&6
  12869. +else
  12870. + if test -n "$ac_ct_CC"; then
  12871. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  12872. +else
  12873. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12874. +for as_dir in $PATH
  12875. +do
  12876. + IFS=$as_save_IFS
  12877. + test -z "$as_dir" && as_dir=.
  12878. + for ac_exec_ext in '' $ac_executable_extensions; do
  12879. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12880. + ac_cv_prog_ac_ct_CC="$ac_prog"
  12881. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12882. + break 2
  12883. + fi
  12884. +done
  12885. + done
  12886. +IFS=$as_save_IFS
  12887. +
  12888. +fi
  12889. +fi
  12890. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  12891. +if test -n "$ac_ct_CC"; then
  12892. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  12893. +$as_echo "$ac_ct_CC" >&6; }
  12894. +else
  12895. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12896. +$as_echo "no" >&6; }
  12897. +fi
  12898. +
  12899. +
  12900. + test -n "$ac_ct_CC" && break
  12901. +done
  12902. +
  12903. + if test "x$ac_ct_CC" = x; then
  12904. + CC=""
  12905. + else
  12906. + case $cross_compiling:$ac_tool_warned in
  12907. +yes:)
  12908. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12909. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12910. +ac_tool_warned=yes ;;
  12911. +esac
  12912. + CC=$ac_ct_CC
  12913. + fi
  12914. +fi
  12915. +
  12916. +fi
  12917. +
  12918. +
  12919. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  12920. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  12921. +as_fn_error $? "no acceptable C compiler found in \$PATH
  12922. +See \`config.log' for more details" "$LINENO" 5; }
  12923. +
  12924. +# Provide some information about the compiler.
  12925. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  12926. +set X $ac_compile
  12927. +ac_compiler=$2
  12928. +for ac_option in --version -v -V -qversion; do
  12929. + { { ac_try="$ac_compiler $ac_option >&5"
  12930. +case "(($ac_try" in
  12931. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12932. + *) ac_try_echo=$ac_try;;
  12933. +esac
  12934. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  12935. +$as_echo "$ac_try_echo"; } >&5
  12936. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  12937. + ac_status=$?
  12938. + if test -s conftest.err; then
  12939. + sed '10a\
  12940. +... rest of stderr output deleted ...
  12941. + 10q' conftest.err >conftest.er1
  12942. + cat conftest.er1 >&5
  12943. + fi
  12944. + rm -f conftest.er1 conftest.err
  12945. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12946. + test $ac_status = 0; }
  12947. +done
  12948. +
  12949. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12950. +/* end confdefs.h. */
  12951. +
  12952. +int
  12953. +main ()
  12954. +{
  12955. +
  12956. + ;
  12957. + return 0;
  12958. +}
  12959. +_ACEOF
  12960. +ac_clean_files_save=$ac_clean_files
  12961. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  12962. +# Try to create an executable without -o first, disregard a.out.
  12963. +# It will help us diagnose broken compilers, and finding out an intuition
  12964. +# of exeext.
  12965. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  12966. +$as_echo_n "checking whether the C compiler works... " >&6; }
  12967. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  12968. +
  12969. +# The possible output files:
  12970. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  12971. +
  12972. +ac_rmfiles=
  12973. +for ac_file in $ac_files
  12974. +do
  12975. + case $ac_file in
  12976. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  12977. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  12978. + esac
  12979. +done
  12980. +rm -f $ac_rmfiles
  12981. +
  12982. +if { { ac_try="$ac_link_default"
  12983. +case "(($ac_try" in
  12984. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12985. + *) ac_try_echo=$ac_try;;
  12986. +esac
  12987. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  12988. +$as_echo "$ac_try_echo"; } >&5
  12989. + (eval "$ac_link_default") 2>&5
  12990. + ac_status=$?
  12991. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12992. + test $ac_status = 0; }; then :
  12993. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  12994. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  12995. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  12996. +# so that the user can short-circuit this test for compilers unknown to
  12997. +# Autoconf.
  12998. +for ac_file in $ac_files ''
  12999. +do
  13000. + test -f "$ac_file" || continue
  13001. + case $ac_file in
  13002. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  13003. + ;;
  13004. + [ab].out )
  13005. + # We found the default executable, but exeext='' is most
  13006. + # certainly right.
  13007. + break;;
  13008. + *.* )
  13009. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  13010. + then :; else
  13011. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  13012. + fi
  13013. + # We set ac_cv_exeext here because the later test for it is not
  13014. + # safe: cross compilers may not add the suffix if given an `-o'
  13015. + # argument, so we may need to know it at that point already.
  13016. + # Even if this section looks crufty: it has the advantage of
  13017. + # actually working.
  13018. + break;;
  13019. + * )
  13020. + break;;
  13021. + esac
  13022. +done
  13023. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  13024. +
  13025. +else
  13026. + ac_file=''
  13027. +fi
  13028. +if test -z "$ac_file"; then :
  13029. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13030. +$as_echo "no" >&6; }
  13031. +$as_echo "$as_me: failed program was:" >&5
  13032. +sed 's/^/| /' conftest.$ac_ext >&5
  13033. +
  13034. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13035. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13036. +as_fn_error 77 "C compiler cannot create executables
  13037. +See \`config.log' for more details" "$LINENO" 5; }
  13038. +else
  13039. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13040. +$as_echo "yes" >&6; }
  13041. +fi
  13042. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  13043. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  13044. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  13045. +$as_echo "$ac_file" >&6; }
  13046. +ac_exeext=$ac_cv_exeext
  13047. +
  13048. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  13049. +ac_clean_files=$ac_clean_files_save
  13050. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  13051. +$as_echo_n "checking for suffix of executables... " >&6; }
  13052. +if { { ac_try="$ac_link"
  13053. +case "(($ac_try" in
  13054. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13055. + *) ac_try_echo=$ac_try;;
  13056. +esac
  13057. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13058. +$as_echo "$ac_try_echo"; } >&5
  13059. + (eval "$ac_link") 2>&5
  13060. + ac_status=$?
  13061. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13062. + test $ac_status = 0; }; then :
  13063. + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  13064. +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  13065. +# work properly (i.e., refer to `conftest.exe'), while it won't with
  13066. +# `rm'.
  13067. +for ac_file in conftest.exe conftest conftest.*; do
  13068. + test -f "$ac_file" || continue
  13069. + case $ac_file in
  13070. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  13071. + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  13072. + break;;
  13073. + * ) break;;
  13074. + esac
  13075. +done
  13076. +else
  13077. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13078. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13079. +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  13080. +See \`config.log' for more details" "$LINENO" 5; }
  13081. +fi
  13082. +rm -f conftest conftest$ac_cv_exeext
  13083. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  13084. +$as_echo "$ac_cv_exeext" >&6; }
  13085. +
  13086. +rm -f conftest.$ac_ext
  13087. +EXEEXT=$ac_cv_exeext
  13088. +ac_exeext=$EXEEXT
  13089. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13090. +/* end confdefs.h. */
  13091. +@%:@include <stdio.h>
  13092. +int
  13093. +main ()
  13094. +{
  13095. +FILE *f = fopen ("conftest.out", "w");
  13096. + return ferror (f) || fclose (f) != 0;
  13097. +
  13098. + ;
  13099. + return 0;
  13100. +}
  13101. +_ACEOF
  13102. +ac_clean_files="$ac_clean_files conftest.out"
  13103. +# Check that the compiler produces executables we can run. If not, either
  13104. +# the compiler is broken, or we cross compile.
  13105. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  13106. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  13107. +if test "$cross_compiling" != yes; then
  13108. + { { ac_try="$ac_link"
  13109. +case "(($ac_try" in
  13110. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13111. + *) ac_try_echo=$ac_try;;
  13112. +esac
  13113. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13114. +$as_echo "$ac_try_echo"; } >&5
  13115. + (eval "$ac_link") 2>&5
  13116. + ac_status=$?
  13117. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13118. + test $ac_status = 0; }
  13119. + if { ac_try='./conftest$ac_cv_exeext'
  13120. + { { case "(($ac_try" in
  13121. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13122. + *) ac_try_echo=$ac_try;;
  13123. +esac
  13124. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13125. +$as_echo "$ac_try_echo"; } >&5
  13126. + (eval "$ac_try") 2>&5
  13127. + ac_status=$?
  13128. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13129. + test $ac_status = 0; }; }; then
  13130. + cross_compiling=no
  13131. + else
  13132. + if test "$cross_compiling" = maybe; then
  13133. + cross_compiling=yes
  13134. + else
  13135. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13136. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13137. +as_fn_error $? "cannot run C compiled programs.
  13138. +If you meant to cross compile, use \`--host'.
  13139. +See \`config.log' for more details" "$LINENO" 5; }
  13140. + fi
  13141. + fi
  13142. +fi
  13143. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  13144. +$as_echo "$cross_compiling" >&6; }
  13145. +
  13146. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  13147. +ac_clean_files=$ac_clean_files_save
  13148. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  13149. +$as_echo_n "checking for suffix of object files... " >&6; }
  13150. +if ${ac_cv_objext+:} false; then :
  13151. + $as_echo_n "(cached) " >&6
  13152. +else
  13153. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13154. +/* end confdefs.h. */
  13155. +
  13156. +int
  13157. +main ()
  13158. +{
  13159. +
  13160. + ;
  13161. + return 0;
  13162. +}
  13163. +_ACEOF
  13164. +rm -f conftest.o conftest.obj
  13165. +if { { ac_try="$ac_compile"
  13166. +case "(($ac_try" in
  13167. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13168. + *) ac_try_echo=$ac_try;;
  13169. +esac
  13170. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13171. +$as_echo "$ac_try_echo"; } >&5
  13172. + (eval "$ac_compile") 2>&5
  13173. + ac_status=$?
  13174. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13175. + test $ac_status = 0; }; then :
  13176. + for ac_file in conftest.o conftest.obj conftest.*; do
  13177. + test -f "$ac_file" || continue;
  13178. + case $ac_file in
  13179. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  13180. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  13181. + break;;
  13182. + esac
  13183. +done
  13184. +else
  13185. + $as_echo "$as_me: failed program was:" >&5
  13186. +sed 's/^/| /' conftest.$ac_ext >&5
  13187. +
  13188. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13189. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13190. +as_fn_error $? "cannot compute suffix of object files: cannot compile
  13191. +See \`config.log' for more details" "$LINENO" 5; }
  13192. +fi
  13193. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  13194. +fi
  13195. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  13196. +$as_echo "$ac_cv_objext" >&6; }
  13197. +OBJEXT=$ac_cv_objext
  13198. +ac_objext=$OBJEXT
  13199. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  13200. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  13201. +if ${ac_cv_c_compiler_gnu+:} false; then :
  13202. + $as_echo_n "(cached) " >&6
  13203. +else
  13204. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13205. +/* end confdefs.h. */
  13206. +
  13207. +int
  13208. +main ()
  13209. +{
  13210. +#ifndef __GNUC__
  13211. + choke me
  13212. +#endif
  13213. +
  13214. + ;
  13215. + return 0;
  13216. +}
  13217. +_ACEOF
  13218. +if ac_fn_c_try_compile "$LINENO"; then :
  13219. + ac_compiler_gnu=yes
  13220. +else
  13221. + ac_compiler_gnu=no
  13222. +fi
  13223. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13224. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  13225. +
  13226. +fi
  13227. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  13228. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  13229. +if test $ac_compiler_gnu = yes; then
  13230. + GCC=yes
  13231. +else
  13232. + GCC=
  13233. +fi
  13234. +ac_test_CFLAGS=${CFLAGS+set}
  13235. +ac_save_CFLAGS=$CFLAGS
  13236. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  13237. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  13238. +if ${ac_cv_prog_cc_g+:} false; then :
  13239. + $as_echo_n "(cached) " >&6
  13240. +else
  13241. + ac_save_c_werror_flag=$ac_c_werror_flag
  13242. + ac_c_werror_flag=yes
  13243. + ac_cv_prog_cc_g=no
  13244. + CFLAGS="-g"
  13245. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13246. +/* end confdefs.h. */
  13247. +
  13248. +int
  13249. +main ()
  13250. +{
  13251. +
  13252. + ;
  13253. + return 0;
  13254. +}
  13255. +_ACEOF
  13256. +if ac_fn_c_try_compile "$LINENO"; then :
  13257. + ac_cv_prog_cc_g=yes
  13258. +else
  13259. + CFLAGS=""
  13260. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13261. +/* end confdefs.h. */
  13262. +
  13263. +int
  13264. +main ()
  13265. +{
  13266. +
  13267. + ;
  13268. + return 0;
  13269. +}
  13270. +_ACEOF
  13271. +if ac_fn_c_try_compile "$LINENO"; then :
  13272. +
  13273. +else
  13274. + ac_c_werror_flag=$ac_save_c_werror_flag
  13275. + CFLAGS="-g"
  13276. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13277. +/* end confdefs.h. */
  13278. +
  13279. +int
  13280. +main ()
  13281. +{
  13282. +
  13283. + ;
  13284. + return 0;
  13285. +}
  13286. +_ACEOF
  13287. +if ac_fn_c_try_compile "$LINENO"; then :
  13288. + ac_cv_prog_cc_g=yes
  13289. +fi
  13290. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13291. +fi
  13292. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13293. +fi
  13294. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13295. + ac_c_werror_flag=$ac_save_c_werror_flag
  13296. +fi
  13297. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  13298. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  13299. +if test "$ac_test_CFLAGS" = set; then
  13300. + CFLAGS=$ac_save_CFLAGS
  13301. +elif test $ac_cv_prog_cc_g = yes; then
  13302. + if test "$GCC" = yes; then
  13303. + CFLAGS="-g -O2"
  13304. + else
  13305. + CFLAGS="-g"
  13306. + fi
  13307. +else
  13308. + if test "$GCC" = yes; then
  13309. + CFLAGS="-O2"
  13310. + else
  13311. + CFLAGS=
  13312. + fi
  13313. +fi
  13314. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  13315. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  13316. +if ${ac_cv_prog_cc_c89+:} false; then :
  13317. + $as_echo_n "(cached) " >&6
  13318. +else
  13319. + ac_cv_prog_cc_c89=no
  13320. +ac_save_CC=$CC
  13321. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13322. +/* end confdefs.h. */
  13323. +#include <stdarg.h>
  13324. +#include <stdio.h>
  13325. +struct stat;
  13326. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  13327. +struct buf { int x; };
  13328. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  13329. +static char *e (p, i)
  13330. + char **p;
  13331. + int i;
  13332. +{
  13333. + return p[i];
  13334. +}
  13335. +static char *f (char * (*g) (char **, int), char **p, ...)
  13336. +{
  13337. + char *s;
  13338. + va_list v;
  13339. + va_start (v,p);
  13340. + s = g (p, va_arg (v,int));
  13341. + va_end (v);
  13342. + return s;
  13343. +}
  13344. +
  13345. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  13346. + function prototypes and stuff, but not '\xHH' hex character constants.
  13347. + These don't provoke an error unfortunately, instead are silently treated
  13348. + as 'x'. The following induces an error, until -std is added to get
  13349. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  13350. + array size at least. It's necessary to write '\x00'==0 to get something
  13351. + that's true only with -std. */
  13352. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  13353. +
  13354. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  13355. + inside strings and character constants. */
  13356. +#define FOO(x) 'x'
  13357. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  13358. +
  13359. +int test (int i, double x);
  13360. +struct s1 {int (*f) (int a);};
  13361. +struct s2 {int (*f) (double a);};
  13362. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  13363. +int argc;
  13364. +char **argv;
  13365. +int
  13366. +main ()
  13367. +{
  13368. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  13369. + ;
  13370. + return 0;
  13371. +}
  13372. +_ACEOF
  13373. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  13374. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  13375. +do
  13376. + CC="$ac_save_CC $ac_arg"
  13377. + if ac_fn_c_try_compile "$LINENO"; then :
  13378. + ac_cv_prog_cc_c89=$ac_arg
  13379. +fi
  13380. +rm -f core conftest.err conftest.$ac_objext
  13381. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  13382. +done
  13383. +rm -f conftest.$ac_ext
  13384. +CC=$ac_save_CC
  13385. +
  13386. +fi
  13387. +# AC_CACHE_VAL
  13388. +case "x$ac_cv_prog_cc_c89" in
  13389. + x)
  13390. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  13391. +$as_echo "none needed" >&6; } ;;
  13392. + xno)
  13393. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  13394. +$as_echo "unsupported" >&6; } ;;
  13395. + *)
  13396. + CC="$CC $ac_cv_prog_cc_c89"
  13397. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  13398. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  13399. +esac
  13400. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  13401. +
  13402. +fi
  13403. +
  13404. +ac_ext=c
  13405. +ac_cpp='$CPP $CPPFLAGS'
  13406. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13407. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13408. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13409. +
  13410. +ac_ext=c
  13411. +ac_cpp='$CPP $CPPFLAGS'
  13412. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13413. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13414. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13415. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  13416. +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  13417. +if ${am_cv_prog_cc_c_o+:} false; then :
  13418. + $as_echo_n "(cached) " >&6
  13419. +else
  13420. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13421. +/* end confdefs.h. */
  13422. +
  13423. +int
  13424. +main ()
  13425. +{
  13426. +
  13427. + ;
  13428. + return 0;
  13429. +}
  13430. +_ACEOF
  13431. + # Make sure it works both with $CC and with simple cc.
  13432. + # Following AC_PROG_CC_C_O, we do the test twice because some
  13433. + # compilers refuse to overwrite an existing .o file with -o,
  13434. + # though they will create one.
  13435. + am_cv_prog_cc_c_o=yes
  13436. + for am_i in 1 2; do
  13437. + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  13438. + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  13439. + ac_status=$?
  13440. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13441. + (exit $ac_status); } \
  13442. + && test -f conftest2.$ac_objext; then
  13443. + : OK
  13444. + else
  13445. + am_cv_prog_cc_c_o=no
  13446. + break
  13447. + fi
  13448. + done
  13449. + rm -f core conftest*
  13450. + unset am_i
  13451. +fi
  13452. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  13453. +$as_echo "$am_cv_prog_cc_c_o" >&6; }
  13454. +if test "$am_cv_prog_cc_c_o" != yes; then
  13455. + # Losing compiler, so override with the script.
  13456. + # FIXME: It is wrong to rewrite CC.
  13457. + # But if we don't then we get into trouble of one sort or another.
  13458. + # A longer-term fix would be to have automake use am__CC in this case,
  13459. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  13460. + CC="$am_aux_dir/compile $CC"
  13461. +fi
  13462. +ac_ext=c
  13463. +ac_cpp='$CPP $CPPFLAGS'
  13464. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13465. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13466. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13467. +
  13468. +
  13469. +depcc="$CC" am_compiler_list=
  13470. +
  13471. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  13472. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  13473. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  13474. + $as_echo_n "(cached) " >&6
  13475. +else
  13476. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  13477. + # We make a subdir and do the tests there. Otherwise we can end up
  13478. + # making bogus files that we don't know about and never remove. For
  13479. + # instance it was reported that on HP-UX the gcc test will end up
  13480. + # making a dummy file named 'D' -- because '-MD' means "put the output
  13481. + # in D".
  13482. + rm -rf conftest.dir
  13483. + mkdir conftest.dir
  13484. + # Copy depcomp to subdir because otherwise we won't find it if we're
  13485. + # using a relative directory.
  13486. + cp "$am_depcomp" conftest.dir
  13487. + cd conftest.dir
  13488. + # We will build objects and dependencies in a subdirectory because
  13489. + # it helps to detect inapplicable dependency modes. For instance
  13490. + # both Tru64's cc and ICC support -MD to output dependencies as a
  13491. + # side effect of compilation, but ICC will put the dependencies in
  13492. + # the current directory while Tru64 will put them in the object
  13493. + # directory.
  13494. + mkdir sub
  13495. +
  13496. + am_cv_CC_dependencies_compiler_type=none
  13497. + if test "$am_compiler_list" = ""; then
  13498. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  13499. + fi
  13500. + am__universal=false
  13501. + case " $depcc " in #(
  13502. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  13503. + esac
  13504. +
  13505. + for depmode in $am_compiler_list; do
  13506. + # Setup a source with many dependencies, because some compilers
  13507. + # like to wrap large dependency lists on column 80 (with \), and
  13508. + # we should not choose a depcomp mode which is confused by this.
  13509. + #
  13510. + # We need to recreate these files for each test, as the compiler may
  13511. + # overwrite some of them when testing with obscure command lines.
  13512. + # This happens at least with the AIX C compiler.
  13513. + : > sub/conftest.c
  13514. + for i in 1 2 3 4 5 6; do
  13515. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  13516. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  13517. + # Solaris 10 /bin/sh.
  13518. + echo '/* dummy */' > sub/conftst$i.h
  13519. + done
  13520. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  13521. +
  13522. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  13523. + # mode. It turns out that the SunPro C++ compiler does not properly
  13524. + # handle '-M -o', and we need to detect this. Also, some Intel
  13525. + # versions had trouble with output in subdirs.
  13526. + am__obj=sub/conftest.${OBJEXT-o}
  13527. + am__minus_obj="-o $am__obj"
  13528. + case $depmode in
  13529. + gcc)
  13530. + # This depmode causes a compiler race in universal mode.
  13531. + test "$am__universal" = false || continue
  13532. + ;;
  13533. + nosideeffect)
  13534. + # After this tag, mechanisms are not by side-effect, so they'll
  13535. + # only be used when explicitly requested.
  13536. + if test "x$enable_dependency_tracking" = xyes; then
  13537. + continue
  13538. + else
  13539. + break
  13540. + fi
  13541. + ;;
  13542. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  13543. + # This compiler won't grok '-c -o', but also, the minuso test has
  13544. + # not run yet. These depmodes are late enough in the game, and
  13545. + # so weak that their functioning should not be impacted.
  13546. + am__obj=conftest.${OBJEXT-o}
  13547. + am__minus_obj=
  13548. + ;;
  13549. + none) break ;;
  13550. + esac
  13551. + if depmode=$depmode \
  13552. + source=sub/conftest.c object=$am__obj \
  13553. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  13554. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  13555. + >/dev/null 2>conftest.err &&
  13556. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  13557. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  13558. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  13559. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  13560. + # icc doesn't choke on unknown options, it will just issue warnings
  13561. + # or remarks (even with -Werror). So we grep stderr for any message
  13562. + # that says an option was ignored or not supported.
  13563. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  13564. + # icc: Command line warning: ignoring option '-M'; no argument required
  13565. + # The diagnosis changed in icc 8.0:
  13566. + # icc: Command line remark: option '-MP' not supported
  13567. + if (grep 'ignoring option' conftest.err ||
  13568. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  13569. + am_cv_CC_dependencies_compiler_type=$depmode
  13570. + break
  13571. + fi
  13572. + fi
  13573. + done
  13574. +
  13575. + cd ..
  13576. + rm -rf conftest.dir
  13577. +else
  13578. + am_cv_CC_dependencies_compiler_type=none
  13579. +fi
  13580. +
  13581. +fi
  13582. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  13583. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  13584. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  13585. +
  13586. + if
  13587. + test "x$enable_dependency_tracking" != xno \
  13588. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  13589. + am__fastdepCC_TRUE=
  13590. + am__fastdepCC_FALSE='#'
  13591. +else
  13592. + am__fastdepCC_TRUE='#'
  13593. + am__fastdepCC_FALSE=
  13594. +fi
  13595. +
  13596. +
  13597. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  13598. +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  13599. +if ${ac_cv_path_SED+:} false; then :
  13600. + $as_echo_n "(cached) " >&6
  13601. +else
  13602. + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  13603. + for ac_i in 1 2 3 4 5 6 7; do
  13604. + ac_script="$ac_script$as_nl$ac_script"
  13605. + done
  13606. + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  13607. + { ac_script=; unset ac_script;}
  13608. + if test -z "$SED"; then
  13609. + ac_path_SED_found=false
  13610. + # Loop through the user's path and test for each of PROGNAME-LIST
  13611. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13612. +for as_dir in $PATH
  13613. +do
  13614. + IFS=$as_save_IFS
  13615. + test -z "$as_dir" && as_dir=.
  13616. + for ac_prog in sed gsed; do
  13617. + for ac_exec_ext in '' $ac_executable_extensions; do
  13618. + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  13619. + as_fn_executable_p "$ac_path_SED" || continue
  13620. +# Check for GNU ac_path_SED and select it if it is found.
  13621. + # Check for GNU $ac_path_SED
  13622. +case `"$ac_path_SED" --version 2>&1` in
  13623. +*GNU*)
  13624. + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  13625. +*)
  13626. + ac_count=0
  13627. + $as_echo_n 0123456789 >"conftest.in"
  13628. + while :
  13629. + do
  13630. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  13631. + mv "conftest.tmp" "conftest.in"
  13632. + cp "conftest.in" "conftest.nl"
  13633. + $as_echo '' >> "conftest.nl"
  13634. + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  13635. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  13636. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  13637. + if test $ac_count -gt ${ac_path_SED_max-0}; then
  13638. + # Best one so far, save it but keep looking for a better one
  13639. + ac_cv_path_SED="$ac_path_SED"
  13640. + ac_path_SED_max=$ac_count
  13641. + fi
  13642. + # 10*(2^10) chars as input seems more than enough
  13643. + test $ac_count -gt 10 && break
  13644. + done
  13645. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  13646. +esac
  13647. +
  13648. + $ac_path_SED_found && break 3
  13649. + done
  13650. + done
  13651. + done
  13652. +IFS=$as_save_IFS
  13653. + if test -z "$ac_cv_path_SED"; then
  13654. + as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  13655. + fi
  13656. +else
  13657. + ac_cv_path_SED=$SED
  13658. +fi
  13659. +
  13660. +fi
  13661. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  13662. +$as_echo "$ac_cv_path_SED" >&6; }
  13663. + SED="$ac_cv_path_SED"
  13664. + rm -f conftest.sed
  13665. +
  13666. +test -z "$SED" && SED=sed
  13667. +Xsed="$SED -e 1s/^X//"
  13668. +
  13669. +
  13670. +
  13671. +
  13672. +
  13673. +
  13674. +
  13675. +
  13676. +
  13677. +
  13678. +
  13679. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  13680. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  13681. +if ${ac_cv_path_GREP+:} false; then :
  13682. + $as_echo_n "(cached) " >&6
  13683. +else
  13684. + if test -z "$GREP"; then
  13685. + ac_path_GREP_found=false
  13686. + # Loop through the user's path and test for each of PROGNAME-LIST
  13687. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13688. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  13689. +do
  13690. + IFS=$as_save_IFS
  13691. + test -z "$as_dir" && as_dir=.
  13692. + for ac_prog in grep ggrep; do
  13693. + for ac_exec_ext in '' $ac_executable_extensions; do
  13694. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  13695. + as_fn_executable_p "$ac_path_GREP" || continue
  13696. +# Check for GNU ac_path_GREP and select it if it is found.
  13697. + # Check for GNU $ac_path_GREP
  13698. +case `"$ac_path_GREP" --version 2>&1` in
  13699. +*GNU*)
  13700. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  13701. +*)
  13702. + ac_count=0
  13703. + $as_echo_n 0123456789 >"conftest.in"
  13704. + while :
  13705. + do
  13706. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  13707. + mv "conftest.tmp" "conftest.in"
  13708. + cp "conftest.in" "conftest.nl"
  13709. + $as_echo 'GREP' >> "conftest.nl"
  13710. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  13711. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  13712. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  13713. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  13714. + # Best one so far, save it but keep looking for a better one
  13715. + ac_cv_path_GREP="$ac_path_GREP"
  13716. + ac_path_GREP_max=$ac_count
  13717. + fi
  13718. + # 10*(2^10) chars as input seems more than enough
  13719. + test $ac_count -gt 10 && break
  13720. + done
  13721. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  13722. +esac
  13723. +
  13724. + $ac_path_GREP_found && break 3
  13725. + done
  13726. + done
  13727. + done
  13728. +IFS=$as_save_IFS
  13729. + if test -z "$ac_cv_path_GREP"; then
  13730. + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  13731. + fi
  13732. +else
  13733. + ac_cv_path_GREP=$GREP
  13734. +fi
  13735. +
  13736. +fi
  13737. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  13738. +$as_echo "$ac_cv_path_GREP" >&6; }
  13739. + GREP="$ac_cv_path_GREP"
  13740. +
  13741. +
  13742. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  13743. +$as_echo_n "checking for egrep... " >&6; }
  13744. +if ${ac_cv_path_EGREP+:} false; then :
  13745. + $as_echo_n "(cached) " >&6
  13746. +else
  13747. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  13748. + then ac_cv_path_EGREP="$GREP -E"
  13749. + else
  13750. + if test -z "$EGREP"; then
  13751. + ac_path_EGREP_found=false
  13752. + # Loop through the user's path and test for each of PROGNAME-LIST
  13753. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13754. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  13755. +do
  13756. + IFS=$as_save_IFS
  13757. + test -z "$as_dir" && as_dir=.
  13758. + for ac_prog in egrep; do
  13759. + for ac_exec_ext in '' $ac_executable_extensions; do
  13760. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  13761. + as_fn_executable_p "$ac_path_EGREP" || continue
  13762. +# Check for GNU ac_path_EGREP and select it if it is found.
  13763. + # Check for GNU $ac_path_EGREP
  13764. +case `"$ac_path_EGREP" --version 2>&1` in
  13765. +*GNU*)
  13766. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  13767. +*)
  13768. + ac_count=0
  13769. + $as_echo_n 0123456789 >"conftest.in"
  13770. + while :
  13771. + do
  13772. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  13773. + mv "conftest.tmp" "conftest.in"
  13774. + cp "conftest.in" "conftest.nl"
  13775. + $as_echo 'EGREP' >> "conftest.nl"
  13776. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  13777. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  13778. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  13779. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  13780. + # Best one so far, save it but keep looking for a better one
  13781. + ac_cv_path_EGREP="$ac_path_EGREP"
  13782. + ac_path_EGREP_max=$ac_count
  13783. + fi
  13784. + # 10*(2^10) chars as input seems more than enough
  13785. + test $ac_count -gt 10 && break
  13786. + done
  13787. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  13788. +esac
  13789. +
  13790. + $ac_path_EGREP_found && break 3
  13791. + done
  13792. + done
  13793. + done
  13794. +IFS=$as_save_IFS
  13795. + if test -z "$ac_cv_path_EGREP"; then
  13796. + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  13797. + fi
  13798. +else
  13799. + ac_cv_path_EGREP=$EGREP
  13800. +fi
  13801. +
  13802. + fi
  13803. +fi
  13804. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  13805. +$as_echo "$ac_cv_path_EGREP" >&6; }
  13806. + EGREP="$ac_cv_path_EGREP"
  13807. +
  13808. +
  13809. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  13810. +$as_echo_n "checking for fgrep... " >&6; }
  13811. +if ${ac_cv_path_FGREP+:} false; then :
  13812. + $as_echo_n "(cached) " >&6
  13813. +else
  13814. + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  13815. + then ac_cv_path_FGREP="$GREP -F"
  13816. + else
  13817. + if test -z "$FGREP"; then
  13818. + ac_path_FGREP_found=false
  13819. + # Loop through the user's path and test for each of PROGNAME-LIST
  13820. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13821. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  13822. +do
  13823. + IFS=$as_save_IFS
  13824. + test -z "$as_dir" && as_dir=.
  13825. + for ac_prog in fgrep; do
  13826. + for ac_exec_ext in '' $ac_executable_extensions; do
  13827. + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  13828. + as_fn_executable_p "$ac_path_FGREP" || continue
  13829. +# Check for GNU ac_path_FGREP and select it if it is found.
  13830. + # Check for GNU $ac_path_FGREP
  13831. +case `"$ac_path_FGREP" --version 2>&1` in
  13832. +*GNU*)
  13833. + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  13834. +*)
  13835. + ac_count=0
  13836. + $as_echo_n 0123456789 >"conftest.in"
  13837. + while :
  13838. + do
  13839. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  13840. + mv "conftest.tmp" "conftest.in"
  13841. + cp "conftest.in" "conftest.nl"
  13842. + $as_echo 'FGREP' >> "conftest.nl"
  13843. + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  13844. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  13845. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  13846. + if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  13847. + # Best one so far, save it but keep looking for a better one
  13848. + ac_cv_path_FGREP="$ac_path_FGREP"
  13849. + ac_path_FGREP_max=$ac_count
  13850. + fi
  13851. + # 10*(2^10) chars as input seems more than enough
  13852. + test $ac_count -gt 10 && break
  13853. + done
  13854. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  13855. +esac
  13856. +
  13857. + $ac_path_FGREP_found && break 3
  13858. + done
  13859. + done
  13860. + done
  13861. +IFS=$as_save_IFS
  13862. + if test -z "$ac_cv_path_FGREP"; then
  13863. + as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  13864. + fi
  13865. +else
  13866. + ac_cv_path_FGREP=$FGREP
  13867. +fi
  13868. +
  13869. + fi
  13870. +fi
  13871. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  13872. +$as_echo "$ac_cv_path_FGREP" >&6; }
  13873. + FGREP="$ac_cv_path_FGREP"
  13874. +
  13875. +
  13876. +test -z "$GREP" && GREP=grep
  13877. +
  13878. +
  13879. +
  13880. +
  13881. +
  13882. +
  13883. +
  13884. +
  13885. +
  13886. +
  13887. +
  13888. +
  13889. +
  13890. +
  13891. +
  13892. +
  13893. +
  13894. +
  13895. +
  13896. +@%:@ Check whether --with-gnu-ld was given.
  13897. +if test "${with_gnu_ld+set}" = set; then :
  13898. + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  13899. +else
  13900. + with_gnu_ld=no
  13901. +fi
  13902. +
  13903. +ac_prog=ld
  13904. +if test "$GCC" = yes; then
  13905. + # Check if gcc -print-prog-name=ld gives a path.
  13906. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  13907. +$as_echo_n "checking for ld used by $CC... " >&6; }
  13908. + case $host in
  13909. + *-*-mingw*)
  13910. + # gcc leaves a trailing carriage return which upsets mingw
  13911. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  13912. + *)
  13913. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  13914. + esac
  13915. + case $ac_prog in
  13916. + # Accept absolute paths.
  13917. + [\\/]* | ?:[\\/]*)
  13918. + re_direlt='/[^/][^/]*/\.\./'
  13919. + # Canonicalize the pathname of ld
  13920. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  13921. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  13922. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  13923. + done
  13924. + test -z "$LD" && LD="$ac_prog"
  13925. + ;;
  13926. + "")
  13927. + # If it fails, then pretend we aren't using GCC.
  13928. + ac_prog=ld
  13929. + ;;
  13930. + *)
  13931. + # If it is relative, then search for the first ld in PATH.
  13932. + with_gnu_ld=unknown
  13933. + ;;
  13934. + esac
  13935. +elif test "$with_gnu_ld" = yes; then
  13936. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  13937. +$as_echo_n "checking for GNU ld... " >&6; }
  13938. +else
  13939. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  13940. +$as_echo_n "checking for non-GNU ld... " >&6; }
  13941. +fi
  13942. +if ${lt_cv_path_LD+:} false; then :
  13943. + $as_echo_n "(cached) " >&6
  13944. +else
  13945. + if test -z "$LD"; then
  13946. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  13947. + for ac_dir in $PATH; do
  13948. + IFS="$lt_save_ifs"
  13949. + test -z "$ac_dir" && ac_dir=.
  13950. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  13951. + lt_cv_path_LD="$ac_dir/$ac_prog"
  13952. + # Check to see if the program is GNU ld. I'd rather use --version,
  13953. + # but apparently some variants of GNU ld only accept -v.
  13954. + # Break only if it was the GNU/non-GNU ld that we prefer.
  13955. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  13956. + *GNU* | *'with BFD'*)
  13957. + test "$with_gnu_ld" != no && break
  13958. + ;;
  13959. + *)
  13960. + test "$with_gnu_ld" != yes && break
  13961. + ;;
  13962. + esac
  13963. + fi
  13964. + done
  13965. + IFS="$lt_save_ifs"
  13966. +else
  13967. + lt_cv_path_LD="$LD" # Let the user override the test with a path.
  13968. +fi
  13969. +fi
  13970. +
  13971. +LD="$lt_cv_path_LD"
  13972. +if test -n "$LD"; then
  13973. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  13974. +$as_echo "$LD" >&6; }
  13975. +else
  13976. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13977. +$as_echo "no" >&6; }
  13978. +fi
  13979. +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  13980. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  13981. +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  13982. +if ${lt_cv_prog_gnu_ld+:} false; then :
  13983. + $as_echo_n "(cached) " >&6
  13984. +else
  13985. + # I'd rather use --version here, but apparently some GNU lds only accept -v.
  13986. +case `$LD -v 2>&1 </dev/null` in
  13987. +*GNU* | *'with BFD'*)
  13988. + lt_cv_prog_gnu_ld=yes
  13989. + ;;
  13990. +*)
  13991. + lt_cv_prog_gnu_ld=no
  13992. + ;;
  13993. +esac
  13994. +fi
  13995. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  13996. +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  13997. +with_gnu_ld=$lt_cv_prog_gnu_ld
  13998. +
  13999. +
  14000. +
  14001. +
  14002. +
  14003. +
  14004. +
  14005. +
  14006. +
  14007. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  14008. +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  14009. +if ${lt_cv_path_NM+:} false; then :
  14010. + $as_echo_n "(cached) " >&6
  14011. +else
  14012. + if test -n "$NM"; then
  14013. + # Let the user override the test.
  14014. + lt_cv_path_NM="$NM"
  14015. +else
  14016. + lt_nm_to_check="${ac_tool_prefix}nm"
  14017. + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  14018. + lt_nm_to_check="$lt_nm_to_check nm"
  14019. + fi
  14020. + for lt_tmp_nm in $lt_nm_to_check; do
  14021. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  14022. + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  14023. + IFS="$lt_save_ifs"
  14024. + test -z "$ac_dir" && ac_dir=.
  14025. + tmp_nm="$ac_dir/$lt_tmp_nm"
  14026. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  14027. + # Check to see if the nm accepts a BSD-compat flag.
  14028. + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  14029. + # nm: unknown option "B" ignored
  14030. + # Tru64's nm complains that /dev/null is an invalid object file
  14031. + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  14032. + */dev/null* | *'Invalid file or object type'*)
  14033. + lt_cv_path_NM="$tmp_nm -B"
  14034. + break
  14035. + ;;
  14036. + *)
  14037. + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  14038. + */dev/null*)
  14039. + lt_cv_path_NM="$tmp_nm -p"
  14040. + break
  14041. + ;;
  14042. + *)
  14043. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  14044. + continue # so that we can try to find one that supports BSD flags
  14045. + ;;
  14046. + esac
  14047. + ;;
  14048. + esac
  14049. + fi
  14050. + done
  14051. + IFS="$lt_save_ifs"
  14052. + done
  14053. + : ${lt_cv_path_NM=no}
  14054. +fi
  14055. +fi
  14056. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  14057. +$as_echo "$lt_cv_path_NM" >&6; }
  14058. +if test "$lt_cv_path_NM" != "no"; then
  14059. + NM="$lt_cv_path_NM"
  14060. +else
  14061. + # Didn't find any BSD compatible name lister, look for dumpbin.
  14062. + if test -n "$ac_tool_prefix"; then
  14063. + for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  14064. + do
  14065. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  14066. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  14067. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14068. +$as_echo_n "checking for $ac_word... " >&6; }
  14069. +if ${ac_cv_prog_DUMPBIN+:} false; then :
  14070. + $as_echo_n "(cached) " >&6
  14071. +else
  14072. + if test -n "$DUMPBIN"; then
  14073. + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  14074. +else
  14075. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14076. +for as_dir in $PATH
  14077. +do
  14078. + IFS=$as_save_IFS
  14079. + test -z "$as_dir" && as_dir=.
  14080. + for ac_exec_ext in '' $ac_executable_extensions; do
  14081. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14082. + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  14083. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14084. + break 2
  14085. + fi
  14086. +done
  14087. + done
  14088. +IFS=$as_save_IFS
  14089. +
  14090. +fi
  14091. +fi
  14092. +DUMPBIN=$ac_cv_prog_DUMPBIN
  14093. +if test -n "$DUMPBIN"; then
  14094. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  14095. +$as_echo "$DUMPBIN" >&6; }
  14096. +else
  14097. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14098. +$as_echo "no" >&6; }
  14099. +fi
  14100. +
  14101. +
  14102. + test -n "$DUMPBIN" && break
  14103. + done
  14104. +fi
  14105. +if test -z "$DUMPBIN"; then
  14106. + ac_ct_DUMPBIN=$DUMPBIN
  14107. + for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  14108. +do
  14109. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  14110. +set dummy $ac_prog; ac_word=$2
  14111. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14112. +$as_echo_n "checking for $ac_word... " >&6; }
  14113. +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  14114. + $as_echo_n "(cached) " >&6
  14115. +else
  14116. + if test -n "$ac_ct_DUMPBIN"; then
  14117. + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  14118. +else
  14119. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14120. +for as_dir in $PATH
  14121. +do
  14122. + IFS=$as_save_IFS
  14123. + test -z "$as_dir" && as_dir=.
  14124. + for ac_exec_ext in '' $ac_executable_extensions; do
  14125. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14126. + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  14127. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14128. + break 2
  14129. + fi
  14130. +done
  14131. + done
  14132. +IFS=$as_save_IFS
  14133. +
  14134. +fi
  14135. +fi
  14136. +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  14137. +if test -n "$ac_ct_DUMPBIN"; then
  14138. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  14139. +$as_echo "$ac_ct_DUMPBIN" >&6; }
  14140. +else
  14141. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14142. +$as_echo "no" >&6; }
  14143. +fi
  14144. +
  14145. +
  14146. + test -n "$ac_ct_DUMPBIN" && break
  14147. +done
  14148. +
  14149. + if test "x$ac_ct_DUMPBIN" = x; then
  14150. + DUMPBIN=":"
  14151. + else
  14152. + case $cross_compiling:$ac_tool_warned in
  14153. +yes:)
  14154. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14155. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14156. +ac_tool_warned=yes ;;
  14157. +esac
  14158. + DUMPBIN=$ac_ct_DUMPBIN
  14159. + fi
  14160. +fi
  14161. +
  14162. +
  14163. + if test "$DUMPBIN" != ":"; then
  14164. + NM="$DUMPBIN"
  14165. + fi
  14166. +fi
  14167. +test -z "$NM" && NM=nm
  14168. +
  14169. +
  14170. +
  14171. +
  14172. +
  14173. +
  14174. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  14175. +$as_echo_n "checking the name lister ($NM) interface... " >&6; }
  14176. +if ${lt_cv_nm_interface+:} false; then :
  14177. + $as_echo_n "(cached) " >&6
  14178. +else
  14179. + lt_cv_nm_interface="BSD nm"
  14180. + echo "int some_variable = 0;" > conftest.$ac_ext
  14181. + (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
  14182. + (eval "$ac_compile" 2>conftest.err)
  14183. + cat conftest.err >&5
  14184. + (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  14185. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  14186. + cat conftest.err >&5
  14187. + (eval echo "\"\$as_me:__oline__: output\"" >&5)
  14188. + cat conftest.out >&5
  14189. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  14190. + lt_cv_nm_interface="MS dumpbin"
  14191. + fi
  14192. + rm -f conftest*
  14193. +fi
  14194. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  14195. +$as_echo "$lt_cv_nm_interface" >&6; }
  14196. +
  14197. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  14198. +$as_echo_n "checking whether ln -s works... " >&6; }
  14199. +LN_S=$as_ln_s
  14200. +if test "$LN_S" = "ln -s"; then
  14201. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14202. +$as_echo "yes" >&6; }
  14203. +else
  14204. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  14205. +$as_echo "no, using $LN_S" >&6; }
  14206. +fi
  14207. +
  14208. +# find the maximum length of command line arguments
  14209. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  14210. +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
  14211. +if ${lt_cv_sys_max_cmd_len+:} false; then :
  14212. + $as_echo_n "(cached) " >&6
  14213. +else
  14214. + i=0
  14215. + teststring="ABCD"
  14216. +
  14217. + case $build_os in
  14218. + msdosdjgpp*)
  14219. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  14220. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  14221. + # during glob expansion). Even if it were fixed, the result of this
  14222. + # check would be larger than it should be.
  14223. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  14224. + ;;
  14225. +
  14226. + gnu*)
  14227. + # Under GNU Hurd, this test is not required because there is
  14228. + # no limit to the length of command line arguments.
  14229. + # Libtool will interpret -1 as no limit whatsoever
  14230. + lt_cv_sys_max_cmd_len=-1;
  14231. + ;;
  14232. +
  14233. + cygwin* | mingw* | cegcc*)
  14234. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  14235. + # about 5 minutes as the teststring grows exponentially.
  14236. + # Worse, since 9x/ME are not pre-emptively multitasking,
  14237. + # you end up with a "frozen" computer, even though with patience
  14238. + # the test eventually succeeds (with a max line length of 256k).
  14239. + # Instead, let's just punt: use the minimum linelength reported by
  14240. + # all of the supported platforms: 8192 (on NT/2K/XP).
  14241. + lt_cv_sys_max_cmd_len=8192;
  14242. + ;;
  14243. +
  14244. + amigaos*)
  14245. + # On AmigaOS with pdksh, this test takes hours, literally.
  14246. + # So we just punt and use a minimum line length of 8192.
  14247. + lt_cv_sys_max_cmd_len=8192;
  14248. + ;;
  14249. +
  14250. + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  14251. + # This has been around since 386BSD, at least. Likely further.
  14252. + if test -x /sbin/sysctl; then
  14253. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  14254. + elif test -x /usr/sbin/sysctl; then
  14255. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  14256. + else
  14257. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  14258. + fi
  14259. + # And add a safety zone
  14260. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  14261. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  14262. + ;;
  14263. +
  14264. + interix*)
  14265. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  14266. + lt_cv_sys_max_cmd_len=196608
  14267. + ;;
  14268. +
  14269. + osf*)
  14270. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  14271. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  14272. + # nice to cause kernel panics so lets avoid the loop below.
  14273. + # First set a reasonable default.
  14274. + lt_cv_sys_max_cmd_len=16384
  14275. + #
  14276. + if test -x /sbin/sysconfig; then
  14277. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  14278. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  14279. + esac
  14280. + fi
  14281. + ;;
  14282. + sco3.2v5*)
  14283. + lt_cv_sys_max_cmd_len=102400
  14284. + ;;
  14285. + sysv5* | sco5v6* | sysv4.2uw2*)
  14286. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  14287. + if test -n "$kargmax"; then
  14288. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  14289. + else
  14290. + lt_cv_sys_max_cmd_len=32768
  14291. + fi
  14292. + ;;
  14293. + *)
  14294. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  14295. + if test -n "$lt_cv_sys_max_cmd_len"; then
  14296. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  14297. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  14298. + else
  14299. + # Make teststring a little bigger before we do anything with it.
  14300. + # a 1K string should be a reasonable start.
  14301. + for i in 1 2 3 4 5 6 7 8 ; do
  14302. + teststring=$teststring$teststring
  14303. + done
  14304. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  14305. + # If test is not a shell built-in, we'll probably end up computing a
  14306. + # maximum length that is only half of the actual maximum length, but
  14307. + # we can't tell.
  14308. + while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  14309. + = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  14310. + test $i != 17 # 1/2 MB should be enough
  14311. + do
  14312. + i=`expr $i + 1`
  14313. + teststring=$teststring$teststring
  14314. + done
  14315. + # Only check the string length outside the loop.
  14316. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  14317. + teststring=
  14318. + # Add a significant safety factor because C++ compilers can tack on
  14319. + # massive amounts of additional arguments before passing them to the
  14320. + # linker. It appears as though 1/2 is a usable value.
  14321. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  14322. + fi
  14323. + ;;
  14324. + esac
  14325. +
  14326. +fi
  14327. +
  14328. +if test -n $lt_cv_sys_max_cmd_len ; then
  14329. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  14330. +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  14331. +else
  14332. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  14333. +$as_echo "none" >&6; }
  14334. +fi
  14335. +max_cmd_len=$lt_cv_sys_max_cmd_len
  14336. +
  14337. +
  14338. +
  14339. +
  14340. +
  14341. +
  14342. +: ${CP="cp -f"}
  14343. +: ${MV="mv -f"}
  14344. +: ${RM="rm -f"}
  14345. +
  14346. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  14347. +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  14348. +# Try some XSI features
  14349. +xsi_shell=no
  14350. +( _lt_dummy="a/b/c"
  14351. + test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  14352. + = c,a/b,, \
  14353. + && eval 'test $(( 1 + 1 )) -eq 2 \
  14354. + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  14355. + && xsi_shell=yes
  14356. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  14357. +$as_echo "$xsi_shell" >&6; }
  14358. +
  14359. +
  14360. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  14361. +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  14362. +lt_shell_append=no
  14363. +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  14364. + >/dev/null 2>&1 \
  14365. + && lt_shell_append=yes
  14366. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  14367. +$as_echo "$lt_shell_append" >&6; }
  14368. +
  14369. +
  14370. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  14371. + lt_unset=unset
  14372. +else
  14373. + lt_unset=false
  14374. +fi
  14375. +
  14376. +
  14377. +
  14378. +
  14379. +
  14380. +# test EBCDIC or ASCII
  14381. +case `echo X|tr X '\101'` in
  14382. + A) # ASCII based system
  14383. + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  14384. + lt_SP2NL='tr \040 \012'
  14385. + lt_NL2SP='tr \015\012 \040\040'
  14386. + ;;
  14387. + *) # EBCDIC based system
  14388. + lt_SP2NL='tr \100 \n'
  14389. + lt_NL2SP='tr \r\n \100\100'
  14390. + ;;
  14391. +esac
  14392. +
  14393. +
  14394. +
  14395. +
  14396. +
  14397. +
  14398. +
  14399. +
  14400. +
  14401. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  14402. +$as_echo_n "checking for $LD option to reload object files... " >&6; }
  14403. +if ${lt_cv_ld_reload_flag+:} false; then :
  14404. + $as_echo_n "(cached) " >&6
  14405. +else
  14406. + lt_cv_ld_reload_flag='-r'
  14407. +fi
  14408. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  14409. +$as_echo "$lt_cv_ld_reload_flag" >&6; }
  14410. +reload_flag=$lt_cv_ld_reload_flag
  14411. +case $reload_flag in
  14412. +"" | " "*) ;;
  14413. +*) reload_flag=" $reload_flag" ;;
  14414. +esac
  14415. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  14416. +case $host_os in
  14417. + darwin*)
  14418. + if test "$GCC" = yes; then
  14419. + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  14420. + else
  14421. + reload_cmds='$LD$reload_flag -o $output$reload_objs'
  14422. + fi
  14423. + ;;
  14424. +esac
  14425. +
  14426. +
  14427. +
  14428. +
  14429. +
  14430. +
  14431. +
  14432. +
  14433. +
  14434. +if test -n "$ac_tool_prefix"; then
  14435. + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  14436. +set dummy ${ac_tool_prefix}objdump; ac_word=$2
  14437. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14438. +$as_echo_n "checking for $ac_word... " >&6; }
  14439. +if ${ac_cv_prog_OBJDUMP+:} false; then :
  14440. + $as_echo_n "(cached) " >&6
  14441. +else
  14442. + if test -n "$OBJDUMP"; then
  14443. + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  14444. +else
  14445. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14446. +for as_dir in $PATH
  14447. +do
  14448. + IFS=$as_save_IFS
  14449. + test -z "$as_dir" && as_dir=.
  14450. + for ac_exec_ext in '' $ac_executable_extensions; do
  14451. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14452. + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  14453. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14454. + break 2
  14455. + fi
  14456. +done
  14457. + done
  14458. +IFS=$as_save_IFS
  14459. +
  14460. +fi
  14461. +fi
  14462. +OBJDUMP=$ac_cv_prog_OBJDUMP
  14463. +if test -n "$OBJDUMP"; then
  14464. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  14465. +$as_echo "$OBJDUMP" >&6; }
  14466. +else
  14467. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14468. +$as_echo "no" >&6; }
  14469. +fi
  14470. +
  14471. +
  14472. +fi
  14473. +if test -z "$ac_cv_prog_OBJDUMP"; then
  14474. + ac_ct_OBJDUMP=$OBJDUMP
  14475. + # Extract the first word of "objdump", so it can be a program name with args.
  14476. +set dummy objdump; ac_word=$2
  14477. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14478. +$as_echo_n "checking for $ac_word... " >&6; }
  14479. +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  14480. + $as_echo_n "(cached) " >&6
  14481. +else
  14482. + if test -n "$ac_ct_OBJDUMP"; then
  14483. + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  14484. +else
  14485. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14486. +for as_dir in $PATH
  14487. +do
  14488. + IFS=$as_save_IFS
  14489. + test -z "$as_dir" && as_dir=.
  14490. + for ac_exec_ext in '' $ac_executable_extensions; do
  14491. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14492. + ac_cv_prog_ac_ct_OBJDUMP="objdump"
  14493. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14494. + break 2
  14495. + fi
  14496. +done
  14497. + done
  14498. +IFS=$as_save_IFS
  14499. +
  14500. +fi
  14501. +fi
  14502. +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  14503. +if test -n "$ac_ct_OBJDUMP"; then
  14504. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  14505. +$as_echo "$ac_ct_OBJDUMP" >&6; }
  14506. +else
  14507. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14508. +$as_echo "no" >&6; }
  14509. +fi
  14510. +
  14511. + if test "x$ac_ct_OBJDUMP" = x; then
  14512. + OBJDUMP="false"
  14513. + else
  14514. + case $cross_compiling:$ac_tool_warned in
  14515. +yes:)
  14516. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14517. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14518. +ac_tool_warned=yes ;;
  14519. +esac
  14520. + OBJDUMP=$ac_ct_OBJDUMP
  14521. + fi
  14522. +else
  14523. + OBJDUMP="$ac_cv_prog_OBJDUMP"
  14524. +fi
  14525. +
  14526. +test -z "$OBJDUMP" && OBJDUMP=objdump
  14527. +
  14528. +
  14529. +
  14530. +
  14531. +
  14532. +
  14533. +
  14534. +
  14535. +
  14536. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  14537. +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
  14538. +if ${lt_cv_deplibs_check_method+:} false; then :
  14539. + $as_echo_n "(cached) " >&6
  14540. +else
  14541. + lt_cv_file_magic_cmd='$MAGIC_CMD'
  14542. +lt_cv_file_magic_test_file=
  14543. +lt_cv_deplibs_check_method='unknown'
  14544. +# Need to set the preceding variable on all platforms that support
  14545. +# interlibrary dependencies.
  14546. +# 'none' -- dependencies not supported.
  14547. +# `unknown' -- same as none, but documents that we really don't know.
  14548. +# 'pass_all' -- all dependencies passed with no checks.
  14549. +# 'test_compile' -- check by making test program.
  14550. +# 'file_magic [[regex]]' -- check by looking for files in library path
  14551. +# which responds to the $file_magic_cmd with a given extended regex.
  14552. +# If you have `file' or equivalent on your system and you're not sure
  14553. +# whether `pass_all' will *always* work, you probably want this one.
  14554. +
  14555. +case $host_os in
  14556. +aix[4-9]*)
  14557. + lt_cv_deplibs_check_method=pass_all
  14558. + ;;
  14559. +
  14560. +beos*)
  14561. + lt_cv_deplibs_check_method=pass_all
  14562. + ;;
  14563. +
  14564. +bsdi[45]*)
  14565. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  14566. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  14567. + lt_cv_file_magic_test_file=/shlib/libc.so
  14568. + ;;
  14569. +
  14570. +cygwin*)
  14571. + # func_win32_libid is a shell function defined in ltmain.sh
  14572. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  14573. + lt_cv_file_magic_cmd='func_win32_libid'
  14574. + ;;
  14575. +
  14576. +mingw* | pw32*)
  14577. + # Base MSYS/MinGW do not provide the 'file' command needed by
  14578. + # func_win32_libid shell function, so use a weaker test based on 'objdump',
  14579. + # unless we find 'file', for example because we are cross-compiling.
  14580. + if ( file / ) >/dev/null 2>&1; then
  14581. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  14582. + lt_cv_file_magic_cmd='func_win32_libid'
  14583. + else
  14584. + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  14585. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  14586. + fi
  14587. + ;;
  14588. +
  14589. +cegcc)
  14590. + # use the weaker test based on 'objdump'. See mingw*.
  14591. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  14592. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  14593. + ;;
  14594. +
  14595. +darwin* | rhapsody*)
  14596. + lt_cv_deplibs_check_method=pass_all
  14597. + ;;
  14598. +
  14599. +freebsd* | dragonfly*)
  14600. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  14601. + case $host_cpu in
  14602. + i*86 )
  14603. + # Not sure whether the presence of OpenBSD here was a mistake.
  14604. + # Let's accept both of them until this is cleared up.
  14605. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  14606. + lt_cv_file_magic_cmd=/usr/bin/file
  14607. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  14608. + ;;
  14609. + esac
  14610. + else
  14611. + lt_cv_deplibs_check_method=pass_all
  14612. + fi
  14613. + ;;
  14614. +
  14615. +gnu*)
  14616. + lt_cv_deplibs_check_method=pass_all
  14617. + ;;
  14618. +
  14619. +hpux10.20* | hpux11*)
  14620. + lt_cv_file_magic_cmd=/usr/bin/file
  14621. + case $host_cpu in
  14622. + ia64*)
  14623. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  14624. + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  14625. + ;;
  14626. + hppa*64*)
  14627. + 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]'
  14628. + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  14629. + ;;
  14630. + *)
  14631. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  14632. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  14633. + ;;
  14634. + esac
  14635. + ;;
  14636. +
  14637. +interix[3-9]*)
  14638. + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  14639. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  14640. + ;;
  14641. +
  14642. +irix5* | irix6* | nonstopux*)
  14643. + case $LD in
  14644. + *-32|*"-32 ") libmagic=32-bit;;
  14645. + *-n32|*"-n32 ") libmagic=N32;;
  14646. + *-64|*"-64 ") libmagic=64-bit;;
  14647. + *) libmagic=never-match;;
  14648. + esac
  14649. + lt_cv_deplibs_check_method=pass_all
  14650. + ;;
  14651. +
  14652. +# This must be Linux ELF.
  14653. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  14654. + lt_cv_deplibs_check_method=pass_all
  14655. + ;;
  14656. +
  14657. +netbsd* | netbsdelf*-gnu)
  14658. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  14659. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  14660. + else
  14661. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  14662. + fi
  14663. + ;;
  14664. +
  14665. +newos6*)
  14666. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  14667. + lt_cv_file_magic_cmd=/usr/bin/file
  14668. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  14669. + ;;
  14670. +
  14671. +*nto* | *qnx*)
  14672. + lt_cv_deplibs_check_method=pass_all
  14673. + ;;
  14674. +
  14675. +openbsd*)
  14676. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  14677. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  14678. + else
  14679. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  14680. + fi
  14681. + ;;
  14682. +
  14683. +osf3* | osf4* | osf5*)
  14684. + lt_cv_deplibs_check_method=pass_all
  14685. + ;;
  14686. +
  14687. +rdos*)
  14688. + lt_cv_deplibs_check_method=pass_all
  14689. + ;;
  14690. +
  14691. +solaris*)
  14692. + lt_cv_deplibs_check_method=pass_all
  14693. + ;;
  14694. +
  14695. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  14696. + lt_cv_deplibs_check_method=pass_all
  14697. + ;;
  14698. +
  14699. +sysv4 | sysv4.3*)
  14700. + case $host_vendor in
  14701. + motorola)
  14702. + 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]'
  14703. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  14704. + ;;
  14705. + ncr)
  14706. + lt_cv_deplibs_check_method=pass_all
  14707. + ;;
  14708. + sequent)
  14709. + lt_cv_file_magic_cmd='/bin/file'
  14710. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  14711. + ;;
  14712. + sni)
  14713. + lt_cv_file_magic_cmd='/bin/file'
  14714. + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  14715. + lt_cv_file_magic_test_file=/lib/libc.so
  14716. + ;;
  14717. + siemens)
  14718. + lt_cv_deplibs_check_method=pass_all
  14719. + ;;
  14720. + pc)
  14721. + lt_cv_deplibs_check_method=pass_all
  14722. + ;;
  14723. + esac
  14724. + ;;
  14725. +
  14726. +tpf*)
  14727. + lt_cv_deplibs_check_method=pass_all
  14728. + ;;
  14729. +esac
  14730. +
  14731. +fi
  14732. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  14733. +$as_echo "$lt_cv_deplibs_check_method" >&6; }
  14734. +file_magic_cmd=$lt_cv_file_magic_cmd
  14735. +deplibs_check_method=$lt_cv_deplibs_check_method
  14736. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  14737. +
  14738. +
  14739. +
  14740. +
  14741. +
  14742. +
  14743. +
  14744. +
  14745. +
  14746. +
  14747. +
  14748. +
  14749. +if test -n "$ac_tool_prefix"; then
  14750. + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  14751. +set dummy ${ac_tool_prefix}ar; ac_word=$2
  14752. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14753. +$as_echo_n "checking for $ac_word... " >&6; }
  14754. +if ${ac_cv_prog_AR+:} false; then :
  14755. + $as_echo_n "(cached) " >&6
  14756. +else
  14757. + if test -n "$AR"; then
  14758. + ac_cv_prog_AR="$AR" # Let the user override the test.
  14759. +else
  14760. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14761. +for as_dir in $PATH
  14762. +do
  14763. + IFS=$as_save_IFS
  14764. + test -z "$as_dir" && as_dir=.
  14765. + for ac_exec_ext in '' $ac_executable_extensions; do
  14766. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14767. + ac_cv_prog_AR="${ac_tool_prefix}ar"
  14768. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14769. + break 2
  14770. + fi
  14771. +done
  14772. + done
  14773. +IFS=$as_save_IFS
  14774. +
  14775. +fi
  14776. +fi
  14777. +AR=$ac_cv_prog_AR
  14778. +if test -n "$AR"; then
  14779. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  14780. +$as_echo "$AR" >&6; }
  14781. +else
  14782. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14783. +$as_echo "no" >&6; }
  14784. +fi
  14785. +
  14786. +
  14787. +fi
  14788. +if test -z "$ac_cv_prog_AR"; then
  14789. + ac_ct_AR=$AR
  14790. + # Extract the first word of "ar", so it can be a program name with args.
  14791. +set dummy ar; ac_word=$2
  14792. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14793. +$as_echo_n "checking for $ac_word... " >&6; }
  14794. +if ${ac_cv_prog_ac_ct_AR+:} false; then :
  14795. + $as_echo_n "(cached) " >&6
  14796. +else
  14797. + if test -n "$ac_ct_AR"; then
  14798. + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  14799. +else
  14800. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14801. +for as_dir in $PATH
  14802. +do
  14803. + IFS=$as_save_IFS
  14804. + test -z "$as_dir" && as_dir=.
  14805. + for ac_exec_ext in '' $ac_executable_extensions; do
  14806. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14807. + ac_cv_prog_ac_ct_AR="ar"
  14808. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14809. + break 2
  14810. + fi
  14811. +done
  14812. + done
  14813. +IFS=$as_save_IFS
  14814. +
  14815. +fi
  14816. +fi
  14817. +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  14818. +if test -n "$ac_ct_AR"; then
  14819. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  14820. +$as_echo "$ac_ct_AR" >&6; }
  14821. +else
  14822. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14823. +$as_echo "no" >&6; }
  14824. +fi
  14825. +
  14826. + if test "x$ac_ct_AR" = x; then
  14827. + AR="false"
  14828. + else
  14829. + case $cross_compiling:$ac_tool_warned in
  14830. +yes:)
  14831. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14832. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14833. +ac_tool_warned=yes ;;
  14834. +esac
  14835. + AR=$ac_ct_AR
  14836. + fi
  14837. +else
  14838. + AR="$ac_cv_prog_AR"
  14839. +fi
  14840. +
  14841. +test -z "$AR" && AR=ar
  14842. +test -z "$AR_FLAGS" && AR_FLAGS=cru
  14843. +
  14844. +
  14845. +
  14846. +
  14847. +
  14848. +
  14849. +
  14850. +
  14851. +
  14852. +
  14853. +
  14854. +if test -n "$ac_tool_prefix"; then
  14855. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  14856. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  14857. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14858. +$as_echo_n "checking for $ac_word... " >&6; }
  14859. +if ${ac_cv_prog_STRIP+:} false; then :
  14860. + $as_echo_n "(cached) " >&6
  14861. +else
  14862. + if test -n "$STRIP"; then
  14863. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  14864. +else
  14865. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14866. +for as_dir in $PATH
  14867. +do
  14868. + IFS=$as_save_IFS
  14869. + test -z "$as_dir" && as_dir=.
  14870. + for ac_exec_ext in '' $ac_executable_extensions; do
  14871. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14872. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  14873. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14874. + break 2
  14875. + fi
  14876. +done
  14877. + done
  14878. +IFS=$as_save_IFS
  14879. +
  14880. +fi
  14881. +fi
  14882. +STRIP=$ac_cv_prog_STRIP
  14883. +if test -n "$STRIP"; then
  14884. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  14885. +$as_echo "$STRIP" >&6; }
  14886. +else
  14887. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14888. +$as_echo "no" >&6; }
  14889. +fi
  14890. +
  14891. +
  14892. +fi
  14893. +if test -z "$ac_cv_prog_STRIP"; then
  14894. + ac_ct_STRIP=$STRIP
  14895. + # Extract the first word of "strip", so it can be a program name with args.
  14896. +set dummy strip; ac_word=$2
  14897. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14898. +$as_echo_n "checking for $ac_word... " >&6; }
  14899. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  14900. + $as_echo_n "(cached) " >&6
  14901. +else
  14902. + if test -n "$ac_ct_STRIP"; then
  14903. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  14904. +else
  14905. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14906. +for as_dir in $PATH
  14907. +do
  14908. + IFS=$as_save_IFS
  14909. + test -z "$as_dir" && as_dir=.
  14910. + for ac_exec_ext in '' $ac_executable_extensions; do
  14911. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14912. + ac_cv_prog_ac_ct_STRIP="strip"
  14913. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14914. + break 2
  14915. + fi
  14916. +done
  14917. + done
  14918. +IFS=$as_save_IFS
  14919. +
  14920. +fi
  14921. +fi
  14922. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  14923. +if test -n "$ac_ct_STRIP"; then
  14924. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  14925. +$as_echo "$ac_ct_STRIP" >&6; }
  14926. +else
  14927. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14928. +$as_echo "no" >&6; }
  14929. +fi
  14930. +
  14931. + if test "x$ac_ct_STRIP" = x; then
  14932. + STRIP=":"
  14933. + else
  14934. + case $cross_compiling:$ac_tool_warned in
  14935. +yes:)
  14936. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14937. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14938. +ac_tool_warned=yes ;;
  14939. +esac
  14940. + STRIP=$ac_ct_STRIP
  14941. + fi
  14942. +else
  14943. + STRIP="$ac_cv_prog_STRIP"
  14944. +fi
  14945. +
  14946. +test -z "$STRIP" && STRIP=:
  14947. +
  14948. +
  14949. +
  14950. +
  14951. +
  14952. +
  14953. +if test -n "$ac_tool_prefix"; then
  14954. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  14955. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  14956. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14957. +$as_echo_n "checking for $ac_word... " >&6; }
  14958. +if ${ac_cv_prog_RANLIB+:} false; then :
  14959. + $as_echo_n "(cached) " >&6
  14960. +else
  14961. + if test -n "$RANLIB"; then
  14962. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  14963. +else
  14964. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14965. +for as_dir in $PATH
  14966. +do
  14967. + IFS=$as_save_IFS
  14968. + test -z "$as_dir" && as_dir=.
  14969. + for ac_exec_ext in '' $ac_executable_extensions; do
  14970. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14971. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  14972. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14973. + break 2
  14974. + fi
  14975. +done
  14976. + done
  14977. +IFS=$as_save_IFS
  14978. +
  14979. +fi
  14980. +fi
  14981. +RANLIB=$ac_cv_prog_RANLIB
  14982. +if test -n "$RANLIB"; then
  14983. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  14984. +$as_echo "$RANLIB" >&6; }
  14985. +else
  14986. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14987. +$as_echo "no" >&6; }
  14988. +fi
  14989. +
  14990. +
  14991. +fi
  14992. +if test -z "$ac_cv_prog_RANLIB"; then
  14993. + ac_ct_RANLIB=$RANLIB
  14994. + # Extract the first word of "ranlib", so it can be a program name with args.
  14995. +set dummy ranlib; ac_word=$2
  14996. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14997. +$as_echo_n "checking for $ac_word... " >&6; }
  14998. +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  14999. + $as_echo_n "(cached) " >&6
  15000. +else
  15001. + if test -n "$ac_ct_RANLIB"; then
  15002. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  15003. +else
  15004. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15005. +for as_dir in $PATH
  15006. +do
  15007. + IFS=$as_save_IFS
  15008. + test -z "$as_dir" && as_dir=.
  15009. + for ac_exec_ext in '' $ac_executable_extensions; do
  15010. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15011. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  15012. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15013. + break 2
  15014. + fi
  15015. +done
  15016. + done
  15017. +IFS=$as_save_IFS
  15018. +
  15019. +fi
  15020. +fi
  15021. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  15022. +if test -n "$ac_ct_RANLIB"; then
  15023. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  15024. +$as_echo "$ac_ct_RANLIB" >&6; }
  15025. +else
  15026. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15027. +$as_echo "no" >&6; }
  15028. +fi
  15029. +
  15030. + if test "x$ac_ct_RANLIB" = x; then
  15031. + RANLIB=":"
  15032. + else
  15033. + case $cross_compiling:$ac_tool_warned in
  15034. +yes:)
  15035. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  15036. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  15037. +ac_tool_warned=yes ;;
  15038. +esac
  15039. + RANLIB=$ac_ct_RANLIB
  15040. + fi
  15041. +else
  15042. + RANLIB="$ac_cv_prog_RANLIB"
  15043. +fi
  15044. +
  15045. +test -z "$RANLIB" && RANLIB=:
  15046. +
  15047. +
  15048. +
  15049. +
  15050. +
  15051. +
  15052. +# Determine commands to create old-style static archives.
  15053. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  15054. +old_postinstall_cmds='chmod 644 $oldlib'
  15055. +old_postuninstall_cmds=
  15056. +
  15057. +if test -n "$RANLIB"; then
  15058. + case $host_os in
  15059. + openbsd*)
  15060. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  15061. + ;;
  15062. + *)
  15063. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  15064. + ;;
  15065. + esac
  15066. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  15067. +fi
  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. +
  15102. +# If no C compiler was specified, use CC.
  15103. +LTCC=${LTCC-"$CC"}
  15104. +
  15105. +# If no C compiler flags were specified, use CFLAGS.
  15106. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  15107. +
  15108. +# Allow CC to be a program name with arguments.
  15109. +compiler=$CC
  15110. +
  15111. +
  15112. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  15113. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  15114. +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  15115. +if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  15116. + $as_echo_n "(cached) " >&6
  15117. +else
  15118. +
  15119. +# These are sane defaults that work on at least a few old systems.
  15120. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  15121. +
  15122. +# Character class describing NM global symbol codes.
  15123. +symcode='[BCDEGRST]'
  15124. +
  15125. +# Regexp to match symbols that can be accessed directly from C.
  15126. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  15127. +
  15128. +# Define system-specific variables.
  15129. +case $host_os in
  15130. +aix*)
  15131. + symcode='[BCDT]'
  15132. + ;;
  15133. +cygwin* | mingw* | pw32* | cegcc*)
  15134. + symcode='[ABCDGISTW]'
  15135. + ;;
  15136. +hpux*)
  15137. + if test "$host_cpu" = ia64; then
  15138. + symcode='[ABCDEGRST]'
  15139. + fi
  15140. + ;;
  15141. +irix* | nonstopux*)
  15142. + symcode='[BCDEGRST]'
  15143. + ;;
  15144. +osf*)
  15145. + symcode='[BCDEGQRST]'
  15146. + ;;
  15147. +solaris*)
  15148. + symcode='[BDRT]'
  15149. + ;;
  15150. +sco3.2v5*)
  15151. + symcode='[DT]'
  15152. + ;;
  15153. +sysv4.2uw2*)
  15154. + symcode='[DT]'
  15155. + ;;
  15156. +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  15157. + symcode='[ABDT]'
  15158. + ;;
  15159. +sysv4)
  15160. + symcode='[DFNSTU]'
  15161. + ;;
  15162. +esac
  15163. +
  15164. +# If we're using GNU nm, then use its standard symbol codes.
  15165. +case `$NM -V 2>&1` in
  15166. +*GNU* | *'with BFD'*)
  15167. + symcode='[ABCDGIRSTW]' ;;
  15168. +esac
  15169. +
  15170. +# Transform an extracted symbol line into a proper C declaration.
  15171. +# Some systems (esp. on ia64) link data and code symbols differently,
  15172. +# so use this general approach.
  15173. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  15174. +
  15175. +# Transform an extracted symbol line into symbol name and symbol address
  15176. +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  15177. +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'"
  15178. +
  15179. +# Handle CRLF in mingw tool chain
  15180. +opt_cr=
  15181. +case $build_os in
  15182. +mingw*)
  15183. + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  15184. + ;;
  15185. +esac
  15186. +
  15187. +# Try without a prefix underscore, then with it.
  15188. +for ac_symprfx in "" "_"; do
  15189. +
  15190. + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  15191. + symxfrm="\\1 $ac_symprfx\\2 \\2"
  15192. +
  15193. + # Write the raw and C identifiers.
  15194. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  15195. + # Fake it for dumpbin and say T for any non-static function
  15196. + # and D for any global variable.
  15197. + # Also find C++ and __fastcall symbols from MSVC++,
  15198. + # which start with @ or ?.
  15199. + lt_cv_sys_global_symbol_pipe="$AWK '"\
  15200. +" {last_section=section; section=\$ 3};"\
  15201. +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  15202. +" \$ 0!~/External *\|/{next};"\
  15203. +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  15204. +" {if(hide[section]) next};"\
  15205. +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  15206. +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  15207. +" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  15208. +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  15209. +" ' prfx=^$ac_symprfx"
  15210. + else
  15211. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  15212. + fi
  15213. +
  15214. + # Check to see that the pipe works correctly.
  15215. + pipe_works=no
  15216. +
  15217. + rm -f conftest*
  15218. + cat > conftest.$ac_ext <<_LT_EOF
  15219. +#ifdef __cplusplus
  15220. +extern "C" {
  15221. +#endif
  15222. +char nm_test_var;
  15223. +void nm_test_func(void);
  15224. +void nm_test_func(void){}
  15225. +#ifdef __cplusplus
  15226. +}
  15227. +#endif
  15228. +int main(){nm_test_var='a';nm_test_func();return(0);}
  15229. +_LT_EOF
  15230. +
  15231. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  15232. + (eval $ac_compile) 2>&5
  15233. + ac_status=$?
  15234. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15235. + test $ac_status = 0; }; then
  15236. + # Now try to grab the symbols.
  15237. + nlist=conftest.nm
  15238. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
  15239. + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  15240. + ac_status=$?
  15241. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15242. + test $ac_status = 0; } && test -s "$nlist"; then
  15243. + # Try sorting and uniquifying the output.
  15244. + if sort "$nlist" | uniq > "$nlist"T; then
  15245. + mv -f "$nlist"T "$nlist"
  15246. + else
  15247. + rm -f "$nlist"T
  15248. + fi
  15249. +
  15250. + # Make sure that we snagged all the symbols we need.
  15251. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  15252. + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  15253. + cat <<_LT_EOF > conftest.$ac_ext
  15254. +#ifdef __cplusplus
  15255. +extern "C" {
  15256. +#endif
  15257. +
  15258. +_LT_EOF
  15259. + # Now generate the symbol file.
  15260. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  15261. +
  15262. + cat <<_LT_EOF >> conftest.$ac_ext
  15263. +
  15264. +/* The mapping between symbol names and symbols. */
  15265. +const struct {
  15266. + const char *name;
  15267. + void *address;
  15268. +}
  15269. +lt__PROGRAM__LTX_preloaded_symbols[] =
  15270. +{
  15271. + { "@PROGRAM@", (void *) 0 },
  15272. +_LT_EOF
  15273. + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  15274. + cat <<\_LT_EOF >> conftest.$ac_ext
  15275. + {0, (void *) 0}
  15276. +};
  15277. +
  15278. +/* This works around a problem in FreeBSD linker */
  15279. +#ifdef FREEBSD_WORKAROUND
  15280. +static const void *lt_preloaded_setup() {
  15281. + return lt__PROGRAM__LTX_preloaded_symbols;
  15282. +}
  15283. +#endif
  15284. +
  15285. +#ifdef __cplusplus
  15286. +}
  15287. +#endif
  15288. +_LT_EOF
  15289. + # Now try linking the two files.
  15290. + mv conftest.$ac_objext conftstm.$ac_objext
  15291. + lt_save_LIBS="$LIBS"
  15292. + lt_save_CFLAGS="$CFLAGS"
  15293. + LIBS="conftstm.$ac_objext"
  15294. + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  15295. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  15296. + (eval $ac_link) 2>&5
  15297. + ac_status=$?
  15298. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15299. + test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  15300. + pipe_works=yes
  15301. + fi
  15302. + LIBS="$lt_save_LIBS"
  15303. + CFLAGS="$lt_save_CFLAGS"
  15304. + else
  15305. + echo "cannot find nm_test_func in $nlist" >&5
  15306. + fi
  15307. + else
  15308. + echo "cannot find nm_test_var in $nlist" >&5
  15309. + fi
  15310. + else
  15311. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  15312. + fi
  15313. + else
  15314. + echo "$progname: failed program was:" >&5
  15315. + cat conftest.$ac_ext >&5
  15316. + fi
  15317. + rm -rf conftest* conftst*
  15318. +
  15319. + # Do not use the global_symbol_pipe unless it works.
  15320. + if test "$pipe_works" = yes; then
  15321. + break
  15322. + else
  15323. + lt_cv_sys_global_symbol_pipe=
  15324. + fi
  15325. +done
  15326. +
  15327. +fi
  15328. +
  15329. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  15330. + lt_cv_sys_global_symbol_to_cdecl=
  15331. +fi
  15332. +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  15333. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  15334. +$as_echo "failed" >&6; }
  15335. +else
  15336. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  15337. +$as_echo "ok" >&6; }
  15338. +fi
  15339. +
  15340. +
  15341. +
  15342. +
  15343. +
  15344. +
  15345. +
  15346. +
  15347. +
  15348. +
  15349. +
  15350. +
  15351. +
  15352. +
  15353. +
  15354. +
  15355. +
  15356. +
  15357. +
  15358. +
  15359. +
  15360. +
  15361. +
  15362. +@%:@ Check whether --enable-libtool-lock was given.
  15363. +if test "${enable_libtool_lock+set}" = set; then :
  15364. + enableval=$enable_libtool_lock;
  15365. +fi
  15366. +
  15367. +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  15368. +
  15369. +# Some flags need to be propagated to the compiler or linker for good
  15370. +# libtool support.
  15371. +case $host in
  15372. +ia64-*-hpux*)
  15373. + # Find out which ABI we are using.
  15374. + echo 'int i;' > conftest.$ac_ext
  15375. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  15376. + (eval $ac_compile) 2>&5
  15377. + ac_status=$?
  15378. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15379. + test $ac_status = 0; }; then
  15380. + case `/usr/bin/file conftest.$ac_objext` in
  15381. + *ELF-32*)
  15382. + HPUX_IA64_MODE="32"
  15383. + ;;
  15384. + *ELF-64*)
  15385. + HPUX_IA64_MODE="64"
  15386. + ;;
  15387. + esac
  15388. + fi
  15389. + rm -rf conftest*
  15390. + ;;
  15391. +*-*-irix6*)
  15392. + # Find out which ABI we are using.
  15393. + echo '#line __oline__ "configure"' > conftest.$ac_ext
  15394. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  15395. + (eval $ac_compile) 2>&5
  15396. + ac_status=$?
  15397. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15398. + test $ac_status = 0; }; then
  15399. + if test "$lt_cv_prog_gnu_ld" = yes; then
  15400. + case `/usr/bin/file conftest.$ac_objext` in
  15401. + *32-bit*)
  15402. + LD="${LD-ld} -melf32bsmip"
  15403. + ;;
  15404. + *N32*)
  15405. + LD="${LD-ld} -melf32bmipn32"
  15406. + ;;
  15407. + *64-bit*)
  15408. + LD="${LD-ld} -melf64bmip"
  15409. + ;;
  15410. + esac
  15411. + else
  15412. + case `/usr/bin/file conftest.$ac_objext` in
  15413. + *32-bit*)
  15414. + LD="${LD-ld} -32"
  15415. + ;;
  15416. + *N32*)
  15417. + LD="${LD-ld} -n32"
  15418. + ;;
  15419. + *64-bit*)
  15420. + LD="${LD-ld} -64"
  15421. + ;;
  15422. + esac
  15423. + fi
  15424. + fi
  15425. + rm -rf conftest*
  15426. + ;;
  15427. +
  15428. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  15429. +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  15430. + # Find out which ABI we are using.
  15431. + echo 'int i;' > conftest.$ac_ext
  15432. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  15433. + (eval $ac_compile) 2>&5
  15434. + ac_status=$?
  15435. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15436. + test $ac_status = 0; }; then
  15437. + case `/usr/bin/file conftest.o` in
  15438. + *32-bit*)
  15439. + case $host in
  15440. + x86_64-*kfreebsd*-gnu)
  15441. + LD="${LD-ld} -m elf_i386_fbsd"
  15442. + ;;
  15443. + x86_64-*linux*)
  15444. + LD="${LD-ld} -m elf_i386"
  15445. + ;;
  15446. + ppc64-*linux*|powerpc64-*linux*)
  15447. + LD="${LD-ld} -m elf32ppclinux"
  15448. + ;;
  15449. + s390x-*linux*)
  15450. + LD="${LD-ld} -m elf_s390"
  15451. + ;;
  15452. + sparc64-*linux*)
  15453. + LD="${LD-ld} -m elf32_sparc"
  15454. + ;;
  15455. + esac
  15456. + ;;
  15457. + *64-bit*)
  15458. + case $host in
  15459. + x86_64-*kfreebsd*-gnu)
  15460. + LD="${LD-ld} -m elf_x86_64_fbsd"
  15461. + ;;
  15462. + x86_64-*linux*)
  15463. + LD="${LD-ld} -m elf_x86_64"
  15464. + ;;
  15465. + ppc*-*linux*|powerpc*-*linux*)
  15466. + LD="${LD-ld} -m elf64ppc"
  15467. + ;;
  15468. + s390*-*linux*|s390*-*tpf*)
  15469. + LD="${LD-ld} -m elf64_s390"
  15470. + ;;
  15471. + sparc*-*linux*)
  15472. + LD="${LD-ld} -m elf64_sparc"
  15473. + ;;
  15474. + esac
  15475. + ;;
  15476. + esac
  15477. + fi
  15478. + rm -rf conftest*
  15479. + ;;
  15480. +
  15481. +*-*-sco3.2v5*)
  15482. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  15483. + SAVE_CFLAGS="$CFLAGS"
  15484. + CFLAGS="$CFLAGS -belf"
  15485. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  15486. +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  15487. +if ${lt_cv_cc_needs_belf+:} false; then :
  15488. + $as_echo_n "(cached) " >&6
  15489. +else
  15490. + ac_ext=c
  15491. +ac_cpp='$CPP $CPPFLAGS'
  15492. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15493. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15494. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15495. +
  15496. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15497. +/* end confdefs.h. */
  15498. +
  15499. +int
  15500. +main ()
  15501. +{
  15502. +
  15503. + ;
  15504. + return 0;
  15505. +}
  15506. +_ACEOF
  15507. +if ac_fn_c_try_link "$LINENO"; then :
  15508. + lt_cv_cc_needs_belf=yes
  15509. +else
  15510. + lt_cv_cc_needs_belf=no
  15511. +fi
  15512. +rm -f core conftest.err conftest.$ac_objext \
  15513. + conftest$ac_exeext conftest.$ac_ext
  15514. + ac_ext=c
  15515. +ac_cpp='$CPP $CPPFLAGS'
  15516. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15517. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15518. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15519. +
  15520. +fi
  15521. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  15522. +$as_echo "$lt_cv_cc_needs_belf" >&6; }
  15523. + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  15524. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  15525. + CFLAGS="$SAVE_CFLAGS"
  15526. + fi
  15527. + ;;
  15528. +sparc*-*solaris*)
  15529. + # Find out which ABI we are using.
  15530. + echo 'int i;' > conftest.$ac_ext
  15531. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  15532. + (eval $ac_compile) 2>&5
  15533. + ac_status=$?
  15534. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15535. + test $ac_status = 0; }; then
  15536. + case `/usr/bin/file conftest.o` in
  15537. + *64-bit*)
  15538. + case $lt_cv_prog_gnu_ld in
  15539. + yes*) LD="${LD-ld} -m elf64_sparc" ;;
  15540. + *)
  15541. + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  15542. + LD="${LD-ld} -64"
  15543. + fi
  15544. + ;;
  15545. + esac
  15546. + ;;
  15547. + esac
  15548. + fi
  15549. + rm -rf conftest*
  15550. + ;;
  15551. +esac
  15552. +
  15553. +need_locks="$enable_libtool_lock"
  15554. +
  15555. +
  15556. + case $host_os in
  15557. + rhapsody* | darwin*)
  15558. + if test -n "$ac_tool_prefix"; then
  15559. + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  15560. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  15561. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15562. +$as_echo_n "checking for $ac_word... " >&6; }
  15563. +if ${ac_cv_prog_DSYMUTIL+:} false; then :
  15564. + $as_echo_n "(cached) " >&6
  15565. +else
  15566. + if test -n "$DSYMUTIL"; then
  15567. + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  15568. +else
  15569. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15570. +for as_dir in $PATH
  15571. +do
  15572. + IFS=$as_save_IFS
  15573. + test -z "$as_dir" && as_dir=.
  15574. + for ac_exec_ext in '' $ac_executable_extensions; do
  15575. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15576. + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  15577. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15578. + break 2
  15579. + fi
  15580. +done
  15581. + done
  15582. +IFS=$as_save_IFS
  15583. +
  15584. +fi
  15585. +fi
  15586. +DSYMUTIL=$ac_cv_prog_DSYMUTIL
  15587. +if test -n "$DSYMUTIL"; then
  15588. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  15589. +$as_echo "$DSYMUTIL" >&6; }
  15590. +else
  15591. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15592. +$as_echo "no" >&6; }
  15593. +fi
  15594. +
  15595. +
  15596. +fi
  15597. +if test -z "$ac_cv_prog_DSYMUTIL"; then
  15598. + ac_ct_DSYMUTIL=$DSYMUTIL
  15599. + # Extract the first word of "dsymutil", so it can be a program name with args.
  15600. +set dummy dsymutil; ac_word=$2
  15601. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15602. +$as_echo_n "checking for $ac_word... " >&6; }
  15603. +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  15604. + $as_echo_n "(cached) " >&6
  15605. +else
  15606. + if test -n "$ac_ct_DSYMUTIL"; then
  15607. + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  15608. +else
  15609. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15610. +for as_dir in $PATH
  15611. +do
  15612. + IFS=$as_save_IFS
  15613. + test -z "$as_dir" && as_dir=.
  15614. + for ac_exec_ext in '' $ac_executable_extensions; do
  15615. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15616. + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  15617. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15618. + break 2
  15619. + fi
  15620. +done
  15621. + done
  15622. +IFS=$as_save_IFS
  15623. +
  15624. +fi
  15625. +fi
  15626. +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  15627. +if test -n "$ac_ct_DSYMUTIL"; then
  15628. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  15629. +$as_echo "$ac_ct_DSYMUTIL" >&6; }
  15630. +else
  15631. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15632. +$as_echo "no" >&6; }
  15633. +fi
  15634. +
  15635. + if test "x$ac_ct_DSYMUTIL" = x; then
  15636. + DSYMUTIL=":"
  15637. + else
  15638. + case $cross_compiling:$ac_tool_warned in
  15639. +yes:)
  15640. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  15641. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  15642. +ac_tool_warned=yes ;;
  15643. +esac
  15644. + DSYMUTIL=$ac_ct_DSYMUTIL
  15645. + fi
  15646. +else
  15647. + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  15648. +fi
  15649. +
  15650. + if test -n "$ac_tool_prefix"; then
  15651. + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  15652. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  15653. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15654. +$as_echo_n "checking for $ac_word... " >&6; }
  15655. +if ${ac_cv_prog_NMEDIT+:} false; then :
  15656. + $as_echo_n "(cached) " >&6
  15657. +else
  15658. + if test -n "$NMEDIT"; then
  15659. + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  15660. +else
  15661. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15662. +for as_dir in $PATH
  15663. +do
  15664. + IFS=$as_save_IFS
  15665. + test -z "$as_dir" && as_dir=.
  15666. + for ac_exec_ext in '' $ac_executable_extensions; do
  15667. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15668. + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  15669. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15670. + break 2
  15671. + fi
  15672. +done
  15673. + done
  15674. +IFS=$as_save_IFS
  15675. +
  15676. +fi
  15677. +fi
  15678. +NMEDIT=$ac_cv_prog_NMEDIT
  15679. +if test -n "$NMEDIT"; then
  15680. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  15681. +$as_echo "$NMEDIT" >&6; }
  15682. +else
  15683. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15684. +$as_echo "no" >&6; }
  15685. +fi
  15686. +
  15687. +
  15688. +fi
  15689. +if test -z "$ac_cv_prog_NMEDIT"; then
  15690. + ac_ct_NMEDIT=$NMEDIT
  15691. + # Extract the first word of "nmedit", so it can be a program name with args.
  15692. +set dummy nmedit; ac_word=$2
  15693. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15694. +$as_echo_n "checking for $ac_word... " >&6; }
  15695. +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  15696. + $as_echo_n "(cached) " >&6
  15697. +else
  15698. + if test -n "$ac_ct_NMEDIT"; then
  15699. + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  15700. +else
  15701. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15702. +for as_dir in $PATH
  15703. +do
  15704. + IFS=$as_save_IFS
  15705. + test -z "$as_dir" && as_dir=.
  15706. + for ac_exec_ext in '' $ac_executable_extensions; do
  15707. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15708. + ac_cv_prog_ac_ct_NMEDIT="nmedit"
  15709. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15710. + break 2
  15711. + fi
  15712. +done
  15713. + done
  15714. +IFS=$as_save_IFS
  15715. +
  15716. +fi
  15717. +fi
  15718. +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  15719. +if test -n "$ac_ct_NMEDIT"; then
  15720. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  15721. +$as_echo "$ac_ct_NMEDIT" >&6; }
  15722. +else
  15723. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15724. +$as_echo "no" >&6; }
  15725. +fi
  15726. +
  15727. + if test "x$ac_ct_NMEDIT" = x; then
  15728. + NMEDIT=":"
  15729. + else
  15730. + case $cross_compiling:$ac_tool_warned in
  15731. +yes:)
  15732. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  15733. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  15734. +ac_tool_warned=yes ;;
  15735. +esac
  15736. + NMEDIT=$ac_ct_NMEDIT
  15737. + fi
  15738. +else
  15739. + NMEDIT="$ac_cv_prog_NMEDIT"
  15740. +fi
  15741. +
  15742. + if test -n "$ac_tool_prefix"; then
  15743. + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  15744. +set dummy ${ac_tool_prefix}lipo; ac_word=$2
  15745. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15746. +$as_echo_n "checking for $ac_word... " >&6; }
  15747. +if ${ac_cv_prog_LIPO+:} false; then :
  15748. + $as_echo_n "(cached) " >&6
  15749. +else
  15750. + if test -n "$LIPO"; then
  15751. + ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  15752. +else
  15753. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15754. +for as_dir in $PATH
  15755. +do
  15756. + IFS=$as_save_IFS
  15757. + test -z "$as_dir" && as_dir=.
  15758. + for ac_exec_ext in '' $ac_executable_extensions; do
  15759. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15760. + ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  15761. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15762. + break 2
  15763. + fi
  15764. +done
  15765. + done
  15766. +IFS=$as_save_IFS
  15767. +
  15768. +fi
  15769. +fi
  15770. +LIPO=$ac_cv_prog_LIPO
  15771. +if test -n "$LIPO"; then
  15772. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  15773. +$as_echo "$LIPO" >&6; }
  15774. +else
  15775. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15776. +$as_echo "no" >&6; }
  15777. +fi
  15778. +
  15779. +
  15780. +fi
  15781. +if test -z "$ac_cv_prog_LIPO"; then
  15782. + ac_ct_LIPO=$LIPO
  15783. + # Extract the first word of "lipo", so it can be a program name with args.
  15784. +set dummy lipo; ac_word=$2
  15785. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15786. +$as_echo_n "checking for $ac_word... " >&6; }
  15787. +if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  15788. + $as_echo_n "(cached) " >&6
  15789. +else
  15790. + if test -n "$ac_ct_LIPO"; then
  15791. + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  15792. +else
  15793. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15794. +for as_dir in $PATH
  15795. +do
  15796. + IFS=$as_save_IFS
  15797. + test -z "$as_dir" && as_dir=.
  15798. + for ac_exec_ext in '' $ac_executable_extensions; do
  15799. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15800. + ac_cv_prog_ac_ct_LIPO="lipo"
  15801. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15802. + break 2
  15803. + fi
  15804. +done
  15805. + done
  15806. +IFS=$as_save_IFS
  15807. +
  15808. +fi
  15809. +fi
  15810. +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  15811. +if test -n "$ac_ct_LIPO"; then
  15812. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  15813. +$as_echo "$ac_ct_LIPO" >&6; }
  15814. +else
  15815. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15816. +$as_echo "no" >&6; }
  15817. +fi
  15818. +
  15819. + if test "x$ac_ct_LIPO" = x; then
  15820. + LIPO=":"
  15821. + else
  15822. + case $cross_compiling:$ac_tool_warned in
  15823. +yes:)
  15824. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  15825. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  15826. +ac_tool_warned=yes ;;
  15827. +esac
  15828. + LIPO=$ac_ct_LIPO
  15829. + fi
  15830. +else
  15831. + LIPO="$ac_cv_prog_LIPO"
  15832. +fi
  15833. +
  15834. + if test -n "$ac_tool_prefix"; then
  15835. + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  15836. +set dummy ${ac_tool_prefix}otool; ac_word=$2
  15837. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15838. +$as_echo_n "checking for $ac_word... " >&6; }
  15839. +if ${ac_cv_prog_OTOOL+:} false; then :
  15840. + $as_echo_n "(cached) " >&6
  15841. +else
  15842. + if test -n "$OTOOL"; then
  15843. + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  15844. +else
  15845. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15846. +for as_dir in $PATH
  15847. +do
  15848. + IFS=$as_save_IFS
  15849. + test -z "$as_dir" && as_dir=.
  15850. + for ac_exec_ext in '' $ac_executable_extensions; do
  15851. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15852. + ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  15853. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15854. + break 2
  15855. + fi
  15856. +done
  15857. + done
  15858. +IFS=$as_save_IFS
  15859. +
  15860. +fi
  15861. +fi
  15862. +OTOOL=$ac_cv_prog_OTOOL
  15863. +if test -n "$OTOOL"; then
  15864. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  15865. +$as_echo "$OTOOL" >&6; }
  15866. +else
  15867. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15868. +$as_echo "no" >&6; }
  15869. +fi
  15870. +
  15871. +
  15872. +fi
  15873. +if test -z "$ac_cv_prog_OTOOL"; then
  15874. + ac_ct_OTOOL=$OTOOL
  15875. + # Extract the first word of "otool", so it can be a program name with args.
  15876. +set dummy otool; ac_word=$2
  15877. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15878. +$as_echo_n "checking for $ac_word... " >&6; }
  15879. +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  15880. + $as_echo_n "(cached) " >&6
  15881. +else
  15882. + if test -n "$ac_ct_OTOOL"; then
  15883. + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  15884. +else
  15885. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15886. +for as_dir in $PATH
  15887. +do
  15888. + IFS=$as_save_IFS
  15889. + test -z "$as_dir" && as_dir=.
  15890. + for ac_exec_ext in '' $ac_executable_extensions; do
  15891. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15892. + ac_cv_prog_ac_ct_OTOOL="otool"
  15893. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15894. + break 2
  15895. + fi
  15896. +done
  15897. + done
  15898. +IFS=$as_save_IFS
  15899. +
  15900. +fi
  15901. +fi
  15902. +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  15903. +if test -n "$ac_ct_OTOOL"; then
  15904. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  15905. +$as_echo "$ac_ct_OTOOL" >&6; }
  15906. +else
  15907. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15908. +$as_echo "no" >&6; }
  15909. +fi
  15910. +
  15911. + if test "x$ac_ct_OTOOL" = x; then
  15912. + OTOOL=":"
  15913. + else
  15914. + case $cross_compiling:$ac_tool_warned in
  15915. +yes:)
  15916. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  15917. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  15918. +ac_tool_warned=yes ;;
  15919. +esac
  15920. + OTOOL=$ac_ct_OTOOL
  15921. + fi
  15922. +else
  15923. + OTOOL="$ac_cv_prog_OTOOL"
  15924. +fi
  15925. +
  15926. + if test -n "$ac_tool_prefix"; then
  15927. + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  15928. +set dummy ${ac_tool_prefix}otool64; ac_word=$2
  15929. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15930. +$as_echo_n "checking for $ac_word... " >&6; }
  15931. +if ${ac_cv_prog_OTOOL64+:} false; then :
  15932. + $as_echo_n "(cached) " >&6
  15933. +else
  15934. + if test -n "$OTOOL64"; then
  15935. + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  15936. +else
  15937. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15938. +for as_dir in $PATH
  15939. +do
  15940. + IFS=$as_save_IFS
  15941. + test -z "$as_dir" && as_dir=.
  15942. + for ac_exec_ext in '' $ac_executable_extensions; do
  15943. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15944. + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  15945. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15946. + break 2
  15947. + fi
  15948. +done
  15949. + done
  15950. +IFS=$as_save_IFS
  15951. +
  15952. +fi
  15953. +fi
  15954. +OTOOL64=$ac_cv_prog_OTOOL64
  15955. +if test -n "$OTOOL64"; then
  15956. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  15957. +$as_echo "$OTOOL64" >&6; }
  15958. +else
  15959. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15960. +$as_echo "no" >&6; }
  15961. +fi
  15962. +
  15963. +
  15964. +fi
  15965. +if test -z "$ac_cv_prog_OTOOL64"; then
  15966. + ac_ct_OTOOL64=$OTOOL64
  15967. + # Extract the first word of "otool64", so it can be a program name with args.
  15968. +set dummy otool64; ac_word=$2
  15969. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15970. +$as_echo_n "checking for $ac_word... " >&6; }
  15971. +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  15972. + $as_echo_n "(cached) " >&6
  15973. +else
  15974. + if test -n "$ac_ct_OTOOL64"; then
  15975. + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  15976. +else
  15977. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15978. +for as_dir in $PATH
  15979. +do
  15980. + IFS=$as_save_IFS
  15981. + test -z "$as_dir" && as_dir=.
  15982. + for ac_exec_ext in '' $ac_executable_extensions; do
  15983. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15984. + ac_cv_prog_ac_ct_OTOOL64="otool64"
  15985. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15986. + break 2
  15987. + fi
  15988. +done
  15989. + done
  15990. +IFS=$as_save_IFS
  15991. +
  15992. +fi
  15993. +fi
  15994. +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  15995. +if test -n "$ac_ct_OTOOL64"; then
  15996. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  15997. +$as_echo "$ac_ct_OTOOL64" >&6; }
  15998. +else
  15999. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16000. +$as_echo "no" >&6; }
  16001. +fi
  16002. +
  16003. + if test "x$ac_ct_OTOOL64" = x; then
  16004. + OTOOL64=":"
  16005. + else
  16006. + case $cross_compiling:$ac_tool_warned in
  16007. +yes:)
  16008. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  16009. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  16010. +ac_tool_warned=yes ;;
  16011. +esac
  16012. + OTOOL64=$ac_ct_OTOOL64
  16013. + fi
  16014. +else
  16015. + OTOOL64="$ac_cv_prog_OTOOL64"
  16016. +fi
  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. +
  16044. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  16045. +$as_echo_n "checking for -single_module linker flag... " >&6; }
  16046. +if ${lt_cv_apple_cc_single_mod+:} false; then :
  16047. + $as_echo_n "(cached) " >&6
  16048. +else
  16049. + lt_cv_apple_cc_single_mod=no
  16050. + if test -z "${LT_MULTI_MODULE}"; then
  16051. + # By default we will add the -single_module flag. You can override
  16052. + # by either setting the environment variable LT_MULTI_MODULE
  16053. + # non-empty at configure time, or by adding -multi_module to the
  16054. + # link flags.
  16055. + rm -rf libconftest.dylib*
  16056. + echo "int foo(void){return 1;}" > conftest.c
  16057. + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  16058. +-dynamiclib -Wl,-single_module conftest.c" >&5
  16059. + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  16060. + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  16061. + _lt_result=$?
  16062. + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  16063. + lt_cv_apple_cc_single_mod=yes
  16064. + else
  16065. + cat conftest.err >&5
  16066. + fi
  16067. + rm -rf libconftest.dylib*
  16068. + rm -f conftest.*
  16069. + fi
  16070. +fi
  16071. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  16072. +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  16073. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  16074. +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  16075. +if ${lt_cv_ld_exported_symbols_list+:} false; then :
  16076. + $as_echo_n "(cached) " >&6
  16077. +else
  16078. + lt_cv_ld_exported_symbols_list=no
  16079. + save_LDFLAGS=$LDFLAGS
  16080. + echo "_main" > conftest.sym
  16081. + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  16082. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16083. +/* end confdefs.h. */
  16084. +
  16085. +int
  16086. +main ()
  16087. +{
  16088. +
  16089. + ;
  16090. + return 0;
  16091. +}
  16092. +_ACEOF
  16093. +if ac_fn_c_try_link "$LINENO"; then :
  16094. + lt_cv_ld_exported_symbols_list=yes
  16095. +else
  16096. + lt_cv_ld_exported_symbols_list=no
  16097. +fi
  16098. +rm -f core conftest.err conftest.$ac_objext \
  16099. + conftest$ac_exeext conftest.$ac_ext
  16100. + LDFLAGS="$save_LDFLAGS"
  16101. +
  16102. +fi
  16103. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  16104. +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  16105. + case $host_os in
  16106. + rhapsody* | darwin1.[012])
  16107. + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  16108. + darwin1.*)
  16109. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  16110. + darwin*) # darwin 5.x on
  16111. + # if running on 10.5 or later, the deployment target defaults
  16112. + # to the OS version, if on x86, and 10.4, the deployment
  16113. + # target defaults to 10.4. Don't you love it?
  16114. + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  16115. + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  16116. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  16117. + 10.[012]*)
  16118. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  16119. + 10.*)
  16120. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  16121. + esac
  16122. + ;;
  16123. + esac
  16124. + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  16125. + _lt_dar_single_mod='$single_module'
  16126. + fi
  16127. + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  16128. + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  16129. + else
  16130. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  16131. + fi
  16132. + if test "$DSYMUTIL" != ":"; then
  16133. + _lt_dsymutil='~$DSYMUTIL $lib || :'
  16134. + else
  16135. + _lt_dsymutil=
  16136. + fi
  16137. + ;;
  16138. + esac
  16139. +
  16140. +ac_ext=c
  16141. +ac_cpp='$CPP $CPPFLAGS'
  16142. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16143. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16144. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  16145. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  16146. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  16147. +# On Suns, sometimes $CPP names a directory.
  16148. +if test -n "$CPP" && test -d "$CPP"; then
  16149. + CPP=
  16150. +fi
  16151. +if test -z "$CPP"; then
  16152. + if ${ac_cv_prog_CPP+:} false; then :
  16153. + $as_echo_n "(cached) " >&6
  16154. +else
  16155. + # Double quotes because CPP needs to be expanded
  16156. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  16157. + do
  16158. + ac_preproc_ok=false
  16159. +for ac_c_preproc_warn_flag in '' yes
  16160. +do
  16161. + # Use a header file that comes with gcc, so configuring glibc
  16162. + # with a fresh cross-compiler works.
  16163. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16164. + # <limits.h> exists even on freestanding compilers.
  16165. + # On the NeXT, cc -E runs the code through the compiler's parser,
  16166. + # not just through cpp. "Syntax error" is here to catch this case.
  16167. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16168. +/* end confdefs.h. */
  16169. +@%:@ifdef __STDC__
  16170. +@%:@ include <limits.h>
  16171. +@%:@else
  16172. +@%:@ include <assert.h>
  16173. +@%:@endif
  16174. + Syntax error
  16175. +_ACEOF
  16176. +if ac_fn_c_try_cpp "$LINENO"; then :
  16177. +
  16178. +else
  16179. + # Broken: fails on valid input.
  16180. +continue
  16181. +fi
  16182. +rm -f conftest.err conftest.i conftest.$ac_ext
  16183. +
  16184. + # OK, works on sane cases. Now check whether nonexistent headers
  16185. + # can be detected and how.
  16186. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16187. +/* end confdefs.h. */
  16188. +@%:@include <ac_nonexistent.h>
  16189. +_ACEOF
  16190. +if ac_fn_c_try_cpp "$LINENO"; then :
  16191. + # Broken: success on invalid input.
  16192. +continue
  16193. +else
  16194. + # Passes both tests.
  16195. +ac_preproc_ok=:
  16196. +break
  16197. +fi
  16198. +rm -f conftest.err conftest.i conftest.$ac_ext
  16199. +
  16200. +done
  16201. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  16202. +rm -f conftest.i conftest.err conftest.$ac_ext
  16203. +if $ac_preproc_ok; then :
  16204. + break
  16205. +fi
  16206. +
  16207. + done
  16208. + ac_cv_prog_CPP=$CPP
  16209. +
  16210. +fi
  16211. + CPP=$ac_cv_prog_CPP
  16212. +else
  16213. + ac_cv_prog_CPP=$CPP
  16214. +fi
  16215. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  16216. +$as_echo "$CPP" >&6; }
  16217. +ac_preproc_ok=false
  16218. +for ac_c_preproc_warn_flag in '' yes
  16219. +do
  16220. + # Use a header file that comes with gcc, so configuring glibc
  16221. + # with a fresh cross-compiler works.
  16222. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16223. + # <limits.h> exists even on freestanding compilers.
  16224. + # On the NeXT, cc -E runs the code through the compiler's parser,
  16225. + # not just through cpp. "Syntax error" is here to catch this case.
  16226. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16227. +/* end confdefs.h. */
  16228. +@%:@ifdef __STDC__
  16229. +@%:@ include <limits.h>
  16230. +@%:@else
  16231. +@%:@ include <assert.h>
  16232. +@%:@endif
  16233. + Syntax error
  16234. +_ACEOF
  16235. +if ac_fn_c_try_cpp "$LINENO"; then :
  16236. +
  16237. +else
  16238. + # Broken: fails on valid input.
  16239. +continue
  16240. +fi
  16241. +rm -f conftest.err conftest.i conftest.$ac_ext
  16242. +
  16243. + # OK, works on sane cases. Now check whether nonexistent headers
  16244. + # can be detected and how.
  16245. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16246. +/* end confdefs.h. */
  16247. +@%:@include <ac_nonexistent.h>
  16248. +_ACEOF
  16249. +if ac_fn_c_try_cpp "$LINENO"; then :
  16250. + # Broken: success on invalid input.
  16251. +continue
  16252. +else
  16253. + # Passes both tests.
  16254. +ac_preproc_ok=:
  16255. +break
  16256. +fi
  16257. +rm -f conftest.err conftest.i conftest.$ac_ext
  16258. +
  16259. +done
  16260. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  16261. +rm -f conftest.i conftest.err conftest.$ac_ext
  16262. +if $ac_preproc_ok; then :
  16263. +
  16264. +else
  16265. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  16266. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  16267. +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  16268. +See \`config.log' for more details" "$LINENO" 5; }
  16269. +fi
  16270. +
  16271. +ac_ext=c
  16272. +ac_cpp='$CPP $CPPFLAGS'
  16273. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16274. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16275. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  16276. +
  16277. +
  16278. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  16279. +$as_echo_n "checking for ANSI C header files... " >&6; }
  16280. +if ${ac_cv_header_stdc+:} false; then :
  16281. + $as_echo_n "(cached) " >&6
  16282. +else
  16283. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16284. +/* end confdefs.h. */
  16285. +#include <stdlib.h>
  16286. +#include <stdarg.h>
  16287. +#include <string.h>
  16288. +#include <float.h>
  16289. +
  16290. +int
  16291. +main ()
  16292. +{
  16293. +
  16294. + ;
  16295. + return 0;
  16296. +}
  16297. +_ACEOF
  16298. +if ac_fn_c_try_compile "$LINENO"; then :
  16299. + ac_cv_header_stdc=yes
  16300. +else
  16301. + ac_cv_header_stdc=no
  16302. +fi
  16303. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16304. +
  16305. +if test $ac_cv_header_stdc = yes; then
  16306. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  16307. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16308. +/* end confdefs.h. */
  16309. +#include <string.h>
  16310. +
  16311. +_ACEOF
  16312. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  16313. + $EGREP "memchr" >/dev/null 2>&1; then :
  16314. +
  16315. +else
  16316. + ac_cv_header_stdc=no
  16317. +fi
  16318. +rm -f conftest*
  16319. +
  16320. +fi
  16321. +
  16322. +if test $ac_cv_header_stdc = yes; then
  16323. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  16324. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16325. +/* end confdefs.h. */
  16326. +#include <stdlib.h>
  16327. +
  16328. +_ACEOF
  16329. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  16330. + $EGREP "free" >/dev/null 2>&1; then :
  16331. +
  16332. +else
  16333. + ac_cv_header_stdc=no
  16334. +fi
  16335. +rm -f conftest*
  16336. +
  16337. +fi
  16338. +
  16339. +if test $ac_cv_header_stdc = yes; then
  16340. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  16341. + if test "$cross_compiling" = yes; then :
  16342. + :
  16343. +else
  16344. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16345. +/* end confdefs.h. */
  16346. +#include <ctype.h>
  16347. +#include <stdlib.h>
  16348. +#if ((' ' & 0x0FF) == 0x020)
  16349. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  16350. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  16351. +#else
  16352. +# define ISLOWER(c) \
  16353. + (('a' <= (c) && (c) <= 'i') \
  16354. + || ('j' <= (c) && (c) <= 'r') \
  16355. + || ('s' <= (c) && (c) <= 'z'))
  16356. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  16357. +#endif
  16358. +
  16359. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  16360. +int
  16361. +main ()
  16362. +{
  16363. + int i;
  16364. + for (i = 0; i < 256; i++)
  16365. + if (XOR (islower (i), ISLOWER (i))
  16366. + || toupper (i) != TOUPPER (i))
  16367. + return 2;
  16368. + return 0;
  16369. +}
  16370. +_ACEOF
  16371. +if ac_fn_c_try_run "$LINENO"; then :
  16372. +
  16373. +else
  16374. + ac_cv_header_stdc=no
  16375. +fi
  16376. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16377. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  16378. +fi
  16379. +
  16380. +fi
  16381. +fi
  16382. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  16383. +$as_echo "$ac_cv_header_stdc" >&6; }
  16384. +if test $ac_cv_header_stdc = yes; then
  16385. +
  16386. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  16387. +
  16388. +fi
  16389. +
  16390. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  16391. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  16392. + inttypes.h stdint.h unistd.h
  16393. +do :
  16394. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  16395. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  16396. +"
  16397. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  16398. + cat >>confdefs.h <<_ACEOF
  16399. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  16400. +_ACEOF
  16401. +
  16402. +fi
  16403. +
  16404. +done
  16405. +
  16406. +
  16407. +for ac_header in dlfcn.h
  16408. +do :
  16409. + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  16410. +"
  16411. +if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  16412. + cat >>confdefs.h <<_ACEOF
  16413. +@%:@define HAVE_DLFCN_H 1
  16414. +_ACEOF
  16415. +
  16416. +fi
  16417. +
  16418. +done
  16419. +
  16420. +
  16421. +
  16422. +# Set options
  16423. +
  16424. +
  16425. +
  16426. + enable_dlopen=no
  16427. +
  16428. +
  16429. + enable_win32_dll=no
  16430. +
  16431. +
  16432. + @%:@ Check whether --enable-shared was given.
  16433. +if test "${enable_shared+set}" = set; then :
  16434. + enableval=$enable_shared; p=${PACKAGE-default}
  16435. + case $enableval in
  16436. + yes) enable_shared=yes ;;
  16437. + no) enable_shared=no ;;
  16438. + *)
  16439. + enable_shared=no
  16440. + # Look at the argument we got. We use all the common list separators.
  16441. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  16442. + for pkg in $enableval; do
  16443. + IFS="$lt_save_ifs"
  16444. + if test "X$pkg" = "X$p"; then
  16445. + enable_shared=yes
  16446. + fi
  16447. + done
  16448. + IFS="$lt_save_ifs"
  16449. + ;;
  16450. + esac
  16451. +else
  16452. + enable_shared=yes
  16453. +fi
  16454. +
  16455. +
  16456. +
  16457. +
  16458. +
  16459. +
  16460. +
  16461. +
  16462. +
  16463. + @%:@ Check whether --enable-static was given.
  16464. +if test "${enable_static+set}" = set; then :
  16465. + enableval=$enable_static; p=${PACKAGE-default}
  16466. + case $enableval in
  16467. + yes) enable_static=yes ;;
  16468. + no) enable_static=no ;;
  16469. + *)
  16470. + enable_static=no
  16471. + # Look at the argument we got. We use all the common list separators.
  16472. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  16473. + for pkg in $enableval; do
  16474. + IFS="$lt_save_ifs"
  16475. + if test "X$pkg" = "X$p"; then
  16476. + enable_static=yes
  16477. + fi
  16478. + done
  16479. + IFS="$lt_save_ifs"
  16480. + ;;
  16481. + esac
  16482. +else
  16483. + enable_static=yes
  16484. +fi
  16485. +
  16486. +
  16487. +
  16488. +
  16489. +
  16490. +
  16491. +
  16492. +
  16493. +
  16494. +
  16495. +@%:@ Check whether --with-pic was given.
  16496. +if test "${with_pic+set}" = set; then :
  16497. + withval=$with_pic; pic_mode="$withval"
  16498. +else
  16499. + pic_mode=default
  16500. +fi
  16501. +
  16502. +
  16503. +test -z "$pic_mode" && pic_mode=default
  16504. +
  16505. +
  16506. +
  16507. +
  16508. +
  16509. +
  16510. +
  16511. + @%:@ Check whether --enable-fast-install was given.
  16512. +if test "${enable_fast_install+set}" = set; then :
  16513. + enableval=$enable_fast_install; p=${PACKAGE-default}
  16514. + case $enableval in
  16515. + yes) enable_fast_install=yes ;;
  16516. + no) enable_fast_install=no ;;
  16517. + *)
  16518. + enable_fast_install=no
  16519. + # Look at the argument we got. We use all the common list separators.
  16520. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  16521. + for pkg in $enableval; do
  16522. + IFS="$lt_save_ifs"
  16523. + if test "X$pkg" = "X$p"; then
  16524. + enable_fast_install=yes
  16525. + fi
  16526. + done
  16527. + IFS="$lt_save_ifs"
  16528. + ;;
  16529. + esac
  16530. +else
  16531. + enable_fast_install=yes
  16532. +fi
  16533. +
  16534. +
  16535. +
  16536. +
  16537. +
  16538. +
  16539. +
  16540. +
  16541. +
  16542. +
  16543. +
  16544. +# This can be used to rebuild libtool when needed
  16545. +LIBTOOL_DEPS="$ltmain"
  16546. +
  16547. +# Always use our own libtool.
  16548. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  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. +
  16574. +test -z "$LN_S" && LN_S="ln -s"
  16575. +
  16576. +
  16577. +
  16578. +
  16579. +
  16580. +
  16581. +
  16582. +
  16583. +
  16584. +
  16585. +
  16586. +
  16587. +
  16588. +
  16589. +if test -n "${ZSH_VERSION+set}" ; then
  16590. + setopt NO_GLOB_SUBST
  16591. +fi
  16592. +
  16593. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  16594. +$as_echo_n "checking for objdir... " >&6; }
  16595. +if ${lt_cv_objdir+:} false; then :
  16596. + $as_echo_n "(cached) " >&6
  16597. +else
  16598. + rm -f .libs 2>/dev/null
  16599. +mkdir .libs 2>/dev/null
  16600. +if test -d .libs; then
  16601. + lt_cv_objdir=.libs
  16602. +else
  16603. + # MS-DOS does not allow filenames that begin with a dot.
  16604. + lt_cv_objdir=_libs
  16605. +fi
  16606. +rmdir .libs 2>/dev/null
  16607. +fi
  16608. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  16609. +$as_echo "$lt_cv_objdir" >&6; }
  16610. +objdir=$lt_cv_objdir
  16611. +
  16612. +
  16613. +
  16614. +
  16615. +
  16616. +cat >>confdefs.h <<_ACEOF
  16617. +@%:@define LT_OBJDIR "$lt_cv_objdir/"
  16618. +_ACEOF
  16619. +
  16620. +
  16621. +
  16622. +
  16623. +
  16624. +
  16625. +
  16626. +
  16627. +
  16628. +
  16629. +
  16630. +
  16631. +
  16632. +
  16633. +
  16634. +
  16635. +
  16636. +case $host_os in
  16637. +aix3*)
  16638. + # AIX sometimes has problems with the GCC collect2 program. For some
  16639. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  16640. + # vanish in a puff of smoke.
  16641. + if test "X${COLLECT_NAMES+set}" != Xset; then
  16642. + COLLECT_NAMES=
  16643. + export COLLECT_NAMES
  16644. + fi
  16645. + ;;
  16646. +esac
  16647. +
  16648. +# Sed substitution that helps us do robust quoting. It backslashifies
  16649. +# metacharacters that are still active within double-quoted strings.
  16650. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  16651. +
  16652. +# Same as above, but do not quote variable references.
  16653. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  16654. +
  16655. +# Sed substitution to delay expansion of an escaped shell variable in a
  16656. +# double_quote_subst'ed string.
  16657. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  16658. +
  16659. +# Sed substitution to delay expansion of an escaped single quote.
  16660. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  16661. +
  16662. +# Sed substitution to avoid accidental globbing in evaled expressions
  16663. +no_glob_subst='s/\*/\\\*/g'
  16664. +
  16665. +# Global variables:
  16666. +ofile=libtool
  16667. +can_build_shared=yes
  16668. +
  16669. +# All known linkers require a `.a' archive for static linking (except MSVC,
  16670. +# which needs '.lib').
  16671. +libext=a
  16672. +
  16673. +with_gnu_ld="$lt_cv_prog_gnu_ld"
  16674. +
  16675. +old_CC="$CC"
  16676. +old_CFLAGS="$CFLAGS"
  16677. +
  16678. +# Set sane defaults for various variables
  16679. +test -z "$CC" && CC=cc
  16680. +test -z "$LTCC" && LTCC=$CC
  16681. +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  16682. +test -z "$LD" && LD=ld
  16683. +test -z "$ac_objext" && ac_objext=o
  16684. +
  16685. +for cc_temp in $compiler""; do
  16686. + case $cc_temp in
  16687. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  16688. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  16689. + \-*) ;;
  16690. + *) break;;
  16691. + esac
  16692. +done
  16693. +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  16694. +
  16695. +
  16696. +# Only perform the check for file, if the check method requires it
  16697. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  16698. +case $deplibs_check_method in
  16699. +file_magic*)
  16700. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  16701. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  16702. +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  16703. +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  16704. + $as_echo_n "(cached) " >&6
  16705. +else
  16706. + case $MAGIC_CMD in
  16707. +[\\/*] | ?:[\\/]*)
  16708. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  16709. + ;;
  16710. +*)
  16711. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  16712. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  16713. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  16714. + for ac_dir in $ac_dummy; do
  16715. + IFS="$lt_save_ifs"
  16716. + test -z "$ac_dir" && ac_dir=.
  16717. + if test -f $ac_dir/${ac_tool_prefix}file; then
  16718. + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  16719. + if test -n "$file_magic_test_file"; then
  16720. + case $deplibs_check_method in
  16721. + "file_magic "*)
  16722. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  16723. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  16724. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  16725. + $EGREP "$file_magic_regex" > /dev/null; then
  16726. + :
  16727. + else
  16728. + cat <<_LT_EOF 1>&2
  16729. +
  16730. +*** Warning: the command libtool uses to detect shared libraries,
  16731. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  16732. +*** The result is that libtool may fail to recognize shared libraries
  16733. +*** as such. This will affect the creation of libtool libraries that
  16734. +*** depend on shared libraries, but programs linked with such libtool
  16735. +*** libraries will work regardless of this problem. Nevertheless, you
  16736. +*** may want to report the problem to your system manager and/or to
  16737. +*** bug-libtool@gnu.org
  16738. +
  16739. +_LT_EOF
  16740. + fi ;;
  16741. + esac
  16742. + fi
  16743. + break
  16744. + fi
  16745. + done
  16746. + IFS="$lt_save_ifs"
  16747. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  16748. + ;;
  16749. +esac
  16750. +fi
  16751. +
  16752. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  16753. +if test -n "$MAGIC_CMD"; then
  16754. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  16755. +$as_echo "$MAGIC_CMD" >&6; }
  16756. +else
  16757. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16758. +$as_echo "no" >&6; }
  16759. +fi
  16760. +
  16761. +
  16762. +
  16763. +
  16764. +
  16765. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  16766. + if test -n "$ac_tool_prefix"; then
  16767. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  16768. +$as_echo_n "checking for file... " >&6; }
  16769. +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  16770. + $as_echo_n "(cached) " >&6
  16771. +else
  16772. + case $MAGIC_CMD in
  16773. +[\\/*] | ?:[\\/]*)
  16774. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  16775. + ;;
  16776. +*)
  16777. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  16778. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  16779. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  16780. + for ac_dir in $ac_dummy; do
  16781. + IFS="$lt_save_ifs"
  16782. + test -z "$ac_dir" && ac_dir=.
  16783. + if test -f $ac_dir/file; then
  16784. + lt_cv_path_MAGIC_CMD="$ac_dir/file"
  16785. + if test -n "$file_magic_test_file"; then
  16786. + case $deplibs_check_method in
  16787. + "file_magic "*)
  16788. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  16789. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  16790. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  16791. + $EGREP "$file_magic_regex" > /dev/null; then
  16792. + :
  16793. + else
  16794. + cat <<_LT_EOF 1>&2
  16795. +
  16796. +*** Warning: the command libtool uses to detect shared libraries,
  16797. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  16798. +*** The result is that libtool may fail to recognize shared libraries
  16799. +*** as such. This will affect the creation of libtool libraries that
  16800. +*** depend on shared libraries, but programs linked with such libtool
  16801. +*** libraries will work regardless of this problem. Nevertheless, you
  16802. +*** may want to report the problem to your system manager and/or to
  16803. +*** bug-libtool@gnu.org
  16804. +
  16805. +_LT_EOF
  16806. + fi ;;
  16807. + esac
  16808. + fi
  16809. + break
  16810. + fi
  16811. + done
  16812. + IFS="$lt_save_ifs"
  16813. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  16814. + ;;
  16815. +esac
  16816. +fi
  16817. +
  16818. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  16819. +if test -n "$MAGIC_CMD"; then
  16820. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  16821. +$as_echo "$MAGIC_CMD" >&6; }
  16822. +else
  16823. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16824. +$as_echo "no" >&6; }
  16825. +fi
  16826. +
  16827. +
  16828. + else
  16829. + MAGIC_CMD=:
  16830. + fi
  16831. +fi
  16832. +
  16833. + fi
  16834. + ;;
  16835. +esac
  16836. +
  16837. +# Use C for the default configuration in the libtool script
  16838. +
  16839. +lt_save_CC="$CC"
  16840. +ac_ext=c
  16841. +ac_cpp='$CPP $CPPFLAGS'
  16842. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16843. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16844. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  16845. +
  16846. +
  16847. +# Source file extension for C test sources.
  16848. +ac_ext=c
  16849. +
  16850. +# Object file extension for compiled C test sources.
  16851. +objext=o
  16852. +objext=$objext
  16853. +
  16854. +# Code to be used in simple compile tests
  16855. +lt_simple_compile_test_code="int some_variable = 0;"
  16856. +
  16857. +# Code to be used in simple link tests
  16858. +lt_simple_link_test_code='int main(){return(0);}'
  16859. +
  16860. +
  16861. +
  16862. +
  16863. +
  16864. +
  16865. +
  16866. +# If no C compiler was specified, use CC.
  16867. +LTCC=${LTCC-"$CC"}
  16868. +
  16869. +# If no C compiler flags were specified, use CFLAGS.
  16870. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  16871. +
  16872. +# Allow CC to be a program name with arguments.
  16873. +compiler=$CC
  16874. +
  16875. +# Save the default compiler, since it gets overwritten when the other
  16876. +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  16877. +compiler_DEFAULT=$CC
  16878. +
  16879. +# save warnings/boilerplate of simple test code
  16880. +ac_outfile=conftest.$ac_objext
  16881. +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  16882. +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  16883. +_lt_compiler_boilerplate=`cat conftest.err`
  16884. +$RM conftest*
  16885. +
  16886. +ac_outfile=conftest.$ac_objext
  16887. +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  16888. +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  16889. +_lt_linker_boilerplate=`cat conftest.err`
  16890. +$RM -r conftest*
  16891. +
  16892. +
  16893. +## CAVEAT EMPTOR:
  16894. +## There is no encapsulation within the following macros, do not change
  16895. +## the running order or otherwise move them around unless you know exactly
  16896. +## what you are doing...
  16897. +if test -n "$compiler"; then
  16898. +
  16899. +lt_prog_compiler_no_builtin_flag=
  16900. +
  16901. +if test "$GCC" = yes; then
  16902. + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  16903. +
  16904. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  16905. +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  16906. +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  16907. + $as_echo_n "(cached) " >&6
  16908. +else
  16909. + lt_cv_prog_compiler_rtti_exceptions=no
  16910. + ac_outfile=conftest.$ac_objext
  16911. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  16912. + lt_compiler_flag="-fno-rtti -fno-exceptions"
  16913. + # Insert the option either (1) after the last *FLAGS variable, or
  16914. + # (2) before a word containing "conftest.", or (3) at the end.
  16915. + # Note that $ac_compile itself does not contain backslashes and begins
  16916. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  16917. + # The option is referenced via a variable to avoid confusing sed.
  16918. + lt_compile=`echo "$ac_compile" | $SED \
  16919. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  16920. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  16921. + -e 's:$: $lt_compiler_flag:'`
  16922. + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
  16923. + (eval "$lt_compile" 2>conftest.err)
  16924. + ac_status=$?
  16925. + cat conftest.err >&5
  16926. + echo "$as_me:__oline__: \$? = $ac_status" >&5
  16927. + if (exit $ac_status) && test -s "$ac_outfile"; then
  16928. + # The compiler can only warn and ignore the option if not recognized
  16929. + # So say no if there are warnings other than the usual output.
  16930. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  16931. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  16932. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  16933. + lt_cv_prog_compiler_rtti_exceptions=yes
  16934. + fi
  16935. + fi
  16936. + $RM conftest*
  16937. +
  16938. +fi
  16939. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  16940. +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  16941. +
  16942. +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  16943. + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  16944. +else
  16945. + :
  16946. +fi
  16947. +
  16948. +fi
  16949. +
  16950. +
  16951. +
  16952. +
  16953. +
  16954. +
  16955. + lt_prog_compiler_wl=
  16956. +lt_prog_compiler_pic=
  16957. +lt_prog_compiler_static=
  16958. +
  16959. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  16960. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  16961. +
  16962. + if test "$GCC" = yes; then
  16963. + lt_prog_compiler_wl='-Wl,'
  16964. + lt_prog_compiler_static='-static'
  16965. +
  16966. + case $host_os in
  16967. + aix*)
  16968. + # All AIX code is PIC.
  16969. + if test "$host_cpu" = ia64; then
  16970. + # AIX 5 now supports IA64 processor
  16971. + lt_prog_compiler_static='-Bstatic'
  16972. + fi
  16973. + ;;
  16974. +
  16975. + amigaos*)
  16976. + case $host_cpu in
  16977. + powerpc)
  16978. + # see comment about AmigaOS4 .so support
  16979. + lt_prog_compiler_pic='-fPIC'
  16980. + ;;
  16981. + m68k)
  16982. + # FIXME: we need at least 68020 code to build shared libraries, but
  16983. + # adding the `-m68020' flag to GCC prevents building anything better,
  16984. + # like `-m68040'.
  16985. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  16986. + ;;
  16987. + esac
  16988. + ;;
  16989. +
  16990. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  16991. + # PIC is the default for these OSes.
  16992. + ;;
  16993. +
  16994. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  16995. + # This hack is so that the source file can tell whether it is being
  16996. + # built for inclusion in a dll (and should export symbols for example).
  16997. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  16998. + # (--disable-auto-import) libraries
  16999. + lt_prog_compiler_pic='-DDLL_EXPORT'
  17000. + ;;
  17001. +
  17002. + darwin* | rhapsody*)
  17003. + # PIC is the default on this platform
  17004. + # Common symbols not allowed in MH_DYLIB files
  17005. + lt_prog_compiler_pic='-fno-common'
  17006. + ;;
  17007. +
  17008. + hpux*)
  17009. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  17010. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  17011. + # sets the default TLS model and affects inlining.
  17012. + case $host_cpu in
  17013. + hppa*64*)
  17014. + # +Z the default
  17015. + ;;
  17016. + *)
  17017. + lt_prog_compiler_pic='-fPIC'
  17018. + ;;
  17019. + esac
  17020. + ;;
  17021. +
  17022. + interix[3-9]*)
  17023. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  17024. + # Instead, we relocate shared libraries at runtime.
  17025. + ;;
  17026. +
  17027. + msdosdjgpp*)
  17028. + # Just because we use GCC doesn't mean we suddenly get shared libraries
  17029. + # on systems that don't support them.
  17030. + lt_prog_compiler_can_build_shared=no
  17031. + enable_shared=no
  17032. + ;;
  17033. +
  17034. + *nto* | *qnx*)
  17035. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  17036. + # it will coredump.
  17037. + lt_prog_compiler_pic='-fPIC -shared'
  17038. + ;;
  17039. +
  17040. + sysv4*MP*)
  17041. + if test -d /usr/nec; then
  17042. + lt_prog_compiler_pic=-Kconform_pic
  17043. + fi
  17044. + ;;
  17045. +
  17046. + *)
  17047. + lt_prog_compiler_pic='-fPIC'
  17048. + ;;
  17049. + esac
  17050. + else
  17051. + # PORTME Check for flag to pass linker flags through the system compiler.
  17052. + case $host_os in
  17053. + aix*)
  17054. + lt_prog_compiler_wl='-Wl,'
  17055. + if test "$host_cpu" = ia64; then
  17056. + # AIX 5 now supports IA64 processor
  17057. + lt_prog_compiler_static='-Bstatic'
  17058. + else
  17059. + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  17060. + fi
  17061. + ;;
  17062. +
  17063. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  17064. + # This hack is so that the source file can tell whether it is being
  17065. + # built for inclusion in a dll (and should export symbols for example).
  17066. + lt_prog_compiler_pic='-DDLL_EXPORT'
  17067. + ;;
  17068. +
  17069. + hpux9* | hpux10* | hpux11*)
  17070. + lt_prog_compiler_wl='-Wl,'
  17071. + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  17072. + # not for PA HP-UX.
  17073. + case $host_cpu in
  17074. + hppa*64*|ia64*)
  17075. + # +Z the default
  17076. + ;;
  17077. + *)
  17078. + lt_prog_compiler_pic='+Z'
  17079. + ;;
  17080. + esac
  17081. + # Is there a better lt_prog_compiler_static that works with the bundled CC?
  17082. + lt_prog_compiler_static='${wl}-a ${wl}archive'
  17083. + ;;
  17084. +
  17085. + irix5* | irix6* | nonstopux*)
  17086. + lt_prog_compiler_wl='-Wl,'
  17087. + # PIC (with -KPIC) is the default.
  17088. + lt_prog_compiler_static='-non_shared'
  17089. + ;;
  17090. +
  17091. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  17092. + case $cc_basename in
  17093. + # old Intel for x86_64 which still supported -KPIC.
  17094. + ecc*)
  17095. + lt_prog_compiler_wl='-Wl,'
  17096. + lt_prog_compiler_pic='-KPIC'
  17097. + lt_prog_compiler_static='-static'
  17098. + ;;
  17099. + # icc used to be incompatible with GCC.
  17100. + # ICC 10 doesn't accept -KPIC any more.
  17101. + icc* | ifort*)
  17102. + lt_prog_compiler_wl='-Wl,'
  17103. + lt_prog_compiler_pic='-fPIC'
  17104. + lt_prog_compiler_static='-static'
  17105. + ;;
  17106. + # Lahey Fortran 8.1.
  17107. + lf95*)
  17108. + lt_prog_compiler_wl='-Wl,'
  17109. + lt_prog_compiler_pic='--shared'
  17110. + lt_prog_compiler_static='--static'
  17111. + ;;
  17112. + pgcc* | pgf77* | pgf90* | pgf95*)
  17113. + # Portland Group compilers (*not* the Pentium gcc compiler,
  17114. + # which looks to be a dead project)
  17115. + lt_prog_compiler_wl='-Wl,'
  17116. + lt_prog_compiler_pic='-fpic'
  17117. + lt_prog_compiler_static='-Bstatic'
  17118. + ;;
  17119. + ccc*)
  17120. + lt_prog_compiler_wl='-Wl,'
  17121. + # All Alpha code is PIC.
  17122. + lt_prog_compiler_static='-non_shared'
  17123. + ;;
  17124. + xl*)
  17125. + # IBM XL C 8.0/Fortran 10.1 on PPC
  17126. + lt_prog_compiler_wl='-Wl,'
  17127. + lt_prog_compiler_pic='-qpic'
  17128. + lt_prog_compiler_static='-qstaticlink'
  17129. + ;;
  17130. + *)
  17131. + case `$CC -V 2>&1 | sed 5q` in
  17132. + *Sun\ C*)
  17133. + # Sun C 5.9
  17134. + lt_prog_compiler_pic='-KPIC'
  17135. + lt_prog_compiler_static='-Bstatic'
  17136. + lt_prog_compiler_wl='-Wl,'
  17137. + ;;
  17138. + *Sun\ F*)
  17139. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  17140. + lt_prog_compiler_pic='-KPIC'
  17141. + lt_prog_compiler_static='-Bstatic'
  17142. + lt_prog_compiler_wl=''
  17143. + ;;
  17144. + esac
  17145. + ;;
  17146. + esac
  17147. + ;;
  17148. +
  17149. + newsos6)
  17150. + lt_prog_compiler_pic='-KPIC'
  17151. + lt_prog_compiler_static='-Bstatic'
  17152. + ;;
  17153. +
  17154. + *nto* | *qnx*)
  17155. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  17156. + # it will coredump.
  17157. + lt_prog_compiler_pic='-fPIC -shared'
  17158. + ;;
  17159. +
  17160. + osf3* | osf4* | osf5*)
  17161. + lt_prog_compiler_wl='-Wl,'
  17162. + # All OSF/1 code is PIC.
  17163. + lt_prog_compiler_static='-non_shared'
  17164. + ;;
  17165. +
  17166. + rdos*)
  17167. + lt_prog_compiler_static='-non_shared'
  17168. + ;;
  17169. +
  17170. + solaris*)
  17171. + lt_prog_compiler_pic='-KPIC'
  17172. + lt_prog_compiler_static='-Bstatic'
  17173. + case $cc_basename in
  17174. + f77* | f90* | f95*)
  17175. + lt_prog_compiler_wl='-Qoption ld ';;
  17176. + *)
  17177. + lt_prog_compiler_wl='-Wl,';;
  17178. + esac
  17179. + ;;
  17180. +
  17181. + sunos4*)
  17182. + lt_prog_compiler_wl='-Qoption ld '
  17183. + lt_prog_compiler_pic='-PIC'
  17184. + lt_prog_compiler_static='-Bstatic'
  17185. + ;;
  17186. +
  17187. + sysv4 | sysv4.2uw2* | sysv4.3*)
  17188. + lt_prog_compiler_wl='-Wl,'
  17189. + lt_prog_compiler_pic='-KPIC'
  17190. + lt_prog_compiler_static='-Bstatic'
  17191. + ;;
  17192. +
  17193. + sysv4*MP*)
  17194. + if test -d /usr/nec ;then
  17195. + lt_prog_compiler_pic='-Kconform_pic'
  17196. + lt_prog_compiler_static='-Bstatic'
  17197. + fi
  17198. + ;;
  17199. +
  17200. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  17201. + lt_prog_compiler_wl='-Wl,'
  17202. + lt_prog_compiler_pic='-KPIC'
  17203. + lt_prog_compiler_static='-Bstatic'
  17204. + ;;
  17205. +
  17206. + unicos*)
  17207. + lt_prog_compiler_wl='-Wl,'
  17208. + lt_prog_compiler_can_build_shared=no
  17209. + ;;
  17210. +
  17211. + uts4*)
  17212. + lt_prog_compiler_pic='-pic'
  17213. + lt_prog_compiler_static='-Bstatic'
  17214. + ;;
  17215. +
  17216. + *)
  17217. + lt_prog_compiler_can_build_shared=no
  17218. + ;;
  17219. + esac
  17220. + fi
  17221. +
  17222. +case $host_os in
  17223. + # For platforms which do not support PIC, -DPIC is meaningless:
  17224. + *djgpp*)
  17225. + lt_prog_compiler_pic=
  17226. + ;;
  17227. + *)
  17228. + lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
  17229. + ;;
  17230. +esac
  17231. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  17232. +$as_echo "$lt_prog_compiler_pic" >&6; }
  17233. +
  17234. +
  17235. +
  17236. +
  17237. +
  17238. +
  17239. +#
  17240. +# Check to make sure the PIC flag actually works.
  17241. +#
  17242. +if test -n "$lt_prog_compiler_pic"; then
  17243. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  17244. +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  17245. +if ${lt_cv_prog_compiler_pic_works+:} false; then :
  17246. + $as_echo_n "(cached) " >&6
  17247. +else
  17248. + lt_cv_prog_compiler_pic_works=no
  17249. + ac_outfile=conftest.$ac_objext
  17250. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  17251. + lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
  17252. + # Insert the option either (1) after the last *FLAGS variable, or
  17253. + # (2) before a word containing "conftest.", or (3) at the end.
  17254. + # Note that $ac_compile itself does not contain backslashes and begins
  17255. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  17256. + # The option is referenced via a variable to avoid confusing sed.
  17257. + lt_compile=`echo "$ac_compile" | $SED \
  17258. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  17259. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  17260. + -e 's:$: $lt_compiler_flag:'`
  17261. + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
  17262. + (eval "$lt_compile" 2>conftest.err)
  17263. + ac_status=$?
  17264. + cat conftest.err >&5
  17265. + echo "$as_me:__oline__: \$? = $ac_status" >&5
  17266. + if (exit $ac_status) && test -s "$ac_outfile"; then
  17267. + # The compiler can only warn and ignore the option if not recognized
  17268. + # So say no if there are warnings other than the usual output.
  17269. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  17270. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  17271. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  17272. + lt_cv_prog_compiler_pic_works=yes
  17273. + fi
  17274. + fi
  17275. + $RM conftest*
  17276. +
  17277. +fi
  17278. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  17279. +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  17280. +
  17281. +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  17282. + case $lt_prog_compiler_pic in
  17283. + "" | " "*) ;;
  17284. + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  17285. + esac
  17286. +else
  17287. + lt_prog_compiler_pic=
  17288. + lt_prog_compiler_can_build_shared=no
  17289. +fi
  17290. +
  17291. +fi
  17292. +
  17293. +
  17294. +
  17295. +
  17296. +
  17297. +
  17298. +#
  17299. +# Check to make sure the static flag actually works.
  17300. +#
  17301. +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  17302. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  17303. +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  17304. +if ${lt_cv_prog_compiler_static_works+:} false; then :
  17305. + $as_echo_n "(cached) " >&6
  17306. +else
  17307. + lt_cv_prog_compiler_static_works=no
  17308. + save_LDFLAGS="$LDFLAGS"
  17309. + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  17310. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  17311. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  17312. + # The linker can only warn and ignore the option if not recognized
  17313. + # So say no if there are warnings
  17314. + if test -s conftest.err; then
  17315. + # Append any errors to the config.log.
  17316. + cat conftest.err 1>&5
  17317. + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  17318. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  17319. + if diff conftest.exp conftest.er2 >/dev/null; then
  17320. + lt_cv_prog_compiler_static_works=yes
  17321. + fi
  17322. + else
  17323. + lt_cv_prog_compiler_static_works=yes
  17324. + fi
  17325. + fi
  17326. + $RM -r conftest*
  17327. + LDFLAGS="$save_LDFLAGS"
  17328. +
  17329. +fi
  17330. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  17331. +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  17332. +
  17333. +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  17334. + :
  17335. +else
  17336. + lt_prog_compiler_static=
  17337. +fi
  17338. +
  17339. +
  17340. +
  17341. +
  17342. +
  17343. +
  17344. +
  17345. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  17346. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  17347. +if ${lt_cv_prog_compiler_c_o+:} false; then :
  17348. + $as_echo_n "(cached) " >&6
  17349. +else
  17350. + lt_cv_prog_compiler_c_o=no
  17351. + $RM -r conftest 2>/dev/null
  17352. + mkdir conftest
  17353. + cd conftest
  17354. + mkdir out
  17355. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  17356. +
  17357. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  17358. + # Insert the option either (1) after the last *FLAGS variable, or
  17359. + # (2) before a word containing "conftest.", or (3) at the end.
  17360. + # Note that $ac_compile itself does not contain backslashes and begins
  17361. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  17362. + lt_compile=`echo "$ac_compile" | $SED \
  17363. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  17364. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  17365. + -e 's:$: $lt_compiler_flag:'`
  17366. + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
  17367. + (eval "$lt_compile" 2>out/conftest.err)
  17368. + ac_status=$?
  17369. + cat out/conftest.err >&5
  17370. + echo "$as_me:__oline__: \$? = $ac_status" >&5
  17371. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  17372. + then
  17373. + # The compiler can only warn and ignore the option if not recognized
  17374. + # So say no if there are warnings
  17375. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  17376. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  17377. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  17378. + lt_cv_prog_compiler_c_o=yes
  17379. + fi
  17380. + fi
  17381. + chmod u+w . 2>&5
  17382. + $RM conftest*
  17383. + # SGI C++ compiler will create directory out/ii_files/ for
  17384. + # template instantiation
  17385. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  17386. + $RM out/* && rmdir out
  17387. + cd ..
  17388. + $RM -r conftest
  17389. + $RM conftest*
  17390. +
  17391. +fi
  17392. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  17393. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  17394. +
  17395. +
  17396. +
  17397. +
  17398. +
  17399. +
  17400. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  17401. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  17402. +if ${lt_cv_prog_compiler_c_o+:} false; then :
  17403. + $as_echo_n "(cached) " >&6
  17404. +else
  17405. + lt_cv_prog_compiler_c_o=no
  17406. + $RM -r conftest 2>/dev/null
  17407. + mkdir conftest
  17408. + cd conftest
  17409. + mkdir out
  17410. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  17411. +
  17412. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  17413. + # Insert the option either (1) after the last *FLAGS variable, or
  17414. + # (2) before a word containing "conftest.", or (3) at the end.
  17415. + # Note that $ac_compile itself does not contain backslashes and begins
  17416. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  17417. + lt_compile=`echo "$ac_compile" | $SED \
  17418. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  17419. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  17420. + -e 's:$: $lt_compiler_flag:'`
  17421. + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
  17422. + (eval "$lt_compile" 2>out/conftest.err)
  17423. + ac_status=$?
  17424. + cat out/conftest.err >&5
  17425. + echo "$as_me:__oline__: \$? = $ac_status" >&5
  17426. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  17427. + then
  17428. + # The compiler can only warn and ignore the option if not recognized
  17429. + # So say no if there are warnings
  17430. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  17431. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  17432. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  17433. + lt_cv_prog_compiler_c_o=yes
  17434. + fi
  17435. + fi
  17436. + chmod u+w . 2>&5
  17437. + $RM conftest*
  17438. + # SGI C++ compiler will create directory out/ii_files/ for
  17439. + # template instantiation
  17440. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  17441. + $RM out/* && rmdir out
  17442. + cd ..
  17443. + $RM -r conftest
  17444. + $RM conftest*
  17445. +
  17446. +fi
  17447. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  17448. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  17449. +
  17450. +
  17451. +
  17452. +
  17453. +hard_links="nottested"
  17454. +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  17455. + # do not overwrite the value of need_locks provided by the user
  17456. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  17457. +$as_echo_n "checking if we can lock with hard links... " >&6; }
  17458. + hard_links=yes
  17459. + $RM conftest*
  17460. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  17461. + touch conftest.a
  17462. + ln conftest.a conftest.b 2>&5 || hard_links=no
  17463. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  17464. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  17465. +$as_echo "$hard_links" >&6; }
  17466. + if test "$hard_links" = no; then
  17467. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  17468. +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  17469. + need_locks=warn
  17470. + fi
  17471. +else
  17472. + need_locks=no
  17473. +fi
  17474. +
  17475. +
  17476. +
  17477. +
  17478. +
  17479. +
  17480. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  17481. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  17482. +
  17483. + runpath_var=
  17484. + allow_undefined_flag=
  17485. + always_export_symbols=no
  17486. + archive_cmds=
  17487. + archive_expsym_cmds=
  17488. + compiler_needs_object=no
  17489. + enable_shared_with_static_runtimes=no
  17490. + export_dynamic_flag_spec=
  17491. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  17492. + hardcode_automatic=no
  17493. + hardcode_direct=no
  17494. + hardcode_direct_absolute=no
  17495. + hardcode_libdir_flag_spec=
  17496. + hardcode_libdir_flag_spec_ld=
  17497. + hardcode_libdir_separator=
  17498. + hardcode_minus_L=no
  17499. + hardcode_shlibpath_var=unsupported
  17500. + inherit_rpath=no
  17501. + link_all_deplibs=unknown
  17502. + module_cmds=
  17503. + module_expsym_cmds=
  17504. + old_archive_from_new_cmds=
  17505. + old_archive_from_expsyms_cmds=
  17506. + thread_safe_flag_spec=
  17507. + whole_archive_flag_spec=
  17508. + # include_expsyms should be a list of space-separated symbols to be *always*
  17509. + # included in the symbol list
  17510. + include_expsyms=
  17511. + # exclude_expsyms can be an extended regexp of symbols to exclude
  17512. + # it will be wrapped by ` (' and `)$', so one must not match beginning or
  17513. + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  17514. + # as well as any symbol that contains `d'.
  17515. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  17516. + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  17517. + # platforms (ab)use it in PIC code, but their linkers get confused if
  17518. + # the symbol is explicitly referenced. Since portable code cannot
  17519. + # rely on this symbol name, it's probably fine to never include it in
  17520. + # preloaded symbol tables.
  17521. + # Exclude shared library initialization/finalization symbols.
  17522. + extract_expsyms_cmds=
  17523. +
  17524. + case $host_os in
  17525. + cygwin* | mingw* | pw32* | cegcc*)
  17526. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  17527. + # When not using gcc, we currently assume that we are using
  17528. + # Microsoft Visual C++.
  17529. + if test "$GCC" != yes; then
  17530. + with_gnu_ld=no
  17531. + fi
  17532. + ;;
  17533. + interix*)
  17534. + # we just hope/assume this is gcc and not c89 (= MSVC++)
  17535. + with_gnu_ld=yes
  17536. + ;;
  17537. + openbsd*)
  17538. + with_gnu_ld=no
  17539. + ;;
  17540. + linux* | k*bsd*-gnu)
  17541. + link_all_deplibs=no
  17542. + ;;
  17543. + esac
  17544. +
  17545. + ld_shlibs=yes
  17546. + if test "$with_gnu_ld" = yes; then
  17547. + # If archive_cmds runs LD, not CC, wlarc should be empty
  17548. + wlarc='${wl}'
  17549. +
  17550. + # Set some defaults for GNU ld with shared library support. These
  17551. + # are reset later if shared libraries are not supported. Putting them
  17552. + # here allows them to be overridden if necessary.
  17553. + runpath_var=LD_RUN_PATH
  17554. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  17555. + export_dynamic_flag_spec='${wl}--export-dynamic'
  17556. + # ancient GNU ld didn't support --whole-archive et. al.
  17557. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  17558. + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  17559. + else
  17560. + whole_archive_flag_spec=
  17561. + fi
  17562. + supports_anon_versioning=no
  17563. + case `$LD -v 2>&1` in
  17564. + *GNU\ gold*) supports_anon_versioning=yes ;;
  17565. + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  17566. + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  17567. + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  17568. + *\ 2.11.*) ;; # other 2.11 versions
  17569. + *) supports_anon_versioning=yes ;;
  17570. + esac
  17571. +
  17572. + # See if GNU ld supports shared libraries.
  17573. + case $host_os in
  17574. + aix[3-9]*)
  17575. + # On AIX/PPC, the GNU linker is very broken
  17576. + if test "$host_cpu" != ia64; then
  17577. + ld_shlibs=no
  17578. + cat <<_LT_EOF 1>&2
  17579. +
  17580. +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  17581. +*** to be unable to reliably create shared libraries on AIX.
  17582. +*** Therefore, libtool is disabling shared libraries support. If you
  17583. +*** really care for shared libraries, you may want to modify your PATH
  17584. +*** so that a non-GNU linker is found, and then restart.
  17585. +
  17586. +_LT_EOF
  17587. + fi
  17588. + ;;
  17589. +
  17590. + amigaos*)
  17591. + case $host_cpu in
  17592. + powerpc)
  17593. + # see comment about AmigaOS4 .so support
  17594. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  17595. + archive_expsym_cmds=''
  17596. + ;;
  17597. + m68k)
  17598. + 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)'
  17599. + hardcode_libdir_flag_spec='-L$libdir'
  17600. + hardcode_minus_L=yes
  17601. + ;;
  17602. + esac
  17603. + ;;
  17604. +
  17605. + beos*)
  17606. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  17607. + allow_undefined_flag=unsupported
  17608. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  17609. + # support --undefined. This deserves some investigation. FIXME
  17610. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  17611. + else
  17612. + ld_shlibs=no
  17613. + fi
  17614. + ;;
  17615. +
  17616. + cygwin* | mingw* | pw32* | cegcc*)
  17617. + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  17618. + # as there is no search path for DLLs.
  17619. + hardcode_libdir_flag_spec='-L$libdir'
  17620. + allow_undefined_flag=unsupported
  17621. + always_export_symbols=no
  17622. + enable_shared_with_static_runtimes=yes
  17623. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  17624. +
  17625. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  17626. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  17627. + # If the export-symbols file already is a .def file (1st line
  17628. + # is EXPORTS), use it as is; otherwise, prepend...
  17629. + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  17630. + cp $export_symbols $output_objdir/$soname.def;
  17631. + else
  17632. + echo EXPORTS > $output_objdir/$soname.def;
  17633. + cat $export_symbols >> $output_objdir/$soname.def;
  17634. + fi~
  17635. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  17636. + else
  17637. + ld_shlibs=no
  17638. + fi
  17639. + ;;
  17640. +
  17641. + interix[3-9]*)
  17642. + hardcode_direct=no
  17643. + hardcode_shlibpath_var=no
  17644. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  17645. + export_dynamic_flag_spec='${wl}-E'
  17646. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  17647. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  17648. + # default) and relocated if they conflict, which is a slow very memory
  17649. + # consuming and fragmenting process. To avoid this, we pick a random,
  17650. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  17651. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  17652. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  17653. + 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'
  17654. + ;;
  17655. +
  17656. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  17657. + tmp_diet=no
  17658. + if test "$host_os" = linux-dietlibc; then
  17659. + case $cc_basename in
  17660. + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  17661. + esac
  17662. + fi
  17663. + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  17664. + && test "$tmp_diet" = no
  17665. + then
  17666. + tmp_addflag=
  17667. + tmp_sharedflag='-shared'
  17668. + case $cc_basename,$host_cpu in
  17669. + pgcc*) # Portland Group C compiler
  17670. + 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'
  17671. + tmp_addflag=' $pic_flag'
  17672. + ;;
  17673. + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  17674. + 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'
  17675. + tmp_addflag=' $pic_flag -Mnomain' ;;
  17676. + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  17677. + tmp_addflag=' -i_dynamic' ;;
  17678. + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  17679. + tmp_addflag=' -i_dynamic -nofor_main' ;;
  17680. + ifc* | ifort*) # Intel Fortran compiler
  17681. + tmp_addflag=' -nofor_main' ;;
  17682. + lf95*) # Lahey Fortran 8.1
  17683. + whole_archive_flag_spec=
  17684. + tmp_sharedflag='--shared' ;;
  17685. + xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  17686. + tmp_sharedflag='-qmkshrobj'
  17687. + tmp_addflag= ;;
  17688. + esac
  17689. + case `$CC -V 2>&1 | sed 5q` in
  17690. + *Sun\ C*) # Sun C 5.9
  17691. + 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'
  17692. + compiler_needs_object=yes
  17693. + tmp_sharedflag='-G' ;;
  17694. + *Sun\ F*) # Sun Fortran 8.3
  17695. + tmp_sharedflag='-G' ;;
  17696. + esac
  17697. + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  17698. +
  17699. + if test "x$supports_anon_versioning" = xyes; then
  17700. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  17701. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  17702. + echo "local: *; };" >> $output_objdir/$libname.ver~
  17703. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  17704. + fi
  17705. +
  17706. + case $cc_basename in
  17707. + xlf*)
  17708. + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  17709. + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  17710. + hardcode_libdir_flag_spec=
  17711. + hardcode_libdir_flag_spec_ld='-rpath $libdir'
  17712. + archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  17713. + if test "x$supports_anon_versioning" = xyes; then
  17714. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  17715. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  17716. + echo "local: *; };" >> $output_objdir/$libname.ver~
  17717. + $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  17718. + fi
  17719. + ;;
  17720. + esac
  17721. + else
  17722. + ld_shlibs=no
  17723. + fi
  17724. + ;;
  17725. +
  17726. + netbsd* | netbsdelf*-gnu)
  17727. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  17728. + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  17729. + wlarc=
  17730. + else
  17731. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  17732. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  17733. + fi
  17734. + ;;
  17735. +
  17736. + solaris*)
  17737. + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  17738. + ld_shlibs=no
  17739. + cat <<_LT_EOF 1>&2
  17740. +
  17741. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  17742. +*** create shared libraries on Solaris systems. Therefore, libtool
  17743. +*** is disabling shared libraries support. We urge you to upgrade GNU
  17744. +*** binutils to release 2.9.1 or newer. Another option is to modify
  17745. +*** your PATH or compiler configuration so that the native linker is
  17746. +*** used, and then restart.
  17747. +
  17748. +_LT_EOF
  17749. + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  17750. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  17751. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  17752. + else
  17753. + ld_shlibs=no
  17754. + fi
  17755. + ;;
  17756. +
  17757. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  17758. + case `$LD -v 2>&1` in
  17759. + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  17760. + ld_shlibs=no
  17761. + cat <<_LT_EOF 1>&2
  17762. +
  17763. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  17764. +*** reliably create shared libraries on SCO systems. Therefore, libtool
  17765. +*** is disabling shared libraries support. We urge you to upgrade GNU
  17766. +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  17767. +*** your PATH or compiler configuration so that the native linker is
  17768. +*** used, and then restart.
  17769. +
  17770. +_LT_EOF
  17771. + ;;
  17772. + *)
  17773. + # For security reasons, it is highly recommended that you always
  17774. + # use absolute paths for naming shared libraries, and exclude the
  17775. + # DT_RUNPATH tag from executables and libraries. But doing so
  17776. + # requires that you compile everything twice, which is a pain.
  17777. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  17778. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  17779. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  17780. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  17781. + else
  17782. + ld_shlibs=no
  17783. + fi
  17784. + ;;
  17785. + esac
  17786. + ;;
  17787. +
  17788. + sunos4*)
  17789. + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  17790. + wlarc=
  17791. + hardcode_direct=yes
  17792. + hardcode_shlibpath_var=no
  17793. + ;;
  17794. +
  17795. + *)
  17796. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  17797. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  17798. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  17799. + else
  17800. + ld_shlibs=no
  17801. + fi
  17802. + ;;
  17803. + esac
  17804. +
  17805. + if test "$ld_shlibs" = no; then
  17806. + runpath_var=
  17807. + hardcode_libdir_flag_spec=
  17808. + export_dynamic_flag_spec=
  17809. + whole_archive_flag_spec=
  17810. + fi
  17811. + else
  17812. + # PORTME fill in a description of your system's linker (not GNU ld)
  17813. + case $host_os in
  17814. + aix3*)
  17815. + allow_undefined_flag=unsupported
  17816. + always_export_symbols=yes
  17817. + 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'
  17818. + # Note: this linker hardcodes the directories in LIBPATH if there
  17819. + # are no directories specified by -L.
  17820. + hardcode_minus_L=yes
  17821. + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  17822. + # Neither direct hardcoding nor static linking is supported with a
  17823. + # broken collect2.
  17824. + hardcode_direct=unsupported
  17825. + fi
  17826. + ;;
  17827. +
  17828. + aix[4-9]*)
  17829. + if test "$host_cpu" = ia64; then
  17830. + # On IA64, the linker does run time linking by default, so we don't
  17831. + # have to do anything special.
  17832. + aix_use_runtimelinking=no
  17833. + exp_sym_flag='-Bexport'
  17834. + no_entry_flag=""
  17835. + else
  17836. + # If we're using GNU nm, then we don't want the "-C" option.
  17837. + # -C means demangle to AIX nm, but means don't demangle with GNU nm
  17838. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  17839. + 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'
  17840. + else
  17841. + 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'
  17842. + fi
  17843. + aix_use_runtimelinking=no
  17844. +
  17845. + # Test if we are trying to use run time linking or normal
  17846. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  17847. + # need to do runtime linking.
  17848. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  17849. + for ld_flag in $LDFLAGS; do
  17850. + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  17851. + aix_use_runtimelinking=yes
  17852. + break
  17853. + fi
  17854. + done
  17855. + ;;
  17856. + esac
  17857. +
  17858. + exp_sym_flag='-bexport'
  17859. + no_entry_flag='-bnoentry'
  17860. + fi
  17861. +
  17862. + # When large executables or shared objects are built, AIX ld can
  17863. + # have problems creating the table of contents. If linking a library
  17864. + # or program results in "error TOC overflow" add -mminimal-toc to
  17865. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  17866. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  17867. +
  17868. + archive_cmds=''
  17869. + hardcode_direct=yes
  17870. + hardcode_direct_absolute=yes
  17871. + hardcode_libdir_separator=':'
  17872. + link_all_deplibs=yes
  17873. + file_list_spec='${wl}-f,'
  17874. +
  17875. + if test "$GCC" = yes; then
  17876. + case $host_os in aix4.[012]|aix4.[012].*)
  17877. + # We only want to do this on AIX 4.2 and lower, the check
  17878. + # below for broken collect2 doesn't work under 4.3+
  17879. + collect2name=`${CC} -print-prog-name=collect2`
  17880. + if test -f "$collect2name" &&
  17881. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  17882. + then
  17883. + # We have reworked collect2
  17884. + :
  17885. + else
  17886. + # We have old collect2
  17887. + hardcode_direct=unsupported
  17888. + # It fails to find uninstalled libraries when the uninstalled
  17889. + # path is not listed in the libpath. Setting hardcode_minus_L
  17890. + # to unsupported forces relinking
  17891. + hardcode_minus_L=yes
  17892. + hardcode_libdir_flag_spec='-L$libdir'
  17893. + hardcode_libdir_separator=
  17894. + fi
  17895. + ;;
  17896. + esac
  17897. + shared_flag='-shared'
  17898. + if test "$aix_use_runtimelinking" = yes; then
  17899. + shared_flag="$shared_flag "'${wl}-G'
  17900. + fi
  17901. + link_all_deplibs=no
  17902. + else
  17903. + # not using gcc
  17904. + if test "$host_cpu" = ia64; then
  17905. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  17906. + # chokes on -Wl,-G. The following line is correct:
  17907. + shared_flag='-G'
  17908. + else
  17909. + if test "$aix_use_runtimelinking" = yes; then
  17910. + shared_flag='${wl}-G'
  17911. + else
  17912. + shared_flag='${wl}-bM:SRE'
  17913. + fi
  17914. + fi
  17915. + fi
  17916. +
  17917. + export_dynamic_flag_spec='${wl}-bexpall'
  17918. + # It seems that -bexpall does not export symbols beginning with
  17919. + # underscore (_), so it is better to generate a list of symbols to export.
  17920. + always_export_symbols=yes
  17921. + if test "$aix_use_runtimelinking" = yes; then
  17922. + # Warning - without using the other runtime loading flags (-brtl),
  17923. + # -berok will link without error, but may produce a broken library.
  17924. + allow_undefined_flag='-berok'
  17925. + # Determine the default libpath from the value encoded in an
  17926. + # empty executable.
  17927. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17928. +/* end confdefs.h. */
  17929. +
  17930. +int
  17931. +main ()
  17932. +{
  17933. +
  17934. + ;
  17935. + return 0;
  17936. +}
  17937. +_ACEOF
  17938. +if ac_fn_c_try_link "$LINENO"; then :
  17939. +
  17940. +lt_aix_libpath_sed='
  17941. + /Import File Strings/,/^$/ {
  17942. + /^0/ {
  17943. + s/^0 *\(.*\)$/\1/
  17944. + p
  17945. + }
  17946. + }'
  17947. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  17948. +# Check for a 64-bit object if we didn't find anything.
  17949. +if test -z "$aix_libpath"; then
  17950. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  17951. +fi
  17952. +fi
  17953. +rm -f core conftest.err conftest.$ac_objext \
  17954. + conftest$ac_exeext conftest.$ac_ext
  17955. +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  17956. +
  17957. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  17958. + 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"
  17959. + else
  17960. + if test "$host_cpu" = ia64; then
  17961. + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  17962. + allow_undefined_flag="-z nodefs"
  17963. + 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"
  17964. + else
  17965. + # Determine the default libpath from the value encoded in an
  17966. + # empty executable.
  17967. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17968. +/* end confdefs.h. */
  17969. +
  17970. +int
  17971. +main ()
  17972. +{
  17973. +
  17974. + ;
  17975. + return 0;
  17976. +}
  17977. +_ACEOF
  17978. +if ac_fn_c_try_link "$LINENO"; then :
  17979. +
  17980. +lt_aix_libpath_sed='
  17981. + /Import File Strings/,/^$/ {
  17982. + /^0/ {
  17983. + s/^0 *\(.*\)$/\1/
  17984. + p
  17985. + }
  17986. + }'
  17987. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  17988. +# Check for a 64-bit object if we didn't find anything.
  17989. +if test -z "$aix_libpath"; then
  17990. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  17991. +fi
  17992. +fi
  17993. +rm -f core conftest.err conftest.$ac_objext \
  17994. + conftest$ac_exeext conftest.$ac_ext
  17995. +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  17996. +
  17997. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  17998. + # Warning - without using the other run time loading flags,
  17999. + # -berok will link without error, but may produce a broken library.
  18000. + no_undefined_flag=' ${wl}-bernotok'
  18001. + allow_undefined_flag=' ${wl}-berok'
  18002. + # Exported symbols can be pulled into shared objects from archives
  18003. + whole_archive_flag_spec='$convenience'
  18004. + archive_cmds_need_lc=yes
  18005. + # This is similar to how AIX traditionally builds its shared libraries.
  18006. + 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'
  18007. + fi
  18008. + fi
  18009. + ;;
  18010. +
  18011. + amigaos*)
  18012. + case $host_cpu in
  18013. + powerpc)
  18014. + # see comment about AmigaOS4 .so support
  18015. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  18016. + archive_expsym_cmds=''
  18017. + ;;
  18018. + m68k)
  18019. + 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)'
  18020. + hardcode_libdir_flag_spec='-L$libdir'
  18021. + hardcode_minus_L=yes
  18022. + ;;
  18023. + esac
  18024. + ;;
  18025. +
  18026. + bsdi[45]*)
  18027. + export_dynamic_flag_spec=-rdynamic
  18028. + ;;
  18029. +
  18030. + cygwin* | mingw* | pw32* | cegcc*)
  18031. + # When not using gcc, we currently assume that we are using
  18032. + # Microsoft Visual C++.
  18033. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  18034. + # no search path for DLLs.
  18035. + hardcode_libdir_flag_spec=' '
  18036. + allow_undefined_flag=unsupported
  18037. + # Tell ltmain to make .lib files, not .a files.
  18038. + libext=lib
  18039. + # Tell ltmain to make .dll files, not .so files.
  18040. + shrext_cmds=".dll"
  18041. + # FIXME: Setting linknames here is a bad hack.
  18042. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  18043. + # The linker will automatically build a .lib file if we build a DLL.
  18044. + old_archive_from_new_cmds='true'
  18045. + # FIXME: Should let the user specify the lib program.
  18046. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  18047. + fix_srcfile_path='`cygpath -w "$srcfile"`'
  18048. + enable_shared_with_static_runtimes=yes
  18049. + ;;
  18050. +
  18051. + darwin* | rhapsody*)
  18052. +
  18053. +
  18054. + archive_cmds_need_lc=no
  18055. + hardcode_direct=no
  18056. + hardcode_automatic=yes
  18057. + hardcode_shlibpath_var=unsupported
  18058. + whole_archive_flag_spec=''
  18059. + link_all_deplibs=yes
  18060. + allow_undefined_flag="$_lt_dar_allow_undefined"
  18061. + case $cc_basename in
  18062. + ifort*) _lt_dar_can_shared=yes ;;
  18063. + *) _lt_dar_can_shared=$GCC ;;
  18064. + esac
  18065. + if test "$_lt_dar_can_shared" = "yes"; then
  18066. + output_verbose_link_cmd=echo
  18067. + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  18068. + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  18069. + 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}"
  18070. + 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}"
  18071. +
  18072. + else
  18073. + ld_shlibs=no
  18074. + fi
  18075. +
  18076. + ;;
  18077. +
  18078. + dgux*)
  18079. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  18080. + hardcode_libdir_flag_spec='-L$libdir'
  18081. + hardcode_shlibpath_var=no
  18082. + ;;
  18083. +
  18084. + freebsd1*)
  18085. + ld_shlibs=no
  18086. + ;;
  18087. +
  18088. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  18089. + # support. Future versions do this automatically, but an explicit c++rt0.o
  18090. + # does not break anything, and helps significantly (at the cost of a little
  18091. + # extra space).
  18092. + freebsd2.2*)
  18093. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  18094. + hardcode_libdir_flag_spec='-R$libdir'
  18095. + hardcode_direct=yes
  18096. + hardcode_shlibpath_var=no
  18097. + ;;
  18098. +
  18099. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  18100. + freebsd2*)
  18101. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  18102. + hardcode_direct=yes
  18103. + hardcode_minus_L=yes
  18104. + hardcode_shlibpath_var=no
  18105. + ;;
  18106. +
  18107. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  18108. + freebsd* | dragonfly*)
  18109. + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  18110. + hardcode_libdir_flag_spec='-R$libdir'
  18111. + hardcode_direct=yes
  18112. + hardcode_shlibpath_var=no
  18113. + ;;
  18114. +
  18115. + hpux9*)
  18116. + if test "$GCC" = yes; then
  18117. + 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'
  18118. + else
  18119. + 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'
  18120. + fi
  18121. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  18122. + hardcode_libdir_separator=:
  18123. + hardcode_direct=yes
  18124. +
  18125. + # hardcode_minus_L: Not really in the search PATH,
  18126. + # but as the default location of the library.
  18127. + hardcode_minus_L=yes
  18128. + export_dynamic_flag_spec='${wl}-E'
  18129. + ;;
  18130. +
  18131. + hpux10*)
  18132. + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  18133. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  18134. + else
  18135. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  18136. + fi
  18137. + if test "$with_gnu_ld" = no; then
  18138. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  18139. + hardcode_libdir_flag_spec_ld='+b $libdir'
  18140. + hardcode_libdir_separator=:
  18141. + hardcode_direct=yes
  18142. + hardcode_direct_absolute=yes
  18143. + export_dynamic_flag_spec='${wl}-E'
  18144. + # hardcode_minus_L: Not really in the search PATH,
  18145. + # but as the default location of the library.
  18146. + hardcode_minus_L=yes
  18147. + fi
  18148. + ;;
  18149. +
  18150. + hpux11*)
  18151. + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  18152. + case $host_cpu in
  18153. + hppa*64*)
  18154. + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  18155. + ;;
  18156. + ia64*)
  18157. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  18158. + ;;
  18159. + *)
  18160. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  18161. + ;;
  18162. + esac
  18163. + else
  18164. + case $host_cpu in
  18165. + hppa*64*)
  18166. + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  18167. + ;;
  18168. + ia64*)
  18169. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  18170. + ;;
  18171. + *)
  18172. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  18173. + ;;
  18174. + esac
  18175. + fi
  18176. + if test "$with_gnu_ld" = no; then
  18177. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  18178. + hardcode_libdir_separator=:
  18179. +
  18180. + case $host_cpu in
  18181. + hppa*64*|ia64*)
  18182. + hardcode_direct=no
  18183. + hardcode_shlibpath_var=no
  18184. + ;;
  18185. + *)
  18186. + hardcode_direct=yes
  18187. + hardcode_direct_absolute=yes
  18188. + export_dynamic_flag_spec='${wl}-E'
  18189. +
  18190. + # hardcode_minus_L: Not really in the search PATH,
  18191. + # but as the default location of the library.
  18192. + hardcode_minus_L=yes
  18193. + ;;
  18194. + esac
  18195. + fi
  18196. + ;;
  18197. +
  18198. + irix5* | irix6* | nonstopux*)
  18199. + if test "$GCC" = yes; then
  18200. + 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'
  18201. + # Try to use the -exported_symbol ld option, if it does not
  18202. + # work, assume that -exports_file does not work either and
  18203. + # implicitly export all symbols.
  18204. + save_LDFLAGS="$LDFLAGS"
  18205. + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  18206. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18207. +/* end confdefs.h. */
  18208. +int foo(void) {}
  18209. +_ACEOF
  18210. +if ac_fn_c_try_link "$LINENO"; then :
  18211. + 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'
  18212. +
  18213. +fi
  18214. +rm -f core conftest.err conftest.$ac_objext \
  18215. + conftest$ac_exeext conftest.$ac_ext
  18216. + LDFLAGS="$save_LDFLAGS"
  18217. + else
  18218. + 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'
  18219. + 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'
  18220. + fi
  18221. + archive_cmds_need_lc='no'
  18222. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  18223. + hardcode_libdir_separator=:
  18224. + inherit_rpath=yes
  18225. + link_all_deplibs=yes
  18226. + ;;
  18227. +
  18228. + netbsd* | netbsdelf*-gnu)
  18229. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  18230. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  18231. + else
  18232. + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  18233. + fi
  18234. + hardcode_libdir_flag_spec='-R$libdir'
  18235. + hardcode_direct=yes
  18236. + hardcode_shlibpath_var=no
  18237. + ;;
  18238. +
  18239. + newsos6)
  18240. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  18241. + hardcode_direct=yes
  18242. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  18243. + hardcode_libdir_separator=:
  18244. + hardcode_shlibpath_var=no
  18245. + ;;
  18246. +
  18247. + *nto* | *qnx*)
  18248. + ;;
  18249. +
  18250. + openbsd*)
  18251. + if test -f /usr/libexec/ld.so; then
  18252. + hardcode_direct=yes
  18253. + hardcode_shlibpath_var=no
  18254. + hardcode_direct_absolute=yes
  18255. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  18256. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  18257. + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  18258. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  18259. + export_dynamic_flag_spec='${wl}-E'
  18260. + else
  18261. + case $host_os in
  18262. + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  18263. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  18264. + hardcode_libdir_flag_spec='-R$libdir'
  18265. + ;;
  18266. + *)
  18267. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  18268. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  18269. + ;;
  18270. + esac
  18271. + fi
  18272. + else
  18273. + ld_shlibs=no
  18274. + fi
  18275. + ;;
  18276. +
  18277. + os2*)
  18278. + hardcode_libdir_flag_spec='-L$libdir'
  18279. + hardcode_minus_L=yes
  18280. + allow_undefined_flag=unsupported
  18281. + 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'
  18282. + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  18283. + ;;
  18284. +
  18285. + osf3*)
  18286. + if test "$GCC" = yes; then
  18287. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  18288. + 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'
  18289. + else
  18290. + allow_undefined_flag=' -expect_unresolved \*'
  18291. + 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'
  18292. + fi
  18293. + archive_cmds_need_lc='no'
  18294. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  18295. + hardcode_libdir_separator=:
  18296. + ;;
  18297. +
  18298. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  18299. + if test "$GCC" = yes; then
  18300. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  18301. + 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'
  18302. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  18303. + else
  18304. + allow_undefined_flag=' -expect_unresolved \*'
  18305. + 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'
  18306. + 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~
  18307. + $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'
  18308. +
  18309. + # Both c and cxx compiler support -rpath directly
  18310. + hardcode_libdir_flag_spec='-rpath $libdir'
  18311. + fi
  18312. + archive_cmds_need_lc='no'
  18313. + hardcode_libdir_separator=:
  18314. + ;;
  18315. +
  18316. + solaris*)
  18317. + no_undefined_flag=' -z defs'
  18318. + if test "$GCC" = yes; then
  18319. + wlarc='${wl}'
  18320. + archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  18321. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  18322. + $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  18323. + else
  18324. + case `$CC -V 2>&1` in
  18325. + *"Compilers 5.0"*)
  18326. + wlarc=''
  18327. + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  18328. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  18329. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  18330. + ;;
  18331. + *)
  18332. + wlarc='${wl}'
  18333. + archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  18334. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  18335. + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  18336. + ;;
  18337. + esac
  18338. + fi
  18339. + hardcode_libdir_flag_spec='-R$libdir'
  18340. + hardcode_shlibpath_var=no
  18341. + case $host_os in
  18342. + solaris2.[0-5] | solaris2.[0-5].*) ;;
  18343. + *)
  18344. + # The compiler driver will combine and reorder linker options,
  18345. + # but understands `-z linker_flag'. GCC discards it without `$wl',
  18346. + # but is careful enough not to reorder.
  18347. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  18348. + if test "$GCC" = yes; then
  18349. + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  18350. + else
  18351. + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  18352. + fi
  18353. + ;;
  18354. + esac
  18355. + link_all_deplibs=yes
  18356. + ;;
  18357. +
  18358. + sunos4*)
  18359. + if test "x$host_vendor" = xsequent; then
  18360. + # Use $CC to link under sequent, because it throws in some extra .o
  18361. + # files that make .init and .fini sections work.
  18362. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  18363. + else
  18364. + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  18365. + fi
  18366. + hardcode_libdir_flag_spec='-L$libdir'
  18367. + hardcode_direct=yes
  18368. + hardcode_minus_L=yes
  18369. + hardcode_shlibpath_var=no
  18370. + ;;
  18371. +
  18372. + sysv4)
  18373. + case $host_vendor in
  18374. + sni)
  18375. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  18376. + hardcode_direct=yes # is this really true???
  18377. + ;;
  18378. + siemens)
  18379. + ## LD is ld it makes a PLAMLIB
  18380. + ## CC just makes a GrossModule.
  18381. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  18382. + reload_cmds='$CC -r -o $output$reload_objs'
  18383. + hardcode_direct=no
  18384. + ;;
  18385. + motorola)
  18386. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  18387. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  18388. + ;;
  18389. + esac
  18390. + runpath_var='LD_RUN_PATH'
  18391. + hardcode_shlibpath_var=no
  18392. + ;;
  18393. +
  18394. + sysv4.3*)
  18395. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  18396. + hardcode_shlibpath_var=no
  18397. + export_dynamic_flag_spec='-Bexport'
  18398. + ;;
  18399. +
  18400. + sysv4*MP*)
  18401. + if test -d /usr/nec; then
  18402. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  18403. + hardcode_shlibpath_var=no
  18404. + runpath_var=LD_RUN_PATH
  18405. + hardcode_runpath_var=yes
  18406. + ld_shlibs=yes
  18407. + fi
  18408. + ;;
  18409. +
  18410. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  18411. + no_undefined_flag='${wl}-z,text'
  18412. + archive_cmds_need_lc=no
  18413. + hardcode_shlibpath_var=no
  18414. + runpath_var='LD_RUN_PATH'
  18415. +
  18416. + if test "$GCC" = yes; then
  18417. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  18418. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  18419. + else
  18420. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  18421. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  18422. + fi
  18423. + ;;
  18424. +
  18425. + sysv5* | sco3.2v5* | sco5v6*)
  18426. + # Note: We can NOT use -z defs as we might desire, because we do not
  18427. + # link with -lc, and that would cause any symbols used from libc to
  18428. + # always be unresolved, which means just about no library would
  18429. + # ever link correctly. If we're not using GNU ld we use -z text
  18430. + # though, which does catch some bad symbols but isn't as heavy-handed
  18431. + # as -z defs.
  18432. + no_undefined_flag='${wl}-z,text'
  18433. + allow_undefined_flag='${wl}-z,nodefs'
  18434. + archive_cmds_need_lc=no
  18435. + hardcode_shlibpath_var=no
  18436. + hardcode_libdir_flag_spec='${wl}-R,$libdir'
  18437. + hardcode_libdir_separator=':'
  18438. + link_all_deplibs=yes
  18439. + export_dynamic_flag_spec='${wl}-Bexport'
  18440. + runpath_var='LD_RUN_PATH'
  18441. +
  18442. + if test "$GCC" = yes; then
  18443. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  18444. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  18445. + else
  18446. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  18447. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  18448. + fi
  18449. + ;;
  18450. +
  18451. + uts4*)
  18452. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  18453. + hardcode_libdir_flag_spec='-L$libdir'
  18454. + hardcode_shlibpath_var=no
  18455. + ;;
  18456. +
  18457. + *)
  18458. + ld_shlibs=no
  18459. + ;;
  18460. + esac
  18461. +
  18462. + if test x$host_vendor = xsni; then
  18463. + case $host in
  18464. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  18465. + export_dynamic_flag_spec='${wl}-Blargedynsym'
  18466. + ;;
  18467. + esac
  18468. + fi
  18469. + fi
  18470. +
  18471. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  18472. +$as_echo "$ld_shlibs" >&6; }
  18473. +test "$ld_shlibs" = no && can_build_shared=no
  18474. +
  18475. +with_gnu_ld=$with_gnu_ld
  18476. +
  18477. +
  18478. +
  18479. +
  18480. +
  18481. +
  18482. +
  18483. +
  18484. +
  18485. +
  18486. +
  18487. +
  18488. +
  18489. +
  18490. +
  18491. +#
  18492. +# Do we need to explicitly link libc?
  18493. +#
  18494. +case "x$archive_cmds_need_lc" in
  18495. +x|xyes)
  18496. + # Assume -lc should be added
  18497. + archive_cmds_need_lc=yes
  18498. +
  18499. + if test "$enable_shared" = yes && test "$GCC" = yes; then
  18500. + case $archive_cmds in
  18501. + *'~'*)
  18502. + # FIXME: we may have to deal with multi-command sequences.
  18503. + ;;
  18504. + '$CC '*)
  18505. + # Test whether the compiler implicitly links with -lc since on some
  18506. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  18507. + # to ld, don't add -lc before -lgcc.
  18508. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  18509. +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  18510. + $RM conftest*
  18511. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  18512. +
  18513. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  18514. + (eval $ac_compile) 2>&5
  18515. + ac_status=$?
  18516. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18517. + test $ac_status = 0; } 2>conftest.err; then
  18518. + soname=conftest
  18519. + lib=conftest
  18520. + libobjs=conftest.$ac_objext
  18521. + deplibs=
  18522. + wl=$lt_prog_compiler_wl
  18523. + pic_flag=$lt_prog_compiler_pic
  18524. + compiler_flags=-v
  18525. + linker_flags=-v
  18526. + verstring=
  18527. + output_objdir=.
  18528. + libname=conftest
  18529. + lt_save_allow_undefined_flag=$allow_undefined_flag
  18530. + allow_undefined_flag=
  18531. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  18532. + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  18533. + ac_status=$?
  18534. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18535. + test $ac_status = 0; }
  18536. + then
  18537. + archive_cmds_need_lc=no
  18538. + else
  18539. + archive_cmds_need_lc=yes
  18540. + fi
  18541. + allow_undefined_flag=$lt_save_allow_undefined_flag
  18542. + else
  18543. + cat conftest.err 1>&5
  18544. + fi
  18545. + $RM conftest*
  18546. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
  18547. +$as_echo "$archive_cmds_need_lc" >&6; }
  18548. + ;;
  18549. + esac
  18550. + fi
  18551. + ;;
  18552. +esac
  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. +
  18708. +
  18709. +
  18710. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  18711. +$as_echo_n "checking dynamic linker characteristics... " >&6; }
  18712. +
  18713. +if test "$GCC" = yes; then
  18714. + case $host_os in
  18715. + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  18716. + *) lt_awk_arg="/^libraries:/" ;;
  18717. + esac
  18718. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  18719. + if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  18720. + # if the path contains ";" then we assume it to be the separator
  18721. + # otherwise default to the standard path separator (i.e. ":") - it is
  18722. + # assumed that no part of a normal pathname contains ";" but that should
  18723. + # okay in the real world where ";" in dirpaths is itself problematic.
  18724. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  18725. + else
  18726. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  18727. + fi
  18728. + # Ok, now we have the path, separated by spaces, we can step through it
  18729. + # and add multilib dir if necessary.
  18730. + lt_tmp_lt_search_path_spec=
  18731. + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  18732. + for lt_sys_path in $lt_search_path_spec; do
  18733. + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  18734. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  18735. + else
  18736. + test -d "$lt_sys_path" && \
  18737. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  18738. + fi
  18739. + done
  18740. + lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  18741. +BEGIN {RS=" "; FS="/|\n";} {
  18742. + lt_foo="";
  18743. + lt_count=0;
  18744. + for (lt_i = NF; lt_i > 0; lt_i--) {
  18745. + if ($lt_i != "" && $lt_i != ".") {
  18746. + if ($lt_i == "..") {
  18747. + lt_count++;
  18748. + } else {
  18749. + if (lt_count == 0) {
  18750. + lt_foo="/" $lt_i lt_foo;
  18751. + } else {
  18752. + lt_count--;
  18753. + }
  18754. + }
  18755. + }
  18756. + }
  18757. + if (lt_foo != "") { lt_freq[lt_foo]++; }
  18758. + if (lt_freq[lt_foo] == 1) { print lt_foo; }
  18759. +}'`
  18760. + sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  18761. +else
  18762. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  18763. +fi
  18764. +library_names_spec=
  18765. +libname_spec='lib$name'
  18766. +soname_spec=
  18767. +shrext_cmds=".so"
  18768. +postinstall_cmds=
  18769. +postuninstall_cmds=
  18770. +finish_cmds=
  18771. +finish_eval=
  18772. +shlibpath_var=
  18773. +shlibpath_overrides_runpath=unknown
  18774. +version_type=none
  18775. +dynamic_linker="$host_os ld.so"
  18776. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  18777. +need_lib_prefix=unknown
  18778. +hardcode_into_libs=no
  18779. +
  18780. +# when you set need_version to no, make sure it does not cause -set_version
  18781. +# flags to be left without arguments
  18782. +need_version=unknown
  18783. +
  18784. +case $host_os in
  18785. +aix3*)
  18786. + version_type=linux
  18787. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  18788. + shlibpath_var=LIBPATH
  18789. +
  18790. + # AIX 3 has no versioning support, so we append a major version to the name.
  18791. + soname_spec='${libname}${release}${shared_ext}$major'
  18792. + ;;
  18793. +
  18794. +aix[4-9]*)
  18795. + version_type=linux
  18796. + need_lib_prefix=no
  18797. + need_version=no
  18798. + hardcode_into_libs=yes
  18799. + if test "$host_cpu" = ia64; then
  18800. + # AIX 5 supports IA64
  18801. + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  18802. + shlibpath_var=LD_LIBRARY_PATH
  18803. + else
  18804. + # With GCC up to 2.95.x, collect2 would create an import file
  18805. + # for dependence libraries. The import file would start with
  18806. + # the line `#! .'. This would cause the generated library to
  18807. + # depend on `.', always an invalid library. This was fixed in
  18808. + # development snapshots of GCC prior to 3.0.
  18809. + case $host_os in
  18810. + aix4 | aix4.[01] | aix4.[01].*)
  18811. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  18812. + echo ' yes '
  18813. + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  18814. + :
  18815. + else
  18816. + can_build_shared=no
  18817. + fi
  18818. + ;;
  18819. + esac
  18820. + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  18821. + # soname into executable. Probably we can add versioning support to
  18822. + # collect2, so additional links can be useful in future.
  18823. + if test "$aix_use_runtimelinking" = yes; then
  18824. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  18825. + # instead of lib<name>.a to let people know that these are not
  18826. + # typical AIX shared libraries.
  18827. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  18828. + else
  18829. + # We preserve .a as extension for shared libraries through AIX4.2
  18830. + # and later when we are not doing run time linking.
  18831. + library_names_spec='${libname}${release}.a $libname.a'
  18832. + soname_spec='${libname}${release}${shared_ext}$major'
  18833. + fi
  18834. + shlibpath_var=LIBPATH
  18835. + fi
  18836. + ;;
  18837. +
  18838. +amigaos*)
  18839. + case $host_cpu in
  18840. + powerpc)
  18841. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  18842. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  18843. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  18844. + ;;
  18845. + m68k)
  18846. + library_names_spec='$libname.ixlibrary $libname.a'
  18847. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  18848. + 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'
  18849. + ;;
  18850. + esac
  18851. + ;;
  18852. +
  18853. +beos*)
  18854. + library_names_spec='${libname}${shared_ext}'
  18855. + dynamic_linker="$host_os ld.so"
  18856. + shlibpath_var=LIBRARY_PATH
  18857. + ;;
  18858. +
  18859. +bsdi[45]*)
  18860. + version_type=linux
  18861. + need_version=no
  18862. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  18863. + soname_spec='${libname}${release}${shared_ext}$major'
  18864. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  18865. + shlibpath_var=LD_LIBRARY_PATH
  18866. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  18867. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  18868. + # the default ld.so.conf also contains /usr/contrib/lib and
  18869. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  18870. + # libtool to hard-code these into programs
  18871. + ;;
  18872. +
  18873. +cygwin* | mingw* | pw32* | cegcc*)
  18874. + version_type=windows
  18875. + shrext_cmds=".dll"
  18876. + need_version=no
  18877. + need_lib_prefix=no
  18878. +
  18879. + case $GCC,$host_os in
  18880. + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  18881. + library_names_spec='$libname.dll.a'
  18882. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  18883. + postinstall_cmds='base_file=`basename \${file}`~
  18884. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  18885. + dldir=$destdir/`dirname \$dlpath`~
  18886. + test -d \$dldir || mkdir -p \$dldir~
  18887. + $install_prog $dir/$dlname \$dldir/$dlname~
  18888. + chmod a+x \$dldir/$dlname~
  18889. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  18890. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  18891. + fi'
  18892. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  18893. + dlpath=$dir/\$dldll~
  18894. + $RM \$dlpath'
  18895. + shlibpath_overrides_runpath=yes
  18896. +
  18897. + case $host_os in
  18898. + cygwin*)
  18899. + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  18900. + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  18901. + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  18902. + ;;
  18903. + mingw* | cegcc*)
  18904. + # MinGW DLLs use traditional 'lib' prefix
  18905. + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  18906. + sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  18907. + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  18908. + # It is most probably a Windows format PATH printed by
  18909. + # mingw gcc, but we are running on Cygwin. Gcc prints its search
  18910. + # path with ; separators, and with drive letters. We can handle the
  18911. + # drive letters (cygwin fileutils understands them), so leave them,
  18912. + # especially as we might pass files found there to a mingw objdump,
  18913. + # which wouldn't understand a cygwinified path. Ahh.
  18914. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  18915. + else
  18916. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  18917. + fi
  18918. + ;;
  18919. + pw32*)
  18920. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  18921. + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  18922. + ;;
  18923. + esac
  18924. + ;;
  18925. +
  18926. + *)
  18927. + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  18928. + ;;
  18929. + esac
  18930. + dynamic_linker='Win32 ld.exe'
  18931. + # FIXME: first we should search . and the directory the executable is in
  18932. + shlibpath_var=PATH
  18933. + ;;
  18934. +
  18935. +darwin* | rhapsody*)
  18936. + dynamic_linker="$host_os dyld"
  18937. + version_type=darwin
  18938. + need_lib_prefix=no
  18939. + need_version=no
  18940. + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  18941. + soname_spec='${libname}${release}${major}$shared_ext'
  18942. + shlibpath_overrides_runpath=yes
  18943. + shlibpath_var=DYLD_LIBRARY_PATH
  18944. + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  18945. +
  18946. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  18947. + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  18948. + ;;
  18949. +
  18950. +dgux*)
  18951. + version_type=linux
  18952. + need_lib_prefix=no
  18953. + need_version=no
  18954. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  18955. + soname_spec='${libname}${release}${shared_ext}$major'
  18956. + shlibpath_var=LD_LIBRARY_PATH
  18957. + ;;
  18958. +
  18959. +freebsd1*)
  18960. + dynamic_linker=no
  18961. + ;;
  18962. +
  18963. +freebsd* | dragonfly*)
  18964. + # DragonFly does not have aout. When/if they implement a new
  18965. + # versioning mechanism, adjust this.
  18966. + if test -x /usr/bin/objformat; then
  18967. + objformat=`/usr/bin/objformat`
  18968. + else
  18969. + case $host_os in
  18970. + freebsd[123]*) objformat=aout ;;
  18971. + *) objformat=elf ;;
  18972. + esac
  18973. + fi
  18974. + version_type=freebsd-$objformat
  18975. + case $version_type in
  18976. + freebsd-elf*)
  18977. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  18978. + need_version=no
  18979. + need_lib_prefix=no
  18980. + ;;
  18981. + freebsd-*)
  18982. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  18983. + need_version=yes
  18984. + ;;
  18985. + esac
  18986. + shlibpath_var=LD_LIBRARY_PATH
  18987. + case $host_os in
  18988. + freebsd2*)
  18989. + shlibpath_overrides_runpath=yes
  18990. + ;;
  18991. + freebsd3.[01]* | freebsdelf3.[01]*)
  18992. + shlibpath_overrides_runpath=yes
  18993. + hardcode_into_libs=yes
  18994. + ;;
  18995. + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  18996. + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  18997. + shlibpath_overrides_runpath=no
  18998. + hardcode_into_libs=yes
  18999. + ;;
  19000. + *) # from 4.6 on, and DragonFly
  19001. + shlibpath_overrides_runpath=yes
  19002. + hardcode_into_libs=yes
  19003. + ;;
  19004. + esac
  19005. + ;;
  19006. +
  19007. +gnu*)
  19008. + version_type=linux
  19009. + need_lib_prefix=no
  19010. + need_version=no
  19011. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  19012. + soname_spec='${libname}${release}${shared_ext}$major'
  19013. + shlibpath_var=LD_LIBRARY_PATH
  19014. + hardcode_into_libs=yes
  19015. + ;;
  19016. +
  19017. +hpux9* | hpux10* | hpux11*)
  19018. + # Give a soname corresponding to the major version so that dld.sl refuses to
  19019. + # link against other versions.
  19020. + version_type=sunos
  19021. + need_lib_prefix=no
  19022. + need_version=no
  19023. + case $host_cpu in
  19024. + ia64*)
  19025. + shrext_cmds='.so'
  19026. + hardcode_into_libs=yes
  19027. + dynamic_linker="$host_os dld.so"
  19028. + shlibpath_var=LD_LIBRARY_PATH
  19029. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  19030. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19031. + soname_spec='${libname}${release}${shared_ext}$major'
  19032. + if test "X$HPUX_IA64_MODE" = X32; then
  19033. + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  19034. + else
  19035. + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  19036. + fi
  19037. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  19038. + ;;
  19039. + hppa*64*)
  19040. + shrext_cmds='.sl'
  19041. + hardcode_into_libs=yes
  19042. + dynamic_linker="$host_os dld.sl"
  19043. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  19044. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  19045. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19046. + soname_spec='${libname}${release}${shared_ext}$major'
  19047. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  19048. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  19049. + ;;
  19050. + *)
  19051. + shrext_cmds='.sl'
  19052. + dynamic_linker="$host_os dld.sl"
  19053. + shlibpath_var=SHLIB_PATH
  19054. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  19055. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19056. + soname_spec='${libname}${release}${shared_ext}$major'
  19057. + ;;
  19058. + esac
  19059. + # HP-UX runs *really* slowly unless shared libraries are mode 555.
  19060. + postinstall_cmds='chmod 555 $lib'
  19061. + ;;
  19062. +
  19063. +interix[3-9]*)
  19064. + version_type=linux
  19065. + need_lib_prefix=no
  19066. + need_version=no
  19067. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  19068. + soname_spec='${libname}${release}${shared_ext}$major'
  19069. + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  19070. + shlibpath_var=LD_LIBRARY_PATH
  19071. + shlibpath_overrides_runpath=no
  19072. + hardcode_into_libs=yes
  19073. + ;;
  19074. +
  19075. +irix5* | irix6* | nonstopux*)
  19076. + case $host_os in
  19077. + nonstopux*) version_type=nonstopux ;;
  19078. + *)
  19079. + if test "$lt_cv_prog_gnu_ld" = yes; then
  19080. + version_type=linux
  19081. + else
  19082. + version_type=irix
  19083. + fi ;;
  19084. + esac
  19085. + need_lib_prefix=no
  19086. + need_version=no
  19087. + soname_spec='${libname}${release}${shared_ext}$major'
  19088. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  19089. + case $host_os in
  19090. + irix5* | nonstopux*)
  19091. + libsuff= shlibsuff=
  19092. + ;;
  19093. + *)
  19094. + case $LD in # libtool.m4 will add one of these switches to LD
  19095. + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  19096. + libsuff= shlibsuff= libmagic=32-bit;;
  19097. + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  19098. + libsuff=32 shlibsuff=N32 libmagic=N32;;
  19099. + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  19100. + libsuff=64 shlibsuff=64 libmagic=64-bit;;
  19101. + *) libsuff= shlibsuff= libmagic=never-match;;
  19102. + esac
  19103. + ;;
  19104. + esac
  19105. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  19106. + shlibpath_overrides_runpath=no
  19107. + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  19108. + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  19109. + hardcode_into_libs=yes
  19110. + ;;
  19111. +
  19112. +# No shared lib support for Linux oldld, aout, or coff.
  19113. +linux*oldld* | linux*aout* | linux*coff*)
  19114. + dynamic_linker=no
  19115. + ;;
  19116. +
  19117. +# This must be Linux ELF.
  19118. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  19119. + version_type=linux
  19120. + need_lib_prefix=no
  19121. + need_version=no
  19122. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19123. + soname_spec='${libname}${release}${shared_ext}$major'
  19124. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  19125. + shlibpath_var=LD_LIBRARY_PATH
  19126. + shlibpath_overrides_runpath=no
  19127. + # Some binutils ld are patched to set DT_RUNPATH
  19128. + save_LDFLAGS=$LDFLAGS
  19129. + save_libdir=$libdir
  19130. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  19131. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  19132. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19133. +/* end confdefs.h. */
  19134. +
  19135. +int
  19136. +main ()
  19137. +{
  19138. +
  19139. + ;
  19140. + return 0;
  19141. +}
  19142. +_ACEOF
  19143. +if ac_fn_c_try_link "$LINENO"; then :
  19144. + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  19145. + shlibpath_overrides_runpath=yes
  19146. +fi
  19147. +fi
  19148. +rm -f core conftest.err conftest.$ac_objext \
  19149. + conftest$ac_exeext conftest.$ac_ext
  19150. + LDFLAGS=$save_LDFLAGS
  19151. + libdir=$save_libdir
  19152. +
  19153. + # This implies no fast_install, which is unacceptable.
  19154. + # Some rework will be needed to allow for fast_install
  19155. + # before this can be enabled.
  19156. + hardcode_into_libs=yes
  19157. +
  19158. + # Append ld.so.conf contents to the search path
  19159. + if test -f /etc/ld.so.conf; then
  19160. + 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' ' '`
  19161. + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  19162. + fi
  19163. +
  19164. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  19165. + # powerpc, because MkLinux only supported shared libraries with the
  19166. + # GNU dynamic linker. Since this was broken with cross compilers,
  19167. + # most powerpc-linux boxes support dynamic linking these days and
  19168. + # people can always --disable-shared, the test was removed, and we
  19169. + # assume the GNU/Linux dynamic linker is in use.
  19170. + dynamic_linker='GNU/Linux ld.so'
  19171. + ;;
  19172. +
  19173. +netbsdelf*-gnu)
  19174. + version_type=linux
  19175. + need_lib_prefix=no
  19176. + need_version=no
  19177. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  19178. + soname_spec='${libname}${release}${shared_ext}$major'
  19179. + shlibpath_var=LD_LIBRARY_PATH
  19180. + shlibpath_overrides_runpath=no
  19181. + hardcode_into_libs=yes
  19182. + dynamic_linker='NetBSD ld.elf_so'
  19183. + ;;
  19184. +
  19185. +netbsd*)
  19186. + version_type=sunos
  19187. + need_lib_prefix=no
  19188. + need_version=no
  19189. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  19190. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  19191. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  19192. + dynamic_linker='NetBSD (a.out) ld.so'
  19193. + else
  19194. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  19195. + soname_spec='${libname}${release}${shared_ext}$major'
  19196. + dynamic_linker='NetBSD ld.elf_so'
  19197. + fi
  19198. + shlibpath_var=LD_LIBRARY_PATH
  19199. + shlibpath_overrides_runpath=yes
  19200. + hardcode_into_libs=yes
  19201. + ;;
  19202. +
  19203. +newsos6)
  19204. + version_type=linux
  19205. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19206. + shlibpath_var=LD_LIBRARY_PATH
  19207. + shlibpath_overrides_runpath=yes
  19208. + ;;
  19209. +
  19210. +*nto* | *qnx*)
  19211. + version_type=qnx
  19212. + need_lib_prefix=no
  19213. + need_version=no
  19214. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19215. + soname_spec='${libname}${release}${shared_ext}$major'
  19216. + shlibpath_var=LD_LIBRARY_PATH
  19217. + shlibpath_overrides_runpath=no
  19218. + hardcode_into_libs=yes
  19219. + dynamic_linker='ldqnx.so'
  19220. + ;;
  19221. +
  19222. +openbsd*)
  19223. + version_type=sunos
  19224. + sys_lib_dlsearch_path_spec="/usr/lib"
  19225. + need_lib_prefix=no
  19226. + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  19227. + case $host_os in
  19228. + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  19229. + *) need_version=no ;;
  19230. + esac
  19231. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  19232. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  19233. + shlibpath_var=LD_LIBRARY_PATH
  19234. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  19235. + case $host_os in
  19236. + openbsd2.[89] | openbsd2.[89].*)
  19237. + shlibpath_overrides_runpath=no
  19238. + ;;
  19239. + *)
  19240. + shlibpath_overrides_runpath=yes
  19241. + ;;
  19242. + esac
  19243. + else
  19244. + shlibpath_overrides_runpath=yes
  19245. + fi
  19246. + ;;
  19247. +
  19248. +os2*)
  19249. + libname_spec='$name'
  19250. + shrext_cmds=".dll"
  19251. + need_lib_prefix=no
  19252. + library_names_spec='$libname${shared_ext} $libname.a'
  19253. + dynamic_linker='OS/2 ld.exe'
  19254. + shlibpath_var=LIBPATH
  19255. + ;;
  19256. +
  19257. +osf3* | osf4* | osf5*)
  19258. + version_type=osf
  19259. + need_lib_prefix=no
  19260. + need_version=no
  19261. + soname_spec='${libname}${release}${shared_ext}$major'
  19262. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19263. + shlibpath_var=LD_LIBRARY_PATH
  19264. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  19265. + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  19266. + ;;
  19267. +
  19268. +rdos*)
  19269. + dynamic_linker=no
  19270. + ;;
  19271. +
  19272. +solaris*)
  19273. + version_type=linux
  19274. + need_lib_prefix=no
  19275. + need_version=no
  19276. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19277. + soname_spec='${libname}${release}${shared_ext}$major'
  19278. + shlibpath_var=LD_LIBRARY_PATH
  19279. + shlibpath_overrides_runpath=yes
  19280. + hardcode_into_libs=yes
  19281. + # ldd complains unless libraries are executable
  19282. + postinstall_cmds='chmod +x $lib'
  19283. + ;;
  19284. +
  19285. +sunos4*)
  19286. + version_type=sunos
  19287. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  19288. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  19289. + shlibpath_var=LD_LIBRARY_PATH
  19290. + shlibpath_overrides_runpath=yes
  19291. + if test "$with_gnu_ld" = yes; then
  19292. + need_lib_prefix=no
  19293. + fi
  19294. + need_version=yes
  19295. + ;;
  19296. +
  19297. +sysv4 | sysv4.3*)
  19298. + version_type=linux
  19299. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19300. + soname_spec='${libname}${release}${shared_ext}$major'
  19301. + shlibpath_var=LD_LIBRARY_PATH
  19302. + case $host_vendor in
  19303. + sni)
  19304. + shlibpath_overrides_runpath=no
  19305. + need_lib_prefix=no
  19306. + runpath_var=LD_RUN_PATH
  19307. + ;;
  19308. + siemens)
  19309. + need_lib_prefix=no
  19310. + ;;
  19311. + motorola)
  19312. + need_lib_prefix=no
  19313. + need_version=no
  19314. + shlibpath_overrides_runpath=no
  19315. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  19316. + ;;
  19317. + esac
  19318. + ;;
  19319. +
  19320. +sysv4*MP*)
  19321. + if test -d /usr/nec ;then
  19322. + version_type=linux
  19323. + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  19324. + soname_spec='$libname${shared_ext}.$major'
  19325. + shlibpath_var=LD_LIBRARY_PATH
  19326. + fi
  19327. + ;;
  19328. +
  19329. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  19330. + version_type=freebsd-elf
  19331. + need_lib_prefix=no
  19332. + need_version=no
  19333. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  19334. + soname_spec='${libname}${release}${shared_ext}$major'
  19335. + shlibpath_var=LD_LIBRARY_PATH
  19336. + shlibpath_overrides_runpath=yes
  19337. + hardcode_into_libs=yes
  19338. + if test "$with_gnu_ld" = yes; then
  19339. + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  19340. + else
  19341. + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  19342. + case $host_os in
  19343. + sco3.2v5*)
  19344. + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  19345. + ;;
  19346. + esac
  19347. + fi
  19348. + sys_lib_dlsearch_path_spec='/usr/lib'
  19349. + ;;
  19350. +
  19351. +tpf*)
  19352. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  19353. + version_type=linux
  19354. + need_lib_prefix=no
  19355. + need_version=no
  19356. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19357. + shlibpath_var=LD_LIBRARY_PATH
  19358. + shlibpath_overrides_runpath=no
  19359. + hardcode_into_libs=yes
  19360. + ;;
  19361. +
  19362. +uts4*)
  19363. + version_type=linux
  19364. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19365. + soname_spec='${libname}${release}${shared_ext}$major'
  19366. + shlibpath_var=LD_LIBRARY_PATH
  19367. + ;;
  19368. +
  19369. +*)
  19370. + dynamic_linker=no
  19371. + ;;
  19372. +esac
  19373. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  19374. +$as_echo "$dynamic_linker" >&6; }
  19375. +test "$dynamic_linker" = no && can_build_shared=no
  19376. +
  19377. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  19378. +if test "$GCC" = yes; then
  19379. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  19380. +fi
  19381. +
  19382. +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  19383. + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  19384. +fi
  19385. +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  19386. + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  19387. +fi
  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. +
  19473. +
  19474. +
  19475. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  19476. +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  19477. +hardcode_action=
  19478. +if test -n "$hardcode_libdir_flag_spec" ||
  19479. + test -n "$runpath_var" ||
  19480. + test "X$hardcode_automatic" = "Xyes" ; then
  19481. +
  19482. + # We can hardcode non-existent directories.
  19483. + if test "$hardcode_direct" != no &&
  19484. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  19485. + # have to relink, otherwise we might link with an installed library
  19486. + # when we should be linking with a yet-to-be-installed one
  19487. + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  19488. + test "$hardcode_minus_L" != no; then
  19489. + # Linking always hardcodes the temporary library directory.
  19490. + hardcode_action=relink
  19491. + else
  19492. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  19493. + hardcode_action=immediate
  19494. + fi
  19495. +else
  19496. + # We cannot hardcode anything, or else we can only hardcode existing
  19497. + # directories.
  19498. + hardcode_action=unsupported
  19499. +fi
  19500. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  19501. +$as_echo "$hardcode_action" >&6; }
  19502. +
  19503. +if test "$hardcode_action" = relink ||
  19504. + test "$inherit_rpath" = yes; then
  19505. + # Fast installation is not supported
  19506. + enable_fast_install=no
  19507. +elif test "$shlibpath_overrides_runpath" = yes ||
  19508. + test "$enable_shared" = no; then
  19509. + # Fast installation is not necessary
  19510. + enable_fast_install=needless
  19511. +fi
  19512. +
  19513. +
  19514. +
  19515. +
  19516. +
  19517. +
  19518. + if test "x$enable_dlopen" != xyes; then
  19519. + enable_dlopen=unknown
  19520. + enable_dlopen_self=unknown
  19521. + enable_dlopen_self_static=unknown
  19522. +else
  19523. + lt_cv_dlopen=no
  19524. + lt_cv_dlopen_libs=
  19525. +
  19526. + case $host_os in
  19527. + beos*)
  19528. + lt_cv_dlopen="load_add_on"
  19529. + lt_cv_dlopen_libs=
  19530. + lt_cv_dlopen_self=yes
  19531. + ;;
  19532. +
  19533. + mingw* | pw32* | cegcc*)
  19534. + lt_cv_dlopen="LoadLibrary"
  19535. + lt_cv_dlopen_libs=
  19536. + ;;
  19537. +
  19538. + cygwin*)
  19539. + lt_cv_dlopen="dlopen"
  19540. + lt_cv_dlopen_libs=
  19541. + ;;
  19542. +
  19543. + darwin*)
  19544. + # if libdl is installed we need to link against it
  19545. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  19546. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  19547. +if ${ac_cv_lib_dl_dlopen+:} false; then :
  19548. + $as_echo_n "(cached) " >&6
  19549. +else
  19550. + ac_check_lib_save_LIBS=$LIBS
  19551. +LIBS="-ldl $LIBS"
  19552. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19553. +/* end confdefs.h. */
  19554. +
  19555. +/* Override any GCC internal prototype to avoid an error.
  19556. + Use char because int might match the return type of a GCC
  19557. + builtin and then its argument prototype would still apply. */
  19558. +#ifdef __cplusplus
  19559. +extern "C"
  19560. +#endif
  19561. +char dlopen ();
  19562. +int
  19563. +main ()
  19564. +{
  19565. +return dlopen ();
  19566. + ;
  19567. + return 0;
  19568. +}
  19569. +_ACEOF
  19570. +if ac_fn_c_try_link "$LINENO"; then :
  19571. + ac_cv_lib_dl_dlopen=yes
  19572. +else
  19573. + ac_cv_lib_dl_dlopen=no
  19574. +fi
  19575. +rm -f core conftest.err conftest.$ac_objext \
  19576. + conftest$ac_exeext conftest.$ac_ext
  19577. +LIBS=$ac_check_lib_save_LIBS
  19578. +fi
  19579. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  19580. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  19581. +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  19582. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  19583. +else
  19584. +
  19585. + lt_cv_dlopen="dyld"
  19586. + lt_cv_dlopen_libs=
  19587. + lt_cv_dlopen_self=yes
  19588. +
  19589. +fi
  19590. +
  19591. + ;;
  19592. +
  19593. + *)
  19594. + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  19595. +if test "x$ac_cv_func_shl_load" = xyes; then :
  19596. + lt_cv_dlopen="shl_load"
  19597. +else
  19598. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  19599. +$as_echo_n "checking for shl_load in -ldld... " >&6; }
  19600. +if ${ac_cv_lib_dld_shl_load+:} false; then :
  19601. + $as_echo_n "(cached) " >&6
  19602. +else
  19603. + ac_check_lib_save_LIBS=$LIBS
  19604. +LIBS="-ldld $LIBS"
  19605. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19606. +/* end confdefs.h. */
  19607. +
  19608. +/* Override any GCC internal prototype to avoid an error.
  19609. + Use char because int might match the return type of a GCC
  19610. + builtin and then its argument prototype would still apply. */
  19611. +#ifdef __cplusplus
  19612. +extern "C"
  19613. +#endif
  19614. +char shl_load ();
  19615. +int
  19616. +main ()
  19617. +{
  19618. +return shl_load ();
  19619. + ;
  19620. + return 0;
  19621. +}
  19622. +_ACEOF
  19623. +if ac_fn_c_try_link "$LINENO"; then :
  19624. + ac_cv_lib_dld_shl_load=yes
  19625. +else
  19626. + ac_cv_lib_dld_shl_load=no
  19627. +fi
  19628. +rm -f core conftest.err conftest.$ac_objext \
  19629. + conftest$ac_exeext conftest.$ac_ext
  19630. +LIBS=$ac_check_lib_save_LIBS
  19631. +fi
  19632. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  19633. +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  19634. +if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  19635. + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  19636. +else
  19637. + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  19638. +if test "x$ac_cv_func_dlopen" = xyes; then :
  19639. + lt_cv_dlopen="dlopen"
  19640. +else
  19641. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  19642. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  19643. +if ${ac_cv_lib_dl_dlopen+:} false; then :
  19644. + $as_echo_n "(cached) " >&6
  19645. +else
  19646. + ac_check_lib_save_LIBS=$LIBS
  19647. +LIBS="-ldl $LIBS"
  19648. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19649. +/* end confdefs.h. */
  19650. +
  19651. +/* Override any GCC internal prototype to avoid an error.
  19652. + Use char because int might match the return type of a GCC
  19653. + builtin and then its argument prototype would still apply. */
  19654. +#ifdef __cplusplus
  19655. +extern "C"
  19656. +#endif
  19657. +char dlopen ();
  19658. +int
  19659. +main ()
  19660. +{
  19661. +return dlopen ();
  19662. + ;
  19663. + return 0;
  19664. +}
  19665. +_ACEOF
  19666. +if ac_fn_c_try_link "$LINENO"; then :
  19667. + ac_cv_lib_dl_dlopen=yes
  19668. +else
  19669. + ac_cv_lib_dl_dlopen=no
  19670. +fi
  19671. +rm -f core conftest.err conftest.$ac_objext \
  19672. + conftest$ac_exeext conftest.$ac_ext
  19673. +LIBS=$ac_check_lib_save_LIBS
  19674. +fi
  19675. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  19676. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  19677. +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  19678. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  19679. +else
  19680. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  19681. +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  19682. +if ${ac_cv_lib_svld_dlopen+:} false; then :
  19683. + $as_echo_n "(cached) " >&6
  19684. +else
  19685. + ac_check_lib_save_LIBS=$LIBS
  19686. +LIBS="-lsvld $LIBS"
  19687. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19688. +/* end confdefs.h. */
  19689. +
  19690. +/* Override any GCC internal prototype to avoid an error.
  19691. + Use char because int might match the return type of a GCC
  19692. + builtin and then its argument prototype would still apply. */
  19693. +#ifdef __cplusplus
  19694. +extern "C"
  19695. +#endif
  19696. +char dlopen ();
  19697. +int
  19698. +main ()
  19699. +{
  19700. +return dlopen ();
  19701. + ;
  19702. + return 0;
  19703. +}
  19704. +_ACEOF
  19705. +if ac_fn_c_try_link "$LINENO"; then :
  19706. + ac_cv_lib_svld_dlopen=yes
  19707. +else
  19708. + ac_cv_lib_svld_dlopen=no
  19709. +fi
  19710. +rm -f core conftest.err conftest.$ac_objext \
  19711. + conftest$ac_exeext conftest.$ac_ext
  19712. +LIBS=$ac_check_lib_save_LIBS
  19713. +fi
  19714. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  19715. +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  19716. +if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  19717. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  19718. +else
  19719. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  19720. +$as_echo_n "checking for dld_link in -ldld... " >&6; }
  19721. +if ${ac_cv_lib_dld_dld_link+:} false; then :
  19722. + $as_echo_n "(cached) " >&6
  19723. +else
  19724. + ac_check_lib_save_LIBS=$LIBS
  19725. +LIBS="-ldld $LIBS"
  19726. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19727. +/* end confdefs.h. */
  19728. +
  19729. +/* Override any GCC internal prototype to avoid an error.
  19730. + Use char because int might match the return type of a GCC
  19731. + builtin and then its argument prototype would still apply. */
  19732. +#ifdef __cplusplus
  19733. +extern "C"
  19734. +#endif
  19735. +char dld_link ();
  19736. +int
  19737. +main ()
  19738. +{
  19739. +return dld_link ();
  19740. + ;
  19741. + return 0;
  19742. +}
  19743. +_ACEOF
  19744. +if ac_fn_c_try_link "$LINENO"; then :
  19745. + ac_cv_lib_dld_dld_link=yes
  19746. +else
  19747. + ac_cv_lib_dld_dld_link=no
  19748. +fi
  19749. +rm -f core conftest.err conftest.$ac_objext \
  19750. + conftest$ac_exeext conftest.$ac_ext
  19751. +LIBS=$ac_check_lib_save_LIBS
  19752. +fi
  19753. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  19754. +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  19755. +if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  19756. + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  19757. +fi
  19758. +
  19759. +
  19760. +fi
  19761. +
  19762. +
  19763. +fi
  19764. +
  19765. +
  19766. +fi
  19767. +
  19768. +
  19769. +fi
  19770. +
  19771. +
  19772. +fi
  19773. +
  19774. + ;;
  19775. + esac
  19776. +
  19777. + if test "x$lt_cv_dlopen" != xno; then
  19778. + enable_dlopen=yes
  19779. + else
  19780. + enable_dlopen=no
  19781. + fi
  19782. +
  19783. + case $lt_cv_dlopen in
  19784. + dlopen)
  19785. + save_CPPFLAGS="$CPPFLAGS"
  19786. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  19787. +
  19788. + save_LDFLAGS="$LDFLAGS"
  19789. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  19790. +
  19791. + save_LIBS="$LIBS"
  19792. + LIBS="$lt_cv_dlopen_libs $LIBS"
  19793. +
  19794. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  19795. +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
  19796. +if ${lt_cv_dlopen_self+:} false; then :
  19797. + $as_echo_n "(cached) " >&6
  19798. +else
  19799. + if test "$cross_compiling" = yes; then :
  19800. + lt_cv_dlopen_self=cross
  19801. +else
  19802. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  19803. + lt_status=$lt_dlunknown
  19804. + cat > conftest.$ac_ext <<_LT_EOF
  19805. +#line __oline__ "configure"
  19806. +#include "confdefs.h"
  19807. +
  19808. +#if HAVE_DLFCN_H
  19809. +#include <dlfcn.h>
  19810. +#endif
  19811. +
  19812. +#include <stdio.h>
  19813. +
  19814. +#ifdef RTLD_GLOBAL
  19815. +# define LT_DLGLOBAL RTLD_GLOBAL
  19816. +#else
  19817. +# ifdef DL_GLOBAL
  19818. +# define LT_DLGLOBAL DL_GLOBAL
  19819. +# else
  19820. +# define LT_DLGLOBAL 0
  19821. +# endif
  19822. +#endif
  19823. +
  19824. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  19825. + find out it does not work in some platform. */
  19826. +#ifndef LT_DLLAZY_OR_NOW
  19827. +# ifdef RTLD_LAZY
  19828. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  19829. +# else
  19830. +# ifdef DL_LAZY
  19831. +# define LT_DLLAZY_OR_NOW DL_LAZY
  19832. +# else
  19833. +# ifdef RTLD_NOW
  19834. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  19835. +# else
  19836. +# ifdef DL_NOW
  19837. +# define LT_DLLAZY_OR_NOW DL_NOW
  19838. +# else
  19839. +# define LT_DLLAZY_OR_NOW 0
  19840. +# endif
  19841. +# endif
  19842. +# endif
  19843. +# endif
  19844. +#endif
  19845. +
  19846. +void fnord() { int i=42;}
  19847. +int main ()
  19848. +{
  19849. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  19850. + int status = $lt_dlunknown;
  19851. +
  19852. + if (self)
  19853. + {
  19854. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  19855. + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  19856. + /* dlclose (self); */
  19857. + }
  19858. + else
  19859. + puts (dlerror ());
  19860. +
  19861. + return status;
  19862. +}
  19863. +_LT_EOF
  19864. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  19865. + (eval $ac_link) 2>&5
  19866. + ac_status=$?
  19867. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  19868. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  19869. + (./conftest; exit; ) >&5 2>/dev/null
  19870. + lt_status=$?
  19871. + case x$lt_status in
  19872. + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  19873. + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  19874. + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  19875. + esac
  19876. + else :
  19877. + # compilation failed
  19878. + lt_cv_dlopen_self=no
  19879. + fi
  19880. +fi
  19881. +rm -fr conftest*
  19882. +
  19883. +
  19884. +fi
  19885. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  19886. +$as_echo "$lt_cv_dlopen_self" >&6; }
  19887. +
  19888. + if test "x$lt_cv_dlopen_self" = xyes; then
  19889. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  19890. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  19891. +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  19892. +if ${lt_cv_dlopen_self_static+:} false; then :
  19893. + $as_echo_n "(cached) " >&6
  19894. +else
  19895. + if test "$cross_compiling" = yes; then :
  19896. + lt_cv_dlopen_self_static=cross
  19897. +else
  19898. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  19899. + lt_status=$lt_dlunknown
  19900. + cat > conftest.$ac_ext <<_LT_EOF
  19901. +#line __oline__ "configure"
  19902. +#include "confdefs.h"
  19903. +
  19904. +#if HAVE_DLFCN_H
  19905. +#include <dlfcn.h>
  19906. +#endif
  19907. +
  19908. +#include <stdio.h>
  19909. +
  19910. +#ifdef RTLD_GLOBAL
  19911. +# define LT_DLGLOBAL RTLD_GLOBAL
  19912. +#else
  19913. +# ifdef DL_GLOBAL
  19914. +# define LT_DLGLOBAL DL_GLOBAL
  19915. +# else
  19916. +# define LT_DLGLOBAL 0
  19917. +# endif
  19918. +#endif
  19919. +
  19920. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  19921. + find out it does not work in some platform. */
  19922. +#ifndef LT_DLLAZY_OR_NOW
  19923. +# ifdef RTLD_LAZY
  19924. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  19925. +# else
  19926. +# ifdef DL_LAZY
  19927. +# define LT_DLLAZY_OR_NOW DL_LAZY
  19928. +# else
  19929. +# ifdef RTLD_NOW
  19930. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  19931. +# else
  19932. +# ifdef DL_NOW
  19933. +# define LT_DLLAZY_OR_NOW DL_NOW
  19934. +# else
  19935. +# define LT_DLLAZY_OR_NOW 0
  19936. +# endif
  19937. +# endif
  19938. +# endif
  19939. +# endif
  19940. +#endif
  19941. +
  19942. +void fnord() { int i=42;}
  19943. +int main ()
  19944. +{
  19945. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  19946. + int status = $lt_dlunknown;
  19947. +
  19948. + if (self)
  19949. + {
  19950. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  19951. + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  19952. + /* dlclose (self); */
  19953. + }
  19954. + else
  19955. + puts (dlerror ());
  19956. +
  19957. + return status;
  19958. +}
  19959. +_LT_EOF
  19960. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  19961. + (eval $ac_link) 2>&5
  19962. + ac_status=$?
  19963. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  19964. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  19965. + (./conftest; exit; ) >&5 2>/dev/null
  19966. + lt_status=$?
  19967. + case x$lt_status in
  19968. + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  19969. + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  19970. + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  19971. + esac
  19972. + else :
  19973. + # compilation failed
  19974. + lt_cv_dlopen_self_static=no
  19975. + fi
  19976. +fi
  19977. +rm -fr conftest*
  19978. +
  19979. +
  19980. +fi
  19981. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  19982. +$as_echo "$lt_cv_dlopen_self_static" >&6; }
  19983. + fi
  19984. +
  19985. + CPPFLAGS="$save_CPPFLAGS"
  19986. + LDFLAGS="$save_LDFLAGS"
  19987. + LIBS="$save_LIBS"
  19988. + ;;
  19989. + esac
  19990. +
  19991. + case $lt_cv_dlopen_self in
  19992. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  19993. + *) enable_dlopen_self=unknown ;;
  19994. + esac
  19995. +
  19996. + case $lt_cv_dlopen_self_static in
  19997. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  19998. + *) enable_dlopen_self_static=unknown ;;
  19999. + esac
  20000. +fi
  20001. +
  20002. +
  20003. +
  20004. +
  20005. +
  20006. +
  20007. +
  20008. +
  20009. +
  20010. +
  20011. +
  20012. +
  20013. +
  20014. +
  20015. +
  20016. +
  20017. +
  20018. +striplib=
  20019. +old_striplib=
  20020. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  20021. +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
  20022. +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  20023. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  20024. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  20025. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20026. +$as_echo "yes" >&6; }
  20027. +else
  20028. +# FIXME - insert some real tests, host_os isn't really good enough
  20029. + case $host_os in
  20030. + darwin*)
  20031. + if test -n "$STRIP" ; then
  20032. + striplib="$STRIP -x"
  20033. + old_striplib="$STRIP -S"
  20034. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20035. +$as_echo "yes" >&6; }
  20036. + else
  20037. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20038. +$as_echo "no" >&6; }
  20039. + fi
  20040. + ;;
  20041. + *)
  20042. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20043. +$as_echo "no" >&6; }
  20044. + ;;
  20045. + esac
  20046. +fi
  20047. +
  20048. +
  20049. +
  20050. +
  20051. +
  20052. +
  20053. +
  20054. +
  20055. +
  20056. +
  20057. +
  20058. +
  20059. + # Report which library types will actually be built
  20060. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  20061. +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
  20062. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  20063. +$as_echo "$can_build_shared" >&6; }
  20064. +
  20065. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  20066. +$as_echo_n "checking whether to build shared libraries... " >&6; }
  20067. + test "$can_build_shared" = "no" && enable_shared=no
  20068. +
  20069. + # On AIX, shared libraries and static libraries use the same namespace, and
  20070. + # are all built from PIC.
  20071. + case $host_os in
  20072. + aix3*)
  20073. + test "$enable_shared" = yes && enable_static=no
  20074. + if test -n "$RANLIB"; then
  20075. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  20076. + postinstall_cmds='$RANLIB $lib'
  20077. + fi
  20078. + ;;
  20079. +
  20080. + aix[4-9]*)
  20081. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  20082. + test "$enable_shared" = yes && enable_static=no
  20083. + fi
  20084. + ;;
  20085. + esac
  20086. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  20087. +$as_echo "$enable_shared" >&6; }
  20088. +
  20089. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  20090. +$as_echo_n "checking whether to build static libraries... " >&6; }
  20091. + # Make sure either enable_shared or enable_static is yes.
  20092. + test "$enable_shared" = yes || enable_static=yes
  20093. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  20094. +$as_echo "$enable_static" >&6; }
  20095. +
  20096. +
  20097. +
  20098. +
  20099. +fi
  20100. +ac_ext=c
  20101. +ac_cpp='$CPP $CPPFLAGS'
  20102. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  20103. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  20104. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  20105. +
  20106. +CC="$lt_save_CC"
  20107. +
  20108. +
  20109. +
  20110. +
  20111. +
  20112. +
  20113. +
  20114. +
  20115. +
  20116. +
  20117. +
  20118. +
  20119. +
  20120. + ac_config_commands="$ac_config_commands libtool"
  20121. +
  20122. +
  20123. +
  20124. +
  20125. +# Only expand once:
  20126. +
  20127. +
  20128. +
  20129. +ac_ext=c
  20130. +ac_cpp='$CPP $CPPFLAGS'
  20131. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  20132. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  20133. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  20134. +if test -n "$ac_tool_prefix"; then
  20135. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  20136. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  20137. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20138. +$as_echo_n "checking for $ac_word... " >&6; }
  20139. +if ${ac_cv_prog_CC+:} false; then :
  20140. + $as_echo_n "(cached) " >&6
  20141. +else
  20142. + if test -n "$CC"; then
  20143. + ac_cv_prog_CC="$CC" # Let the user override the test.
  20144. +else
  20145. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20146. +for as_dir in $PATH
  20147. +do
  20148. + IFS=$as_save_IFS
  20149. + test -z "$as_dir" && as_dir=.
  20150. + for ac_exec_ext in '' $ac_executable_extensions; do
  20151. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  20152. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  20153. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20154. + break 2
  20155. + fi
  20156. +done
  20157. + done
  20158. +IFS=$as_save_IFS
  20159. +
  20160. +fi
  20161. +fi
  20162. +CC=$ac_cv_prog_CC
  20163. +if test -n "$CC"; then
  20164. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  20165. +$as_echo "$CC" >&6; }
  20166. +else
  20167. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20168. +$as_echo "no" >&6; }
  20169. +fi
  20170. +
  20171. +
  20172. +fi
  20173. +if test -z "$ac_cv_prog_CC"; then
  20174. + ac_ct_CC=$CC
  20175. + # Extract the first word of "gcc", so it can be a program name with args.
  20176. +set dummy gcc; ac_word=$2
  20177. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20178. +$as_echo_n "checking for $ac_word... " >&6; }
  20179. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  20180. + $as_echo_n "(cached) " >&6
  20181. +else
  20182. + if test -n "$ac_ct_CC"; then
  20183. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  20184. +else
  20185. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20186. +for as_dir in $PATH
  20187. +do
  20188. + IFS=$as_save_IFS
  20189. + test -z "$as_dir" && as_dir=.
  20190. + for ac_exec_ext in '' $ac_executable_extensions; do
  20191. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  20192. + ac_cv_prog_ac_ct_CC="gcc"
  20193. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20194. + break 2
  20195. + fi
  20196. +done
  20197. + done
  20198. +IFS=$as_save_IFS
  20199. +
  20200. +fi
  20201. +fi
  20202. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  20203. +if test -n "$ac_ct_CC"; then
  20204. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  20205. +$as_echo "$ac_ct_CC" >&6; }
  20206. +else
  20207. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20208. +$as_echo "no" >&6; }
  20209. +fi
  20210. +
  20211. + if test "x$ac_ct_CC" = x; then
  20212. + CC=""
  20213. + else
  20214. + case $cross_compiling:$ac_tool_warned in
  20215. +yes:)
  20216. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  20217. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  20218. +ac_tool_warned=yes ;;
  20219. +esac
  20220. + CC=$ac_ct_CC
  20221. + fi
  20222. +else
  20223. + CC="$ac_cv_prog_CC"
  20224. +fi
  20225. +
  20226. +if test -z "$CC"; then
  20227. + if test -n "$ac_tool_prefix"; then
  20228. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  20229. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  20230. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20231. +$as_echo_n "checking for $ac_word... " >&6; }
  20232. +if ${ac_cv_prog_CC+:} false; then :
  20233. + $as_echo_n "(cached) " >&6
  20234. +else
  20235. + if test -n "$CC"; then
  20236. + ac_cv_prog_CC="$CC" # Let the user override the test.
  20237. +else
  20238. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20239. +for as_dir in $PATH
  20240. +do
  20241. + IFS=$as_save_IFS
  20242. + test -z "$as_dir" && as_dir=.
  20243. + for ac_exec_ext in '' $ac_executable_extensions; do
  20244. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  20245. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  20246. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20247. + break 2
  20248. + fi
  20249. +done
  20250. + done
  20251. +IFS=$as_save_IFS
  20252. +
  20253. +fi
  20254. +fi
  20255. +CC=$ac_cv_prog_CC
  20256. +if test -n "$CC"; then
  20257. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  20258. +$as_echo "$CC" >&6; }
  20259. +else
  20260. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20261. +$as_echo "no" >&6; }
  20262. +fi
  20263. +
  20264. +
  20265. + fi
  20266. +fi
  20267. +if test -z "$CC"; then
  20268. + # Extract the first word of "cc", so it can be a program name with args.
  20269. +set dummy cc; ac_word=$2
  20270. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20271. +$as_echo_n "checking for $ac_word... " >&6; }
  20272. +if ${ac_cv_prog_CC+:} false; then :
  20273. + $as_echo_n "(cached) " >&6
  20274. +else
  20275. + if test -n "$CC"; then
  20276. + ac_cv_prog_CC="$CC" # Let the user override the test.
  20277. +else
  20278. + ac_prog_rejected=no
  20279. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20280. +for as_dir in $PATH
  20281. +do
  20282. + IFS=$as_save_IFS
  20283. + test -z "$as_dir" && as_dir=.
  20284. + for ac_exec_ext in '' $ac_executable_extensions; do
  20285. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  20286. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  20287. + ac_prog_rejected=yes
  20288. + continue
  20289. + fi
  20290. + ac_cv_prog_CC="cc"
  20291. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20292. + break 2
  20293. + fi
  20294. +done
  20295. + done
  20296. +IFS=$as_save_IFS
  20297. +
  20298. +if test $ac_prog_rejected = yes; then
  20299. + # We found a bogon in the path, so make sure we never use it.
  20300. + set dummy $ac_cv_prog_CC
  20301. + shift
  20302. + if test $@%:@ != 0; then
  20303. + # We chose a different compiler from the bogus one.
  20304. + # However, it has the same basename, so the bogon will be chosen
  20305. + # first if we set CC to just the basename; use the full file name.
  20306. + shift
  20307. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  20308. + fi
  20309. +fi
  20310. +fi
  20311. +fi
  20312. +CC=$ac_cv_prog_CC
  20313. +if test -n "$CC"; then
  20314. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  20315. +$as_echo "$CC" >&6; }
  20316. +else
  20317. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20318. +$as_echo "no" >&6; }
  20319. +fi
  20320. +
  20321. +
  20322. +fi
  20323. +if test -z "$CC"; then
  20324. + if test -n "$ac_tool_prefix"; then
  20325. + for ac_prog in cl.exe
  20326. + do
  20327. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  20328. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  20329. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20330. +$as_echo_n "checking for $ac_word... " >&6; }
  20331. +if ${ac_cv_prog_CC+:} false; then :
  20332. + $as_echo_n "(cached) " >&6
  20333. +else
  20334. + if test -n "$CC"; then
  20335. + ac_cv_prog_CC="$CC" # Let the user override the test.
  20336. +else
  20337. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20338. +for as_dir in $PATH
  20339. +do
  20340. + IFS=$as_save_IFS
  20341. + test -z "$as_dir" && as_dir=.
  20342. + for ac_exec_ext in '' $ac_executable_extensions; do
  20343. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  20344. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  20345. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20346. + break 2
  20347. + fi
  20348. +done
  20349. + done
  20350. +IFS=$as_save_IFS
  20351. +
  20352. +fi
  20353. +fi
  20354. +CC=$ac_cv_prog_CC
  20355. +if test -n "$CC"; then
  20356. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  20357. +$as_echo "$CC" >&6; }
  20358. +else
  20359. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20360. +$as_echo "no" >&6; }
  20361. +fi
  20362. +
  20363. +
  20364. + test -n "$CC" && break
  20365. + done
  20366. +fi
  20367. +if test -z "$CC"; then
  20368. + ac_ct_CC=$CC
  20369. + for ac_prog in cl.exe
  20370. +do
  20371. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  20372. +set dummy $ac_prog; ac_word=$2
  20373. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20374. +$as_echo_n "checking for $ac_word... " >&6; }
  20375. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  20376. + $as_echo_n "(cached) " >&6
  20377. +else
  20378. + if test -n "$ac_ct_CC"; then
  20379. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  20380. +else
  20381. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20382. +for as_dir in $PATH
  20383. +do
  20384. + IFS=$as_save_IFS
  20385. + test -z "$as_dir" && as_dir=.
  20386. + for ac_exec_ext in '' $ac_executable_extensions; do
  20387. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  20388. + ac_cv_prog_ac_ct_CC="$ac_prog"
  20389. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20390. + break 2
  20391. + fi
  20392. +done
  20393. + done
  20394. +IFS=$as_save_IFS
  20395. +
  20396. +fi
  20397. +fi
  20398. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  20399. +if test -n "$ac_ct_CC"; then
  20400. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  20401. +$as_echo "$ac_ct_CC" >&6; }
  20402. +else
  20403. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20404. +$as_echo "no" >&6; }
  20405. +fi
  20406. +
  20407. +
  20408. + test -n "$ac_ct_CC" && break
  20409. +done
  20410. +
  20411. + if test "x$ac_ct_CC" = x; then
  20412. + CC=""
  20413. + else
  20414. + case $cross_compiling:$ac_tool_warned in
  20415. +yes:)
  20416. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  20417. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  20418. +ac_tool_warned=yes ;;
  20419. +esac
  20420. + CC=$ac_ct_CC
  20421. + fi
  20422. +fi
  20423. +
  20424. +fi
  20425. +
  20426. +
  20427. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  20428. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  20429. +as_fn_error $? "no acceptable C compiler found in \$PATH
  20430. +See \`config.log' for more details" "$LINENO" 5; }
  20431. +
  20432. +# Provide some information about the compiler.
  20433. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  20434. +set X $ac_compile
  20435. +ac_compiler=$2
  20436. +for ac_option in --version -v -V -qversion; do
  20437. + { { ac_try="$ac_compiler $ac_option >&5"
  20438. +case "(($ac_try" in
  20439. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20440. + *) ac_try_echo=$ac_try;;
  20441. +esac
  20442. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  20443. +$as_echo "$ac_try_echo"; } >&5
  20444. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  20445. + ac_status=$?
  20446. + if test -s conftest.err; then
  20447. + sed '10a\
  20448. +... rest of stderr output deleted ...
  20449. + 10q' conftest.err >conftest.er1
  20450. + cat conftest.er1 >&5
  20451. + fi
  20452. + rm -f conftest.er1 conftest.err
  20453. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  20454. + test $ac_status = 0; }
  20455. +done
  20456. +
  20457. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  20458. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  20459. +if ${ac_cv_c_compiler_gnu+:} false; then :
  20460. + $as_echo_n "(cached) " >&6
  20461. +else
  20462. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20463. +/* end confdefs.h. */
  20464. +
  20465. +int
  20466. +main ()
  20467. +{
  20468. +#ifndef __GNUC__
  20469. + choke me
  20470. +#endif
  20471. +
  20472. + ;
  20473. + return 0;
  20474. +}
  20475. +_ACEOF
  20476. +if ac_fn_c_try_compile "$LINENO"; then :
  20477. + ac_compiler_gnu=yes
  20478. +else
  20479. + ac_compiler_gnu=no
  20480. +fi
  20481. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20482. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  20483. +
  20484. +fi
  20485. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  20486. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  20487. +if test $ac_compiler_gnu = yes; then
  20488. + GCC=yes
  20489. +else
  20490. + GCC=
  20491. +fi
  20492. +ac_test_CFLAGS=${CFLAGS+set}
  20493. +ac_save_CFLAGS=$CFLAGS
  20494. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  20495. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  20496. +if ${ac_cv_prog_cc_g+:} false; then :
  20497. + $as_echo_n "(cached) " >&6
  20498. +else
  20499. + ac_save_c_werror_flag=$ac_c_werror_flag
  20500. + ac_c_werror_flag=yes
  20501. + ac_cv_prog_cc_g=no
  20502. + CFLAGS="-g"
  20503. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20504. +/* end confdefs.h. */
  20505. +
  20506. +int
  20507. +main ()
  20508. +{
  20509. +
  20510. + ;
  20511. + return 0;
  20512. +}
  20513. +_ACEOF
  20514. +if ac_fn_c_try_compile "$LINENO"; then :
  20515. + ac_cv_prog_cc_g=yes
  20516. +else
  20517. + CFLAGS=""
  20518. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20519. +/* end confdefs.h. */
  20520. +
  20521. +int
  20522. +main ()
  20523. +{
  20524. +
  20525. + ;
  20526. + return 0;
  20527. +}
  20528. +_ACEOF
  20529. +if ac_fn_c_try_compile "$LINENO"; then :
  20530. +
  20531. +else
  20532. + ac_c_werror_flag=$ac_save_c_werror_flag
  20533. + CFLAGS="-g"
  20534. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20535. +/* end confdefs.h. */
  20536. +
  20537. +int
  20538. +main ()
  20539. +{
  20540. +
  20541. + ;
  20542. + return 0;
  20543. +}
  20544. +_ACEOF
  20545. +if ac_fn_c_try_compile "$LINENO"; then :
  20546. + ac_cv_prog_cc_g=yes
  20547. +fi
  20548. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20549. +fi
  20550. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20551. +fi
  20552. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20553. + ac_c_werror_flag=$ac_save_c_werror_flag
  20554. +fi
  20555. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  20556. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  20557. +if test "$ac_test_CFLAGS" = set; then
  20558. + CFLAGS=$ac_save_CFLAGS
  20559. +elif test $ac_cv_prog_cc_g = yes; then
  20560. + if test "$GCC" = yes; then
  20561. + CFLAGS="-g -O2"
  20562. + else
  20563. + CFLAGS="-g"
  20564. + fi
  20565. +else
  20566. + if test "$GCC" = yes; then
  20567. + CFLAGS="-O2"
  20568. + else
  20569. + CFLAGS=
  20570. + fi
  20571. +fi
  20572. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  20573. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  20574. +if ${ac_cv_prog_cc_c89+:} false; then :
  20575. + $as_echo_n "(cached) " >&6
  20576. +else
  20577. + ac_cv_prog_cc_c89=no
  20578. +ac_save_CC=$CC
  20579. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20580. +/* end confdefs.h. */
  20581. +#include <stdarg.h>
  20582. +#include <stdio.h>
  20583. +struct stat;
  20584. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  20585. +struct buf { int x; };
  20586. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  20587. +static char *e (p, i)
  20588. + char **p;
  20589. + int i;
  20590. +{
  20591. + return p[i];
  20592. +}
  20593. +static char *f (char * (*g) (char **, int), char **p, ...)
  20594. +{
  20595. + char *s;
  20596. + va_list v;
  20597. + va_start (v,p);
  20598. + s = g (p, va_arg (v,int));
  20599. + va_end (v);
  20600. + return s;
  20601. +}
  20602. +
  20603. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  20604. + function prototypes and stuff, but not '\xHH' hex character constants.
  20605. + These don't provoke an error unfortunately, instead are silently treated
  20606. + as 'x'. The following induces an error, until -std is added to get
  20607. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  20608. + array size at least. It's necessary to write '\x00'==0 to get something
  20609. + that's true only with -std. */
  20610. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  20611. +
  20612. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  20613. + inside strings and character constants. */
  20614. +#define FOO(x) 'x'
  20615. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  20616. +
  20617. +int test (int i, double x);
  20618. +struct s1 {int (*f) (int a);};
  20619. +struct s2 {int (*f) (double a);};
  20620. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  20621. +int argc;
  20622. +char **argv;
  20623. +int
  20624. +main ()
  20625. +{
  20626. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  20627. + ;
  20628. + return 0;
  20629. +}
  20630. +_ACEOF
  20631. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  20632. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  20633. +do
  20634. + CC="$ac_save_CC $ac_arg"
  20635. + if ac_fn_c_try_compile "$LINENO"; then :
  20636. + ac_cv_prog_cc_c89=$ac_arg
  20637. +fi
  20638. +rm -f core conftest.err conftest.$ac_objext
  20639. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  20640. +done
  20641. +rm -f conftest.$ac_ext
  20642. +CC=$ac_save_CC
  20643. +
  20644. +fi
  20645. +# AC_CACHE_VAL
  20646. +case "x$ac_cv_prog_cc_c89" in
  20647. + x)
  20648. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  20649. +$as_echo "none needed" >&6; } ;;
  20650. + xno)
  20651. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  20652. +$as_echo "unsupported" >&6; } ;;
  20653. + *)
  20654. + CC="$CC $ac_cv_prog_cc_c89"
  20655. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  20656. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  20657. +esac
  20658. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  20659. +
  20660. +fi
  20661. +
  20662. +ac_ext=c
  20663. +ac_cpp='$CPP $CPPFLAGS'
  20664. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  20665. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  20666. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  20667. +
  20668. +ac_ext=c
  20669. +ac_cpp='$CPP $CPPFLAGS'
  20670. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  20671. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  20672. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  20673. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  20674. +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  20675. +if ${am_cv_prog_cc_c_o+:} false; then :
  20676. + $as_echo_n "(cached) " >&6
  20677. +else
  20678. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20679. +/* end confdefs.h. */
  20680. +
  20681. +int
  20682. +main ()
  20683. +{
  20684. +
  20685. + ;
  20686. + return 0;
  20687. +}
  20688. +_ACEOF
  20689. + # Make sure it works both with $CC and with simple cc.
  20690. + # Following AC_PROG_CC_C_O, we do the test twice because some
  20691. + # compilers refuse to overwrite an existing .o file with -o,
  20692. + # though they will create one.
  20693. + am_cv_prog_cc_c_o=yes
  20694. + for am_i in 1 2; do
  20695. + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  20696. + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  20697. + ac_status=$?
  20698. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20699. + (exit $ac_status); } \
  20700. + && test -f conftest2.$ac_objext; then
  20701. + : OK
  20702. + else
  20703. + am_cv_prog_cc_c_o=no
  20704. + break
  20705. + fi
  20706. + done
  20707. + rm -f core conftest*
  20708. + unset am_i
  20709. +fi
  20710. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  20711. +$as_echo "$am_cv_prog_cc_c_o" >&6; }
  20712. +if test "$am_cv_prog_cc_c_o" != yes; then
  20713. + # Losing compiler, so override with the script.
  20714. + # FIXME: It is wrong to rewrite CC.
  20715. + # But if we don't then we get into trouble of one sort or another.
  20716. + # A longer-term fix would be to have automake use am__CC in this case,
  20717. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  20718. + CC="$am_aux_dir/compile $CC"
  20719. +fi
  20720. +ac_ext=c
  20721. +ac_cpp='$CPP $CPPFLAGS'
  20722. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  20723. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  20724. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  20725. +
  20726. +
  20727. +depcc="$CC" am_compiler_list=
  20728. +
  20729. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  20730. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  20731. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  20732. + $as_echo_n "(cached) " >&6
  20733. +else
  20734. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  20735. + # We make a subdir and do the tests there. Otherwise we can end up
  20736. + # making bogus files that we don't know about and never remove. For
  20737. + # instance it was reported that on HP-UX the gcc test will end up
  20738. + # making a dummy file named 'D' -- because '-MD' means "put the output
  20739. + # in D".
  20740. + rm -rf conftest.dir
  20741. + mkdir conftest.dir
  20742. + # Copy depcomp to subdir because otherwise we won't find it if we're
  20743. + # using a relative directory.
  20744. + cp "$am_depcomp" conftest.dir
  20745. + cd conftest.dir
  20746. + # We will build objects and dependencies in a subdirectory because
  20747. + # it helps to detect inapplicable dependency modes. For instance
  20748. + # both Tru64's cc and ICC support -MD to output dependencies as a
  20749. + # side effect of compilation, but ICC will put the dependencies in
  20750. + # the current directory while Tru64 will put them in the object
  20751. + # directory.
  20752. + mkdir sub
  20753. +
  20754. + am_cv_CC_dependencies_compiler_type=none
  20755. + if test "$am_compiler_list" = ""; then
  20756. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  20757. + fi
  20758. + am__universal=false
  20759. + case " $depcc " in #(
  20760. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  20761. + esac
  20762. +
  20763. + for depmode in $am_compiler_list; do
  20764. + # Setup a source with many dependencies, because some compilers
  20765. + # like to wrap large dependency lists on column 80 (with \), and
  20766. + # we should not choose a depcomp mode which is confused by this.
  20767. + #
  20768. + # We need to recreate these files for each test, as the compiler may
  20769. + # overwrite some of them when testing with obscure command lines.
  20770. + # This happens at least with the AIX C compiler.
  20771. + : > sub/conftest.c
  20772. + for i in 1 2 3 4 5 6; do
  20773. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  20774. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  20775. + # Solaris 10 /bin/sh.
  20776. + echo '/* dummy */' > sub/conftst$i.h
  20777. + done
  20778. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  20779. +
  20780. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  20781. + # mode. It turns out that the SunPro C++ compiler does not properly
  20782. + # handle '-M -o', and we need to detect this. Also, some Intel
  20783. + # versions had trouble with output in subdirs.
  20784. + am__obj=sub/conftest.${OBJEXT-o}
  20785. + am__minus_obj="-o $am__obj"
  20786. + case $depmode in
  20787. + gcc)
  20788. + # This depmode causes a compiler race in universal mode.
  20789. + test "$am__universal" = false || continue
  20790. + ;;
  20791. + nosideeffect)
  20792. + # After this tag, mechanisms are not by side-effect, so they'll
  20793. + # only be used when explicitly requested.
  20794. + if test "x$enable_dependency_tracking" = xyes; then
  20795. + continue
  20796. + else
  20797. + break
  20798. + fi
  20799. + ;;
  20800. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  20801. + # This compiler won't grok '-c -o', but also, the minuso test has
  20802. + # not run yet. These depmodes are late enough in the game, and
  20803. + # so weak that their functioning should not be impacted.
  20804. + am__obj=conftest.${OBJEXT-o}
  20805. + am__minus_obj=
  20806. + ;;
  20807. + none) break ;;
  20808. + esac
  20809. + if depmode=$depmode \
  20810. + source=sub/conftest.c object=$am__obj \
  20811. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  20812. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  20813. + >/dev/null 2>conftest.err &&
  20814. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  20815. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  20816. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  20817. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  20818. + # icc doesn't choke on unknown options, it will just issue warnings
  20819. + # or remarks (even with -Werror). So we grep stderr for any message
  20820. + # that says an option was ignored or not supported.
  20821. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  20822. + # icc: Command line warning: ignoring option '-M'; no argument required
  20823. + # The diagnosis changed in icc 8.0:
  20824. + # icc: Command line remark: option '-MP' not supported
  20825. + if (grep 'ignoring option' conftest.err ||
  20826. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  20827. + am_cv_CC_dependencies_compiler_type=$depmode
  20828. + break
  20829. + fi
  20830. + fi
  20831. + done
  20832. +
  20833. + cd ..
  20834. + rm -rf conftest.dir
  20835. +else
  20836. + am_cv_CC_dependencies_compiler_type=none
  20837. +fi
  20838. +
  20839. +fi
  20840. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  20841. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  20842. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  20843. +
  20844. + if
  20845. + test "x$enable_dependency_tracking" != xno \
  20846. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  20847. + am__fastdepCC_TRUE=
  20848. + am__fastdepCC_FALSE='#'
  20849. +else
  20850. + am__fastdepCC_TRUE='#'
  20851. + am__fastdepCC_FALSE=
  20852. +fi
  20853. +
  20854. +
  20855. +
  20856. +# Compiler Flags
  20857. +
  20858. +#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'
  20859. +INCLUDES='-DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  20860. +
  20861. +# Checks whether shifting of signed integers works: -1 << 3 = -8 .
  20862. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shifting of signed integers works" >&5
  20863. +$as_echo_n "checking whether shifting of signed integers works... " >&6; }
  20864. +if ${ac_cv_signed_shift+:} false; then :
  20865. + $as_echo_n "(cached) " >&6
  20866. +else
  20867. + if test "$cross_compiling" = yes; then :
  20868. + ac_cv_signed_shift=yes
  20869. +else
  20870. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20871. +/* end confdefs.h. */
  20872. +main () {
  20873. + exit ((-1 << 2) == -4 && (-4 >> 2) == -1);
  20874. +}
  20875. +_ACEOF
  20876. +if ac_fn_c_try_run "$LINENO"; then :
  20877. + ac_cv_signed_shift=no
  20878. +else
  20879. + ac_cv_signed_shift=yes
  20880. +fi
  20881. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  20882. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  20883. +fi
  20884. +
  20885. +fi
  20886. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_signed_shift" >&5
  20887. +$as_echo "$ac_cv_signed_shift" >&6; }
  20888. +if test $ac_cv_signed_shift = yes; then
  20889. + $as_echo "@%:@define HAVE_SIGNED_SHIFT 1" >>confdefs.h
  20890. +
  20891. +fi
  20892. +
  20893. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  20894. +$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  20895. +if ${ac_cv_c_bigendian+:} false; then :
  20896. + $as_echo_n "(cached) " >&6
  20897. +else
  20898. + ac_cv_c_bigendian=unknown
  20899. + # See if we're dealing with a universal compiler.
  20900. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20901. +/* end confdefs.h. */
  20902. +#ifndef __APPLE_CC__
  20903. + not a universal capable compiler
  20904. + #endif
  20905. + typedef int dummy;
  20906. +
  20907. +_ACEOF
  20908. +if ac_fn_c_try_compile "$LINENO"; then :
  20909. +
  20910. + # Check for potential -arch flags. It is not universal unless
  20911. + # there are at least two -arch flags with different values.
  20912. + ac_arch=
  20913. + ac_prev=
  20914. + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  20915. + if test -n "$ac_prev"; then
  20916. + case $ac_word in
  20917. + i?86 | x86_64 | ppc | ppc64)
  20918. + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  20919. + ac_arch=$ac_word
  20920. + else
  20921. + ac_cv_c_bigendian=universal
  20922. + break
  20923. + fi
  20924. + ;;
  20925. + esac
  20926. + ac_prev=
  20927. + elif test "x$ac_word" = "x-arch"; then
  20928. + ac_prev=arch
  20929. + fi
  20930. + done
  20931. +fi
  20932. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20933. + if test $ac_cv_c_bigendian = unknown; then
  20934. + # See if sys/param.h defines the BYTE_ORDER macro.
  20935. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20936. +/* end confdefs.h. */
  20937. +#include <sys/types.h>
  20938. + #include <sys/param.h>
  20939. +
  20940. +int
  20941. +main ()
  20942. +{
  20943. +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  20944. + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  20945. + && LITTLE_ENDIAN)
  20946. + bogus endian macros
  20947. + #endif
  20948. +
  20949. + ;
  20950. + return 0;
  20951. +}
  20952. +_ACEOF
  20953. +if ac_fn_c_try_compile "$LINENO"; then :
  20954. + # It does; now see whether it defined to BIG_ENDIAN or not.
  20955. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20956. +/* end confdefs.h. */
  20957. +#include <sys/types.h>
  20958. + #include <sys/param.h>
  20959. +
  20960. +int
  20961. +main ()
  20962. +{
  20963. +#if BYTE_ORDER != BIG_ENDIAN
  20964. + not big endian
  20965. + #endif
  20966. +
  20967. + ;
  20968. + return 0;
  20969. +}
  20970. +_ACEOF
  20971. +if ac_fn_c_try_compile "$LINENO"; then :
  20972. + ac_cv_c_bigendian=yes
  20973. +else
  20974. + ac_cv_c_bigendian=no
  20975. +fi
  20976. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20977. +fi
  20978. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20979. + fi
  20980. + if test $ac_cv_c_bigendian = unknown; then
  20981. + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  20982. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20983. +/* end confdefs.h. */
  20984. +#include <limits.h>
  20985. +
  20986. +int
  20987. +main ()
  20988. +{
  20989. +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  20990. + bogus endian macros
  20991. + #endif
  20992. +
  20993. + ;
  20994. + return 0;
  20995. +}
  20996. +_ACEOF
  20997. +if ac_fn_c_try_compile "$LINENO"; then :
  20998. + # It does; now see whether it defined to _BIG_ENDIAN or not.
  20999. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21000. +/* end confdefs.h. */
  21001. +#include <limits.h>
  21002. +
  21003. +int
  21004. +main ()
  21005. +{
  21006. +#ifndef _BIG_ENDIAN
  21007. + not big endian
  21008. + #endif
  21009. +
  21010. + ;
  21011. + return 0;
  21012. +}
  21013. +_ACEOF
  21014. +if ac_fn_c_try_compile "$LINENO"; then :
  21015. + ac_cv_c_bigendian=yes
  21016. +else
  21017. + ac_cv_c_bigendian=no
  21018. +fi
  21019. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21020. +fi
  21021. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21022. + fi
  21023. + if test $ac_cv_c_bigendian = unknown; then
  21024. + # Compile a test program.
  21025. + if test "$cross_compiling" = yes; then :
  21026. + # Try to guess by grepping values from an object file.
  21027. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21028. +/* end confdefs.h. */
  21029. +short int ascii_mm[] =
  21030. + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  21031. + short int ascii_ii[] =
  21032. + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  21033. + int use_ascii (int i) {
  21034. + return ascii_mm[i] + ascii_ii[i];
  21035. + }
  21036. + short int ebcdic_ii[] =
  21037. + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  21038. + short int ebcdic_mm[] =
  21039. + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  21040. + int use_ebcdic (int i) {
  21041. + return ebcdic_mm[i] + ebcdic_ii[i];
  21042. + }
  21043. + extern int foo;
  21044. +
  21045. +int
  21046. +main ()
  21047. +{
  21048. +return use_ascii (foo) == use_ebcdic (foo);
  21049. + ;
  21050. + return 0;
  21051. +}
  21052. +_ACEOF
  21053. +if ac_fn_c_try_compile "$LINENO"; then :
  21054. + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  21055. + ac_cv_c_bigendian=yes
  21056. + fi
  21057. + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  21058. + if test "$ac_cv_c_bigendian" = unknown; then
  21059. + ac_cv_c_bigendian=no
  21060. + else
  21061. + # finding both strings is unlikely to happen, but who knows?
  21062. + ac_cv_c_bigendian=unknown
  21063. + fi
  21064. + fi
  21065. +fi
  21066. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21067. +else
  21068. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21069. +/* end confdefs.h. */
  21070. +$ac_includes_default
  21071. +int
  21072. +main ()
  21073. +{
  21074. +
  21075. + /* Are we little or big endian? From Harbison&Steele. */
  21076. + union
  21077. + {
  21078. + long int l;
  21079. + char c[sizeof (long int)];
  21080. + } u;
  21081. + u.l = 1;
  21082. + return u.c[sizeof (long int) - 1] == 1;
  21083. +
  21084. + ;
  21085. + return 0;
  21086. +}
  21087. +_ACEOF
  21088. +if ac_fn_c_try_run "$LINENO"; then :
  21089. + ac_cv_c_bigendian=no
  21090. +else
  21091. + ac_cv_c_bigendian=yes
  21092. +fi
  21093. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  21094. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  21095. +fi
  21096. +
  21097. + fi
  21098. +fi
  21099. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  21100. +$as_echo "$ac_cv_c_bigendian" >&6; }
  21101. + case $ac_cv_c_bigendian in #(
  21102. + yes)
  21103. + $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
  21104. +;; #(
  21105. + no)
  21106. + ;; #(
  21107. + universal)
  21108. +
  21109. +$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  21110. +
  21111. + ;; #(
  21112. + *)
  21113. + as_fn_error $? "unknown endianness
  21114. + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  21115. + esac
  21116. +
  21117. +# The cast to long int works around a bug in the HP C Compiler
  21118. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  21119. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  21120. +# This bug is HP SR number 8606223364.
  21121. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
  21122. +$as_echo_n "checking size of char... " >&6; }
  21123. +if ${ac_cv_sizeof_char+:} false; then :
  21124. + $as_echo_n "(cached) " >&6
  21125. +else
  21126. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
  21127. +
  21128. +else
  21129. + if test "$ac_cv_type_char" = yes; then
  21130. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  21131. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  21132. +as_fn_error 77 "cannot compute sizeof (char)
  21133. +See \`config.log' for more details" "$LINENO" 5; }
  21134. + else
  21135. + ac_cv_sizeof_char=0
  21136. + fi
  21137. +fi
  21138. +
  21139. +fi
  21140. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
  21141. +$as_echo "$ac_cv_sizeof_char" >&6; }
  21142. +
  21143. +
  21144. +
  21145. +cat >>confdefs.h <<_ACEOF
  21146. +@%:@define SIZEOF_CHAR $ac_cv_sizeof_char
  21147. +_ACEOF
  21148. +
  21149. +
  21150. +# The cast to long int works around a bug in the HP C Compiler
  21151. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  21152. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  21153. +# This bug is HP SR number 8606223364.
  21154. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
  21155. +$as_echo_n "checking size of short... " >&6; }
  21156. +if ${ac_cv_sizeof_short+:} false; then :
  21157. + $as_echo_n "(cached) " >&6
  21158. +else
  21159. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
  21160. +
  21161. +else
  21162. + if test "$ac_cv_type_short" = yes; then
  21163. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  21164. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  21165. +as_fn_error 77 "cannot compute sizeof (short)
  21166. +See \`config.log' for more details" "$LINENO" 5; }
  21167. + else
  21168. + ac_cv_sizeof_short=0
  21169. + fi
  21170. +fi
  21171. +
  21172. +fi
  21173. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
  21174. +$as_echo "$ac_cv_sizeof_short" >&6; }
  21175. +
  21176. +
  21177. +
  21178. +cat >>confdefs.h <<_ACEOF
  21179. +@%:@define SIZEOF_SHORT $ac_cv_sizeof_short
  21180. +_ACEOF
  21181. +
  21182. +
  21183. +# The cast to long int works around a bug in the HP C Compiler
  21184. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  21185. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  21186. +# This bug is HP SR number 8606223364.
  21187. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
  21188. +$as_echo_n "checking size of int... " >&6; }
  21189. +if ${ac_cv_sizeof_int+:} false; then :
  21190. + $as_echo_n "(cached) " >&6
  21191. +else
  21192. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
  21193. +
  21194. +else
  21195. + if test "$ac_cv_type_int" = yes; then
  21196. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  21197. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  21198. +as_fn_error 77 "cannot compute sizeof (int)
  21199. +See \`config.log' for more details" "$LINENO" 5; }
  21200. + else
  21201. + ac_cv_sizeof_int=0
  21202. + fi
  21203. +fi
  21204. +
  21205. +fi
  21206. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
  21207. +$as_echo "$ac_cv_sizeof_int" >&6; }
  21208. +
  21209. +
  21210. +
  21211. +cat >>confdefs.h <<_ACEOF
  21212. +@%:@define SIZEOF_INT $ac_cv_sizeof_int
  21213. +_ACEOF
  21214. +
  21215. +
  21216. +
  21217. +if test $ac_cv_sizeof_char != 1 -o $ac_cv_sizeof_short != 2 -o $ac_cv_sizeof_int != 4 ; then
  21218. + echo "FIASCO requires that sizeof(char)==1, sizeof(short)==2 and sizeof(int)==4"
  21219. + echo "configure failed."
  21220. + exit 1
  21221. +fi
  21222. +
  21223. +# Checks for math library.
  21224. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
  21225. +$as_echo_n "checking for log in -lm... " >&6; }
  21226. +if ${ac_cv_lib_m_log+:} false; then :
  21227. + $as_echo_n "(cached) " >&6
  21228. +else
  21229. + ac_check_lib_save_LIBS=$LIBS
  21230. +LIBS="-lm $LIBS"
  21231. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21232. +/* end confdefs.h. */
  21233. +
  21234. +/* Override any GCC internal prototype to avoid an error.
  21235. + Use char because int might match the return type of a GCC
  21236. + builtin and then its argument prototype would still apply. */
  21237. +#ifdef __cplusplus
  21238. +extern "C"
  21239. +#endif
  21240. +char log ();
  21241. +int
  21242. +main ()
  21243. +{
  21244. +return log ();
  21245. + ;
  21246. + return 0;
  21247. +}
  21248. +_ACEOF
  21249. +if ac_fn_c_try_link "$LINENO"; then :
  21250. + ac_cv_lib_m_log=yes
  21251. +else
  21252. + ac_cv_lib_m_log=no
  21253. +fi
  21254. +rm -f core conftest.err conftest.$ac_objext \
  21255. + conftest$ac_exeext conftest.$ac_ext
  21256. +LIBS=$ac_check_lib_save_LIBS
  21257. +fi
  21258. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
  21259. +$as_echo "$ac_cv_lib_m_log" >&6; }
  21260. +if test "x$ac_cv_lib_m_log" = xyes; then :
  21261. + cat >>confdefs.h <<_ACEOF
  21262. +@%:@define HAVE_LIBM 1
  21263. +_ACEOF
  21264. +
  21265. + LIBS="-lm $LIBS"
  21266. +
  21267. +fi
  21268. +
  21269. +if test "$ac_cv_lib_m_log" = "no"; then
  21270. + echo "FIASCO requires math library!"
  21271. + echo "It was not found on your system."
  21272. + echo "configure failed."
  21273. + exit 1
  21274. +fi
  21275. +
  21276. +# Checks for programs
  21277. +# Extract the first word of "xfig", so it can be a program name with args.
  21278. +set dummy xfig; ac_word=$2
  21279. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  21280. +$as_echo_n "checking for $ac_word... " >&6; }
  21281. +if ${ac_cv_path_xfig+:} false; then :
  21282. + $as_echo_n "(cached) " >&6
  21283. +else
  21284. + case $xfig in
  21285. + [\\/]* | ?:[\\/]*)
  21286. + ac_cv_path_xfig="$xfig" # Let the user override the test with a path.
  21287. + ;;
  21288. + *)
  21289. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21290. +for as_dir in $PATH
  21291. +do
  21292. + IFS=$as_save_IFS
  21293. + test -z "$as_dir" && as_dir=.
  21294. + for ac_exec_ext in '' $ac_executable_extensions; do
  21295. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  21296. + ac_cv_path_xfig="$as_dir/$ac_word$ac_exec_ext"
  21297. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  21298. + break 2
  21299. + fi
  21300. +done
  21301. + done
  21302. +IFS=$as_save_IFS
  21303. +
  21304. + ;;
  21305. +esac
  21306. +fi
  21307. +xfig=$ac_cv_path_xfig
  21308. +if test -n "$xfig"; then
  21309. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xfig" >&5
  21310. +$as_echo "$xfig" >&6; }
  21311. +else
  21312. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21313. +$as_echo "no" >&6; }
  21314. +fi
  21315. +
  21316. +
  21317. +if test -n "$xfig"; then
  21318. +
  21319. +cat >>confdefs.h <<_ACEOF
  21320. +@%:@define XFIG "$xfig"
  21321. +_ACEOF
  21322. +
  21323. +fi
  21324. +# Extract the first word of "xmag", so it can be a program name with args.
  21325. +set dummy xmag; ac_word=$2
  21326. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  21327. +$as_echo_n "checking for $ac_word... " >&6; }
  21328. +if ${ac_cv_path_xmag+:} false; then :
  21329. + $as_echo_n "(cached) " >&6
  21330. +else
  21331. + case $xmag in
  21332. + [\\/]* | ?:[\\/]*)
  21333. + ac_cv_path_xmag="$xmag" # Let the user override the test with a path.
  21334. + ;;
  21335. + *)
  21336. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21337. +for as_dir in $PATH
  21338. +do
  21339. + IFS=$as_save_IFS
  21340. + test -z "$as_dir" && as_dir=.
  21341. + for ac_exec_ext in '' $ac_executable_extensions; do
  21342. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  21343. + ac_cv_path_xmag="$as_dir/$ac_word$ac_exec_ext"
  21344. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  21345. + break 2
  21346. + fi
  21347. +done
  21348. + done
  21349. +IFS=$as_save_IFS
  21350. +
  21351. + ;;
  21352. +esac
  21353. +fi
  21354. +xmag=$ac_cv_path_xmag
  21355. +if test -n "$xmag"; then
  21356. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmag" >&5
  21357. +$as_echo "$xmag" >&6; }
  21358. +else
  21359. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21360. +$as_echo "no" >&6; }
  21361. +fi
  21362. +
  21363. +
  21364. +if test -n "$xmag"; then
  21365. +
  21366. +cat >>confdefs.h <<_ACEOF
  21367. +@%:@define XMAG "$xmag"
  21368. +_ACEOF
  21369. +
  21370. +fi
  21371. +
  21372. +# Checks for header files.
  21373. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  21374. +$as_echo_n "checking for ANSI C header files... " >&6; }
  21375. +if ${ac_cv_header_stdc+:} false; then :
  21376. + $as_echo_n "(cached) " >&6
  21377. +else
  21378. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21379. +/* end confdefs.h. */
  21380. +#include <stdlib.h>
  21381. +#include <stdarg.h>
  21382. +#include <string.h>
  21383. +#include <float.h>
  21384. +
  21385. +int
  21386. +main ()
  21387. +{
  21388. +
  21389. + ;
  21390. + return 0;
  21391. +}
  21392. +_ACEOF
  21393. +if ac_fn_c_try_compile "$LINENO"; then :
  21394. + ac_cv_header_stdc=yes
  21395. +else
  21396. + ac_cv_header_stdc=no
  21397. +fi
  21398. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21399. +
  21400. +if test $ac_cv_header_stdc = yes; then
  21401. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  21402. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21403. +/* end confdefs.h. */
  21404. +#include <string.h>
  21405. +
  21406. +_ACEOF
  21407. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  21408. + $EGREP "memchr" >/dev/null 2>&1; then :
  21409. +
  21410. +else
  21411. + ac_cv_header_stdc=no
  21412. +fi
  21413. +rm -f conftest*
  21414. +
  21415. +fi
  21416. +
  21417. +if test $ac_cv_header_stdc = yes; then
  21418. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  21419. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21420. +/* end confdefs.h. */
  21421. +#include <stdlib.h>
  21422. +
  21423. +_ACEOF
  21424. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  21425. + $EGREP "free" >/dev/null 2>&1; then :
  21426. +
  21427. +else
  21428. + ac_cv_header_stdc=no
  21429. +fi
  21430. +rm -f conftest*
  21431. +
  21432. +fi
  21433. +
  21434. +if test $ac_cv_header_stdc = yes; then
  21435. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  21436. + if test "$cross_compiling" = yes; then :
  21437. + :
  21438. +else
  21439. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21440. +/* end confdefs.h. */
  21441. +#include <ctype.h>
  21442. +#include <stdlib.h>
  21443. +#if ((' ' & 0x0FF) == 0x020)
  21444. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  21445. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  21446. +#else
  21447. +# define ISLOWER(c) \
  21448. + (('a' <= (c) && (c) <= 'i') \
  21449. + || ('j' <= (c) && (c) <= 'r') \
  21450. + || ('s' <= (c) && (c) <= 'z'))
  21451. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  21452. +#endif
  21453. +
  21454. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  21455. +int
  21456. +main ()
  21457. +{
  21458. + int i;
  21459. + for (i = 0; i < 256; i++)
  21460. + if (XOR (islower (i), ISLOWER (i))
  21461. + || toupper (i) != TOUPPER (i))
  21462. + return 2;
  21463. + return 0;
  21464. +}
  21465. +_ACEOF
  21466. +if ac_fn_c_try_run "$LINENO"; then :
  21467. +
  21468. +else
  21469. + ac_cv_header_stdc=no
  21470. +fi
  21471. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  21472. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  21473. +fi
  21474. +
  21475. +fi
  21476. +fi
  21477. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  21478. +$as_echo "$ac_cv_header_stdc" >&6; }
  21479. +if test $ac_cv_header_stdc = yes; then
  21480. +
  21481. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  21482. +
  21483. +fi
  21484. +
  21485. +for ac_header in assert.h features.h setjmp.h string.h unistd.h
  21486. +do :
  21487. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  21488. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  21489. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  21490. + cat >>confdefs.h <<_ACEOF
  21491. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  21492. +_ACEOF
  21493. +
  21494. +fi
  21495. +
  21496. +done
  21497. +
  21498. +
  21499. +# Checks for typedefs, structures, and compiler characteristics.
  21500. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  21501. +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  21502. +if ${ac_cv_c_const+:} false; then :
  21503. + $as_echo_n "(cached) " >&6
  21504. +else
  21505. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21506. +/* end confdefs.h. */
  21507. +
  21508. +int
  21509. +main ()
  21510. +{
  21511. +
  21512. +#ifndef __cplusplus
  21513. + /* Ultrix mips cc rejects this sort of thing. */
  21514. + typedef int charset[2];
  21515. + const charset cs = { 0, 0 };
  21516. + /* SunOS 4.1.1 cc rejects this. */
  21517. + char const *const *pcpcc;
  21518. + char **ppc;
  21519. + /* NEC SVR4.0.2 mips cc rejects this. */
  21520. + struct point {int x, y;};
  21521. + static struct point const zero = {0,0};
  21522. + /* AIX XL C 1.02.0.0 rejects this.
  21523. + It does not let you subtract one const X* pointer from another in
  21524. + an arm of an if-expression whose if-part is not a constant
  21525. + expression */
  21526. + const char *g = "string";
  21527. + pcpcc = &g + (g ? g-g : 0);
  21528. + /* HPUX 7.0 cc rejects these. */
  21529. + ++pcpcc;
  21530. + ppc = (char**) pcpcc;
  21531. + pcpcc = (char const *const *) ppc;
  21532. + { /* SCO 3.2v4 cc rejects this sort of thing. */
  21533. + char tx;
  21534. + char *t = &tx;
  21535. + char const *s = 0 ? (char *) 0 : (char const *) 0;
  21536. +
  21537. + *t++ = 0;
  21538. + if (s) return 0;
  21539. + }
  21540. + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  21541. + int x[] = {25, 17};
  21542. + const int *foo = &x[0];
  21543. + ++foo;
  21544. + }
  21545. + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  21546. + typedef const int *iptr;
  21547. + iptr p = 0;
  21548. + ++p;
  21549. + }
  21550. + { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
  21551. + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  21552. + struct s { int j; const int *ap[3]; } bx;
  21553. + struct s *b = &bx; b->j = 5;
  21554. + }
  21555. + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  21556. + const int foo = 10;
  21557. + if (!foo) return 0;
  21558. + }
  21559. + return !cs[0] && !zero.x;
  21560. +#endif
  21561. +
  21562. + ;
  21563. + return 0;
  21564. +}
  21565. +_ACEOF
  21566. +if ac_fn_c_try_compile "$LINENO"; then :
  21567. + ac_cv_c_const=yes
  21568. +else
  21569. + ac_cv_c_const=no
  21570. +fi
  21571. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21572. +fi
  21573. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  21574. +$as_echo "$ac_cv_c_const" >&6; }
  21575. +if test $ac_cv_c_const = no; then
  21576. +
  21577. +$as_echo "@%:@define const /**/" >>confdefs.h
  21578. +
  21579. +fi
  21580. +
  21581. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  21582. +if test "x$ac_cv_type_size_t" = xyes; then :
  21583. +
  21584. +else
  21585. +
  21586. +cat >>confdefs.h <<_ACEOF
  21587. +@%:@define size_t unsigned int
  21588. +_ACEOF
  21589. +
  21590. +fi
  21591. +
  21592. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
  21593. +$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
  21594. +if ${ac_cv_header_time+:} false; then :
  21595. + $as_echo_n "(cached) " >&6
  21596. +else
  21597. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21598. +/* end confdefs.h. */
  21599. +#include <sys/types.h>
  21600. +#include <sys/time.h>
  21601. +#include <time.h>
  21602. +
  21603. +int
  21604. +main ()
  21605. +{
  21606. +if ((struct tm *) 0)
  21607. +return 0;
  21608. + ;
  21609. + return 0;
  21610. +}
  21611. +_ACEOF
  21612. +if ac_fn_c_try_compile "$LINENO"; then :
  21613. + ac_cv_header_time=yes
  21614. +else
  21615. + ac_cv_header_time=no
  21616. +fi
  21617. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21618. +fi
  21619. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
  21620. +$as_echo "$ac_cv_header_time" >&6; }
  21621. +if test $ac_cv_header_time = yes; then
  21622. +
  21623. +$as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
  21624. +
  21625. +fi
  21626. +
  21627. +
  21628. +# Checks for library functions.
  21629. +for ac_func in vprintf
  21630. +do :
  21631. + ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
  21632. +if test "x$ac_cv_func_vprintf" = xyes; then :
  21633. + cat >>confdefs.h <<_ACEOF
  21634. +@%:@define HAVE_VPRINTF 1
  21635. +_ACEOF
  21636. +
  21637. +ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
  21638. +if test "x$ac_cv_func__doprnt" = xyes; then :
  21639. +
  21640. +$as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h
  21641. +
  21642. +fi
  21643. +
  21644. +fi
  21645. +done
  21646. +
  21647. +
  21648. +for ac_func in log2 memmove strdup strcasecmp
  21649. +do :
  21650. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  21651. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  21652. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  21653. + cat >>confdefs.h <<_ACEOF
  21654. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  21655. +_ACEOF
  21656. +
  21657. +fi
  21658. +done
  21659. +
  21660. +
  21661. +ac_config_files="$ac_config_files Makefile data/Makefile doc/Makefile lib/Makefile input/Makefile output/Makefile codec/Makefile bin/Makefile"
  21662. +
  21663. +ac_config_commands="$ac_config_commands default"
  21664. +
  21665. +cat >confcache <<\_ACEOF
  21666. +# This file is a shell script that caches the results of configure
  21667. +# tests run on this system so they can be shared between configure
  21668. +# scripts and configure runs, see configure's option --config-cache.
  21669. +# It is not useful on other systems. If it contains results you don't
  21670. +# want to keep, you may remove or edit it.
  21671. +#
  21672. +# config.status only pays attention to the cache file if you give it
  21673. +# the --recheck option to rerun configure.
  21674. +#
  21675. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  21676. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  21677. +# following values.
  21678. +
  21679. +_ACEOF
  21680. +
  21681. +# The following way of writing the cache mishandles newlines in values,
  21682. +# but we know of no workaround that is simple, portable, and efficient.
  21683. +# So, we kill variables containing newlines.
  21684. +# Ultrix sh set writes to stderr and can't be redirected directly,
  21685. +# and sets the high bit in the cache file unless we assign to the vars.
  21686. +(
  21687. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  21688. + eval ac_val=\$$ac_var
  21689. + case $ac_val in #(
  21690. + *${as_nl}*)
  21691. + case $ac_var in #(
  21692. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  21693. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  21694. + esac
  21695. + case $ac_var in #(
  21696. + _ | IFS | as_nl) ;; #(
  21697. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  21698. + *) { eval $ac_var=; unset $ac_var;} ;;
  21699. + esac ;;
  21700. + esac
  21701. + done
  21702. +
  21703. + (set) 2>&1 |
  21704. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  21705. + *${as_nl}ac_space=\ *)
  21706. + # `set' does not quote correctly, so add quotes: double-quote
  21707. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  21708. + sed -n \
  21709. + "s/'/'\\\\''/g;
  21710. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  21711. + ;; #(
  21712. + *)
  21713. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  21714. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  21715. + ;;
  21716. + esac |
  21717. + sort
  21718. +) |
  21719. + sed '
  21720. + /^ac_cv_env_/b end
  21721. + t clear
  21722. + :clear
  21723. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  21724. + t end
  21725. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  21726. + :end' >>confcache
  21727. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  21728. + if test -w "$cache_file"; then
  21729. + if test "x$cache_file" != "x/dev/null"; then
  21730. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  21731. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  21732. + if test ! -f "$cache_file" || test -h "$cache_file"; then
  21733. + cat confcache >"$cache_file"
  21734. + else
  21735. + case $cache_file in #(
  21736. + */* | ?:*)
  21737. + mv -f confcache "$cache_file"$$ &&
  21738. + mv -f "$cache_file"$$ "$cache_file" ;; #(
  21739. + *)
  21740. + mv -f confcache "$cache_file" ;;
  21741. + esac
  21742. + fi
  21743. + fi
  21744. + else
  21745. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  21746. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  21747. + fi
  21748. +fi
  21749. +rm -f confcache
  21750. +
  21751. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  21752. +# Let make expand exec_prefix.
  21753. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  21754. +
  21755. +DEFS=-DHAVE_CONFIG_H
  21756. +
  21757. +ac_libobjs=
  21758. +ac_ltlibobjs=
  21759. +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
  21760. + # 1. Remove the extension, and $U if already installed.
  21761. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  21762. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  21763. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  21764. + # will be set to the directory where LIBOBJS objects are built.
  21765. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  21766. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  21767. +done
  21768. +LIB@&t@OBJS=$ac_libobjs
  21769. +
  21770. +LTLIBOBJS=$ac_ltlibobjs
  21771. +
  21772. +
  21773. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  21774. +$as_echo_n "checking that generated files are newer than configure... " >&6; }
  21775. + if test -n "$am_sleep_pid"; then
  21776. + # Hide warnings about reused PIDs.
  21777. + wait $am_sleep_pid 2>/dev/null
  21778. + fi
  21779. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  21780. +$as_echo "done" >&6; }
  21781. + if test -n "$EXEEXT"; then
  21782. + am__EXEEXT_TRUE=
  21783. + am__EXEEXT_FALSE='#'
  21784. +else
  21785. + am__EXEEXT_TRUE='#'
  21786. + am__EXEEXT_FALSE=
  21787. +fi
  21788. +
  21789. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  21790. + as_fn_error $? "conditional \"AMDEP\" was never defined.
  21791. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  21792. +fi
  21793. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  21794. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  21795. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  21796. +fi
  21797. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  21798. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  21799. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  21800. +fi
  21801. +
  21802. +
  21803. +: "${CONFIG_STATUS=./config.status}"
  21804. +ac_write_fail=0
  21805. +ac_clean_files_save=$ac_clean_files
  21806. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  21807. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  21808. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  21809. +as_write_fail=0
  21810. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  21811. +#! $SHELL
  21812. +# Generated by $as_me.
  21813. +# Run this file to recreate the current configuration.
  21814. +# Compiler output produced by configure, useful for debugging
  21815. +# configure, is in config.log if it exists.
  21816. +
  21817. +debug=false
  21818. +ac_cs_recheck=false
  21819. +ac_cs_silent=false
  21820. +
  21821. +SHELL=\${CONFIG_SHELL-$SHELL}
  21822. +export SHELL
  21823. +_ASEOF
  21824. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  21825. +## -------------------- ##
  21826. +## M4sh Initialization. ##
  21827. +## -------------------- ##
  21828. +
  21829. +# Be more Bourne compatible
  21830. +DUALCASE=1; export DUALCASE # for MKS sh
  21831. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  21832. + emulate sh
  21833. + NULLCMD=:
  21834. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  21835. + # is contrary to our usage. Disable this feature.
  21836. + alias -g '${1+"$@"}'='"$@"'
  21837. + setopt NO_GLOB_SUBST
  21838. +else
  21839. + case `(set -o) 2>/dev/null` in @%:@(
  21840. + *posix*) :
  21841. + set -o posix ;; @%:@(
  21842. + *) :
  21843. + ;;
  21844. +esac
  21845. +fi
  21846. +
  21847. +
  21848. +as_nl='
  21849. +'
  21850. +export as_nl
  21851. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  21852. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  21853. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  21854. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  21855. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  21856. +# but without wasting forks for bash or zsh.
  21857. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  21858. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  21859. + as_echo='print -r --'
  21860. + as_echo_n='print -rn --'
  21861. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  21862. + as_echo='printf %s\n'
  21863. + as_echo_n='printf %s'
  21864. +else
  21865. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  21866. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  21867. + as_echo_n='/usr/ucb/echo -n'
  21868. + else
  21869. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  21870. + as_echo_n_body='eval
  21871. + arg=$1;
  21872. + case $arg in @%:@(
  21873. + *"$as_nl"*)
  21874. + expr "X$arg" : "X\\(.*\\)$as_nl";
  21875. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  21876. + esac;
  21877. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  21878. + '
  21879. + export as_echo_n_body
  21880. + as_echo_n='sh -c $as_echo_n_body as_echo'
  21881. + fi
  21882. + export as_echo_body
  21883. + as_echo='sh -c $as_echo_body as_echo'
  21884. +fi
  21885. +
  21886. +# The user is always right.
  21887. +if test "${PATH_SEPARATOR+set}" != set; then
  21888. + PATH_SEPARATOR=:
  21889. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  21890. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  21891. + PATH_SEPARATOR=';'
  21892. + }
  21893. +fi
  21894. +
  21895. +
  21896. +# IFS
  21897. +# We need space, tab and new line, in precisely that order. Quoting is
  21898. +# there to prevent editors from complaining about space-tab.
  21899. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  21900. +# splitting by setting IFS to empty value.)
  21901. +IFS=" "" $as_nl"
  21902. +
  21903. +# Find who we are. Look in the path if we contain no directory separator.
  21904. +as_myself=
  21905. +case $0 in @%:@((
  21906. + *[\\/]* ) as_myself=$0 ;;
  21907. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21908. +for as_dir in $PATH
  21909. +do
  21910. + IFS=$as_save_IFS
  21911. + test -z "$as_dir" && as_dir=.
  21912. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  21913. + done
  21914. +IFS=$as_save_IFS
  21915. +
  21916. + ;;
  21917. +esac
  21918. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  21919. +# in which case we are not to be found in the path.
  21920. +if test "x$as_myself" = x; then
  21921. + as_myself=$0
  21922. +fi
  21923. +if test ! -f "$as_myself"; then
  21924. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  21925. + exit 1
  21926. +fi
  21927. +
  21928. +# Unset variables that we do not need and which cause bugs (e.g. in
  21929. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  21930. +# suppresses any "Segmentation fault" message there. '((' could
  21931. +# trigger a bug in pdksh 5.2.14.
  21932. +for as_var in BASH_ENV ENV MAIL MAILPATH
  21933. +do eval test x\${$as_var+set} = xset \
  21934. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  21935. +done
  21936. +PS1='$ '
  21937. +PS2='> '
  21938. +PS4='+ '
  21939. +
  21940. +# NLS nuisances.
  21941. +LC_ALL=C
  21942. +export LC_ALL
  21943. +LANGUAGE=C
  21944. +export LANGUAGE
  21945. +
  21946. +# CDPATH.
  21947. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  21948. +
  21949. +
  21950. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  21951. +@%:@ ----------------------------------------
  21952. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  21953. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  21954. +@%:@ script with STATUS, using 1 if that was 0.
  21955. +as_fn_error ()
  21956. +{
  21957. + as_status=$1; test $as_status -eq 0 && as_status=1
  21958. + if test "$4"; then
  21959. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  21960. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  21961. + fi
  21962. + $as_echo "$as_me: error: $2" >&2
  21963. + as_fn_exit $as_status
  21964. +} @%:@ as_fn_error
  21965. +
  21966. +
  21967. +@%:@ as_fn_set_status STATUS
  21968. +@%:@ -----------------------
  21969. +@%:@ Set @S|@? to STATUS, without forking.
  21970. +as_fn_set_status ()
  21971. +{
  21972. + return $1
  21973. +} @%:@ as_fn_set_status
  21974. +
  21975. +@%:@ as_fn_exit STATUS
  21976. +@%:@ -----------------
  21977. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  21978. +as_fn_exit ()
  21979. +{
  21980. + set +e
  21981. + as_fn_set_status $1
  21982. + exit $1
  21983. +} @%:@ as_fn_exit
  21984. +
  21985. +@%:@ as_fn_unset VAR
  21986. +@%:@ ---------------
  21987. +@%:@ Portably unset VAR.
  21988. +as_fn_unset ()
  21989. +{
  21990. + { eval $1=; unset $1;}
  21991. +}
  21992. +as_unset=as_fn_unset
  21993. +@%:@ as_fn_append VAR VALUE
  21994. +@%:@ ----------------------
  21995. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  21996. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  21997. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  21998. +@%:@ implementations.
  21999. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  22000. + eval 'as_fn_append ()
  22001. + {
  22002. + eval $1+=\$2
  22003. + }'
  22004. +else
  22005. + as_fn_append ()
  22006. + {
  22007. + eval $1=\$$1\$2
  22008. + }
  22009. +fi # as_fn_append
  22010. +
  22011. +@%:@ as_fn_arith ARG...
  22012. +@%:@ ------------------
  22013. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  22014. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  22015. +@%:@ must be portable across @S|@(()) and expr.
  22016. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  22017. + eval 'as_fn_arith ()
  22018. + {
  22019. + as_val=$(( $* ))
  22020. + }'
  22021. +else
  22022. + as_fn_arith ()
  22023. + {
  22024. + as_val=`expr "$@" || test $? -eq 1`
  22025. + }
  22026. +fi # as_fn_arith
  22027. +
  22028. +
  22029. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  22030. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  22031. + as_expr=expr
  22032. +else
  22033. + as_expr=false
  22034. +fi
  22035. +
  22036. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  22037. + as_basename=basename
  22038. +else
  22039. + as_basename=false
  22040. +fi
  22041. +
  22042. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  22043. + as_dirname=dirname
  22044. +else
  22045. + as_dirname=false
  22046. +fi
  22047. +
  22048. +as_me=`$as_basename -- "$0" ||
  22049. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  22050. + X"$0" : 'X\(//\)$' \| \
  22051. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  22052. +$as_echo X/"$0" |
  22053. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  22054. + s//\1/
  22055. + q
  22056. + }
  22057. + /^X\/\(\/\/\)$/{
  22058. + s//\1/
  22059. + q
  22060. + }
  22061. + /^X\/\(\/\).*/{
  22062. + s//\1/
  22063. + q
  22064. + }
  22065. + s/.*/./; q'`
  22066. +
  22067. +# Avoid depending upon Character Ranges.
  22068. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  22069. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  22070. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  22071. +as_cr_digits='0123456789'
  22072. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  22073. +
  22074. +ECHO_C= ECHO_N= ECHO_T=
  22075. +case `echo -n x` in @%:@(((((
  22076. +-n*)
  22077. + case `echo 'xy\c'` in
  22078. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  22079. + xy) ECHO_C='\c';;
  22080. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  22081. + ECHO_T=' ';;
  22082. + esac;;
  22083. +*)
  22084. + ECHO_N='-n';;
  22085. +esac
  22086. +
  22087. +rm -f conf$$ conf$$.exe conf$$.file
  22088. +if test -d conf$$.dir; then
  22089. + rm -f conf$$.dir/conf$$.file
  22090. +else
  22091. + rm -f conf$$.dir
  22092. + mkdir conf$$.dir 2>/dev/null
  22093. +fi
  22094. +if (echo >conf$$.file) 2>/dev/null; then
  22095. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  22096. + as_ln_s='ln -s'
  22097. + # ... but there are two gotchas:
  22098. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  22099. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  22100. + # In both cases, we have to default to `cp -pR'.
  22101. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  22102. + as_ln_s='cp -pR'
  22103. + elif ln conf$$.file conf$$ 2>/dev/null; then
  22104. + as_ln_s=ln
  22105. + else
  22106. + as_ln_s='cp -pR'
  22107. + fi
  22108. +else
  22109. + as_ln_s='cp -pR'
  22110. +fi
  22111. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  22112. +rmdir conf$$.dir 2>/dev/null
  22113. +
  22114. +
  22115. +@%:@ as_fn_mkdir_p
  22116. +@%:@ -------------
  22117. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  22118. +as_fn_mkdir_p ()
  22119. +{
  22120. +
  22121. + case $as_dir in #(
  22122. + -*) as_dir=./$as_dir;;
  22123. + esac
  22124. + test -d "$as_dir" || eval $as_mkdir_p || {
  22125. + as_dirs=
  22126. + while :; do
  22127. + case $as_dir in #(
  22128. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  22129. + *) as_qdir=$as_dir;;
  22130. + esac
  22131. + as_dirs="'$as_qdir' $as_dirs"
  22132. + as_dir=`$as_dirname -- "$as_dir" ||
  22133. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  22134. + X"$as_dir" : 'X\(//\)[^/]' \| \
  22135. + X"$as_dir" : 'X\(//\)$' \| \
  22136. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  22137. +$as_echo X"$as_dir" |
  22138. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  22139. + s//\1/
  22140. + q
  22141. + }
  22142. + /^X\(\/\/\)[^/].*/{
  22143. + s//\1/
  22144. + q
  22145. + }
  22146. + /^X\(\/\/\)$/{
  22147. + s//\1/
  22148. + q
  22149. + }
  22150. + /^X\(\/\).*/{
  22151. + s//\1/
  22152. + q
  22153. + }
  22154. + s/.*/./; q'`
  22155. + test -d "$as_dir" && break
  22156. + done
  22157. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  22158. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  22159. +
  22160. +
  22161. +} @%:@ as_fn_mkdir_p
  22162. +if mkdir -p . 2>/dev/null; then
  22163. + as_mkdir_p='mkdir -p "$as_dir"'
  22164. +else
  22165. + test -d ./-p && rmdir ./-p
  22166. + as_mkdir_p=false
  22167. +fi
  22168. +
  22169. +
  22170. +@%:@ as_fn_executable_p FILE
  22171. +@%:@ -----------------------
  22172. +@%:@ Test if FILE is an executable regular file.
  22173. +as_fn_executable_p ()
  22174. +{
  22175. + test -f "$1" && test -x "$1"
  22176. +} @%:@ as_fn_executable_p
  22177. +as_test_x='test -x'
  22178. +as_executable_p=as_fn_executable_p
  22179. +
  22180. +# Sed expression to map a string onto a valid CPP name.
  22181. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  22182. +
  22183. +# Sed expression to map a string onto a valid variable name.
  22184. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  22185. +
  22186. +
  22187. +exec 6>&1
  22188. +## ----------------------------------- ##
  22189. +## Main body of $CONFIG_STATUS script. ##
  22190. +## ----------------------------------- ##
  22191. +_ASEOF
  22192. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  22193. +
  22194. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22195. +# Save the log message, to keep $0 and so on meaningful, and to
  22196. +# report actual input values of CONFIG_FILES etc. instead of their
  22197. +# values after options handling.
  22198. +ac_log="
  22199. +This file was extended by $as_me, which was
  22200. +generated by GNU Autoconf 2.69. Invocation command line was
  22201. +
  22202. + CONFIG_FILES = $CONFIG_FILES
  22203. + CONFIG_HEADERS = $CONFIG_HEADERS
  22204. + CONFIG_LINKS = $CONFIG_LINKS
  22205. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  22206. + $ $0 $@
  22207. +
  22208. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  22209. +"
  22210. +
  22211. +_ACEOF
  22212. +
  22213. +case $ac_config_files in *"
  22214. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  22215. +esac
  22216. +
  22217. +case $ac_config_headers in *"
  22218. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  22219. +esac
  22220. +
  22221. +
  22222. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22223. +# Files that config.status was made for.
  22224. +config_files="$ac_config_files"
  22225. +config_headers="$ac_config_headers"
  22226. +config_commands="$ac_config_commands"
  22227. +
  22228. +_ACEOF
  22229. +
  22230. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22231. +ac_cs_usage="\
  22232. +\`$as_me' instantiates files and other configuration actions
  22233. +from templates according to the current configuration. Unless the files
  22234. +and actions are specified as TAGs, all are instantiated by default.
  22235. +
  22236. +Usage: $0 [OPTION]... [TAG]...
  22237. +
  22238. + -h, --help print this help, then exit
  22239. + -V, --version print version number and configuration settings, then exit
  22240. + --config print configuration, then exit
  22241. + -q, --quiet, --silent
  22242. + do not print progress messages
  22243. + -d, --debug don't remove temporary files
  22244. + --recheck update $as_me by reconfiguring in the same conditions
  22245. + --file=FILE[:TEMPLATE]
  22246. + instantiate the configuration file FILE
  22247. + --header=FILE[:TEMPLATE]
  22248. + instantiate the configuration header FILE
  22249. +
  22250. +Configuration files:
  22251. +$config_files
  22252. +
  22253. +Configuration headers:
  22254. +$config_headers
  22255. +
  22256. +Configuration commands:
  22257. +$config_commands
  22258. +
  22259. +Report bugs to the package provider."
  22260. +
  22261. +_ACEOF
  22262. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22263. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  22264. +ac_cs_version="\\
  22265. +config.status
  22266. +configured by $0, generated by GNU Autoconf 2.69,
  22267. + with options \\"\$ac_cs_config\\"
  22268. +
  22269. +Copyright (C) 2012 Free Software Foundation, Inc.
  22270. +This config.status script is free software; the Free Software Foundation
  22271. +gives unlimited permission to copy, distribute and modify it."
  22272. +
  22273. +ac_pwd='$ac_pwd'
  22274. +srcdir='$srcdir'
  22275. +INSTALL='$INSTALL'
  22276. +MKDIR_P='$MKDIR_P'
  22277. +AWK='$AWK'
  22278. +test -n "\$AWK" || AWK=awk
  22279. +_ACEOF
  22280. +
  22281. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22282. +# The default lists apply if the user does not specify any file.
  22283. +ac_need_defaults=:
  22284. +while test $# != 0
  22285. +do
  22286. + case $1 in
  22287. + --*=?*)
  22288. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  22289. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  22290. + ac_shift=:
  22291. + ;;
  22292. + --*=)
  22293. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  22294. + ac_optarg=
  22295. + ac_shift=:
  22296. + ;;
  22297. + *)
  22298. + ac_option=$1
  22299. + ac_optarg=$2
  22300. + ac_shift=shift
  22301. + ;;
  22302. + esac
  22303. +
  22304. + case $ac_option in
  22305. + # Handling of the options.
  22306. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  22307. + ac_cs_recheck=: ;;
  22308. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  22309. + $as_echo "$ac_cs_version"; exit ;;
  22310. + --config | --confi | --conf | --con | --co | --c )
  22311. + $as_echo "$ac_cs_config"; exit ;;
  22312. + --debug | --debu | --deb | --de | --d | -d )
  22313. + debug=: ;;
  22314. + --file | --fil | --fi | --f )
  22315. + $ac_shift
  22316. + case $ac_optarg in
  22317. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  22318. + '') as_fn_error $? "missing file argument" ;;
  22319. + esac
  22320. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  22321. + ac_need_defaults=false;;
  22322. + --header | --heade | --head | --hea )
  22323. + $ac_shift
  22324. + case $ac_optarg in
  22325. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  22326. + esac
  22327. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  22328. + ac_need_defaults=false;;
  22329. + --he | --h)
  22330. + # Conflict between --help and --header
  22331. + as_fn_error $? "ambiguous option: \`$1'
  22332. +Try \`$0 --help' for more information.";;
  22333. + --help | --hel | -h )
  22334. + $as_echo "$ac_cs_usage"; exit ;;
  22335. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  22336. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  22337. + ac_cs_silent=: ;;
  22338. +
  22339. + # This is an error.
  22340. + -*) as_fn_error $? "unrecognized option: \`$1'
  22341. +Try \`$0 --help' for more information." ;;
  22342. +
  22343. + *) as_fn_append ac_config_targets " $1"
  22344. + ac_need_defaults=false ;;
  22345. +
  22346. + esac
  22347. + shift
  22348. +done
  22349. +
  22350. +ac_configure_extra_args=
  22351. +
  22352. +if $ac_cs_silent; then
  22353. + exec 6>/dev/null
  22354. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  22355. +fi
  22356. +
  22357. +_ACEOF
  22358. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22359. +if \$ac_cs_recheck; then
  22360. + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  22361. + shift
  22362. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  22363. + CONFIG_SHELL='$SHELL'
  22364. + export CONFIG_SHELL
  22365. + exec "\$@"
  22366. +fi
  22367. +
  22368. +_ACEOF
  22369. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22370. +exec 5>>config.log
  22371. +{
  22372. + echo
  22373. + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  22374. +@%:@@%:@ Running $as_me. @%:@@%:@
  22375. +_ASBOX
  22376. + $as_echo "$ac_log"
  22377. +} >&5
  22378. +
  22379. +_ACEOF
  22380. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22381. +#
  22382. +# INIT-COMMANDS
  22383. +#
  22384. +AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
  22385. +
  22386. +
  22387. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  22388. +# if CDPATH is set.
  22389. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  22390. +
  22391. +sed_quote_subst='$sed_quote_subst'
  22392. +double_quote_subst='$double_quote_subst'
  22393. +delay_variable_subst='$delay_variable_subst'
  22394. +macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
  22395. +macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
  22396. +enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
  22397. +enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
  22398. +pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
  22399. +enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
  22400. +host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
  22401. +host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
  22402. +host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
  22403. +build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
  22404. +build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
  22405. +build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
  22406. +SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
  22407. +Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
  22408. +GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
  22409. +EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
  22410. +FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
  22411. +LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
  22412. +NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
  22413. +LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
  22414. +max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
  22415. +ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
  22416. +exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
  22417. +lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
  22418. +lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
  22419. +lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
  22420. +reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
  22421. +reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22422. +OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
  22423. +deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
  22424. +file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
  22425. +AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
  22426. +AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  22427. +STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
  22428. +RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
  22429. +old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22430. +old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22431. +old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22432. +CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
  22433. +CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  22434. +compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
  22435. +GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
  22436. +lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
  22437. +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
  22438. +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"`'
  22439. +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"`'
  22440. +objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
  22441. +SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
  22442. +ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
  22443. +MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
  22444. +lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
  22445. +lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
  22446. +lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
  22447. +lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
  22448. +lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
  22449. +need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
  22450. +DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
  22451. +NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
  22452. +LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
  22453. +OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  22454. +OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
  22455. +libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
  22456. +shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22457. +extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22458. +archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
  22459. +enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
  22460. +export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22461. +whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22462. +compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
  22463. +old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22464. +old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22465. +archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22466. +archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22467. +module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22468. +module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22469. +with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
  22470. +allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  22471. +no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  22472. +hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22473. +hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
  22474. +hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
  22475. +hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
  22476. +hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
  22477. +hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
  22478. +hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  22479. +hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
  22480. +inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
  22481. +link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
  22482. +fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
  22483. +always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
  22484. +export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22485. +exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  22486. +include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  22487. +prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22488. +file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22489. +variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
  22490. +need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  22491. +need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
  22492. +version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
  22493. +runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  22494. +shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  22495. +shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
  22496. +libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22497. +library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22498. +soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22499. +postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22500. +postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22501. +finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22502. +finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
  22503. +hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
  22504. +sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22505. +sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22506. +hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
  22507. +enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
  22508. +enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
  22509. +enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
  22510. +old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
  22511. +striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
  22512. +
  22513. +LTCC='$LTCC'
  22514. +LTCFLAGS='$LTCFLAGS'
  22515. +compiler='$compiler_DEFAULT'
  22516. +
  22517. +# Quote evaled strings.
  22518. +for var in SED \
  22519. +GREP \
  22520. +EGREP \
  22521. +FGREP \
  22522. +LD \
  22523. +NM \
  22524. +LN_S \
  22525. +lt_SP2NL \
  22526. +lt_NL2SP \
  22527. +reload_flag \
  22528. +OBJDUMP \
  22529. +deplibs_check_method \
  22530. +file_magic_cmd \
  22531. +AR \
  22532. +AR_FLAGS \
  22533. +STRIP \
  22534. +RANLIB \
  22535. +CC \
  22536. +CFLAGS \
  22537. +compiler \
  22538. +lt_cv_sys_global_symbol_pipe \
  22539. +lt_cv_sys_global_symbol_to_cdecl \
  22540. +lt_cv_sys_global_symbol_to_c_name_address \
  22541. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  22542. +SHELL \
  22543. +ECHO \
  22544. +lt_prog_compiler_no_builtin_flag \
  22545. +lt_prog_compiler_wl \
  22546. +lt_prog_compiler_pic \
  22547. +lt_prog_compiler_static \
  22548. +lt_cv_prog_compiler_c_o \
  22549. +need_locks \
  22550. +DSYMUTIL \
  22551. +NMEDIT \
  22552. +LIPO \
  22553. +OTOOL \
  22554. +OTOOL64 \
  22555. +shrext_cmds \
  22556. +export_dynamic_flag_spec \
  22557. +whole_archive_flag_spec \
  22558. +compiler_needs_object \
  22559. +with_gnu_ld \
  22560. +allow_undefined_flag \
  22561. +no_undefined_flag \
  22562. +hardcode_libdir_flag_spec \
  22563. +hardcode_libdir_flag_spec_ld \
  22564. +hardcode_libdir_separator \
  22565. +fix_srcfile_path \
  22566. +exclude_expsyms \
  22567. +include_expsyms \
  22568. +file_list_spec \
  22569. +variables_saved_for_relink \
  22570. +libname_spec \
  22571. +library_names_spec \
  22572. +soname_spec \
  22573. +finish_eval \
  22574. +old_striplib \
  22575. +striplib; do
  22576. + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  22577. + *[\\\\\\\`\\"\\\$]*)
  22578. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  22579. + ;;
  22580. + *)
  22581. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  22582. + ;;
  22583. + esac
  22584. +done
  22585. +
  22586. +# Double-quote double-evaled strings.
  22587. +for var in reload_cmds \
  22588. +old_postinstall_cmds \
  22589. +old_postuninstall_cmds \
  22590. +old_archive_cmds \
  22591. +extract_expsyms_cmds \
  22592. +old_archive_from_new_cmds \
  22593. +old_archive_from_expsyms_cmds \
  22594. +archive_cmds \
  22595. +archive_expsym_cmds \
  22596. +module_cmds \
  22597. +module_expsym_cmds \
  22598. +export_symbols_cmds \
  22599. +prelink_cmds \
  22600. +postinstall_cmds \
  22601. +postuninstall_cmds \
  22602. +finish_cmds \
  22603. +sys_lib_search_path_spec \
  22604. +sys_lib_dlsearch_path_spec; do
  22605. + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  22606. + *[\\\\\\\`\\"\\\$]*)
  22607. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  22608. + ;;
  22609. + *)
  22610. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  22611. + ;;
  22612. + esac
  22613. +done
  22614. +
  22615. +# Fix-up fallback echo if it was mangled by the above quoting rules.
  22616. +case \$lt_ECHO in
  22617. +*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
  22618. + ;;
  22619. +esac
  22620. +
  22621. +ac_aux_dir='$ac_aux_dir'
  22622. +xsi_shell='$xsi_shell'
  22623. +lt_shell_append='$lt_shell_append'
  22624. +
  22625. +# See if we are running on zsh, and set the options which allow our
  22626. +# commands through without removal of \ escapes INIT.
  22627. +if test -n "\${ZSH_VERSION+set}" ; then
  22628. + setopt NO_GLOB_SUBST
  22629. +fi
  22630. +
  22631. +
  22632. + PACKAGE='$PACKAGE'
  22633. + VERSION='$VERSION'
  22634. + TIMESTAMP='$TIMESTAMP'
  22635. + RM='$RM'
  22636. + ofile='$ofile'
  22637. +
  22638. +
  22639. +
  22640. +
  22641. +_ACEOF
  22642. +
  22643. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22644. +
  22645. +# Handling of arguments.
  22646. +for ac_config_target in $ac_config_targets
  22647. +do
  22648. + case $ac_config_target in
  22649. + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  22650. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  22651. + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  22652. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  22653. + "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
  22654. + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  22655. + "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
  22656. + "input/Makefile") CONFIG_FILES="$CONFIG_FILES input/Makefile" ;;
  22657. + "output/Makefile") CONFIG_FILES="$CONFIG_FILES output/Makefile" ;;
  22658. + "codec/Makefile") CONFIG_FILES="$CONFIG_FILES codec/Makefile" ;;
  22659. + "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
  22660. + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
  22661. +
  22662. + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  22663. + esac
  22664. +done
  22665. +
  22666. +
  22667. +# If the user did not use the arguments to specify the items to instantiate,
  22668. +# then the envvar interface is used. Set only those that are not.
  22669. +# We use the long form for the default assignment because of an extremely
  22670. +# bizarre bug on SunOS 4.1.3.
  22671. +if $ac_need_defaults; then
  22672. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  22673. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  22674. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  22675. +fi
  22676. +
  22677. +# Have a temporary directory for convenience. Make it in the build tree
  22678. +# simply because there is no reason against having it here, and in addition,
  22679. +# creating and moving files from /tmp can sometimes cause problems.
  22680. +# Hook for its removal unless debugging.
  22681. +# Note that there is a small window in which the directory will not be cleaned:
  22682. +# after its creation but before its name has been assigned to `$tmp'.
  22683. +$debug ||
  22684. +{
  22685. + tmp= ac_tmp=
  22686. + trap 'exit_status=$?
  22687. + : "${ac_tmp:=$tmp}"
  22688. + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  22689. +' 0
  22690. + trap 'as_fn_exit 1' 1 2 13 15
  22691. +}
  22692. +# Create a (secure) tmp directory for tmp files.
  22693. +
  22694. +{
  22695. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  22696. + test -d "$tmp"
  22697. +} ||
  22698. +{
  22699. + tmp=./conf$$-$RANDOM
  22700. + (umask 077 && mkdir "$tmp")
  22701. +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  22702. +ac_tmp=$tmp
  22703. +
  22704. +# Set up the scripts for CONFIG_FILES section.
  22705. +# No need to generate them if there are no CONFIG_FILES.
  22706. +# This happens for instance with `./config.status config.h'.
  22707. +if test -n "$CONFIG_FILES"; then
  22708. +
  22709. +
  22710. +ac_cr=`echo X | tr X '\015'`
  22711. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  22712. +# But we know of no other shell where ac_cr would be empty at this
  22713. +# point, so we can use a bashism as a fallback.
  22714. +if test "x$ac_cr" = x; then
  22715. + eval ac_cr=\$\'\\r\'
  22716. +fi
  22717. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  22718. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  22719. + ac_cs_awk_cr='\\r'
  22720. +else
  22721. + ac_cs_awk_cr=$ac_cr
  22722. +fi
  22723. +
  22724. +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  22725. +_ACEOF
  22726. +
  22727. +
  22728. +{
  22729. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  22730. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  22731. + echo "_ACEOF"
  22732. +} >conf$$subs.sh ||
  22733. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  22734. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  22735. +ac_delim='%!_!# '
  22736. +for ac_last_try in false false false false false :; do
  22737. + . ./conf$$subs.sh ||
  22738. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  22739. +
  22740. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  22741. + if test $ac_delim_n = $ac_delim_num; then
  22742. + break
  22743. + elif $ac_last_try; then
  22744. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  22745. + else
  22746. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  22747. + fi
  22748. +done
  22749. +rm -f conf$$subs.sh
  22750. +
  22751. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22752. +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  22753. +_ACEOF
  22754. +sed -n '
  22755. +h
  22756. +s/^/S["/; s/!.*/"]=/
  22757. +p
  22758. +g
  22759. +s/^[^!]*!//
  22760. +:repl
  22761. +t repl
  22762. +s/'"$ac_delim"'$//
  22763. +t delim
  22764. +:nl
  22765. +h
  22766. +s/\(.\{148\}\)..*/\1/
  22767. +t more1
  22768. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  22769. +p
  22770. +n
  22771. +b repl
  22772. +:more1
  22773. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  22774. +p
  22775. +g
  22776. +s/.\{148\}//
  22777. +t nl
  22778. +:delim
  22779. +h
  22780. +s/\(.\{148\}\)..*/\1/
  22781. +t more2
  22782. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  22783. +p
  22784. +b
  22785. +:more2
  22786. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  22787. +p
  22788. +g
  22789. +s/.\{148\}//
  22790. +t delim
  22791. +' <conf$$subs.awk | sed '
  22792. +/^[^""]/{
  22793. + N
  22794. + s/\n//
  22795. +}
  22796. +' >>$CONFIG_STATUS || ac_write_fail=1
  22797. +rm -f conf$$subs.awk
  22798. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22799. +_ACAWK
  22800. +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  22801. + for (key in S) S_is_set[key] = 1
  22802. + FS = ""
  22803. +
  22804. +}
  22805. +{
  22806. + line = $ 0
  22807. + nfields = split(line, field, "@")
  22808. + substed = 0
  22809. + len = length(field[1])
  22810. + for (i = 2; i < nfields; i++) {
  22811. + key = field[i]
  22812. + keylen = length(key)
  22813. + if (S_is_set[key]) {
  22814. + value = S[key]
  22815. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  22816. + len += length(value) + length(field[++i])
  22817. + substed = 1
  22818. + } else
  22819. + len += 1 + keylen
  22820. + }
  22821. +
  22822. + print line
  22823. +}
  22824. +
  22825. +_ACAWK
  22826. +_ACEOF
  22827. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22828. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  22829. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  22830. +else
  22831. + cat
  22832. +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  22833. + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  22834. +_ACEOF
  22835. +
  22836. +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  22837. +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  22838. +# trailing colons and then remove the whole line if VPATH becomes empty
  22839. +# (actually we leave an empty line to preserve line numbers).
  22840. +if test "x$srcdir" = x.; then
  22841. + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  22842. +h
  22843. +s///
  22844. +s/^/:/
  22845. +s/[ ]*$/:/
  22846. +s/:\$(srcdir):/:/g
  22847. +s/:\${srcdir}:/:/g
  22848. +s/:@srcdir@:/:/g
  22849. +s/^:*//
  22850. +s/:*$//
  22851. +x
  22852. +s/\(=[ ]*\).*/\1/
  22853. +G
  22854. +s/\n//
  22855. +s/^[^=]*=[ ]*$//
  22856. +}'
  22857. +fi
  22858. +
  22859. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22860. +fi # test -n "$CONFIG_FILES"
  22861. +
  22862. +# Set up the scripts for CONFIG_HEADERS section.
  22863. +# No need to generate them if there are no CONFIG_HEADERS.
  22864. +# This happens for instance with `./config.status Makefile'.
  22865. +if test -n "$CONFIG_HEADERS"; then
  22866. +cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  22867. +BEGIN {
  22868. +_ACEOF
  22869. +
  22870. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  22871. +# here-document in config.status, that substitutes the proper values into
  22872. +# config.h.in to produce config.h.
  22873. +
  22874. +# Create a delimiter string that does not exist in confdefs.h, to ease
  22875. +# handling of long lines.
  22876. +ac_delim='%!_!# '
  22877. +for ac_last_try in false false :; do
  22878. + ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  22879. + if test -z "$ac_tt"; then
  22880. + break
  22881. + elif $ac_last_try; then
  22882. + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  22883. + else
  22884. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  22885. + fi
  22886. +done
  22887. +
  22888. +# For the awk script, D is an array of macro values keyed by name,
  22889. +# likewise P contains macro parameters if any. Preserve backslash
  22890. +# newline sequences.
  22891. +
  22892. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  22893. +sed -n '
  22894. +s/.\{148\}/&'"$ac_delim"'/g
  22895. +t rset
  22896. +:rset
  22897. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  22898. +t def
  22899. +d
  22900. +:def
  22901. +s/\\$//
  22902. +t bsnl
  22903. +s/["\\]/\\&/g
  22904. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  22905. +D["\1"]=" \3"/p
  22906. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  22907. +d
  22908. +:bsnl
  22909. +s/["\\]/\\&/g
  22910. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  22911. +D["\1"]=" \3\\\\\\n"\\/p
  22912. +t cont
  22913. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  22914. +t cont
  22915. +d
  22916. +:cont
  22917. +n
  22918. +s/.\{148\}/&'"$ac_delim"'/g
  22919. +t clear
  22920. +:clear
  22921. +s/\\$//
  22922. +t bsnlc
  22923. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  22924. +d
  22925. +:bsnlc
  22926. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  22927. +b cont
  22928. +' <confdefs.h | sed '
  22929. +s/'"$ac_delim"'/"\\\
  22930. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  22931. +
  22932. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22933. + for (key in D) D_is_set[key] = 1
  22934. + FS = ""
  22935. +}
  22936. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  22937. + line = \$ 0
  22938. + split(line, arg, " ")
  22939. + if (arg[1] == "#") {
  22940. + defundef = arg[2]
  22941. + mac1 = arg[3]
  22942. + } else {
  22943. + defundef = substr(arg[1], 2)
  22944. + mac1 = arg[2]
  22945. + }
  22946. + split(mac1, mac2, "(") #)
  22947. + macro = mac2[1]
  22948. + prefix = substr(line, 1, index(line, defundef) - 1)
  22949. + if (D_is_set[macro]) {
  22950. + # Preserve the white space surrounding the "#".
  22951. + print prefix "define", macro P[macro] D[macro]
  22952. + next
  22953. + } else {
  22954. + # Replace #undef with comments. This is necessary, for example,
  22955. + # in the case of _POSIX_SOURCE, which is predefined and required
  22956. + # on some systems where configure will not decide to define it.
  22957. + if (defundef == "undef") {
  22958. + print "/*", prefix defundef, macro, "*/"
  22959. + next
  22960. + }
  22961. + }
  22962. +}
  22963. +{ print }
  22964. +_ACAWK
  22965. +_ACEOF
  22966. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22967. + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  22968. +fi # test -n "$CONFIG_HEADERS"
  22969. +
  22970. +
  22971. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  22972. +shift
  22973. +for ac_tag
  22974. +do
  22975. + case $ac_tag in
  22976. + :[FHLC]) ac_mode=$ac_tag; continue;;
  22977. + esac
  22978. + case $ac_mode$ac_tag in
  22979. + :[FHL]*:*);;
  22980. + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  22981. + :[FH]-) ac_tag=-:-;;
  22982. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  22983. + esac
  22984. + ac_save_IFS=$IFS
  22985. + IFS=:
  22986. + set x $ac_tag
  22987. + IFS=$ac_save_IFS
  22988. + shift
  22989. + ac_file=$1
  22990. + shift
  22991. +
  22992. + case $ac_mode in
  22993. + :L) ac_source=$1;;
  22994. + :[FH])
  22995. + ac_file_inputs=
  22996. + for ac_f
  22997. + do
  22998. + case $ac_f in
  22999. + -) ac_f="$ac_tmp/stdin";;
  23000. + *) # Look for the file first in the build tree, then in the source tree
  23001. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  23002. + # because $ac_f cannot contain `:'.
  23003. + test -f "$ac_f" ||
  23004. + case $ac_f in
  23005. + [\\/$]*) false;;
  23006. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  23007. + esac ||
  23008. + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  23009. + esac
  23010. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  23011. + as_fn_append ac_file_inputs " '$ac_f'"
  23012. + done
  23013. +
  23014. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  23015. + # use $as_me), people would be surprised to read:
  23016. + # /* config.h. Generated by config.status. */
  23017. + configure_input='Generated from '`
  23018. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  23019. + `' by configure.'
  23020. + if test x"$ac_file" != x-; then
  23021. + configure_input="$ac_file. $configure_input"
  23022. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  23023. +$as_echo "$as_me: creating $ac_file" >&6;}
  23024. + fi
  23025. + # Neutralize special characters interpreted by sed in replacement strings.
  23026. + case $configure_input in #(
  23027. + *\&* | *\|* | *\\* )
  23028. + ac_sed_conf_input=`$as_echo "$configure_input" |
  23029. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  23030. + *) ac_sed_conf_input=$configure_input;;
  23031. + esac
  23032. +
  23033. + case $ac_tag in
  23034. + *:-:* | *:-) cat >"$ac_tmp/stdin" \
  23035. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  23036. + esac
  23037. + ;;
  23038. + esac
  23039. +
  23040. + ac_dir=`$as_dirname -- "$ac_file" ||
  23041. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  23042. + X"$ac_file" : 'X\(//\)[^/]' \| \
  23043. + X"$ac_file" : 'X\(//\)$' \| \
  23044. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  23045. +$as_echo X"$ac_file" |
  23046. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  23047. + s//\1/
  23048. + q
  23049. + }
  23050. + /^X\(\/\/\)[^/].*/{
  23051. + s//\1/
  23052. + q
  23053. + }
  23054. + /^X\(\/\/\)$/{
  23055. + s//\1/
  23056. + q
  23057. + }
  23058. + /^X\(\/\).*/{
  23059. + s//\1/
  23060. + q
  23061. + }
  23062. + s/.*/./; q'`
  23063. + as_dir="$ac_dir"; as_fn_mkdir_p
  23064. + ac_builddir=.
  23065. +
  23066. +case "$ac_dir" in
  23067. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  23068. +*)
  23069. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  23070. + # A ".." for each directory in $ac_dir_suffix.
  23071. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  23072. + case $ac_top_builddir_sub in
  23073. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  23074. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  23075. + esac ;;
  23076. +esac
  23077. +ac_abs_top_builddir=$ac_pwd
  23078. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  23079. +# for backward compatibility:
  23080. +ac_top_builddir=$ac_top_build_prefix
  23081. +
  23082. +case $srcdir in
  23083. + .) # We are building in place.
  23084. + ac_srcdir=.
  23085. + ac_top_srcdir=$ac_top_builddir_sub
  23086. + ac_abs_top_srcdir=$ac_pwd ;;
  23087. + [\\/]* | ?:[\\/]* ) # Absolute name.
  23088. + ac_srcdir=$srcdir$ac_dir_suffix;
  23089. + ac_top_srcdir=$srcdir
  23090. + ac_abs_top_srcdir=$srcdir ;;
  23091. + *) # Relative name.
  23092. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  23093. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  23094. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  23095. +esac
  23096. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  23097. +
  23098. +
  23099. + case $ac_mode in
  23100. + :F)
  23101. + #
  23102. + # CONFIG_FILE
  23103. + #
  23104. +
  23105. + case $INSTALL in
  23106. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  23107. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  23108. + esac
  23109. + ac_MKDIR_P=$MKDIR_P
  23110. + case $MKDIR_P in
  23111. + [\\/$]* | ?:[\\/]* ) ;;
  23112. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  23113. + esac
  23114. +_ACEOF
  23115. +
  23116. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23117. +# If the template does not know about datarootdir, expand it.
  23118. +# FIXME: This hack should be removed a few years after 2.60.
  23119. +ac_datarootdir_hack=; ac_datarootdir_seen=
  23120. +ac_sed_dataroot='
  23121. +/datarootdir/ {
  23122. + p
  23123. + q
  23124. +}
  23125. +/@datadir@/p
  23126. +/@docdir@/p
  23127. +/@infodir@/p
  23128. +/@localedir@/p
  23129. +/@mandir@/p'
  23130. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  23131. +*datarootdir*) ac_datarootdir_seen=yes;;
  23132. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  23133. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  23134. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  23135. +_ACEOF
  23136. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23137. + ac_datarootdir_hack='
  23138. + s&@datadir@&$datadir&g
  23139. + s&@docdir@&$docdir&g
  23140. + s&@infodir@&$infodir&g
  23141. + s&@localedir@&$localedir&g
  23142. + s&@mandir@&$mandir&g
  23143. + s&\\\${datarootdir}&$datarootdir&g' ;;
  23144. +esac
  23145. +_ACEOF
  23146. +
  23147. +# Neutralize VPATH when `$srcdir' = `.'.
  23148. +# Shell code in configure.ac might set extrasub.
  23149. +# FIXME: do we really want to maintain this feature?
  23150. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23151. +ac_sed_extra="$ac_vpsub
  23152. +$extrasub
  23153. +_ACEOF
  23154. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23155. +:t
  23156. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  23157. +s|@configure_input@|$ac_sed_conf_input|;t t
  23158. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  23159. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  23160. +s&@srcdir@&$ac_srcdir&;t t
  23161. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  23162. +s&@top_srcdir@&$ac_top_srcdir&;t t
  23163. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  23164. +s&@builddir@&$ac_builddir&;t t
  23165. +s&@abs_builddir@&$ac_abs_builddir&;t t
  23166. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  23167. +s&@INSTALL@&$ac_INSTALL&;t t
  23168. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  23169. +$ac_datarootdir_hack
  23170. +"
  23171. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  23172. + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  23173. +
  23174. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  23175. + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  23176. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  23177. + "$ac_tmp/out"`; test -z "$ac_out"; } &&
  23178. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  23179. +which seems to be undefined. Please make sure it is defined" >&5
  23180. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  23181. +which seems to be undefined. Please make sure it is defined" >&2;}
  23182. +
  23183. + rm -f "$ac_tmp/stdin"
  23184. + case $ac_file in
  23185. + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  23186. + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  23187. + esac \
  23188. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  23189. + ;;
  23190. + :H)
  23191. + #
  23192. + # CONFIG_HEADER
  23193. + #
  23194. + if test x"$ac_file" != x-; then
  23195. + {
  23196. + $as_echo "/* $configure_input */" \
  23197. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  23198. + } >"$ac_tmp/config.h" \
  23199. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  23200. + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  23201. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  23202. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  23203. + else
  23204. + rm -f "$ac_file"
  23205. + mv "$ac_tmp/config.h" "$ac_file" \
  23206. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  23207. + fi
  23208. + else
  23209. + $as_echo "/* $configure_input */" \
  23210. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  23211. + || as_fn_error $? "could not create -" "$LINENO" 5
  23212. + fi
  23213. +# Compute "$ac_file"'s index in $config_headers.
  23214. +_am_arg="$ac_file"
  23215. +_am_stamp_count=1
  23216. +for _am_header in $config_headers :; do
  23217. + case $_am_header in
  23218. + $_am_arg | $_am_arg:* )
  23219. + break ;;
  23220. + * )
  23221. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  23222. + esac
  23223. +done
  23224. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  23225. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  23226. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  23227. + X"$_am_arg" : 'X\(//\)$' \| \
  23228. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  23229. +$as_echo X"$_am_arg" |
  23230. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  23231. + s//\1/
  23232. + q
  23233. + }
  23234. + /^X\(\/\/\)[^/].*/{
  23235. + s//\1/
  23236. + q
  23237. + }
  23238. + /^X\(\/\/\)$/{
  23239. + s//\1/
  23240. + q
  23241. + }
  23242. + /^X\(\/\).*/{
  23243. + s//\1/
  23244. + q
  23245. + }
  23246. + s/.*/./; q'`/stamp-h$_am_stamp_count
  23247. + ;;
  23248. +
  23249. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  23250. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  23251. + ;;
  23252. + esac
  23253. +
  23254. +
  23255. + case $ac_file$ac_mode in
  23256. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  23257. + # Older Autoconf quotes --file arguments for eval, but not when files
  23258. + # are listed without --file. Let's play safe and only enable the eval
  23259. + # if we detect the quoting.
  23260. + # TODO: see whether this extra hack can be removed once we start
  23261. + # requiring Autoconf 2.70 or later.
  23262. + case $CONFIG_FILES in @%:@(
  23263. + *\'*) :
  23264. + eval set x "$CONFIG_FILES" ;; @%:@(
  23265. + *) :
  23266. + set x $CONFIG_FILES ;; @%:@(
  23267. + *) :
  23268. + ;;
  23269. +esac
  23270. + shift
  23271. + # Used to flag and report bootstrapping failures.
  23272. + am_rc=0
  23273. + for am_mf
  23274. + do
  23275. + # Strip MF so we end up with the name of the file.
  23276. + am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
  23277. + # Check whether this is an Automake generated Makefile which includes
  23278. + # dependency-tracking related rules and includes.
  23279. + # Grep'ing the whole file directly is not great: AIX grep has a line
  23280. + # limit of 2048, but all sed's we know have understand at least 4000.
  23281. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  23282. + || continue
  23283. + am_dirpart=`$as_dirname -- "$am_mf" ||
  23284. +$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  23285. + X"$am_mf" : 'X\(//\)[^/]' \| \
  23286. + X"$am_mf" : 'X\(//\)$' \| \
  23287. + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  23288. +$as_echo X"$am_mf" |
  23289. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  23290. + s//\1/
  23291. + q
  23292. + }
  23293. + /^X\(\/\/\)[^/].*/{
  23294. + s//\1/
  23295. + q
  23296. + }
  23297. + /^X\(\/\/\)$/{
  23298. + s//\1/
  23299. + q
  23300. + }
  23301. + /^X\(\/\).*/{
  23302. + s//\1/
  23303. + q
  23304. + }
  23305. + s/.*/./; q'`
  23306. + am_filepart=`$as_basename -- "$am_mf" ||
  23307. +$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
  23308. + X"$am_mf" : 'X\(//\)$' \| \
  23309. + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  23310. +$as_echo X/"$am_mf" |
  23311. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  23312. + s//\1/
  23313. + q
  23314. + }
  23315. + /^X\/\(\/\/\)$/{
  23316. + s//\1/
  23317. + q
  23318. + }
  23319. + /^X\/\(\/\).*/{
  23320. + s//\1/
  23321. + q
  23322. + }
  23323. + s/.*/./; q'`
  23324. + { echo "$as_me:$LINENO: cd "$am_dirpart" \
  23325. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  23326. + | $MAKE -f - am--depfiles" >&5
  23327. + (cd "$am_dirpart" \
  23328. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  23329. + | $MAKE -f - am--depfiles) >&5 2>&5
  23330. + ac_status=$?
  23331. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23332. + (exit $ac_status); } || am_rc=$?
  23333. + done
  23334. + if test $am_rc -ne 0; then
  23335. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  23336. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  23337. +as_fn_error $? "Something went wrong bootstrapping makefile fragments
  23338. + for automatic dependency tracking. Try re-running configure with the
  23339. + '--disable-dependency-tracking' option to at least be able to build
  23340. + the package (albeit without support for automatic dependency tracking).
  23341. +See \`config.log' for more details" "$LINENO" 5; }
  23342. + fi
  23343. + { am_dirpart=; unset am_dirpart;}
  23344. + { am_filepart=; unset am_filepart;}
  23345. + { am_mf=; unset am_mf;}
  23346. + { am_rc=; unset am_rc;}
  23347. + rm -f conftest-deps.mk
  23348. +}
  23349. + ;;
  23350. + "libtool":C)
  23351. +
  23352. + # See if we are running on zsh, and set the options which allow our
  23353. + # commands through without removal of \ escapes.
  23354. + if test -n "${ZSH_VERSION+set}" ; then
  23355. + setopt NO_GLOB_SUBST
  23356. + fi
  23357. +
  23358. + cfgfile="${ofile}T"
  23359. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  23360. + $RM "$cfgfile"
  23361. +
  23362. + cat <<_LT_EOF >> "$cfgfile"
  23363. +#! $SHELL
  23364. +
  23365. +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  23366. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  23367. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  23368. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  23369. +#
  23370. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  23371. +# 2006, 2007, 2008 Free Software Foundation, Inc.
  23372. +# Written by Gordon Matzigkeit, 1996
  23373. +#
  23374. +# This file is part of GNU Libtool.
  23375. +#
  23376. +# GNU Libtool is free software; you can redistribute it and/or
  23377. +# modify it under the terms of the GNU General Public License as
  23378. +# published by the Free Software Foundation; either version 2 of
  23379. +# the License, or (at your option) any later version.
  23380. +#
  23381. +# As a special exception to the GNU General Public License,
  23382. +# if you distribute this file as part of a program or library that
  23383. +# is built using GNU Libtool, you may include this file under the
  23384. +# same distribution terms that you use for the rest of that program.
  23385. +#
  23386. +# GNU Libtool is distributed in the hope that it will be useful,
  23387. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  23388. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  23389. +# GNU General Public License for more details.
  23390. +#
  23391. +# You should have received a copy of the GNU General Public License
  23392. +# along with GNU Libtool; see the file COPYING. If not, a copy
  23393. +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  23394. +# obtained by writing to the Free Software Foundation, Inc.,
  23395. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  23396. +
  23397. +
  23398. +# The names of the tagged configurations supported by this script.
  23399. +available_tags=""
  23400. +
  23401. +# ### BEGIN LIBTOOL CONFIG
  23402. +
  23403. +# Which release of libtool.m4 was used?
  23404. +macro_version=$macro_version
  23405. +macro_revision=$macro_revision
  23406. +
  23407. +# Whether or not to build shared libraries.
  23408. +build_libtool_libs=$enable_shared
  23409. +
  23410. +# Whether or not to build static libraries.
  23411. +build_old_libs=$enable_static
  23412. +
  23413. +# What type of objects to build.
  23414. +pic_mode=$pic_mode
  23415. +
  23416. +# Whether or not to optimize for fast installation.
  23417. +fast_install=$enable_fast_install
  23418. +
  23419. +# The host system.
  23420. +host_alias=$host_alias
  23421. +host=$host
  23422. +host_os=$host_os
  23423. +
  23424. +# The build system.
  23425. +build_alias=$build_alias
  23426. +build=$build
  23427. +build_os=$build_os
  23428. +
  23429. +# A sed program that does not truncate output.
  23430. +SED=$lt_SED
  23431. +
  23432. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  23433. +Xsed="\$SED -e 1s/^X//"
  23434. +
  23435. +# A grep program that handles long lines.
  23436. +GREP=$lt_GREP
  23437. +
  23438. +# An ERE matcher.
  23439. +EGREP=$lt_EGREP
  23440. +
  23441. +# A literal string matcher.
  23442. +FGREP=$lt_FGREP
  23443. +
  23444. +# A BSD- or MS-compatible name lister.
  23445. +NM=$lt_NM
  23446. +
  23447. +# Whether we need soft or hard links.
  23448. +LN_S=$lt_LN_S
  23449. +
  23450. +# What is the maximum length of a command?
  23451. +max_cmd_len=$max_cmd_len
  23452. +
  23453. +# Object file suffix (normally "o").
  23454. +objext=$ac_objext
  23455. +
  23456. +# Executable file suffix (normally "").
  23457. +exeext=$exeext
  23458. +
  23459. +# whether the shell understands "unset".
  23460. +lt_unset=$lt_unset
  23461. +
  23462. +# turn spaces into newlines.
  23463. +SP2NL=$lt_lt_SP2NL
  23464. +
  23465. +# turn newlines into spaces.
  23466. +NL2SP=$lt_lt_NL2SP
  23467. +
  23468. +# How to create reloadable object files.
  23469. +reload_flag=$lt_reload_flag
  23470. +reload_cmds=$lt_reload_cmds
  23471. +
  23472. +# An object symbol dumper.
  23473. +OBJDUMP=$lt_OBJDUMP
  23474. +
  23475. +# Method to check whether dependent libraries are shared objects.
  23476. +deplibs_check_method=$lt_deplibs_check_method
  23477. +
  23478. +# Command to use when deplibs_check_method == "file_magic".
  23479. +file_magic_cmd=$lt_file_magic_cmd
  23480. +
  23481. +# The archiver.
  23482. +AR=$lt_AR
  23483. +AR_FLAGS=$lt_AR_FLAGS
  23484. +
  23485. +# A symbol stripping program.
  23486. +STRIP=$lt_STRIP
  23487. +
  23488. +# Commands used to install an old-style archive.
  23489. +RANLIB=$lt_RANLIB
  23490. +old_postinstall_cmds=$lt_old_postinstall_cmds
  23491. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  23492. +
  23493. +# A C compiler.
  23494. +LTCC=$lt_CC
  23495. +
  23496. +# LTCC compiler flags.
  23497. +LTCFLAGS=$lt_CFLAGS
  23498. +
  23499. +# Take the output of nm and produce a listing of raw symbols and C names.
  23500. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  23501. +
  23502. +# Transform the output of nm in a proper C declaration.
  23503. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  23504. +
  23505. +# Transform the output of nm in a C name address pair.
  23506. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  23507. +
  23508. +# Transform the output of nm in a C name address pair when lib prefix is needed.
  23509. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  23510. +
  23511. +# The name of the directory that contains temporary libtool files.
  23512. +objdir=$objdir
  23513. +
  23514. +# Shell to use when invoking shell scripts.
  23515. +SHELL=$lt_SHELL
  23516. +
  23517. +# An echo program that does not interpret backslashes.
  23518. +ECHO=$lt_ECHO
  23519. +
  23520. +# Used to examine libraries when file_magic_cmd begins with "file".
  23521. +MAGIC_CMD=$MAGIC_CMD
  23522. +
  23523. +# Must we lock files when doing compilation?
  23524. +need_locks=$lt_need_locks
  23525. +
  23526. +# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  23527. +DSYMUTIL=$lt_DSYMUTIL
  23528. +
  23529. +# Tool to change global to local symbols on Mac OS X.
  23530. +NMEDIT=$lt_NMEDIT
  23531. +
  23532. +# Tool to manipulate fat objects and archives on Mac OS X.
  23533. +LIPO=$lt_LIPO
  23534. +
  23535. +# ldd/readelf like tool for Mach-O binaries on Mac OS X.
  23536. +OTOOL=$lt_OTOOL
  23537. +
  23538. +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  23539. +OTOOL64=$lt_OTOOL64
  23540. +
  23541. +# Old archive suffix (normally "a").
  23542. +libext=$libext
  23543. +
  23544. +# Shared library suffix (normally ".so").
  23545. +shrext_cmds=$lt_shrext_cmds
  23546. +
  23547. +# The commands to extract the exported symbol list from a shared archive.
  23548. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  23549. +
  23550. +# Variables whose values should be saved in libtool wrapper scripts and
  23551. +# restored at link time.
  23552. +variables_saved_for_relink=$lt_variables_saved_for_relink
  23553. +
  23554. +# Do we need the "lib" prefix for modules?
  23555. +need_lib_prefix=$need_lib_prefix
  23556. +
  23557. +# Do we need a version for libraries?
  23558. +need_version=$need_version
  23559. +
  23560. +# Library versioning type.
  23561. +version_type=$version_type
  23562. +
  23563. +# Shared library runtime path variable.
  23564. +runpath_var=$runpath_var
  23565. +
  23566. +# Shared library path variable.
  23567. +shlibpath_var=$shlibpath_var
  23568. +
  23569. +# Is shlibpath searched before the hard-coded library search path?
  23570. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  23571. +
  23572. +# Format of library name prefix.
  23573. +libname_spec=$lt_libname_spec
  23574. +
  23575. +# List of archive names. First name is the real one, the rest are links.
  23576. +# The last name is the one that the linker finds with -lNAME
  23577. +library_names_spec=$lt_library_names_spec
  23578. +
  23579. +# The coded name of the library, if different from the real name.
  23580. +soname_spec=$lt_soname_spec
  23581. +
  23582. +# Command to use after installation of a shared archive.
  23583. +postinstall_cmds=$lt_postinstall_cmds
  23584. +
  23585. +# Command to use after uninstallation of a shared archive.
  23586. +postuninstall_cmds=$lt_postuninstall_cmds
  23587. +
  23588. +# Commands used to finish a libtool library installation in a directory.
  23589. +finish_cmds=$lt_finish_cmds
  23590. +
  23591. +# As "finish_cmds", except a single script fragment to be evaled but
  23592. +# not shown.
  23593. +finish_eval=$lt_finish_eval
  23594. +
  23595. +# Whether we should hardcode library paths into libraries.
  23596. +hardcode_into_libs=$hardcode_into_libs
  23597. +
  23598. +# Compile-time system search path for libraries.
  23599. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  23600. +
  23601. +# Run-time system search path for libraries.
  23602. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  23603. +
  23604. +# Whether dlopen is supported.
  23605. +dlopen_support=$enable_dlopen
  23606. +
  23607. +# Whether dlopen of programs is supported.
  23608. +dlopen_self=$enable_dlopen_self
  23609. +
  23610. +# Whether dlopen of statically linked programs is supported.
  23611. +dlopen_self_static=$enable_dlopen_self_static
  23612. +
  23613. +# Commands to strip libraries.
  23614. +old_striplib=$lt_old_striplib
  23615. +striplib=$lt_striplib
  23616. +
  23617. +
  23618. +# The linker used to build libraries.
  23619. +LD=$lt_LD
  23620. +
  23621. +# Commands used to build an old-style archive.
  23622. +old_archive_cmds=$lt_old_archive_cmds
  23623. +
  23624. +# A language specific compiler.
  23625. +CC=$lt_compiler
  23626. +
  23627. +# Is the compiler the GNU compiler?
  23628. +with_gcc=$GCC
  23629. +
  23630. +# Compiler flag to turn off builtin functions.
  23631. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  23632. +
  23633. +# How to pass a linker flag through the compiler.
  23634. +wl=$lt_lt_prog_compiler_wl
  23635. +
  23636. +# Additional compiler flags for building library objects.
  23637. +pic_flag=$lt_lt_prog_compiler_pic
  23638. +
  23639. +# Compiler flag to prevent dynamic linking.
  23640. +link_static_flag=$lt_lt_prog_compiler_static
  23641. +
  23642. +# Does compiler simultaneously support -c and -o options?
  23643. +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  23644. +
  23645. +# Whether or not to add -lc for building shared libraries.
  23646. +build_libtool_need_lc=$archive_cmds_need_lc
  23647. +
  23648. +# Whether or not to disallow shared libs when runtime libs are static.
  23649. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  23650. +
  23651. +# Compiler flag to allow reflexive dlopens.
  23652. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  23653. +
  23654. +# Compiler flag to generate shared objects directly from archives.
  23655. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  23656. +
  23657. +# Whether the compiler copes with passing no objects directly.
  23658. +compiler_needs_object=$lt_compiler_needs_object
  23659. +
  23660. +# Create an old-style archive from a shared archive.
  23661. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  23662. +
  23663. +# Create a temporary old-style archive to link instead of a shared archive.
  23664. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  23665. +
  23666. +# Commands used to build a shared archive.
  23667. +archive_cmds=$lt_archive_cmds
  23668. +archive_expsym_cmds=$lt_archive_expsym_cmds
  23669. +
  23670. +# Commands used to build a loadable module if different from building
  23671. +# a shared archive.
  23672. +module_cmds=$lt_module_cmds
  23673. +module_expsym_cmds=$lt_module_expsym_cmds
  23674. +
  23675. +# Whether we are building with GNU ld or not.
  23676. +with_gnu_ld=$lt_with_gnu_ld
  23677. +
  23678. +# Flag that allows shared libraries with undefined symbols to be built.
  23679. +allow_undefined_flag=$lt_allow_undefined_flag
  23680. +
  23681. +# Flag that enforces no undefined symbols.
  23682. +no_undefined_flag=$lt_no_undefined_flag
  23683. +
  23684. +# Flag to hardcode \$libdir into a binary during linking.
  23685. +# This must work even if \$libdir does not exist
  23686. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  23687. +
  23688. +# If ld is used when linking, flag to hardcode \$libdir into a binary
  23689. +# during linking. This must work even if \$libdir does not exist.
  23690. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  23691. +
  23692. +# Whether we need a single "-rpath" flag with a separated argument.
  23693. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  23694. +
  23695. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  23696. +# DIR into the resulting binary.
  23697. +hardcode_direct=$hardcode_direct
  23698. +
  23699. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  23700. +# DIR into the resulting binary and the resulting library dependency is
  23701. +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  23702. +# library is relocated.
  23703. +hardcode_direct_absolute=$hardcode_direct_absolute
  23704. +
  23705. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  23706. +# into the resulting binary.
  23707. +hardcode_minus_L=$hardcode_minus_L
  23708. +
  23709. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  23710. +# into the resulting binary.
  23711. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  23712. +
  23713. +# Set to "yes" if building a shared library automatically hardcodes DIR
  23714. +# into the library and all subsequent libraries and executables linked
  23715. +# against it.
  23716. +hardcode_automatic=$hardcode_automatic
  23717. +
  23718. +# Set to yes if linker adds runtime paths of dependent libraries
  23719. +# to runtime path list.
  23720. +inherit_rpath=$inherit_rpath
  23721. +
  23722. +# Whether libtool must link a program against all its dependency libraries.
  23723. +link_all_deplibs=$link_all_deplibs
  23724. +
  23725. +# Fix the shell variable \$srcfile for the compiler.
  23726. +fix_srcfile_path=$lt_fix_srcfile_path
  23727. +
  23728. +# Set to "yes" if exported symbols are required.
  23729. +always_export_symbols=$always_export_symbols
  23730. +
  23731. +# The commands to list exported symbols.
  23732. +export_symbols_cmds=$lt_export_symbols_cmds
  23733. +
  23734. +# Symbols that should not be listed in the preloaded symbols.
  23735. +exclude_expsyms=$lt_exclude_expsyms
  23736. +
  23737. +# Symbols that must always be exported.
  23738. +include_expsyms=$lt_include_expsyms
  23739. +
  23740. +# Commands necessary for linking programs (against libraries) with templates.
  23741. +prelink_cmds=$lt_prelink_cmds
  23742. +
  23743. +# Specify filename containing input files.
  23744. +file_list_spec=$lt_file_list_spec
  23745. +
  23746. +# How to hardcode a shared library path into an executable.
  23747. +hardcode_action=$hardcode_action
  23748. +
  23749. +# ### END LIBTOOL CONFIG
  23750. +
  23751. +_LT_EOF
  23752. +
  23753. + case $host_os in
  23754. + aix3*)
  23755. + cat <<\_LT_EOF >> "$cfgfile"
  23756. +# AIX sometimes has problems with the GCC collect2 program. For some
  23757. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  23758. +# vanish in a puff of smoke.
  23759. +if test "X${COLLECT_NAMES+set}" != Xset; then
  23760. + COLLECT_NAMES=
  23761. + export COLLECT_NAMES
  23762. +fi
  23763. +_LT_EOF
  23764. + ;;
  23765. + esac
  23766. +
  23767. +
  23768. +ltmain="$ac_aux_dir/ltmain.sh"
  23769. +
  23770. +
  23771. + # We use sed instead of cat because bash on DJGPP gets confused if
  23772. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  23773. + # text mode, it properly converts lines to CR/LF. This bash problem
  23774. + # is reportedly fixed, but why not run on old versions too?
  23775. + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  23776. + || (rm -f "$cfgfile"; exit 1)
  23777. +
  23778. + case $xsi_shell in
  23779. + yes)
  23780. + cat << \_LT_EOF >> "$cfgfile"
  23781. +
  23782. +# func_dirname file append nondir_replacement
  23783. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  23784. +# otherwise set result to NONDIR_REPLACEMENT.
  23785. +func_dirname ()
  23786. +{
  23787. + case ${1} in
  23788. + */*) func_dirname_result="${1%/*}${2}" ;;
  23789. + * ) func_dirname_result="${3}" ;;
  23790. + esac
  23791. +}
  23792. +
  23793. +# func_basename file
  23794. +func_basename ()
  23795. +{
  23796. + func_basename_result="${1##*/}"
  23797. +}
  23798. +
  23799. +# func_dirname_and_basename file append nondir_replacement
  23800. +# perform func_basename and func_dirname in a single function
  23801. +# call:
  23802. +# dirname: Compute the dirname of FILE. If nonempty,
  23803. +# add APPEND to the result, otherwise set result
  23804. +# to NONDIR_REPLACEMENT.
  23805. +# value returned in "$func_dirname_result"
  23806. +# basename: Compute filename of FILE.
  23807. +# value retuned in "$func_basename_result"
  23808. +# Implementation must be kept synchronized with func_dirname
  23809. +# and func_basename. For efficiency, we do not delegate to
  23810. +# those functions but instead duplicate the functionality here.
  23811. +func_dirname_and_basename ()
  23812. +{
  23813. + case ${1} in
  23814. + */*) func_dirname_result="${1%/*}${2}" ;;
  23815. + * ) func_dirname_result="${3}" ;;
  23816. + esac
  23817. + func_basename_result="${1##*/}"
  23818. +}
  23819. +
  23820. +# func_stripname prefix suffix name
  23821. +# strip PREFIX and SUFFIX off of NAME.
  23822. +# PREFIX and SUFFIX must not contain globbing or regex special
  23823. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  23824. +# dot (in which case that matches only a dot).
  23825. +func_stripname ()
  23826. +{
  23827. + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  23828. + # positional parameters, so assign one to ordinary parameter first.
  23829. + func_stripname_result=${3}
  23830. + func_stripname_result=${func_stripname_result#"${1}"}
  23831. + func_stripname_result=${func_stripname_result%"${2}"}
  23832. +}
  23833. +
  23834. +# func_opt_split
  23835. +func_opt_split ()
  23836. +{
  23837. + func_opt_split_opt=${1%%=*}
  23838. + func_opt_split_arg=${1#*=}
  23839. +}
  23840. +
  23841. +# func_lo2o object
  23842. +func_lo2o ()
  23843. +{
  23844. + case ${1} in
  23845. + *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  23846. + *) func_lo2o_result=${1} ;;
  23847. + esac
  23848. +}
  23849. +
  23850. +# func_xform libobj-or-source
  23851. +func_xform ()
  23852. +{
  23853. + func_xform_result=${1%.*}.lo
  23854. +}
  23855. +
  23856. +# func_arith arithmetic-term...
  23857. +func_arith ()
  23858. +{
  23859. + func_arith_result=$(( $* ))
  23860. +}
  23861. +
  23862. +# func_len string
  23863. +# STRING may not start with a hyphen.
  23864. +func_len ()
  23865. +{
  23866. + func_len_result=${#1}
  23867. +}
  23868. +
  23869. +_LT_EOF
  23870. + ;;
  23871. + *) # Bourne compatible functions.
  23872. + cat << \_LT_EOF >> "$cfgfile"
  23873. +
  23874. +# func_dirname file append nondir_replacement
  23875. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  23876. +# otherwise set result to NONDIR_REPLACEMENT.
  23877. +func_dirname ()
  23878. +{
  23879. + # Extract subdirectory from the argument.
  23880. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  23881. + if test "X$func_dirname_result" = "X${1}"; then
  23882. + func_dirname_result="${3}"
  23883. + else
  23884. + func_dirname_result="$func_dirname_result${2}"
  23885. + fi
  23886. +}
  23887. +
  23888. +# func_basename file
  23889. +func_basename ()
  23890. +{
  23891. + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  23892. +}
  23893. +
  23894. +
  23895. +# func_stripname prefix suffix name
  23896. +# strip PREFIX and SUFFIX off of NAME.
  23897. +# PREFIX and SUFFIX must not contain globbing or regex special
  23898. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  23899. +# dot (in which case that matches only a dot).
  23900. +# func_strip_suffix prefix name
  23901. +func_stripname ()
  23902. +{
  23903. + case ${2} in
  23904. + .*) func_stripname_result=`$ECHO "X${3}" \
  23905. + | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  23906. + *) func_stripname_result=`$ECHO "X${3}" \
  23907. + | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  23908. + esac
  23909. +}
  23910. +
  23911. +# sed scripts:
  23912. +my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  23913. +my_sed_long_arg='1s/^-[^=]*=//'
  23914. +
  23915. +# func_opt_split
  23916. +func_opt_split ()
  23917. +{
  23918. + func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  23919. + func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  23920. +}
  23921. +
  23922. +# func_lo2o object
  23923. +func_lo2o ()
  23924. +{
  23925. + func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  23926. +}
  23927. +
  23928. +# func_xform libobj-or-source
  23929. +func_xform ()
  23930. +{
  23931. + func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  23932. +}
  23933. +
  23934. +# func_arith arithmetic-term...
  23935. +func_arith ()
  23936. +{
  23937. + func_arith_result=`expr "$@"`
  23938. +}
  23939. +
  23940. +# func_len string
  23941. +# STRING may not start with a hyphen.
  23942. +func_len ()
  23943. +{
  23944. + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  23945. +}
  23946. +
  23947. +_LT_EOF
  23948. +esac
  23949. +
  23950. +case $lt_shell_append in
  23951. + yes)
  23952. + cat << \_LT_EOF >> "$cfgfile"
  23953. +
  23954. +# func_append var value
  23955. +# Append VALUE to the end of shell variable VAR.
  23956. +func_append ()
  23957. +{
  23958. + eval "$1+=\$2"
  23959. +}
  23960. +_LT_EOF
  23961. + ;;
  23962. + *)
  23963. + cat << \_LT_EOF >> "$cfgfile"
  23964. +
  23965. +# func_append var value
  23966. +# Append VALUE to the end of shell variable VAR.
  23967. +func_append ()
  23968. +{
  23969. + eval "$1=\$$1\$2"
  23970. +}
  23971. +
  23972. +_LT_EOF
  23973. + ;;
  23974. + esac
  23975. +
  23976. +
  23977. + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  23978. + || (rm -f "$cfgfile"; exit 1)
  23979. +
  23980. + mv -f "$cfgfile" "$ofile" ||
  23981. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  23982. + chmod +x "$ofile"
  23983. +
  23984. + ;;
  23985. + "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
  23986. +
  23987. + esac
  23988. +done # for ac_tag
  23989. +
  23990. +
  23991. +as_fn_exit 0
  23992. +_ACEOF
  23993. +ac_clean_files=$ac_clean_files_save
  23994. +
  23995. +test $ac_write_fail = 0 ||
  23996. + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  23997. +
  23998. +
  23999. +# configure is writing to config.log, and then calls config.status.
  24000. +# config.status does its own redirection, appending to config.log.
  24001. +# Unfortunately, on DOS this fails, as config.log is still kept open
  24002. +# by configure, so config.status won't be able to write to it; its
  24003. +# output is simply discarded. So we exec the FD to /dev/null,
  24004. +# effectively closing config.log, so it can be properly (re)opened and
  24005. +# appended to by config.status. When coming back to configure, we
  24006. +# need to make the FD available again.
  24007. +if test "$no_create" != yes; then
  24008. + ac_cs_success=:
  24009. + ac_config_status_args=
  24010. + test "$silent" = yes &&
  24011. + ac_config_status_args="$ac_config_status_args --quiet"
  24012. + exec 5>/dev/null
  24013. + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  24014. + exec 5>>config.log
  24015. + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  24016. + # would make configure fail if this is the last instruction.
  24017. + $ac_cs_success || as_fn_exit 1
  24018. +fi
  24019. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  24020. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  24021. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  24022. +fi
  24023. +
  24024. +
  24025. +if test "$ac_cv_header_setjmp_h" != "yes"; then
  24026. + echo
  24027. + echo "WARNING:"
  24028. + echo "Error handling of FIASCO library requires ANSI-C setjmp.h header file!"
  24029. + echo "If you are using the FIASCO library, exit() is now called in case of errors."
  24030. + echo "Please send me a mail (hafner@bigfoot.de) with the output of"
  24031. + echo "the configure script."
  24032. + echo
  24033. +fi
  24034. +
  24035. diff -Nru Fiasco-master/autom4te.cache/output.1 Fiasco-master-pfiasco/autom4te.cache/output.1
  24036. --- Fiasco-master/autom4te.cache/output.1 1969-12-31 19:00:00.000000000 -0500
  24037. +++ Fiasco-master-pfiasco/autom4te.cache/output.1 2019-06-17 21:04:51.879817561 -0400
  24038. @@ -0,0 +1,16012 @@
  24039. +@%:@! /bin/sh
  24040. +@%:@ Guess values for system-dependent variables and create Makefiles.
  24041. +@%:@ Generated by GNU Autoconf 2.69 for fiasco 1.3.
  24042. +@%:@
  24043. +@%:@
  24044. +@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  24045. +@%:@
  24046. +@%:@
  24047. +@%:@ This configure script is free software; the Free Software Foundation
  24048. +@%:@ gives unlimited permission to copy, distribute and modify it.
  24049. +## -------------------- ##
  24050. +## M4sh Initialization. ##
  24051. +## -------------------- ##
  24052. +
  24053. +# Be more Bourne compatible
  24054. +DUALCASE=1; export DUALCASE # for MKS sh
  24055. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  24056. + emulate sh
  24057. + NULLCMD=:
  24058. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  24059. + # is contrary to our usage. Disable this feature.
  24060. + alias -g '${1+"$@"}'='"$@"'
  24061. + setopt NO_GLOB_SUBST
  24062. +else
  24063. + case `(set -o) 2>/dev/null` in @%:@(
  24064. + *posix*) :
  24065. + set -o posix ;; @%:@(
  24066. + *) :
  24067. + ;;
  24068. +esac
  24069. +fi
  24070. +
  24071. +
  24072. +as_nl='
  24073. +'
  24074. +export as_nl
  24075. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  24076. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  24077. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  24078. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  24079. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  24080. +# but without wasting forks for bash or zsh.
  24081. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  24082. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  24083. + as_echo='print -r --'
  24084. + as_echo_n='print -rn --'
  24085. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  24086. + as_echo='printf %s\n'
  24087. + as_echo_n='printf %s'
  24088. +else
  24089. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  24090. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  24091. + as_echo_n='/usr/ucb/echo -n'
  24092. + else
  24093. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  24094. + as_echo_n_body='eval
  24095. + arg=$1;
  24096. + case $arg in @%:@(
  24097. + *"$as_nl"*)
  24098. + expr "X$arg" : "X\\(.*\\)$as_nl";
  24099. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  24100. + esac;
  24101. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  24102. + '
  24103. + export as_echo_n_body
  24104. + as_echo_n='sh -c $as_echo_n_body as_echo'
  24105. + fi
  24106. + export as_echo_body
  24107. + as_echo='sh -c $as_echo_body as_echo'
  24108. +fi
  24109. +
  24110. +# The user is always right.
  24111. +if test "${PATH_SEPARATOR+set}" != set; then
  24112. + PATH_SEPARATOR=:
  24113. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  24114. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  24115. + PATH_SEPARATOR=';'
  24116. + }
  24117. +fi
  24118. +
  24119. +
  24120. +# IFS
  24121. +# We need space, tab and new line, in precisely that order. Quoting is
  24122. +# there to prevent editors from complaining about space-tab.
  24123. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  24124. +# splitting by setting IFS to empty value.)
  24125. +IFS=" "" $as_nl"
  24126. +
  24127. +# Find who we are. Look in the path if we contain no directory separator.
  24128. +as_myself=
  24129. +case $0 in @%:@((
  24130. + *[\\/]* ) as_myself=$0 ;;
  24131. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24132. +for as_dir in $PATH
  24133. +do
  24134. + IFS=$as_save_IFS
  24135. + test -z "$as_dir" && as_dir=.
  24136. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  24137. + done
  24138. +IFS=$as_save_IFS
  24139. +
  24140. + ;;
  24141. +esac
  24142. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  24143. +# in which case we are not to be found in the path.
  24144. +if test "x$as_myself" = x; then
  24145. + as_myself=$0
  24146. +fi
  24147. +if test ! -f "$as_myself"; then
  24148. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  24149. + exit 1
  24150. +fi
  24151. +
  24152. +# Unset variables that we do not need and which cause bugs (e.g. in
  24153. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  24154. +# suppresses any "Segmentation fault" message there. '((' could
  24155. +# trigger a bug in pdksh 5.2.14.
  24156. +for as_var in BASH_ENV ENV MAIL MAILPATH
  24157. +do eval test x\${$as_var+set} = xset \
  24158. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  24159. +done
  24160. +PS1='$ '
  24161. +PS2='> '
  24162. +PS4='+ '
  24163. +
  24164. +# NLS nuisances.
  24165. +LC_ALL=C
  24166. +export LC_ALL
  24167. +LANGUAGE=C
  24168. +export LANGUAGE
  24169. +
  24170. +# CDPATH.
  24171. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  24172. +
  24173. +# Use a proper internal environment variable to ensure we don't fall
  24174. + # into an infinite loop, continuously re-executing ourselves.
  24175. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  24176. + _as_can_reexec=no; export _as_can_reexec;
  24177. + # We cannot yet assume a decent shell, so we have to provide a
  24178. +# neutralization value for shells without unset; and this also
  24179. +# works around shells that cannot unset nonexistent variables.
  24180. +# Preserve -v and -x to the replacement shell.
  24181. +BASH_ENV=/dev/null
  24182. +ENV=/dev/null
  24183. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  24184. +case $- in @%:@ ((((
  24185. + *v*x* | *x*v* ) as_opts=-vx ;;
  24186. + *v* ) as_opts=-v ;;
  24187. + *x* ) as_opts=-x ;;
  24188. + * ) as_opts= ;;
  24189. +esac
  24190. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  24191. +# Admittedly, this is quite paranoid, since all the known shells bail
  24192. +# out after a failed `exec'.
  24193. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  24194. +as_fn_exit 255
  24195. + fi
  24196. + # We don't want this to propagate to other subprocesses.
  24197. + { _as_can_reexec=; unset _as_can_reexec;}
  24198. +if test "x$CONFIG_SHELL" = x; then
  24199. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  24200. + emulate sh
  24201. + NULLCMD=:
  24202. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  24203. + # is contrary to our usage. Disable this feature.
  24204. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  24205. + setopt NO_GLOB_SUBST
  24206. +else
  24207. + case \`(set -o) 2>/dev/null\` in @%:@(
  24208. + *posix*) :
  24209. + set -o posix ;; @%:@(
  24210. + *) :
  24211. + ;;
  24212. +esac
  24213. +fi
  24214. +"
  24215. + as_required="as_fn_return () { (exit \$1); }
  24216. +as_fn_success () { as_fn_return 0; }
  24217. +as_fn_failure () { as_fn_return 1; }
  24218. +as_fn_ret_success () { return 0; }
  24219. +as_fn_ret_failure () { return 1; }
  24220. +
  24221. +exitcode=0
  24222. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  24223. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  24224. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  24225. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  24226. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  24227. +
  24228. +else
  24229. + exitcode=1; echo positional parameters were not saved.
  24230. +fi
  24231. +test x\$exitcode = x0 || exit 1
  24232. +test -x / || exit 1"
  24233. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  24234. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  24235. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  24236. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  24237. +
  24238. + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  24239. + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  24240. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  24241. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  24242. + PATH=/empty FPATH=/empty; export PATH FPATH
  24243. + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  24244. + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
  24245. +test \$(( 1 + 1 )) = 2 || exit 1"
  24246. + if (eval "$as_required") 2>/dev/null; then :
  24247. + as_have_required=yes
  24248. +else
  24249. + as_have_required=no
  24250. +fi
  24251. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  24252. +
  24253. +else
  24254. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24255. +as_found=false
  24256. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  24257. +do
  24258. + IFS=$as_save_IFS
  24259. + test -z "$as_dir" && as_dir=.
  24260. + as_found=:
  24261. + case $as_dir in @%:@(
  24262. + /*)
  24263. + for as_base in sh bash ksh sh5; do
  24264. + # Try only shells that exist, to save several forks.
  24265. + as_shell=$as_dir/$as_base
  24266. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  24267. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  24268. + CONFIG_SHELL=$as_shell as_have_required=yes
  24269. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  24270. + break 2
  24271. +fi
  24272. +fi
  24273. + done;;
  24274. + esac
  24275. + as_found=false
  24276. +done
  24277. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  24278. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  24279. + CONFIG_SHELL=$SHELL as_have_required=yes
  24280. +fi; }
  24281. +IFS=$as_save_IFS
  24282. +
  24283. +
  24284. + if test "x$CONFIG_SHELL" != x; then :
  24285. + export CONFIG_SHELL
  24286. + # We cannot yet assume a decent shell, so we have to provide a
  24287. +# neutralization value for shells without unset; and this also
  24288. +# works around shells that cannot unset nonexistent variables.
  24289. +# Preserve -v and -x to the replacement shell.
  24290. +BASH_ENV=/dev/null
  24291. +ENV=/dev/null
  24292. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  24293. +case $- in @%:@ ((((
  24294. + *v*x* | *x*v* ) as_opts=-vx ;;
  24295. + *v* ) as_opts=-v ;;
  24296. + *x* ) as_opts=-x ;;
  24297. + * ) as_opts= ;;
  24298. +esac
  24299. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  24300. +# Admittedly, this is quite paranoid, since all the known shells bail
  24301. +# out after a failed `exec'.
  24302. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  24303. +exit 255
  24304. +fi
  24305. +
  24306. + if test x$as_have_required = xno; then :
  24307. + $as_echo "$0: This script requires a shell more modern than all"
  24308. + $as_echo "$0: the shells that I found on your system."
  24309. + if test x${ZSH_VERSION+set} = xset ; then
  24310. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  24311. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  24312. + else
  24313. + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  24314. +$0: including any error possibly output before this
  24315. +$0: message. Then install a modern shell, or manually run
  24316. +$0: the script under such a shell if you do have one."
  24317. + fi
  24318. + exit 1
  24319. +fi
  24320. +fi
  24321. +fi
  24322. +SHELL=${CONFIG_SHELL-/bin/sh}
  24323. +export SHELL
  24324. +# Unset more variables known to interfere with behavior of common tools.
  24325. +CLICOLOR_FORCE= GREP_OPTIONS=
  24326. +unset CLICOLOR_FORCE GREP_OPTIONS
  24327. +
  24328. +## --------------------- ##
  24329. +## M4sh Shell Functions. ##
  24330. +## --------------------- ##
  24331. +@%:@ as_fn_unset VAR
  24332. +@%:@ ---------------
  24333. +@%:@ Portably unset VAR.
  24334. +as_fn_unset ()
  24335. +{
  24336. + { eval $1=; unset $1;}
  24337. +}
  24338. +as_unset=as_fn_unset
  24339. +
  24340. +@%:@ as_fn_set_status STATUS
  24341. +@%:@ -----------------------
  24342. +@%:@ Set @S|@? to STATUS, without forking.
  24343. +as_fn_set_status ()
  24344. +{
  24345. + return $1
  24346. +} @%:@ as_fn_set_status
  24347. +
  24348. +@%:@ as_fn_exit STATUS
  24349. +@%:@ -----------------
  24350. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  24351. +as_fn_exit ()
  24352. +{
  24353. + set +e
  24354. + as_fn_set_status $1
  24355. + exit $1
  24356. +} @%:@ as_fn_exit
  24357. +
  24358. +@%:@ as_fn_mkdir_p
  24359. +@%:@ -------------
  24360. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  24361. +as_fn_mkdir_p ()
  24362. +{
  24363. +
  24364. + case $as_dir in #(
  24365. + -*) as_dir=./$as_dir;;
  24366. + esac
  24367. + test -d "$as_dir" || eval $as_mkdir_p || {
  24368. + as_dirs=
  24369. + while :; do
  24370. + case $as_dir in #(
  24371. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  24372. + *) as_qdir=$as_dir;;
  24373. + esac
  24374. + as_dirs="'$as_qdir' $as_dirs"
  24375. + as_dir=`$as_dirname -- "$as_dir" ||
  24376. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  24377. + X"$as_dir" : 'X\(//\)[^/]' \| \
  24378. + X"$as_dir" : 'X\(//\)$' \| \
  24379. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  24380. +$as_echo X"$as_dir" |
  24381. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  24382. + s//\1/
  24383. + q
  24384. + }
  24385. + /^X\(\/\/\)[^/].*/{
  24386. + s//\1/
  24387. + q
  24388. + }
  24389. + /^X\(\/\/\)$/{
  24390. + s//\1/
  24391. + q
  24392. + }
  24393. + /^X\(\/\).*/{
  24394. + s//\1/
  24395. + q
  24396. + }
  24397. + s/.*/./; q'`
  24398. + test -d "$as_dir" && break
  24399. + done
  24400. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  24401. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  24402. +
  24403. +
  24404. +} @%:@ as_fn_mkdir_p
  24405. +
  24406. +@%:@ as_fn_executable_p FILE
  24407. +@%:@ -----------------------
  24408. +@%:@ Test if FILE is an executable regular file.
  24409. +as_fn_executable_p ()
  24410. +{
  24411. + test -f "$1" && test -x "$1"
  24412. +} @%:@ as_fn_executable_p
  24413. +@%:@ as_fn_append VAR VALUE
  24414. +@%:@ ----------------------
  24415. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  24416. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  24417. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  24418. +@%:@ implementations.
  24419. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  24420. + eval 'as_fn_append ()
  24421. + {
  24422. + eval $1+=\$2
  24423. + }'
  24424. +else
  24425. + as_fn_append ()
  24426. + {
  24427. + eval $1=\$$1\$2
  24428. + }
  24429. +fi # as_fn_append
  24430. +
  24431. +@%:@ as_fn_arith ARG...
  24432. +@%:@ ------------------
  24433. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  24434. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  24435. +@%:@ must be portable across @S|@(()) and expr.
  24436. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  24437. + eval 'as_fn_arith ()
  24438. + {
  24439. + as_val=$(( $* ))
  24440. + }'
  24441. +else
  24442. + as_fn_arith ()
  24443. + {
  24444. + as_val=`expr "$@" || test $? -eq 1`
  24445. + }
  24446. +fi # as_fn_arith
  24447. +
  24448. +
  24449. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  24450. +@%:@ ----------------------------------------
  24451. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  24452. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  24453. +@%:@ script with STATUS, using 1 if that was 0.
  24454. +as_fn_error ()
  24455. +{
  24456. + as_status=$1; test $as_status -eq 0 && as_status=1
  24457. + if test "$4"; then
  24458. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  24459. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  24460. + fi
  24461. + $as_echo "$as_me: error: $2" >&2
  24462. + as_fn_exit $as_status
  24463. +} @%:@ as_fn_error
  24464. +
  24465. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  24466. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  24467. + as_expr=expr
  24468. +else
  24469. + as_expr=false
  24470. +fi
  24471. +
  24472. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  24473. + as_basename=basename
  24474. +else
  24475. + as_basename=false
  24476. +fi
  24477. +
  24478. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  24479. + as_dirname=dirname
  24480. +else
  24481. + as_dirname=false
  24482. +fi
  24483. +
  24484. +as_me=`$as_basename -- "$0" ||
  24485. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  24486. + X"$0" : 'X\(//\)$' \| \
  24487. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  24488. +$as_echo X/"$0" |
  24489. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  24490. + s//\1/
  24491. + q
  24492. + }
  24493. + /^X\/\(\/\/\)$/{
  24494. + s//\1/
  24495. + q
  24496. + }
  24497. + /^X\/\(\/\).*/{
  24498. + s//\1/
  24499. + q
  24500. + }
  24501. + s/.*/./; q'`
  24502. +
  24503. +# Avoid depending upon Character Ranges.
  24504. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  24505. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  24506. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  24507. +as_cr_digits='0123456789'
  24508. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  24509. +
  24510. +
  24511. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  24512. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  24513. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  24514. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  24515. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  24516. + sed -n '
  24517. + p
  24518. + /[$]LINENO/=
  24519. + ' <$as_myself |
  24520. + sed '
  24521. + s/[$]LINENO.*/&-/
  24522. + t lineno
  24523. + b
  24524. + :lineno
  24525. + N
  24526. + :loop
  24527. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  24528. + t loop
  24529. + s/-\n.*//
  24530. + ' >$as_me.lineno &&
  24531. + chmod +x "$as_me.lineno" ||
  24532. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  24533. +
  24534. + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  24535. + # already done that, so ensure we don't try to do so again and fall
  24536. + # in an infinite loop. This has already happened in practice.
  24537. + _as_can_reexec=no; export _as_can_reexec
  24538. + # Don't try to exec as it changes $[0], causing all sort of problems
  24539. + # (the dirname of $[0] is not the place where we might find the
  24540. + # original and so on. Autoconf is especially sensitive to this).
  24541. + . "./$as_me.lineno"
  24542. + # Exit status is that of the last command.
  24543. + exit
  24544. +}
  24545. +
  24546. +ECHO_C= ECHO_N= ECHO_T=
  24547. +case `echo -n x` in @%:@(((((
  24548. +-n*)
  24549. + case `echo 'xy\c'` in
  24550. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  24551. + xy) ECHO_C='\c';;
  24552. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  24553. + ECHO_T=' ';;
  24554. + esac;;
  24555. +*)
  24556. + ECHO_N='-n';;
  24557. +esac
  24558. +
  24559. +rm -f conf$$ conf$$.exe conf$$.file
  24560. +if test -d conf$$.dir; then
  24561. + rm -f conf$$.dir/conf$$.file
  24562. +else
  24563. + rm -f conf$$.dir
  24564. + mkdir conf$$.dir 2>/dev/null
  24565. +fi
  24566. +if (echo >conf$$.file) 2>/dev/null; then
  24567. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  24568. + as_ln_s='ln -s'
  24569. + # ... but there are two gotchas:
  24570. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  24571. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  24572. + # In both cases, we have to default to `cp -pR'.
  24573. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  24574. + as_ln_s='cp -pR'
  24575. + elif ln conf$$.file conf$$ 2>/dev/null; then
  24576. + as_ln_s=ln
  24577. + else
  24578. + as_ln_s='cp -pR'
  24579. + fi
  24580. +else
  24581. + as_ln_s='cp -pR'
  24582. +fi
  24583. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  24584. +rmdir conf$$.dir 2>/dev/null
  24585. +
  24586. +if mkdir -p . 2>/dev/null; then
  24587. + as_mkdir_p='mkdir -p "$as_dir"'
  24588. +else
  24589. + test -d ./-p && rmdir ./-p
  24590. + as_mkdir_p=false
  24591. +fi
  24592. +
  24593. +as_test_x='test -x'
  24594. +as_executable_p=as_fn_executable_p
  24595. +
  24596. +# Sed expression to map a string onto a valid CPP name.
  24597. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  24598. +
  24599. +# Sed expression to map a string onto a valid variable name.
  24600. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  24601. +
  24602. +SHELL=${CONFIG_SHELL-/bin/sh}
  24603. +
  24604. +
  24605. +test -n "$DJDIR" || exec 7<&0 </dev/null
  24606. +exec 6>&1
  24607. +
  24608. +# Name of the host.
  24609. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  24610. +# so uname gets run too.
  24611. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  24612. +
  24613. +#
  24614. +# Initializations.
  24615. +#
  24616. +ac_default_prefix=/usr/local
  24617. +ac_clean_files=
  24618. +ac_config_libobj_dir=.
  24619. +LIB@&t@OBJS=
  24620. +cross_compiling=no
  24621. +subdirs=
  24622. +MFLAGS=
  24623. +MAKEFLAGS=
  24624. +
  24625. +# Identity of this package.
  24626. +PACKAGE_NAME='fiasco'
  24627. +PACKAGE_TARNAME='fiasco'
  24628. +PACKAGE_VERSION='1.3'
  24629. +PACKAGE_STRING='fiasco 1.3'
  24630. +PACKAGE_BUGREPORT=''
  24631. +PACKAGE_URL=''
  24632. +
  24633. +# Factoring default headers for most tests.
  24634. +ac_includes_default="\
  24635. +#include <stdio.h>
  24636. +#ifdef HAVE_SYS_TYPES_H
  24637. +# include <sys/types.h>
  24638. +#endif
  24639. +#ifdef HAVE_SYS_STAT_H
  24640. +# include <sys/stat.h>
  24641. +#endif
  24642. +#ifdef STDC_HEADERS
  24643. +# include <stdlib.h>
  24644. +# include <stddef.h>
  24645. +#else
  24646. +# ifdef HAVE_STDLIB_H
  24647. +# include <stdlib.h>
  24648. +# endif
  24649. +#endif
  24650. +#ifdef HAVE_STRING_H
  24651. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  24652. +# include <memory.h>
  24653. +# endif
  24654. +# include <string.h>
  24655. +#endif
  24656. +#ifdef HAVE_STRINGS_H
  24657. +# include <strings.h>
  24658. +#endif
  24659. +#ifdef HAVE_INTTYPES_H
  24660. +# include <inttypes.h>
  24661. +#endif
  24662. +#ifdef HAVE_STDINT_H
  24663. +# include <stdint.h>
  24664. +#endif
  24665. +#ifdef HAVE_UNISTD_H
  24666. +# include <unistd.h>
  24667. +#endif"
  24668. +
  24669. +ac_subst_vars='am__EXEEXT_FALSE
  24670. +am__EXEEXT_TRUE
  24671. +LTLIBOBJS
  24672. +LIB@&t@OBJS
  24673. +xmag
  24674. +xfig
  24675. +AM_CPPFLAGS
  24676. +LIBTOOL_DEPS
  24677. +CPP
  24678. +LT_SYS_LIBRARY_PATH
  24679. +OTOOL64
  24680. +OTOOL
  24681. +LIPO
  24682. +NMEDIT
  24683. +DSYMUTIL
  24684. +MANIFEST_TOOL
  24685. +RANLIB
  24686. +ac_ct_AR
  24687. +AR
  24688. +DLLTOOL
  24689. +OBJDUMP
  24690. +LN_S
  24691. +NM
  24692. +ac_ct_DUMPBIN
  24693. +DUMPBIN
  24694. +LD
  24695. +FGREP
  24696. +EGREP
  24697. +GREP
  24698. +SED
  24699. +am__fastdepCC_FALSE
  24700. +am__fastdepCC_TRUE
  24701. +CCDEPMODE
  24702. +am__nodep
  24703. +AMDEPBACKSLASH
  24704. +AMDEP_FALSE
  24705. +AMDEP_TRUE
  24706. +am__include
  24707. +DEPDIR
  24708. +OBJEXT
  24709. +EXEEXT
  24710. +ac_ct_CC
  24711. +CPPFLAGS
  24712. +LDFLAGS
  24713. +CFLAGS
  24714. +CC
  24715. +host_os
  24716. +host_vendor
  24717. +host_cpu
  24718. +host
  24719. +build_os
  24720. +build_vendor
  24721. +build_cpu
  24722. +build
  24723. +LIBTOOL
  24724. +AM_BACKSLASH
  24725. +AM_DEFAULT_VERBOSITY
  24726. +AM_DEFAULT_V
  24727. +AM_V
  24728. +am__untar
  24729. +am__tar
  24730. +AMTAR
  24731. +am__leading_dot
  24732. +SET_MAKE
  24733. +AWK
  24734. +mkdir_p
  24735. +MKDIR_P
  24736. +INSTALL_STRIP_PROGRAM
  24737. +STRIP
  24738. +install_sh
  24739. +MAKEINFO
  24740. +AUTOHEADER
  24741. +AUTOMAKE
  24742. +AUTOCONF
  24743. +ACLOCAL
  24744. +VERSION
  24745. +PACKAGE
  24746. +CYGPATH_W
  24747. +am__isrc
  24748. +INSTALL_DATA
  24749. +INSTALL_SCRIPT
  24750. +INSTALL_PROGRAM
  24751. +target_alias
  24752. +host_alias
  24753. +build_alias
  24754. +LIBS
  24755. +ECHO_T
  24756. +ECHO_N
  24757. +ECHO_C
  24758. +DEFS
  24759. +mandir
  24760. +localedir
  24761. +libdir
  24762. +psdir
  24763. +pdfdir
  24764. +dvidir
  24765. +htmldir
  24766. +infodir
  24767. +docdir
  24768. +oldincludedir
  24769. +includedir
  24770. +localstatedir
  24771. +sharedstatedir
  24772. +sysconfdir
  24773. +datadir
  24774. +datarootdir
  24775. +libexecdir
  24776. +sbindir
  24777. +bindir
  24778. +program_transform_name
  24779. +prefix
  24780. +exec_prefix
  24781. +PACKAGE_URL
  24782. +PACKAGE_BUGREPORT
  24783. +PACKAGE_STRING
  24784. +PACKAGE_VERSION
  24785. +PACKAGE_TARNAME
  24786. +PACKAGE_NAME
  24787. +PATH_SEPARATOR
  24788. +SHELL
  24789. +am__quote'
  24790. +ac_subst_files=''
  24791. +ac_user_opts='
  24792. +enable_option_checking
  24793. +enable_silent_rules
  24794. +enable_shared
  24795. +enable_static
  24796. +with_pic
  24797. +enable_fast_install
  24798. +with_aix_soname
  24799. +enable_dependency_tracking
  24800. +with_gnu_ld
  24801. +with_sysroot
  24802. +enable_libtool_lock
  24803. +'
  24804. + ac_precious_vars='build_alias
  24805. +host_alias
  24806. +target_alias
  24807. +CC
  24808. +CFLAGS
  24809. +LDFLAGS
  24810. +LIBS
  24811. +CPPFLAGS
  24812. +LT_SYS_LIBRARY_PATH
  24813. +CPP'
  24814. +
  24815. +
  24816. +# Initialize some variables set by options.
  24817. +ac_init_help=
  24818. +ac_init_version=false
  24819. +ac_unrecognized_opts=
  24820. +ac_unrecognized_sep=
  24821. +# The variables have the same names as the options, with
  24822. +# dashes changed to underlines.
  24823. +cache_file=/dev/null
  24824. +exec_prefix=NONE
  24825. +no_create=
  24826. +no_recursion=
  24827. +prefix=NONE
  24828. +program_prefix=NONE
  24829. +program_suffix=NONE
  24830. +program_transform_name=s,x,x,
  24831. +silent=
  24832. +site=
  24833. +srcdir=
  24834. +verbose=
  24835. +x_includes=NONE
  24836. +x_libraries=NONE
  24837. +
  24838. +# Installation directory options.
  24839. +# These are left unexpanded so users can "make install exec_prefix=/foo"
  24840. +# and all the variables that are supposed to be based on exec_prefix
  24841. +# by default will actually change.
  24842. +# Use braces instead of parens because sh, perl, etc. also accept them.
  24843. +# (The list follows the same order as the GNU Coding Standards.)
  24844. +bindir='${exec_prefix}/bin'
  24845. +sbindir='${exec_prefix}/sbin'
  24846. +libexecdir='${exec_prefix}/libexec'
  24847. +datarootdir='${prefix}/share'
  24848. +datadir='${datarootdir}'
  24849. +sysconfdir='${prefix}/etc'
  24850. +sharedstatedir='${prefix}/com'
  24851. +localstatedir='${prefix}/var'
  24852. +includedir='${prefix}/include'
  24853. +oldincludedir='/usr/include'
  24854. +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  24855. +infodir='${datarootdir}/info'
  24856. +htmldir='${docdir}'
  24857. +dvidir='${docdir}'
  24858. +pdfdir='${docdir}'
  24859. +psdir='${docdir}'
  24860. +libdir='${exec_prefix}/lib'
  24861. +localedir='${datarootdir}/locale'
  24862. +mandir='${datarootdir}/man'
  24863. +
  24864. +ac_prev=
  24865. +ac_dashdash=
  24866. +for ac_option
  24867. +do
  24868. + # If the previous option needs an argument, assign it.
  24869. + if test -n "$ac_prev"; then
  24870. + eval $ac_prev=\$ac_option
  24871. + ac_prev=
  24872. + continue
  24873. + fi
  24874. +
  24875. + case $ac_option in
  24876. + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  24877. + *=) ac_optarg= ;;
  24878. + *) ac_optarg=yes ;;
  24879. + esac
  24880. +
  24881. + # Accept the important Cygnus configure options, so we can diagnose typos.
  24882. +
  24883. + case $ac_dashdash$ac_option in
  24884. + --)
  24885. + ac_dashdash=yes ;;
  24886. +
  24887. + -bindir | --bindir | --bindi | --bind | --bin | --bi)
  24888. + ac_prev=bindir ;;
  24889. + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  24890. + bindir=$ac_optarg ;;
  24891. +
  24892. + -build | --build | --buil | --bui | --bu)
  24893. + ac_prev=build_alias ;;
  24894. + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  24895. + build_alias=$ac_optarg ;;
  24896. +
  24897. + -cache-file | --cache-file | --cache-fil | --cache-fi \
  24898. + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  24899. + ac_prev=cache_file ;;
  24900. + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  24901. + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  24902. + cache_file=$ac_optarg ;;
  24903. +
  24904. + --config-cache | -C)
  24905. + cache_file=config.cache ;;
  24906. +
  24907. + -datadir | --datadir | --datadi | --datad)
  24908. + ac_prev=datadir ;;
  24909. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  24910. + datadir=$ac_optarg ;;
  24911. +
  24912. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  24913. + | --dataroo | --dataro | --datar)
  24914. + ac_prev=datarootdir ;;
  24915. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  24916. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  24917. + datarootdir=$ac_optarg ;;
  24918. +
  24919. + -disable-* | --disable-*)
  24920. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  24921. + # Reject names that are not valid shell variable names.
  24922. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  24923. + as_fn_error $? "invalid feature name: $ac_useropt"
  24924. + ac_useropt_orig=$ac_useropt
  24925. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  24926. + case $ac_user_opts in
  24927. + *"
  24928. +"enable_$ac_useropt"
  24929. +"*) ;;
  24930. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  24931. + ac_unrecognized_sep=', ';;
  24932. + esac
  24933. + eval enable_$ac_useropt=no ;;
  24934. +
  24935. + -docdir | --docdir | --docdi | --doc | --do)
  24936. + ac_prev=docdir ;;
  24937. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  24938. + docdir=$ac_optarg ;;
  24939. +
  24940. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  24941. + ac_prev=dvidir ;;
  24942. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  24943. + dvidir=$ac_optarg ;;
  24944. +
  24945. + -enable-* | --enable-*)
  24946. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  24947. + # Reject names that are not valid shell variable names.
  24948. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  24949. + as_fn_error $? "invalid feature name: $ac_useropt"
  24950. + ac_useropt_orig=$ac_useropt
  24951. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  24952. + case $ac_user_opts in
  24953. + *"
  24954. +"enable_$ac_useropt"
  24955. +"*) ;;
  24956. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  24957. + ac_unrecognized_sep=', ';;
  24958. + esac
  24959. + eval enable_$ac_useropt=\$ac_optarg ;;
  24960. +
  24961. + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  24962. + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  24963. + | --exec | --exe | --ex)
  24964. + ac_prev=exec_prefix ;;
  24965. + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  24966. + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  24967. + | --exec=* | --exe=* | --ex=*)
  24968. + exec_prefix=$ac_optarg ;;
  24969. +
  24970. + -gas | --gas | --ga | --g)
  24971. + # Obsolete; use --with-gas.
  24972. + with_gas=yes ;;
  24973. +
  24974. + -help | --help | --hel | --he | -h)
  24975. + ac_init_help=long ;;
  24976. + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  24977. + ac_init_help=recursive ;;
  24978. + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  24979. + ac_init_help=short ;;
  24980. +
  24981. + -host | --host | --hos | --ho)
  24982. + ac_prev=host_alias ;;
  24983. + -host=* | --host=* | --hos=* | --ho=*)
  24984. + host_alias=$ac_optarg ;;
  24985. +
  24986. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  24987. + ac_prev=htmldir ;;
  24988. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  24989. + | --ht=*)
  24990. + htmldir=$ac_optarg ;;
  24991. +
  24992. + -includedir | --includedir | --includedi | --included | --include \
  24993. + | --includ | --inclu | --incl | --inc)
  24994. + ac_prev=includedir ;;
  24995. + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  24996. + | --includ=* | --inclu=* | --incl=* | --inc=*)
  24997. + includedir=$ac_optarg ;;
  24998. +
  24999. + -infodir | --infodir | --infodi | --infod | --info | --inf)
  25000. + ac_prev=infodir ;;
  25001. + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  25002. + infodir=$ac_optarg ;;
  25003. +
  25004. + -libdir | --libdir | --libdi | --libd)
  25005. + ac_prev=libdir ;;
  25006. + -libdir=* | --libdir=* | --libdi=* | --libd=*)
  25007. + libdir=$ac_optarg ;;
  25008. +
  25009. + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  25010. + | --libexe | --libex | --libe)
  25011. + ac_prev=libexecdir ;;
  25012. + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  25013. + | --libexe=* | --libex=* | --libe=*)
  25014. + libexecdir=$ac_optarg ;;
  25015. +
  25016. + -localedir | --localedir | --localedi | --localed | --locale)
  25017. + ac_prev=localedir ;;
  25018. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  25019. + localedir=$ac_optarg ;;
  25020. +
  25021. + -localstatedir | --localstatedir | --localstatedi | --localstated \
  25022. + | --localstate | --localstat | --localsta | --localst | --locals)
  25023. + ac_prev=localstatedir ;;
  25024. + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  25025. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  25026. + localstatedir=$ac_optarg ;;
  25027. +
  25028. + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  25029. + ac_prev=mandir ;;
  25030. + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  25031. + mandir=$ac_optarg ;;
  25032. +
  25033. + -nfp | --nfp | --nf)
  25034. + # Obsolete; use --without-fp.
  25035. + with_fp=no ;;
  25036. +
  25037. + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  25038. + | --no-cr | --no-c | -n)
  25039. + no_create=yes ;;
  25040. +
  25041. + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  25042. + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  25043. + no_recursion=yes ;;
  25044. +
  25045. + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  25046. + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  25047. + | --oldin | --oldi | --old | --ol | --o)
  25048. + ac_prev=oldincludedir ;;
  25049. + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  25050. + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  25051. + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  25052. + oldincludedir=$ac_optarg ;;
  25053. +
  25054. + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  25055. + ac_prev=prefix ;;
  25056. + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  25057. + prefix=$ac_optarg ;;
  25058. +
  25059. + -program-prefix | --program-prefix | --program-prefi | --program-pref \
  25060. + | --program-pre | --program-pr | --program-p)
  25061. + ac_prev=program_prefix ;;
  25062. + -program-prefix=* | --program-prefix=* | --program-prefi=* \
  25063. + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  25064. + program_prefix=$ac_optarg ;;
  25065. +
  25066. + -program-suffix | --program-suffix | --program-suffi | --program-suff \
  25067. + | --program-suf | --program-su | --program-s)
  25068. + ac_prev=program_suffix ;;
  25069. + -program-suffix=* | --program-suffix=* | --program-suffi=* \
  25070. + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  25071. + program_suffix=$ac_optarg ;;
  25072. +
  25073. + -program-transform-name | --program-transform-name \
  25074. + | --program-transform-nam | --program-transform-na \
  25075. + | --program-transform-n | --program-transform- \
  25076. + | --program-transform | --program-transfor \
  25077. + | --program-transfo | --program-transf \
  25078. + | --program-trans | --program-tran \
  25079. + | --progr-tra | --program-tr | --program-t)
  25080. + ac_prev=program_transform_name ;;
  25081. + -program-transform-name=* | --program-transform-name=* \
  25082. + | --program-transform-nam=* | --program-transform-na=* \
  25083. + | --program-transform-n=* | --program-transform-=* \
  25084. + | --program-transform=* | --program-transfor=* \
  25085. + | --program-transfo=* | --program-transf=* \
  25086. + | --program-trans=* | --program-tran=* \
  25087. + | --progr-tra=* | --program-tr=* | --program-t=*)
  25088. + program_transform_name=$ac_optarg ;;
  25089. +
  25090. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  25091. + ac_prev=pdfdir ;;
  25092. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  25093. + pdfdir=$ac_optarg ;;
  25094. +
  25095. + -psdir | --psdir | --psdi | --psd | --ps)
  25096. + ac_prev=psdir ;;
  25097. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  25098. + psdir=$ac_optarg ;;
  25099. +
  25100. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  25101. + | -silent | --silent | --silen | --sile | --sil)
  25102. + silent=yes ;;
  25103. +
  25104. + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  25105. + ac_prev=sbindir ;;
  25106. + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  25107. + | --sbi=* | --sb=*)
  25108. + sbindir=$ac_optarg ;;
  25109. +
  25110. + -sharedstatedir | --sharedstatedir | --sharedstatedi \
  25111. + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  25112. + | --sharedst | --shareds | --shared | --share | --shar \
  25113. + | --sha | --sh)
  25114. + ac_prev=sharedstatedir ;;
  25115. + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  25116. + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  25117. + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  25118. + | --sha=* | --sh=*)
  25119. + sharedstatedir=$ac_optarg ;;
  25120. +
  25121. + -site | --site | --sit)
  25122. + ac_prev=site ;;
  25123. + -site=* | --site=* | --sit=*)
  25124. + site=$ac_optarg ;;
  25125. +
  25126. + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  25127. + ac_prev=srcdir ;;
  25128. + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  25129. + srcdir=$ac_optarg ;;
  25130. +
  25131. + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  25132. + | --syscon | --sysco | --sysc | --sys | --sy)
  25133. + ac_prev=sysconfdir ;;
  25134. + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  25135. + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  25136. + sysconfdir=$ac_optarg ;;
  25137. +
  25138. + -target | --target | --targe | --targ | --tar | --ta | --t)
  25139. + ac_prev=target_alias ;;
  25140. + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  25141. + target_alias=$ac_optarg ;;
  25142. +
  25143. + -v | -verbose | --verbose | --verbos | --verbo | --verb)
  25144. + verbose=yes ;;
  25145. +
  25146. + -version | --version | --versio | --versi | --vers | -V)
  25147. + ac_init_version=: ;;
  25148. +
  25149. + -with-* | --with-*)
  25150. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  25151. + # Reject names that are not valid shell variable names.
  25152. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  25153. + as_fn_error $? "invalid package name: $ac_useropt"
  25154. + ac_useropt_orig=$ac_useropt
  25155. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  25156. + case $ac_user_opts in
  25157. + *"
  25158. +"with_$ac_useropt"
  25159. +"*) ;;
  25160. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  25161. + ac_unrecognized_sep=', ';;
  25162. + esac
  25163. + eval with_$ac_useropt=\$ac_optarg ;;
  25164. +
  25165. + -without-* | --without-*)
  25166. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  25167. + # Reject names that are not valid shell variable names.
  25168. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  25169. + as_fn_error $? "invalid package name: $ac_useropt"
  25170. + ac_useropt_orig=$ac_useropt
  25171. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  25172. + case $ac_user_opts in
  25173. + *"
  25174. +"with_$ac_useropt"
  25175. +"*) ;;
  25176. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  25177. + ac_unrecognized_sep=', ';;
  25178. + esac
  25179. + eval with_$ac_useropt=no ;;
  25180. +
  25181. + --x)
  25182. + # Obsolete; use --with-x.
  25183. + with_x=yes ;;
  25184. +
  25185. + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  25186. + | --x-incl | --x-inc | --x-in | --x-i)
  25187. + ac_prev=x_includes ;;
  25188. + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  25189. + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  25190. + x_includes=$ac_optarg ;;
  25191. +
  25192. + -x-libraries | --x-libraries | --x-librarie | --x-librari \
  25193. + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  25194. + ac_prev=x_libraries ;;
  25195. + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  25196. + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  25197. + x_libraries=$ac_optarg ;;
  25198. +
  25199. + -*) as_fn_error $? "unrecognized option: \`$ac_option'
  25200. +Try \`$0 --help' for more information"
  25201. + ;;
  25202. +
  25203. + *=*)
  25204. + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  25205. + # Reject names that are not valid shell variable names.
  25206. + case $ac_envvar in #(
  25207. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  25208. + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  25209. + esac
  25210. + eval $ac_envvar=\$ac_optarg
  25211. + export $ac_envvar ;;
  25212. +
  25213. + *)
  25214. + # FIXME: should be removed in autoconf 3.0.
  25215. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  25216. + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  25217. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  25218. + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  25219. + ;;
  25220. +
  25221. + esac
  25222. +done
  25223. +
  25224. +if test -n "$ac_prev"; then
  25225. + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  25226. + as_fn_error $? "missing argument to $ac_option"
  25227. +fi
  25228. +
  25229. +if test -n "$ac_unrecognized_opts"; then
  25230. + case $enable_option_checking in
  25231. + no) ;;
  25232. + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  25233. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  25234. + esac
  25235. +fi
  25236. +
  25237. +# Check all directory arguments for consistency.
  25238. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  25239. + datadir sysconfdir sharedstatedir localstatedir includedir \
  25240. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  25241. + libdir localedir mandir
  25242. +do
  25243. + eval ac_val=\$$ac_var
  25244. + # Remove trailing slashes.
  25245. + case $ac_val in
  25246. + */ )
  25247. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  25248. + eval $ac_var=\$ac_val;;
  25249. + esac
  25250. + # Be sure to have absolute directory names.
  25251. + case $ac_val in
  25252. + [\\/$]* | ?:[\\/]* ) continue;;
  25253. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  25254. + esac
  25255. + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  25256. +done
  25257. +
  25258. +# There might be people who depend on the old broken behavior: `$host'
  25259. +# used to hold the argument of --host etc.
  25260. +# FIXME: To remove some day.
  25261. +build=$build_alias
  25262. +host=$host_alias
  25263. +target=$target_alias
  25264. +
  25265. +# FIXME: To remove some day.
  25266. +if test "x$host_alias" != x; then
  25267. + if test "x$build_alias" = x; then
  25268. + cross_compiling=maybe
  25269. + elif test "x$build_alias" != "x$host_alias"; then
  25270. + cross_compiling=yes
  25271. + fi
  25272. +fi
  25273. +
  25274. +ac_tool_prefix=
  25275. +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  25276. +
  25277. +test "$silent" = yes && exec 6>/dev/null
  25278. +
  25279. +
  25280. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  25281. +ac_ls_di=`ls -di .` &&
  25282. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  25283. + as_fn_error $? "working directory cannot be determined"
  25284. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  25285. + as_fn_error $? "pwd does not report name of working directory"
  25286. +
  25287. +
  25288. +# Find the source files, if location was not specified.
  25289. +if test -z "$srcdir"; then
  25290. + ac_srcdir_defaulted=yes
  25291. + # Try the directory containing this script, then the parent directory.
  25292. + ac_confdir=`$as_dirname -- "$as_myself" ||
  25293. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  25294. + X"$as_myself" : 'X\(//\)[^/]' \| \
  25295. + X"$as_myself" : 'X\(//\)$' \| \
  25296. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  25297. +$as_echo X"$as_myself" |
  25298. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  25299. + s//\1/
  25300. + q
  25301. + }
  25302. + /^X\(\/\/\)[^/].*/{
  25303. + s//\1/
  25304. + q
  25305. + }
  25306. + /^X\(\/\/\)$/{
  25307. + s//\1/
  25308. + q
  25309. + }
  25310. + /^X\(\/\).*/{
  25311. + s//\1/
  25312. + q
  25313. + }
  25314. + s/.*/./; q'`
  25315. + srcdir=$ac_confdir
  25316. + if test ! -r "$srcdir/$ac_unique_file"; then
  25317. + srcdir=..
  25318. + fi
  25319. +else
  25320. + ac_srcdir_defaulted=no
  25321. +fi
  25322. +if test ! -r "$srcdir/$ac_unique_file"; then
  25323. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  25324. + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  25325. +fi
  25326. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  25327. +ac_abs_confdir=`(
  25328. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  25329. + pwd)`
  25330. +# When building in place, set srcdir=.
  25331. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  25332. + srcdir=.
  25333. +fi
  25334. +# Remove unnecessary trailing slashes from srcdir.
  25335. +# Double slashes in file names in object file debugging info
  25336. +# mess up M-x gdb in Emacs.
  25337. +case $srcdir in
  25338. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  25339. +esac
  25340. +for ac_var in $ac_precious_vars; do
  25341. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  25342. + eval ac_env_${ac_var}_value=\$${ac_var}
  25343. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  25344. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  25345. +done
  25346. +
  25347. +#
  25348. +# Report the --help message.
  25349. +#
  25350. +if test "$ac_init_help" = "long"; then
  25351. + # Omit some internal or obsolete options to make the list less imposing.
  25352. + # This message is too long to be a string in the A/UX 3.1 sh.
  25353. + cat <<_ACEOF
  25354. +\`configure' configures fiasco 1.3 to adapt to many kinds of systems.
  25355. +
  25356. +Usage: $0 [OPTION]... [VAR=VALUE]...
  25357. +
  25358. +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  25359. +VAR=VALUE. See below for descriptions of some of the useful variables.
  25360. +
  25361. +Defaults for the options are specified in brackets.
  25362. +
  25363. +Configuration:
  25364. + -h, --help display this help and exit
  25365. + --help=short display options specific to this package
  25366. + --help=recursive display the short help of all the included packages
  25367. + -V, --version display version information and exit
  25368. + -q, --quiet, --silent do not print \`checking ...' messages
  25369. + --cache-file=FILE cache test results in FILE [disabled]
  25370. + -C, --config-cache alias for \`--cache-file=config.cache'
  25371. + -n, --no-create do not create output files
  25372. + --srcdir=DIR find the sources in DIR [configure dir or \`..']
  25373. +
  25374. +Installation directories:
  25375. + --prefix=PREFIX install architecture-independent files in PREFIX
  25376. + @<:@@S|@ac_default_prefix@:>@
  25377. + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  25378. + @<:@PREFIX@:>@
  25379. +
  25380. +By default, \`make install' will install all the files in
  25381. +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  25382. +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  25383. +for instance \`--prefix=\$HOME'.
  25384. +
  25385. +For better control, use the options below.
  25386. +
  25387. +Fine tuning of the installation directories:
  25388. + --bindir=DIR user executables [EPREFIX/bin]
  25389. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  25390. + --libexecdir=DIR program executables [EPREFIX/libexec]
  25391. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  25392. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  25393. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  25394. + --libdir=DIR object code libraries [EPREFIX/lib]
  25395. + --includedir=DIR C header files [PREFIX/include]
  25396. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  25397. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  25398. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  25399. + --infodir=DIR info documentation [DATAROOTDIR/info]
  25400. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  25401. + --mandir=DIR man documentation [DATAROOTDIR/man]
  25402. + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/fiasco@:>@
  25403. + --htmldir=DIR html documentation [DOCDIR]
  25404. + --dvidir=DIR dvi documentation [DOCDIR]
  25405. + --pdfdir=DIR pdf documentation [DOCDIR]
  25406. + --psdir=DIR ps documentation [DOCDIR]
  25407. +_ACEOF
  25408. +
  25409. + cat <<\_ACEOF
  25410. +
  25411. +Program names:
  25412. + --program-prefix=PREFIX prepend PREFIX to installed program names
  25413. + --program-suffix=SUFFIX append SUFFIX to installed program names
  25414. + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  25415. +
  25416. +System types:
  25417. + --build=BUILD configure for building on BUILD [guessed]
  25418. + --host=HOST cross-compile to build programs to run on HOST [BUILD]
  25419. +_ACEOF
  25420. +fi
  25421. +
  25422. +if test -n "$ac_init_help"; then
  25423. + case $ac_init_help in
  25424. + short | recursive ) echo "Configuration of fiasco 1.3:";;
  25425. + esac
  25426. + cat <<\_ACEOF
  25427. +
  25428. +Optional Features:
  25429. + --disable-option-checking ignore unrecognized --enable/--with options
  25430. + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  25431. + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  25432. + --enable-silent-rules less verbose build output (undo: "make V=1")
  25433. + --disable-silent-rules verbose build output (undo: "make V=0")
  25434. + --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
  25435. + --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
  25436. + --enable-fast-install@<:@=PKGS@:>@
  25437. + optimize for fast installation @<:@default=yes@:>@
  25438. + --enable-dependency-tracking
  25439. + do not reject slow dependency extractors
  25440. + --disable-dependency-tracking
  25441. + speeds up one-time build
  25442. + --disable-libtool-lock avoid locking (might break parallel builds)
  25443. +
  25444. +Optional Packages:
  25445. + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  25446. + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  25447. + --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
  25448. + both@:>@
  25449. + --with-aix-soname=aix|svr4|both
  25450. + shared library versioning (aka "SONAME") variant to
  25451. + provide on AIX, @<:@default=aix@:>@.
  25452. + --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
  25453. + --with-sysroot@<:@=DIR@:>@ Search for dependent libraries within DIR (or the
  25454. + compiler's sysroot if not specified).
  25455. +
  25456. +Some influential environment variables:
  25457. + CC C compiler command
  25458. + CFLAGS C compiler flags
  25459. + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  25460. + nonstandard directory <lib dir>
  25461. + LIBS libraries to pass to the linker, e.g. -l<library>
  25462. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  25463. + you have headers in a nonstandard directory <include dir>
  25464. + LT_SYS_LIBRARY_PATH
  25465. + User-defined run-time library search path.
  25466. + CPP C preprocessor
  25467. +
  25468. +Use these variables to override the choices made by `configure' or to help
  25469. +it to find libraries and programs with nonstandard names/locations.
  25470. +
  25471. +Report bugs to the package provider.
  25472. +_ACEOF
  25473. +ac_status=$?
  25474. +fi
  25475. +
  25476. +if test "$ac_init_help" = "recursive"; then
  25477. + # If there are subdirs, report their specific --help.
  25478. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  25479. + test -d "$ac_dir" ||
  25480. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  25481. + continue
  25482. + ac_builddir=.
  25483. +
  25484. +case "$ac_dir" in
  25485. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  25486. +*)
  25487. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  25488. + # A ".." for each directory in $ac_dir_suffix.
  25489. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  25490. + case $ac_top_builddir_sub in
  25491. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  25492. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  25493. + esac ;;
  25494. +esac
  25495. +ac_abs_top_builddir=$ac_pwd
  25496. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  25497. +# for backward compatibility:
  25498. +ac_top_builddir=$ac_top_build_prefix
  25499. +
  25500. +case $srcdir in
  25501. + .) # We are building in place.
  25502. + ac_srcdir=.
  25503. + ac_top_srcdir=$ac_top_builddir_sub
  25504. + ac_abs_top_srcdir=$ac_pwd ;;
  25505. + [\\/]* | ?:[\\/]* ) # Absolute name.
  25506. + ac_srcdir=$srcdir$ac_dir_suffix;
  25507. + ac_top_srcdir=$srcdir
  25508. + ac_abs_top_srcdir=$srcdir ;;
  25509. + *) # Relative name.
  25510. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  25511. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  25512. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  25513. +esac
  25514. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  25515. +
  25516. + cd "$ac_dir" || { ac_status=$?; continue; }
  25517. + # Check for guested configure.
  25518. + if test -f "$ac_srcdir/configure.gnu"; then
  25519. + echo &&
  25520. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  25521. + elif test -f "$ac_srcdir/configure"; then
  25522. + echo &&
  25523. + $SHELL "$ac_srcdir/configure" --help=recursive
  25524. + else
  25525. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  25526. + fi || ac_status=$?
  25527. + cd "$ac_pwd" || { ac_status=$?; break; }
  25528. + done
  25529. +fi
  25530. +
  25531. +test -n "$ac_init_help" && exit $ac_status
  25532. +if $ac_init_version; then
  25533. + cat <<\_ACEOF
  25534. +fiasco configure 1.3
  25535. +generated by GNU Autoconf 2.69
  25536. +
  25537. +Copyright (C) 2012 Free Software Foundation, Inc.
  25538. +This configure script is free software; the Free Software Foundation
  25539. +gives unlimited permission to copy, distribute and modify it.
  25540. +_ACEOF
  25541. + exit
  25542. +fi
  25543. +
  25544. +## ------------------------ ##
  25545. +## Autoconf initialization. ##
  25546. +## ------------------------ ##
  25547. +
  25548. +@%:@ ac_fn_c_try_compile LINENO
  25549. +@%:@ --------------------------
  25550. +@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  25551. +ac_fn_c_try_compile ()
  25552. +{
  25553. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  25554. + rm -f conftest.$ac_objext
  25555. + if { { ac_try="$ac_compile"
  25556. +case "(($ac_try" in
  25557. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25558. + *) ac_try_echo=$ac_try;;
  25559. +esac
  25560. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  25561. +$as_echo "$ac_try_echo"; } >&5
  25562. + (eval "$ac_compile") 2>conftest.err
  25563. + ac_status=$?
  25564. + if test -s conftest.err; then
  25565. + grep -v '^ *+' conftest.err >conftest.er1
  25566. + cat conftest.er1 >&5
  25567. + mv -f conftest.er1 conftest.err
  25568. + fi
  25569. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  25570. + test $ac_status = 0; } && {
  25571. + test -z "$ac_c_werror_flag" ||
  25572. + test ! -s conftest.err
  25573. + } && test -s conftest.$ac_objext; then :
  25574. + ac_retval=0
  25575. +else
  25576. + $as_echo "$as_me: failed program was:" >&5
  25577. +sed 's/^/| /' conftest.$ac_ext >&5
  25578. +
  25579. + ac_retval=1
  25580. +fi
  25581. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  25582. + as_fn_set_status $ac_retval
  25583. +
  25584. +} @%:@ ac_fn_c_try_compile
  25585. +
  25586. +@%:@ ac_fn_c_try_link LINENO
  25587. +@%:@ -----------------------
  25588. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
  25589. +ac_fn_c_try_link ()
  25590. +{
  25591. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  25592. + rm -f conftest.$ac_objext conftest$ac_exeext
  25593. + if { { ac_try="$ac_link"
  25594. +case "(($ac_try" in
  25595. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25596. + *) ac_try_echo=$ac_try;;
  25597. +esac
  25598. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  25599. +$as_echo "$ac_try_echo"; } >&5
  25600. + (eval "$ac_link") 2>conftest.err
  25601. + ac_status=$?
  25602. + if test -s conftest.err; then
  25603. + grep -v '^ *+' conftest.err >conftest.er1
  25604. + cat conftest.er1 >&5
  25605. + mv -f conftest.er1 conftest.err
  25606. + fi
  25607. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  25608. + test $ac_status = 0; } && {
  25609. + test -z "$ac_c_werror_flag" ||
  25610. + test ! -s conftest.err
  25611. + } && test -s conftest$ac_exeext && {
  25612. + test "$cross_compiling" = yes ||
  25613. + test -x conftest$ac_exeext
  25614. + }; then :
  25615. + ac_retval=0
  25616. +else
  25617. + $as_echo "$as_me: failed program was:" >&5
  25618. +sed 's/^/| /' conftest.$ac_ext >&5
  25619. +
  25620. + ac_retval=1
  25621. +fi
  25622. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  25623. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  25624. + # interfere with the next link command; also delete a directory that is
  25625. + # left behind by Apple's compiler. We do this before executing the actions.
  25626. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  25627. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  25628. + as_fn_set_status $ac_retval
  25629. +
  25630. +} @%:@ ac_fn_c_try_link
  25631. +
  25632. +@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  25633. +@%:@ -------------------------------------------------------
  25634. +@%:@ Tests whether HEADER exists and can be compiled using the include files in
  25635. +@%:@ INCLUDES, setting the cache variable VAR accordingly.
  25636. +ac_fn_c_check_header_compile ()
  25637. +{
  25638. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  25639. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  25640. +$as_echo_n "checking for $2... " >&6; }
  25641. +if eval \${$3+:} false; then :
  25642. + $as_echo_n "(cached) " >&6
  25643. +else
  25644. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25645. +/* end confdefs.h. */
  25646. +$4
  25647. +@%:@include <$2>
  25648. +_ACEOF
  25649. +if ac_fn_c_try_compile "$LINENO"; then :
  25650. + eval "$3=yes"
  25651. +else
  25652. + eval "$3=no"
  25653. +fi
  25654. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25655. +fi
  25656. +eval ac_res=\$$3
  25657. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  25658. +$as_echo "$ac_res" >&6; }
  25659. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  25660. +
  25661. +} @%:@ ac_fn_c_check_header_compile
  25662. +
  25663. +@%:@ ac_fn_c_try_cpp LINENO
  25664. +@%:@ ----------------------
  25665. +@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
  25666. +ac_fn_c_try_cpp ()
  25667. +{
  25668. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  25669. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  25670. +case "(($ac_try" in
  25671. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25672. + *) ac_try_echo=$ac_try;;
  25673. +esac
  25674. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  25675. +$as_echo "$ac_try_echo"; } >&5
  25676. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  25677. + ac_status=$?
  25678. + if test -s conftest.err; then
  25679. + grep -v '^ *+' conftest.err >conftest.er1
  25680. + cat conftest.er1 >&5
  25681. + mv -f conftest.er1 conftest.err
  25682. + fi
  25683. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  25684. + test $ac_status = 0; } > conftest.i && {
  25685. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  25686. + test ! -s conftest.err
  25687. + }; then :
  25688. + ac_retval=0
  25689. +else
  25690. + $as_echo "$as_me: failed program was:" >&5
  25691. +sed 's/^/| /' conftest.$ac_ext >&5
  25692. +
  25693. + ac_retval=1
  25694. +fi
  25695. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  25696. + as_fn_set_status $ac_retval
  25697. +
  25698. +} @%:@ ac_fn_c_try_cpp
  25699. +
  25700. +@%:@ ac_fn_c_try_run LINENO
  25701. +@%:@ ----------------------
  25702. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
  25703. +@%:@ that executables *can* be run.
  25704. +ac_fn_c_try_run ()
  25705. +{
  25706. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  25707. + if { { ac_try="$ac_link"
  25708. +case "(($ac_try" in
  25709. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25710. + *) ac_try_echo=$ac_try;;
  25711. +esac
  25712. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  25713. +$as_echo "$ac_try_echo"; } >&5
  25714. + (eval "$ac_link") 2>&5
  25715. + ac_status=$?
  25716. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  25717. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  25718. + { { case "(($ac_try" in
  25719. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25720. + *) ac_try_echo=$ac_try;;
  25721. +esac
  25722. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  25723. +$as_echo "$ac_try_echo"; } >&5
  25724. + (eval "$ac_try") 2>&5
  25725. + ac_status=$?
  25726. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  25727. + test $ac_status = 0; }; }; then :
  25728. + ac_retval=0
  25729. +else
  25730. + $as_echo "$as_me: program exited with status $ac_status" >&5
  25731. + $as_echo "$as_me: failed program was:" >&5
  25732. +sed 's/^/| /' conftest.$ac_ext >&5
  25733. +
  25734. + ac_retval=$ac_status
  25735. +fi
  25736. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  25737. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  25738. + as_fn_set_status $ac_retval
  25739. +
  25740. +} @%:@ ac_fn_c_try_run
  25741. +
  25742. +@%:@ ac_fn_c_check_func LINENO FUNC VAR
  25743. +@%:@ ----------------------------------
  25744. +@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
  25745. +ac_fn_c_check_func ()
  25746. +{
  25747. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  25748. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  25749. +$as_echo_n "checking for $2... " >&6; }
  25750. +if eval \${$3+:} false; then :
  25751. + $as_echo_n "(cached) " >&6
  25752. +else
  25753. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25754. +/* end confdefs.h. */
  25755. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  25756. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  25757. +#define $2 innocuous_$2
  25758. +
  25759. +/* System header to define __stub macros and hopefully few prototypes,
  25760. + which can conflict with char $2 (); below.
  25761. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  25762. + <limits.h> exists even on freestanding compilers. */
  25763. +
  25764. +#ifdef __STDC__
  25765. +# include <limits.h>
  25766. +#else
  25767. +# include <assert.h>
  25768. +#endif
  25769. +
  25770. +#undef $2
  25771. +
  25772. +/* Override any GCC internal prototype to avoid an error.
  25773. + Use char because int might match the return type of a GCC
  25774. + builtin and then its argument prototype would still apply. */
  25775. +#ifdef __cplusplus
  25776. +extern "C"
  25777. +#endif
  25778. +char $2 ();
  25779. +/* The GNU C library defines this for functions which it implements
  25780. + to always fail with ENOSYS. Some functions are actually named
  25781. + something starting with __ and the normal name is an alias. */
  25782. +#if defined __stub_$2 || defined __stub___$2
  25783. +choke me
  25784. +#endif
  25785. +
  25786. +int
  25787. +main ()
  25788. +{
  25789. +return $2 ();
  25790. + ;
  25791. + return 0;
  25792. +}
  25793. +_ACEOF
  25794. +if ac_fn_c_try_link "$LINENO"; then :
  25795. + eval "$3=yes"
  25796. +else
  25797. + eval "$3=no"
  25798. +fi
  25799. +rm -f core conftest.err conftest.$ac_objext \
  25800. + conftest$ac_exeext conftest.$ac_ext
  25801. +fi
  25802. +eval ac_res=\$$3
  25803. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  25804. +$as_echo "$ac_res" >&6; }
  25805. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  25806. +
  25807. +} @%:@ ac_fn_c_check_func
  25808. +
  25809. +@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  25810. +@%:@ --------------------------------------------
  25811. +@%:@ Tries to find the compile-time value of EXPR in a program that includes
  25812. +@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
  25813. +@%:@ computed
  25814. +ac_fn_c_compute_int ()
  25815. +{
  25816. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  25817. + if test "$cross_compiling" = yes; then
  25818. + # Depending upon the size, compute the lo and hi bounds.
  25819. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25820. +/* end confdefs.h. */
  25821. +$4
  25822. +int
  25823. +main ()
  25824. +{
  25825. +static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
  25826. +test_array @<:@0@:>@ = 0;
  25827. +return test_array @<:@0@:>@;
  25828. +
  25829. + ;
  25830. + return 0;
  25831. +}
  25832. +_ACEOF
  25833. +if ac_fn_c_try_compile "$LINENO"; then :
  25834. + ac_lo=0 ac_mid=0
  25835. + while :; do
  25836. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25837. +/* end confdefs.h. */
  25838. +$4
  25839. +int
  25840. +main ()
  25841. +{
  25842. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  25843. +test_array @<:@0@:>@ = 0;
  25844. +return test_array @<:@0@:>@;
  25845. +
  25846. + ;
  25847. + return 0;
  25848. +}
  25849. +_ACEOF
  25850. +if ac_fn_c_try_compile "$LINENO"; then :
  25851. + ac_hi=$ac_mid; break
  25852. +else
  25853. + as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  25854. + if test $ac_lo -le $ac_mid; then
  25855. + ac_lo= ac_hi=
  25856. + break
  25857. + fi
  25858. + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  25859. +fi
  25860. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25861. + done
  25862. +else
  25863. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25864. +/* end confdefs.h. */
  25865. +$4
  25866. +int
  25867. +main ()
  25868. +{
  25869. +static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
  25870. +test_array @<:@0@:>@ = 0;
  25871. +return test_array @<:@0@:>@;
  25872. +
  25873. + ;
  25874. + return 0;
  25875. +}
  25876. +_ACEOF
  25877. +if ac_fn_c_try_compile "$LINENO"; then :
  25878. + ac_hi=-1 ac_mid=-1
  25879. + while :; do
  25880. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25881. +/* end confdefs.h. */
  25882. +$4
  25883. +int
  25884. +main ()
  25885. +{
  25886. +static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
  25887. +test_array @<:@0@:>@ = 0;
  25888. +return test_array @<:@0@:>@;
  25889. +
  25890. + ;
  25891. + return 0;
  25892. +}
  25893. +_ACEOF
  25894. +if ac_fn_c_try_compile "$LINENO"; then :
  25895. + ac_lo=$ac_mid; break
  25896. +else
  25897. + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  25898. + if test $ac_mid -le $ac_hi; then
  25899. + ac_lo= ac_hi=
  25900. + break
  25901. + fi
  25902. + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  25903. +fi
  25904. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25905. + done
  25906. +else
  25907. + ac_lo= ac_hi=
  25908. +fi
  25909. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25910. +fi
  25911. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25912. +# Binary search between lo and hi bounds.
  25913. +while test "x$ac_lo" != "x$ac_hi"; do
  25914. + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  25915. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25916. +/* end confdefs.h. */
  25917. +$4
  25918. +int
  25919. +main ()
  25920. +{
  25921. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  25922. +test_array @<:@0@:>@ = 0;
  25923. +return test_array @<:@0@:>@;
  25924. +
  25925. + ;
  25926. + return 0;
  25927. +}
  25928. +_ACEOF
  25929. +if ac_fn_c_try_compile "$LINENO"; then :
  25930. + ac_hi=$ac_mid
  25931. +else
  25932. + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  25933. +fi
  25934. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25935. +done
  25936. +case $ac_lo in @%:@((
  25937. +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  25938. +'') ac_retval=1 ;;
  25939. +esac
  25940. + else
  25941. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25942. +/* end confdefs.h. */
  25943. +$4
  25944. +static long int longval () { return $2; }
  25945. +static unsigned long int ulongval () { return $2; }
  25946. +@%:@include <stdio.h>
  25947. +@%:@include <stdlib.h>
  25948. +int
  25949. +main ()
  25950. +{
  25951. +
  25952. + FILE *f = fopen ("conftest.val", "w");
  25953. + if (! f)
  25954. + return 1;
  25955. + if (($2) < 0)
  25956. + {
  25957. + long int i = longval ();
  25958. + if (i != ($2))
  25959. + return 1;
  25960. + fprintf (f, "%ld", i);
  25961. + }
  25962. + else
  25963. + {
  25964. + unsigned long int i = ulongval ();
  25965. + if (i != ($2))
  25966. + return 1;
  25967. + fprintf (f, "%lu", i);
  25968. + }
  25969. + /* Do not output a trailing newline, as this causes \r\n confusion
  25970. + on some platforms. */
  25971. + return ferror (f) || fclose (f) != 0;
  25972. +
  25973. + ;
  25974. + return 0;
  25975. +}
  25976. +_ACEOF
  25977. +if ac_fn_c_try_run "$LINENO"; then :
  25978. + echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  25979. +else
  25980. + ac_retval=1
  25981. +fi
  25982. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  25983. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  25984. +rm -f conftest.val
  25985. +
  25986. + fi
  25987. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  25988. + as_fn_set_status $ac_retval
  25989. +
  25990. +} @%:@ ac_fn_c_compute_int
  25991. +
  25992. +@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  25993. +@%:@ -------------------------------------------------------
  25994. +@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
  25995. +@%:@ the include files in INCLUDES and setting the cache variable VAR
  25996. +@%:@ accordingly.
  25997. +ac_fn_c_check_header_mongrel ()
  25998. +{
  25999. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  26000. + if eval \${$3+:} false; then :
  26001. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  26002. +$as_echo_n "checking for $2... " >&6; }
  26003. +if eval \${$3+:} false; then :
  26004. + $as_echo_n "(cached) " >&6
  26005. +fi
  26006. +eval ac_res=\$$3
  26007. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  26008. +$as_echo "$ac_res" >&6; }
  26009. +else
  26010. + # Is the header compilable?
  26011. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  26012. +$as_echo_n "checking $2 usability... " >&6; }
  26013. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26014. +/* end confdefs.h. */
  26015. +$4
  26016. +@%:@include <$2>
  26017. +_ACEOF
  26018. +if ac_fn_c_try_compile "$LINENO"; then :
  26019. + ac_header_compiler=yes
  26020. +else
  26021. + ac_header_compiler=no
  26022. +fi
  26023. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26024. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  26025. +$as_echo "$ac_header_compiler" >&6; }
  26026. +
  26027. +# Is the header present?
  26028. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  26029. +$as_echo_n "checking $2 presence... " >&6; }
  26030. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26031. +/* end confdefs.h. */
  26032. +@%:@include <$2>
  26033. +_ACEOF
  26034. +if ac_fn_c_try_cpp "$LINENO"; then :
  26035. + ac_header_preproc=yes
  26036. +else
  26037. + ac_header_preproc=no
  26038. +fi
  26039. +rm -f conftest.err conftest.i conftest.$ac_ext
  26040. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  26041. +$as_echo "$ac_header_preproc" >&6; }
  26042. +
  26043. +# So? What about this header?
  26044. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  26045. + yes:no: )
  26046. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  26047. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  26048. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  26049. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  26050. + ;;
  26051. + no:yes:* )
  26052. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  26053. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  26054. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  26055. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  26056. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  26057. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  26058. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  26059. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  26060. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  26061. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  26062. + ;;
  26063. +esac
  26064. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  26065. +$as_echo_n "checking for $2... " >&6; }
  26066. +if eval \${$3+:} false; then :
  26067. + $as_echo_n "(cached) " >&6
  26068. +else
  26069. + eval "$3=\$ac_header_compiler"
  26070. +fi
  26071. +eval ac_res=\$$3
  26072. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  26073. +$as_echo "$ac_res" >&6; }
  26074. +fi
  26075. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  26076. +
  26077. +} @%:@ ac_fn_c_check_header_mongrel
  26078. +
  26079. +@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  26080. +@%:@ -------------------------------------------
  26081. +@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
  26082. +@%:@ variable VAR accordingly.
  26083. +ac_fn_c_check_type ()
  26084. +{
  26085. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  26086. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  26087. +$as_echo_n "checking for $2... " >&6; }
  26088. +if eval \${$3+:} false; then :
  26089. + $as_echo_n "(cached) " >&6
  26090. +else
  26091. + eval "$3=no"
  26092. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26093. +/* end confdefs.h. */
  26094. +$4
  26095. +int
  26096. +main ()
  26097. +{
  26098. +if (sizeof ($2))
  26099. + return 0;
  26100. + ;
  26101. + return 0;
  26102. +}
  26103. +_ACEOF
  26104. +if ac_fn_c_try_compile "$LINENO"; then :
  26105. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26106. +/* end confdefs.h. */
  26107. +$4
  26108. +int
  26109. +main ()
  26110. +{
  26111. +if (sizeof (($2)))
  26112. + return 0;
  26113. + ;
  26114. + return 0;
  26115. +}
  26116. +_ACEOF
  26117. +if ac_fn_c_try_compile "$LINENO"; then :
  26118. +
  26119. +else
  26120. + eval "$3=yes"
  26121. +fi
  26122. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26123. +fi
  26124. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26125. +fi
  26126. +eval ac_res=\$$3
  26127. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  26128. +$as_echo "$ac_res" >&6; }
  26129. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  26130. +
  26131. +} @%:@ ac_fn_c_check_type
  26132. +cat >config.log <<_ACEOF
  26133. +This file contains any messages produced by compilers while
  26134. +running configure, to aid debugging if configure makes a mistake.
  26135. +
  26136. +It was created by fiasco $as_me 1.3, which was
  26137. +generated by GNU Autoconf 2.69. Invocation command line was
  26138. +
  26139. + $ $0 $@
  26140. +
  26141. +_ACEOF
  26142. +exec 5>>config.log
  26143. +{
  26144. +cat <<_ASUNAME
  26145. +## --------- ##
  26146. +## Platform. ##
  26147. +## --------- ##
  26148. +
  26149. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  26150. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  26151. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  26152. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  26153. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  26154. +
  26155. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  26156. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  26157. +
  26158. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  26159. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  26160. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  26161. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  26162. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  26163. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  26164. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  26165. +
  26166. +_ASUNAME
  26167. +
  26168. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  26169. +for as_dir in $PATH
  26170. +do
  26171. + IFS=$as_save_IFS
  26172. + test -z "$as_dir" && as_dir=.
  26173. + $as_echo "PATH: $as_dir"
  26174. + done
  26175. +IFS=$as_save_IFS
  26176. +
  26177. +} >&5
  26178. +
  26179. +cat >&5 <<_ACEOF
  26180. +
  26181. +
  26182. +## ----------- ##
  26183. +## Core tests. ##
  26184. +## ----------- ##
  26185. +
  26186. +_ACEOF
  26187. +
  26188. +
  26189. +# Keep a trace of the command line.
  26190. +# Strip out --no-create and --no-recursion so they do not pile up.
  26191. +# Strip out --silent because we don't want to record it for future runs.
  26192. +# Also quote any args containing shell meta-characters.
  26193. +# Make two passes to allow for proper duplicate-argument suppression.
  26194. +ac_configure_args=
  26195. +ac_configure_args0=
  26196. +ac_configure_args1=
  26197. +ac_must_keep_next=false
  26198. +for ac_pass in 1 2
  26199. +do
  26200. + for ac_arg
  26201. + do
  26202. + case $ac_arg in
  26203. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  26204. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  26205. + | -silent | --silent | --silen | --sile | --sil)
  26206. + continue ;;
  26207. + *\'*)
  26208. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  26209. + esac
  26210. + case $ac_pass in
  26211. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  26212. + 2)
  26213. + as_fn_append ac_configure_args1 " '$ac_arg'"
  26214. + if test $ac_must_keep_next = true; then
  26215. + ac_must_keep_next=false # Got value, back to normal.
  26216. + else
  26217. + case $ac_arg in
  26218. + *=* | --config-cache | -C | -disable-* | --disable-* \
  26219. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  26220. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  26221. + | -with-* | --with-* | -without-* | --without-* | --x)
  26222. + case "$ac_configure_args0 " in
  26223. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  26224. + esac
  26225. + ;;
  26226. + -* ) ac_must_keep_next=true ;;
  26227. + esac
  26228. + fi
  26229. + as_fn_append ac_configure_args " '$ac_arg'"
  26230. + ;;
  26231. + esac
  26232. + done
  26233. +done
  26234. +{ ac_configure_args0=; unset ac_configure_args0;}
  26235. +{ ac_configure_args1=; unset ac_configure_args1;}
  26236. +
  26237. +# When interrupted or exit'd, cleanup temporary files, and complete
  26238. +# config.log. We remove comments because anyway the quotes in there
  26239. +# would cause problems or look ugly.
  26240. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  26241. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  26242. +trap 'exit_status=$?
  26243. + # Save into config.log some information that might help in debugging.
  26244. + {
  26245. + echo
  26246. +
  26247. + $as_echo "## ---------------- ##
  26248. +## Cache variables. ##
  26249. +## ---------------- ##"
  26250. + echo
  26251. + # The following way of writing the cache mishandles newlines in values,
  26252. +(
  26253. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  26254. + eval ac_val=\$$ac_var
  26255. + case $ac_val in #(
  26256. + *${as_nl}*)
  26257. + case $ac_var in #(
  26258. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  26259. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  26260. + esac
  26261. + case $ac_var in #(
  26262. + _ | IFS | as_nl) ;; #(
  26263. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  26264. + *) { eval $ac_var=; unset $ac_var;} ;;
  26265. + esac ;;
  26266. + esac
  26267. + done
  26268. + (set) 2>&1 |
  26269. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  26270. + *${as_nl}ac_space=\ *)
  26271. + sed -n \
  26272. + "s/'\''/'\''\\\\'\'''\''/g;
  26273. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  26274. + ;; #(
  26275. + *)
  26276. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  26277. + ;;
  26278. + esac |
  26279. + sort
  26280. +)
  26281. + echo
  26282. +
  26283. + $as_echo "## ----------------- ##
  26284. +## Output variables. ##
  26285. +## ----------------- ##"
  26286. + echo
  26287. + for ac_var in $ac_subst_vars
  26288. + do
  26289. + eval ac_val=\$$ac_var
  26290. + case $ac_val in
  26291. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  26292. + esac
  26293. + $as_echo "$ac_var='\''$ac_val'\''"
  26294. + done | sort
  26295. + echo
  26296. +
  26297. + if test -n "$ac_subst_files"; then
  26298. + $as_echo "## ------------------- ##
  26299. +## File substitutions. ##
  26300. +## ------------------- ##"
  26301. + echo
  26302. + for ac_var in $ac_subst_files
  26303. + do
  26304. + eval ac_val=\$$ac_var
  26305. + case $ac_val in
  26306. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  26307. + esac
  26308. + $as_echo "$ac_var='\''$ac_val'\''"
  26309. + done | sort
  26310. + echo
  26311. + fi
  26312. +
  26313. + if test -s confdefs.h; then
  26314. + $as_echo "## ----------- ##
  26315. +## confdefs.h. ##
  26316. +## ----------- ##"
  26317. + echo
  26318. + cat confdefs.h
  26319. + echo
  26320. + fi
  26321. + test "$ac_signal" != 0 &&
  26322. + $as_echo "$as_me: caught signal $ac_signal"
  26323. + $as_echo "$as_me: exit $exit_status"
  26324. + } >&5
  26325. + rm -f core *.core core.conftest.* &&
  26326. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  26327. + exit $exit_status
  26328. +' 0
  26329. +for ac_signal in 1 2 13 15; do
  26330. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  26331. +done
  26332. +ac_signal=0
  26333. +
  26334. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  26335. +rm -f -r conftest* confdefs.h
  26336. +
  26337. +$as_echo "/* confdefs.h */" > confdefs.h
  26338. +
  26339. +# Predefined preprocessor variables.
  26340. +
  26341. +cat >>confdefs.h <<_ACEOF
  26342. +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
  26343. +_ACEOF
  26344. +
  26345. +cat >>confdefs.h <<_ACEOF
  26346. +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  26347. +_ACEOF
  26348. +
  26349. +cat >>confdefs.h <<_ACEOF
  26350. +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  26351. +_ACEOF
  26352. +
  26353. +cat >>confdefs.h <<_ACEOF
  26354. +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
  26355. +_ACEOF
  26356. +
  26357. +cat >>confdefs.h <<_ACEOF
  26358. +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  26359. +_ACEOF
  26360. +
  26361. +cat >>confdefs.h <<_ACEOF
  26362. +@%:@define PACKAGE_URL "$PACKAGE_URL"
  26363. +_ACEOF
  26364. +
  26365. +
  26366. +# Let the site file select an alternate cache file if it wants to.
  26367. +# Prefer an explicitly selected file to automatically selected ones.
  26368. +ac_site_file1=NONE
  26369. +ac_site_file2=NONE
  26370. +if test -n "$CONFIG_SITE"; then
  26371. + # We do not want a PATH search for config.site.
  26372. + case $CONFIG_SITE in @%:@((
  26373. + -*) ac_site_file1=./$CONFIG_SITE;;
  26374. + */*) ac_site_file1=$CONFIG_SITE;;
  26375. + *) ac_site_file1=./$CONFIG_SITE;;
  26376. + esac
  26377. +elif test "x$prefix" != xNONE; then
  26378. + ac_site_file1=$prefix/share/config.site
  26379. + ac_site_file2=$prefix/etc/config.site
  26380. +else
  26381. + ac_site_file1=$ac_default_prefix/share/config.site
  26382. + ac_site_file2=$ac_default_prefix/etc/config.site
  26383. +fi
  26384. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  26385. +do
  26386. + test "x$ac_site_file" = xNONE && continue
  26387. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  26388. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  26389. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  26390. + sed 's/^/| /' "$ac_site_file" >&5
  26391. + . "$ac_site_file" \
  26392. + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  26393. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  26394. +as_fn_error $? "failed to load site script $ac_site_file
  26395. +See \`config.log' for more details" "$LINENO" 5; }
  26396. + fi
  26397. +done
  26398. +
  26399. +if test -r "$cache_file"; then
  26400. + # Some versions of bash will fail to source /dev/null (special files
  26401. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  26402. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  26403. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  26404. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  26405. + case $cache_file in
  26406. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  26407. + *) . "./$cache_file";;
  26408. + esac
  26409. + fi
  26410. +else
  26411. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  26412. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  26413. + >$cache_file
  26414. +fi
  26415. +
  26416. +# Check that the precious variables saved in the cache have kept the same
  26417. +# value.
  26418. +ac_cache_corrupted=false
  26419. +for ac_var in $ac_precious_vars; do
  26420. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  26421. + eval ac_new_set=\$ac_env_${ac_var}_set
  26422. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  26423. + eval ac_new_val=\$ac_env_${ac_var}_value
  26424. + case $ac_old_set,$ac_new_set in
  26425. + set,)
  26426. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  26427. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  26428. + ac_cache_corrupted=: ;;
  26429. + ,set)
  26430. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  26431. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  26432. + ac_cache_corrupted=: ;;
  26433. + ,);;
  26434. + *)
  26435. + if test "x$ac_old_val" != "x$ac_new_val"; then
  26436. + # differences in whitespace do not lead to failure.
  26437. + ac_old_val_w=`echo x $ac_old_val`
  26438. + ac_new_val_w=`echo x $ac_new_val`
  26439. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  26440. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  26441. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  26442. + ac_cache_corrupted=:
  26443. + else
  26444. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  26445. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  26446. + eval $ac_var=\$ac_old_val
  26447. + fi
  26448. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  26449. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  26450. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  26451. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  26452. + fi;;
  26453. + esac
  26454. + # Pass precious variables to config.status.
  26455. + if test "$ac_new_set" = set; then
  26456. + case $ac_new_val in
  26457. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  26458. + *) ac_arg=$ac_var=$ac_new_val ;;
  26459. + esac
  26460. + case " $ac_configure_args " in
  26461. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  26462. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  26463. + esac
  26464. + fi
  26465. +done
  26466. +if $ac_cache_corrupted; then
  26467. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  26468. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  26469. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  26470. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  26471. + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  26472. +fi
  26473. +## -------------------- ##
  26474. +## Main body of script. ##
  26475. +## -------------------- ##
  26476. +
  26477. +ac_ext=c
  26478. +ac_cpp='$CPP $CPPFLAGS'
  26479. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  26480. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  26481. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  26482. +
  26483. +
  26484. +
  26485. +am__api_version='1.16'
  26486. +
  26487. +ac_aux_dir=
  26488. +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  26489. + if test -f "$ac_dir/install-sh"; then
  26490. + ac_aux_dir=$ac_dir
  26491. + ac_install_sh="$ac_aux_dir/install-sh -c"
  26492. + break
  26493. + elif test -f "$ac_dir/install.sh"; then
  26494. + ac_aux_dir=$ac_dir
  26495. + ac_install_sh="$ac_aux_dir/install.sh -c"
  26496. + break
  26497. + elif test -f "$ac_dir/shtool"; then
  26498. + ac_aux_dir=$ac_dir
  26499. + ac_install_sh="$ac_aux_dir/shtool install -c"
  26500. + break
  26501. + fi
  26502. +done
  26503. +if test -z "$ac_aux_dir"; then
  26504. + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  26505. +fi
  26506. +
  26507. +# These three variables are undocumented and unsupported,
  26508. +# and are intended to be withdrawn in a future Autoconf release.
  26509. +# They can cause serious problems if a builder's source tree is in a directory
  26510. +# whose full name contains unusual characters.
  26511. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  26512. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  26513. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  26514. +
  26515. +
  26516. +# Find a good install program. We prefer a C program (faster),
  26517. +# so one script is as good as another. But avoid the broken or
  26518. +# incompatible versions:
  26519. +# SysV /etc/install, /usr/sbin/install
  26520. +# SunOS /usr/etc/install
  26521. +# IRIX /sbin/install
  26522. +# AIX /bin/install
  26523. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  26524. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  26525. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  26526. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  26527. +# OS/2's system install, which has a completely different semantic
  26528. +# ./install, which can be erroneously created by make from ./install.sh.
  26529. +# Reject install programs that cannot install multiple files.
  26530. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  26531. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  26532. +if test -z "$INSTALL"; then
  26533. +if ${ac_cv_path_install+:} false; then :
  26534. + $as_echo_n "(cached) " >&6
  26535. +else
  26536. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  26537. +for as_dir in $PATH
  26538. +do
  26539. + IFS=$as_save_IFS
  26540. + test -z "$as_dir" && as_dir=.
  26541. + # Account for people who put trailing slashes in PATH elements.
  26542. +case $as_dir/ in @%:@((
  26543. + ./ | .// | /[cC]/* | \
  26544. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  26545. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  26546. + /usr/ucb/* ) ;;
  26547. + *)
  26548. + # OSF1 and SCO ODT 3.0 have their own names for install.
  26549. + # Don't use installbsd from OSF since it installs stuff as root
  26550. + # by default.
  26551. + for ac_prog in ginstall scoinst install; do
  26552. + for ac_exec_ext in '' $ac_executable_extensions; do
  26553. + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  26554. + if test $ac_prog = install &&
  26555. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  26556. + # AIX install. It has an incompatible calling convention.
  26557. + :
  26558. + elif test $ac_prog = install &&
  26559. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  26560. + # program-specific install script used by HP pwplus--don't use.
  26561. + :
  26562. + else
  26563. + rm -rf conftest.one conftest.two conftest.dir
  26564. + echo one > conftest.one
  26565. + echo two > conftest.two
  26566. + mkdir conftest.dir
  26567. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  26568. + test -s conftest.one && test -s conftest.two &&
  26569. + test -s conftest.dir/conftest.one &&
  26570. + test -s conftest.dir/conftest.two
  26571. + then
  26572. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  26573. + break 3
  26574. + fi
  26575. + fi
  26576. + fi
  26577. + done
  26578. + done
  26579. + ;;
  26580. +esac
  26581. +
  26582. + done
  26583. +IFS=$as_save_IFS
  26584. +
  26585. +rm -rf conftest.one conftest.two conftest.dir
  26586. +
  26587. +fi
  26588. + if test "${ac_cv_path_install+set}" = set; then
  26589. + INSTALL=$ac_cv_path_install
  26590. + else
  26591. + # As a last resort, use the slow shell script. Don't cache a
  26592. + # value for INSTALL within a source directory, because that will
  26593. + # break other packages using the cache if that directory is
  26594. + # removed, or if the value is a relative name.
  26595. + INSTALL=$ac_install_sh
  26596. + fi
  26597. +fi
  26598. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  26599. +$as_echo "$INSTALL" >&6; }
  26600. +
  26601. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  26602. +# It thinks the first close brace ends the variable substitution.
  26603. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  26604. +
  26605. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  26606. +
  26607. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  26608. +
  26609. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  26610. +$as_echo_n "checking whether build environment is sane... " >&6; }
  26611. +# Reject unsafe characters in $srcdir or the absolute working directory
  26612. +# name. Accept space and tab only in the latter.
  26613. +am_lf='
  26614. +'
  26615. +case `pwd` in
  26616. + *[\\\"\#\$\&\'\`$am_lf]*)
  26617. + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  26618. +esac
  26619. +case $srcdir in
  26620. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  26621. + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  26622. +esac
  26623. +
  26624. +# Do 'set' in a subshell so we don't clobber the current shell's
  26625. +# arguments. Must try -L first in case configure is actually a
  26626. +# symlink; some systems play weird games with the mod time of symlinks
  26627. +# (eg FreeBSD returns the mod time of the symlink's containing
  26628. +# directory).
  26629. +if (
  26630. + am_has_slept=no
  26631. + for am_try in 1 2; do
  26632. + echo "timestamp, slept: $am_has_slept" > conftest.file
  26633. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  26634. + if test "$*" = "X"; then
  26635. + # -L didn't work.
  26636. + set X `ls -t "$srcdir/configure" conftest.file`
  26637. + fi
  26638. + if test "$*" != "X $srcdir/configure conftest.file" \
  26639. + && test "$*" != "X conftest.file $srcdir/configure"; then
  26640. +
  26641. + # If neither matched, then we have a broken ls. This can happen
  26642. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  26643. + # broken ls alias from the environment. This has actually
  26644. + # happened. Such a system could not be considered "sane".
  26645. + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  26646. + alias in your environment" "$LINENO" 5
  26647. + fi
  26648. + if test "$2" = conftest.file || test $am_try -eq 2; then
  26649. + break
  26650. + fi
  26651. + # Just in case.
  26652. + sleep 1
  26653. + am_has_slept=yes
  26654. + done
  26655. + test "$2" = conftest.file
  26656. + )
  26657. +then
  26658. + # Ok.
  26659. + :
  26660. +else
  26661. + as_fn_error $? "newly created file is older than distributed files!
  26662. +Check your system clock" "$LINENO" 5
  26663. +fi
  26664. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  26665. +$as_echo "yes" >&6; }
  26666. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  26667. +# generated files are strictly newer.
  26668. +am_sleep_pid=
  26669. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  26670. + ( sleep 1 ) &
  26671. + am_sleep_pid=$!
  26672. +fi
  26673. +
  26674. +rm -f conftest.file
  26675. +
  26676. +test "$program_prefix" != NONE &&
  26677. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  26678. +# Use a double $ so make ignores it.
  26679. +test "$program_suffix" != NONE &&
  26680. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  26681. +# Double any \ or $.
  26682. +# By default was `s,x,x', remove it if useless.
  26683. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  26684. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  26685. +
  26686. +# Expand $ac_aux_dir to an absolute path.
  26687. +am_aux_dir=`cd "$ac_aux_dir" && pwd`
  26688. +
  26689. +if test x"${MISSING+set}" != xset; then
  26690. + case $am_aux_dir in
  26691. + *\ * | *\ *)
  26692. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  26693. + *)
  26694. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  26695. + esac
  26696. +fi
  26697. +# Use eval to expand $SHELL
  26698. +if eval "$MISSING --is-lightweight"; then
  26699. + am_missing_run="$MISSING "
  26700. +else
  26701. + am_missing_run=
  26702. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  26703. +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  26704. +fi
  26705. +
  26706. +if test x"${install_sh+set}" != xset; then
  26707. + case $am_aux_dir in
  26708. + *\ * | *\ *)
  26709. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  26710. + *)
  26711. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  26712. + esac
  26713. +fi
  26714. +
  26715. +# Installed binaries are usually stripped using 'strip' when the user
  26716. +# run "make install-strip". However 'strip' might not be the right
  26717. +# tool to use in cross-compilation environments, therefore Automake
  26718. +# will honor the 'STRIP' environment variable to overrule this program.
  26719. +if test "$cross_compiling" != no; then
  26720. + if test -n "$ac_tool_prefix"; then
  26721. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  26722. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  26723. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  26724. +$as_echo_n "checking for $ac_word... " >&6; }
  26725. +if ${ac_cv_prog_STRIP+:} false; then :
  26726. + $as_echo_n "(cached) " >&6
  26727. +else
  26728. + if test -n "$STRIP"; then
  26729. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  26730. +else
  26731. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  26732. +for as_dir in $PATH
  26733. +do
  26734. + IFS=$as_save_IFS
  26735. + test -z "$as_dir" && as_dir=.
  26736. + for ac_exec_ext in '' $ac_executable_extensions; do
  26737. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  26738. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  26739. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  26740. + break 2
  26741. + fi
  26742. +done
  26743. + done
  26744. +IFS=$as_save_IFS
  26745. +
  26746. +fi
  26747. +fi
  26748. +STRIP=$ac_cv_prog_STRIP
  26749. +if test -n "$STRIP"; then
  26750. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  26751. +$as_echo "$STRIP" >&6; }
  26752. +else
  26753. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  26754. +$as_echo "no" >&6; }
  26755. +fi
  26756. +
  26757. +
  26758. +fi
  26759. +if test -z "$ac_cv_prog_STRIP"; then
  26760. + ac_ct_STRIP=$STRIP
  26761. + # Extract the first word of "strip", so it can be a program name with args.
  26762. +set dummy strip; ac_word=$2
  26763. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  26764. +$as_echo_n "checking for $ac_word... " >&6; }
  26765. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  26766. + $as_echo_n "(cached) " >&6
  26767. +else
  26768. + if test -n "$ac_ct_STRIP"; then
  26769. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  26770. +else
  26771. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  26772. +for as_dir in $PATH
  26773. +do
  26774. + IFS=$as_save_IFS
  26775. + test -z "$as_dir" && as_dir=.
  26776. + for ac_exec_ext in '' $ac_executable_extensions; do
  26777. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  26778. + ac_cv_prog_ac_ct_STRIP="strip"
  26779. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  26780. + break 2
  26781. + fi
  26782. +done
  26783. + done
  26784. +IFS=$as_save_IFS
  26785. +
  26786. +fi
  26787. +fi
  26788. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  26789. +if test -n "$ac_ct_STRIP"; then
  26790. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  26791. +$as_echo "$ac_ct_STRIP" >&6; }
  26792. +else
  26793. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  26794. +$as_echo "no" >&6; }
  26795. +fi
  26796. +
  26797. + if test "x$ac_ct_STRIP" = x; then
  26798. + STRIP=":"
  26799. + else
  26800. + case $cross_compiling:$ac_tool_warned in
  26801. +yes:)
  26802. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  26803. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  26804. +ac_tool_warned=yes ;;
  26805. +esac
  26806. + STRIP=$ac_ct_STRIP
  26807. + fi
  26808. +else
  26809. + STRIP="$ac_cv_prog_STRIP"
  26810. +fi
  26811. +
  26812. +fi
  26813. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  26814. +
  26815. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  26816. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  26817. +if test -z "$MKDIR_P"; then
  26818. + if ${ac_cv_path_mkdir+:} false; then :
  26819. + $as_echo_n "(cached) " >&6
  26820. +else
  26821. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  26822. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  26823. +do
  26824. + IFS=$as_save_IFS
  26825. + test -z "$as_dir" && as_dir=.
  26826. + for ac_prog in mkdir gmkdir; do
  26827. + for ac_exec_ext in '' $ac_executable_extensions; do
  26828. + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  26829. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  26830. + 'mkdir (GNU coreutils) '* | \
  26831. + 'mkdir (coreutils) '* | \
  26832. + 'mkdir (fileutils) '4.1*)
  26833. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  26834. + break 3;;
  26835. + esac
  26836. + done
  26837. + done
  26838. + done
  26839. +IFS=$as_save_IFS
  26840. +
  26841. +fi
  26842. +
  26843. + test -d ./--version && rmdir ./--version
  26844. + if test "${ac_cv_path_mkdir+set}" = set; then
  26845. + MKDIR_P="$ac_cv_path_mkdir -p"
  26846. + else
  26847. + # As a last resort, use the slow shell script. Don't cache a
  26848. + # value for MKDIR_P within a source directory, because that will
  26849. + # break other packages using the cache if that directory is
  26850. + # removed, or if the value is a relative name.
  26851. + MKDIR_P="$ac_install_sh -d"
  26852. + fi
  26853. +fi
  26854. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  26855. +$as_echo "$MKDIR_P" >&6; }
  26856. +
  26857. +for ac_prog in gawk mawk nawk awk
  26858. +do
  26859. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  26860. +set dummy $ac_prog; ac_word=$2
  26861. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  26862. +$as_echo_n "checking for $ac_word... " >&6; }
  26863. +if ${ac_cv_prog_AWK+:} false; then :
  26864. + $as_echo_n "(cached) " >&6
  26865. +else
  26866. + if test -n "$AWK"; then
  26867. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  26868. +else
  26869. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  26870. +for as_dir in $PATH
  26871. +do
  26872. + IFS=$as_save_IFS
  26873. + test -z "$as_dir" && as_dir=.
  26874. + for ac_exec_ext in '' $ac_executable_extensions; do
  26875. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  26876. + ac_cv_prog_AWK="$ac_prog"
  26877. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  26878. + break 2
  26879. + fi
  26880. +done
  26881. + done
  26882. +IFS=$as_save_IFS
  26883. +
  26884. +fi
  26885. +fi
  26886. +AWK=$ac_cv_prog_AWK
  26887. +if test -n "$AWK"; then
  26888. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  26889. +$as_echo "$AWK" >&6; }
  26890. +else
  26891. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  26892. +$as_echo "no" >&6; }
  26893. +fi
  26894. +
  26895. +
  26896. + test -n "$AWK" && break
  26897. +done
  26898. +
  26899. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  26900. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  26901. +set x ${MAKE-make}
  26902. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  26903. +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  26904. + $as_echo_n "(cached) " >&6
  26905. +else
  26906. + cat >conftest.make <<\_ACEOF
  26907. +SHELL = /bin/sh
  26908. +all:
  26909. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  26910. +_ACEOF
  26911. +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  26912. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  26913. + *@@@%%%=?*=@@@%%%*)
  26914. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  26915. + *)
  26916. + eval ac_cv_prog_make_${ac_make}_set=no;;
  26917. +esac
  26918. +rm -f conftest.make
  26919. +fi
  26920. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  26921. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  26922. +$as_echo "yes" >&6; }
  26923. + SET_MAKE=
  26924. +else
  26925. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  26926. +$as_echo "no" >&6; }
  26927. + SET_MAKE="MAKE=${MAKE-make}"
  26928. +fi
  26929. +
  26930. +rm -rf .tst 2>/dev/null
  26931. +mkdir .tst 2>/dev/null
  26932. +if test -d .tst; then
  26933. + am__leading_dot=.
  26934. +else
  26935. + am__leading_dot=_
  26936. +fi
  26937. +rmdir .tst 2>/dev/null
  26938. +
  26939. +@%:@ Check whether --enable-silent-rules was given.
  26940. +if test "${enable_silent_rules+set}" = set; then :
  26941. + enableval=$enable_silent_rules;
  26942. +fi
  26943. +
  26944. +case $enable_silent_rules in @%:@ (((
  26945. + yes) AM_DEFAULT_VERBOSITY=0;;
  26946. + no) AM_DEFAULT_VERBOSITY=1;;
  26947. + *) AM_DEFAULT_VERBOSITY=1;;
  26948. +esac
  26949. +am_make=${MAKE-make}
  26950. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  26951. +$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  26952. +if ${am_cv_make_support_nested_variables+:} false; then :
  26953. + $as_echo_n "(cached) " >&6
  26954. +else
  26955. + if $as_echo 'TRUE=$(BAR$(V))
  26956. +BAR0=false
  26957. +BAR1=true
  26958. +V=1
  26959. +am__doit:
  26960. + @$(TRUE)
  26961. +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  26962. + am_cv_make_support_nested_variables=yes
  26963. +else
  26964. + am_cv_make_support_nested_variables=no
  26965. +fi
  26966. +fi
  26967. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  26968. +$as_echo "$am_cv_make_support_nested_variables" >&6; }
  26969. +if test $am_cv_make_support_nested_variables = yes; then
  26970. + AM_V='$(V)'
  26971. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  26972. +else
  26973. + AM_V=$AM_DEFAULT_VERBOSITY
  26974. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  26975. +fi
  26976. +AM_BACKSLASH='\'
  26977. +
  26978. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  26979. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  26980. + # is not polluted with repeated "-I."
  26981. + am__isrc=' -I$(srcdir)'
  26982. + # test to see if srcdir already configured
  26983. + if test -f $srcdir/config.status; then
  26984. + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  26985. + fi
  26986. +fi
  26987. +
  26988. +# test whether we have cygpath
  26989. +if test -z "$CYGPATH_W"; then
  26990. + if (cygpath --version) >/dev/null 2>/dev/null; then
  26991. + CYGPATH_W='cygpath -w'
  26992. + else
  26993. + CYGPATH_W=echo
  26994. + fi
  26995. +fi
  26996. +
  26997. +
  26998. +# Define the identity of the package.
  26999. + PACKAGE='fiasco'
  27000. + VERSION='1.3'
  27001. +
  27002. +
  27003. +cat >>confdefs.h <<_ACEOF
  27004. +@%:@define PACKAGE "$PACKAGE"
  27005. +_ACEOF
  27006. +
  27007. +
  27008. +cat >>confdefs.h <<_ACEOF
  27009. +@%:@define VERSION "$VERSION"
  27010. +_ACEOF
  27011. +
  27012. +# Some tools Automake needs.
  27013. +
  27014. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  27015. +
  27016. +
  27017. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  27018. +
  27019. +
  27020. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  27021. +
  27022. +
  27023. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  27024. +
  27025. +
  27026. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  27027. +
  27028. +# For better backward compatibility. To be removed once Automake 1.9.x
  27029. +# dies out for good. For more background, see:
  27030. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  27031. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  27032. +mkdir_p='$(MKDIR_P)'
  27033. +
  27034. +# We need awk for the "check" target (and possibly the TAP driver). The
  27035. +# system "awk" is bad on some platforms.
  27036. +# Always define AMTAR for backward compatibility. Yes, it's still used
  27037. +# in the wild :-( We should find a proper way to deprecate it ...
  27038. +AMTAR='$${TAR-tar}'
  27039. +
  27040. +
  27041. +# We'll loop over all known methods to create a tar archive until one works.
  27042. +_am_tools='gnutar pax cpio none'
  27043. +
  27044. +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  27045. +
  27046. +
  27047. +
  27048. +
  27049. +
  27050. +
  27051. +# POSIX will say in a future version that running "rm -f" with no argument
  27052. +# is OK; and we want to be able to make that assumption in our Makefile
  27053. +# recipes. So use an aggressive probe to check that the usage we want is
  27054. +# actually supported "in the wild" to an acceptable degree.
  27055. +# See automake bug#10828.
  27056. +# To make any issue more visible, cause the running configure to be aborted
  27057. +# by default if the 'rm' program in use doesn't match our expectations; the
  27058. +# user can still override this though.
  27059. +if rm -f && rm -fr && rm -rf; then : OK; else
  27060. + cat >&2 <<'END'
  27061. +Oops!
  27062. +
  27063. +Your 'rm' program seems unable to run without file operands specified
  27064. +on the command line, even when the '-f' option is present. This is contrary
  27065. +to the behaviour of most rm programs out there, and not conforming with
  27066. +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  27067. +
  27068. +Please tell bug-automake@gnu.org about your system, including the value
  27069. +of your $PATH and any error possibly output before this message. This
  27070. +can help us improve future automake versions.
  27071. +
  27072. +END
  27073. + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  27074. + echo 'Configuration will proceed anyway, since you have set the' >&2
  27075. + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  27076. + echo >&2
  27077. + else
  27078. + cat >&2 <<'END'
  27079. +Aborting the configuration process, to ensure you take notice of the issue.
  27080. +
  27081. +You can download and install GNU coreutils to get an 'rm' implementation
  27082. +that behaves properly: <https://www.gnu.org/software/coreutils/>.
  27083. +
  27084. +If you want to complete the configuration process using your problematic
  27085. +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  27086. +to "yes", and re-run configure.
  27087. +
  27088. +END
  27089. + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  27090. + fi
  27091. +fi
  27092. +
  27093. +ac_config_headers="$ac_config_headers config.h"
  27094. +
  27095. +
  27096. +# Important programs:
  27097. +case `pwd` in
  27098. + *\ * | *\ *)
  27099. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  27100. +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  27101. +esac
  27102. +
  27103. +
  27104. +
  27105. +macro_version='2.4.6'
  27106. +macro_revision='2.4.6'
  27107. +
  27108. +
  27109. +
  27110. +
  27111. +
  27112. +
  27113. +
  27114. +
  27115. +
  27116. +
  27117. +
  27118. +
  27119. +
  27120. +ltmain=$ac_aux_dir/ltmain.sh
  27121. +
  27122. +# Make sure we can run config.sub.
  27123. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  27124. + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  27125. +
  27126. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  27127. +$as_echo_n "checking build system type... " >&6; }
  27128. +if ${ac_cv_build+:} false; then :
  27129. + $as_echo_n "(cached) " >&6
  27130. +else
  27131. + ac_build_alias=$build_alias
  27132. +test "x$ac_build_alias" = x &&
  27133. + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  27134. +test "x$ac_build_alias" = x &&
  27135. + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  27136. +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  27137. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  27138. +
  27139. +fi
  27140. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  27141. +$as_echo "$ac_cv_build" >&6; }
  27142. +case $ac_cv_build in
  27143. +*-*-*) ;;
  27144. +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  27145. +esac
  27146. +build=$ac_cv_build
  27147. +ac_save_IFS=$IFS; IFS='-'
  27148. +set x $ac_cv_build
  27149. +shift
  27150. +build_cpu=$1
  27151. +build_vendor=$2
  27152. +shift; shift
  27153. +# Remember, the first character of IFS is used to create $*,
  27154. +# except with old shells:
  27155. +build_os=$*
  27156. +IFS=$ac_save_IFS
  27157. +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  27158. +
  27159. +
  27160. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  27161. +$as_echo_n "checking host system type... " >&6; }
  27162. +if ${ac_cv_host+:} false; then :
  27163. + $as_echo_n "(cached) " >&6
  27164. +else
  27165. + if test "x$host_alias" = x; then
  27166. + ac_cv_host=$ac_cv_build
  27167. +else
  27168. + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  27169. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  27170. +fi
  27171. +
  27172. +fi
  27173. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  27174. +$as_echo "$ac_cv_host" >&6; }
  27175. +case $ac_cv_host in
  27176. +*-*-*) ;;
  27177. +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  27178. +esac
  27179. +host=$ac_cv_host
  27180. +ac_save_IFS=$IFS; IFS='-'
  27181. +set x $ac_cv_host
  27182. +shift
  27183. +host_cpu=$1
  27184. +host_vendor=$2
  27185. +shift; shift
  27186. +# Remember, the first character of IFS is used to create $*,
  27187. +# except with old shells:
  27188. +host_os=$*
  27189. +IFS=$ac_save_IFS
  27190. +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  27191. +
  27192. +
  27193. +# Backslashify metacharacters that are still active within
  27194. +# double-quoted strings.
  27195. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  27196. +
  27197. +# Same as above, but do not quote variable references.
  27198. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  27199. +
  27200. +# Sed substitution to delay expansion of an escaped shell variable in a
  27201. +# double_quote_subst'ed string.
  27202. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  27203. +
  27204. +# Sed substitution to delay expansion of an escaped single quote.
  27205. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  27206. +
  27207. +# Sed substitution to avoid accidental globbing in evaled expressions
  27208. +no_glob_subst='s/\*/\\\*/g'
  27209. +
  27210. +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  27211. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  27212. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  27213. +
  27214. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  27215. +$as_echo_n "checking how to print strings... " >&6; }
  27216. +# Test print first, because it will be a builtin if present.
  27217. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  27218. + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  27219. + ECHO='print -r --'
  27220. +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  27221. + ECHO='printf %s\n'
  27222. +else
  27223. + # Use this function as a fallback that always works.
  27224. + func_fallback_echo ()
  27225. + {
  27226. + eval 'cat <<_LTECHO_EOF
  27227. +$1
  27228. +_LTECHO_EOF'
  27229. + }
  27230. + ECHO='func_fallback_echo'
  27231. +fi
  27232. +
  27233. +# func_echo_all arg...
  27234. +# Invoke $ECHO with all args, space-separated.
  27235. +func_echo_all ()
  27236. +{
  27237. + $ECHO ""
  27238. +}
  27239. +
  27240. +case $ECHO in
  27241. + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  27242. +$as_echo "printf" >&6; } ;;
  27243. + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  27244. +$as_echo "print -r" >&6; } ;;
  27245. + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  27246. +$as_echo "cat" >&6; } ;;
  27247. +esac
  27248. +
  27249. +
  27250. +
  27251. +
  27252. +
  27253. +
  27254. +
  27255. +
  27256. +
  27257. +
  27258. +
  27259. +
  27260. +
  27261. +
  27262. +DEPDIR="${am__leading_dot}deps"
  27263. +
  27264. +ac_config_commands="$ac_config_commands depfiles"
  27265. +
  27266. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
  27267. +$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
  27268. +cat > confinc.mk << 'END'
  27269. +am__doit:
  27270. + @echo this is the am__doit target >confinc.out
  27271. +.PHONY: am__doit
  27272. +END
  27273. +am__include="#"
  27274. +am__quote=
  27275. +# BSD make does it like this.
  27276. +echo '.include "confinc.mk" # ignored' > confmf.BSD
  27277. +# Other make implementations (GNU, Solaris 10, AIX) do it like this.
  27278. +echo 'include confinc.mk # ignored' > confmf.GNU
  27279. +_am_result=no
  27280. +for s in GNU BSD; do
  27281. + { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
  27282. + (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
  27283. + ac_status=$?
  27284. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27285. + (exit $ac_status); }
  27286. + case $?:`cat confinc.out 2>/dev/null` in @%:@(
  27287. + '0:this is the am__doit target') :
  27288. + case $s in @%:@(
  27289. + BSD) :
  27290. + am__include='.include' am__quote='"' ;; @%:@(
  27291. + *) :
  27292. + am__include='include' am__quote='' ;;
  27293. +esac ;; @%:@(
  27294. + *) :
  27295. + ;;
  27296. +esac
  27297. + if test "$am__include" != "#"; then
  27298. + _am_result="yes ($s style)"
  27299. + break
  27300. + fi
  27301. +done
  27302. +rm -f confinc.* confmf.*
  27303. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
  27304. +$as_echo "${_am_result}" >&6; }
  27305. +
  27306. +@%:@ Check whether --enable-dependency-tracking was given.
  27307. +if test "${enable_dependency_tracking+set}" = set; then :
  27308. + enableval=$enable_dependency_tracking;
  27309. +fi
  27310. +
  27311. +if test "x$enable_dependency_tracking" != xno; then
  27312. + am_depcomp="$ac_aux_dir/depcomp"
  27313. + AMDEPBACKSLASH='\'
  27314. + am__nodep='_no'
  27315. +fi
  27316. + if test "x$enable_dependency_tracking" != xno; then
  27317. + AMDEP_TRUE=
  27318. + AMDEP_FALSE='#'
  27319. +else
  27320. + AMDEP_TRUE='#'
  27321. + AMDEP_FALSE=
  27322. +fi
  27323. +
  27324. +
  27325. +ac_ext=c
  27326. +ac_cpp='$CPP $CPPFLAGS'
  27327. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  27328. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  27329. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  27330. +if test -n "$ac_tool_prefix"; then
  27331. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  27332. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  27333. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  27334. +$as_echo_n "checking for $ac_word... " >&6; }
  27335. +if ${ac_cv_prog_CC+:} false; then :
  27336. + $as_echo_n "(cached) " >&6
  27337. +else
  27338. + if test -n "$CC"; then
  27339. + ac_cv_prog_CC="$CC" # Let the user override the test.
  27340. +else
  27341. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  27342. +for as_dir in $PATH
  27343. +do
  27344. + IFS=$as_save_IFS
  27345. + test -z "$as_dir" && as_dir=.
  27346. + for ac_exec_ext in '' $ac_executable_extensions; do
  27347. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  27348. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  27349. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  27350. + break 2
  27351. + fi
  27352. +done
  27353. + done
  27354. +IFS=$as_save_IFS
  27355. +
  27356. +fi
  27357. +fi
  27358. +CC=$ac_cv_prog_CC
  27359. +if test -n "$CC"; then
  27360. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  27361. +$as_echo "$CC" >&6; }
  27362. +else
  27363. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27364. +$as_echo "no" >&6; }
  27365. +fi
  27366. +
  27367. +
  27368. +fi
  27369. +if test -z "$ac_cv_prog_CC"; then
  27370. + ac_ct_CC=$CC
  27371. + # Extract the first word of "gcc", so it can be a program name with args.
  27372. +set dummy gcc; ac_word=$2
  27373. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  27374. +$as_echo_n "checking for $ac_word... " >&6; }
  27375. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  27376. + $as_echo_n "(cached) " >&6
  27377. +else
  27378. + if test -n "$ac_ct_CC"; then
  27379. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  27380. +else
  27381. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  27382. +for as_dir in $PATH
  27383. +do
  27384. + IFS=$as_save_IFS
  27385. + test -z "$as_dir" && as_dir=.
  27386. + for ac_exec_ext in '' $ac_executable_extensions; do
  27387. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  27388. + ac_cv_prog_ac_ct_CC="gcc"
  27389. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  27390. + break 2
  27391. + fi
  27392. +done
  27393. + done
  27394. +IFS=$as_save_IFS
  27395. +
  27396. +fi
  27397. +fi
  27398. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  27399. +if test -n "$ac_ct_CC"; then
  27400. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  27401. +$as_echo "$ac_ct_CC" >&6; }
  27402. +else
  27403. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27404. +$as_echo "no" >&6; }
  27405. +fi
  27406. +
  27407. + if test "x$ac_ct_CC" = x; then
  27408. + CC=""
  27409. + else
  27410. + case $cross_compiling:$ac_tool_warned in
  27411. +yes:)
  27412. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  27413. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  27414. +ac_tool_warned=yes ;;
  27415. +esac
  27416. + CC=$ac_ct_CC
  27417. + fi
  27418. +else
  27419. + CC="$ac_cv_prog_CC"
  27420. +fi
  27421. +
  27422. +if test -z "$CC"; then
  27423. + if test -n "$ac_tool_prefix"; then
  27424. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  27425. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  27426. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  27427. +$as_echo_n "checking for $ac_word... " >&6; }
  27428. +if ${ac_cv_prog_CC+:} false; then :
  27429. + $as_echo_n "(cached) " >&6
  27430. +else
  27431. + if test -n "$CC"; then
  27432. + ac_cv_prog_CC="$CC" # Let the user override the test.
  27433. +else
  27434. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  27435. +for as_dir in $PATH
  27436. +do
  27437. + IFS=$as_save_IFS
  27438. + test -z "$as_dir" && as_dir=.
  27439. + for ac_exec_ext in '' $ac_executable_extensions; do
  27440. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  27441. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  27442. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  27443. + break 2
  27444. + fi
  27445. +done
  27446. + done
  27447. +IFS=$as_save_IFS
  27448. +
  27449. +fi
  27450. +fi
  27451. +CC=$ac_cv_prog_CC
  27452. +if test -n "$CC"; then
  27453. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  27454. +$as_echo "$CC" >&6; }
  27455. +else
  27456. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27457. +$as_echo "no" >&6; }
  27458. +fi
  27459. +
  27460. +
  27461. + fi
  27462. +fi
  27463. +if test -z "$CC"; then
  27464. + # Extract the first word of "cc", so it can be a program name with args.
  27465. +set dummy cc; ac_word=$2
  27466. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  27467. +$as_echo_n "checking for $ac_word... " >&6; }
  27468. +if ${ac_cv_prog_CC+:} false; then :
  27469. + $as_echo_n "(cached) " >&6
  27470. +else
  27471. + if test -n "$CC"; then
  27472. + ac_cv_prog_CC="$CC" # Let the user override the test.
  27473. +else
  27474. + ac_prog_rejected=no
  27475. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  27476. +for as_dir in $PATH
  27477. +do
  27478. + IFS=$as_save_IFS
  27479. + test -z "$as_dir" && as_dir=.
  27480. + for ac_exec_ext in '' $ac_executable_extensions; do
  27481. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  27482. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  27483. + ac_prog_rejected=yes
  27484. + continue
  27485. + fi
  27486. + ac_cv_prog_CC="cc"
  27487. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  27488. + break 2
  27489. + fi
  27490. +done
  27491. + done
  27492. +IFS=$as_save_IFS
  27493. +
  27494. +if test $ac_prog_rejected = yes; then
  27495. + # We found a bogon in the path, so make sure we never use it.
  27496. + set dummy $ac_cv_prog_CC
  27497. + shift
  27498. + if test $@%:@ != 0; then
  27499. + # We chose a different compiler from the bogus one.
  27500. + # However, it has the same basename, so the bogon will be chosen
  27501. + # first if we set CC to just the basename; use the full file name.
  27502. + shift
  27503. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  27504. + fi
  27505. +fi
  27506. +fi
  27507. +fi
  27508. +CC=$ac_cv_prog_CC
  27509. +if test -n "$CC"; then
  27510. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  27511. +$as_echo "$CC" >&6; }
  27512. +else
  27513. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27514. +$as_echo "no" >&6; }
  27515. +fi
  27516. +
  27517. +
  27518. +fi
  27519. +if test -z "$CC"; then
  27520. + if test -n "$ac_tool_prefix"; then
  27521. + for ac_prog in cl.exe
  27522. + do
  27523. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  27524. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  27525. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  27526. +$as_echo_n "checking for $ac_word... " >&6; }
  27527. +if ${ac_cv_prog_CC+:} false; then :
  27528. + $as_echo_n "(cached) " >&6
  27529. +else
  27530. + if test -n "$CC"; then
  27531. + ac_cv_prog_CC="$CC" # Let the user override the test.
  27532. +else
  27533. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  27534. +for as_dir in $PATH
  27535. +do
  27536. + IFS=$as_save_IFS
  27537. + test -z "$as_dir" && as_dir=.
  27538. + for ac_exec_ext in '' $ac_executable_extensions; do
  27539. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  27540. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  27541. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  27542. + break 2
  27543. + fi
  27544. +done
  27545. + done
  27546. +IFS=$as_save_IFS
  27547. +
  27548. +fi
  27549. +fi
  27550. +CC=$ac_cv_prog_CC
  27551. +if test -n "$CC"; then
  27552. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  27553. +$as_echo "$CC" >&6; }
  27554. +else
  27555. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27556. +$as_echo "no" >&6; }
  27557. +fi
  27558. +
  27559. +
  27560. + test -n "$CC" && break
  27561. + done
  27562. +fi
  27563. +if test -z "$CC"; then
  27564. + ac_ct_CC=$CC
  27565. + for ac_prog in cl.exe
  27566. +do
  27567. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  27568. +set dummy $ac_prog; ac_word=$2
  27569. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  27570. +$as_echo_n "checking for $ac_word... " >&6; }
  27571. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  27572. + $as_echo_n "(cached) " >&6
  27573. +else
  27574. + if test -n "$ac_ct_CC"; then
  27575. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  27576. +else
  27577. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  27578. +for as_dir in $PATH
  27579. +do
  27580. + IFS=$as_save_IFS
  27581. + test -z "$as_dir" && as_dir=.
  27582. + for ac_exec_ext in '' $ac_executable_extensions; do
  27583. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  27584. + ac_cv_prog_ac_ct_CC="$ac_prog"
  27585. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  27586. + break 2
  27587. + fi
  27588. +done
  27589. + done
  27590. +IFS=$as_save_IFS
  27591. +
  27592. +fi
  27593. +fi
  27594. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  27595. +if test -n "$ac_ct_CC"; then
  27596. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  27597. +$as_echo "$ac_ct_CC" >&6; }
  27598. +else
  27599. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27600. +$as_echo "no" >&6; }
  27601. +fi
  27602. +
  27603. +
  27604. + test -n "$ac_ct_CC" && break
  27605. +done
  27606. +
  27607. + if test "x$ac_ct_CC" = x; then
  27608. + CC=""
  27609. + else
  27610. + case $cross_compiling:$ac_tool_warned in
  27611. +yes:)
  27612. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  27613. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  27614. +ac_tool_warned=yes ;;
  27615. +esac
  27616. + CC=$ac_ct_CC
  27617. + fi
  27618. +fi
  27619. +
  27620. +fi
  27621. +
  27622. +
  27623. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  27624. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  27625. +as_fn_error $? "no acceptable C compiler found in \$PATH
  27626. +See \`config.log' for more details" "$LINENO" 5; }
  27627. +
  27628. +# Provide some information about the compiler.
  27629. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  27630. +set X $ac_compile
  27631. +ac_compiler=$2
  27632. +for ac_option in --version -v -V -qversion; do
  27633. + { { ac_try="$ac_compiler $ac_option >&5"
  27634. +case "(($ac_try" in
  27635. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27636. + *) ac_try_echo=$ac_try;;
  27637. +esac
  27638. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  27639. +$as_echo "$ac_try_echo"; } >&5
  27640. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  27641. + ac_status=$?
  27642. + if test -s conftest.err; then
  27643. + sed '10a\
  27644. +... rest of stderr output deleted ...
  27645. + 10q' conftest.err >conftest.er1
  27646. + cat conftest.er1 >&5
  27647. + fi
  27648. + rm -f conftest.er1 conftest.err
  27649. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  27650. + test $ac_status = 0; }
  27651. +done
  27652. +
  27653. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27654. +/* end confdefs.h. */
  27655. +
  27656. +int
  27657. +main ()
  27658. +{
  27659. +
  27660. + ;
  27661. + return 0;
  27662. +}
  27663. +_ACEOF
  27664. +ac_clean_files_save=$ac_clean_files
  27665. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  27666. +# Try to create an executable without -o first, disregard a.out.
  27667. +# It will help us diagnose broken compilers, and finding out an intuition
  27668. +# of exeext.
  27669. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  27670. +$as_echo_n "checking whether the C compiler works... " >&6; }
  27671. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  27672. +
  27673. +# The possible output files:
  27674. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  27675. +
  27676. +ac_rmfiles=
  27677. +for ac_file in $ac_files
  27678. +do
  27679. + case $ac_file in
  27680. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  27681. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  27682. + esac
  27683. +done
  27684. +rm -f $ac_rmfiles
  27685. +
  27686. +if { { ac_try="$ac_link_default"
  27687. +case "(($ac_try" in
  27688. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27689. + *) ac_try_echo=$ac_try;;
  27690. +esac
  27691. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  27692. +$as_echo "$ac_try_echo"; } >&5
  27693. + (eval "$ac_link_default") 2>&5
  27694. + ac_status=$?
  27695. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  27696. + test $ac_status = 0; }; then :
  27697. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  27698. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  27699. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  27700. +# so that the user can short-circuit this test for compilers unknown to
  27701. +# Autoconf.
  27702. +for ac_file in $ac_files ''
  27703. +do
  27704. + test -f "$ac_file" || continue
  27705. + case $ac_file in
  27706. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  27707. + ;;
  27708. + [ab].out )
  27709. + # We found the default executable, but exeext='' is most
  27710. + # certainly right.
  27711. + break;;
  27712. + *.* )
  27713. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  27714. + then :; else
  27715. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  27716. + fi
  27717. + # We set ac_cv_exeext here because the later test for it is not
  27718. + # safe: cross compilers may not add the suffix if given an `-o'
  27719. + # argument, so we may need to know it at that point already.
  27720. + # Even if this section looks crufty: it has the advantage of
  27721. + # actually working.
  27722. + break;;
  27723. + * )
  27724. + break;;
  27725. + esac
  27726. +done
  27727. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  27728. +
  27729. +else
  27730. + ac_file=''
  27731. +fi
  27732. +if test -z "$ac_file"; then :
  27733. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27734. +$as_echo "no" >&6; }
  27735. +$as_echo "$as_me: failed program was:" >&5
  27736. +sed 's/^/| /' conftest.$ac_ext >&5
  27737. +
  27738. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  27739. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  27740. +as_fn_error 77 "C compiler cannot create executables
  27741. +See \`config.log' for more details" "$LINENO" 5; }
  27742. +else
  27743. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  27744. +$as_echo "yes" >&6; }
  27745. +fi
  27746. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  27747. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  27748. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  27749. +$as_echo "$ac_file" >&6; }
  27750. +ac_exeext=$ac_cv_exeext
  27751. +
  27752. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  27753. +ac_clean_files=$ac_clean_files_save
  27754. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  27755. +$as_echo_n "checking for suffix of executables... " >&6; }
  27756. +if { { ac_try="$ac_link"
  27757. +case "(($ac_try" in
  27758. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27759. + *) ac_try_echo=$ac_try;;
  27760. +esac
  27761. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  27762. +$as_echo "$ac_try_echo"; } >&5
  27763. + (eval "$ac_link") 2>&5
  27764. + ac_status=$?
  27765. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  27766. + test $ac_status = 0; }; then :
  27767. + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  27768. +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  27769. +# work properly (i.e., refer to `conftest.exe'), while it won't with
  27770. +# `rm'.
  27771. +for ac_file in conftest.exe conftest conftest.*; do
  27772. + test -f "$ac_file" || continue
  27773. + case $ac_file in
  27774. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  27775. + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  27776. + break;;
  27777. + * ) break;;
  27778. + esac
  27779. +done
  27780. +else
  27781. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  27782. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  27783. +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  27784. +See \`config.log' for more details" "$LINENO" 5; }
  27785. +fi
  27786. +rm -f conftest conftest$ac_cv_exeext
  27787. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  27788. +$as_echo "$ac_cv_exeext" >&6; }
  27789. +
  27790. +rm -f conftest.$ac_ext
  27791. +EXEEXT=$ac_cv_exeext
  27792. +ac_exeext=$EXEEXT
  27793. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27794. +/* end confdefs.h. */
  27795. +@%:@include <stdio.h>
  27796. +int
  27797. +main ()
  27798. +{
  27799. +FILE *f = fopen ("conftest.out", "w");
  27800. + return ferror (f) || fclose (f) != 0;
  27801. +
  27802. + ;
  27803. + return 0;
  27804. +}
  27805. +_ACEOF
  27806. +ac_clean_files="$ac_clean_files conftest.out"
  27807. +# Check that the compiler produces executables we can run. If not, either
  27808. +# the compiler is broken, or we cross compile.
  27809. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  27810. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  27811. +if test "$cross_compiling" != yes; then
  27812. + { { ac_try="$ac_link"
  27813. +case "(($ac_try" in
  27814. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27815. + *) ac_try_echo=$ac_try;;
  27816. +esac
  27817. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  27818. +$as_echo "$ac_try_echo"; } >&5
  27819. + (eval "$ac_link") 2>&5
  27820. + ac_status=$?
  27821. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  27822. + test $ac_status = 0; }
  27823. + if { ac_try='./conftest$ac_cv_exeext'
  27824. + { { case "(($ac_try" in
  27825. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27826. + *) ac_try_echo=$ac_try;;
  27827. +esac
  27828. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  27829. +$as_echo "$ac_try_echo"; } >&5
  27830. + (eval "$ac_try") 2>&5
  27831. + ac_status=$?
  27832. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  27833. + test $ac_status = 0; }; }; then
  27834. + cross_compiling=no
  27835. + else
  27836. + if test "$cross_compiling" = maybe; then
  27837. + cross_compiling=yes
  27838. + else
  27839. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  27840. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  27841. +as_fn_error $? "cannot run C compiled programs.
  27842. +If you meant to cross compile, use \`--host'.
  27843. +See \`config.log' for more details" "$LINENO" 5; }
  27844. + fi
  27845. + fi
  27846. +fi
  27847. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  27848. +$as_echo "$cross_compiling" >&6; }
  27849. +
  27850. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  27851. +ac_clean_files=$ac_clean_files_save
  27852. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  27853. +$as_echo_n "checking for suffix of object files... " >&6; }
  27854. +if ${ac_cv_objext+:} false; then :
  27855. + $as_echo_n "(cached) " >&6
  27856. +else
  27857. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27858. +/* end confdefs.h. */
  27859. +
  27860. +int
  27861. +main ()
  27862. +{
  27863. +
  27864. + ;
  27865. + return 0;
  27866. +}
  27867. +_ACEOF
  27868. +rm -f conftest.o conftest.obj
  27869. +if { { ac_try="$ac_compile"
  27870. +case "(($ac_try" in
  27871. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27872. + *) ac_try_echo=$ac_try;;
  27873. +esac
  27874. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  27875. +$as_echo "$ac_try_echo"; } >&5
  27876. + (eval "$ac_compile") 2>&5
  27877. + ac_status=$?
  27878. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  27879. + test $ac_status = 0; }; then :
  27880. + for ac_file in conftest.o conftest.obj conftest.*; do
  27881. + test -f "$ac_file" || continue;
  27882. + case $ac_file in
  27883. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  27884. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  27885. + break;;
  27886. + esac
  27887. +done
  27888. +else
  27889. + $as_echo "$as_me: failed program was:" >&5
  27890. +sed 's/^/| /' conftest.$ac_ext >&5
  27891. +
  27892. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  27893. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  27894. +as_fn_error $? "cannot compute suffix of object files: cannot compile
  27895. +See \`config.log' for more details" "$LINENO" 5; }
  27896. +fi
  27897. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  27898. +fi
  27899. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  27900. +$as_echo "$ac_cv_objext" >&6; }
  27901. +OBJEXT=$ac_cv_objext
  27902. +ac_objext=$OBJEXT
  27903. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  27904. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  27905. +if ${ac_cv_c_compiler_gnu+:} false; then :
  27906. + $as_echo_n "(cached) " >&6
  27907. +else
  27908. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27909. +/* end confdefs.h. */
  27910. +
  27911. +int
  27912. +main ()
  27913. +{
  27914. +#ifndef __GNUC__
  27915. + choke me
  27916. +#endif
  27917. +
  27918. + ;
  27919. + return 0;
  27920. +}
  27921. +_ACEOF
  27922. +if ac_fn_c_try_compile "$LINENO"; then :
  27923. + ac_compiler_gnu=yes
  27924. +else
  27925. + ac_compiler_gnu=no
  27926. +fi
  27927. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27928. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  27929. +
  27930. +fi
  27931. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  27932. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  27933. +if test $ac_compiler_gnu = yes; then
  27934. + GCC=yes
  27935. +else
  27936. + GCC=
  27937. +fi
  27938. +ac_test_CFLAGS=${CFLAGS+set}
  27939. +ac_save_CFLAGS=$CFLAGS
  27940. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  27941. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  27942. +if ${ac_cv_prog_cc_g+:} false; then :
  27943. + $as_echo_n "(cached) " >&6
  27944. +else
  27945. + ac_save_c_werror_flag=$ac_c_werror_flag
  27946. + ac_c_werror_flag=yes
  27947. + ac_cv_prog_cc_g=no
  27948. + CFLAGS="-g"
  27949. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27950. +/* end confdefs.h. */
  27951. +
  27952. +int
  27953. +main ()
  27954. +{
  27955. +
  27956. + ;
  27957. + return 0;
  27958. +}
  27959. +_ACEOF
  27960. +if ac_fn_c_try_compile "$LINENO"; then :
  27961. + ac_cv_prog_cc_g=yes
  27962. +else
  27963. + CFLAGS=""
  27964. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27965. +/* end confdefs.h. */
  27966. +
  27967. +int
  27968. +main ()
  27969. +{
  27970. +
  27971. + ;
  27972. + return 0;
  27973. +}
  27974. +_ACEOF
  27975. +if ac_fn_c_try_compile "$LINENO"; then :
  27976. +
  27977. +else
  27978. + ac_c_werror_flag=$ac_save_c_werror_flag
  27979. + CFLAGS="-g"
  27980. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27981. +/* end confdefs.h. */
  27982. +
  27983. +int
  27984. +main ()
  27985. +{
  27986. +
  27987. + ;
  27988. + return 0;
  27989. +}
  27990. +_ACEOF
  27991. +if ac_fn_c_try_compile "$LINENO"; then :
  27992. + ac_cv_prog_cc_g=yes
  27993. +fi
  27994. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27995. +fi
  27996. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27997. +fi
  27998. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27999. + ac_c_werror_flag=$ac_save_c_werror_flag
  28000. +fi
  28001. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  28002. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  28003. +if test "$ac_test_CFLAGS" = set; then
  28004. + CFLAGS=$ac_save_CFLAGS
  28005. +elif test $ac_cv_prog_cc_g = yes; then
  28006. + if test "$GCC" = yes; then
  28007. + CFLAGS="-g -O2"
  28008. + else
  28009. + CFLAGS="-g"
  28010. + fi
  28011. +else
  28012. + if test "$GCC" = yes; then
  28013. + CFLAGS="-O2"
  28014. + else
  28015. + CFLAGS=
  28016. + fi
  28017. +fi
  28018. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  28019. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  28020. +if ${ac_cv_prog_cc_c89+:} false; then :
  28021. + $as_echo_n "(cached) " >&6
  28022. +else
  28023. + ac_cv_prog_cc_c89=no
  28024. +ac_save_CC=$CC
  28025. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28026. +/* end confdefs.h. */
  28027. +#include <stdarg.h>
  28028. +#include <stdio.h>
  28029. +struct stat;
  28030. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  28031. +struct buf { int x; };
  28032. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  28033. +static char *e (p, i)
  28034. + char **p;
  28035. + int i;
  28036. +{
  28037. + return p[i];
  28038. +}
  28039. +static char *f (char * (*g) (char **, int), char **p, ...)
  28040. +{
  28041. + char *s;
  28042. + va_list v;
  28043. + va_start (v,p);
  28044. + s = g (p, va_arg (v,int));
  28045. + va_end (v);
  28046. + return s;
  28047. +}
  28048. +
  28049. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  28050. + function prototypes and stuff, but not '\xHH' hex character constants.
  28051. + These don't provoke an error unfortunately, instead are silently treated
  28052. + as 'x'. The following induces an error, until -std is added to get
  28053. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  28054. + array size at least. It's necessary to write '\x00'==0 to get something
  28055. + that's true only with -std. */
  28056. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  28057. +
  28058. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  28059. + inside strings and character constants. */
  28060. +#define FOO(x) 'x'
  28061. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  28062. +
  28063. +int test (int i, double x);
  28064. +struct s1 {int (*f) (int a);};
  28065. +struct s2 {int (*f) (double a);};
  28066. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  28067. +int argc;
  28068. +char **argv;
  28069. +int
  28070. +main ()
  28071. +{
  28072. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  28073. + ;
  28074. + return 0;
  28075. +}
  28076. +_ACEOF
  28077. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  28078. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  28079. +do
  28080. + CC="$ac_save_CC $ac_arg"
  28081. + if ac_fn_c_try_compile "$LINENO"; then :
  28082. + ac_cv_prog_cc_c89=$ac_arg
  28083. +fi
  28084. +rm -f core conftest.err conftest.$ac_objext
  28085. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  28086. +done
  28087. +rm -f conftest.$ac_ext
  28088. +CC=$ac_save_CC
  28089. +
  28090. +fi
  28091. +# AC_CACHE_VAL
  28092. +case "x$ac_cv_prog_cc_c89" in
  28093. + x)
  28094. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  28095. +$as_echo "none needed" >&6; } ;;
  28096. + xno)
  28097. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  28098. +$as_echo "unsupported" >&6; } ;;
  28099. + *)
  28100. + CC="$CC $ac_cv_prog_cc_c89"
  28101. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  28102. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  28103. +esac
  28104. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  28105. +
  28106. +fi
  28107. +
  28108. +ac_ext=c
  28109. +ac_cpp='$CPP $CPPFLAGS'
  28110. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  28111. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  28112. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  28113. +
  28114. +ac_ext=c
  28115. +ac_cpp='$CPP $CPPFLAGS'
  28116. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  28117. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  28118. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  28119. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  28120. +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  28121. +if ${am_cv_prog_cc_c_o+:} false; then :
  28122. + $as_echo_n "(cached) " >&6
  28123. +else
  28124. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28125. +/* end confdefs.h. */
  28126. +
  28127. +int
  28128. +main ()
  28129. +{
  28130. +
  28131. + ;
  28132. + return 0;
  28133. +}
  28134. +_ACEOF
  28135. + # Make sure it works both with $CC and with simple cc.
  28136. + # Following AC_PROG_CC_C_O, we do the test twice because some
  28137. + # compilers refuse to overwrite an existing .o file with -o,
  28138. + # though they will create one.
  28139. + am_cv_prog_cc_c_o=yes
  28140. + for am_i in 1 2; do
  28141. + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  28142. + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  28143. + ac_status=$?
  28144. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  28145. + (exit $ac_status); } \
  28146. + && test -f conftest2.$ac_objext; then
  28147. + : OK
  28148. + else
  28149. + am_cv_prog_cc_c_o=no
  28150. + break
  28151. + fi
  28152. + done
  28153. + rm -f core conftest*
  28154. + unset am_i
  28155. +fi
  28156. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  28157. +$as_echo "$am_cv_prog_cc_c_o" >&6; }
  28158. +if test "$am_cv_prog_cc_c_o" != yes; then
  28159. + # Losing compiler, so override with the script.
  28160. + # FIXME: It is wrong to rewrite CC.
  28161. + # But if we don't then we get into trouble of one sort or another.
  28162. + # A longer-term fix would be to have automake use am__CC in this case,
  28163. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  28164. + CC="$am_aux_dir/compile $CC"
  28165. +fi
  28166. +ac_ext=c
  28167. +ac_cpp='$CPP $CPPFLAGS'
  28168. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  28169. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  28170. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  28171. +
  28172. +
  28173. +depcc="$CC" am_compiler_list=
  28174. +
  28175. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  28176. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  28177. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  28178. + $as_echo_n "(cached) " >&6
  28179. +else
  28180. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  28181. + # We make a subdir and do the tests there. Otherwise we can end up
  28182. + # making bogus files that we don't know about and never remove. For
  28183. + # instance it was reported that on HP-UX the gcc test will end up
  28184. + # making a dummy file named 'D' -- because '-MD' means "put the output
  28185. + # in D".
  28186. + rm -rf conftest.dir
  28187. + mkdir conftest.dir
  28188. + # Copy depcomp to subdir because otherwise we won't find it if we're
  28189. + # using a relative directory.
  28190. + cp "$am_depcomp" conftest.dir
  28191. + cd conftest.dir
  28192. + # We will build objects and dependencies in a subdirectory because
  28193. + # it helps to detect inapplicable dependency modes. For instance
  28194. + # both Tru64's cc and ICC support -MD to output dependencies as a
  28195. + # side effect of compilation, but ICC will put the dependencies in
  28196. + # the current directory while Tru64 will put them in the object
  28197. + # directory.
  28198. + mkdir sub
  28199. +
  28200. + am_cv_CC_dependencies_compiler_type=none
  28201. + if test "$am_compiler_list" = ""; then
  28202. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  28203. + fi
  28204. + am__universal=false
  28205. + case " $depcc " in #(
  28206. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  28207. + esac
  28208. +
  28209. + for depmode in $am_compiler_list; do
  28210. + # Setup a source with many dependencies, because some compilers
  28211. + # like to wrap large dependency lists on column 80 (with \), and
  28212. + # we should not choose a depcomp mode which is confused by this.
  28213. + #
  28214. + # We need to recreate these files for each test, as the compiler may
  28215. + # overwrite some of them when testing with obscure command lines.
  28216. + # This happens at least with the AIX C compiler.
  28217. + : > sub/conftest.c
  28218. + for i in 1 2 3 4 5 6; do
  28219. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  28220. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  28221. + # Solaris 10 /bin/sh.
  28222. + echo '/* dummy */' > sub/conftst$i.h
  28223. + done
  28224. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  28225. +
  28226. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  28227. + # mode. It turns out that the SunPro C++ compiler does not properly
  28228. + # handle '-M -o', and we need to detect this. Also, some Intel
  28229. + # versions had trouble with output in subdirs.
  28230. + am__obj=sub/conftest.${OBJEXT-o}
  28231. + am__minus_obj="-o $am__obj"
  28232. + case $depmode in
  28233. + gcc)
  28234. + # This depmode causes a compiler race in universal mode.
  28235. + test "$am__universal" = false || continue
  28236. + ;;
  28237. + nosideeffect)
  28238. + # After this tag, mechanisms are not by side-effect, so they'll
  28239. + # only be used when explicitly requested.
  28240. + if test "x$enable_dependency_tracking" = xyes; then
  28241. + continue
  28242. + else
  28243. + break
  28244. + fi
  28245. + ;;
  28246. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  28247. + # This compiler won't grok '-c -o', but also, the minuso test has
  28248. + # not run yet. These depmodes are late enough in the game, and
  28249. + # so weak that their functioning should not be impacted.
  28250. + am__obj=conftest.${OBJEXT-o}
  28251. + am__minus_obj=
  28252. + ;;
  28253. + none) break ;;
  28254. + esac
  28255. + if depmode=$depmode \
  28256. + source=sub/conftest.c object=$am__obj \
  28257. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  28258. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  28259. + >/dev/null 2>conftest.err &&
  28260. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  28261. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  28262. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  28263. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  28264. + # icc doesn't choke on unknown options, it will just issue warnings
  28265. + # or remarks (even with -Werror). So we grep stderr for any message
  28266. + # that says an option was ignored or not supported.
  28267. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  28268. + # icc: Command line warning: ignoring option '-M'; no argument required
  28269. + # The diagnosis changed in icc 8.0:
  28270. + # icc: Command line remark: option '-MP' not supported
  28271. + if (grep 'ignoring option' conftest.err ||
  28272. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  28273. + am_cv_CC_dependencies_compiler_type=$depmode
  28274. + break
  28275. + fi
  28276. + fi
  28277. + done
  28278. +
  28279. + cd ..
  28280. + rm -rf conftest.dir
  28281. +else
  28282. + am_cv_CC_dependencies_compiler_type=none
  28283. +fi
  28284. +
  28285. +fi
  28286. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  28287. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  28288. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  28289. +
  28290. + if
  28291. + test "x$enable_dependency_tracking" != xno \
  28292. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  28293. + am__fastdepCC_TRUE=
  28294. + am__fastdepCC_FALSE='#'
  28295. +else
  28296. + am__fastdepCC_TRUE='#'
  28297. + am__fastdepCC_FALSE=
  28298. +fi
  28299. +
  28300. +
  28301. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  28302. +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  28303. +if ${ac_cv_path_SED+:} false; then :
  28304. + $as_echo_n "(cached) " >&6
  28305. +else
  28306. + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  28307. + for ac_i in 1 2 3 4 5 6 7; do
  28308. + ac_script="$ac_script$as_nl$ac_script"
  28309. + done
  28310. + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  28311. + { ac_script=; unset ac_script;}
  28312. + if test -z "$SED"; then
  28313. + ac_path_SED_found=false
  28314. + # Loop through the user's path and test for each of PROGNAME-LIST
  28315. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  28316. +for as_dir in $PATH
  28317. +do
  28318. + IFS=$as_save_IFS
  28319. + test -z "$as_dir" && as_dir=.
  28320. + for ac_prog in sed gsed; do
  28321. + for ac_exec_ext in '' $ac_executable_extensions; do
  28322. + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  28323. + as_fn_executable_p "$ac_path_SED" || continue
  28324. +# Check for GNU ac_path_SED and select it if it is found.
  28325. + # Check for GNU $ac_path_SED
  28326. +case `"$ac_path_SED" --version 2>&1` in
  28327. +*GNU*)
  28328. + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  28329. +*)
  28330. + ac_count=0
  28331. + $as_echo_n 0123456789 >"conftest.in"
  28332. + while :
  28333. + do
  28334. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  28335. + mv "conftest.tmp" "conftest.in"
  28336. + cp "conftest.in" "conftest.nl"
  28337. + $as_echo '' >> "conftest.nl"
  28338. + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  28339. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  28340. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  28341. + if test $ac_count -gt ${ac_path_SED_max-0}; then
  28342. + # Best one so far, save it but keep looking for a better one
  28343. + ac_cv_path_SED="$ac_path_SED"
  28344. + ac_path_SED_max=$ac_count
  28345. + fi
  28346. + # 10*(2^10) chars as input seems more than enough
  28347. + test $ac_count -gt 10 && break
  28348. + done
  28349. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  28350. +esac
  28351. +
  28352. + $ac_path_SED_found && break 3
  28353. + done
  28354. + done
  28355. + done
  28356. +IFS=$as_save_IFS
  28357. + if test -z "$ac_cv_path_SED"; then
  28358. + as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  28359. + fi
  28360. +else
  28361. + ac_cv_path_SED=$SED
  28362. +fi
  28363. +
  28364. +fi
  28365. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  28366. +$as_echo "$ac_cv_path_SED" >&6; }
  28367. + SED="$ac_cv_path_SED"
  28368. + rm -f conftest.sed
  28369. +
  28370. +test -z "$SED" && SED=sed
  28371. +Xsed="$SED -e 1s/^X//"
  28372. +
  28373. +
  28374. +
  28375. +
  28376. +
  28377. +
  28378. +
  28379. +
  28380. +
  28381. +
  28382. +
  28383. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  28384. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  28385. +if ${ac_cv_path_GREP+:} false; then :
  28386. + $as_echo_n "(cached) " >&6
  28387. +else
  28388. + if test -z "$GREP"; then
  28389. + ac_path_GREP_found=false
  28390. + # Loop through the user's path and test for each of PROGNAME-LIST
  28391. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  28392. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  28393. +do
  28394. + IFS=$as_save_IFS
  28395. + test -z "$as_dir" && as_dir=.
  28396. + for ac_prog in grep ggrep; do
  28397. + for ac_exec_ext in '' $ac_executable_extensions; do
  28398. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  28399. + as_fn_executable_p "$ac_path_GREP" || continue
  28400. +# Check for GNU ac_path_GREP and select it if it is found.
  28401. + # Check for GNU $ac_path_GREP
  28402. +case `"$ac_path_GREP" --version 2>&1` in
  28403. +*GNU*)
  28404. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  28405. +*)
  28406. + ac_count=0
  28407. + $as_echo_n 0123456789 >"conftest.in"
  28408. + while :
  28409. + do
  28410. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  28411. + mv "conftest.tmp" "conftest.in"
  28412. + cp "conftest.in" "conftest.nl"
  28413. + $as_echo 'GREP' >> "conftest.nl"
  28414. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  28415. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  28416. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  28417. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  28418. + # Best one so far, save it but keep looking for a better one
  28419. + ac_cv_path_GREP="$ac_path_GREP"
  28420. + ac_path_GREP_max=$ac_count
  28421. + fi
  28422. + # 10*(2^10) chars as input seems more than enough
  28423. + test $ac_count -gt 10 && break
  28424. + done
  28425. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  28426. +esac
  28427. +
  28428. + $ac_path_GREP_found && break 3
  28429. + done
  28430. + done
  28431. + done
  28432. +IFS=$as_save_IFS
  28433. + if test -z "$ac_cv_path_GREP"; then
  28434. + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  28435. + fi
  28436. +else
  28437. + ac_cv_path_GREP=$GREP
  28438. +fi
  28439. +
  28440. +fi
  28441. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  28442. +$as_echo "$ac_cv_path_GREP" >&6; }
  28443. + GREP="$ac_cv_path_GREP"
  28444. +
  28445. +
  28446. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  28447. +$as_echo_n "checking for egrep... " >&6; }
  28448. +if ${ac_cv_path_EGREP+:} false; then :
  28449. + $as_echo_n "(cached) " >&6
  28450. +else
  28451. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  28452. + then ac_cv_path_EGREP="$GREP -E"
  28453. + else
  28454. + if test -z "$EGREP"; then
  28455. + ac_path_EGREP_found=false
  28456. + # Loop through the user's path and test for each of PROGNAME-LIST
  28457. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  28458. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  28459. +do
  28460. + IFS=$as_save_IFS
  28461. + test -z "$as_dir" && as_dir=.
  28462. + for ac_prog in egrep; do
  28463. + for ac_exec_ext in '' $ac_executable_extensions; do
  28464. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  28465. + as_fn_executable_p "$ac_path_EGREP" || continue
  28466. +# Check for GNU ac_path_EGREP and select it if it is found.
  28467. + # Check for GNU $ac_path_EGREP
  28468. +case `"$ac_path_EGREP" --version 2>&1` in
  28469. +*GNU*)
  28470. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  28471. +*)
  28472. + ac_count=0
  28473. + $as_echo_n 0123456789 >"conftest.in"
  28474. + while :
  28475. + do
  28476. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  28477. + mv "conftest.tmp" "conftest.in"
  28478. + cp "conftest.in" "conftest.nl"
  28479. + $as_echo 'EGREP' >> "conftest.nl"
  28480. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  28481. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  28482. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  28483. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  28484. + # Best one so far, save it but keep looking for a better one
  28485. + ac_cv_path_EGREP="$ac_path_EGREP"
  28486. + ac_path_EGREP_max=$ac_count
  28487. + fi
  28488. + # 10*(2^10) chars as input seems more than enough
  28489. + test $ac_count -gt 10 && break
  28490. + done
  28491. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  28492. +esac
  28493. +
  28494. + $ac_path_EGREP_found && break 3
  28495. + done
  28496. + done
  28497. + done
  28498. +IFS=$as_save_IFS
  28499. + if test -z "$ac_cv_path_EGREP"; then
  28500. + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  28501. + fi
  28502. +else
  28503. + ac_cv_path_EGREP=$EGREP
  28504. +fi
  28505. +
  28506. + fi
  28507. +fi
  28508. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  28509. +$as_echo "$ac_cv_path_EGREP" >&6; }
  28510. + EGREP="$ac_cv_path_EGREP"
  28511. +
  28512. +
  28513. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  28514. +$as_echo_n "checking for fgrep... " >&6; }
  28515. +if ${ac_cv_path_FGREP+:} false; then :
  28516. + $as_echo_n "(cached) " >&6
  28517. +else
  28518. + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  28519. + then ac_cv_path_FGREP="$GREP -F"
  28520. + else
  28521. + if test -z "$FGREP"; then
  28522. + ac_path_FGREP_found=false
  28523. + # Loop through the user's path and test for each of PROGNAME-LIST
  28524. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  28525. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  28526. +do
  28527. + IFS=$as_save_IFS
  28528. + test -z "$as_dir" && as_dir=.
  28529. + for ac_prog in fgrep; do
  28530. + for ac_exec_ext in '' $ac_executable_extensions; do
  28531. + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  28532. + as_fn_executable_p "$ac_path_FGREP" || continue
  28533. +# Check for GNU ac_path_FGREP and select it if it is found.
  28534. + # Check for GNU $ac_path_FGREP
  28535. +case `"$ac_path_FGREP" --version 2>&1` in
  28536. +*GNU*)
  28537. + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  28538. +*)
  28539. + ac_count=0
  28540. + $as_echo_n 0123456789 >"conftest.in"
  28541. + while :
  28542. + do
  28543. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  28544. + mv "conftest.tmp" "conftest.in"
  28545. + cp "conftest.in" "conftest.nl"
  28546. + $as_echo 'FGREP' >> "conftest.nl"
  28547. + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  28548. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  28549. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  28550. + if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  28551. + # Best one so far, save it but keep looking for a better one
  28552. + ac_cv_path_FGREP="$ac_path_FGREP"
  28553. + ac_path_FGREP_max=$ac_count
  28554. + fi
  28555. + # 10*(2^10) chars as input seems more than enough
  28556. + test $ac_count -gt 10 && break
  28557. + done
  28558. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  28559. +esac
  28560. +
  28561. + $ac_path_FGREP_found && break 3
  28562. + done
  28563. + done
  28564. + done
  28565. +IFS=$as_save_IFS
  28566. + if test -z "$ac_cv_path_FGREP"; then
  28567. + as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  28568. + fi
  28569. +else
  28570. + ac_cv_path_FGREP=$FGREP
  28571. +fi
  28572. +
  28573. + fi
  28574. +fi
  28575. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  28576. +$as_echo "$ac_cv_path_FGREP" >&6; }
  28577. + FGREP="$ac_cv_path_FGREP"
  28578. +
  28579. +
  28580. +test -z "$GREP" && GREP=grep
  28581. +
  28582. +
  28583. +
  28584. +
  28585. +
  28586. +
  28587. +
  28588. +
  28589. +
  28590. +
  28591. +
  28592. +
  28593. +
  28594. +
  28595. +
  28596. +
  28597. +
  28598. +
  28599. +
  28600. +@%:@ Check whether --with-gnu-ld was given.
  28601. +if test "${with_gnu_ld+set}" = set; then :
  28602. + withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
  28603. +else
  28604. + with_gnu_ld=no
  28605. +fi
  28606. +
  28607. +ac_prog=ld
  28608. +if test yes = "$GCC"; then
  28609. + # Check if gcc -print-prog-name=ld gives a path.
  28610. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  28611. +$as_echo_n "checking for ld used by $CC... " >&6; }
  28612. + case $host in
  28613. + *-*-mingw*)
  28614. + # gcc leaves a trailing carriage return, which upsets mingw
  28615. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  28616. + *)
  28617. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  28618. + esac
  28619. + case $ac_prog in
  28620. + # Accept absolute paths.
  28621. + [\\/]* | ?:[\\/]*)
  28622. + re_direlt='/[^/][^/]*/\.\./'
  28623. + # Canonicalize the pathname of ld
  28624. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  28625. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  28626. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  28627. + done
  28628. + test -z "$LD" && LD=$ac_prog
  28629. + ;;
  28630. + "")
  28631. + # If it fails, then pretend we aren't using GCC.
  28632. + ac_prog=ld
  28633. + ;;
  28634. + *)
  28635. + # If it is relative, then search for the first ld in PATH.
  28636. + with_gnu_ld=unknown
  28637. + ;;
  28638. + esac
  28639. +elif test yes = "$with_gnu_ld"; then
  28640. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  28641. +$as_echo_n "checking for GNU ld... " >&6; }
  28642. +else
  28643. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  28644. +$as_echo_n "checking for non-GNU ld... " >&6; }
  28645. +fi
  28646. +if ${lt_cv_path_LD+:} false; then :
  28647. + $as_echo_n "(cached) " >&6
  28648. +else
  28649. + if test -z "$LD"; then
  28650. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  28651. + for ac_dir in $PATH; do
  28652. + IFS=$lt_save_ifs
  28653. + test -z "$ac_dir" && ac_dir=.
  28654. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  28655. + lt_cv_path_LD=$ac_dir/$ac_prog
  28656. + # Check to see if the program is GNU ld. I'd rather use --version,
  28657. + # but apparently some variants of GNU ld only accept -v.
  28658. + # Break only if it was the GNU/non-GNU ld that we prefer.
  28659. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  28660. + *GNU* | *'with BFD'*)
  28661. + test no != "$with_gnu_ld" && break
  28662. + ;;
  28663. + *)
  28664. + test yes != "$with_gnu_ld" && break
  28665. + ;;
  28666. + esac
  28667. + fi
  28668. + done
  28669. + IFS=$lt_save_ifs
  28670. +else
  28671. + lt_cv_path_LD=$LD # Let the user override the test with a path.
  28672. +fi
  28673. +fi
  28674. +
  28675. +LD=$lt_cv_path_LD
  28676. +if test -n "$LD"; then
  28677. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  28678. +$as_echo "$LD" >&6; }
  28679. +else
  28680. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28681. +$as_echo "no" >&6; }
  28682. +fi
  28683. +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  28684. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  28685. +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  28686. +if ${lt_cv_prog_gnu_ld+:} false; then :
  28687. + $as_echo_n "(cached) " >&6
  28688. +else
  28689. + # I'd rather use --version here, but apparently some GNU lds only accept -v.
  28690. +case `$LD -v 2>&1 </dev/null` in
  28691. +*GNU* | *'with BFD'*)
  28692. + lt_cv_prog_gnu_ld=yes
  28693. + ;;
  28694. +*)
  28695. + lt_cv_prog_gnu_ld=no
  28696. + ;;
  28697. +esac
  28698. +fi
  28699. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  28700. +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  28701. +with_gnu_ld=$lt_cv_prog_gnu_ld
  28702. +
  28703. +
  28704. +
  28705. +
  28706. +
  28707. +
  28708. +
  28709. +
  28710. +
  28711. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  28712. +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  28713. +if ${lt_cv_path_NM+:} false; then :
  28714. + $as_echo_n "(cached) " >&6
  28715. +else
  28716. + if test -n "$NM"; then
  28717. + # Let the user override the test.
  28718. + lt_cv_path_NM=$NM
  28719. +else
  28720. + lt_nm_to_check=${ac_tool_prefix}nm
  28721. + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  28722. + lt_nm_to_check="$lt_nm_to_check nm"
  28723. + fi
  28724. + for lt_tmp_nm in $lt_nm_to_check; do
  28725. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  28726. + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  28727. + IFS=$lt_save_ifs
  28728. + test -z "$ac_dir" && ac_dir=.
  28729. + tmp_nm=$ac_dir/$lt_tmp_nm
  28730. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
  28731. + # Check to see if the nm accepts a BSD-compat flag.
  28732. + # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
  28733. + # nm: unknown option "B" ignored
  28734. + # Tru64's nm complains that /dev/null is an invalid object file
  28735. + # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
  28736. + case $build_os in
  28737. + mingw*) lt_bad_file=conftest.nm/nofile ;;
  28738. + *) lt_bad_file=/dev/null ;;
  28739. + esac
  28740. + case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
  28741. + *$lt_bad_file* | *'Invalid file or object type'*)
  28742. + lt_cv_path_NM="$tmp_nm -B"
  28743. + break 2
  28744. + ;;
  28745. + *)
  28746. + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  28747. + */dev/null*)
  28748. + lt_cv_path_NM="$tmp_nm -p"
  28749. + break 2
  28750. + ;;
  28751. + *)
  28752. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  28753. + continue # so that we can try to find one that supports BSD flags
  28754. + ;;
  28755. + esac
  28756. + ;;
  28757. + esac
  28758. + fi
  28759. + done
  28760. + IFS=$lt_save_ifs
  28761. + done
  28762. + : ${lt_cv_path_NM=no}
  28763. +fi
  28764. +fi
  28765. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  28766. +$as_echo "$lt_cv_path_NM" >&6; }
  28767. +if test no != "$lt_cv_path_NM"; then
  28768. + NM=$lt_cv_path_NM
  28769. +else
  28770. + # Didn't find any BSD compatible name lister, look for dumpbin.
  28771. + if test -n "$DUMPBIN"; then :
  28772. + # Let the user override the test.
  28773. + else
  28774. + if test -n "$ac_tool_prefix"; then
  28775. + for ac_prog in dumpbin "link -dump"
  28776. + do
  28777. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  28778. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  28779. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  28780. +$as_echo_n "checking for $ac_word... " >&6; }
  28781. +if ${ac_cv_prog_DUMPBIN+:} false; then :
  28782. + $as_echo_n "(cached) " >&6
  28783. +else
  28784. + if test -n "$DUMPBIN"; then
  28785. + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  28786. +else
  28787. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  28788. +for as_dir in $PATH
  28789. +do
  28790. + IFS=$as_save_IFS
  28791. + test -z "$as_dir" && as_dir=.
  28792. + for ac_exec_ext in '' $ac_executable_extensions; do
  28793. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  28794. + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  28795. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  28796. + break 2
  28797. + fi
  28798. +done
  28799. + done
  28800. +IFS=$as_save_IFS
  28801. +
  28802. +fi
  28803. +fi
  28804. +DUMPBIN=$ac_cv_prog_DUMPBIN
  28805. +if test -n "$DUMPBIN"; then
  28806. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  28807. +$as_echo "$DUMPBIN" >&6; }
  28808. +else
  28809. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28810. +$as_echo "no" >&6; }
  28811. +fi
  28812. +
  28813. +
  28814. + test -n "$DUMPBIN" && break
  28815. + done
  28816. +fi
  28817. +if test -z "$DUMPBIN"; then
  28818. + ac_ct_DUMPBIN=$DUMPBIN
  28819. + for ac_prog in dumpbin "link -dump"
  28820. +do
  28821. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  28822. +set dummy $ac_prog; ac_word=$2
  28823. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  28824. +$as_echo_n "checking for $ac_word... " >&6; }
  28825. +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  28826. + $as_echo_n "(cached) " >&6
  28827. +else
  28828. + if test -n "$ac_ct_DUMPBIN"; then
  28829. + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  28830. +else
  28831. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  28832. +for as_dir in $PATH
  28833. +do
  28834. + IFS=$as_save_IFS
  28835. + test -z "$as_dir" && as_dir=.
  28836. + for ac_exec_ext in '' $ac_executable_extensions; do
  28837. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  28838. + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  28839. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  28840. + break 2
  28841. + fi
  28842. +done
  28843. + done
  28844. +IFS=$as_save_IFS
  28845. +
  28846. +fi
  28847. +fi
  28848. +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  28849. +if test -n "$ac_ct_DUMPBIN"; then
  28850. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  28851. +$as_echo "$ac_ct_DUMPBIN" >&6; }
  28852. +else
  28853. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28854. +$as_echo "no" >&6; }
  28855. +fi
  28856. +
  28857. +
  28858. + test -n "$ac_ct_DUMPBIN" && break
  28859. +done
  28860. +
  28861. + if test "x$ac_ct_DUMPBIN" = x; then
  28862. + DUMPBIN=":"
  28863. + else
  28864. + case $cross_compiling:$ac_tool_warned in
  28865. +yes:)
  28866. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  28867. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  28868. +ac_tool_warned=yes ;;
  28869. +esac
  28870. + DUMPBIN=$ac_ct_DUMPBIN
  28871. + fi
  28872. +fi
  28873. +
  28874. + case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
  28875. + *COFF*)
  28876. + DUMPBIN="$DUMPBIN -symbols -headers"
  28877. + ;;
  28878. + *)
  28879. + DUMPBIN=:
  28880. + ;;
  28881. + esac
  28882. + fi
  28883. +
  28884. + if test : != "$DUMPBIN"; then
  28885. + NM=$DUMPBIN
  28886. + fi
  28887. +fi
  28888. +test -z "$NM" && NM=nm
  28889. +
  28890. +
  28891. +
  28892. +
  28893. +
  28894. +
  28895. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  28896. +$as_echo_n "checking the name lister ($NM) interface... " >&6; }
  28897. +if ${lt_cv_nm_interface+:} false; then :
  28898. + $as_echo_n "(cached) " >&6
  28899. +else
  28900. + lt_cv_nm_interface="BSD nm"
  28901. + echo "int some_variable = 0;" > conftest.$ac_ext
  28902. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  28903. + (eval "$ac_compile" 2>conftest.err)
  28904. + cat conftest.err >&5
  28905. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  28906. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  28907. + cat conftest.err >&5
  28908. + (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  28909. + cat conftest.out >&5
  28910. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  28911. + lt_cv_nm_interface="MS dumpbin"
  28912. + fi
  28913. + rm -f conftest*
  28914. +fi
  28915. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  28916. +$as_echo "$lt_cv_nm_interface" >&6; }
  28917. +
  28918. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  28919. +$as_echo_n "checking whether ln -s works... " >&6; }
  28920. +LN_S=$as_ln_s
  28921. +if test "$LN_S" = "ln -s"; then
  28922. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28923. +$as_echo "yes" >&6; }
  28924. +else
  28925. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  28926. +$as_echo "no, using $LN_S" >&6; }
  28927. +fi
  28928. +
  28929. +# find the maximum length of command line arguments
  28930. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  28931. +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
  28932. +if ${lt_cv_sys_max_cmd_len+:} false; then :
  28933. + $as_echo_n "(cached) " >&6
  28934. +else
  28935. + i=0
  28936. + teststring=ABCD
  28937. +
  28938. + case $build_os in
  28939. + msdosdjgpp*)
  28940. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  28941. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  28942. + # during glob expansion). Even if it were fixed, the result of this
  28943. + # check would be larger than it should be.
  28944. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  28945. + ;;
  28946. +
  28947. + gnu*)
  28948. + # Under GNU Hurd, this test is not required because there is
  28949. + # no limit to the length of command line arguments.
  28950. + # Libtool will interpret -1 as no limit whatsoever
  28951. + lt_cv_sys_max_cmd_len=-1;
  28952. + ;;
  28953. +
  28954. + cygwin* | mingw* | cegcc*)
  28955. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  28956. + # about 5 minutes as the teststring grows exponentially.
  28957. + # Worse, since 9x/ME are not pre-emptively multitasking,
  28958. + # you end up with a "frozen" computer, even though with patience
  28959. + # the test eventually succeeds (with a max line length of 256k).
  28960. + # Instead, let's just punt: use the minimum linelength reported by
  28961. + # all of the supported platforms: 8192 (on NT/2K/XP).
  28962. + lt_cv_sys_max_cmd_len=8192;
  28963. + ;;
  28964. +
  28965. + mint*)
  28966. + # On MiNT this can take a long time and run out of memory.
  28967. + lt_cv_sys_max_cmd_len=8192;
  28968. + ;;
  28969. +
  28970. + amigaos*)
  28971. + # On AmigaOS with pdksh, this test takes hours, literally.
  28972. + # So we just punt and use a minimum line length of 8192.
  28973. + lt_cv_sys_max_cmd_len=8192;
  28974. + ;;
  28975. +
  28976. + bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
  28977. + # This has been around since 386BSD, at least. Likely further.
  28978. + if test -x /sbin/sysctl; then
  28979. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  28980. + elif test -x /usr/sbin/sysctl; then
  28981. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  28982. + else
  28983. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  28984. + fi
  28985. + # And add a safety zone
  28986. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  28987. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  28988. + ;;
  28989. +
  28990. + interix*)
  28991. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  28992. + lt_cv_sys_max_cmd_len=196608
  28993. + ;;
  28994. +
  28995. + os2*)
  28996. + # The test takes a long time on OS/2.
  28997. + lt_cv_sys_max_cmd_len=8192
  28998. + ;;
  28999. +
  29000. + osf*)
  29001. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  29002. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  29003. + # nice to cause kernel panics so lets avoid the loop below.
  29004. + # First set a reasonable default.
  29005. + lt_cv_sys_max_cmd_len=16384
  29006. + #
  29007. + if test -x /sbin/sysconfig; then
  29008. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  29009. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  29010. + esac
  29011. + fi
  29012. + ;;
  29013. + sco3.2v5*)
  29014. + lt_cv_sys_max_cmd_len=102400
  29015. + ;;
  29016. + sysv5* | sco5v6* | sysv4.2uw2*)
  29017. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  29018. + if test -n "$kargmax"; then
  29019. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  29020. + else
  29021. + lt_cv_sys_max_cmd_len=32768
  29022. + fi
  29023. + ;;
  29024. + *)
  29025. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  29026. + if test -n "$lt_cv_sys_max_cmd_len" && \
  29027. + test undefined != "$lt_cv_sys_max_cmd_len"; then
  29028. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  29029. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  29030. + else
  29031. + # Make teststring a little bigger before we do anything with it.
  29032. + # a 1K string should be a reasonable start.
  29033. + for i in 1 2 3 4 5 6 7 8; do
  29034. + teststring=$teststring$teststring
  29035. + done
  29036. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  29037. + # If test is not a shell built-in, we'll probably end up computing a
  29038. + # maximum length that is only half of the actual maximum length, but
  29039. + # we can't tell.
  29040. + while { test X`env echo "$teststring$teststring" 2>/dev/null` \
  29041. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  29042. + test 17 != "$i" # 1/2 MB should be enough
  29043. + do
  29044. + i=`expr $i + 1`
  29045. + teststring=$teststring$teststring
  29046. + done
  29047. + # Only check the string length outside the loop.
  29048. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  29049. + teststring=
  29050. + # Add a significant safety factor because C++ compilers can tack on
  29051. + # massive amounts of additional arguments before passing them to the
  29052. + # linker. It appears as though 1/2 is a usable value.
  29053. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  29054. + fi
  29055. + ;;
  29056. + esac
  29057. +
  29058. +fi
  29059. +
  29060. +if test -n "$lt_cv_sys_max_cmd_len"; then
  29061. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  29062. +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  29063. +else
  29064. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  29065. +$as_echo "none" >&6; }
  29066. +fi
  29067. +max_cmd_len=$lt_cv_sys_max_cmd_len
  29068. +
  29069. +
  29070. +
  29071. +
  29072. +
  29073. +
  29074. +: ${CP="cp -f"}
  29075. +: ${MV="mv -f"}
  29076. +: ${RM="rm -f"}
  29077. +
  29078. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  29079. + lt_unset=unset
  29080. +else
  29081. + lt_unset=false
  29082. +fi
  29083. +
  29084. +
  29085. +
  29086. +
  29087. +
  29088. +# test EBCDIC or ASCII
  29089. +case `echo X|tr X '\101'` in
  29090. + A) # ASCII based system
  29091. + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  29092. + lt_SP2NL='tr \040 \012'
  29093. + lt_NL2SP='tr \015\012 \040\040'
  29094. + ;;
  29095. + *) # EBCDIC based system
  29096. + lt_SP2NL='tr \100 \n'
  29097. + lt_NL2SP='tr \r\n \100\100'
  29098. + ;;
  29099. +esac
  29100. +
  29101. +
  29102. +
  29103. +
  29104. +
  29105. +
  29106. +
  29107. +
  29108. +
  29109. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  29110. +$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  29111. +if ${lt_cv_to_host_file_cmd+:} false; then :
  29112. + $as_echo_n "(cached) " >&6
  29113. +else
  29114. + case $host in
  29115. + *-*-mingw* )
  29116. + case $build in
  29117. + *-*-mingw* ) # actually msys
  29118. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  29119. + ;;
  29120. + *-*-cygwin* )
  29121. + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  29122. + ;;
  29123. + * ) # otherwise, assume *nix
  29124. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  29125. + ;;
  29126. + esac
  29127. + ;;
  29128. + *-*-cygwin* )
  29129. + case $build in
  29130. + *-*-mingw* ) # actually msys
  29131. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  29132. + ;;
  29133. + *-*-cygwin* )
  29134. + lt_cv_to_host_file_cmd=func_convert_file_noop
  29135. + ;;
  29136. + * ) # otherwise, assume *nix
  29137. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  29138. + ;;
  29139. + esac
  29140. + ;;
  29141. + * ) # unhandled hosts (and "normal" native builds)
  29142. + lt_cv_to_host_file_cmd=func_convert_file_noop
  29143. + ;;
  29144. +esac
  29145. +
  29146. +fi
  29147. +
  29148. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  29149. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  29150. +$as_echo "$lt_cv_to_host_file_cmd" >&6; }
  29151. +
  29152. +
  29153. +
  29154. +
  29155. +
  29156. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  29157. +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  29158. +if ${lt_cv_to_tool_file_cmd+:} false; then :
  29159. + $as_echo_n "(cached) " >&6
  29160. +else
  29161. + #assume ordinary cross tools, or native build.
  29162. +lt_cv_to_tool_file_cmd=func_convert_file_noop
  29163. +case $host in
  29164. + *-*-mingw* )
  29165. + case $build in
  29166. + *-*-mingw* ) # actually msys
  29167. + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  29168. + ;;
  29169. + esac
  29170. + ;;
  29171. +esac
  29172. +
  29173. +fi
  29174. +
  29175. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  29176. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  29177. +$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  29178. +
  29179. +
  29180. +
  29181. +
  29182. +
  29183. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  29184. +$as_echo_n "checking for $LD option to reload object files... " >&6; }
  29185. +if ${lt_cv_ld_reload_flag+:} false; then :
  29186. + $as_echo_n "(cached) " >&6
  29187. +else
  29188. + lt_cv_ld_reload_flag='-r'
  29189. +fi
  29190. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  29191. +$as_echo "$lt_cv_ld_reload_flag" >&6; }
  29192. +reload_flag=$lt_cv_ld_reload_flag
  29193. +case $reload_flag in
  29194. +"" | " "*) ;;
  29195. +*) reload_flag=" $reload_flag" ;;
  29196. +esac
  29197. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  29198. +case $host_os in
  29199. + cygwin* | mingw* | pw32* | cegcc*)
  29200. + if test yes != "$GCC"; then
  29201. + reload_cmds=false
  29202. + fi
  29203. + ;;
  29204. + darwin*)
  29205. + if test yes = "$GCC"; then
  29206. + reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
  29207. + else
  29208. + reload_cmds='$LD$reload_flag -o $output$reload_objs'
  29209. + fi
  29210. + ;;
  29211. +esac
  29212. +
  29213. +
  29214. +
  29215. +
  29216. +
  29217. +
  29218. +
  29219. +
  29220. +
  29221. +if test -n "$ac_tool_prefix"; then
  29222. + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  29223. +set dummy ${ac_tool_prefix}objdump; ac_word=$2
  29224. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29225. +$as_echo_n "checking for $ac_word... " >&6; }
  29226. +if ${ac_cv_prog_OBJDUMP+:} false; then :
  29227. + $as_echo_n "(cached) " >&6
  29228. +else
  29229. + if test -n "$OBJDUMP"; then
  29230. + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  29231. +else
  29232. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29233. +for as_dir in $PATH
  29234. +do
  29235. + IFS=$as_save_IFS
  29236. + test -z "$as_dir" && as_dir=.
  29237. + for ac_exec_ext in '' $ac_executable_extensions; do
  29238. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29239. + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  29240. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29241. + break 2
  29242. + fi
  29243. +done
  29244. + done
  29245. +IFS=$as_save_IFS
  29246. +
  29247. +fi
  29248. +fi
  29249. +OBJDUMP=$ac_cv_prog_OBJDUMP
  29250. +if test -n "$OBJDUMP"; then
  29251. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  29252. +$as_echo "$OBJDUMP" >&6; }
  29253. +else
  29254. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29255. +$as_echo "no" >&6; }
  29256. +fi
  29257. +
  29258. +
  29259. +fi
  29260. +if test -z "$ac_cv_prog_OBJDUMP"; then
  29261. + ac_ct_OBJDUMP=$OBJDUMP
  29262. + # Extract the first word of "objdump", so it can be a program name with args.
  29263. +set dummy objdump; ac_word=$2
  29264. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29265. +$as_echo_n "checking for $ac_word... " >&6; }
  29266. +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  29267. + $as_echo_n "(cached) " >&6
  29268. +else
  29269. + if test -n "$ac_ct_OBJDUMP"; then
  29270. + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  29271. +else
  29272. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29273. +for as_dir in $PATH
  29274. +do
  29275. + IFS=$as_save_IFS
  29276. + test -z "$as_dir" && as_dir=.
  29277. + for ac_exec_ext in '' $ac_executable_extensions; do
  29278. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29279. + ac_cv_prog_ac_ct_OBJDUMP="objdump"
  29280. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29281. + break 2
  29282. + fi
  29283. +done
  29284. + done
  29285. +IFS=$as_save_IFS
  29286. +
  29287. +fi
  29288. +fi
  29289. +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  29290. +if test -n "$ac_ct_OBJDUMP"; then
  29291. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  29292. +$as_echo "$ac_ct_OBJDUMP" >&6; }
  29293. +else
  29294. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29295. +$as_echo "no" >&6; }
  29296. +fi
  29297. +
  29298. + if test "x$ac_ct_OBJDUMP" = x; then
  29299. + OBJDUMP="false"
  29300. + else
  29301. + case $cross_compiling:$ac_tool_warned in
  29302. +yes:)
  29303. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  29304. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  29305. +ac_tool_warned=yes ;;
  29306. +esac
  29307. + OBJDUMP=$ac_ct_OBJDUMP
  29308. + fi
  29309. +else
  29310. + OBJDUMP="$ac_cv_prog_OBJDUMP"
  29311. +fi
  29312. +
  29313. +test -z "$OBJDUMP" && OBJDUMP=objdump
  29314. +
  29315. +
  29316. +
  29317. +
  29318. +
  29319. +
  29320. +
  29321. +
  29322. +
  29323. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  29324. +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
  29325. +if ${lt_cv_deplibs_check_method+:} false; then :
  29326. + $as_echo_n "(cached) " >&6
  29327. +else
  29328. + lt_cv_file_magic_cmd='$MAGIC_CMD'
  29329. +lt_cv_file_magic_test_file=
  29330. +lt_cv_deplibs_check_method='unknown'
  29331. +# Need to set the preceding variable on all platforms that support
  29332. +# interlibrary dependencies.
  29333. +# 'none' -- dependencies not supported.
  29334. +# 'unknown' -- same as none, but documents that we really don't know.
  29335. +# 'pass_all' -- all dependencies passed with no checks.
  29336. +# 'test_compile' -- check by making test program.
  29337. +# 'file_magic [[regex]]' -- check by looking for files in library path
  29338. +# that responds to the $file_magic_cmd with a given extended regex.
  29339. +# If you have 'file' or equivalent on your system and you're not sure
  29340. +# whether 'pass_all' will *always* work, you probably want this one.
  29341. +
  29342. +case $host_os in
  29343. +aix[4-9]*)
  29344. + lt_cv_deplibs_check_method=pass_all
  29345. + ;;
  29346. +
  29347. +beos*)
  29348. + lt_cv_deplibs_check_method=pass_all
  29349. + ;;
  29350. +
  29351. +bsdi[45]*)
  29352. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  29353. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  29354. + lt_cv_file_magic_test_file=/shlib/libc.so
  29355. + ;;
  29356. +
  29357. +cygwin*)
  29358. + # func_win32_libid is a shell function defined in ltmain.sh
  29359. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  29360. + lt_cv_file_magic_cmd='func_win32_libid'
  29361. + ;;
  29362. +
  29363. +mingw* | pw32*)
  29364. + # Base MSYS/MinGW do not provide the 'file' command needed by
  29365. + # func_win32_libid shell function, so use a weaker test based on 'objdump',
  29366. + # unless we find 'file', for example because we are cross-compiling.
  29367. + if ( file / ) >/dev/null 2>&1; then
  29368. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  29369. + lt_cv_file_magic_cmd='func_win32_libid'
  29370. + else
  29371. + # Keep this pattern in sync with the one in func_win32_libid.
  29372. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  29373. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  29374. + fi
  29375. + ;;
  29376. +
  29377. +cegcc*)
  29378. + # use the weaker test based on 'objdump'. See mingw*.
  29379. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  29380. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  29381. + ;;
  29382. +
  29383. +darwin* | rhapsody*)
  29384. + lt_cv_deplibs_check_method=pass_all
  29385. + ;;
  29386. +
  29387. +freebsd* | dragonfly*)
  29388. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  29389. + case $host_cpu in
  29390. + i*86 )
  29391. + # Not sure whether the presence of OpenBSD here was a mistake.
  29392. + # Let's accept both of them until this is cleared up.
  29393. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  29394. + lt_cv_file_magic_cmd=/usr/bin/file
  29395. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  29396. + ;;
  29397. + esac
  29398. + else
  29399. + lt_cv_deplibs_check_method=pass_all
  29400. + fi
  29401. + ;;
  29402. +
  29403. +haiku*)
  29404. + lt_cv_deplibs_check_method=pass_all
  29405. + ;;
  29406. +
  29407. +hpux10.20* | hpux11*)
  29408. + lt_cv_file_magic_cmd=/usr/bin/file
  29409. + case $host_cpu in
  29410. + ia64*)
  29411. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  29412. + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  29413. + ;;
  29414. + hppa*64*)
  29415. + 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]'
  29416. + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  29417. + ;;
  29418. + *)
  29419. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  29420. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  29421. + ;;
  29422. + esac
  29423. + ;;
  29424. +
  29425. +interix[3-9]*)
  29426. + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  29427. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  29428. + ;;
  29429. +
  29430. +irix5* | irix6* | nonstopux*)
  29431. + case $LD in
  29432. + *-32|*"-32 ") libmagic=32-bit;;
  29433. + *-n32|*"-n32 ") libmagic=N32;;
  29434. + *-64|*"-64 ") libmagic=64-bit;;
  29435. + *) libmagic=never-match;;
  29436. + esac
  29437. + lt_cv_deplibs_check_method=pass_all
  29438. + ;;
  29439. +
  29440. +# This must be glibc/ELF.
  29441. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  29442. + lt_cv_deplibs_check_method=pass_all
  29443. + ;;
  29444. +
  29445. +netbsd*)
  29446. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  29447. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  29448. + else
  29449. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  29450. + fi
  29451. + ;;
  29452. +
  29453. +newos6*)
  29454. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  29455. + lt_cv_file_magic_cmd=/usr/bin/file
  29456. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  29457. + ;;
  29458. +
  29459. +*nto* | *qnx*)
  29460. + lt_cv_deplibs_check_method=pass_all
  29461. + ;;
  29462. +
  29463. +openbsd* | bitrig*)
  29464. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  29465. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  29466. + else
  29467. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  29468. + fi
  29469. + ;;
  29470. +
  29471. +osf3* | osf4* | osf5*)
  29472. + lt_cv_deplibs_check_method=pass_all
  29473. + ;;
  29474. +
  29475. +rdos*)
  29476. + lt_cv_deplibs_check_method=pass_all
  29477. + ;;
  29478. +
  29479. +solaris*)
  29480. + lt_cv_deplibs_check_method=pass_all
  29481. + ;;
  29482. +
  29483. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  29484. + lt_cv_deplibs_check_method=pass_all
  29485. + ;;
  29486. +
  29487. +sysv4 | sysv4.3*)
  29488. + case $host_vendor in
  29489. + motorola)
  29490. + 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]'
  29491. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  29492. + ;;
  29493. + ncr)
  29494. + lt_cv_deplibs_check_method=pass_all
  29495. + ;;
  29496. + sequent)
  29497. + lt_cv_file_magic_cmd='/bin/file'
  29498. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  29499. + ;;
  29500. + sni)
  29501. + lt_cv_file_magic_cmd='/bin/file'
  29502. + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  29503. + lt_cv_file_magic_test_file=/lib/libc.so
  29504. + ;;
  29505. + siemens)
  29506. + lt_cv_deplibs_check_method=pass_all
  29507. + ;;
  29508. + pc)
  29509. + lt_cv_deplibs_check_method=pass_all
  29510. + ;;
  29511. + esac
  29512. + ;;
  29513. +
  29514. +tpf*)
  29515. + lt_cv_deplibs_check_method=pass_all
  29516. + ;;
  29517. +os2*)
  29518. + lt_cv_deplibs_check_method=pass_all
  29519. + ;;
  29520. +esac
  29521. +
  29522. +fi
  29523. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  29524. +$as_echo "$lt_cv_deplibs_check_method" >&6; }
  29525. +
  29526. +file_magic_glob=
  29527. +want_nocaseglob=no
  29528. +if test "$build" = "$host"; then
  29529. + case $host_os in
  29530. + mingw* | pw32*)
  29531. + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  29532. + want_nocaseglob=yes
  29533. + else
  29534. + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  29535. + fi
  29536. + ;;
  29537. + esac
  29538. +fi
  29539. +
  29540. +file_magic_cmd=$lt_cv_file_magic_cmd
  29541. +deplibs_check_method=$lt_cv_deplibs_check_method
  29542. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  29543. +
  29544. +
  29545. +
  29546. +
  29547. +
  29548. +
  29549. +
  29550. +
  29551. +
  29552. +
  29553. +
  29554. +
  29555. +
  29556. +
  29557. +
  29558. +
  29559. +
  29560. +
  29561. +
  29562. +
  29563. +
  29564. +
  29565. +if test -n "$ac_tool_prefix"; then
  29566. + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  29567. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  29568. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29569. +$as_echo_n "checking for $ac_word... " >&6; }
  29570. +if ${ac_cv_prog_DLLTOOL+:} false; then :
  29571. + $as_echo_n "(cached) " >&6
  29572. +else
  29573. + if test -n "$DLLTOOL"; then
  29574. + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  29575. +else
  29576. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29577. +for as_dir in $PATH
  29578. +do
  29579. + IFS=$as_save_IFS
  29580. + test -z "$as_dir" && as_dir=.
  29581. + for ac_exec_ext in '' $ac_executable_extensions; do
  29582. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29583. + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  29584. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29585. + break 2
  29586. + fi
  29587. +done
  29588. + done
  29589. +IFS=$as_save_IFS
  29590. +
  29591. +fi
  29592. +fi
  29593. +DLLTOOL=$ac_cv_prog_DLLTOOL
  29594. +if test -n "$DLLTOOL"; then
  29595. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  29596. +$as_echo "$DLLTOOL" >&6; }
  29597. +else
  29598. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29599. +$as_echo "no" >&6; }
  29600. +fi
  29601. +
  29602. +
  29603. +fi
  29604. +if test -z "$ac_cv_prog_DLLTOOL"; then
  29605. + ac_ct_DLLTOOL=$DLLTOOL
  29606. + # Extract the first word of "dlltool", so it can be a program name with args.
  29607. +set dummy dlltool; ac_word=$2
  29608. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29609. +$as_echo_n "checking for $ac_word... " >&6; }
  29610. +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  29611. + $as_echo_n "(cached) " >&6
  29612. +else
  29613. + if test -n "$ac_ct_DLLTOOL"; then
  29614. + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  29615. +else
  29616. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29617. +for as_dir in $PATH
  29618. +do
  29619. + IFS=$as_save_IFS
  29620. + test -z "$as_dir" && as_dir=.
  29621. + for ac_exec_ext in '' $ac_executable_extensions; do
  29622. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29623. + ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  29624. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29625. + break 2
  29626. + fi
  29627. +done
  29628. + done
  29629. +IFS=$as_save_IFS
  29630. +
  29631. +fi
  29632. +fi
  29633. +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  29634. +if test -n "$ac_ct_DLLTOOL"; then
  29635. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  29636. +$as_echo "$ac_ct_DLLTOOL" >&6; }
  29637. +else
  29638. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29639. +$as_echo "no" >&6; }
  29640. +fi
  29641. +
  29642. + if test "x$ac_ct_DLLTOOL" = x; then
  29643. + DLLTOOL="false"
  29644. + else
  29645. + case $cross_compiling:$ac_tool_warned in
  29646. +yes:)
  29647. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  29648. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  29649. +ac_tool_warned=yes ;;
  29650. +esac
  29651. + DLLTOOL=$ac_ct_DLLTOOL
  29652. + fi
  29653. +else
  29654. + DLLTOOL="$ac_cv_prog_DLLTOOL"
  29655. +fi
  29656. +
  29657. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  29658. +
  29659. +
  29660. +
  29661. +
  29662. +
  29663. +
  29664. +
  29665. +
  29666. +
  29667. +
  29668. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  29669. +$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  29670. +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  29671. + $as_echo_n "(cached) " >&6
  29672. +else
  29673. + lt_cv_sharedlib_from_linklib_cmd='unknown'
  29674. +
  29675. +case $host_os in
  29676. +cygwin* | mingw* | pw32* | cegcc*)
  29677. + # two different shell functions defined in ltmain.sh;
  29678. + # decide which one to use based on capabilities of $DLLTOOL
  29679. + case `$DLLTOOL --help 2>&1` in
  29680. + *--identify-strict*)
  29681. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  29682. + ;;
  29683. + *)
  29684. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  29685. + ;;
  29686. + esac
  29687. + ;;
  29688. +*)
  29689. + # fallback: assume linklib IS sharedlib
  29690. + lt_cv_sharedlib_from_linklib_cmd=$ECHO
  29691. + ;;
  29692. +esac
  29693. +
  29694. +fi
  29695. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  29696. +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  29697. +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  29698. +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  29699. +
  29700. +
  29701. +
  29702. +
  29703. +
  29704. +
  29705. +
  29706. +
  29707. +if test -n "$ac_tool_prefix"; then
  29708. + for ac_prog in ar
  29709. + do
  29710. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  29711. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  29712. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29713. +$as_echo_n "checking for $ac_word... " >&6; }
  29714. +if ${ac_cv_prog_AR+:} false; then :
  29715. + $as_echo_n "(cached) " >&6
  29716. +else
  29717. + if test -n "$AR"; then
  29718. + ac_cv_prog_AR="$AR" # Let the user override the test.
  29719. +else
  29720. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29721. +for as_dir in $PATH
  29722. +do
  29723. + IFS=$as_save_IFS
  29724. + test -z "$as_dir" && as_dir=.
  29725. + for ac_exec_ext in '' $ac_executable_extensions; do
  29726. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29727. + ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  29728. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29729. + break 2
  29730. + fi
  29731. +done
  29732. + done
  29733. +IFS=$as_save_IFS
  29734. +
  29735. +fi
  29736. +fi
  29737. +AR=$ac_cv_prog_AR
  29738. +if test -n "$AR"; then
  29739. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  29740. +$as_echo "$AR" >&6; }
  29741. +else
  29742. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29743. +$as_echo "no" >&6; }
  29744. +fi
  29745. +
  29746. +
  29747. + test -n "$AR" && break
  29748. + done
  29749. +fi
  29750. +if test -z "$AR"; then
  29751. + ac_ct_AR=$AR
  29752. + for ac_prog in ar
  29753. +do
  29754. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  29755. +set dummy $ac_prog; ac_word=$2
  29756. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29757. +$as_echo_n "checking for $ac_word... " >&6; }
  29758. +if ${ac_cv_prog_ac_ct_AR+:} false; then :
  29759. + $as_echo_n "(cached) " >&6
  29760. +else
  29761. + if test -n "$ac_ct_AR"; then
  29762. + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  29763. +else
  29764. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29765. +for as_dir in $PATH
  29766. +do
  29767. + IFS=$as_save_IFS
  29768. + test -z "$as_dir" && as_dir=.
  29769. + for ac_exec_ext in '' $ac_executable_extensions; do
  29770. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29771. + ac_cv_prog_ac_ct_AR="$ac_prog"
  29772. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29773. + break 2
  29774. + fi
  29775. +done
  29776. + done
  29777. +IFS=$as_save_IFS
  29778. +
  29779. +fi
  29780. +fi
  29781. +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  29782. +if test -n "$ac_ct_AR"; then
  29783. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  29784. +$as_echo "$ac_ct_AR" >&6; }
  29785. +else
  29786. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29787. +$as_echo "no" >&6; }
  29788. +fi
  29789. +
  29790. +
  29791. + test -n "$ac_ct_AR" && break
  29792. +done
  29793. +
  29794. + if test "x$ac_ct_AR" = x; then
  29795. + AR="false"
  29796. + else
  29797. + case $cross_compiling:$ac_tool_warned in
  29798. +yes:)
  29799. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  29800. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  29801. +ac_tool_warned=yes ;;
  29802. +esac
  29803. + AR=$ac_ct_AR
  29804. + fi
  29805. +fi
  29806. +
  29807. +: ${AR=ar}
  29808. +: ${AR_FLAGS=cru}
  29809. +
  29810. +
  29811. +
  29812. +
  29813. +
  29814. +
  29815. +
  29816. +
  29817. +
  29818. +
  29819. +
  29820. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  29821. +$as_echo_n "checking for archiver @FILE support... " >&6; }
  29822. +if ${lt_cv_ar_at_file+:} false; then :
  29823. + $as_echo_n "(cached) " >&6
  29824. +else
  29825. + lt_cv_ar_at_file=no
  29826. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29827. +/* end confdefs.h. */
  29828. +
  29829. +int
  29830. +main ()
  29831. +{
  29832. +
  29833. + ;
  29834. + return 0;
  29835. +}
  29836. +_ACEOF
  29837. +if ac_fn_c_try_compile "$LINENO"; then :
  29838. + echo conftest.$ac_objext > conftest.lst
  29839. + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  29840. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  29841. + (eval $lt_ar_try) 2>&5
  29842. + ac_status=$?
  29843. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  29844. + test $ac_status = 0; }
  29845. + if test 0 -eq "$ac_status"; then
  29846. + # Ensure the archiver fails upon bogus file names.
  29847. + rm -f conftest.$ac_objext libconftest.a
  29848. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  29849. + (eval $lt_ar_try) 2>&5
  29850. + ac_status=$?
  29851. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  29852. + test $ac_status = 0; }
  29853. + if test 0 -ne "$ac_status"; then
  29854. + lt_cv_ar_at_file=@
  29855. + fi
  29856. + fi
  29857. + rm -f conftest.* libconftest.a
  29858. +
  29859. +fi
  29860. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  29861. +
  29862. +fi
  29863. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  29864. +$as_echo "$lt_cv_ar_at_file" >&6; }
  29865. +
  29866. +if test no = "$lt_cv_ar_at_file"; then
  29867. + archiver_list_spec=
  29868. +else
  29869. + archiver_list_spec=$lt_cv_ar_at_file
  29870. +fi
  29871. +
  29872. +
  29873. +
  29874. +
  29875. +
  29876. +
  29877. +
  29878. +if test -n "$ac_tool_prefix"; then
  29879. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  29880. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  29881. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29882. +$as_echo_n "checking for $ac_word... " >&6; }
  29883. +if ${ac_cv_prog_STRIP+:} false; then :
  29884. + $as_echo_n "(cached) " >&6
  29885. +else
  29886. + if test -n "$STRIP"; then
  29887. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  29888. +else
  29889. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29890. +for as_dir in $PATH
  29891. +do
  29892. + IFS=$as_save_IFS
  29893. + test -z "$as_dir" && as_dir=.
  29894. + for ac_exec_ext in '' $ac_executable_extensions; do
  29895. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29896. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  29897. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29898. + break 2
  29899. + fi
  29900. +done
  29901. + done
  29902. +IFS=$as_save_IFS
  29903. +
  29904. +fi
  29905. +fi
  29906. +STRIP=$ac_cv_prog_STRIP
  29907. +if test -n "$STRIP"; then
  29908. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  29909. +$as_echo "$STRIP" >&6; }
  29910. +else
  29911. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29912. +$as_echo "no" >&6; }
  29913. +fi
  29914. +
  29915. +
  29916. +fi
  29917. +if test -z "$ac_cv_prog_STRIP"; then
  29918. + ac_ct_STRIP=$STRIP
  29919. + # Extract the first word of "strip", so it can be a program name with args.
  29920. +set dummy strip; ac_word=$2
  29921. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29922. +$as_echo_n "checking for $ac_word... " >&6; }
  29923. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  29924. + $as_echo_n "(cached) " >&6
  29925. +else
  29926. + if test -n "$ac_ct_STRIP"; then
  29927. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  29928. +else
  29929. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29930. +for as_dir in $PATH
  29931. +do
  29932. + IFS=$as_save_IFS
  29933. + test -z "$as_dir" && as_dir=.
  29934. + for ac_exec_ext in '' $ac_executable_extensions; do
  29935. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29936. + ac_cv_prog_ac_ct_STRIP="strip"
  29937. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29938. + break 2
  29939. + fi
  29940. +done
  29941. + done
  29942. +IFS=$as_save_IFS
  29943. +
  29944. +fi
  29945. +fi
  29946. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  29947. +if test -n "$ac_ct_STRIP"; then
  29948. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  29949. +$as_echo "$ac_ct_STRIP" >&6; }
  29950. +else
  29951. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29952. +$as_echo "no" >&6; }
  29953. +fi
  29954. +
  29955. + if test "x$ac_ct_STRIP" = x; then
  29956. + STRIP=":"
  29957. + else
  29958. + case $cross_compiling:$ac_tool_warned in
  29959. +yes:)
  29960. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  29961. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  29962. +ac_tool_warned=yes ;;
  29963. +esac
  29964. + STRIP=$ac_ct_STRIP
  29965. + fi
  29966. +else
  29967. + STRIP="$ac_cv_prog_STRIP"
  29968. +fi
  29969. +
  29970. +test -z "$STRIP" && STRIP=:
  29971. +
  29972. +
  29973. +
  29974. +
  29975. +
  29976. +
  29977. +if test -n "$ac_tool_prefix"; then
  29978. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  29979. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  29980. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29981. +$as_echo_n "checking for $ac_word... " >&6; }
  29982. +if ${ac_cv_prog_RANLIB+:} false; then :
  29983. + $as_echo_n "(cached) " >&6
  29984. +else
  29985. + if test -n "$RANLIB"; then
  29986. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  29987. +else
  29988. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29989. +for as_dir in $PATH
  29990. +do
  29991. + IFS=$as_save_IFS
  29992. + test -z "$as_dir" && as_dir=.
  29993. + for ac_exec_ext in '' $ac_executable_extensions; do
  29994. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29995. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  29996. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29997. + break 2
  29998. + fi
  29999. +done
  30000. + done
  30001. +IFS=$as_save_IFS
  30002. +
  30003. +fi
  30004. +fi
  30005. +RANLIB=$ac_cv_prog_RANLIB
  30006. +if test -n "$RANLIB"; then
  30007. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  30008. +$as_echo "$RANLIB" >&6; }
  30009. +else
  30010. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30011. +$as_echo "no" >&6; }
  30012. +fi
  30013. +
  30014. +
  30015. +fi
  30016. +if test -z "$ac_cv_prog_RANLIB"; then
  30017. + ac_ct_RANLIB=$RANLIB
  30018. + # Extract the first word of "ranlib", so it can be a program name with args.
  30019. +set dummy ranlib; ac_word=$2
  30020. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  30021. +$as_echo_n "checking for $ac_word... " >&6; }
  30022. +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  30023. + $as_echo_n "(cached) " >&6
  30024. +else
  30025. + if test -n "$ac_ct_RANLIB"; then
  30026. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  30027. +else
  30028. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  30029. +for as_dir in $PATH
  30030. +do
  30031. + IFS=$as_save_IFS
  30032. + test -z "$as_dir" && as_dir=.
  30033. + for ac_exec_ext in '' $ac_executable_extensions; do
  30034. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  30035. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  30036. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  30037. + break 2
  30038. + fi
  30039. +done
  30040. + done
  30041. +IFS=$as_save_IFS
  30042. +
  30043. +fi
  30044. +fi
  30045. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  30046. +if test -n "$ac_ct_RANLIB"; then
  30047. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  30048. +$as_echo "$ac_ct_RANLIB" >&6; }
  30049. +else
  30050. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30051. +$as_echo "no" >&6; }
  30052. +fi
  30053. +
  30054. + if test "x$ac_ct_RANLIB" = x; then
  30055. + RANLIB=":"
  30056. + else
  30057. + case $cross_compiling:$ac_tool_warned in
  30058. +yes:)
  30059. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  30060. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  30061. +ac_tool_warned=yes ;;
  30062. +esac
  30063. + RANLIB=$ac_ct_RANLIB
  30064. + fi
  30065. +else
  30066. + RANLIB="$ac_cv_prog_RANLIB"
  30067. +fi
  30068. +
  30069. +test -z "$RANLIB" && RANLIB=:
  30070. +
  30071. +
  30072. +
  30073. +
  30074. +
  30075. +
  30076. +# Determine commands to create old-style static archives.
  30077. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  30078. +old_postinstall_cmds='chmod 644 $oldlib'
  30079. +old_postuninstall_cmds=
  30080. +
  30081. +if test -n "$RANLIB"; then
  30082. + case $host_os in
  30083. + bitrig* | openbsd*)
  30084. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  30085. + ;;
  30086. + *)
  30087. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  30088. + ;;
  30089. + esac
  30090. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  30091. +fi
  30092. +
  30093. +case $host_os in
  30094. + darwin*)
  30095. + lock_old_archive_extraction=yes ;;
  30096. + *)
  30097. + lock_old_archive_extraction=no ;;
  30098. +esac
  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. +
  30136. +
  30137. +
  30138. +# If no C compiler was specified, use CC.
  30139. +LTCC=${LTCC-"$CC"}
  30140. +
  30141. +# If no C compiler flags were specified, use CFLAGS.
  30142. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  30143. +
  30144. +# Allow CC to be a program name with arguments.
  30145. +compiler=$CC
  30146. +
  30147. +
  30148. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  30149. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  30150. +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  30151. +if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  30152. + $as_echo_n "(cached) " >&6
  30153. +else
  30154. +
  30155. +# These are sane defaults that work on at least a few old systems.
  30156. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  30157. +
  30158. +# Character class describing NM global symbol codes.
  30159. +symcode='[BCDEGRST]'
  30160. +
  30161. +# Regexp to match symbols that can be accessed directly from C.
  30162. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  30163. +
  30164. +# Define system-specific variables.
  30165. +case $host_os in
  30166. +aix*)
  30167. + symcode='[BCDT]'
  30168. + ;;
  30169. +cygwin* | mingw* | pw32* | cegcc*)
  30170. + symcode='[ABCDGISTW]'
  30171. + ;;
  30172. +hpux*)
  30173. + if test ia64 = "$host_cpu"; then
  30174. + symcode='[ABCDEGRST]'
  30175. + fi
  30176. + ;;
  30177. +irix* | nonstopux*)
  30178. + symcode='[BCDEGRST]'
  30179. + ;;
  30180. +osf*)
  30181. + symcode='[BCDEGQRST]'
  30182. + ;;
  30183. +solaris*)
  30184. + symcode='[BDRT]'
  30185. + ;;
  30186. +sco3.2v5*)
  30187. + symcode='[DT]'
  30188. + ;;
  30189. +sysv4.2uw2*)
  30190. + symcode='[DT]'
  30191. + ;;
  30192. +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  30193. + symcode='[ABDT]'
  30194. + ;;
  30195. +sysv4)
  30196. + symcode='[DFNSTU]'
  30197. + ;;
  30198. +esac
  30199. +
  30200. +# If we're using GNU nm, then use its standard symbol codes.
  30201. +case `$NM -V 2>&1` in
  30202. +*GNU* | *'with BFD'*)
  30203. + symcode='[ABCDGIRSTW]' ;;
  30204. +esac
  30205. +
  30206. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  30207. + # Gets list of data symbols to import.
  30208. + lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
  30209. + # Adjust the below global symbol transforms to fixup imported variables.
  30210. + lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
  30211. + lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
  30212. + lt_c_name_lib_hook="\
  30213. + -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
  30214. + -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
  30215. +else
  30216. + # Disable hooks by default.
  30217. + lt_cv_sys_global_symbol_to_import=
  30218. + lt_cdecl_hook=
  30219. + lt_c_name_hook=
  30220. + lt_c_name_lib_hook=
  30221. +fi
  30222. +
  30223. +# Transform an extracted symbol line into a proper C declaration.
  30224. +# Some systems (esp. on ia64) link data and code symbols differently,
  30225. +# so use this general approach.
  30226. +lt_cv_sys_global_symbol_to_cdecl="sed -n"\
  30227. +$lt_cdecl_hook\
  30228. +" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
  30229. +" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
  30230. +
  30231. +# Transform an extracted symbol line into symbol name and symbol address
  30232. +lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
  30233. +$lt_c_name_hook\
  30234. +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  30235. +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
  30236. +
  30237. +# Transform an extracted symbol line into symbol name with lib prefix and
  30238. +# symbol address.
  30239. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
  30240. +$lt_c_name_lib_hook\
  30241. +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  30242. +" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
  30243. +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
  30244. +
  30245. +# Handle CRLF in mingw tool chain
  30246. +opt_cr=
  30247. +case $build_os in
  30248. +mingw*)
  30249. + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  30250. + ;;
  30251. +esac
  30252. +
  30253. +# Try without a prefix underscore, then with it.
  30254. +for ac_symprfx in "" "_"; do
  30255. +
  30256. + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  30257. + symxfrm="\\1 $ac_symprfx\\2 \\2"
  30258. +
  30259. + # Write the raw and C identifiers.
  30260. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  30261. + # Fake it for dumpbin and say T for any non-static function,
  30262. + # D for any global variable and I for any imported variable.
  30263. + # Also find C++ and __fastcall symbols from MSVC++,
  30264. + # which start with @ or ?.
  30265. + lt_cv_sys_global_symbol_pipe="$AWK '"\
  30266. +" {last_section=section; section=\$ 3};"\
  30267. +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  30268. +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  30269. +" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
  30270. +" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
  30271. +" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
  30272. +" \$ 0!~/External *\|/{next};"\
  30273. +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  30274. +" {if(hide[section]) next};"\
  30275. +" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
  30276. +" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
  30277. +" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
  30278. +" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
  30279. +" ' prfx=^$ac_symprfx"
  30280. + else
  30281. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  30282. + fi
  30283. + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  30284. +
  30285. + # Check to see that the pipe works correctly.
  30286. + pipe_works=no
  30287. +
  30288. + rm -f conftest*
  30289. + cat > conftest.$ac_ext <<_LT_EOF
  30290. +#ifdef __cplusplus
  30291. +extern "C" {
  30292. +#endif
  30293. +char nm_test_var;
  30294. +void nm_test_func(void);
  30295. +void nm_test_func(void){}
  30296. +#ifdef __cplusplus
  30297. +}
  30298. +#endif
  30299. +int main(){nm_test_var='a';nm_test_func();return(0);}
  30300. +_LT_EOF
  30301. +
  30302. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  30303. + (eval $ac_compile) 2>&5
  30304. + ac_status=$?
  30305. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30306. + test $ac_status = 0; }; then
  30307. + # Now try to grab the symbols.
  30308. + nlist=conftest.nm
  30309. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  30310. + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  30311. + ac_status=$?
  30312. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30313. + test $ac_status = 0; } && test -s "$nlist"; then
  30314. + # Try sorting and uniquifying the output.
  30315. + if sort "$nlist" | uniq > "$nlist"T; then
  30316. + mv -f "$nlist"T "$nlist"
  30317. + else
  30318. + rm -f "$nlist"T
  30319. + fi
  30320. +
  30321. + # Make sure that we snagged all the symbols we need.
  30322. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  30323. + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  30324. + cat <<_LT_EOF > conftest.$ac_ext
  30325. +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  30326. +#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
  30327. +/* DATA imports from DLLs on WIN32 can't be const, because runtime
  30328. + relocations are performed -- see ld's documentation on pseudo-relocs. */
  30329. +# define LT@&t@_DLSYM_CONST
  30330. +#elif defined __osf__
  30331. +/* This system does not cope well with relocations in const data. */
  30332. +# define LT@&t@_DLSYM_CONST
  30333. +#else
  30334. +# define LT@&t@_DLSYM_CONST const
  30335. +#endif
  30336. +
  30337. +#ifdef __cplusplus
  30338. +extern "C" {
  30339. +#endif
  30340. +
  30341. +_LT_EOF
  30342. + # Now generate the symbol file.
  30343. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  30344. +
  30345. + cat <<_LT_EOF >> conftest.$ac_ext
  30346. +
  30347. +/* The mapping between symbol names and symbols. */
  30348. +LT@&t@_DLSYM_CONST struct {
  30349. + const char *name;
  30350. + void *address;
  30351. +}
  30352. +lt__PROGRAM__LTX_preloaded_symbols[] =
  30353. +{
  30354. + { "@PROGRAM@", (void *) 0 },
  30355. +_LT_EOF
  30356. + $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  30357. + cat <<\_LT_EOF >> conftest.$ac_ext
  30358. + {0, (void *) 0}
  30359. +};
  30360. +
  30361. +/* This works around a problem in FreeBSD linker */
  30362. +#ifdef FREEBSD_WORKAROUND
  30363. +static const void *lt_preloaded_setup() {
  30364. + return lt__PROGRAM__LTX_preloaded_symbols;
  30365. +}
  30366. +#endif
  30367. +
  30368. +#ifdef __cplusplus
  30369. +}
  30370. +#endif
  30371. +_LT_EOF
  30372. + # Now try linking the two files.
  30373. + mv conftest.$ac_objext conftstm.$ac_objext
  30374. + lt_globsym_save_LIBS=$LIBS
  30375. + lt_globsym_save_CFLAGS=$CFLAGS
  30376. + LIBS=conftstm.$ac_objext
  30377. + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  30378. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  30379. + (eval $ac_link) 2>&5
  30380. + ac_status=$?
  30381. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30382. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  30383. + pipe_works=yes
  30384. + fi
  30385. + LIBS=$lt_globsym_save_LIBS
  30386. + CFLAGS=$lt_globsym_save_CFLAGS
  30387. + else
  30388. + echo "cannot find nm_test_func in $nlist" >&5
  30389. + fi
  30390. + else
  30391. + echo "cannot find nm_test_var in $nlist" >&5
  30392. + fi
  30393. + else
  30394. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  30395. + fi
  30396. + else
  30397. + echo "$progname: failed program was:" >&5
  30398. + cat conftest.$ac_ext >&5
  30399. + fi
  30400. + rm -rf conftest* conftst*
  30401. +
  30402. + # Do not use the global_symbol_pipe unless it works.
  30403. + if test yes = "$pipe_works"; then
  30404. + break
  30405. + else
  30406. + lt_cv_sys_global_symbol_pipe=
  30407. + fi
  30408. +done
  30409. +
  30410. +fi
  30411. +
  30412. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  30413. + lt_cv_sys_global_symbol_to_cdecl=
  30414. +fi
  30415. +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  30416. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  30417. +$as_echo "failed" >&6; }
  30418. +else
  30419. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  30420. +$as_echo "ok" >&6; }
  30421. +fi
  30422. +
  30423. +# Response file support.
  30424. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  30425. + nm_file_list_spec='@'
  30426. +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  30427. + nm_file_list_spec='@'
  30428. +fi
  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. +
  30464. +
  30465. +
  30466. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  30467. +$as_echo_n "checking for sysroot... " >&6; }
  30468. +
  30469. +@%:@ Check whether --with-sysroot was given.
  30470. +if test "${with_sysroot+set}" = set; then :
  30471. + withval=$with_sysroot;
  30472. +else
  30473. + with_sysroot=no
  30474. +fi
  30475. +
  30476. +
  30477. +lt_sysroot=
  30478. +case $with_sysroot in #(
  30479. + yes)
  30480. + if test yes = "$GCC"; then
  30481. + lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  30482. + fi
  30483. + ;; #(
  30484. + /*)
  30485. + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  30486. + ;; #(
  30487. + no|'')
  30488. + ;; #(
  30489. + *)
  30490. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
  30491. +$as_echo "$with_sysroot" >&6; }
  30492. + as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  30493. + ;;
  30494. +esac
  30495. +
  30496. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  30497. +$as_echo "${lt_sysroot:-no}" >&6; }
  30498. +
  30499. +
  30500. +
  30501. +
  30502. +
  30503. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
  30504. +$as_echo_n "checking for a working dd... " >&6; }
  30505. +if ${ac_cv_path_lt_DD+:} false; then :
  30506. + $as_echo_n "(cached) " >&6
  30507. +else
  30508. + printf 0123456789abcdef0123456789abcdef >conftest.i
  30509. +cat conftest.i conftest.i >conftest2.i
  30510. +: ${lt_DD:=$DD}
  30511. +if test -z "$lt_DD"; then
  30512. + ac_path_lt_DD_found=false
  30513. + # Loop through the user's path and test for each of PROGNAME-LIST
  30514. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  30515. +for as_dir in $PATH
  30516. +do
  30517. + IFS=$as_save_IFS
  30518. + test -z "$as_dir" && as_dir=.
  30519. + for ac_prog in dd; do
  30520. + for ac_exec_ext in '' $ac_executable_extensions; do
  30521. + ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
  30522. + as_fn_executable_p "$ac_path_lt_DD" || continue
  30523. +if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  30524. + cmp -s conftest.i conftest.out \
  30525. + && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
  30526. +fi
  30527. + $ac_path_lt_DD_found && break 3
  30528. + done
  30529. + done
  30530. + done
  30531. +IFS=$as_save_IFS
  30532. + if test -z "$ac_cv_path_lt_DD"; then
  30533. + :
  30534. + fi
  30535. +else
  30536. + ac_cv_path_lt_DD=$lt_DD
  30537. +fi
  30538. +
  30539. +rm -f conftest.i conftest2.i conftest.out
  30540. +fi
  30541. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
  30542. +$as_echo "$ac_cv_path_lt_DD" >&6; }
  30543. +
  30544. +
  30545. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
  30546. +$as_echo_n "checking how to truncate binary pipes... " >&6; }
  30547. +if ${lt_cv_truncate_bin+:} false; then :
  30548. + $as_echo_n "(cached) " >&6
  30549. +else
  30550. + printf 0123456789abcdef0123456789abcdef >conftest.i
  30551. +cat conftest.i conftest.i >conftest2.i
  30552. +lt_cv_truncate_bin=
  30553. +if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  30554. + cmp -s conftest.i conftest.out \
  30555. + && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
  30556. +fi
  30557. +rm -f conftest.i conftest2.i conftest.out
  30558. +test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
  30559. +fi
  30560. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
  30561. +$as_echo "$lt_cv_truncate_bin" >&6; }
  30562. +
  30563. +
  30564. +
  30565. +
  30566. +
  30567. +
  30568. +
  30569. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  30570. +func_cc_basename ()
  30571. +{
  30572. + for cc_temp in @S|@*""; do
  30573. + case $cc_temp in
  30574. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  30575. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  30576. + \-*) ;;
  30577. + *) break;;
  30578. + esac
  30579. + done
  30580. + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  30581. +}
  30582. +
  30583. +@%:@ Check whether --enable-libtool-lock was given.
  30584. +if test "${enable_libtool_lock+set}" = set; then :
  30585. + enableval=$enable_libtool_lock;
  30586. +fi
  30587. +
  30588. +test no = "$enable_libtool_lock" || enable_libtool_lock=yes
  30589. +
  30590. +# Some flags need to be propagated to the compiler or linker for good
  30591. +# libtool support.
  30592. +case $host in
  30593. +ia64-*-hpux*)
  30594. + # Find out what ABI is being produced by ac_compile, and set mode
  30595. + # options accordingly.
  30596. + echo 'int i;' > conftest.$ac_ext
  30597. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  30598. + (eval $ac_compile) 2>&5
  30599. + ac_status=$?
  30600. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30601. + test $ac_status = 0; }; then
  30602. + case `/usr/bin/file conftest.$ac_objext` in
  30603. + *ELF-32*)
  30604. + HPUX_IA64_MODE=32
  30605. + ;;
  30606. + *ELF-64*)
  30607. + HPUX_IA64_MODE=64
  30608. + ;;
  30609. + esac
  30610. + fi
  30611. + rm -rf conftest*
  30612. + ;;
  30613. +*-*-irix6*)
  30614. + # Find out what ABI is being produced by ac_compile, and set linker
  30615. + # options accordingly.
  30616. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  30617. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  30618. + (eval $ac_compile) 2>&5
  30619. + ac_status=$?
  30620. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30621. + test $ac_status = 0; }; then
  30622. + if test yes = "$lt_cv_prog_gnu_ld"; then
  30623. + case `/usr/bin/file conftest.$ac_objext` in
  30624. + *32-bit*)
  30625. + LD="${LD-ld} -melf32bsmip"
  30626. + ;;
  30627. + *N32*)
  30628. + LD="${LD-ld} -melf32bmipn32"
  30629. + ;;
  30630. + *64-bit*)
  30631. + LD="${LD-ld} -melf64bmip"
  30632. + ;;
  30633. + esac
  30634. + else
  30635. + case `/usr/bin/file conftest.$ac_objext` in
  30636. + *32-bit*)
  30637. + LD="${LD-ld} -32"
  30638. + ;;
  30639. + *N32*)
  30640. + LD="${LD-ld} -n32"
  30641. + ;;
  30642. + *64-bit*)
  30643. + LD="${LD-ld} -64"
  30644. + ;;
  30645. + esac
  30646. + fi
  30647. + fi
  30648. + rm -rf conftest*
  30649. + ;;
  30650. +
  30651. +mips64*-*linux*)
  30652. + # Find out what ABI is being produced by ac_compile, and set linker
  30653. + # options accordingly.
  30654. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  30655. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  30656. + (eval $ac_compile) 2>&5
  30657. + ac_status=$?
  30658. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30659. + test $ac_status = 0; }; then
  30660. + emul=elf
  30661. + case `/usr/bin/file conftest.$ac_objext` in
  30662. + *32-bit*)
  30663. + emul="${emul}32"
  30664. + ;;
  30665. + *64-bit*)
  30666. + emul="${emul}64"
  30667. + ;;
  30668. + esac
  30669. + case `/usr/bin/file conftest.$ac_objext` in
  30670. + *MSB*)
  30671. + emul="${emul}btsmip"
  30672. + ;;
  30673. + *LSB*)
  30674. + emul="${emul}ltsmip"
  30675. + ;;
  30676. + esac
  30677. + case `/usr/bin/file conftest.$ac_objext` in
  30678. + *N32*)
  30679. + emul="${emul}n32"
  30680. + ;;
  30681. + esac
  30682. + LD="${LD-ld} -m $emul"
  30683. + fi
  30684. + rm -rf conftest*
  30685. + ;;
  30686. +
  30687. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  30688. +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  30689. + # Find out what ABI is being produced by ac_compile, and set linker
  30690. + # options accordingly. Note that the listed cases only cover the
  30691. + # situations where additional linker options are needed (such as when
  30692. + # doing 32-bit compilation for a host where ld defaults to 64-bit, or
  30693. + # vice versa); the common cases where no linker options are needed do
  30694. + # not appear in the list.
  30695. + echo 'int i;' > conftest.$ac_ext
  30696. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  30697. + (eval $ac_compile) 2>&5
  30698. + ac_status=$?
  30699. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30700. + test $ac_status = 0; }; then
  30701. + case `/usr/bin/file conftest.o` in
  30702. + *32-bit*)
  30703. + case $host in
  30704. + x86_64-*kfreebsd*-gnu)
  30705. + LD="${LD-ld} -m elf_i386_fbsd"
  30706. + ;;
  30707. + x86_64-*linux*)
  30708. + case `/usr/bin/file conftest.o` in
  30709. + *x86-64*)
  30710. + LD="${LD-ld} -m elf32_x86_64"
  30711. + ;;
  30712. + *)
  30713. + LD="${LD-ld} -m elf_i386"
  30714. + ;;
  30715. + esac
  30716. + ;;
  30717. + powerpc64le-*linux*)
  30718. + LD="${LD-ld} -m elf32lppclinux"
  30719. + ;;
  30720. + powerpc64-*linux*)
  30721. + LD="${LD-ld} -m elf32ppclinux"
  30722. + ;;
  30723. + s390x-*linux*)
  30724. + LD="${LD-ld} -m elf_s390"
  30725. + ;;
  30726. + sparc64-*linux*)
  30727. + LD="${LD-ld} -m elf32_sparc"
  30728. + ;;
  30729. + esac
  30730. + ;;
  30731. + *64-bit*)
  30732. + case $host in
  30733. + x86_64-*kfreebsd*-gnu)
  30734. + LD="${LD-ld} -m elf_x86_64_fbsd"
  30735. + ;;
  30736. + x86_64-*linux*)
  30737. + LD="${LD-ld} -m elf_x86_64"
  30738. + ;;
  30739. + powerpcle-*linux*)
  30740. + LD="${LD-ld} -m elf64lppc"
  30741. + ;;
  30742. + powerpc-*linux*)
  30743. + LD="${LD-ld} -m elf64ppc"
  30744. + ;;
  30745. + s390*-*linux*|s390*-*tpf*)
  30746. + LD="${LD-ld} -m elf64_s390"
  30747. + ;;
  30748. + sparc*-*linux*)
  30749. + LD="${LD-ld} -m elf64_sparc"
  30750. + ;;
  30751. + esac
  30752. + ;;
  30753. + esac
  30754. + fi
  30755. + rm -rf conftest*
  30756. + ;;
  30757. +
  30758. +*-*-sco3.2v5*)
  30759. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  30760. + SAVE_CFLAGS=$CFLAGS
  30761. + CFLAGS="$CFLAGS -belf"
  30762. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  30763. +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  30764. +if ${lt_cv_cc_needs_belf+:} false; then :
  30765. + $as_echo_n "(cached) " >&6
  30766. +else
  30767. + ac_ext=c
  30768. +ac_cpp='$CPP $CPPFLAGS'
  30769. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  30770. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  30771. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  30772. +
  30773. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30774. +/* end confdefs.h. */
  30775. +
  30776. +int
  30777. +main ()
  30778. +{
  30779. +
  30780. + ;
  30781. + return 0;
  30782. +}
  30783. +_ACEOF
  30784. +if ac_fn_c_try_link "$LINENO"; then :
  30785. + lt_cv_cc_needs_belf=yes
  30786. +else
  30787. + lt_cv_cc_needs_belf=no
  30788. +fi
  30789. +rm -f core conftest.err conftest.$ac_objext \
  30790. + conftest$ac_exeext conftest.$ac_ext
  30791. + ac_ext=c
  30792. +ac_cpp='$CPP $CPPFLAGS'
  30793. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  30794. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  30795. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  30796. +
  30797. +fi
  30798. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  30799. +$as_echo "$lt_cv_cc_needs_belf" >&6; }
  30800. + if test yes != "$lt_cv_cc_needs_belf"; then
  30801. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  30802. + CFLAGS=$SAVE_CFLAGS
  30803. + fi
  30804. + ;;
  30805. +*-*solaris*)
  30806. + # Find out what ABI is being produced by ac_compile, and set linker
  30807. + # options accordingly.
  30808. + echo 'int i;' > conftest.$ac_ext
  30809. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  30810. + (eval $ac_compile) 2>&5
  30811. + ac_status=$?
  30812. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30813. + test $ac_status = 0; }; then
  30814. + case `/usr/bin/file conftest.o` in
  30815. + *64-bit*)
  30816. + case $lt_cv_prog_gnu_ld in
  30817. + yes*)
  30818. + case $host in
  30819. + i?86-*-solaris*|x86_64-*-solaris*)
  30820. + LD="${LD-ld} -m elf_x86_64"
  30821. + ;;
  30822. + sparc*-*-solaris*)
  30823. + LD="${LD-ld} -m elf64_sparc"
  30824. + ;;
  30825. + esac
  30826. + # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
  30827. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  30828. + LD=${LD-ld}_sol2
  30829. + fi
  30830. + ;;
  30831. + *)
  30832. + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  30833. + LD="${LD-ld} -64"
  30834. + fi
  30835. + ;;
  30836. + esac
  30837. + ;;
  30838. + esac
  30839. + fi
  30840. + rm -rf conftest*
  30841. + ;;
  30842. +esac
  30843. +
  30844. +need_locks=$enable_libtool_lock
  30845. +
  30846. +if test -n "$ac_tool_prefix"; then
  30847. + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  30848. +set dummy ${ac_tool_prefix}mt; ac_word=$2
  30849. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  30850. +$as_echo_n "checking for $ac_word... " >&6; }
  30851. +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  30852. + $as_echo_n "(cached) " >&6
  30853. +else
  30854. + if test -n "$MANIFEST_TOOL"; then
  30855. + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  30856. +else
  30857. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  30858. +for as_dir in $PATH
  30859. +do
  30860. + IFS=$as_save_IFS
  30861. + test -z "$as_dir" && as_dir=.
  30862. + for ac_exec_ext in '' $ac_executable_extensions; do
  30863. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  30864. + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  30865. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  30866. + break 2
  30867. + fi
  30868. +done
  30869. + done
  30870. +IFS=$as_save_IFS
  30871. +
  30872. +fi
  30873. +fi
  30874. +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  30875. +if test -n "$MANIFEST_TOOL"; then
  30876. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  30877. +$as_echo "$MANIFEST_TOOL" >&6; }
  30878. +else
  30879. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30880. +$as_echo "no" >&6; }
  30881. +fi
  30882. +
  30883. +
  30884. +fi
  30885. +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  30886. + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  30887. + # Extract the first word of "mt", so it can be a program name with args.
  30888. +set dummy mt; ac_word=$2
  30889. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  30890. +$as_echo_n "checking for $ac_word... " >&6; }
  30891. +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  30892. + $as_echo_n "(cached) " >&6
  30893. +else
  30894. + if test -n "$ac_ct_MANIFEST_TOOL"; then
  30895. + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  30896. +else
  30897. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  30898. +for as_dir in $PATH
  30899. +do
  30900. + IFS=$as_save_IFS
  30901. + test -z "$as_dir" && as_dir=.
  30902. + for ac_exec_ext in '' $ac_executable_extensions; do
  30903. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  30904. + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  30905. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  30906. + break 2
  30907. + fi
  30908. +done
  30909. + done
  30910. +IFS=$as_save_IFS
  30911. +
  30912. +fi
  30913. +fi
  30914. +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  30915. +if test -n "$ac_ct_MANIFEST_TOOL"; then
  30916. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  30917. +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  30918. +else
  30919. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30920. +$as_echo "no" >&6; }
  30921. +fi
  30922. +
  30923. + if test "x$ac_ct_MANIFEST_TOOL" = x; then
  30924. + MANIFEST_TOOL=":"
  30925. + else
  30926. + case $cross_compiling:$ac_tool_warned in
  30927. +yes:)
  30928. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  30929. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  30930. +ac_tool_warned=yes ;;
  30931. +esac
  30932. + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  30933. + fi
  30934. +else
  30935. + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  30936. +fi
  30937. +
  30938. +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  30939. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  30940. +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  30941. +if ${lt_cv_path_mainfest_tool+:} false; then :
  30942. + $as_echo_n "(cached) " >&6
  30943. +else
  30944. + lt_cv_path_mainfest_tool=no
  30945. + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  30946. + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  30947. + cat conftest.err >&5
  30948. + if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  30949. + lt_cv_path_mainfest_tool=yes
  30950. + fi
  30951. + rm -f conftest*
  30952. +fi
  30953. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  30954. +$as_echo "$lt_cv_path_mainfest_tool" >&6; }
  30955. +if test yes != "$lt_cv_path_mainfest_tool"; then
  30956. + MANIFEST_TOOL=:
  30957. +fi
  30958. +
  30959. +
  30960. +
  30961. +
  30962. +
  30963. +
  30964. + case $host_os in
  30965. + rhapsody* | darwin*)
  30966. + if test -n "$ac_tool_prefix"; then
  30967. + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  30968. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  30969. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  30970. +$as_echo_n "checking for $ac_word... " >&6; }
  30971. +if ${ac_cv_prog_DSYMUTIL+:} false; then :
  30972. + $as_echo_n "(cached) " >&6
  30973. +else
  30974. + if test -n "$DSYMUTIL"; then
  30975. + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  30976. +else
  30977. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  30978. +for as_dir in $PATH
  30979. +do
  30980. + IFS=$as_save_IFS
  30981. + test -z "$as_dir" && as_dir=.
  30982. + for ac_exec_ext in '' $ac_executable_extensions; do
  30983. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  30984. + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  30985. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  30986. + break 2
  30987. + fi
  30988. +done
  30989. + done
  30990. +IFS=$as_save_IFS
  30991. +
  30992. +fi
  30993. +fi
  30994. +DSYMUTIL=$ac_cv_prog_DSYMUTIL
  30995. +if test -n "$DSYMUTIL"; then
  30996. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  30997. +$as_echo "$DSYMUTIL" >&6; }
  30998. +else
  30999. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31000. +$as_echo "no" >&6; }
  31001. +fi
  31002. +
  31003. +
  31004. +fi
  31005. +if test -z "$ac_cv_prog_DSYMUTIL"; then
  31006. + ac_ct_DSYMUTIL=$DSYMUTIL
  31007. + # Extract the first word of "dsymutil", so it can be a program name with args.
  31008. +set dummy dsymutil; ac_word=$2
  31009. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31010. +$as_echo_n "checking for $ac_word... " >&6; }
  31011. +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  31012. + $as_echo_n "(cached) " >&6
  31013. +else
  31014. + if test -n "$ac_ct_DSYMUTIL"; then
  31015. + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  31016. +else
  31017. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31018. +for as_dir in $PATH
  31019. +do
  31020. + IFS=$as_save_IFS
  31021. + test -z "$as_dir" && as_dir=.
  31022. + for ac_exec_ext in '' $ac_executable_extensions; do
  31023. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31024. + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  31025. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31026. + break 2
  31027. + fi
  31028. +done
  31029. + done
  31030. +IFS=$as_save_IFS
  31031. +
  31032. +fi
  31033. +fi
  31034. +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  31035. +if test -n "$ac_ct_DSYMUTIL"; then
  31036. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  31037. +$as_echo "$ac_ct_DSYMUTIL" >&6; }
  31038. +else
  31039. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31040. +$as_echo "no" >&6; }
  31041. +fi
  31042. +
  31043. + if test "x$ac_ct_DSYMUTIL" = x; then
  31044. + DSYMUTIL=":"
  31045. + else
  31046. + case $cross_compiling:$ac_tool_warned in
  31047. +yes:)
  31048. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  31049. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  31050. +ac_tool_warned=yes ;;
  31051. +esac
  31052. + DSYMUTIL=$ac_ct_DSYMUTIL
  31053. + fi
  31054. +else
  31055. + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  31056. +fi
  31057. +
  31058. + if test -n "$ac_tool_prefix"; then
  31059. + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  31060. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  31061. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31062. +$as_echo_n "checking for $ac_word... " >&6; }
  31063. +if ${ac_cv_prog_NMEDIT+:} false; then :
  31064. + $as_echo_n "(cached) " >&6
  31065. +else
  31066. + if test -n "$NMEDIT"; then
  31067. + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  31068. +else
  31069. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31070. +for as_dir in $PATH
  31071. +do
  31072. + IFS=$as_save_IFS
  31073. + test -z "$as_dir" && as_dir=.
  31074. + for ac_exec_ext in '' $ac_executable_extensions; do
  31075. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31076. + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  31077. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31078. + break 2
  31079. + fi
  31080. +done
  31081. + done
  31082. +IFS=$as_save_IFS
  31083. +
  31084. +fi
  31085. +fi
  31086. +NMEDIT=$ac_cv_prog_NMEDIT
  31087. +if test -n "$NMEDIT"; then
  31088. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  31089. +$as_echo "$NMEDIT" >&6; }
  31090. +else
  31091. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31092. +$as_echo "no" >&6; }
  31093. +fi
  31094. +
  31095. +
  31096. +fi
  31097. +if test -z "$ac_cv_prog_NMEDIT"; then
  31098. + ac_ct_NMEDIT=$NMEDIT
  31099. + # Extract the first word of "nmedit", so it can be a program name with args.
  31100. +set dummy nmedit; ac_word=$2
  31101. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31102. +$as_echo_n "checking for $ac_word... " >&6; }
  31103. +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  31104. + $as_echo_n "(cached) " >&6
  31105. +else
  31106. + if test -n "$ac_ct_NMEDIT"; then
  31107. + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  31108. +else
  31109. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31110. +for as_dir in $PATH
  31111. +do
  31112. + IFS=$as_save_IFS
  31113. + test -z "$as_dir" && as_dir=.
  31114. + for ac_exec_ext in '' $ac_executable_extensions; do
  31115. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31116. + ac_cv_prog_ac_ct_NMEDIT="nmedit"
  31117. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31118. + break 2
  31119. + fi
  31120. +done
  31121. + done
  31122. +IFS=$as_save_IFS
  31123. +
  31124. +fi
  31125. +fi
  31126. +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  31127. +if test -n "$ac_ct_NMEDIT"; then
  31128. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  31129. +$as_echo "$ac_ct_NMEDIT" >&6; }
  31130. +else
  31131. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31132. +$as_echo "no" >&6; }
  31133. +fi
  31134. +
  31135. + if test "x$ac_ct_NMEDIT" = x; then
  31136. + NMEDIT=":"
  31137. + else
  31138. + case $cross_compiling:$ac_tool_warned in
  31139. +yes:)
  31140. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  31141. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  31142. +ac_tool_warned=yes ;;
  31143. +esac
  31144. + NMEDIT=$ac_ct_NMEDIT
  31145. + fi
  31146. +else
  31147. + NMEDIT="$ac_cv_prog_NMEDIT"
  31148. +fi
  31149. +
  31150. + if test -n "$ac_tool_prefix"; then
  31151. + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  31152. +set dummy ${ac_tool_prefix}lipo; ac_word=$2
  31153. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31154. +$as_echo_n "checking for $ac_word... " >&6; }
  31155. +if ${ac_cv_prog_LIPO+:} false; then :
  31156. + $as_echo_n "(cached) " >&6
  31157. +else
  31158. + if test -n "$LIPO"; then
  31159. + ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  31160. +else
  31161. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31162. +for as_dir in $PATH
  31163. +do
  31164. + IFS=$as_save_IFS
  31165. + test -z "$as_dir" && as_dir=.
  31166. + for ac_exec_ext in '' $ac_executable_extensions; do
  31167. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31168. + ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  31169. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31170. + break 2
  31171. + fi
  31172. +done
  31173. + done
  31174. +IFS=$as_save_IFS
  31175. +
  31176. +fi
  31177. +fi
  31178. +LIPO=$ac_cv_prog_LIPO
  31179. +if test -n "$LIPO"; then
  31180. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  31181. +$as_echo "$LIPO" >&6; }
  31182. +else
  31183. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31184. +$as_echo "no" >&6; }
  31185. +fi
  31186. +
  31187. +
  31188. +fi
  31189. +if test -z "$ac_cv_prog_LIPO"; then
  31190. + ac_ct_LIPO=$LIPO
  31191. + # Extract the first word of "lipo", so it can be a program name with args.
  31192. +set dummy lipo; ac_word=$2
  31193. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31194. +$as_echo_n "checking for $ac_word... " >&6; }
  31195. +if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  31196. + $as_echo_n "(cached) " >&6
  31197. +else
  31198. + if test -n "$ac_ct_LIPO"; then
  31199. + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  31200. +else
  31201. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31202. +for as_dir in $PATH
  31203. +do
  31204. + IFS=$as_save_IFS
  31205. + test -z "$as_dir" && as_dir=.
  31206. + for ac_exec_ext in '' $ac_executable_extensions; do
  31207. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31208. + ac_cv_prog_ac_ct_LIPO="lipo"
  31209. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31210. + break 2
  31211. + fi
  31212. +done
  31213. + done
  31214. +IFS=$as_save_IFS
  31215. +
  31216. +fi
  31217. +fi
  31218. +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  31219. +if test -n "$ac_ct_LIPO"; then
  31220. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  31221. +$as_echo "$ac_ct_LIPO" >&6; }
  31222. +else
  31223. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31224. +$as_echo "no" >&6; }
  31225. +fi
  31226. +
  31227. + if test "x$ac_ct_LIPO" = x; then
  31228. + LIPO=":"
  31229. + else
  31230. + case $cross_compiling:$ac_tool_warned in
  31231. +yes:)
  31232. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  31233. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  31234. +ac_tool_warned=yes ;;
  31235. +esac
  31236. + LIPO=$ac_ct_LIPO
  31237. + fi
  31238. +else
  31239. + LIPO="$ac_cv_prog_LIPO"
  31240. +fi
  31241. +
  31242. + if test -n "$ac_tool_prefix"; then
  31243. + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  31244. +set dummy ${ac_tool_prefix}otool; ac_word=$2
  31245. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31246. +$as_echo_n "checking for $ac_word... " >&6; }
  31247. +if ${ac_cv_prog_OTOOL+:} false; then :
  31248. + $as_echo_n "(cached) " >&6
  31249. +else
  31250. + if test -n "$OTOOL"; then
  31251. + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  31252. +else
  31253. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31254. +for as_dir in $PATH
  31255. +do
  31256. + IFS=$as_save_IFS
  31257. + test -z "$as_dir" && as_dir=.
  31258. + for ac_exec_ext in '' $ac_executable_extensions; do
  31259. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31260. + ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  31261. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31262. + break 2
  31263. + fi
  31264. +done
  31265. + done
  31266. +IFS=$as_save_IFS
  31267. +
  31268. +fi
  31269. +fi
  31270. +OTOOL=$ac_cv_prog_OTOOL
  31271. +if test -n "$OTOOL"; then
  31272. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  31273. +$as_echo "$OTOOL" >&6; }
  31274. +else
  31275. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31276. +$as_echo "no" >&6; }
  31277. +fi
  31278. +
  31279. +
  31280. +fi
  31281. +if test -z "$ac_cv_prog_OTOOL"; then
  31282. + ac_ct_OTOOL=$OTOOL
  31283. + # Extract the first word of "otool", so it can be a program name with args.
  31284. +set dummy otool; ac_word=$2
  31285. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31286. +$as_echo_n "checking for $ac_word... " >&6; }
  31287. +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  31288. + $as_echo_n "(cached) " >&6
  31289. +else
  31290. + if test -n "$ac_ct_OTOOL"; then
  31291. + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  31292. +else
  31293. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31294. +for as_dir in $PATH
  31295. +do
  31296. + IFS=$as_save_IFS
  31297. + test -z "$as_dir" && as_dir=.
  31298. + for ac_exec_ext in '' $ac_executable_extensions; do
  31299. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31300. + ac_cv_prog_ac_ct_OTOOL="otool"
  31301. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31302. + break 2
  31303. + fi
  31304. +done
  31305. + done
  31306. +IFS=$as_save_IFS
  31307. +
  31308. +fi
  31309. +fi
  31310. +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  31311. +if test -n "$ac_ct_OTOOL"; then
  31312. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  31313. +$as_echo "$ac_ct_OTOOL" >&6; }
  31314. +else
  31315. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31316. +$as_echo "no" >&6; }
  31317. +fi
  31318. +
  31319. + if test "x$ac_ct_OTOOL" = x; then
  31320. + OTOOL=":"
  31321. + else
  31322. + case $cross_compiling:$ac_tool_warned in
  31323. +yes:)
  31324. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  31325. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  31326. +ac_tool_warned=yes ;;
  31327. +esac
  31328. + OTOOL=$ac_ct_OTOOL
  31329. + fi
  31330. +else
  31331. + OTOOL="$ac_cv_prog_OTOOL"
  31332. +fi
  31333. +
  31334. + if test -n "$ac_tool_prefix"; then
  31335. + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  31336. +set dummy ${ac_tool_prefix}otool64; ac_word=$2
  31337. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31338. +$as_echo_n "checking for $ac_word... " >&6; }
  31339. +if ${ac_cv_prog_OTOOL64+:} false; then :
  31340. + $as_echo_n "(cached) " >&6
  31341. +else
  31342. + if test -n "$OTOOL64"; then
  31343. + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  31344. +else
  31345. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31346. +for as_dir in $PATH
  31347. +do
  31348. + IFS=$as_save_IFS
  31349. + test -z "$as_dir" && as_dir=.
  31350. + for ac_exec_ext in '' $ac_executable_extensions; do
  31351. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31352. + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  31353. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31354. + break 2
  31355. + fi
  31356. +done
  31357. + done
  31358. +IFS=$as_save_IFS
  31359. +
  31360. +fi
  31361. +fi
  31362. +OTOOL64=$ac_cv_prog_OTOOL64
  31363. +if test -n "$OTOOL64"; then
  31364. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  31365. +$as_echo "$OTOOL64" >&6; }
  31366. +else
  31367. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31368. +$as_echo "no" >&6; }
  31369. +fi
  31370. +
  31371. +
  31372. +fi
  31373. +if test -z "$ac_cv_prog_OTOOL64"; then
  31374. + ac_ct_OTOOL64=$OTOOL64
  31375. + # Extract the first word of "otool64", so it can be a program name with args.
  31376. +set dummy otool64; ac_word=$2
  31377. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31378. +$as_echo_n "checking for $ac_word... " >&6; }
  31379. +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  31380. + $as_echo_n "(cached) " >&6
  31381. +else
  31382. + if test -n "$ac_ct_OTOOL64"; then
  31383. + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  31384. +else
  31385. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31386. +for as_dir in $PATH
  31387. +do
  31388. + IFS=$as_save_IFS
  31389. + test -z "$as_dir" && as_dir=.
  31390. + for ac_exec_ext in '' $ac_executable_extensions; do
  31391. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31392. + ac_cv_prog_ac_ct_OTOOL64="otool64"
  31393. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31394. + break 2
  31395. + fi
  31396. +done
  31397. + done
  31398. +IFS=$as_save_IFS
  31399. +
  31400. +fi
  31401. +fi
  31402. +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  31403. +if test -n "$ac_ct_OTOOL64"; then
  31404. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  31405. +$as_echo "$ac_ct_OTOOL64" >&6; }
  31406. +else
  31407. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31408. +$as_echo "no" >&6; }
  31409. +fi
  31410. +
  31411. + if test "x$ac_ct_OTOOL64" = x; then
  31412. + OTOOL64=":"
  31413. + else
  31414. + case $cross_compiling:$ac_tool_warned in
  31415. +yes:)
  31416. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  31417. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  31418. +ac_tool_warned=yes ;;
  31419. +esac
  31420. + OTOOL64=$ac_ct_OTOOL64
  31421. + fi
  31422. +else
  31423. + OTOOL64="$ac_cv_prog_OTOOL64"
  31424. +fi
  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. +
  31450. +
  31451. +
  31452. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  31453. +$as_echo_n "checking for -single_module linker flag... " >&6; }
  31454. +if ${lt_cv_apple_cc_single_mod+:} false; then :
  31455. + $as_echo_n "(cached) " >&6
  31456. +else
  31457. + lt_cv_apple_cc_single_mod=no
  31458. + if test -z "$LT_MULTI_MODULE"; then
  31459. + # By default we will add the -single_module flag. You can override
  31460. + # by either setting the environment variable LT_MULTI_MODULE
  31461. + # non-empty at configure time, or by adding -multi_module to the
  31462. + # link flags.
  31463. + rm -rf libconftest.dylib*
  31464. + echo "int foo(void){return 1;}" > conftest.c
  31465. + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  31466. +-dynamiclib -Wl,-single_module conftest.c" >&5
  31467. + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  31468. + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  31469. + _lt_result=$?
  31470. + # If there is a non-empty error log, and "single_module"
  31471. + # appears in it, assume the flag caused a linker warning
  31472. + if test -s conftest.err && $GREP single_module conftest.err; then
  31473. + cat conftest.err >&5
  31474. + # Otherwise, if the output was created with a 0 exit code from
  31475. + # the compiler, it worked.
  31476. + elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
  31477. + lt_cv_apple_cc_single_mod=yes
  31478. + else
  31479. + cat conftest.err >&5
  31480. + fi
  31481. + rm -rf libconftest.dylib*
  31482. + rm -f conftest.*
  31483. + fi
  31484. +fi
  31485. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  31486. +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  31487. +
  31488. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  31489. +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  31490. +if ${lt_cv_ld_exported_symbols_list+:} false; then :
  31491. + $as_echo_n "(cached) " >&6
  31492. +else
  31493. + lt_cv_ld_exported_symbols_list=no
  31494. + save_LDFLAGS=$LDFLAGS
  31495. + echo "_main" > conftest.sym
  31496. + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  31497. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31498. +/* end confdefs.h. */
  31499. +
  31500. +int
  31501. +main ()
  31502. +{
  31503. +
  31504. + ;
  31505. + return 0;
  31506. +}
  31507. +_ACEOF
  31508. +if ac_fn_c_try_link "$LINENO"; then :
  31509. + lt_cv_ld_exported_symbols_list=yes
  31510. +else
  31511. + lt_cv_ld_exported_symbols_list=no
  31512. +fi
  31513. +rm -f core conftest.err conftest.$ac_objext \
  31514. + conftest$ac_exeext conftest.$ac_ext
  31515. + LDFLAGS=$save_LDFLAGS
  31516. +
  31517. +fi
  31518. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  31519. +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  31520. +
  31521. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  31522. +$as_echo_n "checking for -force_load linker flag... " >&6; }
  31523. +if ${lt_cv_ld_force_load+:} false; then :
  31524. + $as_echo_n "(cached) " >&6
  31525. +else
  31526. + lt_cv_ld_force_load=no
  31527. + cat > conftest.c << _LT_EOF
  31528. +int forced_loaded() { return 2;}
  31529. +_LT_EOF
  31530. + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  31531. + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  31532. + echo "$AR cru libconftest.a conftest.o" >&5
  31533. + $AR cru libconftest.a conftest.o 2>&5
  31534. + echo "$RANLIB libconftest.a" >&5
  31535. + $RANLIB libconftest.a 2>&5
  31536. + cat > conftest.c << _LT_EOF
  31537. +int main() { return 0;}
  31538. +_LT_EOF
  31539. + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  31540. + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  31541. + _lt_result=$?
  31542. + if test -s conftest.err && $GREP force_load conftest.err; then
  31543. + cat conftest.err >&5
  31544. + elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
  31545. + lt_cv_ld_force_load=yes
  31546. + else
  31547. + cat conftest.err >&5
  31548. + fi
  31549. + rm -f conftest.err libconftest.a conftest conftest.c
  31550. + rm -rf conftest.dSYM
  31551. +
  31552. +fi
  31553. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  31554. +$as_echo "$lt_cv_ld_force_load" >&6; }
  31555. + case $host_os in
  31556. + rhapsody* | darwin1.[012])
  31557. + _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
  31558. + darwin1.*)
  31559. + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  31560. + darwin*) # darwin 5.x on
  31561. + # if running on 10.5 or later, the deployment target defaults
  31562. + # to the OS version, if on x86, and 10.4, the deployment
  31563. + # target defaults to 10.4. Don't you love it?
  31564. + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  31565. + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  31566. + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  31567. + 10.[012][,.]*)
  31568. + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  31569. + 10.*)
  31570. + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  31571. + esac
  31572. + ;;
  31573. + esac
  31574. + if test yes = "$lt_cv_apple_cc_single_mod"; then
  31575. + _lt_dar_single_mod='$single_module'
  31576. + fi
  31577. + if test yes = "$lt_cv_ld_exported_symbols_list"; then
  31578. + _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
  31579. + else
  31580. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
  31581. + fi
  31582. + if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
  31583. + _lt_dsymutil='~$DSYMUTIL $lib || :'
  31584. + else
  31585. + _lt_dsymutil=
  31586. + fi
  31587. + ;;
  31588. + esac
  31589. +
  31590. +# func_munge_path_list VARIABLE PATH
  31591. +# -----------------------------------
  31592. +# VARIABLE is name of variable containing _space_ separated list of
  31593. +# directories to be munged by the contents of PATH, which is string
  31594. +# having a format:
  31595. +# "DIR[:DIR]:"
  31596. +# string "DIR[ DIR]" will be prepended to VARIABLE
  31597. +# ":DIR[:DIR]"
  31598. +# string "DIR[ DIR]" will be appended to VARIABLE
  31599. +# "DIRP[:DIRP]::[DIRA:]DIRA"
  31600. +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  31601. +# "DIRA[ DIRA]" will be appended to VARIABLE
  31602. +# "DIR[:DIR]"
  31603. +# VARIABLE will be replaced by "DIR[ DIR]"
  31604. +func_munge_path_list ()
  31605. +{
  31606. + case x@S|@2 in
  31607. + x)
  31608. + ;;
  31609. + *:)
  31610. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
  31611. + ;;
  31612. + x:*)
  31613. + eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
  31614. + ;;
  31615. + *::*)
  31616. + eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  31617. + eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
  31618. + ;;
  31619. + *)
  31620. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
  31621. + ;;
  31622. + esac
  31623. +}
  31624. +
  31625. +ac_ext=c
  31626. +ac_cpp='$CPP $CPPFLAGS'
  31627. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  31628. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  31629. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  31630. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  31631. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  31632. +# On Suns, sometimes $CPP names a directory.
  31633. +if test -n "$CPP" && test -d "$CPP"; then
  31634. + CPP=
  31635. +fi
  31636. +if test -z "$CPP"; then
  31637. + if ${ac_cv_prog_CPP+:} false; then :
  31638. + $as_echo_n "(cached) " >&6
  31639. +else
  31640. + # Double quotes because CPP needs to be expanded
  31641. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  31642. + do
  31643. + ac_preproc_ok=false
  31644. +for ac_c_preproc_warn_flag in '' yes
  31645. +do
  31646. + # Use a header file that comes with gcc, so configuring glibc
  31647. + # with a fresh cross-compiler works.
  31648. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  31649. + # <limits.h> exists even on freestanding compilers.
  31650. + # On the NeXT, cc -E runs the code through the compiler's parser,
  31651. + # not just through cpp. "Syntax error" is here to catch this case.
  31652. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31653. +/* end confdefs.h. */
  31654. +@%:@ifdef __STDC__
  31655. +@%:@ include <limits.h>
  31656. +@%:@else
  31657. +@%:@ include <assert.h>
  31658. +@%:@endif
  31659. + Syntax error
  31660. +_ACEOF
  31661. +if ac_fn_c_try_cpp "$LINENO"; then :
  31662. +
  31663. +else
  31664. + # Broken: fails on valid input.
  31665. +continue
  31666. +fi
  31667. +rm -f conftest.err conftest.i conftest.$ac_ext
  31668. +
  31669. + # OK, works on sane cases. Now check whether nonexistent headers
  31670. + # can be detected and how.
  31671. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31672. +/* end confdefs.h. */
  31673. +@%:@include <ac_nonexistent.h>
  31674. +_ACEOF
  31675. +if ac_fn_c_try_cpp "$LINENO"; then :
  31676. + # Broken: success on invalid input.
  31677. +continue
  31678. +else
  31679. + # Passes both tests.
  31680. +ac_preproc_ok=:
  31681. +break
  31682. +fi
  31683. +rm -f conftest.err conftest.i conftest.$ac_ext
  31684. +
  31685. +done
  31686. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  31687. +rm -f conftest.i conftest.err conftest.$ac_ext
  31688. +if $ac_preproc_ok; then :
  31689. + break
  31690. +fi
  31691. +
  31692. + done
  31693. + ac_cv_prog_CPP=$CPP
  31694. +
  31695. +fi
  31696. + CPP=$ac_cv_prog_CPP
  31697. +else
  31698. + ac_cv_prog_CPP=$CPP
  31699. +fi
  31700. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  31701. +$as_echo "$CPP" >&6; }
  31702. +ac_preproc_ok=false
  31703. +for ac_c_preproc_warn_flag in '' yes
  31704. +do
  31705. + # Use a header file that comes with gcc, so configuring glibc
  31706. + # with a fresh cross-compiler works.
  31707. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  31708. + # <limits.h> exists even on freestanding compilers.
  31709. + # On the NeXT, cc -E runs the code through the compiler's parser,
  31710. + # not just through cpp. "Syntax error" is here to catch this case.
  31711. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31712. +/* end confdefs.h. */
  31713. +@%:@ifdef __STDC__
  31714. +@%:@ include <limits.h>
  31715. +@%:@else
  31716. +@%:@ include <assert.h>
  31717. +@%:@endif
  31718. + Syntax error
  31719. +_ACEOF
  31720. +if ac_fn_c_try_cpp "$LINENO"; then :
  31721. +
  31722. +else
  31723. + # Broken: fails on valid input.
  31724. +continue
  31725. +fi
  31726. +rm -f conftest.err conftest.i conftest.$ac_ext
  31727. +
  31728. + # OK, works on sane cases. Now check whether nonexistent headers
  31729. + # can be detected and how.
  31730. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31731. +/* end confdefs.h. */
  31732. +@%:@include <ac_nonexistent.h>
  31733. +_ACEOF
  31734. +if ac_fn_c_try_cpp "$LINENO"; then :
  31735. + # Broken: success on invalid input.
  31736. +continue
  31737. +else
  31738. + # Passes both tests.
  31739. +ac_preproc_ok=:
  31740. +break
  31741. +fi
  31742. +rm -f conftest.err conftest.i conftest.$ac_ext
  31743. +
  31744. +done
  31745. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  31746. +rm -f conftest.i conftest.err conftest.$ac_ext
  31747. +if $ac_preproc_ok; then :
  31748. +
  31749. +else
  31750. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  31751. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  31752. +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  31753. +See \`config.log' for more details" "$LINENO" 5; }
  31754. +fi
  31755. +
  31756. +ac_ext=c
  31757. +ac_cpp='$CPP $CPPFLAGS'
  31758. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  31759. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  31760. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  31761. +
  31762. +
  31763. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  31764. +$as_echo_n "checking for ANSI C header files... " >&6; }
  31765. +if ${ac_cv_header_stdc+:} false; then :
  31766. + $as_echo_n "(cached) " >&6
  31767. +else
  31768. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31769. +/* end confdefs.h. */
  31770. +#include <stdlib.h>
  31771. +#include <stdarg.h>
  31772. +#include <string.h>
  31773. +#include <float.h>
  31774. +
  31775. +int
  31776. +main ()
  31777. +{
  31778. +
  31779. + ;
  31780. + return 0;
  31781. +}
  31782. +_ACEOF
  31783. +if ac_fn_c_try_compile "$LINENO"; then :
  31784. + ac_cv_header_stdc=yes
  31785. +else
  31786. + ac_cv_header_stdc=no
  31787. +fi
  31788. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31789. +
  31790. +if test $ac_cv_header_stdc = yes; then
  31791. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  31792. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31793. +/* end confdefs.h. */
  31794. +#include <string.h>
  31795. +
  31796. +_ACEOF
  31797. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  31798. + $EGREP "memchr" >/dev/null 2>&1; then :
  31799. +
  31800. +else
  31801. + ac_cv_header_stdc=no
  31802. +fi
  31803. +rm -f conftest*
  31804. +
  31805. +fi
  31806. +
  31807. +if test $ac_cv_header_stdc = yes; then
  31808. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  31809. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31810. +/* end confdefs.h. */
  31811. +#include <stdlib.h>
  31812. +
  31813. +_ACEOF
  31814. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  31815. + $EGREP "free" >/dev/null 2>&1; then :
  31816. +
  31817. +else
  31818. + ac_cv_header_stdc=no
  31819. +fi
  31820. +rm -f conftest*
  31821. +
  31822. +fi
  31823. +
  31824. +if test $ac_cv_header_stdc = yes; then
  31825. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  31826. + if test "$cross_compiling" = yes; then :
  31827. + :
  31828. +else
  31829. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31830. +/* end confdefs.h. */
  31831. +#include <ctype.h>
  31832. +#include <stdlib.h>
  31833. +#if ((' ' & 0x0FF) == 0x020)
  31834. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  31835. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  31836. +#else
  31837. +# define ISLOWER(c) \
  31838. + (('a' <= (c) && (c) <= 'i') \
  31839. + || ('j' <= (c) && (c) <= 'r') \
  31840. + || ('s' <= (c) && (c) <= 'z'))
  31841. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  31842. +#endif
  31843. +
  31844. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  31845. +int
  31846. +main ()
  31847. +{
  31848. + int i;
  31849. + for (i = 0; i < 256; i++)
  31850. + if (XOR (islower (i), ISLOWER (i))
  31851. + || toupper (i) != TOUPPER (i))
  31852. + return 2;
  31853. + return 0;
  31854. +}
  31855. +_ACEOF
  31856. +if ac_fn_c_try_run "$LINENO"; then :
  31857. +
  31858. +else
  31859. + ac_cv_header_stdc=no
  31860. +fi
  31861. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  31862. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  31863. +fi
  31864. +
  31865. +fi
  31866. +fi
  31867. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  31868. +$as_echo "$ac_cv_header_stdc" >&6; }
  31869. +if test $ac_cv_header_stdc = yes; then
  31870. +
  31871. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  31872. +
  31873. +fi
  31874. +
  31875. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  31876. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  31877. + inttypes.h stdint.h unistd.h
  31878. +do :
  31879. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  31880. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  31881. +"
  31882. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  31883. + cat >>confdefs.h <<_ACEOF
  31884. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  31885. +_ACEOF
  31886. +
  31887. +fi
  31888. +
  31889. +done
  31890. +
  31891. +
  31892. +for ac_header in dlfcn.h
  31893. +do :
  31894. + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  31895. +"
  31896. +if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  31897. + cat >>confdefs.h <<_ACEOF
  31898. +@%:@define HAVE_DLFCN_H 1
  31899. +_ACEOF
  31900. +
  31901. +fi
  31902. +
  31903. +done
  31904. +
  31905. +
  31906. +
  31907. +
  31908. +
  31909. +# Set options
  31910. +
  31911. +
  31912. +
  31913. + enable_dlopen=no
  31914. +
  31915. +
  31916. + enable_win32_dll=no
  31917. +
  31918. +
  31919. + @%:@ Check whether --enable-shared was given.
  31920. +if test "${enable_shared+set}" = set; then :
  31921. + enableval=$enable_shared; p=${PACKAGE-default}
  31922. + case $enableval in
  31923. + yes) enable_shared=yes ;;
  31924. + no) enable_shared=no ;;
  31925. + *)
  31926. + enable_shared=no
  31927. + # Look at the argument we got. We use all the common list separators.
  31928. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  31929. + for pkg in $enableval; do
  31930. + IFS=$lt_save_ifs
  31931. + if test "X$pkg" = "X$p"; then
  31932. + enable_shared=yes
  31933. + fi
  31934. + done
  31935. + IFS=$lt_save_ifs
  31936. + ;;
  31937. + esac
  31938. +else
  31939. + enable_shared=yes
  31940. +fi
  31941. +
  31942. +
  31943. +
  31944. +
  31945. +
  31946. +
  31947. +
  31948. +
  31949. +
  31950. + @%:@ Check whether --enable-static was given.
  31951. +if test "${enable_static+set}" = set; then :
  31952. + enableval=$enable_static; p=${PACKAGE-default}
  31953. + case $enableval in
  31954. + yes) enable_static=yes ;;
  31955. + no) enable_static=no ;;
  31956. + *)
  31957. + enable_static=no
  31958. + # Look at the argument we got. We use all the common list separators.
  31959. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  31960. + for pkg in $enableval; do
  31961. + IFS=$lt_save_ifs
  31962. + if test "X$pkg" = "X$p"; then
  31963. + enable_static=yes
  31964. + fi
  31965. + done
  31966. + IFS=$lt_save_ifs
  31967. + ;;
  31968. + esac
  31969. +else
  31970. + enable_static=yes
  31971. +fi
  31972. +
  31973. +
  31974. +
  31975. +
  31976. +
  31977. +
  31978. +
  31979. +
  31980. +
  31981. +
  31982. +@%:@ Check whether --with-pic was given.
  31983. +if test "${with_pic+set}" = set; then :
  31984. + withval=$with_pic; lt_p=${PACKAGE-default}
  31985. + case $withval in
  31986. + yes|no) pic_mode=$withval ;;
  31987. + *)
  31988. + pic_mode=default
  31989. + # Look at the argument we got. We use all the common list separators.
  31990. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  31991. + for lt_pkg in $withval; do
  31992. + IFS=$lt_save_ifs
  31993. + if test "X$lt_pkg" = "X$lt_p"; then
  31994. + pic_mode=yes
  31995. + fi
  31996. + done
  31997. + IFS=$lt_save_ifs
  31998. + ;;
  31999. + esac
  32000. +else
  32001. + pic_mode=default
  32002. +fi
  32003. +
  32004. +
  32005. +
  32006. +
  32007. +
  32008. +
  32009. +
  32010. +
  32011. + @%:@ Check whether --enable-fast-install was given.
  32012. +if test "${enable_fast_install+set}" = set; then :
  32013. + enableval=$enable_fast_install; p=${PACKAGE-default}
  32014. + case $enableval in
  32015. + yes) enable_fast_install=yes ;;
  32016. + no) enable_fast_install=no ;;
  32017. + *)
  32018. + enable_fast_install=no
  32019. + # Look at the argument we got. We use all the common list separators.
  32020. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  32021. + for pkg in $enableval; do
  32022. + IFS=$lt_save_ifs
  32023. + if test "X$pkg" = "X$p"; then
  32024. + enable_fast_install=yes
  32025. + fi
  32026. + done
  32027. + IFS=$lt_save_ifs
  32028. + ;;
  32029. + esac
  32030. +else
  32031. + enable_fast_install=yes
  32032. +fi
  32033. +
  32034. +
  32035. +
  32036. +
  32037. +
  32038. +
  32039. +
  32040. +
  32041. + shared_archive_member_spec=
  32042. +case $host,$enable_shared in
  32043. +power*-*-aix[5-9]*,yes)
  32044. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
  32045. +$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
  32046. +
  32047. +@%:@ Check whether --with-aix-soname was given.
  32048. +if test "${with_aix_soname+set}" = set; then :
  32049. + withval=$with_aix_soname; case $withval in
  32050. + aix|svr4|both)
  32051. + ;;
  32052. + *)
  32053. + as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
  32054. + ;;
  32055. + esac
  32056. + lt_cv_with_aix_soname=$with_aix_soname
  32057. +else
  32058. + if ${lt_cv_with_aix_soname+:} false; then :
  32059. + $as_echo_n "(cached) " >&6
  32060. +else
  32061. + lt_cv_with_aix_soname=aix
  32062. +fi
  32063. +
  32064. + with_aix_soname=$lt_cv_with_aix_soname
  32065. +fi
  32066. +
  32067. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
  32068. +$as_echo "$with_aix_soname" >&6; }
  32069. + if test aix != "$with_aix_soname"; then
  32070. + # For the AIX way of multilib, we name the shared archive member
  32071. + # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
  32072. + # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
  32073. + # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
  32074. + # the AIX toolchain works better with OBJECT_MODE set (default 32).
  32075. + if test 64 = "${OBJECT_MODE-32}"; then
  32076. + shared_archive_member_spec=shr_64
  32077. + else
  32078. + shared_archive_member_spec=shr
  32079. + fi
  32080. + fi
  32081. + ;;
  32082. +*)
  32083. + with_aix_soname=aix
  32084. + ;;
  32085. +esac
  32086. +
  32087. +
  32088. +
  32089. +
  32090. +
  32091. +
  32092. +
  32093. +
  32094. +
  32095. +
  32096. +# This can be used to rebuild libtool when needed
  32097. +LIBTOOL_DEPS=$ltmain
  32098. +
  32099. +# Always use our own libtool.
  32100. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  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. +
  32129. +
  32130. +
  32131. +test -z "$LN_S" && LN_S="ln -s"
  32132. +
  32133. +
  32134. +
  32135. +
  32136. +
  32137. +
  32138. +
  32139. +
  32140. +
  32141. +
  32142. +
  32143. +
  32144. +
  32145. +
  32146. +if test -n "${ZSH_VERSION+set}"; then
  32147. + setopt NO_GLOB_SUBST
  32148. +fi
  32149. +
  32150. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  32151. +$as_echo_n "checking for objdir... " >&6; }
  32152. +if ${lt_cv_objdir+:} false; then :
  32153. + $as_echo_n "(cached) " >&6
  32154. +else
  32155. + rm -f .libs 2>/dev/null
  32156. +mkdir .libs 2>/dev/null
  32157. +if test -d .libs; then
  32158. + lt_cv_objdir=.libs
  32159. +else
  32160. + # MS-DOS does not allow filenames that begin with a dot.
  32161. + lt_cv_objdir=_libs
  32162. +fi
  32163. +rmdir .libs 2>/dev/null
  32164. +fi
  32165. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  32166. +$as_echo "$lt_cv_objdir" >&6; }
  32167. +objdir=$lt_cv_objdir
  32168. +
  32169. +
  32170. +
  32171. +
  32172. +
  32173. +cat >>confdefs.h <<_ACEOF
  32174. +@%:@define LT_OBJDIR "$lt_cv_objdir/"
  32175. +_ACEOF
  32176. +
  32177. +
  32178. +
  32179. +
  32180. +case $host_os in
  32181. +aix3*)
  32182. + # AIX sometimes has problems with the GCC collect2 program. For some
  32183. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  32184. + # vanish in a puff of smoke.
  32185. + if test set != "${COLLECT_NAMES+set}"; then
  32186. + COLLECT_NAMES=
  32187. + export COLLECT_NAMES
  32188. + fi
  32189. + ;;
  32190. +esac
  32191. +
  32192. +# Global variables:
  32193. +ofile=libtool
  32194. +can_build_shared=yes
  32195. +
  32196. +# All known linkers require a '.a' archive for static linking (except MSVC,
  32197. +# which needs '.lib').
  32198. +libext=a
  32199. +
  32200. +with_gnu_ld=$lt_cv_prog_gnu_ld
  32201. +
  32202. +old_CC=$CC
  32203. +old_CFLAGS=$CFLAGS
  32204. +
  32205. +# Set sane defaults for various variables
  32206. +test -z "$CC" && CC=cc
  32207. +test -z "$LTCC" && LTCC=$CC
  32208. +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  32209. +test -z "$LD" && LD=ld
  32210. +test -z "$ac_objext" && ac_objext=o
  32211. +
  32212. +func_cc_basename $compiler
  32213. +cc_basename=$func_cc_basename_result
  32214. +
  32215. +
  32216. +# Only perform the check for file, if the check method requires it
  32217. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  32218. +case $deplibs_check_method in
  32219. +file_magic*)
  32220. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  32221. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  32222. +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  32223. +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  32224. + $as_echo_n "(cached) " >&6
  32225. +else
  32226. + case $MAGIC_CMD in
  32227. +[\\/*] | ?:[\\/]*)
  32228. + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  32229. + ;;
  32230. +*)
  32231. + lt_save_MAGIC_CMD=$MAGIC_CMD
  32232. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  32233. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  32234. + for ac_dir in $ac_dummy; do
  32235. + IFS=$lt_save_ifs
  32236. + test -z "$ac_dir" && ac_dir=.
  32237. + if test -f "$ac_dir/${ac_tool_prefix}file"; then
  32238. + lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
  32239. + if test -n "$file_magic_test_file"; then
  32240. + case $deplibs_check_method in
  32241. + "file_magic "*)
  32242. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  32243. + MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  32244. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  32245. + $EGREP "$file_magic_regex" > /dev/null; then
  32246. + :
  32247. + else
  32248. + cat <<_LT_EOF 1>&2
  32249. +
  32250. +*** Warning: the command libtool uses to detect shared libraries,
  32251. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  32252. +*** The result is that libtool may fail to recognize shared libraries
  32253. +*** as such. This will affect the creation of libtool libraries that
  32254. +*** depend on shared libraries, but programs linked with such libtool
  32255. +*** libraries will work regardless of this problem. Nevertheless, you
  32256. +*** may want to report the problem to your system manager and/or to
  32257. +*** bug-libtool@gnu.org
  32258. +
  32259. +_LT_EOF
  32260. + fi ;;
  32261. + esac
  32262. + fi
  32263. + break
  32264. + fi
  32265. + done
  32266. + IFS=$lt_save_ifs
  32267. + MAGIC_CMD=$lt_save_MAGIC_CMD
  32268. + ;;
  32269. +esac
  32270. +fi
  32271. +
  32272. +MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  32273. +if test -n "$MAGIC_CMD"; then
  32274. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  32275. +$as_echo "$MAGIC_CMD" >&6; }
  32276. +else
  32277. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  32278. +$as_echo "no" >&6; }
  32279. +fi
  32280. +
  32281. +
  32282. +
  32283. +
  32284. +
  32285. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  32286. + if test -n "$ac_tool_prefix"; then
  32287. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  32288. +$as_echo_n "checking for file... " >&6; }
  32289. +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  32290. + $as_echo_n "(cached) " >&6
  32291. +else
  32292. + case $MAGIC_CMD in
  32293. +[\\/*] | ?:[\\/]*)
  32294. + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  32295. + ;;
  32296. +*)
  32297. + lt_save_MAGIC_CMD=$MAGIC_CMD
  32298. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  32299. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  32300. + for ac_dir in $ac_dummy; do
  32301. + IFS=$lt_save_ifs
  32302. + test -z "$ac_dir" && ac_dir=.
  32303. + if test -f "$ac_dir/file"; then
  32304. + lt_cv_path_MAGIC_CMD=$ac_dir/"file"
  32305. + if test -n "$file_magic_test_file"; then
  32306. + case $deplibs_check_method in
  32307. + "file_magic "*)
  32308. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  32309. + MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  32310. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  32311. + $EGREP "$file_magic_regex" > /dev/null; then
  32312. + :
  32313. + else
  32314. + cat <<_LT_EOF 1>&2
  32315. +
  32316. +*** Warning: the command libtool uses to detect shared libraries,
  32317. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  32318. +*** The result is that libtool may fail to recognize shared libraries
  32319. +*** as such. This will affect the creation of libtool libraries that
  32320. +*** depend on shared libraries, but programs linked with such libtool
  32321. +*** libraries will work regardless of this problem. Nevertheless, you
  32322. +*** may want to report the problem to your system manager and/or to
  32323. +*** bug-libtool@gnu.org
  32324. +
  32325. +_LT_EOF
  32326. + fi ;;
  32327. + esac
  32328. + fi
  32329. + break
  32330. + fi
  32331. + done
  32332. + IFS=$lt_save_ifs
  32333. + MAGIC_CMD=$lt_save_MAGIC_CMD
  32334. + ;;
  32335. +esac
  32336. +fi
  32337. +
  32338. +MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  32339. +if test -n "$MAGIC_CMD"; then
  32340. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  32341. +$as_echo "$MAGIC_CMD" >&6; }
  32342. +else
  32343. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  32344. +$as_echo "no" >&6; }
  32345. +fi
  32346. +
  32347. +
  32348. + else
  32349. + MAGIC_CMD=:
  32350. + fi
  32351. +fi
  32352. +
  32353. + fi
  32354. + ;;
  32355. +esac
  32356. +
  32357. +# Use C for the default configuration in the libtool script
  32358. +
  32359. +lt_save_CC=$CC
  32360. +ac_ext=c
  32361. +ac_cpp='$CPP $CPPFLAGS'
  32362. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  32363. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  32364. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  32365. +
  32366. +
  32367. +# Source file extension for C test sources.
  32368. +ac_ext=c
  32369. +
  32370. +# Object file extension for compiled C test sources.
  32371. +objext=o
  32372. +objext=$objext
  32373. +
  32374. +# Code to be used in simple compile tests
  32375. +lt_simple_compile_test_code="int some_variable = 0;"
  32376. +
  32377. +# Code to be used in simple link tests
  32378. +lt_simple_link_test_code='int main(){return(0);}'
  32379. +
  32380. +
  32381. +
  32382. +
  32383. +
  32384. +
  32385. +
  32386. +# If no C compiler was specified, use CC.
  32387. +LTCC=${LTCC-"$CC"}
  32388. +
  32389. +# If no C compiler flags were specified, use CFLAGS.
  32390. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  32391. +
  32392. +# Allow CC to be a program name with arguments.
  32393. +compiler=$CC
  32394. +
  32395. +# Save the default compiler, since it gets overwritten when the other
  32396. +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  32397. +compiler_DEFAULT=$CC
  32398. +
  32399. +# save warnings/boilerplate of simple test code
  32400. +ac_outfile=conftest.$ac_objext
  32401. +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  32402. +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  32403. +_lt_compiler_boilerplate=`cat conftest.err`
  32404. +$RM conftest*
  32405. +
  32406. +ac_outfile=conftest.$ac_objext
  32407. +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  32408. +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  32409. +_lt_linker_boilerplate=`cat conftest.err`
  32410. +$RM -r conftest*
  32411. +
  32412. +
  32413. +## CAVEAT EMPTOR:
  32414. +## There is no encapsulation within the following macros, do not change
  32415. +## the running order or otherwise move them around unless you know exactly
  32416. +## what you are doing...
  32417. +if test -n "$compiler"; then
  32418. +
  32419. +lt_prog_compiler_no_builtin_flag=
  32420. +
  32421. +if test yes = "$GCC"; then
  32422. + case $cc_basename in
  32423. + nvcc*)
  32424. + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  32425. + *)
  32426. + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  32427. + esac
  32428. +
  32429. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  32430. +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  32431. +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  32432. + $as_echo_n "(cached) " >&6
  32433. +else
  32434. + lt_cv_prog_compiler_rtti_exceptions=no
  32435. + ac_outfile=conftest.$ac_objext
  32436. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  32437. + lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
  32438. + # Insert the option either (1) after the last *FLAGS variable, or
  32439. + # (2) before a word containing "conftest.", or (3) at the end.
  32440. + # Note that $ac_compile itself does not contain backslashes and begins
  32441. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  32442. + # The option is referenced via a variable to avoid confusing sed.
  32443. + lt_compile=`echo "$ac_compile" | $SED \
  32444. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  32445. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  32446. + -e 's:$: $lt_compiler_flag:'`
  32447. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  32448. + (eval "$lt_compile" 2>conftest.err)
  32449. + ac_status=$?
  32450. + cat conftest.err >&5
  32451. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  32452. + if (exit $ac_status) && test -s "$ac_outfile"; then
  32453. + # The compiler can only warn and ignore the option if not recognized
  32454. + # So say no if there are warnings other than the usual output.
  32455. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  32456. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  32457. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  32458. + lt_cv_prog_compiler_rtti_exceptions=yes
  32459. + fi
  32460. + fi
  32461. + $RM conftest*
  32462. +
  32463. +fi
  32464. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  32465. +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  32466. +
  32467. +if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
  32468. + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  32469. +else
  32470. + :
  32471. +fi
  32472. +
  32473. +fi
  32474. +
  32475. +
  32476. +
  32477. +
  32478. +
  32479. +
  32480. + lt_prog_compiler_wl=
  32481. +lt_prog_compiler_pic=
  32482. +lt_prog_compiler_static=
  32483. +
  32484. +
  32485. + if test yes = "$GCC"; then
  32486. + lt_prog_compiler_wl='-Wl,'
  32487. + lt_prog_compiler_static='-static'
  32488. +
  32489. + case $host_os in
  32490. + aix*)
  32491. + # All AIX code is PIC.
  32492. + if test ia64 = "$host_cpu"; then
  32493. + # AIX 5 now supports IA64 processor
  32494. + lt_prog_compiler_static='-Bstatic'
  32495. + fi
  32496. + lt_prog_compiler_pic='-fPIC'
  32497. + ;;
  32498. +
  32499. + amigaos*)
  32500. + case $host_cpu in
  32501. + powerpc)
  32502. + # see comment about AmigaOS4 .so support
  32503. + lt_prog_compiler_pic='-fPIC'
  32504. + ;;
  32505. + m68k)
  32506. + # FIXME: we need at least 68020 code to build shared libraries, but
  32507. + # adding the '-m68020' flag to GCC prevents building anything better,
  32508. + # like '-m68040'.
  32509. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  32510. + ;;
  32511. + esac
  32512. + ;;
  32513. +
  32514. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  32515. + # PIC is the default for these OSes.
  32516. + ;;
  32517. +
  32518. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  32519. + # This hack is so that the source file can tell whether it is being
  32520. + # built for inclusion in a dll (and should export symbols for example).
  32521. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  32522. + # (--disable-auto-import) libraries
  32523. + lt_prog_compiler_pic='-DDLL_EXPORT'
  32524. + case $host_os in
  32525. + os2*)
  32526. + lt_prog_compiler_static='$wl-static'
  32527. + ;;
  32528. + esac
  32529. + ;;
  32530. +
  32531. + darwin* | rhapsody*)
  32532. + # PIC is the default on this platform
  32533. + # Common symbols not allowed in MH_DYLIB files
  32534. + lt_prog_compiler_pic='-fno-common'
  32535. + ;;
  32536. +
  32537. + haiku*)
  32538. + # PIC is the default for Haiku.
  32539. + # The "-static" flag exists, but is broken.
  32540. + lt_prog_compiler_static=
  32541. + ;;
  32542. +
  32543. + hpux*)
  32544. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  32545. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  32546. + # sets the default TLS model and affects inlining.
  32547. + case $host_cpu in
  32548. + hppa*64*)
  32549. + # +Z the default
  32550. + ;;
  32551. + *)
  32552. + lt_prog_compiler_pic='-fPIC'
  32553. + ;;
  32554. + esac
  32555. + ;;
  32556. +
  32557. + interix[3-9]*)
  32558. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  32559. + # Instead, we relocate shared libraries at runtime.
  32560. + ;;
  32561. +
  32562. + msdosdjgpp*)
  32563. + # Just because we use GCC doesn't mean we suddenly get shared libraries
  32564. + # on systems that don't support them.
  32565. + lt_prog_compiler_can_build_shared=no
  32566. + enable_shared=no
  32567. + ;;
  32568. +
  32569. + *nto* | *qnx*)
  32570. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  32571. + # it will coredump.
  32572. + lt_prog_compiler_pic='-fPIC -shared'
  32573. + ;;
  32574. +
  32575. + sysv4*MP*)
  32576. + if test -d /usr/nec; then
  32577. + lt_prog_compiler_pic=-Kconform_pic
  32578. + fi
  32579. + ;;
  32580. +
  32581. + *)
  32582. + lt_prog_compiler_pic='-fPIC'
  32583. + ;;
  32584. + esac
  32585. +
  32586. + case $cc_basename in
  32587. + nvcc*) # Cuda Compiler Driver 2.2
  32588. + lt_prog_compiler_wl='-Xlinker '
  32589. + if test -n "$lt_prog_compiler_pic"; then
  32590. + lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  32591. + fi
  32592. + ;;
  32593. + esac
  32594. + else
  32595. + # PORTME Check for flag to pass linker flags through the system compiler.
  32596. + case $host_os in
  32597. + aix*)
  32598. + lt_prog_compiler_wl='-Wl,'
  32599. + if test ia64 = "$host_cpu"; then
  32600. + # AIX 5 now supports IA64 processor
  32601. + lt_prog_compiler_static='-Bstatic'
  32602. + else
  32603. + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  32604. + fi
  32605. + ;;
  32606. +
  32607. + darwin* | rhapsody*)
  32608. + # PIC is the default on this platform
  32609. + # Common symbols not allowed in MH_DYLIB files
  32610. + lt_prog_compiler_pic='-fno-common'
  32611. + case $cc_basename in
  32612. + nagfor*)
  32613. + # NAG Fortran compiler
  32614. + lt_prog_compiler_wl='-Wl,-Wl,,'
  32615. + lt_prog_compiler_pic='-PIC'
  32616. + lt_prog_compiler_static='-Bstatic'
  32617. + ;;
  32618. + esac
  32619. + ;;
  32620. +
  32621. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  32622. + # This hack is so that the source file can tell whether it is being
  32623. + # built for inclusion in a dll (and should export symbols for example).
  32624. + lt_prog_compiler_pic='-DDLL_EXPORT'
  32625. + case $host_os in
  32626. + os2*)
  32627. + lt_prog_compiler_static='$wl-static'
  32628. + ;;
  32629. + esac
  32630. + ;;
  32631. +
  32632. + hpux9* | hpux10* | hpux11*)
  32633. + lt_prog_compiler_wl='-Wl,'
  32634. + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  32635. + # not for PA HP-UX.
  32636. + case $host_cpu in
  32637. + hppa*64*|ia64*)
  32638. + # +Z the default
  32639. + ;;
  32640. + *)
  32641. + lt_prog_compiler_pic='+Z'
  32642. + ;;
  32643. + esac
  32644. + # Is there a better lt_prog_compiler_static that works with the bundled CC?
  32645. + lt_prog_compiler_static='$wl-a ${wl}archive'
  32646. + ;;
  32647. +
  32648. + irix5* | irix6* | nonstopux*)
  32649. + lt_prog_compiler_wl='-Wl,'
  32650. + # PIC (with -KPIC) is the default.
  32651. + lt_prog_compiler_static='-non_shared'
  32652. + ;;
  32653. +
  32654. + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  32655. + case $cc_basename in
  32656. + # old Intel for x86_64, which still supported -KPIC.
  32657. + ecc*)
  32658. + lt_prog_compiler_wl='-Wl,'
  32659. + lt_prog_compiler_pic='-KPIC'
  32660. + lt_prog_compiler_static='-static'
  32661. + ;;
  32662. + # icc used to be incompatible with GCC.
  32663. + # ICC 10 doesn't accept -KPIC any more.
  32664. + icc* | ifort*)
  32665. + lt_prog_compiler_wl='-Wl,'
  32666. + lt_prog_compiler_pic='-fPIC'
  32667. + lt_prog_compiler_static='-static'
  32668. + ;;
  32669. + # Lahey Fortran 8.1.
  32670. + lf95*)
  32671. + lt_prog_compiler_wl='-Wl,'
  32672. + lt_prog_compiler_pic='--shared'
  32673. + lt_prog_compiler_static='--static'
  32674. + ;;
  32675. + nagfor*)
  32676. + # NAG Fortran compiler
  32677. + lt_prog_compiler_wl='-Wl,-Wl,,'
  32678. + lt_prog_compiler_pic='-PIC'
  32679. + lt_prog_compiler_static='-Bstatic'
  32680. + ;;
  32681. + tcc*)
  32682. + # Fabrice Bellard et al's Tiny C Compiler
  32683. + lt_prog_compiler_wl='-Wl,'
  32684. + lt_prog_compiler_pic='-fPIC'
  32685. + lt_prog_compiler_static='-static'
  32686. + ;;
  32687. + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  32688. + # Portland Group compilers (*not* the Pentium gcc compiler,
  32689. + # which looks to be a dead project)
  32690. + lt_prog_compiler_wl='-Wl,'
  32691. + lt_prog_compiler_pic='-fpic'
  32692. + lt_prog_compiler_static='-Bstatic'
  32693. + ;;
  32694. + ccc*)
  32695. + lt_prog_compiler_wl='-Wl,'
  32696. + # All Alpha code is PIC.
  32697. + lt_prog_compiler_static='-non_shared'
  32698. + ;;
  32699. + xl* | bgxl* | bgf* | mpixl*)
  32700. + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  32701. + lt_prog_compiler_wl='-Wl,'
  32702. + lt_prog_compiler_pic='-qpic'
  32703. + lt_prog_compiler_static='-qstaticlink'
  32704. + ;;
  32705. + *)
  32706. + case `$CC -V 2>&1 | sed 5q` in
  32707. + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  32708. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  32709. + lt_prog_compiler_pic='-KPIC'
  32710. + lt_prog_compiler_static='-Bstatic'
  32711. + lt_prog_compiler_wl=''
  32712. + ;;
  32713. + *Sun\ F* | *Sun*Fortran*)
  32714. + lt_prog_compiler_pic='-KPIC'
  32715. + lt_prog_compiler_static='-Bstatic'
  32716. + lt_prog_compiler_wl='-Qoption ld '
  32717. + ;;
  32718. + *Sun\ C*)
  32719. + # Sun C 5.9
  32720. + lt_prog_compiler_pic='-KPIC'
  32721. + lt_prog_compiler_static='-Bstatic'
  32722. + lt_prog_compiler_wl='-Wl,'
  32723. + ;;
  32724. + *Intel*\ [CF]*Compiler*)
  32725. + lt_prog_compiler_wl='-Wl,'
  32726. + lt_prog_compiler_pic='-fPIC'
  32727. + lt_prog_compiler_static='-static'
  32728. + ;;
  32729. + *Portland\ Group*)
  32730. + lt_prog_compiler_wl='-Wl,'
  32731. + lt_prog_compiler_pic='-fpic'
  32732. + lt_prog_compiler_static='-Bstatic'
  32733. + ;;
  32734. + esac
  32735. + ;;
  32736. + esac
  32737. + ;;
  32738. +
  32739. + newsos6)
  32740. + lt_prog_compiler_pic='-KPIC'
  32741. + lt_prog_compiler_static='-Bstatic'
  32742. + ;;
  32743. +
  32744. + *nto* | *qnx*)
  32745. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  32746. + # it will coredump.
  32747. + lt_prog_compiler_pic='-fPIC -shared'
  32748. + ;;
  32749. +
  32750. + osf3* | osf4* | osf5*)
  32751. + lt_prog_compiler_wl='-Wl,'
  32752. + # All OSF/1 code is PIC.
  32753. + lt_prog_compiler_static='-non_shared'
  32754. + ;;
  32755. +
  32756. + rdos*)
  32757. + lt_prog_compiler_static='-non_shared'
  32758. + ;;
  32759. +
  32760. + solaris*)
  32761. + lt_prog_compiler_pic='-KPIC'
  32762. + lt_prog_compiler_static='-Bstatic'
  32763. + case $cc_basename in
  32764. + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  32765. + lt_prog_compiler_wl='-Qoption ld ';;
  32766. + *)
  32767. + lt_prog_compiler_wl='-Wl,';;
  32768. + esac
  32769. + ;;
  32770. +
  32771. + sunos4*)
  32772. + lt_prog_compiler_wl='-Qoption ld '
  32773. + lt_prog_compiler_pic='-PIC'
  32774. + lt_prog_compiler_static='-Bstatic'
  32775. + ;;
  32776. +
  32777. + sysv4 | sysv4.2uw2* | sysv4.3*)
  32778. + lt_prog_compiler_wl='-Wl,'
  32779. + lt_prog_compiler_pic='-KPIC'
  32780. + lt_prog_compiler_static='-Bstatic'
  32781. + ;;
  32782. +
  32783. + sysv4*MP*)
  32784. + if test -d /usr/nec; then
  32785. + lt_prog_compiler_pic='-Kconform_pic'
  32786. + lt_prog_compiler_static='-Bstatic'
  32787. + fi
  32788. + ;;
  32789. +
  32790. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  32791. + lt_prog_compiler_wl='-Wl,'
  32792. + lt_prog_compiler_pic='-KPIC'
  32793. + lt_prog_compiler_static='-Bstatic'
  32794. + ;;
  32795. +
  32796. + unicos*)
  32797. + lt_prog_compiler_wl='-Wl,'
  32798. + lt_prog_compiler_can_build_shared=no
  32799. + ;;
  32800. +
  32801. + uts4*)
  32802. + lt_prog_compiler_pic='-pic'
  32803. + lt_prog_compiler_static='-Bstatic'
  32804. + ;;
  32805. +
  32806. + *)
  32807. + lt_prog_compiler_can_build_shared=no
  32808. + ;;
  32809. + esac
  32810. + fi
  32811. +
  32812. +case $host_os in
  32813. + # For platforms that do not support PIC, -DPIC is meaningless:
  32814. + *djgpp*)
  32815. + lt_prog_compiler_pic=
  32816. + ;;
  32817. + *)
  32818. + lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
  32819. + ;;
  32820. +esac
  32821. +
  32822. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  32823. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  32824. +if ${lt_cv_prog_compiler_pic+:} false; then :
  32825. + $as_echo_n "(cached) " >&6
  32826. +else
  32827. + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  32828. +fi
  32829. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  32830. +$as_echo "$lt_cv_prog_compiler_pic" >&6; }
  32831. +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  32832. +
  32833. +#
  32834. +# Check to make sure the PIC flag actually works.
  32835. +#
  32836. +if test -n "$lt_prog_compiler_pic"; then
  32837. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  32838. +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  32839. +if ${lt_cv_prog_compiler_pic_works+:} false; then :
  32840. + $as_echo_n "(cached) " >&6
  32841. +else
  32842. + lt_cv_prog_compiler_pic_works=no
  32843. + ac_outfile=conftest.$ac_objext
  32844. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  32845. + lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
  32846. + # Insert the option either (1) after the last *FLAGS variable, or
  32847. + # (2) before a word containing "conftest.", or (3) at the end.
  32848. + # Note that $ac_compile itself does not contain backslashes and begins
  32849. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  32850. + # The option is referenced via a variable to avoid confusing sed.
  32851. + lt_compile=`echo "$ac_compile" | $SED \
  32852. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  32853. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  32854. + -e 's:$: $lt_compiler_flag:'`
  32855. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  32856. + (eval "$lt_compile" 2>conftest.err)
  32857. + ac_status=$?
  32858. + cat conftest.err >&5
  32859. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  32860. + if (exit $ac_status) && test -s "$ac_outfile"; then
  32861. + # The compiler can only warn and ignore the option if not recognized
  32862. + # So say no if there are warnings other than the usual output.
  32863. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  32864. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  32865. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  32866. + lt_cv_prog_compiler_pic_works=yes
  32867. + fi
  32868. + fi
  32869. + $RM conftest*
  32870. +
  32871. +fi
  32872. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  32873. +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  32874. +
  32875. +if test yes = "$lt_cv_prog_compiler_pic_works"; then
  32876. + case $lt_prog_compiler_pic in
  32877. + "" | " "*) ;;
  32878. + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  32879. + esac
  32880. +else
  32881. + lt_prog_compiler_pic=
  32882. + lt_prog_compiler_can_build_shared=no
  32883. +fi
  32884. +
  32885. +fi
  32886. +
  32887. +
  32888. +
  32889. +
  32890. +
  32891. +
  32892. +
  32893. +
  32894. +
  32895. +
  32896. +
  32897. +#
  32898. +# Check to make sure the static flag actually works.
  32899. +#
  32900. +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  32901. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  32902. +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  32903. +if ${lt_cv_prog_compiler_static_works+:} false; then :
  32904. + $as_echo_n "(cached) " >&6
  32905. +else
  32906. + lt_cv_prog_compiler_static_works=no
  32907. + save_LDFLAGS=$LDFLAGS
  32908. + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  32909. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  32910. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  32911. + # The linker can only warn and ignore the option if not recognized
  32912. + # So say no if there are warnings
  32913. + if test -s conftest.err; then
  32914. + # Append any errors to the config.log.
  32915. + cat conftest.err 1>&5
  32916. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  32917. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  32918. + if diff conftest.exp conftest.er2 >/dev/null; then
  32919. + lt_cv_prog_compiler_static_works=yes
  32920. + fi
  32921. + else
  32922. + lt_cv_prog_compiler_static_works=yes
  32923. + fi
  32924. + fi
  32925. + $RM -r conftest*
  32926. + LDFLAGS=$save_LDFLAGS
  32927. +
  32928. +fi
  32929. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  32930. +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  32931. +
  32932. +if test yes = "$lt_cv_prog_compiler_static_works"; then
  32933. + :
  32934. +else
  32935. + lt_prog_compiler_static=
  32936. +fi
  32937. +
  32938. +
  32939. +
  32940. +
  32941. +
  32942. +
  32943. +
  32944. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  32945. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  32946. +if ${lt_cv_prog_compiler_c_o+:} false; then :
  32947. + $as_echo_n "(cached) " >&6
  32948. +else
  32949. + lt_cv_prog_compiler_c_o=no
  32950. + $RM -r conftest 2>/dev/null
  32951. + mkdir conftest
  32952. + cd conftest
  32953. + mkdir out
  32954. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  32955. +
  32956. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  32957. + # Insert the option either (1) after the last *FLAGS variable, or
  32958. + # (2) before a word containing "conftest.", or (3) at the end.
  32959. + # Note that $ac_compile itself does not contain backslashes and begins
  32960. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  32961. + lt_compile=`echo "$ac_compile" | $SED \
  32962. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  32963. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  32964. + -e 's:$: $lt_compiler_flag:'`
  32965. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  32966. + (eval "$lt_compile" 2>out/conftest.err)
  32967. + ac_status=$?
  32968. + cat out/conftest.err >&5
  32969. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  32970. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  32971. + then
  32972. + # The compiler can only warn and ignore the option if not recognized
  32973. + # So say no if there are warnings
  32974. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  32975. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  32976. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  32977. + lt_cv_prog_compiler_c_o=yes
  32978. + fi
  32979. + fi
  32980. + chmod u+w . 2>&5
  32981. + $RM conftest*
  32982. + # SGI C++ compiler will create directory out/ii_files/ for
  32983. + # template instantiation
  32984. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  32985. + $RM out/* && rmdir out
  32986. + cd ..
  32987. + $RM -r conftest
  32988. + $RM conftest*
  32989. +
  32990. +fi
  32991. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  32992. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  32993. +
  32994. +
  32995. +
  32996. +
  32997. +
  32998. +
  32999. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  33000. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  33001. +if ${lt_cv_prog_compiler_c_o+:} false; then :
  33002. + $as_echo_n "(cached) " >&6
  33003. +else
  33004. + lt_cv_prog_compiler_c_o=no
  33005. + $RM -r conftest 2>/dev/null
  33006. + mkdir conftest
  33007. + cd conftest
  33008. + mkdir out
  33009. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  33010. +
  33011. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  33012. + # Insert the option either (1) after the last *FLAGS variable, or
  33013. + # (2) before a word containing "conftest.", or (3) at the end.
  33014. + # Note that $ac_compile itself does not contain backslashes and begins
  33015. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  33016. + lt_compile=`echo "$ac_compile" | $SED \
  33017. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  33018. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  33019. + -e 's:$: $lt_compiler_flag:'`
  33020. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  33021. + (eval "$lt_compile" 2>out/conftest.err)
  33022. + ac_status=$?
  33023. + cat out/conftest.err >&5
  33024. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33025. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  33026. + then
  33027. + # The compiler can only warn and ignore the option if not recognized
  33028. + # So say no if there are warnings
  33029. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  33030. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  33031. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  33032. + lt_cv_prog_compiler_c_o=yes
  33033. + fi
  33034. + fi
  33035. + chmod u+w . 2>&5
  33036. + $RM conftest*
  33037. + # SGI C++ compiler will create directory out/ii_files/ for
  33038. + # template instantiation
  33039. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  33040. + $RM out/* && rmdir out
  33041. + cd ..
  33042. + $RM -r conftest
  33043. + $RM conftest*
  33044. +
  33045. +fi
  33046. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  33047. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  33048. +
  33049. +
  33050. +
  33051. +
  33052. +hard_links=nottested
  33053. +if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
  33054. + # do not overwrite the value of need_locks provided by the user
  33055. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  33056. +$as_echo_n "checking if we can lock with hard links... " >&6; }
  33057. + hard_links=yes
  33058. + $RM conftest*
  33059. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  33060. + touch conftest.a
  33061. + ln conftest.a conftest.b 2>&5 || hard_links=no
  33062. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  33063. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  33064. +$as_echo "$hard_links" >&6; }
  33065. + if test no = "$hard_links"; then
  33066. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
  33067. +$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
  33068. + need_locks=warn
  33069. + fi
  33070. +else
  33071. + need_locks=no
  33072. +fi
  33073. +
  33074. +
  33075. +
  33076. +
  33077. +
  33078. +
  33079. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  33080. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  33081. +
  33082. + runpath_var=
  33083. + allow_undefined_flag=
  33084. + always_export_symbols=no
  33085. + archive_cmds=
  33086. + archive_expsym_cmds=
  33087. + compiler_needs_object=no
  33088. + enable_shared_with_static_runtimes=no
  33089. + export_dynamic_flag_spec=
  33090. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  33091. + hardcode_automatic=no
  33092. + hardcode_direct=no
  33093. + hardcode_direct_absolute=no
  33094. + hardcode_libdir_flag_spec=
  33095. + hardcode_libdir_separator=
  33096. + hardcode_minus_L=no
  33097. + hardcode_shlibpath_var=unsupported
  33098. + inherit_rpath=no
  33099. + link_all_deplibs=unknown
  33100. + module_cmds=
  33101. + module_expsym_cmds=
  33102. + old_archive_from_new_cmds=
  33103. + old_archive_from_expsyms_cmds=
  33104. + thread_safe_flag_spec=
  33105. + whole_archive_flag_spec=
  33106. + # include_expsyms should be a list of space-separated symbols to be *always*
  33107. + # included in the symbol list
  33108. + include_expsyms=
  33109. + # exclude_expsyms can be an extended regexp of symbols to exclude
  33110. + # it will be wrapped by ' (' and ')$', so one must not match beginning or
  33111. + # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
  33112. + # as well as any symbol that contains 'd'.
  33113. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  33114. + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  33115. + # platforms (ab)use it in PIC code, but their linkers get confused if
  33116. + # the symbol is explicitly referenced. Since portable code cannot
  33117. + # rely on this symbol name, it's probably fine to never include it in
  33118. + # preloaded symbol tables.
  33119. + # Exclude shared library initialization/finalization symbols.
  33120. + extract_expsyms_cmds=
  33121. +
  33122. + case $host_os in
  33123. + cygwin* | mingw* | pw32* | cegcc*)
  33124. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  33125. + # When not using gcc, we currently assume that we are using
  33126. + # Microsoft Visual C++.
  33127. + if test yes != "$GCC"; then
  33128. + with_gnu_ld=no
  33129. + fi
  33130. + ;;
  33131. + interix*)
  33132. + # we just hope/assume this is gcc and not c89 (= MSVC++)
  33133. + with_gnu_ld=yes
  33134. + ;;
  33135. + openbsd* | bitrig*)
  33136. + with_gnu_ld=no
  33137. + ;;
  33138. + esac
  33139. +
  33140. + ld_shlibs=yes
  33141. +
  33142. + # On some targets, GNU ld is compatible enough with the native linker
  33143. + # that we're better off using the native interface for both.
  33144. + lt_use_gnu_ld_interface=no
  33145. + if test yes = "$with_gnu_ld"; then
  33146. + case $host_os in
  33147. + aix*)
  33148. + # The AIX port of GNU ld has always aspired to compatibility
  33149. + # with the native linker. However, as the warning in the GNU ld
  33150. + # block says, versions before 2.19.5* couldn't really create working
  33151. + # shared libraries, regardless of the interface used.
  33152. + case `$LD -v 2>&1` in
  33153. + *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  33154. + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  33155. + *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  33156. + *)
  33157. + lt_use_gnu_ld_interface=yes
  33158. + ;;
  33159. + esac
  33160. + ;;
  33161. + *)
  33162. + lt_use_gnu_ld_interface=yes
  33163. + ;;
  33164. + esac
  33165. + fi
  33166. +
  33167. + if test yes = "$lt_use_gnu_ld_interface"; then
  33168. + # If archive_cmds runs LD, not CC, wlarc should be empty
  33169. + wlarc='$wl'
  33170. +
  33171. + # Set some defaults for GNU ld with shared library support. These
  33172. + # are reset later if shared libraries are not supported. Putting them
  33173. + # here allows them to be overridden if necessary.
  33174. + runpath_var=LD_RUN_PATH
  33175. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  33176. + export_dynamic_flag_spec='$wl--export-dynamic'
  33177. + # ancient GNU ld didn't support --whole-archive et. al.
  33178. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  33179. + whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  33180. + else
  33181. + whole_archive_flag_spec=
  33182. + fi
  33183. + supports_anon_versioning=no
  33184. + case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
  33185. + *GNU\ gold*) supports_anon_versioning=yes ;;
  33186. + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  33187. + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  33188. + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  33189. + *\ 2.11.*) ;; # other 2.11 versions
  33190. + *) supports_anon_versioning=yes ;;
  33191. + esac
  33192. +
  33193. + # See if GNU ld supports shared libraries.
  33194. + case $host_os in
  33195. + aix[3-9]*)
  33196. + # On AIX/PPC, the GNU linker is very broken
  33197. + if test ia64 != "$host_cpu"; then
  33198. + ld_shlibs=no
  33199. + cat <<_LT_EOF 1>&2
  33200. +
  33201. +*** Warning: the GNU linker, at least up to release 2.19, is reported
  33202. +*** to be unable to reliably create shared libraries on AIX.
  33203. +*** Therefore, libtool is disabling shared libraries support. If you
  33204. +*** really care for shared libraries, you may want to install binutils
  33205. +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  33206. +*** You will then need to restart the configuration process.
  33207. +
  33208. +_LT_EOF
  33209. + fi
  33210. + ;;
  33211. +
  33212. + amigaos*)
  33213. + case $host_cpu in
  33214. + powerpc)
  33215. + # see comment about AmigaOS4 .so support
  33216. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33217. + archive_expsym_cmds=''
  33218. + ;;
  33219. + m68k)
  33220. + 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)'
  33221. + hardcode_libdir_flag_spec='-L$libdir'
  33222. + hardcode_minus_L=yes
  33223. + ;;
  33224. + esac
  33225. + ;;
  33226. +
  33227. + beos*)
  33228. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  33229. + allow_undefined_flag=unsupported
  33230. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  33231. + # support --undefined. This deserves some investigation. FIXME
  33232. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33233. + else
  33234. + ld_shlibs=no
  33235. + fi
  33236. + ;;
  33237. +
  33238. + cygwin* | mingw* | pw32* | cegcc*)
  33239. + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  33240. + # as there is no search path for DLLs.
  33241. + hardcode_libdir_flag_spec='-L$libdir'
  33242. + export_dynamic_flag_spec='$wl--export-all-symbols'
  33243. + allow_undefined_flag=unsupported
  33244. + always_export_symbols=no
  33245. + enable_shared_with_static_runtimes=yes
  33246. + 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'
  33247. + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  33248. +
  33249. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  33250. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  33251. + # If the export-symbols file already is a .def file, use it as
  33252. + # is; otherwise, prepend EXPORTS...
  33253. + archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  33254. + cp $export_symbols $output_objdir/$soname.def;
  33255. + else
  33256. + echo EXPORTS > $output_objdir/$soname.def;
  33257. + cat $export_symbols >> $output_objdir/$soname.def;
  33258. + fi~
  33259. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  33260. + else
  33261. + ld_shlibs=no
  33262. + fi
  33263. + ;;
  33264. +
  33265. + haiku*)
  33266. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33267. + link_all_deplibs=yes
  33268. + ;;
  33269. +
  33270. + os2*)
  33271. + hardcode_libdir_flag_spec='-L$libdir'
  33272. + hardcode_minus_L=yes
  33273. + allow_undefined_flag=unsupported
  33274. + shrext_cmds=.dll
  33275. + archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  33276. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  33277. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  33278. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  33279. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  33280. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  33281. + emximp -o $lib $output_objdir/$libname.def'
  33282. + archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  33283. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  33284. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  33285. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  33286. + prefix_cmds="$SED"~
  33287. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  33288. + prefix_cmds="$prefix_cmds -e 1d";
  33289. + fi~
  33290. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  33291. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  33292. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  33293. + emximp -o $lib $output_objdir/$libname.def'
  33294. + old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  33295. + enable_shared_with_static_runtimes=yes
  33296. + ;;
  33297. +
  33298. + interix[3-9]*)
  33299. + hardcode_direct=no
  33300. + hardcode_shlibpath_var=no
  33301. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  33302. + export_dynamic_flag_spec='$wl-E'
  33303. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  33304. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  33305. + # default) and relocated if they conflict, which is a slow very memory
  33306. + # consuming and fragmenting process. To avoid this, we pick a random,
  33307. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  33308. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  33309. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  33310. + 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'
  33311. + ;;
  33312. +
  33313. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  33314. + tmp_diet=no
  33315. + if test linux-dietlibc = "$host_os"; then
  33316. + case $cc_basename in
  33317. + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  33318. + esac
  33319. + fi
  33320. + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  33321. + && test no = "$tmp_diet"
  33322. + then
  33323. + tmp_addflag=' $pic_flag'
  33324. + tmp_sharedflag='-shared'
  33325. + case $cc_basename,$host_cpu in
  33326. + pgcc*) # Portland Group C compiler
  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'
  33329. + ;;
  33330. + pgf77* | pgf90* | pgf95* | pgfortran*)
  33331. + # Portland Group f77 and f90 compilers
  33332. + 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'
  33333. + tmp_addflag=' $pic_flag -Mnomain' ;;
  33334. + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  33335. + tmp_addflag=' -i_dynamic' ;;
  33336. + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  33337. + tmp_addflag=' -i_dynamic -nofor_main' ;;
  33338. + ifc* | ifort*) # Intel Fortran compiler
  33339. + tmp_addflag=' -nofor_main' ;;
  33340. + lf95*) # Lahey Fortran 8.1
  33341. + whole_archive_flag_spec=
  33342. + tmp_sharedflag='--shared' ;;
  33343. + nagfor*) # NAGFOR 5.3
  33344. + tmp_sharedflag='-Wl,-shared' ;;
  33345. + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  33346. + tmp_sharedflag='-qmkshrobj'
  33347. + tmp_addflag= ;;
  33348. + nvcc*) # Cuda Compiler Driver 2.2
  33349. + 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'
  33350. + compiler_needs_object=yes
  33351. + ;;
  33352. + esac
  33353. + case `$CC -V 2>&1 | sed 5q` in
  33354. + *Sun\ C*) # Sun C 5.9
  33355. + 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'
  33356. + compiler_needs_object=yes
  33357. + tmp_sharedflag='-G' ;;
  33358. + *Sun\ F*) # Sun Fortran 8.3
  33359. + tmp_sharedflag='-G' ;;
  33360. + esac
  33361. + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33362. +
  33363. + if test yes = "$supports_anon_versioning"; then
  33364. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  33365. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  33366. + echo "local: *; };" >> $output_objdir/$libname.ver~
  33367. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  33368. + fi
  33369. +
  33370. + case $cc_basename in
  33371. + tcc*)
  33372. + export_dynamic_flag_spec='-rdynamic'
  33373. + ;;
  33374. + xlf* | bgf* | bgxlf* | mpixlf*)
  33375. + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  33376. + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  33377. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  33378. + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  33379. + if test yes = "$supports_anon_versioning"; then
  33380. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  33381. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  33382. + echo "local: *; };" >> $output_objdir/$libname.ver~
  33383. + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  33384. + fi
  33385. + ;;
  33386. + esac
  33387. + else
  33388. + ld_shlibs=no
  33389. + fi
  33390. + ;;
  33391. +
  33392. + netbsd*)
  33393. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  33394. + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  33395. + wlarc=
  33396. + else
  33397. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33398. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  33399. + fi
  33400. + ;;
  33401. +
  33402. + solaris*)
  33403. + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  33404. + ld_shlibs=no
  33405. + cat <<_LT_EOF 1>&2
  33406. +
  33407. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  33408. +*** create shared libraries on Solaris systems. Therefore, libtool
  33409. +*** is disabling shared libraries support. We urge you to upgrade GNU
  33410. +*** binutils to release 2.9.1 or newer. Another option is to modify
  33411. +*** your PATH or compiler configuration so that the native linker is
  33412. +*** used, and then restart.
  33413. +
  33414. +_LT_EOF
  33415. + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  33416. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33417. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  33418. + else
  33419. + ld_shlibs=no
  33420. + fi
  33421. + ;;
  33422. +
  33423. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  33424. + case `$LD -v 2>&1` in
  33425. + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  33426. + ld_shlibs=no
  33427. + cat <<_LT_EOF 1>&2
  33428. +
  33429. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
  33430. +*** reliably create shared libraries on SCO systems. Therefore, libtool
  33431. +*** is disabling shared libraries support. We urge you to upgrade GNU
  33432. +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  33433. +*** your PATH or compiler configuration so that the native linker is
  33434. +*** used, and then restart.
  33435. +
  33436. +_LT_EOF
  33437. + ;;
  33438. + *)
  33439. + # For security reasons, it is highly recommended that you always
  33440. + # use absolute paths for naming shared libraries, and exclude the
  33441. + # DT_RUNPATH tag from executables and libraries. But doing so
  33442. + # requires that you compile everything twice, which is a pain.
  33443. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  33444. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  33445. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33446. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  33447. + else
  33448. + ld_shlibs=no
  33449. + fi
  33450. + ;;
  33451. + esac
  33452. + ;;
  33453. +
  33454. + sunos4*)
  33455. + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  33456. + wlarc=
  33457. + hardcode_direct=yes
  33458. + hardcode_shlibpath_var=no
  33459. + ;;
  33460. +
  33461. + *)
  33462. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  33463. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33464. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  33465. + else
  33466. + ld_shlibs=no
  33467. + fi
  33468. + ;;
  33469. + esac
  33470. +
  33471. + if test no = "$ld_shlibs"; then
  33472. + runpath_var=
  33473. + hardcode_libdir_flag_spec=
  33474. + export_dynamic_flag_spec=
  33475. + whole_archive_flag_spec=
  33476. + fi
  33477. + else
  33478. + # PORTME fill in a description of your system's linker (not GNU ld)
  33479. + case $host_os in
  33480. + aix3*)
  33481. + allow_undefined_flag=unsupported
  33482. + always_export_symbols=yes
  33483. + 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'
  33484. + # Note: this linker hardcodes the directories in LIBPATH if there
  33485. + # are no directories specified by -L.
  33486. + hardcode_minus_L=yes
  33487. + if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
  33488. + # Neither direct hardcoding nor static linking is supported with a
  33489. + # broken collect2.
  33490. + hardcode_direct=unsupported
  33491. + fi
  33492. + ;;
  33493. +
  33494. + aix[4-9]*)
  33495. + if test ia64 = "$host_cpu"; then
  33496. + # On IA64, the linker does run time linking by default, so we don't
  33497. + # have to do anything special.
  33498. + aix_use_runtimelinking=no
  33499. + exp_sym_flag='-Bexport'
  33500. + no_entry_flag=
  33501. + else
  33502. + # If we're using GNU nm, then we don't want the "-C" option.
  33503. + # -C means demangle to GNU nm, but means don't demangle to AIX nm.
  33504. + # Without the "-l" option, or with the "-B" option, AIX nm treats
  33505. + # weak defined symbols like other global defined symbols, whereas
  33506. + # GNU nm marks them as "W".
  33507. + # While the 'weak' keyword is ignored in the Export File, we need
  33508. + # it in the Import File for the 'aix-soname' feature, so we have
  33509. + # to replace the "-B" option with "-P" for AIX nm.
  33510. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  33511. + 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'
  33512. + else
  33513. + 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'
  33514. + fi
  33515. + aix_use_runtimelinking=no
  33516. +
  33517. + # Test if we are trying to use run time linking or normal
  33518. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  33519. + # have runtime linking enabled, and use it for executables.
  33520. + # For shared libraries, we enable/disable runtime linking
  33521. + # depending on the kind of the shared library created -
  33522. + # when "with_aix_soname,aix_use_runtimelinking" is:
  33523. + # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
  33524. + # "aix,yes" lib.so shared, rtl:yes, for executables
  33525. + # lib.a static archive
  33526. + # "both,no" lib.so.V(shr.o) shared, rtl:yes
  33527. + # lib.a(lib.so.V) shared, rtl:no, for executables
  33528. + # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
  33529. + # lib.a(lib.so.V) shared, rtl:no
  33530. + # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
  33531. + # lib.a static archive
  33532. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  33533. + for ld_flag in $LDFLAGS; do
  33534. + if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
  33535. + aix_use_runtimelinking=yes
  33536. + break
  33537. + fi
  33538. + done
  33539. + if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
  33540. + # With aix-soname=svr4, we create the lib.so.V shared archives only,
  33541. + # so we don't have lib.a shared libs to link our executables.
  33542. + # We have to force runtime linking in this case.
  33543. + aix_use_runtimelinking=yes
  33544. + LDFLAGS="$LDFLAGS -Wl,-brtl"
  33545. + fi
  33546. + ;;
  33547. + esac
  33548. +
  33549. + exp_sym_flag='-bexport'
  33550. + no_entry_flag='-bnoentry'
  33551. + fi
  33552. +
  33553. + # When large executables or shared objects are built, AIX ld can
  33554. + # have problems creating the table of contents. If linking a library
  33555. + # or program results in "error TOC overflow" add -mminimal-toc to
  33556. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  33557. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  33558. +
  33559. + archive_cmds=''
  33560. + hardcode_direct=yes
  33561. + hardcode_direct_absolute=yes
  33562. + hardcode_libdir_separator=':'
  33563. + link_all_deplibs=yes
  33564. + file_list_spec='$wl-f,'
  33565. + case $with_aix_soname,$aix_use_runtimelinking in
  33566. + aix,*) ;; # traditional, no import file
  33567. + svr4,* | *,yes) # use import file
  33568. + # The Import File defines what to hardcode.
  33569. + hardcode_direct=no
  33570. + hardcode_direct_absolute=no
  33571. + ;;
  33572. + esac
  33573. +
  33574. + if test yes = "$GCC"; then
  33575. + case $host_os in aix4.[012]|aix4.[012].*)
  33576. + # We only want to do this on AIX 4.2 and lower, the check
  33577. + # below for broken collect2 doesn't work under 4.3+
  33578. + collect2name=`$CC -print-prog-name=collect2`
  33579. + if test -f "$collect2name" &&
  33580. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  33581. + then
  33582. + # We have reworked collect2
  33583. + :
  33584. + else
  33585. + # We have old collect2
  33586. + hardcode_direct=unsupported
  33587. + # It fails to find uninstalled libraries when the uninstalled
  33588. + # path is not listed in the libpath. Setting hardcode_minus_L
  33589. + # to unsupported forces relinking
  33590. + hardcode_minus_L=yes
  33591. + hardcode_libdir_flag_spec='-L$libdir'
  33592. + hardcode_libdir_separator=
  33593. + fi
  33594. + ;;
  33595. + esac
  33596. + shared_flag='-shared'
  33597. + if test yes = "$aix_use_runtimelinking"; then
  33598. + shared_flag="$shared_flag "'$wl-G'
  33599. + fi
  33600. + # Need to ensure runtime linking is disabled for the traditional
  33601. + # shared library, or the linker may eventually find shared libraries
  33602. + # /with/ Import File - we do not want to mix them.
  33603. + shared_flag_aix='-shared'
  33604. + shared_flag_svr4='-shared $wl-G'
  33605. + else
  33606. + # not using gcc
  33607. + if test ia64 = "$host_cpu"; then
  33608. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  33609. + # chokes on -Wl,-G. The following line is correct:
  33610. + shared_flag='-G'
  33611. + else
  33612. + if test yes = "$aix_use_runtimelinking"; then
  33613. + shared_flag='$wl-G'
  33614. + else
  33615. + shared_flag='$wl-bM:SRE'
  33616. + fi
  33617. + shared_flag_aix='$wl-bM:SRE'
  33618. + shared_flag_svr4='$wl-G'
  33619. + fi
  33620. + fi
  33621. +
  33622. + export_dynamic_flag_spec='$wl-bexpall'
  33623. + # It seems that -bexpall does not export symbols beginning with
  33624. + # underscore (_), so it is better to generate a list of symbols to export.
  33625. + always_export_symbols=yes
  33626. + if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
  33627. + # Warning - without using the other runtime loading flags (-brtl),
  33628. + # -berok will link without error, but may produce a broken library.
  33629. + allow_undefined_flag='-berok'
  33630. + # Determine the default libpath from the value encoded in an
  33631. + # empty executable.
  33632. + if test set = "${lt_cv_aix_libpath+set}"; then
  33633. + aix_libpath=$lt_cv_aix_libpath
  33634. +else
  33635. + if ${lt_cv_aix_libpath_+:} false; then :
  33636. + $as_echo_n "(cached) " >&6
  33637. +else
  33638. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33639. +/* end confdefs.h. */
  33640. +
  33641. +int
  33642. +main ()
  33643. +{
  33644. +
  33645. + ;
  33646. + return 0;
  33647. +}
  33648. +_ACEOF
  33649. +if ac_fn_c_try_link "$LINENO"; then :
  33650. +
  33651. + lt_aix_libpath_sed='
  33652. + /Import File Strings/,/^$/ {
  33653. + /^0/ {
  33654. + s/^0 *\([^ ]*\) *$/\1/
  33655. + p
  33656. + }
  33657. + }'
  33658. + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  33659. + # Check for a 64-bit object if we didn't find anything.
  33660. + if test -z "$lt_cv_aix_libpath_"; then
  33661. + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  33662. + fi
  33663. +fi
  33664. +rm -f core conftest.err conftest.$ac_objext \
  33665. + conftest$ac_exeext conftest.$ac_ext
  33666. + if test -z "$lt_cv_aix_libpath_"; then
  33667. + lt_cv_aix_libpath_=/usr/lib:/lib
  33668. + fi
  33669. +
  33670. +fi
  33671. +
  33672. + aix_libpath=$lt_cv_aix_libpath_
  33673. +fi
  33674. +
  33675. + hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  33676. + 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
  33677. + else
  33678. + if test ia64 = "$host_cpu"; then
  33679. + hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
  33680. + allow_undefined_flag="-z nodefs"
  33681. + 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"
  33682. + else
  33683. + # Determine the default libpath from the value encoded in an
  33684. + # empty executable.
  33685. + if test set = "${lt_cv_aix_libpath+set}"; then
  33686. + aix_libpath=$lt_cv_aix_libpath
  33687. +else
  33688. + if ${lt_cv_aix_libpath_+:} false; then :
  33689. + $as_echo_n "(cached) " >&6
  33690. +else
  33691. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33692. +/* end confdefs.h. */
  33693. +
  33694. +int
  33695. +main ()
  33696. +{
  33697. +
  33698. + ;
  33699. + return 0;
  33700. +}
  33701. +_ACEOF
  33702. +if ac_fn_c_try_link "$LINENO"; then :
  33703. +
  33704. + lt_aix_libpath_sed='
  33705. + /Import File Strings/,/^$/ {
  33706. + /^0/ {
  33707. + s/^0 *\([^ ]*\) *$/\1/
  33708. + p
  33709. + }
  33710. + }'
  33711. + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  33712. + # Check for a 64-bit object if we didn't find anything.
  33713. + if test -z "$lt_cv_aix_libpath_"; then
  33714. + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  33715. + fi
  33716. +fi
  33717. +rm -f core conftest.err conftest.$ac_objext \
  33718. + conftest$ac_exeext conftest.$ac_ext
  33719. + if test -z "$lt_cv_aix_libpath_"; then
  33720. + lt_cv_aix_libpath_=/usr/lib:/lib
  33721. + fi
  33722. +
  33723. +fi
  33724. +
  33725. + aix_libpath=$lt_cv_aix_libpath_
  33726. +fi
  33727. +
  33728. + hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  33729. + # Warning - without using the other run time loading flags,
  33730. + # -berok will link without error, but may produce a broken library.
  33731. + no_undefined_flag=' $wl-bernotok'
  33732. + allow_undefined_flag=' $wl-berok'
  33733. + if test yes = "$with_gnu_ld"; then
  33734. + # We only use this code for GNU lds that support --whole-archive.
  33735. + whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
  33736. + else
  33737. + # Exported symbols can be pulled into shared objects from archives
  33738. + whole_archive_flag_spec='$convenience'
  33739. + fi
  33740. + archive_cmds_need_lc=yes
  33741. + archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
  33742. + # -brtl affects multiple linker settings, -berok does not and is overridden later
  33743. + compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
  33744. + if test svr4 != "$with_aix_soname"; then
  33745. + # This is similar to how AIX traditionally builds its shared libraries.
  33746. + 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'
  33747. + fi
  33748. + if test aix != "$with_aix_soname"; then
  33749. + 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'
  33750. + else
  33751. + # used by -dlpreopen to get the symbols
  33752. + archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
  33753. + fi
  33754. + archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
  33755. + fi
  33756. + fi
  33757. + ;;
  33758. +
  33759. + amigaos*)
  33760. + case $host_cpu in
  33761. + powerpc)
  33762. + # see comment about AmigaOS4 .so support
  33763. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33764. + archive_expsym_cmds=''
  33765. + ;;
  33766. + m68k)
  33767. + 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)'
  33768. + hardcode_libdir_flag_spec='-L$libdir'
  33769. + hardcode_minus_L=yes
  33770. + ;;
  33771. + esac
  33772. + ;;
  33773. +
  33774. + bsdi[45]*)
  33775. + export_dynamic_flag_spec=-rdynamic
  33776. + ;;
  33777. +
  33778. + cygwin* | mingw* | pw32* | cegcc*)
  33779. + # When not using gcc, we currently assume that we are using
  33780. + # Microsoft Visual C++.
  33781. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  33782. + # no search path for DLLs.
  33783. + case $cc_basename in
  33784. + cl*)
  33785. + # Native MSVC
  33786. + hardcode_libdir_flag_spec=' '
  33787. + allow_undefined_flag=unsupported
  33788. + always_export_symbols=yes
  33789. + file_list_spec='@'
  33790. + # Tell ltmain to make .lib files, not .a files.
  33791. + libext=lib
  33792. + # Tell ltmain to make .dll files, not .so files.
  33793. + shrext_cmds=.dll
  33794. + # FIXME: Setting linknames here is a bad hack.
  33795. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  33796. + archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  33797. + cp "$export_symbols" "$output_objdir/$soname.def";
  33798. + echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  33799. + else
  33800. + $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  33801. + fi~
  33802. + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  33803. + linknames='
  33804. + # The linker will not automatically build a static lib if we build a DLL.
  33805. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  33806. + enable_shared_with_static_runtimes=yes
  33807. + exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  33808. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  33809. + # Don't use ranlib
  33810. + old_postinstall_cmds='chmod 644 $oldlib'
  33811. + postlink_cmds='lt_outputfile="@OUTPUT@"~
  33812. + lt_tool_outputfile="@TOOL_OUTPUT@"~
  33813. + case $lt_outputfile in
  33814. + *.exe|*.EXE) ;;
  33815. + *)
  33816. + lt_outputfile=$lt_outputfile.exe
  33817. + lt_tool_outputfile=$lt_tool_outputfile.exe
  33818. + ;;
  33819. + esac~
  33820. + if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  33821. + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  33822. + $RM "$lt_outputfile.manifest";
  33823. + fi'
  33824. + ;;
  33825. + *)
  33826. + # Assume MSVC wrapper
  33827. + hardcode_libdir_flag_spec=' '
  33828. + allow_undefined_flag=unsupported
  33829. + # Tell ltmain to make .lib files, not .a files.
  33830. + libext=lib
  33831. + # Tell ltmain to make .dll files, not .so files.
  33832. + shrext_cmds=.dll
  33833. + # FIXME: Setting linknames here is a bad hack.
  33834. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  33835. + # The linker will automatically build a .lib file if we build a DLL.
  33836. + old_archive_from_new_cmds='true'
  33837. + # FIXME: Should let the user specify the lib program.
  33838. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  33839. + enable_shared_with_static_runtimes=yes
  33840. + ;;
  33841. + esac
  33842. + ;;
  33843. +
  33844. + darwin* | rhapsody*)
  33845. +
  33846. +
  33847. + archive_cmds_need_lc=no
  33848. + hardcode_direct=no
  33849. + hardcode_automatic=yes
  33850. + hardcode_shlibpath_var=unsupported
  33851. + if test yes = "$lt_cv_ld_force_load"; then
  33852. + 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\"`'
  33853. +
  33854. + else
  33855. + whole_archive_flag_spec=''
  33856. + fi
  33857. + link_all_deplibs=yes
  33858. + allow_undefined_flag=$_lt_dar_allow_undefined
  33859. + case $cc_basename in
  33860. + ifort*|nagfor*) _lt_dar_can_shared=yes ;;
  33861. + *) _lt_dar_can_shared=$GCC ;;
  33862. + esac
  33863. + if test yes = "$_lt_dar_can_shared"; then
  33864. + output_verbose_link_cmd=func_echo_all
  33865. + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
  33866. + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
  33867. + 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"
  33868. + 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"
  33869. +
  33870. + else
  33871. + ld_shlibs=no
  33872. + fi
  33873. +
  33874. + ;;
  33875. +
  33876. + dgux*)
  33877. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  33878. + hardcode_libdir_flag_spec='-L$libdir'
  33879. + hardcode_shlibpath_var=no
  33880. + ;;
  33881. +
  33882. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  33883. + # support. Future versions do this automatically, but an explicit c++rt0.o
  33884. + # does not break anything, and helps significantly (at the cost of a little
  33885. + # extra space).
  33886. + freebsd2.2*)
  33887. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  33888. + hardcode_libdir_flag_spec='-R$libdir'
  33889. + hardcode_direct=yes
  33890. + hardcode_shlibpath_var=no
  33891. + ;;
  33892. +
  33893. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  33894. + freebsd2.*)
  33895. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  33896. + hardcode_direct=yes
  33897. + hardcode_minus_L=yes
  33898. + hardcode_shlibpath_var=no
  33899. + ;;
  33900. +
  33901. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  33902. + freebsd* | dragonfly*)
  33903. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  33904. + hardcode_libdir_flag_spec='-R$libdir'
  33905. + hardcode_direct=yes
  33906. + hardcode_shlibpath_var=no
  33907. + ;;
  33908. +
  33909. + hpux9*)
  33910. + if test yes = "$GCC"; then
  33911. + 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'
  33912. + else
  33913. + 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'
  33914. + fi
  33915. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  33916. + hardcode_libdir_separator=:
  33917. + hardcode_direct=yes
  33918. +
  33919. + # hardcode_minus_L: Not really in the search PATH,
  33920. + # but as the default location of the library.
  33921. + hardcode_minus_L=yes
  33922. + export_dynamic_flag_spec='$wl-E'
  33923. + ;;
  33924. +
  33925. + hpux10*)
  33926. + if test yes,no = "$GCC,$with_gnu_ld"; then
  33927. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  33928. + else
  33929. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  33930. + fi
  33931. + if test no = "$with_gnu_ld"; then
  33932. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  33933. + hardcode_libdir_separator=:
  33934. + hardcode_direct=yes
  33935. + hardcode_direct_absolute=yes
  33936. + export_dynamic_flag_spec='$wl-E'
  33937. + # hardcode_minus_L: Not really in the search PATH,
  33938. + # but as the default location of the library.
  33939. + hardcode_minus_L=yes
  33940. + fi
  33941. + ;;
  33942. +
  33943. + hpux11*)
  33944. + if test yes,no = "$GCC,$with_gnu_ld"; then
  33945. + case $host_cpu in
  33946. + hppa*64*)
  33947. + archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  33948. + ;;
  33949. + ia64*)
  33950. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  33951. + ;;
  33952. + *)
  33953. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  33954. + ;;
  33955. + esac
  33956. + else
  33957. + case $host_cpu in
  33958. + hppa*64*)
  33959. + archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  33960. + ;;
  33961. + ia64*)
  33962. + archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  33963. + ;;
  33964. + *)
  33965. +
  33966. + # Older versions of the 11.00 compiler do not understand -b yet
  33967. + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  33968. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  33969. +$as_echo_n "checking if $CC understands -b... " >&6; }
  33970. +if ${lt_cv_prog_compiler__b+:} false; then :
  33971. + $as_echo_n "(cached) " >&6
  33972. +else
  33973. + lt_cv_prog_compiler__b=no
  33974. + save_LDFLAGS=$LDFLAGS
  33975. + LDFLAGS="$LDFLAGS -b"
  33976. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  33977. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  33978. + # The linker can only warn and ignore the option if not recognized
  33979. + # So say no if there are warnings
  33980. + if test -s conftest.err; then
  33981. + # Append any errors to the config.log.
  33982. + cat conftest.err 1>&5
  33983. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  33984. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  33985. + if diff conftest.exp conftest.er2 >/dev/null; then
  33986. + lt_cv_prog_compiler__b=yes
  33987. + fi
  33988. + else
  33989. + lt_cv_prog_compiler__b=yes
  33990. + fi
  33991. + fi
  33992. + $RM -r conftest*
  33993. + LDFLAGS=$save_LDFLAGS
  33994. +
  33995. +fi
  33996. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  33997. +$as_echo "$lt_cv_prog_compiler__b" >&6; }
  33998. +
  33999. +if test yes = "$lt_cv_prog_compiler__b"; then
  34000. + archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  34001. +else
  34002. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  34003. +fi
  34004. +
  34005. + ;;
  34006. + esac
  34007. + fi
  34008. + if test no = "$with_gnu_ld"; then
  34009. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  34010. + hardcode_libdir_separator=:
  34011. +
  34012. + case $host_cpu in
  34013. + hppa*64*|ia64*)
  34014. + hardcode_direct=no
  34015. + hardcode_shlibpath_var=no
  34016. + ;;
  34017. + *)
  34018. + hardcode_direct=yes
  34019. + hardcode_direct_absolute=yes
  34020. + export_dynamic_flag_spec='$wl-E'
  34021. +
  34022. + # hardcode_minus_L: Not really in the search PATH,
  34023. + # but as the default location of the library.
  34024. + hardcode_minus_L=yes
  34025. + ;;
  34026. + esac
  34027. + fi
  34028. + ;;
  34029. +
  34030. + irix5* | irix6* | nonstopux*)
  34031. + if test yes = "$GCC"; then
  34032. + 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'
  34033. + # Try to use the -exported_symbol ld option, if it does not
  34034. + # work, assume that -exports_file does not work either and
  34035. + # implicitly export all symbols.
  34036. + # This should be the same for all languages, so no per-tag cache variable.
  34037. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  34038. +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  34039. +if ${lt_cv_irix_exported_symbol+:} false; then :
  34040. + $as_echo_n "(cached) " >&6
  34041. +else
  34042. + save_LDFLAGS=$LDFLAGS
  34043. + LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
  34044. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34045. +/* end confdefs.h. */
  34046. +int foo (void) { return 0; }
  34047. +_ACEOF
  34048. +if ac_fn_c_try_link "$LINENO"; then :
  34049. + lt_cv_irix_exported_symbol=yes
  34050. +else
  34051. + lt_cv_irix_exported_symbol=no
  34052. +fi
  34053. +rm -f core conftest.err conftest.$ac_objext \
  34054. + conftest$ac_exeext conftest.$ac_ext
  34055. + LDFLAGS=$save_LDFLAGS
  34056. +fi
  34057. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  34058. +$as_echo "$lt_cv_irix_exported_symbol" >&6; }
  34059. + if test yes = "$lt_cv_irix_exported_symbol"; then
  34060. + 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'
  34061. + fi
  34062. + else
  34063. + 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'
  34064. + 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'
  34065. + fi
  34066. + archive_cmds_need_lc='no'
  34067. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  34068. + hardcode_libdir_separator=:
  34069. + inherit_rpath=yes
  34070. + link_all_deplibs=yes
  34071. + ;;
  34072. +
  34073. + linux*)
  34074. + case $cc_basename in
  34075. + tcc*)
  34076. + # Fabrice Bellard et al's Tiny C Compiler
  34077. + ld_shlibs=yes
  34078. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  34079. + ;;
  34080. + esac
  34081. + ;;
  34082. +
  34083. + netbsd*)
  34084. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  34085. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  34086. + else
  34087. + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  34088. + fi
  34089. + hardcode_libdir_flag_spec='-R$libdir'
  34090. + hardcode_direct=yes
  34091. + hardcode_shlibpath_var=no
  34092. + ;;
  34093. +
  34094. + newsos6)
  34095. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34096. + hardcode_direct=yes
  34097. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  34098. + hardcode_libdir_separator=:
  34099. + hardcode_shlibpath_var=no
  34100. + ;;
  34101. +
  34102. + *nto* | *qnx*)
  34103. + ;;
  34104. +
  34105. + openbsd* | bitrig*)
  34106. + if test -f /usr/libexec/ld.so; then
  34107. + hardcode_direct=yes
  34108. + hardcode_shlibpath_var=no
  34109. + hardcode_direct_absolute=yes
  34110. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  34111. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  34112. + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
  34113. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  34114. + export_dynamic_flag_spec='$wl-E'
  34115. + else
  34116. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  34117. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  34118. + fi
  34119. + else
  34120. + ld_shlibs=no
  34121. + fi
  34122. + ;;
  34123. +
  34124. + os2*)
  34125. + hardcode_libdir_flag_spec='-L$libdir'
  34126. + hardcode_minus_L=yes
  34127. + allow_undefined_flag=unsupported
  34128. + shrext_cmds=.dll
  34129. + archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  34130. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  34131. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  34132. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  34133. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  34134. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  34135. + emximp -o $lib $output_objdir/$libname.def'
  34136. + archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  34137. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  34138. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  34139. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  34140. + prefix_cmds="$SED"~
  34141. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  34142. + prefix_cmds="$prefix_cmds -e 1d";
  34143. + fi~
  34144. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  34145. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  34146. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  34147. + emximp -o $lib $output_objdir/$libname.def'
  34148. + old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  34149. + enable_shared_with_static_runtimes=yes
  34150. + ;;
  34151. +
  34152. + osf3*)
  34153. + if test yes = "$GCC"; then
  34154. + allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  34155. + 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'
  34156. + else
  34157. + allow_undefined_flag=' -expect_unresolved \*'
  34158. + 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'
  34159. + fi
  34160. + archive_cmds_need_lc='no'
  34161. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  34162. + hardcode_libdir_separator=:
  34163. + ;;
  34164. +
  34165. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  34166. + if test yes = "$GCC"; then
  34167. + allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  34168. + 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'
  34169. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  34170. + else
  34171. + allow_undefined_flag=' -expect_unresolved \*'
  34172. + 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'
  34173. + 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~
  34174. + $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'
  34175. +
  34176. + # Both c and cxx compiler support -rpath directly
  34177. + hardcode_libdir_flag_spec='-rpath $libdir'
  34178. + fi
  34179. + archive_cmds_need_lc='no'
  34180. + hardcode_libdir_separator=:
  34181. + ;;
  34182. +
  34183. + solaris*)
  34184. + no_undefined_flag=' -z defs'
  34185. + if test yes = "$GCC"; then
  34186. + wlarc='$wl'
  34187. + archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  34188. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  34189. + $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'
  34190. + else
  34191. + case `$CC -V 2>&1` in
  34192. + *"Compilers 5.0"*)
  34193. + wlarc=''
  34194. + archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34195. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  34196. + $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  34197. + ;;
  34198. + *)
  34199. + wlarc='$wl'
  34200. + archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  34201. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  34202. + $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  34203. + ;;
  34204. + esac
  34205. + fi
  34206. + hardcode_libdir_flag_spec='-R$libdir'
  34207. + hardcode_shlibpath_var=no
  34208. + case $host_os in
  34209. + solaris2.[0-5] | solaris2.[0-5].*) ;;
  34210. + *)
  34211. + # The compiler driver will combine and reorder linker options,
  34212. + # but understands '-z linker_flag'. GCC discards it without '$wl',
  34213. + # but is careful enough not to reorder.
  34214. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  34215. + if test yes = "$GCC"; then
  34216. + whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  34217. + else
  34218. + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  34219. + fi
  34220. + ;;
  34221. + esac
  34222. + link_all_deplibs=yes
  34223. + ;;
  34224. +
  34225. + sunos4*)
  34226. + if test sequent = "$host_vendor"; then
  34227. + # Use $CC to link under sequent, because it throws in some extra .o
  34228. + # files that make .init and .fini sections work.
  34229. + archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  34230. + else
  34231. + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  34232. + fi
  34233. + hardcode_libdir_flag_spec='-L$libdir'
  34234. + hardcode_direct=yes
  34235. + hardcode_minus_L=yes
  34236. + hardcode_shlibpath_var=no
  34237. + ;;
  34238. +
  34239. + sysv4)
  34240. + case $host_vendor in
  34241. + sni)
  34242. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34243. + hardcode_direct=yes # is this really true???
  34244. + ;;
  34245. + siemens)
  34246. + ## LD is ld it makes a PLAMLIB
  34247. + ## CC just makes a GrossModule.
  34248. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  34249. + reload_cmds='$CC -r -o $output$reload_objs'
  34250. + hardcode_direct=no
  34251. + ;;
  34252. + motorola)
  34253. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34254. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  34255. + ;;
  34256. + esac
  34257. + runpath_var='LD_RUN_PATH'
  34258. + hardcode_shlibpath_var=no
  34259. + ;;
  34260. +
  34261. + sysv4.3*)
  34262. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34263. + hardcode_shlibpath_var=no
  34264. + export_dynamic_flag_spec='-Bexport'
  34265. + ;;
  34266. +
  34267. + sysv4*MP*)
  34268. + if test -d /usr/nec; then
  34269. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34270. + hardcode_shlibpath_var=no
  34271. + runpath_var=LD_RUN_PATH
  34272. + hardcode_runpath_var=yes
  34273. + ld_shlibs=yes
  34274. + fi
  34275. + ;;
  34276. +
  34277. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  34278. + no_undefined_flag='$wl-z,text'
  34279. + archive_cmds_need_lc=no
  34280. + hardcode_shlibpath_var=no
  34281. + runpath_var='LD_RUN_PATH'
  34282. +
  34283. + if test yes = "$GCC"; then
  34284. + archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34285. + archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34286. + else
  34287. + archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34288. + archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34289. + fi
  34290. + ;;
  34291. +
  34292. + sysv5* | sco3.2v5* | sco5v6*)
  34293. + # Note: We CANNOT use -z defs as we might desire, because we do not
  34294. + # link with -lc, and that would cause any symbols used from libc to
  34295. + # always be unresolved, which means just about no library would
  34296. + # ever link correctly. If we're not using GNU ld we use -z text
  34297. + # though, which does catch some bad symbols but isn't as heavy-handed
  34298. + # as -z defs.
  34299. + no_undefined_flag='$wl-z,text'
  34300. + allow_undefined_flag='$wl-z,nodefs'
  34301. + archive_cmds_need_lc=no
  34302. + hardcode_shlibpath_var=no
  34303. + hardcode_libdir_flag_spec='$wl-R,$libdir'
  34304. + hardcode_libdir_separator=':'
  34305. + link_all_deplibs=yes
  34306. + export_dynamic_flag_spec='$wl-Bexport'
  34307. + runpath_var='LD_RUN_PATH'
  34308. +
  34309. + if test yes = "$GCC"; then
  34310. + archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34311. + archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34312. + else
  34313. + archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34314. + archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34315. + fi
  34316. + ;;
  34317. +
  34318. + uts4*)
  34319. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34320. + hardcode_libdir_flag_spec='-L$libdir'
  34321. + hardcode_shlibpath_var=no
  34322. + ;;
  34323. +
  34324. + *)
  34325. + ld_shlibs=no
  34326. + ;;
  34327. + esac
  34328. +
  34329. + if test sni = "$host_vendor"; then
  34330. + case $host in
  34331. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  34332. + export_dynamic_flag_spec='$wl-Blargedynsym'
  34333. + ;;
  34334. + esac
  34335. + fi
  34336. + fi
  34337. +
  34338. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  34339. +$as_echo "$ld_shlibs" >&6; }
  34340. +test no = "$ld_shlibs" && can_build_shared=no
  34341. +
  34342. +with_gnu_ld=$with_gnu_ld
  34343. +
  34344. +
  34345. +
  34346. +
  34347. +
  34348. +
  34349. +
  34350. +
  34351. +
  34352. +
  34353. +
  34354. +
  34355. +
  34356. +
  34357. +
  34358. +#
  34359. +# Do we need to explicitly link libc?
  34360. +#
  34361. +case "x$archive_cmds_need_lc" in
  34362. +x|xyes)
  34363. + # Assume -lc should be added
  34364. + archive_cmds_need_lc=yes
  34365. +
  34366. + if test yes,yes = "$GCC,$enable_shared"; then
  34367. + case $archive_cmds in
  34368. + *'~'*)
  34369. + # FIXME: we may have to deal with multi-command sequences.
  34370. + ;;
  34371. + '$CC '*)
  34372. + # Test whether the compiler implicitly links with -lc since on some
  34373. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  34374. + # to ld, don't add -lc before -lgcc.
  34375. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  34376. +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  34377. +if ${lt_cv_archive_cmds_need_lc+:} false; then :
  34378. + $as_echo_n "(cached) " >&6
  34379. +else
  34380. + $RM conftest*
  34381. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  34382. +
  34383. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  34384. + (eval $ac_compile) 2>&5
  34385. + ac_status=$?
  34386. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  34387. + test $ac_status = 0; } 2>conftest.err; then
  34388. + soname=conftest
  34389. + lib=conftest
  34390. + libobjs=conftest.$ac_objext
  34391. + deplibs=
  34392. + wl=$lt_prog_compiler_wl
  34393. + pic_flag=$lt_prog_compiler_pic
  34394. + compiler_flags=-v
  34395. + linker_flags=-v
  34396. + verstring=
  34397. + output_objdir=.
  34398. + libname=conftest
  34399. + lt_save_allow_undefined_flag=$allow_undefined_flag
  34400. + allow_undefined_flag=
  34401. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  34402. + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  34403. + ac_status=$?
  34404. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  34405. + test $ac_status = 0; }
  34406. + then
  34407. + lt_cv_archive_cmds_need_lc=no
  34408. + else
  34409. + lt_cv_archive_cmds_need_lc=yes
  34410. + fi
  34411. + allow_undefined_flag=$lt_save_allow_undefined_flag
  34412. + else
  34413. + cat conftest.err 1>&5
  34414. + fi
  34415. + $RM conftest*
  34416. +
  34417. +fi
  34418. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  34419. +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  34420. + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  34421. + ;;
  34422. + esac
  34423. + fi
  34424. + ;;
  34425. +esac
  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. +
  34574. +
  34575. +
  34576. +
  34577. +
  34578. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  34579. +$as_echo_n "checking dynamic linker characteristics... " >&6; }
  34580. +
  34581. +if test yes = "$GCC"; then
  34582. + case $host_os in
  34583. + darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
  34584. + *) lt_awk_arg='/^libraries:/' ;;
  34585. + esac
  34586. + case $host_os in
  34587. + mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
  34588. + *) lt_sed_strip_eq='s|=/|/|g' ;;
  34589. + esac
  34590. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  34591. + case $lt_search_path_spec in
  34592. + *\;*)
  34593. + # if the path contains ";" then we assume it to be the separator
  34594. + # otherwise default to the standard path separator (i.e. ":") - it is
  34595. + # assumed that no part of a normal pathname contains ";" but that should
  34596. + # okay in the real world where ";" in dirpaths is itself problematic.
  34597. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  34598. + ;;
  34599. + *)
  34600. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  34601. + ;;
  34602. + esac
  34603. + # Ok, now we have the path, separated by spaces, we can step through it
  34604. + # and add multilib dir if necessary...
  34605. + lt_tmp_lt_search_path_spec=
  34606. + lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  34607. + # ...but if some path component already ends with the multilib dir we assume
  34608. + # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
  34609. + case "$lt_multi_os_dir; $lt_search_path_spec " in
  34610. + "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
  34611. + lt_multi_os_dir=
  34612. + ;;
  34613. + esac
  34614. + for lt_sys_path in $lt_search_path_spec; do
  34615. + if test -d "$lt_sys_path$lt_multi_os_dir"; then
  34616. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
  34617. + elif test -n "$lt_multi_os_dir"; then
  34618. + test -d "$lt_sys_path" && \
  34619. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  34620. + fi
  34621. + done
  34622. + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  34623. +BEGIN {RS = " "; FS = "/|\n";} {
  34624. + lt_foo = "";
  34625. + lt_count = 0;
  34626. + for (lt_i = NF; lt_i > 0; lt_i--) {
  34627. + if ($lt_i != "" && $lt_i != ".") {
  34628. + if ($lt_i == "..") {
  34629. + lt_count++;
  34630. + } else {
  34631. + if (lt_count == 0) {
  34632. + lt_foo = "/" $lt_i lt_foo;
  34633. + } else {
  34634. + lt_count--;
  34635. + }
  34636. + }
  34637. + }
  34638. + }
  34639. + if (lt_foo != "") { lt_freq[lt_foo]++; }
  34640. + if (lt_freq[lt_foo] == 1) { print lt_foo; }
  34641. +}'`
  34642. + # AWK program above erroneously prepends '/' to C:/dos/paths
  34643. + # for these hosts.
  34644. + case $host_os in
  34645. + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  34646. + $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
  34647. + esac
  34648. + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  34649. +else
  34650. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  34651. +fi
  34652. +library_names_spec=
  34653. +libname_spec='lib$name'
  34654. +soname_spec=
  34655. +shrext_cmds=.so
  34656. +postinstall_cmds=
  34657. +postuninstall_cmds=
  34658. +finish_cmds=
  34659. +finish_eval=
  34660. +shlibpath_var=
  34661. +shlibpath_overrides_runpath=unknown
  34662. +version_type=none
  34663. +dynamic_linker="$host_os ld.so"
  34664. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  34665. +need_lib_prefix=unknown
  34666. +hardcode_into_libs=no
  34667. +
  34668. +# when you set need_version to no, make sure it does not cause -set_version
  34669. +# flags to be left without arguments
  34670. +need_version=unknown
  34671. +
  34672. +
  34673. +
  34674. +case $host_os in
  34675. +aix3*)
  34676. + version_type=linux # correct to gnu/linux during the next big refactor
  34677. + library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
  34678. + shlibpath_var=LIBPATH
  34679. +
  34680. + # AIX 3 has no versioning support, so we append a major version to the name.
  34681. + soname_spec='$libname$release$shared_ext$major'
  34682. + ;;
  34683. +
  34684. +aix[4-9]*)
  34685. + version_type=linux # correct to gnu/linux during the next big refactor
  34686. + need_lib_prefix=no
  34687. + need_version=no
  34688. + hardcode_into_libs=yes
  34689. + if test ia64 = "$host_cpu"; then
  34690. + # AIX 5 supports IA64
  34691. + library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
  34692. + shlibpath_var=LD_LIBRARY_PATH
  34693. + else
  34694. + # With GCC up to 2.95.x, collect2 would create an import file
  34695. + # for dependence libraries. The import file would start with
  34696. + # the line '#! .'. This would cause the generated library to
  34697. + # depend on '.', always an invalid library. This was fixed in
  34698. + # development snapshots of GCC prior to 3.0.
  34699. + case $host_os in
  34700. + aix4 | aix4.[01] | aix4.[01].*)
  34701. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  34702. + echo ' yes '
  34703. + echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
  34704. + :
  34705. + else
  34706. + can_build_shared=no
  34707. + fi
  34708. + ;;
  34709. + esac
  34710. + # Using Import Files as archive members, it is possible to support
  34711. + # filename-based versioning of shared library archives on AIX. While
  34712. + # this would work for both with and without runtime linking, it will
  34713. + # prevent static linking of such archives. So we do filename-based
  34714. + # shared library versioning with .so extension only, which is used
  34715. + # when both runtime linking and shared linking is enabled.
  34716. + # Unfortunately, runtime linking may impact performance, so we do
  34717. + # not want this to be the default eventually. Also, we use the
  34718. + # versioned .so libs for executables only if there is the -brtl
  34719. + # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
  34720. + # To allow for filename-based versioning support, we need to create
  34721. + # libNAME.so.V as an archive file, containing:
  34722. + # *) an Import File, referring to the versioned filename of the
  34723. + # archive as well as the shared archive member, telling the
  34724. + # bitwidth (32 or 64) of that shared object, and providing the
  34725. + # list of exported symbols of that shared object, eventually
  34726. + # decorated with the 'weak' keyword
  34727. + # *) the shared object with the F_LOADONLY flag set, to really avoid
  34728. + # it being seen by the linker.
  34729. + # At run time we better use the real file rather than another symlink,
  34730. + # but for link time we create the symlink libNAME.so -> libNAME.so.V
  34731. +
  34732. + case $with_aix_soname,$aix_use_runtimelinking in
  34733. + # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
  34734. + # soname into executable. Probably we can add versioning support to
  34735. + # collect2, so additional links can be useful in future.
  34736. + aix,yes) # traditional libtool
  34737. + dynamic_linker='AIX unversionable lib.so'
  34738. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  34739. + # instead of lib<name>.a to let people know that these are not
  34740. + # typical AIX shared libraries.
  34741. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  34742. + ;;
  34743. + aix,no) # traditional AIX only
  34744. + dynamic_linker='AIX lib.a(lib.so.V)'
  34745. + # We preserve .a as extension for shared libraries through AIX4.2
  34746. + # and later when we are not doing run time linking.
  34747. + library_names_spec='$libname$release.a $libname.a'
  34748. + soname_spec='$libname$release$shared_ext$major'
  34749. + ;;
  34750. + svr4,*) # full svr4 only
  34751. + dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
  34752. + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  34753. + # We do not specify a path in Import Files, so LIBPATH fires.
  34754. + shlibpath_overrides_runpath=yes
  34755. + ;;
  34756. + *,yes) # both, prefer svr4
  34757. + dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
  34758. + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  34759. + # unpreferred sharedlib libNAME.a needs extra handling
  34760. + 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"'
  34761. + 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"'
  34762. + # We do not specify a path in Import Files, so LIBPATH fires.
  34763. + shlibpath_overrides_runpath=yes
  34764. + ;;
  34765. + *,no) # both, prefer aix
  34766. + dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
  34767. + library_names_spec='$libname$release.a $libname.a'
  34768. + soname_spec='$libname$release$shared_ext$major'
  34769. + # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
  34770. + 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)'
  34771. + 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"'
  34772. + ;;
  34773. + esac
  34774. + shlibpath_var=LIBPATH
  34775. + fi
  34776. + ;;
  34777. +
  34778. +amigaos*)
  34779. + case $host_cpu in
  34780. + powerpc)
  34781. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  34782. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  34783. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  34784. + ;;
  34785. + m68k)
  34786. + library_names_spec='$libname.ixlibrary $libname.a'
  34787. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  34788. + 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'
  34789. + ;;
  34790. + esac
  34791. + ;;
  34792. +
  34793. +beos*)
  34794. + library_names_spec='$libname$shared_ext'
  34795. + dynamic_linker="$host_os ld.so"
  34796. + shlibpath_var=LIBRARY_PATH
  34797. + ;;
  34798. +
  34799. +bsdi[45]*)
  34800. + version_type=linux # correct to gnu/linux during the next big refactor
  34801. + need_version=no
  34802. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  34803. + soname_spec='$libname$release$shared_ext$major'
  34804. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  34805. + shlibpath_var=LD_LIBRARY_PATH
  34806. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  34807. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  34808. + # the default ld.so.conf also contains /usr/contrib/lib and
  34809. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  34810. + # libtool to hard-code these into programs
  34811. + ;;
  34812. +
  34813. +cygwin* | mingw* | pw32* | cegcc*)
  34814. + version_type=windows
  34815. + shrext_cmds=.dll
  34816. + need_version=no
  34817. + need_lib_prefix=no
  34818. +
  34819. + case $GCC,$cc_basename in
  34820. + yes,*)
  34821. + # gcc
  34822. + library_names_spec='$libname.dll.a'
  34823. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  34824. + postinstall_cmds='base_file=`basename \$file`~
  34825. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  34826. + dldir=$destdir/`dirname \$dlpath`~
  34827. + test -d \$dldir || mkdir -p \$dldir~
  34828. + $install_prog $dir/$dlname \$dldir/$dlname~
  34829. + chmod a+x \$dldir/$dlname~
  34830. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  34831. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  34832. + fi'
  34833. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  34834. + dlpath=$dir/\$dldll~
  34835. + $RM \$dlpath'
  34836. + shlibpath_overrides_runpath=yes
  34837. +
  34838. + case $host_os in
  34839. + cygwin*)
  34840. + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  34841. + soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  34842. +
  34843. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  34844. + ;;
  34845. + mingw* | cegcc*)
  34846. + # MinGW DLLs use traditional 'lib' prefix
  34847. + soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  34848. + ;;
  34849. + pw32*)
  34850. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  34851. + library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  34852. + ;;
  34853. + esac
  34854. + dynamic_linker='Win32 ld.exe'
  34855. + ;;
  34856. +
  34857. + *,cl*)
  34858. + # Native MSVC
  34859. + libname_spec='$name'
  34860. + soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  34861. + library_names_spec='$libname.dll.lib'
  34862. +
  34863. + case $build_os in
  34864. + mingw*)
  34865. + sys_lib_search_path_spec=
  34866. + lt_save_ifs=$IFS
  34867. + IFS=';'
  34868. + for lt_path in $LIB
  34869. + do
  34870. + IFS=$lt_save_ifs
  34871. + # Let DOS variable expansion print the short 8.3 style file name.
  34872. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  34873. + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  34874. + done
  34875. + IFS=$lt_save_ifs
  34876. + # Convert to MSYS style.
  34877. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  34878. + ;;
  34879. + cygwin*)
  34880. + # Convert to unix form, then to dos form, then back to unix form
  34881. + # but this time dos style (no spaces!) so that the unix form looks
  34882. + # like /cygdrive/c/PROGRA~1:/cygdr...
  34883. + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  34884. + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  34885. + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  34886. + ;;
  34887. + *)
  34888. + sys_lib_search_path_spec=$LIB
  34889. + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  34890. + # It is most probably a Windows format PATH.
  34891. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  34892. + else
  34893. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  34894. + fi
  34895. + # FIXME: find the short name or the path components, as spaces are
  34896. + # common. (e.g. "Program Files" -> "PROGRA~1")
  34897. + ;;
  34898. + esac
  34899. +
  34900. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  34901. + postinstall_cmds='base_file=`basename \$file`~
  34902. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  34903. + dldir=$destdir/`dirname \$dlpath`~
  34904. + test -d \$dldir || mkdir -p \$dldir~
  34905. + $install_prog $dir/$dlname \$dldir/$dlname'
  34906. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  34907. + dlpath=$dir/\$dldll~
  34908. + $RM \$dlpath'
  34909. + shlibpath_overrides_runpath=yes
  34910. + dynamic_linker='Win32 link.exe'
  34911. + ;;
  34912. +
  34913. + *)
  34914. + # Assume MSVC wrapper
  34915. + library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
  34916. + dynamic_linker='Win32 ld.exe'
  34917. + ;;
  34918. + esac
  34919. + # FIXME: first we should search . and the directory the executable is in
  34920. + shlibpath_var=PATH
  34921. + ;;
  34922. +
  34923. +darwin* | rhapsody*)
  34924. + dynamic_linker="$host_os dyld"
  34925. + version_type=darwin
  34926. + need_lib_prefix=no
  34927. + need_version=no
  34928. + library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
  34929. + soname_spec='$libname$release$major$shared_ext'
  34930. + shlibpath_overrides_runpath=yes
  34931. + shlibpath_var=DYLD_LIBRARY_PATH
  34932. + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  34933. +
  34934. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  34935. + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  34936. + ;;
  34937. +
  34938. +dgux*)
  34939. + version_type=linux # correct to gnu/linux during the next big refactor
  34940. + need_lib_prefix=no
  34941. + need_version=no
  34942. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  34943. + soname_spec='$libname$release$shared_ext$major'
  34944. + shlibpath_var=LD_LIBRARY_PATH
  34945. + ;;
  34946. +
  34947. +freebsd* | dragonfly*)
  34948. + # DragonFly does not have aout. When/if they implement a new
  34949. + # versioning mechanism, adjust this.
  34950. + if test -x /usr/bin/objformat; then
  34951. + objformat=`/usr/bin/objformat`
  34952. + else
  34953. + case $host_os in
  34954. + freebsd[23].*) objformat=aout ;;
  34955. + *) objformat=elf ;;
  34956. + esac
  34957. + fi
  34958. + version_type=freebsd-$objformat
  34959. + case $version_type in
  34960. + freebsd-elf*)
  34961. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  34962. + soname_spec='$libname$release$shared_ext$major'
  34963. + need_version=no
  34964. + need_lib_prefix=no
  34965. + ;;
  34966. + freebsd-*)
  34967. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  34968. + need_version=yes
  34969. + ;;
  34970. + esac
  34971. + shlibpath_var=LD_LIBRARY_PATH
  34972. + case $host_os in
  34973. + freebsd2.*)
  34974. + shlibpath_overrides_runpath=yes
  34975. + ;;
  34976. + freebsd3.[01]* | freebsdelf3.[01]*)
  34977. + shlibpath_overrides_runpath=yes
  34978. + hardcode_into_libs=yes
  34979. + ;;
  34980. + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  34981. + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  34982. + shlibpath_overrides_runpath=no
  34983. + hardcode_into_libs=yes
  34984. + ;;
  34985. + *) # from 4.6 on, and DragonFly
  34986. + shlibpath_overrides_runpath=yes
  34987. + hardcode_into_libs=yes
  34988. + ;;
  34989. + esac
  34990. + ;;
  34991. +
  34992. +haiku*)
  34993. + version_type=linux # correct to gnu/linux during the next big refactor
  34994. + need_lib_prefix=no
  34995. + need_version=no
  34996. + dynamic_linker="$host_os runtime_loader"
  34997. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  34998. + soname_spec='$libname$release$shared_ext$major'
  34999. + shlibpath_var=LIBRARY_PATH
  35000. + shlibpath_overrides_runpath=no
  35001. + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  35002. + hardcode_into_libs=yes
  35003. + ;;
  35004. +
  35005. +hpux9* | hpux10* | hpux11*)
  35006. + # Give a soname corresponding to the major version so that dld.sl refuses to
  35007. + # link against other versions.
  35008. + version_type=sunos
  35009. + need_lib_prefix=no
  35010. + need_version=no
  35011. + case $host_cpu in
  35012. + ia64*)
  35013. + shrext_cmds='.so'
  35014. + hardcode_into_libs=yes
  35015. + dynamic_linker="$host_os dld.so"
  35016. + shlibpath_var=LD_LIBRARY_PATH
  35017. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  35018. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35019. + soname_spec='$libname$release$shared_ext$major'
  35020. + if test 32 = "$HPUX_IA64_MODE"; then
  35021. + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  35022. + sys_lib_dlsearch_path_spec=/usr/lib/hpux32
  35023. + else
  35024. + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  35025. + sys_lib_dlsearch_path_spec=/usr/lib/hpux64
  35026. + fi
  35027. + ;;
  35028. + hppa*64*)
  35029. + shrext_cmds='.sl'
  35030. + hardcode_into_libs=yes
  35031. + dynamic_linker="$host_os dld.sl"
  35032. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  35033. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  35034. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35035. + soname_spec='$libname$release$shared_ext$major'
  35036. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  35037. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  35038. + ;;
  35039. + *)
  35040. + shrext_cmds='.sl'
  35041. + dynamic_linker="$host_os dld.sl"
  35042. + shlibpath_var=SHLIB_PATH
  35043. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  35044. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35045. + soname_spec='$libname$release$shared_ext$major'
  35046. + ;;
  35047. + esac
  35048. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  35049. + postinstall_cmds='chmod 555 $lib'
  35050. + # or fails outright, so override atomically:
  35051. + install_override_mode=555
  35052. + ;;
  35053. +
  35054. +interix[3-9]*)
  35055. + version_type=linux # correct to gnu/linux during the next big refactor
  35056. + need_lib_prefix=no
  35057. + need_version=no
  35058. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35059. + soname_spec='$libname$release$shared_ext$major'
  35060. + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  35061. + shlibpath_var=LD_LIBRARY_PATH
  35062. + shlibpath_overrides_runpath=no
  35063. + hardcode_into_libs=yes
  35064. + ;;
  35065. +
  35066. +irix5* | irix6* | nonstopux*)
  35067. + case $host_os in
  35068. + nonstopux*) version_type=nonstopux ;;
  35069. + *)
  35070. + if test yes = "$lt_cv_prog_gnu_ld"; then
  35071. + version_type=linux # correct to gnu/linux during the next big refactor
  35072. + else
  35073. + version_type=irix
  35074. + fi ;;
  35075. + esac
  35076. + need_lib_prefix=no
  35077. + need_version=no
  35078. + soname_spec='$libname$release$shared_ext$major'
  35079. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
  35080. + case $host_os in
  35081. + irix5* | nonstopux*)
  35082. + libsuff= shlibsuff=
  35083. + ;;
  35084. + *)
  35085. + case $LD in # libtool.m4 will add one of these switches to LD
  35086. + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  35087. + libsuff= shlibsuff= libmagic=32-bit;;
  35088. + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  35089. + libsuff=32 shlibsuff=N32 libmagic=N32;;
  35090. + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  35091. + libsuff=64 shlibsuff=64 libmagic=64-bit;;
  35092. + *) libsuff= shlibsuff= libmagic=never-match;;
  35093. + esac
  35094. + ;;
  35095. + esac
  35096. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  35097. + shlibpath_overrides_runpath=no
  35098. + sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
  35099. + sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
  35100. + hardcode_into_libs=yes
  35101. + ;;
  35102. +
  35103. +# No shared lib support for Linux oldld, aout, or coff.
  35104. +linux*oldld* | linux*aout* | linux*coff*)
  35105. + dynamic_linker=no
  35106. + ;;
  35107. +
  35108. +linux*android*)
  35109. + version_type=none # Android doesn't support versioned libraries.
  35110. + need_lib_prefix=no
  35111. + need_version=no
  35112. + library_names_spec='$libname$release$shared_ext'
  35113. + soname_spec='$libname$release$shared_ext'
  35114. + finish_cmds=
  35115. + shlibpath_var=LD_LIBRARY_PATH
  35116. + shlibpath_overrides_runpath=yes
  35117. +
  35118. + # This implies no fast_install, which is unacceptable.
  35119. + # Some rework will be needed to allow for fast_install
  35120. + # before this can be enabled.
  35121. + hardcode_into_libs=yes
  35122. +
  35123. + dynamic_linker='Android linker'
  35124. + # Don't embed -rpath directories since the linker doesn't support them.
  35125. + hardcode_libdir_flag_spec='-L$libdir'
  35126. + ;;
  35127. +
  35128. +# This must be glibc/ELF.
  35129. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  35130. + version_type=linux # correct to gnu/linux during the next big refactor
  35131. + need_lib_prefix=no
  35132. + need_version=no
  35133. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35134. + soname_spec='$libname$release$shared_ext$major'
  35135. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  35136. + shlibpath_var=LD_LIBRARY_PATH
  35137. + shlibpath_overrides_runpath=no
  35138. +
  35139. + # Some binutils ld are patched to set DT_RUNPATH
  35140. + if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  35141. + $as_echo_n "(cached) " >&6
  35142. +else
  35143. + lt_cv_shlibpath_overrides_runpath=no
  35144. + save_LDFLAGS=$LDFLAGS
  35145. + save_libdir=$libdir
  35146. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  35147. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  35148. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  35149. +/* end confdefs.h. */
  35150. +
  35151. +int
  35152. +main ()
  35153. +{
  35154. +
  35155. + ;
  35156. + return 0;
  35157. +}
  35158. +_ACEOF
  35159. +if ac_fn_c_try_link "$LINENO"; then :
  35160. + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  35161. + lt_cv_shlibpath_overrides_runpath=yes
  35162. +fi
  35163. +fi
  35164. +rm -f core conftest.err conftest.$ac_objext \
  35165. + conftest$ac_exeext conftest.$ac_ext
  35166. + LDFLAGS=$save_LDFLAGS
  35167. + libdir=$save_libdir
  35168. +
  35169. +fi
  35170. +
  35171. + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  35172. +
  35173. + # This implies no fast_install, which is unacceptable.
  35174. + # Some rework will be needed to allow for fast_install
  35175. + # before this can be enabled.
  35176. + hardcode_into_libs=yes
  35177. +
  35178. + # Add ABI-specific directories to the system library path.
  35179. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
  35180. +
  35181. + # Ideally, we could use ldconfig to report *all* directores which are
  35182. + # searched for libraries, however this is still not possible. Aside from not
  35183. + # being certain /sbin/ldconfig is available, command
  35184. + # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
  35185. + # even though it is searched at run-time. Try to do the best guess by
  35186. + # appending ld.so.conf contents (and includes) to the search path.
  35187. + if test -f /etc/ld.so.conf; then
  35188. + 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' ' '`
  35189. + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
  35190. + fi
  35191. +
  35192. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  35193. + # powerpc, because MkLinux only supported shared libraries with the
  35194. + # GNU dynamic linker. Since this was broken with cross compilers,
  35195. + # most powerpc-linux boxes support dynamic linking these days and
  35196. + # people can always --disable-shared, the test was removed, and we
  35197. + # assume the GNU/Linux dynamic linker is in use.
  35198. + dynamic_linker='GNU/Linux ld.so'
  35199. + ;;
  35200. +
  35201. +netbsd*)
  35202. + version_type=sunos
  35203. + need_lib_prefix=no
  35204. + need_version=no
  35205. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  35206. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  35207. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  35208. + dynamic_linker='NetBSD (a.out) ld.so'
  35209. + else
  35210. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35211. + soname_spec='$libname$release$shared_ext$major'
  35212. + dynamic_linker='NetBSD ld.elf_so'
  35213. + fi
  35214. + shlibpath_var=LD_LIBRARY_PATH
  35215. + shlibpath_overrides_runpath=yes
  35216. + hardcode_into_libs=yes
  35217. + ;;
  35218. +
  35219. +newsos6)
  35220. + version_type=linux # correct to gnu/linux during the next big refactor
  35221. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35222. + shlibpath_var=LD_LIBRARY_PATH
  35223. + shlibpath_overrides_runpath=yes
  35224. + ;;
  35225. +
  35226. +*nto* | *qnx*)
  35227. + version_type=qnx
  35228. + need_lib_prefix=no
  35229. + need_version=no
  35230. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35231. + soname_spec='$libname$release$shared_ext$major'
  35232. + shlibpath_var=LD_LIBRARY_PATH
  35233. + shlibpath_overrides_runpath=no
  35234. + hardcode_into_libs=yes
  35235. + dynamic_linker='ldqnx.so'
  35236. + ;;
  35237. +
  35238. +openbsd* | bitrig*)
  35239. + version_type=sunos
  35240. + sys_lib_dlsearch_path_spec=/usr/lib
  35241. + need_lib_prefix=no
  35242. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  35243. + need_version=no
  35244. + else
  35245. + need_version=yes
  35246. + fi
  35247. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  35248. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  35249. + shlibpath_var=LD_LIBRARY_PATH
  35250. + shlibpath_overrides_runpath=yes
  35251. + ;;
  35252. +
  35253. +os2*)
  35254. + libname_spec='$name'
  35255. + version_type=windows
  35256. + shrext_cmds=.dll
  35257. + need_version=no
  35258. + need_lib_prefix=no
  35259. + # OS/2 can only load a DLL with a base name of 8 characters or less.
  35260. + soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
  35261. + v=$($ECHO $release$versuffix | tr -d .-);
  35262. + n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
  35263. + $ECHO $n$v`$shared_ext'
  35264. + library_names_spec='${libname}_dll.$libext'
  35265. + dynamic_linker='OS/2 ld.exe'
  35266. + shlibpath_var=BEGINLIBPATH
  35267. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  35268. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  35269. + postinstall_cmds='base_file=`basename \$file`~
  35270. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
  35271. + dldir=$destdir/`dirname \$dlpath`~
  35272. + test -d \$dldir || mkdir -p \$dldir~
  35273. + $install_prog $dir/$dlname \$dldir/$dlname~
  35274. + chmod a+x \$dldir/$dlname~
  35275. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  35276. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  35277. + fi'
  35278. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
  35279. + dlpath=$dir/\$dldll~
  35280. + $RM \$dlpath'
  35281. + ;;
  35282. +
  35283. +osf3* | osf4* | osf5*)
  35284. + version_type=osf
  35285. + need_lib_prefix=no
  35286. + need_version=no
  35287. + soname_spec='$libname$release$shared_ext$major'
  35288. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35289. + shlibpath_var=LD_LIBRARY_PATH
  35290. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  35291. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  35292. + ;;
  35293. +
  35294. +rdos*)
  35295. + dynamic_linker=no
  35296. + ;;
  35297. +
  35298. +solaris*)
  35299. + version_type=linux # correct to gnu/linux during the next big refactor
  35300. + need_lib_prefix=no
  35301. + need_version=no
  35302. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35303. + soname_spec='$libname$release$shared_ext$major'
  35304. + shlibpath_var=LD_LIBRARY_PATH
  35305. + shlibpath_overrides_runpath=yes
  35306. + hardcode_into_libs=yes
  35307. + # ldd complains unless libraries are executable
  35308. + postinstall_cmds='chmod +x $lib'
  35309. + ;;
  35310. +
  35311. +sunos4*)
  35312. + version_type=sunos
  35313. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  35314. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  35315. + shlibpath_var=LD_LIBRARY_PATH
  35316. + shlibpath_overrides_runpath=yes
  35317. + if test yes = "$with_gnu_ld"; then
  35318. + need_lib_prefix=no
  35319. + fi
  35320. + need_version=yes
  35321. + ;;
  35322. +
  35323. +sysv4 | sysv4.3*)
  35324. + version_type=linux # correct to gnu/linux during the next big refactor
  35325. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35326. + soname_spec='$libname$release$shared_ext$major'
  35327. + shlibpath_var=LD_LIBRARY_PATH
  35328. + case $host_vendor in
  35329. + sni)
  35330. + shlibpath_overrides_runpath=no
  35331. + need_lib_prefix=no
  35332. + runpath_var=LD_RUN_PATH
  35333. + ;;
  35334. + siemens)
  35335. + need_lib_prefix=no
  35336. + ;;
  35337. + motorola)
  35338. + need_lib_prefix=no
  35339. + need_version=no
  35340. + shlibpath_overrides_runpath=no
  35341. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  35342. + ;;
  35343. + esac
  35344. + ;;
  35345. +
  35346. +sysv4*MP*)
  35347. + if test -d /usr/nec; then
  35348. + version_type=linux # correct to gnu/linux during the next big refactor
  35349. + library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
  35350. + soname_spec='$libname$shared_ext.$major'
  35351. + shlibpath_var=LD_LIBRARY_PATH
  35352. + fi
  35353. + ;;
  35354. +
  35355. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  35356. + version_type=sco
  35357. + need_lib_prefix=no
  35358. + need_version=no
  35359. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
  35360. + soname_spec='$libname$release$shared_ext$major'
  35361. + shlibpath_var=LD_LIBRARY_PATH
  35362. + shlibpath_overrides_runpath=yes
  35363. + hardcode_into_libs=yes
  35364. + if test yes = "$with_gnu_ld"; then
  35365. + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  35366. + else
  35367. + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  35368. + case $host_os in
  35369. + sco3.2v5*)
  35370. + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  35371. + ;;
  35372. + esac
  35373. + fi
  35374. + sys_lib_dlsearch_path_spec='/usr/lib'
  35375. + ;;
  35376. +
  35377. +tpf*)
  35378. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  35379. + version_type=linux # correct to gnu/linux during the next big refactor
  35380. + need_lib_prefix=no
  35381. + need_version=no
  35382. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35383. + shlibpath_var=LD_LIBRARY_PATH
  35384. + shlibpath_overrides_runpath=no
  35385. + hardcode_into_libs=yes
  35386. + ;;
  35387. +
  35388. +uts4*)
  35389. + version_type=linux # correct to gnu/linux during the next big refactor
  35390. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35391. + soname_spec='$libname$release$shared_ext$major'
  35392. + shlibpath_var=LD_LIBRARY_PATH
  35393. + ;;
  35394. +
  35395. +*)
  35396. + dynamic_linker=no
  35397. + ;;
  35398. +esac
  35399. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  35400. +$as_echo "$dynamic_linker" >&6; }
  35401. +test no = "$dynamic_linker" && can_build_shared=no
  35402. +
  35403. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  35404. +if test yes = "$GCC"; then
  35405. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  35406. +fi
  35407. +
  35408. +if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
  35409. + sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
  35410. +fi
  35411. +
  35412. +if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
  35413. + sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
  35414. +fi
  35415. +
  35416. +# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
  35417. +configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
  35418. +
  35419. +# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
  35420. +func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
  35421. +
  35422. +# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
  35423. +configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
  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. +
  35517. +
  35518. +
  35519. +
  35520. +
  35521. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  35522. +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  35523. +hardcode_action=
  35524. +if test -n "$hardcode_libdir_flag_spec" ||
  35525. + test -n "$runpath_var" ||
  35526. + test yes = "$hardcode_automatic"; then
  35527. +
  35528. + # We can hardcode non-existent directories.
  35529. + if test no != "$hardcode_direct" &&
  35530. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  35531. + # have to relink, otherwise we might link with an installed library
  35532. + # when we should be linking with a yet-to-be-installed one
  35533. + ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
  35534. + test no != "$hardcode_minus_L"; then
  35535. + # Linking always hardcodes the temporary library directory.
  35536. + hardcode_action=relink
  35537. + else
  35538. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  35539. + hardcode_action=immediate
  35540. + fi
  35541. +else
  35542. + # We cannot hardcode anything, or else we can only hardcode existing
  35543. + # directories.
  35544. + hardcode_action=unsupported
  35545. +fi
  35546. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  35547. +$as_echo "$hardcode_action" >&6; }
  35548. +
  35549. +if test relink = "$hardcode_action" ||
  35550. + test yes = "$inherit_rpath"; then
  35551. + # Fast installation is not supported
  35552. + enable_fast_install=no
  35553. +elif test yes = "$shlibpath_overrides_runpath" ||
  35554. + test no = "$enable_shared"; then
  35555. + # Fast installation is not necessary
  35556. + enable_fast_install=needless
  35557. +fi
  35558. +
  35559. +
  35560. +
  35561. +
  35562. +
  35563. +
  35564. + if test yes != "$enable_dlopen"; then
  35565. + enable_dlopen=unknown
  35566. + enable_dlopen_self=unknown
  35567. + enable_dlopen_self_static=unknown
  35568. +else
  35569. + lt_cv_dlopen=no
  35570. + lt_cv_dlopen_libs=
  35571. +
  35572. + case $host_os in
  35573. + beos*)
  35574. + lt_cv_dlopen=load_add_on
  35575. + lt_cv_dlopen_libs=
  35576. + lt_cv_dlopen_self=yes
  35577. + ;;
  35578. +
  35579. + mingw* | pw32* | cegcc*)
  35580. + lt_cv_dlopen=LoadLibrary
  35581. + lt_cv_dlopen_libs=
  35582. + ;;
  35583. +
  35584. + cygwin*)
  35585. + lt_cv_dlopen=dlopen
  35586. + lt_cv_dlopen_libs=
  35587. + ;;
  35588. +
  35589. + darwin*)
  35590. + # if libdl is installed we need to link against it
  35591. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  35592. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  35593. +if ${ac_cv_lib_dl_dlopen+:} false; then :
  35594. + $as_echo_n "(cached) " >&6
  35595. +else
  35596. + ac_check_lib_save_LIBS=$LIBS
  35597. +LIBS="-ldl $LIBS"
  35598. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  35599. +/* end confdefs.h. */
  35600. +
  35601. +/* Override any GCC internal prototype to avoid an error.
  35602. + Use char because int might match the return type of a GCC
  35603. + builtin and then its argument prototype would still apply. */
  35604. +#ifdef __cplusplus
  35605. +extern "C"
  35606. +#endif
  35607. +char dlopen ();
  35608. +int
  35609. +main ()
  35610. +{
  35611. +return dlopen ();
  35612. + ;
  35613. + return 0;
  35614. +}
  35615. +_ACEOF
  35616. +if ac_fn_c_try_link "$LINENO"; then :
  35617. + ac_cv_lib_dl_dlopen=yes
  35618. +else
  35619. + ac_cv_lib_dl_dlopen=no
  35620. +fi
  35621. +rm -f core conftest.err conftest.$ac_objext \
  35622. + conftest$ac_exeext conftest.$ac_ext
  35623. +LIBS=$ac_check_lib_save_LIBS
  35624. +fi
  35625. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  35626. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  35627. +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  35628. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  35629. +else
  35630. +
  35631. + lt_cv_dlopen=dyld
  35632. + lt_cv_dlopen_libs=
  35633. + lt_cv_dlopen_self=yes
  35634. +
  35635. +fi
  35636. +
  35637. + ;;
  35638. +
  35639. + tpf*)
  35640. + # Don't try to run any link tests for TPF. We know it's impossible
  35641. + # because TPF is a cross-compiler, and we know how we open DSOs.
  35642. + lt_cv_dlopen=dlopen
  35643. + lt_cv_dlopen_libs=
  35644. + lt_cv_dlopen_self=no
  35645. + ;;
  35646. +
  35647. + *)
  35648. + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  35649. +if test "x$ac_cv_func_shl_load" = xyes; then :
  35650. + lt_cv_dlopen=shl_load
  35651. +else
  35652. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  35653. +$as_echo_n "checking for shl_load in -ldld... " >&6; }
  35654. +if ${ac_cv_lib_dld_shl_load+:} false; then :
  35655. + $as_echo_n "(cached) " >&6
  35656. +else
  35657. + ac_check_lib_save_LIBS=$LIBS
  35658. +LIBS="-ldld $LIBS"
  35659. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  35660. +/* end confdefs.h. */
  35661. +
  35662. +/* Override any GCC internal prototype to avoid an error.
  35663. + Use char because int might match the return type of a GCC
  35664. + builtin and then its argument prototype would still apply. */
  35665. +#ifdef __cplusplus
  35666. +extern "C"
  35667. +#endif
  35668. +char shl_load ();
  35669. +int
  35670. +main ()
  35671. +{
  35672. +return shl_load ();
  35673. + ;
  35674. + return 0;
  35675. +}
  35676. +_ACEOF
  35677. +if ac_fn_c_try_link "$LINENO"; then :
  35678. + ac_cv_lib_dld_shl_load=yes
  35679. +else
  35680. + ac_cv_lib_dld_shl_load=no
  35681. +fi
  35682. +rm -f core conftest.err conftest.$ac_objext \
  35683. + conftest$ac_exeext conftest.$ac_ext
  35684. +LIBS=$ac_check_lib_save_LIBS
  35685. +fi
  35686. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  35687. +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  35688. +if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  35689. + lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
  35690. +else
  35691. + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  35692. +if test "x$ac_cv_func_dlopen" = xyes; then :
  35693. + lt_cv_dlopen=dlopen
  35694. +else
  35695. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  35696. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  35697. +if ${ac_cv_lib_dl_dlopen+:} false; then :
  35698. + $as_echo_n "(cached) " >&6
  35699. +else
  35700. + ac_check_lib_save_LIBS=$LIBS
  35701. +LIBS="-ldl $LIBS"
  35702. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  35703. +/* end confdefs.h. */
  35704. +
  35705. +/* Override any GCC internal prototype to avoid an error.
  35706. + Use char because int might match the return type of a GCC
  35707. + builtin and then its argument prototype would still apply. */
  35708. +#ifdef __cplusplus
  35709. +extern "C"
  35710. +#endif
  35711. +char dlopen ();
  35712. +int
  35713. +main ()
  35714. +{
  35715. +return dlopen ();
  35716. + ;
  35717. + return 0;
  35718. +}
  35719. +_ACEOF
  35720. +if ac_fn_c_try_link "$LINENO"; then :
  35721. + ac_cv_lib_dl_dlopen=yes
  35722. +else
  35723. + ac_cv_lib_dl_dlopen=no
  35724. +fi
  35725. +rm -f core conftest.err conftest.$ac_objext \
  35726. + conftest$ac_exeext conftest.$ac_ext
  35727. +LIBS=$ac_check_lib_save_LIBS
  35728. +fi
  35729. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  35730. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  35731. +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  35732. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  35733. +else
  35734. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  35735. +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  35736. +if ${ac_cv_lib_svld_dlopen+:} false; then :
  35737. + $as_echo_n "(cached) " >&6
  35738. +else
  35739. + ac_check_lib_save_LIBS=$LIBS
  35740. +LIBS="-lsvld $LIBS"
  35741. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  35742. +/* end confdefs.h. */
  35743. +
  35744. +/* Override any GCC internal prototype to avoid an error.
  35745. + Use char because int might match the return type of a GCC
  35746. + builtin and then its argument prototype would still apply. */
  35747. +#ifdef __cplusplus
  35748. +extern "C"
  35749. +#endif
  35750. +char dlopen ();
  35751. +int
  35752. +main ()
  35753. +{
  35754. +return dlopen ();
  35755. + ;
  35756. + return 0;
  35757. +}
  35758. +_ACEOF
  35759. +if ac_fn_c_try_link "$LINENO"; then :
  35760. + ac_cv_lib_svld_dlopen=yes
  35761. +else
  35762. + ac_cv_lib_svld_dlopen=no
  35763. +fi
  35764. +rm -f core conftest.err conftest.$ac_objext \
  35765. + conftest$ac_exeext conftest.$ac_ext
  35766. +LIBS=$ac_check_lib_save_LIBS
  35767. +fi
  35768. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  35769. +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  35770. +if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  35771. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
  35772. +else
  35773. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  35774. +$as_echo_n "checking for dld_link in -ldld... " >&6; }
  35775. +if ${ac_cv_lib_dld_dld_link+:} false; then :
  35776. + $as_echo_n "(cached) " >&6
  35777. +else
  35778. + ac_check_lib_save_LIBS=$LIBS
  35779. +LIBS="-ldld $LIBS"
  35780. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  35781. +/* end confdefs.h. */
  35782. +
  35783. +/* Override any GCC internal prototype to avoid an error.
  35784. + Use char because int might match the return type of a GCC
  35785. + builtin and then its argument prototype would still apply. */
  35786. +#ifdef __cplusplus
  35787. +extern "C"
  35788. +#endif
  35789. +char dld_link ();
  35790. +int
  35791. +main ()
  35792. +{
  35793. +return dld_link ();
  35794. + ;
  35795. + return 0;
  35796. +}
  35797. +_ACEOF
  35798. +if ac_fn_c_try_link "$LINENO"; then :
  35799. + ac_cv_lib_dld_dld_link=yes
  35800. +else
  35801. + ac_cv_lib_dld_dld_link=no
  35802. +fi
  35803. +rm -f core conftest.err conftest.$ac_objext \
  35804. + conftest$ac_exeext conftest.$ac_ext
  35805. +LIBS=$ac_check_lib_save_LIBS
  35806. +fi
  35807. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  35808. +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  35809. +if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  35810. + lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
  35811. +fi
  35812. +
  35813. +
  35814. +fi
  35815. +
  35816. +
  35817. +fi
  35818. +
  35819. +
  35820. +fi
  35821. +
  35822. +
  35823. +fi
  35824. +
  35825. +
  35826. +fi
  35827. +
  35828. + ;;
  35829. + esac
  35830. +
  35831. + if test no = "$lt_cv_dlopen"; then
  35832. + enable_dlopen=no
  35833. + else
  35834. + enable_dlopen=yes
  35835. + fi
  35836. +
  35837. + case $lt_cv_dlopen in
  35838. + dlopen)
  35839. + save_CPPFLAGS=$CPPFLAGS
  35840. + test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  35841. +
  35842. + save_LDFLAGS=$LDFLAGS
  35843. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  35844. +
  35845. + save_LIBS=$LIBS
  35846. + LIBS="$lt_cv_dlopen_libs $LIBS"
  35847. +
  35848. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  35849. +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
  35850. +if ${lt_cv_dlopen_self+:} false; then :
  35851. + $as_echo_n "(cached) " >&6
  35852. +else
  35853. + if test yes = "$cross_compiling"; then :
  35854. + lt_cv_dlopen_self=cross
  35855. +else
  35856. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  35857. + lt_status=$lt_dlunknown
  35858. + cat > conftest.$ac_ext <<_LT_EOF
  35859. +#line $LINENO "configure"
  35860. +#include "confdefs.h"
  35861. +
  35862. +#if HAVE_DLFCN_H
  35863. +#include <dlfcn.h>
  35864. +#endif
  35865. +
  35866. +#include <stdio.h>
  35867. +
  35868. +#ifdef RTLD_GLOBAL
  35869. +# define LT_DLGLOBAL RTLD_GLOBAL
  35870. +#else
  35871. +# ifdef DL_GLOBAL
  35872. +# define LT_DLGLOBAL DL_GLOBAL
  35873. +# else
  35874. +# define LT_DLGLOBAL 0
  35875. +# endif
  35876. +#endif
  35877. +
  35878. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  35879. + find out it does not work in some platform. */
  35880. +#ifndef LT_DLLAZY_OR_NOW
  35881. +# ifdef RTLD_LAZY
  35882. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  35883. +# else
  35884. +# ifdef DL_LAZY
  35885. +# define LT_DLLAZY_OR_NOW DL_LAZY
  35886. +# else
  35887. +# ifdef RTLD_NOW
  35888. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  35889. +# else
  35890. +# ifdef DL_NOW
  35891. +# define LT_DLLAZY_OR_NOW DL_NOW
  35892. +# else
  35893. +# define LT_DLLAZY_OR_NOW 0
  35894. +# endif
  35895. +# endif
  35896. +# endif
  35897. +# endif
  35898. +#endif
  35899. +
  35900. +/* When -fvisibility=hidden is used, assume the code has been annotated
  35901. + correspondingly for the symbols needed. */
  35902. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  35903. +int fnord () __attribute__((visibility("default")));
  35904. +#endif
  35905. +
  35906. +int fnord () { return 42; }
  35907. +int main ()
  35908. +{
  35909. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  35910. + int status = $lt_dlunknown;
  35911. +
  35912. + if (self)
  35913. + {
  35914. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  35915. + else
  35916. + {
  35917. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  35918. + else puts (dlerror ());
  35919. + }
  35920. + /* dlclose (self); */
  35921. + }
  35922. + else
  35923. + puts (dlerror ());
  35924. +
  35925. + return status;
  35926. +}
  35927. +_LT_EOF
  35928. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  35929. + (eval $ac_link) 2>&5
  35930. + ac_status=$?
  35931. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  35932. + test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  35933. + (./conftest; exit; ) >&5 2>/dev/null
  35934. + lt_status=$?
  35935. + case x$lt_status in
  35936. + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  35937. + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  35938. + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  35939. + esac
  35940. + else :
  35941. + # compilation failed
  35942. + lt_cv_dlopen_self=no
  35943. + fi
  35944. +fi
  35945. +rm -fr conftest*
  35946. +
  35947. +
  35948. +fi
  35949. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  35950. +$as_echo "$lt_cv_dlopen_self" >&6; }
  35951. +
  35952. + if test yes = "$lt_cv_dlopen_self"; then
  35953. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  35954. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  35955. +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  35956. +if ${lt_cv_dlopen_self_static+:} false; then :
  35957. + $as_echo_n "(cached) " >&6
  35958. +else
  35959. + if test yes = "$cross_compiling"; then :
  35960. + lt_cv_dlopen_self_static=cross
  35961. +else
  35962. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  35963. + lt_status=$lt_dlunknown
  35964. + cat > conftest.$ac_ext <<_LT_EOF
  35965. +#line $LINENO "configure"
  35966. +#include "confdefs.h"
  35967. +
  35968. +#if HAVE_DLFCN_H
  35969. +#include <dlfcn.h>
  35970. +#endif
  35971. +
  35972. +#include <stdio.h>
  35973. +
  35974. +#ifdef RTLD_GLOBAL
  35975. +# define LT_DLGLOBAL RTLD_GLOBAL
  35976. +#else
  35977. +# ifdef DL_GLOBAL
  35978. +# define LT_DLGLOBAL DL_GLOBAL
  35979. +# else
  35980. +# define LT_DLGLOBAL 0
  35981. +# endif
  35982. +#endif
  35983. +
  35984. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  35985. + find out it does not work in some platform. */
  35986. +#ifndef LT_DLLAZY_OR_NOW
  35987. +# ifdef RTLD_LAZY
  35988. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  35989. +# else
  35990. +# ifdef DL_LAZY
  35991. +# define LT_DLLAZY_OR_NOW DL_LAZY
  35992. +# else
  35993. +# ifdef RTLD_NOW
  35994. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  35995. +# else
  35996. +# ifdef DL_NOW
  35997. +# define LT_DLLAZY_OR_NOW DL_NOW
  35998. +# else
  35999. +# define LT_DLLAZY_OR_NOW 0
  36000. +# endif
  36001. +# endif
  36002. +# endif
  36003. +# endif
  36004. +#endif
  36005. +
  36006. +/* When -fvisibility=hidden is used, assume the code has been annotated
  36007. + correspondingly for the symbols needed. */
  36008. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  36009. +int fnord () __attribute__((visibility("default")));
  36010. +#endif
  36011. +
  36012. +int fnord () { return 42; }
  36013. +int main ()
  36014. +{
  36015. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  36016. + int status = $lt_dlunknown;
  36017. +
  36018. + if (self)
  36019. + {
  36020. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  36021. + else
  36022. + {
  36023. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  36024. + else puts (dlerror ());
  36025. + }
  36026. + /* dlclose (self); */
  36027. + }
  36028. + else
  36029. + puts (dlerror ());
  36030. +
  36031. + return status;
  36032. +}
  36033. +_LT_EOF
  36034. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  36035. + (eval $ac_link) 2>&5
  36036. + ac_status=$?
  36037. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  36038. + test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  36039. + (./conftest; exit; ) >&5 2>/dev/null
  36040. + lt_status=$?
  36041. + case x$lt_status in
  36042. + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  36043. + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  36044. + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  36045. + esac
  36046. + else :
  36047. + # compilation failed
  36048. + lt_cv_dlopen_self_static=no
  36049. + fi
  36050. +fi
  36051. +rm -fr conftest*
  36052. +
  36053. +
  36054. +fi
  36055. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  36056. +$as_echo "$lt_cv_dlopen_self_static" >&6; }
  36057. + fi
  36058. +
  36059. + CPPFLAGS=$save_CPPFLAGS
  36060. + LDFLAGS=$save_LDFLAGS
  36061. + LIBS=$save_LIBS
  36062. + ;;
  36063. + esac
  36064. +
  36065. + case $lt_cv_dlopen_self in
  36066. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  36067. + *) enable_dlopen_self=unknown ;;
  36068. + esac
  36069. +
  36070. + case $lt_cv_dlopen_self_static in
  36071. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  36072. + *) enable_dlopen_self_static=unknown ;;
  36073. + esac
  36074. +fi
  36075. +
  36076. +
  36077. +
  36078. +
  36079. +
  36080. +
  36081. +
  36082. +
  36083. +
  36084. +
  36085. +
  36086. +
  36087. +
  36088. +
  36089. +
  36090. +
  36091. +
  36092. +striplib=
  36093. +old_striplib=
  36094. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  36095. +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
  36096. +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  36097. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  36098. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  36099. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  36100. +$as_echo "yes" >&6; }
  36101. +else
  36102. +# FIXME - insert some real tests, host_os isn't really good enough
  36103. + case $host_os in
  36104. + darwin*)
  36105. + if test -n "$STRIP"; then
  36106. + striplib="$STRIP -x"
  36107. + old_striplib="$STRIP -S"
  36108. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  36109. +$as_echo "yes" >&6; }
  36110. + else
  36111. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36112. +$as_echo "no" >&6; }
  36113. + fi
  36114. + ;;
  36115. + *)
  36116. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36117. +$as_echo "no" >&6; }
  36118. + ;;
  36119. + esac
  36120. +fi
  36121. +
  36122. +
  36123. +
  36124. +
  36125. +
  36126. +
  36127. +
  36128. +
  36129. +
  36130. +
  36131. +
  36132. +
  36133. + # Report what library types will actually be built
  36134. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  36135. +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
  36136. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  36137. +$as_echo "$can_build_shared" >&6; }
  36138. +
  36139. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  36140. +$as_echo_n "checking whether to build shared libraries... " >&6; }
  36141. + test no = "$can_build_shared" && enable_shared=no
  36142. +
  36143. + # On AIX, shared libraries and static libraries use the same namespace, and
  36144. + # are all built from PIC.
  36145. + case $host_os in
  36146. + aix3*)
  36147. + test yes = "$enable_shared" && enable_static=no
  36148. + if test -n "$RANLIB"; then
  36149. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  36150. + postinstall_cmds='$RANLIB $lib'
  36151. + fi
  36152. + ;;
  36153. +
  36154. + aix[4-9]*)
  36155. + if test ia64 != "$host_cpu"; then
  36156. + case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
  36157. + yes,aix,yes) ;; # shared object as lib.so file only
  36158. + yes,svr4,*) ;; # shared object as lib.so archive member only
  36159. + yes,*) enable_static=no ;; # shared object in lib.a archive as well
  36160. + esac
  36161. + fi
  36162. + ;;
  36163. + esac
  36164. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  36165. +$as_echo "$enable_shared" >&6; }
  36166. +
  36167. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  36168. +$as_echo_n "checking whether to build static libraries... " >&6; }
  36169. + # Make sure either enable_shared or enable_static is yes.
  36170. + test yes = "$enable_shared" || enable_static=yes
  36171. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  36172. +$as_echo "$enable_static" >&6; }
  36173. +
  36174. +
  36175. +
  36176. +
  36177. +fi
  36178. +ac_ext=c
  36179. +ac_cpp='$CPP $CPPFLAGS'
  36180. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  36181. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  36182. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  36183. +
  36184. +CC=$lt_save_CC
  36185. +
  36186. +
  36187. +
  36188. +
  36189. +
  36190. +
  36191. +
  36192. +
  36193. +
  36194. +
  36195. +
  36196. +
  36197. +
  36198. +
  36199. +
  36200. + ac_config_commands="$ac_config_commands libtool"
  36201. +
  36202. +
  36203. +
  36204. +
  36205. +# Only expand once:
  36206. +
  36207. +
  36208. +
  36209. +ac_ext=c
  36210. +ac_cpp='$CPP $CPPFLAGS'
  36211. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  36212. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  36213. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  36214. +if test -n "$ac_tool_prefix"; then
  36215. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  36216. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  36217. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  36218. +$as_echo_n "checking for $ac_word... " >&6; }
  36219. +if ${ac_cv_prog_CC+:} false; then :
  36220. + $as_echo_n "(cached) " >&6
  36221. +else
  36222. + if test -n "$CC"; then
  36223. + ac_cv_prog_CC="$CC" # Let the user override the test.
  36224. +else
  36225. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36226. +for as_dir in $PATH
  36227. +do
  36228. + IFS=$as_save_IFS
  36229. + test -z "$as_dir" && as_dir=.
  36230. + for ac_exec_ext in '' $ac_executable_extensions; do
  36231. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  36232. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  36233. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  36234. + break 2
  36235. + fi
  36236. +done
  36237. + done
  36238. +IFS=$as_save_IFS
  36239. +
  36240. +fi
  36241. +fi
  36242. +CC=$ac_cv_prog_CC
  36243. +if test -n "$CC"; then
  36244. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  36245. +$as_echo "$CC" >&6; }
  36246. +else
  36247. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36248. +$as_echo "no" >&6; }
  36249. +fi
  36250. +
  36251. +
  36252. +fi
  36253. +if test -z "$ac_cv_prog_CC"; then
  36254. + ac_ct_CC=$CC
  36255. + # Extract the first word of "gcc", so it can be a program name with args.
  36256. +set dummy gcc; ac_word=$2
  36257. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  36258. +$as_echo_n "checking for $ac_word... " >&6; }
  36259. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  36260. + $as_echo_n "(cached) " >&6
  36261. +else
  36262. + if test -n "$ac_ct_CC"; then
  36263. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  36264. +else
  36265. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36266. +for as_dir in $PATH
  36267. +do
  36268. + IFS=$as_save_IFS
  36269. + test -z "$as_dir" && as_dir=.
  36270. + for ac_exec_ext in '' $ac_executable_extensions; do
  36271. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  36272. + ac_cv_prog_ac_ct_CC="gcc"
  36273. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  36274. + break 2
  36275. + fi
  36276. +done
  36277. + done
  36278. +IFS=$as_save_IFS
  36279. +
  36280. +fi
  36281. +fi
  36282. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  36283. +if test -n "$ac_ct_CC"; then
  36284. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  36285. +$as_echo "$ac_ct_CC" >&6; }
  36286. +else
  36287. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36288. +$as_echo "no" >&6; }
  36289. +fi
  36290. +
  36291. + if test "x$ac_ct_CC" = x; then
  36292. + CC=""
  36293. + else
  36294. + case $cross_compiling:$ac_tool_warned in
  36295. +yes:)
  36296. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  36297. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  36298. +ac_tool_warned=yes ;;
  36299. +esac
  36300. + CC=$ac_ct_CC
  36301. + fi
  36302. +else
  36303. + CC="$ac_cv_prog_CC"
  36304. +fi
  36305. +
  36306. +if test -z "$CC"; then
  36307. + if test -n "$ac_tool_prefix"; then
  36308. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  36309. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  36310. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  36311. +$as_echo_n "checking for $ac_word... " >&6; }
  36312. +if ${ac_cv_prog_CC+:} false; then :
  36313. + $as_echo_n "(cached) " >&6
  36314. +else
  36315. + if test -n "$CC"; then
  36316. + ac_cv_prog_CC="$CC" # Let the user override the test.
  36317. +else
  36318. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36319. +for as_dir in $PATH
  36320. +do
  36321. + IFS=$as_save_IFS
  36322. + test -z "$as_dir" && as_dir=.
  36323. + for ac_exec_ext in '' $ac_executable_extensions; do
  36324. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  36325. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  36326. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  36327. + break 2
  36328. + fi
  36329. +done
  36330. + done
  36331. +IFS=$as_save_IFS
  36332. +
  36333. +fi
  36334. +fi
  36335. +CC=$ac_cv_prog_CC
  36336. +if test -n "$CC"; then
  36337. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  36338. +$as_echo "$CC" >&6; }
  36339. +else
  36340. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36341. +$as_echo "no" >&6; }
  36342. +fi
  36343. +
  36344. +
  36345. + fi
  36346. +fi
  36347. +if test -z "$CC"; then
  36348. + # Extract the first word of "cc", so it can be a program name with args.
  36349. +set dummy cc; ac_word=$2
  36350. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  36351. +$as_echo_n "checking for $ac_word... " >&6; }
  36352. +if ${ac_cv_prog_CC+:} false; then :
  36353. + $as_echo_n "(cached) " >&6
  36354. +else
  36355. + if test -n "$CC"; then
  36356. + ac_cv_prog_CC="$CC" # Let the user override the test.
  36357. +else
  36358. + ac_prog_rejected=no
  36359. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36360. +for as_dir in $PATH
  36361. +do
  36362. + IFS=$as_save_IFS
  36363. + test -z "$as_dir" && as_dir=.
  36364. + for ac_exec_ext in '' $ac_executable_extensions; do
  36365. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  36366. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  36367. + ac_prog_rejected=yes
  36368. + continue
  36369. + fi
  36370. + ac_cv_prog_CC="cc"
  36371. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  36372. + break 2
  36373. + fi
  36374. +done
  36375. + done
  36376. +IFS=$as_save_IFS
  36377. +
  36378. +if test $ac_prog_rejected = yes; then
  36379. + # We found a bogon in the path, so make sure we never use it.
  36380. + set dummy $ac_cv_prog_CC
  36381. + shift
  36382. + if test $@%:@ != 0; then
  36383. + # We chose a different compiler from the bogus one.
  36384. + # However, it has the same basename, so the bogon will be chosen
  36385. + # first if we set CC to just the basename; use the full file name.
  36386. + shift
  36387. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  36388. + fi
  36389. +fi
  36390. +fi
  36391. +fi
  36392. +CC=$ac_cv_prog_CC
  36393. +if test -n "$CC"; then
  36394. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  36395. +$as_echo "$CC" >&6; }
  36396. +else
  36397. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36398. +$as_echo "no" >&6; }
  36399. +fi
  36400. +
  36401. +
  36402. +fi
  36403. +if test -z "$CC"; then
  36404. + if test -n "$ac_tool_prefix"; then
  36405. + for ac_prog in cl.exe
  36406. + do
  36407. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  36408. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  36409. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  36410. +$as_echo_n "checking for $ac_word... " >&6; }
  36411. +if ${ac_cv_prog_CC+:} false; then :
  36412. + $as_echo_n "(cached) " >&6
  36413. +else
  36414. + if test -n "$CC"; then
  36415. + ac_cv_prog_CC="$CC" # Let the user override the test.
  36416. +else
  36417. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36418. +for as_dir in $PATH
  36419. +do
  36420. + IFS=$as_save_IFS
  36421. + test -z "$as_dir" && as_dir=.
  36422. + for ac_exec_ext in '' $ac_executable_extensions; do
  36423. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  36424. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  36425. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  36426. + break 2
  36427. + fi
  36428. +done
  36429. + done
  36430. +IFS=$as_save_IFS
  36431. +
  36432. +fi
  36433. +fi
  36434. +CC=$ac_cv_prog_CC
  36435. +if test -n "$CC"; then
  36436. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  36437. +$as_echo "$CC" >&6; }
  36438. +else
  36439. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36440. +$as_echo "no" >&6; }
  36441. +fi
  36442. +
  36443. +
  36444. + test -n "$CC" && break
  36445. + done
  36446. +fi
  36447. +if test -z "$CC"; then
  36448. + ac_ct_CC=$CC
  36449. + for ac_prog in cl.exe
  36450. +do
  36451. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  36452. +set dummy $ac_prog; ac_word=$2
  36453. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  36454. +$as_echo_n "checking for $ac_word... " >&6; }
  36455. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  36456. + $as_echo_n "(cached) " >&6
  36457. +else
  36458. + if test -n "$ac_ct_CC"; then
  36459. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  36460. +else
  36461. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36462. +for as_dir in $PATH
  36463. +do
  36464. + IFS=$as_save_IFS
  36465. + test -z "$as_dir" && as_dir=.
  36466. + for ac_exec_ext in '' $ac_executable_extensions; do
  36467. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  36468. + ac_cv_prog_ac_ct_CC="$ac_prog"
  36469. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  36470. + break 2
  36471. + fi
  36472. +done
  36473. + done
  36474. +IFS=$as_save_IFS
  36475. +
  36476. +fi
  36477. +fi
  36478. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  36479. +if test -n "$ac_ct_CC"; then
  36480. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  36481. +$as_echo "$ac_ct_CC" >&6; }
  36482. +else
  36483. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36484. +$as_echo "no" >&6; }
  36485. +fi
  36486. +
  36487. +
  36488. + test -n "$ac_ct_CC" && break
  36489. +done
  36490. +
  36491. + if test "x$ac_ct_CC" = x; then
  36492. + CC=""
  36493. + else
  36494. + case $cross_compiling:$ac_tool_warned in
  36495. +yes:)
  36496. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  36497. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  36498. +ac_tool_warned=yes ;;
  36499. +esac
  36500. + CC=$ac_ct_CC
  36501. + fi
  36502. +fi
  36503. +
  36504. +fi
  36505. +
  36506. +
  36507. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  36508. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  36509. +as_fn_error $? "no acceptable C compiler found in \$PATH
  36510. +See \`config.log' for more details" "$LINENO" 5; }
  36511. +
  36512. +# Provide some information about the compiler.
  36513. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  36514. +set X $ac_compile
  36515. +ac_compiler=$2
  36516. +for ac_option in --version -v -V -qversion; do
  36517. + { { ac_try="$ac_compiler $ac_option >&5"
  36518. +case "(($ac_try" in
  36519. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  36520. + *) ac_try_echo=$ac_try;;
  36521. +esac
  36522. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  36523. +$as_echo "$ac_try_echo"; } >&5
  36524. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  36525. + ac_status=$?
  36526. + if test -s conftest.err; then
  36527. + sed '10a\
  36528. +... rest of stderr output deleted ...
  36529. + 10q' conftest.err >conftest.er1
  36530. + cat conftest.er1 >&5
  36531. + fi
  36532. + rm -f conftest.er1 conftest.err
  36533. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  36534. + test $ac_status = 0; }
  36535. +done
  36536. +
  36537. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  36538. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  36539. +if ${ac_cv_c_compiler_gnu+:} false; then :
  36540. + $as_echo_n "(cached) " >&6
  36541. +else
  36542. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  36543. +/* end confdefs.h. */
  36544. +
  36545. +int
  36546. +main ()
  36547. +{
  36548. +#ifndef __GNUC__
  36549. + choke me
  36550. +#endif
  36551. +
  36552. + ;
  36553. + return 0;
  36554. +}
  36555. +_ACEOF
  36556. +if ac_fn_c_try_compile "$LINENO"; then :
  36557. + ac_compiler_gnu=yes
  36558. +else
  36559. + ac_compiler_gnu=no
  36560. +fi
  36561. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  36562. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  36563. +
  36564. +fi
  36565. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  36566. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  36567. +if test $ac_compiler_gnu = yes; then
  36568. + GCC=yes
  36569. +else
  36570. + GCC=
  36571. +fi
  36572. +ac_test_CFLAGS=${CFLAGS+set}
  36573. +ac_save_CFLAGS=$CFLAGS
  36574. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  36575. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  36576. +if ${ac_cv_prog_cc_g+:} false; then :
  36577. + $as_echo_n "(cached) " >&6
  36578. +else
  36579. + ac_save_c_werror_flag=$ac_c_werror_flag
  36580. + ac_c_werror_flag=yes
  36581. + ac_cv_prog_cc_g=no
  36582. + CFLAGS="-g"
  36583. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  36584. +/* end confdefs.h. */
  36585. +
  36586. +int
  36587. +main ()
  36588. +{
  36589. +
  36590. + ;
  36591. + return 0;
  36592. +}
  36593. +_ACEOF
  36594. +if ac_fn_c_try_compile "$LINENO"; then :
  36595. + ac_cv_prog_cc_g=yes
  36596. +else
  36597. + CFLAGS=""
  36598. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  36599. +/* end confdefs.h. */
  36600. +
  36601. +int
  36602. +main ()
  36603. +{
  36604. +
  36605. + ;
  36606. + return 0;
  36607. +}
  36608. +_ACEOF
  36609. +if ac_fn_c_try_compile "$LINENO"; then :
  36610. +
  36611. +else
  36612. + ac_c_werror_flag=$ac_save_c_werror_flag
  36613. + CFLAGS="-g"
  36614. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  36615. +/* end confdefs.h. */
  36616. +
  36617. +int
  36618. +main ()
  36619. +{
  36620. +
  36621. + ;
  36622. + return 0;
  36623. +}
  36624. +_ACEOF
  36625. +if ac_fn_c_try_compile "$LINENO"; then :
  36626. + ac_cv_prog_cc_g=yes
  36627. +fi
  36628. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  36629. +fi
  36630. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  36631. +fi
  36632. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  36633. + ac_c_werror_flag=$ac_save_c_werror_flag
  36634. +fi
  36635. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  36636. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  36637. +if test "$ac_test_CFLAGS" = set; then
  36638. + CFLAGS=$ac_save_CFLAGS
  36639. +elif test $ac_cv_prog_cc_g = yes; then
  36640. + if test "$GCC" = yes; then
  36641. + CFLAGS="-g -O2"
  36642. + else
  36643. + CFLAGS="-g"
  36644. + fi
  36645. +else
  36646. + if test "$GCC" = yes; then
  36647. + CFLAGS="-O2"
  36648. + else
  36649. + CFLAGS=
  36650. + fi
  36651. +fi
  36652. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  36653. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  36654. +if ${ac_cv_prog_cc_c89+:} false; then :
  36655. + $as_echo_n "(cached) " >&6
  36656. +else
  36657. + ac_cv_prog_cc_c89=no
  36658. +ac_save_CC=$CC
  36659. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  36660. +/* end confdefs.h. */
  36661. +#include <stdarg.h>
  36662. +#include <stdio.h>
  36663. +struct stat;
  36664. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  36665. +struct buf { int x; };
  36666. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  36667. +static char *e (p, i)
  36668. + char **p;
  36669. + int i;
  36670. +{
  36671. + return p[i];
  36672. +}
  36673. +static char *f (char * (*g) (char **, int), char **p, ...)
  36674. +{
  36675. + char *s;
  36676. + va_list v;
  36677. + va_start (v,p);
  36678. + s = g (p, va_arg (v,int));
  36679. + va_end (v);
  36680. + return s;
  36681. +}
  36682. +
  36683. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  36684. + function prototypes and stuff, but not '\xHH' hex character constants.
  36685. + These don't provoke an error unfortunately, instead are silently treated
  36686. + as 'x'. The following induces an error, until -std is added to get
  36687. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  36688. + array size at least. It's necessary to write '\x00'==0 to get something
  36689. + that's true only with -std. */
  36690. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  36691. +
  36692. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  36693. + inside strings and character constants. */
  36694. +#define FOO(x) 'x'
  36695. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  36696. +
  36697. +int test (int i, double x);
  36698. +struct s1 {int (*f) (int a);};
  36699. +struct s2 {int (*f) (double a);};
  36700. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  36701. +int argc;
  36702. +char **argv;
  36703. +int
  36704. +main ()
  36705. +{
  36706. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  36707. + ;
  36708. + return 0;
  36709. +}
  36710. +_ACEOF
  36711. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  36712. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  36713. +do
  36714. + CC="$ac_save_CC $ac_arg"
  36715. + if ac_fn_c_try_compile "$LINENO"; then :
  36716. + ac_cv_prog_cc_c89=$ac_arg
  36717. +fi
  36718. +rm -f core conftest.err conftest.$ac_objext
  36719. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  36720. +done
  36721. +rm -f conftest.$ac_ext
  36722. +CC=$ac_save_CC
  36723. +
  36724. +fi
  36725. +# AC_CACHE_VAL
  36726. +case "x$ac_cv_prog_cc_c89" in
  36727. + x)
  36728. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  36729. +$as_echo "none needed" >&6; } ;;
  36730. + xno)
  36731. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  36732. +$as_echo "unsupported" >&6; } ;;
  36733. + *)
  36734. + CC="$CC $ac_cv_prog_cc_c89"
  36735. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  36736. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  36737. +esac
  36738. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  36739. +
  36740. +fi
  36741. +
  36742. +ac_ext=c
  36743. +ac_cpp='$CPP $CPPFLAGS'
  36744. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  36745. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  36746. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  36747. +
  36748. +ac_ext=c
  36749. +ac_cpp='$CPP $CPPFLAGS'
  36750. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  36751. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  36752. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  36753. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  36754. +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  36755. +if ${am_cv_prog_cc_c_o+:} false; then :
  36756. + $as_echo_n "(cached) " >&6
  36757. +else
  36758. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  36759. +/* end confdefs.h. */
  36760. +
  36761. +int
  36762. +main ()
  36763. +{
  36764. +
  36765. + ;
  36766. + return 0;
  36767. +}
  36768. +_ACEOF
  36769. + # Make sure it works both with $CC and with simple cc.
  36770. + # Following AC_PROG_CC_C_O, we do the test twice because some
  36771. + # compilers refuse to overwrite an existing .o file with -o,
  36772. + # though they will create one.
  36773. + am_cv_prog_cc_c_o=yes
  36774. + for am_i in 1 2; do
  36775. + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  36776. + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  36777. + ac_status=$?
  36778. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  36779. + (exit $ac_status); } \
  36780. + && test -f conftest2.$ac_objext; then
  36781. + : OK
  36782. + else
  36783. + am_cv_prog_cc_c_o=no
  36784. + break
  36785. + fi
  36786. + done
  36787. + rm -f core conftest*
  36788. + unset am_i
  36789. +fi
  36790. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  36791. +$as_echo "$am_cv_prog_cc_c_o" >&6; }
  36792. +if test "$am_cv_prog_cc_c_o" != yes; then
  36793. + # Losing compiler, so override with the script.
  36794. + # FIXME: It is wrong to rewrite CC.
  36795. + # But if we don't then we get into trouble of one sort or another.
  36796. + # A longer-term fix would be to have automake use am__CC in this case,
  36797. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  36798. + CC="$am_aux_dir/compile $CC"
  36799. +fi
  36800. +ac_ext=c
  36801. +ac_cpp='$CPP $CPPFLAGS'
  36802. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  36803. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  36804. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  36805. +
  36806. +
  36807. +depcc="$CC" am_compiler_list=
  36808. +
  36809. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  36810. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  36811. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  36812. + $as_echo_n "(cached) " >&6
  36813. +else
  36814. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  36815. + # We make a subdir and do the tests there. Otherwise we can end up
  36816. + # making bogus files that we don't know about and never remove. For
  36817. + # instance it was reported that on HP-UX the gcc test will end up
  36818. + # making a dummy file named 'D' -- because '-MD' means "put the output
  36819. + # in D".
  36820. + rm -rf conftest.dir
  36821. + mkdir conftest.dir
  36822. + # Copy depcomp to subdir because otherwise we won't find it if we're
  36823. + # using a relative directory.
  36824. + cp "$am_depcomp" conftest.dir
  36825. + cd conftest.dir
  36826. + # We will build objects and dependencies in a subdirectory because
  36827. + # it helps to detect inapplicable dependency modes. For instance
  36828. + # both Tru64's cc and ICC support -MD to output dependencies as a
  36829. + # side effect of compilation, but ICC will put the dependencies in
  36830. + # the current directory while Tru64 will put them in the object
  36831. + # directory.
  36832. + mkdir sub
  36833. +
  36834. + am_cv_CC_dependencies_compiler_type=none
  36835. + if test "$am_compiler_list" = ""; then
  36836. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  36837. + fi
  36838. + am__universal=false
  36839. + case " $depcc " in #(
  36840. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  36841. + esac
  36842. +
  36843. + for depmode in $am_compiler_list; do
  36844. + # Setup a source with many dependencies, because some compilers
  36845. + # like to wrap large dependency lists on column 80 (with \), and
  36846. + # we should not choose a depcomp mode which is confused by this.
  36847. + #
  36848. + # We need to recreate these files for each test, as the compiler may
  36849. + # overwrite some of them when testing with obscure command lines.
  36850. + # This happens at least with the AIX C compiler.
  36851. + : > sub/conftest.c
  36852. + for i in 1 2 3 4 5 6; do
  36853. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  36854. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  36855. + # Solaris 10 /bin/sh.
  36856. + echo '/* dummy */' > sub/conftst$i.h
  36857. + done
  36858. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  36859. +
  36860. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  36861. + # mode. It turns out that the SunPro C++ compiler does not properly
  36862. + # handle '-M -o', and we need to detect this. Also, some Intel
  36863. + # versions had trouble with output in subdirs.
  36864. + am__obj=sub/conftest.${OBJEXT-o}
  36865. + am__minus_obj="-o $am__obj"
  36866. + case $depmode in
  36867. + gcc)
  36868. + # This depmode causes a compiler race in universal mode.
  36869. + test "$am__universal" = false || continue
  36870. + ;;
  36871. + nosideeffect)
  36872. + # After this tag, mechanisms are not by side-effect, so they'll
  36873. + # only be used when explicitly requested.
  36874. + if test "x$enable_dependency_tracking" = xyes; then
  36875. + continue
  36876. + else
  36877. + break
  36878. + fi
  36879. + ;;
  36880. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  36881. + # This compiler won't grok '-c -o', but also, the minuso test has
  36882. + # not run yet. These depmodes are late enough in the game, and
  36883. + # so weak that their functioning should not be impacted.
  36884. + am__obj=conftest.${OBJEXT-o}
  36885. + am__minus_obj=
  36886. + ;;
  36887. + none) break ;;
  36888. + esac
  36889. + if depmode=$depmode \
  36890. + source=sub/conftest.c object=$am__obj \
  36891. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  36892. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  36893. + >/dev/null 2>conftest.err &&
  36894. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  36895. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  36896. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  36897. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  36898. + # icc doesn't choke on unknown options, it will just issue warnings
  36899. + # or remarks (even with -Werror). So we grep stderr for any message
  36900. + # that says an option was ignored or not supported.
  36901. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  36902. + # icc: Command line warning: ignoring option '-M'; no argument required
  36903. + # The diagnosis changed in icc 8.0:
  36904. + # icc: Command line remark: option '-MP' not supported
  36905. + if (grep 'ignoring option' conftest.err ||
  36906. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  36907. + am_cv_CC_dependencies_compiler_type=$depmode
  36908. + break
  36909. + fi
  36910. + fi
  36911. + done
  36912. +
  36913. + cd ..
  36914. + rm -rf conftest.dir
  36915. +else
  36916. + am_cv_CC_dependencies_compiler_type=none
  36917. +fi
  36918. +
  36919. +fi
  36920. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  36921. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  36922. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  36923. +
  36924. + if
  36925. + test "x$enable_dependency_tracking" != xno \
  36926. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  36927. + am__fastdepCC_TRUE=
  36928. + am__fastdepCC_FALSE='#'
  36929. +else
  36930. + am__fastdepCC_TRUE='#'
  36931. + am__fastdepCC_FALSE=
  36932. +fi
  36933. +
  36934. +
  36935. +
  36936. +# Compiler Flags
  36937. +
  36938. +#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'
  36939. +AM_CPPFLAGS='-DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  36940. +
  36941. +# Checks whether shifting of signed integers works: -1 << 3 = -8 .
  36942. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shifting of signed integers works" >&5
  36943. +$as_echo_n "checking whether shifting of signed integers works... " >&6; }
  36944. +if ${ac_cv_signed_shift+:} false; then :
  36945. + $as_echo_n "(cached) " >&6
  36946. +else
  36947. + if test "$cross_compiling" = yes; then :
  36948. + ac_cv_signed_shift=yes
  36949. +else
  36950. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  36951. +/* end confdefs.h. */
  36952. +main () {
  36953. + exit ((-1 << 2) == -4 && (-4 >> 2) == -1);
  36954. +}
  36955. +_ACEOF
  36956. +if ac_fn_c_try_run "$LINENO"; then :
  36957. + ac_cv_signed_shift=no
  36958. +else
  36959. + ac_cv_signed_shift=yes
  36960. +fi
  36961. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  36962. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  36963. +fi
  36964. +
  36965. +fi
  36966. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_signed_shift" >&5
  36967. +$as_echo "$ac_cv_signed_shift" >&6; }
  36968. +if test $ac_cv_signed_shift = yes; then
  36969. + $as_echo "@%:@define HAVE_SIGNED_SHIFT 1" >>confdefs.h
  36970. +
  36971. +fi
  36972. +
  36973. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  36974. +$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  36975. +if ${ac_cv_c_bigendian+:} false; then :
  36976. + $as_echo_n "(cached) " >&6
  36977. +else
  36978. + ac_cv_c_bigendian=unknown
  36979. + # See if we're dealing with a universal compiler.
  36980. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  36981. +/* end confdefs.h. */
  36982. +#ifndef __APPLE_CC__
  36983. + not a universal capable compiler
  36984. + #endif
  36985. + typedef int dummy;
  36986. +
  36987. +_ACEOF
  36988. +if ac_fn_c_try_compile "$LINENO"; then :
  36989. +
  36990. + # Check for potential -arch flags. It is not universal unless
  36991. + # there are at least two -arch flags with different values.
  36992. + ac_arch=
  36993. + ac_prev=
  36994. + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  36995. + if test -n "$ac_prev"; then
  36996. + case $ac_word in
  36997. + i?86 | x86_64 | ppc | ppc64)
  36998. + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  36999. + ac_arch=$ac_word
  37000. + else
  37001. + ac_cv_c_bigendian=universal
  37002. + break
  37003. + fi
  37004. + ;;
  37005. + esac
  37006. + ac_prev=
  37007. + elif test "x$ac_word" = "x-arch"; then
  37008. + ac_prev=arch
  37009. + fi
  37010. + done
  37011. +fi
  37012. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37013. + if test $ac_cv_c_bigendian = unknown; then
  37014. + # See if sys/param.h defines the BYTE_ORDER macro.
  37015. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37016. +/* end confdefs.h. */
  37017. +#include <sys/types.h>
  37018. + #include <sys/param.h>
  37019. +
  37020. +int
  37021. +main ()
  37022. +{
  37023. +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  37024. + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  37025. + && LITTLE_ENDIAN)
  37026. + bogus endian macros
  37027. + #endif
  37028. +
  37029. + ;
  37030. + return 0;
  37031. +}
  37032. +_ACEOF
  37033. +if ac_fn_c_try_compile "$LINENO"; then :
  37034. + # It does; now see whether it defined to BIG_ENDIAN or not.
  37035. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37036. +/* end confdefs.h. */
  37037. +#include <sys/types.h>
  37038. + #include <sys/param.h>
  37039. +
  37040. +int
  37041. +main ()
  37042. +{
  37043. +#if BYTE_ORDER != BIG_ENDIAN
  37044. + not big endian
  37045. + #endif
  37046. +
  37047. + ;
  37048. + return 0;
  37049. +}
  37050. +_ACEOF
  37051. +if ac_fn_c_try_compile "$LINENO"; then :
  37052. + ac_cv_c_bigendian=yes
  37053. +else
  37054. + ac_cv_c_bigendian=no
  37055. +fi
  37056. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37057. +fi
  37058. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37059. + fi
  37060. + if test $ac_cv_c_bigendian = unknown; then
  37061. + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  37062. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37063. +/* end confdefs.h. */
  37064. +#include <limits.h>
  37065. +
  37066. +int
  37067. +main ()
  37068. +{
  37069. +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  37070. + bogus endian macros
  37071. + #endif
  37072. +
  37073. + ;
  37074. + return 0;
  37075. +}
  37076. +_ACEOF
  37077. +if ac_fn_c_try_compile "$LINENO"; then :
  37078. + # It does; now see whether it defined to _BIG_ENDIAN or not.
  37079. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37080. +/* end confdefs.h. */
  37081. +#include <limits.h>
  37082. +
  37083. +int
  37084. +main ()
  37085. +{
  37086. +#ifndef _BIG_ENDIAN
  37087. + not big endian
  37088. + #endif
  37089. +
  37090. + ;
  37091. + return 0;
  37092. +}
  37093. +_ACEOF
  37094. +if ac_fn_c_try_compile "$LINENO"; then :
  37095. + ac_cv_c_bigendian=yes
  37096. +else
  37097. + ac_cv_c_bigendian=no
  37098. +fi
  37099. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37100. +fi
  37101. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37102. + fi
  37103. + if test $ac_cv_c_bigendian = unknown; then
  37104. + # Compile a test program.
  37105. + if test "$cross_compiling" = yes; then :
  37106. + # Try to guess by grepping values from an object file.
  37107. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37108. +/* end confdefs.h. */
  37109. +short int ascii_mm[] =
  37110. + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  37111. + short int ascii_ii[] =
  37112. + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  37113. + int use_ascii (int i) {
  37114. + return ascii_mm[i] + ascii_ii[i];
  37115. + }
  37116. + short int ebcdic_ii[] =
  37117. + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  37118. + short int ebcdic_mm[] =
  37119. + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  37120. + int use_ebcdic (int i) {
  37121. + return ebcdic_mm[i] + ebcdic_ii[i];
  37122. + }
  37123. + extern int foo;
  37124. +
  37125. +int
  37126. +main ()
  37127. +{
  37128. +return use_ascii (foo) == use_ebcdic (foo);
  37129. + ;
  37130. + return 0;
  37131. +}
  37132. +_ACEOF
  37133. +if ac_fn_c_try_compile "$LINENO"; then :
  37134. + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  37135. + ac_cv_c_bigendian=yes
  37136. + fi
  37137. + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  37138. + if test "$ac_cv_c_bigendian" = unknown; then
  37139. + ac_cv_c_bigendian=no
  37140. + else
  37141. + # finding both strings is unlikely to happen, but who knows?
  37142. + ac_cv_c_bigendian=unknown
  37143. + fi
  37144. + fi
  37145. +fi
  37146. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37147. +else
  37148. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37149. +/* end confdefs.h. */
  37150. +$ac_includes_default
  37151. +int
  37152. +main ()
  37153. +{
  37154. +
  37155. + /* Are we little or big endian? From Harbison&Steele. */
  37156. + union
  37157. + {
  37158. + long int l;
  37159. + char c[sizeof (long int)];
  37160. + } u;
  37161. + u.l = 1;
  37162. + return u.c[sizeof (long int) - 1] == 1;
  37163. +
  37164. + ;
  37165. + return 0;
  37166. +}
  37167. +_ACEOF
  37168. +if ac_fn_c_try_run "$LINENO"; then :
  37169. + ac_cv_c_bigendian=no
  37170. +else
  37171. + ac_cv_c_bigendian=yes
  37172. +fi
  37173. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  37174. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  37175. +fi
  37176. +
  37177. + fi
  37178. +fi
  37179. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  37180. +$as_echo "$ac_cv_c_bigendian" >&6; }
  37181. + case $ac_cv_c_bigendian in #(
  37182. + yes)
  37183. + $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
  37184. +;; #(
  37185. + no)
  37186. + ;; #(
  37187. + universal)
  37188. +
  37189. +$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  37190. +
  37191. + ;; #(
  37192. + *)
  37193. + as_fn_error $? "unknown endianness
  37194. + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  37195. + esac
  37196. +
  37197. +# The cast to long int works around a bug in the HP C Compiler
  37198. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  37199. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  37200. +# This bug is HP SR number 8606223364.
  37201. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
  37202. +$as_echo_n "checking size of char... " >&6; }
  37203. +if ${ac_cv_sizeof_char+:} false; then :
  37204. + $as_echo_n "(cached) " >&6
  37205. +else
  37206. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
  37207. +
  37208. +else
  37209. + if test "$ac_cv_type_char" = yes; then
  37210. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  37211. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  37212. +as_fn_error 77 "cannot compute sizeof (char)
  37213. +See \`config.log' for more details" "$LINENO" 5; }
  37214. + else
  37215. + ac_cv_sizeof_char=0
  37216. + fi
  37217. +fi
  37218. +
  37219. +fi
  37220. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
  37221. +$as_echo "$ac_cv_sizeof_char" >&6; }
  37222. +
  37223. +
  37224. +
  37225. +cat >>confdefs.h <<_ACEOF
  37226. +@%:@define SIZEOF_CHAR $ac_cv_sizeof_char
  37227. +_ACEOF
  37228. +
  37229. +
  37230. +# The cast to long int works around a bug in the HP C Compiler
  37231. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  37232. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  37233. +# This bug is HP SR number 8606223364.
  37234. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
  37235. +$as_echo_n "checking size of short... " >&6; }
  37236. +if ${ac_cv_sizeof_short+:} false; then :
  37237. + $as_echo_n "(cached) " >&6
  37238. +else
  37239. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
  37240. +
  37241. +else
  37242. + if test "$ac_cv_type_short" = yes; then
  37243. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  37244. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  37245. +as_fn_error 77 "cannot compute sizeof (short)
  37246. +See \`config.log' for more details" "$LINENO" 5; }
  37247. + else
  37248. + ac_cv_sizeof_short=0
  37249. + fi
  37250. +fi
  37251. +
  37252. +fi
  37253. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
  37254. +$as_echo "$ac_cv_sizeof_short" >&6; }
  37255. +
  37256. +
  37257. +
  37258. +cat >>confdefs.h <<_ACEOF
  37259. +@%:@define SIZEOF_SHORT $ac_cv_sizeof_short
  37260. +_ACEOF
  37261. +
  37262. +
  37263. +# The cast to long int works around a bug in the HP C Compiler
  37264. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  37265. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  37266. +# This bug is HP SR number 8606223364.
  37267. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
  37268. +$as_echo_n "checking size of int... " >&6; }
  37269. +if ${ac_cv_sizeof_int+:} false; then :
  37270. + $as_echo_n "(cached) " >&6
  37271. +else
  37272. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
  37273. +
  37274. +else
  37275. + if test "$ac_cv_type_int" = yes; then
  37276. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  37277. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  37278. +as_fn_error 77 "cannot compute sizeof (int)
  37279. +See \`config.log' for more details" "$LINENO" 5; }
  37280. + else
  37281. + ac_cv_sizeof_int=0
  37282. + fi
  37283. +fi
  37284. +
  37285. +fi
  37286. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
  37287. +$as_echo "$ac_cv_sizeof_int" >&6; }
  37288. +
  37289. +
  37290. +
  37291. +cat >>confdefs.h <<_ACEOF
  37292. +@%:@define SIZEOF_INT $ac_cv_sizeof_int
  37293. +_ACEOF
  37294. +
  37295. +
  37296. +
  37297. +if test $ac_cv_sizeof_char != 1 -o $ac_cv_sizeof_short != 2 -o $ac_cv_sizeof_int != 4 ; then
  37298. + echo "FIASCO requires that sizeof(char)==1, sizeof(short)==2 and sizeof(int)==4"
  37299. + echo "configure failed."
  37300. + exit 1
  37301. +fi
  37302. +
  37303. +# Checks for math library.
  37304. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
  37305. +$as_echo_n "checking for log in -lm... " >&6; }
  37306. +if ${ac_cv_lib_m_log+:} false; then :
  37307. + $as_echo_n "(cached) " >&6
  37308. +else
  37309. + ac_check_lib_save_LIBS=$LIBS
  37310. +LIBS="-lm $LIBS"
  37311. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37312. +/* end confdefs.h. */
  37313. +
  37314. +/* Override any GCC internal prototype to avoid an error.
  37315. + Use char because int might match the return type of a GCC
  37316. + builtin and then its argument prototype would still apply. */
  37317. +#ifdef __cplusplus
  37318. +extern "C"
  37319. +#endif
  37320. +char log ();
  37321. +int
  37322. +main ()
  37323. +{
  37324. +return log ();
  37325. + ;
  37326. + return 0;
  37327. +}
  37328. +_ACEOF
  37329. +if ac_fn_c_try_link "$LINENO"; then :
  37330. + ac_cv_lib_m_log=yes
  37331. +else
  37332. + ac_cv_lib_m_log=no
  37333. +fi
  37334. +rm -f core conftest.err conftest.$ac_objext \
  37335. + conftest$ac_exeext conftest.$ac_ext
  37336. +LIBS=$ac_check_lib_save_LIBS
  37337. +fi
  37338. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
  37339. +$as_echo "$ac_cv_lib_m_log" >&6; }
  37340. +if test "x$ac_cv_lib_m_log" = xyes; then :
  37341. + cat >>confdefs.h <<_ACEOF
  37342. +@%:@define HAVE_LIBM 1
  37343. +_ACEOF
  37344. +
  37345. + LIBS="-lm $LIBS"
  37346. +
  37347. +fi
  37348. +
  37349. +if test "$ac_cv_lib_m_log" = "no"; then
  37350. + echo "FIASCO requires math library!"
  37351. + echo "It was not found on your system."
  37352. + echo "configure failed."
  37353. + exit 1
  37354. +fi
  37355. +
  37356. +# Checks for programs
  37357. +# Extract the first word of "xfig", so it can be a program name with args.
  37358. +set dummy xfig; ac_word=$2
  37359. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  37360. +$as_echo_n "checking for $ac_word... " >&6; }
  37361. +if ${ac_cv_path_xfig+:} false; then :
  37362. + $as_echo_n "(cached) " >&6
  37363. +else
  37364. + case $xfig in
  37365. + [\\/]* | ?:[\\/]*)
  37366. + ac_cv_path_xfig="$xfig" # Let the user override the test with a path.
  37367. + ;;
  37368. + *)
  37369. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  37370. +for as_dir in $PATH
  37371. +do
  37372. + IFS=$as_save_IFS
  37373. + test -z "$as_dir" && as_dir=.
  37374. + for ac_exec_ext in '' $ac_executable_extensions; do
  37375. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  37376. + ac_cv_path_xfig="$as_dir/$ac_word$ac_exec_ext"
  37377. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  37378. + break 2
  37379. + fi
  37380. +done
  37381. + done
  37382. +IFS=$as_save_IFS
  37383. +
  37384. + ;;
  37385. +esac
  37386. +fi
  37387. +xfig=$ac_cv_path_xfig
  37388. +if test -n "$xfig"; then
  37389. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xfig" >&5
  37390. +$as_echo "$xfig" >&6; }
  37391. +else
  37392. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  37393. +$as_echo "no" >&6; }
  37394. +fi
  37395. +
  37396. +
  37397. +if test -n "$xfig"; then
  37398. +
  37399. +cat >>confdefs.h <<_ACEOF
  37400. +@%:@define XFIG "$xfig"
  37401. +_ACEOF
  37402. +
  37403. +fi
  37404. +# Extract the first word of "xmag", so it can be a program name with args.
  37405. +set dummy xmag; ac_word=$2
  37406. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  37407. +$as_echo_n "checking for $ac_word... " >&6; }
  37408. +if ${ac_cv_path_xmag+:} false; then :
  37409. + $as_echo_n "(cached) " >&6
  37410. +else
  37411. + case $xmag in
  37412. + [\\/]* | ?:[\\/]*)
  37413. + ac_cv_path_xmag="$xmag" # Let the user override the test with a path.
  37414. + ;;
  37415. + *)
  37416. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  37417. +for as_dir in $PATH
  37418. +do
  37419. + IFS=$as_save_IFS
  37420. + test -z "$as_dir" && as_dir=.
  37421. + for ac_exec_ext in '' $ac_executable_extensions; do
  37422. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  37423. + ac_cv_path_xmag="$as_dir/$ac_word$ac_exec_ext"
  37424. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  37425. + break 2
  37426. + fi
  37427. +done
  37428. + done
  37429. +IFS=$as_save_IFS
  37430. +
  37431. + ;;
  37432. +esac
  37433. +fi
  37434. +xmag=$ac_cv_path_xmag
  37435. +if test -n "$xmag"; then
  37436. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmag" >&5
  37437. +$as_echo "$xmag" >&6; }
  37438. +else
  37439. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  37440. +$as_echo "no" >&6; }
  37441. +fi
  37442. +
  37443. +
  37444. +if test -n "$xmag"; then
  37445. +
  37446. +cat >>confdefs.h <<_ACEOF
  37447. +@%:@define XMAG "$xmag"
  37448. +_ACEOF
  37449. +
  37450. +fi
  37451. +
  37452. +# Checks for header files.
  37453. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  37454. +$as_echo_n "checking for ANSI C header files... " >&6; }
  37455. +if ${ac_cv_header_stdc+:} false; then :
  37456. + $as_echo_n "(cached) " >&6
  37457. +else
  37458. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37459. +/* end confdefs.h. */
  37460. +#include <stdlib.h>
  37461. +#include <stdarg.h>
  37462. +#include <string.h>
  37463. +#include <float.h>
  37464. +
  37465. +int
  37466. +main ()
  37467. +{
  37468. +
  37469. + ;
  37470. + return 0;
  37471. +}
  37472. +_ACEOF
  37473. +if ac_fn_c_try_compile "$LINENO"; then :
  37474. + ac_cv_header_stdc=yes
  37475. +else
  37476. + ac_cv_header_stdc=no
  37477. +fi
  37478. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37479. +
  37480. +if test $ac_cv_header_stdc = yes; then
  37481. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  37482. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37483. +/* end confdefs.h. */
  37484. +#include <string.h>
  37485. +
  37486. +_ACEOF
  37487. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  37488. + $EGREP "memchr" >/dev/null 2>&1; then :
  37489. +
  37490. +else
  37491. + ac_cv_header_stdc=no
  37492. +fi
  37493. +rm -f conftest*
  37494. +
  37495. +fi
  37496. +
  37497. +if test $ac_cv_header_stdc = yes; then
  37498. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  37499. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37500. +/* end confdefs.h. */
  37501. +#include <stdlib.h>
  37502. +
  37503. +_ACEOF
  37504. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  37505. + $EGREP "free" >/dev/null 2>&1; then :
  37506. +
  37507. +else
  37508. + ac_cv_header_stdc=no
  37509. +fi
  37510. +rm -f conftest*
  37511. +
  37512. +fi
  37513. +
  37514. +if test $ac_cv_header_stdc = yes; then
  37515. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  37516. + if test "$cross_compiling" = yes; then :
  37517. + :
  37518. +else
  37519. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37520. +/* end confdefs.h. */
  37521. +#include <ctype.h>
  37522. +#include <stdlib.h>
  37523. +#if ((' ' & 0x0FF) == 0x020)
  37524. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  37525. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  37526. +#else
  37527. +# define ISLOWER(c) \
  37528. + (('a' <= (c) && (c) <= 'i') \
  37529. + || ('j' <= (c) && (c) <= 'r') \
  37530. + || ('s' <= (c) && (c) <= 'z'))
  37531. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  37532. +#endif
  37533. +
  37534. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  37535. +int
  37536. +main ()
  37537. +{
  37538. + int i;
  37539. + for (i = 0; i < 256; i++)
  37540. + if (XOR (islower (i), ISLOWER (i))
  37541. + || toupper (i) != TOUPPER (i))
  37542. + return 2;
  37543. + return 0;
  37544. +}
  37545. +_ACEOF
  37546. +if ac_fn_c_try_run "$LINENO"; then :
  37547. +
  37548. +else
  37549. + ac_cv_header_stdc=no
  37550. +fi
  37551. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  37552. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  37553. +fi
  37554. +
  37555. +fi
  37556. +fi
  37557. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  37558. +$as_echo "$ac_cv_header_stdc" >&6; }
  37559. +if test $ac_cv_header_stdc = yes; then
  37560. +
  37561. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  37562. +
  37563. +fi
  37564. +
  37565. +for ac_header in assert.h features.h setjmp.h string.h unistd.h
  37566. +do :
  37567. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  37568. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  37569. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  37570. + cat >>confdefs.h <<_ACEOF
  37571. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  37572. +_ACEOF
  37573. +
  37574. +fi
  37575. +
  37576. +done
  37577. +
  37578. +
  37579. +# Checks for typedefs, structures, and compiler characteristics.
  37580. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  37581. +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  37582. +if ${ac_cv_c_const+:} false; then :
  37583. + $as_echo_n "(cached) " >&6
  37584. +else
  37585. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37586. +/* end confdefs.h. */
  37587. +
  37588. +int
  37589. +main ()
  37590. +{
  37591. +
  37592. +#ifndef __cplusplus
  37593. + /* Ultrix mips cc rejects this sort of thing. */
  37594. + typedef int charset[2];
  37595. + const charset cs = { 0, 0 };
  37596. + /* SunOS 4.1.1 cc rejects this. */
  37597. + char const *const *pcpcc;
  37598. + char **ppc;
  37599. + /* NEC SVR4.0.2 mips cc rejects this. */
  37600. + struct point {int x, y;};
  37601. + static struct point const zero = {0,0};
  37602. + /* AIX XL C 1.02.0.0 rejects this.
  37603. + It does not let you subtract one const X* pointer from another in
  37604. + an arm of an if-expression whose if-part is not a constant
  37605. + expression */
  37606. + const char *g = "string";
  37607. + pcpcc = &g + (g ? g-g : 0);
  37608. + /* HPUX 7.0 cc rejects these. */
  37609. + ++pcpcc;
  37610. + ppc = (char**) pcpcc;
  37611. + pcpcc = (char const *const *) ppc;
  37612. + { /* SCO 3.2v4 cc rejects this sort of thing. */
  37613. + char tx;
  37614. + char *t = &tx;
  37615. + char const *s = 0 ? (char *) 0 : (char const *) 0;
  37616. +
  37617. + *t++ = 0;
  37618. + if (s) return 0;
  37619. + }
  37620. + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  37621. + int x[] = {25, 17};
  37622. + const int *foo = &x[0];
  37623. + ++foo;
  37624. + }
  37625. + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  37626. + typedef const int *iptr;
  37627. + iptr p = 0;
  37628. + ++p;
  37629. + }
  37630. + { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
  37631. + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  37632. + struct s { int j; const int *ap[3]; } bx;
  37633. + struct s *b = &bx; b->j = 5;
  37634. + }
  37635. + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  37636. + const int foo = 10;
  37637. + if (!foo) return 0;
  37638. + }
  37639. + return !cs[0] && !zero.x;
  37640. +#endif
  37641. +
  37642. + ;
  37643. + return 0;
  37644. +}
  37645. +_ACEOF
  37646. +if ac_fn_c_try_compile "$LINENO"; then :
  37647. + ac_cv_c_const=yes
  37648. +else
  37649. + ac_cv_c_const=no
  37650. +fi
  37651. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37652. +fi
  37653. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  37654. +$as_echo "$ac_cv_c_const" >&6; }
  37655. +if test $ac_cv_c_const = no; then
  37656. +
  37657. +$as_echo "@%:@define const /**/" >>confdefs.h
  37658. +
  37659. +fi
  37660. +
  37661. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  37662. +if test "x$ac_cv_type_size_t" = xyes; then :
  37663. +
  37664. +else
  37665. +
  37666. +cat >>confdefs.h <<_ACEOF
  37667. +@%:@define size_t unsigned int
  37668. +_ACEOF
  37669. +
  37670. +fi
  37671. +
  37672. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
  37673. +$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
  37674. +if ${ac_cv_header_time+:} false; then :
  37675. + $as_echo_n "(cached) " >&6
  37676. +else
  37677. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37678. +/* end confdefs.h. */
  37679. +#include <sys/types.h>
  37680. +#include <sys/time.h>
  37681. +#include <time.h>
  37682. +
  37683. +int
  37684. +main ()
  37685. +{
  37686. +if ((struct tm *) 0)
  37687. +return 0;
  37688. + ;
  37689. + return 0;
  37690. +}
  37691. +_ACEOF
  37692. +if ac_fn_c_try_compile "$LINENO"; then :
  37693. + ac_cv_header_time=yes
  37694. +else
  37695. + ac_cv_header_time=no
  37696. +fi
  37697. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37698. +fi
  37699. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
  37700. +$as_echo "$ac_cv_header_time" >&6; }
  37701. +if test $ac_cv_header_time = yes; then
  37702. +
  37703. +$as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
  37704. +
  37705. +fi
  37706. +
  37707. +
  37708. +# Checks for library functions.
  37709. +for ac_func in vprintf
  37710. +do :
  37711. + ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
  37712. +if test "x$ac_cv_func_vprintf" = xyes; then :
  37713. + cat >>confdefs.h <<_ACEOF
  37714. +@%:@define HAVE_VPRINTF 1
  37715. +_ACEOF
  37716. +
  37717. +ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
  37718. +if test "x$ac_cv_func__doprnt" = xyes; then :
  37719. +
  37720. +$as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h
  37721. +
  37722. +fi
  37723. +
  37724. +fi
  37725. +done
  37726. +
  37727. +
  37728. +for ac_func in log2 memmove strdup strcasecmp
  37729. +do :
  37730. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  37731. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  37732. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  37733. + cat >>confdefs.h <<_ACEOF
  37734. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  37735. +_ACEOF
  37736. +
  37737. +fi
  37738. +done
  37739. +
  37740. +
  37741. +ac_config_files="$ac_config_files Makefile data/Makefile doc/Makefile lib/Makefile input/Makefile output/Makefile codec/Makefile bin/Makefile"
  37742. +
  37743. +ac_config_commands="$ac_config_commands default"
  37744. +
  37745. +cat >confcache <<\_ACEOF
  37746. +# This file is a shell script that caches the results of configure
  37747. +# tests run on this system so they can be shared between configure
  37748. +# scripts and configure runs, see configure's option --config-cache.
  37749. +# It is not useful on other systems. If it contains results you don't
  37750. +# want to keep, you may remove or edit it.
  37751. +#
  37752. +# config.status only pays attention to the cache file if you give it
  37753. +# the --recheck option to rerun configure.
  37754. +#
  37755. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  37756. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  37757. +# following values.
  37758. +
  37759. +_ACEOF
  37760. +
  37761. +# The following way of writing the cache mishandles newlines in values,
  37762. +# but we know of no workaround that is simple, portable, and efficient.
  37763. +# So, we kill variables containing newlines.
  37764. +# Ultrix sh set writes to stderr and can't be redirected directly,
  37765. +# and sets the high bit in the cache file unless we assign to the vars.
  37766. +(
  37767. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  37768. + eval ac_val=\$$ac_var
  37769. + case $ac_val in #(
  37770. + *${as_nl}*)
  37771. + case $ac_var in #(
  37772. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  37773. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  37774. + esac
  37775. + case $ac_var in #(
  37776. + _ | IFS | as_nl) ;; #(
  37777. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  37778. + *) { eval $ac_var=; unset $ac_var;} ;;
  37779. + esac ;;
  37780. + esac
  37781. + done
  37782. +
  37783. + (set) 2>&1 |
  37784. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  37785. + *${as_nl}ac_space=\ *)
  37786. + # `set' does not quote correctly, so add quotes: double-quote
  37787. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  37788. + sed -n \
  37789. + "s/'/'\\\\''/g;
  37790. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  37791. + ;; #(
  37792. + *)
  37793. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  37794. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  37795. + ;;
  37796. + esac |
  37797. + sort
  37798. +) |
  37799. + sed '
  37800. + /^ac_cv_env_/b end
  37801. + t clear
  37802. + :clear
  37803. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  37804. + t end
  37805. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  37806. + :end' >>confcache
  37807. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  37808. + if test -w "$cache_file"; then
  37809. + if test "x$cache_file" != "x/dev/null"; then
  37810. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  37811. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  37812. + if test ! -f "$cache_file" || test -h "$cache_file"; then
  37813. + cat confcache >"$cache_file"
  37814. + else
  37815. + case $cache_file in #(
  37816. + */* | ?:*)
  37817. + mv -f confcache "$cache_file"$$ &&
  37818. + mv -f "$cache_file"$$ "$cache_file" ;; #(
  37819. + *)
  37820. + mv -f confcache "$cache_file" ;;
  37821. + esac
  37822. + fi
  37823. + fi
  37824. + else
  37825. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  37826. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  37827. + fi
  37828. +fi
  37829. +rm -f confcache
  37830. +
  37831. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  37832. +# Let make expand exec_prefix.
  37833. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  37834. +
  37835. +DEFS=-DHAVE_CONFIG_H
  37836. +
  37837. +ac_libobjs=
  37838. +ac_ltlibobjs=
  37839. +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
  37840. + # 1. Remove the extension, and $U if already installed.
  37841. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  37842. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  37843. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  37844. + # will be set to the directory where LIBOBJS objects are built.
  37845. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  37846. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  37847. +done
  37848. +LIB@&t@OBJS=$ac_libobjs
  37849. +
  37850. +LTLIBOBJS=$ac_ltlibobjs
  37851. +
  37852. +
  37853. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  37854. +$as_echo_n "checking that generated files are newer than configure... " >&6; }
  37855. + if test -n "$am_sleep_pid"; then
  37856. + # Hide warnings about reused PIDs.
  37857. + wait $am_sleep_pid 2>/dev/null
  37858. + fi
  37859. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  37860. +$as_echo "done" >&6; }
  37861. + if test -n "$EXEEXT"; then
  37862. + am__EXEEXT_TRUE=
  37863. + am__EXEEXT_FALSE='#'
  37864. +else
  37865. + am__EXEEXT_TRUE='#'
  37866. + am__EXEEXT_FALSE=
  37867. +fi
  37868. +
  37869. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  37870. + as_fn_error $? "conditional \"AMDEP\" was never defined.
  37871. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  37872. +fi
  37873. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  37874. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  37875. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  37876. +fi
  37877. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  37878. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  37879. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  37880. +fi
  37881. +
  37882. +
  37883. +: "${CONFIG_STATUS=./config.status}"
  37884. +ac_write_fail=0
  37885. +ac_clean_files_save=$ac_clean_files
  37886. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  37887. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  37888. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  37889. +as_write_fail=0
  37890. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  37891. +#! $SHELL
  37892. +# Generated by $as_me.
  37893. +# Run this file to recreate the current configuration.
  37894. +# Compiler output produced by configure, useful for debugging
  37895. +# configure, is in config.log if it exists.
  37896. +
  37897. +debug=false
  37898. +ac_cs_recheck=false
  37899. +ac_cs_silent=false
  37900. +
  37901. +SHELL=\${CONFIG_SHELL-$SHELL}
  37902. +export SHELL
  37903. +_ASEOF
  37904. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  37905. +## -------------------- ##
  37906. +## M4sh Initialization. ##
  37907. +## -------------------- ##
  37908. +
  37909. +# Be more Bourne compatible
  37910. +DUALCASE=1; export DUALCASE # for MKS sh
  37911. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  37912. + emulate sh
  37913. + NULLCMD=:
  37914. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  37915. + # is contrary to our usage. Disable this feature.
  37916. + alias -g '${1+"$@"}'='"$@"'
  37917. + setopt NO_GLOB_SUBST
  37918. +else
  37919. + case `(set -o) 2>/dev/null` in @%:@(
  37920. + *posix*) :
  37921. + set -o posix ;; @%:@(
  37922. + *) :
  37923. + ;;
  37924. +esac
  37925. +fi
  37926. +
  37927. +
  37928. +as_nl='
  37929. +'
  37930. +export as_nl
  37931. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  37932. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  37933. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  37934. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  37935. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  37936. +# but without wasting forks for bash or zsh.
  37937. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  37938. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  37939. + as_echo='print -r --'
  37940. + as_echo_n='print -rn --'
  37941. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  37942. + as_echo='printf %s\n'
  37943. + as_echo_n='printf %s'
  37944. +else
  37945. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  37946. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  37947. + as_echo_n='/usr/ucb/echo -n'
  37948. + else
  37949. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  37950. + as_echo_n_body='eval
  37951. + arg=$1;
  37952. + case $arg in @%:@(
  37953. + *"$as_nl"*)
  37954. + expr "X$arg" : "X\\(.*\\)$as_nl";
  37955. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  37956. + esac;
  37957. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  37958. + '
  37959. + export as_echo_n_body
  37960. + as_echo_n='sh -c $as_echo_n_body as_echo'
  37961. + fi
  37962. + export as_echo_body
  37963. + as_echo='sh -c $as_echo_body as_echo'
  37964. +fi
  37965. +
  37966. +# The user is always right.
  37967. +if test "${PATH_SEPARATOR+set}" != set; then
  37968. + PATH_SEPARATOR=:
  37969. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  37970. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  37971. + PATH_SEPARATOR=';'
  37972. + }
  37973. +fi
  37974. +
  37975. +
  37976. +# IFS
  37977. +# We need space, tab and new line, in precisely that order. Quoting is
  37978. +# there to prevent editors from complaining about space-tab.
  37979. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  37980. +# splitting by setting IFS to empty value.)
  37981. +IFS=" "" $as_nl"
  37982. +
  37983. +# Find who we are. Look in the path if we contain no directory separator.
  37984. +as_myself=
  37985. +case $0 in @%:@((
  37986. + *[\\/]* ) as_myself=$0 ;;
  37987. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  37988. +for as_dir in $PATH
  37989. +do
  37990. + IFS=$as_save_IFS
  37991. + test -z "$as_dir" && as_dir=.
  37992. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  37993. + done
  37994. +IFS=$as_save_IFS
  37995. +
  37996. + ;;
  37997. +esac
  37998. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  37999. +# in which case we are not to be found in the path.
  38000. +if test "x$as_myself" = x; then
  38001. + as_myself=$0
  38002. +fi
  38003. +if test ! -f "$as_myself"; then
  38004. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  38005. + exit 1
  38006. +fi
  38007. +
  38008. +# Unset variables that we do not need and which cause bugs (e.g. in
  38009. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  38010. +# suppresses any "Segmentation fault" message there. '((' could
  38011. +# trigger a bug in pdksh 5.2.14.
  38012. +for as_var in BASH_ENV ENV MAIL MAILPATH
  38013. +do eval test x\${$as_var+set} = xset \
  38014. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  38015. +done
  38016. +PS1='$ '
  38017. +PS2='> '
  38018. +PS4='+ '
  38019. +
  38020. +# NLS nuisances.
  38021. +LC_ALL=C
  38022. +export LC_ALL
  38023. +LANGUAGE=C
  38024. +export LANGUAGE
  38025. +
  38026. +# CDPATH.
  38027. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  38028. +
  38029. +
  38030. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  38031. +@%:@ ----------------------------------------
  38032. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  38033. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  38034. +@%:@ script with STATUS, using 1 if that was 0.
  38035. +as_fn_error ()
  38036. +{
  38037. + as_status=$1; test $as_status -eq 0 && as_status=1
  38038. + if test "$4"; then
  38039. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  38040. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  38041. + fi
  38042. + $as_echo "$as_me: error: $2" >&2
  38043. + as_fn_exit $as_status
  38044. +} @%:@ as_fn_error
  38045. +
  38046. +
  38047. +@%:@ as_fn_set_status STATUS
  38048. +@%:@ -----------------------
  38049. +@%:@ Set @S|@? to STATUS, without forking.
  38050. +as_fn_set_status ()
  38051. +{
  38052. + return $1
  38053. +} @%:@ as_fn_set_status
  38054. +
  38055. +@%:@ as_fn_exit STATUS
  38056. +@%:@ -----------------
  38057. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  38058. +as_fn_exit ()
  38059. +{
  38060. + set +e
  38061. + as_fn_set_status $1
  38062. + exit $1
  38063. +} @%:@ as_fn_exit
  38064. +
  38065. +@%:@ as_fn_unset VAR
  38066. +@%:@ ---------------
  38067. +@%:@ Portably unset VAR.
  38068. +as_fn_unset ()
  38069. +{
  38070. + { eval $1=; unset $1;}
  38071. +}
  38072. +as_unset=as_fn_unset
  38073. +@%:@ as_fn_append VAR VALUE
  38074. +@%:@ ----------------------
  38075. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  38076. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  38077. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  38078. +@%:@ implementations.
  38079. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  38080. + eval 'as_fn_append ()
  38081. + {
  38082. + eval $1+=\$2
  38083. + }'
  38084. +else
  38085. + as_fn_append ()
  38086. + {
  38087. + eval $1=\$$1\$2
  38088. + }
  38089. +fi # as_fn_append
  38090. +
  38091. +@%:@ as_fn_arith ARG...
  38092. +@%:@ ------------------
  38093. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  38094. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  38095. +@%:@ must be portable across @S|@(()) and expr.
  38096. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  38097. + eval 'as_fn_arith ()
  38098. + {
  38099. + as_val=$(( $* ))
  38100. + }'
  38101. +else
  38102. + as_fn_arith ()
  38103. + {
  38104. + as_val=`expr "$@" || test $? -eq 1`
  38105. + }
  38106. +fi # as_fn_arith
  38107. +
  38108. +
  38109. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  38110. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  38111. + as_expr=expr
  38112. +else
  38113. + as_expr=false
  38114. +fi
  38115. +
  38116. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  38117. + as_basename=basename
  38118. +else
  38119. + as_basename=false
  38120. +fi
  38121. +
  38122. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  38123. + as_dirname=dirname
  38124. +else
  38125. + as_dirname=false
  38126. +fi
  38127. +
  38128. +as_me=`$as_basename -- "$0" ||
  38129. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  38130. + X"$0" : 'X\(//\)$' \| \
  38131. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  38132. +$as_echo X/"$0" |
  38133. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  38134. + s//\1/
  38135. + q
  38136. + }
  38137. + /^X\/\(\/\/\)$/{
  38138. + s//\1/
  38139. + q
  38140. + }
  38141. + /^X\/\(\/\).*/{
  38142. + s//\1/
  38143. + q
  38144. + }
  38145. + s/.*/./; q'`
  38146. +
  38147. +# Avoid depending upon Character Ranges.
  38148. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  38149. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  38150. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  38151. +as_cr_digits='0123456789'
  38152. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  38153. +
  38154. +ECHO_C= ECHO_N= ECHO_T=
  38155. +case `echo -n x` in @%:@(((((
  38156. +-n*)
  38157. + case `echo 'xy\c'` in
  38158. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  38159. + xy) ECHO_C='\c';;
  38160. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  38161. + ECHO_T=' ';;
  38162. + esac;;
  38163. +*)
  38164. + ECHO_N='-n';;
  38165. +esac
  38166. +
  38167. +rm -f conf$$ conf$$.exe conf$$.file
  38168. +if test -d conf$$.dir; then
  38169. + rm -f conf$$.dir/conf$$.file
  38170. +else
  38171. + rm -f conf$$.dir
  38172. + mkdir conf$$.dir 2>/dev/null
  38173. +fi
  38174. +if (echo >conf$$.file) 2>/dev/null; then
  38175. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  38176. + as_ln_s='ln -s'
  38177. + # ... but there are two gotchas:
  38178. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  38179. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  38180. + # In both cases, we have to default to `cp -pR'.
  38181. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  38182. + as_ln_s='cp -pR'
  38183. + elif ln conf$$.file conf$$ 2>/dev/null; then
  38184. + as_ln_s=ln
  38185. + else
  38186. + as_ln_s='cp -pR'
  38187. + fi
  38188. +else
  38189. + as_ln_s='cp -pR'
  38190. +fi
  38191. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  38192. +rmdir conf$$.dir 2>/dev/null
  38193. +
  38194. +
  38195. +@%:@ as_fn_mkdir_p
  38196. +@%:@ -------------
  38197. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  38198. +as_fn_mkdir_p ()
  38199. +{
  38200. +
  38201. + case $as_dir in #(
  38202. + -*) as_dir=./$as_dir;;
  38203. + esac
  38204. + test -d "$as_dir" || eval $as_mkdir_p || {
  38205. + as_dirs=
  38206. + while :; do
  38207. + case $as_dir in #(
  38208. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  38209. + *) as_qdir=$as_dir;;
  38210. + esac
  38211. + as_dirs="'$as_qdir' $as_dirs"
  38212. + as_dir=`$as_dirname -- "$as_dir" ||
  38213. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  38214. + X"$as_dir" : 'X\(//\)[^/]' \| \
  38215. + X"$as_dir" : 'X\(//\)$' \| \
  38216. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  38217. +$as_echo X"$as_dir" |
  38218. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  38219. + s//\1/
  38220. + q
  38221. + }
  38222. + /^X\(\/\/\)[^/].*/{
  38223. + s//\1/
  38224. + q
  38225. + }
  38226. + /^X\(\/\/\)$/{
  38227. + s//\1/
  38228. + q
  38229. + }
  38230. + /^X\(\/\).*/{
  38231. + s//\1/
  38232. + q
  38233. + }
  38234. + s/.*/./; q'`
  38235. + test -d "$as_dir" && break
  38236. + done
  38237. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  38238. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  38239. +
  38240. +
  38241. +} @%:@ as_fn_mkdir_p
  38242. +if mkdir -p . 2>/dev/null; then
  38243. + as_mkdir_p='mkdir -p "$as_dir"'
  38244. +else
  38245. + test -d ./-p && rmdir ./-p
  38246. + as_mkdir_p=false
  38247. +fi
  38248. +
  38249. +
  38250. +@%:@ as_fn_executable_p FILE
  38251. +@%:@ -----------------------
  38252. +@%:@ Test if FILE is an executable regular file.
  38253. +as_fn_executable_p ()
  38254. +{
  38255. + test -f "$1" && test -x "$1"
  38256. +} @%:@ as_fn_executable_p
  38257. +as_test_x='test -x'
  38258. +as_executable_p=as_fn_executable_p
  38259. +
  38260. +# Sed expression to map a string onto a valid CPP name.
  38261. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  38262. +
  38263. +# Sed expression to map a string onto a valid variable name.
  38264. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  38265. +
  38266. +
  38267. +exec 6>&1
  38268. +## ----------------------------------- ##
  38269. +## Main body of $CONFIG_STATUS script. ##
  38270. +## ----------------------------------- ##
  38271. +_ASEOF
  38272. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  38273. +
  38274. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  38275. +# Save the log message, to keep $0 and so on meaningful, and to
  38276. +# report actual input values of CONFIG_FILES etc. instead of their
  38277. +# values after options handling.
  38278. +ac_log="
  38279. +This file was extended by fiasco $as_me 1.3, which was
  38280. +generated by GNU Autoconf 2.69. Invocation command line was
  38281. +
  38282. + CONFIG_FILES = $CONFIG_FILES
  38283. + CONFIG_HEADERS = $CONFIG_HEADERS
  38284. + CONFIG_LINKS = $CONFIG_LINKS
  38285. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  38286. + $ $0 $@
  38287. +
  38288. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  38289. +"
  38290. +
  38291. +_ACEOF
  38292. +
  38293. +case $ac_config_files in *"
  38294. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  38295. +esac
  38296. +
  38297. +case $ac_config_headers in *"
  38298. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  38299. +esac
  38300. +
  38301. +
  38302. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  38303. +# Files that config.status was made for.
  38304. +config_files="$ac_config_files"
  38305. +config_headers="$ac_config_headers"
  38306. +config_commands="$ac_config_commands"
  38307. +
  38308. +_ACEOF
  38309. +
  38310. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  38311. +ac_cs_usage="\
  38312. +\`$as_me' instantiates files and other configuration actions
  38313. +from templates according to the current configuration. Unless the files
  38314. +and actions are specified as TAGs, all are instantiated by default.
  38315. +
  38316. +Usage: $0 [OPTION]... [TAG]...
  38317. +
  38318. + -h, --help print this help, then exit
  38319. + -V, --version print version number and configuration settings, then exit
  38320. + --config print configuration, then exit
  38321. + -q, --quiet, --silent
  38322. + do not print progress messages
  38323. + -d, --debug don't remove temporary files
  38324. + --recheck update $as_me by reconfiguring in the same conditions
  38325. + --file=FILE[:TEMPLATE]
  38326. + instantiate the configuration file FILE
  38327. + --header=FILE[:TEMPLATE]
  38328. + instantiate the configuration header FILE
  38329. +
  38330. +Configuration files:
  38331. +$config_files
  38332. +
  38333. +Configuration headers:
  38334. +$config_headers
  38335. +
  38336. +Configuration commands:
  38337. +$config_commands
  38338. +
  38339. +Report bugs to the package provider."
  38340. +
  38341. +_ACEOF
  38342. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  38343. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  38344. +ac_cs_version="\\
  38345. +fiasco config.status 1.3
  38346. +configured by $0, generated by GNU Autoconf 2.69,
  38347. + with options \\"\$ac_cs_config\\"
  38348. +
  38349. +Copyright (C) 2012 Free Software Foundation, Inc.
  38350. +This config.status script is free software; the Free Software Foundation
  38351. +gives unlimited permission to copy, distribute and modify it."
  38352. +
  38353. +ac_pwd='$ac_pwd'
  38354. +srcdir='$srcdir'
  38355. +INSTALL='$INSTALL'
  38356. +MKDIR_P='$MKDIR_P'
  38357. +AWK='$AWK'
  38358. +test -n "\$AWK" || AWK=awk
  38359. +_ACEOF
  38360. +
  38361. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  38362. +# The default lists apply if the user does not specify any file.
  38363. +ac_need_defaults=:
  38364. +while test $# != 0
  38365. +do
  38366. + case $1 in
  38367. + --*=?*)
  38368. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  38369. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  38370. + ac_shift=:
  38371. + ;;
  38372. + --*=)
  38373. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  38374. + ac_optarg=
  38375. + ac_shift=:
  38376. + ;;
  38377. + *)
  38378. + ac_option=$1
  38379. + ac_optarg=$2
  38380. + ac_shift=shift
  38381. + ;;
  38382. + esac
  38383. +
  38384. + case $ac_option in
  38385. + # Handling of the options.
  38386. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  38387. + ac_cs_recheck=: ;;
  38388. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  38389. + $as_echo "$ac_cs_version"; exit ;;
  38390. + --config | --confi | --conf | --con | --co | --c )
  38391. + $as_echo "$ac_cs_config"; exit ;;
  38392. + --debug | --debu | --deb | --de | --d | -d )
  38393. + debug=: ;;
  38394. + --file | --fil | --fi | --f )
  38395. + $ac_shift
  38396. + case $ac_optarg in
  38397. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  38398. + '') as_fn_error $? "missing file argument" ;;
  38399. + esac
  38400. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  38401. + ac_need_defaults=false;;
  38402. + --header | --heade | --head | --hea )
  38403. + $ac_shift
  38404. + case $ac_optarg in
  38405. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  38406. + esac
  38407. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  38408. + ac_need_defaults=false;;
  38409. + --he | --h)
  38410. + # Conflict between --help and --header
  38411. + as_fn_error $? "ambiguous option: \`$1'
  38412. +Try \`$0 --help' for more information.";;
  38413. + --help | --hel | -h )
  38414. + $as_echo "$ac_cs_usage"; exit ;;
  38415. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  38416. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  38417. + ac_cs_silent=: ;;
  38418. +
  38419. + # This is an error.
  38420. + -*) as_fn_error $? "unrecognized option: \`$1'
  38421. +Try \`$0 --help' for more information." ;;
  38422. +
  38423. + *) as_fn_append ac_config_targets " $1"
  38424. + ac_need_defaults=false ;;
  38425. +
  38426. + esac
  38427. + shift
  38428. +done
  38429. +
  38430. +ac_configure_extra_args=
  38431. +
  38432. +if $ac_cs_silent; then
  38433. + exec 6>/dev/null
  38434. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  38435. +fi
  38436. +
  38437. +_ACEOF
  38438. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  38439. +if \$ac_cs_recheck; then
  38440. + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  38441. + shift
  38442. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  38443. + CONFIG_SHELL='$SHELL'
  38444. + export CONFIG_SHELL
  38445. + exec "\$@"
  38446. +fi
  38447. +
  38448. +_ACEOF
  38449. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  38450. +exec 5>>config.log
  38451. +{
  38452. + echo
  38453. + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  38454. +@%:@@%:@ Running $as_me. @%:@@%:@
  38455. +_ASBOX
  38456. + $as_echo "$ac_log"
  38457. +} >&5
  38458. +
  38459. +_ACEOF
  38460. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  38461. +#
  38462. +# INIT-COMMANDS
  38463. +#
  38464. +AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
  38465. +
  38466. +
  38467. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  38468. +# if CDPATH is set.
  38469. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  38470. +
  38471. +sed_quote_subst='$sed_quote_subst'
  38472. +double_quote_subst='$double_quote_subst'
  38473. +delay_variable_subst='$delay_variable_subst'
  38474. +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  38475. +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  38476. +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  38477. +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  38478. +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  38479. +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  38480. +shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
  38481. +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  38482. +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  38483. +PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  38484. +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  38485. +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  38486. +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  38487. +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  38488. +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  38489. +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  38490. +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  38491. +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  38492. +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  38493. +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  38494. +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  38495. +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  38496. +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  38497. +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  38498. +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  38499. +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  38500. +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  38501. +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  38502. +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  38503. +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  38504. +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  38505. +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  38506. +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  38507. +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  38508. +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  38509. +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  38510. +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  38511. +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  38512. +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  38513. +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  38514. +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  38515. +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  38516. +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  38517. +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  38518. +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  38519. +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  38520. +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  38521. +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  38522. +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  38523. +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  38524. +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  38525. +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  38526. +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  38527. +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  38528. +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  38529. +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  38530. +lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
  38531. +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  38532. +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"`'
  38533. +lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
  38534. +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  38535. +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  38536. +lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
  38537. +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  38538. +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  38539. +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  38540. +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  38541. +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  38542. +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  38543. +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  38544. +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  38545. +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  38546. +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  38547. +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  38548. +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  38549. +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  38550. +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  38551. +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  38552. +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  38553. +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  38554. +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  38555. +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  38556. +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  38557. +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  38558. +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  38559. +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  38560. +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  38561. +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  38562. +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  38563. +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  38564. +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  38565. +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  38566. +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  38567. +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  38568. +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  38569. +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  38570. +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  38571. +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  38572. +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  38573. +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  38574. +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  38575. +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  38576. +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  38577. +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  38578. +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  38579. +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  38580. +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  38581. +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  38582. +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  38583. +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  38584. +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  38585. +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  38586. +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  38587. +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  38588. +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  38589. +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  38590. +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  38591. +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  38592. +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  38593. +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  38594. +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  38595. +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  38596. +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  38597. +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  38598. +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  38599. +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  38600. +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  38601. +configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
  38602. +configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
  38603. +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  38604. +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  38605. +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  38606. +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  38607. +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  38608. +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  38609. +
  38610. +LTCC='$LTCC'
  38611. +LTCFLAGS='$LTCFLAGS'
  38612. +compiler='$compiler_DEFAULT'
  38613. +
  38614. +# A function that is used when there is no print builtin or printf.
  38615. +func_fallback_echo ()
  38616. +{
  38617. + eval 'cat <<_LTECHO_EOF
  38618. +\$1
  38619. +_LTECHO_EOF'
  38620. +}
  38621. +
  38622. +# Quote evaled strings.
  38623. +for var in SHELL \
  38624. +ECHO \
  38625. +PATH_SEPARATOR \
  38626. +SED \
  38627. +GREP \
  38628. +EGREP \
  38629. +FGREP \
  38630. +LD \
  38631. +NM \
  38632. +LN_S \
  38633. +lt_SP2NL \
  38634. +lt_NL2SP \
  38635. +reload_flag \
  38636. +OBJDUMP \
  38637. +deplibs_check_method \
  38638. +file_magic_cmd \
  38639. +file_magic_glob \
  38640. +want_nocaseglob \
  38641. +DLLTOOL \
  38642. +sharedlib_from_linklib_cmd \
  38643. +AR \
  38644. +AR_FLAGS \
  38645. +archiver_list_spec \
  38646. +STRIP \
  38647. +RANLIB \
  38648. +CC \
  38649. +CFLAGS \
  38650. +compiler \
  38651. +lt_cv_sys_global_symbol_pipe \
  38652. +lt_cv_sys_global_symbol_to_cdecl \
  38653. +lt_cv_sys_global_symbol_to_import \
  38654. +lt_cv_sys_global_symbol_to_c_name_address \
  38655. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  38656. +lt_cv_nm_interface \
  38657. +nm_file_list_spec \
  38658. +lt_cv_truncate_bin \
  38659. +lt_prog_compiler_no_builtin_flag \
  38660. +lt_prog_compiler_pic \
  38661. +lt_prog_compiler_wl \
  38662. +lt_prog_compiler_static \
  38663. +lt_cv_prog_compiler_c_o \
  38664. +need_locks \
  38665. +MANIFEST_TOOL \
  38666. +DSYMUTIL \
  38667. +NMEDIT \
  38668. +LIPO \
  38669. +OTOOL \
  38670. +OTOOL64 \
  38671. +shrext_cmds \
  38672. +export_dynamic_flag_spec \
  38673. +whole_archive_flag_spec \
  38674. +compiler_needs_object \
  38675. +with_gnu_ld \
  38676. +allow_undefined_flag \
  38677. +no_undefined_flag \
  38678. +hardcode_libdir_flag_spec \
  38679. +hardcode_libdir_separator \
  38680. +exclude_expsyms \
  38681. +include_expsyms \
  38682. +file_list_spec \
  38683. +variables_saved_for_relink \
  38684. +libname_spec \
  38685. +library_names_spec \
  38686. +soname_spec \
  38687. +install_override_mode \
  38688. +finish_eval \
  38689. +old_striplib \
  38690. +striplib; do
  38691. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  38692. + *[\\\\\\\`\\"\\\$]*)
  38693. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  38694. + ;;
  38695. + *)
  38696. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  38697. + ;;
  38698. + esac
  38699. +done
  38700. +
  38701. +# Double-quote double-evaled strings.
  38702. +for var in reload_cmds \
  38703. +old_postinstall_cmds \
  38704. +old_postuninstall_cmds \
  38705. +old_archive_cmds \
  38706. +extract_expsyms_cmds \
  38707. +old_archive_from_new_cmds \
  38708. +old_archive_from_expsyms_cmds \
  38709. +archive_cmds \
  38710. +archive_expsym_cmds \
  38711. +module_cmds \
  38712. +module_expsym_cmds \
  38713. +export_symbols_cmds \
  38714. +prelink_cmds \
  38715. +postlink_cmds \
  38716. +postinstall_cmds \
  38717. +postuninstall_cmds \
  38718. +finish_cmds \
  38719. +sys_lib_search_path_spec \
  38720. +configure_time_dlsearch_path \
  38721. +configure_time_lt_sys_library_path; do
  38722. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  38723. + *[\\\\\\\`\\"\\\$]*)
  38724. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  38725. + ;;
  38726. + *)
  38727. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  38728. + ;;
  38729. + esac
  38730. +done
  38731. +
  38732. +ac_aux_dir='$ac_aux_dir'
  38733. +
  38734. +# See if we are running on zsh, and set the options that allow our
  38735. +# commands through without removal of \ escapes INIT.
  38736. +if test -n "\${ZSH_VERSION+set}"; then
  38737. + setopt NO_GLOB_SUBST
  38738. +fi
  38739. +
  38740. +
  38741. + PACKAGE='$PACKAGE'
  38742. + VERSION='$VERSION'
  38743. + RM='$RM'
  38744. + ofile='$ofile'
  38745. +
  38746. +
  38747. +
  38748. +
  38749. +_ACEOF
  38750. +
  38751. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  38752. +
  38753. +# Handling of arguments.
  38754. +for ac_config_target in $ac_config_targets
  38755. +do
  38756. + case $ac_config_target in
  38757. + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  38758. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  38759. + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  38760. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  38761. + "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
  38762. + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  38763. + "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
  38764. + "input/Makefile") CONFIG_FILES="$CONFIG_FILES input/Makefile" ;;
  38765. + "output/Makefile") CONFIG_FILES="$CONFIG_FILES output/Makefile" ;;
  38766. + "codec/Makefile") CONFIG_FILES="$CONFIG_FILES codec/Makefile" ;;
  38767. + "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
  38768. + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
  38769. +
  38770. + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  38771. + esac
  38772. +done
  38773. +
  38774. +
  38775. +# If the user did not use the arguments to specify the items to instantiate,
  38776. +# then the envvar interface is used. Set only those that are not.
  38777. +# We use the long form for the default assignment because of an extremely
  38778. +# bizarre bug on SunOS 4.1.3.
  38779. +if $ac_need_defaults; then
  38780. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  38781. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  38782. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  38783. +fi
  38784. +
  38785. +# Have a temporary directory for convenience. Make it in the build tree
  38786. +# simply because there is no reason against having it here, and in addition,
  38787. +# creating and moving files from /tmp can sometimes cause problems.
  38788. +# Hook for its removal unless debugging.
  38789. +# Note that there is a small window in which the directory will not be cleaned:
  38790. +# after its creation but before its name has been assigned to `$tmp'.
  38791. +$debug ||
  38792. +{
  38793. + tmp= ac_tmp=
  38794. + trap 'exit_status=$?
  38795. + : "${ac_tmp:=$tmp}"
  38796. + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  38797. +' 0
  38798. + trap 'as_fn_exit 1' 1 2 13 15
  38799. +}
  38800. +# Create a (secure) tmp directory for tmp files.
  38801. +
  38802. +{
  38803. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  38804. + test -d "$tmp"
  38805. +} ||
  38806. +{
  38807. + tmp=./conf$$-$RANDOM
  38808. + (umask 077 && mkdir "$tmp")
  38809. +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  38810. +ac_tmp=$tmp
  38811. +
  38812. +# Set up the scripts for CONFIG_FILES section.
  38813. +# No need to generate them if there are no CONFIG_FILES.
  38814. +# This happens for instance with `./config.status config.h'.
  38815. +if test -n "$CONFIG_FILES"; then
  38816. +
  38817. +
  38818. +ac_cr=`echo X | tr X '\015'`
  38819. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  38820. +# But we know of no other shell where ac_cr would be empty at this
  38821. +# point, so we can use a bashism as a fallback.
  38822. +if test "x$ac_cr" = x; then
  38823. + eval ac_cr=\$\'\\r\'
  38824. +fi
  38825. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  38826. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  38827. + ac_cs_awk_cr='\\r'
  38828. +else
  38829. + ac_cs_awk_cr=$ac_cr
  38830. +fi
  38831. +
  38832. +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  38833. +_ACEOF
  38834. +
  38835. +
  38836. +{
  38837. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  38838. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  38839. + echo "_ACEOF"
  38840. +} >conf$$subs.sh ||
  38841. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  38842. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  38843. +ac_delim='%!_!# '
  38844. +for ac_last_try in false false false false false :; do
  38845. + . ./conf$$subs.sh ||
  38846. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  38847. +
  38848. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  38849. + if test $ac_delim_n = $ac_delim_num; then
  38850. + break
  38851. + elif $ac_last_try; then
  38852. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  38853. + else
  38854. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  38855. + fi
  38856. +done
  38857. +rm -f conf$$subs.sh
  38858. +
  38859. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  38860. +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  38861. +_ACEOF
  38862. +sed -n '
  38863. +h
  38864. +s/^/S["/; s/!.*/"]=/
  38865. +p
  38866. +g
  38867. +s/^[^!]*!//
  38868. +:repl
  38869. +t repl
  38870. +s/'"$ac_delim"'$//
  38871. +t delim
  38872. +:nl
  38873. +h
  38874. +s/\(.\{148\}\)..*/\1/
  38875. +t more1
  38876. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  38877. +p
  38878. +n
  38879. +b repl
  38880. +:more1
  38881. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  38882. +p
  38883. +g
  38884. +s/.\{148\}//
  38885. +t nl
  38886. +:delim
  38887. +h
  38888. +s/\(.\{148\}\)..*/\1/
  38889. +t more2
  38890. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  38891. +p
  38892. +b
  38893. +:more2
  38894. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  38895. +p
  38896. +g
  38897. +s/.\{148\}//
  38898. +t delim
  38899. +' <conf$$subs.awk | sed '
  38900. +/^[^""]/{
  38901. + N
  38902. + s/\n//
  38903. +}
  38904. +' >>$CONFIG_STATUS || ac_write_fail=1
  38905. +rm -f conf$$subs.awk
  38906. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  38907. +_ACAWK
  38908. +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  38909. + for (key in S) S_is_set[key] = 1
  38910. + FS = ""
  38911. +
  38912. +}
  38913. +{
  38914. + line = $ 0
  38915. + nfields = split(line, field, "@")
  38916. + substed = 0
  38917. + len = length(field[1])
  38918. + for (i = 2; i < nfields; i++) {
  38919. + key = field[i]
  38920. + keylen = length(key)
  38921. + if (S_is_set[key]) {
  38922. + value = S[key]
  38923. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  38924. + len += length(value) + length(field[++i])
  38925. + substed = 1
  38926. + } else
  38927. + len += 1 + keylen
  38928. + }
  38929. +
  38930. + print line
  38931. +}
  38932. +
  38933. +_ACAWK
  38934. +_ACEOF
  38935. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  38936. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  38937. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  38938. +else
  38939. + cat
  38940. +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  38941. + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  38942. +_ACEOF
  38943. +
  38944. +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  38945. +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  38946. +# trailing colons and then remove the whole line if VPATH becomes empty
  38947. +# (actually we leave an empty line to preserve line numbers).
  38948. +if test "x$srcdir" = x.; then
  38949. + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  38950. +h
  38951. +s///
  38952. +s/^/:/
  38953. +s/[ ]*$/:/
  38954. +s/:\$(srcdir):/:/g
  38955. +s/:\${srcdir}:/:/g
  38956. +s/:@srcdir@:/:/g
  38957. +s/^:*//
  38958. +s/:*$//
  38959. +x
  38960. +s/\(=[ ]*\).*/\1/
  38961. +G
  38962. +s/\n//
  38963. +s/^[^=]*=[ ]*$//
  38964. +}'
  38965. +fi
  38966. +
  38967. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  38968. +fi # test -n "$CONFIG_FILES"
  38969. +
  38970. +# Set up the scripts for CONFIG_HEADERS section.
  38971. +# No need to generate them if there are no CONFIG_HEADERS.
  38972. +# This happens for instance with `./config.status Makefile'.
  38973. +if test -n "$CONFIG_HEADERS"; then
  38974. +cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  38975. +BEGIN {
  38976. +_ACEOF
  38977. +
  38978. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  38979. +# here-document in config.status, that substitutes the proper values into
  38980. +# config.h.in to produce config.h.
  38981. +
  38982. +# Create a delimiter string that does not exist in confdefs.h, to ease
  38983. +# handling of long lines.
  38984. +ac_delim='%!_!# '
  38985. +for ac_last_try in false false :; do
  38986. + ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  38987. + if test -z "$ac_tt"; then
  38988. + break
  38989. + elif $ac_last_try; then
  38990. + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  38991. + else
  38992. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  38993. + fi
  38994. +done
  38995. +
  38996. +# For the awk script, D is an array of macro values keyed by name,
  38997. +# likewise P contains macro parameters if any. Preserve backslash
  38998. +# newline sequences.
  38999. +
  39000. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  39001. +sed -n '
  39002. +s/.\{148\}/&'"$ac_delim"'/g
  39003. +t rset
  39004. +:rset
  39005. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  39006. +t def
  39007. +d
  39008. +:def
  39009. +s/\\$//
  39010. +t bsnl
  39011. +s/["\\]/\\&/g
  39012. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  39013. +D["\1"]=" \3"/p
  39014. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  39015. +d
  39016. +:bsnl
  39017. +s/["\\]/\\&/g
  39018. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  39019. +D["\1"]=" \3\\\\\\n"\\/p
  39020. +t cont
  39021. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  39022. +t cont
  39023. +d
  39024. +:cont
  39025. +n
  39026. +s/.\{148\}/&'"$ac_delim"'/g
  39027. +t clear
  39028. +:clear
  39029. +s/\\$//
  39030. +t bsnlc
  39031. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  39032. +d
  39033. +:bsnlc
  39034. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  39035. +b cont
  39036. +' <confdefs.h | sed '
  39037. +s/'"$ac_delim"'/"\\\
  39038. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  39039. +
  39040. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  39041. + for (key in D) D_is_set[key] = 1
  39042. + FS = ""
  39043. +}
  39044. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  39045. + line = \$ 0
  39046. + split(line, arg, " ")
  39047. + if (arg[1] == "#") {
  39048. + defundef = arg[2]
  39049. + mac1 = arg[3]
  39050. + } else {
  39051. + defundef = substr(arg[1], 2)
  39052. + mac1 = arg[2]
  39053. + }
  39054. + split(mac1, mac2, "(") #)
  39055. + macro = mac2[1]
  39056. + prefix = substr(line, 1, index(line, defundef) - 1)
  39057. + if (D_is_set[macro]) {
  39058. + # Preserve the white space surrounding the "#".
  39059. + print prefix "define", macro P[macro] D[macro]
  39060. + next
  39061. + } else {
  39062. + # Replace #undef with comments. This is necessary, for example,
  39063. + # in the case of _POSIX_SOURCE, which is predefined and required
  39064. + # on some systems where configure will not decide to define it.
  39065. + if (defundef == "undef") {
  39066. + print "/*", prefix defundef, macro, "*/"
  39067. + next
  39068. + }
  39069. + }
  39070. +}
  39071. +{ print }
  39072. +_ACAWK
  39073. +_ACEOF
  39074. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  39075. + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  39076. +fi # test -n "$CONFIG_HEADERS"
  39077. +
  39078. +
  39079. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  39080. +shift
  39081. +for ac_tag
  39082. +do
  39083. + case $ac_tag in
  39084. + :[FHLC]) ac_mode=$ac_tag; continue;;
  39085. + esac
  39086. + case $ac_mode$ac_tag in
  39087. + :[FHL]*:*);;
  39088. + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  39089. + :[FH]-) ac_tag=-:-;;
  39090. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  39091. + esac
  39092. + ac_save_IFS=$IFS
  39093. + IFS=:
  39094. + set x $ac_tag
  39095. + IFS=$ac_save_IFS
  39096. + shift
  39097. + ac_file=$1
  39098. + shift
  39099. +
  39100. + case $ac_mode in
  39101. + :L) ac_source=$1;;
  39102. + :[FH])
  39103. + ac_file_inputs=
  39104. + for ac_f
  39105. + do
  39106. + case $ac_f in
  39107. + -) ac_f="$ac_tmp/stdin";;
  39108. + *) # Look for the file first in the build tree, then in the source tree
  39109. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  39110. + # because $ac_f cannot contain `:'.
  39111. + test -f "$ac_f" ||
  39112. + case $ac_f in
  39113. + [\\/$]*) false;;
  39114. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  39115. + esac ||
  39116. + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  39117. + esac
  39118. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  39119. + as_fn_append ac_file_inputs " '$ac_f'"
  39120. + done
  39121. +
  39122. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  39123. + # use $as_me), people would be surprised to read:
  39124. + # /* config.h. Generated by config.status. */
  39125. + configure_input='Generated from '`
  39126. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  39127. + `' by configure.'
  39128. + if test x"$ac_file" != x-; then
  39129. + configure_input="$ac_file. $configure_input"
  39130. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  39131. +$as_echo "$as_me: creating $ac_file" >&6;}
  39132. + fi
  39133. + # Neutralize special characters interpreted by sed in replacement strings.
  39134. + case $configure_input in #(
  39135. + *\&* | *\|* | *\\* )
  39136. + ac_sed_conf_input=`$as_echo "$configure_input" |
  39137. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  39138. + *) ac_sed_conf_input=$configure_input;;
  39139. + esac
  39140. +
  39141. + case $ac_tag in
  39142. + *:-:* | *:-) cat >"$ac_tmp/stdin" \
  39143. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  39144. + esac
  39145. + ;;
  39146. + esac
  39147. +
  39148. + ac_dir=`$as_dirname -- "$ac_file" ||
  39149. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  39150. + X"$ac_file" : 'X\(//\)[^/]' \| \
  39151. + X"$ac_file" : 'X\(//\)$' \| \
  39152. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  39153. +$as_echo X"$ac_file" |
  39154. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  39155. + s//\1/
  39156. + q
  39157. + }
  39158. + /^X\(\/\/\)[^/].*/{
  39159. + s//\1/
  39160. + q
  39161. + }
  39162. + /^X\(\/\/\)$/{
  39163. + s//\1/
  39164. + q
  39165. + }
  39166. + /^X\(\/\).*/{
  39167. + s//\1/
  39168. + q
  39169. + }
  39170. + s/.*/./; q'`
  39171. + as_dir="$ac_dir"; as_fn_mkdir_p
  39172. + ac_builddir=.
  39173. +
  39174. +case "$ac_dir" in
  39175. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  39176. +*)
  39177. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  39178. + # A ".." for each directory in $ac_dir_suffix.
  39179. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  39180. + case $ac_top_builddir_sub in
  39181. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  39182. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  39183. + esac ;;
  39184. +esac
  39185. +ac_abs_top_builddir=$ac_pwd
  39186. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  39187. +# for backward compatibility:
  39188. +ac_top_builddir=$ac_top_build_prefix
  39189. +
  39190. +case $srcdir in
  39191. + .) # We are building in place.
  39192. + ac_srcdir=.
  39193. + ac_top_srcdir=$ac_top_builddir_sub
  39194. + ac_abs_top_srcdir=$ac_pwd ;;
  39195. + [\\/]* | ?:[\\/]* ) # Absolute name.
  39196. + ac_srcdir=$srcdir$ac_dir_suffix;
  39197. + ac_top_srcdir=$srcdir
  39198. + ac_abs_top_srcdir=$srcdir ;;
  39199. + *) # Relative name.
  39200. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  39201. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  39202. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  39203. +esac
  39204. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  39205. +
  39206. +
  39207. + case $ac_mode in
  39208. + :F)
  39209. + #
  39210. + # CONFIG_FILE
  39211. + #
  39212. +
  39213. + case $INSTALL in
  39214. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  39215. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  39216. + esac
  39217. + ac_MKDIR_P=$MKDIR_P
  39218. + case $MKDIR_P in
  39219. + [\\/$]* | ?:[\\/]* ) ;;
  39220. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  39221. + esac
  39222. +_ACEOF
  39223. +
  39224. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  39225. +# If the template does not know about datarootdir, expand it.
  39226. +# FIXME: This hack should be removed a few years after 2.60.
  39227. +ac_datarootdir_hack=; ac_datarootdir_seen=
  39228. +ac_sed_dataroot='
  39229. +/datarootdir/ {
  39230. + p
  39231. + q
  39232. +}
  39233. +/@datadir@/p
  39234. +/@docdir@/p
  39235. +/@infodir@/p
  39236. +/@localedir@/p
  39237. +/@mandir@/p'
  39238. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  39239. +*datarootdir*) ac_datarootdir_seen=yes;;
  39240. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  39241. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  39242. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  39243. +_ACEOF
  39244. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  39245. + ac_datarootdir_hack='
  39246. + s&@datadir@&$datadir&g
  39247. + s&@docdir@&$docdir&g
  39248. + s&@infodir@&$infodir&g
  39249. + s&@localedir@&$localedir&g
  39250. + s&@mandir@&$mandir&g
  39251. + s&\\\${datarootdir}&$datarootdir&g' ;;
  39252. +esac
  39253. +_ACEOF
  39254. +
  39255. +# Neutralize VPATH when `$srcdir' = `.'.
  39256. +# Shell code in configure.ac might set extrasub.
  39257. +# FIXME: do we really want to maintain this feature?
  39258. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  39259. +ac_sed_extra="$ac_vpsub
  39260. +$extrasub
  39261. +_ACEOF
  39262. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  39263. +:t
  39264. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  39265. +s|@configure_input@|$ac_sed_conf_input|;t t
  39266. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  39267. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  39268. +s&@srcdir@&$ac_srcdir&;t t
  39269. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  39270. +s&@top_srcdir@&$ac_top_srcdir&;t t
  39271. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  39272. +s&@builddir@&$ac_builddir&;t t
  39273. +s&@abs_builddir@&$ac_abs_builddir&;t t
  39274. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  39275. +s&@INSTALL@&$ac_INSTALL&;t t
  39276. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  39277. +$ac_datarootdir_hack
  39278. +"
  39279. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  39280. + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  39281. +
  39282. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  39283. + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  39284. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  39285. + "$ac_tmp/out"`; test -z "$ac_out"; } &&
  39286. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  39287. +which seems to be undefined. Please make sure it is defined" >&5
  39288. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  39289. +which seems to be undefined. Please make sure it is defined" >&2;}
  39290. +
  39291. + rm -f "$ac_tmp/stdin"
  39292. + case $ac_file in
  39293. + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  39294. + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  39295. + esac \
  39296. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  39297. + ;;
  39298. + :H)
  39299. + #
  39300. + # CONFIG_HEADER
  39301. + #
  39302. + if test x"$ac_file" != x-; then
  39303. + {
  39304. + $as_echo "/* $configure_input */" \
  39305. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  39306. + } >"$ac_tmp/config.h" \
  39307. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  39308. + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  39309. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  39310. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  39311. + else
  39312. + rm -f "$ac_file"
  39313. + mv "$ac_tmp/config.h" "$ac_file" \
  39314. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  39315. + fi
  39316. + else
  39317. + $as_echo "/* $configure_input */" \
  39318. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  39319. + || as_fn_error $? "could not create -" "$LINENO" 5
  39320. + fi
  39321. +# Compute "$ac_file"'s index in $config_headers.
  39322. +_am_arg="$ac_file"
  39323. +_am_stamp_count=1
  39324. +for _am_header in $config_headers :; do
  39325. + case $_am_header in
  39326. + $_am_arg | $_am_arg:* )
  39327. + break ;;
  39328. + * )
  39329. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  39330. + esac
  39331. +done
  39332. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  39333. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  39334. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  39335. + X"$_am_arg" : 'X\(//\)$' \| \
  39336. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  39337. +$as_echo X"$_am_arg" |
  39338. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  39339. + s//\1/
  39340. + q
  39341. + }
  39342. + /^X\(\/\/\)[^/].*/{
  39343. + s//\1/
  39344. + q
  39345. + }
  39346. + /^X\(\/\/\)$/{
  39347. + s//\1/
  39348. + q
  39349. + }
  39350. + /^X\(\/\).*/{
  39351. + s//\1/
  39352. + q
  39353. + }
  39354. + s/.*/./; q'`/stamp-h$_am_stamp_count
  39355. + ;;
  39356. +
  39357. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  39358. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  39359. + ;;
  39360. + esac
  39361. +
  39362. +
  39363. + case $ac_file$ac_mode in
  39364. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  39365. + # Older Autoconf quotes --file arguments for eval, but not when files
  39366. + # are listed without --file. Let's play safe and only enable the eval
  39367. + # if we detect the quoting.
  39368. + # TODO: see whether this extra hack can be removed once we start
  39369. + # requiring Autoconf 2.70 or later.
  39370. + case $CONFIG_FILES in @%:@(
  39371. + *\'*) :
  39372. + eval set x "$CONFIG_FILES" ;; @%:@(
  39373. + *) :
  39374. + set x $CONFIG_FILES ;; @%:@(
  39375. + *) :
  39376. + ;;
  39377. +esac
  39378. + shift
  39379. + # Used to flag and report bootstrapping failures.
  39380. + am_rc=0
  39381. + for am_mf
  39382. + do
  39383. + # Strip MF so we end up with the name of the file.
  39384. + am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
  39385. + # Check whether this is an Automake generated Makefile which includes
  39386. + # dependency-tracking related rules and includes.
  39387. + # Grep'ing the whole file directly is not great: AIX grep has a line
  39388. + # limit of 2048, but all sed's we know have understand at least 4000.
  39389. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  39390. + || continue
  39391. + am_dirpart=`$as_dirname -- "$am_mf" ||
  39392. +$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  39393. + X"$am_mf" : 'X\(//\)[^/]' \| \
  39394. + X"$am_mf" : 'X\(//\)$' \| \
  39395. + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  39396. +$as_echo X"$am_mf" |
  39397. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  39398. + s//\1/
  39399. + q
  39400. + }
  39401. + /^X\(\/\/\)[^/].*/{
  39402. + s//\1/
  39403. + q
  39404. + }
  39405. + /^X\(\/\/\)$/{
  39406. + s//\1/
  39407. + q
  39408. + }
  39409. + /^X\(\/\).*/{
  39410. + s//\1/
  39411. + q
  39412. + }
  39413. + s/.*/./; q'`
  39414. + am_filepart=`$as_basename -- "$am_mf" ||
  39415. +$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
  39416. + X"$am_mf" : 'X\(//\)$' \| \
  39417. + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  39418. +$as_echo X/"$am_mf" |
  39419. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  39420. + s//\1/
  39421. + q
  39422. + }
  39423. + /^X\/\(\/\/\)$/{
  39424. + s//\1/
  39425. + q
  39426. + }
  39427. + /^X\/\(\/\).*/{
  39428. + s//\1/
  39429. + q
  39430. + }
  39431. + s/.*/./; q'`
  39432. + { echo "$as_me:$LINENO: cd "$am_dirpart" \
  39433. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  39434. + | $MAKE -f - am--depfiles" >&5
  39435. + (cd "$am_dirpart" \
  39436. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  39437. + | $MAKE -f - am--depfiles) >&5 2>&5
  39438. + ac_status=$?
  39439. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  39440. + (exit $ac_status); } || am_rc=$?
  39441. + done
  39442. + if test $am_rc -ne 0; then
  39443. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  39444. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  39445. +as_fn_error $? "Something went wrong bootstrapping makefile fragments
  39446. + for automatic dependency tracking. Try re-running configure with the
  39447. + '--disable-dependency-tracking' option to at least be able to build
  39448. + the package (albeit without support for automatic dependency tracking).
  39449. +See \`config.log' for more details" "$LINENO" 5; }
  39450. + fi
  39451. + { am_dirpart=; unset am_dirpart;}
  39452. + { am_filepart=; unset am_filepart;}
  39453. + { am_mf=; unset am_mf;}
  39454. + { am_rc=; unset am_rc;}
  39455. + rm -f conftest-deps.mk
  39456. +}
  39457. + ;;
  39458. + "libtool":C)
  39459. +
  39460. + # See if we are running on zsh, and set the options that allow our
  39461. + # commands through without removal of \ escapes.
  39462. + if test -n "${ZSH_VERSION+set}"; then
  39463. + setopt NO_GLOB_SUBST
  39464. + fi
  39465. +
  39466. + cfgfile=${ofile}T
  39467. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  39468. + $RM "$cfgfile"
  39469. +
  39470. + cat <<_LT_EOF >> "$cfgfile"
  39471. +#! $SHELL
  39472. +# Generated automatically by $as_me ($PACKAGE) $VERSION
  39473. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  39474. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  39475. +
  39476. +# Provide generalized library-building support services.
  39477. +# Written by Gordon Matzigkeit, 1996
  39478. +
  39479. +# Copyright (C) 2014 Free Software Foundation, Inc.
  39480. +# This is free software; see the source for copying conditions. There is NO
  39481. +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  39482. +
  39483. +# GNU Libtool is free software; you can redistribute it and/or modify
  39484. +# it under the terms of the GNU General Public License as published by
  39485. +# the Free Software Foundation; either version 2 of of the License, or
  39486. +# (at your option) any later version.
  39487. +#
  39488. +# As a special exception to the GNU General Public License, if you
  39489. +# distribute this file as part of a program or library that is built
  39490. +# using GNU Libtool, you may include this file under the same
  39491. +# distribution terms that you use for the rest of that program.
  39492. +#
  39493. +# GNU Libtool is distributed in the hope that it will be useful, but
  39494. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  39495. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  39496. +# GNU General Public License for more details.
  39497. +#
  39498. +# You should have received a copy of the GNU General Public License
  39499. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  39500. +
  39501. +
  39502. +# The names of the tagged configurations supported by this script.
  39503. +available_tags=''
  39504. +
  39505. +# Configured defaults for sys_lib_dlsearch_path munging.
  39506. +: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
  39507. +
  39508. +# ### BEGIN LIBTOOL CONFIG
  39509. +
  39510. +# Which release of libtool.m4 was used?
  39511. +macro_version=$macro_version
  39512. +macro_revision=$macro_revision
  39513. +
  39514. +# Whether or not to build shared libraries.
  39515. +build_libtool_libs=$enable_shared
  39516. +
  39517. +# Whether or not to build static libraries.
  39518. +build_old_libs=$enable_static
  39519. +
  39520. +# What type of objects to build.
  39521. +pic_mode=$pic_mode
  39522. +
  39523. +# Whether or not to optimize for fast installation.
  39524. +fast_install=$enable_fast_install
  39525. +
  39526. +# Shared archive member basename,for filename based shared library versioning on AIX.
  39527. +shared_archive_member_spec=$shared_archive_member_spec
  39528. +
  39529. +# Shell to use when invoking shell scripts.
  39530. +SHELL=$lt_SHELL
  39531. +
  39532. +# An echo program that protects backslashes.
  39533. +ECHO=$lt_ECHO
  39534. +
  39535. +# The PATH separator for the build system.
  39536. +PATH_SEPARATOR=$lt_PATH_SEPARATOR
  39537. +
  39538. +# The host system.
  39539. +host_alias=$host_alias
  39540. +host=$host
  39541. +host_os=$host_os
  39542. +
  39543. +# The build system.
  39544. +build_alias=$build_alias
  39545. +build=$build
  39546. +build_os=$build_os
  39547. +
  39548. +# A sed program that does not truncate output.
  39549. +SED=$lt_SED
  39550. +
  39551. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  39552. +Xsed="\$SED -e 1s/^X//"
  39553. +
  39554. +# A grep program that handles long lines.
  39555. +GREP=$lt_GREP
  39556. +
  39557. +# An ERE matcher.
  39558. +EGREP=$lt_EGREP
  39559. +
  39560. +# A literal string matcher.
  39561. +FGREP=$lt_FGREP
  39562. +
  39563. +# A BSD- or MS-compatible name lister.
  39564. +NM=$lt_NM
  39565. +
  39566. +# Whether we need soft or hard links.
  39567. +LN_S=$lt_LN_S
  39568. +
  39569. +# What is the maximum length of a command?
  39570. +max_cmd_len=$max_cmd_len
  39571. +
  39572. +# Object file suffix (normally "o").
  39573. +objext=$ac_objext
  39574. +
  39575. +# Executable file suffix (normally "").
  39576. +exeext=$exeext
  39577. +
  39578. +# whether the shell understands "unset".
  39579. +lt_unset=$lt_unset
  39580. +
  39581. +# turn spaces into newlines.
  39582. +SP2NL=$lt_lt_SP2NL
  39583. +
  39584. +# turn newlines into spaces.
  39585. +NL2SP=$lt_lt_NL2SP
  39586. +
  39587. +# convert \$build file names to \$host format.
  39588. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  39589. +
  39590. +# convert \$build files to toolchain format.
  39591. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  39592. +
  39593. +# An object symbol dumper.
  39594. +OBJDUMP=$lt_OBJDUMP
  39595. +
  39596. +# Method to check whether dependent libraries are shared objects.
  39597. +deplibs_check_method=$lt_deplibs_check_method
  39598. +
  39599. +# Command to use when deplibs_check_method = "file_magic".
  39600. +file_magic_cmd=$lt_file_magic_cmd
  39601. +
  39602. +# How to find potential files when deplibs_check_method = "file_magic".
  39603. +file_magic_glob=$lt_file_magic_glob
  39604. +
  39605. +# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  39606. +want_nocaseglob=$lt_want_nocaseglob
  39607. +
  39608. +# DLL creation program.
  39609. +DLLTOOL=$lt_DLLTOOL
  39610. +
  39611. +# Command to associate shared and link libraries.
  39612. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  39613. +
  39614. +# The archiver.
  39615. +AR=$lt_AR
  39616. +
  39617. +# Flags to create an archive.
  39618. +AR_FLAGS=$lt_AR_FLAGS
  39619. +
  39620. +# How to feed a file listing to the archiver.
  39621. +archiver_list_spec=$lt_archiver_list_spec
  39622. +
  39623. +# A symbol stripping program.
  39624. +STRIP=$lt_STRIP
  39625. +
  39626. +# Commands used to install an old-style archive.
  39627. +RANLIB=$lt_RANLIB
  39628. +old_postinstall_cmds=$lt_old_postinstall_cmds
  39629. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  39630. +
  39631. +# Whether to use a lock for old archive extraction.
  39632. +lock_old_archive_extraction=$lock_old_archive_extraction
  39633. +
  39634. +# A C compiler.
  39635. +LTCC=$lt_CC
  39636. +
  39637. +# LTCC compiler flags.
  39638. +LTCFLAGS=$lt_CFLAGS
  39639. +
  39640. +# Take the output of nm and produce a listing of raw symbols and C names.
  39641. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  39642. +
  39643. +# Transform the output of nm in a proper C declaration.
  39644. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  39645. +
  39646. +# Transform the output of nm into a list of symbols to manually relocate.
  39647. +global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
  39648. +
  39649. +# Transform the output of nm in a C name address pair.
  39650. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  39651. +
  39652. +# Transform the output of nm in a C name address pair when lib prefix is needed.
  39653. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  39654. +
  39655. +# The name lister interface.
  39656. +nm_interface=$lt_lt_cv_nm_interface
  39657. +
  39658. +# Specify filename containing input files for \$NM.
  39659. +nm_file_list_spec=$lt_nm_file_list_spec
  39660. +
  39661. +# The root where to search for dependent libraries,and where our libraries should be installed.
  39662. +lt_sysroot=$lt_sysroot
  39663. +
  39664. +# Command to truncate a binary pipe.
  39665. +lt_truncate_bin=$lt_lt_cv_truncate_bin
  39666. +
  39667. +# The name of the directory that contains temporary libtool files.
  39668. +objdir=$objdir
  39669. +
  39670. +# Used to examine libraries when file_magic_cmd begins with "file".
  39671. +MAGIC_CMD=$MAGIC_CMD
  39672. +
  39673. +# Must we lock files when doing compilation?
  39674. +need_locks=$lt_need_locks
  39675. +
  39676. +# Manifest tool.
  39677. +MANIFEST_TOOL=$lt_MANIFEST_TOOL
  39678. +
  39679. +# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  39680. +DSYMUTIL=$lt_DSYMUTIL
  39681. +
  39682. +# Tool to change global to local symbols on Mac OS X.
  39683. +NMEDIT=$lt_NMEDIT
  39684. +
  39685. +# Tool to manipulate fat objects and archives on Mac OS X.
  39686. +LIPO=$lt_LIPO
  39687. +
  39688. +# ldd/readelf like tool for Mach-O binaries on Mac OS X.
  39689. +OTOOL=$lt_OTOOL
  39690. +
  39691. +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  39692. +OTOOL64=$lt_OTOOL64
  39693. +
  39694. +# Old archive suffix (normally "a").
  39695. +libext=$libext
  39696. +
  39697. +# Shared library suffix (normally ".so").
  39698. +shrext_cmds=$lt_shrext_cmds
  39699. +
  39700. +# The commands to extract the exported symbol list from a shared archive.
  39701. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  39702. +
  39703. +# Variables whose values should be saved in libtool wrapper scripts and
  39704. +# restored at link time.
  39705. +variables_saved_for_relink=$lt_variables_saved_for_relink
  39706. +
  39707. +# Do we need the "lib" prefix for modules?
  39708. +need_lib_prefix=$need_lib_prefix
  39709. +
  39710. +# Do we need a version for libraries?
  39711. +need_version=$need_version
  39712. +
  39713. +# Library versioning type.
  39714. +version_type=$version_type
  39715. +
  39716. +# Shared library runtime path variable.
  39717. +runpath_var=$runpath_var
  39718. +
  39719. +# Shared library path variable.
  39720. +shlibpath_var=$shlibpath_var
  39721. +
  39722. +# Is shlibpath searched before the hard-coded library search path?
  39723. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  39724. +
  39725. +# Format of library name prefix.
  39726. +libname_spec=$lt_libname_spec
  39727. +
  39728. +# List of archive names. First name is the real one, the rest are links.
  39729. +# The last name is the one that the linker finds with -lNAME
  39730. +library_names_spec=$lt_library_names_spec
  39731. +
  39732. +# The coded name of the library, if different from the real name.
  39733. +soname_spec=$lt_soname_spec
  39734. +
  39735. +# Permission mode override for installation of shared libraries.
  39736. +install_override_mode=$lt_install_override_mode
  39737. +
  39738. +# Command to use after installation of a shared archive.
  39739. +postinstall_cmds=$lt_postinstall_cmds
  39740. +
  39741. +# Command to use after uninstallation of a shared archive.
  39742. +postuninstall_cmds=$lt_postuninstall_cmds
  39743. +
  39744. +# Commands used to finish a libtool library installation in a directory.
  39745. +finish_cmds=$lt_finish_cmds
  39746. +
  39747. +# As "finish_cmds", except a single script fragment to be evaled but
  39748. +# not shown.
  39749. +finish_eval=$lt_finish_eval
  39750. +
  39751. +# Whether we should hardcode library paths into libraries.
  39752. +hardcode_into_libs=$hardcode_into_libs
  39753. +
  39754. +# Compile-time system search path for libraries.
  39755. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  39756. +
  39757. +# Detected run-time system search path for libraries.
  39758. +sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
  39759. +
  39760. +# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
  39761. +configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
  39762. +
  39763. +# Whether dlopen is supported.
  39764. +dlopen_support=$enable_dlopen
  39765. +
  39766. +# Whether dlopen of programs is supported.
  39767. +dlopen_self=$enable_dlopen_self
  39768. +
  39769. +# Whether dlopen of statically linked programs is supported.
  39770. +dlopen_self_static=$enable_dlopen_self_static
  39771. +
  39772. +# Commands to strip libraries.
  39773. +old_striplib=$lt_old_striplib
  39774. +striplib=$lt_striplib
  39775. +
  39776. +
  39777. +# The linker used to build libraries.
  39778. +LD=$lt_LD
  39779. +
  39780. +# How to create reloadable object files.
  39781. +reload_flag=$lt_reload_flag
  39782. +reload_cmds=$lt_reload_cmds
  39783. +
  39784. +# Commands used to build an old-style archive.
  39785. +old_archive_cmds=$lt_old_archive_cmds
  39786. +
  39787. +# A language specific compiler.
  39788. +CC=$lt_compiler
  39789. +
  39790. +# Is the compiler the GNU compiler?
  39791. +with_gcc=$GCC
  39792. +
  39793. +# Compiler flag to turn off builtin functions.
  39794. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  39795. +
  39796. +# Additional compiler flags for building library objects.
  39797. +pic_flag=$lt_lt_prog_compiler_pic
  39798. +
  39799. +# How to pass a linker flag through the compiler.
  39800. +wl=$lt_lt_prog_compiler_wl
  39801. +
  39802. +# Compiler flag to prevent dynamic linking.
  39803. +link_static_flag=$lt_lt_prog_compiler_static
  39804. +
  39805. +# Does compiler simultaneously support -c and -o options?
  39806. +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  39807. +
  39808. +# Whether or not to add -lc for building shared libraries.
  39809. +build_libtool_need_lc=$archive_cmds_need_lc
  39810. +
  39811. +# Whether or not to disallow shared libs when runtime libs are static.
  39812. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  39813. +
  39814. +# Compiler flag to allow reflexive dlopens.
  39815. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  39816. +
  39817. +# Compiler flag to generate shared objects directly from archives.
  39818. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  39819. +
  39820. +# Whether the compiler copes with passing no objects directly.
  39821. +compiler_needs_object=$lt_compiler_needs_object
  39822. +
  39823. +# Create an old-style archive from a shared archive.
  39824. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  39825. +
  39826. +# Create a temporary old-style archive to link instead of a shared archive.
  39827. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  39828. +
  39829. +# Commands used to build a shared archive.
  39830. +archive_cmds=$lt_archive_cmds
  39831. +archive_expsym_cmds=$lt_archive_expsym_cmds
  39832. +
  39833. +# Commands used to build a loadable module if different from building
  39834. +# a shared archive.
  39835. +module_cmds=$lt_module_cmds
  39836. +module_expsym_cmds=$lt_module_expsym_cmds
  39837. +
  39838. +# Whether we are building with GNU ld or not.
  39839. +with_gnu_ld=$lt_with_gnu_ld
  39840. +
  39841. +# Flag that allows shared libraries with undefined symbols to be built.
  39842. +allow_undefined_flag=$lt_allow_undefined_flag
  39843. +
  39844. +# Flag that enforces no undefined symbols.
  39845. +no_undefined_flag=$lt_no_undefined_flag
  39846. +
  39847. +# Flag to hardcode \$libdir into a binary during linking.
  39848. +# This must work even if \$libdir does not exist
  39849. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  39850. +
  39851. +# Whether we need a single "-rpath" flag with a separated argument.
  39852. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  39853. +
  39854. +# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  39855. +# DIR into the resulting binary.
  39856. +hardcode_direct=$hardcode_direct
  39857. +
  39858. +# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  39859. +# DIR into the resulting binary and the resulting library dependency is
  39860. +# "absolute",i.e impossible to change by setting \$shlibpath_var if the
  39861. +# library is relocated.
  39862. +hardcode_direct_absolute=$hardcode_direct_absolute
  39863. +
  39864. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  39865. +# into the resulting binary.
  39866. +hardcode_minus_L=$hardcode_minus_L
  39867. +
  39868. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  39869. +# into the resulting binary.
  39870. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  39871. +
  39872. +# Set to "yes" if building a shared library automatically hardcodes DIR
  39873. +# into the library and all subsequent libraries and executables linked
  39874. +# against it.
  39875. +hardcode_automatic=$hardcode_automatic
  39876. +
  39877. +# Set to yes if linker adds runtime paths of dependent libraries
  39878. +# to runtime path list.
  39879. +inherit_rpath=$inherit_rpath
  39880. +
  39881. +# Whether libtool must link a program against all its dependency libraries.
  39882. +link_all_deplibs=$link_all_deplibs
  39883. +
  39884. +# Set to "yes" if exported symbols are required.
  39885. +always_export_symbols=$always_export_symbols
  39886. +
  39887. +# The commands to list exported symbols.
  39888. +export_symbols_cmds=$lt_export_symbols_cmds
  39889. +
  39890. +# Symbols that should not be listed in the preloaded symbols.
  39891. +exclude_expsyms=$lt_exclude_expsyms
  39892. +
  39893. +# Symbols that must always be exported.
  39894. +include_expsyms=$lt_include_expsyms
  39895. +
  39896. +# Commands necessary for linking programs (against libraries) with templates.
  39897. +prelink_cmds=$lt_prelink_cmds
  39898. +
  39899. +# Commands necessary for finishing linking programs.
  39900. +postlink_cmds=$lt_postlink_cmds
  39901. +
  39902. +# Specify filename containing input files.
  39903. +file_list_spec=$lt_file_list_spec
  39904. +
  39905. +# How to hardcode a shared library path into an executable.
  39906. +hardcode_action=$hardcode_action
  39907. +
  39908. +# ### END LIBTOOL CONFIG
  39909. +
  39910. +_LT_EOF
  39911. +
  39912. + cat <<'_LT_EOF' >> "$cfgfile"
  39913. +
  39914. +# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
  39915. +
  39916. +# func_munge_path_list VARIABLE PATH
  39917. +# -----------------------------------
  39918. +# VARIABLE is name of variable containing _space_ separated list of
  39919. +# directories to be munged by the contents of PATH, which is string
  39920. +# having a format:
  39921. +# "DIR[:DIR]:"
  39922. +# string "DIR[ DIR]" will be prepended to VARIABLE
  39923. +# ":DIR[:DIR]"
  39924. +# string "DIR[ DIR]" will be appended to VARIABLE
  39925. +# "DIRP[:DIRP]::[DIRA:]DIRA"
  39926. +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  39927. +# "DIRA[ DIRA]" will be appended to VARIABLE
  39928. +# "DIR[:DIR]"
  39929. +# VARIABLE will be replaced by "DIR[ DIR]"
  39930. +func_munge_path_list ()
  39931. +{
  39932. + case x@S|@2 in
  39933. + x)
  39934. + ;;
  39935. + *:)
  39936. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
  39937. + ;;
  39938. + x:*)
  39939. + eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
  39940. + ;;
  39941. + *::*)
  39942. + eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  39943. + eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
  39944. + ;;
  39945. + *)
  39946. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
  39947. + ;;
  39948. + esac
  39949. +}
  39950. +
  39951. +
  39952. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  39953. +func_cc_basename ()
  39954. +{
  39955. + for cc_temp in @S|@*""; do
  39956. + case $cc_temp in
  39957. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  39958. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  39959. + \-*) ;;
  39960. + *) break;;
  39961. + esac
  39962. + done
  39963. + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  39964. +}
  39965. +
  39966. +
  39967. +# ### END FUNCTIONS SHARED WITH CONFIGURE
  39968. +
  39969. +_LT_EOF
  39970. +
  39971. + case $host_os in
  39972. + aix3*)
  39973. + cat <<\_LT_EOF >> "$cfgfile"
  39974. +# AIX sometimes has problems with the GCC collect2 program. For some
  39975. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  39976. +# vanish in a puff of smoke.
  39977. +if test set != "${COLLECT_NAMES+set}"; then
  39978. + COLLECT_NAMES=
  39979. + export COLLECT_NAMES
  39980. +fi
  39981. +_LT_EOF
  39982. + ;;
  39983. + esac
  39984. +
  39985. +
  39986. +ltmain=$ac_aux_dir/ltmain.sh
  39987. +
  39988. +
  39989. + # We use sed instead of cat because bash on DJGPP gets confused if
  39990. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  39991. + # text mode, it properly converts lines to CR/LF. This bash problem
  39992. + # is reportedly fixed, but why not run on old versions too?
  39993. + sed '$q' "$ltmain" >> "$cfgfile" \
  39994. + || (rm -f "$cfgfile"; exit 1)
  39995. +
  39996. + mv -f "$cfgfile" "$ofile" ||
  39997. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  39998. + chmod +x "$ofile"
  39999. +
  40000. + ;;
  40001. + "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
  40002. +
  40003. + esac
  40004. +done # for ac_tag
  40005. +
  40006. +
  40007. +as_fn_exit 0
  40008. +_ACEOF
  40009. +ac_clean_files=$ac_clean_files_save
  40010. +
  40011. +test $ac_write_fail = 0 ||
  40012. + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  40013. +
  40014. +
  40015. +# configure is writing to config.log, and then calls config.status.
  40016. +# config.status does its own redirection, appending to config.log.
  40017. +# Unfortunately, on DOS this fails, as config.log is still kept open
  40018. +# by configure, so config.status won't be able to write to it; its
  40019. +# output is simply discarded. So we exec the FD to /dev/null,
  40020. +# effectively closing config.log, so it can be properly (re)opened and
  40021. +# appended to by config.status. When coming back to configure, we
  40022. +# need to make the FD available again.
  40023. +if test "$no_create" != yes; then
  40024. + ac_cs_success=:
  40025. + ac_config_status_args=
  40026. + test "$silent" = yes &&
  40027. + ac_config_status_args="$ac_config_status_args --quiet"
  40028. + exec 5>/dev/null
  40029. + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  40030. + exec 5>>config.log
  40031. + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  40032. + # would make configure fail if this is the last instruction.
  40033. + $ac_cs_success || as_fn_exit 1
  40034. +fi
  40035. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  40036. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  40037. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  40038. +fi
  40039. +
  40040. +
  40041. +if test "$ac_cv_header_setjmp_h" != "yes"; then
  40042. + echo
  40043. + echo "WARNING:"
  40044. + echo "Error handling of FIASCO library requires ANSI-C setjmp.h header file!"
  40045. + echo "If you are using the FIASCO library, exit() is now called in case of errors."
  40046. + echo "Please send me a mail (hafner@bigfoot.de) with the output of"
  40047. + echo "the configure script."
  40048. + echo
  40049. +fi
  40050. +
  40051. diff -Nru Fiasco-master/autom4te.cache/output.2 Fiasco-master-pfiasco/autom4te.cache/output.2
  40052. --- Fiasco-master/autom4te.cache/output.2 1969-12-31 19:00:00.000000000 -0500
  40053. +++ Fiasco-master-pfiasco/autom4te.cache/output.2 2019-06-17 21:04:56.801785239 -0400
  40054. @@ -0,0 +1,16012 @@
  40055. +@%:@! /bin/sh
  40056. +@%:@ Guess values for system-dependent variables and create Makefiles.
  40057. +@%:@ Generated by GNU Autoconf 2.69 for fiasco 1.3.
  40058. +@%:@
  40059. +@%:@
  40060. +@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  40061. +@%:@
  40062. +@%:@
  40063. +@%:@ This configure script is free software; the Free Software Foundation
  40064. +@%:@ gives unlimited permission to copy, distribute and modify it.
  40065. +## -------------------- ##
  40066. +## M4sh Initialization. ##
  40067. +## -------------------- ##
  40068. +
  40069. +# Be more Bourne compatible
  40070. +DUALCASE=1; export DUALCASE # for MKS sh
  40071. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  40072. + emulate sh
  40073. + NULLCMD=:
  40074. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  40075. + # is contrary to our usage. Disable this feature.
  40076. + alias -g '${1+"$@"}'='"$@"'
  40077. + setopt NO_GLOB_SUBST
  40078. +else
  40079. + case `(set -o) 2>/dev/null` in @%:@(
  40080. + *posix*) :
  40081. + set -o posix ;; @%:@(
  40082. + *) :
  40083. + ;;
  40084. +esac
  40085. +fi
  40086. +
  40087. +
  40088. +as_nl='
  40089. +'
  40090. +export as_nl
  40091. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  40092. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  40093. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  40094. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  40095. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  40096. +# but without wasting forks for bash or zsh.
  40097. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  40098. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  40099. + as_echo='print -r --'
  40100. + as_echo_n='print -rn --'
  40101. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  40102. + as_echo='printf %s\n'
  40103. + as_echo_n='printf %s'
  40104. +else
  40105. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  40106. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  40107. + as_echo_n='/usr/ucb/echo -n'
  40108. + else
  40109. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  40110. + as_echo_n_body='eval
  40111. + arg=$1;
  40112. + case $arg in @%:@(
  40113. + *"$as_nl"*)
  40114. + expr "X$arg" : "X\\(.*\\)$as_nl";
  40115. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  40116. + esac;
  40117. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  40118. + '
  40119. + export as_echo_n_body
  40120. + as_echo_n='sh -c $as_echo_n_body as_echo'
  40121. + fi
  40122. + export as_echo_body
  40123. + as_echo='sh -c $as_echo_body as_echo'
  40124. +fi
  40125. +
  40126. +# The user is always right.
  40127. +if test "${PATH_SEPARATOR+set}" != set; then
  40128. + PATH_SEPARATOR=:
  40129. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  40130. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  40131. + PATH_SEPARATOR=';'
  40132. + }
  40133. +fi
  40134. +
  40135. +
  40136. +# IFS
  40137. +# We need space, tab and new line, in precisely that order. Quoting is
  40138. +# there to prevent editors from complaining about space-tab.
  40139. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  40140. +# splitting by setting IFS to empty value.)
  40141. +IFS=" "" $as_nl"
  40142. +
  40143. +# Find who we are. Look in the path if we contain no directory separator.
  40144. +as_myself=
  40145. +case $0 in @%:@((
  40146. + *[\\/]* ) as_myself=$0 ;;
  40147. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40148. +for as_dir in $PATH
  40149. +do
  40150. + IFS=$as_save_IFS
  40151. + test -z "$as_dir" && as_dir=.
  40152. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  40153. + done
  40154. +IFS=$as_save_IFS
  40155. +
  40156. + ;;
  40157. +esac
  40158. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  40159. +# in which case we are not to be found in the path.
  40160. +if test "x$as_myself" = x; then
  40161. + as_myself=$0
  40162. +fi
  40163. +if test ! -f "$as_myself"; then
  40164. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  40165. + exit 1
  40166. +fi
  40167. +
  40168. +# Unset variables that we do not need and which cause bugs (e.g. in
  40169. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  40170. +# suppresses any "Segmentation fault" message there. '((' could
  40171. +# trigger a bug in pdksh 5.2.14.
  40172. +for as_var in BASH_ENV ENV MAIL MAILPATH
  40173. +do eval test x\${$as_var+set} = xset \
  40174. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  40175. +done
  40176. +PS1='$ '
  40177. +PS2='> '
  40178. +PS4='+ '
  40179. +
  40180. +# NLS nuisances.
  40181. +LC_ALL=C
  40182. +export LC_ALL
  40183. +LANGUAGE=C
  40184. +export LANGUAGE
  40185. +
  40186. +# CDPATH.
  40187. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  40188. +
  40189. +# Use a proper internal environment variable to ensure we don't fall
  40190. + # into an infinite loop, continuously re-executing ourselves.
  40191. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  40192. + _as_can_reexec=no; export _as_can_reexec;
  40193. + # We cannot yet assume a decent shell, so we have to provide a
  40194. +# neutralization value for shells without unset; and this also
  40195. +# works around shells that cannot unset nonexistent variables.
  40196. +# Preserve -v and -x to the replacement shell.
  40197. +BASH_ENV=/dev/null
  40198. +ENV=/dev/null
  40199. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  40200. +case $- in @%:@ ((((
  40201. + *v*x* | *x*v* ) as_opts=-vx ;;
  40202. + *v* ) as_opts=-v ;;
  40203. + *x* ) as_opts=-x ;;
  40204. + * ) as_opts= ;;
  40205. +esac
  40206. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  40207. +# Admittedly, this is quite paranoid, since all the known shells bail
  40208. +# out after a failed `exec'.
  40209. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  40210. +as_fn_exit 255
  40211. + fi
  40212. + # We don't want this to propagate to other subprocesses.
  40213. + { _as_can_reexec=; unset _as_can_reexec;}
  40214. +if test "x$CONFIG_SHELL" = x; then
  40215. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  40216. + emulate sh
  40217. + NULLCMD=:
  40218. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  40219. + # is contrary to our usage. Disable this feature.
  40220. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  40221. + setopt NO_GLOB_SUBST
  40222. +else
  40223. + case \`(set -o) 2>/dev/null\` in @%:@(
  40224. + *posix*) :
  40225. + set -o posix ;; @%:@(
  40226. + *) :
  40227. + ;;
  40228. +esac
  40229. +fi
  40230. +"
  40231. + as_required="as_fn_return () { (exit \$1); }
  40232. +as_fn_success () { as_fn_return 0; }
  40233. +as_fn_failure () { as_fn_return 1; }
  40234. +as_fn_ret_success () { return 0; }
  40235. +as_fn_ret_failure () { return 1; }
  40236. +
  40237. +exitcode=0
  40238. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  40239. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  40240. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  40241. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  40242. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  40243. +
  40244. +else
  40245. + exitcode=1; echo positional parameters were not saved.
  40246. +fi
  40247. +test x\$exitcode = x0 || exit 1
  40248. +test -x / || exit 1"
  40249. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  40250. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  40251. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  40252. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  40253. +
  40254. + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  40255. + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  40256. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  40257. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  40258. + PATH=/empty FPATH=/empty; export PATH FPATH
  40259. + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  40260. + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
  40261. +test \$(( 1 + 1 )) = 2 || exit 1"
  40262. + if (eval "$as_required") 2>/dev/null; then :
  40263. + as_have_required=yes
  40264. +else
  40265. + as_have_required=no
  40266. +fi
  40267. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  40268. +
  40269. +else
  40270. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40271. +as_found=false
  40272. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  40273. +do
  40274. + IFS=$as_save_IFS
  40275. + test -z "$as_dir" && as_dir=.
  40276. + as_found=:
  40277. + case $as_dir in @%:@(
  40278. + /*)
  40279. + for as_base in sh bash ksh sh5; do
  40280. + # Try only shells that exist, to save several forks.
  40281. + as_shell=$as_dir/$as_base
  40282. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  40283. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  40284. + CONFIG_SHELL=$as_shell as_have_required=yes
  40285. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  40286. + break 2
  40287. +fi
  40288. +fi
  40289. + done;;
  40290. + esac
  40291. + as_found=false
  40292. +done
  40293. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  40294. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  40295. + CONFIG_SHELL=$SHELL as_have_required=yes
  40296. +fi; }
  40297. +IFS=$as_save_IFS
  40298. +
  40299. +
  40300. + if test "x$CONFIG_SHELL" != x; then :
  40301. + export CONFIG_SHELL
  40302. + # We cannot yet assume a decent shell, so we have to provide a
  40303. +# neutralization value for shells without unset; and this also
  40304. +# works around shells that cannot unset nonexistent variables.
  40305. +# Preserve -v and -x to the replacement shell.
  40306. +BASH_ENV=/dev/null
  40307. +ENV=/dev/null
  40308. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  40309. +case $- in @%:@ ((((
  40310. + *v*x* | *x*v* ) as_opts=-vx ;;
  40311. + *v* ) as_opts=-v ;;
  40312. + *x* ) as_opts=-x ;;
  40313. + * ) as_opts= ;;
  40314. +esac
  40315. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  40316. +# Admittedly, this is quite paranoid, since all the known shells bail
  40317. +# out after a failed `exec'.
  40318. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  40319. +exit 255
  40320. +fi
  40321. +
  40322. + if test x$as_have_required = xno; then :
  40323. + $as_echo "$0: This script requires a shell more modern than all"
  40324. + $as_echo "$0: the shells that I found on your system."
  40325. + if test x${ZSH_VERSION+set} = xset ; then
  40326. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  40327. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  40328. + else
  40329. + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  40330. +$0: including any error possibly output before this
  40331. +$0: message. Then install a modern shell, or manually run
  40332. +$0: the script under such a shell if you do have one."
  40333. + fi
  40334. + exit 1
  40335. +fi
  40336. +fi
  40337. +fi
  40338. +SHELL=${CONFIG_SHELL-/bin/sh}
  40339. +export SHELL
  40340. +# Unset more variables known to interfere with behavior of common tools.
  40341. +CLICOLOR_FORCE= GREP_OPTIONS=
  40342. +unset CLICOLOR_FORCE GREP_OPTIONS
  40343. +
  40344. +## --------------------- ##
  40345. +## M4sh Shell Functions. ##
  40346. +## --------------------- ##
  40347. +@%:@ as_fn_unset VAR
  40348. +@%:@ ---------------
  40349. +@%:@ Portably unset VAR.
  40350. +as_fn_unset ()
  40351. +{
  40352. + { eval $1=; unset $1;}
  40353. +}
  40354. +as_unset=as_fn_unset
  40355. +
  40356. +@%:@ as_fn_set_status STATUS
  40357. +@%:@ -----------------------
  40358. +@%:@ Set @S|@? to STATUS, without forking.
  40359. +as_fn_set_status ()
  40360. +{
  40361. + return $1
  40362. +} @%:@ as_fn_set_status
  40363. +
  40364. +@%:@ as_fn_exit STATUS
  40365. +@%:@ -----------------
  40366. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  40367. +as_fn_exit ()
  40368. +{
  40369. + set +e
  40370. + as_fn_set_status $1
  40371. + exit $1
  40372. +} @%:@ as_fn_exit
  40373. +
  40374. +@%:@ as_fn_mkdir_p
  40375. +@%:@ -------------
  40376. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  40377. +as_fn_mkdir_p ()
  40378. +{
  40379. +
  40380. + case $as_dir in #(
  40381. + -*) as_dir=./$as_dir;;
  40382. + esac
  40383. + test -d "$as_dir" || eval $as_mkdir_p || {
  40384. + as_dirs=
  40385. + while :; do
  40386. + case $as_dir in #(
  40387. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  40388. + *) as_qdir=$as_dir;;
  40389. + esac
  40390. + as_dirs="'$as_qdir' $as_dirs"
  40391. + as_dir=`$as_dirname -- "$as_dir" ||
  40392. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  40393. + X"$as_dir" : 'X\(//\)[^/]' \| \
  40394. + X"$as_dir" : 'X\(//\)$' \| \
  40395. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  40396. +$as_echo X"$as_dir" |
  40397. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  40398. + s//\1/
  40399. + q
  40400. + }
  40401. + /^X\(\/\/\)[^/].*/{
  40402. + s//\1/
  40403. + q
  40404. + }
  40405. + /^X\(\/\/\)$/{
  40406. + s//\1/
  40407. + q
  40408. + }
  40409. + /^X\(\/\).*/{
  40410. + s//\1/
  40411. + q
  40412. + }
  40413. + s/.*/./; q'`
  40414. + test -d "$as_dir" && break
  40415. + done
  40416. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  40417. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  40418. +
  40419. +
  40420. +} @%:@ as_fn_mkdir_p
  40421. +
  40422. +@%:@ as_fn_executable_p FILE
  40423. +@%:@ -----------------------
  40424. +@%:@ Test if FILE is an executable regular file.
  40425. +as_fn_executable_p ()
  40426. +{
  40427. + test -f "$1" && test -x "$1"
  40428. +} @%:@ as_fn_executable_p
  40429. +@%:@ as_fn_append VAR VALUE
  40430. +@%:@ ----------------------
  40431. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  40432. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  40433. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  40434. +@%:@ implementations.
  40435. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  40436. + eval 'as_fn_append ()
  40437. + {
  40438. + eval $1+=\$2
  40439. + }'
  40440. +else
  40441. + as_fn_append ()
  40442. + {
  40443. + eval $1=\$$1\$2
  40444. + }
  40445. +fi # as_fn_append
  40446. +
  40447. +@%:@ as_fn_arith ARG...
  40448. +@%:@ ------------------
  40449. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  40450. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  40451. +@%:@ must be portable across @S|@(()) and expr.
  40452. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  40453. + eval 'as_fn_arith ()
  40454. + {
  40455. + as_val=$(( $* ))
  40456. + }'
  40457. +else
  40458. + as_fn_arith ()
  40459. + {
  40460. + as_val=`expr "$@" || test $? -eq 1`
  40461. + }
  40462. +fi # as_fn_arith
  40463. +
  40464. +
  40465. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  40466. +@%:@ ----------------------------------------
  40467. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  40468. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  40469. +@%:@ script with STATUS, using 1 if that was 0.
  40470. +as_fn_error ()
  40471. +{
  40472. + as_status=$1; test $as_status -eq 0 && as_status=1
  40473. + if test "$4"; then
  40474. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  40475. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  40476. + fi
  40477. + $as_echo "$as_me: error: $2" >&2
  40478. + as_fn_exit $as_status
  40479. +} @%:@ as_fn_error
  40480. +
  40481. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  40482. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  40483. + as_expr=expr
  40484. +else
  40485. + as_expr=false
  40486. +fi
  40487. +
  40488. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  40489. + as_basename=basename
  40490. +else
  40491. + as_basename=false
  40492. +fi
  40493. +
  40494. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  40495. + as_dirname=dirname
  40496. +else
  40497. + as_dirname=false
  40498. +fi
  40499. +
  40500. +as_me=`$as_basename -- "$0" ||
  40501. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  40502. + X"$0" : 'X\(//\)$' \| \
  40503. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  40504. +$as_echo X/"$0" |
  40505. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  40506. + s//\1/
  40507. + q
  40508. + }
  40509. + /^X\/\(\/\/\)$/{
  40510. + s//\1/
  40511. + q
  40512. + }
  40513. + /^X\/\(\/\).*/{
  40514. + s//\1/
  40515. + q
  40516. + }
  40517. + s/.*/./; q'`
  40518. +
  40519. +# Avoid depending upon Character Ranges.
  40520. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  40521. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  40522. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  40523. +as_cr_digits='0123456789'
  40524. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  40525. +
  40526. +
  40527. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  40528. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  40529. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  40530. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  40531. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  40532. + sed -n '
  40533. + p
  40534. + /[$]LINENO/=
  40535. + ' <$as_myself |
  40536. + sed '
  40537. + s/[$]LINENO.*/&-/
  40538. + t lineno
  40539. + b
  40540. + :lineno
  40541. + N
  40542. + :loop
  40543. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  40544. + t loop
  40545. + s/-\n.*//
  40546. + ' >$as_me.lineno &&
  40547. + chmod +x "$as_me.lineno" ||
  40548. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  40549. +
  40550. + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  40551. + # already done that, so ensure we don't try to do so again and fall
  40552. + # in an infinite loop. This has already happened in practice.
  40553. + _as_can_reexec=no; export _as_can_reexec
  40554. + # Don't try to exec as it changes $[0], causing all sort of problems
  40555. + # (the dirname of $[0] is not the place where we might find the
  40556. + # original and so on. Autoconf is especially sensitive to this).
  40557. + . "./$as_me.lineno"
  40558. + # Exit status is that of the last command.
  40559. + exit
  40560. +}
  40561. +
  40562. +ECHO_C= ECHO_N= ECHO_T=
  40563. +case `echo -n x` in @%:@(((((
  40564. +-n*)
  40565. + case `echo 'xy\c'` in
  40566. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  40567. + xy) ECHO_C='\c';;
  40568. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  40569. + ECHO_T=' ';;
  40570. + esac;;
  40571. +*)
  40572. + ECHO_N='-n';;
  40573. +esac
  40574. +
  40575. +rm -f conf$$ conf$$.exe conf$$.file
  40576. +if test -d conf$$.dir; then
  40577. + rm -f conf$$.dir/conf$$.file
  40578. +else
  40579. + rm -f conf$$.dir
  40580. + mkdir conf$$.dir 2>/dev/null
  40581. +fi
  40582. +if (echo >conf$$.file) 2>/dev/null; then
  40583. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  40584. + as_ln_s='ln -s'
  40585. + # ... but there are two gotchas:
  40586. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  40587. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  40588. + # In both cases, we have to default to `cp -pR'.
  40589. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  40590. + as_ln_s='cp -pR'
  40591. + elif ln conf$$.file conf$$ 2>/dev/null; then
  40592. + as_ln_s=ln
  40593. + else
  40594. + as_ln_s='cp -pR'
  40595. + fi
  40596. +else
  40597. + as_ln_s='cp -pR'
  40598. +fi
  40599. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  40600. +rmdir conf$$.dir 2>/dev/null
  40601. +
  40602. +if mkdir -p . 2>/dev/null; then
  40603. + as_mkdir_p='mkdir -p "$as_dir"'
  40604. +else
  40605. + test -d ./-p && rmdir ./-p
  40606. + as_mkdir_p=false
  40607. +fi
  40608. +
  40609. +as_test_x='test -x'
  40610. +as_executable_p=as_fn_executable_p
  40611. +
  40612. +# Sed expression to map a string onto a valid CPP name.
  40613. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  40614. +
  40615. +# Sed expression to map a string onto a valid variable name.
  40616. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  40617. +
  40618. +SHELL=${CONFIG_SHELL-/bin/sh}
  40619. +
  40620. +
  40621. +test -n "$DJDIR" || exec 7<&0 </dev/null
  40622. +exec 6>&1
  40623. +
  40624. +# Name of the host.
  40625. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  40626. +# so uname gets run too.
  40627. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  40628. +
  40629. +#
  40630. +# Initializations.
  40631. +#
  40632. +ac_default_prefix=/usr/local
  40633. +ac_clean_files=
  40634. +ac_config_libobj_dir=.
  40635. +LIB@&t@OBJS=
  40636. +cross_compiling=no
  40637. +subdirs=
  40638. +MFLAGS=
  40639. +MAKEFLAGS=
  40640. +
  40641. +# Identity of this package.
  40642. +PACKAGE_NAME='fiasco'
  40643. +PACKAGE_TARNAME='fiasco'
  40644. +PACKAGE_VERSION='1.3'
  40645. +PACKAGE_STRING='fiasco 1.3'
  40646. +PACKAGE_BUGREPORT=''
  40647. +PACKAGE_URL=''
  40648. +
  40649. +# Factoring default headers for most tests.
  40650. +ac_includes_default="\
  40651. +#include <stdio.h>
  40652. +#ifdef HAVE_SYS_TYPES_H
  40653. +# include <sys/types.h>
  40654. +#endif
  40655. +#ifdef HAVE_SYS_STAT_H
  40656. +# include <sys/stat.h>
  40657. +#endif
  40658. +#ifdef STDC_HEADERS
  40659. +# include <stdlib.h>
  40660. +# include <stddef.h>
  40661. +#else
  40662. +# ifdef HAVE_STDLIB_H
  40663. +# include <stdlib.h>
  40664. +# endif
  40665. +#endif
  40666. +#ifdef HAVE_STRING_H
  40667. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  40668. +# include <memory.h>
  40669. +# endif
  40670. +# include <string.h>
  40671. +#endif
  40672. +#ifdef HAVE_STRINGS_H
  40673. +# include <strings.h>
  40674. +#endif
  40675. +#ifdef HAVE_INTTYPES_H
  40676. +# include <inttypes.h>
  40677. +#endif
  40678. +#ifdef HAVE_STDINT_H
  40679. +# include <stdint.h>
  40680. +#endif
  40681. +#ifdef HAVE_UNISTD_H
  40682. +# include <unistd.h>
  40683. +#endif"
  40684. +
  40685. +ac_subst_vars='am__EXEEXT_FALSE
  40686. +am__EXEEXT_TRUE
  40687. +LTLIBOBJS
  40688. +LIB@&t@OBJS
  40689. +xmag
  40690. +xfig
  40691. +AM_CPPFLAGS
  40692. +LIBTOOL_DEPS
  40693. +CPP
  40694. +LT_SYS_LIBRARY_PATH
  40695. +OTOOL64
  40696. +OTOOL
  40697. +LIPO
  40698. +NMEDIT
  40699. +DSYMUTIL
  40700. +MANIFEST_TOOL
  40701. +RANLIB
  40702. +ac_ct_AR
  40703. +AR
  40704. +DLLTOOL
  40705. +OBJDUMP
  40706. +LN_S
  40707. +NM
  40708. +ac_ct_DUMPBIN
  40709. +DUMPBIN
  40710. +LD
  40711. +FGREP
  40712. +EGREP
  40713. +GREP
  40714. +SED
  40715. +am__fastdepCC_FALSE
  40716. +am__fastdepCC_TRUE
  40717. +CCDEPMODE
  40718. +am__nodep
  40719. +AMDEPBACKSLASH
  40720. +AMDEP_FALSE
  40721. +AMDEP_TRUE
  40722. +am__include
  40723. +DEPDIR
  40724. +OBJEXT
  40725. +EXEEXT
  40726. +ac_ct_CC
  40727. +CPPFLAGS
  40728. +LDFLAGS
  40729. +CFLAGS
  40730. +CC
  40731. +host_os
  40732. +host_vendor
  40733. +host_cpu
  40734. +host
  40735. +build_os
  40736. +build_vendor
  40737. +build_cpu
  40738. +build
  40739. +LIBTOOL
  40740. +AM_BACKSLASH
  40741. +AM_DEFAULT_VERBOSITY
  40742. +AM_DEFAULT_V
  40743. +AM_V
  40744. +am__untar
  40745. +am__tar
  40746. +AMTAR
  40747. +am__leading_dot
  40748. +SET_MAKE
  40749. +AWK
  40750. +mkdir_p
  40751. +MKDIR_P
  40752. +INSTALL_STRIP_PROGRAM
  40753. +STRIP
  40754. +install_sh
  40755. +MAKEINFO
  40756. +AUTOHEADER
  40757. +AUTOMAKE
  40758. +AUTOCONF
  40759. +ACLOCAL
  40760. +VERSION
  40761. +PACKAGE
  40762. +CYGPATH_W
  40763. +am__isrc
  40764. +INSTALL_DATA
  40765. +INSTALL_SCRIPT
  40766. +INSTALL_PROGRAM
  40767. +target_alias
  40768. +host_alias
  40769. +build_alias
  40770. +LIBS
  40771. +ECHO_T
  40772. +ECHO_N
  40773. +ECHO_C
  40774. +DEFS
  40775. +mandir
  40776. +localedir
  40777. +libdir
  40778. +psdir
  40779. +pdfdir
  40780. +dvidir
  40781. +htmldir
  40782. +infodir
  40783. +docdir
  40784. +oldincludedir
  40785. +includedir
  40786. +localstatedir
  40787. +sharedstatedir
  40788. +sysconfdir
  40789. +datadir
  40790. +datarootdir
  40791. +libexecdir
  40792. +sbindir
  40793. +bindir
  40794. +program_transform_name
  40795. +prefix
  40796. +exec_prefix
  40797. +PACKAGE_URL
  40798. +PACKAGE_BUGREPORT
  40799. +PACKAGE_STRING
  40800. +PACKAGE_VERSION
  40801. +PACKAGE_TARNAME
  40802. +PACKAGE_NAME
  40803. +PATH_SEPARATOR
  40804. +SHELL
  40805. +am__quote'
  40806. +ac_subst_files=''
  40807. +ac_user_opts='
  40808. +enable_option_checking
  40809. +enable_silent_rules
  40810. +enable_shared
  40811. +enable_static
  40812. +with_pic
  40813. +enable_fast_install
  40814. +with_aix_soname
  40815. +enable_dependency_tracking
  40816. +with_gnu_ld
  40817. +with_sysroot
  40818. +enable_libtool_lock
  40819. +'
  40820. + ac_precious_vars='build_alias
  40821. +host_alias
  40822. +target_alias
  40823. +CC
  40824. +CFLAGS
  40825. +LDFLAGS
  40826. +LIBS
  40827. +CPPFLAGS
  40828. +LT_SYS_LIBRARY_PATH
  40829. +CPP'
  40830. +
  40831. +
  40832. +# Initialize some variables set by options.
  40833. +ac_init_help=
  40834. +ac_init_version=false
  40835. +ac_unrecognized_opts=
  40836. +ac_unrecognized_sep=
  40837. +# The variables have the same names as the options, with
  40838. +# dashes changed to underlines.
  40839. +cache_file=/dev/null
  40840. +exec_prefix=NONE
  40841. +no_create=
  40842. +no_recursion=
  40843. +prefix=NONE
  40844. +program_prefix=NONE
  40845. +program_suffix=NONE
  40846. +program_transform_name=s,x,x,
  40847. +silent=
  40848. +site=
  40849. +srcdir=
  40850. +verbose=
  40851. +x_includes=NONE
  40852. +x_libraries=NONE
  40853. +
  40854. +# Installation directory options.
  40855. +# These are left unexpanded so users can "make install exec_prefix=/foo"
  40856. +# and all the variables that are supposed to be based on exec_prefix
  40857. +# by default will actually change.
  40858. +# Use braces instead of parens because sh, perl, etc. also accept them.
  40859. +# (The list follows the same order as the GNU Coding Standards.)
  40860. +bindir='${exec_prefix}/bin'
  40861. +sbindir='${exec_prefix}/sbin'
  40862. +libexecdir='${exec_prefix}/libexec'
  40863. +datarootdir='${prefix}/share'
  40864. +datadir='${datarootdir}'
  40865. +sysconfdir='${prefix}/etc'
  40866. +sharedstatedir='${prefix}/com'
  40867. +localstatedir='${prefix}/var'
  40868. +includedir='${prefix}/include'
  40869. +oldincludedir='/usr/include'
  40870. +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  40871. +infodir='${datarootdir}/info'
  40872. +htmldir='${docdir}'
  40873. +dvidir='${docdir}'
  40874. +pdfdir='${docdir}'
  40875. +psdir='${docdir}'
  40876. +libdir='${exec_prefix}/lib'
  40877. +localedir='${datarootdir}/locale'
  40878. +mandir='${datarootdir}/man'
  40879. +
  40880. +ac_prev=
  40881. +ac_dashdash=
  40882. +for ac_option
  40883. +do
  40884. + # If the previous option needs an argument, assign it.
  40885. + if test -n "$ac_prev"; then
  40886. + eval $ac_prev=\$ac_option
  40887. + ac_prev=
  40888. + continue
  40889. + fi
  40890. +
  40891. + case $ac_option in
  40892. + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  40893. + *=) ac_optarg= ;;
  40894. + *) ac_optarg=yes ;;
  40895. + esac
  40896. +
  40897. + # Accept the important Cygnus configure options, so we can diagnose typos.
  40898. +
  40899. + case $ac_dashdash$ac_option in
  40900. + --)
  40901. + ac_dashdash=yes ;;
  40902. +
  40903. + -bindir | --bindir | --bindi | --bind | --bin | --bi)
  40904. + ac_prev=bindir ;;
  40905. + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  40906. + bindir=$ac_optarg ;;
  40907. +
  40908. + -build | --build | --buil | --bui | --bu)
  40909. + ac_prev=build_alias ;;
  40910. + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  40911. + build_alias=$ac_optarg ;;
  40912. +
  40913. + -cache-file | --cache-file | --cache-fil | --cache-fi \
  40914. + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  40915. + ac_prev=cache_file ;;
  40916. + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  40917. + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  40918. + cache_file=$ac_optarg ;;
  40919. +
  40920. + --config-cache | -C)
  40921. + cache_file=config.cache ;;
  40922. +
  40923. + -datadir | --datadir | --datadi | --datad)
  40924. + ac_prev=datadir ;;
  40925. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  40926. + datadir=$ac_optarg ;;
  40927. +
  40928. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  40929. + | --dataroo | --dataro | --datar)
  40930. + ac_prev=datarootdir ;;
  40931. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  40932. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  40933. + datarootdir=$ac_optarg ;;
  40934. +
  40935. + -disable-* | --disable-*)
  40936. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  40937. + # Reject names that are not valid shell variable names.
  40938. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  40939. + as_fn_error $? "invalid feature name: $ac_useropt"
  40940. + ac_useropt_orig=$ac_useropt
  40941. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  40942. + case $ac_user_opts in
  40943. + *"
  40944. +"enable_$ac_useropt"
  40945. +"*) ;;
  40946. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  40947. + ac_unrecognized_sep=', ';;
  40948. + esac
  40949. + eval enable_$ac_useropt=no ;;
  40950. +
  40951. + -docdir | --docdir | --docdi | --doc | --do)
  40952. + ac_prev=docdir ;;
  40953. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  40954. + docdir=$ac_optarg ;;
  40955. +
  40956. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  40957. + ac_prev=dvidir ;;
  40958. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  40959. + dvidir=$ac_optarg ;;
  40960. +
  40961. + -enable-* | --enable-*)
  40962. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  40963. + # Reject names that are not valid shell variable names.
  40964. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  40965. + as_fn_error $? "invalid feature name: $ac_useropt"
  40966. + ac_useropt_orig=$ac_useropt
  40967. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  40968. + case $ac_user_opts in
  40969. + *"
  40970. +"enable_$ac_useropt"
  40971. +"*) ;;
  40972. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  40973. + ac_unrecognized_sep=', ';;
  40974. + esac
  40975. + eval enable_$ac_useropt=\$ac_optarg ;;
  40976. +
  40977. + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  40978. + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  40979. + | --exec | --exe | --ex)
  40980. + ac_prev=exec_prefix ;;
  40981. + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  40982. + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  40983. + | --exec=* | --exe=* | --ex=*)
  40984. + exec_prefix=$ac_optarg ;;
  40985. +
  40986. + -gas | --gas | --ga | --g)
  40987. + # Obsolete; use --with-gas.
  40988. + with_gas=yes ;;
  40989. +
  40990. + -help | --help | --hel | --he | -h)
  40991. + ac_init_help=long ;;
  40992. + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  40993. + ac_init_help=recursive ;;
  40994. + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  40995. + ac_init_help=short ;;
  40996. +
  40997. + -host | --host | --hos | --ho)
  40998. + ac_prev=host_alias ;;
  40999. + -host=* | --host=* | --hos=* | --ho=*)
  41000. + host_alias=$ac_optarg ;;
  41001. +
  41002. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  41003. + ac_prev=htmldir ;;
  41004. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  41005. + | --ht=*)
  41006. + htmldir=$ac_optarg ;;
  41007. +
  41008. + -includedir | --includedir | --includedi | --included | --include \
  41009. + | --includ | --inclu | --incl | --inc)
  41010. + ac_prev=includedir ;;
  41011. + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  41012. + | --includ=* | --inclu=* | --incl=* | --inc=*)
  41013. + includedir=$ac_optarg ;;
  41014. +
  41015. + -infodir | --infodir | --infodi | --infod | --info | --inf)
  41016. + ac_prev=infodir ;;
  41017. + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  41018. + infodir=$ac_optarg ;;
  41019. +
  41020. + -libdir | --libdir | --libdi | --libd)
  41021. + ac_prev=libdir ;;
  41022. + -libdir=* | --libdir=* | --libdi=* | --libd=*)
  41023. + libdir=$ac_optarg ;;
  41024. +
  41025. + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  41026. + | --libexe | --libex | --libe)
  41027. + ac_prev=libexecdir ;;
  41028. + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  41029. + | --libexe=* | --libex=* | --libe=*)
  41030. + libexecdir=$ac_optarg ;;
  41031. +
  41032. + -localedir | --localedir | --localedi | --localed | --locale)
  41033. + ac_prev=localedir ;;
  41034. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  41035. + localedir=$ac_optarg ;;
  41036. +
  41037. + -localstatedir | --localstatedir | --localstatedi | --localstated \
  41038. + | --localstate | --localstat | --localsta | --localst | --locals)
  41039. + ac_prev=localstatedir ;;
  41040. + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  41041. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  41042. + localstatedir=$ac_optarg ;;
  41043. +
  41044. + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  41045. + ac_prev=mandir ;;
  41046. + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  41047. + mandir=$ac_optarg ;;
  41048. +
  41049. + -nfp | --nfp | --nf)
  41050. + # Obsolete; use --without-fp.
  41051. + with_fp=no ;;
  41052. +
  41053. + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  41054. + | --no-cr | --no-c | -n)
  41055. + no_create=yes ;;
  41056. +
  41057. + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  41058. + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  41059. + no_recursion=yes ;;
  41060. +
  41061. + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  41062. + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  41063. + | --oldin | --oldi | --old | --ol | --o)
  41064. + ac_prev=oldincludedir ;;
  41065. + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  41066. + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  41067. + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  41068. + oldincludedir=$ac_optarg ;;
  41069. +
  41070. + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  41071. + ac_prev=prefix ;;
  41072. + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  41073. + prefix=$ac_optarg ;;
  41074. +
  41075. + -program-prefix | --program-prefix | --program-prefi | --program-pref \
  41076. + | --program-pre | --program-pr | --program-p)
  41077. + ac_prev=program_prefix ;;
  41078. + -program-prefix=* | --program-prefix=* | --program-prefi=* \
  41079. + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  41080. + program_prefix=$ac_optarg ;;
  41081. +
  41082. + -program-suffix | --program-suffix | --program-suffi | --program-suff \
  41083. + | --program-suf | --program-su | --program-s)
  41084. + ac_prev=program_suffix ;;
  41085. + -program-suffix=* | --program-suffix=* | --program-suffi=* \
  41086. + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  41087. + program_suffix=$ac_optarg ;;
  41088. +
  41089. + -program-transform-name | --program-transform-name \
  41090. + | --program-transform-nam | --program-transform-na \
  41091. + | --program-transform-n | --program-transform- \
  41092. + | --program-transform | --program-transfor \
  41093. + | --program-transfo | --program-transf \
  41094. + | --program-trans | --program-tran \
  41095. + | --progr-tra | --program-tr | --program-t)
  41096. + ac_prev=program_transform_name ;;
  41097. + -program-transform-name=* | --program-transform-name=* \
  41098. + | --program-transform-nam=* | --program-transform-na=* \
  41099. + | --program-transform-n=* | --program-transform-=* \
  41100. + | --program-transform=* | --program-transfor=* \
  41101. + | --program-transfo=* | --program-transf=* \
  41102. + | --program-trans=* | --program-tran=* \
  41103. + | --progr-tra=* | --program-tr=* | --program-t=*)
  41104. + program_transform_name=$ac_optarg ;;
  41105. +
  41106. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  41107. + ac_prev=pdfdir ;;
  41108. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  41109. + pdfdir=$ac_optarg ;;
  41110. +
  41111. + -psdir | --psdir | --psdi | --psd | --ps)
  41112. + ac_prev=psdir ;;
  41113. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  41114. + psdir=$ac_optarg ;;
  41115. +
  41116. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  41117. + | -silent | --silent | --silen | --sile | --sil)
  41118. + silent=yes ;;
  41119. +
  41120. + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  41121. + ac_prev=sbindir ;;
  41122. + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  41123. + | --sbi=* | --sb=*)
  41124. + sbindir=$ac_optarg ;;
  41125. +
  41126. + -sharedstatedir | --sharedstatedir | --sharedstatedi \
  41127. + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  41128. + | --sharedst | --shareds | --shared | --share | --shar \
  41129. + | --sha | --sh)
  41130. + ac_prev=sharedstatedir ;;
  41131. + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  41132. + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  41133. + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  41134. + | --sha=* | --sh=*)
  41135. + sharedstatedir=$ac_optarg ;;
  41136. +
  41137. + -site | --site | --sit)
  41138. + ac_prev=site ;;
  41139. + -site=* | --site=* | --sit=*)
  41140. + site=$ac_optarg ;;
  41141. +
  41142. + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  41143. + ac_prev=srcdir ;;
  41144. + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  41145. + srcdir=$ac_optarg ;;
  41146. +
  41147. + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  41148. + | --syscon | --sysco | --sysc | --sys | --sy)
  41149. + ac_prev=sysconfdir ;;
  41150. + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  41151. + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  41152. + sysconfdir=$ac_optarg ;;
  41153. +
  41154. + -target | --target | --targe | --targ | --tar | --ta | --t)
  41155. + ac_prev=target_alias ;;
  41156. + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  41157. + target_alias=$ac_optarg ;;
  41158. +
  41159. + -v | -verbose | --verbose | --verbos | --verbo | --verb)
  41160. + verbose=yes ;;
  41161. +
  41162. + -version | --version | --versio | --versi | --vers | -V)
  41163. + ac_init_version=: ;;
  41164. +
  41165. + -with-* | --with-*)
  41166. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  41167. + # Reject names that are not valid shell variable names.
  41168. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  41169. + as_fn_error $? "invalid package name: $ac_useropt"
  41170. + ac_useropt_orig=$ac_useropt
  41171. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  41172. + case $ac_user_opts in
  41173. + *"
  41174. +"with_$ac_useropt"
  41175. +"*) ;;
  41176. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  41177. + ac_unrecognized_sep=', ';;
  41178. + esac
  41179. + eval with_$ac_useropt=\$ac_optarg ;;
  41180. +
  41181. + -without-* | --without-*)
  41182. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  41183. + # Reject names that are not valid shell variable names.
  41184. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  41185. + as_fn_error $? "invalid package name: $ac_useropt"
  41186. + ac_useropt_orig=$ac_useropt
  41187. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  41188. + case $ac_user_opts in
  41189. + *"
  41190. +"with_$ac_useropt"
  41191. +"*) ;;
  41192. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  41193. + ac_unrecognized_sep=', ';;
  41194. + esac
  41195. + eval with_$ac_useropt=no ;;
  41196. +
  41197. + --x)
  41198. + # Obsolete; use --with-x.
  41199. + with_x=yes ;;
  41200. +
  41201. + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  41202. + | --x-incl | --x-inc | --x-in | --x-i)
  41203. + ac_prev=x_includes ;;
  41204. + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  41205. + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  41206. + x_includes=$ac_optarg ;;
  41207. +
  41208. + -x-libraries | --x-libraries | --x-librarie | --x-librari \
  41209. + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  41210. + ac_prev=x_libraries ;;
  41211. + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  41212. + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  41213. + x_libraries=$ac_optarg ;;
  41214. +
  41215. + -*) as_fn_error $? "unrecognized option: \`$ac_option'
  41216. +Try \`$0 --help' for more information"
  41217. + ;;
  41218. +
  41219. + *=*)
  41220. + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  41221. + # Reject names that are not valid shell variable names.
  41222. + case $ac_envvar in #(
  41223. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  41224. + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  41225. + esac
  41226. + eval $ac_envvar=\$ac_optarg
  41227. + export $ac_envvar ;;
  41228. +
  41229. + *)
  41230. + # FIXME: should be removed in autoconf 3.0.
  41231. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  41232. + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  41233. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  41234. + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  41235. + ;;
  41236. +
  41237. + esac
  41238. +done
  41239. +
  41240. +if test -n "$ac_prev"; then
  41241. + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  41242. + as_fn_error $? "missing argument to $ac_option"
  41243. +fi
  41244. +
  41245. +if test -n "$ac_unrecognized_opts"; then
  41246. + case $enable_option_checking in
  41247. + no) ;;
  41248. + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  41249. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  41250. + esac
  41251. +fi
  41252. +
  41253. +# Check all directory arguments for consistency.
  41254. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  41255. + datadir sysconfdir sharedstatedir localstatedir includedir \
  41256. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  41257. + libdir localedir mandir
  41258. +do
  41259. + eval ac_val=\$$ac_var
  41260. + # Remove trailing slashes.
  41261. + case $ac_val in
  41262. + */ )
  41263. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  41264. + eval $ac_var=\$ac_val;;
  41265. + esac
  41266. + # Be sure to have absolute directory names.
  41267. + case $ac_val in
  41268. + [\\/$]* | ?:[\\/]* ) continue;;
  41269. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  41270. + esac
  41271. + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  41272. +done
  41273. +
  41274. +# There might be people who depend on the old broken behavior: `$host'
  41275. +# used to hold the argument of --host etc.
  41276. +# FIXME: To remove some day.
  41277. +build=$build_alias
  41278. +host=$host_alias
  41279. +target=$target_alias
  41280. +
  41281. +# FIXME: To remove some day.
  41282. +if test "x$host_alias" != x; then
  41283. + if test "x$build_alias" = x; then
  41284. + cross_compiling=maybe
  41285. + elif test "x$build_alias" != "x$host_alias"; then
  41286. + cross_compiling=yes
  41287. + fi
  41288. +fi
  41289. +
  41290. +ac_tool_prefix=
  41291. +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  41292. +
  41293. +test "$silent" = yes && exec 6>/dev/null
  41294. +
  41295. +
  41296. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  41297. +ac_ls_di=`ls -di .` &&
  41298. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  41299. + as_fn_error $? "working directory cannot be determined"
  41300. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  41301. + as_fn_error $? "pwd does not report name of working directory"
  41302. +
  41303. +
  41304. +# Find the source files, if location was not specified.
  41305. +if test -z "$srcdir"; then
  41306. + ac_srcdir_defaulted=yes
  41307. + # Try the directory containing this script, then the parent directory.
  41308. + ac_confdir=`$as_dirname -- "$as_myself" ||
  41309. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  41310. + X"$as_myself" : 'X\(//\)[^/]' \| \
  41311. + X"$as_myself" : 'X\(//\)$' \| \
  41312. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  41313. +$as_echo X"$as_myself" |
  41314. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  41315. + s//\1/
  41316. + q
  41317. + }
  41318. + /^X\(\/\/\)[^/].*/{
  41319. + s//\1/
  41320. + q
  41321. + }
  41322. + /^X\(\/\/\)$/{
  41323. + s//\1/
  41324. + q
  41325. + }
  41326. + /^X\(\/\).*/{
  41327. + s//\1/
  41328. + q
  41329. + }
  41330. + s/.*/./; q'`
  41331. + srcdir=$ac_confdir
  41332. + if test ! -r "$srcdir/$ac_unique_file"; then
  41333. + srcdir=..
  41334. + fi
  41335. +else
  41336. + ac_srcdir_defaulted=no
  41337. +fi
  41338. +if test ! -r "$srcdir/$ac_unique_file"; then
  41339. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  41340. + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  41341. +fi
  41342. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  41343. +ac_abs_confdir=`(
  41344. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  41345. + pwd)`
  41346. +# When building in place, set srcdir=.
  41347. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  41348. + srcdir=.
  41349. +fi
  41350. +# Remove unnecessary trailing slashes from srcdir.
  41351. +# Double slashes in file names in object file debugging info
  41352. +# mess up M-x gdb in Emacs.
  41353. +case $srcdir in
  41354. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  41355. +esac
  41356. +for ac_var in $ac_precious_vars; do
  41357. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  41358. + eval ac_env_${ac_var}_value=\$${ac_var}
  41359. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  41360. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  41361. +done
  41362. +
  41363. +#
  41364. +# Report the --help message.
  41365. +#
  41366. +if test "$ac_init_help" = "long"; then
  41367. + # Omit some internal or obsolete options to make the list less imposing.
  41368. + # This message is too long to be a string in the A/UX 3.1 sh.
  41369. + cat <<_ACEOF
  41370. +\`configure' configures fiasco 1.3 to adapt to many kinds of systems.
  41371. +
  41372. +Usage: $0 [OPTION]... [VAR=VALUE]...
  41373. +
  41374. +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  41375. +VAR=VALUE. See below for descriptions of some of the useful variables.
  41376. +
  41377. +Defaults for the options are specified in brackets.
  41378. +
  41379. +Configuration:
  41380. + -h, --help display this help and exit
  41381. + --help=short display options specific to this package
  41382. + --help=recursive display the short help of all the included packages
  41383. + -V, --version display version information and exit
  41384. + -q, --quiet, --silent do not print \`checking ...' messages
  41385. + --cache-file=FILE cache test results in FILE [disabled]
  41386. + -C, --config-cache alias for \`--cache-file=config.cache'
  41387. + -n, --no-create do not create output files
  41388. + --srcdir=DIR find the sources in DIR [configure dir or \`..']
  41389. +
  41390. +Installation directories:
  41391. + --prefix=PREFIX install architecture-independent files in PREFIX
  41392. + @<:@@S|@ac_default_prefix@:>@
  41393. + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  41394. + @<:@PREFIX@:>@
  41395. +
  41396. +By default, \`make install' will install all the files in
  41397. +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  41398. +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  41399. +for instance \`--prefix=\$HOME'.
  41400. +
  41401. +For better control, use the options below.
  41402. +
  41403. +Fine tuning of the installation directories:
  41404. + --bindir=DIR user executables [EPREFIX/bin]
  41405. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  41406. + --libexecdir=DIR program executables [EPREFIX/libexec]
  41407. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  41408. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  41409. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  41410. + --libdir=DIR object code libraries [EPREFIX/lib]
  41411. + --includedir=DIR C header files [PREFIX/include]
  41412. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  41413. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  41414. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  41415. + --infodir=DIR info documentation [DATAROOTDIR/info]
  41416. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  41417. + --mandir=DIR man documentation [DATAROOTDIR/man]
  41418. + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/fiasco@:>@
  41419. + --htmldir=DIR html documentation [DOCDIR]
  41420. + --dvidir=DIR dvi documentation [DOCDIR]
  41421. + --pdfdir=DIR pdf documentation [DOCDIR]
  41422. + --psdir=DIR ps documentation [DOCDIR]
  41423. +_ACEOF
  41424. +
  41425. + cat <<\_ACEOF
  41426. +
  41427. +Program names:
  41428. + --program-prefix=PREFIX prepend PREFIX to installed program names
  41429. + --program-suffix=SUFFIX append SUFFIX to installed program names
  41430. + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  41431. +
  41432. +System types:
  41433. + --build=BUILD configure for building on BUILD [guessed]
  41434. + --host=HOST cross-compile to build programs to run on HOST [BUILD]
  41435. +_ACEOF
  41436. +fi
  41437. +
  41438. +if test -n "$ac_init_help"; then
  41439. + case $ac_init_help in
  41440. + short | recursive ) echo "Configuration of fiasco 1.3:";;
  41441. + esac
  41442. + cat <<\_ACEOF
  41443. +
  41444. +Optional Features:
  41445. + --disable-option-checking ignore unrecognized --enable/--with options
  41446. + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  41447. + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  41448. + --enable-silent-rules less verbose build output (undo: "make V=1")
  41449. + --disable-silent-rules verbose build output (undo: "make V=0")
  41450. + --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
  41451. + --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
  41452. + --enable-fast-install@<:@=PKGS@:>@
  41453. + optimize for fast installation @<:@default=yes@:>@
  41454. + --enable-dependency-tracking
  41455. + do not reject slow dependency extractors
  41456. + --disable-dependency-tracking
  41457. + speeds up one-time build
  41458. + --disable-libtool-lock avoid locking (might break parallel builds)
  41459. +
  41460. +Optional Packages:
  41461. + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  41462. + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  41463. + --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
  41464. + both@:>@
  41465. + --with-aix-soname=aix|svr4|both
  41466. + shared library versioning (aka "SONAME") variant to
  41467. + provide on AIX, @<:@default=aix@:>@.
  41468. + --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
  41469. + --with-sysroot@<:@=DIR@:>@ Search for dependent libraries within DIR (or the
  41470. + compiler's sysroot if not specified).
  41471. +
  41472. +Some influential environment variables:
  41473. + CC C compiler command
  41474. + CFLAGS C compiler flags
  41475. + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  41476. + nonstandard directory <lib dir>
  41477. + LIBS libraries to pass to the linker, e.g. -l<library>
  41478. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  41479. + you have headers in a nonstandard directory <include dir>
  41480. + LT_SYS_LIBRARY_PATH
  41481. + User-defined run-time library search path.
  41482. + CPP C preprocessor
  41483. +
  41484. +Use these variables to override the choices made by `configure' or to help
  41485. +it to find libraries and programs with nonstandard names/locations.
  41486. +
  41487. +Report bugs to the package provider.
  41488. +_ACEOF
  41489. +ac_status=$?
  41490. +fi
  41491. +
  41492. +if test "$ac_init_help" = "recursive"; then
  41493. + # If there are subdirs, report their specific --help.
  41494. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  41495. + test -d "$ac_dir" ||
  41496. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  41497. + continue
  41498. + ac_builddir=.
  41499. +
  41500. +case "$ac_dir" in
  41501. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  41502. +*)
  41503. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  41504. + # A ".." for each directory in $ac_dir_suffix.
  41505. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  41506. + case $ac_top_builddir_sub in
  41507. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  41508. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  41509. + esac ;;
  41510. +esac
  41511. +ac_abs_top_builddir=$ac_pwd
  41512. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  41513. +# for backward compatibility:
  41514. +ac_top_builddir=$ac_top_build_prefix
  41515. +
  41516. +case $srcdir in
  41517. + .) # We are building in place.
  41518. + ac_srcdir=.
  41519. + ac_top_srcdir=$ac_top_builddir_sub
  41520. + ac_abs_top_srcdir=$ac_pwd ;;
  41521. + [\\/]* | ?:[\\/]* ) # Absolute name.
  41522. + ac_srcdir=$srcdir$ac_dir_suffix;
  41523. + ac_top_srcdir=$srcdir
  41524. + ac_abs_top_srcdir=$srcdir ;;
  41525. + *) # Relative name.
  41526. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  41527. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  41528. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  41529. +esac
  41530. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  41531. +
  41532. + cd "$ac_dir" || { ac_status=$?; continue; }
  41533. + # Check for guested configure.
  41534. + if test -f "$ac_srcdir/configure.gnu"; then
  41535. + echo &&
  41536. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  41537. + elif test -f "$ac_srcdir/configure"; then
  41538. + echo &&
  41539. + $SHELL "$ac_srcdir/configure" --help=recursive
  41540. + else
  41541. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  41542. + fi || ac_status=$?
  41543. + cd "$ac_pwd" || { ac_status=$?; break; }
  41544. + done
  41545. +fi
  41546. +
  41547. +test -n "$ac_init_help" && exit $ac_status
  41548. +if $ac_init_version; then
  41549. + cat <<\_ACEOF
  41550. +fiasco configure 1.3
  41551. +generated by GNU Autoconf 2.69
  41552. +
  41553. +Copyright (C) 2012 Free Software Foundation, Inc.
  41554. +This configure script is free software; the Free Software Foundation
  41555. +gives unlimited permission to copy, distribute and modify it.
  41556. +_ACEOF
  41557. + exit
  41558. +fi
  41559. +
  41560. +## ------------------------ ##
  41561. +## Autoconf initialization. ##
  41562. +## ------------------------ ##
  41563. +
  41564. +@%:@ ac_fn_c_try_compile LINENO
  41565. +@%:@ --------------------------
  41566. +@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  41567. +ac_fn_c_try_compile ()
  41568. +{
  41569. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  41570. + rm -f conftest.$ac_objext
  41571. + if { { ac_try="$ac_compile"
  41572. +case "(($ac_try" in
  41573. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41574. + *) ac_try_echo=$ac_try;;
  41575. +esac
  41576. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  41577. +$as_echo "$ac_try_echo"; } >&5
  41578. + (eval "$ac_compile") 2>conftest.err
  41579. + ac_status=$?
  41580. + if test -s conftest.err; then
  41581. + grep -v '^ *+' conftest.err >conftest.er1
  41582. + cat conftest.er1 >&5
  41583. + mv -f conftest.er1 conftest.err
  41584. + fi
  41585. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  41586. + test $ac_status = 0; } && {
  41587. + test -z "$ac_c_werror_flag" ||
  41588. + test ! -s conftest.err
  41589. + } && test -s conftest.$ac_objext; then :
  41590. + ac_retval=0
  41591. +else
  41592. + $as_echo "$as_me: failed program was:" >&5
  41593. +sed 's/^/| /' conftest.$ac_ext >&5
  41594. +
  41595. + ac_retval=1
  41596. +fi
  41597. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  41598. + as_fn_set_status $ac_retval
  41599. +
  41600. +} @%:@ ac_fn_c_try_compile
  41601. +
  41602. +@%:@ ac_fn_c_try_link LINENO
  41603. +@%:@ -----------------------
  41604. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
  41605. +ac_fn_c_try_link ()
  41606. +{
  41607. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  41608. + rm -f conftest.$ac_objext conftest$ac_exeext
  41609. + if { { ac_try="$ac_link"
  41610. +case "(($ac_try" in
  41611. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41612. + *) ac_try_echo=$ac_try;;
  41613. +esac
  41614. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  41615. +$as_echo "$ac_try_echo"; } >&5
  41616. + (eval "$ac_link") 2>conftest.err
  41617. + ac_status=$?
  41618. + if test -s conftest.err; then
  41619. + grep -v '^ *+' conftest.err >conftest.er1
  41620. + cat conftest.er1 >&5
  41621. + mv -f conftest.er1 conftest.err
  41622. + fi
  41623. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  41624. + test $ac_status = 0; } && {
  41625. + test -z "$ac_c_werror_flag" ||
  41626. + test ! -s conftest.err
  41627. + } && test -s conftest$ac_exeext && {
  41628. + test "$cross_compiling" = yes ||
  41629. + test -x conftest$ac_exeext
  41630. + }; then :
  41631. + ac_retval=0
  41632. +else
  41633. + $as_echo "$as_me: failed program was:" >&5
  41634. +sed 's/^/| /' conftest.$ac_ext >&5
  41635. +
  41636. + ac_retval=1
  41637. +fi
  41638. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  41639. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  41640. + # interfere with the next link command; also delete a directory that is
  41641. + # left behind by Apple's compiler. We do this before executing the actions.
  41642. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  41643. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  41644. + as_fn_set_status $ac_retval
  41645. +
  41646. +} @%:@ ac_fn_c_try_link
  41647. +
  41648. +@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  41649. +@%:@ -------------------------------------------------------
  41650. +@%:@ Tests whether HEADER exists and can be compiled using the include files in
  41651. +@%:@ INCLUDES, setting the cache variable VAR accordingly.
  41652. +ac_fn_c_check_header_compile ()
  41653. +{
  41654. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  41655. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  41656. +$as_echo_n "checking for $2... " >&6; }
  41657. +if eval \${$3+:} false; then :
  41658. + $as_echo_n "(cached) " >&6
  41659. +else
  41660. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41661. +/* end confdefs.h. */
  41662. +$4
  41663. +@%:@include <$2>
  41664. +_ACEOF
  41665. +if ac_fn_c_try_compile "$LINENO"; then :
  41666. + eval "$3=yes"
  41667. +else
  41668. + eval "$3=no"
  41669. +fi
  41670. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41671. +fi
  41672. +eval ac_res=\$$3
  41673. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  41674. +$as_echo "$ac_res" >&6; }
  41675. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  41676. +
  41677. +} @%:@ ac_fn_c_check_header_compile
  41678. +
  41679. +@%:@ ac_fn_c_try_cpp LINENO
  41680. +@%:@ ----------------------
  41681. +@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
  41682. +ac_fn_c_try_cpp ()
  41683. +{
  41684. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  41685. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  41686. +case "(($ac_try" in
  41687. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41688. + *) ac_try_echo=$ac_try;;
  41689. +esac
  41690. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  41691. +$as_echo "$ac_try_echo"; } >&5
  41692. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  41693. + ac_status=$?
  41694. + if test -s conftest.err; then
  41695. + grep -v '^ *+' conftest.err >conftest.er1
  41696. + cat conftest.er1 >&5
  41697. + mv -f conftest.er1 conftest.err
  41698. + fi
  41699. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  41700. + test $ac_status = 0; } > conftest.i && {
  41701. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  41702. + test ! -s conftest.err
  41703. + }; then :
  41704. + ac_retval=0
  41705. +else
  41706. + $as_echo "$as_me: failed program was:" >&5
  41707. +sed 's/^/| /' conftest.$ac_ext >&5
  41708. +
  41709. + ac_retval=1
  41710. +fi
  41711. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  41712. + as_fn_set_status $ac_retval
  41713. +
  41714. +} @%:@ ac_fn_c_try_cpp
  41715. +
  41716. +@%:@ ac_fn_c_try_run LINENO
  41717. +@%:@ ----------------------
  41718. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
  41719. +@%:@ that executables *can* be run.
  41720. +ac_fn_c_try_run ()
  41721. +{
  41722. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  41723. + if { { ac_try="$ac_link"
  41724. +case "(($ac_try" in
  41725. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41726. + *) ac_try_echo=$ac_try;;
  41727. +esac
  41728. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  41729. +$as_echo "$ac_try_echo"; } >&5
  41730. + (eval "$ac_link") 2>&5
  41731. + ac_status=$?
  41732. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  41733. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  41734. + { { case "(($ac_try" in
  41735. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41736. + *) ac_try_echo=$ac_try;;
  41737. +esac
  41738. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  41739. +$as_echo "$ac_try_echo"; } >&5
  41740. + (eval "$ac_try") 2>&5
  41741. + ac_status=$?
  41742. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  41743. + test $ac_status = 0; }; }; then :
  41744. + ac_retval=0
  41745. +else
  41746. + $as_echo "$as_me: program exited with status $ac_status" >&5
  41747. + $as_echo "$as_me: failed program was:" >&5
  41748. +sed 's/^/| /' conftest.$ac_ext >&5
  41749. +
  41750. + ac_retval=$ac_status
  41751. +fi
  41752. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  41753. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  41754. + as_fn_set_status $ac_retval
  41755. +
  41756. +} @%:@ ac_fn_c_try_run
  41757. +
  41758. +@%:@ ac_fn_c_check_func LINENO FUNC VAR
  41759. +@%:@ ----------------------------------
  41760. +@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
  41761. +ac_fn_c_check_func ()
  41762. +{
  41763. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  41764. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  41765. +$as_echo_n "checking for $2... " >&6; }
  41766. +if eval \${$3+:} false; then :
  41767. + $as_echo_n "(cached) " >&6
  41768. +else
  41769. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41770. +/* end confdefs.h. */
  41771. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  41772. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  41773. +#define $2 innocuous_$2
  41774. +
  41775. +/* System header to define __stub macros and hopefully few prototypes,
  41776. + which can conflict with char $2 (); below.
  41777. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  41778. + <limits.h> exists even on freestanding compilers. */
  41779. +
  41780. +#ifdef __STDC__
  41781. +# include <limits.h>
  41782. +#else
  41783. +# include <assert.h>
  41784. +#endif
  41785. +
  41786. +#undef $2
  41787. +
  41788. +/* Override any GCC internal prototype to avoid an error.
  41789. + Use char because int might match the return type of a GCC
  41790. + builtin and then its argument prototype would still apply. */
  41791. +#ifdef __cplusplus
  41792. +extern "C"
  41793. +#endif
  41794. +char $2 ();
  41795. +/* The GNU C library defines this for functions which it implements
  41796. + to always fail with ENOSYS. Some functions are actually named
  41797. + something starting with __ and the normal name is an alias. */
  41798. +#if defined __stub_$2 || defined __stub___$2
  41799. +choke me
  41800. +#endif
  41801. +
  41802. +int
  41803. +main ()
  41804. +{
  41805. +return $2 ();
  41806. + ;
  41807. + return 0;
  41808. +}
  41809. +_ACEOF
  41810. +if ac_fn_c_try_link "$LINENO"; then :
  41811. + eval "$3=yes"
  41812. +else
  41813. + eval "$3=no"
  41814. +fi
  41815. +rm -f core conftest.err conftest.$ac_objext \
  41816. + conftest$ac_exeext conftest.$ac_ext
  41817. +fi
  41818. +eval ac_res=\$$3
  41819. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  41820. +$as_echo "$ac_res" >&6; }
  41821. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  41822. +
  41823. +} @%:@ ac_fn_c_check_func
  41824. +
  41825. +@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  41826. +@%:@ --------------------------------------------
  41827. +@%:@ Tries to find the compile-time value of EXPR in a program that includes
  41828. +@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
  41829. +@%:@ computed
  41830. +ac_fn_c_compute_int ()
  41831. +{
  41832. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  41833. + if test "$cross_compiling" = yes; then
  41834. + # Depending upon the size, compute the lo and hi bounds.
  41835. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41836. +/* end confdefs.h. */
  41837. +$4
  41838. +int
  41839. +main ()
  41840. +{
  41841. +static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
  41842. +test_array @<:@0@:>@ = 0;
  41843. +return test_array @<:@0@:>@;
  41844. +
  41845. + ;
  41846. + return 0;
  41847. +}
  41848. +_ACEOF
  41849. +if ac_fn_c_try_compile "$LINENO"; then :
  41850. + ac_lo=0 ac_mid=0
  41851. + while :; do
  41852. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41853. +/* end confdefs.h. */
  41854. +$4
  41855. +int
  41856. +main ()
  41857. +{
  41858. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  41859. +test_array @<:@0@:>@ = 0;
  41860. +return test_array @<:@0@:>@;
  41861. +
  41862. + ;
  41863. + return 0;
  41864. +}
  41865. +_ACEOF
  41866. +if ac_fn_c_try_compile "$LINENO"; then :
  41867. + ac_hi=$ac_mid; break
  41868. +else
  41869. + as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  41870. + if test $ac_lo -le $ac_mid; then
  41871. + ac_lo= ac_hi=
  41872. + break
  41873. + fi
  41874. + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  41875. +fi
  41876. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41877. + done
  41878. +else
  41879. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41880. +/* end confdefs.h. */
  41881. +$4
  41882. +int
  41883. +main ()
  41884. +{
  41885. +static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
  41886. +test_array @<:@0@:>@ = 0;
  41887. +return test_array @<:@0@:>@;
  41888. +
  41889. + ;
  41890. + return 0;
  41891. +}
  41892. +_ACEOF
  41893. +if ac_fn_c_try_compile "$LINENO"; then :
  41894. + ac_hi=-1 ac_mid=-1
  41895. + while :; do
  41896. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41897. +/* end confdefs.h. */
  41898. +$4
  41899. +int
  41900. +main ()
  41901. +{
  41902. +static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
  41903. +test_array @<:@0@:>@ = 0;
  41904. +return test_array @<:@0@:>@;
  41905. +
  41906. + ;
  41907. + return 0;
  41908. +}
  41909. +_ACEOF
  41910. +if ac_fn_c_try_compile "$LINENO"; then :
  41911. + ac_lo=$ac_mid; break
  41912. +else
  41913. + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  41914. + if test $ac_mid -le $ac_hi; then
  41915. + ac_lo= ac_hi=
  41916. + break
  41917. + fi
  41918. + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  41919. +fi
  41920. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41921. + done
  41922. +else
  41923. + ac_lo= ac_hi=
  41924. +fi
  41925. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41926. +fi
  41927. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41928. +# Binary search between lo and hi bounds.
  41929. +while test "x$ac_lo" != "x$ac_hi"; do
  41930. + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  41931. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41932. +/* end confdefs.h. */
  41933. +$4
  41934. +int
  41935. +main ()
  41936. +{
  41937. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  41938. +test_array @<:@0@:>@ = 0;
  41939. +return test_array @<:@0@:>@;
  41940. +
  41941. + ;
  41942. + return 0;
  41943. +}
  41944. +_ACEOF
  41945. +if ac_fn_c_try_compile "$LINENO"; then :
  41946. + ac_hi=$ac_mid
  41947. +else
  41948. + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  41949. +fi
  41950. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41951. +done
  41952. +case $ac_lo in @%:@((
  41953. +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  41954. +'') ac_retval=1 ;;
  41955. +esac
  41956. + else
  41957. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41958. +/* end confdefs.h. */
  41959. +$4
  41960. +static long int longval () { return $2; }
  41961. +static unsigned long int ulongval () { return $2; }
  41962. +@%:@include <stdio.h>
  41963. +@%:@include <stdlib.h>
  41964. +int
  41965. +main ()
  41966. +{
  41967. +
  41968. + FILE *f = fopen ("conftest.val", "w");
  41969. + if (! f)
  41970. + return 1;
  41971. + if (($2) < 0)
  41972. + {
  41973. + long int i = longval ();
  41974. + if (i != ($2))
  41975. + return 1;
  41976. + fprintf (f, "%ld", i);
  41977. + }
  41978. + else
  41979. + {
  41980. + unsigned long int i = ulongval ();
  41981. + if (i != ($2))
  41982. + return 1;
  41983. + fprintf (f, "%lu", i);
  41984. + }
  41985. + /* Do not output a trailing newline, as this causes \r\n confusion
  41986. + on some platforms. */
  41987. + return ferror (f) || fclose (f) != 0;
  41988. +
  41989. + ;
  41990. + return 0;
  41991. +}
  41992. +_ACEOF
  41993. +if ac_fn_c_try_run "$LINENO"; then :
  41994. + echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  41995. +else
  41996. + ac_retval=1
  41997. +fi
  41998. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  41999. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  42000. +rm -f conftest.val
  42001. +
  42002. + fi
  42003. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  42004. + as_fn_set_status $ac_retval
  42005. +
  42006. +} @%:@ ac_fn_c_compute_int
  42007. +
  42008. +@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  42009. +@%:@ -------------------------------------------------------
  42010. +@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
  42011. +@%:@ the include files in INCLUDES and setting the cache variable VAR
  42012. +@%:@ accordingly.
  42013. +ac_fn_c_check_header_mongrel ()
  42014. +{
  42015. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  42016. + if eval \${$3+:} false; then :
  42017. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  42018. +$as_echo_n "checking for $2... " >&6; }
  42019. +if eval \${$3+:} false; then :
  42020. + $as_echo_n "(cached) " >&6
  42021. +fi
  42022. +eval ac_res=\$$3
  42023. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  42024. +$as_echo "$ac_res" >&6; }
  42025. +else
  42026. + # Is the header compilable?
  42027. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  42028. +$as_echo_n "checking $2 usability... " >&6; }
  42029. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42030. +/* end confdefs.h. */
  42031. +$4
  42032. +@%:@include <$2>
  42033. +_ACEOF
  42034. +if ac_fn_c_try_compile "$LINENO"; then :
  42035. + ac_header_compiler=yes
  42036. +else
  42037. + ac_header_compiler=no
  42038. +fi
  42039. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  42040. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  42041. +$as_echo "$ac_header_compiler" >&6; }
  42042. +
  42043. +# Is the header present?
  42044. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  42045. +$as_echo_n "checking $2 presence... " >&6; }
  42046. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42047. +/* end confdefs.h. */
  42048. +@%:@include <$2>
  42049. +_ACEOF
  42050. +if ac_fn_c_try_cpp "$LINENO"; then :
  42051. + ac_header_preproc=yes
  42052. +else
  42053. + ac_header_preproc=no
  42054. +fi
  42055. +rm -f conftest.err conftest.i conftest.$ac_ext
  42056. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  42057. +$as_echo "$ac_header_preproc" >&6; }
  42058. +
  42059. +# So? What about this header?
  42060. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  42061. + yes:no: )
  42062. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  42063. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  42064. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  42065. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  42066. + ;;
  42067. + no:yes:* )
  42068. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  42069. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  42070. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  42071. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  42072. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  42073. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  42074. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  42075. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  42076. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  42077. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  42078. + ;;
  42079. +esac
  42080. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  42081. +$as_echo_n "checking for $2... " >&6; }
  42082. +if eval \${$3+:} false; then :
  42083. + $as_echo_n "(cached) " >&6
  42084. +else
  42085. + eval "$3=\$ac_header_compiler"
  42086. +fi
  42087. +eval ac_res=\$$3
  42088. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  42089. +$as_echo "$ac_res" >&6; }
  42090. +fi
  42091. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  42092. +
  42093. +} @%:@ ac_fn_c_check_header_mongrel
  42094. +
  42095. +@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  42096. +@%:@ -------------------------------------------
  42097. +@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
  42098. +@%:@ variable VAR accordingly.
  42099. +ac_fn_c_check_type ()
  42100. +{
  42101. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  42102. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  42103. +$as_echo_n "checking for $2... " >&6; }
  42104. +if eval \${$3+:} false; then :
  42105. + $as_echo_n "(cached) " >&6
  42106. +else
  42107. + eval "$3=no"
  42108. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42109. +/* end confdefs.h. */
  42110. +$4
  42111. +int
  42112. +main ()
  42113. +{
  42114. +if (sizeof ($2))
  42115. + return 0;
  42116. + ;
  42117. + return 0;
  42118. +}
  42119. +_ACEOF
  42120. +if ac_fn_c_try_compile "$LINENO"; then :
  42121. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42122. +/* end confdefs.h. */
  42123. +$4
  42124. +int
  42125. +main ()
  42126. +{
  42127. +if (sizeof (($2)))
  42128. + return 0;
  42129. + ;
  42130. + return 0;
  42131. +}
  42132. +_ACEOF
  42133. +if ac_fn_c_try_compile "$LINENO"; then :
  42134. +
  42135. +else
  42136. + eval "$3=yes"
  42137. +fi
  42138. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  42139. +fi
  42140. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  42141. +fi
  42142. +eval ac_res=\$$3
  42143. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  42144. +$as_echo "$ac_res" >&6; }
  42145. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  42146. +
  42147. +} @%:@ ac_fn_c_check_type
  42148. +cat >config.log <<_ACEOF
  42149. +This file contains any messages produced by compilers while
  42150. +running configure, to aid debugging if configure makes a mistake.
  42151. +
  42152. +It was created by fiasco $as_me 1.3, which was
  42153. +generated by GNU Autoconf 2.69. Invocation command line was
  42154. +
  42155. + $ $0 $@
  42156. +
  42157. +_ACEOF
  42158. +exec 5>>config.log
  42159. +{
  42160. +cat <<_ASUNAME
  42161. +## --------- ##
  42162. +## Platform. ##
  42163. +## --------- ##
  42164. +
  42165. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  42166. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  42167. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  42168. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  42169. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  42170. +
  42171. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  42172. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  42173. +
  42174. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  42175. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  42176. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  42177. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  42178. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  42179. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  42180. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  42181. +
  42182. +_ASUNAME
  42183. +
  42184. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42185. +for as_dir in $PATH
  42186. +do
  42187. + IFS=$as_save_IFS
  42188. + test -z "$as_dir" && as_dir=.
  42189. + $as_echo "PATH: $as_dir"
  42190. + done
  42191. +IFS=$as_save_IFS
  42192. +
  42193. +} >&5
  42194. +
  42195. +cat >&5 <<_ACEOF
  42196. +
  42197. +
  42198. +## ----------- ##
  42199. +## Core tests. ##
  42200. +## ----------- ##
  42201. +
  42202. +_ACEOF
  42203. +
  42204. +
  42205. +# Keep a trace of the command line.
  42206. +# Strip out --no-create and --no-recursion so they do not pile up.
  42207. +# Strip out --silent because we don't want to record it for future runs.
  42208. +# Also quote any args containing shell meta-characters.
  42209. +# Make two passes to allow for proper duplicate-argument suppression.
  42210. +ac_configure_args=
  42211. +ac_configure_args0=
  42212. +ac_configure_args1=
  42213. +ac_must_keep_next=false
  42214. +for ac_pass in 1 2
  42215. +do
  42216. + for ac_arg
  42217. + do
  42218. + case $ac_arg in
  42219. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  42220. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  42221. + | -silent | --silent | --silen | --sile | --sil)
  42222. + continue ;;
  42223. + *\'*)
  42224. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  42225. + esac
  42226. + case $ac_pass in
  42227. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  42228. + 2)
  42229. + as_fn_append ac_configure_args1 " '$ac_arg'"
  42230. + if test $ac_must_keep_next = true; then
  42231. + ac_must_keep_next=false # Got value, back to normal.
  42232. + else
  42233. + case $ac_arg in
  42234. + *=* | --config-cache | -C | -disable-* | --disable-* \
  42235. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  42236. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  42237. + | -with-* | --with-* | -without-* | --without-* | --x)
  42238. + case "$ac_configure_args0 " in
  42239. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  42240. + esac
  42241. + ;;
  42242. + -* ) ac_must_keep_next=true ;;
  42243. + esac
  42244. + fi
  42245. + as_fn_append ac_configure_args " '$ac_arg'"
  42246. + ;;
  42247. + esac
  42248. + done
  42249. +done
  42250. +{ ac_configure_args0=; unset ac_configure_args0;}
  42251. +{ ac_configure_args1=; unset ac_configure_args1;}
  42252. +
  42253. +# When interrupted or exit'd, cleanup temporary files, and complete
  42254. +# config.log. We remove comments because anyway the quotes in there
  42255. +# would cause problems or look ugly.
  42256. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  42257. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  42258. +trap 'exit_status=$?
  42259. + # Save into config.log some information that might help in debugging.
  42260. + {
  42261. + echo
  42262. +
  42263. + $as_echo "## ---------------- ##
  42264. +## Cache variables. ##
  42265. +## ---------------- ##"
  42266. + echo
  42267. + # The following way of writing the cache mishandles newlines in values,
  42268. +(
  42269. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  42270. + eval ac_val=\$$ac_var
  42271. + case $ac_val in #(
  42272. + *${as_nl}*)
  42273. + case $ac_var in #(
  42274. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  42275. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  42276. + esac
  42277. + case $ac_var in #(
  42278. + _ | IFS | as_nl) ;; #(
  42279. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  42280. + *) { eval $ac_var=; unset $ac_var;} ;;
  42281. + esac ;;
  42282. + esac
  42283. + done
  42284. + (set) 2>&1 |
  42285. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  42286. + *${as_nl}ac_space=\ *)
  42287. + sed -n \
  42288. + "s/'\''/'\''\\\\'\'''\''/g;
  42289. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  42290. + ;; #(
  42291. + *)
  42292. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  42293. + ;;
  42294. + esac |
  42295. + sort
  42296. +)
  42297. + echo
  42298. +
  42299. + $as_echo "## ----------------- ##
  42300. +## Output variables. ##
  42301. +## ----------------- ##"
  42302. + echo
  42303. + for ac_var in $ac_subst_vars
  42304. + do
  42305. + eval ac_val=\$$ac_var
  42306. + case $ac_val in
  42307. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  42308. + esac
  42309. + $as_echo "$ac_var='\''$ac_val'\''"
  42310. + done | sort
  42311. + echo
  42312. +
  42313. + if test -n "$ac_subst_files"; then
  42314. + $as_echo "## ------------------- ##
  42315. +## File substitutions. ##
  42316. +## ------------------- ##"
  42317. + echo
  42318. + for ac_var in $ac_subst_files
  42319. + do
  42320. + eval ac_val=\$$ac_var
  42321. + case $ac_val in
  42322. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  42323. + esac
  42324. + $as_echo "$ac_var='\''$ac_val'\''"
  42325. + done | sort
  42326. + echo
  42327. + fi
  42328. +
  42329. + if test -s confdefs.h; then
  42330. + $as_echo "## ----------- ##
  42331. +## confdefs.h. ##
  42332. +## ----------- ##"
  42333. + echo
  42334. + cat confdefs.h
  42335. + echo
  42336. + fi
  42337. + test "$ac_signal" != 0 &&
  42338. + $as_echo "$as_me: caught signal $ac_signal"
  42339. + $as_echo "$as_me: exit $exit_status"
  42340. + } >&5
  42341. + rm -f core *.core core.conftest.* &&
  42342. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  42343. + exit $exit_status
  42344. +' 0
  42345. +for ac_signal in 1 2 13 15; do
  42346. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  42347. +done
  42348. +ac_signal=0
  42349. +
  42350. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  42351. +rm -f -r conftest* confdefs.h
  42352. +
  42353. +$as_echo "/* confdefs.h */" > confdefs.h
  42354. +
  42355. +# Predefined preprocessor variables.
  42356. +
  42357. +cat >>confdefs.h <<_ACEOF
  42358. +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
  42359. +_ACEOF
  42360. +
  42361. +cat >>confdefs.h <<_ACEOF
  42362. +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  42363. +_ACEOF
  42364. +
  42365. +cat >>confdefs.h <<_ACEOF
  42366. +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  42367. +_ACEOF
  42368. +
  42369. +cat >>confdefs.h <<_ACEOF
  42370. +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
  42371. +_ACEOF
  42372. +
  42373. +cat >>confdefs.h <<_ACEOF
  42374. +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  42375. +_ACEOF
  42376. +
  42377. +cat >>confdefs.h <<_ACEOF
  42378. +@%:@define PACKAGE_URL "$PACKAGE_URL"
  42379. +_ACEOF
  42380. +
  42381. +
  42382. +# Let the site file select an alternate cache file if it wants to.
  42383. +# Prefer an explicitly selected file to automatically selected ones.
  42384. +ac_site_file1=NONE
  42385. +ac_site_file2=NONE
  42386. +if test -n "$CONFIG_SITE"; then
  42387. + # We do not want a PATH search for config.site.
  42388. + case $CONFIG_SITE in @%:@((
  42389. + -*) ac_site_file1=./$CONFIG_SITE;;
  42390. + */*) ac_site_file1=$CONFIG_SITE;;
  42391. + *) ac_site_file1=./$CONFIG_SITE;;
  42392. + esac
  42393. +elif test "x$prefix" != xNONE; then
  42394. + ac_site_file1=$prefix/share/config.site
  42395. + ac_site_file2=$prefix/etc/config.site
  42396. +else
  42397. + ac_site_file1=$ac_default_prefix/share/config.site
  42398. + ac_site_file2=$ac_default_prefix/etc/config.site
  42399. +fi
  42400. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  42401. +do
  42402. + test "x$ac_site_file" = xNONE && continue
  42403. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  42404. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  42405. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  42406. + sed 's/^/| /' "$ac_site_file" >&5
  42407. + . "$ac_site_file" \
  42408. + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  42409. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  42410. +as_fn_error $? "failed to load site script $ac_site_file
  42411. +See \`config.log' for more details" "$LINENO" 5; }
  42412. + fi
  42413. +done
  42414. +
  42415. +if test -r "$cache_file"; then
  42416. + # Some versions of bash will fail to source /dev/null (special files
  42417. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  42418. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  42419. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  42420. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  42421. + case $cache_file in
  42422. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  42423. + *) . "./$cache_file";;
  42424. + esac
  42425. + fi
  42426. +else
  42427. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  42428. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  42429. + >$cache_file
  42430. +fi
  42431. +
  42432. +# Check that the precious variables saved in the cache have kept the same
  42433. +# value.
  42434. +ac_cache_corrupted=false
  42435. +for ac_var in $ac_precious_vars; do
  42436. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  42437. + eval ac_new_set=\$ac_env_${ac_var}_set
  42438. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  42439. + eval ac_new_val=\$ac_env_${ac_var}_value
  42440. + case $ac_old_set,$ac_new_set in
  42441. + set,)
  42442. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  42443. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  42444. + ac_cache_corrupted=: ;;
  42445. + ,set)
  42446. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  42447. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  42448. + ac_cache_corrupted=: ;;
  42449. + ,);;
  42450. + *)
  42451. + if test "x$ac_old_val" != "x$ac_new_val"; then
  42452. + # differences in whitespace do not lead to failure.
  42453. + ac_old_val_w=`echo x $ac_old_val`
  42454. + ac_new_val_w=`echo x $ac_new_val`
  42455. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  42456. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  42457. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  42458. + ac_cache_corrupted=:
  42459. + else
  42460. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  42461. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  42462. + eval $ac_var=\$ac_old_val
  42463. + fi
  42464. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  42465. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  42466. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  42467. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  42468. + fi;;
  42469. + esac
  42470. + # Pass precious variables to config.status.
  42471. + if test "$ac_new_set" = set; then
  42472. + case $ac_new_val in
  42473. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  42474. + *) ac_arg=$ac_var=$ac_new_val ;;
  42475. + esac
  42476. + case " $ac_configure_args " in
  42477. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  42478. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  42479. + esac
  42480. + fi
  42481. +done
  42482. +if $ac_cache_corrupted; then
  42483. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  42484. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  42485. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  42486. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  42487. + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  42488. +fi
  42489. +## -------------------- ##
  42490. +## Main body of script. ##
  42491. +## -------------------- ##
  42492. +
  42493. +ac_ext=c
  42494. +ac_cpp='$CPP $CPPFLAGS'
  42495. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  42496. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  42497. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  42498. +
  42499. +
  42500. +
  42501. +am__api_version='1.16'
  42502. +
  42503. +ac_aux_dir=
  42504. +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  42505. + if test -f "$ac_dir/install-sh"; then
  42506. + ac_aux_dir=$ac_dir
  42507. + ac_install_sh="$ac_aux_dir/install-sh -c"
  42508. + break
  42509. + elif test -f "$ac_dir/install.sh"; then
  42510. + ac_aux_dir=$ac_dir
  42511. + ac_install_sh="$ac_aux_dir/install.sh -c"
  42512. + break
  42513. + elif test -f "$ac_dir/shtool"; then
  42514. + ac_aux_dir=$ac_dir
  42515. + ac_install_sh="$ac_aux_dir/shtool install -c"
  42516. + break
  42517. + fi
  42518. +done
  42519. +if test -z "$ac_aux_dir"; then
  42520. + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  42521. +fi
  42522. +
  42523. +# These three variables are undocumented and unsupported,
  42524. +# and are intended to be withdrawn in a future Autoconf release.
  42525. +# They can cause serious problems if a builder's source tree is in a directory
  42526. +# whose full name contains unusual characters.
  42527. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  42528. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  42529. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  42530. +
  42531. +
  42532. +# Find a good install program. We prefer a C program (faster),
  42533. +# so one script is as good as another. But avoid the broken or
  42534. +# incompatible versions:
  42535. +# SysV /etc/install, /usr/sbin/install
  42536. +# SunOS /usr/etc/install
  42537. +# IRIX /sbin/install
  42538. +# AIX /bin/install
  42539. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  42540. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  42541. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  42542. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  42543. +# OS/2's system install, which has a completely different semantic
  42544. +# ./install, which can be erroneously created by make from ./install.sh.
  42545. +# Reject install programs that cannot install multiple files.
  42546. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  42547. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  42548. +if test -z "$INSTALL"; then
  42549. +if ${ac_cv_path_install+:} false; then :
  42550. + $as_echo_n "(cached) " >&6
  42551. +else
  42552. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42553. +for as_dir in $PATH
  42554. +do
  42555. + IFS=$as_save_IFS
  42556. + test -z "$as_dir" && as_dir=.
  42557. + # Account for people who put trailing slashes in PATH elements.
  42558. +case $as_dir/ in @%:@((
  42559. + ./ | .// | /[cC]/* | \
  42560. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  42561. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  42562. + /usr/ucb/* ) ;;
  42563. + *)
  42564. + # OSF1 and SCO ODT 3.0 have their own names for install.
  42565. + # Don't use installbsd from OSF since it installs stuff as root
  42566. + # by default.
  42567. + for ac_prog in ginstall scoinst install; do
  42568. + for ac_exec_ext in '' $ac_executable_extensions; do
  42569. + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  42570. + if test $ac_prog = install &&
  42571. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  42572. + # AIX install. It has an incompatible calling convention.
  42573. + :
  42574. + elif test $ac_prog = install &&
  42575. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  42576. + # program-specific install script used by HP pwplus--don't use.
  42577. + :
  42578. + else
  42579. + rm -rf conftest.one conftest.two conftest.dir
  42580. + echo one > conftest.one
  42581. + echo two > conftest.two
  42582. + mkdir conftest.dir
  42583. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  42584. + test -s conftest.one && test -s conftest.two &&
  42585. + test -s conftest.dir/conftest.one &&
  42586. + test -s conftest.dir/conftest.two
  42587. + then
  42588. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  42589. + break 3
  42590. + fi
  42591. + fi
  42592. + fi
  42593. + done
  42594. + done
  42595. + ;;
  42596. +esac
  42597. +
  42598. + done
  42599. +IFS=$as_save_IFS
  42600. +
  42601. +rm -rf conftest.one conftest.two conftest.dir
  42602. +
  42603. +fi
  42604. + if test "${ac_cv_path_install+set}" = set; then
  42605. + INSTALL=$ac_cv_path_install
  42606. + else
  42607. + # As a last resort, use the slow shell script. Don't cache a
  42608. + # value for INSTALL within a source directory, because that will
  42609. + # break other packages using the cache if that directory is
  42610. + # removed, or if the value is a relative name.
  42611. + INSTALL=$ac_install_sh
  42612. + fi
  42613. +fi
  42614. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  42615. +$as_echo "$INSTALL" >&6; }
  42616. +
  42617. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  42618. +# It thinks the first close brace ends the variable substitution.
  42619. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  42620. +
  42621. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  42622. +
  42623. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  42624. +
  42625. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  42626. +$as_echo_n "checking whether build environment is sane... " >&6; }
  42627. +# Reject unsafe characters in $srcdir or the absolute working directory
  42628. +# name. Accept space and tab only in the latter.
  42629. +am_lf='
  42630. +'
  42631. +case `pwd` in
  42632. + *[\\\"\#\$\&\'\`$am_lf]*)
  42633. + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  42634. +esac
  42635. +case $srcdir in
  42636. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  42637. + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  42638. +esac
  42639. +
  42640. +# Do 'set' in a subshell so we don't clobber the current shell's
  42641. +# arguments. Must try -L first in case configure is actually a
  42642. +# symlink; some systems play weird games with the mod time of symlinks
  42643. +# (eg FreeBSD returns the mod time of the symlink's containing
  42644. +# directory).
  42645. +if (
  42646. + am_has_slept=no
  42647. + for am_try in 1 2; do
  42648. + echo "timestamp, slept: $am_has_slept" > conftest.file
  42649. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  42650. + if test "$*" = "X"; then
  42651. + # -L didn't work.
  42652. + set X `ls -t "$srcdir/configure" conftest.file`
  42653. + fi
  42654. + if test "$*" != "X $srcdir/configure conftest.file" \
  42655. + && test "$*" != "X conftest.file $srcdir/configure"; then
  42656. +
  42657. + # If neither matched, then we have a broken ls. This can happen
  42658. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  42659. + # broken ls alias from the environment. This has actually
  42660. + # happened. Such a system could not be considered "sane".
  42661. + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  42662. + alias in your environment" "$LINENO" 5
  42663. + fi
  42664. + if test "$2" = conftest.file || test $am_try -eq 2; then
  42665. + break
  42666. + fi
  42667. + # Just in case.
  42668. + sleep 1
  42669. + am_has_slept=yes
  42670. + done
  42671. + test "$2" = conftest.file
  42672. + )
  42673. +then
  42674. + # Ok.
  42675. + :
  42676. +else
  42677. + as_fn_error $? "newly created file is older than distributed files!
  42678. +Check your system clock" "$LINENO" 5
  42679. +fi
  42680. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  42681. +$as_echo "yes" >&6; }
  42682. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  42683. +# generated files are strictly newer.
  42684. +am_sleep_pid=
  42685. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  42686. + ( sleep 1 ) &
  42687. + am_sleep_pid=$!
  42688. +fi
  42689. +
  42690. +rm -f conftest.file
  42691. +
  42692. +test "$program_prefix" != NONE &&
  42693. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  42694. +# Use a double $ so make ignores it.
  42695. +test "$program_suffix" != NONE &&
  42696. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  42697. +# Double any \ or $.
  42698. +# By default was `s,x,x', remove it if useless.
  42699. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  42700. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  42701. +
  42702. +# Expand $ac_aux_dir to an absolute path.
  42703. +am_aux_dir=`cd "$ac_aux_dir" && pwd`
  42704. +
  42705. +if test x"${MISSING+set}" != xset; then
  42706. + case $am_aux_dir in
  42707. + *\ * | *\ *)
  42708. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  42709. + *)
  42710. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  42711. + esac
  42712. +fi
  42713. +# Use eval to expand $SHELL
  42714. +if eval "$MISSING --is-lightweight"; then
  42715. + am_missing_run="$MISSING "
  42716. +else
  42717. + am_missing_run=
  42718. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  42719. +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  42720. +fi
  42721. +
  42722. +if test x"${install_sh+set}" != xset; then
  42723. + case $am_aux_dir in
  42724. + *\ * | *\ *)
  42725. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  42726. + *)
  42727. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  42728. + esac
  42729. +fi
  42730. +
  42731. +# Installed binaries are usually stripped using 'strip' when the user
  42732. +# run "make install-strip". However 'strip' might not be the right
  42733. +# tool to use in cross-compilation environments, therefore Automake
  42734. +# will honor the 'STRIP' environment variable to overrule this program.
  42735. +if test "$cross_compiling" != no; then
  42736. + if test -n "$ac_tool_prefix"; then
  42737. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  42738. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  42739. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  42740. +$as_echo_n "checking for $ac_word... " >&6; }
  42741. +if ${ac_cv_prog_STRIP+:} false; then :
  42742. + $as_echo_n "(cached) " >&6
  42743. +else
  42744. + if test -n "$STRIP"; then
  42745. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  42746. +else
  42747. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42748. +for as_dir in $PATH
  42749. +do
  42750. + IFS=$as_save_IFS
  42751. + test -z "$as_dir" && as_dir=.
  42752. + for ac_exec_ext in '' $ac_executable_extensions; do
  42753. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  42754. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  42755. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  42756. + break 2
  42757. + fi
  42758. +done
  42759. + done
  42760. +IFS=$as_save_IFS
  42761. +
  42762. +fi
  42763. +fi
  42764. +STRIP=$ac_cv_prog_STRIP
  42765. +if test -n "$STRIP"; then
  42766. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  42767. +$as_echo "$STRIP" >&6; }
  42768. +else
  42769. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  42770. +$as_echo "no" >&6; }
  42771. +fi
  42772. +
  42773. +
  42774. +fi
  42775. +if test -z "$ac_cv_prog_STRIP"; then
  42776. + ac_ct_STRIP=$STRIP
  42777. + # Extract the first word of "strip", so it can be a program name with args.
  42778. +set dummy strip; ac_word=$2
  42779. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  42780. +$as_echo_n "checking for $ac_word... " >&6; }
  42781. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  42782. + $as_echo_n "(cached) " >&6
  42783. +else
  42784. + if test -n "$ac_ct_STRIP"; then
  42785. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  42786. +else
  42787. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42788. +for as_dir in $PATH
  42789. +do
  42790. + IFS=$as_save_IFS
  42791. + test -z "$as_dir" && as_dir=.
  42792. + for ac_exec_ext in '' $ac_executable_extensions; do
  42793. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  42794. + ac_cv_prog_ac_ct_STRIP="strip"
  42795. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  42796. + break 2
  42797. + fi
  42798. +done
  42799. + done
  42800. +IFS=$as_save_IFS
  42801. +
  42802. +fi
  42803. +fi
  42804. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  42805. +if test -n "$ac_ct_STRIP"; then
  42806. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  42807. +$as_echo "$ac_ct_STRIP" >&6; }
  42808. +else
  42809. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  42810. +$as_echo "no" >&6; }
  42811. +fi
  42812. +
  42813. + if test "x$ac_ct_STRIP" = x; then
  42814. + STRIP=":"
  42815. + else
  42816. + case $cross_compiling:$ac_tool_warned in
  42817. +yes:)
  42818. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  42819. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  42820. +ac_tool_warned=yes ;;
  42821. +esac
  42822. + STRIP=$ac_ct_STRIP
  42823. + fi
  42824. +else
  42825. + STRIP="$ac_cv_prog_STRIP"
  42826. +fi
  42827. +
  42828. +fi
  42829. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  42830. +
  42831. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  42832. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  42833. +if test -z "$MKDIR_P"; then
  42834. + if ${ac_cv_path_mkdir+:} false; then :
  42835. + $as_echo_n "(cached) " >&6
  42836. +else
  42837. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42838. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  42839. +do
  42840. + IFS=$as_save_IFS
  42841. + test -z "$as_dir" && as_dir=.
  42842. + for ac_prog in mkdir gmkdir; do
  42843. + for ac_exec_ext in '' $ac_executable_extensions; do
  42844. + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  42845. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  42846. + 'mkdir (GNU coreutils) '* | \
  42847. + 'mkdir (coreutils) '* | \
  42848. + 'mkdir (fileutils) '4.1*)
  42849. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  42850. + break 3;;
  42851. + esac
  42852. + done
  42853. + done
  42854. + done
  42855. +IFS=$as_save_IFS
  42856. +
  42857. +fi
  42858. +
  42859. + test -d ./--version && rmdir ./--version
  42860. + if test "${ac_cv_path_mkdir+set}" = set; then
  42861. + MKDIR_P="$ac_cv_path_mkdir -p"
  42862. + else
  42863. + # As a last resort, use the slow shell script. Don't cache a
  42864. + # value for MKDIR_P within a source directory, because that will
  42865. + # break other packages using the cache if that directory is
  42866. + # removed, or if the value is a relative name.
  42867. + MKDIR_P="$ac_install_sh -d"
  42868. + fi
  42869. +fi
  42870. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  42871. +$as_echo "$MKDIR_P" >&6; }
  42872. +
  42873. +for ac_prog in gawk mawk nawk awk
  42874. +do
  42875. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  42876. +set dummy $ac_prog; ac_word=$2
  42877. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  42878. +$as_echo_n "checking for $ac_word... " >&6; }
  42879. +if ${ac_cv_prog_AWK+:} false; then :
  42880. + $as_echo_n "(cached) " >&6
  42881. +else
  42882. + if test -n "$AWK"; then
  42883. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  42884. +else
  42885. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42886. +for as_dir in $PATH
  42887. +do
  42888. + IFS=$as_save_IFS
  42889. + test -z "$as_dir" && as_dir=.
  42890. + for ac_exec_ext in '' $ac_executable_extensions; do
  42891. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  42892. + ac_cv_prog_AWK="$ac_prog"
  42893. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  42894. + break 2
  42895. + fi
  42896. +done
  42897. + done
  42898. +IFS=$as_save_IFS
  42899. +
  42900. +fi
  42901. +fi
  42902. +AWK=$ac_cv_prog_AWK
  42903. +if test -n "$AWK"; then
  42904. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  42905. +$as_echo "$AWK" >&6; }
  42906. +else
  42907. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  42908. +$as_echo "no" >&6; }
  42909. +fi
  42910. +
  42911. +
  42912. + test -n "$AWK" && break
  42913. +done
  42914. +
  42915. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  42916. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  42917. +set x ${MAKE-make}
  42918. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  42919. +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  42920. + $as_echo_n "(cached) " >&6
  42921. +else
  42922. + cat >conftest.make <<\_ACEOF
  42923. +SHELL = /bin/sh
  42924. +all:
  42925. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  42926. +_ACEOF
  42927. +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  42928. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  42929. + *@@@%%%=?*=@@@%%%*)
  42930. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  42931. + *)
  42932. + eval ac_cv_prog_make_${ac_make}_set=no;;
  42933. +esac
  42934. +rm -f conftest.make
  42935. +fi
  42936. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  42937. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  42938. +$as_echo "yes" >&6; }
  42939. + SET_MAKE=
  42940. +else
  42941. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  42942. +$as_echo "no" >&6; }
  42943. + SET_MAKE="MAKE=${MAKE-make}"
  42944. +fi
  42945. +
  42946. +rm -rf .tst 2>/dev/null
  42947. +mkdir .tst 2>/dev/null
  42948. +if test -d .tst; then
  42949. + am__leading_dot=.
  42950. +else
  42951. + am__leading_dot=_
  42952. +fi
  42953. +rmdir .tst 2>/dev/null
  42954. +
  42955. +@%:@ Check whether --enable-silent-rules was given.
  42956. +if test "${enable_silent_rules+set}" = set; then :
  42957. + enableval=$enable_silent_rules;
  42958. +fi
  42959. +
  42960. +case $enable_silent_rules in @%:@ (((
  42961. + yes) AM_DEFAULT_VERBOSITY=0;;
  42962. + no) AM_DEFAULT_VERBOSITY=1;;
  42963. + *) AM_DEFAULT_VERBOSITY=1;;
  42964. +esac
  42965. +am_make=${MAKE-make}
  42966. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  42967. +$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  42968. +if ${am_cv_make_support_nested_variables+:} false; then :
  42969. + $as_echo_n "(cached) " >&6
  42970. +else
  42971. + if $as_echo 'TRUE=$(BAR$(V))
  42972. +BAR0=false
  42973. +BAR1=true
  42974. +V=1
  42975. +am__doit:
  42976. + @$(TRUE)
  42977. +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  42978. + am_cv_make_support_nested_variables=yes
  42979. +else
  42980. + am_cv_make_support_nested_variables=no
  42981. +fi
  42982. +fi
  42983. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  42984. +$as_echo "$am_cv_make_support_nested_variables" >&6; }
  42985. +if test $am_cv_make_support_nested_variables = yes; then
  42986. + AM_V='$(V)'
  42987. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  42988. +else
  42989. + AM_V=$AM_DEFAULT_VERBOSITY
  42990. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  42991. +fi
  42992. +AM_BACKSLASH='\'
  42993. +
  42994. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  42995. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  42996. + # is not polluted with repeated "-I."
  42997. + am__isrc=' -I$(srcdir)'
  42998. + # test to see if srcdir already configured
  42999. + if test -f $srcdir/config.status; then
  43000. + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  43001. + fi
  43002. +fi
  43003. +
  43004. +# test whether we have cygpath
  43005. +if test -z "$CYGPATH_W"; then
  43006. + if (cygpath --version) >/dev/null 2>/dev/null; then
  43007. + CYGPATH_W='cygpath -w'
  43008. + else
  43009. + CYGPATH_W=echo
  43010. + fi
  43011. +fi
  43012. +
  43013. +
  43014. +# Define the identity of the package.
  43015. + PACKAGE='fiasco'
  43016. + VERSION='1.3'
  43017. +
  43018. +
  43019. +cat >>confdefs.h <<_ACEOF
  43020. +@%:@define PACKAGE "$PACKAGE"
  43021. +_ACEOF
  43022. +
  43023. +
  43024. +cat >>confdefs.h <<_ACEOF
  43025. +@%:@define VERSION "$VERSION"
  43026. +_ACEOF
  43027. +
  43028. +# Some tools Automake needs.
  43029. +
  43030. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  43031. +
  43032. +
  43033. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  43034. +
  43035. +
  43036. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  43037. +
  43038. +
  43039. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  43040. +
  43041. +
  43042. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  43043. +
  43044. +# For better backward compatibility. To be removed once Automake 1.9.x
  43045. +# dies out for good. For more background, see:
  43046. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  43047. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  43048. +mkdir_p='$(MKDIR_P)'
  43049. +
  43050. +# We need awk for the "check" target (and possibly the TAP driver). The
  43051. +# system "awk" is bad on some platforms.
  43052. +# Always define AMTAR for backward compatibility. Yes, it's still used
  43053. +# in the wild :-( We should find a proper way to deprecate it ...
  43054. +AMTAR='$${TAR-tar}'
  43055. +
  43056. +
  43057. +# We'll loop over all known methods to create a tar archive until one works.
  43058. +_am_tools='gnutar pax cpio none'
  43059. +
  43060. +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  43061. +
  43062. +
  43063. +
  43064. +
  43065. +
  43066. +
  43067. +# POSIX will say in a future version that running "rm -f" with no argument
  43068. +# is OK; and we want to be able to make that assumption in our Makefile
  43069. +# recipes. So use an aggressive probe to check that the usage we want is
  43070. +# actually supported "in the wild" to an acceptable degree.
  43071. +# See automake bug#10828.
  43072. +# To make any issue more visible, cause the running configure to be aborted
  43073. +# by default if the 'rm' program in use doesn't match our expectations; the
  43074. +# user can still override this though.
  43075. +if rm -f && rm -fr && rm -rf; then : OK; else
  43076. + cat >&2 <<'END'
  43077. +Oops!
  43078. +
  43079. +Your 'rm' program seems unable to run without file operands specified
  43080. +on the command line, even when the '-f' option is present. This is contrary
  43081. +to the behaviour of most rm programs out there, and not conforming with
  43082. +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  43083. +
  43084. +Please tell bug-automake@gnu.org about your system, including the value
  43085. +of your $PATH and any error possibly output before this message. This
  43086. +can help us improve future automake versions.
  43087. +
  43088. +END
  43089. + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  43090. + echo 'Configuration will proceed anyway, since you have set the' >&2
  43091. + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  43092. + echo >&2
  43093. + else
  43094. + cat >&2 <<'END'
  43095. +Aborting the configuration process, to ensure you take notice of the issue.
  43096. +
  43097. +You can download and install GNU coreutils to get an 'rm' implementation
  43098. +that behaves properly: <https://www.gnu.org/software/coreutils/>.
  43099. +
  43100. +If you want to complete the configuration process using your problematic
  43101. +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  43102. +to "yes", and re-run configure.
  43103. +
  43104. +END
  43105. + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  43106. + fi
  43107. +fi
  43108. +
  43109. +ac_config_headers="$ac_config_headers config.h"
  43110. +
  43111. +
  43112. +# Important programs:
  43113. +case `pwd` in
  43114. + *\ * | *\ *)
  43115. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  43116. +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  43117. +esac
  43118. +
  43119. +
  43120. +
  43121. +macro_version='2.4.6'
  43122. +macro_revision='2.4.6'
  43123. +
  43124. +
  43125. +
  43126. +
  43127. +
  43128. +
  43129. +
  43130. +
  43131. +
  43132. +
  43133. +
  43134. +
  43135. +
  43136. +ltmain=$ac_aux_dir/ltmain.sh
  43137. +
  43138. +# Make sure we can run config.sub.
  43139. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  43140. + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  43141. +
  43142. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  43143. +$as_echo_n "checking build system type... " >&6; }
  43144. +if ${ac_cv_build+:} false; then :
  43145. + $as_echo_n "(cached) " >&6
  43146. +else
  43147. + ac_build_alias=$build_alias
  43148. +test "x$ac_build_alias" = x &&
  43149. + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  43150. +test "x$ac_build_alias" = x &&
  43151. + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  43152. +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  43153. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  43154. +
  43155. +fi
  43156. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  43157. +$as_echo "$ac_cv_build" >&6; }
  43158. +case $ac_cv_build in
  43159. +*-*-*) ;;
  43160. +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  43161. +esac
  43162. +build=$ac_cv_build
  43163. +ac_save_IFS=$IFS; IFS='-'
  43164. +set x $ac_cv_build
  43165. +shift
  43166. +build_cpu=$1
  43167. +build_vendor=$2
  43168. +shift; shift
  43169. +# Remember, the first character of IFS is used to create $*,
  43170. +# except with old shells:
  43171. +build_os=$*
  43172. +IFS=$ac_save_IFS
  43173. +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  43174. +
  43175. +
  43176. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  43177. +$as_echo_n "checking host system type... " >&6; }
  43178. +if ${ac_cv_host+:} false; then :
  43179. + $as_echo_n "(cached) " >&6
  43180. +else
  43181. + if test "x$host_alias" = x; then
  43182. + ac_cv_host=$ac_cv_build
  43183. +else
  43184. + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  43185. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  43186. +fi
  43187. +
  43188. +fi
  43189. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  43190. +$as_echo "$ac_cv_host" >&6; }
  43191. +case $ac_cv_host in
  43192. +*-*-*) ;;
  43193. +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  43194. +esac
  43195. +host=$ac_cv_host
  43196. +ac_save_IFS=$IFS; IFS='-'
  43197. +set x $ac_cv_host
  43198. +shift
  43199. +host_cpu=$1
  43200. +host_vendor=$2
  43201. +shift; shift
  43202. +# Remember, the first character of IFS is used to create $*,
  43203. +# except with old shells:
  43204. +host_os=$*
  43205. +IFS=$ac_save_IFS
  43206. +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  43207. +
  43208. +
  43209. +# Backslashify metacharacters that are still active within
  43210. +# double-quoted strings.
  43211. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  43212. +
  43213. +# Same as above, but do not quote variable references.
  43214. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  43215. +
  43216. +# Sed substitution to delay expansion of an escaped shell variable in a
  43217. +# double_quote_subst'ed string.
  43218. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  43219. +
  43220. +# Sed substitution to delay expansion of an escaped single quote.
  43221. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  43222. +
  43223. +# Sed substitution to avoid accidental globbing in evaled expressions
  43224. +no_glob_subst='s/\*/\\\*/g'
  43225. +
  43226. +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  43227. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  43228. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  43229. +
  43230. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  43231. +$as_echo_n "checking how to print strings... " >&6; }
  43232. +# Test print first, because it will be a builtin if present.
  43233. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  43234. + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  43235. + ECHO='print -r --'
  43236. +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  43237. + ECHO='printf %s\n'
  43238. +else
  43239. + # Use this function as a fallback that always works.
  43240. + func_fallback_echo ()
  43241. + {
  43242. + eval 'cat <<_LTECHO_EOF
  43243. +$1
  43244. +_LTECHO_EOF'
  43245. + }
  43246. + ECHO='func_fallback_echo'
  43247. +fi
  43248. +
  43249. +# func_echo_all arg...
  43250. +# Invoke $ECHO with all args, space-separated.
  43251. +func_echo_all ()
  43252. +{
  43253. + $ECHO ""
  43254. +}
  43255. +
  43256. +case $ECHO in
  43257. + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  43258. +$as_echo "printf" >&6; } ;;
  43259. + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  43260. +$as_echo "print -r" >&6; } ;;
  43261. + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  43262. +$as_echo "cat" >&6; } ;;
  43263. +esac
  43264. +
  43265. +
  43266. +
  43267. +
  43268. +
  43269. +
  43270. +
  43271. +
  43272. +
  43273. +
  43274. +
  43275. +
  43276. +
  43277. +
  43278. +DEPDIR="${am__leading_dot}deps"
  43279. +
  43280. +ac_config_commands="$ac_config_commands depfiles"
  43281. +
  43282. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
  43283. +$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
  43284. +cat > confinc.mk << 'END'
  43285. +am__doit:
  43286. + @echo this is the am__doit target >confinc.out
  43287. +.PHONY: am__doit
  43288. +END
  43289. +am__include="#"
  43290. +am__quote=
  43291. +# BSD make does it like this.
  43292. +echo '.include "confinc.mk" # ignored' > confmf.BSD
  43293. +# Other make implementations (GNU, Solaris 10, AIX) do it like this.
  43294. +echo 'include confinc.mk # ignored' > confmf.GNU
  43295. +_am_result=no
  43296. +for s in GNU BSD; do
  43297. + { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
  43298. + (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
  43299. + ac_status=$?
  43300. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  43301. + (exit $ac_status); }
  43302. + case $?:`cat confinc.out 2>/dev/null` in @%:@(
  43303. + '0:this is the am__doit target') :
  43304. + case $s in @%:@(
  43305. + BSD) :
  43306. + am__include='.include' am__quote='"' ;; @%:@(
  43307. + *) :
  43308. + am__include='include' am__quote='' ;;
  43309. +esac ;; @%:@(
  43310. + *) :
  43311. + ;;
  43312. +esac
  43313. + if test "$am__include" != "#"; then
  43314. + _am_result="yes ($s style)"
  43315. + break
  43316. + fi
  43317. +done
  43318. +rm -f confinc.* confmf.*
  43319. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
  43320. +$as_echo "${_am_result}" >&6; }
  43321. +
  43322. +@%:@ Check whether --enable-dependency-tracking was given.
  43323. +if test "${enable_dependency_tracking+set}" = set; then :
  43324. + enableval=$enable_dependency_tracking;
  43325. +fi
  43326. +
  43327. +if test "x$enable_dependency_tracking" != xno; then
  43328. + am_depcomp="$ac_aux_dir/depcomp"
  43329. + AMDEPBACKSLASH='\'
  43330. + am__nodep='_no'
  43331. +fi
  43332. + if test "x$enable_dependency_tracking" != xno; then
  43333. + AMDEP_TRUE=
  43334. + AMDEP_FALSE='#'
  43335. +else
  43336. + AMDEP_TRUE='#'
  43337. + AMDEP_FALSE=
  43338. +fi
  43339. +
  43340. +
  43341. +ac_ext=c
  43342. +ac_cpp='$CPP $CPPFLAGS'
  43343. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  43344. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  43345. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  43346. +if test -n "$ac_tool_prefix"; then
  43347. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  43348. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  43349. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43350. +$as_echo_n "checking for $ac_word... " >&6; }
  43351. +if ${ac_cv_prog_CC+:} false; then :
  43352. + $as_echo_n "(cached) " >&6
  43353. +else
  43354. + if test -n "$CC"; then
  43355. + ac_cv_prog_CC="$CC" # Let the user override the test.
  43356. +else
  43357. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43358. +for as_dir in $PATH
  43359. +do
  43360. + IFS=$as_save_IFS
  43361. + test -z "$as_dir" && as_dir=.
  43362. + for ac_exec_ext in '' $ac_executable_extensions; do
  43363. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  43364. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  43365. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43366. + break 2
  43367. + fi
  43368. +done
  43369. + done
  43370. +IFS=$as_save_IFS
  43371. +
  43372. +fi
  43373. +fi
  43374. +CC=$ac_cv_prog_CC
  43375. +if test -n "$CC"; then
  43376. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  43377. +$as_echo "$CC" >&6; }
  43378. +else
  43379. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43380. +$as_echo "no" >&6; }
  43381. +fi
  43382. +
  43383. +
  43384. +fi
  43385. +if test -z "$ac_cv_prog_CC"; then
  43386. + ac_ct_CC=$CC
  43387. + # Extract the first word of "gcc", so it can be a program name with args.
  43388. +set dummy gcc; ac_word=$2
  43389. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43390. +$as_echo_n "checking for $ac_word... " >&6; }
  43391. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  43392. + $as_echo_n "(cached) " >&6
  43393. +else
  43394. + if test -n "$ac_ct_CC"; then
  43395. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  43396. +else
  43397. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43398. +for as_dir in $PATH
  43399. +do
  43400. + IFS=$as_save_IFS
  43401. + test -z "$as_dir" && as_dir=.
  43402. + for ac_exec_ext in '' $ac_executable_extensions; do
  43403. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  43404. + ac_cv_prog_ac_ct_CC="gcc"
  43405. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43406. + break 2
  43407. + fi
  43408. +done
  43409. + done
  43410. +IFS=$as_save_IFS
  43411. +
  43412. +fi
  43413. +fi
  43414. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  43415. +if test -n "$ac_ct_CC"; then
  43416. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  43417. +$as_echo "$ac_ct_CC" >&6; }
  43418. +else
  43419. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43420. +$as_echo "no" >&6; }
  43421. +fi
  43422. +
  43423. + if test "x$ac_ct_CC" = x; then
  43424. + CC=""
  43425. + else
  43426. + case $cross_compiling:$ac_tool_warned in
  43427. +yes:)
  43428. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  43429. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  43430. +ac_tool_warned=yes ;;
  43431. +esac
  43432. + CC=$ac_ct_CC
  43433. + fi
  43434. +else
  43435. + CC="$ac_cv_prog_CC"
  43436. +fi
  43437. +
  43438. +if test -z "$CC"; then
  43439. + if test -n "$ac_tool_prefix"; then
  43440. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  43441. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  43442. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43443. +$as_echo_n "checking for $ac_word... " >&6; }
  43444. +if ${ac_cv_prog_CC+:} false; then :
  43445. + $as_echo_n "(cached) " >&6
  43446. +else
  43447. + if test -n "$CC"; then
  43448. + ac_cv_prog_CC="$CC" # Let the user override the test.
  43449. +else
  43450. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43451. +for as_dir in $PATH
  43452. +do
  43453. + IFS=$as_save_IFS
  43454. + test -z "$as_dir" && as_dir=.
  43455. + for ac_exec_ext in '' $ac_executable_extensions; do
  43456. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  43457. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  43458. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43459. + break 2
  43460. + fi
  43461. +done
  43462. + done
  43463. +IFS=$as_save_IFS
  43464. +
  43465. +fi
  43466. +fi
  43467. +CC=$ac_cv_prog_CC
  43468. +if test -n "$CC"; then
  43469. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  43470. +$as_echo "$CC" >&6; }
  43471. +else
  43472. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43473. +$as_echo "no" >&6; }
  43474. +fi
  43475. +
  43476. +
  43477. + fi
  43478. +fi
  43479. +if test -z "$CC"; then
  43480. + # Extract the first word of "cc", so it can be a program name with args.
  43481. +set dummy cc; ac_word=$2
  43482. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43483. +$as_echo_n "checking for $ac_word... " >&6; }
  43484. +if ${ac_cv_prog_CC+:} false; then :
  43485. + $as_echo_n "(cached) " >&6
  43486. +else
  43487. + if test -n "$CC"; then
  43488. + ac_cv_prog_CC="$CC" # Let the user override the test.
  43489. +else
  43490. + ac_prog_rejected=no
  43491. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43492. +for as_dir in $PATH
  43493. +do
  43494. + IFS=$as_save_IFS
  43495. + test -z "$as_dir" && as_dir=.
  43496. + for ac_exec_ext in '' $ac_executable_extensions; do
  43497. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  43498. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  43499. + ac_prog_rejected=yes
  43500. + continue
  43501. + fi
  43502. + ac_cv_prog_CC="cc"
  43503. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43504. + break 2
  43505. + fi
  43506. +done
  43507. + done
  43508. +IFS=$as_save_IFS
  43509. +
  43510. +if test $ac_prog_rejected = yes; then
  43511. + # We found a bogon in the path, so make sure we never use it.
  43512. + set dummy $ac_cv_prog_CC
  43513. + shift
  43514. + if test $@%:@ != 0; then
  43515. + # We chose a different compiler from the bogus one.
  43516. + # However, it has the same basename, so the bogon will be chosen
  43517. + # first if we set CC to just the basename; use the full file name.
  43518. + shift
  43519. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  43520. + fi
  43521. +fi
  43522. +fi
  43523. +fi
  43524. +CC=$ac_cv_prog_CC
  43525. +if test -n "$CC"; then
  43526. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  43527. +$as_echo "$CC" >&6; }
  43528. +else
  43529. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43530. +$as_echo "no" >&6; }
  43531. +fi
  43532. +
  43533. +
  43534. +fi
  43535. +if test -z "$CC"; then
  43536. + if test -n "$ac_tool_prefix"; then
  43537. + for ac_prog in cl.exe
  43538. + do
  43539. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  43540. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  43541. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43542. +$as_echo_n "checking for $ac_word... " >&6; }
  43543. +if ${ac_cv_prog_CC+:} false; then :
  43544. + $as_echo_n "(cached) " >&6
  43545. +else
  43546. + if test -n "$CC"; then
  43547. + ac_cv_prog_CC="$CC" # Let the user override the test.
  43548. +else
  43549. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43550. +for as_dir in $PATH
  43551. +do
  43552. + IFS=$as_save_IFS
  43553. + test -z "$as_dir" && as_dir=.
  43554. + for ac_exec_ext in '' $ac_executable_extensions; do
  43555. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  43556. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  43557. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43558. + break 2
  43559. + fi
  43560. +done
  43561. + done
  43562. +IFS=$as_save_IFS
  43563. +
  43564. +fi
  43565. +fi
  43566. +CC=$ac_cv_prog_CC
  43567. +if test -n "$CC"; then
  43568. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  43569. +$as_echo "$CC" >&6; }
  43570. +else
  43571. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43572. +$as_echo "no" >&6; }
  43573. +fi
  43574. +
  43575. +
  43576. + test -n "$CC" && break
  43577. + done
  43578. +fi
  43579. +if test -z "$CC"; then
  43580. + ac_ct_CC=$CC
  43581. + for ac_prog in cl.exe
  43582. +do
  43583. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  43584. +set dummy $ac_prog; ac_word=$2
  43585. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43586. +$as_echo_n "checking for $ac_word... " >&6; }
  43587. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  43588. + $as_echo_n "(cached) " >&6
  43589. +else
  43590. + if test -n "$ac_ct_CC"; then
  43591. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  43592. +else
  43593. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43594. +for as_dir in $PATH
  43595. +do
  43596. + IFS=$as_save_IFS
  43597. + test -z "$as_dir" && as_dir=.
  43598. + for ac_exec_ext in '' $ac_executable_extensions; do
  43599. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  43600. + ac_cv_prog_ac_ct_CC="$ac_prog"
  43601. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43602. + break 2
  43603. + fi
  43604. +done
  43605. + done
  43606. +IFS=$as_save_IFS
  43607. +
  43608. +fi
  43609. +fi
  43610. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  43611. +if test -n "$ac_ct_CC"; then
  43612. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  43613. +$as_echo "$ac_ct_CC" >&6; }
  43614. +else
  43615. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43616. +$as_echo "no" >&6; }
  43617. +fi
  43618. +
  43619. +
  43620. + test -n "$ac_ct_CC" && break
  43621. +done
  43622. +
  43623. + if test "x$ac_ct_CC" = x; then
  43624. + CC=""
  43625. + else
  43626. + case $cross_compiling:$ac_tool_warned in
  43627. +yes:)
  43628. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  43629. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  43630. +ac_tool_warned=yes ;;
  43631. +esac
  43632. + CC=$ac_ct_CC
  43633. + fi
  43634. +fi
  43635. +
  43636. +fi
  43637. +
  43638. +
  43639. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  43640. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  43641. +as_fn_error $? "no acceptable C compiler found in \$PATH
  43642. +See \`config.log' for more details" "$LINENO" 5; }
  43643. +
  43644. +# Provide some information about the compiler.
  43645. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  43646. +set X $ac_compile
  43647. +ac_compiler=$2
  43648. +for ac_option in --version -v -V -qversion; do
  43649. + { { ac_try="$ac_compiler $ac_option >&5"
  43650. +case "(($ac_try" in
  43651. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  43652. + *) ac_try_echo=$ac_try;;
  43653. +esac
  43654. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  43655. +$as_echo "$ac_try_echo"; } >&5
  43656. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  43657. + ac_status=$?
  43658. + if test -s conftest.err; then
  43659. + sed '10a\
  43660. +... rest of stderr output deleted ...
  43661. + 10q' conftest.err >conftest.er1
  43662. + cat conftest.er1 >&5
  43663. + fi
  43664. + rm -f conftest.er1 conftest.err
  43665. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43666. + test $ac_status = 0; }
  43667. +done
  43668. +
  43669. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43670. +/* end confdefs.h. */
  43671. +
  43672. +int
  43673. +main ()
  43674. +{
  43675. +
  43676. + ;
  43677. + return 0;
  43678. +}
  43679. +_ACEOF
  43680. +ac_clean_files_save=$ac_clean_files
  43681. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  43682. +# Try to create an executable without -o first, disregard a.out.
  43683. +# It will help us diagnose broken compilers, and finding out an intuition
  43684. +# of exeext.
  43685. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  43686. +$as_echo_n "checking whether the C compiler works... " >&6; }
  43687. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  43688. +
  43689. +# The possible output files:
  43690. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  43691. +
  43692. +ac_rmfiles=
  43693. +for ac_file in $ac_files
  43694. +do
  43695. + case $ac_file in
  43696. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  43697. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  43698. + esac
  43699. +done
  43700. +rm -f $ac_rmfiles
  43701. +
  43702. +if { { ac_try="$ac_link_default"
  43703. +case "(($ac_try" in
  43704. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  43705. + *) ac_try_echo=$ac_try;;
  43706. +esac
  43707. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  43708. +$as_echo "$ac_try_echo"; } >&5
  43709. + (eval "$ac_link_default") 2>&5
  43710. + ac_status=$?
  43711. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43712. + test $ac_status = 0; }; then :
  43713. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  43714. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  43715. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  43716. +# so that the user can short-circuit this test for compilers unknown to
  43717. +# Autoconf.
  43718. +for ac_file in $ac_files ''
  43719. +do
  43720. + test -f "$ac_file" || continue
  43721. + case $ac_file in
  43722. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  43723. + ;;
  43724. + [ab].out )
  43725. + # We found the default executable, but exeext='' is most
  43726. + # certainly right.
  43727. + break;;
  43728. + *.* )
  43729. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  43730. + then :; else
  43731. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  43732. + fi
  43733. + # We set ac_cv_exeext here because the later test for it is not
  43734. + # safe: cross compilers may not add the suffix if given an `-o'
  43735. + # argument, so we may need to know it at that point already.
  43736. + # Even if this section looks crufty: it has the advantage of
  43737. + # actually working.
  43738. + break;;
  43739. + * )
  43740. + break;;
  43741. + esac
  43742. +done
  43743. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  43744. +
  43745. +else
  43746. + ac_file=''
  43747. +fi
  43748. +if test -z "$ac_file"; then :
  43749. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43750. +$as_echo "no" >&6; }
  43751. +$as_echo "$as_me: failed program was:" >&5
  43752. +sed 's/^/| /' conftest.$ac_ext >&5
  43753. +
  43754. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  43755. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  43756. +as_fn_error 77 "C compiler cannot create executables
  43757. +See \`config.log' for more details" "$LINENO" 5; }
  43758. +else
  43759. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  43760. +$as_echo "yes" >&6; }
  43761. +fi
  43762. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  43763. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  43764. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  43765. +$as_echo "$ac_file" >&6; }
  43766. +ac_exeext=$ac_cv_exeext
  43767. +
  43768. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  43769. +ac_clean_files=$ac_clean_files_save
  43770. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  43771. +$as_echo_n "checking for suffix of executables... " >&6; }
  43772. +if { { ac_try="$ac_link"
  43773. +case "(($ac_try" in
  43774. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  43775. + *) ac_try_echo=$ac_try;;
  43776. +esac
  43777. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  43778. +$as_echo "$ac_try_echo"; } >&5
  43779. + (eval "$ac_link") 2>&5
  43780. + ac_status=$?
  43781. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43782. + test $ac_status = 0; }; then :
  43783. + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  43784. +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  43785. +# work properly (i.e., refer to `conftest.exe'), while it won't with
  43786. +# `rm'.
  43787. +for ac_file in conftest.exe conftest conftest.*; do
  43788. + test -f "$ac_file" || continue
  43789. + case $ac_file in
  43790. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  43791. + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  43792. + break;;
  43793. + * ) break;;
  43794. + esac
  43795. +done
  43796. +else
  43797. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  43798. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  43799. +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  43800. +See \`config.log' for more details" "$LINENO" 5; }
  43801. +fi
  43802. +rm -f conftest conftest$ac_cv_exeext
  43803. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  43804. +$as_echo "$ac_cv_exeext" >&6; }
  43805. +
  43806. +rm -f conftest.$ac_ext
  43807. +EXEEXT=$ac_cv_exeext
  43808. +ac_exeext=$EXEEXT
  43809. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43810. +/* end confdefs.h. */
  43811. +@%:@include <stdio.h>
  43812. +int
  43813. +main ()
  43814. +{
  43815. +FILE *f = fopen ("conftest.out", "w");
  43816. + return ferror (f) || fclose (f) != 0;
  43817. +
  43818. + ;
  43819. + return 0;
  43820. +}
  43821. +_ACEOF
  43822. +ac_clean_files="$ac_clean_files conftest.out"
  43823. +# Check that the compiler produces executables we can run. If not, either
  43824. +# the compiler is broken, or we cross compile.
  43825. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  43826. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  43827. +if test "$cross_compiling" != yes; then
  43828. + { { ac_try="$ac_link"
  43829. +case "(($ac_try" in
  43830. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  43831. + *) ac_try_echo=$ac_try;;
  43832. +esac
  43833. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  43834. +$as_echo "$ac_try_echo"; } >&5
  43835. + (eval "$ac_link") 2>&5
  43836. + ac_status=$?
  43837. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43838. + test $ac_status = 0; }
  43839. + if { ac_try='./conftest$ac_cv_exeext'
  43840. + { { case "(($ac_try" in
  43841. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  43842. + *) ac_try_echo=$ac_try;;
  43843. +esac
  43844. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  43845. +$as_echo "$ac_try_echo"; } >&5
  43846. + (eval "$ac_try") 2>&5
  43847. + ac_status=$?
  43848. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43849. + test $ac_status = 0; }; }; then
  43850. + cross_compiling=no
  43851. + else
  43852. + if test "$cross_compiling" = maybe; then
  43853. + cross_compiling=yes
  43854. + else
  43855. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  43856. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  43857. +as_fn_error $? "cannot run C compiled programs.
  43858. +If you meant to cross compile, use \`--host'.
  43859. +See \`config.log' for more details" "$LINENO" 5; }
  43860. + fi
  43861. + fi
  43862. +fi
  43863. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  43864. +$as_echo "$cross_compiling" >&6; }
  43865. +
  43866. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  43867. +ac_clean_files=$ac_clean_files_save
  43868. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  43869. +$as_echo_n "checking for suffix of object files... " >&6; }
  43870. +if ${ac_cv_objext+:} false; then :
  43871. + $as_echo_n "(cached) " >&6
  43872. +else
  43873. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43874. +/* end confdefs.h. */
  43875. +
  43876. +int
  43877. +main ()
  43878. +{
  43879. +
  43880. + ;
  43881. + return 0;
  43882. +}
  43883. +_ACEOF
  43884. +rm -f conftest.o conftest.obj
  43885. +if { { ac_try="$ac_compile"
  43886. +case "(($ac_try" in
  43887. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  43888. + *) ac_try_echo=$ac_try;;
  43889. +esac
  43890. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  43891. +$as_echo "$ac_try_echo"; } >&5
  43892. + (eval "$ac_compile") 2>&5
  43893. + ac_status=$?
  43894. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43895. + test $ac_status = 0; }; then :
  43896. + for ac_file in conftest.o conftest.obj conftest.*; do
  43897. + test -f "$ac_file" || continue;
  43898. + case $ac_file in
  43899. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  43900. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  43901. + break;;
  43902. + esac
  43903. +done
  43904. +else
  43905. + $as_echo "$as_me: failed program was:" >&5
  43906. +sed 's/^/| /' conftest.$ac_ext >&5
  43907. +
  43908. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  43909. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  43910. +as_fn_error $? "cannot compute suffix of object files: cannot compile
  43911. +See \`config.log' for more details" "$LINENO" 5; }
  43912. +fi
  43913. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  43914. +fi
  43915. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  43916. +$as_echo "$ac_cv_objext" >&6; }
  43917. +OBJEXT=$ac_cv_objext
  43918. +ac_objext=$OBJEXT
  43919. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  43920. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  43921. +if ${ac_cv_c_compiler_gnu+:} false; then :
  43922. + $as_echo_n "(cached) " >&6
  43923. +else
  43924. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43925. +/* end confdefs.h. */
  43926. +
  43927. +int
  43928. +main ()
  43929. +{
  43930. +#ifndef __GNUC__
  43931. + choke me
  43932. +#endif
  43933. +
  43934. + ;
  43935. + return 0;
  43936. +}
  43937. +_ACEOF
  43938. +if ac_fn_c_try_compile "$LINENO"; then :
  43939. + ac_compiler_gnu=yes
  43940. +else
  43941. + ac_compiler_gnu=no
  43942. +fi
  43943. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  43944. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  43945. +
  43946. +fi
  43947. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  43948. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  43949. +if test $ac_compiler_gnu = yes; then
  43950. + GCC=yes
  43951. +else
  43952. + GCC=
  43953. +fi
  43954. +ac_test_CFLAGS=${CFLAGS+set}
  43955. +ac_save_CFLAGS=$CFLAGS
  43956. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  43957. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  43958. +if ${ac_cv_prog_cc_g+:} false; then :
  43959. + $as_echo_n "(cached) " >&6
  43960. +else
  43961. + ac_save_c_werror_flag=$ac_c_werror_flag
  43962. + ac_c_werror_flag=yes
  43963. + ac_cv_prog_cc_g=no
  43964. + CFLAGS="-g"
  43965. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43966. +/* end confdefs.h. */
  43967. +
  43968. +int
  43969. +main ()
  43970. +{
  43971. +
  43972. + ;
  43973. + return 0;
  43974. +}
  43975. +_ACEOF
  43976. +if ac_fn_c_try_compile "$LINENO"; then :
  43977. + ac_cv_prog_cc_g=yes
  43978. +else
  43979. + CFLAGS=""
  43980. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43981. +/* end confdefs.h. */
  43982. +
  43983. +int
  43984. +main ()
  43985. +{
  43986. +
  43987. + ;
  43988. + return 0;
  43989. +}
  43990. +_ACEOF
  43991. +if ac_fn_c_try_compile "$LINENO"; then :
  43992. +
  43993. +else
  43994. + ac_c_werror_flag=$ac_save_c_werror_flag
  43995. + CFLAGS="-g"
  43996. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43997. +/* end confdefs.h. */
  43998. +
  43999. +int
  44000. +main ()
  44001. +{
  44002. +
  44003. + ;
  44004. + return 0;
  44005. +}
  44006. +_ACEOF
  44007. +if ac_fn_c_try_compile "$LINENO"; then :
  44008. + ac_cv_prog_cc_g=yes
  44009. +fi
  44010. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  44011. +fi
  44012. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  44013. +fi
  44014. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  44015. + ac_c_werror_flag=$ac_save_c_werror_flag
  44016. +fi
  44017. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  44018. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  44019. +if test "$ac_test_CFLAGS" = set; then
  44020. + CFLAGS=$ac_save_CFLAGS
  44021. +elif test $ac_cv_prog_cc_g = yes; then
  44022. + if test "$GCC" = yes; then
  44023. + CFLAGS="-g -O2"
  44024. + else
  44025. + CFLAGS="-g"
  44026. + fi
  44027. +else
  44028. + if test "$GCC" = yes; then
  44029. + CFLAGS="-O2"
  44030. + else
  44031. + CFLAGS=
  44032. + fi
  44033. +fi
  44034. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  44035. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  44036. +if ${ac_cv_prog_cc_c89+:} false; then :
  44037. + $as_echo_n "(cached) " >&6
  44038. +else
  44039. + ac_cv_prog_cc_c89=no
  44040. +ac_save_CC=$CC
  44041. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44042. +/* end confdefs.h. */
  44043. +#include <stdarg.h>
  44044. +#include <stdio.h>
  44045. +struct stat;
  44046. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  44047. +struct buf { int x; };
  44048. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  44049. +static char *e (p, i)
  44050. + char **p;
  44051. + int i;
  44052. +{
  44053. + return p[i];
  44054. +}
  44055. +static char *f (char * (*g) (char **, int), char **p, ...)
  44056. +{
  44057. + char *s;
  44058. + va_list v;
  44059. + va_start (v,p);
  44060. + s = g (p, va_arg (v,int));
  44061. + va_end (v);
  44062. + return s;
  44063. +}
  44064. +
  44065. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  44066. + function prototypes and stuff, but not '\xHH' hex character constants.
  44067. + These don't provoke an error unfortunately, instead are silently treated
  44068. + as 'x'. The following induces an error, until -std is added to get
  44069. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  44070. + array size at least. It's necessary to write '\x00'==0 to get something
  44071. + that's true only with -std. */
  44072. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  44073. +
  44074. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  44075. + inside strings and character constants. */
  44076. +#define FOO(x) 'x'
  44077. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  44078. +
  44079. +int test (int i, double x);
  44080. +struct s1 {int (*f) (int a);};
  44081. +struct s2 {int (*f) (double a);};
  44082. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  44083. +int argc;
  44084. +char **argv;
  44085. +int
  44086. +main ()
  44087. +{
  44088. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  44089. + ;
  44090. + return 0;
  44091. +}
  44092. +_ACEOF
  44093. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  44094. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  44095. +do
  44096. + CC="$ac_save_CC $ac_arg"
  44097. + if ac_fn_c_try_compile "$LINENO"; then :
  44098. + ac_cv_prog_cc_c89=$ac_arg
  44099. +fi
  44100. +rm -f core conftest.err conftest.$ac_objext
  44101. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  44102. +done
  44103. +rm -f conftest.$ac_ext
  44104. +CC=$ac_save_CC
  44105. +
  44106. +fi
  44107. +# AC_CACHE_VAL
  44108. +case "x$ac_cv_prog_cc_c89" in
  44109. + x)
  44110. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  44111. +$as_echo "none needed" >&6; } ;;
  44112. + xno)
  44113. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  44114. +$as_echo "unsupported" >&6; } ;;
  44115. + *)
  44116. + CC="$CC $ac_cv_prog_cc_c89"
  44117. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  44118. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  44119. +esac
  44120. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  44121. +
  44122. +fi
  44123. +
  44124. +ac_ext=c
  44125. +ac_cpp='$CPP $CPPFLAGS'
  44126. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  44127. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  44128. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  44129. +
  44130. +ac_ext=c
  44131. +ac_cpp='$CPP $CPPFLAGS'
  44132. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  44133. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  44134. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  44135. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  44136. +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  44137. +if ${am_cv_prog_cc_c_o+:} false; then :
  44138. + $as_echo_n "(cached) " >&6
  44139. +else
  44140. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44141. +/* end confdefs.h. */
  44142. +
  44143. +int
  44144. +main ()
  44145. +{
  44146. +
  44147. + ;
  44148. + return 0;
  44149. +}
  44150. +_ACEOF
  44151. + # Make sure it works both with $CC and with simple cc.
  44152. + # Following AC_PROG_CC_C_O, we do the test twice because some
  44153. + # compilers refuse to overwrite an existing .o file with -o,
  44154. + # though they will create one.
  44155. + am_cv_prog_cc_c_o=yes
  44156. + for am_i in 1 2; do
  44157. + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  44158. + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  44159. + ac_status=$?
  44160. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  44161. + (exit $ac_status); } \
  44162. + && test -f conftest2.$ac_objext; then
  44163. + : OK
  44164. + else
  44165. + am_cv_prog_cc_c_o=no
  44166. + break
  44167. + fi
  44168. + done
  44169. + rm -f core conftest*
  44170. + unset am_i
  44171. +fi
  44172. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  44173. +$as_echo "$am_cv_prog_cc_c_o" >&6; }
  44174. +if test "$am_cv_prog_cc_c_o" != yes; then
  44175. + # Losing compiler, so override with the script.
  44176. + # FIXME: It is wrong to rewrite CC.
  44177. + # But if we don't then we get into trouble of one sort or another.
  44178. + # A longer-term fix would be to have automake use am__CC in this case,
  44179. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  44180. + CC="$am_aux_dir/compile $CC"
  44181. +fi
  44182. +ac_ext=c
  44183. +ac_cpp='$CPP $CPPFLAGS'
  44184. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  44185. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  44186. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  44187. +
  44188. +
  44189. +depcc="$CC" am_compiler_list=
  44190. +
  44191. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  44192. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  44193. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  44194. + $as_echo_n "(cached) " >&6
  44195. +else
  44196. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  44197. + # We make a subdir and do the tests there. Otherwise we can end up
  44198. + # making bogus files that we don't know about and never remove. For
  44199. + # instance it was reported that on HP-UX the gcc test will end up
  44200. + # making a dummy file named 'D' -- because '-MD' means "put the output
  44201. + # in D".
  44202. + rm -rf conftest.dir
  44203. + mkdir conftest.dir
  44204. + # Copy depcomp to subdir because otherwise we won't find it if we're
  44205. + # using a relative directory.
  44206. + cp "$am_depcomp" conftest.dir
  44207. + cd conftest.dir
  44208. + # We will build objects and dependencies in a subdirectory because
  44209. + # it helps to detect inapplicable dependency modes. For instance
  44210. + # both Tru64's cc and ICC support -MD to output dependencies as a
  44211. + # side effect of compilation, but ICC will put the dependencies in
  44212. + # the current directory while Tru64 will put them in the object
  44213. + # directory.
  44214. + mkdir sub
  44215. +
  44216. + am_cv_CC_dependencies_compiler_type=none
  44217. + if test "$am_compiler_list" = ""; then
  44218. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  44219. + fi
  44220. + am__universal=false
  44221. + case " $depcc " in #(
  44222. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  44223. + esac
  44224. +
  44225. + for depmode in $am_compiler_list; do
  44226. + # Setup a source with many dependencies, because some compilers
  44227. + # like to wrap large dependency lists on column 80 (with \), and
  44228. + # we should not choose a depcomp mode which is confused by this.
  44229. + #
  44230. + # We need to recreate these files for each test, as the compiler may
  44231. + # overwrite some of them when testing with obscure command lines.
  44232. + # This happens at least with the AIX C compiler.
  44233. + : > sub/conftest.c
  44234. + for i in 1 2 3 4 5 6; do
  44235. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  44236. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  44237. + # Solaris 10 /bin/sh.
  44238. + echo '/* dummy */' > sub/conftst$i.h
  44239. + done
  44240. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  44241. +
  44242. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  44243. + # mode. It turns out that the SunPro C++ compiler does not properly
  44244. + # handle '-M -o', and we need to detect this. Also, some Intel
  44245. + # versions had trouble with output in subdirs.
  44246. + am__obj=sub/conftest.${OBJEXT-o}
  44247. + am__minus_obj="-o $am__obj"
  44248. + case $depmode in
  44249. + gcc)
  44250. + # This depmode causes a compiler race in universal mode.
  44251. + test "$am__universal" = false || continue
  44252. + ;;
  44253. + nosideeffect)
  44254. + # After this tag, mechanisms are not by side-effect, so they'll
  44255. + # only be used when explicitly requested.
  44256. + if test "x$enable_dependency_tracking" = xyes; then
  44257. + continue
  44258. + else
  44259. + break
  44260. + fi
  44261. + ;;
  44262. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  44263. + # This compiler won't grok '-c -o', but also, the minuso test has
  44264. + # not run yet. These depmodes are late enough in the game, and
  44265. + # so weak that their functioning should not be impacted.
  44266. + am__obj=conftest.${OBJEXT-o}
  44267. + am__minus_obj=
  44268. + ;;
  44269. + none) break ;;
  44270. + esac
  44271. + if depmode=$depmode \
  44272. + source=sub/conftest.c object=$am__obj \
  44273. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  44274. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  44275. + >/dev/null 2>conftest.err &&
  44276. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  44277. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  44278. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  44279. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  44280. + # icc doesn't choke on unknown options, it will just issue warnings
  44281. + # or remarks (even with -Werror). So we grep stderr for any message
  44282. + # that says an option was ignored or not supported.
  44283. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  44284. + # icc: Command line warning: ignoring option '-M'; no argument required
  44285. + # The diagnosis changed in icc 8.0:
  44286. + # icc: Command line remark: option '-MP' not supported
  44287. + if (grep 'ignoring option' conftest.err ||
  44288. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  44289. + am_cv_CC_dependencies_compiler_type=$depmode
  44290. + break
  44291. + fi
  44292. + fi
  44293. + done
  44294. +
  44295. + cd ..
  44296. + rm -rf conftest.dir
  44297. +else
  44298. + am_cv_CC_dependencies_compiler_type=none
  44299. +fi
  44300. +
  44301. +fi
  44302. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  44303. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  44304. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  44305. +
  44306. + if
  44307. + test "x$enable_dependency_tracking" != xno \
  44308. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  44309. + am__fastdepCC_TRUE=
  44310. + am__fastdepCC_FALSE='#'
  44311. +else
  44312. + am__fastdepCC_TRUE='#'
  44313. + am__fastdepCC_FALSE=
  44314. +fi
  44315. +
  44316. +
  44317. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  44318. +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  44319. +if ${ac_cv_path_SED+:} false; then :
  44320. + $as_echo_n "(cached) " >&6
  44321. +else
  44322. + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  44323. + for ac_i in 1 2 3 4 5 6 7; do
  44324. + ac_script="$ac_script$as_nl$ac_script"
  44325. + done
  44326. + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  44327. + { ac_script=; unset ac_script;}
  44328. + if test -z "$SED"; then
  44329. + ac_path_SED_found=false
  44330. + # Loop through the user's path and test for each of PROGNAME-LIST
  44331. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44332. +for as_dir in $PATH
  44333. +do
  44334. + IFS=$as_save_IFS
  44335. + test -z "$as_dir" && as_dir=.
  44336. + for ac_prog in sed gsed; do
  44337. + for ac_exec_ext in '' $ac_executable_extensions; do
  44338. + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  44339. + as_fn_executable_p "$ac_path_SED" || continue
  44340. +# Check for GNU ac_path_SED and select it if it is found.
  44341. + # Check for GNU $ac_path_SED
  44342. +case `"$ac_path_SED" --version 2>&1` in
  44343. +*GNU*)
  44344. + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  44345. +*)
  44346. + ac_count=0
  44347. + $as_echo_n 0123456789 >"conftest.in"
  44348. + while :
  44349. + do
  44350. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  44351. + mv "conftest.tmp" "conftest.in"
  44352. + cp "conftest.in" "conftest.nl"
  44353. + $as_echo '' >> "conftest.nl"
  44354. + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  44355. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  44356. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  44357. + if test $ac_count -gt ${ac_path_SED_max-0}; then
  44358. + # Best one so far, save it but keep looking for a better one
  44359. + ac_cv_path_SED="$ac_path_SED"
  44360. + ac_path_SED_max=$ac_count
  44361. + fi
  44362. + # 10*(2^10) chars as input seems more than enough
  44363. + test $ac_count -gt 10 && break
  44364. + done
  44365. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  44366. +esac
  44367. +
  44368. + $ac_path_SED_found && break 3
  44369. + done
  44370. + done
  44371. + done
  44372. +IFS=$as_save_IFS
  44373. + if test -z "$ac_cv_path_SED"; then
  44374. + as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  44375. + fi
  44376. +else
  44377. + ac_cv_path_SED=$SED
  44378. +fi
  44379. +
  44380. +fi
  44381. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  44382. +$as_echo "$ac_cv_path_SED" >&6; }
  44383. + SED="$ac_cv_path_SED"
  44384. + rm -f conftest.sed
  44385. +
  44386. +test -z "$SED" && SED=sed
  44387. +Xsed="$SED -e 1s/^X//"
  44388. +
  44389. +
  44390. +
  44391. +
  44392. +
  44393. +
  44394. +
  44395. +
  44396. +
  44397. +
  44398. +
  44399. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  44400. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  44401. +if ${ac_cv_path_GREP+:} false; then :
  44402. + $as_echo_n "(cached) " >&6
  44403. +else
  44404. + if test -z "$GREP"; then
  44405. + ac_path_GREP_found=false
  44406. + # Loop through the user's path and test for each of PROGNAME-LIST
  44407. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44408. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  44409. +do
  44410. + IFS=$as_save_IFS
  44411. + test -z "$as_dir" && as_dir=.
  44412. + for ac_prog in grep ggrep; do
  44413. + for ac_exec_ext in '' $ac_executable_extensions; do
  44414. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  44415. + as_fn_executable_p "$ac_path_GREP" || continue
  44416. +# Check for GNU ac_path_GREP and select it if it is found.
  44417. + # Check for GNU $ac_path_GREP
  44418. +case `"$ac_path_GREP" --version 2>&1` in
  44419. +*GNU*)
  44420. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  44421. +*)
  44422. + ac_count=0
  44423. + $as_echo_n 0123456789 >"conftest.in"
  44424. + while :
  44425. + do
  44426. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  44427. + mv "conftest.tmp" "conftest.in"
  44428. + cp "conftest.in" "conftest.nl"
  44429. + $as_echo 'GREP' >> "conftest.nl"
  44430. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  44431. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  44432. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  44433. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  44434. + # Best one so far, save it but keep looking for a better one
  44435. + ac_cv_path_GREP="$ac_path_GREP"
  44436. + ac_path_GREP_max=$ac_count
  44437. + fi
  44438. + # 10*(2^10) chars as input seems more than enough
  44439. + test $ac_count -gt 10 && break
  44440. + done
  44441. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  44442. +esac
  44443. +
  44444. + $ac_path_GREP_found && break 3
  44445. + done
  44446. + done
  44447. + done
  44448. +IFS=$as_save_IFS
  44449. + if test -z "$ac_cv_path_GREP"; then
  44450. + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  44451. + fi
  44452. +else
  44453. + ac_cv_path_GREP=$GREP
  44454. +fi
  44455. +
  44456. +fi
  44457. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  44458. +$as_echo "$ac_cv_path_GREP" >&6; }
  44459. + GREP="$ac_cv_path_GREP"
  44460. +
  44461. +
  44462. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  44463. +$as_echo_n "checking for egrep... " >&6; }
  44464. +if ${ac_cv_path_EGREP+:} false; then :
  44465. + $as_echo_n "(cached) " >&6
  44466. +else
  44467. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  44468. + then ac_cv_path_EGREP="$GREP -E"
  44469. + else
  44470. + if test -z "$EGREP"; then
  44471. + ac_path_EGREP_found=false
  44472. + # Loop through the user's path and test for each of PROGNAME-LIST
  44473. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44474. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  44475. +do
  44476. + IFS=$as_save_IFS
  44477. + test -z "$as_dir" && as_dir=.
  44478. + for ac_prog in egrep; do
  44479. + for ac_exec_ext in '' $ac_executable_extensions; do
  44480. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  44481. + as_fn_executable_p "$ac_path_EGREP" || continue
  44482. +# Check for GNU ac_path_EGREP and select it if it is found.
  44483. + # Check for GNU $ac_path_EGREP
  44484. +case `"$ac_path_EGREP" --version 2>&1` in
  44485. +*GNU*)
  44486. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  44487. +*)
  44488. + ac_count=0
  44489. + $as_echo_n 0123456789 >"conftest.in"
  44490. + while :
  44491. + do
  44492. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  44493. + mv "conftest.tmp" "conftest.in"
  44494. + cp "conftest.in" "conftest.nl"
  44495. + $as_echo 'EGREP' >> "conftest.nl"
  44496. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  44497. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  44498. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  44499. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  44500. + # Best one so far, save it but keep looking for a better one
  44501. + ac_cv_path_EGREP="$ac_path_EGREP"
  44502. + ac_path_EGREP_max=$ac_count
  44503. + fi
  44504. + # 10*(2^10) chars as input seems more than enough
  44505. + test $ac_count -gt 10 && break
  44506. + done
  44507. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  44508. +esac
  44509. +
  44510. + $ac_path_EGREP_found && break 3
  44511. + done
  44512. + done
  44513. + done
  44514. +IFS=$as_save_IFS
  44515. + if test -z "$ac_cv_path_EGREP"; then
  44516. + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  44517. + fi
  44518. +else
  44519. + ac_cv_path_EGREP=$EGREP
  44520. +fi
  44521. +
  44522. + fi
  44523. +fi
  44524. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  44525. +$as_echo "$ac_cv_path_EGREP" >&6; }
  44526. + EGREP="$ac_cv_path_EGREP"
  44527. +
  44528. +
  44529. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  44530. +$as_echo_n "checking for fgrep... " >&6; }
  44531. +if ${ac_cv_path_FGREP+:} false; then :
  44532. + $as_echo_n "(cached) " >&6
  44533. +else
  44534. + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  44535. + then ac_cv_path_FGREP="$GREP -F"
  44536. + else
  44537. + if test -z "$FGREP"; then
  44538. + ac_path_FGREP_found=false
  44539. + # Loop through the user's path and test for each of PROGNAME-LIST
  44540. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44541. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  44542. +do
  44543. + IFS=$as_save_IFS
  44544. + test -z "$as_dir" && as_dir=.
  44545. + for ac_prog in fgrep; do
  44546. + for ac_exec_ext in '' $ac_executable_extensions; do
  44547. + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  44548. + as_fn_executable_p "$ac_path_FGREP" || continue
  44549. +# Check for GNU ac_path_FGREP and select it if it is found.
  44550. + # Check for GNU $ac_path_FGREP
  44551. +case `"$ac_path_FGREP" --version 2>&1` in
  44552. +*GNU*)
  44553. + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  44554. +*)
  44555. + ac_count=0
  44556. + $as_echo_n 0123456789 >"conftest.in"
  44557. + while :
  44558. + do
  44559. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  44560. + mv "conftest.tmp" "conftest.in"
  44561. + cp "conftest.in" "conftest.nl"
  44562. + $as_echo 'FGREP' >> "conftest.nl"
  44563. + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  44564. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  44565. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  44566. + if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  44567. + # Best one so far, save it but keep looking for a better one
  44568. + ac_cv_path_FGREP="$ac_path_FGREP"
  44569. + ac_path_FGREP_max=$ac_count
  44570. + fi
  44571. + # 10*(2^10) chars as input seems more than enough
  44572. + test $ac_count -gt 10 && break
  44573. + done
  44574. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  44575. +esac
  44576. +
  44577. + $ac_path_FGREP_found && break 3
  44578. + done
  44579. + done
  44580. + done
  44581. +IFS=$as_save_IFS
  44582. + if test -z "$ac_cv_path_FGREP"; then
  44583. + as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  44584. + fi
  44585. +else
  44586. + ac_cv_path_FGREP=$FGREP
  44587. +fi
  44588. +
  44589. + fi
  44590. +fi
  44591. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  44592. +$as_echo "$ac_cv_path_FGREP" >&6; }
  44593. + FGREP="$ac_cv_path_FGREP"
  44594. +
  44595. +
  44596. +test -z "$GREP" && GREP=grep
  44597. +
  44598. +
  44599. +
  44600. +
  44601. +
  44602. +
  44603. +
  44604. +
  44605. +
  44606. +
  44607. +
  44608. +
  44609. +
  44610. +
  44611. +
  44612. +
  44613. +
  44614. +
  44615. +
  44616. +@%:@ Check whether --with-gnu-ld was given.
  44617. +if test "${with_gnu_ld+set}" = set; then :
  44618. + withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
  44619. +else
  44620. + with_gnu_ld=no
  44621. +fi
  44622. +
  44623. +ac_prog=ld
  44624. +if test yes = "$GCC"; then
  44625. + # Check if gcc -print-prog-name=ld gives a path.
  44626. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  44627. +$as_echo_n "checking for ld used by $CC... " >&6; }
  44628. + case $host in
  44629. + *-*-mingw*)
  44630. + # gcc leaves a trailing carriage return, which upsets mingw
  44631. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  44632. + *)
  44633. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  44634. + esac
  44635. + case $ac_prog in
  44636. + # Accept absolute paths.
  44637. + [\\/]* | ?:[\\/]*)
  44638. + re_direlt='/[^/][^/]*/\.\./'
  44639. + # Canonicalize the pathname of ld
  44640. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  44641. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  44642. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  44643. + done
  44644. + test -z "$LD" && LD=$ac_prog
  44645. + ;;
  44646. + "")
  44647. + # If it fails, then pretend we aren't using GCC.
  44648. + ac_prog=ld
  44649. + ;;
  44650. + *)
  44651. + # If it is relative, then search for the first ld in PATH.
  44652. + with_gnu_ld=unknown
  44653. + ;;
  44654. + esac
  44655. +elif test yes = "$with_gnu_ld"; then
  44656. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  44657. +$as_echo_n "checking for GNU ld... " >&6; }
  44658. +else
  44659. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  44660. +$as_echo_n "checking for non-GNU ld... " >&6; }
  44661. +fi
  44662. +if ${lt_cv_path_LD+:} false; then :
  44663. + $as_echo_n "(cached) " >&6
  44664. +else
  44665. + if test -z "$LD"; then
  44666. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  44667. + for ac_dir in $PATH; do
  44668. + IFS=$lt_save_ifs
  44669. + test -z "$ac_dir" && ac_dir=.
  44670. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  44671. + lt_cv_path_LD=$ac_dir/$ac_prog
  44672. + # Check to see if the program is GNU ld. I'd rather use --version,
  44673. + # but apparently some variants of GNU ld only accept -v.
  44674. + # Break only if it was the GNU/non-GNU ld that we prefer.
  44675. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  44676. + *GNU* | *'with BFD'*)
  44677. + test no != "$with_gnu_ld" && break
  44678. + ;;
  44679. + *)
  44680. + test yes != "$with_gnu_ld" && break
  44681. + ;;
  44682. + esac
  44683. + fi
  44684. + done
  44685. + IFS=$lt_save_ifs
  44686. +else
  44687. + lt_cv_path_LD=$LD # Let the user override the test with a path.
  44688. +fi
  44689. +fi
  44690. +
  44691. +LD=$lt_cv_path_LD
  44692. +if test -n "$LD"; then
  44693. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  44694. +$as_echo "$LD" >&6; }
  44695. +else
  44696. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  44697. +$as_echo "no" >&6; }
  44698. +fi
  44699. +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  44700. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  44701. +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  44702. +if ${lt_cv_prog_gnu_ld+:} false; then :
  44703. + $as_echo_n "(cached) " >&6
  44704. +else
  44705. + # I'd rather use --version here, but apparently some GNU lds only accept -v.
  44706. +case `$LD -v 2>&1 </dev/null` in
  44707. +*GNU* | *'with BFD'*)
  44708. + lt_cv_prog_gnu_ld=yes
  44709. + ;;
  44710. +*)
  44711. + lt_cv_prog_gnu_ld=no
  44712. + ;;
  44713. +esac
  44714. +fi
  44715. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  44716. +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  44717. +with_gnu_ld=$lt_cv_prog_gnu_ld
  44718. +
  44719. +
  44720. +
  44721. +
  44722. +
  44723. +
  44724. +
  44725. +
  44726. +
  44727. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  44728. +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  44729. +if ${lt_cv_path_NM+:} false; then :
  44730. + $as_echo_n "(cached) " >&6
  44731. +else
  44732. + if test -n "$NM"; then
  44733. + # Let the user override the test.
  44734. + lt_cv_path_NM=$NM
  44735. +else
  44736. + lt_nm_to_check=${ac_tool_prefix}nm
  44737. + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  44738. + lt_nm_to_check="$lt_nm_to_check nm"
  44739. + fi
  44740. + for lt_tmp_nm in $lt_nm_to_check; do
  44741. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  44742. + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  44743. + IFS=$lt_save_ifs
  44744. + test -z "$ac_dir" && ac_dir=.
  44745. + tmp_nm=$ac_dir/$lt_tmp_nm
  44746. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
  44747. + # Check to see if the nm accepts a BSD-compat flag.
  44748. + # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
  44749. + # nm: unknown option "B" ignored
  44750. + # Tru64's nm complains that /dev/null is an invalid object file
  44751. + # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
  44752. + case $build_os in
  44753. + mingw*) lt_bad_file=conftest.nm/nofile ;;
  44754. + *) lt_bad_file=/dev/null ;;
  44755. + esac
  44756. + case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
  44757. + *$lt_bad_file* | *'Invalid file or object type'*)
  44758. + lt_cv_path_NM="$tmp_nm -B"
  44759. + break 2
  44760. + ;;
  44761. + *)
  44762. + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  44763. + */dev/null*)
  44764. + lt_cv_path_NM="$tmp_nm -p"
  44765. + break 2
  44766. + ;;
  44767. + *)
  44768. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  44769. + continue # so that we can try to find one that supports BSD flags
  44770. + ;;
  44771. + esac
  44772. + ;;
  44773. + esac
  44774. + fi
  44775. + done
  44776. + IFS=$lt_save_ifs
  44777. + done
  44778. + : ${lt_cv_path_NM=no}
  44779. +fi
  44780. +fi
  44781. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  44782. +$as_echo "$lt_cv_path_NM" >&6; }
  44783. +if test no != "$lt_cv_path_NM"; then
  44784. + NM=$lt_cv_path_NM
  44785. +else
  44786. + # Didn't find any BSD compatible name lister, look for dumpbin.
  44787. + if test -n "$DUMPBIN"; then :
  44788. + # Let the user override the test.
  44789. + else
  44790. + if test -n "$ac_tool_prefix"; then
  44791. + for ac_prog in dumpbin "link -dump"
  44792. + do
  44793. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  44794. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  44795. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  44796. +$as_echo_n "checking for $ac_word... " >&6; }
  44797. +if ${ac_cv_prog_DUMPBIN+:} false; then :
  44798. + $as_echo_n "(cached) " >&6
  44799. +else
  44800. + if test -n "$DUMPBIN"; then
  44801. + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  44802. +else
  44803. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44804. +for as_dir in $PATH
  44805. +do
  44806. + IFS=$as_save_IFS
  44807. + test -z "$as_dir" && as_dir=.
  44808. + for ac_exec_ext in '' $ac_executable_extensions; do
  44809. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  44810. + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  44811. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  44812. + break 2
  44813. + fi
  44814. +done
  44815. + done
  44816. +IFS=$as_save_IFS
  44817. +
  44818. +fi
  44819. +fi
  44820. +DUMPBIN=$ac_cv_prog_DUMPBIN
  44821. +if test -n "$DUMPBIN"; then
  44822. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  44823. +$as_echo "$DUMPBIN" >&6; }
  44824. +else
  44825. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  44826. +$as_echo "no" >&6; }
  44827. +fi
  44828. +
  44829. +
  44830. + test -n "$DUMPBIN" && break
  44831. + done
  44832. +fi
  44833. +if test -z "$DUMPBIN"; then
  44834. + ac_ct_DUMPBIN=$DUMPBIN
  44835. + for ac_prog in dumpbin "link -dump"
  44836. +do
  44837. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  44838. +set dummy $ac_prog; ac_word=$2
  44839. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  44840. +$as_echo_n "checking for $ac_word... " >&6; }
  44841. +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  44842. + $as_echo_n "(cached) " >&6
  44843. +else
  44844. + if test -n "$ac_ct_DUMPBIN"; then
  44845. + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  44846. +else
  44847. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44848. +for as_dir in $PATH
  44849. +do
  44850. + IFS=$as_save_IFS
  44851. + test -z "$as_dir" && as_dir=.
  44852. + for ac_exec_ext in '' $ac_executable_extensions; do
  44853. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  44854. + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  44855. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  44856. + break 2
  44857. + fi
  44858. +done
  44859. + done
  44860. +IFS=$as_save_IFS
  44861. +
  44862. +fi
  44863. +fi
  44864. +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  44865. +if test -n "$ac_ct_DUMPBIN"; then
  44866. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  44867. +$as_echo "$ac_ct_DUMPBIN" >&6; }
  44868. +else
  44869. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  44870. +$as_echo "no" >&6; }
  44871. +fi
  44872. +
  44873. +
  44874. + test -n "$ac_ct_DUMPBIN" && break
  44875. +done
  44876. +
  44877. + if test "x$ac_ct_DUMPBIN" = x; then
  44878. + DUMPBIN=":"
  44879. + else
  44880. + case $cross_compiling:$ac_tool_warned in
  44881. +yes:)
  44882. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  44883. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  44884. +ac_tool_warned=yes ;;
  44885. +esac
  44886. + DUMPBIN=$ac_ct_DUMPBIN
  44887. + fi
  44888. +fi
  44889. +
  44890. + case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
  44891. + *COFF*)
  44892. + DUMPBIN="$DUMPBIN -symbols -headers"
  44893. + ;;
  44894. + *)
  44895. + DUMPBIN=:
  44896. + ;;
  44897. + esac
  44898. + fi
  44899. +
  44900. + if test : != "$DUMPBIN"; then
  44901. + NM=$DUMPBIN
  44902. + fi
  44903. +fi
  44904. +test -z "$NM" && NM=nm
  44905. +
  44906. +
  44907. +
  44908. +
  44909. +
  44910. +
  44911. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  44912. +$as_echo_n "checking the name lister ($NM) interface... " >&6; }
  44913. +if ${lt_cv_nm_interface+:} false; then :
  44914. + $as_echo_n "(cached) " >&6
  44915. +else
  44916. + lt_cv_nm_interface="BSD nm"
  44917. + echo "int some_variable = 0;" > conftest.$ac_ext
  44918. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  44919. + (eval "$ac_compile" 2>conftest.err)
  44920. + cat conftest.err >&5
  44921. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  44922. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  44923. + cat conftest.err >&5
  44924. + (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  44925. + cat conftest.out >&5
  44926. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  44927. + lt_cv_nm_interface="MS dumpbin"
  44928. + fi
  44929. + rm -f conftest*
  44930. +fi
  44931. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  44932. +$as_echo "$lt_cv_nm_interface" >&6; }
  44933. +
  44934. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  44935. +$as_echo_n "checking whether ln -s works... " >&6; }
  44936. +LN_S=$as_ln_s
  44937. +if test "$LN_S" = "ln -s"; then
  44938. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  44939. +$as_echo "yes" >&6; }
  44940. +else
  44941. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  44942. +$as_echo "no, using $LN_S" >&6; }
  44943. +fi
  44944. +
  44945. +# find the maximum length of command line arguments
  44946. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  44947. +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
  44948. +if ${lt_cv_sys_max_cmd_len+:} false; then :
  44949. + $as_echo_n "(cached) " >&6
  44950. +else
  44951. + i=0
  44952. + teststring=ABCD
  44953. +
  44954. + case $build_os in
  44955. + msdosdjgpp*)
  44956. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  44957. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  44958. + # during glob expansion). Even if it were fixed, the result of this
  44959. + # check would be larger than it should be.
  44960. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  44961. + ;;
  44962. +
  44963. + gnu*)
  44964. + # Under GNU Hurd, this test is not required because there is
  44965. + # no limit to the length of command line arguments.
  44966. + # Libtool will interpret -1 as no limit whatsoever
  44967. + lt_cv_sys_max_cmd_len=-1;
  44968. + ;;
  44969. +
  44970. + cygwin* | mingw* | cegcc*)
  44971. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  44972. + # about 5 minutes as the teststring grows exponentially.
  44973. + # Worse, since 9x/ME are not pre-emptively multitasking,
  44974. + # you end up with a "frozen" computer, even though with patience
  44975. + # the test eventually succeeds (with a max line length of 256k).
  44976. + # Instead, let's just punt: use the minimum linelength reported by
  44977. + # all of the supported platforms: 8192 (on NT/2K/XP).
  44978. + lt_cv_sys_max_cmd_len=8192;
  44979. + ;;
  44980. +
  44981. + mint*)
  44982. + # On MiNT this can take a long time and run out of memory.
  44983. + lt_cv_sys_max_cmd_len=8192;
  44984. + ;;
  44985. +
  44986. + amigaos*)
  44987. + # On AmigaOS with pdksh, this test takes hours, literally.
  44988. + # So we just punt and use a minimum line length of 8192.
  44989. + lt_cv_sys_max_cmd_len=8192;
  44990. + ;;
  44991. +
  44992. + bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
  44993. + # This has been around since 386BSD, at least. Likely further.
  44994. + if test -x /sbin/sysctl; then
  44995. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  44996. + elif test -x /usr/sbin/sysctl; then
  44997. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  44998. + else
  44999. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  45000. + fi
  45001. + # And add a safety zone
  45002. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  45003. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  45004. + ;;
  45005. +
  45006. + interix*)
  45007. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  45008. + lt_cv_sys_max_cmd_len=196608
  45009. + ;;
  45010. +
  45011. + os2*)
  45012. + # The test takes a long time on OS/2.
  45013. + lt_cv_sys_max_cmd_len=8192
  45014. + ;;
  45015. +
  45016. + osf*)
  45017. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  45018. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  45019. + # nice to cause kernel panics so lets avoid the loop below.
  45020. + # First set a reasonable default.
  45021. + lt_cv_sys_max_cmd_len=16384
  45022. + #
  45023. + if test -x /sbin/sysconfig; then
  45024. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  45025. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  45026. + esac
  45027. + fi
  45028. + ;;
  45029. + sco3.2v5*)
  45030. + lt_cv_sys_max_cmd_len=102400
  45031. + ;;
  45032. + sysv5* | sco5v6* | sysv4.2uw2*)
  45033. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  45034. + if test -n "$kargmax"; then
  45035. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  45036. + else
  45037. + lt_cv_sys_max_cmd_len=32768
  45038. + fi
  45039. + ;;
  45040. + *)
  45041. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  45042. + if test -n "$lt_cv_sys_max_cmd_len" && \
  45043. + test undefined != "$lt_cv_sys_max_cmd_len"; then
  45044. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  45045. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  45046. + else
  45047. + # Make teststring a little bigger before we do anything with it.
  45048. + # a 1K string should be a reasonable start.
  45049. + for i in 1 2 3 4 5 6 7 8; do
  45050. + teststring=$teststring$teststring
  45051. + done
  45052. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  45053. + # If test is not a shell built-in, we'll probably end up computing a
  45054. + # maximum length that is only half of the actual maximum length, but
  45055. + # we can't tell.
  45056. + while { test X`env echo "$teststring$teststring" 2>/dev/null` \
  45057. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  45058. + test 17 != "$i" # 1/2 MB should be enough
  45059. + do
  45060. + i=`expr $i + 1`
  45061. + teststring=$teststring$teststring
  45062. + done
  45063. + # Only check the string length outside the loop.
  45064. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  45065. + teststring=
  45066. + # Add a significant safety factor because C++ compilers can tack on
  45067. + # massive amounts of additional arguments before passing them to the
  45068. + # linker. It appears as though 1/2 is a usable value.
  45069. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  45070. + fi
  45071. + ;;
  45072. + esac
  45073. +
  45074. +fi
  45075. +
  45076. +if test -n "$lt_cv_sys_max_cmd_len"; then
  45077. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  45078. +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  45079. +else
  45080. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  45081. +$as_echo "none" >&6; }
  45082. +fi
  45083. +max_cmd_len=$lt_cv_sys_max_cmd_len
  45084. +
  45085. +
  45086. +
  45087. +
  45088. +
  45089. +
  45090. +: ${CP="cp -f"}
  45091. +: ${MV="mv -f"}
  45092. +: ${RM="rm -f"}
  45093. +
  45094. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  45095. + lt_unset=unset
  45096. +else
  45097. + lt_unset=false
  45098. +fi
  45099. +
  45100. +
  45101. +
  45102. +
  45103. +
  45104. +# test EBCDIC or ASCII
  45105. +case `echo X|tr X '\101'` in
  45106. + A) # ASCII based system
  45107. + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  45108. + lt_SP2NL='tr \040 \012'
  45109. + lt_NL2SP='tr \015\012 \040\040'
  45110. + ;;
  45111. + *) # EBCDIC based system
  45112. + lt_SP2NL='tr \100 \n'
  45113. + lt_NL2SP='tr \r\n \100\100'
  45114. + ;;
  45115. +esac
  45116. +
  45117. +
  45118. +
  45119. +
  45120. +
  45121. +
  45122. +
  45123. +
  45124. +
  45125. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  45126. +$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  45127. +if ${lt_cv_to_host_file_cmd+:} false; then :
  45128. + $as_echo_n "(cached) " >&6
  45129. +else
  45130. + case $host in
  45131. + *-*-mingw* )
  45132. + case $build in
  45133. + *-*-mingw* ) # actually msys
  45134. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  45135. + ;;
  45136. + *-*-cygwin* )
  45137. + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  45138. + ;;
  45139. + * ) # otherwise, assume *nix
  45140. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  45141. + ;;
  45142. + esac
  45143. + ;;
  45144. + *-*-cygwin* )
  45145. + case $build in
  45146. + *-*-mingw* ) # actually msys
  45147. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  45148. + ;;
  45149. + *-*-cygwin* )
  45150. + lt_cv_to_host_file_cmd=func_convert_file_noop
  45151. + ;;
  45152. + * ) # otherwise, assume *nix
  45153. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  45154. + ;;
  45155. + esac
  45156. + ;;
  45157. + * ) # unhandled hosts (and "normal" native builds)
  45158. + lt_cv_to_host_file_cmd=func_convert_file_noop
  45159. + ;;
  45160. +esac
  45161. +
  45162. +fi
  45163. +
  45164. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  45165. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  45166. +$as_echo "$lt_cv_to_host_file_cmd" >&6; }
  45167. +
  45168. +
  45169. +
  45170. +
  45171. +
  45172. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  45173. +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  45174. +if ${lt_cv_to_tool_file_cmd+:} false; then :
  45175. + $as_echo_n "(cached) " >&6
  45176. +else
  45177. + #assume ordinary cross tools, or native build.
  45178. +lt_cv_to_tool_file_cmd=func_convert_file_noop
  45179. +case $host in
  45180. + *-*-mingw* )
  45181. + case $build in
  45182. + *-*-mingw* ) # actually msys
  45183. + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  45184. + ;;
  45185. + esac
  45186. + ;;
  45187. +esac
  45188. +
  45189. +fi
  45190. +
  45191. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  45192. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  45193. +$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  45194. +
  45195. +
  45196. +
  45197. +
  45198. +
  45199. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  45200. +$as_echo_n "checking for $LD option to reload object files... " >&6; }
  45201. +if ${lt_cv_ld_reload_flag+:} false; then :
  45202. + $as_echo_n "(cached) " >&6
  45203. +else
  45204. + lt_cv_ld_reload_flag='-r'
  45205. +fi
  45206. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  45207. +$as_echo "$lt_cv_ld_reload_flag" >&6; }
  45208. +reload_flag=$lt_cv_ld_reload_flag
  45209. +case $reload_flag in
  45210. +"" | " "*) ;;
  45211. +*) reload_flag=" $reload_flag" ;;
  45212. +esac
  45213. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  45214. +case $host_os in
  45215. + cygwin* | mingw* | pw32* | cegcc*)
  45216. + if test yes != "$GCC"; then
  45217. + reload_cmds=false
  45218. + fi
  45219. + ;;
  45220. + darwin*)
  45221. + if test yes = "$GCC"; then
  45222. + reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
  45223. + else
  45224. + reload_cmds='$LD$reload_flag -o $output$reload_objs'
  45225. + fi
  45226. + ;;
  45227. +esac
  45228. +
  45229. +
  45230. +
  45231. +
  45232. +
  45233. +
  45234. +
  45235. +
  45236. +
  45237. +if test -n "$ac_tool_prefix"; then
  45238. + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  45239. +set dummy ${ac_tool_prefix}objdump; ac_word=$2
  45240. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45241. +$as_echo_n "checking for $ac_word... " >&6; }
  45242. +if ${ac_cv_prog_OBJDUMP+:} false; then :
  45243. + $as_echo_n "(cached) " >&6
  45244. +else
  45245. + if test -n "$OBJDUMP"; then
  45246. + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  45247. +else
  45248. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  45249. +for as_dir in $PATH
  45250. +do
  45251. + IFS=$as_save_IFS
  45252. + test -z "$as_dir" && as_dir=.
  45253. + for ac_exec_ext in '' $ac_executable_extensions; do
  45254. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  45255. + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  45256. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  45257. + break 2
  45258. + fi
  45259. +done
  45260. + done
  45261. +IFS=$as_save_IFS
  45262. +
  45263. +fi
  45264. +fi
  45265. +OBJDUMP=$ac_cv_prog_OBJDUMP
  45266. +if test -n "$OBJDUMP"; then
  45267. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  45268. +$as_echo "$OBJDUMP" >&6; }
  45269. +else
  45270. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  45271. +$as_echo "no" >&6; }
  45272. +fi
  45273. +
  45274. +
  45275. +fi
  45276. +if test -z "$ac_cv_prog_OBJDUMP"; then
  45277. + ac_ct_OBJDUMP=$OBJDUMP
  45278. + # Extract the first word of "objdump", so it can be a program name with args.
  45279. +set dummy objdump; ac_word=$2
  45280. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45281. +$as_echo_n "checking for $ac_word... " >&6; }
  45282. +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  45283. + $as_echo_n "(cached) " >&6
  45284. +else
  45285. + if test -n "$ac_ct_OBJDUMP"; then
  45286. + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  45287. +else
  45288. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  45289. +for as_dir in $PATH
  45290. +do
  45291. + IFS=$as_save_IFS
  45292. + test -z "$as_dir" && as_dir=.
  45293. + for ac_exec_ext in '' $ac_executable_extensions; do
  45294. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  45295. + ac_cv_prog_ac_ct_OBJDUMP="objdump"
  45296. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  45297. + break 2
  45298. + fi
  45299. +done
  45300. + done
  45301. +IFS=$as_save_IFS
  45302. +
  45303. +fi
  45304. +fi
  45305. +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  45306. +if test -n "$ac_ct_OBJDUMP"; then
  45307. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  45308. +$as_echo "$ac_ct_OBJDUMP" >&6; }
  45309. +else
  45310. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  45311. +$as_echo "no" >&6; }
  45312. +fi
  45313. +
  45314. + if test "x$ac_ct_OBJDUMP" = x; then
  45315. + OBJDUMP="false"
  45316. + else
  45317. + case $cross_compiling:$ac_tool_warned in
  45318. +yes:)
  45319. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  45320. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  45321. +ac_tool_warned=yes ;;
  45322. +esac
  45323. + OBJDUMP=$ac_ct_OBJDUMP
  45324. + fi
  45325. +else
  45326. + OBJDUMP="$ac_cv_prog_OBJDUMP"
  45327. +fi
  45328. +
  45329. +test -z "$OBJDUMP" && OBJDUMP=objdump
  45330. +
  45331. +
  45332. +
  45333. +
  45334. +
  45335. +
  45336. +
  45337. +
  45338. +
  45339. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  45340. +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
  45341. +if ${lt_cv_deplibs_check_method+:} false; then :
  45342. + $as_echo_n "(cached) " >&6
  45343. +else
  45344. + lt_cv_file_magic_cmd='$MAGIC_CMD'
  45345. +lt_cv_file_magic_test_file=
  45346. +lt_cv_deplibs_check_method='unknown'
  45347. +# Need to set the preceding variable on all platforms that support
  45348. +# interlibrary dependencies.
  45349. +# 'none' -- dependencies not supported.
  45350. +# 'unknown' -- same as none, but documents that we really don't know.
  45351. +# 'pass_all' -- all dependencies passed with no checks.
  45352. +# 'test_compile' -- check by making test program.
  45353. +# 'file_magic [[regex]]' -- check by looking for files in library path
  45354. +# that responds to the $file_magic_cmd with a given extended regex.
  45355. +# If you have 'file' or equivalent on your system and you're not sure
  45356. +# whether 'pass_all' will *always* work, you probably want this one.
  45357. +
  45358. +case $host_os in
  45359. +aix[4-9]*)
  45360. + lt_cv_deplibs_check_method=pass_all
  45361. + ;;
  45362. +
  45363. +beos*)
  45364. + lt_cv_deplibs_check_method=pass_all
  45365. + ;;
  45366. +
  45367. +bsdi[45]*)
  45368. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  45369. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  45370. + lt_cv_file_magic_test_file=/shlib/libc.so
  45371. + ;;
  45372. +
  45373. +cygwin*)
  45374. + # func_win32_libid is a shell function defined in ltmain.sh
  45375. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  45376. + lt_cv_file_magic_cmd='func_win32_libid'
  45377. + ;;
  45378. +
  45379. +mingw* | pw32*)
  45380. + # Base MSYS/MinGW do not provide the 'file' command needed by
  45381. + # func_win32_libid shell function, so use a weaker test based on 'objdump',
  45382. + # unless we find 'file', for example because we are cross-compiling.
  45383. + if ( file / ) >/dev/null 2>&1; then
  45384. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  45385. + lt_cv_file_magic_cmd='func_win32_libid'
  45386. + else
  45387. + # Keep this pattern in sync with the one in func_win32_libid.
  45388. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  45389. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  45390. + fi
  45391. + ;;
  45392. +
  45393. +cegcc*)
  45394. + # use the weaker test based on 'objdump'. See mingw*.
  45395. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  45396. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  45397. + ;;
  45398. +
  45399. +darwin* | rhapsody*)
  45400. + lt_cv_deplibs_check_method=pass_all
  45401. + ;;
  45402. +
  45403. +freebsd* | dragonfly*)
  45404. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  45405. + case $host_cpu in
  45406. + i*86 )
  45407. + # Not sure whether the presence of OpenBSD here was a mistake.
  45408. + # Let's accept both of them until this is cleared up.
  45409. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  45410. + lt_cv_file_magic_cmd=/usr/bin/file
  45411. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  45412. + ;;
  45413. + esac
  45414. + else
  45415. + lt_cv_deplibs_check_method=pass_all
  45416. + fi
  45417. + ;;
  45418. +
  45419. +haiku*)
  45420. + lt_cv_deplibs_check_method=pass_all
  45421. + ;;
  45422. +
  45423. +hpux10.20* | hpux11*)
  45424. + lt_cv_file_magic_cmd=/usr/bin/file
  45425. + case $host_cpu in
  45426. + ia64*)
  45427. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  45428. + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  45429. + ;;
  45430. + hppa*64*)
  45431. + 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]'
  45432. + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  45433. + ;;
  45434. + *)
  45435. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  45436. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  45437. + ;;
  45438. + esac
  45439. + ;;
  45440. +
  45441. +interix[3-9]*)
  45442. + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  45443. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  45444. + ;;
  45445. +
  45446. +irix5* | irix6* | nonstopux*)
  45447. + case $LD in
  45448. + *-32|*"-32 ") libmagic=32-bit;;
  45449. + *-n32|*"-n32 ") libmagic=N32;;
  45450. + *-64|*"-64 ") libmagic=64-bit;;
  45451. + *) libmagic=never-match;;
  45452. + esac
  45453. + lt_cv_deplibs_check_method=pass_all
  45454. + ;;
  45455. +
  45456. +# This must be glibc/ELF.
  45457. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  45458. + lt_cv_deplibs_check_method=pass_all
  45459. + ;;
  45460. +
  45461. +netbsd*)
  45462. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  45463. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  45464. + else
  45465. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  45466. + fi
  45467. + ;;
  45468. +
  45469. +newos6*)
  45470. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  45471. + lt_cv_file_magic_cmd=/usr/bin/file
  45472. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  45473. + ;;
  45474. +
  45475. +*nto* | *qnx*)
  45476. + lt_cv_deplibs_check_method=pass_all
  45477. + ;;
  45478. +
  45479. +openbsd* | bitrig*)
  45480. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  45481. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  45482. + else
  45483. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  45484. + fi
  45485. + ;;
  45486. +
  45487. +osf3* | osf4* | osf5*)
  45488. + lt_cv_deplibs_check_method=pass_all
  45489. + ;;
  45490. +
  45491. +rdos*)
  45492. + lt_cv_deplibs_check_method=pass_all
  45493. + ;;
  45494. +
  45495. +solaris*)
  45496. + lt_cv_deplibs_check_method=pass_all
  45497. + ;;
  45498. +
  45499. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  45500. + lt_cv_deplibs_check_method=pass_all
  45501. + ;;
  45502. +
  45503. +sysv4 | sysv4.3*)
  45504. + case $host_vendor in
  45505. + motorola)
  45506. + 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]'
  45507. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  45508. + ;;
  45509. + ncr)
  45510. + lt_cv_deplibs_check_method=pass_all
  45511. + ;;
  45512. + sequent)
  45513. + lt_cv_file_magic_cmd='/bin/file'
  45514. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  45515. + ;;
  45516. + sni)
  45517. + lt_cv_file_magic_cmd='/bin/file'
  45518. + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  45519. + lt_cv_file_magic_test_file=/lib/libc.so
  45520. + ;;
  45521. + siemens)
  45522. + lt_cv_deplibs_check_method=pass_all
  45523. + ;;
  45524. + pc)
  45525. + lt_cv_deplibs_check_method=pass_all
  45526. + ;;
  45527. + esac
  45528. + ;;
  45529. +
  45530. +tpf*)
  45531. + lt_cv_deplibs_check_method=pass_all
  45532. + ;;
  45533. +os2*)
  45534. + lt_cv_deplibs_check_method=pass_all
  45535. + ;;
  45536. +esac
  45537. +
  45538. +fi
  45539. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  45540. +$as_echo "$lt_cv_deplibs_check_method" >&6; }
  45541. +
  45542. +file_magic_glob=
  45543. +want_nocaseglob=no
  45544. +if test "$build" = "$host"; then
  45545. + case $host_os in
  45546. + mingw* | pw32*)
  45547. + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  45548. + want_nocaseglob=yes
  45549. + else
  45550. + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  45551. + fi
  45552. + ;;
  45553. + esac
  45554. +fi
  45555. +
  45556. +file_magic_cmd=$lt_cv_file_magic_cmd
  45557. +deplibs_check_method=$lt_cv_deplibs_check_method
  45558. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  45559. +
  45560. +
  45561. +
  45562. +
  45563. +
  45564. +
  45565. +
  45566. +
  45567. +
  45568. +
  45569. +
  45570. +
  45571. +
  45572. +
  45573. +
  45574. +
  45575. +
  45576. +
  45577. +
  45578. +
  45579. +
  45580. +
  45581. +if test -n "$ac_tool_prefix"; then
  45582. + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  45583. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  45584. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45585. +$as_echo_n "checking for $ac_word... " >&6; }
  45586. +if ${ac_cv_prog_DLLTOOL+:} false; then :
  45587. + $as_echo_n "(cached) " >&6
  45588. +else
  45589. + if test -n "$DLLTOOL"; then
  45590. + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  45591. +else
  45592. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  45593. +for as_dir in $PATH
  45594. +do
  45595. + IFS=$as_save_IFS
  45596. + test -z "$as_dir" && as_dir=.
  45597. + for ac_exec_ext in '' $ac_executable_extensions; do
  45598. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  45599. + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  45600. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  45601. + break 2
  45602. + fi
  45603. +done
  45604. + done
  45605. +IFS=$as_save_IFS
  45606. +
  45607. +fi
  45608. +fi
  45609. +DLLTOOL=$ac_cv_prog_DLLTOOL
  45610. +if test -n "$DLLTOOL"; then
  45611. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  45612. +$as_echo "$DLLTOOL" >&6; }
  45613. +else
  45614. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  45615. +$as_echo "no" >&6; }
  45616. +fi
  45617. +
  45618. +
  45619. +fi
  45620. +if test -z "$ac_cv_prog_DLLTOOL"; then
  45621. + ac_ct_DLLTOOL=$DLLTOOL
  45622. + # Extract the first word of "dlltool", so it can be a program name with args.
  45623. +set dummy dlltool; ac_word=$2
  45624. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45625. +$as_echo_n "checking for $ac_word... " >&6; }
  45626. +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  45627. + $as_echo_n "(cached) " >&6
  45628. +else
  45629. + if test -n "$ac_ct_DLLTOOL"; then
  45630. + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  45631. +else
  45632. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  45633. +for as_dir in $PATH
  45634. +do
  45635. + IFS=$as_save_IFS
  45636. + test -z "$as_dir" && as_dir=.
  45637. + for ac_exec_ext in '' $ac_executable_extensions; do
  45638. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  45639. + ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  45640. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  45641. + break 2
  45642. + fi
  45643. +done
  45644. + done
  45645. +IFS=$as_save_IFS
  45646. +
  45647. +fi
  45648. +fi
  45649. +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  45650. +if test -n "$ac_ct_DLLTOOL"; then
  45651. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  45652. +$as_echo "$ac_ct_DLLTOOL" >&6; }
  45653. +else
  45654. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  45655. +$as_echo "no" >&6; }
  45656. +fi
  45657. +
  45658. + if test "x$ac_ct_DLLTOOL" = x; then
  45659. + DLLTOOL="false"
  45660. + else
  45661. + case $cross_compiling:$ac_tool_warned in
  45662. +yes:)
  45663. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  45664. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  45665. +ac_tool_warned=yes ;;
  45666. +esac
  45667. + DLLTOOL=$ac_ct_DLLTOOL
  45668. + fi
  45669. +else
  45670. + DLLTOOL="$ac_cv_prog_DLLTOOL"
  45671. +fi
  45672. +
  45673. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  45674. +
  45675. +
  45676. +
  45677. +
  45678. +
  45679. +
  45680. +
  45681. +
  45682. +
  45683. +
  45684. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  45685. +$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  45686. +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  45687. + $as_echo_n "(cached) " >&6
  45688. +else
  45689. + lt_cv_sharedlib_from_linklib_cmd='unknown'
  45690. +
  45691. +case $host_os in
  45692. +cygwin* | mingw* | pw32* | cegcc*)
  45693. + # two different shell functions defined in ltmain.sh;
  45694. + # decide which one to use based on capabilities of $DLLTOOL
  45695. + case `$DLLTOOL --help 2>&1` in
  45696. + *--identify-strict*)
  45697. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  45698. + ;;
  45699. + *)
  45700. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  45701. + ;;
  45702. + esac
  45703. + ;;
  45704. +*)
  45705. + # fallback: assume linklib IS sharedlib
  45706. + lt_cv_sharedlib_from_linklib_cmd=$ECHO
  45707. + ;;
  45708. +esac
  45709. +
  45710. +fi
  45711. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  45712. +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  45713. +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  45714. +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  45715. +
  45716. +
  45717. +
  45718. +
  45719. +
  45720. +
  45721. +
  45722. +
  45723. +if test -n "$ac_tool_prefix"; then
  45724. + for ac_prog in ar
  45725. + do
  45726. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  45727. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  45728. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45729. +$as_echo_n "checking for $ac_word... " >&6; }
  45730. +if ${ac_cv_prog_AR+:} false; then :
  45731. + $as_echo_n "(cached) " >&6
  45732. +else
  45733. + if test -n "$AR"; then
  45734. + ac_cv_prog_AR="$AR" # Let the user override the test.
  45735. +else
  45736. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  45737. +for as_dir in $PATH
  45738. +do
  45739. + IFS=$as_save_IFS
  45740. + test -z "$as_dir" && as_dir=.
  45741. + for ac_exec_ext in '' $ac_executable_extensions; do
  45742. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  45743. + ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  45744. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  45745. + break 2
  45746. + fi
  45747. +done
  45748. + done
  45749. +IFS=$as_save_IFS
  45750. +
  45751. +fi
  45752. +fi
  45753. +AR=$ac_cv_prog_AR
  45754. +if test -n "$AR"; then
  45755. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  45756. +$as_echo "$AR" >&6; }
  45757. +else
  45758. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  45759. +$as_echo "no" >&6; }
  45760. +fi
  45761. +
  45762. +
  45763. + test -n "$AR" && break
  45764. + done
  45765. +fi
  45766. +if test -z "$AR"; then
  45767. + ac_ct_AR=$AR
  45768. + for ac_prog in ar
  45769. +do
  45770. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  45771. +set dummy $ac_prog; ac_word=$2
  45772. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45773. +$as_echo_n "checking for $ac_word... " >&6; }
  45774. +if ${ac_cv_prog_ac_ct_AR+:} false; then :
  45775. + $as_echo_n "(cached) " >&6
  45776. +else
  45777. + if test -n "$ac_ct_AR"; then
  45778. + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  45779. +else
  45780. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  45781. +for as_dir in $PATH
  45782. +do
  45783. + IFS=$as_save_IFS
  45784. + test -z "$as_dir" && as_dir=.
  45785. + for ac_exec_ext in '' $ac_executable_extensions; do
  45786. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  45787. + ac_cv_prog_ac_ct_AR="$ac_prog"
  45788. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  45789. + break 2
  45790. + fi
  45791. +done
  45792. + done
  45793. +IFS=$as_save_IFS
  45794. +
  45795. +fi
  45796. +fi
  45797. +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  45798. +if test -n "$ac_ct_AR"; then
  45799. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  45800. +$as_echo "$ac_ct_AR" >&6; }
  45801. +else
  45802. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  45803. +$as_echo "no" >&6; }
  45804. +fi
  45805. +
  45806. +
  45807. + test -n "$ac_ct_AR" && break
  45808. +done
  45809. +
  45810. + if test "x$ac_ct_AR" = x; then
  45811. + AR="false"
  45812. + else
  45813. + case $cross_compiling:$ac_tool_warned in
  45814. +yes:)
  45815. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  45816. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  45817. +ac_tool_warned=yes ;;
  45818. +esac
  45819. + AR=$ac_ct_AR
  45820. + fi
  45821. +fi
  45822. +
  45823. +: ${AR=ar}
  45824. +: ${AR_FLAGS=cru}
  45825. +
  45826. +
  45827. +
  45828. +
  45829. +
  45830. +
  45831. +
  45832. +
  45833. +
  45834. +
  45835. +
  45836. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  45837. +$as_echo_n "checking for archiver @FILE support... " >&6; }
  45838. +if ${lt_cv_ar_at_file+:} false; then :
  45839. + $as_echo_n "(cached) " >&6
  45840. +else
  45841. + lt_cv_ar_at_file=no
  45842. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  45843. +/* end confdefs.h. */
  45844. +
  45845. +int
  45846. +main ()
  45847. +{
  45848. +
  45849. + ;
  45850. + return 0;
  45851. +}
  45852. +_ACEOF
  45853. +if ac_fn_c_try_compile "$LINENO"; then :
  45854. + echo conftest.$ac_objext > conftest.lst
  45855. + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  45856. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  45857. + (eval $lt_ar_try) 2>&5
  45858. + ac_status=$?
  45859. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  45860. + test $ac_status = 0; }
  45861. + if test 0 -eq "$ac_status"; then
  45862. + # Ensure the archiver fails upon bogus file names.
  45863. + rm -f conftest.$ac_objext libconftest.a
  45864. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  45865. + (eval $lt_ar_try) 2>&5
  45866. + ac_status=$?
  45867. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  45868. + test $ac_status = 0; }
  45869. + if test 0 -ne "$ac_status"; then
  45870. + lt_cv_ar_at_file=@
  45871. + fi
  45872. + fi
  45873. + rm -f conftest.* libconftest.a
  45874. +
  45875. +fi
  45876. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  45877. +
  45878. +fi
  45879. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  45880. +$as_echo "$lt_cv_ar_at_file" >&6; }
  45881. +
  45882. +if test no = "$lt_cv_ar_at_file"; then
  45883. + archiver_list_spec=
  45884. +else
  45885. + archiver_list_spec=$lt_cv_ar_at_file
  45886. +fi
  45887. +
  45888. +
  45889. +
  45890. +
  45891. +
  45892. +
  45893. +
  45894. +if test -n "$ac_tool_prefix"; then
  45895. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  45896. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  45897. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45898. +$as_echo_n "checking for $ac_word... " >&6; }
  45899. +if ${ac_cv_prog_STRIP+:} false; then :
  45900. + $as_echo_n "(cached) " >&6
  45901. +else
  45902. + if test -n "$STRIP"; then
  45903. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  45904. +else
  45905. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  45906. +for as_dir in $PATH
  45907. +do
  45908. + IFS=$as_save_IFS
  45909. + test -z "$as_dir" && as_dir=.
  45910. + for ac_exec_ext in '' $ac_executable_extensions; do
  45911. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  45912. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  45913. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  45914. + break 2
  45915. + fi
  45916. +done
  45917. + done
  45918. +IFS=$as_save_IFS
  45919. +
  45920. +fi
  45921. +fi
  45922. +STRIP=$ac_cv_prog_STRIP
  45923. +if test -n "$STRIP"; then
  45924. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  45925. +$as_echo "$STRIP" >&6; }
  45926. +else
  45927. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  45928. +$as_echo "no" >&6; }
  45929. +fi
  45930. +
  45931. +
  45932. +fi
  45933. +if test -z "$ac_cv_prog_STRIP"; then
  45934. + ac_ct_STRIP=$STRIP
  45935. + # Extract the first word of "strip", so it can be a program name with args.
  45936. +set dummy strip; ac_word=$2
  45937. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45938. +$as_echo_n "checking for $ac_word... " >&6; }
  45939. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  45940. + $as_echo_n "(cached) " >&6
  45941. +else
  45942. + if test -n "$ac_ct_STRIP"; then
  45943. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  45944. +else
  45945. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  45946. +for as_dir in $PATH
  45947. +do
  45948. + IFS=$as_save_IFS
  45949. + test -z "$as_dir" && as_dir=.
  45950. + for ac_exec_ext in '' $ac_executable_extensions; do
  45951. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  45952. + ac_cv_prog_ac_ct_STRIP="strip"
  45953. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  45954. + break 2
  45955. + fi
  45956. +done
  45957. + done
  45958. +IFS=$as_save_IFS
  45959. +
  45960. +fi
  45961. +fi
  45962. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  45963. +if test -n "$ac_ct_STRIP"; then
  45964. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  45965. +$as_echo "$ac_ct_STRIP" >&6; }
  45966. +else
  45967. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  45968. +$as_echo "no" >&6; }
  45969. +fi
  45970. +
  45971. + if test "x$ac_ct_STRIP" = x; then
  45972. + STRIP=":"
  45973. + else
  45974. + case $cross_compiling:$ac_tool_warned in
  45975. +yes:)
  45976. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  45977. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  45978. +ac_tool_warned=yes ;;
  45979. +esac
  45980. + STRIP=$ac_ct_STRIP
  45981. + fi
  45982. +else
  45983. + STRIP="$ac_cv_prog_STRIP"
  45984. +fi
  45985. +
  45986. +test -z "$STRIP" && STRIP=:
  45987. +
  45988. +
  45989. +
  45990. +
  45991. +
  45992. +
  45993. +if test -n "$ac_tool_prefix"; then
  45994. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  45995. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  45996. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45997. +$as_echo_n "checking for $ac_word... " >&6; }
  45998. +if ${ac_cv_prog_RANLIB+:} false; then :
  45999. + $as_echo_n "(cached) " >&6
  46000. +else
  46001. + if test -n "$RANLIB"; then
  46002. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  46003. +else
  46004. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  46005. +for as_dir in $PATH
  46006. +do
  46007. + IFS=$as_save_IFS
  46008. + test -z "$as_dir" && as_dir=.
  46009. + for ac_exec_ext in '' $ac_executable_extensions; do
  46010. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  46011. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  46012. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  46013. + break 2
  46014. + fi
  46015. +done
  46016. + done
  46017. +IFS=$as_save_IFS
  46018. +
  46019. +fi
  46020. +fi
  46021. +RANLIB=$ac_cv_prog_RANLIB
  46022. +if test -n "$RANLIB"; then
  46023. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  46024. +$as_echo "$RANLIB" >&6; }
  46025. +else
  46026. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  46027. +$as_echo "no" >&6; }
  46028. +fi
  46029. +
  46030. +
  46031. +fi
  46032. +if test -z "$ac_cv_prog_RANLIB"; then
  46033. + ac_ct_RANLIB=$RANLIB
  46034. + # Extract the first word of "ranlib", so it can be a program name with args.
  46035. +set dummy ranlib; ac_word=$2
  46036. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  46037. +$as_echo_n "checking for $ac_word... " >&6; }
  46038. +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  46039. + $as_echo_n "(cached) " >&6
  46040. +else
  46041. + if test -n "$ac_ct_RANLIB"; then
  46042. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  46043. +else
  46044. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  46045. +for as_dir in $PATH
  46046. +do
  46047. + IFS=$as_save_IFS
  46048. + test -z "$as_dir" && as_dir=.
  46049. + for ac_exec_ext in '' $ac_executable_extensions; do
  46050. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  46051. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  46052. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  46053. + break 2
  46054. + fi
  46055. +done
  46056. + done
  46057. +IFS=$as_save_IFS
  46058. +
  46059. +fi
  46060. +fi
  46061. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  46062. +if test -n "$ac_ct_RANLIB"; then
  46063. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  46064. +$as_echo "$ac_ct_RANLIB" >&6; }
  46065. +else
  46066. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  46067. +$as_echo "no" >&6; }
  46068. +fi
  46069. +
  46070. + if test "x$ac_ct_RANLIB" = x; then
  46071. + RANLIB=":"
  46072. + else
  46073. + case $cross_compiling:$ac_tool_warned in
  46074. +yes:)
  46075. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  46076. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  46077. +ac_tool_warned=yes ;;
  46078. +esac
  46079. + RANLIB=$ac_ct_RANLIB
  46080. + fi
  46081. +else
  46082. + RANLIB="$ac_cv_prog_RANLIB"
  46083. +fi
  46084. +
  46085. +test -z "$RANLIB" && RANLIB=:
  46086. +
  46087. +
  46088. +
  46089. +
  46090. +
  46091. +
  46092. +# Determine commands to create old-style static archives.
  46093. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  46094. +old_postinstall_cmds='chmod 644 $oldlib'
  46095. +old_postuninstall_cmds=
  46096. +
  46097. +if test -n "$RANLIB"; then
  46098. + case $host_os in
  46099. + bitrig* | openbsd*)
  46100. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  46101. + ;;
  46102. + *)
  46103. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  46104. + ;;
  46105. + esac
  46106. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  46107. +fi
  46108. +
  46109. +case $host_os in
  46110. + darwin*)
  46111. + lock_old_archive_extraction=yes ;;
  46112. + *)
  46113. + lock_old_archive_extraction=no ;;
  46114. +esac
  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. +
  46150. +
  46151. +
  46152. +
  46153. +
  46154. +# If no C compiler was specified, use CC.
  46155. +LTCC=${LTCC-"$CC"}
  46156. +
  46157. +# If no C compiler flags were specified, use CFLAGS.
  46158. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  46159. +
  46160. +# Allow CC to be a program name with arguments.
  46161. +compiler=$CC
  46162. +
  46163. +
  46164. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  46165. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  46166. +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  46167. +if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  46168. + $as_echo_n "(cached) " >&6
  46169. +else
  46170. +
  46171. +# These are sane defaults that work on at least a few old systems.
  46172. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  46173. +
  46174. +# Character class describing NM global symbol codes.
  46175. +symcode='[BCDEGRST]'
  46176. +
  46177. +# Regexp to match symbols that can be accessed directly from C.
  46178. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  46179. +
  46180. +# Define system-specific variables.
  46181. +case $host_os in
  46182. +aix*)
  46183. + symcode='[BCDT]'
  46184. + ;;
  46185. +cygwin* | mingw* | pw32* | cegcc*)
  46186. + symcode='[ABCDGISTW]'
  46187. + ;;
  46188. +hpux*)
  46189. + if test ia64 = "$host_cpu"; then
  46190. + symcode='[ABCDEGRST]'
  46191. + fi
  46192. + ;;
  46193. +irix* | nonstopux*)
  46194. + symcode='[BCDEGRST]'
  46195. + ;;
  46196. +osf*)
  46197. + symcode='[BCDEGQRST]'
  46198. + ;;
  46199. +solaris*)
  46200. + symcode='[BDRT]'
  46201. + ;;
  46202. +sco3.2v5*)
  46203. + symcode='[DT]'
  46204. + ;;
  46205. +sysv4.2uw2*)
  46206. + symcode='[DT]'
  46207. + ;;
  46208. +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  46209. + symcode='[ABDT]'
  46210. + ;;
  46211. +sysv4)
  46212. + symcode='[DFNSTU]'
  46213. + ;;
  46214. +esac
  46215. +
  46216. +# If we're using GNU nm, then use its standard symbol codes.
  46217. +case `$NM -V 2>&1` in
  46218. +*GNU* | *'with BFD'*)
  46219. + symcode='[ABCDGIRSTW]' ;;
  46220. +esac
  46221. +
  46222. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  46223. + # Gets list of data symbols to import.
  46224. + lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
  46225. + # Adjust the below global symbol transforms to fixup imported variables.
  46226. + lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
  46227. + lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
  46228. + lt_c_name_lib_hook="\
  46229. + -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
  46230. + -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
  46231. +else
  46232. + # Disable hooks by default.
  46233. + lt_cv_sys_global_symbol_to_import=
  46234. + lt_cdecl_hook=
  46235. + lt_c_name_hook=
  46236. + lt_c_name_lib_hook=
  46237. +fi
  46238. +
  46239. +# Transform an extracted symbol line into a proper C declaration.
  46240. +# Some systems (esp. on ia64) link data and code symbols differently,
  46241. +# so use this general approach.
  46242. +lt_cv_sys_global_symbol_to_cdecl="sed -n"\
  46243. +$lt_cdecl_hook\
  46244. +" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
  46245. +" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
  46246. +
  46247. +# Transform an extracted symbol line into symbol name and symbol address
  46248. +lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
  46249. +$lt_c_name_hook\
  46250. +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  46251. +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
  46252. +
  46253. +# Transform an extracted symbol line into symbol name with lib prefix and
  46254. +# symbol address.
  46255. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
  46256. +$lt_c_name_lib_hook\
  46257. +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  46258. +" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
  46259. +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
  46260. +
  46261. +# Handle CRLF in mingw tool chain
  46262. +opt_cr=
  46263. +case $build_os in
  46264. +mingw*)
  46265. + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  46266. + ;;
  46267. +esac
  46268. +
  46269. +# Try without a prefix underscore, then with it.
  46270. +for ac_symprfx in "" "_"; do
  46271. +
  46272. + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  46273. + symxfrm="\\1 $ac_symprfx\\2 \\2"
  46274. +
  46275. + # Write the raw and C identifiers.
  46276. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  46277. + # Fake it for dumpbin and say T for any non-static function,
  46278. + # D for any global variable and I for any imported variable.
  46279. + # Also find C++ and __fastcall symbols from MSVC++,
  46280. + # which start with @ or ?.
  46281. + lt_cv_sys_global_symbol_pipe="$AWK '"\
  46282. +" {last_section=section; section=\$ 3};"\
  46283. +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  46284. +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  46285. +" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
  46286. +" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
  46287. +" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
  46288. +" \$ 0!~/External *\|/{next};"\
  46289. +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  46290. +" {if(hide[section]) next};"\
  46291. +" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
  46292. +" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
  46293. +" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
  46294. +" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
  46295. +" ' prfx=^$ac_symprfx"
  46296. + else
  46297. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  46298. + fi
  46299. + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  46300. +
  46301. + # Check to see that the pipe works correctly.
  46302. + pipe_works=no
  46303. +
  46304. + rm -f conftest*
  46305. + cat > conftest.$ac_ext <<_LT_EOF
  46306. +#ifdef __cplusplus
  46307. +extern "C" {
  46308. +#endif
  46309. +char nm_test_var;
  46310. +void nm_test_func(void);
  46311. +void nm_test_func(void){}
  46312. +#ifdef __cplusplus
  46313. +}
  46314. +#endif
  46315. +int main(){nm_test_var='a';nm_test_func();return(0);}
  46316. +_LT_EOF
  46317. +
  46318. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  46319. + (eval $ac_compile) 2>&5
  46320. + ac_status=$?
  46321. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46322. + test $ac_status = 0; }; then
  46323. + # Now try to grab the symbols.
  46324. + nlist=conftest.nm
  46325. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  46326. + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  46327. + ac_status=$?
  46328. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46329. + test $ac_status = 0; } && test -s "$nlist"; then
  46330. + # Try sorting and uniquifying the output.
  46331. + if sort "$nlist" | uniq > "$nlist"T; then
  46332. + mv -f "$nlist"T "$nlist"
  46333. + else
  46334. + rm -f "$nlist"T
  46335. + fi
  46336. +
  46337. + # Make sure that we snagged all the symbols we need.
  46338. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  46339. + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  46340. + cat <<_LT_EOF > conftest.$ac_ext
  46341. +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  46342. +#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
  46343. +/* DATA imports from DLLs on WIN32 can't be const, because runtime
  46344. + relocations are performed -- see ld's documentation on pseudo-relocs. */
  46345. +# define LT@&t@_DLSYM_CONST
  46346. +#elif defined __osf__
  46347. +/* This system does not cope well with relocations in const data. */
  46348. +# define LT@&t@_DLSYM_CONST
  46349. +#else
  46350. +# define LT@&t@_DLSYM_CONST const
  46351. +#endif
  46352. +
  46353. +#ifdef __cplusplus
  46354. +extern "C" {
  46355. +#endif
  46356. +
  46357. +_LT_EOF
  46358. + # Now generate the symbol file.
  46359. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  46360. +
  46361. + cat <<_LT_EOF >> conftest.$ac_ext
  46362. +
  46363. +/* The mapping between symbol names and symbols. */
  46364. +LT@&t@_DLSYM_CONST struct {
  46365. + const char *name;
  46366. + void *address;
  46367. +}
  46368. +lt__PROGRAM__LTX_preloaded_symbols[] =
  46369. +{
  46370. + { "@PROGRAM@", (void *) 0 },
  46371. +_LT_EOF
  46372. + $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  46373. + cat <<\_LT_EOF >> conftest.$ac_ext
  46374. + {0, (void *) 0}
  46375. +};
  46376. +
  46377. +/* This works around a problem in FreeBSD linker */
  46378. +#ifdef FREEBSD_WORKAROUND
  46379. +static const void *lt_preloaded_setup() {
  46380. + return lt__PROGRAM__LTX_preloaded_symbols;
  46381. +}
  46382. +#endif
  46383. +
  46384. +#ifdef __cplusplus
  46385. +}
  46386. +#endif
  46387. +_LT_EOF
  46388. + # Now try linking the two files.
  46389. + mv conftest.$ac_objext conftstm.$ac_objext
  46390. + lt_globsym_save_LIBS=$LIBS
  46391. + lt_globsym_save_CFLAGS=$CFLAGS
  46392. + LIBS=conftstm.$ac_objext
  46393. + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  46394. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  46395. + (eval $ac_link) 2>&5
  46396. + ac_status=$?
  46397. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46398. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  46399. + pipe_works=yes
  46400. + fi
  46401. + LIBS=$lt_globsym_save_LIBS
  46402. + CFLAGS=$lt_globsym_save_CFLAGS
  46403. + else
  46404. + echo "cannot find nm_test_func in $nlist" >&5
  46405. + fi
  46406. + else
  46407. + echo "cannot find nm_test_var in $nlist" >&5
  46408. + fi
  46409. + else
  46410. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  46411. + fi
  46412. + else
  46413. + echo "$progname: failed program was:" >&5
  46414. + cat conftest.$ac_ext >&5
  46415. + fi
  46416. + rm -rf conftest* conftst*
  46417. +
  46418. + # Do not use the global_symbol_pipe unless it works.
  46419. + if test yes = "$pipe_works"; then
  46420. + break
  46421. + else
  46422. + lt_cv_sys_global_symbol_pipe=
  46423. + fi
  46424. +done
  46425. +
  46426. +fi
  46427. +
  46428. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  46429. + lt_cv_sys_global_symbol_to_cdecl=
  46430. +fi
  46431. +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  46432. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  46433. +$as_echo "failed" >&6; }
  46434. +else
  46435. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  46436. +$as_echo "ok" >&6; }
  46437. +fi
  46438. +
  46439. +# Response file support.
  46440. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  46441. + nm_file_list_spec='@'
  46442. +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  46443. + nm_file_list_spec='@'
  46444. +fi
  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. +
  46478. +
  46479. +
  46480. +
  46481. +
  46482. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  46483. +$as_echo_n "checking for sysroot... " >&6; }
  46484. +
  46485. +@%:@ Check whether --with-sysroot was given.
  46486. +if test "${with_sysroot+set}" = set; then :
  46487. + withval=$with_sysroot;
  46488. +else
  46489. + with_sysroot=no
  46490. +fi
  46491. +
  46492. +
  46493. +lt_sysroot=
  46494. +case $with_sysroot in #(
  46495. + yes)
  46496. + if test yes = "$GCC"; then
  46497. + lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  46498. + fi
  46499. + ;; #(
  46500. + /*)
  46501. + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  46502. + ;; #(
  46503. + no|'')
  46504. + ;; #(
  46505. + *)
  46506. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
  46507. +$as_echo "$with_sysroot" >&6; }
  46508. + as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  46509. + ;;
  46510. +esac
  46511. +
  46512. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  46513. +$as_echo "${lt_sysroot:-no}" >&6; }
  46514. +
  46515. +
  46516. +
  46517. +
  46518. +
  46519. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
  46520. +$as_echo_n "checking for a working dd... " >&6; }
  46521. +if ${ac_cv_path_lt_DD+:} false; then :
  46522. + $as_echo_n "(cached) " >&6
  46523. +else
  46524. + printf 0123456789abcdef0123456789abcdef >conftest.i
  46525. +cat conftest.i conftest.i >conftest2.i
  46526. +: ${lt_DD:=$DD}
  46527. +if test -z "$lt_DD"; then
  46528. + ac_path_lt_DD_found=false
  46529. + # Loop through the user's path and test for each of PROGNAME-LIST
  46530. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  46531. +for as_dir in $PATH
  46532. +do
  46533. + IFS=$as_save_IFS
  46534. + test -z "$as_dir" && as_dir=.
  46535. + for ac_prog in dd; do
  46536. + for ac_exec_ext in '' $ac_executable_extensions; do
  46537. + ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
  46538. + as_fn_executable_p "$ac_path_lt_DD" || continue
  46539. +if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  46540. + cmp -s conftest.i conftest.out \
  46541. + && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
  46542. +fi
  46543. + $ac_path_lt_DD_found && break 3
  46544. + done
  46545. + done
  46546. + done
  46547. +IFS=$as_save_IFS
  46548. + if test -z "$ac_cv_path_lt_DD"; then
  46549. + :
  46550. + fi
  46551. +else
  46552. + ac_cv_path_lt_DD=$lt_DD
  46553. +fi
  46554. +
  46555. +rm -f conftest.i conftest2.i conftest.out
  46556. +fi
  46557. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
  46558. +$as_echo "$ac_cv_path_lt_DD" >&6; }
  46559. +
  46560. +
  46561. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
  46562. +$as_echo_n "checking how to truncate binary pipes... " >&6; }
  46563. +if ${lt_cv_truncate_bin+:} false; then :
  46564. + $as_echo_n "(cached) " >&6
  46565. +else
  46566. + printf 0123456789abcdef0123456789abcdef >conftest.i
  46567. +cat conftest.i conftest.i >conftest2.i
  46568. +lt_cv_truncate_bin=
  46569. +if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  46570. + cmp -s conftest.i conftest.out \
  46571. + && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
  46572. +fi
  46573. +rm -f conftest.i conftest2.i conftest.out
  46574. +test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
  46575. +fi
  46576. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
  46577. +$as_echo "$lt_cv_truncate_bin" >&6; }
  46578. +
  46579. +
  46580. +
  46581. +
  46582. +
  46583. +
  46584. +
  46585. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  46586. +func_cc_basename ()
  46587. +{
  46588. + for cc_temp in @S|@*""; do
  46589. + case $cc_temp in
  46590. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  46591. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  46592. + \-*) ;;
  46593. + *) break;;
  46594. + esac
  46595. + done
  46596. + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  46597. +}
  46598. +
  46599. +@%:@ Check whether --enable-libtool-lock was given.
  46600. +if test "${enable_libtool_lock+set}" = set; then :
  46601. + enableval=$enable_libtool_lock;
  46602. +fi
  46603. +
  46604. +test no = "$enable_libtool_lock" || enable_libtool_lock=yes
  46605. +
  46606. +# Some flags need to be propagated to the compiler or linker for good
  46607. +# libtool support.
  46608. +case $host in
  46609. +ia64-*-hpux*)
  46610. + # Find out what ABI is being produced by ac_compile, and set mode
  46611. + # options accordingly.
  46612. + echo 'int i;' > conftest.$ac_ext
  46613. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  46614. + (eval $ac_compile) 2>&5
  46615. + ac_status=$?
  46616. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46617. + test $ac_status = 0; }; then
  46618. + case `/usr/bin/file conftest.$ac_objext` in
  46619. + *ELF-32*)
  46620. + HPUX_IA64_MODE=32
  46621. + ;;
  46622. + *ELF-64*)
  46623. + HPUX_IA64_MODE=64
  46624. + ;;
  46625. + esac
  46626. + fi
  46627. + rm -rf conftest*
  46628. + ;;
  46629. +*-*-irix6*)
  46630. + # Find out what ABI is being produced by ac_compile, and set linker
  46631. + # options accordingly.
  46632. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  46633. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  46634. + (eval $ac_compile) 2>&5
  46635. + ac_status=$?
  46636. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46637. + test $ac_status = 0; }; then
  46638. + if test yes = "$lt_cv_prog_gnu_ld"; then
  46639. + case `/usr/bin/file conftest.$ac_objext` in
  46640. + *32-bit*)
  46641. + LD="${LD-ld} -melf32bsmip"
  46642. + ;;
  46643. + *N32*)
  46644. + LD="${LD-ld} -melf32bmipn32"
  46645. + ;;
  46646. + *64-bit*)
  46647. + LD="${LD-ld} -melf64bmip"
  46648. + ;;
  46649. + esac
  46650. + else
  46651. + case `/usr/bin/file conftest.$ac_objext` in
  46652. + *32-bit*)
  46653. + LD="${LD-ld} -32"
  46654. + ;;
  46655. + *N32*)
  46656. + LD="${LD-ld} -n32"
  46657. + ;;
  46658. + *64-bit*)
  46659. + LD="${LD-ld} -64"
  46660. + ;;
  46661. + esac
  46662. + fi
  46663. + fi
  46664. + rm -rf conftest*
  46665. + ;;
  46666. +
  46667. +mips64*-*linux*)
  46668. + # Find out what ABI is being produced by ac_compile, and set linker
  46669. + # options accordingly.
  46670. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  46671. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  46672. + (eval $ac_compile) 2>&5
  46673. + ac_status=$?
  46674. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46675. + test $ac_status = 0; }; then
  46676. + emul=elf
  46677. + case `/usr/bin/file conftest.$ac_objext` in
  46678. + *32-bit*)
  46679. + emul="${emul}32"
  46680. + ;;
  46681. + *64-bit*)
  46682. + emul="${emul}64"
  46683. + ;;
  46684. + esac
  46685. + case `/usr/bin/file conftest.$ac_objext` in
  46686. + *MSB*)
  46687. + emul="${emul}btsmip"
  46688. + ;;
  46689. + *LSB*)
  46690. + emul="${emul}ltsmip"
  46691. + ;;
  46692. + esac
  46693. + case `/usr/bin/file conftest.$ac_objext` in
  46694. + *N32*)
  46695. + emul="${emul}n32"
  46696. + ;;
  46697. + esac
  46698. + LD="${LD-ld} -m $emul"
  46699. + fi
  46700. + rm -rf conftest*
  46701. + ;;
  46702. +
  46703. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  46704. +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  46705. + # Find out what ABI is being produced by ac_compile, and set linker
  46706. + # options accordingly. Note that the listed cases only cover the
  46707. + # situations where additional linker options are needed (such as when
  46708. + # doing 32-bit compilation for a host where ld defaults to 64-bit, or
  46709. + # vice versa); the common cases where no linker options are needed do
  46710. + # not appear in the list.
  46711. + echo 'int i;' > conftest.$ac_ext
  46712. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  46713. + (eval $ac_compile) 2>&5
  46714. + ac_status=$?
  46715. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46716. + test $ac_status = 0; }; then
  46717. + case `/usr/bin/file conftest.o` in
  46718. + *32-bit*)
  46719. + case $host in
  46720. + x86_64-*kfreebsd*-gnu)
  46721. + LD="${LD-ld} -m elf_i386_fbsd"
  46722. + ;;
  46723. + x86_64-*linux*)
  46724. + case `/usr/bin/file conftest.o` in
  46725. + *x86-64*)
  46726. + LD="${LD-ld} -m elf32_x86_64"
  46727. + ;;
  46728. + *)
  46729. + LD="${LD-ld} -m elf_i386"
  46730. + ;;
  46731. + esac
  46732. + ;;
  46733. + powerpc64le-*linux*)
  46734. + LD="${LD-ld} -m elf32lppclinux"
  46735. + ;;
  46736. + powerpc64-*linux*)
  46737. + LD="${LD-ld} -m elf32ppclinux"
  46738. + ;;
  46739. + s390x-*linux*)
  46740. + LD="${LD-ld} -m elf_s390"
  46741. + ;;
  46742. + sparc64-*linux*)
  46743. + LD="${LD-ld} -m elf32_sparc"
  46744. + ;;
  46745. + esac
  46746. + ;;
  46747. + *64-bit*)
  46748. + case $host in
  46749. + x86_64-*kfreebsd*-gnu)
  46750. + LD="${LD-ld} -m elf_x86_64_fbsd"
  46751. + ;;
  46752. + x86_64-*linux*)
  46753. + LD="${LD-ld} -m elf_x86_64"
  46754. + ;;
  46755. + powerpcle-*linux*)
  46756. + LD="${LD-ld} -m elf64lppc"
  46757. + ;;
  46758. + powerpc-*linux*)
  46759. + LD="${LD-ld} -m elf64ppc"
  46760. + ;;
  46761. + s390*-*linux*|s390*-*tpf*)
  46762. + LD="${LD-ld} -m elf64_s390"
  46763. + ;;
  46764. + sparc*-*linux*)
  46765. + LD="${LD-ld} -m elf64_sparc"
  46766. + ;;
  46767. + esac
  46768. + ;;
  46769. + esac
  46770. + fi
  46771. + rm -rf conftest*
  46772. + ;;
  46773. +
  46774. +*-*-sco3.2v5*)
  46775. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  46776. + SAVE_CFLAGS=$CFLAGS
  46777. + CFLAGS="$CFLAGS -belf"
  46778. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  46779. +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  46780. +if ${lt_cv_cc_needs_belf+:} false; then :
  46781. + $as_echo_n "(cached) " >&6
  46782. +else
  46783. + ac_ext=c
  46784. +ac_cpp='$CPP $CPPFLAGS'
  46785. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  46786. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  46787. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  46788. +
  46789. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46790. +/* end confdefs.h. */
  46791. +
  46792. +int
  46793. +main ()
  46794. +{
  46795. +
  46796. + ;
  46797. + return 0;
  46798. +}
  46799. +_ACEOF
  46800. +if ac_fn_c_try_link "$LINENO"; then :
  46801. + lt_cv_cc_needs_belf=yes
  46802. +else
  46803. + lt_cv_cc_needs_belf=no
  46804. +fi
  46805. +rm -f core conftest.err conftest.$ac_objext \
  46806. + conftest$ac_exeext conftest.$ac_ext
  46807. + ac_ext=c
  46808. +ac_cpp='$CPP $CPPFLAGS'
  46809. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  46810. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  46811. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  46812. +
  46813. +fi
  46814. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  46815. +$as_echo "$lt_cv_cc_needs_belf" >&6; }
  46816. + if test yes != "$lt_cv_cc_needs_belf"; then
  46817. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  46818. + CFLAGS=$SAVE_CFLAGS
  46819. + fi
  46820. + ;;
  46821. +*-*solaris*)
  46822. + # Find out what ABI is being produced by ac_compile, and set linker
  46823. + # options accordingly.
  46824. + echo 'int i;' > conftest.$ac_ext
  46825. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  46826. + (eval $ac_compile) 2>&5
  46827. + ac_status=$?
  46828. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46829. + test $ac_status = 0; }; then
  46830. + case `/usr/bin/file conftest.o` in
  46831. + *64-bit*)
  46832. + case $lt_cv_prog_gnu_ld in
  46833. + yes*)
  46834. + case $host in
  46835. + i?86-*-solaris*|x86_64-*-solaris*)
  46836. + LD="${LD-ld} -m elf_x86_64"
  46837. + ;;
  46838. + sparc*-*-solaris*)
  46839. + LD="${LD-ld} -m elf64_sparc"
  46840. + ;;
  46841. + esac
  46842. + # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
  46843. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  46844. + LD=${LD-ld}_sol2
  46845. + fi
  46846. + ;;
  46847. + *)
  46848. + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  46849. + LD="${LD-ld} -64"
  46850. + fi
  46851. + ;;
  46852. + esac
  46853. + ;;
  46854. + esac
  46855. + fi
  46856. + rm -rf conftest*
  46857. + ;;
  46858. +esac
  46859. +
  46860. +need_locks=$enable_libtool_lock
  46861. +
  46862. +if test -n "$ac_tool_prefix"; then
  46863. + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  46864. +set dummy ${ac_tool_prefix}mt; ac_word=$2
  46865. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  46866. +$as_echo_n "checking for $ac_word... " >&6; }
  46867. +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  46868. + $as_echo_n "(cached) " >&6
  46869. +else
  46870. + if test -n "$MANIFEST_TOOL"; then
  46871. + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  46872. +else
  46873. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  46874. +for as_dir in $PATH
  46875. +do
  46876. + IFS=$as_save_IFS
  46877. + test -z "$as_dir" && as_dir=.
  46878. + for ac_exec_ext in '' $ac_executable_extensions; do
  46879. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  46880. + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  46881. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  46882. + break 2
  46883. + fi
  46884. +done
  46885. + done
  46886. +IFS=$as_save_IFS
  46887. +
  46888. +fi
  46889. +fi
  46890. +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  46891. +if test -n "$MANIFEST_TOOL"; then
  46892. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  46893. +$as_echo "$MANIFEST_TOOL" >&6; }
  46894. +else
  46895. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  46896. +$as_echo "no" >&6; }
  46897. +fi
  46898. +
  46899. +
  46900. +fi
  46901. +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  46902. + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  46903. + # Extract the first word of "mt", so it can be a program name with args.
  46904. +set dummy mt; ac_word=$2
  46905. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  46906. +$as_echo_n "checking for $ac_word... " >&6; }
  46907. +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  46908. + $as_echo_n "(cached) " >&6
  46909. +else
  46910. + if test -n "$ac_ct_MANIFEST_TOOL"; then
  46911. + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  46912. +else
  46913. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  46914. +for as_dir in $PATH
  46915. +do
  46916. + IFS=$as_save_IFS
  46917. + test -z "$as_dir" && as_dir=.
  46918. + for ac_exec_ext in '' $ac_executable_extensions; do
  46919. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  46920. + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  46921. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  46922. + break 2
  46923. + fi
  46924. +done
  46925. + done
  46926. +IFS=$as_save_IFS
  46927. +
  46928. +fi
  46929. +fi
  46930. +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  46931. +if test -n "$ac_ct_MANIFEST_TOOL"; then
  46932. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  46933. +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  46934. +else
  46935. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  46936. +$as_echo "no" >&6; }
  46937. +fi
  46938. +
  46939. + if test "x$ac_ct_MANIFEST_TOOL" = x; then
  46940. + MANIFEST_TOOL=":"
  46941. + else
  46942. + case $cross_compiling:$ac_tool_warned in
  46943. +yes:)
  46944. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  46945. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  46946. +ac_tool_warned=yes ;;
  46947. +esac
  46948. + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  46949. + fi
  46950. +else
  46951. + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  46952. +fi
  46953. +
  46954. +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  46955. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  46956. +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  46957. +if ${lt_cv_path_mainfest_tool+:} false; then :
  46958. + $as_echo_n "(cached) " >&6
  46959. +else
  46960. + lt_cv_path_mainfest_tool=no
  46961. + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  46962. + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  46963. + cat conftest.err >&5
  46964. + if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  46965. + lt_cv_path_mainfest_tool=yes
  46966. + fi
  46967. + rm -f conftest*
  46968. +fi
  46969. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  46970. +$as_echo "$lt_cv_path_mainfest_tool" >&6; }
  46971. +if test yes != "$lt_cv_path_mainfest_tool"; then
  46972. + MANIFEST_TOOL=:
  46973. +fi
  46974. +
  46975. +
  46976. +
  46977. +
  46978. +
  46979. +
  46980. + case $host_os in
  46981. + rhapsody* | darwin*)
  46982. + if test -n "$ac_tool_prefix"; then
  46983. + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  46984. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  46985. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  46986. +$as_echo_n "checking for $ac_word... " >&6; }
  46987. +if ${ac_cv_prog_DSYMUTIL+:} false; then :
  46988. + $as_echo_n "(cached) " >&6
  46989. +else
  46990. + if test -n "$DSYMUTIL"; then
  46991. + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  46992. +else
  46993. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  46994. +for as_dir in $PATH
  46995. +do
  46996. + IFS=$as_save_IFS
  46997. + test -z "$as_dir" && as_dir=.
  46998. + for ac_exec_ext in '' $ac_executable_extensions; do
  46999. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47000. + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  47001. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47002. + break 2
  47003. + fi
  47004. +done
  47005. + done
  47006. +IFS=$as_save_IFS
  47007. +
  47008. +fi
  47009. +fi
  47010. +DSYMUTIL=$ac_cv_prog_DSYMUTIL
  47011. +if test -n "$DSYMUTIL"; then
  47012. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  47013. +$as_echo "$DSYMUTIL" >&6; }
  47014. +else
  47015. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47016. +$as_echo "no" >&6; }
  47017. +fi
  47018. +
  47019. +
  47020. +fi
  47021. +if test -z "$ac_cv_prog_DSYMUTIL"; then
  47022. + ac_ct_DSYMUTIL=$DSYMUTIL
  47023. + # Extract the first word of "dsymutil", so it can be a program name with args.
  47024. +set dummy dsymutil; ac_word=$2
  47025. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47026. +$as_echo_n "checking for $ac_word... " >&6; }
  47027. +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  47028. + $as_echo_n "(cached) " >&6
  47029. +else
  47030. + if test -n "$ac_ct_DSYMUTIL"; then
  47031. + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  47032. +else
  47033. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47034. +for as_dir in $PATH
  47035. +do
  47036. + IFS=$as_save_IFS
  47037. + test -z "$as_dir" && as_dir=.
  47038. + for ac_exec_ext in '' $ac_executable_extensions; do
  47039. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47040. + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  47041. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47042. + break 2
  47043. + fi
  47044. +done
  47045. + done
  47046. +IFS=$as_save_IFS
  47047. +
  47048. +fi
  47049. +fi
  47050. +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  47051. +if test -n "$ac_ct_DSYMUTIL"; then
  47052. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  47053. +$as_echo "$ac_ct_DSYMUTIL" >&6; }
  47054. +else
  47055. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47056. +$as_echo "no" >&6; }
  47057. +fi
  47058. +
  47059. + if test "x$ac_ct_DSYMUTIL" = x; then
  47060. + DSYMUTIL=":"
  47061. + else
  47062. + case $cross_compiling:$ac_tool_warned in
  47063. +yes:)
  47064. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  47065. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  47066. +ac_tool_warned=yes ;;
  47067. +esac
  47068. + DSYMUTIL=$ac_ct_DSYMUTIL
  47069. + fi
  47070. +else
  47071. + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  47072. +fi
  47073. +
  47074. + if test -n "$ac_tool_prefix"; then
  47075. + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  47076. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  47077. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47078. +$as_echo_n "checking for $ac_word... " >&6; }
  47079. +if ${ac_cv_prog_NMEDIT+:} false; then :
  47080. + $as_echo_n "(cached) " >&6
  47081. +else
  47082. + if test -n "$NMEDIT"; then
  47083. + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  47084. +else
  47085. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47086. +for as_dir in $PATH
  47087. +do
  47088. + IFS=$as_save_IFS
  47089. + test -z "$as_dir" && as_dir=.
  47090. + for ac_exec_ext in '' $ac_executable_extensions; do
  47091. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47092. + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  47093. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47094. + break 2
  47095. + fi
  47096. +done
  47097. + done
  47098. +IFS=$as_save_IFS
  47099. +
  47100. +fi
  47101. +fi
  47102. +NMEDIT=$ac_cv_prog_NMEDIT
  47103. +if test -n "$NMEDIT"; then
  47104. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  47105. +$as_echo "$NMEDIT" >&6; }
  47106. +else
  47107. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47108. +$as_echo "no" >&6; }
  47109. +fi
  47110. +
  47111. +
  47112. +fi
  47113. +if test -z "$ac_cv_prog_NMEDIT"; then
  47114. + ac_ct_NMEDIT=$NMEDIT
  47115. + # Extract the first word of "nmedit", so it can be a program name with args.
  47116. +set dummy nmedit; ac_word=$2
  47117. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47118. +$as_echo_n "checking for $ac_word... " >&6; }
  47119. +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  47120. + $as_echo_n "(cached) " >&6
  47121. +else
  47122. + if test -n "$ac_ct_NMEDIT"; then
  47123. + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  47124. +else
  47125. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47126. +for as_dir in $PATH
  47127. +do
  47128. + IFS=$as_save_IFS
  47129. + test -z "$as_dir" && as_dir=.
  47130. + for ac_exec_ext in '' $ac_executable_extensions; do
  47131. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47132. + ac_cv_prog_ac_ct_NMEDIT="nmedit"
  47133. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47134. + break 2
  47135. + fi
  47136. +done
  47137. + done
  47138. +IFS=$as_save_IFS
  47139. +
  47140. +fi
  47141. +fi
  47142. +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  47143. +if test -n "$ac_ct_NMEDIT"; then
  47144. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  47145. +$as_echo "$ac_ct_NMEDIT" >&6; }
  47146. +else
  47147. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47148. +$as_echo "no" >&6; }
  47149. +fi
  47150. +
  47151. + if test "x$ac_ct_NMEDIT" = x; then
  47152. + NMEDIT=":"
  47153. + else
  47154. + case $cross_compiling:$ac_tool_warned in
  47155. +yes:)
  47156. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  47157. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  47158. +ac_tool_warned=yes ;;
  47159. +esac
  47160. + NMEDIT=$ac_ct_NMEDIT
  47161. + fi
  47162. +else
  47163. + NMEDIT="$ac_cv_prog_NMEDIT"
  47164. +fi
  47165. +
  47166. + if test -n "$ac_tool_prefix"; then
  47167. + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  47168. +set dummy ${ac_tool_prefix}lipo; ac_word=$2
  47169. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47170. +$as_echo_n "checking for $ac_word... " >&6; }
  47171. +if ${ac_cv_prog_LIPO+:} false; then :
  47172. + $as_echo_n "(cached) " >&6
  47173. +else
  47174. + if test -n "$LIPO"; then
  47175. + ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  47176. +else
  47177. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47178. +for as_dir in $PATH
  47179. +do
  47180. + IFS=$as_save_IFS
  47181. + test -z "$as_dir" && as_dir=.
  47182. + for ac_exec_ext in '' $ac_executable_extensions; do
  47183. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47184. + ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  47185. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47186. + break 2
  47187. + fi
  47188. +done
  47189. + done
  47190. +IFS=$as_save_IFS
  47191. +
  47192. +fi
  47193. +fi
  47194. +LIPO=$ac_cv_prog_LIPO
  47195. +if test -n "$LIPO"; then
  47196. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  47197. +$as_echo "$LIPO" >&6; }
  47198. +else
  47199. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47200. +$as_echo "no" >&6; }
  47201. +fi
  47202. +
  47203. +
  47204. +fi
  47205. +if test -z "$ac_cv_prog_LIPO"; then
  47206. + ac_ct_LIPO=$LIPO
  47207. + # Extract the first word of "lipo", so it can be a program name with args.
  47208. +set dummy lipo; ac_word=$2
  47209. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47210. +$as_echo_n "checking for $ac_word... " >&6; }
  47211. +if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  47212. + $as_echo_n "(cached) " >&6
  47213. +else
  47214. + if test -n "$ac_ct_LIPO"; then
  47215. + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  47216. +else
  47217. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47218. +for as_dir in $PATH
  47219. +do
  47220. + IFS=$as_save_IFS
  47221. + test -z "$as_dir" && as_dir=.
  47222. + for ac_exec_ext in '' $ac_executable_extensions; do
  47223. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47224. + ac_cv_prog_ac_ct_LIPO="lipo"
  47225. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47226. + break 2
  47227. + fi
  47228. +done
  47229. + done
  47230. +IFS=$as_save_IFS
  47231. +
  47232. +fi
  47233. +fi
  47234. +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  47235. +if test -n "$ac_ct_LIPO"; then
  47236. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  47237. +$as_echo "$ac_ct_LIPO" >&6; }
  47238. +else
  47239. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47240. +$as_echo "no" >&6; }
  47241. +fi
  47242. +
  47243. + if test "x$ac_ct_LIPO" = x; then
  47244. + LIPO=":"
  47245. + else
  47246. + case $cross_compiling:$ac_tool_warned in
  47247. +yes:)
  47248. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  47249. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  47250. +ac_tool_warned=yes ;;
  47251. +esac
  47252. + LIPO=$ac_ct_LIPO
  47253. + fi
  47254. +else
  47255. + LIPO="$ac_cv_prog_LIPO"
  47256. +fi
  47257. +
  47258. + if test -n "$ac_tool_prefix"; then
  47259. + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  47260. +set dummy ${ac_tool_prefix}otool; ac_word=$2
  47261. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47262. +$as_echo_n "checking for $ac_word... " >&6; }
  47263. +if ${ac_cv_prog_OTOOL+:} false; then :
  47264. + $as_echo_n "(cached) " >&6
  47265. +else
  47266. + if test -n "$OTOOL"; then
  47267. + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  47268. +else
  47269. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47270. +for as_dir in $PATH
  47271. +do
  47272. + IFS=$as_save_IFS
  47273. + test -z "$as_dir" && as_dir=.
  47274. + for ac_exec_ext in '' $ac_executable_extensions; do
  47275. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47276. + ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  47277. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47278. + break 2
  47279. + fi
  47280. +done
  47281. + done
  47282. +IFS=$as_save_IFS
  47283. +
  47284. +fi
  47285. +fi
  47286. +OTOOL=$ac_cv_prog_OTOOL
  47287. +if test -n "$OTOOL"; then
  47288. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  47289. +$as_echo "$OTOOL" >&6; }
  47290. +else
  47291. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47292. +$as_echo "no" >&6; }
  47293. +fi
  47294. +
  47295. +
  47296. +fi
  47297. +if test -z "$ac_cv_prog_OTOOL"; then
  47298. + ac_ct_OTOOL=$OTOOL
  47299. + # Extract the first word of "otool", so it can be a program name with args.
  47300. +set dummy otool; ac_word=$2
  47301. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47302. +$as_echo_n "checking for $ac_word... " >&6; }
  47303. +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  47304. + $as_echo_n "(cached) " >&6
  47305. +else
  47306. + if test -n "$ac_ct_OTOOL"; then
  47307. + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  47308. +else
  47309. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47310. +for as_dir in $PATH
  47311. +do
  47312. + IFS=$as_save_IFS
  47313. + test -z "$as_dir" && as_dir=.
  47314. + for ac_exec_ext in '' $ac_executable_extensions; do
  47315. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47316. + ac_cv_prog_ac_ct_OTOOL="otool"
  47317. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47318. + break 2
  47319. + fi
  47320. +done
  47321. + done
  47322. +IFS=$as_save_IFS
  47323. +
  47324. +fi
  47325. +fi
  47326. +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  47327. +if test -n "$ac_ct_OTOOL"; then
  47328. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  47329. +$as_echo "$ac_ct_OTOOL" >&6; }
  47330. +else
  47331. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47332. +$as_echo "no" >&6; }
  47333. +fi
  47334. +
  47335. + if test "x$ac_ct_OTOOL" = x; then
  47336. + OTOOL=":"
  47337. + else
  47338. + case $cross_compiling:$ac_tool_warned in
  47339. +yes:)
  47340. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  47341. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  47342. +ac_tool_warned=yes ;;
  47343. +esac
  47344. + OTOOL=$ac_ct_OTOOL
  47345. + fi
  47346. +else
  47347. + OTOOL="$ac_cv_prog_OTOOL"
  47348. +fi
  47349. +
  47350. + if test -n "$ac_tool_prefix"; then
  47351. + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  47352. +set dummy ${ac_tool_prefix}otool64; ac_word=$2
  47353. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47354. +$as_echo_n "checking for $ac_word... " >&6; }
  47355. +if ${ac_cv_prog_OTOOL64+:} false; then :
  47356. + $as_echo_n "(cached) " >&6
  47357. +else
  47358. + if test -n "$OTOOL64"; then
  47359. + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  47360. +else
  47361. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47362. +for as_dir in $PATH
  47363. +do
  47364. + IFS=$as_save_IFS
  47365. + test -z "$as_dir" && as_dir=.
  47366. + for ac_exec_ext in '' $ac_executable_extensions; do
  47367. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47368. + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  47369. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47370. + break 2
  47371. + fi
  47372. +done
  47373. + done
  47374. +IFS=$as_save_IFS
  47375. +
  47376. +fi
  47377. +fi
  47378. +OTOOL64=$ac_cv_prog_OTOOL64
  47379. +if test -n "$OTOOL64"; then
  47380. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  47381. +$as_echo "$OTOOL64" >&6; }
  47382. +else
  47383. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47384. +$as_echo "no" >&6; }
  47385. +fi
  47386. +
  47387. +
  47388. +fi
  47389. +if test -z "$ac_cv_prog_OTOOL64"; then
  47390. + ac_ct_OTOOL64=$OTOOL64
  47391. + # Extract the first word of "otool64", so it can be a program name with args.
  47392. +set dummy otool64; ac_word=$2
  47393. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47394. +$as_echo_n "checking for $ac_word... " >&6; }
  47395. +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  47396. + $as_echo_n "(cached) " >&6
  47397. +else
  47398. + if test -n "$ac_ct_OTOOL64"; then
  47399. + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  47400. +else
  47401. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47402. +for as_dir in $PATH
  47403. +do
  47404. + IFS=$as_save_IFS
  47405. + test -z "$as_dir" && as_dir=.
  47406. + for ac_exec_ext in '' $ac_executable_extensions; do
  47407. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47408. + ac_cv_prog_ac_ct_OTOOL64="otool64"
  47409. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47410. + break 2
  47411. + fi
  47412. +done
  47413. + done
  47414. +IFS=$as_save_IFS
  47415. +
  47416. +fi
  47417. +fi
  47418. +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  47419. +if test -n "$ac_ct_OTOOL64"; then
  47420. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  47421. +$as_echo "$ac_ct_OTOOL64" >&6; }
  47422. +else
  47423. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47424. +$as_echo "no" >&6; }
  47425. +fi
  47426. +
  47427. + if test "x$ac_ct_OTOOL64" = x; then
  47428. + OTOOL64=":"
  47429. + else
  47430. + case $cross_compiling:$ac_tool_warned in
  47431. +yes:)
  47432. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  47433. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  47434. +ac_tool_warned=yes ;;
  47435. +esac
  47436. + OTOOL64=$ac_ct_OTOOL64
  47437. + fi
  47438. +else
  47439. + OTOOL64="$ac_cv_prog_OTOOL64"
  47440. +fi
  47441. +
  47442. +
  47443. +
  47444. +
  47445. +
  47446. +
  47447. +
  47448. +
  47449. +
  47450. +
  47451. +
  47452. +
  47453. +
  47454. +
  47455. +
  47456. +
  47457. +
  47458. +
  47459. +
  47460. +
  47461. +
  47462. +
  47463. +
  47464. +
  47465. +
  47466. +
  47467. +
  47468. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  47469. +$as_echo_n "checking for -single_module linker flag... " >&6; }
  47470. +if ${lt_cv_apple_cc_single_mod+:} false; then :
  47471. + $as_echo_n "(cached) " >&6
  47472. +else
  47473. + lt_cv_apple_cc_single_mod=no
  47474. + if test -z "$LT_MULTI_MODULE"; then
  47475. + # By default we will add the -single_module flag. You can override
  47476. + # by either setting the environment variable LT_MULTI_MODULE
  47477. + # non-empty at configure time, or by adding -multi_module to the
  47478. + # link flags.
  47479. + rm -rf libconftest.dylib*
  47480. + echo "int foo(void){return 1;}" > conftest.c
  47481. + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  47482. +-dynamiclib -Wl,-single_module conftest.c" >&5
  47483. + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  47484. + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  47485. + _lt_result=$?
  47486. + # If there is a non-empty error log, and "single_module"
  47487. + # appears in it, assume the flag caused a linker warning
  47488. + if test -s conftest.err && $GREP single_module conftest.err; then
  47489. + cat conftest.err >&5
  47490. + # Otherwise, if the output was created with a 0 exit code from
  47491. + # the compiler, it worked.
  47492. + elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
  47493. + lt_cv_apple_cc_single_mod=yes
  47494. + else
  47495. + cat conftest.err >&5
  47496. + fi
  47497. + rm -rf libconftest.dylib*
  47498. + rm -f conftest.*
  47499. + fi
  47500. +fi
  47501. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  47502. +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  47503. +
  47504. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  47505. +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  47506. +if ${lt_cv_ld_exported_symbols_list+:} false; then :
  47507. + $as_echo_n "(cached) " >&6
  47508. +else
  47509. + lt_cv_ld_exported_symbols_list=no
  47510. + save_LDFLAGS=$LDFLAGS
  47511. + echo "_main" > conftest.sym
  47512. + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  47513. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47514. +/* end confdefs.h. */
  47515. +
  47516. +int
  47517. +main ()
  47518. +{
  47519. +
  47520. + ;
  47521. + return 0;
  47522. +}
  47523. +_ACEOF
  47524. +if ac_fn_c_try_link "$LINENO"; then :
  47525. + lt_cv_ld_exported_symbols_list=yes
  47526. +else
  47527. + lt_cv_ld_exported_symbols_list=no
  47528. +fi
  47529. +rm -f core conftest.err conftest.$ac_objext \
  47530. + conftest$ac_exeext conftest.$ac_ext
  47531. + LDFLAGS=$save_LDFLAGS
  47532. +
  47533. +fi
  47534. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  47535. +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  47536. +
  47537. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  47538. +$as_echo_n "checking for -force_load linker flag... " >&6; }
  47539. +if ${lt_cv_ld_force_load+:} false; then :
  47540. + $as_echo_n "(cached) " >&6
  47541. +else
  47542. + lt_cv_ld_force_load=no
  47543. + cat > conftest.c << _LT_EOF
  47544. +int forced_loaded() { return 2;}
  47545. +_LT_EOF
  47546. + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  47547. + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  47548. + echo "$AR cru libconftest.a conftest.o" >&5
  47549. + $AR cru libconftest.a conftest.o 2>&5
  47550. + echo "$RANLIB libconftest.a" >&5
  47551. + $RANLIB libconftest.a 2>&5
  47552. + cat > conftest.c << _LT_EOF
  47553. +int main() { return 0;}
  47554. +_LT_EOF
  47555. + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  47556. + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  47557. + _lt_result=$?
  47558. + if test -s conftest.err && $GREP force_load conftest.err; then
  47559. + cat conftest.err >&5
  47560. + elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
  47561. + lt_cv_ld_force_load=yes
  47562. + else
  47563. + cat conftest.err >&5
  47564. + fi
  47565. + rm -f conftest.err libconftest.a conftest conftest.c
  47566. + rm -rf conftest.dSYM
  47567. +
  47568. +fi
  47569. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  47570. +$as_echo "$lt_cv_ld_force_load" >&6; }
  47571. + case $host_os in
  47572. + rhapsody* | darwin1.[012])
  47573. + _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
  47574. + darwin1.*)
  47575. + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  47576. + darwin*) # darwin 5.x on
  47577. + # if running on 10.5 or later, the deployment target defaults
  47578. + # to the OS version, if on x86, and 10.4, the deployment
  47579. + # target defaults to 10.4. Don't you love it?
  47580. + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  47581. + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  47582. + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  47583. + 10.[012][,.]*)
  47584. + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  47585. + 10.*)
  47586. + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  47587. + esac
  47588. + ;;
  47589. + esac
  47590. + if test yes = "$lt_cv_apple_cc_single_mod"; then
  47591. + _lt_dar_single_mod='$single_module'
  47592. + fi
  47593. + if test yes = "$lt_cv_ld_exported_symbols_list"; then
  47594. + _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
  47595. + else
  47596. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
  47597. + fi
  47598. + if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
  47599. + _lt_dsymutil='~$DSYMUTIL $lib || :'
  47600. + else
  47601. + _lt_dsymutil=
  47602. + fi
  47603. + ;;
  47604. + esac
  47605. +
  47606. +# func_munge_path_list VARIABLE PATH
  47607. +# -----------------------------------
  47608. +# VARIABLE is name of variable containing _space_ separated list of
  47609. +# directories to be munged by the contents of PATH, which is string
  47610. +# having a format:
  47611. +# "DIR[:DIR]:"
  47612. +# string "DIR[ DIR]" will be prepended to VARIABLE
  47613. +# ":DIR[:DIR]"
  47614. +# string "DIR[ DIR]" will be appended to VARIABLE
  47615. +# "DIRP[:DIRP]::[DIRA:]DIRA"
  47616. +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  47617. +# "DIRA[ DIRA]" will be appended to VARIABLE
  47618. +# "DIR[:DIR]"
  47619. +# VARIABLE will be replaced by "DIR[ DIR]"
  47620. +func_munge_path_list ()
  47621. +{
  47622. + case x@S|@2 in
  47623. + x)
  47624. + ;;
  47625. + *:)
  47626. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
  47627. + ;;
  47628. + x:*)
  47629. + eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
  47630. + ;;
  47631. + *::*)
  47632. + eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  47633. + eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
  47634. + ;;
  47635. + *)
  47636. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
  47637. + ;;
  47638. + esac
  47639. +}
  47640. +
  47641. +ac_ext=c
  47642. +ac_cpp='$CPP $CPPFLAGS'
  47643. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  47644. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  47645. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  47646. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  47647. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  47648. +# On Suns, sometimes $CPP names a directory.
  47649. +if test -n "$CPP" && test -d "$CPP"; then
  47650. + CPP=
  47651. +fi
  47652. +if test -z "$CPP"; then
  47653. + if ${ac_cv_prog_CPP+:} false; then :
  47654. + $as_echo_n "(cached) " >&6
  47655. +else
  47656. + # Double quotes because CPP needs to be expanded
  47657. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  47658. + do
  47659. + ac_preproc_ok=false
  47660. +for ac_c_preproc_warn_flag in '' yes
  47661. +do
  47662. + # Use a header file that comes with gcc, so configuring glibc
  47663. + # with a fresh cross-compiler works.
  47664. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  47665. + # <limits.h> exists even on freestanding compilers.
  47666. + # On the NeXT, cc -E runs the code through the compiler's parser,
  47667. + # not just through cpp. "Syntax error" is here to catch this case.
  47668. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47669. +/* end confdefs.h. */
  47670. +@%:@ifdef __STDC__
  47671. +@%:@ include <limits.h>
  47672. +@%:@else
  47673. +@%:@ include <assert.h>
  47674. +@%:@endif
  47675. + Syntax error
  47676. +_ACEOF
  47677. +if ac_fn_c_try_cpp "$LINENO"; then :
  47678. +
  47679. +else
  47680. + # Broken: fails on valid input.
  47681. +continue
  47682. +fi
  47683. +rm -f conftest.err conftest.i conftest.$ac_ext
  47684. +
  47685. + # OK, works on sane cases. Now check whether nonexistent headers
  47686. + # can be detected and how.
  47687. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47688. +/* end confdefs.h. */
  47689. +@%:@include <ac_nonexistent.h>
  47690. +_ACEOF
  47691. +if ac_fn_c_try_cpp "$LINENO"; then :
  47692. + # Broken: success on invalid input.
  47693. +continue
  47694. +else
  47695. + # Passes both tests.
  47696. +ac_preproc_ok=:
  47697. +break
  47698. +fi
  47699. +rm -f conftest.err conftest.i conftest.$ac_ext
  47700. +
  47701. +done
  47702. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  47703. +rm -f conftest.i conftest.err conftest.$ac_ext
  47704. +if $ac_preproc_ok; then :
  47705. + break
  47706. +fi
  47707. +
  47708. + done
  47709. + ac_cv_prog_CPP=$CPP
  47710. +
  47711. +fi
  47712. + CPP=$ac_cv_prog_CPP
  47713. +else
  47714. + ac_cv_prog_CPP=$CPP
  47715. +fi
  47716. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  47717. +$as_echo "$CPP" >&6; }
  47718. +ac_preproc_ok=false
  47719. +for ac_c_preproc_warn_flag in '' yes
  47720. +do
  47721. + # Use a header file that comes with gcc, so configuring glibc
  47722. + # with a fresh cross-compiler works.
  47723. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  47724. + # <limits.h> exists even on freestanding compilers.
  47725. + # On the NeXT, cc -E runs the code through the compiler's parser,
  47726. + # not just through cpp. "Syntax error" is here to catch this case.
  47727. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47728. +/* end confdefs.h. */
  47729. +@%:@ifdef __STDC__
  47730. +@%:@ include <limits.h>
  47731. +@%:@else
  47732. +@%:@ include <assert.h>
  47733. +@%:@endif
  47734. + Syntax error
  47735. +_ACEOF
  47736. +if ac_fn_c_try_cpp "$LINENO"; then :
  47737. +
  47738. +else
  47739. + # Broken: fails on valid input.
  47740. +continue
  47741. +fi
  47742. +rm -f conftest.err conftest.i conftest.$ac_ext
  47743. +
  47744. + # OK, works on sane cases. Now check whether nonexistent headers
  47745. + # can be detected and how.
  47746. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47747. +/* end confdefs.h. */
  47748. +@%:@include <ac_nonexistent.h>
  47749. +_ACEOF
  47750. +if ac_fn_c_try_cpp "$LINENO"; then :
  47751. + # Broken: success on invalid input.
  47752. +continue
  47753. +else
  47754. + # Passes both tests.
  47755. +ac_preproc_ok=:
  47756. +break
  47757. +fi
  47758. +rm -f conftest.err conftest.i conftest.$ac_ext
  47759. +
  47760. +done
  47761. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  47762. +rm -f conftest.i conftest.err conftest.$ac_ext
  47763. +if $ac_preproc_ok; then :
  47764. +
  47765. +else
  47766. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  47767. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  47768. +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  47769. +See \`config.log' for more details" "$LINENO" 5; }
  47770. +fi
  47771. +
  47772. +ac_ext=c
  47773. +ac_cpp='$CPP $CPPFLAGS'
  47774. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  47775. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  47776. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  47777. +
  47778. +
  47779. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  47780. +$as_echo_n "checking for ANSI C header files... " >&6; }
  47781. +if ${ac_cv_header_stdc+:} false; then :
  47782. + $as_echo_n "(cached) " >&6
  47783. +else
  47784. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47785. +/* end confdefs.h. */
  47786. +#include <stdlib.h>
  47787. +#include <stdarg.h>
  47788. +#include <string.h>
  47789. +#include <float.h>
  47790. +
  47791. +int
  47792. +main ()
  47793. +{
  47794. +
  47795. + ;
  47796. + return 0;
  47797. +}
  47798. +_ACEOF
  47799. +if ac_fn_c_try_compile "$LINENO"; then :
  47800. + ac_cv_header_stdc=yes
  47801. +else
  47802. + ac_cv_header_stdc=no
  47803. +fi
  47804. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  47805. +
  47806. +if test $ac_cv_header_stdc = yes; then
  47807. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  47808. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47809. +/* end confdefs.h. */
  47810. +#include <string.h>
  47811. +
  47812. +_ACEOF
  47813. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  47814. + $EGREP "memchr" >/dev/null 2>&1; then :
  47815. +
  47816. +else
  47817. + ac_cv_header_stdc=no
  47818. +fi
  47819. +rm -f conftest*
  47820. +
  47821. +fi
  47822. +
  47823. +if test $ac_cv_header_stdc = yes; then
  47824. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  47825. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47826. +/* end confdefs.h. */
  47827. +#include <stdlib.h>
  47828. +
  47829. +_ACEOF
  47830. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  47831. + $EGREP "free" >/dev/null 2>&1; then :
  47832. +
  47833. +else
  47834. + ac_cv_header_stdc=no
  47835. +fi
  47836. +rm -f conftest*
  47837. +
  47838. +fi
  47839. +
  47840. +if test $ac_cv_header_stdc = yes; then
  47841. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  47842. + if test "$cross_compiling" = yes; then :
  47843. + :
  47844. +else
  47845. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47846. +/* end confdefs.h. */
  47847. +#include <ctype.h>
  47848. +#include <stdlib.h>
  47849. +#if ((' ' & 0x0FF) == 0x020)
  47850. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  47851. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  47852. +#else
  47853. +# define ISLOWER(c) \
  47854. + (('a' <= (c) && (c) <= 'i') \
  47855. + || ('j' <= (c) && (c) <= 'r') \
  47856. + || ('s' <= (c) && (c) <= 'z'))
  47857. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  47858. +#endif
  47859. +
  47860. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  47861. +int
  47862. +main ()
  47863. +{
  47864. + int i;
  47865. + for (i = 0; i < 256; i++)
  47866. + if (XOR (islower (i), ISLOWER (i))
  47867. + || toupper (i) != TOUPPER (i))
  47868. + return 2;
  47869. + return 0;
  47870. +}
  47871. +_ACEOF
  47872. +if ac_fn_c_try_run "$LINENO"; then :
  47873. +
  47874. +else
  47875. + ac_cv_header_stdc=no
  47876. +fi
  47877. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  47878. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  47879. +fi
  47880. +
  47881. +fi
  47882. +fi
  47883. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  47884. +$as_echo "$ac_cv_header_stdc" >&6; }
  47885. +if test $ac_cv_header_stdc = yes; then
  47886. +
  47887. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  47888. +
  47889. +fi
  47890. +
  47891. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  47892. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  47893. + inttypes.h stdint.h unistd.h
  47894. +do :
  47895. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  47896. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  47897. +"
  47898. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  47899. + cat >>confdefs.h <<_ACEOF
  47900. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  47901. +_ACEOF
  47902. +
  47903. +fi
  47904. +
  47905. +done
  47906. +
  47907. +
  47908. +for ac_header in dlfcn.h
  47909. +do :
  47910. + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  47911. +"
  47912. +if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  47913. + cat >>confdefs.h <<_ACEOF
  47914. +@%:@define HAVE_DLFCN_H 1
  47915. +_ACEOF
  47916. +
  47917. +fi
  47918. +
  47919. +done
  47920. +
  47921. +
  47922. +
  47923. +
  47924. +
  47925. +# Set options
  47926. +
  47927. +
  47928. +
  47929. + enable_dlopen=no
  47930. +
  47931. +
  47932. + enable_win32_dll=no
  47933. +
  47934. +
  47935. + @%:@ Check whether --enable-shared was given.
  47936. +if test "${enable_shared+set}" = set; then :
  47937. + enableval=$enable_shared; p=${PACKAGE-default}
  47938. + case $enableval in
  47939. + yes) enable_shared=yes ;;
  47940. + no) enable_shared=no ;;
  47941. + *)
  47942. + enable_shared=no
  47943. + # Look at the argument we got. We use all the common list separators.
  47944. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  47945. + for pkg in $enableval; do
  47946. + IFS=$lt_save_ifs
  47947. + if test "X$pkg" = "X$p"; then
  47948. + enable_shared=yes
  47949. + fi
  47950. + done
  47951. + IFS=$lt_save_ifs
  47952. + ;;
  47953. + esac
  47954. +else
  47955. + enable_shared=yes
  47956. +fi
  47957. +
  47958. +
  47959. +
  47960. +
  47961. +
  47962. +
  47963. +
  47964. +
  47965. +
  47966. + @%:@ Check whether --enable-static was given.
  47967. +if test "${enable_static+set}" = set; then :
  47968. + enableval=$enable_static; p=${PACKAGE-default}
  47969. + case $enableval in
  47970. + yes) enable_static=yes ;;
  47971. + no) enable_static=no ;;
  47972. + *)
  47973. + enable_static=no
  47974. + # Look at the argument we got. We use all the common list separators.
  47975. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  47976. + for pkg in $enableval; do
  47977. + IFS=$lt_save_ifs
  47978. + if test "X$pkg" = "X$p"; then
  47979. + enable_static=yes
  47980. + fi
  47981. + done
  47982. + IFS=$lt_save_ifs
  47983. + ;;
  47984. + esac
  47985. +else
  47986. + enable_static=yes
  47987. +fi
  47988. +
  47989. +
  47990. +
  47991. +
  47992. +
  47993. +
  47994. +
  47995. +
  47996. +
  47997. +
  47998. +@%:@ Check whether --with-pic was given.
  47999. +if test "${with_pic+set}" = set; then :
  48000. + withval=$with_pic; lt_p=${PACKAGE-default}
  48001. + case $withval in
  48002. + yes|no) pic_mode=$withval ;;
  48003. + *)
  48004. + pic_mode=default
  48005. + # Look at the argument we got. We use all the common list separators.
  48006. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  48007. + for lt_pkg in $withval; do
  48008. + IFS=$lt_save_ifs
  48009. + if test "X$lt_pkg" = "X$lt_p"; then
  48010. + pic_mode=yes
  48011. + fi
  48012. + done
  48013. + IFS=$lt_save_ifs
  48014. + ;;
  48015. + esac
  48016. +else
  48017. + pic_mode=default
  48018. +fi
  48019. +
  48020. +
  48021. +
  48022. +
  48023. +
  48024. +
  48025. +
  48026. +
  48027. + @%:@ Check whether --enable-fast-install was given.
  48028. +if test "${enable_fast_install+set}" = set; then :
  48029. + enableval=$enable_fast_install; p=${PACKAGE-default}
  48030. + case $enableval in
  48031. + yes) enable_fast_install=yes ;;
  48032. + no) enable_fast_install=no ;;
  48033. + *)
  48034. + enable_fast_install=no
  48035. + # Look at the argument we got. We use all the common list separators.
  48036. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  48037. + for pkg in $enableval; do
  48038. + IFS=$lt_save_ifs
  48039. + if test "X$pkg" = "X$p"; then
  48040. + enable_fast_install=yes
  48041. + fi
  48042. + done
  48043. + IFS=$lt_save_ifs
  48044. + ;;
  48045. + esac
  48046. +else
  48047. + enable_fast_install=yes
  48048. +fi
  48049. +
  48050. +
  48051. +
  48052. +
  48053. +
  48054. +
  48055. +
  48056. +
  48057. + shared_archive_member_spec=
  48058. +case $host,$enable_shared in
  48059. +power*-*-aix[5-9]*,yes)
  48060. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
  48061. +$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
  48062. +
  48063. +@%:@ Check whether --with-aix-soname was given.
  48064. +if test "${with_aix_soname+set}" = set; then :
  48065. + withval=$with_aix_soname; case $withval in
  48066. + aix|svr4|both)
  48067. + ;;
  48068. + *)
  48069. + as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
  48070. + ;;
  48071. + esac
  48072. + lt_cv_with_aix_soname=$with_aix_soname
  48073. +else
  48074. + if ${lt_cv_with_aix_soname+:} false; then :
  48075. + $as_echo_n "(cached) " >&6
  48076. +else
  48077. + lt_cv_with_aix_soname=aix
  48078. +fi
  48079. +
  48080. + with_aix_soname=$lt_cv_with_aix_soname
  48081. +fi
  48082. +
  48083. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
  48084. +$as_echo "$with_aix_soname" >&6; }
  48085. + if test aix != "$with_aix_soname"; then
  48086. + # For the AIX way of multilib, we name the shared archive member
  48087. + # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
  48088. + # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
  48089. + # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
  48090. + # the AIX toolchain works better with OBJECT_MODE set (default 32).
  48091. + if test 64 = "${OBJECT_MODE-32}"; then
  48092. + shared_archive_member_spec=shr_64
  48093. + else
  48094. + shared_archive_member_spec=shr
  48095. + fi
  48096. + fi
  48097. + ;;
  48098. +*)
  48099. + with_aix_soname=aix
  48100. + ;;
  48101. +esac
  48102. +
  48103. +
  48104. +
  48105. +
  48106. +
  48107. +
  48108. +
  48109. +
  48110. +
  48111. +
  48112. +# This can be used to rebuild libtool when needed
  48113. +LIBTOOL_DEPS=$ltmain
  48114. +
  48115. +# Always use our own libtool.
  48116. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  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. +
  48143. +
  48144. +
  48145. +
  48146. +
  48147. +test -z "$LN_S" && LN_S="ln -s"
  48148. +
  48149. +
  48150. +
  48151. +
  48152. +
  48153. +
  48154. +
  48155. +
  48156. +
  48157. +
  48158. +
  48159. +
  48160. +
  48161. +
  48162. +if test -n "${ZSH_VERSION+set}"; then
  48163. + setopt NO_GLOB_SUBST
  48164. +fi
  48165. +
  48166. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  48167. +$as_echo_n "checking for objdir... " >&6; }
  48168. +if ${lt_cv_objdir+:} false; then :
  48169. + $as_echo_n "(cached) " >&6
  48170. +else
  48171. + rm -f .libs 2>/dev/null
  48172. +mkdir .libs 2>/dev/null
  48173. +if test -d .libs; then
  48174. + lt_cv_objdir=.libs
  48175. +else
  48176. + # MS-DOS does not allow filenames that begin with a dot.
  48177. + lt_cv_objdir=_libs
  48178. +fi
  48179. +rmdir .libs 2>/dev/null
  48180. +fi
  48181. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  48182. +$as_echo "$lt_cv_objdir" >&6; }
  48183. +objdir=$lt_cv_objdir
  48184. +
  48185. +
  48186. +
  48187. +
  48188. +
  48189. +cat >>confdefs.h <<_ACEOF
  48190. +@%:@define LT_OBJDIR "$lt_cv_objdir/"
  48191. +_ACEOF
  48192. +
  48193. +
  48194. +
  48195. +
  48196. +case $host_os in
  48197. +aix3*)
  48198. + # AIX sometimes has problems with the GCC collect2 program. For some
  48199. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  48200. + # vanish in a puff of smoke.
  48201. + if test set != "${COLLECT_NAMES+set}"; then
  48202. + COLLECT_NAMES=
  48203. + export COLLECT_NAMES
  48204. + fi
  48205. + ;;
  48206. +esac
  48207. +
  48208. +# Global variables:
  48209. +ofile=libtool
  48210. +can_build_shared=yes
  48211. +
  48212. +# All known linkers require a '.a' archive for static linking (except MSVC,
  48213. +# which needs '.lib').
  48214. +libext=a
  48215. +
  48216. +with_gnu_ld=$lt_cv_prog_gnu_ld
  48217. +
  48218. +old_CC=$CC
  48219. +old_CFLAGS=$CFLAGS
  48220. +
  48221. +# Set sane defaults for various variables
  48222. +test -z "$CC" && CC=cc
  48223. +test -z "$LTCC" && LTCC=$CC
  48224. +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  48225. +test -z "$LD" && LD=ld
  48226. +test -z "$ac_objext" && ac_objext=o
  48227. +
  48228. +func_cc_basename $compiler
  48229. +cc_basename=$func_cc_basename_result
  48230. +
  48231. +
  48232. +# Only perform the check for file, if the check method requires it
  48233. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  48234. +case $deplibs_check_method in
  48235. +file_magic*)
  48236. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  48237. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  48238. +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  48239. +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  48240. + $as_echo_n "(cached) " >&6
  48241. +else
  48242. + case $MAGIC_CMD in
  48243. +[\\/*] | ?:[\\/]*)
  48244. + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  48245. + ;;
  48246. +*)
  48247. + lt_save_MAGIC_CMD=$MAGIC_CMD
  48248. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  48249. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  48250. + for ac_dir in $ac_dummy; do
  48251. + IFS=$lt_save_ifs
  48252. + test -z "$ac_dir" && ac_dir=.
  48253. + if test -f "$ac_dir/${ac_tool_prefix}file"; then
  48254. + lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
  48255. + if test -n "$file_magic_test_file"; then
  48256. + case $deplibs_check_method in
  48257. + "file_magic "*)
  48258. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  48259. + MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  48260. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  48261. + $EGREP "$file_magic_regex" > /dev/null; then
  48262. + :
  48263. + else
  48264. + cat <<_LT_EOF 1>&2
  48265. +
  48266. +*** Warning: the command libtool uses to detect shared libraries,
  48267. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  48268. +*** The result is that libtool may fail to recognize shared libraries
  48269. +*** as such. This will affect the creation of libtool libraries that
  48270. +*** depend on shared libraries, but programs linked with such libtool
  48271. +*** libraries will work regardless of this problem. Nevertheless, you
  48272. +*** may want to report the problem to your system manager and/or to
  48273. +*** bug-libtool@gnu.org
  48274. +
  48275. +_LT_EOF
  48276. + fi ;;
  48277. + esac
  48278. + fi
  48279. + break
  48280. + fi
  48281. + done
  48282. + IFS=$lt_save_ifs
  48283. + MAGIC_CMD=$lt_save_MAGIC_CMD
  48284. + ;;
  48285. +esac
  48286. +fi
  48287. +
  48288. +MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  48289. +if test -n "$MAGIC_CMD"; then
  48290. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  48291. +$as_echo "$MAGIC_CMD" >&6; }
  48292. +else
  48293. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  48294. +$as_echo "no" >&6; }
  48295. +fi
  48296. +
  48297. +
  48298. +
  48299. +
  48300. +
  48301. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  48302. + if test -n "$ac_tool_prefix"; then
  48303. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  48304. +$as_echo_n "checking for file... " >&6; }
  48305. +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  48306. + $as_echo_n "(cached) " >&6
  48307. +else
  48308. + case $MAGIC_CMD in
  48309. +[\\/*] | ?:[\\/]*)
  48310. + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  48311. + ;;
  48312. +*)
  48313. + lt_save_MAGIC_CMD=$MAGIC_CMD
  48314. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  48315. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  48316. + for ac_dir in $ac_dummy; do
  48317. + IFS=$lt_save_ifs
  48318. + test -z "$ac_dir" && ac_dir=.
  48319. + if test -f "$ac_dir/file"; then
  48320. + lt_cv_path_MAGIC_CMD=$ac_dir/"file"
  48321. + if test -n "$file_magic_test_file"; then
  48322. + case $deplibs_check_method in
  48323. + "file_magic "*)
  48324. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  48325. + MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  48326. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  48327. + $EGREP "$file_magic_regex" > /dev/null; then
  48328. + :
  48329. + else
  48330. + cat <<_LT_EOF 1>&2
  48331. +
  48332. +*** Warning: the command libtool uses to detect shared libraries,
  48333. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  48334. +*** The result is that libtool may fail to recognize shared libraries
  48335. +*** as such. This will affect the creation of libtool libraries that
  48336. +*** depend on shared libraries, but programs linked with such libtool
  48337. +*** libraries will work regardless of this problem. Nevertheless, you
  48338. +*** may want to report the problem to your system manager and/or to
  48339. +*** bug-libtool@gnu.org
  48340. +
  48341. +_LT_EOF
  48342. + fi ;;
  48343. + esac
  48344. + fi
  48345. + break
  48346. + fi
  48347. + done
  48348. + IFS=$lt_save_ifs
  48349. + MAGIC_CMD=$lt_save_MAGIC_CMD
  48350. + ;;
  48351. +esac
  48352. +fi
  48353. +
  48354. +MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  48355. +if test -n "$MAGIC_CMD"; then
  48356. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  48357. +$as_echo "$MAGIC_CMD" >&6; }
  48358. +else
  48359. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  48360. +$as_echo "no" >&6; }
  48361. +fi
  48362. +
  48363. +
  48364. + else
  48365. + MAGIC_CMD=:
  48366. + fi
  48367. +fi
  48368. +
  48369. + fi
  48370. + ;;
  48371. +esac
  48372. +
  48373. +# Use C for the default configuration in the libtool script
  48374. +
  48375. +lt_save_CC=$CC
  48376. +ac_ext=c
  48377. +ac_cpp='$CPP $CPPFLAGS'
  48378. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  48379. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  48380. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  48381. +
  48382. +
  48383. +# Source file extension for C test sources.
  48384. +ac_ext=c
  48385. +
  48386. +# Object file extension for compiled C test sources.
  48387. +objext=o
  48388. +objext=$objext
  48389. +
  48390. +# Code to be used in simple compile tests
  48391. +lt_simple_compile_test_code="int some_variable = 0;"
  48392. +
  48393. +# Code to be used in simple link tests
  48394. +lt_simple_link_test_code='int main(){return(0);}'
  48395. +
  48396. +
  48397. +
  48398. +
  48399. +
  48400. +
  48401. +
  48402. +# If no C compiler was specified, use CC.
  48403. +LTCC=${LTCC-"$CC"}
  48404. +
  48405. +# If no C compiler flags were specified, use CFLAGS.
  48406. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  48407. +
  48408. +# Allow CC to be a program name with arguments.
  48409. +compiler=$CC
  48410. +
  48411. +# Save the default compiler, since it gets overwritten when the other
  48412. +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  48413. +compiler_DEFAULT=$CC
  48414. +
  48415. +# save warnings/boilerplate of simple test code
  48416. +ac_outfile=conftest.$ac_objext
  48417. +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  48418. +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  48419. +_lt_compiler_boilerplate=`cat conftest.err`
  48420. +$RM conftest*
  48421. +
  48422. +ac_outfile=conftest.$ac_objext
  48423. +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  48424. +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  48425. +_lt_linker_boilerplate=`cat conftest.err`
  48426. +$RM -r conftest*
  48427. +
  48428. +
  48429. +## CAVEAT EMPTOR:
  48430. +## There is no encapsulation within the following macros, do not change
  48431. +## the running order or otherwise move them around unless you know exactly
  48432. +## what you are doing...
  48433. +if test -n "$compiler"; then
  48434. +
  48435. +lt_prog_compiler_no_builtin_flag=
  48436. +
  48437. +if test yes = "$GCC"; then
  48438. + case $cc_basename in
  48439. + nvcc*)
  48440. + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  48441. + *)
  48442. + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  48443. + esac
  48444. +
  48445. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  48446. +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  48447. +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  48448. + $as_echo_n "(cached) " >&6
  48449. +else
  48450. + lt_cv_prog_compiler_rtti_exceptions=no
  48451. + ac_outfile=conftest.$ac_objext
  48452. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  48453. + lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
  48454. + # Insert the option either (1) after the last *FLAGS variable, or
  48455. + # (2) before a word containing "conftest.", or (3) at the end.
  48456. + # Note that $ac_compile itself does not contain backslashes and begins
  48457. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  48458. + # The option is referenced via a variable to avoid confusing sed.
  48459. + lt_compile=`echo "$ac_compile" | $SED \
  48460. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  48461. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  48462. + -e 's:$: $lt_compiler_flag:'`
  48463. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  48464. + (eval "$lt_compile" 2>conftest.err)
  48465. + ac_status=$?
  48466. + cat conftest.err >&5
  48467. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  48468. + if (exit $ac_status) && test -s "$ac_outfile"; then
  48469. + # The compiler can only warn and ignore the option if not recognized
  48470. + # So say no if there are warnings other than the usual output.
  48471. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  48472. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  48473. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  48474. + lt_cv_prog_compiler_rtti_exceptions=yes
  48475. + fi
  48476. + fi
  48477. + $RM conftest*
  48478. +
  48479. +fi
  48480. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  48481. +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  48482. +
  48483. +if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
  48484. + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  48485. +else
  48486. + :
  48487. +fi
  48488. +
  48489. +fi
  48490. +
  48491. +
  48492. +
  48493. +
  48494. +
  48495. +
  48496. + lt_prog_compiler_wl=
  48497. +lt_prog_compiler_pic=
  48498. +lt_prog_compiler_static=
  48499. +
  48500. +
  48501. + if test yes = "$GCC"; then
  48502. + lt_prog_compiler_wl='-Wl,'
  48503. + lt_prog_compiler_static='-static'
  48504. +
  48505. + case $host_os in
  48506. + aix*)
  48507. + # All AIX code is PIC.
  48508. + if test ia64 = "$host_cpu"; then
  48509. + # AIX 5 now supports IA64 processor
  48510. + lt_prog_compiler_static='-Bstatic'
  48511. + fi
  48512. + lt_prog_compiler_pic='-fPIC'
  48513. + ;;
  48514. +
  48515. + amigaos*)
  48516. + case $host_cpu in
  48517. + powerpc)
  48518. + # see comment about AmigaOS4 .so support
  48519. + lt_prog_compiler_pic='-fPIC'
  48520. + ;;
  48521. + m68k)
  48522. + # FIXME: we need at least 68020 code to build shared libraries, but
  48523. + # adding the '-m68020' flag to GCC prevents building anything better,
  48524. + # like '-m68040'.
  48525. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  48526. + ;;
  48527. + esac
  48528. + ;;
  48529. +
  48530. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  48531. + # PIC is the default for these OSes.
  48532. + ;;
  48533. +
  48534. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  48535. + # This hack is so that the source file can tell whether it is being
  48536. + # built for inclusion in a dll (and should export symbols for example).
  48537. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  48538. + # (--disable-auto-import) libraries
  48539. + lt_prog_compiler_pic='-DDLL_EXPORT'
  48540. + case $host_os in
  48541. + os2*)
  48542. + lt_prog_compiler_static='$wl-static'
  48543. + ;;
  48544. + esac
  48545. + ;;
  48546. +
  48547. + darwin* | rhapsody*)
  48548. + # PIC is the default on this platform
  48549. + # Common symbols not allowed in MH_DYLIB files
  48550. + lt_prog_compiler_pic='-fno-common'
  48551. + ;;
  48552. +
  48553. + haiku*)
  48554. + # PIC is the default for Haiku.
  48555. + # The "-static" flag exists, but is broken.
  48556. + lt_prog_compiler_static=
  48557. + ;;
  48558. +
  48559. + hpux*)
  48560. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  48561. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  48562. + # sets the default TLS model and affects inlining.
  48563. + case $host_cpu in
  48564. + hppa*64*)
  48565. + # +Z the default
  48566. + ;;
  48567. + *)
  48568. + lt_prog_compiler_pic='-fPIC'
  48569. + ;;
  48570. + esac
  48571. + ;;
  48572. +
  48573. + interix[3-9]*)
  48574. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  48575. + # Instead, we relocate shared libraries at runtime.
  48576. + ;;
  48577. +
  48578. + msdosdjgpp*)
  48579. + # Just because we use GCC doesn't mean we suddenly get shared libraries
  48580. + # on systems that don't support them.
  48581. + lt_prog_compiler_can_build_shared=no
  48582. + enable_shared=no
  48583. + ;;
  48584. +
  48585. + *nto* | *qnx*)
  48586. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  48587. + # it will coredump.
  48588. + lt_prog_compiler_pic='-fPIC -shared'
  48589. + ;;
  48590. +
  48591. + sysv4*MP*)
  48592. + if test -d /usr/nec; then
  48593. + lt_prog_compiler_pic=-Kconform_pic
  48594. + fi
  48595. + ;;
  48596. +
  48597. + *)
  48598. + lt_prog_compiler_pic='-fPIC'
  48599. + ;;
  48600. + esac
  48601. +
  48602. + case $cc_basename in
  48603. + nvcc*) # Cuda Compiler Driver 2.2
  48604. + lt_prog_compiler_wl='-Xlinker '
  48605. + if test -n "$lt_prog_compiler_pic"; then
  48606. + lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  48607. + fi
  48608. + ;;
  48609. + esac
  48610. + else
  48611. + # PORTME Check for flag to pass linker flags through the system compiler.
  48612. + case $host_os in
  48613. + aix*)
  48614. + lt_prog_compiler_wl='-Wl,'
  48615. + if test ia64 = "$host_cpu"; then
  48616. + # AIX 5 now supports IA64 processor
  48617. + lt_prog_compiler_static='-Bstatic'
  48618. + else
  48619. + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  48620. + fi
  48621. + ;;
  48622. +
  48623. + darwin* | rhapsody*)
  48624. + # PIC is the default on this platform
  48625. + # Common symbols not allowed in MH_DYLIB files
  48626. + lt_prog_compiler_pic='-fno-common'
  48627. + case $cc_basename in
  48628. + nagfor*)
  48629. + # NAG Fortran compiler
  48630. + lt_prog_compiler_wl='-Wl,-Wl,,'
  48631. + lt_prog_compiler_pic='-PIC'
  48632. + lt_prog_compiler_static='-Bstatic'
  48633. + ;;
  48634. + esac
  48635. + ;;
  48636. +
  48637. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  48638. + # This hack is so that the source file can tell whether it is being
  48639. + # built for inclusion in a dll (and should export symbols for example).
  48640. + lt_prog_compiler_pic='-DDLL_EXPORT'
  48641. + case $host_os in
  48642. + os2*)
  48643. + lt_prog_compiler_static='$wl-static'
  48644. + ;;
  48645. + esac
  48646. + ;;
  48647. +
  48648. + hpux9* | hpux10* | hpux11*)
  48649. + lt_prog_compiler_wl='-Wl,'
  48650. + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  48651. + # not for PA HP-UX.
  48652. + case $host_cpu in
  48653. + hppa*64*|ia64*)
  48654. + # +Z the default
  48655. + ;;
  48656. + *)
  48657. + lt_prog_compiler_pic='+Z'
  48658. + ;;
  48659. + esac
  48660. + # Is there a better lt_prog_compiler_static that works with the bundled CC?
  48661. + lt_prog_compiler_static='$wl-a ${wl}archive'
  48662. + ;;
  48663. +
  48664. + irix5* | irix6* | nonstopux*)
  48665. + lt_prog_compiler_wl='-Wl,'
  48666. + # PIC (with -KPIC) is the default.
  48667. + lt_prog_compiler_static='-non_shared'
  48668. + ;;
  48669. +
  48670. + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  48671. + case $cc_basename in
  48672. + # old Intel for x86_64, which still supported -KPIC.
  48673. + ecc*)
  48674. + lt_prog_compiler_wl='-Wl,'
  48675. + lt_prog_compiler_pic='-KPIC'
  48676. + lt_prog_compiler_static='-static'
  48677. + ;;
  48678. + # icc used to be incompatible with GCC.
  48679. + # ICC 10 doesn't accept -KPIC any more.
  48680. + icc* | ifort*)
  48681. + lt_prog_compiler_wl='-Wl,'
  48682. + lt_prog_compiler_pic='-fPIC'
  48683. + lt_prog_compiler_static='-static'
  48684. + ;;
  48685. + # Lahey Fortran 8.1.
  48686. + lf95*)
  48687. + lt_prog_compiler_wl='-Wl,'
  48688. + lt_prog_compiler_pic='--shared'
  48689. + lt_prog_compiler_static='--static'
  48690. + ;;
  48691. + nagfor*)
  48692. + # NAG Fortran compiler
  48693. + lt_prog_compiler_wl='-Wl,-Wl,,'
  48694. + lt_prog_compiler_pic='-PIC'
  48695. + lt_prog_compiler_static='-Bstatic'
  48696. + ;;
  48697. + tcc*)
  48698. + # Fabrice Bellard et al's Tiny C Compiler
  48699. + lt_prog_compiler_wl='-Wl,'
  48700. + lt_prog_compiler_pic='-fPIC'
  48701. + lt_prog_compiler_static='-static'
  48702. + ;;
  48703. + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  48704. + # Portland Group compilers (*not* the Pentium gcc compiler,
  48705. + # which looks to be a dead project)
  48706. + lt_prog_compiler_wl='-Wl,'
  48707. + lt_prog_compiler_pic='-fpic'
  48708. + lt_prog_compiler_static='-Bstatic'
  48709. + ;;
  48710. + ccc*)
  48711. + lt_prog_compiler_wl='-Wl,'
  48712. + # All Alpha code is PIC.
  48713. + lt_prog_compiler_static='-non_shared'
  48714. + ;;
  48715. + xl* | bgxl* | bgf* | mpixl*)
  48716. + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  48717. + lt_prog_compiler_wl='-Wl,'
  48718. + lt_prog_compiler_pic='-qpic'
  48719. + lt_prog_compiler_static='-qstaticlink'
  48720. + ;;
  48721. + *)
  48722. + case `$CC -V 2>&1 | sed 5q` in
  48723. + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  48724. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  48725. + lt_prog_compiler_pic='-KPIC'
  48726. + lt_prog_compiler_static='-Bstatic'
  48727. + lt_prog_compiler_wl=''
  48728. + ;;
  48729. + *Sun\ F* | *Sun*Fortran*)
  48730. + lt_prog_compiler_pic='-KPIC'
  48731. + lt_prog_compiler_static='-Bstatic'
  48732. + lt_prog_compiler_wl='-Qoption ld '
  48733. + ;;
  48734. + *Sun\ C*)
  48735. + # Sun C 5.9
  48736. + lt_prog_compiler_pic='-KPIC'
  48737. + lt_prog_compiler_static='-Bstatic'
  48738. + lt_prog_compiler_wl='-Wl,'
  48739. + ;;
  48740. + *Intel*\ [CF]*Compiler*)
  48741. + lt_prog_compiler_wl='-Wl,'
  48742. + lt_prog_compiler_pic='-fPIC'
  48743. + lt_prog_compiler_static='-static'
  48744. + ;;
  48745. + *Portland\ Group*)
  48746. + lt_prog_compiler_wl='-Wl,'
  48747. + lt_prog_compiler_pic='-fpic'
  48748. + lt_prog_compiler_static='-Bstatic'
  48749. + ;;
  48750. + esac
  48751. + ;;
  48752. + esac
  48753. + ;;
  48754. +
  48755. + newsos6)
  48756. + lt_prog_compiler_pic='-KPIC'
  48757. + lt_prog_compiler_static='-Bstatic'
  48758. + ;;
  48759. +
  48760. + *nto* | *qnx*)
  48761. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  48762. + # it will coredump.
  48763. + lt_prog_compiler_pic='-fPIC -shared'
  48764. + ;;
  48765. +
  48766. + osf3* | osf4* | osf5*)
  48767. + lt_prog_compiler_wl='-Wl,'
  48768. + # All OSF/1 code is PIC.
  48769. + lt_prog_compiler_static='-non_shared'
  48770. + ;;
  48771. +
  48772. + rdos*)
  48773. + lt_prog_compiler_static='-non_shared'
  48774. + ;;
  48775. +
  48776. + solaris*)
  48777. + lt_prog_compiler_pic='-KPIC'
  48778. + lt_prog_compiler_static='-Bstatic'
  48779. + case $cc_basename in
  48780. + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  48781. + lt_prog_compiler_wl='-Qoption ld ';;
  48782. + *)
  48783. + lt_prog_compiler_wl='-Wl,';;
  48784. + esac
  48785. + ;;
  48786. +
  48787. + sunos4*)
  48788. + lt_prog_compiler_wl='-Qoption ld '
  48789. + lt_prog_compiler_pic='-PIC'
  48790. + lt_prog_compiler_static='-Bstatic'
  48791. + ;;
  48792. +
  48793. + sysv4 | sysv4.2uw2* | sysv4.3*)
  48794. + lt_prog_compiler_wl='-Wl,'
  48795. + lt_prog_compiler_pic='-KPIC'
  48796. + lt_prog_compiler_static='-Bstatic'
  48797. + ;;
  48798. +
  48799. + sysv4*MP*)
  48800. + if test -d /usr/nec; then
  48801. + lt_prog_compiler_pic='-Kconform_pic'
  48802. + lt_prog_compiler_static='-Bstatic'
  48803. + fi
  48804. + ;;
  48805. +
  48806. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  48807. + lt_prog_compiler_wl='-Wl,'
  48808. + lt_prog_compiler_pic='-KPIC'
  48809. + lt_prog_compiler_static='-Bstatic'
  48810. + ;;
  48811. +
  48812. + unicos*)
  48813. + lt_prog_compiler_wl='-Wl,'
  48814. + lt_prog_compiler_can_build_shared=no
  48815. + ;;
  48816. +
  48817. + uts4*)
  48818. + lt_prog_compiler_pic='-pic'
  48819. + lt_prog_compiler_static='-Bstatic'
  48820. + ;;
  48821. +
  48822. + *)
  48823. + lt_prog_compiler_can_build_shared=no
  48824. + ;;
  48825. + esac
  48826. + fi
  48827. +
  48828. +case $host_os in
  48829. + # For platforms that do not support PIC, -DPIC is meaningless:
  48830. + *djgpp*)
  48831. + lt_prog_compiler_pic=
  48832. + ;;
  48833. + *)
  48834. + lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
  48835. + ;;
  48836. +esac
  48837. +
  48838. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  48839. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  48840. +if ${lt_cv_prog_compiler_pic+:} false; then :
  48841. + $as_echo_n "(cached) " >&6
  48842. +else
  48843. + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  48844. +fi
  48845. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  48846. +$as_echo "$lt_cv_prog_compiler_pic" >&6; }
  48847. +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  48848. +
  48849. +#
  48850. +# Check to make sure the PIC flag actually works.
  48851. +#
  48852. +if test -n "$lt_prog_compiler_pic"; then
  48853. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  48854. +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  48855. +if ${lt_cv_prog_compiler_pic_works+:} false; then :
  48856. + $as_echo_n "(cached) " >&6
  48857. +else
  48858. + lt_cv_prog_compiler_pic_works=no
  48859. + ac_outfile=conftest.$ac_objext
  48860. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  48861. + lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
  48862. + # Insert the option either (1) after the last *FLAGS variable, or
  48863. + # (2) before a word containing "conftest.", or (3) at the end.
  48864. + # Note that $ac_compile itself does not contain backslashes and begins
  48865. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  48866. + # The option is referenced via a variable to avoid confusing sed.
  48867. + lt_compile=`echo "$ac_compile" | $SED \
  48868. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  48869. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  48870. + -e 's:$: $lt_compiler_flag:'`
  48871. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  48872. + (eval "$lt_compile" 2>conftest.err)
  48873. + ac_status=$?
  48874. + cat conftest.err >&5
  48875. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  48876. + if (exit $ac_status) && test -s "$ac_outfile"; then
  48877. + # The compiler can only warn and ignore the option if not recognized
  48878. + # So say no if there are warnings other than the usual output.
  48879. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  48880. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  48881. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  48882. + lt_cv_prog_compiler_pic_works=yes
  48883. + fi
  48884. + fi
  48885. + $RM conftest*
  48886. +
  48887. +fi
  48888. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  48889. +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  48890. +
  48891. +if test yes = "$lt_cv_prog_compiler_pic_works"; then
  48892. + case $lt_prog_compiler_pic in
  48893. + "" | " "*) ;;
  48894. + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  48895. + esac
  48896. +else
  48897. + lt_prog_compiler_pic=
  48898. + lt_prog_compiler_can_build_shared=no
  48899. +fi
  48900. +
  48901. +fi
  48902. +
  48903. +
  48904. +
  48905. +
  48906. +
  48907. +
  48908. +
  48909. +
  48910. +
  48911. +
  48912. +
  48913. +#
  48914. +# Check to make sure the static flag actually works.
  48915. +#
  48916. +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  48917. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  48918. +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  48919. +if ${lt_cv_prog_compiler_static_works+:} false; then :
  48920. + $as_echo_n "(cached) " >&6
  48921. +else
  48922. + lt_cv_prog_compiler_static_works=no
  48923. + save_LDFLAGS=$LDFLAGS
  48924. + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  48925. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  48926. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  48927. + # The linker can only warn and ignore the option if not recognized
  48928. + # So say no if there are warnings
  48929. + if test -s conftest.err; then
  48930. + # Append any errors to the config.log.
  48931. + cat conftest.err 1>&5
  48932. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  48933. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  48934. + if diff conftest.exp conftest.er2 >/dev/null; then
  48935. + lt_cv_prog_compiler_static_works=yes
  48936. + fi
  48937. + else
  48938. + lt_cv_prog_compiler_static_works=yes
  48939. + fi
  48940. + fi
  48941. + $RM -r conftest*
  48942. + LDFLAGS=$save_LDFLAGS
  48943. +
  48944. +fi
  48945. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  48946. +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  48947. +
  48948. +if test yes = "$lt_cv_prog_compiler_static_works"; then
  48949. + :
  48950. +else
  48951. + lt_prog_compiler_static=
  48952. +fi
  48953. +
  48954. +
  48955. +
  48956. +
  48957. +
  48958. +
  48959. +
  48960. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  48961. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  48962. +if ${lt_cv_prog_compiler_c_o+:} false; then :
  48963. + $as_echo_n "(cached) " >&6
  48964. +else
  48965. + lt_cv_prog_compiler_c_o=no
  48966. + $RM -r conftest 2>/dev/null
  48967. + mkdir conftest
  48968. + cd conftest
  48969. + mkdir out
  48970. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  48971. +
  48972. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  48973. + # Insert the option either (1) after the last *FLAGS variable, or
  48974. + # (2) before a word containing "conftest.", or (3) at the end.
  48975. + # Note that $ac_compile itself does not contain backslashes and begins
  48976. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  48977. + lt_compile=`echo "$ac_compile" | $SED \
  48978. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  48979. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  48980. + -e 's:$: $lt_compiler_flag:'`
  48981. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  48982. + (eval "$lt_compile" 2>out/conftest.err)
  48983. + ac_status=$?
  48984. + cat out/conftest.err >&5
  48985. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  48986. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  48987. + then
  48988. + # The compiler can only warn and ignore the option if not recognized
  48989. + # So say no if there are warnings
  48990. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  48991. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  48992. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  48993. + lt_cv_prog_compiler_c_o=yes
  48994. + fi
  48995. + fi
  48996. + chmod u+w . 2>&5
  48997. + $RM conftest*
  48998. + # SGI C++ compiler will create directory out/ii_files/ for
  48999. + # template instantiation
  49000. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  49001. + $RM out/* && rmdir out
  49002. + cd ..
  49003. + $RM -r conftest
  49004. + $RM conftest*
  49005. +
  49006. +fi
  49007. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  49008. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  49009. +
  49010. +
  49011. +
  49012. +
  49013. +
  49014. +
  49015. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  49016. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  49017. +if ${lt_cv_prog_compiler_c_o+:} false; then :
  49018. + $as_echo_n "(cached) " >&6
  49019. +else
  49020. + lt_cv_prog_compiler_c_o=no
  49021. + $RM -r conftest 2>/dev/null
  49022. + mkdir conftest
  49023. + cd conftest
  49024. + mkdir out
  49025. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  49026. +
  49027. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  49028. + # Insert the option either (1) after the last *FLAGS variable, or
  49029. + # (2) before a word containing "conftest.", or (3) at the end.
  49030. + # Note that $ac_compile itself does not contain backslashes and begins
  49031. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  49032. + lt_compile=`echo "$ac_compile" | $SED \
  49033. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  49034. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  49035. + -e 's:$: $lt_compiler_flag:'`
  49036. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  49037. + (eval "$lt_compile" 2>out/conftest.err)
  49038. + ac_status=$?
  49039. + cat out/conftest.err >&5
  49040. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  49041. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  49042. + then
  49043. + # The compiler can only warn and ignore the option if not recognized
  49044. + # So say no if there are warnings
  49045. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  49046. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  49047. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  49048. + lt_cv_prog_compiler_c_o=yes
  49049. + fi
  49050. + fi
  49051. + chmod u+w . 2>&5
  49052. + $RM conftest*
  49053. + # SGI C++ compiler will create directory out/ii_files/ for
  49054. + # template instantiation
  49055. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  49056. + $RM out/* && rmdir out
  49057. + cd ..
  49058. + $RM -r conftest
  49059. + $RM conftest*
  49060. +
  49061. +fi
  49062. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  49063. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  49064. +
  49065. +
  49066. +
  49067. +
  49068. +hard_links=nottested
  49069. +if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
  49070. + # do not overwrite the value of need_locks provided by the user
  49071. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  49072. +$as_echo_n "checking if we can lock with hard links... " >&6; }
  49073. + hard_links=yes
  49074. + $RM conftest*
  49075. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  49076. + touch conftest.a
  49077. + ln conftest.a conftest.b 2>&5 || hard_links=no
  49078. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  49079. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  49080. +$as_echo "$hard_links" >&6; }
  49081. + if test no = "$hard_links"; then
  49082. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
  49083. +$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
  49084. + need_locks=warn
  49085. + fi
  49086. +else
  49087. + need_locks=no
  49088. +fi
  49089. +
  49090. +
  49091. +
  49092. +
  49093. +
  49094. +
  49095. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  49096. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  49097. +
  49098. + runpath_var=
  49099. + allow_undefined_flag=
  49100. + always_export_symbols=no
  49101. + archive_cmds=
  49102. + archive_expsym_cmds=
  49103. + compiler_needs_object=no
  49104. + enable_shared_with_static_runtimes=no
  49105. + export_dynamic_flag_spec=
  49106. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  49107. + hardcode_automatic=no
  49108. + hardcode_direct=no
  49109. + hardcode_direct_absolute=no
  49110. + hardcode_libdir_flag_spec=
  49111. + hardcode_libdir_separator=
  49112. + hardcode_minus_L=no
  49113. + hardcode_shlibpath_var=unsupported
  49114. + inherit_rpath=no
  49115. + link_all_deplibs=unknown
  49116. + module_cmds=
  49117. + module_expsym_cmds=
  49118. + old_archive_from_new_cmds=
  49119. + old_archive_from_expsyms_cmds=
  49120. + thread_safe_flag_spec=
  49121. + whole_archive_flag_spec=
  49122. + # include_expsyms should be a list of space-separated symbols to be *always*
  49123. + # included in the symbol list
  49124. + include_expsyms=
  49125. + # exclude_expsyms can be an extended regexp of symbols to exclude
  49126. + # it will be wrapped by ' (' and ')$', so one must not match beginning or
  49127. + # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
  49128. + # as well as any symbol that contains 'd'.
  49129. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  49130. + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  49131. + # platforms (ab)use it in PIC code, but their linkers get confused if
  49132. + # the symbol is explicitly referenced. Since portable code cannot
  49133. + # rely on this symbol name, it's probably fine to never include it in
  49134. + # preloaded symbol tables.
  49135. + # Exclude shared library initialization/finalization symbols.
  49136. + extract_expsyms_cmds=
  49137. +
  49138. + case $host_os in
  49139. + cygwin* | mingw* | pw32* | cegcc*)
  49140. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  49141. + # When not using gcc, we currently assume that we are using
  49142. + # Microsoft Visual C++.
  49143. + if test yes != "$GCC"; then
  49144. + with_gnu_ld=no
  49145. + fi
  49146. + ;;
  49147. + interix*)
  49148. + # we just hope/assume this is gcc and not c89 (= MSVC++)
  49149. + with_gnu_ld=yes
  49150. + ;;
  49151. + openbsd* | bitrig*)
  49152. + with_gnu_ld=no
  49153. + ;;
  49154. + esac
  49155. +
  49156. + ld_shlibs=yes
  49157. +
  49158. + # On some targets, GNU ld is compatible enough with the native linker
  49159. + # that we're better off using the native interface for both.
  49160. + lt_use_gnu_ld_interface=no
  49161. + if test yes = "$with_gnu_ld"; then
  49162. + case $host_os in
  49163. + aix*)
  49164. + # The AIX port of GNU ld has always aspired to compatibility
  49165. + # with the native linker. However, as the warning in the GNU ld
  49166. + # block says, versions before 2.19.5* couldn't really create working
  49167. + # shared libraries, regardless of the interface used.
  49168. + case `$LD -v 2>&1` in
  49169. + *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  49170. + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  49171. + *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  49172. + *)
  49173. + lt_use_gnu_ld_interface=yes
  49174. + ;;
  49175. + esac
  49176. + ;;
  49177. + *)
  49178. + lt_use_gnu_ld_interface=yes
  49179. + ;;
  49180. + esac
  49181. + fi
  49182. +
  49183. + if test yes = "$lt_use_gnu_ld_interface"; then
  49184. + # If archive_cmds runs LD, not CC, wlarc should be empty
  49185. + wlarc='$wl'
  49186. +
  49187. + # Set some defaults for GNU ld with shared library support. These
  49188. + # are reset later if shared libraries are not supported. Putting them
  49189. + # here allows them to be overridden if necessary.
  49190. + runpath_var=LD_RUN_PATH
  49191. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  49192. + export_dynamic_flag_spec='$wl--export-dynamic'
  49193. + # ancient GNU ld didn't support --whole-archive et. al.
  49194. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  49195. + whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  49196. + else
  49197. + whole_archive_flag_spec=
  49198. + fi
  49199. + supports_anon_versioning=no
  49200. + case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
  49201. + *GNU\ gold*) supports_anon_versioning=yes ;;
  49202. + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  49203. + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  49204. + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  49205. + *\ 2.11.*) ;; # other 2.11 versions
  49206. + *) supports_anon_versioning=yes ;;
  49207. + esac
  49208. +
  49209. + # See if GNU ld supports shared libraries.
  49210. + case $host_os in
  49211. + aix[3-9]*)
  49212. + # On AIX/PPC, the GNU linker is very broken
  49213. + if test ia64 != "$host_cpu"; then
  49214. + ld_shlibs=no
  49215. + cat <<_LT_EOF 1>&2
  49216. +
  49217. +*** Warning: the GNU linker, at least up to release 2.19, is reported
  49218. +*** to be unable to reliably create shared libraries on AIX.
  49219. +*** Therefore, libtool is disabling shared libraries support. If you
  49220. +*** really care for shared libraries, you may want to install binutils
  49221. +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  49222. +*** You will then need to restart the configuration process.
  49223. +
  49224. +_LT_EOF
  49225. + fi
  49226. + ;;
  49227. +
  49228. + amigaos*)
  49229. + case $host_cpu in
  49230. + powerpc)
  49231. + # see comment about AmigaOS4 .so support
  49232. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49233. + archive_expsym_cmds=''
  49234. + ;;
  49235. + m68k)
  49236. + 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)'
  49237. + hardcode_libdir_flag_spec='-L$libdir'
  49238. + hardcode_minus_L=yes
  49239. + ;;
  49240. + esac
  49241. + ;;
  49242. +
  49243. + beos*)
  49244. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  49245. + allow_undefined_flag=unsupported
  49246. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  49247. + # support --undefined. This deserves some investigation. FIXME
  49248. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49249. + else
  49250. + ld_shlibs=no
  49251. + fi
  49252. + ;;
  49253. +
  49254. + cygwin* | mingw* | pw32* | cegcc*)
  49255. + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  49256. + # as there is no search path for DLLs.
  49257. + hardcode_libdir_flag_spec='-L$libdir'
  49258. + export_dynamic_flag_spec='$wl--export-all-symbols'
  49259. + allow_undefined_flag=unsupported
  49260. + always_export_symbols=no
  49261. + enable_shared_with_static_runtimes=yes
  49262. + 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'
  49263. + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  49264. +
  49265. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  49266. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  49267. + # If the export-symbols file already is a .def file, use it as
  49268. + # is; otherwise, prepend EXPORTS...
  49269. + archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  49270. + cp $export_symbols $output_objdir/$soname.def;
  49271. + else
  49272. + echo EXPORTS > $output_objdir/$soname.def;
  49273. + cat $export_symbols >> $output_objdir/$soname.def;
  49274. + fi~
  49275. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  49276. + else
  49277. + ld_shlibs=no
  49278. + fi
  49279. + ;;
  49280. +
  49281. + haiku*)
  49282. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49283. + link_all_deplibs=yes
  49284. + ;;
  49285. +
  49286. + os2*)
  49287. + hardcode_libdir_flag_spec='-L$libdir'
  49288. + hardcode_minus_L=yes
  49289. + allow_undefined_flag=unsupported
  49290. + shrext_cmds=.dll
  49291. + archive_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. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  49296. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  49297. + emximp -o $lib $output_objdir/$libname.def'
  49298. + archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  49299. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  49300. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  49301. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  49302. + prefix_cmds="$SED"~
  49303. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  49304. + prefix_cmds="$prefix_cmds -e 1d";
  49305. + fi~
  49306. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  49307. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  49308. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  49309. + emximp -o $lib $output_objdir/$libname.def'
  49310. + old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  49311. + enable_shared_with_static_runtimes=yes
  49312. + ;;
  49313. +
  49314. + interix[3-9]*)
  49315. + hardcode_direct=no
  49316. + hardcode_shlibpath_var=no
  49317. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  49318. + export_dynamic_flag_spec='$wl-E'
  49319. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  49320. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  49321. + # default) and relocated if they conflict, which is a slow very memory
  49322. + # consuming and fragmenting process. To avoid this, we pick a random,
  49323. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  49324. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  49325. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  49326. + 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'
  49327. + ;;
  49328. +
  49329. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  49330. + tmp_diet=no
  49331. + if test linux-dietlibc = "$host_os"; then
  49332. + case $cc_basename in
  49333. + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  49334. + esac
  49335. + fi
  49336. + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  49337. + && test no = "$tmp_diet"
  49338. + then
  49339. + tmp_addflag=' $pic_flag'
  49340. + tmp_sharedflag='-shared'
  49341. + case $cc_basename,$host_cpu in
  49342. + pgcc*) # Portland Group C compiler
  49343. + 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'
  49344. + tmp_addflag=' $pic_flag'
  49345. + ;;
  49346. + pgf77* | pgf90* | pgf95* | pgfortran*)
  49347. + # Portland Group f77 and f90 compilers
  49348. + 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'
  49349. + tmp_addflag=' $pic_flag -Mnomain' ;;
  49350. + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  49351. + tmp_addflag=' -i_dynamic' ;;
  49352. + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  49353. + tmp_addflag=' -i_dynamic -nofor_main' ;;
  49354. + ifc* | ifort*) # Intel Fortran compiler
  49355. + tmp_addflag=' -nofor_main' ;;
  49356. + lf95*) # Lahey Fortran 8.1
  49357. + whole_archive_flag_spec=
  49358. + tmp_sharedflag='--shared' ;;
  49359. + nagfor*) # NAGFOR 5.3
  49360. + tmp_sharedflag='-Wl,-shared' ;;
  49361. + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  49362. + tmp_sharedflag='-qmkshrobj'
  49363. + tmp_addflag= ;;
  49364. + nvcc*) # Cuda Compiler Driver 2.2
  49365. + 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'
  49366. + compiler_needs_object=yes
  49367. + ;;
  49368. + esac
  49369. + case `$CC -V 2>&1 | sed 5q` in
  49370. + *Sun\ C*) # Sun C 5.9
  49371. + 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'
  49372. + compiler_needs_object=yes
  49373. + tmp_sharedflag='-G' ;;
  49374. + *Sun\ F*) # Sun Fortran 8.3
  49375. + tmp_sharedflag='-G' ;;
  49376. + esac
  49377. + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49378. +
  49379. + if test yes = "$supports_anon_versioning"; then
  49380. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  49381. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  49382. + echo "local: *; };" >> $output_objdir/$libname.ver~
  49383. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  49384. + fi
  49385. +
  49386. + case $cc_basename in
  49387. + tcc*)
  49388. + export_dynamic_flag_spec='-rdynamic'
  49389. + ;;
  49390. + xlf* | bgf* | bgxlf* | mpixlf*)
  49391. + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  49392. + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  49393. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  49394. + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  49395. + if test yes = "$supports_anon_versioning"; then
  49396. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  49397. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  49398. + echo "local: *; };" >> $output_objdir/$libname.ver~
  49399. + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  49400. + fi
  49401. + ;;
  49402. + esac
  49403. + else
  49404. + ld_shlibs=no
  49405. + fi
  49406. + ;;
  49407. +
  49408. + netbsd*)
  49409. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  49410. + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  49411. + wlarc=
  49412. + else
  49413. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49414. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  49415. + fi
  49416. + ;;
  49417. +
  49418. + solaris*)
  49419. + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  49420. + ld_shlibs=no
  49421. + cat <<_LT_EOF 1>&2
  49422. +
  49423. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  49424. +*** create shared libraries on Solaris systems. Therefore, libtool
  49425. +*** is disabling shared libraries support. We urge you to upgrade GNU
  49426. +*** binutils to release 2.9.1 or newer. Another option is to modify
  49427. +*** your PATH or compiler configuration so that the native linker is
  49428. +*** used, and then restart.
  49429. +
  49430. +_LT_EOF
  49431. + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  49432. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49433. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  49434. + else
  49435. + ld_shlibs=no
  49436. + fi
  49437. + ;;
  49438. +
  49439. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  49440. + case `$LD -v 2>&1` in
  49441. + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  49442. + ld_shlibs=no
  49443. + cat <<_LT_EOF 1>&2
  49444. +
  49445. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
  49446. +*** reliably create shared libraries on SCO systems. Therefore, libtool
  49447. +*** is disabling shared libraries support. We urge you to upgrade GNU
  49448. +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  49449. +*** your PATH or compiler configuration so that the native linker is
  49450. +*** used, and then restart.
  49451. +
  49452. +_LT_EOF
  49453. + ;;
  49454. + *)
  49455. + # For security reasons, it is highly recommended that you always
  49456. + # use absolute paths for naming shared libraries, and exclude the
  49457. + # DT_RUNPATH tag from executables and libraries. But doing so
  49458. + # requires that you compile everything twice, which is a pain.
  49459. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  49460. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  49461. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49462. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  49463. + else
  49464. + ld_shlibs=no
  49465. + fi
  49466. + ;;
  49467. + esac
  49468. + ;;
  49469. +
  49470. + sunos4*)
  49471. + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  49472. + wlarc=
  49473. + hardcode_direct=yes
  49474. + hardcode_shlibpath_var=no
  49475. + ;;
  49476. +
  49477. + *)
  49478. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  49479. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49480. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  49481. + else
  49482. + ld_shlibs=no
  49483. + fi
  49484. + ;;
  49485. + esac
  49486. +
  49487. + if test no = "$ld_shlibs"; then
  49488. + runpath_var=
  49489. + hardcode_libdir_flag_spec=
  49490. + export_dynamic_flag_spec=
  49491. + whole_archive_flag_spec=
  49492. + fi
  49493. + else
  49494. + # PORTME fill in a description of your system's linker (not GNU ld)
  49495. + case $host_os in
  49496. + aix3*)
  49497. + allow_undefined_flag=unsupported
  49498. + always_export_symbols=yes
  49499. + 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'
  49500. + # Note: this linker hardcodes the directories in LIBPATH if there
  49501. + # are no directories specified by -L.
  49502. + hardcode_minus_L=yes
  49503. + if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
  49504. + # Neither direct hardcoding nor static linking is supported with a
  49505. + # broken collect2.
  49506. + hardcode_direct=unsupported
  49507. + fi
  49508. + ;;
  49509. +
  49510. + aix[4-9]*)
  49511. + if test ia64 = "$host_cpu"; then
  49512. + # On IA64, the linker does run time linking by default, so we don't
  49513. + # have to do anything special.
  49514. + aix_use_runtimelinking=no
  49515. + exp_sym_flag='-Bexport'
  49516. + no_entry_flag=
  49517. + else
  49518. + # If we're using GNU nm, then we don't want the "-C" option.
  49519. + # -C means demangle to GNU nm, but means don't demangle to AIX nm.
  49520. + # Without the "-l" option, or with the "-B" option, AIX nm treats
  49521. + # weak defined symbols like other global defined symbols, whereas
  49522. + # GNU nm marks them as "W".
  49523. + # While the 'weak' keyword is ignored in the Export File, we need
  49524. + # it in the Import File for the 'aix-soname' feature, so we have
  49525. + # to replace the "-B" option with "-P" for AIX nm.
  49526. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  49527. + 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'
  49528. + else
  49529. + 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'
  49530. + fi
  49531. + aix_use_runtimelinking=no
  49532. +
  49533. + # Test if we are trying to use run time linking or normal
  49534. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  49535. + # have runtime linking enabled, and use it for executables.
  49536. + # For shared libraries, we enable/disable runtime linking
  49537. + # depending on the kind of the shared library created -
  49538. + # when "with_aix_soname,aix_use_runtimelinking" is:
  49539. + # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
  49540. + # "aix,yes" lib.so shared, rtl:yes, for executables
  49541. + # lib.a static archive
  49542. + # "both,no" lib.so.V(shr.o) shared, rtl:yes
  49543. + # lib.a(lib.so.V) shared, rtl:no, for executables
  49544. + # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
  49545. + # lib.a(lib.so.V) shared, rtl:no
  49546. + # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
  49547. + # lib.a static archive
  49548. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  49549. + for ld_flag in $LDFLAGS; do
  49550. + if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
  49551. + aix_use_runtimelinking=yes
  49552. + break
  49553. + fi
  49554. + done
  49555. + if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
  49556. + # With aix-soname=svr4, we create the lib.so.V shared archives only,
  49557. + # so we don't have lib.a shared libs to link our executables.
  49558. + # We have to force runtime linking in this case.
  49559. + aix_use_runtimelinking=yes
  49560. + LDFLAGS="$LDFLAGS -Wl,-brtl"
  49561. + fi
  49562. + ;;
  49563. + esac
  49564. +
  49565. + exp_sym_flag='-bexport'
  49566. + no_entry_flag='-bnoentry'
  49567. + fi
  49568. +
  49569. + # When large executables or shared objects are built, AIX ld can
  49570. + # have problems creating the table of contents. If linking a library
  49571. + # or program results in "error TOC overflow" add -mminimal-toc to
  49572. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  49573. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  49574. +
  49575. + archive_cmds=''
  49576. + hardcode_direct=yes
  49577. + hardcode_direct_absolute=yes
  49578. + hardcode_libdir_separator=':'
  49579. + link_all_deplibs=yes
  49580. + file_list_spec='$wl-f,'
  49581. + case $with_aix_soname,$aix_use_runtimelinking in
  49582. + aix,*) ;; # traditional, no import file
  49583. + svr4,* | *,yes) # use import file
  49584. + # The Import File defines what to hardcode.
  49585. + hardcode_direct=no
  49586. + hardcode_direct_absolute=no
  49587. + ;;
  49588. + esac
  49589. +
  49590. + if test yes = "$GCC"; then
  49591. + case $host_os in aix4.[012]|aix4.[012].*)
  49592. + # We only want to do this on AIX 4.2 and lower, the check
  49593. + # below for broken collect2 doesn't work under 4.3+
  49594. + collect2name=`$CC -print-prog-name=collect2`
  49595. + if test -f "$collect2name" &&
  49596. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  49597. + then
  49598. + # We have reworked collect2
  49599. + :
  49600. + else
  49601. + # We have old collect2
  49602. + hardcode_direct=unsupported
  49603. + # It fails to find uninstalled libraries when the uninstalled
  49604. + # path is not listed in the libpath. Setting hardcode_minus_L
  49605. + # to unsupported forces relinking
  49606. + hardcode_minus_L=yes
  49607. + hardcode_libdir_flag_spec='-L$libdir'
  49608. + hardcode_libdir_separator=
  49609. + fi
  49610. + ;;
  49611. + esac
  49612. + shared_flag='-shared'
  49613. + if test yes = "$aix_use_runtimelinking"; then
  49614. + shared_flag="$shared_flag "'$wl-G'
  49615. + fi
  49616. + # Need to ensure runtime linking is disabled for the traditional
  49617. + # shared library, or the linker may eventually find shared libraries
  49618. + # /with/ Import File - we do not want to mix them.
  49619. + shared_flag_aix='-shared'
  49620. + shared_flag_svr4='-shared $wl-G'
  49621. + else
  49622. + # not using gcc
  49623. + if test ia64 = "$host_cpu"; then
  49624. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  49625. + # chokes on -Wl,-G. The following line is correct:
  49626. + shared_flag='-G'
  49627. + else
  49628. + if test yes = "$aix_use_runtimelinking"; then
  49629. + shared_flag='$wl-G'
  49630. + else
  49631. + shared_flag='$wl-bM:SRE'
  49632. + fi
  49633. + shared_flag_aix='$wl-bM:SRE'
  49634. + shared_flag_svr4='$wl-G'
  49635. + fi
  49636. + fi
  49637. +
  49638. + export_dynamic_flag_spec='$wl-bexpall'
  49639. + # It seems that -bexpall does not export symbols beginning with
  49640. + # underscore (_), so it is better to generate a list of symbols to export.
  49641. + always_export_symbols=yes
  49642. + if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
  49643. + # Warning - without using the other runtime loading flags (-brtl),
  49644. + # -berok will link without error, but may produce a broken library.
  49645. + allow_undefined_flag='-berok'
  49646. + # Determine the default libpath from the value encoded in an
  49647. + # empty executable.
  49648. + if test set = "${lt_cv_aix_libpath+set}"; then
  49649. + aix_libpath=$lt_cv_aix_libpath
  49650. +else
  49651. + if ${lt_cv_aix_libpath_+:} false; then :
  49652. + $as_echo_n "(cached) " >&6
  49653. +else
  49654. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49655. +/* end confdefs.h. */
  49656. +
  49657. +int
  49658. +main ()
  49659. +{
  49660. +
  49661. + ;
  49662. + return 0;
  49663. +}
  49664. +_ACEOF
  49665. +if ac_fn_c_try_link "$LINENO"; then :
  49666. +
  49667. + lt_aix_libpath_sed='
  49668. + /Import File Strings/,/^$/ {
  49669. + /^0/ {
  49670. + s/^0 *\([^ ]*\) *$/\1/
  49671. + p
  49672. + }
  49673. + }'
  49674. + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  49675. + # Check for a 64-bit object if we didn't find anything.
  49676. + if test -z "$lt_cv_aix_libpath_"; then
  49677. + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  49678. + fi
  49679. +fi
  49680. +rm -f core conftest.err conftest.$ac_objext \
  49681. + conftest$ac_exeext conftest.$ac_ext
  49682. + if test -z "$lt_cv_aix_libpath_"; then
  49683. + lt_cv_aix_libpath_=/usr/lib:/lib
  49684. + fi
  49685. +
  49686. +fi
  49687. +
  49688. + aix_libpath=$lt_cv_aix_libpath_
  49689. +fi
  49690. +
  49691. + hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  49692. + 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
  49693. + else
  49694. + if test ia64 = "$host_cpu"; then
  49695. + hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
  49696. + allow_undefined_flag="-z nodefs"
  49697. + 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"
  49698. + else
  49699. + # Determine the default libpath from the value encoded in an
  49700. + # empty executable.
  49701. + if test set = "${lt_cv_aix_libpath+set}"; then
  49702. + aix_libpath=$lt_cv_aix_libpath
  49703. +else
  49704. + if ${lt_cv_aix_libpath_+:} false; then :
  49705. + $as_echo_n "(cached) " >&6
  49706. +else
  49707. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49708. +/* end confdefs.h. */
  49709. +
  49710. +int
  49711. +main ()
  49712. +{
  49713. +
  49714. + ;
  49715. + return 0;
  49716. +}
  49717. +_ACEOF
  49718. +if ac_fn_c_try_link "$LINENO"; then :
  49719. +
  49720. + lt_aix_libpath_sed='
  49721. + /Import File Strings/,/^$/ {
  49722. + /^0/ {
  49723. + s/^0 *\([^ ]*\) *$/\1/
  49724. + p
  49725. + }
  49726. + }'
  49727. + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  49728. + # Check for a 64-bit object if we didn't find anything.
  49729. + if test -z "$lt_cv_aix_libpath_"; then
  49730. + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  49731. + fi
  49732. +fi
  49733. +rm -f core conftest.err conftest.$ac_objext \
  49734. + conftest$ac_exeext conftest.$ac_ext
  49735. + if test -z "$lt_cv_aix_libpath_"; then
  49736. + lt_cv_aix_libpath_=/usr/lib:/lib
  49737. + fi
  49738. +
  49739. +fi
  49740. +
  49741. + aix_libpath=$lt_cv_aix_libpath_
  49742. +fi
  49743. +
  49744. + hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  49745. + # Warning - without using the other run time loading flags,
  49746. + # -berok will link without error, but may produce a broken library.
  49747. + no_undefined_flag=' $wl-bernotok'
  49748. + allow_undefined_flag=' $wl-berok'
  49749. + if test yes = "$with_gnu_ld"; then
  49750. + # We only use this code for GNU lds that support --whole-archive.
  49751. + whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
  49752. + else
  49753. + # Exported symbols can be pulled into shared objects from archives
  49754. + whole_archive_flag_spec='$convenience'
  49755. + fi
  49756. + archive_cmds_need_lc=yes
  49757. + archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
  49758. + # -brtl affects multiple linker settings, -berok does not and is overridden later
  49759. + compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
  49760. + if test svr4 != "$with_aix_soname"; then
  49761. + # This is similar to how AIX traditionally builds its shared libraries.
  49762. + 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'
  49763. + fi
  49764. + if test aix != "$with_aix_soname"; then
  49765. + 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'
  49766. + else
  49767. + # used by -dlpreopen to get the symbols
  49768. + archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
  49769. + fi
  49770. + archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
  49771. + fi
  49772. + fi
  49773. + ;;
  49774. +
  49775. + amigaos*)
  49776. + case $host_cpu in
  49777. + powerpc)
  49778. + # see comment about AmigaOS4 .so support
  49779. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49780. + archive_expsym_cmds=''
  49781. + ;;
  49782. + m68k)
  49783. + 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)'
  49784. + hardcode_libdir_flag_spec='-L$libdir'
  49785. + hardcode_minus_L=yes
  49786. + ;;
  49787. + esac
  49788. + ;;
  49789. +
  49790. + bsdi[45]*)
  49791. + export_dynamic_flag_spec=-rdynamic
  49792. + ;;
  49793. +
  49794. + cygwin* | mingw* | pw32* | cegcc*)
  49795. + # When not using gcc, we currently assume that we are using
  49796. + # Microsoft Visual C++.
  49797. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  49798. + # no search path for DLLs.
  49799. + case $cc_basename in
  49800. + cl*)
  49801. + # Native MSVC
  49802. + hardcode_libdir_flag_spec=' '
  49803. + allow_undefined_flag=unsupported
  49804. + always_export_symbols=yes
  49805. + file_list_spec='@'
  49806. + # Tell ltmain to make .lib files, not .a files.
  49807. + libext=lib
  49808. + # Tell ltmain to make .dll files, not .so files.
  49809. + shrext_cmds=.dll
  49810. + # FIXME: Setting linknames here is a bad hack.
  49811. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  49812. + archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  49813. + cp "$export_symbols" "$output_objdir/$soname.def";
  49814. + echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  49815. + else
  49816. + $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  49817. + fi~
  49818. + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  49819. + linknames='
  49820. + # The linker will not automatically build a static lib if we build a DLL.
  49821. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  49822. + enable_shared_with_static_runtimes=yes
  49823. + exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  49824. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  49825. + # Don't use ranlib
  49826. + old_postinstall_cmds='chmod 644 $oldlib'
  49827. + postlink_cmds='lt_outputfile="@OUTPUT@"~
  49828. + lt_tool_outputfile="@TOOL_OUTPUT@"~
  49829. + case $lt_outputfile in
  49830. + *.exe|*.EXE) ;;
  49831. + *)
  49832. + lt_outputfile=$lt_outputfile.exe
  49833. + lt_tool_outputfile=$lt_tool_outputfile.exe
  49834. + ;;
  49835. + esac~
  49836. + if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  49837. + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  49838. + $RM "$lt_outputfile.manifest";
  49839. + fi'
  49840. + ;;
  49841. + *)
  49842. + # Assume MSVC wrapper
  49843. + hardcode_libdir_flag_spec=' '
  49844. + allow_undefined_flag=unsupported
  49845. + # Tell ltmain to make .lib files, not .a files.
  49846. + libext=lib
  49847. + # Tell ltmain to make .dll files, not .so files.
  49848. + shrext_cmds=.dll
  49849. + # FIXME: Setting linknames here is a bad hack.
  49850. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  49851. + # The linker will automatically build a .lib file if we build a DLL.
  49852. + old_archive_from_new_cmds='true'
  49853. + # FIXME: Should let the user specify the lib program.
  49854. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  49855. + enable_shared_with_static_runtimes=yes
  49856. + ;;
  49857. + esac
  49858. + ;;
  49859. +
  49860. + darwin* | rhapsody*)
  49861. +
  49862. +
  49863. + archive_cmds_need_lc=no
  49864. + hardcode_direct=no
  49865. + hardcode_automatic=yes
  49866. + hardcode_shlibpath_var=unsupported
  49867. + if test yes = "$lt_cv_ld_force_load"; then
  49868. + 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\"`'
  49869. +
  49870. + else
  49871. + whole_archive_flag_spec=''
  49872. + fi
  49873. + link_all_deplibs=yes
  49874. + allow_undefined_flag=$_lt_dar_allow_undefined
  49875. + case $cc_basename in
  49876. + ifort*|nagfor*) _lt_dar_can_shared=yes ;;
  49877. + *) _lt_dar_can_shared=$GCC ;;
  49878. + esac
  49879. + if test yes = "$_lt_dar_can_shared"; then
  49880. + output_verbose_link_cmd=func_echo_all
  49881. + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
  49882. + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
  49883. + 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"
  49884. + 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"
  49885. +
  49886. + else
  49887. + ld_shlibs=no
  49888. + fi
  49889. +
  49890. + ;;
  49891. +
  49892. + dgux*)
  49893. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  49894. + hardcode_libdir_flag_spec='-L$libdir'
  49895. + hardcode_shlibpath_var=no
  49896. + ;;
  49897. +
  49898. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  49899. + # support. Future versions do this automatically, but an explicit c++rt0.o
  49900. + # does not break anything, and helps significantly (at the cost of a little
  49901. + # extra space).
  49902. + freebsd2.2*)
  49903. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  49904. + hardcode_libdir_flag_spec='-R$libdir'
  49905. + hardcode_direct=yes
  49906. + hardcode_shlibpath_var=no
  49907. + ;;
  49908. +
  49909. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  49910. + freebsd2.*)
  49911. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  49912. + hardcode_direct=yes
  49913. + hardcode_minus_L=yes
  49914. + hardcode_shlibpath_var=no
  49915. + ;;
  49916. +
  49917. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  49918. + freebsd* | dragonfly*)
  49919. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  49920. + hardcode_libdir_flag_spec='-R$libdir'
  49921. + hardcode_direct=yes
  49922. + hardcode_shlibpath_var=no
  49923. + ;;
  49924. +
  49925. + hpux9*)
  49926. + if test yes = "$GCC"; then
  49927. + 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'
  49928. + else
  49929. + 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'
  49930. + fi
  49931. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  49932. + hardcode_libdir_separator=:
  49933. + hardcode_direct=yes
  49934. +
  49935. + # hardcode_minus_L: Not really in the search PATH,
  49936. + # but as the default location of the library.
  49937. + hardcode_minus_L=yes
  49938. + export_dynamic_flag_spec='$wl-E'
  49939. + ;;
  49940. +
  49941. + hpux10*)
  49942. + if test yes,no = "$GCC,$with_gnu_ld"; then
  49943. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  49944. + else
  49945. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  49946. + fi
  49947. + if test no = "$with_gnu_ld"; then
  49948. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  49949. + hardcode_libdir_separator=:
  49950. + hardcode_direct=yes
  49951. + hardcode_direct_absolute=yes
  49952. + export_dynamic_flag_spec='$wl-E'
  49953. + # hardcode_minus_L: Not really in the search PATH,
  49954. + # but as the default location of the library.
  49955. + hardcode_minus_L=yes
  49956. + fi
  49957. + ;;
  49958. +
  49959. + hpux11*)
  49960. + if test yes,no = "$GCC,$with_gnu_ld"; then
  49961. + case $host_cpu in
  49962. + hppa*64*)
  49963. + archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  49964. + ;;
  49965. + ia64*)
  49966. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  49967. + ;;
  49968. + *)
  49969. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  49970. + ;;
  49971. + esac
  49972. + else
  49973. + case $host_cpu in
  49974. + hppa*64*)
  49975. + archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  49976. + ;;
  49977. + ia64*)
  49978. + archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  49979. + ;;
  49980. + *)
  49981. +
  49982. + # Older versions of the 11.00 compiler do not understand -b yet
  49983. + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  49984. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  49985. +$as_echo_n "checking if $CC understands -b... " >&6; }
  49986. +if ${lt_cv_prog_compiler__b+:} false; then :
  49987. + $as_echo_n "(cached) " >&6
  49988. +else
  49989. + lt_cv_prog_compiler__b=no
  49990. + save_LDFLAGS=$LDFLAGS
  49991. + LDFLAGS="$LDFLAGS -b"
  49992. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  49993. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  49994. + # The linker can only warn and ignore the option if not recognized
  49995. + # So say no if there are warnings
  49996. + if test -s conftest.err; then
  49997. + # Append any errors to the config.log.
  49998. + cat conftest.err 1>&5
  49999. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  50000. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  50001. + if diff conftest.exp conftest.er2 >/dev/null; then
  50002. + lt_cv_prog_compiler__b=yes
  50003. + fi
  50004. + else
  50005. + lt_cv_prog_compiler__b=yes
  50006. + fi
  50007. + fi
  50008. + $RM -r conftest*
  50009. + LDFLAGS=$save_LDFLAGS
  50010. +
  50011. +fi
  50012. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  50013. +$as_echo "$lt_cv_prog_compiler__b" >&6; }
  50014. +
  50015. +if test yes = "$lt_cv_prog_compiler__b"; then
  50016. + archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  50017. +else
  50018. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  50019. +fi
  50020. +
  50021. + ;;
  50022. + esac
  50023. + fi
  50024. + if test no = "$with_gnu_ld"; then
  50025. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  50026. + hardcode_libdir_separator=:
  50027. +
  50028. + case $host_cpu in
  50029. + hppa*64*|ia64*)
  50030. + hardcode_direct=no
  50031. + hardcode_shlibpath_var=no
  50032. + ;;
  50033. + *)
  50034. + hardcode_direct=yes
  50035. + hardcode_direct_absolute=yes
  50036. + export_dynamic_flag_spec='$wl-E'
  50037. +
  50038. + # hardcode_minus_L: Not really in the search PATH,
  50039. + # but as the default location of the library.
  50040. + hardcode_minus_L=yes
  50041. + ;;
  50042. + esac
  50043. + fi
  50044. + ;;
  50045. +
  50046. + irix5* | irix6* | nonstopux*)
  50047. + if test yes = "$GCC"; then
  50048. + 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'
  50049. + # Try to use the -exported_symbol ld option, if it does not
  50050. + # work, assume that -exports_file does not work either and
  50051. + # implicitly export all symbols.
  50052. + # This should be the same for all languages, so no per-tag cache variable.
  50053. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  50054. +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  50055. +if ${lt_cv_irix_exported_symbol+:} false; then :
  50056. + $as_echo_n "(cached) " >&6
  50057. +else
  50058. + save_LDFLAGS=$LDFLAGS
  50059. + LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
  50060. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50061. +/* end confdefs.h. */
  50062. +int foo (void) { return 0; }
  50063. +_ACEOF
  50064. +if ac_fn_c_try_link "$LINENO"; then :
  50065. + lt_cv_irix_exported_symbol=yes
  50066. +else
  50067. + lt_cv_irix_exported_symbol=no
  50068. +fi
  50069. +rm -f core conftest.err conftest.$ac_objext \
  50070. + conftest$ac_exeext conftest.$ac_ext
  50071. + LDFLAGS=$save_LDFLAGS
  50072. +fi
  50073. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  50074. +$as_echo "$lt_cv_irix_exported_symbol" >&6; }
  50075. + if test yes = "$lt_cv_irix_exported_symbol"; then
  50076. + 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'
  50077. + fi
  50078. + else
  50079. + 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'
  50080. + 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'
  50081. + fi
  50082. + archive_cmds_need_lc='no'
  50083. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  50084. + hardcode_libdir_separator=:
  50085. + inherit_rpath=yes
  50086. + link_all_deplibs=yes
  50087. + ;;
  50088. +
  50089. + linux*)
  50090. + case $cc_basename in
  50091. + tcc*)
  50092. + # Fabrice Bellard et al's Tiny C Compiler
  50093. + ld_shlibs=yes
  50094. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  50095. + ;;
  50096. + esac
  50097. + ;;
  50098. +
  50099. + netbsd*)
  50100. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  50101. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  50102. + else
  50103. + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  50104. + fi
  50105. + hardcode_libdir_flag_spec='-R$libdir'
  50106. + hardcode_direct=yes
  50107. + hardcode_shlibpath_var=no
  50108. + ;;
  50109. +
  50110. + newsos6)
  50111. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  50112. + hardcode_direct=yes
  50113. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  50114. + hardcode_libdir_separator=:
  50115. + hardcode_shlibpath_var=no
  50116. + ;;
  50117. +
  50118. + *nto* | *qnx*)
  50119. + ;;
  50120. +
  50121. + openbsd* | bitrig*)
  50122. + if test -f /usr/libexec/ld.so; then
  50123. + hardcode_direct=yes
  50124. + hardcode_shlibpath_var=no
  50125. + hardcode_direct_absolute=yes
  50126. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  50127. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  50128. + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
  50129. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  50130. + export_dynamic_flag_spec='$wl-E'
  50131. + else
  50132. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  50133. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  50134. + fi
  50135. + else
  50136. + ld_shlibs=no
  50137. + fi
  50138. + ;;
  50139. +
  50140. + os2*)
  50141. + hardcode_libdir_flag_spec='-L$libdir'
  50142. + hardcode_minus_L=yes
  50143. + allow_undefined_flag=unsupported
  50144. + shrext_cmds=.dll
  50145. + archive_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. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  50150. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  50151. + emximp -o $lib $output_objdir/$libname.def'
  50152. + archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  50153. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  50154. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  50155. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  50156. + prefix_cmds="$SED"~
  50157. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  50158. + prefix_cmds="$prefix_cmds -e 1d";
  50159. + fi~
  50160. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  50161. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  50162. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  50163. + emximp -o $lib $output_objdir/$libname.def'
  50164. + old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  50165. + enable_shared_with_static_runtimes=yes
  50166. + ;;
  50167. +
  50168. + osf3*)
  50169. + if test yes = "$GCC"; then
  50170. + allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  50171. + 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'
  50172. + else
  50173. + allow_undefined_flag=' -expect_unresolved \*'
  50174. + 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'
  50175. + fi
  50176. + archive_cmds_need_lc='no'
  50177. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  50178. + hardcode_libdir_separator=:
  50179. + ;;
  50180. +
  50181. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  50182. + if test yes = "$GCC"; then
  50183. + allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  50184. + 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'
  50185. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  50186. + else
  50187. + allow_undefined_flag=' -expect_unresolved \*'
  50188. + 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'
  50189. + 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~
  50190. + $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'
  50191. +
  50192. + # Both c and cxx compiler support -rpath directly
  50193. + hardcode_libdir_flag_spec='-rpath $libdir'
  50194. + fi
  50195. + archive_cmds_need_lc='no'
  50196. + hardcode_libdir_separator=:
  50197. + ;;
  50198. +
  50199. + solaris*)
  50200. + no_undefined_flag=' -z defs'
  50201. + if test yes = "$GCC"; then
  50202. + wlarc='$wl'
  50203. + archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  50204. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  50205. + $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'
  50206. + else
  50207. + case `$CC -V 2>&1` in
  50208. + *"Compilers 5.0"*)
  50209. + wlarc=''
  50210. + archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
  50211. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  50212. + $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  50213. + ;;
  50214. + *)
  50215. + wlarc='$wl'
  50216. + archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  50217. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  50218. + $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  50219. + ;;
  50220. + esac
  50221. + fi
  50222. + hardcode_libdir_flag_spec='-R$libdir'
  50223. + hardcode_shlibpath_var=no
  50224. + case $host_os in
  50225. + solaris2.[0-5] | solaris2.[0-5].*) ;;
  50226. + *)
  50227. + # The compiler driver will combine and reorder linker options,
  50228. + # but understands '-z linker_flag'. GCC discards it without '$wl',
  50229. + # but is careful enough not to reorder.
  50230. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  50231. + if test yes = "$GCC"; then
  50232. + whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  50233. + else
  50234. + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  50235. + fi
  50236. + ;;
  50237. + esac
  50238. + link_all_deplibs=yes
  50239. + ;;
  50240. +
  50241. + sunos4*)
  50242. + if test sequent = "$host_vendor"; then
  50243. + # Use $CC to link under sequent, because it throws in some extra .o
  50244. + # files that make .init and .fini sections work.
  50245. + archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  50246. + else
  50247. + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  50248. + fi
  50249. + hardcode_libdir_flag_spec='-L$libdir'
  50250. + hardcode_direct=yes
  50251. + hardcode_minus_L=yes
  50252. + hardcode_shlibpath_var=no
  50253. + ;;
  50254. +
  50255. + sysv4)
  50256. + case $host_vendor in
  50257. + sni)
  50258. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  50259. + hardcode_direct=yes # is this really true???
  50260. + ;;
  50261. + siemens)
  50262. + ## LD is ld it makes a PLAMLIB
  50263. + ## CC just makes a GrossModule.
  50264. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  50265. + reload_cmds='$CC -r -o $output$reload_objs'
  50266. + hardcode_direct=no
  50267. + ;;
  50268. + motorola)
  50269. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  50270. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  50271. + ;;
  50272. + esac
  50273. + runpath_var='LD_RUN_PATH'
  50274. + hardcode_shlibpath_var=no
  50275. + ;;
  50276. +
  50277. + sysv4.3*)
  50278. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  50279. + hardcode_shlibpath_var=no
  50280. + export_dynamic_flag_spec='-Bexport'
  50281. + ;;
  50282. +
  50283. + sysv4*MP*)
  50284. + if test -d /usr/nec; then
  50285. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  50286. + hardcode_shlibpath_var=no
  50287. + runpath_var=LD_RUN_PATH
  50288. + hardcode_runpath_var=yes
  50289. + ld_shlibs=yes
  50290. + fi
  50291. + ;;
  50292. +
  50293. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  50294. + no_undefined_flag='$wl-z,text'
  50295. + archive_cmds_need_lc=no
  50296. + hardcode_shlibpath_var=no
  50297. + runpath_var='LD_RUN_PATH'
  50298. +
  50299. + if test yes = "$GCC"; then
  50300. + archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  50301. + archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  50302. + else
  50303. + archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  50304. + archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  50305. + fi
  50306. + ;;
  50307. +
  50308. + sysv5* | sco3.2v5* | sco5v6*)
  50309. + # Note: We CANNOT use -z defs as we might desire, because we do not
  50310. + # link with -lc, and that would cause any symbols used from libc to
  50311. + # always be unresolved, which means just about no library would
  50312. + # ever link correctly. If we're not using GNU ld we use -z text
  50313. + # though, which does catch some bad symbols but isn't as heavy-handed
  50314. + # as -z defs.
  50315. + no_undefined_flag='$wl-z,text'
  50316. + allow_undefined_flag='$wl-z,nodefs'
  50317. + archive_cmds_need_lc=no
  50318. + hardcode_shlibpath_var=no
  50319. + hardcode_libdir_flag_spec='$wl-R,$libdir'
  50320. + hardcode_libdir_separator=':'
  50321. + link_all_deplibs=yes
  50322. + export_dynamic_flag_spec='$wl-Bexport'
  50323. + runpath_var='LD_RUN_PATH'
  50324. +
  50325. + if test yes = "$GCC"; then
  50326. + archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  50327. + archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  50328. + else
  50329. + archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  50330. + archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  50331. + fi
  50332. + ;;
  50333. +
  50334. + uts4*)
  50335. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  50336. + hardcode_libdir_flag_spec='-L$libdir'
  50337. + hardcode_shlibpath_var=no
  50338. + ;;
  50339. +
  50340. + *)
  50341. + ld_shlibs=no
  50342. + ;;
  50343. + esac
  50344. +
  50345. + if test sni = "$host_vendor"; then
  50346. + case $host in
  50347. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  50348. + export_dynamic_flag_spec='$wl-Blargedynsym'
  50349. + ;;
  50350. + esac
  50351. + fi
  50352. + fi
  50353. +
  50354. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  50355. +$as_echo "$ld_shlibs" >&6; }
  50356. +test no = "$ld_shlibs" && can_build_shared=no
  50357. +
  50358. +with_gnu_ld=$with_gnu_ld
  50359. +
  50360. +
  50361. +
  50362. +
  50363. +
  50364. +
  50365. +
  50366. +
  50367. +
  50368. +
  50369. +
  50370. +
  50371. +
  50372. +
  50373. +
  50374. +#
  50375. +# Do we need to explicitly link libc?
  50376. +#
  50377. +case "x$archive_cmds_need_lc" in
  50378. +x|xyes)
  50379. + # Assume -lc should be added
  50380. + archive_cmds_need_lc=yes
  50381. +
  50382. + if test yes,yes = "$GCC,$enable_shared"; then
  50383. + case $archive_cmds in
  50384. + *'~'*)
  50385. + # FIXME: we may have to deal with multi-command sequences.
  50386. + ;;
  50387. + '$CC '*)
  50388. + # Test whether the compiler implicitly links with -lc since on some
  50389. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  50390. + # to ld, don't add -lc before -lgcc.
  50391. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  50392. +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  50393. +if ${lt_cv_archive_cmds_need_lc+:} false; then :
  50394. + $as_echo_n "(cached) " >&6
  50395. +else
  50396. + $RM conftest*
  50397. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  50398. +
  50399. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  50400. + (eval $ac_compile) 2>&5
  50401. + ac_status=$?
  50402. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  50403. + test $ac_status = 0; } 2>conftest.err; then
  50404. + soname=conftest
  50405. + lib=conftest
  50406. + libobjs=conftest.$ac_objext
  50407. + deplibs=
  50408. + wl=$lt_prog_compiler_wl
  50409. + pic_flag=$lt_prog_compiler_pic
  50410. + compiler_flags=-v
  50411. + linker_flags=-v
  50412. + verstring=
  50413. + output_objdir=.
  50414. + libname=conftest
  50415. + lt_save_allow_undefined_flag=$allow_undefined_flag
  50416. + allow_undefined_flag=
  50417. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  50418. + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  50419. + ac_status=$?
  50420. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  50421. + test $ac_status = 0; }
  50422. + then
  50423. + lt_cv_archive_cmds_need_lc=no
  50424. + else
  50425. + lt_cv_archive_cmds_need_lc=yes
  50426. + fi
  50427. + allow_undefined_flag=$lt_save_allow_undefined_flag
  50428. + else
  50429. + cat conftest.err 1>&5
  50430. + fi
  50431. + $RM conftest*
  50432. +
  50433. +fi
  50434. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  50435. +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  50436. + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  50437. + ;;
  50438. + esac
  50439. + fi
  50440. + ;;
  50441. +esac
  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. +
  50588. +
  50589. +
  50590. +
  50591. +
  50592. +
  50593. +
  50594. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  50595. +$as_echo_n "checking dynamic linker characteristics... " >&6; }
  50596. +
  50597. +if test yes = "$GCC"; then
  50598. + case $host_os in
  50599. + darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
  50600. + *) lt_awk_arg='/^libraries:/' ;;
  50601. + esac
  50602. + case $host_os in
  50603. + mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
  50604. + *) lt_sed_strip_eq='s|=/|/|g' ;;
  50605. + esac
  50606. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  50607. + case $lt_search_path_spec in
  50608. + *\;*)
  50609. + # if the path contains ";" then we assume it to be the separator
  50610. + # otherwise default to the standard path separator (i.e. ":") - it is
  50611. + # assumed that no part of a normal pathname contains ";" but that should
  50612. + # okay in the real world where ";" in dirpaths is itself problematic.
  50613. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  50614. + ;;
  50615. + *)
  50616. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  50617. + ;;
  50618. + esac
  50619. + # Ok, now we have the path, separated by spaces, we can step through it
  50620. + # and add multilib dir if necessary...
  50621. + lt_tmp_lt_search_path_spec=
  50622. + lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  50623. + # ...but if some path component already ends with the multilib dir we assume
  50624. + # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
  50625. + case "$lt_multi_os_dir; $lt_search_path_spec " in
  50626. + "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
  50627. + lt_multi_os_dir=
  50628. + ;;
  50629. + esac
  50630. + for lt_sys_path in $lt_search_path_spec; do
  50631. + if test -d "$lt_sys_path$lt_multi_os_dir"; then
  50632. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
  50633. + elif test -n "$lt_multi_os_dir"; then
  50634. + test -d "$lt_sys_path" && \
  50635. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  50636. + fi
  50637. + done
  50638. + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  50639. +BEGIN {RS = " "; FS = "/|\n";} {
  50640. + lt_foo = "";
  50641. + lt_count = 0;
  50642. + for (lt_i = NF; lt_i > 0; lt_i--) {
  50643. + if ($lt_i != "" && $lt_i != ".") {
  50644. + if ($lt_i == "..") {
  50645. + lt_count++;
  50646. + } else {
  50647. + if (lt_count == 0) {
  50648. + lt_foo = "/" $lt_i lt_foo;
  50649. + } else {
  50650. + lt_count--;
  50651. + }
  50652. + }
  50653. + }
  50654. + }
  50655. + if (lt_foo != "") { lt_freq[lt_foo]++; }
  50656. + if (lt_freq[lt_foo] == 1) { print lt_foo; }
  50657. +}'`
  50658. + # AWK program above erroneously prepends '/' to C:/dos/paths
  50659. + # for these hosts.
  50660. + case $host_os in
  50661. + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  50662. + $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
  50663. + esac
  50664. + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  50665. +else
  50666. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  50667. +fi
  50668. +library_names_spec=
  50669. +libname_spec='lib$name'
  50670. +soname_spec=
  50671. +shrext_cmds=.so
  50672. +postinstall_cmds=
  50673. +postuninstall_cmds=
  50674. +finish_cmds=
  50675. +finish_eval=
  50676. +shlibpath_var=
  50677. +shlibpath_overrides_runpath=unknown
  50678. +version_type=none
  50679. +dynamic_linker="$host_os ld.so"
  50680. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  50681. +need_lib_prefix=unknown
  50682. +hardcode_into_libs=no
  50683. +
  50684. +# when you set need_version to no, make sure it does not cause -set_version
  50685. +# flags to be left without arguments
  50686. +need_version=unknown
  50687. +
  50688. +
  50689. +
  50690. +case $host_os in
  50691. +aix3*)
  50692. + version_type=linux # correct to gnu/linux during the next big refactor
  50693. + library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
  50694. + shlibpath_var=LIBPATH
  50695. +
  50696. + # AIX 3 has no versioning support, so we append a major version to the name.
  50697. + soname_spec='$libname$release$shared_ext$major'
  50698. + ;;
  50699. +
  50700. +aix[4-9]*)
  50701. + version_type=linux # correct to gnu/linux during the next big refactor
  50702. + need_lib_prefix=no
  50703. + need_version=no
  50704. + hardcode_into_libs=yes
  50705. + if test ia64 = "$host_cpu"; then
  50706. + # AIX 5 supports IA64
  50707. + library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
  50708. + shlibpath_var=LD_LIBRARY_PATH
  50709. + else
  50710. + # With GCC up to 2.95.x, collect2 would create an import file
  50711. + # for dependence libraries. The import file would start with
  50712. + # the line '#! .'. This would cause the generated library to
  50713. + # depend on '.', always an invalid library. This was fixed in
  50714. + # development snapshots of GCC prior to 3.0.
  50715. + case $host_os in
  50716. + aix4 | aix4.[01] | aix4.[01].*)
  50717. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  50718. + echo ' yes '
  50719. + echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
  50720. + :
  50721. + else
  50722. + can_build_shared=no
  50723. + fi
  50724. + ;;
  50725. + esac
  50726. + # Using Import Files as archive members, it is possible to support
  50727. + # filename-based versioning of shared library archives on AIX. While
  50728. + # this would work for both with and without runtime linking, it will
  50729. + # prevent static linking of such archives. So we do filename-based
  50730. + # shared library versioning with .so extension only, which is used
  50731. + # when both runtime linking and shared linking is enabled.
  50732. + # Unfortunately, runtime linking may impact performance, so we do
  50733. + # not want this to be the default eventually. Also, we use the
  50734. + # versioned .so libs for executables only if there is the -brtl
  50735. + # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
  50736. + # To allow for filename-based versioning support, we need to create
  50737. + # libNAME.so.V as an archive file, containing:
  50738. + # *) an Import File, referring to the versioned filename of the
  50739. + # archive as well as the shared archive member, telling the
  50740. + # bitwidth (32 or 64) of that shared object, and providing the
  50741. + # list of exported symbols of that shared object, eventually
  50742. + # decorated with the 'weak' keyword
  50743. + # *) the shared object with the F_LOADONLY flag set, to really avoid
  50744. + # it being seen by the linker.
  50745. + # At run time we better use the real file rather than another symlink,
  50746. + # but for link time we create the symlink libNAME.so -> libNAME.so.V
  50747. +
  50748. + case $with_aix_soname,$aix_use_runtimelinking in
  50749. + # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
  50750. + # soname into executable. Probably we can add versioning support to
  50751. + # collect2, so additional links can be useful in future.
  50752. + aix,yes) # traditional libtool
  50753. + dynamic_linker='AIX unversionable lib.so'
  50754. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  50755. + # instead of lib<name>.a to let people know that these are not
  50756. + # typical AIX shared libraries.
  50757. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  50758. + ;;
  50759. + aix,no) # traditional AIX only
  50760. + dynamic_linker='AIX lib.a(lib.so.V)'
  50761. + # We preserve .a as extension for shared libraries through AIX4.2
  50762. + # and later when we are not doing run time linking.
  50763. + library_names_spec='$libname$release.a $libname.a'
  50764. + soname_spec='$libname$release$shared_ext$major'
  50765. + ;;
  50766. + svr4,*) # full svr4 only
  50767. + dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
  50768. + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  50769. + # We do not specify a path in Import Files, so LIBPATH fires.
  50770. + shlibpath_overrides_runpath=yes
  50771. + ;;
  50772. + *,yes) # both, prefer svr4
  50773. + dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
  50774. + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  50775. + # unpreferred sharedlib libNAME.a needs extra handling
  50776. + 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"'
  50777. + 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"'
  50778. + # We do not specify a path in Import Files, so LIBPATH fires.
  50779. + shlibpath_overrides_runpath=yes
  50780. + ;;
  50781. + *,no) # both, prefer aix
  50782. + dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
  50783. + library_names_spec='$libname$release.a $libname.a'
  50784. + soname_spec='$libname$release$shared_ext$major'
  50785. + # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
  50786. + 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)'
  50787. + 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"'
  50788. + ;;
  50789. + esac
  50790. + shlibpath_var=LIBPATH
  50791. + fi
  50792. + ;;
  50793. +
  50794. +amigaos*)
  50795. + case $host_cpu in
  50796. + powerpc)
  50797. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  50798. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  50799. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  50800. + ;;
  50801. + m68k)
  50802. + library_names_spec='$libname.ixlibrary $libname.a'
  50803. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  50804. + 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'
  50805. + ;;
  50806. + esac
  50807. + ;;
  50808. +
  50809. +beos*)
  50810. + library_names_spec='$libname$shared_ext'
  50811. + dynamic_linker="$host_os ld.so"
  50812. + shlibpath_var=LIBRARY_PATH
  50813. + ;;
  50814. +
  50815. +bsdi[45]*)
  50816. + version_type=linux # correct to gnu/linux during the next big refactor
  50817. + need_version=no
  50818. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  50819. + soname_spec='$libname$release$shared_ext$major'
  50820. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  50821. + shlibpath_var=LD_LIBRARY_PATH
  50822. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  50823. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  50824. + # the default ld.so.conf also contains /usr/contrib/lib and
  50825. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  50826. + # libtool to hard-code these into programs
  50827. + ;;
  50828. +
  50829. +cygwin* | mingw* | pw32* | cegcc*)
  50830. + version_type=windows
  50831. + shrext_cmds=.dll
  50832. + need_version=no
  50833. + need_lib_prefix=no
  50834. +
  50835. + case $GCC,$cc_basename in
  50836. + yes,*)
  50837. + # gcc
  50838. + library_names_spec='$libname.dll.a'
  50839. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  50840. + postinstall_cmds='base_file=`basename \$file`~
  50841. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  50842. + dldir=$destdir/`dirname \$dlpath`~
  50843. + test -d \$dldir || mkdir -p \$dldir~
  50844. + $install_prog $dir/$dlname \$dldir/$dlname~
  50845. + chmod a+x \$dldir/$dlname~
  50846. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  50847. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  50848. + fi'
  50849. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  50850. + dlpath=$dir/\$dldll~
  50851. + $RM \$dlpath'
  50852. + shlibpath_overrides_runpath=yes
  50853. +
  50854. + case $host_os in
  50855. + cygwin*)
  50856. + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  50857. + soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  50858. +
  50859. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  50860. + ;;
  50861. + mingw* | cegcc*)
  50862. + # MinGW DLLs use traditional 'lib' prefix
  50863. + soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  50864. + ;;
  50865. + pw32*)
  50866. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  50867. + library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  50868. + ;;
  50869. + esac
  50870. + dynamic_linker='Win32 ld.exe'
  50871. + ;;
  50872. +
  50873. + *,cl*)
  50874. + # Native MSVC
  50875. + libname_spec='$name'
  50876. + soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  50877. + library_names_spec='$libname.dll.lib'
  50878. +
  50879. + case $build_os in
  50880. + mingw*)
  50881. + sys_lib_search_path_spec=
  50882. + lt_save_ifs=$IFS
  50883. + IFS=';'
  50884. + for lt_path in $LIB
  50885. + do
  50886. + IFS=$lt_save_ifs
  50887. + # Let DOS variable expansion print the short 8.3 style file name.
  50888. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  50889. + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  50890. + done
  50891. + IFS=$lt_save_ifs
  50892. + # Convert to MSYS style.
  50893. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  50894. + ;;
  50895. + cygwin*)
  50896. + # Convert to unix form, then to dos form, then back to unix form
  50897. + # but this time dos style (no spaces!) so that the unix form looks
  50898. + # like /cygdrive/c/PROGRA~1:/cygdr...
  50899. + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  50900. + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  50901. + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  50902. + ;;
  50903. + *)
  50904. + sys_lib_search_path_spec=$LIB
  50905. + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  50906. + # It is most probably a Windows format PATH.
  50907. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  50908. + else
  50909. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  50910. + fi
  50911. + # FIXME: find the short name or the path components, as spaces are
  50912. + # common. (e.g. "Program Files" -> "PROGRA~1")
  50913. + ;;
  50914. + esac
  50915. +
  50916. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  50917. + postinstall_cmds='base_file=`basename \$file`~
  50918. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  50919. + dldir=$destdir/`dirname \$dlpath`~
  50920. + test -d \$dldir || mkdir -p \$dldir~
  50921. + $install_prog $dir/$dlname \$dldir/$dlname'
  50922. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  50923. + dlpath=$dir/\$dldll~
  50924. + $RM \$dlpath'
  50925. + shlibpath_overrides_runpath=yes
  50926. + dynamic_linker='Win32 link.exe'
  50927. + ;;
  50928. +
  50929. + *)
  50930. + # Assume MSVC wrapper
  50931. + library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
  50932. + dynamic_linker='Win32 ld.exe'
  50933. + ;;
  50934. + esac
  50935. + # FIXME: first we should search . and the directory the executable is in
  50936. + shlibpath_var=PATH
  50937. + ;;
  50938. +
  50939. +darwin* | rhapsody*)
  50940. + dynamic_linker="$host_os dyld"
  50941. + version_type=darwin
  50942. + need_lib_prefix=no
  50943. + need_version=no
  50944. + library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
  50945. + soname_spec='$libname$release$major$shared_ext'
  50946. + shlibpath_overrides_runpath=yes
  50947. + shlibpath_var=DYLD_LIBRARY_PATH
  50948. + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  50949. +
  50950. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  50951. + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  50952. + ;;
  50953. +
  50954. +dgux*)
  50955. + version_type=linux # correct to gnu/linux during the next big refactor
  50956. + need_lib_prefix=no
  50957. + need_version=no
  50958. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  50959. + soname_spec='$libname$release$shared_ext$major'
  50960. + shlibpath_var=LD_LIBRARY_PATH
  50961. + ;;
  50962. +
  50963. +freebsd* | dragonfly*)
  50964. + # DragonFly does not have aout. When/if they implement a new
  50965. + # versioning mechanism, adjust this.
  50966. + if test -x /usr/bin/objformat; then
  50967. + objformat=`/usr/bin/objformat`
  50968. + else
  50969. + case $host_os in
  50970. + freebsd[23].*) objformat=aout ;;
  50971. + *) objformat=elf ;;
  50972. + esac
  50973. + fi
  50974. + version_type=freebsd-$objformat
  50975. + case $version_type in
  50976. + freebsd-elf*)
  50977. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  50978. + soname_spec='$libname$release$shared_ext$major'
  50979. + need_version=no
  50980. + need_lib_prefix=no
  50981. + ;;
  50982. + freebsd-*)
  50983. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  50984. + need_version=yes
  50985. + ;;
  50986. + esac
  50987. + shlibpath_var=LD_LIBRARY_PATH
  50988. + case $host_os in
  50989. + freebsd2.*)
  50990. + shlibpath_overrides_runpath=yes
  50991. + ;;
  50992. + freebsd3.[01]* | freebsdelf3.[01]*)
  50993. + shlibpath_overrides_runpath=yes
  50994. + hardcode_into_libs=yes
  50995. + ;;
  50996. + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  50997. + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  50998. + shlibpath_overrides_runpath=no
  50999. + hardcode_into_libs=yes
  51000. + ;;
  51001. + *) # from 4.6 on, and DragonFly
  51002. + shlibpath_overrides_runpath=yes
  51003. + hardcode_into_libs=yes
  51004. + ;;
  51005. + esac
  51006. + ;;
  51007. +
  51008. +haiku*)
  51009. + version_type=linux # correct to gnu/linux during the next big refactor
  51010. + need_lib_prefix=no
  51011. + need_version=no
  51012. + dynamic_linker="$host_os runtime_loader"
  51013. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51014. + soname_spec='$libname$release$shared_ext$major'
  51015. + shlibpath_var=LIBRARY_PATH
  51016. + shlibpath_overrides_runpath=no
  51017. + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  51018. + hardcode_into_libs=yes
  51019. + ;;
  51020. +
  51021. +hpux9* | hpux10* | hpux11*)
  51022. + # Give a soname corresponding to the major version so that dld.sl refuses to
  51023. + # link against other versions.
  51024. + version_type=sunos
  51025. + need_lib_prefix=no
  51026. + need_version=no
  51027. + case $host_cpu in
  51028. + ia64*)
  51029. + shrext_cmds='.so'
  51030. + hardcode_into_libs=yes
  51031. + dynamic_linker="$host_os dld.so"
  51032. + shlibpath_var=LD_LIBRARY_PATH
  51033. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  51034. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51035. + soname_spec='$libname$release$shared_ext$major'
  51036. + if test 32 = "$HPUX_IA64_MODE"; then
  51037. + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  51038. + sys_lib_dlsearch_path_spec=/usr/lib/hpux32
  51039. + else
  51040. + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  51041. + sys_lib_dlsearch_path_spec=/usr/lib/hpux64
  51042. + fi
  51043. + ;;
  51044. + hppa*64*)
  51045. + shrext_cmds='.sl'
  51046. + hardcode_into_libs=yes
  51047. + dynamic_linker="$host_os dld.sl"
  51048. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  51049. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  51050. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51051. + soname_spec='$libname$release$shared_ext$major'
  51052. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  51053. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  51054. + ;;
  51055. + *)
  51056. + shrext_cmds='.sl'
  51057. + dynamic_linker="$host_os dld.sl"
  51058. + shlibpath_var=SHLIB_PATH
  51059. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  51060. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51061. + soname_spec='$libname$release$shared_ext$major'
  51062. + ;;
  51063. + esac
  51064. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  51065. + postinstall_cmds='chmod 555 $lib'
  51066. + # or fails outright, so override atomically:
  51067. + install_override_mode=555
  51068. + ;;
  51069. +
  51070. +interix[3-9]*)
  51071. + version_type=linux # correct to gnu/linux during the next big refactor
  51072. + need_lib_prefix=no
  51073. + need_version=no
  51074. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51075. + soname_spec='$libname$release$shared_ext$major'
  51076. + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  51077. + shlibpath_var=LD_LIBRARY_PATH
  51078. + shlibpath_overrides_runpath=no
  51079. + hardcode_into_libs=yes
  51080. + ;;
  51081. +
  51082. +irix5* | irix6* | nonstopux*)
  51083. + case $host_os in
  51084. + nonstopux*) version_type=nonstopux ;;
  51085. + *)
  51086. + if test yes = "$lt_cv_prog_gnu_ld"; then
  51087. + version_type=linux # correct to gnu/linux during the next big refactor
  51088. + else
  51089. + version_type=irix
  51090. + fi ;;
  51091. + esac
  51092. + need_lib_prefix=no
  51093. + need_version=no
  51094. + soname_spec='$libname$release$shared_ext$major'
  51095. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
  51096. + case $host_os in
  51097. + irix5* | nonstopux*)
  51098. + libsuff= shlibsuff=
  51099. + ;;
  51100. + *)
  51101. + case $LD in # libtool.m4 will add one of these switches to LD
  51102. + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  51103. + libsuff= shlibsuff= libmagic=32-bit;;
  51104. + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  51105. + libsuff=32 shlibsuff=N32 libmagic=N32;;
  51106. + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  51107. + libsuff=64 shlibsuff=64 libmagic=64-bit;;
  51108. + *) libsuff= shlibsuff= libmagic=never-match;;
  51109. + esac
  51110. + ;;
  51111. + esac
  51112. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  51113. + shlibpath_overrides_runpath=no
  51114. + sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
  51115. + sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
  51116. + hardcode_into_libs=yes
  51117. + ;;
  51118. +
  51119. +# No shared lib support for Linux oldld, aout, or coff.
  51120. +linux*oldld* | linux*aout* | linux*coff*)
  51121. + dynamic_linker=no
  51122. + ;;
  51123. +
  51124. +linux*android*)
  51125. + version_type=none # Android doesn't support versioned libraries.
  51126. + need_lib_prefix=no
  51127. + need_version=no
  51128. + library_names_spec='$libname$release$shared_ext'
  51129. + soname_spec='$libname$release$shared_ext'
  51130. + finish_cmds=
  51131. + shlibpath_var=LD_LIBRARY_PATH
  51132. + shlibpath_overrides_runpath=yes
  51133. +
  51134. + # This implies no fast_install, which is unacceptable.
  51135. + # Some rework will be needed to allow for fast_install
  51136. + # before this can be enabled.
  51137. + hardcode_into_libs=yes
  51138. +
  51139. + dynamic_linker='Android linker'
  51140. + # Don't embed -rpath directories since the linker doesn't support them.
  51141. + hardcode_libdir_flag_spec='-L$libdir'
  51142. + ;;
  51143. +
  51144. +# This must be glibc/ELF.
  51145. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  51146. + version_type=linux # correct to gnu/linux during the next big refactor
  51147. + need_lib_prefix=no
  51148. + need_version=no
  51149. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51150. + soname_spec='$libname$release$shared_ext$major'
  51151. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  51152. + shlibpath_var=LD_LIBRARY_PATH
  51153. + shlibpath_overrides_runpath=no
  51154. +
  51155. + # Some binutils ld are patched to set DT_RUNPATH
  51156. + if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  51157. + $as_echo_n "(cached) " >&6
  51158. +else
  51159. + lt_cv_shlibpath_overrides_runpath=no
  51160. + save_LDFLAGS=$LDFLAGS
  51161. + save_libdir=$libdir
  51162. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  51163. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  51164. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51165. +/* end confdefs.h. */
  51166. +
  51167. +int
  51168. +main ()
  51169. +{
  51170. +
  51171. + ;
  51172. + return 0;
  51173. +}
  51174. +_ACEOF
  51175. +if ac_fn_c_try_link "$LINENO"; then :
  51176. + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  51177. + lt_cv_shlibpath_overrides_runpath=yes
  51178. +fi
  51179. +fi
  51180. +rm -f core conftest.err conftest.$ac_objext \
  51181. + conftest$ac_exeext conftest.$ac_ext
  51182. + LDFLAGS=$save_LDFLAGS
  51183. + libdir=$save_libdir
  51184. +
  51185. +fi
  51186. +
  51187. + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  51188. +
  51189. + # This implies no fast_install, which is unacceptable.
  51190. + # Some rework will be needed to allow for fast_install
  51191. + # before this can be enabled.
  51192. + hardcode_into_libs=yes
  51193. +
  51194. + # Add ABI-specific directories to the system library path.
  51195. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
  51196. +
  51197. + # Ideally, we could use ldconfig to report *all* directores which are
  51198. + # searched for libraries, however this is still not possible. Aside from not
  51199. + # being certain /sbin/ldconfig is available, command
  51200. + # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
  51201. + # even though it is searched at run-time. Try to do the best guess by
  51202. + # appending ld.so.conf contents (and includes) to the search path.
  51203. + if test -f /etc/ld.so.conf; then
  51204. + 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' ' '`
  51205. + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
  51206. + fi
  51207. +
  51208. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  51209. + # powerpc, because MkLinux only supported shared libraries with the
  51210. + # GNU dynamic linker. Since this was broken with cross compilers,
  51211. + # most powerpc-linux boxes support dynamic linking these days and
  51212. + # people can always --disable-shared, the test was removed, and we
  51213. + # assume the GNU/Linux dynamic linker is in use.
  51214. + dynamic_linker='GNU/Linux ld.so'
  51215. + ;;
  51216. +
  51217. +netbsd*)
  51218. + version_type=sunos
  51219. + need_lib_prefix=no
  51220. + need_version=no
  51221. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  51222. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  51223. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  51224. + dynamic_linker='NetBSD (a.out) ld.so'
  51225. + else
  51226. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51227. + soname_spec='$libname$release$shared_ext$major'
  51228. + dynamic_linker='NetBSD ld.elf_so'
  51229. + fi
  51230. + shlibpath_var=LD_LIBRARY_PATH
  51231. + shlibpath_overrides_runpath=yes
  51232. + hardcode_into_libs=yes
  51233. + ;;
  51234. +
  51235. +newsos6)
  51236. + version_type=linux # correct to gnu/linux during the next big refactor
  51237. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51238. + shlibpath_var=LD_LIBRARY_PATH
  51239. + shlibpath_overrides_runpath=yes
  51240. + ;;
  51241. +
  51242. +*nto* | *qnx*)
  51243. + version_type=qnx
  51244. + need_lib_prefix=no
  51245. + need_version=no
  51246. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51247. + soname_spec='$libname$release$shared_ext$major'
  51248. + shlibpath_var=LD_LIBRARY_PATH
  51249. + shlibpath_overrides_runpath=no
  51250. + hardcode_into_libs=yes
  51251. + dynamic_linker='ldqnx.so'
  51252. + ;;
  51253. +
  51254. +openbsd* | bitrig*)
  51255. + version_type=sunos
  51256. + sys_lib_dlsearch_path_spec=/usr/lib
  51257. + need_lib_prefix=no
  51258. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  51259. + need_version=no
  51260. + else
  51261. + need_version=yes
  51262. + fi
  51263. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  51264. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  51265. + shlibpath_var=LD_LIBRARY_PATH
  51266. + shlibpath_overrides_runpath=yes
  51267. + ;;
  51268. +
  51269. +os2*)
  51270. + libname_spec='$name'
  51271. + version_type=windows
  51272. + shrext_cmds=.dll
  51273. + need_version=no
  51274. + need_lib_prefix=no
  51275. + # OS/2 can only load a DLL with a base name of 8 characters or less.
  51276. + soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
  51277. + v=$($ECHO $release$versuffix | tr -d .-);
  51278. + n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
  51279. + $ECHO $n$v`$shared_ext'
  51280. + library_names_spec='${libname}_dll.$libext'
  51281. + dynamic_linker='OS/2 ld.exe'
  51282. + shlibpath_var=BEGINLIBPATH
  51283. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  51284. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  51285. + postinstall_cmds='base_file=`basename \$file`~
  51286. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
  51287. + dldir=$destdir/`dirname \$dlpath`~
  51288. + test -d \$dldir || mkdir -p \$dldir~
  51289. + $install_prog $dir/$dlname \$dldir/$dlname~
  51290. + chmod a+x \$dldir/$dlname~
  51291. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  51292. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  51293. + fi'
  51294. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
  51295. + dlpath=$dir/\$dldll~
  51296. + $RM \$dlpath'
  51297. + ;;
  51298. +
  51299. +osf3* | osf4* | osf5*)
  51300. + version_type=osf
  51301. + need_lib_prefix=no
  51302. + need_version=no
  51303. + soname_spec='$libname$release$shared_ext$major'
  51304. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51305. + shlibpath_var=LD_LIBRARY_PATH
  51306. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  51307. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  51308. + ;;
  51309. +
  51310. +rdos*)
  51311. + dynamic_linker=no
  51312. + ;;
  51313. +
  51314. +solaris*)
  51315. + version_type=linux # correct to gnu/linux during the next big refactor
  51316. + need_lib_prefix=no
  51317. + need_version=no
  51318. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51319. + soname_spec='$libname$release$shared_ext$major'
  51320. + shlibpath_var=LD_LIBRARY_PATH
  51321. + shlibpath_overrides_runpath=yes
  51322. + hardcode_into_libs=yes
  51323. + # ldd complains unless libraries are executable
  51324. + postinstall_cmds='chmod +x $lib'
  51325. + ;;
  51326. +
  51327. +sunos4*)
  51328. + version_type=sunos
  51329. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  51330. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  51331. + shlibpath_var=LD_LIBRARY_PATH
  51332. + shlibpath_overrides_runpath=yes
  51333. + if test yes = "$with_gnu_ld"; then
  51334. + need_lib_prefix=no
  51335. + fi
  51336. + need_version=yes
  51337. + ;;
  51338. +
  51339. +sysv4 | sysv4.3*)
  51340. + version_type=linux # correct to gnu/linux during the next big refactor
  51341. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51342. + soname_spec='$libname$release$shared_ext$major'
  51343. + shlibpath_var=LD_LIBRARY_PATH
  51344. + case $host_vendor in
  51345. + sni)
  51346. + shlibpath_overrides_runpath=no
  51347. + need_lib_prefix=no
  51348. + runpath_var=LD_RUN_PATH
  51349. + ;;
  51350. + siemens)
  51351. + need_lib_prefix=no
  51352. + ;;
  51353. + motorola)
  51354. + need_lib_prefix=no
  51355. + need_version=no
  51356. + shlibpath_overrides_runpath=no
  51357. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  51358. + ;;
  51359. + esac
  51360. + ;;
  51361. +
  51362. +sysv4*MP*)
  51363. + if test -d /usr/nec; then
  51364. + version_type=linux # correct to gnu/linux during the next big refactor
  51365. + library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
  51366. + soname_spec='$libname$shared_ext.$major'
  51367. + shlibpath_var=LD_LIBRARY_PATH
  51368. + fi
  51369. + ;;
  51370. +
  51371. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  51372. + version_type=sco
  51373. + need_lib_prefix=no
  51374. + need_version=no
  51375. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
  51376. + soname_spec='$libname$release$shared_ext$major'
  51377. + shlibpath_var=LD_LIBRARY_PATH
  51378. + shlibpath_overrides_runpath=yes
  51379. + hardcode_into_libs=yes
  51380. + if test yes = "$with_gnu_ld"; then
  51381. + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  51382. + else
  51383. + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  51384. + case $host_os in
  51385. + sco3.2v5*)
  51386. + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  51387. + ;;
  51388. + esac
  51389. + fi
  51390. + sys_lib_dlsearch_path_spec='/usr/lib'
  51391. + ;;
  51392. +
  51393. +tpf*)
  51394. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  51395. + version_type=linux # correct to gnu/linux during the next big refactor
  51396. + need_lib_prefix=no
  51397. + need_version=no
  51398. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51399. + shlibpath_var=LD_LIBRARY_PATH
  51400. + shlibpath_overrides_runpath=no
  51401. + hardcode_into_libs=yes
  51402. + ;;
  51403. +
  51404. +uts4*)
  51405. + version_type=linux # correct to gnu/linux during the next big refactor
  51406. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51407. + soname_spec='$libname$release$shared_ext$major'
  51408. + shlibpath_var=LD_LIBRARY_PATH
  51409. + ;;
  51410. +
  51411. +*)
  51412. + dynamic_linker=no
  51413. + ;;
  51414. +esac
  51415. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  51416. +$as_echo "$dynamic_linker" >&6; }
  51417. +test no = "$dynamic_linker" && can_build_shared=no
  51418. +
  51419. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  51420. +if test yes = "$GCC"; then
  51421. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  51422. +fi
  51423. +
  51424. +if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
  51425. + sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
  51426. +fi
  51427. +
  51428. +if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
  51429. + sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
  51430. +fi
  51431. +
  51432. +# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
  51433. +configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
  51434. +
  51435. +# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
  51436. +func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
  51437. +
  51438. +# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
  51439. +configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
  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. +
  51531. +
  51532. +
  51533. +
  51534. +
  51535. +
  51536. +
  51537. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  51538. +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  51539. +hardcode_action=
  51540. +if test -n "$hardcode_libdir_flag_spec" ||
  51541. + test -n "$runpath_var" ||
  51542. + test yes = "$hardcode_automatic"; then
  51543. +
  51544. + # We can hardcode non-existent directories.
  51545. + if test no != "$hardcode_direct" &&
  51546. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  51547. + # have to relink, otherwise we might link with an installed library
  51548. + # when we should be linking with a yet-to-be-installed one
  51549. + ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
  51550. + test no != "$hardcode_minus_L"; then
  51551. + # Linking always hardcodes the temporary library directory.
  51552. + hardcode_action=relink
  51553. + else
  51554. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  51555. + hardcode_action=immediate
  51556. + fi
  51557. +else
  51558. + # We cannot hardcode anything, or else we can only hardcode existing
  51559. + # directories.
  51560. + hardcode_action=unsupported
  51561. +fi
  51562. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  51563. +$as_echo "$hardcode_action" >&6; }
  51564. +
  51565. +if test relink = "$hardcode_action" ||
  51566. + test yes = "$inherit_rpath"; then
  51567. + # Fast installation is not supported
  51568. + enable_fast_install=no
  51569. +elif test yes = "$shlibpath_overrides_runpath" ||
  51570. + test no = "$enable_shared"; then
  51571. + # Fast installation is not necessary
  51572. + enable_fast_install=needless
  51573. +fi
  51574. +
  51575. +
  51576. +
  51577. +
  51578. +
  51579. +
  51580. + if test yes != "$enable_dlopen"; then
  51581. + enable_dlopen=unknown
  51582. + enable_dlopen_self=unknown
  51583. + enable_dlopen_self_static=unknown
  51584. +else
  51585. + lt_cv_dlopen=no
  51586. + lt_cv_dlopen_libs=
  51587. +
  51588. + case $host_os in
  51589. + beos*)
  51590. + lt_cv_dlopen=load_add_on
  51591. + lt_cv_dlopen_libs=
  51592. + lt_cv_dlopen_self=yes
  51593. + ;;
  51594. +
  51595. + mingw* | pw32* | cegcc*)
  51596. + lt_cv_dlopen=LoadLibrary
  51597. + lt_cv_dlopen_libs=
  51598. + ;;
  51599. +
  51600. + cygwin*)
  51601. + lt_cv_dlopen=dlopen
  51602. + lt_cv_dlopen_libs=
  51603. + ;;
  51604. +
  51605. + darwin*)
  51606. + # if libdl is installed we need to link against it
  51607. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  51608. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  51609. +if ${ac_cv_lib_dl_dlopen+:} false; then :
  51610. + $as_echo_n "(cached) " >&6
  51611. +else
  51612. + ac_check_lib_save_LIBS=$LIBS
  51613. +LIBS="-ldl $LIBS"
  51614. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51615. +/* end confdefs.h. */
  51616. +
  51617. +/* Override any GCC internal prototype to avoid an error.
  51618. + Use char because int might match the return type of a GCC
  51619. + builtin and then its argument prototype would still apply. */
  51620. +#ifdef __cplusplus
  51621. +extern "C"
  51622. +#endif
  51623. +char dlopen ();
  51624. +int
  51625. +main ()
  51626. +{
  51627. +return dlopen ();
  51628. + ;
  51629. + return 0;
  51630. +}
  51631. +_ACEOF
  51632. +if ac_fn_c_try_link "$LINENO"; then :
  51633. + ac_cv_lib_dl_dlopen=yes
  51634. +else
  51635. + ac_cv_lib_dl_dlopen=no
  51636. +fi
  51637. +rm -f core conftest.err conftest.$ac_objext \
  51638. + conftest$ac_exeext conftest.$ac_ext
  51639. +LIBS=$ac_check_lib_save_LIBS
  51640. +fi
  51641. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  51642. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  51643. +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  51644. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  51645. +else
  51646. +
  51647. + lt_cv_dlopen=dyld
  51648. + lt_cv_dlopen_libs=
  51649. + lt_cv_dlopen_self=yes
  51650. +
  51651. +fi
  51652. +
  51653. + ;;
  51654. +
  51655. + tpf*)
  51656. + # Don't try to run any link tests for TPF. We know it's impossible
  51657. + # because TPF is a cross-compiler, and we know how we open DSOs.
  51658. + lt_cv_dlopen=dlopen
  51659. + lt_cv_dlopen_libs=
  51660. + lt_cv_dlopen_self=no
  51661. + ;;
  51662. +
  51663. + *)
  51664. + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  51665. +if test "x$ac_cv_func_shl_load" = xyes; then :
  51666. + lt_cv_dlopen=shl_load
  51667. +else
  51668. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  51669. +$as_echo_n "checking for shl_load in -ldld... " >&6; }
  51670. +if ${ac_cv_lib_dld_shl_load+:} false; then :
  51671. + $as_echo_n "(cached) " >&6
  51672. +else
  51673. + ac_check_lib_save_LIBS=$LIBS
  51674. +LIBS="-ldld $LIBS"
  51675. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51676. +/* end confdefs.h. */
  51677. +
  51678. +/* Override any GCC internal prototype to avoid an error.
  51679. + Use char because int might match the return type of a GCC
  51680. + builtin and then its argument prototype would still apply. */
  51681. +#ifdef __cplusplus
  51682. +extern "C"
  51683. +#endif
  51684. +char shl_load ();
  51685. +int
  51686. +main ()
  51687. +{
  51688. +return shl_load ();
  51689. + ;
  51690. + return 0;
  51691. +}
  51692. +_ACEOF
  51693. +if ac_fn_c_try_link "$LINENO"; then :
  51694. + ac_cv_lib_dld_shl_load=yes
  51695. +else
  51696. + ac_cv_lib_dld_shl_load=no
  51697. +fi
  51698. +rm -f core conftest.err conftest.$ac_objext \
  51699. + conftest$ac_exeext conftest.$ac_ext
  51700. +LIBS=$ac_check_lib_save_LIBS
  51701. +fi
  51702. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  51703. +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  51704. +if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  51705. + lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
  51706. +else
  51707. + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  51708. +if test "x$ac_cv_func_dlopen" = xyes; then :
  51709. + lt_cv_dlopen=dlopen
  51710. +else
  51711. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  51712. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  51713. +if ${ac_cv_lib_dl_dlopen+:} false; then :
  51714. + $as_echo_n "(cached) " >&6
  51715. +else
  51716. + ac_check_lib_save_LIBS=$LIBS
  51717. +LIBS="-ldl $LIBS"
  51718. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51719. +/* end confdefs.h. */
  51720. +
  51721. +/* Override any GCC internal prototype to avoid an error.
  51722. + Use char because int might match the return type of a GCC
  51723. + builtin and then its argument prototype would still apply. */
  51724. +#ifdef __cplusplus
  51725. +extern "C"
  51726. +#endif
  51727. +char dlopen ();
  51728. +int
  51729. +main ()
  51730. +{
  51731. +return dlopen ();
  51732. + ;
  51733. + return 0;
  51734. +}
  51735. +_ACEOF
  51736. +if ac_fn_c_try_link "$LINENO"; then :
  51737. + ac_cv_lib_dl_dlopen=yes
  51738. +else
  51739. + ac_cv_lib_dl_dlopen=no
  51740. +fi
  51741. +rm -f core conftest.err conftest.$ac_objext \
  51742. + conftest$ac_exeext conftest.$ac_ext
  51743. +LIBS=$ac_check_lib_save_LIBS
  51744. +fi
  51745. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  51746. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  51747. +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  51748. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  51749. +else
  51750. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  51751. +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  51752. +if ${ac_cv_lib_svld_dlopen+:} false; then :
  51753. + $as_echo_n "(cached) " >&6
  51754. +else
  51755. + ac_check_lib_save_LIBS=$LIBS
  51756. +LIBS="-lsvld $LIBS"
  51757. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51758. +/* end confdefs.h. */
  51759. +
  51760. +/* Override any GCC internal prototype to avoid an error.
  51761. + Use char because int might match the return type of a GCC
  51762. + builtin and then its argument prototype would still apply. */
  51763. +#ifdef __cplusplus
  51764. +extern "C"
  51765. +#endif
  51766. +char dlopen ();
  51767. +int
  51768. +main ()
  51769. +{
  51770. +return dlopen ();
  51771. + ;
  51772. + return 0;
  51773. +}
  51774. +_ACEOF
  51775. +if ac_fn_c_try_link "$LINENO"; then :
  51776. + ac_cv_lib_svld_dlopen=yes
  51777. +else
  51778. + ac_cv_lib_svld_dlopen=no
  51779. +fi
  51780. +rm -f core conftest.err conftest.$ac_objext \
  51781. + conftest$ac_exeext conftest.$ac_ext
  51782. +LIBS=$ac_check_lib_save_LIBS
  51783. +fi
  51784. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  51785. +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  51786. +if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  51787. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
  51788. +else
  51789. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  51790. +$as_echo_n "checking for dld_link in -ldld... " >&6; }
  51791. +if ${ac_cv_lib_dld_dld_link+:} false; then :
  51792. + $as_echo_n "(cached) " >&6
  51793. +else
  51794. + ac_check_lib_save_LIBS=$LIBS
  51795. +LIBS="-ldld $LIBS"
  51796. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51797. +/* end confdefs.h. */
  51798. +
  51799. +/* Override any GCC internal prototype to avoid an error.
  51800. + Use char because int might match the return type of a GCC
  51801. + builtin and then its argument prototype would still apply. */
  51802. +#ifdef __cplusplus
  51803. +extern "C"
  51804. +#endif
  51805. +char dld_link ();
  51806. +int
  51807. +main ()
  51808. +{
  51809. +return dld_link ();
  51810. + ;
  51811. + return 0;
  51812. +}
  51813. +_ACEOF
  51814. +if ac_fn_c_try_link "$LINENO"; then :
  51815. + ac_cv_lib_dld_dld_link=yes
  51816. +else
  51817. + ac_cv_lib_dld_dld_link=no
  51818. +fi
  51819. +rm -f core conftest.err conftest.$ac_objext \
  51820. + conftest$ac_exeext conftest.$ac_ext
  51821. +LIBS=$ac_check_lib_save_LIBS
  51822. +fi
  51823. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  51824. +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  51825. +if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  51826. + lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
  51827. +fi
  51828. +
  51829. +
  51830. +fi
  51831. +
  51832. +
  51833. +fi
  51834. +
  51835. +
  51836. +fi
  51837. +
  51838. +
  51839. +fi
  51840. +
  51841. +
  51842. +fi
  51843. +
  51844. + ;;
  51845. + esac
  51846. +
  51847. + if test no = "$lt_cv_dlopen"; then
  51848. + enable_dlopen=no
  51849. + else
  51850. + enable_dlopen=yes
  51851. + fi
  51852. +
  51853. + case $lt_cv_dlopen in
  51854. + dlopen)
  51855. + save_CPPFLAGS=$CPPFLAGS
  51856. + test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  51857. +
  51858. + save_LDFLAGS=$LDFLAGS
  51859. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  51860. +
  51861. + save_LIBS=$LIBS
  51862. + LIBS="$lt_cv_dlopen_libs $LIBS"
  51863. +
  51864. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  51865. +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
  51866. +if ${lt_cv_dlopen_self+:} false; then :
  51867. + $as_echo_n "(cached) " >&6
  51868. +else
  51869. + if test yes = "$cross_compiling"; then :
  51870. + lt_cv_dlopen_self=cross
  51871. +else
  51872. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  51873. + lt_status=$lt_dlunknown
  51874. + cat > conftest.$ac_ext <<_LT_EOF
  51875. +#line $LINENO "configure"
  51876. +#include "confdefs.h"
  51877. +
  51878. +#if HAVE_DLFCN_H
  51879. +#include <dlfcn.h>
  51880. +#endif
  51881. +
  51882. +#include <stdio.h>
  51883. +
  51884. +#ifdef RTLD_GLOBAL
  51885. +# define LT_DLGLOBAL RTLD_GLOBAL
  51886. +#else
  51887. +# ifdef DL_GLOBAL
  51888. +# define LT_DLGLOBAL DL_GLOBAL
  51889. +# else
  51890. +# define LT_DLGLOBAL 0
  51891. +# endif
  51892. +#endif
  51893. +
  51894. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  51895. + find out it does not work in some platform. */
  51896. +#ifndef LT_DLLAZY_OR_NOW
  51897. +# ifdef RTLD_LAZY
  51898. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  51899. +# else
  51900. +# ifdef DL_LAZY
  51901. +# define LT_DLLAZY_OR_NOW DL_LAZY
  51902. +# else
  51903. +# ifdef RTLD_NOW
  51904. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  51905. +# else
  51906. +# ifdef DL_NOW
  51907. +# define LT_DLLAZY_OR_NOW DL_NOW
  51908. +# else
  51909. +# define LT_DLLAZY_OR_NOW 0
  51910. +# endif
  51911. +# endif
  51912. +# endif
  51913. +# endif
  51914. +#endif
  51915. +
  51916. +/* When -fvisibility=hidden is used, assume the code has been annotated
  51917. + correspondingly for the symbols needed. */
  51918. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  51919. +int fnord () __attribute__((visibility("default")));
  51920. +#endif
  51921. +
  51922. +int fnord () { return 42; }
  51923. +int main ()
  51924. +{
  51925. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  51926. + int status = $lt_dlunknown;
  51927. +
  51928. + if (self)
  51929. + {
  51930. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  51931. + else
  51932. + {
  51933. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  51934. + else puts (dlerror ());
  51935. + }
  51936. + /* dlclose (self); */
  51937. + }
  51938. + else
  51939. + puts (dlerror ());
  51940. +
  51941. + return status;
  51942. +}
  51943. +_LT_EOF
  51944. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  51945. + (eval $ac_link) 2>&5
  51946. + ac_status=$?
  51947. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  51948. + test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  51949. + (./conftest; exit; ) >&5 2>/dev/null
  51950. + lt_status=$?
  51951. + case x$lt_status in
  51952. + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  51953. + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  51954. + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  51955. + esac
  51956. + else :
  51957. + # compilation failed
  51958. + lt_cv_dlopen_self=no
  51959. + fi
  51960. +fi
  51961. +rm -fr conftest*
  51962. +
  51963. +
  51964. +fi
  51965. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  51966. +$as_echo "$lt_cv_dlopen_self" >&6; }
  51967. +
  51968. + if test yes = "$lt_cv_dlopen_self"; then
  51969. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  51970. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  51971. +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  51972. +if ${lt_cv_dlopen_self_static+:} false; then :
  51973. + $as_echo_n "(cached) " >&6
  51974. +else
  51975. + if test yes = "$cross_compiling"; then :
  51976. + lt_cv_dlopen_self_static=cross
  51977. +else
  51978. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  51979. + lt_status=$lt_dlunknown
  51980. + cat > conftest.$ac_ext <<_LT_EOF
  51981. +#line $LINENO "configure"
  51982. +#include "confdefs.h"
  51983. +
  51984. +#if HAVE_DLFCN_H
  51985. +#include <dlfcn.h>
  51986. +#endif
  51987. +
  51988. +#include <stdio.h>
  51989. +
  51990. +#ifdef RTLD_GLOBAL
  51991. +# define LT_DLGLOBAL RTLD_GLOBAL
  51992. +#else
  51993. +# ifdef DL_GLOBAL
  51994. +# define LT_DLGLOBAL DL_GLOBAL
  51995. +# else
  51996. +# define LT_DLGLOBAL 0
  51997. +# endif
  51998. +#endif
  51999. +
  52000. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  52001. + find out it does not work in some platform. */
  52002. +#ifndef LT_DLLAZY_OR_NOW
  52003. +# ifdef RTLD_LAZY
  52004. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  52005. +# else
  52006. +# ifdef DL_LAZY
  52007. +# define LT_DLLAZY_OR_NOW DL_LAZY
  52008. +# else
  52009. +# ifdef RTLD_NOW
  52010. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  52011. +# else
  52012. +# ifdef DL_NOW
  52013. +# define LT_DLLAZY_OR_NOW DL_NOW
  52014. +# else
  52015. +# define LT_DLLAZY_OR_NOW 0
  52016. +# endif
  52017. +# endif
  52018. +# endif
  52019. +# endif
  52020. +#endif
  52021. +
  52022. +/* When -fvisibility=hidden is used, assume the code has been annotated
  52023. + correspondingly for the symbols needed. */
  52024. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  52025. +int fnord () __attribute__((visibility("default")));
  52026. +#endif
  52027. +
  52028. +int fnord () { return 42; }
  52029. +int main ()
  52030. +{
  52031. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  52032. + int status = $lt_dlunknown;
  52033. +
  52034. + if (self)
  52035. + {
  52036. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  52037. + else
  52038. + {
  52039. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  52040. + else puts (dlerror ());
  52041. + }
  52042. + /* dlclose (self); */
  52043. + }
  52044. + else
  52045. + puts (dlerror ());
  52046. +
  52047. + return status;
  52048. +}
  52049. +_LT_EOF
  52050. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  52051. + (eval $ac_link) 2>&5
  52052. + ac_status=$?
  52053. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  52054. + test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  52055. + (./conftest; exit; ) >&5 2>/dev/null
  52056. + lt_status=$?
  52057. + case x$lt_status in
  52058. + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  52059. + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  52060. + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  52061. + esac
  52062. + else :
  52063. + # compilation failed
  52064. + lt_cv_dlopen_self_static=no
  52065. + fi
  52066. +fi
  52067. +rm -fr conftest*
  52068. +
  52069. +
  52070. +fi
  52071. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  52072. +$as_echo "$lt_cv_dlopen_self_static" >&6; }
  52073. + fi
  52074. +
  52075. + CPPFLAGS=$save_CPPFLAGS
  52076. + LDFLAGS=$save_LDFLAGS
  52077. + LIBS=$save_LIBS
  52078. + ;;
  52079. + esac
  52080. +
  52081. + case $lt_cv_dlopen_self in
  52082. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  52083. + *) enable_dlopen_self=unknown ;;
  52084. + esac
  52085. +
  52086. + case $lt_cv_dlopen_self_static in
  52087. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  52088. + *) enable_dlopen_self_static=unknown ;;
  52089. + esac
  52090. +fi
  52091. +
  52092. +
  52093. +
  52094. +
  52095. +
  52096. +
  52097. +
  52098. +
  52099. +
  52100. +
  52101. +
  52102. +
  52103. +
  52104. +
  52105. +
  52106. +
  52107. +
  52108. +striplib=
  52109. +old_striplib=
  52110. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  52111. +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
  52112. +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  52113. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  52114. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  52115. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  52116. +$as_echo "yes" >&6; }
  52117. +else
  52118. +# FIXME - insert some real tests, host_os isn't really good enough
  52119. + case $host_os in
  52120. + darwin*)
  52121. + if test -n "$STRIP"; then
  52122. + striplib="$STRIP -x"
  52123. + old_striplib="$STRIP -S"
  52124. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  52125. +$as_echo "yes" >&6; }
  52126. + else
  52127. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  52128. +$as_echo "no" >&6; }
  52129. + fi
  52130. + ;;
  52131. + *)
  52132. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  52133. +$as_echo "no" >&6; }
  52134. + ;;
  52135. + esac
  52136. +fi
  52137. +
  52138. +
  52139. +
  52140. +
  52141. +
  52142. +
  52143. +
  52144. +
  52145. +
  52146. +
  52147. +
  52148. +
  52149. + # Report what library types will actually be built
  52150. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  52151. +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
  52152. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  52153. +$as_echo "$can_build_shared" >&6; }
  52154. +
  52155. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  52156. +$as_echo_n "checking whether to build shared libraries... " >&6; }
  52157. + test no = "$can_build_shared" && enable_shared=no
  52158. +
  52159. + # On AIX, shared libraries and static libraries use the same namespace, and
  52160. + # are all built from PIC.
  52161. + case $host_os in
  52162. + aix3*)
  52163. + test yes = "$enable_shared" && enable_static=no
  52164. + if test -n "$RANLIB"; then
  52165. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  52166. + postinstall_cmds='$RANLIB $lib'
  52167. + fi
  52168. + ;;
  52169. +
  52170. + aix[4-9]*)
  52171. + if test ia64 != "$host_cpu"; then
  52172. + case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
  52173. + yes,aix,yes) ;; # shared object as lib.so file only
  52174. + yes,svr4,*) ;; # shared object as lib.so archive member only
  52175. + yes,*) enable_static=no ;; # shared object in lib.a archive as well
  52176. + esac
  52177. + fi
  52178. + ;;
  52179. + esac
  52180. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  52181. +$as_echo "$enable_shared" >&6; }
  52182. +
  52183. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  52184. +$as_echo_n "checking whether to build static libraries... " >&6; }
  52185. + # Make sure either enable_shared or enable_static is yes.
  52186. + test yes = "$enable_shared" || enable_static=yes
  52187. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  52188. +$as_echo "$enable_static" >&6; }
  52189. +
  52190. +
  52191. +
  52192. +
  52193. +fi
  52194. +ac_ext=c
  52195. +ac_cpp='$CPP $CPPFLAGS'
  52196. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  52197. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  52198. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  52199. +
  52200. +CC=$lt_save_CC
  52201. +
  52202. +
  52203. +
  52204. +
  52205. +
  52206. +
  52207. +
  52208. +
  52209. +
  52210. +
  52211. +
  52212. +
  52213. +
  52214. +
  52215. +
  52216. + ac_config_commands="$ac_config_commands libtool"
  52217. +
  52218. +
  52219. +
  52220. +
  52221. +# Only expand once:
  52222. +
  52223. +
  52224. +
  52225. +ac_ext=c
  52226. +ac_cpp='$CPP $CPPFLAGS'
  52227. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  52228. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  52229. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  52230. +if test -n "$ac_tool_prefix"; then
  52231. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  52232. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  52233. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  52234. +$as_echo_n "checking for $ac_word... " >&6; }
  52235. +if ${ac_cv_prog_CC+:} false; then :
  52236. + $as_echo_n "(cached) " >&6
  52237. +else
  52238. + if test -n "$CC"; then
  52239. + ac_cv_prog_CC="$CC" # Let the user override the test.
  52240. +else
  52241. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  52242. +for as_dir in $PATH
  52243. +do
  52244. + IFS=$as_save_IFS
  52245. + test -z "$as_dir" && as_dir=.
  52246. + for ac_exec_ext in '' $ac_executable_extensions; do
  52247. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  52248. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  52249. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  52250. + break 2
  52251. + fi
  52252. +done
  52253. + done
  52254. +IFS=$as_save_IFS
  52255. +
  52256. +fi
  52257. +fi
  52258. +CC=$ac_cv_prog_CC
  52259. +if test -n "$CC"; then
  52260. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  52261. +$as_echo "$CC" >&6; }
  52262. +else
  52263. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  52264. +$as_echo "no" >&6; }
  52265. +fi
  52266. +
  52267. +
  52268. +fi
  52269. +if test -z "$ac_cv_prog_CC"; then
  52270. + ac_ct_CC=$CC
  52271. + # Extract the first word of "gcc", so it can be a program name with args.
  52272. +set dummy gcc; ac_word=$2
  52273. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  52274. +$as_echo_n "checking for $ac_word... " >&6; }
  52275. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  52276. + $as_echo_n "(cached) " >&6
  52277. +else
  52278. + if test -n "$ac_ct_CC"; then
  52279. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  52280. +else
  52281. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  52282. +for as_dir in $PATH
  52283. +do
  52284. + IFS=$as_save_IFS
  52285. + test -z "$as_dir" && as_dir=.
  52286. + for ac_exec_ext in '' $ac_executable_extensions; do
  52287. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  52288. + ac_cv_prog_ac_ct_CC="gcc"
  52289. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  52290. + break 2
  52291. + fi
  52292. +done
  52293. + done
  52294. +IFS=$as_save_IFS
  52295. +
  52296. +fi
  52297. +fi
  52298. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  52299. +if test -n "$ac_ct_CC"; then
  52300. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  52301. +$as_echo "$ac_ct_CC" >&6; }
  52302. +else
  52303. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  52304. +$as_echo "no" >&6; }
  52305. +fi
  52306. +
  52307. + if test "x$ac_ct_CC" = x; then
  52308. + CC=""
  52309. + else
  52310. + case $cross_compiling:$ac_tool_warned in
  52311. +yes:)
  52312. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  52313. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  52314. +ac_tool_warned=yes ;;
  52315. +esac
  52316. + CC=$ac_ct_CC
  52317. + fi
  52318. +else
  52319. + CC="$ac_cv_prog_CC"
  52320. +fi
  52321. +
  52322. +if test -z "$CC"; then
  52323. + if test -n "$ac_tool_prefix"; then
  52324. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  52325. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  52326. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  52327. +$as_echo_n "checking for $ac_word... " >&6; }
  52328. +if ${ac_cv_prog_CC+:} false; then :
  52329. + $as_echo_n "(cached) " >&6
  52330. +else
  52331. + if test -n "$CC"; then
  52332. + ac_cv_prog_CC="$CC" # Let the user override the test.
  52333. +else
  52334. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  52335. +for as_dir in $PATH
  52336. +do
  52337. + IFS=$as_save_IFS
  52338. + test -z "$as_dir" && as_dir=.
  52339. + for ac_exec_ext in '' $ac_executable_extensions; do
  52340. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  52341. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  52342. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  52343. + break 2
  52344. + fi
  52345. +done
  52346. + done
  52347. +IFS=$as_save_IFS
  52348. +
  52349. +fi
  52350. +fi
  52351. +CC=$ac_cv_prog_CC
  52352. +if test -n "$CC"; then
  52353. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  52354. +$as_echo "$CC" >&6; }
  52355. +else
  52356. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  52357. +$as_echo "no" >&6; }
  52358. +fi
  52359. +
  52360. +
  52361. + fi
  52362. +fi
  52363. +if test -z "$CC"; then
  52364. + # Extract the first word of "cc", so it can be a program name with args.
  52365. +set dummy cc; ac_word=$2
  52366. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  52367. +$as_echo_n "checking for $ac_word... " >&6; }
  52368. +if ${ac_cv_prog_CC+:} false; then :
  52369. + $as_echo_n "(cached) " >&6
  52370. +else
  52371. + if test -n "$CC"; then
  52372. + ac_cv_prog_CC="$CC" # Let the user override the test.
  52373. +else
  52374. + ac_prog_rejected=no
  52375. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  52376. +for as_dir in $PATH
  52377. +do
  52378. + IFS=$as_save_IFS
  52379. + test -z "$as_dir" && as_dir=.
  52380. + for ac_exec_ext in '' $ac_executable_extensions; do
  52381. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  52382. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  52383. + ac_prog_rejected=yes
  52384. + continue
  52385. + fi
  52386. + ac_cv_prog_CC="cc"
  52387. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  52388. + break 2
  52389. + fi
  52390. +done
  52391. + done
  52392. +IFS=$as_save_IFS
  52393. +
  52394. +if test $ac_prog_rejected = yes; then
  52395. + # We found a bogon in the path, so make sure we never use it.
  52396. + set dummy $ac_cv_prog_CC
  52397. + shift
  52398. + if test $@%:@ != 0; then
  52399. + # We chose a different compiler from the bogus one.
  52400. + # However, it has the same basename, so the bogon will be chosen
  52401. + # first if we set CC to just the basename; use the full file name.
  52402. + shift
  52403. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  52404. + fi
  52405. +fi
  52406. +fi
  52407. +fi
  52408. +CC=$ac_cv_prog_CC
  52409. +if test -n "$CC"; then
  52410. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  52411. +$as_echo "$CC" >&6; }
  52412. +else
  52413. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  52414. +$as_echo "no" >&6; }
  52415. +fi
  52416. +
  52417. +
  52418. +fi
  52419. +if test -z "$CC"; then
  52420. + if test -n "$ac_tool_prefix"; then
  52421. + for ac_prog in cl.exe
  52422. + do
  52423. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  52424. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  52425. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  52426. +$as_echo_n "checking for $ac_word... " >&6; }
  52427. +if ${ac_cv_prog_CC+:} false; then :
  52428. + $as_echo_n "(cached) " >&6
  52429. +else
  52430. + if test -n "$CC"; then
  52431. + ac_cv_prog_CC="$CC" # Let the user override the test.
  52432. +else
  52433. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  52434. +for as_dir in $PATH
  52435. +do
  52436. + IFS=$as_save_IFS
  52437. + test -z "$as_dir" && as_dir=.
  52438. + for ac_exec_ext in '' $ac_executable_extensions; do
  52439. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  52440. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  52441. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  52442. + break 2
  52443. + fi
  52444. +done
  52445. + done
  52446. +IFS=$as_save_IFS
  52447. +
  52448. +fi
  52449. +fi
  52450. +CC=$ac_cv_prog_CC
  52451. +if test -n "$CC"; then
  52452. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  52453. +$as_echo "$CC" >&6; }
  52454. +else
  52455. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  52456. +$as_echo "no" >&6; }
  52457. +fi
  52458. +
  52459. +
  52460. + test -n "$CC" && break
  52461. + done
  52462. +fi
  52463. +if test -z "$CC"; then
  52464. + ac_ct_CC=$CC
  52465. + for ac_prog in cl.exe
  52466. +do
  52467. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  52468. +set dummy $ac_prog; ac_word=$2
  52469. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  52470. +$as_echo_n "checking for $ac_word... " >&6; }
  52471. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  52472. + $as_echo_n "(cached) " >&6
  52473. +else
  52474. + if test -n "$ac_ct_CC"; then
  52475. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  52476. +else
  52477. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  52478. +for as_dir in $PATH
  52479. +do
  52480. + IFS=$as_save_IFS
  52481. + test -z "$as_dir" && as_dir=.
  52482. + for ac_exec_ext in '' $ac_executable_extensions; do
  52483. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  52484. + ac_cv_prog_ac_ct_CC="$ac_prog"
  52485. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  52486. + break 2
  52487. + fi
  52488. +done
  52489. + done
  52490. +IFS=$as_save_IFS
  52491. +
  52492. +fi
  52493. +fi
  52494. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  52495. +if test -n "$ac_ct_CC"; then
  52496. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  52497. +$as_echo "$ac_ct_CC" >&6; }
  52498. +else
  52499. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  52500. +$as_echo "no" >&6; }
  52501. +fi
  52502. +
  52503. +
  52504. + test -n "$ac_ct_CC" && break
  52505. +done
  52506. +
  52507. + if test "x$ac_ct_CC" = x; then
  52508. + CC=""
  52509. + else
  52510. + case $cross_compiling:$ac_tool_warned in
  52511. +yes:)
  52512. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  52513. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  52514. +ac_tool_warned=yes ;;
  52515. +esac
  52516. + CC=$ac_ct_CC
  52517. + fi
  52518. +fi
  52519. +
  52520. +fi
  52521. +
  52522. +
  52523. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  52524. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  52525. +as_fn_error $? "no acceptable C compiler found in \$PATH
  52526. +See \`config.log' for more details" "$LINENO" 5; }
  52527. +
  52528. +# Provide some information about the compiler.
  52529. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  52530. +set X $ac_compile
  52531. +ac_compiler=$2
  52532. +for ac_option in --version -v -V -qversion; do
  52533. + { { ac_try="$ac_compiler $ac_option >&5"
  52534. +case "(($ac_try" in
  52535. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  52536. + *) ac_try_echo=$ac_try;;
  52537. +esac
  52538. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  52539. +$as_echo "$ac_try_echo"; } >&5
  52540. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  52541. + ac_status=$?
  52542. + if test -s conftest.err; then
  52543. + sed '10a\
  52544. +... rest of stderr output deleted ...
  52545. + 10q' conftest.err >conftest.er1
  52546. + cat conftest.er1 >&5
  52547. + fi
  52548. + rm -f conftest.er1 conftest.err
  52549. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  52550. + test $ac_status = 0; }
  52551. +done
  52552. +
  52553. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  52554. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  52555. +if ${ac_cv_c_compiler_gnu+:} false; then :
  52556. + $as_echo_n "(cached) " >&6
  52557. +else
  52558. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52559. +/* end confdefs.h. */
  52560. +
  52561. +int
  52562. +main ()
  52563. +{
  52564. +#ifndef __GNUC__
  52565. + choke me
  52566. +#endif
  52567. +
  52568. + ;
  52569. + return 0;
  52570. +}
  52571. +_ACEOF
  52572. +if ac_fn_c_try_compile "$LINENO"; then :
  52573. + ac_compiler_gnu=yes
  52574. +else
  52575. + ac_compiler_gnu=no
  52576. +fi
  52577. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  52578. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  52579. +
  52580. +fi
  52581. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  52582. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  52583. +if test $ac_compiler_gnu = yes; then
  52584. + GCC=yes
  52585. +else
  52586. + GCC=
  52587. +fi
  52588. +ac_test_CFLAGS=${CFLAGS+set}
  52589. +ac_save_CFLAGS=$CFLAGS
  52590. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  52591. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  52592. +if ${ac_cv_prog_cc_g+:} false; then :
  52593. + $as_echo_n "(cached) " >&6
  52594. +else
  52595. + ac_save_c_werror_flag=$ac_c_werror_flag
  52596. + ac_c_werror_flag=yes
  52597. + ac_cv_prog_cc_g=no
  52598. + CFLAGS="-g"
  52599. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52600. +/* end confdefs.h. */
  52601. +
  52602. +int
  52603. +main ()
  52604. +{
  52605. +
  52606. + ;
  52607. + return 0;
  52608. +}
  52609. +_ACEOF
  52610. +if ac_fn_c_try_compile "$LINENO"; then :
  52611. + ac_cv_prog_cc_g=yes
  52612. +else
  52613. + CFLAGS=""
  52614. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52615. +/* end confdefs.h. */
  52616. +
  52617. +int
  52618. +main ()
  52619. +{
  52620. +
  52621. + ;
  52622. + return 0;
  52623. +}
  52624. +_ACEOF
  52625. +if ac_fn_c_try_compile "$LINENO"; then :
  52626. +
  52627. +else
  52628. + ac_c_werror_flag=$ac_save_c_werror_flag
  52629. + CFLAGS="-g"
  52630. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52631. +/* end confdefs.h. */
  52632. +
  52633. +int
  52634. +main ()
  52635. +{
  52636. +
  52637. + ;
  52638. + return 0;
  52639. +}
  52640. +_ACEOF
  52641. +if ac_fn_c_try_compile "$LINENO"; then :
  52642. + ac_cv_prog_cc_g=yes
  52643. +fi
  52644. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  52645. +fi
  52646. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  52647. +fi
  52648. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  52649. + ac_c_werror_flag=$ac_save_c_werror_flag
  52650. +fi
  52651. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  52652. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  52653. +if test "$ac_test_CFLAGS" = set; then
  52654. + CFLAGS=$ac_save_CFLAGS
  52655. +elif test $ac_cv_prog_cc_g = yes; then
  52656. + if test "$GCC" = yes; then
  52657. + CFLAGS="-g -O2"
  52658. + else
  52659. + CFLAGS="-g"
  52660. + fi
  52661. +else
  52662. + if test "$GCC" = yes; then
  52663. + CFLAGS="-O2"
  52664. + else
  52665. + CFLAGS=
  52666. + fi
  52667. +fi
  52668. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  52669. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  52670. +if ${ac_cv_prog_cc_c89+:} false; then :
  52671. + $as_echo_n "(cached) " >&6
  52672. +else
  52673. + ac_cv_prog_cc_c89=no
  52674. +ac_save_CC=$CC
  52675. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52676. +/* end confdefs.h. */
  52677. +#include <stdarg.h>
  52678. +#include <stdio.h>
  52679. +struct stat;
  52680. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  52681. +struct buf { int x; };
  52682. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  52683. +static char *e (p, i)
  52684. + char **p;
  52685. + int i;
  52686. +{
  52687. + return p[i];
  52688. +}
  52689. +static char *f (char * (*g) (char **, int), char **p, ...)
  52690. +{
  52691. + char *s;
  52692. + va_list v;
  52693. + va_start (v,p);
  52694. + s = g (p, va_arg (v,int));
  52695. + va_end (v);
  52696. + return s;
  52697. +}
  52698. +
  52699. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  52700. + function prototypes and stuff, but not '\xHH' hex character constants.
  52701. + These don't provoke an error unfortunately, instead are silently treated
  52702. + as 'x'. The following induces an error, until -std is added to get
  52703. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  52704. + array size at least. It's necessary to write '\x00'==0 to get something
  52705. + that's true only with -std. */
  52706. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  52707. +
  52708. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  52709. + inside strings and character constants. */
  52710. +#define FOO(x) 'x'
  52711. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  52712. +
  52713. +int test (int i, double x);
  52714. +struct s1 {int (*f) (int a);};
  52715. +struct s2 {int (*f) (double a);};
  52716. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  52717. +int argc;
  52718. +char **argv;
  52719. +int
  52720. +main ()
  52721. +{
  52722. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  52723. + ;
  52724. + return 0;
  52725. +}
  52726. +_ACEOF
  52727. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  52728. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  52729. +do
  52730. + CC="$ac_save_CC $ac_arg"
  52731. + if ac_fn_c_try_compile "$LINENO"; then :
  52732. + ac_cv_prog_cc_c89=$ac_arg
  52733. +fi
  52734. +rm -f core conftest.err conftest.$ac_objext
  52735. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  52736. +done
  52737. +rm -f conftest.$ac_ext
  52738. +CC=$ac_save_CC
  52739. +
  52740. +fi
  52741. +# AC_CACHE_VAL
  52742. +case "x$ac_cv_prog_cc_c89" in
  52743. + x)
  52744. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  52745. +$as_echo "none needed" >&6; } ;;
  52746. + xno)
  52747. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  52748. +$as_echo "unsupported" >&6; } ;;
  52749. + *)
  52750. + CC="$CC $ac_cv_prog_cc_c89"
  52751. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  52752. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  52753. +esac
  52754. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  52755. +
  52756. +fi
  52757. +
  52758. +ac_ext=c
  52759. +ac_cpp='$CPP $CPPFLAGS'
  52760. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  52761. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  52762. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  52763. +
  52764. +ac_ext=c
  52765. +ac_cpp='$CPP $CPPFLAGS'
  52766. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  52767. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  52768. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  52769. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  52770. +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  52771. +if ${am_cv_prog_cc_c_o+:} false; then :
  52772. + $as_echo_n "(cached) " >&6
  52773. +else
  52774. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52775. +/* end confdefs.h. */
  52776. +
  52777. +int
  52778. +main ()
  52779. +{
  52780. +
  52781. + ;
  52782. + return 0;
  52783. +}
  52784. +_ACEOF
  52785. + # Make sure it works both with $CC and with simple cc.
  52786. + # Following AC_PROG_CC_C_O, we do the test twice because some
  52787. + # compilers refuse to overwrite an existing .o file with -o,
  52788. + # though they will create one.
  52789. + am_cv_prog_cc_c_o=yes
  52790. + for am_i in 1 2; do
  52791. + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  52792. + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  52793. + ac_status=$?
  52794. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  52795. + (exit $ac_status); } \
  52796. + && test -f conftest2.$ac_objext; then
  52797. + : OK
  52798. + else
  52799. + am_cv_prog_cc_c_o=no
  52800. + break
  52801. + fi
  52802. + done
  52803. + rm -f core conftest*
  52804. + unset am_i
  52805. +fi
  52806. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  52807. +$as_echo "$am_cv_prog_cc_c_o" >&6; }
  52808. +if test "$am_cv_prog_cc_c_o" != yes; then
  52809. + # Losing compiler, so override with the script.
  52810. + # FIXME: It is wrong to rewrite CC.
  52811. + # But if we don't then we get into trouble of one sort or another.
  52812. + # A longer-term fix would be to have automake use am__CC in this case,
  52813. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  52814. + CC="$am_aux_dir/compile $CC"
  52815. +fi
  52816. +ac_ext=c
  52817. +ac_cpp='$CPP $CPPFLAGS'
  52818. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  52819. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  52820. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  52821. +
  52822. +
  52823. +depcc="$CC" am_compiler_list=
  52824. +
  52825. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  52826. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  52827. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  52828. + $as_echo_n "(cached) " >&6
  52829. +else
  52830. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  52831. + # We make a subdir and do the tests there. Otherwise we can end up
  52832. + # making bogus files that we don't know about and never remove. For
  52833. + # instance it was reported that on HP-UX the gcc test will end up
  52834. + # making a dummy file named 'D' -- because '-MD' means "put the output
  52835. + # in D".
  52836. + rm -rf conftest.dir
  52837. + mkdir conftest.dir
  52838. + # Copy depcomp to subdir because otherwise we won't find it if we're
  52839. + # using a relative directory.
  52840. + cp "$am_depcomp" conftest.dir
  52841. + cd conftest.dir
  52842. + # We will build objects and dependencies in a subdirectory because
  52843. + # it helps to detect inapplicable dependency modes. For instance
  52844. + # both Tru64's cc and ICC support -MD to output dependencies as a
  52845. + # side effect of compilation, but ICC will put the dependencies in
  52846. + # the current directory while Tru64 will put them in the object
  52847. + # directory.
  52848. + mkdir sub
  52849. +
  52850. + am_cv_CC_dependencies_compiler_type=none
  52851. + if test "$am_compiler_list" = ""; then
  52852. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  52853. + fi
  52854. + am__universal=false
  52855. + case " $depcc " in #(
  52856. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  52857. + esac
  52858. +
  52859. + for depmode in $am_compiler_list; do
  52860. + # Setup a source with many dependencies, because some compilers
  52861. + # like to wrap large dependency lists on column 80 (with \), and
  52862. + # we should not choose a depcomp mode which is confused by this.
  52863. + #
  52864. + # We need to recreate these files for each test, as the compiler may
  52865. + # overwrite some of them when testing with obscure command lines.
  52866. + # This happens at least with the AIX C compiler.
  52867. + : > sub/conftest.c
  52868. + for i in 1 2 3 4 5 6; do
  52869. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  52870. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  52871. + # Solaris 10 /bin/sh.
  52872. + echo '/* dummy */' > sub/conftst$i.h
  52873. + done
  52874. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  52875. +
  52876. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  52877. + # mode. It turns out that the SunPro C++ compiler does not properly
  52878. + # handle '-M -o', and we need to detect this. Also, some Intel
  52879. + # versions had trouble with output in subdirs.
  52880. + am__obj=sub/conftest.${OBJEXT-o}
  52881. + am__minus_obj="-o $am__obj"
  52882. + case $depmode in
  52883. + gcc)
  52884. + # This depmode causes a compiler race in universal mode.
  52885. + test "$am__universal" = false || continue
  52886. + ;;
  52887. + nosideeffect)
  52888. + # After this tag, mechanisms are not by side-effect, so they'll
  52889. + # only be used when explicitly requested.
  52890. + if test "x$enable_dependency_tracking" = xyes; then
  52891. + continue
  52892. + else
  52893. + break
  52894. + fi
  52895. + ;;
  52896. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  52897. + # This compiler won't grok '-c -o', but also, the minuso test has
  52898. + # not run yet. These depmodes are late enough in the game, and
  52899. + # so weak that their functioning should not be impacted.
  52900. + am__obj=conftest.${OBJEXT-o}
  52901. + am__minus_obj=
  52902. + ;;
  52903. + none) break ;;
  52904. + esac
  52905. + if depmode=$depmode \
  52906. + source=sub/conftest.c object=$am__obj \
  52907. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  52908. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  52909. + >/dev/null 2>conftest.err &&
  52910. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  52911. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  52912. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  52913. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  52914. + # icc doesn't choke on unknown options, it will just issue warnings
  52915. + # or remarks (even with -Werror). So we grep stderr for any message
  52916. + # that says an option was ignored or not supported.
  52917. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  52918. + # icc: Command line warning: ignoring option '-M'; no argument required
  52919. + # The diagnosis changed in icc 8.0:
  52920. + # icc: Command line remark: option '-MP' not supported
  52921. + if (grep 'ignoring option' conftest.err ||
  52922. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  52923. + am_cv_CC_dependencies_compiler_type=$depmode
  52924. + break
  52925. + fi
  52926. + fi
  52927. + done
  52928. +
  52929. + cd ..
  52930. + rm -rf conftest.dir
  52931. +else
  52932. + am_cv_CC_dependencies_compiler_type=none
  52933. +fi
  52934. +
  52935. +fi
  52936. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  52937. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  52938. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  52939. +
  52940. + if
  52941. + test "x$enable_dependency_tracking" != xno \
  52942. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  52943. + am__fastdepCC_TRUE=
  52944. + am__fastdepCC_FALSE='#'
  52945. +else
  52946. + am__fastdepCC_TRUE='#'
  52947. + am__fastdepCC_FALSE=
  52948. +fi
  52949. +
  52950. +
  52951. +
  52952. +# Compiler Flags
  52953. +
  52954. +#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'
  52955. +AM_CPPFLAGS='-DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  52956. +
  52957. +# Checks whether shifting of signed integers works: -1 << 3 = -8 .
  52958. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shifting of signed integers works" >&5
  52959. +$as_echo_n "checking whether shifting of signed integers works... " >&6; }
  52960. +if ${ac_cv_signed_shift+:} false; then :
  52961. + $as_echo_n "(cached) " >&6
  52962. +else
  52963. + if test "$cross_compiling" = yes; then :
  52964. + ac_cv_signed_shift=yes
  52965. +else
  52966. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52967. +/* end confdefs.h. */
  52968. +main () {
  52969. + exit ((-1 << 2) == -4 && (-4 >> 2) == -1);
  52970. +}
  52971. +_ACEOF
  52972. +if ac_fn_c_try_run "$LINENO"; then :
  52973. + ac_cv_signed_shift=no
  52974. +else
  52975. + ac_cv_signed_shift=yes
  52976. +fi
  52977. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  52978. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  52979. +fi
  52980. +
  52981. +fi
  52982. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_signed_shift" >&5
  52983. +$as_echo "$ac_cv_signed_shift" >&6; }
  52984. +if test $ac_cv_signed_shift = yes; then
  52985. + $as_echo "@%:@define HAVE_SIGNED_SHIFT 1" >>confdefs.h
  52986. +
  52987. +fi
  52988. +
  52989. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  52990. +$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  52991. +if ${ac_cv_c_bigendian+:} false; then :
  52992. + $as_echo_n "(cached) " >&6
  52993. +else
  52994. + ac_cv_c_bigendian=unknown
  52995. + # See if we're dealing with a universal compiler.
  52996. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52997. +/* end confdefs.h. */
  52998. +#ifndef __APPLE_CC__
  52999. + not a universal capable compiler
  53000. + #endif
  53001. + typedef int dummy;
  53002. +
  53003. +_ACEOF
  53004. +if ac_fn_c_try_compile "$LINENO"; then :
  53005. +
  53006. + # Check for potential -arch flags. It is not universal unless
  53007. + # there are at least two -arch flags with different values.
  53008. + ac_arch=
  53009. + ac_prev=
  53010. + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  53011. + if test -n "$ac_prev"; then
  53012. + case $ac_word in
  53013. + i?86 | x86_64 | ppc | ppc64)
  53014. + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  53015. + ac_arch=$ac_word
  53016. + else
  53017. + ac_cv_c_bigendian=universal
  53018. + break
  53019. + fi
  53020. + ;;
  53021. + esac
  53022. + ac_prev=
  53023. + elif test "x$ac_word" = "x-arch"; then
  53024. + ac_prev=arch
  53025. + fi
  53026. + done
  53027. +fi
  53028. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53029. + if test $ac_cv_c_bigendian = unknown; then
  53030. + # See if sys/param.h defines the BYTE_ORDER macro.
  53031. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53032. +/* end confdefs.h. */
  53033. +#include <sys/types.h>
  53034. + #include <sys/param.h>
  53035. +
  53036. +int
  53037. +main ()
  53038. +{
  53039. +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  53040. + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  53041. + && LITTLE_ENDIAN)
  53042. + bogus endian macros
  53043. + #endif
  53044. +
  53045. + ;
  53046. + return 0;
  53047. +}
  53048. +_ACEOF
  53049. +if ac_fn_c_try_compile "$LINENO"; then :
  53050. + # It does; now see whether it defined to BIG_ENDIAN or not.
  53051. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53052. +/* end confdefs.h. */
  53053. +#include <sys/types.h>
  53054. + #include <sys/param.h>
  53055. +
  53056. +int
  53057. +main ()
  53058. +{
  53059. +#if BYTE_ORDER != BIG_ENDIAN
  53060. + not big endian
  53061. + #endif
  53062. +
  53063. + ;
  53064. + return 0;
  53065. +}
  53066. +_ACEOF
  53067. +if ac_fn_c_try_compile "$LINENO"; then :
  53068. + ac_cv_c_bigendian=yes
  53069. +else
  53070. + ac_cv_c_bigendian=no
  53071. +fi
  53072. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53073. +fi
  53074. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53075. + fi
  53076. + if test $ac_cv_c_bigendian = unknown; then
  53077. + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  53078. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53079. +/* end confdefs.h. */
  53080. +#include <limits.h>
  53081. +
  53082. +int
  53083. +main ()
  53084. +{
  53085. +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  53086. + bogus endian macros
  53087. + #endif
  53088. +
  53089. + ;
  53090. + return 0;
  53091. +}
  53092. +_ACEOF
  53093. +if ac_fn_c_try_compile "$LINENO"; then :
  53094. + # It does; now see whether it defined to _BIG_ENDIAN or not.
  53095. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53096. +/* end confdefs.h. */
  53097. +#include <limits.h>
  53098. +
  53099. +int
  53100. +main ()
  53101. +{
  53102. +#ifndef _BIG_ENDIAN
  53103. + not big endian
  53104. + #endif
  53105. +
  53106. + ;
  53107. + return 0;
  53108. +}
  53109. +_ACEOF
  53110. +if ac_fn_c_try_compile "$LINENO"; then :
  53111. + ac_cv_c_bigendian=yes
  53112. +else
  53113. + ac_cv_c_bigendian=no
  53114. +fi
  53115. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53116. +fi
  53117. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53118. + fi
  53119. + if test $ac_cv_c_bigendian = unknown; then
  53120. + # Compile a test program.
  53121. + if test "$cross_compiling" = yes; then :
  53122. + # Try to guess by grepping values from an object file.
  53123. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53124. +/* end confdefs.h. */
  53125. +short int ascii_mm[] =
  53126. + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  53127. + short int ascii_ii[] =
  53128. + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  53129. + int use_ascii (int i) {
  53130. + return ascii_mm[i] + ascii_ii[i];
  53131. + }
  53132. + short int ebcdic_ii[] =
  53133. + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  53134. + short int ebcdic_mm[] =
  53135. + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  53136. + int use_ebcdic (int i) {
  53137. + return ebcdic_mm[i] + ebcdic_ii[i];
  53138. + }
  53139. + extern int foo;
  53140. +
  53141. +int
  53142. +main ()
  53143. +{
  53144. +return use_ascii (foo) == use_ebcdic (foo);
  53145. + ;
  53146. + return 0;
  53147. +}
  53148. +_ACEOF
  53149. +if ac_fn_c_try_compile "$LINENO"; then :
  53150. + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  53151. + ac_cv_c_bigendian=yes
  53152. + fi
  53153. + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  53154. + if test "$ac_cv_c_bigendian" = unknown; then
  53155. + ac_cv_c_bigendian=no
  53156. + else
  53157. + # finding both strings is unlikely to happen, but who knows?
  53158. + ac_cv_c_bigendian=unknown
  53159. + fi
  53160. + fi
  53161. +fi
  53162. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53163. +else
  53164. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53165. +/* end confdefs.h. */
  53166. +$ac_includes_default
  53167. +int
  53168. +main ()
  53169. +{
  53170. +
  53171. + /* Are we little or big endian? From Harbison&Steele. */
  53172. + union
  53173. + {
  53174. + long int l;
  53175. + char c[sizeof (long int)];
  53176. + } u;
  53177. + u.l = 1;
  53178. + return u.c[sizeof (long int) - 1] == 1;
  53179. +
  53180. + ;
  53181. + return 0;
  53182. +}
  53183. +_ACEOF
  53184. +if ac_fn_c_try_run "$LINENO"; then :
  53185. + ac_cv_c_bigendian=no
  53186. +else
  53187. + ac_cv_c_bigendian=yes
  53188. +fi
  53189. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  53190. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  53191. +fi
  53192. +
  53193. + fi
  53194. +fi
  53195. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  53196. +$as_echo "$ac_cv_c_bigendian" >&6; }
  53197. + case $ac_cv_c_bigendian in #(
  53198. + yes)
  53199. + $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
  53200. +;; #(
  53201. + no)
  53202. + ;; #(
  53203. + universal)
  53204. +
  53205. +$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  53206. +
  53207. + ;; #(
  53208. + *)
  53209. + as_fn_error $? "unknown endianness
  53210. + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  53211. + esac
  53212. +
  53213. +# The cast to long int works around a bug in the HP C Compiler
  53214. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  53215. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  53216. +# This bug is HP SR number 8606223364.
  53217. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
  53218. +$as_echo_n "checking size of char... " >&6; }
  53219. +if ${ac_cv_sizeof_char+:} false; then :
  53220. + $as_echo_n "(cached) " >&6
  53221. +else
  53222. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
  53223. +
  53224. +else
  53225. + if test "$ac_cv_type_char" = yes; then
  53226. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  53227. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  53228. +as_fn_error 77 "cannot compute sizeof (char)
  53229. +See \`config.log' for more details" "$LINENO" 5; }
  53230. + else
  53231. + ac_cv_sizeof_char=0
  53232. + fi
  53233. +fi
  53234. +
  53235. +fi
  53236. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
  53237. +$as_echo "$ac_cv_sizeof_char" >&6; }
  53238. +
  53239. +
  53240. +
  53241. +cat >>confdefs.h <<_ACEOF
  53242. +@%:@define SIZEOF_CHAR $ac_cv_sizeof_char
  53243. +_ACEOF
  53244. +
  53245. +
  53246. +# The cast to long int works around a bug in the HP C Compiler
  53247. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  53248. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  53249. +# This bug is HP SR number 8606223364.
  53250. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
  53251. +$as_echo_n "checking size of short... " >&6; }
  53252. +if ${ac_cv_sizeof_short+:} false; then :
  53253. + $as_echo_n "(cached) " >&6
  53254. +else
  53255. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
  53256. +
  53257. +else
  53258. + if test "$ac_cv_type_short" = yes; then
  53259. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  53260. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  53261. +as_fn_error 77 "cannot compute sizeof (short)
  53262. +See \`config.log' for more details" "$LINENO" 5; }
  53263. + else
  53264. + ac_cv_sizeof_short=0
  53265. + fi
  53266. +fi
  53267. +
  53268. +fi
  53269. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
  53270. +$as_echo "$ac_cv_sizeof_short" >&6; }
  53271. +
  53272. +
  53273. +
  53274. +cat >>confdefs.h <<_ACEOF
  53275. +@%:@define SIZEOF_SHORT $ac_cv_sizeof_short
  53276. +_ACEOF
  53277. +
  53278. +
  53279. +# The cast to long int works around a bug in the HP C Compiler
  53280. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  53281. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  53282. +# This bug is HP SR number 8606223364.
  53283. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
  53284. +$as_echo_n "checking size of int... " >&6; }
  53285. +if ${ac_cv_sizeof_int+:} false; then :
  53286. + $as_echo_n "(cached) " >&6
  53287. +else
  53288. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
  53289. +
  53290. +else
  53291. + if test "$ac_cv_type_int" = yes; then
  53292. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  53293. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  53294. +as_fn_error 77 "cannot compute sizeof (int)
  53295. +See \`config.log' for more details" "$LINENO" 5; }
  53296. + else
  53297. + ac_cv_sizeof_int=0
  53298. + fi
  53299. +fi
  53300. +
  53301. +fi
  53302. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
  53303. +$as_echo "$ac_cv_sizeof_int" >&6; }
  53304. +
  53305. +
  53306. +
  53307. +cat >>confdefs.h <<_ACEOF
  53308. +@%:@define SIZEOF_INT $ac_cv_sizeof_int
  53309. +_ACEOF
  53310. +
  53311. +
  53312. +
  53313. +if test $ac_cv_sizeof_char != 1 -o $ac_cv_sizeof_short != 2 -o $ac_cv_sizeof_int != 4 ; then
  53314. + echo "FIASCO requires that sizeof(char)==1, sizeof(short)==2 and sizeof(int)==4"
  53315. + echo "configure failed."
  53316. + exit 1
  53317. +fi
  53318. +
  53319. +# Checks for math library.
  53320. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
  53321. +$as_echo_n "checking for log in -lm... " >&6; }
  53322. +if ${ac_cv_lib_m_log+:} false; then :
  53323. + $as_echo_n "(cached) " >&6
  53324. +else
  53325. + ac_check_lib_save_LIBS=$LIBS
  53326. +LIBS="-lm $LIBS"
  53327. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53328. +/* end confdefs.h. */
  53329. +
  53330. +/* Override any GCC internal prototype to avoid an error.
  53331. + Use char because int might match the return type of a GCC
  53332. + builtin and then its argument prototype would still apply. */
  53333. +#ifdef __cplusplus
  53334. +extern "C"
  53335. +#endif
  53336. +char log ();
  53337. +int
  53338. +main ()
  53339. +{
  53340. +return log ();
  53341. + ;
  53342. + return 0;
  53343. +}
  53344. +_ACEOF
  53345. +if ac_fn_c_try_link "$LINENO"; then :
  53346. + ac_cv_lib_m_log=yes
  53347. +else
  53348. + ac_cv_lib_m_log=no
  53349. +fi
  53350. +rm -f core conftest.err conftest.$ac_objext \
  53351. + conftest$ac_exeext conftest.$ac_ext
  53352. +LIBS=$ac_check_lib_save_LIBS
  53353. +fi
  53354. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
  53355. +$as_echo "$ac_cv_lib_m_log" >&6; }
  53356. +if test "x$ac_cv_lib_m_log" = xyes; then :
  53357. + cat >>confdefs.h <<_ACEOF
  53358. +@%:@define HAVE_LIBM 1
  53359. +_ACEOF
  53360. +
  53361. + LIBS="-lm $LIBS"
  53362. +
  53363. +fi
  53364. +
  53365. +if test "$ac_cv_lib_m_log" = "no"; then
  53366. + echo "FIASCO requires math library!"
  53367. + echo "It was not found on your system."
  53368. + echo "configure failed."
  53369. + exit 1
  53370. +fi
  53371. +
  53372. +# Checks for programs
  53373. +# Extract the first word of "xfig", so it can be a program name with args.
  53374. +set dummy xfig; ac_word=$2
  53375. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  53376. +$as_echo_n "checking for $ac_word... " >&6; }
  53377. +if ${ac_cv_path_xfig+:} false; then :
  53378. + $as_echo_n "(cached) " >&6
  53379. +else
  53380. + case $xfig in
  53381. + [\\/]* | ?:[\\/]*)
  53382. + ac_cv_path_xfig="$xfig" # Let the user override the test with a path.
  53383. + ;;
  53384. + *)
  53385. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  53386. +for as_dir in $PATH
  53387. +do
  53388. + IFS=$as_save_IFS
  53389. + test -z "$as_dir" && as_dir=.
  53390. + for ac_exec_ext in '' $ac_executable_extensions; do
  53391. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  53392. + ac_cv_path_xfig="$as_dir/$ac_word$ac_exec_ext"
  53393. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  53394. + break 2
  53395. + fi
  53396. +done
  53397. + done
  53398. +IFS=$as_save_IFS
  53399. +
  53400. + ;;
  53401. +esac
  53402. +fi
  53403. +xfig=$ac_cv_path_xfig
  53404. +if test -n "$xfig"; then
  53405. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xfig" >&5
  53406. +$as_echo "$xfig" >&6; }
  53407. +else
  53408. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  53409. +$as_echo "no" >&6; }
  53410. +fi
  53411. +
  53412. +
  53413. +if test -n "$xfig"; then
  53414. +
  53415. +cat >>confdefs.h <<_ACEOF
  53416. +@%:@define XFIG "$xfig"
  53417. +_ACEOF
  53418. +
  53419. +fi
  53420. +# Extract the first word of "xmag", so it can be a program name with args.
  53421. +set dummy xmag; ac_word=$2
  53422. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  53423. +$as_echo_n "checking for $ac_word... " >&6; }
  53424. +if ${ac_cv_path_xmag+:} false; then :
  53425. + $as_echo_n "(cached) " >&6
  53426. +else
  53427. + case $xmag in
  53428. + [\\/]* | ?:[\\/]*)
  53429. + ac_cv_path_xmag="$xmag" # Let the user override the test with a path.
  53430. + ;;
  53431. + *)
  53432. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  53433. +for as_dir in $PATH
  53434. +do
  53435. + IFS=$as_save_IFS
  53436. + test -z "$as_dir" && as_dir=.
  53437. + for ac_exec_ext in '' $ac_executable_extensions; do
  53438. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  53439. + ac_cv_path_xmag="$as_dir/$ac_word$ac_exec_ext"
  53440. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  53441. + break 2
  53442. + fi
  53443. +done
  53444. + done
  53445. +IFS=$as_save_IFS
  53446. +
  53447. + ;;
  53448. +esac
  53449. +fi
  53450. +xmag=$ac_cv_path_xmag
  53451. +if test -n "$xmag"; then
  53452. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmag" >&5
  53453. +$as_echo "$xmag" >&6; }
  53454. +else
  53455. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  53456. +$as_echo "no" >&6; }
  53457. +fi
  53458. +
  53459. +
  53460. +if test -n "$xmag"; then
  53461. +
  53462. +cat >>confdefs.h <<_ACEOF
  53463. +@%:@define XMAG "$xmag"
  53464. +_ACEOF
  53465. +
  53466. +fi
  53467. +
  53468. +# Checks for header files.
  53469. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  53470. +$as_echo_n "checking for ANSI C header files... " >&6; }
  53471. +if ${ac_cv_header_stdc+:} false; then :
  53472. + $as_echo_n "(cached) " >&6
  53473. +else
  53474. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53475. +/* end confdefs.h. */
  53476. +#include <stdlib.h>
  53477. +#include <stdarg.h>
  53478. +#include <string.h>
  53479. +#include <float.h>
  53480. +
  53481. +int
  53482. +main ()
  53483. +{
  53484. +
  53485. + ;
  53486. + return 0;
  53487. +}
  53488. +_ACEOF
  53489. +if ac_fn_c_try_compile "$LINENO"; then :
  53490. + ac_cv_header_stdc=yes
  53491. +else
  53492. + ac_cv_header_stdc=no
  53493. +fi
  53494. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53495. +
  53496. +if test $ac_cv_header_stdc = yes; then
  53497. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  53498. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53499. +/* end confdefs.h. */
  53500. +#include <string.h>
  53501. +
  53502. +_ACEOF
  53503. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  53504. + $EGREP "memchr" >/dev/null 2>&1; then :
  53505. +
  53506. +else
  53507. + ac_cv_header_stdc=no
  53508. +fi
  53509. +rm -f conftest*
  53510. +
  53511. +fi
  53512. +
  53513. +if test $ac_cv_header_stdc = yes; then
  53514. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  53515. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53516. +/* end confdefs.h. */
  53517. +#include <stdlib.h>
  53518. +
  53519. +_ACEOF
  53520. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  53521. + $EGREP "free" >/dev/null 2>&1; then :
  53522. +
  53523. +else
  53524. + ac_cv_header_stdc=no
  53525. +fi
  53526. +rm -f conftest*
  53527. +
  53528. +fi
  53529. +
  53530. +if test $ac_cv_header_stdc = yes; then
  53531. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  53532. + if test "$cross_compiling" = yes; then :
  53533. + :
  53534. +else
  53535. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53536. +/* end confdefs.h. */
  53537. +#include <ctype.h>
  53538. +#include <stdlib.h>
  53539. +#if ((' ' & 0x0FF) == 0x020)
  53540. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  53541. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  53542. +#else
  53543. +# define ISLOWER(c) \
  53544. + (('a' <= (c) && (c) <= 'i') \
  53545. + || ('j' <= (c) && (c) <= 'r') \
  53546. + || ('s' <= (c) && (c) <= 'z'))
  53547. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  53548. +#endif
  53549. +
  53550. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  53551. +int
  53552. +main ()
  53553. +{
  53554. + int i;
  53555. + for (i = 0; i < 256; i++)
  53556. + if (XOR (islower (i), ISLOWER (i))
  53557. + || toupper (i) != TOUPPER (i))
  53558. + return 2;
  53559. + return 0;
  53560. +}
  53561. +_ACEOF
  53562. +if ac_fn_c_try_run "$LINENO"; then :
  53563. +
  53564. +else
  53565. + ac_cv_header_stdc=no
  53566. +fi
  53567. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  53568. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  53569. +fi
  53570. +
  53571. +fi
  53572. +fi
  53573. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  53574. +$as_echo "$ac_cv_header_stdc" >&6; }
  53575. +if test $ac_cv_header_stdc = yes; then
  53576. +
  53577. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  53578. +
  53579. +fi
  53580. +
  53581. +for ac_header in assert.h features.h setjmp.h string.h unistd.h
  53582. +do :
  53583. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  53584. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  53585. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  53586. + cat >>confdefs.h <<_ACEOF
  53587. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  53588. +_ACEOF
  53589. +
  53590. +fi
  53591. +
  53592. +done
  53593. +
  53594. +
  53595. +# Checks for typedefs, structures, and compiler characteristics.
  53596. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  53597. +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  53598. +if ${ac_cv_c_const+:} false; then :
  53599. + $as_echo_n "(cached) " >&6
  53600. +else
  53601. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53602. +/* end confdefs.h. */
  53603. +
  53604. +int
  53605. +main ()
  53606. +{
  53607. +
  53608. +#ifndef __cplusplus
  53609. + /* Ultrix mips cc rejects this sort of thing. */
  53610. + typedef int charset[2];
  53611. + const charset cs = { 0, 0 };
  53612. + /* SunOS 4.1.1 cc rejects this. */
  53613. + char const *const *pcpcc;
  53614. + char **ppc;
  53615. + /* NEC SVR4.0.2 mips cc rejects this. */
  53616. + struct point {int x, y;};
  53617. + static struct point const zero = {0,0};
  53618. + /* AIX XL C 1.02.0.0 rejects this.
  53619. + It does not let you subtract one const X* pointer from another in
  53620. + an arm of an if-expression whose if-part is not a constant
  53621. + expression */
  53622. + const char *g = "string";
  53623. + pcpcc = &g + (g ? g-g : 0);
  53624. + /* HPUX 7.0 cc rejects these. */
  53625. + ++pcpcc;
  53626. + ppc = (char**) pcpcc;
  53627. + pcpcc = (char const *const *) ppc;
  53628. + { /* SCO 3.2v4 cc rejects this sort of thing. */
  53629. + char tx;
  53630. + char *t = &tx;
  53631. + char const *s = 0 ? (char *) 0 : (char const *) 0;
  53632. +
  53633. + *t++ = 0;
  53634. + if (s) return 0;
  53635. + }
  53636. + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  53637. + int x[] = {25, 17};
  53638. + const int *foo = &x[0];
  53639. + ++foo;
  53640. + }
  53641. + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  53642. + typedef const int *iptr;
  53643. + iptr p = 0;
  53644. + ++p;
  53645. + }
  53646. + { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
  53647. + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  53648. + struct s { int j; const int *ap[3]; } bx;
  53649. + struct s *b = &bx; b->j = 5;
  53650. + }
  53651. + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  53652. + const int foo = 10;
  53653. + if (!foo) return 0;
  53654. + }
  53655. + return !cs[0] && !zero.x;
  53656. +#endif
  53657. +
  53658. + ;
  53659. + return 0;
  53660. +}
  53661. +_ACEOF
  53662. +if ac_fn_c_try_compile "$LINENO"; then :
  53663. + ac_cv_c_const=yes
  53664. +else
  53665. + ac_cv_c_const=no
  53666. +fi
  53667. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53668. +fi
  53669. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  53670. +$as_echo "$ac_cv_c_const" >&6; }
  53671. +if test $ac_cv_c_const = no; then
  53672. +
  53673. +$as_echo "@%:@define const /**/" >>confdefs.h
  53674. +
  53675. +fi
  53676. +
  53677. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  53678. +if test "x$ac_cv_type_size_t" = xyes; then :
  53679. +
  53680. +else
  53681. +
  53682. +cat >>confdefs.h <<_ACEOF
  53683. +@%:@define size_t unsigned int
  53684. +_ACEOF
  53685. +
  53686. +fi
  53687. +
  53688. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
  53689. +$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
  53690. +if ${ac_cv_header_time+:} false; then :
  53691. + $as_echo_n "(cached) " >&6
  53692. +else
  53693. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53694. +/* end confdefs.h. */
  53695. +#include <sys/types.h>
  53696. +#include <sys/time.h>
  53697. +#include <time.h>
  53698. +
  53699. +int
  53700. +main ()
  53701. +{
  53702. +if ((struct tm *) 0)
  53703. +return 0;
  53704. + ;
  53705. + return 0;
  53706. +}
  53707. +_ACEOF
  53708. +if ac_fn_c_try_compile "$LINENO"; then :
  53709. + ac_cv_header_time=yes
  53710. +else
  53711. + ac_cv_header_time=no
  53712. +fi
  53713. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53714. +fi
  53715. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
  53716. +$as_echo "$ac_cv_header_time" >&6; }
  53717. +if test $ac_cv_header_time = yes; then
  53718. +
  53719. +$as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
  53720. +
  53721. +fi
  53722. +
  53723. +
  53724. +# Checks for library functions.
  53725. +for ac_func in vprintf
  53726. +do :
  53727. + ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
  53728. +if test "x$ac_cv_func_vprintf" = xyes; then :
  53729. + cat >>confdefs.h <<_ACEOF
  53730. +@%:@define HAVE_VPRINTF 1
  53731. +_ACEOF
  53732. +
  53733. +ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
  53734. +if test "x$ac_cv_func__doprnt" = xyes; then :
  53735. +
  53736. +$as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h
  53737. +
  53738. +fi
  53739. +
  53740. +fi
  53741. +done
  53742. +
  53743. +
  53744. +for ac_func in log2 memmove strdup strcasecmp
  53745. +do :
  53746. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  53747. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  53748. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  53749. + cat >>confdefs.h <<_ACEOF
  53750. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  53751. +_ACEOF
  53752. +
  53753. +fi
  53754. +done
  53755. +
  53756. +
  53757. +ac_config_files="$ac_config_files Makefile data/Makefile doc/Makefile lib/Makefile input/Makefile output/Makefile codec/Makefile bin/Makefile"
  53758. +
  53759. +ac_config_commands="$ac_config_commands default"
  53760. +
  53761. +cat >confcache <<\_ACEOF
  53762. +# This file is a shell script that caches the results of configure
  53763. +# tests run on this system so they can be shared between configure
  53764. +# scripts and configure runs, see configure's option --config-cache.
  53765. +# It is not useful on other systems. If it contains results you don't
  53766. +# want to keep, you may remove or edit it.
  53767. +#
  53768. +# config.status only pays attention to the cache file if you give it
  53769. +# the --recheck option to rerun configure.
  53770. +#
  53771. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  53772. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  53773. +# following values.
  53774. +
  53775. +_ACEOF
  53776. +
  53777. +# The following way of writing the cache mishandles newlines in values,
  53778. +# but we know of no workaround that is simple, portable, and efficient.
  53779. +# So, we kill variables containing newlines.
  53780. +# Ultrix sh set writes to stderr and can't be redirected directly,
  53781. +# and sets the high bit in the cache file unless we assign to the vars.
  53782. +(
  53783. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  53784. + eval ac_val=\$$ac_var
  53785. + case $ac_val in #(
  53786. + *${as_nl}*)
  53787. + case $ac_var in #(
  53788. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  53789. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  53790. + esac
  53791. + case $ac_var in #(
  53792. + _ | IFS | as_nl) ;; #(
  53793. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  53794. + *) { eval $ac_var=; unset $ac_var;} ;;
  53795. + esac ;;
  53796. + esac
  53797. + done
  53798. +
  53799. + (set) 2>&1 |
  53800. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  53801. + *${as_nl}ac_space=\ *)
  53802. + # `set' does not quote correctly, so add quotes: double-quote
  53803. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  53804. + sed -n \
  53805. + "s/'/'\\\\''/g;
  53806. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  53807. + ;; #(
  53808. + *)
  53809. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  53810. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  53811. + ;;
  53812. + esac |
  53813. + sort
  53814. +) |
  53815. + sed '
  53816. + /^ac_cv_env_/b end
  53817. + t clear
  53818. + :clear
  53819. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  53820. + t end
  53821. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  53822. + :end' >>confcache
  53823. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  53824. + if test -w "$cache_file"; then
  53825. + if test "x$cache_file" != "x/dev/null"; then
  53826. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  53827. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  53828. + if test ! -f "$cache_file" || test -h "$cache_file"; then
  53829. + cat confcache >"$cache_file"
  53830. + else
  53831. + case $cache_file in #(
  53832. + */* | ?:*)
  53833. + mv -f confcache "$cache_file"$$ &&
  53834. + mv -f "$cache_file"$$ "$cache_file" ;; #(
  53835. + *)
  53836. + mv -f confcache "$cache_file" ;;
  53837. + esac
  53838. + fi
  53839. + fi
  53840. + else
  53841. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  53842. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  53843. + fi
  53844. +fi
  53845. +rm -f confcache
  53846. +
  53847. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  53848. +# Let make expand exec_prefix.
  53849. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  53850. +
  53851. +DEFS=-DHAVE_CONFIG_H
  53852. +
  53853. +ac_libobjs=
  53854. +ac_ltlibobjs=
  53855. +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
  53856. + # 1. Remove the extension, and $U if already installed.
  53857. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  53858. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  53859. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  53860. + # will be set to the directory where LIBOBJS objects are built.
  53861. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  53862. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  53863. +done
  53864. +LIB@&t@OBJS=$ac_libobjs
  53865. +
  53866. +LTLIBOBJS=$ac_ltlibobjs
  53867. +
  53868. +
  53869. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  53870. +$as_echo_n "checking that generated files are newer than configure... " >&6; }
  53871. + if test -n "$am_sleep_pid"; then
  53872. + # Hide warnings about reused PIDs.
  53873. + wait $am_sleep_pid 2>/dev/null
  53874. + fi
  53875. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  53876. +$as_echo "done" >&6; }
  53877. + if test -n "$EXEEXT"; then
  53878. + am__EXEEXT_TRUE=
  53879. + am__EXEEXT_FALSE='#'
  53880. +else
  53881. + am__EXEEXT_TRUE='#'
  53882. + am__EXEEXT_FALSE=
  53883. +fi
  53884. +
  53885. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  53886. + as_fn_error $? "conditional \"AMDEP\" was never defined.
  53887. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  53888. +fi
  53889. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  53890. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  53891. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  53892. +fi
  53893. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  53894. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  53895. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  53896. +fi
  53897. +
  53898. +
  53899. +: "${CONFIG_STATUS=./config.status}"
  53900. +ac_write_fail=0
  53901. +ac_clean_files_save=$ac_clean_files
  53902. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  53903. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  53904. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  53905. +as_write_fail=0
  53906. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  53907. +#! $SHELL
  53908. +# Generated by $as_me.
  53909. +# Run this file to recreate the current configuration.
  53910. +# Compiler output produced by configure, useful for debugging
  53911. +# configure, is in config.log if it exists.
  53912. +
  53913. +debug=false
  53914. +ac_cs_recheck=false
  53915. +ac_cs_silent=false
  53916. +
  53917. +SHELL=\${CONFIG_SHELL-$SHELL}
  53918. +export SHELL
  53919. +_ASEOF
  53920. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  53921. +## -------------------- ##
  53922. +## M4sh Initialization. ##
  53923. +## -------------------- ##
  53924. +
  53925. +# Be more Bourne compatible
  53926. +DUALCASE=1; export DUALCASE # for MKS sh
  53927. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  53928. + emulate sh
  53929. + NULLCMD=:
  53930. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  53931. + # is contrary to our usage. Disable this feature.
  53932. + alias -g '${1+"$@"}'='"$@"'
  53933. + setopt NO_GLOB_SUBST
  53934. +else
  53935. + case `(set -o) 2>/dev/null` in @%:@(
  53936. + *posix*) :
  53937. + set -o posix ;; @%:@(
  53938. + *) :
  53939. + ;;
  53940. +esac
  53941. +fi
  53942. +
  53943. +
  53944. +as_nl='
  53945. +'
  53946. +export as_nl
  53947. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  53948. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  53949. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  53950. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  53951. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  53952. +# but without wasting forks for bash or zsh.
  53953. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  53954. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  53955. + as_echo='print -r --'
  53956. + as_echo_n='print -rn --'
  53957. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  53958. + as_echo='printf %s\n'
  53959. + as_echo_n='printf %s'
  53960. +else
  53961. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  53962. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  53963. + as_echo_n='/usr/ucb/echo -n'
  53964. + else
  53965. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  53966. + as_echo_n_body='eval
  53967. + arg=$1;
  53968. + case $arg in @%:@(
  53969. + *"$as_nl"*)
  53970. + expr "X$arg" : "X\\(.*\\)$as_nl";
  53971. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  53972. + esac;
  53973. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  53974. + '
  53975. + export as_echo_n_body
  53976. + as_echo_n='sh -c $as_echo_n_body as_echo'
  53977. + fi
  53978. + export as_echo_body
  53979. + as_echo='sh -c $as_echo_body as_echo'
  53980. +fi
  53981. +
  53982. +# The user is always right.
  53983. +if test "${PATH_SEPARATOR+set}" != set; then
  53984. + PATH_SEPARATOR=:
  53985. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  53986. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  53987. + PATH_SEPARATOR=';'
  53988. + }
  53989. +fi
  53990. +
  53991. +
  53992. +# IFS
  53993. +# We need space, tab and new line, in precisely that order. Quoting is
  53994. +# there to prevent editors from complaining about space-tab.
  53995. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  53996. +# splitting by setting IFS to empty value.)
  53997. +IFS=" "" $as_nl"
  53998. +
  53999. +# Find who we are. Look in the path if we contain no directory separator.
  54000. +as_myself=
  54001. +case $0 in @%:@((
  54002. + *[\\/]* ) as_myself=$0 ;;
  54003. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  54004. +for as_dir in $PATH
  54005. +do
  54006. + IFS=$as_save_IFS
  54007. + test -z "$as_dir" && as_dir=.
  54008. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  54009. + done
  54010. +IFS=$as_save_IFS
  54011. +
  54012. + ;;
  54013. +esac
  54014. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  54015. +# in which case we are not to be found in the path.
  54016. +if test "x$as_myself" = x; then
  54017. + as_myself=$0
  54018. +fi
  54019. +if test ! -f "$as_myself"; then
  54020. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  54021. + exit 1
  54022. +fi
  54023. +
  54024. +# Unset variables that we do not need and which cause bugs (e.g. in
  54025. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  54026. +# suppresses any "Segmentation fault" message there. '((' could
  54027. +# trigger a bug in pdksh 5.2.14.
  54028. +for as_var in BASH_ENV ENV MAIL MAILPATH
  54029. +do eval test x\${$as_var+set} = xset \
  54030. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  54031. +done
  54032. +PS1='$ '
  54033. +PS2='> '
  54034. +PS4='+ '
  54035. +
  54036. +# NLS nuisances.
  54037. +LC_ALL=C
  54038. +export LC_ALL
  54039. +LANGUAGE=C
  54040. +export LANGUAGE
  54041. +
  54042. +# CDPATH.
  54043. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  54044. +
  54045. +
  54046. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  54047. +@%:@ ----------------------------------------
  54048. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  54049. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  54050. +@%:@ script with STATUS, using 1 if that was 0.
  54051. +as_fn_error ()
  54052. +{
  54053. + as_status=$1; test $as_status -eq 0 && as_status=1
  54054. + if test "$4"; then
  54055. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  54056. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  54057. + fi
  54058. + $as_echo "$as_me: error: $2" >&2
  54059. + as_fn_exit $as_status
  54060. +} @%:@ as_fn_error
  54061. +
  54062. +
  54063. +@%:@ as_fn_set_status STATUS
  54064. +@%:@ -----------------------
  54065. +@%:@ Set @S|@? to STATUS, without forking.
  54066. +as_fn_set_status ()
  54067. +{
  54068. + return $1
  54069. +} @%:@ as_fn_set_status
  54070. +
  54071. +@%:@ as_fn_exit STATUS
  54072. +@%:@ -----------------
  54073. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  54074. +as_fn_exit ()
  54075. +{
  54076. + set +e
  54077. + as_fn_set_status $1
  54078. + exit $1
  54079. +} @%:@ as_fn_exit
  54080. +
  54081. +@%:@ as_fn_unset VAR
  54082. +@%:@ ---------------
  54083. +@%:@ Portably unset VAR.
  54084. +as_fn_unset ()
  54085. +{
  54086. + { eval $1=; unset $1;}
  54087. +}
  54088. +as_unset=as_fn_unset
  54089. +@%:@ as_fn_append VAR VALUE
  54090. +@%:@ ----------------------
  54091. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  54092. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  54093. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  54094. +@%:@ implementations.
  54095. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  54096. + eval 'as_fn_append ()
  54097. + {
  54098. + eval $1+=\$2
  54099. + }'
  54100. +else
  54101. + as_fn_append ()
  54102. + {
  54103. + eval $1=\$$1\$2
  54104. + }
  54105. +fi # as_fn_append
  54106. +
  54107. +@%:@ as_fn_arith ARG...
  54108. +@%:@ ------------------
  54109. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  54110. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  54111. +@%:@ must be portable across @S|@(()) and expr.
  54112. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  54113. + eval 'as_fn_arith ()
  54114. + {
  54115. + as_val=$(( $* ))
  54116. + }'
  54117. +else
  54118. + as_fn_arith ()
  54119. + {
  54120. + as_val=`expr "$@" || test $? -eq 1`
  54121. + }
  54122. +fi # as_fn_arith
  54123. +
  54124. +
  54125. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  54126. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  54127. + as_expr=expr
  54128. +else
  54129. + as_expr=false
  54130. +fi
  54131. +
  54132. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  54133. + as_basename=basename
  54134. +else
  54135. + as_basename=false
  54136. +fi
  54137. +
  54138. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  54139. + as_dirname=dirname
  54140. +else
  54141. + as_dirname=false
  54142. +fi
  54143. +
  54144. +as_me=`$as_basename -- "$0" ||
  54145. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  54146. + X"$0" : 'X\(//\)$' \| \
  54147. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  54148. +$as_echo X/"$0" |
  54149. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  54150. + s//\1/
  54151. + q
  54152. + }
  54153. + /^X\/\(\/\/\)$/{
  54154. + s//\1/
  54155. + q
  54156. + }
  54157. + /^X\/\(\/\).*/{
  54158. + s//\1/
  54159. + q
  54160. + }
  54161. + s/.*/./; q'`
  54162. +
  54163. +# Avoid depending upon Character Ranges.
  54164. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  54165. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  54166. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  54167. +as_cr_digits='0123456789'
  54168. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  54169. +
  54170. +ECHO_C= ECHO_N= ECHO_T=
  54171. +case `echo -n x` in @%:@(((((
  54172. +-n*)
  54173. + case `echo 'xy\c'` in
  54174. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  54175. + xy) ECHO_C='\c';;
  54176. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  54177. + ECHO_T=' ';;
  54178. + esac;;
  54179. +*)
  54180. + ECHO_N='-n';;
  54181. +esac
  54182. +
  54183. +rm -f conf$$ conf$$.exe conf$$.file
  54184. +if test -d conf$$.dir; then
  54185. + rm -f conf$$.dir/conf$$.file
  54186. +else
  54187. + rm -f conf$$.dir
  54188. + mkdir conf$$.dir 2>/dev/null
  54189. +fi
  54190. +if (echo >conf$$.file) 2>/dev/null; then
  54191. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  54192. + as_ln_s='ln -s'
  54193. + # ... but there are two gotchas:
  54194. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  54195. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  54196. + # In both cases, we have to default to `cp -pR'.
  54197. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  54198. + as_ln_s='cp -pR'
  54199. + elif ln conf$$.file conf$$ 2>/dev/null; then
  54200. + as_ln_s=ln
  54201. + else
  54202. + as_ln_s='cp -pR'
  54203. + fi
  54204. +else
  54205. + as_ln_s='cp -pR'
  54206. +fi
  54207. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  54208. +rmdir conf$$.dir 2>/dev/null
  54209. +
  54210. +
  54211. +@%:@ as_fn_mkdir_p
  54212. +@%:@ -------------
  54213. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  54214. +as_fn_mkdir_p ()
  54215. +{
  54216. +
  54217. + case $as_dir in #(
  54218. + -*) as_dir=./$as_dir;;
  54219. + esac
  54220. + test -d "$as_dir" || eval $as_mkdir_p || {
  54221. + as_dirs=
  54222. + while :; do
  54223. + case $as_dir in #(
  54224. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  54225. + *) as_qdir=$as_dir;;
  54226. + esac
  54227. + as_dirs="'$as_qdir' $as_dirs"
  54228. + as_dir=`$as_dirname -- "$as_dir" ||
  54229. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  54230. + X"$as_dir" : 'X\(//\)[^/]' \| \
  54231. + X"$as_dir" : 'X\(//\)$' \| \
  54232. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  54233. +$as_echo X"$as_dir" |
  54234. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  54235. + s//\1/
  54236. + q
  54237. + }
  54238. + /^X\(\/\/\)[^/].*/{
  54239. + s//\1/
  54240. + q
  54241. + }
  54242. + /^X\(\/\/\)$/{
  54243. + s//\1/
  54244. + q
  54245. + }
  54246. + /^X\(\/\).*/{
  54247. + s//\1/
  54248. + q
  54249. + }
  54250. + s/.*/./; q'`
  54251. + test -d "$as_dir" && break
  54252. + done
  54253. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  54254. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  54255. +
  54256. +
  54257. +} @%:@ as_fn_mkdir_p
  54258. +if mkdir -p . 2>/dev/null; then
  54259. + as_mkdir_p='mkdir -p "$as_dir"'
  54260. +else
  54261. + test -d ./-p && rmdir ./-p
  54262. + as_mkdir_p=false
  54263. +fi
  54264. +
  54265. +
  54266. +@%:@ as_fn_executable_p FILE
  54267. +@%:@ -----------------------
  54268. +@%:@ Test if FILE is an executable regular file.
  54269. +as_fn_executable_p ()
  54270. +{
  54271. + test -f "$1" && test -x "$1"
  54272. +} @%:@ as_fn_executable_p
  54273. +as_test_x='test -x'
  54274. +as_executable_p=as_fn_executable_p
  54275. +
  54276. +# Sed expression to map a string onto a valid CPP name.
  54277. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  54278. +
  54279. +# Sed expression to map a string onto a valid variable name.
  54280. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  54281. +
  54282. +
  54283. +exec 6>&1
  54284. +## ----------------------------------- ##
  54285. +## Main body of $CONFIG_STATUS script. ##
  54286. +## ----------------------------------- ##
  54287. +_ASEOF
  54288. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  54289. +
  54290. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  54291. +# Save the log message, to keep $0 and so on meaningful, and to
  54292. +# report actual input values of CONFIG_FILES etc. instead of their
  54293. +# values after options handling.
  54294. +ac_log="
  54295. +This file was extended by fiasco $as_me 1.3, which was
  54296. +generated by GNU Autoconf 2.69. Invocation command line was
  54297. +
  54298. + CONFIG_FILES = $CONFIG_FILES
  54299. + CONFIG_HEADERS = $CONFIG_HEADERS
  54300. + CONFIG_LINKS = $CONFIG_LINKS
  54301. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  54302. + $ $0 $@
  54303. +
  54304. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  54305. +"
  54306. +
  54307. +_ACEOF
  54308. +
  54309. +case $ac_config_files in *"
  54310. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  54311. +esac
  54312. +
  54313. +case $ac_config_headers in *"
  54314. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  54315. +esac
  54316. +
  54317. +
  54318. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  54319. +# Files that config.status was made for.
  54320. +config_files="$ac_config_files"
  54321. +config_headers="$ac_config_headers"
  54322. +config_commands="$ac_config_commands"
  54323. +
  54324. +_ACEOF
  54325. +
  54326. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  54327. +ac_cs_usage="\
  54328. +\`$as_me' instantiates files and other configuration actions
  54329. +from templates according to the current configuration. Unless the files
  54330. +and actions are specified as TAGs, all are instantiated by default.
  54331. +
  54332. +Usage: $0 [OPTION]... [TAG]...
  54333. +
  54334. + -h, --help print this help, then exit
  54335. + -V, --version print version number and configuration settings, then exit
  54336. + --config print configuration, then exit
  54337. + -q, --quiet, --silent
  54338. + do not print progress messages
  54339. + -d, --debug don't remove temporary files
  54340. + --recheck update $as_me by reconfiguring in the same conditions
  54341. + --file=FILE[:TEMPLATE]
  54342. + instantiate the configuration file FILE
  54343. + --header=FILE[:TEMPLATE]
  54344. + instantiate the configuration header FILE
  54345. +
  54346. +Configuration files:
  54347. +$config_files
  54348. +
  54349. +Configuration headers:
  54350. +$config_headers
  54351. +
  54352. +Configuration commands:
  54353. +$config_commands
  54354. +
  54355. +Report bugs to the package provider."
  54356. +
  54357. +_ACEOF
  54358. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  54359. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  54360. +ac_cs_version="\\
  54361. +fiasco config.status 1.3
  54362. +configured by $0, generated by GNU Autoconf 2.69,
  54363. + with options \\"\$ac_cs_config\\"
  54364. +
  54365. +Copyright (C) 2012 Free Software Foundation, Inc.
  54366. +This config.status script is free software; the Free Software Foundation
  54367. +gives unlimited permission to copy, distribute and modify it."
  54368. +
  54369. +ac_pwd='$ac_pwd'
  54370. +srcdir='$srcdir'
  54371. +INSTALL='$INSTALL'
  54372. +MKDIR_P='$MKDIR_P'
  54373. +AWK='$AWK'
  54374. +test -n "\$AWK" || AWK=awk
  54375. +_ACEOF
  54376. +
  54377. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  54378. +# The default lists apply if the user does not specify any file.
  54379. +ac_need_defaults=:
  54380. +while test $# != 0
  54381. +do
  54382. + case $1 in
  54383. + --*=?*)
  54384. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  54385. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  54386. + ac_shift=:
  54387. + ;;
  54388. + --*=)
  54389. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  54390. + ac_optarg=
  54391. + ac_shift=:
  54392. + ;;
  54393. + *)
  54394. + ac_option=$1
  54395. + ac_optarg=$2
  54396. + ac_shift=shift
  54397. + ;;
  54398. + esac
  54399. +
  54400. + case $ac_option in
  54401. + # Handling of the options.
  54402. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  54403. + ac_cs_recheck=: ;;
  54404. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  54405. + $as_echo "$ac_cs_version"; exit ;;
  54406. + --config | --confi | --conf | --con | --co | --c )
  54407. + $as_echo "$ac_cs_config"; exit ;;
  54408. + --debug | --debu | --deb | --de | --d | -d )
  54409. + debug=: ;;
  54410. + --file | --fil | --fi | --f )
  54411. + $ac_shift
  54412. + case $ac_optarg in
  54413. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  54414. + '') as_fn_error $? "missing file argument" ;;
  54415. + esac
  54416. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  54417. + ac_need_defaults=false;;
  54418. + --header | --heade | --head | --hea )
  54419. + $ac_shift
  54420. + case $ac_optarg in
  54421. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  54422. + esac
  54423. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  54424. + ac_need_defaults=false;;
  54425. + --he | --h)
  54426. + # Conflict between --help and --header
  54427. + as_fn_error $? "ambiguous option: \`$1'
  54428. +Try \`$0 --help' for more information.";;
  54429. + --help | --hel | -h )
  54430. + $as_echo "$ac_cs_usage"; exit ;;
  54431. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  54432. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  54433. + ac_cs_silent=: ;;
  54434. +
  54435. + # This is an error.
  54436. + -*) as_fn_error $? "unrecognized option: \`$1'
  54437. +Try \`$0 --help' for more information." ;;
  54438. +
  54439. + *) as_fn_append ac_config_targets " $1"
  54440. + ac_need_defaults=false ;;
  54441. +
  54442. + esac
  54443. + shift
  54444. +done
  54445. +
  54446. +ac_configure_extra_args=
  54447. +
  54448. +if $ac_cs_silent; then
  54449. + exec 6>/dev/null
  54450. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  54451. +fi
  54452. +
  54453. +_ACEOF
  54454. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  54455. +if \$ac_cs_recheck; then
  54456. + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  54457. + shift
  54458. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  54459. + CONFIG_SHELL='$SHELL'
  54460. + export CONFIG_SHELL
  54461. + exec "\$@"
  54462. +fi
  54463. +
  54464. +_ACEOF
  54465. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  54466. +exec 5>>config.log
  54467. +{
  54468. + echo
  54469. + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  54470. +@%:@@%:@ Running $as_me. @%:@@%:@
  54471. +_ASBOX
  54472. + $as_echo "$ac_log"
  54473. +} >&5
  54474. +
  54475. +_ACEOF
  54476. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  54477. +#
  54478. +# INIT-COMMANDS
  54479. +#
  54480. +AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
  54481. +
  54482. +
  54483. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  54484. +# if CDPATH is set.
  54485. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  54486. +
  54487. +sed_quote_subst='$sed_quote_subst'
  54488. +double_quote_subst='$double_quote_subst'
  54489. +delay_variable_subst='$delay_variable_subst'
  54490. +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  54491. +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  54492. +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  54493. +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  54494. +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  54495. +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  54496. +shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
  54497. +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  54498. +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  54499. +PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  54500. +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  54501. +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  54502. +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  54503. +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  54504. +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  54505. +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  54506. +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  54507. +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  54508. +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  54509. +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  54510. +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  54511. +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  54512. +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  54513. +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  54514. +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  54515. +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  54516. +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  54517. +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  54518. +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  54519. +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  54520. +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  54521. +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  54522. +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  54523. +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  54524. +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  54525. +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  54526. +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  54527. +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  54528. +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  54529. +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  54530. +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  54531. +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  54532. +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  54533. +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  54534. +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  54535. +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  54536. +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  54537. +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  54538. +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  54539. +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  54540. +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  54541. +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  54542. +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  54543. +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  54544. +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  54545. +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  54546. +lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
  54547. +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  54548. +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"`'
  54549. +lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
  54550. +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  54551. +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  54552. +lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
  54553. +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  54554. +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  54555. +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  54556. +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  54557. +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  54558. +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  54559. +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  54560. +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  54561. +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  54562. +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  54563. +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  54564. +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  54565. +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  54566. +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  54567. +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  54568. +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  54569. +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  54570. +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  54571. +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  54572. +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  54573. +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  54574. +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  54575. +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  54576. +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  54577. +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  54578. +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  54579. +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  54580. +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  54581. +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  54582. +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  54583. +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  54584. +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  54585. +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  54586. +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  54587. +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  54588. +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  54589. +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  54590. +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  54591. +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  54592. +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  54593. +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  54594. +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  54595. +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  54596. +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  54597. +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  54598. +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  54599. +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  54600. +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  54601. +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  54602. +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  54603. +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  54604. +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  54605. +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  54606. +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  54607. +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  54608. +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  54609. +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  54610. +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  54611. +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  54612. +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  54613. +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  54614. +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  54615. +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  54616. +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  54617. +configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
  54618. +configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
  54619. +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  54620. +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  54621. +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  54622. +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  54623. +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  54624. +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  54625. +
  54626. +LTCC='$LTCC'
  54627. +LTCFLAGS='$LTCFLAGS'
  54628. +compiler='$compiler_DEFAULT'
  54629. +
  54630. +# A function that is used when there is no print builtin or printf.
  54631. +func_fallback_echo ()
  54632. +{
  54633. + eval 'cat <<_LTECHO_EOF
  54634. +\$1
  54635. +_LTECHO_EOF'
  54636. +}
  54637. +
  54638. +# Quote evaled strings.
  54639. +for var in SHELL \
  54640. +ECHO \
  54641. +PATH_SEPARATOR \
  54642. +SED \
  54643. +GREP \
  54644. +EGREP \
  54645. +FGREP \
  54646. +LD \
  54647. +NM \
  54648. +LN_S \
  54649. +lt_SP2NL \
  54650. +lt_NL2SP \
  54651. +reload_flag \
  54652. +OBJDUMP \
  54653. +deplibs_check_method \
  54654. +file_magic_cmd \
  54655. +file_magic_glob \
  54656. +want_nocaseglob \
  54657. +DLLTOOL \
  54658. +sharedlib_from_linklib_cmd \
  54659. +AR \
  54660. +AR_FLAGS \
  54661. +archiver_list_spec \
  54662. +STRIP \
  54663. +RANLIB \
  54664. +CC \
  54665. +CFLAGS \
  54666. +compiler \
  54667. +lt_cv_sys_global_symbol_pipe \
  54668. +lt_cv_sys_global_symbol_to_cdecl \
  54669. +lt_cv_sys_global_symbol_to_import \
  54670. +lt_cv_sys_global_symbol_to_c_name_address \
  54671. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  54672. +lt_cv_nm_interface \
  54673. +nm_file_list_spec \
  54674. +lt_cv_truncate_bin \
  54675. +lt_prog_compiler_no_builtin_flag \
  54676. +lt_prog_compiler_pic \
  54677. +lt_prog_compiler_wl \
  54678. +lt_prog_compiler_static \
  54679. +lt_cv_prog_compiler_c_o \
  54680. +need_locks \
  54681. +MANIFEST_TOOL \
  54682. +DSYMUTIL \
  54683. +NMEDIT \
  54684. +LIPO \
  54685. +OTOOL \
  54686. +OTOOL64 \
  54687. +shrext_cmds \
  54688. +export_dynamic_flag_spec \
  54689. +whole_archive_flag_spec \
  54690. +compiler_needs_object \
  54691. +with_gnu_ld \
  54692. +allow_undefined_flag \
  54693. +no_undefined_flag \
  54694. +hardcode_libdir_flag_spec \
  54695. +hardcode_libdir_separator \
  54696. +exclude_expsyms \
  54697. +include_expsyms \
  54698. +file_list_spec \
  54699. +variables_saved_for_relink \
  54700. +libname_spec \
  54701. +library_names_spec \
  54702. +soname_spec \
  54703. +install_override_mode \
  54704. +finish_eval \
  54705. +old_striplib \
  54706. +striplib; do
  54707. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  54708. + *[\\\\\\\`\\"\\\$]*)
  54709. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  54710. + ;;
  54711. + *)
  54712. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  54713. + ;;
  54714. + esac
  54715. +done
  54716. +
  54717. +# Double-quote double-evaled strings.
  54718. +for var in reload_cmds \
  54719. +old_postinstall_cmds \
  54720. +old_postuninstall_cmds \
  54721. +old_archive_cmds \
  54722. +extract_expsyms_cmds \
  54723. +old_archive_from_new_cmds \
  54724. +old_archive_from_expsyms_cmds \
  54725. +archive_cmds \
  54726. +archive_expsym_cmds \
  54727. +module_cmds \
  54728. +module_expsym_cmds \
  54729. +export_symbols_cmds \
  54730. +prelink_cmds \
  54731. +postlink_cmds \
  54732. +postinstall_cmds \
  54733. +postuninstall_cmds \
  54734. +finish_cmds \
  54735. +sys_lib_search_path_spec \
  54736. +configure_time_dlsearch_path \
  54737. +configure_time_lt_sys_library_path; do
  54738. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  54739. + *[\\\\\\\`\\"\\\$]*)
  54740. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  54741. + ;;
  54742. + *)
  54743. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  54744. + ;;
  54745. + esac
  54746. +done
  54747. +
  54748. +ac_aux_dir='$ac_aux_dir'
  54749. +
  54750. +# See if we are running on zsh, and set the options that allow our
  54751. +# commands through without removal of \ escapes INIT.
  54752. +if test -n "\${ZSH_VERSION+set}"; then
  54753. + setopt NO_GLOB_SUBST
  54754. +fi
  54755. +
  54756. +
  54757. + PACKAGE='$PACKAGE'
  54758. + VERSION='$VERSION'
  54759. + RM='$RM'
  54760. + ofile='$ofile'
  54761. +
  54762. +
  54763. +
  54764. +
  54765. +_ACEOF
  54766. +
  54767. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  54768. +
  54769. +# Handling of arguments.
  54770. +for ac_config_target in $ac_config_targets
  54771. +do
  54772. + case $ac_config_target in
  54773. + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  54774. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  54775. + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  54776. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  54777. + "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
  54778. + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  54779. + "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
  54780. + "input/Makefile") CONFIG_FILES="$CONFIG_FILES input/Makefile" ;;
  54781. + "output/Makefile") CONFIG_FILES="$CONFIG_FILES output/Makefile" ;;
  54782. + "codec/Makefile") CONFIG_FILES="$CONFIG_FILES codec/Makefile" ;;
  54783. + "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
  54784. + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
  54785. +
  54786. + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  54787. + esac
  54788. +done
  54789. +
  54790. +
  54791. +# If the user did not use the arguments to specify the items to instantiate,
  54792. +# then the envvar interface is used. Set only those that are not.
  54793. +# We use the long form for the default assignment because of an extremely
  54794. +# bizarre bug on SunOS 4.1.3.
  54795. +if $ac_need_defaults; then
  54796. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  54797. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  54798. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  54799. +fi
  54800. +
  54801. +# Have a temporary directory for convenience. Make it in the build tree
  54802. +# simply because there is no reason against having it here, and in addition,
  54803. +# creating and moving files from /tmp can sometimes cause problems.
  54804. +# Hook for its removal unless debugging.
  54805. +# Note that there is a small window in which the directory will not be cleaned:
  54806. +# after its creation but before its name has been assigned to `$tmp'.
  54807. +$debug ||
  54808. +{
  54809. + tmp= ac_tmp=
  54810. + trap 'exit_status=$?
  54811. + : "${ac_tmp:=$tmp}"
  54812. + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  54813. +' 0
  54814. + trap 'as_fn_exit 1' 1 2 13 15
  54815. +}
  54816. +# Create a (secure) tmp directory for tmp files.
  54817. +
  54818. +{
  54819. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  54820. + test -d "$tmp"
  54821. +} ||
  54822. +{
  54823. + tmp=./conf$$-$RANDOM
  54824. + (umask 077 && mkdir "$tmp")
  54825. +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  54826. +ac_tmp=$tmp
  54827. +
  54828. +# Set up the scripts for CONFIG_FILES section.
  54829. +# No need to generate them if there are no CONFIG_FILES.
  54830. +# This happens for instance with `./config.status config.h'.
  54831. +if test -n "$CONFIG_FILES"; then
  54832. +
  54833. +
  54834. +ac_cr=`echo X | tr X '\015'`
  54835. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  54836. +# But we know of no other shell where ac_cr would be empty at this
  54837. +# point, so we can use a bashism as a fallback.
  54838. +if test "x$ac_cr" = x; then
  54839. + eval ac_cr=\$\'\\r\'
  54840. +fi
  54841. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  54842. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  54843. + ac_cs_awk_cr='\\r'
  54844. +else
  54845. + ac_cs_awk_cr=$ac_cr
  54846. +fi
  54847. +
  54848. +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  54849. +_ACEOF
  54850. +
  54851. +
  54852. +{
  54853. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  54854. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  54855. + echo "_ACEOF"
  54856. +} >conf$$subs.sh ||
  54857. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  54858. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  54859. +ac_delim='%!_!# '
  54860. +for ac_last_try in false false false false false :; do
  54861. + . ./conf$$subs.sh ||
  54862. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  54863. +
  54864. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  54865. + if test $ac_delim_n = $ac_delim_num; then
  54866. + break
  54867. + elif $ac_last_try; then
  54868. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  54869. + else
  54870. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  54871. + fi
  54872. +done
  54873. +rm -f conf$$subs.sh
  54874. +
  54875. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  54876. +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  54877. +_ACEOF
  54878. +sed -n '
  54879. +h
  54880. +s/^/S["/; s/!.*/"]=/
  54881. +p
  54882. +g
  54883. +s/^[^!]*!//
  54884. +:repl
  54885. +t repl
  54886. +s/'"$ac_delim"'$//
  54887. +t delim
  54888. +:nl
  54889. +h
  54890. +s/\(.\{148\}\)..*/\1/
  54891. +t more1
  54892. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  54893. +p
  54894. +n
  54895. +b repl
  54896. +:more1
  54897. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  54898. +p
  54899. +g
  54900. +s/.\{148\}//
  54901. +t nl
  54902. +:delim
  54903. +h
  54904. +s/\(.\{148\}\)..*/\1/
  54905. +t more2
  54906. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  54907. +p
  54908. +b
  54909. +:more2
  54910. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  54911. +p
  54912. +g
  54913. +s/.\{148\}//
  54914. +t delim
  54915. +' <conf$$subs.awk | sed '
  54916. +/^[^""]/{
  54917. + N
  54918. + s/\n//
  54919. +}
  54920. +' >>$CONFIG_STATUS || ac_write_fail=1
  54921. +rm -f conf$$subs.awk
  54922. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  54923. +_ACAWK
  54924. +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  54925. + for (key in S) S_is_set[key] = 1
  54926. + FS = ""
  54927. +
  54928. +}
  54929. +{
  54930. + line = $ 0
  54931. + nfields = split(line, field, "@")
  54932. + substed = 0
  54933. + len = length(field[1])
  54934. + for (i = 2; i < nfields; i++) {
  54935. + key = field[i]
  54936. + keylen = length(key)
  54937. + if (S_is_set[key]) {
  54938. + value = S[key]
  54939. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  54940. + len += length(value) + length(field[++i])
  54941. + substed = 1
  54942. + } else
  54943. + len += 1 + keylen
  54944. + }
  54945. +
  54946. + print line
  54947. +}
  54948. +
  54949. +_ACAWK
  54950. +_ACEOF
  54951. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  54952. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  54953. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  54954. +else
  54955. + cat
  54956. +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  54957. + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  54958. +_ACEOF
  54959. +
  54960. +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  54961. +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  54962. +# trailing colons and then remove the whole line if VPATH becomes empty
  54963. +# (actually we leave an empty line to preserve line numbers).
  54964. +if test "x$srcdir" = x.; then
  54965. + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  54966. +h
  54967. +s///
  54968. +s/^/:/
  54969. +s/[ ]*$/:/
  54970. +s/:\$(srcdir):/:/g
  54971. +s/:\${srcdir}:/:/g
  54972. +s/:@srcdir@:/:/g
  54973. +s/^:*//
  54974. +s/:*$//
  54975. +x
  54976. +s/\(=[ ]*\).*/\1/
  54977. +G
  54978. +s/\n//
  54979. +s/^[^=]*=[ ]*$//
  54980. +}'
  54981. +fi
  54982. +
  54983. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  54984. +fi # test -n "$CONFIG_FILES"
  54985. +
  54986. +# Set up the scripts for CONFIG_HEADERS section.
  54987. +# No need to generate them if there are no CONFIG_HEADERS.
  54988. +# This happens for instance with `./config.status Makefile'.
  54989. +if test -n "$CONFIG_HEADERS"; then
  54990. +cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  54991. +BEGIN {
  54992. +_ACEOF
  54993. +
  54994. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  54995. +# here-document in config.status, that substitutes the proper values into
  54996. +# config.h.in to produce config.h.
  54997. +
  54998. +# Create a delimiter string that does not exist in confdefs.h, to ease
  54999. +# handling of long lines.
  55000. +ac_delim='%!_!# '
  55001. +for ac_last_try in false false :; do
  55002. + ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  55003. + if test -z "$ac_tt"; then
  55004. + break
  55005. + elif $ac_last_try; then
  55006. + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  55007. + else
  55008. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  55009. + fi
  55010. +done
  55011. +
  55012. +# For the awk script, D is an array of macro values keyed by name,
  55013. +# likewise P contains macro parameters if any. Preserve backslash
  55014. +# newline sequences.
  55015. +
  55016. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  55017. +sed -n '
  55018. +s/.\{148\}/&'"$ac_delim"'/g
  55019. +t rset
  55020. +:rset
  55021. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  55022. +t def
  55023. +d
  55024. +:def
  55025. +s/\\$//
  55026. +t bsnl
  55027. +s/["\\]/\\&/g
  55028. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  55029. +D["\1"]=" \3"/p
  55030. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  55031. +d
  55032. +:bsnl
  55033. +s/["\\]/\\&/g
  55034. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  55035. +D["\1"]=" \3\\\\\\n"\\/p
  55036. +t cont
  55037. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  55038. +t cont
  55039. +d
  55040. +:cont
  55041. +n
  55042. +s/.\{148\}/&'"$ac_delim"'/g
  55043. +t clear
  55044. +:clear
  55045. +s/\\$//
  55046. +t bsnlc
  55047. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  55048. +d
  55049. +:bsnlc
  55050. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  55051. +b cont
  55052. +' <confdefs.h | sed '
  55053. +s/'"$ac_delim"'/"\\\
  55054. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  55055. +
  55056. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  55057. + for (key in D) D_is_set[key] = 1
  55058. + FS = ""
  55059. +}
  55060. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  55061. + line = \$ 0
  55062. + split(line, arg, " ")
  55063. + if (arg[1] == "#") {
  55064. + defundef = arg[2]
  55065. + mac1 = arg[3]
  55066. + } else {
  55067. + defundef = substr(arg[1], 2)
  55068. + mac1 = arg[2]
  55069. + }
  55070. + split(mac1, mac2, "(") #)
  55071. + macro = mac2[1]
  55072. + prefix = substr(line, 1, index(line, defundef) - 1)
  55073. + if (D_is_set[macro]) {
  55074. + # Preserve the white space surrounding the "#".
  55075. + print prefix "define", macro P[macro] D[macro]
  55076. + next
  55077. + } else {
  55078. + # Replace #undef with comments. This is necessary, for example,
  55079. + # in the case of _POSIX_SOURCE, which is predefined and required
  55080. + # on some systems where configure will not decide to define it.
  55081. + if (defundef == "undef") {
  55082. + print "/*", prefix defundef, macro, "*/"
  55083. + next
  55084. + }
  55085. + }
  55086. +}
  55087. +{ print }
  55088. +_ACAWK
  55089. +_ACEOF
  55090. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  55091. + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  55092. +fi # test -n "$CONFIG_HEADERS"
  55093. +
  55094. +
  55095. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  55096. +shift
  55097. +for ac_tag
  55098. +do
  55099. + case $ac_tag in
  55100. + :[FHLC]) ac_mode=$ac_tag; continue;;
  55101. + esac
  55102. + case $ac_mode$ac_tag in
  55103. + :[FHL]*:*);;
  55104. + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  55105. + :[FH]-) ac_tag=-:-;;
  55106. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  55107. + esac
  55108. + ac_save_IFS=$IFS
  55109. + IFS=:
  55110. + set x $ac_tag
  55111. + IFS=$ac_save_IFS
  55112. + shift
  55113. + ac_file=$1
  55114. + shift
  55115. +
  55116. + case $ac_mode in
  55117. + :L) ac_source=$1;;
  55118. + :[FH])
  55119. + ac_file_inputs=
  55120. + for ac_f
  55121. + do
  55122. + case $ac_f in
  55123. + -) ac_f="$ac_tmp/stdin";;
  55124. + *) # Look for the file first in the build tree, then in the source tree
  55125. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  55126. + # because $ac_f cannot contain `:'.
  55127. + test -f "$ac_f" ||
  55128. + case $ac_f in
  55129. + [\\/$]*) false;;
  55130. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  55131. + esac ||
  55132. + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  55133. + esac
  55134. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  55135. + as_fn_append ac_file_inputs " '$ac_f'"
  55136. + done
  55137. +
  55138. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  55139. + # use $as_me), people would be surprised to read:
  55140. + # /* config.h. Generated by config.status. */
  55141. + configure_input='Generated from '`
  55142. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  55143. + `' by configure.'
  55144. + if test x"$ac_file" != x-; then
  55145. + configure_input="$ac_file. $configure_input"
  55146. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  55147. +$as_echo "$as_me: creating $ac_file" >&6;}
  55148. + fi
  55149. + # Neutralize special characters interpreted by sed in replacement strings.
  55150. + case $configure_input in #(
  55151. + *\&* | *\|* | *\\* )
  55152. + ac_sed_conf_input=`$as_echo "$configure_input" |
  55153. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  55154. + *) ac_sed_conf_input=$configure_input;;
  55155. + esac
  55156. +
  55157. + case $ac_tag in
  55158. + *:-:* | *:-) cat >"$ac_tmp/stdin" \
  55159. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  55160. + esac
  55161. + ;;
  55162. + esac
  55163. +
  55164. + ac_dir=`$as_dirname -- "$ac_file" ||
  55165. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  55166. + X"$ac_file" : 'X\(//\)[^/]' \| \
  55167. + X"$ac_file" : 'X\(//\)$' \| \
  55168. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  55169. +$as_echo X"$ac_file" |
  55170. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  55171. + s//\1/
  55172. + q
  55173. + }
  55174. + /^X\(\/\/\)[^/].*/{
  55175. + s//\1/
  55176. + q
  55177. + }
  55178. + /^X\(\/\/\)$/{
  55179. + s//\1/
  55180. + q
  55181. + }
  55182. + /^X\(\/\).*/{
  55183. + s//\1/
  55184. + q
  55185. + }
  55186. + s/.*/./; q'`
  55187. + as_dir="$ac_dir"; as_fn_mkdir_p
  55188. + ac_builddir=.
  55189. +
  55190. +case "$ac_dir" in
  55191. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  55192. +*)
  55193. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  55194. + # A ".." for each directory in $ac_dir_suffix.
  55195. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  55196. + case $ac_top_builddir_sub in
  55197. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  55198. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  55199. + esac ;;
  55200. +esac
  55201. +ac_abs_top_builddir=$ac_pwd
  55202. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  55203. +# for backward compatibility:
  55204. +ac_top_builddir=$ac_top_build_prefix
  55205. +
  55206. +case $srcdir in
  55207. + .) # We are building in place.
  55208. + ac_srcdir=.
  55209. + ac_top_srcdir=$ac_top_builddir_sub
  55210. + ac_abs_top_srcdir=$ac_pwd ;;
  55211. + [\\/]* | ?:[\\/]* ) # Absolute name.
  55212. + ac_srcdir=$srcdir$ac_dir_suffix;
  55213. + ac_top_srcdir=$srcdir
  55214. + ac_abs_top_srcdir=$srcdir ;;
  55215. + *) # Relative name.
  55216. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  55217. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  55218. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  55219. +esac
  55220. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  55221. +
  55222. +
  55223. + case $ac_mode in
  55224. + :F)
  55225. + #
  55226. + # CONFIG_FILE
  55227. + #
  55228. +
  55229. + case $INSTALL in
  55230. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  55231. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  55232. + esac
  55233. + ac_MKDIR_P=$MKDIR_P
  55234. + case $MKDIR_P in
  55235. + [\\/$]* | ?:[\\/]* ) ;;
  55236. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  55237. + esac
  55238. +_ACEOF
  55239. +
  55240. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  55241. +# If the template does not know about datarootdir, expand it.
  55242. +# FIXME: This hack should be removed a few years after 2.60.
  55243. +ac_datarootdir_hack=; ac_datarootdir_seen=
  55244. +ac_sed_dataroot='
  55245. +/datarootdir/ {
  55246. + p
  55247. + q
  55248. +}
  55249. +/@datadir@/p
  55250. +/@docdir@/p
  55251. +/@infodir@/p
  55252. +/@localedir@/p
  55253. +/@mandir@/p'
  55254. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  55255. +*datarootdir*) ac_datarootdir_seen=yes;;
  55256. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  55257. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  55258. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  55259. +_ACEOF
  55260. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  55261. + ac_datarootdir_hack='
  55262. + s&@datadir@&$datadir&g
  55263. + s&@docdir@&$docdir&g
  55264. + s&@infodir@&$infodir&g
  55265. + s&@localedir@&$localedir&g
  55266. + s&@mandir@&$mandir&g
  55267. + s&\\\${datarootdir}&$datarootdir&g' ;;
  55268. +esac
  55269. +_ACEOF
  55270. +
  55271. +# Neutralize VPATH when `$srcdir' = `.'.
  55272. +# Shell code in configure.ac might set extrasub.
  55273. +# FIXME: do we really want to maintain this feature?
  55274. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  55275. +ac_sed_extra="$ac_vpsub
  55276. +$extrasub
  55277. +_ACEOF
  55278. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  55279. +:t
  55280. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  55281. +s|@configure_input@|$ac_sed_conf_input|;t t
  55282. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  55283. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  55284. +s&@srcdir@&$ac_srcdir&;t t
  55285. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  55286. +s&@top_srcdir@&$ac_top_srcdir&;t t
  55287. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  55288. +s&@builddir@&$ac_builddir&;t t
  55289. +s&@abs_builddir@&$ac_abs_builddir&;t t
  55290. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  55291. +s&@INSTALL@&$ac_INSTALL&;t t
  55292. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  55293. +$ac_datarootdir_hack
  55294. +"
  55295. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  55296. + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  55297. +
  55298. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  55299. + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  55300. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  55301. + "$ac_tmp/out"`; test -z "$ac_out"; } &&
  55302. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  55303. +which seems to be undefined. Please make sure it is defined" >&5
  55304. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  55305. +which seems to be undefined. Please make sure it is defined" >&2;}
  55306. +
  55307. + rm -f "$ac_tmp/stdin"
  55308. + case $ac_file in
  55309. + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  55310. + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  55311. + esac \
  55312. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  55313. + ;;
  55314. + :H)
  55315. + #
  55316. + # CONFIG_HEADER
  55317. + #
  55318. + if test x"$ac_file" != x-; then
  55319. + {
  55320. + $as_echo "/* $configure_input */" \
  55321. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  55322. + } >"$ac_tmp/config.h" \
  55323. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  55324. + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  55325. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  55326. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  55327. + else
  55328. + rm -f "$ac_file"
  55329. + mv "$ac_tmp/config.h" "$ac_file" \
  55330. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  55331. + fi
  55332. + else
  55333. + $as_echo "/* $configure_input */" \
  55334. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  55335. + || as_fn_error $? "could not create -" "$LINENO" 5
  55336. + fi
  55337. +# Compute "$ac_file"'s index in $config_headers.
  55338. +_am_arg="$ac_file"
  55339. +_am_stamp_count=1
  55340. +for _am_header in $config_headers :; do
  55341. + case $_am_header in
  55342. + $_am_arg | $_am_arg:* )
  55343. + break ;;
  55344. + * )
  55345. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  55346. + esac
  55347. +done
  55348. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  55349. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  55350. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  55351. + X"$_am_arg" : 'X\(//\)$' \| \
  55352. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  55353. +$as_echo X"$_am_arg" |
  55354. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  55355. + s//\1/
  55356. + q
  55357. + }
  55358. + /^X\(\/\/\)[^/].*/{
  55359. + s//\1/
  55360. + q
  55361. + }
  55362. + /^X\(\/\/\)$/{
  55363. + s//\1/
  55364. + q
  55365. + }
  55366. + /^X\(\/\).*/{
  55367. + s//\1/
  55368. + q
  55369. + }
  55370. + s/.*/./; q'`/stamp-h$_am_stamp_count
  55371. + ;;
  55372. +
  55373. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  55374. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  55375. + ;;
  55376. + esac
  55377. +
  55378. +
  55379. + case $ac_file$ac_mode in
  55380. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  55381. + # Older Autoconf quotes --file arguments for eval, but not when files
  55382. + # are listed without --file. Let's play safe and only enable the eval
  55383. + # if we detect the quoting.
  55384. + # TODO: see whether this extra hack can be removed once we start
  55385. + # requiring Autoconf 2.70 or later.
  55386. + case $CONFIG_FILES in @%:@(
  55387. + *\'*) :
  55388. + eval set x "$CONFIG_FILES" ;; @%:@(
  55389. + *) :
  55390. + set x $CONFIG_FILES ;; @%:@(
  55391. + *) :
  55392. + ;;
  55393. +esac
  55394. + shift
  55395. + # Used to flag and report bootstrapping failures.
  55396. + am_rc=0
  55397. + for am_mf
  55398. + do
  55399. + # Strip MF so we end up with the name of the file.
  55400. + am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
  55401. + # Check whether this is an Automake generated Makefile which includes
  55402. + # dependency-tracking related rules and includes.
  55403. + # Grep'ing the whole file directly is not great: AIX grep has a line
  55404. + # limit of 2048, but all sed's we know have understand at least 4000.
  55405. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  55406. + || continue
  55407. + am_dirpart=`$as_dirname -- "$am_mf" ||
  55408. +$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  55409. + X"$am_mf" : 'X\(//\)[^/]' \| \
  55410. + X"$am_mf" : 'X\(//\)$' \| \
  55411. + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  55412. +$as_echo X"$am_mf" |
  55413. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  55414. + s//\1/
  55415. + q
  55416. + }
  55417. + /^X\(\/\/\)[^/].*/{
  55418. + s//\1/
  55419. + q
  55420. + }
  55421. + /^X\(\/\/\)$/{
  55422. + s//\1/
  55423. + q
  55424. + }
  55425. + /^X\(\/\).*/{
  55426. + s//\1/
  55427. + q
  55428. + }
  55429. + s/.*/./; q'`
  55430. + am_filepart=`$as_basename -- "$am_mf" ||
  55431. +$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
  55432. + X"$am_mf" : 'X\(//\)$' \| \
  55433. + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  55434. +$as_echo X/"$am_mf" |
  55435. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  55436. + s//\1/
  55437. + q
  55438. + }
  55439. + /^X\/\(\/\/\)$/{
  55440. + s//\1/
  55441. + q
  55442. + }
  55443. + /^X\/\(\/\).*/{
  55444. + s//\1/
  55445. + q
  55446. + }
  55447. + s/.*/./; q'`
  55448. + { echo "$as_me:$LINENO: cd "$am_dirpart" \
  55449. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  55450. + | $MAKE -f - am--depfiles" >&5
  55451. + (cd "$am_dirpart" \
  55452. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  55453. + | $MAKE -f - am--depfiles) >&5 2>&5
  55454. + ac_status=$?
  55455. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  55456. + (exit $ac_status); } || am_rc=$?
  55457. + done
  55458. + if test $am_rc -ne 0; then
  55459. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  55460. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  55461. +as_fn_error $? "Something went wrong bootstrapping makefile fragments
  55462. + for automatic dependency tracking. Try re-running configure with the
  55463. + '--disable-dependency-tracking' option to at least be able to build
  55464. + the package (albeit without support for automatic dependency tracking).
  55465. +See \`config.log' for more details" "$LINENO" 5; }
  55466. + fi
  55467. + { am_dirpart=; unset am_dirpart;}
  55468. + { am_filepart=; unset am_filepart;}
  55469. + { am_mf=; unset am_mf;}
  55470. + { am_rc=; unset am_rc;}
  55471. + rm -f conftest-deps.mk
  55472. +}
  55473. + ;;
  55474. + "libtool":C)
  55475. +
  55476. + # See if we are running on zsh, and set the options that allow our
  55477. + # commands through without removal of \ escapes.
  55478. + if test -n "${ZSH_VERSION+set}"; then
  55479. + setopt NO_GLOB_SUBST
  55480. + fi
  55481. +
  55482. + cfgfile=${ofile}T
  55483. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  55484. + $RM "$cfgfile"
  55485. +
  55486. + cat <<_LT_EOF >> "$cfgfile"
  55487. +#! $SHELL
  55488. +# Generated automatically by $as_me ($PACKAGE) $VERSION
  55489. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  55490. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  55491. +
  55492. +# Provide generalized library-building support services.
  55493. +# Written by Gordon Matzigkeit, 1996
  55494. +
  55495. +# Copyright (C) 2014 Free Software Foundation, Inc.
  55496. +# This is free software; see the source for copying conditions. There is NO
  55497. +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  55498. +
  55499. +# GNU Libtool is free software; you can redistribute it and/or modify
  55500. +# it under the terms of the GNU General Public License as published by
  55501. +# the Free Software Foundation; either version 2 of of the License, or
  55502. +# (at your option) any later version.
  55503. +#
  55504. +# As a special exception to the GNU General Public License, if you
  55505. +# distribute this file as part of a program or library that is built
  55506. +# using GNU Libtool, you may include this file under the same
  55507. +# distribution terms that you use for the rest of that program.
  55508. +#
  55509. +# GNU Libtool is distributed in the hope that it will be useful, but
  55510. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  55511. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  55512. +# GNU General Public License for more details.
  55513. +#
  55514. +# You should have received a copy of the GNU General Public License
  55515. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  55516. +
  55517. +
  55518. +# The names of the tagged configurations supported by this script.
  55519. +available_tags=''
  55520. +
  55521. +# Configured defaults for sys_lib_dlsearch_path munging.
  55522. +: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
  55523. +
  55524. +# ### BEGIN LIBTOOL CONFIG
  55525. +
  55526. +# Which release of libtool.m4 was used?
  55527. +macro_version=$macro_version
  55528. +macro_revision=$macro_revision
  55529. +
  55530. +# Whether or not to build shared libraries.
  55531. +build_libtool_libs=$enable_shared
  55532. +
  55533. +# Whether or not to build static libraries.
  55534. +build_old_libs=$enable_static
  55535. +
  55536. +# What type of objects to build.
  55537. +pic_mode=$pic_mode
  55538. +
  55539. +# Whether or not to optimize for fast installation.
  55540. +fast_install=$enable_fast_install
  55541. +
  55542. +# Shared archive member basename,for filename based shared library versioning on AIX.
  55543. +shared_archive_member_spec=$shared_archive_member_spec
  55544. +
  55545. +# Shell to use when invoking shell scripts.
  55546. +SHELL=$lt_SHELL
  55547. +
  55548. +# An echo program that protects backslashes.
  55549. +ECHO=$lt_ECHO
  55550. +
  55551. +# The PATH separator for the build system.
  55552. +PATH_SEPARATOR=$lt_PATH_SEPARATOR
  55553. +
  55554. +# The host system.
  55555. +host_alias=$host_alias
  55556. +host=$host
  55557. +host_os=$host_os
  55558. +
  55559. +# The build system.
  55560. +build_alias=$build_alias
  55561. +build=$build
  55562. +build_os=$build_os
  55563. +
  55564. +# A sed program that does not truncate output.
  55565. +SED=$lt_SED
  55566. +
  55567. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  55568. +Xsed="\$SED -e 1s/^X//"
  55569. +
  55570. +# A grep program that handles long lines.
  55571. +GREP=$lt_GREP
  55572. +
  55573. +# An ERE matcher.
  55574. +EGREP=$lt_EGREP
  55575. +
  55576. +# A literal string matcher.
  55577. +FGREP=$lt_FGREP
  55578. +
  55579. +# A BSD- or MS-compatible name lister.
  55580. +NM=$lt_NM
  55581. +
  55582. +# Whether we need soft or hard links.
  55583. +LN_S=$lt_LN_S
  55584. +
  55585. +# What is the maximum length of a command?
  55586. +max_cmd_len=$max_cmd_len
  55587. +
  55588. +# Object file suffix (normally "o").
  55589. +objext=$ac_objext
  55590. +
  55591. +# Executable file suffix (normally "").
  55592. +exeext=$exeext
  55593. +
  55594. +# whether the shell understands "unset".
  55595. +lt_unset=$lt_unset
  55596. +
  55597. +# turn spaces into newlines.
  55598. +SP2NL=$lt_lt_SP2NL
  55599. +
  55600. +# turn newlines into spaces.
  55601. +NL2SP=$lt_lt_NL2SP
  55602. +
  55603. +# convert \$build file names to \$host format.
  55604. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  55605. +
  55606. +# convert \$build files to toolchain format.
  55607. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  55608. +
  55609. +# An object symbol dumper.
  55610. +OBJDUMP=$lt_OBJDUMP
  55611. +
  55612. +# Method to check whether dependent libraries are shared objects.
  55613. +deplibs_check_method=$lt_deplibs_check_method
  55614. +
  55615. +# Command to use when deplibs_check_method = "file_magic".
  55616. +file_magic_cmd=$lt_file_magic_cmd
  55617. +
  55618. +# How to find potential files when deplibs_check_method = "file_magic".
  55619. +file_magic_glob=$lt_file_magic_glob
  55620. +
  55621. +# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  55622. +want_nocaseglob=$lt_want_nocaseglob
  55623. +
  55624. +# DLL creation program.
  55625. +DLLTOOL=$lt_DLLTOOL
  55626. +
  55627. +# Command to associate shared and link libraries.
  55628. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  55629. +
  55630. +# The archiver.
  55631. +AR=$lt_AR
  55632. +
  55633. +# Flags to create an archive.
  55634. +AR_FLAGS=$lt_AR_FLAGS
  55635. +
  55636. +# How to feed a file listing to the archiver.
  55637. +archiver_list_spec=$lt_archiver_list_spec
  55638. +
  55639. +# A symbol stripping program.
  55640. +STRIP=$lt_STRIP
  55641. +
  55642. +# Commands used to install an old-style archive.
  55643. +RANLIB=$lt_RANLIB
  55644. +old_postinstall_cmds=$lt_old_postinstall_cmds
  55645. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  55646. +
  55647. +# Whether to use a lock for old archive extraction.
  55648. +lock_old_archive_extraction=$lock_old_archive_extraction
  55649. +
  55650. +# A C compiler.
  55651. +LTCC=$lt_CC
  55652. +
  55653. +# LTCC compiler flags.
  55654. +LTCFLAGS=$lt_CFLAGS
  55655. +
  55656. +# Take the output of nm and produce a listing of raw symbols and C names.
  55657. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  55658. +
  55659. +# Transform the output of nm in a proper C declaration.
  55660. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  55661. +
  55662. +# Transform the output of nm into a list of symbols to manually relocate.
  55663. +global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
  55664. +
  55665. +# Transform the output of nm in a C name address pair.
  55666. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  55667. +
  55668. +# Transform the output of nm in a C name address pair when lib prefix is needed.
  55669. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  55670. +
  55671. +# The name lister interface.
  55672. +nm_interface=$lt_lt_cv_nm_interface
  55673. +
  55674. +# Specify filename containing input files for \$NM.
  55675. +nm_file_list_spec=$lt_nm_file_list_spec
  55676. +
  55677. +# The root where to search for dependent libraries,and where our libraries should be installed.
  55678. +lt_sysroot=$lt_sysroot
  55679. +
  55680. +# Command to truncate a binary pipe.
  55681. +lt_truncate_bin=$lt_lt_cv_truncate_bin
  55682. +
  55683. +# The name of the directory that contains temporary libtool files.
  55684. +objdir=$objdir
  55685. +
  55686. +# Used to examine libraries when file_magic_cmd begins with "file".
  55687. +MAGIC_CMD=$MAGIC_CMD
  55688. +
  55689. +# Must we lock files when doing compilation?
  55690. +need_locks=$lt_need_locks
  55691. +
  55692. +# Manifest tool.
  55693. +MANIFEST_TOOL=$lt_MANIFEST_TOOL
  55694. +
  55695. +# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  55696. +DSYMUTIL=$lt_DSYMUTIL
  55697. +
  55698. +# Tool to change global to local symbols on Mac OS X.
  55699. +NMEDIT=$lt_NMEDIT
  55700. +
  55701. +# Tool to manipulate fat objects and archives on Mac OS X.
  55702. +LIPO=$lt_LIPO
  55703. +
  55704. +# ldd/readelf like tool for Mach-O binaries on Mac OS X.
  55705. +OTOOL=$lt_OTOOL
  55706. +
  55707. +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  55708. +OTOOL64=$lt_OTOOL64
  55709. +
  55710. +# Old archive suffix (normally "a").
  55711. +libext=$libext
  55712. +
  55713. +# Shared library suffix (normally ".so").
  55714. +shrext_cmds=$lt_shrext_cmds
  55715. +
  55716. +# The commands to extract the exported symbol list from a shared archive.
  55717. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  55718. +
  55719. +# Variables whose values should be saved in libtool wrapper scripts and
  55720. +# restored at link time.
  55721. +variables_saved_for_relink=$lt_variables_saved_for_relink
  55722. +
  55723. +# Do we need the "lib" prefix for modules?
  55724. +need_lib_prefix=$need_lib_prefix
  55725. +
  55726. +# Do we need a version for libraries?
  55727. +need_version=$need_version
  55728. +
  55729. +# Library versioning type.
  55730. +version_type=$version_type
  55731. +
  55732. +# Shared library runtime path variable.
  55733. +runpath_var=$runpath_var
  55734. +
  55735. +# Shared library path variable.
  55736. +shlibpath_var=$shlibpath_var
  55737. +
  55738. +# Is shlibpath searched before the hard-coded library search path?
  55739. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  55740. +
  55741. +# Format of library name prefix.
  55742. +libname_spec=$lt_libname_spec
  55743. +
  55744. +# List of archive names. First name is the real one, the rest are links.
  55745. +# The last name is the one that the linker finds with -lNAME
  55746. +library_names_spec=$lt_library_names_spec
  55747. +
  55748. +# The coded name of the library, if different from the real name.
  55749. +soname_spec=$lt_soname_spec
  55750. +
  55751. +# Permission mode override for installation of shared libraries.
  55752. +install_override_mode=$lt_install_override_mode
  55753. +
  55754. +# Command to use after installation of a shared archive.
  55755. +postinstall_cmds=$lt_postinstall_cmds
  55756. +
  55757. +# Command to use after uninstallation of a shared archive.
  55758. +postuninstall_cmds=$lt_postuninstall_cmds
  55759. +
  55760. +# Commands used to finish a libtool library installation in a directory.
  55761. +finish_cmds=$lt_finish_cmds
  55762. +
  55763. +# As "finish_cmds", except a single script fragment to be evaled but
  55764. +# not shown.
  55765. +finish_eval=$lt_finish_eval
  55766. +
  55767. +# Whether we should hardcode library paths into libraries.
  55768. +hardcode_into_libs=$hardcode_into_libs
  55769. +
  55770. +# Compile-time system search path for libraries.
  55771. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  55772. +
  55773. +# Detected run-time system search path for libraries.
  55774. +sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
  55775. +
  55776. +# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
  55777. +configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
  55778. +
  55779. +# Whether dlopen is supported.
  55780. +dlopen_support=$enable_dlopen
  55781. +
  55782. +# Whether dlopen of programs is supported.
  55783. +dlopen_self=$enable_dlopen_self
  55784. +
  55785. +# Whether dlopen of statically linked programs is supported.
  55786. +dlopen_self_static=$enable_dlopen_self_static
  55787. +
  55788. +# Commands to strip libraries.
  55789. +old_striplib=$lt_old_striplib
  55790. +striplib=$lt_striplib
  55791. +
  55792. +
  55793. +# The linker used to build libraries.
  55794. +LD=$lt_LD
  55795. +
  55796. +# How to create reloadable object files.
  55797. +reload_flag=$lt_reload_flag
  55798. +reload_cmds=$lt_reload_cmds
  55799. +
  55800. +# Commands used to build an old-style archive.
  55801. +old_archive_cmds=$lt_old_archive_cmds
  55802. +
  55803. +# A language specific compiler.
  55804. +CC=$lt_compiler
  55805. +
  55806. +# Is the compiler the GNU compiler?
  55807. +with_gcc=$GCC
  55808. +
  55809. +# Compiler flag to turn off builtin functions.
  55810. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  55811. +
  55812. +# Additional compiler flags for building library objects.
  55813. +pic_flag=$lt_lt_prog_compiler_pic
  55814. +
  55815. +# How to pass a linker flag through the compiler.
  55816. +wl=$lt_lt_prog_compiler_wl
  55817. +
  55818. +# Compiler flag to prevent dynamic linking.
  55819. +link_static_flag=$lt_lt_prog_compiler_static
  55820. +
  55821. +# Does compiler simultaneously support -c and -o options?
  55822. +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  55823. +
  55824. +# Whether or not to add -lc for building shared libraries.
  55825. +build_libtool_need_lc=$archive_cmds_need_lc
  55826. +
  55827. +# Whether or not to disallow shared libs when runtime libs are static.
  55828. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  55829. +
  55830. +# Compiler flag to allow reflexive dlopens.
  55831. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  55832. +
  55833. +# Compiler flag to generate shared objects directly from archives.
  55834. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  55835. +
  55836. +# Whether the compiler copes with passing no objects directly.
  55837. +compiler_needs_object=$lt_compiler_needs_object
  55838. +
  55839. +# Create an old-style archive from a shared archive.
  55840. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  55841. +
  55842. +# Create a temporary old-style archive to link instead of a shared archive.
  55843. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  55844. +
  55845. +# Commands used to build a shared archive.
  55846. +archive_cmds=$lt_archive_cmds
  55847. +archive_expsym_cmds=$lt_archive_expsym_cmds
  55848. +
  55849. +# Commands used to build a loadable module if different from building
  55850. +# a shared archive.
  55851. +module_cmds=$lt_module_cmds
  55852. +module_expsym_cmds=$lt_module_expsym_cmds
  55853. +
  55854. +# Whether we are building with GNU ld or not.
  55855. +with_gnu_ld=$lt_with_gnu_ld
  55856. +
  55857. +# Flag that allows shared libraries with undefined symbols to be built.
  55858. +allow_undefined_flag=$lt_allow_undefined_flag
  55859. +
  55860. +# Flag that enforces no undefined symbols.
  55861. +no_undefined_flag=$lt_no_undefined_flag
  55862. +
  55863. +# Flag to hardcode \$libdir into a binary during linking.
  55864. +# This must work even if \$libdir does not exist
  55865. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  55866. +
  55867. +# Whether we need a single "-rpath" flag with a separated argument.
  55868. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  55869. +
  55870. +# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  55871. +# DIR into the resulting binary.
  55872. +hardcode_direct=$hardcode_direct
  55873. +
  55874. +# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  55875. +# DIR into the resulting binary and the resulting library dependency is
  55876. +# "absolute",i.e impossible to change by setting \$shlibpath_var if the
  55877. +# library is relocated.
  55878. +hardcode_direct_absolute=$hardcode_direct_absolute
  55879. +
  55880. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  55881. +# into the resulting binary.
  55882. +hardcode_minus_L=$hardcode_minus_L
  55883. +
  55884. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  55885. +# into the resulting binary.
  55886. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  55887. +
  55888. +# Set to "yes" if building a shared library automatically hardcodes DIR
  55889. +# into the library and all subsequent libraries and executables linked
  55890. +# against it.
  55891. +hardcode_automatic=$hardcode_automatic
  55892. +
  55893. +# Set to yes if linker adds runtime paths of dependent libraries
  55894. +# to runtime path list.
  55895. +inherit_rpath=$inherit_rpath
  55896. +
  55897. +# Whether libtool must link a program against all its dependency libraries.
  55898. +link_all_deplibs=$link_all_deplibs
  55899. +
  55900. +# Set to "yes" if exported symbols are required.
  55901. +always_export_symbols=$always_export_symbols
  55902. +
  55903. +# The commands to list exported symbols.
  55904. +export_symbols_cmds=$lt_export_symbols_cmds
  55905. +
  55906. +# Symbols that should not be listed in the preloaded symbols.
  55907. +exclude_expsyms=$lt_exclude_expsyms
  55908. +
  55909. +# Symbols that must always be exported.
  55910. +include_expsyms=$lt_include_expsyms
  55911. +
  55912. +# Commands necessary for linking programs (against libraries) with templates.
  55913. +prelink_cmds=$lt_prelink_cmds
  55914. +
  55915. +# Commands necessary for finishing linking programs.
  55916. +postlink_cmds=$lt_postlink_cmds
  55917. +
  55918. +# Specify filename containing input files.
  55919. +file_list_spec=$lt_file_list_spec
  55920. +
  55921. +# How to hardcode a shared library path into an executable.
  55922. +hardcode_action=$hardcode_action
  55923. +
  55924. +# ### END LIBTOOL CONFIG
  55925. +
  55926. +_LT_EOF
  55927. +
  55928. + cat <<'_LT_EOF' >> "$cfgfile"
  55929. +
  55930. +# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
  55931. +
  55932. +# func_munge_path_list VARIABLE PATH
  55933. +# -----------------------------------
  55934. +# VARIABLE is name of variable containing _space_ separated list of
  55935. +# directories to be munged by the contents of PATH, which is string
  55936. +# having a format:
  55937. +# "DIR[:DIR]:"
  55938. +# string "DIR[ DIR]" will be prepended to VARIABLE
  55939. +# ":DIR[:DIR]"
  55940. +# string "DIR[ DIR]" will be appended to VARIABLE
  55941. +# "DIRP[:DIRP]::[DIRA:]DIRA"
  55942. +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  55943. +# "DIRA[ DIRA]" will be appended to VARIABLE
  55944. +# "DIR[:DIR]"
  55945. +# VARIABLE will be replaced by "DIR[ DIR]"
  55946. +func_munge_path_list ()
  55947. +{
  55948. + case x@S|@2 in
  55949. + x)
  55950. + ;;
  55951. + *:)
  55952. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
  55953. + ;;
  55954. + x:*)
  55955. + eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
  55956. + ;;
  55957. + *::*)
  55958. + eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  55959. + eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
  55960. + ;;
  55961. + *)
  55962. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
  55963. + ;;
  55964. + esac
  55965. +}
  55966. +
  55967. +
  55968. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  55969. +func_cc_basename ()
  55970. +{
  55971. + for cc_temp in @S|@*""; do
  55972. + case $cc_temp in
  55973. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  55974. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  55975. + \-*) ;;
  55976. + *) break;;
  55977. + esac
  55978. + done
  55979. + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  55980. +}
  55981. +
  55982. +
  55983. +# ### END FUNCTIONS SHARED WITH CONFIGURE
  55984. +
  55985. +_LT_EOF
  55986. +
  55987. + case $host_os in
  55988. + aix3*)
  55989. + cat <<\_LT_EOF >> "$cfgfile"
  55990. +# AIX sometimes has problems with the GCC collect2 program. For some
  55991. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  55992. +# vanish in a puff of smoke.
  55993. +if test set != "${COLLECT_NAMES+set}"; then
  55994. + COLLECT_NAMES=
  55995. + export COLLECT_NAMES
  55996. +fi
  55997. +_LT_EOF
  55998. + ;;
  55999. + esac
  56000. +
  56001. +
  56002. +ltmain=$ac_aux_dir/ltmain.sh
  56003. +
  56004. +
  56005. + # We use sed instead of cat because bash on DJGPP gets confused if
  56006. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  56007. + # text mode, it properly converts lines to CR/LF. This bash problem
  56008. + # is reportedly fixed, but why not run on old versions too?
  56009. + sed '$q' "$ltmain" >> "$cfgfile" \
  56010. + || (rm -f "$cfgfile"; exit 1)
  56011. +
  56012. + mv -f "$cfgfile" "$ofile" ||
  56013. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  56014. + chmod +x "$ofile"
  56015. +
  56016. + ;;
  56017. + "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
  56018. +
  56019. + esac
  56020. +done # for ac_tag
  56021. +
  56022. +
  56023. +as_fn_exit 0
  56024. +_ACEOF
  56025. +ac_clean_files=$ac_clean_files_save
  56026. +
  56027. +test $ac_write_fail = 0 ||
  56028. + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  56029. +
  56030. +
  56031. +# configure is writing to config.log, and then calls config.status.
  56032. +# config.status does its own redirection, appending to config.log.
  56033. +# Unfortunately, on DOS this fails, as config.log is still kept open
  56034. +# by configure, so config.status won't be able to write to it; its
  56035. +# output is simply discarded. So we exec the FD to /dev/null,
  56036. +# effectively closing config.log, so it can be properly (re)opened and
  56037. +# appended to by config.status. When coming back to configure, we
  56038. +# need to make the FD available again.
  56039. +if test "$no_create" != yes; then
  56040. + ac_cs_success=:
  56041. + ac_config_status_args=
  56042. + test "$silent" = yes &&
  56043. + ac_config_status_args="$ac_config_status_args --quiet"
  56044. + exec 5>/dev/null
  56045. + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  56046. + exec 5>>config.log
  56047. + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  56048. + # would make configure fail if this is the last instruction.
  56049. + $ac_cs_success || as_fn_exit 1
  56050. +fi
  56051. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  56052. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  56053. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  56054. +fi
  56055. +
  56056. +
  56057. +if test "$ac_cv_header_setjmp_h" != "yes"; then
  56058. + echo
  56059. + echo "WARNING:"
  56060. + echo "Error handling of FIASCO library requires ANSI-C setjmp.h header file!"
  56061. + echo "If you are using the FIASCO library, exit() is now called in case of errors."
  56062. + echo "Please send me a mail (hafner@bigfoot.de) with the output of"
  56063. + echo "the configure script."
  56064. + echo
  56065. +fi
  56066. +
  56067. diff -Nru Fiasco-master/autom4te.cache/requests Fiasco-master-pfiasco/autom4te.cache/requests
  56068. --- Fiasco-master/autom4te.cache/requests 1969-12-31 19:00:00.000000000 -0500
  56069. +++ Fiasco-master-pfiasco/autom4te.cache/requests 2019-06-17 21:06:38.898114795 -0400
  56070. @@ -0,0 +1,526 @@
  56071. +# This file was generated.
  56072. +# It contains the lists of macros which have been traced.
  56073. +# It can be safely removed.
  56074. +
  56075. +@request = (
  56076. + bless( [
  56077. + '0',
  56078. + 1,
  56079. + [
  56080. + '/usr/share/autoconf'
  56081. + ],
  56082. + [
  56083. + '/usr/share/autoconf/autoconf/autoconf.m4f',
  56084. + '-',
  56085. + '/usr/share/aclocal-1.16/internal/ac-config-macro-dirs.m4',
  56086. + '/usr/share/aclocal/ltargz.m4',
  56087. + '/usr/share/aclocal/ltdl.m4',
  56088. + '/usr/share/aclocal/lt~obsolete.m4',
  56089. + '/usr/share/aclocal-1.16/amversion.m4',
  56090. + '/usr/share/aclocal-1.16/auxdir.m4',
  56091. + '/usr/share/aclocal-1.16/cond.m4',
  56092. + '/usr/share/aclocal-1.16/depend.m4',
  56093. + '/usr/share/aclocal-1.16/depout.m4',
  56094. + '/usr/share/aclocal-1.16/init.m4',
  56095. + '/usr/share/aclocal-1.16/install-sh.m4',
  56096. + '/usr/share/aclocal-1.16/lead-dot.m4',
  56097. + '/usr/share/aclocal-1.16/make.m4',
  56098. + '/usr/share/aclocal-1.16/missing.m4',
  56099. + '/usr/share/aclocal-1.16/obsolete.m4',
  56100. + '/usr/share/aclocal-1.16/options.m4',
  56101. + '/usr/share/aclocal-1.16/prog-cc-c-o.m4',
  56102. + '/usr/share/aclocal-1.16/runlog.m4',
  56103. + '/usr/share/aclocal-1.16/sanity.m4',
  56104. + '/usr/share/aclocal-1.16/silent.m4',
  56105. + '/usr/share/aclocal-1.16/strip.m4',
  56106. + '/usr/share/aclocal-1.16/substnot.m4',
  56107. + '/usr/share/aclocal-1.16/tar.m4',
  56108. + 'm4/libtool.m4',
  56109. + 'm4/ltoptions.m4',
  56110. + 'm4/ltsugar.m4',
  56111. + 'm4/ltversion.m4',
  56112. + 'm4/lt~obsolete.m4',
  56113. + 'configure.ac'
  56114. + ],
  56115. + {
  56116. + 'LT_CONFIG_LTDL_DIR' => 1,
  56117. + '_LT_AC_LANG_F77_CONFIG' => 1,
  56118. + 'LTDL_INIT' => 1,
  56119. + '_LT_PATH_TOOL_PREFIX' => 1,
  56120. + '_LT_AC_TAGCONFIG' => 1,
  56121. + 'AC_LIBTOOL_DLOPEN' => 1,
  56122. + 'AC_PROG_LD' => 1,
  56123. + 'AC_PROG_NM' => 1,
  56124. + '_LT_AC_SHELL_INIT' => 1,
  56125. + '_AM_AUTOCONF_VERSION' => 1,
  56126. + '_LT_AC_LANG_GCJ_CONFIG' => 1,
  56127. + '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
  56128. + 'AC_WITH_LTDL' => 1,
  56129. + '_LT_AC_LANG_CXX_CONFIG' => 1,
  56130. + 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
  56131. + 'LT_LIB_DLLOAD' => 1,
  56132. + 'AM_PROG_INSTALL_STRIP' => 1,
  56133. + 'AC_LIBTOOL_PROG_CC_C_O' => 1,
  56134. + '_LT_CC_BASENAME' => 1,
  56135. + 'AM_PROG_LD' => 1,
  56136. + '_LT_COMPILER_BOILERPLATE' => 1,
  56137. + '_LT_AC_SYS_COMPILER' => 1,
  56138. + 'AC_LIBTOOL_SETUP' => 1,
  56139. + '_LT_COMPILER_OPTION' => 1,
  56140. + 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
  56141. + '_LT_AC_LANG_C_CONFIG' => 1,
  56142. + 'LT_AC_PROG_GCJ' => 1,
  56143. + '_LTDL_SETUP' => 1,
  56144. + 'AC_LIBTOOL_FC' => 1,
  56145. + 'AC_LIBTOOL_F77' => 1,
  56146. + 'LT_SYS_MODULE_PATH' => 1,
  56147. + 'AM_SANITY_CHECK' => 1,
  56148. + 'LTDL_INSTALLABLE' => 1,
  56149. + 'AC_LTDL_SHLIBPATH' => 1,
  56150. + 'LT_SYS_DLOPEN_DEPLIBS' => 1,
  56151. + 'LT_SYS_DLOPEN_SELF' => 1,
  56152. + 'AC_DISABLE_FAST_INSTALL' => 1,
  56153. + 'AM_PROG_NM' => 1,
  56154. + 'AM_MISSING_PROG' => 1,
  56155. + 'AM_SUBST_NOTMAKE' => 1,
  56156. + 'AM_PROG_INSTALL_SH' => 1,
  56157. + 'AC_PROG_LD_RELOAD_FLAG' => 1,
  56158. + 'AC_LIBTOOL_CONFIG' => 1,
  56159. + 'AM_C_PROTOTYPES' => 1,
  56160. + 'AC_DEFUN_ONCE' => 1,
  56161. + '_AC_AM_CONFIG_HEADER_HOOK' => 1,
  56162. + 'fp_C_PROTOTYPES' => 1,
  56163. + 'AM_ENABLE_SHARED' => 1,
  56164. + 'AC_DEPLIBS_CHECK_METHOD' => 1,
  56165. + 'AC_PATH_TOOL_PREFIX' => 1,
  56166. + '_AM_PROG_TAR' => 1,
  56167. + 'AC_LTDL_DLLIB' => 1,
  56168. + 'AC_ENABLE_FAST_INSTALL' => 1,
  56169. + 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
  56170. + 'm4_include' => 1,
  56171. + 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
  56172. + 'LTSUGAR_VERSION' => 1,
  56173. + 'LT_SYS_DLSEARCH_PATH' => 1,
  56174. + 'AC_PROG_LD_GNU' => 1,
  56175. + 'AC_ENABLE_SHARED' => 1,
  56176. + 'AC_LIBTOOL_PICMODE' => 1,
  56177. + 'LT_LANG' => 1,
  56178. + 'AC_LTDL_SHLIBEXT' => 1,
  56179. + 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
  56180. + 'AU_DEFUN' => 1,
  56181. + '_AM_DEPENDENCIES' => 1,
  56182. + '_LT_AC_LOCK' => 1,
  56183. + '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
  56184. + 'LT_AC_PROG_RC' => 1,
  56185. + 'AC_LTDL_PREOPEN' => 1,
  56186. + 'LT_SYS_MODULE_EXT' => 1,
  56187. + 'AC_LIB_LTDL' => 1,
  56188. + 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
  56189. + '_LT_PROG_F77' => 1,
  56190. + '_LT_PROG_CXX' => 1,
  56191. + 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
  56192. + 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
  56193. + '_LT_AC_TAGVAR' => 1,
  56194. + 'AC_LIBLTDL_CONVENIENCE' => 1,
  56195. + '_AM_SET_OPTIONS' => 1,
  56196. + 'AM_DISABLE_SHARED' => 1,
  56197. + 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
  56198. + 'LT_INIT' => 1,
  56199. + 'LT_OUTPUT' => 1,
  56200. + 'AC_LIBLTDL_INSTALLABLE' => 1,
  56201. + '_LT_LINKER_OPTION' => 1,
  56202. + 'LT_PATH_LD' => 1,
  56203. + 'AC_LIBTOOL_GCJ' => 1,
  56204. + '_LT_AC_LANG_F77' => 1,
  56205. + 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
  56206. + 'AM_CONFIG_HEADER' => 1,
  56207. + 'AM_AUTOMAKE_VERSION' => 1,
  56208. + 'AM_SET_LEADING_DOT' => 1,
  56209. + 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
  56210. + 'LT_FUNC_DLSYM_USCORE' => 1,
  56211. + 'include' => 1,
  56212. + 'LT_FUNC_ARGZ' => 1,
  56213. + '_LT_AC_TRY_DLOPEN_SELF' => 1,
  56214. + 'AC_LIBTOOL_CXX' => 1,
  56215. + 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
  56216. + 'AC_LTDL_OBJDIR' => 1,
  56217. + 'LT_PATH_NM' => 1,
  56218. + '_LT_AC_LANG_GCJ' => 1,
  56219. + 'LTDL_CONVENIENCE' => 1,
  56220. + 'AC_LIBTOOL_LINKER_OPTION' => 1,
  56221. + '_LT_AC_LANG_CXX' => 1,
  56222. + 'LT_AC_PROG_SED' => 1,
  56223. + '_LT_AC_CHECK_DLFCN' => 1,
  56224. + 'AC_PATH_MAGIC' => 1,
  56225. + 'AM_SILENT_RULES' => 1,
  56226. + 'LTOPTIONS_VERSION' => 1,
  56227. + '_LT_AC_LANG_RC_CONFIG' => 1,
  56228. + 'AC_DISABLE_SHARED' => 1,
  56229. + '_LT_PREPARE_SED_QUOTE_VARS' => 1,
  56230. + 'AM_PROG_CC_C_O' => 1,
  56231. + 'AM_RUN_LOG' => 1,
  56232. + 'LT_PROG_RC' => 1,
  56233. + 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
  56234. + 'AC_CHECK_LIBM' => 1,
  56235. + '_LT_AC_PROG_CXXCPP' => 1,
  56236. + 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
  56237. + 'AC_LTDL_DLSYM_USCORE' => 1,
  56238. + 'AM_AUX_DIR_EXPAND' => 1,
  56239. + 'LT_LIB_M' => 1,
  56240. + 'LTVERSION_VERSION' => 1,
  56241. + 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
  56242. + '_AM_MANGLE_OPTION' => 1,
  56243. + 'AC_LIBTOOL_OBJDIR' => 1,
  56244. + '_LT_PROG_ECHO_BACKSLASH' => 1,
  56245. + 'AM_DEP_TRACK' => 1,
  56246. + 'AM_CONDITIONAL' => 1,
  56247. + 'AC_LIBTOOL_COMPILER_OPTION' => 1,
  56248. + 'm4_pattern_allow' => 1,
  56249. + '_LT_PROG_FC' => 1,
  56250. + 'm4_pattern_forbid' => 1,
  56251. + 'AM_MAKE_INCLUDE' => 1,
  56252. + '_LT_LIBOBJ' => 1,
  56253. + '_AC_PROG_LIBTOOL' => 1,
  56254. + 'AM_MISSING_HAS_RUN' => 1,
  56255. + '_LT_LINKER_BOILERPLATE' => 1,
  56256. + 'AC_LTDL_ENABLE_INSTALL' => 1,
  56257. + 'LTOBSOLETE_VERSION' => 1,
  56258. + '_LT_AC_SYS_LIBPATH_AIX' => 1,
  56259. + 'LT_SYS_SYMBOL_USCORE' => 1,
  56260. + '_m4_warn' => 1,
  56261. + 'AM_DISABLE_STATIC' => 1,
  56262. + 'AC_PROG_LIBTOOL' => 1,
  56263. + 'AC_LTDL_SYMBOL_USCORE' => 1,
  56264. + '_AM_SET_OPTION' => 1,
  56265. + 'LT_WITH_LTDL' => 1,
  56266. + 'LT_PROG_GCJ' => 1,
  56267. + 'AC_LIBTOOL_DLOPEN_SELF' => 1,
  56268. + 'AM_INIT_AUTOMAKE' => 1,
  56269. + 'AC_LIBTOOL_RC' => 1,
  56270. + 'AM_ENABLE_STATIC' => 1,
  56271. + 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
  56272. + 'AC_CONFIG_MACRO_DIR' => 1,
  56273. + 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
  56274. + '_LT_REQUIRED_DARWIN_CHECKS' => 1,
  56275. + '_AM_IF_OPTION' => 1,
  56276. + 'AC_DISABLE_STATIC' => 1,
  56277. + 'AC_LTDL_SYSSEARCHPATH' => 1,
  56278. + 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
  56279. + 'LT_CMD_MAX_LEN' => 1,
  56280. + '_LT_PROG_LTMAIN' => 1,
  56281. + 'AC_PROG_EGREP' => 1,
  56282. + 'AC_LIBTOOL_WIN32_DLL' => 1,
  56283. + 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
  56284. + 'LT_AC_PROG_EGREP' => 1,
  56285. + '_AM_SUBST_NOTMAKE' => 1,
  56286. + 'AC_ENABLE_STATIC' => 1,
  56287. + 'AM_PROG_CC_STDC' => 1,
  56288. + 'AC_DEFUN' => 1,
  56289. + 'AM_SET_DEPDIR' => 1,
  56290. + 'LT_SUPPORTED_TAG' => 1,
  56291. + '_LT_AC_FILE_LTDLL_C' => 1,
  56292. + 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
  56293. + '_AM_CONFIG_MACRO_DIRS' => 1,
  56294. + '_AM_PROG_CC_C_O' => 1,
  56295. + 'AM_PROG_LIBTOOL' => 1
  56296. + }
  56297. + ], 'Autom4te::Request' ),
  56298. + bless( [
  56299. + '1',
  56300. + 1,
  56301. + [
  56302. + '/usr/share/autoconf'
  56303. + ],
  56304. + [
  56305. + '/usr/share/autoconf/autoconf/autoconf.m4f',
  56306. + 'aclocal.m4',
  56307. + 'configure.ac'
  56308. + ],
  56309. + {
  56310. + 'AC_FC_PP_DEFINE' => 1,
  56311. + 'AH_OUTPUT' => 1,
  56312. + 'AM_PROG_F77_C_O' => 1,
  56313. + 'LT_SUPPORTED_TAG' => 1,
  56314. + 'AM_PROG_FC_C_O' => 1,
  56315. + 'AM_PROG_MKDIR_P' => 1,
  56316. + 'AM_ENABLE_MULTILIB' => 1,
  56317. + 'm4_pattern_allow' => 1,
  56318. + 'AC_SUBST' => 1,
  56319. + 'AC_DEFINE_TRACE_LITERAL' => 1,
  56320. + 'AC_CANONICAL_SYSTEM' => 1,
  56321. + 'AC_CONFIG_SUBDIRS' => 1,
  56322. + '_AM_SUBST_NOTMAKE' => 1,
  56323. + '_AM_MAKEFILE_INCLUDE' => 1,
  56324. + 'AC_CONFIG_LIBOBJ_DIR' => 1,
  56325. + 'AM_CONDITIONAL' => 1,
  56326. + 'AM_NLS' => 1,
  56327. + 'AM_PROG_CXX_C_O' => 1,
  56328. + 'sinclude' => 1,
  56329. + 'AM_SILENT_RULES' => 1,
  56330. + 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
  56331. + 'AC_FC_FREEFORM' => 1,
  56332. + 'AC_CANONICAL_HOST' => 1,
  56333. + 'AC_CONFIG_FILES' => 1,
  56334. + 'AM_GNU_GETTEXT' => 1,
  56335. + 'AC_CANONICAL_TARGET' => 1,
  56336. + 'AM_PROG_CC_C_O' => 1,
  56337. + 'AM_EXTRA_RECURSIVE_TARGETS' => 1,
  56338. + 'AC_FC_PP_SRCEXT' => 1,
  56339. + 'AM_PROG_AR' => 1,
  56340. + 'm4_sinclude' => 1,
  56341. + 'AC_CONFIG_AUX_DIR' => 1,
  56342. + 'm4_include' => 1,
  56343. + 'AC_REQUIRE_AUX_FILE' => 1,
  56344. + 'AM_PROG_MOC' => 1,
  56345. + '_AM_COND_IF' => 1,
  56346. + 'AC_LIBSOURCE' => 1,
  56347. + 'AC_FC_SRCEXT' => 1,
  56348. + 'include' => 1,
  56349. + 'AM_XGETTEXT_OPTION' => 1,
  56350. + 'AM_MAKEFILE_INCLUDE' => 1,
  56351. + 'AC_PROG_LIBTOOL' => 1,
  56352. + 'AC_SUBST_TRACE' => 1,
  56353. + '_AM_COND_ENDIF' => 1,
  56354. + 'AM_INIT_AUTOMAKE' => 1,
  56355. + '_AM_COND_ELSE' => 1,
  56356. + 'AM_PATH_GUILE' => 1,
  56357. + 'AC_CONFIG_LINKS' => 1,
  56358. + 'AM_POT_TOOLS' => 1,
  56359. + 'LT_INIT' => 1,
  56360. + '_LT_AC_TAGCONFIG' => 1,
  56361. + '_m4_warn' => 1,
  56362. + 'AC_INIT' => 1,
  56363. + 'AC_CONFIG_HEADERS' => 1,
  56364. + 'AM_AUTOMAKE_VERSION' => 1,
  56365. + 'AC_CANONICAL_BUILD' => 1,
  56366. + 'm4_pattern_forbid' => 1,
  56367. + 'LT_CONFIG_LTDL_DIR' => 1,
  56368. + 'AM_MAINTAINER_MODE' => 1
  56369. + }
  56370. + ], 'Autom4te::Request' ),
  56371. + bless( [
  56372. + '2',
  56373. + 1,
  56374. + [
  56375. + '/usr/share/autoconf'
  56376. + ],
  56377. + [
  56378. + '/usr/share/autoconf/autoconf/autoconf.m4f',
  56379. + '-',
  56380. + '/usr/share/aclocal-1.16/internal/ac-config-macro-dirs.m4',
  56381. + '/usr/share/aclocal/ltargz.m4',
  56382. + '/usr/share/aclocal/ltdl.m4',
  56383. + '/usr/share/aclocal-1.16/amversion.m4',
  56384. + '/usr/share/aclocal-1.16/auxdir.m4',
  56385. + '/usr/share/aclocal-1.16/cond.m4',
  56386. + '/usr/share/aclocal-1.16/depend.m4',
  56387. + '/usr/share/aclocal-1.16/depout.m4',
  56388. + '/usr/share/aclocal-1.16/init.m4',
  56389. + '/usr/share/aclocal-1.16/install-sh.m4',
  56390. + '/usr/share/aclocal-1.16/lead-dot.m4',
  56391. + '/usr/share/aclocal-1.16/make.m4',
  56392. + '/usr/share/aclocal-1.16/missing.m4',
  56393. + '/usr/share/aclocal-1.16/obsolete.m4',
  56394. + '/usr/share/aclocal-1.16/options.m4',
  56395. + '/usr/share/aclocal-1.16/prog-cc-c-o.m4',
  56396. + '/usr/share/aclocal-1.16/runlog.m4',
  56397. + '/usr/share/aclocal-1.16/sanity.m4',
  56398. + '/usr/share/aclocal-1.16/silent.m4',
  56399. + '/usr/share/aclocal-1.16/strip.m4',
  56400. + '/usr/share/aclocal-1.16/substnot.m4',
  56401. + '/usr/share/aclocal-1.16/tar.m4',
  56402. + 'm4/libtool.m4',
  56403. + 'm4/ltoptions.m4',
  56404. + 'm4/ltsugar.m4',
  56405. + 'm4/ltversion.m4',
  56406. + 'm4/lt~obsolete.m4',
  56407. + 'configure.ac'
  56408. + ],
  56409. + {
  56410. + '_AM_MANGLE_OPTION' => 1,
  56411. + 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
  56412. + '_LT_PROG_ECHO_BACKSLASH' => 1,
  56413. + 'AM_DEP_TRACK' => 1,
  56414. + 'AC_LIBTOOL_OBJDIR' => 1,
  56415. + 'AM_CONDITIONAL' => 1,
  56416. + 'AC_LTDL_DLSYM_USCORE' => 1,
  56417. + 'AM_AUX_DIR_EXPAND' => 1,
  56418. + 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
  56419. + 'LT_LIB_M' => 1,
  56420. + 'LTVERSION_VERSION' => 1,
  56421. + 'm4_pattern_allow' => 1,
  56422. + '_LT_PROG_FC' => 1,
  56423. + 'AC_LIBTOOL_COMPILER_OPTION' => 1,
  56424. + 'AC_PATH_MAGIC' => 1,
  56425. + '_LT_AC_CHECK_DLFCN' => 1,
  56426. + 'AM_PROG_CC_C_O' => 1,
  56427. + '_LT_PREPARE_SED_QUOTE_VARS' => 1,
  56428. + 'AM_RUN_LOG' => 1,
  56429. + 'LT_PROG_RC' => 1,
  56430. + 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
  56431. + 'AC_CHECK_LIBM' => 1,
  56432. + '_LT_AC_PROG_CXXCPP' => 1,
  56433. + 'AM_SILENT_RULES' => 1,
  56434. + 'AC_DISABLE_SHARED' => 1,
  56435. + 'LTOPTIONS_VERSION' => 1,
  56436. + '_LT_AC_LANG_RC_CONFIG' => 1,
  56437. + 'LT_FUNC_ARGZ' => 1,
  56438. + 'AC_LIBTOOL_CXX' => 1,
  56439. + '_LT_AC_TRY_DLOPEN_SELF' => 1,
  56440. + 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
  56441. + 'LT_PATH_NM' => 1,
  56442. + 'AC_LTDL_OBJDIR' => 1,
  56443. + 'LT_FUNC_DLSYM_USCORE' => 1,
  56444. + 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
  56445. + 'include' => 1,
  56446. + '_LT_AC_LANG_GCJ' => 1,
  56447. + 'AC_LIBTOOL_LINKER_OPTION' => 1,
  56448. + 'LTDL_CONVENIENCE' => 1,
  56449. + '_LT_AC_LANG_CXX' => 1,
  56450. + 'LT_AC_PROG_SED' => 1,
  56451. + '_AM_SET_OPTIONS' => 1,
  56452. + 'AM_DISABLE_SHARED' => 1,
  56453. + 'AC_LIBLTDL_CONVENIENCE' => 1,
  56454. + '_LT_AC_LANG_F77' => 1,
  56455. + 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
  56456. + 'AC_LIBTOOL_GCJ' => 1,
  56457. + 'AM_AUTOMAKE_VERSION' => 1,
  56458. + 'AM_CONFIG_HEADER' => 1,
  56459. + 'AM_SET_LEADING_DOT' => 1,
  56460. + 'LT_INIT' => 1,
  56461. + 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
  56462. + '_LT_LINKER_OPTION' => 1,
  56463. + 'AC_LIBLTDL_INSTALLABLE' => 1,
  56464. + 'LT_OUTPUT' => 1,
  56465. + 'LT_PATH_LD' => 1,
  56466. + 'AC_DEFUN' => 1,
  56467. + 'AM_PROG_CC_STDC' => 1,
  56468. + 'LT_AC_PROG_EGREP' => 1,
  56469. + '_AM_SUBST_NOTMAKE' => 1,
  56470. + 'LT_PROG_GO' => 1,
  56471. + 'AC_ENABLE_STATIC' => 1,
  56472. + 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
  56473. + '_AM_PROG_CC_C_O' => 1,
  56474. + '_AM_CONFIG_MACRO_DIRS' => 1,
  56475. + 'AM_PROG_LIBTOOL' => 1,
  56476. + 'AM_SET_DEPDIR' => 1,
  56477. + 'LT_SUPPORTED_TAG' => 1,
  56478. + '_LT_AC_FILE_LTDLL_C' => 1,
  56479. + 'AC_LTDL_SYSSEARCHPATH' => 1,
  56480. + '_AM_IF_OPTION' => 1,
  56481. + 'AC_DISABLE_STATIC' => 1,
  56482. + 'AC_LIBTOOL_WIN32_DLL' => 1,
  56483. + 'AC_PROG_EGREP' => 1,
  56484. + 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
  56485. + 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
  56486. + 'LT_CMD_MAX_LEN' => 1,
  56487. + '_LT_PROG_LTMAIN' => 1,
  56488. + 'AM_INIT_AUTOMAKE' => 1,
  56489. + 'AC_LIBTOOL_RC' => 1,
  56490. + 'AC_PROG_LIBTOOL' => 1,
  56491. + 'AC_LTDL_SYMBOL_USCORE' => 1,
  56492. + 'LT_PROG_GCJ' => 1,
  56493. + '_AM_SET_OPTION' => 1,
  56494. + 'LT_WITH_LTDL' => 1,
  56495. + 'AC_LIBTOOL_DLOPEN_SELF' => 1,
  56496. + '_LT_DLL_DEF_P' => 1,
  56497. + 'AM_ENABLE_STATIC' => 1,
  56498. + 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
  56499. + 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
  56500. + 'AC_CONFIG_MACRO_DIR' => 1,
  56501. + '_LT_REQUIRED_DARWIN_CHECKS' => 1,
  56502. + '_LT_LIBOBJ' => 1,
  56503. + 'AM_MAKE_INCLUDE' => 1,
  56504. + 'AM_MISSING_HAS_RUN' => 1,
  56505. + '_AC_PROG_LIBTOOL' => 1,
  56506. + 'm4_pattern_forbid' => 1,
  56507. + '_LT_AC_SYS_LIBPATH_AIX' => 1,
  56508. + 'LT_SYS_SYMBOL_USCORE' => 1,
  56509. + 'AM_DISABLE_STATIC' => 1,
  56510. + '_m4_warn' => 1,
  56511. + '_LT_LINKER_BOILERPLATE' => 1,
  56512. + 'LTOBSOLETE_VERSION' => 1,
  56513. + 'AC_LTDL_ENABLE_INSTALL' => 1,
  56514. + 'AM_SANITY_CHECK' => 1,
  56515. + 'AC_LTDL_SHLIBPATH' => 1,
  56516. + 'LTDL_INSTALLABLE' => 1,
  56517. + 'LT_SYS_MODULE_PATH' => 1,
  56518. + '_LT_WITH_SYSROOT' => 1,
  56519. + 'LT_SYS_DLOPEN_DEPLIBS' => 1,
  56520. + 'LT_SYS_DLOPEN_SELF' => 1,
  56521. + 'AM_PROG_NM' => 1,
  56522. + 'AC_DISABLE_FAST_INSTALL' => 1,
  56523. + '_LT_COMPILER_BOILERPLATE' => 1,
  56524. + '_LT_AC_SYS_COMPILER' => 1,
  56525. + 'AC_LIBTOOL_SETUP' => 1,
  56526. + '_LT_AC_LANG_C_CONFIG' => 1,
  56527. + 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
  56528. + '_LT_COMPILER_OPTION' => 1,
  56529. + 'AM_PROG_LD' => 1,
  56530. + '_LT_CC_BASENAME' => 1,
  56531. + '_LTDL_SETUP' => 1,
  56532. + 'LT_AC_PROG_GCJ' => 1,
  56533. + 'AC_LIBTOOL_F77' => 1,
  56534. + 'AC_LIBTOOL_FC' => 1,
  56535. + '_AM_AUTOCONF_VERSION' => 1,
  56536. + 'AC_WITH_LTDL' => 1,
  56537. + '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
  56538. + '_LT_AC_LANG_GCJ_CONFIG' => 1,
  56539. + '_LT_AC_LANG_CXX_CONFIG' => 1,
  56540. + 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
  56541. + 'AC_PROG_NM' => 1,
  56542. + '_LT_AC_SHELL_INIT' => 1,
  56543. + 'AM_PROG_INSTALL_STRIP' => 1,
  56544. + 'AC_LIBTOOL_PROG_CC_C_O' => 1,
  56545. + 'LT_LIB_DLLOAD' => 1,
  56546. + 'LTDL_INIT' => 1,
  56547. + '_LT_PATH_TOOL_PREFIX' => 1,
  56548. + '_LT_AC_LANG_F77_CONFIG' => 1,
  56549. + 'LT_CONFIG_LTDL_DIR' => 1,
  56550. + 'AC_PROG_LD' => 1,
  56551. + '_LT_AC_TAGCONFIG' => 1,
  56552. + 'AC_LIBTOOL_DLOPEN' => 1,
  56553. + 'AC_LTDL_PREOPEN' => 1,
  56554. + 'LT_AC_PROG_RC' => 1,
  56555. + 'LT_SYS_MODULE_EXT' => 1,
  56556. + '_LT_AC_TAGVAR' => 1,
  56557. + 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
  56558. + 'AC_LIB_LTDL' => 1,
  56559. + 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
  56560. + '_LT_PROG_CXX' => 1,
  56561. + '_LT_PROG_F77' => 1,
  56562. + 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
  56563. + 'LT_LANG' => 1,
  56564. + 'AC_LTDL_SHLIBEXT' => 1,
  56565. + 'AC_ENABLE_SHARED' => 1,
  56566. + 'AC_LIBTOOL_PICMODE' => 1,
  56567. + '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
  56568. + '_LT_AC_LOCK' => 1,
  56569. + 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
  56570. + 'AU_DEFUN' => 1,
  56571. + '_AM_DEPENDENCIES' => 1,
  56572. + 'AC_LTDL_DLLIB' => 1,
  56573. + 'AC_DEPLIBS_CHECK_METHOD' => 1,
  56574. + 'AC_PATH_TOOL_PREFIX' => 1,
  56575. + '_AM_PROG_TAR' => 1,
  56576. + 'LT_SYS_DLSEARCH_PATH' => 1,
  56577. + 'AC_PROG_LD_GNU' => 1,
  56578. + 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
  56579. + 'AC_ENABLE_FAST_INSTALL' => 1,
  56580. + 'm4_include' => 1,
  56581. + 'LTSUGAR_VERSION' => 1,
  56582. + 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
  56583. + 'AC_PROG_LD_RELOAD_FLAG' => 1,
  56584. + 'AM_PROG_INSTALL_SH' => 1,
  56585. + 'AC_LIBTOOL_CONFIG' => 1,
  56586. + 'AM_MISSING_PROG' => 1,
  56587. + 'AM_SUBST_NOTMAKE' => 1,
  56588. + '_AC_AM_CONFIG_HEADER_HOOK' => 1,
  56589. + 'fp_C_PROTOTYPES' => 1,
  56590. + 'AM_ENABLE_SHARED' => 1,
  56591. + 'AM_C_PROTOTYPES' => 1,
  56592. + 'AC_DEFUN_ONCE' => 1
  56593. + }
  56594. + ], 'Autom4te::Request' )
  56595. + );
  56596. +
  56597. diff -Nru Fiasco-master/autom4te.cache/traces.0 Fiasco-master-pfiasco/autom4te.cache/traces.0
  56598. --- Fiasco-master/autom4te.cache/traces.0 1969-12-31 19:00:00.000000000 -0500
  56599. +++ Fiasco-master-pfiasco/autom4te.cache/traces.0 2019-06-17 20:58:41.119215287 -0400
  56600. @@ -0,0 +1,2711 @@
  56601. +m4trace:/usr/share/aclocal/ltargz.m4:12: -1- AC_DEFUN([LT_FUNC_ARGZ], [
  56602. +AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
  56603. +
  56604. +AC_CHECK_TYPES([error_t],
  56605. + [],
  56606. + [AC_DEFINE([error_t], [int],
  56607. + [Define to a type to use for 'error_t' if it is not otherwise available.])
  56608. + AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
  56609. + does not typedef error_t.])],
  56610. + [#if defined(HAVE_ARGZ_H)
  56611. +# include <argz.h>
  56612. +#endif])
  56613. +
  56614. +LT_ARGZ_H=
  56615. +AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
  56616. + argz_next argz_stringify], [], [LT_ARGZ_H=lt__argz.h; AC_LIBOBJ([lt__argz])])
  56617. +
  56618. +dnl if have system argz functions, allow forced use of
  56619. +dnl libltdl-supplied implementation (and default to do so
  56620. +dnl on "known bad" systems). Could use a runtime check, but
  56621. +dnl (a) detecting malloc issues is notoriously unreliable
  56622. +dnl (b) only known system that declares argz functions,
  56623. +dnl provides them, yet they are broken, is cygwin
  56624. +dnl releases prior to 16-Mar-2007 (1.5.24 and earlier)
  56625. +dnl So, it's more straightforward simply to special case
  56626. +dnl this for known bad systems.
  56627. +AS_IF([test -z "$LT_ARGZ_H"],
  56628. + [AC_CACHE_CHECK(
  56629. + [if argz actually works],
  56630. + [lt_cv_sys_argz_works],
  56631. + [[case $host_os in #(
  56632. + *cygwin*)
  56633. + lt_cv_sys_argz_works=no
  56634. + if test no != "$cross_compiling"; then
  56635. + lt_cv_sys_argz_works="guessing no"
  56636. + else
  56637. + lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
  56638. + save_IFS=$IFS
  56639. + IFS=-.
  56640. + set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
  56641. + IFS=$save_IFS
  56642. + lt_os_major=${2-0}
  56643. + lt_os_minor=${3-0}
  56644. + lt_os_micro=${4-0}
  56645. + if test 1 -lt "$lt_os_major" \
  56646. + || { test 1 -eq "$lt_os_major" \
  56647. + && { test 5 -lt "$lt_os_minor" \
  56648. + || { test 5 -eq "$lt_os_minor" \
  56649. + && test 24 -lt "$lt_os_micro"; }; }; }; then
  56650. + lt_cv_sys_argz_works=yes
  56651. + fi
  56652. + fi
  56653. + ;; #(
  56654. + *) lt_cv_sys_argz_works=yes ;;
  56655. + esac]])
  56656. + AS_IF([test yes = "$lt_cv_sys_argz_works"],
  56657. + [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
  56658. + [This value is set to 1 to indicate that the system argz facility works])],
  56659. + [LT_ARGZ_H=lt__argz.h
  56660. + AC_LIBOBJ([lt__argz])])])
  56661. +
  56662. +AC_SUBST([LT_ARGZ_H])
  56663. +])
  56664. +m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
  56665. +_$0($*)
  56666. +])
  56667. +m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
  56668. +dnl Although the argument is deprecated and no longer documented,
  56669. +dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
  56670. +dnl here make sure it is the same as any other declaration of libltdl's
  56671. +dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
  56672. +dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
  56673. +m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
  56674. +_$0()
  56675. +])
  56676. +m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  56677. +_LTDL_CONVENIENCE])
  56678. +m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
  56679. +You should run autoupdate.])dnl
  56680. +_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  56681. +_LTDL_CONVENIENCE])
  56682. +m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
  56683. +dnl Although the argument is deprecated and no longer documented,
  56684. +dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
  56685. +dnl here make sure it is the same as any other declaration of libltdl's
  56686. +dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
  56687. +dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
  56688. +m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
  56689. +_$0()
  56690. +])
  56691. +m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  56692. +_LTDL_INSTALLABLE])
  56693. +m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
  56694. +You should run autoupdate.])dnl
  56695. +_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  56696. +_LTDL_INSTALLABLE])
  56697. +m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
  56698. + m4_pattern_allow([^_LT_LIBOBJS$])
  56699. + _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
  56700. +])
  56701. +m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
  56702. +_LT_SET_OPTIONS([$0], [$1])
  56703. +
  56704. +dnl We need to keep our own list of libobjs separate from our parent project,
  56705. +dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
  56706. +dnl we look for our own LIBOBJs.
  56707. +m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
  56708. +m4_pushdef([AC_LIBSOURCES])
  56709. +
  56710. +dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
  56711. +m4_if(_LTDL_MODE, [],
  56712. + [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
  56713. + m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
  56714. + [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
  56715. +
  56716. +AC_ARG_WITH([included_ltdl],
  56717. + [AS_HELP_STRING([--with-included-ltdl],
  56718. + [use the GNU ltdl sources included here])])
  56719. +
  56720. +if test yes != "$with_included_ltdl"; then
  56721. + # We are not being forced to use the included libltdl sources, so
  56722. + # decide whether there is a useful installed version we can use.
  56723. + AC_CHECK_HEADER([ltdl.h],
  56724. + [AC_CHECK_DECL([lt_dlinterface_register],
  56725. + [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
  56726. + [with_included_ltdl=no],
  56727. + [with_included_ltdl=yes])],
  56728. + [with_included_ltdl=yes],
  56729. + [AC_INCLUDES_DEFAULT
  56730. + #include <ltdl.h>])],
  56731. + [with_included_ltdl=yes],
  56732. + [AC_INCLUDES_DEFAULT]
  56733. + )
  56734. +fi
  56735. +
  56736. +dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
  56737. +dnl was called yet, then for old times' sake, we assume libltdl is in an
  56738. +dnl eponymous directory:
  56739. +AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
  56740. +
  56741. +AC_ARG_WITH([ltdl_include],
  56742. + [AS_HELP_STRING([--with-ltdl-include=DIR],
  56743. + [use the ltdl headers installed in DIR])])
  56744. +
  56745. +if test -n "$with_ltdl_include"; then
  56746. + if test -f "$with_ltdl_include/ltdl.h"; then :
  56747. + else
  56748. + AC_MSG_ERROR([invalid ltdl include directory: '$with_ltdl_include'])
  56749. + fi
  56750. +else
  56751. + with_ltdl_include=no
  56752. +fi
  56753. +
  56754. +AC_ARG_WITH([ltdl_lib],
  56755. + [AS_HELP_STRING([--with-ltdl-lib=DIR],
  56756. + [use the libltdl.la installed in DIR])])
  56757. +
  56758. +if test -n "$with_ltdl_lib"; then
  56759. + if test -f "$with_ltdl_lib/libltdl.la"; then :
  56760. + else
  56761. + AC_MSG_ERROR([invalid ltdl library directory: '$with_ltdl_lib'])
  56762. + fi
  56763. +else
  56764. + with_ltdl_lib=no
  56765. +fi
  56766. +
  56767. +case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
  56768. + ,yes,no,no,)
  56769. + m4_case(m4_default(_LTDL_TYPE, [convenience]),
  56770. + [convenience], [_LTDL_CONVENIENCE],
  56771. + [installable], [_LTDL_INSTALLABLE],
  56772. + [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
  56773. + ;;
  56774. + ,no,no,no,)
  56775. + # If the included ltdl is not to be used, then use the
  56776. + # preinstalled libltdl we found.
  56777. + AC_DEFINE([HAVE_LTDL], [1],
  56778. + [Define this if a modern libltdl is already installed])
  56779. + LIBLTDL=-lltdl
  56780. + LTDLDEPS=
  56781. + LTDLINCL=
  56782. + ;;
  56783. + ,no*,no,*)
  56784. + AC_MSG_ERROR(['--with-ltdl-include' and '--with-ltdl-lib' options must be used together])
  56785. + ;;
  56786. + *) with_included_ltdl=no
  56787. + LIBLTDL="-L$with_ltdl_lib -lltdl"
  56788. + LTDLDEPS=
  56789. + LTDLINCL=-I$with_ltdl_include
  56790. + ;;
  56791. +esac
  56792. +INCLTDL=$LTDLINCL
  56793. +
  56794. +# Report our decision...
  56795. +AC_MSG_CHECKING([where to find libltdl headers])
  56796. +AC_MSG_RESULT([$LTDLINCL])
  56797. +AC_MSG_CHECKING([where to find libltdl library])
  56798. +AC_MSG_RESULT([$LIBLTDL])
  56799. +
  56800. +_LTDL_SETUP
  56801. +
  56802. +dnl restore autoconf definition.
  56803. +m4_popdef([AC_LIBOBJ])
  56804. +m4_popdef([AC_LIBSOURCES])
  56805. +
  56806. +AC_CONFIG_COMMANDS_PRE([
  56807. + _ltdl_libobjs=
  56808. + _ltdl_ltlibobjs=
  56809. + if test -n "$_LT_LIBOBJS"; then
  56810. + # Remove the extension.
  56811. + _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
  56812. + for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
  56813. + _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
  56814. + _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
  56815. + done
  56816. + fi
  56817. + AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
  56818. + AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
  56819. +])
  56820. +
  56821. +# Only expand once:
  56822. +m4_define([LTDL_INIT])
  56823. +])
  56824. +m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
  56825. +m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
  56826. +You should run autoupdate.])dnl
  56827. +LTDL_INIT($@)])
  56828. +m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
  56829. +m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
  56830. +You should run autoupdate.])dnl
  56831. +LTDL_INIT($@)])
  56832. +m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
  56833. +m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
  56834. +You should run autoupdate.])dnl
  56835. +LTDL_INIT($@)])
  56836. +m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
  56837. +AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
  56838. +AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
  56839. +AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
  56840. +AC_REQUIRE([LT_LIB_DLLOAD])dnl
  56841. +AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
  56842. +AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
  56843. +AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
  56844. +AC_REQUIRE([LT_FUNC_ARGZ])dnl
  56845. +
  56846. +m4_require([_LT_CHECK_OBJDIR])dnl
  56847. +m4_require([_LT_HEADER_DLFCN])dnl
  56848. +m4_require([_LT_CHECK_DLPREOPEN])dnl
  56849. +m4_require([_LT_DECL_SED])dnl
  56850. +
  56851. +dnl Don't require this, or it will be expanded earlier than the code
  56852. +dnl that sets the variables it relies on:
  56853. +_LT_ENABLE_INSTALL
  56854. +
  56855. +dnl _LTDL_MODE specific code must be called at least once:
  56856. +_LTDL_MODE_DISPATCH
  56857. +
  56858. +# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
  56859. +# the user used. This is so that ltdl.h can pick up the parent projects
  56860. +# config.h file, The first file in AC_CONFIG_HEADERS must contain the
  56861. +# definitions required by ltdl.c.
  56862. +# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
  56863. +AC_CONFIG_COMMANDS_PRE([dnl
  56864. +m4_pattern_allow([^LT_CONFIG_H$])dnl
  56865. +m4_ifset([AH_HEADER],
  56866. + [LT_CONFIG_H=AH_HEADER],
  56867. + [m4_ifset([AC_LIST_HEADERS],
  56868. + [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's|^[[ ]]*||;s|[[ :]].*$||'`],
  56869. + [])])])
  56870. +AC_SUBST([LT_CONFIG_H])
  56871. +
  56872. +AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
  56873. + [], [], [AC_INCLUDES_DEFAULT])
  56874. +
  56875. +AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
  56876. +AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
  56877. +
  56878. +m4_pattern_allow([LT_LIBEXT])dnl
  56879. +AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
  56880. +
  56881. +name=
  56882. +eval "lt_libprefix=\"$libname_spec\""
  56883. +m4_pattern_allow([LT_LIBPREFIX])dnl
  56884. +AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
  56885. +
  56886. +name=ltdl
  56887. +eval "LTDLOPEN=\"$libname_spec\""
  56888. +AC_SUBST([LTDLOPEN])
  56889. +])
  56890. +m4trace:/usr/share/aclocal/ltdl.m4:443: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  56891. +AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
  56892. + [lt_cv_sys_dlopen_deplibs],
  56893. + [# PORTME does your system automatically load deplibs for dlopen?
  56894. + # or its logical equivalent (e.g. shl_load for HP-UX < 11)
  56895. + # For now, we just catch OSes we know something about -- in the
  56896. + # future, we'll try test this programmatically.
  56897. + lt_cv_sys_dlopen_deplibs=unknown
  56898. + case $host_os in
  56899. + aix3*|aix4.1.*|aix4.2.*)
  56900. + # Unknown whether this is true for these versions of AIX, but
  56901. + # we want this 'case' here to explicitly catch those versions.
  56902. + lt_cv_sys_dlopen_deplibs=unknown
  56903. + ;;
  56904. + aix[[4-9]]*)
  56905. + lt_cv_sys_dlopen_deplibs=yes
  56906. + ;;
  56907. + amigaos*)
  56908. + case $host_cpu in
  56909. + powerpc)
  56910. + lt_cv_sys_dlopen_deplibs=no
  56911. + ;;
  56912. + esac
  56913. + ;;
  56914. + bitrig*)
  56915. + lt_cv_sys_dlopen_deplibs=yes
  56916. + ;;
  56917. + darwin*)
  56918. + # Assuming the user has installed a libdl from somewhere, this is true
  56919. + # If you are looking for one http://www.opendarwin.org/projects/dlcompat
  56920. + lt_cv_sys_dlopen_deplibs=yes
  56921. + ;;
  56922. + freebsd* | dragonfly*)
  56923. + lt_cv_sys_dlopen_deplibs=yes
  56924. + ;;
  56925. + gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
  56926. + # GNU and its variants, using gnu ld.so (Glibc)
  56927. + lt_cv_sys_dlopen_deplibs=yes
  56928. + ;;
  56929. + hpux10*|hpux11*)
  56930. + lt_cv_sys_dlopen_deplibs=yes
  56931. + ;;
  56932. + interix*)
  56933. + lt_cv_sys_dlopen_deplibs=yes
  56934. + ;;
  56935. + irix[[12345]]*|irix6.[[01]]*)
  56936. + # Catch all versions of IRIX before 6.2, and indicate that we don't
  56937. + # know how it worked for any of those versions.
  56938. + lt_cv_sys_dlopen_deplibs=unknown
  56939. + ;;
  56940. + irix*)
  56941. + # The case above catches anything before 6.2, and it's known that
  56942. + # at 6.2 and later dlopen does load deplibs.
  56943. + lt_cv_sys_dlopen_deplibs=yes
  56944. + ;;
  56945. + netbsd*)
  56946. + lt_cv_sys_dlopen_deplibs=yes
  56947. + ;;
  56948. + openbsd*)
  56949. + lt_cv_sys_dlopen_deplibs=yes
  56950. + ;;
  56951. + osf[[1234]]*)
  56952. + # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
  56953. + # it did *not* use an RPATH in a shared library to find objects the
  56954. + # library depends on, so we explicitly say 'no'.
  56955. + lt_cv_sys_dlopen_deplibs=no
  56956. + ;;
  56957. + osf5.0|osf5.0a|osf5.1)
  56958. + # dlopen *does* load deplibs and with the right loader patch applied
  56959. + # it even uses RPATH in a shared library to search for shared objects
  56960. + # that the library depends on, but there's no easy way to know if that
  56961. + # patch is installed. Since this is the case, all we can really
  56962. + # say is unknown -- it depends on the patch being installed. If
  56963. + # it is, this changes to 'yes'. Without it, it would be 'no'.
  56964. + lt_cv_sys_dlopen_deplibs=unknown
  56965. + ;;
  56966. + osf*)
  56967. + # the two cases above should catch all versions of osf <= 5.1. Read
  56968. + # the comments above for what we know about them.
  56969. + # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
  56970. + # is used to find them so we can finally say 'yes'.
  56971. + lt_cv_sys_dlopen_deplibs=yes
  56972. + ;;
  56973. + qnx*)
  56974. + lt_cv_sys_dlopen_deplibs=yes
  56975. + ;;
  56976. + solaris*)
  56977. + lt_cv_sys_dlopen_deplibs=yes
  56978. + ;;
  56979. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  56980. + libltdl_cv_sys_dlopen_deplibs=yes
  56981. + ;;
  56982. + esac
  56983. + ])
  56984. +if test yes != "$lt_cv_sys_dlopen_deplibs"; then
  56985. + AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
  56986. + [Define if the OS needs help to load dependent libraries for dlopen().])
  56987. +fi
  56988. +])
  56989. +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($@)])])
  56990. +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.
  56991. +You should run autoupdate.])dnl
  56992. +m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
  56993. +m4trace:/usr/share/aclocal/ltdl.m4:552: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  56994. +AC_CACHE_CHECK([what extension is used for runtime loadable modules],
  56995. + [libltdl_cv_shlibext],
  56996. +[
  56997. +module=yes
  56998. +eval libltdl_cv_shlibext=$shrext_cmds
  56999. +module=no
  57000. +eval libltdl_cv_shrext=$shrext_cmds
  57001. + ])
  57002. +if test -n "$libltdl_cv_shlibext"; then
  57003. + m4_pattern_allow([LT_MODULE_EXT])dnl
  57004. + AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
  57005. + [Define to the extension used for runtime loadable modules, say, ".so".])
  57006. +fi
  57007. +if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
  57008. + m4_pattern_allow([LT_SHARED_EXT])dnl
  57009. + AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
  57010. + [Define to the shared library suffix, say, ".dylib".])
  57011. +fi
  57012. +if test -n "$shared_archive_member_spec"; then
  57013. + m4_pattern_allow([LT_SHARED_LIB_MEMBER])dnl
  57014. + AC_DEFINE_UNQUOTED([LT_SHARED_LIB_MEMBER], ["($shared_archive_member_spec.o)"],
  57015. + [Define to the shared archive member specification, say "(shr.o)".])
  57016. +fi
  57017. +])
  57018. +m4trace:/usr/share/aclocal/ltdl.m4:580: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
  57019. +m4trace:/usr/share/aclocal/ltdl.m4:580: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
  57020. +You should run autoupdate.])dnl
  57021. +m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
  57022. +m4trace:/usr/share/aclocal/ltdl.m4:587: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  57023. +AC_CACHE_CHECK([what variable specifies run-time module search path],
  57024. + [lt_cv_module_path_var], [lt_cv_module_path_var=$shlibpath_var])
  57025. +if test -n "$lt_cv_module_path_var"; then
  57026. + m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
  57027. + AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
  57028. + [Define to the name of the environment variable that determines the run-time module search path.])
  57029. +fi
  57030. +])
  57031. +m4trace:/usr/share/aclocal/ltdl.m4:599: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
  57032. +m4trace:/usr/share/aclocal/ltdl.m4:599: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
  57033. +You should run autoupdate.])dnl
  57034. +m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
  57035. +m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  57036. +AC_CACHE_CHECK([for the default library search path],
  57037. + [lt_cv_sys_dlsearch_path],
  57038. + [lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec])
  57039. +if test -n "$lt_cv_sys_dlsearch_path"; then
  57040. + sys_dlsearch_path=
  57041. + for dir in $lt_cv_sys_dlsearch_path; do
  57042. + if test -z "$sys_dlsearch_path"; then
  57043. + sys_dlsearch_path=$dir
  57044. + else
  57045. + sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
  57046. + fi
  57047. + done
  57048. + m4_pattern_allow([LT_DLSEARCH_PATH])dnl
  57049. + AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
  57050. + [Define to the system default library search path.])
  57051. +fi
  57052. +])
  57053. +m4trace:/usr/share/aclocal/ltdl.m4:627: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
  57054. +m4trace:/usr/share/aclocal/ltdl.m4:627: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
  57055. +You should run autoupdate.])dnl
  57056. +m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
  57057. +m4trace:/usr/share/aclocal/ltdl.m4:653: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
  57058. +LT_DLLOADERS=
  57059. +AC_SUBST([LT_DLLOADERS])
  57060. +
  57061. +AC_LANG_PUSH([C])
  57062. +lt_dlload_save_LIBS=$LIBS
  57063. +
  57064. +LIBADD_DLOPEN=
  57065. +AC_SEARCH_LIBS([dlopen], [dl],
  57066. + [AC_DEFINE([HAVE_LIBDL], [1],
  57067. + [Define if you have the libdl library or equivalent.])
  57068. + if test "$ac_cv_search_dlopen" != "none required"; then
  57069. + LIBADD_DLOPEN=-ldl
  57070. + fi
  57071. + libltdl_cv_lib_dl_dlopen=yes
  57072. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
  57073. + [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
  57074. +# include <dlfcn.h>
  57075. +#endif
  57076. + ]], [[dlopen(0, 0);]])],
  57077. + [AC_DEFINE([HAVE_LIBDL], [1],
  57078. + [Define if you have the libdl library or equivalent.])
  57079. + libltdl_cv_func_dlopen=yes
  57080. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
  57081. + [AC_CHECK_LIB([svld], [dlopen],
  57082. + [AC_DEFINE([HAVE_LIBDL], [1],
  57083. + [Define if you have the libdl library or equivalent.])
  57084. + LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
  57085. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
  57086. +if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
  57087. +then
  57088. + lt_save_LIBS=$LIBS
  57089. + LIBS="$LIBS $LIBADD_DLOPEN"
  57090. + AC_CHECK_FUNCS([dlerror])
  57091. + LIBS=$lt_save_LIBS
  57092. +fi
  57093. +AC_SUBST([LIBADD_DLOPEN])
  57094. +
  57095. +LIBADD_SHL_LOAD=
  57096. +AC_CHECK_FUNC([shl_load],
  57097. + [AC_DEFINE([HAVE_SHL_LOAD], [1],
  57098. + [Define if you have the shl_load function.])
  57099. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
  57100. + [AC_CHECK_LIB([dld], [shl_load],
  57101. + [AC_DEFINE([HAVE_SHL_LOAD], [1],
  57102. + [Define if you have the shl_load function.])
  57103. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
  57104. + LIBADD_SHL_LOAD=-ldld])])
  57105. +AC_SUBST([LIBADD_SHL_LOAD])
  57106. +
  57107. +case $host_os in
  57108. +darwin[[1567]].*)
  57109. +# We only want this for pre-Mac OS X 10.4.
  57110. + AC_CHECK_FUNC([_dyld_func_lookup],
  57111. + [AC_DEFINE([HAVE_DYLD], [1],
  57112. + [Define if you have the _dyld_func_lookup function.])
  57113. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
  57114. + ;;
  57115. +beos*)
  57116. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
  57117. + ;;
  57118. +cygwin* | mingw* | pw32*)
  57119. + AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
  57120. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
  57121. + ;;
  57122. +esac
  57123. +
  57124. +AC_CHECK_LIB([dld], [dld_link],
  57125. + [AC_DEFINE([HAVE_DLD], [1],
  57126. + [Define if you have the GNU dld library.])
  57127. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
  57128. +AC_SUBST([LIBADD_DLD_LINK])
  57129. +
  57130. +m4_pattern_allow([^LT_DLPREOPEN$])
  57131. +LT_DLPREOPEN=
  57132. +if test -n "$LT_DLLOADERS"
  57133. +then
  57134. + for lt_loader in $LT_DLLOADERS; do
  57135. + LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
  57136. + done
  57137. + AC_DEFINE([HAVE_LIBDLLOADER], [1],
  57138. + [Define if libdlloader will be built on this platform])
  57139. +fi
  57140. +AC_SUBST([LT_DLPREOPEN])
  57141. +
  57142. +dnl This isn't used anymore, but set it for backwards compatibility
  57143. +LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
  57144. +AC_SUBST([LIBADD_DL])
  57145. +
  57146. +LIBS=$lt_dlload_save_LIBS
  57147. +AC_LANG_POP
  57148. +])
  57149. +m4trace:/usr/share/aclocal/ltdl.m4:748: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
  57150. +m4trace:/usr/share/aclocal/ltdl.m4:748: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
  57151. +You should run autoupdate.])dnl
  57152. +m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
  57153. +m4trace:/usr/share/aclocal/ltdl.m4:756: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  57154. +AC_CACHE_CHECK([for _ prefix in compiled symbols],
  57155. + [lt_cv_sys_symbol_underscore],
  57156. + [lt_cv_sys_symbol_underscore=no
  57157. + cat > conftest.$ac_ext <<_LT_EOF
  57158. +void nm_test_func(){}
  57159. +int main(){nm_test_func;return 0;}
  57160. +_LT_EOF
  57161. + if AC_TRY_EVAL(ac_compile); then
  57162. + # Now try to grab the symbols.
  57163. + ac_nlist=conftest.nm
  57164. + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
  57165. + # See whether the symbols have a leading underscore.
  57166. + if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
  57167. + lt_cv_sys_symbol_underscore=yes
  57168. + else
  57169. + if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
  57170. + :
  57171. + else
  57172. + echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
  57173. + fi
  57174. + fi
  57175. + else
  57176. + echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  57177. + fi
  57178. + else
  57179. + echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
  57180. + cat conftest.c >&AS_MESSAGE_LOG_FD
  57181. + fi
  57182. + rm -rf conftest*
  57183. + ])
  57184. + sys_symbol_underscore=$lt_cv_sys_symbol_underscore
  57185. + AC_SUBST([sys_symbol_underscore])
  57186. +])
  57187. +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($@)])])
  57188. +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.
  57189. +You should run autoupdate.])dnl
  57190. +m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
  57191. +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
  57192. +AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl for lt_cv_sys_symbol_underscore
  57193. +AC_REQUIRE([LT_SYS_MODULE_EXT])dnl for libltdl_cv_shlibext
  57194. +if test yes = "$lt_cv_sys_symbol_underscore"; then
  57195. + if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
  57196. + AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
  57197. + [libltdl_cv_need_uscore],
  57198. + [libltdl_cv_need_uscore=unknown
  57199. + dlsym_uscore_save_LIBS=$LIBS
  57200. + LIBS="$LIBS $LIBADD_DLOPEN"
  57201. + libname=conftmod # stay within 8.3 filename limits!
  57202. + cat >$libname.$ac_ext <<_LT_EOF
  57203. +[#line $LINENO "configure"
  57204. +#include "confdefs.h"
  57205. +/* When -fvisibility=hidden is used, assume the code has been annotated
  57206. + correspondingly for the symbols needed. */
  57207. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  57208. +int fnord () __attribute__((visibility("default")));
  57209. +#endif
  57210. +int fnord () { return 42; }]
  57211. +_LT_EOF
  57212. +
  57213. + # ltfn_module_cmds module_cmds
  57214. + # Execute tilde-delimited MODULE_CMDS with environment primed for
  57215. + # $module_cmds or $archive_cmds type content.
  57216. + ltfn_module_cmds ()
  57217. + {( # subshell avoids polluting parent global environment
  57218. + module_cmds_save_ifs=$IFS; IFS='~'
  57219. + for cmd in @S|@1; do
  57220. + IFS=$module_cmds_save_ifs
  57221. + libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
  57222. + rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
  57223. + major=; versuffix=; verstring=; deplibs=
  57224. + ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
  57225. + eval $cmd
  57226. + done
  57227. + IFS=$module_cmds_save_ifs
  57228. + )}
  57229. +
  57230. + # Compile a loadable module using libtool macro expansion results.
  57231. + $CC $pic_flag -c $libname.$ac_ext
  57232. + ltfn_module_cmds "${module_cmds:-$archive_cmds}"
  57233. +
  57234. + # Try to fetch fnord with dlsym().
  57235. + libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
  57236. + cat >conftest.$ac_ext <<_LT_EOF
  57237. +[#line $LINENO "configure"
  57238. +#include "confdefs.h"
  57239. +#if HAVE_DLFCN_H
  57240. +#include <dlfcn.h>
  57241. +#endif
  57242. +#include <stdio.h>
  57243. +#ifndef RTLD_GLOBAL
  57244. +# ifdef DL_GLOBAL
  57245. +# define RTLD_GLOBAL DL_GLOBAL
  57246. +# else
  57247. +# define RTLD_GLOBAL 0
  57248. +# endif
  57249. +#endif
  57250. +#ifndef RTLD_NOW
  57251. +# ifdef DL_NOW
  57252. +# define RTLD_NOW DL_NOW
  57253. +# else
  57254. +# define RTLD_NOW 0
  57255. +# endif
  57256. +#endif
  57257. +int main () {
  57258. + void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
  57259. + int status = $libltdl_dlunknown;
  57260. + if (handle) {
  57261. + if (dlsym (handle, "fnord"))
  57262. + status = $libltdl_dlnouscore;
  57263. + else {
  57264. + if (dlsym (handle, "_fnord"))
  57265. + status = $libltdl_dluscore;
  57266. + else
  57267. + puts (dlerror ());
  57268. + }
  57269. + dlclose (handle);
  57270. + } else
  57271. + puts (dlerror ());
  57272. + return status;
  57273. +}]
  57274. +_LT_EOF
  57275. + if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
  57276. + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
  57277. + libltdl_status=$?
  57278. + case x$libltdl_status in
  57279. + x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
  57280. + x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
  57281. + x*) libltdl_cv_need_uscore=unknown ;;
  57282. + esac
  57283. + fi
  57284. + rm -rf conftest* $libname*
  57285. + LIBS=$dlsym_uscore_save_LIBS
  57286. + ])
  57287. + fi
  57288. +fi
  57289. +
  57290. +if test yes = "$libltdl_cv_need_uscore"; then
  57291. + AC_DEFINE([NEED_USCORE], [1],
  57292. + [Define if dlsym() requires a leading underscore in symbol names.])
  57293. +fi
  57294. +])
  57295. +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($@)])])
  57296. +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.
  57297. +You should run autoupdate.])dnl
  57298. +m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
  57299. +m4trace:/usr/share/aclocal/lt~obsolete.m4:37: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
  57300. +m4trace:/usr/share/aclocal/lt~obsolete.m4:39: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])
  57301. +m4trace:/usr/share/aclocal/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
  57302. +m4trace:/usr/share/aclocal/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
  57303. +m4trace:/usr/share/aclocal/lt~obsolete.m4:43: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
  57304. +m4trace:/usr/share/aclocal/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_PROG_LTMAIN])
  57305. +m4trace:/usr/share/aclocal/lt~obsolete.m4:45: -1- AC_DEFUN([_LT_AC_TAGVAR])
  57306. +m4trace:/usr/share/aclocal/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
  57307. +m4trace:/usr/share/aclocal/lt~obsolete.m4:47: -1- AC_DEFUN([AC_LTDL_PREOPEN])
  57308. +m4trace:/usr/share/aclocal/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
  57309. +m4trace:/usr/share/aclocal/lt~obsolete.m4:49: -1- AC_DEFUN([_LT_AC_LOCK])
  57310. +m4trace:/usr/share/aclocal/lt~obsolete.m4:50: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
  57311. +m4trace:/usr/share/aclocal/lt~obsolete.m4:51: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
  57312. +m4trace:/usr/share/aclocal/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
  57313. +m4trace:/usr/share/aclocal/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
  57314. +m4trace:/usr/share/aclocal/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
  57315. +m4trace:/usr/share/aclocal/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LTDL_OBJDIR])
  57316. +m4trace:/usr/share/aclocal/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
  57317. +m4trace:/usr/share/aclocal/lt~obsolete.m4:57: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
  57318. +m4trace:/usr/share/aclocal/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PATH_MAGIC])
  57319. +m4trace:/usr/share/aclocal/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_GNU])
  57320. +m4trace:/usr/share/aclocal/lt~obsolete.m4:60: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
  57321. +m4trace:/usr/share/aclocal/lt~obsolete.m4:61: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
  57322. +m4trace:/usr/share/aclocal/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
  57323. +m4trace:/usr/share/aclocal/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
  57324. +m4trace:/usr/share/aclocal/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
  57325. +m4trace:/usr/share/aclocal/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
  57326. +m4trace:/usr/share/aclocal/lt~obsolete.m4:66: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
  57327. +m4trace:/usr/share/aclocal/lt~obsolete.m4:67: -1- AC_DEFUN([LT_AC_PROG_EGREP])
  57328. +m4trace:/usr/share/aclocal/lt~obsolete.m4:68: -1- AC_DEFUN([LT_AC_PROG_SED])
  57329. +m4trace:/usr/share/aclocal/lt~obsolete.m4:69: -1- AC_DEFUN([_LT_CC_BASENAME])
  57330. +m4trace:/usr/share/aclocal/lt~obsolete.m4:70: -1- AC_DEFUN([_LT_COMPILER_BOILERPLATE])
  57331. +m4trace:/usr/share/aclocal/lt~obsolete.m4:71: -1- AC_DEFUN([_LT_LINKER_BOILERPLATE])
  57332. +m4trace:/usr/share/aclocal/lt~obsolete.m4:72: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
  57333. +m4trace:/usr/share/aclocal/lt~obsolete.m4:73: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
  57334. +m4trace:/usr/share/aclocal/lt~obsolete.m4:74: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
  57335. +m4trace:/usr/share/aclocal/lt~obsolete.m4:75: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
  57336. +m4trace:/usr/share/aclocal/lt~obsolete.m4:76: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
  57337. +m4trace:/usr/share/aclocal/lt~obsolete.m4:77: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL])
  57338. +m4trace:/usr/share/aclocal/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_CXX])
  57339. +m4trace:/usr/share/aclocal/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_F77])
  57340. +m4trace:/usr/share/aclocal/lt~obsolete.m4:80: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
  57341. +m4trace:/usr/share/aclocal/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
  57342. +m4trace:/usr/share/aclocal/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
  57343. +m4trace:/usr/share/aclocal/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
  57344. +m4trace:/usr/share/aclocal/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
  57345. +m4trace:/usr/share/aclocal/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
  57346. +m4trace:/usr/share/aclocal/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
  57347. +m4trace:/usr/share/aclocal/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
  57348. +m4trace:/usr/share/aclocal/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
  57349. +m4trace:/usr/share/aclocal/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
  57350. +m4trace:/usr/share/aclocal/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
  57351. +m4trace:/usr/share/aclocal/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
  57352. +m4trace:/usr/share/aclocal/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
  57353. +m4trace:/usr/share/aclocal/lt~obsolete.m4:93: -1- AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])
  57354. +m4trace:/usr/share/aclocal/lt~obsolete.m4:94: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP])
  57355. +m4trace:/usr/share/aclocal/lt~obsolete.m4:95: -1- AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])
  57356. +m4trace:/usr/share/aclocal/lt~obsolete.m4:96: -1- AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])
  57357. +m4trace:/usr/share/aclocal/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_F77])
  57358. +m4trace:/usr/share/aclocal/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_FC])
  57359. +m4trace:/usr/share/aclocal/lt~obsolete.m4:99: -1- AC_DEFUN([_LT_PROG_CXX])
  57360. +m4trace:/usr/share/aclocal-1.16/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.16'
  57361. +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  57362. +dnl require some minimum version. Point them to the right macro.
  57363. +m4_if([$1], [1.16.1], [],
  57364. + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  57365. +])
  57366. +m4trace:/usr/share/aclocal-1.16/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.16.1])dnl
  57367. +m4_ifndef([AC_AUTOCONF_VERSION],
  57368. + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  57369. +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  57370. +m4trace:/usr/share/aclocal-1.16/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  57371. +# Expand $ac_aux_dir to an absolute path.
  57372. +am_aux_dir=`cd "$ac_aux_dir" && pwd`
  57373. +])
  57374. +m4trace:/usr/share/aclocal-1.16/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
  57375. + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  57376. + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  57377. +AC_SUBST([$1_TRUE])dnl
  57378. +AC_SUBST([$1_FALSE])dnl
  57379. +_AM_SUBST_NOTMAKE([$1_TRUE])dnl
  57380. +_AM_SUBST_NOTMAKE([$1_FALSE])dnl
  57381. +m4_define([_AM_COND_VALUE_$1], [$2])dnl
  57382. +if $2; then
  57383. + $1_TRUE=
  57384. + $1_FALSE='#'
  57385. +else
  57386. + $1_TRUE='#'
  57387. + $1_FALSE=
  57388. +fi
  57389. +AC_CONFIG_COMMANDS_PRE(
  57390. +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  57391. + AC_MSG_ERROR([[conditional "$1" was never defined.
  57392. +Usually this means the macro was only invoked conditionally.]])
  57393. +fi])])
  57394. +m4trace:/usr/share/aclocal-1.16/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
  57395. +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
  57396. +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  57397. +AC_REQUIRE([AM_DEP_TRACK])dnl
  57398. +
  57399. +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
  57400. + [$1], [CXX], [depcc="$CXX" am_compiler_list=],
  57401. + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  57402. + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
  57403. + [$1], [UPC], [depcc="$UPC" am_compiler_list=],
  57404. + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  57405. + [depcc="$$1" am_compiler_list=])
  57406. +
  57407. +AC_CACHE_CHECK([dependency style of $depcc],
  57408. + [am_cv_$1_dependencies_compiler_type],
  57409. +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  57410. + # We make a subdir and do the tests there. Otherwise we can end up
  57411. + # making bogus files that we don't know about and never remove. For
  57412. + # instance it was reported that on HP-UX the gcc test will end up
  57413. + # making a dummy file named 'D' -- because '-MD' means "put the output
  57414. + # in D".
  57415. + rm -rf conftest.dir
  57416. + mkdir conftest.dir
  57417. + # Copy depcomp to subdir because otherwise we won't find it if we're
  57418. + # using a relative directory.
  57419. + cp "$am_depcomp" conftest.dir
  57420. + cd conftest.dir
  57421. + # We will build objects and dependencies in a subdirectory because
  57422. + # it helps to detect inapplicable dependency modes. For instance
  57423. + # both Tru64's cc and ICC support -MD to output dependencies as a
  57424. + # side effect of compilation, but ICC will put the dependencies in
  57425. + # the current directory while Tru64 will put them in the object
  57426. + # directory.
  57427. + mkdir sub
  57428. +
  57429. + am_cv_$1_dependencies_compiler_type=none
  57430. + if test "$am_compiler_list" = ""; then
  57431. + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  57432. + fi
  57433. + am__universal=false
  57434. + m4_case([$1], [CC],
  57435. + [case " $depcc " in #(
  57436. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  57437. + esac],
  57438. + [CXX],
  57439. + [case " $depcc " in #(
  57440. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  57441. + esac])
  57442. +
  57443. + for depmode in $am_compiler_list; do
  57444. + # Setup a source with many dependencies, because some compilers
  57445. + # like to wrap large dependency lists on column 80 (with \), and
  57446. + # we should not choose a depcomp mode which is confused by this.
  57447. + #
  57448. + # We need to recreate these files for each test, as the compiler may
  57449. + # overwrite some of them when testing with obscure command lines.
  57450. + # This happens at least with the AIX C compiler.
  57451. + : > sub/conftest.c
  57452. + for i in 1 2 3 4 5 6; do
  57453. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  57454. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  57455. + # Solaris 10 /bin/sh.
  57456. + echo '/* dummy */' > sub/conftst$i.h
  57457. + done
  57458. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  57459. +
  57460. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  57461. + # mode. It turns out that the SunPro C++ compiler does not properly
  57462. + # handle '-M -o', and we need to detect this. Also, some Intel
  57463. + # versions had trouble with output in subdirs.
  57464. + am__obj=sub/conftest.${OBJEXT-o}
  57465. + am__minus_obj="-o $am__obj"
  57466. + case $depmode in
  57467. + gcc)
  57468. + # This depmode causes a compiler race in universal mode.
  57469. + test "$am__universal" = false || continue
  57470. + ;;
  57471. + nosideeffect)
  57472. + # After this tag, mechanisms are not by side-effect, so they'll
  57473. + # only be used when explicitly requested.
  57474. + if test "x$enable_dependency_tracking" = xyes; then
  57475. + continue
  57476. + else
  57477. + break
  57478. + fi
  57479. + ;;
  57480. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  57481. + # This compiler won't grok '-c -o', but also, the minuso test has
  57482. + # not run yet. These depmodes are late enough in the game, and
  57483. + # so weak that their functioning should not be impacted.
  57484. + am__obj=conftest.${OBJEXT-o}
  57485. + am__minus_obj=
  57486. + ;;
  57487. + none) break ;;
  57488. + esac
  57489. + if depmode=$depmode \
  57490. + source=sub/conftest.c object=$am__obj \
  57491. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  57492. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  57493. + >/dev/null 2>conftest.err &&
  57494. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  57495. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  57496. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  57497. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  57498. + # icc doesn't choke on unknown options, it will just issue warnings
  57499. + # or remarks (even with -Werror). So we grep stderr for any message
  57500. + # that says an option was ignored or not supported.
  57501. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  57502. + # icc: Command line warning: ignoring option '-M'; no argument required
  57503. + # The diagnosis changed in icc 8.0:
  57504. + # icc: Command line remark: option '-MP' not supported
  57505. + if (grep 'ignoring option' conftest.err ||
  57506. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  57507. + am_cv_$1_dependencies_compiler_type=$depmode
  57508. + break
  57509. + fi
  57510. + fi
  57511. + done
  57512. +
  57513. + cd ..
  57514. + rm -rf conftest.dir
  57515. +else
  57516. + am_cv_$1_dependencies_compiler_type=none
  57517. +fi
  57518. +])
  57519. +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
  57520. +AM_CONDITIONAL([am__fastdep$1], [
  57521. + test "x$enable_dependency_tracking" != xno \
  57522. + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
  57523. +])
  57524. +m4trace:/usr/share/aclocal-1.16/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  57525. +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  57526. +])
  57527. +m4trace:/usr/share/aclocal-1.16/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
  57528. +AS_HELP_STRING(
  57529. + [--enable-dependency-tracking],
  57530. + [do not reject slow dependency extractors])
  57531. +AS_HELP_STRING(
  57532. + [--disable-dependency-tracking],
  57533. + [speeds up one-time build])])
  57534. +if test "x$enable_dependency_tracking" != xno; then
  57535. + am_depcomp="$ac_aux_dir/depcomp"
  57536. + AMDEPBACKSLASH='\'
  57537. + am__nodep='_no'
  57538. +fi
  57539. +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  57540. +AC_SUBST([AMDEPBACKSLASH])dnl
  57541. +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
  57542. +AC_SUBST([am__nodep])dnl
  57543. +_AM_SUBST_NOTMAKE([am__nodep])dnl
  57544. +])
  57545. +m4trace:/usr/share/aclocal-1.16/depout.m4:11: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
  57546. + # Older Autoconf quotes --file arguments for eval, but not when files
  57547. + # are listed without --file. Let's play safe and only enable the eval
  57548. + # if we detect the quoting.
  57549. + # TODO: see whether this extra hack can be removed once we start
  57550. + # requiring Autoconf 2.70 or later.
  57551. + AS_CASE([$CONFIG_FILES],
  57552. + [*\'*], [eval set x "$CONFIG_FILES"],
  57553. + [*], [set x $CONFIG_FILES])
  57554. + shift
  57555. + # Used to flag and report bootstrapping failures.
  57556. + am_rc=0
  57557. + for am_mf
  57558. + do
  57559. + # Strip MF so we end up with the name of the file.
  57560. + am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
  57561. + # Check whether this is an Automake generated Makefile which includes
  57562. + # dependency-tracking related rules and includes.
  57563. + # Grep'ing the whole file directly is not great: AIX grep has a line
  57564. + # limit of 2048, but all sed's we know have understand at least 4000.
  57565. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  57566. + || continue
  57567. + am_dirpart=`AS_DIRNAME(["$am_mf"])`
  57568. + am_filepart=`AS_BASENAME(["$am_mf"])`
  57569. + AM_RUN_LOG([cd "$am_dirpart" \
  57570. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  57571. + | $MAKE -f - am--depfiles]) || am_rc=$?
  57572. + done
  57573. + if test $am_rc -ne 0; then
  57574. + AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
  57575. + for automatic dependency tracking. Try re-running configure with the
  57576. + '--disable-dependency-tracking' option to at least be able to build
  57577. + the package (albeit without support for automatic dependency tracking).])
  57578. + fi
  57579. + AS_UNSET([am_dirpart])
  57580. + AS_UNSET([am_filepart])
  57581. + AS_UNSET([am_mf])
  57582. + AS_UNSET([am_rc])
  57583. + rm -f conftest-deps.mk
  57584. +}
  57585. +])
  57586. +m4trace:/usr/share/aclocal-1.16/depout.m4:62: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
  57587. + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
  57588. + [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
  57589. +m4trace:/usr/share/aclocal-1.16/init.m4:29: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
  57590. +dnl Autoconf wants to disallow AM_ names. We explicitly allow
  57591. +dnl the ones we care about.
  57592. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  57593. +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
  57594. +AC_REQUIRE([AC_PROG_INSTALL])dnl
  57595. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  57596. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  57597. + # is not polluted with repeated "-I."
  57598. + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
  57599. + # test to see if srcdir already configured
  57600. + if test -f $srcdir/config.status; then
  57601. + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  57602. + fi
  57603. +fi
  57604. +
  57605. +# test whether we have cygpath
  57606. +if test -z "$CYGPATH_W"; then
  57607. + if (cygpath --version) >/dev/null 2>/dev/null; then
  57608. + CYGPATH_W='cygpath -w'
  57609. + else
  57610. + CYGPATH_W=echo
  57611. + fi
  57612. +fi
  57613. +AC_SUBST([CYGPATH_W])
  57614. +
  57615. +# Define the identity of the package.
  57616. +dnl Distinguish between old-style and new-style calls.
  57617. +m4_ifval([$2],
  57618. +[AC_DIAGNOSE([obsolete],
  57619. + [$0: two- and three-arguments forms are deprecated.])
  57620. +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  57621. + AC_SUBST([PACKAGE], [$1])dnl
  57622. + AC_SUBST([VERSION], [$2])],
  57623. +[_AM_SET_OPTIONS([$1])dnl
  57624. +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  57625. +m4_if(
  57626. + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
  57627. + [ok:ok],,
  57628. + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  57629. + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  57630. + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  57631. +
  57632. +_AM_IF_OPTION([no-define],,
  57633. +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  57634. + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
  57635. +
  57636. +# Some tools Automake needs.
  57637. +AC_REQUIRE([AM_SANITY_CHECK])dnl
  57638. +AC_REQUIRE([AC_ARG_PROGRAM])dnl
  57639. +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  57640. +AM_MISSING_PROG([AUTOCONF], [autoconf])
  57641. +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  57642. +AM_MISSING_PROG([AUTOHEADER], [autoheader])
  57643. +AM_MISSING_PROG([MAKEINFO], [makeinfo])
  57644. +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  57645. +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  57646. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  57647. +# For better backward compatibility. To be removed once Automake 1.9.x
  57648. +# dies out for good. For more background, see:
  57649. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  57650. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  57651. +AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  57652. +# We need awk for the "check" target (and possibly the TAP driver). The
  57653. +# system "awk" is bad on some platforms.
  57654. +AC_REQUIRE([AC_PROG_AWK])dnl
  57655. +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  57656. +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  57657. +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  57658. + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  57659. + [_AM_PROG_TAR([v7])])])
  57660. +_AM_IF_OPTION([no-dependencies],,
  57661. +[AC_PROVIDE_IFELSE([AC_PROG_CC],
  57662. + [_AM_DEPENDENCIES([CC])],
  57663. + [m4_define([AC_PROG_CC],
  57664. + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  57665. +AC_PROVIDE_IFELSE([AC_PROG_CXX],
  57666. + [_AM_DEPENDENCIES([CXX])],
  57667. + [m4_define([AC_PROG_CXX],
  57668. + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  57669. +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  57670. + [_AM_DEPENDENCIES([OBJC])],
  57671. + [m4_define([AC_PROG_OBJC],
  57672. + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  57673. +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  57674. + [_AM_DEPENDENCIES([OBJCXX])],
  57675. + [m4_define([AC_PROG_OBJCXX],
  57676. + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  57677. +])
  57678. +AC_REQUIRE([AM_SILENT_RULES])dnl
  57679. +dnl The testsuite driver may need to know about EXEEXT, so add the
  57680. +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
  57681. +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
  57682. +AC_CONFIG_COMMANDS_PRE(dnl
  57683. +[m4_provide_if([_AM_COMPILER_EXEEXT],
  57684. + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  57685. +
  57686. +# POSIX will say in a future version that running "rm -f" with no argument
  57687. +# is OK; and we want to be able to make that assumption in our Makefile
  57688. +# recipes. So use an aggressive probe to check that the usage we want is
  57689. +# actually supported "in the wild" to an acceptable degree.
  57690. +# See automake bug#10828.
  57691. +# To make any issue more visible, cause the running configure to be aborted
  57692. +# by default if the 'rm' program in use doesn't match our expectations; the
  57693. +# user can still override this though.
  57694. +if rm -f && rm -fr && rm -rf; then : OK; else
  57695. + cat >&2 <<'END'
  57696. +Oops!
  57697. +
  57698. +Your 'rm' program seems unable to run without file operands specified
  57699. +on the command line, even when the '-f' option is present. This is contrary
  57700. +to the behaviour of most rm programs out there, and not conforming with
  57701. +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  57702. +
  57703. +Please tell bug-automake@gnu.org about your system, including the value
  57704. +of your $PATH and any error possibly output before this message. This
  57705. +can help us improve future automake versions.
  57706. +
  57707. +END
  57708. + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  57709. + echo 'Configuration will proceed anyway, since you have set the' >&2
  57710. + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  57711. + echo >&2
  57712. + else
  57713. + cat >&2 <<'END'
  57714. +Aborting the configuration process, to ensure you take notice of the issue.
  57715. +
  57716. +You can download and install GNU coreutils to get an 'rm' implementation
  57717. +that behaves properly: <https://www.gnu.org/software/coreutils/>.
  57718. +
  57719. +If you want to complete the configuration process using your problematic
  57720. +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  57721. +to "yes", and re-run configure.
  57722. +
  57723. +END
  57724. + AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
  57725. + fi
  57726. +fi
  57727. +dnl The trailing newline in this macro's definition is deliberate, for
  57728. +dnl backward compatibility and to allow trailing 'dnl'-style comments
  57729. +dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
  57730. +])
  57731. +m4trace:/usr/share/aclocal-1.16/init.m4:186: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
  57732. +_am_arg=$1
  57733. +_am_stamp_count=1
  57734. +for _am_header in $config_headers :; do
  57735. + case $_am_header in
  57736. + $_am_arg | $_am_arg:* )
  57737. + break ;;
  57738. + * )
  57739. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  57740. + esac
  57741. +done
  57742. +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  57743. +m4trace:/usr/share/aclocal-1.16/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  57744. +if test x"${install_sh+set}" != xset; then
  57745. + case $am_aux_dir in
  57746. + *\ * | *\ *)
  57747. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  57748. + *)
  57749. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  57750. + esac
  57751. +fi
  57752. +AC_SUBST([install_sh])])
  57753. +m4trace:/usr/share/aclocal-1.16/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
  57754. +mkdir .tst 2>/dev/null
  57755. +if test -d .tst; then
  57756. + am__leading_dot=.
  57757. +else
  57758. + am__leading_dot=_
  57759. +fi
  57760. +rmdir .tst 2>/dev/null
  57761. +AC_SUBST([am__leading_dot])])
  57762. +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])
  57763. +cat > confinc.mk << 'END'
  57764. +am__doit:
  57765. + @echo this is the am__doit target >confinc.out
  57766. +.PHONY: am__doit
  57767. +END
  57768. +am__include="#"
  57769. +am__quote=
  57770. +# BSD make does it like this.
  57771. +echo '.include "confinc.mk" # ignored' > confmf.BSD
  57772. +# Other make implementations (GNU, Solaris 10, AIX) do it like this.
  57773. +echo 'include confinc.mk # ignored' > confmf.GNU
  57774. +_am_result=no
  57775. +for s in GNU BSD; do
  57776. + AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
  57777. + AS_CASE([$?:`cat confinc.out 2>/dev/null`],
  57778. + ['0:this is the am__doit target'],
  57779. + [AS_CASE([$s],
  57780. + [BSD], [am__include='.include' am__quote='"'],
  57781. + [am__include='include' am__quote=''])])
  57782. + if test "$am__include" != "#"; then
  57783. + _am_result="yes ($s style)"
  57784. + break
  57785. + fi
  57786. +done
  57787. +rm -f confinc.* confmf.*
  57788. +AC_MSG_RESULT([${_am_result}])
  57789. +AC_SUBST([am__include])])
  57790. +m4trace:/usr/share/aclocal-1.16/make.m4:42: -1- m4_pattern_allow([^am__quote$])
  57791. +m4trace:/usr/share/aclocal-1.16/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
  57792. +$1=${$1-"${am_missing_run}$2"}
  57793. +AC_SUBST($1)])
  57794. +m4trace:/usr/share/aclocal-1.16/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  57795. +AC_REQUIRE_AUX_FILE([missing])dnl
  57796. +if test x"${MISSING+set}" != xset; then
  57797. + case $am_aux_dir in
  57798. + *\ * | *\ *)
  57799. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  57800. + *)
  57801. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  57802. + esac
  57803. +fi
  57804. +# Use eval to expand $SHELL
  57805. +if eval "$MISSING --is-lightweight"; then
  57806. + am_missing_run="$MISSING "
  57807. +else
  57808. + am_missing_run=
  57809. + AC_MSG_WARN(['missing' script is too old or missing])
  57810. +fi
  57811. +])
  57812. +m4trace:/usr/share/aclocal-1.16/obsolete.m4:11: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete],
  57813. +['$0': this macro is obsolete.
  57814. +You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
  57815. +AC_CONFIG_HEADERS($@)])
  57816. +m4trace:/usr/share/aclocal-1.16/obsolete.m4:17: -1- AC_DEFUN([AM_PROG_CC_STDC], [AC_PROG_CC
  57817. +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  57818. +AC_DIAGNOSE([obsolete],
  57819. +['$0': this macro is obsolete.
  57820. +You should simply use the 'AC][_PROG_CC' macro instead.
  57821. +Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
  57822. +but upon 'ac_cv_prog_cc_stdc'.])])
  57823. +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])])
  57824. +m4trace:/usr/share/aclocal-1.16/obsolete.m4:28: -1- AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
  57825. +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.
  57826. +You should run autoupdate.])dnl
  57827. +AM_C_PROTOTYPES])
  57828. +m4trace:/usr/share/aclocal-1.16/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  57829. +m4trace:/usr/share/aclocal-1.16/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
  57830. +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)])])
  57831. +m4trace:/usr/share/aclocal-1.16/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  57832. +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
  57833. +AC_REQUIRE_AUX_FILE([compile])dnl
  57834. +AC_LANG_PUSH([C])dnl
  57835. +AC_CACHE_CHECK(
  57836. + [whether $CC understands -c and -o together],
  57837. + [am_cv_prog_cc_c_o],
  57838. + [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
  57839. + # Make sure it works both with $CC and with simple cc.
  57840. + # Following AC_PROG_CC_C_O, we do the test twice because some
  57841. + # compilers refuse to overwrite an existing .o file with -o,
  57842. + # though they will create one.
  57843. + am_cv_prog_cc_c_o=yes
  57844. + for am_i in 1 2; do
  57845. + if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
  57846. + && test -f conftest2.$ac_objext; then
  57847. + : OK
  57848. + else
  57849. + am_cv_prog_cc_c_o=no
  57850. + break
  57851. + fi
  57852. + done
  57853. + rm -f core conftest*
  57854. + unset am_i])
  57855. +if test "$am_cv_prog_cc_c_o" != yes; then
  57856. + # Losing compiler, so override with the script.
  57857. + # FIXME: It is wrong to rewrite CC.
  57858. + # But if we don't then we get into trouble of one sort or another.
  57859. + # A longer-term fix would be to have automake use am__CC in this case,
  57860. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  57861. + CC="$am_aux_dir/compile $CC"
  57862. +fi
  57863. +AC_LANG_POP([C])])
  57864. +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])])
  57865. +m4trace:/usr/share/aclocal-1.16/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
  57866. + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
  57867. + ac_status=$?
  57868. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  57869. + (exit $ac_status); }])
  57870. +m4trace:/usr/share/aclocal-1.16/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
  57871. +# Reject unsafe characters in $srcdir or the absolute working directory
  57872. +# name. Accept space and tab only in the latter.
  57873. +am_lf='
  57874. +'
  57875. +case `pwd` in
  57876. + *[[\\\"\#\$\&\'\`$am_lf]]*)
  57877. + AC_MSG_ERROR([unsafe absolute working directory name]);;
  57878. +esac
  57879. +case $srcdir in
  57880. + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  57881. + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
  57882. +esac
  57883. +
  57884. +# Do 'set' in a subshell so we don't clobber the current shell's
  57885. +# arguments. Must try -L first in case configure is actually a
  57886. +# symlink; some systems play weird games with the mod time of symlinks
  57887. +# (eg FreeBSD returns the mod time of the symlink's containing
  57888. +# directory).
  57889. +if (
  57890. + am_has_slept=no
  57891. + for am_try in 1 2; do
  57892. + echo "timestamp, slept: $am_has_slept" > conftest.file
  57893. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  57894. + if test "$[*]" = "X"; then
  57895. + # -L didn't work.
  57896. + set X `ls -t "$srcdir/configure" conftest.file`
  57897. + fi
  57898. + if test "$[*]" != "X $srcdir/configure conftest.file" \
  57899. + && test "$[*]" != "X conftest.file $srcdir/configure"; then
  57900. +
  57901. + # If neither matched, then we have a broken ls. This can happen
  57902. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  57903. + # broken ls alias from the environment. This has actually
  57904. + # happened. Such a system could not be considered "sane".
  57905. + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  57906. + alias in your environment])
  57907. + fi
  57908. + if test "$[2]" = conftest.file || test $am_try -eq 2; then
  57909. + break
  57910. + fi
  57911. + # Just in case.
  57912. + sleep 1
  57913. + am_has_slept=yes
  57914. + done
  57915. + test "$[2]" = conftest.file
  57916. + )
  57917. +then
  57918. + # Ok.
  57919. + :
  57920. +else
  57921. + AC_MSG_ERROR([newly created file is older than distributed files!
  57922. +Check your system clock])
  57923. +fi
  57924. +AC_MSG_RESULT([yes])
  57925. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  57926. +# generated files are strictly newer.
  57927. +am_sleep_pid=
  57928. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  57929. + ( sleep 1 ) &
  57930. + am_sleep_pid=$!
  57931. +fi
  57932. +AC_CONFIG_COMMANDS_PRE(
  57933. + [AC_MSG_CHECKING([that generated files are newer than configure])
  57934. + if test -n "$am_sleep_pid"; then
  57935. + # Hide warnings about reused PIDs.
  57936. + wait $am_sleep_pid 2>/dev/null
  57937. + fi
  57938. + AC_MSG_RESULT([done])])
  57939. +rm -f conftest.file
  57940. +])
  57941. +m4trace:/usr/share/aclocal-1.16/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
  57942. +AS_HELP_STRING(
  57943. + [--enable-silent-rules],
  57944. + [less verbose build output (undo: "make V=1")])
  57945. +AS_HELP_STRING(
  57946. + [--disable-silent-rules],
  57947. + [verbose build output (undo: "make V=0")])dnl
  57948. +])
  57949. +case $enable_silent_rules in @%:@ (((
  57950. + yes) AM_DEFAULT_VERBOSITY=0;;
  57951. + no) AM_DEFAULT_VERBOSITY=1;;
  57952. + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  57953. +esac
  57954. +dnl
  57955. +dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
  57956. +dnl do not support nested variable expansions.
  57957. +dnl See automake bug#9928 and bug#10237.
  57958. +am_make=${MAKE-make}
  57959. +AC_CACHE_CHECK([whether $am_make supports nested variables],
  57960. + [am_cv_make_support_nested_variables],
  57961. + [if AS_ECHO([['TRUE=$(BAR$(V))
  57962. +BAR0=false
  57963. +BAR1=true
  57964. +V=1
  57965. +am__doit:
  57966. + @$(TRUE)
  57967. +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
  57968. + am_cv_make_support_nested_variables=yes
  57969. +else
  57970. + am_cv_make_support_nested_variables=no
  57971. +fi])
  57972. +if test $am_cv_make_support_nested_variables = yes; then
  57973. + dnl Using '$V' instead of '$(V)' breaks IRIX make.
  57974. + AM_V='$(V)'
  57975. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  57976. +else
  57977. + AM_V=$AM_DEFAULT_VERBOSITY
  57978. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  57979. +fi
  57980. +AC_SUBST([AM_V])dnl
  57981. +AM_SUBST_NOTMAKE([AM_V])dnl
  57982. +AC_SUBST([AM_DEFAULT_V])dnl
  57983. +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
  57984. +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
  57985. +AM_BACKSLASH='\'
  57986. +AC_SUBST([AM_BACKSLASH])dnl
  57987. +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
  57988. +])
  57989. +m4trace:/usr/share/aclocal-1.16/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  57990. +# Installed binaries are usually stripped using 'strip' when the user
  57991. +# run "make install-strip". However 'strip' might not be the right
  57992. +# tool to use in cross-compilation environments, therefore Automake
  57993. +# will honor the 'STRIP' environment variable to overrule this program.
  57994. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
  57995. +if test "$cross_compiling" != no; then
  57996. + AC_CHECK_TOOL([STRIP], [strip], :)
  57997. +fi
  57998. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  57999. +AC_SUBST([INSTALL_STRIP_PROGRAM])])
  58000. +m4trace:/usr/share/aclocal-1.16/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
  58001. +m4trace:/usr/share/aclocal-1.16/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  58002. +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
  58003. +# in the wild :-( We should find a proper way to deprecate it ...
  58004. +AC_SUBST([AMTAR], ['$${TAR-tar}'])
  58005. +
  58006. +# We'll loop over all known methods to create a tar archive until one works.
  58007. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  58008. +
  58009. +m4_if([$1], [v7],
  58010. + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
  58011. +
  58012. + [m4_case([$1],
  58013. + [ustar],
  58014. + [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
  58015. + # There is notably a 21 bits limit for the UID and the GID. In fact,
  58016. + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
  58017. + # and bug#13588).
  58018. + am_max_uid=2097151 # 2^21 - 1
  58019. + am_max_gid=$am_max_uid
  58020. + # The $UID and $GID variables are not portable, so we need to resort
  58021. + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
  58022. + # below are definitely unexpected, so allow the users to see them
  58023. + # (that is, avoid stderr redirection).
  58024. + am_uid=`id -u || echo unknown`
  58025. + am_gid=`id -g || echo unknown`
  58026. + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
  58027. + if test $am_uid -le $am_max_uid; then
  58028. + AC_MSG_RESULT([yes])
  58029. + else
  58030. + AC_MSG_RESULT([no])
  58031. + _am_tools=none
  58032. + fi
  58033. + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
  58034. + if test $am_gid -le $am_max_gid; then
  58035. + AC_MSG_RESULT([yes])
  58036. + else
  58037. + AC_MSG_RESULT([no])
  58038. + _am_tools=none
  58039. + fi],
  58040. +
  58041. + [pax],
  58042. + [],
  58043. +
  58044. + [m4_fatal([Unknown tar format])])
  58045. +
  58046. + AC_MSG_CHECKING([how to create a $1 tar archive])
  58047. +
  58048. + # Go ahead even if we have the value already cached. We do so because we
  58049. + # need to set the values for the 'am__tar' and 'am__untar' variables.
  58050. + _am_tools=${am_cv_prog_tar_$1-$_am_tools}
  58051. +
  58052. + for _am_tool in $_am_tools; do
  58053. + case $_am_tool in
  58054. + gnutar)
  58055. + for _am_tar in tar gnutar gtar; do
  58056. + AM_RUN_LOG([$_am_tar --version]) && break
  58057. + done
  58058. + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  58059. + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  58060. + am__untar="$_am_tar -xf -"
  58061. + ;;
  58062. + plaintar)
  58063. + # Must skip GNU tar: if it does not support --format= it doesn't create
  58064. + # ustar tarball either.
  58065. + (tar --version) >/dev/null 2>&1 && continue
  58066. + am__tar='tar chf - "$$tardir"'
  58067. + am__tar_='tar chf - "$tardir"'
  58068. + am__untar='tar xf -'
  58069. + ;;
  58070. + pax)
  58071. + am__tar='pax -L -x $1 -w "$$tardir"'
  58072. + am__tar_='pax -L -x $1 -w "$tardir"'
  58073. + am__untar='pax -r'
  58074. + ;;
  58075. + cpio)
  58076. + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  58077. + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  58078. + am__untar='cpio -i -H $1 -d'
  58079. + ;;
  58080. + none)
  58081. + am__tar=false
  58082. + am__tar_=false
  58083. + am__untar=false
  58084. + ;;
  58085. + esac
  58086. +
  58087. + # If the value was cached, stop now. We just wanted to have am__tar
  58088. + # and am__untar set.
  58089. + test -n "${am_cv_prog_tar_$1}" && break
  58090. +
  58091. + # tar/untar a dummy directory, and stop if the command works.
  58092. + rm -rf conftest.dir
  58093. + mkdir conftest.dir
  58094. + echo GrepMe > conftest.dir/file
  58095. + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  58096. + rm -rf conftest.dir
  58097. + if test -s conftest.tar; then
  58098. + AM_RUN_LOG([$am__untar <conftest.tar])
  58099. + AM_RUN_LOG([cat conftest.dir/file])
  58100. + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  58101. + fi
  58102. + done
  58103. + rm -rf conftest.dir
  58104. +
  58105. + AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  58106. + AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  58107. +
  58108. +AC_SUBST([am__tar])
  58109. +AC_SUBST([am__untar])
  58110. +])
  58111. +m4trace:m4/libtool.m4:67: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
  58112. +AC_BEFORE([$0], [LT_LANG])dnl
  58113. +AC_BEFORE([$0], [LT_OUTPUT])dnl
  58114. +AC_BEFORE([$0], [LTDL_INIT])dnl
  58115. +m4_require([_LT_CHECK_BUILDDIR])dnl
  58116. +
  58117. +dnl Autoconf doesn't catch unexpanded LT_ macros by default:
  58118. +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
  58119. +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
  58120. +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
  58121. +dnl unless we require an AC_DEFUNed macro:
  58122. +AC_REQUIRE([LTOPTIONS_VERSION])dnl
  58123. +AC_REQUIRE([LTSUGAR_VERSION])dnl
  58124. +AC_REQUIRE([LTVERSION_VERSION])dnl
  58125. +AC_REQUIRE([LTOBSOLETE_VERSION])dnl
  58126. +m4_require([_LT_PROG_LTMAIN])dnl
  58127. +
  58128. +dnl Parse OPTIONS
  58129. +_LT_SET_OPTIONS([$0], [$1])
  58130. +
  58131. +# This can be used to rebuild libtool when needed
  58132. +LIBTOOL_DEPS="$ltmain"
  58133. +
  58134. +# Always use our own libtool.
  58135. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  58136. +AC_SUBST(LIBTOOL)dnl
  58137. +
  58138. +_LT_SETUP
  58139. +
  58140. +# Only expand once:
  58141. +m4_define([LT_INIT])
  58142. +])
  58143. +m4trace:m4/libtool.m4:102: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  58144. +m4trace:m4/libtool.m4:102: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
  58145. +You should run autoupdate.])dnl
  58146. +m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  58147. +m4trace:m4/libtool.m4:103: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  58148. +m4trace:m4/libtool.m4:103: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
  58149. +You should run autoupdate.])dnl
  58150. +m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  58151. +m4trace:m4/libtool.m4:562: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
  58152. +AC_MSG_NOTICE([creating $CONFIG_LT])
  58153. +cat >"$CONFIG_LT" <<_LTEOF
  58154. +#! $SHELL
  58155. +# Generated by $as_me.
  58156. +# Run this file to recreate a libtool stub with the current configuration.
  58157. +
  58158. +lt_cl_silent=false
  58159. +SHELL=\${CONFIG_SHELL-$SHELL}
  58160. +_LTEOF
  58161. +
  58162. +cat >>"$CONFIG_LT" <<\_LTEOF
  58163. +AS_SHELL_SANITIZE
  58164. +_AS_PREPARE
  58165. +
  58166. +exec AS_MESSAGE_FD>&1
  58167. +exec AS_MESSAGE_LOG_FD>>config.log
  58168. +{
  58169. + echo
  58170. + AS_BOX([Running $as_me.])
  58171. +} >&AS_MESSAGE_LOG_FD
  58172. +
  58173. +lt_cl_help="\
  58174. +\`$as_me' creates a local libtool stub from the current configuration,
  58175. +for use in further configure time tests before the real libtool is
  58176. +generated.
  58177. +
  58178. +Usage: $[0] [[OPTIONS]]
  58179. +
  58180. + -h, --help print this help, then exit
  58181. + -V, --version print version number, then exit
  58182. + -q, --quiet do not print progress messages
  58183. + -d, --debug don't remove temporary files
  58184. +
  58185. +Report bugs to <bug-libtool@gnu.org>."
  58186. +
  58187. +lt_cl_version="\
  58188. +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
  58189. +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  58190. +configured by $[0], generated by m4_PACKAGE_STRING.
  58191. +
  58192. +Copyright (C) 2008 Free Software Foundation, Inc.
  58193. +This config.lt script is free software; the Free Software Foundation
  58194. +gives unlimited permision to copy, distribute and modify it."
  58195. +
  58196. +while test $[#] != 0
  58197. +do
  58198. + case $[1] in
  58199. + --version | --v* | -V )
  58200. + echo "$lt_cl_version"; exit 0 ;;
  58201. + --help | --h* | -h )
  58202. + echo "$lt_cl_help"; exit 0 ;;
  58203. + --debug | --d* | -d )
  58204. + debug=: ;;
  58205. + --quiet | --q* | --silent | --s* | -q )
  58206. + lt_cl_silent=: ;;
  58207. +
  58208. + -*) AC_MSG_ERROR([unrecognized option: $[1]
  58209. +Try \`$[0] --help' for more information.]) ;;
  58210. +
  58211. + *) AC_MSG_ERROR([unrecognized argument: $[1]
  58212. +Try \`$[0] --help' for more information.]) ;;
  58213. + esac
  58214. + shift
  58215. +done
  58216. +
  58217. +if $lt_cl_silent; then
  58218. + exec AS_MESSAGE_FD>/dev/null
  58219. +fi
  58220. +_LTEOF
  58221. +
  58222. +cat >>"$CONFIG_LT" <<_LTEOF
  58223. +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
  58224. +_LTEOF
  58225. +
  58226. +cat >>"$CONFIG_LT" <<\_LTEOF
  58227. +AC_MSG_NOTICE([creating $ofile])
  58228. +_LT_OUTPUT_LIBTOOL_COMMANDS
  58229. +AS_EXIT(0)
  58230. +_LTEOF
  58231. +chmod +x "$CONFIG_LT"
  58232. +
  58233. +# configure is writing to config.log, but config.lt does its own redirection,
  58234. +# appending to config.log, which fails on DOS, as config.log is still kept
  58235. +# open by configure. Here we exec the FD to /dev/null, effectively closing
  58236. +# config.log, so it can be properly (re)opened and appended to by config.lt.
  58237. +if test "$no_create" != yes; then
  58238. + lt_cl_success=:
  58239. + test "$silent" = yes &&
  58240. + lt_config_lt_args="$lt_config_lt_args --quiet"
  58241. + exec AS_MESSAGE_LOG_FD>/dev/null
  58242. + $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  58243. + exec AS_MESSAGE_LOG_FD>>config.log
  58244. + $lt_cl_success || AS_EXIT(1)
  58245. +fi
  58246. +])
  58247. +m4trace:m4/libtool.m4:757: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
  58248. +m4trace:m4/libtool.m4:768: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
  58249. +m4_case([$1],
  58250. + [C], [_LT_LANG(C)],
  58251. + [C++], [_LT_LANG(CXX)],
  58252. + [Java], [_LT_LANG(GCJ)],
  58253. + [Fortran 77], [_LT_LANG(F77)],
  58254. + [Fortran], [_LT_LANG(FC)],
  58255. + [Windows Resource], [_LT_LANG(RC)],
  58256. + [m4_ifdef([_LT_LANG_]$1[_CONFIG],
  58257. + [_LT_LANG($1)],
  58258. + [m4_fatal([$0: unsupported language: "$1"])])])dnl
  58259. +])
  58260. +m4trace:m4/libtool.m4:830: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
  58261. +m4trace:m4/libtool.m4:830: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
  58262. +You should run autoupdate.])dnl
  58263. +LT_LANG(C++)])
  58264. +m4trace:m4/libtool.m4:831: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  58265. +m4trace:m4/libtool.m4:831: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
  58266. +You should run autoupdate.])dnl
  58267. +LT_LANG(Fortran 77)])
  58268. +m4trace:m4/libtool.m4:832: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  58269. +m4trace:m4/libtool.m4:832: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
  58270. +You should run autoupdate.])dnl
  58271. +LT_LANG(Fortran)])
  58272. +m4trace:m4/libtool.m4:833: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  58273. +m4trace:m4/libtool.m4:833: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
  58274. +You should run autoupdate.])dnl
  58275. +LT_LANG(Java)])
  58276. +m4trace:m4/libtool.m4:1402: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  58277. +m4_require([_LT_DECL_SED])dnl
  58278. +AC_CACHE_CHECK([$1], [$2],
  58279. + [$2=no
  58280. + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  58281. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  58282. + lt_compiler_flag="$3"
  58283. + # Insert the option either (1) after the last *FLAGS variable, or
  58284. + # (2) before a word containing "conftest.", or (3) at the end.
  58285. + # Note that $ac_compile itself does not contain backslashes and begins
  58286. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  58287. + # The option is referenced via a variable to avoid confusing sed.
  58288. + lt_compile=`echo "$ac_compile" | $SED \
  58289. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  58290. + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  58291. + -e 's:$: $lt_compiler_flag:'`
  58292. + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  58293. + (eval "$lt_compile" 2>conftest.err)
  58294. + ac_status=$?
  58295. + cat conftest.err >&AS_MESSAGE_LOG_FD
  58296. + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  58297. + if (exit $ac_status) && test -s "$ac_outfile"; then
  58298. + # The compiler can only warn and ignore the option if not recognized
  58299. + # So say no if there are warnings other than the usual output.
  58300. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  58301. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  58302. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  58303. + $2=yes
  58304. + fi
  58305. + fi
  58306. + $RM conftest*
  58307. +])
  58308. +
  58309. +if test x"[$]$2" = xyes; then
  58310. + m4_if([$5], , :, [$5])
  58311. +else
  58312. + m4_if([$6], , :, [$6])
  58313. +fi
  58314. +])
  58315. +m4trace:m4/libtool.m4:1444: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
  58316. +m4trace:m4/libtool.m4:1444: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
  58317. +You should run autoupdate.])dnl
  58318. +m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
  58319. +m4trace:m4/libtool.m4:1453: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  58320. +m4_require([_LT_DECL_SED])dnl
  58321. +AC_CACHE_CHECK([$1], [$2],
  58322. + [$2=no
  58323. + save_LDFLAGS="$LDFLAGS"
  58324. + LDFLAGS="$LDFLAGS $3"
  58325. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  58326. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  58327. + # The linker can only warn and ignore the option if not recognized
  58328. + # So say no if there are warnings
  58329. + if test -s conftest.err; then
  58330. + # Append any errors to the config.log.
  58331. + cat conftest.err 1>&AS_MESSAGE_LOG_FD
  58332. + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  58333. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  58334. + if diff conftest.exp conftest.er2 >/dev/null; then
  58335. + $2=yes
  58336. + fi
  58337. + else
  58338. + $2=yes
  58339. + fi
  58340. + fi
  58341. + $RM -r conftest*
  58342. + LDFLAGS="$save_LDFLAGS"
  58343. +])
  58344. +
  58345. +if test x"[$]$2" = xyes; then
  58346. + m4_if([$4], , :, [$4])
  58347. +else
  58348. + m4_if([$5], , :, [$5])
  58349. +fi
  58350. +])
  58351. +m4trace:m4/libtool.m4:1488: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
  58352. +m4trace:m4/libtool.m4:1488: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
  58353. +You should run autoupdate.])dnl
  58354. +m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
  58355. +m4trace:m4/libtool.m4:1495: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  58356. +# find the maximum length of command line arguments
  58357. +AC_MSG_CHECKING([the maximum length of command line arguments])
  58358. +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
  58359. + i=0
  58360. + teststring="ABCD"
  58361. +
  58362. + case $build_os in
  58363. + msdosdjgpp*)
  58364. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  58365. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  58366. + # during glob expansion). Even if it were fixed, the result of this
  58367. + # check would be larger than it should be.
  58368. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  58369. + ;;
  58370. +
  58371. + gnu*)
  58372. + # Under GNU Hurd, this test is not required because there is
  58373. + # no limit to the length of command line arguments.
  58374. + # Libtool will interpret -1 as no limit whatsoever
  58375. + lt_cv_sys_max_cmd_len=-1;
  58376. + ;;
  58377. +
  58378. + cygwin* | mingw* | cegcc*)
  58379. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  58380. + # about 5 minutes as the teststring grows exponentially.
  58381. + # Worse, since 9x/ME are not pre-emptively multitasking,
  58382. + # you end up with a "frozen" computer, even though with patience
  58383. + # the test eventually succeeds (with a max line length of 256k).
  58384. + # Instead, let's just punt: use the minimum linelength reported by
  58385. + # all of the supported platforms: 8192 (on NT/2K/XP).
  58386. + lt_cv_sys_max_cmd_len=8192;
  58387. + ;;
  58388. +
  58389. + amigaos*)
  58390. + # On AmigaOS with pdksh, this test takes hours, literally.
  58391. + # So we just punt and use a minimum line length of 8192.
  58392. + lt_cv_sys_max_cmd_len=8192;
  58393. + ;;
  58394. +
  58395. + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  58396. + # This has been around since 386BSD, at least. Likely further.
  58397. + if test -x /sbin/sysctl; then
  58398. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  58399. + elif test -x /usr/sbin/sysctl; then
  58400. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  58401. + else
  58402. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  58403. + fi
  58404. + # And add a safety zone
  58405. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  58406. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  58407. + ;;
  58408. +
  58409. + interix*)
  58410. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  58411. + lt_cv_sys_max_cmd_len=196608
  58412. + ;;
  58413. +
  58414. + osf*)
  58415. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  58416. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  58417. + # nice to cause kernel panics so lets avoid the loop below.
  58418. + # First set a reasonable default.
  58419. + lt_cv_sys_max_cmd_len=16384
  58420. + #
  58421. + if test -x /sbin/sysconfig; then
  58422. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  58423. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  58424. + esac
  58425. + fi
  58426. + ;;
  58427. + sco3.2v5*)
  58428. + lt_cv_sys_max_cmd_len=102400
  58429. + ;;
  58430. + sysv5* | sco5v6* | sysv4.2uw2*)
  58431. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  58432. + if test -n "$kargmax"; then
  58433. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
  58434. + else
  58435. + lt_cv_sys_max_cmd_len=32768
  58436. + fi
  58437. + ;;
  58438. + *)
  58439. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  58440. + if test -n "$lt_cv_sys_max_cmd_len"; then
  58441. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  58442. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  58443. + else
  58444. + # Make teststring a little bigger before we do anything with it.
  58445. + # a 1K string should be a reasonable start.
  58446. + for i in 1 2 3 4 5 6 7 8 ; do
  58447. + teststring=$teststring$teststring
  58448. + done
  58449. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  58450. + # If test is not a shell built-in, we'll probably end up computing a
  58451. + # maximum length that is only half of the actual maximum length, but
  58452. + # we can't tell.
  58453. + while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  58454. + = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  58455. + test $i != 17 # 1/2 MB should be enough
  58456. + do
  58457. + i=`expr $i + 1`
  58458. + teststring=$teststring$teststring
  58459. + done
  58460. + # Only check the string length outside the loop.
  58461. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  58462. + teststring=
  58463. + # Add a significant safety factor because C++ compilers can tack on
  58464. + # massive amounts of additional arguments before passing them to the
  58465. + # linker. It appears as though 1/2 is a usable value.
  58466. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  58467. + fi
  58468. + ;;
  58469. + esac
  58470. +])
  58471. +if test -n $lt_cv_sys_max_cmd_len ; then
  58472. + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
  58473. +else
  58474. + AC_MSG_RESULT(none)
  58475. +fi
  58476. +max_cmd_len=$lt_cv_sys_max_cmd_len
  58477. +_LT_DECL([], [max_cmd_len], [0],
  58478. + [What is the maximum length of a command?])
  58479. +])
  58480. +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($@)])])
  58481. +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.
  58482. +You should run autoupdate.])dnl
  58483. +m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
  58484. +m4trace:m4/libtool.m4:1724: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
  58485. +if test "x$enable_dlopen" != xyes; then
  58486. + enable_dlopen=unknown
  58487. + enable_dlopen_self=unknown
  58488. + enable_dlopen_self_static=unknown
  58489. +else
  58490. + lt_cv_dlopen=no
  58491. + lt_cv_dlopen_libs=
  58492. +
  58493. + case $host_os in
  58494. + beos*)
  58495. + lt_cv_dlopen="load_add_on"
  58496. + lt_cv_dlopen_libs=
  58497. + lt_cv_dlopen_self=yes
  58498. + ;;
  58499. +
  58500. + mingw* | pw32* | cegcc*)
  58501. + lt_cv_dlopen="LoadLibrary"
  58502. + lt_cv_dlopen_libs=
  58503. + ;;
  58504. +
  58505. + cygwin*)
  58506. + lt_cv_dlopen="dlopen"
  58507. + lt_cv_dlopen_libs=
  58508. + ;;
  58509. +
  58510. + darwin*)
  58511. + # if libdl is installed we need to link against it
  58512. + AC_CHECK_LIB([dl], [dlopen],
  58513. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
  58514. + lt_cv_dlopen="dyld"
  58515. + lt_cv_dlopen_libs=
  58516. + lt_cv_dlopen_self=yes
  58517. + ])
  58518. + ;;
  58519. +
  58520. + *)
  58521. + AC_CHECK_FUNC([shl_load],
  58522. + [lt_cv_dlopen="shl_load"],
  58523. + [AC_CHECK_LIB([dld], [shl_load],
  58524. + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
  58525. + [AC_CHECK_FUNC([dlopen],
  58526. + [lt_cv_dlopen="dlopen"],
  58527. + [AC_CHECK_LIB([dl], [dlopen],
  58528. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
  58529. + [AC_CHECK_LIB([svld], [dlopen],
  58530. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
  58531. + [AC_CHECK_LIB([dld], [dld_link],
  58532. + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
  58533. + ])
  58534. + ])
  58535. + ])
  58536. + ])
  58537. + ])
  58538. + ;;
  58539. + esac
  58540. +
  58541. + if test "x$lt_cv_dlopen" != xno; then
  58542. + enable_dlopen=yes
  58543. + else
  58544. + enable_dlopen=no
  58545. + fi
  58546. +
  58547. + case $lt_cv_dlopen in
  58548. + dlopen)
  58549. + save_CPPFLAGS="$CPPFLAGS"
  58550. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  58551. +
  58552. + save_LDFLAGS="$LDFLAGS"
  58553. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  58554. +
  58555. + save_LIBS="$LIBS"
  58556. + LIBS="$lt_cv_dlopen_libs $LIBS"
  58557. +
  58558. + AC_CACHE_CHECK([whether a program can dlopen itself],
  58559. + lt_cv_dlopen_self, [dnl
  58560. + _LT_TRY_DLOPEN_SELF(
  58561. + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  58562. + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  58563. + ])
  58564. +
  58565. + if test "x$lt_cv_dlopen_self" = xyes; then
  58566. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  58567. + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  58568. + lt_cv_dlopen_self_static, [dnl
  58569. + _LT_TRY_DLOPEN_SELF(
  58570. + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  58571. + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
  58572. + ])
  58573. + fi
  58574. +
  58575. + CPPFLAGS="$save_CPPFLAGS"
  58576. + LDFLAGS="$save_LDFLAGS"
  58577. + LIBS="$save_LIBS"
  58578. + ;;
  58579. + esac
  58580. +
  58581. + case $lt_cv_dlopen_self in
  58582. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  58583. + *) enable_dlopen_self=unknown ;;
  58584. + esac
  58585. +
  58586. + case $lt_cv_dlopen_self_static in
  58587. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  58588. + *) enable_dlopen_self_static=unknown ;;
  58589. + esac
  58590. +fi
  58591. +_LT_DECL([dlopen_support], [enable_dlopen], [0],
  58592. + [Whether dlopen is supported])
  58593. +_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
  58594. + [Whether dlopen of programs is supported])
  58595. +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
  58596. + [Whether dlopen of statically linked programs is supported])
  58597. +])
  58598. +m4trace:m4/libtool.m4:1841: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
  58599. +m4trace:m4/libtool.m4:1841: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
  58600. +You should run autoupdate.])dnl
  58601. +m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
  58602. +m4trace:m4/libtool.m4:2741: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
  58603. +AC_MSG_CHECKING([for $1])
  58604. +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  58605. +[case $MAGIC_CMD in
  58606. +[[\\/*] | ?:[\\/]*])
  58607. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  58608. + ;;
  58609. +*)
  58610. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  58611. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  58612. +dnl $ac_dummy forces splitting on constant user-supplied paths.
  58613. +dnl POSIX.2 word splitting is done only on the output of word expansions,
  58614. +dnl not every word. This closes a longstanding sh security hole.
  58615. + ac_dummy="m4_if([$2], , $PATH, [$2])"
  58616. + for ac_dir in $ac_dummy; do
  58617. + IFS="$lt_save_ifs"
  58618. + test -z "$ac_dir" && ac_dir=.
  58619. + if test -f $ac_dir/$1; then
  58620. + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
  58621. + if test -n "$file_magic_test_file"; then
  58622. + case $deplibs_check_method in
  58623. + "file_magic "*)
  58624. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  58625. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  58626. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  58627. + $EGREP "$file_magic_regex" > /dev/null; then
  58628. + :
  58629. + else
  58630. + cat <<_LT_EOF 1>&2
  58631. +
  58632. +*** Warning: the command libtool uses to detect shared libraries,
  58633. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  58634. +*** The result is that libtool may fail to recognize shared libraries
  58635. +*** as such. This will affect the creation of libtool libraries that
  58636. +*** depend on shared libraries, but programs linked with such libtool
  58637. +*** libraries will work regardless of this problem. Nevertheless, you
  58638. +*** may want to report the problem to your system manager and/or to
  58639. +*** bug-libtool@gnu.org
  58640. +
  58641. +_LT_EOF
  58642. + fi ;;
  58643. + esac
  58644. + fi
  58645. + break
  58646. + fi
  58647. + done
  58648. + IFS="$lt_save_ifs"
  58649. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  58650. + ;;
  58651. +esac])
  58652. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  58653. +if test -n "$MAGIC_CMD"; then
  58654. + AC_MSG_RESULT($MAGIC_CMD)
  58655. +else
  58656. + AC_MSG_RESULT(no)
  58657. +fi
  58658. +_LT_DECL([], [MAGIC_CMD], [0],
  58659. + [Used to examine libraries when file_magic_cmd begins with "file"])dnl
  58660. +])
  58661. +m4trace:m4/libtool.m4:2803: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
  58662. +m4trace:m4/libtool.m4:2803: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
  58663. +You should run autoupdate.])dnl
  58664. +m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
  58665. +m4trace:m4/libtool.m4:2826: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
  58666. +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  58667. +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  58668. +m4_require([_LT_DECL_SED])dnl
  58669. +m4_require([_LT_DECL_EGREP])dnl
  58670. +
  58671. +AC_ARG_WITH([gnu-ld],
  58672. + [AS_HELP_STRING([--with-gnu-ld],
  58673. + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  58674. + [test "$withval" = no || with_gnu_ld=yes],
  58675. + [with_gnu_ld=no])dnl
  58676. +
  58677. +ac_prog=ld
  58678. +if test "$GCC" = yes; then
  58679. + # Check if gcc -print-prog-name=ld gives a path.
  58680. + AC_MSG_CHECKING([for ld used by $CC])
  58681. + case $host in
  58682. + *-*-mingw*)
  58683. + # gcc leaves a trailing carriage return which upsets mingw
  58684. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  58685. + *)
  58686. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  58687. + esac
  58688. + case $ac_prog in
  58689. + # Accept absolute paths.
  58690. + [[\\/]]* | ?:[[\\/]]*)
  58691. + re_direlt='/[[^/]][[^/]]*/\.\./'
  58692. + # Canonicalize the pathname of ld
  58693. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  58694. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  58695. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  58696. + done
  58697. + test -z "$LD" && LD="$ac_prog"
  58698. + ;;
  58699. + "")
  58700. + # If it fails, then pretend we aren't using GCC.
  58701. + ac_prog=ld
  58702. + ;;
  58703. + *)
  58704. + # If it is relative, then search for the first ld in PATH.
  58705. + with_gnu_ld=unknown
  58706. + ;;
  58707. + esac
  58708. +elif test "$with_gnu_ld" = yes; then
  58709. + AC_MSG_CHECKING([for GNU ld])
  58710. +else
  58711. + AC_MSG_CHECKING([for non-GNU ld])
  58712. +fi
  58713. +AC_CACHE_VAL(lt_cv_path_LD,
  58714. +[if test -z "$LD"; then
  58715. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  58716. + for ac_dir in $PATH; do
  58717. + IFS="$lt_save_ifs"
  58718. + test -z "$ac_dir" && ac_dir=.
  58719. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  58720. + lt_cv_path_LD="$ac_dir/$ac_prog"
  58721. + # Check to see if the program is GNU ld. I'd rather use --version,
  58722. + # but apparently some variants of GNU ld only accept -v.
  58723. + # Break only if it was the GNU/non-GNU ld that we prefer.
  58724. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  58725. + *GNU* | *'with BFD'*)
  58726. + test "$with_gnu_ld" != no && break
  58727. + ;;
  58728. + *)
  58729. + test "$with_gnu_ld" != yes && break
  58730. + ;;
  58731. + esac
  58732. + fi
  58733. + done
  58734. + IFS="$lt_save_ifs"
  58735. +else
  58736. + lt_cv_path_LD="$LD" # Let the user override the test with a path.
  58737. +fi])
  58738. +LD="$lt_cv_path_LD"
  58739. +if test -n "$LD"; then
  58740. + AC_MSG_RESULT($LD)
  58741. +else
  58742. + AC_MSG_RESULT(no)
  58743. +fi
  58744. +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  58745. +_LT_PATH_LD_GNU
  58746. +AC_SUBST([LD])
  58747. +
  58748. +_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
  58749. +])
  58750. +m4trace:m4/libtool.m4:2914: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  58751. +m4trace:m4/libtool.m4:2914: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
  58752. +You should run autoupdate.])dnl
  58753. +m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  58754. +m4trace:m4/libtool.m4:2915: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  58755. +m4trace:m4/libtool.m4:2915: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
  58756. +You should run autoupdate.])dnl
  58757. +m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  58758. +m4trace:m4/libtool.m4:3179: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
  58759. +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
  58760. +[if test -n "$NM"; then
  58761. + # Let the user override the test.
  58762. + lt_cv_path_NM="$NM"
  58763. +else
  58764. + lt_nm_to_check="${ac_tool_prefix}nm"
  58765. + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  58766. + lt_nm_to_check="$lt_nm_to_check nm"
  58767. + fi
  58768. + for lt_tmp_nm in $lt_nm_to_check; do
  58769. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  58770. + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  58771. + IFS="$lt_save_ifs"
  58772. + test -z "$ac_dir" && ac_dir=.
  58773. + tmp_nm="$ac_dir/$lt_tmp_nm"
  58774. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  58775. + # Check to see if the nm accepts a BSD-compat flag.
  58776. + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  58777. + # nm: unknown option "B" ignored
  58778. + # Tru64's nm complains that /dev/null is an invalid object file
  58779. + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  58780. + */dev/null* | *'Invalid file or object type'*)
  58781. + lt_cv_path_NM="$tmp_nm -B"
  58782. + break
  58783. + ;;
  58784. + *)
  58785. + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  58786. + */dev/null*)
  58787. + lt_cv_path_NM="$tmp_nm -p"
  58788. + break
  58789. + ;;
  58790. + *)
  58791. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  58792. + continue # so that we can try to find one that supports BSD flags
  58793. + ;;
  58794. + esac
  58795. + ;;
  58796. + esac
  58797. + fi
  58798. + done
  58799. + IFS="$lt_save_ifs"
  58800. + done
  58801. + : ${lt_cv_path_NM=no}
  58802. +fi])
  58803. +if test "$lt_cv_path_NM" != "no"; then
  58804. + NM="$lt_cv_path_NM"
  58805. +else
  58806. + # Didn't find any BSD compatible name lister, look for dumpbin.
  58807. + AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
  58808. + AC_SUBST([DUMPBIN])
  58809. + if test "$DUMPBIN" != ":"; then
  58810. + NM="$DUMPBIN"
  58811. + fi
  58812. +fi
  58813. +test -z "$NM" && NM=nm
  58814. +AC_SUBST([NM])
  58815. +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
  58816. +
  58817. +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  58818. + [lt_cv_nm_interface="BSD nm"
  58819. + echo "int some_variable = 0;" > conftest.$ac_ext
  58820. + (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  58821. + (eval "$ac_compile" 2>conftest.err)
  58822. + cat conftest.err >&AS_MESSAGE_LOG_FD
  58823. + (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  58824. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  58825. + cat conftest.err >&AS_MESSAGE_LOG_FD
  58826. + (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
  58827. + cat conftest.out >&AS_MESSAGE_LOG_FD
  58828. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  58829. + lt_cv_nm_interface="MS dumpbin"
  58830. + fi
  58831. + rm -f conftest*])
  58832. +])
  58833. +m4trace:m4/libtool.m4:3257: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  58834. +m4trace:m4/libtool.m4:3257: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
  58835. +You should run autoupdate.])dnl
  58836. +m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  58837. +m4trace:m4/libtool.m4:3258: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  58838. +m4trace:m4/libtool.m4:3258: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
  58839. +You should run autoupdate.])dnl
  58840. +m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  58841. +m4trace:m4/libtool.m4:3267: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  58842. +LIBM=
  58843. +case $host in
  58844. +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
  58845. + # These system don't have libm, or don't need it
  58846. + ;;
  58847. +*-ncr-sysv4.3*)
  58848. + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
  58849. + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
  58850. + ;;
  58851. +*)
  58852. + AC_CHECK_LIB(m, cos, LIBM="-lm")
  58853. + ;;
  58854. +esac
  58855. +AC_SUBST([LIBM])
  58856. +])
  58857. +m4trace:m4/libtool.m4:3286: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
  58858. +m4trace:m4/libtool.m4:3286: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
  58859. +You should run autoupdate.])dnl
  58860. +m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
  58861. +m4trace:m4/libtool.m4:6987: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
  58862. + [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
  58863. + [AC_CHECK_TOOL(GCJ, gcj,)
  58864. + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
  58865. + AC_SUBST(GCJFLAGS)])])[]dnl
  58866. +])
  58867. +m4trace:m4/libtool.m4:6996: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
  58868. +m4trace:m4/libtool.m4:6996: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
  58869. +You should run autoupdate.])dnl
  58870. +m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
  58871. +m4trace:m4/libtool.m4:7003: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
  58872. +])
  58873. +m4trace:m4/libtool.m4:7008: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
  58874. +m4trace:m4/libtool.m4:7008: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
  58875. +You should run autoupdate.])dnl
  58876. +m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
  58877. +m4trace:m4/libtool.m4:7119: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
  58878. +m4trace:m4/libtool.m4:7119: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
  58879. +You should run autoupdate.])dnl
  58880. +m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
  58881. +m4trace:m4/ltoptions.m4:13: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
  58882. +m4trace:m4/ltoptions.m4:110: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
  58883. +AC_DIAGNOSE([obsolete],
  58884. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  58885. +put the `dlopen' option into LT_INIT's first parameter.])
  58886. +])
  58887. +m4trace:m4/ltoptions.m4:110: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
  58888. +You should run autoupdate.])dnl
  58889. +_LT_SET_OPTION([LT_INIT], [dlopen])
  58890. +AC_DIAGNOSE([obsolete],
  58891. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  58892. +put the `dlopen' option into LT_INIT's first parameter.])
  58893. +])
  58894. +m4trace:m4/ltoptions.m4:145: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [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:145: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
  58901. +You should run autoupdate.])dnl
  58902. +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  58903. +_LT_SET_OPTION([LT_INIT], [win32-dll])
  58904. +AC_DIAGNOSE([obsolete],
  58905. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  58906. +put the `win32-dll' option into LT_INIT's first parameter.])
  58907. +])
  58908. +m4trace:m4/ltoptions.m4:194: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
  58909. +])
  58910. +m4trace:m4/ltoptions.m4:198: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
  58911. +])
  58912. +m4trace:m4/ltoptions.m4:202: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  58913. +m4trace:m4/ltoptions.m4:202: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
  58914. +You should run autoupdate.])dnl
  58915. +AC_ENABLE_SHARED($@)])
  58916. +m4trace:m4/ltoptions.m4:203: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  58917. +m4trace:m4/ltoptions.m4:203: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
  58918. +You should run autoupdate.])dnl
  58919. +AC_DISABLE_SHARED($@)])
  58920. +m4trace:m4/ltoptions.m4:248: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
  58921. +])
  58922. +m4trace:m4/ltoptions.m4:252: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
  58923. +])
  58924. +m4trace:m4/ltoptions.m4:256: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  58925. +m4trace:m4/ltoptions.m4:256: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
  58926. +You should run autoupdate.])dnl
  58927. +AC_ENABLE_STATIC($@)])
  58928. +m4trace:m4/ltoptions.m4:257: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  58929. +m4trace:m4/ltoptions.m4:257: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
  58930. +You should run autoupdate.])dnl
  58931. +AC_DISABLE_STATIC($@)])
  58932. +m4trace:m4/ltoptions.m4:302: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  58933. +AC_DIAGNOSE([obsolete],
  58934. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  58935. +the `fast-install' option into LT_INIT's first parameter.])
  58936. +])
  58937. +m4trace:m4/ltoptions.m4:302: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
  58938. +You should run autoupdate.])dnl
  58939. +_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  58940. +AC_DIAGNOSE([obsolete],
  58941. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  58942. +the `fast-install' option into LT_INIT's first parameter.])
  58943. +])
  58944. +m4trace:m4/ltoptions.m4:309: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  58945. +AC_DIAGNOSE([obsolete],
  58946. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  58947. +the `disable-fast-install' option into LT_INIT's first parameter.])
  58948. +])
  58949. +m4trace:m4/ltoptions.m4:309: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
  58950. +You should run autoupdate.])dnl
  58951. +_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  58952. +AC_DIAGNOSE([obsolete],
  58953. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  58954. +the `disable-fast-install' option into LT_INIT's first parameter.])
  58955. +])
  58956. +m4trace:m4/ltoptions.m4:342: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
  58957. +AC_DIAGNOSE([obsolete],
  58958. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  58959. +put the `pic-only' option into LT_INIT's first parameter.])
  58960. +])
  58961. +m4trace:m4/ltoptions.m4:342: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
  58962. +You should run autoupdate.])dnl
  58963. +_LT_SET_OPTION([LT_INIT], [pic-only])
  58964. +AC_DIAGNOSE([obsolete],
  58965. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  58966. +put the `pic-only' option into LT_INIT's first parameter.])
  58967. +])
  58968. +m4trace:m4/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
  58969. +m4trace:m4/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.2.6b'
  58970. +macro_revision='1.3017'
  58971. +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  58972. +_LT_DECL(, macro_revision, 0)
  58973. +])
  58974. +m4trace:m4/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
  58975. +m4trace:m4/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_RC])
  58976. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?A[CHUM]_])
  58977. +m4trace:configure.ac:9: -1- m4_pattern_forbid([_AC_])
  58978. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
  58979. +m4trace:configure.ac:9: -1- m4_pattern_allow([^AS_FLAGS$])
  58980. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?m4_])
  58981. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^dnl$])
  58982. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?AS_])
  58983. +m4trace:configure.ac:9: -1- m4_pattern_allow([^SHELL$])
  58984. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PATH_SEPARATOR$])
  58985. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_NAME$])
  58986. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  58987. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  58988. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_STRING$])
  58989. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  58990. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_URL$])
  58991. +m4trace:configure.ac:9: -1- m4_pattern_allow([^exec_prefix$])
  58992. +m4trace:configure.ac:9: -1- m4_pattern_allow([^prefix$])
  58993. +m4trace:configure.ac:9: -1- m4_pattern_allow([^program_transform_name$])
  58994. +m4trace:configure.ac:9: -1- m4_pattern_allow([^bindir$])
  58995. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sbindir$])
  58996. +m4trace:configure.ac:9: -1- m4_pattern_allow([^libexecdir$])
  58997. +m4trace:configure.ac:9: -1- m4_pattern_allow([^datarootdir$])
  58998. +m4trace:configure.ac:9: -1- m4_pattern_allow([^datadir$])
  58999. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sysconfdir$])
  59000. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sharedstatedir$])
  59001. +m4trace:configure.ac:9: -1- m4_pattern_allow([^localstatedir$])
  59002. +m4trace:configure.ac:9: -1- m4_pattern_allow([^includedir$])
  59003. +m4trace:configure.ac:9: -1- m4_pattern_allow([^oldincludedir$])
  59004. +m4trace:configure.ac:9: -1- m4_pattern_allow([^docdir$])
  59005. +m4trace:configure.ac:9: -1- m4_pattern_allow([^infodir$])
  59006. +m4trace:configure.ac:9: -1- m4_pattern_allow([^htmldir$])
  59007. +m4trace:configure.ac:9: -1- m4_pattern_allow([^dvidir$])
  59008. +m4trace:configure.ac:9: -1- m4_pattern_allow([^pdfdir$])
  59009. +m4trace:configure.ac:9: -1- m4_pattern_allow([^psdir$])
  59010. +m4trace:configure.ac:9: -1- m4_pattern_allow([^libdir$])
  59011. +m4trace:configure.ac:9: -1- m4_pattern_allow([^localedir$])
  59012. +m4trace:configure.ac:9: -1- m4_pattern_allow([^mandir$])
  59013. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_NAME$])
  59014. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  59015. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  59016. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_STRING$])
  59017. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  59018. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_URL$])
  59019. +m4trace:configure.ac:9: -1- m4_pattern_allow([^DEFS$])
  59020. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_C$])
  59021. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_N$])
  59022. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_T$])
  59023. +m4trace:configure.ac:9: -1- m4_pattern_allow([^LIBS$])
  59024. +m4trace:configure.ac:9: -1- m4_pattern_allow([^build_alias$])
  59025. +m4trace:configure.ac:9: -1- m4_pattern_allow([^host_alias$])
  59026. +m4trace:configure.ac:9: -1- m4_pattern_allow([^target_alias$])
  59027. +m4trace:configure.ac:10: -1- AC_CONFIG_MACRO_DIR([m4])
  59028. +m4trace:configure.ac:11: -1- AM_INIT_AUTOMAKE([fiasco], [1.3])
  59029. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
  59030. +m4trace:configure.ac:11: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
  59031. +m4trace:configure.ac:11: -1- AM_AUTOMAKE_VERSION([1.16.1])
  59032. +m4trace:configure.ac:11: -1- _AM_AUTOCONF_VERSION([2.69])
  59033. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
  59034. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
  59035. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_DATA$])
  59036. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__isrc$])
  59037. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__isrc])
  59038. +m4trace:configure.ac:11: -1- m4_pattern_allow([^CYGPATH_W$])
  59039. +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...
  59040. +configure.ac:11: the top level])
  59041. +m4trace:configure.ac:11: -1- m4_pattern_allow([^PACKAGE$])
  59042. +m4trace:configure.ac:11: -1- m4_pattern_allow([^VERSION$])
  59043. +m4trace:configure.ac:11: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  59044. + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])
  59045. +m4trace:configure.ac:11: -2- _AM_MANGLE_OPTION([no-define])
  59046. +m4trace:configure.ac:11: -1- m4_pattern_allow([^PACKAGE$])
  59047. +m4trace:configure.ac:11: -1- m4_pattern_allow([^VERSION$])
  59048. +m4trace:configure.ac:11: -1- AM_SANITY_CHECK
  59049. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  59050. +m4trace:configure.ac:11: -1- AM_MISSING_HAS_RUN
  59051. +m4trace:configure.ac:11: -1- AM_AUX_DIR_EXPAND
  59052. +m4trace:configure.ac:11: -1- m4_pattern_allow([^ACLOCAL$])
  59053. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
  59054. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOCONF$])
  59055. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  59056. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOMAKE$])
  59057. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
  59058. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOHEADER$])
  59059. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
  59060. +m4trace:configure.ac:11: -1- m4_pattern_allow([^MAKEINFO$])
  59061. +m4trace:configure.ac:11: -1- AM_PROG_INSTALL_SH
  59062. +m4trace:configure.ac:11: -1- m4_pattern_allow([^install_sh$])
  59063. +m4trace:configure.ac:11: -1- AM_PROG_INSTALL_STRIP
  59064. +m4trace:configure.ac:11: -1- m4_pattern_allow([^STRIP$])
  59065. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
  59066. +m4trace:configure.ac:11: -1- m4_pattern_allow([^MKDIR_P$])
  59067. +m4trace:configure.ac:11: -1- m4_pattern_allow([^mkdir_p$])
  59068. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AWK$])
  59069. +m4trace:configure.ac:11: -1- m4_pattern_allow([^SET_MAKE$])
  59070. +m4trace:configure.ac:11: -1- AM_SET_LEADING_DOT
  59071. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__leading_dot$])
  59072. +m4trace:configure.ac:11: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  59073. + [_AM_PROG_TAR([v7])])])
  59074. +m4trace:configure.ac:11: -2- _AM_MANGLE_OPTION([tar-ustar])
  59075. +m4trace:configure.ac:11: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
  59076. +m4trace:configure.ac:11: -2- _AM_MANGLE_OPTION([tar-pax])
  59077. +m4trace:configure.ac:11: -1- _AM_PROG_TAR([v7])
  59078. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AMTAR$])
  59079. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__tar$])
  59080. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__untar$])
  59081. +m4trace:configure.ac:11: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
  59082. + [_AM_DEPENDENCIES([CC])],
  59083. + [m4_define([AC_PROG_CC],
  59084. + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  59085. +AC_PROVIDE_IFELSE([AC_PROG_CXX],
  59086. + [_AM_DEPENDENCIES([CXX])],
  59087. + [m4_define([AC_PROG_CXX],
  59088. + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  59089. +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  59090. + [_AM_DEPENDENCIES([OBJC])],
  59091. + [m4_define([AC_PROG_OBJC],
  59092. + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  59093. +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  59094. + [_AM_DEPENDENCIES([OBJCXX])],
  59095. + [m4_define([AC_PROG_OBJCXX],
  59096. + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  59097. +])
  59098. +m4trace:configure.ac:11: -2- _AM_MANGLE_OPTION([no-dependencies])
  59099. +m4trace:configure.ac:11: -1- AM_SILENT_RULES
  59100. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_V$])
  59101. +m4trace:configure.ac:11: -1- AM_SUBST_NOTMAKE([AM_V])
  59102. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_V])
  59103. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_DEFAULT_V$])
  59104. +m4trace:configure.ac:11: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  59105. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  59106. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
  59107. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_BACKSLASH$])
  59108. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
  59109. +m4trace:configure.ac:12: -1- AM_CONFIG_HEADER([config.h])
  59110. +m4trace:configure.ac:12: -1- _m4_warn([obsolete], ['AM_CONFIG_HEADER': this macro is obsolete.
  59111. +You should use the 'AC_CONFIG_HEADERS' macro instead.], [/usr/share/aclocal-1.16/obsolete.m4:11: AM_CONFIG_HEADER is expanded from...
  59112. +configure.ac:12: the top level])
  59113. +m4trace:configure.ac:15: -1- AM_PROG_LIBTOOL
  59114. +m4trace:configure.ac:15: -1- _m4_warn([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
  59115. +You should run autoupdate.], [m4/libtool.m4:103: AM_PROG_LIBTOOL is expanded from...
  59116. +configure.ac:15: the top level])
  59117. +m4trace:configure.ac:15: -1- LT_INIT
  59118. +m4trace:configure.ac:15: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
  59119. +m4trace:configure.ac:15: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
  59120. +m4trace:configure.ac:15: -1- LTOPTIONS_VERSION
  59121. +m4trace:configure.ac:15: -1- LTSUGAR_VERSION
  59122. +m4trace:configure.ac:15: -1- LTVERSION_VERSION
  59123. +m4trace:configure.ac:15: -1- LTOBSOLETE_VERSION
  59124. +m4trace:configure.ac:15: -1- _LT_PROG_LTMAIN
  59125. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBTOOL$])
  59126. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build$])
  59127. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_cpu$])
  59128. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_vendor$])
  59129. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_os$])
  59130. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host$])
  59131. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_cpu$])
  59132. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_vendor$])
  59133. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_os$])
  59134. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59135. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CFLAGS$])
  59136. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LDFLAGS$])
  59137. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBS$])
  59138. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
  59139. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59140. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59141. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59142. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59143. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_CC$])
  59144. +m4trace:configure.ac:15: -1- m4_pattern_allow([^EXEEXT$])
  59145. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJEXT$])
  59146. +m4trace:configure.ac:15: -1- _AM_PROG_CC_C_O
  59147. +m4trace:configure.ac:15: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
  59148. +m4trace:configure.ac:15: -1- _AM_DEPENDENCIES([CC])
  59149. +m4trace:configure.ac:15: -1- AM_SET_DEPDIR
  59150. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DEPDIR$])
  59151. +m4trace:configure.ac:15: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
  59152. +m4trace:configure.ac:15: -1- AM_MAKE_INCLUDE
  59153. +m4trace:configure.ac:15: -1- AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
  59154. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__include$])
  59155. +m4trace:configure.ac:15: -1- AM_DEP_TRACK
  59156. +m4trace:configure.ac:15: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  59157. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEP_TRUE$])
  59158. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEP_FALSE$])
  59159. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
  59160. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
  59161. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
  59162. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
  59163. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__nodep$])
  59164. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__nodep])
  59165. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CCDEPMODE$])
  59166. +m4trace:configure.ac:15: -1- AM_CONDITIONAL([am__fastdepCC], [
  59167. + test "x$enable_dependency_tracking" != xno \
  59168. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  59169. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  59170. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  59171. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  59172. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  59173. +m4trace:configure.ac:15: -1- LT_PATH_LD
  59174. +m4trace:configure.ac:15: -1- m4_pattern_allow([^SED$])
  59175. +m4trace:configure.ac:15: -1- AC_PROG_EGREP
  59176. +m4trace:configure.ac:15: -1- m4_pattern_allow([^GREP$])
  59177. +m4trace:configure.ac:15: -1- m4_pattern_allow([^EGREP$])
  59178. +m4trace:configure.ac:15: -1- m4_pattern_allow([^FGREP$])
  59179. +m4trace:configure.ac:15: -1- m4_pattern_allow([^GREP$])
  59180. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LD$])
  59181. +m4trace:configure.ac:15: -1- LT_PATH_NM
  59182. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DUMPBIN$])
  59183. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
  59184. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DUMPBIN$])
  59185. +m4trace:configure.ac:15: -1- m4_pattern_allow([^NM$])
  59186. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LN_S$])
  59187. +m4trace:configure.ac:15: -1- LT_CMD_MAX_LEN
  59188. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJDUMP$])
  59189. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJDUMP$])
  59190. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AR$])
  59191. +m4trace:configure.ac:15: -1- m4_pattern_allow([^STRIP$])
  59192. +m4trace:configure.ac:15: -1- m4_pattern_allow([^RANLIB$])
  59193. +m4trace:configure.ac:15: -1- m4_pattern_allow([LT_OBJDIR])
  59194. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LT_OBJDIR$])
  59195. +m4trace:configure.ac:15: -1- _LT_PROG_ECHO_BACKSLASH
  59196. +m4trace:configure.ac:15: -1- m4_pattern_allow([^lt_ECHO$])
  59197. +m4trace:configure.ac:15: -1- _LT_CC_BASENAME([$compiler])
  59198. +m4trace:configure.ac:15: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
  59199. +m4trace:configure.ac:15: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
  59200. +m4trace:configure.ac:15: -1- LT_SUPPORTED_TAG([CC])
  59201. +m4trace:configure.ac:15: -1- _LT_COMPILER_BOILERPLATE
  59202. +m4trace:configure.ac:15: -1- _LT_LINKER_BOILERPLATE
  59203. +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"])
  59204. +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
  59205. + "" | " "*) ;;
  59206. + *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
  59207. + esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
  59208. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
  59209. +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, )=])
  59210. +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...
  59211. +../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
  59212. +../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
  59213. +m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
  59214. +m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
  59215. +m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
  59216. +m4/libtool.m4:138: _LT_SETUP is expanded from...
  59217. +m4/libtool.m4:67: LT_INIT is expanded from...
  59218. +m4/libtool.m4:103: AM_PROG_LIBTOOL is expanded from...
  59219. +configure.ac:15: the top level])
  59220. +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...
  59221. +../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
  59222. +../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
  59223. +m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
  59224. +m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
  59225. +m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
  59226. +m4/libtool.m4:138: _LT_SETUP is expanded from...
  59227. +m4/libtool.m4:67: LT_INIT is expanded from...
  59228. +m4/libtool.m4:103: AM_PROG_LIBTOOL is expanded from...
  59229. +configure.ac:15: the top level])
  59230. +m4trace:configure.ac:15: -1- _LT_REQUIRED_DARWIN_CHECKS
  59231. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DSYMUTIL$])
  59232. +m4trace:configure.ac:15: -1- m4_pattern_allow([^NMEDIT$])
  59233. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIPO$])
  59234. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OTOOL$])
  59235. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OTOOL64$])
  59236. +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...
  59237. +../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
  59238. +../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
  59239. +m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
  59240. +m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
  59241. +m4/libtool.m4:138: _LT_SETUP is expanded from...
  59242. +m4/libtool.m4:67: LT_INIT is expanded from...
  59243. +m4/libtool.m4:103: AM_PROG_LIBTOOL is expanded from...
  59244. +configure.ac:15: the top level])
  59245. +m4trace:configure.ac:15: -1- LT_SYS_DLOPEN_SELF
  59246. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPP$])
  59247. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
  59248. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPP$])
  59249. +m4trace:configure.ac:15: -1- m4_pattern_allow([^STDC_HEADERS$])
  59250. +m4trace:configure.ac:15: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
  59251. +m4trace:configure.ac:16: -1- m4_pattern_allow([^LIBTOOL_DEPS$])
  59252. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59253. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CFLAGS$])
  59254. +m4trace:configure.ac:17: -1- m4_pattern_allow([^LDFLAGS$])
  59255. +m4trace:configure.ac:17: -1- m4_pattern_allow([^LIBS$])
  59256. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CPPFLAGS$])
  59257. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59258. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59259. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59260. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59261. +m4trace:configure.ac:17: -1- m4_pattern_allow([^ac_ct_CC$])
  59262. +m4trace:configure.ac:17: -1- _AM_PROG_CC_C_O
  59263. +m4trace:configure.ac:17: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
  59264. +m4trace:configure.ac:17: -1- _AM_DEPENDENCIES([CC])
  59265. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CCDEPMODE$])
  59266. +m4trace:configure.ac:17: -1- AM_CONDITIONAL([am__fastdepCC], [
  59267. + test "x$enable_dependency_tracking" != xno \
  59268. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  59269. +m4trace:configure.ac:17: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  59270. +m4trace:configure.ac:17: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  59271. +m4trace:configure.ac:17: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  59272. +m4trace:configure.ac:17: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  59273. +m4trace:configure.ac:20: -1- m4_pattern_allow([^INCLUDES$])
  59274. +m4trace:configure.ac:25: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
  59275. +You should run autoupdate.], [../../lib/autoconf/general.m4:2764: AC_TRY_RUN is expanded from...
  59276. +../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
  59277. +../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
  59278. +../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
  59279. +configure.ac:25: the top level])
  59280. +m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_SIGNED_SHIFT$])
  59281. +m4trace:configure.ac:34: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
  59282. +m4trace:configure.ac:34: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
  59283. +m4trace:configure.ac:35: -1- m4_pattern_allow([^SIZEOF_CHAR$])
  59284. +m4trace:configure.ac:36: -1- m4_pattern_allow([^SIZEOF_SHORT$])
  59285. +m4trace:configure.ac:37: -1- m4_pattern_allow([^SIZEOF_INT$])
  59286. +m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_LIBM$])
  59287. +m4trace:configure.ac:55: -1- m4_pattern_allow([^xfig$])
  59288. +m4trace:configure.ac:57: -1- m4_pattern_allow([^XFIG$])
  59289. +m4trace:configure.ac:59: -1- m4_pattern_allow([^xmag$])
  59290. +m4trace:configure.ac:61: -1- m4_pattern_allow([^XMAG$])
  59291. +m4trace:configure.ac:65: -1- m4_pattern_allow([^STDC_HEADERS$])
  59292. +m4trace:configure.ac:69: -1- m4_pattern_allow([^const$])
  59293. +m4trace:configure.ac:70: -1- m4_pattern_allow([^size_t$])
  59294. +m4trace:configure.ac:71: -1- m4_pattern_allow([^TIME_WITH_SYS_TIME$])
  59295. +m4trace:configure.ac:74: -1- m4_pattern_allow([^HAVE_VPRINTF$])
  59296. +m4trace:configure.ac:74: -1- m4_pattern_allow([^HAVE_DOPRNT$])
  59297. +m4trace:configure.ac:77: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
  59298. +You should run autoupdate.], [])
  59299. +m4trace:configure.ac:77: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  59300. +m4trace:configure.ac:77: -1- m4_pattern_allow([^LTLIBOBJS$])
  59301. +m4trace:configure.ac:77: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  59302. +m4trace:configure.ac:77: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  59303. +m4trace:configure.ac:77: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  59304. +m4trace:configure.ac:77: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  59305. +m4trace:configure.ac:77: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  59306. +m4trace:configure.ac:77: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
  59307. +m4trace:configure.ac:77: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
  59308. +m4trace:configure.ac:77: -1- AM_RUN_LOG([cd "$am_dirpart" \
  59309. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  59310. + | $MAKE -f - am--depfiles])
  59311. +m4trace:configure.ac:77: -1- _LT_PROG_LTMAIN
  59312. diff -Nru Fiasco-master/autom4te.cache/traces.1 Fiasco-master-pfiasco/autom4te.cache/traces.1
  59313. --- Fiasco-master/autom4te.cache/traces.1 1969-12-31 19:00:00.000000000 -0500
  59314. +++ Fiasco-master-pfiasco/autom4te.cache/traces.1 2019-06-17 21:04:51.877817574 -0400
  59315. @@ -0,0 +1,669 @@
  59316. +m4trace:aclocal.m4:679: -1- AC_SUBST([am__quote])
  59317. +m4trace:aclocal.m4:679: -1- AC_SUBST_TRACE([am__quote])
  59318. +m4trace:aclocal.m4:679: -1- m4_pattern_allow([^am__quote$])
  59319. +m4trace:aclocal.m4:1165: -1- m4_include([m4/libtool.m4])
  59320. +m4trace:aclocal.m4:1166: -1- m4_include([m4/ltoptions.m4])
  59321. +m4trace:aclocal.m4:1167: -1- m4_include([m4/ltsugar.m4])
  59322. +m4trace:aclocal.m4:1168: -1- m4_include([m4/ltversion.m4])
  59323. +m4trace:aclocal.m4:1169: -1- m4_include([m4/lt~obsolete.m4])
  59324. +m4trace:configure.ac:9: -1- AC_INIT([fiasco], [1.3])
  59325. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?A[CHUM]_])
  59326. +m4trace:configure.ac:9: -1- m4_pattern_forbid([_AC_])
  59327. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
  59328. +m4trace:configure.ac:9: -1- m4_pattern_allow([^AS_FLAGS$])
  59329. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?m4_])
  59330. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^dnl$])
  59331. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?AS_])
  59332. +m4trace:configure.ac:9: -1- AC_SUBST([SHELL])
  59333. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([SHELL])
  59334. +m4trace:configure.ac:9: -1- m4_pattern_allow([^SHELL$])
  59335. +m4trace:configure.ac:9: -1- AC_SUBST([PATH_SEPARATOR])
  59336. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
  59337. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PATH_SEPARATOR$])
  59338. +m4trace:configure.ac:9: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
  59339. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([PACKAGE_NAME])
  59340. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_NAME$])
  59341. +m4trace:configure.ac:9: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
  59342. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
  59343. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  59344. +m4trace:configure.ac:9: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
  59345. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
  59346. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  59347. +m4trace:configure.ac:9: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
  59348. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([PACKAGE_STRING])
  59349. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_STRING$])
  59350. +m4trace:configure.ac:9: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
  59351. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
  59352. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  59353. +m4trace:configure.ac:9: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
  59354. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([PACKAGE_URL])
  59355. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_URL$])
  59356. +m4trace:configure.ac:9: -1- AC_SUBST([exec_prefix], [NONE])
  59357. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([exec_prefix])
  59358. +m4trace:configure.ac:9: -1- m4_pattern_allow([^exec_prefix$])
  59359. +m4trace:configure.ac:9: -1- AC_SUBST([prefix], [NONE])
  59360. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([prefix])
  59361. +m4trace:configure.ac:9: -1- m4_pattern_allow([^prefix$])
  59362. +m4trace:configure.ac:9: -1- AC_SUBST([program_transform_name], [s,x,x,])
  59363. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([program_transform_name])
  59364. +m4trace:configure.ac:9: -1- m4_pattern_allow([^program_transform_name$])
  59365. +m4trace:configure.ac:9: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
  59366. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([bindir])
  59367. +m4trace:configure.ac:9: -1- m4_pattern_allow([^bindir$])
  59368. +m4trace:configure.ac:9: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
  59369. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([sbindir])
  59370. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sbindir$])
  59371. +m4trace:configure.ac:9: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
  59372. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([libexecdir])
  59373. +m4trace:configure.ac:9: -1- m4_pattern_allow([^libexecdir$])
  59374. +m4trace:configure.ac:9: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
  59375. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([datarootdir])
  59376. +m4trace:configure.ac:9: -1- m4_pattern_allow([^datarootdir$])
  59377. +m4trace:configure.ac:9: -1- AC_SUBST([datadir], ['${datarootdir}'])
  59378. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([datadir])
  59379. +m4trace:configure.ac:9: -1- m4_pattern_allow([^datadir$])
  59380. +m4trace:configure.ac:9: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
  59381. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([sysconfdir])
  59382. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sysconfdir$])
  59383. +m4trace:configure.ac:9: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
  59384. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([sharedstatedir])
  59385. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sharedstatedir$])
  59386. +m4trace:configure.ac:9: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
  59387. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([localstatedir])
  59388. +m4trace:configure.ac:9: -1- m4_pattern_allow([^localstatedir$])
  59389. +m4trace:configure.ac:9: -1- AC_SUBST([includedir], ['${prefix}/include'])
  59390. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([includedir])
  59391. +m4trace:configure.ac:9: -1- m4_pattern_allow([^includedir$])
  59392. +m4trace:configure.ac:9: -1- AC_SUBST([oldincludedir], ['/usr/include'])
  59393. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([oldincludedir])
  59394. +m4trace:configure.ac:9: -1- m4_pattern_allow([^oldincludedir$])
  59395. +m4trace:configure.ac:9: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
  59396. + ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
  59397. + ['${datarootdir}/doc/${PACKAGE}'])])
  59398. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([docdir])
  59399. +m4trace:configure.ac:9: -1- m4_pattern_allow([^docdir$])
  59400. +m4trace:configure.ac:9: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
  59401. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([infodir])
  59402. +m4trace:configure.ac:9: -1- m4_pattern_allow([^infodir$])
  59403. +m4trace:configure.ac:9: -1- AC_SUBST([htmldir], ['${docdir}'])
  59404. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([htmldir])
  59405. +m4trace:configure.ac:9: -1- m4_pattern_allow([^htmldir$])
  59406. +m4trace:configure.ac:9: -1- AC_SUBST([dvidir], ['${docdir}'])
  59407. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([dvidir])
  59408. +m4trace:configure.ac:9: -1- m4_pattern_allow([^dvidir$])
  59409. +m4trace:configure.ac:9: -1- AC_SUBST([pdfdir], ['${docdir}'])
  59410. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([pdfdir])
  59411. +m4trace:configure.ac:9: -1- m4_pattern_allow([^pdfdir$])
  59412. +m4trace:configure.ac:9: -1- AC_SUBST([psdir], ['${docdir}'])
  59413. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([psdir])
  59414. +m4trace:configure.ac:9: -1- m4_pattern_allow([^psdir$])
  59415. +m4trace:configure.ac:9: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
  59416. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([libdir])
  59417. +m4trace:configure.ac:9: -1- m4_pattern_allow([^libdir$])
  59418. +m4trace:configure.ac:9: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
  59419. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([localedir])
  59420. +m4trace:configure.ac:9: -1- m4_pattern_allow([^localedir$])
  59421. +m4trace:configure.ac:9: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
  59422. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([mandir])
  59423. +m4trace:configure.ac:9: -1- m4_pattern_allow([^mandir$])
  59424. +m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
  59425. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_NAME$])
  59426. +m4trace:configure.ac:9: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
  59427. +@%:@undef PACKAGE_NAME])
  59428. +m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
  59429. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  59430. +m4trace:configure.ac:9: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
  59431. +@%:@undef PACKAGE_TARNAME])
  59432. +m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
  59433. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  59434. +m4trace:configure.ac:9: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
  59435. +@%:@undef PACKAGE_VERSION])
  59436. +m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
  59437. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_STRING$])
  59438. +m4trace:configure.ac:9: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
  59439. +@%:@undef PACKAGE_STRING])
  59440. +m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
  59441. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  59442. +m4trace:configure.ac:9: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
  59443. +@%:@undef PACKAGE_BUGREPORT])
  59444. +m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
  59445. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_URL$])
  59446. +m4trace:configure.ac:9: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
  59447. +@%:@undef PACKAGE_URL])
  59448. +m4trace:configure.ac:9: -1- AC_SUBST([DEFS])
  59449. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DEFS])
  59450. +m4trace:configure.ac:9: -1- m4_pattern_allow([^DEFS$])
  59451. +m4trace:configure.ac:9: -1- AC_SUBST([ECHO_C])
  59452. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([ECHO_C])
  59453. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_C$])
  59454. +m4trace:configure.ac:9: -1- AC_SUBST([ECHO_N])
  59455. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([ECHO_N])
  59456. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_N$])
  59457. +m4trace:configure.ac:9: -1- AC_SUBST([ECHO_T])
  59458. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([ECHO_T])
  59459. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_T$])
  59460. +m4trace:configure.ac:9: -1- AC_SUBST([LIBS])
  59461. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LIBS])
  59462. +m4trace:configure.ac:9: -1- m4_pattern_allow([^LIBS$])
  59463. +m4trace:configure.ac:9: -1- AC_SUBST([build_alias])
  59464. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([build_alias])
  59465. +m4trace:configure.ac:9: -1- m4_pattern_allow([^build_alias$])
  59466. +m4trace:configure.ac:9: -1- AC_SUBST([host_alias])
  59467. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([host_alias])
  59468. +m4trace:configure.ac:9: -1- m4_pattern_allow([^host_alias$])
  59469. +m4trace:configure.ac:9: -1- AC_SUBST([target_alias])
  59470. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([target_alias])
  59471. +m4trace:configure.ac:9: -1- m4_pattern_allow([^target_alias$])
  59472. +m4trace:configure.ac:11: -1- AM_INIT_AUTOMAKE([])
  59473. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
  59474. +m4trace:configure.ac:11: -1- AM_AUTOMAKE_VERSION([1.16.1])
  59475. +m4trace:configure.ac:11: -1- AC_REQUIRE_AUX_FILE([install-sh])
  59476. +m4trace:configure.ac:11: -1- AC_SUBST([INSTALL_PROGRAM])
  59477. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
  59478. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
  59479. +m4trace:configure.ac:11: -1- AC_SUBST([INSTALL_SCRIPT])
  59480. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
  59481. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
  59482. +m4trace:configure.ac:11: -1- AC_SUBST([INSTALL_DATA])
  59483. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([INSTALL_DATA])
  59484. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_DATA$])
  59485. +m4trace:configure.ac:11: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
  59486. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([am__isrc])
  59487. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__isrc$])
  59488. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__isrc])
  59489. +m4trace:configure.ac:11: -1- AC_SUBST([CYGPATH_W])
  59490. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([CYGPATH_W])
  59491. +m4trace:configure.ac:11: -1- m4_pattern_allow([^CYGPATH_W$])
  59492. +m4trace:configure.ac:11: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
  59493. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([PACKAGE])
  59494. +m4trace:configure.ac:11: -1- m4_pattern_allow([^PACKAGE$])
  59495. +m4trace:configure.ac:11: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
  59496. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([VERSION])
  59497. +m4trace:configure.ac:11: -1- m4_pattern_allow([^VERSION$])
  59498. +m4trace:configure.ac:11: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
  59499. +m4trace:configure.ac:11: -1- m4_pattern_allow([^PACKAGE$])
  59500. +m4trace:configure.ac:11: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
  59501. +@%:@undef PACKAGE])
  59502. +m4trace:configure.ac:11: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
  59503. +m4trace:configure.ac:11: -1- m4_pattern_allow([^VERSION$])
  59504. +m4trace:configure.ac:11: -1- AH_OUTPUT([VERSION], [/* Version number of package */
  59505. +@%:@undef VERSION])
  59506. +m4trace:configure.ac:11: -1- AC_REQUIRE_AUX_FILE([missing])
  59507. +m4trace:configure.ac:11: -1- AC_SUBST([ACLOCAL])
  59508. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([ACLOCAL])
  59509. +m4trace:configure.ac:11: -1- m4_pattern_allow([^ACLOCAL$])
  59510. +m4trace:configure.ac:11: -1- AC_SUBST([AUTOCONF])
  59511. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AUTOCONF])
  59512. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOCONF$])
  59513. +m4trace:configure.ac:11: -1- AC_SUBST([AUTOMAKE])
  59514. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AUTOMAKE])
  59515. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOMAKE$])
  59516. +m4trace:configure.ac:11: -1- AC_SUBST([AUTOHEADER])
  59517. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AUTOHEADER])
  59518. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOHEADER$])
  59519. +m4trace:configure.ac:11: -1- AC_SUBST([MAKEINFO])
  59520. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([MAKEINFO])
  59521. +m4trace:configure.ac:11: -1- m4_pattern_allow([^MAKEINFO$])
  59522. +m4trace:configure.ac:11: -1- AC_SUBST([install_sh])
  59523. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([install_sh])
  59524. +m4trace:configure.ac:11: -1- m4_pattern_allow([^install_sh$])
  59525. +m4trace:configure.ac:11: -1- AC_SUBST([STRIP])
  59526. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([STRIP])
  59527. +m4trace:configure.ac:11: -1- m4_pattern_allow([^STRIP$])
  59528. +m4trace:configure.ac:11: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
  59529. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
  59530. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
  59531. +m4trace:configure.ac:11: -1- AC_REQUIRE_AUX_FILE([install-sh])
  59532. +m4trace:configure.ac:11: -1- AC_SUBST([MKDIR_P])
  59533. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([MKDIR_P])
  59534. +m4trace:configure.ac:11: -1- m4_pattern_allow([^MKDIR_P$])
  59535. +m4trace:configure.ac:11: -1- AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  59536. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([mkdir_p])
  59537. +m4trace:configure.ac:11: -1- m4_pattern_allow([^mkdir_p$])
  59538. +m4trace:configure.ac:11: -1- AC_SUBST([AWK])
  59539. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AWK])
  59540. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AWK$])
  59541. +m4trace:configure.ac:11: -1- AC_SUBST([SET_MAKE])
  59542. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([SET_MAKE])
  59543. +m4trace:configure.ac:11: -1- m4_pattern_allow([^SET_MAKE$])
  59544. +m4trace:configure.ac:11: -1- AC_SUBST([am__leading_dot])
  59545. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([am__leading_dot])
  59546. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__leading_dot$])
  59547. +m4trace:configure.ac:11: -1- AC_SUBST([AMTAR], ['$${TAR-tar}'])
  59548. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AMTAR])
  59549. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AMTAR$])
  59550. +m4trace:configure.ac:11: -1- AC_SUBST([am__tar])
  59551. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([am__tar])
  59552. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__tar$])
  59553. +m4trace:configure.ac:11: -1- AC_SUBST([am__untar])
  59554. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([am__untar])
  59555. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__untar$])
  59556. +m4trace:configure.ac:11: -1- AM_SILENT_RULES
  59557. +m4trace:configure.ac:11: -1- AC_SUBST([AM_V])
  59558. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AM_V])
  59559. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_V$])
  59560. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_V])
  59561. +m4trace:configure.ac:11: -1- AC_SUBST([AM_DEFAULT_V])
  59562. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AM_DEFAULT_V])
  59563. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_DEFAULT_V$])
  59564. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  59565. +m4trace:configure.ac:11: -1- AC_SUBST([AM_DEFAULT_VERBOSITY])
  59566. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AM_DEFAULT_VERBOSITY])
  59567. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
  59568. +m4trace:configure.ac:11: -1- AC_SUBST([AM_BACKSLASH])
  59569. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AM_BACKSLASH])
  59570. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_BACKSLASH$])
  59571. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
  59572. +m4trace:configure.ac:12: -1- _m4_warn([obsolete], ['AM_CONFIG_HEADER': this macro is obsolete.
  59573. +You should use the 'AC_CONFIG_HEADERS' macro instead.], [aclocal.m4:730: AM_CONFIG_HEADER is expanded from...
  59574. +configure.ac:12: the top level])
  59575. +m4trace:configure.ac:12: -1- AC_CONFIG_HEADERS([config.h])
  59576. +m4trace:configure.ac:15: -1- _m4_warn([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
  59577. +You should run autoupdate.], [m4/libtool.m4:100: AM_PROG_LIBTOOL is expanded from...
  59578. +configure.ac:15: the top level])
  59579. +m4trace:configure.ac:15: -1- LT_INIT
  59580. +m4trace:configure.ac:15: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
  59581. +m4trace:configure.ac:15: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
  59582. +m4trace:configure.ac:15: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
  59583. +m4trace:configure.ac:15: -1- AC_SUBST([LIBTOOL])
  59584. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LIBTOOL])
  59585. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBTOOL$])
  59586. +m4trace:configure.ac:15: -1- AC_CANONICAL_HOST
  59587. +m4trace:configure.ac:15: -1- AC_CANONICAL_BUILD
  59588. +m4trace:configure.ac:15: -1- AC_REQUIRE_AUX_FILE([config.sub])
  59589. +m4trace:configure.ac:15: -1- AC_REQUIRE_AUX_FILE([config.guess])
  59590. +m4trace:configure.ac:15: -1- AC_SUBST([build], [$ac_cv_build])
  59591. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([build])
  59592. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build$])
  59593. +m4trace:configure.ac:15: -1- AC_SUBST([build_cpu], [$[1]])
  59594. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([build_cpu])
  59595. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_cpu$])
  59596. +m4trace:configure.ac:15: -1- AC_SUBST([build_vendor], [$[2]])
  59597. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([build_vendor])
  59598. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_vendor$])
  59599. +m4trace:configure.ac:15: -1- AC_SUBST([build_os])
  59600. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([build_os])
  59601. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_os$])
  59602. +m4trace:configure.ac:15: -1- AC_SUBST([host], [$ac_cv_host])
  59603. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([host])
  59604. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host$])
  59605. +m4trace:configure.ac:15: -1- AC_SUBST([host_cpu], [$[1]])
  59606. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([host_cpu])
  59607. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_cpu$])
  59608. +m4trace:configure.ac:15: -1- AC_SUBST([host_vendor], [$[2]])
  59609. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([host_vendor])
  59610. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_vendor$])
  59611. +m4trace:configure.ac:15: -1- AC_SUBST([host_os])
  59612. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([host_os])
  59613. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_os$])
  59614. +m4trace:configure.ac:15: -1- AC_SUBST([CC])
  59615. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
  59616. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59617. +m4trace:configure.ac:15: -1- AC_SUBST([CFLAGS])
  59618. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CFLAGS])
  59619. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CFLAGS$])
  59620. +m4trace:configure.ac:15: -1- AC_SUBST([LDFLAGS])
  59621. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LDFLAGS])
  59622. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LDFLAGS$])
  59623. +m4trace:configure.ac:15: -1- AC_SUBST([LIBS])
  59624. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LIBS])
  59625. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBS$])
  59626. +m4trace:configure.ac:15: -1- AC_SUBST([CPPFLAGS])
  59627. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CPPFLAGS])
  59628. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
  59629. +m4trace:configure.ac:15: -1- AC_SUBST([CC])
  59630. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
  59631. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59632. +m4trace:configure.ac:15: -1- AC_SUBST([CC])
  59633. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
  59634. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59635. +m4trace:configure.ac:15: -1- AC_SUBST([CC])
  59636. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
  59637. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59638. +m4trace:configure.ac:15: -1- AC_SUBST([CC])
  59639. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
  59640. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59641. +m4trace:configure.ac:15: -1- AC_SUBST([ac_ct_CC])
  59642. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([ac_ct_CC])
  59643. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_CC$])
  59644. +m4trace:configure.ac:15: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
  59645. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([EXEEXT])
  59646. +m4trace:configure.ac:15: -1- m4_pattern_allow([^EXEEXT$])
  59647. +m4trace:configure.ac:15: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
  59648. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([OBJEXT])
  59649. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJEXT$])
  59650. +m4trace:configure.ac:15: -1- AC_REQUIRE_AUX_FILE([compile])
  59651. +m4trace:configure.ac:15: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
  59652. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([DEPDIR])
  59653. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DEPDIR$])
  59654. +m4trace:configure.ac:15: -1- AC_SUBST([am__include])
  59655. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__include])
  59656. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__include$])
  59657. +m4trace:configure.ac:15: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  59658. +m4trace:configure.ac:15: -1- AC_SUBST([AMDEP_TRUE])
  59659. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([AMDEP_TRUE])
  59660. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEP_TRUE$])
  59661. +m4trace:configure.ac:15: -1- AC_SUBST([AMDEP_FALSE])
  59662. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([AMDEP_FALSE])
  59663. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEP_FALSE$])
  59664. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
  59665. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
  59666. +m4trace:configure.ac:15: -1- AC_SUBST([AMDEPBACKSLASH])
  59667. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
  59668. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
  59669. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
  59670. +m4trace:configure.ac:15: -1- AC_SUBST([am__nodep])
  59671. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__nodep])
  59672. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__nodep$])
  59673. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__nodep])
  59674. +m4trace:configure.ac:15: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
  59675. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CCDEPMODE])
  59676. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CCDEPMODE$])
  59677. +m4trace:configure.ac:15: -1- AM_CONDITIONAL([am__fastdepCC], [
  59678. + test "x$enable_dependency_tracking" != xno \
  59679. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  59680. +m4trace:configure.ac:15: -1- AC_SUBST([am__fastdepCC_TRUE])
  59681. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
  59682. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  59683. +m4trace:configure.ac:15: -1- AC_SUBST([am__fastdepCC_FALSE])
  59684. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
  59685. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  59686. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  59687. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  59688. +m4trace:configure.ac:15: -1- AC_SUBST([SED])
  59689. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([SED])
  59690. +m4trace:configure.ac:15: -1- m4_pattern_allow([^SED$])
  59691. +m4trace:configure.ac:15: -1- AC_SUBST([GREP])
  59692. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([GREP])
  59693. +m4trace:configure.ac:15: -1- m4_pattern_allow([^GREP$])
  59694. +m4trace:configure.ac:15: -1- AC_SUBST([EGREP])
  59695. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([EGREP])
  59696. +m4trace:configure.ac:15: -1- m4_pattern_allow([^EGREP$])
  59697. +m4trace:configure.ac:15: -1- AC_SUBST([FGREP])
  59698. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([FGREP])
  59699. +m4trace:configure.ac:15: -1- m4_pattern_allow([^FGREP$])
  59700. +m4trace:configure.ac:15: -1- AC_SUBST([GREP])
  59701. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([GREP])
  59702. +m4trace:configure.ac:15: -1- m4_pattern_allow([^GREP$])
  59703. +m4trace:configure.ac:15: -1- AC_SUBST([LD])
  59704. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LD])
  59705. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LD$])
  59706. +m4trace:configure.ac:15: -1- AC_SUBST([DUMPBIN])
  59707. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([DUMPBIN])
  59708. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DUMPBIN$])
  59709. +m4trace:configure.ac:15: -1- AC_SUBST([ac_ct_DUMPBIN])
  59710. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
  59711. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
  59712. +m4trace:configure.ac:15: -1- AC_SUBST([DUMPBIN])
  59713. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([DUMPBIN])
  59714. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DUMPBIN$])
  59715. +m4trace:configure.ac:15: -1- AC_SUBST([NM])
  59716. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([NM])
  59717. +m4trace:configure.ac:15: -1- m4_pattern_allow([^NM$])
  59718. +m4trace:configure.ac:15: -1- AC_SUBST([LN_S], [$as_ln_s])
  59719. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LN_S])
  59720. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LN_S$])
  59721. +m4trace:configure.ac:15: -1- AC_SUBST([OBJDUMP])
  59722. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([OBJDUMP])
  59723. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJDUMP$])
  59724. +m4trace:configure.ac:15: -1- AC_SUBST([OBJDUMP])
  59725. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([OBJDUMP])
  59726. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJDUMP$])
  59727. +m4trace:configure.ac:15: -1- AC_SUBST([DLLTOOL])
  59728. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([DLLTOOL])
  59729. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DLLTOOL$])
  59730. +m4trace:configure.ac:15: -1- AC_SUBST([DLLTOOL])
  59731. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([DLLTOOL])
  59732. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DLLTOOL$])
  59733. +m4trace:configure.ac:15: -1- AC_SUBST([AR])
  59734. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([AR])
  59735. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AR$])
  59736. +m4trace:configure.ac:15: -1- AC_SUBST([ac_ct_AR])
  59737. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([ac_ct_AR])
  59738. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_AR$])
  59739. +m4trace:configure.ac:15: -1- AC_SUBST([STRIP])
  59740. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([STRIP])
  59741. +m4trace:configure.ac:15: -1- m4_pattern_allow([^STRIP$])
  59742. +m4trace:configure.ac:15: -1- AC_SUBST([RANLIB])
  59743. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([RANLIB])
  59744. +m4trace:configure.ac:15: -1- m4_pattern_allow([^RANLIB$])
  59745. +m4trace:configure.ac:15: -1- m4_pattern_allow([LT_OBJDIR])
  59746. +m4trace:configure.ac:15: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
  59747. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LT_OBJDIR$])
  59748. +m4trace:configure.ac:15: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory where libtool stores uninstalled libraries. */
  59749. +@%:@undef LT_OBJDIR])
  59750. +m4trace:configure.ac:15: -1- LT_SUPPORTED_TAG([CC])
  59751. +m4trace:configure.ac:15: -1- AC_SUBST([MANIFEST_TOOL])
  59752. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([MANIFEST_TOOL])
  59753. +m4trace:configure.ac:15: -1- m4_pattern_allow([^MANIFEST_TOOL$])
  59754. +m4trace:configure.ac:15: -1- AC_SUBST([DSYMUTIL])
  59755. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([DSYMUTIL])
  59756. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DSYMUTIL$])
  59757. +m4trace:configure.ac:15: -1- AC_SUBST([NMEDIT])
  59758. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([NMEDIT])
  59759. +m4trace:configure.ac:15: -1- m4_pattern_allow([^NMEDIT$])
  59760. +m4trace:configure.ac:15: -1- AC_SUBST([LIPO])
  59761. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LIPO])
  59762. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIPO$])
  59763. +m4trace:configure.ac:15: -1- AC_SUBST([OTOOL])
  59764. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([OTOOL])
  59765. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OTOOL$])
  59766. +m4trace:configure.ac:15: -1- AC_SUBST([OTOOL64])
  59767. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([OTOOL64])
  59768. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OTOOL64$])
  59769. +m4trace:configure.ac:15: -1- AC_SUBST([LT_SYS_LIBRARY_PATH])
  59770. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LT_SYS_LIBRARY_PATH])
  59771. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$])
  59772. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
  59773. +@%:@undef HAVE_DLFCN_H])
  59774. +m4trace:configure.ac:15: -1- AC_SUBST([CPP])
  59775. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CPP])
  59776. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPP$])
  59777. +m4trace:configure.ac:15: -1- AC_SUBST([CPPFLAGS])
  59778. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CPPFLAGS])
  59779. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
  59780. +m4trace:configure.ac:15: -1- AC_SUBST([CPP])
  59781. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CPP])
  59782. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPP$])
  59783. +m4trace:configure.ac:15: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
  59784. +m4trace:configure.ac:15: -1- m4_pattern_allow([^STDC_HEADERS$])
  59785. +m4trace:configure.ac:15: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
  59786. +@%:@undef STDC_HEADERS])
  59787. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
  59788. +@%:@undef HAVE_SYS_TYPES_H])
  59789. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
  59790. +@%:@undef HAVE_SYS_STAT_H])
  59791. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
  59792. +@%:@undef HAVE_STDLIB_H])
  59793. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
  59794. +@%:@undef HAVE_STRING_H])
  59795. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
  59796. +@%:@undef HAVE_MEMORY_H])
  59797. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
  59798. +@%:@undef HAVE_STRINGS_H])
  59799. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
  59800. +@%:@undef HAVE_INTTYPES_H])
  59801. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
  59802. +@%:@undef HAVE_STDINT_H])
  59803. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  59804. +@%:@undef HAVE_UNISTD_H])
  59805. +m4trace:configure.ac:15: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
  59806. +m4trace:configure.ac:15: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
  59807. +m4trace:configure.ac:16: -1- AC_SUBST([LIBTOOL_DEPS])
  59808. +m4trace:configure.ac:16: -1- AC_SUBST_TRACE([LIBTOOL_DEPS])
  59809. +m4trace:configure.ac:16: -1- m4_pattern_allow([^LIBTOOL_DEPS$])
  59810. +m4trace:configure.ac:17: -1- AC_SUBST([CC])
  59811. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([CC])
  59812. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59813. +m4trace:configure.ac:17: -1- AC_SUBST([CFLAGS])
  59814. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([CFLAGS])
  59815. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CFLAGS$])
  59816. +m4trace:configure.ac:17: -1- AC_SUBST([LDFLAGS])
  59817. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([LDFLAGS])
  59818. +m4trace:configure.ac:17: -1- m4_pattern_allow([^LDFLAGS$])
  59819. +m4trace:configure.ac:17: -1- AC_SUBST([LIBS])
  59820. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([LIBS])
  59821. +m4trace:configure.ac:17: -1- m4_pattern_allow([^LIBS$])
  59822. +m4trace:configure.ac:17: -1- AC_SUBST([CPPFLAGS])
  59823. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([CPPFLAGS])
  59824. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CPPFLAGS$])
  59825. +m4trace:configure.ac:17: -1- AC_SUBST([CC])
  59826. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([CC])
  59827. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59828. +m4trace:configure.ac:17: -1- AC_SUBST([CC])
  59829. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([CC])
  59830. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59831. +m4trace:configure.ac:17: -1- AC_SUBST([CC])
  59832. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([CC])
  59833. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59834. +m4trace:configure.ac:17: -1- AC_SUBST([CC])
  59835. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([CC])
  59836. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59837. +m4trace:configure.ac:17: -1- AC_SUBST([ac_ct_CC])
  59838. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([ac_ct_CC])
  59839. +m4trace:configure.ac:17: -1- m4_pattern_allow([^ac_ct_CC$])
  59840. +m4trace:configure.ac:17: -1- AC_REQUIRE_AUX_FILE([compile])
  59841. +m4trace:configure.ac:17: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
  59842. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([CCDEPMODE])
  59843. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CCDEPMODE$])
  59844. +m4trace:configure.ac:17: -1- AM_CONDITIONAL([am__fastdepCC], [
  59845. + test "x$enable_dependency_tracking" != xno \
  59846. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  59847. +m4trace:configure.ac:17: -1- AC_SUBST([am__fastdepCC_TRUE])
  59848. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
  59849. +m4trace:configure.ac:17: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  59850. +m4trace:configure.ac:17: -1- AC_SUBST([am__fastdepCC_FALSE])
  59851. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
  59852. +m4trace:configure.ac:17: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  59853. +m4trace:configure.ac:17: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  59854. +m4trace:configure.ac:17: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  59855. +m4trace:configure.ac:20: -1- AC_SUBST([AM_CPPFLAGS])
  59856. +m4trace:configure.ac:20: -1- AC_SUBST_TRACE([AM_CPPFLAGS])
  59857. +m4trace:configure.ac:20: -1- m4_pattern_allow([^AM_CPPFLAGS$])
  59858. +m4trace:configure.ac:25: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
  59859. +You should run autoupdate.], [../../lib/autoconf/general.m4:2764: AC_TRY_RUN is expanded from...
  59860. +../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
  59861. +../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
  59862. +../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
  59863. +configure.ac:25: the top level])
  59864. +m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGNED_SHIFT])
  59865. +m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_SIGNED_SHIFT$])
  59866. +m4trace:configure.ac:34: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  59867. + significant byte first (like Motorola and SPARC, unlike Intel). */
  59868. +#if defined AC_APPLE_UNIVERSAL_BUILD
  59869. +# if defined __BIG_ENDIAN__
  59870. +# define WORDS_BIGENDIAN 1
  59871. +# endif
  59872. +#else
  59873. +# ifndef WORDS_BIGENDIAN
  59874. +# undef WORDS_BIGENDIAN
  59875. +# endif
  59876. +#endif])
  59877. +m4trace:configure.ac:34: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
  59878. +m4trace:configure.ac:34: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
  59879. +m4trace:configure.ac:34: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD])
  59880. +m4trace:configure.ac:34: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
  59881. +m4trace:configure.ac:34: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */
  59882. +@%:@undef AC_APPLE_UNIVERSAL_BUILD])
  59883. +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_CHAR])
  59884. +m4trace:configure.ac:35: -1- m4_pattern_allow([^SIZEOF_CHAR$])
  59885. +m4trace:configure.ac:35: -1- AH_OUTPUT([SIZEOF_CHAR], [/* The size of `char\', as computed by sizeof. */
  59886. +@%:@undef SIZEOF_CHAR])
  59887. +m4trace:configure.ac:36: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_SHORT])
  59888. +m4trace:configure.ac:36: -1- m4_pattern_allow([^SIZEOF_SHORT$])
  59889. +m4trace:configure.ac:36: -1- AH_OUTPUT([SIZEOF_SHORT], [/* The size of `short\', as computed by sizeof. */
  59890. +@%:@undef SIZEOF_SHORT])
  59891. +m4trace:configure.ac:37: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_INT])
  59892. +m4trace:configure.ac:37: -1- m4_pattern_allow([^SIZEOF_INT$])
  59893. +m4trace:configure.ac:37: -1- AH_OUTPUT([SIZEOF_INT], [/* The size of `int\', as computed by sizeof. */
  59894. +@%:@undef SIZEOF_INT])
  59895. +m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_LIBM], [/* Define to 1 if you have the `m\' library (-lm). */
  59896. +@%:@undef HAVE_LIBM])
  59897. +m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBM])
  59898. +m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_LIBM$])
  59899. +m4trace:configure.ac:55: -1- AC_SUBST([xfig])
  59900. +m4trace:configure.ac:55: -1- AC_SUBST_TRACE([xfig])
  59901. +m4trace:configure.ac:55: -1- m4_pattern_allow([^xfig$])
  59902. +m4trace:configure.ac:57: -1- AC_DEFINE_TRACE_LITERAL([XFIG])
  59903. +m4trace:configure.ac:57: -1- m4_pattern_allow([^XFIG$])
  59904. +m4trace:configure.ac:57: -1- AH_OUTPUT([XFIG], [/* Define path of xfig utility */
  59905. +@%:@undef XFIG])
  59906. +m4trace:configure.ac:59: -1- AC_SUBST([xmag])
  59907. +m4trace:configure.ac:59: -1- AC_SUBST_TRACE([xmag])
  59908. +m4trace:configure.ac:59: -1- m4_pattern_allow([^xmag$])
  59909. +m4trace:configure.ac:61: -1- AC_DEFINE_TRACE_LITERAL([XMAG])
  59910. +m4trace:configure.ac:61: -1- m4_pattern_allow([^XMAG$])
  59911. +m4trace:configure.ac:61: -1- AH_OUTPUT([XMAG], [/* Define path of xmag utility */
  59912. +@%:@undef XMAG])
  59913. +m4trace:configure.ac:65: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
  59914. +m4trace:configure.ac:65: -1- m4_pattern_allow([^STDC_HEADERS$])
  59915. +m4trace:configure.ac:65: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
  59916. +@%:@undef STDC_HEADERS])
  59917. +m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_ASSERT_H], [/* Define to 1 if you have the <assert.h> header file. */
  59918. +@%:@undef HAVE_ASSERT_H])
  59919. +m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_FEATURES_H], [/* Define to 1 if you have the <features.h> header file. */
  59920. +@%:@undef HAVE_FEATURES_H])
  59921. +m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_SETJMP_H], [/* Define to 1 if you have the <setjmp.h> header file. */
  59922. +@%:@undef HAVE_SETJMP_H])
  59923. +m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
  59924. +@%:@undef HAVE_STRING_H])
  59925. +m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  59926. +@%:@undef HAVE_UNISTD_H])
  59927. +m4trace:configure.ac:69: -1- AC_DEFINE_TRACE_LITERAL([const])
  59928. +m4trace:configure.ac:69: -1- m4_pattern_allow([^const$])
  59929. +m4trace:configure.ac:69: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
  59930. +@%:@undef const])
  59931. +m4trace:configure.ac:70: -1- AC_DEFINE_TRACE_LITERAL([size_t])
  59932. +m4trace:configure.ac:70: -1- m4_pattern_allow([^size_t$])
  59933. +m4trace:configure.ac:70: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
  59934. +@%:@undef size_t])
  59935. +m4trace:configure.ac:71: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
  59936. +m4trace:configure.ac:71: -1- m4_pattern_allow([^TIME_WITH_SYS_TIME$])
  59937. +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>. */
  59938. +@%:@undef TIME_WITH_SYS_TIME])
  59939. +m4trace:configure.ac:74: -1- AH_OUTPUT([HAVE_VPRINTF], [/* Define to 1 if you have the `vprintf\' function. */
  59940. +@%:@undef HAVE_VPRINTF])
  59941. +m4trace:configure.ac:74: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VPRINTF])
  59942. +m4trace:configure.ac:74: -1- m4_pattern_allow([^HAVE_VPRINTF$])
  59943. +m4trace:configure.ac:74: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DOPRNT])
  59944. +m4trace:configure.ac:74: -1- m4_pattern_allow([^HAVE_DOPRNT$])
  59945. +m4trace:configure.ac:74: -1- AH_OUTPUT([HAVE_DOPRNT], [/* Define to 1 if you don\'t have `vprintf\' but do have `_doprnt.\' */
  59946. +@%:@undef HAVE_DOPRNT])
  59947. +m4trace:configure.ac:75: -1- AH_OUTPUT([HAVE_LOG2], [/* Define to 1 if you have the `log2\' function. */
  59948. +@%:@undef HAVE_LOG2])
  59949. +m4trace:configure.ac:75: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the `memmove\' function. */
  59950. +@%:@undef HAVE_MEMMOVE])
  59951. +m4trace:configure.ac:75: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */
  59952. +@%:@undef HAVE_STRDUP])
  59953. +m4trace:configure.ac:75: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define to 1 if you have the `strcasecmp\' function. */
  59954. +@%:@undef HAVE_STRCASECMP])
  59955. +m4trace:configure.ac:77: -1- AC_CONFIG_FILES([Makefile data/Makefile doc/Makefile lib/Makefile input/Makefile output/Makefile codec/Makefile bin/Makefile])
  59956. +m4trace:configure.ac:77: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
  59957. +You should run autoupdate.], [])
  59958. +m4trace:configure.ac:77: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
  59959. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
  59960. +m4trace:configure.ac:77: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  59961. +m4trace:configure.ac:77: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
  59962. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([LTLIBOBJS])
  59963. +m4trace:configure.ac:77: -1- m4_pattern_allow([^LTLIBOBJS$])
  59964. +m4trace:configure.ac:77: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  59965. +m4trace:configure.ac:77: -1- AC_SUBST([am__EXEEXT_TRUE])
  59966. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
  59967. +m4trace:configure.ac:77: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  59968. +m4trace:configure.ac:77: -1- AC_SUBST([am__EXEEXT_FALSE])
  59969. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
  59970. +m4trace:configure.ac:77: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  59971. +m4trace:configure.ac:77: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  59972. +m4trace:configure.ac:77: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  59973. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([top_builddir])
  59974. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([top_build_prefix])
  59975. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([srcdir])
  59976. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([abs_srcdir])
  59977. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([top_srcdir])
  59978. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([abs_top_srcdir])
  59979. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([builddir])
  59980. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([abs_builddir])
  59981. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([abs_top_builddir])
  59982. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([INSTALL])
  59983. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([MKDIR_P])
  59984. +m4trace:configure.ac:77: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
  59985. diff -Nru Fiasco-master/autom4te.cache/traces.2 Fiasco-master-pfiasco/autom4te.cache/traces.2
  59986. --- Fiasco-master/autom4te.cache/traces.2 1969-12-31 19:00:00.000000000 -0500
  59987. +++ Fiasco-master-pfiasco/autom4te.cache/traces.2 2019-06-17 21:04:56.799785252 -0400
  59988. @@ -0,0 +1,2752 @@
  59989. +m4trace:/usr/share/aclocal/ltargz.m4:12: -1- AC_DEFUN([LT_FUNC_ARGZ], [
  59990. +AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
  59991. +
  59992. +AC_CHECK_TYPES([error_t],
  59993. + [],
  59994. + [AC_DEFINE([error_t], [int],
  59995. + [Define to a type to use for 'error_t' if it is not otherwise available.])
  59996. + AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
  59997. + does not typedef error_t.])],
  59998. + [#if defined(HAVE_ARGZ_H)
  59999. +# include <argz.h>
  60000. +#endif])
  60001. +
  60002. +LT_ARGZ_H=
  60003. +AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
  60004. + argz_next argz_stringify], [], [LT_ARGZ_H=lt__argz.h; AC_LIBOBJ([lt__argz])])
  60005. +
  60006. +dnl if have system argz functions, allow forced use of
  60007. +dnl libltdl-supplied implementation (and default to do so
  60008. +dnl on "known bad" systems). Could use a runtime check, but
  60009. +dnl (a) detecting malloc issues is notoriously unreliable
  60010. +dnl (b) only known system that declares argz functions,
  60011. +dnl provides them, yet they are broken, is cygwin
  60012. +dnl releases prior to 16-Mar-2007 (1.5.24 and earlier)
  60013. +dnl So, it's more straightforward simply to special case
  60014. +dnl this for known bad systems.
  60015. +AS_IF([test -z "$LT_ARGZ_H"],
  60016. + [AC_CACHE_CHECK(
  60017. + [if argz actually works],
  60018. + [lt_cv_sys_argz_works],
  60019. + [[case $host_os in #(
  60020. + *cygwin*)
  60021. + lt_cv_sys_argz_works=no
  60022. + if test no != "$cross_compiling"; then
  60023. + lt_cv_sys_argz_works="guessing no"
  60024. + else
  60025. + lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
  60026. + save_IFS=$IFS
  60027. + IFS=-.
  60028. + set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
  60029. + IFS=$save_IFS
  60030. + lt_os_major=${2-0}
  60031. + lt_os_minor=${3-0}
  60032. + lt_os_micro=${4-0}
  60033. + if test 1 -lt "$lt_os_major" \
  60034. + || { test 1 -eq "$lt_os_major" \
  60035. + && { test 5 -lt "$lt_os_minor" \
  60036. + || { test 5 -eq "$lt_os_minor" \
  60037. + && test 24 -lt "$lt_os_micro"; }; }; }; then
  60038. + lt_cv_sys_argz_works=yes
  60039. + fi
  60040. + fi
  60041. + ;; #(
  60042. + *) lt_cv_sys_argz_works=yes ;;
  60043. + esac]])
  60044. + AS_IF([test yes = "$lt_cv_sys_argz_works"],
  60045. + [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
  60046. + [This value is set to 1 to indicate that the system argz facility works])],
  60047. + [LT_ARGZ_H=lt__argz.h
  60048. + AC_LIBOBJ([lt__argz])])])
  60049. +
  60050. +AC_SUBST([LT_ARGZ_H])
  60051. +])
  60052. +m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
  60053. +_$0($*)
  60054. +])
  60055. +m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
  60056. +dnl Although the argument is deprecated and no longer documented,
  60057. +dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
  60058. +dnl here make sure it is the same as any other declaration of libltdl's
  60059. +dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
  60060. +dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
  60061. +m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
  60062. +_$0()
  60063. +])
  60064. +m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  60065. +_LTDL_CONVENIENCE])
  60066. +m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
  60067. +You should run autoupdate.])dnl
  60068. +_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  60069. +_LTDL_CONVENIENCE])
  60070. +m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
  60071. +dnl Although the argument is deprecated and no longer documented,
  60072. +dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
  60073. +dnl here make sure it is the same as any other declaration of libltdl's
  60074. +dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
  60075. +dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
  60076. +m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
  60077. +_$0()
  60078. +])
  60079. +m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  60080. +_LTDL_INSTALLABLE])
  60081. +m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
  60082. +You should run autoupdate.])dnl
  60083. +_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  60084. +_LTDL_INSTALLABLE])
  60085. +m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
  60086. + m4_pattern_allow([^_LT_LIBOBJS$])
  60087. + _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
  60088. +])
  60089. +m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
  60090. +_LT_SET_OPTIONS([$0], [$1])
  60091. +
  60092. +dnl We need to keep our own list of libobjs separate from our parent project,
  60093. +dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
  60094. +dnl we look for our own LIBOBJs.
  60095. +m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
  60096. +m4_pushdef([AC_LIBSOURCES])
  60097. +
  60098. +dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
  60099. +m4_if(_LTDL_MODE, [],
  60100. + [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
  60101. + m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
  60102. + [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
  60103. +
  60104. +AC_ARG_WITH([included_ltdl],
  60105. + [AS_HELP_STRING([--with-included-ltdl],
  60106. + [use the GNU ltdl sources included here])])
  60107. +
  60108. +if test yes != "$with_included_ltdl"; then
  60109. + # We are not being forced to use the included libltdl sources, so
  60110. + # decide whether there is a useful installed version we can use.
  60111. + AC_CHECK_HEADER([ltdl.h],
  60112. + [AC_CHECK_DECL([lt_dlinterface_register],
  60113. + [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
  60114. + [with_included_ltdl=no],
  60115. + [with_included_ltdl=yes])],
  60116. + [with_included_ltdl=yes],
  60117. + [AC_INCLUDES_DEFAULT
  60118. + #include <ltdl.h>])],
  60119. + [with_included_ltdl=yes],
  60120. + [AC_INCLUDES_DEFAULT]
  60121. + )
  60122. +fi
  60123. +
  60124. +dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
  60125. +dnl was called yet, then for old times' sake, we assume libltdl is in an
  60126. +dnl eponymous directory:
  60127. +AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
  60128. +
  60129. +AC_ARG_WITH([ltdl_include],
  60130. + [AS_HELP_STRING([--with-ltdl-include=DIR],
  60131. + [use the ltdl headers installed in DIR])])
  60132. +
  60133. +if test -n "$with_ltdl_include"; then
  60134. + if test -f "$with_ltdl_include/ltdl.h"; then :
  60135. + else
  60136. + AC_MSG_ERROR([invalid ltdl include directory: '$with_ltdl_include'])
  60137. + fi
  60138. +else
  60139. + with_ltdl_include=no
  60140. +fi
  60141. +
  60142. +AC_ARG_WITH([ltdl_lib],
  60143. + [AS_HELP_STRING([--with-ltdl-lib=DIR],
  60144. + [use the libltdl.la installed in DIR])])
  60145. +
  60146. +if test -n "$with_ltdl_lib"; then
  60147. + if test -f "$with_ltdl_lib/libltdl.la"; then :
  60148. + else
  60149. + AC_MSG_ERROR([invalid ltdl library directory: '$with_ltdl_lib'])
  60150. + fi
  60151. +else
  60152. + with_ltdl_lib=no
  60153. +fi
  60154. +
  60155. +case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
  60156. + ,yes,no,no,)
  60157. + m4_case(m4_default(_LTDL_TYPE, [convenience]),
  60158. + [convenience], [_LTDL_CONVENIENCE],
  60159. + [installable], [_LTDL_INSTALLABLE],
  60160. + [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
  60161. + ;;
  60162. + ,no,no,no,)
  60163. + # If the included ltdl is not to be used, then use the
  60164. + # preinstalled libltdl we found.
  60165. + AC_DEFINE([HAVE_LTDL], [1],
  60166. + [Define this if a modern libltdl is already installed])
  60167. + LIBLTDL=-lltdl
  60168. + LTDLDEPS=
  60169. + LTDLINCL=
  60170. + ;;
  60171. + ,no*,no,*)
  60172. + AC_MSG_ERROR(['--with-ltdl-include' and '--with-ltdl-lib' options must be used together])
  60173. + ;;
  60174. + *) with_included_ltdl=no
  60175. + LIBLTDL="-L$with_ltdl_lib -lltdl"
  60176. + LTDLDEPS=
  60177. + LTDLINCL=-I$with_ltdl_include
  60178. + ;;
  60179. +esac
  60180. +INCLTDL=$LTDLINCL
  60181. +
  60182. +# Report our decision...
  60183. +AC_MSG_CHECKING([where to find libltdl headers])
  60184. +AC_MSG_RESULT([$LTDLINCL])
  60185. +AC_MSG_CHECKING([where to find libltdl library])
  60186. +AC_MSG_RESULT([$LIBLTDL])
  60187. +
  60188. +_LTDL_SETUP
  60189. +
  60190. +dnl restore autoconf definition.
  60191. +m4_popdef([AC_LIBOBJ])
  60192. +m4_popdef([AC_LIBSOURCES])
  60193. +
  60194. +AC_CONFIG_COMMANDS_PRE([
  60195. + _ltdl_libobjs=
  60196. + _ltdl_ltlibobjs=
  60197. + if test -n "$_LT_LIBOBJS"; then
  60198. + # Remove the extension.
  60199. + _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
  60200. + for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
  60201. + _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
  60202. + _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
  60203. + done
  60204. + fi
  60205. + AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
  60206. + AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
  60207. +])
  60208. +
  60209. +# Only expand once:
  60210. +m4_define([LTDL_INIT])
  60211. +])
  60212. +m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
  60213. +m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
  60214. +You should run autoupdate.])dnl
  60215. +LTDL_INIT($@)])
  60216. +m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
  60217. +m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
  60218. +You should run autoupdate.])dnl
  60219. +LTDL_INIT($@)])
  60220. +m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
  60221. +m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
  60222. +You should run autoupdate.])dnl
  60223. +LTDL_INIT($@)])
  60224. +m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
  60225. +AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
  60226. +AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
  60227. +AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
  60228. +AC_REQUIRE([LT_LIB_DLLOAD])dnl
  60229. +AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
  60230. +AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
  60231. +AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
  60232. +AC_REQUIRE([LT_FUNC_ARGZ])dnl
  60233. +
  60234. +m4_require([_LT_CHECK_OBJDIR])dnl
  60235. +m4_require([_LT_HEADER_DLFCN])dnl
  60236. +m4_require([_LT_CHECK_DLPREOPEN])dnl
  60237. +m4_require([_LT_DECL_SED])dnl
  60238. +
  60239. +dnl Don't require this, or it will be expanded earlier than the code
  60240. +dnl that sets the variables it relies on:
  60241. +_LT_ENABLE_INSTALL
  60242. +
  60243. +dnl _LTDL_MODE specific code must be called at least once:
  60244. +_LTDL_MODE_DISPATCH
  60245. +
  60246. +# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
  60247. +# the user used. This is so that ltdl.h can pick up the parent projects
  60248. +# config.h file, The first file in AC_CONFIG_HEADERS must contain the
  60249. +# definitions required by ltdl.c.
  60250. +# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
  60251. +AC_CONFIG_COMMANDS_PRE([dnl
  60252. +m4_pattern_allow([^LT_CONFIG_H$])dnl
  60253. +m4_ifset([AH_HEADER],
  60254. + [LT_CONFIG_H=AH_HEADER],
  60255. + [m4_ifset([AC_LIST_HEADERS],
  60256. + [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's|^[[ ]]*||;s|[[ :]].*$||'`],
  60257. + [])])])
  60258. +AC_SUBST([LT_CONFIG_H])
  60259. +
  60260. +AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
  60261. + [], [], [AC_INCLUDES_DEFAULT])
  60262. +
  60263. +AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
  60264. +AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
  60265. +
  60266. +m4_pattern_allow([LT_LIBEXT])dnl
  60267. +AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
  60268. +
  60269. +name=
  60270. +eval "lt_libprefix=\"$libname_spec\""
  60271. +m4_pattern_allow([LT_LIBPREFIX])dnl
  60272. +AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
  60273. +
  60274. +name=ltdl
  60275. +eval "LTDLOPEN=\"$libname_spec\""
  60276. +AC_SUBST([LTDLOPEN])
  60277. +])
  60278. +m4trace:/usr/share/aclocal/ltdl.m4:443: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  60279. +AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
  60280. + [lt_cv_sys_dlopen_deplibs],
  60281. + [# PORTME does your system automatically load deplibs for dlopen?
  60282. + # or its logical equivalent (e.g. shl_load for HP-UX < 11)
  60283. + # For now, we just catch OSes we know something about -- in the
  60284. + # future, we'll try test this programmatically.
  60285. + lt_cv_sys_dlopen_deplibs=unknown
  60286. + case $host_os in
  60287. + aix3*|aix4.1.*|aix4.2.*)
  60288. + # Unknown whether this is true for these versions of AIX, but
  60289. + # we want this 'case' here to explicitly catch those versions.
  60290. + lt_cv_sys_dlopen_deplibs=unknown
  60291. + ;;
  60292. + aix[[4-9]]*)
  60293. + lt_cv_sys_dlopen_deplibs=yes
  60294. + ;;
  60295. + amigaos*)
  60296. + case $host_cpu in
  60297. + powerpc)
  60298. + lt_cv_sys_dlopen_deplibs=no
  60299. + ;;
  60300. + esac
  60301. + ;;
  60302. + bitrig*)
  60303. + lt_cv_sys_dlopen_deplibs=yes
  60304. + ;;
  60305. + darwin*)
  60306. + # Assuming the user has installed a libdl from somewhere, this is true
  60307. + # If you are looking for one http://www.opendarwin.org/projects/dlcompat
  60308. + lt_cv_sys_dlopen_deplibs=yes
  60309. + ;;
  60310. + freebsd* | dragonfly*)
  60311. + lt_cv_sys_dlopen_deplibs=yes
  60312. + ;;
  60313. + gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
  60314. + # GNU and its variants, using gnu ld.so (Glibc)
  60315. + lt_cv_sys_dlopen_deplibs=yes
  60316. + ;;
  60317. + hpux10*|hpux11*)
  60318. + lt_cv_sys_dlopen_deplibs=yes
  60319. + ;;
  60320. + interix*)
  60321. + lt_cv_sys_dlopen_deplibs=yes
  60322. + ;;
  60323. + irix[[12345]]*|irix6.[[01]]*)
  60324. + # Catch all versions of IRIX before 6.2, and indicate that we don't
  60325. + # know how it worked for any of those versions.
  60326. + lt_cv_sys_dlopen_deplibs=unknown
  60327. + ;;
  60328. + irix*)
  60329. + # The case above catches anything before 6.2, and it's known that
  60330. + # at 6.2 and later dlopen does load deplibs.
  60331. + lt_cv_sys_dlopen_deplibs=yes
  60332. + ;;
  60333. + netbsd*)
  60334. + lt_cv_sys_dlopen_deplibs=yes
  60335. + ;;
  60336. + openbsd*)
  60337. + lt_cv_sys_dlopen_deplibs=yes
  60338. + ;;
  60339. + osf[[1234]]*)
  60340. + # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
  60341. + # it did *not* use an RPATH in a shared library to find objects the
  60342. + # library depends on, so we explicitly say 'no'.
  60343. + lt_cv_sys_dlopen_deplibs=no
  60344. + ;;
  60345. + osf5.0|osf5.0a|osf5.1)
  60346. + # dlopen *does* load deplibs and with the right loader patch applied
  60347. + # it even uses RPATH in a shared library to search for shared objects
  60348. + # that the library depends on, but there's no easy way to know if that
  60349. + # patch is installed. Since this is the case, all we can really
  60350. + # say is unknown -- it depends on the patch being installed. If
  60351. + # it is, this changes to 'yes'. Without it, it would be 'no'.
  60352. + lt_cv_sys_dlopen_deplibs=unknown
  60353. + ;;
  60354. + osf*)
  60355. + # the two cases above should catch all versions of osf <= 5.1. Read
  60356. + # the comments above for what we know about them.
  60357. + # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
  60358. + # is used to find them so we can finally say 'yes'.
  60359. + lt_cv_sys_dlopen_deplibs=yes
  60360. + ;;
  60361. + qnx*)
  60362. + lt_cv_sys_dlopen_deplibs=yes
  60363. + ;;
  60364. + solaris*)
  60365. + lt_cv_sys_dlopen_deplibs=yes
  60366. + ;;
  60367. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  60368. + libltdl_cv_sys_dlopen_deplibs=yes
  60369. + ;;
  60370. + esac
  60371. + ])
  60372. +if test yes != "$lt_cv_sys_dlopen_deplibs"; then
  60373. + AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
  60374. + [Define if the OS needs help to load dependent libraries for dlopen().])
  60375. +fi
  60376. +])
  60377. +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($@)])])
  60378. +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.
  60379. +You should run autoupdate.])dnl
  60380. +m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
  60381. +m4trace:/usr/share/aclocal/ltdl.m4:552: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  60382. +AC_CACHE_CHECK([what extension is used for runtime loadable modules],
  60383. + [libltdl_cv_shlibext],
  60384. +[
  60385. +module=yes
  60386. +eval libltdl_cv_shlibext=$shrext_cmds
  60387. +module=no
  60388. +eval libltdl_cv_shrext=$shrext_cmds
  60389. + ])
  60390. +if test -n "$libltdl_cv_shlibext"; then
  60391. + m4_pattern_allow([LT_MODULE_EXT])dnl
  60392. + AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
  60393. + [Define to the extension used for runtime loadable modules, say, ".so".])
  60394. +fi
  60395. +if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
  60396. + m4_pattern_allow([LT_SHARED_EXT])dnl
  60397. + AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
  60398. + [Define to the shared library suffix, say, ".dylib".])
  60399. +fi
  60400. +if test -n "$shared_archive_member_spec"; then
  60401. + m4_pattern_allow([LT_SHARED_LIB_MEMBER])dnl
  60402. + AC_DEFINE_UNQUOTED([LT_SHARED_LIB_MEMBER], ["($shared_archive_member_spec.o)"],
  60403. + [Define to the shared archive member specification, say "(shr.o)".])
  60404. +fi
  60405. +])
  60406. +m4trace:/usr/share/aclocal/ltdl.m4:580: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
  60407. +m4trace:/usr/share/aclocal/ltdl.m4:580: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
  60408. +You should run autoupdate.])dnl
  60409. +m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
  60410. +m4trace:/usr/share/aclocal/ltdl.m4:587: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  60411. +AC_CACHE_CHECK([what variable specifies run-time module search path],
  60412. + [lt_cv_module_path_var], [lt_cv_module_path_var=$shlibpath_var])
  60413. +if test -n "$lt_cv_module_path_var"; then
  60414. + m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
  60415. + AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
  60416. + [Define to the name of the environment variable that determines the run-time module search path.])
  60417. +fi
  60418. +])
  60419. +m4trace:/usr/share/aclocal/ltdl.m4:599: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
  60420. +m4trace:/usr/share/aclocal/ltdl.m4:599: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
  60421. +You should run autoupdate.])dnl
  60422. +m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
  60423. +m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  60424. +AC_CACHE_CHECK([for the default library search path],
  60425. + [lt_cv_sys_dlsearch_path],
  60426. + [lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec])
  60427. +if test -n "$lt_cv_sys_dlsearch_path"; then
  60428. + sys_dlsearch_path=
  60429. + for dir in $lt_cv_sys_dlsearch_path; do
  60430. + if test -z "$sys_dlsearch_path"; then
  60431. + sys_dlsearch_path=$dir
  60432. + else
  60433. + sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
  60434. + fi
  60435. + done
  60436. + m4_pattern_allow([LT_DLSEARCH_PATH])dnl
  60437. + AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
  60438. + [Define to the system default library search path.])
  60439. +fi
  60440. +])
  60441. +m4trace:/usr/share/aclocal/ltdl.m4:627: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
  60442. +m4trace:/usr/share/aclocal/ltdl.m4:627: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
  60443. +You should run autoupdate.])dnl
  60444. +m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
  60445. +m4trace:/usr/share/aclocal/ltdl.m4:653: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
  60446. +LT_DLLOADERS=
  60447. +AC_SUBST([LT_DLLOADERS])
  60448. +
  60449. +AC_LANG_PUSH([C])
  60450. +lt_dlload_save_LIBS=$LIBS
  60451. +
  60452. +LIBADD_DLOPEN=
  60453. +AC_SEARCH_LIBS([dlopen], [dl],
  60454. + [AC_DEFINE([HAVE_LIBDL], [1],
  60455. + [Define if you have the libdl library or equivalent.])
  60456. + if test "$ac_cv_search_dlopen" != "none required"; then
  60457. + LIBADD_DLOPEN=-ldl
  60458. + fi
  60459. + libltdl_cv_lib_dl_dlopen=yes
  60460. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
  60461. + [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
  60462. +# include <dlfcn.h>
  60463. +#endif
  60464. + ]], [[dlopen(0, 0);]])],
  60465. + [AC_DEFINE([HAVE_LIBDL], [1],
  60466. + [Define if you have the libdl library or equivalent.])
  60467. + libltdl_cv_func_dlopen=yes
  60468. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
  60469. + [AC_CHECK_LIB([svld], [dlopen],
  60470. + [AC_DEFINE([HAVE_LIBDL], [1],
  60471. + [Define if you have the libdl library or equivalent.])
  60472. + LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
  60473. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
  60474. +if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
  60475. +then
  60476. + lt_save_LIBS=$LIBS
  60477. + LIBS="$LIBS $LIBADD_DLOPEN"
  60478. + AC_CHECK_FUNCS([dlerror])
  60479. + LIBS=$lt_save_LIBS
  60480. +fi
  60481. +AC_SUBST([LIBADD_DLOPEN])
  60482. +
  60483. +LIBADD_SHL_LOAD=
  60484. +AC_CHECK_FUNC([shl_load],
  60485. + [AC_DEFINE([HAVE_SHL_LOAD], [1],
  60486. + [Define if you have the shl_load function.])
  60487. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
  60488. + [AC_CHECK_LIB([dld], [shl_load],
  60489. + [AC_DEFINE([HAVE_SHL_LOAD], [1],
  60490. + [Define if you have the shl_load function.])
  60491. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
  60492. + LIBADD_SHL_LOAD=-ldld])])
  60493. +AC_SUBST([LIBADD_SHL_LOAD])
  60494. +
  60495. +case $host_os in
  60496. +darwin[[1567]].*)
  60497. +# We only want this for pre-Mac OS X 10.4.
  60498. + AC_CHECK_FUNC([_dyld_func_lookup],
  60499. + [AC_DEFINE([HAVE_DYLD], [1],
  60500. + [Define if you have the _dyld_func_lookup function.])
  60501. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
  60502. + ;;
  60503. +beos*)
  60504. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
  60505. + ;;
  60506. +cygwin* | mingw* | pw32*)
  60507. + AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
  60508. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
  60509. + ;;
  60510. +esac
  60511. +
  60512. +AC_CHECK_LIB([dld], [dld_link],
  60513. + [AC_DEFINE([HAVE_DLD], [1],
  60514. + [Define if you have the GNU dld library.])
  60515. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
  60516. +AC_SUBST([LIBADD_DLD_LINK])
  60517. +
  60518. +m4_pattern_allow([^LT_DLPREOPEN$])
  60519. +LT_DLPREOPEN=
  60520. +if test -n "$LT_DLLOADERS"
  60521. +then
  60522. + for lt_loader in $LT_DLLOADERS; do
  60523. + LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
  60524. + done
  60525. + AC_DEFINE([HAVE_LIBDLLOADER], [1],
  60526. + [Define if libdlloader will be built on this platform])
  60527. +fi
  60528. +AC_SUBST([LT_DLPREOPEN])
  60529. +
  60530. +dnl This isn't used anymore, but set it for backwards compatibility
  60531. +LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
  60532. +AC_SUBST([LIBADD_DL])
  60533. +
  60534. +LIBS=$lt_dlload_save_LIBS
  60535. +AC_LANG_POP
  60536. +])
  60537. +m4trace:/usr/share/aclocal/ltdl.m4:748: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
  60538. +m4trace:/usr/share/aclocal/ltdl.m4:748: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
  60539. +You should run autoupdate.])dnl
  60540. +m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
  60541. +m4trace:/usr/share/aclocal/ltdl.m4:756: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  60542. +AC_CACHE_CHECK([for _ prefix in compiled symbols],
  60543. + [lt_cv_sys_symbol_underscore],
  60544. + [lt_cv_sys_symbol_underscore=no
  60545. + cat > conftest.$ac_ext <<_LT_EOF
  60546. +void nm_test_func(){}
  60547. +int main(){nm_test_func;return 0;}
  60548. +_LT_EOF
  60549. + if AC_TRY_EVAL(ac_compile); then
  60550. + # Now try to grab the symbols.
  60551. + ac_nlist=conftest.nm
  60552. + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
  60553. + # See whether the symbols have a leading underscore.
  60554. + if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
  60555. + lt_cv_sys_symbol_underscore=yes
  60556. + else
  60557. + if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
  60558. + :
  60559. + else
  60560. + echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
  60561. + fi
  60562. + fi
  60563. + else
  60564. + echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  60565. + fi
  60566. + else
  60567. + echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
  60568. + cat conftest.c >&AS_MESSAGE_LOG_FD
  60569. + fi
  60570. + rm -rf conftest*
  60571. + ])
  60572. + sys_symbol_underscore=$lt_cv_sys_symbol_underscore
  60573. + AC_SUBST([sys_symbol_underscore])
  60574. +])
  60575. +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($@)])])
  60576. +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.
  60577. +You should run autoupdate.])dnl
  60578. +m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
  60579. +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
  60580. +AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl for lt_cv_sys_symbol_underscore
  60581. +AC_REQUIRE([LT_SYS_MODULE_EXT])dnl for libltdl_cv_shlibext
  60582. +if test yes = "$lt_cv_sys_symbol_underscore"; then
  60583. + if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
  60584. + AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
  60585. + [libltdl_cv_need_uscore],
  60586. + [libltdl_cv_need_uscore=unknown
  60587. + dlsym_uscore_save_LIBS=$LIBS
  60588. + LIBS="$LIBS $LIBADD_DLOPEN"
  60589. + libname=conftmod # stay within 8.3 filename limits!
  60590. + cat >$libname.$ac_ext <<_LT_EOF
  60591. +[#line $LINENO "configure"
  60592. +#include "confdefs.h"
  60593. +/* When -fvisibility=hidden is used, assume the code has been annotated
  60594. + correspondingly for the symbols needed. */
  60595. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  60596. +int fnord () __attribute__((visibility("default")));
  60597. +#endif
  60598. +int fnord () { return 42; }]
  60599. +_LT_EOF
  60600. +
  60601. + # ltfn_module_cmds module_cmds
  60602. + # Execute tilde-delimited MODULE_CMDS with environment primed for
  60603. + # $module_cmds or $archive_cmds type content.
  60604. + ltfn_module_cmds ()
  60605. + {( # subshell avoids polluting parent global environment
  60606. + module_cmds_save_ifs=$IFS; IFS='~'
  60607. + for cmd in @S|@1; do
  60608. + IFS=$module_cmds_save_ifs
  60609. + libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
  60610. + rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
  60611. + major=; versuffix=; verstring=; deplibs=
  60612. + ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
  60613. + eval $cmd
  60614. + done
  60615. + IFS=$module_cmds_save_ifs
  60616. + )}
  60617. +
  60618. + # Compile a loadable module using libtool macro expansion results.
  60619. + $CC $pic_flag -c $libname.$ac_ext
  60620. + ltfn_module_cmds "${module_cmds:-$archive_cmds}"
  60621. +
  60622. + # Try to fetch fnord with dlsym().
  60623. + libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
  60624. + cat >conftest.$ac_ext <<_LT_EOF
  60625. +[#line $LINENO "configure"
  60626. +#include "confdefs.h"
  60627. +#if HAVE_DLFCN_H
  60628. +#include <dlfcn.h>
  60629. +#endif
  60630. +#include <stdio.h>
  60631. +#ifndef RTLD_GLOBAL
  60632. +# ifdef DL_GLOBAL
  60633. +# define RTLD_GLOBAL DL_GLOBAL
  60634. +# else
  60635. +# define RTLD_GLOBAL 0
  60636. +# endif
  60637. +#endif
  60638. +#ifndef RTLD_NOW
  60639. +# ifdef DL_NOW
  60640. +# define RTLD_NOW DL_NOW
  60641. +# else
  60642. +# define RTLD_NOW 0
  60643. +# endif
  60644. +#endif
  60645. +int main () {
  60646. + void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
  60647. + int status = $libltdl_dlunknown;
  60648. + if (handle) {
  60649. + if (dlsym (handle, "fnord"))
  60650. + status = $libltdl_dlnouscore;
  60651. + else {
  60652. + if (dlsym (handle, "_fnord"))
  60653. + status = $libltdl_dluscore;
  60654. + else
  60655. + puts (dlerror ());
  60656. + }
  60657. + dlclose (handle);
  60658. + } else
  60659. + puts (dlerror ());
  60660. + return status;
  60661. +}]
  60662. +_LT_EOF
  60663. + if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
  60664. + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
  60665. + libltdl_status=$?
  60666. + case x$libltdl_status in
  60667. + x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
  60668. + x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
  60669. + x*) libltdl_cv_need_uscore=unknown ;;
  60670. + esac
  60671. + fi
  60672. + rm -rf conftest* $libname*
  60673. + LIBS=$dlsym_uscore_save_LIBS
  60674. + ])
  60675. + fi
  60676. +fi
  60677. +
  60678. +if test yes = "$libltdl_cv_need_uscore"; then
  60679. + AC_DEFINE([NEED_USCORE], [1],
  60680. + [Define if dlsym() requires a leading underscore in symbol names.])
  60681. +fi
  60682. +])
  60683. +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($@)])])
  60684. +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.
  60685. +You should run autoupdate.])dnl
  60686. +m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
  60687. +m4trace:/usr/share/aclocal-1.16/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.16'
  60688. +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  60689. +dnl require some minimum version. Point them to the right macro.
  60690. +m4_if([$1], [1.16.1], [],
  60691. + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  60692. +])
  60693. +m4trace:/usr/share/aclocal-1.16/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.16.1])dnl
  60694. +m4_ifndef([AC_AUTOCONF_VERSION],
  60695. + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  60696. +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  60697. +m4trace:/usr/share/aclocal-1.16/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  60698. +# Expand $ac_aux_dir to an absolute path.
  60699. +am_aux_dir=`cd "$ac_aux_dir" && pwd`
  60700. +])
  60701. +m4trace:/usr/share/aclocal-1.16/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
  60702. + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  60703. + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  60704. +AC_SUBST([$1_TRUE])dnl
  60705. +AC_SUBST([$1_FALSE])dnl
  60706. +_AM_SUBST_NOTMAKE([$1_TRUE])dnl
  60707. +_AM_SUBST_NOTMAKE([$1_FALSE])dnl
  60708. +m4_define([_AM_COND_VALUE_$1], [$2])dnl
  60709. +if $2; then
  60710. + $1_TRUE=
  60711. + $1_FALSE='#'
  60712. +else
  60713. + $1_TRUE='#'
  60714. + $1_FALSE=
  60715. +fi
  60716. +AC_CONFIG_COMMANDS_PRE(
  60717. +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  60718. + AC_MSG_ERROR([[conditional "$1" was never defined.
  60719. +Usually this means the macro was only invoked conditionally.]])
  60720. +fi])])
  60721. +m4trace:/usr/share/aclocal-1.16/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
  60722. +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
  60723. +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  60724. +AC_REQUIRE([AM_DEP_TRACK])dnl
  60725. +
  60726. +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
  60727. + [$1], [CXX], [depcc="$CXX" am_compiler_list=],
  60728. + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  60729. + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
  60730. + [$1], [UPC], [depcc="$UPC" am_compiler_list=],
  60731. + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  60732. + [depcc="$$1" am_compiler_list=])
  60733. +
  60734. +AC_CACHE_CHECK([dependency style of $depcc],
  60735. + [am_cv_$1_dependencies_compiler_type],
  60736. +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  60737. + # We make a subdir and do the tests there. Otherwise we can end up
  60738. + # making bogus files that we don't know about and never remove. For
  60739. + # instance it was reported that on HP-UX the gcc test will end up
  60740. + # making a dummy file named 'D' -- because '-MD' means "put the output
  60741. + # in D".
  60742. + rm -rf conftest.dir
  60743. + mkdir conftest.dir
  60744. + # Copy depcomp to subdir because otherwise we won't find it if we're
  60745. + # using a relative directory.
  60746. + cp "$am_depcomp" conftest.dir
  60747. + cd conftest.dir
  60748. + # We will build objects and dependencies in a subdirectory because
  60749. + # it helps to detect inapplicable dependency modes. For instance
  60750. + # both Tru64's cc and ICC support -MD to output dependencies as a
  60751. + # side effect of compilation, but ICC will put the dependencies in
  60752. + # the current directory while Tru64 will put them in the object
  60753. + # directory.
  60754. + mkdir sub
  60755. +
  60756. + am_cv_$1_dependencies_compiler_type=none
  60757. + if test "$am_compiler_list" = ""; then
  60758. + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  60759. + fi
  60760. + am__universal=false
  60761. + m4_case([$1], [CC],
  60762. + [case " $depcc " in #(
  60763. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  60764. + esac],
  60765. + [CXX],
  60766. + [case " $depcc " in #(
  60767. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  60768. + esac])
  60769. +
  60770. + for depmode in $am_compiler_list; do
  60771. + # Setup a source with many dependencies, because some compilers
  60772. + # like to wrap large dependency lists on column 80 (with \), and
  60773. + # we should not choose a depcomp mode which is confused by this.
  60774. + #
  60775. + # We need to recreate these files for each test, as the compiler may
  60776. + # overwrite some of them when testing with obscure command lines.
  60777. + # This happens at least with the AIX C compiler.
  60778. + : > sub/conftest.c
  60779. + for i in 1 2 3 4 5 6; do
  60780. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  60781. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  60782. + # Solaris 10 /bin/sh.
  60783. + echo '/* dummy */' > sub/conftst$i.h
  60784. + done
  60785. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  60786. +
  60787. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  60788. + # mode. It turns out that the SunPro C++ compiler does not properly
  60789. + # handle '-M -o', and we need to detect this. Also, some Intel
  60790. + # versions had trouble with output in subdirs.
  60791. + am__obj=sub/conftest.${OBJEXT-o}
  60792. + am__minus_obj="-o $am__obj"
  60793. + case $depmode in
  60794. + gcc)
  60795. + # This depmode causes a compiler race in universal mode.
  60796. + test "$am__universal" = false || continue
  60797. + ;;
  60798. + nosideeffect)
  60799. + # After this tag, mechanisms are not by side-effect, so they'll
  60800. + # only be used when explicitly requested.
  60801. + if test "x$enable_dependency_tracking" = xyes; then
  60802. + continue
  60803. + else
  60804. + break
  60805. + fi
  60806. + ;;
  60807. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  60808. + # This compiler won't grok '-c -o', but also, the minuso test has
  60809. + # not run yet. These depmodes are late enough in the game, and
  60810. + # so weak that their functioning should not be impacted.
  60811. + am__obj=conftest.${OBJEXT-o}
  60812. + am__minus_obj=
  60813. + ;;
  60814. + none) break ;;
  60815. + esac
  60816. + if depmode=$depmode \
  60817. + source=sub/conftest.c object=$am__obj \
  60818. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  60819. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  60820. + >/dev/null 2>conftest.err &&
  60821. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  60822. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  60823. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  60824. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  60825. + # icc doesn't choke on unknown options, it will just issue warnings
  60826. + # or remarks (even with -Werror). So we grep stderr for any message
  60827. + # that says an option was ignored or not supported.
  60828. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  60829. + # icc: Command line warning: ignoring option '-M'; no argument required
  60830. + # The diagnosis changed in icc 8.0:
  60831. + # icc: Command line remark: option '-MP' not supported
  60832. + if (grep 'ignoring option' conftest.err ||
  60833. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  60834. + am_cv_$1_dependencies_compiler_type=$depmode
  60835. + break
  60836. + fi
  60837. + fi
  60838. + done
  60839. +
  60840. + cd ..
  60841. + rm -rf conftest.dir
  60842. +else
  60843. + am_cv_$1_dependencies_compiler_type=none
  60844. +fi
  60845. +])
  60846. +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
  60847. +AM_CONDITIONAL([am__fastdep$1], [
  60848. + test "x$enable_dependency_tracking" != xno \
  60849. + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
  60850. +])
  60851. +m4trace:/usr/share/aclocal-1.16/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  60852. +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  60853. +])
  60854. +m4trace:/usr/share/aclocal-1.16/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
  60855. +AS_HELP_STRING(
  60856. + [--enable-dependency-tracking],
  60857. + [do not reject slow dependency extractors])
  60858. +AS_HELP_STRING(
  60859. + [--disable-dependency-tracking],
  60860. + [speeds up one-time build])])
  60861. +if test "x$enable_dependency_tracking" != xno; then
  60862. + am_depcomp="$ac_aux_dir/depcomp"
  60863. + AMDEPBACKSLASH='\'
  60864. + am__nodep='_no'
  60865. +fi
  60866. +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  60867. +AC_SUBST([AMDEPBACKSLASH])dnl
  60868. +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
  60869. +AC_SUBST([am__nodep])dnl
  60870. +_AM_SUBST_NOTMAKE([am__nodep])dnl
  60871. +])
  60872. +m4trace:/usr/share/aclocal-1.16/depout.m4:11: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
  60873. + # Older Autoconf quotes --file arguments for eval, but not when files
  60874. + # are listed without --file. Let's play safe and only enable the eval
  60875. + # if we detect the quoting.
  60876. + # TODO: see whether this extra hack can be removed once we start
  60877. + # requiring Autoconf 2.70 or later.
  60878. + AS_CASE([$CONFIG_FILES],
  60879. + [*\'*], [eval set x "$CONFIG_FILES"],
  60880. + [*], [set x $CONFIG_FILES])
  60881. + shift
  60882. + # Used to flag and report bootstrapping failures.
  60883. + am_rc=0
  60884. + for am_mf
  60885. + do
  60886. + # Strip MF so we end up with the name of the file.
  60887. + am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
  60888. + # Check whether this is an Automake generated Makefile which includes
  60889. + # dependency-tracking related rules and includes.
  60890. + # Grep'ing the whole file directly is not great: AIX grep has a line
  60891. + # limit of 2048, but all sed's we know have understand at least 4000.
  60892. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  60893. + || continue
  60894. + am_dirpart=`AS_DIRNAME(["$am_mf"])`
  60895. + am_filepart=`AS_BASENAME(["$am_mf"])`
  60896. + AM_RUN_LOG([cd "$am_dirpart" \
  60897. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  60898. + | $MAKE -f - am--depfiles]) || am_rc=$?
  60899. + done
  60900. + if test $am_rc -ne 0; then
  60901. + AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
  60902. + for automatic dependency tracking. Try re-running configure with the
  60903. + '--disable-dependency-tracking' option to at least be able to build
  60904. + the package (albeit without support for automatic dependency tracking).])
  60905. + fi
  60906. + AS_UNSET([am_dirpart])
  60907. + AS_UNSET([am_filepart])
  60908. + AS_UNSET([am_mf])
  60909. + AS_UNSET([am_rc])
  60910. + rm -f conftest-deps.mk
  60911. +}
  60912. +])
  60913. +m4trace:/usr/share/aclocal-1.16/depout.m4:62: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
  60914. + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
  60915. + [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
  60916. +m4trace:/usr/share/aclocal-1.16/init.m4:29: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
  60917. +dnl Autoconf wants to disallow AM_ names. We explicitly allow
  60918. +dnl the ones we care about.
  60919. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  60920. +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
  60921. +AC_REQUIRE([AC_PROG_INSTALL])dnl
  60922. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  60923. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  60924. + # is not polluted with repeated "-I."
  60925. + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
  60926. + # test to see if srcdir already configured
  60927. + if test -f $srcdir/config.status; then
  60928. + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  60929. + fi
  60930. +fi
  60931. +
  60932. +# test whether we have cygpath
  60933. +if test -z "$CYGPATH_W"; then
  60934. + if (cygpath --version) >/dev/null 2>/dev/null; then
  60935. + CYGPATH_W='cygpath -w'
  60936. + else
  60937. + CYGPATH_W=echo
  60938. + fi
  60939. +fi
  60940. +AC_SUBST([CYGPATH_W])
  60941. +
  60942. +# Define the identity of the package.
  60943. +dnl Distinguish between old-style and new-style calls.
  60944. +m4_ifval([$2],
  60945. +[AC_DIAGNOSE([obsolete],
  60946. + [$0: two- and three-arguments forms are deprecated.])
  60947. +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  60948. + AC_SUBST([PACKAGE], [$1])dnl
  60949. + AC_SUBST([VERSION], [$2])],
  60950. +[_AM_SET_OPTIONS([$1])dnl
  60951. +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  60952. +m4_if(
  60953. + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
  60954. + [ok:ok],,
  60955. + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  60956. + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  60957. + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  60958. +
  60959. +_AM_IF_OPTION([no-define],,
  60960. +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  60961. + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
  60962. +
  60963. +# Some tools Automake needs.
  60964. +AC_REQUIRE([AM_SANITY_CHECK])dnl
  60965. +AC_REQUIRE([AC_ARG_PROGRAM])dnl
  60966. +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  60967. +AM_MISSING_PROG([AUTOCONF], [autoconf])
  60968. +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  60969. +AM_MISSING_PROG([AUTOHEADER], [autoheader])
  60970. +AM_MISSING_PROG([MAKEINFO], [makeinfo])
  60971. +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  60972. +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  60973. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  60974. +# For better backward compatibility. To be removed once Automake 1.9.x
  60975. +# dies out for good. For more background, see:
  60976. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  60977. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  60978. +AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  60979. +# We need awk for the "check" target (and possibly the TAP driver). The
  60980. +# system "awk" is bad on some platforms.
  60981. +AC_REQUIRE([AC_PROG_AWK])dnl
  60982. +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  60983. +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  60984. +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  60985. + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  60986. + [_AM_PROG_TAR([v7])])])
  60987. +_AM_IF_OPTION([no-dependencies],,
  60988. +[AC_PROVIDE_IFELSE([AC_PROG_CC],
  60989. + [_AM_DEPENDENCIES([CC])],
  60990. + [m4_define([AC_PROG_CC],
  60991. + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  60992. +AC_PROVIDE_IFELSE([AC_PROG_CXX],
  60993. + [_AM_DEPENDENCIES([CXX])],
  60994. + [m4_define([AC_PROG_CXX],
  60995. + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  60996. +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  60997. + [_AM_DEPENDENCIES([OBJC])],
  60998. + [m4_define([AC_PROG_OBJC],
  60999. + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  61000. +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  61001. + [_AM_DEPENDENCIES([OBJCXX])],
  61002. + [m4_define([AC_PROG_OBJCXX],
  61003. + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  61004. +])
  61005. +AC_REQUIRE([AM_SILENT_RULES])dnl
  61006. +dnl The testsuite driver may need to know about EXEEXT, so add the
  61007. +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
  61008. +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
  61009. +AC_CONFIG_COMMANDS_PRE(dnl
  61010. +[m4_provide_if([_AM_COMPILER_EXEEXT],
  61011. + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  61012. +
  61013. +# POSIX will say in a future version that running "rm -f" with no argument
  61014. +# is OK; and we want to be able to make that assumption in our Makefile
  61015. +# recipes. So use an aggressive probe to check that the usage we want is
  61016. +# actually supported "in the wild" to an acceptable degree.
  61017. +# See automake bug#10828.
  61018. +# To make any issue more visible, cause the running configure to be aborted
  61019. +# by default if the 'rm' program in use doesn't match our expectations; the
  61020. +# user can still override this though.
  61021. +if rm -f && rm -fr && rm -rf; then : OK; else
  61022. + cat >&2 <<'END'
  61023. +Oops!
  61024. +
  61025. +Your 'rm' program seems unable to run without file operands specified
  61026. +on the command line, even when the '-f' option is present. This is contrary
  61027. +to the behaviour of most rm programs out there, and not conforming with
  61028. +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  61029. +
  61030. +Please tell bug-automake@gnu.org about your system, including the value
  61031. +of your $PATH and any error possibly output before this message. This
  61032. +can help us improve future automake versions.
  61033. +
  61034. +END
  61035. + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  61036. + echo 'Configuration will proceed anyway, since you have set the' >&2
  61037. + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  61038. + echo >&2
  61039. + else
  61040. + cat >&2 <<'END'
  61041. +Aborting the configuration process, to ensure you take notice of the issue.
  61042. +
  61043. +You can download and install GNU coreutils to get an 'rm' implementation
  61044. +that behaves properly: <https://www.gnu.org/software/coreutils/>.
  61045. +
  61046. +If you want to complete the configuration process using your problematic
  61047. +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  61048. +to "yes", and re-run configure.
  61049. +
  61050. +END
  61051. + AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
  61052. + fi
  61053. +fi
  61054. +dnl The trailing newline in this macro's definition is deliberate, for
  61055. +dnl backward compatibility and to allow trailing 'dnl'-style comments
  61056. +dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
  61057. +])
  61058. +m4trace:/usr/share/aclocal-1.16/init.m4:186: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
  61059. +_am_arg=$1
  61060. +_am_stamp_count=1
  61061. +for _am_header in $config_headers :; do
  61062. + case $_am_header in
  61063. + $_am_arg | $_am_arg:* )
  61064. + break ;;
  61065. + * )
  61066. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  61067. + esac
  61068. +done
  61069. +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  61070. +m4trace:/usr/share/aclocal-1.16/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  61071. +if test x"${install_sh+set}" != xset; then
  61072. + case $am_aux_dir in
  61073. + *\ * | *\ *)
  61074. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  61075. + *)
  61076. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  61077. + esac
  61078. +fi
  61079. +AC_SUBST([install_sh])])
  61080. +m4trace:/usr/share/aclocal-1.16/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
  61081. +mkdir .tst 2>/dev/null
  61082. +if test -d .tst; then
  61083. + am__leading_dot=.
  61084. +else
  61085. + am__leading_dot=_
  61086. +fi
  61087. +rmdir .tst 2>/dev/null
  61088. +AC_SUBST([am__leading_dot])])
  61089. +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])
  61090. +cat > confinc.mk << 'END'
  61091. +am__doit:
  61092. + @echo this is the am__doit target >confinc.out
  61093. +.PHONY: am__doit
  61094. +END
  61095. +am__include="#"
  61096. +am__quote=
  61097. +# BSD make does it like this.
  61098. +echo '.include "confinc.mk" # ignored' > confmf.BSD
  61099. +# Other make implementations (GNU, Solaris 10, AIX) do it like this.
  61100. +echo 'include confinc.mk # ignored' > confmf.GNU
  61101. +_am_result=no
  61102. +for s in GNU BSD; do
  61103. + AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
  61104. + AS_CASE([$?:`cat confinc.out 2>/dev/null`],
  61105. + ['0:this is the am__doit target'],
  61106. + [AS_CASE([$s],
  61107. + [BSD], [am__include='.include' am__quote='"'],
  61108. + [am__include='include' am__quote=''])])
  61109. + if test "$am__include" != "#"; then
  61110. + _am_result="yes ($s style)"
  61111. + break
  61112. + fi
  61113. +done
  61114. +rm -f confinc.* confmf.*
  61115. +AC_MSG_RESULT([${_am_result}])
  61116. +AC_SUBST([am__include])])
  61117. +m4trace:/usr/share/aclocal-1.16/make.m4:42: -1- m4_pattern_allow([^am__quote$])
  61118. +m4trace:/usr/share/aclocal-1.16/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
  61119. +$1=${$1-"${am_missing_run}$2"}
  61120. +AC_SUBST($1)])
  61121. +m4trace:/usr/share/aclocal-1.16/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  61122. +AC_REQUIRE_AUX_FILE([missing])dnl
  61123. +if test x"${MISSING+set}" != xset; then
  61124. + case $am_aux_dir in
  61125. + *\ * | *\ *)
  61126. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  61127. + *)
  61128. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  61129. + esac
  61130. +fi
  61131. +# Use eval to expand $SHELL
  61132. +if eval "$MISSING --is-lightweight"; then
  61133. + am_missing_run="$MISSING "
  61134. +else
  61135. + am_missing_run=
  61136. + AC_MSG_WARN(['missing' script is too old or missing])
  61137. +fi
  61138. +])
  61139. +m4trace:/usr/share/aclocal-1.16/obsolete.m4:11: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete],
  61140. +['$0': this macro is obsolete.
  61141. +You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
  61142. +AC_CONFIG_HEADERS($@)])
  61143. +m4trace:/usr/share/aclocal-1.16/obsolete.m4:17: -1- AC_DEFUN([AM_PROG_CC_STDC], [AC_PROG_CC
  61144. +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  61145. +AC_DIAGNOSE([obsolete],
  61146. +['$0': this macro is obsolete.
  61147. +You should simply use the 'AC][_PROG_CC' macro instead.
  61148. +Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
  61149. +but upon 'ac_cv_prog_cc_stdc'.])])
  61150. +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])])
  61151. +m4trace:/usr/share/aclocal-1.16/obsolete.m4:28: -1- AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
  61152. +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.
  61153. +You should run autoupdate.])dnl
  61154. +AM_C_PROTOTYPES])
  61155. +m4trace:/usr/share/aclocal-1.16/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  61156. +m4trace:/usr/share/aclocal-1.16/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
  61157. +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)])])
  61158. +m4trace:/usr/share/aclocal-1.16/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  61159. +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
  61160. +AC_REQUIRE_AUX_FILE([compile])dnl
  61161. +AC_LANG_PUSH([C])dnl
  61162. +AC_CACHE_CHECK(
  61163. + [whether $CC understands -c and -o together],
  61164. + [am_cv_prog_cc_c_o],
  61165. + [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
  61166. + # Make sure it works both with $CC and with simple cc.
  61167. + # Following AC_PROG_CC_C_O, we do the test twice because some
  61168. + # compilers refuse to overwrite an existing .o file with -o,
  61169. + # though they will create one.
  61170. + am_cv_prog_cc_c_o=yes
  61171. + for am_i in 1 2; do
  61172. + if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
  61173. + && test -f conftest2.$ac_objext; then
  61174. + : OK
  61175. + else
  61176. + am_cv_prog_cc_c_o=no
  61177. + break
  61178. + fi
  61179. + done
  61180. + rm -f core conftest*
  61181. + unset am_i])
  61182. +if test "$am_cv_prog_cc_c_o" != yes; then
  61183. + # Losing compiler, so override with the script.
  61184. + # FIXME: It is wrong to rewrite CC.
  61185. + # But if we don't then we get into trouble of one sort or another.
  61186. + # A longer-term fix would be to have automake use am__CC in this case,
  61187. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  61188. + CC="$am_aux_dir/compile $CC"
  61189. +fi
  61190. +AC_LANG_POP([C])])
  61191. +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])])
  61192. +m4trace:/usr/share/aclocal-1.16/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
  61193. + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
  61194. + ac_status=$?
  61195. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  61196. + (exit $ac_status); }])
  61197. +m4trace:/usr/share/aclocal-1.16/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
  61198. +# Reject unsafe characters in $srcdir or the absolute working directory
  61199. +# name. Accept space and tab only in the latter.
  61200. +am_lf='
  61201. +'
  61202. +case `pwd` in
  61203. + *[[\\\"\#\$\&\'\`$am_lf]]*)
  61204. + AC_MSG_ERROR([unsafe absolute working directory name]);;
  61205. +esac
  61206. +case $srcdir in
  61207. + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  61208. + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
  61209. +esac
  61210. +
  61211. +# Do 'set' in a subshell so we don't clobber the current shell's
  61212. +# arguments. Must try -L first in case configure is actually a
  61213. +# symlink; some systems play weird games with the mod time of symlinks
  61214. +# (eg FreeBSD returns the mod time of the symlink's containing
  61215. +# directory).
  61216. +if (
  61217. + am_has_slept=no
  61218. + for am_try in 1 2; do
  61219. + echo "timestamp, slept: $am_has_slept" > conftest.file
  61220. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  61221. + if test "$[*]" = "X"; then
  61222. + # -L didn't work.
  61223. + set X `ls -t "$srcdir/configure" conftest.file`
  61224. + fi
  61225. + if test "$[*]" != "X $srcdir/configure conftest.file" \
  61226. + && test "$[*]" != "X conftest.file $srcdir/configure"; then
  61227. +
  61228. + # If neither matched, then we have a broken ls. This can happen
  61229. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  61230. + # broken ls alias from the environment. This has actually
  61231. + # happened. Such a system could not be considered "sane".
  61232. + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  61233. + alias in your environment])
  61234. + fi
  61235. + if test "$[2]" = conftest.file || test $am_try -eq 2; then
  61236. + break
  61237. + fi
  61238. + # Just in case.
  61239. + sleep 1
  61240. + am_has_slept=yes
  61241. + done
  61242. + test "$[2]" = conftest.file
  61243. + )
  61244. +then
  61245. + # Ok.
  61246. + :
  61247. +else
  61248. + AC_MSG_ERROR([newly created file is older than distributed files!
  61249. +Check your system clock])
  61250. +fi
  61251. +AC_MSG_RESULT([yes])
  61252. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  61253. +# generated files are strictly newer.
  61254. +am_sleep_pid=
  61255. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  61256. + ( sleep 1 ) &
  61257. + am_sleep_pid=$!
  61258. +fi
  61259. +AC_CONFIG_COMMANDS_PRE(
  61260. + [AC_MSG_CHECKING([that generated files are newer than configure])
  61261. + if test -n "$am_sleep_pid"; then
  61262. + # Hide warnings about reused PIDs.
  61263. + wait $am_sleep_pid 2>/dev/null
  61264. + fi
  61265. + AC_MSG_RESULT([done])])
  61266. +rm -f conftest.file
  61267. +])
  61268. +m4trace:/usr/share/aclocal-1.16/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
  61269. +AS_HELP_STRING(
  61270. + [--enable-silent-rules],
  61271. + [less verbose build output (undo: "make V=1")])
  61272. +AS_HELP_STRING(
  61273. + [--disable-silent-rules],
  61274. + [verbose build output (undo: "make V=0")])dnl
  61275. +])
  61276. +case $enable_silent_rules in @%:@ (((
  61277. + yes) AM_DEFAULT_VERBOSITY=0;;
  61278. + no) AM_DEFAULT_VERBOSITY=1;;
  61279. + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  61280. +esac
  61281. +dnl
  61282. +dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
  61283. +dnl do not support nested variable expansions.
  61284. +dnl See automake bug#9928 and bug#10237.
  61285. +am_make=${MAKE-make}
  61286. +AC_CACHE_CHECK([whether $am_make supports nested variables],
  61287. + [am_cv_make_support_nested_variables],
  61288. + [if AS_ECHO([['TRUE=$(BAR$(V))
  61289. +BAR0=false
  61290. +BAR1=true
  61291. +V=1
  61292. +am__doit:
  61293. + @$(TRUE)
  61294. +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
  61295. + am_cv_make_support_nested_variables=yes
  61296. +else
  61297. + am_cv_make_support_nested_variables=no
  61298. +fi])
  61299. +if test $am_cv_make_support_nested_variables = yes; then
  61300. + dnl Using '$V' instead of '$(V)' breaks IRIX make.
  61301. + AM_V='$(V)'
  61302. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  61303. +else
  61304. + AM_V=$AM_DEFAULT_VERBOSITY
  61305. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  61306. +fi
  61307. +AC_SUBST([AM_V])dnl
  61308. +AM_SUBST_NOTMAKE([AM_V])dnl
  61309. +AC_SUBST([AM_DEFAULT_V])dnl
  61310. +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
  61311. +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
  61312. +AM_BACKSLASH='\'
  61313. +AC_SUBST([AM_BACKSLASH])dnl
  61314. +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
  61315. +])
  61316. +m4trace:/usr/share/aclocal-1.16/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  61317. +# Installed binaries are usually stripped using 'strip' when the user
  61318. +# run "make install-strip". However 'strip' might not be the right
  61319. +# tool to use in cross-compilation environments, therefore Automake
  61320. +# will honor the 'STRIP' environment variable to overrule this program.
  61321. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
  61322. +if test "$cross_compiling" != no; then
  61323. + AC_CHECK_TOOL([STRIP], [strip], :)
  61324. +fi
  61325. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  61326. +AC_SUBST([INSTALL_STRIP_PROGRAM])])
  61327. +m4trace:/usr/share/aclocal-1.16/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
  61328. +m4trace:/usr/share/aclocal-1.16/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  61329. +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
  61330. +# in the wild :-( We should find a proper way to deprecate it ...
  61331. +AC_SUBST([AMTAR], ['$${TAR-tar}'])
  61332. +
  61333. +# We'll loop over all known methods to create a tar archive until one works.
  61334. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  61335. +
  61336. +m4_if([$1], [v7],
  61337. + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
  61338. +
  61339. + [m4_case([$1],
  61340. + [ustar],
  61341. + [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
  61342. + # There is notably a 21 bits limit for the UID and the GID. In fact,
  61343. + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
  61344. + # and bug#13588).
  61345. + am_max_uid=2097151 # 2^21 - 1
  61346. + am_max_gid=$am_max_uid
  61347. + # The $UID and $GID variables are not portable, so we need to resort
  61348. + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
  61349. + # below are definitely unexpected, so allow the users to see them
  61350. + # (that is, avoid stderr redirection).
  61351. + am_uid=`id -u || echo unknown`
  61352. + am_gid=`id -g || echo unknown`
  61353. + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
  61354. + if test $am_uid -le $am_max_uid; then
  61355. + AC_MSG_RESULT([yes])
  61356. + else
  61357. + AC_MSG_RESULT([no])
  61358. + _am_tools=none
  61359. + fi
  61360. + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
  61361. + if test $am_gid -le $am_max_gid; then
  61362. + AC_MSG_RESULT([yes])
  61363. + else
  61364. + AC_MSG_RESULT([no])
  61365. + _am_tools=none
  61366. + fi],
  61367. +
  61368. + [pax],
  61369. + [],
  61370. +
  61371. + [m4_fatal([Unknown tar format])])
  61372. +
  61373. + AC_MSG_CHECKING([how to create a $1 tar archive])
  61374. +
  61375. + # Go ahead even if we have the value already cached. We do so because we
  61376. + # need to set the values for the 'am__tar' and 'am__untar' variables.
  61377. + _am_tools=${am_cv_prog_tar_$1-$_am_tools}
  61378. +
  61379. + for _am_tool in $_am_tools; do
  61380. + case $_am_tool in
  61381. + gnutar)
  61382. + for _am_tar in tar gnutar gtar; do
  61383. + AM_RUN_LOG([$_am_tar --version]) && break
  61384. + done
  61385. + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  61386. + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  61387. + am__untar="$_am_tar -xf -"
  61388. + ;;
  61389. + plaintar)
  61390. + # Must skip GNU tar: if it does not support --format= it doesn't create
  61391. + # ustar tarball either.
  61392. + (tar --version) >/dev/null 2>&1 && continue
  61393. + am__tar='tar chf - "$$tardir"'
  61394. + am__tar_='tar chf - "$tardir"'
  61395. + am__untar='tar xf -'
  61396. + ;;
  61397. + pax)
  61398. + am__tar='pax -L -x $1 -w "$$tardir"'
  61399. + am__tar_='pax -L -x $1 -w "$tardir"'
  61400. + am__untar='pax -r'
  61401. + ;;
  61402. + cpio)
  61403. + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  61404. + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  61405. + am__untar='cpio -i -H $1 -d'
  61406. + ;;
  61407. + none)
  61408. + am__tar=false
  61409. + am__tar_=false
  61410. + am__untar=false
  61411. + ;;
  61412. + esac
  61413. +
  61414. + # If the value was cached, stop now. We just wanted to have am__tar
  61415. + # and am__untar set.
  61416. + test -n "${am_cv_prog_tar_$1}" && break
  61417. +
  61418. + # tar/untar a dummy directory, and stop if the command works.
  61419. + rm -rf conftest.dir
  61420. + mkdir conftest.dir
  61421. + echo GrepMe > conftest.dir/file
  61422. + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  61423. + rm -rf conftest.dir
  61424. + if test -s conftest.tar; then
  61425. + AM_RUN_LOG([$am__untar <conftest.tar])
  61426. + AM_RUN_LOG([cat conftest.dir/file])
  61427. + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  61428. + fi
  61429. + done
  61430. + rm -rf conftest.dir
  61431. +
  61432. + AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  61433. + AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  61434. +
  61435. +AC_SUBST([am__tar])
  61436. +AC_SUBST([am__untar])
  61437. +])
  61438. +m4trace:m4/libtool.m4:61: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
  61439. +AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  61440. +AC_BEFORE([$0], [LT_LANG])dnl
  61441. +AC_BEFORE([$0], [LT_OUTPUT])dnl
  61442. +AC_BEFORE([$0], [LTDL_INIT])dnl
  61443. +m4_require([_LT_CHECK_BUILDDIR])dnl
  61444. +
  61445. +dnl Autoconf doesn't catch unexpanded LT_ macros by default:
  61446. +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
  61447. +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
  61448. +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
  61449. +dnl unless we require an AC_DEFUNed macro:
  61450. +AC_REQUIRE([LTOPTIONS_VERSION])dnl
  61451. +AC_REQUIRE([LTSUGAR_VERSION])dnl
  61452. +AC_REQUIRE([LTVERSION_VERSION])dnl
  61453. +AC_REQUIRE([LTOBSOLETE_VERSION])dnl
  61454. +m4_require([_LT_PROG_LTMAIN])dnl
  61455. +
  61456. +_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
  61457. +
  61458. +dnl Parse OPTIONS
  61459. +_LT_SET_OPTIONS([$0], [$1])
  61460. +
  61461. +# This can be used to rebuild libtool when needed
  61462. +LIBTOOL_DEPS=$ltmain
  61463. +
  61464. +# Always use our own libtool.
  61465. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  61466. +AC_SUBST(LIBTOOL)dnl
  61467. +
  61468. +_LT_SETUP
  61469. +
  61470. +# Only expand once:
  61471. +m4_define([LT_INIT])
  61472. +])
  61473. +m4trace:m4/libtool.m4:99: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  61474. +m4trace:m4/libtool.m4:99: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
  61475. +You should run autoupdate.])dnl
  61476. +m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  61477. +m4trace:m4/libtool.m4:100: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  61478. +m4trace:m4/libtool.m4:100: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
  61479. +You should run autoupdate.])dnl
  61480. +m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  61481. +m4trace:m4/libtool.m4:619: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
  61482. +AC_MSG_NOTICE([creating $CONFIG_LT])
  61483. +_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
  61484. +[# Run this file to recreate a libtool stub with the current configuration.])
  61485. +
  61486. +cat >>"$CONFIG_LT" <<\_LTEOF
  61487. +lt_cl_silent=false
  61488. +exec AS_MESSAGE_LOG_FD>>config.log
  61489. +{
  61490. + echo
  61491. + AS_BOX([Running $as_me.])
  61492. +} >&AS_MESSAGE_LOG_FD
  61493. +
  61494. +lt_cl_help="\
  61495. +'$as_me' creates a local libtool stub from the current configuration,
  61496. +for use in further configure time tests before the real libtool is
  61497. +generated.
  61498. +
  61499. +Usage: $[0] [[OPTIONS]]
  61500. +
  61501. + -h, --help print this help, then exit
  61502. + -V, --version print version number, then exit
  61503. + -q, --quiet do not print progress messages
  61504. + -d, --debug don't remove temporary files
  61505. +
  61506. +Report bugs to <bug-libtool@gnu.org>."
  61507. +
  61508. +lt_cl_version="\
  61509. +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
  61510. +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  61511. +configured by $[0], generated by m4_PACKAGE_STRING.
  61512. +
  61513. +Copyright (C) 2011 Free Software Foundation, Inc.
  61514. +This config.lt script is free software; the Free Software Foundation
  61515. +gives unlimited permision to copy, distribute and modify it."
  61516. +
  61517. +while test 0 != $[#]
  61518. +do
  61519. + case $[1] in
  61520. + --version | --v* | -V )
  61521. + echo "$lt_cl_version"; exit 0 ;;
  61522. + --help | --h* | -h )
  61523. + echo "$lt_cl_help"; exit 0 ;;
  61524. + --debug | --d* | -d )
  61525. + debug=: ;;
  61526. + --quiet | --q* | --silent | --s* | -q )
  61527. + lt_cl_silent=: ;;
  61528. +
  61529. + -*) AC_MSG_ERROR([unrecognized option: $[1]
  61530. +Try '$[0] --help' for more information.]) ;;
  61531. +
  61532. + *) AC_MSG_ERROR([unrecognized argument: $[1]
  61533. +Try '$[0] --help' for more information.]) ;;
  61534. + esac
  61535. + shift
  61536. +done
  61537. +
  61538. +if $lt_cl_silent; then
  61539. + exec AS_MESSAGE_FD>/dev/null
  61540. +fi
  61541. +_LTEOF
  61542. +
  61543. +cat >>"$CONFIG_LT" <<_LTEOF
  61544. +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
  61545. +_LTEOF
  61546. +
  61547. +cat >>"$CONFIG_LT" <<\_LTEOF
  61548. +AC_MSG_NOTICE([creating $ofile])
  61549. +_LT_OUTPUT_LIBTOOL_COMMANDS
  61550. +AS_EXIT(0)
  61551. +_LTEOF
  61552. +chmod +x "$CONFIG_LT"
  61553. +
  61554. +# configure is writing to config.log, but config.lt does its own redirection,
  61555. +# appending to config.log, which fails on DOS, as config.log is still kept
  61556. +# open by configure. Here we exec the FD to /dev/null, effectively closing
  61557. +# config.log, so it can be properly (re)opened and appended to by config.lt.
  61558. +lt_cl_success=:
  61559. +test yes = "$silent" &&
  61560. + lt_config_lt_args="$lt_config_lt_args --quiet"
  61561. +exec AS_MESSAGE_LOG_FD>/dev/null
  61562. +$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  61563. +exec AS_MESSAGE_LOG_FD>>config.log
  61564. +$lt_cl_success || AS_EXIT(1)
  61565. +])
  61566. +m4trace:m4/libtool.m4:812: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
  61567. +m4trace:m4/libtool.m4:823: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
  61568. +m4_case([$1],
  61569. + [C], [_LT_LANG(C)],
  61570. + [C++], [_LT_LANG(CXX)],
  61571. + [Go], [_LT_LANG(GO)],
  61572. + [Java], [_LT_LANG(GCJ)],
  61573. + [Fortran 77], [_LT_LANG(F77)],
  61574. + [Fortran], [_LT_LANG(FC)],
  61575. + [Windows Resource], [_LT_LANG(RC)],
  61576. + [m4_ifdef([_LT_LANG_]$1[_CONFIG],
  61577. + [_LT_LANG($1)],
  61578. + [m4_fatal([$0: unsupported language: "$1"])])])dnl
  61579. +])
  61580. +m4trace:m4/libtool.m4:915: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
  61581. +m4trace:m4/libtool.m4:915: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
  61582. +You should run autoupdate.])dnl
  61583. +LT_LANG(C++)])
  61584. +m4trace:m4/libtool.m4:916: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  61585. +m4trace:m4/libtool.m4:916: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
  61586. +You should run autoupdate.])dnl
  61587. +LT_LANG(Fortran 77)])
  61588. +m4trace:m4/libtool.m4:917: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  61589. +m4trace:m4/libtool.m4:917: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
  61590. +You should run autoupdate.])dnl
  61591. +LT_LANG(Fortran)])
  61592. +m4trace:m4/libtool.m4:918: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  61593. +m4trace:m4/libtool.m4:918: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
  61594. +You should run autoupdate.])dnl
  61595. +LT_LANG(Java)])
  61596. +m4trace:m4/libtool.m4:919: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
  61597. +m4trace:m4/libtool.m4:919: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_RC' is obsolete.
  61598. +You should run autoupdate.])dnl
  61599. +LT_LANG(Windows Resource)])
  61600. +m4trace:m4/libtool.m4:1247: -1- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot])
  61601. +AC_ARG_WITH([sysroot],
  61602. +[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
  61603. + [Search for dependent libraries within DIR (or the compiler's sysroot
  61604. + if not specified).])],
  61605. +[], [with_sysroot=no])
  61606. +
  61607. +dnl lt_sysroot will always be passed unquoted. We quote it here
  61608. +dnl in case the user passed a directory name.
  61609. +lt_sysroot=
  61610. +case $with_sysroot in #(
  61611. + yes)
  61612. + if test yes = "$GCC"; then
  61613. + lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  61614. + fi
  61615. + ;; #(
  61616. + /*)
  61617. + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  61618. + ;; #(
  61619. + no|'')
  61620. + ;; #(
  61621. + *)
  61622. + AC_MSG_RESULT([$with_sysroot])
  61623. + AC_MSG_ERROR([The sysroot must be an absolute path.])
  61624. + ;;
  61625. +esac
  61626. +
  61627. + AC_MSG_RESULT([${lt_sysroot:-no}])
  61628. +_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
  61629. +[dependent libraries, and where our libraries should be installed.])])
  61630. +m4trace:m4/libtool.m4:1578: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  61631. +m4_require([_LT_DECL_SED])dnl
  61632. +AC_CACHE_CHECK([$1], [$2],
  61633. + [$2=no
  61634. + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  61635. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  61636. + lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment
  61637. + # Insert the option either (1) after the last *FLAGS variable, or
  61638. + # (2) before a word containing "conftest.", or (3) at the end.
  61639. + # Note that $ac_compile itself does not contain backslashes and begins
  61640. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  61641. + # The option is referenced via a variable to avoid confusing sed.
  61642. + lt_compile=`echo "$ac_compile" | $SED \
  61643. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  61644. + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  61645. + -e 's:$: $lt_compiler_flag:'`
  61646. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  61647. + (eval "$lt_compile" 2>conftest.err)
  61648. + ac_status=$?
  61649. + cat conftest.err >&AS_MESSAGE_LOG_FD
  61650. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  61651. + if (exit $ac_status) && test -s "$ac_outfile"; then
  61652. + # The compiler can only warn and ignore the option if not recognized
  61653. + # So say no if there are warnings other than the usual output.
  61654. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  61655. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  61656. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  61657. + $2=yes
  61658. + fi
  61659. + fi
  61660. + $RM conftest*
  61661. +])
  61662. +
  61663. +if test yes = "[$]$2"; then
  61664. + m4_if([$5], , :, [$5])
  61665. +else
  61666. + m4_if([$6], , :, [$6])
  61667. +fi
  61668. +])
  61669. +m4trace:m4/libtool.m4:1620: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
  61670. +m4trace:m4/libtool.m4:1620: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
  61671. +You should run autoupdate.])dnl
  61672. +m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
  61673. +m4trace:m4/libtool.m4:1629: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  61674. +m4_require([_LT_DECL_SED])dnl
  61675. +AC_CACHE_CHECK([$1], [$2],
  61676. + [$2=no
  61677. + save_LDFLAGS=$LDFLAGS
  61678. + LDFLAGS="$LDFLAGS $3"
  61679. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  61680. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  61681. + # The linker can only warn and ignore the option if not recognized
  61682. + # So say no if there are warnings
  61683. + if test -s conftest.err; then
  61684. + # Append any errors to the config.log.
  61685. + cat conftest.err 1>&AS_MESSAGE_LOG_FD
  61686. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  61687. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  61688. + if diff conftest.exp conftest.er2 >/dev/null; then
  61689. + $2=yes
  61690. + fi
  61691. + else
  61692. + $2=yes
  61693. + fi
  61694. + fi
  61695. + $RM -r conftest*
  61696. + LDFLAGS=$save_LDFLAGS
  61697. +])
  61698. +
  61699. +if test yes = "[$]$2"; then
  61700. + m4_if([$4], , :, [$4])
  61701. +else
  61702. + m4_if([$5], , :, [$5])
  61703. +fi
  61704. +])
  61705. +m4trace:m4/libtool.m4:1664: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
  61706. +m4trace:m4/libtool.m4:1664: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
  61707. +You should run autoupdate.])dnl
  61708. +m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
  61709. +m4trace:m4/libtool.m4:1671: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  61710. +# find the maximum length of command line arguments
  61711. +AC_MSG_CHECKING([the maximum length of command line arguments])
  61712. +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
  61713. + i=0
  61714. + teststring=ABCD
  61715. +
  61716. + case $build_os in
  61717. + msdosdjgpp*)
  61718. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  61719. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  61720. + # during glob expansion). Even if it were fixed, the result of this
  61721. + # check would be larger than it should be.
  61722. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  61723. + ;;
  61724. +
  61725. + gnu*)
  61726. + # Under GNU Hurd, this test is not required because there is
  61727. + # no limit to the length of command line arguments.
  61728. + # Libtool will interpret -1 as no limit whatsoever
  61729. + lt_cv_sys_max_cmd_len=-1;
  61730. + ;;
  61731. +
  61732. + cygwin* | mingw* | cegcc*)
  61733. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  61734. + # about 5 minutes as the teststring grows exponentially.
  61735. + # Worse, since 9x/ME are not pre-emptively multitasking,
  61736. + # you end up with a "frozen" computer, even though with patience
  61737. + # the test eventually succeeds (with a max line length of 256k).
  61738. + # Instead, let's just punt: use the minimum linelength reported by
  61739. + # all of the supported platforms: 8192 (on NT/2K/XP).
  61740. + lt_cv_sys_max_cmd_len=8192;
  61741. + ;;
  61742. +
  61743. + mint*)
  61744. + # On MiNT this can take a long time and run out of memory.
  61745. + lt_cv_sys_max_cmd_len=8192;
  61746. + ;;
  61747. +
  61748. + amigaos*)
  61749. + # On AmigaOS with pdksh, this test takes hours, literally.
  61750. + # So we just punt and use a minimum line length of 8192.
  61751. + lt_cv_sys_max_cmd_len=8192;
  61752. + ;;
  61753. +
  61754. + bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
  61755. + # This has been around since 386BSD, at least. Likely further.
  61756. + if test -x /sbin/sysctl; then
  61757. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  61758. + elif test -x /usr/sbin/sysctl; then
  61759. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  61760. + else
  61761. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  61762. + fi
  61763. + # And add a safety zone
  61764. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  61765. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  61766. + ;;
  61767. +
  61768. + interix*)
  61769. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  61770. + lt_cv_sys_max_cmd_len=196608
  61771. + ;;
  61772. +
  61773. + os2*)
  61774. + # The test takes a long time on OS/2.
  61775. + lt_cv_sys_max_cmd_len=8192
  61776. + ;;
  61777. +
  61778. + osf*)
  61779. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  61780. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  61781. + # nice to cause kernel panics so lets avoid the loop below.
  61782. + # First set a reasonable default.
  61783. + lt_cv_sys_max_cmd_len=16384
  61784. + #
  61785. + if test -x /sbin/sysconfig; then
  61786. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  61787. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  61788. + esac
  61789. + fi
  61790. + ;;
  61791. + sco3.2v5*)
  61792. + lt_cv_sys_max_cmd_len=102400
  61793. + ;;
  61794. + sysv5* | sco5v6* | sysv4.2uw2*)
  61795. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  61796. + if test -n "$kargmax"; then
  61797. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
  61798. + else
  61799. + lt_cv_sys_max_cmd_len=32768
  61800. + fi
  61801. + ;;
  61802. + *)
  61803. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  61804. + if test -n "$lt_cv_sys_max_cmd_len" && \
  61805. + test undefined != "$lt_cv_sys_max_cmd_len"; then
  61806. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  61807. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  61808. + else
  61809. + # Make teststring a little bigger before we do anything with it.
  61810. + # a 1K string should be a reasonable start.
  61811. + for i in 1 2 3 4 5 6 7 8; do
  61812. + teststring=$teststring$teststring
  61813. + done
  61814. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  61815. + # If test is not a shell built-in, we'll probably end up computing a
  61816. + # maximum length that is only half of the actual maximum length, but
  61817. + # we can't tell.
  61818. + while { test X`env echo "$teststring$teststring" 2>/dev/null` \
  61819. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  61820. + test 17 != "$i" # 1/2 MB should be enough
  61821. + do
  61822. + i=`expr $i + 1`
  61823. + teststring=$teststring$teststring
  61824. + done
  61825. + # Only check the string length outside the loop.
  61826. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  61827. + teststring=
  61828. + # Add a significant safety factor because C++ compilers can tack on
  61829. + # massive amounts of additional arguments before passing them to the
  61830. + # linker. It appears as though 1/2 is a usable value.
  61831. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  61832. + fi
  61833. + ;;
  61834. + esac
  61835. +])
  61836. +if test -n "$lt_cv_sys_max_cmd_len"; then
  61837. + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
  61838. +else
  61839. + AC_MSG_RESULT(none)
  61840. +fi
  61841. +max_cmd_len=$lt_cv_sys_max_cmd_len
  61842. +_LT_DECL([], [max_cmd_len], [0],
  61843. + [What is the maximum length of a command?])
  61844. +])
  61845. +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($@)])])
  61846. +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.
  61847. +You should run autoupdate.])dnl
  61848. +m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
  61849. +m4trace:m4/libtool.m4:1921: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
  61850. +if test yes != "$enable_dlopen"; then
  61851. + enable_dlopen=unknown
  61852. + enable_dlopen_self=unknown
  61853. + enable_dlopen_self_static=unknown
  61854. +else
  61855. + lt_cv_dlopen=no
  61856. + lt_cv_dlopen_libs=
  61857. +
  61858. + case $host_os in
  61859. + beos*)
  61860. + lt_cv_dlopen=load_add_on
  61861. + lt_cv_dlopen_libs=
  61862. + lt_cv_dlopen_self=yes
  61863. + ;;
  61864. +
  61865. + mingw* | pw32* | cegcc*)
  61866. + lt_cv_dlopen=LoadLibrary
  61867. + lt_cv_dlopen_libs=
  61868. + ;;
  61869. +
  61870. + cygwin*)
  61871. + lt_cv_dlopen=dlopen
  61872. + lt_cv_dlopen_libs=
  61873. + ;;
  61874. +
  61875. + darwin*)
  61876. + # if libdl is installed we need to link against it
  61877. + AC_CHECK_LIB([dl], [dlopen],
  61878. + [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
  61879. + lt_cv_dlopen=dyld
  61880. + lt_cv_dlopen_libs=
  61881. + lt_cv_dlopen_self=yes
  61882. + ])
  61883. + ;;
  61884. +
  61885. + tpf*)
  61886. + # Don't try to run any link tests for TPF. We know it's impossible
  61887. + # because TPF is a cross-compiler, and we know how we open DSOs.
  61888. + lt_cv_dlopen=dlopen
  61889. + lt_cv_dlopen_libs=
  61890. + lt_cv_dlopen_self=no
  61891. + ;;
  61892. +
  61893. + *)
  61894. + AC_CHECK_FUNC([shl_load],
  61895. + [lt_cv_dlopen=shl_load],
  61896. + [AC_CHECK_LIB([dld], [shl_load],
  61897. + [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
  61898. + [AC_CHECK_FUNC([dlopen],
  61899. + [lt_cv_dlopen=dlopen],
  61900. + [AC_CHECK_LIB([dl], [dlopen],
  61901. + [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
  61902. + [AC_CHECK_LIB([svld], [dlopen],
  61903. + [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
  61904. + [AC_CHECK_LIB([dld], [dld_link],
  61905. + [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
  61906. + ])
  61907. + ])
  61908. + ])
  61909. + ])
  61910. + ])
  61911. + ;;
  61912. + esac
  61913. +
  61914. + if test no = "$lt_cv_dlopen"; then
  61915. + enable_dlopen=no
  61916. + else
  61917. + enable_dlopen=yes
  61918. + fi
  61919. +
  61920. + case $lt_cv_dlopen in
  61921. + dlopen)
  61922. + save_CPPFLAGS=$CPPFLAGS
  61923. + test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  61924. +
  61925. + save_LDFLAGS=$LDFLAGS
  61926. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  61927. +
  61928. + save_LIBS=$LIBS
  61929. + LIBS="$lt_cv_dlopen_libs $LIBS"
  61930. +
  61931. + AC_CACHE_CHECK([whether a program can dlopen itself],
  61932. + lt_cv_dlopen_self, [dnl
  61933. + _LT_TRY_DLOPEN_SELF(
  61934. + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  61935. + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  61936. + ])
  61937. +
  61938. + if test yes = "$lt_cv_dlopen_self"; then
  61939. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  61940. + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  61941. + lt_cv_dlopen_self_static, [dnl
  61942. + _LT_TRY_DLOPEN_SELF(
  61943. + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  61944. + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
  61945. + ])
  61946. + fi
  61947. +
  61948. + CPPFLAGS=$save_CPPFLAGS
  61949. + LDFLAGS=$save_LDFLAGS
  61950. + LIBS=$save_LIBS
  61951. + ;;
  61952. + esac
  61953. +
  61954. + case $lt_cv_dlopen_self in
  61955. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  61956. + *) enable_dlopen_self=unknown ;;
  61957. + esac
  61958. +
  61959. + case $lt_cv_dlopen_self_static in
  61960. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  61961. + *) enable_dlopen_self_static=unknown ;;
  61962. + esac
  61963. +fi
  61964. +_LT_DECL([dlopen_support], [enable_dlopen], [0],
  61965. + [Whether dlopen is supported])
  61966. +_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
  61967. + [Whether dlopen of programs is supported])
  61968. +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
  61969. + [Whether dlopen of statically linked programs is supported])
  61970. +])
  61971. +m4trace:m4/libtool.m4:2046: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
  61972. +m4trace:m4/libtool.m4:2046: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
  61973. +You should run autoupdate.])dnl
  61974. +m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
  61975. +m4trace:m4/libtool.m4:3158: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
  61976. +AC_MSG_CHECKING([for $1])
  61977. +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  61978. +[case $MAGIC_CMD in
  61979. +[[\\/*] | ?:[\\/]*])
  61980. + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  61981. + ;;
  61982. +*)
  61983. + lt_save_MAGIC_CMD=$MAGIC_CMD
  61984. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  61985. +dnl $ac_dummy forces splitting on constant user-supplied paths.
  61986. +dnl POSIX.2 word splitting is done only on the output of word expansions,
  61987. +dnl not every word. This closes a longstanding sh security hole.
  61988. + ac_dummy="m4_if([$2], , $PATH, [$2])"
  61989. + for ac_dir in $ac_dummy; do
  61990. + IFS=$lt_save_ifs
  61991. + test -z "$ac_dir" && ac_dir=.
  61992. + if test -f "$ac_dir/$1"; then
  61993. + lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
  61994. + if test -n "$file_magic_test_file"; then
  61995. + case $deplibs_check_method in
  61996. + "file_magic "*)
  61997. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  61998. + MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  61999. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  62000. + $EGREP "$file_magic_regex" > /dev/null; then
  62001. + :
  62002. + else
  62003. + cat <<_LT_EOF 1>&2
  62004. +
  62005. +*** Warning: the command libtool uses to detect shared libraries,
  62006. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  62007. +*** The result is that libtool may fail to recognize shared libraries
  62008. +*** as such. This will affect the creation of libtool libraries that
  62009. +*** depend on shared libraries, but programs linked with such libtool
  62010. +*** libraries will work regardless of this problem. Nevertheless, you
  62011. +*** may want to report the problem to your system manager and/or to
  62012. +*** bug-libtool@gnu.org
  62013. +
  62014. +_LT_EOF
  62015. + fi ;;
  62016. + esac
  62017. + fi
  62018. + break
  62019. + fi
  62020. + done
  62021. + IFS=$lt_save_ifs
  62022. + MAGIC_CMD=$lt_save_MAGIC_CMD
  62023. + ;;
  62024. +esac])
  62025. +MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  62026. +if test -n "$MAGIC_CMD"; then
  62027. + AC_MSG_RESULT($MAGIC_CMD)
  62028. +else
  62029. + AC_MSG_RESULT(no)
  62030. +fi
  62031. +_LT_DECL([], [MAGIC_CMD], [0],
  62032. + [Used to examine libraries when file_magic_cmd begins with "file"])dnl
  62033. +])
  62034. +m4trace:m4/libtool.m4:3220: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
  62035. +m4trace:m4/libtool.m4:3220: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
  62036. +You should run autoupdate.])dnl
  62037. +m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
  62038. +m4trace:m4/libtool.m4:3243: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
  62039. +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  62040. +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  62041. +m4_require([_LT_DECL_SED])dnl
  62042. +m4_require([_LT_DECL_EGREP])dnl
  62043. +m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
  62044. +
  62045. +AC_ARG_WITH([gnu-ld],
  62046. + [AS_HELP_STRING([--with-gnu-ld],
  62047. + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  62048. + [test no = "$withval" || with_gnu_ld=yes],
  62049. + [with_gnu_ld=no])dnl
  62050. +
  62051. +ac_prog=ld
  62052. +if test yes = "$GCC"; then
  62053. + # Check if gcc -print-prog-name=ld gives a path.
  62054. + AC_MSG_CHECKING([for ld used by $CC])
  62055. + case $host in
  62056. + *-*-mingw*)
  62057. + # gcc leaves a trailing carriage return, which upsets mingw
  62058. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  62059. + *)
  62060. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  62061. + esac
  62062. + case $ac_prog in
  62063. + # Accept absolute paths.
  62064. + [[\\/]]* | ?:[[\\/]]*)
  62065. + re_direlt='/[[^/]][[^/]]*/\.\./'
  62066. + # Canonicalize the pathname of ld
  62067. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  62068. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  62069. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  62070. + done
  62071. + test -z "$LD" && LD=$ac_prog
  62072. + ;;
  62073. + "")
  62074. + # If it fails, then pretend we aren't using GCC.
  62075. + ac_prog=ld
  62076. + ;;
  62077. + *)
  62078. + # If it is relative, then search for the first ld in PATH.
  62079. + with_gnu_ld=unknown
  62080. + ;;
  62081. + esac
  62082. +elif test yes = "$with_gnu_ld"; then
  62083. + AC_MSG_CHECKING([for GNU ld])
  62084. +else
  62085. + AC_MSG_CHECKING([for non-GNU ld])
  62086. +fi
  62087. +AC_CACHE_VAL(lt_cv_path_LD,
  62088. +[if test -z "$LD"; then
  62089. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  62090. + for ac_dir in $PATH; do
  62091. + IFS=$lt_save_ifs
  62092. + test -z "$ac_dir" && ac_dir=.
  62093. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  62094. + lt_cv_path_LD=$ac_dir/$ac_prog
  62095. + # Check to see if the program is GNU ld. I'd rather use --version,
  62096. + # but apparently some variants of GNU ld only accept -v.
  62097. + # Break only if it was the GNU/non-GNU ld that we prefer.
  62098. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  62099. + *GNU* | *'with BFD'*)
  62100. + test no != "$with_gnu_ld" && break
  62101. + ;;
  62102. + *)
  62103. + test yes != "$with_gnu_ld" && break
  62104. + ;;
  62105. + esac
  62106. + fi
  62107. + done
  62108. + IFS=$lt_save_ifs
  62109. +else
  62110. + lt_cv_path_LD=$LD # Let the user override the test with a path.
  62111. +fi])
  62112. +LD=$lt_cv_path_LD
  62113. +if test -n "$LD"; then
  62114. + AC_MSG_RESULT($LD)
  62115. +else
  62116. + AC_MSG_RESULT(no)
  62117. +fi
  62118. +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  62119. +_LT_PATH_LD_GNU
  62120. +AC_SUBST([LD])
  62121. +
  62122. +_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
  62123. +])
  62124. +m4trace:m4/libtool.m4:3332: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  62125. +m4trace:m4/libtool.m4:3332: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
  62126. +You should run autoupdate.])dnl
  62127. +m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  62128. +m4trace:m4/libtool.m4:3333: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  62129. +m4trace:m4/libtool.m4:3333: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
  62130. +You should run autoupdate.])dnl
  62131. +m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  62132. +m4trace:m4/libtool.m4:3662: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
  62133. +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
  62134. +[if test -n "$NM"; then
  62135. + # Let the user override the test.
  62136. + lt_cv_path_NM=$NM
  62137. +else
  62138. + lt_nm_to_check=${ac_tool_prefix}nm
  62139. + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  62140. + lt_nm_to_check="$lt_nm_to_check nm"
  62141. + fi
  62142. + for lt_tmp_nm in $lt_nm_to_check; do
  62143. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  62144. + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  62145. + IFS=$lt_save_ifs
  62146. + test -z "$ac_dir" && ac_dir=.
  62147. + tmp_nm=$ac_dir/$lt_tmp_nm
  62148. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
  62149. + # Check to see if the nm accepts a BSD-compat flag.
  62150. + # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
  62151. + # nm: unknown option "B" ignored
  62152. + # Tru64's nm complains that /dev/null is an invalid object file
  62153. + # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
  62154. + case $build_os in
  62155. + mingw*) lt_bad_file=conftest.nm/nofile ;;
  62156. + *) lt_bad_file=/dev/null ;;
  62157. + esac
  62158. + case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
  62159. + *$lt_bad_file* | *'Invalid file or object type'*)
  62160. + lt_cv_path_NM="$tmp_nm -B"
  62161. + break 2
  62162. + ;;
  62163. + *)
  62164. + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  62165. + */dev/null*)
  62166. + lt_cv_path_NM="$tmp_nm -p"
  62167. + break 2
  62168. + ;;
  62169. + *)
  62170. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  62171. + continue # so that we can try to find one that supports BSD flags
  62172. + ;;
  62173. + esac
  62174. + ;;
  62175. + esac
  62176. + fi
  62177. + done
  62178. + IFS=$lt_save_ifs
  62179. + done
  62180. + : ${lt_cv_path_NM=no}
  62181. +fi])
  62182. +if test no != "$lt_cv_path_NM"; then
  62183. + NM=$lt_cv_path_NM
  62184. +else
  62185. + # Didn't find any BSD compatible name lister, look for dumpbin.
  62186. + if test -n "$DUMPBIN"; then :
  62187. + # Let the user override the test.
  62188. + else
  62189. + AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
  62190. + case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
  62191. + *COFF*)
  62192. + DUMPBIN="$DUMPBIN -symbols -headers"
  62193. + ;;
  62194. + *)
  62195. + DUMPBIN=:
  62196. + ;;
  62197. + esac
  62198. + fi
  62199. + AC_SUBST([DUMPBIN])
  62200. + if test : != "$DUMPBIN"; then
  62201. + NM=$DUMPBIN
  62202. + fi
  62203. +fi
  62204. +test -z "$NM" && NM=nm
  62205. +AC_SUBST([NM])
  62206. +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
  62207. +
  62208. +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  62209. + [lt_cv_nm_interface="BSD nm"
  62210. + echo "int some_variable = 0;" > conftest.$ac_ext
  62211. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  62212. + (eval "$ac_compile" 2>conftest.err)
  62213. + cat conftest.err >&AS_MESSAGE_LOG_FD
  62214. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  62215. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  62216. + cat conftest.err >&AS_MESSAGE_LOG_FD
  62217. + (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
  62218. + cat conftest.out >&AS_MESSAGE_LOG_FD
  62219. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  62220. + lt_cv_nm_interface="MS dumpbin"
  62221. + fi
  62222. + rm -f conftest*])
  62223. +])
  62224. +m4trace:m4/libtool.m4:3757: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  62225. +m4trace:m4/libtool.m4:3757: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
  62226. +You should run autoupdate.])dnl
  62227. +m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  62228. +m4trace:m4/libtool.m4:3758: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  62229. +m4trace:m4/libtool.m4:3758: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
  62230. +You should run autoupdate.])dnl
  62231. +m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  62232. +m4trace:m4/libtool.m4:3829: -1- AC_DEFUN([_LT_DLL_DEF_P], [dnl
  62233. + test DEF = "`$SED -n dnl
  62234. + -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
  62235. + -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
  62236. + -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
  62237. + -e q dnl Only consider the first "real" line
  62238. + $1`" dnl
  62239. +])
  62240. +m4trace:m4/libtool.m4:3843: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  62241. +LIBM=
  62242. +case $host in
  62243. +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
  62244. + # These system don't have libm, or don't need it
  62245. + ;;
  62246. +*-ncr-sysv4.3*)
  62247. + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
  62248. + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
  62249. + ;;
  62250. +*)
  62251. + AC_CHECK_LIB(m, cos, LIBM=-lm)
  62252. + ;;
  62253. +esac
  62254. +AC_SUBST([LIBM])
  62255. +])
  62256. +m4trace:m4/libtool.m4:3862: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
  62257. +m4trace:m4/libtool.m4:3862: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
  62258. +You should run autoupdate.])dnl
  62259. +m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
  62260. +m4trace:m4/libtool.m4:8125: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
  62261. + [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
  62262. + [AC_CHECK_TOOL(GCJ, gcj,)
  62263. + test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
  62264. + AC_SUBST(GCJFLAGS)])])[]dnl
  62265. +])
  62266. +m4trace:m4/libtool.m4:8134: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
  62267. +m4trace:m4/libtool.m4:8134: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
  62268. +You should run autoupdate.])dnl
  62269. +m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
  62270. +m4trace:m4/libtool.m4:8141: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,)
  62271. +])
  62272. +m4trace:m4/libtool.m4:8148: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
  62273. +])
  62274. +m4trace:m4/libtool.m4:8153: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
  62275. +m4trace:m4/libtool.m4:8153: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
  62276. +You should run autoupdate.])dnl
  62277. +m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
  62278. +m4trace:m4/libtool.m4:8273: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
  62279. +m4trace:m4/libtool.m4:8273: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
  62280. +You should run autoupdate.])dnl
  62281. +m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
  62282. +m4trace:m4/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
  62283. +m4trace:m4/ltoptions.m4:113: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
  62284. +AC_DIAGNOSE([obsolete],
  62285. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  62286. +put the 'dlopen' option into LT_INIT's first parameter.])
  62287. +])
  62288. +m4trace:m4/ltoptions.m4:113: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
  62289. +You should run autoupdate.])dnl
  62290. +_LT_SET_OPTION([LT_INIT], [dlopen])
  62291. +AC_DIAGNOSE([obsolete],
  62292. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  62293. +put the 'dlopen' option into LT_INIT's first parameter.])
  62294. +])
  62295. +m4trace:m4/ltoptions.m4:148: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  62296. +_LT_SET_OPTION([LT_INIT], [win32-dll])
  62297. +AC_DIAGNOSE([obsolete],
  62298. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  62299. +put the 'win32-dll' option into LT_INIT's first parameter.])
  62300. +])
  62301. +m4trace:m4/ltoptions.m4:148: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
  62302. +You should run autoupdate.])dnl
  62303. +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  62304. +_LT_SET_OPTION([LT_INIT], [win32-dll])
  62305. +AC_DIAGNOSE([obsolete],
  62306. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  62307. +put the 'win32-dll' option into LT_INIT's first parameter.])
  62308. +])
  62309. +m4trace:m4/ltoptions.m4:197: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
  62310. +])
  62311. +m4trace:m4/ltoptions.m4:201: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
  62312. +])
  62313. +m4trace:m4/ltoptions.m4:205: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  62314. +m4trace:m4/ltoptions.m4:205: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
  62315. +You should run autoupdate.])dnl
  62316. +AC_ENABLE_SHARED($@)])
  62317. +m4trace:m4/ltoptions.m4:206: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  62318. +m4trace:m4/ltoptions.m4:206: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
  62319. +You should run autoupdate.])dnl
  62320. +AC_DISABLE_SHARED($@)])
  62321. +m4trace:m4/ltoptions.m4:251: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
  62322. +])
  62323. +m4trace:m4/ltoptions.m4:255: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
  62324. +])
  62325. +m4trace:m4/ltoptions.m4:259: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  62326. +m4trace:m4/ltoptions.m4:259: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
  62327. +You should run autoupdate.])dnl
  62328. +AC_ENABLE_STATIC($@)])
  62329. +m4trace:m4/ltoptions.m4:260: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  62330. +m4trace:m4/ltoptions.m4:260: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
  62331. +You should run autoupdate.])dnl
  62332. +AC_DISABLE_STATIC($@)])
  62333. +m4trace:m4/ltoptions.m4:305: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  62334. +AC_DIAGNOSE([obsolete],
  62335. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  62336. +the 'fast-install' option into LT_INIT's first parameter.])
  62337. +])
  62338. +m4trace:m4/ltoptions.m4:305: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
  62339. +You should run autoupdate.])dnl
  62340. +_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  62341. +AC_DIAGNOSE([obsolete],
  62342. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  62343. +the 'fast-install' option into LT_INIT's first parameter.])
  62344. +])
  62345. +m4trace:m4/ltoptions.m4:312: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  62346. +AC_DIAGNOSE([obsolete],
  62347. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  62348. +the 'disable-fast-install' option into LT_INIT's first parameter.])
  62349. +])
  62350. +m4trace:m4/ltoptions.m4:312: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
  62351. +You should run autoupdate.])dnl
  62352. +_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  62353. +AC_DIAGNOSE([obsolete],
  62354. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  62355. +the 'disable-fast-install' option into LT_INIT's first parameter.])
  62356. +])
  62357. +m4trace:m4/ltoptions.m4:411: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
  62358. +AC_DIAGNOSE([obsolete],
  62359. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  62360. +put the 'pic-only' option into LT_INIT's first parameter.])
  62361. +])
  62362. +m4trace:m4/ltoptions.m4:411: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
  62363. +You should run autoupdate.])dnl
  62364. +_LT_SET_OPTION([LT_INIT], [pic-only])
  62365. +AC_DIAGNOSE([obsolete],
  62366. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  62367. +put the 'pic-only' option into LT_INIT's first parameter.])
  62368. +])
  62369. +m4trace:m4/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
  62370. +m4trace:m4/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.6'
  62371. +macro_revision='2.4.6'
  62372. +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  62373. +_LT_DECL(, macro_revision, 0)
  62374. +])
  62375. +m4trace:m4/lt~obsolete.m4:37: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
  62376. +m4trace:m4/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
  62377. +m4trace:m4/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
  62378. +m4trace:m4/lt~obsolete.m4:43: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
  62379. +m4trace:m4/lt~obsolete.m4:45: -1- AC_DEFUN([_LT_AC_TAGVAR])
  62380. +m4trace:m4/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
  62381. +m4trace:m4/lt~obsolete.m4:47: -1- AC_DEFUN([AC_LTDL_PREOPEN])
  62382. +m4trace:m4/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
  62383. +m4trace:m4/lt~obsolete.m4:49: -1- AC_DEFUN([_LT_AC_LOCK])
  62384. +m4trace:m4/lt~obsolete.m4:50: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
  62385. +m4trace:m4/lt~obsolete.m4:51: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
  62386. +m4trace:m4/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
  62387. +m4trace:m4/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
  62388. +m4trace:m4/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
  62389. +m4trace:m4/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LTDL_OBJDIR])
  62390. +m4trace:m4/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
  62391. +m4trace:m4/lt~obsolete.m4:57: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
  62392. +m4trace:m4/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PATH_MAGIC])
  62393. +m4trace:m4/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_GNU])
  62394. +m4trace:m4/lt~obsolete.m4:60: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
  62395. +m4trace:m4/lt~obsolete.m4:61: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
  62396. +m4trace:m4/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
  62397. +m4trace:m4/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
  62398. +m4trace:m4/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
  62399. +m4trace:m4/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
  62400. +m4trace:m4/lt~obsolete.m4:66: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
  62401. +m4trace:m4/lt~obsolete.m4:67: -1- AC_DEFUN([LT_AC_PROG_EGREP])
  62402. +m4trace:m4/lt~obsolete.m4:72: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
  62403. +m4trace:m4/lt~obsolete.m4:73: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
  62404. +m4trace:m4/lt~obsolete.m4:74: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
  62405. +m4trace:m4/lt~obsolete.m4:75: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
  62406. +m4trace:m4/lt~obsolete.m4:76: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
  62407. +m4trace:m4/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_CXX])
  62408. +m4trace:m4/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_F77])
  62409. +m4trace:m4/lt~obsolete.m4:80: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
  62410. +m4trace:m4/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
  62411. +m4trace:m4/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
  62412. +m4trace:m4/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
  62413. +m4trace:m4/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
  62414. +m4trace:m4/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
  62415. +m4trace:m4/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
  62416. +m4trace:m4/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
  62417. +m4trace:m4/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
  62418. +m4trace:m4/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
  62419. +m4trace:m4/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
  62420. +m4trace:m4/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
  62421. +m4trace:m4/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
  62422. +m4trace:m4/lt~obsolete.m4:94: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP])
  62423. +m4trace:m4/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_F77])
  62424. +m4trace:m4/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_FC])
  62425. +m4trace:m4/lt~obsolete.m4:99: -1- AC_DEFUN([_LT_PROG_CXX])
  62426. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?A[CHUM]_])
  62427. +m4trace:configure.ac:9: -1- m4_pattern_forbid([_AC_])
  62428. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
  62429. +m4trace:configure.ac:9: -1- m4_pattern_allow([^AS_FLAGS$])
  62430. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?m4_])
  62431. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^dnl$])
  62432. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?AS_])
  62433. +m4trace:configure.ac:9: -1- m4_pattern_allow([^SHELL$])
  62434. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PATH_SEPARATOR$])
  62435. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_NAME$])
  62436. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  62437. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  62438. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_STRING$])
  62439. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  62440. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_URL$])
  62441. +m4trace:configure.ac:9: -1- m4_pattern_allow([^exec_prefix$])
  62442. +m4trace:configure.ac:9: -1- m4_pattern_allow([^prefix$])
  62443. +m4trace:configure.ac:9: -1- m4_pattern_allow([^program_transform_name$])
  62444. +m4trace:configure.ac:9: -1- m4_pattern_allow([^bindir$])
  62445. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sbindir$])
  62446. +m4trace:configure.ac:9: -1- m4_pattern_allow([^libexecdir$])
  62447. +m4trace:configure.ac:9: -1- m4_pattern_allow([^datarootdir$])
  62448. +m4trace:configure.ac:9: -1- m4_pattern_allow([^datadir$])
  62449. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sysconfdir$])
  62450. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sharedstatedir$])
  62451. +m4trace:configure.ac:9: -1- m4_pattern_allow([^localstatedir$])
  62452. +m4trace:configure.ac:9: -1- m4_pattern_allow([^includedir$])
  62453. +m4trace:configure.ac:9: -1- m4_pattern_allow([^oldincludedir$])
  62454. +m4trace:configure.ac:9: -1- m4_pattern_allow([^docdir$])
  62455. +m4trace:configure.ac:9: -1- m4_pattern_allow([^infodir$])
  62456. +m4trace:configure.ac:9: -1- m4_pattern_allow([^htmldir$])
  62457. +m4trace:configure.ac:9: -1- m4_pattern_allow([^dvidir$])
  62458. +m4trace:configure.ac:9: -1- m4_pattern_allow([^pdfdir$])
  62459. +m4trace:configure.ac:9: -1- m4_pattern_allow([^psdir$])
  62460. +m4trace:configure.ac:9: -1- m4_pattern_allow([^libdir$])
  62461. +m4trace:configure.ac:9: -1- m4_pattern_allow([^localedir$])
  62462. +m4trace:configure.ac:9: -1- m4_pattern_allow([^mandir$])
  62463. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_NAME$])
  62464. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  62465. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  62466. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_STRING$])
  62467. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  62468. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_URL$])
  62469. +m4trace:configure.ac:9: -1- m4_pattern_allow([^DEFS$])
  62470. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_C$])
  62471. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_N$])
  62472. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_T$])
  62473. +m4trace:configure.ac:9: -1- m4_pattern_allow([^LIBS$])
  62474. +m4trace:configure.ac:9: -1- m4_pattern_allow([^build_alias$])
  62475. +m4trace:configure.ac:9: -1- m4_pattern_allow([^host_alias$])
  62476. +m4trace:configure.ac:9: -1- m4_pattern_allow([^target_alias$])
  62477. +m4trace:configure.ac:10: -1- AC_CONFIG_MACRO_DIR([m4])
  62478. +m4trace:configure.ac:11: -1- AM_INIT_AUTOMAKE([])
  62479. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
  62480. +m4trace:configure.ac:11: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
  62481. +m4trace:configure.ac:11: -1- AM_AUTOMAKE_VERSION([1.16.1])
  62482. +m4trace:configure.ac:11: -1- _AM_AUTOCONF_VERSION([2.69])
  62483. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
  62484. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
  62485. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_DATA$])
  62486. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__isrc$])
  62487. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__isrc])
  62488. +m4trace:configure.ac:11: -1- m4_pattern_allow([^CYGPATH_W$])
  62489. +m4trace:configure.ac:11: -1- _AM_SET_OPTIONS([])
  62490. +m4trace:configure.ac:11: -1- m4_pattern_allow([^PACKAGE$])
  62491. +m4trace:configure.ac:11: -1- m4_pattern_allow([^VERSION$])
  62492. +m4trace:configure.ac:11: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  62493. + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])
  62494. +m4trace:configure.ac:11: -2- _AM_MANGLE_OPTION([no-define])
  62495. +m4trace:configure.ac:11: -1- m4_pattern_allow([^PACKAGE$])
  62496. +m4trace:configure.ac:11: -1- m4_pattern_allow([^VERSION$])
  62497. +m4trace:configure.ac:11: -1- AM_SANITY_CHECK
  62498. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  62499. +m4trace:configure.ac:11: -1- AM_MISSING_HAS_RUN
  62500. +m4trace:configure.ac:11: -1- AM_AUX_DIR_EXPAND
  62501. +m4trace:configure.ac:11: -1- m4_pattern_allow([^ACLOCAL$])
  62502. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
  62503. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOCONF$])
  62504. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  62505. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOMAKE$])
  62506. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
  62507. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOHEADER$])
  62508. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
  62509. +m4trace:configure.ac:11: -1- m4_pattern_allow([^MAKEINFO$])
  62510. +m4trace:configure.ac:11: -1- AM_PROG_INSTALL_SH
  62511. +m4trace:configure.ac:11: -1- m4_pattern_allow([^install_sh$])
  62512. +m4trace:configure.ac:11: -1- AM_PROG_INSTALL_STRIP
  62513. +m4trace:configure.ac:11: -1- m4_pattern_allow([^STRIP$])
  62514. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
  62515. +m4trace:configure.ac:11: -1- m4_pattern_allow([^MKDIR_P$])
  62516. +m4trace:configure.ac:11: -1- m4_pattern_allow([^mkdir_p$])
  62517. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AWK$])
  62518. +m4trace:configure.ac:11: -1- m4_pattern_allow([^SET_MAKE$])
  62519. +m4trace:configure.ac:11: -1- AM_SET_LEADING_DOT
  62520. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__leading_dot$])
  62521. +m4trace:configure.ac:11: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  62522. + [_AM_PROG_TAR([v7])])])
  62523. +m4trace:configure.ac:11: -2- _AM_MANGLE_OPTION([tar-ustar])
  62524. +m4trace:configure.ac:11: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
  62525. +m4trace:configure.ac:11: -2- _AM_MANGLE_OPTION([tar-pax])
  62526. +m4trace:configure.ac:11: -1- _AM_PROG_TAR([v7])
  62527. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AMTAR$])
  62528. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__tar$])
  62529. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__untar$])
  62530. +m4trace:configure.ac:11: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
  62531. + [_AM_DEPENDENCIES([CC])],
  62532. + [m4_define([AC_PROG_CC],
  62533. + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  62534. +AC_PROVIDE_IFELSE([AC_PROG_CXX],
  62535. + [_AM_DEPENDENCIES([CXX])],
  62536. + [m4_define([AC_PROG_CXX],
  62537. + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  62538. +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  62539. + [_AM_DEPENDENCIES([OBJC])],
  62540. + [m4_define([AC_PROG_OBJC],
  62541. + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  62542. +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  62543. + [_AM_DEPENDENCIES([OBJCXX])],
  62544. + [m4_define([AC_PROG_OBJCXX],
  62545. + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  62546. +])
  62547. +m4trace:configure.ac:11: -2- _AM_MANGLE_OPTION([no-dependencies])
  62548. +m4trace:configure.ac:11: -1- AM_SILENT_RULES
  62549. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_V$])
  62550. +m4trace:configure.ac:11: -1- AM_SUBST_NOTMAKE([AM_V])
  62551. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_V])
  62552. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_DEFAULT_V$])
  62553. +m4trace:configure.ac:11: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  62554. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  62555. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
  62556. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_BACKSLASH$])
  62557. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
  62558. +m4trace:configure.ac:12: -1- AM_CONFIG_HEADER([config.h])
  62559. +m4trace:configure.ac:12: -1- _m4_warn([obsolete], ['AM_CONFIG_HEADER': this macro is obsolete.
  62560. +You should use the 'AC_CONFIG_HEADERS' macro instead.], [/usr/share/aclocal-1.16/obsolete.m4:11: AM_CONFIG_HEADER is expanded from...
  62561. +configure.ac:12: the top level])
  62562. +m4trace:configure.ac:15: -1- AM_PROG_LIBTOOL
  62563. +m4trace:configure.ac:15: -1- _m4_warn([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
  62564. +You should run autoupdate.], [m4/libtool.m4:100: AM_PROG_LIBTOOL is expanded from...
  62565. +configure.ac:15: the top level])
  62566. +m4trace:configure.ac:15: -1- LT_INIT
  62567. +m4trace:configure.ac:15: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
  62568. +m4trace:configure.ac:15: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
  62569. +m4trace:configure.ac:15: -1- LTOPTIONS_VERSION
  62570. +m4trace:configure.ac:15: -1- LTSUGAR_VERSION
  62571. +m4trace:configure.ac:15: -1- LTVERSION_VERSION
  62572. +m4trace:configure.ac:15: -1- LTOBSOLETE_VERSION
  62573. +m4trace:configure.ac:15: -1- _LT_PROG_LTMAIN
  62574. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBTOOL$])
  62575. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build$])
  62576. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_cpu$])
  62577. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_vendor$])
  62578. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_os$])
  62579. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host$])
  62580. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_cpu$])
  62581. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_vendor$])
  62582. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_os$])
  62583. +m4trace:configure.ac:15: -1- _LT_PREPARE_SED_QUOTE_VARS
  62584. +m4trace:configure.ac:15: -1- _LT_PROG_ECHO_BACKSLASH
  62585. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  62586. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CFLAGS$])
  62587. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LDFLAGS$])
  62588. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBS$])
  62589. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
  62590. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  62591. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  62592. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  62593. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  62594. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_CC$])
  62595. +m4trace:configure.ac:15: -1- m4_pattern_allow([^EXEEXT$])
  62596. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJEXT$])
  62597. +m4trace:configure.ac:15: -1- _AM_PROG_CC_C_O
  62598. +m4trace:configure.ac:15: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
  62599. +m4trace:configure.ac:15: -1- _AM_DEPENDENCIES([CC])
  62600. +m4trace:configure.ac:15: -1- AM_SET_DEPDIR
  62601. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DEPDIR$])
  62602. +m4trace:configure.ac:15: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
  62603. +m4trace:configure.ac:15: -1- AM_MAKE_INCLUDE
  62604. +m4trace:configure.ac:15: -1- AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
  62605. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__include$])
  62606. +m4trace:configure.ac:15: -1- AM_DEP_TRACK
  62607. +m4trace:configure.ac:15: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  62608. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEP_TRUE$])
  62609. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEP_FALSE$])
  62610. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
  62611. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
  62612. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
  62613. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
  62614. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__nodep$])
  62615. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__nodep])
  62616. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CCDEPMODE$])
  62617. +m4trace:configure.ac:15: -1- AM_CONDITIONAL([am__fastdepCC], [
  62618. + test "x$enable_dependency_tracking" != xno \
  62619. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  62620. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  62621. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  62622. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  62623. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  62624. +m4trace:configure.ac:15: -1- LT_PATH_LD
  62625. +m4trace:configure.ac:15: -1- m4_pattern_allow([^SED$])
  62626. +m4trace:configure.ac:15: -1- AC_PROG_EGREP
  62627. +m4trace:configure.ac:15: -1- m4_pattern_allow([^GREP$])
  62628. +m4trace:configure.ac:15: -1- m4_pattern_allow([^EGREP$])
  62629. +m4trace:configure.ac:15: -1- m4_pattern_allow([^FGREP$])
  62630. +m4trace:configure.ac:15: -1- m4_pattern_allow([^GREP$])
  62631. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LD$])
  62632. +m4trace:configure.ac:15: -1- LT_PATH_NM
  62633. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DUMPBIN$])
  62634. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
  62635. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DUMPBIN$])
  62636. +m4trace:configure.ac:15: -1- m4_pattern_allow([^NM$])
  62637. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LN_S$])
  62638. +m4trace:configure.ac:15: -1- LT_CMD_MAX_LEN
  62639. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJDUMP$])
  62640. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJDUMP$])
  62641. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DLLTOOL$])
  62642. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DLLTOOL$])
  62643. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AR$])
  62644. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_AR$])
  62645. +m4trace:configure.ac:15: -1- m4_pattern_allow([^STRIP$])
  62646. +m4trace:configure.ac:15: -1- m4_pattern_allow([^RANLIB$])
  62647. +m4trace:configure.ac:15: -1- _LT_WITH_SYSROOT
  62648. +m4trace:configure.ac:15: -1- m4_pattern_allow([LT_OBJDIR])
  62649. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LT_OBJDIR$])
  62650. +m4trace:configure.ac:15: -1- _LT_CC_BASENAME([$compiler])
  62651. +m4trace:configure.ac:15: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
  62652. +m4trace:configure.ac:15: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
  62653. +m4trace:configure.ac:15: -1- LT_SUPPORTED_TAG([CC])
  62654. +m4trace:configure.ac:15: -1- _LT_COMPILER_BOILERPLATE
  62655. +m4trace:configure.ac:15: -1- _LT_LINKER_BOILERPLATE
  62656. +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"])
  62657. +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
  62658. + "" | " "*) ;;
  62659. + *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
  62660. + esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
  62661. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
  62662. +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, )=])
  62663. +m4trace:configure.ac:15: -1- m4_pattern_allow([^MANIFEST_TOOL$])
  62664. +m4trace:configure.ac:15: -1- _LT_DLL_DEF_P([$export_symbols])
  62665. +m4trace:configure.ac:15: -1- _LT_DLL_DEF_P([$export_symbols])
  62666. +m4trace:configure.ac:15: -1- _LT_REQUIRED_DARWIN_CHECKS
  62667. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DSYMUTIL$])
  62668. +m4trace:configure.ac:15: -1- m4_pattern_allow([^NMEDIT$])
  62669. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIPO$])
  62670. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OTOOL$])
  62671. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OTOOL64$])
  62672. +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'])
  62673. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$])
  62674. +m4trace:configure.ac:15: -1- LT_SYS_DLOPEN_SELF
  62675. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPP$])
  62676. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
  62677. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPP$])
  62678. +m4trace:configure.ac:15: -1- m4_pattern_allow([^STDC_HEADERS$])
  62679. +m4trace:configure.ac:15: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
  62680. +m4trace:configure.ac:16: -1- m4_pattern_allow([^LIBTOOL_DEPS$])
  62681. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  62682. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CFLAGS$])
  62683. +m4trace:configure.ac:17: -1- m4_pattern_allow([^LDFLAGS$])
  62684. +m4trace:configure.ac:17: -1- m4_pattern_allow([^LIBS$])
  62685. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CPPFLAGS$])
  62686. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  62687. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  62688. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  62689. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  62690. +m4trace:configure.ac:17: -1- m4_pattern_allow([^ac_ct_CC$])
  62691. +m4trace:configure.ac:17: -1- _AM_PROG_CC_C_O
  62692. +m4trace:configure.ac:17: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
  62693. +m4trace:configure.ac:17: -1- _AM_DEPENDENCIES([CC])
  62694. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CCDEPMODE$])
  62695. +m4trace:configure.ac:17: -1- AM_CONDITIONAL([am__fastdepCC], [
  62696. + test "x$enable_dependency_tracking" != xno \
  62697. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  62698. +m4trace:configure.ac:17: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  62699. +m4trace:configure.ac:17: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  62700. +m4trace:configure.ac:17: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  62701. +m4trace:configure.ac:17: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  62702. +m4trace:configure.ac:20: -1- m4_pattern_allow([^AM_CPPFLAGS$])
  62703. +m4trace:configure.ac:25: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
  62704. +You should run autoupdate.], [../../lib/autoconf/general.m4:2764: AC_TRY_RUN is expanded from...
  62705. +../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
  62706. +../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
  62707. +../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
  62708. +configure.ac:25: the top level])
  62709. +m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_SIGNED_SHIFT$])
  62710. +m4trace:configure.ac:34: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
  62711. +m4trace:configure.ac:34: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
  62712. +m4trace:configure.ac:35: -1- m4_pattern_allow([^SIZEOF_CHAR$])
  62713. +m4trace:configure.ac:36: -1- m4_pattern_allow([^SIZEOF_SHORT$])
  62714. +m4trace:configure.ac:37: -1- m4_pattern_allow([^SIZEOF_INT$])
  62715. +m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_LIBM$])
  62716. +m4trace:configure.ac:55: -1- m4_pattern_allow([^xfig$])
  62717. +m4trace:configure.ac:57: -1- m4_pattern_allow([^XFIG$])
  62718. +m4trace:configure.ac:59: -1- m4_pattern_allow([^xmag$])
  62719. +m4trace:configure.ac:61: -1- m4_pattern_allow([^XMAG$])
  62720. +m4trace:configure.ac:65: -1- m4_pattern_allow([^STDC_HEADERS$])
  62721. +m4trace:configure.ac:69: -1- m4_pattern_allow([^const$])
  62722. +m4trace:configure.ac:70: -1- m4_pattern_allow([^size_t$])
  62723. +m4trace:configure.ac:71: -1- m4_pattern_allow([^TIME_WITH_SYS_TIME$])
  62724. +m4trace:configure.ac:74: -1- m4_pattern_allow([^HAVE_VPRINTF$])
  62725. +m4trace:configure.ac:74: -1- m4_pattern_allow([^HAVE_DOPRNT$])
  62726. +m4trace:configure.ac:77: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
  62727. +You should run autoupdate.], [])
  62728. +m4trace:configure.ac:77: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  62729. +m4trace:configure.ac:77: -1- m4_pattern_allow([^LTLIBOBJS$])
  62730. +m4trace:configure.ac:77: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  62731. +m4trace:configure.ac:77: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  62732. +m4trace:configure.ac:77: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  62733. +m4trace:configure.ac:77: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  62734. +m4trace:configure.ac:77: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  62735. +m4trace:configure.ac:77: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
  62736. +m4trace:configure.ac:77: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
  62737. +m4trace:configure.ac:77: -1- AM_RUN_LOG([cd "$am_dirpart" \
  62738. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  62739. + | $MAKE -f - am--depfiles])
  62740. +m4trace:configure.ac:77: -1- _LT_PROG_LTMAIN
  62741. diff -Nru Fiasco-master/bin/binerror.h Fiasco-master-pfiasco/bin/binerror.h
  62742. --- Fiasco-master/bin/binerror.h 2013-06-06 22:56:44.000000000 -0400
  62743. +++ Fiasco-master-pfiasco/bin/binerror.h 2019-06-17 18:51:09.000000000 -0400
  62744. @@ -15,8 +15,8 @@
  62745. * $State: Exp $
  62746. */
  62747.  
  62748. -#ifndef _ERROR_H
  62749. -#define _ERROR_H
  62750. +#ifndef _BINERROR_H
  62751. +#define _BINERROR_H
  62752.  
  62753. #define error error_line=__LINE__,error_file=__FILE__,_error
  62754. #define warning error_line=__LINE__,error_file=__FILE__,_warning
  62755. @@ -33,10 +33,13 @@
  62756.  
  62757. void
  62758. init_error_handling (const char *name);
  62759. +
  62760. void
  62761. _error (const char *format, ...);
  62762. +
  62763. void
  62764. _warning (const char *format, ...);
  62765. +
  62766. void
  62767. _file_error (const char *filename);
  62768.  
  62769. diff -Nru Fiasco-master/bin/Makefile.am Fiasco-master-pfiasco/bin/Makefile.am
  62770. --- Fiasco-master/bin/Makefile.am 2013-06-06 22:56:44.000000000 -0400
  62771. +++ Fiasco-master-pfiasco/bin/Makefile.am 2019-06-17 21:00:25.152547898 -0400
  62772. @@ -10,7 +10,7 @@
  62773. ## $Revision: 5.3 $
  62774. ##
  62775.  
  62776. -bin_PROGRAMS = bfiasco cfiasco dfiasco efiasco pnmpsnr
  62777. +bin_PROGRAMS = bfiasco cfiasco dfiasco efiasco pfiasco
  62778.  
  62779. bfiasco_SOURCES = binerror.c fig.c getopt.c getopt1.c lctree.c \
  62780. params.c tlist.c twfa.c
  62781. @@ -33,12 +33,12 @@
  62782. efiasco_DEPENDENCIES = ../codec/libfiasco.la
  62783. efiasco_LDFLAGS = -static
  62784.  
  62785. -pnmpsnr_SOURCES = pnmpsnr.c binerror.c
  62786. -pnmpsnr_LDADD = ../codec/libfiasco.la
  62787. -pnmpsnr_DEPENDENCIES = ../codec/libfiasco.la
  62788. -pnmpsnr_LDFLAGS = -static
  62789. +pfiasco_SOURCES = pfiasco.c binerror.c
  62790. +pfiasco_LDADD = ../codec/libfiasco.la
  62791. +pfiasco_DEPENDENCIES = ../codec/libfiasco.la
  62792. +pfiasco_LDFLAGS = -static
  62793.  
  62794. noinst_HEADERS = getopt.h params.h binerror.h fig.h tlist.h twfa.h /
  62795. lctree.h ttypes.h
  62796. EXTRA_DIST = MANIFEST
  62797. -INCLUDES = @INCLUDES@
  62798. +AM_CPPFLAGS = @AM_CPPFLAGS@
  62799. diff -Nru Fiasco-master/bin/Makefile.in Fiasco-master-pfiasco/bin/Makefile.in
  62800. --- Fiasco-master/bin/Makefile.in 2013-06-06 22:56:44.000000000 -0400
  62801. +++ Fiasco-master-pfiasco/bin/Makefile.in 2019-06-17 21:04:59.286768921 -0400
  62802. @@ -1,9 +1,8 @@
  62803. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  62804. +# Makefile.in generated by automake 1.16.1 from Makefile.am.
  62805. # @configure_input@
  62806.  
  62807. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  62808. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  62809. -# Inc.
  62810. +# Copyright (C) 1994-2018 Free Software Foundation, Inc.
  62811. +
  62812. # This Makefile.in is free software; the Free Software Foundation
  62813. # gives unlimited permission to copy and/or distribute it,
  62814. # with or without modifications, as long as this notice is preserved.
  62815. @@ -17,6 +16,61 @@
  62816.  
  62817.  
  62818. VPATH = @srcdir@
  62819. +am__is_gnu_make = { \
  62820. + if test -z '$(MAKELEVEL)'; then \
  62821. + false; \
  62822. + elif test -n '$(MAKE_HOST)'; then \
  62823. + true; \
  62824. + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  62825. + true; \
  62826. + else \
  62827. + false; \
  62828. + fi; \
  62829. +}
  62830. +am__make_running_with_option = \
  62831. + case $${target_option-} in \
  62832. + ?) ;; \
  62833. + *) echo "am__make_running_with_option: internal error: invalid" \
  62834. + "target option '$${target_option-}' specified" >&2; \
  62835. + exit 1;; \
  62836. + esac; \
  62837. + has_opt=no; \
  62838. + sane_makeflags=$$MAKEFLAGS; \
  62839. + if $(am__is_gnu_make); then \
  62840. + sane_makeflags=$$MFLAGS; \
  62841. + else \
  62842. + case $$MAKEFLAGS in \
  62843. + *\\[\ \ ]*) \
  62844. + bs=\\; \
  62845. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  62846. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  62847. + esac; \
  62848. + fi; \
  62849. + skip_next=no; \
  62850. + strip_trailopt () \
  62851. + { \
  62852. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  62853. + }; \
  62854. + for flg in $$sane_makeflags; do \
  62855. + test $$skip_next = yes && { skip_next=no; continue; }; \
  62856. + case $$flg in \
  62857. + *=*|--*) continue;; \
  62858. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  62859. + -*I?*) strip_trailopt 'I';; \
  62860. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  62861. + -*O?*) strip_trailopt 'O';; \
  62862. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  62863. + -*l?*) strip_trailopt 'l';; \
  62864. + -[dEDm]) skip_next=yes;; \
  62865. + -[JT]) skip_next=yes;; \
  62866. + esac; \
  62867. + case $$flg in \
  62868. + *$$target_option*) has_opt=yes; break;; \
  62869. + esac; \
  62870. + done; \
  62871. + test $$has_opt = yes
  62872. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  62873. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  62874. pkgdatadir = $(datadir)/@PACKAGE@
  62875. pkgincludedir = $(includedir)/@PACKAGE@
  62876. pkglibdir = $(libdir)/@PACKAGE@
  62877. @@ -36,14 +90,17 @@
  62878. build_triplet = @build@
  62879. host_triplet = @host@
  62880. bin_PROGRAMS = bfiasco$(EXEEXT) cfiasco$(EXEEXT) dfiasco$(EXEEXT) \
  62881. - efiasco$(EXEEXT) pnmpsnr$(EXEEXT)
  62882. + efiasco$(EXEEXT) pfiasco$(EXEEXT)
  62883. subdir = bin
  62884. -DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  62885. - $(srcdir)/Makefile.in ChangeLog
  62886. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  62887. -am__aclocal_m4_deps = $(top_srcdir)/configure.in
  62888. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  62889. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  62890. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  62891. + $(top_srcdir)/configure.ac
  62892. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  62893. $(ACLOCAL_M4)
  62894. +DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \
  62895. + $(am__DIST_COMMON)
  62896. mkinstalldirs = $(install_sh) -d
  62897. CONFIG_HEADER = $(top_builddir)/config.h
  62898. CONFIG_CLEAN_FILES =
  62899. @@ -54,55 +111,112 @@
  62900. getopt1.$(OBJEXT) lctree.$(OBJEXT) params.$(OBJEXT) \
  62901. tlist.$(OBJEXT) twfa.$(OBJEXT)
  62902. bfiasco_OBJECTS = $(am_bfiasco_OBJECTS)
  62903. -bfiasco_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  62904. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(bfiasco_LDFLAGS) \
  62905. - $(LDFLAGS) -o $@
  62906. +AM_V_lt = $(am__v_lt_@AM_V@)
  62907. +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
  62908. +am__v_lt_0 = --silent
  62909. +am__v_lt_1 =
  62910. +bfiasco_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  62911. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  62912. + $(bfiasco_LDFLAGS) $(LDFLAGS) -o $@
  62913. am_cfiasco_OBJECTS = binerror.$(OBJEXT) cwfa.$(OBJEXT) \
  62914. getopt.$(OBJEXT) getopt1.$(OBJEXT) params.$(OBJEXT)
  62915. cfiasco_OBJECTS = $(am_cfiasco_OBJECTS)
  62916. -cfiasco_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  62917. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(cfiasco_LDFLAGS) \
  62918. - $(LDFLAGS) -o $@
  62919. +cfiasco_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  62920. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  62921. + $(cfiasco_LDFLAGS) $(LDFLAGS) -o $@
  62922. am_dfiasco_OBJECTS = binerror.$(OBJEXT) dwfa.$(OBJEXT) \
  62923. getopt.$(OBJEXT) getopt1.$(OBJEXT) params.$(OBJEXT)
  62924. dfiasco_OBJECTS = $(am_dfiasco_OBJECTS)
  62925. -dfiasco_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  62926. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(dfiasco_LDFLAGS) \
  62927. - $(LDFLAGS) -o $@
  62928. +dfiasco_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  62929. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  62930. + $(dfiasco_LDFLAGS) $(LDFLAGS) -o $@
  62931. am_efiasco_OBJECTS = binerror.$(OBJEXT) fiasco2fiasco.$(OBJEXT) \
  62932. getopt.$(OBJEXT) getopt1.$(OBJEXT) params.$(OBJEXT)
  62933. efiasco_OBJECTS = $(am_efiasco_OBJECTS)
  62934. -efiasco_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  62935. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(efiasco_LDFLAGS) \
  62936. - $(LDFLAGS) -o $@
  62937. -am_pnmpsnr_OBJECTS = pnmpsnr.$(OBJEXT) binerror.$(OBJEXT)
  62938. -pnmpsnr_OBJECTS = $(am_pnmpsnr_OBJECTS)
  62939. -pnmpsnr_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  62940. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(pnmpsnr_LDFLAGS) \
  62941. - $(LDFLAGS) -o $@
  62942. +efiasco_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  62943. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  62944. + $(efiasco_LDFLAGS) $(LDFLAGS) -o $@
  62945. +am_pfiasco_OBJECTS = pfiasco.$(OBJEXT) binerror.$(OBJEXT)
  62946. +pfiasco_OBJECTS = $(am_pfiasco_OBJECTS)
  62947. +pfiasco_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  62948. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  62949. + $(pfiasco_LDFLAGS) $(LDFLAGS) -o $@
  62950. +AM_V_P = $(am__v_P_@AM_V@)
  62951. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  62952. +am__v_P_0 = false
  62953. +am__v_P_1 = :
  62954. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  62955. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  62956. +am__v_GEN_0 = @echo " GEN " $@;
  62957. +am__v_GEN_1 =
  62958. +AM_V_at = $(am__v_at_@AM_V@)
  62959. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  62960. +am__v_at_0 = @
  62961. +am__v_at_1 =
  62962. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  62963. depcomp = $(SHELL) $(top_srcdir)/depcomp
  62964. -am__depfiles_maybe = depfiles
  62965. +am__maybe_remake_depfiles = depfiles
  62966. +am__depfiles_remade = ./$(DEPDIR)/binerror.Po ./$(DEPDIR)/cwfa.Po \
  62967. + ./$(DEPDIR)/dwfa.Po ./$(DEPDIR)/fiasco2fiasco.Po \
  62968. + ./$(DEPDIR)/fig.Po ./$(DEPDIR)/getopt.Po \
  62969. + ./$(DEPDIR)/getopt1.Po ./$(DEPDIR)/lctree.Po \
  62970. + ./$(DEPDIR)/params.Po ./$(DEPDIR)/pfiasco.Po \
  62971. + ./$(DEPDIR)/tlist.Po ./$(DEPDIR)/twfa.Po
  62972. am__mv = mv -f
  62973. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  62974. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  62975. -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  62976. - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  62977. - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  62978. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  62979. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  62980. + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  62981. + $(AM_CFLAGS) $(CFLAGS)
  62982. +AM_V_CC = $(am__v_CC_@AM_V@)
  62983. +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  62984. +am__v_CC_0 = @echo " CC " $@;
  62985. +am__v_CC_1 =
  62986. CCLD = $(CC)
  62987. -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  62988. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  62989. - $(LDFLAGS) -o $@
  62990. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  62991. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  62992. + $(AM_LDFLAGS) $(LDFLAGS) -o $@
  62993. +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  62994. +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  62995. +am__v_CCLD_0 = @echo " CCLD " $@;
  62996. +am__v_CCLD_1 =
  62997. SOURCES = $(bfiasco_SOURCES) $(cfiasco_SOURCES) $(dfiasco_SOURCES) \
  62998. - $(efiasco_SOURCES) $(pnmpsnr_SOURCES)
  62999. + $(efiasco_SOURCES) $(pfiasco_SOURCES)
  63000. DIST_SOURCES = $(bfiasco_SOURCES) $(cfiasco_SOURCES) \
  63001. - $(dfiasco_SOURCES) $(efiasco_SOURCES) $(pnmpsnr_SOURCES)
  63002. + $(dfiasco_SOURCES) $(efiasco_SOURCES) $(pfiasco_SOURCES)
  63003. +am__can_run_installinfo = \
  63004. + case $$AM_UPDATE_INFO_DIR in \
  63005. + n|no|NO) false;; \
  63006. + *) (install-info --version) >/dev/null 2>&1;; \
  63007. + esac
  63008. HEADERS = $(noinst_HEADERS)
  63009. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  63010. +# Read a list of newline-separated strings from the standard input,
  63011. +# and print each of them once, without duplicates. Input order is
  63012. +# *not* preserved.
  63013. +am__uniquify_input = $(AWK) '\
  63014. + BEGIN { nonempty = 0; } \
  63015. + { items[$$0] = 1; nonempty = 1; } \
  63016. + END { if (nonempty) { for (i in items) print i; }; } \
  63017. +'
  63018. +# Make sure the list of sources is unique. This is necessary because,
  63019. +# e.g., the same source file might be shared among _SOURCES variables
  63020. +# for different programs/libraries.
  63021. +am__define_uniq_tagged_files = \
  63022. + list='$(am__tagged_files)'; \
  63023. + unique=`for i in $$list; do \
  63024. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  63025. + done | $(am__uniquify_input)`
  63026. ETAGS = etags
  63027. CTAGS = ctags
  63028. +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
  63029. + ChangeLog
  63030. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  63031. ACLOCAL = @ACLOCAL@
  63032. AMTAR = @AMTAR@
  63033. +AM_CPPFLAGS = @AM_CPPFLAGS@
  63034. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  63035. AR = @AR@
  63036. AUTOCONF = @AUTOCONF@
  63037. AUTOHEADER = @AUTOHEADER@
  63038. @@ -116,6 +230,7 @@
  63039. CYGPATH_W = @CYGPATH_W@
  63040. DEFS = @DEFS@
  63041. DEPDIR = @DEPDIR@
  63042. +DLLTOOL = @DLLTOOL@
  63043. DSYMUTIL = @DSYMUTIL@
  63044. DUMPBIN = @DUMPBIN@
  63045. ECHO_C = @ECHO_C@
  63046. @@ -125,7 +240,6 @@
  63047. EXEEXT = @EXEEXT@
  63048. FGREP = @FGREP@
  63049. GREP = @GREP@
  63050. -INCLUDES = @INCLUDES@
  63051. INSTALL = @INSTALL@
  63052. INSTALL_DATA = @INSTALL_DATA@
  63053. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  63054. @@ -140,7 +254,9 @@
  63055. LIPO = @LIPO@
  63056. LN_S = @LN_S@
  63057. LTLIBOBJS = @LTLIBOBJS@
  63058. +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  63059. MAKEINFO = @MAKEINFO@
  63060. +MANIFEST_TOOL = @MANIFEST_TOOL@
  63061. MKDIR_P = @MKDIR_P@
  63062. NM = @NM@
  63063. NMEDIT = @NMEDIT@
  63064. @@ -166,6 +282,7 @@
  63065. abs_srcdir = @abs_srcdir@
  63066. abs_top_builddir = @abs_top_builddir@
  63067. abs_top_srcdir = @abs_top_srcdir@
  63068. +ac_ct_AR = @ac_ct_AR@
  63069. ac_ct_CC = @ac_ct_CC@
  63070. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  63071. am__include = @am__include@
  63072. @@ -198,7 +315,6 @@
  63073. libexecdir = @libexecdir@
  63074. localedir = @localedir@
  63075. localstatedir = @localstatedir@
  63076. -lt_ECHO = @lt_ECHO@
  63077. mandir = @mandir@
  63078. mkdir_p = @mkdir_p@
  63079. oldincludedir = @oldincludedir@
  63080. @@ -234,10 +350,10 @@
  63081. efiasco_LDADD = ../codec/libfiasco.la
  63082. efiasco_DEPENDENCIES = ../codec/libfiasco.la
  63083. efiasco_LDFLAGS = -static
  63084. -pnmpsnr_SOURCES = pnmpsnr.c binerror.c
  63085. -pnmpsnr_LDADD = ../codec/libfiasco.la
  63086. -pnmpsnr_DEPENDENCIES = ../codec/libfiasco.la
  63087. -pnmpsnr_LDFLAGS = -static
  63088. +pfiasco_SOURCES = pfiasco.c binerror.c
  63089. +pfiasco_LDADD = ../codec/libfiasco.la
  63090. +pfiasco_DEPENDENCIES = ../codec/libfiasco.la
  63091. +pfiasco_LDFLAGS = -static
  63092. noinst_HEADERS = getopt.h params.h binerror.h fig.h tlist.h twfa.h /
  63093. EXTRA_DIST = MANIFEST
  63094. all: all-am
  63095. @@ -256,14 +372,13 @@
  63096. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu bin/Makefile'; \
  63097. $(am__cd) $(top_srcdir) && \
  63098. $(AUTOMAKE) --gnu bin/Makefile
  63099. -.PRECIOUS: Makefile
  63100. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  63101. @case '$?' in \
  63102. *config.status*) \
  63103. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  63104. *) \
  63105. - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  63106. - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  63107. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
  63108. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
  63109. esac;
  63110.  
  63111. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  63112. @@ -276,14 +391,19 @@
  63113. $(am__aclocal_m4_deps):
  63114. install-binPROGRAMS: $(bin_PROGRAMS)
  63115. @$(NORMAL_INSTALL)
  63116. - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  63117. @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  63118. + if test -n "$$list"; then \
  63119. + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
  63120. + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
  63121. + fi; \
  63122. for p in $$list; do echo "$$p $$p"; done | \
  63123. sed 's/$(EXEEXT)$$//' | \
  63124. - while read p p1; do if test -f $$p || test -f $$p1; \
  63125. - then echo "$$p"; echo "$$p"; else :; fi; \
  63126. + while read p p1; do if test -f $$p \
  63127. + || test -f $$p1 \
  63128. + ; then echo "$$p"; echo "$$p"; else :; fi; \
  63129. done | \
  63130. - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  63131. + sed -e 'p;s,.*/,,;n;h' \
  63132. + -e 's|.*|.|' \
  63133. -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  63134. sed 'N;N;N;s,\n, ,g' | \
  63135. $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  63136. @@ -304,7 +424,8 @@
  63137. @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  63138. files=`for p in $$list; do echo "$$p"; done | \
  63139. sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  63140. - -e 's/$$/$(EXEEXT)/' `; \
  63141. + -e 's/$$/$(EXEEXT)/' \
  63142. + `; \
  63143. test -n "$$list" || exit 0; \
  63144. echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  63145. cd "$(DESTDIR)$(bindir)" && rm -f $$files
  63146. @@ -317,21 +438,26 @@
  63147. list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  63148. echo " rm -f" $$list; \
  63149. rm -f $$list
  63150. -bfiasco$(EXEEXT): $(bfiasco_OBJECTS) $(bfiasco_DEPENDENCIES)
  63151. +
  63152. +bfiasco$(EXEEXT): $(bfiasco_OBJECTS) $(bfiasco_DEPENDENCIES) $(EXTRA_bfiasco_DEPENDENCIES)
  63153. @rm -f bfiasco$(EXEEXT)
  63154. - $(bfiasco_LINK) $(bfiasco_OBJECTS) $(bfiasco_LDADD) $(LIBS)
  63155. -cfiasco$(EXEEXT): $(cfiasco_OBJECTS) $(cfiasco_DEPENDENCIES)
  63156. + $(AM_V_CCLD)$(bfiasco_LINK) $(bfiasco_OBJECTS) $(bfiasco_LDADD) $(LIBS)
  63157. +
  63158. +cfiasco$(EXEEXT): $(cfiasco_OBJECTS) $(cfiasco_DEPENDENCIES) $(EXTRA_cfiasco_DEPENDENCIES)
  63159. @rm -f cfiasco$(EXEEXT)
  63160. - $(cfiasco_LINK) $(cfiasco_OBJECTS) $(cfiasco_LDADD) $(LIBS)
  63161. -dfiasco$(EXEEXT): $(dfiasco_OBJECTS) $(dfiasco_DEPENDENCIES)
  63162. + $(AM_V_CCLD)$(cfiasco_LINK) $(cfiasco_OBJECTS) $(cfiasco_LDADD) $(LIBS)
  63163. +
  63164. +dfiasco$(EXEEXT): $(dfiasco_OBJECTS) $(dfiasco_DEPENDENCIES) $(EXTRA_dfiasco_DEPENDENCIES)
  63165. @rm -f dfiasco$(EXEEXT)
  63166. - $(dfiasco_LINK) $(dfiasco_OBJECTS) $(dfiasco_LDADD) $(LIBS)
  63167. -efiasco$(EXEEXT): $(efiasco_OBJECTS) $(efiasco_DEPENDENCIES)
  63168. + $(AM_V_CCLD)$(dfiasco_LINK) $(dfiasco_OBJECTS) $(dfiasco_LDADD) $(LIBS)
  63169. +
  63170. +efiasco$(EXEEXT): $(efiasco_OBJECTS) $(efiasco_DEPENDENCIES) $(EXTRA_efiasco_DEPENDENCIES)
  63171. @rm -f efiasco$(EXEEXT)
  63172. - $(efiasco_LINK) $(efiasco_OBJECTS) $(efiasco_LDADD) $(LIBS)
  63173. -pnmpsnr$(EXEEXT): $(pnmpsnr_OBJECTS) $(pnmpsnr_DEPENDENCIES)
  63174. - @rm -f pnmpsnr$(EXEEXT)
  63175. - $(pnmpsnr_LINK) $(pnmpsnr_OBJECTS) $(pnmpsnr_LDADD) $(LIBS)
  63176. + $(AM_V_CCLD)$(efiasco_LINK) $(efiasco_OBJECTS) $(efiasco_LDADD) $(LIBS)
  63177. +
  63178. +pfiasco$(EXEEXT): $(pfiasco_OBJECTS) $(pfiasco_DEPENDENCIES) $(EXTRA_pfiasco_DEPENDENCIES)
  63179. + @rm -f pfiasco$(EXEEXT)
  63180. + $(AM_V_CCLD)$(pfiasco_LINK) $(pfiasco_OBJECTS) $(pfiasco_LDADD) $(LIBS)
  63181.  
  63182. mostlyclean-compile:
  63183. -rm -f *.$(OBJEXT)
  63184. @@ -339,39 +465,45 @@
  63185. distclean-compile:
  63186. -rm -f *.tab.c
  63187.  
  63188. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binerror.Po@am__quote@
  63189. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cwfa.Po@am__quote@
  63190. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwfa.Po@am__quote@
  63191. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fiasco2fiasco.Po@am__quote@
  63192. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fig.Po@am__quote@
  63193. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@
  63194. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@
  63195. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lctree.Po@am__quote@
  63196. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/params.Po@am__quote@
  63197. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pnmpsnr.Po@am__quote@
  63198. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tlist.Po@am__quote@
  63199. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/twfa.Po@am__quote@
  63200. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binerror.Po@am__quote@ # am--include-marker
  63201. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cwfa.Po@am__quote@ # am--include-marker
  63202. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwfa.Po@am__quote@ # am--include-marker
  63203. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fiasco2fiasco.Po@am__quote@ # am--include-marker
  63204. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fig.Po@am__quote@ # am--include-marker
  63205. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@ # am--include-marker
  63206. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@ # am--include-marker
  63207. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lctree.Po@am__quote@ # am--include-marker
  63208. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/params.Po@am__quote@ # am--include-marker
  63209. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pfiasco.Po@am__quote@ # am--include-marker
  63210. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tlist.Po@am__quote@ # am--include-marker
  63211. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/twfa.Po@am__quote@ # am--include-marker
  63212. +
  63213. +$(am__depfiles_remade):
  63214. + @$(MKDIR_P) $(@D)
  63215. + @echo '# dummy' >$@-t && $(am__mv) $@-t $@
  63216. +
  63217. +am--depfiles: $(am__depfiles_remade)
  63218.  
  63219. .c.o:
  63220. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  63221. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  63222. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  63223. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  63224. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  63225. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  63226. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  63227. -@am__fastdepCC_FALSE@ $(COMPILE) -c $<
  63228. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
  63229.  
  63230. .c.obj:
  63231. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  63232. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  63233. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  63234. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  63235. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  63236. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  63237. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  63238. -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  63239. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  63240.  
  63241. .c.lo:
  63242. -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  63243. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  63244. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  63245. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  63246. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  63247. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  63248. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  63249. -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  63250. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
  63251.  
  63252. mostlyclean-libtool:
  63253. -rm -f *.lo
  63254. @@ -379,26 +511,15 @@
  63255. clean-libtool:
  63256. -rm -rf .libs _libs
  63257.  
  63258. -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  63259. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  63260. - unique=`for i in $$list; do \
  63261. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  63262. - done | \
  63263. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  63264. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  63265. - mkid -fID $$unique
  63266. -tags: TAGS
  63267. +ID: $(am__tagged_files)
  63268. + $(am__define_uniq_tagged_files); mkid -fID $$unique
  63269. +tags: tags-am
  63270. +TAGS: tags
  63271.  
  63272. -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  63273. - $(TAGS_FILES) $(LISP)
  63274. +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  63275. set x; \
  63276. here=`pwd`; \
  63277. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  63278. - unique=`for i in $$list; do \
  63279. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  63280. - done | \
  63281. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  63282. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  63283. + $(am__define_uniq_tagged_files); \
  63284. shift; \
  63285. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  63286. test -n "$$unique" || unique=$$empty_fix; \
  63287. @@ -410,15 +531,11 @@
  63288. $$unique; \
  63289. fi; \
  63290. fi
  63291. -ctags: CTAGS
  63292. -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  63293. - $(TAGS_FILES) $(LISP)
  63294. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  63295. - unique=`for i in $$list; do \
  63296. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  63297. - done | \
  63298. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  63299. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  63300. +ctags: ctags-am
  63301. +
  63302. +CTAGS: ctags
  63303. +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  63304. + $(am__define_uniq_tagged_files); \
  63305. test -z "$(CTAGS_ARGS)$$unique" \
  63306. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  63307. $$unique
  63308. @@ -427,11 +544,29 @@
  63309. here=`$(am__cd) $(top_builddir) && pwd` \
  63310. && $(am__cd) $(top_srcdir) \
  63311. && gtags -i $(GTAGS_ARGS) "$$here"
  63312. +cscopelist: cscopelist-am
  63313. +
  63314. +cscopelist-am: $(am__tagged_files)
  63315. + list='$(am__tagged_files)'; \
  63316. + case "$(srcdir)" in \
  63317. + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  63318. + *) sdir=$(subdir)/$(srcdir) ;; \
  63319. + esac; \
  63320. + for i in $$list; do \
  63321. + if test -f "$$i"; then \
  63322. + echo "$(subdir)/$$i"; \
  63323. + else \
  63324. + echo "$$sdir/$$i"; \
  63325. + fi; \
  63326. + done >> $(top_builddir)/cscope.files
  63327.  
  63328. distclean-tags:
  63329. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  63330.  
  63331. -distdir: $(DISTFILES)
  63332. +distdir: $(BUILT_SOURCES)
  63333. + $(MAKE) $(AM_MAKEFLAGS) distdir-am
  63334. +
  63335. +distdir-am: $(DISTFILES)
  63336. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  63337. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  63338. list='$(DISTFILES)'; \
  63339. @@ -478,10 +613,15 @@
  63340.  
  63341. installcheck: installcheck-am
  63342. install-strip:
  63343. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  63344. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  63345. - `test -z '$(STRIP)' || \
  63346. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  63347. + if test -z '$(STRIP)'; then \
  63348. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  63349. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  63350. + install; \
  63351. + else \
  63352. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  63353. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  63354. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  63355. + fi
  63356. mostlyclean-generic:
  63357.  
  63358. clean-generic:
  63359. @@ -498,7 +638,18 @@
  63360. clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
  63361.  
  63362. distclean: distclean-am
  63363. - -rm -rf ./$(DEPDIR)
  63364. + -rm -f ./$(DEPDIR)/binerror.Po
  63365. + -rm -f ./$(DEPDIR)/cwfa.Po
  63366. + -rm -f ./$(DEPDIR)/dwfa.Po
  63367. + -rm -f ./$(DEPDIR)/fiasco2fiasco.Po
  63368. + -rm -f ./$(DEPDIR)/fig.Po
  63369. + -rm -f ./$(DEPDIR)/getopt.Po
  63370. + -rm -f ./$(DEPDIR)/getopt1.Po
  63371. + -rm -f ./$(DEPDIR)/lctree.Po
  63372. + -rm -f ./$(DEPDIR)/params.Po
  63373. + -rm -f ./$(DEPDIR)/pfiasco.Po
  63374. + -rm -f ./$(DEPDIR)/tlist.Po
  63375. + -rm -f ./$(DEPDIR)/twfa.Po
  63376. -rm -f Makefile
  63377. distclean-am: clean-am distclean-compile distclean-generic \
  63378. distclean-tags
  63379. @@ -544,7 +695,18 @@
  63380. installcheck-am:
  63381.  
  63382. maintainer-clean: maintainer-clean-am
  63383. - -rm -rf ./$(DEPDIR)
  63384. + -rm -f ./$(DEPDIR)/binerror.Po
  63385. + -rm -f ./$(DEPDIR)/cwfa.Po
  63386. + -rm -f ./$(DEPDIR)/dwfa.Po
  63387. + -rm -f ./$(DEPDIR)/fiasco2fiasco.Po
  63388. + -rm -f ./$(DEPDIR)/fig.Po
  63389. + -rm -f ./$(DEPDIR)/getopt.Po
  63390. + -rm -f ./$(DEPDIR)/getopt1.Po
  63391. + -rm -f ./$(DEPDIR)/lctree.Po
  63392. + -rm -f ./$(DEPDIR)/params.Po
  63393. + -rm -f ./$(DEPDIR)/pfiasco.Po
  63394. + -rm -f ./$(DEPDIR)/tlist.Po
  63395. + -rm -f ./$(DEPDIR)/twfa.Po
  63396. -rm -f Makefile
  63397. maintainer-clean-am: distclean-am maintainer-clean-generic
  63398.  
  63399. @@ -565,19 +727,21 @@
  63400.  
  63401. .MAKE: install-am install-strip
  63402.  
  63403. -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
  63404. - clean-generic clean-libtool ctags distclean distclean-compile \
  63405. - distclean-generic distclean-libtool distclean-tags distdir dvi \
  63406. - dvi-am html html-am info info-am install install-am \
  63407. - install-binPROGRAMS install-data install-data-am install-dvi \
  63408. - install-dvi-am install-exec install-exec-am install-html \
  63409. - install-html-am install-info install-info-am install-man \
  63410. - install-pdf install-pdf-am install-ps install-ps-am \
  63411. - install-strip installcheck installcheck-am installdirs \
  63412. - maintainer-clean maintainer-clean-generic mostlyclean \
  63413. - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  63414. - pdf pdf-am ps ps-am tags uninstall uninstall-am \
  63415. - uninstall-binPROGRAMS
  63416. +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
  63417. + clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
  63418. + ctags ctags-am distclean distclean-compile distclean-generic \
  63419. + distclean-libtool distclean-tags distdir dvi dvi-am html \
  63420. + html-am info info-am install install-am install-binPROGRAMS \
  63421. + install-data install-data-am install-dvi install-dvi-am \
  63422. + install-exec install-exec-am install-html install-html-am \
  63423. + install-info install-info-am install-man install-pdf \
  63424. + install-pdf-am install-ps install-ps-am install-strip \
  63425. + installcheck installcheck-am installdirs maintainer-clean \
  63426. + maintainer-clean-generic mostlyclean mostlyclean-compile \
  63427. + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  63428. + tags tags-am uninstall uninstall-am uninstall-binPROGRAMS
  63429. +
  63430. +.PRECIOUS: Makefile
  63431.  
  63432. lctree.h ttypes.h
  63433.  
  63434. diff -Nru Fiasco-master/bin/pfiasco.c Fiasco-master-pfiasco/bin/pfiasco.c
  63435. --- Fiasco-master/bin/pfiasco.c 1969-12-31 19:00:00.000000000 -0500
  63436. +++ Fiasco-master-pfiasco/bin/pfiasco.c 2013-06-06 22:56:44.000000000 -0400
  63437. @@ -0,0 +1,163 @@
  63438. +/*
  63439. + * pnmerr.c: Compute error (RMSE, PSNR) between images
  63440. + *
  63441. + * Written by: Ullrich Hafner
  63442. + *
  63443. + * This file is part of FIASCO ([F]ractal [I]mage [A]nd [S]equence [CO]dec)
  63444. + * Copyright (C) 1994-2000 Ullrich Hafner <hafner@bigfoot.de>
  63445. + */
  63446. +
  63447. +/*
  63448. + * $Date: 2000/06/14 20:51:17 $
  63449. + * $Author: hafner $
  63450. + * $Revision: 5.1 $
  63451. + * $State: Exp $
  63452. + */
  63453. +
  63454. +#include "config.h"
  63455. +
  63456. +#include <stdlib.h>
  63457. +#include <stdio.h>
  63458. +#include <math.h>
  63459. +
  63460. +#include "types.h"
  63461. +#include "misc.h"
  63462. +#include "macros.h"
  63463. +#include "binerror.h"
  63464. +
  63465. +#include "fiasco.h"
  63466. +
  63467. +#define MAXFILES 16
  63468. +
  63469. +/*****************************************************************************
  63470. +
  63471. + public code
  63472. +
  63473. +*****************************************************************************/
  63474. +
  63475. +int
  63476. +main (int argc, char **argv)
  63477. +{
  63478. + fiasco_image_t *img1, *img2;
  63479. + fiasco_renderer_t *renderer;
  63480. + real_t norm, y_norm, cb_norm, cr_norm;
  63481. + unsigned char *buffer1, *buffer2, *b1, *b2;
  63482. +
  63483. + init_error_handling (argv[0]);
  63484. +
  63485. + if (argc < 3)
  63486. + {
  63487. + fprintf (stderr, "%s: usage: %s original-image regenerated-image\n",
  63488. + argv[0], argv[0]);
  63489. + exit (1);
  63490. + }
  63491. +
  63492. + /*
  63493. + * Load both images and convert pixel values to RGB format
  63494. + */
  63495. + if (!(img1 = fiasco_image_new (argv [1])))
  63496. + error (fiasco_get_error_message ());
  63497. + if (!(img2 = fiasco_image_new (argv [2])))
  63498. + error (fiasco_get_error_message ());
  63499. + if (img1->get_width (img1) != img2->get_width (img2)
  63500. + || img1->get_height (img1) != img2->get_height (img2)
  63501. + || img1->is_color (img1) != img2->is_color (img2))
  63502. + error ("Images have to be of same size and format.");
  63503. + if (!(img1->get_width (img1) * img2->get_height (img2)))
  63504. + error ("Image width and height have to be positive.");
  63505. + if (!(renderer = fiasco_renderer_new (0xff0000L, 0xff00L, 0xffL, 24, 0)))
  63506. + error (fiasco_get_error_message ());
  63507. + b1 = buffer1 = fiasco_calloc (img1->get_width (img1) * img1->get_height (img1) * 3,
  63508. + sizeof (char));
  63509. + b2 = buffer2 = fiasco_calloc (img1->get_width (img1) * img1->get_height (img1) * 3,
  63510. + sizeof (char));
  63511. + if (!renderer->render (renderer, buffer1, img1))
  63512. + error (fiasco_get_error_message ());
  63513. + if (!renderer->render (renderer, buffer2, img2))
  63514. + error (fiasco_get_error_message ());
  63515. +
  63516. + y_norm = cb_norm = cr_norm = norm = 0;
  63517. +
  63518. + /*
  63519. + * Compute errors
  63520. + */
  63521. + if (!img1->is_color (img1)) /* grayscale image */
  63522. + {
  63523. + unsigned n;
  63524. +
  63525. + for (n = img1->get_width (img1) * img1->get_height (img1); n; n--)
  63526. + {
  63527. + norm += square (*buffer1 - *buffer2);
  63528. + buffer1++;
  63529. + buffer1++;
  63530. + buffer1++;
  63531. + buffer2++;
  63532. + buffer2++;
  63533. + buffer2++;
  63534. + }
  63535. + norm /= img1->get_width (img1) * img1->get_height (img1);
  63536. + if (norm > 1e-4)
  63537. + fprintf (stderr, "PSNR between %s and %s: %.2f dB\n",
  63538. + argv [1], argv [2],
  63539. + 10 * log ( 255.0 * 255.0 / norm) / log (10.0));
  63540. + else
  63541. + fprintf (stderr, "Images %s and %s don't differ.\n",
  63542. + argv [1], argv [2]);
  63543. + }
  63544. + else
  63545. + {
  63546. + unsigned n;
  63547. +
  63548. + for (n = img1->get_width (img1) * img1->get_height (img1); n; n--)
  63549. + {
  63550. + byte_t red1, red2, green1, green2, blue1, blue2;
  63551. + real_t y1, y2, cb1, cb2, cr1, cr2;
  63552. +
  63553. + red1 = *buffer1++;
  63554. + green1 = *buffer1++;
  63555. + blue1 = *buffer1++;
  63556. + red2 = *buffer2++;
  63557. + green2 = *buffer2++;
  63558. + blue2 = *buffer2++;
  63559. + y1 = (+ 0.2989 * red1 + 0.5866 * green1 + 0.1145 * blue1);
  63560. + cb1 = (- 0.1687 * red1 - 0.3312 * green1 + 0.5000 * blue1);
  63561. + cr1 = (+ 0.5000 * red1 - 0.4183 * green1 - 0.0816 * blue1);
  63562. + y2 = (+ 0.2989 * red2 + 0.5866 * green2 + 0.1145 * blue2);
  63563. + cb2 = (- 0.1687 * red2 - 0.3312 * green2 + 0.5000 * blue2);
  63564. + cr2 = (+ 0.5000 * red2 - 0.4183 * green2 - 0.0816 * blue2);
  63565. +
  63566. + y_norm += square (y1 - y2);
  63567. + cb_norm += square (cb1 - cb2);
  63568. + cr_norm += square (cr1 - cr2);
  63569. + }
  63570. + y_norm /= img1->get_width (img1) * img1->get_height (img1);
  63571. + cb_norm /= img1->get_width (img1) * img1->get_height (img1);
  63572. + cr_norm /= img1->get_width (img1) * img1->get_height (img1);
  63573. + fprintf (stderr, "PSNR between %s and %s:\n", argv [1], argv [2]);
  63574. + if (y_norm > 1e-4)
  63575. + fprintf (stderr, "Y color component: %.2f dB\n",
  63576. + 10 * log ( 255.0 * 255.0 / y_norm) / log (10.0));
  63577. + else
  63578. + fprintf (stderr, "Y color component doesn't differ.\n");
  63579. + if (cb_norm > 1e-4)
  63580. + fprintf (stderr, "Cb color component: %.2f dB\n",
  63581. + 10 * log ( 255.0 * 255.0 / cb_norm) / log (10.0));
  63582. + else
  63583. + fprintf (stderr, "Cb color component doesn't differ.\n");
  63584. + if (cr_norm > 1e-4)
  63585. + fprintf (stderr, "Cr color component: %.2f dB\n",
  63586. + 10 * log ( 255.0 * 255.0 / cr_norm) / log (10.0));
  63587. + else
  63588. + fprintf (stderr, "Cr color component doesn't differ.\n");
  63589. + }
  63590. +
  63591. + free (b1);
  63592. + free (b2);
  63593. + img1->delete (img1);
  63594. + img2->delete (img2);
  63595. + renderer->delete (renderer);
  63596. +
  63597. + return 0;
  63598. +}
  63599. +
  63600. +
  63601. diff -Nru Fiasco-master/bin/pnmpsnr.c Fiasco-master-pfiasco/bin/pnmpsnr.c
  63602. --- Fiasco-master/bin/pnmpsnr.c 2013-06-06 22:56:44.000000000 -0400
  63603. +++ Fiasco-master-pfiasco/bin/pnmpsnr.c 1969-12-31 19:00:00.000000000 -0500
  63604. @@ -1,163 +0,0 @@
  63605. -/*
  63606. - * pnmerr.c: Compute error (RMSE, PSNR) between images
  63607. - *
  63608. - * Written by: Ullrich Hafner
  63609. - *
  63610. - * This file is part of FIASCO ([F]ractal [I]mage [A]nd [S]equence [CO]dec)
  63611. - * Copyright (C) 1994-2000 Ullrich Hafner <hafner@bigfoot.de>
  63612. - */
  63613. -
  63614. -/*
  63615. - * $Date: 2000/06/14 20:51:17 $
  63616. - * $Author: hafner $
  63617. - * $Revision: 5.1 $
  63618. - * $State: Exp $
  63619. - */
  63620. -
  63621. -#include "config.h"
  63622. -
  63623. -#include <stdlib.h>
  63624. -#include <stdio.h>
  63625. -#include <math.h>
  63626. -
  63627. -#include "types.h"
  63628. -#include "misc.h"
  63629. -#include "macros.h"
  63630. -#include "binerror.h"
  63631. -
  63632. -#include "fiasco.h"
  63633. -
  63634. -#define MAXFILES 16
  63635. -
  63636. -/*****************************************************************************
  63637. -
  63638. - public code
  63639. -
  63640. -*****************************************************************************/
  63641. -
  63642. -int
  63643. -main (int argc, char **argv)
  63644. -{
  63645. - fiasco_image_t *img1, *img2;
  63646. - fiasco_renderer_t *renderer;
  63647. - real_t norm, y_norm, cb_norm, cr_norm;
  63648. - unsigned char *buffer1, *buffer2, *b1, *b2;
  63649. -
  63650. - init_error_handling (argv[0]);
  63651. -
  63652. - if (argc < 3)
  63653. - {
  63654. - fprintf (stderr, "%s: usage: %s original-image regenerated-image\n",
  63655. - argv[0], argv[0]);
  63656. - exit (1);
  63657. - }
  63658. -
  63659. - /*
  63660. - * Load both images and convert pixel values to RGB format
  63661. - */
  63662. - if (!(img1 = fiasco_image_new (argv [1])))
  63663. - error (fiasco_get_error_message ());
  63664. - if (!(img2 = fiasco_image_new (argv [2])))
  63665. - error (fiasco_get_error_message ());
  63666. - if (img1->get_width (img1) != img2->get_width (img2)
  63667. - || img1->get_height (img1) != img2->get_height (img2)
  63668. - || img1->is_color (img1) != img2->is_color (img2))
  63669. - error ("Images have to be of same size and format.");
  63670. - if (!(img1->get_width (img1) * img2->get_height (img2)))
  63671. - error ("Image width and height have to be positive.");
  63672. - if (!(renderer = fiasco_renderer_new (0xff0000L, 0xff00L, 0xffL, 24, 0)))
  63673. - error (fiasco_get_error_message ());
  63674. - b1 = buffer1 = fiasco_calloc (img1->get_width (img1) * img1->get_height (img1) * 3,
  63675. - sizeof (char));
  63676. - b2 = buffer2 = fiasco_calloc (img1->get_width (img1) * img1->get_height (img1) * 3,
  63677. - sizeof (char));
  63678. - if (!renderer->render (renderer, buffer1, img1))
  63679. - error (fiasco_get_error_message ());
  63680. - if (!renderer->render (renderer, buffer2, img2))
  63681. - error (fiasco_get_error_message ());
  63682. -
  63683. - y_norm = cb_norm = cr_norm = norm = 0;
  63684. -
  63685. - /*
  63686. - * Compute errors
  63687. - */
  63688. - if (!img1->is_color (img1)) /* grayscale image */
  63689. - {
  63690. - unsigned n;
  63691. -
  63692. - for (n = img1->get_width (img1) * img1->get_height (img1); n; n--)
  63693. - {
  63694. - norm += square (*buffer1 - *buffer2);
  63695. - buffer1++;
  63696. - buffer1++;
  63697. - buffer1++;
  63698. - buffer2++;
  63699. - buffer2++;
  63700. - buffer2++;
  63701. - }
  63702. - norm /= img1->get_width (img1) * img1->get_height (img1);
  63703. - if (norm > 1e-4)
  63704. - fprintf (stderr, "PSNR between %s and %s: %.2f dB\n",
  63705. - argv [1], argv [2],
  63706. - 10 * log ( 255.0 * 255.0 / norm) / log (10.0));
  63707. - else
  63708. - fprintf (stderr, "Images %s and %s don't differ.\n",
  63709. - argv [1], argv [2]);
  63710. - }
  63711. - else
  63712. - {
  63713. - unsigned n;
  63714. -
  63715. - for (n = img1->get_width (img1) * img1->get_height (img1); n; n--)
  63716. - {
  63717. - byte_t red1, red2, green1, green2, blue1, blue2;
  63718. - real_t y1, y2, cb1, cb2, cr1, cr2;
  63719. -
  63720. - red1 = *buffer1++;
  63721. - green1 = *buffer1++;
  63722. - blue1 = *buffer1++;
  63723. - red2 = *buffer2++;
  63724. - green2 = *buffer2++;
  63725. - blue2 = *buffer2++;
  63726. - y1 = (+ 0.2989 * red1 + 0.5866 * green1 + 0.1145 * blue1);
  63727. - cb1 = (- 0.1687 * red1 - 0.3312 * green1 + 0.5000 * blue1);
  63728. - cr1 = (+ 0.5000 * red1 - 0.4183 * green1 - 0.0816 * blue1);
  63729. - y2 = (+ 0.2989 * red2 + 0.5866 * green2 + 0.1145 * blue2);
  63730. - cb2 = (- 0.1687 * red2 - 0.3312 * green2 + 0.5000 * blue2);
  63731. - cr2 = (+ 0.5000 * red2 - 0.4183 * green2 - 0.0816 * blue2);
  63732. -
  63733. - y_norm += square (y1 - y2);
  63734. - cb_norm += square (cb1 - cb2);
  63735. - cr_norm += square (cr1 - cr2);
  63736. - }
  63737. - y_norm /= img1->get_width (img1) * img1->get_height (img1);
  63738. - cb_norm /= img1->get_width (img1) * img1->get_height (img1);
  63739. - cr_norm /= img1->get_width (img1) * img1->get_height (img1);
  63740. - fprintf (stderr, "PSNR between %s and %s:\n", argv [1], argv [2]);
  63741. - if (y_norm > 1e-4)
  63742. - fprintf (stderr, "Y color component: %.2f dB\n",
  63743. - 10 * log ( 255.0 * 255.0 / y_norm) / log (10.0));
  63744. - else
  63745. - fprintf (stderr, "Y color component doesn't differ.\n");
  63746. - if (cb_norm > 1e-4)
  63747. - fprintf (stderr, "Cb color component: %.2f dB\n",
  63748. - 10 * log ( 255.0 * 255.0 / cb_norm) / log (10.0));
  63749. - else
  63750. - fprintf (stderr, "Cb color component doesn't differ.\n");
  63751. - if (cr_norm > 1e-4)
  63752. - fprintf (stderr, "Cr color component: %.2f dB\n",
  63753. - 10 * log ( 255.0 * 255.0 / cr_norm) / log (10.0));
  63754. - else
  63755. - fprintf (stderr, "Cr color component doesn't differ.\n");
  63756. - }
  63757. -
  63758. - free (b1);
  63759. - free (b2);
  63760. - img1->delete (img1);
  63761. - img2->delete (img2);
  63762. - renderer->delete (renderer);
  63763. -
  63764. - return 0;
  63765. -}
  63766. -
  63767. -
  63768. diff -Nru Fiasco-master/bin/twfa.c Fiasco-master-pfiasco/bin/twfa.c
  63769. --- Fiasco-master/bin/twfa.c 2013-06-06 22:56:44.000000000 -0400
  63770. +++ Fiasco-master-pfiasco/bin/twfa.c 2019-06-17 19:18:25.271149763 -0400
  63771. @@ -38,6 +38,7 @@
  63772. #include "fig.h"
  63773. #include "lctree.h"
  63774. #include "error.h"
  63775. +#include "binerror.h"
  63776.  
  63777. /*****************************************************************************
  63778.  
  63779. diff -Nru Fiasco-master/codec/Makefile.am Fiasco-master-pfiasco/codec/Makefile.am
  63780. --- Fiasco-master/codec/Makefile.am 2013-06-06 22:56:44.000000000 -0400
  63781. +++ Fiasco-master-pfiasco/codec/Makefile.am 2019-06-17 21:00:33.639493452 -0400
  63782. @@ -24,4 +24,4 @@
  63783. motion.h mwfa.h options.h prediction.h subdivide.h \
  63784. tiling.h wfalib.h wfa.h
  63785. EXTRA_DIST = MANIFEST
  63786. -INCLUDES = @INCLUDES@
  63787. +AM_CPPFLAGS = @AM_CPPFLAGS@
  63788. diff -Nru Fiasco-master/codec/Makefile.in Fiasco-master-pfiasco/codec/Makefile.in
  63789. --- Fiasco-master/codec/Makefile.in 2013-06-06 22:56:44.000000000 -0400
  63790. +++ Fiasco-master-pfiasco/codec/Makefile.in 2019-06-17 21:04:59.374768343 -0400
  63791. @@ -1,9 +1,8 @@
  63792. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  63793. +# Makefile.in generated by automake 1.16.1 from Makefile.am.
  63794. # @configure_input@
  63795.  
  63796. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  63797. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  63798. -# Inc.
  63799. +# Copyright (C) 1994-2018 Free Software Foundation, Inc.
  63800. +
  63801. # This Makefile.in is free software; the Free Software Foundation
  63802. # gives unlimited permission to copy and/or distribute it,
  63803. # with or without modifications, as long as this notice is preserved.
  63804. @@ -17,6 +16,61 @@
  63805.  
  63806.  
  63807. VPATH = @srcdir@
  63808. +am__is_gnu_make = { \
  63809. + if test -z '$(MAKELEVEL)'; then \
  63810. + false; \
  63811. + elif test -n '$(MAKE_HOST)'; then \
  63812. + true; \
  63813. + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  63814. + true; \
  63815. + else \
  63816. + false; \
  63817. + fi; \
  63818. +}
  63819. +am__make_running_with_option = \
  63820. + case $${target_option-} in \
  63821. + ?) ;; \
  63822. + *) echo "am__make_running_with_option: internal error: invalid" \
  63823. + "target option '$${target_option-}' specified" >&2; \
  63824. + exit 1;; \
  63825. + esac; \
  63826. + has_opt=no; \
  63827. + sane_makeflags=$$MAKEFLAGS; \
  63828. + if $(am__is_gnu_make); then \
  63829. + sane_makeflags=$$MFLAGS; \
  63830. + else \
  63831. + case $$MAKEFLAGS in \
  63832. + *\\[\ \ ]*) \
  63833. + bs=\\; \
  63834. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  63835. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  63836. + esac; \
  63837. + fi; \
  63838. + skip_next=no; \
  63839. + strip_trailopt () \
  63840. + { \
  63841. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  63842. + }; \
  63843. + for flg in $$sane_makeflags; do \
  63844. + test $$skip_next = yes && { skip_next=no; continue; }; \
  63845. + case $$flg in \
  63846. + *=*|--*) continue;; \
  63847. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  63848. + -*I?*) strip_trailopt 'I';; \
  63849. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  63850. + -*O?*) strip_trailopt 'O';; \
  63851. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  63852. + -*l?*) strip_trailopt 'l';; \
  63853. + -[dEDm]) skip_next=yes;; \
  63854. + -[JT]) skip_next=yes;; \
  63855. + esac; \
  63856. + case $$flg in \
  63857. + *$$target_option*) has_opt=yes; break;; \
  63858. + esac; \
  63859. + done; \
  63860. + test $$has_opt = yes
  63861. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  63862. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  63863. pkgdatadir = $(datadir)/@PACKAGE@
  63864. pkgincludedir = $(includedir)/@PACKAGE@
  63865. pkglibdir = $(libdir)/@PACKAGE@
  63866. @@ -36,12 +90,15 @@
  63867. build_triplet = @build@
  63868. host_triplet = @host@
  63869. subdir = codec
  63870. -DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  63871. - $(srcdir)/Makefile.in ChangeLog
  63872. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  63873. -am__aclocal_m4_deps = $(top_srcdir)/configure.in
  63874. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  63875. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  63876. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  63877. + $(top_srcdir)/configure.ac
  63878. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  63879. $(ACLOCAL_M4)
  63880. +DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \
  63881. + $(am__DIST_COMMON)
  63882. mkinstalldirs = $(install_sh) -d
  63883. CONFIG_HEADER = $(top_builddir)/config.h
  63884. CONFIG_CLEAN_FILES =
  63885. @@ -67,6 +124,12 @@
  63886. am__base_list = \
  63887. sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  63888. sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  63889. +am__uninstall_files_from_dir = { \
  63890. + test -z "$$files" \
  63891. + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
  63892. + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
  63893. + $(am__cd) "$$dir" && rm -f $$files; }; \
  63894. + }
  63895. am__installdirs = "$(DESTDIR)$(libdir)"
  63896. LTLIBRARIES = $(lib_LTLIBRARIES)
  63897. libfiasco_la_DEPENDENCIES = ../lib/libfiasco-lib.la \
  63898. @@ -76,30 +139,89 @@
  63899. motion.lo mwfa.lo options.lo prediction.lo subdivide.lo \
  63900. tiling.lo wfalib.lo
  63901. libfiasco_la_OBJECTS = $(am_libfiasco_la_OBJECTS)
  63902. -libfiasco_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  63903. +AM_V_lt = $(am__v_lt_@AM_V@)
  63904. +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
  63905. +am__v_lt_0 = --silent
  63906. +am__v_lt_1 =
  63907. +libfiasco_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  63908. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  63909. $(libfiasco_la_LDFLAGS) $(LDFLAGS) -o $@
  63910. +AM_V_P = $(am__v_P_@AM_V@)
  63911. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  63912. +am__v_P_0 = false
  63913. +am__v_P_1 = :
  63914. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  63915. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  63916. +am__v_GEN_0 = @echo " GEN " $@;
  63917. +am__v_GEN_1 =
  63918. +AM_V_at = $(am__v_at_@AM_V@)
  63919. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  63920. +am__v_at_0 = @
  63921. +am__v_at_1 =
  63922. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  63923. depcomp = $(SHELL) $(top_srcdir)/depcomp
  63924. -am__depfiles_maybe = depfiles
  63925. +am__maybe_remake_depfiles = depfiles
  63926. +am__depfiles_remade = ./$(DEPDIR)/approx.Plo ./$(DEPDIR)/bintree.Plo \
  63927. + ./$(DEPDIR)/coder.Plo ./$(DEPDIR)/coeff.Plo \
  63928. + ./$(DEPDIR)/control.Plo ./$(DEPDIR)/decoder.Plo \
  63929. + ./$(DEPDIR)/dfiasco.Plo ./$(DEPDIR)/domain-pool.Plo \
  63930. + ./$(DEPDIR)/ip.Plo ./$(DEPDIR)/motion.Plo ./$(DEPDIR)/mwfa.Plo \
  63931. + ./$(DEPDIR)/options.Plo ./$(DEPDIR)/prediction.Plo \
  63932. + ./$(DEPDIR)/subdivide.Plo ./$(DEPDIR)/tiling.Plo \
  63933. + ./$(DEPDIR)/wfalib.Plo
  63934. am__mv = mv -f
  63935. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  63936. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  63937. -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  63938. - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  63939. - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  63940. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  63941. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  63942. + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  63943. + $(AM_CFLAGS) $(CFLAGS)
  63944. +AM_V_CC = $(am__v_CC_@AM_V@)
  63945. +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  63946. +am__v_CC_0 = @echo " CC " $@;
  63947. +am__v_CC_1 =
  63948. CCLD = $(CC)
  63949. -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  63950. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  63951. - $(LDFLAGS) -o $@
  63952. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  63953. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  63954. + $(AM_LDFLAGS) $(LDFLAGS) -o $@
  63955. +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  63956. +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  63957. +am__v_CCLD_0 = @echo " CCLD " $@;
  63958. +am__v_CCLD_1 =
  63959. SOURCES = $(libfiasco_la_SOURCES)
  63960. DIST_SOURCES = $(libfiasco_la_SOURCES)
  63961. +am__can_run_installinfo = \
  63962. + case $$AM_UPDATE_INFO_DIR in \
  63963. + n|no|NO) false;; \
  63964. + *) (install-info --version) >/dev/null 2>&1;; \
  63965. + esac
  63966. HEADERS = $(noinst_HEADERS)
  63967. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  63968. +# Read a list of newline-separated strings from the standard input,
  63969. +# and print each of them once, without duplicates. Input order is
  63970. +# *not* preserved.
  63971. +am__uniquify_input = $(AWK) '\
  63972. + BEGIN { nonempty = 0; } \
  63973. + { items[$$0] = 1; nonempty = 1; } \
  63974. + END { if (nonempty) { for (i in items) print i; }; } \
  63975. +'
  63976. +# Make sure the list of sources is unique. This is necessary because,
  63977. +# e.g., the same source file might be shared among _SOURCES variables
  63978. +# for different programs/libraries.
  63979. +am__define_uniq_tagged_files = \
  63980. + list='$(am__tagged_files)'; \
  63981. + unique=`for i in $$list; do \
  63982. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  63983. + done | $(am__uniquify_input)`
  63984. ETAGS = etags
  63985. CTAGS = ctags
  63986. +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
  63987. + ChangeLog
  63988. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  63989. ACLOCAL = @ACLOCAL@
  63990. AMTAR = @AMTAR@
  63991. +AM_CPPFLAGS = @AM_CPPFLAGS@
  63992. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  63993. AR = @AR@
  63994. AUTOCONF = @AUTOCONF@
  63995. AUTOHEADER = @AUTOHEADER@
  63996. @@ -113,6 +235,7 @@
  63997. CYGPATH_W = @CYGPATH_W@
  63998. DEFS = @DEFS@
  63999. DEPDIR = @DEPDIR@
  64000. +DLLTOOL = @DLLTOOL@
  64001. DSYMUTIL = @DSYMUTIL@
  64002. DUMPBIN = @DUMPBIN@
  64003. ECHO_C = @ECHO_C@
  64004. @@ -122,7 +245,6 @@
  64005. EXEEXT = @EXEEXT@
  64006. FGREP = @FGREP@
  64007. GREP = @GREP@
  64008. -INCLUDES = @INCLUDES@
  64009. INSTALL = @INSTALL@
  64010. INSTALL_DATA = @INSTALL_DATA@
  64011. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  64012. @@ -137,7 +259,9 @@
  64013. LIPO = @LIPO@
  64014. LN_S = @LN_S@
  64015. LTLIBOBJS = @LTLIBOBJS@
  64016. +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  64017. MAKEINFO = @MAKEINFO@
  64018. +MANIFEST_TOOL = @MANIFEST_TOOL@
  64019. MKDIR_P = @MKDIR_P@
  64020. NM = @NM@
  64021. NMEDIT = @NMEDIT@
  64022. @@ -163,6 +287,7 @@
  64023. abs_srcdir = @abs_srcdir@
  64024. abs_top_builddir = @abs_top_builddir@
  64025. abs_top_srcdir = @abs_top_srcdir@
  64026. +ac_ct_AR = @ac_ct_AR@
  64027. ac_ct_CC = @ac_ct_CC@
  64028. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  64029. am__include = @am__include@
  64030. @@ -195,7 +320,6 @@
  64031. libexecdir = @libexecdir@
  64032. localedir = @localedir@
  64033. localstatedir = @localstatedir@
  64034. -lt_ECHO = @lt_ECHO@
  64035. mandir = @mandir@
  64036. mkdir_p = @mkdir_p@
  64037. oldincludedir = @oldincludedir@
  64038. @@ -246,14 +370,13 @@
  64039. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu codec/Makefile'; \
  64040. $(am__cd) $(top_srcdir) && \
  64041. $(AUTOMAKE) --gnu codec/Makefile
  64042. -.PRECIOUS: Makefile
  64043. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  64044. @case '$?' in \
  64045. *config.status*) \
  64046. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  64047. *) \
  64048. - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  64049. - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  64050. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
  64051. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
  64052. esac;
  64053.  
  64054. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  64055. @@ -264,9 +387,9 @@
  64056. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  64057. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  64058. $(am__aclocal_m4_deps):
  64059. +
  64060. install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  64061. @$(NORMAL_INSTALL)
  64062. - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
  64063. @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  64064. list2=; for p in $$list; do \
  64065. if test -f $$p; then \
  64066. @@ -274,6 +397,8 @@
  64067. else :; fi; \
  64068. done; \
  64069. test -z "$$list2" || { \
  64070. + echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
  64071. + $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
  64072. echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
  64073. $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
  64074. }
  64075. @@ -289,14 +414,17 @@
  64076.  
  64077. clean-libLTLIBRARIES:
  64078. -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
  64079. - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  64080. - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
  64081. - test "$$dir" != "$$p" || dir=.; \
  64082. - echo "rm -f \"$${dir}/so_locations\""; \
  64083. - rm -f "$${dir}/so_locations"; \
  64084. - done
  64085. -libfiasco.la: $(libfiasco_la_OBJECTS) $(libfiasco_la_DEPENDENCIES)
  64086. - $(libfiasco_la_LINK) -rpath $(libdir) $(libfiasco_la_OBJECTS) $(libfiasco_la_LIBADD) $(LIBS)
  64087. + @list='$(lib_LTLIBRARIES)'; \
  64088. + locs=`for p in $$list; do echo $$p; done | \
  64089. + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
  64090. + sort -u`; \
  64091. + test -z "$$locs" || { \
  64092. + echo rm -f $${locs}; \
  64093. + rm -f $${locs}; \
  64094. + }
  64095. +
  64096. +libfiasco.la: $(libfiasco_la_OBJECTS) $(libfiasco_la_DEPENDENCIES) $(EXTRA_libfiasco_la_DEPENDENCIES)
  64097. + $(AM_V_CCLD)$(libfiasco_la_LINK) -rpath $(libdir) $(libfiasco_la_OBJECTS) $(libfiasco_la_LIBADD) $(LIBS)
  64098.  
  64099. mostlyclean-compile:
  64100. -rm -f *.$(OBJEXT)
  64101. @@ -304,43 +432,49 @@
  64102. distclean-compile:
  64103. -rm -f *.tab.c
  64104.  
  64105. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/approx.Plo@am__quote@
  64106. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bintree.Plo@am__quote@
  64107. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coder.Plo@am__quote@
  64108. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coeff.Plo@am__quote@
  64109. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/control.Plo@am__quote@
  64110. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decoder.Plo@am__quote@
  64111. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dfiasco.Plo@am__quote@
  64112. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/domain-pool.Plo@am__quote@
  64113. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ip.Plo@am__quote@
  64114. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/motion.Plo@am__quote@
  64115. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mwfa.Plo@am__quote@
  64116. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Plo@am__quote@
  64117. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prediction.Plo@am__quote@
  64118. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/subdivide.Plo@am__quote@
  64119. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tiling.Plo@am__quote@
  64120. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wfalib.Plo@am__quote@
  64121. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/approx.Plo@am__quote@ # am--include-marker
  64122. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bintree.Plo@am__quote@ # am--include-marker
  64123. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coder.Plo@am__quote@ # am--include-marker
  64124. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coeff.Plo@am__quote@ # am--include-marker
  64125. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/control.Plo@am__quote@ # am--include-marker
  64126. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decoder.Plo@am__quote@ # am--include-marker
  64127. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dfiasco.Plo@am__quote@ # am--include-marker
  64128. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/domain-pool.Plo@am__quote@ # am--include-marker
  64129. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ip.Plo@am__quote@ # am--include-marker
  64130. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/motion.Plo@am__quote@ # am--include-marker
  64131. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mwfa.Plo@am__quote@ # am--include-marker
  64132. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Plo@am__quote@ # am--include-marker
  64133. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prediction.Plo@am__quote@ # am--include-marker
  64134. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/subdivide.Plo@am__quote@ # am--include-marker
  64135. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tiling.Plo@am__quote@ # am--include-marker
  64136. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wfalib.Plo@am__quote@ # am--include-marker
  64137. +
  64138. +$(am__depfiles_remade):
  64139. + @$(MKDIR_P) $(@D)
  64140. + @echo '# dummy' >$@-t && $(am__mv) $@-t $@
  64141. +
  64142. +am--depfiles: $(am__depfiles_remade)
  64143.  
  64144. .c.o:
  64145. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  64146. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  64147. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  64148. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  64149. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  64150. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  64151. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  64152. -@am__fastdepCC_FALSE@ $(COMPILE) -c $<
  64153. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
  64154.  
  64155. .c.obj:
  64156. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  64157. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  64158. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  64159. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  64160. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  64161. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  64162. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  64163. -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  64164. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  64165.  
  64166. .c.lo:
  64167. -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  64168. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  64169. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  64170. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  64171. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  64172. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  64173. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  64174. -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  64175. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
  64176.  
  64177. mostlyclean-libtool:
  64178. -rm -f *.lo
  64179. @@ -348,26 +482,15 @@
  64180. clean-libtool:
  64181. -rm -rf .libs _libs
  64182.  
  64183. -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  64184. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  64185. - unique=`for i in $$list; do \
  64186. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  64187. - done | \
  64188. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  64189. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  64190. - mkid -fID $$unique
  64191. -tags: TAGS
  64192. +ID: $(am__tagged_files)
  64193. + $(am__define_uniq_tagged_files); mkid -fID $$unique
  64194. +tags: tags-am
  64195. +TAGS: tags
  64196.  
  64197. -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  64198. - $(TAGS_FILES) $(LISP)
  64199. +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  64200. set x; \
  64201. here=`pwd`; \
  64202. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  64203. - unique=`for i in $$list; do \
  64204. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  64205. - done | \
  64206. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  64207. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  64208. + $(am__define_uniq_tagged_files); \
  64209. shift; \
  64210. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  64211. test -n "$$unique" || unique=$$empty_fix; \
  64212. @@ -379,15 +502,11 @@
  64213. $$unique; \
  64214. fi; \
  64215. fi
  64216. -ctags: CTAGS
  64217. -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  64218. - $(TAGS_FILES) $(LISP)
  64219. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  64220. - unique=`for i in $$list; do \
  64221. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  64222. - done | \
  64223. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  64224. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  64225. +ctags: ctags-am
  64226. +
  64227. +CTAGS: ctags
  64228. +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  64229. + $(am__define_uniq_tagged_files); \
  64230. test -z "$(CTAGS_ARGS)$$unique" \
  64231. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  64232. $$unique
  64233. @@ -396,11 +515,29 @@
  64234. here=`$(am__cd) $(top_builddir) && pwd` \
  64235. && $(am__cd) $(top_srcdir) \
  64236. && gtags -i $(GTAGS_ARGS) "$$here"
  64237. +cscopelist: cscopelist-am
  64238. +
  64239. +cscopelist-am: $(am__tagged_files)
  64240. + list='$(am__tagged_files)'; \
  64241. + case "$(srcdir)" in \
  64242. + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  64243. + *) sdir=$(subdir)/$(srcdir) ;; \
  64244. + esac; \
  64245. + for i in $$list; do \
  64246. + if test -f "$$i"; then \
  64247. + echo "$(subdir)/$$i"; \
  64248. + else \
  64249. + echo "$$sdir/$$i"; \
  64250. + fi; \
  64251. + done >> $(top_builddir)/cscope.files
  64252.  
  64253. distclean-tags:
  64254. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  64255.  
  64256. -distdir: $(DISTFILES)
  64257. +distdir: $(BUILT_SOURCES)
  64258. + $(MAKE) $(AM_MAKEFLAGS) distdir-am
  64259. +
  64260. +distdir-am: $(DISTFILES)
  64261. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  64262. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  64263. list='$(DISTFILES)'; \
  64264. @@ -447,10 +584,15 @@
  64265.  
  64266. installcheck: installcheck-am
  64267. install-strip:
  64268. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  64269. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  64270. - `test -z '$(STRIP)' || \
  64271. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  64272. + if test -z '$(STRIP)'; then \
  64273. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  64274. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  64275. + install; \
  64276. + else \
  64277. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  64278. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  64279. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  64280. + fi
  64281. mostlyclean-generic:
  64282.  
  64283. clean-generic:
  64284. @@ -468,7 +610,22 @@
  64285. mostlyclean-am
  64286.  
  64287. distclean: distclean-am
  64288. - -rm -rf ./$(DEPDIR)
  64289. + -rm -f ./$(DEPDIR)/approx.Plo
  64290. + -rm -f ./$(DEPDIR)/bintree.Plo
  64291. + -rm -f ./$(DEPDIR)/coder.Plo
  64292. + -rm -f ./$(DEPDIR)/coeff.Plo
  64293. + -rm -f ./$(DEPDIR)/control.Plo
  64294. + -rm -f ./$(DEPDIR)/decoder.Plo
  64295. + -rm -f ./$(DEPDIR)/dfiasco.Plo
  64296. + -rm -f ./$(DEPDIR)/domain-pool.Plo
  64297. + -rm -f ./$(DEPDIR)/ip.Plo
  64298. + -rm -f ./$(DEPDIR)/motion.Plo
  64299. + -rm -f ./$(DEPDIR)/mwfa.Plo
  64300. + -rm -f ./$(DEPDIR)/options.Plo
  64301. + -rm -f ./$(DEPDIR)/prediction.Plo
  64302. + -rm -f ./$(DEPDIR)/subdivide.Plo
  64303. + -rm -f ./$(DEPDIR)/tiling.Plo
  64304. + -rm -f ./$(DEPDIR)/wfalib.Plo
  64305. -rm -f Makefile
  64306. distclean-am: clean-am distclean-compile distclean-generic \
  64307. distclean-tags
  64308. @@ -514,7 +671,22 @@
  64309. installcheck-am:
  64310.  
  64311. maintainer-clean: maintainer-clean-am
  64312. - -rm -rf ./$(DEPDIR)
  64313. + -rm -f ./$(DEPDIR)/approx.Plo
  64314. + -rm -f ./$(DEPDIR)/bintree.Plo
  64315. + -rm -f ./$(DEPDIR)/coder.Plo
  64316. + -rm -f ./$(DEPDIR)/coeff.Plo
  64317. + -rm -f ./$(DEPDIR)/control.Plo
  64318. + -rm -f ./$(DEPDIR)/decoder.Plo
  64319. + -rm -f ./$(DEPDIR)/dfiasco.Plo
  64320. + -rm -f ./$(DEPDIR)/domain-pool.Plo
  64321. + -rm -f ./$(DEPDIR)/ip.Plo
  64322. + -rm -f ./$(DEPDIR)/motion.Plo
  64323. + -rm -f ./$(DEPDIR)/mwfa.Plo
  64324. + -rm -f ./$(DEPDIR)/options.Plo
  64325. + -rm -f ./$(DEPDIR)/prediction.Plo
  64326. + -rm -f ./$(DEPDIR)/subdivide.Plo
  64327. + -rm -f ./$(DEPDIR)/tiling.Plo
  64328. + -rm -f ./$(DEPDIR)/wfalib.Plo
  64329. -rm -f Makefile
  64330. maintainer-clean-am: distclean-am maintainer-clean-generic
  64331.  
  64332. @@ -535,19 +707,21 @@
  64333.  
  64334. .MAKE: install-am install-strip
  64335.  
  64336. -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  64337. - clean-libLTLIBRARIES clean-libtool ctags distclean \
  64338. - distclean-compile distclean-generic distclean-libtool \
  64339. - distclean-tags distdir dvi dvi-am html html-am info info-am \
  64340. - install install-am install-data install-data-am install-dvi \
  64341. - install-dvi-am install-exec install-exec-am install-html \
  64342. - install-html-am install-info install-info-am \
  64343. - install-libLTLIBRARIES install-man install-pdf install-pdf-am \
  64344. - install-ps install-ps-am install-strip installcheck \
  64345. - installcheck-am installdirs maintainer-clean \
  64346. +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
  64347. + clean-generic clean-libLTLIBRARIES clean-libtool cscopelist-am \
  64348. + ctags ctags-am distclean distclean-compile distclean-generic \
  64349. + distclean-libtool distclean-tags distdir dvi dvi-am html \
  64350. + html-am info info-am install install-am install-data \
  64351. + install-data-am install-dvi install-dvi-am install-exec \
  64352. + install-exec-am install-html install-html-am install-info \
  64353. + install-info-am install-libLTLIBRARIES install-man install-pdf \
  64354. + install-pdf-am install-ps install-ps-am install-strip \
  64355. + installcheck installcheck-am installdirs maintainer-clean \
  64356. maintainer-clean-generic mostlyclean mostlyclean-compile \
  64357. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  64358. - tags uninstall uninstall-am uninstall-libLTLIBRARIES
  64359. + tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES
  64360. +
  64361. +.PRECIOUS: Makefile
  64362.  
  64363.  
  64364. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  64365. diff -Nru Fiasco-master/codec/wfa.h Fiasco-master-pfiasco/codec/wfa.h
  64366. --- Fiasco-master/codec/wfa.h 2013-06-06 22:56:44.000000000 -0400
  64367. +++ Fiasco-master-pfiasco/codec/wfa.h 2019-06-17 18:56:53.000000000 -0400
  64368. @@ -18,7 +18,7 @@
  64369. #define _WFA_H
  64370.  
  64371. #define MAXEDGES 5
  64372. -#define MAXSTATES 6000
  64373. +#define MAXSTATES 60000
  64374. #define MAXLABELS 2 /* only bintree supported anymore */
  64375. #define MAXLEVEL 22
  64376.  
  64377. diff -Nru Fiasco-master/compile Fiasco-master-pfiasco/compile
  64378. --- Fiasco-master/compile 1969-12-31 19:00:00.000000000 -0500
  64379. +++ Fiasco-master-pfiasco/compile 2019-06-17 20:58:51.167150829 -0400
  64380. @@ -0,0 +1,348 @@
  64381. +#! /bin/sh
  64382. +# Wrapper for compilers which do not understand '-c -o'.
  64383. +
  64384. +scriptversion=2018-03-07.03; # UTC
  64385. +
  64386. +# Copyright (C) 1999-2018 Free Software Foundation, Inc.
  64387. +# Written by Tom Tromey <tromey@cygnus.com>.
  64388. +#
  64389. +# This program is free software; you can redistribute it and/or modify
  64390. +# it under the terms of the GNU General Public License as published by
  64391. +# the Free Software Foundation; either version 2, or (at your option)
  64392. +# any later version.
  64393. +#
  64394. +# This program is distributed in the hope that it will be useful,
  64395. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  64396. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  64397. +# GNU General Public License for more details.
  64398. +#
  64399. +# You should have received a copy of the GNU General Public License
  64400. +# along with this program. If not, see <https://www.gnu.org/licenses/>.
  64401. +
  64402. +# As a special exception to the GNU General Public License, if you
  64403. +# distribute this file as part of a program that contains a
  64404. +# configuration script generated by Autoconf, you may include it under
  64405. +# the same distribution terms that you use for the rest of that program.
  64406. +
  64407. +# This file is maintained in Automake, please report
  64408. +# bugs to <bug-automake@gnu.org> or send patches to
  64409. +# <automake-patches@gnu.org>.
  64410. +
  64411. +nl='
  64412. +'
  64413. +
  64414. +# We need space, tab and new line, in precisely that order. Quoting is
  64415. +# there to prevent tools from complaining about whitespace usage.
  64416. +IFS=" "" $nl"
  64417. +
  64418. +file_conv=
  64419. +
  64420. +# func_file_conv build_file lazy
  64421. +# Convert a $build file to $host form and store it in $file
  64422. +# Currently only supports Windows hosts. If the determined conversion
  64423. +# type is listed in (the comma separated) LAZY, no conversion will
  64424. +# take place.
  64425. +func_file_conv ()
  64426. +{
  64427. + file=$1
  64428. + case $file in
  64429. + / | /[!/]*) # absolute file, and not a UNC file
  64430. + if test -z "$file_conv"; then
  64431. + # lazily determine how to convert abs files
  64432. + case `uname -s` in
  64433. + MINGW*)
  64434. + file_conv=mingw
  64435. + ;;
  64436. + CYGWIN*)
  64437. + file_conv=cygwin
  64438. + ;;
  64439. + *)
  64440. + file_conv=wine
  64441. + ;;
  64442. + esac
  64443. + fi
  64444. + case $file_conv/,$2, in
  64445. + *,$file_conv,*)
  64446. + ;;
  64447. + mingw/*)
  64448. + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
  64449. + ;;
  64450. + cygwin/*)
  64451. + file=`cygpath -m "$file" || echo "$file"`
  64452. + ;;
  64453. + wine/*)
  64454. + file=`winepath -w "$file" || echo "$file"`
  64455. + ;;
  64456. + esac
  64457. + ;;
  64458. + esac
  64459. +}
  64460. +
  64461. +# func_cl_dashL linkdir
  64462. +# Make cl look for libraries in LINKDIR
  64463. +func_cl_dashL ()
  64464. +{
  64465. + func_file_conv "$1"
  64466. + if test -z "$lib_path"; then
  64467. + lib_path=$file
  64468. + else
  64469. + lib_path="$lib_path;$file"
  64470. + fi
  64471. + linker_opts="$linker_opts -LIBPATH:$file"
  64472. +}
  64473. +
  64474. +# func_cl_dashl library
  64475. +# Do a library search-path lookup for cl
  64476. +func_cl_dashl ()
  64477. +{
  64478. + lib=$1
  64479. + found=no
  64480. + save_IFS=$IFS
  64481. + IFS=';'
  64482. + for dir in $lib_path $LIB
  64483. + do
  64484. + IFS=$save_IFS
  64485. + if $shared && test -f "$dir/$lib.dll.lib"; then
  64486. + found=yes
  64487. + lib=$dir/$lib.dll.lib
  64488. + break
  64489. + fi
  64490. + if test -f "$dir/$lib.lib"; then
  64491. + found=yes
  64492. + lib=$dir/$lib.lib
  64493. + break
  64494. + fi
  64495. + if test -f "$dir/lib$lib.a"; then
  64496. + found=yes
  64497. + lib=$dir/lib$lib.a
  64498. + break
  64499. + fi
  64500. + done
  64501. + IFS=$save_IFS
  64502. +
  64503. + if test "$found" != yes; then
  64504. + lib=$lib.lib
  64505. + fi
  64506. +}
  64507. +
  64508. +# func_cl_wrapper cl arg...
  64509. +# Adjust compile command to suit cl
  64510. +func_cl_wrapper ()
  64511. +{
  64512. + # Assume a capable shell
  64513. + lib_path=
  64514. + shared=:
  64515. + linker_opts=
  64516. + for arg
  64517. + do
  64518. + if test -n "$eat"; then
  64519. + eat=
  64520. + else
  64521. + case $1 in
  64522. + -o)
  64523. + # configure might choose to run compile as 'compile cc -o foo foo.c'.
  64524. + eat=1
  64525. + case $2 in
  64526. + *.o | *.[oO][bB][jJ])
  64527. + func_file_conv "$2"
  64528. + set x "$@" -Fo"$file"
  64529. + shift
  64530. + ;;
  64531. + *)
  64532. + func_file_conv "$2"
  64533. + set x "$@" -Fe"$file"
  64534. + shift
  64535. + ;;
  64536. + esac
  64537. + ;;
  64538. + -I)
  64539. + eat=1
  64540. + func_file_conv "$2" mingw
  64541. + set x "$@" -I"$file"
  64542. + shift
  64543. + ;;
  64544. + -I*)
  64545. + func_file_conv "${1#-I}" mingw
  64546. + set x "$@" -I"$file"
  64547. + shift
  64548. + ;;
  64549. + -l)
  64550. + eat=1
  64551. + func_cl_dashl "$2"
  64552. + set x "$@" "$lib"
  64553. + shift
  64554. + ;;
  64555. + -l*)
  64556. + func_cl_dashl "${1#-l}"
  64557. + set x "$@" "$lib"
  64558. + shift
  64559. + ;;
  64560. + -L)
  64561. + eat=1
  64562. + func_cl_dashL "$2"
  64563. + ;;
  64564. + -L*)
  64565. + func_cl_dashL "${1#-L}"
  64566. + ;;
  64567. + -static)
  64568. + shared=false
  64569. + ;;
  64570. + -Wl,*)
  64571. + arg=${1#-Wl,}
  64572. + save_ifs="$IFS"; IFS=','
  64573. + for flag in $arg; do
  64574. + IFS="$save_ifs"
  64575. + linker_opts="$linker_opts $flag"
  64576. + done
  64577. + IFS="$save_ifs"
  64578. + ;;
  64579. + -Xlinker)
  64580. + eat=1
  64581. + linker_opts="$linker_opts $2"
  64582. + ;;
  64583. + -*)
  64584. + set x "$@" "$1"
  64585. + shift
  64586. + ;;
  64587. + *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
  64588. + func_file_conv "$1"
  64589. + set x "$@" -Tp"$file"
  64590. + shift
  64591. + ;;
  64592. + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
  64593. + func_file_conv "$1" mingw
  64594. + set x "$@" "$file"
  64595. + shift
  64596. + ;;
  64597. + *)
  64598. + set x "$@" "$1"
  64599. + shift
  64600. + ;;
  64601. + esac
  64602. + fi
  64603. + shift
  64604. + done
  64605. + if test -n "$linker_opts"; then
  64606. + linker_opts="-link$linker_opts"
  64607. + fi
  64608. + exec "$@" $linker_opts
  64609. + exit 1
  64610. +}
  64611. +
  64612. +eat=
  64613. +
  64614. +case $1 in
  64615. + '')
  64616. + echo "$0: No command. Try '$0 --help' for more information." 1>&2
  64617. + exit 1;
  64618. + ;;
  64619. + -h | --h*)
  64620. + cat <<\EOF
  64621. +Usage: compile [--help] [--version] PROGRAM [ARGS]
  64622. +
  64623. +Wrapper for compilers which do not understand '-c -o'.
  64624. +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
  64625. +arguments, and rename the output as expected.
  64626. +
  64627. +If you are trying to build a whole package this is not the
  64628. +right script to run: please start by reading the file 'INSTALL'.
  64629. +
  64630. +Report bugs to <bug-automake@gnu.org>.
  64631. +EOF
  64632. + exit $?
  64633. + ;;
  64634. + -v | --v*)
  64635. + echo "compile $scriptversion"
  64636. + exit $?
  64637. + ;;
  64638. + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
  64639. + icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
  64640. + func_cl_wrapper "$@" # Doesn't return...
  64641. + ;;
  64642. +esac
  64643. +
  64644. +ofile=
  64645. +cfile=
  64646. +
  64647. +for arg
  64648. +do
  64649. + if test -n "$eat"; then
  64650. + eat=
  64651. + else
  64652. + case $1 in
  64653. + -o)
  64654. + # configure might choose to run compile as 'compile cc -o foo foo.c'.
  64655. + # So we strip '-o arg' only if arg is an object.
  64656. + eat=1
  64657. + case $2 in
  64658. + *.o | *.obj)
  64659. + ofile=$2
  64660. + ;;
  64661. + *)
  64662. + set x "$@" -o "$2"
  64663. + shift
  64664. + ;;
  64665. + esac
  64666. + ;;
  64667. + *.c)
  64668. + cfile=$1
  64669. + set x "$@" "$1"
  64670. + shift
  64671. + ;;
  64672. + *)
  64673. + set x "$@" "$1"
  64674. + shift
  64675. + ;;
  64676. + esac
  64677. + fi
  64678. + shift
  64679. +done
  64680. +
  64681. +if test -z "$ofile" || test -z "$cfile"; then
  64682. + # If no '-o' option was seen then we might have been invoked from a
  64683. + # pattern rule where we don't need one. That is ok -- this is a
  64684. + # normal compilation that the losing compiler can handle. If no
  64685. + # '.c' file was seen then we are probably linking. That is also
  64686. + # ok.
  64687. + exec "$@"
  64688. +fi
  64689. +
  64690. +# Name of file we expect compiler to create.
  64691. +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
  64692. +
  64693. +# Create the lock directory.
  64694. +# Note: use '[/\\:.-]' here to ensure that we don't use the same name
  64695. +# that we are using for the .o file. Also, base the name on the expected
  64696. +# object file name, since that is what matters with a parallel build.
  64697. +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
  64698. +while true; do
  64699. + if mkdir "$lockdir" >/dev/null 2>&1; then
  64700. + break
  64701. + fi
  64702. + sleep 1
  64703. +done
  64704. +# FIXME: race condition here if user kills between mkdir and trap.
  64705. +trap "rmdir '$lockdir'; exit 1" 1 2 15
  64706. +
  64707. +# Run the compile.
  64708. +"$@"
  64709. +ret=$?
  64710. +
  64711. +if test -f "$cofile"; then
  64712. + test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
  64713. +elif test -f "${cofile}bj"; then
  64714. + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
  64715. +fi
  64716. +
  64717. +rmdir "$lockdir"
  64718. +exit $ret
  64719. +
  64720. +# Local Variables:
  64721. +# mode: shell-script
  64722. +# sh-indentation: 2
  64723. +# eval: (add-hook 'before-save-hook 'time-stamp)
  64724. +# time-stamp-start: "scriptversion="
  64725. +# time-stamp-format: "%:y-%02m-%02d.%02H"
  64726. +# time-stamp-time-zone: "UTC0"
  64727. +# time-stamp-end: "; # UTC"
  64728. +# End:
  64729. diff -Nru Fiasco-master/config.h.in Fiasco-master-pfiasco/config.h.in
  64730. --- Fiasco-master/config.h.in 2013-06-06 22:56:44.000000000 -0400
  64731. +++ Fiasco-master-pfiasco/config.h.in 2019-06-17 21:06:38.941114512 -0400
  64732. @@ -1,81 +1,144 @@
  64733. -/* config.h.in. Generated automatically from configure.in by autoheader. */
  64734. +/* config.h.in. Generated from configure.ac by autoheader. */
  64735. +/* Package name */
  64736. +#undef PACKAGE
  64737.  
  64738. -/* Define to empty if the keyword does not work. */
  64739. -#undef const
  64740. +/* Version number */
  64741. +#undef VERSION
  64742.  
  64743. -/* Define if you don't have vprintf but do have _doprnt. */
  64744. -#undef HAVE_DOPRNT
  64745. +/* Define if shifting of signed integers works */
  64746. +#undef HAVE_SIGNED_SHIFT
  64747.  
  64748. -/* Define if you have the vprintf function. */
  64749. -#undef HAVE_VPRINTF
  64750. +/* Define path of WFA datafiles (automata, resource files) */
  64751. +#undef FIASCO_SHARE
  64752.  
  64753. -/* Define to `unsigned' if <sys/types.h> doesn't define. */
  64754. -#undef size_t
  64755. +/* Define if you don't have the CLOCKS_PER_SEC define in <time.h>. */
  64756. +#undef CLOCKS_PER_SEC
  64757.  
  64758. -/* Define if you have the ANSI C header files. */
  64759. -#undef STDC_HEADERS
  64760. +/* Define if building universal (internal helper macro) */
  64761. +#undef AC_APPLE_UNIVERSAL_BUILD
  64762.  
  64763. -/* Define if your processor stores words with the most significant
  64764. - byte first (like Motorola and SPARC, unlike Intel and VAX). */
  64765. -#undef WORDS_BIGENDIAN
  64766. +/* Define to 1 if you have the <assert.h> header file. */
  64767. +#undef HAVE_ASSERT_H
  64768.  
  64769. -/* Define if the X Window System is missing or not being used. */
  64770. -#undef X_DISPLAY_MISSING
  64771. +/* Define to 1 if you have the <dlfcn.h> header file. */
  64772. +#undef HAVE_DLFCN_H
  64773.  
  64774. -/* Define if shifting of signed integers works */
  64775. -#undef HAVE_SIGNED_SHIFT
  64776. +/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
  64777. +#undef HAVE_DOPRNT
  64778.  
  64779. -/* The number of bytes in a char. */
  64780. -#undef SIZEOF_CHAR
  64781. +/* Define to 1 if you have the <features.h> header file. */
  64782. +#undef HAVE_FEATURES_H
  64783.  
  64784. -/* The number of bytes in a int. */
  64785. -#undef SIZEOF_INT
  64786. +/* Define to 1 if you have the <inttypes.h> header file. */
  64787. +#undef HAVE_INTTYPES_H
  64788.  
  64789. -/* The number of bytes in a short. */
  64790. -#undef SIZEOF_SHORT
  64791. +/* Define to 1 if you have the `m' library (-lm). */
  64792. +#undef HAVE_LIBM
  64793.  
  64794. -/* Define if you have the log2 function. */
  64795. +/* Define to 1 if you have the `log2' function. */
  64796. #undef HAVE_LOG2
  64797.  
  64798. -/* Define if you have the memmove function. */
  64799. +/* Define to 1 if you have the `memmove' function. */
  64800. #undef HAVE_MEMMOVE
  64801.  
  64802. -/* Define if you have the strcasecmp function. */
  64803. -#undef HAVE_STRCASECMP
  64804. +/* Define to 1 if you have the <memory.h> header file. */
  64805. +#undef HAVE_MEMORY_H
  64806.  
  64807. -/* Define if you have the strdup function. */
  64808. -#undef HAVE_STRDUP
  64809. +/* Define to 1 if you have the <setjmp.h> header file. */
  64810. +#undef HAVE_SETJMP_H
  64811.  
  64812. -/* Define if you have the <X11/extensions/XShm.h> header file. */
  64813. -#undef HAVE_X11_EXTENSIONS_XSHM_H
  64814. +/* Define to 1 if you have the <stdint.h> header file. */
  64815. +#undef HAVE_STDINT_H
  64816.  
  64817. -/* Define if you have the <assert.h> header file. */
  64818. -#undef HAVE_ASSERT_H
  64819. +/* Define to 1 if you have the <stdlib.h> header file. */
  64820. +#undef HAVE_STDLIB_H
  64821.  
  64822. -/* Define if you have the <features.h> header file. */
  64823. -#undef HAVE_FEATURES_H
  64824. +/* Define to 1 if you have the `strcasecmp' function. */
  64825. +#undef HAVE_STRCASECMP
  64826.  
  64827. -/* Define if you have the <setjmp.h> header file. */
  64828. -#undef HAVE_SETJMP_H
  64829. +/* Define to 1 if you have the `strdup' function. */
  64830. +#undef HAVE_STRDUP
  64831.  
  64832. -/* Define if you have the <string.h> header file. */
  64833. +/* Define to 1 if you have the <strings.h> header file. */
  64834. +#undef HAVE_STRINGS_H
  64835. +
  64836. +/* Define to 1 if you have the <string.h> header file. */
  64837. #undef HAVE_STRING_H
  64838.  
  64839. -/* Define if you have the <unistd.h> header file. */
  64840. +/* Define to 1 if you have the <sys/stat.h> header file. */
  64841. +#undef HAVE_SYS_STAT_H
  64842. +
  64843. +/* Define to 1 if you have the <sys/types.h> header file. */
  64844. +#undef HAVE_SYS_TYPES_H
  64845. +
  64846. +/* Define to 1 if you have the <unistd.h> header file. */
  64847. #undef HAVE_UNISTD_H
  64848.  
  64849. -/* Define if you have the m library (-lm). */
  64850. -#undef HAVE_LIBM
  64851. +/* Define to 1 if you have the `vprintf' function. */
  64852. +#undef HAVE_VPRINTF
  64853. +
  64854. +/* Define to the sub-directory where libtool stores uninstalled libraries. */
  64855. +#undef LT_OBJDIR
  64856.  
  64857. /* Name of package */
  64858. #undef PACKAGE
  64859.  
  64860. +/* Define to the address where bug reports for this package should be sent. */
  64861. +#undef PACKAGE_BUGREPORT
  64862. +
  64863. +/* Define to the full name of this package. */
  64864. +#undef PACKAGE_NAME
  64865. +
  64866. +/* Define to the full name and version of this package. */
  64867. +#undef PACKAGE_STRING
  64868. +
  64869. +/* Define to the one symbol short name of this package. */
  64870. +#undef PACKAGE_TARNAME
  64871. +
  64872. +/* Define to the home page for this package. */
  64873. +#undef PACKAGE_URL
  64874. +
  64875. +/* Define to the version of this package. */
  64876. +#undef PACKAGE_VERSION
  64877. +
  64878. +/* The size of `char', as computed by sizeof. */
  64879. +#undef SIZEOF_CHAR
  64880. +
  64881. +/* The size of `int', as computed by sizeof. */
  64882. +#undef SIZEOF_INT
  64883. +
  64884. +/* The size of `short', as computed by sizeof. */
  64885. +#undef SIZEOF_SHORT
  64886. +
  64887. +/* Define to 1 if you have the ANSI C header files. */
  64888. +#undef STDC_HEADERS
  64889. +
  64890. +/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  64891. +#undef TIME_WITH_SYS_TIME
  64892. +
  64893. /* Version number of package */
  64894. #undef VERSION
  64895.  
  64896. +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  64897. + significant byte first (like Motorola and SPARC, unlike Intel). */
  64898. +#if defined AC_APPLE_UNIVERSAL_BUILD
  64899. +# if defined __BIG_ENDIAN__
  64900. +# define WORDS_BIGENDIAN 1
  64901. +# endif
  64902. +#else
  64903. +# ifndef WORDS_BIGENDIAN
  64904. +# undef WORDS_BIGENDIAN
  64905. +# endif
  64906. +#endif
  64907. +
  64908. /* Define path of xfig utility */
  64909. #undef XFIG
  64910.  
  64911. /* Define path of xmag utility */
  64912. #undef XMAG
  64913.  
  64914. +/* Define to empty if `const' does not conform to ANSI C. */
  64915. +#undef const
  64916. +
  64917. +/* Define to `unsigned int' if <sys/types.h> does not define. */
  64918. +#undef size_t
  64919. diff -Nru Fiasco-master/configure Fiasco-master-pfiasco/configure
  64920. --- Fiasco-master/configure 2013-06-06 22:56:44.000000000 -0400
  64921. +++ Fiasco-master-pfiasco/configure 2019-06-17 21:04:57.670779533 -0400
  64922. @@ -1,11 +1,9 @@
  64923. #! /bin/sh
  64924. # Guess values for system-dependent variables and create Makefiles.
  64925. -# Generated by GNU Autoconf 2.68.
  64926. +# Generated by GNU Autoconf 2.69 for fiasco 1.3.
  64927. #
  64928. #
  64929. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  64930. -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
  64931. -# Foundation, Inc.
  64932. +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  64933. #
  64934. #
  64935. # This configure script is free software; the Free Software Foundation
  64936. @@ -134,6 +132,31 @@
  64937. # CDPATH.
  64938. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  64939.  
  64940. +# Use a proper internal environment variable to ensure we don't fall
  64941. + # into an infinite loop, continuously re-executing ourselves.
  64942. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  64943. + _as_can_reexec=no; export _as_can_reexec;
  64944. + # We cannot yet assume a decent shell, so we have to provide a
  64945. +# neutralization value for shells without unset; and this also
  64946. +# works around shells that cannot unset nonexistent variables.
  64947. +# Preserve -v and -x to the replacement shell.
  64948. +BASH_ENV=/dev/null
  64949. +ENV=/dev/null
  64950. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  64951. +case $- in # ((((
  64952. + *v*x* | *x*v* ) as_opts=-vx ;;
  64953. + *v* ) as_opts=-v ;;
  64954. + *x* ) as_opts=-x ;;
  64955. + * ) as_opts= ;;
  64956. +esac
  64957. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  64958. +# Admittedly, this is quite paranoid, since all the known shells bail
  64959. +# out after a failed `exec'.
  64960. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  64961. +as_fn_exit 255
  64962. + fi
  64963. + # We don't want this to propagate to other subprocesses.
  64964. + { _as_can_reexec=; unset _as_can_reexec;}
  64965. if test "x$CONFIG_SHELL" = x; then
  64966. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  64967. emulate sh
  64968. @@ -167,11 +190,20 @@
  64969. else
  64970. exitcode=1; echo positional parameters were not saved.
  64971. fi
  64972. -test x\$exitcode = x0 || exit 1"
  64973. +test x\$exitcode = x0 || exit 1
  64974. +test -x / || exit 1"
  64975. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  64976. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  64977. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  64978. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  64979. +
  64980. + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  64981. + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  64982. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  64983. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  64984. + PATH=/empty FPATH=/empty; export PATH FPATH
  64985. + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  64986. + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
  64987. test \$(( 1 + 1 )) = 2 || exit 1"
  64988. if (eval "$as_required") 2>/dev/null; then :
  64989. as_have_required=yes
  64990. @@ -212,21 +244,25 @@
  64991.  
  64992.  
  64993. if test "x$CONFIG_SHELL" != x; then :
  64994. - # We cannot yet assume a decent shell, so we have to provide a
  64995. - # neutralization value for shells without unset; and this also
  64996. - # works around shells that cannot unset nonexistent variables.
  64997. - # Preserve -v and -x to the replacement shell.
  64998. - BASH_ENV=/dev/null
  64999. - ENV=/dev/null
  65000. - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  65001. - export CONFIG_SHELL
  65002. - case $- in # ((((
  65003. - *v*x* | *x*v* ) as_opts=-vx ;;
  65004. - *v* ) as_opts=-v ;;
  65005. - *x* ) as_opts=-x ;;
  65006. - * ) as_opts= ;;
  65007. - esac
  65008. - exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
  65009. + export CONFIG_SHELL
  65010. + # We cannot yet assume a decent shell, so we have to provide a
  65011. +# neutralization value for shells without unset; and this also
  65012. +# works around shells that cannot unset nonexistent variables.
  65013. +# Preserve -v and -x to the replacement shell.
  65014. +BASH_ENV=/dev/null
  65015. +ENV=/dev/null
  65016. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  65017. +case $- in # ((((
  65018. + *v*x* | *x*v* ) as_opts=-vx ;;
  65019. + *v* ) as_opts=-v ;;
  65020. + *x* ) as_opts=-x ;;
  65021. + * ) as_opts= ;;
  65022. +esac
  65023. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  65024. +# Admittedly, this is quite paranoid, since all the known shells bail
  65025. +# out after a failed `exec'.
  65026. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  65027. +exit 255
  65028. fi
  65029.  
  65030. if test x$as_have_required = xno; then :
  65031. @@ -328,6 +364,14 @@
  65032.  
  65033.  
  65034. } # as_fn_mkdir_p
  65035. +
  65036. +# as_fn_executable_p FILE
  65037. +# -----------------------
  65038. +# Test if FILE is an executable regular file.
  65039. +as_fn_executable_p ()
  65040. +{
  65041. + test -f "$1" && test -x "$1"
  65042. +} # as_fn_executable_p
  65043. # as_fn_append VAR VALUE
  65044. # ----------------------
  65045. # Append the text in VALUE to the end of the definition contained in VAR. Take
  65046. @@ -449,6 +493,10 @@
  65047. chmod +x "$as_me.lineno" ||
  65048. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  65049.  
  65050. + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  65051. + # already done that, so ensure we don't try to do so again and fall
  65052. + # in an infinite loop. This has already happened in practice.
  65053. + _as_can_reexec=no; export _as_can_reexec
  65054. # Don't try to exec as it changes $[0], causing all sort of problems
  65055. # (the dirname of $[0] is not the place where we might find the
  65056. # original and so on. Autoconf is especially sensitive to this).
  65057. @@ -483,16 +531,16 @@
  65058. # ... but there are two gotchas:
  65059. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  65060. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  65061. - # In both cases, we have to default to `cp -p'.
  65062. + # In both cases, we have to default to `cp -pR'.
  65063. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  65064. - as_ln_s='cp -p'
  65065. + as_ln_s='cp -pR'
  65066. elif ln conf$$.file conf$$ 2>/dev/null; then
  65067. as_ln_s=ln
  65068. else
  65069. - as_ln_s='cp -p'
  65070. + as_ln_s='cp -pR'
  65071. fi
  65072. else
  65073. - as_ln_s='cp -p'
  65074. + as_ln_s='cp -pR'
  65075. fi
  65076. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  65077. rmdir conf$$.dir 2>/dev/null
  65078. @@ -504,28 +552,8 @@
  65079. as_mkdir_p=false
  65080. fi
  65081.  
  65082. -if test -x / >/dev/null 2>&1; then
  65083. - as_test_x='test -x'
  65084. -else
  65085. - if ls -dL / >/dev/null 2>&1; then
  65086. - as_ls_L_option=L
  65087. - else
  65088. - as_ls_L_option=
  65089. - fi
  65090. - as_test_x='
  65091. - eval sh -c '\''
  65092. - if test -d "$1"; then
  65093. - test -d "$1/.";
  65094. - else
  65095. - case $1 in #(
  65096. - -*)set "./$1";;
  65097. - esac;
  65098. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  65099. - ???[sx]*):;;*)false;;esac;fi
  65100. - '\'' sh
  65101. - '
  65102. -fi
  65103. -as_executable_p=$as_test_x
  65104. +as_test_x='test -x'
  65105. +as_executable_p=as_fn_executable_p
  65106.  
  65107. # Sed expression to map a string onto a valid CPP name.
  65108. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  65109. @@ -533,155 +561,8 @@
  65110. # Sed expression to map a string onto a valid variable name.
  65111. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  65112.  
  65113. -
  65114. -
  65115. -# Check that we are running under the correct shell.
  65116. SHELL=${CONFIG_SHELL-/bin/sh}
  65117.  
  65118. -case X$lt_ECHO in
  65119. -X*--fallback-echo)
  65120. - # Remove one level of quotation (which was required for Make).
  65121. - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  65122. - ;;
  65123. -esac
  65124. -
  65125. -ECHO=${lt_ECHO-echo}
  65126. -if test "X$1" = X--no-reexec; then
  65127. - # Discard the --no-reexec flag, and continue.
  65128. - shift
  65129. -elif test "X$1" = X--fallback-echo; then
  65130. - # Avoid inline document here, it may be left over
  65131. - :
  65132. -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  65133. - # Yippee, $ECHO works!
  65134. - :
  65135. -else
  65136. - # Restart under the correct shell.
  65137. - exec $SHELL "$0" --no-reexec ${1+"$@"}
  65138. -fi
  65139. -
  65140. -if test "X$1" = X--fallback-echo; then
  65141. - # used as fallback echo
  65142. - shift
  65143. - cat <<_LT_EOF
  65144. -$*
  65145. -_LT_EOF
  65146. - exit 0
  65147. -fi
  65148. -
  65149. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  65150. -# if CDPATH is set.
  65151. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  65152. -
  65153. -if test -z "$lt_ECHO"; then
  65154. - if test "X${echo_test_string+set}" != Xset; then
  65155. - # find a string as large as possible, as long as the shell can cope with it
  65156. - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  65157. - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  65158. - if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  65159. - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  65160. - then
  65161. - break
  65162. - fi
  65163. - done
  65164. - fi
  65165. -
  65166. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  65167. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  65168. - test "X$echo_testing_string" = "X$echo_test_string"; then
  65169. - :
  65170. - else
  65171. - # The Solaris, AIX, and Digital Unix default echo programs unquote
  65172. - # backslashes. This makes it impossible to quote backslashes using
  65173. - # echo "$something" | sed 's/\\/\\\\/g'
  65174. - #
  65175. - # So, first we look for a working echo in the user's PATH.
  65176. -
  65177. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  65178. - for dir in $PATH /usr/ucb; do
  65179. - IFS="$lt_save_ifs"
  65180. - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  65181. - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  65182. - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  65183. - test "X$echo_testing_string" = "X$echo_test_string"; then
  65184. - ECHO="$dir/echo"
  65185. - break
  65186. - fi
  65187. - done
  65188. - IFS="$lt_save_ifs"
  65189. -
  65190. - if test "X$ECHO" = Xecho; then
  65191. - # We didn't find a better echo, so look for alternatives.
  65192. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  65193. - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  65194. - test "X$echo_testing_string" = "X$echo_test_string"; then
  65195. - # This shell has a builtin print -r that does the trick.
  65196. - ECHO='print -r'
  65197. - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  65198. - test "X$CONFIG_SHELL" != X/bin/ksh; then
  65199. - # If we have ksh, try running configure again with it.
  65200. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  65201. - export ORIGINAL_CONFIG_SHELL
  65202. - CONFIG_SHELL=/bin/ksh
  65203. - export CONFIG_SHELL
  65204. - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  65205. - else
  65206. - # Try using printf.
  65207. - ECHO='printf %s\n'
  65208. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  65209. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  65210. - test "X$echo_testing_string" = "X$echo_test_string"; then
  65211. - # Cool, printf works
  65212. - :
  65213. - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  65214. - test "X$echo_testing_string" = 'X\t' &&
  65215. - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  65216. - test "X$echo_testing_string" = "X$echo_test_string"; then
  65217. - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  65218. - export CONFIG_SHELL
  65219. - SHELL="$CONFIG_SHELL"
  65220. - export SHELL
  65221. - ECHO="$CONFIG_SHELL $0 --fallback-echo"
  65222. - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  65223. - test "X$echo_testing_string" = 'X\t' &&
  65224. - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  65225. - test "X$echo_testing_string" = "X$echo_test_string"; then
  65226. - ECHO="$CONFIG_SHELL $0 --fallback-echo"
  65227. - else
  65228. - # maybe with a smaller string...
  65229. - prev=:
  65230. -
  65231. - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  65232. - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  65233. - then
  65234. - break
  65235. - fi
  65236. - prev="$cmd"
  65237. - done
  65238. -
  65239. - if test "$prev" != 'sed 50q "$0"'; then
  65240. - echo_test_string=`eval $prev`
  65241. - export echo_test_string
  65242. - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  65243. - else
  65244. - # Oops. We lost completely, so just stick with echo.
  65245. - ECHO=echo
  65246. - fi
  65247. - fi
  65248. - fi
  65249. - fi
  65250. - fi
  65251. -fi
  65252. -
  65253. -# Copy echo and quote the copy suitably for passing to libtool from
  65254. -# the Makefile, instead of quoting the original, which is used later.
  65255. -lt_ECHO=$ECHO
  65256. -if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  65257. - lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  65258. -fi
  65259. -
  65260. -
  65261. -
  65262.  
  65263. test -n "$DJDIR" || exec 7<&0 </dev/null
  65264. exec 6>&1
  65265. @@ -704,14 +585,13 @@
  65266. MAKEFLAGS=
  65267.  
  65268. # Identity of this package.
  65269. -PACKAGE_NAME=
  65270. -PACKAGE_TARNAME=
  65271. -PACKAGE_VERSION=
  65272. -PACKAGE_STRING=
  65273. -PACKAGE_BUGREPORT=
  65274. -PACKAGE_URL=
  65275. +PACKAGE_NAME='fiasco'
  65276. +PACKAGE_TARNAME='fiasco'
  65277. +PACKAGE_VERSION='1.3'
  65278. +PACKAGE_STRING='fiasco 1.3'
  65279. +PACKAGE_BUGREPORT=''
  65280. +PACKAGE_URL=''
  65281.  
  65282. -ac_unique_file="system.fiascorc"
  65283. # Factoring default headers for most tests.
  65284. ac_includes_default="\
  65285. #include <stdio.h>
  65286. @@ -754,17 +634,20 @@
  65287. LIBOBJS
  65288. xmag
  65289. xfig
  65290. -INCLUDES
  65291. +AM_CPPFLAGS
  65292. LIBTOOL_DEPS
  65293. CPP
  65294. +LT_SYS_LIBRARY_PATH
  65295. OTOOL64
  65296. OTOOL
  65297. LIPO
  65298. NMEDIT
  65299. DSYMUTIL
  65300. -lt_ECHO
  65301. +MANIFEST_TOOL
  65302. RANLIB
  65303. +ac_ct_AR
  65304. AR
  65305. +DLLTOOL
  65306. OBJDUMP
  65307. LN_S
  65308. NM
  65309. @@ -778,10 +661,10 @@
  65310. am__fastdepCC_FALSE
  65311. am__fastdepCC_TRUE
  65312. CCDEPMODE
  65313. +am__nodep
  65314. AMDEPBACKSLASH
  65315. AMDEP_FALSE
  65316. AMDEP_TRUE
  65317. -am__quote
  65318. am__include
  65319. DEPDIR
  65320. OBJEXT
  65321. @@ -800,6 +683,10 @@
  65322. build_cpu
  65323. build
  65324. LIBTOOL
  65325. +AM_BACKSLASH
  65326. +AM_DEFAULT_VERBOSITY
  65327. +AM_DEFAULT_V
  65328. +AM_V
  65329. am__untar
  65330. am__tar
  65331. AMTAR
  65332. @@ -860,16 +747,20 @@
  65333. PACKAGE_TARNAME
  65334. PACKAGE_NAME
  65335. PATH_SEPARATOR
  65336. -SHELL'
  65337. +SHELL
  65338. +am__quote'
  65339. ac_subst_files=''
  65340. ac_user_opts='
  65341. enable_option_checking
  65342. +enable_silent_rules
  65343. enable_shared
  65344. enable_static
  65345. with_pic
  65346. enable_fast_install
  65347. +with_aix_soname
  65348. enable_dependency_tracking
  65349. with_gnu_ld
  65350. +with_sysroot
  65351. enable_libtool_lock
  65352. '
  65353. ac_precious_vars='build_alias
  65354. @@ -880,6 +771,7 @@
  65355. LDFLAGS
  65356. LIBS
  65357. CPPFLAGS
  65358. +LT_SYS_LIBRARY_PATH
  65359. CPP'
  65360.  
  65361.  
  65362. @@ -921,7 +813,7 @@
  65363. localstatedir='${prefix}/var'
  65364. includedir='${prefix}/include'
  65365. oldincludedir='/usr/include'
  65366. -docdir='${datarootdir}/doc/${PACKAGE}'
  65367. +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  65368. infodir='${datarootdir}/info'
  65369. htmldir='${docdir}'
  65370. dvidir='${docdir}'
  65371. @@ -1336,8 +1228,6 @@
  65372. if test "x$host_alias" != x; then
  65373. if test "x$build_alias" = x; then
  65374. cross_compiling=maybe
  65375. - $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
  65376. - If a cross compiler is detected then cross compile mode will be used" >&2
  65377. elif test "x$build_alias" != "x$host_alias"; then
  65378. cross_compiling=yes
  65379. fi
  65380. @@ -1423,7 +1313,7 @@
  65381. # Omit some internal or obsolete options to make the list less imposing.
  65382. # This message is too long to be a string in the A/UX 3.1 sh.
  65383. cat <<_ACEOF
  65384. -\`configure' configures this package to adapt to many kinds of systems.
  65385. +\`configure' configures fiasco 1.3 to adapt to many kinds of systems.
  65386.  
  65387. Usage: $0 [OPTION]... [VAR=VALUE]...
  65388.  
  65389. @@ -1471,7 +1361,7 @@
  65390. --infodir=DIR info documentation [DATAROOTDIR/info]
  65391. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  65392. --mandir=DIR man documentation [DATAROOTDIR/man]
  65393. - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  65394. + --docdir=DIR documentation root [DATAROOTDIR/doc/fiasco]
  65395. --htmldir=DIR html documentation [DOCDIR]
  65396. --dvidir=DIR dvi documentation [DOCDIR]
  65397. --pdfdir=DIR pdf documentation [DOCDIR]
  65398. @@ -1492,27 +1382,38 @@
  65399. fi
  65400.  
  65401. if test -n "$ac_init_help"; then
  65402. -
  65403. + case $ac_init_help in
  65404. + short | recursive ) echo "Configuration of fiasco 1.3:";;
  65405. + esac
  65406. cat <<\_ACEOF
  65407.  
  65408. Optional Features:
  65409. --disable-option-checking ignore unrecognized --enable/--with options
  65410. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  65411. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  65412. + --enable-silent-rules less verbose build output (undo: "make V=1")
  65413. + --disable-silent-rules verbose build output (undo: "make V=0")
  65414. --enable-shared[=PKGS] build shared libraries [default=yes]
  65415. --enable-static[=PKGS] build static libraries [default=yes]
  65416. --enable-fast-install[=PKGS]
  65417. optimize for fast installation [default=yes]
  65418. - --disable-dependency-tracking speeds up one-time build
  65419. - --enable-dependency-tracking do not reject slow dependency extractors
  65420. + --enable-dependency-tracking
  65421. + do not reject slow dependency extractors
  65422. + --disable-dependency-tracking
  65423. + speeds up one-time build
  65424. --disable-libtool-lock avoid locking (might break parallel builds)
  65425.  
  65426. Optional Packages:
  65427. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  65428. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  65429. - --with-pic try to use only PIC/non-PIC objects [default=use
  65430. + --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
  65431. both]
  65432. + --with-aix-soname=aix|svr4|both
  65433. + shared library versioning (aka "SONAME") variant to
  65434. + provide on AIX, [default=aix].
  65435. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  65436. + --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
  65437. + compiler's sysroot if not specified).
  65438.  
  65439. Some influential environment variables:
  65440. CC C compiler command
  65441. @@ -1522,6 +1423,8 @@
  65442. LIBS libraries to pass to the linker, e.g. -l<library>
  65443. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  65444. you have headers in a nonstandard directory <include dir>
  65445. + LT_SYS_LIBRARY_PATH
  65446. + User-defined run-time library search path.
  65447. CPP C preprocessor
  65448.  
  65449. Use these variables to override the choices made by `configure' or to help
  65450. @@ -1590,10 +1493,10 @@
  65451. test -n "$ac_init_help" && exit $ac_status
  65452. if $ac_init_version; then
  65453. cat <<\_ACEOF
  65454. -configure
  65455. -generated by GNU Autoconf 2.68
  65456. +fiasco configure 1.3
  65457. +generated by GNU Autoconf 2.69
  65458.  
  65459. -Copyright (C) 2010 Free Software Foundation, Inc.
  65460. +Copyright (C) 2012 Free Software Foundation, Inc.
  65461. This configure script is free software; the Free Software Foundation
  65462. gives unlimited permission to copy, distribute and modify it.
  65463. _ACEOF
  65464. @@ -1669,7 +1572,7 @@
  65465. test ! -s conftest.err
  65466. } && test -s conftest$ac_exeext && {
  65467. test "$cross_compiling" = yes ||
  65468. - $as_test_x conftest$ac_exeext
  65469. + test -x conftest$ac_exeext
  65470. }; then :
  65471. ac_retval=0
  65472. else
  65473. @@ -1882,7 +1785,8 @@
  65474. main ()
  65475. {
  65476. static int test_array [1 - 2 * !(($2) >= 0)];
  65477. -test_array [0] = 0
  65478. +test_array [0] = 0;
  65479. +return test_array [0];
  65480.  
  65481. ;
  65482. return 0;
  65483. @@ -1898,7 +1802,8 @@
  65484. main ()
  65485. {
  65486. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  65487. -test_array [0] = 0
  65488. +test_array [0] = 0;
  65489. +return test_array [0];
  65490.  
  65491. ;
  65492. return 0;
  65493. @@ -1924,7 +1829,8 @@
  65494. main ()
  65495. {
  65496. static int test_array [1 - 2 * !(($2) < 0)];
  65497. -test_array [0] = 0
  65498. +test_array [0] = 0;
  65499. +return test_array [0];
  65500.  
  65501. ;
  65502. return 0;
  65503. @@ -1940,7 +1846,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. @@ -1974,7 +1881,8 @@
  65514. main ()
  65515. {
  65516. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  65517. -test_array [0] = 0
  65518. +test_array [0] = 0;
  65519. +return test_array [0];
  65520.  
  65521. ;
  65522. return 0;
  65523. @@ -2187,8 +2095,8 @@
  65524. This file contains any messages produced by compilers while
  65525. running configure, to aid debugging if configure makes a mistake.
  65526.  
  65527. -It was created by $as_me, which was
  65528. -generated by GNU Autoconf 2.68. Invocation command line was
  65529. +It was created by fiasco $as_me 1.3, which was
  65530. +generated by GNU Autoconf 2.69. Invocation command line was
  65531.  
  65532. $ $0 $@
  65533.  
  65534. @@ -2536,7 +2444,7 @@
  65535.  
  65536.  
  65537.  
  65538. -am__api_version='1.11'
  65539. +am__api_version='1.16'
  65540.  
  65541. ac_aux_dir=
  65542. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  65543. @@ -2604,7 +2512,7 @@
  65544. # by default.
  65545. for ac_prog in ginstall scoinst install; do
  65546. for ac_exec_ext in '' $ac_executable_extensions; do
  65547. - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  65548. + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  65549. if test $ac_prog = install &&
  65550. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  65551. # AIX install. It has an incompatible calling convention.
  65552. @@ -2662,9 +2570,6 @@
  65553.  
  65554. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  65555. $as_echo_n "checking whether build environment is sane... " >&6; }
  65556. -# Just in case
  65557. -sleep 1
  65558. -echo timestamp > conftest.file
  65559. # Reject unsafe characters in $srcdir or the absolute working directory
  65560. # name. Accept space and tab only in the latter.
  65561. am_lf='
  65562. @@ -2675,32 +2580,40 @@
  65563. esac
  65564. case $srcdir in
  65565. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  65566. - as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  65567. + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  65568. esac
  65569.  
  65570. -# Do `set' in a subshell so we don't clobber the current shell's
  65571. +# Do 'set' in a subshell so we don't clobber the current shell's
  65572. # arguments. Must try -L first in case configure is actually a
  65573. # symlink; some systems play weird games with the mod time of symlinks
  65574. # (eg FreeBSD returns the mod time of the symlink's containing
  65575. # directory).
  65576. if (
  65577. - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  65578. - if test "$*" = "X"; then
  65579. - # -L didn't work.
  65580. - set X `ls -t "$srcdir/configure" conftest.file`
  65581. - fi
  65582. - rm -f conftest.file
  65583. - if test "$*" != "X $srcdir/configure conftest.file" \
  65584. - && test "$*" != "X conftest.file $srcdir/configure"; then
  65585. -
  65586. - # If neither matched, then we have a broken ls. This can happen
  65587. - # if, for instance, CONFIG_SHELL is bash and it inherits a
  65588. - # broken ls alias from the environment. This has actually
  65589. - # happened. Such a system could not be considered "sane".
  65590. - as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  65591. -alias in your environment" "$LINENO" 5
  65592. - fi
  65593. + am_has_slept=no
  65594. + for am_try in 1 2; do
  65595. + echo "timestamp, slept: $am_has_slept" > conftest.file
  65596. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  65597. + if test "$*" = "X"; then
  65598. + # -L didn't work.
  65599. + set X `ls -t "$srcdir/configure" conftest.file`
  65600. + fi
  65601. + if test "$*" != "X $srcdir/configure conftest.file" \
  65602. + && test "$*" != "X conftest.file $srcdir/configure"; then
  65603.  
  65604. + # If neither matched, then we have a broken ls. This can happen
  65605. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  65606. + # broken ls alias from the environment. This has actually
  65607. + # happened. Such a system could not be considered "sane".
  65608. + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  65609. + alias in your environment" "$LINENO" 5
  65610. + fi
  65611. + if test "$2" = conftest.file || test $am_try -eq 2; then
  65612. + break
  65613. + fi
  65614. + # Just in case.
  65615. + sleep 1
  65616. + am_has_slept=yes
  65617. + done
  65618. test "$2" = conftest.file
  65619. )
  65620. then
  65621. @@ -2712,6 +2625,16 @@
  65622. fi
  65623. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  65624. $as_echo "yes" >&6; }
  65625. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  65626. +# generated files are strictly newer.
  65627. +am_sleep_pid=
  65628. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  65629. + ( sleep 1 ) &
  65630. + am_sleep_pid=$!
  65631. +fi
  65632. +
  65633. +rm -f conftest.file
  65634. +
  65635. test "$program_prefix" != NONE &&
  65636. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  65637. # Use a double $ so make ignores it.
  65638. @@ -2722,8 +2645,8 @@
  65639. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  65640. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  65641.  
  65642. -# expand $ac_aux_dir to an absolute path
  65643. -am_aux_dir=`cd $ac_aux_dir && pwd`
  65644. +# Expand $ac_aux_dir to an absolute path.
  65645. +am_aux_dir=`cd "$ac_aux_dir" && pwd`
  65646.  
  65647. if test x"${MISSING+set}" != xset; then
  65648. case $am_aux_dir in
  65649. @@ -2734,15 +2657,15 @@
  65650. esac
  65651. fi
  65652. # Use eval to expand $SHELL
  65653. -if eval "$MISSING --run true"; then
  65654. - am_missing_run="$MISSING --run "
  65655. +if eval "$MISSING --is-lightweight"; then
  65656. + am_missing_run="$MISSING "
  65657. else
  65658. am_missing_run=
  65659. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  65660. -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  65661. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  65662. +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  65663. fi
  65664.  
  65665. -if test x"${install_sh}" != xset; then
  65666. +if test x"${install_sh+set}" != xset; then
  65667. case $am_aux_dir in
  65668. *\ * | *\ *)
  65669. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  65670. @@ -2751,10 +2674,10 @@
  65671. esac
  65672. fi
  65673.  
  65674. -# Installed binaries are usually stripped using `strip' when the user
  65675. -# run `make install-strip'. However `strip' might not be the right
  65676. +# Installed binaries are usually stripped using 'strip' when the user
  65677. +# run "make install-strip". However 'strip' might not be the right
  65678. # tool to use in cross-compilation environments, therefore Automake
  65679. -# will honor the `STRIP' environment variable to overrule this program.
  65680. +# will honor the 'STRIP' environment variable to overrule this program.
  65681. if test "$cross_compiling" != no; then
  65682. if test -n "$ac_tool_prefix"; then
  65683. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  65684. @@ -2773,7 +2696,7 @@
  65685. IFS=$as_save_IFS
  65686. test -z "$as_dir" && as_dir=.
  65687. for ac_exec_ext in '' $ac_executable_extensions; do
  65688. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  65689. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  65690. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  65691. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  65692. break 2
  65693. @@ -2813,7 +2736,7 @@
  65694. IFS=$as_save_IFS
  65695. test -z "$as_dir" && as_dir=.
  65696. for ac_exec_ext in '' $ac_executable_extensions; do
  65697. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  65698. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  65699. ac_cv_prog_ac_ct_STRIP="strip"
  65700. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  65701. break 2
  65702. @@ -2864,7 +2787,7 @@
  65703. test -z "$as_dir" && as_dir=.
  65704. for ac_prog in mkdir gmkdir; do
  65705. for ac_exec_ext in '' $ac_executable_extensions; do
  65706. - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  65707. + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  65708. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  65709. 'mkdir (GNU coreutils) '* | \
  65710. 'mkdir (coreutils) '* | \
  65711. @@ -2893,12 +2816,6 @@
  65712. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  65713. $as_echo "$MKDIR_P" >&6; }
  65714.  
  65715. -mkdir_p="$MKDIR_P"
  65716. -case $mkdir_p in
  65717. - [\\/$]* | ?:[\\/]*) ;;
  65718. - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  65719. -esac
  65720. -
  65721. for ac_prog in gawk mawk nawk awk
  65722. do
  65723. # Extract the first word of "$ac_prog", so it can be a program name with args.
  65724. @@ -2917,7 +2834,7 @@
  65725. IFS=$as_save_IFS
  65726. test -z "$as_dir" && as_dir=.
  65727. for ac_exec_ext in '' $ac_executable_extensions; do
  65728. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  65729. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  65730. ac_cv_prog_AWK="$ac_prog"
  65731. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  65732. break 2
  65733. @@ -2981,6 +2898,45 @@
  65734. fi
  65735. rmdir .tst 2>/dev/null
  65736.  
  65737. +# Check whether --enable-silent-rules was given.
  65738. +if test "${enable_silent_rules+set}" = set; then :
  65739. + enableval=$enable_silent_rules;
  65740. +fi
  65741. +
  65742. +case $enable_silent_rules in # (((
  65743. + yes) AM_DEFAULT_VERBOSITY=0;;
  65744. + no) AM_DEFAULT_VERBOSITY=1;;
  65745. + *) AM_DEFAULT_VERBOSITY=1;;
  65746. +esac
  65747. +am_make=${MAKE-make}
  65748. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  65749. +$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  65750. +if ${am_cv_make_support_nested_variables+:} false; then :
  65751. + $as_echo_n "(cached) " >&6
  65752. +else
  65753. + if $as_echo 'TRUE=$(BAR$(V))
  65754. +BAR0=false
  65755. +BAR1=true
  65756. +V=1
  65757. +am__doit:
  65758. + @$(TRUE)
  65759. +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  65760. + am_cv_make_support_nested_variables=yes
  65761. +else
  65762. + am_cv_make_support_nested_variables=no
  65763. +fi
  65764. +fi
  65765. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  65766. +$as_echo "$am_cv_make_support_nested_variables" >&6; }
  65767. +if test $am_cv_make_support_nested_variables = yes; then
  65768. + AM_V='$(V)'
  65769. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  65770. +else
  65771. + AM_V=$AM_DEFAULT_VERBOSITY
  65772. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  65773. +fi
  65774. +AM_BACKSLASH='\'
  65775. +
  65776. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  65777. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  65778. # is not polluted with repeated "-I."
  65779. @@ -3002,8 +2958,8 @@
  65780.  
  65781.  
  65782. # Define the identity of the package.
  65783. - PACKAGE=fiasco
  65784. - VERSION=1.3
  65785. + PACKAGE='fiasco'
  65786. + VERSION='1.3'
  65787.  
  65788.  
  65789. cat >>confdefs.h <<_ACEOF
  65790. @@ -3031,17 +2987,70 @@
  65791.  
  65792. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  65793.  
  65794. -# We need awk for the "check" target. The system "awk" is bad on
  65795. -# some platforms.
  65796. -# Always define AMTAR for backward compatibility.
  65797. +# For better backward compatibility. To be removed once Automake 1.9.x
  65798. +# dies out for good. For more background, see:
  65799. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  65800. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  65801. +mkdir_p='$(MKDIR_P)'
  65802. +
  65803. +# We need awk for the "check" target (and possibly the TAP driver). The
  65804. +# system "awk" is bad on some platforms.
  65805. +# Always define AMTAR for backward compatibility. Yes, it's still used
  65806. +# in the wild :-( We should find a proper way to deprecate it ...
  65807. +AMTAR='$${TAR-tar}'
  65808. +
  65809. +
  65810. +# We'll loop over all known methods to create a tar archive until one works.
  65811. +_am_tools='gnutar pax cpio none'
  65812. +
  65813. +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  65814.  
  65815. -AMTAR=${AMTAR-"${am_missing_run}tar"}
  65816.  
  65817. -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  65818.  
  65819.  
  65820.  
  65821.  
  65822. +# POSIX will say in a future version that running "rm -f" with no argument
  65823. +# is OK; and we want to be able to make that assumption in our Makefile
  65824. +# recipes. So use an aggressive probe to check that the usage we want is
  65825. +# actually supported "in the wild" to an acceptable degree.
  65826. +# See automake bug#10828.
  65827. +# To make any issue more visible, cause the running configure to be aborted
  65828. +# by default if the 'rm' program in use doesn't match our expectations; the
  65829. +# user can still override this though.
  65830. +if rm -f && rm -fr && rm -rf; then : OK; else
  65831. + cat >&2 <<'END'
  65832. +Oops!
  65833. +
  65834. +Your 'rm' program seems unable to run without file operands specified
  65835. +on the command line, even when the '-f' option is present. This is contrary
  65836. +to the behaviour of most rm programs out there, and not conforming with
  65837. +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  65838. +
  65839. +Please tell bug-automake@gnu.org about your system, including the value
  65840. +of your $PATH and any error possibly output before this message. This
  65841. +can help us improve future automake versions.
  65842. +
  65843. +END
  65844. + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  65845. + echo 'Configuration will proceed anyway, since you have set the' >&2
  65846. + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  65847. + echo >&2
  65848. + else
  65849. + cat >&2 <<'END'
  65850. +Aborting the configuration process, to ensure you take notice of the issue.
  65851. +
  65852. +You can download and install GNU coreutils to get an 'rm' implementation
  65853. +that behaves properly: <https://www.gnu.org/software/coreutils/>.
  65854. +
  65855. +If you want to complete the configuration process using your problematic
  65856. +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  65857. +to "yes", and re-run configure.
  65858. +
  65859. +END
  65860. + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  65861. + fi
  65862. +fi
  65863.  
  65864. ac_config_headers="$ac_config_headers config.h"
  65865.  
  65866. @@ -3055,8 +3064,8 @@
  65867.  
  65868.  
  65869.  
  65870. -macro_version='2.2.6b'
  65871. -macro_revision='1.3017'
  65872. +macro_version='2.4.6'
  65873. +macro_revision='2.4.6'
  65874.  
  65875.  
  65876.  
  65877. @@ -3070,7 +3079,7 @@
  65878.  
  65879.  
  65880.  
  65881. -ltmain="$ac_aux_dir/ltmain.sh"
  65882. +ltmain=$ac_aux_dir/ltmain.sh
  65883.  
  65884. # Make sure we can run config.sub.
  65885. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  65886. @@ -3143,49 +3152,118 @@
  65887. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  65888.  
  65889.  
  65890. +# Backslashify metacharacters that are still active within
  65891. +# double-quoted strings.
  65892. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  65893. +
  65894. +# Same as above, but do not quote variable references.
  65895. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  65896. +
  65897. +# Sed substitution to delay expansion of an escaped shell variable in a
  65898. +# double_quote_subst'ed string.
  65899. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  65900. +
  65901. +# Sed substitution to delay expansion of an escaped single quote.
  65902. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  65903. +
  65904. +# Sed substitution to avoid accidental globbing in evaled expressions
  65905. +no_glob_subst='s/\*/\\\*/g'
  65906. +
  65907. +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  65908. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  65909. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  65910. +
  65911. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  65912. +$as_echo_n "checking how to print strings... " >&6; }
  65913. +# Test print first, because it will be a builtin if present.
  65914. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  65915. + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  65916. + ECHO='print -r --'
  65917. +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  65918. + ECHO='printf %s\n'
  65919. +else
  65920. + # Use this function as a fallback that always works.
  65921. + func_fallback_echo ()
  65922. + {
  65923. + eval 'cat <<_LTECHO_EOF
  65924. +$1
  65925. +_LTECHO_EOF'
  65926. + }
  65927. + ECHO='func_fallback_echo'
  65928. +fi
  65929. +
  65930. +# func_echo_all arg...
  65931. +# Invoke $ECHO with all args, space-separated.
  65932. +func_echo_all ()
  65933. +{
  65934. + $ECHO ""
  65935. +}
  65936. +
  65937. +case $ECHO in
  65938. + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  65939. +$as_echo "printf" >&6; } ;;
  65940. + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  65941. +$as_echo "print -r" >&6; } ;;
  65942. + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  65943. +$as_echo "cat" >&6; } ;;
  65944. +esac
  65945. +
  65946. +
  65947. +
  65948. +
  65949. +
  65950. +
  65951. +
  65952. +
  65953. +
  65954. +
  65955. +
  65956. +
  65957. +
  65958. +
  65959. DEPDIR="${am__leading_dot}deps"
  65960.  
  65961. ac_config_commands="$ac_config_commands depfiles"
  65962.  
  65963. -
  65964. -am_make=${MAKE-make}
  65965. -cat > confinc << 'END'
  65966. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
  65967. +$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
  65968. +cat > confinc.mk << 'END'
  65969. am__doit:
  65970. - @echo this is the am__doit target
  65971. + @echo this is the am__doit target >confinc.out
  65972. .PHONY: am__doit
  65973. END
  65974. -# If we don't find an include directive, just comment out the code.
  65975. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  65976. -$as_echo_n "checking for style of include used by $am_make... " >&6; }
  65977. am__include="#"
  65978. am__quote=
  65979. -_am_result=none
  65980. -# First try GNU make style include.
  65981. -echo "include confinc" > confmf
  65982. -# Ignore all kinds of additional output from `make'.
  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=GNU
  65988. - ;;
  65989. -esac
  65990. -# Now try BSD make style include.
  65991. -if test "$am__include" = "#"; then
  65992. - echo '.include "confinc"' > confmf
  65993. - case `$am_make -s -f confmf 2> /dev/null` in #(
  65994. - *the\ am__doit\ target*)
  65995. - am__include=.include
  65996. - am__quote="\""
  65997. - _am_result=BSD
  65998. +# BSD make does it like this.
  65999. +echo '.include "confinc.mk" # ignored' > confmf.BSD
  66000. +# Other make implementations (GNU, Solaris 10, AIX) do it like this.
  66001. +echo 'include confinc.mk # ignored' > confmf.GNU
  66002. +_am_result=no
  66003. +for s in GNU BSD; do
  66004. + { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
  66005. + (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
  66006. + ac_status=$?
  66007. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  66008. + (exit $ac_status); }
  66009. + case $?:`cat confinc.out 2>/dev/null` in #(
  66010. + '0:this is the am__doit target') :
  66011. + case $s in #(
  66012. + BSD) :
  66013. + am__include='.include' am__quote='"' ;; #(
  66014. + *) :
  66015. + am__include='include' am__quote='' ;;
  66016. +esac ;; #(
  66017. + *) :
  66018. ;;
  66019. - esac
  66020. -fi
  66021. -
  66022. -
  66023. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  66024. -$as_echo "$_am_result" >&6; }
  66025. -rm -f confinc confmf
  66026. +esac
  66027. + if test "$am__include" != "#"; then
  66028. + _am_result="yes ($s style)"
  66029. + break
  66030. + fi
  66031. +done
  66032. +rm -f confinc.* confmf.*
  66033. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
  66034. +$as_echo "${_am_result}" >&6; }
  66035.  
  66036. # Check whether --enable-dependency-tracking was given.
  66037. if test "${enable_dependency_tracking+set}" = set; then :
  66038. @@ -3195,6 +3273,7 @@
  66039. if test "x$enable_dependency_tracking" != xno; then
  66040. am_depcomp="$ac_aux_dir/depcomp"
  66041. AMDEPBACKSLASH='\'
  66042. + am__nodep='_no'
  66043. fi
  66044. if test "x$enable_dependency_tracking" != xno; then
  66045. AMDEP_TRUE=
  66046. @@ -3227,7 +3306,7 @@
  66047. IFS=$as_save_IFS
  66048. test -z "$as_dir" && as_dir=.
  66049. for ac_exec_ext in '' $ac_executable_extensions; do
  66050. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66051. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66052. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  66053. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66054. break 2
  66055. @@ -3267,7 +3346,7 @@
  66056. IFS=$as_save_IFS
  66057. test -z "$as_dir" && as_dir=.
  66058. for ac_exec_ext in '' $ac_executable_extensions; do
  66059. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66060. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66061. ac_cv_prog_ac_ct_CC="gcc"
  66062. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66063. break 2
  66064. @@ -3320,7 +3399,7 @@
  66065. IFS=$as_save_IFS
  66066. test -z "$as_dir" && as_dir=.
  66067. for ac_exec_ext in '' $ac_executable_extensions; do
  66068. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66069. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66070. ac_cv_prog_CC="${ac_tool_prefix}cc"
  66071. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66072. break 2
  66073. @@ -3361,7 +3440,7 @@
  66074. IFS=$as_save_IFS
  66075. test -z "$as_dir" && as_dir=.
  66076. for ac_exec_ext in '' $ac_executable_extensions; do
  66077. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66078. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66079. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  66080. ac_prog_rejected=yes
  66081. continue
  66082. @@ -3419,7 +3498,7 @@
  66083. IFS=$as_save_IFS
  66084. test -z "$as_dir" && as_dir=.
  66085. for ac_exec_ext in '' $ac_executable_extensions; do
  66086. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66087. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66088. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  66089. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66090. break 2
  66091. @@ -3463,7 +3542,7 @@
  66092. IFS=$as_save_IFS
  66093. test -z "$as_dir" && as_dir=.
  66094. for ac_exec_ext in '' $ac_executable_extensions; do
  66095. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66096. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66097. ac_cv_prog_ac_ct_CC="$ac_prog"
  66098. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66099. break 2
  66100. @@ -3909,8 +3988,7 @@
  66101. /* end confdefs.h. */
  66102. #include <stdarg.h>
  66103. #include <stdio.h>
  66104. -#include <sys/types.h>
  66105. -#include <sys/stat.h>
  66106. +struct stat;
  66107. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  66108. struct buf { int x; };
  66109. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  66110. @@ -3995,6 +4073,65 @@
  66111. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  66112. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  66113.  
  66114. +ac_ext=c
  66115. +ac_cpp='$CPP $CPPFLAGS'
  66116. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  66117. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  66118. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  66119. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  66120. +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  66121. +if ${am_cv_prog_cc_c_o+:} false; then :
  66122. + $as_echo_n "(cached) " >&6
  66123. +else
  66124. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  66125. +/* end confdefs.h. */
  66126. +
  66127. +int
  66128. +main ()
  66129. +{
  66130. +
  66131. + ;
  66132. + return 0;
  66133. +}
  66134. +_ACEOF
  66135. + # Make sure it works both with $CC and with simple cc.
  66136. + # Following AC_PROG_CC_C_O, we do the test twice because some
  66137. + # compilers refuse to overwrite an existing .o file with -o,
  66138. + # though they will create one.
  66139. + am_cv_prog_cc_c_o=yes
  66140. + for am_i in 1 2; do
  66141. + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  66142. + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  66143. + ac_status=$?
  66144. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  66145. + (exit $ac_status); } \
  66146. + && test -f conftest2.$ac_objext; then
  66147. + : OK
  66148. + else
  66149. + am_cv_prog_cc_c_o=no
  66150. + break
  66151. + fi
  66152. + done
  66153. + rm -f core conftest*
  66154. + unset am_i
  66155. +fi
  66156. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  66157. +$as_echo "$am_cv_prog_cc_c_o" >&6; }
  66158. +if test "$am_cv_prog_cc_c_o" != yes; then
  66159. + # Losing compiler, so override with the script.
  66160. + # FIXME: It is wrong to rewrite CC.
  66161. + # But if we don't then we get into trouble of one sort or another.
  66162. + # A longer-term fix would be to have automake use am__CC in this case,
  66163. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  66164. + CC="$am_aux_dir/compile $CC"
  66165. +fi
  66166. +ac_ext=c
  66167. +ac_cpp='$CPP $CPPFLAGS'
  66168. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  66169. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  66170. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  66171. +
  66172. +
  66173. depcc="$CC" am_compiler_list=
  66174.  
  66175. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  66176. @@ -4006,8 +4143,9 @@
  66177. # We make a subdir and do the tests there. Otherwise we can end up
  66178. # making bogus files that we don't know about and never remove. For
  66179. # instance it was reported that on HP-UX the gcc test will end up
  66180. - # making a dummy file named `D' -- because `-MD' means `put the output
  66181. - # in D'.
  66182. + # making a dummy file named 'D' -- because '-MD' means "put the output
  66183. + # in D".
  66184. + rm -rf conftest.dir
  66185. mkdir conftest.dir
  66186. # Copy depcomp to subdir because otherwise we won't find it if we're
  66187. # using a relative directory.
  66188. @@ -4041,16 +4179,16 @@
  66189. : > sub/conftest.c
  66190. for i in 1 2 3 4 5 6; do
  66191. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  66192. - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  66193. - # Solaris 8's {/usr,}/bin/sh.
  66194. - touch sub/conftst$i.h
  66195. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  66196. + # Solaris 10 /bin/sh.
  66197. + echo '/* dummy */' > sub/conftst$i.h
  66198. done
  66199. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  66200.  
  66201. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  66202. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  66203. # mode. It turns out that the SunPro C++ compiler does not properly
  66204. - # handle `-M -o', and we need to detect this. Also, some Intel
  66205. - # versions had trouble with output in subdirs
  66206. + # handle '-M -o', and we need to detect this. Also, some Intel
  66207. + # versions had trouble with output in subdirs.
  66208. am__obj=sub/conftest.${OBJEXT-o}
  66209. am__minus_obj="-o $am__obj"
  66210. case $depmode in
  66211. @@ -4059,16 +4197,16 @@
  66212. test "$am__universal" = false || continue
  66213. ;;
  66214. nosideeffect)
  66215. - # after this tag, mechanisms are not by side-effect, so they'll
  66216. - # only be used when explicitly requested
  66217. + # After this tag, mechanisms are not by side-effect, so they'll
  66218. + # only be used when explicitly requested.
  66219. if test "x$enable_dependency_tracking" = xyes; then
  66220. continue
  66221. else
  66222. break
  66223. fi
  66224. ;;
  66225. - msvisualcpp | msvcmsys)
  66226. - # This compiler won't grok `-c -o', but also, the minuso test has
  66227. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  66228. + # This compiler won't grok '-c -o', but also, the minuso test has
  66229. # not run yet. These depmodes are late enough in the game, and
  66230. # so weak that their functioning should not be impacted.
  66231. am__obj=conftest.${OBJEXT-o}
  66232. @@ -4144,7 +4282,7 @@
  66233. for ac_prog in sed gsed; do
  66234. for ac_exec_ext in '' $ac_executable_extensions; do
  66235. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  66236. - { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  66237. + as_fn_executable_p "$ac_path_SED" || continue
  66238. # Check for GNU ac_path_SED and select it if it is found.
  66239. # Check for GNU $ac_path_SED
  66240. case `"$ac_path_SED" --version 2>&1` in
  66241. @@ -4220,7 +4358,7 @@
  66242. for ac_prog in grep ggrep; do
  66243. for ac_exec_ext in '' $ac_executable_extensions; do
  66244. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  66245. - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  66246. + as_fn_executable_p "$ac_path_GREP" || continue
  66247. # Check for GNU ac_path_GREP and select it if it is found.
  66248. # Check for GNU $ac_path_GREP
  66249. case `"$ac_path_GREP" --version 2>&1` in
  66250. @@ -4286,7 +4424,7 @@
  66251. for ac_prog in egrep; do
  66252. for ac_exec_ext in '' $ac_executable_extensions; do
  66253. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  66254. - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  66255. + as_fn_executable_p "$ac_path_EGREP" || continue
  66256. # Check for GNU ac_path_EGREP and select it if it is found.
  66257. # Check for GNU $ac_path_EGREP
  66258. case `"$ac_path_EGREP" --version 2>&1` in
  66259. @@ -4353,7 +4491,7 @@
  66260. for ac_prog in fgrep; do
  66261. for ac_exec_ext in '' $ac_executable_extensions; do
  66262. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  66263. - { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  66264. + as_fn_executable_p "$ac_path_FGREP" || continue
  66265. # Check for GNU ac_path_FGREP and select it if it is found.
  66266. # Check for GNU $ac_path_FGREP
  66267. case `"$ac_path_FGREP" --version 2>&1` in
  66268. @@ -4423,19 +4561,19 @@
  66269.  
  66270. # Check whether --with-gnu-ld was given.
  66271. if test "${with_gnu_ld+set}" = set; then :
  66272. - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  66273. + withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
  66274. else
  66275. with_gnu_ld=no
  66276. fi
  66277.  
  66278. ac_prog=ld
  66279. -if test "$GCC" = yes; then
  66280. +if test yes = "$GCC"; then
  66281. # Check if gcc -print-prog-name=ld gives a path.
  66282. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  66283. $as_echo_n "checking for ld used by $CC... " >&6; }
  66284. case $host in
  66285. *-*-mingw*)
  66286. - # gcc leaves a trailing carriage return which upsets mingw
  66287. + # gcc leaves a trailing carriage return, which upsets mingw
  66288. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  66289. *)
  66290. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  66291. @@ -4449,7 +4587,7 @@
  66292. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  66293. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  66294. done
  66295. - test -z "$LD" && LD="$ac_prog"
  66296. + test -z "$LD" && LD=$ac_prog
  66297. ;;
  66298. "")
  66299. # If it fails, then pretend we aren't using GCC.
  66300. @@ -4460,7 +4598,7 @@
  66301. with_gnu_ld=unknown
  66302. ;;
  66303. esac
  66304. -elif test "$with_gnu_ld" = yes; then
  66305. +elif test yes = "$with_gnu_ld"; then
  66306. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  66307. $as_echo_n "checking for GNU ld... " >&6; }
  66308. else
  66309. @@ -4471,32 +4609,32 @@
  66310. $as_echo_n "(cached) " >&6
  66311. else
  66312. if test -z "$LD"; then
  66313. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  66314. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  66315. for ac_dir in $PATH; do
  66316. - IFS="$lt_save_ifs"
  66317. + IFS=$lt_save_ifs
  66318. test -z "$ac_dir" && ac_dir=.
  66319. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  66320. - lt_cv_path_LD="$ac_dir/$ac_prog"
  66321. + lt_cv_path_LD=$ac_dir/$ac_prog
  66322. # Check to see if the program is GNU ld. I'd rather use --version,
  66323. # but apparently some variants of GNU ld only accept -v.
  66324. # Break only if it was the GNU/non-GNU ld that we prefer.
  66325. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  66326. *GNU* | *'with BFD'*)
  66327. - test "$with_gnu_ld" != no && break
  66328. + test no != "$with_gnu_ld" && break
  66329. ;;
  66330. *)
  66331. - test "$with_gnu_ld" != yes && break
  66332. + test yes != "$with_gnu_ld" && break
  66333. ;;
  66334. esac
  66335. fi
  66336. done
  66337. - IFS="$lt_save_ifs"
  66338. + IFS=$lt_save_ifs
  66339. else
  66340. - lt_cv_path_LD="$LD" # Let the user override the test with a path.
  66341. + lt_cv_path_LD=$LD # Let the user override the test with a path.
  66342. fi
  66343. fi
  66344.  
  66345. -LD="$lt_cv_path_LD"
  66346. +LD=$lt_cv_path_LD
  66347. if test -n "$LD"; then
  66348. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  66349. $as_echo "$LD" >&6; }
  66350. @@ -4539,33 +4677,38 @@
  66351. else
  66352. if test -n "$NM"; then
  66353. # Let the user override the test.
  66354. - lt_cv_path_NM="$NM"
  66355. + lt_cv_path_NM=$NM
  66356. else
  66357. - lt_nm_to_check="${ac_tool_prefix}nm"
  66358. + lt_nm_to_check=${ac_tool_prefix}nm
  66359. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  66360. lt_nm_to_check="$lt_nm_to_check nm"
  66361. fi
  66362. for lt_tmp_nm in $lt_nm_to_check; do
  66363. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  66364. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  66365. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  66366. - IFS="$lt_save_ifs"
  66367. + IFS=$lt_save_ifs
  66368. test -z "$ac_dir" && ac_dir=.
  66369. - tmp_nm="$ac_dir/$lt_tmp_nm"
  66370. - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  66371. + tmp_nm=$ac_dir/$lt_tmp_nm
  66372. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
  66373. # Check to see if the nm accepts a BSD-compat flag.
  66374. - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  66375. + # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
  66376. # nm: unknown option "B" ignored
  66377. # Tru64's nm complains that /dev/null is an invalid object file
  66378. - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  66379. - */dev/null* | *'Invalid file or object type'*)
  66380. + # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
  66381. + case $build_os in
  66382. + mingw*) lt_bad_file=conftest.nm/nofile ;;
  66383. + *) lt_bad_file=/dev/null ;;
  66384. + esac
  66385. + case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
  66386. + *$lt_bad_file* | *'Invalid file or object type'*)
  66387. lt_cv_path_NM="$tmp_nm -B"
  66388. - break
  66389. + break 2
  66390. ;;
  66391. *)
  66392. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  66393. */dev/null*)
  66394. lt_cv_path_NM="$tmp_nm -p"
  66395. - break
  66396. + break 2
  66397. ;;
  66398. *)
  66399. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  66400. @@ -4576,19 +4719,22 @@
  66401. esac
  66402. fi
  66403. done
  66404. - IFS="$lt_save_ifs"
  66405. + IFS=$lt_save_ifs
  66406. done
  66407. : ${lt_cv_path_NM=no}
  66408. fi
  66409. fi
  66410. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  66411. $as_echo "$lt_cv_path_NM" >&6; }
  66412. -if test "$lt_cv_path_NM" != "no"; then
  66413. - NM="$lt_cv_path_NM"
  66414. +if test no != "$lt_cv_path_NM"; then
  66415. + NM=$lt_cv_path_NM
  66416. else
  66417. # Didn't find any BSD compatible name lister, look for dumpbin.
  66418. - if test -n "$ac_tool_prefix"; then
  66419. - for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  66420. + if test -n "$DUMPBIN"; then :
  66421. + # Let the user override the test.
  66422. + else
  66423. + if test -n "$ac_tool_prefix"; then
  66424. + for ac_prog in dumpbin "link -dump"
  66425. do
  66426. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  66427. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  66428. @@ -4606,7 +4752,7 @@
  66429. IFS=$as_save_IFS
  66430. test -z "$as_dir" && as_dir=.
  66431. for ac_exec_ext in '' $ac_executable_extensions; do
  66432. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66433. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66434. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  66435. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66436. break 2
  66437. @@ -4632,7 +4778,7 @@
  66438. fi
  66439. if test -z "$DUMPBIN"; then
  66440. ac_ct_DUMPBIN=$DUMPBIN
  66441. - for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  66442. + for ac_prog in dumpbin "link -dump"
  66443. do
  66444. # Extract the first word of "$ac_prog", so it can be a program name with args.
  66445. set dummy $ac_prog; ac_word=$2
  66446. @@ -4650,7 +4796,7 @@
  66447. IFS=$as_save_IFS
  66448. test -z "$as_dir" && as_dir=.
  66449. for ac_exec_ext in '' $ac_executable_extensions; do
  66450. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66451. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66452. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  66453. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66454. break 2
  66455. @@ -4687,9 +4833,18 @@
  66456. fi
  66457. fi
  66458.  
  66459. + case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
  66460. + *COFF*)
  66461. + DUMPBIN="$DUMPBIN -symbols -headers"
  66462. + ;;
  66463. + *)
  66464. + DUMPBIN=:
  66465. + ;;
  66466. + esac
  66467. + fi
  66468.  
  66469. - if test "$DUMPBIN" != ":"; then
  66470. - NM="$DUMPBIN"
  66471. + if test : != "$DUMPBIN"; then
  66472. + NM=$DUMPBIN
  66473. fi
  66474. fi
  66475. test -z "$NM" && NM=nm
  66476. @@ -4706,13 +4861,13 @@
  66477. else
  66478. lt_cv_nm_interface="BSD nm"
  66479. echo "int some_variable = 0;" > conftest.$ac_ext
  66480. - (eval echo "\"\$as_me:4709: $ac_compile\"" >&5)
  66481. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  66482. (eval "$ac_compile" 2>conftest.err)
  66483. cat conftest.err >&5
  66484. - (eval echo "\"\$as_me:4712: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  66485. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  66486. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  66487. cat conftest.err >&5
  66488. - (eval echo "\"\$as_me:4715: output\"" >&5)
  66489. + (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  66490. cat conftest.out >&5
  66491. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  66492. lt_cv_nm_interface="MS dumpbin"
  66493. @@ -4740,7 +4895,7 @@
  66494. $as_echo_n "(cached) " >&6
  66495. else
  66496. i=0
  66497. - teststring="ABCD"
  66498. + teststring=ABCD
  66499.  
  66500. case $build_os in
  66501. msdosdjgpp*)
  66502. @@ -4769,13 +4924,18 @@
  66503. lt_cv_sys_max_cmd_len=8192;
  66504. ;;
  66505.  
  66506. + mint*)
  66507. + # On MiNT this can take a long time and run out of memory.
  66508. + lt_cv_sys_max_cmd_len=8192;
  66509. + ;;
  66510. +
  66511. amigaos*)
  66512. # On AmigaOS with pdksh, this test takes hours, literally.
  66513. # So we just punt and use a minimum line length of 8192.
  66514. lt_cv_sys_max_cmd_len=8192;
  66515. ;;
  66516.  
  66517. - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  66518. + bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
  66519. # This has been around since 386BSD, at least. Likely further.
  66520. if test -x /sbin/sysctl; then
  66521. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  66522. @@ -4794,6 +4954,11 @@
  66523. lt_cv_sys_max_cmd_len=196608
  66524. ;;
  66525.  
  66526. + os2*)
  66527. + # The test takes a long time on OS/2.
  66528. + lt_cv_sys_max_cmd_len=8192
  66529. + ;;
  66530. +
  66531. osf*)
  66532. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  66533. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  66534. @@ -4820,22 +4985,23 @@
  66535. ;;
  66536. *)
  66537. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  66538. - if test -n "$lt_cv_sys_max_cmd_len"; then
  66539. + if test -n "$lt_cv_sys_max_cmd_len" && \
  66540. + test undefined != "$lt_cv_sys_max_cmd_len"; then
  66541. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  66542. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  66543. else
  66544. # Make teststring a little bigger before we do anything with it.
  66545. # a 1K string should be a reasonable start.
  66546. - for i in 1 2 3 4 5 6 7 8 ; do
  66547. + for i in 1 2 3 4 5 6 7 8; do
  66548. teststring=$teststring$teststring
  66549. done
  66550. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  66551. # If test is not a shell built-in, we'll probably end up computing a
  66552. # maximum length that is only half of the actual maximum length, but
  66553. # we can't tell.
  66554. - while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  66555. - = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  66556. - test $i != 17 # 1/2 MB should be enough
  66557. + while { test X`env echo "$teststring$teststring" 2>/dev/null` \
  66558. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  66559. + test 17 != "$i" # 1/2 MB should be enough
  66560. do
  66561. i=`expr $i + 1`
  66562. teststring=$teststring$teststring
  66563. @@ -4853,7 +5019,7 @@
  66564.  
  66565. fi
  66566.  
  66567. -if test -n $lt_cv_sys_max_cmd_len ; then
  66568. +if test -n "$lt_cv_sys_max_cmd_len"; then
  66569. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  66570. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  66571. else
  66572. @@ -4871,30 +5037,6 @@
  66573. : ${MV="mv -f"}
  66574. : ${RM="rm -f"}
  66575.  
  66576. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  66577. -$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  66578. -# Try some XSI features
  66579. -xsi_shell=no
  66580. -( _lt_dummy="a/b/c"
  66581. - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  66582. - = c,a/b,, \
  66583. - && eval 'test $(( 1 + 1 )) -eq 2 \
  66584. - && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  66585. - && xsi_shell=yes
  66586. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  66587. -$as_echo "$xsi_shell" >&6; }
  66588. -
  66589. -
  66590. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  66591. -$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  66592. -lt_shell_append=no
  66593. -( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  66594. - >/dev/null 2>&1 \
  66595. - && lt_shell_append=yes
  66596. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  66597. -$as_echo "$lt_shell_append" >&6; }
  66598. -
  66599. -
  66600. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  66601. lt_unset=unset
  66602. else
  66603. @@ -4926,6 +5068,80 @@
  66604.  
  66605.  
  66606.  
  66607. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  66608. +$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  66609. +if ${lt_cv_to_host_file_cmd+:} false; then :
  66610. + $as_echo_n "(cached) " >&6
  66611. +else
  66612. + case $host in
  66613. + *-*-mingw* )
  66614. + case $build in
  66615. + *-*-mingw* ) # actually msys
  66616. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  66617. + ;;
  66618. + *-*-cygwin* )
  66619. + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  66620. + ;;
  66621. + * ) # otherwise, assume *nix
  66622. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  66623. + ;;
  66624. + esac
  66625. + ;;
  66626. + *-*-cygwin* )
  66627. + case $build in
  66628. + *-*-mingw* ) # actually msys
  66629. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  66630. + ;;
  66631. + *-*-cygwin* )
  66632. + lt_cv_to_host_file_cmd=func_convert_file_noop
  66633. + ;;
  66634. + * ) # otherwise, assume *nix
  66635. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  66636. + ;;
  66637. + esac
  66638. + ;;
  66639. + * ) # unhandled hosts (and "normal" native builds)
  66640. + lt_cv_to_host_file_cmd=func_convert_file_noop
  66641. + ;;
  66642. +esac
  66643. +
  66644. +fi
  66645. +
  66646. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  66647. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  66648. +$as_echo "$lt_cv_to_host_file_cmd" >&6; }
  66649. +
  66650. +
  66651. +
  66652. +
  66653. +
  66654. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  66655. +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  66656. +if ${lt_cv_to_tool_file_cmd+:} false; then :
  66657. + $as_echo_n "(cached) " >&6
  66658. +else
  66659. + #assume ordinary cross tools, or native build.
  66660. +lt_cv_to_tool_file_cmd=func_convert_file_noop
  66661. +case $host in
  66662. + *-*-mingw* )
  66663. + case $build in
  66664. + *-*-mingw* ) # actually msys
  66665. + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  66666. + ;;
  66667. + esac
  66668. + ;;
  66669. +esac
  66670. +
  66671. +fi
  66672. +
  66673. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  66674. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  66675. +$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  66676. +
  66677. +
  66678. +
  66679. +
  66680. +
  66681. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  66682. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  66683. if ${lt_cv_ld_reload_flag+:} false; then :
  66684. @@ -4942,9 +5158,14 @@
  66685. esac
  66686. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  66687. case $host_os in
  66688. + cygwin* | mingw* | pw32* | cegcc*)
  66689. + if test yes != "$GCC"; then
  66690. + reload_cmds=false
  66691. + fi
  66692. + ;;
  66693. darwin*)
  66694. - if test "$GCC" = yes; then
  66695. - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  66696. + if test yes = "$GCC"; then
  66697. + reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
  66698. else
  66699. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  66700. fi
  66701. @@ -4976,7 +5197,7 @@
  66702. IFS=$as_save_IFS
  66703. test -z "$as_dir" && as_dir=.
  66704. for ac_exec_ext in '' $ac_executable_extensions; do
  66705. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66706. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66707. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  66708. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66709. break 2
  66710. @@ -5016,7 +5237,7 @@
  66711. IFS=$as_save_IFS
  66712. test -z "$as_dir" && as_dir=.
  66713. for ac_exec_ext in '' $ac_executable_extensions; do
  66714. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66715. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66716. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  66717. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66718. break 2
  66719. @@ -5072,13 +5293,13 @@
  66720. # Need to set the preceding variable on all platforms that support
  66721. # interlibrary dependencies.
  66722. # 'none' -- dependencies not supported.
  66723. -# `unknown' -- same as none, but documents that we really don't know.
  66724. +# 'unknown' -- same as none, but documents that we really don't know.
  66725. # 'pass_all' -- all dependencies passed with no checks.
  66726. # 'test_compile' -- check by making test program.
  66727. # 'file_magic [[regex]]' -- check by looking for files in library path
  66728. -# which responds to the $file_magic_cmd with a given extended regex.
  66729. -# If you have `file' or equivalent on your system and you're not sure
  66730. -# whether `pass_all' will *always* work, you probably want this one.
  66731. +# that responds to the $file_magic_cmd with a given extended regex.
  66732. +# If you have 'file' or equivalent on your system and you're not sure
  66733. +# whether 'pass_all' will *always* work, you probably want this one.
  66734.  
  66735. case $host_os in
  66736. aix[4-9]*)
  66737. @@ -5109,12 +5330,13 @@
  66738. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  66739. lt_cv_file_magic_cmd='func_win32_libid'
  66740. else
  66741. - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  66742. + # Keep this pattern in sync with the one in func_win32_libid.
  66743. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  66744. lt_cv_file_magic_cmd='$OBJDUMP -f'
  66745. fi
  66746. ;;
  66747.  
  66748. -cegcc)
  66749. +cegcc*)
  66750. # use the weaker test based on 'objdump'. See mingw*.
  66751. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  66752. lt_cv_file_magic_cmd='$OBJDUMP -f'
  66753. @@ -5140,7 +5362,7 @@
  66754. fi
  66755. ;;
  66756.  
  66757. -gnu*)
  66758. +haiku*)
  66759. lt_cv_deplibs_check_method=pass_all
  66760. ;;
  66761.  
  66762. @@ -5152,11 +5374,11 @@
  66763. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  66764. ;;
  66765. hppa*64*)
  66766. - 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]'
  66767. + 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]'
  66768. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  66769. ;;
  66770. *)
  66771. - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  66772. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  66773. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  66774. ;;
  66775. esac
  66776. @@ -5177,12 +5399,12 @@
  66777. lt_cv_deplibs_check_method=pass_all
  66778. ;;
  66779.  
  66780. -# This must be Linux ELF.
  66781. -linux* | k*bsd*-gnu | kopensolaris*-gnu)
  66782. +# This must be glibc/ELF.
  66783. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  66784. lt_cv_deplibs_check_method=pass_all
  66785. ;;
  66786.  
  66787. -netbsd* | netbsdelf*-gnu)
  66788. +netbsd*)
  66789. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  66790. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  66791. else
  66792. @@ -5200,8 +5422,8 @@
  66793. lt_cv_deplibs_check_method=pass_all
  66794. ;;
  66795.  
  66796. -openbsd*)
  66797. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  66798. +openbsd* | bitrig*)
  66799. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  66800. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  66801. else
  66802. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  66803. @@ -5254,11 +5476,29 @@
  66804. tpf*)
  66805. lt_cv_deplibs_check_method=pass_all
  66806. ;;
  66807. +os2*)
  66808. + lt_cv_deplibs_check_method=pass_all
  66809. + ;;
  66810. esac
  66811.  
  66812. fi
  66813. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  66814. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  66815. +
  66816. +file_magic_glob=
  66817. +want_nocaseglob=no
  66818. +if test "$build" = "$host"; then
  66819. + case $host_os in
  66820. + mingw* | pw32*)
  66821. + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  66822. + want_nocaseglob=yes
  66823. + else
  66824. + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  66825. + fi
  66826. + ;;
  66827. + esac
  66828. +fi
  66829. +
  66830. file_magic_cmd=$lt_cv_file_magic_cmd
  66831. deplibs_check_method=$lt_cv_deplibs_check_method
  66832. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  66833. @@ -5274,9 +5514,163 @@
  66834.  
  66835.  
  66836.  
  66837. +
  66838. +
  66839. +
  66840. +
  66841. +
  66842. +
  66843. +
  66844. +
  66845. +
  66846. +
  66847. if test -n "$ac_tool_prefix"; then
  66848. - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  66849. -set dummy ${ac_tool_prefix}ar; ac_word=$2
  66850. + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  66851. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  66852. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  66853. +$as_echo_n "checking for $ac_word... " >&6; }
  66854. +if ${ac_cv_prog_DLLTOOL+:} false; then :
  66855. + $as_echo_n "(cached) " >&6
  66856. +else
  66857. + if test -n "$DLLTOOL"; then
  66858. + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  66859. +else
  66860. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  66861. +for as_dir in $PATH
  66862. +do
  66863. + IFS=$as_save_IFS
  66864. + test -z "$as_dir" && as_dir=.
  66865. + for ac_exec_ext in '' $ac_executable_extensions; do
  66866. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66867. + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  66868. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66869. + break 2
  66870. + fi
  66871. +done
  66872. + done
  66873. +IFS=$as_save_IFS
  66874. +
  66875. +fi
  66876. +fi
  66877. +DLLTOOL=$ac_cv_prog_DLLTOOL
  66878. +if test -n "$DLLTOOL"; then
  66879. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  66880. +$as_echo "$DLLTOOL" >&6; }
  66881. +else
  66882. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  66883. +$as_echo "no" >&6; }
  66884. +fi
  66885. +
  66886. +
  66887. +fi
  66888. +if test -z "$ac_cv_prog_DLLTOOL"; then
  66889. + ac_ct_DLLTOOL=$DLLTOOL
  66890. + # Extract the first word of "dlltool", so it can be a program name with args.
  66891. +set dummy dlltool; ac_word=$2
  66892. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  66893. +$as_echo_n "checking for $ac_word... " >&6; }
  66894. +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  66895. + $as_echo_n "(cached) " >&6
  66896. +else
  66897. + if test -n "$ac_ct_DLLTOOL"; then
  66898. + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  66899. +else
  66900. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  66901. +for as_dir in $PATH
  66902. +do
  66903. + IFS=$as_save_IFS
  66904. + test -z "$as_dir" && as_dir=.
  66905. + for ac_exec_ext in '' $ac_executable_extensions; do
  66906. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66907. + ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  66908. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66909. + break 2
  66910. + fi
  66911. +done
  66912. + done
  66913. +IFS=$as_save_IFS
  66914. +
  66915. +fi
  66916. +fi
  66917. +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  66918. +if test -n "$ac_ct_DLLTOOL"; then
  66919. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  66920. +$as_echo "$ac_ct_DLLTOOL" >&6; }
  66921. +else
  66922. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  66923. +$as_echo "no" >&6; }
  66924. +fi
  66925. +
  66926. + if test "x$ac_ct_DLLTOOL" = x; then
  66927. + DLLTOOL="false"
  66928. + else
  66929. + case $cross_compiling:$ac_tool_warned in
  66930. +yes:)
  66931. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  66932. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  66933. +ac_tool_warned=yes ;;
  66934. +esac
  66935. + DLLTOOL=$ac_ct_DLLTOOL
  66936. + fi
  66937. +else
  66938. + DLLTOOL="$ac_cv_prog_DLLTOOL"
  66939. +fi
  66940. +
  66941. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  66942. +
  66943. +
  66944. +
  66945. +
  66946. +
  66947. +
  66948. +
  66949. +
  66950. +
  66951. +
  66952. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  66953. +$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  66954. +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  66955. + $as_echo_n "(cached) " >&6
  66956. +else
  66957. + lt_cv_sharedlib_from_linklib_cmd='unknown'
  66958. +
  66959. +case $host_os in
  66960. +cygwin* | mingw* | pw32* | cegcc*)
  66961. + # two different shell functions defined in ltmain.sh;
  66962. + # decide which one to use based on capabilities of $DLLTOOL
  66963. + case `$DLLTOOL --help 2>&1` in
  66964. + *--identify-strict*)
  66965. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  66966. + ;;
  66967. + *)
  66968. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  66969. + ;;
  66970. + esac
  66971. + ;;
  66972. +*)
  66973. + # fallback: assume linklib IS sharedlib
  66974. + lt_cv_sharedlib_from_linklib_cmd=$ECHO
  66975. + ;;
  66976. +esac
  66977. +
  66978. +fi
  66979. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  66980. +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  66981. +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  66982. +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  66983. +
  66984. +
  66985. +
  66986. +
  66987. +
  66988. +
  66989. +
  66990. +
  66991. +if test -n "$ac_tool_prefix"; then
  66992. + for ac_prog in ar
  66993. + do
  66994. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  66995. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  66996. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  66997. $as_echo_n "checking for $ac_word... " >&6; }
  66998. if ${ac_cv_prog_AR+:} false; then :
  66999. @@ -5291,8 +5685,8 @@
  67000. IFS=$as_save_IFS
  67001. test -z "$as_dir" && as_dir=.
  67002. for ac_exec_ext in '' $ac_executable_extensions; do
  67003. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67004. - ac_cv_prog_AR="${ac_tool_prefix}ar"
  67005. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67006. + ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  67007. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67008. break 2
  67009. fi
  67010. @@ -5312,11 +5706,15 @@
  67011. fi
  67012.  
  67013.  
  67014. + test -n "$AR" && break
  67015. + done
  67016. fi
  67017. -if test -z "$ac_cv_prog_AR"; then
  67018. +if test -z "$AR"; then
  67019. ac_ct_AR=$AR
  67020. - # Extract the first word of "ar", so it can be a program name with args.
  67021. -set dummy ar; ac_word=$2
  67022. + for ac_prog in ar
  67023. +do
  67024. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  67025. +set dummy $ac_prog; ac_word=$2
  67026. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  67027. $as_echo_n "checking for $ac_word... " >&6; }
  67028. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  67029. @@ -5331,8 +5729,8 @@
  67030. IFS=$as_save_IFS
  67031. test -z "$as_dir" && as_dir=.
  67032. for ac_exec_ext in '' $ac_executable_extensions; do
  67033. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67034. - ac_cv_prog_ac_ct_AR="ar"
  67035. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67036. + ac_cv_prog_ac_ct_AR="$ac_prog"
  67037. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67038. break 2
  67039. fi
  67040. @@ -5351,6 +5749,10 @@
  67041. $as_echo "no" >&6; }
  67042. fi
  67043.  
  67044. +
  67045. + test -n "$ac_ct_AR" && break
  67046. +done
  67047. +
  67048. if test "x$ac_ct_AR" = x; then
  67049. AR="false"
  67050. else
  67051. @@ -5362,12 +5764,10 @@
  67052. esac
  67053. AR=$ac_ct_AR
  67054. fi
  67055. -else
  67056. - AR="$ac_cv_prog_AR"
  67057. fi
  67058.  
  67059. -test -z "$AR" && AR=ar
  67060. -test -z "$AR_FLAGS" && AR_FLAGS=cru
  67061. +: ${AR=ar}
  67062. +: ${AR_FLAGS=cru}
  67063.  
  67064.  
  67065.  
  67066. @@ -5379,6 +5779,64 @@
  67067.  
  67068.  
  67069.  
  67070. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  67071. +$as_echo_n "checking for archiver @FILE support... " >&6; }
  67072. +if ${lt_cv_ar_at_file+:} false; then :
  67073. + $as_echo_n "(cached) " >&6
  67074. +else
  67075. + lt_cv_ar_at_file=no
  67076. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  67077. +/* end confdefs.h. */
  67078. +
  67079. +int
  67080. +main ()
  67081. +{
  67082. +
  67083. + ;
  67084. + return 0;
  67085. +}
  67086. +_ACEOF
  67087. +if ac_fn_c_try_compile "$LINENO"; then :
  67088. + echo conftest.$ac_objext > conftest.lst
  67089. + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  67090. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  67091. + (eval $lt_ar_try) 2>&5
  67092. + ac_status=$?
  67093. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  67094. + test $ac_status = 0; }
  67095. + if test 0 -eq "$ac_status"; then
  67096. + # Ensure the archiver fails upon bogus file names.
  67097. + rm -f conftest.$ac_objext libconftest.a
  67098. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  67099. + (eval $lt_ar_try) 2>&5
  67100. + ac_status=$?
  67101. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  67102. + test $ac_status = 0; }
  67103. + if test 0 -ne "$ac_status"; then
  67104. + lt_cv_ar_at_file=@
  67105. + fi
  67106. + fi
  67107. + rm -f conftest.* libconftest.a
  67108. +
  67109. +fi
  67110. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  67111. +
  67112. +fi
  67113. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  67114. +$as_echo "$lt_cv_ar_at_file" >&6; }
  67115. +
  67116. +if test no = "$lt_cv_ar_at_file"; then
  67117. + archiver_list_spec=
  67118. +else
  67119. + archiver_list_spec=$lt_cv_ar_at_file
  67120. +fi
  67121. +
  67122. +
  67123. +
  67124. +
  67125. +
  67126. +
  67127. +
  67128. if test -n "$ac_tool_prefix"; then
  67129. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  67130. set dummy ${ac_tool_prefix}strip; ac_word=$2
  67131. @@ -5396,7 +5854,7 @@
  67132. IFS=$as_save_IFS
  67133. test -z "$as_dir" && as_dir=.
  67134. for ac_exec_ext in '' $ac_executable_extensions; do
  67135. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67136. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67137. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  67138. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67139. break 2
  67140. @@ -5436,7 +5894,7 @@
  67141. IFS=$as_save_IFS
  67142. test -z "$as_dir" && as_dir=.
  67143. for ac_exec_ext in '' $ac_executable_extensions; do
  67144. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67145. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67146. ac_cv_prog_ac_ct_STRIP="strip"
  67147. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67148. break 2
  67149. @@ -5495,7 +5953,7 @@
  67150. IFS=$as_save_IFS
  67151. test -z "$as_dir" && as_dir=.
  67152. for ac_exec_ext in '' $ac_executable_extensions; do
  67153. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67154. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67155. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  67156. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67157. break 2
  67158. @@ -5535,7 +5993,7 @@
  67159. IFS=$as_save_IFS
  67160. test -z "$as_dir" && as_dir=.
  67161. for ac_exec_ext in '' $ac_executable_extensions; do
  67162. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67163. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67164. ac_cv_prog_ac_ct_RANLIB="ranlib"
  67165. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67166. break 2
  67167. @@ -5584,16 +6042,28 @@
  67168.  
  67169. if test -n "$RANLIB"; then
  67170. case $host_os in
  67171. - openbsd*)
  67172. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  67173. + bitrig* | openbsd*)
  67174. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  67175. ;;
  67176. *)
  67177. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  67178. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  67179. ;;
  67180. esac
  67181. - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  67182. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  67183. fi
  67184.  
  67185. +case $host_os in
  67186. + darwin*)
  67187. + lock_old_archive_extraction=yes ;;
  67188. + *)
  67189. + lock_old_archive_extraction=no ;;
  67190. +esac
  67191. +
  67192. +
  67193. +
  67194. +
  67195. +
  67196. +
  67197.  
  67198.  
  67199.  
  67200. @@ -5662,7 +6132,7 @@
  67201. symcode='[ABCDGISTW]'
  67202. ;;
  67203. hpux*)
  67204. - if test "$host_cpu" = ia64; then
  67205. + if test ia64 = "$host_cpu"; then
  67206. symcode='[ABCDEGRST]'
  67207. fi
  67208. ;;
  67209. @@ -5695,14 +6165,44 @@
  67210. symcode='[ABCDGIRSTW]' ;;
  67211. esac
  67212.  
  67213. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  67214. + # Gets list of data symbols to import.
  67215. + lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
  67216. + # Adjust the below global symbol transforms to fixup imported variables.
  67217. + lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
  67218. + lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
  67219. + lt_c_name_lib_hook="\
  67220. + -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
  67221. + -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
  67222. +else
  67223. + # Disable hooks by default.
  67224. + lt_cv_sys_global_symbol_to_import=
  67225. + lt_cdecl_hook=
  67226. + lt_c_name_hook=
  67227. + lt_c_name_lib_hook=
  67228. +fi
  67229. +
  67230. # Transform an extracted symbol line into a proper C declaration.
  67231. # Some systems (esp. on ia64) link data and code symbols differently,
  67232. # so use this general approach.
  67233. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  67234. +lt_cv_sys_global_symbol_to_cdecl="sed -n"\
  67235. +$lt_cdecl_hook\
  67236. +" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
  67237. +" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
  67238.  
  67239. # Transform an extracted symbol line into symbol name and symbol address
  67240. -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  67241. -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'"
  67242. +lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
  67243. +$lt_c_name_hook\
  67244. +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  67245. +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
  67246. +
  67247. +# Transform an extracted symbol line into symbol name with lib prefix and
  67248. +# symbol address.
  67249. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
  67250. +$lt_c_name_lib_hook\
  67251. +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  67252. +" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
  67253. +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
  67254.  
  67255. # Handle CRLF in mingw tool chain
  67256. opt_cr=
  67257. @@ -5720,24 +6220,29 @@
  67258.  
  67259. # Write the raw and C identifiers.
  67260. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  67261. - # Fake it for dumpbin and say T for any non-static function
  67262. - # and D for any global variable.
  67263. + # Fake it for dumpbin and say T for any non-static function,
  67264. + # D for any global variable and I for any imported variable.
  67265. # Also find C++ and __fastcall symbols from MSVC++,
  67266. # which start with @ or ?.
  67267. lt_cv_sys_global_symbol_pipe="$AWK '"\
  67268. " {last_section=section; section=\$ 3};"\
  67269. +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  67270. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  67271. +" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
  67272. +" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
  67273. +" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
  67274. " \$ 0!~/External *\|/{next};"\
  67275. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  67276. " {if(hide[section]) next};"\
  67277. -" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  67278. -" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  67279. -" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  67280. -" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  67281. +" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
  67282. +" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
  67283. +" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
  67284. +" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
  67285. " ' prfx=^$ac_symprfx"
  67286. else
  67287. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  67288. fi
  67289. + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  67290.  
  67291. # Check to see that the pipe works correctly.
  67292. pipe_works=no
  67293. @@ -5763,8 +6268,8 @@
  67294. test $ac_status = 0; }; then
  67295. # Now try to grab the symbols.
  67296. nlist=conftest.nm
  67297. - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
  67298. - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  67299. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  67300. + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  67301. ac_status=$?
  67302. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  67303. test $ac_status = 0; } && test -s "$nlist"; then
  67304. @@ -5779,6 +6284,18 @@
  67305. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  67306. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  67307. cat <<_LT_EOF > conftest.$ac_ext
  67308. +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  67309. +#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
  67310. +/* DATA imports from DLLs on WIN32 can't be const, because runtime
  67311. + relocations are performed -- see ld's documentation on pseudo-relocs. */
  67312. +# define LT_DLSYM_CONST
  67313. +#elif defined __osf__
  67314. +/* This system does not cope well with relocations in const data. */
  67315. +# define LT_DLSYM_CONST
  67316. +#else
  67317. +# define LT_DLSYM_CONST const
  67318. +#endif
  67319. +
  67320. #ifdef __cplusplus
  67321. extern "C" {
  67322. #endif
  67323. @@ -5790,7 +6307,7 @@
  67324. cat <<_LT_EOF >> conftest.$ac_ext
  67325.  
  67326. /* The mapping between symbol names and symbols. */
  67327. -const struct {
  67328. +LT_DLSYM_CONST struct {
  67329. const char *name;
  67330. void *address;
  67331. }
  67332. @@ -5798,7 +6315,7 @@
  67333. {
  67334. { "@PROGRAM@", (void *) 0 },
  67335. _LT_EOF
  67336. - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  67337. + $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  67338. cat <<\_LT_EOF >> conftest.$ac_ext
  67339. {0, (void *) 0}
  67340. };
  67341. @@ -5816,19 +6333,19 @@
  67342. _LT_EOF
  67343. # Now try linking the two files.
  67344. mv conftest.$ac_objext conftstm.$ac_objext
  67345. - lt_save_LIBS="$LIBS"
  67346. - lt_save_CFLAGS="$CFLAGS"
  67347. - LIBS="conftstm.$ac_objext"
  67348. + lt_globsym_save_LIBS=$LIBS
  67349. + lt_globsym_save_CFLAGS=$CFLAGS
  67350. + LIBS=conftstm.$ac_objext
  67351. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  67352. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  67353. (eval $ac_link) 2>&5
  67354. ac_status=$?
  67355. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  67356. - test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  67357. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  67358. pipe_works=yes
  67359. fi
  67360. - LIBS="$lt_save_LIBS"
  67361. - CFLAGS="$lt_save_CFLAGS"
  67362. + LIBS=$lt_globsym_save_LIBS
  67363. + CFLAGS=$lt_globsym_save_CFLAGS
  67364. else
  67365. echo "cannot find nm_test_func in $nlist" >&5
  67366. fi
  67367. @@ -5845,7 +6362,7 @@
  67368. rm -rf conftest* conftst*
  67369.  
  67370. # Do not use the global_symbol_pipe unless it works.
  67371. - if test "$pipe_works" = yes; then
  67372. + if test yes = "$pipe_works"; then
  67373. break
  67374. else
  67375. lt_cv_sys_global_symbol_pipe=
  67376. @@ -5865,6 +6382,17 @@
  67377. $as_echo "ok" >&6; }
  67378. fi
  67379.  
  67380. +# Response file support.
  67381. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  67382. + nm_file_list_spec='@'
  67383. +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  67384. + nm_file_list_spec='@'
  67385. +fi
  67386. +
  67387. +
  67388. +
  67389. +
  67390. +
  67391.  
  67392.  
  67393.  
  67394. @@ -5887,18 +6415,146 @@
  67395.  
  67396.  
  67397.  
  67398. +
  67399. +
  67400. +
  67401. +
  67402. +
  67403. +
  67404. +
  67405. +
  67406. +
  67407. +
  67408. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  67409. +$as_echo_n "checking for sysroot... " >&6; }
  67410. +
  67411. +# Check whether --with-sysroot was given.
  67412. +if test "${with_sysroot+set}" = set; then :
  67413. + withval=$with_sysroot;
  67414. +else
  67415. + with_sysroot=no
  67416. +fi
  67417. +
  67418. +
  67419. +lt_sysroot=
  67420. +case $with_sysroot in #(
  67421. + yes)
  67422. + if test yes = "$GCC"; then
  67423. + lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  67424. + fi
  67425. + ;; #(
  67426. + /*)
  67427. + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  67428. + ;; #(
  67429. + no|'')
  67430. + ;; #(
  67431. + *)
  67432. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
  67433. +$as_echo "$with_sysroot" >&6; }
  67434. + as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  67435. + ;;
  67436. +esac
  67437. +
  67438. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  67439. +$as_echo "${lt_sysroot:-no}" >&6; }
  67440. +
  67441. +
  67442. +
  67443. +
  67444. +
  67445. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
  67446. +$as_echo_n "checking for a working dd... " >&6; }
  67447. +if ${ac_cv_path_lt_DD+:} false; then :
  67448. + $as_echo_n "(cached) " >&6
  67449. +else
  67450. + printf 0123456789abcdef0123456789abcdef >conftest.i
  67451. +cat conftest.i conftest.i >conftest2.i
  67452. +: ${lt_DD:=$DD}
  67453. +if test -z "$lt_DD"; then
  67454. + ac_path_lt_DD_found=false
  67455. + # Loop through the user's path and test for each of PROGNAME-LIST
  67456. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  67457. +for as_dir in $PATH
  67458. +do
  67459. + IFS=$as_save_IFS
  67460. + test -z "$as_dir" && as_dir=.
  67461. + for ac_prog in dd; do
  67462. + for ac_exec_ext in '' $ac_executable_extensions; do
  67463. + ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
  67464. + as_fn_executable_p "$ac_path_lt_DD" || continue
  67465. +if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  67466. + cmp -s conftest.i conftest.out \
  67467. + && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
  67468. +fi
  67469. + $ac_path_lt_DD_found && break 3
  67470. + done
  67471. + done
  67472. + done
  67473. +IFS=$as_save_IFS
  67474. + if test -z "$ac_cv_path_lt_DD"; then
  67475. + :
  67476. + fi
  67477. +else
  67478. + ac_cv_path_lt_DD=$lt_DD
  67479. +fi
  67480. +
  67481. +rm -f conftest.i conftest2.i conftest.out
  67482. +fi
  67483. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
  67484. +$as_echo "$ac_cv_path_lt_DD" >&6; }
  67485. +
  67486. +
  67487. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
  67488. +$as_echo_n "checking how to truncate binary pipes... " >&6; }
  67489. +if ${lt_cv_truncate_bin+:} false; then :
  67490. + $as_echo_n "(cached) " >&6
  67491. +else
  67492. + printf 0123456789abcdef0123456789abcdef >conftest.i
  67493. +cat conftest.i conftest.i >conftest2.i
  67494. +lt_cv_truncate_bin=
  67495. +if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  67496. + cmp -s conftest.i conftest.out \
  67497. + && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
  67498. +fi
  67499. +rm -f conftest.i conftest2.i conftest.out
  67500. +test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
  67501. +fi
  67502. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
  67503. +$as_echo "$lt_cv_truncate_bin" >&6; }
  67504. +
  67505. +
  67506. +
  67507. +
  67508. +
  67509. +
  67510. +
  67511. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  67512. +func_cc_basename ()
  67513. +{
  67514. + for cc_temp in $*""; do
  67515. + case $cc_temp in
  67516. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  67517. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  67518. + \-*) ;;
  67519. + *) break;;
  67520. + esac
  67521. + done
  67522. + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  67523. +}
  67524. +
  67525. # Check whether --enable-libtool-lock was given.
  67526. if test "${enable_libtool_lock+set}" = set; then :
  67527. enableval=$enable_libtool_lock;
  67528. fi
  67529.  
  67530. -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  67531. +test no = "$enable_libtool_lock" || enable_libtool_lock=yes
  67532.  
  67533. # Some flags need to be propagated to the compiler or linker for good
  67534. # libtool support.
  67535. case $host in
  67536. ia64-*-hpux*)
  67537. - # Find out which ABI we are using.
  67538. + # Find out what ABI is being produced by ac_compile, and set mode
  67539. + # options accordingly.
  67540. echo 'int i;' > conftest.$ac_ext
  67541. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  67542. (eval $ac_compile) 2>&5
  67543. @@ -5907,24 +6563,25 @@
  67544. test $ac_status = 0; }; then
  67545. case `/usr/bin/file conftest.$ac_objext` in
  67546. *ELF-32*)
  67547. - HPUX_IA64_MODE="32"
  67548. + HPUX_IA64_MODE=32
  67549. ;;
  67550. *ELF-64*)
  67551. - HPUX_IA64_MODE="64"
  67552. + HPUX_IA64_MODE=64
  67553. ;;
  67554. esac
  67555. fi
  67556. rm -rf conftest*
  67557. ;;
  67558. *-*-irix6*)
  67559. - # Find out which ABI we are using.
  67560. - echo '#line 5921 "configure"' > conftest.$ac_ext
  67561. + # Find out what ABI is being produced by ac_compile, and set linker
  67562. + # options accordingly.
  67563. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  67564. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  67565. (eval $ac_compile) 2>&5
  67566. ac_status=$?
  67567. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  67568. test $ac_status = 0; }; then
  67569. - if test "$lt_cv_prog_gnu_ld" = yes; then
  67570. + if test yes = "$lt_cv_prog_gnu_ld"; then
  67571. case `/usr/bin/file conftest.$ac_objext` in
  67572. *32-bit*)
  67573. LD="${LD-ld} -melf32bsmip"
  67574. @@ -5953,9 +6610,50 @@
  67575. rm -rf conftest*
  67576. ;;
  67577.  
  67578. -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  67579. +mips64*-*linux*)
  67580. + # Find out what ABI is being produced by ac_compile, and set linker
  67581. + # options accordingly.
  67582. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  67583. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  67584. + (eval $ac_compile) 2>&5
  67585. + ac_status=$?
  67586. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  67587. + test $ac_status = 0; }; then
  67588. + emul=elf
  67589. + case `/usr/bin/file conftest.$ac_objext` in
  67590. + *32-bit*)
  67591. + emul="${emul}32"
  67592. + ;;
  67593. + *64-bit*)
  67594. + emul="${emul}64"
  67595. + ;;
  67596. + esac
  67597. + case `/usr/bin/file conftest.$ac_objext` in
  67598. + *MSB*)
  67599. + emul="${emul}btsmip"
  67600. + ;;
  67601. + *LSB*)
  67602. + emul="${emul}ltsmip"
  67603. + ;;
  67604. + esac
  67605. + case `/usr/bin/file conftest.$ac_objext` in
  67606. + *N32*)
  67607. + emul="${emul}n32"
  67608. + ;;
  67609. + esac
  67610. + LD="${LD-ld} -m $emul"
  67611. + fi
  67612. + rm -rf conftest*
  67613. + ;;
  67614. +
  67615. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  67616. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  67617. - # Find out which ABI we are using.
  67618. + # Find out what ABI is being produced by ac_compile, and set linker
  67619. + # options accordingly. Note that the listed cases only cover the
  67620. + # situations where additional linker options are needed (such as when
  67621. + # doing 32-bit compilation for a host where ld defaults to 64-bit, or
  67622. + # vice versa); the common cases where no linker options are needed do
  67623. + # not appear in the list.
  67624. echo 'int i;' > conftest.$ac_ext
  67625. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  67626. (eval $ac_compile) 2>&5
  67627. @@ -5969,9 +6667,19 @@
  67628. LD="${LD-ld} -m elf_i386_fbsd"
  67629. ;;
  67630. x86_64-*linux*)
  67631. - LD="${LD-ld} -m elf_i386"
  67632. + case `/usr/bin/file conftest.o` in
  67633. + *x86-64*)
  67634. + LD="${LD-ld} -m elf32_x86_64"
  67635. + ;;
  67636. + *)
  67637. + LD="${LD-ld} -m elf_i386"
  67638. + ;;
  67639. + esac
  67640. ;;
  67641. - ppc64-*linux*|powerpc64-*linux*)
  67642. + powerpc64le-*linux*)
  67643. + LD="${LD-ld} -m elf32lppclinux"
  67644. + ;;
  67645. + powerpc64-*linux*)
  67646. LD="${LD-ld} -m elf32ppclinux"
  67647. ;;
  67648. s390x-*linux*)
  67649. @@ -5990,7 +6698,10 @@
  67650. x86_64-*linux*)
  67651. LD="${LD-ld} -m elf_x86_64"
  67652. ;;
  67653. - ppc*-*linux*|powerpc*-*linux*)
  67654. + powerpcle-*linux*)
  67655. + LD="${LD-ld} -m elf64lppc"
  67656. + ;;
  67657. + powerpc-*linux*)
  67658. LD="${LD-ld} -m elf64ppc"
  67659. ;;
  67660. s390*-*linux*|s390*-*tpf*)
  67661. @@ -6008,7 +6719,7 @@
  67662.  
  67663. *-*-sco3.2v5*)
  67664. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  67665. - SAVE_CFLAGS="$CFLAGS"
  67666. + SAVE_CFLAGS=$CFLAGS
  67667. CFLAGS="$CFLAGS -belf"
  67668. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  67669. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  67670. @@ -6048,13 +6759,14 @@
  67671. fi
  67672. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  67673. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  67674. - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  67675. + if test yes != "$lt_cv_cc_needs_belf"; then
  67676. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  67677. - CFLAGS="$SAVE_CFLAGS"
  67678. + CFLAGS=$SAVE_CFLAGS
  67679. fi
  67680. ;;
  67681. -sparc*-*solaris*)
  67682. - # Find out which ABI we are using.
  67683. +*-*solaris*)
  67684. + # Find out what ABI is being produced by ac_compile, and set linker
  67685. + # options accordingly.
  67686. echo 'int i;' > conftest.$ac_ext
  67687. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  67688. (eval $ac_compile) 2>&5
  67689. @@ -6064,7 +6776,20 @@
  67690. case `/usr/bin/file conftest.o` in
  67691. *64-bit*)
  67692. case $lt_cv_prog_gnu_ld in
  67693. - yes*) LD="${LD-ld} -m elf64_sparc" ;;
  67694. + yes*)
  67695. + case $host in
  67696. + i?86-*-solaris*|x86_64-*-solaris*)
  67697. + LD="${LD-ld} -m elf_x86_64"
  67698. + ;;
  67699. + sparc*-*-solaris*)
  67700. + LD="${LD-ld} -m elf64_sparc"
  67701. + ;;
  67702. + esac
  67703. + # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
  67704. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  67705. + LD=${LD-ld}_sol2
  67706. + fi
  67707. + ;;
  67708. *)
  67709. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  67710. LD="${LD-ld} -64"
  67711. @@ -6078,7 +6803,124 @@
  67712. ;;
  67713. esac
  67714.  
  67715. -need_locks="$enable_libtool_lock"
  67716. +need_locks=$enable_libtool_lock
  67717. +
  67718. +if test -n "$ac_tool_prefix"; then
  67719. + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  67720. +set dummy ${ac_tool_prefix}mt; ac_word=$2
  67721. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  67722. +$as_echo_n "checking for $ac_word... " >&6; }
  67723. +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  67724. + $as_echo_n "(cached) " >&6
  67725. +else
  67726. + if test -n "$MANIFEST_TOOL"; then
  67727. + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  67728. +else
  67729. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  67730. +for as_dir in $PATH
  67731. +do
  67732. + IFS=$as_save_IFS
  67733. + test -z "$as_dir" && as_dir=.
  67734. + for ac_exec_ext in '' $ac_executable_extensions; do
  67735. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67736. + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  67737. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67738. + break 2
  67739. + fi
  67740. +done
  67741. + done
  67742. +IFS=$as_save_IFS
  67743. +
  67744. +fi
  67745. +fi
  67746. +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  67747. +if test -n "$MANIFEST_TOOL"; then
  67748. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  67749. +$as_echo "$MANIFEST_TOOL" >&6; }
  67750. +else
  67751. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  67752. +$as_echo "no" >&6; }
  67753. +fi
  67754. +
  67755. +
  67756. +fi
  67757. +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  67758. + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  67759. + # Extract the first word of "mt", so it can be a program name with args.
  67760. +set dummy mt; ac_word=$2
  67761. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  67762. +$as_echo_n "checking for $ac_word... " >&6; }
  67763. +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  67764. + $as_echo_n "(cached) " >&6
  67765. +else
  67766. + if test -n "$ac_ct_MANIFEST_TOOL"; then
  67767. + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  67768. +else
  67769. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  67770. +for as_dir in $PATH
  67771. +do
  67772. + IFS=$as_save_IFS
  67773. + test -z "$as_dir" && as_dir=.
  67774. + for ac_exec_ext in '' $ac_executable_extensions; do
  67775. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67776. + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  67777. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67778. + break 2
  67779. + fi
  67780. +done
  67781. + done
  67782. +IFS=$as_save_IFS
  67783. +
  67784. +fi
  67785. +fi
  67786. +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  67787. +if test -n "$ac_ct_MANIFEST_TOOL"; then
  67788. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  67789. +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  67790. +else
  67791. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  67792. +$as_echo "no" >&6; }
  67793. +fi
  67794. +
  67795. + if test "x$ac_ct_MANIFEST_TOOL" = x; then
  67796. + MANIFEST_TOOL=":"
  67797. + else
  67798. + case $cross_compiling:$ac_tool_warned in
  67799. +yes:)
  67800. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  67801. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  67802. +ac_tool_warned=yes ;;
  67803. +esac
  67804. + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  67805. + fi
  67806. +else
  67807. + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  67808. +fi
  67809. +
  67810. +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  67811. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  67812. +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  67813. +if ${lt_cv_path_mainfest_tool+:} false; then :
  67814. + $as_echo_n "(cached) " >&6
  67815. +else
  67816. + lt_cv_path_mainfest_tool=no
  67817. + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  67818. + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  67819. + cat conftest.err >&5
  67820. + if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  67821. + lt_cv_path_mainfest_tool=yes
  67822. + fi
  67823. + rm -f conftest*
  67824. +fi
  67825. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  67826. +$as_echo "$lt_cv_path_mainfest_tool" >&6; }
  67827. +if test yes != "$lt_cv_path_mainfest_tool"; then
  67828. + MANIFEST_TOOL=:
  67829. +fi
  67830. +
  67831. +
  67832. +
  67833. +
  67834.  
  67835.  
  67836. case $host_os in
  67837. @@ -6100,7 +6942,7 @@
  67838. IFS=$as_save_IFS
  67839. test -z "$as_dir" && as_dir=.
  67840. for ac_exec_ext in '' $ac_executable_extensions; do
  67841. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67842. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67843. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  67844. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67845. break 2
  67846. @@ -6140,7 +6982,7 @@
  67847. IFS=$as_save_IFS
  67848. test -z "$as_dir" && as_dir=.
  67849. for ac_exec_ext in '' $ac_executable_extensions; do
  67850. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67851. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67852. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  67853. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67854. break 2
  67855. @@ -6192,7 +7034,7 @@
  67856. IFS=$as_save_IFS
  67857. test -z "$as_dir" && as_dir=.
  67858. for ac_exec_ext in '' $ac_executable_extensions; do
  67859. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67860. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67861. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  67862. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67863. break 2
  67864. @@ -6232,7 +7074,7 @@
  67865. IFS=$as_save_IFS
  67866. test -z "$as_dir" && as_dir=.
  67867. for ac_exec_ext in '' $ac_executable_extensions; do
  67868. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67869. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67870. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  67871. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67872. break 2
  67873. @@ -6284,7 +7126,7 @@
  67874. IFS=$as_save_IFS
  67875. test -z "$as_dir" && as_dir=.
  67876. for ac_exec_ext in '' $ac_executable_extensions; do
  67877. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67878. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67879. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  67880. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67881. break 2
  67882. @@ -6324,7 +7166,7 @@
  67883. IFS=$as_save_IFS
  67884. test -z "$as_dir" && as_dir=.
  67885. for ac_exec_ext in '' $ac_executable_extensions; do
  67886. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67887. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67888. ac_cv_prog_ac_ct_LIPO="lipo"
  67889. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67890. break 2
  67891. @@ -6376,7 +7218,7 @@
  67892. IFS=$as_save_IFS
  67893. test -z "$as_dir" && as_dir=.
  67894. for ac_exec_ext in '' $ac_executable_extensions; do
  67895. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67896. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67897. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  67898. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67899. break 2
  67900. @@ -6416,7 +7258,7 @@
  67901. IFS=$as_save_IFS
  67902. test -z "$as_dir" && as_dir=.
  67903. for ac_exec_ext in '' $ac_executable_extensions; do
  67904. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67905. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67906. ac_cv_prog_ac_ct_OTOOL="otool"
  67907. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67908. break 2
  67909. @@ -6468,7 +7310,7 @@
  67910. IFS=$as_save_IFS
  67911. test -z "$as_dir" && as_dir=.
  67912. for ac_exec_ext in '' $ac_executable_extensions; do
  67913. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67914. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67915. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  67916. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67917. break 2
  67918. @@ -6508,7 +7350,7 @@
  67919. IFS=$as_save_IFS
  67920. test -z "$as_dir" && as_dir=.
  67921. for ac_exec_ext in '' $ac_executable_extensions; do
  67922. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67923. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67924. ac_cv_prog_ac_ct_OTOOL64="otool64"
  67925. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67926. break 2
  67927. @@ -6575,7 +7417,7 @@
  67928. $as_echo_n "(cached) " >&6
  67929. else
  67930. lt_cv_apple_cc_single_mod=no
  67931. - if test -z "${LT_MULTI_MODULE}"; then
  67932. + if test -z "$LT_MULTI_MODULE"; then
  67933. # By default we will add the -single_module flag. You can override
  67934. # by either setting the environment variable LT_MULTI_MODULE
  67935. # non-empty at configure time, or by adding -multi_module to the
  67936. @@ -6587,7 +7429,13 @@
  67937. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  67938. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  67939. _lt_result=$?
  67940. - if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  67941. + # If there is a non-empty error log, and "single_module"
  67942. + # appears in it, assume the flag caused a linker warning
  67943. + if test -s conftest.err && $GREP single_module conftest.err; then
  67944. + cat conftest.err >&5
  67945. + # Otherwise, if the output was created with a 0 exit code from
  67946. + # the compiler, it worked.
  67947. + elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
  67948. lt_cv_apple_cc_single_mod=yes
  67949. else
  67950. cat conftest.err >&5
  67951. @@ -6598,6 +7446,7 @@
  67952. fi
  67953. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  67954. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  67955. +
  67956. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  67957. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  67958. if ${lt_cv_ld_exported_symbols_list+:} false; then :
  67959. @@ -6625,39 +7474,74 @@
  67960. fi
  67961. rm -f core conftest.err conftest.$ac_objext \
  67962. conftest$ac_exeext conftest.$ac_ext
  67963. - LDFLAGS="$save_LDFLAGS"
  67964. + LDFLAGS=$save_LDFLAGS
  67965.  
  67966. fi
  67967. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  67968. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  67969. +
  67970. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  67971. +$as_echo_n "checking for -force_load linker flag... " >&6; }
  67972. +if ${lt_cv_ld_force_load+:} false; then :
  67973. + $as_echo_n "(cached) " >&6
  67974. +else
  67975. + lt_cv_ld_force_load=no
  67976. + cat > conftest.c << _LT_EOF
  67977. +int forced_loaded() { return 2;}
  67978. +_LT_EOF
  67979. + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  67980. + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  67981. + echo "$AR cru libconftest.a conftest.o" >&5
  67982. + $AR cru libconftest.a conftest.o 2>&5
  67983. + echo "$RANLIB libconftest.a" >&5
  67984. + $RANLIB libconftest.a 2>&5
  67985. + cat > conftest.c << _LT_EOF
  67986. +int main() { return 0;}
  67987. +_LT_EOF
  67988. + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  67989. + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  67990. + _lt_result=$?
  67991. + if test -s conftest.err && $GREP force_load conftest.err; then
  67992. + cat conftest.err >&5
  67993. + elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
  67994. + lt_cv_ld_force_load=yes
  67995. + else
  67996. + cat conftest.err >&5
  67997. + fi
  67998. + rm -f conftest.err libconftest.a conftest conftest.c
  67999. + rm -rf conftest.dSYM
  68000. +
  68001. +fi
  68002. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  68003. +$as_echo "$lt_cv_ld_force_load" >&6; }
  68004. case $host_os in
  68005. rhapsody* | darwin1.[012])
  68006. - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  68007. + _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
  68008. darwin1.*)
  68009. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  68010. + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  68011. darwin*) # darwin 5.x on
  68012. # if running on 10.5 or later, the deployment target defaults
  68013. # to the OS version, if on x86, and 10.4, the deployment
  68014. # target defaults to 10.4. Don't you love it?
  68015. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  68016. 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  68017. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  68018. - 10.[012]*)
  68019. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  68020. + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  68021. + 10.[012][,.]*)
  68022. + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  68023. 10.*)
  68024. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  68025. + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  68026. esac
  68027. ;;
  68028. esac
  68029. - if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  68030. + if test yes = "$lt_cv_apple_cc_single_mod"; then
  68031. _lt_dar_single_mod='$single_module'
  68032. fi
  68033. - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  68034. - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  68035. + if test yes = "$lt_cv_ld_exported_symbols_list"; then
  68036. + _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
  68037. else
  68038. - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  68039. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
  68040. fi
  68041. - if test "$DSYMUTIL" != ":"; then
  68042. + if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
  68043. _lt_dsymutil='~$DSYMUTIL $lib || :'
  68044. else
  68045. _lt_dsymutil=
  68046. @@ -6665,6 +7549,41 @@
  68047. ;;
  68048. esac
  68049.  
  68050. +# func_munge_path_list VARIABLE PATH
  68051. +# -----------------------------------
  68052. +# VARIABLE is name of variable containing _space_ separated list of
  68053. +# directories to be munged by the contents of PATH, which is string
  68054. +# having a format:
  68055. +# "DIR[:DIR]:"
  68056. +# string "DIR[ DIR]" will be prepended to VARIABLE
  68057. +# ":DIR[:DIR]"
  68058. +# string "DIR[ DIR]" will be appended to VARIABLE
  68059. +# "DIRP[:DIRP]::[DIRA:]DIRA"
  68060. +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  68061. +# "DIRA[ DIRA]" will be appended to VARIABLE
  68062. +# "DIR[:DIR]"
  68063. +# VARIABLE will be replaced by "DIR[ DIR]"
  68064. +func_munge_path_list ()
  68065. +{
  68066. + case x$2 in
  68067. + x)
  68068. + ;;
  68069. + *:)
  68070. + eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
  68071. + ;;
  68072. + x:*)
  68073. + eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
  68074. + ;;
  68075. + *::*)
  68076. + eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  68077. + eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
  68078. + ;;
  68079. + *)
  68080. + eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
  68081. + ;;
  68082. + esac
  68083. +}
  68084. +
  68085. ac_ext=c
  68086. ac_cpp='$CPP $CPPFLAGS'
  68087. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  68088. @@ -6947,6 +7866,8 @@
  68089.  
  68090.  
  68091.  
  68092. +
  68093. +
  68094. # Set options
  68095.  
  68096.  
  68097. @@ -6966,14 +7887,14 @@
  68098. *)
  68099. enable_shared=no
  68100. # Look at the argument we got. We use all the common list separators.
  68101. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  68102. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  68103. for pkg in $enableval; do
  68104. - IFS="$lt_save_ifs"
  68105. + IFS=$lt_save_ifs
  68106. if test "X$pkg" = "X$p"; then
  68107. enable_shared=yes
  68108. fi
  68109. done
  68110. - IFS="$lt_save_ifs"
  68111. + IFS=$lt_save_ifs
  68112. ;;
  68113. esac
  68114. else
  68115. @@ -6997,14 +7918,14 @@
  68116. *)
  68117. enable_static=no
  68118. # Look at the argument we got. We use all the common list separators.
  68119. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  68120. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  68121. for pkg in $enableval; do
  68122. - IFS="$lt_save_ifs"
  68123. + IFS=$lt_save_ifs
  68124. if test "X$pkg" = "X$p"; then
  68125. enable_static=yes
  68126. fi
  68127. done
  68128. - IFS="$lt_save_ifs"
  68129. + IFS=$lt_save_ifs
  68130. ;;
  68131. esac
  68132. else
  68133. @@ -7022,14 +7943,27 @@
  68134.  
  68135. # Check whether --with-pic was given.
  68136. if test "${with_pic+set}" = set; then :
  68137. - withval=$with_pic; pic_mode="$withval"
  68138. + withval=$with_pic; lt_p=${PACKAGE-default}
  68139. + case $withval in
  68140. + yes|no) pic_mode=$withval ;;
  68141. + *)
  68142. + pic_mode=default
  68143. + # Look at the argument we got. We use all the common list separators.
  68144. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  68145. + for lt_pkg in $withval; do
  68146. + IFS=$lt_save_ifs
  68147. + if test "X$lt_pkg" = "X$lt_p"; then
  68148. + pic_mode=yes
  68149. + fi
  68150. + done
  68151. + IFS=$lt_save_ifs
  68152. + ;;
  68153. + esac
  68154. else
  68155. pic_mode=default
  68156. fi
  68157.  
  68158.  
  68159. -test -z "$pic_mode" && pic_mode=default
  68160. -
  68161.  
  68162.  
  68163.  
  68164. @@ -7045,14 +7979,14 @@
  68165. *)
  68166. enable_fast_install=no
  68167. # Look at the argument we got. We use all the common list separators.
  68168. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  68169. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  68170. for pkg in $enableval; do
  68171. - IFS="$lt_save_ifs"
  68172. + IFS=$lt_save_ifs
  68173. if test "X$pkg" = "X$p"; then
  68174. enable_fast_install=yes
  68175. fi
  68176. done
  68177. - IFS="$lt_save_ifs"
  68178. + IFS=$lt_save_ifs
  68179. ;;
  68180. esac
  68181. else
  68182. @@ -7066,11 +8000,63 @@
  68183.  
  68184.  
  68185.  
  68186. + shared_archive_member_spec=
  68187. +case $host,$enable_shared in
  68188. +power*-*-aix[5-9]*,yes)
  68189. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
  68190. +$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
  68191. +
  68192. +# Check whether --with-aix-soname was given.
  68193. +if test "${with_aix_soname+set}" = set; then :
  68194. + withval=$with_aix_soname; case $withval in
  68195. + aix|svr4|both)
  68196. + ;;
  68197. + *)
  68198. + as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
  68199. + ;;
  68200. + esac
  68201. + lt_cv_with_aix_soname=$with_aix_soname
  68202. +else
  68203. + if ${lt_cv_with_aix_soname+:} false; then :
  68204. + $as_echo_n "(cached) " >&6
  68205. +else
  68206. + lt_cv_with_aix_soname=aix
  68207. +fi
  68208. +
  68209. + with_aix_soname=$lt_cv_with_aix_soname
  68210. +fi
  68211. +
  68212. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
  68213. +$as_echo "$with_aix_soname" >&6; }
  68214. + if test aix != "$with_aix_soname"; then
  68215. + # For the AIX way of multilib, we name the shared archive member
  68216. + # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
  68217. + # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
  68218. + # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
  68219. + # the AIX toolchain works better with OBJECT_MODE set (default 32).
  68220. + if test 64 = "${OBJECT_MODE-32}"; then
  68221. + shared_archive_member_spec=shr_64
  68222. + else
  68223. + shared_archive_member_spec=shr
  68224. + fi
  68225. + fi
  68226. + ;;
  68227. +*)
  68228. + with_aix_soname=aix
  68229. + ;;
  68230. +esac
  68231. +
  68232. +
  68233. +
  68234. +
  68235. +
  68236. +
  68237. +
  68238.  
  68239.  
  68240.  
  68241. # This can be used to rebuild libtool when needed
  68242. -LIBTOOL_DEPS="$ltmain"
  68243. +LIBTOOL_DEPS=$ltmain
  68244.  
  68245. # Always use our own libtool.
  68246. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  68247. @@ -7099,6 +8085,11 @@
  68248.  
  68249.  
  68250.  
  68251. +
  68252. +
  68253. +
  68254. +
  68255. +
  68256. test -z "$LN_S" && LN_S="ln -s"
  68257.  
  68258.  
  68259. @@ -7114,7 +8105,7 @@
  68260.  
  68261.  
  68262.  
  68263. -if test -n "${ZSH_VERSION+set}" ; then
  68264. +if test -n "${ZSH_VERSION+set}"; then
  68265. setopt NO_GLOB_SUBST
  68266. fi
  68267.  
  68268. @@ -7148,60 +8139,30 @@
  68269.  
  68270.  
  68271.  
  68272. -
  68273. -
  68274. -
  68275. -
  68276. -
  68277. -
  68278. -
  68279. -
  68280. -
  68281. -
  68282. -
  68283. -
  68284. -
  68285. case $host_os in
  68286. aix3*)
  68287. # AIX sometimes has problems with the GCC collect2 program. For some
  68288. # reason, if we set the COLLECT_NAMES environment variable, the problems
  68289. # vanish in a puff of smoke.
  68290. - if test "X${COLLECT_NAMES+set}" != Xset; then
  68291. + if test set != "${COLLECT_NAMES+set}"; then
  68292. COLLECT_NAMES=
  68293. export COLLECT_NAMES
  68294. fi
  68295. ;;
  68296. esac
  68297.  
  68298. -# Sed substitution that helps us do robust quoting. It backslashifies
  68299. -# metacharacters that are still active within double-quoted strings.
  68300. -sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  68301. -
  68302. -# Same as above, but do not quote variable references.
  68303. -double_quote_subst='s/\(["`\\]\)/\\\1/g'
  68304. -
  68305. -# Sed substitution to delay expansion of an escaped shell variable in a
  68306. -# double_quote_subst'ed string.
  68307. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  68308. -
  68309. -# Sed substitution to delay expansion of an escaped single quote.
  68310. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  68311. -
  68312. -# Sed substitution to avoid accidental globbing in evaled expressions
  68313. -no_glob_subst='s/\*/\\\*/g'
  68314. -
  68315. # Global variables:
  68316. ofile=libtool
  68317. can_build_shared=yes
  68318.  
  68319. -# All known linkers require a `.a' archive for static linking (except MSVC,
  68320. +# All known linkers require a '.a' archive for static linking (except MSVC,
  68321. # which needs '.lib').
  68322. libext=a
  68323.  
  68324. -with_gnu_ld="$lt_cv_prog_gnu_ld"
  68325. +with_gnu_ld=$lt_cv_prog_gnu_ld
  68326.  
  68327. -old_CC="$CC"
  68328. -old_CFLAGS="$CFLAGS"
  68329. +old_CC=$CC
  68330. +old_CFLAGS=$CFLAGS
  68331.  
  68332. # Set sane defaults for various variables
  68333. test -z "$CC" && CC=cc
  68334. @@ -7210,15 +8171,8 @@
  68335. test -z "$LD" && LD=ld
  68336. test -z "$ac_objext" && ac_objext=o
  68337.  
  68338. -for cc_temp in $compiler""; do
  68339. - case $cc_temp in
  68340. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  68341. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  68342. - \-*) ;;
  68343. - *) break;;
  68344. - esac
  68345. -done
  68346. -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  68347. +func_cc_basename $compiler
  68348. +cc_basename=$func_cc_basename_result
  68349.  
  68350.  
  68351. # Only perform the check for file, if the check method requires it
  68352. @@ -7233,22 +8187,22 @@
  68353. else
  68354. case $MAGIC_CMD in
  68355. [\\/*] | ?:[\\/]*)
  68356. - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  68357. + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  68358. ;;
  68359. *)
  68360. - lt_save_MAGIC_CMD="$MAGIC_CMD"
  68361. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  68362. + lt_save_MAGIC_CMD=$MAGIC_CMD
  68363. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  68364. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  68365. for ac_dir in $ac_dummy; do
  68366. - IFS="$lt_save_ifs"
  68367. + IFS=$lt_save_ifs
  68368. test -z "$ac_dir" && ac_dir=.
  68369. - if test -f $ac_dir/${ac_tool_prefix}file; then
  68370. - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  68371. + if test -f "$ac_dir/${ac_tool_prefix}file"; then
  68372. + lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
  68373. if test -n "$file_magic_test_file"; then
  68374. case $deplibs_check_method in
  68375. "file_magic "*)
  68376. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  68377. - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  68378. + MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  68379. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  68380. $EGREP "$file_magic_regex" > /dev/null; then
  68381. :
  68382. @@ -7271,13 +8225,13 @@
  68383. break
  68384. fi
  68385. done
  68386. - IFS="$lt_save_ifs"
  68387. - MAGIC_CMD="$lt_save_MAGIC_CMD"
  68388. + IFS=$lt_save_ifs
  68389. + MAGIC_CMD=$lt_save_MAGIC_CMD
  68390. ;;
  68391. esac
  68392. fi
  68393.  
  68394. -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  68395. +MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  68396. if test -n "$MAGIC_CMD"; then
  68397. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  68398. $as_echo "$MAGIC_CMD" >&6; }
  68399. @@ -7299,22 +8253,22 @@
  68400. else
  68401. case $MAGIC_CMD in
  68402. [\\/*] | ?:[\\/]*)
  68403. - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  68404. + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  68405. ;;
  68406. *)
  68407. - lt_save_MAGIC_CMD="$MAGIC_CMD"
  68408. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  68409. + lt_save_MAGIC_CMD=$MAGIC_CMD
  68410. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  68411. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  68412. for ac_dir in $ac_dummy; do
  68413. - IFS="$lt_save_ifs"
  68414. + IFS=$lt_save_ifs
  68415. test -z "$ac_dir" && ac_dir=.
  68416. - if test -f $ac_dir/file; then
  68417. - lt_cv_path_MAGIC_CMD="$ac_dir/file"
  68418. + if test -f "$ac_dir/file"; then
  68419. + lt_cv_path_MAGIC_CMD=$ac_dir/"file"
  68420. if test -n "$file_magic_test_file"; then
  68421. case $deplibs_check_method in
  68422. "file_magic "*)
  68423. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  68424. - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  68425. + MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  68426. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  68427. $EGREP "$file_magic_regex" > /dev/null; then
  68428. :
  68429. @@ -7337,13 +8291,13 @@
  68430. break
  68431. fi
  68432. done
  68433. - IFS="$lt_save_ifs"
  68434. - MAGIC_CMD="$lt_save_MAGIC_CMD"
  68435. + IFS=$lt_save_ifs
  68436. + MAGIC_CMD=$lt_save_MAGIC_CMD
  68437. ;;
  68438. esac
  68439. fi
  68440.  
  68441. -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  68442. +MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  68443. if test -n "$MAGIC_CMD"; then
  68444. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  68445. $as_echo "$MAGIC_CMD" >&6; }
  68446. @@ -7364,7 +8318,7 @@
  68447.  
  68448. # Use C for the default configuration in the libtool script
  68449.  
  68450. -lt_save_CC="$CC"
  68451. +lt_save_CC=$CC
  68452. ac_ext=c
  68453. ac_cpp='$CPP $CPPFLAGS'
  68454. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  68455. @@ -7418,12 +8372,21 @@
  68456. $RM -r conftest*
  68457.  
  68458.  
  68459. +## CAVEAT EMPTOR:
  68460. +## There is no encapsulation within the following macros, do not change
  68461. +## the running order or otherwise move them around unless you know exactly
  68462. +## what you are doing...
  68463. if test -n "$compiler"; then
  68464.  
  68465. lt_prog_compiler_no_builtin_flag=
  68466.  
  68467. -if test "$GCC" = yes; then
  68468. - lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  68469. +if test yes = "$GCC"; then
  68470. + case $cc_basename in
  68471. + nvcc*)
  68472. + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  68473. + *)
  68474. + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  68475. + esac
  68476.  
  68477. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  68478. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  68479. @@ -7433,7 +8396,7 @@
  68480. lt_cv_prog_compiler_rtti_exceptions=no
  68481. ac_outfile=conftest.$ac_objext
  68482. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  68483. - lt_compiler_flag="-fno-rtti -fno-exceptions"
  68484. + lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
  68485. # Insert the option either (1) after the last *FLAGS variable, or
  68486. # (2) before a word containing "conftest.", or (3) at the end.
  68487. # Note that $ac_compile itself does not contain backslashes and begins
  68488. @@ -7443,15 +8406,15 @@
  68489. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  68490. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  68491. -e 's:$: $lt_compiler_flag:'`
  68492. - (eval echo "\"\$as_me:7446: $lt_compile\"" >&5)
  68493. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  68494. (eval "$lt_compile" 2>conftest.err)
  68495. ac_status=$?
  68496. cat conftest.err >&5
  68497. - echo "$as_me:7450: \$? = $ac_status" >&5
  68498. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  68499. if (exit $ac_status) && test -s "$ac_outfile"; then
  68500. # The compiler can only warn and ignore the option if not recognized
  68501. # So say no if there are warnings other than the usual output.
  68502. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  68503. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  68504. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  68505. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  68506. lt_cv_prog_compiler_rtti_exceptions=yes
  68507. @@ -7463,7 +8426,7 @@
  68508. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  68509. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  68510.  
  68511. -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  68512. +if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
  68513. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  68514. else
  68515. :
  68516. @@ -7480,20 +8443,19 @@
  68517. lt_prog_compiler_pic=
  68518. lt_prog_compiler_static=
  68519.  
  68520. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  68521. -$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  68522.  
  68523. - if test "$GCC" = yes; then
  68524. + if test yes = "$GCC"; then
  68525. lt_prog_compiler_wl='-Wl,'
  68526. lt_prog_compiler_static='-static'
  68527.  
  68528. case $host_os in
  68529. aix*)
  68530. # All AIX code is PIC.
  68531. - if test "$host_cpu" = ia64; then
  68532. + if test ia64 = "$host_cpu"; then
  68533. # AIX 5 now supports IA64 processor
  68534. lt_prog_compiler_static='-Bstatic'
  68535. fi
  68536. + lt_prog_compiler_pic='-fPIC'
  68537. ;;
  68538.  
  68539. amigaos*)
  68540. @@ -7504,8 +8466,8 @@
  68541. ;;
  68542. m68k)
  68543. # FIXME: we need at least 68020 code to build shared libraries, but
  68544. - # adding the `-m68020' flag to GCC prevents building anything better,
  68545. - # like `-m68040'.
  68546. + # adding the '-m68020' flag to GCC prevents building anything better,
  68547. + # like '-m68040'.
  68548. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  68549. ;;
  68550. esac
  68551. @@ -7521,6 +8483,11 @@
  68552. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  68553. # (--disable-auto-import) libraries
  68554. lt_prog_compiler_pic='-DDLL_EXPORT'
  68555. + case $host_os in
  68556. + os2*)
  68557. + lt_prog_compiler_static='$wl-static'
  68558. + ;;
  68559. + esac
  68560. ;;
  68561.  
  68562. darwin* | rhapsody*)
  68563. @@ -7529,6 +8496,12 @@
  68564. lt_prog_compiler_pic='-fno-common'
  68565. ;;
  68566.  
  68567. + haiku*)
  68568. + # PIC is the default for Haiku.
  68569. + # The "-static" flag exists, but is broken.
  68570. + lt_prog_compiler_static=
  68571. + ;;
  68572. +
  68573. hpux*)
  68574. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  68575. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  68576. @@ -7571,12 +8544,21 @@
  68577. lt_prog_compiler_pic='-fPIC'
  68578. ;;
  68579. esac
  68580. +
  68581. + case $cc_basename in
  68582. + nvcc*) # Cuda Compiler Driver 2.2
  68583. + lt_prog_compiler_wl='-Xlinker '
  68584. + if test -n "$lt_prog_compiler_pic"; then
  68585. + lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  68586. + fi
  68587. + ;;
  68588. + esac
  68589. else
  68590. # PORTME Check for flag to pass linker flags through the system compiler.
  68591. case $host_os in
  68592. aix*)
  68593. lt_prog_compiler_wl='-Wl,'
  68594. - if test "$host_cpu" = ia64; then
  68595. + if test ia64 = "$host_cpu"; then
  68596. # AIX 5 now supports IA64 processor
  68597. lt_prog_compiler_static='-Bstatic'
  68598. else
  68599. @@ -7584,10 +8566,29 @@
  68600. fi
  68601. ;;
  68602.  
  68603. + darwin* | rhapsody*)
  68604. + # PIC is the default on this platform
  68605. + # Common symbols not allowed in MH_DYLIB files
  68606. + lt_prog_compiler_pic='-fno-common'
  68607. + case $cc_basename in
  68608. + nagfor*)
  68609. + # NAG Fortran compiler
  68610. + lt_prog_compiler_wl='-Wl,-Wl,,'
  68611. + lt_prog_compiler_pic='-PIC'
  68612. + lt_prog_compiler_static='-Bstatic'
  68613. + ;;
  68614. + esac
  68615. + ;;
  68616. +
  68617. mingw* | cygwin* | pw32* | os2* | cegcc*)
  68618. # This hack is so that the source file can tell whether it is being
  68619. # built for inclusion in a dll (and should export symbols for example).
  68620. lt_prog_compiler_pic='-DDLL_EXPORT'
  68621. + case $host_os in
  68622. + os2*)
  68623. + lt_prog_compiler_static='$wl-static'
  68624. + ;;
  68625. + esac
  68626. ;;
  68627.  
  68628. hpux9* | hpux10* | hpux11*)
  68629. @@ -7603,7 +8604,7 @@
  68630. ;;
  68631. esac
  68632. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  68633. - lt_prog_compiler_static='${wl}-a ${wl}archive'
  68634. + lt_prog_compiler_static='$wl-a ${wl}archive'
  68635. ;;
  68636.  
  68637. irix5* | irix6* | nonstopux*)
  68638. @@ -7612,9 +8613,9 @@
  68639. lt_prog_compiler_static='-non_shared'
  68640. ;;
  68641.  
  68642. - linux* | k*bsd*-gnu | kopensolaris*-gnu)
  68643. + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  68644. case $cc_basename in
  68645. - # old Intel for x86_64 which still supported -KPIC.
  68646. + # old Intel for x86_64, which still supported -KPIC.
  68647. ecc*)
  68648. lt_prog_compiler_wl='-Wl,'
  68649. lt_prog_compiler_pic='-KPIC'
  68650. @@ -7633,7 +8634,19 @@
  68651. lt_prog_compiler_pic='--shared'
  68652. lt_prog_compiler_static='--static'
  68653. ;;
  68654. - pgcc* | pgf77* | pgf90* | pgf95*)
  68655. + nagfor*)
  68656. + # NAG Fortran compiler
  68657. + lt_prog_compiler_wl='-Wl,-Wl,,'
  68658. + lt_prog_compiler_pic='-PIC'
  68659. + lt_prog_compiler_static='-Bstatic'
  68660. + ;;
  68661. + tcc*)
  68662. + # Fabrice Bellard et al's Tiny C Compiler
  68663. + lt_prog_compiler_wl='-Wl,'
  68664. + lt_prog_compiler_pic='-fPIC'
  68665. + lt_prog_compiler_static='-static'
  68666. + ;;
  68667. + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  68668. # Portland Group compilers (*not* the Pentium gcc compiler,
  68669. # which looks to be a dead project)
  68670. lt_prog_compiler_wl='-Wl,'
  68671. @@ -7645,25 +8658,40 @@
  68672. # All Alpha code is PIC.
  68673. lt_prog_compiler_static='-non_shared'
  68674. ;;
  68675. - xl*)
  68676. - # IBM XL C 8.0/Fortran 10.1 on PPC
  68677. + xl* | bgxl* | bgf* | mpixl*)
  68678. + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  68679. lt_prog_compiler_wl='-Wl,'
  68680. lt_prog_compiler_pic='-qpic'
  68681. lt_prog_compiler_static='-qstaticlink'
  68682. ;;
  68683. *)
  68684. case `$CC -V 2>&1 | sed 5q` in
  68685. + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  68686. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  68687. + lt_prog_compiler_pic='-KPIC'
  68688. + lt_prog_compiler_static='-Bstatic'
  68689. + lt_prog_compiler_wl=''
  68690. + ;;
  68691. + *Sun\ F* | *Sun*Fortran*)
  68692. + lt_prog_compiler_pic='-KPIC'
  68693. + lt_prog_compiler_static='-Bstatic'
  68694. + lt_prog_compiler_wl='-Qoption ld '
  68695. + ;;
  68696. *Sun\ C*)
  68697. # Sun C 5.9
  68698. lt_prog_compiler_pic='-KPIC'
  68699. lt_prog_compiler_static='-Bstatic'
  68700. lt_prog_compiler_wl='-Wl,'
  68701. ;;
  68702. - *Sun\ F*)
  68703. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  68704. - lt_prog_compiler_pic='-KPIC'
  68705. + *Intel*\ [CF]*Compiler*)
  68706. + lt_prog_compiler_wl='-Wl,'
  68707. + lt_prog_compiler_pic='-fPIC'
  68708. + lt_prog_compiler_static='-static'
  68709. + ;;
  68710. + *Portland\ Group*)
  68711. + lt_prog_compiler_wl='-Wl,'
  68712. + lt_prog_compiler_pic='-fpic'
  68713. lt_prog_compiler_static='-Bstatic'
  68714. - lt_prog_compiler_wl=''
  68715. ;;
  68716. esac
  68717. ;;
  68718. @@ -7695,7 +8723,7 @@
  68719. lt_prog_compiler_pic='-KPIC'
  68720. lt_prog_compiler_static='-Bstatic'
  68721. case $cc_basename in
  68722. - f77* | f90* | f95*)
  68723. + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  68724. lt_prog_compiler_wl='-Qoption ld ';;
  68725. *)
  68726. lt_prog_compiler_wl='-Wl,';;
  68727. @@ -7715,7 +8743,7 @@
  68728. ;;
  68729.  
  68730. sysv4*MP*)
  68731. - if test -d /usr/nec ;then
  68732. + if test -d /usr/nec; then
  68733. lt_prog_compiler_pic='-Kconform_pic'
  68734. lt_prog_compiler_static='-Bstatic'
  68735. fi
  68736. @@ -7744,7 +8772,7 @@
  68737. fi
  68738.  
  68739. case $host_os in
  68740. - # For platforms which do not support PIC, -DPIC is meaningless:
  68741. + # For platforms that do not support PIC, -DPIC is meaningless:
  68742. *djgpp*)
  68743. lt_prog_compiler_pic=
  68744. ;;
  68745. @@ -7752,13 +8780,17 @@
  68746. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  68747. ;;
  68748. esac
  68749. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  68750. -$as_echo "$lt_prog_compiler_pic" >&6; }
  68751. -
  68752. -
  68753. -
  68754. -
  68755.  
  68756. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  68757. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  68758. +if ${lt_cv_prog_compiler_pic+:} false; then :
  68759. + $as_echo_n "(cached) " >&6
  68760. +else
  68761. + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  68762. +fi
  68763. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  68764. +$as_echo "$lt_cv_prog_compiler_pic" >&6; }
  68765. +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  68766.  
  68767. #
  68768. # Check to make sure the PIC flag actually works.
  68769. @@ -7772,7 +8804,7 @@
  68770. lt_cv_prog_compiler_pic_works=no
  68771. ac_outfile=conftest.$ac_objext
  68772. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  68773. - lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  68774. + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
  68775. # Insert the option either (1) after the last *FLAGS variable, or
  68776. # (2) before a word containing "conftest.", or (3) at the end.
  68777. # Note that $ac_compile itself does not contain backslashes and begins
  68778. @@ -7782,15 +8814,15 @@
  68779. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  68780. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  68781. -e 's:$: $lt_compiler_flag:'`
  68782. - (eval echo "\"\$as_me:7785: $lt_compile\"" >&5)
  68783. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  68784. (eval "$lt_compile" 2>conftest.err)
  68785. ac_status=$?
  68786. cat conftest.err >&5
  68787. - echo "$as_me:7789: \$? = $ac_status" >&5
  68788. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  68789. if (exit $ac_status) && test -s "$ac_outfile"; then
  68790. # The compiler can only warn and ignore the option if not recognized
  68791. # So say no if there are warnings other than the usual output.
  68792. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  68793. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  68794. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  68795. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  68796. lt_cv_prog_compiler_pic_works=yes
  68797. @@ -7802,7 +8834,7 @@
  68798. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  68799. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  68800.  
  68801. -if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  68802. +if test yes = "$lt_cv_prog_compiler_pic_works"; then
  68803. case $lt_prog_compiler_pic in
  68804. "" | " "*) ;;
  68805. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  68806. @@ -7819,6 +8851,11 @@
  68807.  
  68808.  
  68809.  
  68810. +
  68811. +
  68812. +
  68813. +
  68814. +
  68815. #
  68816. # Check to make sure the static flag actually works.
  68817. #
  68818. @@ -7829,7 +8866,7 @@
  68819. $as_echo_n "(cached) " >&6
  68820. else
  68821. lt_cv_prog_compiler_static_works=no
  68822. - save_LDFLAGS="$LDFLAGS"
  68823. + save_LDFLAGS=$LDFLAGS
  68824. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  68825. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  68826. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  68827. @@ -7838,7 +8875,7 @@
  68828. if test -s conftest.err; then
  68829. # Append any errors to the config.log.
  68830. cat conftest.err 1>&5
  68831. - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  68832. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  68833. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  68834. if diff conftest.exp conftest.er2 >/dev/null; then
  68835. lt_cv_prog_compiler_static_works=yes
  68836. @@ -7848,13 +8885,13 @@
  68837. fi
  68838. fi
  68839. $RM -r conftest*
  68840. - LDFLAGS="$save_LDFLAGS"
  68841. + LDFLAGS=$save_LDFLAGS
  68842.  
  68843. fi
  68844. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  68845. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  68846.  
  68847. -if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  68848. +if test yes = "$lt_cv_prog_compiler_static_works"; then
  68849. :
  68850. else
  68851. lt_prog_compiler_static=
  68852. @@ -7887,16 +8924,16 @@
  68853. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  68854. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  68855. -e 's:$: $lt_compiler_flag:'`
  68856. - (eval echo "\"\$as_me:7890: $lt_compile\"" >&5)
  68857. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  68858. (eval "$lt_compile" 2>out/conftest.err)
  68859. ac_status=$?
  68860. cat out/conftest.err >&5
  68861. - echo "$as_me:7894: \$? = $ac_status" >&5
  68862. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  68863. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  68864. then
  68865. # The compiler can only warn and ignore the option if not recognized
  68866. # So say no if there are warnings
  68867. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  68868. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  68869. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  68870. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  68871. lt_cv_prog_compiler_c_o=yes
  68872. @@ -7942,16 +8979,16 @@
  68873. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  68874. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  68875. -e 's:$: $lt_compiler_flag:'`
  68876. - (eval echo "\"\$as_me:7945: $lt_compile\"" >&5)
  68877. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  68878. (eval "$lt_compile" 2>out/conftest.err)
  68879. ac_status=$?
  68880. cat out/conftest.err >&5
  68881. - echo "$as_me:7949: \$? = $ac_status" >&5
  68882. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  68883. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  68884. then
  68885. # The compiler can only warn and ignore the option if not recognized
  68886. # So say no if there are warnings
  68887. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  68888. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  68889. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  68890. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  68891. lt_cv_prog_compiler_c_o=yes
  68892. @@ -7974,8 +9011,8 @@
  68893.  
  68894.  
  68895.  
  68896. -hard_links="nottested"
  68897. -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  68898. +hard_links=nottested
  68899. +if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
  68900. # do not overwrite the value of need_locks provided by the user
  68901. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  68902. $as_echo_n "checking if we can lock with hard links... " >&6; }
  68903. @@ -7987,9 +9024,9 @@
  68904. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  68905. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  68906. $as_echo "$hard_links" >&6; }
  68907. - if test "$hard_links" = no; then
  68908. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  68909. -$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  68910. + if test no = "$hard_links"; then
  68911. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
  68912. +$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
  68913. need_locks=warn
  68914. fi
  68915. else
  68916. @@ -8017,7 +9054,6 @@
  68917. hardcode_direct=no
  68918. hardcode_direct_absolute=no
  68919. hardcode_libdir_flag_spec=
  68920. - hardcode_libdir_flag_spec_ld=
  68921. hardcode_libdir_separator=
  68922. hardcode_minus_L=no
  68923. hardcode_shlibpath_var=unsupported
  68924. @@ -8033,9 +9069,9 @@
  68925. # included in the symbol list
  68926. include_expsyms=
  68927. # exclude_expsyms can be an extended regexp of symbols to exclude
  68928. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  68929. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  68930. - # as well as any symbol that contains `d'.
  68931. + # it will be wrapped by ' (' and ')$', so one must not match beginning or
  68932. + # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
  68933. + # as well as any symbol that contains 'd'.
  68934. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  68935. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  68936. # platforms (ab)use it in PIC code, but their linkers get confused if
  68937. @@ -8050,7 +9086,7 @@
  68938. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  68939. # When not using gcc, we currently assume that we are using
  68940. # Microsoft Visual C++.
  68941. - if test "$GCC" != yes; then
  68942. + if test yes != "$GCC"; then
  68943. with_gnu_ld=no
  68944. fi
  68945. ;;
  68946. @@ -8058,33 +9094,56 @@
  68947. # we just hope/assume this is gcc and not c89 (= MSVC++)
  68948. with_gnu_ld=yes
  68949. ;;
  68950. - openbsd*)
  68951. + openbsd* | bitrig*)
  68952. with_gnu_ld=no
  68953. ;;
  68954. - linux* | k*bsd*-gnu)
  68955. - link_all_deplibs=no
  68956. - ;;
  68957. esac
  68958.  
  68959. ld_shlibs=yes
  68960. - if test "$with_gnu_ld" = yes; then
  68961. +
  68962. + # On some targets, GNU ld is compatible enough with the native linker
  68963. + # that we're better off using the native interface for both.
  68964. + lt_use_gnu_ld_interface=no
  68965. + if test yes = "$with_gnu_ld"; then
  68966. + case $host_os in
  68967. + aix*)
  68968. + # The AIX port of GNU ld has always aspired to compatibility
  68969. + # with the native linker. However, as the warning in the GNU ld
  68970. + # block says, versions before 2.19.5* couldn't really create working
  68971. + # shared libraries, regardless of the interface used.
  68972. + case `$LD -v 2>&1` in
  68973. + *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  68974. + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  68975. + *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  68976. + *)
  68977. + lt_use_gnu_ld_interface=yes
  68978. + ;;
  68979. + esac
  68980. + ;;
  68981. + *)
  68982. + lt_use_gnu_ld_interface=yes
  68983. + ;;
  68984. + esac
  68985. + fi
  68986. +
  68987. + if test yes = "$lt_use_gnu_ld_interface"; then
  68988. # If archive_cmds runs LD, not CC, wlarc should be empty
  68989. - wlarc='${wl}'
  68990. + wlarc='$wl'
  68991.  
  68992. # Set some defaults for GNU ld with shared library support. These
  68993. # are reset later if shared libraries are not supported. Putting them
  68994. # here allows them to be overridden if necessary.
  68995. runpath_var=LD_RUN_PATH
  68996. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  68997. - export_dynamic_flag_spec='${wl}--export-dynamic'
  68998. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  68999. + export_dynamic_flag_spec='$wl--export-dynamic'
  69000. # ancient GNU ld didn't support --whole-archive et. al.
  69001. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  69002. - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  69003. + whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  69004. else
  69005. whole_archive_flag_spec=
  69006. fi
  69007. supports_anon_versioning=no
  69008. - case `$LD -v 2>&1` in
  69009. + case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
  69010. *GNU\ gold*) supports_anon_versioning=yes ;;
  69011. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  69012. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  69013. @@ -8097,15 +9156,16 @@
  69014. case $host_os in
  69015. aix[3-9]*)
  69016. # On AIX/PPC, the GNU linker is very broken
  69017. - if test "$host_cpu" != ia64; then
  69018. + if test ia64 != "$host_cpu"; then
  69019. ld_shlibs=no
  69020. cat <<_LT_EOF 1>&2
  69021.  
  69022. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  69023. +*** Warning: the GNU linker, at least up to release 2.19, is reported
  69024. *** to be unable to reliably create shared libraries on AIX.
  69025. *** Therefore, libtool is disabling shared libraries support. If you
  69026. -*** really care for shared libraries, you may want to modify your PATH
  69027. -*** so that a non-GNU linker is found, and then restart.
  69028. +*** really care for shared libraries, you may want to install binutils
  69029. +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  69030. +*** You will then need to restart the configuration process.
  69031.  
  69032. _LT_EOF
  69033. fi
  69034. @@ -8115,7 +9175,7 @@
  69035. case $host_cpu in
  69036. powerpc)
  69037. # see comment about AmigaOS4 .so support
  69038. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  69039. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69040. archive_expsym_cmds=''
  69041. ;;
  69042. m68k)
  69043. @@ -8131,7 +9191,7 @@
  69044. allow_undefined_flag=unsupported
  69045. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  69046. # support --undefined. This deserves some investigation. FIXME
  69047. - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  69048. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69049. else
  69050. ld_shlibs=no
  69051. fi
  69052. @@ -8141,61 +9201,97 @@
  69053. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  69054. # as there is no search path for DLLs.
  69055. hardcode_libdir_flag_spec='-L$libdir'
  69056. + export_dynamic_flag_spec='$wl--export-all-symbols'
  69057. allow_undefined_flag=unsupported
  69058. always_export_symbols=no
  69059. enable_shared_with_static_runtimes=yes
  69060. - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  69061. + 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'
  69062. + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  69063.  
  69064. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  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 (1st line
  69067. - # is EXPORTS), use it as is; otherwise, prepend...
  69068. - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; 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. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  69076. + # If the export-symbols file already is a .def file, use it as
  69077. + # is; otherwise, prepend EXPORTS...
  69078. + archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  69079. + cp $export_symbols $output_objdir/$soname.def;
  69080. + else
  69081. + echo EXPORTS > $output_objdir/$soname.def;
  69082. + cat $export_symbols >> $output_objdir/$soname.def;
  69083. + fi~
  69084. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  69085. else
  69086. ld_shlibs=no
  69087. fi
  69088. ;;
  69089.  
  69090. + haiku*)
  69091. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69092. + link_all_deplibs=yes
  69093. + ;;
  69094. +
  69095. + os2*)
  69096. + hardcode_libdir_flag_spec='-L$libdir'
  69097. + hardcode_minus_L=yes
  69098. + allow_undefined_flag=unsupported
  69099. + shrext_cmds=.dll
  69100. + archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  69101. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  69102. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  69103. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  69104. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  69105. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  69106. + emximp -o $lib $output_objdir/$libname.def'
  69107. + archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  69108. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  69109. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  69110. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  69111. + prefix_cmds="$SED"~
  69112. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  69113. + prefix_cmds="$prefix_cmds -e 1d";
  69114. + fi~
  69115. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  69116. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  69117. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  69118. + emximp -o $lib $output_objdir/$libname.def'
  69119. + old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  69120. + enable_shared_with_static_runtimes=yes
  69121. + ;;
  69122. +
  69123. interix[3-9]*)
  69124. hardcode_direct=no
  69125. hardcode_shlibpath_var=no
  69126. - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  69127. - export_dynamic_flag_spec='${wl}-E'
  69128. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  69129. + export_dynamic_flag_spec='$wl-E'
  69130. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  69131. # Instead, shared libraries are loaded at an image base (0x10000000 by
  69132. # default) and relocated if they conflict, which is a slow very memory
  69133. # consuming and fragmenting process. To avoid this, we pick a random,
  69134. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  69135. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  69136. - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  69137. - 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'
  69138. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  69139. + 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'
  69140. ;;
  69141.  
  69142. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  69143. tmp_diet=no
  69144. - if test "$host_os" = linux-dietlibc; then
  69145. + if test linux-dietlibc = "$host_os"; then
  69146. case $cc_basename in
  69147. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  69148. esac
  69149. fi
  69150. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  69151. - && test "$tmp_diet" = no
  69152. + && test no = "$tmp_diet"
  69153. then
  69154. - tmp_addflag=
  69155. + tmp_addflag=' $pic_flag'
  69156. tmp_sharedflag='-shared'
  69157. case $cc_basename,$host_cpu in
  69158. pgcc*) # Portland Group C compiler
  69159. - 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'
  69160. + 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'
  69161. tmp_addflag=' $pic_flag'
  69162. ;;
  69163. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  69164. - 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'
  69165. + pgf77* | pgf90* | pgf95* | pgfortran*)
  69166. + # Portland Group f77 and f90 compilers
  69167. + 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'
  69168. tmp_addflag=' $pic_flag -Mnomain' ;;
  69169. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  69170. tmp_addflag=' -i_dynamic' ;;
  69171. @@ -8206,39 +9302,47 @@
  69172. lf95*) # Lahey Fortran 8.1
  69173. whole_archive_flag_spec=
  69174. tmp_sharedflag='--shared' ;;
  69175. - xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  69176. + nagfor*) # NAGFOR 5.3
  69177. + tmp_sharedflag='-Wl,-shared' ;;
  69178. + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  69179. tmp_sharedflag='-qmkshrobj'
  69180. tmp_addflag= ;;
  69181. + nvcc*) # Cuda Compiler Driver 2.2
  69182. + 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'
  69183. + compiler_needs_object=yes
  69184. + ;;
  69185. esac
  69186. case `$CC -V 2>&1 | sed 5q` in
  69187. *Sun\ C*) # Sun C 5.9
  69188. - 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'
  69189. + 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'
  69190. compiler_needs_object=yes
  69191. tmp_sharedflag='-G' ;;
  69192. *Sun\ F*) # Sun Fortran 8.3
  69193. tmp_sharedflag='-G' ;;
  69194. esac
  69195. - archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  69196. + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69197.  
  69198. - if test "x$supports_anon_versioning" = xyes; then
  69199. + if test yes = "$supports_anon_versioning"; then
  69200. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  69201. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  69202. - echo "local: *; };" >> $output_objdir/$libname.ver~
  69203. - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  69204. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  69205. + echo "local: *; };" >> $output_objdir/$libname.ver~
  69206. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  69207. fi
  69208.  
  69209. case $cc_basename in
  69210. - xlf*)
  69211. + tcc*)
  69212. + export_dynamic_flag_spec='-rdynamic'
  69213. + ;;
  69214. + xlf* | bgf* | bgxlf* | mpixlf*)
  69215. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  69216. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  69217. - hardcode_libdir_flag_spec=
  69218. - hardcode_libdir_flag_spec_ld='-rpath $libdir'
  69219. - archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  69220. - if test "x$supports_anon_versioning" = xyes; then
  69221. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  69222. + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  69223. + if test yes = "$supports_anon_versioning"; then
  69224. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  69225. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  69226. - echo "local: *; };" >> $output_objdir/$libname.ver~
  69227. - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  69228. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  69229. + echo "local: *; };" >> $output_objdir/$libname.ver~
  69230. + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  69231. fi
  69232. ;;
  69233. esac
  69234. @@ -8247,13 +9351,13 @@
  69235. fi
  69236. ;;
  69237.  
  69238. - netbsd* | netbsdelf*-gnu)
  69239. + netbsd*)
  69240. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  69241. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  69242. wlarc=
  69243. else
  69244. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  69245. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  69246. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69247. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  69248. fi
  69249. ;;
  69250.  
  69251. @@ -8271,8 +9375,8 @@
  69252.  
  69253. _LT_EOF
  69254. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  69255. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  69256. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  69257. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69258. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  69259. else
  69260. ld_shlibs=no
  69261. fi
  69262. @@ -8284,7 +9388,7 @@
  69263. ld_shlibs=no
  69264. cat <<_LT_EOF 1>&2
  69265.  
  69266. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  69267. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
  69268. *** reliably create shared libraries on SCO systems. Therefore, libtool
  69269. *** is disabling shared libraries support. We urge you to upgrade GNU
  69270. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  69271. @@ -8299,9 +9403,9 @@
  69272. # DT_RUNPATH tag from executables and libraries. But doing so
  69273. # requires that you compile everything twice, which is a pain.
  69274. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  69275. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  69276. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  69277. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  69278. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  69279. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69280. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  69281. else
  69282. ld_shlibs=no
  69283. fi
  69284. @@ -8318,15 +9422,15 @@
  69285.  
  69286. *)
  69287. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  69288. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  69289. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  69290. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69291. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  69292. else
  69293. ld_shlibs=no
  69294. fi
  69295. ;;
  69296. esac
  69297.  
  69298. - if test "$ld_shlibs" = no; then
  69299. + if test no = "$ld_shlibs"; then
  69300. runpath_var=
  69301. hardcode_libdir_flag_spec=
  69302. export_dynamic_flag_spec=
  69303. @@ -8342,7 +9446,7 @@
  69304. # Note: this linker hardcodes the directories in LIBPATH if there
  69305. # are no directories specified by -L.
  69306. hardcode_minus_L=yes
  69307. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  69308. + if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
  69309. # Neither direct hardcoding nor static linking is supported with a
  69310. # broken collect2.
  69311. hardcode_direct=unsupported
  69312. @@ -8350,32 +9454,57 @@
  69313. ;;
  69314.  
  69315. aix[4-9]*)
  69316. - if test "$host_cpu" = ia64; then
  69317. + if test ia64 = "$host_cpu"; then
  69318. # On IA64, the linker does run time linking by default, so we don't
  69319. # have to do anything special.
  69320. aix_use_runtimelinking=no
  69321. exp_sym_flag='-Bexport'
  69322. - no_entry_flag=""
  69323. + no_entry_flag=
  69324. else
  69325. # If we're using GNU nm, then we don't want the "-C" option.
  69326. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  69327. + # -C means demangle to GNU nm, but means don't demangle to AIX nm.
  69328. + # Without the "-l" option, or with the "-B" option, AIX nm treats
  69329. + # weak defined symbols like other global defined symbols, whereas
  69330. + # GNU nm marks them as "W".
  69331. + # While the 'weak' keyword is ignored in the Export File, we need
  69332. + # it in the Import File for the 'aix-soname' feature, so we have
  69333. + # to replace the "-B" option with "-P" for AIX nm.
  69334. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  69335. - 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'
  69336. + 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'
  69337. else
  69338. - 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'
  69339. + 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'
  69340. fi
  69341. aix_use_runtimelinking=no
  69342.  
  69343. # Test if we are trying to use run time linking or normal
  69344. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  69345. - # need to do runtime linking.
  69346. + # have runtime linking enabled, and use it for executables.
  69347. + # For shared libraries, we enable/disable runtime linking
  69348. + # depending on the kind of the shared library created -
  69349. + # when "with_aix_soname,aix_use_runtimelinking" is:
  69350. + # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
  69351. + # "aix,yes" lib.so shared, rtl:yes, for executables
  69352. + # lib.a static archive
  69353. + # "both,no" lib.so.V(shr.o) shared, rtl:yes
  69354. + # lib.a(lib.so.V) shared, rtl:no, for executables
  69355. + # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
  69356. + # lib.a(lib.so.V) shared, rtl:no
  69357. + # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
  69358. + # lib.a static archive
  69359. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  69360. for ld_flag in $LDFLAGS; do
  69361. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  69362. + if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
  69363. aix_use_runtimelinking=yes
  69364. break
  69365. fi
  69366. done
  69367. + if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
  69368. + # With aix-soname=svr4, we create the lib.so.V shared archives only,
  69369. + # so we don't have lib.a shared libs to link our executables.
  69370. + # We have to force runtime linking in this case.
  69371. + aix_use_runtimelinking=yes
  69372. + LDFLAGS="$LDFLAGS -Wl,-brtl"
  69373. + fi
  69374. ;;
  69375. esac
  69376.  
  69377. @@ -8394,13 +9523,21 @@
  69378. hardcode_direct_absolute=yes
  69379. hardcode_libdir_separator=':'
  69380. link_all_deplibs=yes
  69381. - file_list_spec='${wl}-f,'
  69382. + file_list_spec='$wl-f,'
  69383. + case $with_aix_soname,$aix_use_runtimelinking in
  69384. + aix,*) ;; # traditional, no import file
  69385. + svr4,* | *,yes) # use import file
  69386. + # The Import File defines what to hardcode.
  69387. + hardcode_direct=no
  69388. + hardcode_direct_absolute=no
  69389. + ;;
  69390. + esac
  69391.  
  69392. - if test "$GCC" = yes; then
  69393. + if test yes = "$GCC"; then
  69394. case $host_os in aix4.[012]|aix4.[012].*)
  69395. # We only want to do this on AIX 4.2 and lower, the check
  69396. # below for broken collect2 doesn't work under 4.3+
  69397. - collect2name=`${CC} -print-prog-name=collect2`
  69398. + collect2name=`$CC -print-prog-name=collect2`
  69399. if test -f "$collect2name" &&
  69400. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  69401. then
  69402. @@ -8419,36 +9556,48 @@
  69403. ;;
  69404. esac
  69405. shared_flag='-shared'
  69406. - if test "$aix_use_runtimelinking" = yes; then
  69407. - shared_flag="$shared_flag "'${wl}-G'
  69408. + if test yes = "$aix_use_runtimelinking"; then
  69409. + shared_flag="$shared_flag "'$wl-G'
  69410. fi
  69411. - link_all_deplibs=no
  69412. + # Need to ensure runtime linking is disabled for the traditional
  69413. + # shared library, or the linker may eventually find shared libraries
  69414. + # /with/ Import File - we do not want to mix them.
  69415. + shared_flag_aix='-shared'
  69416. + shared_flag_svr4='-shared $wl-G'
  69417. else
  69418. # not using gcc
  69419. - if test "$host_cpu" = ia64; then
  69420. + if test ia64 = "$host_cpu"; then
  69421. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  69422. # chokes on -Wl,-G. The following line is correct:
  69423. shared_flag='-G'
  69424. else
  69425. - if test "$aix_use_runtimelinking" = yes; then
  69426. - shared_flag='${wl}-G'
  69427. + if test yes = "$aix_use_runtimelinking"; then
  69428. + shared_flag='$wl-G'
  69429. else
  69430. - shared_flag='${wl}-bM:SRE'
  69431. + shared_flag='$wl-bM:SRE'
  69432. fi
  69433. + shared_flag_aix='$wl-bM:SRE'
  69434. + shared_flag_svr4='$wl-G'
  69435. fi
  69436. fi
  69437.  
  69438. - export_dynamic_flag_spec='${wl}-bexpall'
  69439. + export_dynamic_flag_spec='$wl-bexpall'
  69440. # It seems that -bexpall does not export symbols beginning with
  69441. # underscore (_), so it is better to generate a list of symbols to export.
  69442. always_export_symbols=yes
  69443. - if test "$aix_use_runtimelinking" = yes; then
  69444. + if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
  69445. # Warning - without using the other runtime loading flags (-brtl),
  69446. # -berok will link without error, but may produce a broken library.
  69447. allow_undefined_flag='-berok'
  69448. # Determine the default libpath from the value encoded in an
  69449. # empty executable.
  69450. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69451. + if test set = "${lt_cv_aix_libpath+set}"; then
  69452. + aix_libpath=$lt_cv_aix_libpath
  69453. +else
  69454. + if ${lt_cv_aix_libpath_+:} false; then :
  69455. + $as_echo_n "(cached) " >&6
  69456. +else
  69457. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69458. /* end confdefs.h. */
  69459.  
  69460. int
  69461. @@ -8461,34 +9610,47 @@
  69462. _ACEOF
  69463. if ac_fn_c_try_link "$LINENO"; then :
  69464.  
  69465. -lt_aix_libpath_sed='
  69466. - /Import File Strings/,/^$/ {
  69467. - /^0/ {
  69468. - s/^0 *\(.*\)$/\1/
  69469. - p
  69470. - }
  69471. - }'
  69472. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  69473. -# Check for a 64-bit object if we didn't find anything.
  69474. -if test -z "$aix_libpath"; then
  69475. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  69476. -fi
  69477. + lt_aix_libpath_sed='
  69478. + /Import File Strings/,/^$/ {
  69479. + /^0/ {
  69480. + s/^0 *\([^ ]*\) *$/\1/
  69481. + p
  69482. + }
  69483. + }'
  69484. + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  69485. + # Check for a 64-bit object if we didn't find anything.
  69486. + if test -z "$lt_cv_aix_libpath_"; then
  69487. + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  69488. + fi
  69489. fi
  69490. rm -f core conftest.err conftest.$ac_objext \
  69491. conftest$ac_exeext conftest.$ac_ext
  69492. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  69493. + if test -z "$lt_cv_aix_libpath_"; then
  69494. + lt_cv_aix_libpath_=/usr/lib:/lib
  69495. + fi
  69496. +
  69497. +fi
  69498.  
  69499. - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  69500. - 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"
  69501. + aix_libpath=$lt_cv_aix_libpath_
  69502. +fi
  69503. +
  69504. + hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  69505. + 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
  69506. else
  69507. - if test "$host_cpu" = ia64; then
  69508. - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  69509. + if test ia64 = "$host_cpu"; then
  69510. + hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
  69511. allow_undefined_flag="-z nodefs"
  69512. - 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"
  69513. + 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"
  69514. else
  69515. # Determine the default libpath from the value encoded in an
  69516. # empty executable.
  69517. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69518. + if test set = "${lt_cv_aix_libpath+set}"; then
  69519. + aix_libpath=$lt_cv_aix_libpath
  69520. +else
  69521. + if ${lt_cv_aix_libpath_+:} false; then :
  69522. + $as_echo_n "(cached) " >&6
  69523. +else
  69524. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69525. /* end confdefs.h. */
  69526.  
  69527. int
  69528. @@ -8501,33 +9663,57 @@
  69529. _ACEOF
  69530. if ac_fn_c_try_link "$LINENO"; then :
  69531.  
  69532. -lt_aix_libpath_sed='
  69533. - /Import File Strings/,/^$/ {
  69534. - /^0/ {
  69535. - s/^0 *\(.*\)$/\1/
  69536. - p
  69537. - }
  69538. - }'
  69539. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  69540. -# Check for a 64-bit object if we didn't find anything.
  69541. -if test -z "$aix_libpath"; then
  69542. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  69543. -fi
  69544. + lt_aix_libpath_sed='
  69545. + /Import File Strings/,/^$/ {
  69546. + /^0/ {
  69547. + s/^0 *\([^ ]*\) *$/\1/
  69548. + p
  69549. + }
  69550. + }'
  69551. + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  69552. + # Check for a 64-bit object if we didn't find anything.
  69553. + if test -z "$lt_cv_aix_libpath_"; then
  69554. + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  69555. + fi
  69556. fi
  69557. rm -f core conftest.err conftest.$ac_objext \
  69558. conftest$ac_exeext conftest.$ac_ext
  69559. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  69560. + if test -z "$lt_cv_aix_libpath_"; then
  69561. + lt_cv_aix_libpath_=/usr/lib:/lib
  69562. + fi
  69563. +
  69564. +fi
  69565. +
  69566. + aix_libpath=$lt_cv_aix_libpath_
  69567. +fi
  69568.  
  69569. - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  69570. + hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  69571. # Warning - without using the other run time loading flags,
  69572. # -berok will link without error, but may produce a broken library.
  69573. - no_undefined_flag=' ${wl}-bernotok'
  69574. - allow_undefined_flag=' ${wl}-berok'
  69575. - # Exported symbols can be pulled into shared objects from archives
  69576. - whole_archive_flag_spec='$convenience'
  69577. + no_undefined_flag=' $wl-bernotok'
  69578. + allow_undefined_flag=' $wl-berok'
  69579. + if test yes = "$with_gnu_ld"; then
  69580. + # We only use this code for GNU lds that support --whole-archive.
  69581. + whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
  69582. + else
  69583. + # Exported symbols can be pulled into shared objects from archives
  69584. + whole_archive_flag_spec='$convenience'
  69585. + fi
  69586. archive_cmds_need_lc=yes
  69587. - # This is similar to how AIX traditionally builds its shared libraries.
  69588. - 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'
  69589. + archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
  69590. + # -brtl affects multiple linker settings, -berok does not and is overridden later
  69591. + compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
  69592. + if test svr4 != "$with_aix_soname"; then
  69593. + # This is similar to how AIX traditionally builds its shared libraries.
  69594. + 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'
  69595. + fi
  69596. + if test aix != "$with_aix_soname"; then
  69597. + 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'
  69598. + else
  69599. + # used by -dlpreopen to get the symbols
  69600. + archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
  69601. + fi
  69602. + archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
  69603. fi
  69604. fi
  69605. ;;
  69606. @@ -8536,7 +9722,7 @@
  69607. case $host_cpu in
  69608. powerpc)
  69609. # see comment about AmigaOS4 .so support
  69610. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  69611. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69612. archive_expsym_cmds=''
  69613. ;;
  69614. m68k)
  69615. @@ -8556,20 +9742,65 @@
  69616. # Microsoft Visual C++.
  69617. # hardcode_libdir_flag_spec is actually meaningless, as there is
  69618. # no search path for DLLs.
  69619. - hardcode_libdir_flag_spec=' '
  69620. - allow_undefined_flag=unsupported
  69621. - # Tell ltmain to make .lib files, not .a files.
  69622. - libext=lib
  69623. - # Tell ltmain to make .dll files, not .so files.
  69624. - shrext_cmds=".dll"
  69625. - # FIXME: Setting linknames here is a bad hack.
  69626. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  69627. - # The linker will automatically build a .lib file if we build a DLL.
  69628. - old_archive_from_new_cmds='true'
  69629. - # FIXME: Should let the user specify the lib program.
  69630. - old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  69631. - fix_srcfile_path='`cygpath -w "$srcfile"`'
  69632. - enable_shared_with_static_runtimes=yes
  69633. + case $cc_basename in
  69634. + cl*)
  69635. + # Native MSVC
  69636. + hardcode_libdir_flag_spec=' '
  69637. + allow_undefined_flag=unsupported
  69638. + always_export_symbols=yes
  69639. + file_list_spec='@'
  69640. + # Tell ltmain to make .lib files, not .a files.
  69641. + libext=lib
  69642. + # Tell ltmain to make .dll files, not .so files.
  69643. + shrext_cmds=.dll
  69644. + # FIXME: Setting linknames here is a bad hack.
  69645. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  69646. + archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  69647. + cp "$export_symbols" "$output_objdir/$soname.def";
  69648. + echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  69649. + else
  69650. + $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  69651. + fi~
  69652. + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  69653. + linknames='
  69654. + # The linker will not automatically build a static lib if we build a DLL.
  69655. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  69656. + enable_shared_with_static_runtimes=yes
  69657. + exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  69658. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  69659. + # Don't use ranlib
  69660. + old_postinstall_cmds='chmod 644 $oldlib'
  69661. + postlink_cmds='lt_outputfile="@OUTPUT@"~
  69662. + lt_tool_outputfile="@TOOL_OUTPUT@"~
  69663. + case $lt_outputfile in
  69664. + *.exe|*.EXE) ;;
  69665. + *)
  69666. + lt_outputfile=$lt_outputfile.exe
  69667. + lt_tool_outputfile=$lt_tool_outputfile.exe
  69668. + ;;
  69669. + esac~
  69670. + if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  69671. + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  69672. + $RM "$lt_outputfile.manifest";
  69673. + fi'
  69674. + ;;
  69675. + *)
  69676. + # Assume MSVC wrapper
  69677. + hardcode_libdir_flag_spec=' '
  69678. + allow_undefined_flag=unsupported
  69679. + # Tell ltmain to make .lib files, not .a files.
  69680. + libext=lib
  69681. + # Tell ltmain to make .dll files, not .so files.
  69682. + shrext_cmds=.dll
  69683. + # FIXME: Setting linknames here is a bad hack.
  69684. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  69685. + # The linker will automatically build a .lib file if we build a DLL.
  69686. + old_archive_from_new_cmds='true'
  69687. + # FIXME: Should let the user specify the lib program.
  69688. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  69689. + enable_shared_with_static_runtimes=yes
  69690. + ;;
  69691. + esac
  69692. ;;
  69693.  
  69694. darwin* | rhapsody*)
  69695. @@ -8579,19 +9810,24 @@
  69696. hardcode_direct=no
  69697. hardcode_automatic=yes
  69698. hardcode_shlibpath_var=unsupported
  69699. - whole_archive_flag_spec=''
  69700. + if test yes = "$lt_cv_ld_force_load"; then
  69701. + 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\"`'
  69702. +
  69703. + else
  69704. + whole_archive_flag_spec=''
  69705. + fi
  69706. link_all_deplibs=yes
  69707. - allow_undefined_flag="$_lt_dar_allow_undefined"
  69708. + allow_undefined_flag=$_lt_dar_allow_undefined
  69709. case $cc_basename in
  69710. - ifort*) _lt_dar_can_shared=yes ;;
  69711. + ifort*|nagfor*) _lt_dar_can_shared=yes ;;
  69712. *) _lt_dar_can_shared=$GCC ;;
  69713. esac
  69714. - if test "$_lt_dar_can_shared" = "yes"; then
  69715. - output_verbose_link_cmd=echo
  69716. - archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  69717. - module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  69718. - 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}"
  69719. - 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}"
  69720. + if test yes = "$_lt_dar_can_shared"; then
  69721. + output_verbose_link_cmd=func_echo_all
  69722. + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
  69723. + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
  69724. + 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"
  69725. + 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"
  69726.  
  69727. else
  69728. ld_shlibs=no
  69729. @@ -8605,10 +9841,6 @@
  69730. hardcode_shlibpath_var=no
  69731. ;;
  69732.  
  69733. - freebsd1*)
  69734. - ld_shlibs=no
  69735. - ;;
  69736. -
  69737. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  69738. # support. Future versions do this automatically, but an explicit c++rt0.o
  69739. # does not break anything, and helps significantly (at the cost of a little
  69740. @@ -8621,7 +9853,7 @@
  69741. ;;
  69742.  
  69743. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  69744. - freebsd2*)
  69745. + freebsd2.*)
  69746. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  69747. hardcode_direct=yes
  69748. hardcode_minus_L=yes
  69749. @@ -8630,41 +9862,40 @@
  69750.  
  69751. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  69752. freebsd* | dragonfly*)
  69753. - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  69754. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  69755. hardcode_libdir_flag_spec='-R$libdir'
  69756. hardcode_direct=yes
  69757. hardcode_shlibpath_var=no
  69758. ;;
  69759.  
  69760. hpux9*)
  69761. - if test "$GCC" = yes; then
  69762. - 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'
  69763. + if test yes = "$GCC"; then
  69764. + 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'
  69765. else
  69766. - 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'
  69767. + 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'
  69768. fi
  69769. - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  69770. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  69771. hardcode_libdir_separator=:
  69772. hardcode_direct=yes
  69773.  
  69774. # hardcode_minus_L: Not really in the search PATH,
  69775. # but as the default location of the library.
  69776. hardcode_minus_L=yes
  69777. - export_dynamic_flag_spec='${wl}-E'
  69778. + export_dynamic_flag_spec='$wl-E'
  69779. ;;
  69780.  
  69781. hpux10*)
  69782. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  69783. - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  69784. + if test yes,no = "$GCC,$with_gnu_ld"; then
  69785. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  69786. else
  69787. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  69788. fi
  69789. - if test "$with_gnu_ld" = no; then
  69790. - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  69791. - hardcode_libdir_flag_spec_ld='+b $libdir'
  69792. + if test no = "$with_gnu_ld"; then
  69793. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  69794. hardcode_libdir_separator=:
  69795. hardcode_direct=yes
  69796. hardcode_direct_absolute=yes
  69797. - export_dynamic_flag_spec='${wl}-E'
  69798. + export_dynamic_flag_spec='$wl-E'
  69799. # hardcode_minus_L: Not really in the search PATH,
  69800. # but as the default location of the library.
  69801. hardcode_minus_L=yes
  69802. @@ -8672,33 +9903,72 @@
  69803. ;;
  69804.  
  69805. hpux11*)
  69806. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  69807. + if test yes,no = "$GCC,$with_gnu_ld"; then
  69808. case $host_cpu in
  69809. hppa*64*)
  69810. - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  69811. + archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  69812. ;;
  69813. ia64*)
  69814. - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  69815. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  69816. ;;
  69817. *)
  69818. - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  69819. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  69820. ;;
  69821. esac
  69822. else
  69823. case $host_cpu in
  69824. hppa*64*)
  69825. - archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  69826. + archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  69827. ;;
  69828. ia64*)
  69829. - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  69830. + archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  69831. ;;
  69832. *)
  69833. - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  69834. +
  69835. + # Older versions of the 11.00 compiler do not understand -b yet
  69836. + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  69837. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  69838. +$as_echo_n "checking if $CC understands -b... " >&6; }
  69839. +if ${lt_cv_prog_compiler__b+:} false; then :
  69840. + $as_echo_n "(cached) " >&6
  69841. +else
  69842. + lt_cv_prog_compiler__b=no
  69843. + save_LDFLAGS=$LDFLAGS
  69844. + LDFLAGS="$LDFLAGS -b"
  69845. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  69846. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  69847. + # The linker can only warn and ignore the option if not recognized
  69848. + # So say no if there are warnings
  69849. + if test -s conftest.err; then
  69850. + # Append any errors to the config.log.
  69851. + cat conftest.err 1>&5
  69852. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  69853. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  69854. + if diff conftest.exp conftest.er2 >/dev/null; then
  69855. + lt_cv_prog_compiler__b=yes
  69856. + fi
  69857. + else
  69858. + lt_cv_prog_compiler__b=yes
  69859. + fi
  69860. + fi
  69861. + $RM -r conftest*
  69862. + LDFLAGS=$save_LDFLAGS
  69863. +
  69864. +fi
  69865. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  69866. +$as_echo "$lt_cv_prog_compiler__b" >&6; }
  69867. +
  69868. +if test yes = "$lt_cv_prog_compiler__b"; then
  69869. + archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  69870. +else
  69871. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  69872. +fi
  69873. +
  69874. ;;
  69875. esac
  69876. fi
  69877. - if test "$with_gnu_ld" = no; then
  69878. - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  69879. + if test no = "$with_gnu_ld"; then
  69880. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  69881. hardcode_libdir_separator=:
  69882.  
  69883. case $host_cpu in
  69884. @@ -8709,7 +9979,7 @@
  69885. *)
  69886. hardcode_direct=yes
  69887. hardcode_direct_absolute=yes
  69888. - export_dynamic_flag_spec='${wl}-E'
  69889. + export_dynamic_flag_spec='$wl-E'
  69890.  
  69891. # hardcode_minus_L: Not really in the search PATH,
  69892. # but as the default location of the library.
  69893. @@ -8720,36 +9990,59 @@
  69894. ;;
  69895.  
  69896. irix5* | irix6* | nonstopux*)
  69897. - if test "$GCC" = yes; then
  69898. - 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'
  69899. + if test yes = "$GCC"; then
  69900. + 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'
  69901. # Try to use the -exported_symbol ld option, if it does not
  69902. # work, assume that -exports_file does not work either and
  69903. # implicitly export all symbols.
  69904. - save_LDFLAGS="$LDFLAGS"
  69905. - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  69906. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69907. + # This should be the same for all languages, so no per-tag cache variable.
  69908. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  69909. +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  69910. +if ${lt_cv_irix_exported_symbol+:} false; then :
  69911. + $as_echo_n "(cached) " >&6
  69912. +else
  69913. + save_LDFLAGS=$LDFLAGS
  69914. + LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
  69915. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69916. /* end confdefs.h. */
  69917. -int foo(void) {}
  69918. +int foo (void) { return 0; }
  69919. _ACEOF
  69920. if ac_fn_c_try_link "$LINENO"; then :
  69921. - 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'
  69922. -
  69923. + lt_cv_irix_exported_symbol=yes
  69924. +else
  69925. + lt_cv_irix_exported_symbol=no
  69926. fi
  69927. rm -f core conftest.err conftest.$ac_objext \
  69928. conftest$ac_exeext conftest.$ac_ext
  69929. - LDFLAGS="$save_LDFLAGS"
  69930. + LDFLAGS=$save_LDFLAGS
  69931. +fi
  69932. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  69933. +$as_echo "$lt_cv_irix_exported_symbol" >&6; }
  69934. + if test yes = "$lt_cv_irix_exported_symbol"; then
  69935. + 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'
  69936. + fi
  69937. else
  69938. - 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'
  69939. - 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'
  69940. + 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'
  69941. + 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'
  69942. fi
  69943. archive_cmds_need_lc='no'
  69944. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  69945. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  69946. hardcode_libdir_separator=:
  69947. inherit_rpath=yes
  69948. link_all_deplibs=yes
  69949. ;;
  69950.  
  69951. - netbsd* | netbsdelf*-gnu)
  69952. + linux*)
  69953. + case $cc_basename in
  69954. + tcc*)
  69955. + # Fabrice Bellard et al's Tiny C Compiler
  69956. + ld_shlibs=yes
  69957. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  69958. + ;;
  69959. + esac
  69960. + ;;
  69961. +
  69962. + netbsd*)
  69963. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  69964. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  69965. else
  69966. @@ -8763,7 +10056,7 @@
  69967. newsos6)
  69968. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  69969. hardcode_direct=yes
  69970. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  69971. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  69972. hardcode_libdir_separator=:
  69973. hardcode_shlibpath_var=no
  69974. ;;
  69975. @@ -8771,27 +10064,19 @@
  69976. *nto* | *qnx*)
  69977. ;;
  69978.  
  69979. - openbsd*)
  69980. + openbsd* | bitrig*)
  69981. if test -f /usr/libexec/ld.so; then
  69982. hardcode_direct=yes
  69983. hardcode_shlibpath_var=no
  69984. hardcode_direct_absolute=yes
  69985. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  69986. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  69987. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  69988. - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  69989. - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  69990. - export_dynamic_flag_spec='${wl}-E'
  69991. + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
  69992. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  69993. + export_dynamic_flag_spec='$wl-E'
  69994. else
  69995. - case $host_os in
  69996. - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  69997. - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  69998. - hardcode_libdir_flag_spec='-R$libdir'
  69999. - ;;
  70000. - *)
  70001. - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  70002. - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  70003. - ;;
  70004. - esac
  70005. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  70006. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  70007. fi
  70008. else
  70009. ld_shlibs=no
  70010. @@ -8802,33 +10087,53 @@
  70011. hardcode_libdir_flag_spec='-L$libdir'
  70012. hardcode_minus_L=yes
  70013. allow_undefined_flag=unsupported
  70014. - 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'
  70015. - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  70016. + shrext_cmds=.dll
  70017. + archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  70018. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  70019. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  70020. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  70021. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  70022. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  70023. + emximp -o $lib $output_objdir/$libname.def'
  70024. + archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  70025. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  70026. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  70027. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  70028. + prefix_cmds="$SED"~
  70029. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  70030. + prefix_cmds="$prefix_cmds -e 1d";
  70031. + fi~
  70032. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  70033. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  70034. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  70035. + emximp -o $lib $output_objdir/$libname.def'
  70036. + old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  70037. + enable_shared_with_static_runtimes=yes
  70038. ;;
  70039.  
  70040. osf3*)
  70041. - if test "$GCC" = yes; then
  70042. - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  70043. - 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'
  70044. + if test yes = "$GCC"; then
  70045. + allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  70046. + 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'
  70047. else
  70048. allow_undefined_flag=' -expect_unresolved \*'
  70049. - 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'
  70050. + 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'
  70051. fi
  70052. archive_cmds_need_lc='no'
  70053. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  70054. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  70055. hardcode_libdir_separator=:
  70056. ;;
  70057.  
  70058. osf4* | osf5*) # as osf3* with the addition of -msym flag
  70059. - if test "$GCC" = yes; then
  70060. - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  70061. - 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'
  70062. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  70063. + if test yes = "$GCC"; then
  70064. + allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  70065. + 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'
  70066. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  70067. else
  70068. allow_undefined_flag=' -expect_unresolved \*'
  70069. - 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'
  70070. + 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'
  70071. 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~
  70072. - $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'
  70073. + $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'
  70074.  
  70075. # Both c and cxx compiler support -rpath directly
  70076. hardcode_libdir_flag_spec='-rpath $libdir'
  70077. @@ -8839,24 +10144,24 @@
  70078.  
  70079. solaris*)
  70080. no_undefined_flag=' -z defs'
  70081. - if test "$GCC" = yes; then
  70082. - wlarc='${wl}'
  70083. - archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  70084. + if test yes = "$GCC"; then
  70085. + wlarc='$wl'
  70086. + archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  70087. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  70088. - $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  70089. + $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'
  70090. else
  70091. case `$CC -V 2>&1` in
  70092. *"Compilers 5.0"*)
  70093. wlarc=''
  70094. - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  70095. + archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
  70096. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  70097. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  70098. + $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  70099. ;;
  70100. *)
  70101. - wlarc='${wl}'
  70102. - archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  70103. + wlarc='$wl'
  70104. + archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  70105. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  70106. - $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  70107. + $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  70108. ;;
  70109. esac
  70110. fi
  70111. @@ -8866,11 +10171,11 @@
  70112. solaris2.[0-5] | solaris2.[0-5].*) ;;
  70113. *)
  70114. # The compiler driver will combine and reorder linker options,
  70115. - # but understands `-z linker_flag'. GCC discards it without `$wl',
  70116. + # but understands '-z linker_flag'. GCC discards it without '$wl',
  70117. # but is careful enough not to reorder.
  70118. # Supported since Solaris 2.6 (maybe 2.5.1?)
  70119. - if test "$GCC" = yes; then
  70120. - whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  70121. + if test yes = "$GCC"; then
  70122. + whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  70123. else
  70124. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  70125. fi
  70126. @@ -8880,10 +10185,10 @@
  70127. ;;
  70128.  
  70129. sunos4*)
  70130. - if test "x$host_vendor" = xsequent; then
  70131. + if test sequent = "$host_vendor"; then
  70132. # Use $CC to link under sequent, because it throws in some extra .o
  70133. # files that make .init and .fini sections work.
  70134. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  70135. + archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  70136. else
  70137. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  70138. fi
  70139. @@ -8932,43 +10237,43 @@
  70140. ;;
  70141.  
  70142. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  70143. - no_undefined_flag='${wl}-z,text'
  70144. + no_undefined_flag='$wl-z,text'
  70145. archive_cmds_need_lc=no
  70146. hardcode_shlibpath_var=no
  70147. runpath_var='LD_RUN_PATH'
  70148.  
  70149. - if test "$GCC" = yes; then
  70150. - archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70151. - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70152. + if test yes = "$GCC"; then
  70153. + archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70154. + archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70155. else
  70156. - archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70157. - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70158. + archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70159. + archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70160. fi
  70161. ;;
  70162.  
  70163. sysv5* | sco3.2v5* | sco5v6*)
  70164. - # Note: We can NOT use -z defs as we might desire, because we do not
  70165. + # Note: We CANNOT use -z defs as we might desire, because we do not
  70166. # link with -lc, and that would cause any symbols used from libc to
  70167. # always be unresolved, which means just about no library would
  70168. # ever link correctly. If we're not using GNU ld we use -z text
  70169. # though, which does catch some bad symbols but isn't as heavy-handed
  70170. # as -z defs.
  70171. - no_undefined_flag='${wl}-z,text'
  70172. - allow_undefined_flag='${wl}-z,nodefs'
  70173. + no_undefined_flag='$wl-z,text'
  70174. + allow_undefined_flag='$wl-z,nodefs'
  70175. archive_cmds_need_lc=no
  70176. hardcode_shlibpath_var=no
  70177. - hardcode_libdir_flag_spec='${wl}-R,$libdir'
  70178. + hardcode_libdir_flag_spec='$wl-R,$libdir'
  70179. hardcode_libdir_separator=':'
  70180. link_all_deplibs=yes
  70181. - export_dynamic_flag_spec='${wl}-Bexport'
  70182. + export_dynamic_flag_spec='$wl-Bexport'
  70183. runpath_var='LD_RUN_PATH'
  70184.  
  70185. - if test "$GCC" = yes; then
  70186. - archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70187. - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70188. + if test yes = "$GCC"; then
  70189. + archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70190. + archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70191. else
  70192. - archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70193. - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70194. + archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70195. + archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70196. fi
  70197. ;;
  70198.  
  70199. @@ -8983,10 +10288,10 @@
  70200. ;;
  70201. esac
  70202.  
  70203. - if test x$host_vendor = xsni; then
  70204. + if test sni = "$host_vendor"; then
  70205. case $host in
  70206. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  70207. - export_dynamic_flag_spec='${wl}-Blargedynsym'
  70208. + export_dynamic_flag_spec='$wl-Blargedynsym'
  70209. ;;
  70210. esac
  70211. fi
  70212. @@ -8994,7 +10299,7 @@
  70213.  
  70214. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  70215. $as_echo "$ld_shlibs" >&6; }
  70216. -test "$ld_shlibs" = no && can_build_shared=no
  70217. +test no = "$ld_shlibs" && can_build_shared=no
  70218.  
  70219. with_gnu_ld=$with_gnu_ld
  70220.  
  70221. @@ -9020,7 +10325,7 @@
  70222. # Assume -lc should be added
  70223. archive_cmds_need_lc=yes
  70224.  
  70225. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  70226. + if test yes,yes = "$GCC,$enable_shared"; then
  70227. case $archive_cmds in
  70228. *'~'*)
  70229. # FIXME: we may have to deal with multi-command sequences.
  70230. @@ -9031,44 +10336,50 @@
  70231. # to ld, don't add -lc before -lgcc.
  70232. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  70233. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  70234. - $RM conftest*
  70235. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  70236. +if ${lt_cv_archive_cmds_need_lc+:} false; then :
  70237. + $as_echo_n "(cached) " >&6
  70238. +else
  70239. + $RM conftest*
  70240. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  70241.  
  70242. - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  70243. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  70244. (eval $ac_compile) 2>&5
  70245. ac_status=$?
  70246. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  70247. test $ac_status = 0; } 2>conftest.err; then
  70248. - soname=conftest
  70249. - lib=conftest
  70250. - libobjs=conftest.$ac_objext
  70251. - deplibs=
  70252. - wl=$lt_prog_compiler_wl
  70253. - pic_flag=$lt_prog_compiler_pic
  70254. - compiler_flags=-v
  70255. - linker_flags=-v
  70256. - verstring=
  70257. - output_objdir=.
  70258. - libname=conftest
  70259. - lt_save_allow_undefined_flag=$allow_undefined_flag
  70260. - allow_undefined_flag=
  70261. - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  70262. + soname=conftest
  70263. + lib=conftest
  70264. + libobjs=conftest.$ac_objext
  70265. + deplibs=
  70266. + wl=$lt_prog_compiler_wl
  70267. + pic_flag=$lt_prog_compiler_pic
  70268. + compiler_flags=-v
  70269. + linker_flags=-v
  70270. + verstring=
  70271. + output_objdir=.
  70272. + libname=conftest
  70273. + lt_save_allow_undefined_flag=$allow_undefined_flag
  70274. + allow_undefined_flag=
  70275. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  70276. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  70277. ac_status=$?
  70278. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  70279. test $ac_status = 0; }
  70280. - then
  70281. - archive_cmds_need_lc=no
  70282. - else
  70283. - archive_cmds_need_lc=yes
  70284. - fi
  70285. - allow_undefined_flag=$lt_save_allow_undefined_flag
  70286. - else
  70287. - cat conftest.err 1>&5
  70288. - fi
  70289. - $RM conftest*
  70290. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
  70291. -$as_echo "$archive_cmds_need_lc" >&6; }
  70292. + then
  70293. + lt_cv_archive_cmds_need_lc=no
  70294. + else
  70295. + lt_cv_archive_cmds_need_lc=yes
  70296. + fi
  70297. + allow_undefined_flag=$lt_save_allow_undefined_flag
  70298. + else
  70299. + cat conftest.err 1>&5
  70300. + fi
  70301. + $RM conftest*
  70302. +
  70303. +fi
  70304. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  70305. +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  70306. + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  70307. ;;
  70308. esac
  70309. fi
  70310. @@ -9226,52 +10537,61 @@
  70311.  
  70312.  
  70313.  
  70314. -
  70315. -
  70316. -
  70317. -
  70318. -
  70319. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  70320. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  70321.  
  70322. -if test "$GCC" = yes; then
  70323. +if test yes = "$GCC"; then
  70324. case $host_os in
  70325. - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  70326. - *) lt_awk_arg="/^libraries:/" ;;
  70327. + darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
  70328. + *) lt_awk_arg='/^libraries:/' ;;
  70329. esac
  70330. - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  70331. - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  70332. + case $host_os in
  70333. + mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
  70334. + *) lt_sed_strip_eq='s|=/|/|g' ;;
  70335. + esac
  70336. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  70337. + case $lt_search_path_spec in
  70338. + *\;*)
  70339. # if the path contains ";" then we assume it to be the separator
  70340. # otherwise default to the standard path separator (i.e. ":") - it is
  70341. # assumed that no part of a normal pathname contains ";" but that should
  70342. # okay in the real world where ";" in dirpaths is itself problematic.
  70343. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  70344. - else
  70345. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  70346. - fi
  70347. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  70348. + ;;
  70349. + *)
  70350. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  70351. + ;;
  70352. + esac
  70353. # Ok, now we have the path, separated by spaces, we can step through it
  70354. - # and add multilib dir if necessary.
  70355. + # and add multilib dir if necessary...
  70356. lt_tmp_lt_search_path_spec=
  70357. - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  70358. + lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  70359. + # ...but if some path component already ends with the multilib dir we assume
  70360. + # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
  70361. + case "$lt_multi_os_dir; $lt_search_path_spec " in
  70362. + "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
  70363. + lt_multi_os_dir=
  70364. + ;;
  70365. + esac
  70366. for lt_sys_path in $lt_search_path_spec; do
  70367. - if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  70368. - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  70369. - else
  70370. + if test -d "$lt_sys_path$lt_multi_os_dir"; then
  70371. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
  70372. + elif test -n "$lt_multi_os_dir"; then
  70373. test -d "$lt_sys_path" && \
  70374. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  70375. fi
  70376. done
  70377. - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  70378. -BEGIN {RS=" "; FS="/|\n";} {
  70379. - lt_foo="";
  70380. - lt_count=0;
  70381. + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  70382. +BEGIN {RS = " "; FS = "/|\n";} {
  70383. + lt_foo = "";
  70384. + lt_count = 0;
  70385. for (lt_i = NF; lt_i > 0; lt_i--) {
  70386. if ($lt_i != "" && $lt_i != ".") {
  70387. if ($lt_i == "..") {
  70388. lt_count++;
  70389. } else {
  70390. if (lt_count == 0) {
  70391. - lt_foo="/" $lt_i lt_foo;
  70392. + lt_foo = "/" $lt_i lt_foo;
  70393. } else {
  70394. lt_count--;
  70395. }
  70396. @@ -9281,14 +10601,20 @@
  70397. if (lt_foo != "") { lt_freq[lt_foo]++; }
  70398. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  70399. }'`
  70400. - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  70401. + # AWK program above erroneously prepends '/' to C:/dos/paths
  70402. + # for these hosts.
  70403. + case $host_os in
  70404. + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  70405. + $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
  70406. + esac
  70407. + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  70408. else
  70409. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  70410. fi
  70411. library_names_spec=
  70412. libname_spec='lib$name'
  70413. soname_spec=
  70414. -shrext_cmds=".so"
  70415. +shrext_cmds=.so
  70416. postinstall_cmds=
  70417. postuninstall_cmds=
  70418. finish_cmds=
  70419. @@ -9305,56 +10631,108 @@
  70420. # flags to be left without arguments
  70421. need_version=unknown
  70422.  
  70423. +
  70424. +
  70425. case $host_os in
  70426. aix3*)
  70427. - version_type=linux
  70428. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  70429. + version_type=linux # correct to gnu/linux during the next big refactor
  70430. + library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
  70431. shlibpath_var=LIBPATH
  70432.  
  70433. # AIX 3 has no versioning support, so we append a major version to the name.
  70434. - soname_spec='${libname}${release}${shared_ext}$major'
  70435. + soname_spec='$libname$release$shared_ext$major'
  70436. ;;
  70437.  
  70438. aix[4-9]*)
  70439. - version_type=linux
  70440. + version_type=linux # correct to gnu/linux during the next big refactor
  70441. need_lib_prefix=no
  70442. need_version=no
  70443. hardcode_into_libs=yes
  70444. - if test "$host_cpu" = ia64; then
  70445. + if test ia64 = "$host_cpu"; then
  70446. # AIX 5 supports IA64
  70447. - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  70448. + library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
  70449. shlibpath_var=LD_LIBRARY_PATH
  70450. else
  70451. # With GCC up to 2.95.x, collect2 would create an import file
  70452. # for dependence libraries. The import file would start with
  70453. - # the line `#! .'. This would cause the generated library to
  70454. - # depend on `.', always an invalid library. This was fixed in
  70455. + # the line '#! .'. This would cause the generated library to
  70456. + # depend on '.', always an invalid library. This was fixed in
  70457. # development snapshots of GCC prior to 3.0.
  70458. case $host_os in
  70459. aix4 | aix4.[01] | aix4.[01].*)
  70460. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  70461. echo ' yes '
  70462. - echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  70463. + echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
  70464. :
  70465. else
  70466. can_build_shared=no
  70467. fi
  70468. ;;
  70469. esac
  70470. - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  70471. + # Using Import Files as archive members, it is possible to support
  70472. + # filename-based versioning of shared library archives on AIX. While
  70473. + # this would work for both with and without runtime linking, it will
  70474. + # prevent static linking of such archives. So we do filename-based
  70475. + # shared library versioning with .so extension only, which is used
  70476. + # when both runtime linking and shared linking is enabled.
  70477. + # Unfortunately, runtime linking may impact performance, so we do
  70478. + # not want this to be the default eventually. Also, we use the
  70479. + # versioned .so libs for executables only if there is the -brtl
  70480. + # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
  70481. + # To allow for filename-based versioning support, we need to create
  70482. + # libNAME.so.V as an archive file, containing:
  70483. + # *) an Import File, referring to the versioned filename of the
  70484. + # archive as well as the shared archive member, telling the
  70485. + # bitwidth (32 or 64) of that shared object, and providing the
  70486. + # list of exported symbols of that shared object, eventually
  70487. + # decorated with the 'weak' keyword
  70488. + # *) the shared object with the F_LOADONLY flag set, to really avoid
  70489. + # it being seen by the linker.
  70490. + # At run time we better use the real file rather than another symlink,
  70491. + # but for link time we create the symlink libNAME.so -> libNAME.so.V
  70492. +
  70493. + case $with_aix_soname,$aix_use_runtimelinking in
  70494. + # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
  70495. # soname into executable. Probably we can add versioning support to
  70496. # collect2, so additional links can be useful in future.
  70497. - if test "$aix_use_runtimelinking" = yes; then
  70498. + aix,yes) # traditional libtool
  70499. + dynamic_linker='AIX unversionable lib.so'
  70500. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  70501. # instead of lib<name>.a to let people know that these are not
  70502. # typical AIX shared libraries.
  70503. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  70504. - else
  70505. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70506. + ;;
  70507. + aix,no) # traditional AIX only
  70508. + dynamic_linker='AIX lib.a(lib.so.V)'
  70509. # We preserve .a as extension for shared libraries through AIX4.2
  70510. # and later when we are not doing run time linking.
  70511. - library_names_spec='${libname}${release}.a $libname.a'
  70512. - soname_spec='${libname}${release}${shared_ext}$major'
  70513. - fi
  70514. + library_names_spec='$libname$release.a $libname.a'
  70515. + soname_spec='$libname$release$shared_ext$major'
  70516. + ;;
  70517. + svr4,*) # full svr4 only
  70518. + dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
  70519. + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  70520. + # We do not specify a path in Import Files, so LIBPATH fires.
  70521. + shlibpath_overrides_runpath=yes
  70522. + ;;
  70523. + *,yes) # both, prefer svr4
  70524. + dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
  70525. + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  70526. + # unpreferred sharedlib libNAME.a needs extra handling
  70527. + 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"'
  70528. + 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"'
  70529. + # We do not specify a path in Import Files, so LIBPATH fires.
  70530. + shlibpath_overrides_runpath=yes
  70531. + ;;
  70532. + *,no) # both, prefer aix
  70533. + dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
  70534. + library_names_spec='$libname$release.a $libname.a'
  70535. + soname_spec='$libname$release$shared_ext$major'
  70536. + # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
  70537. + 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)'
  70538. + 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"'
  70539. + ;;
  70540. + esac
  70541. shlibpath_var=LIBPATH
  70542. fi
  70543. ;;
  70544. @@ -9364,27 +10742,27 @@
  70545. powerpc)
  70546. # Since July 2007 AmigaOS4 officially supports .so libraries.
  70547. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  70548. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  70549. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70550. ;;
  70551. m68k)
  70552. library_names_spec='$libname.ixlibrary $libname.a'
  70553. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  70554. - 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'
  70555. + 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'
  70556. ;;
  70557. esac
  70558. ;;
  70559.  
  70560. beos*)
  70561. - library_names_spec='${libname}${shared_ext}'
  70562. + library_names_spec='$libname$shared_ext'
  70563. dynamic_linker="$host_os ld.so"
  70564. shlibpath_var=LIBRARY_PATH
  70565. ;;
  70566.  
  70567. bsdi[45]*)
  70568. - version_type=linux
  70569. + version_type=linux # correct to gnu/linux during the next big refactor
  70570. need_version=no
  70571. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  70572. - soname_spec='${libname}${release}${shared_ext}$major'
  70573. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70574. + soname_spec='$libname$release$shared_ext$major'
  70575. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  70576. shlibpath_var=LD_LIBRARY_PATH
  70577. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  70578. @@ -9396,16 +10774,17 @@
  70579.  
  70580. cygwin* | mingw* | pw32* | cegcc*)
  70581. version_type=windows
  70582. - shrext_cmds=".dll"
  70583. + shrext_cmds=.dll
  70584. need_version=no
  70585. need_lib_prefix=no
  70586.  
  70587. - case $GCC,$host_os in
  70588. - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  70589. + case $GCC,$cc_basename in
  70590. + yes,*)
  70591. + # gcc
  70592. library_names_spec='$libname.dll.a'
  70593. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  70594. - postinstall_cmds='base_file=`basename \${file}`~
  70595. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  70596. + postinstall_cmds='base_file=`basename \$file`~
  70597. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  70598. dldir=$destdir/`dirname \$dlpath`~
  70599. test -d \$dldir || mkdir -p \$dldir~
  70600. $install_prog $dir/$dlname \$dldir/$dlname~
  70601. @@ -9421,37 +10800,84 @@
  70602. case $host_os in
  70603. cygwin*)
  70604. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  70605. - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  70606. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  70607. + soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  70608. +
  70609. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  70610. ;;
  70611. mingw* | cegcc*)
  70612. # MinGW DLLs use traditional 'lib' prefix
  70613. - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  70614. - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  70615. + soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  70616. + ;;
  70617. + pw32*)
  70618. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  70619. + library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  70620. + ;;
  70621. + esac
  70622. + dynamic_linker='Win32 ld.exe'
  70623. + ;;
  70624. +
  70625. + *,cl*)
  70626. + # Native MSVC
  70627. + libname_spec='$name'
  70628. + soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  70629. + library_names_spec='$libname.dll.lib'
  70630. +
  70631. + case $build_os in
  70632. + mingw*)
  70633. + sys_lib_search_path_spec=
  70634. + lt_save_ifs=$IFS
  70635. + IFS=';'
  70636. + for lt_path in $LIB
  70637. + do
  70638. + IFS=$lt_save_ifs
  70639. + # Let DOS variable expansion print the short 8.3 style file name.
  70640. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  70641. + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  70642. + done
  70643. + IFS=$lt_save_ifs
  70644. + # Convert to MSYS style.
  70645. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  70646. + ;;
  70647. + cygwin*)
  70648. + # Convert to unix form, then to dos form, then back to unix form
  70649. + # but this time dos style (no spaces!) so that the unix form looks
  70650. + # like /cygdrive/c/PROGRA~1:/cygdr...
  70651. + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  70652. + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  70653. + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  70654. + ;;
  70655. + *)
  70656. + sys_lib_search_path_spec=$LIB
  70657. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  70658. - # It is most probably a Windows format PATH printed by
  70659. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  70660. - # path with ; separators, and with drive letters. We can handle the
  70661. - # drive letters (cygwin fileutils understands them), so leave them,
  70662. - # especially as we might pass files found there to a mingw objdump,
  70663. - # which wouldn't understand a cygwinified path. Ahh.
  70664. + # It is most probably a Windows format PATH.
  70665. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  70666. else
  70667. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  70668. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  70669. fi
  70670. - ;;
  70671. - pw32*)
  70672. - # pw32 DLLs use 'pw' prefix rather than 'lib'
  70673. - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  70674. + # FIXME: find the short name or the path components, as spaces are
  70675. + # common. (e.g. "Program Files" -> "PROGRA~1")
  70676. ;;
  70677. esac
  70678. +
  70679. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  70680. + postinstall_cmds='base_file=`basename \$file`~
  70681. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  70682. + dldir=$destdir/`dirname \$dlpath`~
  70683. + test -d \$dldir || mkdir -p \$dldir~
  70684. + $install_prog $dir/$dlname \$dldir/$dlname'
  70685. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  70686. + dlpath=$dir/\$dldll~
  70687. + $RM \$dlpath'
  70688. + shlibpath_overrides_runpath=yes
  70689. + dynamic_linker='Win32 link.exe'
  70690. ;;
  70691.  
  70692. *)
  70693. - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  70694. + # Assume MSVC wrapper
  70695. + library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
  70696. + dynamic_linker='Win32 ld.exe'
  70697. ;;
  70698. esac
  70699. - dynamic_linker='Win32 ld.exe'
  70700. # FIXME: first we should search . and the directory the executable is in
  70701. shlibpath_var=PATH
  70702. ;;
  70703. @@ -9461,8 +10887,8 @@
  70704. version_type=darwin
  70705. need_lib_prefix=no
  70706. need_version=no
  70707. - library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  70708. - soname_spec='${libname}${release}${major}$shared_ext'
  70709. + library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
  70710. + soname_spec='$libname$release$major$shared_ext'
  70711. shlibpath_overrides_runpath=yes
  70712. shlibpath_var=DYLD_LIBRARY_PATH
  70713. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  70714. @@ -9472,18 +10898,14 @@
  70715. ;;
  70716.  
  70717. dgux*)
  70718. - version_type=linux
  70719. + version_type=linux # correct to gnu/linux during the next big refactor
  70720. need_lib_prefix=no
  70721. need_version=no
  70722. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  70723. - soname_spec='${libname}${release}${shared_ext}$major'
  70724. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70725. + soname_spec='$libname$release$shared_ext$major'
  70726. shlibpath_var=LD_LIBRARY_PATH
  70727. ;;
  70728.  
  70729. -freebsd1*)
  70730. - dynamic_linker=no
  70731. - ;;
  70732. -
  70733. freebsd* | dragonfly*)
  70734. # DragonFly does not have aout. When/if they implement a new
  70735. # versioning mechanism, adjust this.
  70736. @@ -9491,25 +10913,26 @@
  70737. objformat=`/usr/bin/objformat`
  70738. else
  70739. case $host_os in
  70740. - freebsd[123]*) objformat=aout ;;
  70741. + freebsd[23].*) objformat=aout ;;
  70742. *) objformat=elf ;;
  70743. esac
  70744. fi
  70745. version_type=freebsd-$objformat
  70746. case $version_type in
  70747. freebsd-elf*)
  70748. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  70749. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70750. + soname_spec='$libname$release$shared_ext$major'
  70751. need_version=no
  70752. need_lib_prefix=no
  70753. ;;
  70754. freebsd-*)
  70755. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  70756. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  70757. need_version=yes
  70758. ;;
  70759. esac
  70760. shlibpath_var=LD_LIBRARY_PATH
  70761. case $host_os in
  70762. - freebsd2*)
  70763. + freebsd2.*)
  70764. shlibpath_overrides_runpath=yes
  70765. ;;
  70766. freebsd3.[01]* | freebsdelf3.[01]*)
  70767. @@ -9528,13 +10951,16 @@
  70768. esac
  70769. ;;
  70770.  
  70771. -gnu*)
  70772. - version_type=linux
  70773. +haiku*)
  70774. + version_type=linux # correct to gnu/linux during the next big refactor
  70775. need_lib_prefix=no
  70776. need_version=no
  70777. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  70778. - soname_spec='${libname}${release}${shared_ext}$major'
  70779. - shlibpath_var=LD_LIBRARY_PATH
  70780. + dynamic_linker="$host_os runtime_loader"
  70781. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70782. + soname_spec='$libname$release$shared_ext$major'
  70783. + shlibpath_var=LIBRARY_PATH
  70784. + shlibpath_overrides_runpath=no
  70785. + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  70786. hardcode_into_libs=yes
  70787. ;;
  70788.  
  70789. @@ -9551,14 +10977,15 @@
  70790. dynamic_linker="$host_os dld.so"
  70791. shlibpath_var=LD_LIBRARY_PATH
  70792. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  70793. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  70794. - soname_spec='${libname}${release}${shared_ext}$major'
  70795. - if test "X$HPUX_IA64_MODE" = X32; then
  70796. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70797. + soname_spec='$libname$release$shared_ext$major'
  70798. + if test 32 = "$HPUX_IA64_MODE"; then
  70799. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  70800. + sys_lib_dlsearch_path_spec=/usr/lib/hpux32
  70801. else
  70802. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  70803. + sys_lib_dlsearch_path_spec=/usr/lib/hpux64
  70804. fi
  70805. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  70806. ;;
  70807. hppa*64*)
  70808. shrext_cmds='.sl'
  70809. @@ -9566,8 +10993,8 @@
  70810. dynamic_linker="$host_os dld.sl"
  70811. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  70812. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  70813. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  70814. - soname_spec='${libname}${release}${shared_ext}$major'
  70815. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70816. + soname_spec='$libname$release$shared_ext$major'
  70817. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  70818. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  70819. ;;
  70820. @@ -9576,20 +11003,22 @@
  70821. dynamic_linker="$host_os dld.sl"
  70822. shlibpath_var=SHLIB_PATH
  70823. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  70824. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  70825. - soname_spec='${libname}${release}${shared_ext}$major'
  70826. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70827. + soname_spec='$libname$release$shared_ext$major'
  70828. ;;
  70829. esac
  70830. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  70831. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  70832. postinstall_cmds='chmod 555 $lib'
  70833. + # or fails outright, so override atomically:
  70834. + install_override_mode=555
  70835. ;;
  70836.  
  70837. interix[3-9]*)
  70838. - version_type=linux
  70839. + version_type=linux # correct to gnu/linux during the next big refactor
  70840. need_lib_prefix=no
  70841. need_version=no
  70842. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  70843. - soname_spec='${libname}${release}${shared_ext}$major'
  70844. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70845. + soname_spec='$libname$release$shared_ext$major'
  70846. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  70847. shlibpath_var=LD_LIBRARY_PATH
  70848. shlibpath_overrides_runpath=no
  70849. @@ -9600,16 +11029,16 @@
  70850. case $host_os in
  70851. nonstopux*) version_type=nonstopux ;;
  70852. *)
  70853. - if test "$lt_cv_prog_gnu_ld" = yes; then
  70854. - version_type=linux
  70855. + if test yes = "$lt_cv_prog_gnu_ld"; then
  70856. + version_type=linux # correct to gnu/linux during the next big refactor
  70857. else
  70858. version_type=irix
  70859. fi ;;
  70860. esac
  70861. need_lib_prefix=no
  70862. need_version=no
  70863. - soname_spec='${libname}${release}${shared_ext}$major'
  70864. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  70865. + soname_spec='$libname$release$shared_ext$major'
  70866. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
  70867. case $host_os in
  70868. irix5* | nonstopux*)
  70869. libsuff= shlibsuff=
  70870. @@ -9628,8 +11057,8 @@
  70871. esac
  70872. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  70873. shlibpath_overrides_runpath=no
  70874. - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  70875. - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  70876. + sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
  70877. + sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
  70878. hardcode_into_libs=yes
  70879. ;;
  70880.  
  70881. @@ -9638,22 +11067,47 @@
  70882. dynamic_linker=no
  70883. ;;
  70884.  
  70885. -# This must be Linux ELF.
  70886. -linux* | k*bsd*-gnu | kopensolaris*-gnu)
  70887. - version_type=linux
  70888. +linux*android*)
  70889. + version_type=none # Android doesn't support versioned libraries.
  70890. + need_lib_prefix=no
  70891. + need_version=no
  70892. + library_names_spec='$libname$release$shared_ext'
  70893. + soname_spec='$libname$release$shared_ext'
  70894. + finish_cmds=
  70895. + shlibpath_var=LD_LIBRARY_PATH
  70896. + shlibpath_overrides_runpath=yes
  70897. +
  70898. + # This implies no fast_install, which is unacceptable.
  70899. + # Some rework will be needed to allow for fast_install
  70900. + # before this can be enabled.
  70901. + hardcode_into_libs=yes
  70902. +
  70903. + dynamic_linker='Android linker'
  70904. + # Don't embed -rpath directories since the linker doesn't support them.
  70905. + hardcode_libdir_flag_spec='-L$libdir'
  70906. + ;;
  70907. +
  70908. +# This must be glibc/ELF.
  70909. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  70910. + version_type=linux # correct to gnu/linux during the next big refactor
  70911. need_lib_prefix=no
  70912. need_version=no
  70913. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  70914. - soname_spec='${libname}${release}${shared_ext}$major'
  70915. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70916. + soname_spec='$libname$release$shared_ext$major'
  70917. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  70918. shlibpath_var=LD_LIBRARY_PATH
  70919. shlibpath_overrides_runpath=no
  70920. +
  70921. # Some binutils ld are patched to set DT_RUNPATH
  70922. - save_LDFLAGS=$LDFLAGS
  70923. - save_libdir=$libdir
  70924. - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  70925. - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  70926. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  70927. + if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  70928. + $as_echo_n "(cached) " >&6
  70929. +else
  70930. + lt_cv_shlibpath_overrides_runpath=no
  70931. + save_LDFLAGS=$LDFLAGS
  70932. + save_libdir=$libdir
  70933. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  70934. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  70935. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  70936. /* end confdefs.h. */
  70937.  
  70938. int
  70939. @@ -9666,23 +11120,35 @@
  70940. _ACEOF
  70941. if ac_fn_c_try_link "$LINENO"; then :
  70942. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  70943. - shlibpath_overrides_runpath=yes
  70944. + lt_cv_shlibpath_overrides_runpath=yes
  70945. fi
  70946. fi
  70947. rm -f core conftest.err conftest.$ac_objext \
  70948. conftest$ac_exeext conftest.$ac_ext
  70949. - LDFLAGS=$save_LDFLAGS
  70950. - libdir=$save_libdir
  70951. + LDFLAGS=$save_LDFLAGS
  70952. + libdir=$save_libdir
  70953. +
  70954. +fi
  70955. +
  70956. + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  70957.  
  70958. # This implies no fast_install, which is unacceptable.
  70959. # Some rework will be needed to allow for fast_install
  70960. # before this can be enabled.
  70961. hardcode_into_libs=yes
  70962.  
  70963. - # Append ld.so.conf contents to the search path
  70964. + # Add ABI-specific directories to the system library path.
  70965. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
  70966. +
  70967. + # Ideally, we could use ldconfig to report *all* directores which are
  70968. + # searched for libraries, however this is still not possible. Aside from not
  70969. + # being certain /sbin/ldconfig is available, command
  70970. + # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
  70971. + # even though it is searched at run-time. Try to do the best guess by
  70972. + # appending ld.so.conf contents (and includes) to the search path.
  70973. if test -f /etc/ld.so.conf; then
  70974. - 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' ' '`
  70975. - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  70976. + 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' ' '`
  70977. + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
  70978. fi
  70979.  
  70980. # We used to test for /lib/ld.so.1 and disable shared libraries on
  70981. @@ -9694,29 +11160,17 @@
  70982. dynamic_linker='GNU/Linux ld.so'
  70983. ;;
  70984.  
  70985. -netbsdelf*-gnu)
  70986. - version_type=linux
  70987. - need_lib_prefix=no
  70988. - need_version=no
  70989. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  70990. - soname_spec='${libname}${release}${shared_ext}$major'
  70991. - shlibpath_var=LD_LIBRARY_PATH
  70992. - shlibpath_overrides_runpath=no
  70993. - hardcode_into_libs=yes
  70994. - dynamic_linker='NetBSD ld.elf_so'
  70995. - ;;
  70996. -
  70997. netbsd*)
  70998. version_type=sunos
  70999. need_lib_prefix=no
  71000. need_version=no
  71001. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  71002. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  71003. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  71004. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  71005. dynamic_linker='NetBSD (a.out) ld.so'
  71006. else
  71007. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  71008. - soname_spec='${libname}${release}${shared_ext}$major'
  71009. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  71010. + soname_spec='$libname$release$shared_ext$major'
  71011. dynamic_linker='NetBSD ld.elf_so'
  71012. fi
  71013. shlibpath_var=LD_LIBRARY_PATH
  71014. @@ -9725,8 +11179,8 @@
  71015. ;;
  71016.  
  71017. newsos6)
  71018. - version_type=linux
  71019. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  71020. + version_type=linux # correct to gnu/linux during the next big refactor
  71021. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  71022. shlibpath_var=LD_LIBRARY_PATH
  71023. shlibpath_overrides_runpath=yes
  71024. ;;
  71025. @@ -9735,58 +11189,68 @@
  71026. version_type=qnx
  71027. need_lib_prefix=no
  71028. need_version=no
  71029. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  71030. - soname_spec='${libname}${release}${shared_ext}$major'
  71031. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  71032. + soname_spec='$libname$release$shared_ext$major'
  71033. shlibpath_var=LD_LIBRARY_PATH
  71034. shlibpath_overrides_runpath=no
  71035. hardcode_into_libs=yes
  71036. dynamic_linker='ldqnx.so'
  71037. ;;
  71038.  
  71039. -openbsd*)
  71040. +openbsd* | bitrig*)
  71041. version_type=sunos
  71042. - sys_lib_dlsearch_path_spec="/usr/lib"
  71043. + sys_lib_dlsearch_path_spec=/usr/lib
  71044. need_lib_prefix=no
  71045. - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  71046. - case $host_os in
  71047. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  71048. - *) need_version=no ;;
  71049. - esac
  71050. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  71051. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  71052. - shlibpath_var=LD_LIBRARY_PATH
  71053. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  71054. - case $host_os in
  71055. - openbsd2.[89] | openbsd2.[89].*)
  71056. - shlibpath_overrides_runpath=no
  71057. - ;;
  71058. - *)
  71059. - shlibpath_overrides_runpath=yes
  71060. - ;;
  71061. - esac
  71062. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  71063. + need_version=no
  71064. else
  71065. - shlibpath_overrides_runpath=yes
  71066. + need_version=yes
  71067. fi
  71068. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  71069. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  71070. + shlibpath_var=LD_LIBRARY_PATH
  71071. + shlibpath_overrides_runpath=yes
  71072. ;;
  71073.  
  71074. os2*)
  71075. libname_spec='$name'
  71076. - shrext_cmds=".dll"
  71077. + version_type=windows
  71078. + shrext_cmds=.dll
  71079. + need_version=no
  71080. need_lib_prefix=no
  71081. - library_names_spec='$libname${shared_ext} $libname.a'
  71082. + # OS/2 can only load a DLL with a base name of 8 characters or less.
  71083. + soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
  71084. + v=$($ECHO $release$versuffix | tr -d .-);
  71085. + n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
  71086. + $ECHO $n$v`$shared_ext'
  71087. + library_names_spec='${libname}_dll.$libext'
  71088. dynamic_linker='OS/2 ld.exe'
  71089. - shlibpath_var=LIBPATH
  71090. + shlibpath_var=BEGINLIBPATH
  71091. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  71092. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  71093. + postinstall_cmds='base_file=`basename \$file`~
  71094. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
  71095. + dldir=$destdir/`dirname \$dlpath`~
  71096. + test -d \$dldir || mkdir -p \$dldir~
  71097. + $install_prog $dir/$dlname \$dldir/$dlname~
  71098. + chmod a+x \$dldir/$dlname~
  71099. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  71100. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  71101. + fi'
  71102. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
  71103. + dlpath=$dir/\$dldll~
  71104. + $RM \$dlpath'
  71105. ;;
  71106.  
  71107. osf3* | osf4* | osf5*)
  71108. version_type=osf
  71109. need_lib_prefix=no
  71110. need_version=no
  71111. - soname_spec='${libname}${release}${shared_ext}$major'
  71112. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  71113. + soname_spec='$libname$release$shared_ext$major'
  71114. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  71115. shlibpath_var=LD_LIBRARY_PATH
  71116. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  71117. - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  71118. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  71119. ;;
  71120.  
  71121. rdos*)
  71122. @@ -9794,11 +11258,11 @@
  71123. ;;
  71124.  
  71125. solaris*)
  71126. - version_type=linux
  71127. + version_type=linux # correct to gnu/linux during the next big refactor
  71128. need_lib_prefix=no
  71129. need_version=no
  71130. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  71131. - soname_spec='${libname}${release}${shared_ext}$major'
  71132. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  71133. + soname_spec='$libname$release$shared_ext$major'
  71134. shlibpath_var=LD_LIBRARY_PATH
  71135. shlibpath_overrides_runpath=yes
  71136. hardcode_into_libs=yes
  71137. @@ -9808,20 +11272,20 @@
  71138.  
  71139. sunos4*)
  71140. version_type=sunos
  71141. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  71142. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  71143. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  71144. shlibpath_var=LD_LIBRARY_PATH
  71145. shlibpath_overrides_runpath=yes
  71146. - if test "$with_gnu_ld" = yes; then
  71147. + if test yes = "$with_gnu_ld"; then
  71148. need_lib_prefix=no
  71149. fi
  71150. need_version=yes
  71151. ;;
  71152.  
  71153. sysv4 | sysv4.3*)
  71154. - version_type=linux
  71155. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  71156. - soname_spec='${libname}${release}${shared_ext}$major'
  71157. + version_type=linux # correct to gnu/linux during the next big refactor
  71158. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  71159. + soname_spec='$libname$release$shared_ext$major'
  71160. shlibpath_var=LD_LIBRARY_PATH
  71161. case $host_vendor in
  71162. sni)
  71163. @@ -9842,24 +11306,24 @@
  71164. ;;
  71165.  
  71166. sysv4*MP*)
  71167. - if test -d /usr/nec ;then
  71168. - version_type=linux
  71169. - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  71170. - soname_spec='$libname${shared_ext}.$major'
  71171. + if test -d /usr/nec; then
  71172. + version_type=linux # correct to gnu/linux during the next big refactor
  71173. + library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
  71174. + soname_spec='$libname$shared_ext.$major'
  71175. shlibpath_var=LD_LIBRARY_PATH
  71176. fi
  71177. ;;
  71178.  
  71179. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  71180. - version_type=freebsd-elf
  71181. + version_type=sco
  71182. need_lib_prefix=no
  71183. need_version=no
  71184. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  71185. - soname_spec='${libname}${release}${shared_ext}$major'
  71186. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
  71187. + soname_spec='$libname$release$shared_ext$major'
  71188. shlibpath_var=LD_LIBRARY_PATH
  71189. shlibpath_overrides_runpath=yes
  71190. hardcode_into_libs=yes
  71191. - if test "$with_gnu_ld" = yes; then
  71192. + if test yes = "$with_gnu_ld"; then
  71193. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  71194. else
  71195. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  71196. @@ -9874,19 +11338,19 @@
  71197.  
  71198. tpf*)
  71199. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  71200. - version_type=linux
  71201. + version_type=linux # correct to gnu/linux during the next big refactor
  71202. need_lib_prefix=no
  71203. need_version=no
  71204. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  71205. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  71206. shlibpath_var=LD_LIBRARY_PATH
  71207. shlibpath_overrides_runpath=no
  71208. hardcode_into_libs=yes
  71209. ;;
  71210.  
  71211. uts4*)
  71212. - version_type=linux
  71213. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  71214. - soname_spec='${libname}${release}${shared_ext}$major'
  71215. + version_type=linux # correct to gnu/linux during the next big refactor
  71216. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  71217. + soname_spec='$libname$release$shared_ext$major'
  71218. shlibpath_var=LD_LIBRARY_PATH
  71219. ;;
  71220.  
  71221. @@ -9896,20 +11360,40 @@
  71222. esac
  71223. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  71224. $as_echo "$dynamic_linker" >&6; }
  71225. -test "$dynamic_linker" = no && can_build_shared=no
  71226. +test no = "$dynamic_linker" && can_build_shared=no
  71227.  
  71228. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  71229. -if test "$GCC" = yes; then
  71230. +if test yes = "$GCC"; then
  71231. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  71232. fi
  71233.  
  71234. -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  71235. - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  71236. +if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
  71237. + sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
  71238. fi
  71239. -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  71240. - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  71241. +
  71242. +if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
  71243. + sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
  71244. fi
  71245.  
  71246. +# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
  71247. +configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
  71248. +
  71249. +# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
  71250. +func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
  71251. +
  71252. +# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
  71253. +configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
  71254. +
  71255. +
  71256. +
  71257. +
  71258. +
  71259. +
  71260. +
  71261. +
  71262. +
  71263. +
  71264. +
  71265.  
  71266.  
  71267.  
  71268. @@ -10001,15 +11485,15 @@
  71269. hardcode_action=
  71270. if test -n "$hardcode_libdir_flag_spec" ||
  71271. test -n "$runpath_var" ||
  71272. - test "X$hardcode_automatic" = "Xyes" ; then
  71273. + test yes = "$hardcode_automatic"; then
  71274.  
  71275. # We can hardcode non-existent directories.
  71276. - if test "$hardcode_direct" != no &&
  71277. + if test no != "$hardcode_direct" &&
  71278. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  71279. # have to relink, otherwise we might link with an installed library
  71280. # when we should be linking with a yet-to-be-installed one
  71281. - ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  71282. - test "$hardcode_minus_L" != no; then
  71283. + ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
  71284. + test no != "$hardcode_minus_L"; then
  71285. # Linking always hardcodes the temporary library directory.
  71286. hardcode_action=relink
  71287. else
  71288. @@ -10024,12 +11508,12 @@
  71289. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  71290. $as_echo "$hardcode_action" >&6; }
  71291.  
  71292. -if test "$hardcode_action" = relink ||
  71293. - test "$inherit_rpath" = yes; then
  71294. +if test relink = "$hardcode_action" ||
  71295. + test yes = "$inherit_rpath"; then
  71296. # Fast installation is not supported
  71297. enable_fast_install=no
  71298. -elif test "$shlibpath_overrides_runpath" = yes ||
  71299. - test "$enable_shared" = no; then
  71300. +elif test yes = "$shlibpath_overrides_runpath" ||
  71301. + test no = "$enable_shared"; then
  71302. # Fast installation is not necessary
  71303. enable_fast_install=needless
  71304. fi
  71305. @@ -10039,7 +11523,7 @@
  71306.  
  71307.  
  71308.  
  71309. - if test "x$enable_dlopen" != xyes; then
  71310. + if test yes != "$enable_dlopen"; then
  71311. enable_dlopen=unknown
  71312. enable_dlopen_self=unknown
  71313. enable_dlopen_self_static=unknown
  71314. @@ -10049,23 +11533,23 @@
  71315.  
  71316. case $host_os in
  71317. beos*)
  71318. - lt_cv_dlopen="load_add_on"
  71319. + lt_cv_dlopen=load_add_on
  71320. lt_cv_dlopen_libs=
  71321. lt_cv_dlopen_self=yes
  71322. ;;
  71323.  
  71324. mingw* | pw32* | cegcc*)
  71325. - lt_cv_dlopen="LoadLibrary"
  71326. + lt_cv_dlopen=LoadLibrary
  71327. lt_cv_dlopen_libs=
  71328. ;;
  71329.  
  71330. cygwin*)
  71331. - lt_cv_dlopen="dlopen"
  71332. + lt_cv_dlopen=dlopen
  71333. lt_cv_dlopen_libs=
  71334. ;;
  71335.  
  71336. darwin*)
  71337. - # if libdl is installed we need to link against it
  71338. + # if libdl is installed we need to link against it
  71339. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  71340. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  71341. if ${ac_cv_lib_dl_dlopen+:} false; then :
  71342. @@ -10103,10 +11587,10 @@
  71343. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  71344. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  71345. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  71346. - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  71347. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  71348. else
  71349.  
  71350. - lt_cv_dlopen="dyld"
  71351. + lt_cv_dlopen=dyld
  71352. lt_cv_dlopen_libs=
  71353. lt_cv_dlopen_self=yes
  71354.  
  71355. @@ -10114,10 +11598,18 @@
  71356.  
  71357. ;;
  71358.  
  71359. + tpf*)
  71360. + # Don't try to run any link tests for TPF. We know it's impossible
  71361. + # because TPF is a cross-compiler, and we know how we open DSOs.
  71362. + lt_cv_dlopen=dlopen
  71363. + lt_cv_dlopen_libs=
  71364. + lt_cv_dlopen_self=no
  71365. + ;;
  71366. +
  71367. *)
  71368. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  71369. if test "x$ac_cv_func_shl_load" = xyes; then :
  71370. - lt_cv_dlopen="shl_load"
  71371. + lt_cv_dlopen=shl_load
  71372. else
  71373. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  71374. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  71375. @@ -10156,11 +11648,11 @@
  71376. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  71377. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  71378. if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  71379. - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  71380. + lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
  71381. else
  71382. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  71383. if test "x$ac_cv_func_dlopen" = xyes; then :
  71384. - lt_cv_dlopen="dlopen"
  71385. + lt_cv_dlopen=dlopen
  71386. else
  71387. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  71388. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  71389. @@ -10199,7 +11691,7 @@
  71390. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  71391. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  71392. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  71393. - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  71394. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  71395. else
  71396. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  71397. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  71398. @@ -10238,7 +11730,7 @@
  71399. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  71400. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  71401. if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  71402. - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  71403. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
  71404. else
  71405. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  71406. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  71407. @@ -10277,7 +11769,7 @@
  71408. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  71409. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  71410. if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  71411. - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  71412. + lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
  71413. fi
  71414.  
  71415.  
  71416. @@ -10298,21 +11790,21 @@
  71417. ;;
  71418. esac
  71419.  
  71420. - if test "x$lt_cv_dlopen" != xno; then
  71421. - enable_dlopen=yes
  71422. - else
  71423. + if test no = "$lt_cv_dlopen"; then
  71424. enable_dlopen=no
  71425. + else
  71426. + enable_dlopen=yes
  71427. fi
  71428.  
  71429. case $lt_cv_dlopen in
  71430. dlopen)
  71431. - save_CPPFLAGS="$CPPFLAGS"
  71432. - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  71433. + save_CPPFLAGS=$CPPFLAGS
  71434. + test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  71435.  
  71436. - save_LDFLAGS="$LDFLAGS"
  71437. + save_LDFLAGS=$LDFLAGS
  71438. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  71439.  
  71440. - save_LIBS="$LIBS"
  71441. + save_LIBS=$LIBS
  71442. LIBS="$lt_cv_dlopen_libs $LIBS"
  71443.  
  71444. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  71445. @@ -10320,13 +11812,13 @@
  71446. if ${lt_cv_dlopen_self+:} false; then :
  71447. $as_echo_n "(cached) " >&6
  71448. else
  71449. - if test "$cross_compiling" = yes; then :
  71450. + if test yes = "$cross_compiling"; then :
  71451. lt_cv_dlopen_self=cross
  71452. else
  71453. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  71454. lt_status=$lt_dlunknown
  71455. cat > conftest.$ac_ext <<_LT_EOF
  71456. -#line 10329 "configure"
  71457. +#line $LINENO "configure"
  71458. #include "confdefs.h"
  71459.  
  71460. #if HAVE_DLFCN_H
  71461. @@ -10367,7 +11859,13 @@
  71462. # endif
  71463. #endif
  71464.  
  71465. -void fnord() { int i=42;}
  71466. +/* When -fvisibility=hidden is used, assume the code has been annotated
  71467. + correspondingly for the symbols needed. */
  71468. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  71469. +int fnord () __attribute__((visibility("default")));
  71470. +#endif
  71471. +
  71472. +int fnord () { return 42; }
  71473. int main ()
  71474. {
  71475. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  71476. @@ -10376,7 +11874,11 @@
  71477. if (self)
  71478. {
  71479. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  71480. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  71481. + else
  71482. + {
  71483. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  71484. + else puts (dlerror ());
  71485. + }
  71486. /* dlclose (self); */
  71487. }
  71488. else
  71489. @@ -10389,7 +11891,7 @@
  71490. (eval $ac_link) 2>&5
  71491. ac_status=$?
  71492. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  71493. - test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  71494. + test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  71495. (./conftest; exit; ) >&5 2>/dev/null
  71496. lt_status=$?
  71497. case x$lt_status in
  71498. @@ -10409,20 +11911,20 @@
  71499. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  71500. $as_echo "$lt_cv_dlopen_self" >&6; }
  71501.  
  71502. - if test "x$lt_cv_dlopen_self" = xyes; then
  71503. + if test yes = "$lt_cv_dlopen_self"; then
  71504. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  71505. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  71506. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  71507. if ${lt_cv_dlopen_self_static+:} false; then :
  71508. $as_echo_n "(cached) " >&6
  71509. else
  71510. - if test "$cross_compiling" = yes; then :
  71511. + if test yes = "$cross_compiling"; then :
  71512. lt_cv_dlopen_self_static=cross
  71513. else
  71514. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  71515. lt_status=$lt_dlunknown
  71516. cat > conftest.$ac_ext <<_LT_EOF
  71517. -#line 10425 "configure"
  71518. +#line $LINENO "configure"
  71519. #include "confdefs.h"
  71520.  
  71521. #if HAVE_DLFCN_H
  71522. @@ -10463,7 +11965,13 @@
  71523. # endif
  71524. #endif
  71525.  
  71526. -void fnord() { int i=42;}
  71527. +/* When -fvisibility=hidden is used, assume the code has been annotated
  71528. + correspondingly for the symbols needed. */
  71529. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  71530. +int fnord () __attribute__((visibility("default")));
  71531. +#endif
  71532. +
  71533. +int fnord () { return 42; }
  71534. int main ()
  71535. {
  71536. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  71537. @@ -10472,7 +11980,11 @@
  71538. if (self)
  71539. {
  71540. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  71541. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  71542. + else
  71543. + {
  71544. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  71545. + else puts (dlerror ());
  71546. + }
  71547. /* dlclose (self); */
  71548. }
  71549. else
  71550. @@ -10485,7 +11997,7 @@
  71551. (eval $ac_link) 2>&5
  71552. ac_status=$?
  71553. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  71554. - test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  71555. + test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  71556. (./conftest; exit; ) >&5 2>/dev/null
  71557. lt_status=$?
  71558. case x$lt_status in
  71559. @@ -10506,9 +12018,9 @@
  71560. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  71561. fi
  71562.  
  71563. - CPPFLAGS="$save_CPPFLAGS"
  71564. - LDFLAGS="$save_LDFLAGS"
  71565. - LIBS="$save_LIBS"
  71566. + CPPFLAGS=$save_CPPFLAGS
  71567. + LDFLAGS=$save_LDFLAGS
  71568. + LIBS=$save_LIBS
  71569. ;;
  71570. esac
  71571.  
  71572. @@ -10552,7 +12064,7 @@
  71573. # FIXME - insert some real tests, host_os isn't really good enough
  71574. case $host_os in
  71575. darwin*)
  71576. - if test -n "$STRIP" ; then
  71577. + if test -n "$STRIP"; then
  71578. striplib="$STRIP -x"
  71579. old_striplib="$STRIP -S"
  71580. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  71581. @@ -10580,7 +12092,7 @@
  71582.  
  71583.  
  71584.  
  71585. - # Report which library types will actually be built
  71586. + # Report what library types will actually be built
  71587. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  71588. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  71589. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  71590. @@ -10588,13 +12100,13 @@
  71591.  
  71592. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  71593. $as_echo_n "checking whether to build shared libraries... " >&6; }
  71594. - test "$can_build_shared" = "no" && enable_shared=no
  71595. + test no = "$can_build_shared" && enable_shared=no
  71596.  
  71597. # On AIX, shared libraries and static libraries use the same namespace, and
  71598. # are all built from PIC.
  71599. case $host_os in
  71600. aix3*)
  71601. - test "$enable_shared" = yes && enable_static=no
  71602. + test yes = "$enable_shared" && enable_static=no
  71603. if test -n "$RANLIB"; then
  71604. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  71605. postinstall_cmds='$RANLIB $lib'
  71606. @@ -10602,8 +12114,12 @@
  71607. ;;
  71608.  
  71609. aix[4-9]*)
  71610. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  71611. - test "$enable_shared" = yes && enable_static=no
  71612. + if test ia64 != "$host_cpu"; then
  71613. + case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
  71614. + yes,aix,yes) ;; # shared object as lib.so file only
  71615. + yes,svr4,*) ;; # shared object as lib.so archive member only
  71616. + yes,*) enable_static=no ;; # shared object in lib.a archive as well
  71617. + esac
  71618. fi
  71619. ;;
  71620. esac
  71621. @@ -10613,7 +12129,7 @@
  71622. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  71623. $as_echo_n "checking whether to build static libraries... " >&6; }
  71624. # Make sure either enable_shared or enable_static is yes.
  71625. - test "$enable_shared" = yes || enable_static=yes
  71626. + test yes = "$enable_shared" || enable_static=yes
  71627. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  71628. $as_echo "$enable_static" >&6; }
  71629.  
  71630. @@ -10627,7 +12143,9 @@
  71631. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  71632. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  71633.  
  71634. -CC="$lt_save_CC"
  71635. +CC=$lt_save_CC
  71636. +
  71637. +
  71638.  
  71639.  
  71640.  
  71641. @@ -10672,7 +12190,7 @@
  71642. IFS=$as_save_IFS
  71643. test -z "$as_dir" && as_dir=.
  71644. for ac_exec_ext in '' $ac_executable_extensions; do
  71645. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  71646. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  71647. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  71648. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  71649. break 2
  71650. @@ -10712,7 +12230,7 @@
  71651. IFS=$as_save_IFS
  71652. test -z "$as_dir" && as_dir=.
  71653. for ac_exec_ext in '' $ac_executable_extensions; do
  71654. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  71655. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  71656. ac_cv_prog_ac_ct_CC="gcc"
  71657. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  71658. break 2
  71659. @@ -10765,7 +12283,7 @@
  71660. IFS=$as_save_IFS
  71661. test -z "$as_dir" && as_dir=.
  71662. for ac_exec_ext in '' $ac_executable_extensions; do
  71663. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  71664. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  71665. ac_cv_prog_CC="${ac_tool_prefix}cc"
  71666. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  71667. break 2
  71668. @@ -10806,7 +12324,7 @@
  71669. IFS=$as_save_IFS
  71670. test -z "$as_dir" && as_dir=.
  71671. for ac_exec_ext in '' $ac_executable_extensions; do
  71672. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  71673. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  71674. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  71675. ac_prog_rejected=yes
  71676. continue
  71677. @@ -10864,7 +12382,7 @@
  71678. IFS=$as_save_IFS
  71679. test -z "$as_dir" && as_dir=.
  71680. for ac_exec_ext in '' $ac_executable_extensions; do
  71681. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  71682. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  71683. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  71684. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  71685. break 2
  71686. @@ -10908,7 +12426,7 @@
  71687. IFS=$as_save_IFS
  71688. test -z "$as_dir" && as_dir=.
  71689. for ac_exec_ext in '' $ac_executable_extensions; do
  71690. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  71691. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  71692. ac_cv_prog_ac_ct_CC="$ac_prog"
  71693. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  71694. break 2
  71695. @@ -11104,8 +12622,7 @@
  71696. /* end confdefs.h. */
  71697. #include <stdarg.h>
  71698. #include <stdio.h>
  71699. -#include <sys/types.h>
  71700. -#include <sys/stat.h>
  71701. +struct stat;
  71702. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  71703. struct buf { int x; };
  71704. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  71705. @@ -11190,6 +12707,65 @@
  71706. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  71707. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  71708.  
  71709. +ac_ext=c
  71710. +ac_cpp='$CPP $CPPFLAGS'
  71711. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  71712. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  71713. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  71714. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  71715. +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  71716. +if ${am_cv_prog_cc_c_o+:} false; then :
  71717. + $as_echo_n "(cached) " >&6
  71718. +else
  71719. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  71720. +/* end confdefs.h. */
  71721. +
  71722. +int
  71723. +main ()
  71724. +{
  71725. +
  71726. + ;
  71727. + return 0;
  71728. +}
  71729. +_ACEOF
  71730. + # Make sure it works both with $CC and with simple cc.
  71731. + # Following AC_PROG_CC_C_O, we do the test twice because some
  71732. + # compilers refuse to overwrite an existing .o file with -o,
  71733. + # though they will create one.
  71734. + am_cv_prog_cc_c_o=yes
  71735. + for am_i in 1 2; do
  71736. + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  71737. + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  71738. + ac_status=$?
  71739. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  71740. + (exit $ac_status); } \
  71741. + && test -f conftest2.$ac_objext; then
  71742. + : OK
  71743. + else
  71744. + am_cv_prog_cc_c_o=no
  71745. + break
  71746. + fi
  71747. + done
  71748. + rm -f core conftest*
  71749. + unset am_i
  71750. +fi
  71751. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  71752. +$as_echo "$am_cv_prog_cc_c_o" >&6; }
  71753. +if test "$am_cv_prog_cc_c_o" != yes; then
  71754. + # Losing compiler, so override with the script.
  71755. + # FIXME: It is wrong to rewrite CC.
  71756. + # But if we don't then we get into trouble of one sort or another.
  71757. + # A longer-term fix would be to have automake use am__CC in this case,
  71758. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  71759. + CC="$am_aux_dir/compile $CC"
  71760. +fi
  71761. +ac_ext=c
  71762. +ac_cpp='$CPP $CPPFLAGS'
  71763. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  71764. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  71765. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  71766. +
  71767. +
  71768. depcc="$CC" am_compiler_list=
  71769.  
  71770. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  71771. @@ -11201,8 +12777,9 @@
  71772. # We make a subdir and do the tests there. Otherwise we can end up
  71773. # making bogus files that we don't know about and never remove. For
  71774. # instance it was reported that on HP-UX the gcc test will end up
  71775. - # making a dummy file named `D' -- because `-MD' means `put the output
  71776. - # in D'.
  71777. + # making a dummy file named 'D' -- because '-MD' means "put the output
  71778. + # in D".
  71779. + rm -rf conftest.dir
  71780. mkdir conftest.dir
  71781. # Copy depcomp to subdir because otherwise we won't find it if we're
  71782. # using a relative directory.
  71783. @@ -11236,16 +12813,16 @@
  71784. : > sub/conftest.c
  71785. for i in 1 2 3 4 5 6; do
  71786. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  71787. - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  71788. - # Solaris 8's {/usr,}/bin/sh.
  71789. - touch sub/conftst$i.h
  71790. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  71791. + # Solaris 10 /bin/sh.
  71792. + echo '/* dummy */' > sub/conftst$i.h
  71793. done
  71794. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  71795.  
  71796. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  71797. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  71798. # mode. It turns out that the SunPro C++ compiler does not properly
  71799. - # handle `-M -o', and we need to detect this. Also, some Intel
  71800. - # versions had trouble with output in subdirs
  71801. + # handle '-M -o', and we need to detect this. Also, some Intel
  71802. + # versions had trouble with output in subdirs.
  71803. am__obj=sub/conftest.${OBJEXT-o}
  71804. am__minus_obj="-o $am__obj"
  71805. case $depmode in
  71806. @@ -11254,16 +12831,16 @@
  71807. test "$am__universal" = false || continue
  71808. ;;
  71809. nosideeffect)
  71810. - # after this tag, mechanisms are not by side-effect, so they'll
  71811. - # only be used when explicitly requested
  71812. + # After this tag, mechanisms are not by side-effect, so they'll
  71813. + # only be used when explicitly requested.
  71814. if test "x$enable_dependency_tracking" = xyes; then
  71815. continue
  71816. else
  71817. break
  71818. fi
  71819. ;;
  71820. - msvisualcpp | msvcmsys)
  71821. - # This compiler won't grok `-c -o', but also, the minuso test has
  71822. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  71823. + # This compiler won't grok '-c -o', but also, the minuso test has
  71824. # not run yet. These depmodes are late enough in the game, and
  71825. # so weak that their functioning should not be impacted.
  71826. am__obj=conftest.${OBJEXT-o}
  71827. @@ -11320,8 +12897,8 @@
  71828.  
  71829. # Compiler Flags
  71830.  
  71831. -#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'
  71832. -INCLUDES='-DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  71833. +#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'
  71834. +AM_CPPFLAGS='-DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  71835.  
  71836. # Checks whether shifting of signed integers works: -1 << 3 = -8 .
  71837. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shifting of signed integers works" >&5
  71838. @@ -11757,7 +13334,7 @@
  71839. IFS=$as_save_IFS
  71840. test -z "$as_dir" && as_dir=.
  71841. for ac_exec_ext in '' $ac_executable_extensions; do
  71842. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  71843. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  71844. ac_cv_path_xfig="$as_dir/$ac_word$ac_exec_ext"
  71845. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  71846. break 2
  71847. @@ -11804,7 +13381,7 @@
  71848. IFS=$as_save_IFS
  71849. test -z "$as_dir" && as_dir=.
  71850. for ac_exec_ext in '' $ac_executable_extensions; do
  71851. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  71852. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  71853. ac_cv_path_xmag="$as_dir/$ac_word$ac_exec_ext"
  71854. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  71855. break 2
  71856. @@ -11973,11 +13550,11 @@
  71857. int
  71858. main ()
  71859. {
  71860. -/* FIXME: Include the comments suggested by Paul. */
  71861. +
  71862. #ifndef __cplusplus
  71863. - /* Ultrix mips cc rejects this. */
  71864. + /* Ultrix mips cc rejects this sort of thing. */
  71865. typedef int charset[2];
  71866. - const charset cs;
  71867. + const charset cs = { 0, 0 };
  71868. /* SunOS 4.1.1 cc rejects this. */
  71869. char const *const *pcpcc;
  71870. char **ppc;
  71871. @@ -11994,8 +13571,9 @@
  71872. ++pcpcc;
  71873. ppc = (char**) pcpcc;
  71874. pcpcc = (char const *const *) ppc;
  71875. - { /* SCO 3.2v4 cc rejects this. */
  71876. - char *t;
  71877. + { /* SCO 3.2v4 cc rejects this sort of thing. */
  71878. + char tx;
  71879. + char *t = &tx;
  71880. char const *s = 0 ? (char *) 0 : (char const *) 0;
  71881.  
  71882. *t++ = 0;
  71883. @@ -12011,10 +13589,10 @@
  71884. iptr p = 0;
  71885. ++p;
  71886. }
  71887. - { /* AIX XL C 1.02.0.0 rejects this saying
  71888. + { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
  71889. "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  71890. - struct s { int j; const int *ap[3]; };
  71891. - struct s *b; b->j = 5;
  71892. + struct s { int j; const int *ap[3]; } bx;
  71893. + struct s *b = &bx; b->j = 5;
  71894. }
  71895. { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  71896. const int foo = 10;
  71897. @@ -12220,7 +13798,6 @@
  71898.  
  71899. ac_libobjs=
  71900. ac_ltlibobjs=
  71901. -U=
  71902. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  71903. # 1. Remove the extension, and $U if already installed.
  71904. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  71905. @@ -12235,6 +13812,14 @@
  71906. LTLIBOBJS=$ac_ltlibobjs
  71907.  
  71908.  
  71909. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  71910. +$as_echo_n "checking that generated files are newer than configure... " >&6; }
  71911. + if test -n "$am_sleep_pid"; then
  71912. + # Hide warnings about reused PIDs.
  71913. + wait $am_sleep_pid 2>/dev/null
  71914. + fi
  71915. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  71916. +$as_echo "done" >&6; }
  71917. if test -n "$EXEEXT"; then
  71918. am__EXEEXT_TRUE=
  71919. am__EXEEXT_FALSE='#'
  71920. @@ -12554,16 +14139,16 @@
  71921. # ... but there are two gotchas:
  71922. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  71923. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  71924. - # In both cases, we have to default to `cp -p'.
  71925. + # In both cases, we have to default to `cp -pR'.
  71926. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  71927. - as_ln_s='cp -p'
  71928. + as_ln_s='cp -pR'
  71929. elif ln conf$$.file conf$$ 2>/dev/null; then
  71930. as_ln_s=ln
  71931. else
  71932. - as_ln_s='cp -p'
  71933. + as_ln_s='cp -pR'
  71934. fi
  71935. else
  71936. - as_ln_s='cp -p'
  71937. + as_ln_s='cp -pR'
  71938. fi
  71939. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  71940. rmdir conf$$.dir 2>/dev/null
  71941. @@ -12623,28 +14208,16 @@
  71942. as_mkdir_p=false
  71943. fi
  71944.  
  71945. -if test -x / >/dev/null 2>&1; then
  71946. - as_test_x='test -x'
  71947. -else
  71948. - if ls -dL / >/dev/null 2>&1; then
  71949. - as_ls_L_option=L
  71950. - else
  71951. - as_ls_L_option=
  71952. - fi
  71953. - as_test_x='
  71954. - eval sh -c '\''
  71955. - if test -d "$1"; then
  71956. - test -d "$1/.";
  71957. - else
  71958. - case $1 in #(
  71959. - -*)set "./$1";;
  71960. - esac;
  71961. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  71962. - ???[sx]*):;;*)false;;esac;fi
  71963. - '\'' sh
  71964. - '
  71965. -fi
  71966. -as_executable_p=$as_test_x
  71967. +
  71968. +# as_fn_executable_p FILE
  71969. +# -----------------------
  71970. +# Test if FILE is an executable regular file.
  71971. +as_fn_executable_p ()
  71972. +{
  71973. + test -f "$1" && test -x "$1"
  71974. +} # as_fn_executable_p
  71975. +as_test_x='test -x'
  71976. +as_executable_p=as_fn_executable_p
  71977.  
  71978. # Sed expression to map a string onto a valid CPP name.
  71979. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  71980. @@ -12665,8 +14238,8 @@
  71981. # report actual input values of CONFIG_FILES etc. instead of their
  71982. # values after options handling.
  71983. ac_log="
  71984. -This file was extended by $as_me, which was
  71985. -generated by GNU Autoconf 2.68. Invocation command line was
  71986. +This file was extended by fiasco $as_me 1.3, which was
  71987. +generated by GNU Autoconf 2.69. Invocation command line was
  71988.  
  71989. CONFIG_FILES = $CONFIG_FILES
  71990. CONFIG_HEADERS = $CONFIG_HEADERS
  71991. @@ -12731,11 +14304,11 @@
  71992. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  71993. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  71994. ac_cs_version="\\
  71995. -config.status
  71996. -configured by $0, generated by GNU Autoconf 2.68,
  71997. +fiasco config.status 1.3
  71998. +configured by $0, generated by GNU Autoconf 2.69,
  71999. with options \\"\$ac_cs_config\\"
  72000.  
  72001. -Copyright (C) 2010 Free Software Foundation, Inc.
  72002. +Copyright (C) 2012 Free Software Foundation, Inc.
  72003. This config.status script is free software; the Free Software Foundation
  72004. gives unlimited permission to copy, distribute and modify it."
  72005.  
  72006. @@ -12826,7 +14399,7 @@
  72007. _ACEOF
  72008. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  72009. if \$ac_cs_recheck; then
  72010. - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  72011. + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  72012. shift
  72013. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  72014. CONFIG_SHELL='$SHELL'
  72015. @@ -12850,7 +14423,7 @@
  72016. #
  72017. # INIT-COMMANDS
  72018. #
  72019. -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  72020. +AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
  72021.  
  72022.  
  72023. # The HP-UX ksh and POSIX shell print the target directory to stdout
  72024. @@ -12860,131 +14433,159 @@
  72025. sed_quote_subst='$sed_quote_subst'
  72026. double_quote_subst='$double_quote_subst'
  72027. delay_variable_subst='$delay_variable_subst'
  72028. -macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
  72029. -macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
  72030. -enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
  72031. -enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
  72032. -pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
  72033. -enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
  72034. -host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
  72035. -host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
  72036. -host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
  72037. -build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
  72038. -build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
  72039. -build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
  72040. -SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
  72041. -Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
  72042. -GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
  72043. -EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
  72044. -FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
  72045. -LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
  72046. -NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
  72047. -LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
  72048. -max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
  72049. -ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
  72050. -exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
  72051. -lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
  72052. -lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
  72053. -lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
  72054. -reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
  72055. -reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72056. -OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
  72057. -deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
  72058. -file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
  72059. -AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
  72060. -AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  72061. -STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
  72062. -RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
  72063. -old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72064. -old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72065. -old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72066. -CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
  72067. -CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  72068. -compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
  72069. -GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
  72070. -lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
  72071. -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
  72072. -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"`'
  72073. -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"`'
  72074. -objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
  72075. -SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
  72076. -ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
  72077. -MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
  72078. -lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
  72079. -lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
  72080. -lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
  72081. -lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
  72082. -lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
  72083. -need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
  72084. -DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
  72085. -NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
  72086. -LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
  72087. -OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  72088. -OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
  72089. -libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
  72090. -shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72091. -extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72092. -archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
  72093. -enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
  72094. -export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72095. -whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72096. -compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
  72097. -old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72098. -old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72099. -archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72100. -archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72101. -module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72102. -module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72103. -with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
  72104. -allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  72105. -no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  72106. -hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72107. -hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
  72108. -hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
  72109. -hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
  72110. -hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
  72111. -hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
  72112. -hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  72113. -hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
  72114. -inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
  72115. -link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
  72116. -fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
  72117. -always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
  72118. -export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72119. -exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  72120. -include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  72121. -prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72122. -file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72123. -variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
  72124. -need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  72125. -need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
  72126. -version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
  72127. -runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  72128. -shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  72129. -shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
  72130. -libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72131. -library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72132. -soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72133. -postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72134. -postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72135. -finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72136. -finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
  72137. -hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
  72138. -sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72139. -sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72140. -hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
  72141. -enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
  72142. -enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
  72143. -enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
  72144. -old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
  72145. -striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
  72146. +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  72147. +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  72148. +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  72149. +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  72150. +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  72151. +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  72152. +shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
  72153. +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  72154. +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  72155. +PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  72156. +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  72157. +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  72158. +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  72159. +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  72160. +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  72161. +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  72162. +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  72163. +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  72164. +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  72165. +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  72166. +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  72167. +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  72168. +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  72169. +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  72170. +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  72171. +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  72172. +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  72173. +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  72174. +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  72175. +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  72176. +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  72177. +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  72178. +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  72179. +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  72180. +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  72181. +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  72182. +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  72183. +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  72184. +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  72185. +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  72186. +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  72187. +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  72188. +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  72189. +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  72190. +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  72191. +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  72192. +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  72193. +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  72194. +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  72195. +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  72196. +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  72197. +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  72198. +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  72199. +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  72200. +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  72201. +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  72202. +lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
  72203. +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  72204. +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"`'
  72205. +lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
  72206. +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  72207. +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  72208. +lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
  72209. +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  72210. +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  72211. +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  72212. +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  72213. +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  72214. +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  72215. +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  72216. +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  72217. +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  72218. +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  72219. +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  72220. +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  72221. +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  72222. +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  72223. +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  72224. +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  72225. +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  72226. +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  72227. +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  72228. +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  72229. +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  72230. +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  72231. +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  72232. +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  72233. +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  72234. +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  72235. +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  72236. +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  72237. +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  72238. +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  72239. +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  72240. +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  72241. +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  72242. +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  72243. +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  72244. +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  72245. +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  72246. +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  72247. +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  72248. +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  72249. +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  72250. +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  72251. +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  72252. +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  72253. +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  72254. +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  72255. +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  72256. +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  72257. +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  72258. +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  72259. +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  72260. +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  72261. +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  72262. +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  72263. +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  72264. +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  72265. +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  72266. +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  72267. +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  72268. +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  72269. +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  72270. +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  72271. +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  72272. +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  72273. +configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
  72274. +configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
  72275. +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  72276. +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  72277. +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  72278. +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  72279. +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  72280. +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  72281.  
  72282. LTCC='$LTCC'
  72283. LTCFLAGS='$LTCFLAGS'
  72284. compiler='$compiler_DEFAULT'
  72285.  
  72286. +# A function that is used when there is no print builtin or printf.
  72287. +func_fallback_echo ()
  72288. +{
  72289. + eval 'cat <<_LTECHO_EOF
  72290. +\$1
  72291. +_LTECHO_EOF'
  72292. +}
  72293. +
  72294. # Quote evaled strings.
  72295. -for var in SED \
  72296. +for var in SHELL \
  72297. +ECHO \
  72298. +PATH_SEPARATOR \
  72299. +SED \
  72300. GREP \
  72301. EGREP \
  72302. FGREP \
  72303. @@ -12997,8 +14598,13 @@
  72304. OBJDUMP \
  72305. deplibs_check_method \
  72306. file_magic_cmd \
  72307. +file_magic_glob \
  72308. +want_nocaseglob \
  72309. +DLLTOOL \
  72310. +sharedlib_from_linklib_cmd \
  72311. AR \
  72312. AR_FLAGS \
  72313. +archiver_list_spec \
  72314. STRIP \
  72315. RANLIB \
  72316. CC \
  72317. @@ -13006,16 +14612,19 @@
  72318. compiler \
  72319. lt_cv_sys_global_symbol_pipe \
  72320. lt_cv_sys_global_symbol_to_cdecl \
  72321. +lt_cv_sys_global_symbol_to_import \
  72322. lt_cv_sys_global_symbol_to_c_name_address \
  72323. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  72324. -SHELL \
  72325. -ECHO \
  72326. +lt_cv_nm_interface \
  72327. +nm_file_list_spec \
  72328. +lt_cv_truncate_bin \
  72329. lt_prog_compiler_no_builtin_flag \
  72330. -lt_prog_compiler_wl \
  72331. lt_prog_compiler_pic \
  72332. +lt_prog_compiler_wl \
  72333. lt_prog_compiler_static \
  72334. lt_cv_prog_compiler_c_o \
  72335. need_locks \
  72336. +MANIFEST_TOOL \
  72337. DSYMUTIL \
  72338. NMEDIT \
  72339. LIPO \
  72340. @@ -13029,9 +14638,7 @@
  72341. allow_undefined_flag \
  72342. no_undefined_flag \
  72343. hardcode_libdir_flag_spec \
  72344. -hardcode_libdir_flag_spec_ld \
  72345. hardcode_libdir_separator \
  72346. -fix_srcfile_path \
  72347. exclude_expsyms \
  72348. include_expsyms \
  72349. file_list_spec \
  72350. @@ -13039,12 +14646,13 @@
  72351. libname_spec \
  72352. library_names_spec \
  72353. soname_spec \
  72354. +install_override_mode \
  72355. finish_eval \
  72356. old_striplib \
  72357. striplib; do
  72358. - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  72359. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  72360. *[\\\\\\\`\\"\\\$]*)
  72361. - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  72362. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  72363. ;;
  72364. *)
  72365. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  72366. @@ -13066,14 +14674,16 @@
  72367. module_expsym_cmds \
  72368. export_symbols_cmds \
  72369. prelink_cmds \
  72370. +postlink_cmds \
  72371. postinstall_cmds \
  72372. postuninstall_cmds \
  72373. finish_cmds \
  72374. sys_lib_search_path_spec \
  72375. -sys_lib_dlsearch_path_spec; do
  72376. - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  72377. +configure_time_dlsearch_path \
  72378. +configure_time_lt_sys_library_path; do
  72379. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  72380. *[\\\\\\\`\\"\\\$]*)
  72381. - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  72382. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  72383. ;;
  72384. *)
  72385. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  72386. @@ -13081,26 +14691,17 @@
  72387. esac
  72388. done
  72389.  
  72390. -# Fix-up fallback echo if it was mangled by the above quoting rules.
  72391. -case \$lt_ECHO in
  72392. -*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
  72393. - ;;
  72394. -esac
  72395. -
  72396. ac_aux_dir='$ac_aux_dir'
  72397. -xsi_shell='$xsi_shell'
  72398. -lt_shell_append='$lt_shell_append'
  72399.  
  72400. -# See if we are running on zsh, and set the options which allow our
  72401. +# See if we are running on zsh, and set the options that allow our
  72402. # commands through without removal of \ escapes INIT.
  72403. -if test -n "\${ZSH_VERSION+set}" ; then
  72404. +if test -n "\${ZSH_VERSION+set}"; then
  72405. setopt NO_GLOB_SUBST
  72406. fi
  72407.  
  72408.  
  72409. PACKAGE='$PACKAGE'
  72410. VERSION='$VERSION'
  72411. - TIMESTAMP='$TIMESTAMP'
  72412. RM='$RM'
  72413. ofile='$ofile'
  72414.  
  72415. @@ -13723,32 +15324,38 @@
  72416.  
  72417. case $ac_file$ac_mode in
  72418. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  72419. - # Autoconf 2.62 quotes --file arguments for eval, but not when files
  72420. + # Older Autoconf quotes --file arguments for eval, but not when files
  72421. # are listed without --file. Let's play safe and only enable the eval
  72422. # if we detect the quoting.
  72423. - case $CONFIG_FILES in
  72424. - *\'*) eval set x "$CONFIG_FILES" ;;
  72425. - *) set x $CONFIG_FILES ;;
  72426. - esac
  72427. + # TODO: see whether this extra hack can be removed once we start
  72428. + # requiring Autoconf 2.70 or later.
  72429. + case $CONFIG_FILES in #(
  72430. + *\'*) :
  72431. + eval set x "$CONFIG_FILES" ;; #(
  72432. + *) :
  72433. + set x $CONFIG_FILES ;; #(
  72434. + *) :
  72435. + ;;
  72436. +esac
  72437. shift
  72438. - for mf
  72439. + # Used to flag and report bootstrapping failures.
  72440. + am_rc=0
  72441. + for am_mf
  72442. do
  72443. # Strip MF so we end up with the name of the file.
  72444. - mf=`echo "$mf" | sed -e 's/:.*$//'`
  72445. - # Check whether this is an Automake generated Makefile or not.
  72446. - # We used to match only the files named `Makefile.in', but
  72447. - # some people rename them; so instead we look at the file content.
  72448. - # Grep'ing the first line is not enough: some people post-process
  72449. - # each Makefile.in and add a new line on top of each file to say so.
  72450. - # Grep'ing the whole file is not good either: AIX grep has a line
  72451. + am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
  72452. + # Check whether this is an Automake generated Makefile which includes
  72453. + # dependency-tracking related rules and includes.
  72454. + # Grep'ing the whole file directly is not great: AIX grep has a line
  72455. # limit of 2048, but all sed's we know have understand at least 4000.
  72456. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  72457. - dirpart=`$as_dirname -- "$mf" ||
  72458. -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  72459. - X"$mf" : 'X\(//\)[^/]' \| \
  72460. - X"$mf" : 'X\(//\)$' \| \
  72461. - X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  72462. -$as_echo X"$mf" |
  72463. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  72464. + || continue
  72465. + am_dirpart=`$as_dirname -- "$am_mf" ||
  72466. +$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  72467. + X"$am_mf" : 'X\(//\)[^/]' \| \
  72468. + X"$am_mf" : 'X\(//\)$' \| \
  72469. + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  72470. +$as_echo X"$am_mf" |
  72471. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  72472. s//\1/
  72473. q
  72474. @@ -13766,107 +15373,99 @@
  72475. q
  72476. }
  72477. s/.*/./; q'`
  72478. - else
  72479. - continue
  72480. - fi
  72481. - # Extract the definition of DEPDIR, am__include, and am__quote
  72482. - # from the Makefile without running `make'.
  72483. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  72484. - test -z "$DEPDIR" && continue
  72485. - am__include=`sed -n 's/^am__include = //p' < "$mf"`
  72486. - test -z "am__include" && continue
  72487. - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  72488. - # When using ansi2knr, U may be empty or an underscore; expand it
  72489. - U=`sed -n 's/^U = //p' < "$mf"`
  72490. - # Find all dependency output files, they are included files with
  72491. - # $(DEPDIR) in their names. We invoke sed twice because it is the
  72492. - # simplest approach to changing $(DEPDIR) to its actual value in the
  72493. - # expansion.
  72494. - for file in `sed -n "
  72495. - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  72496. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  72497. - # Make sure the directory exists.
  72498. - test -f "$dirpart/$file" && continue
  72499. - fdir=`$as_dirname -- "$file" ||
  72500. -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  72501. - X"$file" : 'X\(//\)[^/]' \| \
  72502. - X"$file" : 'X\(//\)$' \| \
  72503. - X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  72504. -$as_echo X"$file" |
  72505. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  72506. - s//\1/
  72507. - q
  72508. - }
  72509. - /^X\(\/\/\)[^/].*/{
  72510. + am_filepart=`$as_basename -- "$am_mf" ||
  72511. +$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
  72512. + X"$am_mf" : 'X\(//\)$' \| \
  72513. + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  72514. +$as_echo X/"$am_mf" |
  72515. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  72516. s//\1/
  72517. q
  72518. }
  72519. - /^X\(\/\/\)$/{
  72520. + /^X\/\(\/\/\)$/{
  72521. s//\1/
  72522. q
  72523. }
  72524. - /^X\(\/\).*/{
  72525. + /^X\/\(\/\).*/{
  72526. s//\1/
  72527. q
  72528. }
  72529. s/.*/./; q'`
  72530. - as_dir=$dirpart/$fdir; as_fn_mkdir_p
  72531. - # echo "creating $dirpart/$file"
  72532. - echo '# dummy' > "$dirpart/$file"
  72533. - done
  72534. + { echo "$as_me:$LINENO: cd "$am_dirpart" \
  72535. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  72536. + | $MAKE -f - am--depfiles" >&5
  72537. + (cd "$am_dirpart" \
  72538. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  72539. + | $MAKE -f - am--depfiles) >&5 2>&5
  72540. + ac_status=$?
  72541. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  72542. + (exit $ac_status); } || am_rc=$?
  72543. done
  72544. + if test $am_rc -ne 0; then
  72545. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  72546. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  72547. +as_fn_error $? "Something went wrong bootstrapping makefile fragments
  72548. + for automatic dependency tracking. Try re-running configure with the
  72549. + '--disable-dependency-tracking' option to at least be able to build
  72550. + the package (albeit without support for automatic dependency tracking).
  72551. +See \`config.log' for more details" "$LINENO" 5; }
  72552. + fi
  72553. + { am_dirpart=; unset am_dirpart;}
  72554. + { am_filepart=; unset am_filepart;}
  72555. + { am_mf=; unset am_mf;}
  72556. + { am_rc=; unset am_rc;}
  72557. + rm -f conftest-deps.mk
  72558. }
  72559. ;;
  72560. "libtool":C)
  72561.  
  72562. - # See if we are running on zsh, and set the options which allow our
  72563. + # See if we are running on zsh, and set the options that allow our
  72564. # commands through without removal of \ escapes.
  72565. - if test -n "${ZSH_VERSION+set}" ; then
  72566. + if test -n "${ZSH_VERSION+set}"; then
  72567. setopt NO_GLOB_SUBST
  72568. fi
  72569.  
  72570. - cfgfile="${ofile}T"
  72571. + cfgfile=${ofile}T
  72572. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  72573. $RM "$cfgfile"
  72574.  
  72575. cat <<_LT_EOF >> "$cfgfile"
  72576. #! $SHELL
  72577. -
  72578. -# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  72579. -# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  72580. +# Generated automatically by $as_me ($PACKAGE) $VERSION
  72581. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  72582. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  72583. +
  72584. +# Provide generalized library-building support services.
  72585. +# Written by Gordon Matzigkeit, 1996
  72586. +
  72587. +# Copyright (C) 2014 Free Software Foundation, Inc.
  72588. +# This is free software; see the source for copying conditions. There is NO
  72589. +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  72590. +
  72591. +# GNU Libtool is free software; you can redistribute it and/or modify
  72592. +# it under the terms of the GNU General Public License as published by
  72593. +# the Free Software Foundation; either version 2 of of the License, or
  72594. +# (at your option) any later version.
  72595. #
  72596. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  72597. -# 2006, 2007, 2008 Free Software Foundation, Inc.
  72598. -# Written by Gordon Matzigkeit, 1996
  72599. -#
  72600. -# This file is part of GNU Libtool.
  72601. -#
  72602. -# GNU Libtool is free software; you can redistribute it and/or
  72603. -# modify it under the terms of the GNU General Public License as
  72604. -# published by the Free Software Foundation; either version 2 of
  72605. -# the License, or (at your option) any later version.
  72606. -#
  72607. -# As a special exception to the GNU General Public License,
  72608. -# if you distribute this file as part of a program or library that
  72609. -# is built using GNU Libtool, you may include this file under the
  72610. -# same distribution terms that you use for the rest of that program.
  72611. +# As a special exception to the GNU General Public License, if you
  72612. +# distribute this file as part of a program or library that is built
  72613. +# using GNU Libtool, you may include this file under the same
  72614. +# distribution terms that you use for the rest of that program.
  72615. #
  72616. -# GNU Libtool is distributed in the hope that it will be useful,
  72617. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  72618. +# GNU Libtool is distributed in the hope that it will be useful, but
  72619. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  72620. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  72621. # GNU General Public License for more details.
  72622. #
  72623. # You should have received a copy of the GNU General Public License
  72624. -# along with GNU Libtool; see the file COPYING. If not, a copy
  72625. -# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  72626. -# obtained by writing to the Free Software Foundation, Inc.,
  72627. -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  72628. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  72629.  
  72630.  
  72631. # The names of the tagged configurations supported by this script.
  72632. -available_tags=""
  72633. +available_tags=''
  72634. +
  72635. +# Configured defaults for sys_lib_dlsearch_path munging.
  72636. +: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
  72637.  
  72638. # ### BEGIN LIBTOOL CONFIG
  72639.  
  72640. @@ -13886,6 +15485,18 @@
  72641. # Whether or not to optimize for fast installation.
  72642. fast_install=$enable_fast_install
  72643.  
  72644. +# Shared archive member basename,for filename based shared library versioning on AIX.
  72645. +shared_archive_member_spec=$shared_archive_member_spec
  72646. +
  72647. +# Shell to use when invoking shell scripts.
  72648. +SHELL=$lt_SHELL
  72649. +
  72650. +# An echo program that protects backslashes.
  72651. +ECHO=$lt_ECHO
  72652. +
  72653. +# The PATH separator for the build system.
  72654. +PATH_SEPARATOR=$lt_PATH_SEPARATOR
  72655. +
  72656. # The host system.
  72657. host_alias=$host_alias
  72658. host=$host
  72659. @@ -13935,9 +15546,11 @@
  72660. # turn newlines into spaces.
  72661. NL2SP=$lt_lt_NL2SP
  72662.  
  72663. -# How to create reloadable object files.
  72664. -reload_flag=$lt_reload_flag
  72665. -reload_cmds=$lt_reload_cmds
  72666. +# convert \$build file names to \$host format.
  72667. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  72668. +
  72669. +# convert \$build files to toolchain format.
  72670. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  72671.  
  72672. # An object symbol dumper.
  72673. OBJDUMP=$lt_OBJDUMP
  72674. @@ -13945,13 +15558,30 @@
  72675. # Method to check whether dependent libraries are shared objects.
  72676. deplibs_check_method=$lt_deplibs_check_method
  72677.  
  72678. -# Command to use when deplibs_check_method == "file_magic".
  72679. +# Command to use when deplibs_check_method = "file_magic".
  72680. file_magic_cmd=$lt_file_magic_cmd
  72681.  
  72682. +# How to find potential files when deplibs_check_method = "file_magic".
  72683. +file_magic_glob=$lt_file_magic_glob
  72684. +
  72685. +# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  72686. +want_nocaseglob=$lt_want_nocaseglob
  72687. +
  72688. +# DLL creation program.
  72689. +DLLTOOL=$lt_DLLTOOL
  72690. +
  72691. +# Command to associate shared and link libraries.
  72692. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  72693. +
  72694. # The archiver.
  72695. AR=$lt_AR
  72696. +
  72697. +# Flags to create an archive.
  72698. AR_FLAGS=$lt_AR_FLAGS
  72699.  
  72700. +# How to feed a file listing to the archiver.
  72701. +archiver_list_spec=$lt_archiver_list_spec
  72702. +
  72703. # A symbol stripping program.
  72704. STRIP=$lt_STRIP
  72705.  
  72706. @@ -13960,6 +15590,9 @@
  72707. old_postinstall_cmds=$lt_old_postinstall_cmds
  72708. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  72709.  
  72710. +# Whether to use a lock for old archive extraction.
  72711. +lock_old_archive_extraction=$lock_old_archive_extraction
  72712. +
  72713. # A C compiler.
  72714. LTCC=$lt_CC
  72715.  
  72716. @@ -13972,20 +15605,29 @@
  72717. # Transform the output of nm in a proper C declaration.
  72718. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  72719.  
  72720. +# Transform the output of nm into a list of symbols to manually relocate.
  72721. +global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
  72722. +
  72723. # Transform the output of nm in a C name address pair.
  72724. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  72725.  
  72726. # Transform the output of nm in a C name address pair when lib prefix is needed.
  72727. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  72728.  
  72729. -# The name of the directory that contains temporary libtool files.
  72730. -objdir=$objdir
  72731. +# The name lister interface.
  72732. +nm_interface=$lt_lt_cv_nm_interface
  72733.  
  72734. -# Shell to use when invoking shell scripts.
  72735. -SHELL=$lt_SHELL
  72736. +# Specify filename containing input files for \$NM.
  72737. +nm_file_list_spec=$lt_nm_file_list_spec
  72738.  
  72739. -# An echo program that does not interpret backslashes.
  72740. -ECHO=$lt_ECHO
  72741. +# The root where to search for dependent libraries,and where our libraries should be installed.
  72742. +lt_sysroot=$lt_sysroot
  72743. +
  72744. +# Command to truncate a binary pipe.
  72745. +lt_truncate_bin=$lt_lt_cv_truncate_bin
  72746. +
  72747. +# The name of the directory that contains temporary libtool files.
  72748. +objdir=$objdir
  72749.  
  72750. # Used to examine libraries when file_magic_cmd begins with "file".
  72751. MAGIC_CMD=$MAGIC_CMD
  72752. @@ -13993,6 +15635,9 @@
  72753. # Must we lock files when doing compilation?
  72754. need_locks=$lt_need_locks
  72755.  
  72756. +# Manifest tool.
  72757. +MANIFEST_TOOL=$lt_MANIFEST_TOOL
  72758. +
  72759. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  72760. DSYMUTIL=$lt_DSYMUTIL
  72761.  
  72762. @@ -14049,6 +15694,9 @@
  72763. # The coded name of the library, if different from the real name.
  72764. soname_spec=$lt_soname_spec
  72765.  
  72766. +# Permission mode override for installation of shared libraries.
  72767. +install_override_mode=$lt_install_override_mode
  72768. +
  72769. # Command to use after installation of a shared archive.
  72770. postinstall_cmds=$lt_postinstall_cmds
  72771.  
  72772. @@ -14068,8 +15716,11 @@
  72773. # Compile-time system search path for libraries.
  72774. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  72775.  
  72776. -# Run-time system search path for libraries.
  72777. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  72778. +# Detected run-time system search path for libraries.
  72779. +sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
  72780. +
  72781. +# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
  72782. +configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
  72783.  
  72784. # Whether dlopen is supported.
  72785. dlopen_support=$enable_dlopen
  72786. @@ -14088,6 +15739,10 @@
  72787. # The linker used to build libraries.
  72788. LD=$lt_LD
  72789.  
  72790. +# How to create reloadable object files.
  72791. +reload_flag=$lt_reload_flag
  72792. +reload_cmds=$lt_reload_cmds
  72793. +
  72794. # Commands used to build an old-style archive.
  72795. old_archive_cmds=$lt_old_archive_cmds
  72796.  
  72797. @@ -14100,12 +15755,12 @@
  72798. # Compiler flag to turn off builtin functions.
  72799. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  72800.  
  72801. -# How to pass a linker flag through the compiler.
  72802. -wl=$lt_lt_prog_compiler_wl
  72803. -
  72804. # Additional compiler flags for building library objects.
  72805. pic_flag=$lt_lt_prog_compiler_pic
  72806.  
  72807. +# How to pass a linker flag through the compiler.
  72808. +wl=$lt_lt_prog_compiler_wl
  72809. +
  72810. # Compiler flag to prevent dynamic linking.
  72811. link_static_flag=$lt_lt_prog_compiler_static
  72812.  
  72813. @@ -14155,20 +15810,16 @@
  72814. # This must work even if \$libdir does not exist
  72815. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  72816.  
  72817. -# If ld is used when linking, flag to hardcode \$libdir into a binary
  72818. -# during linking. This must work even if \$libdir does not exist.
  72819. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  72820. -
  72821. # Whether we need a single "-rpath" flag with a separated argument.
  72822. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  72823.  
  72824. -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  72825. +# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  72826. # DIR into the resulting binary.
  72827. hardcode_direct=$hardcode_direct
  72828.  
  72829. -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  72830. +# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  72831. # DIR into the resulting binary and the resulting library dependency is
  72832. -# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  72833. +# "absolute",i.e impossible to change by setting \$shlibpath_var if the
  72834. # library is relocated.
  72835. hardcode_direct_absolute=$hardcode_direct_absolute
  72836.  
  72837. @@ -14192,9 +15843,6 @@
  72838. # Whether libtool must link a program against all its dependency libraries.
  72839. link_all_deplibs=$link_all_deplibs
  72840.  
  72841. -# Fix the shell variable \$srcfile for the compiler.
  72842. -fix_srcfile_path=$lt_fix_srcfile_path
  72843. -
  72844. # Set to "yes" if exported symbols are required.
  72845. always_export_symbols=$always_export_symbols
  72846.  
  72847. @@ -14210,6 +15858,9 @@
  72848. # Commands necessary for linking programs (against libraries) with templates.
  72849. prelink_cmds=$lt_prelink_cmds
  72850.  
  72851. +# Commands necessary for finishing linking programs.
  72852. +postlink_cmds=$lt_postlink_cmds
  72853. +
  72854. # Specify filename containing input files.
  72855. file_list_spec=$lt_file_list_spec
  72856.  
  72857. @@ -14220,13 +15871,72 @@
  72858.  
  72859. _LT_EOF
  72860.  
  72861. + cat <<'_LT_EOF' >> "$cfgfile"
  72862. +
  72863. +# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
  72864. +
  72865. +# func_munge_path_list VARIABLE PATH
  72866. +# -----------------------------------
  72867. +# VARIABLE is name of variable containing _space_ separated list of
  72868. +# directories to be munged by the contents of PATH, which is string
  72869. +# having a format:
  72870. +# "DIR[:DIR]:"
  72871. +# string "DIR[ DIR]" will be prepended to VARIABLE
  72872. +# ":DIR[:DIR]"
  72873. +# string "DIR[ DIR]" will be appended to VARIABLE
  72874. +# "DIRP[:DIRP]::[DIRA:]DIRA"
  72875. +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  72876. +# "DIRA[ DIRA]" will be appended to VARIABLE
  72877. +# "DIR[:DIR]"
  72878. +# VARIABLE will be replaced by "DIR[ DIR]"
  72879. +func_munge_path_list ()
  72880. +{
  72881. + case x$2 in
  72882. + x)
  72883. + ;;
  72884. + *:)
  72885. + eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
  72886. + ;;
  72887. + x:*)
  72888. + eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
  72889. + ;;
  72890. + *::*)
  72891. + eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  72892. + eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
  72893. + ;;
  72894. + *)
  72895. + eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
  72896. + ;;
  72897. + esac
  72898. +}
  72899. +
  72900. +
  72901. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  72902. +func_cc_basename ()
  72903. +{
  72904. + for cc_temp in $*""; do
  72905. + case $cc_temp in
  72906. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  72907. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  72908. + \-*) ;;
  72909. + *) break;;
  72910. + esac
  72911. + done
  72912. + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  72913. +}
  72914. +
  72915. +
  72916. +# ### END FUNCTIONS SHARED WITH CONFIGURE
  72917. +
  72918. +_LT_EOF
  72919. +
  72920. case $host_os in
  72921. aix3*)
  72922. cat <<\_LT_EOF >> "$cfgfile"
  72923. # AIX sometimes has problems with the GCC collect2 program. For some
  72924. # reason, if we set the COLLECT_NAMES environment variable, the problems
  72925. # vanish in a puff of smoke.
  72926. -if test "X${COLLECT_NAMES+set}" != Xset; then
  72927. +if test set != "${COLLECT_NAMES+set}"; then
  72928. COLLECT_NAMES=
  72929. export COLLECT_NAMES
  72930. fi
  72931. @@ -14235,219 +15945,17 @@
  72932. esac
  72933.  
  72934.  
  72935. -ltmain="$ac_aux_dir/ltmain.sh"
  72936. +ltmain=$ac_aux_dir/ltmain.sh
  72937.  
  72938.  
  72939. # We use sed instead of cat because bash on DJGPP gets confused if
  72940. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  72941. # text mode, it properly converts lines to CR/LF. This bash problem
  72942. # is reportedly fixed, but why not run on old versions too?
  72943. - sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  72944. - || (rm -f "$cfgfile"; exit 1)
  72945. -
  72946. - case $xsi_shell in
  72947. - yes)
  72948. - cat << \_LT_EOF >> "$cfgfile"
  72949. -
  72950. -# func_dirname file append nondir_replacement
  72951. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  72952. -# otherwise set result to NONDIR_REPLACEMENT.
  72953. -func_dirname ()
  72954. -{
  72955. - case ${1} in
  72956. - */*) func_dirname_result="${1%/*}${2}" ;;
  72957. - * ) func_dirname_result="${3}" ;;
  72958. - esac
  72959. -}
  72960. -
  72961. -# func_basename file
  72962. -func_basename ()
  72963. -{
  72964. - func_basename_result="${1##*/}"
  72965. -}
  72966. -
  72967. -# func_dirname_and_basename file append nondir_replacement
  72968. -# perform func_basename and func_dirname in a single function
  72969. -# call:
  72970. -# dirname: Compute the dirname of FILE. If nonempty,
  72971. -# add APPEND to the result, otherwise set result
  72972. -# to NONDIR_REPLACEMENT.
  72973. -# value returned in "$func_dirname_result"
  72974. -# basename: Compute filename of FILE.
  72975. -# value retuned in "$func_basename_result"
  72976. -# Implementation must be kept synchronized with func_dirname
  72977. -# and func_basename. For efficiency, we do not delegate to
  72978. -# those functions but instead duplicate the functionality here.
  72979. -func_dirname_and_basename ()
  72980. -{
  72981. - case ${1} in
  72982. - */*) func_dirname_result="${1%/*}${2}" ;;
  72983. - * ) func_dirname_result="${3}" ;;
  72984. - esac
  72985. - func_basename_result="${1##*/}"
  72986. -}
  72987. -
  72988. -# func_stripname prefix suffix name
  72989. -# strip PREFIX and SUFFIX off of NAME.
  72990. -# PREFIX and SUFFIX must not contain globbing or regex special
  72991. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  72992. -# dot (in which case that matches only a dot).
  72993. -func_stripname ()
  72994. -{
  72995. - # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  72996. - # positional parameters, so assign one to ordinary parameter first.
  72997. - func_stripname_result=${3}
  72998. - func_stripname_result=${func_stripname_result#"${1}"}
  72999. - func_stripname_result=${func_stripname_result%"${2}"}
  73000. -}
  73001. -
  73002. -# func_opt_split
  73003. -func_opt_split ()
  73004. -{
  73005. - func_opt_split_opt=${1%%=*}
  73006. - func_opt_split_arg=${1#*=}
  73007. -}
  73008. -
  73009. -# func_lo2o object
  73010. -func_lo2o ()
  73011. -{
  73012. - case ${1} in
  73013. - *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  73014. - *) func_lo2o_result=${1} ;;
  73015. - esac
  73016. -}
  73017. -
  73018. -# func_xform libobj-or-source
  73019. -func_xform ()
  73020. -{
  73021. - func_xform_result=${1%.*}.lo
  73022. -}
  73023. -
  73024. -# func_arith arithmetic-term...
  73025. -func_arith ()
  73026. -{
  73027. - func_arith_result=$(( $* ))
  73028. -}
  73029. -
  73030. -# func_len string
  73031. -# STRING may not start with a hyphen.
  73032. -func_len ()
  73033. -{
  73034. - func_len_result=${#1}
  73035. -}
  73036. -
  73037. -_LT_EOF
  73038. - ;;
  73039. - *) # Bourne compatible functions.
  73040. - cat << \_LT_EOF >> "$cfgfile"
  73041. -
  73042. -# func_dirname file append nondir_replacement
  73043. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  73044. -# otherwise set result to NONDIR_REPLACEMENT.
  73045. -func_dirname ()
  73046. -{
  73047. - # Extract subdirectory from the argument.
  73048. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  73049. - if test "X$func_dirname_result" = "X${1}"; then
  73050. - func_dirname_result="${3}"
  73051. - else
  73052. - func_dirname_result="$func_dirname_result${2}"
  73053. - fi
  73054. -}
  73055. -
  73056. -# func_basename file
  73057. -func_basename ()
  73058. -{
  73059. - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  73060. -}
  73061. -
  73062. -
  73063. -# func_stripname prefix suffix name
  73064. -# strip PREFIX and SUFFIX off of NAME.
  73065. -# PREFIX and SUFFIX must not contain globbing or regex special
  73066. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  73067. -# dot (in which case that matches only a dot).
  73068. -# func_strip_suffix prefix name
  73069. -func_stripname ()
  73070. -{
  73071. - case ${2} in
  73072. - .*) func_stripname_result=`$ECHO "X${3}" \
  73073. - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  73074. - *) func_stripname_result=`$ECHO "X${3}" \
  73075. - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  73076. - esac
  73077. -}
  73078. -
  73079. -# sed scripts:
  73080. -my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  73081. -my_sed_long_arg='1s/^-[^=]*=//'
  73082. -
  73083. -# func_opt_split
  73084. -func_opt_split ()
  73085. -{
  73086. - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  73087. - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  73088. -}
  73089. -
  73090. -# func_lo2o object
  73091. -func_lo2o ()
  73092. -{
  73093. - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  73094. -}
  73095. -
  73096. -# func_xform libobj-or-source
  73097. -func_xform ()
  73098. -{
  73099. - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  73100. -}
  73101. -
  73102. -# func_arith arithmetic-term...
  73103. -func_arith ()
  73104. -{
  73105. - func_arith_result=`expr "$@"`
  73106. -}
  73107. -
  73108. -# func_len string
  73109. -# STRING may not start with a hyphen.
  73110. -func_len ()
  73111. -{
  73112. - func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  73113. -}
  73114. -
  73115. -_LT_EOF
  73116. -esac
  73117. -
  73118. -case $lt_shell_append in
  73119. - yes)
  73120. - cat << \_LT_EOF >> "$cfgfile"
  73121. -
  73122. -# func_append var value
  73123. -# Append VALUE to the end of shell variable VAR.
  73124. -func_append ()
  73125. -{
  73126. - eval "$1+=\$2"
  73127. -}
  73128. -_LT_EOF
  73129. - ;;
  73130. - *)
  73131. - cat << \_LT_EOF >> "$cfgfile"
  73132. -
  73133. -# func_append var value
  73134. -# Append VALUE to the end of shell variable VAR.
  73135. -func_append ()
  73136. -{
  73137. - eval "$1=\$$1\$2"
  73138. -}
  73139. -
  73140. -_LT_EOF
  73141. - ;;
  73142. - esac
  73143. -
  73144. -
  73145. - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  73146. - || (rm -f "$cfgfile"; exit 1)
  73147. + sed '$q' "$ltmain" >> "$cfgfile" \
  73148. + || (rm -f "$cfgfile"; exit 1)
  73149.  
  73150. - mv -f "$cfgfile" "$ofile" ||
  73151. + mv -f "$cfgfile" "$ofile" ||
  73152. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  73153. chmod +x "$ofile"
  73154.  
  73155. diff -Nru Fiasco-master/configure.ac Fiasco-master-pfiasco/configure.ac
  73156. --- Fiasco-master/configure.ac 1969-12-31 19:00:00.000000000 -0500
  73157. +++ Fiasco-master-pfiasco/configure.ac 2019-06-17 21:04:40.141894640 -0400
  73158. @@ -0,0 +1,88 @@
  73159. +# This file is part of FIASCO ([F]ractal [I]mage [A]nd [S]equence [CO]dec)
  73160. +# Copyright (C) 1994-2000 Ullrich Hafner <hafner@bigfoot.de>
  73161. +#
  73162. +# $Id: configure.in,v 5.4 2000/10/22 10:46:54 hafner Exp hafner $
  73163. +# $Revision: 5.4 $, $State: Exp $, $Date: 2000/10/22 10:46:54 $
  73164. +#
  73165. +# Process this file with autoconf to produce a configure script.
  73166. +
  73167. +AC_INIT(fiasco, 1.3)
  73168. +AC_CONFIG_MACRO_DIR([m4])
  73169. +AM_INIT_AUTOMAKE()
  73170. +AM_CONFIG_HEADER(config.h)
  73171. +
  73172. +# Important programs:
  73173. +AM_PROG_LIBTOOL
  73174. +AC_SUBST(LIBTOOL_DEPS)
  73175. +AC_PROG_CC
  73176. +
  73177. +# Compiler Flags
  73178. +AC_SUBST(AM_CPPFLAGS)
  73179. +#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'
  73180. +AM_CPPFLAGS='-DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  73181. +
  73182. +# Checks whether shifting of signed integers works: -1 << 3 = -8 .
  73183. +AC_CACHE_CHECK(whether shifting of signed integers works,
  73184. +ac_cv_signed_shift,
  73185. +[AC_TRY_RUN([main () {
  73186. + exit ((-1 << 2) == -4 && (-4 >> 2) == -1);
  73187. +}], ac_cv_signed_shift=no, ac_cv_signed_shift=yes, ac_cv_signed_shift=yes)])
  73188. +if test $ac_cv_signed_shift = yes; then
  73189. + AC_DEFINE(HAVE_SIGNED_SHIFT)
  73190. +fi
  73191. +
  73192. +AC_C_BIGENDIAN
  73193. +AC_CHECK_SIZEOF(char)
  73194. +AC_CHECK_SIZEOF(short)
  73195. +AC_CHECK_SIZEOF(int)
  73196. +
  73197. +if test [$ac_cv_sizeof_char != 1] -o [$ac_cv_sizeof_short != 2] -o [$ac_cv_sizeof_int != 4] ; then
  73198. + echo "FIASCO requires that sizeof(char)==1, sizeof(short)==2 and sizeof(int)==4"
  73199. + echo "configure failed."
  73200. + exit 1
  73201. +fi
  73202. +
  73203. +# Checks for math library.
  73204. +AC_CHECK_LIB(m, log)
  73205. +if test "$ac_cv_lib_m_log" = "no"; then
  73206. + echo "FIASCO requires math library!"
  73207. + echo "It was not found on your system."
  73208. + echo "configure failed."
  73209. + exit 1
  73210. +fi
  73211. +
  73212. +# Checks for programs
  73213. +AC_PATH_PROG(xfig, xfig)
  73214. +if test -n "$xfig"; then
  73215. + AC_DEFINE_UNQUOTED(XFIG, "$xfig", [Define path of xfig utility])
  73216. +fi
  73217. +AC_PATH_PROG(xmag, xmag)
  73218. +if test -n "$xmag"; then
  73219. + AC_DEFINE_UNQUOTED(XMAG, "$xmag", [Define path of xmag utility])
  73220. +fi
  73221. +
  73222. +# Checks for header files.
  73223. +AC_HEADER_STDC
  73224. +AC_CHECK_HEADERS(assert.h features.h setjmp.h string.h unistd.h)
  73225. +
  73226. +# Checks for typedefs, structures, and compiler characteristics.
  73227. +AC_C_CONST
  73228. +AC_TYPE_SIZE_T
  73229. +AC_HEADER_TIME
  73230. +
  73231. +# Checks for library functions.
  73232. +AC_FUNC_VPRINTF
  73233. +AC_CHECK_FUNCS(log2 memmove strdup strcasecmp)
  73234. +
  73235. +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])
  73236. +
  73237. +if test "$ac_cv_header_setjmp_h" != "yes"; then
  73238. + echo
  73239. + echo "WARNING:"
  73240. + echo "Error handling of FIASCO library requires ANSI-C setjmp.h header file!"
  73241. + echo "If you are using the FIASCO library, exit() is now called in case of errors."
  73242. + echo "Please send me a mail (hafner@bigfoot.de) with the output of"
  73243. + echo "the configure script."
  73244. + echo
  73245. +fi
  73246. +
  73247. diff -Nru Fiasco-master/configure.in Fiasco-master-pfiasco/configure.in
  73248. --- Fiasco-master/configure.in 2013-06-06 22:56:44.000000000 -0400
  73249. +++ Fiasco-master-pfiasco/configure.in 1969-12-31 19:00:00.000000000 -0500
  73250. @@ -1,88 +0,0 @@
  73251. -# This file is part of FIASCO ([F]ractal [I]mage [A]nd [S]equence [CO]dec)
  73252. -# Copyright (C) 1994-2000 Ullrich Hafner <hafner@bigfoot.de>
  73253. -#
  73254. -# $Id: configure.in,v 5.4 2000/10/22 10:46:54 hafner Exp hafner $
  73255. -# $Revision: 5.4 $, $State: Exp $, $Date: 2000/10/22 10:46:54 $
  73256. -#
  73257. -# Process this file with autoconf to produce a configure script.
  73258. -
  73259. -AC_INIT(system.fiascorc)
  73260. -AC_CONFIG_MACRO_DIR([m4])
  73261. -AM_INIT_AUTOMAKE(fiasco, 1.3)
  73262. -AM_CONFIG_HEADER(config.h)
  73263. -
  73264. -# Important programs:
  73265. -AM_PROG_LIBTOOL
  73266. -AC_SUBST(LIBTOOL_DEPS)
  73267. -AC_PROG_CC
  73268. -
  73269. -# Compiler Flags
  73270. -AC_SUBST(INCLUDES)
  73271. -#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'
  73272. -INCLUDES='-DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  73273. -
  73274. -# Checks whether shifting of signed integers works: -1 << 3 = -8 .
  73275. -AC_CACHE_CHECK(whether shifting of signed integers works,
  73276. -ac_cv_signed_shift,
  73277. -[AC_TRY_RUN([main () {
  73278. - exit ((-1 << 2) == -4 && (-4 >> 2) == -1);
  73279. -}], ac_cv_signed_shift=no, ac_cv_signed_shift=yes, ac_cv_signed_shift=yes)])
  73280. -if test $ac_cv_signed_shift = yes; then
  73281. - AC_DEFINE(HAVE_SIGNED_SHIFT)
  73282. -fi
  73283. -
  73284. -AC_C_BIGENDIAN
  73285. -AC_CHECK_SIZEOF(char)
  73286. -AC_CHECK_SIZEOF(short)
  73287. -AC_CHECK_SIZEOF(int)
  73288. -
  73289. -if test [$ac_cv_sizeof_char != 1] -o [$ac_cv_sizeof_short != 2] -o [$ac_cv_sizeof_int != 4] ; then
  73290. - echo "FIASCO requires that sizeof(char)==1, sizeof(short)==2 and sizeof(int)==4"
  73291. - echo "configure failed."
  73292. - exit 1
  73293. -fi
  73294. -
  73295. -# Checks for math library.
  73296. -AC_CHECK_LIB(m, log)
  73297. -if test "$ac_cv_lib_m_log" = "no"; then
  73298. - echo "FIASCO requires math library!"
  73299. - echo "It was not found on your system."
  73300. - echo "configure failed."
  73301. - exit 1
  73302. -fi
  73303. -
  73304. -# Checks for programs
  73305. -AC_PATH_PROG(xfig, xfig)
  73306. -if test -n "$xfig"; then
  73307. - AC_DEFINE_UNQUOTED(XFIG, "$xfig", [Define path of xfig utility])
  73308. -fi
  73309. -AC_PATH_PROG(xmag, xmag)
  73310. -if test -n "$xmag"; then
  73311. - AC_DEFINE_UNQUOTED(XMAG, "$xmag", [Define path of xmag utility])
  73312. -fi
  73313. -
  73314. -# Checks for header files.
  73315. -AC_HEADER_STDC
  73316. -AC_CHECK_HEADERS(assert.h features.h setjmp.h string.h unistd.h)
  73317. -
  73318. -# Checks for typedefs, structures, and compiler characteristics.
  73319. -AC_C_CONST
  73320. -AC_TYPE_SIZE_T
  73321. -AC_HEADER_TIME
  73322. -
  73323. -# Checks for library functions.
  73324. -AC_FUNC_VPRINTF
  73325. -AC_CHECK_FUNCS(log2 memmove strdup strcasecmp)
  73326. -
  73327. -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])
  73328. -
  73329. -if test "$ac_cv_header_setjmp_h" != "yes"; then
  73330. - echo
  73331. - echo "WARNING:"
  73332. - echo "Error handling of FIASCO library requires ANSI-C setjmp.h header file!"
  73333. - echo "If you are using the FIASCO library, exit() is now called in case of errors."
  73334. - echo "Please send me a mail (hafner@bigfoot.de) with the output of"
  73335. - echo "the configure script."
  73336. - echo
  73337. -fi
  73338. -
  73339. diff -Nru Fiasco-master/data/Makefile.in Fiasco-master-pfiasco/data/Makefile.in
  73340. --- Fiasco-master/data/Makefile.in 2013-06-06 22:56:44.000000000 -0400
  73341. +++ Fiasco-master-pfiasco/data/Makefile.in 2019-06-17 21:04:59.432767962 -0400
  73342. @@ -1,9 +1,8 @@
  73343. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  73344. +# Makefile.in generated by automake 1.16.1 from Makefile.am.
  73345. # @configure_input@
  73346.  
  73347. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  73348. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  73349. -# Inc.
  73350. +# Copyright (C) 1994-2018 Free Software Foundation, Inc.
  73351. +
  73352. # This Makefile.in is free software; the Free Software Foundation
  73353. # gives unlimited permission to copy and/or distribute it,
  73354. # with or without modifications, as long as this notice is preserved.
  73355. @@ -16,6 +15,61 @@
  73356. @SET_MAKE@
  73357.  
  73358. VPATH = @srcdir@
  73359. +am__is_gnu_make = { \
  73360. + if test -z '$(MAKELEVEL)'; then \
  73361. + false; \
  73362. + elif test -n '$(MAKE_HOST)'; then \
  73363. + true; \
  73364. + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  73365. + true; \
  73366. + else \
  73367. + false; \
  73368. + fi; \
  73369. +}
  73370. +am__make_running_with_option = \
  73371. + case $${target_option-} in \
  73372. + ?) ;; \
  73373. + *) echo "am__make_running_with_option: internal error: invalid" \
  73374. + "target option '$${target_option-}' specified" >&2; \
  73375. + exit 1;; \
  73376. + esac; \
  73377. + has_opt=no; \
  73378. + sane_makeflags=$$MAKEFLAGS; \
  73379. + if $(am__is_gnu_make); then \
  73380. + sane_makeflags=$$MFLAGS; \
  73381. + else \
  73382. + case $$MAKEFLAGS in \
  73383. + *\\[\ \ ]*) \
  73384. + bs=\\; \
  73385. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  73386. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  73387. + esac; \
  73388. + fi; \
  73389. + skip_next=no; \
  73390. + strip_trailopt () \
  73391. + { \
  73392. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  73393. + }; \
  73394. + for flg in $$sane_makeflags; do \
  73395. + test $$skip_next = yes && { skip_next=no; continue; }; \
  73396. + case $$flg in \
  73397. + *=*|--*) continue;; \
  73398. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  73399. + -*I?*) strip_trailopt 'I';; \
  73400. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  73401. + -*O?*) strip_trailopt 'O';; \
  73402. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  73403. + -*l?*) strip_trailopt 'l';; \
  73404. + -[dEDm]) skip_next=yes;; \
  73405. + -[JT]) skip_next=yes;; \
  73406. + esac; \
  73407. + case $$flg in \
  73408. + *$$target_option*) has_opt=yes; break;; \
  73409. + esac; \
  73410. + done; \
  73411. + test $$has_opt = yes
  73412. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  73413. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  73414. pkgdatadir = $(datadir)/@PACKAGE@
  73415. pkgincludedir = $(includedir)/@PACKAGE@
  73416. pkglibdir = $(libdir)/@PACKAGE@
  73417. @@ -35,17 +89,37 @@
  73418. build_triplet = @build@
  73419. host_triplet = @host@
  73420. subdir = data
  73421. -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  73422. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  73423. -am__aclocal_m4_deps = $(top_srcdir)/configure.in
  73424. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  73425. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  73426. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  73427. + $(top_srcdir)/configure.ac
  73428. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  73429. $(ACLOCAL_M4)
  73430. +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
  73431. mkinstalldirs = $(install_sh) -d
  73432. CONFIG_HEADER = $(top_builddir)/config.h
  73433. CONFIG_CLEAN_FILES =
  73434. CONFIG_CLEAN_VPATH_FILES =
  73435. +AM_V_P = $(am__v_P_@AM_V@)
  73436. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  73437. +am__v_P_0 = false
  73438. +am__v_P_1 = :
  73439. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  73440. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  73441. +am__v_GEN_0 = @echo " GEN " $@;
  73442. +am__v_GEN_1 =
  73443. +AM_V_at = $(am__v_at_@AM_V@)
  73444. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  73445. +am__v_at_0 = @
  73446. +am__v_at_1 =
  73447. SOURCES =
  73448. DIST_SOURCES =
  73449. +am__can_run_installinfo = \
  73450. + case $$AM_UPDATE_INFO_DIR in \
  73451. + n|no|NO) false;; \
  73452. + *) (install-info --version) >/dev/null 2>&1;; \
  73453. + esac
  73454. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  73455. am__vpath_adj = case $$p in \
  73456. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  73457. @@ -67,11 +141,21 @@
  73458. am__base_list = \
  73459. sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  73460. sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  73461. +am__uninstall_files_from_dir = { \
  73462. + test -z "$$files" \
  73463. + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
  73464. + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
  73465. + $(am__cd) "$$dir" && rm -f $$files; }; \
  73466. + }
  73467. am__installdirs = "$(DESTDIR)$(pkgdatadir)"
  73468. DATA = $(pkgdata_DATA)
  73469. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  73470. +am__DIST_COMMON = $(srcdir)/Makefile.in
  73471. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  73472. ACLOCAL = @ACLOCAL@
  73473. AMTAR = @AMTAR@
  73474. +AM_CPPFLAGS = @AM_CPPFLAGS@
  73475. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  73476. AR = @AR@
  73477. AUTOCONF = @AUTOCONF@
  73478. AUTOHEADER = @AUTOHEADER@
  73479. @@ -85,6 +169,7 @@
  73480. CYGPATH_W = @CYGPATH_W@
  73481. DEFS = @DEFS@
  73482. DEPDIR = @DEPDIR@
  73483. +DLLTOOL = @DLLTOOL@
  73484. DSYMUTIL = @DSYMUTIL@
  73485. DUMPBIN = @DUMPBIN@
  73486. ECHO_C = @ECHO_C@
  73487. @@ -94,7 +179,6 @@
  73488. EXEEXT = @EXEEXT@
  73489. FGREP = @FGREP@
  73490. GREP = @GREP@
  73491. -INCLUDES = @INCLUDES@
  73492. INSTALL = @INSTALL@
  73493. INSTALL_DATA = @INSTALL_DATA@
  73494. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  73495. @@ -109,7 +193,9 @@
  73496. LIPO = @LIPO@
  73497. LN_S = @LN_S@
  73498. LTLIBOBJS = @LTLIBOBJS@
  73499. +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  73500. MAKEINFO = @MAKEINFO@
  73501. +MANIFEST_TOOL = @MANIFEST_TOOL@
  73502. MKDIR_P = @MKDIR_P@
  73503. NM = @NM@
  73504. NMEDIT = @NMEDIT@
  73505. @@ -135,6 +221,7 @@
  73506. abs_srcdir = @abs_srcdir@
  73507. abs_top_builddir = @abs_top_builddir@
  73508. abs_top_srcdir = @abs_top_srcdir@
  73509. +ac_ct_AR = @ac_ct_AR@
  73510. ac_ct_CC = @ac_ct_CC@
  73511. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  73512. am__include = @am__include@
  73513. @@ -167,7 +254,6 @@
  73514. libexecdir = @libexecdir@
  73515. localedir = @localedir@
  73516. localstatedir = @localstatedir@
  73517. -lt_ECHO = @lt_ECHO@
  73518. mandir = @mandir@
  73519. mkdir_p = @mkdir_p@
  73520. oldincludedir = @oldincludedir@
  73521. @@ -202,14 +288,13 @@
  73522. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/Makefile'; \
  73523. $(am__cd) $(top_srcdir) && \
  73524. $(AUTOMAKE) --gnu data/Makefile
  73525. -.PRECIOUS: Makefile
  73526. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  73527. @case '$?' in \
  73528. *config.status*) \
  73529. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  73530. *) \
  73531. - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  73532. - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  73533. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
  73534. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
  73535. esac;
  73536.  
  73537. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  73538. @@ -228,8 +313,11 @@
  73539. -rm -rf .libs _libs
  73540. install-pkgdataDATA: $(pkgdata_DATA)
  73541. @$(NORMAL_INSTALL)
  73542. - test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
  73543. @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
  73544. + if test -n "$$list"; then \
  73545. + echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \
  73546. + $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \
  73547. + fi; \
  73548. for p in $$list; do \
  73549. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  73550. echo "$$d$$p"; \
  73551. @@ -243,17 +331,18 @@
  73552. @$(NORMAL_UNINSTALL)
  73553. @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
  73554. files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  73555. - test -n "$$files" || exit 0; \
  73556. - echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \
  73557. - cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files
  73558. -tags: TAGS
  73559. -TAGS:
  73560. + dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir)
  73561. +tags TAGS:
  73562. +
  73563. +ctags CTAGS:
  73564.  
  73565. -ctags: CTAGS
  73566. -CTAGS:
  73567. +cscope cscopelist:
  73568.  
  73569.  
  73570. -distdir: $(DISTFILES)
  73571. +distdir: $(BUILT_SOURCES)
  73572. + $(MAKE) $(AM_MAKEFLAGS) distdir-am
  73573. +
  73574. +distdir-am: $(DISTFILES)
  73575. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  73576. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  73577. list='$(DISTFILES)'; \
  73578. @@ -300,10 +389,15 @@
  73579.  
  73580. installcheck: installcheck-am
  73581. install-strip:
  73582. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  73583. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  73584. - `test -z '$(STRIP)' || \
  73585. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  73586. + if test -z '$(STRIP)'; then \
  73587. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  73588. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  73589. + install; \
  73590. + else \
  73591. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  73592. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  73593. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  73594. + fi
  73595. mostlyclean-generic:
  73596.  
  73597. clean-generic:
  73598. @@ -384,16 +478,18 @@
  73599. .MAKE: install-am install-strip
  73600.  
  73601. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  73602. - distclean distclean-generic distclean-libtool distdir dvi \
  73603. - dvi-am html html-am info info-am install install-am \
  73604. - install-data install-data-am install-dvi install-dvi-am \
  73605. - install-exec install-exec-am install-html install-html-am \
  73606. - install-info install-info-am install-man install-pdf \
  73607. - install-pdf-am install-pkgdataDATA install-ps install-ps-am \
  73608. - install-strip installcheck installcheck-am installdirs \
  73609. - maintainer-clean maintainer-clean-generic mostlyclean \
  73610. - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  73611. - uninstall uninstall-am uninstall-pkgdataDATA
  73612. + cscopelist-am ctags-am distclean distclean-generic \
  73613. + distclean-libtool distdir dvi dvi-am html html-am info info-am \
  73614. + install install-am install-data install-data-am install-dvi \
  73615. + install-dvi-am install-exec install-exec-am install-html \
  73616. + install-html-am install-info install-info-am install-man \
  73617. + install-pdf install-pdf-am install-pkgdataDATA install-ps \
  73618. + install-ps-am install-strip installcheck installcheck-am \
  73619. + installdirs maintainer-clean maintainer-clean-generic \
  73620. + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
  73621. + ps ps-am tags-am uninstall uninstall-am uninstall-pkgdataDATA
  73622. +
  73623. +.PRECIOUS: Makefile
  73624.  
  73625.  
  73626. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  73627. diff -Nru Fiasco-master/doc/Makefile.am Fiasco-master-pfiasco/doc/Makefile.am
  73628. --- Fiasco-master/doc/Makefile.am 2013-06-06 22:56:44.000000000 -0400
  73629. +++ Fiasco-master-pfiasco/doc/Makefile.am 2019-06-17 21:07:21.620834240 -0400
  73630. @@ -59,7 +59,7 @@
  73631. fiasco_get_error_message.3 \
  73632. fiasco_set_verbosity.3 \
  73633. fiasco_get_verbosity.3 \
  73634. - afiasco.1 bfiasco.1 cfiasco.1 dfiasco.1 efiasco.1 pnmpsnr.1
  73635. + afiasco.1 bfiasco.1 cfiasco.1 dfiasco.1 efiasco.1 pfiasco.1
  73636.  
  73637. EXTRA_DIST = README.LIB $(man_MANS)
  73638.  
  73639. diff -Nru Fiasco-master/doc/Makefile.in Fiasco-master-pfiasco/doc/Makefile.in
  73640. --- Fiasco-master/doc/Makefile.in 2013-06-06 22:56:44.000000000 -0400
  73641. +++ Fiasco-master-pfiasco/doc/Makefile.in 2019-06-17 21:07:21.642834094 -0400
  73642. @@ -1,9 +1,8 @@
  73643. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  73644. +# Makefile.in generated by automake 1.16.1 from Makefile.am.
  73645. # @configure_input@
  73646.  
  73647. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  73648. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  73649. -# Inc.
  73650. +# Copyright (C) 1994-2018 Free Software Foundation, Inc.
  73651. +
  73652. # This Makefile.in is free software; the Free Software Foundation
  73653. # gives unlimited permission to copy and/or distribute it,
  73654. # with or without modifications, as long as this notice is preserved.
  73655. @@ -15,6 +14,61 @@
  73656.  
  73657. @SET_MAKE@
  73658. VPATH = @srcdir@
  73659. +am__is_gnu_make = { \
  73660. + if test -z '$(MAKELEVEL)'; then \
  73661. + false; \
  73662. + elif test -n '$(MAKE_HOST)'; then \
  73663. + true; \
  73664. + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  73665. + true; \
  73666. + else \
  73667. + false; \
  73668. + fi; \
  73669. +}
  73670. +am__make_running_with_option = \
  73671. + case $${target_option-} in \
  73672. + ?) ;; \
  73673. + *) echo "am__make_running_with_option: internal error: invalid" \
  73674. + "target option '$${target_option-}' specified" >&2; \
  73675. + exit 1;; \
  73676. + esac; \
  73677. + has_opt=no; \
  73678. + sane_makeflags=$$MAKEFLAGS; \
  73679. + if $(am__is_gnu_make); then \
  73680. + sane_makeflags=$$MFLAGS; \
  73681. + else \
  73682. + case $$MAKEFLAGS in \
  73683. + *\\[\ \ ]*) \
  73684. + bs=\\; \
  73685. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  73686. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  73687. + esac; \
  73688. + fi; \
  73689. + skip_next=no; \
  73690. + strip_trailopt () \
  73691. + { \
  73692. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  73693. + }; \
  73694. + for flg in $$sane_makeflags; do \
  73695. + test $$skip_next = yes && { skip_next=no; continue; }; \
  73696. + case $$flg in \
  73697. + *=*|--*) continue;; \
  73698. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  73699. + -*I?*) strip_trailopt 'I';; \
  73700. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  73701. + -*O?*) strip_trailopt 'O';; \
  73702. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  73703. + -*l?*) strip_trailopt 'l';; \
  73704. + -[dEDm]) skip_next=yes;; \
  73705. + -[JT]) skip_next=yes;; \
  73706. + esac; \
  73707. + case $$flg in \
  73708. + *$$target_option*) has_opt=yes; break;; \
  73709. + esac; \
  73710. + done; \
  73711. + test $$has_opt = yes
  73712. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  73713. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  73714. pkgdatadir = $(datadir)/@PACKAGE@
  73715. pkgincludedir = $(includedir)/@PACKAGE@
  73716. pkglibdir = $(libdir)/@PACKAGE@
  73717. @@ -34,17 +88,37 @@
  73718. build_triplet = @build@
  73719. host_triplet = @host@
  73720. subdir = doc
  73721. -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  73722. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  73723. -am__aclocal_m4_deps = $(top_srcdir)/configure.in
  73724. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  73725. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  73726. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  73727. + $(top_srcdir)/configure.ac
  73728. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  73729. $(ACLOCAL_M4)
  73730. +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
  73731. mkinstalldirs = $(install_sh) -d
  73732. CONFIG_HEADER = $(top_builddir)/config.h
  73733. CONFIG_CLEAN_FILES =
  73734. CONFIG_CLEAN_VPATH_FILES =
  73735. +AM_V_P = $(am__v_P_@AM_V@)
  73736. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  73737. +am__v_P_0 = false
  73738. +am__v_P_1 = :
  73739. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  73740. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  73741. +am__v_GEN_0 = @echo " GEN " $@;
  73742. +am__v_GEN_1 =
  73743. +AM_V_at = $(am__v_at_@AM_V@)
  73744. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  73745. +am__v_at_0 = @
  73746. +am__v_at_1 =
  73747. SOURCES =
  73748. DIST_SOURCES =
  73749. +am__can_run_installinfo = \
  73750. + case $$AM_UPDATE_INFO_DIR in \
  73751. + n|no|NO) false;; \
  73752. + *) (install-info --version) >/dev/null 2>&1;; \
  73753. + esac
  73754. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  73755. am__vpath_adj = case $$p in \
  73756. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  73757. @@ -66,14 +140,24 @@
  73758. am__base_list = \
  73759. sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  73760. sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  73761. +am__uninstall_files_from_dir = { \
  73762. + test -z "$$files" \
  73763. + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
  73764. + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
  73765. + $(am__cd) "$$dir" && rm -f $$files; }; \
  73766. + }
  73767. man1dir = $(mandir)/man1
  73768. am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)"
  73769. man3dir = $(mandir)/man3
  73770. NROFF = nroff
  73771. MANS = $(man_MANS)
  73772. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  73773. +am__DIST_COMMON = $(srcdir)/Makefile.in
  73774. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  73775. ACLOCAL = @ACLOCAL@
  73776. AMTAR = @AMTAR@
  73777. +AM_CPPFLAGS = @AM_CPPFLAGS@
  73778. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  73779. AR = @AR@
  73780. AUTOCONF = @AUTOCONF@
  73781. AUTOHEADER = @AUTOHEADER@
  73782. @@ -87,6 +171,7 @@
  73783. CYGPATH_W = @CYGPATH_W@
  73784. DEFS = @DEFS@
  73785. DEPDIR = @DEPDIR@
  73786. +DLLTOOL = @DLLTOOL@
  73787. DSYMUTIL = @DSYMUTIL@
  73788. DUMPBIN = @DUMPBIN@
  73789. ECHO_C = @ECHO_C@
  73790. @@ -96,7 +181,6 @@
  73791. EXEEXT = @EXEEXT@
  73792. FGREP = @FGREP@
  73793. GREP = @GREP@
  73794. -INCLUDES = @INCLUDES@
  73795. INSTALL = @INSTALL@
  73796. INSTALL_DATA = @INSTALL_DATA@
  73797. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  73798. @@ -111,7 +195,9 @@
  73799. LIPO = @LIPO@
  73800. LN_S = @LN_S@
  73801. LTLIBOBJS = @LTLIBOBJS@
  73802. +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  73803. MAKEINFO = @MAKEINFO@
  73804. +MANIFEST_TOOL = @MANIFEST_TOOL@
  73805. MKDIR_P = @MKDIR_P@
  73806. NM = @NM@
  73807. NMEDIT = @NMEDIT@
  73808. @@ -137,6 +223,7 @@
  73809. abs_srcdir = @abs_srcdir@
  73810. abs_top_builddir = @abs_top_builddir@
  73811. abs_top_srcdir = @abs_top_srcdir@
  73812. +ac_ct_AR = @ac_ct_AR@
  73813. ac_ct_CC = @ac_ct_CC@
  73814. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  73815. am__include = @am__include@
  73816. @@ -169,7 +256,6 @@
  73817. libexecdir = @libexecdir@
  73818. localedir = @localedir@
  73819. localstatedir = @localstatedir@
  73820. -lt_ECHO = @lt_ECHO@
  73821. mandir = @mandir@
  73822. mkdir_p = @mkdir_p@
  73823. oldincludedir = @oldincludedir@
  73824. @@ -236,7 +322,7 @@
  73825. fiasco_get_error_message.3 \
  73826. fiasco_set_verbosity.3 \
  73827. fiasco_get_verbosity.3 \
  73828. - afiasco.1 bfiasco.1 cfiasco.1 dfiasco.1 efiasco.1 pnmpsnr.1
  73829. + afiasco.1 bfiasco.1 cfiasco.1 dfiasco.1 efiasco.1 pfiasco.1
  73830.  
  73831. EXTRA_DIST = README.LIB $(man_MANS)
  73832. all: all-am
  73833. @@ -254,14 +340,13 @@
  73834. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
  73835. $(am__cd) $(top_srcdir) && \
  73836. $(AUTOMAKE) --gnu doc/Makefile
  73837. -.PRECIOUS: Makefile
  73838. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  73839. @case '$?' in \
  73840. *config.status*) \
  73841. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  73842. *) \
  73843. - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  73844. - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  73845. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
  73846. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
  73847. esac;
  73848.  
  73849. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  73850. @@ -280,11 +365,18 @@
  73851. -rm -rf .libs _libs
  73852. install-man1: $(man_MANS)
  73853. @$(NORMAL_INSTALL)
  73854. - test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
  73855. - @list=''; test -n "$(man1dir)" || exit 0; \
  73856. - { for i in $$list; do echo "$$i"; done; \
  73857. - l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  73858. - sed -n '/\.1[a-z]*$$/p'; \
  73859. + @list1=''; \
  73860. + list2='$(man_MANS)'; \
  73861. + test -n "$(man1dir)" \
  73862. + && test -n "`echo $$list1$$list2`" \
  73863. + || exit 0; \
  73864. + echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
  73865. + $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
  73866. + { for i in $$list1; do echo "$$i"; done; \
  73867. + if test -n "$$list2"; then \
  73868. + for i in $$list2; do echo "$$i"; done \
  73869. + | sed -n '/\.1[a-z]*$$/p'; \
  73870. + fi; \
  73871. } | while read p; do \
  73872. if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  73873. echo "$$d$$p"; echo "$$p"; \
  73874. @@ -313,16 +405,21 @@
  73875. sed -n '/\.1[a-z]*$$/p'; \
  73876. } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  73877. -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  73878. - test -z "$$files" || { \
  73879. - echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
  73880. - cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
  73881. + dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
  73882. install-man3: $(man_MANS)
  73883. @$(NORMAL_INSTALL)
  73884. - test -z "$(man3dir)" || $(MKDIR_P) "$(DESTDIR)$(man3dir)"
  73885. - @list=''; test -n "$(man3dir)" || exit 0; \
  73886. - { for i in $$list; do echo "$$i"; done; \
  73887. - l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  73888. - sed -n '/\.3[a-z]*$$/p'; \
  73889. + @list1=''; \
  73890. + list2='$(man_MANS)'; \
  73891. + test -n "$(man3dir)" \
  73892. + && test -n "`echo $$list1$$list2`" \
  73893. + || exit 0; \
  73894. + echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
  73895. + $(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
  73896. + { for i in $$list1; do echo "$$i"; done; \
  73897. + if test -n "$$list2"; then \
  73898. + for i in $$list2; do echo "$$i"; done \
  73899. + | sed -n '/\.3[a-z]*$$/p'; \
  73900. + fi; \
  73901. } | while read p; do \
  73902. if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  73903. echo "$$d$$p"; echo "$$p"; \
  73904. @@ -351,30 +448,18 @@
  73905. sed -n '/\.3[a-z]*$$/p'; \
  73906. } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
  73907. -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  73908. - test -z "$$files" || { \
  73909. - echo " ( cd '$(DESTDIR)$(man3dir)' && rm -f" $$files ")"; \
  73910. - cd "$(DESTDIR)$(man3dir)" && rm -f $$files; }
  73911. -tags: TAGS
  73912. -TAGS:
  73913. -
  73914. -ctags: CTAGS
  73915. -CTAGS:
  73916. -
  73917. -
  73918. -distdir: $(DISTFILES)
  73919. - @list='$(MANS)'; if test -n "$$list"; then \
  73920. - list=`for p in $$list; do \
  73921. - if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  73922. - if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  73923. - if test -n "$$list" && \
  73924. - grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  73925. - echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  73926. - grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  73927. - echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  73928. - echo " typically \`make maintainer-clean' will remove them" >&2; \
  73929. - exit 1; \
  73930. - else :; fi; \
  73931. - else :; fi
  73932. + dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
  73933. +tags TAGS:
  73934. +
  73935. +ctags CTAGS:
  73936. +
  73937. +cscope cscopelist:
  73938. +
  73939. +
  73940. +distdir: $(BUILT_SOURCES)
  73941. + $(MAKE) $(AM_MAKEFLAGS) distdir-am
  73942. +
  73943. +distdir-am: $(DISTFILES)
  73944. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  73945. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  73946. list='$(DISTFILES)'; \
  73947. @@ -421,10 +506,15 @@
  73948.  
  73949. installcheck: installcheck-am
  73950. install-strip:
  73951. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  73952. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  73953. - `test -z '$(STRIP)' || \
  73954. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  73955. + if test -z '$(STRIP)'; then \
  73956. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  73957. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  73958. + install; \
  73959. + else \
  73960. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  73961. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  73962. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  73963. + fi
  73964. mostlyclean-generic:
  73965.  
  73966. clean-generic:
  73967. @@ -507,17 +597,19 @@
  73968. .MAKE: install-am install-strip
  73969.  
  73970. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  73971. - distclean distclean-generic distclean-libtool distdir dvi \
  73972. - dvi-am html html-am info info-am install install-am \
  73973. - install-data install-data-am install-dvi install-dvi-am \
  73974. - install-exec install-exec-am install-html install-html-am \
  73975. - install-info install-info-am install-man install-man1 \
  73976. - install-man3 install-pdf install-pdf-am install-ps \
  73977. - install-ps-am install-strip installcheck installcheck-am \
  73978. - installdirs maintainer-clean maintainer-clean-generic \
  73979. - mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
  73980. - ps ps-am uninstall uninstall-am uninstall-man uninstall-man1 \
  73981. - uninstall-man3
  73982. + cscopelist-am ctags-am distclean distclean-generic \
  73983. + distclean-libtool distdir dvi dvi-am html html-am info info-am \
  73984. + install install-am install-data install-data-am install-dvi \
  73985. + install-dvi-am install-exec install-exec-am install-html \
  73986. + install-html-am install-info install-info-am install-man \
  73987. + install-man1 install-man3 install-pdf install-pdf-am \
  73988. + install-ps install-ps-am install-strip installcheck \
  73989. + installcheck-am installdirs maintainer-clean \
  73990. + maintainer-clean-generic mostlyclean mostlyclean-generic \
  73991. + mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
  73992. + uninstall-am uninstall-man uninstall-man1 uninstall-man3
  73993. +
  73994. +.PRECIOUS: Makefile
  73995.  
  73996.  
  73997. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  73998. diff -Nru Fiasco-master/doc/pfiasco.1 Fiasco-master-pfiasco/doc/pfiasco.1
  73999. --- Fiasco-master/doc/pfiasco.1 1969-12-31 19:00:00.000000000 -0500
  74000. +++ Fiasco-master-pfiasco/doc/pfiasco.1 2019-06-17 19:59:54.833780687 -0400
  74001. @@ -0,0 +1,46 @@
  74002. +.\" $Id: pfiasco.1,v 1.2 2000/07/16 17:39:32 hafner Exp $
  74003. +.TH pfiasco 1 "April, 2000" "FIASCO" "Fractal Image And Sequence COdec"
  74004. +
  74005. +.SH NAME
  74006. +.B pfiasco
  74007. +\- Compute peak signal-to-noise ratio (PSNR) between images
  74008. +
  74009. +.SH SYNOPSIS
  74010. +.B pfiasco \fIoriginal\fP \fIcompressed\fP
  74011. +
  74012. +.ad b
  74013. +.hy 1
  74014. +.SH DESCRIPTION
  74015. +\|\fBpfiasco\fP\| computes the peak signal-to-noise ratio (PSNR)
  74016. +between images \fIoriginal\fP and \fIcompressed\fP. This metric is
  74017. +typically used in image compression papers to rate the distortion
  74018. +between original and decoded image. The input images have to be
  74019. +in raw pgm(5) or ppm(5) format.
  74020. +
  74021. +.SH EXAMPLES
  74022. +.TP
  74023. +pnmerr original.ppm decoded.ppm
  74024. +Evaluates the distortion of the decoded image "decoded.ppm" with
  74025. +respect to the original image "original.ppm".
  74026. +
  74027. +.SH ENVIRONMENT
  74028. +.PD 0
  74029. +.TP
  74030. +.B FIASCO_IMAGES
  74031. +Load path for image files. Default is "./".
  74032. +
  74033. +.SH "SEE ALSO"
  74034. +.br
  74035. +.BR dfiasco (1)
  74036. +.br
  74037. +
  74038. +Ullrich Hafner, Juergen Albert, Stefan Frank, and Michael Unger.
  74039. +\fBWeighted Finite Automata for Video Compression\fP, IEEE Journal on
  74040. +Selected Areas In Communications, January 1998
  74041. +.br
  74042. +Ullrich Hafner. \fBLow Bit-Rate Image and Video Coding with Weighted
  74043. +Finite Automata\fP, Ph.D. thesis, Mensch & Buch Verlag, ISBN
  74044. +3-89820-002-7, October 1999.
  74045. +
  74046. +.SH AUTHOR
  74047. +Ullrich Hafner <hafner@bigfoot.de>
  74048. diff -Nru Fiasco-master/doc/pnmpsnr.1 Fiasco-master-pfiasco/doc/pnmpsnr.1
  74049. --- Fiasco-master/doc/pnmpsnr.1 2013-06-06 22:56:44.000000000 -0400
  74050. +++ Fiasco-master-pfiasco/doc/pnmpsnr.1 1969-12-31 19:00:00.000000000 -0500
  74051. @@ -1,46 +0,0 @@
  74052. -.\" $Id: pnmpsnr.1,v 1.2 2000/07/16 17:39:32 hafner Exp $
  74053. -.TH pnmpsnr 1 "April, 2000" "FIASCO" "Fractal Image And Sequence COdec"
  74054. -
  74055. -.SH NAME
  74056. -.B pnmpsnr
  74057. -\- Compute peak signal-to-noise ratio (PSNR) between images
  74058. -
  74059. -.SH SYNOPSIS
  74060. -.B pnmpsnr \fIoriginal\fP \fIcompressed\fP
  74061. -
  74062. -.ad b
  74063. -.hy 1
  74064. -.SH DESCRIPTION
  74065. -\|\fBpnmpsnr\fP\| computes the peak signal-to-noise ratio (PSNR)
  74066. -between images \fIoriginal\fP and \fIcompressed\fP. This metric is
  74067. -typically used in image compression papers to rate the distortion
  74068. -between original and decoded image. The input images have to be
  74069. -in raw pgm(5) or ppm(5) format.
  74070. -
  74071. -.SH EXAMPLES
  74072. -.TP
  74073. -pnmerr original.ppm decoded.ppm
  74074. -Evaluates the distortion of the decoded image "decoded.ppm" with
  74075. -respect to the original image "original.ppm".
  74076. -
  74077. -.SH ENVIRONMENT
  74078. -.PD 0
  74079. -.TP
  74080. -.B FIASCO_IMAGES
  74081. -Load path for image files. Default is "./".
  74082. -
  74083. -.SH "SEE ALSO"
  74084. -.br
  74085. -.BR dfiasco (1)
  74086. -.br
  74087. -
  74088. -Ullrich Hafner, Juergen Albert, Stefan Frank, and Michael Unger.
  74089. -\fBWeighted Finite Automata for Video Compression\fP, IEEE Journal on
  74090. -Selected Areas In Communications, January 1998
  74091. -.br
  74092. -Ullrich Hafner. \fBLow Bit-Rate Image and Video Coding with Weighted
  74093. -Finite Automata\fP, Ph.D. thesis, Mensch & Buch Verlag, ISBN
  74094. -3-89820-002-7, October 1999.
  74095. -
  74096. -.SH AUTHOR
  74097. -Ullrich Hafner <hafner@bigfoot.de>
  74098. diff -Nru Fiasco-master/doc/README.LIB Fiasco-master-pfiasco/doc/README.LIB
  74099. --- Fiasco-master/doc/README.LIB 2013-06-06 22:56:44.000000000 -0400
  74100. +++ Fiasco-master-pfiasco/doc/README.LIB 2019-06-17 21:07:21.644834081 -0400
  74101. @@ -28,12 +28,12 @@
  74102.  
  74103. - fiasco_renderer: used to render the generated image object
  74104. to one of the supported X11 output formats, see
  74105. - fiasco_render(3) or the files bin/dwfa.c or bin/pnmpsnr.c for
  74106. + fiasco_render(3) or the files bin/dwfa.c or bin/pfiasco.c for
  74107. details.
  74108.  
  74109. - fiasco_options: used to control various decoder and encoder
  74110. options, see fiasco_options(3) or the files bin/cwfa.c,
  74111. - bin/dwfa.c or bin/pnmpsnr.c for details.
  74112. + bin/dwfa.c or bin/pfiasco.c for details.
  74113.  
  74114.  
  74115. Since the coder doesn't store any internal information, the only
  74116. diff -Nru Fiasco-master/fiasco.spec Fiasco-master-pfiasco/fiasco.spec
  74117. --- Fiasco-master/fiasco.spec 2013-06-06 22:56:44.000000000 -0400
  74118. +++ Fiasco-master-pfiasco/fiasco.spec 2019-06-17 20:00:09.787636104 -0400
  74119. @@ -69,13 +69,13 @@
  74120. %{prefix}/bin/cfiasco
  74121. %{prefix}/bin/dfiasco
  74122. %{prefix}/bin/efiasco
  74123. -%{prefix}/bin/pnmpsnr
  74124. +%{prefix}/bin/pfiasco
  74125. %{prefix}/share/fiasco/*
  74126. %doc README INSTALL COPYING ChangeLog TODO AUTHORS
  74127. %doc %{prefix}/man/man1/cfiasco.1
  74128. %doc %{prefix}/man/man1/dfiasco.1
  74129. %doc %{prefix}/man/man1/efiasco.1
  74130. -%doc %{prefix}/man/man1/pnmpsnr.1
  74131. +%doc %{prefix}/man/man1/pfiasco.1
  74132.  
  74133. %files devel
  74134. %defattr(-,root,root)
  74135. diff -Nru Fiasco-master/input/basis.c Fiasco-master-pfiasco/input/basis.c
  74136. --- Fiasco-master/input/basis.c 2013-06-06 22:56:44.000000000 -0400
  74137. +++ Fiasco-master-pfiasco/input/basis.c 1969-12-31 19:00:00.000000000 -0500
  74138. @@ -1,139 +0,0 @@
  74139. -/*
  74140. - * basis.c: WFA initial basis files
  74141. - *
  74142. - * Written by: Ullrich Hafner
  74143. - *
  74144. - * This file is part of FIASCO ([F]ractal [I]mage [A]nd [S]equence [CO]dec)
  74145. - * Copyright (C) 1994-2000 Ullrich Hafner <hafner@bigfoot.de>
  74146. - */
  74147. -
  74148. -/*
  74149. - * $Date: 2000/06/25 16:38:06 $
  74150. - * $Author: hafner $
  74151. - * $Revision: 5.3 $
  74152. - * $State: Exp $
  74153. - */
  74154. -
  74155. -#include "config.h"
  74156. -
  74157. -#include "types.h"
  74158. -#include "macros.h"
  74159. -#include "error.h"
  74160. -
  74161. -#include "wfa.h"
  74162. -#include "wfalib.h"
  74163. -
  74164. -#include "basis.h"
  74165. -
  74166. -typedef struct basis_values
  74167. -{
  74168. - unsigned states;
  74169. - real_t *final;
  74170. - bool_t *use_domain;
  74171. - real_t (*transitions)[4];
  74172. -} basis_values_t;
  74173. -
  74174. -typedef struct
  74175. -{
  74176. - char *filename;
  74177. - void (*function)(basis_values_t *bv);
  74178. -} basis_file_t;
  74179. -
  74180. -/*****************************************************************************
  74181. -
  74182. - prototypes
  74183. -
  74184. -*****************************************************************************/
  74185. -
  74186. -static void
  74187. -small_init (basis_values_t *bv);
  74188. -
  74189. -static const basis_file_t basis_files[] = { {"small.fco", small_init},
  74190. - {"small.wfa", small_init},
  74191. - {NULL, NULL} };
  74192. -
  74193. -/*****************************************************************************
  74194. -
  74195. - public code
  74196. -
  74197. -*****************************************************************************/
  74198. -
  74199. -bool_t
  74200. -get_linked_basis (const char *basis_name, wfa_t *wfa)
  74201. -/*
  74202. - * Check wether given WFA initial basis 'basis_name' is already linked
  74203. - * with the excecutable. If the basis is available then fill the 'wfa' struct
  74204. - * according to the stored data, otherwise print a warning message.
  74205. - *
  74206. - * Return value:
  74207. - * true on success, false if basis is not available yet.
  74208. - *
  74209. - * Side effects:
  74210. - * 'wfa' struct is filled on success.
  74211. - */
  74212. -{
  74213. - bool_t success = NO; /* indicates if basis is found */
  74214. - unsigned n; /* counter */
  74215. - basis_values_t bv; /* basis values */
  74216. -
  74217. - for (n = 0; basis_files [n].filename != NULL; n++)
  74218. - if (streq (basis_files [n].filename, basis_name)) /* basis is stored */
  74219. - {
  74220. - unsigned state, edge;
  74221. -
  74222. - (*basis_files [n].function) (&bv); /* initialize local variables */
  74223. - /*
  74224. - * Generate WFA
  74225. - */
  74226. - wfa->basis_states = wfa->states = bv.states + 1;
  74227. - wfa->domain_type[0] = USE_DOMAIN_MASK;
  74228. - wfa->final_distribution[0] = 128;
  74229. - append_edge (0, 0, 1.0, 0, wfa);
  74230. - append_edge (0, 0, 1.0, 1, wfa);
  74231. - for (state = 1; state < wfa->basis_states; state++)
  74232. - {
  74233. - wfa->final_distribution [state] = bv.final [state - 1];
  74234. - wfa->domain_type [state] = bv.use_domain [state - 1]
  74235. - ? USE_DOMAIN_MASK
  74236. - : AUXILIARY_MASK;
  74237. - }
  74238. - for (edge = 0; isedge (bv.transitions [edge][0]); edge++)
  74239. - append_edge (bv.transitions [edge][0], bv.transitions [edge][1],
  74240. - bv.transitions [edge][2], bv.transitions [edge][3],
  74241. - wfa);
  74242. -
  74243. - success = YES;
  74244. - break;
  74245. - }
  74246. -
  74247. - if (!success)
  74248. - warning ("WFA initial basis '%s' isn't linked with the excecutable yet."
  74249. - "\nLoading basis from disk instead.", basis_name);
  74250. -
  74251. - return success;
  74252. -}
  74253. -
  74254. -/*****************************************************************************
  74255. -
  74256. - private code
  74257. -
  74258. -*****************************************************************************/
  74259. -
  74260. -/*****************************************************************************
  74261. - basis "small.wfa"
  74262. -*****************************************************************************/
  74263. -
  74264. -static unsigned states_small = 2;
  74265. -static bool_t use_domain_small[] = {YES, YES};
  74266. -static real_t final_small[] = {64, 64};
  74267. -static real_t transitions_small[][4] = {{1, 2, 0.5, 0}, {1, 2, 0.5, 1},
  74268. - {1, 0, 0.5, 1}, {2, 1, 1.0, 0},
  74269. - {2, 1, 1.0, 1}, {-1, 0, 0, 0}};
  74270. -static void
  74271. -small_init (basis_values_t *bv)
  74272. -{
  74273. - bv->states = states_small;
  74274. - bv->final = final_small;
  74275. - bv->use_domain = use_domain_small;
  74276. - bv->transitions = transitions_small;
  74277. -}
  74278. diff -Nru Fiasco-master/input/Makefile.am Fiasco-master-pfiasco/input/Makefile.am
  74279. --- Fiasco-master/input/Makefile.am 2013-06-06 22:56:44.000000000 -0400
  74280. +++ Fiasco-master-pfiasco/input/Makefile.am 2019-06-17 20:59:39.712839398 -0400
  74281. @@ -17,7 +17,7 @@
  74282. weights.h
  74283. EXTRA_DIST = MANIFEST basis.c.in
  74284. CLEANFILES = basis.c
  74285. -INCLUDES = @INCLUDES@
  74286. +AM_CPPFLAGS = @AM_CPPFLAGS@
  74287.  
  74288. basis.c: basis.c.in
  74289. cp basis.c.in basis.c
  74290. diff -Nru Fiasco-master/input/Makefile.in Fiasco-master-pfiasco/input/Makefile.in
  74291. --- Fiasco-master/input/Makefile.in 2013-06-06 22:56:44.000000000 -0400
  74292. +++ Fiasco-master-pfiasco/input/Makefile.in 2019-06-17 21:04:59.574767030 -0400
  74293. @@ -1,9 +1,8 @@
  74294. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  74295. +# Makefile.in generated by automake 1.16.1 from Makefile.am.
  74296. # @configure_input@
  74297.  
  74298. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  74299. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  74300. -# Inc.
  74301. +# Copyright (C) 1994-2018 Free Software Foundation, Inc.
  74302. +
  74303. # This Makefile.in is free software; the Free Software Foundation
  74304. # gives unlimited permission to copy and/or distribute it,
  74305. # with or without modifications, as long as this notice is preserved.
  74306. @@ -17,6 +16,61 @@
  74307.  
  74308.  
  74309. VPATH = @srcdir@
  74310. +am__is_gnu_make = { \
  74311. + if test -z '$(MAKELEVEL)'; then \
  74312. + false; \
  74313. + elif test -n '$(MAKE_HOST)'; then \
  74314. + true; \
  74315. + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  74316. + true; \
  74317. + else \
  74318. + false; \
  74319. + fi; \
  74320. +}
  74321. +am__make_running_with_option = \
  74322. + case $${target_option-} in \
  74323. + ?) ;; \
  74324. + *) echo "am__make_running_with_option: internal error: invalid" \
  74325. + "target option '$${target_option-}' specified" >&2; \
  74326. + exit 1;; \
  74327. + esac; \
  74328. + has_opt=no; \
  74329. + sane_makeflags=$$MAKEFLAGS; \
  74330. + if $(am__is_gnu_make); then \
  74331. + sane_makeflags=$$MFLAGS; \
  74332. + else \
  74333. + case $$MAKEFLAGS in \
  74334. + *\\[\ \ ]*) \
  74335. + bs=\\; \
  74336. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  74337. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  74338. + esac; \
  74339. + fi; \
  74340. + skip_next=no; \
  74341. + strip_trailopt () \
  74342. + { \
  74343. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  74344. + }; \
  74345. + for flg in $$sane_makeflags; do \
  74346. + test $$skip_next = yes && { skip_next=no; continue; }; \
  74347. + case $$flg in \
  74348. + *=*|--*) continue;; \
  74349. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  74350. + -*I?*) strip_trailopt 'I';; \
  74351. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  74352. + -*O?*) strip_trailopt 'O';; \
  74353. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  74354. + -*l?*) strip_trailopt 'l';; \
  74355. + -[dEDm]) skip_next=yes;; \
  74356. + -[JT]) skip_next=yes;; \
  74357. + esac; \
  74358. + case $$flg in \
  74359. + *$$target_option*) has_opt=yes; break;; \
  74360. + esac; \
  74361. + done; \
  74362. + test $$has_opt = yes
  74363. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  74364. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  74365. pkgdatadir = $(datadir)/@PACKAGE@
  74366. pkgincludedir = $(includedir)/@PACKAGE@
  74367. pkglibdir = $(libdir)/@PACKAGE@
  74368. @@ -36,12 +90,15 @@
  74369. build_triplet = @build@
  74370. host_triplet = @host@
  74371. subdir = input
  74372. -DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  74373. - $(srcdir)/Makefile.in ChangeLog
  74374. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  74375. -am__aclocal_m4_deps = $(top_srcdir)/configure.in
  74376. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  74377. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  74378. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  74379. + $(top_srcdir)/configure.ac
  74380. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  74381. $(ACLOCAL_M4)
  74382. +DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \
  74383. + $(am__DIST_COMMON)
  74384. mkinstalldirs = $(install_sh) -d
  74385. CONFIG_HEADER = $(top_builddir)/config.h
  74386. CONFIG_CLEAN_FILES =
  74387. @@ -51,27 +108,81 @@
  74388. am_libfiasco_input_la_OBJECTS = basis.lo matrices.lo mc.lo nd.lo \
  74389. read.lo tree.lo weights.lo
  74390. libfiasco_input_la_OBJECTS = $(am_libfiasco_input_la_OBJECTS)
  74391. +AM_V_lt = $(am__v_lt_@AM_V@)
  74392. +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
  74393. +am__v_lt_0 = --silent
  74394. +am__v_lt_1 =
  74395. +AM_V_P = $(am__v_P_@AM_V@)
  74396. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  74397. +am__v_P_0 = false
  74398. +am__v_P_1 = :
  74399. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  74400. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  74401. +am__v_GEN_0 = @echo " GEN " $@;
  74402. +am__v_GEN_1 =
  74403. +AM_V_at = $(am__v_at_@AM_V@)
  74404. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  74405. +am__v_at_0 = @
  74406. +am__v_at_1 =
  74407. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  74408. depcomp = $(SHELL) $(top_srcdir)/depcomp
  74409. -am__depfiles_maybe = depfiles
  74410. +am__maybe_remake_depfiles = depfiles
  74411. +am__depfiles_remade = ./$(DEPDIR)/basis.Plo ./$(DEPDIR)/matrices.Plo \
  74412. + ./$(DEPDIR)/mc.Plo ./$(DEPDIR)/nd.Plo ./$(DEPDIR)/read.Plo \
  74413. + ./$(DEPDIR)/tree.Plo ./$(DEPDIR)/weights.Plo
  74414. am__mv = mv -f
  74415. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  74416. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  74417. -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  74418. - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  74419. - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  74420. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  74421. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  74422. + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  74423. + $(AM_CFLAGS) $(CFLAGS)
  74424. +AM_V_CC = $(am__v_CC_@AM_V@)
  74425. +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  74426. +am__v_CC_0 = @echo " CC " $@;
  74427. +am__v_CC_1 =
  74428. CCLD = $(CC)
  74429. -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  74430. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  74431. - $(LDFLAGS) -o $@
  74432. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  74433. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  74434. + $(AM_LDFLAGS) $(LDFLAGS) -o $@
  74435. +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  74436. +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  74437. +am__v_CCLD_0 = @echo " CCLD " $@;
  74438. +am__v_CCLD_1 =
  74439. SOURCES = $(libfiasco_input_la_SOURCES)
  74440. DIST_SOURCES = $(libfiasco_input_la_SOURCES)
  74441. +am__can_run_installinfo = \
  74442. + case $$AM_UPDATE_INFO_DIR in \
  74443. + n|no|NO) false;; \
  74444. + *) (install-info --version) >/dev/null 2>&1;; \
  74445. + esac
  74446. HEADERS = $(noinst_HEADERS)
  74447. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  74448. +# Read a list of newline-separated strings from the standard input,
  74449. +# and print each of them once, without duplicates. Input order is
  74450. +# *not* preserved.
  74451. +am__uniquify_input = $(AWK) '\
  74452. + BEGIN { nonempty = 0; } \
  74453. + { items[$$0] = 1; nonempty = 1; } \
  74454. + END { if (nonempty) { for (i in items) print i; }; } \
  74455. +'
  74456. +# Make sure the list of sources is unique. This is necessary because,
  74457. +# e.g., the same source file might be shared among _SOURCES variables
  74458. +# for different programs/libraries.
  74459. +am__define_uniq_tagged_files = \
  74460. + list='$(am__tagged_files)'; \
  74461. + unique=`for i in $$list; do \
  74462. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  74463. + done | $(am__uniquify_input)`
  74464. ETAGS = etags
  74465. CTAGS = ctags
  74466. +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
  74467. + ChangeLog
  74468. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  74469. ACLOCAL = @ACLOCAL@
  74470. AMTAR = @AMTAR@
  74471. +AM_CPPFLAGS = @AM_CPPFLAGS@
  74472. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  74473. AR = @AR@
  74474. AUTOCONF = @AUTOCONF@
  74475. AUTOHEADER = @AUTOHEADER@
  74476. @@ -85,6 +196,7 @@
  74477. CYGPATH_W = @CYGPATH_W@
  74478. DEFS = @DEFS@
  74479. DEPDIR = @DEPDIR@
  74480. +DLLTOOL = @DLLTOOL@
  74481. DSYMUTIL = @DSYMUTIL@
  74482. DUMPBIN = @DUMPBIN@
  74483. ECHO_C = @ECHO_C@
  74484. @@ -94,7 +206,6 @@
  74485. EXEEXT = @EXEEXT@
  74486. FGREP = @FGREP@
  74487. GREP = @GREP@
  74488. -INCLUDES = @INCLUDES@
  74489. INSTALL = @INSTALL@
  74490. INSTALL_DATA = @INSTALL_DATA@
  74491. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  74492. @@ -109,7 +220,9 @@
  74493. LIPO = @LIPO@
  74494. LN_S = @LN_S@
  74495. LTLIBOBJS = @LTLIBOBJS@
  74496. +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  74497. MAKEINFO = @MAKEINFO@
  74498. +MANIFEST_TOOL = @MANIFEST_TOOL@
  74499. MKDIR_P = @MKDIR_P@
  74500. NM = @NM@
  74501. NMEDIT = @NMEDIT@
  74502. @@ -135,6 +248,7 @@
  74503. abs_srcdir = @abs_srcdir@
  74504. abs_top_builddir = @abs_top_builddir@
  74505. abs_top_srcdir = @abs_top_srcdir@
  74506. +ac_ct_AR = @ac_ct_AR@
  74507. ac_ct_CC = @ac_ct_CC@
  74508. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  74509. am__include = @am__include@
  74510. @@ -167,7 +281,6 @@
  74511. libexecdir = @libexecdir@
  74512. localedir = @localedir@
  74513. localstatedir = @localstatedir@
  74514. -lt_ECHO = @lt_ECHO@
  74515. mandir = @mandir@
  74516. mkdir_p = @mkdir_p@
  74517. oldincludedir = @oldincludedir@
  74518. @@ -210,14 +323,13 @@
  74519. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu input/Makefile'; \
  74520. $(am__cd) $(top_srcdir) && \
  74521. $(AUTOMAKE) --gnu input/Makefile
  74522. -.PRECIOUS: Makefile
  74523. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  74524. @case '$?' in \
  74525. *config.status*) \
  74526. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  74527. *) \
  74528. - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  74529. - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  74530. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
  74531. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
  74532. esac;
  74533.  
  74534. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  74535. @@ -231,14 +343,17 @@
  74536.  
  74537. clean-noinstLTLIBRARIES:
  74538. -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
  74539. - @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
  74540. - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
  74541. - test "$$dir" != "$$p" || dir=.; \
  74542. - echo "rm -f \"$${dir}/so_locations\""; \
  74543. - rm -f "$${dir}/so_locations"; \
  74544. - done
  74545. -libfiasco-input.la: $(libfiasco_input_la_OBJECTS) $(libfiasco_input_la_DEPENDENCIES)
  74546. - $(LINK) $(libfiasco_input_la_OBJECTS) $(libfiasco_input_la_LIBADD) $(LIBS)
  74547. + @list='$(noinst_LTLIBRARIES)'; \
  74548. + locs=`for p in $$list; do echo $$p; done | \
  74549. + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
  74550. + sort -u`; \
  74551. + test -z "$$locs" || { \
  74552. + echo rm -f $${locs}; \
  74553. + rm -f $${locs}; \
  74554. + }
  74555. +
  74556. +libfiasco-input.la: $(libfiasco_input_la_OBJECTS) $(libfiasco_input_la_DEPENDENCIES) $(EXTRA_libfiasco_input_la_DEPENDENCIES)
  74557. + $(AM_V_CCLD)$(LINK) $(libfiasco_input_la_OBJECTS) $(libfiasco_input_la_LIBADD) $(LIBS)
  74558.  
  74559. mostlyclean-compile:
  74560. -rm -f *.$(OBJEXT)
  74561. @@ -246,34 +361,40 @@
  74562. distclean-compile:
  74563. -rm -f *.tab.c
  74564.  
  74565. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/basis.Plo@am__quote@
  74566. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/matrices.Plo@am__quote@
  74567. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mc.Plo@am__quote@
  74568. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nd.Plo@am__quote@
  74569. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/read.Plo@am__quote@
  74570. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tree.Plo@am__quote@
  74571. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/weights.Plo@am__quote@
  74572. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/basis.Plo@am__quote@ # am--include-marker
  74573. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/matrices.Plo@am__quote@ # am--include-marker
  74574. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mc.Plo@am__quote@ # am--include-marker
  74575. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nd.Plo@am__quote@ # am--include-marker
  74576. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/read.Plo@am__quote@ # am--include-marker
  74577. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tree.Plo@am__quote@ # am--include-marker
  74578. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/weights.Plo@am__quote@ # am--include-marker
  74579. +
  74580. +$(am__depfiles_remade):
  74581. + @$(MKDIR_P) $(@D)
  74582. + @echo '# dummy' >$@-t && $(am__mv) $@-t $@
  74583. +
  74584. +am--depfiles: $(am__depfiles_remade)
  74585.  
  74586. .c.o:
  74587. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  74588. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  74589. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  74590. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  74591. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  74592. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  74593. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  74594. -@am__fastdepCC_FALSE@ $(COMPILE) -c $<
  74595. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
  74596.  
  74597. .c.obj:
  74598. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  74599. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  74600. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  74601. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  74602. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  74603. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  74604. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  74605. -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  74606. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  74607.  
  74608. .c.lo:
  74609. -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  74610. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  74611. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  74612. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  74613. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  74614. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  74615. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  74616. -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  74617. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
  74618.  
  74619. mostlyclean-libtool:
  74620. -rm -f *.lo
  74621. @@ -281,26 +402,15 @@
  74622. clean-libtool:
  74623. -rm -rf .libs _libs
  74624.  
  74625. -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  74626. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  74627. - unique=`for i in $$list; do \
  74628. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  74629. - done | \
  74630. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  74631. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  74632. - mkid -fID $$unique
  74633. -tags: TAGS
  74634. +ID: $(am__tagged_files)
  74635. + $(am__define_uniq_tagged_files); mkid -fID $$unique
  74636. +tags: tags-am
  74637. +TAGS: tags
  74638.  
  74639. -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  74640. - $(TAGS_FILES) $(LISP)
  74641. +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  74642. set x; \
  74643. here=`pwd`; \
  74644. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  74645. - unique=`for i in $$list; do \
  74646. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  74647. - done | \
  74648. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  74649. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  74650. + $(am__define_uniq_tagged_files); \
  74651. shift; \
  74652. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  74653. test -n "$$unique" || unique=$$empty_fix; \
  74654. @@ -312,15 +422,11 @@
  74655. $$unique; \
  74656. fi; \
  74657. fi
  74658. -ctags: CTAGS
  74659. -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  74660. - $(TAGS_FILES) $(LISP)
  74661. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  74662. - unique=`for i in $$list; do \
  74663. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  74664. - done | \
  74665. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  74666. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  74667. +ctags: ctags-am
  74668. +
  74669. +CTAGS: ctags
  74670. +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  74671. + $(am__define_uniq_tagged_files); \
  74672. test -z "$(CTAGS_ARGS)$$unique" \
  74673. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  74674. $$unique
  74675. @@ -329,11 +435,29 @@
  74676. here=`$(am__cd) $(top_builddir) && pwd` \
  74677. && $(am__cd) $(top_srcdir) \
  74678. && gtags -i $(GTAGS_ARGS) "$$here"
  74679. +cscopelist: cscopelist-am
  74680. +
  74681. +cscopelist-am: $(am__tagged_files)
  74682. + list='$(am__tagged_files)'; \
  74683. + case "$(srcdir)" in \
  74684. + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  74685. + *) sdir=$(subdir)/$(srcdir) ;; \
  74686. + esac; \
  74687. + for i in $$list; do \
  74688. + if test -f "$$i"; then \
  74689. + echo "$(subdir)/$$i"; \
  74690. + else \
  74691. + echo "$$sdir/$$i"; \
  74692. + fi; \
  74693. + done >> $(top_builddir)/cscope.files
  74694.  
  74695. distclean-tags:
  74696. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  74697.  
  74698. -distdir: $(DISTFILES)
  74699. +distdir: $(BUILT_SOURCES)
  74700. + $(MAKE) $(AM_MAKEFLAGS) distdir-am
  74701. +
  74702. +distdir-am: $(DISTFILES)
  74703. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  74704. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  74705. list='$(DISTFILES)'; \
  74706. @@ -377,10 +501,15 @@
  74707.  
  74708. installcheck: installcheck-am
  74709. install-strip:
  74710. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  74711. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  74712. - `test -z '$(STRIP)' || \
  74713. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  74714. + if test -z '$(STRIP)'; then \
  74715. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  74716. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  74717. + install; \
  74718. + else \
  74719. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  74720. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  74721. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  74722. + fi
  74723. mostlyclean-generic:
  74724.  
  74725. clean-generic:
  74726. @@ -399,7 +528,13 @@
  74727. mostlyclean-am
  74728.  
  74729. distclean: distclean-am
  74730. - -rm -rf ./$(DEPDIR)
  74731. + -rm -f ./$(DEPDIR)/basis.Plo
  74732. + -rm -f ./$(DEPDIR)/matrices.Plo
  74733. + -rm -f ./$(DEPDIR)/mc.Plo
  74734. + -rm -f ./$(DEPDIR)/nd.Plo
  74735. + -rm -f ./$(DEPDIR)/read.Plo
  74736. + -rm -f ./$(DEPDIR)/tree.Plo
  74737. + -rm -f ./$(DEPDIR)/weights.Plo
  74738. -rm -f Makefile
  74739. distclean-am: clean-am distclean-compile distclean-generic \
  74740. distclean-tags
  74741. @@ -445,7 +580,13 @@
  74742. installcheck-am:
  74743.  
  74744. maintainer-clean: maintainer-clean-am
  74745. - -rm -rf ./$(DEPDIR)
  74746. + -rm -f ./$(DEPDIR)/basis.Plo
  74747. + -rm -f ./$(DEPDIR)/matrices.Plo
  74748. + -rm -f ./$(DEPDIR)/mc.Plo
  74749. + -rm -f ./$(DEPDIR)/nd.Plo
  74750. + -rm -f ./$(DEPDIR)/read.Plo
  74751. + -rm -f ./$(DEPDIR)/tree.Plo
  74752. + -rm -f ./$(DEPDIR)/weights.Plo
  74753. -rm -f Makefile
  74754. maintainer-clean-am: distclean-am maintainer-clean-generic
  74755.  
  74756. @@ -466,18 +607,21 @@
  74757.  
  74758. .MAKE: install-am install-strip
  74759.  
  74760. -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  74761. - clean-libtool clean-noinstLTLIBRARIES ctags distclean \
  74762. - distclean-compile distclean-generic distclean-libtool \
  74763. - distclean-tags distdir dvi dvi-am html html-am info info-am \
  74764. - install install-am install-data install-data-am install-dvi \
  74765. - install-dvi-am install-exec install-exec-am install-html \
  74766. - install-html-am install-info install-info-am install-man \
  74767. - install-pdf install-pdf-am install-ps install-ps-am \
  74768. - install-strip installcheck installcheck-am installdirs \
  74769. - maintainer-clean maintainer-clean-generic mostlyclean \
  74770. - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  74771. - pdf pdf-am ps ps-am tags uninstall uninstall-am
  74772. +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
  74773. + clean-generic clean-libtool clean-noinstLTLIBRARIES \
  74774. + cscopelist-am ctags ctags-am distclean distclean-compile \
  74775. + distclean-generic distclean-libtool distclean-tags distdir dvi \
  74776. + dvi-am html html-am info info-am install install-am \
  74777. + install-data install-data-am install-dvi install-dvi-am \
  74778. + install-exec install-exec-am install-html install-html-am \
  74779. + install-info install-info-am install-man install-pdf \
  74780. + install-pdf-am install-ps install-ps-am install-strip \
  74781. + installcheck installcheck-am installdirs maintainer-clean \
  74782. + maintainer-clean-generic mostlyclean mostlyclean-compile \
  74783. + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  74784. + tags tags-am uninstall uninstall-am
  74785. +
  74786. +.PRECIOUS: Makefile
  74787.  
  74788.  
  74789. basis.c: basis.c.in
  74790. diff -Nru Fiasco-master/input/mc.c Fiasco-master-pfiasco/input/mc.c
  74791. --- Fiasco-master/input/mc.c 2013-06-06 22:56:44.000000000 -0400
  74792. +++ Fiasco-master-pfiasco/input/mc.c 2019-06-17 18:54:11.000000000 -0400
  74793. @@ -15,6 +15,8 @@
  74794. * $State: Exp $
  74795. */
  74796.  
  74797. +#include <stdlib.h>
  74798. +
  74799. #include "config.h"
  74800.  
  74801. #include "types.h"
  74802. diff -Nru Fiasco-master/lib/Makefile.am Fiasco-master-pfiasco/lib/Makefile.am
  74803. --- Fiasco-master/lib/Makefile.am 2013-06-06 22:56:44.000000000 -0400
  74804. +++ Fiasco-master-pfiasco/lib/Makefile.am 2019-06-17 21:00:40.610448730 -0400
  74805. @@ -16,4 +16,4 @@
  74806. noinst_HEADERS = arith.h bit-io.h dither.h error.h image.h \
  74807. list.h macros.h misc.h rpf.h types.h
  74808. EXTRA_DIST = MANIFEST
  74809. -INCLUDES = @INCLUDES@
  74810. \ No newline at end of file
  74811. +AM_CPPFLAGS = @AM_CPPFLAGS@
  74812. \ No newline at end of file
  74813. diff -Nru Fiasco-master/lib/Makefile.in Fiasco-master-pfiasco/lib/Makefile.in
  74814. --- Fiasco-master/lib/Makefile.in 2013-06-06 22:56:44.000000000 -0400
  74815. +++ Fiasco-master-pfiasco/lib/Makefile.in 2019-06-17 21:04:59.654766504 -0400
  74816. @@ -1,9 +1,8 @@
  74817. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  74818. +# Makefile.in generated by automake 1.16.1 from Makefile.am.
  74819. # @configure_input@
  74820.  
  74821. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  74822. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  74823. -# Inc.
  74824. +# Copyright (C) 1994-2018 Free Software Foundation, Inc.
  74825. +
  74826. # This Makefile.in is free software; the Free Software Foundation
  74827. # gives unlimited permission to copy and/or distribute it,
  74828. # with or without modifications, as long as this notice is preserved.
  74829. @@ -17,6 +16,61 @@
  74830.  
  74831.  
  74832. VPATH = @srcdir@
  74833. +am__is_gnu_make = { \
  74834. + if test -z '$(MAKELEVEL)'; then \
  74835. + false; \
  74836. + elif test -n '$(MAKE_HOST)'; then \
  74837. + true; \
  74838. + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  74839. + true; \
  74840. + else \
  74841. + false; \
  74842. + fi; \
  74843. +}
  74844. +am__make_running_with_option = \
  74845. + case $${target_option-} in \
  74846. + ?) ;; \
  74847. + *) echo "am__make_running_with_option: internal error: invalid" \
  74848. + "target option '$${target_option-}' specified" >&2; \
  74849. + exit 1;; \
  74850. + esac; \
  74851. + has_opt=no; \
  74852. + sane_makeflags=$$MAKEFLAGS; \
  74853. + if $(am__is_gnu_make); then \
  74854. + sane_makeflags=$$MFLAGS; \
  74855. + else \
  74856. + case $$MAKEFLAGS in \
  74857. + *\\[\ \ ]*) \
  74858. + bs=\\; \
  74859. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  74860. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  74861. + esac; \
  74862. + fi; \
  74863. + skip_next=no; \
  74864. + strip_trailopt () \
  74865. + { \
  74866. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  74867. + }; \
  74868. + for flg in $$sane_makeflags; do \
  74869. + test $$skip_next = yes && { skip_next=no; continue; }; \
  74870. + case $$flg in \
  74871. + *=*|--*) continue;; \
  74872. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  74873. + -*I?*) strip_trailopt 'I';; \
  74874. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  74875. + -*O?*) strip_trailopt 'O';; \
  74876. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  74877. + -*l?*) strip_trailopt 'l';; \
  74878. + -[dEDm]) skip_next=yes;; \
  74879. + -[JT]) skip_next=yes;; \
  74880. + esac; \
  74881. + case $$flg in \
  74882. + *$$target_option*) has_opt=yes; break;; \
  74883. + esac; \
  74884. + done; \
  74885. + test $$has_opt = yes
  74886. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  74887. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  74888. pkgdatadir = $(datadir)/@PACKAGE@
  74889. pkgincludedir = $(includedir)/@PACKAGE@
  74890. pkglibdir = $(libdir)/@PACKAGE@
  74891. @@ -36,12 +90,15 @@
  74892. build_triplet = @build@
  74893. host_triplet = @host@
  74894. subdir = lib
  74895. -DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  74896. - $(srcdir)/Makefile.in ChangeLog
  74897. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  74898. -am__aclocal_m4_deps = $(top_srcdir)/configure.in
  74899. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  74900. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  74901. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  74902. + $(top_srcdir)/configure.ac
  74903. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  74904. $(ACLOCAL_M4)
  74905. +DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \
  74906. + $(am__DIST_COMMON)
  74907. mkinstalldirs = $(install_sh) -d
  74908. CONFIG_HEADER = $(top_builddir)/config.h
  74909. CONFIG_CLEAN_FILES =
  74910. @@ -51,27 +108,82 @@
  74911. am_libfiasco_lib_la_OBJECTS = arith.lo bit-io.lo dither.lo error.lo \
  74912. image.lo list.lo misc.lo rpf.lo
  74913. libfiasco_lib_la_OBJECTS = $(am_libfiasco_lib_la_OBJECTS)
  74914. +AM_V_lt = $(am__v_lt_@AM_V@)
  74915. +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
  74916. +am__v_lt_0 = --silent
  74917. +am__v_lt_1 =
  74918. +AM_V_P = $(am__v_P_@AM_V@)
  74919. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  74920. +am__v_P_0 = false
  74921. +am__v_P_1 = :
  74922. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  74923. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  74924. +am__v_GEN_0 = @echo " GEN " $@;
  74925. +am__v_GEN_1 =
  74926. +AM_V_at = $(am__v_at_@AM_V@)
  74927. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  74928. +am__v_at_0 = @
  74929. +am__v_at_1 =
  74930. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  74931. depcomp = $(SHELL) $(top_srcdir)/depcomp
  74932. -am__depfiles_maybe = depfiles
  74933. +am__maybe_remake_depfiles = depfiles
  74934. +am__depfiles_remade = ./$(DEPDIR)/arith.Plo ./$(DEPDIR)/bit-io.Plo \
  74935. + ./$(DEPDIR)/dither.Plo ./$(DEPDIR)/error.Plo \
  74936. + ./$(DEPDIR)/image.Plo ./$(DEPDIR)/list.Plo \
  74937. + ./$(DEPDIR)/misc.Plo ./$(DEPDIR)/rpf.Plo
  74938. am__mv = mv -f
  74939. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  74940. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  74941. -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  74942. - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  74943. - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  74944. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  74945. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  74946. + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  74947. + $(AM_CFLAGS) $(CFLAGS)
  74948. +AM_V_CC = $(am__v_CC_@AM_V@)
  74949. +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  74950. +am__v_CC_0 = @echo " CC " $@;
  74951. +am__v_CC_1 =
  74952. CCLD = $(CC)
  74953. -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  74954. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  74955. - $(LDFLAGS) -o $@
  74956. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  74957. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  74958. + $(AM_LDFLAGS) $(LDFLAGS) -o $@
  74959. +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  74960. +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  74961. +am__v_CCLD_0 = @echo " CCLD " $@;
  74962. +am__v_CCLD_1 =
  74963. SOURCES = $(libfiasco_lib_la_SOURCES)
  74964. DIST_SOURCES = $(libfiasco_lib_la_SOURCES)
  74965. +am__can_run_installinfo = \
  74966. + case $$AM_UPDATE_INFO_DIR in \
  74967. + n|no|NO) false;; \
  74968. + *) (install-info --version) >/dev/null 2>&1;; \
  74969. + esac
  74970. HEADERS = $(noinst_HEADERS)
  74971. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  74972. +# Read a list of newline-separated strings from the standard input,
  74973. +# and print each of them once, without duplicates. Input order is
  74974. +# *not* preserved.
  74975. +am__uniquify_input = $(AWK) '\
  74976. + BEGIN { nonempty = 0; } \
  74977. + { items[$$0] = 1; nonempty = 1; } \
  74978. + END { if (nonempty) { for (i in items) print i; }; } \
  74979. +'
  74980. +# Make sure the list of sources is unique. This is necessary because,
  74981. +# e.g., the same source file might be shared among _SOURCES variables
  74982. +# for different programs/libraries.
  74983. +am__define_uniq_tagged_files = \
  74984. + list='$(am__tagged_files)'; \
  74985. + unique=`for i in $$list; do \
  74986. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  74987. + done | $(am__uniquify_input)`
  74988. ETAGS = etags
  74989. CTAGS = ctags
  74990. +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
  74991. + ChangeLog
  74992. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  74993. ACLOCAL = @ACLOCAL@
  74994. AMTAR = @AMTAR@
  74995. +AM_CPPFLAGS = @AM_CPPFLAGS@
  74996. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  74997. AR = @AR@
  74998. AUTOCONF = @AUTOCONF@
  74999. AUTOHEADER = @AUTOHEADER@
  75000. @@ -85,6 +197,7 @@
  75001. CYGPATH_W = @CYGPATH_W@
  75002. DEFS = @DEFS@
  75003. DEPDIR = @DEPDIR@
  75004. +DLLTOOL = @DLLTOOL@
  75005. DSYMUTIL = @DSYMUTIL@
  75006. DUMPBIN = @DUMPBIN@
  75007. ECHO_C = @ECHO_C@
  75008. @@ -94,7 +207,6 @@
  75009. EXEEXT = @EXEEXT@
  75010. FGREP = @FGREP@
  75011. GREP = @GREP@
  75012. -INCLUDES = @INCLUDES@
  75013. INSTALL = @INSTALL@
  75014. INSTALL_DATA = @INSTALL_DATA@
  75015. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  75016. @@ -109,7 +221,9 @@
  75017. LIPO = @LIPO@
  75018. LN_S = @LN_S@
  75019. LTLIBOBJS = @LTLIBOBJS@
  75020. +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  75021. MAKEINFO = @MAKEINFO@
  75022. +MANIFEST_TOOL = @MANIFEST_TOOL@
  75023. MKDIR_P = @MKDIR_P@
  75024. NM = @NM@
  75025. NMEDIT = @NMEDIT@
  75026. @@ -135,6 +249,7 @@
  75027. abs_srcdir = @abs_srcdir@
  75028. abs_top_builddir = @abs_top_builddir@
  75029. abs_top_srcdir = @abs_top_srcdir@
  75030. +ac_ct_AR = @ac_ct_AR@
  75031. ac_ct_CC = @ac_ct_CC@
  75032. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  75033. am__include = @am__include@
  75034. @@ -167,7 +282,6 @@
  75035. libexecdir = @libexecdir@
  75036. localedir = @localedir@
  75037. localstatedir = @localstatedir@
  75038. -lt_ECHO = @lt_ECHO@
  75039. mandir = @mandir@
  75040. mkdir_p = @mkdir_p@
  75041. oldincludedir = @oldincludedir@
  75042. @@ -209,14 +323,13 @@
  75043. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu lib/Makefile'; \
  75044. $(am__cd) $(top_srcdir) && \
  75045. $(AUTOMAKE) --gnu lib/Makefile
  75046. -.PRECIOUS: Makefile
  75047. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  75048. @case '$?' in \
  75049. *config.status*) \
  75050. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  75051. *) \
  75052. - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  75053. - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  75054. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
  75055. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
  75056. esac;
  75057.  
  75058. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  75059. @@ -230,14 +343,17 @@
  75060.  
  75061. clean-noinstLTLIBRARIES:
  75062. -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
  75063. - @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
  75064. - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
  75065. - test "$$dir" != "$$p" || dir=.; \
  75066. - echo "rm -f \"$${dir}/so_locations\""; \
  75067. - rm -f "$${dir}/so_locations"; \
  75068. - done
  75069. -libfiasco-lib.la: $(libfiasco_lib_la_OBJECTS) $(libfiasco_lib_la_DEPENDENCIES)
  75070. - $(LINK) $(libfiasco_lib_la_OBJECTS) $(libfiasco_lib_la_LIBADD) $(LIBS)
  75071. + @list='$(noinst_LTLIBRARIES)'; \
  75072. + locs=`for p in $$list; do echo $$p; done | \
  75073. + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
  75074. + sort -u`; \
  75075. + test -z "$$locs" || { \
  75076. + echo rm -f $${locs}; \
  75077. + rm -f $${locs}; \
  75078. + }
  75079. +
  75080. +libfiasco-lib.la: $(libfiasco_lib_la_OBJECTS) $(libfiasco_lib_la_DEPENDENCIES) $(EXTRA_libfiasco_lib_la_DEPENDENCIES)
  75081. + $(AM_V_CCLD)$(LINK) $(libfiasco_lib_la_OBJECTS) $(libfiasco_lib_la_LIBADD) $(LIBS)
  75082.  
  75083. mostlyclean-compile:
  75084. -rm -f *.$(OBJEXT)
  75085. @@ -245,35 +361,41 @@
  75086. distclean-compile:
  75087. -rm -f *.tab.c
  75088.  
  75089. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arith.Plo@am__quote@
  75090. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bit-io.Plo@am__quote@
  75091. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dither.Plo@am__quote@
  75092. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@
  75093. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/image.Plo@am__quote@
  75094. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Plo@am__quote@
  75095. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Plo@am__quote@
  75096. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpf.Plo@am__quote@
  75097. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arith.Plo@am__quote@ # am--include-marker
  75098. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bit-io.Plo@am__quote@ # am--include-marker
  75099. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dither.Plo@am__quote@ # am--include-marker
  75100. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@ # am--include-marker
  75101. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/image.Plo@am__quote@ # am--include-marker
  75102. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Plo@am__quote@ # am--include-marker
  75103. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Plo@am__quote@ # am--include-marker
  75104. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpf.Plo@am__quote@ # am--include-marker
  75105. +
  75106. +$(am__depfiles_remade):
  75107. + @$(MKDIR_P) $(@D)
  75108. + @echo '# dummy' >$@-t && $(am__mv) $@-t $@
  75109. +
  75110. +am--depfiles: $(am__depfiles_remade)
  75111.  
  75112. .c.o:
  75113. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  75114. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  75115. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  75116. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  75117. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  75118. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  75119. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  75120. -@am__fastdepCC_FALSE@ $(COMPILE) -c $<
  75121. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
  75122.  
  75123. .c.obj:
  75124. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  75125. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  75126. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  75127. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  75128. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  75129. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  75130. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  75131. -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  75132. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  75133.  
  75134. .c.lo:
  75135. -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  75136. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  75137. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  75138. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  75139. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  75140. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  75141. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  75142. -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  75143. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
  75144.  
  75145. mostlyclean-libtool:
  75146. -rm -f *.lo
  75147. @@ -281,26 +403,15 @@
  75148. clean-libtool:
  75149. -rm -rf .libs _libs
  75150.  
  75151. -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  75152. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  75153. - unique=`for i in $$list; do \
  75154. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  75155. - done | \
  75156. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  75157. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  75158. - mkid -fID $$unique
  75159. -tags: TAGS
  75160. +ID: $(am__tagged_files)
  75161. + $(am__define_uniq_tagged_files); mkid -fID $$unique
  75162. +tags: tags-am
  75163. +TAGS: tags
  75164.  
  75165. -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  75166. - $(TAGS_FILES) $(LISP)
  75167. +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  75168. set x; \
  75169. here=`pwd`; \
  75170. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  75171. - unique=`for i in $$list; do \
  75172. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  75173. - done | \
  75174. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  75175. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  75176. + $(am__define_uniq_tagged_files); \
  75177. shift; \
  75178. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  75179. test -n "$$unique" || unique=$$empty_fix; \
  75180. @@ -312,15 +423,11 @@
  75181. $$unique; \
  75182. fi; \
  75183. fi
  75184. -ctags: CTAGS
  75185. -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  75186. - $(TAGS_FILES) $(LISP)
  75187. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  75188. - unique=`for i in $$list; do \
  75189. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  75190. - done | \
  75191. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  75192. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  75193. +ctags: ctags-am
  75194. +
  75195. +CTAGS: ctags
  75196. +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  75197. + $(am__define_uniq_tagged_files); \
  75198. test -z "$(CTAGS_ARGS)$$unique" \
  75199. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  75200. $$unique
  75201. @@ -329,11 +436,29 @@
  75202. here=`$(am__cd) $(top_builddir) && pwd` \
  75203. && $(am__cd) $(top_srcdir) \
  75204. && gtags -i $(GTAGS_ARGS) "$$here"
  75205. +cscopelist: cscopelist-am
  75206. +
  75207. +cscopelist-am: $(am__tagged_files)
  75208. + list='$(am__tagged_files)'; \
  75209. + case "$(srcdir)" in \
  75210. + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  75211. + *) sdir=$(subdir)/$(srcdir) ;; \
  75212. + esac; \
  75213. + for i in $$list; do \
  75214. + if test -f "$$i"; then \
  75215. + echo "$(subdir)/$$i"; \
  75216. + else \
  75217. + echo "$$sdir/$$i"; \
  75218. + fi; \
  75219. + done >> $(top_builddir)/cscope.files
  75220.  
  75221. distclean-tags:
  75222. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  75223.  
  75224. -distdir: $(DISTFILES)
  75225. +distdir: $(BUILT_SOURCES)
  75226. + $(MAKE) $(AM_MAKEFLAGS) distdir-am
  75227. +
  75228. +distdir-am: $(DISTFILES)
  75229. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  75230. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  75231. list='$(DISTFILES)'; \
  75232. @@ -377,10 +502,15 @@
  75233.  
  75234. installcheck: installcheck-am
  75235. install-strip:
  75236. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  75237. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  75238. - `test -z '$(STRIP)' || \
  75239. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  75240. + if test -z '$(STRIP)'; then \
  75241. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  75242. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  75243. + install; \
  75244. + else \
  75245. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  75246. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  75247. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  75248. + fi
  75249. mostlyclean-generic:
  75250.  
  75251. clean-generic:
  75252. @@ -398,7 +528,14 @@
  75253. mostlyclean-am
  75254.  
  75255. distclean: distclean-am
  75256. - -rm -rf ./$(DEPDIR)
  75257. + -rm -f ./$(DEPDIR)/arith.Plo
  75258. + -rm -f ./$(DEPDIR)/bit-io.Plo
  75259. + -rm -f ./$(DEPDIR)/dither.Plo
  75260. + -rm -f ./$(DEPDIR)/error.Plo
  75261. + -rm -f ./$(DEPDIR)/image.Plo
  75262. + -rm -f ./$(DEPDIR)/list.Plo
  75263. + -rm -f ./$(DEPDIR)/misc.Plo
  75264. + -rm -f ./$(DEPDIR)/rpf.Plo
  75265. -rm -f Makefile
  75266. distclean-am: clean-am distclean-compile distclean-generic \
  75267. distclean-tags
  75268. @@ -444,7 +581,14 @@
  75269. installcheck-am:
  75270.  
  75271. maintainer-clean: maintainer-clean-am
  75272. - -rm -rf ./$(DEPDIR)
  75273. + -rm -f ./$(DEPDIR)/arith.Plo
  75274. + -rm -f ./$(DEPDIR)/bit-io.Plo
  75275. + -rm -f ./$(DEPDIR)/dither.Plo
  75276. + -rm -f ./$(DEPDIR)/error.Plo
  75277. + -rm -f ./$(DEPDIR)/image.Plo
  75278. + -rm -f ./$(DEPDIR)/list.Plo
  75279. + -rm -f ./$(DEPDIR)/misc.Plo
  75280. + -rm -f ./$(DEPDIR)/rpf.Plo
  75281. -rm -f Makefile
  75282. maintainer-clean-am: distclean-am maintainer-clean-generic
  75283.  
  75284. @@ -465,18 +609,21 @@
  75285.  
  75286. .MAKE: install-am install-strip
  75287.  
  75288. -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  75289. - clean-libtool clean-noinstLTLIBRARIES ctags distclean \
  75290. - distclean-compile distclean-generic distclean-libtool \
  75291. - distclean-tags distdir dvi dvi-am html html-am info info-am \
  75292. - install install-am install-data install-data-am install-dvi \
  75293. - install-dvi-am install-exec install-exec-am install-html \
  75294. - install-html-am install-info install-info-am install-man \
  75295. - install-pdf install-pdf-am install-ps install-ps-am \
  75296. - install-strip installcheck installcheck-am installdirs \
  75297. - maintainer-clean maintainer-clean-generic mostlyclean \
  75298. - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  75299. - pdf pdf-am ps ps-am tags uninstall uninstall-am
  75300. +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
  75301. + clean-generic clean-libtool clean-noinstLTLIBRARIES \
  75302. + cscopelist-am ctags ctags-am distclean distclean-compile \
  75303. + distclean-generic distclean-libtool distclean-tags distdir dvi \
  75304. + dvi-am html html-am info info-am install install-am \
  75305. + install-data install-data-am install-dvi install-dvi-am \
  75306. + install-exec install-exec-am install-html install-html-am \
  75307. + install-info install-info-am install-man install-pdf \
  75308. + install-pdf-am install-ps install-ps-am install-strip \
  75309. + installcheck installcheck-am installdirs maintainer-clean \
  75310. + maintainer-clean-generic mostlyclean mostlyclean-compile \
  75311. + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  75312. + tags tags-am uninstall uninstall-am
  75313. +
  75314. +.PRECIOUS: Makefile
  75315.  
  75316.  
  75317. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  75318. diff -Nru Fiasco-master/ltmain.sh Fiasco-master-pfiasco/ltmain.sh
  75319. --- Fiasco-master/ltmain.sh 2013-06-06 22:56:44.000000000 -0400
  75320. +++ Fiasco-master-pfiasco/ltmain.sh 2019-06-17 20:58:43.077202727 -0400
  75321. @@ -1,9 +1,12 @@
  75322. -# Generated from ltmain.m4sh.
  75323. +#! /bin/sh
  75324. +## DO NOT EDIT - This file generated from ./build-aux/ltmain.in
  75325. +## by inline-source v2014-01-03.01
  75326.  
  75327. -# ltmain.sh (GNU libtool) 2.2.6b
  75328. +# libtool (GNU libtool) 2.4.6
  75329. +# Provide generalized library-building support services.
  75330. # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  75331.  
  75332. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
  75333. +# Copyright (C) 1996-2015 Free Software Foundation, Inc.
  75334. # This is free software; see the source for copying conditions. There is NO
  75335. # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  75336.  
  75337. @@ -23,598 +26,2112 @@
  75338. # General Public License for more details.
  75339. #
  75340. # You should have received a copy of the GNU General Public License
  75341. -# along with GNU Libtool; see the file COPYING. If not, a copy
  75342. -# can be downloaded from http://www.gnu.org/licenses/gpl.html,
  75343. -# or obtained by writing to the Free Software Foundation, Inc.,
  75344. -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  75345. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  75346.  
  75347. -# Usage: $progname [OPTION]... [MODE-ARG]...
  75348. -#
  75349. -# Provide generalized library-building support services.
  75350. +
  75351. +PROGRAM=libtool
  75352. +PACKAGE=libtool
  75353. +VERSION=2.4.6
  75354. +package_revision=2.4.6
  75355. +
  75356. +
  75357. +## ------ ##
  75358. +## Usage. ##
  75359. +## ------ ##
  75360. +
  75361. +# Run './libtool --help' for help with using this script from the
  75362. +# command line.
  75363. +
  75364. +
  75365. +## ------------------------------- ##
  75366. +## User overridable command paths. ##
  75367. +## ------------------------------- ##
  75368. +
  75369. +# After configure completes, it has a better idea of some of the
  75370. +# shell tools we need than the defaults used by the functions shared
  75371. +# with bootstrap, so set those here where they can still be over-
  75372. +# ridden by the user, but otherwise take precedence.
  75373. +
  75374. +: ${AUTOCONF="autoconf"}
  75375. +: ${AUTOMAKE="automake"}
  75376. +
  75377. +
  75378. +## -------------------------- ##
  75379. +## Source external libraries. ##
  75380. +## -------------------------- ##
  75381. +
  75382. +# Much of our low-level functionality needs to be sourced from external
  75383. +# libraries, which are installed to $pkgauxdir.
  75384. +
  75385. +# Set a version string for this script.
  75386. +scriptversion=2015-01-20.17; # UTC
  75387. +
  75388. +# General shell script boiler plate, and helper functions.
  75389. +# Written by Gary V. Vaughan, 2004
  75390. +
  75391. +# Copyright (C) 2004-2015 Free Software Foundation, Inc.
  75392. +# This is free software; see the source for copying conditions. There is NO
  75393. +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  75394. +
  75395. +# This program is free software; you can redistribute it and/or modify
  75396. +# it under the terms of the GNU General Public License as published by
  75397. +# the Free Software Foundation; either version 3 of the License, or
  75398. +# (at your option) any later version.
  75399. +
  75400. +# As a special exception to the GNU General Public License, if you distribute
  75401. +# this file as part of a program or library that is built using GNU Libtool,
  75402. +# you may include this file under the same distribution terms that you use
  75403. +# for the rest of that program.
  75404. +
  75405. +# This program is distributed in the hope that it will be useful,
  75406. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  75407. +# MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU
  75408. +# General Public License for more details.
  75409. +
  75410. +# You should have received a copy of the GNU General Public License
  75411. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  75412. +
  75413. +# Please report bugs or propose patches to gary@gnu.org.
  75414. +
  75415. +
  75416. +## ------ ##
  75417. +## Usage. ##
  75418. +## ------ ##
  75419. +
  75420. +# Evaluate this file near the top of your script to gain access to
  75421. +# the functions and variables defined here:
  75422. #
  75423. -# --config show all configuration variables
  75424. -# --debug enable verbose shell tracing
  75425. -# -n, --dry-run display commands without modifying any files
  75426. -# --features display basic configuration information and exit
  75427. -# --mode=MODE use operation mode MODE
  75428. -# --preserve-dup-deps don't remove duplicate dependency libraries
  75429. -# --quiet, --silent don't print informational messages
  75430. -# --tag=TAG use configuration variables from tag TAG
  75431. -# -v, --verbose print informational messages (default)
  75432. -# --version print version information
  75433. -# -h, --help print short or long help message
  75434. -#
  75435. -# MODE must be one of the following:
  75436. -#
  75437. -# clean remove files from the build directory
  75438. -# compile compile a source file into a libtool object
  75439. -# execute automatically set library path, then run a program
  75440. -# finish complete the installation of libtool libraries
  75441. -# install install libraries or executables
  75442. -# link create a library or an executable
  75443. -# uninstall remove libraries from an installed directory
  75444. -#
  75445. -# MODE-ARGS vary depending on the MODE.
  75446. -# Try `$progname --help --mode=MODE' for a more detailed description of MODE.
  75447. -#
  75448. -# When reporting a bug, please describe a test case to reproduce it and
  75449. -# include the following information:
  75450. -#
  75451. -# host-triplet: $host
  75452. -# shell: $SHELL
  75453. -# compiler: $LTCC
  75454. -# compiler flags: $LTCFLAGS
  75455. -# linker: $LD (gnu? $with_gnu_ld)
  75456. -# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu3
  75457. -# automake: $automake_version
  75458. -# autoconf: $autoconf_version
  75459. +# . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh
  75460. #
  75461. -# Report bugs to <bug-libtool@gnu.org>.
  75462. +# If you need to override any of the default environment variable
  75463. +# settings, do that before evaluating this file.
  75464.  
  75465. -PROGRAM=ltmain.sh
  75466. -PACKAGE=libtool
  75467. -VERSION="2.2.6b Debian-2.2.6b-2ubuntu3"
  75468. -TIMESTAMP=""
  75469. -package_revision=1.3017
  75470.  
  75471. -# Be Bourne compatible
  75472. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  75473. +## -------------------- ##
  75474. +## Shell normalisation. ##
  75475. +## -------------------- ##
  75476. +
  75477. +# Some shells need a little help to be as Bourne compatible as possible.
  75478. +# Before doing anything else, make sure all that help has been provided!
  75479. +
  75480. +DUALCASE=1; export DUALCASE # for MKS sh
  75481. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  75482. emulate sh
  75483. NULLCMD=:
  75484. - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  75485. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  75486. # is contrary to our usage. Disable this feature.
  75487. alias -g '${1+"$@"}'='"$@"'
  75488. setopt NO_GLOB_SUBST
  75489. else
  75490. - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
  75491. + case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac
  75492. fi
  75493. -BIN_SH=xpg4; export BIN_SH # for Tru64
  75494. -DUALCASE=1; export DUALCASE # for MKS sh
  75495.  
  75496. -# NLS nuisances: We save the old values to restore during execute mode.
  75497. -# Only set LANG and LC_ALL to C if already set.
  75498. -# These must not be set unconditionally because not all systems understand
  75499. -# e.g. LANG=C (notably SCO).
  75500. -lt_user_locale=
  75501. -lt_safe_locale=
  75502. -for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  75503. +# NLS nuisances: We save the old values in case they are required later.
  75504. +_G_user_locale=
  75505. +_G_safe_locale=
  75506. +for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  75507. do
  75508. - eval "if test \"\${$lt_var+set}\" = set; then
  75509. - save_$lt_var=\$$lt_var
  75510. - $lt_var=C
  75511. - export $lt_var
  75512. - lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\"
  75513. - lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
  75514. + eval "if test set = \"\${$_G_var+set}\"; then
  75515. + save_$_G_var=\$$_G_var
  75516. + $_G_var=C
  75517. + export $_G_var
  75518. + _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\"
  75519. + _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\"
  75520. fi"
  75521. done
  75522.  
  75523. -$lt_unset CDPATH
  75524. +# CDPATH.
  75525. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  75526. +
  75527. +# Make sure IFS has a sensible default
  75528. +sp=' '
  75529. +nl='
  75530. +'
  75531. +IFS="$sp $nl"
  75532. +
  75533. +# There are apparently some retarded systems that use ';' as a PATH separator!
  75534. +if test "${PATH_SEPARATOR+set}" != set; then
  75535. + PATH_SEPARATOR=:
  75536. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  75537. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  75538. + PATH_SEPARATOR=';'
  75539. + }
  75540. +fi
  75541. +
  75542. +
  75543. +
  75544. +## ------------------------- ##
  75545. +## Locate command utilities. ##
  75546. +## ------------------------- ##
  75547. +
  75548.  
  75549. +# func_executable_p FILE
  75550. +# ----------------------
  75551. +# Check that FILE is an executable regular file.
  75552. +func_executable_p ()
  75553. +{
  75554. + test -f "$1" && test -x "$1"
  75555. +}
  75556.  
  75557.  
  75558. +# func_path_progs PROGS_LIST CHECK_FUNC [PATH]
  75559. +# --------------------------------------------
  75560. +# Search for either a program that responds to --version with output
  75561. +# containing "GNU", or else returned by CHECK_FUNC otherwise, by
  75562. +# trying all the directories in PATH with each of the elements of
  75563. +# PROGS_LIST.
  75564. +#
  75565. +# CHECK_FUNC should accept the path to a candidate program, and
  75566. +# set $func_check_prog_result if it truncates its output less than
  75567. +# $_G_path_prog_max characters.
  75568. +func_path_progs ()
  75569. +{
  75570. + _G_progs_list=$1
  75571. + _G_check_func=$2
  75572. + _G_PATH=${3-"$PATH"}
  75573. +
  75574. + _G_path_prog_max=0
  75575. + _G_path_prog_found=false
  75576. + _G_save_IFS=$IFS; IFS=${PATH_SEPARATOR-:}
  75577. + for _G_dir in $_G_PATH; do
  75578. + IFS=$_G_save_IFS
  75579. + test -z "$_G_dir" && _G_dir=.
  75580. + for _G_prog_name in $_G_progs_list; do
  75581. + for _exeext in '' .EXE; do
  75582. + _G_path_prog=$_G_dir/$_G_prog_name$_exeext
  75583. + func_executable_p "$_G_path_prog" || continue
  75584. + case `"$_G_path_prog" --version 2>&1` in
  75585. + *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;;
  75586. + *) $_G_check_func $_G_path_prog
  75587. + func_path_progs_result=$func_check_prog_result
  75588. + ;;
  75589. + esac
  75590. + $_G_path_prog_found && break 3
  75591. + done
  75592. + done
  75593. + done
  75594. + IFS=$_G_save_IFS
  75595. + test -z "$func_path_progs_result" && {
  75596. + echo "no acceptable sed could be found in \$PATH" >&2
  75597. + exit 1
  75598. + }
  75599. +}
  75600. +
  75601.  
  75602. +# We want to be able to use the functions in this file before configure
  75603. +# has figured out where the best binaries are kept, which means we have
  75604. +# to search for them ourselves - except when the results are already set
  75605. +# where we skip the searches.
  75606. +
  75607. +# Unless the user overrides by setting SED, search the path for either GNU
  75608. +# sed, or the sed that truncates its output the least.
  75609. +test -z "$SED" && {
  75610. + _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  75611. + for _G_i in 1 2 3 4 5 6 7; do
  75612. + _G_sed_script=$_G_sed_script$nl$_G_sed_script
  75613. + done
  75614. + echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed
  75615. + _G_sed_script=
  75616. +
  75617. + func_check_prog_sed ()
  75618. + {
  75619. + _G_path_prog=$1
  75620. +
  75621. + _G_count=0
  75622. + printf 0123456789 >conftest.in
  75623. + while :
  75624. + do
  75625. + cat conftest.in conftest.in >conftest.tmp
  75626. + mv conftest.tmp conftest.in
  75627. + cp conftest.in conftest.nl
  75628. + echo '' >> conftest.nl
  75629. + "$_G_path_prog" -f conftest.sed <conftest.nl >conftest.out 2>/dev/null || break
  75630. + diff conftest.out conftest.nl >/dev/null 2>&1 || break
  75631. + _G_count=`expr $_G_count + 1`
  75632. + if test "$_G_count" -gt "$_G_path_prog_max"; then
  75633. + # Best one so far, save it but keep looking for a better one
  75634. + func_check_prog_result=$_G_path_prog
  75635. + _G_path_prog_max=$_G_count
  75636. + fi
  75637. + # 10*(2^10) chars as input seems more than enough
  75638. + test 10 -lt "$_G_count" && break
  75639. + done
  75640. + rm -f conftest.in conftest.tmp conftest.nl conftest.out
  75641. + }
  75642. +
  75643. + func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin
  75644. + rm -f conftest.sed
  75645. + SED=$func_path_progs_result
  75646. +}
  75647. +
  75648. +
  75649. +# Unless the user overrides by setting GREP, search the path for either GNU
  75650. +# grep, or the grep that truncates its output the least.
  75651. +test -z "$GREP" && {
  75652. + func_check_prog_grep ()
  75653. + {
  75654. + _G_path_prog=$1
  75655. +
  75656. + _G_count=0
  75657. + _G_path_prog_max=0
  75658. + printf 0123456789 >conftest.in
  75659. + while :
  75660. + do
  75661. + cat conftest.in conftest.in >conftest.tmp
  75662. + mv conftest.tmp conftest.in
  75663. + cp conftest.in conftest.nl
  75664. + echo 'GREP' >> conftest.nl
  75665. + "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' <conftest.nl >conftest.out 2>/dev/null || break
  75666. + diff conftest.out conftest.nl >/dev/null 2>&1 || break
  75667. + _G_count=`expr $_G_count + 1`
  75668. + if test "$_G_count" -gt "$_G_path_prog_max"; then
  75669. + # Best one so far, save it but keep looking for a better one
  75670. + func_check_prog_result=$_G_path_prog
  75671. + _G_path_prog_max=$_G_count
  75672. + fi
  75673. + # 10*(2^10) chars as input seems more than enough
  75674. + test 10 -lt "$_G_count" && break
  75675. + done
  75676. + rm -f conftest.in conftest.tmp conftest.nl conftest.out
  75677. + }
  75678. +
  75679. + func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin
  75680. + GREP=$func_path_progs_result
  75681. +}
  75682. +
  75683. +
  75684. +## ------------------------------- ##
  75685. +## User overridable command paths. ##
  75686. +## ------------------------------- ##
  75687. +
  75688. +# All uppercase variable names are used for environment variables. These
  75689. +# variables can be overridden by the user before calling a script that
  75690. +# uses them if a suitable command of that name is not already available
  75691. +# in the command search PATH.
  75692.  
  75693. : ${CP="cp -f"}
  75694. -: ${ECHO="echo"}
  75695. -: ${EGREP="/bin/grep -E"}
  75696. -: ${FGREP="/bin/grep -F"}
  75697. -: ${GREP="/bin/grep"}
  75698. +: ${ECHO="printf %s\n"}
  75699. +: ${EGREP="$GREP -E"}
  75700. +: ${FGREP="$GREP -F"}
  75701. : ${LN_S="ln -s"}
  75702. : ${MAKE="make"}
  75703. : ${MKDIR="mkdir"}
  75704. : ${MV="mv -f"}
  75705. : ${RM="rm -f"}
  75706. -: ${SED="/bin/sed"}
  75707. : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
  75708. -: ${Xsed="$SED -e 1s/^X//"}
  75709.  
  75710. -# Global variables:
  75711. +
  75712. +## -------------------- ##
  75713. +## Useful sed snippets. ##
  75714. +## -------------------- ##
  75715. +
  75716. +sed_dirname='s|/[^/]*$||'
  75717. +sed_basename='s|^.*/||'
  75718. +
  75719. +# Sed substitution that helps us do robust quoting. It backslashifies
  75720. +# metacharacters that are still active within double-quoted strings.
  75721. +sed_quote_subst='s|\([`"$\\]\)|\\\1|g'
  75722. +
  75723. +# Same as above, but do not quote variable references.
  75724. +sed_double_quote_subst='s/\(["`\\]\)/\\\1/g'
  75725. +
  75726. +# Sed substitution that turns a string into a regex matching for the
  75727. +# string literally.
  75728. +sed_make_literal_regex='s|[].[^$\\*\/]|\\&|g'
  75729. +
  75730. +# Sed substitution that converts a w32 file name or path
  75731. +# that contains forward slashes, into one that contains
  75732. +# (escaped) backslashes. A very naive implementation.
  75733. +sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  75734. +
  75735. +# Re-'\' parameter expansions in output of sed_double_quote_subst that
  75736. +# were '\'-ed in input to the same. If an odd number of '\' preceded a
  75737. +# '$' in input to sed_double_quote_subst, that '$' was protected from
  75738. +# expansion. Since each input '\' is now two '\'s, look for any number
  75739. +# of runs of four '\'s followed by two '\'s and then a '$'. '\' that '$'.
  75740. +_G_bs='\\'
  75741. +_G_bs2='\\\\'
  75742. +_G_bs4='\\\\\\\\'
  75743. +_G_dollar='\$'
  75744. +sed_double_backslash="\
  75745. + s/$_G_bs4/&\\
  75746. +/g
  75747. + s/^$_G_bs2$_G_dollar/$_G_bs&/
  75748. + s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g
  75749. + s/\n//g"
  75750. +
  75751. +
  75752. +## ----------------- ##
  75753. +## Global variables. ##
  75754. +## ----------------- ##
  75755. +
  75756. +# Except for the global variables explicitly listed below, the following
  75757. +# functions in the '^func_' namespace, and the '^require_' namespace
  75758. +# variables initialised in the 'Resource management' section, sourcing
  75759. +# this file will not pollute your global namespace with anything
  75760. +# else. There's no portable way to scope variables in Bourne shell
  75761. +# though, so actually running these functions will sometimes place
  75762. +# results into a variable named after the function, and often use
  75763. +# temporary variables in the '^_G_' namespace. If you are careful to
  75764. +# avoid using those namespaces casually in your sourcing script, things
  75765. +# should continue to work as you expect. And, of course, you can freely
  75766. +# overwrite any of the functions or variables defined here before
  75767. +# calling anything to customize them.
  75768. +
  75769. EXIT_SUCCESS=0
  75770. EXIT_FAILURE=1
  75771. EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing.
  75772. EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake.
  75773.  
  75774. -exit_status=$EXIT_SUCCESS
  75775. -
  75776. -# Make sure IFS has a sensible default
  75777. -lt_nl='
  75778. -'
  75779. -IFS=" $lt_nl"
  75780. -
  75781. -dirname="s,/[^/]*$,,"
  75782. -basename="s,^.*/,,"
  75783. -
  75784. -# func_dirname_and_basename file append nondir_replacement
  75785. -# perform func_basename and func_dirname in a single function
  75786. -# call:
  75787. -# dirname: Compute the dirname of FILE. If nonempty,
  75788. -# add APPEND to the result, otherwise set result
  75789. -# to NONDIR_REPLACEMENT.
  75790. -# value returned in "$func_dirname_result"
  75791. -# basename: Compute filename of FILE.
  75792. -# value retuned in "$func_basename_result"
  75793. -# Implementation must be kept synchronized with func_dirname
  75794. -# and func_basename. For efficiency, we do not delegate to
  75795. -# those functions but instead duplicate the functionality here.
  75796. -func_dirname_and_basename ()
  75797. -{
  75798. - # Extract subdirectory from the argument.
  75799. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  75800. - if test "X$func_dirname_result" = "X${1}"; then
  75801. - func_dirname_result="${3}"
  75802. - else
  75803. - func_dirname_result="$func_dirname_result${2}"
  75804. - fi
  75805. - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  75806. -}
  75807. +# Allow overriding, eg assuming that you follow the convention of
  75808. +# putting '$debug_cmd' at the start of all your functions, you can get
  75809. +# bash to show function call trace with:
  75810. +#
  75811. +# debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
  75812. +debug_cmd=${debug_cmd-":"}
  75813. +exit_cmd=:
  75814.  
  75815. -# Generated shell functions inserted here.
  75816. +# By convention, finish your script with:
  75817. +#
  75818. +# exit $exit_status
  75819. +#
  75820. +# so that you can set exit_status to non-zero if you want to indicate
  75821. +# something went wrong during execution without actually bailing out at
  75822. +# the point of failure.
  75823. +exit_status=$EXIT_SUCCESS
  75824.  
  75825. # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
  75826. # is ksh but when the shell is invoked as "sh" and the current value of
  75827. # the _XPG environment variable is not equal to 1 (one), the special
  75828. # positional parameter $0, within a function call, is the name of the
  75829. # function.
  75830. -progpath="$0"
  75831. +progpath=$0
  75832.  
  75833. -# The name of this program:
  75834. -# In the unlikely event $progname began with a '-', it would play havoc with
  75835. -# func_echo (imagine progname=-n), so we prepend ./ in that case:
  75836. -func_dirname_and_basename "$progpath"
  75837. -progname=$func_basename_result
  75838. -case $progname in
  75839. - -*) progname=./$progname ;;
  75840. -esac
  75841. +# The name of this program.
  75842. +progname=`$ECHO "$progpath" |$SED "$sed_basename"`
  75843.  
  75844. -# Make sure we have an absolute path for reexecution:
  75845. +# Make sure we have an absolute progpath for reexecution:
  75846. case $progpath in
  75847. [\\/]*|[A-Za-z]:\\*) ;;
  75848. *[\\/]*)
  75849. - progdir=$func_dirname_result
  75850. + progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
  75851. progdir=`cd "$progdir" && pwd`
  75852. - progpath="$progdir/$progname"
  75853. + progpath=$progdir/$progname
  75854. ;;
  75855. *)
  75856. - save_IFS="$IFS"
  75857. - IFS=:
  75858. + _G_IFS=$IFS
  75859. + IFS=${PATH_SEPARATOR-:}
  75860. for progdir in $PATH; do
  75861. - IFS="$save_IFS"
  75862. + IFS=$_G_IFS
  75863. test -x "$progdir/$progname" && break
  75864. done
  75865. - IFS="$save_IFS"
  75866. + IFS=$_G_IFS
  75867. test -n "$progdir" || progdir=`pwd`
  75868. - progpath="$progdir/$progname"
  75869. + progpath=$progdir/$progname
  75870. ;;
  75871. esac
  75872.  
  75873. -# Sed substitution that helps us do robust quoting. It backslashifies
  75874. -# metacharacters that are still active within double-quoted strings.
  75875. -Xsed="${SED}"' -e 1s/^X//'
  75876. -sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
  75877.  
  75878. -# Same as above, but do not quote variable references.
  75879. -double_quote_subst='s/\(["`\\]\)/\\\1/g'
  75880. +## ----------------- ##
  75881. +## Standard options. ##
  75882. +## ----------------- ##
  75883. +
  75884. +# The following options affect the operation of the functions defined
  75885. +# below, and should be set appropriately depending on run-time para-
  75886. +# meters passed on the command line.
  75887.  
  75888. -# Re-`\' parameter expansions in output of double_quote_subst that were
  75889. -# `\'-ed in input to the same. If an odd number of `\' preceded a '$'
  75890. -# in input to double_quote_subst, that '$' was protected from expansion.
  75891. -# Since each input `\' is now two `\'s, look for any number of runs of
  75892. -# four `\'s followed by two `\'s and then a '$'. `\' that '$'.
  75893. -bs='\\'
  75894. -bs2='\\\\'
  75895. -bs4='\\\\\\\\'
  75896. -dollar='\$'
  75897. -sed_double_backslash="\
  75898. - s/$bs4/&\\
  75899. -/g
  75900. - s/^$bs2$dollar/$bs&/
  75901. - s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g
  75902. - s/\n//g"
  75903. -
  75904. -# Standard options:
  75905. opt_dry_run=false
  75906. -opt_help=false
  75907. opt_quiet=false
  75908. opt_verbose=false
  75909. -opt_warning=:
  75910.  
  75911. -# func_echo arg...
  75912. -# Echo program name prefixed message, along with the current mode
  75913. -# name if it has been set yet.
  75914. +# Categories 'all' and 'none' are always available. Append any others
  75915. +# you will pass as the first argument to func_warning from your own
  75916. +# code.
  75917. +warning_categories=
  75918. +
  75919. +# By default, display warnings according to 'opt_warning_types'. Set
  75920. +# 'warning_func' to ':' to elide all warnings, or func_fatal_error to
  75921. +# treat the next displayed warning as a fatal error.
  75922. +warning_func=func_warn_and_continue
  75923. +
  75924. +# Set to 'all' to display all warnings, 'none' to suppress all
  75925. +# warnings, or a space delimited list of some subset of
  75926. +# 'warning_categories' to display only the listed warnings.
  75927. +opt_warning_types=all
  75928. +
  75929. +
  75930. +## -------------------- ##
  75931. +## Resource management. ##
  75932. +## -------------------- ##
  75933. +
  75934. +# This section contains definitions for functions that each ensure a
  75935. +# particular resource (a file, or a non-empty configuration variable for
  75936. +# example) is available, and if appropriate to extract default values
  75937. +# from pertinent package files. Call them using their associated
  75938. +# 'require_*' variable to ensure that they are executed, at most, once.
  75939. +#
  75940. +# It's entirely deliberate that calling these functions can set
  75941. +# variables that don't obey the namespace limitations obeyed by the rest
  75942. +# of this file, in order that that they be as useful as possible to
  75943. +# callers.
  75944. +
  75945. +
  75946. +# require_term_colors
  75947. +# -------------------
  75948. +# Allow display of bold text on terminals that support it.
  75949. +require_term_colors=func_require_term_colors
  75950. +func_require_term_colors ()
  75951. +{
  75952. + $debug_cmd
  75953. +
  75954. + test -t 1 && {
  75955. + # COLORTERM and USE_ANSI_COLORS environment variables take
  75956. + # precedence, because most terminfo databases neglect to describe
  75957. + # whether color sequences are supported.
  75958. + test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"}
  75959. +
  75960. + if test 1 = "$USE_ANSI_COLORS"; then
  75961. + # Standard ANSI escape sequences
  75962. + tc_reset=''
  75963. + tc_bold=''; tc_standout=''
  75964. + tc_red=''; tc_green=''
  75965. + tc_blue=''; tc_cyan=''
  75966. + else
  75967. + # Otherwise trust the terminfo database after all.
  75968. + test -n "`tput sgr0 2>/dev/null`" && {
  75969. + tc_reset=`tput sgr0`
  75970. + test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold`
  75971. + tc_standout=$tc_bold
  75972. + test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso`
  75973. + test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1`
  75974. + test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2`
  75975. + test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4`
  75976. + test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5`
  75977. + }
  75978. + fi
  75979. + }
  75980. +
  75981. + require_term_colors=:
  75982. +}
  75983. +
  75984. +
  75985. +## ----------------- ##
  75986. +## Function library. ##
  75987. +## ----------------- ##
  75988. +
  75989. +# This section contains a variety of useful functions to call in your
  75990. +# scripts. Take note of the portable wrappers for features provided by
  75991. +# some modern shells, which will fall back to slower equivalents on
  75992. +# less featureful shells.
  75993. +
  75994. +
  75995. +# func_append VAR VALUE
  75996. +# ---------------------
  75997. +# Append VALUE onto the existing contents of VAR.
  75998. +
  75999. + # We should try to minimise forks, especially on Windows where they are
  76000. + # unreasonably slow, so skip the feature probes when bash or zsh are
  76001. + # being used:
  76002. + if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then
  76003. + : ${_G_HAVE_ARITH_OP="yes"}
  76004. + : ${_G_HAVE_XSI_OPS="yes"}
  76005. + # The += operator was introduced in bash 3.1
  76006. + case $BASH_VERSION in
  76007. + [12].* | 3.0 | 3.0*) ;;
  76008. + *)
  76009. + : ${_G_HAVE_PLUSEQ_OP="yes"}
  76010. + ;;
  76011. + esac
  76012. + fi
  76013. +
  76014. + # _G_HAVE_PLUSEQ_OP
  76015. + # Can be empty, in which case the shell is probed, "yes" if += is
  76016. + # useable or anything else if it does not work.
  76017. + test -z "$_G_HAVE_PLUSEQ_OP" \
  76018. + && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \
  76019. + && _G_HAVE_PLUSEQ_OP=yes
  76020. +
  76021. +if test yes = "$_G_HAVE_PLUSEQ_OP"
  76022. +then
  76023. + # This is an XSI compatible shell, allowing a faster implementation...
  76024. + eval 'func_append ()
  76025. + {
  76026. + $debug_cmd
  76027. +
  76028. + eval "$1+=\$2"
  76029. + }'
  76030. +else
  76031. + # ...otherwise fall back to using expr, which is often a shell builtin.
  76032. + func_append ()
  76033. + {
  76034. + $debug_cmd
  76035. +
  76036. + eval "$1=\$$1\$2"
  76037. + }
  76038. +fi
  76039. +
  76040. +
  76041. +# func_append_quoted VAR VALUE
  76042. +# ----------------------------
  76043. +# Quote VALUE and append to the end of shell variable VAR, separated
  76044. +# by a space.
  76045. +if test yes = "$_G_HAVE_PLUSEQ_OP"; then
  76046. + eval 'func_append_quoted ()
  76047. + {
  76048. + $debug_cmd
  76049. +
  76050. + func_quote_for_eval "$2"
  76051. + eval "$1+=\\ \$func_quote_for_eval_result"
  76052. + }'
  76053. +else
  76054. + func_append_quoted ()
  76055. + {
  76056. + $debug_cmd
  76057. +
  76058. + func_quote_for_eval "$2"
  76059. + eval "$1=\$$1\\ \$func_quote_for_eval_result"
  76060. + }
  76061. +fi
  76062. +
  76063. +
  76064. +# func_append_uniq VAR VALUE
  76065. +# --------------------------
  76066. +# Append unique VALUE onto the existing contents of VAR, assuming
  76067. +# entries are delimited by the first character of VALUE. For example:
  76068. +#
  76069. +# func_append_uniq options " --another-option option-argument"
  76070. +#
  76071. +# will only append to $options if " --another-option option-argument "
  76072. +# is not already present somewhere in $options already (note spaces at
  76073. +# each end implied by leading space in second argument).
  76074. +func_append_uniq ()
  76075. +{
  76076. + $debug_cmd
  76077. +
  76078. + eval _G_current_value='`$ECHO $'$1'`'
  76079. + _G_delim=`expr "$2" : '\(.\)'`
  76080. +
  76081. + case $_G_delim$_G_current_value$_G_delim in
  76082. + *"$2$_G_delim"*) ;;
  76083. + *) func_append "$@" ;;
  76084. + esac
  76085. +}
  76086. +
  76087. +
  76088. +# func_arith TERM...
  76089. +# ------------------
  76090. +# Set func_arith_result to the result of evaluating TERMs.
  76091. + test -z "$_G_HAVE_ARITH_OP" \
  76092. + && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \
  76093. + && _G_HAVE_ARITH_OP=yes
  76094. +
  76095. +if test yes = "$_G_HAVE_ARITH_OP"; then
  76096. + eval 'func_arith ()
  76097. + {
  76098. + $debug_cmd
  76099. +
  76100. + func_arith_result=$(( $* ))
  76101. + }'
  76102. +else
  76103. + func_arith ()
  76104. + {
  76105. + $debug_cmd
  76106. +
  76107. + func_arith_result=`expr "$@"`
  76108. + }
  76109. +fi
  76110. +
  76111. +
  76112. +# func_basename FILE
  76113. +# ------------------
  76114. +# Set func_basename_result to FILE with everything up to and including
  76115. +# the last / stripped.
  76116. +if test yes = "$_G_HAVE_XSI_OPS"; then
  76117. + # If this shell supports suffix pattern removal, then use it to avoid
  76118. + # forking. Hide the definitions single quotes in case the shell chokes
  76119. + # on unsupported syntax...
  76120. + _b='func_basename_result=${1##*/}'
  76121. + _d='case $1 in
  76122. + */*) func_dirname_result=${1%/*}$2 ;;
  76123. + * ) func_dirname_result=$3 ;;
  76124. + esac'
  76125. +
  76126. +else
  76127. + # ...otherwise fall back to using sed.
  76128. + _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`'
  76129. + _d='func_dirname_result=`$ECHO "$1" |$SED "$sed_dirname"`
  76130. + if test "X$func_dirname_result" = "X$1"; then
  76131. + func_dirname_result=$3
  76132. + else
  76133. + func_append func_dirname_result "$2"
  76134. + fi'
  76135. +fi
  76136. +
  76137. +eval 'func_basename ()
  76138. +{
  76139. + $debug_cmd
  76140. +
  76141. + '"$_b"'
  76142. +}'
  76143. +
  76144. +
  76145. +# func_dirname FILE APPEND NONDIR_REPLACEMENT
  76146. +# -------------------------------------------
  76147. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  76148. +# otherwise set result to NONDIR_REPLACEMENT.
  76149. +eval 'func_dirname ()
  76150. +{
  76151. + $debug_cmd
  76152. +
  76153. + '"$_d"'
  76154. +}'
  76155. +
  76156. +
  76157. +# func_dirname_and_basename FILE APPEND NONDIR_REPLACEMENT
  76158. +# --------------------------------------------------------
  76159. +# Perform func_basename and func_dirname in a single function
  76160. +# call:
  76161. +# dirname: Compute the dirname of FILE. If nonempty,
  76162. +# add APPEND to the result, otherwise set result
  76163. +# to NONDIR_REPLACEMENT.
  76164. +# value returned in "$func_dirname_result"
  76165. +# basename: Compute filename of FILE.
  76166. +# value retuned in "$func_basename_result"
  76167. +# For efficiency, we do not delegate to the functions above but instead
  76168. +# duplicate the functionality here.
  76169. +eval 'func_dirname_and_basename ()
  76170. +{
  76171. + $debug_cmd
  76172. +
  76173. + '"$_b"'
  76174. + '"$_d"'
  76175. +}'
  76176. +
  76177. +
  76178. +# func_echo ARG...
  76179. +# ----------------
  76180. +# Echo program name prefixed message.
  76181. func_echo ()
  76182. {
  76183. - $ECHO "$progname${mode+: }$mode: $*"
  76184. + $debug_cmd
  76185. +
  76186. + _G_message=$*
  76187. +
  76188. + func_echo_IFS=$IFS
  76189. + IFS=$nl
  76190. + for _G_line in $_G_message; do
  76191. + IFS=$func_echo_IFS
  76192. + $ECHO "$progname: $_G_line"
  76193. + done
  76194. + IFS=$func_echo_IFS
  76195. }
  76196.  
  76197. -# func_verbose arg...
  76198. -# Echo program name prefixed message in verbose mode only.
  76199. -func_verbose ()
  76200. +
  76201. +# func_echo_all ARG...
  76202. +# --------------------
  76203. +# Invoke $ECHO with all args, space-separated.
  76204. +func_echo_all ()
  76205. {
  76206. - $opt_verbose && func_echo ${1+"$@"}
  76207. + $ECHO "$*"
  76208. +}
  76209.  
  76210. - # A bug in bash halts the script if the last line of a function
  76211. - # fails when set -e is in force, so we need another command to
  76212. - # work around that:
  76213. - :
  76214. +
  76215. +# func_echo_infix_1 INFIX ARG...
  76216. +# ------------------------------
  76217. +# Echo program name, followed by INFIX on the first line, with any
  76218. +# additional lines not showing INFIX.
  76219. +func_echo_infix_1 ()
  76220. +{
  76221. + $debug_cmd
  76222. +
  76223. + $require_term_colors
  76224. +
  76225. + _G_infix=$1; shift
  76226. + _G_indent=$_G_infix
  76227. + _G_prefix="$progname: $_G_infix: "
  76228. + _G_message=$*
  76229. +
  76230. + # Strip color escape sequences before counting printable length
  76231. + for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan"
  76232. + do
  76233. + test -n "$_G_tc" && {
  76234. + _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"`
  76235. + _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"`
  76236. + }
  76237. + done
  76238. + _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes
  76239. +
  76240. + func_echo_infix_1_IFS=$IFS
  76241. + IFS=$nl
  76242. + for _G_line in $_G_message; do
  76243. + IFS=$func_echo_infix_1_IFS
  76244. + $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2
  76245. + _G_prefix=$_G_indent
  76246. + done
  76247. + IFS=$func_echo_infix_1_IFS
  76248. }
  76249.  
  76250. -# func_error arg...
  76251. +
  76252. +# func_error ARG...
  76253. +# -----------------
  76254. # Echo program name prefixed message to standard error.
  76255. func_error ()
  76256. {
  76257. - $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2
  76258. -}
  76259. + $debug_cmd
  76260.  
  76261. -# func_warning arg...
  76262. -# Echo program name prefixed warning message to standard error.
  76263. -func_warning ()
  76264. -{
  76265. - $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2
  76266. + $require_term_colors
  76267.  
  76268. - # bash bug again:
  76269. - :
  76270. + func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2
  76271. }
  76272.  
  76273. -# func_fatal_error arg...
  76274. +
  76275. +# func_fatal_error ARG...
  76276. +# -----------------------
  76277. # Echo program name prefixed message to standard error, and exit.
  76278. func_fatal_error ()
  76279. {
  76280. - func_error ${1+"$@"}
  76281. - exit $EXIT_FAILURE
  76282. -}
  76283. + $debug_cmd
  76284.  
  76285. -# func_fatal_help arg...
  76286. -# Echo program name prefixed message to standard error, followed by
  76287. -# a help hint, and exit.
  76288. -func_fatal_help ()
  76289. -{
  76290. - func_error ${1+"$@"}
  76291. - func_fatal_error "$help"
  76292. + func_error "$*"
  76293. + exit $EXIT_FAILURE
  76294. }
  76295. -help="Try \`$progname --help' for more information." ## default
  76296.  
  76297.  
  76298. -# func_grep expression filename
  76299. +# func_grep EXPRESSION FILENAME
  76300. +# -----------------------------
  76301. # Check whether EXPRESSION matches any line of FILENAME, without output.
  76302. func_grep ()
  76303. {
  76304. + $debug_cmd
  76305. +
  76306. $GREP "$1" "$2" >/dev/null 2>&1
  76307. }
  76308.  
  76309.  
  76310. -# func_mkdir_p directory-path
  76311. +# func_len STRING
  76312. +# ---------------
  76313. +# Set func_len_result to the length of STRING. STRING may not
  76314. +# start with a hyphen.
  76315. + test -z "$_G_HAVE_XSI_OPS" \
  76316. + && (eval 'x=a/b/c;
  76317. + test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
  76318. + && _G_HAVE_XSI_OPS=yes
  76319. +
  76320. +if test yes = "$_G_HAVE_XSI_OPS"; then
  76321. + eval 'func_len ()
  76322. + {
  76323. + $debug_cmd
  76324. +
  76325. + func_len_result=${#1}
  76326. + }'
  76327. +else
  76328. + func_len ()
  76329. + {
  76330. + $debug_cmd
  76331. +
  76332. + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  76333. + }
  76334. +fi
  76335. +
  76336. +
  76337. +# func_mkdir_p DIRECTORY-PATH
  76338. +# ---------------------------
  76339. # Make sure the entire path to DIRECTORY-PATH is available.
  76340. func_mkdir_p ()
  76341. {
  76342. - my_directory_path="$1"
  76343. - my_dir_list=
  76344. + $debug_cmd
  76345. +
  76346. + _G_directory_path=$1
  76347. + _G_dir_list=
  76348.  
  76349. - if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then
  76350. + if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then
  76351.  
  76352. - # Protect directory names starting with `-'
  76353. - case $my_directory_path in
  76354. - -*) my_directory_path="./$my_directory_path" ;;
  76355. + # Protect directory names starting with '-'
  76356. + case $_G_directory_path in
  76357. + -*) _G_directory_path=./$_G_directory_path ;;
  76358. esac
  76359.  
  76360. # While some portion of DIR does not yet exist...
  76361. - while test ! -d "$my_directory_path"; do
  76362. + while test ! -d "$_G_directory_path"; do
  76363. # ...make a list in topmost first order. Use a colon delimited
  76364. # list incase some portion of path contains whitespace.
  76365. - my_dir_list="$my_directory_path:$my_dir_list"
  76366. + _G_dir_list=$_G_directory_path:$_G_dir_list
  76367.  
  76368. # If the last portion added has no slash in it, the list is done
  76369. - case $my_directory_path in */*) ;; *) break ;; esac
  76370. + case $_G_directory_path in */*) ;; *) break ;; esac
  76371.  
  76372. # ...otherwise throw away the child directory and loop
  76373. - my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
  76374. + _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"`
  76375. done
  76376. - my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
  76377. + _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'`
  76378.  
  76379. - save_mkdir_p_IFS="$IFS"; IFS=':'
  76380. - for my_dir in $my_dir_list; do
  76381. - IFS="$save_mkdir_p_IFS"
  76382. - # mkdir can fail with a `File exist' error if two processes
  76383. + func_mkdir_p_IFS=$IFS; IFS=:
  76384. + for _G_dir in $_G_dir_list; do
  76385. + IFS=$func_mkdir_p_IFS
  76386. + # mkdir can fail with a 'File exist' error if two processes
  76387. # try to create one of the directories concurrently. Don't
  76388. # stop in that case!
  76389. - $MKDIR "$my_dir" 2>/dev/null || :
  76390. + $MKDIR "$_G_dir" 2>/dev/null || :
  76391. done
  76392. - IFS="$save_mkdir_p_IFS"
  76393. + IFS=$func_mkdir_p_IFS
  76394.  
  76395. # Bail out if we (or some other process) failed to create a directory.
  76396. - test -d "$my_directory_path" || \
  76397. - func_fatal_error "Failed to create \`$1'"
  76398. + test -d "$_G_directory_path" || \
  76399. + func_fatal_error "Failed to create '$1'"
  76400. fi
  76401. }
  76402.  
  76403.  
  76404. -# func_mktempdir [string]
  76405. +# func_mktempdir [BASENAME]
  76406. +# -------------------------
  76407. # Make a temporary directory that won't clash with other running
  76408. # libtool processes, and avoids race conditions if possible. If
  76409. -# given, STRING is the basename for that directory.
  76410. +# given, BASENAME is the basename for that directory.
  76411. func_mktempdir ()
  76412. {
  76413. - my_template="${TMPDIR-/tmp}/${1-$progname}"
  76414. + $debug_cmd
  76415. +
  76416. + _G_template=${TMPDIR-/tmp}/${1-$progname}
  76417.  
  76418. - if test "$opt_dry_run" = ":"; then
  76419. + if test : = "$opt_dry_run"; then
  76420. # Return a directory name, but don't create it in dry-run mode
  76421. - my_tmpdir="${my_template}-$$"
  76422. + _G_tmpdir=$_G_template-$$
  76423. else
  76424.  
  76425. # If mktemp works, use that first and foremost
  76426. - my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
  76427. + _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null`
  76428.  
  76429. - if test ! -d "$my_tmpdir"; then
  76430. + if test ! -d "$_G_tmpdir"; then
  76431. # Failing that, at least try and use $RANDOM to avoid a race
  76432. - my_tmpdir="${my_template}-${RANDOM-0}$$"
  76433. + _G_tmpdir=$_G_template-${RANDOM-0}$$
  76434.  
  76435. - save_mktempdir_umask=`umask`
  76436. + func_mktempdir_umask=`umask`
  76437. umask 0077
  76438. - $MKDIR "$my_tmpdir"
  76439. - umask $save_mktempdir_umask
  76440. + $MKDIR "$_G_tmpdir"
  76441. + umask $func_mktempdir_umask
  76442. fi
  76443.  
  76444. # If we're not in dry-run mode, bomb out on failure
  76445. - test -d "$my_tmpdir" || \
  76446. - func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
  76447. + test -d "$_G_tmpdir" || \
  76448. + func_fatal_error "cannot create temporary directory '$_G_tmpdir'"
  76449. fi
  76450.  
  76451. - $ECHO "X$my_tmpdir" | $Xsed
  76452. + $ECHO "$_G_tmpdir"
  76453. }
  76454.  
  76455.  
  76456. -# func_quote_for_eval arg
  76457. -# Aesthetically quote ARG to be evaled later.
  76458. -# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT
  76459. -# is double-quoted, suitable for a subsequent eval, whereas
  76460. -# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters
  76461. -# which are still active within double quotes backslashified.
  76462. -func_quote_for_eval ()
  76463. -{
  76464. - case $1 in
  76465. - *[\\\`\"\$]*)
  76466. - func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
  76467. - *)
  76468. - func_quote_for_eval_unquoted_result="$1" ;;
  76469. - esac
  76470. -
  76471. - case $func_quote_for_eval_unquoted_result in
  76472. - # Double-quote args containing shell metacharacters to delay
  76473. - # word splitting, command substitution and and variable
  76474. - # expansion for a subsequent eval.
  76475. - # Many Bourne shells cannot handle close brackets correctly
  76476. - # in scan sets, so we specify it separately.
  76477. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  76478. - func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\""
  76479. +# func_normal_abspath PATH
  76480. +# ------------------------
  76481. +# Remove doubled-up and trailing slashes, "." path components,
  76482. +# and cancel out any ".." path components in PATH after making
  76483. +# it an absolute path.
  76484. +func_normal_abspath ()
  76485. +{
  76486. + $debug_cmd
  76487. +
  76488. + # These SED scripts presuppose an absolute path with a trailing slash.
  76489. + _G_pathcar='s|^/\([^/]*\).*$|\1|'
  76490. + _G_pathcdr='s|^/[^/]*||'
  76491. + _G_removedotparts=':dotsl
  76492. + s|/\./|/|g
  76493. + t dotsl
  76494. + s|/\.$|/|'
  76495. + _G_collapseslashes='s|/\{1,\}|/|g'
  76496. + _G_finalslash='s|/*$|/|'
  76497. +
  76498. + # Start from root dir and reassemble the path.
  76499. + func_normal_abspath_result=
  76500. + func_normal_abspath_tpath=$1
  76501. + func_normal_abspath_altnamespace=
  76502. + case $func_normal_abspath_tpath in
  76503. + "")
  76504. + # Empty path, that just means $cwd.
  76505. + func_stripname '' '/' "`pwd`"
  76506. + func_normal_abspath_result=$func_stripname_result
  76507. + return
  76508. + ;;
  76509. + # The next three entries are used to spot a run of precisely
  76510. + # two leading slashes without using negated character classes;
  76511. + # we take advantage of case's first-match behaviour.
  76512. + ///*)
  76513. + # Unusual form of absolute path, do nothing.
  76514. + ;;
  76515. + //*)
  76516. + # Not necessarily an ordinary path; POSIX reserves leading '//'
  76517. + # and for example Cygwin uses it to access remote file shares
  76518. + # over CIFS/SMB, so we conserve a leading double slash if found.
  76519. + func_normal_abspath_altnamespace=/
  76520. + ;;
  76521. + /*)
  76522. + # Absolute path, do nothing.
  76523. ;;
  76524. *)
  76525. - func_quote_for_eval_result="$func_quote_for_eval_unquoted_result"
  76526. + # Relative path, prepend $cwd.
  76527. + func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
  76528. + ;;
  76529. esac
  76530. +
  76531. + # Cancel out all the simple stuff to save iterations. We also want
  76532. + # the path to end with a slash for ease of parsing, so make sure
  76533. + # there is one (and only one) here.
  76534. + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
  76535. + -e "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_finalslash"`
  76536. + while :; do
  76537. + # Processed it all yet?
  76538. + if test / = "$func_normal_abspath_tpath"; then
  76539. + # If we ascended to the root using ".." the result may be empty now.
  76540. + if test -z "$func_normal_abspath_result"; then
  76541. + func_normal_abspath_result=/
  76542. + fi
  76543. + break
  76544. + fi
  76545. + func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
  76546. + -e "$_G_pathcar"`
  76547. + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
  76548. + -e "$_G_pathcdr"`
  76549. + # Figure out what to do with it
  76550. + case $func_normal_abspath_tcomponent in
  76551. + "")
  76552. + # Trailing empty path component, ignore it.
  76553. + ;;
  76554. + ..)
  76555. + # Parent dir; strip last assembled component from result.
  76556. + func_dirname "$func_normal_abspath_result"
  76557. + func_normal_abspath_result=$func_dirname_result
  76558. + ;;
  76559. + *)
  76560. + # Actual path component, append it.
  76561. + func_append func_normal_abspath_result "/$func_normal_abspath_tcomponent"
  76562. + ;;
  76563. + esac
  76564. + done
  76565. + # Restore leading double-slash if one was found on entry.
  76566. + func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
  76567. +}
  76568. +
  76569. +
  76570. +# func_notquiet ARG...
  76571. +# --------------------
  76572. +# Echo program name prefixed message only when not in quiet mode.
  76573. +func_notquiet ()
  76574. +{
  76575. + $debug_cmd
  76576. +
  76577. + $opt_quiet || func_echo ${1+"$@"}
  76578. +
  76579. + # A bug in bash halts the script if the last line of a function
  76580. + # fails when set -e is in force, so we need another command to
  76581. + # work around that:
  76582. + :
  76583. +}
  76584. +
  76585. +
  76586. +# func_relative_path SRCDIR DSTDIR
  76587. +# --------------------------------
  76588. +# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.
  76589. +func_relative_path ()
  76590. +{
  76591. + $debug_cmd
  76592. +
  76593. + func_relative_path_result=
  76594. + func_normal_abspath "$1"
  76595. + func_relative_path_tlibdir=$func_normal_abspath_result
  76596. + func_normal_abspath "$2"
  76597. + func_relative_path_tbindir=$func_normal_abspath_result
  76598. +
  76599. + # Ascend the tree starting from libdir
  76600. + while :; do
  76601. + # check if we have found a prefix of bindir
  76602. + case $func_relative_path_tbindir in
  76603. + $func_relative_path_tlibdir)
  76604. + # found an exact match
  76605. + func_relative_path_tcancelled=
  76606. + break
  76607. + ;;
  76608. + $func_relative_path_tlibdir*)
  76609. + # found a matching prefix
  76610. + func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
  76611. + func_relative_path_tcancelled=$func_stripname_result
  76612. + if test -z "$func_relative_path_result"; then
  76613. + func_relative_path_result=.
  76614. + fi
  76615. + break
  76616. + ;;
  76617. + *)
  76618. + func_dirname $func_relative_path_tlibdir
  76619. + func_relative_path_tlibdir=$func_dirname_result
  76620. + if test -z "$func_relative_path_tlibdir"; then
  76621. + # Have to descend all the way to the root!
  76622. + func_relative_path_result=../$func_relative_path_result
  76623. + func_relative_path_tcancelled=$func_relative_path_tbindir
  76624. + break
  76625. + fi
  76626. + func_relative_path_result=../$func_relative_path_result
  76627. + ;;
  76628. + esac
  76629. + done
  76630. +
  76631. + # Now calculate path; take care to avoid doubling-up slashes.
  76632. + func_stripname '' '/' "$func_relative_path_result"
  76633. + func_relative_path_result=$func_stripname_result
  76634. + func_stripname '/' '/' "$func_relative_path_tcancelled"
  76635. + if test -n "$func_stripname_result"; then
  76636. + func_append func_relative_path_result "/$func_stripname_result"
  76637. + fi
  76638. +
  76639. + # Normalisation. If bindir is libdir, return '.' else relative path.
  76640. + if test -n "$func_relative_path_result"; then
  76641. + func_stripname './' '' "$func_relative_path_result"
  76642. + func_relative_path_result=$func_stripname_result
  76643. + fi
  76644. +
  76645. + test -n "$func_relative_path_result" || func_relative_path_result=.
  76646. +
  76647. + :
  76648. }
  76649.  
  76650.  
  76651. -# func_quote_for_expand arg
  76652. +# func_quote_for_eval ARG...
  76653. +# --------------------------
  76654. +# Aesthetically quote ARGs to be evaled later.
  76655. +# This function returns two values:
  76656. +# i) func_quote_for_eval_result
  76657. +# double-quoted, suitable for a subsequent eval
  76658. +# ii) func_quote_for_eval_unquoted_result
  76659. +# has all characters that are still active within double
  76660. +# quotes backslashified.
  76661. +func_quote_for_eval ()
  76662. +{
  76663. + $debug_cmd
  76664. +
  76665. + func_quote_for_eval_unquoted_result=
  76666. + func_quote_for_eval_result=
  76667. + while test 0 -lt $#; do
  76668. + case $1 in
  76669. + *[\\\`\"\$]*)
  76670. + _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;;
  76671. + *)
  76672. + _G_unquoted_arg=$1 ;;
  76673. + esac
  76674. + if test -n "$func_quote_for_eval_unquoted_result"; then
  76675. + func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg"
  76676. + else
  76677. + func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg"
  76678. + fi
  76679. +
  76680. + case $_G_unquoted_arg in
  76681. + # Double-quote args containing shell metacharacters to delay
  76682. + # word splitting, command substitution and variable expansion
  76683. + # for a subsequent eval.
  76684. + # Many Bourne shells cannot handle close brackets correctly
  76685. + # in scan sets, so we specify it separately.
  76686. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  76687. + _G_quoted_arg=\"$_G_unquoted_arg\"
  76688. + ;;
  76689. + *)
  76690. + _G_quoted_arg=$_G_unquoted_arg
  76691. + ;;
  76692. + esac
  76693. +
  76694. + if test -n "$func_quote_for_eval_result"; then
  76695. + func_append func_quote_for_eval_result " $_G_quoted_arg"
  76696. + else
  76697. + func_append func_quote_for_eval_result "$_G_quoted_arg"
  76698. + fi
  76699. + shift
  76700. + done
  76701. +}
  76702. +
  76703. +
  76704. +# func_quote_for_expand ARG
  76705. +# -------------------------
  76706. # Aesthetically quote ARG to be evaled later; same as above,
  76707. # but do not quote variable references.
  76708. func_quote_for_expand ()
  76709. {
  76710. + $debug_cmd
  76711. +
  76712. case $1 in
  76713. *[\\\`\"]*)
  76714. - my_arg=`$ECHO "X$1" | $Xsed \
  76715. - -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
  76716. + _G_arg=`$ECHO "$1" | $SED \
  76717. + -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;;
  76718. *)
  76719. - my_arg="$1" ;;
  76720. + _G_arg=$1 ;;
  76721. esac
  76722.  
  76723. - case $my_arg in
  76724. + case $_G_arg in
  76725. # Double-quote args containing shell metacharacters to delay
  76726. # word splitting and command substitution for a subsequent eval.
  76727. # Many Bourne shells cannot handle close brackets correctly
  76728. # in scan sets, so we specify it separately.
  76729. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  76730. - my_arg="\"$my_arg\""
  76731. + _G_arg=\"$_G_arg\"
  76732. ;;
  76733. esac
  76734.  
  76735. - func_quote_for_expand_result="$my_arg"
  76736. + func_quote_for_expand_result=$_G_arg
  76737. }
  76738.  
  76739.  
  76740. -# func_show_eval cmd [fail_exp]
  76741. -# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
  76742. +# func_stripname PREFIX SUFFIX NAME
  76743. +# ---------------------------------
  76744. +# strip PREFIX and SUFFIX from NAME, and store in func_stripname_result.
  76745. +# PREFIX and SUFFIX must not contain globbing or regex special
  76746. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  76747. +# dot (in which case that matches only a dot).
  76748. +if test yes = "$_G_HAVE_XSI_OPS"; then
  76749. + eval 'func_stripname ()
  76750. + {
  76751. + $debug_cmd
  76752. +
  76753. + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  76754. + # positional parameters, so assign one to ordinary variable first.
  76755. + func_stripname_result=$3
  76756. + func_stripname_result=${func_stripname_result#"$1"}
  76757. + func_stripname_result=${func_stripname_result%"$2"}
  76758. + }'
  76759. +else
  76760. + func_stripname ()
  76761. + {
  76762. + $debug_cmd
  76763. +
  76764. + case $2 in
  76765. + .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;;
  76766. + *) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;;
  76767. + esac
  76768. + }
  76769. +fi
  76770. +
  76771. +
  76772. +# func_show_eval CMD [FAIL_EXP]
  76773. +# -----------------------------
  76774. +# Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is
  76775. # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
  76776. # is given, then evaluate it.
  76777. func_show_eval ()
  76778. {
  76779. - my_cmd="$1"
  76780. - my_fail_exp="${2-:}"
  76781. + $debug_cmd
  76782.  
  76783. - ${opt_silent-false} || {
  76784. - func_quote_for_expand "$my_cmd"
  76785. - eval "func_echo $func_quote_for_expand_result"
  76786. - }
  76787. + _G_cmd=$1
  76788. + _G_fail_exp=${2-':'}
  76789. +
  76790. + func_quote_for_expand "$_G_cmd"
  76791. + eval "func_notquiet $func_quote_for_expand_result"
  76792.  
  76793. - if ${opt_dry_run-false}; then :; else
  76794. - eval "$my_cmd"
  76795. - my_status=$?
  76796. - if test "$my_status" -eq 0; then :; else
  76797. - eval "(exit $my_status); $my_fail_exp"
  76798. + $opt_dry_run || {
  76799. + eval "$_G_cmd"
  76800. + _G_status=$?
  76801. + if test 0 -ne "$_G_status"; then
  76802. + eval "(exit $_G_status); $_G_fail_exp"
  76803. fi
  76804. - fi
  76805. + }
  76806. }
  76807.  
  76808.  
  76809. -# func_show_eval_locale cmd [fail_exp]
  76810. -# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
  76811. +# func_show_eval_locale CMD [FAIL_EXP]
  76812. +# ------------------------------------
  76813. +# Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is
  76814. # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
  76815. # is given, then evaluate it. Use the saved locale for evaluation.
  76816. func_show_eval_locale ()
  76817. {
  76818. - my_cmd="$1"
  76819. - my_fail_exp="${2-:}"
  76820. + $debug_cmd
  76821.  
  76822. - ${opt_silent-false} || {
  76823. - func_quote_for_expand "$my_cmd"
  76824. + _G_cmd=$1
  76825. + _G_fail_exp=${2-':'}
  76826. +
  76827. + $opt_quiet || {
  76828. + func_quote_for_expand "$_G_cmd"
  76829. eval "func_echo $func_quote_for_expand_result"
  76830. }
  76831.  
  76832. - if ${opt_dry_run-false}; then :; else
  76833. - eval "$lt_user_locale
  76834. - $my_cmd"
  76835. - my_status=$?
  76836. - eval "$lt_safe_locale"
  76837. - if test "$my_status" -eq 0; then :; else
  76838. - eval "(exit $my_status); $my_fail_exp"
  76839. + $opt_dry_run || {
  76840. + eval "$_G_user_locale
  76841. + $_G_cmd"
  76842. + _G_status=$?
  76843. + eval "$_G_safe_locale"
  76844. + if test 0 -ne "$_G_status"; then
  76845. + eval "(exit $_G_status); $_G_fail_exp"
  76846. fi
  76847. - fi
  76848. + }
  76849. }
  76850.  
  76851.  
  76852. +# func_tr_sh
  76853. +# ----------
  76854. +# Turn $1 into a string suitable for a shell variable name.
  76855. +# Result is stored in $func_tr_sh_result. All characters
  76856. +# not in the set a-zA-Z0-9_ are replaced with '_'. Further,
  76857. +# if $1 begins with a digit, a '_' is prepended as well.
  76858. +func_tr_sh ()
  76859. +{
  76860. + $debug_cmd
  76861.  
  76862. + case $1 in
  76863. + [0-9]* | *[!a-zA-Z0-9_]*)
  76864. + func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'`
  76865. + ;;
  76866. + * )
  76867. + func_tr_sh_result=$1
  76868. + ;;
  76869. + esac
  76870. +}
  76871.  
  76872.  
  76873. -# func_version
  76874. -# Echo version message to standard output and exit.
  76875. -func_version ()
  76876. +# func_verbose ARG...
  76877. +# -------------------
  76878. +# Echo program name prefixed message in verbose mode only.
  76879. +func_verbose ()
  76880. {
  76881. - $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
  76882. - s/^# //
  76883. - s/^# *$//
  76884. - s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
  76885. - p
  76886. - }' < "$progpath"
  76887. - exit $?
  76888. + $debug_cmd
  76889. +
  76890. + $opt_verbose && func_echo "$*"
  76891. +
  76892. + :
  76893. }
  76894.  
  76895. -# func_usage
  76896. -# Echo short help message to standard output and exit.
  76897. -func_usage ()
  76898. +
  76899. +# func_warn_and_continue ARG...
  76900. +# -----------------------------
  76901. +# Echo program name prefixed warning message to standard error.
  76902. +func_warn_and_continue ()
  76903. {
  76904. - $SED -n '/^# Usage:/,/# -h/ {
  76905. - s/^# //
  76906. - s/^# *$//
  76907. - s/\$progname/'$progname'/
  76908. - p
  76909. - }' < "$progpath"
  76910. - $ECHO
  76911. - $ECHO "run \`$progname --help | more' for full usage"
  76912. - exit $?
  76913. + $debug_cmd
  76914. +
  76915. + $require_term_colors
  76916. +
  76917. + func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2
  76918. +}
  76919. +
  76920. +
  76921. +# func_warning CATEGORY ARG...
  76922. +# ----------------------------
  76923. +# Echo program name prefixed warning message to standard error. Warning
  76924. +# messages can be filtered according to CATEGORY, where this function
  76925. +# elides messages where CATEGORY is not listed in the global variable
  76926. +# 'opt_warning_types'.
  76927. +func_warning ()
  76928. +{
  76929. + $debug_cmd
  76930. +
  76931. + # CATEGORY must be in the warning_categories list!
  76932. + case " $warning_categories " in
  76933. + *" $1 "*) ;;
  76934. + *) func_internal_error "invalid warning category '$1'" ;;
  76935. + esac
  76936. +
  76937. + _G_category=$1
  76938. + shift
  76939. +
  76940. + case " $opt_warning_types " in
  76941. + *" $_G_category "*) $warning_func ${1+"$@"} ;;
  76942. + esac
  76943. +}
  76944. +
  76945. +
  76946. +# func_sort_ver VER1 VER2
  76947. +# -----------------------
  76948. +# 'sort -V' is not generally available.
  76949. +# Note this deviates from the version comparison in automake
  76950. +# in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a
  76951. +# but this should suffice as we won't be specifying old
  76952. +# version formats or redundant trailing .0 in bootstrap.conf.
  76953. +# If we did want full compatibility then we should probably
  76954. +# use m4_version_compare from autoconf.
  76955. +func_sort_ver ()
  76956. +{
  76957. + $debug_cmd
  76958. +
  76959. + printf '%s\n%s\n' "$1" "$2" \
  76960. + | 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
  76961. +}
  76962. +
  76963. +# func_lt_ver PREV CURR
  76964. +# ---------------------
  76965. +# Return true if PREV and CURR are in the correct order according to
  76966. +# func_sort_ver, otherwise false. Use it like this:
  76967. +#
  76968. +# func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..."
  76969. +func_lt_ver ()
  76970. +{
  76971. + $debug_cmd
  76972. +
  76973. + test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q`
  76974. +}
  76975. +
  76976. +
  76977. +# Local variables:
  76978. +# mode: shell-script
  76979. +# sh-indentation: 2
  76980. +# eval: (add-hook 'before-save-hook 'time-stamp)
  76981. +# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
  76982. +# time-stamp-time-zone: "UTC"
  76983. +# End:
  76984. +#! /bin/sh
  76985. +
  76986. +# Set a version string for this script.
  76987. +scriptversion=2014-01-07.03; # UTC
  76988. +
  76989. +# A portable, pluggable option parser for Bourne shell.
  76990. +# Written by Gary V. Vaughan, 2010
  76991. +
  76992. +# Copyright (C) 2010-2015 Free Software Foundation, Inc.
  76993. +# This is free software; see the source for copying conditions. There is NO
  76994. +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  76995. +
  76996. +# This program is free software: you can redistribute it and/or modify
  76997. +# it under the terms of the GNU General Public License as published by
  76998. +# the Free Software Foundation, either version 3 of the License, or
  76999. +# (at your option) any later version.
  77000. +
  77001. +# This program is distributed in the hope that it will be useful,
  77002. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  77003. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  77004. +# GNU General Public License for more details.
  77005. +
  77006. +# You should have received a copy of the GNU General Public License
  77007. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  77008. +
  77009. +# Please report bugs or propose patches to gary@gnu.org.
  77010. +
  77011. +
  77012. +## ------ ##
  77013. +## Usage. ##
  77014. +## ------ ##
  77015. +
  77016. +# This file is a library for parsing options in your shell scripts along
  77017. +# with assorted other useful supporting features that you can make use
  77018. +# of too.
  77019. +#
  77020. +# For the simplest scripts you might need only:
  77021. +#
  77022. +# #!/bin/sh
  77023. +# . relative/path/to/funclib.sh
  77024. +# . relative/path/to/options-parser
  77025. +# scriptversion=1.0
  77026. +# func_options ${1+"$@"}
  77027. +# eval set dummy "$func_options_result"; shift
  77028. +# ...rest of your script...
  77029. +#
  77030. +# In order for the '--version' option to work, you will need to have a
  77031. +# suitably formatted comment like the one at the top of this file
  77032. +# starting with '# Written by ' and ending with '# warranty; '.
  77033. +#
  77034. +# For '-h' and '--help' to work, you will also need a one line
  77035. +# description of your script's purpose in a comment directly above the
  77036. +# '# Written by ' line, like the one at the top of this file.
  77037. +#
  77038. +# The default options also support '--debug', which will turn on shell
  77039. +# execution tracing (see the comment above debug_cmd below for another
  77040. +# use), and '--verbose' and the func_verbose function to allow your script
  77041. +# to display verbose messages only when your user has specified
  77042. +# '--verbose'.
  77043. +#
  77044. +# After sourcing this file, you can plug processing for additional
  77045. +# options by amending the variables from the 'Configuration' section
  77046. +# below, and following the instructions in the 'Option parsing'
  77047. +# section further down.
  77048. +
  77049. +## -------------- ##
  77050. +## Configuration. ##
  77051. +## -------------- ##
  77052. +
  77053. +# You should override these variables in your script after sourcing this
  77054. +# file so that they reflect the customisations you have added to the
  77055. +# option parser.
  77056. +
  77057. +# The usage line for option parsing errors and the start of '-h' and
  77058. +# '--help' output messages. You can embed shell variables for delayed
  77059. +# expansion at the time the message is displayed, but you will need to
  77060. +# quote other shell meta-characters carefully to prevent them being
  77061. +# expanded when the contents are evaled.
  77062. +usage='$progpath [OPTION]...'
  77063. +
  77064. +# Short help message in response to '-h' and '--help'. Add to this or
  77065. +# override it after sourcing this library to reflect the full set of
  77066. +# options your script accepts.
  77067. +usage_message="\
  77068. + --debug enable verbose shell tracing
  77069. + -W, --warnings=CATEGORY
  77070. + report the warnings falling in CATEGORY [all]
  77071. + -v, --verbose verbosely report processing
  77072. + --version print version information and exit
  77073. + -h, --help print short or long help message and exit
  77074. +"
  77075. +
  77076. +# Additional text appended to 'usage_message' in response to '--help'.
  77077. +long_help_message="
  77078. +Warning categories include:
  77079. + 'all' show all warnings
  77080. + 'none' turn off all the warnings
  77081. + 'error' warnings are treated as fatal errors"
  77082. +
  77083. +# Help message printed before fatal option parsing errors.
  77084. +fatal_help="Try '\$progname --help' for more information."
  77085. +
  77086. +
  77087. +
  77088. +## ------------------------- ##
  77089. +## Hook function management. ##
  77090. +## ------------------------- ##
  77091. +
  77092. +# This section contains functions for adding, removing, and running hooks
  77093. +# to the main code. A hook is just a named list of of function, that can
  77094. +# be run in order later on.
  77095. +
  77096. +# func_hookable FUNC_NAME
  77097. +# -----------------------
  77098. +# Declare that FUNC_NAME will run hooks added with
  77099. +# 'func_add_hook FUNC_NAME ...'.
  77100. +func_hookable ()
  77101. +{
  77102. + $debug_cmd
  77103. +
  77104. + func_append hookable_fns " $1"
  77105. +}
  77106. +
  77107. +
  77108. +# func_add_hook FUNC_NAME HOOK_FUNC
  77109. +# ---------------------------------
  77110. +# Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must
  77111. +# first have been declared "hookable" by a call to 'func_hookable'.
  77112. +func_add_hook ()
  77113. +{
  77114. + $debug_cmd
  77115. +
  77116. + case " $hookable_fns " in
  77117. + *" $1 "*) ;;
  77118. + *) func_fatal_error "'$1' does not accept hook functions." ;;
  77119. + esac
  77120. +
  77121. + eval func_append ${1}_hooks '" $2"'
  77122. +}
  77123. +
  77124. +
  77125. +# func_remove_hook FUNC_NAME HOOK_FUNC
  77126. +# ------------------------------------
  77127. +# Remove HOOK_FUNC from the list of functions called by FUNC_NAME.
  77128. +func_remove_hook ()
  77129. +{
  77130. + $debug_cmd
  77131. +
  77132. + eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`'
  77133. +}
  77134. +
  77135. +
  77136. +# func_run_hooks FUNC_NAME [ARG]...
  77137. +# ---------------------------------
  77138. +# Run all hook functions registered to FUNC_NAME.
  77139. +# It is assumed that the list of hook functions contains nothing more
  77140. +# than a whitespace-delimited list of legal shell function names, and
  77141. +# no effort is wasted trying to catch shell meta-characters or preserve
  77142. +# whitespace.
  77143. +func_run_hooks ()
  77144. +{
  77145. + $debug_cmd
  77146. +
  77147. + case " $hookable_fns " in
  77148. + *" $1 "*) ;;
  77149. + *) func_fatal_error "'$1' does not support hook funcions.n" ;;
  77150. + esac
  77151. +
  77152. + eval _G_hook_fns=\$$1_hooks; shift
  77153. +
  77154. + for _G_hook in $_G_hook_fns; do
  77155. + eval $_G_hook '"$@"'
  77156. +
  77157. + # store returned options list back into positional
  77158. + # parameters for next 'cmd' execution.
  77159. + eval _G_hook_result=\$${_G_hook}_result
  77160. + eval set dummy "$_G_hook_result"; shift
  77161. + done
  77162. +
  77163. + func_quote_for_eval ${1+"$@"}
  77164. + func_run_hooks_result=$func_quote_for_eval_result
  77165. +}
  77166. +
  77167. +
  77168. +
  77169. +## --------------- ##
  77170. +## Option parsing. ##
  77171. +## --------------- ##
  77172. +
  77173. +# In order to add your own option parsing hooks, you must accept the
  77174. +# full positional parameter list in your hook function, remove any
  77175. +# options that you action, and then pass back the remaining unprocessed
  77176. +# options in '<hooked_function_name>_result', escaped suitably for
  77177. +# 'eval'. Like this:
  77178. +#
  77179. +# my_options_prep ()
  77180. +# {
  77181. +# $debug_cmd
  77182. +#
  77183. +# # Extend the existing usage message.
  77184. +# usage_message=$usage_message'
  77185. +# -s, --silent don'\''t print informational messages
  77186. +# '
  77187. +#
  77188. +# func_quote_for_eval ${1+"$@"}
  77189. +# my_options_prep_result=$func_quote_for_eval_result
  77190. +# }
  77191. +# func_add_hook func_options_prep my_options_prep
  77192. +#
  77193. +#
  77194. +# my_silent_option ()
  77195. +# {
  77196. +# $debug_cmd
  77197. +#
  77198. +# # Note that for efficiency, we parse as many options as we can
  77199. +# # recognise in a loop before passing the remainder back to the
  77200. +# # caller on the first unrecognised argument we encounter.
  77201. +# while test $# -gt 0; do
  77202. +# opt=$1; shift
  77203. +# case $opt in
  77204. +# --silent|-s) opt_silent=: ;;
  77205. +# # Separate non-argument short options:
  77206. +# -s*) func_split_short_opt "$_G_opt"
  77207. +# set dummy "$func_split_short_opt_name" \
  77208. +# "-$func_split_short_opt_arg" ${1+"$@"}
  77209. +# shift
  77210. +# ;;
  77211. +# *) set dummy "$_G_opt" "$*"; shift; break ;;
  77212. +# esac
  77213. +# done
  77214. +#
  77215. +# func_quote_for_eval ${1+"$@"}
  77216. +# my_silent_option_result=$func_quote_for_eval_result
  77217. +# }
  77218. +# func_add_hook func_parse_options my_silent_option
  77219. +#
  77220. +#
  77221. +# my_option_validation ()
  77222. +# {
  77223. +# $debug_cmd
  77224. +#
  77225. +# $opt_silent && $opt_verbose && func_fatal_help "\
  77226. +# '--silent' and '--verbose' options are mutually exclusive."
  77227. +#
  77228. +# func_quote_for_eval ${1+"$@"}
  77229. +# my_option_validation_result=$func_quote_for_eval_result
  77230. +# }
  77231. +# func_add_hook func_validate_options my_option_validation
  77232. +#
  77233. +# You'll alse need to manually amend $usage_message to reflect the extra
  77234. +# options you parse. It's preferable to append if you can, so that
  77235. +# multiple option parsing hooks can be added safely.
  77236. +
  77237. +
  77238. +# func_options [ARG]...
  77239. +# ---------------------
  77240. +# All the functions called inside func_options are hookable. See the
  77241. +# individual implementations for details.
  77242. +func_hookable func_options
  77243. +func_options ()
  77244. +{
  77245. + $debug_cmd
  77246. +
  77247. + func_options_prep ${1+"$@"}
  77248. + eval func_parse_options \
  77249. + ${func_options_prep_result+"$func_options_prep_result"}
  77250. + eval func_validate_options \
  77251. + ${func_parse_options_result+"$func_parse_options_result"}
  77252. +
  77253. + eval func_run_hooks func_options \
  77254. + ${func_validate_options_result+"$func_validate_options_result"}
  77255. +
  77256. + # save modified positional parameters for caller
  77257. + func_options_result=$func_run_hooks_result
  77258. }
  77259.  
  77260. +
  77261. +# func_options_prep [ARG]...
  77262. +# --------------------------
  77263. +# All initialisations required before starting the option parse loop.
  77264. +# Note that when calling hook functions, we pass through the list of
  77265. +# positional parameters. If a hook function modifies that list, and
  77266. +# needs to propogate that back to rest of this script, then the complete
  77267. +# modified list must be put in 'func_run_hooks_result' before
  77268. +# returning.
  77269. +func_hookable func_options_prep
  77270. +func_options_prep ()
  77271. +{
  77272. + $debug_cmd
  77273. +
  77274. + # Option defaults:
  77275. + opt_verbose=false
  77276. + opt_warning_types=
  77277. +
  77278. + func_run_hooks func_options_prep ${1+"$@"}
  77279. +
  77280. + # save modified positional parameters for caller
  77281. + func_options_prep_result=$func_run_hooks_result
  77282. +}
  77283. +
  77284. +
  77285. +# func_parse_options [ARG]...
  77286. +# ---------------------------
  77287. +# The main option parsing loop.
  77288. +func_hookable func_parse_options
  77289. +func_parse_options ()
  77290. +{
  77291. + $debug_cmd
  77292. +
  77293. + func_parse_options_result=
  77294. +
  77295. + # this just eases exit handling
  77296. + while test $# -gt 0; do
  77297. + # Defer to hook functions for initial option parsing, so they
  77298. + # get priority in the event of reusing an option name.
  77299. + func_run_hooks func_parse_options ${1+"$@"}
  77300. +
  77301. + # Adjust func_parse_options positional parameters to match
  77302. + eval set dummy "$func_run_hooks_result"; shift
  77303. +
  77304. + # Break out of the loop if we already parsed every option.
  77305. + test $# -gt 0 || break
  77306. +
  77307. + _G_opt=$1
  77308. + shift
  77309. + case $_G_opt in
  77310. + --debug|-x) debug_cmd='set -x'
  77311. + func_echo "enabling shell trace mode"
  77312. + $debug_cmd
  77313. + ;;
  77314. +
  77315. + --no-warnings|--no-warning|--no-warn)
  77316. + set dummy --warnings none ${1+"$@"}
  77317. + shift
  77318. + ;;
  77319. +
  77320. + --warnings|--warning|-W)
  77321. + test $# = 0 && func_missing_arg $_G_opt && break
  77322. + case " $warning_categories $1" in
  77323. + *" $1 "*)
  77324. + # trailing space prevents matching last $1 above
  77325. + func_append_uniq opt_warning_types " $1"
  77326. + ;;
  77327. + *all)
  77328. + opt_warning_types=$warning_categories
  77329. + ;;
  77330. + *none)
  77331. + opt_warning_types=none
  77332. + warning_func=:
  77333. + ;;
  77334. + *error)
  77335. + opt_warning_types=$warning_categories
  77336. + warning_func=func_fatal_error
  77337. + ;;
  77338. + *)
  77339. + func_fatal_error \
  77340. + "unsupported warning category: '$1'"
  77341. + ;;
  77342. + esac
  77343. + shift
  77344. + ;;
  77345. +
  77346. + --verbose|-v) opt_verbose=: ;;
  77347. + --version) func_version ;;
  77348. + -\?|-h) func_usage ;;
  77349. + --help) func_help ;;
  77350. +
  77351. + # Separate optargs to long options (plugins may need this):
  77352. + --*=*) func_split_equals "$_G_opt"
  77353. + set dummy "$func_split_equals_lhs" \
  77354. + "$func_split_equals_rhs" ${1+"$@"}
  77355. + shift
  77356. + ;;
  77357. +
  77358. + # Separate optargs to short options:
  77359. + -W*)
  77360. + func_split_short_opt "$_G_opt"
  77361. + set dummy "$func_split_short_opt_name" \
  77362. + "$func_split_short_opt_arg" ${1+"$@"}
  77363. + shift
  77364. + ;;
  77365. +
  77366. + # Separate non-argument short options:
  77367. + -\?*|-h*|-v*|-x*)
  77368. + func_split_short_opt "$_G_opt"
  77369. + set dummy "$func_split_short_opt_name" \
  77370. + "-$func_split_short_opt_arg" ${1+"$@"}
  77371. + shift
  77372. + ;;
  77373. +
  77374. + --) break ;;
  77375. + -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
  77376. + *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
  77377. + esac
  77378. + done
  77379. +
  77380. + # save modified positional parameters for caller
  77381. + func_quote_for_eval ${1+"$@"}
  77382. + func_parse_options_result=$func_quote_for_eval_result
  77383. +}
  77384. +
  77385. +
  77386. +# func_validate_options [ARG]...
  77387. +# ------------------------------
  77388. +# Perform any sanity checks on option settings and/or unconsumed
  77389. +# arguments.
  77390. +func_hookable func_validate_options
  77391. +func_validate_options ()
  77392. +{
  77393. + $debug_cmd
  77394. +
  77395. + # Display all warnings if -W was not given.
  77396. + test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
  77397. +
  77398. + func_run_hooks func_validate_options ${1+"$@"}
  77399. +
  77400. + # Bail if the options were screwed!
  77401. + $exit_cmd $EXIT_FAILURE
  77402. +
  77403. + # save modified positional parameters for caller
  77404. + func_validate_options_result=$func_run_hooks_result
  77405. +}
  77406. +
  77407. +
  77408. +
  77409. +## ----------------- ##
  77410. +## Helper functions. ##
  77411. +## ----------------- ##
  77412. +
  77413. +# This section contains the helper functions used by the rest of the
  77414. +# hookable option parser framework in ascii-betical order.
  77415. +
  77416. +
  77417. +# func_fatal_help ARG...
  77418. +# ----------------------
  77419. +# Echo program name prefixed message to standard error, followed by
  77420. +# a help hint, and exit.
  77421. +func_fatal_help ()
  77422. +{
  77423. + $debug_cmd
  77424. +
  77425. + eval \$ECHO \""Usage: $usage"\"
  77426. + eval \$ECHO \""$fatal_help"\"
  77427. + func_error ${1+"$@"}
  77428. + exit $EXIT_FAILURE
  77429. +}
  77430. +
  77431. +
  77432. # func_help
  77433. +# ---------
  77434. # Echo long help message to standard output and exit.
  77435. func_help ()
  77436. {
  77437. - $SED -n '/^# Usage:/,/# Report bugs to/ {
  77438. - s/^# //
  77439. - s/^# *$//
  77440. - s*\$progname*'$progname'*
  77441. - s*\$host*'"$host"'*
  77442. - s*\$SHELL*'"$SHELL"'*
  77443. - s*\$LTCC*'"$LTCC"'*
  77444. - s*\$LTCFLAGS*'"$LTCFLAGS"'*
  77445. - s*\$LD*'"$LD"'*
  77446. - s/\$with_gnu_ld/'"$with_gnu_ld"'/
  77447. - s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
  77448. - s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
  77449. - p
  77450. - }' < "$progpath"
  77451. - exit $?
  77452. + $debug_cmd
  77453. +
  77454. + func_usage_message
  77455. + $ECHO "$long_help_message"
  77456. + exit 0
  77457. }
  77458.  
  77459. -# func_missing_arg argname
  77460. +
  77461. +# func_missing_arg ARGNAME
  77462. +# ------------------------
  77463. # Echo program name prefixed message to standard error and set global
  77464. # exit_cmd.
  77465. func_missing_arg ()
  77466. {
  77467. - func_error "missing argument for $1"
  77468. + $debug_cmd
  77469. +
  77470. + func_error "Missing argument for '$1'."
  77471. exit_cmd=exit
  77472. }
  77473.  
  77474. -exit_cmd=:
  77475.  
  77476. +# func_split_equals STRING
  77477. +# ------------------------
  77478. +# Set func_split_equals_lhs and func_split_equals_rhs shell variables after
  77479. +# splitting STRING at the '=' sign.
  77480. +test -z "$_G_HAVE_XSI_OPS" \
  77481. + && (eval 'x=a/b/c;
  77482. + test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
  77483. + && _G_HAVE_XSI_OPS=yes
  77484. +
  77485. +if test yes = "$_G_HAVE_XSI_OPS"
  77486. +then
  77487. + # This is an XSI compatible shell, allowing a faster implementation...
  77488. + eval 'func_split_equals ()
  77489. + {
  77490. + $debug_cmd
  77491.  
  77492. + func_split_equals_lhs=${1%%=*}
  77493. + func_split_equals_rhs=${1#*=}
  77494. + test "x$func_split_equals_lhs" = "x$1" \
  77495. + && func_split_equals_rhs=
  77496. + }'
  77497. +else
  77498. + # ...otherwise fall back to using expr, which is often a shell builtin.
  77499. + func_split_equals ()
  77500. + {
  77501. + $debug_cmd
  77502.  
  77503. + func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'`
  77504. + func_split_equals_rhs=
  77505. + test "x$func_split_equals_lhs" = "x$1" \
  77506. + || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'`
  77507. + }
  77508. +fi #func_split_equals
  77509.  
  77510.  
  77511. -# Check that we have a working $ECHO.
  77512. -if test "X$1" = X--no-reexec; then
  77513. - # Discard the --no-reexec flag, and continue.
  77514. - shift
  77515. -elif test "X$1" = X--fallback-echo; then
  77516. - # Avoid inline document here, it may be left over
  77517. - :
  77518. -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
  77519. - # Yippee, $ECHO works!
  77520. - :
  77521. +# func_split_short_opt SHORTOPT
  77522. +# -----------------------------
  77523. +# Set func_split_short_opt_name and func_split_short_opt_arg shell
  77524. +# variables after splitting SHORTOPT after the 2nd character.
  77525. +if test yes = "$_G_HAVE_XSI_OPS"
  77526. +then
  77527. + # This is an XSI compatible shell, allowing a faster implementation...
  77528. + eval 'func_split_short_opt ()
  77529. + {
  77530. + $debug_cmd
  77531. +
  77532. + func_split_short_opt_arg=${1#??}
  77533. + func_split_short_opt_name=${1%"$func_split_short_opt_arg"}
  77534. + }'
  77535. else
  77536. - # Restart under the correct shell, and then maybe $ECHO will work.
  77537. - exec $SHELL "$progpath" --no-reexec ${1+"$@"}
  77538. -fi
  77539. + # ...otherwise fall back to using expr, which is often a shell builtin.
  77540. + func_split_short_opt ()
  77541. + {
  77542. + $debug_cmd
  77543.  
  77544. -if test "X$1" = X--fallback-echo; then
  77545. - # used as fallback echo
  77546. - shift
  77547. - cat <<EOF
  77548. -$*
  77549. -EOF
  77550. - exit $EXIT_SUCCESS
  77551. -fi
  77552. + func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'`
  77553. + func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'`
  77554. + }
  77555. +fi #func_split_short_opt
  77556.  
  77557. -magic="%%%MAGIC variable%%%"
  77558. -magic_exe="%%%MAGIC EXE variable%%%"
  77559.  
  77560. -# Global variables.
  77561. -# $mode is unset
  77562. -nonopt=
  77563. -execute_dlfiles=
  77564. -preserve_args=
  77565. -lo2o="s/\\.lo\$/.${objext}/"
  77566. -o2lo="s/\\.${objext}\$/.lo/"
  77567. -extracted_archives=
  77568. -extracted_serial=0
  77569. +# func_usage
  77570. +# ----------
  77571. +# Echo short help message to standard output and exit.
  77572. +func_usage ()
  77573. +{
  77574. + $debug_cmd
  77575.  
  77576. -opt_dry_run=false
  77577. -opt_duplicate_deps=false
  77578. -opt_silent=false
  77579. -opt_debug=:
  77580. + func_usage_message
  77581. + $ECHO "Run '$progname --help |${PAGER-more}' for full usage"
  77582. + exit 0
  77583. +}
  77584.  
  77585. -# If this variable is set in any of the actions, the command in it
  77586. -# will be execed at the end. This prevents here-documents from being
  77587. -# left over by shells.
  77588. -exec_cmd=
  77589.  
  77590. -# func_fatal_configuration arg...
  77591. +# func_usage_message
  77592. +# ------------------
  77593. +# Echo short help message to standard output.
  77594. +func_usage_message ()
  77595. +{
  77596. + $debug_cmd
  77597. +
  77598. + eval \$ECHO \""Usage: $usage"\"
  77599. + echo
  77600. + $SED -n 's|^# ||
  77601. + /^Written by/{
  77602. + x;p;x
  77603. + }
  77604. + h
  77605. + /^Written by/q' < "$progpath"
  77606. + echo
  77607. + eval \$ECHO \""$usage_message"\"
  77608. +}
  77609. +
  77610. +
  77611. +# func_version
  77612. +# ------------
  77613. +# Echo version message to standard output and exit.
  77614. +func_version ()
  77615. +{
  77616. + $debug_cmd
  77617. +
  77618. + printf '%s\n' "$progname $scriptversion"
  77619. + $SED -n '
  77620. + /(C)/!b go
  77621. + :more
  77622. + /\./!{
  77623. + N
  77624. + s|\n# | |
  77625. + b more
  77626. + }
  77627. + :go
  77628. + /^# Written by /,/# warranty; / {
  77629. + s|^# ||
  77630. + s|^# *$||
  77631. + s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
  77632. + p
  77633. + }
  77634. + /^# Written by / {
  77635. + s|^# ||
  77636. + p
  77637. + }
  77638. + /^warranty; /q' < "$progpath"
  77639. +
  77640. + exit $?
  77641. +}
  77642. +
  77643. +
  77644. +# Local variables:
  77645. +# mode: shell-script
  77646. +# sh-indentation: 2
  77647. +# eval: (add-hook 'before-save-hook 'time-stamp)
  77648. +# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
  77649. +# time-stamp-time-zone: "UTC"
  77650. +# End:
  77651. +
  77652. +# Set a version string.
  77653. +scriptversion='(GNU libtool) 2.4.6'
  77654. +
  77655. +
  77656. +# func_echo ARG...
  77657. +# ----------------
  77658. +# Libtool also displays the current mode in messages, so override
  77659. +# funclib.sh func_echo with this custom definition.
  77660. +func_echo ()
  77661. +{
  77662. + $debug_cmd
  77663. +
  77664. + _G_message=$*
  77665. +
  77666. + func_echo_IFS=$IFS
  77667. + IFS=$nl
  77668. + for _G_line in $_G_message; do
  77669. + IFS=$func_echo_IFS
  77670. + $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line"
  77671. + done
  77672. + IFS=$func_echo_IFS
  77673. +}
  77674. +
  77675. +
  77676. +# func_warning ARG...
  77677. +# -------------------
  77678. +# Libtool warnings are not categorized, so override funclib.sh
  77679. +# func_warning with this simpler definition.
  77680. +func_warning ()
  77681. +{
  77682. + $debug_cmd
  77683. +
  77684. + $warning_func ${1+"$@"}
  77685. +}
  77686. +
  77687. +
  77688. +## ---------------- ##
  77689. +## Options parsing. ##
  77690. +## ---------------- ##
  77691. +
  77692. +# Hook in the functions to make sure our own options are parsed during
  77693. +# the option parsing loop.
  77694. +
  77695. +usage='$progpath [OPTION]... [MODE-ARG]...'
  77696. +
  77697. +# Short help message in response to '-h'.
  77698. +usage_message="Options:
  77699. + --config show all configuration variables
  77700. + --debug enable verbose shell tracing
  77701. + -n, --dry-run display commands without modifying any files
  77702. + --features display basic configuration information and exit
  77703. + --mode=MODE use operation mode MODE
  77704. + --no-warnings equivalent to '-Wnone'
  77705. + --preserve-dup-deps don't remove duplicate dependency libraries
  77706. + --quiet, --silent don't print informational messages
  77707. + --tag=TAG use configuration variables from tag TAG
  77708. + -v, --verbose print more informational messages than default
  77709. + --version print version information
  77710. + -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all]
  77711. + -h, --help, --help-all print short, long, or detailed help message
  77712. +"
  77713. +
  77714. +# Additional text appended to 'usage_message' in response to '--help'.
  77715. +func_help ()
  77716. +{
  77717. + $debug_cmd
  77718. +
  77719. + func_usage_message
  77720. + $ECHO "$long_help_message
  77721. +
  77722. +MODE must be one of the following:
  77723. +
  77724. + clean remove files from the build directory
  77725. + compile compile a source file into a libtool object
  77726. + execute automatically set library path, then run a program
  77727. + finish complete the installation of libtool libraries
  77728. + install install libraries or executables
  77729. + link create a library or an executable
  77730. + uninstall remove libraries from an installed directory
  77731. +
  77732. +MODE-ARGS vary depending on the MODE. When passed as first option,
  77733. +'--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that.
  77734. +Try '$progname --help --mode=MODE' for a more detailed description of MODE.
  77735. +
  77736. +When reporting a bug, please describe a test case to reproduce it and
  77737. +include the following information:
  77738. +
  77739. + host-triplet: $host
  77740. + shell: $SHELL
  77741. + compiler: $LTCC
  77742. + compiler flags: $LTCFLAGS
  77743. + linker: $LD (gnu? $with_gnu_ld)
  77744. + version: $progname (GNU libtool) 2.4.6
  77745. + automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
  77746. + autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
  77747. +
  77748. +Report bugs to <bug-libtool@gnu.org>.
  77749. +GNU libtool home page: <http://www.gnu.org/software/libtool/>.
  77750. +General help using GNU software: <http://www.gnu.org/gethelp/>."
  77751. + exit 0
  77752. +}
  77753. +
  77754. +
  77755. +# func_lo2o OBJECT-NAME
  77756. +# ---------------------
  77757. +# Transform OBJECT-NAME from a '.lo' suffix to the platform specific
  77758. +# object suffix.
  77759. +
  77760. +lo2o=s/\\.lo\$/.$objext/
  77761. +o2lo=s/\\.$objext\$/.lo/
  77762. +
  77763. +if test yes = "$_G_HAVE_XSI_OPS"; then
  77764. + eval 'func_lo2o ()
  77765. + {
  77766. + case $1 in
  77767. + *.lo) func_lo2o_result=${1%.lo}.$objext ;;
  77768. + * ) func_lo2o_result=$1 ;;
  77769. + esac
  77770. + }'
  77771. +
  77772. + # func_xform LIBOBJ-OR-SOURCE
  77773. + # ---------------------------
  77774. + # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise)
  77775. + # suffix to a '.lo' libtool-object suffix.
  77776. + eval 'func_xform ()
  77777. + {
  77778. + func_xform_result=${1%.*}.lo
  77779. + }'
  77780. +else
  77781. + # ...otherwise fall back to using sed.
  77782. + func_lo2o ()
  77783. + {
  77784. + func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"`
  77785. + }
  77786. +
  77787. + func_xform ()
  77788. + {
  77789. + func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'`
  77790. + }
  77791. +fi
  77792. +
  77793. +
  77794. +# func_fatal_configuration ARG...
  77795. +# -------------------------------
  77796. # Echo program name prefixed message to standard error, followed by
  77797. # a configuration failure hint, and exit.
  77798. func_fatal_configuration ()
  77799. {
  77800. - func_error ${1+"$@"}
  77801. - func_error "See the $PACKAGE documentation for more information."
  77802. - func_fatal_error "Fatal configuration error."
  77803. + func_fatal_error ${1+"$@"} \
  77804. + "See the $PACKAGE documentation for more information." \
  77805. + "Fatal configuration error."
  77806. }
  77807.  
  77808.  
  77809. # func_config
  77810. +# -----------
  77811. # Display the configuration for all the tags in this script.
  77812. func_config ()
  77813. {
  77814. @@ -632,279 +2149,371 @@
  77815. exit $?
  77816. }
  77817.  
  77818. +
  77819. # func_features
  77820. +# -------------
  77821. # Display the features supported by this script.
  77822. func_features ()
  77823. {
  77824. - $ECHO "host: $host"
  77825. - if test "$build_libtool_libs" = yes; then
  77826. - $ECHO "enable shared libraries"
  77827. + echo "host: $host"
  77828. + if test yes = "$build_libtool_libs"; then
  77829. + echo "enable shared libraries"
  77830. else
  77831. - $ECHO "disable shared libraries"
  77832. + echo "disable shared libraries"
  77833. fi
  77834. - if test "$build_old_libs" = yes; then
  77835. - $ECHO "enable static libraries"
  77836. + if test yes = "$build_old_libs"; then
  77837. + echo "enable static libraries"
  77838. else
  77839. - $ECHO "disable static libraries"
  77840. + echo "disable static libraries"
  77841. fi
  77842.  
  77843. exit $?
  77844. }
  77845.  
  77846. -# func_enable_tag tagname
  77847. +
  77848. +# func_enable_tag TAGNAME
  77849. +# -----------------------
  77850. # Verify that TAGNAME is valid, and either flag an error and exit, or
  77851. # enable the TAGNAME tag. We also add TAGNAME to the global $taglist
  77852. # variable here.
  77853. func_enable_tag ()
  77854. {
  77855. - # Global variable:
  77856. - tagname="$1"
  77857. -
  77858. - re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
  77859. - re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
  77860. - sed_extractcf="/$re_begincf/,/$re_endcf/p"
  77861. -
  77862. - # Validate tagname.
  77863. - case $tagname in
  77864. - *[!-_A-Za-z0-9,/]*)
  77865. - func_fatal_error "invalid tag name: $tagname"
  77866. - ;;
  77867. - esac
  77868. -
  77869. - # Don't test for the "default" C tag, as we know it's
  77870. - # there but not specially marked.
  77871. - case $tagname in
  77872. - CC) ;;
  77873. - *)
  77874. - if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
  77875. - taglist="$taglist $tagname"
  77876. + # Global variable:
  77877. + tagname=$1
  77878.  
  77879. - # Evaluate the configuration. Be careful to quote the path
  77880. - # and the sed script, to avoid splitting on whitespace, but
  77881. - # also don't use non-portable quotes within backquotes within
  77882. - # quotes we have to do it in 2 steps:
  77883. - extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
  77884. - eval "$extractedcf"
  77885. - else
  77886. - func_error "ignoring unknown tag $tagname"
  77887. - fi
  77888. - ;;
  77889. - esac
  77890. -}
  77891. -
  77892. -# Parse options once, thoroughly. This comes as soon as possible in
  77893. -# the script to make things like `libtool --version' happen quickly.
  77894. -{
  77895. -
  77896. - # Shorthand for --mode=foo, only valid as the first argument
  77897. - case $1 in
  77898. - clean|clea|cle|cl)
  77899. - shift; set dummy --mode clean ${1+"$@"}; shift
  77900. - ;;
  77901. - compile|compil|compi|comp|com|co|c)
  77902. - shift; set dummy --mode compile ${1+"$@"}; shift
  77903. - ;;
  77904. - execute|execut|execu|exec|exe|ex|e)
  77905. - shift; set dummy --mode execute ${1+"$@"}; shift
  77906. - ;;
  77907. - finish|finis|fini|fin|fi|f)
  77908. - shift; set dummy --mode finish ${1+"$@"}; shift
  77909. - ;;
  77910. - install|instal|insta|inst|ins|in|i)
  77911. - shift; set dummy --mode install ${1+"$@"}; shift
  77912. - ;;
  77913. - link|lin|li|l)
  77914. - shift; set dummy --mode link ${1+"$@"}; shift
  77915. - ;;
  77916. - uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
  77917. - shift; set dummy --mode uninstall ${1+"$@"}; shift
  77918. - ;;
  77919. - esac
  77920. -
  77921. - # Parse non-mode specific arguments:
  77922. - while test "$#" -gt 0; do
  77923. - opt="$1"
  77924. - shift
  77925. -
  77926. - case $opt in
  77927. - --config) func_config ;;
  77928. -
  77929. - --debug) preserve_args="$preserve_args $opt"
  77930. - func_echo "enabling shell trace mode"
  77931. - opt_debug='set -x'
  77932. - $opt_debug
  77933. - ;;
  77934. -
  77935. - -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break
  77936. - execute_dlfiles="$execute_dlfiles $1"
  77937. - shift
  77938. - ;;
  77939. -
  77940. - --dry-run | -n) opt_dry_run=: ;;
  77941. - --features) func_features ;;
  77942. - --finish) mode="finish" ;;
  77943. -
  77944. - --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break
  77945. - case $1 in
  77946. - # Valid mode arguments:
  77947. - clean) ;;
  77948. - compile) ;;
  77949. - execute) ;;
  77950. - finish) ;;
  77951. - install) ;;
  77952. - link) ;;
  77953. - relink) ;;
  77954. - uninstall) ;;
  77955. -
  77956. - # Catch anything else as an error
  77957. - *) func_error "invalid argument for $opt"
  77958. - exit_cmd=exit
  77959. - break
  77960. - ;;
  77961. - esac
  77962. -
  77963. - mode="$1"
  77964. - shift
  77965. - ;;
  77966. -
  77967. - --preserve-dup-deps)
  77968. - opt_duplicate_deps=: ;;
  77969. -
  77970. - --quiet|--silent) preserve_args="$preserve_args $opt"
  77971. - opt_silent=:
  77972. - ;;
  77973. -
  77974. - --verbose| -v) preserve_args="$preserve_args $opt"
  77975. - opt_silent=false
  77976. - ;;
  77977. -
  77978. - --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break
  77979. - preserve_args="$preserve_args $opt $1"
  77980. - func_enable_tag "$1" # tagname is set here
  77981. - shift
  77982. - ;;
  77983. -
  77984. - # Separate optargs to long options:
  77985. - -dlopen=*|--mode=*|--tag=*)
  77986. - func_opt_split "$opt"
  77987. - set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"}
  77988. - shift
  77989. - ;;
  77990. -
  77991. - -\?|-h) func_usage ;;
  77992. - --help) opt_help=: ;;
  77993. - --version) func_version ;;
  77994. -
  77995. - -*) func_fatal_help "unrecognized option \`$opt'" ;;
  77996. -
  77997. - *) nonopt="$opt"
  77998. - break
  77999. - ;;
  78000. + re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
  78001. + re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
  78002. + sed_extractcf=/$re_begincf/,/$re_endcf/p
  78003. +
  78004. + # Validate tagname.
  78005. + case $tagname in
  78006. + *[!-_A-Za-z0-9,/]*)
  78007. + func_fatal_error "invalid tag name: $tagname"
  78008. + ;;
  78009. esac
  78010. - done
  78011. -
  78012.  
  78013. - case $host in
  78014. - *cygwin* | *mingw* | *pw32* | *cegcc*)
  78015. - # don't eliminate duplications in $postdeps and $predeps
  78016. - opt_duplicate_compiler_generated_deps=:
  78017. - ;;
  78018. + # Don't test for the "default" C tag, as we know it's
  78019. + # there but not specially marked.
  78020. + case $tagname in
  78021. + CC) ;;
  78022. *)
  78023. - opt_duplicate_compiler_generated_deps=$opt_duplicate_deps
  78024. - ;;
  78025. - esac
  78026. + if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
  78027. + taglist="$taglist $tagname"
  78028.  
  78029. - # Having warned about all mis-specified options, bail out if
  78030. - # anything was wrong.
  78031. - $exit_cmd $EXIT_FAILURE
  78032. + # Evaluate the configuration. Be careful to quote the path
  78033. + # and the sed script, to avoid splitting on whitespace, but
  78034. + # also don't use non-portable quotes within backquotes within
  78035. + # quotes we have to do it in 2 steps:
  78036. + extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
  78037. + eval "$extractedcf"
  78038. + else
  78039. + func_error "ignoring unknown tag $tagname"
  78040. + fi
  78041. + ;;
  78042. + esac
  78043. }
  78044.  
  78045. +
  78046. # func_check_version_match
  78047. +# ------------------------
  78048. # Ensure that we are using m4 macros, and libtool script from the same
  78049. # release of libtool.
  78050. func_check_version_match ()
  78051. {
  78052. - if test "$package_revision" != "$macro_revision"; then
  78053. - if test "$VERSION" != "$macro_version"; then
  78054. - if test -z "$macro_version"; then
  78055. - cat >&2 <<_LT_EOF
  78056. + if test "$package_revision" != "$macro_revision"; then
  78057. + if test "$VERSION" != "$macro_version"; then
  78058. + if test -z "$macro_version"; then
  78059. + cat >&2 <<_LT_EOF
  78060. $progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  78061. $progname: definition of this LT_INIT comes from an older release.
  78062. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  78063. $progname: and run autoconf again.
  78064. _LT_EOF
  78065. - else
  78066. - cat >&2 <<_LT_EOF
  78067. + else
  78068. + cat >&2 <<_LT_EOF
  78069. $progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  78070. $progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
  78071. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  78072. $progname: and run autoconf again.
  78073. _LT_EOF
  78074. - fi
  78075. - else
  78076. - cat >&2 <<_LT_EOF
  78077. + fi
  78078. + else
  78079. + cat >&2 <<_LT_EOF
  78080. $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
  78081. $progname: but the definition of this LT_INIT comes from revision $macro_revision.
  78082. $progname: You should recreate aclocal.m4 with macros from revision $package_revision
  78083. $progname: of $PACKAGE $VERSION and run autoconf again.
  78084. _LT_EOF
  78085. + fi
  78086. +
  78087. + exit $EXIT_MISMATCH
  78088. fi
  78089. +}
  78090.  
  78091. - exit $EXIT_MISMATCH
  78092. - fi
  78093. +
  78094. +# libtool_options_prep [ARG]...
  78095. +# -----------------------------
  78096. +# Preparation for options parsed by libtool.
  78097. +libtool_options_prep ()
  78098. +{
  78099. + $debug_mode
  78100. +
  78101. + # Option defaults:
  78102. + opt_config=false
  78103. + opt_dlopen=
  78104. + opt_dry_run=false
  78105. + opt_help=false
  78106. + opt_mode=
  78107. + opt_preserve_dup_deps=false
  78108. + opt_quiet=false
  78109. +
  78110. + nonopt=
  78111. + preserve_args=
  78112. +
  78113. + # Shorthand for --mode=foo, only valid as the first argument
  78114. + case $1 in
  78115. + clean|clea|cle|cl)
  78116. + shift; set dummy --mode clean ${1+"$@"}; shift
  78117. + ;;
  78118. + compile|compil|compi|comp|com|co|c)
  78119. + shift; set dummy --mode compile ${1+"$@"}; shift
  78120. + ;;
  78121. + execute|execut|execu|exec|exe|ex|e)
  78122. + shift; set dummy --mode execute ${1+"$@"}; shift
  78123. + ;;
  78124. + finish|finis|fini|fin|fi|f)
  78125. + shift; set dummy --mode finish ${1+"$@"}; shift
  78126. + ;;
  78127. + install|instal|insta|inst|ins|in|i)
  78128. + shift; set dummy --mode install ${1+"$@"}; shift
  78129. + ;;
  78130. + link|lin|li|l)
  78131. + shift; set dummy --mode link ${1+"$@"}; shift
  78132. + ;;
  78133. + uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
  78134. + shift; set dummy --mode uninstall ${1+"$@"}; shift
  78135. + ;;
  78136. + esac
  78137. +
  78138. + # Pass back the list of options.
  78139. + func_quote_for_eval ${1+"$@"}
  78140. + libtool_options_prep_result=$func_quote_for_eval_result
  78141. }
  78142. +func_add_hook func_options_prep libtool_options_prep
  78143.  
  78144.  
  78145. -## ----------- ##
  78146. -## Main. ##
  78147. -## ----------- ##
  78148. +# libtool_parse_options [ARG]...
  78149. +# ---------------------------------
  78150. +# Provide handling for libtool specific options.
  78151. +libtool_parse_options ()
  78152. +{
  78153. + $debug_cmd
  78154.  
  78155. -$opt_help || {
  78156. - # Sanity checks first:
  78157. - func_check_version_match
  78158. + # Perform our own loop to consume as many options as possible in
  78159. + # each iteration.
  78160. + while test $# -gt 0; do
  78161. + _G_opt=$1
  78162. + shift
  78163. + case $_G_opt in
  78164. + --dry-run|--dryrun|-n)
  78165. + opt_dry_run=:
  78166. + ;;
  78167. +
  78168. + --config) func_config ;;
  78169. +
  78170. + --dlopen|-dlopen)
  78171. + opt_dlopen="${opt_dlopen+$opt_dlopen
  78172. +}$1"
  78173. + shift
  78174. + ;;
  78175. +
  78176. + --preserve-dup-deps)
  78177. + opt_preserve_dup_deps=: ;;
  78178. +
  78179. + --features) func_features ;;
  78180. +
  78181. + --finish) set dummy --mode finish ${1+"$@"}; shift ;;
  78182. +
  78183. + --help) opt_help=: ;;
  78184. +
  78185. + --help-all) opt_help=': help-all' ;;
  78186. +
  78187. + --mode) test $# = 0 && func_missing_arg $_G_opt && break
  78188. + opt_mode=$1
  78189. + case $1 in
  78190. + # Valid mode arguments:
  78191. + clean|compile|execute|finish|install|link|relink|uninstall) ;;
  78192. +
  78193. + # Catch anything else as an error
  78194. + *) func_error "invalid argument for $_G_opt"
  78195. + exit_cmd=exit
  78196. + break
  78197. + ;;
  78198. + esac
  78199. + shift
  78200. + ;;
  78201. +
  78202. + --no-silent|--no-quiet)
  78203. + opt_quiet=false
  78204. + func_append preserve_args " $_G_opt"
  78205. + ;;
  78206. +
  78207. + --no-warnings|--no-warning|--no-warn)
  78208. + opt_warning=false
  78209. + func_append preserve_args " $_G_opt"
  78210. + ;;
  78211. +
  78212. + --no-verbose)
  78213. + opt_verbose=false
  78214. + func_append preserve_args " $_G_opt"
  78215. + ;;
  78216. +
  78217. + --silent|--quiet)
  78218. + opt_quiet=:
  78219. + opt_verbose=false
  78220. + func_append preserve_args " $_G_opt"
  78221. + ;;
  78222. +
  78223. + --tag) test $# = 0 && func_missing_arg $_G_opt && break
  78224. + opt_tag=$1
  78225. + func_append preserve_args " $_G_opt $1"
  78226. + func_enable_tag "$1"
  78227. + shift
  78228. + ;;
  78229. +
  78230. + --verbose|-v) opt_quiet=false
  78231. + opt_verbose=:
  78232. + func_append preserve_args " $_G_opt"
  78233. + ;;
  78234.  
  78235. - if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
  78236. - func_fatal_configuration "not configured to build any kind of library"
  78237. - fi
  78238. + # An option not handled by this hook function:
  78239. + *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
  78240. + esac
  78241. + done
  78242.  
  78243. - test -z "$mode" && func_fatal_error "error: you must specify a MODE."
  78244.  
  78245. + # save modified positional parameters for caller
  78246. + func_quote_for_eval ${1+"$@"}
  78247. + libtool_parse_options_result=$func_quote_for_eval_result
  78248. +}
  78249. +func_add_hook func_parse_options libtool_parse_options
  78250.  
  78251. - # Darwin sucks
  78252. - eval std_shrext=\"$shrext_cmds\"
  78253.  
  78254.  
  78255. - # Only execute mode is allowed to have -dlopen flags.
  78256. - if test -n "$execute_dlfiles" && test "$mode" != execute; then
  78257. - func_error "unrecognized option \`-dlopen'"
  78258. - $ECHO "$help" 1>&2
  78259. - exit $EXIT_FAILURE
  78260. - fi
  78261. +# libtool_validate_options [ARG]...
  78262. +# ---------------------------------
  78263. +# Perform any sanity checks on option settings and/or unconsumed
  78264. +# arguments.
  78265. +libtool_validate_options ()
  78266. +{
  78267. + # save first non-option argument
  78268. + if test 0 -lt $#; then
  78269. + nonopt=$1
  78270. + shift
  78271. + fi
  78272.  
  78273. - # Change the help message to a mode-specific one.
  78274. - generic_help="$help"
  78275. - help="Try \`$progname --help --mode=$mode' for more information."
  78276. + # preserve --debug
  78277. + test : = "$debug_cmd" || func_append preserve_args " --debug"
  78278. +
  78279. + case $host in
  78280. + # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
  78281. + # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
  78282. + *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
  78283. + # don't eliminate duplications in $postdeps and $predeps
  78284. + opt_duplicate_compiler_generated_deps=:
  78285. + ;;
  78286. + *)
  78287. + opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
  78288. + ;;
  78289. + esac
  78290. +
  78291. + $opt_help || {
  78292. + # Sanity checks first:
  78293. + func_check_version_match
  78294. +
  78295. + test yes != "$build_libtool_libs" \
  78296. + && test yes != "$build_old_libs" \
  78297. + && func_fatal_configuration "not configured to build any kind of library"
  78298. +
  78299. + # Darwin sucks
  78300. + eval std_shrext=\"$shrext_cmds\"
  78301. +
  78302. + # Only execute mode is allowed to have -dlopen flags.
  78303. + if test -n "$opt_dlopen" && test execute != "$opt_mode"; then
  78304. + func_error "unrecognized option '-dlopen'"
  78305. + $ECHO "$help" 1>&2
  78306. + exit $EXIT_FAILURE
  78307. + fi
  78308. +
  78309. + # Change the help message to a mode-specific one.
  78310. + generic_help=$help
  78311. + help="Try '$progname --help --mode=$opt_mode' for more information."
  78312. + }
  78313. +
  78314. + # Pass back the unparsed argument list
  78315. + func_quote_for_eval ${1+"$@"}
  78316. + libtool_validate_options_result=$func_quote_for_eval_result
  78317. }
  78318. +func_add_hook func_validate_options libtool_validate_options
  78319. +
  78320. +
  78321. +# Process options as early as possible so that --help and --version
  78322. +# can return quickly.
  78323. +func_options ${1+"$@"}
  78324. +eval set dummy "$func_options_result"; shift
  78325. +
  78326.  
  78327.  
  78328. +## ----------- ##
  78329. +## Main. ##
  78330. +## ----------- ##
  78331. +
  78332. +magic='%%%MAGIC variable%%%'
  78333. +magic_exe='%%%MAGIC EXE variable%%%'
  78334. +
  78335. +# Global variables.
  78336. +extracted_archives=
  78337. +extracted_serial=0
  78338. +
  78339. +# If this variable is set in any of the actions, the command in it
  78340. +# will be execed at the end. This prevents here-documents from being
  78341. +# left over by shells.
  78342. +exec_cmd=
  78343. +
  78344. +
  78345. +# A function that is used when there is no print builtin or printf.
  78346. +func_fallback_echo ()
  78347. +{
  78348. + eval 'cat <<_LTECHO_EOF
  78349. +$1
  78350. +_LTECHO_EOF'
  78351. +}
  78352. +
  78353. +# func_generated_by_libtool
  78354. +# True iff stdin has been generated by Libtool. This function is only
  78355. +# a basic sanity check; it will hardly flush out determined imposters.
  78356. +func_generated_by_libtool_p ()
  78357. +{
  78358. + $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
  78359. +}
  78360. +
  78361. # func_lalib_p file
  78362. -# True iff FILE is a libtool `.la' library or `.lo' object file.
  78363. +# True iff FILE is a libtool '.la' library or '.lo' object file.
  78364. # This function is only a basic sanity check; it will hardly flush out
  78365. # determined imposters.
  78366. func_lalib_p ()
  78367. {
  78368. test -f "$1" &&
  78369. - $SED -e 4q "$1" 2>/dev/null \
  78370. - | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
  78371. + $SED -e 4q "$1" 2>/dev/null | func_generated_by_libtool_p
  78372. }
  78373.  
  78374. # func_lalib_unsafe_p file
  78375. -# True iff FILE is a libtool `.la' library or `.lo' object file.
  78376. +# True iff FILE is a libtool '.la' library or '.lo' object file.
  78377. # This function implements the same check as func_lalib_p without
  78378. # resorting to external programs. To this end, it redirects stdin and
  78379. # closes it afterwards, without saving the original file descriptor.
  78380. # As a safety measure, use it only where a negative result would be
  78381. -# fatal anyway. Works if `file' does not exist.
  78382. +# fatal anyway. Works if 'file' does not exist.
  78383. func_lalib_unsafe_p ()
  78384. {
  78385. lalib_p=no
  78386. @@ -912,13 +2521,13 @@
  78387. for lalib_p_l in 1 2 3 4
  78388. do
  78389. read lalib_p_line
  78390. - case "$lalib_p_line" in
  78391. + case $lalib_p_line in
  78392. \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
  78393. esac
  78394. done
  78395. exec 0<&5 5<&-
  78396. fi
  78397. - test "$lalib_p" = yes
  78398. + test yes = "$lalib_p"
  78399. }
  78400.  
  78401. # func_ltwrapper_script_p file
  78402. @@ -927,7 +2536,8 @@
  78403. # determined imposters.
  78404. func_ltwrapper_script_p ()
  78405. {
  78406. - func_lalib_p "$1"
  78407. + test -f "$1" &&
  78408. + $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p
  78409. }
  78410.  
  78411. # func_ltwrapper_executable_p file
  78412. @@ -950,12 +2560,9 @@
  78413. # temporary ltwrapper_script.
  78414. func_ltwrapper_scriptname ()
  78415. {
  78416. - func_ltwrapper_scriptname_result=""
  78417. - if func_ltwrapper_executable_p "$1"; then
  78418. - func_dirname_and_basename "$1" "" "."
  78419. - func_stripname '' '.exe' "$func_basename_result"
  78420. - func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
  78421. - fi
  78422. + func_dirname_and_basename "$1" "" "."
  78423. + func_stripname '' '.exe' "$func_basename_result"
  78424. + func_ltwrapper_scriptname_result=$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper
  78425. }
  78426.  
  78427. # func_ltwrapper_p file
  78428. @@ -974,11 +2581,13 @@
  78429. # FAIL_CMD may read-access the current command in variable CMD!
  78430. func_execute_cmds ()
  78431. {
  78432. - $opt_debug
  78433. + $debug_cmd
  78434. +
  78435. save_ifs=$IFS; IFS='~'
  78436. for cmd in $1; do
  78437. - IFS=$save_ifs
  78438. + IFS=$sp$nl
  78439. eval cmd=\"$cmd\"
  78440. + IFS=$save_ifs
  78441. func_show_eval "$cmd" "${2-:}"
  78442. done
  78443. IFS=$save_ifs
  78444. @@ -990,10 +2599,11 @@
  78445. # Note that it is not necessary on cygwin/mingw to append a dot to
  78446. # FILE even if both FILE and FILE.exe exist: automatic-append-.exe
  78447. # behavior happens only for exec(3), not for open(2)! Also, sourcing
  78448. -# `FILE.' does not work on cygwin managed mounts.
  78449. +# 'FILE.' does not work on cygwin managed mounts.
  78450. func_source ()
  78451. {
  78452. - $opt_debug
  78453. + $debug_cmd
  78454. +
  78455. case $1 in
  78456. */* | *\\*) . "$1" ;;
  78457. *) . "./$1" ;;
  78458. @@ -1001,6 +2611,37 @@
  78459. }
  78460.  
  78461.  
  78462. +# func_resolve_sysroot PATH
  78463. +# Replace a leading = in PATH with a sysroot. Store the result into
  78464. +# func_resolve_sysroot_result
  78465. +func_resolve_sysroot ()
  78466. +{
  78467. + func_resolve_sysroot_result=$1
  78468. + case $func_resolve_sysroot_result in
  78469. + =*)
  78470. + func_stripname '=' '' "$func_resolve_sysroot_result"
  78471. + func_resolve_sysroot_result=$lt_sysroot$func_stripname_result
  78472. + ;;
  78473. + esac
  78474. +}
  78475. +
  78476. +# func_replace_sysroot PATH
  78477. +# If PATH begins with the sysroot, replace it with = and
  78478. +# store the result into func_replace_sysroot_result.
  78479. +func_replace_sysroot ()
  78480. +{
  78481. + case $lt_sysroot:$1 in
  78482. + ?*:"$lt_sysroot"*)
  78483. + func_stripname "$lt_sysroot" '' "$1"
  78484. + func_replace_sysroot_result='='$func_stripname_result
  78485. + ;;
  78486. + *)
  78487. + # Including no sysroot.
  78488. + func_replace_sysroot_result=$1
  78489. + ;;
  78490. + esac
  78491. +}
  78492. +
  78493. # func_infer_tag arg
  78494. # Infer tagged configuration to use if any are available and
  78495. # if one wasn't chosen via the "--tag" command line option.
  78496. @@ -1009,32 +2650,37 @@
  78497. # arg is usually of the form 'gcc ...'
  78498. func_infer_tag ()
  78499. {
  78500. - $opt_debug
  78501. + $debug_cmd
  78502. +
  78503. if test -n "$available_tags" && test -z "$tagname"; then
  78504. CC_quoted=
  78505. for arg in $CC; do
  78506. - func_quote_for_eval "$arg"
  78507. - CC_quoted="$CC_quoted $func_quote_for_eval_result"
  78508. + func_append_quoted CC_quoted "$arg"
  78509. done
  78510. + CC_expanded=`func_echo_all $CC`
  78511. + CC_quoted_expanded=`func_echo_all $CC_quoted`
  78512. case $@ in
  78513. # Blanks in the command may have been stripped by the calling shell,
  78514. # but not from the CC environment variable when configure was run.
  78515. - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
  78516. + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
  78517. + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
  78518. # Blanks at the start of $base_compile will cause this to fail
  78519. # if we don't check for them as well.
  78520. *)
  78521. for z in $available_tags; do
  78522. if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
  78523. # Evaluate the configuration.
  78524. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
  78525. + eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
  78526. CC_quoted=
  78527. for arg in $CC; do
  78528. # Double-quote args containing other shell metacharacters.
  78529. - func_quote_for_eval "$arg"
  78530. - CC_quoted="$CC_quoted $func_quote_for_eval_result"
  78531. + func_append_quoted CC_quoted "$arg"
  78532. done
  78533. + CC_expanded=`func_echo_all $CC`
  78534. + CC_quoted_expanded=`func_echo_all $CC_quoted`
  78535. case "$@ " in
  78536. - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
  78537. + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
  78538. + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
  78539. # The compiler in the base compile command matches
  78540. # the one in the tagged configuration.
  78541. # Assume this is the tagged configuration we want.
  78542. @@ -1049,7 +2695,7 @@
  78543. # line option must be used.
  78544. if test -z "$tagname"; then
  78545. func_echo "unable to infer tagged configuration"
  78546. - func_fatal_error "specify a tag with \`--tag'"
  78547. + func_fatal_error "specify a tag with '--tag'"
  78548. # else
  78549. # func_verbose "using $tagname tagged configuration"
  78550. fi
  78551. @@ -1065,15 +2711,15 @@
  78552. # but don't create it if we're doing a dry run.
  78553. func_write_libtool_object ()
  78554. {
  78555. - write_libobj=${1}
  78556. - if test "$build_libtool_libs" = yes; then
  78557. - write_lobj=\'${2}\'
  78558. + write_libobj=$1
  78559. + if test yes = "$build_libtool_libs"; then
  78560. + write_lobj=\'$2\'
  78561. else
  78562. write_lobj=none
  78563. fi
  78564.  
  78565. - if test "$build_old_libs" = yes; then
  78566. - write_oldobj=\'${3}\'
  78567. + if test yes = "$build_old_libs"; then
  78568. + write_oldobj=\'$3\'
  78569. else
  78570. write_oldobj=none
  78571. fi
  78572. @@ -1081,7 +2727,7 @@
  78573. $opt_dry_run || {
  78574. cat >${write_libobj}T <<EOF
  78575. # $write_libobj - a libtool object file
  78576. -# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  78577. +# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
  78578. #
  78579. # Please DO NOT delete this file!
  78580. # It is necessary for linking the library.
  78581. @@ -1093,17 +2739,536 @@
  78582. non_pic_object=$write_oldobj
  78583.  
  78584. EOF
  78585. - $MV "${write_libobj}T" "${write_libobj}"
  78586. + $MV "${write_libobj}T" "$write_libobj"
  78587. }
  78588. }
  78589.  
  78590. +
  78591. +##################################################
  78592. +# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS #
  78593. +##################################################
  78594. +
  78595. +# func_convert_core_file_wine_to_w32 ARG
  78596. +# Helper function used by file name conversion functions when $build is *nix,
  78597. +# and $host is mingw, cygwin, or some other w32 environment. Relies on a
  78598. +# correctly configured wine environment available, with the winepath program
  78599. +# in $build's $PATH.
  78600. +#
  78601. +# ARG is the $build file name to be converted to w32 format.
  78602. +# Result is available in $func_convert_core_file_wine_to_w32_result, and will
  78603. +# be empty on error (or when ARG is empty)
  78604. +func_convert_core_file_wine_to_w32 ()
  78605. +{
  78606. + $debug_cmd
  78607. +
  78608. + func_convert_core_file_wine_to_w32_result=$1
  78609. + if test -n "$1"; then
  78610. + # Unfortunately, winepath does not exit with a non-zero error code, so we
  78611. + # are forced to check the contents of stdout. On the other hand, if the
  78612. + # command is not found, the shell will set an exit code of 127 and print
  78613. + # *an error message* to stdout. So we must check for both error code of
  78614. + # zero AND non-empty stdout, which explains the odd construction:
  78615. + func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null`
  78616. + if test "$?" -eq 0 && test -n "$func_convert_core_file_wine_to_w32_tmp"; then
  78617. + func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" |
  78618. + $SED -e "$sed_naive_backslashify"`
  78619. + else
  78620. + func_convert_core_file_wine_to_w32_result=
  78621. + fi
  78622. + fi
  78623. +}
  78624. +# end: func_convert_core_file_wine_to_w32
  78625. +
  78626. +
  78627. +# func_convert_core_path_wine_to_w32 ARG
  78628. +# Helper function used by path conversion functions when $build is *nix, and
  78629. +# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly
  78630. +# configured wine environment available, with the winepath program in $build's
  78631. +# $PATH. Assumes ARG has no leading or trailing path separator characters.
  78632. +#
  78633. +# ARG is path to be converted from $build format to win32.
  78634. +# Result is available in $func_convert_core_path_wine_to_w32_result.
  78635. +# Unconvertible file (directory) names in ARG are skipped; if no directory names
  78636. +# are convertible, then the result may be empty.
  78637. +func_convert_core_path_wine_to_w32 ()
  78638. +{
  78639. + $debug_cmd
  78640. +
  78641. + # unfortunately, winepath doesn't convert paths, only file names
  78642. + func_convert_core_path_wine_to_w32_result=
  78643. + if test -n "$1"; then
  78644. + oldIFS=$IFS
  78645. + IFS=:
  78646. + for func_convert_core_path_wine_to_w32_f in $1; do
  78647. + IFS=$oldIFS
  78648. + func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f"
  78649. + if test -n "$func_convert_core_file_wine_to_w32_result"; then
  78650. + if test -z "$func_convert_core_path_wine_to_w32_result"; then
  78651. + func_convert_core_path_wine_to_w32_result=$func_convert_core_file_wine_to_w32_result
  78652. + else
  78653. + func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result"
  78654. + fi
  78655. + fi
  78656. + done
  78657. + IFS=$oldIFS
  78658. + fi
  78659. +}
  78660. +# end: func_convert_core_path_wine_to_w32
  78661. +
  78662. +
  78663. +# func_cygpath ARGS...
  78664. +# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when
  78665. +# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2)
  78666. +# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or
  78667. +# (2), returns the Cygwin file name or path in func_cygpath_result (input
  78668. +# file name or path is assumed to be in w32 format, as previously converted
  78669. +# from $build's *nix or MSYS format). In case (3), returns the w32 file name
  78670. +# or path in func_cygpath_result (input file name or path is assumed to be in
  78671. +# Cygwin format). Returns an empty string on error.
  78672. +#
  78673. +# ARGS are passed to cygpath, with the last one being the file name or path to
  78674. +# be converted.
  78675. +#
  78676. +# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH
  78677. +# environment variable; do not put it in $PATH.
  78678. +func_cygpath ()
  78679. +{
  78680. + $debug_cmd
  78681. +
  78682. + if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then
  78683. + func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null`
  78684. + if test "$?" -ne 0; then
  78685. + # on failure, ensure result is empty
  78686. + func_cygpath_result=
  78687. + fi
  78688. + else
  78689. + func_cygpath_result=
  78690. + func_error "LT_CYGPATH is empty or specifies non-existent file: '$LT_CYGPATH'"
  78691. + fi
  78692. +}
  78693. +#end: func_cygpath
  78694. +
  78695. +
  78696. +# func_convert_core_msys_to_w32 ARG
  78697. +# Convert file name or path ARG from MSYS format to w32 format. Return
  78698. +# result in func_convert_core_msys_to_w32_result.
  78699. +func_convert_core_msys_to_w32 ()
  78700. +{
  78701. + $debug_cmd
  78702. +
  78703. + # awkward: cmd appends spaces to result
  78704. + func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
  78705. + $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"`
  78706. +}
  78707. +#end: func_convert_core_msys_to_w32
  78708. +
  78709. +
  78710. +# func_convert_file_check ARG1 ARG2
  78711. +# Verify that ARG1 (a file name in $build format) was converted to $host
  78712. +# format in ARG2. Otherwise, emit an error message, but continue (resetting
  78713. +# func_to_host_file_result to ARG1).
  78714. +func_convert_file_check ()
  78715. +{
  78716. + $debug_cmd
  78717. +
  78718. + if test -z "$2" && test -n "$1"; then
  78719. + func_error "Could not determine host file name corresponding to"
  78720. + func_error " '$1'"
  78721. + func_error "Continuing, but uninstalled executables may not work."
  78722. + # Fallback:
  78723. + func_to_host_file_result=$1
  78724. + fi
  78725. +}
  78726. +# end func_convert_file_check
  78727. +
  78728. +
  78729. +# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH
  78730. +# Verify that FROM_PATH (a path in $build format) was converted to $host
  78731. +# format in TO_PATH. Otherwise, emit an error message, but continue, resetting
  78732. +# func_to_host_file_result to a simplistic fallback value (see below).
  78733. +func_convert_path_check ()
  78734. +{
  78735. + $debug_cmd
  78736. +
  78737. + if test -z "$4" && test -n "$3"; then
  78738. + func_error "Could not determine the host path corresponding to"
  78739. + func_error " '$3'"
  78740. + func_error "Continuing, but uninstalled executables may not work."
  78741. + # Fallback. This is a deliberately simplistic "conversion" and
  78742. + # should not be "improved". See libtool.info.
  78743. + if test "x$1" != "x$2"; then
  78744. + lt_replace_pathsep_chars="s|$1|$2|g"
  78745. + func_to_host_path_result=`echo "$3" |
  78746. + $SED -e "$lt_replace_pathsep_chars"`
  78747. + else
  78748. + func_to_host_path_result=$3
  78749. + fi
  78750. + fi
  78751. +}
  78752. +# end func_convert_path_check
  78753. +
  78754. +
  78755. +# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG
  78756. +# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT
  78757. +# and appending REPL if ORIG matches BACKPAT.
  78758. +func_convert_path_front_back_pathsep ()
  78759. +{
  78760. + $debug_cmd
  78761. +
  78762. + case $4 in
  78763. + $1 ) func_to_host_path_result=$3$func_to_host_path_result
  78764. + ;;
  78765. + esac
  78766. + case $4 in
  78767. + $2 ) func_append func_to_host_path_result "$3"
  78768. + ;;
  78769. + esac
  78770. +}
  78771. +# end func_convert_path_front_back_pathsep
  78772. +
  78773. +
  78774. +##################################################
  78775. +# $build to $host FILE NAME CONVERSION FUNCTIONS #
  78776. +##################################################
  78777. +# invoked via '$to_host_file_cmd ARG'
  78778. +#
  78779. +# In each case, ARG is the path to be converted from $build to $host format.
  78780. +# Result will be available in $func_to_host_file_result.
  78781. +
  78782. +
  78783. +# func_to_host_file ARG
  78784. +# Converts the file name ARG from $build format to $host format. Return result
  78785. +# in func_to_host_file_result.
  78786. +func_to_host_file ()
  78787. +{
  78788. + $debug_cmd
  78789. +
  78790. + $to_host_file_cmd "$1"
  78791. +}
  78792. +# end func_to_host_file
  78793. +
  78794. +
  78795. +# func_to_tool_file ARG LAZY
  78796. +# converts the file name ARG from $build format to toolchain format. Return
  78797. +# result in func_to_tool_file_result. If the conversion in use is listed
  78798. +# in (the comma separated) LAZY, no conversion takes place.
  78799. +func_to_tool_file ()
  78800. +{
  78801. + $debug_cmd
  78802. +
  78803. + case ,$2, in
  78804. + *,"$to_tool_file_cmd",*)
  78805. + func_to_tool_file_result=$1
  78806. + ;;
  78807. + *)
  78808. + $to_tool_file_cmd "$1"
  78809. + func_to_tool_file_result=$func_to_host_file_result
  78810. + ;;
  78811. + esac
  78812. +}
  78813. +# end func_to_tool_file
  78814. +
  78815. +
  78816. +# func_convert_file_noop ARG
  78817. +# Copy ARG to func_to_host_file_result.
  78818. +func_convert_file_noop ()
  78819. +{
  78820. + func_to_host_file_result=$1
  78821. +}
  78822. +# end func_convert_file_noop
  78823. +
  78824. +
  78825. +# func_convert_file_msys_to_w32 ARG
  78826. +# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic
  78827. +# conversion to w32 is not available inside the cwrapper. Returns result in
  78828. +# func_to_host_file_result.
  78829. +func_convert_file_msys_to_w32 ()
  78830. +{
  78831. + $debug_cmd
  78832. +
  78833. + func_to_host_file_result=$1
  78834. + if test -n "$1"; then
  78835. + func_convert_core_msys_to_w32 "$1"
  78836. + func_to_host_file_result=$func_convert_core_msys_to_w32_result
  78837. + fi
  78838. + func_convert_file_check "$1" "$func_to_host_file_result"
  78839. +}
  78840. +# end func_convert_file_msys_to_w32
  78841. +
  78842. +
  78843. +# func_convert_file_cygwin_to_w32 ARG
  78844. +# Convert file name ARG from Cygwin to w32 format. Returns result in
  78845. +# func_to_host_file_result.
  78846. +func_convert_file_cygwin_to_w32 ()
  78847. +{
  78848. + $debug_cmd
  78849. +
  78850. + func_to_host_file_result=$1
  78851. + if test -n "$1"; then
  78852. + # because $build is cygwin, we call "the" cygpath in $PATH; no need to use
  78853. + # LT_CYGPATH in this case.
  78854. + func_to_host_file_result=`cygpath -m "$1"`
  78855. + fi
  78856. + func_convert_file_check "$1" "$func_to_host_file_result"
  78857. +}
  78858. +# end func_convert_file_cygwin_to_w32
  78859. +
  78860. +
  78861. +# func_convert_file_nix_to_w32 ARG
  78862. +# Convert file name ARG from *nix to w32 format. Requires a wine environment
  78863. +# and a working winepath. Returns result in func_to_host_file_result.
  78864. +func_convert_file_nix_to_w32 ()
  78865. +{
  78866. + $debug_cmd
  78867. +
  78868. + func_to_host_file_result=$1
  78869. + if test -n "$1"; then
  78870. + func_convert_core_file_wine_to_w32 "$1"
  78871. + func_to_host_file_result=$func_convert_core_file_wine_to_w32_result
  78872. + fi
  78873. + func_convert_file_check "$1" "$func_to_host_file_result"
  78874. +}
  78875. +# end func_convert_file_nix_to_w32
  78876. +
  78877. +
  78878. +# func_convert_file_msys_to_cygwin ARG
  78879. +# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
  78880. +# Returns result in func_to_host_file_result.
  78881. +func_convert_file_msys_to_cygwin ()
  78882. +{
  78883. + $debug_cmd
  78884. +
  78885. + func_to_host_file_result=$1
  78886. + if test -n "$1"; then
  78887. + func_convert_core_msys_to_w32 "$1"
  78888. + func_cygpath -u "$func_convert_core_msys_to_w32_result"
  78889. + func_to_host_file_result=$func_cygpath_result
  78890. + fi
  78891. + func_convert_file_check "$1" "$func_to_host_file_result"
  78892. +}
  78893. +# end func_convert_file_msys_to_cygwin
  78894. +
  78895. +
  78896. +# func_convert_file_nix_to_cygwin ARG
  78897. +# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed
  78898. +# in a wine environment, working winepath, and LT_CYGPATH set. Returns result
  78899. +# in func_to_host_file_result.
  78900. +func_convert_file_nix_to_cygwin ()
  78901. +{
  78902. + $debug_cmd
  78903. +
  78904. + func_to_host_file_result=$1
  78905. + if test -n "$1"; then
  78906. + # convert from *nix to w32, then use cygpath to convert from w32 to cygwin.
  78907. + func_convert_core_file_wine_to_w32 "$1"
  78908. + func_cygpath -u "$func_convert_core_file_wine_to_w32_result"
  78909. + func_to_host_file_result=$func_cygpath_result
  78910. + fi
  78911. + func_convert_file_check "$1" "$func_to_host_file_result"
  78912. +}
  78913. +# end func_convert_file_nix_to_cygwin
  78914. +
  78915. +
  78916. +#############################################
  78917. +# $build to $host PATH CONVERSION FUNCTIONS #
  78918. +#############################################
  78919. +# invoked via '$to_host_path_cmd ARG'
  78920. +#
  78921. +# In each case, ARG is the path to be converted from $build to $host format.
  78922. +# The result will be available in $func_to_host_path_result.
  78923. +#
  78924. +# Path separators are also converted from $build format to $host format. If
  78925. +# ARG begins or ends with a path separator character, it is preserved (but
  78926. +# converted to $host format) on output.
  78927. +#
  78928. +# All path conversion functions are named using the following convention:
  78929. +# file name conversion function : func_convert_file_X_to_Y ()
  78930. +# path conversion function : func_convert_path_X_to_Y ()
  78931. +# where, for any given $build/$host combination the 'X_to_Y' value is the
  78932. +# same. If conversion functions are added for new $build/$host combinations,
  78933. +# the two new functions must follow this pattern, or func_init_to_host_path_cmd
  78934. +# will break.
  78935. +
  78936. +
  78937. +# func_init_to_host_path_cmd
  78938. +# Ensures that function "pointer" variable $to_host_path_cmd is set to the
  78939. +# appropriate value, based on the value of $to_host_file_cmd.
  78940. +to_host_path_cmd=
  78941. +func_init_to_host_path_cmd ()
  78942. +{
  78943. + $debug_cmd
  78944. +
  78945. + if test -z "$to_host_path_cmd"; then
  78946. + func_stripname 'func_convert_file_' '' "$to_host_file_cmd"
  78947. + to_host_path_cmd=func_convert_path_$func_stripname_result
  78948. + fi
  78949. +}
  78950. +
  78951. +
  78952. +# func_to_host_path ARG
  78953. +# Converts the path ARG from $build format to $host format. Return result
  78954. +# in func_to_host_path_result.
  78955. +func_to_host_path ()
  78956. +{
  78957. + $debug_cmd
  78958. +
  78959. + func_init_to_host_path_cmd
  78960. + $to_host_path_cmd "$1"
  78961. +}
  78962. +# end func_to_host_path
  78963. +
  78964. +
  78965. +# func_convert_path_noop ARG
  78966. +# Copy ARG to func_to_host_path_result.
  78967. +func_convert_path_noop ()
  78968. +{
  78969. + func_to_host_path_result=$1
  78970. +}
  78971. +# end func_convert_path_noop
  78972. +
  78973. +
  78974. +# func_convert_path_msys_to_w32 ARG
  78975. +# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic
  78976. +# conversion to w32 is not available inside the cwrapper. Returns result in
  78977. +# func_to_host_path_result.
  78978. +func_convert_path_msys_to_w32 ()
  78979. +{
  78980. + $debug_cmd
  78981. +
  78982. + func_to_host_path_result=$1
  78983. + if test -n "$1"; then
  78984. + # Remove leading and trailing path separator characters from ARG. MSYS
  78985. + # behavior is inconsistent here; cygpath turns them into '.;' and ';.';
  78986. + # and winepath ignores them completely.
  78987. + func_stripname : : "$1"
  78988. + func_to_host_path_tmp1=$func_stripname_result
  78989. + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
  78990. + func_to_host_path_result=$func_convert_core_msys_to_w32_result
  78991. + func_convert_path_check : ";" \
  78992. + "$func_to_host_path_tmp1" "$func_to_host_path_result"
  78993. + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
  78994. + fi
  78995. +}
  78996. +# end func_convert_path_msys_to_w32
  78997. +
  78998. +
  78999. +# func_convert_path_cygwin_to_w32 ARG
  79000. +# Convert path ARG from Cygwin to w32 format. Returns result in
  79001. +# func_to_host_file_result.
  79002. +func_convert_path_cygwin_to_w32 ()
  79003. +{
  79004. + $debug_cmd
  79005. +
  79006. + func_to_host_path_result=$1
  79007. + if test -n "$1"; then
  79008. + # See func_convert_path_msys_to_w32:
  79009. + func_stripname : : "$1"
  79010. + func_to_host_path_tmp1=$func_stripname_result
  79011. + func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"`
  79012. + func_convert_path_check : ";" \
  79013. + "$func_to_host_path_tmp1" "$func_to_host_path_result"
  79014. + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
  79015. + fi
  79016. +}
  79017. +# end func_convert_path_cygwin_to_w32
  79018. +
  79019. +
  79020. +# func_convert_path_nix_to_w32 ARG
  79021. +# Convert path ARG from *nix to w32 format. Requires a wine environment and
  79022. +# a working winepath. Returns result in func_to_host_file_result.
  79023. +func_convert_path_nix_to_w32 ()
  79024. +{
  79025. + $debug_cmd
  79026. +
  79027. + func_to_host_path_result=$1
  79028. + if test -n "$1"; then
  79029. + # See func_convert_path_msys_to_w32:
  79030. + func_stripname : : "$1"
  79031. + func_to_host_path_tmp1=$func_stripname_result
  79032. + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
  79033. + func_to_host_path_result=$func_convert_core_path_wine_to_w32_result
  79034. + func_convert_path_check : ";" \
  79035. + "$func_to_host_path_tmp1" "$func_to_host_path_result"
  79036. + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
  79037. + fi
  79038. +}
  79039. +# end func_convert_path_nix_to_w32
  79040. +
  79041. +
  79042. +# func_convert_path_msys_to_cygwin ARG
  79043. +# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
  79044. +# Returns result in func_to_host_file_result.
  79045. +func_convert_path_msys_to_cygwin ()
  79046. +{
  79047. + $debug_cmd
  79048. +
  79049. + func_to_host_path_result=$1
  79050. + if test -n "$1"; then
  79051. + # See func_convert_path_msys_to_w32:
  79052. + func_stripname : : "$1"
  79053. + func_to_host_path_tmp1=$func_stripname_result
  79054. + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
  79055. + func_cygpath -u -p "$func_convert_core_msys_to_w32_result"
  79056. + func_to_host_path_result=$func_cygpath_result
  79057. + func_convert_path_check : : \
  79058. + "$func_to_host_path_tmp1" "$func_to_host_path_result"
  79059. + func_convert_path_front_back_pathsep ":*" "*:" : "$1"
  79060. + fi
  79061. +}
  79062. +# end func_convert_path_msys_to_cygwin
  79063. +
  79064. +
  79065. +# func_convert_path_nix_to_cygwin ARG
  79066. +# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a
  79067. +# a wine environment, working winepath, and LT_CYGPATH set. Returns result in
  79068. +# func_to_host_file_result.
  79069. +func_convert_path_nix_to_cygwin ()
  79070. +{
  79071. + $debug_cmd
  79072. +
  79073. + func_to_host_path_result=$1
  79074. + if test -n "$1"; then
  79075. + # Remove leading and trailing path separator characters from
  79076. + # ARG. msys behavior is inconsistent here, cygpath turns them
  79077. + # into '.;' and ';.', and winepath ignores them completely.
  79078. + func_stripname : : "$1"
  79079. + func_to_host_path_tmp1=$func_stripname_result
  79080. + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
  79081. + func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result"
  79082. + func_to_host_path_result=$func_cygpath_result
  79083. + func_convert_path_check : : \
  79084. + "$func_to_host_path_tmp1" "$func_to_host_path_result"
  79085. + func_convert_path_front_back_pathsep ":*" "*:" : "$1"
  79086. + fi
  79087. +}
  79088. +# end func_convert_path_nix_to_cygwin
  79089. +
  79090. +
  79091. +# func_dll_def_p FILE
  79092. +# True iff FILE is a Windows DLL '.def' file.
  79093. +# Keep in sync with _LT_DLL_DEF_P in libtool.m4
  79094. +func_dll_def_p ()
  79095. +{
  79096. + $debug_cmd
  79097. +
  79098. + func_dll_def_p_tmp=`$SED -n \
  79099. + -e 's/^[ ]*//' \
  79100. + -e '/^\(;.*\)*$/d' \
  79101. + -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' \
  79102. + -e q \
  79103. + "$1"`
  79104. + test DEF = "$func_dll_def_p_tmp"
  79105. +}
  79106. +
  79107. +
  79108. # func_mode_compile arg...
  79109. func_mode_compile ()
  79110. {
  79111. - $opt_debug
  79112. + $debug_cmd
  79113. +
  79114. # Get the compilation command and the source file.
  79115. base_compile=
  79116. - srcfile="$nonopt" # always keep a non-empty value in "srcfile"
  79117. + srcfile=$nonopt # always keep a non-empty value in "srcfile"
  79118. suppress_opt=yes
  79119. suppress_output=
  79120. arg_mode=normal
  79121. @@ -1116,12 +3281,12 @@
  79122. case $arg_mode in
  79123. arg )
  79124. # do not "continue". Instead, add this to base_compile
  79125. - lastarg="$arg"
  79126. + lastarg=$arg
  79127. arg_mode=normal
  79128. ;;
  79129.  
  79130. target )
  79131. - libobj="$arg"
  79132. + libobj=$arg
  79133. arg_mode=normal
  79134. continue
  79135. ;;
  79136. @@ -1131,18 +3296,18 @@
  79137. case $arg in
  79138. -o)
  79139. test -n "$libobj" && \
  79140. - func_fatal_error "you cannot specify \`-o' more than once"
  79141. + func_fatal_error "you cannot specify '-o' more than once"
  79142. arg_mode=target
  79143. continue
  79144. ;;
  79145.  
  79146. -pie | -fpie | -fPIE)
  79147. - pie_flag="$pie_flag $arg"
  79148. + func_append pie_flag " $arg"
  79149. continue
  79150. ;;
  79151.  
  79152. -shared | -static | -prefer-pic | -prefer-non-pic)
  79153. - later="$later $arg"
  79154. + func_append later " $arg"
  79155. continue
  79156. ;;
  79157.  
  79158. @@ -1160,18 +3325,17 @@
  79159. func_stripname '-Wc,' '' "$arg"
  79160. args=$func_stripname_result
  79161. lastarg=
  79162. - save_ifs="$IFS"; IFS=','
  79163. + save_ifs=$IFS; IFS=,
  79164. for arg in $args; do
  79165. - IFS="$save_ifs"
  79166. - func_quote_for_eval "$arg"
  79167. - lastarg="$lastarg $func_quote_for_eval_result"
  79168. + IFS=$save_ifs
  79169. + func_append_quoted lastarg "$arg"
  79170. done
  79171. - IFS="$save_ifs"
  79172. + IFS=$save_ifs
  79173. func_stripname ' ' '' "$lastarg"
  79174. lastarg=$func_stripname_result
  79175.  
  79176. # Add the arguments to base_compile.
  79177. - base_compile="$base_compile $lastarg"
  79178. + func_append base_compile " $lastarg"
  79179. continue
  79180. ;;
  79181.  
  79182. @@ -1179,16 +3343,15 @@
  79183. # Accept the current argument as the source file.
  79184. # The previous "srcfile" becomes the current argument.
  79185. #
  79186. - lastarg="$srcfile"
  79187. - srcfile="$arg"
  79188. + lastarg=$srcfile
  79189. + srcfile=$arg
  79190. ;;
  79191. esac # case $arg
  79192. ;;
  79193. esac # case $arg_mode
  79194.  
  79195. # Aesthetically quote the previous argument.
  79196. - func_quote_for_eval "$lastarg"
  79197. - base_compile="$base_compile $func_quote_for_eval_result"
  79198. + func_append_quoted base_compile "$lastarg"
  79199. done # for arg
  79200.  
  79201. case $arg_mode in
  79202. @@ -1196,13 +3359,13 @@
  79203. func_fatal_error "you must specify an argument for -Xcompile"
  79204. ;;
  79205. target)
  79206. - func_fatal_error "you must specify a target with \`-o'"
  79207. + func_fatal_error "you must specify a target with '-o'"
  79208. ;;
  79209. *)
  79210. # Get the name of the library object.
  79211. test -z "$libobj" && {
  79212. func_basename "$srcfile"
  79213. - libobj="$func_basename_result"
  79214. + libobj=$func_basename_result
  79215. }
  79216. ;;
  79217. esac
  79218. @@ -1213,7 +3376,7 @@
  79219. *.[cCFSifmso] | \
  79220. *.ada | *.adb | *.ads | *.asm | \
  79221. *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
  79222. - *.[fF][09]? | *.for | *.java | *.obj | *.sx)
  79223. + *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
  79224. func_xform "$libobj"
  79225. libobj=$func_xform_result
  79226. ;;
  79227. @@ -1222,7 +3385,7 @@
  79228. case $libobj in
  79229. *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
  79230. *)
  79231. - func_fatal_error "cannot determine name of library object from \`$libobj'"
  79232. + func_fatal_error "cannot determine name of library object from '$libobj'"
  79233. ;;
  79234. esac
  79235.  
  79236. @@ -1231,8 +3394,8 @@
  79237. for arg in $later; do
  79238. case $arg in
  79239. -shared)
  79240. - test "$build_libtool_libs" != yes && \
  79241. - func_fatal_configuration "can not build a shared library"
  79242. + test yes = "$build_libtool_libs" \
  79243. + || func_fatal_configuration "cannot build a shared library"
  79244. build_old_libs=no
  79245. continue
  79246. ;;
  79247. @@ -1258,17 +3421,17 @@
  79248. func_quote_for_eval "$libobj"
  79249. test "X$libobj" != "X$func_quote_for_eval_result" \
  79250. && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
  79251. - && func_warning "libobj name \`$libobj' may not contain shell special characters."
  79252. + && func_warning "libobj name '$libobj' may not contain shell special characters."
  79253. func_dirname_and_basename "$obj" "/" ""
  79254. - objname="$func_basename_result"
  79255. - xdir="$func_dirname_result"
  79256. - lobj=${xdir}$objdir/$objname
  79257. + objname=$func_basename_result
  79258. + xdir=$func_dirname_result
  79259. + lobj=$xdir$objdir/$objname
  79260.  
  79261. test -z "$base_compile" && \
  79262. func_fatal_help "you must specify a compilation command"
  79263.  
  79264. # Delete any leftover library objects.
  79265. - if test "$build_old_libs" = yes; then
  79266. + if test yes = "$build_old_libs"; then
  79267. removelist="$obj $lobj $libobj ${libobj}T"
  79268. else
  79269. removelist="$lobj $libobj ${libobj}T"
  79270. @@ -1280,16 +3443,16 @@
  79271. pic_mode=default
  79272. ;;
  79273. esac
  79274. - if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
  79275. + if test no = "$pic_mode" && test pass_all != "$deplibs_check_method"; then
  79276. # non-PIC code in shared libraries is not supported
  79277. pic_mode=default
  79278. fi
  79279.  
  79280. # Calculate the filename of the output object if compiler does
  79281. # not support -o with -c
  79282. - if test "$compiler_c_o" = no; then
  79283. - output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
  79284. - lockfile="$output_obj.lock"
  79285. + if test no = "$compiler_c_o"; then
  79286. + output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext
  79287. + lockfile=$output_obj.lock
  79288. else
  79289. output_obj=
  79290. need_locks=no
  79291. @@ -1298,12 +3461,12 @@
  79292.  
  79293. # Lock this critical section if it is needed
  79294. # We use this script file to make the link, it avoids creating a new file
  79295. - if test "$need_locks" = yes; then
  79296. + if test yes = "$need_locks"; then
  79297. until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
  79298. func_echo "Waiting for $lockfile to be removed"
  79299. sleep 2
  79300. done
  79301. - elif test "$need_locks" = warn; then
  79302. + elif test warn = "$need_locks"; then
  79303. if test -f "$lockfile"; then
  79304. $ECHO "\
  79305. *** ERROR, $lockfile exists and contains:
  79306. @@ -1311,7 +3474,7 @@
  79307.  
  79308. This indicates that another process is trying to use the same
  79309. temporary object file, and libtool could not work around it because
  79310. -your compiler does not support \`-c' and \`-o' together. If you
  79311. +your compiler does not support '-c' and '-o' together. If you
  79312. repeat this compilation, it may succeed, by chance, but you had better
  79313. avoid parallel builds (make -j) in this platform, or get a better
  79314. compiler."
  79315. @@ -1319,26 +3482,25 @@
  79316. $opt_dry_run || $RM $removelist
  79317. exit $EXIT_FAILURE
  79318. fi
  79319. - removelist="$removelist $output_obj"
  79320. + func_append removelist " $output_obj"
  79321. $ECHO "$srcfile" > "$lockfile"
  79322. fi
  79323.  
  79324. $opt_dry_run || $RM $removelist
  79325. - removelist="$removelist $lockfile"
  79326. + func_append removelist " $lockfile"
  79327. trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
  79328.  
  79329. - if test -n "$fix_srcfile_path"; then
  79330. - eval srcfile=\"$fix_srcfile_path\"
  79331. - fi
  79332. + func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
  79333. + srcfile=$func_to_tool_file_result
  79334. func_quote_for_eval "$srcfile"
  79335. qsrcfile=$func_quote_for_eval_result
  79336.  
  79337. # Only build a PIC object if we are building libtool libraries.
  79338. - if test "$build_libtool_libs" = yes; then
  79339. + if test yes = "$build_libtool_libs"; then
  79340. # Without this assignment, base_compile gets emptied.
  79341. fbsd_hideous_sh_bug=$base_compile
  79342.  
  79343. - if test "$pic_mode" != no; then
  79344. + if test no != "$pic_mode"; then
  79345. command="$base_compile $qsrcfile $pic_flag"
  79346. else
  79347. # Don't build PIC code
  79348. @@ -1349,13 +3511,13 @@
  79349.  
  79350. if test -z "$output_obj"; then
  79351. # Place PIC objects in $objdir
  79352. - command="$command -o $lobj"
  79353. + func_append command " -o $lobj"
  79354. fi
  79355.  
  79356. func_show_eval_locale "$command" \
  79357. 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
  79358.  
  79359. - if test "$need_locks" = warn &&
  79360. + if test warn = "$need_locks" &&
  79361. test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
  79362. $ECHO "\
  79363. *** ERROR, $lockfile contains:
  79364. @@ -1366,7 +3528,7 @@
  79365.  
  79366. This indicates that another process is trying to use the same
  79367. temporary object file, and libtool could not work around it because
  79368. -your compiler does not support \`-c' and \`-o' together. If you
  79369. +your compiler does not support '-c' and '-o' together. If you
  79370. repeat this compilation, it may succeed, by chance, but you had better
  79371. avoid parallel builds (make -j) in this platform, or get a better
  79372. compiler."
  79373. @@ -1382,29 +3544,29 @@
  79374. fi
  79375.  
  79376. # Allow error messages only from the first compilation.
  79377. - if test "$suppress_opt" = yes; then
  79378. + if test yes = "$suppress_opt"; then
  79379. suppress_output=' >/dev/null 2>&1'
  79380. fi
  79381. fi
  79382.  
  79383. # Only build a position-dependent object if we build old libraries.
  79384. - if test "$build_old_libs" = yes; then
  79385. - if test "$pic_mode" != yes; then
  79386. + if test yes = "$build_old_libs"; then
  79387. + if test yes != "$pic_mode"; then
  79388. # Don't build PIC code
  79389. command="$base_compile $qsrcfile$pie_flag"
  79390. else
  79391. command="$base_compile $qsrcfile $pic_flag"
  79392. fi
  79393. - if test "$compiler_c_o" = yes; then
  79394. - command="$command -o $obj"
  79395. + if test yes = "$compiler_c_o"; then
  79396. + func_append command " -o $obj"
  79397. fi
  79398.  
  79399. # Suppress compiler output if we already did a PIC compilation.
  79400. - command="$command$suppress_output"
  79401. + func_append command "$suppress_output"
  79402. func_show_eval_locale "$command" \
  79403. '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
  79404.  
  79405. - if test "$need_locks" = warn &&
  79406. + if test warn = "$need_locks" &&
  79407. test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
  79408. $ECHO "\
  79409. *** ERROR, $lockfile contains:
  79410. @@ -1415,7 +3577,7 @@
  79411.  
  79412. This indicates that another process is trying to use the same
  79413. temporary object file, and libtool could not work around it because
  79414. -your compiler does not support \`-c' and \`-o' together. If you
  79415. +your compiler does not support '-c' and '-o' together. If you
  79416. repeat this compilation, it may succeed, by chance, but you had better
  79417. avoid parallel builds (make -j) in this platform, or get a better
  79418. compiler."
  79419. @@ -1435,7 +3597,7 @@
  79420. func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
  79421.  
  79422. # Unlock the critical section if it was locked
  79423. - if test "$need_locks" != no; then
  79424. + if test no != "$need_locks"; then
  79425. removelist=$lockfile
  79426. $RM "$lockfile"
  79427. fi
  79428. @@ -1445,13 +3607,13 @@
  79429. }
  79430.  
  79431. $opt_help || {
  79432. -test "$mode" = compile && func_mode_compile ${1+"$@"}
  79433. + test compile = "$opt_mode" && func_mode_compile ${1+"$@"}
  79434. }
  79435.  
  79436. func_mode_help ()
  79437. {
  79438. # We need to display help for each of the modes.
  79439. - case $mode in
  79440. + case $opt_mode in
  79441. "")
  79442. # Generic help is extracted from the usage comments
  79443. # at the start of this file.
  79444. @@ -1465,7 +3627,7 @@
  79445. Remove files from the build directory.
  79446.  
  79447. RM is the name of the program to use to delete files associated with each FILE
  79448. -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  79449. +(typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed
  79450. to RM.
  79451.  
  79452. If FILE is a libtool library, object or program, all the files associated
  79453. @@ -1482,17 +3644,18 @@
  79454.  
  79455. -o OUTPUT-FILE set the output file name to OUTPUT-FILE
  79456. -no-suppress do not suppress compiler output for multiple passes
  79457. - -prefer-pic try to building PIC objects only
  79458. - -prefer-non-pic try to building non-PIC objects only
  79459. - -shared do not build a \`.o' file suitable for static linking
  79460. - -static only build a \`.o' file suitable for static linking
  79461. + -prefer-pic try to build PIC objects only
  79462. + -prefer-non-pic try to build non-PIC objects only
  79463. + -shared do not build a '.o' file suitable for static linking
  79464. + -static only build a '.o' file suitable for static linking
  79465. + -Wc,FLAG pass FLAG directly to the compiler
  79466.  
  79467. -COMPILE-COMMAND is a command to be used in creating a \`standard' object file
  79468. +COMPILE-COMMAND is a command to be used in creating a 'standard' object file
  79469. from the given SOURCEFILE.
  79470.  
  79471. The output file name is determined by removing the directory component from
  79472. -SOURCEFILE, then substituting the C source code suffix \`.c' with the
  79473. -library object suffix, \`.lo'."
  79474. +SOURCEFILE, then substituting the C source code suffix '.c' with the
  79475. +library object suffix, '.lo'."
  79476. ;;
  79477.  
  79478. execute)
  79479. @@ -1505,7 +3668,7 @@
  79480.  
  79481. -dlopen FILE add the directory containing FILE to the library path
  79482.  
  79483. -This mode sets the library path environment variable according to \`-dlopen'
  79484. +This mode sets the library path environment variable according to '-dlopen'
  79485. flags.
  79486.  
  79487. If any of the ARGS are libtool executable wrappers, then they are translated
  79488. @@ -1524,7 +3687,7 @@
  79489. Each LIBDIR is a directory that contains libtool libraries.
  79490.  
  79491. The commands that this mode executes may require superuser privileges. Use
  79492. -the \`--dry-run' option if you just want to see what would be executed."
  79493. +the '--dry-run' option if you just want to see what would be executed."
  79494. ;;
  79495.  
  79496. install)
  79497. @@ -1534,11 +3697,11 @@
  79498. Install executables or libraries.
  79499.  
  79500. INSTALL-COMMAND is the installation command. The first component should be
  79501. -either the \`install' or \`cp' program.
  79502. +either the 'install' or 'cp' program.
  79503.  
  79504. The following components of INSTALL-COMMAND are treated specially:
  79505.  
  79506. - -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation
  79507. + -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation
  79508.  
  79509. The rest of the components are interpreted as arguments to that command (only
  79510. BSD-compatible install options are recognized)."
  79511. @@ -1558,7 +3721,9 @@
  79512.  
  79513. -all-static do not do any dynamic linking at all
  79514. -avoid-version do not add a version suffix if possible
  79515. - -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
  79516. + -bindir BINDIR specify path to binaries directory (for systems where
  79517. + libraries must be found in the PATH setting at runtime)
  79518. + -dlopen FILE '-dlpreopen' FILE if it cannot be dlopened at runtime
  79519. -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
  79520. -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
  79521. -export-symbols SYMFILE
  79522. @@ -1572,7 +3737,8 @@
  79523. -no-install link a not-installable executable
  79524. -no-undefined declare that a library does not refer to external symbols
  79525. -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
  79526. - -objectlist FILE Use a list of object files found in FILE to specify objects
  79527. + -objectlist FILE use a list of object files found in FILE to specify objects
  79528. + -os2dllname NAME force a short DLL name on OS/2 (no effect on other OSes)
  79529. -precious-files-regex REGEX
  79530. don't remove output files matching REGEX
  79531. -release RELEASE specify package release information
  79532. @@ -1586,21 +3752,26 @@
  79533. -version-info CURRENT[:REVISION[:AGE]]
  79534. specify library version info [each variable defaults to 0]
  79535. -weak LIBNAME declare that the target provides the LIBNAME interface
  79536. + -Wc,FLAG
  79537. + -Xcompiler FLAG pass linker-specific FLAG directly to the compiler
  79538. + -Wl,FLAG
  79539. + -Xlinker FLAG pass linker-specific FLAG directly to the linker
  79540. + -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
  79541.  
  79542. -All other options (arguments beginning with \`-') are ignored.
  79543. +All other options (arguments beginning with '-') are ignored.
  79544.  
  79545. -Every other argument is treated as a filename. Files ending in \`.la' are
  79546. +Every other argument is treated as a filename. Files ending in '.la' are
  79547. treated as uninstalled libtool libraries, other files are standard or library
  79548. object files.
  79549.  
  79550. -If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
  79551. -only library objects (\`.lo' files) may be specified, and \`-rpath' is
  79552. +If the OUTPUT-FILE ends in '.la', then a libtool library is created,
  79553. +only library objects ('.lo' files) may be specified, and '-rpath' is
  79554. required, except when creating a convenience library.
  79555.  
  79556. -If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
  79557. -using \`ar' and \`ranlib', or on Windows using \`lib'.
  79558. +If OUTPUT-FILE ends in '.a' or '.lib', then a standard library is created
  79559. +using 'ar' and 'ranlib', or on Windows using 'lib'.
  79560.  
  79561. -If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
  79562. +If OUTPUT-FILE ends in '.lo' or '.$objext', then a reloadable object file
  79563. is created, otherwise an executable program is created."
  79564. ;;
  79565.  
  79566. @@ -1611,7 +3782,7 @@
  79567. Remove libraries from an installation directory.
  79568.  
  79569. RM is the name of the program to use to delete files associated with each FILE
  79570. -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  79571. +(typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed
  79572. to RM.
  79573.  
  79574. If FILE is a libtool library, all the files associated with it are deleted.
  79575. @@ -1619,40 +3790,70 @@
  79576. ;;
  79577.  
  79578. *)
  79579. - func_fatal_help "invalid operation mode \`$mode'"
  79580. + func_fatal_help "invalid operation mode '$opt_mode'"
  79581. ;;
  79582. esac
  79583.  
  79584. - $ECHO
  79585. - $ECHO "Try \`$progname --help' for more information about other modes."
  79586. -
  79587. - exit $?
  79588. + echo
  79589. + $ECHO "Try '$progname --help' for more information about other modes."
  79590. }
  79591.  
  79592. - # Now that we've collected a possible --mode arg, show help if necessary
  79593. - $opt_help && func_mode_help
  79594. +# Now that we've collected a possible --mode arg, show help if necessary
  79595. +if $opt_help; then
  79596. + if test : = "$opt_help"; then
  79597. + func_mode_help
  79598. + else
  79599. + {
  79600. + func_help noexit
  79601. + for opt_mode in compile link execute install finish uninstall clean; do
  79602. + func_mode_help
  79603. + done
  79604. + } | $SED -n '1p; 2,$s/^Usage:/ or: /p'
  79605. + {
  79606. + func_help noexit
  79607. + for opt_mode in compile link execute install finish uninstall clean; do
  79608. + echo
  79609. + func_mode_help
  79610. + done
  79611. + } |
  79612. + $SED '1d
  79613. + /^When reporting/,/^Report/{
  79614. + H
  79615. + d
  79616. + }
  79617. + $x
  79618. + /information about other modes/d
  79619. + /more detailed .*MODE/d
  79620. + s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/'
  79621. + fi
  79622. + exit $?
  79623. +fi
  79624.  
  79625.  
  79626. # func_mode_execute arg...
  79627. func_mode_execute ()
  79628. {
  79629. - $opt_debug
  79630. + $debug_cmd
  79631. +
  79632. # The first argument is the command name.
  79633. - cmd="$nonopt"
  79634. + cmd=$nonopt
  79635. test -z "$cmd" && \
  79636. func_fatal_help "you must specify a COMMAND"
  79637.  
  79638. # Handle -dlopen flags immediately.
  79639. - for file in $execute_dlfiles; do
  79640. + for file in $opt_dlopen; do
  79641. test -f "$file" \
  79642. - || func_fatal_help "\`$file' is not a file"
  79643. + || func_fatal_help "'$file' is not a file"
  79644.  
  79645. dir=
  79646. case $file in
  79647. *.la)
  79648. + func_resolve_sysroot "$file"
  79649. + file=$func_resolve_sysroot_result
  79650. +
  79651. # Check to see that this really is a libtool archive.
  79652. func_lalib_unsafe_p "$file" \
  79653. - || func_fatal_help "\`$lib' is not a valid libtool archive"
  79654. + || func_fatal_help "'$lib' is not a valid libtool archive"
  79655.  
  79656. # Read the libtool library.
  79657. dlname=
  79658. @@ -1663,18 +3864,18 @@
  79659. if test -z "$dlname"; then
  79660. # Warn if it was a shared library.
  79661. test -n "$library_names" && \
  79662. - func_warning "\`$file' was not linked with \`-export-dynamic'"
  79663. + func_warning "'$file' was not linked with '-export-dynamic'"
  79664. continue
  79665. fi
  79666.  
  79667. func_dirname "$file" "" "."
  79668. - dir="$func_dirname_result"
  79669. + dir=$func_dirname_result
  79670.  
  79671. if test -f "$dir/$objdir/$dlname"; then
  79672. - dir="$dir/$objdir"
  79673. + func_append dir "/$objdir"
  79674. else
  79675. if test ! -f "$dir/$dlname"; then
  79676. - func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
  79677. + func_fatal_error "cannot find '$dlname' in '$dir' or '$dir/$objdir'"
  79678. fi
  79679. fi
  79680. ;;
  79681. @@ -1682,18 +3883,18 @@
  79682. *.lo)
  79683. # Just add the directory containing the .lo file.
  79684. func_dirname "$file" "" "."
  79685. - dir="$func_dirname_result"
  79686. + dir=$func_dirname_result
  79687. ;;
  79688.  
  79689. *)
  79690. - func_warning "\`-dlopen' is ignored for non-libtool libraries and objects"
  79691. + func_warning "'-dlopen' is ignored for non-libtool libraries and objects"
  79692. continue
  79693. ;;
  79694. esac
  79695.  
  79696. # Get the absolute pathname.
  79697. absdir=`cd "$dir" && pwd`
  79698. - test -n "$absdir" && dir="$absdir"
  79699. + test -n "$absdir" && dir=$absdir
  79700.  
  79701. # Now add the directory to shlibpath_var.
  79702. if eval "test -z \"\$$shlibpath_var\""; then
  79703. @@ -1705,34 +3906,41 @@
  79704.  
  79705. # This variable tells wrapper scripts just to set shlibpath_var
  79706. # rather than running their programs.
  79707. - libtool_execute_magic="$magic"
  79708. + libtool_execute_magic=$magic
  79709.  
  79710. # Check if any of the arguments is a wrapper script.
  79711. args=
  79712. for file
  79713. do
  79714. case $file in
  79715. - -*) ;;
  79716. + -* | *.la | *.lo ) ;;
  79717. *)
  79718. # Do a test to see if this is really a libtool program.
  79719. if func_ltwrapper_script_p "$file"; then
  79720. func_source "$file"
  79721. # Transform arg to wrapped name.
  79722. - file="$progdir/$program"
  79723. + file=$progdir/$program
  79724. elif func_ltwrapper_executable_p "$file"; then
  79725. func_ltwrapper_scriptname "$file"
  79726. func_source "$func_ltwrapper_scriptname_result"
  79727. # Transform arg to wrapped name.
  79728. - file="$progdir/$program"
  79729. + file=$progdir/$program
  79730. fi
  79731. ;;
  79732. esac
  79733. # Quote arguments (to preserve shell metacharacters).
  79734. - func_quote_for_eval "$file"
  79735. - args="$args $func_quote_for_eval_result"
  79736. + func_append_quoted args "$file"
  79737. done
  79738.  
  79739. - if test "X$opt_dry_run" = Xfalse; then
  79740. + if $opt_dry_run; then
  79741. + # Display what would be done.
  79742. + if test -n "$shlibpath_var"; then
  79743. + eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
  79744. + echo "export $shlibpath_var"
  79745. + fi
  79746. + $ECHO "$cmd$args"
  79747. + exit $EXIT_SUCCESS
  79748. + else
  79749. if test -n "$shlibpath_var"; then
  79750. # Export the shlibpath_var.
  79751. eval "export $shlibpath_var"
  79752. @@ -1749,34 +3957,64 @@
  79753. done
  79754.  
  79755. # Now prepare to actually exec the command.
  79756. - exec_cmd="\$cmd$args"
  79757. - else
  79758. - # Display what would be done.
  79759. - if test -n "$shlibpath_var"; then
  79760. - eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
  79761. - $ECHO "export $shlibpath_var"
  79762. - fi
  79763. - $ECHO "$cmd$args"
  79764. - exit $EXIT_SUCCESS
  79765. + exec_cmd=\$cmd$args
  79766. fi
  79767. }
  79768.  
  79769. -test "$mode" = execute && func_mode_execute ${1+"$@"}
  79770. +test execute = "$opt_mode" && func_mode_execute ${1+"$@"}
  79771.  
  79772.  
  79773. # func_mode_finish arg...
  79774. func_mode_finish ()
  79775. {
  79776. - $opt_debug
  79777. - libdirs="$nonopt"
  79778. + $debug_cmd
  79779. +
  79780. + libs=
  79781. + libdirs=
  79782. admincmds=
  79783.  
  79784. - if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
  79785. - for dir
  79786. - do
  79787. - libdirs="$libdirs $dir"
  79788. - done
  79789. + for opt in "$nonopt" ${1+"$@"}
  79790. + do
  79791. + if test -d "$opt"; then
  79792. + func_append libdirs " $opt"
  79793. +
  79794. + elif test -f "$opt"; then
  79795. + if func_lalib_unsafe_p "$opt"; then
  79796. + func_append libs " $opt"
  79797. + else
  79798. + func_warning "'$opt' is not a valid libtool archive"
  79799. + fi
  79800.  
  79801. + else
  79802. + func_fatal_error "invalid argument '$opt'"
  79803. + fi
  79804. + done
  79805. +
  79806. + if test -n "$libs"; then
  79807. + if test -n "$lt_sysroot"; then
  79808. + sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"`
  79809. + sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;"
  79810. + else
  79811. + sysroot_cmd=
  79812. + fi
  79813. +
  79814. + # Remove sysroot references
  79815. + if $opt_dry_run; then
  79816. + for lib in $libs; do
  79817. + echo "removing references to $lt_sysroot and '=' prefixes from $lib"
  79818. + done
  79819. + else
  79820. + tmpdir=`func_mktempdir`
  79821. + for lib in $libs; do
  79822. + $SED -e "$sysroot_cmd s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
  79823. + > $tmpdir/tmp-la
  79824. + mv -f $tmpdir/tmp-la $lib
  79825. + done
  79826. + ${RM}r "$tmpdir"
  79827. + fi
  79828. + fi
  79829. +
  79830. + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
  79831. for libdir in $libdirs; do
  79832. if test -n "$finish_cmds"; then
  79833. # Do each command in the finish commands.
  79834. @@ -1786,73 +4024,77 @@
  79835. if test -n "$finish_eval"; then
  79836. # Do the single finish_eval.
  79837. eval cmds=\"$finish_eval\"
  79838. - $opt_dry_run || eval "$cmds" || admincmds="$admincmds
  79839. + $opt_dry_run || eval "$cmds" || func_append admincmds "
  79840. $cmds"
  79841. fi
  79842. done
  79843. fi
  79844.  
  79845. # Exit here if they wanted silent mode.
  79846. - $opt_silent && exit $EXIT_SUCCESS
  79847. + $opt_quiet && exit $EXIT_SUCCESS
  79848.  
  79849. - $ECHO "X----------------------------------------------------------------------" | $Xsed
  79850. - $ECHO "Libraries have been installed in:"
  79851. - for libdir in $libdirs; do
  79852. - $ECHO " $libdir"
  79853. - done
  79854. - $ECHO
  79855. - $ECHO "If you ever happen to want to link against installed libraries"
  79856. - $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
  79857. - $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
  79858. - $ECHO "flag during linking and do at least one of the following:"
  79859. - if test -n "$shlibpath_var"; then
  79860. - $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable"
  79861. - $ECHO " during execution"
  79862. - fi
  79863. - if test -n "$runpath_var"; then
  79864. - $ECHO " - add LIBDIR to the \`$runpath_var' environment variable"
  79865. - $ECHO " during linking"
  79866. - fi
  79867. - if test -n "$hardcode_libdir_flag_spec"; then
  79868. - libdir=LIBDIR
  79869. - eval flag=\"$hardcode_libdir_flag_spec\"
  79870. + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
  79871. + echo "----------------------------------------------------------------------"
  79872. + echo "Libraries have been installed in:"
  79873. + for libdir in $libdirs; do
  79874. + $ECHO " $libdir"
  79875. + done
  79876. + echo
  79877. + echo "If you ever happen to want to link against installed libraries"
  79878. + echo "in a given directory, LIBDIR, you must either use libtool, and"
  79879. + echo "specify the full pathname of the library, or use the '-LLIBDIR'"
  79880. + echo "flag during linking and do at least one of the following:"
  79881. + if test -n "$shlibpath_var"; then
  79882. + echo " - add LIBDIR to the '$shlibpath_var' environment variable"
  79883. + echo " during execution"
  79884. + fi
  79885. + if test -n "$runpath_var"; then
  79886. + echo " - add LIBDIR to the '$runpath_var' environment variable"
  79887. + echo " during linking"
  79888. + fi
  79889. + if test -n "$hardcode_libdir_flag_spec"; then
  79890. + libdir=LIBDIR
  79891. + eval flag=\"$hardcode_libdir_flag_spec\"
  79892.  
  79893. - $ECHO " - use the \`$flag' linker flag"
  79894. - fi
  79895. - if test -n "$admincmds"; then
  79896. - $ECHO " - have your system administrator run these commands:$admincmds"
  79897. - fi
  79898. - if test -f /etc/ld.so.conf; then
  79899. - $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
  79900. - fi
  79901. - $ECHO
  79902. + $ECHO " - use the '$flag' linker flag"
  79903. + fi
  79904. + if test -n "$admincmds"; then
  79905. + $ECHO " - have your system administrator run these commands:$admincmds"
  79906. + fi
  79907. + if test -f /etc/ld.so.conf; then
  79908. + echo " - have your system administrator add LIBDIR to '/etc/ld.so.conf'"
  79909. + fi
  79910. + echo
  79911.  
  79912. - $ECHO "See any operating system documentation about shared libraries for"
  79913. - case $host in
  79914. - solaris2.[6789]|solaris2.1[0-9])
  79915. - $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
  79916. - $ECHO "pages."
  79917. - ;;
  79918. - *)
  79919. - $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
  79920. - ;;
  79921. - esac
  79922. - $ECHO "X----------------------------------------------------------------------" | $Xsed
  79923. + echo "See any operating system documentation about shared libraries for"
  79924. + case $host in
  79925. + solaris2.[6789]|solaris2.1[0-9])
  79926. + echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
  79927. + echo "pages."
  79928. + ;;
  79929. + *)
  79930. + echo "more information, such as the ld(1) and ld.so(8) manual pages."
  79931. + ;;
  79932. + esac
  79933. + echo "----------------------------------------------------------------------"
  79934. + fi
  79935. exit $EXIT_SUCCESS
  79936. }
  79937.  
  79938. -test "$mode" = finish && func_mode_finish ${1+"$@"}
  79939. +test finish = "$opt_mode" && func_mode_finish ${1+"$@"}
  79940.  
  79941.  
  79942. # func_mode_install arg...
  79943. func_mode_install ()
  79944. {
  79945. - $opt_debug
  79946. + $debug_cmd
  79947. +
  79948. # There may be an optional sh(1) argument at the beginning of
  79949. # install_prog (especially on Windows NT).
  79950. - if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
  79951. + if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" ||
  79952. # Allow the use of GNU shtool's install command.
  79953. - $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
  79954. + case $nonopt in *shtool*) :;; *) false;; esac
  79955. + then
  79956. # Aesthetically quote it.
  79957. func_quote_for_eval "$nonopt"
  79958. install_prog="$func_quote_for_eval_result "
  79959. @@ -1866,7 +4108,12 @@
  79960. # The real first argument should be the name of the installation program.
  79961. # Aesthetically quote it.
  79962. func_quote_for_eval "$arg"
  79963. - install_prog="$install_prog$func_quote_for_eval_result"
  79964. + func_append install_prog "$func_quote_for_eval_result"
  79965. + install_shared_prog=$install_prog
  79966. + case " $install_prog " in
  79967. + *[\\\ /]cp\ *) install_cp=: ;;
  79968. + *) install_cp=false ;;
  79969. + esac
  79970.  
  79971. # We need to accept at least all the BSD install flags.
  79972. dest=
  79973. @@ -1874,23 +4121,24 @@
  79974. opts=
  79975. prev=
  79976. install_type=
  79977. - isdir=no
  79978. + isdir=false
  79979. stripme=
  79980. + no_mode=:
  79981. for arg
  79982. do
  79983. + arg2=
  79984. if test -n "$dest"; then
  79985. - files="$files $dest"
  79986. + func_append files " $dest"
  79987. dest=$arg
  79988. continue
  79989. fi
  79990.  
  79991. case $arg in
  79992. - -d) isdir=yes ;;
  79993. + -d) isdir=: ;;
  79994. -f)
  79995. - case " $install_prog " in
  79996. - *[\\\ /]cp\ *) ;;
  79997. - *) prev=$arg ;;
  79998. - esac
  79999. + if $install_cp; then :; else
  80000. + prev=$arg
  80001. + fi
  80002. ;;
  80003. -g | -m | -o)
  80004. prev=$arg
  80005. @@ -1904,6 +4152,10 @@
  80006. *)
  80007. # If the previous option needed an argument, then skip it.
  80008. if test -n "$prev"; then
  80009. + if test X-m = "X$prev" && test -n "$install_override_mode"; then
  80010. + arg2=$install_override_mode
  80011. + no_mode=false
  80012. + fi
  80013. prev=
  80014. else
  80015. dest=$arg
  80016. @@ -1914,14 +4166,25 @@
  80017.  
  80018. # Aesthetically quote the argument.
  80019. func_quote_for_eval "$arg"
  80020. - install_prog="$install_prog $func_quote_for_eval_result"
  80021. + func_append install_prog " $func_quote_for_eval_result"
  80022. + if test -n "$arg2"; then
  80023. + func_quote_for_eval "$arg2"
  80024. + fi
  80025. + func_append install_shared_prog " $func_quote_for_eval_result"
  80026. done
  80027.  
  80028. test -z "$install_prog" && \
  80029. func_fatal_help "you must specify an install program"
  80030.  
  80031. test -n "$prev" && \
  80032. - func_fatal_help "the \`$prev' option requires an argument"
  80033. + func_fatal_help "the '$prev' option requires an argument"
  80034. +
  80035. + if test -n "$install_override_mode" && $no_mode; then
  80036. + if $install_cp; then :; else
  80037. + func_quote_for_eval "$install_override_mode"
  80038. + func_append install_shared_prog " -m $func_quote_for_eval_result"
  80039. + fi
  80040. + fi
  80041.  
  80042. if test -z "$files"; then
  80043. if test -z "$dest"; then
  80044. @@ -1936,19 +4199,19 @@
  80045. dest=$func_stripname_result
  80046.  
  80047. # Check to see that the destination is a directory.
  80048. - test -d "$dest" && isdir=yes
  80049. - if test "$isdir" = yes; then
  80050. - destdir="$dest"
  80051. + test -d "$dest" && isdir=:
  80052. + if $isdir; then
  80053. + destdir=$dest
  80054. destname=
  80055. else
  80056. func_dirname_and_basename "$dest" "" "."
  80057. - destdir="$func_dirname_result"
  80058. - destname="$func_basename_result"
  80059. + destdir=$func_dirname_result
  80060. + destname=$func_basename_result
  80061.  
  80062. # Not a directory, so check to see that there is only one file specified.
  80063. set dummy $files; shift
  80064. test "$#" -gt 1 && \
  80065. - func_fatal_help "\`$dest' is not a directory"
  80066. + func_fatal_help "'$dest' is not a directory"
  80067. fi
  80068. case $destdir in
  80069. [\\/]* | [A-Za-z]:[\\/]*) ;;
  80070. @@ -1957,7 +4220,7 @@
  80071. case $file in
  80072. *.lo) ;;
  80073. *)
  80074. - func_fatal_help "\`$destdir' must be an absolute directory name"
  80075. + func_fatal_help "'$destdir' must be an absolute directory name"
  80076. ;;
  80077. esac
  80078. done
  80079. @@ -1966,7 +4229,7 @@
  80080.  
  80081. # This variable tells wrapper scripts just to set variables rather
  80082. # than running their programs.
  80083. - libtool_install_magic="$magic"
  80084. + libtool_install_magic=$magic
  80085.  
  80086. staticlibs=
  80087. future_libdirs=
  80088. @@ -1977,13 +4240,16 @@
  80089. case $file in
  80090. *.$libext)
  80091. # Do the static libraries later.
  80092. - staticlibs="$staticlibs $file"
  80093. + func_append staticlibs " $file"
  80094. ;;
  80095.  
  80096. *.la)
  80097. + func_resolve_sysroot "$file"
  80098. + file=$func_resolve_sysroot_result
  80099. +
  80100. # Check to see that this really is a libtool archive.
  80101. func_lalib_unsafe_p "$file" \
  80102. - || func_fatal_help "\`$file' is not a valid libtool archive"
  80103. + || func_fatal_help "'$file' is not a valid libtool archive"
  80104.  
  80105. library_names=
  80106. old_library=
  80107. @@ -1994,23 +4260,23 @@
  80108. if test "X$destdir" = "X$libdir"; then
  80109. case "$current_libdirs " in
  80110. *" $libdir "*) ;;
  80111. - *) current_libdirs="$current_libdirs $libdir" ;;
  80112. + *) func_append current_libdirs " $libdir" ;;
  80113. esac
  80114. else
  80115. # Note the libdir as a future libdir.
  80116. case "$future_libdirs " in
  80117. *" $libdir "*) ;;
  80118. - *) future_libdirs="$future_libdirs $libdir" ;;
  80119. + *) func_append future_libdirs " $libdir" ;;
  80120. esac
  80121. fi
  80122.  
  80123. func_dirname "$file" "/" ""
  80124. - dir="$func_dirname_result"
  80125. - dir="$dir$objdir"
  80126. + dir=$func_dirname_result
  80127. + func_append dir "$objdir"
  80128.  
  80129. if test -n "$relink_command"; then
  80130. # Determine the prefix the user has applied to our future dir.
  80131. - inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
  80132. + inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
  80133.  
  80134. # Don't allow the user to place us outside of our expected
  80135. # location b/c this prevents finding dependent libraries that
  80136. @@ -2019,38 +4285,45 @@
  80137. # are installed into $libdir/../bin (currently, that works fine)
  80138. # but it's something to keep an eye on.
  80139. test "$inst_prefix_dir" = "$destdir" && \
  80140. - func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
  80141. + func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir"
  80142.  
  80143. if test -n "$inst_prefix_dir"; then
  80144. # Stick the inst_prefix_dir data into the link command.
  80145. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
  80146. + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
  80147. else
  80148. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
  80149. + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
  80150. fi
  80151.  
  80152. - func_warning "relinking \`$file'"
  80153. + func_warning "relinking '$file'"
  80154. func_show_eval "$relink_command" \
  80155. - 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
  80156. + 'func_fatal_error "error: relink '\''$file'\'' with the above command before installing it"'
  80157. fi
  80158.  
  80159. # See the names of the shared library.
  80160. set dummy $library_names; shift
  80161. if test -n "$1"; then
  80162. - realname="$1"
  80163. + realname=$1
  80164. shift
  80165.  
  80166. - srcname="$realname"
  80167. - test -n "$relink_command" && srcname="$realname"T
  80168. + srcname=$realname
  80169. + test -n "$relink_command" && srcname=${realname}T
  80170.  
  80171. # Install the shared library and build the symlinks.
  80172. - func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
  80173. + func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
  80174. 'exit $?'
  80175. - tstripme="$stripme"
  80176. + tstripme=$stripme
  80177. case $host_os in
  80178. cygwin* | mingw* | pw32* | cegcc*)
  80179. case $realname in
  80180. *.dll.a)
  80181. - tstripme=""
  80182. + tstripme=
  80183. + ;;
  80184. + esac
  80185. + ;;
  80186. + os2*)
  80187. + case $realname in
  80188. + *_dll.a)
  80189. + tstripme=
  80190. ;;
  80191. esac
  80192. ;;
  80193. @@ -2061,7 +4334,7 @@
  80194.  
  80195. if test "$#" -gt 0; then
  80196. # Delete the old symlinks, and create new ones.
  80197. - # Try `ln -sf' first, because the `ln' binary might depend on
  80198. + # Try 'ln -sf' first, because the 'ln' binary might depend on
  80199. # the symlink we replace! Solaris /bin/ln does not understand -f,
  80200. # so we also need to try rm && ln -s.
  80201. for linkname
  80202. @@ -2072,18 +4345,18 @@
  80203. fi
  80204.  
  80205. # Do each command in the postinstall commands.
  80206. - lib="$destdir/$realname"
  80207. + lib=$destdir/$realname
  80208. func_execute_cmds "$postinstall_cmds" 'exit $?'
  80209. fi
  80210.  
  80211. # Install the pseudo-library for information purposes.
  80212. func_basename "$file"
  80213. - name="$func_basename_result"
  80214. - instname="$dir/$name"i
  80215. + name=$func_basename_result
  80216. + instname=$dir/${name}i
  80217. func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
  80218.  
  80219. # Maybe install the static library, too.
  80220. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
  80221. + test -n "$old_library" && func_append staticlibs " $dir/$old_library"
  80222. ;;
  80223.  
  80224. *.lo)
  80225. @@ -2091,11 +4364,11 @@
  80226.  
  80227. # Figure out destination file name, if it wasn't already specified.
  80228. if test -n "$destname"; then
  80229. - destfile="$destdir/$destname"
  80230. + destfile=$destdir/$destname
  80231. else
  80232. func_basename "$file"
  80233. - destfile="$func_basename_result"
  80234. - destfile="$destdir/$destfile"
  80235. + destfile=$func_basename_result
  80236. + destfile=$destdir/$destfile
  80237. fi
  80238.  
  80239. # Deduce the name of the destination old-style object file.
  80240. @@ -2105,11 +4378,11 @@
  80241. staticdest=$func_lo2o_result
  80242. ;;
  80243. *.$objext)
  80244. - staticdest="$destfile"
  80245. + staticdest=$destfile
  80246. destfile=
  80247. ;;
  80248. *)
  80249. - func_fatal_help "cannot copy a libtool object to \`$destfile'"
  80250. + func_fatal_help "cannot copy a libtool object to '$destfile'"
  80251. ;;
  80252. esac
  80253.  
  80254. @@ -2118,7 +4391,7 @@
  80255. func_show_eval "$install_prog $file $destfile" 'exit $?'
  80256.  
  80257. # Install the old object if enabled.
  80258. - if test "$build_old_libs" = yes; then
  80259. + if test yes = "$build_old_libs"; then
  80260. # Deduce the name of the old-style object file.
  80261. func_lo2o "$file"
  80262. staticobj=$func_lo2o_result
  80263. @@ -2130,23 +4403,23 @@
  80264. *)
  80265. # Figure out destination file name, if it wasn't already specified.
  80266. if test -n "$destname"; then
  80267. - destfile="$destdir/$destname"
  80268. + destfile=$destdir/$destname
  80269. else
  80270. func_basename "$file"
  80271. - destfile="$func_basename_result"
  80272. - destfile="$destdir/$destfile"
  80273. + destfile=$func_basename_result
  80274. + destfile=$destdir/$destfile
  80275. fi
  80276.  
  80277. # If the file is missing, and there is a .exe on the end, strip it
  80278. # because it is most likely a libtool script we actually want to
  80279. # install
  80280. - stripped_ext=""
  80281. + stripped_ext=
  80282. case $file in
  80283. *.exe)
  80284. if test ! -f "$file"; then
  80285. func_stripname '' '.exe' "$file"
  80286. file=$func_stripname_result
  80287. - stripped_ext=".exe"
  80288. + stripped_ext=.exe
  80289. fi
  80290. ;;
  80291. esac
  80292. @@ -2174,19 +4447,19 @@
  80293.  
  80294. # Check the variables that should have been set.
  80295. test -z "$generated_by_libtool_version" && \
  80296. - func_fatal_error "invalid libtool wrapper script \`$wrapper'"
  80297. + func_fatal_error "invalid libtool wrapper script '$wrapper'"
  80298.  
  80299. - finalize=yes
  80300. + finalize=:
  80301. for lib in $notinst_deplibs; do
  80302. # Check to see that each library is installed.
  80303. libdir=
  80304. if test -f "$lib"; then
  80305. func_source "$lib"
  80306. fi
  80307. - libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
  80308. + libfile=$libdir/`$ECHO "$lib" | $SED 's%^.*/%%g'`
  80309. if test -n "$libdir" && test ! -f "$libfile"; then
  80310. - func_warning "\`$lib' has not been installed in \`$libdir'"
  80311. - finalize=no
  80312. + func_warning "'$lib' has not been installed in '$libdir'"
  80313. + finalize=false
  80314. fi
  80315. done
  80316.  
  80317. @@ -2194,34 +4467,34 @@
  80318. func_source "$wrapper"
  80319.  
  80320. outputname=
  80321. - if test "$fast_install" = no && test -n "$relink_command"; then
  80322. + if test no = "$fast_install" && test -n "$relink_command"; then
  80323. $opt_dry_run || {
  80324. - if test "$finalize" = yes; then
  80325. + if $finalize; then
  80326. tmpdir=`func_mktempdir`
  80327. func_basename "$file$stripped_ext"
  80328. - file="$func_basename_result"
  80329. - outputname="$tmpdir/$file"
  80330. + file=$func_basename_result
  80331. + outputname=$tmpdir/$file
  80332. # Replace the output file specification.
  80333. - relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
  80334. + relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
  80335.  
  80336. - $opt_silent || {
  80337. + $opt_quiet || {
  80338. func_quote_for_expand "$relink_command"
  80339. eval "func_echo $func_quote_for_expand_result"
  80340. }
  80341. if eval "$relink_command"; then :
  80342. else
  80343. - func_error "error: relink \`$file' with the above command before installing it"
  80344. + func_error "error: relink '$file' with the above command before installing it"
  80345. $opt_dry_run || ${RM}r "$tmpdir"
  80346. continue
  80347. fi
  80348. - file="$outputname"
  80349. + file=$outputname
  80350. else
  80351. - func_warning "cannot relink \`$file'"
  80352. + func_warning "cannot relink '$file'"
  80353. fi
  80354. }
  80355. else
  80356. # Install the binary that we compiled earlier.
  80357. - file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
  80358. + file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
  80359. fi
  80360. fi
  80361.  
  80362. @@ -2253,15 +4526,17 @@
  80363.  
  80364. for file in $staticlibs; do
  80365. func_basename "$file"
  80366. - name="$func_basename_result"
  80367. + name=$func_basename_result
  80368.  
  80369. # Set up the ranlib parameters.
  80370. - oldlib="$destdir/$name"
  80371. + oldlib=$destdir/$name
  80372. + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
  80373. + tool_oldlib=$func_to_tool_file_result
  80374.  
  80375. func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
  80376.  
  80377. if test -n "$stripme" && test -n "$old_striplib"; then
  80378. - func_show_eval "$old_striplib $oldlib" 'exit $?'
  80379. + func_show_eval "$old_striplib $tool_oldlib" 'exit $?'
  80380. fi
  80381.  
  80382. # Do each command in the postinstall commands.
  80383. @@ -2269,18 +4544,18 @@
  80384. done
  80385.  
  80386. test -n "$future_libdirs" && \
  80387. - func_warning "remember to run \`$progname --finish$future_libdirs'"
  80388. + func_warning "remember to run '$progname --finish$future_libdirs'"
  80389.  
  80390. if test -n "$current_libdirs"; then
  80391. # Maybe just do a dry run.
  80392. $opt_dry_run && current_libdirs=" -n$current_libdirs"
  80393. - exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
  80394. + exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs'
  80395. else
  80396. exit $EXIT_SUCCESS
  80397. fi
  80398. }
  80399.  
  80400. -test "$mode" = install && func_mode_install ${1+"$@"}
  80401. +test install = "$opt_mode" && func_mode_install ${1+"$@"}
  80402.  
  80403.  
  80404. # func_generate_dlsyms outputname originator pic_p
  80405. @@ -2288,16 +4563,17 @@
  80406. # a dlpreopen symbol table.
  80407. func_generate_dlsyms ()
  80408. {
  80409. - $opt_debug
  80410. - my_outputname="$1"
  80411. - my_originator="$2"
  80412. - my_pic_p="${3-no}"
  80413. - my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'`
  80414. + $debug_cmd
  80415. +
  80416. + my_outputname=$1
  80417. + my_originator=$2
  80418. + my_pic_p=${3-false}
  80419. + my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'`
  80420. my_dlsyms=
  80421.  
  80422. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  80423. + if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
  80424. if test -n "$NM" && test -n "$global_symbol_pipe"; then
  80425. - my_dlsyms="${my_outputname}S.c"
  80426. + my_dlsyms=${my_outputname}S.c
  80427. else
  80428. func_error "not configured to extract global symbols from dlpreopened files"
  80429. fi
  80430. @@ -2308,7 +4584,7 @@
  80431. "") ;;
  80432. *.c)
  80433. # Discover the nlist of each of the dlfiles.
  80434. - nlist="$output_objdir/${my_outputname}.nm"
  80435. + nlist=$output_objdir/$my_outputname.nm
  80436.  
  80437. func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
  80438.  
  80439. @@ -2316,26 +4592,45 @@
  80440. func_verbose "creating $output_objdir/$my_dlsyms"
  80441.  
  80442. $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
  80443. -/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */
  80444. -/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */
  80445. +/* $my_dlsyms - symbol resolution table for '$my_outputname' dlsym emulation. */
  80446. +/* Generated by $PROGRAM (GNU $PACKAGE) $VERSION */
  80447.  
  80448. #ifdef __cplusplus
  80449. extern \"C\" {
  80450. #endif
  80451.  
  80452. +#if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
  80453. +#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
  80454. +#endif
  80455. +
  80456. +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  80457. +#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
  80458. +/* DATA imports from DLLs on WIN32 can't be const, because runtime
  80459. + relocations are performed -- see ld's documentation on pseudo-relocs. */
  80460. +# define LT_DLSYM_CONST
  80461. +#elif defined __osf__
  80462. +/* This system does not cope well with relocations in const data. */
  80463. +# define LT_DLSYM_CONST
  80464. +#else
  80465. +# define LT_DLSYM_CONST const
  80466. +#endif
  80467. +
  80468. +#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
  80469. +
  80470. /* External symbol declarations for the compiler. */\
  80471. "
  80472.  
  80473. - if test "$dlself" = yes; then
  80474. - func_verbose "generating symbol list for \`$output'"
  80475. + if test yes = "$dlself"; then
  80476. + func_verbose "generating symbol list for '$output'"
  80477.  
  80478. $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
  80479.  
  80480. # Add our own program objects to the symbol list.
  80481. - progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  80482. + progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
  80483. for progfile in $progfiles; do
  80484. - func_verbose "extracting global C symbols from \`$progfile'"
  80485. - $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
  80486. + func_to_tool_file "$progfile" func_convert_file_msys_to_w32
  80487. + func_verbose "extracting global C symbols from '$func_to_tool_file_result'"
  80488. + $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'"
  80489. done
  80490.  
  80491. if test -n "$exclude_expsyms"; then
  80492. @@ -2354,10 +4649,10 @@
  80493.  
  80494. # Prepare the list of exported symbols
  80495. if test -z "$export_symbols"; then
  80496. - export_symbols="$output_objdir/$outputname.exp"
  80497. + export_symbols=$output_objdir/$outputname.exp
  80498. $opt_dry_run || {
  80499. $RM $export_symbols
  80500. - eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
  80501. + eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
  80502. case $host in
  80503. *cygwin* | *mingw* | *cegcc* )
  80504. eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  80505. @@ -2367,11 +4662,11 @@
  80506. }
  80507. else
  80508. $opt_dry_run || {
  80509. - eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
  80510. + eval "$SED -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
  80511. eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
  80512. eval '$MV "$nlist"T "$nlist"'
  80513. case $host in
  80514. - *cygwin | *mingw* | *cegcc* )
  80515. + *cygwin* | *mingw* | *cegcc* )
  80516. eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  80517. eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
  80518. ;;
  80519. @@ -2381,13 +4676,55 @@
  80520. fi
  80521.  
  80522. for dlprefile in $dlprefiles; do
  80523. - func_verbose "extracting global C symbols from \`$dlprefile'"
  80524. + func_verbose "extracting global C symbols from '$dlprefile'"
  80525. func_basename "$dlprefile"
  80526. - name="$func_basename_result"
  80527. - $opt_dry_run || {
  80528. - eval '$ECHO ": $name " >> "$nlist"'
  80529. - eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
  80530. - }
  80531. + name=$func_basename_result
  80532. + case $host in
  80533. + *cygwin* | *mingw* | *cegcc* )
  80534. + # if an import library, we need to obtain dlname
  80535. + if func_win32_import_lib_p "$dlprefile"; then
  80536. + func_tr_sh "$dlprefile"
  80537. + eval "curr_lafile=\$libfile_$func_tr_sh_result"
  80538. + dlprefile_dlbasename=
  80539. + if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then
  80540. + # Use subshell, to avoid clobbering current variable values
  80541. + dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
  80542. + if test -n "$dlprefile_dlname"; then
  80543. + func_basename "$dlprefile_dlname"
  80544. + dlprefile_dlbasename=$func_basename_result
  80545. + else
  80546. + # no lafile. user explicitly requested -dlpreopen <import library>.
  80547. + $sharedlib_from_linklib_cmd "$dlprefile"
  80548. + dlprefile_dlbasename=$sharedlib_from_linklib_result
  80549. + fi
  80550. + fi
  80551. + $opt_dry_run || {
  80552. + if test -n "$dlprefile_dlbasename"; then
  80553. + eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"'
  80554. + else
  80555. + func_warning "Could not compute DLL name from $name"
  80556. + eval '$ECHO ": $name " >> "$nlist"'
  80557. + fi
  80558. + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
  80559. + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe |
  80560. + $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
  80561. + }
  80562. + else # not an import lib
  80563. + $opt_dry_run || {
  80564. + eval '$ECHO ": $name " >> "$nlist"'
  80565. + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
  80566. + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
  80567. + }
  80568. + fi
  80569. + ;;
  80570. + *)
  80571. + $opt_dry_run || {
  80572. + eval '$ECHO ": $name " >> "$nlist"'
  80573. + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
  80574. + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
  80575. + }
  80576. + ;;
  80577. + esac
  80578. done
  80579.  
  80580. $opt_dry_run || {
  80581. @@ -2415,39 +4752,46 @@
  80582. if test -f "$nlist"S; then
  80583. eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
  80584. else
  80585. - $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
  80586. + echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
  80587. fi
  80588.  
  80589. - $ECHO >> "$output_objdir/$my_dlsyms" "\
  80590. + func_show_eval '$RM "${nlist}I"'
  80591. + if test -n "$global_symbol_to_import"; then
  80592. + eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I'
  80593. + fi
  80594. +
  80595. + echo >> "$output_objdir/$my_dlsyms" "\
  80596.  
  80597. /* The mapping between symbol names and symbols. */
  80598. typedef struct {
  80599. const char *name;
  80600. void *address;
  80601. } lt_dlsymlist;
  80602. +extern LT_DLSYM_CONST lt_dlsymlist
  80603. +lt_${my_prefix}_LTX_preloaded_symbols[];\
  80604. "
  80605. - case $host in
  80606. - *cygwin* | *mingw* | *cegcc* )
  80607. - $ECHO >> "$output_objdir/$my_dlsyms" "\
  80608. -/* DATA imports from DLLs on WIN32 con't be const, because
  80609. - runtime relocations are performed -- see ld's documentation
  80610. - on pseudo-relocs. */"
  80611. - lt_dlsym_const= ;;
  80612. - *osf5*)
  80613. - echo >> "$output_objdir/$my_dlsyms" "\
  80614. -/* This system does not cope well with relocations in const data */"
  80615. - lt_dlsym_const= ;;
  80616. - *)
  80617. - lt_dlsym_const=const ;;
  80618. - esac
  80619.  
  80620. - $ECHO >> "$output_objdir/$my_dlsyms" "\
  80621. -extern $lt_dlsym_const lt_dlsymlist
  80622. -lt_${my_prefix}_LTX_preloaded_symbols[];
  80623. -$lt_dlsym_const lt_dlsymlist
  80624. + if test -s "$nlist"I; then
  80625. + echo >> "$output_objdir/$my_dlsyms" "\
  80626. +static void lt_syminit(void)
  80627. +{
  80628. + LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols;
  80629. + for (; symbol->name; ++symbol)
  80630. + {"
  80631. + $SED 's/.*/ if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms"
  80632. + echo >> "$output_objdir/$my_dlsyms" "\
  80633. + }
  80634. +}"
  80635. + fi
  80636. + echo >> "$output_objdir/$my_dlsyms" "\
  80637. +LT_DLSYM_CONST lt_dlsymlist
  80638. lt_${my_prefix}_LTX_preloaded_symbols[] =
  80639. -{\
  80640. - { \"$my_originator\", (void *) 0 },"
  80641. +{ {\"$my_originator\", (void *) 0},"
  80642. +
  80643. + if test -s "$nlist"I; then
  80644. + echo >> "$output_objdir/$my_dlsyms" "\
  80645. + {\"@INIT@\", (void *) &lt_syminit},"
  80646. + fi
  80647.  
  80648. case $need_lib_prefix in
  80649. no)
  80650. @@ -2457,7 +4801,7 @@
  80651. eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
  80652. ;;
  80653. esac
  80654. - $ECHO >> "$output_objdir/$my_dlsyms" "\
  80655. + echo >> "$output_objdir/$my_dlsyms" "\
  80656. {0, (void *) 0}
  80657. };
  80658.  
  80659. @@ -2484,14 +4828,12 @@
  80660. # linked before any other PIC object. But we must not use
  80661. # pic_flag when linking with -static. The problem exists in
  80662. # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
  80663. - *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
  80664. + *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
  80665. pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
  80666. *-*-hpux*)
  80667. pic_flag_for_symtable=" $pic_flag" ;;
  80668. *)
  80669. - if test "X$my_pic_p" != Xno; then
  80670. - pic_flag_for_symtable=" $pic_flag"
  80671. - fi
  80672. + $my_pic_p && pic_flag_for_symtable=" $pic_flag"
  80673. ;;
  80674. esac
  80675. ;;
  80676. @@ -2500,7 +4842,7 @@
  80677. for arg in $LTCFLAGS; do
  80678. case $arg in
  80679. -pie | -fpie | -fPIE) ;;
  80680. - *) symtab_cflags="$symtab_cflags $arg" ;;
  80681. + *) func_append symtab_cflags " $arg" ;;
  80682. esac
  80683. done
  80684.  
  80685. @@ -2508,28 +4850,28 @@
  80686. func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
  80687.  
  80688. # Clean up the generated files.
  80689. - func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"'
  80690. + func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T" "${nlist}I"'
  80691.  
  80692. # Transform the symbol file into the correct name.
  80693. - symfileobj="$output_objdir/${my_outputname}S.$objext"
  80694. + symfileobj=$output_objdir/${my_outputname}S.$objext
  80695. case $host in
  80696. *cygwin* | *mingw* | *cegcc* )
  80697. if test -f "$output_objdir/$my_outputname.def"; then
  80698. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  80699. - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  80700. + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  80701. + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  80702. else
  80703. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  80704. - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  80705. + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
  80706. + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
  80707. fi
  80708. ;;
  80709. *)
  80710. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  80711. - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  80712. + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
  80713. + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
  80714. ;;
  80715. esac
  80716. ;;
  80717. *)
  80718. - func_fatal_error "unknown suffix for \`$my_dlsyms'"
  80719. + func_fatal_error "unknown suffix for '$my_dlsyms'"
  80720. ;;
  80721. esac
  80722. else
  80723. @@ -2538,38 +4880,81 @@
  80724. # really was required.
  80725.  
  80726. # Nullify the symbol file.
  80727. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
  80728. - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
  80729. + compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
  80730. + finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
  80731. fi
  80732. }
  80733.  
  80734. +# func_cygming_gnu_implib_p ARG
  80735. +# This predicate returns with zero status (TRUE) if
  80736. +# ARG is a GNU/binutils-style import library. Returns
  80737. +# with nonzero status (FALSE) otherwise.
  80738. +func_cygming_gnu_implib_p ()
  80739. +{
  80740. + $debug_cmd
  80741. +
  80742. + func_to_tool_file "$1" func_convert_file_msys_to_w32
  80743. + 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)$'`
  80744. + test -n "$func_cygming_gnu_implib_tmp"
  80745. +}
  80746. +
  80747. +# func_cygming_ms_implib_p ARG
  80748. +# This predicate returns with zero status (TRUE) if
  80749. +# ARG is an MS-style import library. Returns
  80750. +# with nonzero status (FALSE) otherwise.
  80751. +func_cygming_ms_implib_p ()
  80752. +{
  80753. + $debug_cmd
  80754. +
  80755. + func_to_tool_file "$1" func_convert_file_msys_to_w32
  80756. + func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
  80757. + test -n "$func_cygming_ms_implib_tmp"
  80758. +}
  80759. +
  80760. # func_win32_libid arg
  80761. # return the library type of file 'arg'
  80762. #
  80763. # Need a lot of goo to handle *both* DLLs and import libs
  80764. # Has to be a shell function in order to 'eat' the argument
  80765. # that is supplied when $file_magic_command is called.
  80766. +# Despite the name, also deal with 64 bit binaries.
  80767. func_win32_libid ()
  80768. {
  80769. - $opt_debug
  80770. - win32_libid_type="unknown"
  80771. + $debug_cmd
  80772. +
  80773. + win32_libid_type=unknown
  80774. win32_fileres=`file -L $1 2>/dev/null`
  80775. case $win32_fileres in
  80776. *ar\ archive\ import\ library*) # definitely import
  80777. win32_libid_type="x86 archive import"
  80778. ;;
  80779. *ar\ archive*) # could be an import, or static
  80780. + # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
  80781. if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
  80782. - $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
  80783. - win32_nmres=`eval $NM -f posix -A $1 |
  80784. - $SED -n -e '
  80785. + $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
  80786. + case $nm_interface in
  80787. + "MS dumpbin")
  80788. + if func_cygming_ms_implib_p "$1" ||
  80789. + func_cygming_gnu_implib_p "$1"
  80790. + then
  80791. + win32_nmres=import
  80792. + else
  80793. + win32_nmres=
  80794. + fi
  80795. + ;;
  80796. + *)
  80797. + func_to_tool_file "$1" func_convert_file_msys_to_w32
  80798. + win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
  80799. + $SED -n -e '
  80800. 1,100{
  80801. / I /{
  80802. - s,.*,import,
  80803. + s|.*|import|
  80804. p
  80805. q
  80806. }
  80807. }'`
  80808. + ;;
  80809. + esac
  80810. case $win32_nmres in
  80811. import*) win32_libid_type="x86 archive import";;
  80812. *) win32_libid_type="x86 archive static";;
  80813. @@ -2590,15 +4975,131 @@
  80814. $ECHO "$win32_libid_type"
  80815. }
  80816.  
  80817. +# func_cygming_dll_for_implib ARG
  80818. +#
  80819. +# Platform-specific function to extract the
  80820. +# name of the DLL associated with the specified
  80821. +# import library ARG.
  80822. +# Invoked by eval'ing the libtool variable
  80823. +# $sharedlib_from_linklib_cmd
  80824. +# Result is available in the variable
  80825. +# $sharedlib_from_linklib_result
  80826. +func_cygming_dll_for_implib ()
  80827. +{
  80828. + $debug_cmd
  80829. +
  80830. + sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"`
  80831. +}
  80832. +
  80833. +# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs
  80834. +#
  80835. +# The is the core of a fallback implementation of a
  80836. +# platform-specific function to extract the name of the
  80837. +# DLL associated with the specified import library LIBNAME.
  80838. +#
  80839. +# SECTION_NAME is either .idata$6 or .idata$7, depending
  80840. +# on the platform and compiler that created the implib.
  80841. +#
  80842. +# Echos the name of the DLL associated with the
  80843. +# specified import library.
  80844. +func_cygming_dll_for_implib_fallback_core ()
  80845. +{
  80846. + $debug_cmd
  80847. +
  80848. + match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"`
  80849. + $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
  80850. + $SED '/^Contents of section '"$match_literal"':/{
  80851. + # Place marker at beginning of archive member dllname section
  80852. + s/.*/====MARK====/
  80853. + p
  80854. + d
  80855. + }
  80856. + # These lines can sometimes be longer than 43 characters, but
  80857. + # are always uninteresting
  80858. + /:[ ]*file format pe[i]\{,1\}-/d
  80859. + /^In archive [^:]*:/d
  80860. + # Ensure marker is printed
  80861. + /^====MARK====/p
  80862. + # Remove all lines with less than 43 characters
  80863. + /^.\{43\}/!d
  80864. + # From remaining lines, remove first 43 characters
  80865. + s/^.\{43\}//' |
  80866. + $SED -n '
  80867. + # Join marker and all lines until next marker into a single line
  80868. + /^====MARK====/ b para
  80869. + H
  80870. + $ b para
  80871. + b
  80872. + :para
  80873. + x
  80874. + s/\n//g
  80875. + # Remove the marker
  80876. + s/^====MARK====//
  80877. + # Remove trailing dots and whitespace
  80878. + s/[\. \t]*$//
  80879. + # Print
  80880. + /./p' |
  80881. + # we now have a list, one entry per line, of the stringified
  80882. + # contents of the appropriate section of all members of the
  80883. + # archive that possess that section. Heuristic: eliminate
  80884. + # all those that have a first or second character that is
  80885. + # a '.' (that is, objdump's representation of an unprintable
  80886. + # character.) This should work for all archives with less than
  80887. + # 0x302f exports -- but will fail for DLLs whose name actually
  80888. + # begins with a literal '.' or a single character followed by
  80889. + # a '.'.
  80890. + #
  80891. + # Of those that remain, print the first one.
  80892. + $SED -e '/^\./d;/^.\./d;q'
  80893. +}
  80894. +
  80895. +# func_cygming_dll_for_implib_fallback ARG
  80896. +# Platform-specific function to extract the
  80897. +# name of the DLL associated with the specified
  80898. +# import library ARG.
  80899. +#
  80900. +# This fallback implementation is for use when $DLLTOOL
  80901. +# does not support the --identify-strict option.
  80902. +# Invoked by eval'ing the libtool variable
  80903. +# $sharedlib_from_linklib_cmd
  80904. +# Result is available in the variable
  80905. +# $sharedlib_from_linklib_result
  80906. +func_cygming_dll_for_implib_fallback ()
  80907. +{
  80908. + $debug_cmd
  80909. +
  80910. + if func_cygming_gnu_implib_p "$1"; then
  80911. + # binutils import library
  80912. + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"`
  80913. + elif func_cygming_ms_implib_p "$1"; then
  80914. + # ms-generated import library
  80915. + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"`
  80916. + else
  80917. + # unknown
  80918. + sharedlib_from_linklib_result=
  80919. + fi
  80920. +}
  80921.  
  80922.  
  80923. # func_extract_an_archive dir oldlib
  80924. func_extract_an_archive ()
  80925. {
  80926. - $opt_debug
  80927. - f_ex_an_ar_dir="$1"; shift
  80928. - f_ex_an_ar_oldlib="$1"
  80929. - func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
  80930. + $debug_cmd
  80931. +
  80932. + f_ex_an_ar_dir=$1; shift
  80933. + f_ex_an_ar_oldlib=$1
  80934. + if test yes = "$lock_old_archive_extraction"; then
  80935. + lockfile=$f_ex_an_ar_oldlib.lock
  80936. + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
  80937. + func_echo "Waiting for $lockfile to be removed"
  80938. + sleep 2
  80939. + done
  80940. + fi
  80941. + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
  80942. + 'stat=$?; rm -f "$lockfile"; exit $stat'
  80943. + if test yes = "$lock_old_archive_extraction"; then
  80944. + $opt_dry_run || rm -f "$lockfile"
  80945. + fi
  80946. if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
  80947. :
  80948. else
  80949. @@ -2610,22 +5111,23 @@
  80950. # func_extract_archives gentop oldlib ...
  80951. func_extract_archives ()
  80952. {
  80953. - $opt_debug
  80954. - my_gentop="$1"; shift
  80955. + $debug_cmd
  80956. +
  80957. + my_gentop=$1; shift
  80958. my_oldlibs=${1+"$@"}
  80959. - my_oldobjs=""
  80960. - my_xlib=""
  80961. - my_xabs=""
  80962. - my_xdir=""
  80963. + my_oldobjs=
  80964. + my_xlib=
  80965. + my_xabs=
  80966. + my_xdir=
  80967.  
  80968. for my_xlib in $my_oldlibs; do
  80969. # Extract the objects.
  80970. case $my_xlib in
  80971. - [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
  80972. + [\\/]* | [A-Za-z]:[\\/]*) my_xabs=$my_xlib ;;
  80973. *) my_xabs=`pwd`"/$my_xlib" ;;
  80974. esac
  80975. func_basename "$my_xlib"
  80976. - my_xlib="$func_basename_result"
  80977. + my_xlib=$func_basename_result
  80978. my_xlib_u=$my_xlib
  80979. while :; do
  80980. case " $extracted_archives " in
  80981. @@ -2637,7 +5139,7 @@
  80982. esac
  80983. done
  80984. extracted_archives="$extracted_archives $my_xlib_u"
  80985. - my_xdir="$my_gentop/$my_xlib_u"
  80986. + my_xdir=$my_gentop/$my_xlib_u
  80987.  
  80988. func_mkdir_p "$my_xdir"
  80989.  
  80990. @@ -2650,26 +5152,27 @@
  80991. cd $my_xdir || exit $?
  80992. darwin_archive=$my_xabs
  80993. darwin_curdir=`pwd`
  80994. - darwin_base_archive=`basename "$darwin_archive"`
  80995. + func_basename "$darwin_archive"
  80996. + darwin_base_archive=$func_basename_result
  80997. darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
  80998. if test -n "$darwin_arches"; then
  80999. darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
  81000. darwin_arch=
  81001. func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
  81002. - for darwin_arch in $darwin_arches ; do
  81003. - func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  81004. - $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
  81005. - cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  81006. - func_extract_an_archive "`pwd`" "${darwin_base_archive}"
  81007. + for darwin_arch in $darwin_arches; do
  81008. + func_mkdir_p "unfat-$$/$darwin_base_archive-$darwin_arch"
  81009. + $LIPO -thin $darwin_arch -output "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" "$darwin_archive"
  81010. + cd "unfat-$$/$darwin_base_archive-$darwin_arch"
  81011. + func_extract_an_archive "`pwd`" "$darwin_base_archive"
  81012. cd "$darwin_curdir"
  81013. - $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
  81014. + $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive"
  81015. done # $darwin_arches
  81016. ## Okay now we've a bunch of thin objects, gotta fatten them up :)
  81017. - darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u`
  81018. + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u`
  81019. darwin_file=
  81020. darwin_files=
  81021. for darwin_file in $darwin_filelist; do
  81022. - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
  81023. + darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
  81024. $LIPO -create -output "$darwin_file" $darwin_files
  81025. done # $darwin_filelist
  81026. $RM -rf unfat-$$
  81027. @@ -2684,31 +5187,36 @@
  81028. func_extract_an_archive "$my_xdir" "$my_xabs"
  81029. ;;
  81030. esac
  81031. - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
  81032. + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
  81033. done
  81034.  
  81035. - func_extract_archives_result="$my_oldobjs"
  81036. + func_extract_archives_result=$my_oldobjs
  81037. }
  81038.  
  81039.  
  81040. -
  81041. -# func_emit_wrapper_part1 [arg=no]
  81042. +# func_emit_wrapper [arg=no]
  81043. #
  81044. -# Emit the first part of a libtool wrapper script on stdout.
  81045. -# For more information, see the description associated with
  81046. -# func_emit_wrapper(), below.
  81047. -func_emit_wrapper_part1 ()
  81048. +# Emit a libtool wrapper script on stdout.
  81049. +# Don't directly open a file because we may want to
  81050. +# incorporate the script contents within a cygwin/mingw
  81051. +# wrapper executable. Must ONLY be called from within
  81052. +# func_mode_link because it depends on a number of variables
  81053. +# set therein.
  81054. +#
  81055. +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
  81056. +# variable will take. If 'yes', then the emitted script
  81057. +# will assume that the directory where it is stored is
  81058. +# the $objdir directory. This is a cygwin/mingw-specific
  81059. +# behavior.
  81060. +func_emit_wrapper ()
  81061. {
  81062. - func_emit_wrapper_part1_arg1=no
  81063. - if test -n "$1" ; then
  81064. - func_emit_wrapper_part1_arg1=$1
  81065. - fi
  81066. + func_emit_wrapper_arg1=${1-no}
  81067.  
  81068. $ECHO "\
  81069. #! $SHELL
  81070.  
  81071. # $output - temporary wrapper script for $objdir/$outputname
  81072. -# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  81073. +# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
  81074. #
  81075. # The $output program cannot be directly executed until all the libtool
  81076. # libraries that it depends on are installed.
  81077. @@ -2718,7 +5226,6 @@
  81078.  
  81079. # Sed substitution that helps us do robust quoting. It backslashifies
  81080. # metacharacters that are still active within double-quoted strings.
  81081. -Xsed='${SED} -e 1s/^X//'
  81082. sed_quote_subst='$sed_quote_subst'
  81083.  
  81084. # Be Bourne compatible
  81085. @@ -2749,31 +5256,135 @@
  81086. else
  81087. # When we are sourced in execute mode, \$file and \$ECHO are already set.
  81088. if test \"\$libtool_execute_magic\" != \"$magic\"; then
  81089. - ECHO=\"$qecho\"
  81090. - file=\"\$0\"
  81091. - # Make sure echo works.
  81092. - if test \"X\$1\" = X--no-reexec; then
  81093. - # Discard the --no-reexec flag, and continue.
  81094. - shift
  81095. - elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
  81096. - # Yippee, \$ECHO works!
  81097. - :
  81098. - else
  81099. - # Restart under the correct shell, and then maybe \$ECHO will work.
  81100. - exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
  81101. - fi
  81102. - fi\
  81103. + file=\"\$0\""
  81104. +
  81105. + qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
  81106. + $ECHO "\
  81107. +
  81108. +# A function that is used when there is no print builtin or printf.
  81109. +func_fallback_echo ()
  81110. +{
  81111. + eval 'cat <<_LTECHO_EOF
  81112. +\$1
  81113. +_LTECHO_EOF'
  81114. +}
  81115. + ECHO=\"$qECHO\"
  81116. + fi
  81117. +
  81118. +# Very basic option parsing. These options are (a) specific to
  81119. +# the libtool wrapper, (b) are identical between the wrapper
  81120. +# /script/ and the wrapper /executable/ that is used only on
  81121. +# windows platforms, and (c) all begin with the string "--lt-"
  81122. +# (application programs are unlikely to have options that match
  81123. +# this pattern).
  81124. +#
  81125. +# There are only two supported options: --lt-debug and
  81126. +# --lt-dump-script. There is, deliberately, no --lt-help.
  81127. +#
  81128. +# The first argument to this parsing function should be the
  81129. +# script's $0 value, followed by "$@".
  81130. +lt_option_debug=
  81131. +func_parse_lt_options ()
  81132. +{
  81133. + lt_script_arg0=\$0
  81134. + shift
  81135. + for lt_opt
  81136. + do
  81137. + case \"\$lt_opt\" in
  81138. + --lt-debug) lt_option_debug=1 ;;
  81139. + --lt-dump-script)
  81140. + lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
  81141. + test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
  81142. + lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
  81143. + cat \"\$lt_dump_D/\$lt_dump_F\"
  81144. + exit 0
  81145. + ;;
  81146. + --lt-*)
  81147. + \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
  81148. + exit 1
  81149. + ;;
  81150. + esac
  81151. + done
  81152. +
  81153. + # Print the debug banner immediately:
  81154. + if test -n \"\$lt_option_debug\"; then
  81155. + echo \"$outputname:$output:\$LINENO: libtool wrapper (GNU $PACKAGE) $VERSION\" 1>&2
  81156. + fi
  81157. +}
  81158. +
  81159. +# Used when --lt-debug. Prints its arguments to stdout
  81160. +# (redirection is the responsibility of the caller)
  81161. +func_lt_dump_args ()
  81162. +{
  81163. + lt_dump_args_N=1;
  81164. + for lt_arg
  81165. + do
  81166. + \$ECHO \"$outputname:$output:\$LINENO: newargv[\$lt_dump_args_N]: \$lt_arg\"
  81167. + lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
  81168. + done
  81169. +}
  81170. +
  81171. +# Core function for launching the target application
  81172. +func_exec_program_core ()
  81173. +{
  81174. "
  81175. - $ECHO "\
  81176. + case $host in
  81177. + # Backslashes separate directories on plain windows
  81178. + *-*-mingw | *-*-os2* | *-cegcc*)
  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. +
  81188. + *)
  81189. + $ECHO "\
  81190. + if test -n \"\$lt_option_debug\"; then
  81191. + \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2
  81192. + func_lt_dump_args \${1+\"\$@\"} 1>&2
  81193. + fi
  81194. + exec \"\$progdir/\$program\" \${1+\"\$@\"}
  81195. +"
  81196. + ;;
  81197. + esac
  81198. + $ECHO "\
  81199. + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
  81200. + exit 1
  81201. +}
  81202. +
  81203. +# A function to encapsulate launching the target application
  81204. +# Strips options in the --lt-* namespace from \$@ and
  81205. +# launches target application with the remaining arguments.
  81206. +func_exec_program ()
  81207. +{
  81208. + case \" \$* \" in
  81209. + *\\ --lt-*)
  81210. + for lt_wr_arg
  81211. + do
  81212. + case \$lt_wr_arg in
  81213. + --lt-*) ;;
  81214. + *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
  81215. + esac
  81216. + shift
  81217. + done ;;
  81218. + esac
  81219. + func_exec_program_core \${1+\"\$@\"}
  81220. +}
  81221. +
  81222. + # Parse options
  81223. + func_parse_lt_options \"\$0\" \${1+\"\$@\"}
  81224.  
  81225. # Find the directory that this script lives in.
  81226. - thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
  81227. + thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
  81228. test \"x\$thisdir\" = \"x\$file\" && thisdir=.
  81229.  
  81230. # Follow symbolic links until we get to the real thisdir.
  81231. - file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
  81232. + file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
  81233. while test -n \"\$file\"; do
  81234. - destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
  81235. + destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
  81236.  
  81237. # If there was a directory component, then change thisdir.
  81238. if test \"x\$destdir\" != \"x\$file\"; then
  81239. @@ -2783,30 +5394,13 @@
  81240. esac
  81241. fi
  81242.  
  81243. - file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
  81244. - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
  81245. + file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
  81246. + file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
  81247. done
  81248. -"
  81249. -}
  81250. -# end: func_emit_wrapper_part1
  81251. -
  81252. -# func_emit_wrapper_part2 [arg=no]
  81253. -#
  81254. -# Emit the second part of a libtool wrapper script on stdout.
  81255. -# For more information, see the description associated with
  81256. -# func_emit_wrapper(), below.
  81257. -func_emit_wrapper_part2 ()
  81258. -{
  81259. - func_emit_wrapper_part2_arg1=no
  81260. - if test -n "$1" ; then
  81261. - func_emit_wrapper_part2_arg1=$1
  81262. - fi
  81263. -
  81264. - $ECHO "\
  81265.  
  81266. # Usually 'no', except on cygwin/mingw when embedded into
  81267. # the cwrapper.
  81268. - WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
  81269. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
  81270. if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
  81271. # special case for '.'
  81272. if test \"\$thisdir\" = \".\"; then
  81273. @@ -2814,7 +5408,7 @@
  81274. fi
  81275. # remove .libs from thisdir
  81276. case \"\$thisdir\" in
  81277. - *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
  81278. + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
  81279. $objdir ) thisdir=. ;;
  81280. esac
  81281. fi
  81282. @@ -2824,13 +5418,13 @@
  81283. test -n \"\$absdir\" && thisdir=\"\$absdir\"
  81284. "
  81285.  
  81286. - if test "$fast_install" = yes; then
  81287. + if test yes = "$fast_install"; then
  81288. $ECHO "\
  81289. program=lt-'$outputname'$exeext
  81290. progdir=\"\$thisdir/$objdir\"
  81291.  
  81292. if test ! -f \"\$progdir/\$program\" ||
  81293. - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
  81294. + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\
  81295. test \"X\$file\" != \"X\$progdir/\$program\"; }; then
  81296.  
  81297. file=\"\$\$-\$program\"
  81298. @@ -2847,7 +5441,7 @@
  81299. if test -n \"\$relink_command\"; then
  81300. if relink_command_output=\`eval \$relink_command 2>&1\`; then :
  81301. else
  81302. - $ECHO \"\$relink_command_output\" >&2
  81303. + \$ECHO \"\$relink_command_output\" >&2
  81304. $RM \"\$progdir/\$file\"
  81305. exit 1
  81306. fi
  81307. @@ -2869,262 +5463,49 @@
  81308.  
  81309. if test -f \"\$progdir/\$program\"; then"
  81310.  
  81311. + # fixup the dll searchpath if we need to.
  81312. + #
  81313. + # Fix the DLL searchpath if we need to. Do this before prepending
  81314. + # to shlibpath, because on Windows, both are PATH and uninstalled
  81315. + # libraries must come first.
  81316. + if test -n "$dllsearchpath"; then
  81317. + $ECHO "\
  81318. + # Add the dll search path components to the executable PATH
  81319. + PATH=$dllsearchpath:\$PATH
  81320. +"
  81321. + fi
  81322. +
  81323. # Export our shlibpath_var if we have one.
  81324. - if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  81325. + if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  81326. $ECHO "\
  81327. # Add our own library path to $shlibpath_var
  81328. $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
  81329.  
  81330. # Some systems cannot cope with colon-terminated $shlibpath_var
  81331. # The second colon is a workaround for a bug in BeOS R4 sed
  81332. - $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
  81333. + $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
  81334.  
  81335. export $shlibpath_var
  81336. "
  81337. fi
  81338.  
  81339. - # fixup the dll searchpath if we need to.
  81340. - if test -n "$dllsearchpath"; then
  81341. - $ECHO "\
  81342. - # Add the dll search path components to the executable PATH
  81343. - PATH=$dllsearchpath:\$PATH
  81344. -"
  81345. - fi
  81346. -
  81347. $ECHO "\
  81348. if test \"\$libtool_execute_magic\" != \"$magic\"; then
  81349. # Run the actual program with our arguments.
  81350. -"
  81351. - case $host in
  81352. - # Backslashes separate directories on plain windows
  81353. - *-*-mingw | *-*-os2* | *-cegcc*)
  81354. - $ECHO "\
  81355. - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  81356. -"
  81357. - ;;
  81358. -
  81359. - *)
  81360. - $ECHO "\
  81361. - exec \"\$progdir/\$program\" \${1+\"\$@\"}
  81362. -"
  81363. - ;;
  81364. - esac
  81365. - $ECHO "\
  81366. - \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
  81367. - exit 1
  81368. + func_exec_program \${1+\"\$@\"}
  81369. fi
  81370. else
  81371. # The program doesn't exist.
  81372. - \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
  81373. + \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2
  81374. \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
  81375. - $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
  81376. + \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
  81377. exit 1
  81378. fi
  81379. fi\
  81380. "
  81381. }
  81382. -# end: func_emit_wrapper_part2
  81383. -
  81384. -
  81385. -# func_emit_wrapper [arg=no]
  81386. -#
  81387. -# Emit a libtool wrapper script on stdout.
  81388. -# Don't directly open a file because we may want to
  81389. -# incorporate the script contents within a cygwin/mingw
  81390. -# wrapper executable. Must ONLY be called from within
  81391. -# func_mode_link because it depends on a number of variables
  81392. -# set therein.
  81393. -#
  81394. -# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
  81395. -# variable will take. If 'yes', then the emitted script
  81396. -# will assume that the directory in which it is stored is
  81397. -# the $objdir directory. This is a cygwin/mingw-specific
  81398. -# behavior.
  81399. -func_emit_wrapper ()
  81400. -{
  81401. - func_emit_wrapper_arg1=no
  81402. - if test -n "$1" ; then
  81403. - func_emit_wrapper_arg1=$1
  81404. - fi
  81405. -
  81406. - # split this up so that func_emit_cwrapperexe_src
  81407. - # can call each part independently.
  81408. - func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
  81409. - func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
  81410. -}
  81411.  
  81412.  
  81413. -# func_to_host_path arg
  81414. -#
  81415. -# Convert paths to host format when used with build tools.
  81416. -# Intended for use with "native" mingw (where libtool itself
  81417. -# is running under the msys shell), or in the following cross-
  81418. -# build environments:
  81419. -# $build $host
  81420. -# mingw (msys) mingw [e.g. native]
  81421. -# cygwin mingw
  81422. -# *nix + wine mingw
  81423. -# where wine is equipped with the `winepath' executable.
  81424. -# In the native mingw case, the (msys) shell automatically
  81425. -# converts paths for any non-msys applications it launches,
  81426. -# but that facility isn't available from inside the cwrapper.
  81427. -# Similar accommodations are necessary for $host mingw and
  81428. -# $build cygwin. Calling this function does no harm for other
  81429. -# $host/$build combinations not listed above.
  81430. -#
  81431. -# ARG is the path (on $build) that should be converted to
  81432. -# the proper representation for $host. The result is stored
  81433. -# in $func_to_host_path_result.
  81434. -func_to_host_path ()
  81435. -{
  81436. - func_to_host_path_result="$1"
  81437. - if test -n "$1" ; then
  81438. - case $host in
  81439. - *mingw* )
  81440. - lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  81441. - case $build in
  81442. - *mingw* ) # actually, msys
  81443. - # awkward: cmd appends spaces to result
  81444. - lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  81445. - func_to_host_path_tmp1=`( cmd //c echo "$1" |\
  81446. - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  81447. - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  81448. - $SED -e "$lt_sed_naive_backslashify"`
  81449. - ;;
  81450. - *cygwin* )
  81451. - func_to_host_path_tmp1=`cygpath -w "$1"`
  81452. - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  81453. - $SED -e "$lt_sed_naive_backslashify"`
  81454. - ;;
  81455. - * )
  81456. - # Unfortunately, winepath does not exit with a non-zero
  81457. - # error code, so we are forced to check the contents of
  81458. - # stdout. On the other hand, if the command is not
  81459. - # found, the shell will set an exit code of 127 and print
  81460. - # *an error message* to stdout. So we must check for both
  81461. - # error code of zero AND non-empty stdout, which explains
  81462. - # the odd construction:
  81463. - func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
  81464. - if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
  81465. - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  81466. - $SED -e "$lt_sed_naive_backslashify"`
  81467. - else
  81468. - # Allow warning below.
  81469. - func_to_host_path_result=""
  81470. - fi
  81471. - ;;
  81472. - esac
  81473. - if test -z "$func_to_host_path_result" ; then
  81474. - func_error "Could not determine host path corresponding to"
  81475. - func_error " '$1'"
  81476. - func_error "Continuing, but uninstalled executables may not work."
  81477. - # Fallback:
  81478. - func_to_host_path_result="$1"
  81479. - fi
  81480. - ;;
  81481. - esac
  81482. - fi
  81483. -}
  81484. -# end: func_to_host_path
  81485. -
  81486. -# func_to_host_pathlist arg
  81487. -#
  81488. -# Convert pathlists to host format when used with build tools.
  81489. -# See func_to_host_path(), above. This function supports the
  81490. -# following $build/$host combinations (but does no harm for
  81491. -# combinations not listed here):
  81492. -# $build $host
  81493. -# mingw (msys) mingw [e.g. native]
  81494. -# cygwin mingw
  81495. -# *nix + wine mingw
  81496. -#
  81497. -# Path separators are also converted from $build format to
  81498. -# $host format. If ARG begins or ends with a path separator
  81499. -# character, it is preserved (but converted to $host format)
  81500. -# on output.
  81501. -#
  81502. -# ARG is a pathlist (on $build) that should be converted to
  81503. -# the proper representation on $host. The result is stored
  81504. -# in $func_to_host_pathlist_result.
  81505. -func_to_host_pathlist ()
  81506. -{
  81507. - func_to_host_pathlist_result="$1"
  81508. - if test -n "$1" ; then
  81509. - case $host in
  81510. - *mingw* )
  81511. - lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  81512. - # Remove leading and trailing path separator characters from
  81513. - # ARG. msys behavior is inconsistent here, cygpath turns them
  81514. - # into '.;' and ';.', and winepath ignores them completely.
  81515. - func_to_host_pathlist_tmp2="$1"
  81516. - # Once set for this call, this variable should not be
  81517. - # reassigned. It is used in tha fallback case.
  81518. - func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
  81519. - $SED -e 's|^:*||' -e 's|:*$||'`
  81520. - case $build in
  81521. - *mingw* ) # Actually, msys.
  81522. - # Awkward: cmd appends spaces to result.
  81523. - lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  81524. - func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
  81525. - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  81526. - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  81527. - $SED -e "$lt_sed_naive_backslashify"`
  81528. - ;;
  81529. - *cygwin* )
  81530. - func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
  81531. - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  81532. - $SED -e "$lt_sed_naive_backslashify"`
  81533. - ;;
  81534. - * )
  81535. - # unfortunately, winepath doesn't convert pathlists
  81536. - func_to_host_pathlist_result=""
  81537. - func_to_host_pathlist_oldIFS=$IFS
  81538. - IFS=:
  81539. - for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do
  81540. - IFS=$func_to_host_pathlist_oldIFS
  81541. - if test -n "$func_to_host_pathlist_f" ; then
  81542. - func_to_host_path "$func_to_host_pathlist_f"
  81543. - if test -n "$func_to_host_path_result" ; then
  81544. - if test -z "$func_to_host_pathlist_result" ; then
  81545. - func_to_host_pathlist_result="$func_to_host_path_result"
  81546. - else
  81547. - func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
  81548. - fi
  81549. - fi
  81550. - fi
  81551. - IFS=:
  81552. - done
  81553. - IFS=$func_to_host_pathlist_oldIFS
  81554. - ;;
  81555. - esac
  81556. - if test -z "$func_to_host_pathlist_result" ; then
  81557. - func_error "Could not determine the host path(s) corresponding to"
  81558. - func_error " '$1'"
  81559. - func_error "Continuing, but uninstalled executables may not work."
  81560. - # Fallback. This may break if $1 contains DOS-style drive
  81561. - # specifications. The fix is not to complicate the expression
  81562. - # below, but for the user to provide a working wine installation
  81563. - # with winepath so that path translation in the cross-to-mingw
  81564. - # case works properly.
  81565. - lt_replace_pathsep_nix_to_dos="s|:|;|g"
  81566. - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\
  81567. - $SED -e "$lt_replace_pathsep_nix_to_dos"`
  81568. - fi
  81569. - # Now, add the leading and trailing path separators back
  81570. - case "$1" in
  81571. - :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result"
  81572. - ;;
  81573. - esac
  81574. - case "$1" in
  81575. - *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
  81576. - ;;
  81577. - esac
  81578. - ;;
  81579. - esac
  81580. - fi
  81581. -}
  81582. -# end: func_to_host_pathlist
  81583. -
  81584. # func_emit_cwrapperexe_src
  81585. # emit the source code for a wrapper executable on stdout
  81586. # Must ONLY be called from within func_mode_link because
  81587. @@ -3134,38 +5515,30 @@
  81588. cat <<EOF
  81589.  
  81590. /* $cwrappersource - temporary wrapper executable for $objdir/$outputname
  81591. - Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  81592. + Generated by $PROGRAM (GNU $PACKAGE) $VERSION
  81593.  
  81594. The $output program cannot be directly executed until all the libtool
  81595. libraries that it depends on are installed.
  81596.  
  81597. This wrapper executable should never be moved out of the build directory.
  81598. If it is, it will not operate correctly.
  81599. -
  81600. - Currently, it simply execs the wrapper *script* "$SHELL $output",
  81601. - but could eventually absorb all of the scripts functionality and
  81602. - exec $objdir/$outputname directly.
  81603. */
  81604. EOF
  81605. cat <<"EOF"
  81606. +#ifdef _MSC_VER
  81607. +# define _CRT_SECURE_NO_DEPRECATE 1
  81608. +#endif
  81609. #include <stdio.h>
  81610. #include <stdlib.h>
  81611. #ifdef _MSC_VER
  81612. # include <direct.h>
  81613. # include <process.h>
  81614. # include <io.h>
  81615. -# define setmode _setmode
  81616. #else
  81617. # include <unistd.h>
  81618. # include <stdint.h>
  81619. # ifdef __CYGWIN__
  81620. # include <io.h>
  81621. -# define HAVE_SETENV
  81622. -# ifdef __STRICT_ANSI__
  81623. -char *realpath (const char *, char *);
  81624. -int putenv (char *);
  81625. -int setenv (const char *, const char *, int);
  81626. -# endif
  81627. # endif
  81628. #endif
  81629. #include <malloc.h>
  81630. @@ -3177,9 +5550,45 @@
  81631. #include <fcntl.h>
  81632. #include <sys/stat.h>
  81633.  
  81634. -#if defined(PATH_MAX)
  81635. +#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
  81636. +
  81637. +/* declarations of non-ANSI functions */
  81638. +#if defined __MINGW32__
  81639. +# ifdef __STRICT_ANSI__
  81640. +int _putenv (const char *);
  81641. +# endif
  81642. +#elif defined __CYGWIN__
  81643. +# ifdef __STRICT_ANSI__
  81644. +char *realpath (const char *, char *);
  81645. +int putenv (char *);
  81646. +int setenv (const char *, const char *, int);
  81647. +# endif
  81648. +/* #elif defined other_platform || defined ... */
  81649. +#endif
  81650. +
  81651. +/* portability defines, excluding path handling macros */
  81652. +#if defined _MSC_VER
  81653. +# define setmode _setmode
  81654. +# define stat _stat
  81655. +# define chmod _chmod
  81656. +# define getcwd _getcwd
  81657. +# define putenv _putenv
  81658. +# define S_IXUSR _S_IEXEC
  81659. +#elif defined __MINGW32__
  81660. +# define setmode _setmode
  81661. +# define stat _stat
  81662. +# define chmod _chmod
  81663. +# define getcwd _getcwd
  81664. +# define putenv _putenv
  81665. +#elif defined __CYGWIN__
  81666. +# define HAVE_SETENV
  81667. +# define FOPEN_WB "wb"
  81668. +/* #elif defined other platforms ... */
  81669. +#endif
  81670. +
  81671. +#if defined PATH_MAX
  81672. # define LT_PATHMAX PATH_MAX
  81673. -#elif defined(MAXPATHLEN)
  81674. +#elif defined MAXPATHLEN
  81675. # define LT_PATHMAX MAXPATHLEN
  81676. #else
  81677. # define LT_PATHMAX 1024
  81678. @@ -3192,21 +5601,14 @@
  81679. # define S_IXGRP 0
  81680. #endif
  81681.  
  81682. -#ifdef _MSC_VER
  81683. -# define S_IXUSR _S_IEXEC
  81684. -# define stat _stat
  81685. -# ifndef _INTPTR_T_DEFINED
  81686. -# define intptr_t int
  81687. -# endif
  81688. -#endif
  81689. -
  81690. +/* path handling portability macros */
  81691. #ifndef DIR_SEPARATOR
  81692. # define DIR_SEPARATOR '/'
  81693. # define PATH_SEPARATOR ':'
  81694. #endif
  81695.  
  81696. -#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
  81697. - defined (__OS2__)
  81698. +#if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \
  81699. + defined __OS2__
  81700. # define HAVE_DOS_BASED_FILE_SYSTEM
  81701. # define FOPEN_WB "wb"
  81702. # ifndef DIR_SEPARATOR_2
  81703. @@ -3230,10 +5632,6 @@
  81704. # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
  81705. #endif /* PATH_SEPARATOR_2 */
  81706.  
  81707. -#ifdef __CYGWIN__
  81708. -# define FOPEN_WB "wb"
  81709. -#endif
  81710. -
  81711. #ifndef FOPEN_WB
  81712. # define FOPEN_WB "w"
  81713. #endif
  81714. @@ -3243,25 +5641,16 @@
  81715.  
  81716. #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
  81717. #define XFREE(stale) do { \
  81718. - if (stale) { free ((void *) stale); stale = 0; } \
  81719. + if (stale) { free (stale); stale = 0; } \
  81720. } while (0)
  81721.  
  81722. -#undef LTWRAPPER_DEBUGPRINTF
  81723. -#if defined DEBUGWRAPPER
  81724. -# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
  81725. -static void
  81726. -ltwrapper_debugprintf (const char *fmt, ...)
  81727. -{
  81728. - va_list args;
  81729. - va_start (args, fmt);
  81730. - (void) vfprintf (stderr, fmt, args);
  81731. - va_end (args);
  81732. -}
  81733. +#if defined LT_DEBUGWRAPPER
  81734. +static int lt_debug = 1;
  81735. #else
  81736. -# define LTWRAPPER_DEBUGPRINTF(args)
  81737. +static int lt_debug = 0;
  81738. #endif
  81739.  
  81740. -const char *program_name = NULL;
  81741. +const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
  81742.  
  81743. void *xmalloc (size_t num);
  81744. char *xstrdup (const char *string);
  81745. @@ -3271,41 +5660,32 @@
  81746. int make_executable (const char *path);
  81747. int check_executable (const char *path);
  81748. char *strendzap (char *str, const char *pat);
  81749. -void lt_fatal (const char *message, ...);
  81750. +void lt_debugprintf (const char *file, int line, const char *fmt, ...);
  81751. +void lt_fatal (const char *file, int line, const char *message, ...);
  81752. +static const char *nonnull (const char *s);
  81753. +static const char *nonempty (const char *s);
  81754. void lt_setenv (const char *name, const char *value);
  81755. char *lt_extend_str (const char *orig_value, const char *add, int to_end);
  81756. -void lt_opt_process_env_set (const char *arg);
  81757. -void lt_opt_process_env_prepend (const char *arg);
  81758. -void lt_opt_process_env_append (const char *arg);
  81759. -int lt_split_name_value (const char *arg, char** name, char** value);
  81760. void lt_update_exe_path (const char *name, const char *value);
  81761. void lt_update_lib_path (const char *name, const char *value);
  81762. -
  81763. -static const char *script_text_part1 =
  81764. -EOF
  81765. -
  81766. - func_emit_wrapper_part1 yes |
  81767. - $SED -e 's/\([\\"]\)/\\\1/g' \
  81768. - -e 's/^/ "/' -e 's/$/\\n"/'
  81769. - echo ";"
  81770. - cat <<EOF
  81771. -
  81772. -static const char *script_text_part2 =
  81773. +char **prepare_spawn (char **argv);
  81774. +void lt_dump_script (FILE *f);
  81775. EOF
  81776. - func_emit_wrapper_part2 yes |
  81777. - $SED -e 's/\([\\"]\)/\\\1/g' \
  81778. - -e 's/^/ "/' -e 's/$/\\n"/'
  81779. - echo ";"
  81780.  
  81781. cat <<EOF
  81782. -const char * MAGIC_EXE = "$magic_exe";
  81783. +#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
  81784. +# define externally_visible volatile
  81785. +#else
  81786. +# define externally_visible __attribute__((externally_visible)) volatile
  81787. +#endif
  81788. +externally_visible const char * MAGIC_EXE = "$magic_exe";
  81789. const char * LIB_PATH_VARNAME = "$shlibpath_var";
  81790. EOF
  81791.  
  81792. - if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  81793. - func_to_host_pathlist "$temp_rpath"
  81794. + if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  81795. + func_to_host_path "$temp_rpath"
  81796. cat <<EOF
  81797. -const char * LIB_PATH_VALUE = "$func_to_host_pathlist_result";
  81798. +const char * LIB_PATH_VALUE = "$func_to_host_path_result";
  81799. EOF
  81800. else
  81801. cat <<"EOF"
  81802. @@ -3314,10 +5694,10 @@
  81803. fi
  81804.  
  81805. if test -n "$dllsearchpath"; then
  81806. - func_to_host_pathlist "$dllsearchpath:"
  81807. + func_to_host_path "$dllsearchpath:"
  81808. cat <<EOF
  81809. const char * EXE_PATH_VARNAME = "PATH";
  81810. -const char * EXE_PATH_VALUE = "$func_to_host_pathlist_result";
  81811. +const char * EXE_PATH_VALUE = "$func_to_host_path_result";
  81812. EOF
  81813. else
  81814. cat <<"EOF"
  81815. @@ -3326,7 +5706,7 @@
  81816. EOF
  81817. fi
  81818.  
  81819. - if test "$fast_install" = yes; then
  81820. + if test yes = "$fast_install"; then
  81821. cat <<EOF
  81822. const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
  81823. EOF
  81824. @@ -3340,24 +5720,10 @@
  81825. cat <<"EOF"
  81826.  
  81827. #define LTWRAPPER_OPTION_PREFIX "--lt-"
  81828. -#define LTWRAPPER_OPTION_PREFIX_LENGTH 5
  81829.  
  81830. -static const size_t opt_prefix_len = LTWRAPPER_OPTION_PREFIX_LENGTH;
  81831. static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
  81832. -
  81833. static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
  81834. -
  81835. -static const size_t env_set_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
  81836. -static const char *env_set_opt = LTWRAPPER_OPTION_PREFIX "env-set";
  81837. - /* argument is putenv-style "foo=bar", value of foo is set to bar */
  81838. -
  81839. -static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
  81840. -static const char *env_prepend_opt = LTWRAPPER_OPTION_PREFIX "env-prepend";
  81841. - /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
  81842. -
  81843. -static const size_t env_append_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
  81844. -static const char *env_append_opt = LTWRAPPER_OPTION_PREFIX "env-append";
  81845. - /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
  81846. +static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug";
  81847.  
  81848. int
  81849. main (int argc, char *argv[])
  81850. @@ -3369,21 +5735,24 @@
  81851. char *actual_cwrapper_name;
  81852. char *target_name;
  81853. char *lt_argv_zero;
  81854. - intptr_t rval = 127;
  81855. + int rval = 127;
  81856.  
  81857. int i;
  81858.  
  81859. program_name = (char *) xstrdup (base_name (argv[0]));
  81860. - LTWRAPPER_DEBUGPRINTF (("(main) argv[0] : %s\n", argv[0]));
  81861. - LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
  81862. + newargz = XMALLOC (char *, (size_t) argc + 1);
  81863.  
  81864. - /* very simple arg parsing; don't want to rely on getopt */
  81865. + /* very simple arg parsing; don't want to rely on getopt
  81866. + * also, copy all non cwrapper options to newargz, except
  81867. + * argz[0], which is handled differently
  81868. + */
  81869. + newargc=0;
  81870. for (i = 1; i < argc; i++)
  81871. {
  81872. - if (strcmp (argv[i], dumpscript_opt) == 0)
  81873. + if (STREQ (argv[i], dumpscript_opt))
  81874. {
  81875. EOF
  81876. - case "$host" in
  81877. + case $host in
  81878. *mingw* | *cygwin* )
  81879. # make stdout use "unix" line endings
  81880. echo " setmode(1,_O_BINARY);"
  81881. @@ -3391,25 +5760,57 @@
  81882. esac
  81883.  
  81884. cat <<"EOF"
  81885. - printf ("%s", script_text_part1);
  81886. - printf ("%s", script_text_part2);
  81887. + lt_dump_script (stdout);
  81888. return 0;
  81889. }
  81890. + if (STREQ (argv[i], debug_opt))
  81891. + {
  81892. + lt_debug = 1;
  81893. + continue;
  81894. + }
  81895. + if (STREQ (argv[i], ltwrapper_option_prefix))
  81896. + {
  81897. + /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
  81898. + namespace, but it is not one of the ones we know about and
  81899. + have already dealt with, above (inluding dump-script), then
  81900. + report an error. Otherwise, targets might begin to believe
  81901. + they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
  81902. + namespace. The first time any user complains about this, we'll
  81903. + need to make LTWRAPPER_OPTION_PREFIX a configure-time option
  81904. + or a configure.ac-settable value.
  81905. + */
  81906. + lt_fatal (__FILE__, __LINE__,
  81907. + "unrecognized %s option: '%s'",
  81908. + ltwrapper_option_prefix, argv[i]);
  81909. + }
  81910. + /* otherwise ... */
  81911. + newargz[++newargc] = xstrdup (argv[i]);
  81912. }
  81913. + newargz[++newargc] = NULL;
  81914. +
  81915. +EOF
  81916. + cat <<EOF
  81917. + /* The GNU banner must be the first non-error debug message */
  81918. + lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE) $VERSION\n");
  81919. +EOF
  81920. + cat <<"EOF"
  81921. + lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
  81922. + lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
  81923.  
  81924. - newargz = XMALLOC (char *, argc + 1);
  81925. tmp_pathspec = find_executable (argv[0]);
  81926. if (tmp_pathspec == NULL)
  81927. - lt_fatal ("Couldn't find %s", argv[0]);
  81928. - LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
  81929. - tmp_pathspec));
  81930. + lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
  81931. + lt_debugprintf (__FILE__, __LINE__,
  81932. + "(main) found exe (before symlink chase) at: %s\n",
  81933. + tmp_pathspec);
  81934.  
  81935. actual_cwrapper_path = chase_symlinks (tmp_pathspec);
  81936. - LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
  81937. - actual_cwrapper_path));
  81938. + lt_debugprintf (__FILE__, __LINE__,
  81939. + "(main) found exe (after symlink chase) at: %s\n",
  81940. + actual_cwrapper_path);
  81941. XFREE (tmp_pathspec);
  81942.  
  81943. - actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
  81944. + actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
  81945. strendzap (actual_cwrapper_path, actual_cwrapper_name);
  81946.  
  81947. /* wrapper name transforms */
  81948. @@ -3427,8 +5828,9 @@
  81949. target_name = tmp_pathspec;
  81950. tmp_pathspec = 0;
  81951.  
  81952. - LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
  81953. - target_name));
  81954. + lt_debugprintf (__FILE__, __LINE__,
  81955. + "(main) libtool target name: %s\n",
  81956. + target_name);
  81957. EOF
  81958.  
  81959. cat <<EOF
  81960. @@ -3478,80 +5880,19 @@
  81961.  
  81962. lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
  81963. lt_setenv ("DUALCASE", "1"); /* for MSK sh */
  81964. - lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
  81965. + /* Update the DLL searchpath. EXE_PATH_VALUE ($dllsearchpath) must
  81966. + be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath)
  81967. + because on Windows, both *_VARNAMEs are PATH but uninstalled
  81968. + libraries must come first. */
  81969. lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
  81970. + lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
  81971.  
  81972. - newargc=0;
  81973. - for (i = 1; i < argc; i++)
  81974. - {
  81975. - if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
  81976. - {
  81977. - if (argv[i][env_set_opt_len] == '=')
  81978. - {
  81979. - const char *p = argv[i] + env_set_opt_len + 1;
  81980. - lt_opt_process_env_set (p);
  81981. - }
  81982. - else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
  81983. - {
  81984. - lt_opt_process_env_set (argv[++i]); /* don't copy */
  81985. - }
  81986. - else
  81987. - lt_fatal ("%s missing required argument", env_set_opt);
  81988. - continue;
  81989. - }
  81990. - if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
  81991. - {
  81992. - if (argv[i][env_prepend_opt_len] == '=')
  81993. - {
  81994. - const char *p = argv[i] + env_prepend_opt_len + 1;
  81995. - lt_opt_process_env_prepend (p);
  81996. - }
  81997. - else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
  81998. - {
  81999. - lt_opt_process_env_prepend (argv[++i]); /* don't copy */
  82000. - }
  82001. - else
  82002. - lt_fatal ("%s missing required argument", env_prepend_opt);
  82003. - continue;
  82004. - }
  82005. - if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
  82006. - {
  82007. - if (argv[i][env_append_opt_len] == '=')
  82008. - {
  82009. - const char *p = argv[i] + env_append_opt_len + 1;
  82010. - lt_opt_process_env_append (p);
  82011. - }
  82012. - else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
  82013. - {
  82014. - lt_opt_process_env_append (argv[++i]); /* don't copy */
  82015. - }
  82016. - else
  82017. - lt_fatal ("%s missing required argument", env_append_opt);
  82018. - continue;
  82019. - }
  82020. - if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
  82021. - {
  82022. - /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
  82023. - namespace, but it is not one of the ones we know about and
  82024. - have already dealt with, above (inluding dump-script), then
  82025. - report an error. Otherwise, targets might begin to believe
  82026. - they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
  82027. - namespace. The first time any user complains about this, we'll
  82028. - need to make LTWRAPPER_OPTION_PREFIX a configure-time option
  82029. - or a configure.ac-settable value.
  82030. - */
  82031. - lt_fatal ("Unrecognized option in %s namespace: '%s'",
  82032. - ltwrapper_option_prefix, argv[i]);
  82033. - }
  82034. - /* otherwise ... */
  82035. - newargz[++newargc] = xstrdup (argv[i]);
  82036. - }
  82037. - newargz[++newargc] = NULL;
  82038. -
  82039. - LTWRAPPER_DEBUGPRINTF (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
  82040. + lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
  82041. + nonnull (lt_argv_zero));
  82042. for (i = 0; i < newargc; i++)
  82043. {
  82044. - LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
  82045. + lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
  82046. + i, nonnull (newargz[i]));
  82047. }
  82048.  
  82049. EOF
  82050. @@ -3560,11 +5901,14 @@
  82051. mingw*)
  82052. cat <<"EOF"
  82053. /* execv doesn't actually work on mingw as expected on unix */
  82054. - rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
  82055. + newargz = prepare_spawn (newargz);
  82056. + rval = (int) _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
  82057. if (rval == -1)
  82058. {
  82059. /* failed to start process */
  82060. - LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
  82061. + lt_debugprintf (__FILE__, __LINE__,
  82062. + "(main) failed to launch target \"%s\": %s\n",
  82063. + lt_argv_zero, nonnull (strerror (errno)));
  82064. return 127;
  82065. }
  82066. return rval;
  82067. @@ -3586,7 +5930,7 @@
  82068. {
  82069. void *p = (void *) malloc (num);
  82070. if (!p)
  82071. - lt_fatal ("Memory exhausted");
  82072. + lt_fatal (__FILE__, __LINE__, "memory exhausted");
  82073.  
  82074. return p;
  82075. }
  82076. @@ -3603,7 +5947,7 @@
  82077. {
  82078. const char *base;
  82079.  
  82080. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  82081. +#if defined HAVE_DOS_BASED_FILE_SYSTEM
  82082. /* Skip over the disk name in MSDOS pathnames. */
  82083. if (isalpha ((unsigned char) name[0]) && name[1] == ':')
  82084. name += 2;
  82085. @@ -3620,8 +5964,8 @@
  82086. {
  82087. struct stat st;
  82088.  
  82089. - LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n",
  82090. - path ? (*path ? path : "EMPTY!") : "NULL!"));
  82091. + lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
  82092. + nonempty (path));
  82093. if ((!path) || (!*path))
  82094. return 0;
  82095.  
  82096. @@ -3638,8 +5982,8 @@
  82097. int rval = 0;
  82098. struct stat st;
  82099.  
  82100. - LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n",
  82101. - path ? (*path ? path : "EMPTY!") : "NULL!"));
  82102. + lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
  82103. + nonempty (path));
  82104. if ((!path) || (!*path))
  82105. return 0;
  82106.  
  82107. @@ -3662,17 +6006,17 @@
  82108. const char *p_next;
  82109. /* static buffer for getcwd */
  82110. char tmp[LT_PATHMAX + 1];
  82111. - int tmp_len;
  82112. + size_t tmp_len;
  82113. char *concat_name;
  82114.  
  82115. - LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n",
  82116. - wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
  82117. + lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
  82118. + nonempty (wrapper));
  82119.  
  82120. if ((wrapper == NULL) || (*wrapper == '\0'))
  82121. return NULL;
  82122.  
  82123. /* Absolute path? */
  82124. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  82125. +#if defined HAVE_DOS_BASED_FILE_SYSTEM
  82126. if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
  82127. {
  82128. concat_name = xstrdup (wrapper);
  82129. @@ -3690,7 +6034,7 @@
  82130. return concat_name;
  82131. XFREE (concat_name);
  82132. }
  82133. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  82134. +#if defined HAVE_DOS_BASED_FILE_SYSTEM
  82135. }
  82136. #endif
  82137.  
  82138. @@ -3713,13 +6057,14 @@
  82139. for (q = p; *q; q++)
  82140. if (IS_PATH_SEPARATOR (*q))
  82141. break;
  82142. - p_len = q - p;
  82143. + p_len = (size_t) (q - p);
  82144. p_next = (*q == '\0' ? q : q + 1);
  82145. if (p_len == 0)
  82146. {
  82147. /* empty path: current directory */
  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 =
  82154. XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  82155. @@ -3744,7 +6089,8 @@
  82156. }
  82157. /* Relative path | not found in path: prepend cwd */
  82158. if (getcwd (tmp, LT_PATHMAX) == NULL)
  82159. - lt_fatal ("getcwd failed");
  82160. + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
  82161. + nonnull (strerror (errno)));
  82162. tmp_len = strlen (tmp);
  82163. concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  82164. memcpy (concat_name, tmp, tmp_len);
  82165. @@ -3770,8 +6116,9 @@
  82166. int has_symlinks = 0;
  82167. while (strlen (tmp_pathspec) && !has_symlinks)
  82168. {
  82169. - LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
  82170. - tmp_pathspec));
  82171. + lt_debugprintf (__FILE__, __LINE__,
  82172. + "checking path component for symlinks: %s\n",
  82173. + tmp_pathspec);
  82174. if (lstat (tmp_pathspec, &s) == 0)
  82175. {
  82176. if (S_ISLNK (s.st_mode) != 0)
  82177. @@ -3793,8 +6140,9 @@
  82178. }
  82179. else
  82180. {
  82181. - char *errstr = strerror (errno);
  82182. - lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
  82183. + lt_fatal (__FILE__, __LINE__,
  82184. + "error accessing file \"%s\": %s",
  82185. + tmp_pathspec, nonnull (strerror (errno)));
  82186. }
  82187. }
  82188. XFREE (tmp_pathspec);
  82189. @@ -3807,7 +6155,8 @@
  82190. tmp_pathspec = realpath (pathspec, buf);
  82191. if (tmp_pathspec == 0)
  82192. {
  82193. - lt_fatal ("Could not follow symlinks for %s", pathspec);
  82194. + lt_fatal (__FILE__, __LINE__,
  82195. + "could not follow symlinks for %s", pathspec);
  82196. }
  82197. return xstrdup (tmp_pathspec);
  82198. #endif
  82199. @@ -3827,17 +6176,31 @@
  82200. if (patlen <= len)
  82201. {
  82202. str += len - patlen;
  82203. - if (strcmp (str, pat) == 0)
  82204. + if (STREQ (str, pat))
  82205. *str = '\0';
  82206. }
  82207. return str;
  82208. }
  82209.  
  82210. +void
  82211. +lt_debugprintf (const char *file, int line, const char *fmt, ...)
  82212. +{
  82213. + va_list args;
  82214. + if (lt_debug)
  82215. + {
  82216. + (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
  82217. + va_start (args, fmt);
  82218. + (void) vfprintf (stderr, fmt, args);
  82219. + va_end (args);
  82220. + }
  82221. +}
  82222. +
  82223. static void
  82224. -lt_error_core (int exit_status, const char *mode,
  82225. +lt_error_core (int exit_status, const char *file,
  82226. + int line, const char *mode,
  82227. const char *message, va_list ap)
  82228. {
  82229. - fprintf (stderr, "%s: %s: ", program_name, mode);
  82230. + fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
  82231. vfprintf (stderr, message, ap);
  82232. fprintf (stderr, ".\n");
  82233.  
  82234. @@ -3846,27 +6209,39 @@
  82235. }
  82236.  
  82237. void
  82238. -lt_fatal (const char *message, ...)
  82239. +lt_fatal (const char *file, int line, const char *message, ...)
  82240. {
  82241. va_list ap;
  82242. va_start (ap, message);
  82243. - lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
  82244. + lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
  82245. va_end (ap);
  82246. }
  82247.  
  82248. +static const char *
  82249. +nonnull (const char *s)
  82250. +{
  82251. + return s ? s : "(null)";
  82252. +}
  82253. +
  82254. +static const char *
  82255. +nonempty (const char *s)
  82256. +{
  82257. + return (s && !*s) ? "(empty)" : nonnull (s);
  82258. +}
  82259. +
  82260. void
  82261. lt_setenv (const char *name, const char *value)
  82262. {
  82263. - LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
  82264. - (name ? name : "<NULL>"),
  82265. - (value ? value : "<NULL>")));
  82266. + lt_debugprintf (__FILE__, __LINE__,
  82267. + "(lt_setenv) setting '%s' to '%s'\n",
  82268. + nonnull (name), nonnull (value));
  82269. {
  82270. #ifdef HAVE_SETENV
  82271. /* always make a copy, for consistency with !HAVE_SETENV */
  82272. char *str = xstrdup (value);
  82273. setenv (name, str, 1);
  82274. #else
  82275. - int len = strlen (name) + 1 + strlen (value) + 1;
  82276. + size_t len = strlen (name) + 1 + strlen (value) + 1;
  82277. char *str = XMALLOC (char, len);
  82278. sprintf (str, "%s=%s", name, value);
  82279. if (putenv (str) != EXIT_SUCCESS)
  82280. @@ -3883,8 +6258,8 @@
  82281. char *new_value;
  82282. if (orig_value && *orig_value)
  82283. {
  82284. - int orig_value_len = strlen (orig_value);
  82285. - int add_len = strlen (add);
  82286. + size_t orig_value_len = strlen (orig_value);
  82287. + size_t add_len = strlen (add);
  82288. new_value = XMALLOC (char, add_len + orig_value_len + 1);
  82289. if (to_end)
  82290. {
  82291. @@ -3904,104 +6279,21 @@
  82292. return new_value;
  82293. }
  82294.  
  82295. -int
  82296. -lt_split_name_value (const char *arg, char** name, char** value)
  82297. -{
  82298. - const char *p;
  82299. - int len;
  82300. - if (!arg || !*arg)
  82301. - return 1;
  82302. -
  82303. - p = strchr (arg, (int)'=');
  82304. -
  82305. - if (!p)
  82306. - return 1;
  82307. -
  82308. - *value = xstrdup (++p);
  82309. -
  82310. - len = strlen (arg) - strlen (*value);
  82311. - *name = XMALLOC (char, len);
  82312. - strncpy (*name, arg, len-1);
  82313. - (*name)[len - 1] = '\0';
  82314. -
  82315. - return 0;
  82316. -}
  82317. -
  82318. -void
  82319. -lt_opt_process_env_set (const char *arg)
  82320. -{
  82321. - char *name = NULL;
  82322. - char *value = NULL;
  82323. -
  82324. - if (lt_split_name_value (arg, &name, &value) != 0)
  82325. - {
  82326. - XFREE (name);
  82327. - XFREE (value);
  82328. - lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
  82329. - }
  82330. -
  82331. - lt_setenv (name, value);
  82332. - XFREE (name);
  82333. - XFREE (value);
  82334. -}
  82335. -
  82336. -void
  82337. -lt_opt_process_env_prepend (const char *arg)
  82338. -{
  82339. - char *name = NULL;
  82340. - char *value = NULL;
  82341. - char *new_value = NULL;
  82342. -
  82343. - if (lt_split_name_value (arg, &name, &value) != 0)
  82344. - {
  82345. - XFREE (name);
  82346. - XFREE (value);
  82347. - lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
  82348. - }
  82349. -
  82350. - new_value = lt_extend_str (getenv (name), value, 0);
  82351. - lt_setenv (name, new_value);
  82352. - XFREE (new_value);
  82353. - XFREE (name);
  82354. - XFREE (value);
  82355. -}
  82356. -
  82357. -void
  82358. -lt_opt_process_env_append (const char *arg)
  82359. -{
  82360. - char *name = NULL;
  82361. - char *value = NULL;
  82362. - char *new_value = NULL;
  82363. -
  82364. - if (lt_split_name_value (arg, &name, &value) != 0)
  82365. - {
  82366. - XFREE (name);
  82367. - XFREE (value);
  82368. - lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
  82369. - }
  82370. -
  82371. - new_value = lt_extend_str (getenv (name), value, 1);
  82372. - lt_setenv (name, new_value);
  82373. - XFREE (new_value);
  82374. - XFREE (name);
  82375. - XFREE (value);
  82376. -}
  82377. -
  82378. void
  82379. lt_update_exe_path (const char *name, const char *value)
  82380. {
  82381. - LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
  82382. - (name ? name : "<NULL>"),
  82383. - (value ? value : "<NULL>")));
  82384. + lt_debugprintf (__FILE__, __LINE__,
  82385. + "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
  82386. + nonnull (name), nonnull (value));
  82387.  
  82388. if (name && *name && value && *value)
  82389. {
  82390. char *new_value = lt_extend_str (getenv (name), value, 0);
  82391. /* some systems can't cope with a ':'-terminated path #' */
  82392. - int len = strlen (new_value);
  82393. - while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
  82394. + size_t len = strlen (new_value);
  82395. + while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
  82396. {
  82397. - new_value[len-1] = '\0';
  82398. + new_value[--len] = '\0';
  82399. }
  82400. lt_setenv (name, new_value);
  82401. XFREE (new_value);
  82402. @@ -4011,9 +6303,9 @@
  82403. void
  82404. lt_update_lib_path (const char *name, const char *value)
  82405. {
  82406. - LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
  82407. - (name ? name : "<NULL>"),
  82408. - (value ? value : "<NULL>")));
  82409. + lt_debugprintf (__FILE__, __LINE__,
  82410. + "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
  82411. + nonnull (name), nonnull (value));
  82412.  
  82413. if (name && *name && value && *value)
  82414. {
  82415. @@ -4023,25 +6315,192 @@
  82416. }
  82417. }
  82418.  
  82419. +EOF
  82420. + case $host_os in
  82421. + mingw*)
  82422. + cat <<"EOF"
  82423. +
  82424. +/* Prepares an argument vector before calling spawn().
  82425. + Note that spawn() does not by itself call the command interpreter
  82426. + (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
  82427. + ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
  82428. + GetVersionEx(&v);
  82429. + v.dwPlatformId == VER_PLATFORM_WIN32_NT;
  82430. + }) ? "cmd.exe" : "command.com").
  82431. + Instead it simply concatenates the arguments, separated by ' ', and calls
  82432. + CreateProcess(). We must quote the arguments since Win32 CreateProcess()
  82433. + interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
  82434. + special way:
  82435. + - Space and tab are interpreted as delimiters. They are not treated as
  82436. + delimiters if they are surrounded by double quotes: "...".
  82437. + - Unescaped double quotes are removed from the input. Their only effect is
  82438. + that within double quotes, space and tab are treated like normal
  82439. + characters.
  82440. + - Backslashes not followed by double quotes are not special.
  82441. + - But 2*n+1 backslashes followed by a double quote become
  82442. + n backslashes followed by a double quote (n >= 0):
  82443. + \" -> "
  82444. + \\\" -> \"
  82445. + \\\\\" -> \\"
  82446. + */
  82447. +#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"
  82448. +#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"
  82449. +char **
  82450. +prepare_spawn (char **argv)
  82451. +{
  82452. + size_t argc;
  82453. + char **new_argv;
  82454. + size_t i;
  82455. +
  82456. + /* Count number of arguments. */
  82457. + for (argc = 0; argv[argc] != NULL; argc++)
  82458. + ;
  82459. +
  82460. + /* Allocate new argument vector. */
  82461. + new_argv = XMALLOC (char *, argc + 1);
  82462. +
  82463. + /* Put quoted arguments into the new argument vector. */
  82464. + for (i = 0; i < argc; i++)
  82465. + {
  82466. + const char *string = argv[i];
  82467. +
  82468. + if (string[0] == '\0')
  82469. + new_argv[i] = xstrdup ("\"\"");
  82470. + else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
  82471. + {
  82472. + int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
  82473. + size_t length;
  82474. + unsigned int backslashes;
  82475. + const char *s;
  82476. + char *quoted_string;
  82477. + char *p;
  82478. +
  82479. + length = 0;
  82480. + backslashes = 0;
  82481. + if (quote_around)
  82482. + length++;
  82483. + for (s = string; *s != '\0'; s++)
  82484. + {
  82485. + char c = *s;
  82486. + if (c == '"')
  82487. + length += backslashes + 1;
  82488. + length++;
  82489. + if (c == '\\')
  82490. + backslashes++;
  82491. + else
  82492. + backslashes = 0;
  82493. + }
  82494. + if (quote_around)
  82495. + length += backslashes + 1;
  82496. +
  82497. + quoted_string = XMALLOC (char, length + 1);
  82498. +
  82499. + p = quoted_string;
  82500. + backslashes = 0;
  82501. + if (quote_around)
  82502. + *p++ = '"';
  82503. + for (s = string; *s != '\0'; s++)
  82504. + {
  82505. + char c = *s;
  82506. + if (c == '"')
  82507. + {
  82508. + unsigned int j;
  82509. + for (j = backslashes + 1; j > 0; j--)
  82510. + *p++ = '\\';
  82511. + }
  82512. + *p++ = c;
  82513. + if (c == '\\')
  82514. + backslashes++;
  82515. + else
  82516. + backslashes = 0;
  82517. + }
  82518. + if (quote_around)
  82519. + {
  82520. + unsigned int j;
  82521. + for (j = backslashes; j > 0; j--)
  82522. + *p++ = '\\';
  82523. + *p++ = '"';
  82524. + }
  82525. + *p = '\0';
  82526. +
  82527. + new_argv[i] = quoted_string;
  82528. + }
  82529. + else
  82530. + new_argv[i] = (char *) string;
  82531. + }
  82532. + new_argv[argc] = NULL;
  82533. +
  82534. + return new_argv;
  82535. +}
  82536. +EOF
  82537. + ;;
  82538. + esac
  82539.  
  82540. + cat <<"EOF"
  82541. +void lt_dump_script (FILE* f)
  82542. +{
  82543. +EOF
  82544. + func_emit_wrapper yes |
  82545. + $SED -n -e '
  82546. +s/^\(.\{79\}\)\(..*\)/\1\
  82547. +\2/
  82548. +h
  82549. +s/\([\\"]\)/\\\1/g
  82550. +s/$/\\n/
  82551. +s/\([^\n]*\).*/ fputs ("\1", f);/p
  82552. +g
  82553. +D'
  82554. + cat <<"EOF"
  82555. +}
  82556. EOF
  82557. }
  82558. # end: func_emit_cwrapperexe_src
  82559.  
  82560. +# func_win32_import_lib_p ARG
  82561. +# True if ARG is an import lib, as indicated by $file_magic_cmd
  82562. +func_win32_import_lib_p ()
  82563. +{
  82564. + $debug_cmd
  82565. +
  82566. + case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
  82567. + *import*) : ;;
  82568. + *) false ;;
  82569. + esac
  82570. +}
  82571. +
  82572. +# func_suncc_cstd_abi
  82573. +# !!ONLY CALL THIS FOR SUN CC AFTER $compile_command IS FULLY EXPANDED!!
  82574. +# Several compiler flags select an ABI that is incompatible with the
  82575. +# Cstd library. Avoid specifying it if any are in CXXFLAGS.
  82576. +func_suncc_cstd_abi ()
  82577. +{
  82578. + $debug_cmd
  82579. +
  82580. + case " $compile_command " in
  82581. + *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*)
  82582. + suncc_use_cstd_abi=no
  82583. + ;;
  82584. + *)
  82585. + suncc_use_cstd_abi=yes
  82586. + ;;
  82587. + esac
  82588. +}
  82589. +
  82590. # func_mode_link arg...
  82591. func_mode_link ()
  82592. {
  82593. - $opt_debug
  82594. + $debug_cmd
  82595. +
  82596. case $host in
  82597. *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  82598. # It is impossible to link a dll without this setting, and
  82599. # we shouldn't force the makefile maintainer to figure out
  82600. - # which system we are compiling for in order to pass an extra
  82601. + # what system we are compiling for in order to pass an extra
  82602. # flag for every libtool invocation.
  82603. # allow_undefined=no
  82604.  
  82605. # FIXME: Unfortunately, there are problems with the above when trying
  82606. - # to make a dll which has undefined symbols, in which case not
  82607. + # to make a dll that has undefined symbols, in which case not
  82608. # even a static library is built. For now, we need to specify
  82609. # -no-undefined on the libtool link line when we can be certain
  82610. # that all symbols are satisfied, otherwise we get a static library.
  82611. @@ -4072,6 +6531,7 @@
  82612. new_inherited_linker_flags=
  82613.  
  82614. avoid_version=no
  82615. + bindir=
  82616. dlfiles=
  82617. dlprefiles=
  82618. dlself=no
  82619. @@ -4084,10 +6544,11 @@
  82620. module=no
  82621. no_install=no
  82622. objs=
  82623. + os2dllname=
  82624. non_pic_objects=
  82625. precious_files_regex=
  82626. prefer_static_libs=no
  82627. - preload=no
  82628. + preload=false
  82629. prev=
  82630. prevarg=
  82631. release=
  82632. @@ -4099,7 +6560,7 @@
  82633. vinfo=
  82634. vinfo_number=no
  82635. weak_libs=
  82636. - single_module="${wl}-single_module"
  82637. + single_module=$wl-single_module
  82638. func_infer_tag $base_compile
  82639.  
  82640. # We need to know -static, to get the right output filenames.
  82641. @@ -4107,15 +6568,15 @@
  82642. do
  82643. case $arg in
  82644. -shared)
  82645. - test "$build_libtool_libs" != yes && \
  82646. - func_fatal_configuration "can not build a shared library"
  82647. + test yes != "$build_libtool_libs" \
  82648. + && func_fatal_configuration "cannot build a shared library"
  82649. build_old_libs=no
  82650. break
  82651. ;;
  82652. -all-static | -static | -static-libtool-libs)
  82653. case $arg in
  82654. -all-static)
  82655. - if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
  82656. + if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then
  82657. func_warning "complete static linking is impossible in this configuration"
  82658. fi
  82659. if test -n "$link_static_flag"; then
  82660. @@ -4148,7 +6609,7 @@
  82661.  
  82662. # Go through the arguments, transforming them on the way.
  82663. while test "$#" -gt 0; do
  82664. - arg="$1"
  82665. + arg=$1
  82666. shift
  82667. func_quote_for_eval "$arg"
  82668. qarg=$func_quote_for_eval_unquoted_result
  82669. @@ -4164,17 +6625,22 @@
  82670. esac
  82671.  
  82672. case $prev in
  82673. + bindir)
  82674. + bindir=$arg
  82675. + prev=
  82676. + continue
  82677. + ;;
  82678. dlfiles|dlprefiles)
  82679. - if test "$preload" = no; then
  82680. + $preload || {
  82681. # Add the symbol object into the linking commands.
  82682. func_append compile_command " @SYMFILE@"
  82683. func_append finalize_command " @SYMFILE@"
  82684. - preload=yes
  82685. - fi
  82686. + preload=:
  82687. + }
  82688. case $arg in
  82689. *.la | *.lo) ;; # We handle these cases below.
  82690. force)
  82691. - if test "$dlself" = no; then
  82692. + if test no = "$dlself"; then
  82693. dlself=needless
  82694. export_dynamic=yes
  82695. fi
  82696. @@ -4182,9 +6648,9 @@
  82697. continue
  82698. ;;
  82699. self)
  82700. - if test "$prev" = dlprefiles; then
  82701. + if test dlprefiles = "$prev"; then
  82702. dlself=yes
  82703. - elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
  82704. + elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then
  82705. dlself=yes
  82706. else
  82707. dlself=needless
  82708. @@ -4194,10 +6660,10 @@
  82709. continue
  82710. ;;
  82711. *)
  82712. - if test "$prev" = dlfiles; then
  82713. - dlfiles="$dlfiles $arg"
  82714. + if test dlfiles = "$prev"; then
  82715. + func_append dlfiles " $arg"
  82716. else
  82717. - dlprefiles="$dlprefiles $arg"
  82718. + func_append dlprefiles " $arg"
  82719. fi
  82720. prev=
  82721. continue
  82722. @@ -4205,14 +6671,14 @@
  82723. esac
  82724. ;;
  82725. expsyms)
  82726. - export_symbols="$arg"
  82727. + export_symbols=$arg
  82728. test -f "$arg" \
  82729. - || func_fatal_error "symbol file \`$arg' does not exist"
  82730. + || func_fatal_error "symbol file '$arg' does not exist"
  82731. prev=
  82732. continue
  82733. ;;
  82734. expsyms_regex)
  82735. - export_symbols_regex="$arg"
  82736. + export_symbols_regex=$arg
  82737. prev=
  82738. continue
  82739. ;;
  82740. @@ -4221,7 +6687,7 @@
  82741. *-*-darwin*)
  82742. case "$deplibs " in
  82743. *" $qarg.ltframework "*) ;;
  82744. - *) deplibs="$deplibs $qarg.ltframework" # this is fixed later
  82745. + *) func_append deplibs " $qarg.ltframework" # this is fixed later
  82746. ;;
  82747. esac
  82748. ;;
  82749. @@ -4230,7 +6696,13 @@
  82750. continue
  82751. ;;
  82752. inst_prefix)
  82753. - inst_prefix_dir="$arg"
  82754. + inst_prefix_dir=$arg
  82755. + prev=
  82756. + continue
  82757. + ;;
  82758. + mllvm)
  82759. + # Clang does not use LLVM to link, so we can simply discard any
  82760. + # '-mllvm $arg' options when doing the link step.
  82761. prev=
  82762. continue
  82763. ;;
  82764. @@ -4240,7 +6712,7 @@
  82765. moreargs=
  82766. for fil in `cat "$save_arg"`
  82767. do
  82768. -# moreargs="$moreargs $fil"
  82769. +# func_append moreargs " $fil"
  82770. arg=$fil
  82771. # A libtool-controlled object.
  82772.  
  82773. @@ -4254,22 +6726,22 @@
  82774.  
  82775. if test -z "$pic_object" ||
  82776. test -z "$non_pic_object" ||
  82777. - test "$pic_object" = none &&
  82778. - test "$non_pic_object" = none; then
  82779. - func_fatal_error "cannot find name of object for \`$arg'"
  82780. + test none = "$pic_object" &&
  82781. + test none = "$non_pic_object"; then
  82782. + func_fatal_error "cannot find name of object for '$arg'"
  82783. fi
  82784.  
  82785. # Extract subdirectory from the argument.
  82786. func_dirname "$arg" "/" ""
  82787. - xdir="$func_dirname_result"
  82788. + xdir=$func_dirname_result
  82789.  
  82790. - if test "$pic_object" != none; then
  82791. + if test none != "$pic_object"; then
  82792. # Prepend the subdirectory the object is found in.
  82793. - pic_object="$xdir$pic_object"
  82794. + pic_object=$xdir$pic_object
  82795.  
  82796. - if test "$prev" = dlfiles; then
  82797. - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  82798. - dlfiles="$dlfiles $pic_object"
  82799. + if test dlfiles = "$prev"; then
  82800. + if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
  82801. + func_append dlfiles " $pic_object"
  82802. prev=
  82803. continue
  82804. else
  82805. @@ -4279,31 +6751,31 @@
  82806. fi
  82807.  
  82808. # CHECK ME: I think I busted this. -Ossama
  82809. - if test "$prev" = dlprefiles; then
  82810. + if test dlprefiles = "$prev"; then
  82811. # Preload the old-style object.
  82812. - dlprefiles="$dlprefiles $pic_object"
  82813. + func_append dlprefiles " $pic_object"
  82814. prev=
  82815. fi
  82816.  
  82817. # A PIC object.
  82818. func_append libobjs " $pic_object"
  82819. - arg="$pic_object"
  82820. + arg=$pic_object
  82821. fi
  82822.  
  82823. # Non-PIC object.
  82824. - if test "$non_pic_object" != none; then
  82825. + if test none != "$non_pic_object"; then
  82826. # Prepend the subdirectory the object is found in.
  82827. - non_pic_object="$xdir$non_pic_object"
  82828. + non_pic_object=$xdir$non_pic_object
  82829.  
  82830. # A standard non-PIC object
  82831. func_append non_pic_objects " $non_pic_object"
  82832. - if test -z "$pic_object" || test "$pic_object" = none ; then
  82833. - arg="$non_pic_object"
  82834. + if test -z "$pic_object" || test none = "$pic_object"; then
  82835. + arg=$non_pic_object
  82836. fi
  82837. else
  82838. # If the PIC object exists, use it instead.
  82839. # $xdir was prepended to $pic_object above.
  82840. - non_pic_object="$pic_object"
  82841. + non_pic_object=$pic_object
  82842. func_append non_pic_objects " $non_pic_object"
  82843. fi
  82844. else
  82845. @@ -4311,7 +6783,7 @@
  82846. if $opt_dry_run; then
  82847. # Extract subdirectory from the argument.
  82848. func_dirname "$arg" "/" ""
  82849. - xdir="$func_dirname_result"
  82850. + xdir=$func_dirname_result
  82851.  
  82852. func_lo2o "$arg"
  82853. pic_object=$xdir$objdir/$func_lo2o_result
  82854. @@ -4319,24 +6791,29 @@
  82855. func_append libobjs " $pic_object"
  82856. func_append non_pic_objects " $non_pic_object"
  82857. else
  82858. - func_fatal_error "\`$arg' is not a valid libtool object"
  82859. + func_fatal_error "'$arg' is not a valid libtool object"
  82860. fi
  82861. fi
  82862. done
  82863. else
  82864. - func_fatal_error "link input file \`$arg' does not exist"
  82865. + func_fatal_error "link input file '$arg' does not exist"
  82866. fi
  82867. arg=$save_arg
  82868. prev=
  82869. continue
  82870. ;;
  82871. + os2dllname)
  82872. + os2dllname=$arg
  82873. + prev=
  82874. + continue
  82875. + ;;
  82876. precious_regex)
  82877. - precious_files_regex="$arg"
  82878. + precious_files_regex=$arg
  82879. prev=
  82880. continue
  82881. ;;
  82882. release)
  82883. - release="-$arg"
  82884. + release=-$arg
  82885. prev=
  82886. continue
  82887. ;;
  82888. @@ -4348,48 +6825,48 @@
  82889. func_fatal_error "only absolute run-paths are allowed"
  82890. ;;
  82891. esac
  82892. - if test "$prev" = rpath; then
  82893. + if test rpath = "$prev"; then
  82894. case "$rpath " in
  82895. *" $arg "*) ;;
  82896. - *) rpath="$rpath $arg" ;;
  82897. + *) func_append rpath " $arg" ;;
  82898. esac
  82899. else
  82900. case "$xrpath " in
  82901. *" $arg "*) ;;
  82902. - *) xrpath="$xrpath $arg" ;;
  82903. + *) func_append xrpath " $arg" ;;
  82904. esac
  82905. fi
  82906. prev=
  82907. continue
  82908. ;;
  82909. shrext)
  82910. - shrext_cmds="$arg"
  82911. + shrext_cmds=$arg
  82912. prev=
  82913. continue
  82914. ;;
  82915. weak)
  82916. - weak_libs="$weak_libs $arg"
  82917. + func_append weak_libs " $arg"
  82918. prev=
  82919. continue
  82920. ;;
  82921. xcclinker)
  82922. - linker_flags="$linker_flags $qarg"
  82923. - compiler_flags="$compiler_flags $qarg"
  82924. + func_append linker_flags " $qarg"
  82925. + func_append compiler_flags " $qarg"
  82926. prev=
  82927. func_append compile_command " $qarg"
  82928. func_append finalize_command " $qarg"
  82929. continue
  82930. ;;
  82931. xcompiler)
  82932. - compiler_flags="$compiler_flags $qarg"
  82933. + func_append compiler_flags " $qarg"
  82934. prev=
  82935. func_append compile_command " $qarg"
  82936. func_append finalize_command " $qarg"
  82937. continue
  82938. ;;
  82939. xlinker)
  82940. - linker_flags="$linker_flags $qarg"
  82941. - compiler_flags="$compiler_flags $wl$qarg"
  82942. + func_append linker_flags " $qarg"
  82943. + func_append compiler_flags " $wl$qarg"
  82944. prev=
  82945. func_append compile_command " $wl$qarg"
  82946. func_append finalize_command " $wl$qarg"
  82947. @@ -4403,7 +6880,7 @@
  82948. esac
  82949. fi # test -n "$prev"
  82950.  
  82951. - prevarg="$arg"
  82952. + prevarg=$arg
  82953.  
  82954. case $arg in
  82955. -all-static)
  82956. @@ -4417,7 +6894,7 @@
  82957.  
  82958. -allow-undefined)
  82959. # FIXME: remove this flag sometime in the future.
  82960. - func_fatal_error "\`-allow-undefined' must not be used because it is the default"
  82961. + func_fatal_error "'-allow-undefined' must not be used because it is the default"
  82962. ;;
  82963.  
  82964. -avoid-version)
  82965. @@ -4425,6 +6902,11 @@
  82966. continue
  82967. ;;
  82968.  
  82969. + -bindir)
  82970. + prev=bindir
  82971. + continue
  82972. + ;;
  82973. +
  82974. -dlopen)
  82975. prev=dlfiles
  82976. continue
  82977. @@ -4444,7 +6926,7 @@
  82978. if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
  82979. func_fatal_error "more than one -exported-symbols argument is not allowed"
  82980. fi
  82981. - if test "X$arg" = "X-export-symbols"; then
  82982. + if test X-export-symbols = "X$arg"; then
  82983. prev=expsyms
  82984. else
  82985. prev=expsyms_regex
  82986. @@ -4475,44 +6957,51 @@
  82987. ;;
  82988.  
  82989. -L*)
  82990. - func_stripname '-L' '' "$arg"
  82991. - dir=$func_stripname_result
  82992. - if test -z "$dir"; then
  82993. + func_stripname "-L" '' "$arg"
  82994. + if test -z "$func_stripname_result"; then
  82995. if test "$#" -gt 0; then
  82996. - func_fatal_error "require no space between \`-L' and \`$1'"
  82997. + func_fatal_error "require no space between '-L' and '$1'"
  82998. else
  82999. - func_fatal_error "need path for \`-L' option"
  83000. + func_fatal_error "need path for '-L' option"
  83001. fi
  83002. fi
  83003. + func_resolve_sysroot "$func_stripname_result"
  83004. + dir=$func_resolve_sysroot_result
  83005. # We need an absolute path.
  83006. case $dir in
  83007. [\\/]* | [A-Za-z]:[\\/]*) ;;
  83008. *)
  83009. absdir=`cd "$dir" && pwd`
  83010. test -z "$absdir" && \
  83011. - func_fatal_error "cannot determine absolute directory name of \`$dir'"
  83012. - dir="$absdir"
  83013. + func_fatal_error "cannot determine absolute directory name of '$dir'"
  83014. + dir=$absdir
  83015. ;;
  83016. esac
  83017. case "$deplibs " in
  83018. - *" -L$dir "*) ;;
  83019. + *" -L$dir "* | *" $arg "*)
  83020. + # Will only happen for absolute or sysroot arguments
  83021. + ;;
  83022. *)
  83023. - deplibs="$deplibs -L$dir"
  83024. - lib_search_path="$lib_search_path $dir"
  83025. + # Preserve sysroot, but never include relative directories
  83026. + case $dir in
  83027. + [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;;
  83028. + *) func_append deplibs " -L$dir" ;;
  83029. + esac
  83030. + func_append lib_search_path " $dir"
  83031. ;;
  83032. esac
  83033. case $host in
  83034. *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  83035. - testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
  83036. + testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
  83037. case :$dllsearchpath: in
  83038. *":$dir:"*) ;;
  83039. ::) dllsearchpath=$dir;;
  83040. - *) dllsearchpath="$dllsearchpath:$dir";;
  83041. + *) func_append dllsearchpath ":$dir";;
  83042. esac
  83043. case :$dllsearchpath: in
  83044. *":$testbindir:"*) ;;
  83045. ::) dllsearchpath=$testbindir;;
  83046. - *) dllsearchpath="$dllsearchpath:$testbindir";;
  83047. + *) func_append dllsearchpath ":$testbindir";;
  83048. esac
  83049. ;;
  83050. esac
  83051. @@ -4520,43 +7009,48 @@
  83052. ;;
  83053.  
  83054. -l*)
  83055. - if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
  83056. + if test X-lc = "X$arg" || test X-lm = "X$arg"; then
  83057. case $host in
  83058. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
  83059. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
  83060. # These systems don't actually have a C or math library (as such)
  83061. continue
  83062. ;;
  83063. *-*-os2*)
  83064. # These systems don't actually have a C library (as such)
  83065. - test "X$arg" = "X-lc" && continue
  83066. + test X-lc = "X$arg" && continue
  83067. ;;
  83068. - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  83069. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
  83070. # Do not include libc due to us having libc/libc_r.
  83071. - test "X$arg" = "X-lc" && continue
  83072. + test X-lc = "X$arg" && continue
  83073. ;;
  83074. *-*-rhapsody* | *-*-darwin1.[012])
  83075. # Rhapsody C and math libraries are in the System framework
  83076. - deplibs="$deplibs System.ltframework"
  83077. + func_append deplibs " System.ltframework"
  83078. continue
  83079. ;;
  83080. *-*-sco3.2v5* | *-*-sco5v6*)
  83081. # Causes problems with __ctype
  83082. - test "X$arg" = "X-lc" && continue
  83083. + test X-lc = "X$arg" && continue
  83084. ;;
  83085. *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  83086. # Compiler inserts libc in the correct place for threads to work
  83087. - test "X$arg" = "X-lc" && continue
  83088. + test X-lc = "X$arg" && continue
  83089. ;;
  83090. esac
  83091. - elif test "X$arg" = "X-lc_r"; then
  83092. + elif test X-lc_r = "X$arg"; then
  83093. case $host in
  83094. - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  83095. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
  83096. # Do not include libc_r directly, use -pthread flag.
  83097. continue
  83098. ;;
  83099. esac
  83100. fi
  83101. - deplibs="$deplibs $arg"
  83102. + func_append deplibs " $arg"
  83103. + continue
  83104. + ;;
  83105. +
  83106. + -mllvm)
  83107. + prev=mllvm
  83108. continue
  83109. ;;
  83110.  
  83111. @@ -4568,27 +7062,28 @@
  83112. # Tru64 UNIX uses -model [arg] to determine the layout of C++
  83113. # classes, name mangling, and exception handling.
  83114. # Darwin uses the -arch flag to determine output architecture.
  83115. - -model|-arch|-isysroot)
  83116. - compiler_flags="$compiler_flags $arg"
  83117. + -model|-arch|-isysroot|--sysroot)
  83118. + func_append compiler_flags " $arg"
  83119. func_append compile_command " $arg"
  83120. func_append finalize_command " $arg"
  83121. prev=xcompiler
  83122. continue
  83123. ;;
  83124.  
  83125. - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  83126. - compiler_flags="$compiler_flags $arg"
  83127. + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
  83128. + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
  83129. + func_append compiler_flags " $arg"
  83130. func_append compile_command " $arg"
  83131. func_append finalize_command " $arg"
  83132. case "$new_inherited_linker_flags " in
  83133. *" $arg "*) ;;
  83134. - * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;;
  83135. + * ) func_append new_inherited_linker_flags " $arg" ;;
  83136. esac
  83137. continue
  83138. ;;
  83139.  
  83140. -multi_module)
  83141. - single_module="${wl}-multi_module"
  83142. + single_module=$wl-multi_module
  83143. continue
  83144. ;;
  83145.  
  83146. @@ -4602,8 +7097,8 @@
  83147. *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
  83148. # The PATH hackery in wrapper scripts is required on Windows
  83149. # and Darwin in order for the loader to find any dlls it needs.
  83150. - func_warning "\`-no-install' is ignored for $host"
  83151. - func_warning "assuming \`-no-fast-install' instead"
  83152. + func_warning "'-no-install' is ignored for $host"
  83153. + func_warning "assuming '-no-fast-install' instead"
  83154. fast_install=no
  83155. ;;
  83156. *) no_install=yes ;;
  83157. @@ -4621,6 +7116,11 @@
  83158. continue
  83159. ;;
  83160.  
  83161. + -os2dllname)
  83162. + prev=os2dllname
  83163. + continue
  83164. + ;;
  83165. +
  83166. -o) prev=output ;;
  83167.  
  83168. -precious-files-regex)
  83169. @@ -4649,13 +7149,17 @@
  83170. # We need an absolute path.
  83171. case $dir in
  83172. [\\/]* | [A-Za-z]:[\\/]*) ;;
  83173. + =*)
  83174. + func_stripname '=' '' "$dir"
  83175. + dir=$lt_sysroot$func_stripname_result
  83176. + ;;
  83177. *)
  83178. func_fatal_error "only absolute run-paths are allowed"
  83179. ;;
  83180. esac
  83181. case "$xrpath " in
  83182. *" $dir "*) ;;
  83183. - *) xrpath="$xrpath $dir" ;;
  83184. + *) func_append xrpath " $dir" ;;
  83185. esac
  83186. continue
  83187. ;;
  83188. @@ -4704,14 +7208,14 @@
  83189. func_stripname '-Wc,' '' "$arg"
  83190. args=$func_stripname_result
  83191. arg=
  83192. - save_ifs="$IFS"; IFS=','
  83193. + save_ifs=$IFS; IFS=,
  83194. for flag in $args; do
  83195. - IFS="$save_ifs"
  83196. + IFS=$save_ifs
  83197. func_quote_for_eval "$flag"
  83198. - arg="$arg $wl$func_quote_for_eval_result"
  83199. - compiler_flags="$compiler_flags $func_quote_for_eval_result"
  83200. + func_append arg " $func_quote_for_eval_result"
  83201. + func_append compiler_flags " $func_quote_for_eval_result"
  83202. done
  83203. - IFS="$save_ifs"
  83204. + IFS=$save_ifs
  83205. func_stripname ' ' '' "$arg"
  83206. arg=$func_stripname_result
  83207. ;;
  83208. @@ -4720,15 +7224,15 @@
  83209. func_stripname '-Wl,' '' "$arg"
  83210. args=$func_stripname_result
  83211. arg=
  83212. - save_ifs="$IFS"; IFS=','
  83213. + save_ifs=$IFS; IFS=,
  83214. for flag in $args; do
  83215. - IFS="$save_ifs"
  83216. + IFS=$save_ifs
  83217. func_quote_for_eval "$flag"
  83218. - arg="$arg $wl$func_quote_for_eval_result"
  83219. - compiler_flags="$compiler_flags $wl$func_quote_for_eval_result"
  83220. - linker_flags="$linker_flags $func_quote_for_eval_result"
  83221. + func_append arg " $wl$func_quote_for_eval_result"
  83222. + func_append compiler_flags " $wl$func_quote_for_eval_result"
  83223. + func_append linker_flags " $func_quote_for_eval_result"
  83224. done
  83225. - IFS="$save_ifs"
  83226. + IFS=$save_ifs
  83227. func_stripname ' ' '' "$arg"
  83228. arg=$func_stripname_result
  83229. ;;
  83230. @@ -4751,38 +7255,65 @@
  83231. # -msg_* for osf cc
  83232. -msg_*)
  83233. func_quote_for_eval "$arg"
  83234. - arg="$func_quote_for_eval_result"
  83235. + arg=$func_quote_for_eval_result
  83236. ;;
  83237.  
  83238. - # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
  83239. - # -r[0-9][0-9]* specifies the processor on the SGI compiler
  83240. - # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
  83241. - # +DA*, +DD* enable 64-bit mode on the HP compiler
  83242. - # -q* pass through compiler args for the IBM compiler
  83243. - # -m*, -t[45]*, -txscale* pass through architecture-specific
  83244. - # compiler args for GCC
  83245. - # -F/path gives path to uninstalled frameworks, gcc on darwin
  83246. - # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
  83247. - # @file GCC response files
  83248. + # Flags to be passed through unchanged, with rationale:
  83249. + # -64, -mips[0-9] enable 64-bit mode for the SGI compiler
  83250. + # -r[0-9][0-9]* specify processor for the SGI compiler
  83251. + # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
  83252. + # +DA*, +DD* enable 64-bit mode for the HP compiler
  83253. + # -q* compiler args for the IBM compiler
  83254. + # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
  83255. + # -F/path path to uninstalled frameworks, gcc on darwin
  83256. + # -p, -pg, --coverage, -fprofile-* profiling flags for GCC
  83257. + # -fstack-protector* stack protector flags for GCC
  83258. + # @file GCC response files
  83259. + # -tp=* Portland pgcc target processor selection
  83260. + # --sysroot=* for sysroot support
  83261. + # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
  83262. + # -specs=* GCC specs files
  83263. + # -stdlib=* select c++ std lib with clang
  83264. -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
  83265. - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
  83266. + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
  83267. + -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
  83268. + -specs=*)
  83269. func_quote_for_eval "$arg"
  83270. - arg="$func_quote_for_eval_result"
  83271. + arg=$func_quote_for_eval_result
  83272. func_append compile_command " $arg"
  83273. func_append finalize_command " $arg"
  83274. - compiler_flags="$compiler_flags $arg"
  83275. + func_append compiler_flags " $arg"
  83276. continue
  83277. ;;
  83278.  
  83279. + -Z*)
  83280. + if test os2 = "`expr $host : '.*\(os2\)'`"; then
  83281. + # OS/2 uses -Zxxx to specify OS/2-specific options
  83282. + compiler_flags="$compiler_flags $arg"
  83283. + func_append compile_command " $arg"
  83284. + func_append finalize_command " $arg"
  83285. + case $arg in
  83286. + -Zlinker | -Zstack)
  83287. + prev=xcompiler
  83288. + ;;
  83289. + esac
  83290. + continue
  83291. + else
  83292. + # Otherwise treat like 'Some other compiler flag' below
  83293. + func_quote_for_eval "$arg"
  83294. + arg=$func_quote_for_eval_result
  83295. + fi
  83296. + ;;
  83297. +
  83298. # Some other compiler flag.
  83299. -* | +*)
  83300. func_quote_for_eval "$arg"
  83301. - arg="$func_quote_for_eval_result"
  83302. + arg=$func_quote_for_eval_result
  83303. ;;
  83304.  
  83305. *.$objext)
  83306. # A standard object.
  83307. - objs="$objs $arg"
  83308. + func_append objs " $arg"
  83309. ;;
  83310.  
  83311. *.lo)
  83312. @@ -4798,22 +7329,22 @@
  83313.  
  83314. if test -z "$pic_object" ||
  83315. test -z "$non_pic_object" ||
  83316. - test "$pic_object" = none &&
  83317. - test "$non_pic_object" = none; then
  83318. - func_fatal_error "cannot find name of object for \`$arg'"
  83319. + test none = "$pic_object" &&
  83320. + test none = "$non_pic_object"; then
  83321. + func_fatal_error "cannot find name of object for '$arg'"
  83322. fi
  83323.  
  83324. # Extract subdirectory from the argument.
  83325. func_dirname "$arg" "/" ""
  83326. - xdir="$func_dirname_result"
  83327. + xdir=$func_dirname_result
  83328.  
  83329. - if test "$pic_object" != none; then
  83330. + test none = "$pic_object" || {
  83331. # Prepend the subdirectory the object is found in.
  83332. - pic_object="$xdir$pic_object"
  83333. + pic_object=$xdir$pic_object
  83334.  
  83335. - if test "$prev" = dlfiles; then
  83336. - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  83337. - dlfiles="$dlfiles $pic_object"
  83338. + if test dlfiles = "$prev"; then
  83339. + if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
  83340. + func_append dlfiles " $pic_object"
  83341. prev=
  83342. continue
  83343. else
  83344. @@ -4823,31 +7354,31 @@
  83345. fi
  83346.  
  83347. # CHECK ME: I think I busted this. -Ossama
  83348. - if test "$prev" = dlprefiles; then
  83349. + if test dlprefiles = "$prev"; then
  83350. # Preload the old-style object.
  83351. - dlprefiles="$dlprefiles $pic_object"
  83352. + func_append dlprefiles " $pic_object"
  83353. prev=
  83354. fi
  83355.  
  83356. # A PIC object.
  83357. func_append libobjs " $pic_object"
  83358. - arg="$pic_object"
  83359. - fi
  83360. + arg=$pic_object
  83361. + }
  83362.  
  83363. # Non-PIC object.
  83364. - if test "$non_pic_object" != none; then
  83365. + if test none != "$non_pic_object"; then
  83366. # Prepend the subdirectory the object is found in.
  83367. - non_pic_object="$xdir$non_pic_object"
  83368. + non_pic_object=$xdir$non_pic_object
  83369.  
  83370. # A standard non-PIC object
  83371. func_append non_pic_objects " $non_pic_object"
  83372. - if test -z "$pic_object" || test "$pic_object" = none ; then
  83373. - arg="$non_pic_object"
  83374. + if test -z "$pic_object" || test none = "$pic_object"; then
  83375. + arg=$non_pic_object
  83376. fi
  83377. else
  83378. # If the PIC object exists, use it instead.
  83379. # $xdir was prepended to $pic_object above.
  83380. - non_pic_object="$pic_object"
  83381. + non_pic_object=$pic_object
  83382. func_append non_pic_objects " $non_pic_object"
  83383. fi
  83384. else
  83385. @@ -4855,7 +7386,7 @@
  83386. if $opt_dry_run; then
  83387. # Extract subdirectory from the argument.
  83388. func_dirname "$arg" "/" ""
  83389. - xdir="$func_dirname_result"
  83390. + xdir=$func_dirname_result
  83391.  
  83392. func_lo2o "$arg"
  83393. pic_object=$xdir$objdir/$func_lo2o_result
  83394. @@ -4863,31 +7394,32 @@
  83395. func_append libobjs " $pic_object"
  83396. func_append non_pic_objects " $non_pic_object"
  83397. else
  83398. - func_fatal_error "\`$arg' is not a valid libtool object"
  83399. + func_fatal_error "'$arg' is not a valid libtool object"
  83400. fi
  83401. fi
  83402. ;;
  83403.  
  83404. *.$libext)
  83405. # An archive.
  83406. - deplibs="$deplibs $arg"
  83407. - old_deplibs="$old_deplibs $arg"
  83408. + func_append deplibs " $arg"
  83409. + func_append old_deplibs " $arg"
  83410. continue
  83411. ;;
  83412.  
  83413. *.la)
  83414. # A libtool-controlled library.
  83415.  
  83416. - if test "$prev" = dlfiles; then
  83417. + func_resolve_sysroot "$arg"
  83418. + if test dlfiles = "$prev"; then
  83419. # This library was specified with -dlopen.
  83420. - dlfiles="$dlfiles $arg"
  83421. + func_append dlfiles " $func_resolve_sysroot_result"
  83422. prev=
  83423. - elif test "$prev" = dlprefiles; then
  83424. + elif test dlprefiles = "$prev"; then
  83425. # The library was specified with -dlpreopen.
  83426. - dlprefiles="$dlprefiles $arg"
  83427. + func_append dlprefiles " $func_resolve_sysroot_result"
  83428. prev=
  83429. else
  83430. - deplibs="$deplibs $arg"
  83431. + func_append deplibs " $func_resolve_sysroot_result"
  83432. fi
  83433. continue
  83434. ;;
  83435. @@ -4897,7 +7429,7 @@
  83436. # Unknown arguments in both finalize_command and compile_command need
  83437. # to be aesthetically quoted because they are evaled later.
  83438. func_quote_for_eval "$arg"
  83439. - arg="$func_quote_for_eval_result"
  83440. + arg=$func_quote_for_eval_result
  83441. ;;
  83442. esac # arg
  83443.  
  83444. @@ -4909,9 +7441,9 @@
  83445. done # argument parsing loop
  83446.  
  83447. test -n "$prev" && \
  83448. - func_fatal_help "the \`$prevarg' option requires an argument"
  83449. + func_fatal_help "the '$prevarg' option requires an argument"
  83450.  
  83451. - if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
  83452. + if test yes = "$export_dynamic" && test -n "$export_dynamic_flag_spec"; then
  83453. eval arg=\"$export_dynamic_flag_spec\"
  83454. func_append compile_command " $arg"
  83455. func_append finalize_command " $arg"
  83456. @@ -4920,20 +7452,25 @@
  83457. oldlibs=
  83458. # calculate the name of the file, without its directory
  83459. func_basename "$output"
  83460. - outputname="$func_basename_result"
  83461. - libobjs_save="$libobjs"
  83462. + outputname=$func_basename_result
  83463. + libobjs_save=$libobjs
  83464.  
  83465. if test -n "$shlibpath_var"; then
  83466. # get the directories listed in $shlibpath_var
  83467. - eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
  83468. + eval shlib_search_path=\`\$ECHO \"\$$shlibpath_var\" \| \$SED \'s/:/ /g\'\`
  83469. else
  83470. shlib_search_path=
  83471. fi
  83472. eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
  83473. eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
  83474.  
  83475. + # Definition is injected by LT_CONFIG during libtool generation.
  83476. + func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH"
  83477. +
  83478. func_dirname "$output" "/" ""
  83479. - output_objdir="$func_dirname_result$objdir"
  83480. + output_objdir=$func_dirname_result$objdir
  83481. + func_to_tool_file "$output_objdir/"
  83482. + tool_output_objdir=$func_to_tool_file_result
  83483. # Create the object directory.
  83484. func_mkdir_p "$output_objdir"
  83485.  
  83486. @@ -4954,15 +7491,15 @@
  83487. # Find all interdependent deplibs by searching for libraries
  83488. # that are linked more than once (e.g. -la -lb -la)
  83489. for deplib in $deplibs; do
  83490. - if $opt_duplicate_deps ; then
  83491. + if $opt_preserve_dup_deps; then
  83492. case "$libs " in
  83493. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  83494. + *" $deplib "*) func_append specialdeplibs " $deplib" ;;
  83495. esac
  83496. fi
  83497. - libs="$libs $deplib"
  83498. + func_append libs " $deplib"
  83499. done
  83500.  
  83501. - if test "$linkmode" = lib; then
  83502. + if test lib = "$linkmode"; then
  83503. libs="$predeps $libs $compiler_lib_search_path $postdeps"
  83504.  
  83505. # Compute libraries that are listed more than once in $predeps
  83506. @@ -4972,9 +7509,9 @@
  83507. if $opt_duplicate_compiler_generated_deps; then
  83508. for pre_post_dep in $predeps $postdeps; do
  83509. case "$pre_post_deps " in
  83510. - *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
  83511. + *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;;
  83512. esac
  83513. - pre_post_deps="$pre_post_deps $pre_post_dep"
  83514. + func_append pre_post_deps " $pre_post_dep"
  83515. done
  83516. fi
  83517. pre_post_deps=
  83518. @@ -4994,7 +7531,7 @@
  83519. case $file in
  83520. *.la) ;;
  83521. *)
  83522. - func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file"
  83523. + func_fatal_help "libraries can '-dlopen' only libtool libraries: $file"
  83524. ;;
  83525. esac
  83526. done
  83527. @@ -5002,7 +7539,7 @@
  83528. prog)
  83529. compile_deplibs=
  83530. finalize_deplibs=
  83531. - alldeplibs=no
  83532. + alldeplibs=false
  83533. newdlfiles=
  83534. newdlprefiles=
  83535. passes="conv scan dlopen dlpreopen link"
  83536. @@ -5014,85 +7551,85 @@
  83537. for pass in $passes; do
  83538. # The preopen pass in lib mode reverses $deplibs; put it back here
  83539. # so that -L comes before libs that need it for instance...
  83540. - if test "$linkmode,$pass" = "lib,link"; then
  83541. + if test lib,link = "$linkmode,$pass"; then
  83542. ## FIXME: Find the place where the list is rebuilt in the wrong
  83543. ## order, and fix it there properly
  83544. tmp_deplibs=
  83545. for deplib in $deplibs; do
  83546. tmp_deplibs="$deplib $tmp_deplibs"
  83547. done
  83548. - deplibs="$tmp_deplibs"
  83549. + deplibs=$tmp_deplibs
  83550. fi
  83551.  
  83552. - if test "$linkmode,$pass" = "lib,link" ||
  83553. - test "$linkmode,$pass" = "prog,scan"; then
  83554. - libs="$deplibs"
  83555. + if test lib,link = "$linkmode,$pass" ||
  83556. + test prog,scan = "$linkmode,$pass"; then
  83557. + libs=$deplibs
  83558. deplibs=
  83559. fi
  83560. - if test "$linkmode" = prog; then
  83561. + if test prog = "$linkmode"; then
  83562. case $pass in
  83563. - dlopen) libs="$dlfiles" ;;
  83564. - dlpreopen) libs="$dlprefiles" ;;
  83565. - link)
  83566. - libs="$deplibs %DEPLIBS%"
  83567. - test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
  83568. - ;;
  83569. + dlopen) libs=$dlfiles ;;
  83570. + dlpreopen) libs=$dlprefiles ;;
  83571. + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
  83572. esac
  83573. fi
  83574. - if test "$linkmode,$pass" = "lib,dlpreopen"; then
  83575. + if test lib,dlpreopen = "$linkmode,$pass"; then
  83576. # Collect and forward deplibs of preopened libtool libs
  83577. for lib in $dlprefiles; do
  83578. # Ignore non-libtool-libs
  83579. dependency_libs=
  83580. + func_resolve_sysroot "$lib"
  83581. case $lib in
  83582. - *.la) func_source "$lib" ;;
  83583. + *.la) func_source "$func_resolve_sysroot_result" ;;
  83584. esac
  83585.  
  83586. # Collect preopened libtool deplibs, except any this library
  83587. # has declared as weak libs
  83588. for deplib in $dependency_libs; do
  83589. - deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
  83590. + func_basename "$deplib"
  83591. + deplib_base=$func_basename_result
  83592. case " $weak_libs " in
  83593. *" $deplib_base "*) ;;
  83594. - *) deplibs="$deplibs $deplib" ;;
  83595. + *) func_append deplibs " $deplib" ;;
  83596. esac
  83597. done
  83598. done
  83599. - libs="$dlprefiles"
  83600. + libs=$dlprefiles
  83601. fi
  83602. - if test "$pass" = dlopen; then
  83603. + if test dlopen = "$pass"; then
  83604. # Collect dlpreopened libraries
  83605. - save_deplibs="$deplibs"
  83606. + save_deplibs=$deplibs
  83607. deplibs=
  83608. fi
  83609.  
  83610. for deplib in $libs; do
  83611. lib=
  83612. - found=no
  83613. + found=false
  83614. case $deplib in
  83615. - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  83616. - if test "$linkmode,$pass" = "prog,link"; then
  83617. + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
  83618. + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
  83619. + if test prog,link = "$linkmode,$pass"; then
  83620. compile_deplibs="$deplib $compile_deplibs"
  83621. finalize_deplibs="$deplib $finalize_deplibs"
  83622. else
  83623. - compiler_flags="$compiler_flags $deplib"
  83624. - if test "$linkmode" = lib ; then
  83625. + func_append compiler_flags " $deplib"
  83626. + if test lib = "$linkmode"; then
  83627. case "$new_inherited_linker_flags " in
  83628. *" $deplib "*) ;;
  83629. - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  83630. + * ) func_append new_inherited_linker_flags " $deplib" ;;
  83631. esac
  83632. fi
  83633. fi
  83634. continue
  83635. ;;
  83636. -l*)
  83637. - if test "$linkmode" != lib && test "$linkmode" != prog; then
  83638. - func_warning "\`-l' is ignored for archives/objects"
  83639. + if test lib != "$linkmode" && test prog != "$linkmode"; then
  83640. + func_warning "'-l' is ignored for archives/objects"
  83641. continue
  83642. fi
  83643. func_stripname '-l' '' "$deplib"
  83644. name=$func_stripname_result
  83645. - if test "$linkmode" = lib; then
  83646. + if test lib = "$linkmode"; then
  83647. searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
  83648. else
  83649. searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
  83650. @@ -5100,31 +7637,22 @@
  83651. for searchdir in $searchdirs; do
  83652. for search_ext in .la $std_shrext .so .a; do
  83653. # Search the libtool library
  83654. - lib="$searchdir/lib${name}${search_ext}"
  83655. + lib=$searchdir/lib$name$search_ext
  83656. if test -f "$lib"; then
  83657. - if test "$search_ext" = ".la"; then
  83658. - found=yes
  83659. + if test .la = "$search_ext"; then
  83660. + found=:
  83661. else
  83662. - found=no
  83663. + found=false
  83664. fi
  83665. break 2
  83666. fi
  83667. done
  83668. done
  83669. - if test "$found" != yes; then
  83670. - # deplib doesn't seem to be a libtool library
  83671. - if test "$linkmode,$pass" = "prog,link"; then
  83672. - compile_deplibs="$deplib $compile_deplibs"
  83673. - finalize_deplibs="$deplib $finalize_deplibs"
  83674. - else
  83675. - deplibs="$deplib $deplibs"
  83676. - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  83677. - fi
  83678. - continue
  83679. - else # deplib is a libtool library
  83680. + if $found; then
  83681. + # deplib is a libtool library
  83682. # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
  83683. # We need to do some special things here, and not later.
  83684. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  83685. + if test yes = "$allow_libtool_libs_with_static_runtimes"; then
  83686. case " $predeps $postdeps " in
  83687. *" $deplib "*)
  83688. if func_lalib_p "$lib"; then
  83689. @@ -5132,19 +7660,19 @@
  83690. old_library=
  83691. func_source "$lib"
  83692. for l in $old_library $library_names; do
  83693. - ll="$l"
  83694. + ll=$l
  83695. done
  83696. - if test "X$ll" = "X$old_library" ; then # only static version available
  83697. - found=no
  83698. + if test "X$ll" = "X$old_library"; then # only static version available
  83699. + found=false
  83700. func_dirname "$lib" "" "."
  83701. - ladir="$func_dirname_result"
  83702. + ladir=$func_dirname_result
  83703. lib=$ladir/$old_library
  83704. - if test "$linkmode,$pass" = "prog,link"; then
  83705. + if test prog,link = "$linkmode,$pass"; then
  83706. compile_deplibs="$deplib $compile_deplibs"
  83707. finalize_deplibs="$deplib $finalize_deplibs"
  83708. else
  83709. deplibs="$deplib $deplibs"
  83710. - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  83711. + test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
  83712. fi
  83713. continue
  83714. fi
  83715. @@ -5153,18 +7681,28 @@
  83716. *) ;;
  83717. esac
  83718. fi
  83719. + else
  83720. + # deplib doesn't seem to be a libtool library
  83721. + if test prog,link = "$linkmode,$pass"; then
  83722. + compile_deplibs="$deplib $compile_deplibs"
  83723. + finalize_deplibs="$deplib $finalize_deplibs"
  83724. + else
  83725. + deplibs="$deplib $deplibs"
  83726. + test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
  83727. + fi
  83728. + continue
  83729. fi
  83730. ;; # -l
  83731. *.ltframework)
  83732. - if test "$linkmode,$pass" = "prog,link"; then
  83733. + if test prog,link = "$linkmode,$pass"; then
  83734. compile_deplibs="$deplib $compile_deplibs"
  83735. finalize_deplibs="$deplib $finalize_deplibs"
  83736. else
  83737. deplibs="$deplib $deplibs"
  83738. - if test "$linkmode" = lib ; then
  83739. + if test lib = "$linkmode"; then
  83740. case "$new_inherited_linker_flags " in
  83741. *" $deplib "*) ;;
  83742. - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  83743. + * ) func_append new_inherited_linker_flags " $deplib" ;;
  83744. esac
  83745. fi
  83746. fi
  83747. @@ -5174,47 +7712,53 @@
  83748. case $linkmode in
  83749. lib)
  83750. deplibs="$deplib $deplibs"
  83751. - test "$pass" = conv && continue
  83752. + test conv = "$pass" && continue
  83753. newdependency_libs="$deplib $newdependency_libs"
  83754. func_stripname '-L' '' "$deplib"
  83755. - newlib_search_path="$newlib_search_path $func_stripname_result"
  83756. + func_resolve_sysroot "$func_stripname_result"
  83757. + func_append newlib_search_path " $func_resolve_sysroot_result"
  83758. ;;
  83759. prog)
  83760. - if test "$pass" = conv; then
  83761. + if test conv = "$pass"; then
  83762. deplibs="$deplib $deplibs"
  83763. continue
  83764. fi
  83765. - if test "$pass" = scan; then
  83766. + if test scan = "$pass"; then
  83767. deplibs="$deplib $deplibs"
  83768. else
  83769. compile_deplibs="$deplib $compile_deplibs"
  83770. finalize_deplibs="$deplib $finalize_deplibs"
  83771. fi
  83772. func_stripname '-L' '' "$deplib"
  83773. - newlib_search_path="$newlib_search_path $func_stripname_result"
  83774. + func_resolve_sysroot "$func_stripname_result"
  83775. + func_append newlib_search_path " $func_resolve_sysroot_result"
  83776. ;;
  83777. *)
  83778. - func_warning "\`-L' is ignored for archives/objects"
  83779. + func_warning "'-L' is ignored for archives/objects"
  83780. ;;
  83781. esac # linkmode
  83782. continue
  83783. ;; # -L
  83784. -R*)
  83785. - if test "$pass" = link; then
  83786. + if test link = "$pass"; then
  83787. func_stripname '-R' '' "$deplib"
  83788. - dir=$func_stripname_result
  83789. + func_resolve_sysroot "$func_stripname_result"
  83790. + dir=$func_resolve_sysroot_result
  83791. # Make sure the xrpath contains only unique directories.
  83792. case "$xrpath " in
  83793. *" $dir "*) ;;
  83794. - *) xrpath="$xrpath $dir" ;;
  83795. + *) func_append xrpath " $dir" ;;
  83796. esac
  83797. fi
  83798. deplibs="$deplib $deplibs"
  83799. continue
  83800. ;;
  83801. - *.la) lib="$deplib" ;;
  83802. + *.la)
  83803. + func_resolve_sysroot "$deplib"
  83804. + lib=$func_resolve_sysroot_result
  83805. + ;;
  83806. *.$libext)
  83807. - if test "$pass" = conv; then
  83808. + if test conv = "$pass"; then
  83809. deplibs="$deplib $deplibs"
  83810. continue
  83811. fi
  83812. @@ -5225,40 +7769,40 @@
  83813. case " $dlpreconveniencelibs " in
  83814. *" $deplib "*) ;;
  83815. *)
  83816. - valid_a_lib=no
  83817. + valid_a_lib=false
  83818. case $deplibs_check_method in
  83819. match_pattern*)
  83820. set dummy $deplibs_check_method; shift
  83821. match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  83822. - if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
  83823. + if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
  83824. | $EGREP "$match_pattern_regex" > /dev/null; then
  83825. - valid_a_lib=yes
  83826. + valid_a_lib=:
  83827. fi
  83828. ;;
  83829. pass_all)
  83830. - valid_a_lib=yes
  83831. + valid_a_lib=:
  83832. ;;
  83833. esac
  83834. - if test "$valid_a_lib" != yes; then
  83835. - $ECHO
  83836. - $ECHO "*** Warning: Trying to link with static lib archive $deplib."
  83837. - $ECHO "*** I have the capability to make that library automatically link in when"
  83838. - $ECHO "*** you link to this library. But I can only do this if you have a"
  83839. - $ECHO "*** shared version of the library, which you do not appear to have"
  83840. - $ECHO "*** because the file extensions .$libext of this argument makes me believe"
  83841. - $ECHO "*** that it is just a static archive that I should not use here."
  83842. - else
  83843. - $ECHO
  83844. + if $valid_a_lib; then
  83845. + echo
  83846. $ECHO "*** Warning: Linking the shared library $output against the"
  83847. $ECHO "*** static library $deplib is not portable!"
  83848. deplibs="$deplib $deplibs"
  83849. + else
  83850. + echo
  83851. + $ECHO "*** Warning: Trying to link with static lib archive $deplib."
  83852. + echo "*** I have the capability to make that library automatically link in when"
  83853. + echo "*** you link to this library. But I can only do this if you have a"
  83854. + echo "*** shared version of the library, which you do not appear to have"
  83855. + echo "*** because the file extensions .$libext of this argument makes me believe"
  83856. + echo "*** that it is just a static archive that I should not use here."
  83857. fi
  83858. ;;
  83859. esac
  83860. continue
  83861. ;;
  83862. prog)
  83863. - if test "$pass" != link; then
  83864. + if test link != "$pass"; then
  83865. deplibs="$deplib $deplibs"
  83866. else
  83867. compile_deplibs="$deplib $compile_deplibs"
  83868. @@ -5269,38 +7813,36 @@
  83869. esac # linkmode
  83870. ;; # *.$libext
  83871. *.lo | *.$objext)
  83872. - if test "$pass" = conv; then
  83873. + if test conv = "$pass"; then
  83874. deplibs="$deplib $deplibs"
  83875. - elif test "$linkmode" = prog; then
  83876. - if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
  83877. + elif test prog = "$linkmode"; then
  83878. + if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; then
  83879. # If there is no dlopen support or we're linking statically,
  83880. # we need to preload.
  83881. - newdlprefiles="$newdlprefiles $deplib"
  83882. + func_append newdlprefiles " $deplib"
  83883. compile_deplibs="$deplib $compile_deplibs"
  83884. finalize_deplibs="$deplib $finalize_deplibs"
  83885. else
  83886. - newdlfiles="$newdlfiles $deplib"
  83887. + func_append newdlfiles " $deplib"
  83888. fi
  83889. fi
  83890. continue
  83891. ;;
  83892. %DEPLIBS%)
  83893. - alldeplibs=yes
  83894. + alldeplibs=:
  83895. continue
  83896. ;;
  83897. esac # case $deplib
  83898.  
  83899. - if test "$found" = yes || test -f "$lib"; then :
  83900. - else
  83901. - func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'"
  83902. - fi
  83903. + $found || test -f "$lib" \
  83904. + || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'"
  83905.  
  83906. # Check to see that this really is a libtool archive.
  83907. func_lalib_unsafe_p "$lib" \
  83908. - || func_fatal_error "\`$lib' is not a valid libtool archive"
  83909. + || func_fatal_error "'$lib' is not a valid libtool archive"
  83910.  
  83911. func_dirname "$lib" "" "."
  83912. - ladir="$func_dirname_result"
  83913. + ladir=$func_dirname_result
  83914.  
  83915. dlname=
  83916. dlopen=
  83917. @@ -5321,146 +7863,178 @@
  83918.  
  83919. # Convert "-framework foo" to "foo.ltframework"
  83920. if test -n "$inherited_linker_flags"; then
  83921. - tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
  83922. + tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
  83923. for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
  83924. case " $new_inherited_linker_flags " in
  83925. *" $tmp_inherited_linker_flag "*) ;;
  83926. - *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";;
  83927. + *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";;
  83928. esac
  83929. done
  83930. fi
  83931. - dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  83932. - if test "$linkmode,$pass" = "lib,link" ||
  83933. - test "$linkmode,$pass" = "prog,scan" ||
  83934. - { test "$linkmode" != prog && test "$linkmode" != lib; }; then
  83935. - test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
  83936. - test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
  83937. + dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  83938. + if test lib,link = "$linkmode,$pass" ||
  83939. + test prog,scan = "$linkmode,$pass" ||
  83940. + { test prog != "$linkmode" && test lib != "$linkmode"; }; then
  83941. + test -n "$dlopen" && func_append dlfiles " $dlopen"
  83942. + test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen"
  83943. fi
  83944.  
  83945. - if test "$pass" = conv; then
  83946. + if test conv = "$pass"; then
  83947. # Only check for convenience libraries
  83948. deplibs="$lib $deplibs"
  83949. if test -z "$libdir"; then
  83950. if test -z "$old_library"; then
  83951. - func_fatal_error "cannot find name of link library for \`$lib'"
  83952. + func_fatal_error "cannot find name of link library for '$lib'"
  83953. fi
  83954. # It is a libtool convenience library, so add in its objects.
  83955. - convenience="$convenience $ladir/$objdir/$old_library"
  83956. - old_convenience="$old_convenience $ladir/$objdir/$old_library"
  83957. - tmp_libs=
  83958. - for deplib in $dependency_libs; do
  83959. - deplibs="$deplib $deplibs"
  83960. - if $opt_duplicate_deps ; then
  83961. - case "$tmp_libs " in
  83962. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  83963. - esac
  83964. - fi
  83965. - tmp_libs="$tmp_libs $deplib"
  83966. - done
  83967. - elif test "$linkmode" != prog && test "$linkmode" != lib; then
  83968. - func_fatal_error "\`$lib' is not a convenience library"
  83969. + func_append convenience " $ladir/$objdir/$old_library"
  83970. + func_append old_convenience " $ladir/$objdir/$old_library"
  83971. + elif test prog != "$linkmode" && test lib != "$linkmode"; then
  83972. + func_fatal_error "'$lib' is not a convenience library"
  83973. fi
  83974. + tmp_libs=
  83975. + for deplib in $dependency_libs; do
  83976. + deplibs="$deplib $deplibs"
  83977. + if $opt_preserve_dup_deps; then
  83978. + case "$tmp_libs " in
  83979. + *" $deplib "*) func_append specialdeplibs " $deplib" ;;
  83980. + esac
  83981. + fi
  83982. + func_append tmp_libs " $deplib"
  83983. + done
  83984. continue
  83985. fi # $pass = conv
  83986.  
  83987.  
  83988. # Get the name of the library we link against.
  83989. linklib=
  83990. - for l in $old_library $library_names; do
  83991. - linklib="$l"
  83992. - done
  83993. + if test -n "$old_library" &&
  83994. + { test yes = "$prefer_static_libs" ||
  83995. + test built,no = "$prefer_static_libs,$installed"; }; then
  83996. + linklib=$old_library
  83997. + else
  83998. + for l in $old_library $library_names; do
  83999. + linklib=$l
  84000. + done
  84001. + fi
  84002. if test -z "$linklib"; then
  84003. - func_fatal_error "cannot find name of link library for \`$lib'"
  84004. + func_fatal_error "cannot find name of link library for '$lib'"
  84005. fi
  84006.  
  84007. # This library was specified with -dlopen.
  84008. - if test "$pass" = dlopen; then
  84009. - if test -z "$libdir"; then
  84010. - func_fatal_error "cannot -dlopen a convenience library: \`$lib'"
  84011. - fi
  84012. + if test dlopen = "$pass"; then
  84013. + test -z "$libdir" \
  84014. + && func_fatal_error "cannot -dlopen a convenience library: '$lib'"
  84015. if test -z "$dlname" ||
  84016. - test "$dlopen_support" != yes ||
  84017. - test "$build_libtool_libs" = no; then
  84018. + test yes != "$dlopen_support" ||
  84019. + test no = "$build_libtool_libs"
  84020. + then
  84021. # If there is no dlname, no dlopen support or we're linking
  84022. # statically, we need to preload. We also need to preload any
  84023. # dependent libraries so libltdl's deplib preloader doesn't
  84024. # bomb out in the load deplibs phase.
  84025. - dlprefiles="$dlprefiles $lib $dependency_libs"
  84026. + func_append dlprefiles " $lib $dependency_libs"
  84027. else
  84028. - newdlfiles="$newdlfiles $lib"
  84029. + func_append newdlfiles " $lib"
  84030. fi
  84031. continue
  84032. fi # $pass = dlopen
  84033.  
  84034. # We need an absolute path.
  84035. case $ladir in
  84036. - [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
  84037. + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir=$ladir ;;
  84038. *)
  84039. abs_ladir=`cd "$ladir" && pwd`
  84040. if test -z "$abs_ladir"; then
  84041. - func_warning "cannot determine absolute directory name of \`$ladir'"
  84042. + func_warning "cannot determine absolute directory name of '$ladir'"
  84043. func_warning "passing it literally to the linker, although it might fail"
  84044. - abs_ladir="$ladir"
  84045. + abs_ladir=$ladir
  84046. fi
  84047. ;;
  84048. esac
  84049. func_basename "$lib"
  84050. - laname="$func_basename_result"
  84051. + laname=$func_basename_result
  84052.  
  84053. # Find the relevant object directory and library name.
  84054. - if test "X$installed" = Xyes; then
  84055. - if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  84056. - func_warning "library \`$lib' was moved."
  84057. - dir="$ladir"
  84058. - absdir="$abs_ladir"
  84059. - libdir="$abs_ladir"
  84060. + if test yes = "$installed"; then
  84061. + if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  84062. + func_warning "library '$lib' was moved."
  84063. + dir=$ladir
  84064. + absdir=$abs_ladir
  84065. + libdir=$abs_ladir
  84066. else
  84067. - dir="$libdir"
  84068. - absdir="$libdir"
  84069. + dir=$lt_sysroot$libdir
  84070. + absdir=$lt_sysroot$libdir
  84071. fi
  84072. - test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
  84073. + test yes = "$hardcode_automatic" && avoidtemprpath=yes
  84074. else
  84075. if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  84076. - dir="$ladir"
  84077. - absdir="$abs_ladir"
  84078. + dir=$ladir
  84079. + absdir=$abs_ladir
  84080. # Remove this search path later
  84081. - notinst_path="$notinst_path $abs_ladir"
  84082. + func_append notinst_path " $abs_ladir"
  84083. else
  84084. - dir="$ladir/$objdir"
  84085. - absdir="$abs_ladir/$objdir"
  84086. + dir=$ladir/$objdir
  84087. + absdir=$abs_ladir/$objdir
  84088. # Remove this search path later
  84089. - notinst_path="$notinst_path $abs_ladir"
  84090. + func_append notinst_path " $abs_ladir"
  84091. fi
  84092. fi # $installed = yes
  84093. func_stripname 'lib' '.la' "$laname"
  84094. name=$func_stripname_result
  84095.  
  84096. # This library was specified with -dlpreopen.
  84097. - if test "$pass" = dlpreopen; then
  84098. - if test -z "$libdir" && test "$linkmode" = prog; then
  84099. - func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
  84100. - fi
  84101. - # Prefer using a static library (so that no silly _DYNAMIC symbols
  84102. - # are required to link).
  84103. - if test -n "$old_library"; then
  84104. - newdlprefiles="$newdlprefiles $dir/$old_library"
  84105. - # Keep a list of preopened convenience libraries to check
  84106. - # that they are being used correctly in the link pass.
  84107. - test -z "$libdir" && \
  84108. - dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library"
  84109. - # Otherwise, use the dlname, so that lt_dlopen finds it.
  84110. - elif test -n "$dlname"; then
  84111. - newdlprefiles="$newdlprefiles $dir/$dlname"
  84112. - else
  84113. - newdlprefiles="$newdlprefiles $dir/$linklib"
  84114. + if test dlpreopen = "$pass"; then
  84115. + if test -z "$libdir" && test prog = "$linkmode"; then
  84116. + func_fatal_error "only libraries may -dlpreopen a convenience library: '$lib'"
  84117. fi
  84118. + case $host in
  84119. + # special handling for platforms with PE-DLLs.
  84120. + *cygwin* | *mingw* | *cegcc* )
  84121. + # Linker will automatically link against shared library if both
  84122. + # static and shared are present. Therefore, ensure we extract
  84123. + # symbols from the import library if a shared library is present
  84124. + # (otherwise, the dlopen module name will be incorrect). We do
  84125. + # this by putting the import library name into $newdlprefiles.
  84126. + # We recover the dlopen module name by 'saving' the la file
  84127. + # name in a special purpose variable, and (later) extracting the
  84128. + # dlname from the la file.
  84129. + if test -n "$dlname"; then
  84130. + func_tr_sh "$dir/$linklib"
  84131. + eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname"
  84132. + func_append newdlprefiles " $dir/$linklib"
  84133. + else
  84134. + func_append newdlprefiles " $dir/$old_library"
  84135. + # Keep a list of preopened convenience libraries to check
  84136. + # that they are being used correctly in the link pass.
  84137. + test -z "$libdir" && \
  84138. + func_append dlpreconveniencelibs " $dir/$old_library"
  84139. + fi
  84140. + ;;
  84141. + * )
  84142. + # Prefer using a static library (so that no silly _DYNAMIC symbols
  84143. + # are required to link).
  84144. + if test -n "$old_library"; then
  84145. + func_append newdlprefiles " $dir/$old_library"
  84146. + # Keep a list of preopened convenience libraries to check
  84147. + # that they are being used correctly in the link pass.
  84148. + test -z "$libdir" && \
  84149. + func_append dlpreconveniencelibs " $dir/$old_library"
  84150. + # Otherwise, use the dlname, so that lt_dlopen finds it.
  84151. + elif test -n "$dlname"; then
  84152. + func_append newdlprefiles " $dir/$dlname"
  84153. + else
  84154. + func_append newdlprefiles " $dir/$linklib"
  84155. + fi
  84156. + ;;
  84157. + esac
  84158. fi # $pass = dlpreopen
  84159.  
  84160. if test -z "$libdir"; then
  84161. # Link the convenience library
  84162. - if test "$linkmode" = lib; then
  84163. + if test lib = "$linkmode"; then
  84164. deplibs="$dir/$old_library $deplibs"
  84165. - elif test "$linkmode,$pass" = "prog,link"; then
  84166. + elif test prog,link = "$linkmode,$pass"; then
  84167. compile_deplibs="$dir/$old_library $compile_deplibs"
  84168. finalize_deplibs="$dir/$old_library $finalize_deplibs"
  84169. else
  84170. @@ -5470,52 +8044,53 @@
  84171. fi
  84172.  
  84173.  
  84174. - if test "$linkmode" = prog && test "$pass" != link; then
  84175. - newlib_search_path="$newlib_search_path $ladir"
  84176. + if test prog = "$linkmode" && test link != "$pass"; then
  84177. + func_append newlib_search_path " $ladir"
  84178. deplibs="$lib $deplibs"
  84179.  
  84180. - linkalldeplibs=no
  84181. - if test "$link_all_deplibs" != no || test -z "$library_names" ||
  84182. - test "$build_libtool_libs" = no; then
  84183. - linkalldeplibs=yes
  84184. + linkalldeplibs=false
  84185. + if test no != "$link_all_deplibs" || test -z "$library_names" ||
  84186. + test no = "$build_libtool_libs"; then
  84187. + linkalldeplibs=:
  84188. fi
  84189.  
  84190. tmp_libs=
  84191. for deplib in $dependency_libs; do
  84192. case $deplib in
  84193. -L*) func_stripname '-L' '' "$deplib"
  84194. - newlib_search_path="$newlib_search_path $func_stripname_result"
  84195. + func_resolve_sysroot "$func_stripname_result"
  84196. + func_append newlib_search_path " $func_resolve_sysroot_result"
  84197. ;;
  84198. esac
  84199. # Need to link against all dependency_libs?
  84200. - if test "$linkalldeplibs" = yes; then
  84201. + if $linkalldeplibs; then
  84202. deplibs="$deplib $deplibs"
  84203. else
  84204. # Need to hardcode shared library paths
  84205. # or/and link against static libraries
  84206. newdependency_libs="$deplib $newdependency_libs"
  84207. fi
  84208. - if $opt_duplicate_deps ; then
  84209. + if $opt_preserve_dup_deps; then
  84210. case "$tmp_libs " in
  84211. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  84212. + *" $deplib "*) func_append specialdeplibs " $deplib" ;;
  84213. esac
  84214. fi
  84215. - tmp_libs="$tmp_libs $deplib"
  84216. + func_append tmp_libs " $deplib"
  84217. done # for deplib
  84218. continue
  84219. fi # $linkmode = prog...
  84220.  
  84221. - if test "$linkmode,$pass" = "prog,link"; then
  84222. + if test prog,link = "$linkmode,$pass"; then
  84223. if test -n "$library_names" &&
  84224. - { { test "$prefer_static_libs" = no ||
  84225. - test "$prefer_static_libs,$installed" = "built,yes"; } ||
  84226. + { { test no = "$prefer_static_libs" ||
  84227. + test built,yes = "$prefer_static_libs,$installed"; } ||
  84228. test -z "$old_library"; }; then
  84229. # We need to hardcode the library path
  84230. - if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
  84231. + if test -n "$shlibpath_var" && test -z "$avoidtemprpath"; then
  84232. # Make sure the rpath contains only unique directories.
  84233. - case "$temp_rpath:" in
  84234. + case $temp_rpath: in
  84235. *"$absdir:"*) ;;
  84236. - *) temp_rpath="$temp_rpath$absdir:" ;;
  84237. + *) func_append temp_rpath "$absdir:" ;;
  84238. esac
  84239. fi
  84240.  
  84241. @@ -5527,7 +8102,7 @@
  84242. *)
  84243. case "$compile_rpath " in
  84244. *" $absdir "*) ;;
  84245. - *) compile_rpath="$compile_rpath $absdir"
  84246. + *) func_append compile_rpath " $absdir" ;;
  84247. esac
  84248. ;;
  84249. esac
  84250. @@ -5536,15 +8111,15 @@
  84251. *)
  84252. case "$finalize_rpath " in
  84253. *" $libdir "*) ;;
  84254. - *) finalize_rpath="$finalize_rpath $libdir"
  84255. + *) func_append finalize_rpath " $libdir" ;;
  84256. esac
  84257. ;;
  84258. esac
  84259. fi # $linkmode,$pass = prog,link...
  84260.  
  84261. - if test "$alldeplibs" = yes &&
  84262. - { test "$deplibs_check_method" = pass_all ||
  84263. - { test "$build_libtool_libs" = yes &&
  84264. + if $alldeplibs &&
  84265. + { test pass_all = "$deplibs_check_method" ||
  84266. + { test yes = "$build_libtool_libs" &&
  84267. test -n "$library_names"; }; }; then
  84268. # We only need to search for static libraries
  84269. continue
  84270. @@ -5553,20 +8128,20 @@
  84271.  
  84272. link_static=no # Whether the deplib will be linked statically
  84273. use_static_libs=$prefer_static_libs
  84274. - if test "$use_static_libs" = built && test "$installed" = yes; then
  84275. + if test built = "$use_static_libs" && test yes = "$installed"; then
  84276. use_static_libs=no
  84277. fi
  84278. if test -n "$library_names" &&
  84279. - { test "$use_static_libs" = no || test -z "$old_library"; }; then
  84280. + { test no = "$use_static_libs" || test -z "$old_library"; }; then
  84281. case $host in
  84282. - *cygwin* | *mingw* | *cegcc*)
  84283. + *cygwin* | *mingw* | *cegcc* | *os2*)
  84284. # No point in relinking DLLs because paths are not encoded
  84285. - notinst_deplibs="$notinst_deplibs $lib"
  84286. + func_append notinst_deplibs " $lib"
  84287. need_relink=no
  84288. ;;
  84289. *)
  84290. - if test "$installed" = no; then
  84291. - notinst_deplibs="$notinst_deplibs $lib"
  84292. + if test no = "$installed"; then
  84293. + func_append notinst_deplibs " $lib"
  84294. need_relink=yes
  84295. fi
  84296. ;;
  84297. @@ -5575,24 +8150,24 @@
  84298.  
  84299. # Warn about portability, can't link against -module's on some
  84300. # systems (darwin). Don't bleat about dlopened modules though!
  84301. - dlopenmodule=""
  84302. + dlopenmodule=
  84303. for dlpremoduletest in $dlprefiles; do
  84304. if test "X$dlpremoduletest" = "X$lib"; then
  84305. - dlopenmodule="$dlpremoduletest"
  84306. + dlopenmodule=$dlpremoduletest
  84307. break
  84308. fi
  84309. done
  84310. - if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
  84311. - $ECHO
  84312. - if test "$linkmode" = prog; then
  84313. + if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then
  84314. + echo
  84315. + if test prog = "$linkmode"; then
  84316. $ECHO "*** Warning: Linking the executable $output against the loadable module"
  84317. else
  84318. $ECHO "*** Warning: Linking the shared library $output against the loadable module"
  84319. fi
  84320. $ECHO "*** $linklib is not portable!"
  84321. fi
  84322. - if test "$linkmode" = lib &&
  84323. - test "$hardcode_into_libs" = yes; then
  84324. + if test lib = "$linkmode" &&
  84325. + test yes = "$hardcode_into_libs"; then
  84326. # Hardcode the library path.
  84327. # Skip directories that are in the system default run-time
  84328. # search path.
  84329. @@ -5601,7 +8176,7 @@
  84330. *)
  84331. case "$compile_rpath " in
  84332. *" $absdir "*) ;;
  84333. - *) compile_rpath="$compile_rpath $absdir"
  84334. + *) func_append compile_rpath " $absdir" ;;
  84335. esac
  84336. ;;
  84337. esac
  84338. @@ -5610,7 +8185,7 @@
  84339. *)
  84340. case "$finalize_rpath " in
  84341. *" $libdir "*) ;;
  84342. - *) finalize_rpath="$finalize_rpath $libdir"
  84343. + *) func_append finalize_rpath " $libdir" ;;
  84344. esac
  84345. ;;
  84346. esac
  84347. @@ -5620,43 +8195,43 @@
  84348. # figure out the soname
  84349. set dummy $library_names
  84350. shift
  84351. - realname="$1"
  84352. + realname=$1
  84353. shift
  84354. libname=`eval "\\$ECHO \"$libname_spec\""`
  84355. # use dlname if we got it. it's perfectly good, no?
  84356. if test -n "$dlname"; then
  84357. - soname="$dlname"
  84358. + soname=$dlname
  84359. elif test -n "$soname_spec"; then
  84360. # bleh windows
  84361. case $host in
  84362. - *cygwin* | mingw* | *cegcc*)
  84363. + *cygwin* | mingw* | *cegcc* | *os2*)
  84364. func_arith $current - $age
  84365. major=$func_arith_result
  84366. - versuffix="-$major"
  84367. + versuffix=-$major
  84368. ;;
  84369. esac
  84370. eval soname=\"$soname_spec\"
  84371. else
  84372. - soname="$realname"
  84373. + soname=$realname
  84374. fi
  84375.  
  84376. # Make a new name for the extract_expsyms_cmds to use
  84377. - soroot="$soname"
  84378. + soroot=$soname
  84379. func_basename "$soroot"
  84380. - soname="$func_basename_result"
  84381. + soname=$func_basename_result
  84382. func_stripname 'lib' '.dll' "$soname"
  84383. newlib=libimp-$func_stripname_result.a
  84384.  
  84385. # If the library has no export list, then create one now
  84386. if test -f "$output_objdir/$soname-def"; then :
  84387. else
  84388. - func_verbose "extracting exported symbol list from \`$soname'"
  84389. + func_verbose "extracting exported symbol list from '$soname'"
  84390. func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
  84391. fi
  84392.  
  84393. # Create $newlib
  84394. if test -f "$output_objdir/$newlib"; then :; else
  84395. - func_verbose "generating import library for \`$soname'"
  84396. + func_verbose "generating import library for '$soname'"
  84397. func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
  84398. fi
  84399. # make sure the library variables are pointing to the new library
  84400. @@ -5664,70 +8239,70 @@
  84401. linklib=$newlib
  84402. fi # test -n "$old_archive_from_expsyms_cmds"
  84403.  
  84404. - if test "$linkmode" = prog || test "$mode" != relink; then
  84405. + if test prog = "$linkmode" || test relink != "$opt_mode"; then
  84406. add_shlibpath=
  84407. add_dir=
  84408. add=
  84409. lib_linked=yes
  84410. case $hardcode_action in
  84411. immediate | unsupported)
  84412. - if test "$hardcode_direct" = no; then
  84413. - add="$dir/$linklib"
  84414. + if test no = "$hardcode_direct"; then
  84415. + add=$dir/$linklib
  84416. case $host in
  84417. - *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
  84418. - *-*-sysv4*uw2*) add_dir="-L$dir" ;;
  84419. + *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;;
  84420. + *-*-sysv4*uw2*) add_dir=-L$dir ;;
  84421. *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
  84422. - *-*-unixware7*) add_dir="-L$dir" ;;
  84423. + *-*-unixware7*) add_dir=-L$dir ;;
  84424. *-*-darwin* )
  84425. - # if the lib is a (non-dlopened) module then we can not
  84426. + # if the lib is a (non-dlopened) module then we cannot
  84427. # link against it, someone is ignoring the earlier warnings
  84428. if /usr/bin/file -L $add 2> /dev/null |
  84429. - $GREP ": [^:]* bundle" >/dev/null ; then
  84430. + $GREP ": [^:]* bundle" >/dev/null; then
  84431. if test "X$dlopenmodule" != "X$lib"; then
  84432. $ECHO "*** Warning: lib $linklib is a module, not a shared library"
  84433. - if test -z "$old_library" ; then
  84434. - $ECHO
  84435. - $ECHO "*** And there doesn't seem to be a static archive available"
  84436. - $ECHO "*** The link will probably fail, sorry"
  84437. + if test -z "$old_library"; then
  84438. + echo
  84439. + echo "*** And there doesn't seem to be a static archive available"
  84440. + echo "*** The link will probably fail, sorry"
  84441. else
  84442. - add="$dir/$old_library"
  84443. + add=$dir/$old_library
  84444. fi
  84445. elif test -n "$old_library"; then
  84446. - add="$dir/$old_library"
  84447. + add=$dir/$old_library
  84448. fi
  84449. fi
  84450. esac
  84451. - elif test "$hardcode_minus_L" = no; then
  84452. + elif test no = "$hardcode_minus_L"; then
  84453. case $host in
  84454. - *-*-sunos*) add_shlibpath="$dir" ;;
  84455. + *-*-sunos*) add_shlibpath=$dir ;;
  84456. esac
  84457. - add_dir="-L$dir"
  84458. - add="-l$name"
  84459. - elif test "$hardcode_shlibpath_var" = no; then
  84460. - add_shlibpath="$dir"
  84461. - add="-l$name"
  84462. + add_dir=-L$dir
  84463. + add=-l$name
  84464. + elif test no = "$hardcode_shlibpath_var"; then
  84465. + add_shlibpath=$dir
  84466. + add=-l$name
  84467. else
  84468. lib_linked=no
  84469. fi
  84470. ;;
  84471. relink)
  84472. - if test "$hardcode_direct" = yes &&
  84473. - test "$hardcode_direct_absolute" = no; then
  84474. - add="$dir/$linklib"
  84475. - elif test "$hardcode_minus_L" = yes; then
  84476. - add_dir="-L$dir"
  84477. + if test yes = "$hardcode_direct" &&
  84478. + test no = "$hardcode_direct_absolute"; then
  84479. + add=$dir/$linklib
  84480. + elif test yes = "$hardcode_minus_L"; then
  84481. + add_dir=-L$absdir
  84482. # Try looking first in the location we're being installed to.
  84483. if test -n "$inst_prefix_dir"; then
  84484. case $libdir in
  84485. [\\/]*)
  84486. - add_dir="$add_dir -L$inst_prefix_dir$libdir"
  84487. + func_append add_dir " -L$inst_prefix_dir$libdir"
  84488. ;;
  84489. esac
  84490. fi
  84491. - add="-l$name"
  84492. - elif test "$hardcode_shlibpath_var" = yes; then
  84493. - add_shlibpath="$dir"
  84494. - add="-l$name"
  84495. + add=-l$name
  84496. + elif test yes = "$hardcode_shlibpath_var"; then
  84497. + add_shlibpath=$dir
  84498. + add=-l$name
  84499. else
  84500. lib_linked=no
  84501. fi
  84502. @@ -5735,72 +8310,72 @@
  84503. *) lib_linked=no ;;
  84504. esac
  84505.  
  84506. - if test "$lib_linked" != yes; then
  84507. + if test yes != "$lib_linked"; then
  84508. func_fatal_configuration "unsupported hardcode properties"
  84509. fi
  84510.  
  84511. if test -n "$add_shlibpath"; then
  84512. case :$compile_shlibpath: in
  84513. *":$add_shlibpath:"*) ;;
  84514. - *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
  84515. + *) func_append compile_shlibpath "$add_shlibpath:" ;;
  84516. esac
  84517. fi
  84518. - if test "$linkmode" = prog; then
  84519. + if test prog = "$linkmode"; then
  84520. test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
  84521. test -n "$add" && compile_deplibs="$add $compile_deplibs"
  84522. else
  84523. test -n "$add_dir" && deplibs="$add_dir $deplibs"
  84524. test -n "$add" && deplibs="$add $deplibs"
  84525. - if test "$hardcode_direct" != yes &&
  84526. - test "$hardcode_minus_L" != yes &&
  84527. - test "$hardcode_shlibpath_var" = yes; then
  84528. + if test yes != "$hardcode_direct" &&
  84529. + test yes != "$hardcode_minus_L" &&
  84530. + test yes = "$hardcode_shlibpath_var"; then
  84531. case :$finalize_shlibpath: in
  84532. *":$libdir:"*) ;;
  84533. - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  84534. + *) func_append finalize_shlibpath "$libdir:" ;;
  84535. esac
  84536. fi
  84537. fi
  84538. fi
  84539.  
  84540. - if test "$linkmode" = prog || test "$mode" = relink; then
  84541. + if test prog = "$linkmode" || test relink = "$opt_mode"; then
  84542. add_shlibpath=
  84543. add_dir=
  84544. add=
  84545. # Finalize command for both is simple: just hardcode it.
  84546. - if test "$hardcode_direct" = yes &&
  84547. - test "$hardcode_direct_absolute" = no; then
  84548. - add="$libdir/$linklib"
  84549. - elif test "$hardcode_minus_L" = yes; then
  84550. - add_dir="-L$libdir"
  84551. - add="-l$name"
  84552. - elif test "$hardcode_shlibpath_var" = yes; then
  84553. + if test yes = "$hardcode_direct" &&
  84554. + test no = "$hardcode_direct_absolute"; then
  84555. + add=$libdir/$linklib
  84556. + elif test yes = "$hardcode_minus_L"; then
  84557. + add_dir=-L$libdir
  84558. + add=-l$name
  84559. + elif test yes = "$hardcode_shlibpath_var"; then
  84560. case :$finalize_shlibpath: in
  84561. *":$libdir:"*) ;;
  84562. - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  84563. + *) func_append finalize_shlibpath "$libdir:" ;;
  84564. esac
  84565. - add="-l$name"
  84566. - elif test "$hardcode_automatic" = yes; then
  84567. + add=-l$name
  84568. + elif test yes = "$hardcode_automatic"; then
  84569. if test -n "$inst_prefix_dir" &&
  84570. - test -f "$inst_prefix_dir$libdir/$linklib" ; then
  84571. - add="$inst_prefix_dir$libdir/$linklib"
  84572. + test -f "$inst_prefix_dir$libdir/$linklib"; then
  84573. + add=$inst_prefix_dir$libdir/$linklib
  84574. else
  84575. - add="$libdir/$linklib"
  84576. + add=$libdir/$linklib
  84577. fi
  84578. else
  84579. # We cannot seem to hardcode it, guess we'll fake it.
  84580. - add_dir="-L$libdir"
  84581. + add_dir=-L$libdir
  84582. # Try looking first in the location we're being installed to.
  84583. if test -n "$inst_prefix_dir"; then
  84584. case $libdir in
  84585. [\\/]*)
  84586. - add_dir="$add_dir -L$inst_prefix_dir$libdir"
  84587. + func_append add_dir " -L$inst_prefix_dir$libdir"
  84588. ;;
  84589. esac
  84590. fi
  84591. - add="-l$name"
  84592. + add=-l$name
  84593. fi
  84594.  
  84595. - if test "$linkmode" = prog; then
  84596. + if test prog = "$linkmode"; then
  84597. test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
  84598. test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
  84599. else
  84600. @@ -5808,43 +8383,43 @@
  84601. test -n "$add" && deplibs="$add $deplibs"
  84602. fi
  84603. fi
  84604. - elif test "$linkmode" = prog; then
  84605. + elif test prog = "$linkmode"; then
  84606. # Here we assume that one of hardcode_direct or hardcode_minus_L
  84607. # is not unsupported. This is valid on all known static and
  84608. # shared platforms.
  84609. - if test "$hardcode_direct" != unsupported; then
  84610. - test -n "$old_library" && linklib="$old_library"
  84611. + if test unsupported != "$hardcode_direct"; then
  84612. + test -n "$old_library" && linklib=$old_library
  84613. compile_deplibs="$dir/$linklib $compile_deplibs"
  84614. finalize_deplibs="$dir/$linklib $finalize_deplibs"
  84615. else
  84616. compile_deplibs="-l$name -L$dir $compile_deplibs"
  84617. finalize_deplibs="-l$name -L$dir $finalize_deplibs"
  84618. fi
  84619. - elif test "$build_libtool_libs" = yes; then
  84620. + elif test yes = "$build_libtool_libs"; then
  84621. # Not a shared library
  84622. - if test "$deplibs_check_method" != pass_all; then
  84623. + if test pass_all != "$deplibs_check_method"; then
  84624. # We're trying link a shared library against a static one
  84625. # but the system doesn't support it.
  84626.  
  84627. # Just print a warning and add the library to dependency_libs so
  84628. # that the program can be linked against the static library.
  84629. - $ECHO
  84630. - $ECHO "*** Warning: This system can not link to static lib archive $lib."
  84631. - $ECHO "*** I have the capability to make that library automatically link in when"
  84632. - $ECHO "*** you link to this library. But I can only do this if you have a"
  84633. - $ECHO "*** shared version of the library, which you do not appear to have."
  84634. - if test "$module" = yes; then
  84635. - $ECHO "*** But as you try to build a module library, libtool will still create "
  84636. - $ECHO "*** a static module, that should work as long as the dlopening application"
  84637. - $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
  84638. + echo
  84639. + $ECHO "*** Warning: This system cannot link to static lib archive $lib."
  84640. + echo "*** I have the capability to make that library automatically link in when"
  84641. + echo "*** you link to this library. But I can only do this if you have a"
  84642. + echo "*** shared version of the library, which you do not appear to have."
  84643. + if test yes = "$module"; then
  84644. + echo "*** But as you try to build a module library, libtool will still create "
  84645. + echo "*** a static module, that should work as long as the dlopening application"
  84646. + echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
  84647. if test -z "$global_symbol_pipe"; then
  84648. - $ECHO
  84649. - $ECHO "*** However, this would only work if libtool was able to extract symbol"
  84650. - $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  84651. - $ECHO "*** not find such a program. So, this module is probably useless."
  84652. - $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  84653. + echo
  84654. + echo "*** However, this would only work if libtool was able to extract symbol"
  84655. + echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
  84656. + echo "*** not find such a program. So, this module is probably useless."
  84657. + echo "*** 'nm' from GNU binutils and a full rebuild may help."
  84658. fi
  84659. - if test "$build_old_libs" = no; then
  84660. + if test no = "$build_old_libs"; then
  84661. build_libtool_libs=module
  84662. build_old_libs=yes
  84663. else
  84664. @@ -5857,11 +8432,11 @@
  84665. fi
  84666. fi # link shared/static library?
  84667.  
  84668. - if test "$linkmode" = lib; then
  84669. + if test lib = "$linkmode"; then
  84670. if test -n "$dependency_libs" &&
  84671. - { test "$hardcode_into_libs" != yes ||
  84672. - test "$build_old_libs" = yes ||
  84673. - test "$link_static" = yes; }; then
  84674. + { test yes != "$hardcode_into_libs" ||
  84675. + test yes = "$build_old_libs" ||
  84676. + test yes = "$link_static"; }; then
  84677. # Extract -R from dependency_libs
  84678. temp_deplibs=
  84679. for libdir in $dependency_libs; do
  84680. @@ -5870,46 +8445,54 @@
  84681. temp_xrpath=$func_stripname_result
  84682. case " $xrpath " in
  84683. *" $temp_xrpath "*) ;;
  84684. - *) xrpath="$xrpath $temp_xrpath";;
  84685. + *) func_append xrpath " $temp_xrpath";;
  84686. esac;;
  84687. - *) temp_deplibs="$temp_deplibs $libdir";;
  84688. + *) func_append temp_deplibs " $libdir";;
  84689. esac
  84690. done
  84691. - dependency_libs="$temp_deplibs"
  84692. + dependency_libs=$temp_deplibs
  84693. fi
  84694.  
  84695. - newlib_search_path="$newlib_search_path $absdir"
  84696. + func_append newlib_search_path " $absdir"
  84697. # Link against this library
  84698. - test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
  84699. + test no = "$link_static" && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
  84700. # ... and its dependency_libs
  84701. tmp_libs=
  84702. for deplib in $dependency_libs; do
  84703. newdependency_libs="$deplib $newdependency_libs"
  84704. - if $opt_duplicate_deps ; then
  84705. + case $deplib in
  84706. + -L*) func_stripname '-L' '' "$deplib"
  84707. + func_resolve_sysroot "$func_stripname_result";;
  84708. + *) func_resolve_sysroot "$deplib" ;;
  84709. + esac
  84710. + if $opt_preserve_dup_deps; then
  84711. case "$tmp_libs " in
  84712. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  84713. + *" $func_resolve_sysroot_result "*)
  84714. + func_append specialdeplibs " $func_resolve_sysroot_result" ;;
  84715. esac
  84716. fi
  84717. - tmp_libs="$tmp_libs $deplib"
  84718. + func_append tmp_libs " $func_resolve_sysroot_result"
  84719. done
  84720.  
  84721. - if test "$link_all_deplibs" != no; then
  84722. + if test no != "$link_all_deplibs"; then
  84723. # Add the search paths of all dependency libraries
  84724. for deplib in $dependency_libs; do
  84725. path=
  84726. case $deplib in
  84727. - -L*) path="$deplib" ;;
  84728. + -L*) path=$deplib ;;
  84729. *.la)
  84730. + func_resolve_sysroot "$deplib"
  84731. + deplib=$func_resolve_sysroot_result
  84732. func_dirname "$deplib" "" "."
  84733. - dir="$func_dirname_result"
  84734. + dir=$func_dirname_result
  84735. # We need an absolute path.
  84736. case $dir in
  84737. - [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
  84738. + [\\/]* | [A-Za-z]:[\\/]*) absdir=$dir ;;
  84739. *)
  84740. absdir=`cd "$dir" && pwd`
  84741. if test -z "$absdir"; then
  84742. - func_warning "cannot determine absolute directory name of \`$dir'"
  84743. - absdir="$dir"
  84744. + func_warning "cannot determine absolute directory name of '$dir'"
  84745. + absdir=$dir
  84746. fi
  84747. ;;
  84748. esac
  84749. @@ -5917,35 +8500,35 @@
  84750. case $host in
  84751. *-*-darwin*)
  84752. depdepl=
  84753. - eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
  84754. - if test -n "$deplibrary_names" ; then
  84755. - for tmp in $deplibrary_names ; do
  84756. + eval deplibrary_names=`$SED -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
  84757. + if test -n "$deplibrary_names"; then
  84758. + for tmp in $deplibrary_names; do
  84759. depdepl=$tmp
  84760. done
  84761. - if test -f "$absdir/$objdir/$depdepl" ; then
  84762. - depdepl="$absdir/$objdir/$depdepl"
  84763. - darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  84764. + if test -f "$absdir/$objdir/$depdepl"; then
  84765. + depdepl=$absdir/$objdir/$depdepl
  84766. + darwin_install_name=`$OTOOL -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  84767. if test -z "$darwin_install_name"; then
  84768. - darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  84769. + darwin_install_name=`$OTOOL64 -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  84770. fi
  84771. - compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
  84772. - linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}"
  84773. + func_append compiler_flags " $wl-dylib_file $wl$darwin_install_name:$depdepl"
  84774. + func_append linker_flags " -dylib_file $darwin_install_name:$depdepl"
  84775. path=
  84776. fi
  84777. fi
  84778. ;;
  84779. *)
  84780. - path="-L$absdir/$objdir"
  84781. + path=-L$absdir/$objdir
  84782. ;;
  84783. esac
  84784. else
  84785. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  84786. + eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  84787. test -z "$libdir" && \
  84788. - func_fatal_error "\`$deplib' is not a valid libtool archive"
  84789. + func_fatal_error "'$deplib' is not a valid libtool archive"
  84790. test "$absdir" != "$libdir" && \
  84791. - func_warning "\`$deplib' seems to be moved"
  84792. + func_warning "'$deplib' seems to be moved"
  84793.  
  84794. - path="-L$absdir"
  84795. + path=-L$absdir
  84796. fi
  84797. ;;
  84798. esac
  84799. @@ -5957,38 +8540,38 @@
  84800. fi # link_all_deplibs != no
  84801. fi # linkmode = lib
  84802. done # for deplib in $libs
  84803. - if test "$pass" = link; then
  84804. - if test "$linkmode" = "prog"; then
  84805. + if test link = "$pass"; then
  84806. + if test prog = "$linkmode"; then
  84807. compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
  84808. finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
  84809. else
  84810. - compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  84811. + compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  84812. fi
  84813. fi
  84814. - dependency_libs="$newdependency_libs"
  84815. - if test "$pass" = dlpreopen; then
  84816. + dependency_libs=$newdependency_libs
  84817. + if test dlpreopen = "$pass"; then
  84818. # Link the dlpreopened libraries before other libraries
  84819. for deplib in $save_deplibs; do
  84820. deplibs="$deplib $deplibs"
  84821. done
  84822. fi
  84823. - if test "$pass" != dlopen; then
  84824. - if test "$pass" != conv; then
  84825. + if test dlopen != "$pass"; then
  84826. + test conv = "$pass" || {
  84827. # Make sure lib_search_path contains only unique directories.
  84828. lib_search_path=
  84829. for dir in $newlib_search_path; do
  84830. case "$lib_search_path " in
  84831. *" $dir "*) ;;
  84832. - *) lib_search_path="$lib_search_path $dir" ;;
  84833. + *) func_append lib_search_path " $dir" ;;
  84834. esac
  84835. done
  84836. newlib_search_path=
  84837. - fi
  84838. + }
  84839.  
  84840. - if test "$linkmode,$pass" != "prog,link"; then
  84841. - vars="deplibs"
  84842. - else
  84843. + if test prog,link = "$linkmode,$pass"; then
  84844. vars="compile_deplibs finalize_deplibs"
  84845. + else
  84846. + vars=deplibs
  84847. fi
  84848. for var in $vars dependency_libs; do
  84849. # Add libraries to $var in reverse order
  84850. @@ -6037,71 +8620,102 @@
  84851. -L*)
  84852. case " $tmp_libs " in
  84853. *" $deplib "*) ;;
  84854. - *) tmp_libs="$tmp_libs $deplib" ;;
  84855. + *) func_append tmp_libs " $deplib" ;;
  84856. esac
  84857. ;;
  84858. - *) tmp_libs="$tmp_libs $deplib" ;;
  84859. + *) func_append tmp_libs " $deplib" ;;
  84860. esac
  84861. done
  84862. eval $var=\"$tmp_libs\"
  84863. done # for var
  84864. fi
  84865. +
  84866. + # Add Sun CC postdeps if required:
  84867. + test CXX = "$tagname" && {
  84868. + case $host_os in
  84869. + linux*)
  84870. + case `$CC -V 2>&1 | sed 5q` in
  84871. + *Sun\ C*) # Sun C++ 5.9
  84872. + func_suncc_cstd_abi
  84873. +
  84874. + if test no != "$suncc_use_cstd_abi"; then
  84875. + func_append postdeps ' -library=Cstd -library=Crun'
  84876. + fi
  84877. + ;;
  84878. + esac
  84879. + ;;
  84880. +
  84881. + solaris*)
  84882. + func_cc_basename "$CC"
  84883. + case $func_cc_basename_result in
  84884. + CC* | sunCC*)
  84885. + func_suncc_cstd_abi
  84886. +
  84887. + if test no != "$suncc_use_cstd_abi"; then
  84888. + func_append postdeps ' -library=Cstd -library=Crun'
  84889. + fi
  84890. + ;;
  84891. + esac
  84892. + ;;
  84893. + esac
  84894. + }
  84895. +
  84896. # Last step: remove runtime libs from dependency_libs
  84897. # (they stay in deplibs)
  84898. tmp_libs=
  84899. - for i in $dependency_libs ; do
  84900. + for i in $dependency_libs; do
  84901. case " $predeps $postdeps $compiler_lib_search_path " in
  84902. *" $i "*)
  84903. - i=""
  84904. + i=
  84905. ;;
  84906. esac
  84907. - if test -n "$i" ; then
  84908. - tmp_libs="$tmp_libs $i"
  84909. + if test -n "$i"; then
  84910. + func_append tmp_libs " $i"
  84911. fi
  84912. done
  84913. dependency_libs=$tmp_libs
  84914. done # for pass
  84915. - if test "$linkmode" = prog; then
  84916. - dlfiles="$newdlfiles"
  84917. + if test prog = "$linkmode"; then
  84918. + dlfiles=$newdlfiles
  84919. fi
  84920. - if test "$linkmode" = prog || test "$linkmode" = lib; then
  84921. - dlprefiles="$newdlprefiles"
  84922. + if test prog = "$linkmode" || test lib = "$linkmode"; then
  84923. + dlprefiles=$newdlprefiles
  84924. fi
  84925.  
  84926. case $linkmode in
  84927. oldlib)
  84928. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  84929. - func_warning "\`-dlopen' is ignored for archives"
  84930. + if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
  84931. + func_warning "'-dlopen' is ignored for archives"
  84932. fi
  84933.  
  84934. case " $deplibs" in
  84935. *\ -l* | *\ -L*)
  84936. - func_warning "\`-l' and \`-L' are ignored for archives" ;;
  84937. + func_warning "'-l' and '-L' are ignored for archives" ;;
  84938. esac
  84939.  
  84940. test -n "$rpath" && \
  84941. - func_warning "\`-rpath' is ignored for archives"
  84942. + func_warning "'-rpath' is ignored for archives"
  84943.  
  84944. test -n "$xrpath" && \
  84945. - func_warning "\`-R' is ignored for archives"
  84946. + func_warning "'-R' is ignored for archives"
  84947.  
  84948. test -n "$vinfo" && \
  84949. - func_warning "\`-version-info/-version-number' is ignored for archives"
  84950. + func_warning "'-version-info/-version-number' is ignored for archives"
  84951.  
  84952. test -n "$release" && \
  84953. - func_warning "\`-release' is ignored for archives"
  84954. + func_warning "'-release' is ignored for archives"
  84955.  
  84956. test -n "$export_symbols$export_symbols_regex" && \
  84957. - func_warning "\`-export-symbols' is ignored for archives"
  84958. + func_warning "'-export-symbols' is ignored for archives"
  84959.  
  84960. # Now set the variables for building old libraries.
  84961. build_libtool_libs=no
  84962. - oldlibs="$output"
  84963. - objs="$objs$old_deplibs"
  84964. + oldlibs=$output
  84965. + func_append objs "$old_deplibs"
  84966. ;;
  84967.  
  84968. lib)
  84969. - # Make sure we only generate libraries of the form `libNAME.la'.
  84970. + # Make sure we only generate libraries of the form 'libNAME.la'.
  84971. case $outputname in
  84972. lib*)
  84973. func_stripname 'lib' '.la' "$outputname"
  84974. @@ -6110,10 +8724,10 @@
  84975. eval libname=\"$libname_spec\"
  84976. ;;
  84977. *)
  84978. - test "$module" = no && \
  84979. - func_fatal_help "libtool library \`$output' must begin with \`lib'"
  84980. + test no = "$module" \
  84981. + && func_fatal_help "libtool library '$output' must begin with 'lib'"
  84982.  
  84983. - if test "$need_lib_prefix" != no; then
  84984. + if test no != "$need_lib_prefix"; then
  84985. # Add the "lib" prefix for modules if required
  84986. func_stripname '' '.la' "$outputname"
  84987. name=$func_stripname_result
  84988. @@ -6127,31 +8741,31 @@
  84989. esac
  84990.  
  84991. if test -n "$objs"; then
  84992. - if test "$deplibs_check_method" != pass_all; then
  84993. - func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
  84994. + if test pass_all != "$deplibs_check_method"; then
  84995. + func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs"
  84996. else
  84997. - $ECHO
  84998. + echo
  84999. $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
  85000. $ECHO "*** objects $objs is not portable!"
  85001. - libobjs="$libobjs $objs"
  85002. + func_append libobjs " $objs"
  85003. fi
  85004. fi
  85005.  
  85006. - test "$dlself" != no && \
  85007. - func_warning "\`-dlopen self' is ignored for libtool libraries"
  85008. + test no = "$dlself" \
  85009. + || func_warning "'-dlopen self' is ignored for libtool libraries"
  85010.  
  85011. set dummy $rpath
  85012. shift
  85013. - test "$#" -gt 1 && \
  85014. - func_warning "ignoring multiple \`-rpath's for a libtool library"
  85015. + test 1 -lt "$#" \
  85016. + && func_warning "ignoring multiple '-rpath's for a libtool library"
  85017.  
  85018. - install_libdir="$1"
  85019. + install_libdir=$1
  85020.  
  85021. oldlibs=
  85022. if test -z "$rpath"; then
  85023. - if test "$build_libtool_libs" = yes; then
  85024. + if test yes = "$build_libtool_libs"; then
  85025. # Building a libtool convenience library.
  85026. - # Some compilers have problems with a `.al' extension so
  85027. + # Some compilers have problems with a '.al' extension so
  85028. # convenience libraries should have the same extension an
  85029. # archive normally would.
  85030. oldlibs="$output_objdir/$libname.$libext $oldlibs"
  85031. @@ -6160,20 +8774,20 @@
  85032. fi
  85033.  
  85034. test -n "$vinfo" && \
  85035. - func_warning "\`-version-info/-version-number' is ignored for convenience libraries"
  85036. + func_warning "'-version-info/-version-number' is ignored for convenience libraries"
  85037.  
  85038. test -n "$release" && \
  85039. - func_warning "\`-release' is ignored for convenience libraries"
  85040. + func_warning "'-release' is ignored for convenience libraries"
  85041. else
  85042.  
  85043. # Parse the version information argument.
  85044. - save_ifs="$IFS"; IFS=':'
  85045. + save_ifs=$IFS; IFS=:
  85046. set dummy $vinfo 0 0 0
  85047. shift
  85048. - IFS="$save_ifs"
  85049. + IFS=$save_ifs
  85050.  
  85051. test -n "$7" && \
  85052. - func_fatal_help "too many parameters to \`-version-info'"
  85053. + func_fatal_help "too many parameters to '-version-info'"
  85054.  
  85055. # convert absolute version numbers to libtool ages
  85056. # this retains compatibility with .la files and attempts
  85057. @@ -6181,44 +8795,42 @@
  85058.  
  85059. case $vinfo_number in
  85060. yes)
  85061. - number_major="$1"
  85062. - number_minor="$2"
  85063. - number_revision="$3"
  85064. + number_major=$1
  85065. + number_minor=$2
  85066. + number_revision=$3
  85067. #
  85068. # There are really only two kinds -- those that
  85069. # use the current revision as the major version
  85070. # and those that subtract age and use age as
  85071. # a minor version. But, then there is irix
  85072. - # which has an extra 1 added just for fun
  85073. + # that has an extra 1 added just for fun
  85074. #
  85075. case $version_type in
  85076. - darwin|linux|osf|windows|none)
  85077. + # correct linux to gnu/linux during the next big refactor
  85078. + darwin|freebsd-elf|linux|osf|windows|none)
  85079. func_arith $number_major + $number_minor
  85080. current=$func_arith_result
  85081. - age="$number_minor"
  85082. - revision="$number_revision"
  85083. + age=$number_minor
  85084. + revision=$number_revision
  85085. ;;
  85086. - freebsd-aout|freebsd-elf|sunos)
  85087. - current="$number_major"
  85088. - revision="$number_minor"
  85089. - age="0"
  85090. + freebsd-aout|qnx|sunos)
  85091. + current=$number_major
  85092. + revision=$number_minor
  85093. + age=0
  85094. ;;
  85095. irix|nonstopux)
  85096. func_arith $number_major + $number_minor
  85097. current=$func_arith_result
  85098. - age="$number_minor"
  85099. - revision="$number_minor"
  85100. + age=$number_minor
  85101. + revision=$number_minor
  85102. lt_irix_increment=no
  85103. ;;
  85104. - *)
  85105. - func_fatal_configuration "$modename: unknown library version type \`$version_type'"
  85106. - ;;
  85107. esac
  85108. ;;
  85109. no)
  85110. - current="$1"
  85111. - revision="$2"
  85112. - age="$3"
  85113. + current=$1
  85114. + revision=$2
  85115. + age=$3
  85116. ;;
  85117. esac
  85118.  
  85119. @@ -6226,30 +8838,30 @@
  85120. case $current 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 "CURRENT \`$current' must be a nonnegative integer"
  85124. - func_fatal_error "\`$vinfo' is not valid version information"
  85125. + func_error "CURRENT '$current' must be a nonnegative integer"
  85126. + func_fatal_error "'$vinfo' is not valid version information"
  85127. ;;
  85128. esac
  85129.  
  85130. case $revision 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 "REVISION \`$revision' must be a nonnegative integer"
  85134. - func_fatal_error "\`$vinfo' is not valid version information"
  85135. + func_error "REVISION '$revision' must be a nonnegative integer"
  85136. + func_fatal_error "'$vinfo' is not valid version information"
  85137. ;;
  85138. esac
  85139.  
  85140. case $age in
  85141. 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]) ;;
  85142. *)
  85143. - func_error "AGE \`$age' must be a nonnegative integer"
  85144. - func_fatal_error "\`$vinfo' is not valid version information"
  85145. + func_error "AGE '$age' must be a nonnegative integer"
  85146. + func_fatal_error "'$vinfo' is not valid version information"
  85147. ;;
  85148. esac
  85149.  
  85150. if test "$age" -gt "$current"; then
  85151. - func_error "AGE \`$age' is greater than the current interface number \`$current'"
  85152. - func_fatal_error "\`$vinfo' is not valid version information"
  85153. + func_error "AGE '$age' is greater than the current interface number '$current'"
  85154. + func_fatal_error "'$vinfo' is not valid version information"
  85155. fi
  85156.  
  85157. # Calculate the version variables.
  85158. @@ -6264,26 +8876,36 @@
  85159. # verstring for coding it into the library header
  85160. func_arith $current - $age
  85161. major=.$func_arith_result
  85162. - versuffix="$major.$age.$revision"
  85163. + versuffix=$major.$age.$revision
  85164. # Darwin ld doesn't like 0 for these options...
  85165. func_arith $current + 1
  85166. minor_current=$func_arith_result
  85167. - xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
  85168. + xlcverstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
  85169. verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
  85170. + # On Darwin other compilers
  85171. + case $CC in
  85172. + nagfor*)
  85173. + verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
  85174. + ;;
  85175. + *)
  85176. + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
  85177. + ;;
  85178. + esac
  85179. ;;
  85180.  
  85181. freebsd-aout)
  85182. - major=".$current"
  85183. - versuffix=".$current.$revision";
  85184. + major=.$current
  85185. + versuffix=.$current.$revision
  85186. ;;
  85187.  
  85188. freebsd-elf)
  85189. - major=".$current"
  85190. - versuffix=".$current"
  85191. + func_arith $current - $age
  85192. + major=.$func_arith_result
  85193. + versuffix=$major.$age.$revision
  85194. ;;
  85195.  
  85196. irix | nonstopux)
  85197. - if test "X$lt_irix_increment" = "Xno"; then
  85198. + if test no = "$lt_irix_increment"; then
  85199. func_arith $current - $age
  85200. else
  85201. func_arith $current - $age + 1
  85202. @@ -6294,69 +8916,74 @@
  85203. nonstopux) verstring_prefix=nonstopux ;;
  85204. *) verstring_prefix=sgi ;;
  85205. esac
  85206. - verstring="$verstring_prefix$major.$revision"
  85207. + verstring=$verstring_prefix$major.$revision
  85208.  
  85209. # Add in all the interfaces that we are compatible with.
  85210. loop=$revision
  85211. - while test "$loop" -ne 0; do
  85212. + while test 0 -ne "$loop"; do
  85213. func_arith $revision - $loop
  85214. iface=$func_arith_result
  85215. func_arith $loop - 1
  85216. loop=$func_arith_result
  85217. - verstring="$verstring_prefix$major.$iface:$verstring"
  85218. + verstring=$verstring_prefix$major.$iface:$verstring
  85219. done
  85220.  
  85221. - # Before this point, $major must not contain `.'.
  85222. + # Before this point, $major must not contain '.'.
  85223. major=.$major
  85224. - versuffix="$major.$revision"
  85225. + versuffix=$major.$revision
  85226. ;;
  85227.  
  85228. - linux)
  85229. + linux) # correct to gnu/linux during the next big refactor
  85230. func_arith $current - $age
  85231. major=.$func_arith_result
  85232. - versuffix="$major.$age.$revision"
  85233. + versuffix=$major.$age.$revision
  85234. ;;
  85235.  
  85236. osf)
  85237. func_arith $current - $age
  85238. major=.$func_arith_result
  85239. - versuffix=".$current.$age.$revision"
  85240. - verstring="$current.$age.$revision"
  85241. + versuffix=.$current.$age.$revision
  85242. + verstring=$current.$age.$revision
  85243.  
  85244. # Add in all the interfaces that we are compatible with.
  85245. loop=$age
  85246. - while test "$loop" -ne 0; do
  85247. + while test 0 -ne "$loop"; do
  85248. func_arith $current - $loop
  85249. iface=$func_arith_result
  85250. func_arith $loop - 1
  85251. loop=$func_arith_result
  85252. - verstring="$verstring:${iface}.0"
  85253. + verstring=$verstring:$iface.0
  85254. done
  85255.  
  85256. # Make executables depend on our current version.
  85257. - verstring="$verstring:${current}.0"
  85258. + func_append verstring ":$current.0"
  85259. ;;
  85260.  
  85261. qnx)
  85262. - major=".$current"
  85263. - versuffix=".$current"
  85264. + major=.$current
  85265. + versuffix=.$current
  85266. + ;;
  85267. +
  85268. + sco)
  85269. + major=.$current
  85270. + versuffix=.$current
  85271. ;;
  85272.  
  85273. sunos)
  85274. - major=".$current"
  85275. - versuffix=".$current.$revision"
  85276. + major=.$current
  85277. + versuffix=.$current.$revision
  85278. ;;
  85279.  
  85280. windows)
  85281. # Use '-' rather than '.', since we only want one
  85282. - # extension on DOS 8.3 filesystems.
  85283. + # extension on DOS 8.3 file systems.
  85284. func_arith $current - $age
  85285. major=$func_arith_result
  85286. - versuffix="-$major"
  85287. + versuffix=-$major
  85288. ;;
  85289.  
  85290. *)
  85291. - func_fatal_configuration "unknown library version type \`$version_type'"
  85292. + func_fatal_configuration "unknown library version type '$version_type'"
  85293. ;;
  85294. esac
  85295.  
  85296. @@ -6370,42 +8997,45 @@
  85297. verstring=
  85298. ;;
  85299. *)
  85300. - verstring="0.0"
  85301. + verstring=0.0
  85302. ;;
  85303. esac
  85304. - if test "$need_version" = no; then
  85305. + if test no = "$need_version"; then
  85306. versuffix=
  85307. else
  85308. - versuffix=".0.0"
  85309. + versuffix=.0.0
  85310. fi
  85311. fi
  85312.  
  85313. # Remove version info from name if versioning should be avoided
  85314. - if test "$avoid_version" = yes && test "$need_version" = no; then
  85315. + if test yes,no = "$avoid_version,$need_version"; then
  85316. major=
  85317. versuffix=
  85318. - verstring=""
  85319. + verstring=
  85320. fi
  85321.  
  85322. # Check to see if the archive will have undefined symbols.
  85323. - if test "$allow_undefined" = yes; then
  85324. - if test "$allow_undefined_flag" = unsupported; then
  85325. - func_warning "undefined symbols not allowed in $host shared libraries"
  85326. - build_libtool_libs=no
  85327. - build_old_libs=yes
  85328. + if test yes = "$allow_undefined"; then
  85329. + if test unsupported = "$allow_undefined_flag"; then
  85330. + if test yes = "$build_old_libs"; then
  85331. + func_warning "undefined symbols not allowed in $host shared libraries; building static only"
  85332. + build_libtool_libs=no
  85333. + else
  85334. + func_fatal_error "can't build $host shared library unless -no-undefined is specified"
  85335. + fi
  85336. fi
  85337. else
  85338. # Don't allow undefined symbols.
  85339. - allow_undefined_flag="$no_undefined_flag"
  85340. + allow_undefined_flag=$no_undefined_flag
  85341. fi
  85342.  
  85343. fi
  85344.  
  85345. - func_generate_dlsyms "$libname" "$libname" "yes"
  85346. - libobjs="$libobjs $symfileobj"
  85347. - test "X$libobjs" = "X " && libobjs=
  85348. + func_generate_dlsyms "$libname" "$libname" :
  85349. + func_append libobjs " $symfileobj"
  85350. + test " " = "$libobjs" && libobjs=
  85351.  
  85352. - if test "$mode" != relink; then
  85353. + if test relink != "$opt_mode"; then
  85354. # Remove our outputs, but don't remove object files since they
  85355. # may have been created when compiling PIC objects.
  85356. removelist=
  85357. @@ -6414,14 +9044,14 @@
  85358. case $p in
  85359. *.$objext | *.gcno)
  85360. ;;
  85361. - $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
  85362. - if test "X$precious_files_regex" != "X"; then
  85363. + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/$libname$release.*)
  85364. + if test -n "$precious_files_regex"; then
  85365. if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
  85366. then
  85367. continue
  85368. fi
  85369. fi
  85370. - removelist="$removelist $p"
  85371. + func_append removelist " $p"
  85372. ;;
  85373. *) ;;
  85374. esac
  85375. @@ -6431,64 +9061,65 @@
  85376. fi
  85377.  
  85378. # Now set the variables for building old libraries.
  85379. - if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
  85380. - oldlibs="$oldlibs $output_objdir/$libname.$libext"
  85381. + if test yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; then
  85382. + func_append oldlibs " $output_objdir/$libname.$libext"
  85383.  
  85384. # Transform .lo files to .o files.
  85385. - oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
  85386. + oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; $lo2o" | $NL2SP`
  85387. fi
  85388.  
  85389. # Eliminate all temporary directories.
  85390. #for path in $notinst_path; do
  85391. - # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
  85392. - # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
  85393. - # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
  85394. + # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
  85395. + # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
  85396. + # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
  85397. #done
  85398.  
  85399. if test -n "$xrpath"; then
  85400. # If the user specified any rpath flags, then add them.
  85401. temp_xrpath=
  85402. for libdir in $xrpath; do
  85403. - temp_xrpath="$temp_xrpath -R$libdir"
  85404. + func_replace_sysroot "$libdir"
  85405. + func_append temp_xrpath " -R$func_replace_sysroot_result"
  85406. case "$finalize_rpath " in
  85407. *" $libdir "*) ;;
  85408. - *) finalize_rpath="$finalize_rpath $libdir" ;;
  85409. + *) func_append finalize_rpath " $libdir" ;;
  85410. esac
  85411. done
  85412. - if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
  85413. + if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then
  85414. dependency_libs="$temp_xrpath $dependency_libs"
  85415. fi
  85416. fi
  85417.  
  85418. # Make sure dlfiles contains only unique files that won't be dlpreopened
  85419. - old_dlfiles="$dlfiles"
  85420. + old_dlfiles=$dlfiles
  85421. dlfiles=
  85422. for lib in $old_dlfiles; do
  85423. case " $dlprefiles $dlfiles " in
  85424. *" $lib "*) ;;
  85425. - *) dlfiles="$dlfiles $lib" ;;
  85426. + *) func_append dlfiles " $lib" ;;
  85427. esac
  85428. done
  85429.  
  85430. # Make sure dlprefiles contains only unique files
  85431. - old_dlprefiles="$dlprefiles"
  85432. + old_dlprefiles=$dlprefiles
  85433. dlprefiles=
  85434. for lib in $old_dlprefiles; do
  85435. case "$dlprefiles " in
  85436. *" $lib "*) ;;
  85437. - *) dlprefiles="$dlprefiles $lib" ;;
  85438. + *) func_append dlprefiles " $lib" ;;
  85439. esac
  85440. done
  85441.  
  85442. - if test "$build_libtool_libs" = yes; then
  85443. + if test yes = "$build_libtool_libs"; then
  85444. if test -n "$rpath"; then
  85445. case $host in
  85446. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
  85447. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
  85448. # these systems don't actually have a c library (as such)!
  85449. ;;
  85450. *-*-rhapsody* | *-*-darwin1.[012])
  85451. # Rhapsody C library is in the System framework
  85452. - deplibs="$deplibs System.ltframework"
  85453. + func_append deplibs " System.ltframework"
  85454. ;;
  85455. *-*-netbsd*)
  85456. # Don't link with libc until the a.out ld.so is fixed.
  85457. @@ -6504,8 +9135,8 @@
  85458. ;;
  85459. *)
  85460. # Add libc to deplibs on all other systems if necessary.
  85461. - if test "$build_libtool_need_lc" = "yes"; then
  85462. - deplibs="$deplibs -lc"
  85463. + if test yes = "$build_libtool_need_lc"; then
  85464. + func_append deplibs " -lc"
  85465. fi
  85466. ;;
  85467. esac
  85468. @@ -6520,9 +9151,9 @@
  85469. # I'm not sure if I'm treating the release correctly. I think
  85470. # release should show up in the -l (ie -lgmp5) so we don't want to
  85471. # add it in twice. Is that correct?
  85472. - release=""
  85473. - versuffix=""
  85474. - major=""
  85475. + release=
  85476. + versuffix=
  85477. + major=
  85478. newdeplibs=
  85479. droppeddeps=no
  85480. case $deplibs_check_method in
  85481. @@ -6551,35 +9182,35 @@
  85482. -l*)
  85483. func_stripname -l '' "$i"
  85484. name=$func_stripname_result
  85485. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  85486. + if test yes = "$allow_libtool_libs_with_static_runtimes"; then
  85487. case " $predeps $postdeps " in
  85488. *" $i "*)
  85489. - newdeplibs="$newdeplibs $i"
  85490. - i=""
  85491. + func_append newdeplibs " $i"
  85492. + i=
  85493. ;;
  85494. esac
  85495. fi
  85496. - if test -n "$i" ; then
  85497. + if test -n "$i"; then
  85498. libname=`eval "\\$ECHO \"$libname_spec\""`
  85499. deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
  85500. set dummy $deplib_matches; shift
  85501. deplib_match=$1
  85502. - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  85503. - newdeplibs="$newdeplibs $i"
  85504. + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
  85505. + func_append newdeplibs " $i"
  85506. else
  85507. droppeddeps=yes
  85508. - $ECHO
  85509. + echo
  85510. $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  85511. - $ECHO "*** I have the capability to make that library automatically link in when"
  85512. - $ECHO "*** you link to this library. But I can only do this if you have a"
  85513. - $ECHO "*** shared version of the library, which I believe you do not have"
  85514. - $ECHO "*** because a test_compile did reveal that the linker did not use it for"
  85515. - $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
  85516. + echo "*** I have the capability to make that library automatically link in when"
  85517. + echo "*** you link to this library. But I can only do this if you have a"
  85518. + echo "*** shared version of the library, which I believe you do not have"
  85519. + echo "*** because a test_compile did reveal that the linker did not use it for"
  85520. + echo "*** its dynamic dependency list that programs get resolved with at runtime."
  85521. fi
  85522. fi
  85523. ;;
  85524. *)
  85525. - newdeplibs="$newdeplibs $i"
  85526. + func_append newdeplibs " $i"
  85527. ;;
  85528. esac
  85529. done
  85530. @@ -6594,43 +9225,43 @@
  85531. $opt_dry_run || $RM conftest
  85532. if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
  85533. ldd_output=`ldd conftest`
  85534. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  85535. + if test yes = "$allow_libtool_libs_with_static_runtimes"; then
  85536. case " $predeps $postdeps " in
  85537. *" $i "*)
  85538. - newdeplibs="$newdeplibs $i"
  85539. - i=""
  85540. + func_append newdeplibs " $i"
  85541. + i=
  85542. ;;
  85543. esac
  85544. fi
  85545. - if test -n "$i" ; then
  85546. + if test -n "$i"; then
  85547. libname=`eval "\\$ECHO \"$libname_spec\""`
  85548. deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
  85549. set dummy $deplib_matches; shift
  85550. deplib_match=$1
  85551. - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  85552. - newdeplibs="$newdeplibs $i"
  85553. + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
  85554. + func_append newdeplibs " $i"
  85555. else
  85556. droppeddeps=yes
  85557. - $ECHO
  85558. + echo
  85559. $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  85560. - $ECHO "*** I have the capability to make that library automatically link in when"
  85561. - $ECHO "*** you link to this library. But I can only do this if you have a"
  85562. - $ECHO "*** shared version of the library, which you do not appear to have"
  85563. - $ECHO "*** because a test_compile did reveal that the linker did not use this one"
  85564. - $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
  85565. + echo "*** I have the capability to make that library automatically link in when"
  85566. + echo "*** you link to this library. But I can only do this if you have a"
  85567. + echo "*** shared version of the library, which you do not appear to have"
  85568. + echo "*** because a test_compile did reveal that the linker did not use this one"
  85569. + echo "*** as a dynamic dependency that programs can get resolved with at runtime."
  85570. fi
  85571. fi
  85572. else
  85573. droppeddeps=yes
  85574. - $ECHO
  85575. + echo
  85576. $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
  85577. - $ECHO "*** make it link in! You will probably need to install it or some"
  85578. - $ECHO "*** library that it depends on before this library will be fully"
  85579. - $ECHO "*** functional. Installing it before continuing would be even better."
  85580. + echo "*** make it link in! You will probably need to install it or some"
  85581. + echo "*** library that it depends on before this library will be fully"
  85582. + echo "*** functional. Installing it before continuing would be even better."
  85583. fi
  85584. ;;
  85585. *)
  85586. - newdeplibs="$newdeplibs $i"
  85587. + func_append newdeplibs " $i"
  85588. ;;
  85589. esac
  85590. done
  85591. @@ -6644,18 +9275,30 @@
  85592. -l*)
  85593. func_stripname -l '' "$a_deplib"
  85594. name=$func_stripname_result
  85595. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  85596. + if test yes = "$allow_libtool_libs_with_static_runtimes"; then
  85597. case " $predeps $postdeps " in
  85598. *" $a_deplib "*)
  85599. - newdeplibs="$newdeplibs $a_deplib"
  85600. - a_deplib=""
  85601. + func_append newdeplibs " $a_deplib"
  85602. + a_deplib=
  85603. ;;
  85604. esac
  85605. fi
  85606. - if test -n "$a_deplib" ; then
  85607. + if test -n "$a_deplib"; then
  85608. libname=`eval "\\$ECHO \"$libname_spec\""`
  85609. + if test -n "$file_magic_glob"; then
  85610. + libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob`
  85611. + else
  85612. + libnameglob=$libname
  85613. + fi
  85614. + test yes = "$want_nocaseglob" && nocaseglob=`shopt -p nocaseglob`
  85615. for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  85616. - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  85617. + if test yes = "$want_nocaseglob"; then
  85618. + shopt -s nocaseglob
  85619. + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
  85620. + $nocaseglob
  85621. + else
  85622. + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
  85623. + fi
  85624. for potent_lib in $potential_libs; do
  85625. # Follow soft links.
  85626. if ls -lLd "$potent_lib" 2>/dev/null |
  85627. @@ -6667,33 +9310,33 @@
  85628. # We might still enter an endless loop, since a link
  85629. # loop can be closed while we follow links,
  85630. # but so what?
  85631. - potlib="$potent_lib"
  85632. + potlib=$potent_lib
  85633. while test -h "$potlib" 2>/dev/null; do
  85634. - potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
  85635. + potliblink=`ls -ld $potlib | $SED 's/.* -> //'`
  85636. case $potliblink in
  85637. - [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
  85638. - *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
  85639. + [\\/]* | [A-Za-z]:[\\/]*) potlib=$potliblink;;
  85640. + *) potlib=`$ECHO "$potlib" | $SED 's|[^/]*$||'`"$potliblink";;
  85641. esac
  85642. done
  85643. if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
  85644. $SED -e 10q |
  85645. $EGREP "$file_magic_regex" > /dev/null; then
  85646. - newdeplibs="$newdeplibs $a_deplib"
  85647. - a_deplib=""
  85648. + func_append newdeplibs " $a_deplib"
  85649. + a_deplib=
  85650. break 2
  85651. fi
  85652. done
  85653. done
  85654. fi
  85655. - if test -n "$a_deplib" ; then
  85656. + if test -n "$a_deplib"; then
  85657. droppeddeps=yes
  85658. - $ECHO
  85659. + echo
  85660. $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  85661. - $ECHO "*** I have the capability to make that library automatically link in when"
  85662. - $ECHO "*** you link to this library. But I can only do this if you have a"
  85663. - $ECHO "*** shared version of the library, which you do not appear to have"
  85664. - $ECHO "*** because I did check the linker path looking for a file starting"
  85665. - if test -z "$potlib" ; then
  85666. + echo "*** I have the capability to make that library automatically link in when"
  85667. + echo "*** you link to this library. But I can only do this if you have a"
  85668. + echo "*** shared version of the library, which you do not appear to have"
  85669. + echo "*** because I did check the linker path looking for a file starting"
  85670. + if test -z "$potlib"; then
  85671. $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
  85672. else
  85673. $ECHO "*** with $libname and none of the candidates passed a file format test"
  85674. @@ -6703,7 +9346,7 @@
  85675. ;;
  85676. *)
  85677. # Add a -L argument.
  85678. - newdeplibs="$newdeplibs $a_deplib"
  85679. + func_append newdeplibs " $a_deplib"
  85680. ;;
  85681. esac
  85682. done # Gone through all deplibs.
  85683. @@ -6716,38 +9359,38 @@
  85684. -l*)
  85685. func_stripname -l '' "$a_deplib"
  85686. name=$func_stripname_result
  85687. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  85688. + if test yes = "$allow_libtool_libs_with_static_runtimes"; then
  85689. case " $predeps $postdeps " in
  85690. *" $a_deplib "*)
  85691. - newdeplibs="$newdeplibs $a_deplib"
  85692. - a_deplib=""
  85693. + func_append newdeplibs " $a_deplib"
  85694. + a_deplib=
  85695. ;;
  85696. esac
  85697. fi
  85698. - if test -n "$a_deplib" ; then
  85699. + if test -n "$a_deplib"; then
  85700. libname=`eval "\\$ECHO \"$libname_spec\""`
  85701. for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  85702. potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  85703. for potent_lib in $potential_libs; do
  85704. - potlib="$potent_lib" # see symlink-check above in file_magic test
  85705. - if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
  85706. + potlib=$potent_lib # see symlink-check above in file_magic test
  85707. + if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
  85708. $EGREP "$match_pattern_regex" > /dev/null; then
  85709. - newdeplibs="$newdeplibs $a_deplib"
  85710. - a_deplib=""
  85711. + func_append newdeplibs " $a_deplib"
  85712. + a_deplib=
  85713. break 2
  85714. fi
  85715. done
  85716. done
  85717. fi
  85718. - if test -n "$a_deplib" ; then
  85719. + if test -n "$a_deplib"; then
  85720. droppeddeps=yes
  85721. - $ECHO
  85722. + echo
  85723. $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  85724. - $ECHO "*** I have the capability to make that library automatically link in when"
  85725. - $ECHO "*** you link to this library. But I can only do this if you have a"
  85726. - $ECHO "*** shared version of the library, which you do not appear to have"
  85727. - $ECHO "*** because I did check the linker path looking for a file starting"
  85728. - if test -z "$potlib" ; then
  85729. + echo "*** I have the capability to make that library automatically link in when"
  85730. + echo "*** you link to this library. But I can only do this if you have a"
  85731. + echo "*** shared version of the library, which you do not appear to have"
  85732. + echo "*** because I did check the linker path looking for a file starting"
  85733. + if test -z "$potlib"; then
  85734. $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
  85735. else
  85736. $ECHO "*** with $libname and none of the candidates passed a file format test"
  85737. @@ -6757,32 +9400,32 @@
  85738. ;;
  85739. *)
  85740. # Add a -L argument.
  85741. - newdeplibs="$newdeplibs $a_deplib"
  85742. + func_append newdeplibs " $a_deplib"
  85743. ;;
  85744. esac
  85745. done # Gone through all deplibs.
  85746. ;;
  85747. none | unknown | *)
  85748. - newdeplibs=""
  85749. - tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
  85750. - -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
  85751. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  85752. - for i in $predeps $postdeps ; do
  85753. + newdeplibs=
  85754. + tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
  85755. + if test yes = "$allow_libtool_libs_with_static_runtimes"; then
  85756. + for i in $predeps $postdeps; do
  85757. # can't use Xsed below, because $i might contain '/'
  85758. - tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
  85759. + tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s|$i||"`
  85760. done
  85761. fi
  85762. - if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' |
  85763. - $GREP . >/dev/null; then
  85764. - $ECHO
  85765. - if test "X$deplibs_check_method" = "Xnone"; then
  85766. - $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
  85767. + case $tmp_deplibs in
  85768. + *[!\ \ ]*)
  85769. + echo
  85770. + if test none = "$deplibs_check_method"; then
  85771. + echo "*** Warning: inter-library dependencies are not supported in this platform."
  85772. else
  85773. - $ECHO "*** Warning: inter-library dependencies are not known to be supported."
  85774. + echo "*** Warning: inter-library dependencies are not known to be supported."
  85775. fi
  85776. - $ECHO "*** All declared inter-library dependencies are being dropped."
  85777. + echo "*** All declared inter-library dependencies are being dropped."
  85778. droppeddeps=yes
  85779. - fi
  85780. + ;;
  85781. + esac
  85782. ;;
  85783. esac
  85784. versuffix=$versuffix_save
  85785. @@ -6794,44 +9437,44 @@
  85786. case $host in
  85787. *-*-rhapsody* | *-*-darwin1.[012])
  85788. # On Rhapsody replace the C library with the System framework
  85789. - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  85790. + newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
  85791. ;;
  85792. esac
  85793.  
  85794. - if test "$droppeddeps" = yes; then
  85795. - if test "$module" = yes; then
  85796. - $ECHO
  85797. - $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
  85798. + if test yes = "$droppeddeps"; then
  85799. + if test yes = "$module"; then
  85800. + echo
  85801. + echo "*** Warning: libtool could not satisfy all declared inter-library"
  85802. $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
  85803. - $ECHO "*** a static module, that should work as long as the dlopening"
  85804. - $ECHO "*** application is linked with the -dlopen flag."
  85805. + echo "*** a static module, that should work as long as the dlopening"
  85806. + echo "*** application is linked with the -dlopen flag."
  85807. if test -z "$global_symbol_pipe"; then
  85808. - $ECHO
  85809. - $ECHO "*** However, this would only work if libtool was able to extract symbol"
  85810. - $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  85811. - $ECHO "*** not find such a program. So, this module is probably useless."
  85812. - $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  85813. + echo
  85814. + echo "*** However, this would only work if libtool was able to extract symbol"
  85815. + echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
  85816. + echo "*** not find such a program. So, this module is probably useless."
  85817. + echo "*** 'nm' from GNU binutils and a full rebuild may help."
  85818. fi
  85819. - if test "$build_old_libs" = no; then
  85820. - oldlibs="$output_objdir/$libname.$libext"
  85821. + if test no = "$build_old_libs"; then
  85822. + oldlibs=$output_objdir/$libname.$libext
  85823. build_libtool_libs=module
  85824. build_old_libs=yes
  85825. else
  85826. build_libtool_libs=no
  85827. fi
  85828. else
  85829. - $ECHO "*** The inter-library dependencies that have been dropped here will be"
  85830. - $ECHO "*** automatically added whenever a program is linked with this library"
  85831. - $ECHO "*** or is declared to -dlopen it."
  85832. -
  85833. - if test "$allow_undefined" = no; then
  85834. - $ECHO
  85835. - $ECHO "*** Since this library must not contain undefined symbols,"
  85836. - $ECHO "*** because either the platform does not support them or"
  85837. - $ECHO "*** it was explicitly requested with -no-undefined,"
  85838. - $ECHO "*** libtool will only create a static version of it."
  85839. - if test "$build_old_libs" = no; then
  85840. - oldlibs="$output_objdir/$libname.$libext"
  85841. + echo "*** The inter-library dependencies that have been dropped here will be"
  85842. + echo "*** automatically added whenever a program is linked with this library"
  85843. + echo "*** or is declared to -dlopen it."
  85844. +
  85845. + if test no = "$allow_undefined"; then
  85846. + echo
  85847. + echo "*** Since this library must not contain undefined symbols,"
  85848. + echo "*** because either the platform does not support them or"
  85849. + echo "*** it was explicitly requested with -no-undefined,"
  85850. + echo "*** libtool will only create a static version of it."
  85851. + if test no = "$build_old_libs"; then
  85852. + oldlibs=$output_objdir/$libname.$libext
  85853. build_libtool_libs=module
  85854. build_old_libs=yes
  85855. else
  85856. @@ -6846,9 +9489,9 @@
  85857. # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  85858. case $host in
  85859. *-*-darwin*)
  85860. - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  85861. - new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  85862. - deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  85863. + newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  85864. + new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  85865. + deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  85866. ;;
  85867. esac
  85868.  
  85869. @@ -6861,7 +9504,7 @@
  85870. *)
  85871. case " $deplibs " in
  85872. *" -L$path/$objdir "*)
  85873. - new_libs="$new_libs -L$path/$objdir" ;;
  85874. + func_append new_libs " -L$path/$objdir" ;;
  85875. esac
  85876. ;;
  85877. esac
  85878. @@ -6871,13 +9514,13 @@
  85879. -L*)
  85880. case " $new_libs " in
  85881. *" $deplib "*) ;;
  85882. - *) new_libs="$new_libs $deplib" ;;
  85883. + *) func_append new_libs " $deplib" ;;
  85884. esac
  85885. ;;
  85886. - *) new_libs="$new_libs $deplib" ;;
  85887. + *) func_append new_libs " $deplib" ;;
  85888. esac
  85889. done
  85890. - deplibs="$new_libs"
  85891. + deplibs=$new_libs
  85892.  
  85893. # All the library-specific variables (install_libdir is set above).
  85894. library_names=
  85895. @@ -6885,62 +9528,65 @@
  85896. dlname=
  85897.  
  85898. # Test again, we may have decided not to build it any more
  85899. - if test "$build_libtool_libs" = yes; then
  85900. - if test "$hardcode_into_libs" = yes; then
  85901. + if test yes = "$build_libtool_libs"; then
  85902. + # Remove $wl instances when linking with ld.
  85903. + # FIXME: should test the right _cmds variable.
  85904. + case $archive_cmds in
  85905. + *\$LD\ *) wl= ;;
  85906. + esac
  85907. + if test yes = "$hardcode_into_libs"; then
  85908. # Hardcode the library paths
  85909. hardcode_libdirs=
  85910. dep_rpath=
  85911. - rpath="$finalize_rpath"
  85912. - test "$mode" != relink && rpath="$compile_rpath$rpath"
  85913. + rpath=$finalize_rpath
  85914. + test relink = "$opt_mode" || rpath=$compile_rpath$rpath
  85915. for libdir in $rpath; do
  85916. if test -n "$hardcode_libdir_flag_spec"; then
  85917. if test -n "$hardcode_libdir_separator"; then
  85918. + func_replace_sysroot "$libdir"
  85919. + libdir=$func_replace_sysroot_result
  85920. if test -z "$hardcode_libdirs"; then
  85921. - hardcode_libdirs="$libdir"
  85922. + hardcode_libdirs=$libdir
  85923. else
  85924. # Just accumulate the unique libdirs.
  85925. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  85926. *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  85927. ;;
  85928. *)
  85929. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  85930. + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
  85931. ;;
  85932. esac
  85933. fi
  85934. else
  85935. eval flag=\"$hardcode_libdir_flag_spec\"
  85936. - dep_rpath="$dep_rpath $flag"
  85937. + func_append dep_rpath " $flag"
  85938. fi
  85939. elif test -n "$runpath_var"; then
  85940. case "$perm_rpath " in
  85941. *" $libdir "*) ;;
  85942. - *) perm_rpath="$perm_rpath $libdir" ;;
  85943. + *) func_append perm_rpath " $libdir" ;;
  85944. esac
  85945. fi
  85946. done
  85947. # Substitute the hardcoded libdirs into the rpath.
  85948. if test -n "$hardcode_libdir_separator" &&
  85949. test -n "$hardcode_libdirs"; then
  85950. - libdir="$hardcode_libdirs"
  85951. - if test -n "$hardcode_libdir_flag_spec_ld"; then
  85952. - eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
  85953. - else
  85954. - eval dep_rpath=\"$hardcode_libdir_flag_spec\"
  85955. - fi
  85956. + libdir=$hardcode_libdirs
  85957. + eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
  85958. fi
  85959. if test -n "$runpath_var" && test -n "$perm_rpath"; then
  85960. # We should set the runpath_var.
  85961. rpath=
  85962. for dir in $perm_rpath; do
  85963. - rpath="$rpath$dir:"
  85964. + func_append rpath "$dir:"
  85965. done
  85966. eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
  85967. fi
  85968. test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
  85969. fi
  85970.  
  85971. - shlibpath="$finalize_shlibpath"
  85972. - test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
  85973. + shlibpath=$finalize_shlibpath
  85974. + test relink = "$opt_mode" || shlibpath=$compile_shlibpath$shlibpath
  85975. if test -n "$shlibpath"; then
  85976. eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
  85977. fi
  85978. @@ -6950,34 +9596,34 @@
  85979. eval library_names=\"$library_names_spec\"
  85980. set dummy $library_names
  85981. shift
  85982. - realname="$1"
  85983. + realname=$1
  85984. shift
  85985.  
  85986. if test -n "$soname_spec"; then
  85987. eval soname=\"$soname_spec\"
  85988. else
  85989. - soname="$realname"
  85990. + soname=$realname
  85991. fi
  85992. if test -z "$dlname"; then
  85993. dlname=$soname
  85994. fi
  85995.  
  85996. - lib="$output_objdir/$realname"
  85997. + lib=$output_objdir/$realname
  85998. linknames=
  85999. for link
  86000. do
  86001. - linknames="$linknames $link"
  86002. + func_append linknames " $link"
  86003. done
  86004.  
  86005. # Use standard objects if they are pic
  86006. - test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  86007. + test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
  86008. test "X$libobjs" = "X " && libobjs=
  86009.  
  86010. delfiles=
  86011. if test -n "$export_symbols" && test -n "$include_expsyms"; then
  86012. $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
  86013. - export_symbols="$output_objdir/$libname.uexp"
  86014. - delfiles="$delfiles $export_symbols"
  86015. + export_symbols=$output_objdir/$libname.uexp
  86016. + func_append delfiles " $export_symbols"
  86017. fi
  86018.  
  86019. orig_export_symbols=
  86020. @@ -6985,36 +9631,68 @@
  86021. cygwin* | mingw* | cegcc*)
  86022. if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
  86023. # exporting using user supplied symfile
  86024. - if test "x`$SED 1q $export_symbols`" != xEXPORTS; then
  86025. + func_dll_def_p "$export_symbols" || {
  86026. # and it's NOT already a .def file. Must figure out
  86027. # which of the given symbols are data symbols and tag
  86028. # them as such. So, trigger use of export_symbols_cmds.
  86029. # export_symbols gets reassigned inside the "prepare
  86030. # the list of exported symbols" if statement, so the
  86031. # include_expsyms logic still works.
  86032. - orig_export_symbols="$export_symbols"
  86033. + orig_export_symbols=$export_symbols
  86034. export_symbols=
  86035. always_export_symbols=yes
  86036. - fi
  86037. + }
  86038. fi
  86039. ;;
  86040. esac
  86041.  
  86042. # Prepare the list of exported symbols
  86043. if test -z "$export_symbols"; then
  86044. - if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
  86045. - func_verbose "generating symbol list for \`$libname.la'"
  86046. - export_symbols="$output_objdir/$libname.exp"
  86047. + if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then
  86048. + func_verbose "generating symbol list for '$libname.la'"
  86049. + export_symbols=$output_objdir/$libname.exp
  86050. $opt_dry_run || $RM $export_symbols
  86051. cmds=$export_symbols_cmds
  86052. - save_ifs="$IFS"; IFS='~'
  86053. - for cmd in $cmds; do
  86054. - IFS="$save_ifs"
  86055. - eval cmd=\"$cmd\"
  86056. - func_len " $cmd"
  86057. - len=$func_len_result
  86058. - if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  86059. + save_ifs=$IFS; IFS='~'
  86060. + for cmd1 in $cmds; do
  86061. + IFS=$save_ifs
  86062. + # Take the normal branch if the nm_file_list_spec branch
  86063. + # doesn't work or if tool conversion is not needed.
  86064. + case $nm_file_list_spec~$to_tool_file_cmd in
  86065. + *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*)
  86066. + try_normal_branch=yes
  86067. + eval cmd=\"$cmd1\"
  86068. + func_len " $cmd"
  86069. + len=$func_len_result
  86070. + ;;
  86071. + *)
  86072. + try_normal_branch=no
  86073. + ;;
  86074. + esac
  86075. + if test yes = "$try_normal_branch" \
  86076. + && { test "$len" -lt "$max_cmd_len" \
  86077. + || test "$max_cmd_len" -le -1; }
  86078. + then
  86079. + func_show_eval "$cmd" 'exit $?'
  86080. + skipped_export=false
  86081. + elif test -n "$nm_file_list_spec"; then
  86082. + func_basename "$output"
  86083. + output_la=$func_basename_result
  86084. + save_libobjs=$libobjs
  86085. + save_output=$output
  86086. + output=$output_objdir/$output_la.nm
  86087. + func_to_tool_file "$output"
  86088. + libobjs=$nm_file_list_spec$func_to_tool_file_result
  86089. + func_append delfiles " $output"
  86090. + func_verbose "creating $NM input file list: $output"
  86091. + for obj in $save_libobjs; do
  86092. + func_to_tool_file "$obj"
  86093. + $ECHO "$func_to_tool_file_result"
  86094. + done > "$output"
  86095. + eval cmd=\"$cmd1\"
  86096. func_show_eval "$cmd" 'exit $?'
  86097. + output=$save_output
  86098. + libobjs=$save_libobjs
  86099. skipped_export=false
  86100. else
  86101. # The command line is too long to execute in one step.
  86102. @@ -7025,8 +9703,8 @@
  86103. break
  86104. fi
  86105. done
  86106. - IFS="$save_ifs"
  86107. - if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then
  86108. + IFS=$save_ifs
  86109. + if test -n "$export_symbols_regex" && test : != "$skipped_export"; then
  86110. func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  86111. func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
  86112. fi
  86113. @@ -7034,21 +9712,21 @@
  86114. fi
  86115.  
  86116. if test -n "$export_symbols" && test -n "$include_expsyms"; then
  86117. - tmp_export_symbols="$export_symbols"
  86118. - test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  86119. - $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  86120. + tmp_export_symbols=$export_symbols
  86121. + test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
  86122. + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
  86123. fi
  86124.  
  86125. - if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
  86126. + if test : != "$skipped_export" && test -n "$orig_export_symbols"; then
  86127. # The given exports_symbols file has to be filtered, so filter it.
  86128. - func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
  86129. + func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
  86130. # FIXME: $output_objdir/$libname.filter potentially contains lots of
  86131. - # 's' commands which not all seds can handle. GNU sed should be fine
  86132. + # 's' commands, which not all seds can handle. GNU sed should be fine
  86133. # though. Also, the filter scales superlinearly with the number of
  86134. # global variables. join(1) would be nice here, but unfortunately
  86135. # isn't a blessed tool.
  86136. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  86137. - delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  86138. + func_append delfiles " $export_symbols $output_objdir/$libname.filter"
  86139. export_symbols=$output_objdir/$libname.def
  86140. $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  86141. fi
  86142. @@ -7058,15 +9736,15 @@
  86143. case " $convenience " in
  86144. *" $test_deplib "*) ;;
  86145. *)
  86146. - tmp_deplibs="$tmp_deplibs $test_deplib"
  86147. + func_append tmp_deplibs " $test_deplib"
  86148. ;;
  86149. esac
  86150. done
  86151. - deplibs="$tmp_deplibs"
  86152. + deplibs=$tmp_deplibs
  86153.  
  86154. if test -n "$convenience"; then
  86155. if test -n "$whole_archive_flag_spec" &&
  86156. - test "$compiler_needs_object" = yes &&
  86157. + test yes = "$compiler_needs_object" &&
  86158. test -z "$libobjs"; then
  86159. # extract the archives, so we have objects to list.
  86160. # TODO: could optimize this to just extract one archive.
  86161. @@ -7077,27 +9755,27 @@
  86162. eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  86163. test "X$libobjs" = "X " && libobjs=
  86164. else
  86165. - gentop="$output_objdir/${outputname}x"
  86166. - generated="$generated $gentop"
  86167. + gentop=$output_objdir/${outputname}x
  86168. + func_append generated " $gentop"
  86169.  
  86170. func_extract_archives $gentop $convenience
  86171. - libobjs="$libobjs $func_extract_archives_result"
  86172. + func_append libobjs " $func_extract_archives_result"
  86173. test "X$libobjs" = "X " && libobjs=
  86174. fi
  86175. fi
  86176.  
  86177. - if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
  86178. + if test yes = "$thread_safe" && test -n "$thread_safe_flag_spec"; then
  86179. eval flag=\"$thread_safe_flag_spec\"
  86180. - linker_flags="$linker_flags $flag"
  86181. + func_append linker_flags " $flag"
  86182. fi
  86183.  
  86184. # Make a backup of the uninstalled library when relinking
  86185. - if test "$mode" = relink; then
  86186. + if test relink = "$opt_mode"; then
  86187. $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
  86188. fi
  86189.  
  86190. # Do each of the archive commands.
  86191. - if test "$module" = yes && test -n "$module_cmds" ; then
  86192. + if test yes = "$module" && test -n "$module_cmds"; then
  86193. if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  86194. eval test_cmds=\"$module_expsym_cmds\"
  86195. cmds=$module_expsym_cmds
  86196. @@ -7115,7 +9793,7 @@
  86197. fi
  86198. fi
  86199.  
  86200. - if test "X$skipped_export" != "X:" &&
  86201. + if test : != "$skipped_export" &&
  86202. func_len " $test_cmds" &&
  86203. len=$func_len_result &&
  86204. test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  86205. @@ -7137,7 +9815,8 @@
  86206. save_libobjs=$libobjs
  86207. fi
  86208. save_output=$output
  86209. - output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
  86210. + func_basename "$output"
  86211. + output_la=$func_basename_result
  86212.  
  86213. # Clear the reloadable object creation command queue and
  86214. # initialize k to one.
  86215. @@ -7147,37 +9826,42 @@
  86216. last_robj=
  86217. k=1
  86218.  
  86219. - if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
  86220. - output=${output_objdir}/${output_la}.lnkscript
  86221. + if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then
  86222. + output=$output_objdir/$output_la.lnkscript
  86223. func_verbose "creating GNU ld script: $output"
  86224. - $ECHO 'INPUT (' > $output
  86225. + echo 'INPUT (' > $output
  86226. for obj in $save_libobjs
  86227. do
  86228. - $ECHO "$obj" >> $output
  86229. + func_to_tool_file "$obj"
  86230. + $ECHO "$func_to_tool_file_result" >> $output
  86231. done
  86232. - $ECHO ')' >> $output
  86233. - delfiles="$delfiles $output"
  86234. - elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
  86235. - output=${output_objdir}/${output_la}.lnk
  86236. + echo ')' >> $output
  86237. + func_append delfiles " $output"
  86238. + func_to_tool_file "$output"
  86239. + output=$func_to_tool_file_result
  86240. + elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then
  86241. + output=$output_objdir/$output_la.lnk
  86242. func_verbose "creating linker input file list: $output"
  86243. : > $output
  86244. set x $save_libobjs
  86245. shift
  86246. firstobj=
  86247. - if test "$compiler_needs_object" = yes; then
  86248. + if test yes = "$compiler_needs_object"; then
  86249. firstobj="$1 "
  86250. shift
  86251. fi
  86252. for obj
  86253. do
  86254. - $ECHO "$obj" >> $output
  86255. + func_to_tool_file "$obj"
  86256. + $ECHO "$func_to_tool_file_result" >> $output
  86257. done
  86258. - delfiles="$delfiles $output"
  86259. - output=$firstobj\"$file_list_spec$output\"
  86260. + func_append delfiles " $output"
  86261. + func_to_tool_file "$output"
  86262. + output=$firstobj\"$file_list_spec$func_to_tool_file_result\"
  86263. else
  86264. if test -n "$save_libobjs"; then
  86265. func_verbose "creating reloadable object files..."
  86266. - output=$output_objdir/$output_la-${k}.$objext
  86267. + output=$output_objdir/$output_la-$k.$objext
  86268. eval test_cmds=\"$reload_cmds\"
  86269. func_len " $test_cmds"
  86270. len0=$func_len_result
  86271. @@ -7189,25 +9873,27 @@
  86272. func_len " $obj"
  86273. func_arith $len + $func_len_result
  86274. len=$func_arith_result
  86275. - if test "X$objlist" = X ||
  86276. + if test -z "$objlist" ||
  86277. test "$len" -lt "$max_cmd_len"; then
  86278. func_append objlist " $obj"
  86279. else
  86280. # The command $test_cmds is almost too long, add a
  86281. # command to the queue.
  86282. - if test "$k" -eq 1 ; then
  86283. + if test 1 -eq "$k"; then
  86284. # The first file doesn't have a previous command to add.
  86285. - eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
  86286. + reload_objs=$objlist
  86287. + eval concat_cmds=\"$reload_cmds\"
  86288. else
  86289. # All subsequent reloadable object files will link in
  86290. # the last one created.
  86291. - eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
  86292. + reload_objs="$objlist $last_robj"
  86293. + eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
  86294. fi
  86295. - last_robj=$output_objdir/$output_la-${k}.$objext
  86296. + last_robj=$output_objdir/$output_la-$k.$objext
  86297. func_arith $k + 1
  86298. k=$func_arith_result
  86299. - output=$output_objdir/$output_la-${k}.$objext
  86300. - objlist=$obj
  86301. + output=$output_objdir/$output_la-$k.$objext
  86302. + objlist=" $obj"
  86303. func_len " $last_robj"
  86304. func_arith $len0 + $func_len_result
  86305. len=$func_arith_result
  86306. @@ -7217,19 +9903,20 @@
  86307. # reloadable object file. All subsequent reloadable object
  86308. # files will link in the last one created.
  86309. test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  86310. - eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
  86311. + reload_objs="$objlist $last_robj"
  86312. + eval concat_cmds=\"\$concat_cmds$reload_cmds\"
  86313. if test -n "$last_robj"; then
  86314. - eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
  86315. + eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
  86316. fi
  86317. - delfiles="$delfiles $output"
  86318. + func_append delfiles " $output"
  86319.  
  86320. else
  86321. output=
  86322. fi
  86323.  
  86324. - if ${skipped_export-false}; then
  86325. - func_verbose "generating symbol list for \`$libname.la'"
  86326. - export_symbols="$output_objdir/$libname.exp"
  86327. + ${skipped_export-false} && {
  86328. + func_verbose "generating symbol list for '$libname.la'"
  86329. + export_symbols=$output_objdir/$libname.exp
  86330. $opt_dry_run || $RM $export_symbols
  86331. libobjs=$output
  86332. # Append the command to create the export file.
  86333. @@ -7238,16 +9925,16 @@
  86334. if test -n "$last_robj"; then
  86335. eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
  86336. fi
  86337. - fi
  86338. + }
  86339.  
  86340. test -n "$save_libobjs" &&
  86341. func_verbose "creating a temporary reloadable object file: $output"
  86342.  
  86343. # Loop through the commands generated above and execute them.
  86344. - save_ifs="$IFS"; IFS='~'
  86345. + save_ifs=$IFS; IFS='~'
  86346. for cmd in $concat_cmds; do
  86347. - IFS="$save_ifs"
  86348. - $opt_silent || {
  86349. + IFS=$save_ifs
  86350. + $opt_quiet || {
  86351. func_quote_for_expand "$cmd"
  86352. eval "func_echo $func_quote_for_expand_result"
  86353. }
  86354. @@ -7255,7 +9942,7 @@
  86355. lt_exit=$?
  86356.  
  86357. # Restore the uninstalled library and exit
  86358. - if test "$mode" = relink; then
  86359. + if test relink = "$opt_mode"; then
  86360. ( cd "$output_objdir" && \
  86361. $RM "${realname}T" && \
  86362. $MV "${realname}U" "$realname" )
  86363. @@ -7264,7 +9951,7 @@
  86364. exit $lt_exit
  86365. }
  86366. done
  86367. - IFS="$save_ifs"
  86368. + IFS=$save_ifs
  86369.  
  86370. if test -n "$export_symbols_regex" && ${skipped_export-false}; then
  86371. func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  86372. @@ -7272,27 +9959,27 @@
  86373. fi
  86374. fi
  86375.  
  86376. - if ${skipped_export-false}; then
  86377. + ${skipped_export-false} && {
  86378. if test -n "$export_symbols" && test -n "$include_expsyms"; then
  86379. - tmp_export_symbols="$export_symbols"
  86380. - test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  86381. - $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  86382. + tmp_export_symbols=$export_symbols
  86383. + test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
  86384. + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
  86385. fi
  86386.  
  86387. if test -n "$orig_export_symbols"; then
  86388. # The given exports_symbols file has to be filtered, so filter it.
  86389. - func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
  86390. + func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
  86391. # FIXME: $output_objdir/$libname.filter potentially contains lots of
  86392. - # 's' commands which not all seds can handle. GNU sed should be fine
  86393. + # 's' commands, which not all seds can handle. GNU sed should be fine
  86394. # though. Also, the filter scales superlinearly with the number of
  86395. # global variables. join(1) would be nice here, but unfortunately
  86396. # isn't a blessed tool.
  86397. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  86398. - delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  86399. + func_append delfiles " $export_symbols $output_objdir/$libname.filter"
  86400. export_symbols=$output_objdir/$libname.def
  86401. $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  86402. fi
  86403. - fi
  86404. + }
  86405.  
  86406. libobjs=$output
  86407. # Restore the value of output.
  86408. @@ -7306,7 +9993,7 @@
  86409. # value of $libobjs for piecewise linking.
  86410.  
  86411. # Do each of the archive commands.
  86412. - if test "$module" = yes && test -n "$module_cmds" ; then
  86413. + if test yes = "$module" && test -n "$module_cmds"; then
  86414. if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  86415. cmds=$module_expsym_cmds
  86416. else
  86417. @@ -7328,19 +10015,20 @@
  86418.  
  86419. # Add any objects from preloaded convenience libraries
  86420. if test -n "$dlprefiles"; then
  86421. - gentop="$output_objdir/${outputname}x"
  86422. - generated="$generated $gentop"
  86423. + gentop=$output_objdir/${outputname}x
  86424. + func_append generated " $gentop"
  86425.  
  86426. func_extract_archives $gentop $dlprefiles
  86427. - libobjs="$libobjs $func_extract_archives_result"
  86428. + func_append libobjs " $func_extract_archives_result"
  86429. test "X$libobjs" = "X " && libobjs=
  86430. fi
  86431.  
  86432. - save_ifs="$IFS"; IFS='~'
  86433. + save_ifs=$IFS; IFS='~'
  86434. for cmd in $cmds; do
  86435. - IFS="$save_ifs"
  86436. + IFS=$sp$nl
  86437. eval cmd=\"$cmd\"
  86438. - $opt_silent || {
  86439. + IFS=$save_ifs
  86440. + $opt_quiet || {
  86441. func_quote_for_expand "$cmd"
  86442. eval "func_echo $func_quote_for_expand_result"
  86443. }
  86444. @@ -7348,7 +10036,7 @@
  86445. lt_exit=$?
  86446.  
  86447. # Restore the uninstalled library and exit
  86448. - if test "$mode" = relink; then
  86449. + if test relink = "$opt_mode"; then
  86450. ( cd "$output_objdir" && \
  86451. $RM "${realname}T" && \
  86452. $MV "${realname}U" "$realname" )
  86453. @@ -7357,10 +10045,10 @@
  86454. exit $lt_exit
  86455. }
  86456. done
  86457. - IFS="$save_ifs"
  86458. + IFS=$save_ifs
  86459.  
  86460. # Restore the uninstalled library and exit
  86461. - if test "$mode" = relink; then
  86462. + if test relink = "$opt_mode"; then
  86463. $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
  86464.  
  86465. if test -n "$convenience"; then
  86466. @@ -7380,39 +10068,39 @@
  86467. done
  86468.  
  86469. # If -module or -export-dynamic was specified, set the dlname.
  86470. - if test "$module" = yes || test "$export_dynamic" = yes; then
  86471. + if test yes = "$module" || test yes = "$export_dynamic"; then
  86472. # On all known operating systems, these are identical.
  86473. - dlname="$soname"
  86474. + dlname=$soname
  86475. fi
  86476. fi
  86477. ;;
  86478.  
  86479. obj)
  86480. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  86481. - func_warning "\`-dlopen' is ignored for objects"
  86482. + if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
  86483. + func_warning "'-dlopen' is ignored for objects"
  86484. fi
  86485.  
  86486. case " $deplibs" in
  86487. *\ -l* | *\ -L*)
  86488. - func_warning "\`-l' and \`-L' are ignored for objects" ;;
  86489. + func_warning "'-l' and '-L' are ignored for objects" ;;
  86490. esac
  86491.  
  86492. test -n "$rpath" && \
  86493. - func_warning "\`-rpath' is ignored for objects"
  86494. + func_warning "'-rpath' is ignored for objects"
  86495.  
  86496. test -n "$xrpath" && \
  86497. - func_warning "\`-R' is ignored for objects"
  86498. + func_warning "'-R' is ignored for objects"
  86499.  
  86500. test -n "$vinfo" && \
  86501. - func_warning "\`-version-info' is ignored for objects"
  86502. + func_warning "'-version-info' is ignored for objects"
  86503.  
  86504. test -n "$release" && \
  86505. - func_warning "\`-release' is ignored for objects"
  86506. + func_warning "'-release' is ignored for objects"
  86507.  
  86508. case $output in
  86509. *.lo)
  86510. test -n "$objs$old_deplibs" && \
  86511. - func_fatal_error "cannot build library object \`$output' from non-libtool objects"
  86512. + func_fatal_error "cannot build library object '$output' from non-libtool objects"
  86513.  
  86514. libobj=$output
  86515. func_lo2o "$libobj"
  86516. @@ -7420,7 +10108,7 @@
  86517. ;;
  86518. *)
  86519. libobj=
  86520. - obj="$output"
  86521. + obj=$output
  86522. ;;
  86523. esac
  86524.  
  86525. @@ -7433,28 +10121,33 @@
  86526. # the extraction.
  86527. reload_conv_objs=
  86528. gentop=
  86529. - # reload_cmds runs $LD directly, so let us get rid of
  86530. - # -Wl from whole_archive_flag_spec and hope we can get by with
  86531. - # turning comma into space..
  86532. - wl=
  86533. -
  86534. + # if reload_cmds runs $LD directly, get rid of -Wl from
  86535. + # whole_archive_flag_spec and hope we can get by with turning comma
  86536. + # into space.
  86537. + case $reload_cmds in
  86538. + *\$LD[\ \$]*) wl= ;;
  86539. + esac
  86540. if test -n "$convenience"; then
  86541. if test -n "$whole_archive_flag_spec"; then
  86542. eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
  86543. - reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
  86544. + test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
  86545. + reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags
  86546. else
  86547. - gentop="$output_objdir/${obj}x"
  86548. - generated="$generated $gentop"
  86549. + gentop=$output_objdir/${obj}x
  86550. + func_append generated " $gentop"
  86551.  
  86552. func_extract_archives $gentop $convenience
  86553. reload_conv_objs="$reload_objs $func_extract_archives_result"
  86554. fi
  86555. fi
  86556.  
  86557. + # If we're not building shared, we need to use non_pic_objs
  86558. + test yes = "$build_libtool_libs" || libobjs=$non_pic_objects
  86559. +
  86560. # Create the old-style object.
  86561. - 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
  86562. + reload_objs=$objs$old_deplibs' '`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; /\.lib$/d; $lo2o" | $NL2SP`' '$reload_conv_objs
  86563.  
  86564. - output="$obj"
  86565. + output=$obj
  86566. func_execute_cmds "$reload_cmds" 'exit $?'
  86567.  
  86568. # Exit if we aren't doing a library object file.
  86569. @@ -7466,7 +10159,7 @@
  86570. exit $EXIT_SUCCESS
  86571. fi
  86572.  
  86573. - if test "$build_libtool_libs" != yes; then
  86574. + test yes = "$build_libtool_libs" || {
  86575. if test -n "$gentop"; then
  86576. func_show_eval '${RM}r "$gentop"'
  86577. fi
  86578. @@ -7476,12 +10169,12 @@
  86579. # $show "echo timestamp > $libobj"
  86580. # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
  86581. exit $EXIT_SUCCESS
  86582. - fi
  86583. + }
  86584.  
  86585. - if test -n "$pic_flag" || test "$pic_mode" != default; then
  86586. + if test -n "$pic_flag" || test default != "$pic_mode"; then
  86587. # Only do commands if we really have different PIC objects.
  86588. reload_objs="$libobjs $reload_conv_objs"
  86589. - output="$libobj"
  86590. + output=$libobj
  86591. func_execute_cmds "$reload_cmds" 'exit $?'
  86592. fi
  86593.  
  86594. @@ -7498,22 +10191,20 @@
  86595. output=$func_stripname_result.exe;;
  86596. esac
  86597. test -n "$vinfo" && \
  86598. - func_warning "\`-version-info' is ignored for programs"
  86599. + func_warning "'-version-info' is ignored for programs"
  86600.  
  86601. test -n "$release" && \
  86602. - func_warning "\`-release' is ignored for programs"
  86603. + func_warning "'-release' is ignored for programs"
  86604.  
  86605. - test "$preload" = yes \
  86606. - && test "$dlopen_support" = unknown \
  86607. - && test "$dlopen_self" = unknown \
  86608. - && test "$dlopen_self_static" = unknown && \
  86609. - func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support."
  86610. + $preload \
  86611. + && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \
  86612. + && func_warning "'LT_INIT([dlopen])' not used. Assuming no dlopen support."
  86613.  
  86614. case $host in
  86615. *-*-rhapsody* | *-*-darwin1.[012])
  86616. # On Rhapsody replace the C library is the System framework
  86617. - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  86618. - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  86619. + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
  86620. + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
  86621. ;;
  86622. esac
  86623.  
  86624. @@ -7521,17 +10212,17 @@
  86625. *-*-darwin*)
  86626. # Don't allow lazy linking, it breaks C++ global constructors
  86627. # But is supposedly fixed on 10.4 or later (yay!).
  86628. - if test "$tagname" = CXX ; then
  86629. + if test CXX = "$tagname"; then
  86630. case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
  86631. 10.[0123])
  86632. - compile_command="$compile_command ${wl}-bind_at_load"
  86633. - finalize_command="$finalize_command ${wl}-bind_at_load"
  86634. + func_append compile_command " $wl-bind_at_load"
  86635. + func_append finalize_command " $wl-bind_at_load"
  86636. ;;
  86637. esac
  86638. fi
  86639. # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  86640. - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  86641. - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  86642. + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  86643. + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  86644. ;;
  86645. esac
  86646.  
  86647. @@ -7545,7 +10236,7 @@
  86648. *)
  86649. case " $compile_deplibs " in
  86650. *" -L$path/$objdir "*)
  86651. - new_libs="$new_libs -L$path/$objdir" ;;
  86652. + func_append new_libs " -L$path/$objdir" ;;
  86653. esac
  86654. ;;
  86655. esac
  86656. @@ -7555,17 +10246,17 @@
  86657. -L*)
  86658. case " $new_libs " in
  86659. *" $deplib "*) ;;
  86660. - *) new_libs="$new_libs $deplib" ;;
  86661. + *) func_append new_libs " $deplib" ;;
  86662. esac
  86663. ;;
  86664. - *) new_libs="$new_libs $deplib" ;;
  86665. + *) func_append new_libs " $deplib" ;;
  86666. esac
  86667. done
  86668. - compile_deplibs="$new_libs"
  86669. + compile_deplibs=$new_libs
  86670.  
  86671.  
  86672. - compile_command="$compile_command $compile_deplibs"
  86673. - finalize_command="$finalize_command $finalize_deplibs"
  86674. + func_append compile_command " $compile_deplibs"
  86675. + func_append finalize_command " $finalize_deplibs"
  86676.  
  86677. if test -n "$rpath$xrpath"; then
  86678. # If the user specified any rpath flags, then add them.
  86679. @@ -7573,7 +10264,7 @@
  86680. # This is the magic to use -rpath.
  86681. case "$finalize_rpath " in
  86682. *" $libdir "*) ;;
  86683. - *) finalize_rpath="$finalize_rpath $libdir" ;;
  86684. + *) func_append finalize_rpath " $libdir" ;;
  86685. esac
  86686. done
  86687. fi
  86688. @@ -7585,39 +10276,39 @@
  86689. if test -n "$hardcode_libdir_flag_spec"; then
  86690. if test -n "$hardcode_libdir_separator"; then
  86691. if test -z "$hardcode_libdirs"; then
  86692. - hardcode_libdirs="$libdir"
  86693. + hardcode_libdirs=$libdir
  86694. else
  86695. # Just accumulate the unique libdirs.
  86696. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  86697. *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  86698. ;;
  86699. *)
  86700. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  86701. + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
  86702. ;;
  86703. esac
  86704. fi
  86705. else
  86706. eval flag=\"$hardcode_libdir_flag_spec\"
  86707. - rpath="$rpath $flag"
  86708. + func_append rpath " $flag"
  86709. fi
  86710. elif test -n "$runpath_var"; then
  86711. case "$perm_rpath " in
  86712. *" $libdir "*) ;;
  86713. - *) perm_rpath="$perm_rpath $libdir" ;;
  86714. + *) func_append perm_rpath " $libdir" ;;
  86715. esac
  86716. fi
  86717. case $host in
  86718. *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  86719. - testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
  86720. + testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'`
  86721. case :$dllsearchpath: in
  86722. *":$libdir:"*) ;;
  86723. ::) dllsearchpath=$libdir;;
  86724. - *) dllsearchpath="$dllsearchpath:$libdir";;
  86725. + *) func_append dllsearchpath ":$libdir";;
  86726. esac
  86727. case :$dllsearchpath: in
  86728. *":$testbindir:"*) ;;
  86729. ::) dllsearchpath=$testbindir;;
  86730. - *) dllsearchpath="$dllsearchpath:$testbindir";;
  86731. + *) func_append dllsearchpath ":$testbindir";;
  86732. esac
  86733. ;;
  86734. esac
  86735. @@ -7625,10 +10316,10 @@
  86736. # Substitute the hardcoded libdirs into the rpath.
  86737. if test -n "$hardcode_libdir_separator" &&
  86738. test -n "$hardcode_libdirs"; then
  86739. - libdir="$hardcode_libdirs"
  86740. + libdir=$hardcode_libdirs
  86741. eval rpath=\" $hardcode_libdir_flag_spec\"
  86742. fi
  86743. - compile_rpath="$rpath"
  86744. + compile_rpath=$rpath
  86745.  
  86746. rpath=
  86747. hardcode_libdirs=
  86748. @@ -7636,82 +10327,86 @@
  86749. if test -n "$hardcode_libdir_flag_spec"; then
  86750. if test -n "$hardcode_libdir_separator"; then
  86751. if test -z "$hardcode_libdirs"; then
  86752. - hardcode_libdirs="$libdir"
  86753. + hardcode_libdirs=$libdir
  86754. else
  86755. # Just accumulate the unique libdirs.
  86756. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  86757. *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  86758. ;;
  86759. *)
  86760. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  86761. + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
  86762. ;;
  86763. esac
  86764. fi
  86765. else
  86766. eval flag=\"$hardcode_libdir_flag_spec\"
  86767. - rpath="$rpath $flag"
  86768. + func_append rpath " $flag"
  86769. fi
  86770. elif test -n "$runpath_var"; then
  86771. case "$finalize_perm_rpath " in
  86772. *" $libdir "*) ;;
  86773. - *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
  86774. + *) func_append finalize_perm_rpath " $libdir" ;;
  86775. esac
  86776. fi
  86777. done
  86778. # Substitute the hardcoded libdirs into the rpath.
  86779. if test -n "$hardcode_libdir_separator" &&
  86780. test -n "$hardcode_libdirs"; then
  86781. - libdir="$hardcode_libdirs"
  86782. + libdir=$hardcode_libdirs
  86783. eval rpath=\" $hardcode_libdir_flag_spec\"
  86784. fi
  86785. - finalize_rpath="$rpath"
  86786. + finalize_rpath=$rpath
  86787.  
  86788. - if test -n "$libobjs" && test "$build_old_libs" = yes; then
  86789. + if test -n "$libobjs" && test yes = "$build_old_libs"; then
  86790. # Transform all the library objects into standard objects.
  86791. - compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  86792. - finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  86793. + compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
  86794. + finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
  86795. fi
  86796.  
  86797. - func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
  86798. + func_generate_dlsyms "$outputname" "@PROGRAM@" false
  86799.  
  86800. # template prelinking step
  86801. if test -n "$prelink_cmds"; then
  86802. func_execute_cmds "$prelink_cmds" 'exit $?'
  86803. fi
  86804.  
  86805. - wrappers_required=yes
  86806. + wrappers_required=:
  86807. case $host in
  86808. - *cygwin* | *mingw* )
  86809. - if test "$build_libtool_libs" != yes; then
  86810. - wrappers_required=no
  86811. - fi
  86812. + *cegcc* | *mingw32ce*)
  86813. + # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
  86814. + wrappers_required=false
  86815. ;;
  86816. - *cegcc)
  86817. - # Disable wrappers for cegcc, we are cross compiling anyway.
  86818. - wrappers_required=no
  86819. + *cygwin* | *mingw* )
  86820. + test yes = "$build_libtool_libs" || wrappers_required=false
  86821. ;;
  86822. *)
  86823. - if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
  86824. - wrappers_required=no
  86825. + if test no = "$need_relink" || test yes != "$build_libtool_libs"; then
  86826. + wrappers_required=false
  86827. fi
  86828. ;;
  86829. esac
  86830. - if test "$wrappers_required" = no; then
  86831. + $wrappers_required || {
  86832. # Replace the output file specification.
  86833. - compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  86834. - link_command="$compile_command$compile_rpath"
  86835. + compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
  86836. + link_command=$compile_command$compile_rpath
  86837.  
  86838. # We have no uninstalled library dependencies, so finalize right now.
  86839. exit_status=0
  86840. func_show_eval "$link_command" 'exit_status=$?'
  86841.  
  86842. + if test -n "$postlink_cmds"; then
  86843. + func_to_tool_file "$output"
  86844. + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
  86845. + func_execute_cmds "$postlink_cmds" 'exit $?'
  86846. + fi
  86847. +
  86848. # Delete the generated files.
  86849. - if test -f "$output_objdir/${outputname}S.${objext}"; then
  86850. - func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
  86851. + if test -f "$output_objdir/${outputname}S.$objext"; then
  86852. + func_show_eval '$RM "$output_objdir/${outputname}S.$objext"'
  86853. fi
  86854.  
  86855. exit $exit_status
  86856. - fi
  86857. + }
  86858.  
  86859. if test -n "$compile_shlibpath$finalize_shlibpath"; then
  86860. compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
  86861. @@ -7727,7 +10422,7 @@
  86862. # We should set the runpath_var.
  86863. rpath=
  86864. for dir in $perm_rpath; do
  86865. - rpath="$rpath$dir:"
  86866. + func_append rpath "$dir:"
  86867. done
  86868. compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
  86869. fi
  86870. @@ -7735,54 +10430,68 @@
  86871. # We should set the runpath_var.
  86872. rpath=
  86873. for dir in $finalize_perm_rpath; do
  86874. - rpath="$rpath$dir:"
  86875. + func_append rpath "$dir:"
  86876. done
  86877. finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
  86878. fi
  86879. fi
  86880.  
  86881. - if test "$no_install" = yes; then
  86882. + if test yes = "$no_install"; then
  86883. # We don't need to create a wrapper script.
  86884. - link_command="$compile_var$compile_command$compile_rpath"
  86885. + link_command=$compile_var$compile_command$compile_rpath
  86886. # Replace the output file specification.
  86887. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  86888. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
  86889. # Delete the old output file.
  86890. $opt_dry_run || $RM $output
  86891. # Link the executable and exit
  86892. func_show_eval "$link_command" 'exit $?'
  86893. - exit $EXIT_SUCCESS
  86894. - fi
  86895. -
  86896. - if test "$hardcode_action" = relink; then
  86897. - # Fast installation is not supported
  86898. - link_command="$compile_var$compile_command$compile_rpath"
  86899. - relink_command="$finalize_var$finalize_command$finalize_rpath"
  86900.  
  86901. - func_warning "this platform does not like uninstalled shared libraries"
  86902. - func_warning "\`$output' will be relinked during installation"
  86903. - else
  86904. - if test "$fast_install" != no; then
  86905. - link_command="$finalize_var$compile_command$finalize_rpath"
  86906. - if test "$fast_install" = yes; then
  86907. - relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
  86908. - else
  86909. - # fast_install is set to needless
  86910. - relink_command=
  86911. - fi
  86912. - else
  86913. - link_command="$compile_var$compile_command$compile_rpath"
  86914. - relink_command="$finalize_var$finalize_command$finalize_rpath"
  86915. + if test -n "$postlink_cmds"; then
  86916. + func_to_tool_file "$output"
  86917. + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
  86918. + func_execute_cmds "$postlink_cmds" 'exit $?'
  86919. fi
  86920. +
  86921. + exit $EXIT_SUCCESS
  86922. fi
  86923.  
  86924. + case $hardcode_action,$fast_install in
  86925. + relink,*)
  86926. + # Fast installation is not supported
  86927. + link_command=$compile_var$compile_command$compile_rpath
  86928. + relink_command=$finalize_var$finalize_command$finalize_rpath
  86929. +
  86930. + func_warning "this platform does not like uninstalled shared libraries"
  86931. + func_warning "'$output' will be relinked during installation"
  86932. + ;;
  86933. + *,yes)
  86934. + link_command=$finalize_var$compile_command$finalize_rpath
  86935. + relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
  86936. + ;;
  86937. + *,no)
  86938. + link_command=$compile_var$compile_command$compile_rpath
  86939. + relink_command=$finalize_var$finalize_command$finalize_rpath
  86940. + ;;
  86941. + *,needless)
  86942. + link_command=$finalize_var$compile_command$finalize_rpath
  86943. + relink_command=
  86944. + ;;
  86945. + esac
  86946. +
  86947. # Replace the output file specification.
  86948. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  86949. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  86950.  
  86951. # Delete the old output files.
  86952. $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
  86953.  
  86954. func_show_eval "$link_command" 'exit $?'
  86955.  
  86956. + if test -n "$postlink_cmds"; then
  86957. + func_to_tool_file "$output_objdir/$outputname"
  86958. + 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'`
  86959. + func_execute_cmds "$postlink_cmds" 'exit $?'
  86960. + fi
  86961. +
  86962. # Now create the wrapper script.
  86963. func_verbose "creating $output"
  86964.  
  86965. @@ -7800,18 +10509,7 @@
  86966. fi
  86967. done
  86968. relink_command="(cd `pwd`; $relink_command)"
  86969. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  86970. - fi
  86971. -
  86972. - # Quote $ECHO for shipping.
  86973. - if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
  86974. - case $progpath in
  86975. - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
  86976. - *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
  86977. - esac
  86978. - qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
  86979. - else
  86980. - qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
  86981. + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
  86982. fi
  86983.  
  86984. # Only actually do things if not in dry run mode.
  86985. @@ -7835,8 +10533,8 @@
  86986. func_dirname_and_basename "$output" "" "."
  86987. output_name=$func_basename_result
  86988. output_path=$func_dirname_result
  86989. - cwrappersource="$output_path/$objdir/lt-$output_name.c"
  86990. - cwrapper="$output_path/$output_name.exe"
  86991. + cwrappersource=$output_path/$objdir/lt-$output_name.c
  86992. + cwrapper=$output_path/$output_name.exe
  86993. $RM $cwrappersource $cwrapper
  86994. trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
  86995.  
  86996. @@ -7857,7 +10555,7 @@
  86997. trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
  86998. $opt_dry_run || {
  86999. # note: this script will not be executed, so do not chmod.
  87000. - if test "x$build" = "x$host" ; then
  87001. + if test "x$build" = "x$host"; then
  87002. $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
  87003. else
  87004. func_emit_wrapper no > $func_ltwrapper_scriptname_result
  87005. @@ -7880,43 +10578,45 @@
  87006. # See if we need to build an old-fashioned archive.
  87007. for oldlib in $oldlibs; do
  87008.  
  87009. - if test "$build_libtool_libs" = convenience; then
  87010. - oldobjs="$libobjs_save $symfileobj"
  87011. - addlibs="$convenience"
  87012. - build_libtool_libs=no
  87013. - else
  87014. - if test "$build_libtool_libs" = module; then
  87015. - oldobjs="$libobjs_save"
  87016. + case $build_libtool_libs in
  87017. + convenience)
  87018. + oldobjs="$libobjs_save $symfileobj"
  87019. + addlibs=$convenience
  87020. build_libtool_libs=no
  87021. - else
  87022. + ;;
  87023. + module)
  87024. + oldobjs=$libobjs_save
  87025. + addlibs=$old_convenience
  87026. + build_libtool_libs=no
  87027. + ;;
  87028. + *)
  87029. oldobjs="$old_deplibs $non_pic_objects"
  87030. - if test "$preload" = yes && test -f "$symfileobj"; then
  87031. - oldobjs="$oldobjs $symfileobj"
  87032. - fi
  87033. - fi
  87034. - addlibs="$old_convenience"
  87035. - fi
  87036. + $preload && test -f "$symfileobj" \
  87037. + && func_append oldobjs " $symfileobj"
  87038. + addlibs=$old_convenience
  87039. + ;;
  87040. + esac
  87041.  
  87042. if test -n "$addlibs"; then
  87043. - gentop="$output_objdir/${outputname}x"
  87044. - generated="$generated $gentop"
  87045. + gentop=$output_objdir/${outputname}x
  87046. + func_append generated " $gentop"
  87047.  
  87048. func_extract_archives $gentop $addlibs
  87049. - oldobjs="$oldobjs $func_extract_archives_result"
  87050. + func_append oldobjs " $func_extract_archives_result"
  87051. fi
  87052.  
  87053. # Do each command in the archive commands.
  87054. - if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
  87055. + if test -n "$old_archive_from_new_cmds" && test yes = "$build_libtool_libs"; then
  87056. cmds=$old_archive_from_new_cmds
  87057. else
  87058.  
  87059. # Add any objects from preloaded convenience libraries
  87060. if test -n "$dlprefiles"; then
  87061. - gentop="$output_objdir/${outputname}x"
  87062. - generated="$generated $gentop"
  87063. + gentop=$output_objdir/${outputname}x
  87064. + func_append generated " $gentop"
  87065.  
  87066. func_extract_archives $gentop $dlprefiles
  87067. - oldobjs="$oldobjs $func_extract_archives_result"
  87068. + func_append oldobjs " $func_extract_archives_result"
  87069. fi
  87070.  
  87071. # POSIX demands no paths to be encoded in archives. We have
  87072. @@ -7932,9 +10632,9 @@
  87073. done | sort | sort -uc >/dev/null 2>&1); then
  87074. :
  87075. else
  87076. - $ECHO "copying selected object files to avoid basename conflicts..."
  87077. - gentop="$output_objdir/${outputname}x"
  87078. - generated="$generated $gentop"
  87079. + echo "copying selected object files to avoid basename conflicts..."
  87080. + gentop=$output_objdir/${outputname}x
  87081. + func_append generated " $gentop"
  87082. func_mkdir_p "$gentop"
  87083. save_oldobjs=$oldobjs
  87084. oldobjs=
  87085. @@ -7942,7 +10642,7 @@
  87086. for obj in $save_oldobjs
  87087. do
  87088. func_basename "$obj"
  87089. - objbase="$func_basename_result"
  87090. + objbase=$func_basename_result
  87091. case " $oldobjs " in
  87092. " ") oldobjs=$obj ;;
  87093. *[\ /]"$objbase "*)
  87094. @@ -7958,18 +10658,30 @@
  87095. esac
  87096. done
  87097. func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
  87098. - oldobjs="$oldobjs $gentop/$newobj"
  87099. + func_append oldobjs " $gentop/$newobj"
  87100. ;;
  87101. - *) oldobjs="$oldobjs $obj" ;;
  87102. + *) func_append oldobjs " $obj" ;;
  87103. esac
  87104. done
  87105. fi
  87106. + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
  87107. + tool_oldlib=$func_to_tool_file_result
  87108. eval cmds=\"$old_archive_cmds\"
  87109.  
  87110. func_len " $cmds"
  87111. len=$func_len_result
  87112. if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  87113. cmds=$old_archive_cmds
  87114. + elif test -n "$archiver_list_spec"; then
  87115. + func_verbose "using command file archive linking..."
  87116. + for obj in $oldobjs
  87117. + do
  87118. + func_to_tool_file "$obj"
  87119. + $ECHO "$func_to_tool_file_result"
  87120. + done > $output_objdir/$libname.libcmd
  87121. + func_to_tool_file "$output_objdir/$libname.libcmd"
  87122. + oldobjs=" $archiver_list_spec$func_to_tool_file_result"
  87123. + cmds=$old_archive_cmds
  87124. else
  87125. # the command line is too long to link in one step, link in parts
  87126. func_verbose "using piecewise archive linking..."
  87127. @@ -7999,18 +10711,18 @@
  87128. else
  87129. # the above command should be used before it gets too long
  87130. oldobjs=$objlist
  87131. - if test "$obj" = "$last_oldobj" ; then
  87132. + if test "$obj" = "$last_oldobj"; then
  87133. RANLIB=$save_RANLIB
  87134. fi
  87135. test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  87136. - eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
  87137. + eval concat_cmds=\"\$concat_cmds$old_archive_cmds\"
  87138. objlist=
  87139. len=$len0
  87140. fi
  87141. done
  87142. RANLIB=$save_RANLIB
  87143. oldobjs=$objlist
  87144. - if test "X$oldobjs" = "X" ; then
  87145. + if test -z "$oldobjs"; then
  87146. eval cmds=\"\$concat_cmds\"
  87147. else
  87148. eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
  87149. @@ -8027,7 +10739,7 @@
  87150. case $output in
  87151. *.la)
  87152. old_library=
  87153. - test "$build_old_libs" = yes && old_library="$libname.$libext"
  87154. + test yes = "$build_old_libs" && old_library=$libname.$libext
  87155. func_verbose "creating $output"
  87156.  
  87157. # Preserve any variables that may affect compiler behavior
  87158. @@ -8042,52 +10754,63 @@
  87159. fi
  87160. done
  87161. # Quote the link command for shipping.
  87162. - relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
  87163. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  87164. - if test "$hardcode_automatic" = yes ; then
  87165. + relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
  87166. + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
  87167. + if test yes = "$hardcode_automatic"; then
  87168. relink_command=
  87169. fi
  87170.  
  87171. # Only create the output if not a dry run.
  87172. $opt_dry_run || {
  87173. for installed in no yes; do
  87174. - if test "$installed" = yes; then
  87175. + if test yes = "$installed"; then
  87176. if test -z "$install_libdir"; then
  87177. break
  87178. fi
  87179. - output="$output_objdir/$outputname"i
  87180. + output=$output_objdir/${outputname}i
  87181. # Replace all uninstalled libtool libraries with the installed ones
  87182. newdependency_libs=
  87183. for deplib in $dependency_libs; do
  87184. case $deplib in
  87185. *.la)
  87186. func_basename "$deplib"
  87187. - name="$func_basename_result"
  87188. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  87189. + name=$func_basename_result
  87190. + func_resolve_sysroot "$deplib"
  87191. + eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
  87192. test -z "$libdir" && \
  87193. - func_fatal_error "\`$deplib' is not a valid libtool archive"
  87194. - newdependency_libs="$newdependency_libs $libdir/$name"
  87195. + func_fatal_error "'$deplib' is not a valid libtool archive"
  87196. + func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
  87197. ;;
  87198. - *) newdependency_libs="$newdependency_libs $deplib" ;;
  87199. + -L*)
  87200. + func_stripname -L '' "$deplib"
  87201. + func_replace_sysroot "$func_stripname_result"
  87202. + func_append newdependency_libs " -L$func_replace_sysroot_result"
  87203. + ;;
  87204. + -R*)
  87205. + func_stripname -R '' "$deplib"
  87206. + func_replace_sysroot "$func_stripname_result"
  87207. + func_append newdependency_libs " -R$func_replace_sysroot_result"
  87208. + ;;
  87209. + *) func_append newdependency_libs " $deplib" ;;
  87210. esac
  87211. done
  87212. - dependency_libs="$newdependency_libs"
  87213. + dependency_libs=$newdependency_libs
  87214. newdlfiles=
  87215.  
  87216. for lib in $dlfiles; do
  87217. case $lib in
  87218. *.la)
  87219. func_basename "$lib"
  87220. - name="$func_basename_result"
  87221. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  87222. + name=$func_basename_result
  87223. + eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  87224. test -z "$libdir" && \
  87225. - func_fatal_error "\`$lib' is not a valid libtool archive"
  87226. - newdlfiles="$newdlfiles $libdir/$name"
  87227. + func_fatal_error "'$lib' is not a valid libtool archive"
  87228. + func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name"
  87229. ;;
  87230. - *) newdlfiles="$newdlfiles $lib" ;;
  87231. + *) func_append newdlfiles " $lib" ;;
  87232. esac
  87233. done
  87234. - dlfiles="$newdlfiles"
  87235. + dlfiles=$newdlfiles
  87236. newdlprefiles=
  87237. for lib in $dlprefiles; do
  87238. case $lib in
  87239. @@ -8097,44 +10820,61 @@
  87240. # didn't already link the preopened objects directly into
  87241. # the library:
  87242. func_basename "$lib"
  87243. - name="$func_basename_result"
  87244. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  87245. + name=$func_basename_result
  87246. + eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  87247. test -z "$libdir" && \
  87248. - func_fatal_error "\`$lib' is not a valid libtool archive"
  87249. - newdlprefiles="$newdlprefiles $libdir/$name"
  87250. + func_fatal_error "'$lib' is not a valid libtool archive"
  87251. + func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name"
  87252. ;;
  87253. esac
  87254. done
  87255. - dlprefiles="$newdlprefiles"
  87256. + dlprefiles=$newdlprefiles
  87257. else
  87258. newdlfiles=
  87259. for lib in $dlfiles; do
  87260. case $lib in
  87261. - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  87262. + [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
  87263. *) abs=`pwd`"/$lib" ;;
  87264. esac
  87265. - newdlfiles="$newdlfiles $abs"
  87266. + func_append newdlfiles " $abs"
  87267. done
  87268. - dlfiles="$newdlfiles"
  87269. + dlfiles=$newdlfiles
  87270. newdlprefiles=
  87271. for lib in $dlprefiles; do
  87272. case $lib in
  87273. - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  87274. + [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
  87275. *) abs=`pwd`"/$lib" ;;
  87276. esac
  87277. - newdlprefiles="$newdlprefiles $abs"
  87278. + func_append newdlprefiles " $abs"
  87279. done
  87280. - dlprefiles="$newdlprefiles"
  87281. + dlprefiles=$newdlprefiles
  87282. fi
  87283. $RM $output
  87284. # place dlname in correct position for cygwin
  87285. + # In fact, it would be nice if we could use this code for all target
  87286. + # systems that can't hard-code library paths into their executables
  87287. + # and that have no shared library path variable independent of PATH,
  87288. + # but it turns out we can't easily determine that from inspecting
  87289. + # libtool variables, so we have to hard-code the OSs to which it
  87290. + # applies here; at the moment, that means platforms that use the PE
  87291. + # object format with DLL files. See the long comment at the top of
  87292. + # tests/bindir.at for full details.
  87293. tdlname=$dlname
  87294. case $host,$output,$installed,$module,$dlname in
  87295. - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
  87296. + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
  87297. + # If a -bindir argument was supplied, place the dll there.
  87298. + if test -n "$bindir"; then
  87299. + func_relative_path "$install_libdir" "$bindir"
  87300. + tdlname=$func_relative_path_result/$dlname
  87301. + else
  87302. + # Otherwise fall back on heuristic.
  87303. + tdlname=../bin/$dlname
  87304. + fi
  87305. + ;;
  87306. esac
  87307. $ECHO > $output "\
  87308. # $outputname - a libtool library file
  87309. -# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  87310. +# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
  87311. #
  87312. # Please DO NOT delete this file!
  87313. # It is necessary for linking the library.
  87314. @@ -8148,7 +10888,7 @@
  87315. # The name of the static archive.
  87316. old_library='$old_library'
  87317.  
  87318. -# Linker flags that can not go in dependency_libs.
  87319. +# Linker flags that cannot go in dependency_libs.
  87320. inherited_linker_flags='$new_inherited_linker_flags'
  87321.  
  87322. # Libraries that this one depends upon.
  87323. @@ -8174,7 +10914,7 @@
  87324.  
  87325. # Directory that this library needs to be installed in:
  87326. libdir='$install_libdir'"
  87327. - if test "$installed" = no && test "$need_relink" = yes; then
  87328. + if test no,yes = "$installed,$need_relink"; then
  87329. $ECHO >> $output "\
  87330. relink_command=\"$relink_command\""
  87331. fi
  87332. @@ -8189,29 +10929,31 @@
  87333. exit $EXIT_SUCCESS
  87334. }
  87335.  
  87336. -{ test "$mode" = link || test "$mode" = relink; } &&
  87337. - func_mode_link ${1+"$@"}
  87338. +if test link = "$opt_mode" || test relink = "$opt_mode"; then
  87339. + func_mode_link ${1+"$@"}
  87340. +fi
  87341.  
  87342.  
  87343. # func_mode_uninstall arg...
  87344. func_mode_uninstall ()
  87345. {
  87346. - $opt_debug
  87347. - RM="$nonopt"
  87348. + $debug_cmd
  87349. +
  87350. + RM=$nonopt
  87351. files=
  87352. - rmforce=
  87353. + rmforce=false
  87354. exit_status=0
  87355.  
  87356. # This variable tells wrapper scripts just to set variables rather
  87357. # than running their programs.
  87358. - libtool_install_magic="$magic"
  87359. + libtool_install_magic=$magic
  87360.  
  87361. for arg
  87362. do
  87363. case $arg in
  87364. - -f) RM="$RM $arg"; rmforce=yes ;;
  87365. - -*) RM="$RM $arg" ;;
  87366. - *) files="$files $arg" ;;
  87367. + -f) func_append RM " $arg"; rmforce=: ;;
  87368. + -*) func_append RM " $arg" ;;
  87369. + *) func_append files " $arg" ;;
  87370. esac
  87371. done
  87372.  
  87373. @@ -8220,24 +10962,23 @@
  87374.  
  87375. rmdirs=
  87376.  
  87377. - origobjdir="$objdir"
  87378. for file in $files; do
  87379. func_dirname "$file" "" "."
  87380. - dir="$func_dirname_result"
  87381. - if test "X$dir" = X.; then
  87382. - objdir="$origobjdir"
  87383. + dir=$func_dirname_result
  87384. + if test . = "$dir"; then
  87385. + odir=$objdir
  87386. else
  87387. - objdir="$dir/$origobjdir"
  87388. + odir=$dir/$objdir
  87389. fi
  87390. func_basename "$file"
  87391. - name="$func_basename_result"
  87392. - test "$mode" = uninstall && objdir="$dir"
  87393. + name=$func_basename_result
  87394. + test uninstall = "$opt_mode" && odir=$dir
  87395.  
  87396. - # Remember objdir for removal later, being careful to avoid duplicates
  87397. - if test "$mode" = clean; then
  87398. + # Remember odir for removal later, being careful to avoid duplicates
  87399. + if test clean = "$opt_mode"; then
  87400. case " $rmdirs " in
  87401. - *" $objdir "*) ;;
  87402. - *) rmdirs="$rmdirs $objdir" ;;
  87403. + *" $odir "*) ;;
  87404. + *) func_append rmdirs " $odir" ;;
  87405. esac
  87406. fi
  87407.  
  87408. @@ -8249,11 +10990,11 @@
  87409. elif test -d "$file"; then
  87410. exit_status=1
  87411. continue
  87412. - elif test "$rmforce" = yes; then
  87413. + elif $rmforce; then
  87414. continue
  87415. fi
  87416.  
  87417. - rmfiles="$file"
  87418. + rmfiles=$file
  87419.  
  87420. case $name in
  87421. *.la)
  87422. @@ -8263,28 +11004,27 @@
  87423.  
  87424. # Delete the libtool libraries and symlinks.
  87425. for n in $library_names; do
  87426. - rmfiles="$rmfiles $objdir/$n"
  87427. + func_append rmfiles " $odir/$n"
  87428. done
  87429. - test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
  87430. + test -n "$old_library" && func_append rmfiles " $odir/$old_library"
  87431.  
  87432. - case "$mode" in
  87433. + case $opt_mode in
  87434. clean)
  87435. - case " $library_names " in
  87436. - # " " in the beginning catches empty $dlname
  87437. + case " $library_names " in
  87438. *" $dlname "*) ;;
  87439. - *) rmfiles="$rmfiles $objdir/$dlname" ;;
  87440. + *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;;
  87441. esac
  87442. - test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
  87443. + test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i"
  87444. ;;
  87445. uninstall)
  87446. if test -n "$library_names"; then
  87447. # Do each command in the postuninstall commands.
  87448. - func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
  87449. + func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1'
  87450. fi
  87451.  
  87452. if test -n "$old_library"; then
  87453. # Do each command in the old_postuninstall commands.
  87454. - func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
  87455. + func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1'
  87456. fi
  87457. # FIXME: should reinstall the best remaining shared library.
  87458. ;;
  87459. @@ -8300,21 +11040,19 @@
  87460. func_source $dir/$name
  87461.  
  87462. # Add PIC object to the list of files to remove.
  87463. - if test -n "$pic_object" &&
  87464. - test "$pic_object" != none; then
  87465. - rmfiles="$rmfiles $dir/$pic_object"
  87466. + if test -n "$pic_object" && test none != "$pic_object"; then
  87467. + func_append rmfiles " $dir/$pic_object"
  87468. fi
  87469.  
  87470. # Add non-PIC object to the list of files to remove.
  87471. - if test -n "$non_pic_object" &&
  87472. - test "$non_pic_object" != none; then
  87473. - rmfiles="$rmfiles $dir/$non_pic_object"
  87474. + if test -n "$non_pic_object" && test none != "$non_pic_object"; then
  87475. + func_append rmfiles " $dir/$non_pic_object"
  87476. fi
  87477. fi
  87478. ;;
  87479.  
  87480. *)
  87481. - if test "$mode" = clean ; then
  87482. + if test clean = "$opt_mode"; then
  87483. noexename=$name
  87484. case $file in
  87485. *.exe)
  87486. @@ -8324,7 +11062,7 @@
  87487. noexename=$func_stripname_result
  87488. # $file with .exe has already been added to rmfiles,
  87489. # add $file without .exe
  87490. - rmfiles="$rmfiles $file"
  87491. + func_append rmfiles " $file"
  87492. ;;
  87493. esac
  87494. # Do a test to see if this is a libtool program.
  87495. @@ -8333,7 +11071,7 @@
  87496. func_ltwrapper_scriptname "$file"
  87497. relink_command=
  87498. func_source $func_ltwrapper_scriptname_result
  87499. - rmfiles="$rmfiles $func_ltwrapper_scriptname_result"
  87500. + func_append rmfiles " $func_ltwrapper_scriptname_result"
  87501. else
  87502. relink_command=
  87503. func_source $dir/$noexename
  87504. @@ -8341,12 +11079,12 @@
  87505.  
  87506. # note $name still contains .exe if it was in $file originally
  87507. # as does the version of $file that was added into $rmfiles
  87508. - rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
  87509. - if test "$fast_install" = yes && test -n "$relink_command"; then
  87510. - rmfiles="$rmfiles $objdir/lt-$name"
  87511. + func_append rmfiles " $odir/$name $odir/${name}S.$objext"
  87512. + if test yes = "$fast_install" && test -n "$relink_command"; then
  87513. + func_append rmfiles " $odir/lt-$name"
  87514. fi
  87515. - if test "X$noexename" != "X$name" ; then
  87516. - rmfiles="$rmfiles $objdir/lt-${noexename}.c"
  87517. + if test "X$noexename" != "X$name"; then
  87518. + func_append rmfiles " $odir/lt-$noexename.c"
  87519. fi
  87520. fi
  87521. fi
  87522. @@ -8354,9 +11092,8 @@
  87523. esac
  87524. func_show_eval "$RM $rmfiles" 'exit_status=1'
  87525. done
  87526. - objdir="$origobjdir"
  87527.  
  87528. - # Try to remove the ${objdir}s in the directories where we deleted files
  87529. + # Try to remove the $objdir's in the directories where we deleted files
  87530. for dir in $rmdirs; do
  87531. if test -d "$dir"; then
  87532. func_show_eval "rmdir $dir >/dev/null 2>&1"
  87533. @@ -8366,16 +11103,17 @@
  87534. exit $exit_status
  87535. }
  87536.  
  87537. -{ test "$mode" = uninstall || test "$mode" = clean; } &&
  87538. - func_mode_uninstall ${1+"$@"}
  87539. +if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then
  87540. + func_mode_uninstall ${1+"$@"}
  87541. +fi
  87542.  
  87543. -test -z "$mode" && {
  87544. - help="$generic_help"
  87545. +test -z "$opt_mode" && {
  87546. + help=$generic_help
  87547. func_fatal_help "you must specify a MODE"
  87548. }
  87549.  
  87550. test -z "$exec_cmd" && \
  87551. - func_fatal_help "invalid operation mode \`$mode'"
  87552. + func_fatal_help "invalid operation mode '$opt_mode'"
  87553.  
  87554. if test -n "$exec_cmd"; then
  87555. eval exec "$exec_cmd"
  87556. @@ -8386,7 +11124,7 @@
  87557.  
  87558.  
  87559. # The TAGs below are defined such that we never get into a situation
  87560. -# in which we disable both kinds of libraries. Given conflicting
  87561. +# where we disable both kinds of libraries. Given conflicting
  87562. # choices, we go for a static library, that is the most portable,
  87563. # since we can't tell whether shared libraries were disabled because
  87564. # the user asked for that or because the platform doesn't support
  87565. @@ -8409,5 +11147,3 @@
  87566. # mode:shell-script
  87567. # sh-indentation:2
  87568. # End:
  87569. -# vi:sw=2
  87570. -
  87571. diff -Nru Fiasco-master/m4/libtool.m4 Fiasco-master-pfiasco/m4/libtool.m4
  87572. --- Fiasco-master/m4/libtool.m4 2013-06-06 22:56:44.000000000 -0400
  87573. +++ Fiasco-master-pfiasco/m4/libtool.m4 2019-06-17 20:58:43.180202066 -0400
  87574. @@ -1,7 +1,6 @@
  87575. # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
  87576. #
  87577. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  87578. -# 2006, 2007, 2008 Free Software Foundation, Inc.
  87579. +# Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
  87580. # Written by Gordon Matzigkeit, 1996
  87581. #
  87582. # This file is free software; the Free Software Foundation gives
  87583. @@ -9,35 +8,30 @@
  87584. # modifications, as long as this notice is preserved.
  87585.  
  87586. m4_define([_LT_COPYING], [dnl
  87587. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  87588. -# 2006, 2007, 2008 Free Software Foundation, Inc.
  87589. -# Written by Gordon Matzigkeit, 1996
  87590. -#
  87591. -# This file is part of GNU Libtool.
  87592. +# Copyright (C) 2014 Free Software Foundation, Inc.
  87593. +# This is free software; see the source for copying conditions. There is NO
  87594. +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  87595. +
  87596. +# GNU Libtool is free software; you can redistribute it and/or modify
  87597. +# it under the terms of the GNU General Public License as published by
  87598. +# the Free Software Foundation; either version 2 of of the License, or
  87599. +# (at your option) any later version.
  87600. #
  87601. -# GNU Libtool is free software; you can redistribute it and/or
  87602. -# modify it under the terms of the GNU General Public License as
  87603. -# published by the Free Software Foundation; either version 2 of
  87604. -# the License, or (at your option) any later version.
  87605. +# As a special exception to the GNU General Public License, if you
  87606. +# distribute this file as part of a program or library that is built
  87607. +# using GNU Libtool, you may include this file under the same
  87608. +# distribution terms that you use for the rest of that program.
  87609. #
  87610. -# As a special exception to the GNU General Public License,
  87611. -# if you distribute this file as part of a program or library that
  87612. -# is built using GNU Libtool, you may include this file under the
  87613. -# same distribution terms that you use for the rest of that program.
  87614. -#
  87615. -# GNU Libtool is distributed in the hope that it will be useful,
  87616. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  87617. +# GNU Libtool is distributed in the hope that it will be useful, but
  87618. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  87619. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  87620. # GNU General Public License for more details.
  87621. #
  87622. # You should have received a copy of the GNU General Public License
  87623. -# along with GNU Libtool; see the file COPYING. If not, a copy
  87624. -# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  87625. -# obtained by writing to the Free Software Foundation, Inc.,
  87626. -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  87627. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  87628. ])
  87629.  
  87630. -# serial 56 LT_INIT
  87631. +# serial 58 LT_INIT
  87632.  
  87633.  
  87634. # LT_PREREQ(VERSION)
  87635. @@ -65,7 +59,8 @@
  87636. # LT_INIT([OPTIONS])
  87637. # ------------------
  87638. AC_DEFUN([LT_INIT],
  87639. -[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
  87640. +[AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
  87641. +AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  87642. AC_BEFORE([$0], [LT_LANG])dnl
  87643. AC_BEFORE([$0], [LT_OUTPUT])dnl
  87644. AC_BEFORE([$0], [LTDL_INIT])dnl
  87645. @@ -82,11 +77,13 @@
  87646. AC_REQUIRE([LTOBSOLETE_VERSION])dnl
  87647. m4_require([_LT_PROG_LTMAIN])dnl
  87648.  
  87649. +_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
  87650. +
  87651. dnl Parse OPTIONS
  87652. _LT_SET_OPTIONS([$0], [$1])
  87653.  
  87654. # This can be used to rebuild libtool when needed
  87655. -LIBTOOL_DEPS="$ltmain"
  87656. +LIBTOOL_DEPS=$ltmain
  87657.  
  87658. # Always use our own libtool.
  87659. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  87660. @@ -106,26 +103,43 @@
  87661. dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
  87662.  
  87663.  
  87664. +# _LT_PREPARE_CC_BASENAME
  87665. +# -----------------------
  87666. +m4_defun([_LT_PREPARE_CC_BASENAME], [
  87667. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  87668. +func_cc_basename ()
  87669. +{
  87670. + for cc_temp in @S|@*""; do
  87671. + case $cc_temp in
  87672. + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
  87673. + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
  87674. + \-*) ;;
  87675. + *) break;;
  87676. + esac
  87677. + done
  87678. + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  87679. +}
  87680. +])# _LT_PREPARE_CC_BASENAME
  87681. +
  87682. +
  87683. # _LT_CC_BASENAME(CC)
  87684. # -------------------
  87685. -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  87686. +# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME,
  87687. +# but that macro is also expanded into generated libtool script, which
  87688. +# arranges for $SED and $ECHO to be set by different means.
  87689. m4_defun([_LT_CC_BASENAME],
  87690. -[for cc_temp in $1""; do
  87691. - case $cc_temp in
  87692. - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
  87693. - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
  87694. - \-*) ;;
  87695. - *) break;;
  87696. - esac
  87697. -done
  87698. -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  87699. +[m4_require([_LT_PREPARE_CC_BASENAME])dnl
  87700. +AC_REQUIRE([_LT_DECL_SED])dnl
  87701. +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
  87702. +func_cc_basename $1
  87703. +cc_basename=$func_cc_basename_result
  87704. ])
  87705.  
  87706.  
  87707. # _LT_FILEUTILS_DEFAULTS
  87708. # ----------------------
  87709. # It is okay to use these file commands and assume they have been set
  87710. -# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
  87711. +# sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
  87712. m4_defun([_LT_FILEUTILS_DEFAULTS],
  87713. [: ${CP="cp -f"}
  87714. : ${MV="mv -f"}
  87715. @@ -138,6 +152,11 @@
  87716. m4_defun([_LT_SETUP],
  87717. [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  87718. AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  87719. +AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
  87720. +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
  87721. +
  87722. +_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
  87723. +dnl
  87724. _LT_DECL([], [host_alias], [0], [The host system])dnl
  87725. _LT_DECL([], [host], [0])dnl
  87726. _LT_DECL([], [host_os], [0])dnl
  87727. @@ -160,68 +179,54 @@
  87728. dnl
  87729. m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  87730. m4_require([_LT_CHECK_SHELL_FEATURES])dnl
  87731. +m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
  87732. m4_require([_LT_CMD_RELOAD])dnl
  87733. m4_require([_LT_CHECK_MAGIC_METHOD])dnl
  87734. +m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
  87735. m4_require([_LT_CMD_OLD_ARCHIVE])dnl
  87736. m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  87737. +m4_require([_LT_WITH_SYSROOT])dnl
  87738. +m4_require([_LT_CMD_TRUNCATE])dnl
  87739.  
  87740. _LT_CONFIG_LIBTOOL_INIT([
  87741. -# See if we are running on zsh, and set the options which allow our
  87742. +# See if we are running on zsh, and set the options that allow our
  87743. # commands through without removal of \ escapes INIT.
  87744. -if test -n "\${ZSH_VERSION+set}" ; then
  87745. +if test -n "\${ZSH_VERSION+set}"; then
  87746. setopt NO_GLOB_SUBST
  87747. fi
  87748. ])
  87749. -if test -n "${ZSH_VERSION+set}" ; then
  87750. +if test -n "${ZSH_VERSION+set}"; then
  87751. setopt NO_GLOB_SUBST
  87752. fi
  87753.  
  87754. _LT_CHECK_OBJDIR
  87755.  
  87756. m4_require([_LT_TAG_COMPILER])dnl
  87757. -_LT_PROG_ECHO_BACKSLASH
  87758.  
  87759. case $host_os in
  87760. aix3*)
  87761. # AIX sometimes has problems with the GCC collect2 program. For some
  87762. # reason, if we set the COLLECT_NAMES environment variable, the problems
  87763. # vanish in a puff of smoke.
  87764. - if test "X${COLLECT_NAMES+set}" != Xset; then
  87765. + if test set != "${COLLECT_NAMES+set}"; then
  87766. COLLECT_NAMES=
  87767. export COLLECT_NAMES
  87768. fi
  87769. ;;
  87770. esac
  87771.  
  87772. -# Sed substitution that helps us do robust quoting. It backslashifies
  87773. -# metacharacters that are still active within double-quoted strings.
  87774. -sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
  87775. -
  87776. -# Same as above, but do not quote variable references.
  87777. -double_quote_subst='s/\([["`\\]]\)/\\\1/g'
  87778. -
  87779. -# Sed substitution to delay expansion of an escaped shell variable in a
  87780. -# double_quote_subst'ed string.
  87781. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  87782. -
  87783. -# Sed substitution to delay expansion of an escaped single quote.
  87784. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  87785. -
  87786. -# Sed substitution to avoid accidental globbing in evaled expressions
  87787. -no_glob_subst='s/\*/\\\*/g'
  87788. -
  87789. # Global variables:
  87790. ofile=libtool
  87791. can_build_shared=yes
  87792.  
  87793. -# All known linkers require a `.a' archive for static linking (except MSVC,
  87794. +# All known linkers require a '.a' archive for static linking (except MSVC,
  87795. # which needs '.lib').
  87796. libext=a
  87797.  
  87798. -with_gnu_ld="$lt_cv_prog_gnu_ld"
  87799. +with_gnu_ld=$lt_cv_prog_gnu_ld
  87800.  
  87801. -old_CC="$CC"
  87802. -old_CFLAGS="$CFLAGS"
  87803. +old_CC=$CC
  87804. +old_CFLAGS=$CFLAGS
  87805.  
  87806. # Set sane defaults for various variables
  87807. test -z "$CC" && CC=cc
  87808. @@ -250,16 +255,38 @@
  87809. ])# _LT_SETUP
  87810.  
  87811.  
  87812. +# _LT_PREPARE_SED_QUOTE_VARS
  87813. +# --------------------------
  87814. +# Define a few sed substitution that help us do robust quoting.
  87815. +m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
  87816. +[# Backslashify metacharacters that are still active within
  87817. +# double-quoted strings.
  87818. +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
  87819. +
  87820. +# Same as above, but do not quote variable references.
  87821. +double_quote_subst='s/\([["`\\]]\)/\\\1/g'
  87822. +
  87823. +# Sed substitution to delay expansion of an escaped shell variable in a
  87824. +# double_quote_subst'ed string.
  87825. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  87826. +
  87827. +# Sed substitution to delay expansion of an escaped single quote.
  87828. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  87829. +
  87830. +# Sed substitution to avoid accidental globbing in evaled expressions
  87831. +no_glob_subst='s/\*/\\\*/g'
  87832. +])
  87833. +
  87834. # _LT_PROG_LTMAIN
  87835. # ---------------
  87836. -# Note that this code is called both from `configure', and `config.status'
  87837. +# Note that this code is called both from 'configure', and 'config.status'
  87838. # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
  87839. -# `config.status' has no value for ac_aux_dir unless we are using Automake,
  87840. +# 'config.status' has no value for ac_aux_dir unless we are using Automake,
  87841. # so we pass a copy along to make sure it has a sensible value anyway.
  87842. m4_defun([_LT_PROG_LTMAIN],
  87843. [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
  87844. _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
  87845. -ltmain="$ac_aux_dir/ltmain.sh"
  87846. +ltmain=$ac_aux_dir/ltmain.sh
  87847. ])# _LT_PROG_LTMAIN
  87848.  
  87849.  
  87850. @@ -269,7 +296,7 @@
  87851.  
  87852. # So that we can recreate a full libtool script including additional
  87853. # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
  87854. -# in macros and then make a single call at the end using the `libtool'
  87855. +# in macros and then make a single call at the end using the 'libtool'
  87856. # label.
  87857.  
  87858.  
  87859. @@ -404,11 +431,11 @@
  87860.  
  87861. # _LT_CONFIG_STATUS_DECLARE([VARNAME])
  87862. # ------------------------------------
  87863. -# Quote a variable value, and forward it to `config.status' so that its
  87864. -# declaration there will have the same value as in `configure'. VARNAME
  87865. +# Quote a variable value, and forward it to 'config.status' so that its
  87866. +# declaration there will have the same value as in 'configure'. VARNAME
  87867. # must have a single quote delimited value for this to work.
  87868. m4_define([_LT_CONFIG_STATUS_DECLARE],
  87869. -[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
  87870. +[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
  87871.  
  87872.  
  87873. # _LT_CONFIG_STATUS_DECLARATIONS
  87874. @@ -418,7 +445,7 @@
  87875. # embedded single quotes properly. In configure, this macro expands
  87876. # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
  87877. #
  87878. -# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
  87879. +# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
  87880. m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
  87881. [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
  87882. [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
  87883. @@ -429,7 +456,7 @@
  87884. # Output comment and list of tags supported by the script
  87885. m4_defun([_LT_LIBTOOL_TAGS],
  87886. [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
  87887. -available_tags="_LT_TAGS"dnl
  87888. +available_tags='_LT_TAGS'dnl
  87889. ])
  87890.  
  87891.  
  87892. @@ -457,7 +484,7 @@
  87893. # _LT_LIBTOOL_CONFIG_VARS
  87894. # -----------------------
  87895. # Produce commented declarations of non-tagged libtool config variables
  87896. -# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
  87897. +# suitable for insertion in the LIBTOOL CONFIG section of the 'libtool'
  87898. # script. Tagged libtool config variables (even for the LIBTOOL CONFIG
  87899. # section) are produced by _LT_LIBTOOL_TAG_VARS.
  87900. m4_defun([_LT_LIBTOOL_CONFIG_VARS],
  87901. @@ -483,8 +510,8 @@
  87902. # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
  87903. # variables for single and double quote escaping we saved from calls
  87904. # to _LT_DECL, we can put quote escaped variables declarations
  87905. -# into `config.status', and then the shell code to quote escape them in
  87906. -# for loops in `config.status'. Finally, any additional code accumulated
  87907. +# into 'config.status', and then the shell code to quote escape them in
  87908. +# for loops in 'config.status'. Finally, any additional code accumulated
  87909. # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
  87910. m4_defun([_LT_CONFIG_COMMANDS],
  87911. [AC_PROVIDE_IFELSE([LT_OUTPUT],
  87912. @@ -517,12 +544,20 @@
  87913. LTCFLAGS='$LTCFLAGS'
  87914. compiler='$compiler_DEFAULT'
  87915.  
  87916. +# A function that is used when there is no print builtin or printf.
  87917. +func_fallback_echo ()
  87918. +{
  87919. + eval 'cat <<_LTECHO_EOF
  87920. +\$[]1
  87921. +_LTECHO_EOF'
  87922. +}
  87923. +
  87924. # Quote evaled strings.
  87925. for var in lt_decl_all_varnames([[ \
  87926. ]], lt_decl_quote_varnames); do
  87927. - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  87928. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  87929. *[[\\\\\\\`\\"\\\$]]*)
  87930. - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  87931. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  87932. ;;
  87933. *)
  87934. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  87935. @@ -533,9 +568,9 @@
  87936. # Double-quote double-evaled strings.
  87937. for var in lt_decl_all_varnames([[ \
  87938. ]], lt_decl_dquote_varnames); do
  87939. - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  87940. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  87941. *[[\\\\\\\`\\"\\\$]]*)
  87942. - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  87943. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  87944. ;;
  87945. *)
  87946. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  87947. @@ -543,16 +578,38 @@
  87948. esac
  87949. done
  87950.  
  87951. -# Fix-up fallback echo if it was mangled by the above quoting rules.
  87952. -case \$lt_ECHO in
  87953. -*'\\\[$]0 --fallback-echo"')dnl "
  87954. - lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
  87955. - ;;
  87956. -esac
  87957. -
  87958. _LT_OUTPUT_LIBTOOL_INIT
  87959. ])
  87960.  
  87961. +# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
  87962. +# ------------------------------------
  87963. +# Generate a child script FILE with all initialization necessary to
  87964. +# reuse the environment learned by the parent script, and make the
  87965. +# file executable. If COMMENT is supplied, it is inserted after the
  87966. +# '#!' sequence but before initialization text begins. After this
  87967. +# macro, additional text can be appended to FILE to form the body of
  87968. +# the child script. The macro ends with non-zero status if the
  87969. +# file could not be fully written (such as if the disk is full).
  87970. +m4_ifdef([AS_INIT_GENERATED],
  87971. +[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
  87972. +[m4_defun([_LT_GENERATED_FILE_INIT],
  87973. +[m4_require([AS_PREPARE])]dnl
  87974. +[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
  87975. +[lt_write_fail=0
  87976. +cat >$1 <<_ASEOF || lt_write_fail=1
  87977. +#! $SHELL
  87978. +# Generated by $as_me.
  87979. +$2
  87980. +SHELL=\${CONFIG_SHELL-$SHELL}
  87981. +export SHELL
  87982. +_ASEOF
  87983. +cat >>$1 <<\_ASEOF || lt_write_fail=1
  87984. +AS_SHELL_SANITIZE
  87985. +_AS_PREPARE
  87986. +exec AS_MESSAGE_FD>&1
  87987. +_ASEOF
  87988. +test 0 = "$lt_write_fail" && chmod +x $1[]dnl
  87989. +m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
  87990.  
  87991. # LT_OUTPUT
  87992. # ---------
  87993. @@ -562,20 +619,11 @@
  87994. AC_DEFUN([LT_OUTPUT],
  87995. [: ${CONFIG_LT=./config.lt}
  87996. AC_MSG_NOTICE([creating $CONFIG_LT])
  87997. -cat >"$CONFIG_LT" <<_LTEOF
  87998. -#! $SHELL
  87999. -# Generated by $as_me.
  88000. -# Run this file to recreate a libtool stub with the current configuration.
  88001. -
  88002. -lt_cl_silent=false
  88003. -SHELL=\${CONFIG_SHELL-$SHELL}
  88004. -_LTEOF
  88005. +_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
  88006. +[# Run this file to recreate a libtool stub with the current configuration.])
  88007.  
  88008. cat >>"$CONFIG_LT" <<\_LTEOF
  88009. -AS_SHELL_SANITIZE
  88010. -_AS_PREPARE
  88011. -
  88012. -exec AS_MESSAGE_FD>&1
  88013. +lt_cl_silent=false
  88014. exec AS_MESSAGE_LOG_FD>>config.log
  88015. {
  88016. echo
  88017. @@ -583,7 +631,7 @@
  88018. } >&AS_MESSAGE_LOG_FD
  88019.  
  88020. lt_cl_help="\
  88021. -\`$as_me' creates a local libtool stub from the current configuration,
  88022. +'$as_me' creates a local libtool stub from the current configuration,
  88023. for use in further configure time tests before the real libtool is
  88024. generated.
  88025.  
  88026. @@ -601,11 +649,11 @@
  88027. m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  88028. configured by $[0], generated by m4_PACKAGE_STRING.
  88029.  
  88030. -Copyright (C) 2008 Free Software Foundation, Inc.
  88031. +Copyright (C) 2011 Free Software Foundation, Inc.
  88032. This config.lt script is free software; the Free Software Foundation
  88033. gives unlimited permision to copy, distribute and modify it."
  88034.  
  88035. -while test $[#] != 0
  88036. +while test 0 != $[#]
  88037. do
  88038. case $[1] in
  88039. --version | --v* | -V )
  88040. @@ -618,10 +666,10 @@
  88041. lt_cl_silent=: ;;
  88042.  
  88043. -*) AC_MSG_ERROR([unrecognized option: $[1]
  88044. -Try \`$[0] --help' for more information.]) ;;
  88045. +Try '$[0] --help' for more information.]) ;;
  88046.  
  88047. *) AC_MSG_ERROR([unrecognized argument: $[1]
  88048. -Try \`$[0] --help' for more information.]) ;;
  88049. +Try '$[0] --help' for more information.]) ;;
  88050. esac
  88051. shift
  88052. done
  88053. @@ -646,15 +694,13 @@
  88054. # appending to config.log, which fails on DOS, as config.log is still kept
  88055. # open by configure. Here we exec the FD to /dev/null, effectively closing
  88056. # config.log, so it can be properly (re)opened and appended to by config.lt.
  88057. -if test "$no_create" != yes; then
  88058. - lt_cl_success=:
  88059. - test "$silent" = yes &&
  88060. - lt_config_lt_args="$lt_config_lt_args --quiet"
  88061. - exec AS_MESSAGE_LOG_FD>/dev/null
  88062. - $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  88063. - exec AS_MESSAGE_LOG_FD>>config.log
  88064. - $lt_cl_success || AS_EXIT(1)
  88065. -fi
  88066. +lt_cl_success=:
  88067. +test yes = "$silent" &&
  88068. + lt_config_lt_args="$lt_config_lt_args --quiet"
  88069. +exec AS_MESSAGE_LOG_FD>/dev/null
  88070. +$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  88071. +exec AS_MESSAGE_LOG_FD>>config.log
  88072. +$lt_cl_success || AS_EXIT(1)
  88073. ])# LT_OUTPUT
  88074.  
  88075.  
  88076. @@ -669,27 +715,31 @@
  88077. _LT_CONFIG_SAVE_COMMANDS([
  88078. m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
  88079. m4_if(_LT_TAG, [C], [
  88080. - # See if we are running on zsh, and set the options which allow our
  88081. + # See if we are running on zsh, and set the options that allow our
  88082. # commands through without removal of \ escapes.
  88083. - if test -n "${ZSH_VERSION+set}" ; then
  88084. + if test -n "${ZSH_VERSION+set}"; then
  88085. setopt NO_GLOB_SUBST
  88086. fi
  88087.  
  88088. - cfgfile="${ofile}T"
  88089. + cfgfile=${ofile}T
  88090. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  88091. $RM "$cfgfile"
  88092.  
  88093. cat <<_LT_EOF >> "$cfgfile"
  88094. #! $SHELL
  88095. -
  88096. -# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  88097. -# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  88098. +# Generated automatically by $as_me ($PACKAGE) $VERSION
  88099. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  88100. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  88101. -#
  88102. +
  88103. +# Provide generalized library-building support services.
  88104. +# Written by Gordon Matzigkeit, 1996
  88105. +
  88106. _LT_COPYING
  88107. _LT_LIBTOOL_TAGS
  88108.  
  88109. +# Configured defaults for sys_lib_dlsearch_path munging.
  88110. +: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
  88111. +
  88112. # ### BEGIN LIBTOOL CONFIG
  88113. _LT_LIBTOOL_CONFIG_VARS
  88114. _LT_LIBTOOL_TAG_VARS
  88115. @@ -697,13 +747,24 @@
  88116.  
  88117. _LT_EOF
  88118.  
  88119. + cat <<'_LT_EOF' >> "$cfgfile"
  88120. +
  88121. +# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
  88122. +
  88123. +_LT_PREPARE_MUNGE_PATH_LIST
  88124. +_LT_PREPARE_CC_BASENAME
  88125. +
  88126. +# ### END FUNCTIONS SHARED WITH CONFIGURE
  88127. +
  88128. +_LT_EOF
  88129. +
  88130. case $host_os in
  88131. aix3*)
  88132. cat <<\_LT_EOF >> "$cfgfile"
  88133. # AIX sometimes has problems with the GCC collect2 program. For some
  88134. # reason, if we set the COLLECT_NAMES environment variable, the problems
  88135. # vanish in a puff of smoke.
  88136. -if test "X${COLLECT_NAMES+set}" != Xset; then
  88137. +if test set != "${COLLECT_NAMES+set}"; then
  88138. COLLECT_NAMES=
  88139. export COLLECT_NAMES
  88140. fi
  88141. @@ -717,15 +778,10 @@
  88142. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  88143. # text mode, it properly converts lines to CR/LF. This bash problem
  88144. # is reportedly fixed, but why not run on old versions too?
  88145. - sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  88146. - || (rm -f "$cfgfile"; exit 1)
  88147. -
  88148. - _LT_PROG_XSI_SHELLFNS
  88149. + sed '$q' "$ltmain" >> "$cfgfile" \
  88150. + || (rm -f "$cfgfile"; exit 1)
  88151.  
  88152. - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  88153. - || (rm -f "$cfgfile"; exit 1)
  88154. -
  88155. - mv -f "$cfgfile" "$ofile" ||
  88156. + mv -f "$cfgfile" "$ofile" ||
  88157. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  88158. chmod +x "$ofile"
  88159. ],
  88160. @@ -742,7 +798,6 @@
  88161. [m4_if([$1], [], [
  88162. PACKAGE='$PACKAGE'
  88163. VERSION='$VERSION'
  88164. - TIMESTAMP='$TIMESTAMP'
  88165. RM='$RM'
  88166. ofile='$ofile'], [])
  88167. ])dnl /_LT_CONFIG_SAVE_COMMANDS
  88168. @@ -770,6 +825,7 @@
  88169. m4_case([$1],
  88170. [C], [_LT_LANG(C)],
  88171. [C++], [_LT_LANG(CXX)],
  88172. + [Go], [_LT_LANG(GO)],
  88173. [Java], [_LT_LANG(GCJ)],
  88174. [Fortran 77], [_LT_LANG(F77)],
  88175. [Fortran], [_LT_LANG(FC)],
  88176. @@ -791,6 +847,31 @@
  88177. ])# _LT_LANG
  88178.  
  88179.  
  88180. +m4_ifndef([AC_PROG_GO], [
  88181. +############################################################
  88182. +# NOTE: This macro has been submitted for inclusion into #
  88183. +# GNU Autoconf as AC_PROG_GO. When it is available in #
  88184. +# a released version of Autoconf we should remove this #
  88185. +# macro and use it instead. #
  88186. +############################################################
  88187. +m4_defun([AC_PROG_GO],
  88188. +[AC_LANG_PUSH(Go)dnl
  88189. +AC_ARG_VAR([GOC], [Go compiler command])dnl
  88190. +AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
  88191. +_AC_ARG_VAR_LDFLAGS()dnl
  88192. +AC_CHECK_TOOL(GOC, gccgo)
  88193. +if test -z "$GOC"; then
  88194. + if test -n "$ac_tool_prefix"; then
  88195. + AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
  88196. + fi
  88197. +fi
  88198. +if test -z "$GOC"; then
  88199. + AC_CHECK_PROG(GOC, gccgo, gccgo, false)
  88200. +fi
  88201. +])#m4_defun
  88202. +])#m4_ifndef
  88203. +
  88204. +
  88205. # _LT_LANG_DEFAULT_CONFIG
  88206. # -----------------------
  88207. m4_defun([_LT_LANG_DEFAULT_CONFIG],
  88208. @@ -821,6 +902,10 @@
  88209. m4_ifdef([LT_PROG_GCJ],
  88210. [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
  88211.  
  88212. +AC_PROVIDE_IFELSE([AC_PROG_GO],
  88213. + [LT_LANG(GO)],
  88214. + [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
  88215. +
  88216. AC_PROVIDE_IFELSE([LT_PROG_RC],
  88217. [LT_LANG(RC)],
  88218. [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
  88219. @@ -831,11 +916,13 @@
  88220. AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  88221. AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  88222. AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  88223. +AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
  88224. dnl aclocal-1.4 backwards compatibility:
  88225. dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
  88226. dnl AC_DEFUN([AC_LIBTOOL_F77], [])
  88227. dnl AC_DEFUN([AC_LIBTOOL_FC], [])
  88228. dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
  88229. +dnl AC_DEFUN([AC_LIBTOOL_RC], [])
  88230.  
  88231.  
  88232. # _LT_TAG_COMPILER
  88233. @@ -909,7 +996,7 @@
  88234.  
  88235. AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
  88236. [lt_cv_apple_cc_single_mod=no
  88237. - if test -z "${LT_MULTI_MODULE}"; then
  88238. + if test -z "$LT_MULTI_MODULE"; then
  88239. # By default we will add the -single_module flag. You can override
  88240. # by either setting the environment variable LT_MULTI_MODULE
  88241. # non-empty at configure time, or by adding -multi_module to the
  88242. @@ -921,7 +1008,13 @@
  88243. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  88244. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  88245. _lt_result=$?
  88246. - if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  88247. + # If there is a non-empty error log, and "single_module"
  88248. + # appears in it, assume the flag caused a linker warning
  88249. + if test -s conftest.err && $GREP single_module conftest.err; then
  88250. + cat conftest.err >&AS_MESSAGE_LOG_FD
  88251. + # Otherwise, if the output was created with a 0 exit code from
  88252. + # the compiler, it worked.
  88253. + elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
  88254. lt_cv_apple_cc_single_mod=yes
  88255. else
  88256. cat conftest.err >&AS_MESSAGE_LOG_FD
  88257. @@ -929,6 +1022,7 @@
  88258. rm -rf libconftest.dylib*
  88259. rm -f conftest.*
  88260. fi])
  88261. +
  88262. AC_CACHE_CHECK([for -exported_symbols_list linker flag],
  88263. [lt_cv_ld_exported_symbols_list],
  88264. [lt_cv_ld_exported_symbols_list=no
  88265. @@ -938,36 +1032,64 @@
  88266. AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  88267. [lt_cv_ld_exported_symbols_list=yes],
  88268. [lt_cv_ld_exported_symbols_list=no])
  88269. - LDFLAGS="$save_LDFLAGS"
  88270. + LDFLAGS=$save_LDFLAGS
  88271. + ])
  88272. +
  88273. + AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
  88274. + [lt_cv_ld_force_load=no
  88275. + cat > conftest.c << _LT_EOF
  88276. +int forced_loaded() { return 2;}
  88277. +_LT_EOF
  88278. + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
  88279. + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
  88280. + echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
  88281. + $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
  88282. + echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
  88283. + $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
  88284. + cat > conftest.c << _LT_EOF
  88285. +int main() { return 0;}
  88286. +_LT_EOF
  88287. + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
  88288. + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  88289. + _lt_result=$?
  88290. + if test -s conftest.err && $GREP force_load conftest.err; then
  88291. + cat conftest.err >&AS_MESSAGE_LOG_FD
  88292. + elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
  88293. + lt_cv_ld_force_load=yes
  88294. + else
  88295. + cat conftest.err >&AS_MESSAGE_LOG_FD
  88296. + fi
  88297. + rm -f conftest.err libconftest.a conftest conftest.c
  88298. + rm -rf conftest.dSYM
  88299. ])
  88300. case $host_os in
  88301. rhapsody* | darwin1.[[012]])
  88302. - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  88303. + _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
  88304. darwin1.*)
  88305. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  88306. + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  88307. darwin*) # darwin 5.x on
  88308. # if running on 10.5 or later, the deployment target defaults
  88309. # to the OS version, if on x86, and 10.4, the deployment
  88310. # target defaults to 10.4. Don't you love it?
  88311. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  88312. 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
  88313. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  88314. - 10.[[012]]*)
  88315. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  88316. + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  88317. + 10.[[012]][[,.]]*)
  88318. + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  88319. 10.*)
  88320. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  88321. + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  88322. esac
  88323. ;;
  88324. esac
  88325. - if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  88326. + if test yes = "$lt_cv_apple_cc_single_mod"; then
  88327. _lt_dar_single_mod='$single_module'
  88328. fi
  88329. - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  88330. - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  88331. + if test yes = "$lt_cv_ld_exported_symbols_list"; then
  88332. + _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
  88333. else
  88334. - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  88335. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
  88336. fi
  88337. - if test "$DSYMUTIL" != ":"; then
  88338. + if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
  88339. _lt_dsymutil='~$DSYMUTIL $lib || :'
  88340. else
  88341. _lt_dsymutil=
  88342. @@ -977,8 +1099,8 @@
  88343. ])
  88344.  
  88345.  
  88346. -# _LT_DARWIN_LINKER_FEATURES
  88347. -# --------------------------
  88348. +# _LT_DARWIN_LINKER_FEATURES([TAG])
  88349. +# ---------------------------------
  88350. # Checks for linker and compiler features on darwin
  88351. m4_defun([_LT_DARWIN_LINKER_FEATURES],
  88352. [
  88353. @@ -987,23 +1109,29 @@
  88354. _LT_TAGVAR(hardcode_direct, $1)=no
  88355. _LT_TAGVAR(hardcode_automatic, $1)=yes
  88356. _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  88357. - _LT_TAGVAR(whole_archive_flag_spec, $1)=''
  88358. + if test yes = "$lt_cv_ld_force_load"; then
  88359. + _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\"`'
  88360. + m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
  88361. + [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
  88362. + else
  88363. + _LT_TAGVAR(whole_archive_flag_spec, $1)=''
  88364. + fi
  88365. _LT_TAGVAR(link_all_deplibs, $1)=yes
  88366. - _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
  88367. + _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
  88368. case $cc_basename in
  88369. - ifort*) _lt_dar_can_shared=yes ;;
  88370. + ifort*|nagfor*) _lt_dar_can_shared=yes ;;
  88371. *) _lt_dar_can_shared=$GCC ;;
  88372. esac
  88373. - if test "$_lt_dar_can_shared" = "yes"; then
  88374. - output_verbose_link_cmd=echo
  88375. - _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}"
  88376. - _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  88377. - _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}"
  88378. - _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}"
  88379. + if test yes = "$_lt_dar_can_shared"; then
  88380. + output_verbose_link_cmd=func_echo_all
  88381. + _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"
  88382. + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
  88383. + _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"
  88384. + _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"
  88385. m4_if([$1], [CXX],
  88386. -[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  88387. - _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}"
  88388. - _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}"
  88389. +[ if test yes != "$lt_cv_apple_cc_single_mod"; then
  88390. + _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"
  88391. + _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"
  88392. fi
  88393. ],[])
  88394. else
  88395. @@ -1011,234 +1139,176 @@
  88396. fi
  88397. ])
  88398.  
  88399. -# _LT_SYS_MODULE_PATH_AIX
  88400. -# -----------------------
  88401. +# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
  88402. +# ----------------------------------
  88403. # Links a minimal program and checks the executable
  88404. # for the system default hardcoded library path. In most cases,
  88405. # this is /usr/lib:/lib, but when the MPI compilers are used
  88406. # the location of the communication and MPI libs are included too.
  88407. # If we don't find anything, use the default library path according
  88408. # to the aix ld manual.
  88409. +# Store the results from the different compilers for each TAGNAME.
  88410. +# Allow to override them for all tags through lt_cv_aix_libpath.
  88411. m4_defun([_LT_SYS_MODULE_PATH_AIX],
  88412. [m4_require([_LT_DECL_SED])dnl
  88413. -AC_LINK_IFELSE(AC_LANG_PROGRAM,[
  88414. -lt_aix_libpath_sed='
  88415. - /Import File Strings/,/^$/ {
  88416. - /^0/ {
  88417. - s/^0 *\(.*\)$/\1/
  88418. - p
  88419. - }
  88420. - }'
  88421. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  88422. -# Check for a 64-bit object if we didn't find anything.
  88423. -if test -z "$aix_libpath"; then
  88424. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  88425. -fi],[])
  88426. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  88427. +if test set = "${lt_cv_aix_libpath+set}"; then
  88428. + aix_libpath=$lt_cv_aix_libpath
  88429. +else
  88430. + AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
  88431. + [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
  88432. + lt_aix_libpath_sed='[
  88433. + /Import File Strings/,/^$/ {
  88434. + /^0/ {
  88435. + s/^0 *\([^ ]*\) *$/\1/
  88436. + p
  88437. + }
  88438. + }]'
  88439. + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  88440. + # Check for a 64-bit object if we didn't find anything.
  88441. + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
  88442. + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  88443. + fi],[])
  88444. + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
  88445. + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
  88446. + fi
  88447. + ])
  88448. + aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
  88449. +fi
  88450. ])# _LT_SYS_MODULE_PATH_AIX
  88451.  
  88452.  
  88453. # _LT_SHELL_INIT(ARG)
  88454. # -------------------
  88455. m4_define([_LT_SHELL_INIT],
  88456. -[ifdef([AC_DIVERSION_NOTICE],
  88457. - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
  88458. - [AC_DIVERT_PUSH(NOTICE)])
  88459. -$1
  88460. -AC_DIVERT_POP
  88461. -])# _LT_SHELL_INIT
  88462. +[m4_divert_text([M4SH-INIT], [$1
  88463. +])])# _LT_SHELL_INIT
  88464. +
  88465.  
  88466.  
  88467. # _LT_PROG_ECHO_BACKSLASH
  88468. # -----------------------
  88469. -# Add some code to the start of the generated configure script which
  88470. -# will find an echo command which doesn't interpret backslashes.
  88471. +# Find how we can fake an echo command that does not interpret backslash.
  88472. +# In particular, with Autoconf 2.60 or later we add some code to the start
  88473. +# of the generated configure script that will find a shell with a builtin
  88474. +# printf (that we can use as an echo command).
  88475. m4_defun([_LT_PROG_ECHO_BACKSLASH],
  88476. -[_LT_SHELL_INIT([
  88477. -# Check that we are running under the correct shell.
  88478. -SHELL=${CONFIG_SHELL-/bin/sh}
  88479. -
  88480. -case X$lt_ECHO in
  88481. -X*--fallback-echo)
  88482. - # Remove one level of quotation (which was required for Make).
  88483. - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  88484. - ;;
  88485. -esac
  88486. -
  88487. -ECHO=${lt_ECHO-echo}
  88488. -if test "X[$]1" = X--no-reexec; then
  88489. - # Discard the --no-reexec flag, and continue.
  88490. - shift
  88491. -elif test "X[$]1" = X--fallback-echo; then
  88492. - # Avoid inline document here, it may be left over
  88493. - :
  88494. -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  88495. - # Yippee, $ECHO works!
  88496. - :
  88497. +[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  88498. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  88499. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  88500. +
  88501. +AC_MSG_CHECKING([how to print strings])
  88502. +# Test print first, because it will be a builtin if present.
  88503. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  88504. + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  88505. + ECHO='print -r --'
  88506. +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  88507. + ECHO='printf %s\n'
  88508. else
  88509. - # Restart under the correct shell.
  88510. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
  88511. -fi
  88512. -
  88513. -if test "X[$]1" = X--fallback-echo; then
  88514. - # used as fallback echo
  88515. - shift
  88516. - cat <<_LT_EOF
  88517. -[$]*
  88518. -_LT_EOF
  88519. - exit 0
  88520. + # Use this function as a fallback that always works.
  88521. + func_fallback_echo ()
  88522. + {
  88523. + eval 'cat <<_LTECHO_EOF
  88524. +$[]1
  88525. +_LTECHO_EOF'
  88526. + }
  88527. + ECHO='func_fallback_echo'
  88528. fi
  88529.  
  88530. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  88531. -# if CDPATH is set.
  88532. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  88533. -
  88534. -if test -z "$lt_ECHO"; then
  88535. - if test "X${echo_test_string+set}" != Xset; then
  88536. - # find a string as large as possible, as long as the shell can cope with it
  88537. - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  88538. - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  88539. - if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  88540. - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  88541. - then
  88542. - break
  88543. - fi
  88544. - done
  88545. - fi
  88546. -
  88547. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  88548. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  88549. - test "X$echo_testing_string" = "X$echo_test_string"; then
  88550. - :
  88551. - else
  88552. - # The Solaris, AIX, and Digital Unix default echo programs unquote
  88553. - # backslashes. This makes it impossible to quote backslashes using
  88554. - # echo "$something" | sed 's/\\/\\\\/g'
  88555. - #
  88556. - # So, first we look for a working echo in the user's PATH.
  88557. -
  88558. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  88559. - for dir in $PATH /usr/ucb; do
  88560. - IFS="$lt_save_ifs"
  88561. - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  88562. - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  88563. - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  88564. - test "X$echo_testing_string" = "X$echo_test_string"; then
  88565. - ECHO="$dir/echo"
  88566. - break
  88567. - fi
  88568. - done
  88569. - IFS="$lt_save_ifs"
  88570. -
  88571. - if test "X$ECHO" = Xecho; then
  88572. - # We didn't find a better echo, so look for alternatives.
  88573. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  88574. - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  88575. - test "X$echo_testing_string" = "X$echo_test_string"; then
  88576. - # This shell has a builtin print -r that does the trick.
  88577. - ECHO='print -r'
  88578. - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  88579. - test "X$CONFIG_SHELL" != X/bin/ksh; then
  88580. - # If we have ksh, try running configure again with it.
  88581. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  88582. - export ORIGINAL_CONFIG_SHELL
  88583. - CONFIG_SHELL=/bin/ksh
  88584. - export CONFIG_SHELL
  88585. - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  88586. - else
  88587. - # Try using printf.
  88588. - ECHO='printf %s\n'
  88589. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  88590. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  88591. - test "X$echo_testing_string" = "X$echo_test_string"; then
  88592. - # Cool, printf works
  88593. - :
  88594. - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  88595. - test "X$echo_testing_string" = 'X\t' &&
  88596. - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  88597. - test "X$echo_testing_string" = "X$echo_test_string"; then
  88598. - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  88599. - export CONFIG_SHELL
  88600. - SHELL="$CONFIG_SHELL"
  88601. - export SHELL
  88602. - ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  88603. - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  88604. - test "X$echo_testing_string" = 'X\t' &&
  88605. - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  88606. - test "X$echo_testing_string" = "X$echo_test_string"; then
  88607. - ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  88608. - else
  88609. - # maybe with a smaller string...
  88610. - prev=:
  88611. -
  88612. - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  88613. - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  88614. - then
  88615. - break
  88616. - fi
  88617. - prev="$cmd"
  88618. - done
  88619. +# func_echo_all arg...
  88620. +# Invoke $ECHO with all args, space-separated.
  88621. +func_echo_all ()
  88622. +{
  88623. + $ECHO "$*"
  88624. +}
  88625.  
  88626. - if test "$prev" != 'sed 50q "[$]0"'; then
  88627. - echo_test_string=`eval $prev`
  88628. - export echo_test_string
  88629. - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  88630. - else
  88631. - # Oops. We lost completely, so just stick with echo.
  88632. - ECHO=echo
  88633. - fi
  88634. - fi
  88635. - fi
  88636. - fi
  88637. - fi
  88638. -fi
  88639. +case $ECHO in
  88640. + printf*) AC_MSG_RESULT([printf]) ;;
  88641. + print*) AC_MSG_RESULT([print -r]) ;;
  88642. + *) AC_MSG_RESULT([cat]) ;;
  88643. +esac
  88644.  
  88645. -# Copy echo and quote the copy suitably for passing to libtool from
  88646. -# the Makefile, instead of quoting the original, which is used later.
  88647. -lt_ECHO=$ECHO
  88648. -if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  88649. - lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  88650. -fi
  88651. +m4_ifdef([_AS_DETECT_SUGGESTED],
  88652. +[_AS_DETECT_SUGGESTED([
  88653. + test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
  88654. + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  88655. + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  88656. + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  88657. + PATH=/empty FPATH=/empty; export PATH FPATH
  88658. + test "X`printf %s $ECHO`" = "X$ECHO" \
  88659. + || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
  88660.  
  88661. -AC_SUBST(lt_ECHO)
  88662. -])
  88663. _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
  88664. -_LT_DECL([], [ECHO], [1],
  88665. - [An echo program that does not interpret backslashes])
  88666. +_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
  88667. ])# _LT_PROG_ECHO_BACKSLASH
  88668.  
  88669.  
  88670. +# _LT_WITH_SYSROOT
  88671. +# ----------------
  88672. +AC_DEFUN([_LT_WITH_SYSROOT],
  88673. +[AC_MSG_CHECKING([for sysroot])
  88674. +AC_ARG_WITH([sysroot],
  88675. +[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
  88676. + [Search for dependent libraries within DIR (or the compiler's sysroot
  88677. + if not specified).])],
  88678. +[], [with_sysroot=no])
  88679. +
  88680. +dnl lt_sysroot will always be passed unquoted. We quote it here
  88681. +dnl in case the user passed a directory name.
  88682. +lt_sysroot=
  88683. +case $with_sysroot in #(
  88684. + yes)
  88685. + if test yes = "$GCC"; then
  88686. + lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  88687. + fi
  88688. + ;; #(
  88689. + /*)
  88690. + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  88691. + ;; #(
  88692. + no|'')
  88693. + ;; #(
  88694. + *)
  88695. + AC_MSG_RESULT([$with_sysroot])
  88696. + AC_MSG_ERROR([The sysroot must be an absolute path.])
  88697. + ;;
  88698. +esac
  88699. +
  88700. + AC_MSG_RESULT([${lt_sysroot:-no}])
  88701. +_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
  88702. +[dependent libraries, and where our libraries should be installed.])])
  88703. +
  88704. # _LT_ENABLE_LOCK
  88705. # ---------------
  88706. m4_defun([_LT_ENABLE_LOCK],
  88707. [AC_ARG_ENABLE([libtool-lock],
  88708. [AS_HELP_STRING([--disable-libtool-lock],
  88709. [avoid locking (might break parallel builds)])])
  88710. -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  88711. +test no = "$enable_libtool_lock" || enable_libtool_lock=yes
  88712.  
  88713. # Some flags need to be propagated to the compiler or linker for good
  88714. # libtool support.
  88715. case $host in
  88716. ia64-*-hpux*)
  88717. - # Find out which ABI we are using.
  88718. + # Find out what ABI is being produced by ac_compile, and set mode
  88719. + # options accordingly.
  88720. echo 'int i;' > conftest.$ac_ext
  88721. if AC_TRY_EVAL(ac_compile); then
  88722. case `/usr/bin/file conftest.$ac_objext` in
  88723. *ELF-32*)
  88724. - HPUX_IA64_MODE="32"
  88725. + HPUX_IA64_MODE=32
  88726. ;;
  88727. *ELF-64*)
  88728. - HPUX_IA64_MODE="64"
  88729. + HPUX_IA64_MODE=64
  88730. ;;
  88731. esac
  88732. fi
  88733. rm -rf conftest*
  88734. ;;
  88735. *-*-irix6*)
  88736. - # Find out which ABI we are using.
  88737. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  88738. + # Find out what ABI is being produced by ac_compile, and set linker
  88739. + # options accordingly.
  88740. + echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
  88741. if AC_TRY_EVAL(ac_compile); then
  88742. - if test "$lt_cv_prog_gnu_ld" = yes; then
  88743. + if test yes = "$lt_cv_prog_gnu_ld"; then
  88744. case `/usr/bin/file conftest.$ac_objext` in
  88745. *32-bit*)
  88746. LD="${LD-ld} -melf32bsmip"
  88747. @@ -1267,9 +1337,46 @@
  88748. rm -rf conftest*
  88749. ;;
  88750.  
  88751. -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  88752. +mips64*-*linux*)
  88753. + # Find out what ABI is being produced by ac_compile, and set linker
  88754. + # options accordingly.
  88755. + echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
  88756. + if AC_TRY_EVAL(ac_compile); then
  88757. + emul=elf
  88758. + case `/usr/bin/file conftest.$ac_objext` in
  88759. + *32-bit*)
  88760. + emul="${emul}32"
  88761. + ;;
  88762. + *64-bit*)
  88763. + emul="${emul}64"
  88764. + ;;
  88765. + esac
  88766. + case `/usr/bin/file conftest.$ac_objext` in
  88767. + *MSB*)
  88768. + emul="${emul}btsmip"
  88769. + ;;
  88770. + *LSB*)
  88771. + emul="${emul}ltsmip"
  88772. + ;;
  88773. + esac
  88774. + case `/usr/bin/file conftest.$ac_objext` in
  88775. + *N32*)
  88776. + emul="${emul}n32"
  88777. + ;;
  88778. + esac
  88779. + LD="${LD-ld} -m $emul"
  88780. + fi
  88781. + rm -rf conftest*
  88782. + ;;
  88783. +
  88784. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  88785. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  88786. - # Find out which ABI we are using.
  88787. + # Find out what ABI is being produced by ac_compile, and set linker
  88788. + # options accordingly. Note that the listed cases only cover the
  88789. + # situations where additional linker options are needed (such as when
  88790. + # doing 32-bit compilation for a host where ld defaults to 64-bit, or
  88791. + # vice versa); the common cases where no linker options are needed do
  88792. + # not appear in the list.
  88793. echo 'int i;' > conftest.$ac_ext
  88794. if AC_TRY_EVAL(ac_compile); then
  88795. case `/usr/bin/file conftest.o` in
  88796. @@ -1279,9 +1386,19 @@
  88797. LD="${LD-ld} -m elf_i386_fbsd"
  88798. ;;
  88799. x86_64-*linux*)
  88800. - LD="${LD-ld} -m elf_i386"
  88801. + case `/usr/bin/file conftest.o` in
  88802. + *x86-64*)
  88803. + LD="${LD-ld} -m elf32_x86_64"
  88804. + ;;
  88805. + *)
  88806. + LD="${LD-ld} -m elf_i386"
  88807. + ;;
  88808. + esac
  88809. ;;
  88810. - ppc64-*linux*|powerpc64-*linux*)
  88811. + powerpc64le-*linux*)
  88812. + LD="${LD-ld} -m elf32lppclinux"
  88813. + ;;
  88814. + powerpc64-*linux*)
  88815. LD="${LD-ld} -m elf32ppclinux"
  88816. ;;
  88817. s390x-*linux*)
  88818. @@ -1300,7 +1417,10 @@
  88819. x86_64-*linux*)
  88820. LD="${LD-ld} -m elf_x86_64"
  88821. ;;
  88822. - ppc*-*linux*|powerpc*-*linux*)
  88823. + powerpcle-*linux*)
  88824. + LD="${LD-ld} -m elf64lppc"
  88825. + ;;
  88826. + powerpc-*linux*)
  88827. LD="${LD-ld} -m elf64ppc"
  88828. ;;
  88829. s390*-*linux*|s390*-*tpf*)
  88830. @@ -1318,25 +1438,39 @@
  88831.  
  88832. *-*-sco3.2v5*)
  88833. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  88834. - SAVE_CFLAGS="$CFLAGS"
  88835. + SAVE_CFLAGS=$CFLAGS
  88836. CFLAGS="$CFLAGS -belf"
  88837. AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  88838. [AC_LANG_PUSH(C)
  88839. AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  88840. AC_LANG_POP])
  88841. - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  88842. + if test yes != "$lt_cv_cc_needs_belf"; then
  88843. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  88844. - CFLAGS="$SAVE_CFLAGS"
  88845. + CFLAGS=$SAVE_CFLAGS
  88846. fi
  88847. ;;
  88848. -sparc*-*solaris*)
  88849. - # Find out which ABI we are using.
  88850. +*-*solaris*)
  88851. + # Find out what ABI is being produced by ac_compile, and set linker
  88852. + # options accordingly.
  88853. echo 'int i;' > conftest.$ac_ext
  88854. if AC_TRY_EVAL(ac_compile); then
  88855. case `/usr/bin/file conftest.o` in
  88856. *64-bit*)
  88857. case $lt_cv_prog_gnu_ld in
  88858. - yes*) LD="${LD-ld} -m elf64_sparc" ;;
  88859. + yes*)
  88860. + case $host in
  88861. + i?86-*-solaris*|x86_64-*-solaris*)
  88862. + LD="${LD-ld} -m elf_x86_64"
  88863. + ;;
  88864. + sparc*-*-solaris*)
  88865. + LD="${LD-ld} -m elf64_sparc"
  88866. + ;;
  88867. + esac
  88868. + # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
  88869. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  88870. + LD=${LD-ld}_sol2
  88871. + fi
  88872. + ;;
  88873. *)
  88874. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  88875. LD="${LD-ld} -64"
  88876. @@ -1350,18 +1484,51 @@
  88877. ;;
  88878. esac
  88879.  
  88880. -need_locks="$enable_libtool_lock"
  88881. +need_locks=$enable_libtool_lock
  88882. ])# _LT_ENABLE_LOCK
  88883.  
  88884.  
  88885. +# _LT_PROG_AR
  88886. +# -----------
  88887. +m4_defun([_LT_PROG_AR],
  88888. +[AC_CHECK_TOOLS(AR, [ar], false)
  88889. +: ${AR=ar}
  88890. +: ${AR_FLAGS=cru}
  88891. +_LT_DECL([], [AR], [1], [The archiver])
  88892. +_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
  88893. +
  88894. +AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
  88895. + [lt_cv_ar_at_file=no
  88896. + AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
  88897. + [echo conftest.$ac_objext > conftest.lst
  88898. + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
  88899. + AC_TRY_EVAL([lt_ar_try])
  88900. + if test 0 -eq "$ac_status"; then
  88901. + # Ensure the archiver fails upon bogus file names.
  88902. + rm -f conftest.$ac_objext libconftest.a
  88903. + AC_TRY_EVAL([lt_ar_try])
  88904. + if test 0 -ne "$ac_status"; then
  88905. + lt_cv_ar_at_file=@
  88906. + fi
  88907. + fi
  88908. + rm -f conftest.* libconftest.a
  88909. + ])
  88910. + ])
  88911. +
  88912. +if test no = "$lt_cv_ar_at_file"; then
  88913. + archiver_list_spec=
  88914. +else
  88915. + archiver_list_spec=$lt_cv_ar_at_file
  88916. +fi
  88917. +_LT_DECL([], [archiver_list_spec], [1],
  88918. + [How to feed a file listing to the archiver])
  88919. +])# _LT_PROG_AR
  88920. +
  88921. +
  88922. # _LT_CMD_OLD_ARCHIVE
  88923. # -------------------
  88924. m4_defun([_LT_CMD_OLD_ARCHIVE],
  88925. -[AC_CHECK_TOOL(AR, ar, false)
  88926. -test -z "$AR" && AR=ar
  88927. -test -z "$AR_FLAGS" && AR_FLAGS=cru
  88928. -_LT_DECL([], [AR], [1], [The archiver])
  88929. -_LT_DECL([], [AR_FLAGS], [1])
  88930. +[_LT_PROG_AR
  88931.  
  88932. AC_CHECK_TOOL(STRIP, strip, :)
  88933. test -z "$STRIP" && STRIP=:
  88934. @@ -1379,19 +1546,28 @@
  88935.  
  88936. if test -n "$RANLIB"; then
  88937. case $host_os in
  88938. - openbsd*)
  88939. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  88940. + bitrig* | openbsd*)
  88941. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  88942. ;;
  88943. *)
  88944. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  88945. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  88946. ;;
  88947. esac
  88948. - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  88949. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  88950. fi
  88951. +
  88952. +case $host_os in
  88953. + darwin*)
  88954. + lock_old_archive_extraction=yes ;;
  88955. + *)
  88956. + lock_old_archive_extraction=no ;;
  88957. +esac
  88958. _LT_DECL([], [old_postinstall_cmds], [2])
  88959. _LT_DECL([], [old_postuninstall_cmds], [2])
  88960. _LT_TAGDECL([], [old_archive_cmds], [2],
  88961. [Commands used to build an old-style archive])
  88962. +_LT_DECL([], [lock_old_archive_extraction], [0],
  88963. + [Whether to use a lock for old archive extraction])
  88964. ])# _LT_CMD_OLD_ARCHIVE
  88965.  
  88966.  
  88967. @@ -1406,7 +1582,7 @@
  88968. [$2=no
  88969. m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  88970. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  88971. - lt_compiler_flag="$3"
  88972. + lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment
  88973. # Insert the option either (1) after the last *FLAGS variable, or
  88974. # (2) before a word containing "conftest.", or (3) at the end.
  88975. # Note that $ac_compile itself does not contain backslashes and begins
  88976. @@ -1416,15 +1592,15 @@
  88977. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  88978. -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  88979. -e 's:$: $lt_compiler_flag:'`
  88980. - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  88981. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  88982. (eval "$lt_compile" 2>conftest.err)
  88983. ac_status=$?
  88984. cat conftest.err >&AS_MESSAGE_LOG_FD
  88985. - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  88986. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  88987. if (exit $ac_status) && test -s "$ac_outfile"; then
  88988. # The compiler can only warn and ignore the option if not recognized
  88989. # So say no if there are warnings other than the usual output.
  88990. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  88991. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  88992. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  88993. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  88994. $2=yes
  88995. @@ -1433,7 +1609,7 @@
  88996. $RM conftest*
  88997. ])
  88998.  
  88999. -if test x"[$]$2" = xyes; then
  89000. +if test yes = "[$]$2"; then
  89001. m4_if([$5], , :, [$5])
  89002. else
  89003. m4_if([$6], , :, [$6])
  89004. @@ -1455,7 +1631,7 @@
  89005. m4_require([_LT_DECL_SED])dnl
  89006. AC_CACHE_CHECK([$1], [$2],
  89007. [$2=no
  89008. - save_LDFLAGS="$LDFLAGS"
  89009. + save_LDFLAGS=$LDFLAGS
  89010. LDFLAGS="$LDFLAGS $3"
  89011. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  89012. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  89013. @@ -1464,7 +1640,7 @@
  89014. if test -s conftest.err; then
  89015. # Append any errors to the config.log.
  89016. cat conftest.err 1>&AS_MESSAGE_LOG_FD
  89017. - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  89018. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  89019. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  89020. if diff conftest.exp conftest.er2 >/dev/null; then
  89021. $2=yes
  89022. @@ -1474,10 +1650,10 @@
  89023. fi
  89024. fi
  89025. $RM -r conftest*
  89026. - LDFLAGS="$save_LDFLAGS"
  89027. + LDFLAGS=$save_LDFLAGS
  89028. ])
  89029.  
  89030. -if test x"[$]$2" = xyes; then
  89031. +if test yes = "[$]$2"; then
  89032. m4_if([$4], , :, [$4])
  89033. else
  89034. m4_if([$5], , :, [$5])
  89035. @@ -1498,7 +1674,7 @@
  89036. AC_MSG_CHECKING([the maximum length of command line arguments])
  89037. AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
  89038. i=0
  89039. - teststring="ABCD"
  89040. + teststring=ABCD
  89041.  
  89042. case $build_os in
  89043. msdosdjgpp*)
  89044. @@ -1527,13 +1703,18 @@
  89045. lt_cv_sys_max_cmd_len=8192;
  89046. ;;
  89047.  
  89048. + mint*)
  89049. + # On MiNT this can take a long time and run out of memory.
  89050. + lt_cv_sys_max_cmd_len=8192;
  89051. + ;;
  89052. +
  89053. amigaos*)
  89054. # On AmigaOS with pdksh, this test takes hours, literally.
  89055. # So we just punt and use a minimum line length of 8192.
  89056. lt_cv_sys_max_cmd_len=8192;
  89057. ;;
  89058.  
  89059. - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  89060. + bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
  89061. # This has been around since 386BSD, at least. Likely further.
  89062. if test -x /sbin/sysctl; then
  89063. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  89064. @@ -1552,6 +1733,11 @@
  89065. lt_cv_sys_max_cmd_len=196608
  89066. ;;
  89067.  
  89068. + os2*)
  89069. + # The test takes a long time on OS/2.
  89070. + lt_cv_sys_max_cmd_len=8192
  89071. + ;;
  89072. +
  89073. osf*)
  89074. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  89075. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  89076. @@ -1578,22 +1764,23 @@
  89077. ;;
  89078. *)
  89079. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  89080. - if test -n "$lt_cv_sys_max_cmd_len"; then
  89081. + if test -n "$lt_cv_sys_max_cmd_len" && \
  89082. + test undefined != "$lt_cv_sys_max_cmd_len"; then
  89083. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  89084. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  89085. else
  89086. # Make teststring a little bigger before we do anything with it.
  89087. # a 1K string should be a reasonable start.
  89088. - for i in 1 2 3 4 5 6 7 8 ; do
  89089. + for i in 1 2 3 4 5 6 7 8; do
  89090. teststring=$teststring$teststring
  89091. done
  89092. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  89093. # If test is not a shell built-in, we'll probably end up computing a
  89094. # maximum length that is only half of the actual maximum length, but
  89095. # we can't tell.
  89096. - while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  89097. - = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  89098. - test $i != 17 # 1/2 MB should be enough
  89099. + while { test X`env echo "$teststring$teststring" 2>/dev/null` \
  89100. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  89101. + test 17 != "$i" # 1/2 MB should be enough
  89102. do
  89103. i=`expr $i + 1`
  89104. teststring=$teststring$teststring
  89105. @@ -1609,7 +1796,7 @@
  89106. ;;
  89107. esac
  89108. ])
  89109. -if test -n $lt_cv_sys_max_cmd_len ; then
  89110. +if test -n "$lt_cv_sys_max_cmd_len"; then
  89111. AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
  89112. else
  89113. AC_MSG_RESULT(none)
  89114. @@ -1637,13 +1824,13 @@
  89115. # ----------------------------------------------------------------
  89116. m4_defun([_LT_TRY_DLOPEN_SELF],
  89117. [m4_require([_LT_HEADER_DLFCN])dnl
  89118. -if test "$cross_compiling" = yes; then :
  89119. +if test yes = "$cross_compiling"; then :
  89120. [$4]
  89121. else
  89122. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  89123. lt_status=$lt_dlunknown
  89124. cat > conftest.$ac_ext <<_LT_EOF
  89125. -[#line __oline__ "configure"
  89126. +[#line $LINENO "configure"
  89127. #include "confdefs.h"
  89128.  
  89129. #if HAVE_DLFCN_H
  89130. @@ -1684,7 +1871,13 @@
  89131. # endif
  89132. #endif
  89133.  
  89134. -void fnord() { int i=42;}
  89135. +/* When -fvisibility=hidden is used, assume the code has been annotated
  89136. + correspondingly for the symbols needed. */
  89137. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  89138. +int fnord () __attribute__((visibility("default")));
  89139. +#endif
  89140. +
  89141. +int fnord () { return 42; }
  89142. int main ()
  89143. {
  89144. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  89145. @@ -1693,7 +1886,11 @@
  89146. if (self)
  89147. {
  89148. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  89149. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  89150. + else
  89151. + {
  89152. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  89153. + else puts (dlerror ());
  89154. + }
  89155. /* dlclose (self); */
  89156. }
  89157. else
  89158. @@ -1702,7 +1899,7 @@
  89159. return status;
  89160. }]
  89161. _LT_EOF
  89162. - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
  89163. + if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
  89164. (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
  89165. lt_status=$?
  89166. case x$lt_status in
  89167. @@ -1723,7 +1920,7 @@
  89168. # ------------------
  89169. AC_DEFUN([LT_SYS_DLOPEN_SELF],
  89170. [m4_require([_LT_HEADER_DLFCN])dnl
  89171. -if test "x$enable_dlopen" != xyes; then
  89172. +if test yes != "$enable_dlopen"; then
  89173. enable_dlopen=unknown
  89174. enable_dlopen_self=unknown
  89175. enable_dlopen_self_static=unknown
  89176. @@ -1733,44 +1930,52 @@
  89177.  
  89178. case $host_os in
  89179. beos*)
  89180. - lt_cv_dlopen="load_add_on"
  89181. + lt_cv_dlopen=load_add_on
  89182. lt_cv_dlopen_libs=
  89183. lt_cv_dlopen_self=yes
  89184. ;;
  89185.  
  89186. mingw* | pw32* | cegcc*)
  89187. - lt_cv_dlopen="LoadLibrary"
  89188. + lt_cv_dlopen=LoadLibrary
  89189. lt_cv_dlopen_libs=
  89190. ;;
  89191.  
  89192. cygwin*)
  89193. - lt_cv_dlopen="dlopen"
  89194. + lt_cv_dlopen=dlopen
  89195. lt_cv_dlopen_libs=
  89196. ;;
  89197.  
  89198. darwin*)
  89199. - # if libdl is installed we need to link against it
  89200. + # if libdl is installed we need to link against it
  89201. AC_CHECK_LIB([dl], [dlopen],
  89202. - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
  89203. - lt_cv_dlopen="dyld"
  89204. + [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
  89205. + lt_cv_dlopen=dyld
  89206. lt_cv_dlopen_libs=
  89207. lt_cv_dlopen_self=yes
  89208. ])
  89209. ;;
  89210.  
  89211. + tpf*)
  89212. + # Don't try to run any link tests for TPF. We know it's impossible
  89213. + # because TPF is a cross-compiler, and we know how we open DSOs.
  89214. + lt_cv_dlopen=dlopen
  89215. + lt_cv_dlopen_libs=
  89216. + lt_cv_dlopen_self=no
  89217. + ;;
  89218. +
  89219. *)
  89220. AC_CHECK_FUNC([shl_load],
  89221. - [lt_cv_dlopen="shl_load"],
  89222. + [lt_cv_dlopen=shl_load],
  89223. [AC_CHECK_LIB([dld], [shl_load],
  89224. - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
  89225. + [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
  89226. [AC_CHECK_FUNC([dlopen],
  89227. - [lt_cv_dlopen="dlopen"],
  89228. + [lt_cv_dlopen=dlopen],
  89229. [AC_CHECK_LIB([dl], [dlopen],
  89230. - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
  89231. + [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
  89232. [AC_CHECK_LIB([svld], [dlopen],
  89233. - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
  89234. + [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
  89235. [AC_CHECK_LIB([dld], [dld_link],
  89236. - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
  89237. + [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
  89238. ])
  89239. ])
  89240. ])
  89241. @@ -1779,21 +1984,21 @@
  89242. ;;
  89243. esac
  89244.  
  89245. - if test "x$lt_cv_dlopen" != xno; then
  89246. - enable_dlopen=yes
  89247. - else
  89248. + if test no = "$lt_cv_dlopen"; then
  89249. enable_dlopen=no
  89250. + else
  89251. + enable_dlopen=yes
  89252. fi
  89253.  
  89254. case $lt_cv_dlopen in
  89255. dlopen)
  89256. - save_CPPFLAGS="$CPPFLAGS"
  89257. - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  89258. + save_CPPFLAGS=$CPPFLAGS
  89259. + test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  89260.  
  89261. - save_LDFLAGS="$LDFLAGS"
  89262. + save_LDFLAGS=$LDFLAGS
  89263. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  89264.  
  89265. - save_LIBS="$LIBS"
  89266. + save_LIBS=$LIBS
  89267. LIBS="$lt_cv_dlopen_libs $LIBS"
  89268.  
  89269. AC_CACHE_CHECK([whether a program can dlopen itself],
  89270. @@ -1803,7 +2008,7 @@
  89271. lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  89272. ])
  89273.  
  89274. - if test "x$lt_cv_dlopen_self" = xyes; then
  89275. + if test yes = "$lt_cv_dlopen_self"; then
  89276. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  89277. AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  89278. lt_cv_dlopen_self_static, [dnl
  89279. @@ -1813,9 +2018,9 @@
  89280. ])
  89281. fi
  89282.  
  89283. - CPPFLAGS="$save_CPPFLAGS"
  89284. - LDFLAGS="$save_LDFLAGS"
  89285. - LIBS="$save_LIBS"
  89286. + CPPFLAGS=$save_CPPFLAGS
  89287. + LDFLAGS=$save_LDFLAGS
  89288. + LIBS=$save_LIBS
  89289. ;;
  89290. esac
  89291.  
  89292. @@ -1869,16 +2074,16 @@
  89293. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  89294. -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  89295. -e 's:$: $lt_compiler_flag:'`
  89296. - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  89297. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  89298. (eval "$lt_compile" 2>out/conftest.err)
  89299. ac_status=$?
  89300. cat out/conftest.err >&AS_MESSAGE_LOG_FD
  89301. - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  89302. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  89303. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  89304. then
  89305. # The compiler can only warn and ignore the option if not recognized
  89306. # So say no if there are warnings
  89307. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  89308. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  89309. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  89310. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  89311. _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  89312. @@ -1907,8 +2112,8 @@
  89313. m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  89314. _LT_COMPILER_C_O([$1])
  89315.  
  89316. -hard_links="nottested"
  89317. -if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
  89318. +hard_links=nottested
  89319. +if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then
  89320. # do not overwrite the value of need_locks provided by the user
  89321. AC_MSG_CHECKING([if we can lock with hard links])
  89322. hard_links=yes
  89323. @@ -1918,8 +2123,8 @@
  89324. ln conftest.a conftest.b 2>&5 || hard_links=no
  89325. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  89326. AC_MSG_RESULT([$hard_links])
  89327. - if test "$hard_links" = no; then
  89328. - AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
  89329. + if test no = "$hard_links"; then
  89330. + AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
  89331. need_locks=warn
  89332. fi
  89333. else
  89334. @@ -1946,8 +2151,8 @@
  89335. _LT_DECL([], [objdir], [0],
  89336. [The name of the directory that contains temporary libtool files])dnl
  89337. m4_pattern_allow([LT_OBJDIR])dnl
  89338. -AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
  89339. - [Define to the sub-directory in which libtool stores uninstalled libraries.])
  89340. +AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/",
  89341. + [Define to the sub-directory where libtool stores uninstalled libraries.])
  89342. ])# _LT_CHECK_OBJDIR
  89343.  
  89344.  
  89345. @@ -1959,15 +2164,15 @@
  89346. _LT_TAGVAR(hardcode_action, $1)=
  89347. if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
  89348. test -n "$_LT_TAGVAR(runpath_var, $1)" ||
  89349. - test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
  89350. + test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then
  89351.  
  89352. # We can hardcode non-existent directories.
  89353. - if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
  89354. + if test no != "$_LT_TAGVAR(hardcode_direct, $1)" &&
  89355. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  89356. # have to relink, otherwise we might link with an installed library
  89357. # when we should be linking with a yet-to-be-installed one
  89358. - ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
  89359. - test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
  89360. + ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" &&
  89361. + test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then
  89362. # Linking always hardcodes the temporary library directory.
  89363. _LT_TAGVAR(hardcode_action, $1)=relink
  89364. else
  89365. @@ -1981,12 +2186,12 @@
  89366. fi
  89367. AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
  89368.  
  89369. -if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
  89370. - test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
  89371. +if test relink = "$_LT_TAGVAR(hardcode_action, $1)" ||
  89372. + test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then
  89373. # Fast installation is not supported
  89374. enable_fast_install=no
  89375. -elif test "$shlibpath_overrides_runpath" = yes ||
  89376. - test "$enable_shared" = no; then
  89377. +elif test yes = "$shlibpath_overrides_runpath" ||
  89378. + test no = "$enable_shared"; then
  89379. # Fast installation is not necessary
  89380. enable_fast_install=needless
  89381. fi
  89382. @@ -2010,7 +2215,7 @@
  89383. # FIXME - insert some real tests, host_os isn't really good enough
  89384. case $host_os in
  89385. darwin*)
  89386. - if test -n "$STRIP" ; then
  89387. + if test -n "$STRIP"; then
  89388. striplib="$STRIP -x"
  89389. old_striplib="$STRIP -S"
  89390. AC_MSG_RESULT([yes])
  89391. @@ -2028,6 +2233,47 @@
  89392. ])# _LT_CMD_STRIPLIB
  89393.  
  89394.  
  89395. +# _LT_PREPARE_MUNGE_PATH_LIST
  89396. +# ---------------------------
  89397. +# Make sure func_munge_path_list() is defined correctly.
  89398. +m4_defun([_LT_PREPARE_MUNGE_PATH_LIST],
  89399. +[[# func_munge_path_list VARIABLE PATH
  89400. +# -----------------------------------
  89401. +# VARIABLE is name of variable containing _space_ separated list of
  89402. +# directories to be munged by the contents of PATH, which is string
  89403. +# having a format:
  89404. +# "DIR[:DIR]:"
  89405. +# string "DIR[ DIR]" will be prepended to VARIABLE
  89406. +# ":DIR[:DIR]"
  89407. +# string "DIR[ DIR]" will be appended to VARIABLE
  89408. +# "DIRP[:DIRP]::[DIRA:]DIRA"
  89409. +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  89410. +# "DIRA[ DIRA]" will be appended to VARIABLE
  89411. +# "DIR[:DIR]"
  89412. +# VARIABLE will be replaced by "DIR[ DIR]"
  89413. +func_munge_path_list ()
  89414. +{
  89415. + case x@S|@2 in
  89416. + x)
  89417. + ;;
  89418. + *:)
  89419. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
  89420. + ;;
  89421. + x:*)
  89422. + eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
  89423. + ;;
  89424. + *::*)
  89425. + eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  89426. + eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
  89427. + ;;
  89428. + *)
  89429. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
  89430. + ;;
  89431. + esac
  89432. +}
  89433. +]])# _LT_PREPARE_PATH_LIST
  89434. +
  89435. +
  89436. # _LT_SYS_DYNAMIC_LINKER([TAG])
  89437. # -----------------------------
  89438. # PORTME Fill in your ld.so characteristics
  89439. @@ -2037,47 +2283,63 @@
  89440. m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  89441. m4_require([_LT_DECL_OBJDUMP])dnl
  89442. m4_require([_LT_DECL_SED])dnl
  89443. +m4_require([_LT_CHECK_SHELL_FEATURES])dnl
  89444. +m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl
  89445. AC_MSG_CHECKING([dynamic linker characteristics])
  89446. m4_if([$1],
  89447. [], [
  89448. -if test "$GCC" = yes; then
  89449. +if test yes = "$GCC"; then
  89450. + case $host_os in
  89451. + darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
  89452. + *) lt_awk_arg='/^libraries:/' ;;
  89453. + esac
  89454. case $host_os in
  89455. - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  89456. - *) lt_awk_arg="/^libraries:/" ;;
  89457. + mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
  89458. + *) lt_sed_strip_eq='s|=/|/|g' ;;
  89459. esac
  89460. - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  89461. - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  89462. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  89463. + case $lt_search_path_spec in
  89464. + *\;*)
  89465. # if the path contains ";" then we assume it to be the separator
  89466. # otherwise default to the standard path separator (i.e. ":") - it is
  89467. # assumed that no part of a normal pathname contains ";" but that should
  89468. # okay in the real world where ";" in dirpaths is itself problematic.
  89469. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  89470. - else
  89471. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  89472. - fi
  89473. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  89474. + ;;
  89475. + *)
  89476. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  89477. + ;;
  89478. + esac
  89479. # Ok, now we have the path, separated by spaces, we can step through it
  89480. - # and add multilib dir if necessary.
  89481. + # and add multilib dir if necessary...
  89482. lt_tmp_lt_search_path_spec=
  89483. - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  89484. + lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  89485. + # ...but if some path component already ends with the multilib dir we assume
  89486. + # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
  89487. + case "$lt_multi_os_dir; $lt_search_path_spec " in
  89488. + "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
  89489. + lt_multi_os_dir=
  89490. + ;;
  89491. + esac
  89492. for lt_sys_path in $lt_search_path_spec; do
  89493. - if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  89494. - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  89495. - else
  89496. + if test -d "$lt_sys_path$lt_multi_os_dir"; then
  89497. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
  89498. + elif test -n "$lt_multi_os_dir"; then
  89499. test -d "$lt_sys_path" && \
  89500. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  89501. fi
  89502. done
  89503. - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  89504. -BEGIN {RS=" "; FS="/|\n";} {
  89505. - lt_foo="";
  89506. - lt_count=0;
  89507. + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  89508. +BEGIN {RS = " "; FS = "/|\n";} {
  89509. + lt_foo = "";
  89510. + lt_count = 0;
  89511. for (lt_i = NF; lt_i > 0; lt_i--) {
  89512. if ($lt_i != "" && $lt_i != ".") {
  89513. if ($lt_i == "..") {
  89514. lt_count++;
  89515. } else {
  89516. if (lt_count == 0) {
  89517. - lt_foo="/" $lt_i lt_foo;
  89518. + lt_foo = "/" $lt_i lt_foo;
  89519. } else {
  89520. lt_count--;
  89521. }
  89522. @@ -2087,14 +2349,20 @@
  89523. if (lt_foo != "") { lt_freq[[lt_foo]]++; }
  89524. if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
  89525. }'`
  89526. - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  89527. + # AWK program above erroneously prepends '/' to C:/dos/paths
  89528. + # for these hosts.
  89529. + case $host_os in
  89530. + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  89531. + $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
  89532. + esac
  89533. + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  89534. else
  89535. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  89536. fi])
  89537. library_names_spec=
  89538. libname_spec='lib$name'
  89539. soname_spec=
  89540. -shrext_cmds=".so"
  89541. +shrext_cmds=.so
  89542. postinstall_cmds=
  89543. postuninstall_cmds=
  89544. finish_cmds=
  89545. @@ -2111,56 +2379,109 @@
  89546. # flags to be left without arguments
  89547. need_version=unknown
  89548.  
  89549. +AC_ARG_VAR([LT_SYS_LIBRARY_PATH],
  89550. +[User-defined run-time library search path.])
  89551. +
  89552. case $host_os in
  89553. aix3*)
  89554. - version_type=linux
  89555. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  89556. + version_type=linux # correct to gnu/linux during the next big refactor
  89557. + library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
  89558. shlibpath_var=LIBPATH
  89559.  
  89560. # AIX 3 has no versioning support, so we append a major version to the name.
  89561. - soname_spec='${libname}${release}${shared_ext}$major'
  89562. + soname_spec='$libname$release$shared_ext$major'
  89563. ;;
  89564.  
  89565. aix[[4-9]]*)
  89566. - version_type=linux
  89567. + version_type=linux # correct to gnu/linux during the next big refactor
  89568. need_lib_prefix=no
  89569. need_version=no
  89570. hardcode_into_libs=yes
  89571. - if test "$host_cpu" = ia64; then
  89572. + if test ia64 = "$host_cpu"; then
  89573. # AIX 5 supports IA64
  89574. - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  89575. + library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
  89576. shlibpath_var=LD_LIBRARY_PATH
  89577. else
  89578. # With GCC up to 2.95.x, collect2 would create an import file
  89579. # for dependence libraries. The import file would start with
  89580. - # the line `#! .'. This would cause the generated library to
  89581. - # depend on `.', always an invalid library. This was fixed in
  89582. + # the line '#! .'. This would cause the generated library to
  89583. + # depend on '.', always an invalid library. This was fixed in
  89584. # development snapshots of GCC prior to 3.0.
  89585. case $host_os in
  89586. aix4 | aix4.[[01]] | aix4.[[01]].*)
  89587. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  89588. echo ' yes '
  89589. - echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  89590. + echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
  89591. :
  89592. else
  89593. can_build_shared=no
  89594. fi
  89595. ;;
  89596. esac
  89597. - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  89598. + # Using Import Files as archive members, it is possible to support
  89599. + # filename-based versioning of shared library archives on AIX. While
  89600. + # this would work for both with and without runtime linking, it will
  89601. + # prevent static linking of such archives. So we do filename-based
  89602. + # shared library versioning with .so extension only, which is used
  89603. + # when both runtime linking and shared linking is enabled.
  89604. + # Unfortunately, runtime linking may impact performance, so we do
  89605. + # not want this to be the default eventually. Also, we use the
  89606. + # versioned .so libs for executables only if there is the -brtl
  89607. + # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
  89608. + # To allow for filename-based versioning support, we need to create
  89609. + # libNAME.so.V as an archive file, containing:
  89610. + # *) an Import File, referring to the versioned filename of the
  89611. + # archive as well as the shared archive member, telling the
  89612. + # bitwidth (32 or 64) of that shared object, and providing the
  89613. + # list of exported symbols of that shared object, eventually
  89614. + # decorated with the 'weak' keyword
  89615. + # *) the shared object with the F_LOADONLY flag set, to really avoid
  89616. + # it being seen by the linker.
  89617. + # At run time we better use the real file rather than another symlink,
  89618. + # but for link time we create the symlink libNAME.so -> libNAME.so.V
  89619. +
  89620. + case $with_aix_soname,$aix_use_runtimelinking in
  89621. + # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
  89622. # soname into executable. Probably we can add versioning support to
  89623. # collect2, so additional links can be useful in future.
  89624. - if test "$aix_use_runtimelinking" = yes; then
  89625. + aix,yes) # traditional libtool
  89626. + dynamic_linker='AIX unversionable lib.so'
  89627. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  89628. # instead of lib<name>.a to let people know that these are not
  89629. # typical AIX shared libraries.
  89630. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  89631. - else
  89632. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89633. + ;;
  89634. + aix,no) # traditional AIX only
  89635. + dynamic_linker='AIX lib.a[(]lib.so.V[)]'
  89636. # We preserve .a as extension for shared libraries through AIX4.2
  89637. # and later when we are not doing run time linking.
  89638. - library_names_spec='${libname}${release}.a $libname.a'
  89639. - soname_spec='${libname}${release}${shared_ext}$major'
  89640. - fi
  89641. + library_names_spec='$libname$release.a $libname.a'
  89642. + soname_spec='$libname$release$shared_ext$major'
  89643. + ;;
  89644. + svr4,*) # full svr4 only
  89645. + dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]"
  89646. + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  89647. + # We do not specify a path in Import Files, so LIBPATH fires.
  89648. + shlibpath_overrides_runpath=yes
  89649. + ;;
  89650. + *,yes) # both, prefer svr4
  89651. + dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]"
  89652. + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  89653. + # unpreferred sharedlib libNAME.a needs extra handling
  89654. + 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"'
  89655. + 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"'
  89656. + # We do not specify a path in Import Files, so LIBPATH fires.
  89657. + shlibpath_overrides_runpath=yes
  89658. + ;;
  89659. + *,no) # both, prefer aix
  89660. + dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]"
  89661. + library_names_spec='$libname$release.a $libname.a'
  89662. + soname_spec='$libname$release$shared_ext$major'
  89663. + # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
  89664. + 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)'
  89665. + 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"'
  89666. + ;;
  89667. + esac
  89668. shlibpath_var=LIBPATH
  89669. fi
  89670. ;;
  89671. @@ -2170,27 +2491,27 @@
  89672. powerpc)
  89673. # Since July 2007 AmigaOS4 officially supports .so libraries.
  89674. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  89675. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  89676. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89677. ;;
  89678. m68k)
  89679. library_names_spec='$libname.ixlibrary $libname.a'
  89680. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  89681. - 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'
  89682. + 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'
  89683. ;;
  89684. esac
  89685. ;;
  89686.  
  89687. beos*)
  89688. - library_names_spec='${libname}${shared_ext}'
  89689. + library_names_spec='$libname$shared_ext'
  89690. dynamic_linker="$host_os ld.so"
  89691. shlibpath_var=LIBRARY_PATH
  89692. ;;
  89693.  
  89694. bsdi[[45]]*)
  89695. - version_type=linux
  89696. + version_type=linux # correct to gnu/linux during the next big refactor
  89697. need_version=no
  89698. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  89699. - soname_spec='${libname}${release}${shared_ext}$major'
  89700. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89701. + soname_spec='$libname$release$shared_ext$major'
  89702. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  89703. shlibpath_var=LD_LIBRARY_PATH
  89704. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  89705. @@ -2202,16 +2523,17 @@
  89706.  
  89707. cygwin* | mingw* | pw32* | cegcc*)
  89708. version_type=windows
  89709. - shrext_cmds=".dll"
  89710. + shrext_cmds=.dll
  89711. need_version=no
  89712. need_lib_prefix=no
  89713.  
  89714. - case $GCC,$host_os in
  89715. - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  89716. + case $GCC,$cc_basename in
  89717. + yes,*)
  89718. + # gcc
  89719. library_names_spec='$libname.dll.a'
  89720. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  89721. - postinstall_cmds='base_file=`basename \${file}`~
  89722. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  89723. + postinstall_cmds='base_file=`basename \$file`~
  89724. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  89725. dldir=$destdir/`dirname \$dlpath`~
  89726. test -d \$dldir || mkdir -p \$dldir~
  89727. $install_prog $dir/$dlname \$dldir/$dlname~
  89728. @@ -2227,37 +2549,84 @@
  89729. case $host_os in
  89730. cygwin*)
  89731. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  89732. - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  89733. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  89734. + soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
  89735. +m4_if([$1], [],[
  89736. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
  89737. ;;
  89738. mingw* | cegcc*)
  89739. # MinGW DLLs use traditional 'lib' prefix
  89740. - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  89741. - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  89742. + soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
  89743. + ;;
  89744. + pw32*)
  89745. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  89746. + library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
  89747. + ;;
  89748. + esac
  89749. + dynamic_linker='Win32 ld.exe'
  89750. + ;;
  89751. +
  89752. + *,cl*)
  89753. + # Native MSVC
  89754. + libname_spec='$name'
  89755. + soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
  89756. + library_names_spec='$libname.dll.lib'
  89757. +
  89758. + case $build_os in
  89759. + mingw*)
  89760. + sys_lib_search_path_spec=
  89761. + lt_save_ifs=$IFS
  89762. + IFS=';'
  89763. + for lt_path in $LIB
  89764. + do
  89765. + IFS=$lt_save_ifs
  89766. + # Let DOS variable expansion print the short 8.3 style file name.
  89767. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  89768. + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  89769. + done
  89770. + IFS=$lt_save_ifs
  89771. + # Convert to MSYS style.
  89772. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
  89773. + ;;
  89774. + cygwin*)
  89775. + # Convert to unix form, then to dos form, then back to unix form
  89776. + # but this time dos style (no spaces!) so that the unix form looks
  89777. + # like /cygdrive/c/PROGRA~1:/cygdr...
  89778. + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  89779. + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  89780. + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  89781. + ;;
  89782. + *)
  89783. + sys_lib_search_path_spec=$LIB
  89784. if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
  89785. - # It is most probably a Windows format PATH printed by
  89786. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  89787. - # path with ; separators, and with drive letters. We can handle the
  89788. - # drive letters (cygwin fileutils understands them), so leave them,
  89789. - # especially as we might pass files found there to a mingw objdump,
  89790. - # which wouldn't understand a cygwinified path. Ahh.
  89791. + # It is most probably a Windows format PATH.
  89792. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  89793. else
  89794. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  89795. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  89796. fi
  89797. - ;;
  89798. - pw32*)
  89799. - # pw32 DLLs use 'pw' prefix rather than 'lib'
  89800. - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  89801. + # FIXME: find the short name or the path components, as spaces are
  89802. + # common. (e.g. "Program Files" -> "PROGRA~1")
  89803. ;;
  89804. esac
  89805. +
  89806. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  89807. + postinstall_cmds='base_file=`basename \$file`~
  89808. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  89809. + dldir=$destdir/`dirname \$dlpath`~
  89810. + test -d \$dldir || mkdir -p \$dldir~
  89811. + $install_prog $dir/$dlname \$dldir/$dlname'
  89812. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  89813. + dlpath=$dir/\$dldll~
  89814. + $RM \$dlpath'
  89815. + shlibpath_overrides_runpath=yes
  89816. + dynamic_linker='Win32 link.exe'
  89817. ;;
  89818.  
  89819. *)
  89820. - library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
  89821. + # Assume MSVC wrapper
  89822. + library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
  89823. + dynamic_linker='Win32 ld.exe'
  89824. ;;
  89825. esac
  89826. - dynamic_linker='Win32 ld.exe'
  89827. # FIXME: first we should search . and the directory the executable is in
  89828. shlibpath_var=PATH
  89829. ;;
  89830. @@ -2267,8 +2636,8 @@
  89831. version_type=darwin
  89832. need_lib_prefix=no
  89833. need_version=no
  89834. - library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  89835. - soname_spec='${libname}${release}${major}$shared_ext'
  89836. + library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
  89837. + soname_spec='$libname$release$major$shared_ext'
  89838. shlibpath_overrides_runpath=yes
  89839. shlibpath_var=DYLD_LIBRARY_PATH
  89840. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  89841. @@ -2278,18 +2647,14 @@
  89842. ;;
  89843.  
  89844. dgux*)
  89845. - version_type=linux
  89846. + version_type=linux # correct to gnu/linux during the next big refactor
  89847. need_lib_prefix=no
  89848. need_version=no
  89849. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  89850. - soname_spec='${libname}${release}${shared_ext}$major'
  89851. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89852. + soname_spec='$libname$release$shared_ext$major'
  89853. shlibpath_var=LD_LIBRARY_PATH
  89854. ;;
  89855.  
  89856. -freebsd1*)
  89857. - dynamic_linker=no
  89858. - ;;
  89859. -
  89860. freebsd* | dragonfly*)
  89861. # DragonFly does not have aout. When/if they implement a new
  89862. # versioning mechanism, adjust this.
  89863. @@ -2297,25 +2662,26 @@
  89864. objformat=`/usr/bin/objformat`
  89865. else
  89866. case $host_os in
  89867. - freebsd[[123]]*) objformat=aout ;;
  89868. + freebsd[[23]].*) objformat=aout ;;
  89869. *) objformat=elf ;;
  89870. esac
  89871. fi
  89872. version_type=freebsd-$objformat
  89873. case $version_type in
  89874. freebsd-elf*)
  89875. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  89876. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89877. + soname_spec='$libname$release$shared_ext$major'
  89878. need_version=no
  89879. need_lib_prefix=no
  89880. ;;
  89881. freebsd-*)
  89882. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  89883. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  89884. need_version=yes
  89885. ;;
  89886. esac
  89887. shlibpath_var=LD_LIBRARY_PATH
  89888. case $host_os in
  89889. - freebsd2*)
  89890. + freebsd2.*)
  89891. shlibpath_overrides_runpath=yes
  89892. ;;
  89893. freebsd3.[[01]]* | freebsdelf3.[[01]]*)
  89894. @@ -2334,13 +2700,16 @@
  89895. esac
  89896. ;;
  89897.  
  89898. -gnu*)
  89899. - version_type=linux
  89900. +haiku*)
  89901. + version_type=linux # correct to gnu/linux during the next big refactor
  89902. need_lib_prefix=no
  89903. need_version=no
  89904. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  89905. - soname_spec='${libname}${release}${shared_ext}$major'
  89906. - shlibpath_var=LD_LIBRARY_PATH
  89907. + dynamic_linker="$host_os runtime_loader"
  89908. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89909. + soname_spec='$libname$release$shared_ext$major'
  89910. + shlibpath_var=LIBRARY_PATH
  89911. + shlibpath_overrides_runpath=no
  89912. + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  89913. hardcode_into_libs=yes
  89914. ;;
  89915.  
  89916. @@ -2357,14 +2726,15 @@
  89917. dynamic_linker="$host_os dld.so"
  89918. shlibpath_var=LD_LIBRARY_PATH
  89919. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  89920. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  89921. - soname_spec='${libname}${release}${shared_ext}$major'
  89922. - if test "X$HPUX_IA64_MODE" = X32; then
  89923. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89924. + soname_spec='$libname$release$shared_ext$major'
  89925. + if test 32 = "$HPUX_IA64_MODE"; then
  89926. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  89927. + sys_lib_dlsearch_path_spec=/usr/lib/hpux32
  89928. else
  89929. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  89930. + sys_lib_dlsearch_path_spec=/usr/lib/hpux64
  89931. fi
  89932. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  89933. ;;
  89934. hppa*64*)
  89935. shrext_cmds='.sl'
  89936. @@ -2372,8 +2742,8 @@
  89937. dynamic_linker="$host_os dld.sl"
  89938. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  89939. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  89940. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  89941. - soname_spec='${libname}${release}${shared_ext}$major'
  89942. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89943. + soname_spec='$libname$release$shared_ext$major'
  89944. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  89945. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  89946. ;;
  89947. @@ -2382,20 +2752,22 @@
  89948. dynamic_linker="$host_os dld.sl"
  89949. shlibpath_var=SHLIB_PATH
  89950. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  89951. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  89952. - soname_spec='${libname}${release}${shared_ext}$major'
  89953. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89954. + soname_spec='$libname$release$shared_ext$major'
  89955. ;;
  89956. esac
  89957. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  89958. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  89959. postinstall_cmds='chmod 555 $lib'
  89960. + # or fails outright, so override atomically:
  89961. + install_override_mode=555
  89962. ;;
  89963.  
  89964. interix[[3-9]]*)
  89965. - version_type=linux
  89966. + version_type=linux # correct to gnu/linux during the next big refactor
  89967. need_lib_prefix=no
  89968. need_version=no
  89969. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  89970. - soname_spec='${libname}${release}${shared_ext}$major'
  89971. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89972. + soname_spec='$libname$release$shared_ext$major'
  89973. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  89974. shlibpath_var=LD_LIBRARY_PATH
  89975. shlibpath_overrides_runpath=no
  89976. @@ -2406,16 +2778,16 @@
  89977. case $host_os in
  89978. nonstopux*) version_type=nonstopux ;;
  89979. *)
  89980. - if test "$lt_cv_prog_gnu_ld" = yes; then
  89981. - version_type=linux
  89982. + if test yes = "$lt_cv_prog_gnu_ld"; then
  89983. + version_type=linux # correct to gnu/linux during the next big refactor
  89984. else
  89985. version_type=irix
  89986. fi ;;
  89987. esac
  89988. need_lib_prefix=no
  89989. need_version=no
  89990. - soname_spec='${libname}${release}${shared_ext}$major'
  89991. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  89992. + soname_spec='$libname$release$shared_ext$major'
  89993. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
  89994. case $host_os in
  89995. irix5* | nonstopux*)
  89996. libsuff= shlibsuff=
  89997. @@ -2434,8 +2806,8 @@
  89998. esac
  89999. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  90000. shlibpath_overrides_runpath=no
  90001. - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  90002. - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  90003. + sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
  90004. + sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
  90005. hardcode_into_libs=yes
  90006. ;;
  90007.  
  90008. @@ -2444,36 +2816,69 @@
  90009. dynamic_linker=no
  90010. ;;
  90011.  
  90012. -# This must be Linux ELF.
  90013. -linux* | k*bsd*-gnu | kopensolaris*-gnu)
  90014. - version_type=linux
  90015. +linux*android*)
  90016. + version_type=none # Android doesn't support versioned libraries.
  90017. + need_lib_prefix=no
  90018. + need_version=no
  90019. + library_names_spec='$libname$release$shared_ext'
  90020. + soname_spec='$libname$release$shared_ext'
  90021. + finish_cmds=
  90022. + shlibpath_var=LD_LIBRARY_PATH
  90023. + shlibpath_overrides_runpath=yes
  90024. +
  90025. + # This implies no fast_install, which is unacceptable.
  90026. + # Some rework will be needed to allow for fast_install
  90027. + # before this can be enabled.
  90028. + hardcode_into_libs=yes
  90029. +
  90030. + dynamic_linker='Android linker'
  90031. + # Don't embed -rpath directories since the linker doesn't support them.
  90032. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  90033. + ;;
  90034. +
  90035. +# This must be glibc/ELF.
  90036. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  90037. + version_type=linux # correct to gnu/linux during the next big refactor
  90038. need_lib_prefix=no
  90039. need_version=no
  90040. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  90041. - soname_spec='${libname}${release}${shared_ext}$major'
  90042. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90043. + soname_spec='$libname$release$shared_ext$major'
  90044. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  90045. shlibpath_var=LD_LIBRARY_PATH
  90046. shlibpath_overrides_runpath=no
  90047. +
  90048. # Some binutils ld are patched to set DT_RUNPATH
  90049. - save_LDFLAGS=$LDFLAGS
  90050. - save_libdir=$libdir
  90051. - eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
  90052. - LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
  90053. - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  90054. - [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
  90055. - [shlibpath_overrides_runpath=yes])])
  90056. - LDFLAGS=$save_LDFLAGS
  90057. - libdir=$save_libdir
  90058. + AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
  90059. + [lt_cv_shlibpath_overrides_runpath=no
  90060. + save_LDFLAGS=$LDFLAGS
  90061. + save_libdir=$libdir
  90062. + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
  90063. + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
  90064. + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  90065. + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
  90066. + [lt_cv_shlibpath_overrides_runpath=yes])])
  90067. + LDFLAGS=$save_LDFLAGS
  90068. + libdir=$save_libdir
  90069. + ])
  90070. + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  90071.  
  90072. # This implies no fast_install, which is unacceptable.
  90073. # Some rework will be needed to allow for fast_install
  90074. # before this can be enabled.
  90075. hardcode_into_libs=yes
  90076.  
  90077. - # Append ld.so.conf contents to the search path
  90078. + # Add ABI-specific directories to the system library path.
  90079. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
  90080. +
  90081. + # Ideally, we could use ldconfig to report *all* directores which are
  90082. + # searched for libraries, however this is still not possible. Aside from not
  90083. + # being certain /sbin/ldconfig is available, command
  90084. + # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
  90085. + # even though it is searched at run-time. Try to do the best guess by
  90086. + # appending ld.so.conf contents (and includes) to the search path.
  90087. if test -f /etc/ld.so.conf; then
  90088. - 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' ' '`
  90089. - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  90090. + 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' ' '`
  90091. + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
  90092. fi
  90093.  
  90094. # We used to test for /lib/ld.so.1 and disable shared libraries on
  90095. @@ -2485,29 +2890,17 @@
  90096. dynamic_linker='GNU/Linux ld.so'
  90097. ;;
  90098.  
  90099. -netbsdelf*-gnu)
  90100. - version_type=linux
  90101. - need_lib_prefix=no
  90102. - need_version=no
  90103. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  90104. - soname_spec='${libname}${release}${shared_ext}$major'
  90105. - shlibpath_var=LD_LIBRARY_PATH
  90106. - shlibpath_overrides_runpath=no
  90107. - hardcode_into_libs=yes
  90108. - dynamic_linker='NetBSD ld.elf_so'
  90109. - ;;
  90110. -
  90111. netbsd*)
  90112. version_type=sunos
  90113. need_lib_prefix=no
  90114. need_version=no
  90115. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  90116. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  90117. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  90118. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  90119. dynamic_linker='NetBSD (a.out) ld.so'
  90120. else
  90121. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  90122. - soname_spec='${libname}${release}${shared_ext}$major'
  90123. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90124. + soname_spec='$libname$release$shared_ext$major'
  90125. dynamic_linker='NetBSD ld.elf_so'
  90126. fi
  90127. shlibpath_var=LD_LIBRARY_PATH
  90128. @@ -2516,8 +2909,8 @@
  90129. ;;
  90130.  
  90131. newsos6)
  90132. - version_type=linux
  90133. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  90134. + version_type=linux # correct to gnu/linux during the next big refactor
  90135. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90136. shlibpath_var=LD_LIBRARY_PATH
  90137. shlibpath_overrides_runpath=yes
  90138. ;;
  90139. @@ -2526,58 +2919,68 @@
  90140. version_type=qnx
  90141. need_lib_prefix=no
  90142. need_version=no
  90143. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  90144. - soname_spec='${libname}${release}${shared_ext}$major'
  90145. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90146. + soname_spec='$libname$release$shared_ext$major'
  90147. shlibpath_var=LD_LIBRARY_PATH
  90148. shlibpath_overrides_runpath=no
  90149. hardcode_into_libs=yes
  90150. dynamic_linker='ldqnx.so'
  90151. ;;
  90152.  
  90153. -openbsd*)
  90154. +openbsd* | bitrig*)
  90155. version_type=sunos
  90156. - sys_lib_dlsearch_path_spec="/usr/lib"
  90157. + sys_lib_dlsearch_path_spec=/usr/lib
  90158. need_lib_prefix=no
  90159. - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  90160. - case $host_os in
  90161. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  90162. - *) need_version=no ;;
  90163. - esac
  90164. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  90165. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  90166. - shlibpath_var=LD_LIBRARY_PATH
  90167. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  90168. - case $host_os in
  90169. - openbsd2.[[89]] | openbsd2.[[89]].*)
  90170. - shlibpath_overrides_runpath=no
  90171. - ;;
  90172. - *)
  90173. - shlibpath_overrides_runpath=yes
  90174. - ;;
  90175. - esac
  90176. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  90177. + need_version=no
  90178. else
  90179. - shlibpath_overrides_runpath=yes
  90180. + need_version=yes
  90181. fi
  90182. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  90183. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  90184. + shlibpath_var=LD_LIBRARY_PATH
  90185. + shlibpath_overrides_runpath=yes
  90186. ;;
  90187.  
  90188. os2*)
  90189. libname_spec='$name'
  90190. - shrext_cmds=".dll"
  90191. + version_type=windows
  90192. + shrext_cmds=.dll
  90193. + need_version=no
  90194. need_lib_prefix=no
  90195. - library_names_spec='$libname${shared_ext} $libname.a'
  90196. + # OS/2 can only load a DLL with a base name of 8 characters or less.
  90197. + soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
  90198. + v=$($ECHO $release$versuffix | tr -d .-);
  90199. + n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
  90200. + $ECHO $n$v`$shared_ext'
  90201. + library_names_spec='${libname}_dll.$libext'
  90202. dynamic_linker='OS/2 ld.exe'
  90203. - shlibpath_var=LIBPATH
  90204. + shlibpath_var=BEGINLIBPATH
  90205. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  90206. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  90207. + postinstall_cmds='base_file=`basename \$file`~
  90208. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
  90209. + dldir=$destdir/`dirname \$dlpath`~
  90210. + test -d \$dldir || mkdir -p \$dldir~
  90211. + $install_prog $dir/$dlname \$dldir/$dlname~
  90212. + chmod a+x \$dldir/$dlname~
  90213. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  90214. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  90215. + fi'
  90216. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
  90217. + dlpath=$dir/\$dldll~
  90218. + $RM \$dlpath'
  90219. ;;
  90220.  
  90221. osf3* | osf4* | osf5*)
  90222. version_type=osf
  90223. need_lib_prefix=no
  90224. need_version=no
  90225. - soname_spec='${libname}${release}${shared_ext}$major'
  90226. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  90227. + soname_spec='$libname$release$shared_ext$major'
  90228. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90229. shlibpath_var=LD_LIBRARY_PATH
  90230. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  90231. - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  90232. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  90233. ;;
  90234.  
  90235. rdos*)
  90236. @@ -2585,11 +2988,11 @@
  90237. ;;
  90238.  
  90239. solaris*)
  90240. - version_type=linux
  90241. + version_type=linux # correct to gnu/linux during the next big refactor
  90242. need_lib_prefix=no
  90243. need_version=no
  90244. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  90245. - soname_spec='${libname}${release}${shared_ext}$major'
  90246. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90247. + soname_spec='$libname$release$shared_ext$major'
  90248. shlibpath_var=LD_LIBRARY_PATH
  90249. shlibpath_overrides_runpath=yes
  90250. hardcode_into_libs=yes
  90251. @@ -2599,20 +3002,20 @@
  90252.  
  90253. sunos4*)
  90254. version_type=sunos
  90255. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  90256. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  90257. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  90258. shlibpath_var=LD_LIBRARY_PATH
  90259. shlibpath_overrides_runpath=yes
  90260. - if test "$with_gnu_ld" = yes; then
  90261. + if test yes = "$with_gnu_ld"; then
  90262. need_lib_prefix=no
  90263. fi
  90264. need_version=yes
  90265. ;;
  90266.  
  90267. sysv4 | sysv4.3*)
  90268. - version_type=linux
  90269. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  90270. - soname_spec='${libname}${release}${shared_ext}$major'
  90271. + version_type=linux # correct to gnu/linux during the next big refactor
  90272. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90273. + soname_spec='$libname$release$shared_ext$major'
  90274. shlibpath_var=LD_LIBRARY_PATH
  90275. case $host_vendor in
  90276. sni)
  90277. @@ -2633,24 +3036,24 @@
  90278. ;;
  90279.  
  90280. sysv4*MP*)
  90281. - if test -d /usr/nec ;then
  90282. - version_type=linux
  90283. - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  90284. - soname_spec='$libname${shared_ext}.$major'
  90285. + if test -d /usr/nec; then
  90286. + version_type=linux # correct to gnu/linux during the next big refactor
  90287. + library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
  90288. + soname_spec='$libname$shared_ext.$major'
  90289. shlibpath_var=LD_LIBRARY_PATH
  90290. fi
  90291. ;;
  90292.  
  90293. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  90294. - version_type=freebsd-elf
  90295. + version_type=sco
  90296. need_lib_prefix=no
  90297. need_version=no
  90298. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  90299. - soname_spec='${libname}${release}${shared_ext}$major'
  90300. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
  90301. + soname_spec='$libname$release$shared_ext$major'
  90302. shlibpath_var=LD_LIBRARY_PATH
  90303. shlibpath_overrides_runpath=yes
  90304. hardcode_into_libs=yes
  90305. - if test "$with_gnu_ld" = yes; then
  90306. + if test yes = "$with_gnu_ld"; then
  90307. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  90308. else
  90309. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  90310. @@ -2665,19 +3068,19 @@
  90311.  
  90312. tpf*)
  90313. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  90314. - version_type=linux
  90315. + version_type=linux # correct to gnu/linux during the next big refactor
  90316. need_lib_prefix=no
  90317. need_version=no
  90318. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  90319. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90320. shlibpath_var=LD_LIBRARY_PATH
  90321. shlibpath_overrides_runpath=no
  90322. hardcode_into_libs=yes
  90323. ;;
  90324.  
  90325. uts4*)
  90326. - version_type=linux
  90327. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  90328. - soname_spec='${libname}${release}${shared_ext}$major'
  90329. + version_type=linux # correct to gnu/linux during the next big refactor
  90330. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90331. + soname_spec='$libname$release$shared_ext$major'
  90332. shlibpath_var=LD_LIBRARY_PATH
  90333. ;;
  90334.  
  90335. @@ -2686,20 +3089,30 @@
  90336. ;;
  90337. esac
  90338. AC_MSG_RESULT([$dynamic_linker])
  90339. -test "$dynamic_linker" = no && can_build_shared=no
  90340. +test no = "$dynamic_linker" && can_build_shared=no
  90341.  
  90342. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  90343. -if test "$GCC" = yes; then
  90344. +if test yes = "$GCC"; then
  90345. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  90346. fi
  90347.  
  90348. -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  90349. - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  90350. +if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
  90351. + sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
  90352. fi
  90353. -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  90354. - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  90355. +
  90356. +if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
  90357. + sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
  90358. fi
  90359.  
  90360. +# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
  90361. +configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
  90362. +
  90363. +# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
  90364. +func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
  90365. +
  90366. +# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
  90367. +configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
  90368. +
  90369. _LT_DECL([], [variables_saved_for_relink], [1],
  90370. [Variables whose values should be saved in libtool wrapper scripts and
  90371. restored at link time])
  90372. @@ -2717,6 +3130,8 @@
  90373. The last name is the one that the linker finds with -lNAME]])
  90374. _LT_DECL([], [soname_spec], [1],
  90375. [[The coded name of the library, if different from the real name]])
  90376. +_LT_DECL([], [install_override_mode], [1],
  90377. + [Permission mode override for installation of shared libraries])
  90378. _LT_DECL([], [postinstall_cmds], [2],
  90379. [Command to use after installation of a shared archive])
  90380. _LT_DECL([], [postuninstall_cmds], [2],
  90381. @@ -2730,39 +3145,41 @@
  90382. [Whether we should hardcode library paths into libraries])
  90383. _LT_DECL([], [sys_lib_search_path_spec], [2],
  90384. [Compile-time system search path for libraries])
  90385. -_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
  90386. - [Run-time system search path for libraries])
  90387. +_LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2],
  90388. + [Detected run-time system search path for libraries])
  90389. +_LT_DECL([], [configure_time_lt_sys_library_path], [2],
  90390. + [Explicit LT_SYS_LIBRARY_PATH set during ./configure time])
  90391. ])# _LT_SYS_DYNAMIC_LINKER
  90392.  
  90393.  
  90394. # _LT_PATH_TOOL_PREFIX(TOOL)
  90395. # --------------------------
  90396. -# find a file program which can recognize shared library
  90397. +# find a file program that can recognize shared library
  90398. AC_DEFUN([_LT_PATH_TOOL_PREFIX],
  90399. [m4_require([_LT_DECL_EGREP])dnl
  90400. AC_MSG_CHECKING([for $1])
  90401. AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  90402. [case $MAGIC_CMD in
  90403. [[\\/*] | ?:[\\/]*])
  90404. - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  90405. + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  90406. ;;
  90407. *)
  90408. - lt_save_MAGIC_CMD="$MAGIC_CMD"
  90409. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  90410. + lt_save_MAGIC_CMD=$MAGIC_CMD
  90411. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  90412. dnl $ac_dummy forces splitting on constant user-supplied paths.
  90413. dnl POSIX.2 word splitting is done only on the output of word expansions,
  90414. dnl not every word. This closes a longstanding sh security hole.
  90415. ac_dummy="m4_if([$2], , $PATH, [$2])"
  90416. for ac_dir in $ac_dummy; do
  90417. - IFS="$lt_save_ifs"
  90418. + IFS=$lt_save_ifs
  90419. test -z "$ac_dir" && ac_dir=.
  90420. - if test -f $ac_dir/$1; then
  90421. - lt_cv_path_MAGIC_CMD="$ac_dir/$1"
  90422. + if test -f "$ac_dir/$1"; then
  90423. + lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
  90424. if test -n "$file_magic_test_file"; then
  90425. case $deplibs_check_method in
  90426. "file_magic "*)
  90427. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  90428. - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  90429. + MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  90430. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  90431. $EGREP "$file_magic_regex" > /dev/null; then
  90432. :
  90433. @@ -2785,11 +3202,11 @@
  90434. break
  90435. fi
  90436. done
  90437. - IFS="$lt_save_ifs"
  90438. - MAGIC_CMD="$lt_save_MAGIC_CMD"
  90439. + IFS=$lt_save_ifs
  90440. + MAGIC_CMD=$lt_save_MAGIC_CMD
  90441. ;;
  90442. esac])
  90443. -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  90444. +MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  90445. if test -n "$MAGIC_CMD"; then
  90446. AC_MSG_RESULT($MAGIC_CMD)
  90447. else
  90448. @@ -2807,7 +3224,7 @@
  90449.  
  90450. # _LT_PATH_MAGIC
  90451. # --------------
  90452. -# find a file program which can recognize a shared library
  90453. +# find a file program that can recognize a shared library
  90454. m4_defun([_LT_PATH_MAGIC],
  90455. [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
  90456. if test -z "$lt_cv_path_MAGIC_CMD"; then
  90457. @@ -2829,20 +3246,21 @@
  90458. AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  90459. m4_require([_LT_DECL_SED])dnl
  90460. m4_require([_LT_DECL_EGREP])dnl
  90461. +m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
  90462.  
  90463. AC_ARG_WITH([gnu-ld],
  90464. [AS_HELP_STRING([--with-gnu-ld],
  90465. [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  90466. - [test "$withval" = no || with_gnu_ld=yes],
  90467. + [test no = "$withval" || with_gnu_ld=yes],
  90468. [with_gnu_ld=no])dnl
  90469.  
  90470. ac_prog=ld
  90471. -if test "$GCC" = yes; then
  90472. +if test yes = "$GCC"; then
  90473. # Check if gcc -print-prog-name=ld gives a path.
  90474. AC_MSG_CHECKING([for ld used by $CC])
  90475. case $host in
  90476. *-*-mingw*)
  90477. - # gcc leaves a trailing carriage return which upsets mingw
  90478. + # gcc leaves a trailing carriage return, which upsets mingw
  90479. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  90480. *)
  90481. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  90482. @@ -2856,7 +3274,7 @@
  90483. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  90484. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  90485. done
  90486. - test -z "$LD" && LD="$ac_prog"
  90487. + test -z "$LD" && LD=$ac_prog
  90488. ;;
  90489. "")
  90490. # If it fails, then pretend we aren't using GCC.
  90491. @@ -2867,37 +3285,37 @@
  90492. with_gnu_ld=unknown
  90493. ;;
  90494. esac
  90495. -elif test "$with_gnu_ld" = yes; then
  90496. +elif test yes = "$with_gnu_ld"; then
  90497. AC_MSG_CHECKING([for GNU ld])
  90498. else
  90499. AC_MSG_CHECKING([for non-GNU ld])
  90500. fi
  90501. AC_CACHE_VAL(lt_cv_path_LD,
  90502. [if test -z "$LD"; then
  90503. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  90504. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  90505. for ac_dir in $PATH; do
  90506. - IFS="$lt_save_ifs"
  90507. + IFS=$lt_save_ifs
  90508. test -z "$ac_dir" && ac_dir=.
  90509. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  90510. - lt_cv_path_LD="$ac_dir/$ac_prog"
  90511. + lt_cv_path_LD=$ac_dir/$ac_prog
  90512. # Check to see if the program is GNU ld. I'd rather use --version,
  90513. # but apparently some variants of GNU ld only accept -v.
  90514. # Break only if it was the GNU/non-GNU ld that we prefer.
  90515. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  90516. *GNU* | *'with BFD'*)
  90517. - test "$with_gnu_ld" != no && break
  90518. + test no != "$with_gnu_ld" && break
  90519. ;;
  90520. *)
  90521. - test "$with_gnu_ld" != yes && break
  90522. + test yes != "$with_gnu_ld" && break
  90523. ;;
  90524. esac
  90525. fi
  90526. done
  90527. - IFS="$lt_save_ifs"
  90528. + IFS=$lt_save_ifs
  90529. else
  90530. - lt_cv_path_LD="$LD" # Let the user override the test with a path.
  90531. + lt_cv_path_LD=$LD # Let the user override the test with a path.
  90532. fi])
  90533. -LD="$lt_cv_path_LD"
  90534. +LD=$lt_cv_path_LD
  90535. if test -n "$LD"; then
  90536. AC_MSG_RESULT($LD)
  90537. else
  90538. @@ -2950,19 +3368,61 @@
  90539. esac
  90540. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  90541. case $host_os in
  90542. + cygwin* | mingw* | pw32* | cegcc*)
  90543. + if test yes != "$GCC"; then
  90544. + reload_cmds=false
  90545. + fi
  90546. + ;;
  90547. darwin*)
  90548. - if test "$GCC" = yes; then
  90549. - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  90550. + if test yes = "$GCC"; then
  90551. + reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
  90552. else
  90553. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  90554. fi
  90555. ;;
  90556. esac
  90557. -_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
  90558. -_LT_DECL([], [reload_cmds], [2])dnl
  90559. +_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
  90560. +_LT_TAGDECL([], [reload_cmds], [2])dnl
  90561. ])# _LT_CMD_RELOAD
  90562.  
  90563.  
  90564. +# _LT_PATH_DD
  90565. +# -----------
  90566. +# find a working dd
  90567. +m4_defun([_LT_PATH_DD],
  90568. +[AC_CACHE_CHECK([for a working dd], [ac_cv_path_lt_DD],
  90569. +[printf 0123456789abcdef0123456789abcdef >conftest.i
  90570. +cat conftest.i conftest.i >conftest2.i
  90571. +: ${lt_DD:=$DD}
  90572. +AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd],
  90573. +[if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  90574. + cmp -s conftest.i conftest.out \
  90575. + && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
  90576. +fi])
  90577. +rm -f conftest.i conftest2.i conftest.out])
  90578. +])# _LT_PATH_DD
  90579. +
  90580. +
  90581. +# _LT_CMD_TRUNCATE
  90582. +# ----------------
  90583. +# find command to truncate a binary pipe
  90584. +m4_defun([_LT_CMD_TRUNCATE],
  90585. +[m4_require([_LT_PATH_DD])
  90586. +AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin],
  90587. +[printf 0123456789abcdef0123456789abcdef >conftest.i
  90588. +cat conftest.i conftest.i >conftest2.i
  90589. +lt_cv_truncate_bin=
  90590. +if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  90591. + cmp -s conftest.i conftest.out \
  90592. + && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
  90593. +fi
  90594. +rm -f conftest.i conftest2.i conftest.out
  90595. +test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
  90596. +_LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1],
  90597. + [Command to truncate a binary pipe])
  90598. +])# _LT_CMD_TRUNCATE
  90599. +
  90600. +
  90601. # _LT_CHECK_MAGIC_METHOD
  90602. # ----------------------
  90603. # how to check for library dependencies
  90604. @@ -2978,13 +3438,13 @@
  90605. # Need to set the preceding variable on all platforms that support
  90606. # interlibrary dependencies.
  90607. # 'none' -- dependencies not supported.
  90608. -# `unknown' -- same as none, but documents that we really don't know.
  90609. +# 'unknown' -- same as none, but documents that we really don't know.
  90610. # 'pass_all' -- all dependencies passed with no checks.
  90611. # 'test_compile' -- check by making test program.
  90612. # 'file_magic [[regex]]' -- check by looking for files in library path
  90613. -# which responds to the $file_magic_cmd with a given extended regex.
  90614. -# If you have `file' or equivalent on your system and you're not sure
  90615. -# whether `pass_all' will *always* work, you probably want this one.
  90616. +# that responds to the $file_magic_cmd with a given extended regex.
  90617. +# If you have 'file' or equivalent on your system and you're not sure
  90618. +# whether 'pass_all' will *always* work, you probably want this one.
  90619.  
  90620. case $host_os in
  90621. aix[[4-9]]*)
  90622. @@ -3015,12 +3475,13 @@
  90623. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  90624. lt_cv_file_magic_cmd='func_win32_libid'
  90625. else
  90626. - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  90627. + # Keep this pattern in sync with the one in func_win32_libid.
  90628. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  90629. lt_cv_file_magic_cmd='$OBJDUMP -f'
  90630. fi
  90631. ;;
  90632.  
  90633. -cegcc)
  90634. +cegcc*)
  90635. # use the weaker test based on 'objdump'. See mingw*.
  90636. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  90637. lt_cv_file_magic_cmd='$OBJDUMP -f'
  90638. @@ -3046,7 +3507,7 @@
  90639. fi
  90640. ;;
  90641.  
  90642. -gnu*)
  90643. +haiku*)
  90644. lt_cv_deplibs_check_method=pass_all
  90645. ;;
  90646.  
  90647. @@ -3058,11 +3519,11 @@
  90648. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  90649. ;;
  90650. hppa*64*)
  90651. - [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]']
  90652. + [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]']
  90653. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  90654. ;;
  90655. *)
  90656. - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
  90657. + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
  90658. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  90659. ;;
  90660. esac
  90661. @@ -3083,12 +3544,12 @@
  90662. lt_cv_deplibs_check_method=pass_all
  90663. ;;
  90664.  
  90665. -# This must be Linux ELF.
  90666. -linux* | k*bsd*-gnu | kopensolaris*-gnu)
  90667. +# This must be glibc/ELF.
  90668. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  90669. lt_cv_deplibs_check_method=pass_all
  90670. ;;
  90671.  
  90672. -netbsd* | netbsdelf*-gnu)
  90673. +netbsd*)
  90674. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  90675. lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  90676. else
  90677. @@ -3106,8 +3567,8 @@
  90678. lt_cv_deplibs_check_method=pass_all
  90679. ;;
  90680.  
  90681. -openbsd*)
  90682. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  90683. +openbsd* | bitrig*)
  90684. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  90685. lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
  90686. else
  90687. lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  90688. @@ -3160,8 +3621,26 @@
  90689. tpf*)
  90690. lt_cv_deplibs_check_method=pass_all
  90691. ;;
  90692. +os2*)
  90693. + lt_cv_deplibs_check_method=pass_all
  90694. + ;;
  90695. esac
  90696. ])
  90697. +
  90698. +file_magic_glob=
  90699. +want_nocaseglob=no
  90700. +if test "$build" = "$host"; then
  90701. + case $host_os in
  90702. + mingw* | pw32*)
  90703. + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  90704. + want_nocaseglob=yes
  90705. + else
  90706. + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
  90707. + fi
  90708. + ;;
  90709. + esac
  90710. +fi
  90711. +
  90712. file_magic_cmd=$lt_cv_file_magic_cmd
  90713. deplibs_check_method=$lt_cv_deplibs_check_method
  90714. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  90715. @@ -3169,7 +3648,11 @@
  90716. _LT_DECL([], [deplibs_check_method], [1],
  90717. [Method to check whether dependent libraries are shared objects])
  90718. _LT_DECL([], [file_magic_cmd], [1],
  90719. - [Command to use when deplibs_check_method == "file_magic"])
  90720. + [Command to use when deplibs_check_method = "file_magic"])
  90721. +_LT_DECL([], [file_magic_glob], [1],
  90722. + [How to find potential files when deplibs_check_method = "file_magic"])
  90723. +_LT_DECL([], [want_nocaseglob], [1],
  90724. + [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
  90725. ])# _LT_CHECK_MAGIC_METHOD
  90726.  
  90727.  
  90728. @@ -3181,33 +3664,38 @@
  90729. AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
  90730. [if test -n "$NM"; then
  90731. # Let the user override the test.
  90732. - lt_cv_path_NM="$NM"
  90733. + lt_cv_path_NM=$NM
  90734. else
  90735. - lt_nm_to_check="${ac_tool_prefix}nm"
  90736. + lt_nm_to_check=${ac_tool_prefix}nm
  90737. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  90738. lt_nm_to_check="$lt_nm_to_check nm"
  90739. fi
  90740. for lt_tmp_nm in $lt_nm_to_check; do
  90741. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  90742. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  90743. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  90744. - IFS="$lt_save_ifs"
  90745. + IFS=$lt_save_ifs
  90746. test -z "$ac_dir" && ac_dir=.
  90747. - tmp_nm="$ac_dir/$lt_tmp_nm"
  90748. - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  90749. + tmp_nm=$ac_dir/$lt_tmp_nm
  90750. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
  90751. # Check to see if the nm accepts a BSD-compat flag.
  90752. - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  90753. + # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
  90754. # nm: unknown option "B" ignored
  90755. # Tru64's nm complains that /dev/null is an invalid object file
  90756. - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  90757. - */dev/null* | *'Invalid file or object type'*)
  90758. + # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
  90759. + case $build_os in
  90760. + mingw*) lt_bad_file=conftest.nm/nofile ;;
  90761. + *) lt_bad_file=/dev/null ;;
  90762. + esac
  90763. + case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
  90764. + *$lt_bad_file* | *'Invalid file or object type'*)
  90765. lt_cv_path_NM="$tmp_nm -B"
  90766. - break
  90767. + break 2
  90768. ;;
  90769. *)
  90770. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  90771. */dev/null*)
  90772. lt_cv_path_NM="$tmp_nm -p"
  90773. - break
  90774. + break 2
  90775. ;;
  90776. *)
  90777. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  90778. @@ -3218,18 +3706,30 @@
  90779. esac
  90780. fi
  90781. done
  90782. - IFS="$lt_save_ifs"
  90783. + IFS=$lt_save_ifs
  90784. done
  90785. : ${lt_cv_path_NM=no}
  90786. fi])
  90787. -if test "$lt_cv_path_NM" != "no"; then
  90788. - NM="$lt_cv_path_NM"
  90789. +if test no != "$lt_cv_path_NM"; then
  90790. + NM=$lt_cv_path_NM
  90791. else
  90792. # Didn't find any BSD compatible name lister, look for dumpbin.
  90793. - AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
  90794. + if test -n "$DUMPBIN"; then :
  90795. + # Let the user override the test.
  90796. + else
  90797. + AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
  90798. + case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
  90799. + *COFF*)
  90800. + DUMPBIN="$DUMPBIN -symbols -headers"
  90801. + ;;
  90802. + *)
  90803. + DUMPBIN=:
  90804. + ;;
  90805. + esac
  90806. + fi
  90807. AC_SUBST([DUMPBIN])
  90808. - if test "$DUMPBIN" != ":"; then
  90809. - NM="$DUMPBIN"
  90810. + if test : != "$DUMPBIN"; then
  90811. + NM=$DUMPBIN
  90812. fi
  90813. fi
  90814. test -z "$NM" && NM=nm
  90815. @@ -3239,13 +3739,13 @@
  90816. AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  90817. [lt_cv_nm_interface="BSD nm"
  90818. echo "int some_variable = 0;" > conftest.$ac_ext
  90819. - (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  90820. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  90821. (eval "$ac_compile" 2>conftest.err)
  90822. cat conftest.err >&AS_MESSAGE_LOG_FD
  90823. - (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  90824. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  90825. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  90826. cat conftest.err >&AS_MESSAGE_LOG_FD
  90827. - (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
  90828. + (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
  90829. cat conftest.out >&AS_MESSAGE_LOG_FD
  90830. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  90831. lt_cv_nm_interface="MS dumpbin"
  90832. @@ -3260,6 +3760,82 @@
  90833. dnl AC_DEFUN([AM_PROG_NM], [])
  90834. dnl AC_DEFUN([AC_PROG_NM], [])
  90835.  
  90836. +# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
  90837. +# --------------------------------
  90838. +# how to determine the name of the shared library
  90839. +# associated with a specific link library.
  90840. +# -- PORTME fill in with the dynamic library characteristics
  90841. +m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB],
  90842. +[m4_require([_LT_DECL_EGREP])
  90843. +m4_require([_LT_DECL_OBJDUMP])
  90844. +m4_require([_LT_DECL_DLLTOOL])
  90845. +AC_CACHE_CHECK([how to associate runtime and link libraries],
  90846. +lt_cv_sharedlib_from_linklib_cmd,
  90847. +[lt_cv_sharedlib_from_linklib_cmd='unknown'
  90848. +
  90849. +case $host_os in
  90850. +cygwin* | mingw* | pw32* | cegcc*)
  90851. + # two different shell functions defined in ltmain.sh;
  90852. + # decide which one to use based on capabilities of $DLLTOOL
  90853. + case `$DLLTOOL --help 2>&1` in
  90854. + *--identify-strict*)
  90855. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  90856. + ;;
  90857. + *)
  90858. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  90859. + ;;
  90860. + esac
  90861. + ;;
  90862. +*)
  90863. + # fallback: assume linklib IS sharedlib
  90864. + lt_cv_sharedlib_from_linklib_cmd=$ECHO
  90865. + ;;
  90866. +esac
  90867. +])
  90868. +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  90869. +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  90870. +
  90871. +_LT_DECL([], [sharedlib_from_linklib_cmd], [1],
  90872. + [Command to associate shared and link libraries])
  90873. +])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
  90874. +
  90875. +
  90876. +# _LT_PATH_MANIFEST_TOOL
  90877. +# ----------------------
  90878. +# locate the manifest tool
  90879. +m4_defun([_LT_PATH_MANIFEST_TOOL],
  90880. +[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)
  90881. +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  90882. +AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool],
  90883. + [lt_cv_path_mainfest_tool=no
  90884. + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
  90885. + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  90886. + cat conftest.err >&AS_MESSAGE_LOG_FD
  90887. + if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  90888. + lt_cv_path_mainfest_tool=yes
  90889. + fi
  90890. + rm -f conftest*])
  90891. +if test yes != "$lt_cv_path_mainfest_tool"; then
  90892. + MANIFEST_TOOL=:
  90893. +fi
  90894. +_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
  90895. +])# _LT_PATH_MANIFEST_TOOL
  90896. +
  90897. +
  90898. +# _LT_DLL_DEF_P([FILE])
  90899. +# ---------------------
  90900. +# True iff FILE is a Windows DLL '.def' file.
  90901. +# Keep in sync with func_dll_def_p in the libtool script
  90902. +AC_DEFUN([_LT_DLL_DEF_P],
  90903. +[dnl
  90904. + test DEF = "`$SED -n dnl
  90905. + -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
  90906. + -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
  90907. + -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
  90908. + -e q dnl Only consider the first "real" line
  90909. + $1`" dnl
  90910. +])# _LT_DLL_DEF_P
  90911. +
  90912.  
  90913. # LT_LIB_M
  90914. # --------
  90915. @@ -3268,15 +3844,15 @@
  90916. [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  90917. LIBM=
  90918. case $host in
  90919. -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
  90920. +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
  90921. # These system don't have libm, or don't need it
  90922. ;;
  90923. *-ncr-sysv4.3*)
  90924. - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
  90925. + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
  90926. AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
  90927. ;;
  90928. *)
  90929. - AC_CHECK_LIB(m, cos, LIBM="-lm")
  90930. + AC_CHECK_LIB(m, cos, LIBM=-lm)
  90931. ;;
  90932. esac
  90933. AC_SUBST([LIBM])
  90934. @@ -3295,8 +3871,13 @@
  90935.  
  90936. _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  90937.  
  90938. -if test "$GCC" = yes; then
  90939. - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  90940. +if test yes = "$GCC"; then
  90941. + case $cc_basename in
  90942. + nvcc*)
  90943. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
  90944. + *)
  90945. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
  90946. + esac
  90947.  
  90948. _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  90949. lt_cv_prog_compiler_rtti_exceptions,
  90950. @@ -3313,6 +3894,7 @@
  90951. m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
  90952. [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  90953. AC_REQUIRE([AC_PROG_CC])dnl
  90954. +AC_REQUIRE([AC_PROG_AWK])dnl
  90955. AC_REQUIRE([LT_PATH_NM])dnl
  90956. AC_REQUIRE([LT_PATH_LD])dnl
  90957. m4_require([_LT_DECL_SED])dnl
  90958. @@ -3341,7 +3923,7 @@
  90959. symcode='[[ABCDGISTW]]'
  90960. ;;
  90961. hpux*)
  90962. - if test "$host_cpu" = ia64; then
  90963. + if test ia64 = "$host_cpu"; then
  90964. symcode='[[ABCDEGRST]]'
  90965. fi
  90966. ;;
  90967. @@ -3374,14 +3956,44 @@
  90968. symcode='[[ABCDGIRSTW]]' ;;
  90969. esac
  90970.  
  90971. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  90972. + # Gets list of data symbols to import.
  90973. + lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
  90974. + # Adjust the below global symbol transforms to fixup imported variables.
  90975. + lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
  90976. + lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
  90977. + lt_c_name_lib_hook="\
  90978. + -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
  90979. + -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
  90980. +else
  90981. + # Disable hooks by default.
  90982. + lt_cv_sys_global_symbol_to_import=
  90983. + lt_cdecl_hook=
  90984. + lt_c_name_hook=
  90985. + lt_c_name_lib_hook=
  90986. +fi
  90987. +
  90988. # Transform an extracted symbol line into a proper C declaration.
  90989. # Some systems (esp. on ia64) link data and code symbols differently,
  90990. # so use this general approach.
  90991. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  90992. +lt_cv_sys_global_symbol_to_cdecl="sed -n"\
  90993. +$lt_cdecl_hook\
  90994. +" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
  90995. +" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
  90996.  
  90997. # Transform an extracted symbol line into symbol name and symbol address
  90998. -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
  90999. -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'"
  91000. +lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
  91001. +$lt_c_name_hook\
  91002. +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  91003. +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
  91004. +
  91005. +# Transform an extracted symbol line into symbol name with lib prefix and
  91006. +# symbol address.
  91007. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
  91008. +$lt_c_name_lib_hook\
  91009. +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  91010. +" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
  91011. +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
  91012.  
  91013. # Handle CRLF in mingw tool chain
  91014. opt_cr=
  91015. @@ -3399,24 +4011,29 @@
  91016.  
  91017. # Write the raw and C identifiers.
  91018. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  91019. - # Fake it for dumpbin and say T for any non-static function
  91020. - # and D for any global variable.
  91021. + # Fake it for dumpbin and say T for any non-static function,
  91022. + # D for any global variable and I for any imported variable.
  91023. # Also find C++ and __fastcall symbols from MSVC++,
  91024. # which start with @ or ?.
  91025. lt_cv_sys_global_symbol_pipe="$AWK ['"\
  91026. " {last_section=section; section=\$ 3};"\
  91027. +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  91028. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  91029. +" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
  91030. +" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
  91031. +" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
  91032. " \$ 0!~/External *\|/{next};"\
  91033. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  91034. " {if(hide[section]) next};"\
  91035. -" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  91036. -" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  91037. -" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  91038. -" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  91039. +" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
  91040. +" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
  91041. +" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
  91042. +" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
  91043. " ' prfx=^$ac_symprfx]"
  91044. else
  91045. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  91046. fi
  91047. + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  91048.  
  91049. # Check to see that the pipe works correctly.
  91050. pipe_works=no
  91051. @@ -3438,7 +4055,7 @@
  91052. if AC_TRY_EVAL(ac_compile); then
  91053. # Now try to grab the symbols.
  91054. nlist=conftest.nm
  91055. - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  91056. + if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
  91057. # Try sorting and uniquifying the output.
  91058. if sort "$nlist" | uniq > "$nlist"T; then
  91059. mv -f "$nlist"T "$nlist"
  91060. @@ -3450,6 +4067,18 @@
  91061. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  91062. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  91063. cat <<_LT_EOF > conftest.$ac_ext
  91064. +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  91065. +#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
  91066. +/* DATA imports from DLLs on WIN32 can't be const, because runtime
  91067. + relocations are performed -- see ld's documentation on pseudo-relocs. */
  91068. +# define LT@&t@_DLSYM_CONST
  91069. +#elif defined __osf__
  91070. +/* This system does not cope well with relocations in const data. */
  91071. +# define LT@&t@_DLSYM_CONST
  91072. +#else
  91073. +# define LT@&t@_DLSYM_CONST const
  91074. +#endif
  91075. +
  91076. #ifdef __cplusplus
  91077. extern "C" {
  91078. #endif
  91079. @@ -3461,7 +4090,7 @@
  91080. cat <<_LT_EOF >> conftest.$ac_ext
  91081.  
  91082. /* The mapping between symbol names and symbols. */
  91083. -const struct {
  91084. +LT@&t@_DLSYM_CONST struct {
  91085. const char *name;
  91086. void *address;
  91087. }
  91088. @@ -3469,7 +4098,7 @@
  91089. {
  91090. { "@PROGRAM@", (void *) 0 },
  91091. _LT_EOF
  91092. - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  91093. + $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  91094. cat <<\_LT_EOF >> conftest.$ac_ext
  91095. {0, (void *) 0}
  91096. };
  91097. @@ -3487,15 +4116,15 @@
  91098. _LT_EOF
  91099. # Now try linking the two files.
  91100. mv conftest.$ac_objext conftstm.$ac_objext
  91101. - lt_save_LIBS="$LIBS"
  91102. - lt_save_CFLAGS="$CFLAGS"
  91103. - LIBS="conftstm.$ac_objext"
  91104. + lt_globsym_save_LIBS=$LIBS
  91105. + lt_globsym_save_CFLAGS=$CFLAGS
  91106. + LIBS=conftstm.$ac_objext
  91107. CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
  91108. - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
  91109. + if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
  91110. pipe_works=yes
  91111. fi
  91112. - LIBS="$lt_save_LIBS"
  91113. - CFLAGS="$lt_save_CFLAGS"
  91114. + LIBS=$lt_globsym_save_LIBS
  91115. + CFLAGS=$lt_globsym_save_CFLAGS
  91116. else
  91117. echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
  91118. fi
  91119. @@ -3512,7 +4141,7 @@
  91120. rm -rf conftest* conftst*
  91121.  
  91122. # Do not use the global_symbol_pipe unless it works.
  91123. - if test "$pipe_works" = yes; then
  91124. + if test yes = "$pipe_works"; then
  91125. break
  91126. else
  91127. lt_cv_sys_global_symbol_pipe=
  91128. @@ -3528,16 +4157,29 @@
  91129. AC_MSG_RESULT(ok)
  91130. fi
  91131.  
  91132. +# Response file support.
  91133. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  91134. + nm_file_list_spec='@'
  91135. +elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
  91136. + nm_file_list_spec='@'
  91137. +fi
  91138. +
  91139. _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
  91140. [Take the output of nm and produce a listing of raw symbols and C names])
  91141. _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
  91142. [Transform the output of nm in a proper C declaration])
  91143. +_LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1],
  91144. + [Transform the output of nm into a list of symbols to manually relocate])
  91145. _LT_DECL([global_symbol_to_c_name_address],
  91146. [lt_cv_sys_global_symbol_to_c_name_address], [1],
  91147. [Transform the output of nm in a C name address pair])
  91148. _LT_DECL([global_symbol_to_c_name_address_lib_prefix],
  91149. [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
  91150. [Transform the output of nm in a C name address pair when lib prefix is needed])
  91151. +_LT_DECL([nm_interface], [lt_cv_nm_interface], [1],
  91152. + [The name lister interface])
  91153. +_LT_DECL([], [nm_file_list_spec], [1],
  91154. + [Specify filename containing input files for $NM])
  91155. ]) # _LT_CMD_GLOBAL_SYMBOLS
  91156.  
  91157.  
  91158. @@ -3549,20 +4191,20 @@
  91159. _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  91160. _LT_TAGVAR(lt_prog_compiler_static, $1)=
  91161.  
  91162. -AC_MSG_CHECKING([for $compiler option to produce PIC])
  91163. m4_if([$1], [CXX], [
  91164. # C++ specific cases for pic, static, wl, etc.
  91165. - if test "$GXX" = yes; then
  91166. + if test yes = "$GXX"; then
  91167. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91168. _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  91169.  
  91170. case $host_os in
  91171. aix*)
  91172. # All AIX code is PIC.
  91173. - if test "$host_cpu" = ia64; then
  91174. + if test ia64 = "$host_cpu"; then
  91175. # AIX 5 now supports IA64 processor
  91176. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91177. fi
  91178. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  91179. ;;
  91180.  
  91181. amigaos*)
  91182. @@ -3573,8 +4215,8 @@
  91183. ;;
  91184. m68k)
  91185. # FIXME: we need at least 68020 code to build shared libraries, but
  91186. - # adding the `-m68020' flag to GCC prevents building anything better,
  91187. - # like `-m68040'.
  91188. + # adding the '-m68020' flag to GCC prevents building anything better,
  91189. + # like '-m68040'.
  91190. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  91191. ;;
  91192. esac
  91193. @@ -3590,6 +4232,11 @@
  91194. # (--disable-auto-import) libraries
  91195. m4_if([$1], [GCJ], [],
  91196. [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  91197. + case $host_os in
  91198. + os2*)
  91199. + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
  91200. + ;;
  91201. + esac
  91202. ;;
  91203. darwin* | rhapsody*)
  91204. # PIC is the default on this platform
  91205. @@ -3600,6 +4247,11 @@
  91206. # DJGPP does not support shared libraries at all
  91207. _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  91208. ;;
  91209. + haiku*)
  91210. + # PIC is the default for Haiku.
  91211. + # The "-static" flag exists, but is broken.
  91212. + _LT_TAGVAR(lt_prog_compiler_static, $1)=
  91213. + ;;
  91214. interix[[3-9]]*)
  91215. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  91216. # Instead, we relocate shared libraries at runtime.
  91217. @@ -3634,7 +4286,7 @@
  91218. case $host_os in
  91219. aix[[4-9]]*)
  91220. # All AIX code is PIC.
  91221. - if test "$host_cpu" = ia64; then
  91222. + if test ia64 = "$host_cpu"; then
  91223. # AIX 5 now supports IA64 processor
  91224. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91225. else
  91226. @@ -3649,6 +4301,12 @@
  91227. ;;
  91228. esac
  91229. ;;
  91230. + mingw* | cygwin* | os2* | pw32* | cegcc*)
  91231. + # This hack is so that the source file can tell whether it is being
  91232. + # built for inclusion in a dll (and should export symbols for example).
  91233. + m4_if([$1], [GCJ], [],
  91234. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  91235. + ;;
  91236. dgux*)
  91237. case $cc_basename in
  91238. ec++*)
  91239. @@ -3669,14 +4327,14 @@
  91240. case $cc_basename in
  91241. CC*)
  91242. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91243. - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  91244. - if test "$host_cpu" != ia64; then
  91245. + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
  91246. + if test ia64 != "$host_cpu"; then
  91247. _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  91248. fi
  91249. ;;
  91250. aCC*)
  91251. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91252. - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  91253. + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
  91254. case $host_cpu in
  91255. hppa*64*|ia64*)
  91256. # +Z the default
  91257. @@ -3705,7 +4363,7 @@
  91258. ;;
  91259. esac
  91260. ;;
  91261. - linux* | k*bsd*-gnu | kopensolaris*-gnu)
  91262. + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  91263. case $cc_basename in
  91264. KCC*)
  91265. # KAI C++ Compiler
  91266. @@ -3713,7 +4371,7 @@
  91267. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  91268. ;;
  91269. ecpc* )
  91270. - # old Intel C++ for x86_64 which still supported -KPIC.
  91271. + # old Intel C++ for x86_64, which still supported -KPIC.
  91272. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91273. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  91274. _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  91275. @@ -3738,8 +4396,8 @@
  91276. _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  91277. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  91278. ;;
  91279. - xlc* | xlC*)
  91280. - # IBM XL 8.0 on PPC
  91281. + xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
  91282. + # IBM XL 8.0, 9.0 on PPC and BlueGene
  91283. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91284. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  91285. _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  91286. @@ -3769,7 +4427,7 @@
  91287. ;;
  91288. esac
  91289. ;;
  91290. - netbsd* | netbsdelf*-gnu)
  91291. + netbsd*)
  91292. ;;
  91293. *qnx* | *nto*)
  91294. # QNX uses GNU C++, but need to define -shared option too, otherwise
  91295. @@ -3801,7 +4459,7 @@
  91296. ;;
  91297. solaris*)
  91298. case $cc_basename in
  91299. - CC*)
  91300. + CC* | sunCC*)
  91301. # Sun C++ 4.2, 5.x and Centerline C++
  91302. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  91303. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91304. @@ -3858,17 +4516,18 @@
  91305. fi
  91306. ],
  91307. [
  91308. - if test "$GCC" = yes; then
  91309. + if test yes = "$GCC"; then
  91310. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91311. _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  91312.  
  91313. case $host_os in
  91314. aix*)
  91315. # All AIX code is PIC.
  91316. - if test "$host_cpu" = ia64; then
  91317. + if test ia64 = "$host_cpu"; then
  91318. # AIX 5 now supports IA64 processor
  91319. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91320. fi
  91321. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  91322. ;;
  91323.  
  91324. amigaos*)
  91325. @@ -3879,8 +4538,8 @@
  91326. ;;
  91327. m68k)
  91328. # FIXME: we need at least 68020 code to build shared libraries, but
  91329. - # adding the `-m68020' flag to GCC prevents building anything better,
  91330. - # like `-m68040'.
  91331. + # adding the '-m68020' flag to GCC prevents building anything better,
  91332. + # like '-m68040'.
  91333. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  91334. ;;
  91335. esac
  91336. @@ -3897,6 +4556,11 @@
  91337. # (--disable-auto-import) libraries
  91338. m4_if([$1], [GCJ], [],
  91339. [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  91340. + case $host_os in
  91341. + os2*)
  91342. + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
  91343. + ;;
  91344. + esac
  91345. ;;
  91346.  
  91347. darwin* | rhapsody*)
  91348. @@ -3905,6 +4569,12 @@
  91349. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  91350. ;;
  91351.  
  91352. + haiku*)
  91353. + # PIC is the default for Haiku.
  91354. + # The "-static" flag exists, but is broken.
  91355. + _LT_TAGVAR(lt_prog_compiler_static, $1)=
  91356. + ;;
  91357. +
  91358. hpux*)
  91359. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  91360. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  91361. @@ -3947,12 +4617,21 @@
  91362. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  91363. ;;
  91364. esac
  91365. +
  91366. + case $cc_basename in
  91367. + nvcc*) # Cuda Compiler Driver 2.2
  91368. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
  91369. + if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
  91370. + _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
  91371. + fi
  91372. + ;;
  91373. + esac
  91374. else
  91375. # PORTME Check for flag to pass linker flags through the system compiler.
  91376. case $host_os in
  91377. aix*)
  91378. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91379. - if test "$host_cpu" = ia64; then
  91380. + if test ia64 = "$host_cpu"; then
  91381. # AIX 5 now supports IA64 processor
  91382. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91383. else
  91384. @@ -3960,11 +4639,30 @@
  91385. fi
  91386. ;;
  91387.  
  91388. + darwin* | rhapsody*)
  91389. + # PIC is the default on this platform
  91390. + # Common symbols not allowed in MH_DYLIB files
  91391. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  91392. + case $cc_basename in
  91393. + nagfor*)
  91394. + # NAG Fortran compiler
  91395. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
  91396. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  91397. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91398. + ;;
  91399. + esac
  91400. + ;;
  91401. +
  91402. mingw* | cygwin* | pw32* | os2* | cegcc*)
  91403. # This hack is so that the source file can tell whether it is being
  91404. # built for inclusion in a dll (and should export symbols for example).
  91405. m4_if([$1], [GCJ], [],
  91406. [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  91407. + case $host_os in
  91408. + os2*)
  91409. + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
  91410. + ;;
  91411. + esac
  91412. ;;
  91413.  
  91414. hpux9* | hpux10* | hpux11*)
  91415. @@ -3980,7 +4678,7 @@
  91416. ;;
  91417. esac
  91418. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  91419. - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  91420. + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
  91421. ;;
  91422.  
  91423. irix5* | irix6* | nonstopux*)
  91424. @@ -3989,9 +4687,9 @@
  91425. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  91426. ;;
  91427.  
  91428. - linux* | k*bsd*-gnu | kopensolaris*-gnu)
  91429. + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  91430. case $cc_basename in
  91431. - # old Intel for x86_64 which still supported -KPIC.
  91432. + # old Intel for x86_64, which still supported -KPIC.
  91433. ecc*)
  91434. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91435. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  91436. @@ -4010,7 +4708,19 @@
  91437. _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
  91438. _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
  91439. ;;
  91440. - pgcc* | pgf77* | pgf90* | pgf95*)
  91441. + nagfor*)
  91442. + # NAG Fortran compiler
  91443. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
  91444. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  91445. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91446. + ;;
  91447. + tcc*)
  91448. + # Fabrice Bellard et al's Tiny C Compiler
  91449. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91450. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  91451. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  91452. + ;;
  91453. + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  91454. # Portland Group compilers (*not* the Pentium gcc compiler,
  91455. # which looks to be a dead project)
  91456. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91457. @@ -4022,25 +4732,40 @@
  91458. # All Alpha code is PIC.
  91459. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  91460. ;;
  91461. - xl*)
  91462. - # IBM XL C 8.0/Fortran 10.1 on PPC
  91463. + xl* | bgxl* | bgf* | mpixl*)
  91464. + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  91465. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91466. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  91467. _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  91468. ;;
  91469. *)
  91470. case `$CC -V 2>&1 | sed 5q` in
  91471. + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
  91472. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  91473. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  91474. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91475. + _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
  91476. + ;;
  91477. + *Sun\ F* | *Sun*Fortran*)
  91478. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  91479. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91480. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  91481. + ;;
  91482. *Sun\ C*)
  91483. # Sun C 5.9
  91484. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  91485. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91486. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91487. ;;
  91488. - *Sun\ F*)
  91489. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  91490. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  91491. + *Intel*\ [[CF]]*Compiler*)
  91492. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91493. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  91494. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  91495. + ;;
  91496. + *Portland\ Group*)
  91497. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91498. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  91499. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91500. - _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
  91501. ;;
  91502. esac
  91503. ;;
  91504. @@ -4072,7 +4797,7 @@
  91505. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  91506. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91507. case $cc_basename in
  91508. - f77* | f90* | f95*)
  91509. + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  91510. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
  91511. *)
  91512. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
  91513. @@ -4092,7 +4817,7 @@
  91514. ;;
  91515.  
  91516. sysv4*MP*)
  91517. - if test -d /usr/nec ;then
  91518. + if test -d /usr/nec; then
  91519. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
  91520. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91521. fi
  91522. @@ -4121,7 +4846,7 @@
  91523. fi
  91524. ])
  91525. case $host_os in
  91526. - # For platforms which do not support PIC, -DPIC is meaningless:
  91527. + # For platforms that do not support PIC, -DPIC is meaningless:
  91528. *djgpp*)
  91529. _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  91530. ;;
  91531. @@ -4129,9 +4854,11 @@
  91532. _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
  91533. ;;
  91534. esac
  91535. -AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
  91536. -_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
  91537. - [How to pass a linker flag through the compiler])
  91538. +
  91539. +AC_CACHE_CHECK([for $compiler option to produce PIC],
  91540. + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
  91541. + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
  91542. +_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
  91543.  
  91544. #
  91545. # Check to make sure the PIC flag actually works.
  91546. @@ -4150,6 +4877,8 @@
  91547. _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
  91548. [Additional compiler flags for building library objects])
  91549.  
  91550. +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
  91551. + [How to pass a linker flag through the compiler])
  91552. #
  91553. # Check to make sure the static flag actually works.
  91554. #
  91555. @@ -4170,6 +4899,7 @@
  91556. m4_defun([_LT_LINKER_SHLIBS],
  91557. [AC_REQUIRE([LT_PATH_LD])dnl
  91558. AC_REQUIRE([LT_PATH_NM])dnl
  91559. +m4_require([_LT_PATH_MANIFEST_TOOL])dnl
  91560. m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  91561. m4_require([_LT_DECL_EGREP])dnl
  91562. m4_require([_LT_DECL_SED])dnl
  91563. @@ -4178,30 +4908,41 @@
  91564. AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  91565. m4_if([$1], [CXX], [
  91566. _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  91567. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  91568. case $host_os in
  91569. aix[[4-9]]*)
  91570. # If we're using GNU nm, then we don't want the "-C" option.
  91571. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  91572. + # -C means demangle to GNU nm, but means don't demangle to AIX nm.
  91573. + # Without the "-l" option, or with the "-B" option, AIX nm treats
  91574. + # weak defined symbols like other global defined symbols, whereas
  91575. + # GNU nm marks them as "W".
  91576. + # While the 'weak' keyword is ignored in the Export File, we need
  91577. + # it in the Import File for the 'aix-soname' feature, so we have
  91578. + # to replace the "-B" option with "-P" for AIX nm.
  91579. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  91580. - _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'
  91581. + _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'
  91582. else
  91583. - _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'
  91584. + _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'
  91585. fi
  91586. ;;
  91587. pw32*)
  91588. - _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  91589. - ;;
  91590. + _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds
  91591. + ;;
  91592. cygwin* | mingw* | cegcc*)
  91593. - _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'
  91594. - ;;
  91595. - linux* | k*bsd*-gnu)
  91596. - _LT_TAGVAR(link_all_deplibs, $1)=no
  91597. - ;;
  91598. + case $cc_basename in
  91599. + cl*)
  91600. + _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  91601. + ;;
  91602. + *)
  91603. + _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'
  91604. + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
  91605. + ;;
  91606. + esac
  91607. + ;;
  91608. *)
  91609. _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  91610. - ;;
  91611. + ;;
  91612. esac
  91613. - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  91614. ], [
  91615. runpath_var=
  91616. _LT_TAGVAR(allow_undefined_flag, $1)=
  91617. @@ -4216,7 +4957,6 @@
  91618. _LT_TAGVAR(hardcode_direct, $1)=no
  91619. _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  91620. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  91621. - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  91622. _LT_TAGVAR(hardcode_libdir_separator, $1)=
  91623. _LT_TAGVAR(hardcode_minus_L, $1)=no
  91624. _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  91625. @@ -4232,9 +4972,9 @@
  91626. # included in the symbol list
  91627. _LT_TAGVAR(include_expsyms, $1)=
  91628. # exclude_expsyms can be an extended regexp of symbols to exclude
  91629. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  91630. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  91631. - # as well as any symbol that contains `d'.
  91632. + # it will be wrapped by ' (' and ')$', so one must not match beginning or
  91633. + # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
  91634. + # as well as any symbol that contains 'd'.
  91635. _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  91636. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  91637. # platforms (ab)use it in PIC code, but their linkers get confused if
  91638. @@ -4250,7 +4990,7 @@
  91639. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  91640. # When not using gcc, we currently assume that we are using
  91641. # Microsoft Visual C++.
  91642. - if test "$GCC" != yes; then
  91643. + if test yes != "$GCC"; then
  91644. with_gnu_ld=no
  91645. fi
  91646. ;;
  91647. @@ -4258,33 +4998,56 @@
  91648. # we just hope/assume this is gcc and not c89 (= MSVC++)
  91649. with_gnu_ld=yes
  91650. ;;
  91651. - openbsd*)
  91652. + openbsd* | bitrig*)
  91653. with_gnu_ld=no
  91654. ;;
  91655. - linux* | k*bsd*-gnu)
  91656. - _LT_TAGVAR(link_all_deplibs, $1)=no
  91657. - ;;
  91658. esac
  91659.  
  91660. _LT_TAGVAR(ld_shlibs, $1)=yes
  91661. - if test "$with_gnu_ld" = yes; then
  91662. +
  91663. + # On some targets, GNU ld is compatible enough with the native linker
  91664. + # that we're better off using the native interface for both.
  91665. + lt_use_gnu_ld_interface=no
  91666. + if test yes = "$with_gnu_ld"; then
  91667. + case $host_os in
  91668. + aix*)
  91669. + # The AIX port of GNU ld has always aspired to compatibility
  91670. + # with the native linker. However, as the warning in the GNU ld
  91671. + # block says, versions before 2.19.5* couldn't really create working
  91672. + # shared libraries, regardless of the interface used.
  91673. + case `$LD -v 2>&1` in
  91674. + *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  91675. + *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
  91676. + *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
  91677. + *)
  91678. + lt_use_gnu_ld_interface=yes
  91679. + ;;
  91680. + esac
  91681. + ;;
  91682. + *)
  91683. + lt_use_gnu_ld_interface=yes
  91684. + ;;
  91685. + esac
  91686. + fi
  91687. +
  91688. + if test yes = "$lt_use_gnu_ld_interface"; then
  91689. # If archive_cmds runs LD, not CC, wlarc should be empty
  91690. - wlarc='${wl}'
  91691. + wlarc='$wl'
  91692.  
  91693. # Set some defaults for GNU ld with shared library support. These
  91694. # are reset later if shared libraries are not supported. Putting them
  91695. # here allows them to be overridden if necessary.
  91696. runpath_var=LD_RUN_PATH
  91697. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  91698. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  91699. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  91700. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
  91701. # ancient GNU ld didn't support --whole-archive et. al.
  91702. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  91703. - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  91704. + _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  91705. else
  91706. _LT_TAGVAR(whole_archive_flag_spec, $1)=
  91707. fi
  91708. supports_anon_versioning=no
  91709. - case `$LD -v 2>&1` in
  91710. + case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
  91711. *GNU\ gold*) supports_anon_versioning=yes ;;
  91712. *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
  91713. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  91714. @@ -4297,15 +5060,16 @@
  91715. case $host_os in
  91716. aix[[3-9]]*)
  91717. # On AIX/PPC, the GNU linker is very broken
  91718. - if test "$host_cpu" != ia64; then
  91719. + if test ia64 != "$host_cpu"; then
  91720. _LT_TAGVAR(ld_shlibs, $1)=no
  91721. cat <<_LT_EOF 1>&2
  91722.  
  91723. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  91724. +*** Warning: the GNU linker, at least up to release 2.19, is reported
  91725. *** to be unable to reliably create shared libraries on AIX.
  91726. *** Therefore, libtool is disabling shared libraries support. If you
  91727. -*** really care for shared libraries, you may want to modify your PATH
  91728. -*** so that a non-GNU linker is found, and then restart.
  91729. +*** really care for shared libraries, you may want to install binutils
  91730. +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  91731. +*** You will then need to restart the configuration process.
  91732.  
  91733. _LT_EOF
  91734. fi
  91735. @@ -4315,7 +5079,7 @@
  91736. case $host_cpu in
  91737. powerpc)
  91738. # see comment about AmigaOS4 .so support
  91739. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  91740. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  91741. _LT_TAGVAR(archive_expsym_cmds, $1)=''
  91742. ;;
  91743. m68k)
  91744. @@ -4331,7 +5095,7 @@
  91745. _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  91746. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  91747. # support --undefined. This deserves some investigation. FIXME
  91748. - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  91749. + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  91750. else
  91751. _LT_TAGVAR(ld_shlibs, $1)=no
  91752. fi
  91753. @@ -4341,61 +5105,97 @@
  91754. # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  91755. # as there is no search path for DLLs.
  91756. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  91757. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
  91758. _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  91759. _LT_TAGVAR(always_export_symbols, $1)=no
  91760. _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  91761. - _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'
  91762. + _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'
  91763. + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
  91764.  
  91765. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  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 (1st line
  91768. - # is EXPORTS), use it as is; otherwise, prepend...
  91769. - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; 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. + _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'
  91777. + # If the export-symbols file already is a .def file, use it as
  91778. + # is; otherwise, prepend EXPORTS...
  91779. + _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
  91780. + cp $export_symbols $output_objdir/$soname.def;
  91781. + else
  91782. + echo EXPORTS > $output_objdir/$soname.def;
  91783. + cat $export_symbols >> $output_objdir/$soname.def;
  91784. + fi~
  91785. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  91786. else
  91787. _LT_TAGVAR(ld_shlibs, $1)=no
  91788. fi
  91789. ;;
  91790.  
  91791. + haiku*)
  91792. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  91793. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  91794. + ;;
  91795. +
  91796. + os2*)
  91797. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  91798. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  91799. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  91800. + shrext_cmds=.dll
  91801. + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  91802. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  91803. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  91804. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  91805. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  91806. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  91807. + emximp -o $lib $output_objdir/$libname.def'
  91808. + _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  91809. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  91810. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  91811. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  91812. + prefix_cmds="$SED"~
  91813. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  91814. + prefix_cmds="$prefix_cmds -e 1d";
  91815. + fi~
  91816. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  91817. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  91818. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  91819. + emximp -o $lib $output_objdir/$libname.def'
  91820. + _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  91821. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  91822. + ;;
  91823. +
  91824. interix[[3-9]]*)
  91825. _LT_TAGVAR(hardcode_direct, $1)=no
  91826. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  91827. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  91828. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  91829. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
  91830. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  91831. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  91832. # Instead, shared libraries are loaded at an image base (0x10000000 by
  91833. # default) and relocated if they conflict, which is a slow very memory
  91834. # consuming and fragmenting process. To avoid this, we pick a random,
  91835. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  91836. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  91837. - _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'
  91838. - _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'
  91839. + _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'
  91840. + _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'
  91841. ;;
  91842.  
  91843. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  91844. tmp_diet=no
  91845. - if test "$host_os" = linux-dietlibc; then
  91846. + if test linux-dietlibc = "$host_os"; then
  91847. case $cc_basename in
  91848. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  91849. esac
  91850. fi
  91851. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  91852. - && test "$tmp_diet" = no
  91853. + && test no = "$tmp_diet"
  91854. then
  91855. - tmp_addflag=
  91856. + tmp_addflag=' $pic_flag'
  91857. tmp_sharedflag='-shared'
  91858. case $cc_basename,$host_cpu in
  91859. pgcc*) # Portland Group C compiler
  91860. - _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'
  91861. + _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'
  91862. tmp_addflag=' $pic_flag'
  91863. ;;
  91864. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  91865. - _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'
  91866. + pgf77* | pgf90* | pgf95* | pgfortran*)
  91867. + # Portland Group f77 and f90 compilers
  91868. + _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'
  91869. tmp_addflag=' $pic_flag -Mnomain' ;;
  91870. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  91871. tmp_addflag=' -i_dynamic' ;;
  91872. @@ -4406,39 +5206,47 @@
  91873. lf95*) # Lahey Fortran 8.1
  91874. _LT_TAGVAR(whole_archive_flag_spec, $1)=
  91875. tmp_sharedflag='--shared' ;;
  91876. - xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  91877. + nagfor*) # NAGFOR 5.3
  91878. + tmp_sharedflag='-Wl,-shared' ;;
  91879. + xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  91880. tmp_sharedflag='-qmkshrobj'
  91881. tmp_addflag= ;;
  91882. + nvcc*) # Cuda Compiler Driver 2.2
  91883. + _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'
  91884. + _LT_TAGVAR(compiler_needs_object, $1)=yes
  91885. + ;;
  91886. esac
  91887. case `$CC -V 2>&1 | sed 5q` in
  91888. *Sun\ C*) # Sun C 5.9
  91889. - _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'
  91890. + _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'
  91891. _LT_TAGVAR(compiler_needs_object, $1)=yes
  91892. tmp_sharedflag='-G' ;;
  91893. *Sun\ F*) # Sun Fortran 8.3
  91894. tmp_sharedflag='-G' ;;
  91895. esac
  91896. - _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  91897. + _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  91898.  
  91899. - if test "x$supports_anon_versioning" = xyes; then
  91900. + if test yes = "$supports_anon_versioning"; then
  91901. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  91902. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  91903. - echo "local: *; };" >> $output_objdir/$libname.ver~
  91904. - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  91905. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  91906. + echo "local: *; };" >> $output_objdir/$libname.ver~
  91907. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  91908. fi
  91909.  
  91910. case $cc_basename in
  91911. - xlf*)
  91912. + tcc*)
  91913. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
  91914. + ;;
  91915. + xlf* | bgf* | bgxlf* | mpixlf*)
  91916. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  91917. _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
  91918. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  91919. - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  91920. - _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  91921. - if test "x$supports_anon_versioning" = xyes; then
  91922. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  91923. + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  91924. + if test yes = "$supports_anon_versioning"; then
  91925. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  91926. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  91927. - echo "local: *; };" >> $output_objdir/$libname.ver~
  91928. - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  91929. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  91930. + echo "local: *; };" >> $output_objdir/$libname.ver~
  91931. + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  91932. fi
  91933. ;;
  91934. esac
  91935. @@ -4447,13 +5255,13 @@
  91936. fi
  91937. ;;
  91938.  
  91939. - netbsd* | netbsdelf*-gnu)
  91940. + netbsd*)
  91941. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  91942. _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  91943. wlarc=
  91944. else
  91945. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  91946. - _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'
  91947. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  91948. + _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'
  91949. fi
  91950. ;;
  91951.  
  91952. @@ -4471,8 +5279,8 @@
  91953.  
  91954. _LT_EOF
  91955. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  91956. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  91957. - _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'
  91958. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  91959. + _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'
  91960. else
  91961. _LT_TAGVAR(ld_shlibs, $1)=no
  91962. fi
  91963. @@ -4484,7 +5292,7 @@
  91964. _LT_TAGVAR(ld_shlibs, $1)=no
  91965. cat <<_LT_EOF 1>&2
  91966.  
  91967. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  91968. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
  91969. *** reliably create shared libraries on SCO systems. Therefore, libtool
  91970. *** is disabling shared libraries support. We urge you to upgrade GNU
  91971. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  91972. @@ -4499,9 +5307,9 @@
  91973. # DT_RUNPATH tag from executables and libraries. But doing so
  91974. # requires that you compile everything twice, which is a pain.
  91975. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  91976. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  91977. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  91978. - _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'
  91979. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  91980. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  91981. + _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'
  91982. else
  91983. _LT_TAGVAR(ld_shlibs, $1)=no
  91984. fi
  91985. @@ -4518,15 +5326,15 @@
  91986.  
  91987. *)
  91988. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  91989. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  91990. - _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'
  91991. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  91992. + _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'
  91993. else
  91994. _LT_TAGVAR(ld_shlibs, $1)=no
  91995. fi
  91996. ;;
  91997. esac
  91998.  
  91999. - if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
  92000. + if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then
  92001. runpath_var=
  92002. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  92003. _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  92004. @@ -4542,7 +5350,7 @@
  92005. # Note: this linker hardcodes the directories in LIBPATH if there
  92006. # are no directories specified by -L.
  92007. _LT_TAGVAR(hardcode_minus_L, $1)=yes
  92008. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  92009. + if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
  92010. # Neither direct hardcoding nor static linking is supported with a
  92011. # broken collect2.
  92012. _LT_TAGVAR(hardcode_direct, $1)=unsupported
  92013. @@ -4550,32 +5358,57 @@
  92014. ;;
  92015.  
  92016. aix[[4-9]]*)
  92017. - if test "$host_cpu" = ia64; then
  92018. + if test ia64 = "$host_cpu"; then
  92019. # On IA64, the linker does run time linking by default, so we don't
  92020. # have to do anything special.
  92021. aix_use_runtimelinking=no
  92022. exp_sym_flag='-Bexport'
  92023. - no_entry_flag=""
  92024. + no_entry_flag=
  92025. else
  92026. # If we're using GNU nm, then we don't want the "-C" option.
  92027. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  92028. + # -C means demangle to GNU nm, but means don't demangle to AIX nm.
  92029. + # Without the "-l" option, or with the "-B" option, AIX nm treats
  92030. + # weak defined symbols like other global defined symbols, whereas
  92031. + # GNU nm marks them as "W".
  92032. + # While the 'weak' keyword is ignored in the Export File, we need
  92033. + # it in the Import File for the 'aix-soname' feature, so we have
  92034. + # to replace the "-B" option with "-P" for AIX nm.
  92035. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  92036. - _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'
  92037. + _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'
  92038. else
  92039. - _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'
  92040. + _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'
  92041. fi
  92042. aix_use_runtimelinking=no
  92043.  
  92044. # Test if we are trying to use run time linking or normal
  92045. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  92046. - # need to do runtime linking.
  92047. + # have runtime linking enabled, and use it for executables.
  92048. + # For shared libraries, we enable/disable runtime linking
  92049. + # depending on the kind of the shared library created -
  92050. + # when "with_aix_soname,aix_use_runtimelinking" is:
  92051. + # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
  92052. + # "aix,yes" lib.so shared, rtl:yes, for executables
  92053. + # lib.a static archive
  92054. + # "both,no" lib.so.V(shr.o) shared, rtl:yes
  92055. + # lib.a(lib.so.V) shared, rtl:no, for executables
  92056. + # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
  92057. + # lib.a(lib.so.V) shared, rtl:no
  92058. + # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
  92059. + # lib.a static archive
  92060. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  92061. for ld_flag in $LDFLAGS; do
  92062. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  92063. + if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
  92064. aix_use_runtimelinking=yes
  92065. break
  92066. fi
  92067. done
  92068. + if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
  92069. + # With aix-soname=svr4, we create the lib.so.V shared archives only,
  92070. + # so we don't have lib.a shared libs to link our executables.
  92071. + # We have to force runtime linking in this case.
  92072. + aix_use_runtimelinking=yes
  92073. + LDFLAGS="$LDFLAGS -Wl,-brtl"
  92074. + fi
  92075. ;;
  92076. esac
  92077.  
  92078. @@ -4594,13 +5427,21 @@
  92079. _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  92080. _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  92081. _LT_TAGVAR(link_all_deplibs, $1)=yes
  92082. - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  92083. + _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
  92084. + case $with_aix_soname,$aix_use_runtimelinking in
  92085. + aix,*) ;; # traditional, no import file
  92086. + svr4,* | *,yes) # use import file
  92087. + # The Import File defines what to hardcode.
  92088. + _LT_TAGVAR(hardcode_direct, $1)=no
  92089. + _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  92090. + ;;
  92091. + esac
  92092.  
  92093. - if test "$GCC" = yes; then
  92094. + if test yes = "$GCC"; then
  92095. case $host_os in aix4.[[012]]|aix4.[[012]].*)
  92096. # We only want to do this on AIX 4.2 and lower, the check
  92097. # below for broken collect2 doesn't work under 4.3+
  92098. - collect2name=`${CC} -print-prog-name=collect2`
  92099. + collect2name=`$CC -print-prog-name=collect2`
  92100. if test -f "$collect2name" &&
  92101. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  92102. then
  92103. @@ -4619,57 +5460,80 @@
  92104. ;;
  92105. esac
  92106. shared_flag='-shared'
  92107. - if test "$aix_use_runtimelinking" = yes; then
  92108. - shared_flag="$shared_flag "'${wl}-G'
  92109. + if test yes = "$aix_use_runtimelinking"; then
  92110. + shared_flag="$shared_flag "'$wl-G'
  92111. fi
  92112. - _LT_TAGVAR(link_all_deplibs, $1)=no
  92113. + # Need to ensure runtime linking is disabled for the traditional
  92114. + # shared library, or the linker may eventually find shared libraries
  92115. + # /with/ Import File - we do not want to mix them.
  92116. + shared_flag_aix='-shared'
  92117. + shared_flag_svr4='-shared $wl-G'
  92118. else
  92119. # not using gcc
  92120. - if test "$host_cpu" = ia64; then
  92121. + if test ia64 = "$host_cpu"; then
  92122. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  92123. # chokes on -Wl,-G. The following line is correct:
  92124. shared_flag='-G'
  92125. else
  92126. - if test "$aix_use_runtimelinking" = yes; then
  92127. - shared_flag='${wl}-G'
  92128. + if test yes = "$aix_use_runtimelinking"; then
  92129. + shared_flag='$wl-G'
  92130. else
  92131. - shared_flag='${wl}-bM:SRE'
  92132. + shared_flag='$wl-bM:SRE'
  92133. fi
  92134. + shared_flag_aix='$wl-bM:SRE'
  92135. + shared_flag_svr4='$wl-G'
  92136. fi
  92137. fi
  92138.  
  92139. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  92140. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
  92141. # It seems that -bexpall does not export symbols beginning with
  92142. # underscore (_), so it is better to generate a list of symbols to export.
  92143. _LT_TAGVAR(always_export_symbols, $1)=yes
  92144. - if test "$aix_use_runtimelinking" = yes; then
  92145. + if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
  92146. # Warning - without using the other runtime loading flags (-brtl),
  92147. # -berok will link without error, but may produce a broken library.
  92148. _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  92149. # Determine the default libpath from the value encoded in an
  92150. # empty executable.
  92151. - _LT_SYS_MODULE_PATH_AIX
  92152. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  92153. - _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"
  92154. + _LT_SYS_MODULE_PATH_AIX([$1])
  92155. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
  92156. + _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
  92157. else
  92158. - if test "$host_cpu" = ia64; then
  92159. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  92160. + if test ia64 = "$host_cpu"; then
  92161. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
  92162. _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  92163. - _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"
  92164. + _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"
  92165. else
  92166. # Determine the default libpath from the value encoded in an
  92167. # empty executable.
  92168. - _LT_SYS_MODULE_PATH_AIX
  92169. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  92170. + _LT_SYS_MODULE_PATH_AIX([$1])
  92171. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
  92172. # Warning - without using the other run time loading flags,
  92173. # -berok will link without error, but may produce a broken library.
  92174. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  92175. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  92176. - # Exported symbols can be pulled into shared objects from archives
  92177. - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  92178. + _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
  92179. + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
  92180. + if test yes = "$with_gnu_ld"; then
  92181. + # We only use this code for GNU lds that support --whole-archive.
  92182. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
  92183. + else
  92184. + # Exported symbols can be pulled into shared objects from archives
  92185. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  92186. + fi
  92187. _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  92188. - # This is similar to how AIX traditionally builds its shared libraries.
  92189. - _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'
  92190. + _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
  92191. + # -brtl affects multiple linker settings, -berok does not and is overridden later
  92192. + compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
  92193. + if test svr4 != "$with_aix_soname"; then
  92194. + # This is similar to how AIX traditionally builds its shared libraries.
  92195. + _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'
  92196. + fi
  92197. + if test aix != "$with_aix_soname"; then
  92198. + _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'
  92199. + else
  92200. + # used by -dlpreopen to get the symbols
  92201. + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
  92202. + fi
  92203. + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
  92204. fi
  92205. fi
  92206. ;;
  92207. @@ -4678,7 +5542,7 @@
  92208. case $host_cpu in
  92209. powerpc)
  92210. # see comment about AmigaOS4 .so support
  92211. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  92212. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  92213. _LT_TAGVAR(archive_expsym_cmds, $1)=''
  92214. ;;
  92215. m68k)
  92216. @@ -4698,20 +5562,65 @@
  92217. # Microsoft Visual C++.
  92218. # hardcode_libdir_flag_spec is actually meaningless, as there is
  92219. # no search path for DLLs.
  92220. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  92221. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  92222. - # Tell ltmain to make .lib files, not .a files.
  92223. - libext=lib
  92224. - # Tell ltmain to make .dll files, not .so files.
  92225. - shrext_cmds=".dll"
  92226. - # FIXME: Setting linknames here is a bad hack.
  92227. - _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  92228. - # The linker will automatically build a .lib file if we build a DLL.
  92229. - _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  92230. - # FIXME: Should let the user specify the lib program.
  92231. - _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  92232. - _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  92233. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  92234. + case $cc_basename in
  92235. + cl*)
  92236. + # Native MSVC
  92237. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  92238. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  92239. + _LT_TAGVAR(always_export_symbols, $1)=yes
  92240. + _LT_TAGVAR(file_list_spec, $1)='@'
  92241. + # Tell ltmain to make .lib files, not .a files.
  92242. + libext=lib
  92243. + # Tell ltmain to make .dll files, not .so files.
  92244. + shrext_cmds=.dll
  92245. + # FIXME: Setting linknames here is a bad hack.
  92246. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  92247. + _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
  92248. + cp "$export_symbols" "$output_objdir/$soname.def";
  92249. + echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  92250. + else
  92251. + $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  92252. + fi~
  92253. + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  92254. + linknames='
  92255. + # The linker will not automatically build a static lib if we build a DLL.
  92256. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  92257. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  92258. + _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  92259. + _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'
  92260. + # Don't use ranlib
  92261. + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
  92262. + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
  92263. + lt_tool_outputfile="@TOOL_OUTPUT@"~
  92264. + case $lt_outputfile in
  92265. + *.exe|*.EXE) ;;
  92266. + *)
  92267. + lt_outputfile=$lt_outputfile.exe
  92268. + lt_tool_outputfile=$lt_tool_outputfile.exe
  92269. + ;;
  92270. + esac~
  92271. + if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  92272. + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  92273. + $RM "$lt_outputfile.manifest";
  92274. + fi'
  92275. + ;;
  92276. + *)
  92277. + # Assume MSVC wrapper
  92278. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  92279. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  92280. + # Tell ltmain to make .lib files, not .a files.
  92281. + libext=lib
  92282. + # Tell ltmain to make .dll files, not .so files.
  92283. + shrext_cmds=.dll
  92284. + # FIXME: Setting linknames here is a bad hack.
  92285. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  92286. + # The linker will automatically build a .lib file if we build a DLL.
  92287. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  92288. + # FIXME: Should let the user specify the lib program.
  92289. + _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  92290. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  92291. + ;;
  92292. + esac
  92293. ;;
  92294.  
  92295. darwin* | rhapsody*)
  92296. @@ -4724,10 +5633,6 @@
  92297. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  92298. ;;
  92299.  
  92300. - freebsd1*)
  92301. - _LT_TAGVAR(ld_shlibs, $1)=no
  92302. - ;;
  92303. -
  92304. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  92305. # support. Future versions do this automatically, but an explicit c++rt0.o
  92306. # does not break anything, and helps significantly (at the cost of a little
  92307. @@ -4740,7 +5645,7 @@
  92308. ;;
  92309.  
  92310. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  92311. - freebsd2*)
  92312. + freebsd2.*)
  92313. _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  92314. _LT_TAGVAR(hardcode_direct, $1)=yes
  92315. _LT_TAGVAR(hardcode_minus_L, $1)=yes
  92316. @@ -4749,41 +5654,40 @@
  92317.  
  92318. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  92319. freebsd* | dragonfly*)
  92320. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  92321. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  92322. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  92323. _LT_TAGVAR(hardcode_direct, $1)=yes
  92324. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  92325. ;;
  92326.  
  92327. hpux9*)
  92328. - if test "$GCC" = yes; then
  92329. - _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'
  92330. + if test yes = "$GCC"; then
  92331. + _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'
  92332. else
  92333. - _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'
  92334. + _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'
  92335. fi
  92336. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  92337. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
  92338. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  92339. _LT_TAGVAR(hardcode_direct, $1)=yes
  92340.  
  92341. # hardcode_minus_L: Not really in the search PATH,
  92342. # but as the default location of the library.
  92343. _LT_TAGVAR(hardcode_minus_L, $1)=yes
  92344. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  92345. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  92346. ;;
  92347.  
  92348. hpux10*)
  92349. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  92350. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  92351. + if test yes,no = "$GCC,$with_gnu_ld"; then
  92352. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  92353. else
  92354. _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  92355. fi
  92356. - if test "$with_gnu_ld" = no; then
  92357. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  92358. - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  92359. + if test no = "$with_gnu_ld"; then
  92360. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
  92361. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  92362. _LT_TAGVAR(hardcode_direct, $1)=yes
  92363. _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  92364. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  92365. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  92366. # hardcode_minus_L: Not really in the search PATH,
  92367. # but as the default location of the library.
  92368. _LT_TAGVAR(hardcode_minus_L, $1)=yes
  92369. @@ -4791,33 +5695,40 @@
  92370. ;;
  92371.  
  92372. hpux11*)
  92373. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  92374. + if test yes,no = "$GCC,$with_gnu_ld"; then
  92375. case $host_cpu in
  92376. hppa*64*)
  92377. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  92378. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  92379. ;;
  92380. ia64*)
  92381. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  92382. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  92383. ;;
  92384. *)
  92385. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  92386. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  92387. ;;
  92388. esac
  92389. else
  92390. case $host_cpu in
  92391. hppa*64*)
  92392. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  92393. + _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  92394. ;;
  92395. ia64*)
  92396. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  92397. + _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  92398. ;;
  92399. *)
  92400. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  92401. + m4_if($1, [], [
  92402. + # Older versions of the 11.00 compiler do not understand -b yet
  92403. + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  92404. + _LT_LINKER_OPTION([if $CC understands -b],
  92405. + _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
  92406. + [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
  92407. + [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
  92408. + [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
  92409. ;;
  92410. esac
  92411. fi
  92412. - if test "$with_gnu_ld" = no; then
  92413. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  92414. + if test no = "$with_gnu_ld"; then
  92415. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
  92416. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  92417.  
  92418. case $host_cpu in
  92419. @@ -4828,7 +5739,7 @@
  92420. *)
  92421. _LT_TAGVAR(hardcode_direct, $1)=yes
  92422. _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  92423. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  92424. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  92425.  
  92426. # hardcode_minus_L: Not really in the search PATH,
  92427. # but as the default location of the library.
  92428. @@ -4839,29 +5750,54 @@
  92429. ;;
  92430.  
  92431. irix5* | irix6* | nonstopux*)
  92432. - if test "$GCC" = yes; then
  92433. - _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'
  92434. + if test yes = "$GCC"; then
  92435. + _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'
  92436. # Try to use the -exported_symbol ld option, if it does not
  92437. # work, assume that -exports_file does not work either and
  92438. # implicitly export all symbols.
  92439. - save_LDFLAGS="$LDFLAGS"
  92440. - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  92441. - AC_LINK_IFELSE(int foo(void) {},
  92442. - _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'
  92443. - )
  92444. - LDFLAGS="$save_LDFLAGS"
  92445. + # This should be the same for all languages, so no per-tag cache variable.
  92446. + AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
  92447. + [lt_cv_irix_exported_symbol],
  92448. + [save_LDFLAGS=$LDFLAGS
  92449. + LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
  92450. + AC_LINK_IFELSE(
  92451. + [AC_LANG_SOURCE(
  92452. + [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
  92453. + [C++], [[int foo (void) { return 0; }]],
  92454. + [Fortran 77], [[
  92455. + subroutine foo
  92456. + end]],
  92457. + [Fortran], [[
  92458. + subroutine foo
  92459. + end]])])],
  92460. + [lt_cv_irix_exported_symbol=yes],
  92461. + [lt_cv_irix_exported_symbol=no])
  92462. + LDFLAGS=$save_LDFLAGS])
  92463. + if test yes = "$lt_cv_irix_exported_symbol"; then
  92464. + _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'
  92465. + fi
  92466. else
  92467. - _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'
  92468. - _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'
  92469. + _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'
  92470. + _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'
  92471. fi
  92472. _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  92473. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  92474. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  92475. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  92476. _LT_TAGVAR(inherit_rpath, $1)=yes
  92477. _LT_TAGVAR(link_all_deplibs, $1)=yes
  92478. ;;
  92479.  
  92480. - netbsd* | netbsdelf*-gnu)
  92481. + linux*)
  92482. + case $cc_basename in
  92483. + tcc*)
  92484. + # Fabrice Bellard et al's Tiny C Compiler
  92485. + _LT_TAGVAR(ld_shlibs, $1)=yes
  92486. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  92487. + ;;
  92488. + esac
  92489. + ;;
  92490. +
  92491. + netbsd*)
  92492. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  92493. _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  92494. else
  92495. @@ -4875,7 +5811,7 @@
  92496. newsos6)
  92497. _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  92498. _LT_TAGVAR(hardcode_direct, $1)=yes
  92499. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  92500. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  92501. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  92502. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  92503. ;;
  92504. @@ -4883,27 +5819,19 @@
  92505. *nto* | *qnx*)
  92506. ;;
  92507.  
  92508. - openbsd*)
  92509. + openbsd* | bitrig*)
  92510. if test -f /usr/libexec/ld.so; then
  92511. _LT_TAGVAR(hardcode_direct, $1)=yes
  92512. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  92513. _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  92514. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  92515. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  92516. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  92517. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  92518. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  92519. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  92520. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
  92521. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
  92522. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  92523. else
  92524. - case $host_os in
  92525. - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  92526. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  92527. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  92528. - ;;
  92529. - *)
  92530. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  92531. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  92532. - ;;
  92533. - esac
  92534. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  92535. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
  92536. fi
  92537. else
  92538. _LT_TAGVAR(ld_shlibs, $1)=no
  92539. @@ -4914,33 +5842,53 @@
  92540. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  92541. _LT_TAGVAR(hardcode_minus_L, $1)=yes
  92542. _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  92543. - _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'
  92544. - _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  92545. + shrext_cmds=.dll
  92546. + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  92547. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  92548. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  92549. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  92550. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  92551. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  92552. + emximp -o $lib $output_objdir/$libname.def'
  92553. + _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  92554. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  92555. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  92556. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  92557. + prefix_cmds="$SED"~
  92558. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  92559. + prefix_cmds="$prefix_cmds -e 1d";
  92560. + fi~
  92561. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  92562. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  92563. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  92564. + emximp -o $lib $output_objdir/$libname.def'
  92565. + _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  92566. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  92567. ;;
  92568.  
  92569. osf3*)
  92570. - if test "$GCC" = yes; then
  92571. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  92572. - _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'
  92573. + if test yes = "$GCC"; then
  92574. + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
  92575. + _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'
  92576. else
  92577. _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  92578. - _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'
  92579. + _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'
  92580. fi
  92581. _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  92582. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  92583. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  92584. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  92585. ;;
  92586.  
  92587. osf4* | osf5*) # as osf3* with the addition of -msym flag
  92588. - if test "$GCC" = yes; then
  92589. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  92590. - _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'
  92591. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  92592. + if test yes = "$GCC"; then
  92593. + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
  92594. + _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'
  92595. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  92596. else
  92597. _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  92598. - _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'
  92599. + _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'
  92600. _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~
  92601. - $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'
  92602. + $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'
  92603.  
  92604. # Both c and cxx compiler support -rpath directly
  92605. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  92606. @@ -4951,24 +5899,24 @@
  92607.  
  92608. solaris*)
  92609. _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
  92610. - if test "$GCC" = yes; then
  92611. - wlarc='${wl}'
  92612. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  92613. + if test yes = "$GCC"; then
  92614. + wlarc='$wl'
  92615. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  92616. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  92617. - $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  92618. + $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'
  92619. else
  92620. case `$CC -V 2>&1` in
  92621. *"Compilers 5.0"*)
  92622. wlarc=''
  92623. - _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  92624. + _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
  92625. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  92626. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  92627. + $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  92628. ;;
  92629. *)
  92630. - wlarc='${wl}'
  92631. - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  92632. + wlarc='$wl'
  92633. + _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  92634. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  92635. - $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  92636. + $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  92637. ;;
  92638. esac
  92639. fi
  92640. @@ -4978,11 +5926,11 @@
  92641. solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  92642. *)
  92643. # The compiler driver will combine and reorder linker options,
  92644. - # but understands `-z linker_flag'. GCC discards it without `$wl',
  92645. + # but understands '-z linker_flag'. GCC discards it without '$wl',
  92646. # but is careful enough not to reorder.
  92647. # Supported since Solaris 2.6 (maybe 2.5.1?)
  92648. - if test "$GCC" = yes; then
  92649. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  92650. + if test yes = "$GCC"; then
  92651. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  92652. else
  92653. _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  92654. fi
  92655. @@ -4992,10 +5940,10 @@
  92656. ;;
  92657.  
  92658. sunos4*)
  92659. - if test "x$host_vendor" = xsequent; then
  92660. + if test sequent = "$host_vendor"; then
  92661. # Use $CC to link under sequent, because it throws in some extra .o
  92662. # files that make .init and .fini sections work.
  92663. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  92664. + _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  92665. else
  92666. _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  92667. fi
  92668. @@ -5044,43 +5992,43 @@
  92669. ;;
  92670.  
  92671. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  92672. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  92673. + _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
  92674. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  92675. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  92676. runpath_var='LD_RUN_PATH'
  92677.  
  92678. - if test "$GCC" = yes; then
  92679. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92680. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92681. + if test yes = "$GCC"; then
  92682. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92683. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92684. else
  92685. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92686. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92687. + _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92688. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92689. fi
  92690. ;;
  92691.  
  92692. sysv5* | sco3.2v5* | sco5v6*)
  92693. - # Note: We can NOT use -z defs as we might desire, because we do not
  92694. + # Note: We CANNOT use -z defs as we might desire, because we do not
  92695. # link with -lc, and that would cause any symbols used from libc to
  92696. # always be unresolved, which means just about no library would
  92697. # ever link correctly. If we're not using GNU ld we use -z text
  92698. # though, which does catch some bad symbols but isn't as heavy-handed
  92699. # as -z defs.
  92700. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  92701. - _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  92702. + _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
  92703. + _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
  92704. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  92705. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  92706. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  92707. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
  92708. _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  92709. _LT_TAGVAR(link_all_deplibs, $1)=yes
  92710. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  92711. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
  92712. runpath_var='LD_RUN_PATH'
  92713.  
  92714. - if test "$GCC" = yes; then
  92715. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92716. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92717. + if test yes = "$GCC"; then
  92718. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92719. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92720. else
  92721. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92722. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92723. + _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92724. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92725. fi
  92726. ;;
  92727.  
  92728. @@ -5095,17 +6043,17 @@
  92729. ;;
  92730. esac
  92731.  
  92732. - if test x$host_vendor = xsni; then
  92733. + if test sni = "$host_vendor"; then
  92734. case $host in
  92735. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  92736. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
  92737. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
  92738. ;;
  92739. esac
  92740. fi
  92741. fi
  92742. ])
  92743. AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  92744. -test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  92745. +test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
  92746.  
  92747. _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
  92748.  
  92749. @@ -5122,7 +6070,7 @@
  92750. # Assume -lc should be added
  92751. _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  92752.  
  92753. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  92754. + if test yes,yes = "$GCC,$enable_shared"; then
  92755. case $_LT_TAGVAR(archive_cmds, $1) in
  92756. *'~'*)
  92757. # FIXME: we may have to deal with multi-command sequences.
  92758. @@ -5131,36 +6079,38 @@
  92759. # Test whether the compiler implicitly links with -lc since on some
  92760. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  92761. # to ld, don't add -lc before -lgcc.
  92762. - AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  92763. - $RM conftest*
  92764. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  92765. -
  92766. - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  92767. - soname=conftest
  92768. - lib=conftest
  92769. - libobjs=conftest.$ac_objext
  92770. - deplibs=
  92771. - wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
  92772. - pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
  92773. - compiler_flags=-v
  92774. - linker_flags=-v
  92775. - verstring=
  92776. - output_objdir=.
  92777. - libname=conftest
  92778. - lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
  92779. - _LT_TAGVAR(allow_undefined_flag, $1)=
  92780. - if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
  92781. - then
  92782. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  92783. - else
  92784. - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  92785. - fi
  92786. - _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  92787. - else
  92788. - cat conftest.err 1>&5
  92789. - fi
  92790. - $RM conftest*
  92791. - AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
  92792. + AC_CACHE_CHECK([whether -lc should be explicitly linked in],
  92793. + [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
  92794. + [$RM conftest*
  92795. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  92796. +
  92797. + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  92798. + soname=conftest
  92799. + lib=conftest
  92800. + libobjs=conftest.$ac_objext
  92801. + deplibs=
  92802. + wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
  92803. + pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
  92804. + compiler_flags=-v
  92805. + linker_flags=-v
  92806. + verstring=
  92807. + output_objdir=.
  92808. + libname=conftest
  92809. + lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
  92810. + _LT_TAGVAR(allow_undefined_flag, $1)=
  92811. + if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
  92812. + then
  92813. + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  92814. + else
  92815. + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  92816. + fi
  92817. + _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  92818. + else
  92819. + cat conftest.err 1>&5
  92820. + fi
  92821. + $RM conftest*
  92822. + ])
  92823. + _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
  92824. ;;
  92825. esac
  92826. fi
  92827. @@ -5197,18 +6147,15 @@
  92828. _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
  92829. [Flag to hardcode $libdir into a binary during linking.
  92830. This must work even if $libdir does not exist])
  92831. -_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
  92832. - [[If ld is used when linking, flag to hardcode $libdir into a binary
  92833. - during linking. This must work even if $libdir does not exist]])
  92834. _LT_TAGDECL([], [hardcode_libdir_separator], [1],
  92835. [Whether we need a single "-rpath" flag with a separated argument])
  92836. _LT_TAGDECL([], [hardcode_direct], [0],
  92837. - [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  92838. + [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
  92839. DIR into the resulting binary])
  92840. _LT_TAGDECL([], [hardcode_direct_absolute], [0],
  92841. - [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  92842. + [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
  92843. DIR into the resulting binary and the resulting library dependency is
  92844. - "absolute", i.e impossible to change by setting ${shlibpath_var} if the
  92845. + "absolute", i.e impossible to change by setting $shlibpath_var if the
  92846. library is relocated])
  92847. _LT_TAGDECL([], [hardcode_minus_L], [0],
  92848. [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  92849. @@ -5225,8 +6172,6 @@
  92850. to runtime path list])
  92851. _LT_TAGDECL([], [link_all_deplibs], [0],
  92852. [Whether libtool must link a program against all its dependency libraries])
  92853. -_LT_TAGDECL([], [fix_srcfile_path], [1],
  92854. - [Fix the shell variable $srcfile for the compiler])
  92855. _LT_TAGDECL([], [always_export_symbols], [0],
  92856. [Set to "yes" if exported symbols are required])
  92857. _LT_TAGDECL([], [export_symbols_cmds], [2],
  92858. @@ -5237,6 +6182,8 @@
  92859. [Symbols that must always be exported])
  92860. _LT_TAGDECL([], [prelink_cmds], [2],
  92861. [Commands necessary for linking programs (against libraries) with templates])
  92862. +_LT_TAGDECL([], [postlink_cmds], [2],
  92863. + [Commands necessary for finishing linking programs])
  92864. _LT_TAGDECL([], [file_list_spec], [1],
  92865. [Specify filename containing input files])
  92866. dnl FIXME: Not yet implemented
  92867. @@ -5249,10 +6196,10 @@
  92868. # ------------------------
  92869. # Ensure that the configuration variables for a C compiler are suitably
  92870. # defined. These variables are subsequently used by _LT_CONFIG to write
  92871. -# the compiler configuration to `libtool'.
  92872. +# the compiler configuration to 'libtool'.
  92873. m4_defun([_LT_LANG_C_CONFIG],
  92874. [m4_require([_LT_DECL_EGREP])dnl
  92875. -lt_save_CC="$CC"
  92876. +lt_save_CC=$CC
  92877. AC_LANG_PUSH(C)
  92878.  
  92879. # Source file extension for C test sources.
  92880. @@ -5292,18 +6239,18 @@
  92881. LT_SYS_DLOPEN_SELF
  92882. _LT_CMD_STRIPLIB
  92883.  
  92884. - # Report which library types will actually be built
  92885. + # Report what library types will actually be built
  92886. AC_MSG_CHECKING([if libtool supports shared libraries])
  92887. AC_MSG_RESULT([$can_build_shared])
  92888.  
  92889. AC_MSG_CHECKING([whether to build shared libraries])
  92890. - test "$can_build_shared" = "no" && enable_shared=no
  92891. + test no = "$can_build_shared" && enable_shared=no
  92892.  
  92893. # On AIX, shared libraries and static libraries use the same namespace, and
  92894. # are all built from PIC.
  92895. case $host_os in
  92896. aix3*)
  92897. - test "$enable_shared" = yes && enable_static=no
  92898. + test yes = "$enable_shared" && enable_static=no
  92899. if test -n "$RANLIB"; then
  92900. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  92901. postinstall_cmds='$RANLIB $lib'
  92902. @@ -5311,8 +6258,12 @@
  92903. ;;
  92904.  
  92905. aix[[4-9]]*)
  92906. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  92907. - test "$enable_shared" = yes && enable_static=no
  92908. + if test ia64 != "$host_cpu"; then
  92909. + case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
  92910. + yes,aix,yes) ;; # shared object as lib.so file only
  92911. + yes,svr4,*) ;; # shared object as lib.so archive member only
  92912. + yes,*) enable_static=no ;; # shared object in lib.a archive as well
  92913. + esac
  92914. fi
  92915. ;;
  92916. esac
  92917. @@ -5320,47 +6271,32 @@
  92918.  
  92919. AC_MSG_CHECKING([whether to build static libraries])
  92920. # Make sure either enable_shared or enable_static is yes.
  92921. - test "$enable_shared" = yes || enable_static=yes
  92922. + test yes = "$enable_shared" || enable_static=yes
  92923. AC_MSG_RESULT([$enable_static])
  92924.  
  92925. _LT_CONFIG($1)
  92926. fi
  92927. AC_LANG_POP
  92928. -CC="$lt_save_CC"
  92929. +CC=$lt_save_CC
  92930. ])# _LT_LANG_C_CONFIG
  92931.  
  92932.  
  92933. -# _LT_PROG_CXX
  92934. -# ------------
  92935. -# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
  92936. -# compiler, we have our own version here.
  92937. -m4_defun([_LT_PROG_CXX],
  92938. -[
  92939. -pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
  92940. -AC_PROG_CXX
  92941. -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  92942. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  92943. - (test "X$CXX" != "Xg++"))) ; then
  92944. - AC_PROG_CXXCPP
  92945. -else
  92946. - _lt_caught_CXX_error=yes
  92947. -fi
  92948. -popdef([AC_MSG_ERROR])
  92949. -])# _LT_PROG_CXX
  92950. -
  92951. -dnl aclocal-1.4 backwards compatibility:
  92952. -dnl AC_DEFUN([_LT_PROG_CXX], [])
  92953. -
  92954. -
  92955. # _LT_LANG_CXX_CONFIG([TAG])
  92956. # --------------------------
  92957. # Ensure that the configuration variables for a C++ compiler are suitably
  92958. # defined. These variables are subsequently used by _LT_CONFIG to write
  92959. -# the compiler configuration to `libtool'.
  92960. +# the compiler configuration to 'libtool'.
  92961. m4_defun([_LT_LANG_CXX_CONFIG],
  92962. -[AC_REQUIRE([_LT_PROG_CXX])dnl
  92963. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  92964. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  92965. m4_require([_LT_DECL_EGREP])dnl
  92966. +m4_require([_LT_PATH_MANIFEST_TOOL])dnl
  92967. +if test -n "$CXX" && ( test no != "$CXX" &&
  92968. + ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
  92969. + (test g++ != "$CXX"))); then
  92970. + AC_PROG_CXXCPP
  92971. +else
  92972. + _lt_caught_CXX_error=yes
  92973. +fi
  92974.  
  92975. AC_LANG_PUSH(C++)
  92976. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  92977. @@ -5372,7 +6308,6 @@
  92978. _LT_TAGVAR(hardcode_direct, $1)=no
  92979. _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  92980. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  92981. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  92982. _LT_TAGVAR(hardcode_libdir_separator, $1)=
  92983. _LT_TAGVAR(hardcode_minus_L, $1)=no
  92984. _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  92985. @@ -5382,6 +6317,8 @@
  92986. _LT_TAGVAR(module_expsym_cmds, $1)=
  92987. _LT_TAGVAR(link_all_deplibs, $1)=unknown
  92988. _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  92989. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  92990. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  92991. _LT_TAGVAR(no_undefined_flag, $1)=
  92992. _LT_TAGVAR(whole_archive_flag_spec, $1)=
  92993. _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  92994. @@ -5397,7 +6334,7 @@
  92995. # the CXX compiler isn't working. Some variables (like enable_shared)
  92996. # are currently assumed to apply to all compilers on this platform,
  92997. # and will be corrupted by setting them based on a non-working compiler.
  92998. -if test "$_lt_caught_CXX_error" != yes; then
  92999. +if test yes != "$_lt_caught_CXX_error"; then
  93000. # Code to be used in simple compile tests
  93001. lt_simple_compile_test_code="int some_variable = 0;"
  93002.  
  93003. @@ -5413,6 +6350,7 @@
  93004.  
  93005. # Allow CC to be a program name with arguments.
  93006. lt_save_CC=$CC
  93007. + lt_save_CFLAGS=$CFLAGS
  93008. lt_save_LD=$LD
  93009. lt_save_GCC=$GCC
  93010. GCC=$GXX
  93011. @@ -5430,6 +6368,7 @@
  93012. fi
  93013. test -z "${LDCXX+set}" || LD=$LDCXX
  93014. CC=${CXX-"c++"}
  93015. + CFLAGS=$CXXFLAGS
  93016. compiler=$CC
  93017. _LT_TAGVAR(compiler, $1)=$CC
  93018. _LT_CC_BASENAME([$compiler])
  93019. @@ -5437,35 +6376,35 @@
  93020. if test -n "$compiler"; then
  93021. # We don't want -fno-exception when compiling C++ code, so set the
  93022. # no_builtin_flag separately
  93023. - if test "$GXX" = yes; then
  93024. + if test yes = "$GXX"; then
  93025. _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  93026. else
  93027. _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  93028. fi
  93029.  
  93030. - if test "$GXX" = yes; then
  93031. + if test yes = "$GXX"; then
  93032. # Set up default GNU C++ configuration
  93033.  
  93034. LT_PATH_LD
  93035.  
  93036. # Check if GNU C++ uses GNU ld as the underlying linker, since the
  93037. # archiving commands below assume that GNU ld is being used.
  93038. - if test "$with_gnu_ld" = yes; then
  93039. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  93040. - _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'
  93041. + if test yes = "$with_gnu_ld"; then
  93042. + _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
  93043. + _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'
  93044.  
  93045. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  93046. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  93047. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  93048. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
  93049.  
  93050. # If archive_cmds runs LD, not CC, wlarc should be empty
  93051. # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  93052. # investigate it a little bit more. (MM)
  93053. - wlarc='${wl}'
  93054. + wlarc='$wl'
  93055.  
  93056. # ancient GNU ld didn't support --whole-archive et. al.
  93057. if eval "`$CC -print-prog-name=ld` --help 2>&1" |
  93058. $GREP 'no-whole-archive' > /dev/null; then
  93059. - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  93060. + _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  93061. else
  93062. _LT_TAGVAR(whole_archive_flag_spec, $1)=
  93063. fi
  93064. @@ -5484,7 +6423,7 @@
  93065. # Commands to make compiler produce verbose output that lists
  93066. # what "hidden" libraries, object files and flags are used when
  93067. # linking a shared library.
  93068. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  93069. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  93070.  
  93071. else
  93072. GXX=no
  93073. @@ -5501,18 +6440,30 @@
  93074. _LT_TAGVAR(ld_shlibs, $1)=no
  93075. ;;
  93076. aix[[4-9]]*)
  93077. - if test "$host_cpu" = ia64; then
  93078. + if test ia64 = "$host_cpu"; then
  93079. # On IA64, the linker does run time linking by default, so we don't
  93080. # have to do anything special.
  93081. aix_use_runtimelinking=no
  93082. exp_sym_flag='-Bexport'
  93083. - no_entry_flag=""
  93084. + no_entry_flag=
  93085. else
  93086. aix_use_runtimelinking=no
  93087.  
  93088. # Test if we are trying to use run time linking or normal
  93089. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  93090. - # need to do runtime linking.
  93091. + # have runtime linking enabled, and use it for executables.
  93092. + # For shared libraries, we enable/disable runtime linking
  93093. + # depending on the kind of the shared library created -
  93094. + # when "with_aix_soname,aix_use_runtimelinking" is:
  93095. + # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
  93096. + # "aix,yes" lib.so shared, rtl:yes, for executables
  93097. + # lib.a static archive
  93098. + # "both,no" lib.so.V(shr.o) shared, rtl:yes
  93099. + # lib.a(lib.so.V) shared, rtl:no, for executables
  93100. + # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
  93101. + # lib.a(lib.so.V) shared, rtl:no
  93102. + # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
  93103. + # lib.a static archive
  93104. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  93105. for ld_flag in $LDFLAGS; do
  93106. case $ld_flag in
  93107. @@ -5522,6 +6473,13 @@
  93108. ;;
  93109. esac
  93110. done
  93111. + if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
  93112. + # With aix-soname=svr4, we create the lib.so.V shared archives only,
  93113. + # so we don't have lib.a shared libs to link our executables.
  93114. + # We have to force runtime linking in this case.
  93115. + aix_use_runtimelinking=yes
  93116. + LDFLAGS="$LDFLAGS -Wl,-brtl"
  93117. + fi
  93118. ;;
  93119. esac
  93120.  
  93121. @@ -5540,13 +6498,21 @@
  93122. _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  93123. _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  93124. _LT_TAGVAR(link_all_deplibs, $1)=yes
  93125. - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  93126. + _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
  93127. + case $with_aix_soname,$aix_use_runtimelinking in
  93128. + aix,*) ;; # no import file
  93129. + svr4,* | *,yes) # use import file
  93130. + # The Import File defines what to hardcode.
  93131. + _LT_TAGVAR(hardcode_direct, $1)=no
  93132. + _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  93133. + ;;
  93134. + esac
  93135.  
  93136. - if test "$GXX" = yes; then
  93137. + if test yes = "$GXX"; then
  93138. case $host_os in aix4.[[012]]|aix4.[[012]].*)
  93139. # We only want to do this on AIX 4.2 and lower, the check
  93140. # below for broken collect2 doesn't work under 4.3+
  93141. - collect2name=`${CC} -print-prog-name=collect2`
  93142. + collect2name=`$CC -print-prog-name=collect2`
  93143. if test -f "$collect2name" &&
  93144. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  93145. then
  93146. @@ -5564,59 +6530,84 @@
  93147. fi
  93148. esac
  93149. shared_flag='-shared'
  93150. - if test "$aix_use_runtimelinking" = yes; then
  93151. - shared_flag="$shared_flag "'${wl}-G'
  93152. + if test yes = "$aix_use_runtimelinking"; then
  93153. + shared_flag=$shared_flag' $wl-G'
  93154. fi
  93155. + # Need to ensure runtime linking is disabled for the traditional
  93156. + # shared library, or the linker may eventually find shared libraries
  93157. + # /with/ Import File - we do not want to mix them.
  93158. + shared_flag_aix='-shared'
  93159. + shared_flag_svr4='-shared $wl-G'
  93160. else
  93161. # not using gcc
  93162. - if test "$host_cpu" = ia64; then
  93163. + if test ia64 = "$host_cpu"; then
  93164. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  93165. # chokes on -Wl,-G. The following line is correct:
  93166. shared_flag='-G'
  93167. else
  93168. - if test "$aix_use_runtimelinking" = yes; then
  93169. - shared_flag='${wl}-G'
  93170. + if test yes = "$aix_use_runtimelinking"; then
  93171. + shared_flag='$wl-G'
  93172. else
  93173. - shared_flag='${wl}-bM:SRE'
  93174. + shared_flag='$wl-bM:SRE'
  93175. fi
  93176. + shared_flag_aix='$wl-bM:SRE'
  93177. + shared_flag_svr4='$wl-G'
  93178. fi
  93179. fi
  93180.  
  93181. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  93182. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
  93183. # It seems that -bexpall does not export symbols beginning with
  93184. # underscore (_), so it is better to generate a list of symbols to
  93185. # export.
  93186. _LT_TAGVAR(always_export_symbols, $1)=yes
  93187. - if test "$aix_use_runtimelinking" = yes; then
  93188. + if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
  93189. # Warning - without using the other runtime loading flags (-brtl),
  93190. # -berok will link without error, but may produce a broken library.
  93191. - _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  93192. + # The "-G" linker flag allows undefined symbols.
  93193. + _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
  93194. # Determine the default libpath from the value encoded in an empty
  93195. # executable.
  93196. - _LT_SYS_MODULE_PATH_AIX
  93197. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  93198. + _LT_SYS_MODULE_PATH_AIX([$1])
  93199. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
  93200.  
  93201. - _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"
  93202. + _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
  93203. else
  93204. - if test "$host_cpu" = ia64; then
  93205. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  93206. + if test ia64 = "$host_cpu"; then
  93207. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
  93208. _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  93209. - _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"
  93210. + _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"
  93211. else
  93212. # Determine the default libpath from the value encoded in an
  93213. # empty executable.
  93214. - _LT_SYS_MODULE_PATH_AIX
  93215. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  93216. + _LT_SYS_MODULE_PATH_AIX([$1])
  93217. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
  93218. # Warning - without using the other run time loading flags,
  93219. # -berok will link without error, but may produce a broken library.
  93220. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  93221. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  93222. - # Exported symbols can be pulled into shared objects from archives
  93223. - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  93224. + _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
  93225. + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
  93226. + if test yes = "$with_gnu_ld"; then
  93227. + # We only use this code for GNU lds that support --whole-archive.
  93228. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
  93229. + else
  93230. + # Exported symbols can be pulled into shared objects from archives
  93231. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  93232. + fi
  93233. _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  93234. - # This is similar to how AIX traditionally builds its shared
  93235. - # libraries.
  93236. - _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'
  93237. + _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
  93238. + # -brtl affects multiple linker settings, -berok does not and is overridden later
  93239. + compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
  93240. + if test svr4 != "$with_aix_soname"; then
  93241. + # This is similar to how AIX traditionally builds its shared
  93242. + # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
  93243. + _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'
  93244. + fi
  93245. + if test aix != "$with_aix_soname"; then
  93246. + _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'
  93247. + else
  93248. + # used by -dlpreopen to get the symbols
  93249. + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
  93250. + fi
  93251. + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
  93252. fi
  93253. fi
  93254. ;;
  93255. @@ -5626,7 +6617,7 @@
  93256. _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  93257. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  93258. # support --undefined. This deserves some investigation. FIXME
  93259. - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  93260. + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  93261. else
  93262. _LT_TAGVAR(ld_shlibs, $1)=no
  93263. fi
  93264. @@ -5642,32 +6633,108 @@
  93265. ;;
  93266.  
  93267. cygwin* | mingw* | pw32* | cegcc*)
  93268. - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  93269. - # as there is no search path for DLLs.
  93270. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  93271. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  93272. - _LT_TAGVAR(always_export_symbols, $1)=no
  93273. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  93274. -
  93275. - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  93276. - _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'
  93277. - # If the export-symbols file already is a .def file (1st line
  93278. - # is EXPORTS), use it as is; otherwise, prepend...
  93279. - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  93280. - cp $export_symbols $output_objdir/$soname.def;
  93281. - else
  93282. - echo EXPORTS > $output_objdir/$soname.def;
  93283. - cat $export_symbols >> $output_objdir/$soname.def;
  93284. - fi~
  93285. - $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'
  93286. - else
  93287. - _LT_TAGVAR(ld_shlibs, $1)=no
  93288. - fi
  93289. - ;;
  93290. + case $GXX,$cc_basename in
  93291. + ,cl* | no,cl*)
  93292. + # Native MSVC
  93293. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  93294. + # no search path for DLLs.
  93295. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  93296. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  93297. + _LT_TAGVAR(always_export_symbols, $1)=yes
  93298. + _LT_TAGVAR(file_list_spec, $1)='@'
  93299. + # Tell ltmain to make .lib files, not .a files.
  93300. + libext=lib
  93301. + # Tell ltmain to make .dll files, not .so files.
  93302. + shrext_cmds=.dll
  93303. + # FIXME: Setting linknames here is a bad hack.
  93304. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  93305. + _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
  93306. + cp "$export_symbols" "$output_objdir/$soname.def";
  93307. + echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  93308. + else
  93309. + $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  93310. + fi~
  93311. + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  93312. + linknames='
  93313. + # The linker will not automatically build a static lib if we build a DLL.
  93314. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  93315. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  93316. + # Don't use ranlib
  93317. + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
  93318. + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
  93319. + lt_tool_outputfile="@TOOL_OUTPUT@"~
  93320. + case $lt_outputfile in
  93321. + *.exe|*.EXE) ;;
  93322. + *)
  93323. + lt_outputfile=$lt_outputfile.exe
  93324. + lt_tool_outputfile=$lt_tool_outputfile.exe
  93325. + ;;
  93326. + esac~
  93327. + func_to_tool_file "$lt_outputfile"~
  93328. + if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  93329. + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  93330. + $RM "$lt_outputfile.manifest";
  93331. + fi'
  93332. + ;;
  93333. + *)
  93334. + # g++
  93335. + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  93336. + # as there is no search path for DLLs.
  93337. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  93338. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
  93339. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  93340. + _LT_TAGVAR(always_export_symbols, $1)=no
  93341. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  93342. +
  93343. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  93344. + _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'
  93345. + # If the export-symbols file already is a .def file, use it as
  93346. + # is; otherwise, prepend EXPORTS...
  93347. + _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
  93348. + cp $export_symbols $output_objdir/$soname.def;
  93349. + else
  93350. + echo EXPORTS > $output_objdir/$soname.def;
  93351. + cat $export_symbols >> $output_objdir/$soname.def;
  93352. + fi~
  93353. + $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'
  93354. + else
  93355. + _LT_TAGVAR(ld_shlibs, $1)=no
  93356. + fi
  93357. + ;;
  93358. + esac
  93359. + ;;
  93360. darwin* | rhapsody*)
  93361. _LT_DARWIN_LINKER_FEATURES($1)
  93362. ;;
  93363.  
  93364. + os2*)
  93365. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  93366. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  93367. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  93368. + shrext_cmds=.dll
  93369. + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  93370. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  93371. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  93372. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  93373. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  93374. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  93375. + emximp -o $lib $output_objdir/$libname.def'
  93376. + _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  93377. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  93378. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  93379. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  93380. + prefix_cmds="$SED"~
  93381. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  93382. + prefix_cmds="$prefix_cmds -e 1d";
  93383. + fi~
  93384. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  93385. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  93386. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  93387. + emximp -o $lib $output_objdir/$libname.def'
  93388. + _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  93389. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  93390. + ;;
  93391. +
  93392. dgux*)
  93393. case $cc_basename in
  93394. ec++*)
  93395. @@ -5686,7 +6753,7 @@
  93396. esac
  93397. ;;
  93398.  
  93399. - freebsd[[12]]*)
  93400. + freebsd2.*)
  93401. # C++ shared libraries reported to be fairly broken before
  93402. # switch to ELF
  93403. _LT_TAGVAR(ld_shlibs, $1)=no
  93404. @@ -5702,13 +6769,15 @@
  93405. _LT_TAGVAR(ld_shlibs, $1)=yes
  93406. ;;
  93407.  
  93408. - gnu*)
  93409. + haiku*)
  93410. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  93411. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  93412. ;;
  93413.  
  93414. hpux9*)
  93415. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  93416. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
  93417. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  93418. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  93419. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  93420. _LT_TAGVAR(hardcode_direct, $1)=yes
  93421. _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  93422. # but as the default
  93423. @@ -5720,7 +6789,7 @@
  93424. _LT_TAGVAR(ld_shlibs, $1)=no
  93425. ;;
  93426. aCC*)
  93427. - _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'
  93428. + _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'
  93429. # Commands to make compiler produce verbose output that lists
  93430. # what "hidden" libraries, object files and flags are used when
  93431. # linking a shared library.
  93432. @@ -5729,11 +6798,11 @@
  93433. # explicitly linking system object files so we need to strip them
  93434. # from the output so that they don't get included in the library
  93435. # dependencies.
  93436. - 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'
  93437. + 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"'
  93438. ;;
  93439. *)
  93440. - if test "$GXX" = yes; then
  93441. - _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'
  93442. + if test yes = "$GXX"; then
  93443. + _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'
  93444. else
  93445. # FIXME: insert proper C++ library support
  93446. _LT_TAGVAR(ld_shlibs, $1)=no
  93447. @@ -5743,15 +6812,15 @@
  93448. ;;
  93449.  
  93450. hpux10*|hpux11*)
  93451. - if test $with_gnu_ld = no; then
  93452. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  93453. + if test no = "$with_gnu_ld"; then
  93454. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
  93455. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  93456.  
  93457. case $host_cpu in
  93458. hppa*64*|ia64*)
  93459. ;;
  93460. *)
  93461. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  93462. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  93463. ;;
  93464. esac
  93465. fi
  93466. @@ -5777,13 +6846,13 @@
  93467. aCC*)
  93468. case $host_cpu in
  93469. hppa*64*)
  93470. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93471. + _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93472. ;;
  93473. ia64*)
  93474. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93475. + _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93476. ;;
  93477. *)
  93478. - _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'
  93479. + _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'
  93480. ;;
  93481. esac
  93482. # Commands to make compiler produce verbose output that lists
  93483. @@ -5794,20 +6863,20 @@
  93484. # explicitly linking system object files so we need to strip them
  93485. # from the output so that they don't get included in the library
  93486. # dependencies.
  93487. - 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'
  93488. + 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"'
  93489. ;;
  93490. *)
  93491. - if test "$GXX" = yes; then
  93492. - if test $with_gnu_ld = no; then
  93493. + if test yes = "$GXX"; then
  93494. + if test no = "$with_gnu_ld"; then
  93495. case $host_cpu in
  93496. hppa*64*)
  93497. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93498. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93499. ;;
  93500. ia64*)
  93501. - _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'
  93502. + _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'
  93503. ;;
  93504. *)
  93505. - _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'
  93506. + _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'
  93507. ;;
  93508. esac
  93509. fi
  93510. @@ -5822,22 +6891,22 @@
  93511. interix[[3-9]]*)
  93512. _LT_TAGVAR(hardcode_direct, $1)=no
  93513. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  93514. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  93515. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  93516. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
  93517. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  93518. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  93519. # Instead, shared libraries are loaded at an image base (0x10000000 by
  93520. # default) and relocated if they conflict, which is a slow very memory
  93521. # consuming and fragmenting process. To avoid this, we pick a random,
  93522. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  93523. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  93524. - _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'
  93525. - _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'
  93526. + _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'
  93527. + _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'
  93528. ;;
  93529. irix5* | irix6*)
  93530. case $cc_basename in
  93531. CC*)
  93532. # SGI C++
  93533. - _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'
  93534. + _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'
  93535.  
  93536. # Archives containing C++ object files must be created using
  93537. # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  93538. @@ -5846,22 +6915,22 @@
  93539. _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
  93540. ;;
  93541. *)
  93542. - if test "$GXX" = yes; then
  93543. - if test "$with_gnu_ld" = no; then
  93544. - _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'
  93545. + if test yes = "$GXX"; then
  93546. + if test no = "$with_gnu_ld"; then
  93547. + _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'
  93548. else
  93549. - _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'
  93550. + _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'
  93551. fi
  93552. fi
  93553. _LT_TAGVAR(link_all_deplibs, $1)=yes
  93554. ;;
  93555. esac
  93556. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  93557. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  93558. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  93559. _LT_TAGVAR(inherit_rpath, $1)=yes
  93560. ;;
  93561.  
  93562. - linux* | k*bsd*-gnu | kopensolaris*-gnu)
  93563. + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  93564. case $cc_basename in
  93565. KCC*)
  93566. # Kuck and Associates, Inc. (KAI) C++ Compiler
  93567. @@ -5869,8 +6938,8 @@
  93568. # KCC will only create a shared library if the output file
  93569. # ends with ".so" (or ".sl" for HP-UX), so rename the library
  93570. # to its proper name (with version) after linking.
  93571. - _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'
  93572. - _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'
  93573. + _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'
  93574. + _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'
  93575. # Commands to make compiler produce verbose output that lists
  93576. # what "hidden" libraries, object files and flags are used when
  93577. # linking a shared library.
  93578. @@ -5879,10 +6948,10 @@
  93579. # explicitly linking system object files so we need to strip them
  93580. # from the output so that they don't get included in the library
  93581. # dependencies.
  93582. - 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'
  93583. + 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"'
  93584.  
  93585. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  93586. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  93587. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
  93588. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
  93589.  
  93590. # Archives containing C++ object files must be created using
  93591. # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  93592. @@ -5896,59 +6965,59 @@
  93593. # earlier do not add the objects themselves.
  93594. case `$CC -V 2>&1` in
  93595. *"Version 7."*)
  93596. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  93597. - _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'
  93598. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
  93599. + _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'
  93600. ;;
  93601. *) # Version 8.0 or newer
  93602. tmp_idyn=
  93603. case $host_cpu in
  93604. ia64*) tmp_idyn=' -i_dynamic';;
  93605. esac
  93606. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  93607. - _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'
  93608. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  93609. + _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'
  93610. ;;
  93611. esac
  93612. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  93613. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  93614. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  93615. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  93616. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
  93617. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
  93618. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
  93619. ;;
  93620. pgCC* | pgcpp*)
  93621. # Portland Group C++ compiler
  93622. case `$CC -V` in
  93623. - *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
  93624. + *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
  93625. _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
  93626. - rm -rf $tpldir~
  93627. - $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  93628. - compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
  93629. + rm -rf $tpldir~
  93630. + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  93631. + compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
  93632. _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
  93633. - rm -rf $tpldir~
  93634. - $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  93635. - $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
  93636. - $RANLIB $oldlib'
  93637. + rm -rf $tpldir~
  93638. + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  93639. + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
  93640. + $RANLIB $oldlib'
  93641. _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
  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 | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  93645. + rm -rf $tpldir~
  93646. + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  93647. + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
  93648. _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
  93649. - rm -rf $tpldir~
  93650. - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  93651. - $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'
  93652. + rm -rf $tpldir~
  93653. + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  93654. + $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'
  93655. ;;
  93656. - *) # Version 6 will use weak symbols
  93657. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  93658. - _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'
  93659. + *) # Version 6 and above use weak symbols
  93660. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
  93661. + _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'
  93662. ;;
  93663. esac
  93664.  
  93665. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  93666. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  93667. - _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'
  93668. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
  93669. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
  93670. + _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'
  93671. ;;
  93672. cxx*)
  93673. # Compaq C++
  93674. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  93675. - _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'
  93676. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
  93677. + _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'
  93678.  
  93679. runpath_var=LD_RUN_PATH
  93680. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  93681. @@ -5962,18 +7031,18 @@
  93682. # explicitly linking system object files so we need to strip them
  93683. # from the output so that they don't get included in the library
  93684. # dependencies.
  93685. - 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'
  93686. + 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'
  93687. ;;
  93688. - xl*)
  93689. + xl* | mpixl* | bgxl*)
  93690. # IBM XL 8.0 on PPC, with GNU ld
  93691. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  93692. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  93693. - _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  93694. - if test "x$supports_anon_versioning" = xyes; then
  93695. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  93696. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
  93697. + _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  93698. + if test yes = "$supports_anon_versioning"; then
  93699. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  93700. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  93701. - echo "local: *; };" >> $output_objdir/$libname.ver~
  93702. - $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  93703. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  93704. + echo "local: *; };" >> $output_objdir/$libname.ver~
  93705. + $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  93706. fi
  93707. ;;
  93708. *)
  93709. @@ -5981,16 +7050,16 @@
  93710. *Sun\ C*)
  93711. # Sun C++ 5.9
  93712. _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  93713. - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93714. - _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'
  93715. + _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93716. + _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'
  93717. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  93718. - _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'
  93719. + _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'
  93720. _LT_TAGVAR(compiler_needs_object, $1)=yes
  93721.  
  93722. # Not sure whether something based on
  93723. # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  93724. # would be better.
  93725. - output_verbose_link_cmd='echo'
  93726. + output_verbose_link_cmd='func_echo_all'
  93727.  
  93728. # Archives containing C++ object files must be created using
  93729. # "CC -xar", where "CC" is the Sun C++ compiler. This is
  93730. @@ -6042,24 +7111,19 @@
  93731. _LT_TAGVAR(ld_shlibs, $1)=yes
  93732. ;;
  93733.  
  93734. - openbsd2*)
  93735. - # C++ shared libraries are fairly broken
  93736. - _LT_TAGVAR(ld_shlibs, $1)=no
  93737. - ;;
  93738. -
  93739. - openbsd*)
  93740. + openbsd* | bitrig*)
  93741. if test -f /usr/libexec/ld.so; then
  93742. _LT_TAGVAR(hardcode_direct, $1)=yes
  93743. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  93744. _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  93745. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  93746. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  93747. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  93748. - _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'
  93749. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  93750. - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  93751. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
  93752. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
  93753. + _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'
  93754. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  93755. + _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  93756. fi
  93757. - output_verbose_link_cmd=echo
  93758. + output_verbose_link_cmd=func_echo_all
  93759. else
  93760. _LT_TAGVAR(ld_shlibs, $1)=no
  93761. fi
  93762. @@ -6073,9 +7137,9 @@
  93763. # KCC will only create a shared library if the output file
  93764. # ends with ".so" (or ".sl" for HP-UX), so rename the library
  93765. # to its proper name (with version) after linking.
  93766. - _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'
  93767. + _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'
  93768.  
  93769. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  93770. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
  93771. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  93772.  
  93773. # Archives containing C++ object files must be created using
  93774. @@ -6093,17 +7157,17 @@
  93775. cxx*)
  93776. case $host in
  93777. osf3*)
  93778. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  93779. - _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'
  93780. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  93781. + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
  93782. + _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'
  93783. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  93784. ;;
  93785. *)
  93786. _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  93787. - _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'
  93788. + _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'
  93789. _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  93790. - echo "-hidden">> $lib.exp~
  93791. - $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~
  93792. - $RM $lib.exp'
  93793. + echo "-hidden">> $lib.exp~
  93794. + $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~
  93795. + $RM $lib.exp'
  93796. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  93797. ;;
  93798. esac
  93799. @@ -6118,27 +7182,27 @@
  93800. # explicitly linking system object files so we need to strip them
  93801. # from the output so that they don't get included in the library
  93802. # dependencies.
  93803. - 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'
  93804. + 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"'
  93805. ;;
  93806. *)
  93807. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  93808. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  93809. + if test yes,no = "$GXX,$with_gnu_ld"; then
  93810. + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
  93811. case $host in
  93812. osf3*)
  93813. - _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'
  93814. + _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'
  93815. ;;
  93816. *)
  93817. - _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'
  93818. + _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'
  93819. ;;
  93820. esac
  93821.  
  93822. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  93823. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  93824. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  93825.  
  93826. # Commands to make compiler produce verbose output that lists
  93827. # what "hidden" libraries, object files and flags are used when
  93828. # linking a shared library.
  93829. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  93830. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  93831.  
  93832. else
  93833. # FIXME: insert proper C++ library support
  93834. @@ -6174,13 +7238,13 @@
  93835.  
  93836. solaris*)
  93837. case $cc_basename in
  93838. - CC*)
  93839. + CC* | sunCC*)
  93840. # Sun C++ 4.2, 5.x and Centerline C++
  93841. _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
  93842. _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  93843. - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93844. + _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93845. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  93846. - $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'
  93847. + $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'
  93848.  
  93849. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  93850. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  93851. @@ -6188,14 +7252,14 @@
  93852. solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  93853. *)
  93854. # The compiler driver will combine and reorder linker options,
  93855. - # but understands `-z linker_flag'.
  93856. + # but understands '-z linker_flag'.
  93857. # Supported since Solaris 2.6 (maybe 2.5.1?)
  93858. _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  93859. ;;
  93860. esac
  93861. _LT_TAGVAR(link_all_deplibs, $1)=yes
  93862.  
  93863. - output_verbose_link_cmd='echo'
  93864. + output_verbose_link_cmd='func_echo_all'
  93865.  
  93866. # Archives containing C++ object files must be created using
  93867. # "CC -xar", where "CC" is the Sun C++ compiler. This is
  93868. @@ -6205,42 +7269,42 @@
  93869. ;;
  93870. gcx*)
  93871. # Green Hills C++ Compiler
  93872. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  93873. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
  93874.  
  93875. # The C++ compiler must be used to create the archive.
  93876. _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  93877. ;;
  93878. *)
  93879. # GNU C++ compiler with Solaris linker
  93880. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  93881. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
  93882. + if test yes,no = "$GXX,$with_gnu_ld"; then
  93883. + _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
  93884. if $CC --version | $GREP -v '^2\.7' > /dev/null; then
  93885. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  93886. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
  93887. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  93888. - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  93889. + $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'
  93890.  
  93891. # Commands to make compiler produce verbose output that lists
  93892. # what "hidden" libraries, object files and flags are used when
  93893. # linking a shared library.
  93894. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  93895. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  93896. else
  93897. - # g++ 2.7 appears to require `-G' NOT `-shared' on this
  93898. + # g++ 2.7 appears to require '-G' NOT '-shared' on this
  93899. # platform.
  93900. - _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  93901. + _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
  93902. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  93903. - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  93904. + $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'
  93905.  
  93906. # Commands to make compiler produce verbose output that lists
  93907. # what "hidden" libraries, object files and flags are used when
  93908. # linking a shared library.
  93909. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  93910. + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  93911. fi
  93912.  
  93913. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
  93914. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
  93915. case $host_os in
  93916. solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  93917. *)
  93918. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  93919. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  93920. ;;
  93921. esac
  93922. fi
  93923. @@ -6249,48 +7313,52 @@
  93924. ;;
  93925.  
  93926. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  93927. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  93928. + _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
  93929. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  93930. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  93931. runpath_var='LD_RUN_PATH'
  93932.  
  93933. case $cc_basename in
  93934. CC*)
  93935. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93936. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93937. + _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93938. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93939. ;;
  93940. *)
  93941. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93942. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93943. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93944. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93945. ;;
  93946. esac
  93947. ;;
  93948.  
  93949. sysv5* | sco3.2v5* | sco5v6*)
  93950. - # Note: We can NOT use -z defs as we might desire, because we do not
  93951. + # Note: We CANNOT use -z defs as we might desire, because we do not
  93952. # link with -lc, and that would cause any symbols used from libc to
  93953. # always be unresolved, which means just about no library would
  93954. # ever link correctly. If we're not using GNU ld we use -z text
  93955. # though, which does catch some bad symbols but isn't as heavy-handed
  93956. # as -z defs.
  93957. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  93958. - _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  93959. + _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
  93960. + _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
  93961. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  93962. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  93963. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  93964. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
  93965. _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  93966. _LT_TAGVAR(link_all_deplibs, $1)=yes
  93967. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  93968. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
  93969. runpath_var='LD_RUN_PATH'
  93970.  
  93971. case $cc_basename in
  93972. CC*)
  93973. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93974. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93975. + _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93976. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93977. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
  93978. + '"$_LT_TAGVAR(old_archive_cmds, $1)"
  93979. + _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
  93980. + '"$_LT_TAGVAR(reload_cmds, $1)"
  93981. ;;
  93982. *)
  93983. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93984. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93985. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93986. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93987. ;;
  93988. esac
  93989. ;;
  93990. @@ -6321,10 +7389,10 @@
  93991. esac
  93992.  
  93993. AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  93994. - test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  93995. + test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
  93996.  
  93997. - _LT_TAGVAR(GCC, $1)="$GXX"
  93998. - _LT_TAGVAR(LD, $1)="$LD"
  93999. + _LT_TAGVAR(GCC, $1)=$GXX
  94000. + _LT_TAGVAR(LD, $1)=$LD
  94001.  
  94002. ## CAVEAT EMPTOR:
  94003. ## There is no encapsulation within the following macros, do not change
  94004. @@ -6342,6 +7410,7 @@
  94005. fi # test -n "$compiler"
  94006.  
  94007. CC=$lt_save_CC
  94008. + CFLAGS=$lt_save_CFLAGS
  94009. LDCXX=$LD
  94010. LD=$lt_save_LD
  94011. GCC=$lt_save_GCC
  94012. @@ -6350,12 +7419,36 @@
  94013. lt_cv_path_LD=$lt_save_path_LD
  94014. lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  94015. lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  94016. -fi # test "$_lt_caught_CXX_error" != yes
  94017. +fi # test yes != "$_lt_caught_CXX_error"
  94018.  
  94019. AC_LANG_POP
  94020. ])# _LT_LANG_CXX_CONFIG
  94021.  
  94022.  
  94023. +# _LT_FUNC_STRIPNAME_CNF
  94024. +# ----------------------
  94025. +# func_stripname_cnf prefix suffix name
  94026. +# strip PREFIX and SUFFIX off of NAME.
  94027. +# PREFIX and SUFFIX must not contain globbing or regex special
  94028. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  94029. +# dot (in which case that matches only a dot).
  94030. +#
  94031. +# This function is identical to the (non-XSI) version of func_stripname,
  94032. +# except this one can be used by m4 code that may be executed by configure,
  94033. +# rather than the libtool script.
  94034. +m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl
  94035. +AC_REQUIRE([_LT_DECL_SED])
  94036. +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])
  94037. +func_stripname_cnf ()
  94038. +{
  94039. + case @S|@2 in
  94040. + .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
  94041. + *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
  94042. + esac
  94043. +} # func_stripname_cnf
  94044. +])# _LT_FUNC_STRIPNAME_CNF
  94045. +
  94046. +
  94047. # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
  94048. # ---------------------------------
  94049. # Figure out "hidden" library dependencies from verbose
  94050. @@ -6364,6 +7457,7 @@
  94051. # objects, libraries and library flags.
  94052. m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
  94053. [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  94054. +AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl
  94055. # Dependencies to place before and after the object being linked:
  94056. _LT_TAGVAR(predep_objects, $1)=
  94057. _LT_TAGVAR(postdep_objects, $1)=
  94058. @@ -6413,7 +7507,20 @@
  94059. }
  94060. };
  94061. _LT_EOF
  94062. +], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
  94063. +package foo
  94064. +func foo() {
  94065. +}
  94066. +_LT_EOF
  94067. ])
  94068. +
  94069. +_lt_libdeps_save_CFLAGS=$CFLAGS
  94070. +case "$CC $CFLAGS " in #(
  94071. +*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
  94072. +*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
  94073. +*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
  94074. +esac
  94075. +
  94076. dnl Parse the compiler output and extract the necessary
  94077. dnl objects, libraries and library flags.
  94078. if AC_TRY_EVAL(ac_compile); then
  94079. @@ -6425,29 +7532,38 @@
  94080. pre_test_object_deps_done=no
  94081.  
  94082. for p in `eval "$output_verbose_link_cmd"`; do
  94083. - case $p in
  94084. + case $prev$p in
  94085.  
  94086. -L* | -R* | -l*)
  94087. # Some compilers place space between "-{L,R}" and the path.
  94088. # Remove the space.
  94089. - if test $p = "-L" ||
  94090. - test $p = "-R"; then
  94091. + if test x-L = "$p" ||
  94092. + test x-R = "$p"; then
  94093. prev=$p
  94094. continue
  94095. - else
  94096. - prev=
  94097. fi
  94098.  
  94099. - if test "$pre_test_object_deps_done" = no; then
  94100. - case $p in
  94101. - -L* | -R*)
  94102. + # Expand the sysroot to ease extracting the directories later.
  94103. + if test -z "$prev"; then
  94104. + case $p in
  94105. + -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
  94106. + -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
  94107. + -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
  94108. + esac
  94109. + fi
  94110. + case $p in
  94111. + =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
  94112. + esac
  94113. + if test no = "$pre_test_object_deps_done"; then
  94114. + case $prev in
  94115. + -L | -R)
  94116. # Internal compiler library paths should come after those
  94117. # provided the user. The postdeps already come after the
  94118. # user supplied libs so there is no need to process them.
  94119. if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
  94120. - _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
  94121. + _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p
  94122. else
  94123. - _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
  94124. + _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p"
  94125. fi
  94126. ;;
  94127. # The "-l" case would never come before the object being
  94128. @@ -6455,13 +7571,15 @@
  94129. esac
  94130. else
  94131. if test -z "$_LT_TAGVAR(postdeps, $1)"; then
  94132. - _LT_TAGVAR(postdeps, $1)="${prev}${p}"
  94133. + _LT_TAGVAR(postdeps, $1)=$prev$p
  94134. else
  94135. - _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
  94136. + _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p"
  94137. fi
  94138. fi
  94139. + prev=
  94140. ;;
  94141.  
  94142. + *.lto.$objext) ;; # Ignore GCC LTO objects
  94143. *.$objext)
  94144. # This assumes that the test object file only shows up
  94145. # once in the compiler output.
  94146. @@ -6470,15 +7588,15 @@
  94147. continue
  94148. fi
  94149.  
  94150. - if test "$pre_test_object_deps_done" = no; then
  94151. + if test no = "$pre_test_object_deps_done"; then
  94152. if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
  94153. - _LT_TAGVAR(predep_objects, $1)="$p"
  94154. + _LT_TAGVAR(predep_objects, $1)=$p
  94155. else
  94156. _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
  94157. fi
  94158. else
  94159. if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
  94160. - _LT_TAGVAR(postdep_objects, $1)="$p"
  94161. + _LT_TAGVAR(postdep_objects, $1)=$p
  94162. else
  94163. _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
  94164. fi
  94165. @@ -6497,6 +7615,7 @@
  94166. fi
  94167.  
  94168. $RM -f confest.$objext
  94169. +CFLAGS=$_lt_libdeps_save_CFLAGS
  94170.  
  94171. # PORTME: override above test on systems where it is broken
  94172. m4_if([$1], [CXX],
  94173. @@ -6508,51 +7627,6 @@
  94174. _LT_TAGVAR(postdep_objects,$1)=
  94175. _LT_TAGVAR(postdeps,$1)=
  94176. ;;
  94177. -
  94178. -linux*)
  94179. - case `$CC -V 2>&1 | sed 5q` in
  94180. - *Sun\ C*)
  94181. - # Sun C++ 5.9
  94182. -
  94183. - # The more standards-conforming stlport4 library is
  94184. - # incompatible with the Cstd library. Avoid specifying
  94185. - # it if it's in CXXFLAGS. Ignore libCrun as
  94186. - # -library=stlport4 depends on it.
  94187. - case " $CXX $CXXFLAGS " in
  94188. - *" -library=stlport4 "*)
  94189. - solaris_use_stlport4=yes
  94190. - ;;
  94191. - esac
  94192. -
  94193. - if test "$solaris_use_stlport4" != yes; then
  94194. - _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  94195. - fi
  94196. - ;;
  94197. - esac
  94198. - ;;
  94199. -
  94200. -solaris*)
  94201. - case $cc_basename in
  94202. - CC*)
  94203. - # The more standards-conforming stlport4 library is
  94204. - # incompatible with the Cstd library. Avoid specifying
  94205. - # it if it's in CXXFLAGS. Ignore libCrun as
  94206. - # -library=stlport4 depends on it.
  94207. - case " $CXX $CXXFLAGS " in
  94208. - *" -library=stlport4 "*)
  94209. - solaris_use_stlport4=yes
  94210. - ;;
  94211. - esac
  94212. -
  94213. - # Adding this requires a known-good setup of shared libraries for
  94214. - # Sun compiler versions before 5.6, else PIC objects from an old
  94215. - # archive will be linked into the output, leading to subtle bugs.
  94216. - if test "$solaris_use_stlport4" != yes; then
  94217. - _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  94218. - fi
  94219. - ;;
  94220. - esac
  94221. - ;;
  94222. esac
  94223. ])
  94224.  
  94225. @@ -6561,7 +7635,7 @@
  94226. esac
  94227. _LT_TAGVAR(compiler_lib_search_dirs, $1)=
  94228. if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
  94229. - _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  94230. + _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'`
  94231. fi
  94232. _LT_TAGDECL([], [compiler_lib_search_dirs], [1],
  94233. [The directories searched by this compiler when creating a shared library])
  94234. @@ -6577,32 +7651,16 @@
  94235. ])# _LT_SYS_HIDDEN_LIBDEPS
  94236.  
  94237.  
  94238. -# _LT_PROG_F77
  94239. -# ------------
  94240. -# Since AC_PROG_F77 is broken, in that it returns the empty string
  94241. -# if there is no fortran compiler, we have our own version here.
  94242. -m4_defun([_LT_PROG_F77],
  94243. -[
  94244. -pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
  94245. -AC_PROG_F77
  94246. -if test -z "$F77" || test "X$F77" = "Xno"; then
  94247. - _lt_disable_F77=yes
  94248. -fi
  94249. -popdef([AC_MSG_ERROR])
  94250. -])# _LT_PROG_F77
  94251. -
  94252. -dnl aclocal-1.4 backwards compatibility:
  94253. -dnl AC_DEFUN([_LT_PROG_F77], [])
  94254. -
  94255. -
  94256. # _LT_LANG_F77_CONFIG([TAG])
  94257. # --------------------------
  94258. # Ensure that the configuration variables for a Fortran 77 compiler are
  94259. # suitably defined. These variables are subsequently used by _LT_CONFIG
  94260. -# to write the compiler configuration to `libtool'.
  94261. +# to write the compiler configuration to 'libtool'.
  94262. m4_defun([_LT_LANG_F77_CONFIG],
  94263. -[AC_REQUIRE([_LT_PROG_F77])dnl
  94264. -AC_LANG_PUSH(Fortran 77)
  94265. +[AC_LANG_PUSH(Fortran 77)
  94266. +if test -z "$F77" || test no = "$F77"; then
  94267. + _lt_disable_F77=yes
  94268. +fi
  94269.  
  94270. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  94271. _LT_TAGVAR(allow_undefined_flag, $1)=
  94272. @@ -6612,7 +7670,6 @@
  94273. _LT_TAGVAR(hardcode_direct, $1)=no
  94274. _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  94275. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  94276. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  94277. _LT_TAGVAR(hardcode_libdir_separator, $1)=
  94278. _LT_TAGVAR(hardcode_minus_L, $1)=no
  94279. _LT_TAGVAR(hardcode_automatic, $1)=no
  94280. @@ -6621,6 +7678,8 @@
  94281. _LT_TAGVAR(module_expsym_cmds, $1)=
  94282. _LT_TAGVAR(link_all_deplibs, $1)=unknown
  94283. _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  94284. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  94285. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  94286. _LT_TAGVAR(no_undefined_flag, $1)=
  94287. _LT_TAGVAR(whole_archive_flag_spec, $1)=
  94288. _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  94289. @@ -6636,7 +7695,7 @@
  94290. # the F77 compiler isn't working. Some variables (like enable_shared)
  94291. # are currently assumed to apply to all compilers on this platform,
  94292. # and will be corrupted by setting them based on a non-working compiler.
  94293. -if test "$_lt_disable_F77" != yes; then
  94294. +if test yes != "$_lt_disable_F77"; then
  94295. # Code to be used in simple compile tests
  94296. lt_simple_compile_test_code="\
  94297. subroutine t
  94298. @@ -6658,9 +7717,11 @@
  94299. _LT_LINKER_BOILERPLATE
  94300.  
  94301. # Allow CC to be a program name with arguments.
  94302. - lt_save_CC="$CC"
  94303. + lt_save_CC=$CC
  94304. lt_save_GCC=$GCC
  94305. + lt_save_CFLAGS=$CFLAGS
  94306. CC=${F77-"f77"}
  94307. + CFLAGS=$FFLAGS
  94308. compiler=$CC
  94309. _LT_TAGVAR(compiler, $1)=$CC
  94310. _LT_CC_BASENAME([$compiler])
  94311. @@ -6670,21 +7731,25 @@
  94312. AC_MSG_RESULT([$can_build_shared])
  94313.  
  94314. AC_MSG_CHECKING([whether to build shared libraries])
  94315. - test "$can_build_shared" = "no" && enable_shared=no
  94316. + test no = "$can_build_shared" && enable_shared=no
  94317.  
  94318. # On AIX, shared libraries and static libraries use the same namespace, and
  94319. # are all built from PIC.
  94320. case $host_os in
  94321. aix3*)
  94322. - test "$enable_shared" = yes && enable_static=no
  94323. + test yes = "$enable_shared" && enable_static=no
  94324. if test -n "$RANLIB"; then
  94325. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  94326. postinstall_cmds='$RANLIB $lib'
  94327. fi
  94328. ;;
  94329. aix[[4-9]]*)
  94330. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  94331. - test "$enable_shared" = yes && enable_static=no
  94332. + if test ia64 != "$host_cpu"; then
  94333. + case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
  94334. + yes,aix,yes) ;; # shared object as lib.so file only
  94335. + yes,svr4,*) ;; # shared object as lib.so archive member only
  94336. + yes,*) enable_static=no ;; # shared object in lib.a archive as well
  94337. + esac
  94338. fi
  94339. ;;
  94340. esac
  94341. @@ -6692,11 +7757,11 @@
  94342.  
  94343. AC_MSG_CHECKING([whether to build static libraries])
  94344. # Make sure either enable_shared or enable_static is yes.
  94345. - test "$enable_shared" = yes || enable_static=yes
  94346. + test yes = "$enable_shared" || enable_static=yes
  94347. AC_MSG_RESULT([$enable_static])
  94348.  
  94349. - _LT_TAGVAR(GCC, $1)="$G77"
  94350. - _LT_TAGVAR(LD, $1)="$LD"
  94351. + _LT_TAGVAR(GCC, $1)=$G77
  94352. + _LT_TAGVAR(LD, $1)=$LD
  94353.  
  94354. ## CAVEAT EMPTOR:
  94355. ## There is no encapsulation within the following macros, do not change
  94356. @@ -6713,39 +7778,25 @@
  94357. fi # test -n "$compiler"
  94358.  
  94359. GCC=$lt_save_GCC
  94360. - CC="$lt_save_CC"
  94361. -fi # test "$_lt_disable_F77" != yes
  94362. + CC=$lt_save_CC
  94363. + CFLAGS=$lt_save_CFLAGS
  94364. +fi # test yes != "$_lt_disable_F77"
  94365.  
  94366. AC_LANG_POP
  94367. ])# _LT_LANG_F77_CONFIG
  94368.  
  94369.  
  94370. -# _LT_PROG_FC
  94371. -# -----------
  94372. -# Since AC_PROG_FC is broken, in that it returns the empty string
  94373. -# if there is no fortran compiler, we have our own version here.
  94374. -m4_defun([_LT_PROG_FC],
  94375. -[
  94376. -pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
  94377. -AC_PROG_FC
  94378. -if test -z "$FC" || test "X$FC" = "Xno"; then
  94379. - _lt_disable_FC=yes
  94380. -fi
  94381. -popdef([AC_MSG_ERROR])
  94382. -])# _LT_PROG_FC
  94383. -
  94384. -dnl aclocal-1.4 backwards compatibility:
  94385. -dnl AC_DEFUN([_LT_PROG_FC], [])
  94386. -
  94387. -
  94388. # _LT_LANG_FC_CONFIG([TAG])
  94389. # -------------------------
  94390. # Ensure that the configuration variables for a Fortran compiler are
  94391. # suitably defined. These variables are subsequently used by _LT_CONFIG
  94392. -# to write the compiler configuration to `libtool'.
  94393. +# to write the compiler configuration to 'libtool'.
  94394. m4_defun([_LT_LANG_FC_CONFIG],
  94395. -[AC_REQUIRE([_LT_PROG_FC])dnl
  94396. -AC_LANG_PUSH(Fortran)
  94397. +[AC_LANG_PUSH(Fortran)
  94398. +
  94399. +if test -z "$FC" || test no = "$FC"; then
  94400. + _lt_disable_FC=yes
  94401. +fi
  94402.  
  94403. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  94404. _LT_TAGVAR(allow_undefined_flag, $1)=
  94405. @@ -6755,7 +7806,6 @@
  94406. _LT_TAGVAR(hardcode_direct, $1)=no
  94407. _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  94408. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  94409. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  94410. _LT_TAGVAR(hardcode_libdir_separator, $1)=
  94411. _LT_TAGVAR(hardcode_minus_L, $1)=no
  94412. _LT_TAGVAR(hardcode_automatic, $1)=no
  94413. @@ -6764,6 +7814,8 @@
  94414. _LT_TAGVAR(module_expsym_cmds, $1)=
  94415. _LT_TAGVAR(link_all_deplibs, $1)=unknown
  94416. _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  94417. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  94418. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  94419. _LT_TAGVAR(no_undefined_flag, $1)=
  94420. _LT_TAGVAR(whole_archive_flag_spec, $1)=
  94421. _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  94422. @@ -6779,7 +7831,7 @@
  94423. # the FC compiler isn't working. Some variables (like enable_shared)
  94424. # are currently assumed to apply to all compilers on this platform,
  94425. # and will be corrupted by setting them based on a non-working compiler.
  94426. -if test "$_lt_disable_FC" != yes; then
  94427. +if test yes != "$_lt_disable_FC"; then
  94428. # Code to be used in simple compile tests
  94429. lt_simple_compile_test_code="\
  94430. subroutine t
  94431. @@ -6801,9 +7853,11 @@
  94432. _LT_LINKER_BOILERPLATE
  94433.  
  94434. # Allow CC to be a program name with arguments.
  94435. - lt_save_CC="$CC"
  94436. + lt_save_CC=$CC
  94437. lt_save_GCC=$GCC
  94438. + lt_save_CFLAGS=$CFLAGS
  94439. CC=${FC-"f95"}
  94440. + CFLAGS=$FCFLAGS
  94441. compiler=$CC
  94442. GCC=$ac_cv_fc_compiler_gnu
  94443.  
  94444. @@ -6815,21 +7869,25 @@
  94445. AC_MSG_RESULT([$can_build_shared])
  94446.  
  94447. AC_MSG_CHECKING([whether to build shared libraries])
  94448. - test "$can_build_shared" = "no" && enable_shared=no
  94449. + test no = "$can_build_shared" && enable_shared=no
  94450.  
  94451. # On AIX, shared libraries and static libraries use the same namespace, and
  94452. # are all built from PIC.
  94453. case $host_os in
  94454. aix3*)
  94455. - test "$enable_shared" = yes && enable_static=no
  94456. + test yes = "$enable_shared" && enable_static=no
  94457. if test -n "$RANLIB"; then
  94458. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  94459. postinstall_cmds='$RANLIB $lib'
  94460. fi
  94461. ;;
  94462. aix[[4-9]]*)
  94463. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  94464. - test "$enable_shared" = yes && enable_static=no
  94465. + if test ia64 != "$host_cpu"; then
  94466. + case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
  94467. + yes,aix,yes) ;; # shared object as lib.so file only
  94468. + yes,svr4,*) ;; # shared object as lib.so archive member only
  94469. + yes,*) enable_static=no ;; # shared object in lib.a archive as well
  94470. + esac
  94471. fi
  94472. ;;
  94473. esac
  94474. @@ -6837,11 +7895,11 @@
  94475.  
  94476. AC_MSG_CHECKING([whether to build static libraries])
  94477. # Make sure either enable_shared or enable_static is yes.
  94478. - test "$enable_shared" = yes || enable_static=yes
  94479. + test yes = "$enable_shared" || enable_static=yes
  94480. AC_MSG_RESULT([$enable_static])
  94481.  
  94482. - _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
  94483. - _LT_TAGVAR(LD, $1)="$LD"
  94484. + _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu
  94485. + _LT_TAGVAR(LD, $1)=$LD
  94486.  
  94487. ## CAVEAT EMPTOR:
  94488. ## There is no encapsulation within the following macros, do not change
  94489. @@ -6859,8 +7917,9 @@
  94490. fi # test -n "$compiler"
  94491.  
  94492. GCC=$lt_save_GCC
  94493. - CC="$lt_save_CC"
  94494. -fi # test "$_lt_disable_FC" != yes
  94495. + CC=$lt_save_CC
  94496. + CFLAGS=$lt_save_CFLAGS
  94497. +fi # test yes != "$_lt_disable_FC"
  94498.  
  94499. AC_LANG_POP
  94500. ])# _LT_LANG_FC_CONFIG
  94501. @@ -6870,7 +7929,7 @@
  94502. # --------------------------
  94503. # Ensure that the configuration variables for the GNU Java Compiler compiler
  94504. # are suitably defined. These variables are subsequently used by _LT_CONFIG
  94505. -# to write the compiler configuration to `libtool'.
  94506. +# to write the compiler configuration to 'libtool'.
  94507. m4_defun([_LT_LANG_GCJ_CONFIG],
  94508. [AC_REQUIRE([LT_PROG_GCJ])dnl
  94509. AC_LANG_SAVE
  94510. @@ -6896,19 +7955,23 @@
  94511. _LT_LINKER_BOILERPLATE
  94512.  
  94513. # Allow CC to be a program name with arguments.
  94514. -lt_save_CC="$CC"
  94515. +lt_save_CC=$CC
  94516. +lt_save_CFLAGS=$CFLAGS
  94517. lt_save_GCC=$GCC
  94518. GCC=yes
  94519. CC=${GCJ-"gcj"}
  94520. +CFLAGS=$GCJFLAGS
  94521. compiler=$CC
  94522. _LT_TAGVAR(compiler, $1)=$CC
  94523. -_LT_TAGVAR(LD, $1)="$LD"
  94524. +_LT_TAGVAR(LD, $1)=$LD
  94525. _LT_CC_BASENAME([$compiler])
  94526.  
  94527. # GCJ did not exist at the time GCC didn't implicitly link libc in.
  94528. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  94529.  
  94530. _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  94531. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  94532. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  94533.  
  94534. ## CAVEAT EMPTOR:
  94535. ## There is no encapsulation within the following macros, do not change
  94536. @@ -6928,15 +7991,87 @@
  94537. AC_LANG_RESTORE
  94538.  
  94539. GCC=$lt_save_GCC
  94540. -CC="$lt_save_CC"
  94541. +CC=$lt_save_CC
  94542. +CFLAGS=$lt_save_CFLAGS
  94543. ])# _LT_LANG_GCJ_CONFIG
  94544.  
  94545.  
  94546. +# _LT_LANG_GO_CONFIG([TAG])
  94547. +# --------------------------
  94548. +# Ensure that the configuration variables for the GNU Go compiler
  94549. +# are suitably defined. These variables are subsequently used by _LT_CONFIG
  94550. +# to write the compiler configuration to 'libtool'.
  94551. +m4_defun([_LT_LANG_GO_CONFIG],
  94552. +[AC_REQUIRE([LT_PROG_GO])dnl
  94553. +AC_LANG_SAVE
  94554. +
  94555. +# Source file extension for Go test sources.
  94556. +ac_ext=go
  94557. +
  94558. +# Object file extension for compiled Go test sources.
  94559. +objext=o
  94560. +_LT_TAGVAR(objext, $1)=$objext
  94561. +
  94562. +# Code to be used in simple compile tests
  94563. +lt_simple_compile_test_code="package main; func main() { }"
  94564. +
  94565. +# Code to be used in simple link tests
  94566. +lt_simple_link_test_code='package main; func main() { }'
  94567. +
  94568. +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  94569. +_LT_TAG_COMPILER
  94570. +
  94571. +# save warnings/boilerplate of simple test code
  94572. +_LT_COMPILER_BOILERPLATE
  94573. +_LT_LINKER_BOILERPLATE
  94574. +
  94575. +# Allow CC to be a program name with arguments.
  94576. +lt_save_CC=$CC
  94577. +lt_save_CFLAGS=$CFLAGS
  94578. +lt_save_GCC=$GCC
  94579. +GCC=yes
  94580. +CC=${GOC-"gccgo"}
  94581. +CFLAGS=$GOFLAGS
  94582. +compiler=$CC
  94583. +_LT_TAGVAR(compiler, $1)=$CC
  94584. +_LT_TAGVAR(LD, $1)=$LD
  94585. +_LT_CC_BASENAME([$compiler])
  94586. +
  94587. +# Go did not exist at the time GCC didn't implicitly link libc in.
  94588. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  94589. +
  94590. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  94591. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  94592. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  94593. +
  94594. +## CAVEAT EMPTOR:
  94595. +## There is no encapsulation within the following macros, do not change
  94596. +## the running order or otherwise move them around unless you know exactly
  94597. +## what you are doing...
  94598. +if test -n "$compiler"; then
  94599. + _LT_COMPILER_NO_RTTI($1)
  94600. + _LT_COMPILER_PIC($1)
  94601. + _LT_COMPILER_C_O($1)
  94602. + _LT_COMPILER_FILE_LOCKS($1)
  94603. + _LT_LINKER_SHLIBS($1)
  94604. + _LT_LINKER_HARDCODE_LIBPATH($1)
  94605. +
  94606. + _LT_CONFIG($1)
  94607. +fi
  94608. +
  94609. +AC_LANG_RESTORE
  94610. +
  94611. +GCC=$lt_save_GCC
  94612. +CC=$lt_save_CC
  94613. +CFLAGS=$lt_save_CFLAGS
  94614. +])# _LT_LANG_GO_CONFIG
  94615. +
  94616. +
  94617. # _LT_LANG_RC_CONFIG([TAG])
  94618. # -------------------------
  94619. # Ensure that the configuration variables for the Windows resource compiler
  94620. # are suitably defined. These variables are subsequently used by _LT_CONFIG
  94621. -# to write the compiler configuration to `libtool'.
  94622. +# to write the compiler configuration to 'libtool'.
  94623. m4_defun([_LT_LANG_RC_CONFIG],
  94624. [AC_REQUIRE([LT_PROG_RC])dnl
  94625. AC_LANG_SAVE
  94626. @@ -6952,7 +8087,7 @@
  94627. lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
  94628.  
  94629. # Code to be used in simple link tests
  94630. -lt_simple_link_test_code="$lt_simple_compile_test_code"
  94631. +lt_simple_link_test_code=$lt_simple_compile_test_code
  94632.  
  94633. # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  94634. _LT_TAG_COMPILER
  94635. @@ -6962,10 +8097,12 @@
  94636. _LT_LINKER_BOILERPLATE
  94637.  
  94638. # Allow CC to be a program name with arguments.
  94639. -lt_save_CC="$CC"
  94640. +lt_save_CC=$CC
  94641. +lt_save_CFLAGS=$CFLAGS
  94642. lt_save_GCC=$GCC
  94643. GCC=
  94644. CC=${RC-"windres"}
  94645. +CFLAGS=
  94646. compiler=$CC
  94647. _LT_TAGVAR(compiler, $1)=$CC
  94648. _LT_CC_BASENAME([$compiler])
  94649. @@ -6978,7 +8115,8 @@
  94650.  
  94651. GCC=$lt_save_GCC
  94652. AC_LANG_RESTORE
  94653. -CC="$lt_save_CC"
  94654. +CC=$lt_save_CC
  94655. +CFLAGS=$lt_save_CFLAGS
  94656. ])# _LT_LANG_RC_CONFIG
  94657.  
  94658.  
  94659. @@ -6988,7 +8126,7 @@
  94660. [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
  94661. [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
  94662. [AC_CHECK_TOOL(GCJ, gcj,)
  94663. - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
  94664. + test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
  94665. AC_SUBST(GCJFLAGS)])])[]dnl
  94666. ])
  94667.  
  94668. @@ -6998,6 +8136,13 @@
  94669. dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
  94670.  
  94671.  
  94672. +# LT_PROG_GO
  94673. +# ----------
  94674. +AC_DEFUN([LT_PROG_GO],
  94675. +[AC_CHECK_TOOL(GOC, gccgo,)
  94676. +])
  94677. +
  94678. +
  94679. # LT_PROG_RC
  94680. # ----------
  94681. AC_DEFUN([LT_PROG_RC],
  94682. @@ -7037,6 +8182,15 @@
  94683. AC_SUBST([OBJDUMP])
  94684. ])
  94685.  
  94686. +# _LT_DECL_DLLTOOL
  94687. +# ----------------
  94688. +# Ensure DLLTOOL variable is set.
  94689. +m4_defun([_LT_DECL_DLLTOOL],
  94690. +[AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  94691. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  94692. +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])
  94693. +AC_SUBST([DLLTOOL])
  94694. +])
  94695.  
  94696. # _LT_DECL_SED
  94697. # ------------
  94698. @@ -7083,7 +8237,7 @@
  94699. # Add /usr/xpg4/bin/sed as it is typically found on Solaris
  94700. # along with /bin/sed that truncates output.
  94701. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  94702. - test ! -f $lt_ac_sed && continue
  94703. + test ! -f "$lt_ac_sed" && continue
  94704. cat /dev/null > conftest.in
  94705. lt_ac_count=0
  94706. echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  94707. @@ -7100,9 +8254,9 @@
  94708. $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  94709. cmp -s conftest.out conftest.nl || break
  94710. # 10000 chars as input seems more than enough
  94711. - test $lt_ac_count -gt 10 && break
  94712. + test 10 -lt "$lt_ac_count" && break
  94713. lt_ac_count=`expr $lt_ac_count + 1`
  94714. - if test $lt_ac_count -gt $lt_ac_max; then
  94715. + if test "$lt_ac_count" -gt "$lt_ac_max"; then
  94716. lt_ac_max=$lt_ac_count
  94717. lt_cv_path_SED=$lt_ac_sed
  94718. fi
  94719. @@ -7126,27 +8280,7 @@
  94720. # Find out whether the shell is Bourne or XSI compatible,
  94721. # or has some other useful features.
  94722. m4_defun([_LT_CHECK_SHELL_FEATURES],
  94723. -[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
  94724. -# Try some XSI features
  94725. -xsi_shell=no
  94726. -( _lt_dummy="a/b/c"
  94727. - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  94728. - = c,a/b,, \
  94729. - && eval 'test $(( 1 + 1 )) -eq 2 \
  94730. - && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  94731. - && xsi_shell=yes
  94732. -AC_MSG_RESULT([$xsi_shell])
  94733. -_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
  94734. -
  94735. -AC_MSG_CHECKING([whether the shell understands "+="])
  94736. -lt_shell_append=no
  94737. -( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
  94738. - >/dev/null 2>&1 \
  94739. - && lt_shell_append=yes
  94740. -AC_MSG_RESULT([$lt_shell_append])
  94741. -_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
  94742. -
  94743. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  94744. +[if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  94745. lt_unset=unset
  94746. else
  94747. lt_unset=false
  94748. @@ -7170,208 +8304,69 @@
  94749. ])# _LT_CHECK_SHELL_FEATURES
  94750.  
  94751.  
  94752. -# _LT_PROG_XSI_SHELLFNS
  94753. -# ---------------------
  94754. -# Bourne and XSI compatible variants of some useful shell functions.
  94755. -m4_defun([_LT_PROG_XSI_SHELLFNS],
  94756. -[case $xsi_shell in
  94757. - yes)
  94758. - cat << \_LT_EOF >> "$cfgfile"
  94759. -
  94760. -# func_dirname file append nondir_replacement
  94761. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  94762. -# otherwise set result to NONDIR_REPLACEMENT.
  94763. -func_dirname ()
  94764. -{
  94765. - case ${1} in
  94766. - */*) func_dirname_result="${1%/*}${2}" ;;
  94767. - * ) func_dirname_result="${3}" ;;
  94768. - esac
  94769. -}
  94770. -
  94771. -# func_basename file
  94772. -func_basename ()
  94773. -{
  94774. - func_basename_result="${1##*/}"
  94775. -}
  94776. -
  94777. -# func_dirname_and_basename file append nondir_replacement
  94778. -# perform func_basename and func_dirname in a single function
  94779. -# call:
  94780. -# dirname: Compute the dirname of FILE. If nonempty,
  94781. -# add APPEND to the result, otherwise set result
  94782. -# to NONDIR_REPLACEMENT.
  94783. -# value returned in "$func_dirname_result"
  94784. -# basename: Compute filename of FILE.
  94785. -# value retuned in "$func_basename_result"
  94786. -# Implementation must be kept synchronized with func_dirname
  94787. -# and func_basename. For efficiency, we do not delegate to
  94788. -# those functions but instead duplicate the functionality here.
  94789. -func_dirname_and_basename ()
  94790. -{
  94791. - case ${1} in
  94792. - */*) func_dirname_result="${1%/*}${2}" ;;
  94793. - * ) func_dirname_result="${3}" ;;
  94794. - esac
  94795. - func_basename_result="${1##*/}"
  94796. -}
  94797. -
  94798. -# func_stripname prefix suffix name
  94799. -# strip PREFIX and SUFFIX off of NAME.
  94800. -# PREFIX and SUFFIX must not contain globbing or regex special
  94801. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  94802. -# dot (in which case that matches only a dot).
  94803. -func_stripname ()
  94804. -{
  94805. - # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  94806. - # positional parameters, so assign one to ordinary parameter first.
  94807. - func_stripname_result=${3}
  94808. - func_stripname_result=${func_stripname_result#"${1}"}
  94809. - func_stripname_result=${func_stripname_result%"${2}"}
  94810. -}
  94811. -
  94812. -# func_opt_split
  94813. -func_opt_split ()
  94814. -{
  94815. - func_opt_split_opt=${1%%=*}
  94816. - func_opt_split_arg=${1#*=}
  94817. -}
  94818. -
  94819. -# func_lo2o object
  94820. -func_lo2o ()
  94821. -{
  94822. - case ${1} in
  94823. - *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  94824. - *) func_lo2o_result=${1} ;;
  94825. - esac
  94826. -}
  94827. -
  94828. -# func_xform libobj-or-source
  94829. -func_xform ()
  94830. -{
  94831. - func_xform_result=${1%.*}.lo
  94832. -}
  94833. -
  94834. -# func_arith arithmetic-term...
  94835. -func_arith ()
  94836. -{
  94837. - func_arith_result=$(( $[*] ))
  94838. -}
  94839. -
  94840. -# func_len string
  94841. -# STRING may not start with a hyphen.
  94842. -func_len ()
  94843. -{
  94844. - func_len_result=${#1}
  94845. -}
  94846. -
  94847. -_LT_EOF
  94848. +# _LT_PATH_CONVERSION_FUNCTIONS
  94849. +# -----------------------------
  94850. +# Determine what file name conversion functions should be used by
  94851. +# func_to_host_file (and, implicitly, by func_to_host_path). These are needed
  94852. +# for certain cross-compile configurations and native mingw.
  94853. +m4_defun([_LT_PATH_CONVERSION_FUNCTIONS],
  94854. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  94855. +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  94856. +AC_MSG_CHECKING([how to convert $build file names to $host format])
  94857. +AC_CACHE_VAL(lt_cv_to_host_file_cmd,
  94858. +[case $host in
  94859. + *-*-mingw* )
  94860. + case $build in
  94861. + *-*-mingw* ) # actually msys
  94862. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  94863. + ;;
  94864. + *-*-cygwin* )
  94865. + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  94866. + ;;
  94867. + * ) # otherwise, assume *nix
  94868. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  94869. + ;;
  94870. + esac
  94871. ;;
  94872. - *) # Bourne compatible functions.
  94873. - cat << \_LT_EOF >> "$cfgfile"
  94874. -
  94875. -# func_dirname file append nondir_replacement
  94876. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  94877. -# otherwise set result to NONDIR_REPLACEMENT.
  94878. -func_dirname ()
  94879. -{
  94880. - # Extract subdirectory from the argument.
  94881. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  94882. - if test "X$func_dirname_result" = "X${1}"; then
  94883. - func_dirname_result="${3}"
  94884. - else
  94885. - func_dirname_result="$func_dirname_result${2}"
  94886. - fi
  94887. -}
  94888. -
  94889. -# func_basename file
  94890. -func_basename ()
  94891. -{
  94892. - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  94893. -}
  94894. -
  94895. -dnl func_dirname_and_basename
  94896. -dnl A portable version of this function is already defined in general.m4sh
  94897. -dnl so there is no need for it here.
  94898. -
  94899. -# func_stripname prefix suffix name
  94900. -# strip PREFIX and SUFFIX off of NAME.
  94901. -# PREFIX and SUFFIX must not contain globbing or regex special
  94902. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  94903. -# dot (in which case that matches only a dot).
  94904. -# func_strip_suffix prefix name
  94905. -func_stripname ()
  94906. -{
  94907. - case ${2} in
  94908. - .*) func_stripname_result=`$ECHO "X${3}" \
  94909. - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  94910. - *) func_stripname_result=`$ECHO "X${3}" \
  94911. - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  94912. - esac
  94913. -}
  94914. -
  94915. -# sed scripts:
  94916. -my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
  94917. -my_sed_long_arg='1s/^-[[^=]]*=//'
  94918. -
  94919. -# func_opt_split
  94920. -func_opt_split ()
  94921. -{
  94922. - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  94923. - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  94924. -}
  94925. -
  94926. -# func_lo2o object
  94927. -func_lo2o ()
  94928. -{
  94929. - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  94930. -}
  94931. -
  94932. -# func_xform libobj-or-source
  94933. -func_xform ()
  94934. -{
  94935. - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
  94936. -}
  94937. -
  94938. -# func_arith arithmetic-term...
  94939. -func_arith ()
  94940. -{
  94941. - func_arith_result=`expr "$[@]"`
  94942. -}
  94943. -
  94944. -# func_len string
  94945. -# STRING may not start with a hyphen.
  94946. -func_len ()
  94947. -{
  94948. - func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
  94949. -}
  94950. -
  94951. -_LT_EOF
  94952. -esac
  94953. -
  94954. -case $lt_shell_append in
  94955. - yes)
  94956. - cat << \_LT_EOF >> "$cfgfile"
  94957. -
  94958. -# func_append var value
  94959. -# Append VALUE to the end of shell variable VAR.
  94960. -func_append ()
  94961. -{
  94962. - eval "$[1]+=\$[2]"
  94963. -}
  94964. -_LT_EOF
  94965. + *-*-cygwin* )
  94966. + case $build in
  94967. + *-*-mingw* ) # actually msys
  94968. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  94969. + ;;
  94970. + *-*-cygwin* )
  94971. + lt_cv_to_host_file_cmd=func_convert_file_noop
  94972. + ;;
  94973. + * ) # otherwise, assume *nix
  94974. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  94975. + ;;
  94976. + esac
  94977. ;;
  94978. - *)
  94979. - cat << \_LT_EOF >> "$cfgfile"
  94980. -
  94981. -# func_append var value
  94982. -# Append VALUE to the end of shell variable VAR.
  94983. -func_append ()
  94984. -{
  94985. - eval "$[1]=\$$[1]\$[2]"
  94986. -}
  94987. -
  94988. -_LT_EOF
  94989. + * ) # unhandled hosts (and "normal" native builds)
  94990. + lt_cv_to_host_file_cmd=func_convert_file_noop
  94991. ;;
  94992. - esac
  94993. +esac
  94994. +])
  94995. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  94996. +AC_MSG_RESULT([$lt_cv_to_host_file_cmd])
  94997. +_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd],
  94998. + [0], [convert $build file names to $host format])dnl
  94999. +
  95000. +AC_MSG_CHECKING([how to convert $build file names to toolchain format])
  95001. +AC_CACHE_VAL(lt_cv_to_tool_file_cmd,
  95002. +[#assume ordinary cross tools, or native build.
  95003. +lt_cv_to_tool_file_cmd=func_convert_file_noop
  95004. +case $host in
  95005. + *-*-mingw* )
  95006. + case $build in
  95007. + *-*-mingw* ) # actually msys
  95008. + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  95009. + ;;
  95010. + esac
  95011. + ;;
  95012. +esac
  95013. ])
  95014. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  95015. +AC_MSG_RESULT([$lt_cv_to_tool_file_cmd])
  95016. +_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
  95017. + [0], [convert $build files to toolchain format])dnl
  95018. +])# _LT_PATH_CONVERSION_FUNCTIONS
  95019. diff -Nru Fiasco-master/m4/lt~obsolete.m4 Fiasco-master-pfiasco/m4/lt~obsolete.m4
  95020. --- Fiasco-master/m4/lt~obsolete.m4 2013-06-06 22:56:44.000000000 -0400
  95021. +++ Fiasco-master-pfiasco/m4/lt~obsolete.m4 2019-06-17 20:58:43.584199474 -0400
  95022. @@ -1,17 +1,18 @@
  95023. # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
  95024. #
  95025. -# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
  95026. +# Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
  95027. +# Foundation, Inc.
  95028. # Written by Scott James Remnant, 2004.
  95029. #
  95030. # This file is free software; the Free Software Foundation gives
  95031. # unlimited permission to copy and/or distribute it, with or without
  95032. # modifications, as long as this notice is preserved.
  95033.  
  95034. -# serial 4 lt~obsolete.m4
  95035. +# serial 5 lt~obsolete.m4
  95036.  
  95037. # These exist entirely to fool aclocal when bootstrapping libtool.
  95038. #
  95039. -# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
  95040. +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN),
  95041. # which have later been changed to m4_define as they aren't part of the
  95042. # exported API, or moved to Autoconf or Automake where they belong.
  95043. #
  95044. @@ -25,7 +26,7 @@
  95045. # included after everything else. This provides aclocal with the
  95046. # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
  95047. # because those macros already exist, or will be overwritten later.
  95048. -# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
  95049. +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
  95050. #
  95051. # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
  95052. # Yes, that means every name once taken will need to remain here until
  95053. @@ -77,7 +78,6 @@
  95054. m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
  95055. m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
  95056. m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
  95057. -m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
  95058. m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
  95059. m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
  95060. m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
  95061. @@ -90,3 +90,10 @@
  95062. m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
  95063. m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
  95064. m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
  95065. +m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
  95066. +m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
  95067. +m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
  95068. +m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
  95069. +m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
  95070. +m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
  95071. +m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
  95072. diff -Nru Fiasco-master/m4/ltoptions.m4 Fiasco-master-pfiasco/m4/ltoptions.m4
  95073. --- Fiasco-master/m4/ltoptions.m4 2013-06-06 22:56:44.000000000 -0400
  95074. +++ Fiasco-master-pfiasco/m4/ltoptions.m4 2019-06-17 20:58:43.282201412 -0400
  95075. @@ -1,13 +1,14 @@
  95076. # Helper functions for option handling. -*- Autoconf -*-
  95077. #
  95078. -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  95079. +# Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
  95080. +# Foundation, Inc.
  95081. # Written by Gary V. Vaughan, 2004
  95082. #
  95083. # This file is free software; the Free Software Foundation gives
  95084. # unlimited permission to copy and/or distribute it, with or without
  95085. # modifications, as long as this notice is preserved.
  95086.  
  95087. -# serial 6 ltoptions.m4
  95088. +# serial 8 ltoptions.m4
  95089.  
  95090. # This is to help aclocal find these macros, as it can't see m4_define.
  95091. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
  95092. @@ -28,7 +29,7 @@
  95093. [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
  95094. m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
  95095. _LT_MANGLE_DEFUN([$1], [$2]),
  95096. - [m4_warning([Unknown $1 option `$2'])])[]dnl
  95097. + [m4_warning([Unknown $1 option '$2'])])[]dnl
  95098. ])
  95099.  
  95100.  
  95101. @@ -74,13 +75,15 @@
  95102. dnl
  95103. dnl If no reference was made to various pairs of opposing options, then
  95104. dnl we run the default mode handler for the pair. For example, if neither
  95105. - dnl `shared' nor `disable-shared' was passed, we enable building of shared
  95106. + dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
  95107. dnl archives by default:
  95108. _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
  95109. _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
  95110. _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
  95111. _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
  95112. - [_LT_ENABLE_FAST_INSTALL])
  95113. + [_LT_ENABLE_FAST_INSTALL])
  95114. + _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
  95115. + [_LT_WITH_AIX_SONAME([aix])])
  95116. ])
  95117. ])# _LT_SET_OPTIONS
  95118.  
  95119. @@ -111,7 +114,7 @@
  95120. [_LT_SET_OPTION([LT_INIT], [dlopen])
  95121. AC_DIAGNOSE([obsolete],
  95122. [$0: Remove this warning and the call to _LT_SET_OPTION when you
  95123. -put the `dlopen' option into LT_INIT's first parameter.])
  95124. +put the 'dlopen' option into LT_INIT's first parameter.])
  95125. ])
  95126.  
  95127. dnl aclocal-1.4 backwards compatibility:
  95128. @@ -125,7 +128,7 @@
  95129. [enable_win32_dll=yes
  95130.  
  95131. case $host in
  95132. -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  95133. +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
  95134. AC_CHECK_TOOL(AS, as, false)
  95135. AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  95136. AC_CHECK_TOOL(OBJDUMP, objdump, false)
  95137. @@ -133,13 +136,13 @@
  95138. esac
  95139.  
  95140. test -z "$AS" && AS=as
  95141. -_LT_DECL([], [AS], [0], [Assembler program])dnl
  95142. +_LT_DECL([], [AS], [1], [Assembler program])dnl
  95143.  
  95144. test -z "$DLLTOOL" && DLLTOOL=dlltool
  95145. -_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
  95146. +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
  95147.  
  95148. test -z "$OBJDUMP" && OBJDUMP=objdump
  95149. -_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
  95150. +_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
  95151. ])# win32-dll
  95152.  
  95153. AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
  95154. @@ -147,7 +150,7 @@
  95155. _LT_SET_OPTION([LT_INIT], [win32-dll])
  95156. AC_DIAGNOSE([obsolete],
  95157. [$0: Remove this warning and the call to _LT_SET_OPTION when you
  95158. -put the `win32-dll' option into LT_INIT's first parameter.])
  95159. +put the 'win32-dll' option into LT_INIT's first parameter.])
  95160. ])
  95161.  
  95162. dnl aclocal-1.4 backwards compatibility:
  95163. @@ -156,9 +159,9 @@
  95164.  
  95165. # _LT_ENABLE_SHARED([DEFAULT])
  95166. # ----------------------------
  95167. -# implement the --enable-shared flag, and supports the `shared' and
  95168. -# `disable-shared' LT_INIT options.
  95169. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  95170. +# implement the --enable-shared flag, and supports the 'shared' and
  95171. +# 'disable-shared' LT_INIT options.
  95172. +# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
  95173. m4_define([_LT_ENABLE_SHARED],
  95174. [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
  95175. AC_ARG_ENABLE([shared],
  95176. @@ -171,14 +174,14 @@
  95177. *)
  95178. enable_shared=no
  95179. # Look at the argument we got. We use all the common list separators.
  95180. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  95181. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  95182. for pkg in $enableval; do
  95183. - IFS="$lt_save_ifs"
  95184. + IFS=$lt_save_ifs
  95185. if test "X$pkg" = "X$p"; then
  95186. enable_shared=yes
  95187. fi
  95188. done
  95189. - IFS="$lt_save_ifs"
  95190. + IFS=$lt_save_ifs
  95191. ;;
  95192. esac],
  95193. [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
  95194. @@ -210,9 +213,9 @@
  95195.  
  95196. # _LT_ENABLE_STATIC([DEFAULT])
  95197. # ----------------------------
  95198. -# implement the --enable-static flag, and support the `static' and
  95199. -# `disable-static' LT_INIT options.
  95200. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  95201. +# implement the --enable-static flag, and support the 'static' and
  95202. +# 'disable-static' LT_INIT options.
  95203. +# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
  95204. m4_define([_LT_ENABLE_STATIC],
  95205. [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
  95206. AC_ARG_ENABLE([static],
  95207. @@ -225,14 +228,14 @@
  95208. *)
  95209. enable_static=no
  95210. # Look at the argument we got. We use all the common list separators.
  95211. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  95212. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  95213. for pkg in $enableval; do
  95214. - IFS="$lt_save_ifs"
  95215. + IFS=$lt_save_ifs
  95216. if test "X$pkg" = "X$p"; then
  95217. enable_static=yes
  95218. fi
  95219. done
  95220. - IFS="$lt_save_ifs"
  95221. + IFS=$lt_save_ifs
  95222. ;;
  95223. esac],
  95224. [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
  95225. @@ -264,9 +267,9 @@
  95226.  
  95227. # _LT_ENABLE_FAST_INSTALL([DEFAULT])
  95228. # ----------------------------------
  95229. -# implement the --enable-fast-install flag, and support the `fast-install'
  95230. -# and `disable-fast-install' LT_INIT options.
  95231. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  95232. +# implement the --enable-fast-install flag, and support the 'fast-install'
  95233. +# and 'disable-fast-install' LT_INIT options.
  95234. +# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
  95235. m4_define([_LT_ENABLE_FAST_INSTALL],
  95236. [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
  95237. AC_ARG_ENABLE([fast-install],
  95238. @@ -279,14 +282,14 @@
  95239. *)
  95240. enable_fast_install=no
  95241. # Look at the argument we got. We use all the common list separators.
  95242. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  95243. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  95244. for pkg in $enableval; do
  95245. - IFS="$lt_save_ifs"
  95246. + IFS=$lt_save_ifs
  95247. if test "X$pkg" = "X$p"; then
  95248. enable_fast_install=yes
  95249. fi
  95250. done
  95251. - IFS="$lt_save_ifs"
  95252. + IFS=$lt_save_ifs
  95253. ;;
  95254. esac],
  95255. [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
  95256. @@ -303,14 +306,14 @@
  95257. [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  95258. AC_DIAGNOSE([obsolete],
  95259. [$0: Remove this warning and the call to _LT_SET_OPTION when you put
  95260. -the `fast-install' option into LT_INIT's first parameter.])
  95261. +the 'fast-install' option into LT_INIT's first parameter.])
  95262. ])
  95263.  
  95264. AU_DEFUN([AC_DISABLE_FAST_INSTALL],
  95265. [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  95266. AC_DIAGNOSE([obsolete],
  95267. [$0: Remove this warning and the call to _LT_SET_OPTION when you put
  95268. -the `disable-fast-install' option into LT_INIT's first parameter.])
  95269. +the 'disable-fast-install' option into LT_INIT's first parameter.])
  95270. ])
  95271.  
  95272. dnl aclocal-1.4 backwards compatibility:
  95273. @@ -318,19 +321,85 @@
  95274. dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
  95275.  
  95276.  
  95277. +# _LT_WITH_AIX_SONAME([DEFAULT])
  95278. +# ----------------------------------
  95279. +# implement the --with-aix-soname flag, and support the `aix-soname=aix'
  95280. +# and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
  95281. +# is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'.
  95282. +m4_define([_LT_WITH_AIX_SONAME],
  95283. +[m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl
  95284. +shared_archive_member_spec=
  95285. +case $host,$enable_shared in
  95286. +power*-*-aix[[5-9]]*,yes)
  95287. + AC_MSG_CHECKING([which variant of shared library versioning to provide])
  95288. + AC_ARG_WITH([aix-soname],
  95289. + [AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
  95290. + [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])],
  95291. + [case $withval in
  95292. + aix|svr4|both)
  95293. + ;;
  95294. + *)
  95295. + AC_MSG_ERROR([Unknown argument to --with-aix-soname])
  95296. + ;;
  95297. + esac
  95298. + lt_cv_with_aix_soname=$with_aix_soname],
  95299. + [AC_CACHE_VAL([lt_cv_with_aix_soname],
  95300. + [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)
  95301. + with_aix_soname=$lt_cv_with_aix_soname])
  95302. + AC_MSG_RESULT([$with_aix_soname])
  95303. + if test aix != "$with_aix_soname"; then
  95304. + # For the AIX way of multilib, we name the shared archive member
  95305. + # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
  95306. + # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
  95307. + # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
  95308. + # the AIX toolchain works better with OBJECT_MODE set (default 32).
  95309. + if test 64 = "${OBJECT_MODE-32}"; then
  95310. + shared_archive_member_spec=shr_64
  95311. + else
  95312. + shared_archive_member_spec=shr
  95313. + fi
  95314. + fi
  95315. + ;;
  95316. +*)
  95317. + with_aix_soname=aix
  95318. + ;;
  95319. +esac
  95320. +
  95321. +_LT_DECL([], [shared_archive_member_spec], [0],
  95322. + [Shared archive member basename, for filename based shared library versioning on AIX])dnl
  95323. +])# _LT_WITH_AIX_SONAME
  95324. +
  95325. +LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
  95326. +LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
  95327. +LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
  95328. +
  95329. +
  95330. # _LT_WITH_PIC([MODE])
  95331. # --------------------
  95332. -# implement the --with-pic flag, and support the `pic-only' and `no-pic'
  95333. +# implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
  95334. # LT_INIT options.
  95335. -# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
  95336. +# MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'.
  95337. m4_define([_LT_WITH_PIC],
  95338. [AC_ARG_WITH([pic],
  95339. - [AS_HELP_STRING([--with-pic],
  95340. + [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
  95341. [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
  95342. - [pic_mode="$withval"],
  95343. - [pic_mode=default])
  95344. -
  95345. -test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
  95346. + [lt_p=${PACKAGE-default}
  95347. + case $withval in
  95348. + yes|no) pic_mode=$withval ;;
  95349. + *)
  95350. + pic_mode=default
  95351. + # Look at the argument we got. We use all the common list separators.
  95352. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  95353. + for lt_pkg in $withval; do
  95354. + IFS=$lt_save_ifs
  95355. + if test "X$lt_pkg" = "X$lt_p"; then
  95356. + pic_mode=yes
  95357. + fi
  95358. + done
  95359. + IFS=$lt_save_ifs
  95360. + ;;
  95361. + esac],
  95362. + [pic_mode=m4_default([$1], [default])])
  95363.  
  95364. _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
  95365. ])# _LT_WITH_PIC
  95366. @@ -343,7 +412,7 @@
  95367. [_LT_SET_OPTION([LT_INIT], [pic-only])
  95368. AC_DIAGNOSE([obsolete],
  95369. [$0: Remove this warning and the call to _LT_SET_OPTION when you
  95370. -put the `pic-only' option into LT_INIT's first parameter.])
  95371. +put the 'pic-only' option into LT_INIT's first parameter.])
  95372. ])
  95373.  
  95374. dnl aclocal-1.4 backwards compatibility:
  95375. diff -Nru Fiasco-master/m4/ltversion.m4 Fiasco-master-pfiasco/m4/ltversion.m4
  95376. --- Fiasco-master/m4/ltversion.m4 2013-06-06 22:56:44.000000000 -0400
  95377. +++ Fiasco-master-pfiasco/m4/ltversion.m4 2019-06-17 20:58:43.481200135 -0400
  95378. @@ -1,23 +1,23 @@
  95379. # ltversion.m4 -- version numbers -*- Autoconf -*-
  95380. #
  95381. -# Copyright (C) 2004 Free Software Foundation, Inc.
  95382. +# Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
  95383. # Written by Scott James Remnant, 2004
  95384. #
  95385. # This file is free software; the Free Software Foundation gives
  95386. # unlimited permission to copy and/or distribute it, with or without
  95387. # modifications, as long as this notice is preserved.
  95388.  
  95389. -# Generated from ltversion.in.
  95390. +# @configure_input@
  95391.  
  95392. -# serial 3017 ltversion.m4
  95393. +# serial 4179 ltversion.m4
  95394. # This file is part of GNU Libtool
  95395.  
  95396. -m4_define([LT_PACKAGE_VERSION], [2.2.6b])
  95397. -m4_define([LT_PACKAGE_REVISION], [1.3017])
  95398. +m4_define([LT_PACKAGE_VERSION], [2.4.6])
  95399. +m4_define([LT_PACKAGE_REVISION], [2.4.6])
  95400.  
  95401. AC_DEFUN([LTVERSION_VERSION],
  95402. -[macro_version='2.2.6b'
  95403. -macro_revision='1.3017'
  95404. +[macro_version='2.4.6'
  95405. +macro_revision='2.4.6'
  95406. _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  95407. _LT_DECL(, macro_revision, 0)
  95408. ])
  95409. diff -Nru Fiasco-master/Makefile.in Fiasco-master-pfiasco/Makefile.in
  95410. --- Fiasco-master/Makefile.in 2013-06-06 22:56:44.000000000 -0400
  95411. +++ Fiasco-master-pfiasco/Makefile.in 2019-06-17 21:04:59.187769571 -0400
  95412. @@ -1,9 +1,8 @@
  95413. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  95414. +# Makefile.in generated by automake 1.16.1 from Makefile.am.
  95415. # @configure_input@
  95416.  
  95417. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  95418. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  95419. -# Inc.
  95420. +# Copyright (C) 1994-2018 Free Software Foundation, Inc.
  95421. +
  95422. # This Makefile.in is free software; the Free Software Foundation
  95423. # gives unlimited permission to copy and/or distribute it,
  95424. # with or without modifications, as long as this notice is preserved.
  95425. @@ -17,6 +16,61 @@
  95426.  
  95427.  
  95428. VPATH = @srcdir@
  95429. +am__is_gnu_make = { \
  95430. + if test -z '$(MAKELEVEL)'; then \
  95431. + false; \
  95432. + elif test -n '$(MAKE_HOST)'; then \
  95433. + true; \
  95434. + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  95435. + true; \
  95436. + else \
  95437. + false; \
  95438. + fi; \
  95439. +}
  95440. +am__make_running_with_option = \
  95441. + case $${target_option-} in \
  95442. + ?) ;; \
  95443. + *) echo "am__make_running_with_option: internal error: invalid" \
  95444. + "target option '$${target_option-}' specified" >&2; \
  95445. + exit 1;; \
  95446. + esac; \
  95447. + has_opt=no; \
  95448. + sane_makeflags=$$MAKEFLAGS; \
  95449. + if $(am__is_gnu_make); then \
  95450. + sane_makeflags=$$MFLAGS; \
  95451. + else \
  95452. + case $$MAKEFLAGS in \
  95453. + *\\[\ \ ]*) \
  95454. + bs=\\; \
  95455. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  95456. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  95457. + esac; \
  95458. + fi; \
  95459. + skip_next=no; \
  95460. + strip_trailopt () \
  95461. + { \
  95462. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  95463. + }; \
  95464. + for flg in $$sane_makeflags; do \
  95465. + test $$skip_next = yes && { skip_next=no; continue; }; \
  95466. + case $$flg in \
  95467. + *=*|--*) continue;; \
  95468. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  95469. + -*I?*) strip_trailopt 'I';; \
  95470. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  95471. + -*O?*) strip_trailopt 'O';; \
  95472. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  95473. + -*l?*) strip_trailopt 'l';; \
  95474. + -[dEDm]) skip_next=yes;; \
  95475. + -[JT]) skip_next=yes;; \
  95476. + esac; \
  95477. + case $$flg in \
  95478. + *$$target_option*) has_opt=yes; break;; \
  95479. + esac; \
  95480. + done; \
  95481. + test $$has_opt = yes
  95482. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  95483. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  95484. pkgdatadir = $(datadir)/@PACKAGE@
  95485. pkgincludedir = $(includedir)/@PACKAGE@
  95486. pkglibdir = $(libdir)/@PACKAGE@
  95487. @@ -36,30 +90,48 @@
  95488. build_triplet = @build@
  95489. host_triplet = @host@
  95490. subdir = .
  95491. -DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \
  95492. - $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
  95493. - $(srcdir)/config.h.in $(top_srcdir)/configure AUTHORS COPYING \
  95494. - ChangeLog INSTALL NEWS TODO acconfig.h config.guess config.sub \
  95495. - depcomp install-sh ltmain.sh missing
  95496. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  95497. -am__aclocal_m4_deps = $(top_srcdir)/configure.in
  95498. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  95499. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  95500. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  95501. + $(top_srcdir)/configure.ac
  95502. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  95503. $(ACLOCAL_M4)
  95504. +DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
  95505. + $(am__configure_deps) $(include_HEADERS) $(am__DIST_COMMON)
  95506. am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  95507. configure.lineno config.status.lineno
  95508. mkinstalldirs = $(install_sh) -d
  95509. CONFIG_HEADER = config.h
  95510. CONFIG_CLEAN_FILES =
  95511. CONFIG_CLEAN_VPATH_FILES =
  95512. +AM_V_P = $(am__v_P_@AM_V@)
  95513. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  95514. +am__v_P_0 = false
  95515. +am__v_P_1 = :
  95516. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  95517. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  95518. +am__v_GEN_0 = @echo " GEN " $@;
  95519. +am__v_GEN_1 =
  95520. +AM_V_at = $(am__v_at_@AM_V@)
  95521. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  95522. +am__v_at_0 = @
  95523. +am__v_at_1 =
  95524. SOURCES =
  95525. DIST_SOURCES =
  95526. -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  95527. - html-recursive info-recursive install-data-recursive \
  95528. - install-dvi-recursive install-exec-recursive \
  95529. - install-html-recursive install-info-recursive \
  95530. - install-pdf-recursive install-ps-recursive install-recursive \
  95531. - installcheck-recursive installdirs-recursive pdf-recursive \
  95532. - ps-recursive uninstall-recursive
  95533. +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
  95534. + ctags-recursive dvi-recursive html-recursive info-recursive \
  95535. + install-data-recursive install-dvi-recursive \
  95536. + install-exec-recursive install-html-recursive \
  95537. + install-info-recursive install-pdf-recursive \
  95538. + install-ps-recursive install-recursive installcheck-recursive \
  95539. + installdirs-recursive pdf-recursive ps-recursive \
  95540. + tags-recursive uninstall-recursive
  95541. +am__can_run_installinfo = \
  95542. + case $$AM_UPDATE_INFO_DIR in \
  95543. + n|no|NO) false;; \
  95544. + *) (install-info --version) >/dev/null 2>&1;; \
  95545. + esac
  95546. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  95547. am__vpath_adj = case $$p in \
  95548. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  95549. @@ -81,24 +153,58 @@
  95550. am__base_list = \
  95551. sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  95552. sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  95553. +am__uninstall_files_from_dir = { \
  95554. + test -z "$$files" \
  95555. + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
  95556. + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
  95557. + $(am__cd) "$$dir" && rm -f $$files; }; \
  95558. + }
  95559. am__installdirs = "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(includedir)"
  95560. DATA = $(pkgdata_DATA)
  95561. HEADERS = $(include_HEADERS)
  95562. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  95563. distclean-recursive maintainer-clean-recursive
  95564. -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  95565. - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  95566. - distdir dist dist-all distcheck
  95567. +am__recursive_targets = \
  95568. + $(RECURSIVE_TARGETS) \
  95569. + $(RECURSIVE_CLEAN_TARGETS) \
  95570. + $(am__extra_recursive_targets)
  95571. +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
  95572. + cscope distdir distdir-am dist dist-all distcheck
  95573. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
  95574. + $(LISP)config.h.in
  95575. +# Read a list of newline-separated strings from the standard input,
  95576. +# and print each of them once, without duplicates. Input order is
  95577. +# *not* preserved.
  95578. +am__uniquify_input = $(AWK) '\
  95579. + BEGIN { nonempty = 0; } \
  95580. + { items[$$0] = 1; nonempty = 1; } \
  95581. + END { if (nonempty) { for (i in items) print i; }; } \
  95582. +'
  95583. +# Make sure the list of sources is unique. This is necessary because,
  95584. +# e.g., the same source file might be shared among _SOURCES variables
  95585. +# for different programs/libraries.
  95586. +am__define_uniq_tagged_files = \
  95587. + list='$(am__tagged_files)'; \
  95588. + unique=`for i in $$list; do \
  95589. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  95590. + done | $(am__uniquify_input)`
  95591. ETAGS = etags
  95592. CTAGS = ctags
  95593. +CSCOPE = cscope
  95594. DIST_SUBDIRS = $(SUBDIRS)
  95595. +am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in AUTHORS \
  95596. + COPYING ChangeLog INSTALL NEWS README acconfig.h compile \
  95597. + config.guess config.sub depcomp install-sh ltmain.sh missing
  95598. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  95599. distdir = $(PACKAGE)-$(VERSION)
  95600. top_distdir = $(distdir)
  95601. am__remove_distdir = \
  95602. - { test ! -d "$(distdir)" \
  95603. - || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  95604. - && rm -fr "$(distdir)"; }; }
  95605. + if test -d "$(distdir)"; then \
  95606. + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  95607. + && rm -rf "$(distdir)" \
  95608. + || { sleep 5 && rm -rf "$(distdir)"; }; \
  95609. + else :; fi
  95610. +am__post_remove_distdir = $(am__remove_distdir)
  95611. am__relativize = \
  95612. dir0=`pwd`; \
  95613. sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  95614. @@ -126,10 +232,15 @@
  95615. reldir="$$dir2"
  95616. DIST_ARCHIVES = $(distdir).tar.gz
  95617. GZIP_ENV = --best
  95618. +DIST_TARGETS = dist-gzip
  95619. distuninstallcheck_listfiles = find . -type f -print
  95620. +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
  95621. + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
  95622. distcleancheck_listfiles = find . -type f -print
  95623. ACLOCAL = @ACLOCAL@
  95624. AMTAR = @AMTAR@
  95625. +AM_CPPFLAGS = @AM_CPPFLAGS@
  95626. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  95627. AR = @AR@
  95628. AUTOCONF = @AUTOCONF@
  95629. AUTOHEADER = @AUTOHEADER@
  95630. @@ -143,6 +254,7 @@
  95631. CYGPATH_W = @CYGPATH_W@
  95632. DEFS = @DEFS@
  95633. DEPDIR = @DEPDIR@
  95634. +DLLTOOL = @DLLTOOL@
  95635. DSYMUTIL = @DSYMUTIL@
  95636. DUMPBIN = @DUMPBIN@
  95637. ECHO_C = @ECHO_C@
  95638. @@ -152,7 +264,6 @@
  95639. EXEEXT = @EXEEXT@
  95640. FGREP = @FGREP@
  95641. GREP = @GREP@
  95642. -INCLUDES = @INCLUDES@
  95643. INSTALL = @INSTALL@
  95644. INSTALL_DATA = @INSTALL_DATA@
  95645. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  95646. @@ -167,7 +278,9 @@
  95647. LIPO = @LIPO@
  95648. LN_S = @LN_S@
  95649. LTLIBOBJS = @LTLIBOBJS@
  95650. +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  95651. MAKEINFO = @MAKEINFO@
  95652. +MANIFEST_TOOL = @MANIFEST_TOOL@
  95653. MKDIR_P = @MKDIR_P@
  95654. NM = @NM@
  95655. NMEDIT = @NMEDIT@
  95656. @@ -193,6 +306,7 @@
  95657. abs_srcdir = @abs_srcdir@
  95658. abs_top_builddir = @abs_top_builddir@
  95659. abs_top_srcdir = @abs_top_srcdir@
  95660. +ac_ct_AR = @ac_ct_AR@
  95661. ac_ct_CC = @ac_ct_CC@
  95662. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  95663. am__include = @am__include@
  95664. @@ -225,7 +339,6 @@
  95665. libexecdir = @libexecdir@
  95666. localedir = @localedir@
  95667. localstatedir = @localstatedir@
  95668. -lt_ECHO = @lt_ECHO@
  95669. mandir = @mandir@
  95670. mkdir_p = @mkdir_p@
  95671. oldincludedir = @oldincludedir@
  95672. @@ -252,7 +365,7 @@
  95673. $(MAKE) $(AM_MAKEFLAGS) all-recursive
  95674.  
  95675. .SUFFIXES:
  95676. -am--refresh:
  95677. +am--refresh: Makefile
  95678. @:
  95679. $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
  95680. @for dep in $?; do \
  95681. @@ -267,15 +380,14 @@
  95682. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
  95683. $(am__cd) $(top_srcdir) && \
  95684. $(AUTOMAKE) --gnu Makefile
  95685. -.PRECIOUS: Makefile
  95686. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  95687. @case '$?' in \
  95688. *config.status*) \
  95689. echo ' $(SHELL) ./config.status'; \
  95690. $(SHELL) ./config.status;; \
  95691. *) \
  95692. - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
  95693. - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
  95694. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
  95695. + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
  95696. esac;
  95697.  
  95698. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  95699. @@ -288,10 +400,8 @@
  95700. $(am__aclocal_m4_deps):
  95701.  
  95702. config.h: stamp-h1
  95703. - @if test ! -f $@; then \
  95704. - rm -f stamp-h1; \
  95705. - $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
  95706. - else :; fi
  95707. + @test -f $@ || rm -f stamp-h1
  95708. + @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
  95709.  
  95710. stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
  95711. @rm -f stamp-h1
  95712. @@ -314,8 +424,11 @@
  95713. -rm -f libtool config.lt
  95714. install-pkgdataDATA: $(pkgdata_DATA)
  95715. @$(NORMAL_INSTALL)
  95716. - test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
  95717. @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
  95718. + if test -n "$$list"; then \
  95719. + echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \
  95720. + $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \
  95721. + fi; \
  95722. for p in $$list; do \
  95723. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  95724. echo "$$d$$p"; \
  95725. @@ -329,13 +442,14 @@
  95726. @$(NORMAL_UNINSTALL)
  95727. @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
  95728. files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  95729. - test -n "$$files" || exit 0; \
  95730. - echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \
  95731. - cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files
  95732. + dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir)
  95733. install-includeHEADERS: $(include_HEADERS)
  95734. @$(NORMAL_INSTALL)
  95735. - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
  95736. @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  95737. + if test -n "$$list"; then \
  95738. + echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \
  95739. + $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \
  95740. + fi; \
  95741. for p in $$list; do \
  95742. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  95743. echo "$$d$$p"; \
  95744. @@ -349,27 +463,28 @@
  95745. @$(NORMAL_UNINSTALL)
  95746. @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  95747. files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  95748. - test -n "$$files" || exit 0; \
  95749. - echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
  95750. - cd "$(DESTDIR)$(includedir)" && rm -f $$files
  95751. + dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
  95752.  
  95753. # This directory's subdirectories are mostly independent; you can cd
  95754. -# into them and run `make' without going through this Makefile.
  95755. -# To change the values of `make' variables: instead of editing Makefiles,
  95756. -# (1) if the variable is set in `config.status', edit `config.status'
  95757. -# (which will cause the Makefiles to be regenerated when you run `make');
  95758. -# (2) otherwise, pass the desired values on the `make' command line.
  95759. -$(RECURSIVE_TARGETS):
  95760. - @fail= failcom='exit 1'; \
  95761. - for f in x $$MAKEFLAGS; do \
  95762. - case $$f in \
  95763. - *=* | --[!k]*);; \
  95764. - *k*) failcom='fail=yes';; \
  95765. - esac; \
  95766. - done; \
  95767. +# into them and run 'make' without going through this Makefile.
  95768. +# To change the values of 'make' variables: instead of editing Makefiles,
  95769. +# (1) if the variable is set in 'config.status', edit 'config.status'
  95770. +# (which will cause the Makefiles to be regenerated when you run 'make');
  95771. +# (2) otherwise, pass the desired values on the 'make' command line.
  95772. +$(am__recursive_targets):
  95773. + @fail=; \
  95774. + if $(am__make_keepgoing); then \
  95775. + failcom='fail=yes'; \
  95776. + else \
  95777. + failcom='exit 1'; \
  95778. + fi; \
  95779. dot_seen=no; \
  95780. target=`echo $@ | sed s/-recursive//`; \
  95781. - list='$(SUBDIRS)'; for subdir in $$list; do \
  95782. + case "$@" in \
  95783. + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  95784. + *) list='$(SUBDIRS)' ;; \
  95785. + esac; \
  95786. + for subdir in $$list; do \
  95787. echo "Making $$target in $$subdir"; \
  95788. if test "$$subdir" = "."; then \
  95789. dot_seen=yes; \
  95790. @@ -384,57 +499,12 @@
  95791. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  95792. fi; test -z "$$fail"
  95793.  
  95794. -$(RECURSIVE_CLEAN_TARGETS):
  95795. - @fail= failcom='exit 1'; \
  95796. - for f in x $$MAKEFLAGS; do \
  95797. - case $$f in \
  95798. - *=* | --[!k]*);; \
  95799. - *k*) failcom='fail=yes';; \
  95800. - esac; \
  95801. - done; \
  95802. - dot_seen=no; \
  95803. - case "$@" in \
  95804. - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  95805. - *) list='$(SUBDIRS)' ;; \
  95806. - esac; \
  95807. - rev=''; for subdir in $$list; do \
  95808. - if test "$$subdir" = "."; then :; else \
  95809. - rev="$$subdir $$rev"; \
  95810. - fi; \
  95811. - done; \
  95812. - rev="$$rev ."; \
  95813. - target=`echo $@ | sed s/-recursive//`; \
  95814. - for subdir in $$rev; do \
  95815. - echo "Making $$target in $$subdir"; \
  95816. - if test "$$subdir" = "."; then \
  95817. - local_target="$$target-am"; \
  95818. - else \
  95819. - local_target="$$target"; \
  95820. - fi; \
  95821. - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  95822. - || eval $$failcom; \
  95823. - done && test -z "$$fail"
  95824. -tags-recursive:
  95825. - list='$(SUBDIRS)'; for subdir in $$list; do \
  95826. - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  95827. - done
  95828. -ctags-recursive:
  95829. - list='$(SUBDIRS)'; for subdir in $$list; do \
  95830. - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  95831. - done
  95832. -
  95833. -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  95834. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  95835. - unique=`for i in $$list; do \
  95836. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  95837. - done | \
  95838. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  95839. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  95840. - mkid -fID $$unique
  95841. -tags: TAGS
  95842. +ID: $(am__tagged_files)
  95843. + $(am__define_uniq_tagged_files); mkid -fID $$unique
  95844. +tags: tags-recursive
  95845. +TAGS: tags
  95846.  
  95847. -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  95848. - $(TAGS_FILES) $(LISP)
  95849. +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  95850. set x; \
  95851. here=`pwd`; \
  95852. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  95853. @@ -450,12 +520,7 @@
  95854. set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  95855. fi; \
  95856. done; \
  95857. - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  95858. - unique=`for i in $$list; do \
  95859. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  95860. - done | \
  95861. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  95862. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  95863. + $(am__define_uniq_tagged_files); \
  95864. shift; \
  95865. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  95866. test -n "$$unique" || unique=$$empty_fix; \
  95867. @@ -467,15 +532,11 @@
  95868. $$unique; \
  95869. fi; \
  95870. fi
  95871. -ctags: CTAGS
  95872. -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  95873. - $(TAGS_FILES) $(LISP)
  95874. - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  95875. - unique=`for i in $$list; do \
  95876. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  95877. - done | \
  95878. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  95879. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  95880. +ctags: ctags-recursive
  95881. +
  95882. +CTAGS: ctags
  95883. +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  95884. + $(am__define_uniq_tagged_files); \
  95885. test -z "$(CTAGS_ARGS)$$unique" \
  95886. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  95887. $$unique
  95888. @@ -484,11 +545,36 @@
  95889. here=`$(am__cd) $(top_builddir) && pwd` \
  95890. && $(am__cd) $(top_srcdir) \
  95891. && gtags -i $(GTAGS_ARGS) "$$here"
  95892. +cscope: cscope.files
  95893. + test ! -s cscope.files \
  95894. + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
  95895. +clean-cscope:
  95896. + -rm -f cscope.files
  95897. +cscope.files: clean-cscope cscopelist
  95898. +cscopelist: cscopelist-recursive
  95899. +
  95900. +cscopelist-am: $(am__tagged_files)
  95901. + list='$(am__tagged_files)'; \
  95902. + case "$(srcdir)" in \
  95903. + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  95904. + *) sdir=$(subdir)/$(srcdir) ;; \
  95905. + esac; \
  95906. + for i in $$list; do \
  95907. + if test -f "$$i"; then \
  95908. + echo "$(subdir)/$$i"; \
  95909. + else \
  95910. + echo "$$sdir/$$i"; \
  95911. + fi; \
  95912. + done >> $(top_builddir)/cscope.files
  95913.  
  95914. distclean-tags:
  95915. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  95916. + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
  95917.  
  95918. -distdir: $(DISTFILES)
  95919. +distdir: $(BUILT_SOURCES)
  95920. + $(MAKE) $(AM_MAKEFLAGS) distdir-am
  95921. +
  95922. +distdir-am: $(DISTFILES)
  95923. $(am__remove_distdir)
  95924. test -d "$(distdir)" || mkdir "$(distdir)"
  95925. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  95926. @@ -522,13 +608,10 @@
  95927. done
  95928. @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  95929. if test "$$subdir" = .; then :; else \
  95930. - test -d "$(distdir)/$$subdir" \
  95931. - || $(MKDIR_P) "$(distdir)/$$subdir" \
  95932. - || exit 1; \
  95933. - fi; \
  95934. - done
  95935. - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  95936. - if test "$$subdir" = .; then :; else \
  95937. + $(am__make_dryrun) \
  95938. + || test -d "$(distdir)/$$subdir" \
  95939. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  95940. + || exit 1; \
  95941. dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  95942. $(am__relativize); \
  95943. new_distdir=$$reldir; \
  95944. @@ -556,37 +639,43 @@
  95945. ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  95946. || chmod -R a+r "$(distdir)"
  95947. dist-gzip: distdir
  95948. - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  95949. - $(am__remove_distdir)
  95950. + tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
  95951. + $(am__post_remove_distdir)
  95952.  
  95953. dist-bzip2: distdir
  95954. - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
  95955. - $(am__remove_distdir)
  95956. + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
  95957. + $(am__post_remove_distdir)
  95958.  
  95959. -dist-lzma: distdir
  95960. - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  95961. - $(am__remove_distdir)
  95962. +dist-lzip: distdir
  95963. + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
  95964. + $(am__post_remove_distdir)
  95965.  
  95966. dist-xz: distdir
  95967. - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
  95968. - $(am__remove_distdir)
  95969. + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
  95970. + $(am__post_remove_distdir)
  95971.  
  95972. dist-tarZ: distdir
  95973. + @echo WARNING: "Support for distribution archives compressed with" \
  95974. + "legacy program 'compress' is deprecated." >&2
  95975. + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
  95976. tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  95977. - $(am__remove_distdir)
  95978. + $(am__post_remove_distdir)
  95979.  
  95980. dist-shar: distdir
  95981. - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
  95982. - $(am__remove_distdir)
  95983. + @echo WARNING: "Support for shar distribution archives is" \
  95984. + "deprecated." >&2
  95985. + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
  95986. + shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
  95987. + $(am__post_remove_distdir)
  95988.  
  95989. dist-zip: distdir
  95990. -rm -f $(distdir).zip
  95991. zip -rq $(distdir).zip $(distdir)
  95992. - $(am__remove_distdir)
  95993. + $(am__post_remove_distdir)
  95994.  
  95995. -dist dist-all: distdir
  95996. - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  95997. - $(am__remove_distdir)
  95998. +dist dist-all:
  95999. + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
  96000. + $(am__post_remove_distdir)
  96001.  
  96002. # This target untars the dist file and tries a VPATH configuration. Then
  96003. # it guarantees that the distribution is self-contained by making another
  96004. @@ -594,31 +683,33 @@
  96005. distcheck: dist
  96006. case '$(DIST_ARCHIVES)' in \
  96007. *.tar.gz*) \
  96008. - GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  96009. + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
  96010. *.tar.bz2*) \
  96011. bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  96012. - *.tar.lzma*) \
  96013. - lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  96014. + *.tar.lz*) \
  96015. + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
  96016. *.tar.xz*) \
  96017. xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  96018. *.tar.Z*) \
  96019. uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  96020. *.shar.gz*) \
  96021. - GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
  96022. + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
  96023. *.zip*) \
  96024. unzip $(distdir).zip ;;\
  96025. esac
  96026. - chmod -R a-w $(distdir); chmod a+w $(distdir)
  96027. - mkdir $(distdir)/_build
  96028. - mkdir $(distdir)/_inst
  96029. + chmod -R a-w $(distdir)
  96030. + chmod u+w $(distdir)
  96031. + mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
  96032. chmod a-w $(distdir)
  96033. test -d $(distdir)/_build || exit 0; \
  96034. dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  96035. && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  96036. && am__cwd=`pwd` \
  96037. - && $(am__cd) $(distdir)/_build \
  96038. - && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  96039. + && $(am__cd) $(distdir)/_build/sub \
  96040. + && ../../configure \
  96041. + $(AM_DISTCHECK_CONFIGURE_FLAGS) \
  96042. $(DISTCHECK_CONFIGURE_FLAGS) \
  96043. + --srcdir=../.. --prefix="$$dc_install_base" \
  96044. && $(MAKE) $(AM_MAKEFLAGS) \
  96045. && $(MAKE) $(AM_MAKEFLAGS) dvi \
  96046. && $(MAKE) $(AM_MAKEFLAGS) check \
  96047. @@ -641,13 +732,21 @@
  96048. && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  96049. && cd "$$am__cwd" \
  96050. || exit 1
  96051. - $(am__remove_distdir)
  96052. + $(am__post_remove_distdir)
  96053. @(echo "$(distdir) archives ready for distribution: "; \
  96054. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  96055. sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  96056. distuninstallcheck:
  96057. - @$(am__cd) '$(distuninstallcheck_dir)' \
  96058. - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  96059. + @test -n '$(distuninstallcheck_dir)' || { \
  96060. + echo 'ERROR: trying to run $@ with an empty' \
  96061. + '$$(distuninstallcheck_dir)' >&2; \
  96062. + exit 1; \
  96063. + }; \
  96064. + $(am__cd) '$(distuninstallcheck_dir)' || { \
  96065. + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
  96066. + exit 1; \
  96067. + }; \
  96068. + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
  96069. || { echo "ERROR: files left after uninstall:" ; \
  96070. if test -n "$(DESTDIR)"; then \
  96071. echo " (check DESTDIR support)"; \
  96072. @@ -681,10 +780,15 @@
  96073.  
  96074. installcheck: installcheck-recursive
  96075. install-strip:
  96076. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  96077. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  96078. - `test -z '$(STRIP)' || \
  96079. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  96080. + if test -z '$(STRIP)'; then \
  96081. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  96082. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  96083. + install; \
  96084. + else \
  96085. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  96086. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  96087. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  96088. + fi
  96089. mostlyclean-generic:
  96090.  
  96091. clean-generic:
  96092. @@ -766,27 +870,28 @@
  96093.  
  96094. uninstall-am: uninstall-includeHEADERS uninstall-pkgdataDATA
  96095.  
  96096. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
  96097. - ctags-recursive install-am install-strip tags-recursive
  96098. +.MAKE: $(am__recursive_targets) all install-am install-strip
  96099.  
  96100. -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  96101. - all all-am am--refresh check check-am clean clean-generic \
  96102. - clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
  96103. - dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
  96104. - distcheck distclean distclean-generic distclean-hdr \
  96105. - distclean-libtool distclean-tags distcleancheck distdir \
  96106. - distuninstallcheck dvi dvi-am html html-am info info-am \
  96107. - install install-am install-data install-data-am install-dvi \
  96108. - install-dvi-am install-exec install-exec-am install-html \
  96109. - install-html-am install-includeHEADERS install-info \
  96110. - install-info-am install-man install-pdf install-pdf-am \
  96111. - install-pkgdataDATA install-ps install-ps-am install-strip \
  96112. - installcheck installcheck-am installdirs installdirs-am \
  96113. - maintainer-clean maintainer-clean-generic mostlyclean \
  96114. - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  96115. - tags tags-recursive uninstall uninstall-am \
  96116. +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
  96117. + am--refresh check check-am clean clean-cscope clean-generic \
  96118. + clean-libtool cscope cscopelist-am ctags ctags-am dist \
  96119. + dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
  96120. + dist-xz dist-zip distcheck distclean distclean-generic \
  96121. + distclean-hdr distclean-libtool distclean-tags distcleancheck \
  96122. + distdir distuninstallcheck dvi dvi-am html html-am info \
  96123. + info-am install install-am install-data install-data-am \
  96124. + install-dvi install-dvi-am install-exec install-exec-am \
  96125. + install-html install-html-am install-includeHEADERS \
  96126. + install-info install-info-am install-man install-pdf \
  96127. + install-pdf-am install-pkgdataDATA install-ps install-ps-am \
  96128. + install-strip installcheck installcheck-am installdirs \
  96129. + installdirs-am maintainer-clean maintainer-clean-generic \
  96130. + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
  96131. + ps ps-am tags tags-am uninstall uninstall-am \
  96132. uninstall-includeHEADERS uninstall-pkgdataDATA
  96133.  
  96134. +.PRECIOUS: Makefile
  96135. +
  96136.  
  96137. libtool: $(LIBTOOL_DEPS)
  96138. $(SHELL) ./config.status --recheck
  96139. diff -Nru Fiasco-master/missing Fiasco-master-pfiasco/missing
  96140. --- Fiasco-master/missing 2013-06-06 22:56:44.000000000 -0400
  96141. +++ Fiasco-master-pfiasco/missing 2019-06-17 21:06:21.655228026 -0400
  96142. @@ -1,11 +1,10 @@
  96143. #! /bin/sh
  96144. -# Common stub for a few missing GNU programs while installing.
  96145. +# Common wrapper for a few potentially missing GNU programs.
  96146.  
  96147. -scriptversion=2009-04-28.21; # UTC
  96148. +scriptversion=2018-03-07.03; # UTC
  96149.  
  96150. -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
  96151. -# 2008, 2009 Free Software Foundation, Inc.
  96152. -# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
  96153. +# Copyright (C) 1996-2018 Free Software Foundation, Inc.
  96154. +# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
  96155.  
  96156. # This program is free software; you can redistribute it and/or modify
  96157. # it under the terms of the GNU General Public License as published by
  96158. @@ -18,7 +17,7 @@
  96159. # GNU General Public License for more details.
  96160.  
  96161. # You should have received a copy of the GNU General Public License
  96162. -# along with this program. If not, see <http://www.gnu.org/licenses/>.
  96163. +# along with this program. If not, see <https://www.gnu.org/licenses/>.
  96164.  
  96165. # As a special exception to the GNU General Public License, if you
  96166. # distribute this file as part of a program that contains a
  96167. @@ -26,69 +25,40 @@
  96168. # the same distribution terms that you use for the rest of that program.
  96169.  
  96170. if test $# -eq 0; then
  96171. - echo 1>&2 "Try \`$0 --help' for more information"
  96172. + echo 1>&2 "Try '$0 --help' for more information"
  96173. exit 1
  96174. fi
  96175.  
  96176. -run=:
  96177. -sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
  96178. -sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
  96179. -
  96180. -# In the cases where this matters, `missing' is being run in the
  96181. -# srcdir already.
  96182. -if test -f configure.ac; then
  96183. - configure_ac=configure.ac
  96184. -else
  96185. - configure_ac=configure.in
  96186. -fi
  96187. +case $1 in
  96188.  
  96189. -msg="missing on your system"
  96190. + --is-lightweight)
  96191. + # Used by our autoconf macros to check whether the available missing
  96192. + # script is modern enough.
  96193. + exit 0
  96194. + ;;
  96195.  
  96196. -case $1 in
  96197. ---run)
  96198. - # Try to run requested program, and just exit if it succeeds.
  96199. - run=
  96200. - shift
  96201. - "$@" && exit 0
  96202. - # Exit code 63 means version mismatch. This often happens
  96203. - # when the user try to use an ancient version of a tool on
  96204. - # a file that requires a minimum version. In this case we
  96205. - # we should proceed has if the program had been absent, or
  96206. - # if --run hadn't been passed.
  96207. - if test $? = 63; then
  96208. - run=:
  96209. - msg="probably too old"
  96210. - fi
  96211. - ;;
  96212. + --run)
  96213. + # Back-compat with the calling convention used by older automake.
  96214. + shift
  96215. + ;;
  96216.  
  96217. -h|--h|--he|--hel|--help)
  96218. echo "\
  96219. $0 [OPTION]... PROGRAM [ARGUMENT]...
  96220.  
  96221. -Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
  96222. -error status if there is no known handling for PROGRAM.
  96223. +Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
  96224. +to PROGRAM being missing or too old.
  96225.  
  96226. Options:
  96227. -h, --help display this help and exit
  96228. -v, --version output version information and exit
  96229. - --run try to run the given command, and emulate it if it fails
  96230.  
  96231. Supported PROGRAM values:
  96232. - aclocal touch file \`aclocal.m4'
  96233. - autoconf touch file \`configure'
  96234. - autoheader touch file \`config.h.in'
  96235. - autom4te touch the output file, or create a stub one
  96236. - automake touch all \`Makefile.in' files
  96237. - bison create \`y.tab.[ch]', if possible, from existing .[ch]
  96238. - flex create \`lex.yy.c', if possible, from existing .c
  96239. - help2man touch the output file
  96240. - lex create \`lex.yy.c', if possible, from existing .c
  96241. - makeinfo touch the output file
  96242. - tar try tar, gnutar, gtar, then tar without non-portable flags
  96243. - yacc create \`y.tab.[ch]', if possible, from existing .[ch]
  96244. + aclocal autoconf autoheader autom4te automake makeinfo
  96245. + bison yacc flex lex help2man
  96246.  
  96247. -Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
  96248. -\`g' are ignored when checking the name.
  96249. +Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
  96250. +'g' are ignored when checking the name.
  96251.  
  96252. Send bug reports to <bug-automake@gnu.org>."
  96253. exit $?
  96254. @@ -100,277 +70,146 @@
  96255. ;;
  96256.  
  96257. -*)
  96258. - echo 1>&2 "$0: Unknown \`$1' option"
  96259. - echo 1>&2 "Try \`$0 --help' for more information"
  96260. + echo 1>&2 "$0: unknown '$1' option"
  96261. + echo 1>&2 "Try '$0 --help' for more information"
  96262. exit 1
  96263. ;;
  96264.  
  96265. esac
  96266.  
  96267. -# normalize program name to check for.
  96268. -program=`echo "$1" | sed '
  96269. - s/^gnu-//; t
  96270. - s/^gnu//; t
  96271. - s/^g//; t'`
  96272. -
  96273. -# Now exit if we have it, but it failed. Also exit now if we
  96274. -# don't have it and --version was passed (most likely to detect
  96275. -# the program). This is about non-GNU programs, so use $1 not
  96276. -# $program.
  96277. -case $1 in
  96278. - lex*|yacc*)
  96279. - # Not GNU programs, they don't have --version.
  96280. - ;;
  96281. -
  96282. - tar*)
  96283. - if test -n "$run"; then
  96284. - echo 1>&2 "ERROR: \`tar' requires --run"
  96285. - exit 1
  96286. - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
  96287. - exit 1
  96288. - fi
  96289. - ;;
  96290. +# Run the given program, remember its exit status.
  96291. +"$@"; st=$?
  96292.  
  96293. - *)
  96294. - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
  96295. - # We have it, but it failed.
  96296. - exit 1
  96297. - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
  96298. - # Could not run --version or --help. This is probably someone
  96299. - # running `$TOOL --version' or `$TOOL --help' to check whether
  96300. - # $TOOL exists and not knowing $TOOL uses missing.
  96301. - exit 1
  96302. - fi
  96303. - ;;
  96304. -esac
  96305. -
  96306. -# If it does not exist, or fails to run (possibly an outdated version),
  96307. -# try to emulate it.
  96308. -case $program in
  96309. - aclocal*)
  96310. - echo 1>&2 "\
  96311. -WARNING: \`$1' is $msg. You should only need it if
  96312. - you modified \`acinclude.m4' or \`${configure_ac}'. You might want
  96313. - to install the \`Automake' and \`Perl' packages. Grab them from
  96314. - any GNU archive site."
  96315. - touch aclocal.m4
  96316. - ;;
  96317. -
  96318. - autoconf*)
  96319. - echo 1>&2 "\
  96320. -WARNING: \`$1' is $msg. You should only need it if
  96321. - you modified \`${configure_ac}'. You might want to install the
  96322. - \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
  96323. - archive site."
  96324. - touch configure
  96325. - ;;
  96326. -
  96327. - autoheader*)
  96328. - echo 1>&2 "\
  96329. -WARNING: \`$1' is $msg. You should only need it if
  96330. - you modified \`acconfig.h' or \`${configure_ac}'. You might want
  96331. - to install the \`Autoconf' and \`GNU m4' packages. Grab them
  96332. - from any GNU archive site."
  96333. - files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
  96334. - test -z "$files" && files="config.h"
  96335. - touch_files=
  96336. - for f in $files; do
  96337. - case $f in
  96338. - *:*) touch_files="$touch_files "`echo "$f" |
  96339. - sed -e 's/^[^:]*://' -e 's/:.*//'`;;
  96340. - *) touch_files="$touch_files $f.in";;
  96341. - esac
  96342. - done
  96343. - touch $touch_files
  96344. - ;;
  96345. -
  96346. - automake*)
  96347. - echo 1>&2 "\
  96348. -WARNING: \`$1' is $msg. You should only need it if
  96349. - you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
  96350. - You might want to install the \`Automake' and \`Perl' packages.
  96351. - Grab them from any GNU archive site."
  96352. - find . -type f -name Makefile.am -print |
  96353. - sed 's/\.am$/.in/' |
  96354. - while read f; do touch "$f"; done
  96355. - ;;
  96356. +# If it succeeded, we are done.
  96357. +test $st -eq 0 && exit 0
  96358.  
  96359. - autom4te*)
  96360. - echo 1>&2 "\
  96361. -WARNING: \`$1' is needed, but is $msg.
  96362. - You might have modified some files without having the
  96363. - proper tools for further handling them.
  96364. - You can get \`$1' as part of \`Autoconf' from any GNU
  96365. - archive site."
  96366. -
  96367. - file=`echo "$*" | sed -n "$sed_output"`
  96368. - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  96369. - if test -f "$file"; then
  96370. - touch $file
  96371. - else
  96372. - test -z "$file" || exec >$file
  96373. - echo "#! /bin/sh"
  96374. - echo "# Created by GNU Automake missing as a replacement of"
  96375. - echo "# $ $@"
  96376. - echo "exit 0"
  96377. - chmod +x $file
  96378. - exit 1
  96379. - fi
  96380. - ;;
  96381. -
  96382. - bison*|yacc*)
  96383. - echo 1>&2 "\
  96384. -WARNING: \`$1' $msg. You should only need it if
  96385. - you modified a \`.y' file. You may need the \`Bison' package
  96386. - in order for those modifications to take effect. You can get
  96387. - \`Bison' from any GNU archive site."
  96388. - rm -f y.tab.c y.tab.h
  96389. - if test $# -ne 1; then
  96390. - eval LASTARG="\${$#}"
  96391. - case $LASTARG in
  96392. - *.y)
  96393. - SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
  96394. - if test -f "$SRCFILE"; then
  96395. - cp "$SRCFILE" y.tab.c
  96396. - fi
  96397. - SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
  96398. - if test -f "$SRCFILE"; then
  96399. - cp "$SRCFILE" y.tab.h
  96400. - fi
  96401. - ;;
  96402. - esac
  96403. - fi
  96404. - if test ! -f y.tab.h; then
  96405. - echo >y.tab.h
  96406. - fi
  96407. - if test ! -f y.tab.c; then
  96408. - echo 'main() { return 0; }' >y.tab.c
  96409. - fi
  96410. - ;;
  96411. -
  96412. - lex*|flex*)
  96413. - echo 1>&2 "\
  96414. -WARNING: \`$1' is $msg. You should only need it if
  96415. - you modified a \`.l' file. You may need the \`Flex' package
  96416. - in order for those modifications to take effect. You can get
  96417. - \`Flex' from any GNU archive site."
  96418. - rm -f lex.yy.c
  96419. - if test $# -ne 1; then
  96420. - eval LASTARG="\${$#}"
  96421. - case $LASTARG in
  96422. - *.l)
  96423. - SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
  96424. - if test -f "$SRCFILE"; then
  96425. - cp "$SRCFILE" lex.yy.c
  96426. - fi
  96427. - ;;
  96428. - esac
  96429. - fi
  96430. - if test ! -f lex.yy.c; then
  96431. - echo 'main() { return 0; }' >lex.yy.c
  96432. - fi
  96433. - ;;
  96434. -
  96435. - help2man*)
  96436. - echo 1>&2 "\
  96437. -WARNING: \`$1' is $msg. You should only need it if
  96438. - you modified a dependency of a manual page. You may need the
  96439. - \`Help2man' package in order for those modifications to take
  96440. - effect. You can get \`Help2man' from any GNU archive site."
  96441. -
  96442. - file=`echo "$*" | sed -n "$sed_output"`
  96443. - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  96444. - if test -f "$file"; then
  96445. - touch $file
  96446. - else
  96447. - test -z "$file" || exec >$file
  96448. - echo ".ab help2man is required to generate this page"
  96449. - exit $?
  96450. - fi
  96451. - ;;
  96452. -
  96453. - makeinfo*)
  96454. - echo 1>&2 "\
  96455. -WARNING: \`$1' is $msg. You should only need it if
  96456. - you modified a \`.texi' or \`.texinfo' file, or any other file
  96457. - indirectly affecting the aspect of the manual. The spurious
  96458. - call might also be the consequence of using a buggy \`make' (AIX,
  96459. - DU, IRIX). You might want to install the \`Texinfo' package or
  96460. - the \`GNU make' package. Grab either from any GNU archive site."
  96461. - # The file to touch is that specified with -o ...
  96462. - file=`echo "$*" | sed -n "$sed_output"`
  96463. - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  96464. - if test -z "$file"; then
  96465. - # ... or it is the one specified with @setfilename ...
  96466. - infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
  96467. - file=`sed -n '
  96468. - /^@setfilename/{
  96469. - s/.* \([^ ]*\) *$/\1/
  96470. - p
  96471. - q
  96472. - }' $infile`
  96473. - # ... or it is derived from the source name (dir/f.texi becomes f.info)
  96474. - test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
  96475. - fi
  96476. - # If the file does not exist, the user really needs makeinfo;
  96477. - # let's fail without touching anything.
  96478. - test -f $file || exit 1
  96479. - touch $file
  96480. - ;;
  96481. -
  96482. - tar*)
  96483. - shift
  96484. -
  96485. - # We have already tried tar in the generic part.
  96486. - # Look for gnutar/gtar before invocation to avoid ugly error
  96487. - # messages.
  96488. - if (gnutar --version > /dev/null 2>&1); then
  96489. - gnutar "$@" && exit 0
  96490. - fi
  96491. - if (gtar --version > /dev/null 2>&1); then
  96492. - gtar "$@" && exit 0
  96493. - fi
  96494. - firstarg="$1"
  96495. - if shift; then
  96496. - case $firstarg in
  96497. - *o*)
  96498. - firstarg=`echo "$firstarg" | sed s/o//`
  96499. - tar "$firstarg" "$@" && exit 0
  96500. - ;;
  96501. - esac
  96502. - case $firstarg in
  96503. - *h*)
  96504. - firstarg=`echo "$firstarg" | sed s/h//`
  96505. - tar "$firstarg" "$@" && exit 0
  96506. - ;;
  96507. - esac
  96508. - fi
  96509. -
  96510. - echo 1>&2 "\
  96511. -WARNING: I can't seem to be able to run \`tar' with the given arguments.
  96512. - You may want to install GNU tar or Free paxutils, or check the
  96513. - command line arguments."
  96514. - exit 1
  96515. - ;;
  96516. -
  96517. - *)
  96518. - echo 1>&2 "\
  96519. -WARNING: \`$1' is needed, and is $msg.
  96520. - You might have modified some files without having the
  96521. - proper tools for further handling them. Check the \`README' file,
  96522. - it often tells you about the needed prerequisites for installing
  96523. - this package. You may also peek at any GNU archive site, in case
  96524. - some other package would contain this missing \`$1' program."
  96525. - exit 1
  96526. - ;;
  96527. -esac
  96528. +# Also exit now if we it failed (or wasn't found), and '--version' was
  96529. +# passed; such an option is passed most likely to detect whether the
  96530. +# program is present and works.
  96531. +case $2 in --version|--help) exit $st;; esac
  96532. +
  96533. +# Exit code 63 means version mismatch. This often happens when the user
  96534. +# tries to use an ancient version of a tool on a file that requires a
  96535. +# minimum version.
  96536. +if test $st -eq 63; then
  96537. + msg="probably too old"
  96538. +elif test $st -eq 127; then
  96539. + # Program was missing.
  96540. + msg="missing on your system"
  96541. +else
  96542. + # Program was found and executed, but failed. Give up.
  96543. + exit $st
  96544. +fi
  96545.  
  96546. -exit 0
  96547. +perl_URL=https://www.perl.org/
  96548. +flex_URL=https://github.com/westes/flex
  96549. +gnu_software_URL=https://www.gnu.org/software
  96550. +
  96551. +program_details ()
  96552. +{
  96553. + case $1 in
  96554. + aclocal|automake)
  96555. + echo "The '$1' program is part of the GNU Automake package:"
  96556. + echo "<$gnu_software_URL/automake>"
  96557. + echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
  96558. + echo "<$gnu_software_URL/autoconf>"
  96559. + echo "<$gnu_software_URL/m4/>"
  96560. + echo "<$perl_URL>"
  96561. + ;;
  96562. + autoconf|autom4te|autoheader)
  96563. + echo "The '$1' program is part of the GNU Autoconf package:"
  96564. + echo "<$gnu_software_URL/autoconf/>"
  96565. + echo "It also requires GNU m4 and Perl in order to run:"
  96566. + echo "<$gnu_software_URL/m4/>"
  96567. + echo "<$perl_URL>"
  96568. + ;;
  96569. + esac
  96570. +}
  96571. +
  96572. +give_advice ()
  96573. +{
  96574. + # Normalize program name to check for.
  96575. + normalized_program=`echo "$1" | sed '
  96576. + s/^gnu-//; t
  96577. + s/^gnu//; t
  96578. + s/^g//; t'`
  96579. +
  96580. + printf '%s\n' "'$1' is $msg."
  96581. +
  96582. + configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
  96583. + case $normalized_program in
  96584. + autoconf*)
  96585. + echo "You should only need it if you modified 'configure.ac',"
  96586. + echo "or m4 files included by it."
  96587. + program_details 'autoconf'
  96588. + ;;
  96589. + autoheader*)
  96590. + echo "You should only need it if you modified 'acconfig.h' or"
  96591. + echo "$configure_deps."
  96592. + program_details 'autoheader'
  96593. + ;;
  96594. + automake*)
  96595. + echo "You should only need it if you modified 'Makefile.am' or"
  96596. + echo "$configure_deps."
  96597. + program_details 'automake'
  96598. + ;;
  96599. + aclocal*)
  96600. + echo "You should only need it if you modified 'acinclude.m4' or"
  96601. + echo "$configure_deps."
  96602. + program_details 'aclocal'
  96603. + ;;
  96604. + autom4te*)
  96605. + echo "You might have modified some maintainer files that require"
  96606. + echo "the 'autom4te' program to be rebuilt."
  96607. + program_details 'autom4te'
  96608. + ;;
  96609. + bison*|yacc*)
  96610. + echo "You should only need it if you modified a '.y' file."
  96611. + echo "You may want to install the GNU Bison package:"
  96612. + echo "<$gnu_software_URL/bison/>"
  96613. + ;;
  96614. + lex*|flex*)
  96615. + echo "You should only need it if you modified a '.l' file."
  96616. + echo "You may want to install the Fast Lexical Analyzer package:"
  96617. + echo "<$flex_URL>"
  96618. + ;;
  96619. + help2man*)
  96620. + echo "You should only need it if you modified a dependency" \
  96621. + "of a man page."
  96622. + echo "You may want to install the GNU Help2man package:"
  96623. + echo "<$gnu_software_URL/help2man/>"
  96624. + ;;
  96625. + makeinfo*)
  96626. + echo "You should only need it if you modified a '.texi' file, or"
  96627. + echo "any other file indirectly affecting the aspect of the manual."
  96628. + echo "You might want to install the Texinfo package:"
  96629. + echo "<$gnu_software_URL/texinfo/>"
  96630. + echo "The spurious makeinfo call might also be the consequence of"
  96631. + echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
  96632. + echo "want to install GNU make:"
  96633. + echo "<$gnu_software_URL/make/>"
  96634. + ;;
  96635. + *)
  96636. + echo "You might have modified some files without having the proper"
  96637. + echo "tools for further handling them. Check the 'README' file, it"
  96638. + echo "often tells you about the needed prerequisites for installing"
  96639. + echo "this package. You may also peek at any GNU archive site, in"
  96640. + echo "case some other package contains this missing '$1' program."
  96641. + ;;
  96642. + esac
  96643. +}
  96644. +
  96645. +give_advice "$1" | sed -e '1s/^/WARNING: /' \
  96646. + -e '2,$s/^/ /' >&2
  96647. +
  96648. +# Propagate the correct exit status (expected to be 127 for a program
  96649. +# not found, 63 for a program that failed due to version mismatch).
  96650. +exit $st
  96651.  
  96652. # Local variables:
  96653. -# eval: (add-hook 'write-file-hooks 'time-stamp)
  96654. +# eval: (add-hook 'before-save-hook 'time-stamp)
  96655. # time-stamp-start: "scriptversion="
  96656. # time-stamp-format: "%:y-%02m-%02d.%02H"
  96657. -# time-stamp-time-zone: "UTC"
  96658. +# time-stamp-time-zone: "UTC0"
  96659. # time-stamp-end: "; # UTC"
  96660. # End:
  96661. diff -Nru Fiasco-master/output/Makefile.am Fiasco-master-pfiasco/output/Makefile.am
  96662. --- Fiasco-master/output/Makefile.am 2013-06-06 22:56:44.000000000 -0400
  96663. +++ Fiasco-master-pfiasco/output/Makefile.am 2019-06-17 20:59:45.495802300 -0400
  96664. @@ -14,4 +14,4 @@
  96665. libfiasco_output_la_SOURCES = matrices.c mc.c nd.c tree.c weights.c write.c
  96666. noinst_HEADERS = matrices.h mc.h nd.h tree.h weights.h write.h
  96667. EXTRA_DIST = MANIFEST
  96668. -INCLUDES = @INCLUDES@
  96669. +AM_CPPFLAGS = @AM_CPPFLAGS@
  96670. diff -Nru Fiasco-master/output/Makefile.in Fiasco-master-pfiasco/output/Makefile.in
  96671. --- Fiasco-master/output/Makefile.in 2013-06-06 22:56:44.000000000 -0400
  96672. +++ Fiasco-master-pfiasco/output/Makefile.in 2019-06-17 21:04:59.736765966 -0400
  96673. @@ -1,9 +1,8 @@
  96674. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  96675. +# Makefile.in generated by automake 1.16.1 from Makefile.am.
  96676. # @configure_input@
  96677.  
  96678. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  96679. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  96680. -# Inc.
  96681. +# Copyright (C) 1994-2018 Free Software Foundation, Inc.
  96682. +
  96683. # This Makefile.in is free software; the Free Software Foundation
  96684. # gives unlimited permission to copy and/or distribute it,
  96685. # with or without modifications, as long as this notice is preserved.
  96686. @@ -17,6 +16,61 @@
  96687.  
  96688.  
  96689. VPATH = @srcdir@
  96690. +am__is_gnu_make = { \
  96691. + if test -z '$(MAKELEVEL)'; then \
  96692. + false; \
  96693. + elif test -n '$(MAKE_HOST)'; then \
  96694. + true; \
  96695. + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  96696. + true; \
  96697. + else \
  96698. + false; \
  96699. + fi; \
  96700. +}
  96701. +am__make_running_with_option = \
  96702. + case $${target_option-} in \
  96703. + ?) ;; \
  96704. + *) echo "am__make_running_with_option: internal error: invalid" \
  96705. + "target option '$${target_option-}' specified" >&2; \
  96706. + exit 1;; \
  96707. + esac; \
  96708. + has_opt=no; \
  96709. + sane_makeflags=$$MAKEFLAGS; \
  96710. + if $(am__is_gnu_make); then \
  96711. + sane_makeflags=$$MFLAGS; \
  96712. + else \
  96713. + case $$MAKEFLAGS in \
  96714. + *\\[\ \ ]*) \
  96715. + bs=\\; \
  96716. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  96717. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  96718. + esac; \
  96719. + fi; \
  96720. + skip_next=no; \
  96721. + strip_trailopt () \
  96722. + { \
  96723. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  96724. + }; \
  96725. + for flg in $$sane_makeflags; do \
  96726. + test $$skip_next = yes && { skip_next=no; continue; }; \
  96727. + case $$flg in \
  96728. + *=*|--*) continue;; \
  96729. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  96730. + -*I?*) strip_trailopt 'I';; \
  96731. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  96732. + -*O?*) strip_trailopt 'O';; \
  96733. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  96734. + -*l?*) strip_trailopt 'l';; \
  96735. + -[dEDm]) skip_next=yes;; \
  96736. + -[JT]) skip_next=yes;; \
  96737. + esac; \
  96738. + case $$flg in \
  96739. + *$$target_option*) has_opt=yes; break;; \
  96740. + esac; \
  96741. + done; \
  96742. + test $$has_opt = yes
  96743. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  96744. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  96745. pkgdatadir = $(datadir)/@PACKAGE@
  96746. pkgincludedir = $(includedir)/@PACKAGE@
  96747. pkglibdir = $(libdir)/@PACKAGE@
  96748. @@ -36,12 +90,15 @@
  96749. build_triplet = @build@
  96750. host_triplet = @host@
  96751. subdir = output
  96752. -DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  96753. - $(srcdir)/Makefile.in ChangeLog
  96754. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  96755. -am__aclocal_m4_deps = $(top_srcdir)/configure.in
  96756. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  96757. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  96758. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  96759. + $(top_srcdir)/configure.ac
  96760. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  96761. $(ACLOCAL_M4)
  96762. +DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \
  96763. + $(am__DIST_COMMON)
  96764. mkinstalldirs = $(install_sh) -d
  96765. CONFIG_HEADER = $(top_builddir)/config.h
  96766. CONFIG_CLEAN_FILES =
  96767. @@ -51,27 +108,81 @@
  96768. am_libfiasco_output_la_OBJECTS = matrices.lo mc.lo nd.lo tree.lo \
  96769. weights.lo write.lo
  96770. libfiasco_output_la_OBJECTS = $(am_libfiasco_output_la_OBJECTS)
  96771. +AM_V_lt = $(am__v_lt_@AM_V@)
  96772. +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
  96773. +am__v_lt_0 = --silent
  96774. +am__v_lt_1 =
  96775. +AM_V_P = $(am__v_P_@AM_V@)
  96776. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  96777. +am__v_P_0 = false
  96778. +am__v_P_1 = :
  96779. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  96780. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  96781. +am__v_GEN_0 = @echo " GEN " $@;
  96782. +am__v_GEN_1 =
  96783. +AM_V_at = $(am__v_at_@AM_V@)
  96784. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  96785. +am__v_at_0 = @
  96786. +am__v_at_1 =
  96787. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  96788. depcomp = $(SHELL) $(top_srcdir)/depcomp
  96789. -am__depfiles_maybe = depfiles
  96790. +am__maybe_remake_depfiles = depfiles
  96791. +am__depfiles_remade = ./$(DEPDIR)/matrices.Plo ./$(DEPDIR)/mc.Plo \
  96792. + ./$(DEPDIR)/nd.Plo ./$(DEPDIR)/tree.Plo \
  96793. + ./$(DEPDIR)/weights.Plo ./$(DEPDIR)/write.Plo
  96794. am__mv = mv -f
  96795. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  96796. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  96797. -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  96798. - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  96799. - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  96800. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  96801. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  96802. + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  96803. + $(AM_CFLAGS) $(CFLAGS)
  96804. +AM_V_CC = $(am__v_CC_@AM_V@)
  96805. +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  96806. +am__v_CC_0 = @echo " CC " $@;
  96807. +am__v_CC_1 =
  96808. CCLD = $(CC)
  96809. -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  96810. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  96811. - $(LDFLAGS) -o $@
  96812. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  96813. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  96814. + $(AM_LDFLAGS) $(LDFLAGS) -o $@
  96815. +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  96816. +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  96817. +am__v_CCLD_0 = @echo " CCLD " $@;
  96818. +am__v_CCLD_1 =
  96819. SOURCES = $(libfiasco_output_la_SOURCES)
  96820. DIST_SOURCES = $(libfiasco_output_la_SOURCES)
  96821. +am__can_run_installinfo = \
  96822. + case $$AM_UPDATE_INFO_DIR in \
  96823. + n|no|NO) false;; \
  96824. + *) (install-info --version) >/dev/null 2>&1;; \
  96825. + esac
  96826. HEADERS = $(noinst_HEADERS)
  96827. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  96828. +# Read a list of newline-separated strings from the standard input,
  96829. +# and print each of them once, without duplicates. Input order is
  96830. +# *not* preserved.
  96831. +am__uniquify_input = $(AWK) '\
  96832. + BEGIN { nonempty = 0; } \
  96833. + { items[$$0] = 1; nonempty = 1; } \
  96834. + END { if (nonempty) { for (i in items) print i; }; } \
  96835. +'
  96836. +# Make sure the list of sources is unique. This is necessary because,
  96837. +# e.g., the same source file might be shared among _SOURCES variables
  96838. +# for different programs/libraries.
  96839. +am__define_uniq_tagged_files = \
  96840. + list='$(am__tagged_files)'; \
  96841. + unique=`for i in $$list; do \
  96842. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  96843. + done | $(am__uniquify_input)`
  96844. ETAGS = etags
  96845. CTAGS = ctags
  96846. +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
  96847. + ChangeLog
  96848. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  96849. ACLOCAL = @ACLOCAL@
  96850. AMTAR = @AMTAR@
  96851. +AM_CPPFLAGS = @AM_CPPFLAGS@
  96852. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  96853. AR = @AR@
  96854. AUTOCONF = @AUTOCONF@
  96855. AUTOHEADER = @AUTOHEADER@
  96856. @@ -85,6 +196,7 @@
  96857. CYGPATH_W = @CYGPATH_W@
  96858. DEFS = @DEFS@
  96859. DEPDIR = @DEPDIR@
  96860. +DLLTOOL = @DLLTOOL@
  96861. DSYMUTIL = @DSYMUTIL@
  96862. DUMPBIN = @DUMPBIN@
  96863. ECHO_C = @ECHO_C@
  96864. @@ -94,7 +206,6 @@
  96865. EXEEXT = @EXEEXT@
  96866. FGREP = @FGREP@
  96867. GREP = @GREP@
  96868. -INCLUDES = @INCLUDES@
  96869. INSTALL = @INSTALL@
  96870. INSTALL_DATA = @INSTALL_DATA@
  96871. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  96872. @@ -109,7 +220,9 @@
  96873. LIPO = @LIPO@
  96874. LN_S = @LN_S@
  96875. LTLIBOBJS = @LTLIBOBJS@
  96876. +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  96877. MAKEINFO = @MAKEINFO@
  96878. +MANIFEST_TOOL = @MANIFEST_TOOL@
  96879. MKDIR_P = @MKDIR_P@
  96880. NM = @NM@
  96881. NMEDIT = @NMEDIT@
  96882. @@ -135,6 +248,7 @@
  96883. abs_srcdir = @abs_srcdir@
  96884. abs_top_builddir = @abs_top_builddir@
  96885. abs_top_srcdir = @abs_top_srcdir@
  96886. +ac_ct_AR = @ac_ct_AR@
  96887. ac_ct_CC = @ac_ct_CC@
  96888. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  96889. am__include = @am__include@
  96890. @@ -167,7 +281,6 @@
  96891. libexecdir = @libexecdir@
  96892. localedir = @localedir@
  96893. localstatedir = @localstatedir@
  96894. -lt_ECHO = @lt_ECHO@
  96895. mandir = @mandir@
  96896. mkdir_p = @mkdir_p@
  96897. oldincludedir = @oldincludedir@
  96898. @@ -205,14 +318,13 @@
  96899. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu output/Makefile'; \
  96900. $(am__cd) $(top_srcdir) && \
  96901. $(AUTOMAKE) --gnu output/Makefile
  96902. -.PRECIOUS: Makefile
  96903. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  96904. @case '$?' in \
  96905. *config.status*) \
  96906. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  96907. *) \
  96908. - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  96909. - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  96910. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
  96911. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
  96912. esac;
  96913.  
  96914. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  96915. @@ -226,14 +338,17 @@
  96916.  
  96917. clean-noinstLTLIBRARIES:
  96918. -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
  96919. - @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
  96920. - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
  96921. - test "$$dir" != "$$p" || dir=.; \
  96922. - echo "rm -f \"$${dir}/so_locations\""; \
  96923. - rm -f "$${dir}/so_locations"; \
  96924. - done
  96925. -libfiasco-output.la: $(libfiasco_output_la_OBJECTS) $(libfiasco_output_la_DEPENDENCIES)
  96926. - $(LINK) $(libfiasco_output_la_OBJECTS) $(libfiasco_output_la_LIBADD) $(LIBS)
  96927. + @list='$(noinst_LTLIBRARIES)'; \
  96928. + locs=`for p in $$list; do echo $$p; done | \
  96929. + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
  96930. + sort -u`; \
  96931. + test -z "$$locs" || { \
  96932. + echo rm -f $${locs}; \
  96933. + rm -f $${locs}; \
  96934. + }
  96935. +
  96936. +libfiasco-output.la: $(libfiasco_output_la_OBJECTS) $(libfiasco_output_la_DEPENDENCIES) $(EXTRA_libfiasco_output_la_DEPENDENCIES)
  96937. + $(AM_V_CCLD)$(LINK) $(libfiasco_output_la_OBJECTS) $(libfiasco_output_la_LIBADD) $(LIBS)
  96938.  
  96939. mostlyclean-compile:
  96940. -rm -f *.$(OBJEXT)
  96941. @@ -241,33 +356,39 @@
  96942. distclean-compile:
  96943. -rm -f *.tab.c
  96944.  
  96945. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/matrices.Plo@am__quote@
  96946. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mc.Plo@am__quote@
  96947. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nd.Plo@am__quote@
  96948. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tree.Plo@am__quote@
  96949. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/weights.Plo@am__quote@
  96950. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/write.Plo@am__quote@
  96951. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/matrices.Plo@am__quote@ # am--include-marker
  96952. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mc.Plo@am__quote@ # am--include-marker
  96953. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nd.Plo@am__quote@ # am--include-marker
  96954. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tree.Plo@am__quote@ # am--include-marker
  96955. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/weights.Plo@am__quote@ # am--include-marker
  96956. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/write.Plo@am__quote@ # am--include-marker
  96957. +
  96958. +$(am__depfiles_remade):
  96959. + @$(MKDIR_P) $(@D)
  96960. + @echo '# dummy' >$@-t && $(am__mv) $@-t $@
  96961. +
  96962. +am--depfiles: $(am__depfiles_remade)
  96963.  
  96964. .c.o:
  96965. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  96966. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  96967. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  96968. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  96969. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  96970. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  96971. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  96972. -@am__fastdepCC_FALSE@ $(COMPILE) -c $<
  96973. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
  96974.  
  96975. .c.obj:
  96976. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  96977. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  96978. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  96979. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  96980. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  96981. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  96982. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  96983. -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  96984. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  96985.  
  96986. .c.lo:
  96987. -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  96988. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  96989. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  96990. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  96991. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  96992. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  96993. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  96994. -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  96995. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
  96996.  
  96997. mostlyclean-libtool:
  96998. -rm -f *.lo
  96999. @@ -275,26 +396,15 @@
  97000. clean-libtool:
  97001. -rm -rf .libs _libs
  97002.  
  97003. -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  97004. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  97005. - unique=`for i in $$list; do \
  97006. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  97007. - done | \
  97008. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  97009. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  97010. - mkid -fID $$unique
  97011. -tags: TAGS
  97012. +ID: $(am__tagged_files)
  97013. + $(am__define_uniq_tagged_files); mkid -fID $$unique
  97014. +tags: tags-am
  97015. +TAGS: tags
  97016.  
  97017. -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  97018. - $(TAGS_FILES) $(LISP)
  97019. +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  97020. set x; \
  97021. here=`pwd`; \
  97022. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  97023. - unique=`for i in $$list; do \
  97024. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  97025. - done | \
  97026. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  97027. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  97028. + $(am__define_uniq_tagged_files); \
  97029. shift; \
  97030. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  97031. test -n "$$unique" || unique=$$empty_fix; \
  97032. @@ -306,15 +416,11 @@
  97033. $$unique; \
  97034. fi; \
  97035. fi
  97036. -ctags: CTAGS
  97037. -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  97038. - $(TAGS_FILES) $(LISP)
  97039. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  97040. - unique=`for i in $$list; do \
  97041. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  97042. - done | \
  97043. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  97044. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  97045. +ctags: ctags-am
  97046. +
  97047. +CTAGS: ctags
  97048. +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  97049. + $(am__define_uniq_tagged_files); \
  97050. test -z "$(CTAGS_ARGS)$$unique" \
  97051. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  97052. $$unique
  97053. @@ -323,11 +429,29 @@
  97054. here=`$(am__cd) $(top_builddir) && pwd` \
  97055. && $(am__cd) $(top_srcdir) \
  97056. && gtags -i $(GTAGS_ARGS) "$$here"
  97057. +cscopelist: cscopelist-am
  97058. +
  97059. +cscopelist-am: $(am__tagged_files)
  97060. + list='$(am__tagged_files)'; \
  97061. + case "$(srcdir)" in \
  97062. + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  97063. + *) sdir=$(subdir)/$(srcdir) ;; \
  97064. + esac; \
  97065. + for i in $$list; do \
  97066. + if test -f "$$i"; then \
  97067. + echo "$(subdir)/$$i"; \
  97068. + else \
  97069. + echo "$$sdir/$$i"; \
  97070. + fi; \
  97071. + done >> $(top_builddir)/cscope.files
  97072.  
  97073. distclean-tags:
  97074. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  97075.  
  97076. -distdir: $(DISTFILES)
  97077. +distdir: $(BUILT_SOURCES)
  97078. + $(MAKE) $(AM_MAKEFLAGS) distdir-am
  97079. +
  97080. +distdir-am: $(DISTFILES)
  97081. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  97082. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  97083. list='$(DISTFILES)'; \
  97084. @@ -371,10 +495,15 @@
  97085.  
  97086. installcheck: installcheck-am
  97087. install-strip:
  97088. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  97089. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  97090. - `test -z '$(STRIP)' || \
  97091. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  97092. + if test -z '$(STRIP)'; then \
  97093. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  97094. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  97095. + install; \
  97096. + else \
  97097. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  97098. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  97099. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  97100. + fi
  97101. mostlyclean-generic:
  97102.  
  97103. clean-generic:
  97104. @@ -392,7 +521,12 @@
  97105. mostlyclean-am
  97106.  
  97107. distclean: distclean-am
  97108. - -rm -rf ./$(DEPDIR)
  97109. + -rm -f ./$(DEPDIR)/matrices.Plo
  97110. + -rm -f ./$(DEPDIR)/mc.Plo
  97111. + -rm -f ./$(DEPDIR)/nd.Plo
  97112. + -rm -f ./$(DEPDIR)/tree.Plo
  97113. + -rm -f ./$(DEPDIR)/weights.Plo
  97114. + -rm -f ./$(DEPDIR)/write.Plo
  97115. -rm -f Makefile
  97116. distclean-am: clean-am distclean-compile distclean-generic \
  97117. distclean-tags
  97118. @@ -438,7 +572,12 @@
  97119. installcheck-am:
  97120.  
  97121. maintainer-clean: maintainer-clean-am
  97122. - -rm -rf ./$(DEPDIR)
  97123. + -rm -f ./$(DEPDIR)/matrices.Plo
  97124. + -rm -f ./$(DEPDIR)/mc.Plo
  97125. + -rm -f ./$(DEPDIR)/nd.Plo
  97126. + -rm -f ./$(DEPDIR)/tree.Plo
  97127. + -rm -f ./$(DEPDIR)/weights.Plo
  97128. + -rm -f ./$(DEPDIR)/write.Plo
  97129. -rm -f Makefile
  97130. maintainer-clean-am: distclean-am maintainer-clean-generic
  97131.  
  97132. @@ -459,18 +598,21 @@
  97133.  
  97134. .MAKE: install-am install-strip
  97135.  
  97136. -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  97137. - clean-libtool clean-noinstLTLIBRARIES ctags distclean \
  97138. - distclean-compile distclean-generic distclean-libtool \
  97139. - distclean-tags distdir dvi dvi-am html html-am info info-am \
  97140. - install install-am install-data install-data-am install-dvi \
  97141. - install-dvi-am install-exec install-exec-am install-html \
  97142. - install-html-am install-info install-info-am install-man \
  97143. - install-pdf install-pdf-am install-ps install-ps-am \
  97144. - install-strip installcheck installcheck-am installdirs \
  97145. - maintainer-clean maintainer-clean-generic mostlyclean \
  97146. - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  97147. - pdf pdf-am ps ps-am tags uninstall uninstall-am
  97148. +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
  97149. + clean-generic clean-libtool clean-noinstLTLIBRARIES \
  97150. + cscopelist-am ctags ctags-am distclean distclean-compile \
  97151. + distclean-generic distclean-libtool distclean-tags distdir dvi \
  97152. + dvi-am html html-am info info-am install install-am \
  97153. + install-data install-data-am install-dvi install-dvi-am \
  97154. + install-exec install-exec-am install-html install-html-am \
  97155. + install-info install-info-am install-man install-pdf \
  97156. + install-pdf-am install-ps install-ps-am install-strip \
  97157. + installcheck installcheck-am installdirs maintainer-clean \
  97158. + maintainer-clean-generic mostlyclean mostlyclean-compile \
  97159. + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  97160. + tags tags-am uninstall uninstall-am
  97161. +
  97162. +.PRECIOUS: Makefile
  97163.  
  97164.  
  97165. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  97166. diff -Nru Fiasco-master/stamp-h Fiasco-master-pfiasco/stamp-h
  97167. --- Fiasco-master/stamp-h 1969-12-31 19:00:00.000000000 -0500
  97168. +++ Fiasco-master-pfiasco/stamp-h 2019-06-17 21:08:34.419356191 -0400
  97169. @@ -0,0 +1 @@
  97170. +timestamp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement