Mercurial > hg > index.fcgi > gift-gnutella > gift-gnutella-0.0.11-1pba
diff aclocal.m4 @ 0:d39e1d0d75b6
initial add
author | paulo@hit-nxdomain.opendns.com |
---|---|
date | Sat, 20 Feb 2010 21:18:28 -0800 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/aclocal.m4 Sat Feb 20 21:18:28 2010 -0800 1.3 @@ -0,0 +1,7624 @@ 1.4 +# generated automatically by aclocal 1.7.9 -*- Autoconf -*- 1.5 + 1.6 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 1.7 +# Free Software Foundation, Inc. 1.8 +# This file is free software; the Free Software Foundation 1.9 +# gives unlimited permission to copy and/or distribute it, 1.10 +# with or without modifications, as long as this notice is preserved. 1.11 + 1.12 +# This program is distributed in the hope that it will be useful, 1.13 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without 1.14 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 1.15 +# PARTICULAR PURPOSE. 1.16 + 1.17 +# Do all the work for Automake. -*- Autoconf -*- 1.18 + 1.19 +# This macro actually does too much some checks are only needed if 1.20 +# your package does certain things. But this isn't really a big deal. 1.21 + 1.22 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 1.23 +# Free Software Foundation, Inc. 1.24 + 1.25 +# This program is free software; you can redistribute it and/or modify 1.26 +# it under the terms of the GNU General Public License as published by 1.27 +# the Free Software Foundation; either version 2, or (at your option) 1.28 +# any later version. 1.29 + 1.30 +# This program is distributed in the hope that it will be useful, 1.31 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.32 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.33 +# GNU General Public License for more details. 1.34 + 1.35 +# You should have received a copy of the GNU General Public License 1.36 +# along with this program; if not, write to the Free Software 1.37 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1.38 +# 02111-1307, USA. 1.39 + 1.40 +# serial 10 1.41 + 1.42 +AC_PREREQ([2.54]) 1.43 + 1.44 +# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow 1.45 +# the ones we care about. 1.46 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 1.47 + 1.48 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) 1.49 +# AM_INIT_AUTOMAKE([OPTIONS]) 1.50 +# ----------------------------------------------- 1.51 +# The call with PACKAGE and VERSION arguments is the old style 1.52 +# call (pre autoconf-2.50), which is being phased out. PACKAGE 1.53 +# and VERSION should now be passed to AC_INIT and removed from 1.54 +# the call to AM_INIT_AUTOMAKE. 1.55 +# We support both call styles for the transition. After 1.56 +# the next Automake release, Autoconf can make the AC_INIT 1.57 +# arguments mandatory, and then we can depend on a new Autoconf 1.58 +# release and drop the old call support. 1.59 +AC_DEFUN([AM_INIT_AUTOMAKE], 1.60 +[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 1.61 + AC_REQUIRE([AC_PROG_INSTALL])dnl 1.62 +# test to see if srcdir already configured 1.63 +if test "`cd $srcdir && pwd`" != "`pwd`" && 1.64 + test -f $srcdir/config.status; then 1.65 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 1.66 +fi 1.67 + 1.68 +# test whether we have cygpath 1.69 +if test -z "$CYGPATH_W"; then 1.70 + if (cygpath --version) >/dev/null 2>/dev/null; then 1.71 + CYGPATH_W='cygpath -w' 1.72 + else 1.73 + CYGPATH_W=echo 1.74 + fi 1.75 +fi 1.76 +AC_SUBST([CYGPATH_W]) 1.77 + 1.78 +# Define the identity of the package. 1.79 +dnl Distinguish between old-style and new-style calls. 1.80 +m4_ifval([$2], 1.81 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 1.82 + AC_SUBST([PACKAGE], [$1])dnl 1.83 + AC_SUBST([VERSION], [$2])], 1.84 +[_AM_SET_OPTIONS([$1])dnl 1.85 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 1.86 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 1.87 + 1.88 +_AM_IF_OPTION([no-define],, 1.89 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 1.90 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl 1.91 + 1.92 +# Some tools Automake needs. 1.93 +AC_REQUIRE([AM_SANITY_CHECK])dnl 1.94 +AC_REQUIRE([AC_ARG_PROGRAM])dnl 1.95 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) 1.96 +AM_MISSING_PROG(AUTOCONF, autoconf) 1.97 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) 1.98 +AM_MISSING_PROG(AUTOHEADER, autoheader) 1.99 +AM_MISSING_PROG(MAKEINFO, makeinfo) 1.100 +AM_MISSING_PROG(AMTAR, tar) 1.101 +AM_PROG_INSTALL_SH 1.102 +AM_PROG_INSTALL_STRIP 1.103 +# We need awk for the "check" target. The system "awk" is bad on 1.104 +# some platforms. 1.105 +AC_REQUIRE([AC_PROG_AWK])dnl 1.106 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl 1.107 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl 1.108 + 1.109 +_AM_IF_OPTION([no-dependencies],, 1.110 +[AC_PROVIDE_IFELSE([AC_PROG_CC], 1.111 + [_AM_DEPENDENCIES(CC)], 1.112 + [define([AC_PROG_CC], 1.113 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl 1.114 +AC_PROVIDE_IFELSE([AC_PROG_CXX], 1.115 + [_AM_DEPENDENCIES(CXX)], 1.116 + [define([AC_PROG_CXX], 1.117 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 1.118 +]) 1.119 +]) 1.120 + 1.121 + 1.122 +# When config.status generates a header, we must update the stamp-h file. 1.123 +# This file resides in the same directory as the config header 1.124 +# that is generated. The stamp files are numbered to have different names. 1.125 + 1.126 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the 1.127 +# loop where config.status creates the headers, so we can generate 1.128 +# our stamp files there. 1.129 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 1.130 +[# Compute $1's index in $config_headers. 1.131 +_am_stamp_count=1 1.132 +for _am_header in $config_headers :; do 1.133 + case $_am_header in 1.134 + $1 | $1:* ) 1.135 + break ;; 1.136 + * ) 1.137 + _am_stamp_count=`expr $_am_stamp_count + 1` ;; 1.138 + esac 1.139 +done 1.140 +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) 1.141 + 1.142 +# Copyright 2002 Free Software Foundation, Inc. 1.143 + 1.144 +# This program is free software; you can redistribute it and/or modify 1.145 +# it under the terms of the GNU General Public License as published by 1.146 +# the Free Software Foundation; either version 2, or (at your option) 1.147 +# any later version. 1.148 + 1.149 +# This program is distributed in the hope that it will be useful, 1.150 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.151 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.152 +# GNU General Public License for more details. 1.153 + 1.154 +# You should have received a copy of the GNU General Public License 1.155 +# along with this program; if not, write to the Free Software 1.156 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1.157 + 1.158 +# AM_AUTOMAKE_VERSION(VERSION) 1.159 +# ---------------------------- 1.160 +# Automake X.Y traces this macro to ensure aclocal.m4 has been 1.161 +# generated from the m4 files accompanying Automake X.Y. 1.162 +AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) 1.163 + 1.164 +# AM_SET_CURRENT_AUTOMAKE_VERSION 1.165 +# ------------------------------- 1.166 +# Call AM_AUTOMAKE_VERSION so it can be traced. 1.167 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 1.168 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 1.169 + [AM_AUTOMAKE_VERSION([1.7.9])]) 1.170 + 1.171 +# Helper functions for option handling. -*- Autoconf -*- 1.172 + 1.173 +# Copyright 2001, 2002 Free Software Foundation, Inc. 1.174 + 1.175 +# This program is free software; you can redistribute it and/or modify 1.176 +# it under the terms of the GNU General Public License as published by 1.177 +# the Free Software Foundation; either version 2, or (at your option) 1.178 +# any later version. 1.179 + 1.180 +# This program is distributed in the hope that it will be useful, 1.181 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.182 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.183 +# GNU General Public License for more details. 1.184 + 1.185 +# You should have received a copy of the GNU General Public License 1.186 +# along with this program; if not, write to the Free Software 1.187 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1.188 +# 02111-1307, USA. 1.189 + 1.190 +# serial 2 1.191 + 1.192 +# _AM_MANGLE_OPTION(NAME) 1.193 +# ----------------------- 1.194 +AC_DEFUN([_AM_MANGLE_OPTION], 1.195 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 1.196 + 1.197 +# _AM_SET_OPTION(NAME) 1.198 +# ------------------------------ 1.199 +# Set option NAME. Presently that only means defining a flag for this option. 1.200 +AC_DEFUN([_AM_SET_OPTION], 1.201 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) 1.202 + 1.203 +# _AM_SET_OPTIONS(OPTIONS) 1.204 +# ---------------------------------- 1.205 +# OPTIONS is a space-separated list of Automake options. 1.206 +AC_DEFUN([_AM_SET_OPTIONS], 1.207 +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 1.208 + 1.209 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) 1.210 +# ------------------------------------------- 1.211 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. 1.212 +AC_DEFUN([_AM_IF_OPTION], 1.213 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 1.214 + 1.215 +# 1.216 +# Check to make sure that the build environment is sane. 1.217 +# 1.218 + 1.219 +# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. 1.220 + 1.221 +# This program is free software; you can redistribute it and/or modify 1.222 +# it under the terms of the GNU General Public License as published by 1.223 +# the Free Software Foundation; either version 2, or (at your option) 1.224 +# any later version. 1.225 + 1.226 +# This program is distributed in the hope that it will be useful, 1.227 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.228 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.229 +# GNU General Public License for more details. 1.230 + 1.231 +# You should have received a copy of the GNU General Public License 1.232 +# along with this program; if not, write to the Free Software 1.233 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1.234 +# 02111-1307, USA. 1.235 + 1.236 +# serial 3 1.237 + 1.238 +# AM_SANITY_CHECK 1.239 +# --------------- 1.240 +AC_DEFUN([AM_SANITY_CHECK], 1.241 +[AC_MSG_CHECKING([whether build environment is sane]) 1.242 +# Just in case 1.243 +sleep 1 1.244 +echo timestamp > conftest.file 1.245 +# Do `set' in a subshell so we don't clobber the current shell's 1.246 +# arguments. Must try -L first in case configure is actually a 1.247 +# symlink; some systems play weird games with the mod time of symlinks 1.248 +# (eg FreeBSD returns the mod time of the symlink's containing 1.249 +# directory). 1.250 +if ( 1.251 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1.252 + if test "$[*]" = "X"; then 1.253 + # -L didn't work. 1.254 + set X `ls -t $srcdir/configure conftest.file` 1.255 + fi 1.256 + rm -f conftest.file 1.257 + if test "$[*]" != "X $srcdir/configure conftest.file" \ 1.258 + && test "$[*]" != "X conftest.file $srcdir/configure"; then 1.259 + 1.260 + # If neither matched, then we have a broken ls. This can happen 1.261 + # if, for instance, CONFIG_SHELL is bash and it inherits a 1.262 + # broken ls alias from the environment. This has actually 1.263 + # happened. Such a system could not be considered "sane". 1.264 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 1.265 +alias in your environment]) 1.266 + fi 1.267 + 1.268 + test "$[2]" = conftest.file 1.269 + ) 1.270 +then 1.271 + # Ok. 1.272 + : 1.273 +else 1.274 + AC_MSG_ERROR([newly created file is older than distributed files! 1.275 +Check your system clock]) 1.276 +fi 1.277 +AC_MSG_RESULT(yes)]) 1.278 + 1.279 +# -*- Autoconf -*- 1.280 + 1.281 + 1.282 +# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc. 1.283 + 1.284 +# This program is free software; you can redistribute it and/or modify 1.285 +# it under the terms of the GNU General Public License as published by 1.286 +# the Free Software Foundation; either version 2, or (at your option) 1.287 +# any later version. 1.288 + 1.289 +# This program is distributed in the hope that it will be useful, 1.290 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.291 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.292 +# GNU General Public License for more details. 1.293 + 1.294 +# You should have received a copy of the GNU General Public License 1.295 +# along with this program; if not, write to the Free Software 1.296 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1.297 +# 02111-1307, USA. 1.298 + 1.299 +# serial 3 1.300 + 1.301 +# AM_MISSING_PROG(NAME, PROGRAM) 1.302 +# ------------------------------ 1.303 +AC_DEFUN([AM_MISSING_PROG], 1.304 +[AC_REQUIRE([AM_MISSING_HAS_RUN]) 1.305 +$1=${$1-"${am_missing_run}$2"} 1.306 +AC_SUBST($1)]) 1.307 + 1.308 + 1.309 +# AM_MISSING_HAS_RUN 1.310 +# ------------------ 1.311 +# Define MISSING if not defined so far and test if it supports --run. 1.312 +# If it does, set am_missing_run to use it, otherwise, to nothing. 1.313 +AC_DEFUN([AM_MISSING_HAS_RUN], 1.314 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 1.315 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1.316 +# Use eval to expand $SHELL 1.317 +if eval "$MISSING --run true"; then 1.318 + am_missing_run="$MISSING --run " 1.319 +else 1.320 + am_missing_run= 1.321 + AC_MSG_WARN([`missing' script is too old or missing]) 1.322 +fi 1.323 +]) 1.324 + 1.325 +# AM_AUX_DIR_EXPAND 1.326 + 1.327 +# Copyright 2001 Free Software Foundation, Inc. 1.328 + 1.329 +# This program is free software; you can redistribute it and/or modify 1.330 +# it under the terms of the GNU General Public License as published by 1.331 +# the Free Software Foundation; either version 2, or (at your option) 1.332 +# any later version. 1.333 + 1.334 +# This program is distributed in the hope that it will be useful, 1.335 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.336 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.337 +# GNU General Public License for more details. 1.338 + 1.339 +# You should have received a copy of the GNU General Public License 1.340 +# along with this program; if not, write to the Free Software 1.341 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1.342 +# 02111-1307, USA. 1.343 + 1.344 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 1.345 +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to 1.346 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'. 1.347 +# 1.348 +# Of course, Automake must honor this variable whenever it calls a 1.349 +# tool from the auxiliary directory. The problem is that $srcdir (and 1.350 +# therefore $ac_aux_dir as well) can be either absolute or relative, 1.351 +# depending on how configure is run. This is pretty annoying, since 1.352 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top 1.353 +# source directory, any form will work fine, but in subdirectories a 1.354 +# relative path needs to be adjusted first. 1.355 +# 1.356 +# $ac_aux_dir/missing 1.357 +# fails when called from a subdirectory if $ac_aux_dir is relative 1.358 +# $top_srcdir/$ac_aux_dir/missing 1.359 +# fails if $ac_aux_dir is absolute, 1.360 +# fails when called from a subdirectory in a VPATH build with 1.361 +# a relative $ac_aux_dir 1.362 +# 1.363 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir 1.364 +# are both prefixed by $srcdir. In an in-source build this is usually 1.365 +# harmless because $srcdir is `.', but things will broke when you 1.366 +# start a VPATH build or use an absolute $srcdir. 1.367 +# 1.368 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, 1.369 +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: 1.370 +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` 1.371 +# and then we would define $MISSING as 1.372 +# MISSING="\${SHELL} $am_aux_dir/missing" 1.373 +# This will work as long as MISSING is not called from configure, because 1.374 +# unfortunately $(top_srcdir) has no meaning in configure. 1.375 +# However there are other variables, like CC, which are often used in 1.376 +# configure, and could therefore not use this "fixed" $ac_aux_dir. 1.377 +# 1.378 +# Another solution, used here, is to always expand $ac_aux_dir to an 1.379 +# absolute PATH. The drawback is that using absolute paths prevent a 1.380 +# configured tree to be moved without reconfiguration. 1.381 + 1.382 +# Rely on autoconf to set up CDPATH properly. 1.383 +AC_PREREQ([2.50]) 1.384 + 1.385 +AC_DEFUN([AM_AUX_DIR_EXPAND], [ 1.386 +# expand $ac_aux_dir to an absolute path 1.387 +am_aux_dir=`cd $ac_aux_dir && pwd` 1.388 +]) 1.389 + 1.390 +# AM_PROG_INSTALL_SH 1.391 +# ------------------ 1.392 +# Define $install_sh. 1.393 + 1.394 +# Copyright 2001 Free Software Foundation, Inc. 1.395 + 1.396 +# This program is free software; you can redistribute it and/or modify 1.397 +# it under the terms of the GNU General Public License as published by 1.398 +# the Free Software Foundation; either version 2, or (at your option) 1.399 +# any later version. 1.400 + 1.401 +# This program is distributed in the hope that it will be useful, 1.402 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.403 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.404 +# GNU General Public License for more details. 1.405 + 1.406 +# You should have received a copy of the GNU General Public License 1.407 +# along with this program; if not, write to the Free Software 1.408 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1.409 +# 02111-1307, USA. 1.410 + 1.411 +AC_DEFUN([AM_PROG_INSTALL_SH], 1.412 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 1.413 +install_sh=${install_sh-"$am_aux_dir/install-sh"} 1.414 +AC_SUBST(install_sh)]) 1.415 + 1.416 +# AM_PROG_INSTALL_STRIP 1.417 + 1.418 +# Copyright 2001 Free Software Foundation, Inc. 1.419 + 1.420 +# This program is free software; you can redistribute it and/or modify 1.421 +# it under the terms of the GNU General Public License as published by 1.422 +# the Free Software Foundation; either version 2, or (at your option) 1.423 +# any later version. 1.424 + 1.425 +# This program is distributed in the hope that it will be useful, 1.426 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.427 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.428 +# GNU General Public License for more details. 1.429 + 1.430 +# You should have received a copy of the GNU General Public License 1.431 +# along with this program; if not, write to the Free Software 1.432 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1.433 +# 02111-1307, USA. 1.434 + 1.435 +# One issue with vendor `install' (even GNU) is that you can't 1.436 +# specify the program used to strip binaries. This is especially 1.437 +# annoying in cross-compiling environments, where the build's strip 1.438 +# is unlikely to handle the host's binaries. 1.439 +# Fortunately install-sh will honor a STRIPPROG variable, so we 1.440 +# always use install-sh in `make install-strip', and initialize 1.441 +# STRIPPROG with the value of the STRIP variable (set by the user). 1.442 +AC_DEFUN([AM_PROG_INSTALL_STRIP], 1.443 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 1.444 +# Installed binaries are usually stripped using `strip' when the user 1.445 +# run `make install-strip'. However `strip' might not be the right 1.446 +# tool to use in cross-compilation environments, therefore Automake 1.447 +# will honor the `STRIP' environment variable to overrule this program. 1.448 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'. 1.449 +if test "$cross_compiling" != no; then 1.450 + AC_CHECK_TOOL([STRIP], [strip], :) 1.451 +fi 1.452 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1.453 +AC_SUBST([INSTALL_STRIP_PROGRAM])]) 1.454 + 1.455 +# -*- Autoconf -*- 1.456 +# Copyright (C) 2003 Free Software Foundation, Inc. 1.457 + 1.458 +# This program is free software; you can redistribute it and/or modify 1.459 +# it under the terms of the GNU General Public License as published by 1.460 +# the Free Software Foundation; either version 2, or (at your option) 1.461 +# any later version. 1.462 + 1.463 +# This program is distributed in the hope that it will be useful, 1.464 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.465 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.466 +# GNU General Public License for more details. 1.467 + 1.468 +# You should have received a copy of the GNU General Public License 1.469 +# along with this program; if not, write to the Free Software 1.470 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1.471 +# 02111-1307, USA. 1.472 + 1.473 +# serial 1 1.474 + 1.475 +# Check whether the underlying file-system supports filenames 1.476 +# with a leading dot. For instance MS-DOS doesn't. 1.477 +AC_DEFUN([AM_SET_LEADING_DOT], 1.478 +[rm -rf .tst 2>/dev/null 1.479 +mkdir .tst 2>/dev/null 1.480 +if test -d .tst; then 1.481 + am__leading_dot=. 1.482 +else 1.483 + am__leading_dot=_ 1.484 +fi 1.485 +rmdir .tst 2>/dev/null 1.486 +AC_SUBST([am__leading_dot])]) 1.487 + 1.488 +# serial 5 -*- Autoconf -*- 1.489 + 1.490 +# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. 1.491 + 1.492 +# This program is free software; you can redistribute it and/or modify 1.493 +# it under the terms of the GNU General Public License as published by 1.494 +# the Free Software Foundation; either version 2, or (at your option) 1.495 +# any later version. 1.496 + 1.497 +# This program is distributed in the hope that it will be useful, 1.498 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.499 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.500 +# GNU General Public License for more details. 1.501 + 1.502 +# You should have received a copy of the GNU General Public License 1.503 +# along with this program; if not, write to the Free Software 1.504 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1.505 +# 02111-1307, USA. 1.506 + 1.507 + 1.508 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 1.509 +# written in clear, in which case automake, when reading aclocal.m4, 1.510 +# will think it sees a *use*, and therefore will trigger all it's 1.511 +# C support machinery. Also note that it means that autoscan, seeing 1.512 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... 1.513 + 1.514 + 1.515 + 1.516 +# _AM_DEPENDENCIES(NAME) 1.517 +# ---------------------- 1.518 +# See how the compiler implements dependency checking. 1.519 +# NAME is "CC", "CXX", "GCJ", or "OBJC". 1.520 +# We try a few techniques and use that to set a single cache variable. 1.521 +# 1.522 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was 1.523 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular 1.524 +# dependency, and given that the user is not expected to run this macro, 1.525 +# just rely on AC_PROG_CC. 1.526 +AC_DEFUN([_AM_DEPENDENCIES], 1.527 +[AC_REQUIRE([AM_SET_DEPDIR])dnl 1.528 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl 1.529 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl 1.530 +AC_REQUIRE([AM_DEP_TRACK])dnl 1.531 + 1.532 +ifelse([$1], CC, [depcc="$CC" am_compiler_list=], 1.533 + [$1], CXX, [depcc="$CXX" am_compiler_list=], 1.534 + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 1.535 + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], 1.536 + [depcc="$$1" am_compiler_list=]) 1.537 + 1.538 +AC_CACHE_CHECK([dependency style of $depcc], 1.539 + [am_cv_$1_dependencies_compiler_type], 1.540 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 1.541 + # We make a subdir and do the tests there. Otherwise we can end up 1.542 + # making bogus files that we don't know about and never remove. For 1.543 + # instance it was reported that on HP-UX the gcc test will end up 1.544 + # making a dummy file named `D' -- because `-MD' means `put the output 1.545 + # in D'. 1.546 + mkdir conftest.dir 1.547 + # Copy depcomp to subdir because otherwise we won't find it if we're 1.548 + # using a relative directory. 1.549 + cp "$am_depcomp" conftest.dir 1.550 + cd conftest.dir 1.551 + # We will build objects and dependencies in a subdirectory because 1.552 + # it helps to detect inapplicable dependency modes. For instance 1.553 + # both Tru64's cc and ICC support -MD to output dependencies as a 1.554 + # side effect of compilation, but ICC will put the dependencies in 1.555 + # the current directory while Tru64 will put them in the object 1.556 + # directory. 1.557 + mkdir sub 1.558 + 1.559 + am_cv_$1_dependencies_compiler_type=none 1.560 + if test "$am_compiler_list" = ""; then 1.561 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` 1.562 + fi 1.563 + for depmode in $am_compiler_list; do 1.564 + # Setup a source with many dependencies, because some compilers 1.565 + # like to wrap large dependency lists on column 80 (with \), and 1.566 + # we should not choose a depcomp mode which is confused by this. 1.567 + # 1.568 + # We need to recreate these files for each test, as the compiler may 1.569 + # overwrite some of them when testing with obscure command lines. 1.570 + # This happens at least with the AIX C compiler. 1.571 + : > sub/conftest.c 1.572 + for i in 1 2 3 4 5 6; do 1.573 + echo '#include "conftst'$i'.h"' >> sub/conftest.c 1.574 + : > sub/conftst$i.h 1.575 + done 1.576 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 1.577 + 1.578 + case $depmode in 1.579 + nosideeffect) 1.580 + # after this tag, mechanisms are not by side-effect, so they'll 1.581 + # only be used when explicitly requested 1.582 + if test "x$enable_dependency_tracking" = xyes; then 1.583 + continue 1.584 + else 1.585 + break 1.586 + fi 1.587 + ;; 1.588 + none) break ;; 1.589 + esac 1.590 + # We check with `-c' and `-o' for the sake of the "dashmstdout" 1.591 + # mode. It turns out that the SunPro C++ compiler does not properly 1.592 + # handle `-M -o', and we need to detect this. 1.593 + if depmode=$depmode \ 1.594 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 1.595 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 1.596 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 1.597 + >/dev/null 2>conftest.err && 1.598 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 1.599 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 1.600 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 1.601 + # icc doesn't choke on unknown options, it will just issue warnings 1.602 + # (even with -Werror). So we grep stderr for any message 1.603 + # that says an option was ignored. 1.604 + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 1.605 + am_cv_$1_dependencies_compiler_type=$depmode 1.606 + break 1.607 + fi 1.608 + fi 1.609 + done 1.610 + 1.611 + cd .. 1.612 + rm -rf conftest.dir 1.613 +else 1.614 + am_cv_$1_dependencies_compiler_type=none 1.615 +fi 1.616 +]) 1.617 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) 1.618 +AM_CONDITIONAL([am__fastdep$1], [ 1.619 + test "x$enable_dependency_tracking" != xno \ 1.620 + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) 1.621 +]) 1.622 + 1.623 + 1.624 +# AM_SET_DEPDIR 1.625 +# ------------- 1.626 +# Choose a directory name for dependency files. 1.627 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES 1.628 +AC_DEFUN([AM_SET_DEPDIR], 1.629 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl 1.630 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl 1.631 +]) 1.632 + 1.633 + 1.634 +# AM_DEP_TRACK 1.635 +# ------------ 1.636 +AC_DEFUN([AM_DEP_TRACK], 1.637 +[AC_ARG_ENABLE(dependency-tracking, 1.638 +[ --disable-dependency-tracking Speeds up one-time builds 1.639 + --enable-dependency-tracking Do not reject slow dependency extractors]) 1.640 +if test "x$enable_dependency_tracking" != xno; then 1.641 + am_depcomp="$ac_aux_dir/depcomp" 1.642 + AMDEPBACKSLASH='\' 1.643 +fi 1.644 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 1.645 +AC_SUBST([AMDEPBACKSLASH]) 1.646 +]) 1.647 + 1.648 +# Generate code to set up dependency tracking. -*- Autoconf -*- 1.649 + 1.650 +# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 1.651 + 1.652 +# This program is free software; you can redistribute it and/or modify 1.653 +# it under the terms of the GNU General Public License as published by 1.654 +# the Free Software Foundation; either version 2, or (at your option) 1.655 +# any later version. 1.656 + 1.657 +# This program is distributed in the hope that it will be useful, 1.658 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.659 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.660 +# GNU General Public License for more details. 1.661 + 1.662 +# You should have received a copy of the GNU General Public License 1.663 +# along with this program; if not, write to the Free Software 1.664 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1.665 +# 02111-1307, USA. 1.666 + 1.667 +#serial 2 1.668 + 1.669 +# _AM_OUTPUT_DEPENDENCY_COMMANDS 1.670 +# ------------------------------ 1.671 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], 1.672 +[for mf in $CONFIG_FILES; do 1.673 + # Strip MF so we end up with the name of the file. 1.674 + mf=`echo "$mf" | sed -e 's/:.*$//'` 1.675 + # Check whether this is an Automake generated Makefile or not. 1.676 + # We used to match only the files named `Makefile.in', but 1.677 + # some people rename them; so instead we look at the file content. 1.678 + # Grep'ing the first line is not enough: some people post-process 1.679 + # each Makefile.in and add a new line on top of each file to say so. 1.680 + # So let's grep whole file. 1.681 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 1.682 + dirpart=`AS_DIRNAME("$mf")` 1.683 + else 1.684 + continue 1.685 + fi 1.686 + grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue 1.687 + # Extract the definition of DEP_FILES from the Makefile without 1.688 + # running `make'. 1.689 + DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 1.690 + test -z "$DEPDIR" && continue 1.691 + # When using ansi2knr, U may be empty or an underscore; expand it 1.692 + U=`sed -n -e '/^U = / s///p' < "$mf"` 1.693 + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 1.694 + # We invoke sed twice because it is the simplest approach to 1.695 + # changing $(DEPDIR) to its actual value in the expansion. 1.696 + for file in `sed -n -e ' 1.697 + /^DEP_FILES = .*\\\\$/ { 1.698 + s/^DEP_FILES = // 1.699 + :loop 1.700 + s/\\\\$// 1.701 + p 1.702 + n 1.703 + /\\\\$/ b loop 1.704 + p 1.705 + } 1.706 + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 1.707 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 1.708 + # Make sure the directory exists. 1.709 + test -f "$dirpart/$file" && continue 1.710 + fdir=`AS_DIRNAME(["$file"])` 1.711 + AS_MKDIR_P([$dirpart/$fdir]) 1.712 + # echo "creating $dirpart/$file" 1.713 + echo '# dummy' > "$dirpart/$file" 1.714 + done 1.715 +done 1.716 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS 1.717 + 1.718 + 1.719 +# AM_OUTPUT_DEPENDENCY_COMMANDS 1.720 +# ----------------------------- 1.721 +# This macro should only be invoked once -- use via AC_REQUIRE. 1.722 +# 1.723 +# This code is only required when automatic dependency tracking 1.724 +# is enabled. FIXME. This creates each `.P' file that we will 1.725 +# need in order to bootstrap the dependency handling code. 1.726 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], 1.727 +[AC_CONFIG_COMMANDS([depfiles], 1.728 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], 1.729 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 1.730 +]) 1.731 + 1.732 +# Check to see how 'make' treats includes. -*- Autoconf -*- 1.733 + 1.734 +# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. 1.735 + 1.736 +# This program is free software; you can redistribute it and/or modify 1.737 +# it under the terms of the GNU General Public License as published by 1.738 +# the Free Software Foundation; either version 2, or (at your option) 1.739 +# any later version. 1.740 + 1.741 +# This program is distributed in the hope that it will be useful, 1.742 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.743 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.744 +# GNU General Public License for more details. 1.745 + 1.746 +# You should have received a copy of the GNU General Public License 1.747 +# along with this program; if not, write to the Free Software 1.748 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1.749 +# 02111-1307, USA. 1.750 + 1.751 +# serial 2 1.752 + 1.753 +# AM_MAKE_INCLUDE() 1.754 +# ----------------- 1.755 +# Check to see how make treats includes. 1.756 +AC_DEFUN([AM_MAKE_INCLUDE], 1.757 +[am_make=${MAKE-make} 1.758 +cat > confinc << 'END' 1.759 +am__doit: 1.760 + @echo done 1.761 +.PHONY: am__doit 1.762 +END 1.763 +# If we don't find an include directive, just comment out the code. 1.764 +AC_MSG_CHECKING([for style of include used by $am_make]) 1.765 +am__include="#" 1.766 +am__quote= 1.767 +_am_result=none 1.768 +# First try GNU make style include. 1.769 +echo "include confinc" > confmf 1.770 +# We grep out `Entering directory' and `Leaving directory' 1.771 +# messages which can occur if `w' ends up in MAKEFLAGS. 1.772 +# In particular we don't look at `^make:' because GNU make might 1.773 +# be invoked under some other name (usually "gmake"), in which 1.774 +# case it prints its new name instead of `make'. 1.775 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 1.776 + am__include=include 1.777 + am__quote= 1.778 + _am_result=GNU 1.779 +fi 1.780 +# Now try BSD make style include. 1.781 +if test "$am__include" = "#"; then 1.782 + echo '.include "confinc"' > confmf 1.783 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 1.784 + am__include=.include 1.785 + am__quote="\"" 1.786 + _am_result=BSD 1.787 + fi 1.788 +fi 1.789 +AC_SUBST([am__include]) 1.790 +AC_SUBST([am__quote]) 1.791 +AC_MSG_RESULT([$_am_result]) 1.792 +rm -f confinc confmf 1.793 +]) 1.794 + 1.795 +# AM_CONDITIONAL -*- Autoconf -*- 1.796 + 1.797 +# Copyright 1997, 2000, 2001 Free Software Foundation, Inc. 1.798 + 1.799 +# This program is free software; you can redistribute it and/or modify 1.800 +# it under the terms of the GNU General Public License as published by 1.801 +# the Free Software Foundation; either version 2, or (at your option) 1.802 +# any later version. 1.803 + 1.804 +# This program is distributed in the hope that it will be useful, 1.805 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.806 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.807 +# GNU General Public License for more details. 1.808 + 1.809 +# You should have received a copy of the GNU General Public License 1.810 +# along with this program; if not, write to the Free Software 1.811 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1.812 +# 02111-1307, USA. 1.813 + 1.814 +# serial 5 1.815 + 1.816 +AC_PREREQ(2.52) 1.817 + 1.818 +# AM_CONDITIONAL(NAME, SHELL-CONDITION) 1.819 +# ------------------------------------- 1.820 +# Define a conditional. 1.821 +AC_DEFUN([AM_CONDITIONAL], 1.822 +[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 1.823 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 1.824 +AC_SUBST([$1_TRUE]) 1.825 +AC_SUBST([$1_FALSE]) 1.826 +if $2; then 1.827 + $1_TRUE= 1.828 + $1_FALSE='#' 1.829 +else 1.830 + $1_TRUE='#' 1.831 + $1_FALSE= 1.832 +fi 1.833 +AC_CONFIG_COMMANDS_PRE( 1.834 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 1.835 + AC_MSG_ERROR([conditional "$1" was never defined. 1.836 +Usually this means the macro was only invoked conditionally.]) 1.837 +fi])]) 1.838 + 1.839 +# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*- 1.840 + 1.841 +# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. 1.842 + 1.843 +# This program is free software; you can redistribute it and/or modify 1.844 +# it under the terms of the GNU General Public License as published by 1.845 +# the Free Software Foundation; either version 2, or (at your option) 1.846 +# any later version. 1.847 + 1.848 +# This program is distributed in the hope that it will be useful, 1.849 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.850 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.851 +# GNU General Public License for more details. 1.852 + 1.853 +# You should have received a copy of the GNU General Public License 1.854 +# along with this program; if not, write to the Free Software 1.855 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1.856 +# 02111-1307, USA. 1.857 + 1.858 +AC_PREREQ([2.52]) 1.859 + 1.860 +# serial 6 1.861 + 1.862 +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. 1.863 +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) 1.864 + 1.865 +# Add --enable-maintainer-mode option to configure. 1.866 +# From Jim Meyering 1.867 + 1.868 +# Copyright 1996, 1998, 2000, 2001, 2002 Free Software Foundation, Inc. 1.869 + 1.870 +# This program is free software; you can redistribute it and/or modify 1.871 +# it under the terms of the GNU General Public License as published by 1.872 +# the Free Software Foundation; either version 2, or (at your option) 1.873 +# any later version. 1.874 + 1.875 +# This program is distributed in the hope that it will be useful, 1.876 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.877 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.878 +# GNU General Public License for more details. 1.879 + 1.880 +# You should have received a copy of the GNU General Public License 1.881 +# along with this program; if not, write to the Free Software 1.882 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1.883 +# 02111-1307, USA. 1.884 + 1.885 +# serial 2 1.886 + 1.887 +AC_DEFUN([AM_MAINTAINER_MODE], 1.888 +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) 1.889 + dnl maintainer-mode is disabled by default 1.890 + AC_ARG_ENABLE(maintainer-mode, 1.891 +[ --enable-maintainer-mode enable make rules and dependencies not useful 1.892 + (and sometimes confusing) to the casual installer], 1.893 + USE_MAINTAINER_MODE=$enableval, 1.894 + USE_MAINTAINER_MODE=no) 1.895 + AC_MSG_RESULT([$USE_MAINTAINER_MODE]) 1.896 + AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) 1.897 + MAINT=$MAINTAINER_MODE_TRUE 1.898 + AC_SUBST(MAINT)dnl 1.899 +] 1.900 +) 1.901 + 1.902 +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) 1.903 + 1.904 + 1.905 +# Copyright 1996, 1997, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 1.906 + 1.907 +# This program is free software; you can redistribute it and/or modify 1.908 +# it under the terms of the GNU General Public License as published by 1.909 +# the Free Software Foundation; either version 2, or (at your option) 1.910 +# any later version. 1.911 + 1.912 +# This program is distributed in the hope that it will be useful, 1.913 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.914 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.915 +# GNU General Public License for more details. 1.916 + 1.917 +# You should have received a copy of the GNU General Public License 1.918 +# along with this program; if not, write to the Free Software 1.919 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1.920 +# 02111-1307, USA. 1.921 + 1.922 +# serial 2 1.923 + 1.924 +# @defmac AC_PROG_CC_STDC 1.925 +# @maindex PROG_CC_STDC 1.926 +# @ovindex CC 1.927 +# If the C compiler in not in ANSI C mode by default, try to add an option 1.928 +# to output variable @code{CC} to make it so. This macro tries various 1.929 +# options that select ANSI C on some system or another. It considers the 1.930 +# compiler to be in ANSI C mode if it handles function prototypes correctly. 1.931 +# 1.932 +# If you use this macro, you should check after calling it whether the C 1.933 +# compiler has been set to accept ANSI C; if not, the shell variable 1.934 +# @code{am_cv_prog_cc_stdc} is set to @samp{no}. If you wrote your source 1.935 +# code in ANSI C, you can make an un-ANSIfied copy of it by using the 1.936 +# program @code{ansi2knr}, which comes with Ghostscript. 1.937 +# @end defmac 1.938 + 1.939 +AC_DEFUN([AM_PROG_CC_STDC], 1.940 +[AC_REQUIRE([AC_PROG_CC]) 1.941 +AC_BEFORE([$0], [AC_C_INLINE]) 1.942 +AC_BEFORE([$0], [AC_C_CONST]) 1.943 +dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require 1.944 +dnl a magic option to avoid problems with ANSI preprocessor commands 1.945 +dnl like #elif. 1.946 +dnl FIXME: can't do this because then AC_AIX won't work due to a 1.947 +dnl circular dependency. 1.948 +dnl AC_BEFORE([$0], [AC_PROG_CPP]) 1.949 +AC_MSG_CHECKING([for ${CC-cc} option to accept ANSI C]) 1.950 +AC_CACHE_VAL(am_cv_prog_cc_stdc, 1.951 +[am_cv_prog_cc_stdc=no 1.952 +ac_save_CC="$CC" 1.953 +# Don't try gcc -ansi; that turns off useful extensions and 1.954 +# breaks some systems' header files. 1.955 +# AIX -qlanglvl=ansi 1.956 +# Ultrix and OSF/1 -std1 1.957 +# HP-UX 10.20 and later -Ae 1.958 +# HP-UX older versions -Aa -D_HPUX_SOURCE 1.959 +# SVR4 -Xc -D__EXTENSIONS__ 1.960 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 1.961 +do 1.962 + CC="$ac_save_CC $ac_arg" 1.963 + AC_TRY_COMPILE( 1.964 +[#include <stdarg.h> 1.965 +#include <stdio.h> 1.966 +#include <sys/types.h> 1.967 +#include <sys/stat.h> 1.968 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 1.969 +struct buf { int x; }; 1.970 +FILE * (*rcsopen) (struct buf *, struct stat *, int); 1.971 +static char *e (p, i) 1.972 + char **p; 1.973 + int i; 1.974 +{ 1.975 + return p[i]; 1.976 +} 1.977 +static char *f (char * (*g) (char **, int), char **p, ...) 1.978 +{ 1.979 + char *s; 1.980 + va_list v; 1.981 + va_start (v,p); 1.982 + s = g (p, va_arg (v,int)); 1.983 + va_end (v); 1.984 + return s; 1.985 +} 1.986 +int test (int i, double x); 1.987 +struct s1 {int (*f) (int a);}; 1.988 +struct s2 {int (*f) (double a);}; 1.989 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 1.990 +int argc; 1.991 +char **argv; 1.992 +], [ 1.993 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 1.994 +], 1.995 +[am_cv_prog_cc_stdc="$ac_arg"; break]) 1.996 +done 1.997 +CC="$ac_save_CC" 1.998 +]) 1.999 +if test -z "$am_cv_prog_cc_stdc"; then 1.1000 + AC_MSG_RESULT([none needed]) 1.1001 +else 1.1002 + AC_MSG_RESULT([$am_cv_prog_cc_stdc]) 1.1003 +fi 1.1004 +case "x$am_cv_prog_cc_stdc" in 1.1005 + x|xno) ;; 1.1006 + *) CC="$CC $am_cv_prog_cc_stdc" ;; 1.1007 +esac 1.1008 +]) 1.1009 + 1.1010 +AU_DEFUN([fp_PROG_CC_STDC], [AM_PROG_CC_STDC]) 1.1011 + 1.1012 +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 1.1013 + 1.1014 +# serial 48 Debian 1.5.22-2 AC_PROG_LIBTOOL 1.1015 + 1.1016 + 1.1017 +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) 1.1018 +# ----------------------------------------------------------- 1.1019 +# If this macro is not defined by Autoconf, define it here. 1.1020 +m4_ifdef([AC_PROVIDE_IFELSE], 1.1021 + [], 1.1022 + [m4_define([AC_PROVIDE_IFELSE], 1.1023 + [m4_ifdef([AC_PROVIDE_$1], 1.1024 + [$2], [$3])])]) 1.1025 + 1.1026 + 1.1027 +# AC_PROG_LIBTOOL 1.1028 +# --------------- 1.1029 +AC_DEFUN([AC_PROG_LIBTOOL], 1.1030 +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl 1.1031 +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX 1.1032 +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. 1.1033 + AC_PROVIDE_IFELSE([AC_PROG_CXX], 1.1034 + [AC_LIBTOOL_CXX], 1.1035 + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX 1.1036 + ])]) 1.1037 +dnl And a similar setup for Fortran 77 support 1.1038 + AC_PROVIDE_IFELSE([AC_PROG_F77], 1.1039 + [AC_LIBTOOL_F77], 1.1040 + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 1.1041 +])]) 1.1042 + 1.1043 +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. 1.1044 +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run 1.1045 +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. 1.1046 + AC_PROVIDE_IFELSE([AC_PROG_GCJ], 1.1047 + [AC_LIBTOOL_GCJ], 1.1048 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], 1.1049 + [AC_LIBTOOL_GCJ], 1.1050 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], 1.1051 + [AC_LIBTOOL_GCJ], 1.1052 + [ifdef([AC_PROG_GCJ], 1.1053 + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) 1.1054 + ifdef([A][M_PROG_GCJ], 1.1055 + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) 1.1056 + ifdef([LT_AC_PROG_GCJ], 1.1057 + [define([LT_AC_PROG_GCJ], 1.1058 + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) 1.1059 +])])# AC_PROG_LIBTOOL 1.1060 + 1.1061 + 1.1062 +# _AC_PROG_LIBTOOL 1.1063 +# ---------------- 1.1064 +AC_DEFUN([_AC_PROG_LIBTOOL], 1.1065 +[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl 1.1066 +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl 1.1067 +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl 1.1068 +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl 1.1069 + 1.1070 +# This can be used to rebuild libtool when needed 1.1071 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" 1.1072 + 1.1073 +# Always use our own libtool. 1.1074 +LIBTOOL='$(SHELL) $(top_builddir)/libtool' 1.1075 +AC_SUBST(LIBTOOL)dnl 1.1076 + 1.1077 +# Prevent multiple expansion 1.1078 +define([AC_PROG_LIBTOOL], []) 1.1079 +])# _AC_PROG_LIBTOOL 1.1080 + 1.1081 + 1.1082 +# AC_LIBTOOL_SETUP 1.1083 +# ---------------- 1.1084 +AC_DEFUN([AC_LIBTOOL_SETUP], 1.1085 +[AC_PREREQ(2.50)dnl 1.1086 +AC_REQUIRE([AC_ENABLE_SHARED])dnl 1.1087 +AC_REQUIRE([AC_ENABLE_STATIC])dnl 1.1088 +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl 1.1089 +AC_REQUIRE([AC_CANONICAL_HOST])dnl 1.1090 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl 1.1091 +AC_REQUIRE([AC_PROG_CC])dnl 1.1092 +AC_REQUIRE([AC_PROG_LD])dnl 1.1093 +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl 1.1094 +AC_REQUIRE([AC_PROG_NM])dnl 1.1095 + 1.1096 +AC_REQUIRE([AC_PROG_LN_S])dnl 1.1097 +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl 1.1098 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! 1.1099 +AC_REQUIRE([AC_OBJEXT])dnl 1.1100 +AC_REQUIRE([AC_EXEEXT])dnl 1.1101 +dnl 1.1102 + 1.1103 +AC_LIBTOOL_SYS_MAX_CMD_LEN 1.1104 +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE 1.1105 +AC_LIBTOOL_OBJDIR 1.1106 + 1.1107 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 1.1108 +_LT_AC_PROG_ECHO_BACKSLASH 1.1109 + 1.1110 +case $host_os in 1.1111 +aix3*) 1.1112 + # AIX sometimes has problems with the GCC collect2 program. For some 1.1113 + # reason, if we set the COLLECT_NAMES environment variable, the problems 1.1114 + # vanish in a puff of smoke. 1.1115 + if test "X${COLLECT_NAMES+set}" != Xset; then 1.1116 + COLLECT_NAMES= 1.1117 + export COLLECT_NAMES 1.1118 + fi 1.1119 + ;; 1.1120 +esac 1.1121 + 1.1122 +# Sed substitution that helps us do robust quoting. It backslashifies 1.1123 +# metacharacters that are still active within double-quoted strings. 1.1124 +Xsed='sed -e 1s/^X//' 1.1125 +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] 1.1126 + 1.1127 +# Same as above, but do not quote variable references. 1.1128 +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] 1.1129 + 1.1130 +# Sed substitution to delay expansion of an escaped shell variable in a 1.1131 +# double_quote_subst'ed string. 1.1132 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 1.1133 + 1.1134 +# Sed substitution to avoid accidental globbing in evaled expressions 1.1135 +no_glob_subst='s/\*/\\\*/g' 1.1136 + 1.1137 +# Constants: 1.1138 +rm="rm -f" 1.1139 + 1.1140 +# Global variables: 1.1141 +default_ofile=libtool 1.1142 +can_build_shared=yes 1.1143 + 1.1144 +# All known linkers require a `.a' archive for static linking (except MSVC, 1.1145 +# which needs '.lib'). 1.1146 +libext=a 1.1147 +ltmain="$ac_aux_dir/ltmain.sh" 1.1148 +ofile="$default_ofile" 1.1149 +with_gnu_ld="$lt_cv_prog_gnu_ld" 1.1150 + 1.1151 +AC_CHECK_TOOL(AR, ar, false) 1.1152 +AC_CHECK_TOOL(RANLIB, ranlib, :) 1.1153 +AC_CHECK_TOOL(STRIP, strip, :) 1.1154 + 1.1155 +old_CC="$CC" 1.1156 +old_CFLAGS="$CFLAGS" 1.1157 + 1.1158 +# Set sane defaults for various variables 1.1159 +test -z "$AR" && AR=ar 1.1160 +test -z "$AR_FLAGS" && AR_FLAGS=cru 1.1161 +test -z "$AS" && AS=as 1.1162 +test -z "$CC" && CC=cc 1.1163 +test -z "$LTCC" && LTCC=$CC 1.1164 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 1.1165 +test -z "$DLLTOOL" && DLLTOOL=dlltool 1.1166 +test -z "$LD" && LD=ld 1.1167 +test -z "$LN_S" && LN_S="ln -s" 1.1168 +test -z "$MAGIC_CMD" && MAGIC_CMD=file 1.1169 +test -z "$NM" && NM=nm 1.1170 +test -z "$SED" && SED=sed 1.1171 +test -z "$OBJDUMP" && OBJDUMP=objdump 1.1172 +test -z "$RANLIB" && RANLIB=: 1.1173 +test -z "$STRIP" && STRIP=: 1.1174 +test -z "$ac_objext" && ac_objext=o 1.1175 + 1.1176 +# Determine commands to create old-style static archives. 1.1177 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' 1.1178 +old_postinstall_cmds='chmod 644 $oldlib' 1.1179 +old_postuninstall_cmds= 1.1180 + 1.1181 +if test -n "$RANLIB"; then 1.1182 + case $host_os in 1.1183 + openbsd*) 1.1184 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 1.1185 + ;; 1.1186 + *) 1.1187 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 1.1188 + ;; 1.1189 + esac 1.1190 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 1.1191 +fi 1.1192 + 1.1193 +_LT_CC_BASENAME([$compiler]) 1.1194 + 1.1195 +# Only perform the check for file, if the check method requires it 1.1196 +case $deplibs_check_method in 1.1197 +file_magic*) 1.1198 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1.1199 + AC_PATH_MAGIC 1.1200 + fi 1.1201 + ;; 1.1202 +esac 1.1203 + 1.1204 +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) 1.1205 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], 1.1206 +enable_win32_dll=yes, enable_win32_dll=no) 1.1207 + 1.1208 +AC_ARG_ENABLE([libtool-lock], 1.1209 + [AC_HELP_STRING([--disable-libtool-lock], 1.1210 + [avoid locking (might break parallel builds)])]) 1.1211 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 1.1212 + 1.1213 +AC_ARG_WITH([pic], 1.1214 + [AC_HELP_STRING([--with-pic], 1.1215 + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], 1.1216 + [pic_mode="$withval"], 1.1217 + [pic_mode=default]) 1.1218 +test -z "$pic_mode" && pic_mode=default 1.1219 + 1.1220 +# Use C for the default configuration in the libtool script 1.1221 +tagname= 1.1222 +AC_LIBTOOL_LANG_C_CONFIG 1.1223 +_LT_AC_TAGCONFIG 1.1224 +])# AC_LIBTOOL_SETUP 1.1225 + 1.1226 + 1.1227 +# _LT_AC_SYS_COMPILER 1.1228 +# ------------------- 1.1229 +AC_DEFUN([_LT_AC_SYS_COMPILER], 1.1230 +[AC_REQUIRE([AC_PROG_CC])dnl 1.1231 + 1.1232 +# If no C compiler was specified, use CC. 1.1233 +LTCC=${LTCC-"$CC"} 1.1234 + 1.1235 +# If no C compiler flags were specified, use CFLAGS. 1.1236 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 1.1237 + 1.1238 +# Allow CC to be a program name with arguments. 1.1239 +compiler=$CC 1.1240 +])# _LT_AC_SYS_COMPILER 1.1241 + 1.1242 + 1.1243 +# _LT_CC_BASENAME(CC) 1.1244 +# ------------------- 1.1245 +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 1.1246 +AC_DEFUN([_LT_CC_BASENAME], 1.1247 +[for cc_temp in $1""; do 1.1248 + case $cc_temp in 1.1249 + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; 1.1250 + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; 1.1251 + \-*) ;; 1.1252 + *) break;; 1.1253 + esac 1.1254 +done 1.1255 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 1.1256 +]) 1.1257 + 1.1258 + 1.1259 +# _LT_COMPILER_BOILERPLATE 1.1260 +# ------------------------ 1.1261 +# Check for compiler boilerplate output or warnings with 1.1262 +# the simple compiler test code. 1.1263 +AC_DEFUN([_LT_COMPILER_BOILERPLATE], 1.1264 +[ac_outfile=conftest.$ac_objext 1.1265 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext 1.1266 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 1.1267 +_lt_compiler_boilerplate=`cat conftest.err` 1.1268 +$rm conftest* 1.1269 +])# _LT_COMPILER_BOILERPLATE 1.1270 + 1.1271 + 1.1272 +# _LT_LINKER_BOILERPLATE 1.1273 +# ---------------------- 1.1274 +# Check for linker boilerplate output or warnings with 1.1275 +# the simple link test code. 1.1276 +AC_DEFUN([_LT_LINKER_BOILERPLATE], 1.1277 +[ac_outfile=conftest.$ac_objext 1.1278 +printf "$lt_simple_link_test_code" >conftest.$ac_ext 1.1279 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 1.1280 +_lt_linker_boilerplate=`cat conftest.err` 1.1281 +$rm conftest* 1.1282 +])# _LT_LINKER_BOILERPLATE 1.1283 + 1.1284 + 1.1285 +# _LT_AC_SYS_LIBPATH_AIX 1.1286 +# ---------------------- 1.1287 +# Links a minimal program and checks the executable 1.1288 +# for the system default hardcoded library path. In most cases, 1.1289 +# this is /usr/lib:/lib, but when the MPI compilers are used 1.1290 +# the location of the communication and MPI libs are included too. 1.1291 +# If we don't find anything, use the default library path according 1.1292 +# to the aix ld manual. 1.1293 +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], 1.1294 +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 1.1295 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 1.1296 +}'` 1.1297 +# Check for a 64-bit object if we didn't find anything. 1.1298 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 1.1299 +}'`; fi],[]) 1.1300 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 1.1301 +])# _LT_AC_SYS_LIBPATH_AIX 1.1302 + 1.1303 + 1.1304 +# _LT_AC_SHELL_INIT(ARG) 1.1305 +# ---------------------- 1.1306 +AC_DEFUN([_LT_AC_SHELL_INIT], 1.1307 +[ifdef([AC_DIVERSION_NOTICE], 1.1308 + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], 1.1309 + [AC_DIVERT_PUSH(NOTICE)]) 1.1310 +$1 1.1311 +AC_DIVERT_POP 1.1312 +])# _LT_AC_SHELL_INIT 1.1313 + 1.1314 + 1.1315 +# _LT_AC_PROG_ECHO_BACKSLASH 1.1316 +# -------------------------- 1.1317 +# Add some code to the start of the generated configure script which 1.1318 +# will find an echo command which doesn't interpret backslashes. 1.1319 +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], 1.1320 +[_LT_AC_SHELL_INIT([ 1.1321 +# Check that we are running under the correct shell. 1.1322 +SHELL=${CONFIG_SHELL-/bin/sh} 1.1323 + 1.1324 +case X$ECHO in 1.1325 +X*--fallback-echo) 1.1326 + # Remove one level of quotation (which was required for Make). 1.1327 + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` 1.1328 + ;; 1.1329 +esac 1.1330 + 1.1331 +echo=${ECHO-echo} 1.1332 +if test "X[$]1" = X--no-reexec; then 1.1333 + # Discard the --no-reexec flag, and continue. 1.1334 + shift 1.1335 +elif test "X[$]1" = X--fallback-echo; then 1.1336 + # Avoid inline document here, it may be left over 1.1337 + : 1.1338 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then 1.1339 + # Yippee, $echo works! 1.1340 + : 1.1341 +else 1.1342 + # Restart under the correct shell. 1.1343 + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} 1.1344 +fi 1.1345 + 1.1346 +if test "X[$]1" = X--fallback-echo; then 1.1347 + # used as fallback echo 1.1348 + shift 1.1349 + cat <<EOF 1.1350 +[$]* 1.1351 +EOF 1.1352 + exit 0 1.1353 +fi 1.1354 + 1.1355 +# The HP-UX ksh and POSIX shell print the target directory to stdout 1.1356 +# if CDPATH is set. 1.1357 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1.1358 + 1.1359 +if test -z "$ECHO"; then 1.1360 +if test "X${echo_test_string+set}" != Xset; then 1.1361 +# find a string as large as possible, as long as the shell can cope with it 1.1362 + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do 1.1363 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 1.1364 + if (echo_test_string=`eval $cmd`) 2>/dev/null && 1.1365 + echo_test_string=`eval $cmd` && 1.1366 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 1.1367 + then 1.1368 + break 1.1369 + fi 1.1370 + done 1.1371 +fi 1.1372 + 1.1373 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 1.1374 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 1.1375 + test "X$echo_testing_string" = "X$echo_test_string"; then 1.1376 + : 1.1377 +else 1.1378 + # The Solaris, AIX, and Digital Unix default echo programs unquote 1.1379 + # backslashes. This makes it impossible to quote backslashes using 1.1380 + # echo "$something" | sed 's/\\/\\\\/g' 1.1381 + # 1.1382 + # So, first we look for a working echo in the user's PATH. 1.1383 + 1.1384 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 1.1385 + for dir in $PATH /usr/ucb; do 1.1386 + IFS="$lt_save_ifs" 1.1387 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 1.1388 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 1.1389 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 1.1390 + test "X$echo_testing_string" = "X$echo_test_string"; then 1.1391 + echo="$dir/echo" 1.1392 + break 1.1393 + fi 1.1394 + done 1.1395 + IFS="$lt_save_ifs" 1.1396 + 1.1397 + if test "X$echo" = Xecho; then 1.1398 + # We didn't find a better echo, so look for alternatives. 1.1399 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && 1.1400 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && 1.1401 + test "X$echo_testing_string" = "X$echo_test_string"; then 1.1402 + # This shell has a builtin print -r that does the trick. 1.1403 + echo='print -r' 1.1404 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && 1.1405 + test "X$CONFIG_SHELL" != X/bin/ksh; then 1.1406 + # If we have ksh, try running configure again with it. 1.1407 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 1.1408 + export ORIGINAL_CONFIG_SHELL 1.1409 + CONFIG_SHELL=/bin/ksh 1.1410 + export CONFIG_SHELL 1.1411 + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} 1.1412 + else 1.1413 + # Try using printf. 1.1414 + echo='printf %s\n' 1.1415 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 1.1416 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 1.1417 + test "X$echo_testing_string" = "X$echo_test_string"; then 1.1418 + # Cool, printf works 1.1419 + : 1.1420 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && 1.1421 + test "X$echo_testing_string" = 'X\t' && 1.1422 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && 1.1423 + test "X$echo_testing_string" = "X$echo_test_string"; then 1.1424 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 1.1425 + export CONFIG_SHELL 1.1426 + SHELL="$CONFIG_SHELL" 1.1427 + export SHELL 1.1428 + echo="$CONFIG_SHELL [$]0 --fallback-echo" 1.1429 + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && 1.1430 + test "X$echo_testing_string" = 'X\t' && 1.1431 + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && 1.1432 + test "X$echo_testing_string" = "X$echo_test_string"; then 1.1433 + echo="$CONFIG_SHELL [$]0 --fallback-echo" 1.1434 + else 1.1435 + # maybe with a smaller string... 1.1436 + prev=: 1.1437 + 1.1438 + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do 1.1439 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null 1.1440 + then 1.1441 + break 1.1442 + fi 1.1443 + prev="$cmd" 1.1444 + done 1.1445 + 1.1446 + if test "$prev" != 'sed 50q "[$]0"'; then 1.1447 + echo_test_string=`eval $prev` 1.1448 + export echo_test_string 1.1449 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} 1.1450 + else 1.1451 + # Oops. We lost completely, so just stick with echo. 1.1452 + echo=echo 1.1453 + fi 1.1454 + fi 1.1455 + fi 1.1456 + fi 1.1457 +fi 1.1458 +fi 1.1459 + 1.1460 +# Copy echo and quote the copy suitably for passing to libtool from 1.1461 +# the Makefile, instead of quoting the original, which is used later. 1.1462 +ECHO=$echo 1.1463 +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then 1.1464 + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" 1.1465 +fi 1.1466 + 1.1467 +AC_SUBST(ECHO) 1.1468 +])])# _LT_AC_PROG_ECHO_BACKSLASH 1.1469 + 1.1470 + 1.1471 +# _LT_AC_LOCK 1.1472 +# ----------- 1.1473 +AC_DEFUN([_LT_AC_LOCK], 1.1474 +[AC_ARG_ENABLE([libtool-lock], 1.1475 + [AC_HELP_STRING([--disable-libtool-lock], 1.1476 + [avoid locking (might break parallel builds)])]) 1.1477 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 1.1478 + 1.1479 +# Some flags need to be propagated to the compiler or linker for good 1.1480 +# libtool support. 1.1481 +case $host in 1.1482 +ia64-*-hpux*) 1.1483 + # Find out which ABI we are using. 1.1484 + echo 'int i;' > conftest.$ac_ext 1.1485 + if AC_TRY_EVAL(ac_compile); then 1.1486 + case `/usr/bin/file conftest.$ac_objext` in 1.1487 + *ELF-32*) 1.1488 + HPUX_IA64_MODE="32" 1.1489 + ;; 1.1490 + *ELF-64*) 1.1491 + HPUX_IA64_MODE="64" 1.1492 + ;; 1.1493 + esac 1.1494 + fi 1.1495 + rm -rf conftest* 1.1496 + ;; 1.1497 +*-*-irix6*) 1.1498 + # Find out which ABI we are using. 1.1499 + echo '[#]line __oline__ "configure"' > conftest.$ac_ext 1.1500 + if AC_TRY_EVAL(ac_compile); then 1.1501 + if test "$lt_cv_prog_gnu_ld" = yes; then 1.1502 + case `/usr/bin/file conftest.$ac_objext` in 1.1503 + *32-bit*) 1.1504 + LD="${LD-ld} -melf32bsmip" 1.1505 + ;; 1.1506 + *N32*) 1.1507 + LD="${LD-ld} -melf32bmipn32" 1.1508 + ;; 1.1509 + *64-bit*) 1.1510 + LD="${LD-ld} -melf64bmip" 1.1511 + ;; 1.1512 + esac 1.1513 + else 1.1514 + case `/usr/bin/file conftest.$ac_objext` in 1.1515 + *32-bit*) 1.1516 + LD="${LD-ld} -32" 1.1517 + ;; 1.1518 + *N32*) 1.1519 + LD="${LD-ld} -n32" 1.1520 + ;; 1.1521 + *64-bit*) 1.1522 + LD="${LD-ld} -64" 1.1523 + ;; 1.1524 + esac 1.1525 + fi 1.1526 + fi 1.1527 + rm -rf conftest* 1.1528 + ;; 1.1529 + 1.1530 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 1.1531 + # Find out which ABI we are using. 1.1532 + echo 'int i;' > conftest.$ac_ext 1.1533 + if AC_TRY_EVAL(ac_compile); then 1.1534 + case `/usr/bin/file conftest.o` in 1.1535 + *32-bit*) 1.1536 + case $host in 1.1537 + x86_64-*linux*) 1.1538 + LD="${LD-ld} -m elf_i386" 1.1539 + ;; 1.1540 + ppc64-*linux*|powerpc64-*linux*) 1.1541 + LD="${LD-ld} -m elf32ppclinux" 1.1542 + ;; 1.1543 + s390x-*linux*) 1.1544 + LD="${LD-ld} -m elf_s390" 1.1545 + ;; 1.1546 + sparc64-*linux*) 1.1547 + LD="${LD-ld} -m elf32_sparc" 1.1548 + ;; 1.1549 + esac 1.1550 + ;; 1.1551 + *64-bit*) 1.1552 + case $host in 1.1553 + x86_64-*linux*) 1.1554 + LD="${LD-ld} -m elf_x86_64" 1.1555 + ;; 1.1556 + ppc*-*linux*|powerpc*-*linux*) 1.1557 + LD="${LD-ld} -m elf64ppc" 1.1558 + ;; 1.1559 + s390*-*linux*) 1.1560 + LD="${LD-ld} -m elf64_s390" 1.1561 + ;; 1.1562 + sparc*-*linux*) 1.1563 + LD="${LD-ld} -m elf64_sparc" 1.1564 + ;; 1.1565 + esac 1.1566 + ;; 1.1567 + esac 1.1568 + fi 1.1569 + rm -rf conftest* 1.1570 + ;; 1.1571 + 1.1572 +*-*-sco3.2v5*) 1.1573 + # On SCO OpenServer 5, we need -belf to get full-featured binaries. 1.1574 + SAVE_CFLAGS="$CFLAGS" 1.1575 + CFLAGS="$CFLAGS -belf" 1.1576 + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, 1.1577 + [AC_LANG_PUSH(C) 1.1578 + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) 1.1579 + AC_LANG_POP]) 1.1580 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then 1.1581 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 1.1582 + CFLAGS="$SAVE_CFLAGS" 1.1583 + fi 1.1584 + ;; 1.1585 +sparc*-*solaris*) 1.1586 + # Find out which ABI we are using. 1.1587 + echo 'int i;' > conftest.$ac_ext 1.1588 + if AC_TRY_EVAL(ac_compile); then 1.1589 + case `/usr/bin/file conftest.o` in 1.1590 + *64-bit*) 1.1591 + case $lt_cv_prog_gnu_ld in 1.1592 + yes*) LD="${LD-ld} -m elf64_sparc" ;; 1.1593 + *) LD="${LD-ld} -64" ;; 1.1594 + esac 1.1595 + ;; 1.1596 + esac 1.1597 + fi 1.1598 + rm -rf conftest* 1.1599 + ;; 1.1600 + 1.1601 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], 1.1602 +[*-*-cygwin* | *-*-mingw* | *-*-pw32*) 1.1603 + AC_CHECK_TOOL(DLLTOOL, dlltool, false) 1.1604 + AC_CHECK_TOOL(AS, as, false) 1.1605 + AC_CHECK_TOOL(OBJDUMP, objdump, false) 1.1606 + ;; 1.1607 + ]) 1.1608 +esac 1.1609 + 1.1610 +need_locks="$enable_libtool_lock" 1.1611 + 1.1612 +])# _LT_AC_LOCK 1.1613 + 1.1614 + 1.1615 +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, 1.1616 +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) 1.1617 +# ---------------------------------------------------------------- 1.1618 +# Check whether the given compiler option works 1.1619 +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], 1.1620 +[AC_REQUIRE([LT_AC_PROG_SED]) 1.1621 +AC_CACHE_CHECK([$1], [$2], 1.1622 + [$2=no 1.1623 + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) 1.1624 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext 1.1625 + lt_compiler_flag="$3" 1.1626 + # Insert the option either (1) after the last *FLAGS variable, or 1.1627 + # (2) before a word containing "conftest.", or (3) at the end. 1.1628 + # Note that $ac_compile itself does not contain backslashes and begins 1.1629 + # with a dollar sign (not a hyphen), so the echo should work correctly. 1.1630 + # The option is referenced via a variable to avoid confusing sed. 1.1631 + lt_compile=`echo "$ac_compile" | $SED \ 1.1632 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 1.1633 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 1.1634 + -e 's:$: $lt_compiler_flag:'` 1.1635 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) 1.1636 + (eval "$lt_compile" 2>conftest.err) 1.1637 + ac_status=$? 1.1638 + cat conftest.err >&AS_MESSAGE_LOG_FD 1.1639 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 1.1640 + if (exit $ac_status) && test -s "$ac_outfile"; then 1.1641 + # The compiler can only warn and ignore the option if not recognized 1.1642 + # So say no if there are warnings other than the usual output. 1.1643 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 1.1644 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 1.1645 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 1.1646 + $2=yes 1.1647 + fi 1.1648 + fi 1.1649 + $rm conftest* 1.1650 +]) 1.1651 + 1.1652 +if test x"[$]$2" = xyes; then 1.1653 + ifelse([$5], , :, [$5]) 1.1654 +else 1.1655 + ifelse([$6], , :, [$6]) 1.1656 +fi 1.1657 +])# AC_LIBTOOL_COMPILER_OPTION 1.1658 + 1.1659 + 1.1660 +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, 1.1661 +# [ACTION-SUCCESS], [ACTION-FAILURE]) 1.1662 +# ------------------------------------------------------------ 1.1663 +# Check whether the given compiler option works 1.1664 +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], 1.1665 +[AC_CACHE_CHECK([$1], [$2], 1.1666 + [$2=no 1.1667 + save_LDFLAGS="$LDFLAGS" 1.1668 + LDFLAGS="$LDFLAGS $3" 1.1669 + printf "$lt_simple_link_test_code" > conftest.$ac_ext 1.1670 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 1.1671 + # The linker can only warn and ignore the option if not recognized 1.1672 + # So say no if there are warnings 1.1673 + if test -s conftest.err; then 1.1674 + # Append any errors to the config.log. 1.1675 + cat conftest.err 1>&AS_MESSAGE_LOG_FD 1.1676 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 1.1677 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 1.1678 + if diff conftest.exp conftest.er2 >/dev/null; then 1.1679 + $2=yes 1.1680 + fi 1.1681 + else 1.1682 + $2=yes 1.1683 + fi 1.1684 + fi 1.1685 + $rm conftest* 1.1686 + LDFLAGS="$save_LDFLAGS" 1.1687 +]) 1.1688 + 1.1689 +if test x"[$]$2" = xyes; then 1.1690 + ifelse([$4], , :, [$4]) 1.1691 +else 1.1692 + ifelse([$5], , :, [$5]) 1.1693 +fi 1.1694 +])# AC_LIBTOOL_LINKER_OPTION 1.1695 + 1.1696 + 1.1697 +# AC_LIBTOOL_SYS_MAX_CMD_LEN 1.1698 +# -------------------------- 1.1699 +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], 1.1700 +[# find the maximum length of command line arguments 1.1701 +AC_MSG_CHECKING([the maximum length of command line arguments]) 1.1702 +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl 1.1703 + i=0 1.1704 + teststring="ABCD" 1.1705 + 1.1706 + case $build_os in 1.1707 + msdosdjgpp*) 1.1708 + # On DJGPP, this test can blow up pretty badly due to problems in libc 1.1709 + # (any single argument exceeding 2000 bytes causes a buffer overrun 1.1710 + # during glob expansion). Even if it were fixed, the result of this 1.1711 + # check would be larger than it should be. 1.1712 + lt_cv_sys_max_cmd_len=12288; # 12K is about right 1.1713 + ;; 1.1714 + 1.1715 + gnu*) 1.1716 + # Under GNU Hurd, this test is not required because there is 1.1717 + # no limit to the length of command line arguments. 1.1718 + # Libtool will interpret -1 as no limit whatsoever 1.1719 + lt_cv_sys_max_cmd_len=-1; 1.1720 + ;; 1.1721 + 1.1722 + cygwin* | mingw*) 1.1723 + # On Win9x/ME, this test blows up -- it succeeds, but takes 1.1724 + # about 5 minutes as the teststring grows exponentially. 1.1725 + # Worse, since 9x/ME are not pre-emptively multitasking, 1.1726 + # you end up with a "frozen" computer, even though with patience 1.1727 + # the test eventually succeeds (with a max line length of 256k). 1.1728 + # Instead, let's just punt: use the minimum linelength reported by 1.1729 + # all of the supported platforms: 8192 (on NT/2K/XP). 1.1730 + lt_cv_sys_max_cmd_len=8192; 1.1731 + ;; 1.1732 + 1.1733 + amigaos*) 1.1734 + # On AmigaOS with pdksh, this test takes hours, literally. 1.1735 + # So we just punt and use a minimum line length of 8192. 1.1736 + lt_cv_sys_max_cmd_len=8192; 1.1737 + ;; 1.1738 + 1.1739 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 1.1740 + # This has been around since 386BSD, at least. Likely further. 1.1741 + if test -x /sbin/sysctl; then 1.1742 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 1.1743 + elif test -x /usr/sbin/sysctl; then 1.1744 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 1.1745 + else 1.1746 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 1.1747 + fi 1.1748 + # And add a safety zone 1.1749 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 1.1750 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 1.1751 + ;; 1.1752 + 1.1753 + interix*) 1.1754 + # We know the value 262144 and hardcode it with a safety zone (like BSD) 1.1755 + lt_cv_sys_max_cmd_len=196608 1.1756 + ;; 1.1757 + 1.1758 + osf*) 1.1759 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 1.1760 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 1.1761 + # nice to cause kernel panics so lets avoid the loop below. 1.1762 + # First set a reasonable default. 1.1763 + lt_cv_sys_max_cmd_len=16384 1.1764 + # 1.1765 + if test -x /sbin/sysconfig; then 1.1766 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 1.1767 + *1*) lt_cv_sys_max_cmd_len=-1 ;; 1.1768 + esac 1.1769 + fi 1.1770 + ;; 1.1771 + sco3.2v5*) 1.1772 + lt_cv_sys_max_cmd_len=102400 1.1773 + ;; 1.1774 + sysv5* | sco5v6* | sysv4.2uw2*) 1.1775 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 1.1776 + if test -n "$kargmax"; then 1.1777 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` 1.1778 + else 1.1779 + lt_cv_sys_max_cmd_len=32768 1.1780 + fi 1.1781 + ;; 1.1782 + *) 1.1783 + # If test is not a shell built-in, we'll probably end up computing a 1.1784 + # maximum length that is only half of the actual maximum length, but 1.1785 + # we can't tell. 1.1786 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 1.1787 + while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 1.1788 + = "XX$teststring") >/dev/null 2>&1 && 1.1789 + new_result=`expr "X$teststring" : ".*" 2>&1` && 1.1790 + lt_cv_sys_max_cmd_len=$new_result && 1.1791 + test $i != 17 # 1/2 MB should be enough 1.1792 + do 1.1793 + i=`expr $i + 1` 1.1794 + teststring=$teststring$teststring 1.1795 + done 1.1796 + teststring= 1.1797 + # Add a significant safety factor because C++ compilers can tack on massive 1.1798 + # amounts of additional arguments before passing them to the linker. 1.1799 + # It appears as though 1/2 is a usable value. 1.1800 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 1.1801 + ;; 1.1802 + esac 1.1803 +]) 1.1804 +if test -n $lt_cv_sys_max_cmd_len ; then 1.1805 + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) 1.1806 +else 1.1807 + AC_MSG_RESULT(none) 1.1808 +fi 1.1809 +])# AC_LIBTOOL_SYS_MAX_CMD_LEN 1.1810 + 1.1811 + 1.1812 +# _LT_AC_CHECK_DLFCN 1.1813 +# ------------------ 1.1814 +AC_DEFUN([_LT_AC_CHECK_DLFCN], 1.1815 +[AC_CHECK_HEADERS(dlfcn.h)dnl 1.1816 +])# _LT_AC_CHECK_DLFCN 1.1817 + 1.1818 + 1.1819 +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, 1.1820 +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) 1.1821 +# --------------------------------------------------------------------- 1.1822 +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], 1.1823 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl 1.1824 +if test "$cross_compiling" = yes; then : 1.1825 + [$4] 1.1826 +else 1.1827 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 1.1828 + lt_status=$lt_dlunknown 1.1829 + cat > conftest.$ac_ext <<EOF 1.1830 +[#line __oline__ "configure" 1.1831 +#include "confdefs.h" 1.1832 + 1.1833 +#if HAVE_DLFCN_H 1.1834 +#include <dlfcn.h> 1.1835 +#endif 1.1836 + 1.1837 +#include <stdio.h> 1.1838 + 1.1839 +#ifdef RTLD_GLOBAL 1.1840 +# define LT_DLGLOBAL RTLD_GLOBAL 1.1841 +#else 1.1842 +# ifdef DL_GLOBAL 1.1843 +# define LT_DLGLOBAL DL_GLOBAL 1.1844 +# else 1.1845 +# define LT_DLGLOBAL 0 1.1846 +# endif 1.1847 +#endif 1.1848 + 1.1849 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 1.1850 + find out it does not work in some platform. */ 1.1851 +#ifndef LT_DLLAZY_OR_NOW 1.1852 +# ifdef RTLD_LAZY 1.1853 +# define LT_DLLAZY_OR_NOW RTLD_LAZY 1.1854 +# else 1.1855 +# ifdef DL_LAZY 1.1856 +# define LT_DLLAZY_OR_NOW DL_LAZY 1.1857 +# else 1.1858 +# ifdef RTLD_NOW 1.1859 +# define LT_DLLAZY_OR_NOW RTLD_NOW 1.1860 +# else 1.1861 +# ifdef DL_NOW 1.1862 +# define LT_DLLAZY_OR_NOW DL_NOW 1.1863 +# else 1.1864 +# define LT_DLLAZY_OR_NOW 0 1.1865 +# endif 1.1866 +# endif 1.1867 +# endif 1.1868 +# endif 1.1869 +#endif 1.1870 + 1.1871 +#ifdef __cplusplus 1.1872 +extern "C" void exit (int); 1.1873 +#endif 1.1874 + 1.1875 +void fnord() { int i=42;} 1.1876 +int main () 1.1877 +{ 1.1878 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 1.1879 + int status = $lt_dlunknown; 1.1880 + 1.1881 + if (self) 1.1882 + { 1.1883 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 1.1884 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 1.1885 + /* dlclose (self); */ 1.1886 + } 1.1887 + else 1.1888 + puts (dlerror ()); 1.1889 + 1.1890 + exit (status); 1.1891 +}] 1.1892 +EOF 1.1893 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then 1.1894 + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null 1.1895 + lt_status=$? 1.1896 + case x$lt_status in 1.1897 + x$lt_dlno_uscore) $1 ;; 1.1898 + x$lt_dlneed_uscore) $2 ;; 1.1899 + x$lt_dlunknown|x*) $3 ;; 1.1900 + esac 1.1901 + else : 1.1902 + # compilation failed 1.1903 + $3 1.1904 + fi 1.1905 +fi 1.1906 +rm -fr conftest* 1.1907 +])# _LT_AC_TRY_DLOPEN_SELF 1.1908 + 1.1909 + 1.1910 +# AC_LIBTOOL_DLOPEN_SELF 1.1911 +# ---------------------- 1.1912 +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], 1.1913 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl 1.1914 +if test "x$enable_dlopen" != xyes; then 1.1915 + enable_dlopen=unknown 1.1916 + enable_dlopen_self=unknown 1.1917 + enable_dlopen_self_static=unknown 1.1918 +else 1.1919 + lt_cv_dlopen=no 1.1920 + lt_cv_dlopen_libs= 1.1921 + 1.1922 + case $host_os in 1.1923 + beos*) 1.1924 + lt_cv_dlopen="load_add_on" 1.1925 + lt_cv_dlopen_libs= 1.1926 + lt_cv_dlopen_self=yes 1.1927 + ;; 1.1928 + 1.1929 + mingw* | pw32*) 1.1930 + lt_cv_dlopen="LoadLibrary" 1.1931 + lt_cv_dlopen_libs= 1.1932 + ;; 1.1933 + 1.1934 + cygwin*) 1.1935 + lt_cv_dlopen="dlopen" 1.1936 + lt_cv_dlopen_libs= 1.1937 + ;; 1.1938 + 1.1939 + darwin*) 1.1940 + # if libdl is installed we need to link against it 1.1941 + AC_CHECK_LIB([dl], [dlopen], 1.1942 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ 1.1943 + lt_cv_dlopen="dyld" 1.1944 + lt_cv_dlopen_libs= 1.1945 + lt_cv_dlopen_self=yes 1.1946 + ]) 1.1947 + ;; 1.1948 + 1.1949 + *) 1.1950 + AC_CHECK_FUNC([shl_load], 1.1951 + [lt_cv_dlopen="shl_load"], 1.1952 + [AC_CHECK_LIB([dld], [shl_load], 1.1953 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], 1.1954 + [AC_CHECK_FUNC([dlopen], 1.1955 + [lt_cv_dlopen="dlopen"], 1.1956 + [AC_CHECK_LIB([dl], [dlopen], 1.1957 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], 1.1958 + [AC_CHECK_LIB([svld], [dlopen], 1.1959 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], 1.1960 + [AC_CHECK_LIB([dld], [dld_link], 1.1961 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) 1.1962 + ]) 1.1963 + ]) 1.1964 + ]) 1.1965 + ]) 1.1966 + ]) 1.1967 + ;; 1.1968 + esac 1.1969 + 1.1970 + if test "x$lt_cv_dlopen" != xno; then 1.1971 + enable_dlopen=yes 1.1972 + else 1.1973 + enable_dlopen=no 1.1974 + fi 1.1975 + 1.1976 + case $lt_cv_dlopen in 1.1977 + dlopen) 1.1978 + save_CPPFLAGS="$CPPFLAGS" 1.1979 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 1.1980 + 1.1981 + save_LDFLAGS="$LDFLAGS" 1.1982 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 1.1983 + 1.1984 + save_LIBS="$LIBS" 1.1985 + LIBS="$lt_cv_dlopen_libs $LIBS" 1.1986 + 1.1987 + AC_CACHE_CHECK([whether a program can dlopen itself], 1.1988 + lt_cv_dlopen_self, [dnl 1.1989 + _LT_AC_TRY_DLOPEN_SELF( 1.1990 + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, 1.1991 + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) 1.1992 + ]) 1.1993 + 1.1994 + if test "x$lt_cv_dlopen_self" = xyes; then 1.1995 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 1.1996 + AC_CACHE_CHECK([whether a statically linked program can dlopen itself], 1.1997 + lt_cv_dlopen_self_static, [dnl 1.1998 + _LT_AC_TRY_DLOPEN_SELF( 1.1999 + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, 1.2000 + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) 1.2001 + ]) 1.2002 + fi 1.2003 + 1.2004 + CPPFLAGS="$save_CPPFLAGS" 1.2005 + LDFLAGS="$save_LDFLAGS" 1.2006 + LIBS="$save_LIBS" 1.2007 + ;; 1.2008 + esac 1.2009 + 1.2010 + case $lt_cv_dlopen_self in 1.2011 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 1.2012 + *) enable_dlopen_self=unknown ;; 1.2013 + esac 1.2014 + 1.2015 + case $lt_cv_dlopen_self_static in 1.2016 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 1.2017 + *) enable_dlopen_self_static=unknown ;; 1.2018 + esac 1.2019 +fi 1.2020 +])# AC_LIBTOOL_DLOPEN_SELF 1.2021 + 1.2022 + 1.2023 +# AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) 1.2024 +# --------------------------------- 1.2025 +# Check to see if options -c and -o are simultaneously supported by compiler 1.2026 +AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], 1.2027 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 1.2028 +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], 1.2029 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], 1.2030 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no 1.2031 + $rm -r conftest 2>/dev/null 1.2032 + mkdir conftest 1.2033 + cd conftest 1.2034 + mkdir out 1.2035 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext 1.2036 + 1.2037 + lt_compiler_flag="-o out/conftest2.$ac_objext" 1.2038 + # Insert the option either (1) after the last *FLAGS variable, or 1.2039 + # (2) before a word containing "conftest.", or (3) at the end. 1.2040 + # Note that $ac_compile itself does not contain backslashes and begins 1.2041 + # with a dollar sign (not a hyphen), so the echo should work correctly. 1.2042 + lt_compile=`echo "$ac_compile" | $SED \ 1.2043 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 1.2044 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 1.2045 + -e 's:$: $lt_compiler_flag:'` 1.2046 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) 1.2047 + (eval "$lt_compile" 2>out/conftest.err) 1.2048 + ac_status=$? 1.2049 + cat out/conftest.err >&AS_MESSAGE_LOG_FD 1.2050 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 1.2051 + if (exit $ac_status) && test -s out/conftest2.$ac_objext 1.2052 + then 1.2053 + # The compiler can only warn and ignore the option if not recognized 1.2054 + # So say no if there are warnings 1.2055 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 1.2056 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 1.2057 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 1.2058 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes 1.2059 + fi 1.2060 + fi 1.2061 + chmod u+w . 2>&AS_MESSAGE_LOG_FD 1.2062 + $rm conftest* 1.2063 + # SGI C++ compiler will create directory out/ii_files/ for 1.2064 + # template instantiation 1.2065 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 1.2066 + $rm out/* && rmdir out 1.2067 + cd .. 1.2068 + rmdir conftest 1.2069 + $rm conftest* 1.2070 +]) 1.2071 +])# AC_LIBTOOL_PROG_CC_C_O 1.2072 + 1.2073 + 1.2074 +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) 1.2075 +# ----------------------------------------- 1.2076 +# Check to see if we can do hard links to lock some files if needed 1.2077 +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], 1.2078 +[AC_REQUIRE([_LT_AC_LOCK])dnl 1.2079 + 1.2080 +hard_links="nottested" 1.2081 +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then 1.2082 + # do not overwrite the value of need_locks provided by the user 1.2083 + AC_MSG_CHECKING([if we can lock with hard links]) 1.2084 + hard_links=yes 1.2085 + $rm conftest* 1.2086 + ln conftest.a conftest.b 2>/dev/null && hard_links=no 1.2087 + touch conftest.a 1.2088 + ln conftest.a conftest.b 2>&5 || hard_links=no 1.2089 + ln conftest.a conftest.b 2>/dev/null && hard_links=no 1.2090 + AC_MSG_RESULT([$hard_links]) 1.2091 + if test "$hard_links" = no; then 1.2092 + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) 1.2093 + need_locks=warn 1.2094 + fi 1.2095 +else 1.2096 + need_locks=no 1.2097 +fi 1.2098 +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS 1.2099 + 1.2100 + 1.2101 +# AC_LIBTOOL_OBJDIR 1.2102 +# ----------------- 1.2103 +AC_DEFUN([AC_LIBTOOL_OBJDIR], 1.2104 +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], 1.2105 +[rm -f .libs 2>/dev/null 1.2106 +mkdir .libs 2>/dev/null 1.2107 +if test -d .libs; then 1.2108 + lt_cv_objdir=.libs 1.2109 +else 1.2110 + # MS-DOS does not allow filenames that begin with a dot. 1.2111 + lt_cv_objdir=_libs 1.2112 +fi 1.2113 +rmdir .libs 2>/dev/null]) 1.2114 +objdir=$lt_cv_objdir 1.2115 +])# AC_LIBTOOL_OBJDIR 1.2116 + 1.2117 + 1.2118 +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) 1.2119 +# ---------------------------------------------- 1.2120 +# Check hardcoding attributes. 1.2121 +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], 1.2122 +[AC_MSG_CHECKING([how to hardcode library paths into programs]) 1.2123 +_LT_AC_TAGVAR(hardcode_action, $1)= 1.2124 +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ 1.2125 + test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ 1.2126 + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then 1.2127 + 1.2128 + # We can hardcode non-existant directories. 1.2129 + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && 1.2130 + # If the only mechanism to avoid hardcoding is shlibpath_var, we 1.2131 + # have to relink, otherwise we might link with an installed library 1.2132 + # when we should be linking with a yet-to-be-installed one 1.2133 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && 1.2134 + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then 1.2135 + # Linking always hardcodes the temporary library directory. 1.2136 + _LT_AC_TAGVAR(hardcode_action, $1)=relink 1.2137 + else 1.2138 + # We can link without hardcoding, and we can hardcode nonexisting dirs. 1.2139 + _LT_AC_TAGVAR(hardcode_action, $1)=immediate 1.2140 + fi 1.2141 +else 1.2142 + # We cannot hardcode anything, or else we can only hardcode existing 1.2143 + # directories. 1.2144 + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported 1.2145 +fi 1.2146 +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) 1.2147 + 1.2148 +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then 1.2149 + # Fast installation is not supported 1.2150 + enable_fast_install=no 1.2151 +elif test "$shlibpath_overrides_runpath" = yes || 1.2152 + test "$enable_shared" = no; then 1.2153 + # Fast installation is not necessary 1.2154 + enable_fast_install=needless 1.2155 +fi 1.2156 +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH 1.2157 + 1.2158 + 1.2159 +# AC_LIBTOOL_SYS_LIB_STRIP 1.2160 +# ------------------------ 1.2161 +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], 1.2162 +[striplib= 1.2163 +old_striplib= 1.2164 +AC_MSG_CHECKING([whether stripping libraries is possible]) 1.2165 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 1.2166 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 1.2167 + test -z "$striplib" && striplib="$STRIP --strip-unneeded" 1.2168 + AC_MSG_RESULT([yes]) 1.2169 +else 1.2170 +# FIXME - insert some real tests, host_os isn't really good enough 1.2171 + case $host_os in 1.2172 + darwin*) 1.2173 + if test -n "$STRIP" ; then 1.2174 + striplib="$STRIP -x" 1.2175 + AC_MSG_RESULT([yes]) 1.2176 + else 1.2177 + AC_MSG_RESULT([no]) 1.2178 +fi 1.2179 + ;; 1.2180 + *) 1.2181 + AC_MSG_RESULT([no]) 1.2182 + ;; 1.2183 + esac 1.2184 +fi 1.2185 +])# AC_LIBTOOL_SYS_LIB_STRIP 1.2186 + 1.2187 + 1.2188 +# AC_LIBTOOL_SYS_DYNAMIC_LINKER 1.2189 +# ----------------------------- 1.2190 +# PORTME Fill in your ld.so characteristics 1.2191 +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], 1.2192 +[AC_MSG_CHECKING([dynamic linker characteristics]) 1.2193 +library_names_spec= 1.2194 +libname_spec='lib$name' 1.2195 +soname_spec= 1.2196 +shrext_cmds=".so" 1.2197 +postinstall_cmds= 1.2198 +postuninstall_cmds= 1.2199 +finish_cmds= 1.2200 +finish_eval= 1.2201 +shlibpath_var= 1.2202 +shlibpath_overrides_runpath=unknown 1.2203 +version_type=none 1.2204 +dynamic_linker="$host_os ld.so" 1.2205 +sys_lib_dlsearch_path_spec="/lib /usr/lib" 1.2206 +if test "$GCC" = yes; then 1.2207 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 1.2208 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then 1.2209 + # if the path contains ";" then we assume it to be the separator 1.2210 + # otherwise default to the standard path separator (i.e. ":") - it is 1.2211 + # assumed that no part of a normal pathname contains ";" but that should 1.2212 + # okay in the real world where ";" in dirpaths is itself problematic. 1.2213 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 1.2214 + else 1.2215 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 1.2216 + fi 1.2217 +else 1.2218 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 1.2219 +fi 1.2220 +need_lib_prefix=unknown 1.2221 +hardcode_into_libs=no 1.2222 + 1.2223 +# when you set need_version to no, make sure it does not cause -set_version 1.2224 +# flags to be left without arguments 1.2225 +need_version=unknown 1.2226 + 1.2227 +case $host_os in 1.2228 +aix3*) 1.2229 + version_type=linux 1.2230 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 1.2231 + shlibpath_var=LIBPATH 1.2232 + 1.2233 + # AIX 3 has no versioning support, so we append a major version to the name. 1.2234 + soname_spec='${libname}${release}${shared_ext}$major' 1.2235 + ;; 1.2236 + 1.2237 +aix4* | aix5*) 1.2238 + version_type=linux 1.2239 + need_lib_prefix=no 1.2240 + need_version=no 1.2241 + hardcode_into_libs=yes 1.2242 + if test "$host_cpu" = ia64; then 1.2243 + # AIX 5 supports IA64 1.2244 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 1.2245 + shlibpath_var=LD_LIBRARY_PATH 1.2246 + else 1.2247 + # With GCC up to 2.95.x, collect2 would create an import file 1.2248 + # for dependence libraries. The import file would start with 1.2249 + # the line `#! .'. This would cause the generated library to 1.2250 + # depend on `.', always an invalid library. This was fixed in 1.2251 + # development snapshots of GCC prior to 3.0. 1.2252 + case $host_os in 1.2253 + aix4 | aix4.[[01]] | aix4.[[01]].*) 1.2254 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 1.2255 + echo ' yes ' 1.2256 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then 1.2257 + : 1.2258 + else 1.2259 + can_build_shared=no 1.2260 + fi 1.2261 + ;; 1.2262 + esac 1.2263 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 1.2264 + # soname into executable. Probably we can add versioning support to 1.2265 + # collect2, so additional links can be useful in future. 1.2266 + if test "$aix_use_runtimelinking" = yes; then 1.2267 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so 1.2268 + # instead of lib<name>.a to let people know that these are not 1.2269 + # typical AIX shared libraries. 1.2270 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.2271 + else 1.2272 + # We preserve .a as extension for shared libraries through AIX4.2 1.2273 + # and later when we are not doing run time linking. 1.2274 + library_names_spec='${libname}${release}.a $libname.a' 1.2275 + soname_spec='${libname}${release}${shared_ext}$major' 1.2276 + fi 1.2277 + shlibpath_var=LIBPATH 1.2278 + fi 1.2279 + ;; 1.2280 + 1.2281 +amigaos*) 1.2282 + library_names_spec='$libname.ixlibrary $libname.a' 1.2283 + # Create ${libname}_ixlibrary.a entries in /sys/libs. 1.2284 + 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' 1.2285 + ;; 1.2286 + 1.2287 +beos*) 1.2288 + library_names_spec='${libname}${shared_ext}' 1.2289 + dynamic_linker="$host_os ld.so" 1.2290 + shlibpath_var=LIBRARY_PATH 1.2291 + ;; 1.2292 + 1.2293 +bsdi[[45]]*) 1.2294 + version_type=linux 1.2295 + need_version=no 1.2296 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.2297 + soname_spec='${libname}${release}${shared_ext}$major' 1.2298 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 1.2299 + shlibpath_var=LD_LIBRARY_PATH 1.2300 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 1.2301 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 1.2302 + # the default ld.so.conf also contains /usr/contrib/lib and 1.2303 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 1.2304 + # libtool to hard-code these into programs 1.2305 + ;; 1.2306 + 1.2307 +cygwin* | mingw* | pw32*) 1.2308 + version_type=windows 1.2309 + shrext_cmds=".dll" 1.2310 + need_version=no 1.2311 + need_lib_prefix=no 1.2312 + 1.2313 + case $GCC,$host_os in 1.2314 + yes,cygwin* | yes,mingw* | yes,pw32*) 1.2315 + library_names_spec='$libname.dll.a' 1.2316 + # DLL is installed to $(libdir)/../bin by postinstall_cmds 1.2317 + postinstall_cmds='base_file=`basename \${file}`~ 1.2318 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 1.2319 + dldir=$destdir/`dirname \$dlpath`~ 1.2320 + test -d \$dldir || mkdir -p \$dldir~ 1.2321 + $install_prog $dir/$dlname \$dldir/$dlname~ 1.2322 + chmod a+x \$dldir/$dlname' 1.2323 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 1.2324 + dlpath=$dir/\$dldll~ 1.2325 + $rm \$dlpath' 1.2326 + shlibpath_overrides_runpath=yes 1.2327 + 1.2328 + case $host_os in 1.2329 + cygwin*) 1.2330 + # Cygwin DLLs use 'cyg' prefix rather than 'lib' 1.2331 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 1.2332 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 1.2333 + ;; 1.2334 + mingw*) 1.2335 + # MinGW DLLs use traditional 'lib' prefix 1.2336 + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 1.2337 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 1.2338 + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then 1.2339 + # It is most probably a Windows format PATH printed by 1.2340 + # mingw gcc, but we are running on Cygwin. Gcc prints its search 1.2341 + # path with ; separators, and with drive letters. We can handle the 1.2342 + # drive letters (cygwin fileutils understands them), so leave them, 1.2343 + # especially as we might pass files found there to a mingw objdump, 1.2344 + # which wouldn't understand a cygwinified path. Ahh. 1.2345 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 1.2346 + else 1.2347 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 1.2348 + fi 1.2349 + ;; 1.2350 + pw32*) 1.2351 + # pw32 DLLs use 'pw' prefix rather than 'lib' 1.2352 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 1.2353 + ;; 1.2354 + esac 1.2355 + ;; 1.2356 + 1.2357 + *) 1.2358 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' 1.2359 + ;; 1.2360 + esac 1.2361 + dynamic_linker='Win32 ld.exe' 1.2362 + # FIXME: first we should search . and the directory the executable is in 1.2363 + shlibpath_var=PATH 1.2364 + ;; 1.2365 + 1.2366 +darwin* | rhapsody*) 1.2367 + dynamic_linker="$host_os dyld" 1.2368 + version_type=darwin 1.2369 + need_lib_prefix=no 1.2370 + need_version=no 1.2371 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 1.2372 + soname_spec='${libname}${release}${major}$shared_ext' 1.2373 + shlibpath_overrides_runpath=yes 1.2374 + shlibpath_var=DYLD_LIBRARY_PATH 1.2375 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 1.2376 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 1.2377 + if test "$GCC" = yes; then 1.2378 + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 1.2379 + else 1.2380 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 1.2381 + fi 1.2382 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 1.2383 + ;; 1.2384 + 1.2385 +dgux*) 1.2386 + version_type=linux 1.2387 + need_lib_prefix=no 1.2388 + need_version=no 1.2389 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 1.2390 + soname_spec='${libname}${release}${shared_ext}$major' 1.2391 + shlibpath_var=LD_LIBRARY_PATH 1.2392 + ;; 1.2393 + 1.2394 +freebsd1*) 1.2395 + dynamic_linker=no 1.2396 + ;; 1.2397 + 1.2398 +kfreebsd*-gnu) 1.2399 + version_type=linux 1.2400 + need_lib_prefix=no 1.2401 + need_version=no 1.2402 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 1.2403 + soname_spec='${libname}${release}${shared_ext}$major' 1.2404 + shlibpath_var=LD_LIBRARY_PATH 1.2405 + shlibpath_overrides_runpath=no 1.2406 + hardcode_into_libs=yes 1.2407 + dynamic_linker='GNU ld.so' 1.2408 + ;; 1.2409 + 1.2410 +freebsd* | dragonfly*) 1.2411 + # DragonFly does not have aout. When/if they implement a new 1.2412 + # versioning mechanism, adjust this. 1.2413 + if test -x /usr/bin/objformat; then 1.2414 + objformat=`/usr/bin/objformat` 1.2415 + else 1.2416 + case $host_os in 1.2417 + freebsd[[123]]*) objformat=aout ;; 1.2418 + *) objformat=elf ;; 1.2419 + esac 1.2420 + fi 1.2421 + version_type=freebsd-$objformat 1.2422 + case $version_type in 1.2423 + freebsd-elf*) 1.2424 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 1.2425 + need_version=no 1.2426 + need_lib_prefix=no 1.2427 + ;; 1.2428 + freebsd-*) 1.2429 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 1.2430 + need_version=yes 1.2431 + ;; 1.2432 + esac 1.2433 + shlibpath_var=LD_LIBRARY_PATH 1.2434 + case $host_os in 1.2435 + freebsd2*) 1.2436 + shlibpath_overrides_runpath=yes 1.2437 + ;; 1.2438 + freebsd3.[[01]]* | freebsdelf3.[[01]]*) 1.2439 + shlibpath_overrides_runpath=yes 1.2440 + hardcode_into_libs=yes 1.2441 + ;; 1.2442 + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ 1.2443 + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) 1.2444 + shlibpath_overrides_runpath=no 1.2445 + hardcode_into_libs=yes 1.2446 + ;; 1.2447 + freebsd*) # from 4.6 on 1.2448 + shlibpath_overrides_runpath=yes 1.2449 + hardcode_into_libs=yes 1.2450 + ;; 1.2451 + esac 1.2452 + ;; 1.2453 + 1.2454 +gnu*) 1.2455 + version_type=linux 1.2456 + need_lib_prefix=no 1.2457 + need_version=no 1.2458 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 1.2459 + soname_spec='${libname}${release}${shared_ext}$major' 1.2460 + shlibpath_var=LD_LIBRARY_PATH 1.2461 + hardcode_into_libs=yes 1.2462 + ;; 1.2463 + 1.2464 +hpux9* | hpux10* | hpux11*) 1.2465 + # Give a soname corresponding to the major version so that dld.sl refuses to 1.2466 + # link against other versions. 1.2467 + version_type=sunos 1.2468 + need_lib_prefix=no 1.2469 + need_version=no 1.2470 + case $host_cpu in 1.2471 + ia64*) 1.2472 + shrext_cmds='.so' 1.2473 + hardcode_into_libs=yes 1.2474 + dynamic_linker="$host_os dld.so" 1.2475 + shlibpath_var=LD_LIBRARY_PATH 1.2476 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 1.2477 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.2478 + soname_spec='${libname}${release}${shared_ext}$major' 1.2479 + if test "X$HPUX_IA64_MODE" = X32; then 1.2480 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 1.2481 + else 1.2482 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 1.2483 + fi 1.2484 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 1.2485 + ;; 1.2486 + hppa*64*) 1.2487 + shrext_cmds='.sl' 1.2488 + hardcode_into_libs=yes 1.2489 + dynamic_linker="$host_os dld.sl" 1.2490 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 1.2491 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 1.2492 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.2493 + soname_spec='${libname}${release}${shared_ext}$major' 1.2494 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 1.2495 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 1.2496 + ;; 1.2497 + *) 1.2498 + shrext_cmds='.sl' 1.2499 + dynamic_linker="$host_os dld.sl" 1.2500 + shlibpath_var=SHLIB_PATH 1.2501 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 1.2502 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.2503 + soname_spec='${libname}${release}${shared_ext}$major' 1.2504 + ;; 1.2505 + esac 1.2506 + # HP-UX runs *really* slowly unless shared libraries are mode 555. 1.2507 + postinstall_cmds='chmod 555 $lib' 1.2508 + ;; 1.2509 + 1.2510 +interix3*) 1.2511 + version_type=linux 1.2512 + need_lib_prefix=no 1.2513 + need_version=no 1.2514 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 1.2515 + soname_spec='${libname}${release}${shared_ext}$major' 1.2516 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 1.2517 + shlibpath_var=LD_LIBRARY_PATH 1.2518 + shlibpath_overrides_runpath=no 1.2519 + hardcode_into_libs=yes 1.2520 + ;; 1.2521 + 1.2522 +irix5* | irix6* | nonstopux*) 1.2523 + case $host_os in 1.2524 + nonstopux*) version_type=nonstopux ;; 1.2525 + *) 1.2526 + if test "$lt_cv_prog_gnu_ld" = yes; then 1.2527 + version_type=linux 1.2528 + else 1.2529 + version_type=irix 1.2530 + fi ;; 1.2531 + esac 1.2532 + need_lib_prefix=no 1.2533 + need_version=no 1.2534 + soname_spec='${libname}${release}${shared_ext}$major' 1.2535 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 1.2536 + case $host_os in 1.2537 + irix5* | nonstopux*) 1.2538 + libsuff= shlibsuff= 1.2539 + ;; 1.2540 + *) 1.2541 + case $LD in # libtool.m4 will add one of these switches to LD 1.2542 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 1.2543 + libsuff= shlibsuff= libmagic=32-bit;; 1.2544 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 1.2545 + libsuff=32 shlibsuff=N32 libmagic=N32;; 1.2546 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 1.2547 + libsuff=64 shlibsuff=64 libmagic=64-bit;; 1.2548 + *) libsuff= shlibsuff= libmagic=never-match;; 1.2549 + esac 1.2550 + ;; 1.2551 + esac 1.2552 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 1.2553 + shlibpath_overrides_runpath=no 1.2554 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 1.2555 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 1.2556 + hardcode_into_libs=yes 1.2557 + ;; 1.2558 + 1.2559 +# No shared lib support for Linux oldld, aout, or coff. 1.2560 +linux*oldld* | linux*aout* | linux*coff*) 1.2561 + dynamic_linker=no 1.2562 + ;; 1.2563 + 1.2564 +# This must be Linux ELF. 1.2565 +linux*) 1.2566 + version_type=linux 1.2567 + need_lib_prefix=no 1.2568 + need_version=no 1.2569 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.2570 + soname_spec='${libname}${release}${shared_ext}$major' 1.2571 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 1.2572 + shlibpath_var=LD_LIBRARY_PATH 1.2573 + shlibpath_overrides_runpath=no 1.2574 + # This implies no fast_install, which is unacceptable. 1.2575 + # Some rework will be needed to allow for fast_install 1.2576 + # before this can be enabled. 1.2577 + hardcode_into_libs=yes 1.2578 + 1.2579 + # Append ld.so.conf contents to the search path 1.2580 + if test -f /etc/ld.so.conf; then 1.2581 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 1.2582 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 1.2583 + fi 1.2584 + 1.2585 + # We used to test for /lib/ld.so.1 and disable shared libraries on 1.2586 + # powerpc, because MkLinux only supported shared libraries with the 1.2587 + # GNU dynamic linker. Since this was broken with cross compilers, 1.2588 + # most powerpc-linux boxes support dynamic linking these days and 1.2589 + # people can always --disable-shared, the test was removed, and we 1.2590 + # assume the GNU/Linux dynamic linker is in use. 1.2591 + dynamic_linker='GNU/Linux ld.so' 1.2592 + ;; 1.2593 + 1.2594 +netbsdelf*-gnu) 1.2595 + version_type=linux 1.2596 + need_lib_prefix=no 1.2597 + need_version=no 1.2598 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 1.2599 + soname_spec='${libname}${release}${shared_ext}$major' 1.2600 + shlibpath_var=LD_LIBRARY_PATH 1.2601 + shlibpath_overrides_runpath=no 1.2602 + hardcode_into_libs=yes 1.2603 + dynamic_linker='NetBSD ld.elf_so' 1.2604 + ;; 1.2605 + 1.2606 +knetbsd*-gnu) 1.2607 + version_type=linux 1.2608 + need_lib_prefix=no 1.2609 + need_version=no 1.2610 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 1.2611 + soname_spec='${libname}${release}${shared_ext}$major' 1.2612 + shlibpath_var=LD_LIBRARY_PATH 1.2613 + shlibpath_overrides_runpath=no 1.2614 + hardcode_into_libs=yes 1.2615 + dynamic_linker='GNU ld.so' 1.2616 + ;; 1.2617 + 1.2618 +netbsd*) 1.2619 + version_type=sunos 1.2620 + need_lib_prefix=no 1.2621 + need_version=no 1.2622 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 1.2623 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 1.2624 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 1.2625 + dynamic_linker='NetBSD (a.out) ld.so' 1.2626 + else 1.2627 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 1.2628 + soname_spec='${libname}${release}${shared_ext}$major' 1.2629 + dynamic_linker='NetBSD ld.elf_so' 1.2630 + fi 1.2631 + shlibpath_var=LD_LIBRARY_PATH 1.2632 + shlibpath_overrides_runpath=yes 1.2633 + hardcode_into_libs=yes 1.2634 + ;; 1.2635 + 1.2636 +newsos6) 1.2637 + version_type=linux 1.2638 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.2639 + shlibpath_var=LD_LIBRARY_PATH 1.2640 + shlibpath_overrides_runpath=yes 1.2641 + ;; 1.2642 + 1.2643 +nto-qnx*) 1.2644 + version_type=linux 1.2645 + need_lib_prefix=no 1.2646 + need_version=no 1.2647 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.2648 + soname_spec='${libname}${release}${shared_ext}$major' 1.2649 + shlibpath_var=LD_LIBRARY_PATH 1.2650 + shlibpath_overrides_runpath=yes 1.2651 + ;; 1.2652 + 1.2653 +openbsd*) 1.2654 + version_type=sunos 1.2655 + sys_lib_dlsearch_path_spec="/usr/lib" 1.2656 + need_lib_prefix=no 1.2657 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 1.2658 + case $host_os in 1.2659 + openbsd3.3 | openbsd3.3.*) need_version=yes ;; 1.2660 + *) need_version=no ;; 1.2661 + esac 1.2662 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 1.2663 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 1.2664 + shlibpath_var=LD_LIBRARY_PATH 1.2665 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 1.2666 + case $host_os in 1.2667 + openbsd2.[[89]] | openbsd2.[[89]].*) 1.2668 + shlibpath_overrides_runpath=no 1.2669 + ;; 1.2670 + *) 1.2671 + shlibpath_overrides_runpath=yes 1.2672 + ;; 1.2673 + esac 1.2674 + else 1.2675 + shlibpath_overrides_runpath=yes 1.2676 + fi 1.2677 + ;; 1.2678 + 1.2679 +os2*) 1.2680 + libname_spec='$name' 1.2681 + shrext_cmds=".dll" 1.2682 + need_lib_prefix=no 1.2683 + library_names_spec='$libname${shared_ext} $libname.a' 1.2684 + dynamic_linker='OS/2 ld.exe' 1.2685 + shlibpath_var=LIBPATH 1.2686 + ;; 1.2687 + 1.2688 +osf3* | osf4* | osf5*) 1.2689 + version_type=osf 1.2690 + need_lib_prefix=no 1.2691 + need_version=no 1.2692 + soname_spec='${libname}${release}${shared_ext}$major' 1.2693 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.2694 + shlibpath_var=LD_LIBRARY_PATH 1.2695 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 1.2696 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 1.2697 + ;; 1.2698 + 1.2699 +solaris*) 1.2700 + version_type=linux 1.2701 + need_lib_prefix=no 1.2702 + need_version=no 1.2703 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.2704 + soname_spec='${libname}${release}${shared_ext}$major' 1.2705 + shlibpath_var=LD_LIBRARY_PATH 1.2706 + shlibpath_overrides_runpath=yes 1.2707 + hardcode_into_libs=yes 1.2708 + # ldd complains unless libraries are executable 1.2709 + postinstall_cmds='chmod +x $lib' 1.2710 + ;; 1.2711 + 1.2712 +sunos4*) 1.2713 + version_type=sunos 1.2714 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 1.2715 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 1.2716 + shlibpath_var=LD_LIBRARY_PATH 1.2717 + shlibpath_overrides_runpath=yes 1.2718 + if test "$with_gnu_ld" = yes; then 1.2719 + need_lib_prefix=no 1.2720 + fi 1.2721 + need_version=yes 1.2722 + ;; 1.2723 + 1.2724 +sysv4 | sysv4.3*) 1.2725 + version_type=linux 1.2726 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.2727 + soname_spec='${libname}${release}${shared_ext}$major' 1.2728 + shlibpath_var=LD_LIBRARY_PATH 1.2729 + case $host_vendor in 1.2730 + sni) 1.2731 + shlibpath_overrides_runpath=no 1.2732 + need_lib_prefix=no 1.2733 + export_dynamic_flag_spec='${wl}-Blargedynsym' 1.2734 + runpath_var=LD_RUN_PATH 1.2735 + ;; 1.2736 + siemens) 1.2737 + need_lib_prefix=no 1.2738 + ;; 1.2739 + motorola) 1.2740 + need_lib_prefix=no 1.2741 + need_version=no 1.2742 + shlibpath_overrides_runpath=no 1.2743 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 1.2744 + ;; 1.2745 + esac 1.2746 + ;; 1.2747 + 1.2748 +sysv4*MP*) 1.2749 + if test -d /usr/nec ;then 1.2750 + version_type=linux 1.2751 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 1.2752 + soname_spec='$libname${shared_ext}.$major' 1.2753 + shlibpath_var=LD_LIBRARY_PATH 1.2754 + fi 1.2755 + ;; 1.2756 + 1.2757 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 1.2758 + version_type=freebsd-elf 1.2759 + need_lib_prefix=no 1.2760 + need_version=no 1.2761 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 1.2762 + soname_spec='${libname}${release}${shared_ext}$major' 1.2763 + shlibpath_var=LD_LIBRARY_PATH 1.2764 + hardcode_into_libs=yes 1.2765 + if test "$with_gnu_ld" = yes; then 1.2766 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 1.2767 + shlibpath_overrides_runpath=no 1.2768 + else 1.2769 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 1.2770 + shlibpath_overrides_runpath=yes 1.2771 + case $host_os in 1.2772 + sco3.2v5*) 1.2773 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 1.2774 + ;; 1.2775 + esac 1.2776 + fi 1.2777 + sys_lib_dlsearch_path_spec='/usr/lib' 1.2778 + ;; 1.2779 + 1.2780 +uts4*) 1.2781 + version_type=linux 1.2782 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.2783 + soname_spec='${libname}${release}${shared_ext}$major' 1.2784 + shlibpath_var=LD_LIBRARY_PATH 1.2785 + ;; 1.2786 + 1.2787 +*) 1.2788 + dynamic_linker=no 1.2789 + ;; 1.2790 +esac 1.2791 +AC_MSG_RESULT([$dynamic_linker]) 1.2792 +test "$dynamic_linker" = no && can_build_shared=no 1.2793 + 1.2794 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 1.2795 +if test "$GCC" = yes; then 1.2796 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 1.2797 +fi 1.2798 +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER 1.2799 + 1.2800 + 1.2801 +# _LT_AC_TAGCONFIG 1.2802 +# ---------------- 1.2803 +AC_DEFUN([_LT_AC_TAGCONFIG], 1.2804 +[AC_ARG_WITH([tags], 1.2805 + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], 1.2806 + [include additional configurations @<:@automatic@:>@])], 1.2807 + [tagnames="$withval"]) 1.2808 + 1.2809 +if test -f "$ltmain" && test -n "$tagnames"; then 1.2810 + if test ! -f "${ofile}"; then 1.2811 + AC_MSG_WARN([output file `$ofile' does not exist]) 1.2812 + fi 1.2813 + 1.2814 + if test -z "$LTCC"; then 1.2815 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" 1.2816 + if test -z "$LTCC"; then 1.2817 + AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) 1.2818 + else 1.2819 + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) 1.2820 + fi 1.2821 + fi 1.2822 + if test -z "$LTCFLAGS"; then 1.2823 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" 1.2824 + fi 1.2825 + 1.2826 + # Extract list of available tagged configurations in $ofile. 1.2827 + # Note that this assumes the entire list is on one line. 1.2828 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` 1.2829 + 1.2830 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 1.2831 + for tagname in $tagnames; do 1.2832 + IFS="$lt_save_ifs" 1.2833 + # Check whether tagname contains only valid characters 1.2834 + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in 1.2835 + "") ;; 1.2836 + *) AC_MSG_ERROR([invalid tag name: $tagname]) 1.2837 + ;; 1.2838 + esac 1.2839 + 1.2840 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null 1.2841 + then 1.2842 + AC_MSG_ERROR([tag name \"$tagname\" already exists]) 1.2843 + fi 1.2844 + 1.2845 + # Update the list of available tags. 1.2846 + if test -n "$tagname"; then 1.2847 + echo appending configuration tag \"$tagname\" to $ofile 1.2848 + 1.2849 + case $tagname in 1.2850 + CXX) 1.2851 + if test -n "$CXX" && ( test "X$CXX" != "Xno" && 1.2852 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 1.2853 + (test "X$CXX" != "Xg++"))) ; then 1.2854 + AC_LIBTOOL_LANG_CXX_CONFIG 1.2855 + else 1.2856 + tagname="" 1.2857 + fi 1.2858 + ;; 1.2859 + 1.2860 + F77) 1.2861 + if test -n "$F77" && test "X$F77" != "Xno"; then 1.2862 + AC_LIBTOOL_LANG_F77_CONFIG 1.2863 + else 1.2864 + tagname="" 1.2865 + fi 1.2866 + ;; 1.2867 + 1.2868 + GCJ) 1.2869 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then 1.2870 + AC_LIBTOOL_LANG_GCJ_CONFIG 1.2871 + else 1.2872 + tagname="" 1.2873 + fi 1.2874 + ;; 1.2875 + 1.2876 + RC) 1.2877 + AC_LIBTOOL_LANG_RC_CONFIG 1.2878 + ;; 1.2879 + 1.2880 + *) 1.2881 + AC_MSG_ERROR([Unsupported tag name: $tagname]) 1.2882 + ;; 1.2883 + esac 1.2884 + 1.2885 + # Append the new tag name to the list of available tags. 1.2886 + if test -n "$tagname" ; then 1.2887 + available_tags="$available_tags $tagname" 1.2888 + fi 1.2889 + fi 1.2890 + done 1.2891 + IFS="$lt_save_ifs" 1.2892 + 1.2893 + # Now substitute the updated list of available tags. 1.2894 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then 1.2895 + mv "${ofile}T" "$ofile" 1.2896 + chmod +x "$ofile" 1.2897 + else 1.2898 + rm -f "${ofile}T" 1.2899 + AC_MSG_ERROR([unable to update list of available tagged configurations.]) 1.2900 + fi 1.2901 +fi 1.2902 +])# _LT_AC_TAGCONFIG 1.2903 + 1.2904 + 1.2905 +# AC_LIBTOOL_DLOPEN 1.2906 +# ----------------- 1.2907 +# enable checks for dlopen support 1.2908 +AC_DEFUN([AC_LIBTOOL_DLOPEN], 1.2909 + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) 1.2910 +])# AC_LIBTOOL_DLOPEN 1.2911 + 1.2912 + 1.2913 +# AC_LIBTOOL_WIN32_DLL 1.2914 +# -------------------- 1.2915 +# declare package support for building win32 DLLs 1.2916 +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], 1.2917 +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) 1.2918 +])# AC_LIBTOOL_WIN32_DLL 1.2919 + 1.2920 + 1.2921 +# AC_ENABLE_SHARED([DEFAULT]) 1.2922 +# --------------------------- 1.2923 +# implement the --enable-shared flag 1.2924 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. 1.2925 +AC_DEFUN([AC_ENABLE_SHARED], 1.2926 +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl 1.2927 +AC_ARG_ENABLE([shared], 1.2928 + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], 1.2929 + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], 1.2930 + [p=${PACKAGE-default} 1.2931 + case $enableval in 1.2932 + yes) enable_shared=yes ;; 1.2933 + no) enable_shared=no ;; 1.2934 + *) 1.2935 + enable_shared=no 1.2936 + # Look at the argument we got. We use all the common list separators. 1.2937 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 1.2938 + for pkg in $enableval; do 1.2939 + IFS="$lt_save_ifs" 1.2940 + if test "X$pkg" = "X$p"; then 1.2941 + enable_shared=yes 1.2942 + fi 1.2943 + done 1.2944 + IFS="$lt_save_ifs" 1.2945 + ;; 1.2946 + esac], 1.2947 + [enable_shared=]AC_ENABLE_SHARED_DEFAULT) 1.2948 +])# AC_ENABLE_SHARED 1.2949 + 1.2950 + 1.2951 +# AC_DISABLE_SHARED 1.2952 +# ----------------- 1.2953 +# set the default shared flag to --disable-shared 1.2954 +AC_DEFUN([AC_DISABLE_SHARED], 1.2955 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 1.2956 +AC_ENABLE_SHARED(no) 1.2957 +])# AC_DISABLE_SHARED 1.2958 + 1.2959 + 1.2960 +# AC_ENABLE_STATIC([DEFAULT]) 1.2961 +# --------------------------- 1.2962 +# implement the --enable-static flag 1.2963 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. 1.2964 +AC_DEFUN([AC_ENABLE_STATIC], 1.2965 +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl 1.2966 +AC_ARG_ENABLE([static], 1.2967 + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], 1.2968 + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], 1.2969 + [p=${PACKAGE-default} 1.2970 + case $enableval in 1.2971 + yes) enable_static=yes ;; 1.2972 + no) enable_static=no ;; 1.2973 + *) 1.2974 + enable_static=no 1.2975 + # Look at the argument we got. We use all the common list separators. 1.2976 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 1.2977 + for pkg in $enableval; do 1.2978 + IFS="$lt_save_ifs" 1.2979 + if test "X$pkg" = "X$p"; then 1.2980 + enable_static=yes 1.2981 + fi 1.2982 + done 1.2983 + IFS="$lt_save_ifs" 1.2984 + ;; 1.2985 + esac], 1.2986 + [enable_static=]AC_ENABLE_STATIC_DEFAULT) 1.2987 +])# AC_ENABLE_STATIC 1.2988 + 1.2989 + 1.2990 +# AC_DISABLE_STATIC 1.2991 +# ----------------- 1.2992 +# set the default static flag to --disable-static 1.2993 +AC_DEFUN([AC_DISABLE_STATIC], 1.2994 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 1.2995 +AC_ENABLE_STATIC(no) 1.2996 +])# AC_DISABLE_STATIC 1.2997 + 1.2998 + 1.2999 +# AC_ENABLE_FAST_INSTALL([DEFAULT]) 1.3000 +# --------------------------------- 1.3001 +# implement the --enable-fast-install flag 1.3002 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. 1.3003 +AC_DEFUN([AC_ENABLE_FAST_INSTALL], 1.3004 +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl 1.3005 +AC_ARG_ENABLE([fast-install], 1.3006 + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], 1.3007 + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], 1.3008 + [p=${PACKAGE-default} 1.3009 + case $enableval in 1.3010 + yes) enable_fast_install=yes ;; 1.3011 + no) enable_fast_install=no ;; 1.3012 + *) 1.3013 + enable_fast_install=no 1.3014 + # Look at the argument we got. We use all the common list separators. 1.3015 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 1.3016 + for pkg in $enableval; do 1.3017 + IFS="$lt_save_ifs" 1.3018 + if test "X$pkg" = "X$p"; then 1.3019 + enable_fast_install=yes 1.3020 + fi 1.3021 + done 1.3022 + IFS="$lt_save_ifs" 1.3023 + ;; 1.3024 + esac], 1.3025 + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) 1.3026 +])# AC_ENABLE_FAST_INSTALL 1.3027 + 1.3028 + 1.3029 +# AC_DISABLE_FAST_INSTALL 1.3030 +# ----------------------- 1.3031 +# set the default to --disable-fast-install 1.3032 +AC_DEFUN([AC_DISABLE_FAST_INSTALL], 1.3033 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 1.3034 +AC_ENABLE_FAST_INSTALL(no) 1.3035 +])# AC_DISABLE_FAST_INSTALL 1.3036 + 1.3037 + 1.3038 +# AC_LIBTOOL_PICMODE([MODE]) 1.3039 +# -------------------------- 1.3040 +# implement the --with-pic flag 1.3041 +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. 1.3042 +AC_DEFUN([AC_LIBTOOL_PICMODE], 1.3043 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 1.3044 +pic_mode=ifelse($#,1,$1,default) 1.3045 +])# AC_LIBTOOL_PICMODE 1.3046 + 1.3047 + 1.3048 +# AC_PROG_EGREP 1.3049 +# ------------- 1.3050 +# This is predefined starting with Autoconf 2.54, so this conditional 1.3051 +# definition can be removed once we require Autoconf 2.54 or later. 1.3052 +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], 1.3053 +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], 1.3054 + [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 1.3055 + then ac_cv_prog_egrep='grep -E' 1.3056 + else ac_cv_prog_egrep='egrep' 1.3057 + fi]) 1.3058 + EGREP=$ac_cv_prog_egrep 1.3059 + AC_SUBST([EGREP]) 1.3060 +])]) 1.3061 + 1.3062 + 1.3063 +# AC_PATH_TOOL_PREFIX 1.3064 +# ------------------- 1.3065 +# find a file program which can recognise shared library 1.3066 +AC_DEFUN([AC_PATH_TOOL_PREFIX], 1.3067 +[AC_REQUIRE([AC_PROG_EGREP])dnl 1.3068 +AC_MSG_CHECKING([for $1]) 1.3069 +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, 1.3070 +[case $MAGIC_CMD in 1.3071 +[[\\/*] | ?:[\\/]*]) 1.3072 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 1.3073 + ;; 1.3074 +*) 1.3075 + lt_save_MAGIC_CMD="$MAGIC_CMD" 1.3076 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 1.3077 +dnl $ac_dummy forces splitting on constant user-supplied paths. 1.3078 +dnl POSIX.2 word splitting is done only on the output of word expansions, 1.3079 +dnl not every word. This closes a longstanding sh security hole. 1.3080 + ac_dummy="ifelse([$2], , $PATH, [$2])" 1.3081 + for ac_dir in $ac_dummy; do 1.3082 + IFS="$lt_save_ifs" 1.3083 + test -z "$ac_dir" && ac_dir=. 1.3084 + if test -f $ac_dir/$1; then 1.3085 + lt_cv_path_MAGIC_CMD="$ac_dir/$1" 1.3086 + if test -n "$file_magic_test_file"; then 1.3087 + case $deplibs_check_method in 1.3088 + "file_magic "*) 1.3089 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 1.3090 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 1.3091 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 1.3092 + $EGREP "$file_magic_regex" > /dev/null; then 1.3093 + : 1.3094 + else 1.3095 + cat <<EOF 1>&2 1.3096 + 1.3097 +*** Warning: the command libtool uses to detect shared libraries, 1.3098 +*** $file_magic_cmd, produces output that libtool cannot recognize. 1.3099 +*** The result is that libtool may fail to recognize shared libraries 1.3100 +*** as such. This will affect the creation of libtool libraries that 1.3101 +*** depend on shared libraries, but programs linked with such libtool 1.3102 +*** libraries will work regardless of this problem. Nevertheless, you 1.3103 +*** may want to report the problem to your system manager and/or to 1.3104 +*** bug-libtool@gnu.org 1.3105 + 1.3106 +EOF 1.3107 + fi ;; 1.3108 + esac 1.3109 + fi 1.3110 + break 1.3111 + fi 1.3112 + done 1.3113 + IFS="$lt_save_ifs" 1.3114 + MAGIC_CMD="$lt_save_MAGIC_CMD" 1.3115 + ;; 1.3116 +esac]) 1.3117 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 1.3118 +if test -n "$MAGIC_CMD"; then 1.3119 + AC_MSG_RESULT($MAGIC_CMD) 1.3120 +else 1.3121 + AC_MSG_RESULT(no) 1.3122 +fi 1.3123 +])# AC_PATH_TOOL_PREFIX 1.3124 + 1.3125 + 1.3126 +# AC_PATH_MAGIC 1.3127 +# ------------- 1.3128 +# find a file program which can recognise a shared library 1.3129 +AC_DEFUN([AC_PATH_MAGIC], 1.3130 +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) 1.3131 +if test -z "$lt_cv_path_MAGIC_CMD"; then 1.3132 + if test -n "$ac_tool_prefix"; then 1.3133 + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) 1.3134 + else 1.3135 + MAGIC_CMD=: 1.3136 + fi 1.3137 +fi 1.3138 +])# AC_PATH_MAGIC 1.3139 + 1.3140 + 1.3141 +# AC_PROG_LD 1.3142 +# ---------- 1.3143 +# find the pathname to the GNU or non-GNU linker 1.3144 +AC_DEFUN([AC_PROG_LD], 1.3145 +[AC_ARG_WITH([gnu-ld], 1.3146 + [AC_HELP_STRING([--with-gnu-ld], 1.3147 + [assume the C compiler uses GNU ld @<:@default=no@:>@])], 1.3148 + [test "$withval" = no || with_gnu_ld=yes], 1.3149 + [with_gnu_ld=no]) 1.3150 +AC_REQUIRE([LT_AC_PROG_SED])dnl 1.3151 +AC_REQUIRE([AC_PROG_CC])dnl 1.3152 +AC_REQUIRE([AC_CANONICAL_HOST])dnl 1.3153 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl 1.3154 +ac_prog=ld 1.3155 +if test "$GCC" = yes; then 1.3156 + # Check if gcc -print-prog-name=ld gives a path. 1.3157 + AC_MSG_CHECKING([for ld used by $CC]) 1.3158 + case $host in 1.3159 + *-*-mingw*) 1.3160 + # gcc leaves a trailing carriage return which upsets mingw 1.3161 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 1.3162 + *) 1.3163 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1.3164 + esac 1.3165 + case $ac_prog in 1.3166 + # Accept absolute paths. 1.3167 + [[\\/]]* | ?:[[\\/]]*) 1.3168 + re_direlt='/[[^/]][[^/]]*/\.\./' 1.3169 + # Canonicalize the pathname of ld 1.3170 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 1.3171 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 1.3172 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` 1.3173 + done 1.3174 + test -z "$LD" && LD="$ac_prog" 1.3175 + ;; 1.3176 + "") 1.3177 + # If it fails, then pretend we aren't using GCC. 1.3178 + ac_prog=ld 1.3179 + ;; 1.3180 + *) 1.3181 + # If it is relative, then search for the first ld in PATH. 1.3182 + with_gnu_ld=unknown 1.3183 + ;; 1.3184 + esac 1.3185 +elif test "$with_gnu_ld" = yes; then 1.3186 + AC_MSG_CHECKING([for GNU ld]) 1.3187 +else 1.3188 + AC_MSG_CHECKING([for non-GNU ld]) 1.3189 +fi 1.3190 +AC_CACHE_VAL(lt_cv_path_LD, 1.3191 +[if test -z "$LD"; then 1.3192 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 1.3193 + for ac_dir in $PATH; do 1.3194 + IFS="$lt_save_ifs" 1.3195 + test -z "$ac_dir" && ac_dir=. 1.3196 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1.3197 + lt_cv_path_LD="$ac_dir/$ac_prog" 1.3198 + # Check to see if the program is GNU ld. I'd rather use --version, 1.3199 + # but apparently some variants of GNU ld only accept -v. 1.3200 + # Break only if it was the GNU/non-GNU ld that we prefer. 1.3201 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 1.3202 + *GNU* | *'with BFD'*) 1.3203 + test "$with_gnu_ld" != no && break 1.3204 + ;; 1.3205 + *) 1.3206 + test "$with_gnu_ld" != yes && break 1.3207 + ;; 1.3208 + esac 1.3209 + fi 1.3210 + done 1.3211 + IFS="$lt_save_ifs" 1.3212 +else 1.3213 + lt_cv_path_LD="$LD" # Let the user override the test with a path. 1.3214 +fi]) 1.3215 +LD="$lt_cv_path_LD" 1.3216 +if test -n "$LD"; then 1.3217 + AC_MSG_RESULT($LD) 1.3218 +else 1.3219 + AC_MSG_RESULT(no) 1.3220 +fi 1.3221 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) 1.3222 +AC_PROG_LD_GNU 1.3223 +])# AC_PROG_LD 1.3224 + 1.3225 + 1.3226 +# AC_PROG_LD_GNU 1.3227 +# -------------- 1.3228 +AC_DEFUN([AC_PROG_LD_GNU], 1.3229 +[AC_REQUIRE([AC_PROG_EGREP])dnl 1.3230 +AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, 1.3231 +[# I'd rather use --version here, but apparently some GNU lds only accept -v. 1.3232 +case `$LD -v 2>&1 </dev/null` in 1.3233 +*GNU* | *'with BFD'*) 1.3234 + lt_cv_prog_gnu_ld=yes 1.3235 + ;; 1.3236 +*) 1.3237 + lt_cv_prog_gnu_ld=no 1.3238 + ;; 1.3239 +esac]) 1.3240 +with_gnu_ld=$lt_cv_prog_gnu_ld 1.3241 +])# AC_PROG_LD_GNU 1.3242 + 1.3243 + 1.3244 +# AC_PROG_LD_RELOAD_FLAG 1.3245 +# ---------------------- 1.3246 +# find reload flag for linker 1.3247 +# -- PORTME Some linkers may need a different reload flag. 1.3248 +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], 1.3249 +[AC_CACHE_CHECK([for $LD option to reload object files], 1.3250 + lt_cv_ld_reload_flag, 1.3251 + [lt_cv_ld_reload_flag='-r']) 1.3252 +reload_flag=$lt_cv_ld_reload_flag 1.3253 +case $reload_flag in 1.3254 +"" | " "*) ;; 1.3255 +*) reload_flag=" $reload_flag" ;; 1.3256 +esac 1.3257 +reload_cmds='$LD$reload_flag -o $output$reload_objs' 1.3258 +case $host_os in 1.3259 + darwin*) 1.3260 + if test "$GCC" = yes; then 1.3261 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 1.3262 + else 1.3263 + reload_cmds='$LD$reload_flag -o $output$reload_objs' 1.3264 + fi 1.3265 + ;; 1.3266 +esac 1.3267 +])# AC_PROG_LD_RELOAD_FLAG 1.3268 + 1.3269 + 1.3270 +# AC_DEPLIBS_CHECK_METHOD 1.3271 +# ----------------------- 1.3272 +# how to check for library dependencies 1.3273 +# -- PORTME fill in with the dynamic library characteristics 1.3274 +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], 1.3275 +[AC_CACHE_CHECK([how to recognise dependent libraries], 1.3276 +lt_cv_deplibs_check_method, 1.3277 +[lt_cv_file_magic_cmd='$MAGIC_CMD' 1.3278 +lt_cv_file_magic_test_file= 1.3279 +lt_cv_deplibs_check_method='unknown' 1.3280 +# Need to set the preceding variable on all platforms that support 1.3281 +# interlibrary dependencies. 1.3282 +# 'none' -- dependencies not supported. 1.3283 +# `unknown' -- same as none, but documents that we really don't know. 1.3284 +# 'pass_all' -- all dependencies passed with no checks. 1.3285 +# 'test_compile' -- check by making test program. 1.3286 +# 'file_magic [[regex]]' -- check by looking for files in library path 1.3287 +# which responds to the $file_magic_cmd with a given extended regex. 1.3288 +# If you have `file' or equivalent on your system and you're not sure 1.3289 +# whether `pass_all' will *always* work, you probably want this one. 1.3290 + 1.3291 +case $host_os in 1.3292 +aix4* | aix5*) 1.3293 + lt_cv_deplibs_check_method=pass_all 1.3294 + ;; 1.3295 + 1.3296 +beos*) 1.3297 + lt_cv_deplibs_check_method=pass_all 1.3298 + ;; 1.3299 + 1.3300 +bsdi[[45]]*) 1.3301 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' 1.3302 + lt_cv_file_magic_cmd='/usr/bin/file -L' 1.3303 + lt_cv_file_magic_test_file=/shlib/libc.so 1.3304 + ;; 1.3305 + 1.3306 +cygwin*) 1.3307 + # func_win32_libid is a shell function defined in ltmain.sh 1.3308 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 1.3309 + lt_cv_file_magic_cmd='func_win32_libid' 1.3310 + ;; 1.3311 + 1.3312 +mingw* | pw32*) 1.3313 + # Base MSYS/MinGW do not provide the 'file' command needed by 1.3314 + # func_win32_libid shell function, so use a weaker test based on 'objdump'. 1.3315 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 1.3316 + lt_cv_file_magic_cmd='$OBJDUMP -f' 1.3317 + ;; 1.3318 + 1.3319 +darwin* | rhapsody*) 1.3320 + lt_cv_deplibs_check_method=pass_all 1.3321 + ;; 1.3322 + 1.3323 +freebsd* | kfreebsd*-gnu | dragonfly*) 1.3324 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1.3325 + case $host_cpu in 1.3326 + i*86 ) 1.3327 + # Not sure whether the presence of OpenBSD here was a mistake. 1.3328 + # Let's accept both of them until this is cleared up. 1.3329 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' 1.3330 + lt_cv_file_magic_cmd=/usr/bin/file 1.3331 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 1.3332 + ;; 1.3333 + esac 1.3334 + else 1.3335 + lt_cv_deplibs_check_method=pass_all 1.3336 + fi 1.3337 + ;; 1.3338 + 1.3339 +gnu*) 1.3340 + lt_cv_deplibs_check_method=pass_all 1.3341 + ;; 1.3342 + 1.3343 +hpux10.20* | hpux11*) 1.3344 + lt_cv_file_magic_cmd=/usr/bin/file 1.3345 + case $host_cpu in 1.3346 + ia64*) 1.3347 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' 1.3348 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1.3349 + ;; 1.3350 + hppa*64*) 1.3351 + [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]'] 1.3352 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 1.3353 + ;; 1.3354 + *) 1.3355 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' 1.3356 + lt_cv_file_magic_test_file=/usr/lib/libc.sl 1.3357 + ;; 1.3358 + esac 1.3359 + ;; 1.3360 + 1.3361 +interix3*) 1.3362 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 1.3363 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' 1.3364 + ;; 1.3365 + 1.3366 +irix5* | irix6* | nonstopux*) 1.3367 + case $LD in 1.3368 + *-32|*"-32 ") libmagic=32-bit;; 1.3369 + *-n32|*"-n32 ") libmagic=N32;; 1.3370 + *-64|*"-64 ") libmagic=64-bit;; 1.3371 + *) libmagic=never-match;; 1.3372 + esac 1.3373 + lt_cv_deplibs_check_method=pass_all 1.3374 + ;; 1.3375 + 1.3376 +# This must be Linux ELF. 1.3377 +linux*) 1.3378 + lt_cv_deplibs_check_method=pass_all 1.3379 + ;; 1.3380 + 1.3381 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu) 1.3382 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1.3383 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' 1.3384 + else 1.3385 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' 1.3386 + fi 1.3387 + ;; 1.3388 + 1.3389 +newos6*) 1.3390 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' 1.3391 + lt_cv_file_magic_cmd=/usr/bin/file 1.3392 + lt_cv_file_magic_test_file=/usr/lib/libnls.so 1.3393 + ;; 1.3394 + 1.3395 +nto-qnx*) 1.3396 + lt_cv_deplibs_check_method=unknown 1.3397 + ;; 1.3398 + 1.3399 +openbsd*) 1.3400 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 1.3401 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' 1.3402 + else 1.3403 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' 1.3404 + fi 1.3405 + ;; 1.3406 + 1.3407 +osf3* | osf4* | osf5*) 1.3408 + lt_cv_deplibs_check_method=pass_all 1.3409 + ;; 1.3410 + 1.3411 +solaris*) 1.3412 + lt_cv_deplibs_check_method=pass_all 1.3413 + ;; 1.3414 + 1.3415 +sysv4 | sysv4.3*) 1.3416 + case $host_vendor in 1.3417 + motorola) 1.3418 + 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]]' 1.3419 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1.3420 + ;; 1.3421 + ncr) 1.3422 + lt_cv_deplibs_check_method=pass_all 1.3423 + ;; 1.3424 + sequent) 1.3425 + lt_cv_file_magic_cmd='/bin/file' 1.3426 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' 1.3427 + ;; 1.3428 + sni) 1.3429 + lt_cv_file_magic_cmd='/bin/file' 1.3430 + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" 1.3431 + lt_cv_file_magic_test_file=/lib/libc.so 1.3432 + ;; 1.3433 + siemens) 1.3434 + lt_cv_deplibs_check_method=pass_all 1.3435 + ;; 1.3436 + pc) 1.3437 + lt_cv_deplibs_check_method=pass_all 1.3438 + ;; 1.3439 + esac 1.3440 + ;; 1.3441 + 1.3442 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 1.3443 + lt_cv_deplibs_check_method=pass_all 1.3444 + ;; 1.3445 +esac 1.3446 +]) 1.3447 +file_magic_cmd=$lt_cv_file_magic_cmd 1.3448 +deplibs_check_method=$lt_cv_deplibs_check_method 1.3449 +test -z "$deplibs_check_method" && deplibs_check_method=unknown 1.3450 +])# AC_DEPLIBS_CHECK_METHOD 1.3451 + 1.3452 + 1.3453 +# AC_PROG_NM 1.3454 +# ---------- 1.3455 +# find the pathname to a BSD-compatible name lister 1.3456 +AC_DEFUN([AC_PROG_NM], 1.3457 +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, 1.3458 +[if test -n "$NM"; then 1.3459 + # Let the user override the test. 1.3460 + lt_cv_path_NM="$NM" 1.3461 +else 1.3462 + lt_nm_to_check="${ac_tool_prefix}nm" 1.3463 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 1.3464 + lt_nm_to_check="$lt_nm_to_check nm" 1.3465 + fi 1.3466 + for lt_tmp_nm in $lt_nm_to_check; do 1.3467 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 1.3468 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 1.3469 + IFS="$lt_save_ifs" 1.3470 + test -z "$ac_dir" && ac_dir=. 1.3471 + tmp_nm="$ac_dir/$lt_tmp_nm" 1.3472 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 1.3473 + # Check to see if the nm accepts a BSD-compat flag. 1.3474 + # Adding the `sed 1q' prevents false positives on HP-UX, which says: 1.3475 + # nm: unknown option "B" ignored 1.3476 + # Tru64's nm complains that /dev/null is an invalid object file 1.3477 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 1.3478 + */dev/null* | *'Invalid file or object type'*) 1.3479 + lt_cv_path_NM="$tmp_nm -B" 1.3480 + break 1.3481 + ;; 1.3482 + *) 1.3483 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 1.3484 + */dev/null*) 1.3485 + lt_cv_path_NM="$tmp_nm -p" 1.3486 + break 1.3487 + ;; 1.3488 + *) 1.3489 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 1.3490 + continue # so that we can try to find one that supports BSD flags 1.3491 + ;; 1.3492 + esac 1.3493 + ;; 1.3494 + esac 1.3495 + fi 1.3496 + done 1.3497 + IFS="$lt_save_ifs" 1.3498 + done 1.3499 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 1.3500 +fi]) 1.3501 +NM="$lt_cv_path_NM" 1.3502 +])# AC_PROG_NM 1.3503 + 1.3504 + 1.3505 +# AC_CHECK_LIBM 1.3506 +# ------------- 1.3507 +# check for math library 1.3508 +AC_DEFUN([AC_CHECK_LIBM], 1.3509 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl 1.3510 +LIBM= 1.3511 +case $host in 1.3512 +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) 1.3513 + # These system don't have libm, or don't need it 1.3514 + ;; 1.3515 +*-ncr-sysv4.3*) 1.3516 + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") 1.3517 + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") 1.3518 + ;; 1.3519 +*) 1.3520 + AC_CHECK_LIB(m, cos, LIBM="-lm") 1.3521 + ;; 1.3522 +esac 1.3523 +])# AC_CHECK_LIBM 1.3524 + 1.3525 + 1.3526 +# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) 1.3527 +# ----------------------------------- 1.3528 +# sets LIBLTDL to the link flags for the libltdl convenience library and 1.3529 +# LTDLINCL to the include flags for the libltdl header and adds 1.3530 +# --enable-ltdl-convenience to the configure arguments. Note that 1.3531 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, 1.3532 +# it is assumed to be `libltdl'. LIBLTDL will be prefixed with 1.3533 +# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' 1.3534 +# (note the single quotes!). If your package is not flat and you're not 1.3535 +# using automake, define top_builddir and top_srcdir appropriately in 1.3536 +# the Makefiles. 1.3537 +AC_DEFUN([AC_LIBLTDL_CONVENIENCE], 1.3538 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 1.3539 + case $enable_ltdl_convenience in 1.3540 + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; 1.3541 + "") enable_ltdl_convenience=yes 1.3542 + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; 1.3543 + esac 1.3544 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la 1.3545 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) 1.3546 + # For backwards non-gettext consistent compatibility... 1.3547 + INCLTDL="$LTDLINCL" 1.3548 +])# AC_LIBLTDL_CONVENIENCE 1.3549 + 1.3550 + 1.3551 +# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) 1.3552 +# ----------------------------------- 1.3553 +# sets LIBLTDL to the link flags for the libltdl installable library and 1.3554 +# LTDLINCL to the include flags for the libltdl header and adds 1.3555 +# --enable-ltdl-install to the configure arguments. Note that 1.3556 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, 1.3557 +# and an installed libltdl is not found, it is assumed to be `libltdl'. 1.3558 +# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with 1.3559 +# '${top_srcdir}/' (note the single quotes!). If your package is not 1.3560 +# flat and you're not using automake, define top_builddir and top_srcdir 1.3561 +# appropriately in the Makefiles. 1.3562 +# In the future, this macro may have to be called after AC_PROG_LIBTOOL. 1.3563 +AC_DEFUN([AC_LIBLTDL_INSTALLABLE], 1.3564 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 1.3565 + AC_CHECK_LIB(ltdl, lt_dlinit, 1.3566 + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], 1.3567 + [if test x"$enable_ltdl_install" = xno; then 1.3568 + AC_MSG_WARN([libltdl not installed, but installation disabled]) 1.3569 + else 1.3570 + enable_ltdl_install=yes 1.3571 + fi 1.3572 + ]) 1.3573 + if test x"$enable_ltdl_install" = x"yes"; then 1.3574 + ac_configure_args="$ac_configure_args --enable-ltdl-install" 1.3575 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la 1.3576 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) 1.3577 + else 1.3578 + ac_configure_args="$ac_configure_args --enable-ltdl-install=no" 1.3579 + LIBLTDL="-lltdl" 1.3580 + LTDLINCL= 1.3581 + fi 1.3582 + # For backwards non-gettext consistent compatibility... 1.3583 + INCLTDL="$LTDLINCL" 1.3584 +])# AC_LIBLTDL_INSTALLABLE 1.3585 + 1.3586 + 1.3587 +# AC_LIBTOOL_CXX 1.3588 +# -------------- 1.3589 +# enable support for C++ libraries 1.3590 +AC_DEFUN([AC_LIBTOOL_CXX], 1.3591 +[AC_REQUIRE([_LT_AC_LANG_CXX]) 1.3592 +])# AC_LIBTOOL_CXX 1.3593 + 1.3594 + 1.3595 +# _LT_AC_LANG_CXX 1.3596 +# --------------- 1.3597 +AC_DEFUN([_LT_AC_LANG_CXX], 1.3598 +[AC_REQUIRE([AC_PROG_CXX]) 1.3599 +AC_REQUIRE([_LT_AC_PROG_CXXCPP]) 1.3600 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) 1.3601 +])# _LT_AC_LANG_CXX 1.3602 + 1.3603 +# _LT_AC_PROG_CXXCPP 1.3604 +# ------------------ 1.3605 +AC_DEFUN([_LT_AC_PROG_CXXCPP], 1.3606 +[ 1.3607 +AC_REQUIRE([AC_PROG_CXX]) 1.3608 +if test -n "$CXX" && ( test "X$CXX" != "Xno" && 1.3609 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 1.3610 + (test "X$CXX" != "Xg++"))) ; then 1.3611 + AC_PROG_CXXCPP 1.3612 +fi 1.3613 +])# _LT_AC_PROG_CXXCPP 1.3614 + 1.3615 +# AC_LIBTOOL_F77 1.3616 +# -------------- 1.3617 +# enable support for Fortran 77 libraries 1.3618 +AC_DEFUN([AC_LIBTOOL_F77], 1.3619 +[AC_REQUIRE([_LT_AC_LANG_F77]) 1.3620 +])# AC_LIBTOOL_F77 1.3621 + 1.3622 + 1.3623 +# _LT_AC_LANG_F77 1.3624 +# --------------- 1.3625 +AC_DEFUN([_LT_AC_LANG_F77], 1.3626 +[AC_REQUIRE([AC_PROG_F77]) 1.3627 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) 1.3628 +])# _LT_AC_LANG_F77 1.3629 + 1.3630 + 1.3631 +# AC_LIBTOOL_GCJ 1.3632 +# -------------- 1.3633 +# enable support for GCJ libraries 1.3634 +AC_DEFUN([AC_LIBTOOL_GCJ], 1.3635 +[AC_REQUIRE([_LT_AC_LANG_GCJ]) 1.3636 +])# AC_LIBTOOL_GCJ 1.3637 + 1.3638 + 1.3639 +# _LT_AC_LANG_GCJ 1.3640 +# --------------- 1.3641 +AC_DEFUN([_LT_AC_LANG_GCJ], 1.3642 +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], 1.3643 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], 1.3644 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], 1.3645 + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], 1.3646 + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], 1.3647 + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) 1.3648 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) 1.3649 +])# _LT_AC_LANG_GCJ 1.3650 + 1.3651 + 1.3652 +# AC_LIBTOOL_RC 1.3653 +# ------------- 1.3654 +# enable support for Windows resource files 1.3655 +AC_DEFUN([AC_LIBTOOL_RC], 1.3656 +[AC_REQUIRE([LT_AC_PROG_RC]) 1.3657 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) 1.3658 +])# AC_LIBTOOL_RC 1.3659 + 1.3660 + 1.3661 +# AC_LIBTOOL_LANG_C_CONFIG 1.3662 +# ------------------------ 1.3663 +# Ensure that the configuration vars for the C compiler are 1.3664 +# suitably defined. Those variables are subsequently used by 1.3665 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. 1.3666 +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) 1.3667 +AC_DEFUN([_LT_AC_LANG_C_CONFIG], 1.3668 +[lt_save_CC="$CC" 1.3669 +AC_LANG_PUSH(C) 1.3670 + 1.3671 +# Source file extension for C test sources. 1.3672 +ac_ext=c 1.3673 + 1.3674 +# Object file extension for compiled C test sources. 1.3675 +objext=o 1.3676 +_LT_AC_TAGVAR(objext, $1)=$objext 1.3677 + 1.3678 +# Code to be used in simple compile tests 1.3679 +lt_simple_compile_test_code="int some_variable = 0;\n" 1.3680 + 1.3681 +# Code to be used in simple link tests 1.3682 +lt_simple_link_test_code='int main(){return(0);}\n' 1.3683 + 1.3684 +_LT_AC_SYS_COMPILER 1.3685 + 1.3686 +# save warnings/boilerplate of simple test code 1.3687 +_LT_COMPILER_BOILERPLATE 1.3688 +_LT_LINKER_BOILERPLATE 1.3689 + 1.3690 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) 1.3691 +AC_LIBTOOL_PROG_COMPILER_PIC($1) 1.3692 +AC_LIBTOOL_PROG_CC_C_O($1) 1.3693 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) 1.3694 +AC_LIBTOOL_PROG_LD_SHLIBS($1) 1.3695 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 1.3696 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 1.3697 +AC_LIBTOOL_SYS_LIB_STRIP 1.3698 +AC_LIBTOOL_DLOPEN_SELF 1.3699 + 1.3700 +# Report which library types will actually be built 1.3701 +AC_MSG_CHECKING([if libtool supports shared libraries]) 1.3702 +AC_MSG_RESULT([$can_build_shared]) 1.3703 + 1.3704 +AC_MSG_CHECKING([whether to build shared libraries]) 1.3705 +test "$can_build_shared" = "no" && enable_shared=no 1.3706 + 1.3707 +# On AIX, shared libraries and static libraries use the same namespace, and 1.3708 +# are all built from PIC. 1.3709 +case $host_os in 1.3710 +aix3*) 1.3711 + test "$enable_shared" = yes && enable_static=no 1.3712 + if test -n "$RANLIB"; then 1.3713 + archive_cmds="$archive_cmds~\$RANLIB \$lib" 1.3714 + postinstall_cmds='$RANLIB $lib' 1.3715 + fi 1.3716 + ;; 1.3717 + 1.3718 +aix4* | aix5*) 1.3719 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 1.3720 + test "$enable_shared" = yes && enable_static=no 1.3721 + fi 1.3722 + ;; 1.3723 +esac 1.3724 +AC_MSG_RESULT([$enable_shared]) 1.3725 + 1.3726 +AC_MSG_CHECKING([whether to build static libraries]) 1.3727 +# Make sure either enable_shared or enable_static is yes. 1.3728 +test "$enable_shared" = yes || enable_static=yes 1.3729 +AC_MSG_RESULT([$enable_static]) 1.3730 + 1.3731 +AC_LIBTOOL_CONFIG($1) 1.3732 + 1.3733 +AC_LANG_POP 1.3734 +CC="$lt_save_CC" 1.3735 +])# AC_LIBTOOL_LANG_C_CONFIG 1.3736 + 1.3737 + 1.3738 +# AC_LIBTOOL_LANG_CXX_CONFIG 1.3739 +# -------------------------- 1.3740 +# Ensure that the configuration vars for the C compiler are 1.3741 +# suitably defined. Those variables are subsequently used by 1.3742 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. 1.3743 +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) 1.3744 +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], 1.3745 +[AC_LANG_PUSH(C++) 1.3746 +AC_REQUIRE([AC_PROG_CXX]) 1.3747 +AC_REQUIRE([_LT_AC_PROG_CXXCPP]) 1.3748 + 1.3749 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 1.3750 +_LT_AC_TAGVAR(allow_undefined_flag, $1)= 1.3751 +_LT_AC_TAGVAR(always_export_symbols, $1)=no 1.3752 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)= 1.3753 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= 1.3754 +_LT_AC_TAGVAR(hardcode_direct, $1)=no 1.3755 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= 1.3756 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= 1.3757 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= 1.3758 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no 1.3759 +_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 1.3760 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no 1.3761 +_LT_AC_TAGVAR(module_cmds, $1)= 1.3762 +_LT_AC_TAGVAR(module_expsym_cmds, $1)= 1.3763 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown 1.3764 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds 1.3765 +_LT_AC_TAGVAR(no_undefined_flag, $1)= 1.3766 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= 1.3767 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no 1.3768 + 1.3769 +# Dependencies to place before and after the object being linked: 1.3770 +_LT_AC_TAGVAR(predep_objects, $1)= 1.3771 +_LT_AC_TAGVAR(postdep_objects, $1)= 1.3772 +_LT_AC_TAGVAR(predeps, $1)= 1.3773 +_LT_AC_TAGVAR(postdeps, $1)= 1.3774 +_LT_AC_TAGVAR(compiler_lib_search_path, $1)= 1.3775 + 1.3776 +# Source file extension for C++ test sources. 1.3777 +ac_ext=cpp 1.3778 + 1.3779 +# Object file extension for compiled C++ test sources. 1.3780 +objext=o 1.3781 +_LT_AC_TAGVAR(objext, $1)=$objext 1.3782 + 1.3783 +# Code to be used in simple compile tests 1.3784 +lt_simple_compile_test_code="int some_variable = 0;\n" 1.3785 + 1.3786 +# Code to be used in simple link tests 1.3787 +lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n' 1.3788 + 1.3789 +# ltmain only uses $CC for tagged configurations so make sure $CC is set. 1.3790 +_LT_AC_SYS_COMPILER 1.3791 + 1.3792 +# save warnings/boilerplate of simple test code 1.3793 +_LT_COMPILER_BOILERPLATE 1.3794 +_LT_LINKER_BOILERPLATE 1.3795 + 1.3796 +# Allow CC to be a program name with arguments. 1.3797 +lt_save_CC=$CC 1.3798 +lt_save_LD=$LD 1.3799 +lt_save_GCC=$GCC 1.3800 +GCC=$GXX 1.3801 +lt_save_with_gnu_ld=$with_gnu_ld 1.3802 +lt_save_path_LD=$lt_cv_path_LD 1.3803 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 1.3804 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 1.3805 +else 1.3806 + $as_unset lt_cv_prog_gnu_ld 1.3807 +fi 1.3808 +if test -n "${lt_cv_path_LDCXX+set}"; then 1.3809 + lt_cv_path_LD=$lt_cv_path_LDCXX 1.3810 +else 1.3811 + $as_unset lt_cv_path_LD 1.3812 +fi 1.3813 +test -z "${LDCXX+set}" || LD=$LDCXX 1.3814 +CC=${CXX-"c++"} 1.3815 +compiler=$CC 1.3816 +_LT_AC_TAGVAR(compiler, $1)=$CC 1.3817 +_LT_CC_BASENAME([$compiler]) 1.3818 + 1.3819 +# We don't want -fno-exception wen compiling C++ code, so set the 1.3820 +# no_builtin_flag separately 1.3821 +if test "$GXX" = yes; then 1.3822 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' 1.3823 +else 1.3824 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= 1.3825 +fi 1.3826 + 1.3827 +if test "$GXX" = yes; then 1.3828 + # Set up default GNU C++ configuration 1.3829 + 1.3830 + AC_PROG_LD 1.3831 + 1.3832 + # Check if GNU C++ uses GNU ld as the underlying linker, since the 1.3833 + # archiving commands below assume that GNU ld is being used. 1.3834 + if test "$with_gnu_ld" = yes; then 1.3835 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.3836 + _LT_AC_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' 1.3837 + 1.3838 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' 1.3839 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 1.3840 + 1.3841 + # If archive_cmds runs LD, not CC, wlarc should be empty 1.3842 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 1.3843 + # investigate it a little bit more. (MM) 1.3844 + wlarc='${wl}' 1.3845 + 1.3846 + # ancient GNU ld didn't support --whole-archive et. al. 1.3847 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ 1.3848 + grep 'no-whole-archive' > /dev/null; then 1.3849 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 1.3850 + else 1.3851 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= 1.3852 + fi 1.3853 + else 1.3854 + with_gnu_ld=no 1.3855 + wlarc= 1.3856 + 1.3857 + # A generic and very simple default shared library creation 1.3858 + # command for GNU C++ for the case where it uses the native 1.3859 + # linker, instead of GNU ld. If possible, this setting should 1.3860 + # overridden to take advantage of the native linker features on 1.3861 + # the platform it is being used on. 1.3862 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 1.3863 + fi 1.3864 + 1.3865 + # Commands to make compiler produce verbose output that lists 1.3866 + # what "hidden" libraries, object files and flags are used when 1.3867 + # linking a shared library. 1.3868 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' 1.3869 + 1.3870 +else 1.3871 + GXX=no 1.3872 + with_gnu_ld=no 1.3873 + wlarc= 1.3874 +fi 1.3875 + 1.3876 +# PORTME: fill in a description of your system's C++ link characteristics 1.3877 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) 1.3878 +_LT_AC_TAGVAR(ld_shlibs, $1)=yes 1.3879 +case $host_os in 1.3880 + aix3*) 1.3881 + # FIXME: insert proper C++ library support 1.3882 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.3883 + ;; 1.3884 + aix4* | aix5*) 1.3885 + if test "$host_cpu" = ia64; then 1.3886 + # On IA64, the linker does run time linking by default, so we don't 1.3887 + # have to do anything special. 1.3888 + aix_use_runtimelinking=no 1.3889 + exp_sym_flag='-Bexport' 1.3890 + no_entry_flag="" 1.3891 + else 1.3892 + aix_use_runtimelinking=no 1.3893 + 1.3894 + # Test if we are trying to use run time linking or normal 1.3895 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we 1.3896 + # need to do runtime linking. 1.3897 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) 1.3898 + for ld_flag in $LDFLAGS; do 1.3899 + case $ld_flag in 1.3900 + *-brtl*) 1.3901 + aix_use_runtimelinking=yes 1.3902 + break 1.3903 + ;; 1.3904 + esac 1.3905 + done 1.3906 + ;; 1.3907 + esac 1.3908 + 1.3909 + exp_sym_flag='-bexport' 1.3910 + no_entry_flag='-bnoentry' 1.3911 + fi 1.3912 + 1.3913 + # When large executables or shared objects are built, AIX ld can 1.3914 + # have problems creating the table of contents. If linking a library 1.3915 + # or program results in "error TOC overflow" add -mminimal-toc to 1.3916 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 1.3917 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 1.3918 + 1.3919 + _LT_AC_TAGVAR(archive_cmds, $1)='' 1.3920 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.3921 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' 1.3922 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 1.3923 + 1.3924 + if test "$GXX" = yes; then 1.3925 + case $host_os in aix4.[[012]]|aix4.[[012]].*) 1.3926 + # We only want to do this on AIX 4.2 and lower, the check 1.3927 + # below for broken collect2 doesn't work under 4.3+ 1.3928 + collect2name=`${CC} -print-prog-name=collect2` 1.3929 + if test -f "$collect2name" && \ 1.3930 + strings "$collect2name" | grep resolve_lib_name >/dev/null 1.3931 + then 1.3932 + # We have reworked collect2 1.3933 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.3934 + else 1.3935 + # We have old collect2 1.3936 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported 1.3937 + # It fails to find uninstalled libraries when the uninstalled 1.3938 + # path is not listed in the libpath. Setting hardcode_minus_L 1.3939 + # to unsupported forces relinking 1.3940 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 1.3941 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 1.3942 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= 1.3943 + fi 1.3944 + ;; 1.3945 + esac 1.3946 + shared_flag='-shared' 1.3947 + if test "$aix_use_runtimelinking" = yes; then 1.3948 + shared_flag="$shared_flag "'${wl}-G' 1.3949 + fi 1.3950 + else 1.3951 + # not using gcc 1.3952 + if test "$host_cpu" = ia64; then 1.3953 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 1.3954 + # chokes on -Wl,-G. The following line is correct: 1.3955 + shared_flag='-G' 1.3956 + else 1.3957 + if test "$aix_use_runtimelinking" = yes; then 1.3958 + shared_flag='${wl}-G' 1.3959 + else 1.3960 + shared_flag='${wl}-bM:SRE' 1.3961 + fi 1.3962 + fi 1.3963 + fi 1.3964 + 1.3965 + # It seems that -bexpall does not export symbols beginning with 1.3966 + # underscore (_), so it is better to generate a list of symbols to export. 1.3967 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes 1.3968 + if test "$aix_use_runtimelinking" = yes; then 1.3969 + # Warning - without using the other runtime loading flags (-brtl), 1.3970 + # -berok will link without error, but may produce a broken library. 1.3971 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' 1.3972 + # Determine the default libpath from the value encoded in an empty executable. 1.3973 + _LT_AC_SYS_LIBPATH_AIX 1.3974 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 1.3975 + 1.3976 + _LT_AC_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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 1.3977 + else 1.3978 + if test "$host_cpu" = ia64; then 1.3979 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' 1.3980 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" 1.3981 + _LT_AC_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" 1.3982 + else 1.3983 + # Determine the default libpath from the value encoded in an empty executable. 1.3984 + _LT_AC_SYS_LIBPATH_AIX 1.3985 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 1.3986 + # Warning - without using the other run time loading flags, 1.3987 + # -berok will link without error, but may produce a broken library. 1.3988 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' 1.3989 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' 1.3990 + # Exported symbols can be pulled into shared objects from archives 1.3991 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' 1.3992 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes 1.3993 + # This is similar to how AIX traditionally builds its shared libraries. 1.3994 + _LT_AC_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' 1.3995 + fi 1.3996 + fi 1.3997 + ;; 1.3998 + 1.3999 + beos*) 1.4000 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 1.4001 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported 1.4002 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 1.4003 + # support --undefined. This deserves some investigation. FIXME 1.4004 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.4005 + else 1.4006 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4007 + fi 1.4008 + ;; 1.4009 + 1.4010 + chorus*) 1.4011 + case $cc_basename in 1.4012 + *) 1.4013 + # FIXME: insert proper C++ library support 1.4014 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4015 + ;; 1.4016 + esac 1.4017 + ;; 1.4018 + 1.4019 + cygwin* | mingw* | pw32*) 1.4020 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, 1.4021 + # as there is no search path for DLLs. 1.4022 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 1.4023 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported 1.4024 + _LT_AC_TAGVAR(always_export_symbols, $1)=no 1.4025 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes 1.4026 + 1.4027 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 1.4028 + _LT_AC_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' 1.4029 + # If the export-symbols file already is a .def file (1st line 1.4030 + # is EXPORTS), use it as is; otherwise, prepend... 1.4031 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 1.4032 + cp $export_symbols $output_objdir/$soname.def; 1.4033 + else 1.4034 + echo EXPORTS > $output_objdir/$soname.def; 1.4035 + cat $export_symbols >> $output_objdir/$soname.def; 1.4036 + fi~ 1.4037 + $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' 1.4038 + else 1.4039 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4040 + fi 1.4041 + ;; 1.4042 + darwin* | rhapsody*) 1.4043 + case $host_os in 1.4044 + rhapsody* | darwin1.[[012]]) 1.4045 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' 1.4046 + ;; 1.4047 + *) # Darwin 1.3 on 1.4048 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 1.4049 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 1.4050 + else 1.4051 + case ${MACOSX_DEPLOYMENT_TARGET} in 1.4052 + 10.[[012]]) 1.4053 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 1.4054 + ;; 1.4055 + 10.*) 1.4056 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' 1.4057 + ;; 1.4058 + esac 1.4059 + fi 1.4060 + ;; 1.4061 + esac 1.4062 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 1.4063 + _LT_AC_TAGVAR(hardcode_direct, $1)=no 1.4064 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes 1.4065 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 1.4066 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' 1.4067 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 1.4068 + 1.4069 + if test "$GXX" = yes ; then 1.4070 + lt_int_apple_cc_single_mod=no 1.4071 + output_verbose_link_cmd='echo' 1.4072 + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then 1.4073 + lt_int_apple_cc_single_mod=yes 1.4074 + fi 1.4075 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 1.4076 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 1.4077 + else 1.4078 + _LT_AC_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' 1.4079 + fi 1.4080 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 1.4081 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 1.4082 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 1.4083 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 1.4084 + else 1.4085 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 1.4086 + fi 1.4087 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 1.4088 + else 1.4089 + case $cc_basename in 1.4090 + xlc*) 1.4091 + output_verbose_link_cmd='echo' 1.4092 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 1.4093 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 1.4094 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 1.4095 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 1.4096 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 1.4097 + ;; 1.4098 + *) 1.4099 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4100 + ;; 1.4101 + esac 1.4102 + fi 1.4103 + ;; 1.4104 + 1.4105 + dgux*) 1.4106 + case $cc_basename in 1.4107 + ec++*) 1.4108 + # FIXME: insert proper C++ library support 1.4109 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4110 + ;; 1.4111 + ghcx*) 1.4112 + # Green Hills C++ Compiler 1.4113 + # FIXME: insert proper C++ library support 1.4114 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4115 + ;; 1.4116 + *) 1.4117 + # FIXME: insert proper C++ library support 1.4118 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4119 + ;; 1.4120 + esac 1.4121 + ;; 1.4122 + freebsd[[12]]*) 1.4123 + # C++ shared libraries reported to be fairly broken before switch to ELF 1.4124 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4125 + ;; 1.4126 + freebsd-elf*) 1.4127 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 1.4128 + ;; 1.4129 + freebsd* | kfreebsd*-gnu | dragonfly*) 1.4130 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 1.4131 + # conventions 1.4132 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes 1.4133 + ;; 1.4134 + gnu*) 1.4135 + ;; 1.4136 + hpux9*) 1.4137 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' 1.4138 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 1.4139 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 1.4140 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.4141 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, 1.4142 + # but as the default 1.4143 + # location of the library. 1.4144 + 1.4145 + case $cc_basename in 1.4146 + CC*) 1.4147 + # FIXME: insert proper C++ library support 1.4148 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4149 + ;; 1.4150 + aCC*) 1.4151 + _LT_AC_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' 1.4152 + # Commands to make compiler produce verbose output that lists 1.4153 + # what "hidden" libraries, object files and flags are used when 1.4154 + # linking a shared library. 1.4155 + # 1.4156 + # There doesn't appear to be a way to prevent this compiler from 1.4157 + # explicitly linking system object files so we need to strip them 1.4158 + # from the output so that they don't get included in the library 1.4159 + # dependencies. 1.4160 + 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 $list' 1.4161 + ;; 1.4162 + *) 1.4163 + if test "$GXX" = yes; then 1.4164 + _LT_AC_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' 1.4165 + else 1.4166 + # FIXME: insert proper C++ library support 1.4167 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4168 + fi 1.4169 + ;; 1.4170 + esac 1.4171 + ;; 1.4172 + hpux10*|hpux11*) 1.4173 + if test $with_gnu_ld = no; then 1.4174 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' 1.4175 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 1.4176 + 1.4177 + case $host_cpu in 1.4178 + hppa*64*|ia64*) 1.4179 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' 1.4180 + ;; 1.4181 + *) 1.4182 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 1.4183 + ;; 1.4184 + esac 1.4185 + fi 1.4186 + case $host_cpu in 1.4187 + hppa*64*|ia64*) 1.4188 + _LT_AC_TAGVAR(hardcode_direct, $1)=no 1.4189 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.4190 + ;; 1.4191 + *) 1.4192 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.4193 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, 1.4194 + # but as the default 1.4195 + # location of the library. 1.4196 + ;; 1.4197 + esac 1.4198 + 1.4199 + case $cc_basename in 1.4200 + CC*) 1.4201 + # FIXME: insert proper C++ library support 1.4202 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4203 + ;; 1.4204 + aCC*) 1.4205 + case $host_cpu in 1.4206 + hppa*64*) 1.4207 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 1.4208 + ;; 1.4209 + ia64*) 1.4210 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 1.4211 + ;; 1.4212 + *) 1.4213 + _LT_AC_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' 1.4214 + ;; 1.4215 + esac 1.4216 + # Commands to make compiler produce verbose output that lists 1.4217 + # what "hidden" libraries, object files and flags are used when 1.4218 + # linking a shared library. 1.4219 + # 1.4220 + # There doesn't appear to be a way to prevent this compiler from 1.4221 + # explicitly linking system object files so we need to strip them 1.4222 + # from the output so that they don't get included in the library 1.4223 + # dependencies. 1.4224 + 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 $list' 1.4225 + ;; 1.4226 + *) 1.4227 + if test "$GXX" = yes; then 1.4228 + if test $with_gnu_ld = no; then 1.4229 + case $host_cpu in 1.4230 + hppa*64*) 1.4231 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 1.4232 + ;; 1.4233 + ia64*) 1.4234 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 1.4235 + ;; 1.4236 + *) 1.4237 + _LT_AC_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' 1.4238 + ;; 1.4239 + esac 1.4240 + fi 1.4241 + else 1.4242 + # FIXME: insert proper C++ library support 1.4243 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4244 + fi 1.4245 + ;; 1.4246 + esac 1.4247 + ;; 1.4248 + interix3*) 1.4249 + _LT_AC_TAGVAR(hardcode_direct, $1)=no 1.4250 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.4251 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 1.4252 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 1.4253 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 1.4254 + # Instead, shared libraries are loaded at an image base (0x10000000 by 1.4255 + # default) and relocated if they conflict, which is a slow very memory 1.4256 + # consuming and fragmenting process. To avoid this, we pick a random, 1.4257 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 1.4258 + # time. Moving up from 0x10000000 also allows more sbrk(2) space. 1.4259 + _LT_AC_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' 1.4260 + _LT_AC_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' 1.4261 + ;; 1.4262 + irix5* | irix6*) 1.4263 + case $cc_basename in 1.4264 + CC*) 1.4265 + # SGI C++ 1.4266 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 1.4267 + 1.4268 + # Archives containing C++ object files must be created using 1.4269 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is 1.4270 + # necessary to make sure instantiated templates are included 1.4271 + # in the archive. 1.4272 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' 1.4273 + ;; 1.4274 + *) 1.4275 + if test "$GXX" = yes; then 1.4276 + if test "$with_gnu_ld" = no; then 1.4277 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 1.4278 + else 1.4279 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' 1.4280 + fi 1.4281 + fi 1.4282 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 1.4283 + ;; 1.4284 + esac 1.4285 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 1.4286 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 1.4287 + ;; 1.4288 + linux*) 1.4289 + case $cc_basename in 1.4290 + KCC*) 1.4291 + # Kuck and Associates, Inc. (KAI) C++ Compiler 1.4292 + 1.4293 + # KCC will only create a shared library if the output file 1.4294 + # ends with ".so" (or ".sl" for HP-UX), so rename the library 1.4295 + # to its proper name (with version) after linking. 1.4296 + _LT_AC_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' 1.4297 + _LT_AC_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' 1.4298 + # Commands to make compiler produce verbose output that lists 1.4299 + # what "hidden" libraries, object files and flags are used when 1.4300 + # linking a shared library. 1.4301 + # 1.4302 + # There doesn't appear to be a way to prevent this compiler from 1.4303 + # explicitly linking system object files so we need to strip them 1.4304 + # from the output so that they don't get included in the library 1.4305 + # dependencies. 1.4306 + 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 $list' 1.4307 + 1.4308 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' 1.4309 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 1.4310 + 1.4311 + # Archives containing C++ object files must be created using 1.4312 + # "CC -Bstatic", where "CC" is the KAI C++ compiler. 1.4313 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' 1.4314 + ;; 1.4315 + icpc*) 1.4316 + # Intel C++ 1.4317 + with_gnu_ld=yes 1.4318 + # version 8.0 and above of icpc choke on multiply defined symbols 1.4319 + # if we add $predep_objects and $postdep_objects, however 7.1 and 1.4320 + # earlier do not add the objects themselves. 1.4321 + case `$CC -V 2>&1` in 1.4322 + *"Version 7."*) 1.4323 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.4324 + _LT_AC_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' 1.4325 + ;; 1.4326 + *) # Version 8.0 or newer 1.4327 + tmp_idyn= 1.4328 + case $host_cpu in 1.4329 + ia64*) tmp_idyn=' -i_dynamic';; 1.4330 + esac 1.4331 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.4332 + _LT_AC_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' 1.4333 + ;; 1.4334 + esac 1.4335 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 1.4336 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 1.4337 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 1.4338 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 1.4339 + ;; 1.4340 + pgCC*) 1.4341 + # Portland Group C++ compiler 1.4342 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 1.4343 + _LT_AC_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' 1.4344 + 1.4345 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' 1.4346 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 1.4347 + _LT_AC_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' 1.4348 + ;; 1.4349 + cxx*) 1.4350 + # Compaq C++ 1.4351 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.4352 + _LT_AC_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' 1.4353 + 1.4354 + runpath_var=LD_RUN_PATH 1.4355 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' 1.4356 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 1.4357 + 1.4358 + # Commands to make compiler produce verbose output that lists 1.4359 + # what "hidden" libraries, object files and flags are used when 1.4360 + # linking a shared library. 1.4361 + # 1.4362 + # There doesn't appear to be a way to prevent this compiler from 1.4363 + # explicitly linking system object files so we need to strip them 1.4364 + # from the output so that they don't get included in the library 1.4365 + # dependencies. 1.4366 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $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; echo $list' 1.4367 + ;; 1.4368 + esac 1.4369 + ;; 1.4370 + lynxos*) 1.4371 + # FIXME: insert proper C++ library support 1.4372 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4373 + ;; 1.4374 + m88k*) 1.4375 + # FIXME: insert proper C++ library support 1.4376 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4377 + ;; 1.4378 + mvs*) 1.4379 + case $cc_basename in 1.4380 + cxx*) 1.4381 + # FIXME: insert proper C++ library support 1.4382 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4383 + ;; 1.4384 + *) 1.4385 + # FIXME: insert proper C++ library support 1.4386 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4387 + ;; 1.4388 + esac 1.4389 + ;; 1.4390 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu) 1.4391 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 1.4392 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 1.4393 + wlarc= 1.4394 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 1.4395 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.4396 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.4397 + fi 1.4398 + # Workaround some broken pre-1.5 toolchains 1.4399 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 1.4400 + ;; 1.4401 + openbsd2*) 1.4402 + # C++ shared libraries are fairly broken 1.4403 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4404 + ;; 1.4405 + openbsd*) 1.4406 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.4407 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.4408 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 1.4409 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 1.4410 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 1.4411 + _LT_AC_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' 1.4412 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 1.4413 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 1.4414 + fi 1.4415 + output_verbose_link_cmd='echo' 1.4416 + ;; 1.4417 + osf3*) 1.4418 + case $cc_basename in 1.4419 + KCC*) 1.4420 + # Kuck and Associates, Inc. (KAI) C++ Compiler 1.4421 + 1.4422 + # KCC will only create a shared library if the output file 1.4423 + # ends with ".so" (or ".sl" for HP-UX), so rename the library 1.4424 + # to its proper name (with version) after linking. 1.4425 + _LT_AC_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' 1.4426 + 1.4427 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 1.4428 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 1.4429 + 1.4430 + # Archives containing C++ object files must be created using 1.4431 + # "CC -Bstatic", where "CC" is the KAI C++ compiler. 1.4432 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' 1.4433 + 1.4434 + ;; 1.4435 + RCC*) 1.4436 + # Rational C++ 2.4.1 1.4437 + # FIXME: insert proper C++ library support 1.4438 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4439 + ;; 1.4440 + cxx*) 1.4441 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' 1.4442 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 1.4443 + 1.4444 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 1.4445 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 1.4446 + 1.4447 + # Commands to make compiler produce verbose output that lists 1.4448 + # what "hidden" libraries, object files and flags are used when 1.4449 + # linking a shared library. 1.4450 + # 1.4451 + # There doesn't appear to be a way to prevent this compiler from 1.4452 + # explicitly linking system object files so we need to strip them 1.4453 + # from the output so that they don't get included in the library 1.4454 + # dependencies. 1.4455 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list' 1.4456 + ;; 1.4457 + *) 1.4458 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then 1.4459 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' 1.4460 + _LT_AC_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 ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 1.4461 + 1.4462 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 1.4463 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 1.4464 + 1.4465 + # Commands to make compiler produce verbose output that lists 1.4466 + # what "hidden" libraries, object files and flags are used when 1.4467 + # linking a shared library. 1.4468 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' 1.4469 + 1.4470 + else 1.4471 + # FIXME: insert proper C++ library support 1.4472 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4473 + fi 1.4474 + ;; 1.4475 + esac 1.4476 + ;; 1.4477 + osf4* | osf5*) 1.4478 + case $cc_basename in 1.4479 + KCC*) 1.4480 + # Kuck and Associates, Inc. (KAI) C++ Compiler 1.4481 + 1.4482 + # KCC will only create a shared library if the output file 1.4483 + # ends with ".so" (or ".sl" for HP-UX), so rename the library 1.4484 + # to its proper name (with version) after linking. 1.4485 + _LT_AC_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' 1.4486 + 1.4487 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 1.4488 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 1.4489 + 1.4490 + # Archives containing C++ object files must be created using 1.4491 + # the KAI C++ compiler. 1.4492 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' 1.4493 + ;; 1.4494 + RCC*) 1.4495 + # Rational C++ 2.4.1 1.4496 + # FIXME: insert proper C++ library support 1.4497 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4498 + ;; 1.4499 + cxx*) 1.4500 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' 1.4501 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 1.4502 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 1.4503 + echo "-hidden">> $lib.exp~ 1.4504 + $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~ 1.4505 + $rm $lib.exp' 1.4506 + 1.4507 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' 1.4508 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 1.4509 + 1.4510 + # Commands to make compiler produce verbose output that lists 1.4511 + # what "hidden" libraries, object files and flags are used when 1.4512 + # linking a shared library. 1.4513 + # 1.4514 + # There doesn't appear to be a way to prevent this compiler from 1.4515 + # explicitly linking system object files so we need to strip them 1.4516 + # from the output so that they don't get included in the library 1.4517 + # dependencies. 1.4518 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list' 1.4519 + ;; 1.4520 + *) 1.4521 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then 1.4522 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' 1.4523 + _LT_AC_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` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 1.4524 + 1.4525 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 1.4526 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 1.4527 + 1.4528 + # Commands to make compiler produce verbose output that lists 1.4529 + # what "hidden" libraries, object files and flags are used when 1.4530 + # linking a shared library. 1.4531 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' 1.4532 + 1.4533 + else 1.4534 + # FIXME: insert proper C++ library support 1.4535 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4536 + fi 1.4537 + ;; 1.4538 + esac 1.4539 + ;; 1.4540 + psos*) 1.4541 + # FIXME: insert proper C++ library support 1.4542 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4543 + ;; 1.4544 + sunos4*) 1.4545 + case $cc_basename in 1.4546 + CC*) 1.4547 + # Sun C++ 4.x 1.4548 + # FIXME: insert proper C++ library support 1.4549 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4550 + ;; 1.4551 + lcc*) 1.4552 + # Lucid 1.4553 + # FIXME: insert proper C++ library support 1.4554 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4555 + ;; 1.4556 + *) 1.4557 + # FIXME: insert proper C++ library support 1.4558 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4559 + ;; 1.4560 + esac 1.4561 + ;; 1.4562 + solaris*) 1.4563 + case $cc_basename in 1.4564 + CC*) 1.4565 + # Sun C++ 4.2, 5.x and Centerline C++ 1.4566 + _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes 1.4567 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' 1.4568 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 1.4569 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 1.4570 + $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' 1.4571 + 1.4572 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 1.4573 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.4574 + case $host_os in 1.4575 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; 1.4576 + *) 1.4577 + # The C++ compiler is used as linker so we must use $wl 1.4578 + # flag to pass the commands to the underlying system 1.4579 + # linker. We must also pass each convience library through 1.4580 + # to the system linker between allextract/defaultextract. 1.4581 + # The C++ compiler will combine linker options so we 1.4582 + # cannot just pass the convience library names through 1.4583 + # without $wl. 1.4584 + # Supported since Solaris 2.6 (maybe 2.5.1?) 1.4585 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' 1.4586 + ;; 1.4587 + esac 1.4588 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 1.4589 + 1.4590 + output_verbose_link_cmd='echo' 1.4591 + 1.4592 + # Archives containing C++ object files must be created using 1.4593 + # "CC -xar", where "CC" is the Sun C++ compiler. This is 1.4594 + # necessary to make sure instantiated templates are included 1.4595 + # in the archive. 1.4596 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' 1.4597 + ;; 1.4598 + gcx*) 1.4599 + # Green Hills C++ Compiler 1.4600 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 1.4601 + 1.4602 + # The C++ compiler must be used to create the archive. 1.4603 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 1.4604 + ;; 1.4605 + *) 1.4606 + # GNU C++ compiler with Solaris linker 1.4607 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then 1.4608 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' 1.4609 + if $CC --version | grep -v '^2\.7' > /dev/null; then 1.4610 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 1.4611 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 1.4612 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' 1.4613 + 1.4614 + # Commands to make compiler produce verbose output that lists 1.4615 + # what "hidden" libraries, object files and flags are used when 1.4616 + # linking a shared library. 1.4617 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" 1.4618 + else 1.4619 + # g++ 2.7 appears to require `-G' NOT `-shared' on this 1.4620 + # platform. 1.4621 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 1.4622 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 1.4623 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' 1.4624 + 1.4625 + # Commands to make compiler produce verbose output that lists 1.4626 + # what "hidden" libraries, object files and flags are used when 1.4627 + # linking a shared library. 1.4628 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" 1.4629 + fi 1.4630 + 1.4631 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' 1.4632 + fi 1.4633 + ;; 1.4634 + esac 1.4635 + ;; 1.4636 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) 1.4637 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' 1.4638 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 1.4639 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.4640 + runpath_var='LD_RUN_PATH' 1.4641 + 1.4642 + case $cc_basename in 1.4643 + CC*) 1.4644 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.4645 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.4646 + ;; 1.4647 + *) 1.4648 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.4649 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.4650 + ;; 1.4651 + esac 1.4652 + ;; 1.4653 + sysv5* | sco3.2v5* | sco5v6*) 1.4654 + # Note: We can NOT use -z defs as we might desire, because we do not 1.4655 + # link with -lc, and that would cause any symbols used from libc to 1.4656 + # always be unresolved, which means just about no library would 1.4657 + # ever link correctly. If we're not using GNU ld we use -z text 1.4658 + # though, which does catch some bad symbols but isn't as heavy-handed 1.4659 + # as -z defs. 1.4660 + # For security reasons, it is highly recommended that you always 1.4661 + # use absolute paths for naming shared libraries, and exclude the 1.4662 + # DT_RUNPATH tag from executables and libraries. But doing so 1.4663 + # requires that you compile everything twice, which is a pain. 1.4664 + # So that behaviour is only enabled if SCOABSPATH is set to a 1.4665 + # non-empty value in the environment. Most likely only useful for 1.4666 + # creating official distributions of packages. 1.4667 + # This is a hack until libtool officially supports absolute path 1.4668 + # names for shared libraries. 1.4669 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' 1.4670 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' 1.4671 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 1.4672 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.4673 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 1.4674 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' 1.4675 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 1.4676 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' 1.4677 + runpath_var='LD_RUN_PATH' 1.4678 + 1.4679 + case $cc_basename in 1.4680 + CC*) 1.4681 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 1.4682 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 1.4683 + ;; 1.4684 + *) 1.4685 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 1.4686 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 1.4687 + ;; 1.4688 + esac 1.4689 + ;; 1.4690 + tandem*) 1.4691 + case $cc_basename in 1.4692 + NCC*) 1.4693 + # NonStop-UX NCC 3.20 1.4694 + # FIXME: insert proper C++ library support 1.4695 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4696 + ;; 1.4697 + *) 1.4698 + # FIXME: insert proper C++ library support 1.4699 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4700 + ;; 1.4701 + esac 1.4702 + ;; 1.4703 + vxworks*) 1.4704 + # FIXME: insert proper C++ library support 1.4705 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4706 + ;; 1.4707 + *) 1.4708 + # FIXME: insert proper C++ library support 1.4709 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.4710 + ;; 1.4711 +esac 1.4712 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) 1.4713 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no 1.4714 + 1.4715 +_LT_AC_TAGVAR(GCC, $1)="$GXX" 1.4716 +_LT_AC_TAGVAR(LD, $1)="$LD" 1.4717 + 1.4718 +AC_LIBTOOL_POSTDEP_PREDEP($1) 1.4719 +AC_LIBTOOL_PROG_COMPILER_PIC($1) 1.4720 +AC_LIBTOOL_PROG_CC_C_O($1) 1.4721 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) 1.4722 +AC_LIBTOOL_PROG_LD_SHLIBS($1) 1.4723 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 1.4724 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 1.4725 + 1.4726 +AC_LIBTOOL_CONFIG($1) 1.4727 + 1.4728 +AC_LANG_POP 1.4729 +CC=$lt_save_CC 1.4730 +LDCXX=$LD 1.4731 +LD=$lt_save_LD 1.4732 +GCC=$lt_save_GCC 1.4733 +with_gnu_ldcxx=$with_gnu_ld 1.4734 +with_gnu_ld=$lt_save_with_gnu_ld 1.4735 +lt_cv_path_LDCXX=$lt_cv_path_LD 1.4736 +lt_cv_path_LD=$lt_save_path_LD 1.4737 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 1.4738 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 1.4739 +])# AC_LIBTOOL_LANG_CXX_CONFIG 1.4740 + 1.4741 +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) 1.4742 +# ------------------------------------ 1.4743 +# Figure out "hidden" library dependencies from verbose 1.4744 +# compiler output when linking a shared library. 1.4745 +# Parse the compiler output and extract the necessary 1.4746 +# objects, libraries and library flags. 1.4747 +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ 1.4748 +dnl we can't use the lt_simple_compile_test_code here, 1.4749 +dnl because it contains code intended for an executable, 1.4750 +dnl not a library. It's possible we should let each 1.4751 +dnl tag define a new lt_????_link_test_code variable, 1.4752 +dnl but it's only used here... 1.4753 +ifelse([$1],[],[cat > conftest.$ac_ext <<EOF 1.4754 +int a; 1.4755 +void foo (void) { a = 0; } 1.4756 +EOF 1.4757 +],[$1],[CXX],[cat > conftest.$ac_ext <<EOF 1.4758 +class Foo 1.4759 +{ 1.4760 +public: 1.4761 + Foo (void) { a = 0; } 1.4762 +private: 1.4763 + int a; 1.4764 +}; 1.4765 +EOF 1.4766 +],[$1],[F77],[cat > conftest.$ac_ext <<EOF 1.4767 + subroutine foo 1.4768 + implicit none 1.4769 + integer*4 a 1.4770 + a=0 1.4771 + return 1.4772 + end 1.4773 +EOF 1.4774 +],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF 1.4775 +public class foo { 1.4776 + private int a; 1.4777 + public void bar (void) { 1.4778 + a = 0; 1.4779 + } 1.4780 +}; 1.4781 +EOF 1.4782 +]) 1.4783 +dnl Parse the compiler output and extract the necessary 1.4784 +dnl objects, libraries and library flags. 1.4785 +if AC_TRY_EVAL(ac_compile); then 1.4786 + # Parse the compiler output and extract the necessary 1.4787 + # objects, libraries and library flags. 1.4788 + 1.4789 + # Sentinel used to keep track of whether or not we are before 1.4790 + # the conftest object file. 1.4791 + pre_test_object_deps_done=no 1.4792 + 1.4793 + # The `*' in the case matches for architectures that use `case' in 1.4794 + # $output_verbose_cmd can trigger glob expansion during the loop 1.4795 + # eval without this substitution. 1.4796 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` 1.4797 + 1.4798 + for p in `eval $output_verbose_link_cmd`; do 1.4799 + case $p in 1.4800 + 1.4801 + -L* | -R* | -l*) 1.4802 + # Some compilers place space between "-{L,R}" and the path. 1.4803 + # Remove the space. 1.4804 + if test $p = "-L" \ 1.4805 + || test $p = "-R"; then 1.4806 + prev=$p 1.4807 + continue 1.4808 + else 1.4809 + prev= 1.4810 + fi 1.4811 + 1.4812 + if test "$pre_test_object_deps_done" = no; then 1.4813 + case $p in 1.4814 + -L* | -R*) 1.4815 + # Internal compiler library paths should come after those 1.4816 + # provided the user. The postdeps already come after the 1.4817 + # user supplied libs so there is no need to process them. 1.4818 + if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then 1.4819 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" 1.4820 + else 1.4821 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}" 1.4822 + fi 1.4823 + ;; 1.4824 + # The "-l" case would never come before the object being 1.4825 + # linked, so don't bother handling this case. 1.4826 + esac 1.4827 + else 1.4828 + if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then 1.4829 + _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}" 1.4830 + else 1.4831 + _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}" 1.4832 + fi 1.4833 + fi 1.4834 + ;; 1.4835 + 1.4836 + *.$objext) 1.4837 + # This assumes that the test object file only shows up 1.4838 + # once in the compiler output. 1.4839 + if test "$p" = "conftest.$objext"; then 1.4840 + pre_test_object_deps_done=yes 1.4841 + continue 1.4842 + fi 1.4843 + 1.4844 + if test "$pre_test_object_deps_done" = no; then 1.4845 + if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then 1.4846 + _LT_AC_TAGVAR(predep_objects, $1)="$p" 1.4847 + else 1.4848 + _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p" 1.4849 + fi 1.4850 + else 1.4851 + if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then 1.4852 + _LT_AC_TAGVAR(postdep_objects, $1)="$p" 1.4853 + else 1.4854 + _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p" 1.4855 + fi 1.4856 + fi 1.4857 + ;; 1.4858 + 1.4859 + *) ;; # Ignore the rest. 1.4860 + 1.4861 + esac 1.4862 + done 1.4863 + 1.4864 + # Clean up. 1.4865 + rm -f a.out a.exe 1.4866 +else 1.4867 + echo "libtool.m4: error: problem compiling $1 test program" 1.4868 +fi 1.4869 + 1.4870 +$rm -f confest.$objext 1.4871 + 1.4872 +# PORTME: override above test on systems where it is broken 1.4873 +ifelse([$1],[CXX], 1.4874 +[case $host_os in 1.4875 +interix3*) 1.4876 + # Interix 3.5 installs completely hosed .la files for C++, so rather than 1.4877 + # hack all around it, let's just trust "g++" to DTRT. 1.4878 + _LT_AC_TAGVAR(predep_objects,$1)= 1.4879 + _LT_AC_TAGVAR(postdep_objects,$1)= 1.4880 + _LT_AC_TAGVAR(postdeps,$1)= 1.4881 + ;; 1.4882 + 1.4883 +solaris*) 1.4884 + case $cc_basename in 1.4885 + CC*) 1.4886 + # Adding this requires a known-good setup of shared libraries for 1.4887 + # Sun compiler versions before 5.6, else PIC objects from an old 1.4888 + # archive will be linked into the output, leading to subtle bugs. 1.4889 + _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun' 1.4890 + ;; 1.4891 + esac 1.4892 + ;; 1.4893 +esac 1.4894 +]) 1.4895 + 1.4896 +case " $_LT_AC_TAGVAR(postdeps, $1) " in 1.4897 +*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; 1.4898 +esac 1.4899 +])# AC_LIBTOOL_POSTDEP_PREDEP 1.4900 + 1.4901 +# AC_LIBTOOL_LANG_F77_CONFIG 1.4902 +# -------------------------- 1.4903 +# Ensure that the configuration vars for the C compiler are 1.4904 +# suitably defined. Those variables are subsequently used by 1.4905 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. 1.4906 +AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)]) 1.4907 +AC_DEFUN([_LT_AC_LANG_F77_CONFIG], 1.4908 +[AC_REQUIRE([AC_PROG_F77]) 1.4909 +AC_LANG_PUSH(Fortran 77) 1.4910 + 1.4911 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 1.4912 +_LT_AC_TAGVAR(allow_undefined_flag, $1)= 1.4913 +_LT_AC_TAGVAR(always_export_symbols, $1)=no 1.4914 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)= 1.4915 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= 1.4916 +_LT_AC_TAGVAR(hardcode_direct, $1)=no 1.4917 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= 1.4918 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= 1.4919 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= 1.4920 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no 1.4921 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no 1.4922 +_LT_AC_TAGVAR(module_cmds, $1)= 1.4923 +_LT_AC_TAGVAR(module_expsym_cmds, $1)= 1.4924 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown 1.4925 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds 1.4926 +_LT_AC_TAGVAR(no_undefined_flag, $1)= 1.4927 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= 1.4928 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no 1.4929 + 1.4930 +# Source file extension for f77 test sources. 1.4931 +ac_ext=f 1.4932 + 1.4933 +# Object file extension for compiled f77 test sources. 1.4934 +objext=o 1.4935 +_LT_AC_TAGVAR(objext, $1)=$objext 1.4936 + 1.4937 +# Code to be used in simple compile tests 1.4938 +lt_simple_compile_test_code=" subroutine t\n return\n end\n" 1.4939 + 1.4940 +# Code to be used in simple link tests 1.4941 +lt_simple_link_test_code=" program t\n end\n" 1.4942 + 1.4943 +# ltmain only uses $CC for tagged configurations so make sure $CC is set. 1.4944 +_LT_AC_SYS_COMPILER 1.4945 + 1.4946 +# save warnings/boilerplate of simple test code 1.4947 +_LT_COMPILER_BOILERPLATE 1.4948 +_LT_LINKER_BOILERPLATE 1.4949 + 1.4950 +# Allow CC to be a program name with arguments. 1.4951 +lt_save_CC="$CC" 1.4952 +CC=${F77-"f77"} 1.4953 +compiler=$CC 1.4954 +_LT_AC_TAGVAR(compiler, $1)=$CC 1.4955 +_LT_CC_BASENAME([$compiler]) 1.4956 + 1.4957 +AC_MSG_CHECKING([if libtool supports shared libraries]) 1.4958 +AC_MSG_RESULT([$can_build_shared]) 1.4959 + 1.4960 +AC_MSG_CHECKING([whether to build shared libraries]) 1.4961 +test "$can_build_shared" = "no" && enable_shared=no 1.4962 + 1.4963 +# On AIX, shared libraries and static libraries use the same namespace, and 1.4964 +# are all built from PIC. 1.4965 +case $host_os in 1.4966 +aix3*) 1.4967 + test "$enable_shared" = yes && enable_static=no 1.4968 + if test -n "$RANLIB"; then 1.4969 + archive_cmds="$archive_cmds~\$RANLIB \$lib" 1.4970 + postinstall_cmds='$RANLIB $lib' 1.4971 + fi 1.4972 + ;; 1.4973 +aix4* | aix5*) 1.4974 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 1.4975 + test "$enable_shared" = yes && enable_static=no 1.4976 + fi 1.4977 + ;; 1.4978 +esac 1.4979 +AC_MSG_RESULT([$enable_shared]) 1.4980 + 1.4981 +AC_MSG_CHECKING([whether to build static libraries]) 1.4982 +# Make sure either enable_shared or enable_static is yes. 1.4983 +test "$enable_shared" = yes || enable_static=yes 1.4984 +AC_MSG_RESULT([$enable_static]) 1.4985 + 1.4986 +_LT_AC_TAGVAR(GCC, $1)="$G77" 1.4987 +_LT_AC_TAGVAR(LD, $1)="$LD" 1.4988 + 1.4989 +AC_LIBTOOL_PROG_COMPILER_PIC($1) 1.4990 +AC_LIBTOOL_PROG_CC_C_O($1) 1.4991 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) 1.4992 +AC_LIBTOOL_PROG_LD_SHLIBS($1) 1.4993 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 1.4994 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 1.4995 + 1.4996 +AC_LIBTOOL_CONFIG($1) 1.4997 + 1.4998 +AC_LANG_POP 1.4999 +CC="$lt_save_CC" 1.5000 +])# AC_LIBTOOL_LANG_F77_CONFIG 1.5001 + 1.5002 + 1.5003 +# AC_LIBTOOL_LANG_GCJ_CONFIG 1.5004 +# -------------------------- 1.5005 +# Ensure that the configuration vars for the C compiler are 1.5006 +# suitably defined. Those variables are subsequently used by 1.5007 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. 1.5008 +AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)]) 1.5009 +AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG], 1.5010 +[AC_LANG_SAVE 1.5011 + 1.5012 +# Source file extension for Java test sources. 1.5013 +ac_ext=java 1.5014 + 1.5015 +# Object file extension for compiled Java test sources. 1.5016 +objext=o 1.5017 +_LT_AC_TAGVAR(objext, $1)=$objext 1.5018 + 1.5019 +# Code to be used in simple compile tests 1.5020 +lt_simple_compile_test_code="class foo {}\n" 1.5021 + 1.5022 +# Code to be used in simple link tests 1.5023 +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n' 1.5024 + 1.5025 +# ltmain only uses $CC for tagged configurations so make sure $CC is set. 1.5026 +_LT_AC_SYS_COMPILER 1.5027 + 1.5028 +# save warnings/boilerplate of simple test code 1.5029 +_LT_COMPILER_BOILERPLATE 1.5030 +_LT_LINKER_BOILERPLATE 1.5031 + 1.5032 +# Allow CC to be a program name with arguments. 1.5033 +lt_save_CC="$CC" 1.5034 +CC=${GCJ-"gcj"} 1.5035 +compiler=$CC 1.5036 +_LT_AC_TAGVAR(compiler, $1)=$CC 1.5037 +_LT_CC_BASENAME([$compiler]) 1.5038 + 1.5039 +# GCJ did not exist at the time GCC didn't implicitly link libc in. 1.5040 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 1.5041 + 1.5042 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds 1.5043 + 1.5044 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) 1.5045 +AC_LIBTOOL_PROG_COMPILER_PIC($1) 1.5046 +AC_LIBTOOL_PROG_CC_C_O($1) 1.5047 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) 1.5048 +AC_LIBTOOL_PROG_LD_SHLIBS($1) 1.5049 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 1.5050 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 1.5051 + 1.5052 +AC_LIBTOOL_CONFIG($1) 1.5053 + 1.5054 +AC_LANG_RESTORE 1.5055 +CC="$lt_save_CC" 1.5056 +])# AC_LIBTOOL_LANG_GCJ_CONFIG 1.5057 + 1.5058 + 1.5059 +# AC_LIBTOOL_LANG_RC_CONFIG 1.5060 +# ------------------------- 1.5061 +# Ensure that the configuration vars for the Windows resource compiler are 1.5062 +# suitably defined. Those variables are subsequently used by 1.5063 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. 1.5064 +AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)]) 1.5065 +AC_DEFUN([_LT_AC_LANG_RC_CONFIG], 1.5066 +[AC_LANG_SAVE 1.5067 + 1.5068 +# Source file extension for RC test sources. 1.5069 +ac_ext=rc 1.5070 + 1.5071 +# Object file extension for compiled RC test sources. 1.5072 +objext=o 1.5073 +_LT_AC_TAGVAR(objext, $1)=$objext 1.5074 + 1.5075 +# Code to be used in simple compile tests 1.5076 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' 1.5077 + 1.5078 +# Code to be used in simple link tests 1.5079 +lt_simple_link_test_code="$lt_simple_compile_test_code" 1.5080 + 1.5081 +# ltmain only uses $CC for tagged configurations so make sure $CC is set. 1.5082 +_LT_AC_SYS_COMPILER 1.5083 + 1.5084 +# save warnings/boilerplate of simple test code 1.5085 +_LT_COMPILER_BOILERPLATE 1.5086 +_LT_LINKER_BOILERPLATE 1.5087 + 1.5088 +# Allow CC to be a program name with arguments. 1.5089 +lt_save_CC="$CC" 1.5090 +CC=${RC-"windres"} 1.5091 +compiler=$CC 1.5092 +_LT_AC_TAGVAR(compiler, $1)=$CC 1.5093 +_LT_CC_BASENAME([$compiler]) 1.5094 +_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes 1.5095 + 1.5096 +AC_LIBTOOL_CONFIG($1) 1.5097 + 1.5098 +AC_LANG_RESTORE 1.5099 +CC="$lt_save_CC" 1.5100 +])# AC_LIBTOOL_LANG_RC_CONFIG 1.5101 + 1.5102 + 1.5103 +# AC_LIBTOOL_CONFIG([TAGNAME]) 1.5104 +# ---------------------------- 1.5105 +# If TAGNAME is not passed, then create an initial libtool script 1.5106 +# with a default configuration from the untagged config vars. Otherwise 1.5107 +# add code to config.status for appending the configuration named by 1.5108 +# TAGNAME from the matching tagged config vars. 1.5109 +AC_DEFUN([AC_LIBTOOL_CONFIG], 1.5110 +[# The else clause should only fire when bootstrapping the 1.5111 +# libtool distribution, otherwise you forgot to ship ltmain.sh 1.5112 +# with your package, and you will get complaints that there are 1.5113 +# no rules to generate ltmain.sh. 1.5114 +if test -f "$ltmain"; then 1.5115 + # See if we are running on zsh, and set the options which allow our commands through 1.5116 + # without removal of \ escapes. 1.5117 + if test -n "${ZSH_VERSION+set}" ; then 1.5118 + setopt NO_GLOB_SUBST 1.5119 + fi 1.5120 + # Now quote all the things that may contain metacharacters while being 1.5121 + # careful not to overquote the AC_SUBSTed values. We take copies of the 1.5122 + # variables and quote the copies for generation of the libtool script. 1.5123 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ 1.5124 + SED SHELL STRIP \ 1.5125 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 1.5126 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 1.5127 + deplibs_check_method reload_flag reload_cmds need_locks \ 1.5128 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 1.5129 + lt_cv_sys_global_symbol_to_c_name_address \ 1.5130 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 1.5131 + old_postinstall_cmds old_postuninstall_cmds \ 1.5132 + _LT_AC_TAGVAR(compiler, $1) \ 1.5133 + _LT_AC_TAGVAR(CC, $1) \ 1.5134 + _LT_AC_TAGVAR(LD, $1) \ 1.5135 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \ 1.5136 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \ 1.5137 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \ 1.5138 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \ 1.5139 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \ 1.5140 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \ 1.5141 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \ 1.5142 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \ 1.5143 + _LT_AC_TAGVAR(old_archive_cmds, $1) \ 1.5144 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \ 1.5145 + _LT_AC_TAGVAR(predep_objects, $1) \ 1.5146 + _LT_AC_TAGVAR(postdep_objects, $1) \ 1.5147 + _LT_AC_TAGVAR(predeps, $1) \ 1.5148 + _LT_AC_TAGVAR(postdeps, $1) \ 1.5149 + _LT_AC_TAGVAR(compiler_lib_search_path, $1) \ 1.5150 + _LT_AC_TAGVAR(archive_cmds, $1) \ 1.5151 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) \ 1.5152 + _LT_AC_TAGVAR(postinstall_cmds, $1) \ 1.5153 + _LT_AC_TAGVAR(postuninstall_cmds, $1) \ 1.5154 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \ 1.5155 + _LT_AC_TAGVAR(allow_undefined_flag, $1) \ 1.5156 + _LT_AC_TAGVAR(no_undefined_flag, $1) \ 1.5157 + _LT_AC_TAGVAR(export_symbols_cmds, $1) \ 1.5158 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \ 1.5159 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \ 1.5160 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \ 1.5161 + _LT_AC_TAGVAR(hardcode_automatic, $1) \ 1.5162 + _LT_AC_TAGVAR(module_cmds, $1) \ 1.5163 + _LT_AC_TAGVAR(module_expsym_cmds, $1) \ 1.5164 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \ 1.5165 + _LT_AC_TAGVAR(exclude_expsyms, $1) \ 1.5166 + _LT_AC_TAGVAR(include_expsyms, $1); do 1.5167 + 1.5168 + case $var in 1.5169 + _LT_AC_TAGVAR(old_archive_cmds, $1) | \ 1.5170 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \ 1.5171 + _LT_AC_TAGVAR(archive_cmds, $1) | \ 1.5172 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \ 1.5173 + _LT_AC_TAGVAR(module_cmds, $1) | \ 1.5174 + _LT_AC_TAGVAR(module_expsym_cmds, $1) | \ 1.5175 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \ 1.5176 + _LT_AC_TAGVAR(export_symbols_cmds, $1) | \ 1.5177 + extract_expsyms_cmds | reload_cmds | finish_cmds | \ 1.5178 + postinstall_cmds | postuninstall_cmds | \ 1.5179 + old_postinstall_cmds | old_postuninstall_cmds | \ 1.5180 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 1.5181 + # Double-quote double-evaled strings. 1.5182 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 1.5183 + ;; 1.5184 + *) 1.5185 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 1.5186 + ;; 1.5187 + esac 1.5188 + done 1.5189 + 1.5190 + case $lt_echo in 1.5191 + *'\[$]0 --fallback-echo"') 1.5192 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'` 1.5193 + ;; 1.5194 + esac 1.5195 + 1.5196 +ifelse([$1], [], 1.5197 + [cfgfile="${ofile}T" 1.5198 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15 1.5199 + $rm -f "$cfgfile" 1.5200 + AC_MSG_NOTICE([creating $ofile])], 1.5201 + [cfgfile="$ofile"]) 1.5202 + 1.5203 + cat <<__EOF__ >> "$cfgfile" 1.5204 +ifelse([$1], [], 1.5205 +[#! $SHELL 1.5206 + 1.5207 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 1.5208 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) 1.5209 +# NOTE: Changes made to this file will be lost: look at ltmain.sh. 1.5210 +# 1.5211 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 1.5212 +# Free Software Foundation, Inc. 1.5213 +# 1.5214 +# This file is part of GNU Libtool: 1.5215 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 1.5216 +# 1.5217 +# This program is free software; you can redistribute it and/or modify 1.5218 +# it under the terms of the GNU General Public License as published by 1.5219 +# the Free Software Foundation; either version 2 of the License, or 1.5220 +# (at your option) any later version. 1.5221 +# 1.5222 +# This program is distributed in the hope that it will be useful, but 1.5223 +# WITHOUT ANY WARRANTY; without even the implied warranty of 1.5224 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1.5225 +# General Public License for more details. 1.5226 +# 1.5227 +# You should have received a copy of the GNU General Public License 1.5228 +# along with this program; if not, write to the Free Software 1.5229 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 1.5230 +# 1.5231 +# As a special exception to the GNU General Public License, if you 1.5232 +# distribute this file as part of a program that contains a 1.5233 +# configuration script generated by Autoconf, you may include it under 1.5234 +# the same distribution terms that you use for the rest of that program. 1.5235 + 1.5236 +# A sed program that does not truncate output. 1.5237 +SED=$lt_SED 1.5238 + 1.5239 +# Sed that helps us avoid accidentally triggering echo(1) options like -n. 1.5240 +Xsed="$SED -e 1s/^X//" 1.5241 + 1.5242 +# The HP-UX ksh and POSIX shell print the target directory to stdout 1.5243 +# if CDPATH is set. 1.5244 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1.5245 + 1.5246 +# The names of the tagged configurations supported by this script. 1.5247 +available_tags= 1.5248 + 1.5249 +# ### BEGIN LIBTOOL CONFIG], 1.5250 +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) 1.5251 + 1.5252 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 1.5253 + 1.5254 +# Shell to use when invoking shell scripts. 1.5255 +SHELL=$lt_SHELL 1.5256 + 1.5257 +# Whether or not to build shared libraries. 1.5258 +build_libtool_libs=$enable_shared 1.5259 + 1.5260 +# Whether or not to build static libraries. 1.5261 +build_old_libs=$enable_static 1.5262 + 1.5263 +# Whether or not to add -lc for building shared libraries. 1.5264 +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) 1.5265 + 1.5266 +# Whether or not to disallow shared libs when runtime libs are static 1.5267 +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) 1.5268 + 1.5269 +# Whether or not to optimize for fast installation. 1.5270 +fast_install=$enable_fast_install 1.5271 + 1.5272 +# The host system. 1.5273 +host_alias=$host_alias 1.5274 +host=$host 1.5275 +host_os=$host_os 1.5276 + 1.5277 +# The build system. 1.5278 +build_alias=$build_alias 1.5279 +build=$build 1.5280 +build_os=$build_os 1.5281 + 1.5282 +# An echo program that does not interpret backslashes. 1.5283 +echo=$lt_echo 1.5284 + 1.5285 +# The archiver. 1.5286 +AR=$lt_AR 1.5287 +AR_FLAGS=$lt_AR_FLAGS 1.5288 + 1.5289 +# A C compiler. 1.5290 +LTCC=$lt_LTCC 1.5291 + 1.5292 +# LTCC compiler flags. 1.5293 +LTCFLAGS=$lt_LTCFLAGS 1.5294 + 1.5295 +# A language-specific compiler. 1.5296 +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) 1.5297 + 1.5298 +# Is the compiler the GNU C compiler? 1.5299 +with_gcc=$_LT_AC_TAGVAR(GCC, $1) 1.5300 + 1.5301 +# An ERE matcher. 1.5302 +EGREP=$lt_EGREP 1.5303 + 1.5304 +# The linker used to build libraries. 1.5305 +LD=$lt_[]_LT_AC_TAGVAR(LD, $1) 1.5306 + 1.5307 +# Whether we need hard or soft links. 1.5308 +LN_S=$lt_LN_S 1.5309 + 1.5310 +# A BSD-compatible nm program. 1.5311 +NM=$lt_NM 1.5312 + 1.5313 +# A symbol stripping program 1.5314 +STRIP=$lt_STRIP 1.5315 + 1.5316 +# Used to examine libraries when file_magic_cmd begins "file" 1.5317 +MAGIC_CMD=$MAGIC_CMD 1.5318 + 1.5319 +# Used on cygwin: DLL creation program. 1.5320 +DLLTOOL="$DLLTOOL" 1.5321 + 1.5322 +# Used on cygwin: object dumper. 1.5323 +OBJDUMP="$OBJDUMP" 1.5324 + 1.5325 +# Used on cygwin: assembler. 1.5326 +AS="$AS" 1.5327 + 1.5328 +# The name of the directory that contains temporary libtool files. 1.5329 +objdir=$objdir 1.5330 + 1.5331 +# How to create reloadable object files. 1.5332 +reload_flag=$lt_reload_flag 1.5333 +reload_cmds=$lt_reload_cmds 1.5334 + 1.5335 +# How to pass a linker flag through the compiler. 1.5336 +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) 1.5337 + 1.5338 +# Object file suffix (normally "o"). 1.5339 +objext="$ac_objext" 1.5340 + 1.5341 +# Old archive suffix (normally "a"). 1.5342 +libext="$libext" 1.5343 + 1.5344 +# Shared library suffix (normally ".so"). 1.5345 +shrext_cmds='$shrext_cmds' 1.5346 + 1.5347 +# Executable file suffix (normally ""). 1.5348 +exeext="$exeext" 1.5349 + 1.5350 +# Additional compiler flags for building library objects. 1.5351 +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) 1.5352 +pic_mode=$pic_mode 1.5353 + 1.5354 +# What is the maximum length of a command? 1.5355 +max_cmd_len=$lt_cv_sys_max_cmd_len 1.5356 + 1.5357 +# Does compiler simultaneously support -c and -o options? 1.5358 +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) 1.5359 + 1.5360 +# Must we lock files when doing compilation? 1.5361 +need_locks=$lt_need_locks 1.5362 + 1.5363 +# Do we need the lib prefix for modules? 1.5364 +need_lib_prefix=$need_lib_prefix 1.5365 + 1.5366 +# Do we need a version for libraries? 1.5367 +need_version=$need_version 1.5368 + 1.5369 +# Whether dlopen is supported. 1.5370 +dlopen_support=$enable_dlopen 1.5371 + 1.5372 +# Whether dlopen of programs is supported. 1.5373 +dlopen_self=$enable_dlopen_self 1.5374 + 1.5375 +# Whether dlopen of statically linked programs is supported. 1.5376 +dlopen_self_static=$enable_dlopen_self_static 1.5377 + 1.5378 +# Compiler flag to prevent dynamic linking. 1.5379 +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) 1.5380 + 1.5381 +# Compiler flag to turn off builtin functions. 1.5382 +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) 1.5383 + 1.5384 +# Compiler flag to allow reflexive dlopens. 1.5385 +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) 1.5386 + 1.5387 +# Compiler flag to generate shared objects directly from archives. 1.5388 +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) 1.5389 + 1.5390 +# Compiler flag to generate thread-safe objects. 1.5391 +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) 1.5392 + 1.5393 +# Library versioning type. 1.5394 +version_type=$version_type 1.5395 + 1.5396 +# Format of library name prefix. 1.5397 +libname_spec=$lt_libname_spec 1.5398 + 1.5399 +# List of archive names. First name is the real one, the rest are links. 1.5400 +# The last name is the one that the linker finds with -lNAME. 1.5401 +library_names_spec=$lt_library_names_spec 1.5402 + 1.5403 +# The coded name of the library, if different from the real name. 1.5404 +soname_spec=$lt_soname_spec 1.5405 + 1.5406 +# Commands used to build and install an old-style archive. 1.5407 +RANLIB=$lt_RANLIB 1.5408 +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) 1.5409 +old_postinstall_cmds=$lt_old_postinstall_cmds 1.5410 +old_postuninstall_cmds=$lt_old_postuninstall_cmds 1.5411 + 1.5412 +# Create an old-style archive from a shared archive. 1.5413 +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) 1.5414 + 1.5415 +# Create a temporary old-style archive to link instead of a shared archive. 1.5416 +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) 1.5417 + 1.5418 +# Commands used to build and install a shared archive. 1.5419 +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) 1.5420 +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) 1.5421 +postinstall_cmds=$lt_postinstall_cmds 1.5422 +postuninstall_cmds=$lt_postuninstall_cmds 1.5423 + 1.5424 +# Commands used to build a loadable module (assumed same as above if empty) 1.5425 +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) 1.5426 +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) 1.5427 + 1.5428 +# Commands to strip libraries. 1.5429 +old_striplib=$lt_old_striplib 1.5430 +striplib=$lt_striplib 1.5431 + 1.5432 +# Dependencies to place before the objects being linked to create a 1.5433 +# shared library. 1.5434 +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) 1.5435 + 1.5436 +# Dependencies to place after the objects being linked to create a 1.5437 +# shared library. 1.5438 +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) 1.5439 + 1.5440 +# Dependencies to place before the objects being linked to create a 1.5441 +# shared library. 1.5442 +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) 1.5443 + 1.5444 +# Dependencies to place after the objects being linked to create a 1.5445 +# shared library. 1.5446 +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) 1.5447 + 1.5448 +# The library search path used internally by the compiler when linking 1.5449 +# a shared library. 1.5450 +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) 1.5451 + 1.5452 +# Method to check whether dependent libraries are shared objects. 1.5453 +deplibs_check_method=$lt_deplibs_check_method 1.5454 + 1.5455 +# Command to use when deplibs_check_method == file_magic. 1.5456 +file_magic_cmd=$lt_file_magic_cmd 1.5457 + 1.5458 +# Flag that allows shared libraries with undefined symbols to be built. 1.5459 +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) 1.5460 + 1.5461 +# Flag that forces no undefined symbols. 1.5462 +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) 1.5463 + 1.5464 +# Commands used to finish a libtool library installation in a directory. 1.5465 +finish_cmds=$lt_finish_cmds 1.5466 + 1.5467 +# Same as above, but a single script fragment to be evaled but not shown. 1.5468 +finish_eval=$lt_finish_eval 1.5469 + 1.5470 +# Take the output of nm and produce a listing of raw symbols and C names. 1.5471 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 1.5472 + 1.5473 +# Transform the output of nm in a proper C declaration 1.5474 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 1.5475 + 1.5476 +# Transform the output of nm in a C name address pair 1.5477 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 1.5478 + 1.5479 +# This is the shared library runtime path variable. 1.5480 +runpath_var=$runpath_var 1.5481 + 1.5482 +# This is the shared library path variable. 1.5483 +shlibpath_var=$shlibpath_var 1.5484 + 1.5485 +# Is shlibpath searched before the hard-coded library search path? 1.5486 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath 1.5487 + 1.5488 +# How to hardcode a shared library path into an executable. 1.5489 +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) 1.5490 + 1.5491 +# Whether we should hardcode library paths into libraries. 1.5492 +hardcode_into_libs=$hardcode_into_libs 1.5493 + 1.5494 +# Flag to hardcode \$libdir into a binary during linking. 1.5495 +# This must work even if \$libdir does not exist. 1.5496 +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) 1.5497 + 1.5498 +# If ld is used when linking, flag to hardcode \$libdir into 1.5499 +# a binary during linking. This must work even if \$libdir does 1.5500 +# not exist. 1.5501 +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) 1.5502 + 1.5503 +# Whether we need a single -rpath flag with a separated argument. 1.5504 +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) 1.5505 + 1.5506 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the 1.5507 +# resulting binary. 1.5508 +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) 1.5509 + 1.5510 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the 1.5511 +# resulting binary. 1.5512 +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) 1.5513 + 1.5514 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 1.5515 +# the resulting binary. 1.5516 +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) 1.5517 + 1.5518 +# Set to yes if building a shared library automatically hardcodes DIR into the library 1.5519 +# and all subsequent libraries and executables linked against it. 1.5520 +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) 1.5521 + 1.5522 +# Variables whose values should be saved in libtool wrapper scripts and 1.5523 +# restored at relink time. 1.5524 +variables_saved_for_relink="$variables_saved_for_relink" 1.5525 + 1.5526 +# Whether libtool must link a program against all its dependency libraries. 1.5527 +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) 1.5528 + 1.5529 +# Compile-time system search path for libraries 1.5530 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 1.5531 + 1.5532 +# Run-time system search path for libraries 1.5533 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 1.5534 + 1.5535 +# Fix the shell variable \$srcfile for the compiler. 1.5536 +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" 1.5537 + 1.5538 +# Set to yes if exported symbols are required. 1.5539 +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) 1.5540 + 1.5541 +# The commands to list exported symbols. 1.5542 +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) 1.5543 + 1.5544 +# The commands to extract the exported symbol list from a shared archive. 1.5545 +extract_expsyms_cmds=$lt_extract_expsyms_cmds 1.5546 + 1.5547 +# Symbols that should not be listed in the preloaded symbols. 1.5548 +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) 1.5549 + 1.5550 +# Symbols that must always be exported. 1.5551 +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) 1.5552 + 1.5553 +ifelse([$1],[], 1.5554 +[# ### END LIBTOOL CONFIG], 1.5555 +[# ### END LIBTOOL TAG CONFIG: $tagname]) 1.5556 + 1.5557 +__EOF__ 1.5558 + 1.5559 +ifelse([$1],[], [ 1.5560 + case $host_os in 1.5561 + aix3*) 1.5562 + cat <<\EOF >> "$cfgfile" 1.5563 + 1.5564 +# AIX sometimes has problems with the GCC collect2 program. For some 1.5565 +# reason, if we set the COLLECT_NAMES environment variable, the problems 1.5566 +# vanish in a puff of smoke. 1.5567 +if test "X${COLLECT_NAMES+set}" != Xset; then 1.5568 + COLLECT_NAMES= 1.5569 + export COLLECT_NAMES 1.5570 +fi 1.5571 +EOF 1.5572 + ;; 1.5573 + esac 1.5574 + 1.5575 + # We use sed instead of cat because bash on DJGPP gets confused if 1.5576 + # if finds mixed CR/LF and LF-only lines. Since sed operates in 1.5577 + # text mode, it properly converts lines to CR/LF. This bash problem 1.5578 + # is reportedly fixed, but why not run on old versions too? 1.5579 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) 1.5580 + 1.5581 + mv -f "$cfgfile" "$ofile" || \ 1.5582 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 1.5583 + chmod +x "$ofile" 1.5584 +]) 1.5585 +else 1.5586 + # If there is no Makefile yet, we rely on a make rule to execute 1.5587 + # `config.status --recheck' to rerun these tests and create the 1.5588 + # libtool script then. 1.5589 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 1.5590 + if test -f "$ltmain_in"; then 1.5591 + test -f Makefile && make "$ltmain" 1.5592 + fi 1.5593 +fi 1.5594 +])# AC_LIBTOOL_CONFIG 1.5595 + 1.5596 + 1.5597 +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) 1.5598 +# ------------------------------------------- 1.5599 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], 1.5600 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 1.5601 + 1.5602 +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= 1.5603 + 1.5604 +if test "$GCC" = yes; then 1.5605 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' 1.5606 + 1.5607 + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], 1.5608 + lt_cv_prog_compiler_rtti_exceptions, 1.5609 + [-fno-rtti -fno-exceptions], [], 1.5610 + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) 1.5611 +fi 1.5612 +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI 1.5613 + 1.5614 + 1.5615 +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE 1.5616 +# --------------------------------- 1.5617 +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], 1.5618 +[AC_REQUIRE([AC_CANONICAL_HOST]) 1.5619 +AC_REQUIRE([AC_PROG_NM]) 1.5620 +AC_REQUIRE([AC_OBJEXT]) 1.5621 +# Check for command to grab the raw symbol name followed by C symbol from nm. 1.5622 +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) 1.5623 +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], 1.5624 +[ 1.5625 +# These are sane defaults that work on at least a few old systems. 1.5626 +# [They come from Ultrix. What could be older than Ultrix?!! ;)] 1.5627 + 1.5628 +# Character class describing NM global symbol codes. 1.5629 +symcode='[[BCDEGRST]]' 1.5630 + 1.5631 +# Regexp to match symbols that can be accessed directly from C. 1.5632 +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' 1.5633 + 1.5634 +# Transform an extracted symbol line into a proper C declaration 1.5635 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" 1.5636 + 1.5637 +# Transform an extracted symbol line into symbol name and symbol address 1.5638 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" 1.5639 + 1.5640 +# Define system-specific variables. 1.5641 +case $host_os in 1.5642 +aix*) 1.5643 + symcode='[[BCDT]]' 1.5644 + ;; 1.5645 +cygwin* | mingw* | pw32*) 1.5646 + symcode='[[ABCDGISTW]]' 1.5647 + ;; 1.5648 +hpux*) # Its linker distinguishes data from code symbols 1.5649 + if test "$host_cpu" = ia64; then 1.5650 + symcode='[[ABCDEGRST]]' 1.5651 + fi 1.5652 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 1.5653 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" 1.5654 + ;; 1.5655 +linux*) 1.5656 + if test "$host_cpu" = ia64; then 1.5657 + symcode='[[ABCDGIRSTW]]' 1.5658 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 1.5659 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" 1.5660 + fi 1.5661 + ;; 1.5662 +irix* | nonstopux*) 1.5663 + symcode='[[BCDEGRST]]' 1.5664 + ;; 1.5665 +osf*) 1.5666 + symcode='[[BCDEGQRST]]' 1.5667 + ;; 1.5668 +solaris*) 1.5669 + symcode='[[BDRT]]' 1.5670 + ;; 1.5671 +sco3.2v5*) 1.5672 + symcode='[[DT]]' 1.5673 + ;; 1.5674 +sysv4.2uw2*) 1.5675 + symcode='[[DT]]' 1.5676 + ;; 1.5677 +sysv5* | sco5v6* | unixware* | OpenUNIX*) 1.5678 + symcode='[[ABDT]]' 1.5679 + ;; 1.5680 +sysv4) 1.5681 + symcode='[[DFNSTU]]' 1.5682 + ;; 1.5683 +esac 1.5684 + 1.5685 +# Handle CRLF in mingw tool chain 1.5686 +opt_cr= 1.5687 +case $build_os in 1.5688 +mingw*) 1.5689 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp 1.5690 + ;; 1.5691 +esac 1.5692 + 1.5693 +# If we're using GNU nm, then use its standard symbol codes. 1.5694 +case `$NM -V 2>&1` in 1.5695 +*GNU* | *'with BFD'*) 1.5696 + symcode='[[ABCDGIRSTW]]' ;; 1.5697 +esac 1.5698 + 1.5699 +# Try without a prefix undercore, then with it. 1.5700 +for ac_symprfx in "" "_"; do 1.5701 + 1.5702 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 1.5703 + symxfrm="\\1 $ac_symprfx\\2 \\2" 1.5704 + 1.5705 + # Write the raw and C identifiers. 1.5706 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 1.5707 + 1.5708 + # Check to see that the pipe works correctly. 1.5709 + pipe_works=no 1.5710 + 1.5711 + rm -f conftest* 1.5712 + cat > conftest.$ac_ext <<EOF 1.5713 +#ifdef __cplusplus 1.5714 +extern "C" { 1.5715 +#endif 1.5716 +char nm_test_var; 1.5717 +void nm_test_func(){} 1.5718 +#ifdef __cplusplus 1.5719 +} 1.5720 +#endif 1.5721 +int main(){nm_test_var='a';nm_test_func();return(0);} 1.5722 +EOF 1.5723 + 1.5724 + if AC_TRY_EVAL(ac_compile); then 1.5725 + # Now try to grab the symbols. 1.5726 + nlist=conftest.nm 1.5727 + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then 1.5728 + # Try sorting and uniquifying the output. 1.5729 + if sort "$nlist" | uniq > "$nlist"T; then 1.5730 + mv -f "$nlist"T "$nlist" 1.5731 + else 1.5732 + rm -f "$nlist"T 1.5733 + fi 1.5734 + 1.5735 + # Make sure that we snagged all the symbols we need. 1.5736 + if grep ' nm_test_var$' "$nlist" >/dev/null; then 1.5737 + if grep ' nm_test_func$' "$nlist" >/dev/null; then 1.5738 + cat <<EOF > conftest.$ac_ext 1.5739 +#ifdef __cplusplus 1.5740 +extern "C" { 1.5741 +#endif 1.5742 + 1.5743 +EOF 1.5744 + # Now generate the symbol file. 1.5745 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' 1.5746 + 1.5747 + cat <<EOF >> conftest.$ac_ext 1.5748 +#if defined (__STDC__) && __STDC__ 1.5749 +# define lt_ptr_t void * 1.5750 +#else 1.5751 +# define lt_ptr_t char * 1.5752 +# define const 1.5753 +#endif 1.5754 + 1.5755 +/* The mapping between symbol names and symbols. */ 1.5756 +const struct { 1.5757 + const char *name; 1.5758 + lt_ptr_t address; 1.5759 +} 1.5760 +lt_preloaded_symbols[[]] = 1.5761 +{ 1.5762 +EOF 1.5763 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext 1.5764 + cat <<\EOF >> conftest.$ac_ext 1.5765 + {0, (lt_ptr_t) 0} 1.5766 +}; 1.5767 + 1.5768 +#ifdef __cplusplus 1.5769 +} 1.5770 +#endif 1.5771 +EOF 1.5772 + # Now try linking the two files. 1.5773 + mv conftest.$ac_objext conftstm.$ac_objext 1.5774 + lt_save_LIBS="$LIBS" 1.5775 + lt_save_CFLAGS="$CFLAGS" 1.5776 + LIBS="conftstm.$ac_objext" 1.5777 + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" 1.5778 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then 1.5779 + pipe_works=yes 1.5780 + fi 1.5781 + LIBS="$lt_save_LIBS" 1.5782 + CFLAGS="$lt_save_CFLAGS" 1.5783 + else 1.5784 + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD 1.5785 + fi 1.5786 + else 1.5787 + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD 1.5788 + fi 1.5789 + else 1.5790 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD 1.5791 + fi 1.5792 + else 1.5793 + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD 1.5794 + cat conftest.$ac_ext >&5 1.5795 + fi 1.5796 + rm -f conftest* conftst* 1.5797 + 1.5798 + # Do not use the global_symbol_pipe unless it works. 1.5799 + if test "$pipe_works" = yes; then 1.5800 + break 1.5801 + else 1.5802 + lt_cv_sys_global_symbol_pipe= 1.5803 + fi 1.5804 +done 1.5805 +]) 1.5806 +if test -z "$lt_cv_sys_global_symbol_pipe"; then 1.5807 + lt_cv_sys_global_symbol_to_cdecl= 1.5808 +fi 1.5809 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 1.5810 + AC_MSG_RESULT(failed) 1.5811 +else 1.5812 + AC_MSG_RESULT(ok) 1.5813 +fi 1.5814 +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE 1.5815 + 1.5816 + 1.5817 +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) 1.5818 +# --------------------------------------- 1.5819 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], 1.5820 +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= 1.5821 +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= 1.5822 +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= 1.5823 + 1.5824 +AC_MSG_CHECKING([for $compiler option to produce PIC]) 1.5825 + ifelse([$1],[CXX],[ 1.5826 + # C++ specific cases for pic, static, wl, etc. 1.5827 + if test "$GXX" = yes; then 1.5828 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.5829 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' 1.5830 + 1.5831 + case $host_os in 1.5832 + aix*) 1.5833 + # All AIX code is PIC. 1.5834 + if test "$host_cpu" = ia64; then 1.5835 + # AIX 5 now supports IA64 processor 1.5836 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 1.5837 + fi 1.5838 + ;; 1.5839 + amigaos*) 1.5840 + # FIXME: we need at least 68020 code to build shared libraries, but 1.5841 + # adding the `-m68020' flag to GCC prevents building anything better, 1.5842 + # like `-m68040'. 1.5843 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' 1.5844 + ;; 1.5845 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 1.5846 + # PIC is the default for these OSes. 1.5847 + ;; 1.5848 + mingw* | os2* | pw32*) 1.5849 + # This hack is so that the source file can tell whether it is being 1.5850 + # built for inclusion in a dll (and should export symbols for example). 1.5851 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' 1.5852 + ;; 1.5853 + darwin* | rhapsody*) 1.5854 + # PIC is the default on this platform 1.5855 + # Common symbols not allowed in MH_DYLIB files 1.5856 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' 1.5857 + ;; 1.5858 + *djgpp*) 1.5859 + # DJGPP does not support shared libraries at all 1.5860 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= 1.5861 + ;; 1.5862 + interix3*) 1.5863 + # Interix 3.x gcc -fpic/-fPIC options generate broken code. 1.5864 + # Instead, we relocate shared libraries at runtime. 1.5865 + ;; 1.5866 + sysv4*MP*) 1.5867 + if test -d /usr/nec; then 1.5868 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic 1.5869 + fi 1.5870 + ;; 1.5871 + hpux*) 1.5872 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 1.5873 + # not for PA HP-UX. 1.5874 + case $host_cpu in 1.5875 + hppa*64*|ia64*) 1.5876 + ;; 1.5877 + *) 1.5878 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 1.5879 + ;; 1.5880 + esac 1.5881 + ;; 1.5882 + *) 1.5883 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 1.5884 + ;; 1.5885 + esac 1.5886 + else 1.5887 + case $host_os in 1.5888 + aix4* | aix5*) 1.5889 + # All AIX code is PIC. 1.5890 + if test "$host_cpu" = ia64; then 1.5891 + # AIX 5 now supports IA64 processor 1.5892 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 1.5893 + else 1.5894 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' 1.5895 + fi 1.5896 + ;; 1.5897 + chorus*) 1.5898 + case $cc_basename in 1.5899 + cxch68*) 1.5900 + # Green Hills C++ Compiler 1.5901 + # _LT_AC_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" 1.5902 + ;; 1.5903 + esac 1.5904 + ;; 1.5905 + darwin*) 1.5906 + # PIC is the default on this platform 1.5907 + # Common symbols not allowed in MH_DYLIB files 1.5908 + case $cc_basename in 1.5909 + xlc*) 1.5910 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' 1.5911 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.5912 + ;; 1.5913 + esac 1.5914 + ;; 1.5915 + dgux*) 1.5916 + case $cc_basename in 1.5917 + ec++*) 1.5918 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 1.5919 + ;; 1.5920 + ghcx*) 1.5921 + # Green Hills C++ Compiler 1.5922 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' 1.5923 + ;; 1.5924 + *) 1.5925 + ;; 1.5926 + esac 1.5927 + ;; 1.5928 + freebsd* | kfreebsd*-gnu | dragonfly*) 1.5929 + # FreeBSD uses GNU C++ 1.5930 + ;; 1.5931 + hpux9* | hpux10* | hpux11*) 1.5932 + case $cc_basename in 1.5933 + CC*) 1.5934 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.5935 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' 1.5936 + if test "$host_cpu" != ia64; then 1.5937 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' 1.5938 + fi 1.5939 + ;; 1.5940 + aCC*) 1.5941 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.5942 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' 1.5943 + case $host_cpu in 1.5944 + hppa*64*|ia64*) 1.5945 + # +Z the default 1.5946 + ;; 1.5947 + *) 1.5948 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' 1.5949 + ;; 1.5950 + esac 1.5951 + ;; 1.5952 + *) 1.5953 + ;; 1.5954 + esac 1.5955 + ;; 1.5956 + interix*) 1.5957 + # This is c89, which is MS Visual C++ (no shared libs) 1.5958 + # Anyone wants to do a port? 1.5959 + ;; 1.5960 + irix5* | irix6* | nonstopux*) 1.5961 + case $cc_basename in 1.5962 + CC*) 1.5963 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.5964 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 1.5965 + # CC pic flag -KPIC is the default. 1.5966 + ;; 1.5967 + *) 1.5968 + ;; 1.5969 + esac 1.5970 + ;; 1.5971 + linux*) 1.5972 + case $cc_basename in 1.5973 + KCC*) 1.5974 + # KAI C++ Compiler 1.5975 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' 1.5976 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 1.5977 + ;; 1.5978 + icpc* | ecpc*) 1.5979 + # Intel C++ 1.5980 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.5981 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 1.5982 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' 1.5983 + ;; 1.5984 + pgCC*) 1.5985 + # Portland Group C++ compiler. 1.5986 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.5987 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' 1.5988 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 1.5989 + ;; 1.5990 + cxx*) 1.5991 + # Compaq C++ 1.5992 + # Make sure the PIC flag is empty. It appears that all Alpha 1.5993 + # Linux and Compaq Tru64 Unix objects are PIC. 1.5994 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= 1.5995 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 1.5996 + ;; 1.5997 + *) 1.5998 + ;; 1.5999 + esac 1.6000 + ;; 1.6001 + lynxos*) 1.6002 + ;; 1.6003 + m88k*) 1.6004 + ;; 1.6005 + mvs*) 1.6006 + case $cc_basename in 1.6007 + cxx*) 1.6008 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' 1.6009 + ;; 1.6010 + *) 1.6011 + ;; 1.6012 + esac 1.6013 + ;; 1.6014 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu) 1.6015 + ;; 1.6016 + osf3* | osf4* | osf5*) 1.6017 + case $cc_basename in 1.6018 + KCC*) 1.6019 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' 1.6020 + ;; 1.6021 + RCC*) 1.6022 + # Rational C++ 2.4.1 1.6023 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' 1.6024 + ;; 1.6025 + cxx*) 1.6026 + # Digital/Compaq C++ 1.6027 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.6028 + # Make sure the PIC flag is empty. It appears that all Alpha 1.6029 + # Linux and Compaq Tru64 Unix objects are PIC. 1.6030 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= 1.6031 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 1.6032 + ;; 1.6033 + *) 1.6034 + ;; 1.6035 + esac 1.6036 + ;; 1.6037 + psos*) 1.6038 + ;; 1.6039 + solaris*) 1.6040 + case $cc_basename in 1.6041 + CC*) 1.6042 + # Sun C++ 4.2, 5.x and Centerline C++ 1.6043 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 1.6044 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 1.6045 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' 1.6046 + ;; 1.6047 + gcx*) 1.6048 + # Green Hills C++ Compiler 1.6049 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' 1.6050 + ;; 1.6051 + *) 1.6052 + ;; 1.6053 + esac 1.6054 + ;; 1.6055 + sunos4*) 1.6056 + case $cc_basename in 1.6057 + CC*) 1.6058 + # Sun C++ 4.x 1.6059 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' 1.6060 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 1.6061 + ;; 1.6062 + lcc*) 1.6063 + # Lucid 1.6064 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' 1.6065 + ;; 1.6066 + *) 1.6067 + ;; 1.6068 + esac 1.6069 + ;; 1.6070 + tandem*) 1.6071 + case $cc_basename in 1.6072 + NCC*) 1.6073 + # NonStop-UX NCC 3.20 1.6074 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 1.6075 + ;; 1.6076 + *) 1.6077 + ;; 1.6078 + esac 1.6079 + ;; 1.6080 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 1.6081 + case $cc_basename in 1.6082 + CC*) 1.6083 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.6084 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 1.6085 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 1.6086 + ;; 1.6087 + esac 1.6088 + ;; 1.6089 + vxworks*) 1.6090 + ;; 1.6091 + *) 1.6092 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no 1.6093 + ;; 1.6094 + esac 1.6095 + fi 1.6096 +], 1.6097 +[ 1.6098 + if test "$GCC" = yes; then 1.6099 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.6100 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' 1.6101 + 1.6102 + case $host_os in 1.6103 + aix*) 1.6104 + # All AIX code is PIC. 1.6105 + if test "$host_cpu" = ia64; then 1.6106 + # AIX 5 now supports IA64 processor 1.6107 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 1.6108 + fi 1.6109 + ;; 1.6110 + 1.6111 + amigaos*) 1.6112 + # FIXME: we need at least 68020 code to build shared libraries, but 1.6113 + # adding the `-m68020' flag to GCC prevents building anything better, 1.6114 + # like `-m68040'. 1.6115 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' 1.6116 + ;; 1.6117 + 1.6118 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 1.6119 + # PIC is the default for these OSes. 1.6120 + ;; 1.6121 + 1.6122 + mingw* | pw32* | os2*) 1.6123 + # This hack is so that the source file can tell whether it is being 1.6124 + # built for inclusion in a dll (and should export symbols for example). 1.6125 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' 1.6126 + ;; 1.6127 + 1.6128 + darwin* | rhapsody*) 1.6129 + # PIC is the default on this platform 1.6130 + # Common symbols not allowed in MH_DYLIB files 1.6131 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' 1.6132 + ;; 1.6133 + 1.6134 + interix3*) 1.6135 + # Interix 3.x gcc -fpic/-fPIC options generate broken code. 1.6136 + # Instead, we relocate shared libraries at runtime. 1.6137 + ;; 1.6138 + 1.6139 + msdosdjgpp*) 1.6140 + # Just because we use GCC doesn't mean we suddenly get shared libraries 1.6141 + # on systems that don't support them. 1.6142 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no 1.6143 + enable_shared=no 1.6144 + ;; 1.6145 + 1.6146 + sysv4*MP*) 1.6147 + if test -d /usr/nec; then 1.6148 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic 1.6149 + fi 1.6150 + ;; 1.6151 + 1.6152 + hpux*) 1.6153 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 1.6154 + # not for PA HP-UX. 1.6155 + case $host_cpu in 1.6156 + hppa*64*|ia64*) 1.6157 + # +Z the default 1.6158 + ;; 1.6159 + *) 1.6160 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 1.6161 + ;; 1.6162 + esac 1.6163 + ;; 1.6164 + 1.6165 + *) 1.6166 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 1.6167 + ;; 1.6168 + esac 1.6169 + else 1.6170 + # PORTME Check for flag to pass linker flags through the system compiler. 1.6171 + case $host_os in 1.6172 + aix*) 1.6173 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.6174 + if test "$host_cpu" = ia64; then 1.6175 + # AIX 5 now supports IA64 processor 1.6176 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 1.6177 + else 1.6178 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' 1.6179 + fi 1.6180 + ;; 1.6181 + darwin*) 1.6182 + # PIC is the default on this platform 1.6183 + # Common symbols not allowed in MH_DYLIB files 1.6184 + case $cc_basename in 1.6185 + xlc*) 1.6186 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' 1.6187 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.6188 + ;; 1.6189 + esac 1.6190 + ;; 1.6191 + 1.6192 + mingw* | pw32* | os2*) 1.6193 + # This hack is so that the source file can tell whether it is being 1.6194 + # built for inclusion in a dll (and should export symbols for example). 1.6195 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' 1.6196 + ;; 1.6197 + 1.6198 + hpux9* | hpux10* | hpux11*) 1.6199 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.6200 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 1.6201 + # not for PA HP-UX. 1.6202 + case $host_cpu in 1.6203 + hppa*64*|ia64*) 1.6204 + # +Z the default 1.6205 + ;; 1.6206 + *) 1.6207 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' 1.6208 + ;; 1.6209 + esac 1.6210 + # Is there a better lt_prog_compiler_static that works with the bundled CC? 1.6211 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' 1.6212 + ;; 1.6213 + 1.6214 + irix5* | irix6* | nonstopux*) 1.6215 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.6216 + # PIC (with -KPIC) is the default. 1.6217 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 1.6218 + ;; 1.6219 + 1.6220 + newsos6) 1.6221 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 1.6222 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 1.6223 + ;; 1.6224 + 1.6225 + linux*) 1.6226 + case $cc_basename in 1.6227 + icc* | ecc*) 1.6228 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.6229 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 1.6230 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' 1.6231 + ;; 1.6232 + pgcc* | pgf77* | pgf90* | pgf95*) 1.6233 + # Portland Group compilers (*not* the Pentium gcc compiler, 1.6234 + # which looks to be a dead project) 1.6235 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.6236 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' 1.6237 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 1.6238 + ;; 1.6239 + ccc*) 1.6240 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.6241 + # All Alpha code is PIC. 1.6242 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 1.6243 + ;; 1.6244 + esac 1.6245 + ;; 1.6246 + 1.6247 + osf3* | osf4* | osf5*) 1.6248 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.6249 + # All OSF/1 code is PIC. 1.6250 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 1.6251 + ;; 1.6252 + 1.6253 + solaris*) 1.6254 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 1.6255 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 1.6256 + case $cc_basename in 1.6257 + f77* | f90* | f95*) 1.6258 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; 1.6259 + *) 1.6260 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; 1.6261 + esac 1.6262 + ;; 1.6263 + 1.6264 + sunos4*) 1.6265 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' 1.6266 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' 1.6267 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 1.6268 + ;; 1.6269 + 1.6270 + sysv4 | sysv4.2uw2* | sysv4.3*) 1.6271 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.6272 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 1.6273 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 1.6274 + ;; 1.6275 + 1.6276 + sysv4*MP*) 1.6277 + if test -d /usr/nec ;then 1.6278 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' 1.6279 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 1.6280 + fi 1.6281 + ;; 1.6282 + 1.6283 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 1.6284 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.6285 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 1.6286 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 1.6287 + ;; 1.6288 + 1.6289 + unicos*) 1.6290 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 1.6291 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no 1.6292 + ;; 1.6293 + 1.6294 + uts4*) 1.6295 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' 1.6296 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 1.6297 + ;; 1.6298 + 1.6299 + *) 1.6300 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no 1.6301 + ;; 1.6302 + esac 1.6303 + fi 1.6304 +]) 1.6305 +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) 1.6306 + 1.6307 +# 1.6308 +# Check to make sure the PIC flag actually works. 1.6309 +# 1.6310 +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then 1.6311 + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], 1.6312 + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), 1.6313 + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], 1.6314 + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in 1.6315 + "" | " "*) ;; 1.6316 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; 1.6317 + esac], 1.6318 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= 1.6319 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) 1.6320 +fi 1.6321 +case $host_os in 1.6322 + # For platforms which do not support PIC, -DPIC is meaningless: 1.6323 + *djgpp*) 1.6324 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= 1.6325 + ;; 1.6326 + *) 1.6327 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" 1.6328 + ;; 1.6329 +esac 1.6330 + 1.6331 +# 1.6332 +# Check to make sure the static flag actually works. 1.6333 +# 1.6334 +wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" 1.6335 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], 1.6336 + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), 1.6337 + $lt_tmp_static_flag, 1.6338 + [], 1.6339 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) 1.6340 +]) 1.6341 + 1.6342 + 1.6343 +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) 1.6344 +# ------------------------------------ 1.6345 +# See if the linker supports building shared libraries. 1.6346 +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], 1.6347 +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) 1.6348 +ifelse([$1],[CXX],[ 1.6349 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 1.6350 + case $host_os in 1.6351 + aix4* | aix5*) 1.6352 + # If we're using GNU nm, then we don't want the "-C" option. 1.6353 + # -C means demangle to AIX nm, but means don't demangle with GNU nm 1.6354 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 1.6355 + _LT_AC_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' 1.6356 + else 1.6357 + _LT_AC_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' 1.6358 + fi 1.6359 + ;; 1.6360 + pw32*) 1.6361 + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" 1.6362 + ;; 1.6363 + cygwin* | mingw*) 1.6364 + _LT_AC_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' 1.6365 + ;; 1.6366 + kfreebsd*-gnu) 1.6367 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no 1.6368 + ;; 1.6369 + linux*) 1.6370 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no 1.6371 + ;; 1.6372 + *) 1.6373 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 1.6374 + ;; 1.6375 + esac 1.6376 +],[ 1.6377 + runpath_var= 1.6378 + _LT_AC_TAGVAR(allow_undefined_flag, $1)= 1.6379 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no 1.6380 + _LT_AC_TAGVAR(archive_cmds, $1)= 1.6381 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)= 1.6382 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= 1.6383 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= 1.6384 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= 1.6385 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= 1.6386 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= 1.6387 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= 1.6388 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= 1.6389 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= 1.6390 + _LT_AC_TAGVAR(hardcode_direct, $1)=no 1.6391 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no 1.6392 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 1.6393 + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown 1.6394 + _LT_AC_TAGVAR(hardcode_automatic, $1)=no 1.6395 + _LT_AC_TAGVAR(module_cmds, $1)= 1.6396 + _LT_AC_TAGVAR(module_expsym_cmds, $1)= 1.6397 + _LT_AC_TAGVAR(always_export_symbols, $1)=no 1.6398 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 1.6399 + # include_expsyms should be a list of space-separated symbols to be *always* 1.6400 + # included in the symbol list 1.6401 + _LT_AC_TAGVAR(include_expsyms, $1)= 1.6402 + # exclude_expsyms can be an extended regexp of symbols to exclude 1.6403 + # it will be wrapped by ` (' and `)$', so one must not match beginning or 1.6404 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 1.6405 + # as well as any symbol that contains `d'. 1.6406 + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" 1.6407 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 1.6408 + # platforms (ab)use it in PIC code, but their linkers get confused if 1.6409 + # the symbol is explicitly referenced. Since portable code cannot 1.6410 + # rely on this symbol name, it's probably fine to never include it in 1.6411 + # preloaded symbol tables. 1.6412 + extract_expsyms_cmds= 1.6413 + # Just being paranoid about ensuring that cc_basename is set. 1.6414 + _LT_CC_BASENAME([$compiler]) 1.6415 + case $host_os in 1.6416 + cygwin* | mingw* | pw32*) 1.6417 + # FIXME: the MSVC++ port hasn't been tested in a loooong time 1.6418 + # When not using gcc, we currently assume that we are using 1.6419 + # Microsoft Visual C++. 1.6420 + if test "$GCC" != yes; then 1.6421 + with_gnu_ld=no 1.6422 + fi 1.6423 + ;; 1.6424 + interix*) 1.6425 + # we just hope/assume this is gcc and not c89 (= MSVC++) 1.6426 + with_gnu_ld=yes 1.6427 + ;; 1.6428 + openbsd*) 1.6429 + with_gnu_ld=no 1.6430 + ;; 1.6431 + esac 1.6432 + 1.6433 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes 1.6434 + if test "$with_gnu_ld" = yes; then 1.6435 + # If archive_cmds runs LD, not CC, wlarc should be empty 1.6436 + wlarc='${wl}' 1.6437 + 1.6438 + # Set some defaults for GNU ld with shared library support. These 1.6439 + # are reset later if shared libraries are not supported. Putting them 1.6440 + # here allows them to be overridden if necessary. 1.6441 + runpath_var=LD_RUN_PATH 1.6442 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' 1.6443 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 1.6444 + # ancient GNU ld didn't support --whole-archive et. al. 1.6445 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then 1.6446 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 1.6447 + else 1.6448 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= 1.6449 + fi 1.6450 + supports_anon_versioning=no 1.6451 + case `$LD -v 2>/dev/null` in 1.6452 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 1.6453 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 1.6454 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 1.6455 + *\ 2.11.*) ;; # other 2.11 versions 1.6456 + *) supports_anon_versioning=yes ;; 1.6457 + esac 1.6458 + 1.6459 + # See if GNU ld supports shared libraries. 1.6460 + case $host_os in 1.6461 + aix3* | aix4* | aix5*) 1.6462 + # On AIX/PPC, the GNU linker is very broken 1.6463 + if test "$host_cpu" != ia64; then 1.6464 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.6465 + cat <<EOF 1>&2 1.6466 + 1.6467 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported 1.6468 +*** to be unable to reliably create shared libraries on AIX. 1.6469 +*** Therefore, libtool is disabling shared libraries support. If you 1.6470 +*** really care for shared libraries, you may want to modify your PATH 1.6471 +*** so that a non-GNU linker is found, and then restart. 1.6472 + 1.6473 +EOF 1.6474 + fi 1.6475 + ;; 1.6476 + 1.6477 + amigaos*) 1.6478 + _LT_AC_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)' 1.6479 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 1.6480 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 1.6481 + 1.6482 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports 1.6483 + # that the semantics of dynamic libraries on AmigaOS, at least up 1.6484 + # to version 4, is to share data among multiple programs linked 1.6485 + # with the same dynamic library. Since this doesn't match the 1.6486 + # behavior of shared libraries on other platforms, we can't use 1.6487 + # them. 1.6488 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.6489 + ;; 1.6490 + 1.6491 + beos*) 1.6492 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 1.6493 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported 1.6494 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 1.6495 + # support --undefined. This deserves some investigation. FIXME 1.6496 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.6497 + else 1.6498 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.6499 + fi 1.6500 + ;; 1.6501 + 1.6502 + cygwin* | mingw* | pw32*) 1.6503 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, 1.6504 + # as there is no search path for DLLs. 1.6505 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 1.6506 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported 1.6507 + _LT_AC_TAGVAR(always_export_symbols, $1)=no 1.6508 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes 1.6509 + _LT_AC_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' 1.6510 + 1.6511 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 1.6512 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 1.6513 + # If the export-symbols file already is a .def file (1st line 1.6514 + # is EXPORTS), use it as is; otherwise, prepend... 1.6515 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 1.6516 + cp $export_symbols $output_objdir/$soname.def; 1.6517 + else 1.6518 + echo EXPORTS > $output_objdir/$soname.def; 1.6519 + cat $export_symbols >> $output_objdir/$soname.def; 1.6520 + fi~ 1.6521 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 1.6522 + else 1.6523 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.6524 + fi 1.6525 + ;; 1.6526 + 1.6527 + interix3*) 1.6528 + _LT_AC_TAGVAR(hardcode_direct, $1)=no 1.6529 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.6530 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 1.6531 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 1.6532 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 1.6533 + # Instead, shared libraries are loaded at an image base (0x10000000 by 1.6534 + # default) and relocated if they conflict, which is a slow very memory 1.6535 + # consuming and fragmenting process. To avoid this, we pick a random, 1.6536 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 1.6537 + # time. Moving up from 0x10000000 also allows more sbrk(2) space. 1.6538 + _LT_AC_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' 1.6539 + _LT_AC_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' 1.6540 + ;; 1.6541 + 1.6542 + linux*) 1.6543 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 1.6544 + tmp_addflag= 1.6545 + case $cc_basename,$host_cpu in 1.6546 + pgcc*) # Portland Group C compiler 1.6547 + _LT_AC_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' 1.6548 + tmp_addflag=' $pic_flag' 1.6549 + ;; 1.6550 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 1.6551 + _LT_AC_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' 1.6552 + tmp_addflag=' $pic_flag -Mnomain' ;; 1.6553 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 1.6554 + tmp_addflag=' -i_dynamic' ;; 1.6555 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 1.6556 + tmp_addflag=' -i_dynamic -nofor_main' ;; 1.6557 + ifc* | ifort*) # Intel Fortran compiler 1.6558 + tmp_addflag=' -nofor_main' ;; 1.6559 + esac 1.6560 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.6561 + 1.6562 + if test $supports_anon_versioning = yes; then 1.6563 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ 1.6564 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 1.6565 + $echo "local: *; };" >> $output_objdir/$libname.ver~ 1.6566 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 1.6567 + fi 1.6568 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no 1.6569 + else 1.6570 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.6571 + fi 1.6572 + ;; 1.6573 + 1.6574 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu) 1.6575 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 1.6576 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 1.6577 + wlarc= 1.6578 + else 1.6579 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.6580 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 1.6581 + fi 1.6582 + ;; 1.6583 + 1.6584 + solaris*) 1.6585 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then 1.6586 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.6587 + cat <<EOF 1>&2 1.6588 + 1.6589 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably 1.6590 +*** create shared libraries on Solaris systems. Therefore, libtool 1.6591 +*** is disabling shared libraries support. We urge you to upgrade GNU 1.6592 +*** binutils to release 2.9.1 or newer. Another option is to modify 1.6593 +*** your PATH or compiler configuration so that the native linker is 1.6594 +*** used, and then restart. 1.6595 + 1.6596 +EOF 1.6597 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 1.6598 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.6599 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 1.6600 + else 1.6601 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.6602 + fi 1.6603 + ;; 1.6604 + 1.6605 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 1.6606 + case `$LD -v 2>&1` in 1.6607 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) 1.6608 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.6609 + cat <<_LT_EOF 1>&2 1.6610 + 1.6611 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 1.6612 +*** reliably create shared libraries on SCO systems. Therefore, libtool 1.6613 +*** is disabling shared libraries support. We urge you to upgrade GNU 1.6614 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 1.6615 +*** your PATH or compiler configuration so that the native linker is 1.6616 +*** used, and then restart. 1.6617 + 1.6618 +_LT_EOF 1.6619 + ;; 1.6620 + *) 1.6621 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 1.6622 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' 1.6623 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' 1.6624 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' 1.6625 + else 1.6626 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.6627 + fi 1.6628 + ;; 1.6629 + esac 1.6630 + ;; 1.6631 + 1.6632 + sunos4*) 1.6633 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 1.6634 + wlarc= 1.6635 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.6636 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.6637 + ;; 1.6638 + 1.6639 + *) 1.6640 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 1.6641 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.6642 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 1.6643 + else 1.6644 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.6645 + fi 1.6646 + ;; 1.6647 + esac 1.6648 + 1.6649 + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then 1.6650 + runpath_var= 1.6651 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= 1.6652 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= 1.6653 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= 1.6654 + fi 1.6655 + else 1.6656 + # PORTME fill in a description of your system's linker (not GNU ld) 1.6657 + case $host_os in 1.6658 + aix3*) 1.6659 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported 1.6660 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes 1.6661 + _LT_AC_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' 1.6662 + # Note: this linker hardcodes the directories in LIBPATH if there 1.6663 + # are no directories specified by -L. 1.6664 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 1.6665 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 1.6666 + # Neither direct hardcoding nor static linking is supported with a 1.6667 + # broken collect2. 1.6668 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported 1.6669 + fi 1.6670 + ;; 1.6671 + 1.6672 + aix4* | aix5*) 1.6673 + if test "$host_cpu" = ia64; then 1.6674 + # On IA64, the linker does run time linking by default, so we don't 1.6675 + # have to do anything special. 1.6676 + aix_use_runtimelinking=no 1.6677 + exp_sym_flag='-Bexport' 1.6678 + no_entry_flag="" 1.6679 + else 1.6680 + # If we're using GNU nm, then we don't want the "-C" option. 1.6681 + # -C means demangle to AIX nm, but means don't demangle with GNU nm 1.6682 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 1.6683 + _LT_AC_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' 1.6684 + else 1.6685 + _LT_AC_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' 1.6686 + fi 1.6687 + aix_use_runtimelinking=no 1.6688 + 1.6689 + # Test if we are trying to use run time linking or normal 1.6690 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we 1.6691 + # need to do runtime linking. 1.6692 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) 1.6693 + for ld_flag in $LDFLAGS; do 1.6694 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 1.6695 + aix_use_runtimelinking=yes 1.6696 + break 1.6697 + fi 1.6698 + done 1.6699 + ;; 1.6700 + esac 1.6701 + 1.6702 + exp_sym_flag='-bexport' 1.6703 + no_entry_flag='-bnoentry' 1.6704 + fi 1.6705 + 1.6706 + # When large executables or shared objects are built, AIX ld can 1.6707 + # have problems creating the table of contents. If linking a library 1.6708 + # or program results in "error TOC overflow" add -mminimal-toc to 1.6709 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 1.6710 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 1.6711 + 1.6712 + _LT_AC_TAGVAR(archive_cmds, $1)='' 1.6713 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.6714 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' 1.6715 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 1.6716 + 1.6717 + if test "$GCC" = yes; then 1.6718 + case $host_os in aix4.[[012]]|aix4.[[012]].*) 1.6719 + # We only want to do this on AIX 4.2 and lower, the check 1.6720 + # below for broken collect2 doesn't work under 4.3+ 1.6721 + collect2name=`${CC} -print-prog-name=collect2` 1.6722 + if test -f "$collect2name" && \ 1.6723 + strings "$collect2name" | grep resolve_lib_name >/dev/null 1.6724 + then 1.6725 + # We have reworked collect2 1.6726 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.6727 + else 1.6728 + # We have old collect2 1.6729 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported 1.6730 + # It fails to find uninstalled libraries when the uninstalled 1.6731 + # path is not listed in the libpath. Setting hardcode_minus_L 1.6732 + # to unsupported forces relinking 1.6733 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 1.6734 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 1.6735 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= 1.6736 + fi 1.6737 + ;; 1.6738 + esac 1.6739 + shared_flag='-shared' 1.6740 + if test "$aix_use_runtimelinking" = yes; then 1.6741 + shared_flag="$shared_flag "'${wl}-G' 1.6742 + fi 1.6743 + else 1.6744 + # not using gcc 1.6745 + if test "$host_cpu" = ia64; then 1.6746 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 1.6747 + # chokes on -Wl,-G. The following line is correct: 1.6748 + shared_flag='-G' 1.6749 + else 1.6750 + if test "$aix_use_runtimelinking" = yes; then 1.6751 + shared_flag='${wl}-G' 1.6752 + else 1.6753 + shared_flag='${wl}-bM:SRE' 1.6754 + fi 1.6755 + fi 1.6756 + fi 1.6757 + 1.6758 + # It seems that -bexpall does not export symbols beginning with 1.6759 + # underscore (_), so it is better to generate a list of symbols to export. 1.6760 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes 1.6761 + if test "$aix_use_runtimelinking" = yes; then 1.6762 + # Warning - without using the other runtime loading flags (-brtl), 1.6763 + # -berok will link without error, but may produce a broken library. 1.6764 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' 1.6765 + # Determine the default libpath from the value encoded in an empty executable. 1.6766 + _LT_AC_SYS_LIBPATH_AIX 1.6767 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 1.6768 + _LT_AC_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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 1.6769 + else 1.6770 + if test "$host_cpu" = ia64; then 1.6771 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' 1.6772 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" 1.6773 + _LT_AC_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" 1.6774 + else 1.6775 + # Determine the default libpath from the value encoded in an empty executable. 1.6776 + _LT_AC_SYS_LIBPATH_AIX 1.6777 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 1.6778 + # Warning - without using the other run time loading flags, 1.6779 + # -berok will link without error, but may produce a broken library. 1.6780 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' 1.6781 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' 1.6782 + # Exported symbols can be pulled into shared objects from archives 1.6783 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' 1.6784 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes 1.6785 + # This is similar to how AIX traditionally builds its shared libraries. 1.6786 + _LT_AC_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' 1.6787 + fi 1.6788 + fi 1.6789 + ;; 1.6790 + 1.6791 + amigaos*) 1.6792 + _LT_AC_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)' 1.6793 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 1.6794 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 1.6795 + # see comment about different semantics on the GNU ld section 1.6796 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.6797 + ;; 1.6798 + 1.6799 + bsdi[[45]]*) 1.6800 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic 1.6801 + ;; 1.6802 + 1.6803 + cygwin* | mingw* | pw32*) 1.6804 + # When not using gcc, we currently assume that we are using 1.6805 + # Microsoft Visual C++. 1.6806 + # hardcode_libdir_flag_spec is actually meaningless, as there is 1.6807 + # no search path for DLLs. 1.6808 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' 1.6809 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported 1.6810 + # Tell ltmain to make .lib files, not .a files. 1.6811 + libext=lib 1.6812 + # Tell ltmain to make .dll files, not .so files. 1.6813 + shrext_cmds=".dll" 1.6814 + # FIXME: Setting linknames here is a bad hack. 1.6815 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 1.6816 + # The linker will automatically build a .lib file if we build a DLL. 1.6817 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' 1.6818 + # FIXME: Should let the user specify the lib program. 1.6819 + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' 1.6820 + _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' 1.6821 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes 1.6822 + ;; 1.6823 + 1.6824 + darwin* | rhapsody*) 1.6825 + case $host_os in 1.6826 + rhapsody* | darwin1.[[012]]) 1.6827 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' 1.6828 + ;; 1.6829 + *) # Darwin 1.3 on 1.6830 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 1.6831 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 1.6832 + else 1.6833 + case ${MACOSX_DEPLOYMENT_TARGET} in 1.6834 + 10.[[012]]) 1.6835 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 1.6836 + ;; 1.6837 + 10.*) 1.6838 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' 1.6839 + ;; 1.6840 + esac 1.6841 + fi 1.6842 + ;; 1.6843 + esac 1.6844 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 1.6845 + _LT_AC_TAGVAR(hardcode_direct, $1)=no 1.6846 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes 1.6847 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 1.6848 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' 1.6849 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 1.6850 + if test "$GCC" = yes ; then 1.6851 + output_verbose_link_cmd='echo' 1.6852 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 1.6853 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 1.6854 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 1.6855 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 1.6856 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 1.6857 + else 1.6858 + case $cc_basename in 1.6859 + xlc*) 1.6860 + output_verbose_link_cmd='echo' 1.6861 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 1.6862 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 1.6863 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 1.6864 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 1.6865 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 1.6866 + ;; 1.6867 + *) 1.6868 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.6869 + ;; 1.6870 + esac 1.6871 + fi 1.6872 + ;; 1.6873 + 1.6874 + dgux*) 1.6875 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 1.6876 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 1.6877 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.6878 + ;; 1.6879 + 1.6880 + freebsd1*) 1.6881 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.6882 + ;; 1.6883 + 1.6884 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 1.6885 + # support. Future versions do this automatically, but an explicit c++rt0.o 1.6886 + # does not break anything, and helps significantly (at the cost of a little 1.6887 + # extra space). 1.6888 + freebsd2.2*) 1.6889 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 1.6890 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 1.6891 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.6892 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.6893 + ;; 1.6894 + 1.6895 + # Unfortunately, older versions of FreeBSD 2 do not have this feature. 1.6896 + freebsd2*) 1.6897 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 1.6898 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.6899 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 1.6900 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.6901 + ;; 1.6902 + 1.6903 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 1.6904 + freebsd* | dragonfly*) 1.6905 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 1.6906 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 1.6907 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.6908 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.6909 + ;; 1.6910 + 1.6911 + # GNU/kFreeBSD uses gcc -shared to do shared libraries. 1.6912 + kfreebsd*-gnu) 1.6913 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 1.6914 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 1.6915 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.6916 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.6917 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no 1.6918 + ;; 1.6919 + 1.6920 + hpux9*) 1.6921 + if test "$GCC" = yes; then 1.6922 + _LT_AC_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' 1.6923 + else 1.6924 + _LT_AC_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' 1.6925 + fi 1.6926 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' 1.6927 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 1.6928 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.6929 + 1.6930 + # hardcode_minus_L: Not really in the search PATH, 1.6931 + # but as the default location of the library. 1.6932 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 1.6933 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 1.6934 + ;; 1.6935 + 1.6936 + hpux10*) 1.6937 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then 1.6938 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 1.6939 + else 1.6940 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 1.6941 + fi 1.6942 + if test "$with_gnu_ld" = no; then 1.6943 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' 1.6944 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 1.6945 + 1.6946 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.6947 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 1.6948 + 1.6949 + # hardcode_minus_L: Not really in the search PATH, 1.6950 + # but as the default location of the library. 1.6951 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 1.6952 + fi 1.6953 + ;; 1.6954 + 1.6955 + hpux11*) 1.6956 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then 1.6957 + case $host_cpu in 1.6958 + hppa*64*) 1.6959 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 1.6960 + ;; 1.6961 + ia64*) 1.6962 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 1.6963 + ;; 1.6964 + *) 1.6965 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 1.6966 + ;; 1.6967 + esac 1.6968 + else 1.6969 + case $host_cpu in 1.6970 + hppa*64*) 1.6971 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 1.6972 + ;; 1.6973 + ia64*) 1.6974 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 1.6975 + ;; 1.6976 + *) 1.6977 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 1.6978 + ;; 1.6979 + esac 1.6980 + fi 1.6981 + if test "$with_gnu_ld" = no; then 1.6982 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' 1.6983 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 1.6984 + 1.6985 + case $host_cpu in 1.6986 + hppa*64*|ia64*) 1.6987 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' 1.6988 + _LT_AC_TAGVAR(hardcode_direct, $1)=no 1.6989 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.6990 + ;; 1.6991 + *) 1.6992 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.6993 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 1.6994 + 1.6995 + # hardcode_minus_L: Not really in the search PATH, 1.6996 + # but as the default location of the library. 1.6997 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 1.6998 + ;; 1.6999 + esac 1.7000 + fi 1.7001 + ;; 1.7002 + 1.7003 + irix5* | irix6* | nonstopux*) 1.7004 + if test "$GCC" = yes; then 1.7005 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 1.7006 + else 1.7007 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 1.7008 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' 1.7009 + fi 1.7010 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 1.7011 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 1.7012 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 1.7013 + ;; 1.7014 + 1.7015 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu) 1.7016 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 1.7017 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 1.7018 + else 1.7019 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 1.7020 + fi 1.7021 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 1.7022 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.7023 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.7024 + ;; 1.7025 + 1.7026 + newsos6) 1.7027 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 1.7028 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.7029 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 1.7030 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 1.7031 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.7032 + ;; 1.7033 + 1.7034 + openbsd*) 1.7035 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.7036 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.7037 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 1.7038 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 1.7039 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 1.7040 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 1.7041 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 1.7042 + else 1.7043 + case $host_os in 1.7044 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) 1.7045 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 1.7046 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 1.7047 + ;; 1.7048 + *) 1.7049 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 1.7050 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 1.7051 + ;; 1.7052 + esac 1.7053 + fi 1.7054 + ;; 1.7055 + 1.7056 + os2*) 1.7057 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 1.7058 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 1.7059 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported 1.7060 + _LT_AC_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' 1.7061 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 1.7062 + ;; 1.7063 + 1.7064 + osf3*) 1.7065 + if test "$GCC" = yes; then 1.7066 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' 1.7067 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 1.7068 + else 1.7069 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' 1.7070 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 1.7071 + fi 1.7072 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 1.7073 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 1.7074 + ;; 1.7075 + 1.7076 + osf4* | osf5*) # as osf3* with the addition of -msym flag 1.7077 + if test "$GCC" = yes; then 1.7078 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' 1.7079 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 1.7080 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 1.7081 + else 1.7082 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' 1.7083 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 1.7084 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ 1.7085 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' 1.7086 + 1.7087 + # Both c and cxx compiler support -rpath directly 1.7088 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' 1.7089 + fi 1.7090 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 1.7091 + ;; 1.7092 + 1.7093 + solaris*) 1.7094 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' 1.7095 + if test "$GCC" = yes; then 1.7096 + wlarc='${wl}' 1.7097 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 1.7098 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 1.7099 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 1.7100 + else 1.7101 + wlarc='' 1.7102 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 1.7103 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 1.7104 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 1.7105 + fi 1.7106 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 1.7107 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.7108 + case $host_os in 1.7109 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; 1.7110 + *) 1.7111 + # The compiler driver will combine linker options so we 1.7112 + # cannot just pass the convience library names through 1.7113 + # without $wl, iff we do not link with $LD. 1.7114 + # Luckily, gcc supports the same syntax we need for Sun Studio. 1.7115 + # Supported since Solaris 2.6 (maybe 2.5.1?) 1.7116 + case $wlarc in 1.7117 + '') 1.7118 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; 1.7119 + *) 1.7120 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; 1.7121 + esac ;; 1.7122 + esac 1.7123 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 1.7124 + ;; 1.7125 + 1.7126 + sunos4*) 1.7127 + if test "x$host_vendor" = xsequent; then 1.7128 + # Use $CC to link under sequent, because it throws in some extra .o 1.7129 + # files that make .init and .fini sections work. 1.7130 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 1.7131 + else 1.7132 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 1.7133 + fi 1.7134 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 1.7135 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes 1.7136 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 1.7137 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.7138 + ;; 1.7139 + 1.7140 + sysv4) 1.7141 + case $host_vendor in 1.7142 + sni) 1.7143 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 1.7144 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? 1.7145 + ;; 1.7146 + siemens) 1.7147 + ## LD is ld it makes a PLAMLIB 1.7148 + ## CC just makes a GrossModule. 1.7149 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' 1.7150 + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' 1.7151 + _LT_AC_TAGVAR(hardcode_direct, $1)=no 1.7152 + ;; 1.7153 + motorola) 1.7154 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 1.7155 + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie 1.7156 + ;; 1.7157 + esac 1.7158 + runpath_var='LD_RUN_PATH' 1.7159 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.7160 + ;; 1.7161 + 1.7162 + sysv4.3*) 1.7163 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 1.7164 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.7165 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' 1.7166 + ;; 1.7167 + 1.7168 + sysv4*MP*) 1.7169 + if test -d /usr/nec; then 1.7170 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 1.7171 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.7172 + runpath_var=LD_RUN_PATH 1.7173 + hardcode_runpath_var=yes 1.7174 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes 1.7175 + fi 1.7176 + ;; 1.7177 + 1.7178 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*) 1.7179 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' 1.7180 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 1.7181 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.7182 + runpath_var='LD_RUN_PATH' 1.7183 + 1.7184 + if test "$GCC" = yes; then 1.7185 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.7186 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.7187 + else 1.7188 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.7189 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.7190 + fi 1.7191 + ;; 1.7192 + 1.7193 + sysv5* | sco3.2v5* | sco5v6*) 1.7194 + # Note: We can NOT use -z defs as we might desire, because we do not 1.7195 + # link with -lc, and that would cause any symbols used from libc to 1.7196 + # always be unresolved, which means just about no library would 1.7197 + # ever link correctly. If we're not using GNU ld we use -z text 1.7198 + # though, which does catch some bad symbols but isn't as heavy-handed 1.7199 + # as -z defs. 1.7200 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' 1.7201 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' 1.7202 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 1.7203 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.7204 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 1.7205 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' 1.7206 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 1.7207 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' 1.7208 + runpath_var='LD_RUN_PATH' 1.7209 + 1.7210 + if test "$GCC" = yes; then 1.7211 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 1.7212 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 1.7213 + else 1.7214 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 1.7215 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 1.7216 + fi 1.7217 + ;; 1.7218 + 1.7219 + uts4*) 1.7220 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 1.7221 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 1.7222 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 1.7223 + ;; 1.7224 + 1.7225 + *) 1.7226 + _LT_AC_TAGVAR(ld_shlibs, $1)=no 1.7227 + ;; 1.7228 + esac 1.7229 + fi 1.7230 +]) 1.7231 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) 1.7232 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no 1.7233 + 1.7234 +# 1.7235 +# Do we need to explicitly link libc? 1.7236 +# 1.7237 +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in 1.7238 +x|xyes) 1.7239 + # Assume -lc should be added 1.7240 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes 1.7241 + 1.7242 + if test "$enable_shared" = yes && test "$GCC" = yes; then 1.7243 + case $_LT_AC_TAGVAR(archive_cmds, $1) in 1.7244 + *'~'*) 1.7245 + # FIXME: we may have to deal with multi-command sequences. 1.7246 + ;; 1.7247 + '$CC '*) 1.7248 + # Test whether the compiler implicitly links with -lc since on some 1.7249 + # systems, -lgcc has to come before -lc. If gcc already passes -lc 1.7250 + # to ld, don't add -lc before -lgcc. 1.7251 + AC_MSG_CHECKING([whether -lc should be explicitly linked in]) 1.7252 + $rm conftest* 1.7253 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext 1.7254 + 1.7255 + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then 1.7256 + soname=conftest 1.7257 + lib=conftest 1.7258 + libobjs=conftest.$ac_objext 1.7259 + deplibs= 1.7260 + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) 1.7261 + pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) 1.7262 + compiler_flags=-v 1.7263 + linker_flags=-v 1.7264 + verstring= 1.7265 + output_objdir=. 1.7266 + libname=conftest 1.7267 + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) 1.7268 + _LT_AC_TAGVAR(allow_undefined_flag, $1)= 1.7269 + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 1.7270 + then 1.7271 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 1.7272 + else 1.7273 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes 1.7274 + fi 1.7275 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag 1.7276 + else 1.7277 + cat conftest.err 1>&5 1.7278 + fi 1.7279 + $rm conftest* 1.7280 + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) 1.7281 + ;; 1.7282 + esac 1.7283 + fi 1.7284 + ;; 1.7285 +esac 1.7286 +])# AC_LIBTOOL_PROG_LD_SHLIBS 1.7287 + 1.7288 + 1.7289 +# _LT_AC_FILE_LTDLL_C 1.7290 +# ------------------- 1.7291 +# Be careful that the start marker always follows a newline. 1.7292 +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ 1.7293 +# /* ltdll.c starts here */ 1.7294 +# #define WIN32_LEAN_AND_MEAN 1.7295 +# #include <windows.h> 1.7296 +# #undef WIN32_LEAN_AND_MEAN 1.7297 +# #include <stdio.h> 1.7298 +# 1.7299 +# #ifndef __CYGWIN__ 1.7300 +# # ifdef __CYGWIN32__ 1.7301 +# # define __CYGWIN__ __CYGWIN32__ 1.7302 +# # endif 1.7303 +# #endif 1.7304 +# 1.7305 +# #ifdef __cplusplus 1.7306 +# extern "C" { 1.7307 +# #endif 1.7308 +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); 1.7309 +# #ifdef __cplusplus 1.7310 +# } 1.7311 +# #endif 1.7312 +# 1.7313 +# #ifdef __CYGWIN__ 1.7314 +# #include <cygwin/cygwin_dll.h> 1.7315 +# DECLARE_CYGWIN_DLL( DllMain ); 1.7316 +# #endif 1.7317 +# HINSTANCE __hDllInstance_base; 1.7318 +# 1.7319 +# BOOL APIENTRY 1.7320 +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) 1.7321 +# { 1.7322 +# __hDllInstance_base = hInst; 1.7323 +# return TRUE; 1.7324 +# } 1.7325 +# /* ltdll.c ends here */ 1.7326 +])# _LT_AC_FILE_LTDLL_C 1.7327 + 1.7328 + 1.7329 +# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) 1.7330 +# --------------------------------- 1.7331 +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) 1.7332 + 1.7333 + 1.7334 +# old names 1.7335 +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) 1.7336 +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) 1.7337 +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) 1.7338 +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) 1.7339 +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) 1.7340 +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) 1.7341 +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) 1.7342 + 1.7343 +# This is just to silence aclocal about the macro not being used 1.7344 +ifelse([AC_DISABLE_FAST_INSTALL]) 1.7345 + 1.7346 +AC_DEFUN([LT_AC_PROG_GCJ], 1.7347 +[AC_CHECK_TOOL(GCJ, gcj, no) 1.7348 + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" 1.7349 + AC_SUBST(GCJFLAGS) 1.7350 +]) 1.7351 + 1.7352 +AC_DEFUN([LT_AC_PROG_RC], 1.7353 +[AC_CHECK_TOOL(RC, windres, no) 1.7354 +]) 1.7355 + 1.7356 +# NOTE: This macro has been submitted for inclusion into # 1.7357 +# GNU Autoconf as AC_PROG_SED. When it is available in # 1.7358 +# a released version of Autoconf we should remove this # 1.7359 +# macro and use it instead. # 1.7360 +# LT_AC_PROG_SED 1.7361 +# -------------- 1.7362 +# Check for a fully-functional sed program, that truncates 1.7363 +# as few characters as possible. Prefer GNU sed if found. 1.7364 +AC_DEFUN([LT_AC_PROG_SED], 1.7365 +[AC_MSG_CHECKING([for a sed that does not truncate output]) 1.7366 +AC_CACHE_VAL(lt_cv_path_SED, 1.7367 +[# Loop through the user's path and test for sed and gsed. 1.7368 +# Then use that list of sed's as ones to test for truncation. 1.7369 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.7370 +for as_dir in $PATH 1.7371 +do 1.7372 + IFS=$as_save_IFS 1.7373 + test -z "$as_dir" && as_dir=. 1.7374 + for lt_ac_prog in sed gsed; do 1.7375 + for ac_exec_ext in '' $ac_executable_extensions; do 1.7376 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then 1.7377 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" 1.7378 + fi 1.7379 + done 1.7380 + done 1.7381 +done 1.7382 +lt_ac_max=0 1.7383 +lt_ac_count=0 1.7384 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris 1.7385 +# along with /bin/sed that truncates output. 1.7386 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do 1.7387 + test ! -f $lt_ac_sed && continue 1.7388 + cat /dev/null > conftest.in 1.7389 + lt_ac_count=0 1.7390 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in 1.7391 + # Check for GNU sed and select it if it is found. 1.7392 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then 1.7393 + lt_cv_path_SED=$lt_ac_sed 1.7394 + break 1.7395 + fi 1.7396 + while true; do 1.7397 + cat conftest.in conftest.in >conftest.tmp 1.7398 + mv conftest.tmp conftest.in 1.7399 + cp conftest.in conftest.nl 1.7400 + echo >>conftest.nl 1.7401 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break 1.7402 + cmp -s conftest.out conftest.nl || break 1.7403 + # 10000 chars as input seems more than enough 1.7404 + test $lt_ac_count -gt 10 && break 1.7405 + lt_ac_count=`expr $lt_ac_count + 1` 1.7406 + if test $lt_ac_count -gt $lt_ac_max; then 1.7407 + lt_ac_max=$lt_ac_count 1.7408 + lt_cv_path_SED=$lt_ac_sed 1.7409 + fi 1.7410 + done 1.7411 +done 1.7412 +]) 1.7413 +SED=$lt_cv_path_SED 1.7414 +AC_MSG_RESULT([$SED]) 1.7415 +]) 1.7416 + 1.7417 + 1.7418 +dnl 1.7419 +dnl OPENBSD_LIBTOOL_WORKAROUND 1.7420 +dnl 1.7421 +dnl Work-around a problem caused by the -avoid-version libtool option. Can 1.7422 +dnl anyone come up with a better way? 1.7423 +dnl 1.7424 + 1.7425 +AC_DEFUN([OPENBSD_LIBTOOL_WORKAROUND], 1.7426 + [case "${host_os}" in 1.7427 + openbsd*) 1.7428 + sed 's/^need_version=no$/need_version=yes/' < libtool > libtool.tmp && mv -f libtool.tmp libtool 1.7429 + ;; 1.7430 + esac 1.7431 + ]) 1.7432 + 1.7433 + 1.7434 +AC_DEFUN([GIFT_PLUGIN_PKGCONFIG], 1.7435 + [AC_PATH_PROG(PKG_CONFIG, pkg-config) 1.7436 + 1.7437 + if test x$prefix != xNONE; then 1.7438 + PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$prefix/lib/pkgconfig" 1.7439 + fi 1.7440 + 1.7441 + PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig" 1.7442 + export PKG_CONFIG_PATH 1.7443 + 1.7444 + PKG_CHECK_MODULES([$1], libgift >= $2 libgift < $3) 1.7445 + 1.7446 + # fudge libgiftproto in there which doesnt have any pkg-config entry 1.7447 + AS_VAR_SET($1_LIBS, "AS_VAR_GET($1_LIBS) -lgiftproto") 1.7448 + 1.7449 + # hack to set libgift_version 1.7450 + libgift_version=`pkg-config libgift --modversion` 1.7451 + 1.7452 + AC_SUBST($1_CFLAGS) 1.7453 + AC_SUBST($1_LIBS) 1.7454 + ]) 1.7455 + 1.7456 + 1.7457 +dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) 1.7458 +dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page 1.7459 +dnl also defines GSTUFF_PKG_ERRORS on error 1.7460 +AC_DEFUN(PKG_CHECK_MODULES, [ 1.7461 + succeeded=no 1.7462 + 1.7463 + if test -z "$PKG_CONFIG"; then 1.7464 + AC_PATH_PROG(PKG_CONFIG, pkg-config, no) 1.7465 + fi 1.7466 + 1.7467 + if test "$PKG_CONFIG" = "no" ; then 1.7468 + echo "*** The pkg-config script could not be found. Make sure it is" 1.7469 + echo "*** in your path, or set the PKG_CONFIG environment variable" 1.7470 + echo "*** to the full path to pkg-config." 1.7471 + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." 1.7472 + else 1.7473 + PKG_CONFIG_MIN_VERSION=0.9.0 1.7474 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 1.7475 + AC_MSG_CHECKING(for $2) 1.7476 + 1.7477 + if $PKG_CONFIG --exists "$2" ; then 1.7478 + AC_MSG_RESULT(yes) 1.7479 + succeeded=yes 1.7480 + 1.7481 + AC_MSG_CHECKING($1_CFLAGS) 1.7482 + $1_CFLAGS=`$PKG_CONFIG --cflags "$2"` 1.7483 + AC_MSG_RESULT($$1_CFLAGS) 1.7484 + 1.7485 + AC_MSG_CHECKING($1_LIBS) 1.7486 + $1_LIBS=`$PKG_CONFIG --libs "$2"` 1.7487 + AC_MSG_RESULT($$1_LIBS) 1.7488 + else 1.7489 + $1_CFLAGS="" 1.7490 + $1_LIBS="" 1.7491 + ## If we have a custom action on failure, don't print errors, but 1.7492 + ## do set a variable so people can do so. 1.7493 + $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` 1.7494 + ifelse([$4], ,echo $$1_PKG_ERRORS,) 1.7495 + fi 1.7496 + 1.7497 + AC_SUBST($1_CFLAGS) 1.7498 + AC_SUBST($1_LIBS) 1.7499 + else 1.7500 + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." 1.7501 + echo "*** See http://www.freedesktop.org/software/pkgconfig" 1.7502 + fi 1.7503 + fi 1.7504 + 1.7505 + if test $succeeded = yes; then 1.7506 + ifelse([$3], , :, [$3]) 1.7507 + else 1.7508 + ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4]) 1.7509 + fi 1.7510 +]) 1.7511 + 1.7512 + 1.7513 + 1.7514 + 1.7515 +dnl 1.7516 +dnl Check for zlib in some bizarre locations... 1.7517 +dnl 1.7518 +AC_DEFUN([GIFT_PLUGIN_CHECK_ZLIB], 1.7519 +[ 1.7520 + # set the minimum ZLIB_VER we're willing to link against... 1.7521 + ZLIB_VER=1.1.4 1.7522 + 1.7523 + # for some reason Darwin has a 1.1.3 version with the 1.1.4 security fix 1.7524 + # applied backwards... 1.7525 + case "${host}" in 1.7526 + *-*-darwin* ) 1.7527 + ZLIB_VER=1.1.3 1.7528 + ;; 1.7529 + esac 1.7530 + 1.7531 + if test x"$OPT_ZLIB" = xno; then 1.7532 + zlib_ok=no 1.7533 + else 1.7534 + ZLIB_DIRS="$OPT_ZLIB /usr /usr/local /sw" 1.7535 + for ZLIB_DIR in $ZLIB_DIRS; 1.7536 + do 1.7537 + LIBS_SAVE="$LIBS" 1.7538 + CPPFLAGS_SAVE="$CPPFLAGS" 1.7539 + LIBS="$LIBS -L${ZLIB_DIR}/lib" 1.7540 + CPPFLAGS="$CPPFLAGS -I${ZLIB_DIR}/include" 1.7541 + AC_CACHE_CHECK( 1.7542 + [for zlib version ${ZLIB_VER}+ in ${ZLIB_DIR}], 1.7543 + zlib_ok, 1.7544 + AC_TRY_RUN( 1.7545 + [#include <zlib.h> 1.7546 + #include <string.h> 1.7547 + void main() { 1.7548 + exit(strcmp(ZLIB_VERSION, "${ZLIB_VER}") < 0); 1.7549 + } 1.7550 + ], 1.7551 + [zlib_ok=yes], 1.7552 + [zlib_ok=no], 1.7553 + [zlib_ok=yes])) 1.7554 + 1.7555 + if test "$zlib_ok" != "no"; then 1.7556 + AC_CHECK_FUNC(gzread, , AC_CHECK_LIB(z, gzread)) 1.7557 + AC_DEFINE(USE_ZLIB) 1.7558 + AC_SUBST(USE_ZLIB) 1.7559 + break 1.7560 + fi 1.7561 + LIBS="$LIBS_SAVE" 1.7562 + CPPFLAGS="$CPPFLAGS_SAVE" 1.7563 + done 1.7564 + 1.7565 + if test "$zlib_ok" = "no"; then 1.7566 + AC_MSG_ERROR([ 1.7567 +NOTE: The zlib compression library version ${ZLIB_VER} or greater was not found 1.7568 + on your system. 1.7569 + 1.7570 + If zlib ${ZLIB_VER}+ is not installed, install it. 1.7571 + ]) 1.7572 + fi 1.7573 + fi 1.7574 +]) 1.7575 + 1.7576 + 1.7577 +AC_DEFUN([GIFT_GNUTELLA_CHECK_LIBXML],[ 1.7578 + # 1.7579 + # Check on the user's PATH if no path was specified in OPT_LIBXML, 1.7580 + # when the user has passed --with-libxml without a directory, 1.7581 + # or check the directory if one was supplied. 1.7582 + # 1.7583 + if test x"$OPT_LIBXML" = xyes; then 1.7584 + AC_PATH_PROG(XML2_CONFIG, xml2-config, [no]) 1.7585 + else 1.7586 + XMLPATH="$OPT_LIBXML/bin" 1.7587 + AC_PATH_PROG(XML2_CONFIG, xml2-config, [no], [$XMLPATH]) 1.7588 + fi 1.7589 + 1.7590 + if test x"$XML2_CONFIG" != xno; then 1.7591 + LIBXML2_CFLAGS=`$XML2_CONFIG --cflags` 1.7592 + LIBXML2_LIBS=`$XML2_CONFIG --libs` 1.7593 + 1.7594 + AC_SUBST(LIBXML2_CFLAGS) 1.7595 + AC_SUBST(LIBXML2_LIBS) 1.7596 + AC_DEFINE(USE_LIBXML2) 1.7597 + else 1.7598 + AC_MSG_ERROR([ 1.7599 +Couldn't run ${OPT_LIBXML}/bin/xml2-config 1.7600 + 1.7601 +]) 1.7602 + fi 1.7603 +]) 1.7604 + 1.7605 + 1.7606 +AC_DEFUN([GIFT_PLUGIN_CHECK_PREFIX],[ 1.7607 + libgift_prefix=`pkg-config --variable=prefix libgift` 1.7608 + 1.7609 + gift_plugin_prefix=$prefix 1.7610 + if test x"$prefix" = xNONE; then 1.7611 + gift_plugin_prefix=/usr/local 1.7612 + fi 1.7613 + 1.7614 + if test x"$libgift_prefix" != x"$gift_plugin_prefix"; then 1.7615 + AC_MSG_WARN([ 1.7616 + You are trying to install in $gift_plugin_prefix, but I only 1.7617 + detected a giFT installation in $libgift_prefix. 1.7618 + You may be installing in the wrong place. 1.7619 + 1.7620 + You should probably supply --prefix=$libgift_prefix 1.7621 + to configure. Or, if you have a giFT installation in 1.7622 + $gift_plugin_prefix, you could add ${gift_plugin_prefix}/lib/pkgconfig 1.7623 + to the PKG_CONFIG_PATH environment variable, so I can detect it. 1.7624 +]) 1.7625 + fi 1.7626 +]) 1.7627 +