[svn r58] Fixed delay on audio frames's timestamps, and refactoring the autotools usage.
1.1 --- a/gst-plugins-nuvdemux/INSTALL Thu Oct 26 18:55:14 2006 +0100
1.2 +++ b/gst-plugins-nuvdemux/INSTALL Fri Oct 27 00:11:21 2006 +0100
1.3 @@ -1,13 +1,16 @@
1.4 -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software
1.5 -Foundation, Inc.
1.6 +Installation Instructions
1.7 +*************************
1.8
1.9 - This file is free documentation; the Free Software Foundation gives
1.10 +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
1.11 +Software Foundation, Inc.
1.12 +
1.13 +This file is free documentation; the Free Software Foundation gives
1.14 unlimited permission to copy, distribute and modify it.
1.15
1.16 Basic Installation
1.17 ==================
1.18
1.19 - These are generic installation instructions.
1.20 +These are generic installation instructions.
1.21
1.22 The `configure' shell script attempts to guess correct values for
1.23 various system-dependent variables used during compilation. It uses
1.24 @@ -67,9 +70,9 @@
1.25 Compilers and Options
1.26 =====================
1.27
1.28 - Some systems require unusual options for compilation or linking that
1.29 -the `configure' script does not know about. Run `./configure --help'
1.30 -for details on some of the pertinent environment variables.
1.31 +Some systems require unusual options for compilation or linking that the
1.32 +`configure' script does not know about. Run `./configure --help' for
1.33 +details on some of the pertinent environment variables.
1.34
1.35 You can give `configure' initial values for configuration parameters
1.36 by setting variables in the command line or in the environment. Here
1.37 @@ -82,7 +85,7 @@
1.38 Compiling For Multiple Architectures
1.39 ====================================
1.40
1.41 - You can compile the package for more than one kind of computer at the
1.42 +You can compile the package for more than one kind of computer at the
1.43 same time, by placing the object files for each architecture in their
1.44 own directory. To do this, you must use a version of `make' that
1.45 supports the `VPATH' variable, such as GNU `make'. `cd' to the
1.46 @@ -99,19 +102,19 @@
1.47 Installation Names
1.48 ==================
1.49
1.50 - By default, `make install' will install the package's files in
1.51 -`/usr/local/bin', `/usr/local/man', etc. You can specify an
1.52 -installation prefix other than `/usr/local' by giving `configure' the
1.53 -option `--prefix=PATH'.
1.54 +By default, `make install' installs the package's commands under
1.55 +`/usr/local/bin', include files under `/usr/local/include', etc. You
1.56 +can specify an installation prefix other than `/usr/local' by giving
1.57 +`configure' the option `--prefix=PREFIX'.
1.58
1.59 You can specify separate installation prefixes for
1.60 architecture-specific files and architecture-independent files. If you
1.61 -give `configure' the option `--exec-prefix=PATH', the package will use
1.62 -PATH as the prefix for installing programs and libraries.
1.63 -Documentation and other data files will still use the regular prefix.
1.64 +pass the option `--exec-prefix=PREFIX' to `configure', the package uses
1.65 +PREFIX as the prefix for installing programs and libraries.
1.66 +Documentation and other data files still use the regular prefix.
1.67
1.68 In addition, if you use an unusual directory layout you can give
1.69 -options like `--bindir=PATH' to specify different values for particular
1.70 +options like `--bindir=DIR' to specify different values for particular
1.71 kinds of files. Run `configure --help' for a list of the directories
1.72 you can set and what kinds of files go in them.
1.73
1.74 @@ -122,7 +125,7 @@
1.75 Optional Features
1.76 =================
1.77
1.78 - Some packages pay attention to `--enable-FEATURE' options to
1.79 +Some packages pay attention to `--enable-FEATURE' options to
1.80 `configure', where FEATURE indicates an optional part of the package.
1.81 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
1.82 is something like `gnu-as' or `x' (for the X Window System). The
1.83 @@ -137,11 +140,11 @@
1.84 Specifying the System Type
1.85 ==========================
1.86
1.87 - There may be some features `configure' cannot figure out
1.88 -automatically, but needs to determine by the type of machine the package
1.89 -will run on. Usually, assuming the package is built to be run on the
1.90 -_same_ architectures, `configure' can figure that out, but if it prints
1.91 -a message saying it cannot guess the machine type, give it the
1.92 +There may be some features `configure' cannot figure out automatically,
1.93 +but needs to determine by the type of machine the package will run on.
1.94 +Usually, assuming the package is built to be run on the _same_
1.95 +architectures, `configure' can figure that out, but if it prints a
1.96 +message saying it cannot guess the machine type, give it the
1.97 `--build=TYPE' option. TYPE can either be a short name for the system
1.98 type, such as `sun4', or a canonical name which has the form:
1.99
1.100 @@ -156,7 +159,7 @@
1.101 need to know the machine type.
1.102
1.103 If you are _building_ compiler tools for cross-compiling, you should
1.104 -use the `--target=TYPE' option to select the type of system they will
1.105 +use the option `--target=TYPE' to select the type of system they will
1.106 produce code for.
1.107
1.108 If you want to _use_ a cross compiler, that generates code for a
1.109 @@ -167,9 +170,9 @@
1.110 Sharing Defaults
1.111 ================
1.112
1.113 - If you want to set default values for `configure' scripts to share,
1.114 -you can create a site shell script called `config.site' that gives
1.115 -default values for variables like `CC', `cache_file', and `prefix'.
1.116 +If you want to set default values for `configure' scripts to share, you
1.117 +can create a site shell script called `config.site' that gives default
1.118 +values for variables like `CC', `cache_file', and `prefix'.
1.119 `configure' looks for `PREFIX/share/config.site' if it exists, then
1.120 `PREFIX/etc/config.site' if it exists. Or, you can set the
1.121 `CONFIG_SITE' environment variable to the location of the site script.
1.122 @@ -178,7 +181,7 @@
1.123 Defining Variables
1.124 ==================
1.125
1.126 - Variables not defined in a site shell script can be set in the
1.127 +Variables not defined in a site shell script can be set in the
1.128 environment passed to `configure'. However, some packages may run
1.129 configure again during the build, and the customized values of these
1.130 variables may be lost. In order to avoid this problem, you should set
1.131 @@ -186,14 +189,18 @@
1.132
1.133 ./configure CC=/usr/local2/bin/gcc
1.134
1.135 -will cause the specified gcc to be used as the C compiler (unless it is
1.136 -overridden in the site shell script).
1.137 +causes the specified `gcc' to be used as the C compiler (unless it is
1.138 +overridden in the site shell script). Here is a another example:
1.139 +
1.140 + /bin/bash ./configure CONFIG_SHELL=/bin/bash
1.141 +
1.142 +Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
1.143 +configuration-related scripts to be executed by `/bin/bash'.
1.144
1.145 `configure' Invocation
1.146 ======================
1.147
1.148 - `configure' recognizes the following options to control how it
1.149 -operates.
1.150 +`configure' recognizes the following options to control how it operates.
1.151
1.152 `--help'
1.153 `-h'
2.1 --- a/gst-plugins-nuvdemux/Makefile.am Thu Oct 26 18:55:14 2006 +0100
2.2 +++ b/gst-plugins-nuvdemux/Makefile.am Fri Oct 27 00:11:21 2006 +0100
2.3 @@ -1,4 +1,4 @@
2.4 ACLOCAL_AMFLAGS = -I m4
2.5
2.6 SUBDIRS = src
2.7 -DIST_SUBDIRS = src m4
2.8 +DIST_SUBDIRS = src m4 gst-libs
3.1 --- a/gst-plugins-nuvdemux/aclocal.m4 Thu Oct 26 18:55:14 2006 +0100
3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
3.3 @@ -1,7228 +0,0 @@
3.4 -# generated automatically by aclocal 1.8.5 -*- Autoconf -*-
3.5 -
3.6 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
3.7 -# Free Software Foundation, Inc.
3.8 -# This file is free software; the Free Software Foundation
3.9 -# gives unlimited permission to copy and/or distribute it,
3.10 -# with or without modifications, as long as this notice is preserved.
3.11 -
3.12 -# This program is distributed in the hope that it will be useful,
3.13 -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
3.14 -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
3.15 -# PARTICULAR PURPOSE.
3.16 -
3.17 -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
3.18 -
3.19 -# serial 47 AC_PROG_LIBTOOL
3.20 -
3.21 -
3.22 -# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
3.23 -# -----------------------------------------------------------
3.24 -# If this macro is not defined by Autoconf, define it here.
3.25 -m4_ifdef([AC_PROVIDE_IFELSE],
3.26 - [],
3.27 - [m4_define([AC_PROVIDE_IFELSE],
3.28 - [m4_ifdef([AC_PROVIDE_$1],
3.29 - [$2], [$3])])])
3.30 -
3.31 -
3.32 -# AC_PROG_LIBTOOL
3.33 -# ---------------
3.34 -AC_DEFUN([AC_PROG_LIBTOOL],
3.35 -[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
3.36 -dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
3.37 -dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
3.38 - AC_PROVIDE_IFELSE([AC_PROG_CXX],
3.39 - [AC_LIBTOOL_CXX],
3.40 - [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
3.41 - ])])
3.42 -dnl And a similar setup for Fortran 77 support
3.43 - AC_PROVIDE_IFELSE([AC_PROG_F77],
3.44 - [AC_LIBTOOL_F77],
3.45 - [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
3.46 -])])
3.47 -
3.48 -dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
3.49 -dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
3.50 -dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
3.51 - AC_PROVIDE_IFELSE([AC_PROG_GCJ],
3.52 - [AC_LIBTOOL_GCJ],
3.53 - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
3.54 - [AC_LIBTOOL_GCJ],
3.55 - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
3.56 - [AC_LIBTOOL_GCJ],
3.57 - [ifdef([AC_PROG_GCJ],
3.58 - [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
3.59 - ifdef([A][M_PROG_GCJ],
3.60 - [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
3.61 - ifdef([LT_AC_PROG_GCJ],
3.62 - [define([LT_AC_PROG_GCJ],
3.63 - defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
3.64 -])])# AC_PROG_LIBTOOL
3.65 -
3.66 -
3.67 -# _AC_PROG_LIBTOOL
3.68 -# ----------------
3.69 -AC_DEFUN([_AC_PROG_LIBTOOL],
3.70 -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
3.71 -AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
3.72 -AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
3.73 -AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
3.74 -
3.75 -# This can be used to rebuild libtool when needed
3.76 -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
3.77 -
3.78 -# Always use our own libtool.
3.79 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
3.80 -AC_SUBST(LIBTOOL)dnl
3.81 -
3.82 -# Prevent multiple expansion
3.83 -define([AC_PROG_LIBTOOL], [])
3.84 -])# _AC_PROG_LIBTOOL
3.85 -
3.86 -
3.87 -# AC_LIBTOOL_SETUP
3.88 -# ----------------
3.89 -AC_DEFUN([AC_LIBTOOL_SETUP],
3.90 -[AC_PREREQ(2.50)dnl
3.91 -AC_REQUIRE([AC_ENABLE_SHARED])dnl
3.92 -AC_REQUIRE([AC_ENABLE_STATIC])dnl
3.93 -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
3.94 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
3.95 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
3.96 -AC_REQUIRE([AC_PROG_CC])dnl
3.97 -AC_REQUIRE([AC_PROG_LD])dnl
3.98 -AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
3.99 -AC_REQUIRE([AC_PROG_NM])dnl
3.100 -
3.101 -AC_REQUIRE([AC_PROG_LN_S])dnl
3.102 -AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
3.103 -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3.104 -AC_REQUIRE([AC_OBJEXT])dnl
3.105 -AC_REQUIRE([AC_EXEEXT])dnl
3.106 -dnl
3.107 -
3.108 -AC_LIBTOOL_SYS_MAX_CMD_LEN
3.109 -AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
3.110 -AC_LIBTOOL_OBJDIR
3.111 -
3.112 -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
3.113 -_LT_AC_PROG_ECHO_BACKSLASH
3.114 -
3.115 -case $host_os in
3.116 -aix3*)
3.117 - # AIX sometimes has problems with the GCC collect2 program. For some
3.118 - # reason, if we set the COLLECT_NAMES environment variable, the problems
3.119 - # vanish in a puff of smoke.
3.120 - if test "X${COLLECT_NAMES+set}" != Xset; then
3.121 - COLLECT_NAMES=
3.122 - export COLLECT_NAMES
3.123 - fi
3.124 - ;;
3.125 -esac
3.126 -
3.127 -# Sed substitution that helps us do robust quoting. It backslashifies
3.128 -# metacharacters that are still active within double-quoted strings.
3.129 -Xsed='sed -e 1s/^X//'
3.130 -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
3.131 -
3.132 -# Same as above, but do not quote variable references.
3.133 -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
3.134 -
3.135 -# Sed substitution to delay expansion of an escaped shell variable in a
3.136 -# double_quote_subst'ed string.
3.137 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3.138 -
3.139 -# Sed substitution to avoid accidental globbing in evaled expressions
3.140 -no_glob_subst='s/\*/\\\*/g'
3.141 -
3.142 -# Constants:
3.143 -rm="rm -f"
3.144 -
3.145 -# Global variables:
3.146 -default_ofile=libtool
3.147 -can_build_shared=yes
3.148 -
3.149 -# All known linkers require a `.a' archive for static linking (except MSVC,
3.150 -# which needs '.lib').
3.151 -libext=a
3.152 -ltmain="$ac_aux_dir/ltmain.sh"
3.153 -ofile="$default_ofile"
3.154 -with_gnu_ld="$lt_cv_prog_gnu_ld"
3.155 -
3.156 -AC_CHECK_TOOL(AR, ar, false)
3.157 -AC_CHECK_TOOL(RANLIB, ranlib, :)
3.158 -AC_CHECK_TOOL(STRIP, strip, :)
3.159 -
3.160 -old_CC="$CC"
3.161 -old_CFLAGS="$CFLAGS"
3.162 -
3.163 -# Set sane defaults for various variables
3.164 -test -z "$AR" && AR=ar
3.165 -test -z "$AR_FLAGS" && AR_FLAGS=cru
3.166 -test -z "$AS" && AS=as
3.167 -test -z "$CC" && CC=cc
3.168 -test -z "$LTCC" && LTCC=$CC
3.169 -test -z "$DLLTOOL" && DLLTOOL=dlltool
3.170 -test -z "$LD" && LD=ld
3.171 -test -z "$LN_S" && LN_S="ln -s"
3.172 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
3.173 -test -z "$NM" && NM=nm
3.174 -test -z "$SED" && SED=sed
3.175 -test -z "$OBJDUMP" && OBJDUMP=objdump
3.176 -test -z "$RANLIB" && RANLIB=:
3.177 -test -z "$STRIP" && STRIP=:
3.178 -test -z "$ac_objext" && ac_objext=o
3.179 -
3.180 -# Determine commands to create old-style static archives.
3.181 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
3.182 -old_postinstall_cmds='chmod 644 $oldlib'
3.183 -old_postuninstall_cmds=
3.184 -
3.185 -if test -n "$RANLIB"; then
3.186 - case $host_os in
3.187 - openbsd*)
3.188 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
3.189 - ;;
3.190 - *)
3.191 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
3.192 - ;;
3.193 - esac
3.194 - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
3.195 -fi
3.196 -
3.197 -_LT_CC_BASENAME([$compiler])
3.198 -
3.199 -# Only perform the check for file, if the check method requires it
3.200 -case $deplibs_check_method in
3.201 -file_magic*)
3.202 - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3.203 - AC_PATH_MAGIC
3.204 - fi
3.205 - ;;
3.206 -esac
3.207 -
3.208 -AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
3.209 -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
3.210 -enable_win32_dll=yes, enable_win32_dll=no)
3.211 -
3.212 -AC_ARG_ENABLE([libtool-lock],
3.213 - [AC_HELP_STRING([--disable-libtool-lock],
3.214 - [avoid locking (might break parallel builds)])])
3.215 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3.216 -
3.217 -AC_ARG_WITH([pic],
3.218 - [AC_HELP_STRING([--with-pic],
3.219 - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
3.220 - [pic_mode="$withval"],
3.221 - [pic_mode=default])
3.222 -test -z "$pic_mode" && pic_mode=default
3.223 -
3.224 -# Use C for the default configuration in the libtool script
3.225 -tagname=
3.226 -AC_LIBTOOL_LANG_C_CONFIG
3.227 -_LT_AC_TAGCONFIG
3.228 -])# AC_LIBTOOL_SETUP
3.229 -
3.230 -
3.231 -# _LT_AC_SYS_COMPILER
3.232 -# -------------------
3.233 -AC_DEFUN([_LT_AC_SYS_COMPILER],
3.234 -[AC_REQUIRE([AC_PROG_CC])dnl
3.235 -
3.236 -# If no C compiler was specified, use CC.
3.237 -LTCC=${LTCC-"$CC"}
3.238 -
3.239 -# Allow CC to be a program name with arguments.
3.240 -compiler=$CC
3.241 -])# _LT_AC_SYS_COMPILER
3.242 -
3.243 -
3.244 -# _LT_CC_BASENAME(CC)
3.245 -# -------------------
3.246 -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
3.247 -AC_DEFUN([_LT_CC_BASENAME],
3.248 -[for cc_temp in $1""; do
3.249 - case $cc_temp in
3.250 - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
3.251 - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
3.252 - \-*) ;;
3.253 - *) break;;
3.254 - esac
3.255 -done
3.256 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
3.257 -])
3.258 -
3.259 -
3.260 -# _LT_COMPILER_BOILERPLATE
3.261 -# ------------------------
3.262 -# Check for compiler boilerplate output or warnings with
3.263 -# the simple compiler test code.
3.264 -AC_DEFUN([_LT_COMPILER_BOILERPLATE],
3.265 -[ac_outfile=conftest.$ac_objext
3.266 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
3.267 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
3.268 -_lt_compiler_boilerplate=`cat conftest.err`
3.269 -$rm conftest*
3.270 -])# _LT_COMPILER_BOILERPLATE
3.271 -
3.272 -
3.273 -# _LT_LINKER_BOILERPLATE
3.274 -# ----------------------
3.275 -# Check for linker boilerplate output or warnings with
3.276 -# the simple link test code.
3.277 -AC_DEFUN([_LT_LINKER_BOILERPLATE],
3.278 -[ac_outfile=conftest.$ac_objext
3.279 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
3.280 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
3.281 -_lt_linker_boilerplate=`cat conftest.err`
3.282 -$rm conftest*
3.283 -])# _LT_LINKER_BOILERPLATE
3.284 -
3.285 -
3.286 -# _LT_AC_SYS_LIBPATH_AIX
3.287 -# ----------------------
3.288 -# Links a minimal program and checks the executable
3.289 -# for the system default hardcoded library path. In most cases,
3.290 -# this is /usr/lib:/lib, but when the MPI compilers are used
3.291 -# the location of the communication and MPI libs are included too.
3.292 -# If we don't find anything, use the default library path according
3.293 -# to the aix ld manual.
3.294 -AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
3.295 -[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
3.296 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
3.297 -}'`
3.298 -# Check for a 64-bit object if we didn't find anything.
3.299 -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; }
3.300 -}'`; fi],[])
3.301 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
3.302 -])# _LT_AC_SYS_LIBPATH_AIX
3.303 -
3.304 -
3.305 -# _LT_AC_SHELL_INIT(ARG)
3.306 -# ----------------------
3.307 -AC_DEFUN([_LT_AC_SHELL_INIT],
3.308 -[ifdef([AC_DIVERSION_NOTICE],
3.309 - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
3.310 - [AC_DIVERT_PUSH(NOTICE)])
3.311 -$1
3.312 -AC_DIVERT_POP
3.313 -])# _LT_AC_SHELL_INIT
3.314 -
3.315 -
3.316 -# _LT_AC_PROG_ECHO_BACKSLASH
3.317 -# --------------------------
3.318 -# Add some code to the start of the generated configure script which
3.319 -# will find an echo command which doesn't interpret backslashes.
3.320 -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
3.321 -[_LT_AC_SHELL_INIT([
3.322 -# Check that we are running under the correct shell.
3.323 -SHELL=${CONFIG_SHELL-/bin/sh}
3.324 -
3.325 -case X$ECHO in
3.326 -X*--fallback-echo)
3.327 - # Remove one level of quotation (which was required for Make).
3.328 - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
3.329 - ;;
3.330 -esac
3.331 -
3.332 -echo=${ECHO-echo}
3.333 -if test "X[$]1" = X--no-reexec; then
3.334 - # Discard the --no-reexec flag, and continue.
3.335 - shift
3.336 -elif test "X[$]1" = X--fallback-echo; then
3.337 - # Avoid inline document here, it may be left over
3.338 - :
3.339 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
3.340 - # Yippee, $echo works!
3.341 - :
3.342 -else
3.343 - # Restart under the correct shell.
3.344 - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
3.345 -fi
3.346 -
3.347 -if test "X[$]1" = X--fallback-echo; then
3.348 - # used as fallback echo
3.349 - shift
3.350 - cat <<EOF
3.351 -[$]*
3.352 -EOF
3.353 - exit 0
3.354 -fi
3.355 -
3.356 -# The HP-UX ksh and POSIX shell print the target directory to stdout
3.357 -# if CDPATH is set.
3.358 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3.359 -
3.360 -if test -z "$ECHO"; then
3.361 -if test "X${echo_test_string+set}" != Xset; then
3.362 -# find a string as large as possible, as long as the shell can cope with it
3.363 - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
3.364 - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
3.365 - if (echo_test_string=`eval $cmd`) 2>/dev/null &&
3.366 - echo_test_string=`eval $cmd` &&
3.367 - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
3.368 - then
3.369 - break
3.370 - fi
3.371 - done
3.372 -fi
3.373 -
3.374 -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
3.375 - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
3.376 - test "X$echo_testing_string" = "X$echo_test_string"; then
3.377 - :
3.378 -else
3.379 - # The Solaris, AIX, and Digital Unix default echo programs unquote
3.380 - # backslashes. This makes it impossible to quote backslashes using
3.381 - # echo "$something" | sed 's/\\/\\\\/g'
3.382 - #
3.383 - # So, first we look for a working echo in the user's PATH.
3.384 -
3.385 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3.386 - for dir in $PATH /usr/ucb; do
3.387 - IFS="$lt_save_ifs"
3.388 - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
3.389 - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
3.390 - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
3.391 - test "X$echo_testing_string" = "X$echo_test_string"; then
3.392 - echo="$dir/echo"
3.393 - break
3.394 - fi
3.395 - done
3.396 - IFS="$lt_save_ifs"
3.397 -
3.398 - if test "X$echo" = Xecho; then
3.399 - # We didn't find a better echo, so look for alternatives.
3.400 - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
3.401 - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
3.402 - test "X$echo_testing_string" = "X$echo_test_string"; then
3.403 - # This shell has a builtin print -r that does the trick.
3.404 - echo='print -r'
3.405 - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
3.406 - test "X$CONFIG_SHELL" != X/bin/ksh; then
3.407 - # If we have ksh, try running configure again with it.
3.408 - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3.409 - export ORIGINAL_CONFIG_SHELL
3.410 - CONFIG_SHELL=/bin/ksh
3.411 - export CONFIG_SHELL
3.412 - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
3.413 - else
3.414 - # Try using printf.
3.415 - echo='printf %s\n'
3.416 - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
3.417 - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
3.418 - test "X$echo_testing_string" = "X$echo_test_string"; then
3.419 - # Cool, printf works
3.420 - :
3.421 - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
3.422 - test "X$echo_testing_string" = 'X\t' &&
3.423 - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
3.424 - test "X$echo_testing_string" = "X$echo_test_string"; then
3.425 - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
3.426 - export CONFIG_SHELL
3.427 - SHELL="$CONFIG_SHELL"
3.428 - export SHELL
3.429 - echo="$CONFIG_SHELL [$]0 --fallback-echo"
3.430 - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
3.431 - test "X$echo_testing_string" = 'X\t' &&
3.432 - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
3.433 - test "X$echo_testing_string" = "X$echo_test_string"; then
3.434 - echo="$CONFIG_SHELL [$]0 --fallback-echo"
3.435 - else
3.436 - # maybe with a smaller string...
3.437 - prev=:
3.438 -
3.439 - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
3.440 - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
3.441 - then
3.442 - break
3.443 - fi
3.444 - prev="$cmd"
3.445 - done
3.446 -
3.447 - if test "$prev" != 'sed 50q "[$]0"'; then
3.448 - echo_test_string=`eval $prev`
3.449 - export echo_test_string
3.450 - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
3.451 - else
3.452 - # Oops. We lost completely, so just stick with echo.
3.453 - echo=echo
3.454 - fi
3.455 - fi
3.456 - fi
3.457 - fi
3.458 -fi
3.459 -fi
3.460 -
3.461 -# Copy echo and quote the copy suitably for passing to libtool from
3.462 -# the Makefile, instead of quoting the original, which is used later.
3.463 -ECHO=$echo
3.464 -if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
3.465 - ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
3.466 -fi
3.467 -
3.468 -AC_SUBST(ECHO)
3.469 -])])# _LT_AC_PROG_ECHO_BACKSLASH
3.470 -
3.471 -
3.472 -# _LT_AC_LOCK
3.473 -# -----------
3.474 -AC_DEFUN([_LT_AC_LOCK],
3.475 -[AC_ARG_ENABLE([libtool-lock],
3.476 - [AC_HELP_STRING([--disable-libtool-lock],
3.477 - [avoid locking (might break parallel builds)])])
3.478 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3.479 -
3.480 -# Some flags need to be propagated to the compiler or linker for good
3.481 -# libtool support.
3.482 -case $host in
3.483 -ia64-*-hpux*)
3.484 - # Find out which ABI we are using.
3.485 - echo 'int i;' > conftest.$ac_ext
3.486 - if AC_TRY_EVAL(ac_compile); then
3.487 - case `/usr/bin/file conftest.$ac_objext` in
3.488 - *ELF-32*)
3.489 - HPUX_IA64_MODE="32"
3.490 - ;;
3.491 - *ELF-64*)
3.492 - HPUX_IA64_MODE="64"
3.493 - ;;
3.494 - esac
3.495 - fi
3.496 - rm -rf conftest*
3.497 - ;;
3.498 -*-*-irix6*)
3.499 - # Find out which ABI we are using.
3.500 - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
3.501 - if AC_TRY_EVAL(ac_compile); then
3.502 - if test "$lt_cv_prog_gnu_ld" = yes; then
3.503 - case `/usr/bin/file conftest.$ac_objext` in
3.504 - *32-bit*)
3.505 - LD="${LD-ld} -melf32bsmip"
3.506 - ;;
3.507 - *N32*)
3.508 - LD="${LD-ld} -melf32bmipn32"
3.509 - ;;
3.510 - *64-bit*)
3.511 - LD="${LD-ld} -melf64bmip"
3.512 - ;;
3.513 - esac
3.514 - else
3.515 - case `/usr/bin/file conftest.$ac_objext` in
3.516 - *32-bit*)
3.517 - LD="${LD-ld} -32"
3.518 - ;;
3.519 - *N32*)
3.520 - LD="${LD-ld} -n32"
3.521 - ;;
3.522 - *64-bit*)
3.523 - LD="${LD-ld} -64"
3.524 - ;;
3.525 - esac
3.526 - fi
3.527 - fi
3.528 - rm -rf conftest*
3.529 - ;;
3.530 -
3.531 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
3.532 - # Find out which ABI we are using.
3.533 - echo 'int i;' > conftest.$ac_ext
3.534 - if AC_TRY_EVAL(ac_compile); then
3.535 - case `/usr/bin/file conftest.o` in
3.536 - *32-bit*)
3.537 - case $host in
3.538 - x86_64-*linux*)
3.539 - LD="${LD-ld} -m elf_i386"
3.540 - ;;
3.541 - ppc64-*linux*|powerpc64-*linux*)
3.542 - LD="${LD-ld} -m elf32ppclinux"
3.543 - ;;
3.544 - s390x-*linux*)
3.545 - LD="${LD-ld} -m elf_s390"
3.546 - ;;
3.547 - sparc64-*linux*)
3.548 - LD="${LD-ld} -m elf32_sparc"
3.549 - ;;
3.550 - esac
3.551 - ;;
3.552 - *64-bit*)
3.553 - case $host in
3.554 - x86_64-*linux*)
3.555 - LD="${LD-ld} -m elf_x86_64"
3.556 - ;;
3.557 - ppc*-*linux*|powerpc*-*linux*)
3.558 - LD="${LD-ld} -m elf64ppc"
3.559 - ;;
3.560 - s390*-*linux*)
3.561 - LD="${LD-ld} -m elf64_s390"
3.562 - ;;
3.563 - sparc*-*linux*)
3.564 - LD="${LD-ld} -m elf64_sparc"
3.565 - ;;
3.566 - esac
3.567 - ;;
3.568 - esac
3.569 - fi
3.570 - rm -rf conftest*
3.571 - ;;
3.572 -
3.573 -*-*-sco3.2v5*)
3.574 - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3.575 - SAVE_CFLAGS="$CFLAGS"
3.576 - CFLAGS="$CFLAGS -belf"
3.577 - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
3.578 - [AC_LANG_PUSH(C)
3.579 - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
3.580 - AC_LANG_POP])
3.581 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3.582 - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3.583 - CFLAGS="$SAVE_CFLAGS"
3.584 - fi
3.585 - ;;
3.586 -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
3.587 -[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
3.588 - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
3.589 - AC_CHECK_TOOL(AS, as, false)
3.590 - AC_CHECK_TOOL(OBJDUMP, objdump, false)
3.591 - ;;
3.592 - ])
3.593 -esac
3.594 -
3.595 -need_locks="$enable_libtool_lock"
3.596 -
3.597 -])# _LT_AC_LOCK
3.598 -
3.599 -
3.600 -# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
3.601 -# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
3.602 -# ----------------------------------------------------------------
3.603 -# Check whether the given compiler option works
3.604 -AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
3.605 -[AC_REQUIRE([LT_AC_PROG_SED])
3.606 -AC_CACHE_CHECK([$1], [$2],
3.607 - [$2=no
3.608 - ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
3.609 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
3.610 - lt_compiler_flag="$3"
3.611 - # Insert the option either (1) after the last *FLAGS variable, or
3.612 - # (2) before a word containing "conftest.", or (3) at the end.
3.613 - # Note that $ac_compile itself does not contain backslashes and begins
3.614 - # with a dollar sign (not a hyphen), so the echo should work correctly.
3.615 - # The option is referenced via a variable to avoid confusing sed.
3.616 - lt_compile=`echo "$ac_compile" | $SED \
3.617 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
3.618 - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
3.619 - -e 's:$: $lt_compiler_flag:'`
3.620 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
3.621 - (eval "$lt_compile" 2>conftest.err)
3.622 - ac_status=$?
3.623 - cat conftest.err >&AS_MESSAGE_LOG_FD
3.624 - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
3.625 - if (exit $ac_status) && test -s "$ac_outfile"; then
3.626 - # The compiler can only warn and ignore the option if not recognized
3.627 - # So say no if there are warnings other than the usual output.
3.628 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
3.629 - $SED '/^$/d' conftest.err >conftest.er2
3.630 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
3.631 - $2=yes
3.632 - fi
3.633 - fi
3.634 - $rm conftest*
3.635 -])
3.636 -
3.637 -if test x"[$]$2" = xyes; then
3.638 - ifelse([$5], , :, [$5])
3.639 -else
3.640 - ifelse([$6], , :, [$6])
3.641 -fi
3.642 -])# AC_LIBTOOL_COMPILER_OPTION
3.643 -
3.644 -
3.645 -# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
3.646 -# [ACTION-SUCCESS], [ACTION-FAILURE])
3.647 -# ------------------------------------------------------------
3.648 -# Check whether the given compiler option works
3.649 -AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
3.650 -[AC_CACHE_CHECK([$1], [$2],
3.651 - [$2=no
3.652 - save_LDFLAGS="$LDFLAGS"
3.653 - LDFLAGS="$LDFLAGS $3"
3.654 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
3.655 - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
3.656 - # The linker can only warn and ignore the option if not recognized
3.657 - # So say no if there are warnings
3.658 - if test -s conftest.err; then
3.659 - # Append any errors to the config.log.
3.660 - cat conftest.err 1>&AS_MESSAGE_LOG_FD
3.661 - $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
3.662 - $SED '/^$/d' conftest.err >conftest.er2
3.663 - if diff conftest.exp conftest.er2 >/dev/null; then
3.664 - $2=yes
3.665 - fi
3.666 - else
3.667 - $2=yes
3.668 - fi
3.669 - fi
3.670 - $rm conftest*
3.671 - LDFLAGS="$save_LDFLAGS"
3.672 -])
3.673 -
3.674 -if test x"[$]$2" = xyes; then
3.675 - ifelse([$4], , :, [$4])
3.676 -else
3.677 - ifelse([$5], , :, [$5])
3.678 -fi
3.679 -])# AC_LIBTOOL_LINKER_OPTION
3.680 -
3.681 -
3.682 -# AC_LIBTOOL_SYS_MAX_CMD_LEN
3.683 -# --------------------------
3.684 -AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
3.685 -[# find the maximum length of command line arguments
3.686 -AC_MSG_CHECKING([the maximum length of command line arguments])
3.687 -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
3.688 - i=0
3.689 - teststring="ABCD"
3.690 -
3.691 - case $build_os in
3.692 - msdosdjgpp*)
3.693 - # On DJGPP, this test can blow up pretty badly due to problems in libc
3.694 - # (any single argument exceeding 2000 bytes causes a buffer overrun
3.695 - # during glob expansion). Even if it were fixed, the result of this
3.696 - # check would be larger than it should be.
3.697 - lt_cv_sys_max_cmd_len=12288; # 12K is about right
3.698 - ;;
3.699 -
3.700 - gnu*)
3.701 - # Under GNU Hurd, this test is not required because there is
3.702 - # no limit to the length of command line arguments.
3.703 - # Libtool will interpret -1 as no limit whatsoever
3.704 - lt_cv_sys_max_cmd_len=-1;
3.705 - ;;
3.706 -
3.707 - cygwin* | mingw*)
3.708 - # On Win9x/ME, this test blows up -- it succeeds, but takes
3.709 - # about 5 minutes as the teststring grows exponentially.
3.710 - # Worse, since 9x/ME are not pre-emptively multitasking,
3.711 - # you end up with a "frozen" computer, even though with patience
3.712 - # the test eventually succeeds (with a max line length of 256k).
3.713 - # Instead, let's just punt: use the minimum linelength reported by
3.714 - # all of the supported platforms: 8192 (on NT/2K/XP).
3.715 - lt_cv_sys_max_cmd_len=8192;
3.716 - ;;
3.717 -
3.718 - amigaos*)
3.719 - # On AmigaOS with pdksh, this test takes hours, literally.
3.720 - # So we just punt and use a minimum line length of 8192.
3.721 - lt_cv_sys_max_cmd_len=8192;
3.722 - ;;
3.723 -
3.724 - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3.725 - # This has been around since 386BSD, at least. Likely further.
3.726 - if test -x /sbin/sysctl; then
3.727 - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3.728 - elif test -x /usr/sbin/sysctl; then
3.729 - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3.730 - else
3.731 - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
3.732 - fi
3.733 - # And add a safety zone
3.734 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3.735 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3.736 - ;;
3.737 - osf*)
3.738 - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3.739 - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3.740 - # nice to cause kernel panics so lets avoid the loop below.
3.741 - # First set a reasonable default.
3.742 - lt_cv_sys_max_cmd_len=16384
3.743 - #
3.744 - if test -x /sbin/sysconfig; then
3.745 - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3.746 - *1*) lt_cv_sys_max_cmd_len=-1 ;;
3.747 - esac
3.748 - fi
3.749 - ;;
3.750 - *)
3.751 - # If test is not a shell built-in, we'll probably end up computing a
3.752 - # maximum length that is only half of the actual maximum length, but
3.753 - # we can't tell.
3.754 - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
3.755 - while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
3.756 - = "XX$teststring") >/dev/null 2>&1 &&
3.757 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
3.758 - lt_cv_sys_max_cmd_len=$new_result &&
3.759 - test $i != 17 # 1/2 MB should be enough
3.760 - do
3.761 - i=`expr $i + 1`
3.762 - teststring=$teststring$teststring
3.763 - done
3.764 - teststring=
3.765 - # Add a significant safety factor because C++ compilers can tack on massive
3.766 - # amounts of additional arguments before passing them to the linker.
3.767 - # It appears as though 1/2 is a usable value.
3.768 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
3.769 - ;;
3.770 - esac
3.771 -])
3.772 -if test -n $lt_cv_sys_max_cmd_len ; then
3.773 - AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
3.774 -else
3.775 - AC_MSG_RESULT(none)
3.776 -fi
3.777 -])# AC_LIBTOOL_SYS_MAX_CMD_LEN
3.778 -
3.779 -
3.780 -# _LT_AC_CHECK_DLFCN
3.781 -# --------------------
3.782 -AC_DEFUN([_LT_AC_CHECK_DLFCN],
3.783 -[AC_CHECK_HEADERS(dlfcn.h)dnl
3.784 -])# _LT_AC_CHECK_DLFCN
3.785 -
3.786 -
3.787 -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
3.788 -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
3.789 -# ------------------------------------------------------------------
3.790 -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
3.791 -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
3.792 -if test "$cross_compiling" = yes; then :
3.793 - [$4]
3.794 -else
3.795 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
3.796 - lt_status=$lt_dlunknown
3.797 - cat > conftest.$ac_ext <<EOF
3.798 -[#line __oline__ "configure"
3.799 -#include "confdefs.h"
3.800 -
3.801 -#if HAVE_DLFCN_H
3.802 -#include <dlfcn.h>
3.803 -#endif
3.804 -
3.805 -#include <stdio.h>
3.806 -
3.807 -#ifdef RTLD_GLOBAL
3.808 -# define LT_DLGLOBAL RTLD_GLOBAL
3.809 -#else
3.810 -# ifdef DL_GLOBAL
3.811 -# define LT_DLGLOBAL DL_GLOBAL
3.812 -# else
3.813 -# define LT_DLGLOBAL 0
3.814 -# endif
3.815 -#endif
3.816 -
3.817 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
3.818 - find out it does not work in some platform. */
3.819 -#ifndef LT_DLLAZY_OR_NOW
3.820 -# ifdef RTLD_LAZY
3.821 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
3.822 -# else
3.823 -# ifdef DL_LAZY
3.824 -# define LT_DLLAZY_OR_NOW DL_LAZY
3.825 -# else
3.826 -# ifdef RTLD_NOW
3.827 -# define LT_DLLAZY_OR_NOW RTLD_NOW
3.828 -# else
3.829 -# ifdef DL_NOW
3.830 -# define LT_DLLAZY_OR_NOW DL_NOW
3.831 -# else
3.832 -# define LT_DLLAZY_OR_NOW 0
3.833 -# endif
3.834 -# endif
3.835 -# endif
3.836 -# endif
3.837 -#endif
3.838 -
3.839 -#ifdef __cplusplus
3.840 -extern "C" void exit (int);
3.841 -#endif
3.842 -
3.843 -void fnord() { int i=42;}
3.844 -int main ()
3.845 -{
3.846 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
3.847 - int status = $lt_dlunknown;
3.848 -
3.849 - if (self)
3.850 - {
3.851 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
3.852 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
3.853 - /* dlclose (self); */
3.854 - }
3.855 -
3.856 - exit (status);
3.857 -}]
3.858 -EOF
3.859 - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
3.860 - (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
3.861 - lt_status=$?
3.862 - case x$lt_status in
3.863 - x$lt_dlno_uscore) $1 ;;
3.864 - x$lt_dlneed_uscore) $2 ;;
3.865 - x$lt_unknown|x*) $3 ;;
3.866 - esac
3.867 - else :
3.868 - # compilation failed
3.869 - $3
3.870 - fi
3.871 -fi
3.872 -rm -fr conftest*
3.873 -])# _LT_AC_TRY_DLOPEN_SELF
3.874 -
3.875 -
3.876 -# AC_LIBTOOL_DLOPEN_SELF
3.877 -# -------------------
3.878 -AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
3.879 -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
3.880 -if test "x$enable_dlopen" != xyes; then
3.881 - enable_dlopen=unknown
3.882 - enable_dlopen_self=unknown
3.883 - enable_dlopen_self_static=unknown
3.884 -else
3.885 - lt_cv_dlopen=no
3.886 - lt_cv_dlopen_libs=
3.887 -
3.888 - case $host_os in
3.889 - beos*)
3.890 - lt_cv_dlopen="load_add_on"
3.891 - lt_cv_dlopen_libs=
3.892 - lt_cv_dlopen_self=yes
3.893 - ;;
3.894 -
3.895 - mingw* | pw32*)
3.896 - lt_cv_dlopen="LoadLibrary"
3.897 - lt_cv_dlopen_libs=
3.898 - ;;
3.899 -
3.900 - cygwin*)
3.901 - lt_cv_dlopen="dlopen"
3.902 - lt_cv_dlopen_libs=
3.903 - ;;
3.904 -
3.905 - darwin*)
3.906 - # if libdl is installed we need to link against it
3.907 - AC_CHECK_LIB([dl], [dlopen],
3.908 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
3.909 - lt_cv_dlopen="dyld"
3.910 - lt_cv_dlopen_libs=
3.911 - lt_cv_dlopen_self=yes
3.912 - ])
3.913 - ;;
3.914 -
3.915 - *)
3.916 - AC_CHECK_FUNC([shl_load],
3.917 - [lt_cv_dlopen="shl_load"],
3.918 - [AC_CHECK_LIB([dld], [shl_load],
3.919 - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
3.920 - [AC_CHECK_FUNC([dlopen],
3.921 - [lt_cv_dlopen="dlopen"],
3.922 - [AC_CHECK_LIB([dl], [dlopen],
3.923 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
3.924 - [AC_CHECK_LIB([svld], [dlopen],
3.925 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
3.926 - [AC_CHECK_LIB([dld], [dld_link],
3.927 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
3.928 - ])
3.929 - ])
3.930 - ])
3.931 - ])
3.932 - ])
3.933 - ;;
3.934 - esac
3.935 -
3.936 - if test "x$lt_cv_dlopen" != xno; then
3.937 - enable_dlopen=yes
3.938 - else
3.939 - enable_dlopen=no
3.940 - fi
3.941 -
3.942 - case $lt_cv_dlopen in
3.943 - dlopen)
3.944 - save_CPPFLAGS="$CPPFLAGS"
3.945 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
3.946 -
3.947 - save_LDFLAGS="$LDFLAGS"
3.948 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
3.949 -
3.950 - save_LIBS="$LIBS"
3.951 - LIBS="$lt_cv_dlopen_libs $LIBS"
3.952 -
3.953 - AC_CACHE_CHECK([whether a program can dlopen itself],
3.954 - lt_cv_dlopen_self, [dnl
3.955 - _LT_AC_TRY_DLOPEN_SELF(
3.956 - lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
3.957 - lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
3.958 - ])
3.959 -
3.960 - if test "x$lt_cv_dlopen_self" = xyes; then
3.961 - LDFLAGS="$LDFLAGS $link_static_flag"
3.962 - AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
3.963 - lt_cv_dlopen_self_static, [dnl
3.964 - _LT_AC_TRY_DLOPEN_SELF(
3.965 - lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
3.966 - lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
3.967 - ])
3.968 - fi
3.969 -
3.970 - CPPFLAGS="$save_CPPFLAGS"
3.971 - LDFLAGS="$save_LDFLAGS"
3.972 - LIBS="$save_LIBS"
3.973 - ;;
3.974 - esac
3.975 -
3.976 - case $lt_cv_dlopen_self in
3.977 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
3.978 - *) enable_dlopen_self=unknown ;;
3.979 - esac
3.980 -
3.981 - case $lt_cv_dlopen_self_static in
3.982 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
3.983 - *) enable_dlopen_self_static=unknown ;;
3.984 - esac
3.985 -fi
3.986 -])# AC_LIBTOOL_DLOPEN_SELF
3.987 -
3.988 -
3.989 -# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
3.990 -# ---------------------------------
3.991 -# Check to see if options -c and -o are simultaneously supported by compiler
3.992 -AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
3.993 -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
3.994 -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
3.995 - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
3.996 - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
3.997 - $rm -r conftest 2>/dev/null
3.998 - mkdir conftest
3.999 - cd conftest
3.1000 - mkdir out
3.1001 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
3.1002 -
3.1003 - lt_compiler_flag="-o out/conftest2.$ac_objext"
3.1004 - # Insert the option either (1) after the last *FLAGS variable, or
3.1005 - # (2) before a word containing "conftest.", or (3) at the end.
3.1006 - # Note that $ac_compile itself does not contain backslashes and begins
3.1007 - # with a dollar sign (not a hyphen), so the echo should work correctly.
3.1008 - lt_compile=`echo "$ac_compile" | $SED \
3.1009 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
3.1010 - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
3.1011 - -e 's:$: $lt_compiler_flag:'`
3.1012 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
3.1013 - (eval "$lt_compile" 2>out/conftest.err)
3.1014 - ac_status=$?
3.1015 - cat out/conftest.err >&AS_MESSAGE_LOG_FD
3.1016 - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
3.1017 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
3.1018 - then
3.1019 - # The compiler can only warn and ignore the option if not recognized
3.1020 - # So say no if there are warnings
3.1021 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
3.1022 - $SED '/^$/d' out/conftest.err >out/conftest.er2
3.1023 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
3.1024 - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
3.1025 - fi
3.1026 - fi
3.1027 - chmod u+w . 2>&AS_MESSAGE_LOG_FD
3.1028 - $rm conftest*
3.1029 - # SGI C++ compiler will create directory out/ii_files/ for
3.1030 - # template instantiation
3.1031 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
3.1032 - $rm out/* && rmdir out
3.1033 - cd ..
3.1034 - rmdir conftest
3.1035 - $rm conftest*
3.1036 -])
3.1037 -])# AC_LIBTOOL_PROG_CC_C_O
3.1038 -
3.1039 -
3.1040 -# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
3.1041 -# -----------------------------------------
3.1042 -# Check to see if we can do hard links to lock some files if needed
3.1043 -AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
3.1044 -[AC_REQUIRE([_LT_AC_LOCK])dnl
3.1045 -
3.1046 -hard_links="nottested"
3.1047 -if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
3.1048 - # do not overwrite the value of need_locks provided by the user
3.1049 - AC_MSG_CHECKING([if we can lock with hard links])
3.1050 - hard_links=yes
3.1051 - $rm conftest*
3.1052 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
3.1053 - touch conftest.a
3.1054 - ln conftest.a conftest.b 2>&5 || hard_links=no
3.1055 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
3.1056 - AC_MSG_RESULT([$hard_links])
3.1057 - if test "$hard_links" = no; then
3.1058 - AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
3.1059 - need_locks=warn
3.1060 - fi
3.1061 -else
3.1062 - need_locks=no
3.1063 -fi
3.1064 -])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
3.1065 -
3.1066 -
3.1067 -# AC_LIBTOOL_OBJDIR
3.1068 -# -----------------
3.1069 -AC_DEFUN([AC_LIBTOOL_OBJDIR],
3.1070 -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
3.1071 -[rm -f .libs 2>/dev/null
3.1072 -mkdir .libs 2>/dev/null
3.1073 -if test -d .libs; then
3.1074 - lt_cv_objdir=.libs
3.1075 -else
3.1076 - # MS-DOS does not allow filenames that begin with a dot.
3.1077 - lt_cv_objdir=_libs
3.1078 -fi
3.1079 -rmdir .libs 2>/dev/null])
3.1080 -objdir=$lt_cv_objdir
3.1081 -])# AC_LIBTOOL_OBJDIR
3.1082 -
3.1083 -
3.1084 -# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
3.1085 -# ----------------------------------------------
3.1086 -# Check hardcoding attributes.
3.1087 -AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
3.1088 -[AC_MSG_CHECKING([how to hardcode library paths into programs])
3.1089 -_LT_AC_TAGVAR(hardcode_action, $1)=
3.1090 -if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
3.1091 - test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
3.1092 - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
3.1093 -
3.1094 - # We can hardcode non-existant directories.
3.1095 - if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
3.1096 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
3.1097 - # have to relink, otherwise we might link with an installed library
3.1098 - # when we should be linking with a yet-to-be-installed one
3.1099 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
3.1100 - test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
3.1101 - # Linking always hardcodes the temporary library directory.
3.1102 - _LT_AC_TAGVAR(hardcode_action, $1)=relink
3.1103 - else
3.1104 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
3.1105 - _LT_AC_TAGVAR(hardcode_action, $1)=immediate
3.1106 - fi
3.1107 -else
3.1108 - # We cannot hardcode anything, or else we can only hardcode existing
3.1109 - # directories.
3.1110 - _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
3.1111 -fi
3.1112 -AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
3.1113 -
3.1114 -if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
3.1115 - # Fast installation is not supported
3.1116 - enable_fast_install=no
3.1117 -elif test "$shlibpath_overrides_runpath" = yes ||
3.1118 - test "$enable_shared" = no; then
3.1119 - # Fast installation is not necessary
3.1120 - enable_fast_install=needless
3.1121 -fi
3.1122 -])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
3.1123 -
3.1124 -
3.1125 -# AC_LIBTOOL_SYS_LIB_STRIP
3.1126 -# ------------------------
3.1127 -AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
3.1128 -[striplib=
3.1129 -old_striplib=
3.1130 -AC_MSG_CHECKING([whether stripping libraries is possible])
3.1131 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
3.1132 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
3.1133 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
3.1134 - AC_MSG_RESULT([yes])
3.1135 -else
3.1136 -# FIXME - insert some real tests, host_os isn't really good enough
3.1137 - case $host_os in
3.1138 - darwin*)
3.1139 - if test -n "$STRIP" ; then
3.1140 - striplib="$STRIP -x"
3.1141 - AC_MSG_RESULT([yes])
3.1142 - else
3.1143 - AC_MSG_RESULT([no])
3.1144 -fi
3.1145 - ;;
3.1146 - *)
3.1147 - AC_MSG_RESULT([no])
3.1148 - ;;
3.1149 - esac
3.1150 -fi
3.1151 -])# AC_LIBTOOL_SYS_LIB_STRIP
3.1152 -
3.1153 -
3.1154 -# AC_LIBTOOL_SYS_DYNAMIC_LINKER
3.1155 -# -----------------------------
3.1156 -# PORTME Fill in your ld.so characteristics
3.1157 -AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
3.1158 -[AC_MSG_CHECKING([dynamic linker characteristics])
3.1159 -library_names_spec=
3.1160 -libname_spec='lib$name'
3.1161 -soname_spec=
3.1162 -shrext_cmds=".so"
3.1163 -postinstall_cmds=
3.1164 -postuninstall_cmds=
3.1165 -finish_cmds=
3.1166 -finish_eval=
3.1167 -shlibpath_var=
3.1168 -shlibpath_overrides_runpath=unknown
3.1169 -version_type=none
3.1170 -dynamic_linker="$host_os ld.so"
3.1171 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
3.1172 -if test "$GCC" = yes; then
3.1173 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3.1174 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
3.1175 - # if the path contains ";" then we assume it to be the separator
3.1176 - # otherwise default to the standard path separator (i.e. ":") - it is
3.1177 - # assumed that no part of a normal pathname contains ";" but that should
3.1178 - # okay in the real world where ";" in dirpaths is itself problematic.
3.1179 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
3.1180 - else
3.1181 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
3.1182 - fi
3.1183 -else
3.1184 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
3.1185 -fi
3.1186 -need_lib_prefix=unknown
3.1187 -hardcode_into_libs=no
3.1188 -
3.1189 -# when you set need_version to no, make sure it does not cause -set_version
3.1190 -# flags to be left without arguments
3.1191 -need_version=unknown
3.1192 -
3.1193 -case $host_os in
3.1194 -aix3*)
3.1195 - version_type=linux
3.1196 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
3.1197 - shlibpath_var=LIBPATH
3.1198 -
3.1199 - # AIX 3 has no versioning support, so we append a major version to the name.
3.1200 - soname_spec='${libname}${release}${shared_ext}$major'
3.1201 - ;;
3.1202 -
3.1203 -aix4* | aix5*)
3.1204 - version_type=linux
3.1205 - need_lib_prefix=no
3.1206 - need_version=no
3.1207 - hardcode_into_libs=yes
3.1208 - if test "$host_cpu" = ia64; then
3.1209 - # AIX 5 supports IA64
3.1210 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
3.1211 - shlibpath_var=LD_LIBRARY_PATH
3.1212 - else
3.1213 - # With GCC up to 2.95.x, collect2 would create an import file
3.1214 - # for dependence libraries. The import file would start with
3.1215 - # the line `#! .'. This would cause the generated library to
3.1216 - # depend on `.', always an invalid library. This was fixed in
3.1217 - # development snapshots of GCC prior to 3.0.
3.1218 - case $host_os in
3.1219 - aix4 | aix4.[[01]] | aix4.[[01]].*)
3.1220 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
3.1221 - echo ' yes '
3.1222 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
3.1223 - :
3.1224 - else
3.1225 - can_build_shared=no
3.1226 - fi
3.1227 - ;;
3.1228 - esac
3.1229 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
3.1230 - # soname into executable. Probably we can add versioning support to
3.1231 - # collect2, so additional links can be useful in future.
3.1232 - if test "$aix_use_runtimelinking" = yes; then
3.1233 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
3.1234 - # instead of lib<name>.a to let people know that these are not
3.1235 - # typical AIX shared libraries.
3.1236 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3.1237 - else
3.1238 - # We preserve .a as extension for shared libraries through AIX4.2
3.1239 - # and later when we are not doing run time linking.
3.1240 - library_names_spec='${libname}${release}.a $libname.a'
3.1241 - soname_spec='${libname}${release}${shared_ext}$major'
3.1242 - fi
3.1243 - shlibpath_var=LIBPATH
3.1244 - fi
3.1245 - ;;
3.1246 -
3.1247 -amigaos*)
3.1248 - library_names_spec='$libname.ixlibrary $libname.a'
3.1249 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
3.1250 - 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'
3.1251 - ;;
3.1252 -
3.1253 -beos*)
3.1254 - library_names_spec='${libname}${shared_ext}'
3.1255 - dynamic_linker="$host_os ld.so"
3.1256 - shlibpath_var=LIBRARY_PATH
3.1257 - ;;
3.1258 -
3.1259 -bsdi[[45]]*)
3.1260 - version_type=linux
3.1261 - need_version=no
3.1262 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3.1263 - soname_spec='${libname}${release}${shared_ext}$major'
3.1264 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
3.1265 - shlibpath_var=LD_LIBRARY_PATH
3.1266 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
3.1267 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
3.1268 - # the default ld.so.conf also contains /usr/contrib/lib and
3.1269 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
3.1270 - # libtool to hard-code these into programs
3.1271 - ;;
3.1272 -
3.1273 -cygwin* | mingw* | pw32*)
3.1274 - version_type=windows
3.1275 - shrext_cmds=".dll"
3.1276 - need_version=no
3.1277 - need_lib_prefix=no
3.1278 -
3.1279 - case $GCC,$host_os in
3.1280 - yes,cygwin* | yes,mingw* | yes,pw32*)
3.1281 - library_names_spec='$libname.dll.a'
3.1282 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
3.1283 - postinstall_cmds='base_file=`basename \${file}`~
3.1284 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
3.1285 - dldir=$destdir/`dirname \$dlpath`~
3.1286 - test -d \$dldir || mkdir -p \$dldir~
3.1287 - $install_prog $dir/$dlname \$dldir/$dlname~
3.1288 - chmod a+x \$dldir/$dlname'
3.1289 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
3.1290 - dlpath=$dir/\$dldll~
3.1291 - $rm \$dlpath'
3.1292 - shlibpath_overrides_runpath=yes
3.1293 -
3.1294 - case $host_os in
3.1295 - cygwin*)
3.1296 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
3.1297 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3.1298 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
3.1299 - ;;
3.1300 - mingw*)
3.1301 - # MinGW DLLs use traditional 'lib' prefix
3.1302 - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3.1303 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3.1304 - if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
3.1305 - # It is most probably a Windows format PATH printed by
3.1306 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
3.1307 - # path with ; separators, and with drive letters. We can handle the
3.1308 - # drive letters (cygwin fileutils understands them), so leave them,
3.1309 - # especially as we might pass files found there to a mingw objdump,
3.1310 - # which wouldn't understand a cygwinified path. Ahh.
3.1311 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
3.1312 - else
3.1313 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
3.1314 - fi
3.1315 - ;;
3.1316 - pw32*)
3.1317 - # pw32 DLLs use 'pw' prefix rather than 'lib'
3.1318 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3.1319 - ;;
3.1320 - esac
3.1321 - ;;
3.1322 -
3.1323 - *)
3.1324 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
3.1325 - ;;
3.1326 - esac
3.1327 - dynamic_linker='Win32 ld.exe'
3.1328 - # FIXME: first we should search . and the directory the executable is in
3.1329 - shlibpath_var=PATH
3.1330 - ;;
3.1331 -
3.1332 -darwin* | rhapsody*)
3.1333 - dynamic_linker="$host_os dyld"
3.1334 - version_type=darwin
3.1335 - need_lib_prefix=no
3.1336 - need_version=no
3.1337 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
3.1338 - soname_spec='${libname}${release}${major}$shared_ext'
3.1339 - shlibpath_overrides_runpath=yes
3.1340 - shlibpath_var=DYLD_LIBRARY_PATH
3.1341 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
3.1342 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
3.1343 - if test "$GCC" = yes; then
3.1344 - 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"`
3.1345 - else
3.1346 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
3.1347 - fi
3.1348 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
3.1349 - ;;
3.1350 -
3.1351 -dgux*)
3.1352 - version_type=linux
3.1353 - need_lib_prefix=no
3.1354 - need_version=no
3.1355 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
3.1356 - soname_spec='${libname}${release}${shared_ext}$major'
3.1357 - shlibpath_var=LD_LIBRARY_PATH
3.1358 - ;;
3.1359 -
3.1360 -freebsd1*)
3.1361 - dynamic_linker=no
3.1362 - ;;
3.1363 -
3.1364 -kfreebsd*-gnu)
3.1365 - version_type=linux
3.1366 - need_lib_prefix=no
3.1367 - need_version=no
3.1368 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3.1369 - soname_spec='${libname}${release}${shared_ext}$major'
3.1370 - shlibpath_var=LD_LIBRARY_PATH
3.1371 - shlibpath_overrides_runpath=no
3.1372 - hardcode_into_libs=yes
3.1373 - dynamic_linker='GNU ld.so'
3.1374 - ;;
3.1375 -
3.1376 -freebsd* | dragonfly*)
3.1377 - # DragonFly does not have aout. When/if they implement a new
3.1378 - # versioning mechanism, adjust this.
3.1379 - if test -x /usr/bin/objformat; then
3.1380 - objformat=`/usr/bin/objformat`
3.1381 - else
3.1382 - case $host_os in
3.1383 - freebsd[[123]]*) objformat=aout ;;
3.1384 - *) objformat=elf ;;
3.1385 - esac
3.1386 - fi
3.1387 - version_type=freebsd-$objformat
3.1388 - case $version_type in
3.1389 - freebsd-elf*)
3.1390 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
3.1391 - need_version=no
3.1392 - need_lib_prefix=no
3.1393 - ;;
3.1394 - freebsd-*)
3.1395 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
3.1396 - need_version=yes
3.1397 - ;;
3.1398 - esac
3.1399 - shlibpath_var=LD_LIBRARY_PATH
3.1400 - case $host_os in
3.1401 - freebsd2*)
3.1402 - shlibpath_overrides_runpath=yes
3.1403 - ;;
3.1404 - freebsd3.[[01]]* | freebsdelf3.[[01]]*)
3.1405 - shlibpath_overrides_runpath=yes
3.1406 - hardcode_into_libs=yes
3.1407 - ;;
3.1408 - *) # from 3.2 on
3.1409 - shlibpath_overrides_runpath=no
3.1410 - hardcode_into_libs=yes
3.1411 - ;;
3.1412 - esac
3.1413 - ;;
3.1414 -
3.1415 -gnu*)
3.1416 - version_type=linux
3.1417 - need_lib_prefix=no
3.1418 - need_version=no
3.1419 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
3.1420 - soname_spec='${libname}${release}${shared_ext}$major'
3.1421 - shlibpath_var=LD_LIBRARY_PATH
3.1422 - hardcode_into_libs=yes
3.1423 - ;;
3.1424 -
3.1425 -hpux9* | hpux10* | hpux11*)
3.1426 - # Give a soname corresponding to the major version so that dld.sl refuses to
3.1427 - # link against other versions.
3.1428 - version_type=sunos
3.1429 - need_lib_prefix=no
3.1430 - need_version=no
3.1431 - case $host_cpu in
3.1432 - ia64*)
3.1433 - shrext_cmds='.so'
3.1434 - hardcode_into_libs=yes
3.1435 - dynamic_linker="$host_os dld.so"
3.1436 - shlibpath_var=LD_LIBRARY_PATH
3.1437 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
3.1438 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3.1439 - soname_spec='${libname}${release}${shared_ext}$major'
3.1440 - if test "X$HPUX_IA64_MODE" = X32; then
3.1441 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
3.1442 - else
3.1443 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
3.1444 - fi
3.1445 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
3.1446 - ;;
3.1447 - hppa*64*)
3.1448 - shrext_cmds='.sl'
3.1449 - hardcode_into_libs=yes
3.1450 - dynamic_linker="$host_os dld.sl"
3.1451 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
3.1452 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
3.1453 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3.1454 - soname_spec='${libname}${release}${shared_ext}$major'
3.1455 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
3.1456 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
3.1457 - ;;
3.1458 - *)
3.1459 - shrext_cmds='.sl'
3.1460 - dynamic_linker="$host_os dld.sl"
3.1461 - shlibpath_var=SHLIB_PATH
3.1462 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
3.1463 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3.1464 - soname_spec='${libname}${release}${shared_ext}$major'
3.1465 - ;;
3.1466 - esac
3.1467 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
3.1468 - postinstall_cmds='chmod 555 $lib'
3.1469 - ;;
3.1470 -
3.1471 -irix5* | irix6* | nonstopux*)
3.1472 - case $host_os in
3.1473 - nonstopux*) version_type=nonstopux ;;
3.1474 - *)
3.1475 - if test "$lt_cv_prog_gnu_ld" = yes; then
3.1476 - version_type=linux
3.1477 - else
3.1478 - version_type=irix
3.1479 - fi ;;
3.1480 - esac
3.1481 - need_lib_prefix=no
3.1482 - need_version=no
3.1483 - soname_spec='${libname}${release}${shared_ext}$major'
3.1484 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
3.1485 - case $host_os in
3.1486 - irix5* | nonstopux*)
3.1487 - libsuff= shlibsuff=
3.1488 - ;;
3.1489 - *)
3.1490 - case $LD in # libtool.m4 will add one of these switches to LD
3.1491 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
3.1492 - libsuff= shlibsuff= libmagic=32-bit;;
3.1493 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
3.1494 - libsuff=32 shlibsuff=N32 libmagic=N32;;
3.1495 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
3.1496 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
3.1497 - *) libsuff= shlibsuff= libmagic=never-match;;
3.1498 - esac
3.1499 - ;;
3.1500 - esac
3.1501 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
3.1502 - shlibpath_overrides_runpath=no
3.1503 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
3.1504 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
3.1505 - hardcode_into_libs=yes
3.1506 - ;;
3.1507 -
3.1508 -# No shared lib support for Linux oldld, aout, or coff.
3.1509 -linux*oldld* | linux*aout* | linux*coff*)
3.1510 - dynamic_linker=no
3.1511 - ;;
3.1512 -
3.1513 -# This must be Linux ELF.
3.1514 -linux*)
3.1515 - version_type=linux
3.1516 - need_lib_prefix=no
3.1517 - need_version=no
3.1518 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3.1519 - soname_spec='${libname}${release}${shared_ext}$major'
3.1520 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
3.1521 - shlibpath_var=LD_LIBRARY_PATH
3.1522 - shlibpath_overrides_runpath=no
3.1523 - # This implies no fast_install, which is unacceptable.
3.1524 - # Some rework will be needed to allow for fast_install
3.1525 - # before this can be enabled.
3.1526 - hardcode_into_libs=yes
3.1527 -
3.1528 - # Append ld.so.conf contents to the search path
3.1529 - if test -f /etc/ld.so.conf; then
3.1530 - 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' ' '`
3.1531 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
3.1532 - fi
3.1533 -
3.1534 - # We used to test for /lib/ld.so.1 and disable shared libraries on
3.1535 - # powerpc, because MkLinux only supported shared libraries with the
3.1536 - # GNU dynamic linker. Since this was broken with cross compilers,
3.1537 - # most powerpc-linux boxes support dynamic linking these days and
3.1538 - # people can always --disable-shared, the test was removed, and we
3.1539 - # assume the GNU/Linux dynamic linker is in use.
3.1540 - dynamic_linker='GNU/Linux ld.so'
3.1541 - ;;
3.1542 -
3.1543 -knetbsd*-gnu)
3.1544 - version_type=linux
3.1545 - need_lib_prefix=no
3.1546 - need_version=no
3.1547 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3.1548 - soname_spec='${libname}${release}${shared_ext}$major'
3.1549 - shlibpath_var=LD_LIBRARY_PATH
3.1550 - shlibpath_overrides_runpath=no
3.1551 - hardcode_into_libs=yes
3.1552 - dynamic_linker='GNU ld.so'
3.1553 - ;;
3.1554 -
3.1555 -netbsd*)
3.1556 - version_type=sunos
3.1557 - need_lib_prefix=no
3.1558 - need_version=no
3.1559 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3.1560 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
3.1561 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
3.1562 - dynamic_linker='NetBSD (a.out) ld.so'
3.1563 - else
3.1564 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3.1565 - soname_spec='${libname}${release}${shared_ext}$major'
3.1566 - dynamic_linker='NetBSD ld.elf_so'
3.1567 - fi
3.1568 - shlibpath_var=LD_LIBRARY_PATH
3.1569 - shlibpath_overrides_runpath=yes
3.1570 - hardcode_into_libs=yes
3.1571 - ;;
3.1572 -
3.1573 -newsos6)
3.1574 - version_type=linux
3.1575 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3.1576 - shlibpath_var=LD_LIBRARY_PATH
3.1577 - shlibpath_overrides_runpath=yes
3.1578 - ;;
3.1579 -
3.1580 -nto-qnx*)
3.1581 - version_type=linux
3.1582 - need_lib_prefix=no
3.1583 - need_version=no
3.1584 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3.1585 - soname_spec='${libname}${release}${shared_ext}$major'
3.1586 - shlibpath_var=LD_LIBRARY_PATH
3.1587 - shlibpath_overrides_runpath=yes
3.1588 - ;;
3.1589 -
3.1590 -openbsd*)
3.1591 - version_type=sunos
3.1592 - need_lib_prefix=no
3.1593 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
3.1594 - case $host_os in
3.1595 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
3.1596 - *) need_version=no ;;
3.1597 - esac
3.1598 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
3.1599 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
3.1600 - shlibpath_var=LD_LIBRARY_PATH
3.1601 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3.1602 - case $host_os in
3.1603 - openbsd2.[[89]] | openbsd2.[[89]].*)
3.1604 - shlibpath_overrides_runpath=no
3.1605 - ;;
3.1606 - *)
3.1607 - shlibpath_overrides_runpath=yes
3.1608 - ;;
3.1609 - esac
3.1610 - else
3.1611 - shlibpath_overrides_runpath=yes
3.1612 - fi
3.1613 - ;;
3.1614 -
3.1615 -os2*)
3.1616 - libname_spec='$name'
3.1617 - shrext_cmds=".dll"
3.1618 - need_lib_prefix=no
3.1619 - library_names_spec='$libname${shared_ext} $libname.a'
3.1620 - dynamic_linker='OS/2 ld.exe'
3.1621 - shlibpath_var=LIBPATH
3.1622 - ;;
3.1623 -
3.1624 -osf3* | osf4* | osf5*)
3.1625 - version_type=osf
3.1626 - need_lib_prefix=no
3.1627 - need_version=no
3.1628 - soname_spec='${libname}${release}${shared_ext}$major'
3.1629 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3.1630 - shlibpath_var=LD_LIBRARY_PATH
3.1631 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
3.1632 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
3.1633 - ;;
3.1634 -
3.1635 -sco3.2v5*)
3.1636 - version_type=osf
3.1637 - soname_spec='${libname}${release}${shared_ext}$major'
3.1638 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3.1639 - shlibpath_var=LD_LIBRARY_PATH
3.1640 - ;;
3.1641 -
3.1642 -solaris*)
3.1643 - version_type=linux
3.1644 - need_lib_prefix=no
3.1645 - need_version=no
3.1646 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3.1647 - soname_spec='${libname}${release}${shared_ext}$major'
3.1648 - shlibpath_var=LD_LIBRARY_PATH
3.1649 - shlibpath_overrides_runpath=yes
3.1650 - hardcode_into_libs=yes
3.1651 - # ldd complains unless libraries are executable
3.1652 - postinstall_cmds='chmod +x $lib'
3.1653 - ;;
3.1654 -
3.1655 -sunos4*)
3.1656 - version_type=sunos
3.1657 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
3.1658 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
3.1659 - shlibpath_var=LD_LIBRARY_PATH
3.1660 - shlibpath_overrides_runpath=yes
3.1661 - if test "$with_gnu_ld" = yes; then
3.1662 - need_lib_prefix=no
3.1663 - fi
3.1664 - need_version=yes
3.1665 - ;;
3.1666 -
3.1667 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3.1668 - version_type=linux
3.1669 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3.1670 - soname_spec='${libname}${release}${shared_ext}$major'
3.1671 - shlibpath_var=LD_LIBRARY_PATH
3.1672 - case $host_vendor in
3.1673 - sni)
3.1674 - shlibpath_overrides_runpath=no
3.1675 - need_lib_prefix=no
3.1676 - export_dynamic_flag_spec='${wl}-Blargedynsym'
3.1677 - runpath_var=LD_RUN_PATH
3.1678 - ;;
3.1679 - siemens)
3.1680 - need_lib_prefix=no
3.1681 - ;;
3.1682 - motorola)
3.1683 - need_lib_prefix=no
3.1684 - need_version=no
3.1685 - shlibpath_overrides_runpath=no
3.1686 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
3.1687 - ;;
3.1688 - esac
3.1689 - ;;
3.1690 -
3.1691 -sysv4*MP*)
3.1692 - if test -d /usr/nec ;then
3.1693 - version_type=linux
3.1694 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
3.1695 - soname_spec='$libname${shared_ext}.$major'
3.1696 - shlibpath_var=LD_LIBRARY_PATH
3.1697 - fi
3.1698 - ;;
3.1699 -
3.1700 -uts4*)
3.1701 - version_type=linux
3.1702 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3.1703 - soname_spec='${libname}${release}${shared_ext}$major'
3.1704 - shlibpath_var=LD_LIBRARY_PATH
3.1705 - ;;
3.1706 -
3.1707 -*)
3.1708 - dynamic_linker=no
3.1709 - ;;
3.1710 -esac
3.1711 -AC_MSG_RESULT([$dynamic_linker])
3.1712 -test "$dynamic_linker" = no && can_build_shared=no
3.1713 -])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
3.1714 -
3.1715 -
3.1716 -# _LT_AC_TAGCONFIG
3.1717 -# ----------------
3.1718 -AC_DEFUN([_LT_AC_TAGCONFIG],
3.1719 -[AC_ARG_WITH([tags],
3.1720 - [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
3.1721 - [include additional configurations @<:@automatic@:>@])],
3.1722 - [tagnames="$withval"])
3.1723 -
3.1724 -if test -f "$ltmain" && test -n "$tagnames"; then
3.1725 - if test ! -f "${ofile}"; then
3.1726 - AC_MSG_WARN([output file `$ofile' does not exist])
3.1727 - fi
3.1728 -
3.1729 - if test -z "$LTCC"; then
3.1730 - eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
3.1731 - if test -z "$LTCC"; then
3.1732 - AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
3.1733 - else
3.1734 - AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
3.1735 - fi
3.1736 - fi
3.1737 -
3.1738 - # Extract list of available tagged configurations in $ofile.
3.1739 - # Note that this assumes the entire list is on one line.
3.1740 - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
3.1741 -
3.1742 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3.1743 - for tagname in $tagnames; do
3.1744 - IFS="$lt_save_ifs"
3.1745 - # Check whether tagname contains only valid characters
3.1746 - case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
3.1747 - "") ;;
3.1748 - *) AC_MSG_ERROR([invalid tag name: $tagname])
3.1749 - ;;
3.1750 - esac
3.1751 -
3.1752 - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
3.1753 - then
3.1754 - AC_MSG_ERROR([tag name \"$tagname\" already exists])
3.1755 - fi
3.1756 -
3.1757 - # Update the list of available tags.
3.1758 - if test -n "$tagname"; then
3.1759 - echo appending configuration tag \"$tagname\" to $ofile
3.1760 -
3.1761 - case $tagname in
3.1762 - CXX)
3.1763 - if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
3.1764 - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
3.1765 - (test "X$CXX" != "Xg++"))) ; then
3.1766 - AC_LIBTOOL_LANG_CXX_CONFIG
3.1767 - else
3.1768 - tagname=""
3.1769 - fi
3.1770 - ;;
3.1771 -
3.1772 - F77)
3.1773 - if test -n "$F77" && test "X$F77" != "Xno"; then
3.1774 - AC_LIBTOOL_LANG_F77_CONFIG
3.1775 - else
3.1776 - tagname=""
3.1777 - fi
3.1778 - ;;
3.1779 -
3.1780 - GCJ)
3.1781 - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
3.1782 - AC_LIBTOOL_LANG_GCJ_CONFIG
3.1783 - else
3.1784 - tagname=""
3.1785 - fi
3.1786 - ;;
3.1787 -
3.1788 - RC)
3.1789 - AC_LIBTOOL_LANG_RC_CONFIG
3.1790 - ;;
3.1791 -
3.1792 - *)
3.1793 - AC_MSG_ERROR([Unsupported tag name: $tagname])
3.1794 - ;;
3.1795 - esac
3.1796 -
3.1797 - # Append the new tag name to the list of available tags.
3.1798 - if test -n "$tagname" ; then
3.1799 - available_tags="$available_tags $tagname"
3.1800 - fi
3.1801 - fi
3.1802 - done
3.1803 - IFS="$lt_save_ifs"
3.1804 -
3.1805 - # Now substitute the updated list of available tags.
3.1806 - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
3.1807 - mv "${ofile}T" "$ofile"
3.1808 - chmod +x "$ofile"
3.1809 - else
3.1810 - rm -f "${ofile}T"
3.1811 - AC_MSG_ERROR([unable to update list of available tagged configurations.])
3.1812 - fi
3.1813 -fi
3.1814 -])# _LT_AC_TAGCONFIG
3.1815 -
3.1816 -
3.1817 -# AC_LIBTOOL_DLOPEN
3.1818 -# -----------------
3.1819 -# enable checks for dlopen support
3.1820 -AC_DEFUN([AC_LIBTOOL_DLOPEN],
3.1821 - [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
3.1822 -])# AC_LIBTOOL_DLOPEN
3.1823 -
3.1824 -
3.1825 -# AC_LIBTOOL_WIN32_DLL
3.1826 -# --------------------
3.1827 -# declare package support for building win32 DLLs
3.1828 -AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
3.1829 -[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
3.1830 -])# AC_LIBTOOL_WIN32_DLL
3.1831 -
3.1832 -
3.1833 -# AC_ENABLE_SHARED([DEFAULT])
3.1834 -# ---------------------------
3.1835 -# implement the --enable-shared flag
3.1836 -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3.1837 -AC_DEFUN([AC_ENABLE_SHARED],
3.1838 -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
3.1839 -AC_ARG_ENABLE([shared],
3.1840 - [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
3.1841 - [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
3.1842 - [p=${PACKAGE-default}
3.1843 - case $enableval in
3.1844 - yes) enable_shared=yes ;;
3.1845 - no) enable_shared=no ;;
3.1846 - *)
3.1847 - enable_shared=no
3.1848 - # Look at the argument we got. We use all the common list separators.
3.1849 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3.1850 - for pkg in $enableval; do
3.1851 - IFS="$lt_save_ifs"
3.1852 - if test "X$pkg" = "X$p"; then
3.1853 - enable_shared=yes
3.1854 - fi
3.1855 - done
3.1856 - IFS="$lt_save_ifs"
3.1857 - ;;
3.1858 - esac],
3.1859 - [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
3.1860 -])# AC_ENABLE_SHARED
3.1861 -
3.1862 -
3.1863 -# AC_DISABLE_SHARED
3.1864 -# -----------------
3.1865 -#- set the default shared flag to --disable-shared
3.1866 -AC_DEFUN([AC_DISABLE_SHARED],
3.1867 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3.1868 -AC_ENABLE_SHARED(no)
3.1869 -])# AC_DISABLE_SHARED
3.1870 -
3.1871 -
3.1872 -# AC_ENABLE_STATIC([DEFAULT])
3.1873 -# ---------------------------
3.1874 -# implement the --enable-static flag
3.1875 -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3.1876 -AC_DEFUN([AC_ENABLE_STATIC],
3.1877 -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
3.1878 -AC_ARG_ENABLE([static],
3.1879 - [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
3.1880 - [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
3.1881 - [p=${PACKAGE-default}
3.1882 - case $enableval in
3.1883 - yes) enable_static=yes ;;
3.1884 - no) enable_static=no ;;
3.1885 - *)
3.1886 - enable_static=no
3.1887 - # Look at the argument we got. We use all the common list separators.
3.1888 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3.1889 - for pkg in $enableval; do
3.1890 - IFS="$lt_save_ifs"
3.1891 - if test "X$pkg" = "X$p"; then
3.1892 - enable_static=yes
3.1893 - fi
3.1894 - done
3.1895 - IFS="$lt_save_ifs"
3.1896 - ;;
3.1897 - esac],
3.1898 - [enable_static=]AC_ENABLE_STATIC_DEFAULT)
3.1899 -])# AC_ENABLE_STATIC
3.1900 -
3.1901 -
3.1902 -# AC_DISABLE_STATIC
3.1903 -# -----------------
3.1904 -# set the default static flag to --disable-static
3.1905 -AC_DEFUN([AC_DISABLE_STATIC],
3.1906 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3.1907 -AC_ENABLE_STATIC(no)
3.1908 -])# AC_DISABLE_STATIC
3.1909 -
3.1910 -
3.1911 -# AC_ENABLE_FAST_INSTALL([DEFAULT])
3.1912 -# ---------------------------------
3.1913 -# implement the --enable-fast-install flag
3.1914 -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3.1915 -AC_DEFUN([AC_ENABLE_FAST_INSTALL],
3.1916 -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
3.1917 -AC_ARG_ENABLE([fast-install],
3.1918 - [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
3.1919 - [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
3.1920 - [p=${PACKAGE-default}
3.1921 - case $enableval in
3.1922 - yes) enable_fast_install=yes ;;
3.1923 - no) enable_fast_install=no ;;
3.1924 - *)
3.1925 - enable_fast_install=no
3.1926 - # Look at the argument we got. We use all the common list separators.
3.1927 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3.1928 - for pkg in $enableval; do
3.1929 - IFS="$lt_save_ifs"
3.1930 - if test "X$pkg" = "X$p"; then
3.1931 - enable_fast_install=yes
3.1932 - fi
3.1933 - done
3.1934 - IFS="$lt_save_ifs"
3.1935 - ;;
3.1936 - esac],
3.1937 - [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
3.1938 -])# AC_ENABLE_FAST_INSTALL
3.1939 -
3.1940 -
3.1941 -# AC_DISABLE_FAST_INSTALL
3.1942 -# -----------------------
3.1943 -# set the default to --disable-fast-install
3.1944 -AC_DEFUN([AC_DISABLE_FAST_INSTALL],
3.1945 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3.1946 -AC_ENABLE_FAST_INSTALL(no)
3.1947 -])# AC_DISABLE_FAST_INSTALL
3.1948 -
3.1949 -
3.1950 -# AC_LIBTOOL_PICMODE([MODE])
3.1951 -# --------------------------
3.1952 -# implement the --with-pic flag
3.1953 -# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
3.1954 -AC_DEFUN([AC_LIBTOOL_PICMODE],
3.1955 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3.1956 -pic_mode=ifelse($#,1,$1,default)
3.1957 -])# AC_LIBTOOL_PICMODE
3.1958 -
3.1959 -
3.1960 -# AC_PROG_EGREP
3.1961 -# -------------
3.1962 -# This is predefined starting with Autoconf 2.54, so this conditional
3.1963 -# definition can be removed once we require Autoconf 2.54 or later.
3.1964 -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
3.1965 -[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
3.1966 - [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3.1967 - then ac_cv_prog_egrep='grep -E'
3.1968 - else ac_cv_prog_egrep='egrep'
3.1969 - fi])
3.1970 - EGREP=$ac_cv_prog_egrep
3.1971 - AC_SUBST([EGREP])
3.1972 -])])
3.1973 -
3.1974 -
3.1975 -# AC_PATH_TOOL_PREFIX
3.1976 -# -------------------
3.1977 -# find a file program which can recognise shared library
3.1978 -AC_DEFUN([AC_PATH_TOOL_PREFIX],
3.1979 -[AC_REQUIRE([AC_PROG_EGREP])dnl
3.1980 -AC_MSG_CHECKING([for $1])
3.1981 -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
3.1982 -[case $MAGIC_CMD in
3.1983 -[[\\/*] | ?:[\\/]*])
3.1984 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3.1985 - ;;
3.1986 -*)
3.1987 - lt_save_MAGIC_CMD="$MAGIC_CMD"
3.1988 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3.1989 -dnl $ac_dummy forces splitting on constant user-supplied paths.
3.1990 -dnl POSIX.2 word splitting is done only on the output of word expansions,
3.1991 -dnl not every word. This closes a longstanding sh security hole.
3.1992 - ac_dummy="ifelse([$2], , $PATH, [$2])"
3.1993 - for ac_dir in $ac_dummy; do
3.1994 - IFS="$lt_save_ifs"
3.1995 - test -z "$ac_dir" && ac_dir=.
3.1996 - if test -f $ac_dir/$1; then
3.1997 - lt_cv_path_MAGIC_CMD="$ac_dir/$1"
3.1998 - if test -n "$file_magic_test_file"; then
3.1999 - case $deplibs_check_method in
3.2000 - "file_magic "*)
3.2001 - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
3.2002 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3.2003 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3.2004 - $EGREP "$file_magic_regex" > /dev/null; then
3.2005 - :
3.2006 - else
3.2007 - cat <<EOF 1>&2
3.2008 -
3.2009 -*** Warning: the command libtool uses to detect shared libraries,
3.2010 -*** $file_magic_cmd, produces output that libtool cannot recognize.
3.2011 -*** The result is that libtool may fail to recognize shared libraries
3.2012 -*** as such. This will affect the creation of libtool libraries that
3.2013 -*** depend on shared libraries, but programs linked with such libtool
3.2014 -*** libraries will work regardless of this problem. Nevertheless, you
3.2015 -*** may want to report the problem to your system manager and/or to
3.2016 -*** bug-libtool@gnu.org
3.2017 -
3.2018 -EOF
3.2019 - fi ;;
3.2020 - esac
3.2021 - fi
3.2022 - break
3.2023 - fi
3.2024 - done
3.2025 - IFS="$lt_save_ifs"
3.2026 - MAGIC_CMD="$lt_save_MAGIC_CMD"
3.2027 - ;;
3.2028 -esac])
3.2029 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3.2030 -if test -n "$MAGIC_CMD"; then
3.2031 - AC_MSG_RESULT($MAGIC_CMD)
3.2032 -else
3.2033 - AC_MSG_RESULT(no)
3.2034 -fi
3.2035 -])# AC_PATH_TOOL_PREFIX
3.2036 -
3.2037 -
3.2038 -# AC_PATH_MAGIC
3.2039 -# -------------
3.2040 -# find a file program which can recognise a shared library
3.2041 -AC_DEFUN([AC_PATH_MAGIC],
3.2042 -[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
3.2043 -if test -z "$lt_cv_path_MAGIC_CMD"; then
3.2044 - if test -n "$ac_tool_prefix"; then
3.2045 - AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
3.2046 - else
3.2047 - MAGIC_CMD=:
3.2048 - fi
3.2049 -fi
3.2050 -])# AC_PATH_MAGIC
3.2051 -
3.2052 -
3.2053 -# AC_PROG_LD
3.2054 -# ----------
3.2055 -# find the pathname to the GNU or non-GNU linker
3.2056 -AC_DEFUN([AC_PROG_LD],
3.2057 -[AC_ARG_WITH([gnu-ld],
3.2058 - [AC_HELP_STRING([--with-gnu-ld],
3.2059 - [assume the C compiler uses GNU ld @<:@default=no@:>@])],
3.2060 - [test "$withval" = no || with_gnu_ld=yes],
3.2061 - [with_gnu_ld=no])
3.2062 -AC_REQUIRE([LT_AC_PROG_SED])dnl
3.2063 -AC_REQUIRE([AC_PROG_CC])dnl
3.2064 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
3.2065 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
3.2066 -ac_prog=ld
3.2067 -if test "$GCC" = yes; then
3.2068 - # Check if gcc -print-prog-name=ld gives a path.
3.2069 - AC_MSG_CHECKING([for ld used by $CC])
3.2070 - case $host in
3.2071 - *-*-mingw*)
3.2072 - # gcc leaves a trailing carriage return which upsets mingw
3.2073 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3.2074 - *)
3.2075 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3.2076 - esac
3.2077 - case $ac_prog in
3.2078 - # Accept absolute paths.
3.2079 - [[\\/]]* | ?:[[\\/]]*)
3.2080 - re_direlt='/[[^/]][[^/]]*/\.\./'
3.2081 - # Canonicalize the pathname of ld
3.2082 - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3.2083 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3.2084 - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3.2085 - done
3.2086 - test -z "$LD" && LD="$ac_prog"
3.2087 - ;;
3.2088 - "")
3.2089 - # If it fails, then pretend we aren't using GCC.
3.2090 - ac_prog=ld
3.2091 - ;;
3.2092 - *)
3.2093 - # If it is relative, then search for the first ld in PATH.
3.2094 - with_gnu_ld=unknown
3.2095 - ;;
3.2096 - esac
3.2097 -elif test "$with_gnu_ld" = yes; then
3.2098 - AC_MSG_CHECKING([for GNU ld])
3.2099 -else
3.2100 - AC_MSG_CHECKING([for non-GNU ld])
3.2101 -fi
3.2102 -AC_CACHE_VAL(lt_cv_path_LD,
3.2103 -[if test -z "$LD"; then
3.2104 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3.2105 - for ac_dir in $PATH; do
3.2106 - IFS="$lt_save_ifs"
3.2107 - test -z "$ac_dir" && ac_dir=.
3.2108 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3.2109 - lt_cv_path_LD="$ac_dir/$ac_prog"
3.2110 - # Check to see if the program is GNU ld. I'd rather use --version,
3.2111 - # but apparently some variants of GNU ld only accept -v.
3.2112 - # Break only if it was the GNU/non-GNU ld that we prefer.
3.2113 - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3.2114 - *GNU* | *'with BFD'*)
3.2115 - test "$with_gnu_ld" != no && break
3.2116 - ;;
3.2117 - *)
3.2118 - test "$with_gnu_ld" != yes && break
3.2119 - ;;
3.2120 - esac
3.2121 - fi
3.2122 - done
3.2123 - IFS="$lt_save_ifs"
3.2124 -else
3.2125 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
3.2126 -fi])
3.2127 -LD="$lt_cv_path_LD"
3.2128 -if test -n "$LD"; then
3.2129 - AC_MSG_RESULT($LD)
3.2130 -else
3.2131 - AC_MSG_RESULT(no)
3.2132 -fi
3.2133 -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3.2134 -AC_PROG_LD_GNU
3.2135 -])# AC_PROG_LD
3.2136 -
3.2137 -
3.2138 -# AC_PROG_LD_GNU
3.2139 -# --------------
3.2140 -AC_DEFUN([AC_PROG_LD_GNU],
3.2141 -[AC_REQUIRE([AC_PROG_EGREP])dnl
3.2142 -AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
3.2143 -[# I'd rather use --version here, but apparently some GNU lds only accept -v.
3.2144 -case `$LD -v 2>&1 </dev/null` in
3.2145 -*GNU* | *'with BFD'*)
3.2146 - lt_cv_prog_gnu_ld=yes
3.2147 - ;;
3.2148 -*)
3.2149 - lt_cv_prog_gnu_ld=no
3.2150 - ;;
3.2151 -esac])
3.2152 -with_gnu_ld=$lt_cv_prog_gnu_ld
3.2153 -])# AC_PROG_LD_GNU
3.2154 -
3.2155 -
3.2156 -# AC_PROG_LD_RELOAD_FLAG
3.2157 -# ----------------------
3.2158 -# find reload flag for linker
3.2159 -# -- PORTME Some linkers may need a different reload flag.
3.2160 -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
3.2161 -[AC_CACHE_CHECK([for $LD option to reload object files],
3.2162 - lt_cv_ld_reload_flag,
3.2163 - [lt_cv_ld_reload_flag='-r'])
3.2164 -reload_flag=$lt_cv_ld_reload_flag
3.2165 -case $reload_flag in
3.2166 -"" | " "*) ;;
3.2167 -*) reload_flag=" $reload_flag" ;;
3.2168 -esac
3.2169 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
3.2170 -case $host_os in
3.2171 - darwin*)
3.2172 - if test "$GCC" = yes; then
3.2173 - reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
3.2174 - else
3.2175 - reload_cmds='$LD$reload_flag -o $output$reload_objs'
3.2176 - fi
3.2177 - ;;
3.2178 -esac
3.2179 -])# AC_PROG_LD_RELOAD_FLAG
3.2180 -
3.2181 -
3.2182 -# AC_DEPLIBS_CHECK_METHOD
3.2183 -# -----------------------
3.2184 -# how to check for library dependencies
3.2185 -# -- PORTME fill in with the dynamic library characteristics
3.2186 -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
3.2187 -[AC_CACHE_CHECK([how to recognise dependent libraries],
3.2188 -lt_cv_deplibs_check_method,
3.2189 -[lt_cv_file_magic_cmd='$MAGIC_CMD'
3.2190 -lt_cv_file_magic_test_file=
3.2191 -lt_cv_deplibs_check_method='unknown'
3.2192 -# Need to set the preceding variable on all platforms that support
3.2193 -# interlibrary dependencies.
3.2194 -# 'none' -- dependencies not supported.
3.2195 -# `unknown' -- same as none, but documents that we really don't know.
3.2196 -# 'pass_all' -- all dependencies passed with no checks.
3.2197 -# 'test_compile' -- check by making test program.
3.2198 -# 'file_magic [[regex]]' -- check by looking for files in library path
3.2199 -# which responds to the $file_magic_cmd with a given extended regex.
3.2200 -# If you have `file' or equivalent on your system and you're not sure
3.2201 -# whether `pass_all' will *always* work, you probably want this one.
3.2202 -
3.2203 -case $host_os in
3.2204 -aix4* | aix5*)
3.2205 - lt_cv_deplibs_check_method=pass_all
3.2206 - ;;
3.2207 -
3.2208 -beos*)
3.2209 - lt_cv_deplibs_check_method=pass_all
3.2210 - ;;
3.2211 -
3.2212 -bsdi[[45]]*)
3.2213 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
3.2214 - lt_cv_file_magic_cmd='/usr/bin/file -L'
3.2215 - lt_cv_file_magic_test_file=/shlib/libc.so
3.2216 - ;;
3.2217 -
3.2218 -cygwin*)
3.2219 - # func_win32_libid is a shell function defined in ltmain.sh
3.2220 - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3.2221 - lt_cv_file_magic_cmd='func_win32_libid'
3.2222 - ;;
3.2223 -
3.2224 -mingw* | pw32*)
3.2225 - # Base MSYS/MinGW do not provide the 'file' command needed by
3.2226 - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3.2227 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3.2228 - lt_cv_file_magic_cmd='$OBJDUMP -f'
3.2229 - ;;
3.2230 -
3.2231 -darwin* | rhapsody*)
3.2232 - lt_cv_deplibs_check_method=pass_all
3.2233 - ;;
3.2234 -
3.2235 -freebsd* | kfreebsd*-gnu | dragonfly*)
3.2236 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3.2237 - case $host_cpu in
3.2238 - i*86 )
3.2239 - # Not sure whether the presence of OpenBSD here was a mistake.
3.2240 - # Let's accept both of them until this is cleared up.
3.2241 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
3.2242 - lt_cv_file_magic_cmd=/usr/bin/file
3.2243 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3.2244 - ;;
3.2245 - esac
3.2246 - else
3.2247 - lt_cv_deplibs_check_method=pass_all
3.2248 - fi
3.2249 - ;;
3.2250 -
3.2251 -gnu*)
3.2252 - lt_cv_deplibs_check_method=pass_all
3.2253 - ;;
3.2254 -
3.2255 -hpux10.20* | hpux11*)
3.2256 - lt_cv_file_magic_cmd=/usr/bin/file
3.2257 - case $host_cpu in
3.2258 - ia64*)
3.2259 - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
3.2260 - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3.2261 - ;;
3.2262 - hppa*64*)
3.2263 - [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]']
3.2264 - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3.2265 - ;;
3.2266 - *)
3.2267 - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
3.2268 - lt_cv_file_magic_test_file=/usr/lib/libc.sl
3.2269 - ;;
3.2270 - esac
3.2271 - ;;
3.2272 -
3.2273 -irix5* | irix6* | nonstopux*)
3.2274 - case $LD in
3.2275 - *-32|*"-32 ") libmagic=32-bit;;
3.2276 - *-n32|*"-n32 ") libmagic=N32;;
3.2277 - *-64|*"-64 ") libmagic=64-bit;;
3.2278 - *) libmagic=never-match;;
3.2279 - esac
3.2280 - lt_cv_deplibs_check_method=pass_all
3.2281 - ;;
3.2282 -
3.2283 -# This must be Linux ELF.
3.2284 -linux*)
3.2285 - lt_cv_deplibs_check_method=pass_all
3.2286 - ;;
3.2287 -
3.2288 -netbsd*)
3.2289 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3.2290 - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3.2291 - else
3.2292 - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
3.2293 - fi
3.2294 - ;;
3.2295 -
3.2296 -newos6*)
3.2297 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3.2298 - lt_cv_file_magic_cmd=/usr/bin/file
3.2299 - lt_cv_file_magic_test_file=/usr/lib/libnls.so
3.2300 - ;;
3.2301 -
3.2302 -nto-qnx*)
3.2303 - lt_cv_deplibs_check_method=unknown
3.2304 - ;;
3.2305 -
3.2306 -openbsd*)
3.2307 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3.2308 - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3.2309 - else
3.2310 - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3.2311 - fi
3.2312 - ;;
3.2313 -
3.2314 -osf3* | osf4* | osf5*)
3.2315 - lt_cv_deplibs_check_method=pass_all
3.2316 - ;;
3.2317 -
3.2318 -sco3.2v5*)
3.2319 - lt_cv_deplibs_check_method=pass_all
3.2320 - ;;
3.2321 -
3.2322 -solaris*)
3.2323 - lt_cv_deplibs_check_method=pass_all
3.2324 - ;;
3.2325 -
3.2326 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3.2327 - case $host_vendor in
3.2328 - motorola)
3.2329 - 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]]'
3.2330 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3.2331 - ;;
3.2332 - ncr)
3.2333 - lt_cv_deplibs_check_method=pass_all
3.2334 - ;;
3.2335 - sequent)
3.2336 - lt_cv_file_magic_cmd='/bin/file'
3.2337 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
3.2338 - ;;
3.2339 - sni)
3.2340 - lt_cv_file_magic_cmd='/bin/file'
3.2341 - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3.2342 - lt_cv_file_magic_test_file=/lib/libc.so
3.2343 - ;;
3.2344 - siemens)
3.2345 - lt_cv_deplibs_check_method=pass_all
3.2346 - ;;
3.2347 - esac
3.2348 - ;;
3.2349 -
3.2350 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
3.2351 - lt_cv_deplibs_check_method=pass_all
3.2352 - ;;
3.2353 -esac
3.2354 -])
3.2355 -file_magic_cmd=$lt_cv_file_magic_cmd
3.2356 -deplibs_check_method=$lt_cv_deplibs_check_method
3.2357 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
3.2358 -])# AC_DEPLIBS_CHECK_METHOD
3.2359 -
3.2360 -
3.2361 -# AC_PROG_NM
3.2362 -# ----------
3.2363 -# find the pathname to a BSD-compatible name lister
3.2364 -AC_DEFUN([AC_PROG_NM],
3.2365 -[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
3.2366 -[if test -n "$NM"; then
3.2367 - # Let the user override the test.
3.2368 - lt_cv_path_NM="$NM"
3.2369 -else
3.2370 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3.2371 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3.2372 - IFS="$lt_save_ifs"
3.2373 - test -z "$ac_dir" && ac_dir=.
3.2374 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3.2375 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3.2376 - # Check to see if the nm accepts a BSD-compat flag.
3.2377 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3.2378 - # nm: unknown option "B" ignored
3.2379 - # Tru64's nm complains that /dev/null is an invalid object file
3.2380 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3.2381 - */dev/null* | *'Invalid file or object type'*)
3.2382 - lt_cv_path_NM="$tmp_nm -B"
3.2383 - break
3.2384 - ;;
3.2385 - *)
3.2386 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3.2387 - */dev/null*)
3.2388 - lt_cv_path_NM="$tmp_nm -p"
3.2389 - break
3.2390 - ;;
3.2391 - *)
3.2392 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3.2393 - continue # so that we can try to find one that supports BSD flags
3.2394 - ;;
3.2395 - esac
3.2396 - esac
3.2397 - fi
3.2398 - done
3.2399 - IFS="$lt_save_ifs"
3.2400 - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3.2401 -fi])
3.2402 -NM="$lt_cv_path_NM"
3.2403 -])# AC_PROG_NM
3.2404 -
3.2405 -
3.2406 -# AC_CHECK_LIBM
3.2407 -# -------------
3.2408 -# check for math library
3.2409 -AC_DEFUN([AC_CHECK_LIBM],
3.2410 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3.2411 -LIBM=
3.2412 -case $host in
3.2413 -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
3.2414 - # These system don't have libm, or don't need it
3.2415 - ;;
3.2416 -*-ncr-sysv4.3*)
3.2417 - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
3.2418 - AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3.2419 - ;;
3.2420 -*)
3.2421 - AC_CHECK_LIB(m, cos, LIBM="-lm")
3.2422 - ;;
3.2423 -esac
3.2424 -])# AC_CHECK_LIBM
3.2425 -
3.2426 -
3.2427 -# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
3.2428 -# -----------------------------------
3.2429 -# sets LIBLTDL to the link flags for the libltdl convenience library and
3.2430 -# LTDLINCL to the include flags for the libltdl header and adds
3.2431 -# --enable-ltdl-convenience to the configure arguments. Note that
3.2432 -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
3.2433 -# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
3.2434 -# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
3.2435 -# (note the single quotes!). If your package is not flat and you're not
3.2436 -# using automake, define top_builddir and top_srcdir appropriately in
3.2437 -# the Makefiles.
3.2438 -AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
3.2439 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3.2440 - case $enable_ltdl_convenience in
3.2441 - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
3.2442 - "") enable_ltdl_convenience=yes
3.2443 - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
3.2444 - esac
3.2445 - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
3.2446 - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
3.2447 - # For backwards non-gettext consistent compatibility...
3.2448 - INCLTDL="$LTDLINCL"
3.2449 -])# AC_LIBLTDL_CONVENIENCE
3.2450 -
3.2451 -
3.2452 -# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
3.2453 -# -----------------------------------
3.2454 -# sets LIBLTDL to the link flags for the libltdl installable library and
3.2455 -# LTDLINCL to the include flags for the libltdl header and adds
3.2456 -# --enable-ltdl-install to the configure arguments. Note that
3.2457 -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
3.2458 -# and an installed libltdl is not found, it is assumed to be `libltdl'.
3.2459 -# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
3.2460 -# '${top_srcdir}/' (note the single quotes!). If your package is not
3.2461 -# flat and you're not using automake, define top_builddir and top_srcdir
3.2462 -# appropriately in the Makefiles.
3.2463 -# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
3.2464 -AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
3.2465 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3.2466 - AC_CHECK_LIB(ltdl, lt_dlinit,
3.2467 - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
3.2468 - [if test x"$enable_ltdl_install" = xno; then
3.2469 - AC_MSG_WARN([libltdl not installed, but installation disabled])
3.2470 - else
3.2471 - enable_ltdl_install=yes
3.2472 - fi
3.2473 - ])
3.2474 - if test x"$enable_ltdl_install" = x"yes"; then
3.2475 - ac_configure_args="$ac_configure_args --enable-ltdl-install"
3.2476 - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
3.2477 - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
3.2478 - else
3.2479 - ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
3.2480 - LIBLTDL="-lltdl"
3.2481 - LTDLINCL=
3.2482 - fi
3.2483 - # For backwards non-gettext consistent compatibility...
3.2484 - INCLTDL="$LTDLINCL"
3.2485 -])# AC_LIBLTDL_INSTALLABLE
3.2486 -
3.2487 -
3.2488 -# AC_LIBTOOL_CXX
3.2489 -# --------------
3.2490 -# enable support for C++ libraries
3.2491 -AC_DEFUN([AC_LIBTOOL_CXX],
3.2492 -[AC_REQUIRE([_LT_AC_LANG_CXX])
3.2493 -])# AC_LIBTOOL_CXX
3.2494 -
3.2495 -
3.2496 -# _LT_AC_LANG_CXX
3.2497 -# ---------------
3.2498 -AC_DEFUN([_LT_AC_LANG_CXX],
3.2499 -[AC_REQUIRE([AC_PROG_CXX])
3.2500 -AC_REQUIRE([_LT_AC_PROG_CXXCPP])
3.2501 -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
3.2502 -])# _LT_AC_LANG_CXX
3.2503 -
3.2504 -# _LT_AC_PROG_CXXCPP
3.2505 -# ---------------
3.2506 -AC_DEFUN([_LT_AC_PROG_CXXCPP],
3.2507 -[
3.2508 -AC_REQUIRE([AC_PROG_CXX])
3.2509 -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
3.2510 - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
3.2511 - (test "X$CXX" != "Xg++"))) ; then
3.2512 - AC_PROG_CXXCPP
3.2513 -fi
3.2514 -])# _LT_AC_PROG_CXXCPP
3.2515 -
3.2516 -# AC_LIBTOOL_F77
3.2517 -# --------------
3.2518 -# enable support for Fortran 77 libraries
3.2519 -AC_DEFUN([AC_LIBTOOL_F77],
3.2520 -[AC_REQUIRE([_LT_AC_LANG_F77])
3.2521 -])# AC_LIBTOOL_F77
3.2522 -
3.2523 -
3.2524 -# _LT_AC_LANG_F77
3.2525 -# ---------------
3.2526 -AC_DEFUN([_LT_AC_LANG_F77],
3.2527 -[AC_REQUIRE([AC_PROG_F77])
3.2528 -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
3.2529 -])# _LT_AC_LANG_F77
3.2530 -
3.2531 -
3.2532 -# AC_LIBTOOL_GCJ
3.2533 -# --------------
3.2534 -# enable support for GCJ libraries
3.2535 -AC_DEFUN([AC_LIBTOOL_GCJ],
3.2536 -[AC_REQUIRE([_LT_AC_LANG_GCJ])
3.2537 -])# AC_LIBTOOL_GCJ
3.2538 -
3.2539 -
3.2540 -# _LT_AC_LANG_GCJ
3.2541 -# ---------------
3.2542 -AC_DEFUN([_LT_AC_LANG_GCJ],
3.2543 -[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
3.2544 - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
3.2545 - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
3.2546 - [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
3.2547 - [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
3.2548 - [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
3.2549 -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
3.2550 -])# _LT_AC_LANG_GCJ
3.2551 -
3.2552 -
3.2553 -# AC_LIBTOOL_RC
3.2554 -# --------------
3.2555 -# enable support for Windows resource files
3.2556 -AC_DEFUN([AC_LIBTOOL_RC],
3.2557 -[AC_REQUIRE([LT_AC_PROG_RC])
3.2558 -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
3.2559 -])# AC_LIBTOOL_RC
3.2560 -
3.2561 -
3.2562 -# AC_LIBTOOL_LANG_C_CONFIG
3.2563 -# ------------------------
3.2564 -# Ensure that the configuration vars for the C compiler are
3.2565 -# suitably defined. Those variables are subsequently used by
3.2566 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
3.2567 -AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
3.2568 -AC_DEFUN([_LT_AC_LANG_C_CONFIG],
3.2569 -[lt_save_CC="$CC"
3.2570 -AC_LANG_PUSH(C)
3.2571 -
3.2572 -# Source file extension for C test sources.
3.2573 -ac_ext=c
3.2574 -
3.2575 -# Object file extension for compiled C test sources.
3.2576 -objext=o
3.2577 -_LT_AC_TAGVAR(objext, $1)=$objext
3.2578 -
3.2579 -# Code to be used in simple compile tests
3.2580 -lt_simple_compile_test_code="int some_variable = 0;\n"
3.2581 -
3.2582 -# Code to be used in simple link tests
3.2583 -lt_simple_link_test_code='int main(){return(0);}\n'
3.2584 -
3.2585 -_LT_AC_SYS_COMPILER
3.2586 -
3.2587 -# save warnings/boilerplate of simple test code
3.2588 -_LT_COMPILER_BOILERPLATE
3.2589 -_LT_LINKER_BOILERPLATE
3.2590 -
3.2591 -#
3.2592 -# Check for any special shared library compilation flags.
3.2593 -#
3.2594 -_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
3.2595 -if test "$GCC" = no; then
3.2596 - case $host_os in
3.2597 - sco3.2v5*)
3.2598 - _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
3.2599 - ;;
3.2600 - esac
3.2601 -fi
3.2602 -if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
3.2603 - AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
3.2604 - if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
3.2605 - else
3.2606 - AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
3.2607 - _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
3.2608 - fi
3.2609 -fi
3.2610 -
3.2611 -
3.2612 -#
3.2613 -# Check to make sure the static flag actually works.
3.2614 -#
3.2615 -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
3.2616 - _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
3.2617 - $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
3.2618 - [],
3.2619 - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
3.2620 -
3.2621 -
3.2622 -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
3.2623 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
3.2624 -AC_LIBTOOL_PROG_CC_C_O($1)
3.2625 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3.2626 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
3.2627 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3.2628 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3.2629 -AC_LIBTOOL_SYS_LIB_STRIP
3.2630 -AC_LIBTOOL_DLOPEN_SELF($1)
3.2631 -
3.2632 -# Report which librarie types wil actually be built
3.2633 -AC_MSG_CHECKING([if libtool supports shared libraries])
3.2634 -AC_MSG_RESULT([$can_build_shared])
3.2635 -
3.2636 -AC_MSG_CHECKING([whether to build shared libraries])
3.2637 -test "$can_build_shared" = "no" && enable_shared=no
3.2638 -
3.2639 -# On AIX, shared libraries and static libraries use the same namespace, and
3.2640 -# are all built from PIC.
3.2641 -case $host_os in
3.2642 -aix3*)
3.2643 - test "$enable_shared" = yes && enable_static=no
3.2644 - if test -n "$RANLIB"; then
3.2645 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
3.2646 - postinstall_cmds='$RANLIB $lib'
3.2647 - fi
3.2648 - ;;
3.2649 -
3.2650 -aix4* | aix5*)
3.2651 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
3.2652 - test "$enable_shared" = yes && enable_static=no
3.2653 - fi
3.2654 - ;;
3.2655 -esac
3.2656 -AC_MSG_RESULT([$enable_shared])
3.2657 -
3.2658 -AC_MSG_CHECKING([whether to build static libraries])
3.2659 -# Make sure either enable_shared or enable_static is yes.
3.2660 -test "$enable_shared" = yes || enable_static=yes
3.2661 -AC_MSG_RESULT([$enable_static])
3.2662 -
3.2663 -AC_LIBTOOL_CONFIG($1)
3.2664 -
3.2665 -AC_LANG_POP
3.2666 -CC="$lt_save_CC"
3.2667 -])# AC_LIBTOOL_LANG_C_CONFIG
3.2668 -
3.2669 -
3.2670 -# AC_LIBTOOL_LANG_CXX_CONFIG
3.2671 -# --------------------------
3.2672 -# Ensure that the configuration vars for the C compiler are
3.2673 -# suitably defined. Those variables are subsequently used by
3.2674 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
3.2675 -AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
3.2676 -AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
3.2677 -[AC_LANG_PUSH(C++)
3.2678 -AC_REQUIRE([AC_PROG_CXX])
3.2679 -AC_REQUIRE([_LT_AC_PROG_CXXCPP])
3.2680 -
3.2681 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3.2682 -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
3.2683 -_LT_AC_TAGVAR(always_export_symbols, $1)=no
3.2684 -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
3.2685 -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
3.2686 -_LT_AC_TAGVAR(hardcode_direct, $1)=no
3.2687 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3.2688 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
3.2689 -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3.2690 -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
3.2691 -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
3.2692 -_LT_AC_TAGVAR(module_cmds, $1)=
3.2693 -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
3.2694 -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
3.2695 -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
3.2696 -_LT_AC_TAGVAR(no_undefined_flag, $1)=
3.2697 -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3.2698 -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
3.2699 -
3.2700 -# Dependencies to place before and after the object being linked:
3.2701 -_LT_AC_TAGVAR(predep_objects, $1)=
3.2702 -_LT_AC_TAGVAR(postdep_objects, $1)=
3.2703 -_LT_AC_TAGVAR(predeps, $1)=
3.2704 -_LT_AC_TAGVAR(postdeps, $1)=
3.2705 -_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
3.2706 -
3.2707 -# Source file extension for C++ test sources.
3.2708 -ac_ext=cpp
3.2709 -
3.2710 -# Object file extension for compiled C++ test sources.
3.2711 -objext=o
3.2712 -_LT_AC_TAGVAR(objext, $1)=$objext
3.2713 -
3.2714 -# Code to be used in simple compile tests
3.2715 -lt_simple_compile_test_code="int some_variable = 0;\n"
3.2716 -
3.2717 -# Code to be used in simple link tests
3.2718 -lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
3.2719 -
3.2720 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
3.2721 -_LT_AC_SYS_COMPILER
3.2722 -
3.2723 -# save warnings/boilerplate of simple test code
3.2724 -_LT_COMPILER_BOILERPLATE
3.2725 -_LT_LINKER_BOILERPLATE
3.2726 -
3.2727 -# Allow CC to be a program name with arguments.
3.2728 -lt_save_CC=$CC
3.2729 -lt_save_LD=$LD
3.2730 -lt_save_GCC=$GCC
3.2731 -GCC=$GXX
3.2732 -lt_save_with_gnu_ld=$with_gnu_ld
3.2733 -lt_save_path_LD=$lt_cv_path_LD
3.2734 -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
3.2735 - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
3.2736 -else
3.2737 - unset lt_cv_prog_gnu_ld
3.2738 -fi
3.2739 -if test -n "${lt_cv_path_LDCXX+set}"; then
3.2740 - lt_cv_path_LD=$lt_cv_path_LDCXX
3.2741 -else
3.2742 - unset lt_cv_path_LD
3.2743 -fi
3.2744 -test -z "${LDCXX+set}" || LD=$LDCXX
3.2745 -CC=${CXX-"c++"}
3.2746 -compiler=$CC
3.2747 -_LT_AC_TAGVAR(compiler, $1)=$CC
3.2748 -_LT_CC_BASENAME([$compiler])
3.2749 -
3.2750 -# We don't want -fno-exception wen compiling C++ code, so set the
3.2751 -# no_builtin_flag separately
3.2752 -if test "$GXX" = yes; then
3.2753 - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
3.2754 -else
3.2755 - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
3.2756 -fi
3.2757 -
3.2758 -if test "$GXX" = yes; then
3.2759 - # Set up default GNU C++ configuration
3.2760 -
3.2761 - AC_PROG_LD
3.2762 -
3.2763 - # Check if GNU C++ uses GNU ld as the underlying linker, since the
3.2764 - # archiving commands below assume that GNU ld is being used.
3.2765 - if test "$with_gnu_ld" = yes; then
3.2766 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
3.2767 - _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'
3.2768 -
3.2769 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3.2770 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3.2771 -
3.2772 - # If archive_cmds runs LD, not CC, wlarc should be empty
3.2773 - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
3.2774 - # investigate it a little bit more. (MM)
3.2775 - wlarc='${wl}'
3.2776 -
3.2777 - # ancient GNU ld didn't support --whole-archive et. al.
3.2778 - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
3.2779 - grep 'no-whole-archive' > /dev/null; then
3.2780 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3.2781 - else
3.2782 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3.2783 - fi
3.2784 - else
3.2785 - with_gnu_ld=no
3.2786 - wlarc=
3.2787 -
3.2788 - # A generic and very simple default shared library creation
3.2789 - # command for GNU C++ for the case where it uses the native
3.2790 - # linker, instead of GNU ld. If possible, this setting should
3.2791 - # overridden to take advantage of the native linker features on
3.2792 - # the platform it is being used on.
3.2793 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3.2794 - fi
3.2795 -
3.2796 - # Commands to make compiler produce verbose output that lists
3.2797 - # what "hidden" libraries, object files and flags are used when
3.2798 - # linking a shared library.
3.2799 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
3.2800 -
3.2801 -else
3.2802 - GXX=no
3.2803 - with_gnu_ld=no
3.2804 - wlarc=
3.2805 -fi
3.2806 -
3.2807 -# PORTME: fill in a description of your system's C++ link characteristics
3.2808 -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
3.2809 -_LT_AC_TAGVAR(ld_shlibs, $1)=yes
3.2810 -case $host_os in
3.2811 - aix3*)
3.2812 - # FIXME: insert proper C++ library support
3.2813 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.2814 - ;;
3.2815 - aix4* | aix5*)
3.2816 - if test "$host_cpu" = ia64; then
3.2817 - # On IA64, the linker does run time linking by default, so we don't
3.2818 - # have to do anything special.
3.2819 - aix_use_runtimelinking=no
3.2820 - exp_sym_flag='-Bexport'
3.2821 - no_entry_flag=""
3.2822 - else
3.2823 - aix_use_runtimelinking=no
3.2824 -
3.2825 - # Test if we are trying to use run time linking or normal
3.2826 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
3.2827 - # need to do runtime linking.
3.2828 - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
3.2829 - for ld_flag in $LDFLAGS; do
3.2830 - case $ld_flag in
3.2831 - *-brtl*)
3.2832 - aix_use_runtimelinking=yes
3.2833 - break
3.2834 - ;;
3.2835 - esac
3.2836 - done
3.2837 - esac
3.2838 -
3.2839 - exp_sym_flag='-bexport'
3.2840 - no_entry_flag='-bnoentry'
3.2841 - fi
3.2842 -
3.2843 - # When large executables or shared objects are built, AIX ld can
3.2844 - # have problems creating the table of contents. If linking a library
3.2845 - # or program results in "error TOC overflow" add -mminimal-toc to
3.2846 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
3.2847 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
3.2848 -
3.2849 - _LT_AC_TAGVAR(archive_cmds, $1)=''
3.2850 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.2851 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
3.2852 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3.2853 -
3.2854 - if test "$GXX" = yes; then
3.2855 - case $host_os in aix4.[[012]]|aix4.[[012]].*)
3.2856 - # We only want to do this on AIX 4.2 and lower, the check
3.2857 - # below for broken collect2 doesn't work under 4.3+
3.2858 - collect2name=`${CC} -print-prog-name=collect2`
3.2859 - if test -f "$collect2name" && \
3.2860 - strings "$collect2name" | grep resolve_lib_name >/dev/null
3.2861 - then
3.2862 - # We have reworked collect2
3.2863 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.2864 - else
3.2865 - # We have old collect2
3.2866 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3.2867 - # It fails to find uninstalled libraries when the uninstalled
3.2868 - # path is not listed in the libpath. Setting hardcode_minus_L
3.2869 - # to unsupported forces relinking
3.2870 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3.2871 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3.2872 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3.2873 - fi
3.2874 - esac
3.2875 - shared_flag='-shared'
3.2876 - if test "$aix_use_runtimelinking" = yes; then
3.2877 - shared_flag="$shared_flag "'${wl}-G'
3.2878 - fi
3.2879 - else
3.2880 - # not using gcc
3.2881 - if test "$host_cpu" = ia64; then
3.2882 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
3.2883 - # chokes on -Wl,-G. The following line is correct:
3.2884 - shared_flag='-G'
3.2885 - else
3.2886 - if test "$aix_use_runtimelinking" = yes; then
3.2887 - shared_flag='${wl}-G'
3.2888 - else
3.2889 - shared_flag='${wl}-bM:SRE'
3.2890 - fi
3.2891 - fi
3.2892 - fi
3.2893 -
3.2894 - # It seems that -bexpall does not export symbols beginning with
3.2895 - # underscore (_), so it is better to generate a list of symbols to export.
3.2896 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3.2897 - if test "$aix_use_runtimelinking" = yes; then
3.2898 - # Warning - without using the other runtime loading flags (-brtl),
3.2899 - # -berok will link without error, but may produce a broken library.
3.2900 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
3.2901 - # Determine the default libpath from the value encoded in an empty executable.
3.2902 - _LT_AC_SYS_LIBPATH_AIX
3.2903 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3.2904 -
3.2905 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
3.2906 - else
3.2907 - if test "$host_cpu" = ia64; then
3.2908 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
3.2909 - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
3.2910 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
3.2911 - else
3.2912 - # Determine the default libpath from the value encoded in an empty executable.
3.2913 - _LT_AC_SYS_LIBPATH_AIX
3.2914 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3.2915 - # Warning - without using the other run time loading flags,
3.2916 - # -berok will link without error, but may produce a broken library.
3.2917 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
3.2918 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
3.2919 - # -bexpall does not export symbols beginning with underscore (_)
3.2920 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3.2921 - # Exported symbols can be pulled into shared objects from archives
3.2922 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
3.2923 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
3.2924 - # This is similar to how AIX traditionally builds its shared libraries.
3.2925 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
3.2926 - fi
3.2927 - fi
3.2928 - ;;
3.2929 - chorus*)
3.2930 - case $cc_basename in
3.2931 - *)
3.2932 - # FIXME: insert proper C++ library support
3.2933 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.2934 - ;;
3.2935 - esac
3.2936 - ;;
3.2937 -
3.2938 -
3.2939 - cygwin* | mingw* | pw32*)
3.2940 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
3.2941 - # as there is no search path for DLLs.
3.2942 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3.2943 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3.2944 - _LT_AC_TAGVAR(always_export_symbols, $1)=no
3.2945 - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3.2946 -
3.2947 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
3.2948 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3.2949 - # If the export-symbols file already is a .def file (1st line
3.2950 - # is EXPORTS), use it as is; otherwise, prepend...
3.2951 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
3.2952 - cp $export_symbols $output_objdir/$soname.def;
3.2953 - else
3.2954 - echo EXPORTS > $output_objdir/$soname.def;
3.2955 - cat $export_symbols >> $output_objdir/$soname.def;
3.2956 - fi~
3.2957 - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3.2958 - else
3.2959 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.2960 - fi
3.2961 - ;;
3.2962 - darwin* | rhapsody*)
3.2963 - case $host_os in
3.2964 - rhapsody* | darwin1.[[012]])
3.2965 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
3.2966 - ;;
3.2967 - *) # Darwin 1.3 on
3.2968 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3.2969 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3.2970 - else
3.2971 - case ${MACOSX_DEPLOYMENT_TARGET} in
3.2972 - 10.[[012]])
3.2973 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3.2974 - ;;
3.2975 - 10.*)
3.2976 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
3.2977 - ;;
3.2978 - esac
3.2979 - fi
3.2980 - ;;
3.2981 - esac
3.2982 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3.2983 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
3.2984 - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3.2985 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3.2986 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3.2987 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3.2988 -
3.2989 - if test "$GXX" = yes ; then
3.2990 - lt_int_apple_cc_single_mod=no
3.2991 - output_verbose_link_cmd='echo'
3.2992 - if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
3.2993 - lt_int_apple_cc_single_mod=yes
3.2994 - fi
3.2995 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3.2996 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3.2997 - else
3.2998 - _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'
3.2999 - fi
3.3000 - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3.3001 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3.3002 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3.3003 - _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}'
3.3004 - else
3.3005 - _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}'
3.3006 - fi
3.3007 - _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}'
3.3008 - else
3.3009 - case $cc_basename in
3.3010 - xlc*)
3.3011 - output_verbose_link_cmd='echo'
3.3012 - _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'
3.3013 - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3.3014 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3.3015 - _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}'
3.3016 - _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}'
3.3017 - ;;
3.3018 - *)
3.3019 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3020 - ;;
3.3021 - esac
3.3022 - fi
3.3023 - ;;
3.3024 -
3.3025 - dgux*)
3.3026 - case $cc_basename in
3.3027 - ec++*)
3.3028 - # FIXME: insert proper C++ library support
3.3029 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3030 - ;;
3.3031 - ghcx*)
3.3032 - # Green Hills C++ Compiler
3.3033 - # FIXME: insert proper C++ library support
3.3034 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3035 - ;;
3.3036 - *)
3.3037 - # FIXME: insert proper C++ library support
3.3038 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3039 - ;;
3.3040 - esac
3.3041 - ;;
3.3042 - freebsd[[12]]*)
3.3043 - # C++ shared libraries reported to be fairly broken before switch to ELF
3.3044 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3045 - ;;
3.3046 - freebsd-elf*)
3.3047 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3.3048 - ;;
3.3049 - freebsd* | kfreebsd*-gnu | dragonfly*)
3.3050 - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
3.3051 - # conventions
3.3052 - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
3.3053 - ;;
3.3054 - gnu*)
3.3055 - ;;
3.3056 - hpux9*)
3.3057 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3.3058 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.3059 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3.3060 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.3061 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
3.3062 - # but as the default
3.3063 - # location of the library.
3.3064 -
3.3065 - case $cc_basename in
3.3066 - CC*)
3.3067 - # FIXME: insert proper C++ library support
3.3068 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3069 - ;;
3.3070 - aCC*)
3.3071 - _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'
3.3072 - # Commands to make compiler produce verbose output that lists
3.3073 - # what "hidden" libraries, object files and flags are used when
3.3074 - # linking a shared library.
3.3075 - #
3.3076 - # There doesn't appear to be a way to prevent this compiler from
3.3077 - # explicitly linking system object files so we need to strip them
3.3078 - # from the output so that they don't get included in the library
3.3079 - # dependencies.
3.3080 - 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'
3.3081 - ;;
3.3082 - *)
3.3083 - if test "$GXX" = yes; then
3.3084 - _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'
3.3085 - else
3.3086 - # FIXME: insert proper C++ library support
3.3087 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3088 - fi
3.3089 - ;;
3.3090 - esac
3.3091 - ;;
3.3092 - hpux10*|hpux11*)
3.3093 - if test $with_gnu_ld = no; then
3.3094 - case $host_cpu in
3.3095 - hppa*64*)
3.3096 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3.3097 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
3.3098 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.3099 - ;;
3.3100 - ia64*)
3.3101 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3.3102 - ;;
3.3103 - *)
3.3104 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3.3105 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.3106 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3.3107 - ;;
3.3108 - esac
3.3109 - fi
3.3110 - case $host_cpu in
3.3111 - hppa*64*)
3.3112 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
3.3113 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.3114 - ;;
3.3115 - ia64*)
3.3116 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
3.3117 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.3118 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
3.3119 - # but as the default
3.3120 - # location of the library.
3.3121 - ;;
3.3122 - *)
3.3123 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.3124 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
3.3125 - # but as the default
3.3126 - # location of the library.
3.3127 - ;;
3.3128 - esac
3.3129 -
3.3130 - case $cc_basename in
3.3131 - CC*)
3.3132 - # FIXME: insert proper C++ library support
3.3133 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3134 - ;;
3.3135 - aCC*)
3.3136 - case $host_cpu in
3.3137 - hppa*64*|ia64*)
3.3138 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
3.3139 - ;;
3.3140 - *)
3.3141 - _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'
3.3142 - ;;
3.3143 - esac
3.3144 - # Commands to make compiler produce verbose output that lists
3.3145 - # what "hidden" libraries, object files and flags are used when
3.3146 - # linking a shared library.
3.3147 - #
3.3148 - # There doesn't appear to be a way to prevent this compiler from
3.3149 - # explicitly linking system object files so we need to strip them
3.3150 - # from the output so that they don't get included in the library
3.3151 - # dependencies.
3.3152 - 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'
3.3153 - ;;
3.3154 - *)
3.3155 - if test "$GXX" = yes; then
3.3156 - if test $with_gnu_ld = no; then
3.3157 - case $host_cpu in
3.3158 - ia64*|hppa*64*)
3.3159 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
3.3160 - ;;
3.3161 - *)
3.3162 - _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'
3.3163 - ;;
3.3164 - esac
3.3165 - fi
3.3166 - else
3.3167 - # FIXME: insert proper C++ library support
3.3168 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3169 - fi
3.3170 - ;;
3.3171 - esac
3.3172 - ;;
3.3173 - irix5* | irix6*)
3.3174 - case $cc_basename in
3.3175 - CC*)
3.3176 - # SGI C++
3.3177 - _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'
3.3178 -
3.3179 - # Archives containing C++ object files must be created using
3.3180 - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
3.3181 - # necessary to make sure instantiated templates are included
3.3182 - # in the archive.
3.3183 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
3.3184 - ;;
3.3185 - *)
3.3186 - if test "$GXX" = yes; then
3.3187 - if test "$with_gnu_ld" = no; then
3.3188 - _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'
3.3189 - else
3.3190 - _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'
3.3191 - fi
3.3192 - fi
3.3193 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3.3194 - ;;
3.3195 - esac
3.3196 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3.3197 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.3198 - ;;
3.3199 - linux*)
3.3200 - case $cc_basename in
3.3201 - KCC*)
3.3202 - # Kuck and Associates, Inc. (KAI) C++ Compiler
3.3203 -
3.3204 - # KCC will only create a shared library if the output file
3.3205 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
3.3206 - # to its proper name (with version) after linking.
3.3207 - _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'
3.3208 - _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'
3.3209 - # Commands to make compiler produce verbose output that lists
3.3210 - # what "hidden" libraries, object files and flags are used when
3.3211 - # linking a shared library.
3.3212 - #
3.3213 - # There doesn't appear to be a way to prevent this compiler from
3.3214 - # explicitly linking system object files so we need to strip them
3.3215 - # from the output so that they don't get included in the library
3.3216 - # dependencies.
3.3217 - 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'
3.3218 -
3.3219 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
3.3220 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3.3221 -
3.3222 - # Archives containing C++ object files must be created using
3.3223 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
3.3224 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
3.3225 - ;;
3.3226 - icpc*)
3.3227 - # Intel C++
3.3228 - with_gnu_ld=yes
3.3229 - # version 8.0 and above of icpc choke on multiply defined symbols
3.3230 - # if we add $predep_objects and $postdep_objects, however 7.1 and
3.3231 - # earlier do not add the objects themselves.
3.3232 - case `$CC -V 2>&1` in
3.3233 - *"Version 7."*)
3.3234 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
3.3235 - _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'
3.3236 - ;;
3.3237 - *) # Version 8.0 or newer
3.3238 - tmp_idyn=
3.3239 - case $host_cpu in
3.3240 - ia64*) tmp_idyn=' -i_dynamic';;
3.3241 - esac
3.3242 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3.3243 - _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'
3.3244 - ;;
3.3245 - esac
3.3246 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3.3247 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3.3248 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3.3249 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
3.3250 - ;;
3.3251 - pgCC*)
3.3252 - # Portland Group C++ compiler
3.3253 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
3.3254 - _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'
3.3255 -
3.3256 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3.3257 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3.3258 - _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'
3.3259 - ;;
3.3260 - cxx*)
3.3261 - # Compaq C++
3.3262 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
3.3263 - _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'
3.3264 -
3.3265 - runpath_var=LD_RUN_PATH
3.3266 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
3.3267 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.3268 -
3.3269 - # Commands to make compiler produce verbose output that lists
3.3270 - # what "hidden" libraries, object files and flags are used when
3.3271 - # linking a shared library.
3.3272 - #
3.3273 - # There doesn't appear to be a way to prevent this compiler from
3.3274 - # explicitly linking system object files so we need to strip them
3.3275 - # from the output so that they don't get included in the library
3.3276 - # dependencies.
3.3277 - 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'
3.3278 - ;;
3.3279 - esac
3.3280 - ;;
3.3281 - lynxos*)
3.3282 - # FIXME: insert proper C++ library support
3.3283 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3284 - ;;
3.3285 - m88k*)
3.3286 - # FIXME: insert proper C++ library support
3.3287 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3288 - ;;
3.3289 - mvs*)
3.3290 - case $cc_basename in
3.3291 - cxx*)
3.3292 - # FIXME: insert proper C++ library support
3.3293 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3294 - ;;
3.3295 - *)
3.3296 - # FIXME: insert proper C++ library support
3.3297 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3298 - ;;
3.3299 - esac
3.3300 - ;;
3.3301 - netbsd*)
3.3302 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3.3303 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
3.3304 - wlarc=
3.3305 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3.3306 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.3307 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.3308 - fi
3.3309 - # Workaround some broken pre-1.5 toolchains
3.3310 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
3.3311 - ;;
3.3312 - openbsd2*)
3.3313 - # C++ shared libraries are fairly broken
3.3314 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3315 - ;;
3.3316 - openbsd*)
3.3317 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.3318 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.3319 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3.3320 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3.3321 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3.3322 - _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'
3.3323 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3.3324 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3.3325 - fi
3.3326 - output_verbose_link_cmd='echo'
3.3327 - ;;
3.3328 - osf3*)
3.3329 - case $cc_basename in
3.3330 - KCC*)
3.3331 - # Kuck and Associates, Inc. (KAI) C++ Compiler
3.3332 -
3.3333 - # KCC will only create a shared library if the output file
3.3334 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
3.3335 - # to its proper name (with version) after linking.
3.3336 - _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'
3.3337 -
3.3338 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3.3339 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.3340 -
3.3341 - # Archives containing C++ object files must be created using
3.3342 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
3.3343 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
3.3344 -
3.3345 - ;;
3.3346 - RCC*)
3.3347 - # Rational C++ 2.4.1
3.3348 - # FIXME: insert proper C++ library support
3.3349 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3350 - ;;
3.3351 - cxx*)
3.3352 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3.3353 - _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'
3.3354 -
3.3355 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3.3356 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.3357 -
3.3358 - # Commands to make compiler produce verbose output that lists
3.3359 - # what "hidden" libraries, object files and flags are used when
3.3360 - # linking a shared library.
3.3361 - #
3.3362 - # There doesn't appear to be a way to prevent this compiler from
3.3363 - # explicitly linking system object files so we need to strip them
3.3364 - # from the output so that they don't get included in the library
3.3365 - # dependencies.
3.3366 - 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'
3.3367 - ;;
3.3368 - *)
3.3369 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
3.3370 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3.3371 - _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'
3.3372 -
3.3373 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3.3374 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.3375 -
3.3376 - # Commands to make compiler produce verbose output that lists
3.3377 - # what "hidden" libraries, object files and flags are used when
3.3378 - # linking a shared library.
3.3379 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
3.3380 -
3.3381 - else
3.3382 - # FIXME: insert proper C++ library support
3.3383 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3384 - fi
3.3385 - ;;
3.3386 - esac
3.3387 - ;;
3.3388 - osf4* | osf5*)
3.3389 - case $cc_basename in
3.3390 - KCC*)
3.3391 - # Kuck and Associates, Inc. (KAI) C++ Compiler
3.3392 -
3.3393 - # KCC will only create a shared library if the output file
3.3394 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
3.3395 - # to its proper name (with version) after linking.
3.3396 - _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'
3.3397 -
3.3398 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3.3399 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.3400 -
3.3401 - # Archives containing C++ object files must be created using
3.3402 - # the KAI C++ compiler.
3.3403 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
3.3404 - ;;
3.3405 - RCC*)
3.3406 - # Rational C++ 2.4.1
3.3407 - # FIXME: insert proper C++ library support
3.3408 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3409 - ;;
3.3410 - cxx*)
3.3411 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
3.3412 - _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'
3.3413 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
3.3414 - echo "-hidden">> $lib.exp~
3.3415 - $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~
3.3416 - $rm $lib.exp'
3.3417 -
3.3418 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
3.3419 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.3420 -
3.3421 - # Commands to make compiler produce verbose output that lists
3.3422 - # what "hidden" libraries, object files and flags are used when
3.3423 - # linking a shared library.
3.3424 - #
3.3425 - # There doesn't appear to be a way to prevent this compiler from
3.3426 - # explicitly linking system object files so we need to strip them
3.3427 - # from the output so that they don't get included in the library
3.3428 - # dependencies.
3.3429 - 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'
3.3430 - ;;
3.3431 - *)
3.3432 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
3.3433 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3.3434 - _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'
3.3435 -
3.3436 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3.3437 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.3438 -
3.3439 - # Commands to make compiler produce verbose output that lists
3.3440 - # what "hidden" libraries, object files and flags are used when
3.3441 - # linking a shared library.
3.3442 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
3.3443 -
3.3444 - else
3.3445 - # FIXME: insert proper C++ library support
3.3446 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3447 - fi
3.3448 - ;;
3.3449 - esac
3.3450 - ;;
3.3451 - psos*)
3.3452 - # FIXME: insert proper C++ library support
3.3453 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3454 - ;;
3.3455 - sco*)
3.3456 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3.3457 - case $cc_basename in
3.3458 - CC*)
3.3459 - # FIXME: insert proper C++ library support
3.3460 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3461 - ;;
3.3462 - *)
3.3463 - # FIXME: insert proper C++ library support
3.3464 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3465 - ;;
3.3466 - esac
3.3467 - ;;
3.3468 - sunos4*)
3.3469 - case $cc_basename in
3.3470 - CC*)
3.3471 - # Sun C++ 4.x
3.3472 - # FIXME: insert proper C++ library support
3.3473 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3474 - ;;
3.3475 - lcc*)
3.3476 - # Lucid
3.3477 - # FIXME: insert proper C++ library support
3.3478 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3479 - ;;
3.3480 - *)
3.3481 - # FIXME: insert proper C++ library support
3.3482 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3483 - ;;
3.3484 - esac
3.3485 - ;;
3.3486 - solaris*)
3.3487 - case $cc_basename in
3.3488 - CC*)
3.3489 - # Sun C++ 4.2, 5.x and Centerline C++
3.3490 - _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
3.3491 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
3.3492 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3.3493 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3.3494 - $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'
3.3495 -
3.3496 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3.3497 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.3498 - case $host_os in
3.3499 - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
3.3500 - *)
3.3501 - # The C++ compiler is used as linker so we must use $wl
3.3502 - # flag to pass the commands to the underlying system
3.3503 - # linker. We must also pass each convience library through
3.3504 - # to the system linker between allextract/defaultextract.
3.3505 - # The C++ compiler will combine linker options so we
3.3506 - # cannot just pass the convience library names through
3.3507 - # without $wl.
3.3508 - # Supported since Solaris 2.6 (maybe 2.5.1?)
3.3509 - _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'
3.3510 - ;;
3.3511 - esac
3.3512 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3.3513 -
3.3514 - output_verbose_link_cmd='echo'
3.3515 -
3.3516 - # Archives containing C++ object files must be created using
3.3517 - # "CC -xar", where "CC" is the Sun C++ compiler. This is
3.3518 - # necessary to make sure instantiated templates are included
3.3519 - # in the archive.
3.3520 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
3.3521 - ;;
3.3522 - gcx*)
3.3523 - # Green Hills C++ Compiler
3.3524 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
3.3525 -
3.3526 - # The C++ compiler must be used to create the archive.
3.3527 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
3.3528 - ;;
3.3529 - *)
3.3530 - # GNU C++ compiler with Solaris linker
3.3531 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
3.3532 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
3.3533 - if $CC --version | grep -v '^2\.7' > /dev/null; then
3.3534 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
3.3535 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3.3536 - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
3.3537 -
3.3538 - # Commands to make compiler produce verbose output that lists
3.3539 - # what "hidden" libraries, object files and flags are used when
3.3540 - # linking a shared library.
3.3541 - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
3.3542 - else
3.3543 - # g++ 2.7 appears to require `-G' NOT `-shared' on this
3.3544 - # platform.
3.3545 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
3.3546 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3.3547 - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
3.3548 -
3.3549 - # Commands to make compiler produce verbose output that lists
3.3550 - # what "hidden" libraries, object files and flags are used when
3.3551 - # linking a shared library.
3.3552 - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
3.3553 - fi
3.3554 -
3.3555 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
3.3556 - fi
3.3557 - ;;
3.3558 - esac
3.3559 - ;;
3.3560 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
3.3561 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3.3562 - ;;
3.3563 - tandem*)
3.3564 - case $cc_basename in
3.3565 - NCC*)
3.3566 - # NonStop-UX NCC 3.20
3.3567 - # FIXME: insert proper C++ library support
3.3568 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3569 - ;;
3.3570 - *)
3.3571 - # FIXME: insert proper C++ library support
3.3572 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3573 - ;;
3.3574 - esac
3.3575 - ;;
3.3576 - vxworks*)
3.3577 - # FIXME: insert proper C++ library support
3.3578 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3579 - ;;
3.3580 - *)
3.3581 - # FIXME: insert proper C++ library support
3.3582 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.3583 - ;;
3.3584 -esac
3.3585 -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
3.3586 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
3.3587 -
3.3588 -_LT_AC_TAGVAR(GCC, $1)="$GXX"
3.3589 -_LT_AC_TAGVAR(LD, $1)="$LD"
3.3590 -
3.3591 -AC_LIBTOOL_POSTDEP_PREDEP($1)
3.3592 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
3.3593 -AC_LIBTOOL_PROG_CC_C_O($1)
3.3594 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3.3595 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
3.3596 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3.3597 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3.3598 -AC_LIBTOOL_SYS_LIB_STRIP
3.3599 -AC_LIBTOOL_DLOPEN_SELF($1)
3.3600 -
3.3601 -AC_LIBTOOL_CONFIG($1)
3.3602 -
3.3603 -AC_LANG_POP
3.3604 -CC=$lt_save_CC
3.3605 -LDCXX=$LD
3.3606 -LD=$lt_save_LD
3.3607 -GCC=$lt_save_GCC
3.3608 -with_gnu_ldcxx=$with_gnu_ld
3.3609 -with_gnu_ld=$lt_save_with_gnu_ld
3.3610 -lt_cv_path_LDCXX=$lt_cv_path_LD
3.3611 -lt_cv_path_LD=$lt_save_path_LD
3.3612 -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
3.3613 -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
3.3614 -])# AC_LIBTOOL_LANG_CXX_CONFIG
3.3615 -
3.3616 -# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
3.3617 -# ------------------------
3.3618 -# Figure out "hidden" library dependencies from verbose
3.3619 -# compiler output when linking a shared library.
3.3620 -# Parse the compiler output and extract the necessary
3.3621 -# objects, libraries and library flags.
3.3622 -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
3.3623 -dnl we can't use the lt_simple_compile_test_code here,
3.3624 -dnl because it contains code intended for an executable,
3.3625 -dnl not a library. It's possible we should let each
3.3626 -dnl tag define a new lt_????_link_test_code variable,
3.3627 -dnl but it's only used here...
3.3628 -ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
3.3629 -int a;
3.3630 -void foo (void) { a = 0; }
3.3631 -EOF
3.3632 -],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
3.3633 -class Foo
3.3634 -{
3.3635 -public:
3.3636 - Foo (void) { a = 0; }
3.3637 -private:
3.3638 - int a;
3.3639 -};
3.3640 -EOF
3.3641 -],[$1],[F77],[cat > conftest.$ac_ext <<EOF
3.3642 - subroutine foo
3.3643 - implicit none
3.3644 - integer*4 a
3.3645 - a=0
3.3646 - return
3.3647 - end
3.3648 -EOF
3.3649 -],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
3.3650 -public class foo {
3.3651 - private int a;
3.3652 - public void bar (void) {
3.3653 - a = 0;
3.3654 - }
3.3655 -};
3.3656 -EOF
3.3657 -])
3.3658 -dnl Parse the compiler output and extract the necessary
3.3659 -dnl objects, libraries and library flags.
3.3660 -if AC_TRY_EVAL(ac_compile); then
3.3661 - # Parse the compiler output and extract the necessary
3.3662 - # objects, libraries and library flags.
3.3663 -
3.3664 - # Sentinel used to keep track of whether or not we are before
3.3665 - # the conftest object file.
3.3666 - pre_test_object_deps_done=no
3.3667 -
3.3668 - # The `*' in the case matches for architectures that use `case' in
3.3669 - # $output_verbose_cmd can trigger glob expansion during the loop
3.3670 - # eval without this substitution.
3.3671 - output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
3.3672 -
3.3673 - for p in `eval $output_verbose_link_cmd`; do
3.3674 - case $p in
3.3675 -
3.3676 - -L* | -R* | -l*)
3.3677 - # Some compilers place space between "-{L,R}" and the path.
3.3678 - # Remove the space.
3.3679 - if test $p = "-L" \
3.3680 - || test $p = "-R"; then
3.3681 - prev=$p
3.3682 - continue
3.3683 - else
3.3684 - prev=
3.3685 - fi
3.3686 -
3.3687 - if test "$pre_test_object_deps_done" = no; then
3.3688 - case $p in
3.3689 - -L* | -R*)
3.3690 - # Internal compiler library paths should come after those
3.3691 - # provided the user. The postdeps already come after the
3.3692 - # user supplied libs so there is no need to process them.
3.3693 - if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
3.3694 - _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
3.3695 - else
3.3696 - _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
3.3697 - fi
3.3698 - ;;
3.3699 - # The "-l" case would never come before the object being
3.3700 - # linked, so don't bother handling this case.
3.3701 - esac
3.3702 - else
3.3703 - if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
3.3704 - _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
3.3705 - else
3.3706 - _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
3.3707 - fi
3.3708 - fi
3.3709 - ;;
3.3710 -
3.3711 - *.$objext)
3.3712 - # This assumes that the test object file only shows up
3.3713 - # once in the compiler output.
3.3714 - if test "$p" = "conftest.$objext"; then
3.3715 - pre_test_object_deps_done=yes
3.3716 - continue
3.3717 - fi
3.3718 -
3.3719 - if test "$pre_test_object_deps_done" = no; then
3.3720 - if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
3.3721 - _LT_AC_TAGVAR(predep_objects, $1)="$p"
3.3722 - else
3.3723 - _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
3.3724 - fi
3.3725 - else
3.3726 - if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
3.3727 - _LT_AC_TAGVAR(postdep_objects, $1)="$p"
3.3728 - else
3.3729 - _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
3.3730 - fi
3.3731 - fi
3.3732 - ;;
3.3733 -
3.3734 - *) ;; # Ignore the rest.
3.3735 -
3.3736 - esac
3.3737 - done
3.3738 -
3.3739 - # Clean up.
3.3740 - rm -f a.out a.exe
3.3741 -else
3.3742 - echo "libtool.m4: error: problem compiling $1 test program"
3.3743 -fi
3.3744 -
3.3745 -$rm -f confest.$objext
3.3746 -
3.3747 -# PORTME: override above test on systems where it is broken
3.3748 -ifelse([$1],[CXX],
3.3749 -[case $host_os in
3.3750 -solaris*)
3.3751 - case $cc_basename in
3.3752 - CC*)
3.3753 - # Adding this requires a known-good setup of shared libraries for
3.3754 - # Sun compiler versions before 5.6, else PIC objects from an old
3.3755 - # archive will be linked into the output, leading to subtle bugs.
3.3756 - _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
3.3757 - ;;
3.3758 - esac
3.3759 -esac
3.3760 -])
3.3761 -
3.3762 -case " $_LT_AC_TAGVAR(postdeps, $1) " in
3.3763 -*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
3.3764 -esac
3.3765 -])# AC_LIBTOOL_POSTDEP_PREDEP
3.3766 -
3.3767 -# AC_LIBTOOL_LANG_F77_CONFIG
3.3768 -# ------------------------
3.3769 -# Ensure that the configuration vars for the C compiler are
3.3770 -# suitably defined. Those variables are subsequently used by
3.3771 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
3.3772 -AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
3.3773 -AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
3.3774 -[AC_REQUIRE([AC_PROG_F77])
3.3775 -AC_LANG_PUSH(Fortran 77)
3.3776 -
3.3777 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3.3778 -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
3.3779 -_LT_AC_TAGVAR(always_export_symbols, $1)=no
3.3780 -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
3.3781 -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
3.3782 -_LT_AC_TAGVAR(hardcode_direct, $1)=no
3.3783 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3.3784 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
3.3785 -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3.3786 -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
3.3787 -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
3.3788 -_LT_AC_TAGVAR(module_cmds, $1)=
3.3789 -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
3.3790 -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
3.3791 -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
3.3792 -_LT_AC_TAGVAR(no_undefined_flag, $1)=
3.3793 -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3.3794 -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
3.3795 -
3.3796 -# Source file extension for f77 test sources.
3.3797 -ac_ext=f
3.3798 -
3.3799 -# Object file extension for compiled f77 test sources.
3.3800 -objext=o
3.3801 -_LT_AC_TAGVAR(objext, $1)=$objext
3.3802 -
3.3803 -# Code to be used in simple compile tests
3.3804 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
3.3805 -
3.3806 -# Code to be used in simple link tests
3.3807 -lt_simple_link_test_code=" program t\n end\n"
3.3808 -
3.3809 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
3.3810 -_LT_AC_SYS_COMPILER
3.3811 -
3.3812 -# save warnings/boilerplate of simple test code
3.3813 -_LT_COMPILER_BOILERPLATE
3.3814 -_LT_LINKER_BOILERPLATE
3.3815 -
3.3816 -# Allow CC to be a program name with arguments.
3.3817 -lt_save_CC="$CC"
3.3818 -CC=${F77-"f77"}
3.3819 -compiler=$CC
3.3820 -_LT_AC_TAGVAR(compiler, $1)=$CC
3.3821 -_LT_CC_BASENAME([$compiler])
3.3822 -
3.3823 -AC_MSG_CHECKING([if libtool supports shared libraries])
3.3824 -AC_MSG_RESULT([$can_build_shared])
3.3825 -
3.3826 -AC_MSG_CHECKING([whether to build shared libraries])
3.3827 -test "$can_build_shared" = "no" && enable_shared=no
3.3828 -
3.3829 -# On AIX, shared libraries and static libraries use the same namespace, and
3.3830 -# are all built from PIC.
3.3831 -case $host_os in
3.3832 -aix3*)
3.3833 - test "$enable_shared" = yes && enable_static=no
3.3834 - if test -n "$RANLIB"; then
3.3835 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
3.3836 - postinstall_cmds='$RANLIB $lib'
3.3837 - fi
3.3838 - ;;
3.3839 -aix4* | aix5*)
3.3840 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
3.3841 - test "$enable_shared" = yes && enable_static=no
3.3842 - fi
3.3843 - ;;
3.3844 -esac
3.3845 -AC_MSG_RESULT([$enable_shared])
3.3846 -
3.3847 -AC_MSG_CHECKING([whether to build static libraries])
3.3848 -# Make sure either enable_shared or enable_static is yes.
3.3849 -test "$enable_shared" = yes || enable_static=yes
3.3850 -AC_MSG_RESULT([$enable_static])
3.3851 -
3.3852 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
3.3853 -
3.3854 -_LT_AC_TAGVAR(GCC, $1)="$G77"
3.3855 -_LT_AC_TAGVAR(LD, $1)="$LD"
3.3856 -
3.3857 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
3.3858 -AC_LIBTOOL_PROG_CC_C_O($1)
3.3859 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3.3860 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
3.3861 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3.3862 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3.3863 -AC_LIBTOOL_SYS_LIB_STRIP
3.3864 -
3.3865 -
3.3866 -AC_LIBTOOL_CONFIG($1)
3.3867 -
3.3868 -AC_LANG_POP
3.3869 -CC="$lt_save_CC"
3.3870 -])# AC_LIBTOOL_LANG_F77_CONFIG
3.3871 -
3.3872 -
3.3873 -# AC_LIBTOOL_LANG_GCJ_CONFIG
3.3874 -# --------------------------
3.3875 -# Ensure that the configuration vars for the C compiler are
3.3876 -# suitably defined. Those variables are subsequently used by
3.3877 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
3.3878 -AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
3.3879 -AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
3.3880 -[AC_LANG_SAVE
3.3881 -
3.3882 -# Source file extension for Java test sources.
3.3883 -ac_ext=java
3.3884 -
3.3885 -# Object file extension for compiled Java test sources.
3.3886 -objext=o
3.3887 -_LT_AC_TAGVAR(objext, $1)=$objext
3.3888 -
3.3889 -# Code to be used in simple compile tests
3.3890 -lt_simple_compile_test_code="class foo {}\n"
3.3891 -
3.3892 -# Code to be used in simple link tests
3.3893 -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'
3.3894 -
3.3895 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
3.3896 -_LT_AC_SYS_COMPILER
3.3897 -
3.3898 -# save warnings/boilerplate of simple test code
3.3899 -_LT_COMPILER_BOILERPLATE
3.3900 -_LT_LINKER_BOILERPLATE
3.3901 -
3.3902 -# Allow CC to be a program name with arguments.
3.3903 -lt_save_CC="$CC"
3.3904 -CC=${GCJ-"gcj"}
3.3905 -compiler=$CC
3.3906 -_LT_AC_TAGVAR(compiler, $1)=$CC
3.3907 -_LT_CC_BASENAME([$compiler])
3.3908 -
3.3909 -# GCJ did not exist at the time GCC didn't implicitly link libc in.
3.3910 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3.3911 -
3.3912 -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
3.3913 -
3.3914 -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
3.3915 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
3.3916 -AC_LIBTOOL_PROG_CC_C_O($1)
3.3917 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3.3918 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
3.3919 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3.3920 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3.3921 -AC_LIBTOOL_SYS_LIB_STRIP
3.3922 -AC_LIBTOOL_DLOPEN_SELF($1)
3.3923 -
3.3924 -AC_LIBTOOL_CONFIG($1)
3.3925 -
3.3926 -AC_LANG_RESTORE
3.3927 -CC="$lt_save_CC"
3.3928 -])# AC_LIBTOOL_LANG_GCJ_CONFIG
3.3929 -
3.3930 -
3.3931 -# AC_LIBTOOL_LANG_RC_CONFIG
3.3932 -# --------------------------
3.3933 -# Ensure that the configuration vars for the Windows resource compiler are
3.3934 -# suitably defined. Those variables are subsequently used by
3.3935 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
3.3936 -AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
3.3937 -AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
3.3938 -[AC_LANG_SAVE
3.3939 -
3.3940 -# Source file extension for RC test sources.
3.3941 -ac_ext=rc
3.3942 -
3.3943 -# Object file extension for compiled RC test sources.
3.3944 -objext=o
3.3945 -_LT_AC_TAGVAR(objext, $1)=$objext
3.3946 -
3.3947 -# Code to be used in simple compile tests
3.3948 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
3.3949 -
3.3950 -# Code to be used in simple link tests
3.3951 -lt_simple_link_test_code="$lt_simple_compile_test_code"
3.3952 -
3.3953 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
3.3954 -_LT_AC_SYS_COMPILER
3.3955 -
3.3956 -# save warnings/boilerplate of simple test code
3.3957 -_LT_COMPILER_BOILERPLATE
3.3958 -_LT_LINKER_BOILERPLATE
3.3959 -
3.3960 -# Allow CC to be a program name with arguments.
3.3961 -lt_save_CC="$CC"
3.3962 -CC=${RC-"windres"}
3.3963 -compiler=$CC
3.3964 -_LT_AC_TAGVAR(compiler, $1)=$CC
3.3965 -_LT_CC_BASENAME([$compiler])
3.3966 -_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
3.3967 -
3.3968 -AC_LIBTOOL_CONFIG($1)
3.3969 -
3.3970 -AC_LANG_RESTORE
3.3971 -CC="$lt_save_CC"
3.3972 -])# AC_LIBTOOL_LANG_RC_CONFIG
3.3973 -
3.3974 -
3.3975 -# AC_LIBTOOL_CONFIG([TAGNAME])
3.3976 -# ----------------------------
3.3977 -# If TAGNAME is not passed, then create an initial libtool script
3.3978 -# with a default configuration from the untagged config vars. Otherwise
3.3979 -# add code to config.status for appending the configuration named by
3.3980 -# TAGNAME from the matching tagged config vars.
3.3981 -AC_DEFUN([AC_LIBTOOL_CONFIG],
3.3982 -[# The else clause should only fire when bootstrapping the
3.3983 -# libtool distribution, otherwise you forgot to ship ltmain.sh
3.3984 -# with your package, and you will get complaints that there are
3.3985 -# no rules to generate ltmain.sh.
3.3986 -if test -f "$ltmain"; then
3.3987 - # See if we are running on zsh, and set the options which allow our commands through
3.3988 - # without removal of \ escapes.
3.3989 - if test -n "${ZSH_VERSION+set}" ; then
3.3990 - setopt NO_GLOB_SUBST
3.3991 - fi
3.3992 - # Now quote all the things that may contain metacharacters while being
3.3993 - # careful not to overquote the AC_SUBSTed values. We take copies of the
3.3994 - # variables and quote the copies for generation of the libtool script.
3.3995 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
3.3996 - SED SHELL STRIP \
3.3997 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
3.3998 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
3.3999 - deplibs_check_method reload_flag reload_cmds need_locks \
3.4000 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
3.4001 - lt_cv_sys_global_symbol_to_c_name_address \
3.4002 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
3.4003 - old_postinstall_cmds old_postuninstall_cmds \
3.4004 - _LT_AC_TAGVAR(compiler, $1) \
3.4005 - _LT_AC_TAGVAR(CC, $1) \
3.4006 - _LT_AC_TAGVAR(LD, $1) \
3.4007 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
3.4008 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
3.4009 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
3.4010 - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
3.4011 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
3.4012 - _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
3.4013 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
3.4014 - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
3.4015 - _LT_AC_TAGVAR(old_archive_cmds, $1) \
3.4016 - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
3.4017 - _LT_AC_TAGVAR(predep_objects, $1) \
3.4018 - _LT_AC_TAGVAR(postdep_objects, $1) \
3.4019 - _LT_AC_TAGVAR(predeps, $1) \
3.4020 - _LT_AC_TAGVAR(postdeps, $1) \
3.4021 - _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
3.4022 - _LT_AC_TAGVAR(archive_cmds, $1) \
3.4023 - _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
3.4024 - _LT_AC_TAGVAR(postinstall_cmds, $1) \
3.4025 - _LT_AC_TAGVAR(postuninstall_cmds, $1) \
3.4026 - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
3.4027 - _LT_AC_TAGVAR(allow_undefined_flag, $1) \
3.4028 - _LT_AC_TAGVAR(no_undefined_flag, $1) \
3.4029 - _LT_AC_TAGVAR(export_symbols_cmds, $1) \
3.4030 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
3.4031 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
3.4032 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
3.4033 - _LT_AC_TAGVAR(hardcode_automatic, $1) \
3.4034 - _LT_AC_TAGVAR(module_cmds, $1) \
3.4035 - _LT_AC_TAGVAR(module_expsym_cmds, $1) \
3.4036 - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
3.4037 - _LT_AC_TAGVAR(exclude_expsyms, $1) \
3.4038 - _LT_AC_TAGVAR(include_expsyms, $1); do
3.4039 -
3.4040 - case $var in
3.4041 - _LT_AC_TAGVAR(old_archive_cmds, $1) | \
3.4042 - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
3.4043 - _LT_AC_TAGVAR(archive_cmds, $1) | \
3.4044 - _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
3.4045 - _LT_AC_TAGVAR(module_cmds, $1) | \
3.4046 - _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
3.4047 - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
3.4048 - _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
3.4049 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
3.4050 - postinstall_cmds | postuninstall_cmds | \
3.4051 - old_postinstall_cmds | old_postuninstall_cmds | \
3.4052 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
3.4053 - # Double-quote double-evaled strings.
3.4054 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
3.4055 - ;;
3.4056 - *)
3.4057 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
3.4058 - ;;
3.4059 - esac
3.4060 - done
3.4061 -
3.4062 - case $lt_echo in
3.4063 - *'\[$]0 --fallback-echo"')
3.4064 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
3.4065 - ;;
3.4066 - esac
3.4067 -
3.4068 -ifelse([$1], [],
3.4069 - [cfgfile="${ofile}T"
3.4070 - trap "$rm \"$cfgfile\"; exit 1" 1 2 15
3.4071 - $rm -f "$cfgfile"
3.4072 - AC_MSG_NOTICE([creating $ofile])],
3.4073 - [cfgfile="$ofile"])
3.4074 -
3.4075 - cat <<__EOF__ >> "$cfgfile"
3.4076 -ifelse([$1], [],
3.4077 -[#! $SHELL
3.4078 -
3.4079 -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
3.4080 -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
3.4081 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
3.4082 -#
3.4083 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
3.4084 -# Free Software Foundation, Inc.
3.4085 -#
3.4086 -# This file is part of GNU Libtool:
3.4087 -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
3.4088 -#
3.4089 -# This program is free software; you can redistribute it and/or modify
3.4090 -# it under the terms of the GNU General Public License as published by
3.4091 -# the Free Software Foundation; either version 2 of the License, or
3.4092 -# (at your option) any later version.
3.4093 -#
3.4094 -# This program is distributed in the hope that it will be useful, but
3.4095 -# WITHOUT ANY WARRANTY; without even the implied warranty of
3.4096 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3.4097 -# General Public License for more details.
3.4098 -#
3.4099 -# You should have received a copy of the GNU General Public License
3.4100 -# along with this program; if not, write to the Free Software
3.4101 -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
3.4102 -#
3.4103 -# As a special exception to the GNU General Public License, if you
3.4104 -# distribute this file as part of a program that contains a
3.4105 -# configuration script generated by Autoconf, you may include it under
3.4106 -# the same distribution terms that you use for the rest of that program.
3.4107 -
3.4108 -# A sed program that does not truncate output.
3.4109 -SED=$lt_SED
3.4110 -
3.4111 -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
3.4112 -Xsed="$SED -e 1s/^X//"
3.4113 -
3.4114 -# The HP-UX ksh and POSIX shell print the target directory to stdout
3.4115 -# if CDPATH is set.
3.4116 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3.4117 -
3.4118 -# The names of the tagged configurations supported by this script.
3.4119 -available_tags=
3.4120 -
3.4121 -# ### BEGIN LIBTOOL CONFIG],
3.4122 -[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
3.4123 -
3.4124 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3.4125 -
3.4126 -# Shell to use when invoking shell scripts.
3.4127 -SHELL=$lt_SHELL
3.4128 -
3.4129 -# Whether or not to build shared libraries.
3.4130 -build_libtool_libs=$enable_shared
3.4131 -
3.4132 -# Whether or not to build static libraries.
3.4133 -build_old_libs=$enable_static
3.4134 -
3.4135 -# Whether or not to add -lc for building shared libraries.
3.4136 -build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
3.4137 -
3.4138 -# Whether or not to disallow shared libs when runtime libs are static
3.4139 -allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
3.4140 -
3.4141 -# Whether or not to optimize for fast installation.
3.4142 -fast_install=$enable_fast_install
3.4143 -
3.4144 -# The host system.
3.4145 -host_alias=$host_alias
3.4146 -host=$host
3.4147 -host_os=$host_os
3.4148 -
3.4149 -# The build system.
3.4150 -build_alias=$build_alias
3.4151 -build=$build
3.4152 -build_os=$build_os
3.4153 -
3.4154 -# An echo program that does not interpret backslashes.
3.4155 -echo=$lt_echo
3.4156 -
3.4157 -# The archiver.
3.4158 -AR=$lt_AR
3.4159 -AR_FLAGS=$lt_AR_FLAGS
3.4160 -
3.4161 -# A C compiler.
3.4162 -LTCC=$lt_LTCC
3.4163 -
3.4164 -# A language-specific compiler.
3.4165 -CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
3.4166 -
3.4167 -# Is the compiler the GNU C compiler?
3.4168 -with_gcc=$_LT_AC_TAGVAR(GCC, $1)
3.4169 -
3.4170 -# An ERE matcher.
3.4171 -EGREP=$lt_EGREP
3.4172 -
3.4173 -# The linker used to build libraries.
3.4174 -LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
3.4175 -
3.4176 -# Whether we need hard or soft links.
3.4177 -LN_S=$lt_LN_S
3.4178 -
3.4179 -# A BSD-compatible nm program.
3.4180 -NM=$lt_NM
3.4181 -
3.4182 -# A symbol stripping program
3.4183 -STRIP=$lt_STRIP
3.4184 -
3.4185 -# Used to examine libraries when file_magic_cmd begins "file"
3.4186 -MAGIC_CMD=$MAGIC_CMD
3.4187 -
3.4188 -# Used on cygwin: DLL creation program.
3.4189 -DLLTOOL="$DLLTOOL"
3.4190 -
3.4191 -# Used on cygwin: object dumper.
3.4192 -OBJDUMP="$OBJDUMP"
3.4193 -
3.4194 -# Used on cygwin: assembler.
3.4195 -AS="$AS"
3.4196 -
3.4197 -# The name of the directory that contains temporary libtool files.
3.4198 -objdir=$objdir
3.4199 -
3.4200 -# How to create reloadable object files.
3.4201 -reload_flag=$lt_reload_flag
3.4202 -reload_cmds=$lt_reload_cmds
3.4203 -
3.4204 -# How to pass a linker flag through the compiler.
3.4205 -wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
3.4206 -
3.4207 -# Object file suffix (normally "o").
3.4208 -objext="$ac_objext"
3.4209 -
3.4210 -# Old archive suffix (normally "a").
3.4211 -libext="$libext"
3.4212 -
3.4213 -# Shared library suffix (normally ".so").
3.4214 -shrext_cmds='$shrext_cmds'
3.4215 -
3.4216 -# Executable file suffix (normally "").
3.4217 -exeext="$exeext"
3.4218 -
3.4219 -# Additional compiler flags for building library objects.
3.4220 -pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
3.4221 -pic_mode=$pic_mode
3.4222 -
3.4223 -# What is the maximum length of a command?
3.4224 -max_cmd_len=$lt_cv_sys_max_cmd_len
3.4225 -
3.4226 -# Does compiler simultaneously support -c and -o options?
3.4227 -compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
3.4228 -
3.4229 -# Must we lock files when doing compilation?
3.4230 -need_locks=$lt_need_locks
3.4231 -
3.4232 -# Do we need the lib prefix for modules?
3.4233 -need_lib_prefix=$need_lib_prefix
3.4234 -
3.4235 -# Do we need a version for libraries?
3.4236 -need_version=$need_version
3.4237 -
3.4238 -# Whether dlopen is supported.
3.4239 -dlopen_support=$enable_dlopen
3.4240 -
3.4241 -# Whether dlopen of programs is supported.
3.4242 -dlopen_self=$enable_dlopen_self
3.4243 -
3.4244 -# Whether dlopen of statically linked programs is supported.
3.4245 -dlopen_self_static=$enable_dlopen_self_static
3.4246 -
3.4247 -# Compiler flag to prevent dynamic linking.
3.4248 -link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
3.4249 -
3.4250 -# Compiler flag to turn off builtin functions.
3.4251 -no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
3.4252 -
3.4253 -# Compiler flag to allow reflexive dlopens.
3.4254 -export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
3.4255 -
3.4256 -# Compiler flag to generate shared objects directly from archives.
3.4257 -whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
3.4258 -
3.4259 -# Compiler flag to generate thread-safe objects.
3.4260 -thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
3.4261 -
3.4262 -# Library versioning type.
3.4263 -version_type=$version_type
3.4264 -
3.4265 -# Format of library name prefix.
3.4266 -libname_spec=$lt_libname_spec
3.4267 -
3.4268 -# List of archive names. First name is the real one, the rest are links.
3.4269 -# The last name is the one that the linker finds with -lNAME.
3.4270 -library_names_spec=$lt_library_names_spec
3.4271 -
3.4272 -# The coded name of the library, if different from the real name.
3.4273 -soname_spec=$lt_soname_spec
3.4274 -
3.4275 -# Commands used to build and install an old-style archive.
3.4276 -RANLIB=$lt_RANLIB
3.4277 -old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
3.4278 -old_postinstall_cmds=$lt_old_postinstall_cmds
3.4279 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
3.4280 -
3.4281 -# Create an old-style archive from a shared archive.
3.4282 -old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
3.4283 -
3.4284 -# Create a temporary old-style archive to link instead of a shared archive.
3.4285 -old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
3.4286 -
3.4287 -# Commands used to build and install a shared archive.
3.4288 -archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
3.4289 -archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
3.4290 -postinstall_cmds=$lt_postinstall_cmds
3.4291 -postuninstall_cmds=$lt_postuninstall_cmds
3.4292 -
3.4293 -# Commands used to build a loadable module (assumed same as above if empty)
3.4294 -module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
3.4295 -module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
3.4296 -
3.4297 -# Commands to strip libraries.
3.4298 -old_striplib=$lt_old_striplib
3.4299 -striplib=$lt_striplib
3.4300 -
3.4301 -# Dependencies to place before the objects being linked to create a
3.4302 -# shared library.
3.4303 -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
3.4304 -
3.4305 -# Dependencies to place after the objects being linked to create a
3.4306 -# shared library.
3.4307 -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
3.4308 -
3.4309 -# Dependencies to place before the objects being linked to create a
3.4310 -# shared library.
3.4311 -predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
3.4312 -
3.4313 -# Dependencies to place after the objects being linked to create a
3.4314 -# shared library.
3.4315 -postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
3.4316 -
3.4317 -# The library search path used internally by the compiler when linking
3.4318 -# a shared library.
3.4319 -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
3.4320 -
3.4321 -# Method to check whether dependent libraries are shared objects.
3.4322 -deplibs_check_method=$lt_deplibs_check_method
3.4323 -
3.4324 -# Command to use when deplibs_check_method == file_magic.
3.4325 -file_magic_cmd=$lt_file_magic_cmd
3.4326 -
3.4327 -# Flag that allows shared libraries with undefined symbols to be built.
3.4328 -allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
3.4329 -
3.4330 -# Flag that forces no undefined symbols.
3.4331 -no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
3.4332 -
3.4333 -# Commands used to finish a libtool library installation in a directory.
3.4334 -finish_cmds=$lt_finish_cmds
3.4335 -
3.4336 -# Same as above, but a single script fragment to be evaled but not shown.
3.4337 -finish_eval=$lt_finish_eval
3.4338 -
3.4339 -# Take the output of nm and produce a listing of raw symbols and C names.
3.4340 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
3.4341 -
3.4342 -# Transform the output of nm in a proper C declaration
3.4343 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
3.4344 -
3.4345 -# Transform the output of nm in a C name address pair
3.4346 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
3.4347 -
3.4348 -# This is the shared library runtime path variable.
3.4349 -runpath_var=$runpath_var
3.4350 -
3.4351 -# This is the shared library path variable.
3.4352 -shlibpath_var=$shlibpath_var
3.4353 -
3.4354 -# Is shlibpath searched before the hard-coded library search path?
3.4355 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
3.4356 -
3.4357 -# How to hardcode a shared library path into an executable.
3.4358 -hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
3.4359 -
3.4360 -# Whether we should hardcode library paths into libraries.
3.4361 -hardcode_into_libs=$hardcode_into_libs
3.4362 -
3.4363 -# Flag to hardcode \$libdir into a binary during linking.
3.4364 -# This must work even if \$libdir does not exist.
3.4365 -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
3.4366 -
3.4367 -# If ld is used when linking, flag to hardcode \$libdir into
3.4368 -# a binary during linking. This must work even if \$libdir does
3.4369 -# not exist.
3.4370 -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
3.4371 -
3.4372 -# Whether we need a single -rpath flag with a separated argument.
3.4373 -hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
3.4374 -
3.4375 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
3.4376 -# resulting binary.
3.4377 -hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
3.4378 -
3.4379 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
3.4380 -# resulting binary.
3.4381 -hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
3.4382 -
3.4383 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
3.4384 -# the resulting binary.
3.4385 -hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
3.4386 -
3.4387 -# Set to yes if building a shared library automatically hardcodes DIR into the library
3.4388 -# and all subsequent libraries and executables linked against it.
3.4389 -hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
3.4390 -
3.4391 -# Variables whose values should be saved in libtool wrapper scripts and
3.4392 -# restored at relink time.
3.4393 -variables_saved_for_relink="$variables_saved_for_relink"
3.4394 -
3.4395 -# Whether libtool must link a program against all its dependency libraries.
3.4396 -link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
3.4397 -
3.4398 -# Compile-time system search path for libraries
3.4399 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
3.4400 -
3.4401 -# Run-time system search path for libraries
3.4402 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
3.4403 -
3.4404 -# Fix the shell variable \$srcfile for the compiler.
3.4405 -fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
3.4406 -
3.4407 -# Set to yes if exported symbols are required.
3.4408 -always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
3.4409 -
3.4410 -# The commands to list exported symbols.
3.4411 -export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
3.4412 -
3.4413 -# The commands to extract the exported symbol list from a shared archive.
3.4414 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
3.4415 -
3.4416 -# Symbols that should not be listed in the preloaded symbols.
3.4417 -exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
3.4418 -
3.4419 -# Symbols that must always be exported.
3.4420 -include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
3.4421 -
3.4422 -ifelse([$1],[],
3.4423 -[# ### END LIBTOOL CONFIG],
3.4424 -[# ### END LIBTOOL TAG CONFIG: $tagname])
3.4425 -
3.4426 -__EOF__
3.4427 -
3.4428 -ifelse([$1],[], [
3.4429 - case $host_os in
3.4430 - aix3*)
3.4431 - cat <<\EOF >> "$cfgfile"
3.4432 -
3.4433 -# AIX sometimes has problems with the GCC collect2 program. For some
3.4434 -# reason, if we set the COLLECT_NAMES environment variable, the problems
3.4435 -# vanish in a puff of smoke.
3.4436 -if test "X${COLLECT_NAMES+set}" != Xset; then
3.4437 - COLLECT_NAMES=
3.4438 - export COLLECT_NAMES
3.4439 -fi
3.4440 -EOF
3.4441 - ;;
3.4442 - esac
3.4443 -
3.4444 - # We use sed instead of cat because bash on DJGPP gets confused if
3.4445 - # if finds mixed CR/LF and LF-only lines. Since sed operates in
3.4446 - # text mode, it properly converts lines to CR/LF. This bash problem
3.4447 - # is reportedly fixed, but why not run on old versions too?
3.4448 - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
3.4449 -
3.4450 - mv -f "$cfgfile" "$ofile" || \
3.4451 - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
3.4452 - chmod +x "$ofile"
3.4453 -])
3.4454 -else
3.4455 - # If there is no Makefile yet, we rely on a make rule to execute
3.4456 - # `config.status --recheck' to rerun these tests and create the
3.4457 - # libtool script then.
3.4458 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
3.4459 - if test -f "$ltmain_in"; then
3.4460 - test -f Makefile && make "$ltmain"
3.4461 - fi
3.4462 -fi
3.4463 -])# AC_LIBTOOL_CONFIG
3.4464 -
3.4465 -
3.4466 -# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
3.4467 -# -------------------------------------------
3.4468 -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
3.4469 -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
3.4470 -
3.4471 -_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
3.4472 -
3.4473 -if test "$GCC" = yes; then
3.4474 - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
3.4475 -
3.4476 - AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3.4477 - lt_cv_prog_compiler_rtti_exceptions,
3.4478 - [-fno-rtti -fno-exceptions], [],
3.4479 - [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
3.4480 -fi
3.4481 -])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
3.4482 -
3.4483 -
3.4484 -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
3.4485 -# ---------------------------------
3.4486 -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
3.4487 -[AC_REQUIRE([AC_CANONICAL_HOST])
3.4488 -AC_REQUIRE([AC_PROG_NM])
3.4489 -AC_REQUIRE([AC_OBJEXT])
3.4490 -# Check for command to grab the raw symbol name followed by C symbol from nm.
3.4491 -AC_MSG_CHECKING([command to parse $NM output from $compiler object])
3.4492 -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
3.4493 -[
3.4494 -# These are sane defaults that work on at least a few old systems.
3.4495 -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
3.4496 -
3.4497 -# Character class describing NM global symbol codes.
3.4498 -symcode='[[BCDEGRST]]'
3.4499 -
3.4500 -# Regexp to match symbols that can be accessed directly from C.
3.4501 -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3.4502 -
3.4503 -# Transform an extracted symbol line into a proper C declaration
3.4504 -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
3.4505 -
3.4506 -# Transform an extracted symbol line into symbol name and symbol address
3.4507 -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'"
3.4508 -
3.4509 -# Define system-specific variables.
3.4510 -case $host_os in
3.4511 -aix*)
3.4512 - symcode='[[BCDT]]'
3.4513 - ;;
3.4514 -cygwin* | mingw* | pw32*)
3.4515 - symcode='[[ABCDGISTW]]'
3.4516 - ;;
3.4517 -hpux*) # Its linker distinguishes data from code symbols
3.4518 - if test "$host_cpu" = ia64; then
3.4519 - symcode='[[ABCDEGRST]]'
3.4520 - fi
3.4521 - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
3.4522 - 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'"
3.4523 - ;;
3.4524 -linux*)
3.4525 - if test "$host_cpu" = ia64; then
3.4526 - symcode='[[ABCDGIRSTW]]'
3.4527 - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
3.4528 - 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'"
3.4529 - fi
3.4530 - ;;
3.4531 -irix* | nonstopux*)
3.4532 - symcode='[[BCDEGRST]]'
3.4533 - ;;
3.4534 -osf*)
3.4535 - symcode='[[BCDEGQRST]]'
3.4536 - ;;
3.4537 -solaris* | sysv5*)
3.4538 - symcode='[[BDRT]]'
3.4539 - ;;
3.4540 -sysv4)
3.4541 - symcode='[[DFNSTU]]'
3.4542 - ;;
3.4543 -esac
3.4544 -
3.4545 -# Handle CRLF in mingw tool chain
3.4546 -opt_cr=
3.4547 -case $build_os in
3.4548 -mingw*)
3.4549 - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
3.4550 - ;;
3.4551 -esac
3.4552 -
3.4553 -# If we're using GNU nm, then use its standard symbol codes.
3.4554 -case `$NM -V 2>&1` in
3.4555 -*GNU* | *'with BFD'*)
3.4556 - symcode='[[ABCDGIRSTW]]' ;;
3.4557 -esac
3.4558 -
3.4559 -# Try without a prefix undercore, then with it.
3.4560 -for ac_symprfx in "" "_"; do
3.4561 -
3.4562 - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
3.4563 - symxfrm="\\1 $ac_symprfx\\2 \\2"
3.4564 -
3.4565 - # Write the raw and C identifiers.
3.4566 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
3.4567 -
3.4568 - # Check to see that the pipe works correctly.
3.4569 - pipe_works=no
3.4570 -
3.4571 - rm -f conftest*
3.4572 - cat > conftest.$ac_ext <<EOF
3.4573 -#ifdef __cplusplus
3.4574 -extern "C" {
3.4575 -#endif
3.4576 -char nm_test_var;
3.4577 -void nm_test_func(){}
3.4578 -#ifdef __cplusplus
3.4579 -}
3.4580 -#endif
3.4581 -int main(){nm_test_var='a';nm_test_func();return(0);}
3.4582 -EOF
3.4583 -
3.4584 - if AC_TRY_EVAL(ac_compile); then
3.4585 - # Now try to grab the symbols.
3.4586 - nlist=conftest.nm
3.4587 - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
3.4588 - # Try sorting and uniquifying the output.
3.4589 - if sort "$nlist" | uniq > "$nlist"T; then
3.4590 - mv -f "$nlist"T "$nlist"
3.4591 - else
3.4592 - rm -f "$nlist"T
3.4593 - fi
3.4594 -
3.4595 - # Make sure that we snagged all the symbols we need.
3.4596 - if grep ' nm_test_var$' "$nlist" >/dev/null; then
3.4597 - if grep ' nm_test_func$' "$nlist" >/dev/null; then
3.4598 - cat <<EOF > conftest.$ac_ext
3.4599 -#ifdef __cplusplus
3.4600 -extern "C" {
3.4601 -#endif
3.4602 -
3.4603 -EOF
3.4604 - # Now generate the symbol file.
3.4605 - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
3.4606 -
3.4607 - cat <<EOF >> conftest.$ac_ext
3.4608 -#if defined (__STDC__) && __STDC__
3.4609 -# define lt_ptr_t void *
3.4610 -#else
3.4611 -# define lt_ptr_t char *
3.4612 -# define const
3.4613 -#endif
3.4614 -
3.4615 -/* The mapping between symbol names and symbols. */
3.4616 -const struct {
3.4617 - const char *name;
3.4618 - lt_ptr_t address;
3.4619 -}
3.4620 -lt_preloaded_symbols[[]] =
3.4621 -{
3.4622 -EOF
3.4623 - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
3.4624 - cat <<\EOF >> conftest.$ac_ext
3.4625 - {0, (lt_ptr_t) 0}
3.4626 -};
3.4627 -
3.4628 -#ifdef __cplusplus
3.4629 -}
3.4630 -#endif
3.4631 -EOF
3.4632 - # Now try linking the two files.
3.4633 - mv conftest.$ac_objext conftstm.$ac_objext
3.4634 - lt_save_LIBS="$LIBS"
3.4635 - lt_save_CFLAGS="$CFLAGS"
3.4636 - LIBS="conftstm.$ac_objext"
3.4637 - CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
3.4638 - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
3.4639 - pipe_works=yes
3.4640 - fi
3.4641 - LIBS="$lt_save_LIBS"
3.4642 - CFLAGS="$lt_save_CFLAGS"
3.4643 - else
3.4644 - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
3.4645 - fi
3.4646 - else
3.4647 - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
3.4648 - fi
3.4649 - else
3.4650 - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
3.4651 - fi
3.4652 - else
3.4653 - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
3.4654 - cat conftest.$ac_ext >&5
3.4655 - fi
3.4656 - rm -f conftest* conftst*
3.4657 -
3.4658 - # Do not use the global_symbol_pipe unless it works.
3.4659 - if test "$pipe_works" = yes; then
3.4660 - break
3.4661 - else
3.4662 - lt_cv_sys_global_symbol_pipe=
3.4663 - fi
3.4664 -done
3.4665 -])
3.4666 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
3.4667 - lt_cv_sys_global_symbol_to_cdecl=
3.4668 -fi
3.4669 -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
3.4670 - AC_MSG_RESULT(failed)
3.4671 -else
3.4672 - AC_MSG_RESULT(ok)
3.4673 -fi
3.4674 -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
3.4675 -
3.4676 -
3.4677 -# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
3.4678 -# ---------------------------------------
3.4679 -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
3.4680 -[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
3.4681 -_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3.4682 -_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
3.4683 -
3.4684 -AC_MSG_CHECKING([for $compiler option to produce PIC])
3.4685 - ifelse([$1],[CXX],[
3.4686 - # C++ specific cases for pic, static, wl, etc.
3.4687 - if test "$GXX" = yes; then
3.4688 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.4689 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3.4690 -
3.4691 - case $host_os in
3.4692 - aix*)
3.4693 - # All AIX code is PIC.
3.4694 - if test "$host_cpu" = ia64; then
3.4695 - # AIX 5 now supports IA64 processor
3.4696 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3.4697 - fi
3.4698 - ;;
3.4699 - amigaos*)
3.4700 - # FIXME: we need at least 68020 code to build shared libraries, but
3.4701 - # adding the `-m68020' flag to GCC prevents building anything better,
3.4702 - # like `-m68040'.
3.4703 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
3.4704 - ;;
3.4705 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
3.4706 - # PIC is the default for these OSes.
3.4707 - ;;
3.4708 - mingw* | os2* | pw32*)
3.4709 - # This hack is so that the source file can tell whether it is being
3.4710 - # built for inclusion in a dll (and should export symbols for example).
3.4711 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
3.4712 - ;;
3.4713 - darwin* | rhapsody*)
3.4714 - # PIC is the default on this platform
3.4715 - # Common symbols not allowed in MH_DYLIB files
3.4716 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
3.4717 - ;;
3.4718 - *djgpp*)
3.4719 - # DJGPP does not support shared libraries at all
3.4720 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3.4721 - ;;
3.4722 - sysv4*MP*)
3.4723 - if test -d /usr/nec; then
3.4724 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
3.4725 - fi
3.4726 - ;;
3.4727 - hpux*)
3.4728 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3.4729 - # not for PA HP-UX.
3.4730 - case $host_cpu in
3.4731 - hppa*64*|ia64*)
3.4732 - ;;
3.4733 - *)
3.4734 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3.4735 - ;;
3.4736 - esac
3.4737 - ;;
3.4738 - *)
3.4739 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3.4740 - ;;
3.4741 - esac
3.4742 - else
3.4743 - case $host_os in
3.4744 - aix4* | aix5*)
3.4745 - # All AIX code is PIC.
3.4746 - if test "$host_cpu" = ia64; then
3.4747 - # AIX 5 now supports IA64 processor
3.4748 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3.4749 - else
3.4750 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
3.4751 - fi
3.4752 - ;;
3.4753 - chorus*)
3.4754 - case $cc_basename in
3.4755 - cxch68*)
3.4756 - # Green Hills C++ Compiler
3.4757 - # _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"
3.4758 - ;;
3.4759 - esac
3.4760 - ;;
3.4761 - darwin*)
3.4762 - # PIC is the default on this platform
3.4763 - # Common symbols not allowed in MH_DYLIB files
3.4764 - case $cc_basename in
3.4765 - xlc*)
3.4766 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
3.4767 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.4768 - ;;
3.4769 - esac
3.4770 - ;;
3.4771 - dgux*)
3.4772 - case $cc_basename in
3.4773 - ec++*)
3.4774 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3.4775 - ;;
3.4776 - ghcx*)
3.4777 - # Green Hills C++ Compiler
3.4778 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3.4779 - ;;
3.4780 - *)
3.4781 - ;;
3.4782 - esac
3.4783 - ;;
3.4784 - freebsd* | kfreebsd*-gnu | dragonfly*)
3.4785 - # FreeBSD uses GNU C++
3.4786 - ;;
3.4787 - hpux9* | hpux10* | hpux11*)
3.4788 - case $cc_basename in
3.4789 - CC*)
3.4790 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.4791 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
3.4792 - if test "$host_cpu" != ia64; then
3.4793 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
3.4794 - fi
3.4795 - ;;
3.4796 - aCC*)
3.4797 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.4798 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
3.4799 - case $host_cpu in
3.4800 - hppa*64*|ia64*)
3.4801 - # +Z the default
3.4802 - ;;
3.4803 - *)
3.4804 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
3.4805 - ;;
3.4806 - esac
3.4807 - ;;
3.4808 - *)
3.4809 - ;;
3.4810 - esac
3.4811 - ;;
3.4812 - irix5* | irix6* | nonstopux*)
3.4813 - case $cc_basename in
3.4814 - CC*)
3.4815 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.4816 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3.4817 - # CC pic flag -KPIC is the default.
3.4818 - ;;
3.4819 - *)
3.4820 - ;;
3.4821 - esac
3.4822 - ;;
3.4823 - linux*)
3.4824 - case $cc_basename in
3.4825 - KCC*)
3.4826 - # KAI C++ Compiler
3.4827 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3.4828 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3.4829 - ;;
3.4830 - icpc* | ecpc*)
3.4831 - # Intel C++
3.4832 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.4833 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3.4834 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3.4835 - ;;
3.4836 - pgCC*)
3.4837 - # Portland Group C++ compiler.
3.4838 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.4839 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
3.4840 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3.4841 - ;;
3.4842 - cxx*)
3.4843 - # Compaq C++
3.4844 - # Make sure the PIC flag is empty. It appears that all Alpha
3.4845 - # Linux and Compaq Tru64 Unix objects are PIC.
3.4846 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3.4847 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3.4848 - ;;
3.4849 - *)
3.4850 - ;;
3.4851 - esac
3.4852 - ;;
3.4853 - lynxos*)
3.4854 - ;;
3.4855 - m88k*)
3.4856 - ;;
3.4857 - mvs*)
3.4858 - case $cc_basename in
3.4859 - cxx*)
3.4860 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
3.4861 - ;;
3.4862 - *)
3.4863 - ;;
3.4864 - esac
3.4865 - ;;
3.4866 - netbsd*)
3.4867 - ;;
3.4868 - osf3* | osf4* | osf5*)
3.4869 - case $cc_basename in
3.4870 - KCC*)
3.4871 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3.4872 - ;;
3.4873 - RCC*)
3.4874 - # Rational C++ 2.4.1
3.4875 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3.4876 - ;;
3.4877 - cxx*)
3.4878 - # Digital/Compaq C++
3.4879 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.4880 - # Make sure the PIC flag is empty. It appears that all Alpha
3.4881 - # Linux and Compaq Tru64 Unix objects are PIC.
3.4882 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3.4883 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3.4884 - ;;
3.4885 - *)
3.4886 - ;;
3.4887 - esac
3.4888 - ;;
3.4889 - psos*)
3.4890 - ;;
3.4891 - sco*)
3.4892 - case $cc_basename in
3.4893 - CC*)
3.4894 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3.4895 - ;;
3.4896 - *)
3.4897 - ;;
3.4898 - esac
3.4899 - ;;
3.4900 - solaris*)
3.4901 - case $cc_basename in
3.4902 - CC*)
3.4903 - # Sun C++ 4.2, 5.x and Centerline C++
3.4904 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3.4905 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3.4906 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
3.4907 - ;;
3.4908 - gcx*)
3.4909 - # Green Hills C++ Compiler
3.4910 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
3.4911 - ;;
3.4912 - *)
3.4913 - ;;
3.4914 - esac
3.4915 - ;;
3.4916 - sunos4*)
3.4917 - case $cc_basename in
3.4918 - CC*)
3.4919 - # Sun C++ 4.x
3.4920 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3.4921 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3.4922 - ;;
3.4923 - lcc*)
3.4924 - # Lucid
3.4925 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3.4926 - ;;
3.4927 - *)
3.4928 - ;;
3.4929 - esac
3.4930 - ;;
3.4931 - tandem*)
3.4932 - case $cc_basename in
3.4933 - NCC*)
3.4934 - # NonStop-UX NCC 3.20
3.4935 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3.4936 - ;;
3.4937 - *)
3.4938 - ;;
3.4939 - esac
3.4940 - ;;
3.4941 - unixware*)
3.4942 - ;;
3.4943 - vxworks*)
3.4944 - ;;
3.4945 - *)
3.4946 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
3.4947 - ;;
3.4948 - esac
3.4949 - fi
3.4950 -],
3.4951 -[
3.4952 - if test "$GCC" = yes; then
3.4953 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.4954 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3.4955 -
3.4956 - case $host_os in
3.4957 - aix*)
3.4958 - # All AIX code is PIC.
3.4959 - if test "$host_cpu" = ia64; then
3.4960 - # AIX 5 now supports IA64 processor
3.4961 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3.4962 - fi
3.4963 - ;;
3.4964 -
3.4965 - amigaos*)
3.4966 - # FIXME: we need at least 68020 code to build shared libraries, but
3.4967 - # adding the `-m68020' flag to GCC prevents building anything better,
3.4968 - # like `-m68040'.
3.4969 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
3.4970 - ;;
3.4971 -
3.4972 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
3.4973 - # PIC is the default for these OSes.
3.4974 - ;;
3.4975 -
3.4976 - mingw* | pw32* | os2*)
3.4977 - # This hack is so that the source file can tell whether it is being
3.4978 - # built for inclusion in a dll (and should export symbols for example).
3.4979 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
3.4980 - ;;
3.4981 -
3.4982 - darwin* | rhapsody*)
3.4983 - # PIC is the default on this platform
3.4984 - # Common symbols not allowed in MH_DYLIB files
3.4985 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
3.4986 - ;;
3.4987 -
3.4988 - msdosdjgpp*)
3.4989 - # Just because we use GCC doesn't mean we suddenly get shared libraries
3.4990 - # on systems that don't support them.
3.4991 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
3.4992 - enable_shared=no
3.4993 - ;;
3.4994 -
3.4995 - sysv4*MP*)
3.4996 - if test -d /usr/nec; then
3.4997 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
3.4998 - fi
3.4999 - ;;
3.5000 -
3.5001 - hpux*)
3.5002 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3.5003 - # not for PA HP-UX.
3.5004 - case $host_cpu in
3.5005 - hppa*64*|ia64*)
3.5006 - # +Z the default
3.5007 - ;;
3.5008 - *)
3.5009 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3.5010 - ;;
3.5011 - esac
3.5012 - ;;
3.5013 -
3.5014 - *)
3.5015 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3.5016 - ;;
3.5017 - esac
3.5018 - else
3.5019 - # PORTME Check for flag to pass linker flags through the system compiler.
3.5020 - case $host_os in
3.5021 - aix*)
3.5022 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.5023 - if test "$host_cpu" = ia64; then
3.5024 - # AIX 5 now supports IA64 processor
3.5025 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3.5026 - else
3.5027 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
3.5028 - fi
3.5029 - ;;
3.5030 - darwin*)
3.5031 - # PIC is the default on this platform
3.5032 - # Common symbols not allowed in MH_DYLIB files
3.5033 - case $cc_basename in
3.5034 - xlc*)
3.5035 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
3.5036 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.5037 - ;;
3.5038 - esac
3.5039 - ;;
3.5040 -
3.5041 - mingw* | pw32* | os2*)
3.5042 - # This hack is so that the source file can tell whether it is being
3.5043 - # built for inclusion in a dll (and should export symbols for example).
3.5044 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
3.5045 - ;;
3.5046 -
3.5047 - hpux9* | hpux10* | hpux11*)
3.5048 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.5049 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3.5050 - # not for PA HP-UX.
3.5051 - case $host_cpu in
3.5052 - hppa*64*|ia64*)
3.5053 - # +Z the default
3.5054 - ;;
3.5055 - *)
3.5056 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
3.5057 - ;;
3.5058 - esac
3.5059 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
3.5060 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
3.5061 - ;;
3.5062 -
3.5063 - irix5* | irix6* | nonstopux*)
3.5064 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.5065 - # PIC (with -KPIC) is the default.
3.5066 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3.5067 - ;;
3.5068 -
3.5069 - newsos6)
3.5070 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3.5071 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3.5072 - ;;
3.5073 -
3.5074 - linux*)
3.5075 - case $cc_basename in
3.5076 - icc* | ecc*)
3.5077 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.5078 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3.5079 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3.5080 - ;;
3.5081 - pgcc* | pgf77* | pgf90* | pgf95*)
3.5082 - # Portland Group compilers (*not* the Pentium gcc compiler,
3.5083 - # which looks to be a dead project)
3.5084 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.5085 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
3.5086 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3.5087 - ;;
3.5088 - ccc*)
3.5089 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.5090 - # All Alpha code is PIC.
3.5091 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3.5092 - ;;
3.5093 - esac
3.5094 - ;;
3.5095 -
3.5096 - osf3* | osf4* | osf5*)
3.5097 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.5098 - # All OSF/1 code is PIC.
3.5099 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3.5100 - ;;
3.5101 -
3.5102 - sco3.2v5*)
3.5103 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
3.5104 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
3.5105 - ;;
3.5106 -
3.5107 - solaris*)
3.5108 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3.5109 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3.5110 - case $cc_basename in
3.5111 - f77* | f90* | f95*)
3.5112 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
3.5113 - *)
3.5114 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
3.5115 - esac
3.5116 - ;;
3.5117 -
3.5118 - sunos4*)
3.5119 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
3.5120 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
3.5121 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3.5122 - ;;
3.5123 -
3.5124 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3.5125 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.5126 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3.5127 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3.5128 - ;;
3.5129 -
3.5130 - sysv4*MP*)
3.5131 - if test -d /usr/nec ;then
3.5132 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
3.5133 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3.5134 - fi
3.5135 - ;;
3.5136 -
3.5137 - unicos*)
3.5138 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3.5139 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
3.5140 - ;;
3.5141 -
3.5142 - uts4*)
3.5143 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3.5144 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3.5145 - ;;
3.5146 -
3.5147 - *)
3.5148 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
3.5149 - ;;
3.5150 - esac
3.5151 - fi
3.5152 -])
3.5153 -AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
3.5154 -
3.5155 -#
3.5156 -# Check to make sure the PIC flag actually works.
3.5157 -#
3.5158 -if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
3.5159 - AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
3.5160 - _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
3.5161 - [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
3.5162 - [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
3.5163 - "" | " "*) ;;
3.5164 - *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
3.5165 - esac],
3.5166 - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3.5167 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
3.5168 -fi
3.5169 -case $host_os in
3.5170 - # For platforms which do not support PIC, -DPIC is meaningless:
3.5171 - *djgpp*)
3.5172 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3.5173 - ;;
3.5174 - *)
3.5175 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
3.5176 - ;;
3.5177 -esac
3.5178 -])
3.5179 -
3.5180 -
3.5181 -# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
3.5182 -# ------------------------------------
3.5183 -# See if the linker supports building shared libraries.
3.5184 -AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
3.5185 -[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
3.5186 -ifelse([$1],[CXX],[
3.5187 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
3.5188 - case $host_os in
3.5189 - aix4* | aix5*)
3.5190 - # If we're using GNU nm, then we don't want the "-C" option.
3.5191 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
3.5192 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
3.5193 - _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'
3.5194 - else
3.5195 - _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'
3.5196 - fi
3.5197 - ;;
3.5198 - pw32*)
3.5199 - _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
3.5200 - ;;
3.5201 - cygwin* | mingw*)
3.5202 - _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'
3.5203 - ;;
3.5204 - *)
3.5205 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
3.5206 - ;;
3.5207 - esac
3.5208 -],[
3.5209 - runpath_var=
3.5210 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=
3.5211 - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
3.5212 - _LT_AC_TAGVAR(archive_cmds, $1)=
3.5213 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
3.5214 - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
3.5215 - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
3.5216 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
3.5217 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3.5218 - _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
3.5219 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3.5220 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
3.5221 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3.5222 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
3.5223 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
3.5224 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3.5225 - _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
3.5226 - _LT_AC_TAGVAR(hardcode_automatic, $1)=no
3.5227 - _LT_AC_TAGVAR(module_cmds, $1)=
3.5228 - _LT_AC_TAGVAR(module_expsym_cmds, $1)=
3.5229 - _LT_AC_TAGVAR(always_export_symbols, $1)=no
3.5230 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
3.5231 - # include_expsyms should be a list of space-separated symbols to be *always*
3.5232 - # included in the symbol list
3.5233 - _LT_AC_TAGVAR(include_expsyms, $1)=
3.5234 - # exclude_expsyms can be an extended regexp of symbols to exclude
3.5235 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
3.5236 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
3.5237 - # as well as any symbol that contains `d'.
3.5238 - _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
3.5239 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
3.5240 - # platforms (ab)use it in PIC code, but their linkers get confused if
3.5241 - # the symbol is explicitly referenced. Since portable code cannot
3.5242 - # rely on this symbol name, it's probably fine to never include it in
3.5243 - # preloaded symbol tables.
3.5244 - extract_expsyms_cmds=
3.5245 - # Just being paranoid about ensuring that cc_basename is set.
3.5246 - _LT_CC_BASENAME([$compiler])
3.5247 - case $host_os in
3.5248 - cygwin* | mingw* | pw32*)
3.5249 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
3.5250 - # When not using gcc, we currently assume that we are using
3.5251 - # Microsoft Visual C++.
3.5252 - if test "$GCC" != yes; then
3.5253 - with_gnu_ld=no
3.5254 - fi
3.5255 - ;;
3.5256 - openbsd*)
3.5257 - with_gnu_ld=no
3.5258 - ;;
3.5259 - esac
3.5260 -
3.5261 - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
3.5262 - if test "$with_gnu_ld" = yes; then
3.5263 - # If archive_cmds runs LD, not CC, wlarc should be empty
3.5264 - wlarc='${wl}'
3.5265 -
3.5266 - # Set some defaults for GNU ld with shared library support. These
3.5267 - # are reset later if shared libraries are not supported. Putting them
3.5268 - # here allows them to be overridden if necessary.
3.5269 - runpath_var=LD_RUN_PATH
3.5270 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3.5271 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3.5272 - # ancient GNU ld didn't support --whole-archive et. al.
3.5273 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
3.5274 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3.5275 - else
3.5276 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3.5277 - fi
3.5278 - supports_anon_versioning=no
3.5279 - case `$LD -v 2>/dev/null` in
3.5280 - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
3.5281 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
3.5282 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
3.5283 - *\ 2.11.*) ;; # other 2.11 versions
3.5284 - *) supports_anon_versioning=yes ;;
3.5285 - esac
3.5286 -
3.5287 - # See if GNU ld supports shared libraries.
3.5288 - case $host_os in
3.5289 - aix3* | aix4* | aix5*)
3.5290 - # On AIX/PPC, the GNU linker is very broken
3.5291 - if test "$host_cpu" != ia64; then
3.5292 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.5293 - cat <<EOF 1>&2
3.5294 -
3.5295 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
3.5296 -*** to be unable to reliably create shared libraries on AIX.
3.5297 -*** Therefore, libtool is disabling shared libraries support. If you
3.5298 -*** really care for shared libraries, you may want to modify your PATH
3.5299 -*** so that a non-GNU linker is found, and then restart.
3.5300 -
3.5301 -EOF
3.5302 - fi
3.5303 - ;;
3.5304 -
3.5305 - amigaos*)
3.5306 - _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)'
3.5307 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3.5308 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3.5309 -
3.5310 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
3.5311 - # that the semantics of dynamic libraries on AmigaOS, at least up
3.5312 - # to version 4, is to share data among multiple programs linked
3.5313 - # with the same dynamic library. Since this doesn't match the
3.5314 - # behavior of shared libraries on other platforms, we can't use
3.5315 - # them.
3.5316 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.5317 - ;;
3.5318 -
3.5319 - beos*)
3.5320 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3.5321 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3.5322 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
3.5323 - # support --undefined. This deserves some investigation. FIXME
3.5324 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3.5325 - else
3.5326 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.5327 - fi
3.5328 - ;;
3.5329 -
3.5330 - cygwin* | mingw* | pw32*)
3.5331 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
3.5332 - # as there is no search path for DLLs.
3.5333 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3.5334 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3.5335 - _LT_AC_TAGVAR(always_export_symbols, $1)=no
3.5336 - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3.5337 - _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'
3.5338 -
3.5339 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
3.5340 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3.5341 - # If the export-symbols file already is a .def file (1st line
3.5342 - # is EXPORTS), use it as is; otherwise, prepend...
3.5343 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
3.5344 - cp $export_symbols $output_objdir/$soname.def;
3.5345 - else
3.5346 - echo EXPORTS > $output_objdir/$soname.def;
3.5347 - cat $export_symbols >> $output_objdir/$soname.def;
3.5348 - fi~
3.5349 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3.5350 - else
3.5351 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.5352 - fi
3.5353 - ;;
3.5354 -
3.5355 - linux*)
3.5356 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3.5357 - tmp_addflag=
3.5358 - case $cc_basename,$host_cpu in
3.5359 - pgcc*) # Portland Group C compiler
3.5360 - _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'
3.5361 - tmp_addflag=' $pic_flag'
3.5362 - ;;
3.5363 - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
3.5364 - _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'
3.5365 - tmp_addflag=' $pic_flag -Mnomain' ;;
3.5366 - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
3.5367 - tmp_addflag=' -i_dynamic' ;;
3.5368 - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
3.5369 - tmp_addflag=' -i_dynamic -nofor_main' ;;
3.5370 - ifc* | ifort*) # Intel Fortran compiler
3.5371 - tmp_addflag=' -nofor_main' ;;
3.5372 - esac
3.5373 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3.5374 -
3.5375 - if test $supports_anon_versioning = yes; then
3.5376 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
3.5377 - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
3.5378 - $echo "local: *; };" >> $output_objdir/$libname.ver~
3.5379 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
3.5380 - fi
3.5381 - else
3.5382 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.5383 - fi
3.5384 - ;;
3.5385 -
3.5386 - netbsd*)
3.5387 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3.5388 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
3.5389 - wlarc=
3.5390 - else
3.5391 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3.5392 - _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'
3.5393 - fi
3.5394 - ;;
3.5395 -
3.5396 - solaris* | sysv5*)
3.5397 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
3.5398 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.5399 - cat <<EOF 1>&2
3.5400 -
3.5401 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
3.5402 -*** create shared libraries on Solaris systems. Therefore, libtool
3.5403 -*** is disabling shared libraries support. We urge you to upgrade GNU
3.5404 -*** binutils to release 2.9.1 or newer. Another option is to modify
3.5405 -*** your PATH or compiler configuration so that the native linker is
3.5406 -*** used, and then restart.
3.5407 -
3.5408 -EOF
3.5409 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3.5410 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3.5411 - _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'
3.5412 - else
3.5413 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.5414 - fi
3.5415 - ;;
3.5416 -
3.5417 - sunos4*)
3.5418 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3.5419 - wlarc=
3.5420 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.5421 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5422 - ;;
3.5423 -
3.5424 - *)
3.5425 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3.5426 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3.5427 - _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'
3.5428 - else
3.5429 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.5430 - fi
3.5431 - ;;
3.5432 - esac
3.5433 -
3.5434 - if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
3.5435 - runpath_var=
3.5436 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3.5437 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
3.5438 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3.5439 - fi
3.5440 - else
3.5441 - # PORTME fill in a description of your system's linker (not GNU ld)
3.5442 - case $host_os in
3.5443 - aix3*)
3.5444 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3.5445 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3.5446 - _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'
3.5447 - # Note: this linker hardcodes the directories in LIBPATH if there
3.5448 - # are no directories specified by -L.
3.5449 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3.5450 - if test "$GCC" = yes && test -z "$link_static_flag"; then
3.5451 - # Neither direct hardcoding nor static linking is supported with a
3.5452 - # broken collect2.
3.5453 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3.5454 - fi
3.5455 - ;;
3.5456 -
3.5457 - aix4* | aix5*)
3.5458 - if test "$host_cpu" = ia64; then
3.5459 - # On IA64, the linker does run time linking by default, so we don't
3.5460 - # have to do anything special.
3.5461 - aix_use_runtimelinking=no
3.5462 - exp_sym_flag='-Bexport'
3.5463 - no_entry_flag=""
3.5464 - else
3.5465 - # If we're using GNU nm, then we don't want the "-C" option.
3.5466 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
3.5467 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
3.5468 - _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'
3.5469 - else
3.5470 - _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'
3.5471 - fi
3.5472 - aix_use_runtimelinking=no
3.5473 -
3.5474 - # Test if we are trying to use run time linking or normal
3.5475 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
3.5476 - # need to do runtime linking.
3.5477 - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
3.5478 - for ld_flag in $LDFLAGS; do
3.5479 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
3.5480 - aix_use_runtimelinking=yes
3.5481 - break
3.5482 - fi
3.5483 - done
3.5484 - esac
3.5485 -
3.5486 - exp_sym_flag='-bexport'
3.5487 - no_entry_flag='-bnoentry'
3.5488 - fi
3.5489 -
3.5490 - # When large executables or shared objects are built, AIX ld can
3.5491 - # have problems creating the table of contents. If linking a library
3.5492 - # or program results in "error TOC overflow" add -mminimal-toc to
3.5493 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
3.5494 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
3.5495 -
3.5496 - _LT_AC_TAGVAR(archive_cmds, $1)=''
3.5497 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.5498 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
3.5499 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3.5500 -
3.5501 - if test "$GCC" = yes; then
3.5502 - case $host_os in aix4.[[012]]|aix4.[[012]].*)
3.5503 - # We only want to do this on AIX 4.2 and lower, the check
3.5504 - # below for broken collect2 doesn't work under 4.3+
3.5505 - collect2name=`${CC} -print-prog-name=collect2`
3.5506 - if test -f "$collect2name" && \
3.5507 - strings "$collect2name" | grep resolve_lib_name >/dev/null
3.5508 - then
3.5509 - # We have reworked collect2
3.5510 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.5511 - else
3.5512 - # We have old collect2
3.5513 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3.5514 - # It fails to find uninstalled libraries when the uninstalled
3.5515 - # path is not listed in the libpath. Setting hardcode_minus_L
3.5516 - # to unsupported forces relinking
3.5517 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3.5518 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3.5519 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3.5520 - fi
3.5521 - esac
3.5522 - shared_flag='-shared'
3.5523 - if test "$aix_use_runtimelinking" = yes; then
3.5524 - shared_flag="$shared_flag "'${wl}-G'
3.5525 - fi
3.5526 - else
3.5527 - # not using gcc
3.5528 - if test "$host_cpu" = ia64; then
3.5529 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
3.5530 - # chokes on -Wl,-G. The following line is correct:
3.5531 - shared_flag='-G'
3.5532 - else
3.5533 - if test "$aix_use_runtimelinking" = yes; then
3.5534 - shared_flag='${wl}-G'
3.5535 - else
3.5536 - shared_flag='${wl}-bM:SRE'
3.5537 - fi
3.5538 - fi
3.5539 - fi
3.5540 -
3.5541 - # It seems that -bexpall does not export symbols beginning with
3.5542 - # underscore (_), so it is better to generate a list of symbols to export.
3.5543 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3.5544 - if test "$aix_use_runtimelinking" = yes; then
3.5545 - # Warning - without using the other runtime loading flags (-brtl),
3.5546 - # -berok will link without error, but may produce a broken library.
3.5547 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
3.5548 - # Determine the default libpath from the value encoded in an empty executable.
3.5549 - _LT_AC_SYS_LIBPATH_AIX
3.5550 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3.5551 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
3.5552 - else
3.5553 - if test "$host_cpu" = ia64; then
3.5554 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
3.5555 - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
3.5556 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
3.5557 - else
3.5558 - # Determine the default libpath from the value encoded in an empty executable.
3.5559 - _LT_AC_SYS_LIBPATH_AIX
3.5560 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3.5561 - # Warning - without using the other run time loading flags,
3.5562 - # -berok will link without error, but may produce a broken library.
3.5563 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
3.5564 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
3.5565 - # -bexpall does not export symbols beginning with underscore (_)
3.5566 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3.5567 - # Exported symbols can be pulled into shared objects from archives
3.5568 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
3.5569 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
3.5570 - # This is similar to how AIX traditionally builds its shared libraries.
3.5571 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
3.5572 - fi
3.5573 - fi
3.5574 - ;;
3.5575 -
3.5576 - amigaos*)
3.5577 - _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)'
3.5578 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3.5579 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3.5580 - # see comment about different semantics on the GNU ld section
3.5581 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.5582 - ;;
3.5583 -
3.5584 - bsdi[[45]]*)
3.5585 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
3.5586 - ;;
3.5587 -
3.5588 - cygwin* | mingw* | pw32*)
3.5589 - # When not using gcc, we currently assume that we are using
3.5590 - # Microsoft Visual C++.
3.5591 - # hardcode_libdir_flag_spec is actually meaningless, as there is
3.5592 - # no search path for DLLs.
3.5593 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
3.5594 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3.5595 - # Tell ltmain to make .lib files, not .a files.
3.5596 - libext=lib
3.5597 - # Tell ltmain to make .dll files, not .so files.
3.5598 - shrext_cmds=".dll"
3.5599 - # FIXME: Setting linknames here is a bad hack.
3.5600 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
3.5601 - # The linker will automatically build a .lib file if we build a DLL.
3.5602 - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
3.5603 - # FIXME: Should let the user specify the lib program.
3.5604 - _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
3.5605 - _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
3.5606 - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3.5607 - ;;
3.5608 -
3.5609 - darwin* | rhapsody*)
3.5610 - case $host_os in
3.5611 - rhapsody* | darwin1.[[012]])
3.5612 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
3.5613 - ;;
3.5614 - *) # Darwin 1.3 on
3.5615 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3.5616 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3.5617 - else
3.5618 - case ${MACOSX_DEPLOYMENT_TARGET} in
3.5619 - 10.[[012]])
3.5620 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3.5621 - ;;
3.5622 - 10.*)
3.5623 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
3.5624 - ;;
3.5625 - esac
3.5626 - fi
3.5627 - ;;
3.5628 - esac
3.5629 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3.5630 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
3.5631 - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3.5632 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3.5633 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3.5634 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3.5635 - if test "$GCC" = yes ; then
3.5636 - output_verbose_link_cmd='echo'
3.5637 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3.5638 - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3.5639 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3.5640 - _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}'
3.5641 - _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}'
3.5642 - else
3.5643 - case $cc_basename in
3.5644 - xlc*)
3.5645 - output_verbose_link_cmd='echo'
3.5646 - _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'
3.5647 - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3.5648 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3.5649 - _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}'
3.5650 - _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}'
3.5651 - ;;
3.5652 - *)
3.5653 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.5654 - ;;
3.5655 - esac
3.5656 - fi
3.5657 - ;;
3.5658 -
3.5659 - dgux*)
3.5660 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
3.5661 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3.5662 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5663 - ;;
3.5664 -
3.5665 - freebsd1*)
3.5666 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.5667 - ;;
3.5668 -
3.5669 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
3.5670 - # support. Future versions do this automatically, but an explicit c++rt0.o
3.5671 - # does not break anything, and helps significantly (at the cost of a little
3.5672 - # extra space).
3.5673 - freebsd2.2*)
3.5674 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
3.5675 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3.5676 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.5677 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5678 - ;;
3.5679 -
3.5680 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
3.5681 - freebsd2*)
3.5682 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3.5683 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.5684 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3.5685 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5686 - ;;
3.5687 -
3.5688 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
3.5689 - freebsd* | kfreebsd*-gnu | dragonfly*)
3.5690 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
3.5691 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3.5692 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.5693 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5694 - ;;
3.5695 -
3.5696 - hpux9*)
3.5697 - if test "$GCC" = yes; then
3.5698 - _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'
3.5699 - else
3.5700 - _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'
3.5701 - fi
3.5702 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3.5703 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.5704 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.5705 -
3.5706 - # hardcode_minus_L: Not really in the search PATH,
3.5707 - # but as the default location of the library.
3.5708 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3.5709 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3.5710 - ;;
3.5711 -
3.5712 - hpux10* | hpux11*)
3.5713 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
3.5714 - case $host_cpu in
3.5715 - hppa*64*|ia64*)
3.5716 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3.5717 - ;;
3.5718 - *)
3.5719 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3.5720 - ;;
3.5721 - esac
3.5722 - else
3.5723 - case $host_cpu in
3.5724 - hppa*64*|ia64*)
3.5725 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
3.5726 - ;;
3.5727 - *)
3.5728 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
3.5729 - ;;
3.5730 - esac
3.5731 - fi
3.5732 - if test "$with_gnu_ld" = no; then
3.5733 - case $host_cpu in
3.5734 - hppa*64*)
3.5735 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3.5736 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
3.5737 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.5738 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
3.5739 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5740 - ;;
3.5741 - ia64*)
3.5742 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3.5743 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
3.5744 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5745 -
3.5746 - # hardcode_minus_L: Not really in the search PATH,
3.5747 - # but as the default location of the library.
3.5748 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3.5749 - ;;
3.5750 - *)
3.5751 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3.5752 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.5753 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.5754 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3.5755 -
3.5756 - # hardcode_minus_L: Not really in the search PATH,
3.5757 - # but as the default location of the library.
3.5758 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3.5759 - ;;
3.5760 - esac
3.5761 - fi
3.5762 - ;;
3.5763 -
3.5764 - irix5* | irix6* | nonstopux*)
3.5765 - if test "$GCC" = yes; then
3.5766 - _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'
3.5767 - else
3.5768 - _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'
3.5769 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
3.5770 - fi
3.5771 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3.5772 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.5773 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3.5774 - ;;
3.5775 -
3.5776 - netbsd*)
3.5777 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3.5778 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
3.5779 - else
3.5780 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
3.5781 - fi
3.5782 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3.5783 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.5784 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5785 - ;;
3.5786 -
3.5787 - newsos6)
3.5788 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
3.5789 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.5790 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3.5791 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.5792 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5793 - ;;
3.5794 -
3.5795 - openbsd*)
3.5796 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.5797 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5798 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3.5799 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
3.5800 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
3.5801 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3.5802 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3.5803 - else
3.5804 - case $host_os in
3.5805 - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
3.5806 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3.5807 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3.5808 - ;;
3.5809 - *)
3.5810 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
3.5811 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3.5812 - ;;
3.5813 - esac
3.5814 - fi
3.5815 - ;;
3.5816 -
3.5817 - os2*)
3.5818 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3.5819 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3.5820 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3.5821 - _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'
3.5822 - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
3.5823 - ;;
3.5824 -
3.5825 - osf3*)
3.5826 - if test "$GCC" = yes; then
3.5827 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3.5828 - _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'
3.5829 - else
3.5830 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
3.5831 - _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'
3.5832 - fi
3.5833 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3.5834 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.5835 - ;;
3.5836 -
3.5837 - osf4* | osf5*) # as osf3* with the addition of -msym flag
3.5838 - if test "$GCC" = yes; then
3.5839 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3.5840 - _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'
3.5841 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3.5842 - else
3.5843 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
3.5844 - _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'
3.5845 - _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~
3.5846 - $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'
3.5847 -
3.5848 - # Both c and cxx compiler support -rpath directly
3.5849 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
3.5850 - fi
3.5851 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3.5852 - ;;
3.5853 -
3.5854 - sco3.2v5*)
3.5855 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
3.5856 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5857 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
3.5858 - runpath_var=LD_RUN_PATH
3.5859 - hardcode_runpath_var=yes
3.5860 - ;;
3.5861 -
3.5862 - solaris*)
3.5863 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
3.5864 - if test "$GCC" = yes; then
3.5865 - wlarc='${wl}'
3.5866 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3.5867 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3.5868 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
3.5869 - else
3.5870 - wlarc=''
3.5871 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
3.5872 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3.5873 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
3.5874 - fi
3.5875 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3.5876 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5877 - case $host_os in
3.5878 - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
3.5879 - *)
3.5880 - # The compiler driver will combine linker options so we
3.5881 - # cannot just pass the convience library names through
3.5882 - # without $wl, iff we do not link with $LD.
3.5883 - # Luckily, gcc supports the same syntax we need for Sun Studio.
3.5884 - # Supported since Solaris 2.6 (maybe 2.5.1?)
3.5885 - case $wlarc in
3.5886 - '')
3.5887 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
3.5888 - *)
3.5889 - _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' ;;
3.5890 - esac ;;
3.5891 - esac
3.5892 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3.5893 - ;;
3.5894 -
3.5895 - sunos4*)
3.5896 - if test "x$host_vendor" = xsequent; then
3.5897 - # Use $CC to link under sequent, because it throws in some extra .o
3.5898 - # files that make .init and .fini sections work.
3.5899 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
3.5900 - else
3.5901 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
3.5902 - fi
3.5903 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3.5904 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.5905 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3.5906 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5907 - ;;
3.5908 -
3.5909 - sysv4)
3.5910 - case $host_vendor in
3.5911 - sni)
3.5912 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
3.5913 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
3.5914 - ;;
3.5915 - siemens)
3.5916 - ## LD is ld it makes a PLAMLIB
3.5917 - ## CC just makes a GrossModule.
3.5918 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
3.5919 - _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
3.5920 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
3.5921 - ;;
3.5922 - motorola)
3.5923 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
3.5924 - _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
3.5925 - ;;
3.5926 - esac
3.5927 - runpath_var='LD_RUN_PATH'
3.5928 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5929 - ;;
3.5930 -
3.5931 - sysv4.3*)
3.5932 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
3.5933 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5934 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
3.5935 - ;;
3.5936 -
3.5937 - sysv4*MP*)
3.5938 - if test -d /usr/nec; then
3.5939 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
3.5940 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5941 - runpath_var=LD_RUN_PATH
3.5942 - hardcode_runpath_var=yes
3.5943 - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
3.5944 - fi
3.5945 - ;;
3.5946 -
3.5947 - sysv4.2uw2*)
3.5948 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
3.5949 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3.5950 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
3.5951 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5952 - hardcode_runpath_var=yes
3.5953 - runpath_var=LD_RUN_PATH
3.5954 - ;;
3.5955 -
3.5956 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
3.5957 - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
3.5958 - if test "$GCC" = yes; then
3.5959 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3.5960 - else
3.5961 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3.5962 - fi
3.5963 - runpath_var='LD_RUN_PATH'
3.5964 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5965 - ;;
3.5966 -
3.5967 - sysv5*)
3.5968 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
3.5969 - # $CC -shared without GNU ld will not create a library from C++
3.5970 - # object files and a static libstdc++, better avoid it by now
3.5971 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
3.5972 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3.5973 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
3.5974 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3.5975 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5976 - runpath_var='LD_RUN_PATH'
3.5977 - ;;
3.5978 -
3.5979 - uts4*)
3.5980 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
3.5981 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3.5982 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3.5983 - ;;
3.5984 -
3.5985 - *)
3.5986 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3.5987 - ;;
3.5988 - esac
3.5989 - fi
3.5990 -])
3.5991 -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
3.5992 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
3.5993 -
3.5994 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
3.5995 -if test "$GCC" = yes; then
3.5996 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
3.5997 -fi
3.5998 -
3.5999 -#
3.6000 -# Do we need to explicitly link libc?
3.6001 -#
3.6002 -case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
3.6003 -x|xyes)
3.6004 - # Assume -lc should be added
3.6005 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
3.6006 -
3.6007 - if test "$enable_shared" = yes && test "$GCC" = yes; then
3.6008 - case $_LT_AC_TAGVAR(archive_cmds, $1) in
3.6009 - *'~'*)
3.6010 - # FIXME: we may have to deal with multi-command sequences.
3.6011 - ;;
3.6012 - '$CC '*)
3.6013 - # Test whether the compiler implicitly links with -lc since on some
3.6014 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
3.6015 - # to ld, don't add -lc before -lgcc.
3.6016 - AC_MSG_CHECKING([whether -lc should be explicitly linked in])
3.6017 - $rm conftest*
3.6018 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
3.6019 -
3.6020 - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
3.6021 - soname=conftest
3.6022 - lib=conftest
3.6023 - libobjs=conftest.$ac_objext
3.6024 - deplibs=
3.6025 - wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
3.6026 - compiler_flags=-v
3.6027 - linker_flags=-v
3.6028 - verstring=
3.6029 - output_objdir=.
3.6030 - libname=conftest
3.6031 - lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
3.6032 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=
3.6033 - if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
3.6034 - then
3.6035 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3.6036 - else
3.6037 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
3.6038 - fi
3.6039 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
3.6040 - else
3.6041 - cat conftest.err 1>&5
3.6042 - fi
3.6043 - $rm conftest*
3.6044 - AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
3.6045 - ;;
3.6046 - esac
3.6047 - fi
3.6048 - ;;
3.6049 -esac
3.6050 -])# AC_LIBTOOL_PROG_LD_SHLIBS
3.6051 -
3.6052 -
3.6053 -# _LT_AC_FILE_LTDLL_C
3.6054 -# -------------------
3.6055 -# Be careful that the start marker always follows a newline.
3.6056 -AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
3.6057 -# /* ltdll.c starts here */
3.6058 -# #define WIN32_LEAN_AND_MEAN
3.6059 -# #include <windows.h>
3.6060 -# #undef WIN32_LEAN_AND_MEAN
3.6061 -# #include <stdio.h>
3.6062 -#
3.6063 -# #ifndef __CYGWIN__
3.6064 -# # ifdef __CYGWIN32__
3.6065 -# # define __CYGWIN__ __CYGWIN32__
3.6066 -# # endif
3.6067 -# #endif
3.6068 -#
3.6069 -# #ifdef __cplusplus
3.6070 -# extern "C" {
3.6071 -# #endif
3.6072 -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
3.6073 -# #ifdef __cplusplus
3.6074 -# }
3.6075 -# #endif
3.6076 -#
3.6077 -# #ifdef __CYGWIN__
3.6078 -# #include <cygwin/cygwin_dll.h>
3.6079 -# DECLARE_CYGWIN_DLL( DllMain );
3.6080 -# #endif
3.6081 -# HINSTANCE __hDllInstance_base;
3.6082 -#
3.6083 -# BOOL APIENTRY
3.6084 -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
3.6085 -# {
3.6086 -# __hDllInstance_base = hInst;
3.6087 -# return TRUE;
3.6088 -# }
3.6089 -# /* ltdll.c ends here */
3.6090 -])# _LT_AC_FILE_LTDLL_C
3.6091 -
3.6092 -
3.6093 -# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
3.6094 -# ---------------------------------
3.6095 -AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
3.6096 -
3.6097 -
3.6098 -# old names
3.6099 -AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
3.6100 -AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
3.6101 -AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
3.6102 -AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
3.6103 -AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
3.6104 -AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
3.6105 -AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
3.6106 -
3.6107 -# This is just to silence aclocal about the macro not being used
3.6108 -ifelse([AC_DISABLE_FAST_INSTALL])
3.6109 -
3.6110 -AC_DEFUN([LT_AC_PROG_GCJ],
3.6111 -[AC_CHECK_TOOL(GCJ, gcj, no)
3.6112 - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
3.6113 - AC_SUBST(GCJFLAGS)
3.6114 -])
3.6115 -
3.6116 -AC_DEFUN([LT_AC_PROG_RC],
3.6117 -[AC_CHECK_TOOL(RC, windres, no)
3.6118 -])
3.6119 -
3.6120 -# NOTE: This macro has been submitted for inclusion into #
3.6121 -# GNU Autoconf as AC_PROG_SED. When it is available in #
3.6122 -# a released version of Autoconf we should remove this #
3.6123 -# macro and use it instead. #
3.6124 -# LT_AC_PROG_SED
3.6125 -# --------------
3.6126 -# Check for a fully-functional sed program, that truncates
3.6127 -# as few characters as possible. Prefer GNU sed if found.
3.6128 -AC_DEFUN([LT_AC_PROG_SED],
3.6129 -[AC_MSG_CHECKING([for a sed that does not truncate output])
3.6130 -AC_CACHE_VAL(lt_cv_path_SED,
3.6131 -[# Loop through the user's path and test for sed and gsed.
3.6132 -# Then use that list of sed's as ones to test for truncation.
3.6133 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3.6134 -for as_dir in $PATH
3.6135 -do
3.6136 - IFS=$as_save_IFS
3.6137 - test -z "$as_dir" && as_dir=.
3.6138 - for lt_ac_prog in sed gsed; do
3.6139 - for ac_exec_ext in '' $ac_executable_extensions; do
3.6140 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3.6141 - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3.6142 - fi
3.6143 - done
3.6144 - done
3.6145 -done
3.6146 -lt_ac_max=0
3.6147 -lt_ac_count=0
3.6148 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3.6149 -# along with /bin/sed that truncates output.
3.6150 -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3.6151 - test ! -f $lt_ac_sed && continue
3.6152 - cat /dev/null > conftest.in
3.6153 - lt_ac_count=0
3.6154 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3.6155 - # Check for GNU sed and select it if it is found.
3.6156 - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3.6157 - lt_cv_path_SED=$lt_ac_sed
3.6158 - break
3.6159 - fi
3.6160 - while true; do
3.6161 - cat conftest.in conftest.in >conftest.tmp
3.6162 - mv conftest.tmp conftest.in
3.6163 - cp conftest.in conftest.nl
3.6164 - echo >>conftest.nl
3.6165 - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3.6166 - cmp -s conftest.out conftest.nl || break
3.6167 - # 10000 chars as input seems more than enough
3.6168 - test $lt_ac_count -gt 10 && break
3.6169 - lt_ac_count=`expr $lt_ac_count + 1`
3.6170 - if test $lt_ac_count -gt $lt_ac_max; then
3.6171 - lt_ac_max=$lt_ac_count
3.6172 - lt_cv_path_SED=$lt_ac_sed
3.6173 - fi
3.6174 - done
3.6175 -done
3.6176 -])
3.6177 -SED=$lt_cv_path_SED
3.6178 -AC_MSG_RESULT([$SED])
3.6179 -])
3.6180 -
3.6181 -
3.6182 -dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
3.6183 -dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
3.6184 -dnl also defines GSTUFF_PKG_ERRORS on error
3.6185 -AC_DEFUN(PKG_CHECK_MODULES, [
3.6186 - succeeded=no
3.6187 -
3.6188 - if test -z "$PKG_CONFIG"; then
3.6189 - AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
3.6190 - fi
3.6191 -
3.6192 - if test "$PKG_CONFIG" = "no" ; then
3.6193 - echo "*** The pkg-config script could not be found. Make sure it is"
3.6194 - echo "*** in your path, or set the PKG_CONFIG environment variable"
3.6195 - echo "*** to the full path to pkg-config."
3.6196 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
3.6197 - else
3.6198 - PKG_CONFIG_MIN_VERSION=0.9.0
3.6199 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
3.6200 - AC_MSG_CHECKING(for $2)
3.6201 -
3.6202 - if $PKG_CONFIG --exists "$2" ; then
3.6203 - AC_MSG_RESULT(yes)
3.6204 - succeeded=yes
3.6205 -
3.6206 - AC_MSG_CHECKING($1_CFLAGS)
3.6207 - $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
3.6208 - AC_MSG_RESULT($$1_CFLAGS)
3.6209 -
3.6210 - AC_MSG_CHECKING($1_LIBS)
3.6211 - $1_LIBS=`$PKG_CONFIG --libs "$2"`
3.6212 - AC_MSG_RESULT($$1_LIBS)
3.6213 - else
3.6214 - $1_CFLAGS=""
3.6215 - $1_LIBS=""
3.6216 - ## If we have a custom action on failure, don't print errors, but
3.6217 - ## do set a variable so people can do so.
3.6218 - $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
3.6219 - ifelse([$4], ,echo $$1_PKG_ERRORS,)
3.6220 - fi
3.6221 -
3.6222 - AC_SUBST($1_CFLAGS)
3.6223 - AC_SUBST($1_LIBS)
3.6224 - else
3.6225 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
3.6226 - echo "*** See http://www.freedesktop.org/software/pkgconfig"
3.6227 - fi
3.6228 - fi
3.6229 -
3.6230 - if test $succeeded = yes; then
3.6231 - ifelse([$3], , :, [$3])
3.6232 - else
3.6233 - 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])
3.6234 - fi
3.6235 -])
3.6236 -
3.6237 -
3.6238 -
3.6239 -# -*- Autoconf -*-
3.6240 -# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
3.6241 -# Generated from amversion.in; do not edit by hand.
3.6242 -
3.6243 -# This program is free software; you can redistribute it and/or modify
3.6244 -# it under the terms of the GNU General Public License as published by
3.6245 -# the Free Software Foundation; either version 2, or (at your option)
3.6246 -# any later version.
3.6247 -
3.6248 -# This program is distributed in the hope that it will be useful,
3.6249 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
3.6250 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.6251 -# GNU General Public License for more details.
3.6252 -
3.6253 -# You should have received a copy of the GNU General Public License
3.6254 -# along with this program; if not, write to the Free Software
3.6255 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3.6256 -
3.6257 -# AM_AUTOMAKE_VERSION(VERSION)
3.6258 -# ----------------------------
3.6259 -# Automake X.Y traces this macro to ensure aclocal.m4 has been
3.6260 -# generated from the m4 files accompanying Automake X.Y.
3.6261 -AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
3.6262 -
3.6263 -# AM_SET_CURRENT_AUTOMAKE_VERSION
3.6264 -# -------------------------------
3.6265 -# Call AM_AUTOMAKE_VERSION so it can be traced.
3.6266 -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
3.6267 -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
3.6268 - [AM_AUTOMAKE_VERSION([1.8.5])])
3.6269 -
3.6270 -# Figure out how to run the assembler. -*- Autoconf -*-
3.6271 -
3.6272 -# serial 3
3.6273 -
3.6274 -# Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc.
3.6275 -
3.6276 -# This program is free software; you can redistribute it and/or modify
3.6277 -# it under the terms of the GNU General Public License as published by
3.6278 -# the Free Software Foundation; either version 2, or (at your option)
3.6279 -# any later version.
3.6280 -
3.6281 -# This program is distributed in the hope that it will be useful,
3.6282 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
3.6283 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.6284 -# GNU General Public License for more details.
3.6285 -
3.6286 -# You should have received a copy of the GNU General Public License
3.6287 -# along with this program; if not, write to the Free Software
3.6288 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3.6289 -# 02111-1307, USA.
3.6290 -
3.6291 -# AM_PROG_AS
3.6292 -# ----------
3.6293 -AC_DEFUN([AM_PROG_AS],
3.6294 -[# By default we simply use the C compiler to build assembly code.
3.6295 -AC_REQUIRE([AC_PROG_CC])
3.6296 -test "${CCAS+set}" = set || CCAS=$CC
3.6297 -test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3.6298 -AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)])
3.6299 -AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
3.6300 -])
3.6301 -
3.6302 -# AM_AUX_DIR_EXPAND
3.6303 -
3.6304 -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
3.6305 -
3.6306 -# This program is free software; you can redistribute it and/or modify
3.6307 -# it under the terms of the GNU General Public License as published by
3.6308 -# the Free Software Foundation; either version 2, or (at your option)
3.6309 -# any later version.
3.6310 -
3.6311 -# This program is distributed in the hope that it will be useful,
3.6312 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
3.6313 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.6314 -# GNU General Public License for more details.
3.6315 -
3.6316 -# You should have received a copy of the GNU General Public License
3.6317 -# along with this program; if not, write to the Free Software
3.6318 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3.6319 -# 02111-1307, USA.
3.6320 -
3.6321 -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
3.6322 -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
3.6323 -# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
3.6324 -#
3.6325 -# Of course, Automake must honor this variable whenever it calls a
3.6326 -# tool from the auxiliary directory. The problem is that $srcdir (and
3.6327 -# therefore $ac_aux_dir as well) can be either absolute or relative,
3.6328 -# depending on how configure is run. This is pretty annoying, since
3.6329 -# it makes $ac_aux_dir quite unusable in subdirectories: in the top
3.6330 -# source directory, any form will work fine, but in subdirectories a
3.6331 -# relative path needs to be adjusted first.
3.6332 -#
3.6333 -# $ac_aux_dir/missing
3.6334 -# fails when called from a subdirectory if $ac_aux_dir is relative
3.6335 -# $top_srcdir/$ac_aux_dir/missing
3.6336 -# fails if $ac_aux_dir is absolute,
3.6337 -# fails when called from a subdirectory in a VPATH build with
3.6338 -# a relative $ac_aux_dir
3.6339 -#
3.6340 -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
3.6341 -# are both prefixed by $srcdir. In an in-source build this is usually
3.6342 -# harmless because $srcdir is `.', but things will broke when you
3.6343 -# start a VPATH build or use an absolute $srcdir.
3.6344 -#
3.6345 -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
3.6346 -# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
3.6347 -# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
3.6348 -# and then we would define $MISSING as
3.6349 -# MISSING="\${SHELL} $am_aux_dir/missing"
3.6350 -# This will work as long as MISSING is not called from configure, because
3.6351 -# unfortunately $(top_srcdir) has no meaning in configure.
3.6352 -# However there are other variables, like CC, which are often used in
3.6353 -# configure, and could therefore not use this "fixed" $ac_aux_dir.
3.6354 -#
3.6355 -# Another solution, used here, is to always expand $ac_aux_dir to an
3.6356 -# absolute PATH. The drawback is that using absolute paths prevent a
3.6357 -# configured tree to be moved without reconfiguration.
3.6358 -
3.6359 -AC_DEFUN([AM_AUX_DIR_EXPAND],
3.6360 -[dnl Rely on autoconf to set up CDPATH properly.
3.6361 -AC_PREREQ([2.50])dnl
3.6362 -# expand $ac_aux_dir to an absolute path
3.6363 -am_aux_dir=`cd $ac_aux_dir && pwd`
3.6364 -])
3.6365 -
3.6366 -# AM_CONDITIONAL -*- Autoconf -*-
3.6367 -
3.6368 -# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
3.6369 -
3.6370 -# This program is free software; you can redistribute it and/or modify
3.6371 -# it under the terms of the GNU General Public License as published by
3.6372 -# the Free Software Foundation; either version 2, or (at your option)
3.6373 -# any later version.
3.6374 -
3.6375 -# This program is distributed in the hope that it will be useful,
3.6376 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
3.6377 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.6378 -# GNU General Public License for more details.
3.6379 -
3.6380 -# You should have received a copy of the GNU General Public License
3.6381 -# along with this program; if not, write to the Free Software
3.6382 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3.6383 -# 02111-1307, USA.
3.6384 -
3.6385 -# serial 6
3.6386 -
3.6387 -# AM_CONDITIONAL(NAME, SHELL-CONDITION)
3.6388 -# -------------------------------------
3.6389 -# Define a conditional.
3.6390 -AC_DEFUN([AM_CONDITIONAL],
3.6391 -[AC_PREREQ(2.52)dnl
3.6392 - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
3.6393 - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
3.6394 -AC_SUBST([$1_TRUE])
3.6395 -AC_SUBST([$1_FALSE])
3.6396 -if $2; then
3.6397 - $1_TRUE=
3.6398 - $1_FALSE='#'
3.6399 -else
3.6400 - $1_TRUE='#'
3.6401 - $1_FALSE=
3.6402 -fi
3.6403 -AC_CONFIG_COMMANDS_PRE(
3.6404 -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
3.6405 - AC_MSG_ERROR([conditional "$1" was never defined.
3.6406 -Usually this means the macro was only invoked conditionally.])
3.6407 -fi])])
3.6408 -
3.6409 -# serial 7 -*- Autoconf -*-
3.6410 -
3.6411 -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
3.6412 -# Free Software Foundation, Inc.
3.6413 -
3.6414 -# This program is free software; you can redistribute it and/or modify
3.6415 -# it under the terms of the GNU General Public License as published by
3.6416 -# the Free Software Foundation; either version 2, or (at your option)
3.6417 -# any later version.
3.6418 -
3.6419 -# This program is distributed in the hope that it will be useful,
3.6420 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
3.6421 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.6422 -# GNU General Public License for more details.
3.6423 -
3.6424 -# You should have received a copy of the GNU General Public License
3.6425 -# along with this program; if not, write to the Free Software
3.6426 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3.6427 -# 02111-1307, USA.
3.6428 -
3.6429 -
3.6430 -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
3.6431 -# written in clear, in which case automake, when reading aclocal.m4,
3.6432 -# will think it sees a *use*, and therefore will trigger all it's
3.6433 -# C support machinery. Also note that it means that autoscan, seeing
3.6434 -# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
3.6435 -
3.6436 -
3.6437 -
3.6438 -# _AM_DEPENDENCIES(NAME)
3.6439 -# ----------------------
3.6440 -# See how the compiler implements dependency checking.
3.6441 -# NAME is "CC", "CXX", "GCJ", or "OBJC".
3.6442 -# We try a few techniques and use that to set a single cache variable.
3.6443 -#
3.6444 -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
3.6445 -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
3.6446 -# dependency, and given that the user is not expected to run this macro,
3.6447 -# just rely on AC_PROG_CC.
3.6448 -AC_DEFUN([_AM_DEPENDENCIES],
3.6449 -[AC_REQUIRE([AM_SET_DEPDIR])dnl
3.6450 -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
3.6451 -AC_REQUIRE([AM_MAKE_INCLUDE])dnl
3.6452 -AC_REQUIRE([AM_DEP_TRACK])dnl
3.6453 -
3.6454 -ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
3.6455 - [$1], CXX, [depcc="$CXX" am_compiler_list=],
3.6456 - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
3.6457 - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
3.6458 - [depcc="$$1" am_compiler_list=])
3.6459 -
3.6460 -AC_CACHE_CHECK([dependency style of $depcc],
3.6461 - [am_cv_$1_dependencies_compiler_type],
3.6462 -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3.6463 - # We make a subdir and do the tests there. Otherwise we can end up
3.6464 - # making bogus files that we don't know about and never remove. For
3.6465 - # instance it was reported that on HP-UX the gcc test will end up
3.6466 - # making a dummy file named `D' -- because `-MD' means `put the output
3.6467 - # in D'.
3.6468 - mkdir conftest.dir
3.6469 - # Copy depcomp to subdir because otherwise we won't find it if we're
3.6470 - # using a relative directory.
3.6471 - cp "$am_depcomp" conftest.dir
3.6472 - cd conftest.dir
3.6473 - # We will build objects and dependencies in a subdirectory because
3.6474 - # it helps to detect inapplicable dependency modes. For instance
3.6475 - # both Tru64's cc and ICC support -MD to output dependencies as a
3.6476 - # side effect of compilation, but ICC will put the dependencies in
3.6477 - # the current directory while Tru64 will put them in the object
3.6478 - # directory.
3.6479 - mkdir sub
3.6480 -
3.6481 - am_cv_$1_dependencies_compiler_type=none
3.6482 - if test "$am_compiler_list" = ""; then
3.6483 - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
3.6484 - fi
3.6485 - for depmode in $am_compiler_list; do
3.6486 - # Setup a source with many dependencies, because some compilers
3.6487 - # like to wrap large dependency lists on column 80 (with \), and
3.6488 - # we should not choose a depcomp mode which is confused by this.
3.6489 - #
3.6490 - # We need to recreate these files for each test, as the compiler may
3.6491 - # overwrite some of them when testing with obscure command lines.
3.6492 - # This happens at least with the AIX C compiler.
3.6493 - : > sub/conftest.c
3.6494 - for i in 1 2 3 4 5 6; do
3.6495 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
3.6496 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3.6497 - # Solaris 8's {/usr,}/bin/sh.
3.6498 - touch sub/conftst$i.h
3.6499 - done
3.6500 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3.6501 -
3.6502 - case $depmode in
3.6503 - nosideeffect)
3.6504 - # after this tag, mechanisms are not by side-effect, so they'll
3.6505 - # only be used when explicitly requested
3.6506 - if test "x$enable_dependency_tracking" = xyes; then
3.6507 - continue
3.6508 - else
3.6509 - break
3.6510 - fi
3.6511 - ;;
3.6512 - none) break ;;
3.6513 - esac
3.6514 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
3.6515 - # mode. It turns out that the SunPro C++ compiler does not properly
3.6516 - # handle `-M -o', and we need to detect this.
3.6517 - if depmode=$depmode \
3.6518 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3.6519 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3.6520 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3.6521 - >/dev/null 2>conftest.err &&
3.6522 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3.6523 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3.6524 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3.6525 - # icc doesn't choke on unknown options, it will just issue warnings
3.6526 - # or remarks (even with -Werror). So we grep stderr for any message
3.6527 - # that says an option was ignored or not supported.
3.6528 - # When given -MP, icc 7.0 and 7.1 complain thusly:
3.6529 - # icc: Command line warning: ignoring option '-M'; no argument required
3.6530 - # The diagnosis changed in icc 8.0:
3.6531 - # icc: Command line remark: option '-MP' not supported
3.6532 - if (grep 'ignoring option' conftest.err ||
3.6533 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3.6534 - am_cv_$1_dependencies_compiler_type=$depmode
3.6535 - break
3.6536 - fi
3.6537 - fi
3.6538 - done
3.6539 -
3.6540 - cd ..
3.6541 - rm -rf conftest.dir
3.6542 -else
3.6543 - am_cv_$1_dependencies_compiler_type=none
3.6544 -fi
3.6545 -])
3.6546 -AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
3.6547 -AM_CONDITIONAL([am__fastdep$1], [
3.6548 - test "x$enable_dependency_tracking" != xno \
3.6549 - && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
3.6550 -])
3.6551 -
3.6552 -
3.6553 -# AM_SET_DEPDIR
3.6554 -# -------------
3.6555 -# Choose a directory name for dependency files.
3.6556 -# This macro is AC_REQUIREd in _AM_DEPENDENCIES
3.6557 -AC_DEFUN([AM_SET_DEPDIR],
3.6558 -[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
3.6559 -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
3.6560 -])
3.6561 -
3.6562 -
3.6563 -# AM_DEP_TRACK
3.6564 -# ------------
3.6565 -AC_DEFUN([AM_DEP_TRACK],
3.6566 -[AC_ARG_ENABLE(dependency-tracking,
3.6567 -[ --disable-dependency-tracking speeds up one-time build
3.6568 - --enable-dependency-tracking do not reject slow dependency extractors])
3.6569 -if test "x$enable_dependency_tracking" != xno; then
3.6570 - am_depcomp="$ac_aux_dir/depcomp"
3.6571 - AMDEPBACKSLASH='\'
3.6572 -fi
3.6573 -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
3.6574 -AC_SUBST([AMDEPBACKSLASH])
3.6575 -])
3.6576 -
3.6577 -# Generate code to set up dependency tracking. -*- Autoconf -*-
3.6578 -
3.6579 -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
3.6580 -
3.6581 -# This program is free software; you can redistribute it and/or modify
3.6582 -# it under the terms of the GNU General Public License as published by
3.6583 -# the Free Software Foundation; either version 2, or (at your option)
3.6584 -# any later version.
3.6585 -
3.6586 -# This program is distributed in the hope that it will be useful,
3.6587 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
3.6588 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.6589 -# GNU General Public License for more details.
3.6590 -
3.6591 -# You should have received a copy of the GNU General Public License
3.6592 -# along with this program; if not, write to the Free Software
3.6593 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3.6594 -# 02111-1307, USA.
3.6595 -
3.6596 -#serial 2
3.6597 -
3.6598 -# _AM_OUTPUT_DEPENDENCY_COMMANDS
3.6599 -# ------------------------------
3.6600 -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
3.6601 -[for mf in $CONFIG_FILES; do
3.6602 - # Strip MF so we end up with the name of the file.
3.6603 - mf=`echo "$mf" | sed -e 's/:.*$//'`
3.6604 - # Check whether this is an Automake generated Makefile or not.
3.6605 - # We used to match only the files named `Makefile.in', but
3.6606 - # some people rename them; so instead we look at the file content.
3.6607 - # Grep'ing the first line is not enough: some people post-process
3.6608 - # each Makefile.in and add a new line on top of each file to say so.
3.6609 - # So let's grep whole file.
3.6610 - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3.6611 - dirpart=`AS_DIRNAME("$mf")`
3.6612 - else
3.6613 - continue
3.6614 - fi
3.6615 - grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
3.6616 - # Extract the definition of DEP_FILES from the Makefile without
3.6617 - # running `make'.
3.6618 - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3.6619 - test -z "$DEPDIR" && continue
3.6620 - # When using ansi2knr, U may be empty or an underscore; expand it
3.6621 - U=`sed -n 's/^U = //p' < "$mf"`
3.6622 - test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
3.6623 - # We invoke sed twice because it is the simplest approach to
3.6624 - # changing $(DEPDIR) to its actual value in the expansion.
3.6625 - for file in `sed -n '
3.6626 - /^DEP_FILES = .*\\\\$/ {
3.6627 - s/^DEP_FILES = //
3.6628 - :loop
3.6629 - s/\\\\$//
3.6630 - p
3.6631 - n
3.6632 - /\\\\$/ b loop
3.6633 - p
3.6634 - }
3.6635 - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
3.6636 - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3.6637 - # Make sure the directory exists.
3.6638 - test -f "$dirpart/$file" && continue
3.6639 - fdir=`AS_DIRNAME(["$file"])`
3.6640 - AS_MKDIR_P([$dirpart/$fdir])
3.6641 - # echo "creating $dirpart/$file"
3.6642 - echo '# dummy' > "$dirpart/$file"
3.6643 - done
3.6644 -done
3.6645 -])# _AM_OUTPUT_DEPENDENCY_COMMANDS
3.6646 -
3.6647 -
3.6648 -# AM_OUTPUT_DEPENDENCY_COMMANDS
3.6649 -# -----------------------------
3.6650 -# This macro should only be invoked once -- use via AC_REQUIRE.
3.6651 -#
3.6652 -# This code is only required when automatic dependency tracking
3.6653 -# is enabled. FIXME. This creates each `.P' file that we will
3.6654 -# need in order to bootstrap the dependency handling code.
3.6655 -AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
3.6656 -[AC_CONFIG_COMMANDS([depfiles],
3.6657 - [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
3.6658 - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
3.6659 -])
3.6660 -
3.6661 -# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
3.6662 -
3.6663 -# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
3.6664 -
3.6665 -# This program is free software; you can redistribute it and/or modify
3.6666 -# it under the terms of the GNU General Public License as published by
3.6667 -# the Free Software Foundation; either version 2, or (at your option)
3.6668 -# any later version.
3.6669 -
3.6670 -# This program is distributed in the hope that it will be useful,
3.6671 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
3.6672 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.6673 -# GNU General Public License for more details.
3.6674 -
3.6675 -# You should have received a copy of the GNU General Public License
3.6676 -# along with this program; if not, write to the Free Software
3.6677 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3.6678 -# 02111-1307, USA.
3.6679 -
3.6680 -# serial 7
3.6681 -
3.6682 -# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
3.6683 -AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
3.6684 -
3.6685 -# Do all the work for Automake. -*- Autoconf -*-
3.6686 -
3.6687 -# This macro actually does too much some checks are only needed if
3.6688 -# your package does certain things. But this isn't really a big deal.
3.6689 -
3.6690 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
3.6691 -# Free Software Foundation, Inc.
3.6692 -
3.6693 -# This program is free software; you can redistribute it and/or modify
3.6694 -# it under the terms of the GNU General Public License as published by
3.6695 -# the Free Software Foundation; either version 2, or (at your option)
3.6696 -# any later version.
3.6697 -
3.6698 -# This program is distributed in the hope that it will be useful,
3.6699 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
3.6700 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.6701 -# GNU General Public License for more details.
3.6702 -
3.6703 -# You should have received a copy of the GNU General Public License
3.6704 -# along with this program; if not, write to the Free Software
3.6705 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3.6706 -# 02111-1307, USA.
3.6707 -
3.6708 -# serial 11
3.6709 -
3.6710 -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
3.6711 -# AM_INIT_AUTOMAKE([OPTIONS])
3.6712 -# -----------------------------------------------
3.6713 -# The call with PACKAGE and VERSION arguments is the old style
3.6714 -# call (pre autoconf-2.50), which is being phased out. PACKAGE
3.6715 -# and VERSION should now be passed to AC_INIT and removed from
3.6716 -# the call to AM_INIT_AUTOMAKE.
3.6717 -# We support both call styles for the transition. After
3.6718 -# the next Automake release, Autoconf can make the AC_INIT
3.6719 -# arguments mandatory, and then we can depend on a new Autoconf
3.6720 -# release and drop the old call support.
3.6721 -AC_DEFUN([AM_INIT_AUTOMAKE],
3.6722 -[AC_PREREQ([2.58])dnl
3.6723 -dnl Autoconf wants to disallow AM_ names. We explicitly allow
3.6724 -dnl the ones we care about.
3.6725 -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
3.6726 -AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
3.6727 -AC_REQUIRE([AC_PROG_INSTALL])dnl
3.6728 -# test to see if srcdir already configured
3.6729 -if test "`cd $srcdir && pwd`" != "`pwd`" &&
3.6730 - test -f $srcdir/config.status; then
3.6731 - AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
3.6732 -fi
3.6733 -
3.6734 -# test whether we have cygpath
3.6735 -if test -z "$CYGPATH_W"; then
3.6736 - if (cygpath --version) >/dev/null 2>/dev/null; then
3.6737 - CYGPATH_W='cygpath -w'
3.6738 - else
3.6739 - CYGPATH_W=echo
3.6740 - fi
3.6741 -fi
3.6742 -AC_SUBST([CYGPATH_W])
3.6743 -
3.6744 -# Define the identity of the package.
3.6745 -dnl Distinguish between old-style and new-style calls.
3.6746 -m4_ifval([$2],
3.6747 -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
3.6748 - AC_SUBST([PACKAGE], [$1])dnl
3.6749 - AC_SUBST([VERSION], [$2])],
3.6750 -[_AM_SET_OPTIONS([$1])dnl
3.6751 - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
3.6752 - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
3.6753 -
3.6754 -_AM_IF_OPTION([no-define],,
3.6755 -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
3.6756 - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
3.6757 -
3.6758 -# Some tools Automake needs.
3.6759 -AC_REQUIRE([AM_SANITY_CHECK])dnl
3.6760 -AC_REQUIRE([AC_ARG_PROGRAM])dnl
3.6761 -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
3.6762 -AM_MISSING_PROG(AUTOCONF, autoconf)
3.6763 -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
3.6764 -AM_MISSING_PROG(AUTOHEADER, autoheader)
3.6765 -AM_MISSING_PROG(MAKEINFO, makeinfo)
3.6766 -AM_MISSING_PROG(AMTAR, tar)
3.6767 -AM_PROG_INSTALL_SH
3.6768 -AM_PROG_INSTALL_STRIP
3.6769 -AC_REQUIRE([AM_PROG_MKDIR_P])dnl
3.6770 -# We need awk for the "check" target. The system "awk" is bad on
3.6771 -# some platforms.
3.6772 -AC_REQUIRE([AC_PROG_AWK])dnl
3.6773 -AC_REQUIRE([AC_PROG_MAKE_SET])dnl
3.6774 -AC_REQUIRE([AM_SET_LEADING_DOT])dnl
3.6775 -
3.6776 -_AM_IF_OPTION([no-dependencies],,
3.6777 -[AC_PROVIDE_IFELSE([AC_PROG_CC],
3.6778 - [_AM_DEPENDENCIES(CC)],
3.6779 - [define([AC_PROG_CC],
3.6780 - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
3.6781 -AC_PROVIDE_IFELSE([AC_PROG_CXX],
3.6782 - [_AM_DEPENDENCIES(CXX)],
3.6783 - [define([AC_PROG_CXX],
3.6784 - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
3.6785 -])
3.6786 -])
3.6787 -
3.6788 -
3.6789 -# When config.status generates a header, we must update the stamp-h file.
3.6790 -# This file resides in the same directory as the config header
3.6791 -# that is generated. The stamp files are numbered to have different names.
3.6792 -
3.6793 -# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
3.6794 -# loop where config.status creates the headers, so we can generate
3.6795 -# our stamp files there.
3.6796 -AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
3.6797 -[# Compute $1's index in $config_headers.
3.6798 -_am_stamp_count=1
3.6799 -for _am_header in $config_headers :; do
3.6800 - case $_am_header in
3.6801 - $1 | $1:* )
3.6802 - break ;;
3.6803 - * )
3.6804 - _am_stamp_count=`expr $_am_stamp_count + 1` ;;
3.6805 - esac
3.6806 -done
3.6807 -echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
3.6808 -
3.6809 -# AM_PROG_INSTALL_SH
3.6810 -# ------------------
3.6811 -# Define $install_sh.
3.6812 -
3.6813 -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
3.6814 -
3.6815 -# This program is free software; you can redistribute it and/or modify
3.6816 -# it under the terms of the GNU General Public License as published by
3.6817 -# the Free Software Foundation; either version 2, or (at your option)
3.6818 -# any later version.
3.6819 -
3.6820 -# This program is distributed in the hope that it will be useful,
3.6821 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
3.6822 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.6823 -# GNU General Public License for more details.
3.6824 -
3.6825 -# You should have received a copy of the GNU General Public License
3.6826 -# along with this program; if not, write to the Free Software
3.6827 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3.6828 -# 02111-1307, USA.
3.6829 -
3.6830 -AC_DEFUN([AM_PROG_INSTALL_SH],
3.6831 -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
3.6832 -install_sh=${install_sh-"$am_aux_dir/install-sh"}
3.6833 -AC_SUBST(install_sh)])
3.6834 -
3.6835 -# -*- Autoconf -*-
3.6836 -# Copyright (C) 2003 Free Software Foundation, Inc.
3.6837 -
3.6838 -# This program is free software; you can redistribute it and/or modify
3.6839 -# it under the terms of the GNU General Public License as published by
3.6840 -# the Free Software Foundation; either version 2, or (at your option)
3.6841 -# any later version.
3.6842 -
3.6843 -# This program is distributed in the hope that it will be useful,
3.6844 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
3.6845 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.6846 -# GNU General Public License for more details.
3.6847 -
3.6848 -# You should have received a copy of the GNU General Public License
3.6849 -# along with this program; if not, write to the Free Software
3.6850 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3.6851 -# 02111-1307, USA.
3.6852 -
3.6853 -# serial 1
3.6854 -
3.6855 -# Check whether the underlying file-system supports filenames
3.6856 -# with a leading dot. For instance MS-DOS doesn't.
3.6857 -AC_DEFUN([AM_SET_LEADING_DOT],
3.6858 -[rm -rf .tst 2>/dev/null
3.6859 -mkdir .tst 2>/dev/null
3.6860 -if test -d .tst; then
3.6861 - am__leading_dot=.
3.6862 -else
3.6863 - am__leading_dot=_
3.6864 -fi
3.6865 -rmdir .tst 2>/dev/null
3.6866 -AC_SUBST([am__leading_dot])])
3.6867 -
3.6868 -# Add --enable-maintainer-mode option to configure.
3.6869 -# From Jim Meyering
3.6870 -
3.6871 -# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
3.6872 -# Free Software Foundation, Inc.
3.6873 -
3.6874 -# This program is free software; you can redistribute it and/or modify
3.6875 -# it under the terms of the GNU General Public License as published by
3.6876 -# the Free Software Foundation; either version 2, or (at your option)
3.6877 -# any later version.
3.6878 -
3.6879 -# This program is distributed in the hope that it will be useful,
3.6880 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
3.6881 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.6882 -# GNU General Public License for more details.
3.6883 -
3.6884 -# You should have received a copy of the GNU General Public License
3.6885 -# along with this program; if not, write to the Free Software
3.6886 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3.6887 -# 02111-1307, USA.
3.6888 -
3.6889 -# serial 3
3.6890 -
3.6891 -AC_DEFUN([AM_MAINTAINER_MODE],
3.6892 -[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
3.6893 - dnl maintainer-mode is disabled by default
3.6894 - AC_ARG_ENABLE(maintainer-mode,
3.6895 -[ --enable-maintainer-mode enable make rules and dependencies not useful
3.6896 - (and sometimes confusing) to the casual installer],
3.6897 - USE_MAINTAINER_MODE=$enableval,
3.6898 - USE_MAINTAINER_MODE=no)
3.6899 - AC_MSG_RESULT([$USE_MAINTAINER_MODE])
3.6900 - AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
3.6901 - MAINT=$MAINTAINER_MODE_TRUE
3.6902 - AC_SUBST(MAINT)dnl
3.6903 -]
3.6904 -)
3.6905 -
3.6906 -AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
3.6907 -
3.6908 -# Check to see how 'make' treats includes. -*- Autoconf -*-
3.6909 -
3.6910 -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
3.6911 -
3.6912 -# This program is free software; you can redistribute it and/or modify
3.6913 -# it under the terms of the GNU General Public License as published by
3.6914 -# the Free Software Foundation; either version 2, or (at your option)
3.6915 -# any later version.
3.6916 -
3.6917 -# This program is distributed in the hope that it will be useful,
3.6918 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
3.6919 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.6920 -# GNU General Public License for more details.
3.6921 -
3.6922 -# You should have received a copy of the GNU General Public License
3.6923 -# along with this program; if not, write to the Free Software
3.6924 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3.6925 -# 02111-1307, USA.
3.6926 -
3.6927 -# serial 2
3.6928 -
3.6929 -# AM_MAKE_INCLUDE()
3.6930 -# -----------------
3.6931 -# Check to see how make treats includes.
3.6932 -AC_DEFUN([AM_MAKE_INCLUDE],
3.6933 -[am_make=${MAKE-make}
3.6934 -cat > confinc << 'END'
3.6935 -am__doit:
3.6936 - @echo done
3.6937 -.PHONY: am__doit
3.6938 -END
3.6939 -# If we don't find an include directive, just comment out the code.
3.6940 -AC_MSG_CHECKING([for style of include used by $am_make])
3.6941 -am__include="#"
3.6942 -am__quote=
3.6943 -_am_result=none
3.6944 -# First try GNU make style include.
3.6945 -echo "include confinc" > confmf
3.6946 -# We grep out `Entering directory' and `Leaving directory'
3.6947 -# messages which can occur if `w' ends up in MAKEFLAGS.
3.6948 -# In particular we don't look at `^make:' because GNU make might
3.6949 -# be invoked under some other name (usually "gmake"), in which
3.6950 -# case it prints its new name instead of `make'.
3.6951 -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3.6952 - am__include=include
3.6953 - am__quote=
3.6954 - _am_result=GNU
3.6955 -fi
3.6956 -# Now try BSD make style include.
3.6957 -if test "$am__include" = "#"; then
3.6958 - echo '.include "confinc"' > confmf
3.6959 - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3.6960 - am__include=.include
3.6961 - am__quote="\""
3.6962 - _am_result=BSD
3.6963 - fi
3.6964 -fi
3.6965 -AC_SUBST([am__include])
3.6966 -AC_SUBST([am__quote])
3.6967 -AC_MSG_RESULT([$_am_result])
3.6968 -rm -f confinc confmf
3.6969 -])
3.6970 -
3.6971 -# -*- Autoconf -*-
3.6972 -
3.6973 -
3.6974 -# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
3.6975 -
3.6976 -# This program is free software; you can redistribute it and/or modify
3.6977 -# it under the terms of the GNU General Public License as published by
3.6978 -# the Free Software Foundation; either version 2, or (at your option)
3.6979 -# any later version.
3.6980 -
3.6981 -# This program is distributed in the hope that it will be useful,
3.6982 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
3.6983 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.6984 -# GNU General Public License for more details.
3.6985 -
3.6986 -# You should have received a copy of the GNU General Public License
3.6987 -# along with this program; if not, write to the Free Software
3.6988 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3.6989 -# 02111-1307, USA.
3.6990 -
3.6991 -# serial 3
3.6992 -
3.6993 -# AM_MISSING_PROG(NAME, PROGRAM)
3.6994 -# ------------------------------
3.6995 -AC_DEFUN([AM_MISSING_PROG],
3.6996 -[AC_REQUIRE([AM_MISSING_HAS_RUN])
3.6997 -$1=${$1-"${am_missing_run}$2"}
3.6998 -AC_SUBST($1)])
3.6999 -
3.7000 -
3.7001 -# AM_MISSING_HAS_RUN
3.7002 -# ------------------
3.7003 -# Define MISSING if not defined so far and test if it supports --run.
3.7004 -# If it does, set am_missing_run to use it, otherwise, to nothing.
3.7005 -AC_DEFUN([AM_MISSING_HAS_RUN],
3.7006 -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
3.7007 -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
3.7008 -# Use eval to expand $SHELL
3.7009 -if eval "$MISSING --run true"; then
3.7010 - am_missing_run="$MISSING --run "
3.7011 -else
3.7012 - am_missing_run=
3.7013 - AC_MSG_WARN([`missing' script is too old or missing])
3.7014 -fi
3.7015 -])
3.7016 -
3.7017 -# AM_PROG_MKDIR_P
3.7018 -# ---------------
3.7019 -# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
3.7020 -
3.7021 -# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
3.7022 -
3.7023 -# This program is free software; you can redistribute it and/or modify
3.7024 -# it under the terms of the GNU General Public License as published by
3.7025 -# the Free Software Foundation; either version 2, or (at your option)
3.7026 -# any later version.
3.7027 -
3.7028 -# This program is distributed in the hope that it will be useful,
3.7029 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
3.7030 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.7031 -# GNU General Public License for more details.
3.7032 -
3.7033 -# You should have received a copy of the GNU General Public License
3.7034 -# along with this program; if not, write to the Free Software
3.7035 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3.7036 -# 02111-1307, USA.
3.7037 -
3.7038 -# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
3.7039 -# created by `make install' are always world readable, even if the
3.7040 -# installer happens to have an overly restrictive umask (e.g. 077).
3.7041 -# This was a mistake. There are at least two reasons why we must not
3.7042 -# use `-m 0755':
3.7043 -# - it causes special bits like SGID to be ignored,
3.7044 -# - it may be too restrictive (some setups expect 775 directories).
3.7045 -#
3.7046 -# Do not use -m 0755 and let people choose whatever they expect by
3.7047 -# setting umask.
3.7048 -#
3.7049 -# We cannot accept any implementation of `mkdir' that recognizes `-p'.
3.7050 -# Some implementations (such as Solaris 8's) are not thread-safe: if a
3.7051 -# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
3.7052 -# concurrently, both version can detect that a/ is missing, but only
3.7053 -# one can create it and the other will error out. Consequently we
3.7054 -# restrict ourselves to GNU make (using the --version option ensures
3.7055 -# this.)
3.7056 -AC_DEFUN([AM_PROG_MKDIR_P],
3.7057 -[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
3.7058 - # Keeping the `.' argument allows $(mkdir_p) to be used without
3.7059 - # argument. Indeed, we sometimes output rules like
3.7060 - # $(mkdir_p) $(somedir)
3.7061 - # where $(somedir) is conditionally defined.
3.7062 - # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
3.7063 - # expensive solution, as it forces Make to start a sub-shell.)
3.7064 - mkdir_p='mkdir -p -- .'
3.7065 -else
3.7066 - # On NextStep and OpenStep, the `mkdir' command does not
3.7067 - # recognize any option. It will interpret all options as
3.7068 - # directories to create, and then abort because `.' already
3.7069 - # exists.
3.7070 - for d in ./-p ./--version;
3.7071 - do
3.7072 - test -d $d && rmdir $d
3.7073 - done
3.7074 - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3.7075 - if test -f "$ac_aux_dir/mkinstalldirs"; then
3.7076 - mkdir_p='$(mkinstalldirs)'
3.7077 - else
3.7078 - mkdir_p='$(install_sh) -d'
3.7079 - fi
3.7080 -fi
3.7081 -AC_SUBST([mkdir_p])])
3.7082 -
3.7083 -# Helper functions for option handling. -*- Autoconf -*-
3.7084 -
3.7085 -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
3.7086 -
3.7087 -# This program is free software; you can redistribute it and/or modify
3.7088 -# it under the terms of the GNU General Public License as published by
3.7089 -# the Free Software Foundation; either version 2, or (at your option)
3.7090 -# any later version.
3.7091 -
3.7092 -# This program is distributed in the hope that it will be useful,
3.7093 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
3.7094 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.7095 -# GNU General Public License for more details.
3.7096 -
3.7097 -# You should have received a copy of the GNU General Public License
3.7098 -# along with this program; if not, write to the Free Software
3.7099 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3.7100 -# 02111-1307, USA.
3.7101 -
3.7102 -# serial 2
3.7103 -
3.7104 -# _AM_MANGLE_OPTION(NAME)
3.7105 -# -----------------------
3.7106 -AC_DEFUN([_AM_MANGLE_OPTION],
3.7107 -[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
3.7108 -
3.7109 -# _AM_SET_OPTION(NAME)
3.7110 -# ------------------------------
3.7111 -# Set option NAME. Presently that only means defining a flag for this option.
3.7112 -AC_DEFUN([_AM_SET_OPTION],
3.7113 -[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
3.7114 -
3.7115 -# _AM_SET_OPTIONS(OPTIONS)
3.7116 -# ----------------------------------
3.7117 -# OPTIONS is a space-separated list of Automake options.
3.7118 -AC_DEFUN([_AM_SET_OPTIONS],
3.7119 -[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
3.7120 -
3.7121 -# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
3.7122 -# -------------------------------------------
3.7123 -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
3.7124 -AC_DEFUN([_AM_IF_OPTION],
3.7125 -[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
3.7126 -
3.7127 -#
3.7128 -# Check to make sure that the build environment is sane.
3.7129 -#
3.7130 -
3.7131 -# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
3.7132 -
3.7133 -# This program is free software; you can redistribute it and/or modify
3.7134 -# it under the terms of the GNU General Public License as published by
3.7135 -# the Free Software Foundation; either version 2, or (at your option)
3.7136 -# any later version.
3.7137 -
3.7138 -# This program is distributed in the hope that it will be useful,
3.7139 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
3.7140 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.7141 -# GNU General Public License for more details.
3.7142 -
3.7143 -# You should have received a copy of the GNU General Public License
3.7144 -# along with this program; if not, write to the Free Software
3.7145 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3.7146 -# 02111-1307, USA.
3.7147 -
3.7148 -# serial 3
3.7149 -
3.7150 -# AM_SANITY_CHECK
3.7151 -# ---------------
3.7152 -AC_DEFUN([AM_SANITY_CHECK],
3.7153 -[AC_MSG_CHECKING([whether build environment is sane])
3.7154 -# Just in case
3.7155 -sleep 1
3.7156 -echo timestamp > conftest.file
3.7157 -# Do `set' in a subshell so we don't clobber the current shell's
3.7158 -# arguments. Must try -L first in case configure is actually a
3.7159 -# symlink; some systems play weird games with the mod time of symlinks
3.7160 -# (eg FreeBSD returns the mod time of the symlink's containing
3.7161 -# directory).
3.7162 -if (
3.7163 - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3.7164 - if test "$[*]" = "X"; then
3.7165 - # -L didn't work.
3.7166 - set X `ls -t $srcdir/configure conftest.file`
3.7167 - fi
3.7168 - rm -f conftest.file
3.7169 - if test "$[*]" != "X $srcdir/configure conftest.file" \
3.7170 - && test "$[*]" != "X conftest.file $srcdir/configure"; then
3.7171 -
3.7172 - # If neither matched, then we have a broken ls. This can happen
3.7173 - # if, for instance, CONFIG_SHELL is bash and it inherits a
3.7174 - # broken ls alias from the environment. This has actually
3.7175 - # happened. Such a system could not be considered "sane".
3.7176 - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
3.7177 -alias in your environment])
3.7178 - fi
3.7179 -
3.7180 - test "$[2]" = conftest.file
3.7181 - )
3.7182 -then
3.7183 - # Ok.
3.7184 - :
3.7185 -else
3.7186 - AC_MSG_ERROR([newly created file is older than distributed files!
3.7187 -Check your system clock])
3.7188 -fi
3.7189 -AC_MSG_RESULT(yes)])
3.7190 -
3.7191 -# AM_PROG_INSTALL_STRIP
3.7192 -
3.7193 -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
3.7194 -
3.7195 -# This program is free software; you can redistribute it and/or modify
3.7196 -# it under the terms of the GNU General Public License as published by
3.7197 -# the Free Software Foundation; either version 2, or (at your option)
3.7198 -# any later version.
3.7199 -
3.7200 -# This program is distributed in the hope that it will be useful,
3.7201 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
3.7202 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.7203 -# GNU General Public License for more details.
3.7204 -
3.7205 -# You should have received a copy of the GNU General Public License
3.7206 -# along with this program; if not, write to the Free Software
3.7207 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3.7208 -# 02111-1307, USA.
3.7209 -
3.7210 -# One issue with vendor `install' (even GNU) is that you can't
3.7211 -# specify the program used to strip binaries. This is especially
3.7212 -# annoying in cross-compiling environments, where the build's strip
3.7213 -# is unlikely to handle the host's binaries.
3.7214 -# Fortunately install-sh will honor a STRIPPROG variable, so we
3.7215 -# always use install-sh in `make install-strip', and initialize
3.7216 -# STRIPPROG with the value of the STRIP variable (set by the user).
3.7217 -AC_DEFUN([AM_PROG_INSTALL_STRIP],
3.7218 -[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
3.7219 -# Installed binaries are usually stripped using `strip' when the user
3.7220 -# run `make install-strip'. However `strip' might not be the right
3.7221 -# tool to use in cross-compilation environments, therefore Automake
3.7222 -# will honor the `STRIP' environment variable to overrule this program.
3.7223 -dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
3.7224 -if test "$cross_compiling" != no; then
3.7225 - AC_CHECK_TOOL([STRIP], [strip], :)
3.7226 -fi
3.7227 -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3.7228 -AC_SUBST([INSTALL_STRIP_PROGRAM])])
3.7229 -
3.7230 -m4_include([m4/as-compiler-flag.m4])
3.7231 -m4_include([m4/as-version.m4])
4.1 --- a/gst-plugins-nuvdemux/autogen.sh Thu Oct 26 18:55:14 2006 +0100
4.2 +++ b/gst-plugins-nuvdemux/autogen.sh Fri Oct 27 00:11:21 2006 +0100
4.3 @@ -102,7 +102,7 @@
4.4
4.5 export AUTOMAKE ACLOCAL
4.6 # gtkdocize
4.7 -autoreconf --install || exit 1
4.8 +autoreconf --install --force || exit 1
4.9
4.10 #conf_flags="--enable-maintainer-mode"
4.11
5.1 --- a/gst-plugins-nuvdemux/autom4te.cache/output.0 Thu Oct 26 18:55:14 2006 +0100
5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
5.3 @@ -1,23553 +0,0 @@
5.4 -@%:@! /bin/sh
5.5 -@%:@ Guess values for system-dependent variables and create Makefiles.
5.6 -@%:@ Generated by GNU Autoconf 2.59.
5.7 -@%:@
5.8 -@%:@ Copyright (C) 2003 Free Software Foundation, Inc.
5.9 -@%:@ This configure script is free software; the Free Software Foundation
5.10 -@%:@ gives unlimited permission to copy, distribute and modify it.
5.11 -## --------------------- ##
5.12 -## M4sh Initialization. ##
5.13 -## --------------------- ##
5.14 -
5.15 -# Be Bourne compatible
5.16 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5.17 - emulate sh
5.18 - NULLCMD=:
5.19 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5.20 - # is contrary to our usage. Disable this feature.
5.21 - alias -g '${1+"$@"}'='"$@"'
5.22 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5.23 - set -o posix
5.24 -fi
5.25 -DUALCASE=1; export DUALCASE # for MKS sh
5.26 -
5.27 -# Support unset when possible.
5.28 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5.29 - as_unset=unset
5.30 -else
5.31 - as_unset=false
5.32 -fi
5.33 -
5.34 -
5.35 -# Work around bugs in pre-3.0 UWIN ksh.
5.36 -$as_unset ENV MAIL MAILPATH
5.37 -PS1='$ '
5.38 -PS2='> '
5.39 -PS4='+ '
5.40 -
5.41 -# NLS nuisances.
5.42 -for as_var in \
5.43 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5.44 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5.45 - LC_TELEPHONE LC_TIME
5.46 -do
5.47 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5.48 - eval $as_var=C; export $as_var
5.49 - else
5.50 - $as_unset $as_var
5.51 - fi
5.52 -done
5.53 -
5.54 -# Required to use basename.
5.55 -if expr a : '\(a\)' >/dev/null 2>&1; then
5.56 - as_expr=expr
5.57 -else
5.58 - as_expr=false
5.59 -fi
5.60 -
5.61 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5.62 - as_basename=basename
5.63 -else
5.64 - as_basename=false
5.65 -fi
5.66 -
5.67 -
5.68 -# Name of the executable.
5.69 -as_me=`$as_basename "$0" ||
5.70 -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5.71 - X"$0" : 'X\(//\)$' \| \
5.72 - X"$0" : 'X\(/\)$' \| \
5.73 - . : '\(.\)' 2>/dev/null ||
5.74 -echo X/"$0" |
5.75 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5.76 - /^X\/\(\/\/\)$/{ s//\1/; q; }
5.77 - /^X\/\(\/\).*/{ s//\1/; q; }
5.78 - s/.*/./; q'`
5.79 -
5.80 -
5.81 -# PATH needs CR, and LINENO needs CR and PATH.
5.82 -# Avoid depending upon Character Ranges.
5.83 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5.84 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5.85 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5.86 -as_cr_digits='0123456789'
5.87 -as_cr_alnum=$as_cr_Letters$as_cr_digits
5.88 -
5.89 -# The user is always right.
5.90 -if test "${PATH_SEPARATOR+set}" != set; then
5.91 - echo "#! /bin/sh" >conf$$.sh
5.92 - echo "exit 0" >>conf$$.sh
5.93 - chmod +x conf$$.sh
5.94 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5.95 - PATH_SEPARATOR=';'
5.96 - else
5.97 - PATH_SEPARATOR=:
5.98 - fi
5.99 - rm -f conf$$.sh
5.100 -fi
5.101 -
5.102 -
5.103 - as_lineno_1=$LINENO
5.104 - as_lineno_2=$LINENO
5.105 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5.106 - test "x$as_lineno_1" != "x$as_lineno_2" &&
5.107 - test "x$as_lineno_3" = "x$as_lineno_2" || {
5.108 - # Find who we are. Look in the path if we contain no path at all
5.109 - # relative or not.
5.110 - case $0 in
5.111 - *[\\/]* ) as_myself=$0 ;;
5.112 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.113 -for as_dir in $PATH
5.114 -do
5.115 - IFS=$as_save_IFS
5.116 - test -z "$as_dir" && as_dir=.
5.117 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5.118 -done
5.119 -
5.120 - ;;
5.121 - esac
5.122 - # We did not find ourselves, most probably we were run as `sh COMMAND'
5.123 - # in which case we are not to be found in the path.
5.124 - if test "x$as_myself" = x; then
5.125 - as_myself=$0
5.126 - fi
5.127 - if test ! -f "$as_myself"; then
5.128 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
5.129 - { (exit 1); exit 1; }; }
5.130 - fi
5.131 - case $CONFIG_SHELL in
5.132 - '')
5.133 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.134 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5.135 -do
5.136 - IFS=$as_save_IFS
5.137 - test -z "$as_dir" && as_dir=.
5.138 - for as_base in sh bash ksh sh5; do
5.139 - case $as_dir in
5.140 - /*)
5.141 - if ("$as_dir/$as_base" -c '
5.142 - as_lineno_1=$LINENO
5.143 - as_lineno_2=$LINENO
5.144 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5.145 - test "x$as_lineno_1" != "x$as_lineno_2" &&
5.146 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5.147 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5.148 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5.149 - CONFIG_SHELL=$as_dir/$as_base
5.150 - export CONFIG_SHELL
5.151 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5.152 - fi;;
5.153 - esac
5.154 - done
5.155 -done
5.156 -;;
5.157 - esac
5.158 -
5.159 - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5.160 - # uniformly replaced by the line number. The first 'sed' inserts a
5.161 - # line-number line before each line; the second 'sed' does the real
5.162 - # work. The second script uses 'N' to pair each line-number line
5.163 - # with the numbered line, and appends trailing '-' during
5.164 - # substitution so that $LINENO is not a special case at line end.
5.165 - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5.166 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5.167 - sed '=' <$as_myself |
5.168 - sed '
5.169 - N
5.170 - s,$,-,
5.171 - : loop
5.172 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5.173 - t loop
5.174 - s,-$,,
5.175 - s,^['$as_cr_digits']*\n,,
5.176 - ' >$as_me.lineno &&
5.177 - chmod +x $as_me.lineno ||
5.178 - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5.179 - { (exit 1); exit 1; }; }
5.180 -
5.181 - # Don't try to exec as it changes $[0], causing all sort of problems
5.182 - # (the dirname of $[0] is not the place where we might find the
5.183 - # original and so on. Autoconf is especially sensible to this).
5.184 - . ./$as_me.lineno
5.185 - # Exit status is that of the last command.
5.186 - exit
5.187 -}
5.188 -
5.189 -
5.190 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5.191 - *c*,-n*) ECHO_N= ECHO_C='
5.192 -' ECHO_T=' ' ;;
5.193 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5.194 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5.195 -esac
5.196 -
5.197 -if expr a : '\(a\)' >/dev/null 2>&1; then
5.198 - as_expr=expr
5.199 -else
5.200 - as_expr=false
5.201 -fi
5.202 -
5.203 -rm -f conf$$ conf$$.exe conf$$.file
5.204 -echo >conf$$.file
5.205 -if ln -s conf$$.file conf$$ 2>/dev/null; then
5.206 - # We could just check for DJGPP; but this test a) works b) is more generic
5.207 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5.208 - if test -f conf$$.exe; then
5.209 - # Don't use ln at all; we don't have any links
5.210 - as_ln_s='cp -p'
5.211 - else
5.212 - as_ln_s='ln -s'
5.213 - fi
5.214 -elif ln conf$$.file conf$$ 2>/dev/null; then
5.215 - as_ln_s=ln
5.216 -else
5.217 - as_ln_s='cp -p'
5.218 -fi
5.219 -rm -f conf$$ conf$$.exe conf$$.file
5.220 -
5.221 -if mkdir -p . 2>/dev/null; then
5.222 - as_mkdir_p=:
5.223 -else
5.224 - test -d ./-p && rmdir ./-p
5.225 - as_mkdir_p=false
5.226 -fi
5.227 -
5.228 -as_executable_p="test -f"
5.229 -
5.230 -# Sed expression to map a string onto a valid CPP name.
5.231 -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5.232 -
5.233 -# Sed expression to map a string onto a valid variable name.
5.234 -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5.235 -
5.236 -
5.237 -# IFS
5.238 -# We need space, tab and new line, in precisely that order.
5.239 -as_nl='
5.240 -'
5.241 -IFS=" $as_nl"
5.242 -
5.243 -# CDPATH.
5.244 -$as_unset CDPATH
5.245 -
5.246 -
5.247 -
5.248 -# Check that we are running under the correct shell.
5.249 -SHELL=${CONFIG_SHELL-/bin/sh}
5.250 -
5.251 -case X$ECHO in
5.252 -X*--fallback-echo)
5.253 - # Remove one level of quotation (which was required for Make).
5.254 - ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
5.255 - ;;
5.256 -esac
5.257 -
5.258 -echo=${ECHO-echo}
5.259 -if test "X$1" = X--no-reexec; then
5.260 - # Discard the --no-reexec flag, and continue.
5.261 - shift
5.262 -elif test "X$1" = X--fallback-echo; then
5.263 - # Avoid inline document here, it may be left over
5.264 - :
5.265 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
5.266 - # Yippee, $echo works!
5.267 - :
5.268 -else
5.269 - # Restart under the correct shell.
5.270 - exec $SHELL "$0" --no-reexec ${1+"$@"}
5.271 -fi
5.272 -
5.273 -if test "X$1" = X--fallback-echo; then
5.274 - # used as fallback echo
5.275 - shift
5.276 - cat <<EOF
5.277 -$*
5.278 -EOF
5.279 - exit 0
5.280 -fi
5.281 -
5.282 -# The HP-UX ksh and POSIX shell print the target directory to stdout
5.283 -# if CDPATH is set.
5.284 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5.285 -
5.286 -if test -z "$ECHO"; then
5.287 -if test "X${echo_test_string+set}" != Xset; then
5.288 -# find a string as large as possible, as long as the shell can cope with it
5.289 - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
5.290 - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
5.291 - if (echo_test_string=`eval $cmd`) 2>/dev/null &&
5.292 - echo_test_string=`eval $cmd` &&
5.293 - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
5.294 - then
5.295 - break
5.296 - fi
5.297 - done
5.298 -fi
5.299 -
5.300 -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
5.301 - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
5.302 - test "X$echo_testing_string" = "X$echo_test_string"; then
5.303 - :
5.304 -else
5.305 - # The Solaris, AIX, and Digital Unix default echo programs unquote
5.306 - # backslashes. This makes it impossible to quote backslashes using
5.307 - # echo "$something" | sed 's/\\/\\\\/g'
5.308 - #
5.309 - # So, first we look for a working echo in the user's PATH.
5.310 -
5.311 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5.312 - for dir in $PATH /usr/ucb; do
5.313 - IFS="$lt_save_ifs"
5.314 - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
5.315 - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
5.316 - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
5.317 - test "X$echo_testing_string" = "X$echo_test_string"; then
5.318 - echo="$dir/echo"
5.319 - break
5.320 - fi
5.321 - done
5.322 - IFS="$lt_save_ifs"
5.323 -
5.324 - if test "X$echo" = Xecho; then
5.325 - # We didn't find a better echo, so look for alternatives.
5.326 - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
5.327 - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
5.328 - test "X$echo_testing_string" = "X$echo_test_string"; then
5.329 - # This shell has a builtin print -r that does the trick.
5.330 - echo='print -r'
5.331 - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
5.332 - test "X$CONFIG_SHELL" != X/bin/ksh; then
5.333 - # If we have ksh, try running configure again with it.
5.334 - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
5.335 - export ORIGINAL_CONFIG_SHELL
5.336 - CONFIG_SHELL=/bin/ksh
5.337 - export CONFIG_SHELL
5.338 - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
5.339 - else
5.340 - # Try using printf.
5.341 - echo='printf %s\n'
5.342 - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
5.343 - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
5.344 - test "X$echo_testing_string" = "X$echo_test_string"; then
5.345 - # Cool, printf works
5.346 - :
5.347 - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
5.348 - test "X$echo_testing_string" = 'X\t' &&
5.349 - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
5.350 - test "X$echo_testing_string" = "X$echo_test_string"; then
5.351 - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
5.352 - export CONFIG_SHELL
5.353 - SHELL="$CONFIG_SHELL"
5.354 - export SHELL
5.355 - echo="$CONFIG_SHELL $0 --fallback-echo"
5.356 - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
5.357 - test "X$echo_testing_string" = 'X\t' &&
5.358 - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
5.359 - test "X$echo_testing_string" = "X$echo_test_string"; then
5.360 - echo="$CONFIG_SHELL $0 --fallback-echo"
5.361 - else
5.362 - # maybe with a smaller string...
5.363 - prev=:
5.364 -
5.365 - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
5.366 - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
5.367 - then
5.368 - break
5.369 - fi
5.370 - prev="$cmd"
5.371 - done
5.372 -
5.373 - if test "$prev" != 'sed 50q "$0"'; then
5.374 - echo_test_string=`eval $prev`
5.375 - export echo_test_string
5.376 - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
5.377 - else
5.378 - # Oops. We lost completely, so just stick with echo.
5.379 - echo=echo
5.380 - fi
5.381 - fi
5.382 - fi
5.383 - fi
5.384 -fi
5.385 -fi
5.386 -
5.387 -# Copy echo and quote the copy suitably for passing to libtool from
5.388 -# the Makefile, instead of quoting the original, which is used later.
5.389 -ECHO=$echo
5.390 -if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
5.391 - ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
5.392 -fi
5.393 -
5.394 -
5.395 -
5.396 -
5.397 -tagnames=${tagnames+${tagnames},}CXX
5.398 -
5.399 -tagnames=${tagnames+${tagnames},}F77
5.400 -
5.401 -# Name of the host.
5.402 -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
5.403 -# so uname gets run too.
5.404 -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5.405 -
5.406 -exec 6>&1
5.407 -
5.408 -#
5.409 -# Initializations.
5.410 -#
5.411 -ac_default_prefix=/usr/local
5.412 -ac_config_libobj_dir=.
5.413 -cross_compiling=no
5.414 -subdirs=
5.415 -MFLAGS=
5.416 -MAKEFLAGS=
5.417 -SHELL=${CONFIG_SHELL-/bin/sh}
5.418 -
5.419 -# Maximum number of lines to put in a shell here document.
5.420 -# This variable seems obsolete. It should probably be removed, and
5.421 -# only ac_max_sed_lines should be used.
5.422 -: ${ac_max_here_lines=38}
5.423 -
5.424 -# Identity of this package.
5.425 -PACKAGE_NAME=
5.426 -PACKAGE_TARNAME=
5.427 -PACKAGE_VERSION=
5.428 -PACKAGE_STRING=
5.429 -PACKAGE_BUGREPORT=
5.430 -
5.431 -# Factoring default headers for most tests.
5.432 -ac_includes_default="\
5.433 -#include <stdio.h>
5.434 -#if HAVE_SYS_TYPES_H
5.435 -# include <sys/types.h>
5.436 -#endif
5.437 -#if HAVE_SYS_STAT_H
5.438 -# include <sys/stat.h>
5.439 -#endif
5.440 -#if STDC_HEADERS
5.441 -# include <stdlib.h>
5.442 -# include <stddef.h>
5.443 -#else
5.444 -# if HAVE_STDLIB_H
5.445 -# include <stdlib.h>
5.446 -# endif
5.447 -#endif
5.448 -#if HAVE_STRING_H
5.449 -# if !STDC_HEADERS && HAVE_MEMORY_H
5.450 -# include <memory.h>
5.451 -# endif
5.452 -# include <string.h>
5.453 -#endif
5.454 -#if HAVE_STRINGS_H
5.455 -# include <strings.h>
5.456 -#endif
5.457 -#if HAVE_INTTYPES_H
5.458 -# include <inttypes.h>
5.459 -#else
5.460 -# if HAVE_STDINT_H
5.461 -# include <stdint.h>
5.462 -# endif
5.463 -#endif
5.464 -#if HAVE_UNISTD_H
5.465 -# include <unistd.h>
5.466 -#endif"
5.467 -
5.468 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GST_PLUGINS_VERSION GST_PLUGINS_VERSION_RELEASE GST_PLUGINS_VERSION_MAJOR GST_PLUGINS_VERSION_MINOR GST_PLUGINS_VERSION_MICRO GST_PLUGINS_VERSION_NANO PACKAGE VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ACLOCAL_AMFLAGS CCAS CCASFLAGS ERROR_CFLAGS HAVE_CXX HAVE_PKGCONFIG PKG_CONFIG GST_CFLAGS GST_LIBS GST_MAJORMINOR GST_BASE_CFLAGS GST_BASE_LIBS GST_PLUGINS_BASE_CFLAGS GST_PLUGINS_BASE_LIBS plugindir GST_PLUGIN_LDFLAGS LIB@&t@OBJS LTLIBOBJS'
5.469 -ac_subst_files=''
5.470 -
5.471 -# Initialize some variables set by options.
5.472 -ac_init_help=
5.473 -ac_init_version=false
5.474 -# The variables have the same names as the options, with
5.475 -# dashes changed to underlines.
5.476 -cache_file=/dev/null
5.477 -exec_prefix=NONE
5.478 -no_create=
5.479 -no_recursion=
5.480 -prefix=NONE
5.481 -program_prefix=NONE
5.482 -program_suffix=NONE
5.483 -program_transform_name=s,x,x,
5.484 -silent=
5.485 -site=
5.486 -srcdir=
5.487 -verbose=
5.488 -x_includes=NONE
5.489 -x_libraries=NONE
5.490 -
5.491 -# Installation directory options.
5.492 -# These are left unexpanded so users can "make install exec_prefix=/foo"
5.493 -# and all the variables that are supposed to be based on exec_prefix
5.494 -# by default will actually change.
5.495 -# Use braces instead of parens because sh, perl, etc. also accept them.
5.496 -bindir='${exec_prefix}/bin'
5.497 -sbindir='${exec_prefix}/sbin'
5.498 -libexecdir='${exec_prefix}/libexec'
5.499 -datadir='${prefix}/share'
5.500 -sysconfdir='${prefix}/etc'
5.501 -sharedstatedir='${prefix}/com'
5.502 -localstatedir='${prefix}/var'
5.503 -libdir='${exec_prefix}/lib'
5.504 -includedir='${prefix}/include'
5.505 -oldincludedir='/usr/include'
5.506 -infodir='${prefix}/info'
5.507 -mandir='${prefix}/man'
5.508 -
5.509 -ac_prev=
5.510 -for ac_option
5.511 -do
5.512 - # If the previous option needs an argument, assign it.
5.513 - if test -n "$ac_prev"; then
5.514 - eval "$ac_prev=\$ac_option"
5.515 - ac_prev=
5.516 - continue
5.517 - fi
5.518 -
5.519 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
5.520 -
5.521 - # Accept the important Cygnus configure options, so we can diagnose typos.
5.522 -
5.523 - case $ac_option in
5.524 -
5.525 - -bindir | --bindir | --bindi | --bind | --bin | --bi)
5.526 - ac_prev=bindir ;;
5.527 - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
5.528 - bindir=$ac_optarg ;;
5.529 -
5.530 - -build | --build | --buil | --bui | --bu)
5.531 - ac_prev=build_alias ;;
5.532 - -build=* | --build=* | --buil=* | --bui=* | --bu=*)
5.533 - build_alias=$ac_optarg ;;
5.534 -
5.535 - -cache-file | --cache-file | --cache-fil | --cache-fi \
5.536 - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5.537 - ac_prev=cache_file ;;
5.538 - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5.539 - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
5.540 - cache_file=$ac_optarg ;;
5.541 -
5.542 - --config-cache | -C)
5.543 - cache_file=config.cache ;;
5.544 -
5.545 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
5.546 - ac_prev=datadir ;;
5.547 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
5.548 - | --da=*)
5.549 - datadir=$ac_optarg ;;
5.550 -
5.551 - -disable-* | --disable-*)
5.552 - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
5.553 - # Reject names that are not valid shell variable names.
5.554 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
5.555 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
5.556 - { (exit 1); exit 1; }; }
5.557 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
5.558 - eval "enable_$ac_feature=no" ;;
5.559 -
5.560 - -enable-* | --enable-*)
5.561 - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
5.562 - # Reject names that are not valid shell variable names.
5.563 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
5.564 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
5.565 - { (exit 1); exit 1; }; }
5.566 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
5.567 - case $ac_option in
5.568 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
5.569 - *) ac_optarg=yes ;;
5.570 - esac
5.571 - eval "enable_$ac_feature='$ac_optarg'" ;;
5.572 -
5.573 - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
5.574 - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
5.575 - | --exec | --exe | --ex)
5.576 - ac_prev=exec_prefix ;;
5.577 - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
5.578 - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
5.579 - | --exec=* | --exe=* | --ex=*)
5.580 - exec_prefix=$ac_optarg ;;
5.581 -
5.582 - -gas | --gas | --ga | --g)
5.583 - # Obsolete; use --with-gas.
5.584 - with_gas=yes ;;
5.585 -
5.586 - -help | --help | --hel | --he | -h)
5.587 - ac_init_help=long ;;
5.588 - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
5.589 - ac_init_help=recursive ;;
5.590 - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
5.591 - ac_init_help=short ;;
5.592 -
5.593 - -host | --host | --hos | --ho)
5.594 - ac_prev=host_alias ;;
5.595 - -host=* | --host=* | --hos=* | --ho=*)
5.596 - host_alias=$ac_optarg ;;
5.597 -
5.598 - -includedir | --includedir | --includedi | --included | --include \
5.599 - | --includ | --inclu | --incl | --inc)
5.600 - ac_prev=includedir ;;
5.601 - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
5.602 - | --includ=* | --inclu=* | --incl=* | --inc=*)
5.603 - includedir=$ac_optarg ;;
5.604 -
5.605 - -infodir | --infodir | --infodi | --infod | --info | --inf)
5.606 - ac_prev=infodir ;;
5.607 - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
5.608 - infodir=$ac_optarg ;;
5.609 -
5.610 - -libdir | --libdir | --libdi | --libd)
5.611 - ac_prev=libdir ;;
5.612 - -libdir=* | --libdir=* | --libdi=* | --libd=*)
5.613 - libdir=$ac_optarg ;;
5.614 -
5.615 - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
5.616 - | --libexe | --libex | --libe)
5.617 - ac_prev=libexecdir ;;
5.618 - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
5.619 - | --libexe=* | --libex=* | --libe=*)
5.620 - libexecdir=$ac_optarg ;;
5.621 -
5.622 - -localstatedir | --localstatedir | --localstatedi | --localstated \
5.623 - | --localstate | --localstat | --localsta | --localst \
5.624 - | --locals | --local | --loca | --loc | --lo)
5.625 - ac_prev=localstatedir ;;
5.626 - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
5.627 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
5.628 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
5.629 - localstatedir=$ac_optarg ;;
5.630 -
5.631 - -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
5.632 - ac_prev=mandir ;;
5.633 - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
5.634 - mandir=$ac_optarg ;;
5.635 -
5.636 - -nfp | --nfp | --nf)
5.637 - # Obsolete; use --without-fp.
5.638 - with_fp=no ;;
5.639 -
5.640 - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
5.641 - | --no-cr | --no-c | -n)
5.642 - no_create=yes ;;
5.643 -
5.644 - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
5.645 - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
5.646 - no_recursion=yes ;;
5.647 -
5.648 - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
5.649 - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
5.650 - | --oldin | --oldi | --old | --ol | --o)
5.651 - ac_prev=oldincludedir ;;
5.652 - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
5.653 - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
5.654 - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
5.655 - oldincludedir=$ac_optarg ;;
5.656 -
5.657 - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5.658 - ac_prev=prefix ;;
5.659 - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5.660 - prefix=$ac_optarg ;;
5.661 -
5.662 - -program-prefix | --program-prefix | --program-prefi | --program-pref \
5.663 - | --program-pre | --program-pr | --program-p)
5.664 - ac_prev=program_prefix ;;
5.665 - -program-prefix=* | --program-prefix=* | --program-prefi=* \
5.666 - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
5.667 - program_prefix=$ac_optarg ;;
5.668 -
5.669 - -program-suffix | --program-suffix | --program-suffi | --program-suff \
5.670 - | --program-suf | --program-su | --program-s)
5.671 - ac_prev=program_suffix ;;
5.672 - -program-suffix=* | --program-suffix=* | --program-suffi=* \
5.673 - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
5.674 - program_suffix=$ac_optarg ;;
5.675 -
5.676 - -program-transform-name | --program-transform-name \
5.677 - | --program-transform-nam | --program-transform-na \
5.678 - | --program-transform-n | --program-transform- \
5.679 - | --program-transform | --program-transfor \
5.680 - | --program-transfo | --program-transf \
5.681 - | --program-trans | --program-tran \
5.682 - | --progr-tra | --program-tr | --program-t)
5.683 - ac_prev=program_transform_name ;;
5.684 - -program-transform-name=* | --program-transform-name=* \
5.685 - | --program-transform-nam=* | --program-transform-na=* \
5.686 - | --program-transform-n=* | --program-transform-=* \
5.687 - | --program-transform=* | --program-transfor=* \
5.688 - | --program-transfo=* | --program-transf=* \
5.689 - | --program-trans=* | --program-tran=* \
5.690 - | --progr-tra=* | --program-tr=* | --program-t=*)
5.691 - program_transform_name=$ac_optarg ;;
5.692 -
5.693 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5.694 - | -silent | --silent | --silen | --sile | --sil)
5.695 - silent=yes ;;
5.696 -
5.697 - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
5.698 - ac_prev=sbindir ;;
5.699 - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
5.700 - | --sbi=* | --sb=*)
5.701 - sbindir=$ac_optarg ;;
5.702 -
5.703 - -sharedstatedir | --sharedstatedir | --sharedstatedi \
5.704 - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
5.705 - | --sharedst | --shareds | --shared | --share | --shar \
5.706 - | --sha | --sh)
5.707 - ac_prev=sharedstatedir ;;
5.708 - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
5.709 - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
5.710 - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
5.711 - | --sha=* | --sh=*)
5.712 - sharedstatedir=$ac_optarg ;;
5.713 -
5.714 - -site | --site | --sit)
5.715 - ac_prev=site ;;
5.716 - -site=* | --site=* | --sit=*)
5.717 - site=$ac_optarg ;;
5.718 -
5.719 - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5.720 - ac_prev=srcdir ;;
5.721 - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5.722 - srcdir=$ac_optarg ;;
5.723 -
5.724 - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
5.725 - | --syscon | --sysco | --sysc | --sys | --sy)
5.726 - ac_prev=sysconfdir ;;
5.727 - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
5.728 - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
5.729 - sysconfdir=$ac_optarg ;;
5.730 -
5.731 - -target | --target | --targe | --targ | --tar | --ta | --t)
5.732 - ac_prev=target_alias ;;
5.733 - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
5.734 - target_alias=$ac_optarg ;;
5.735 -
5.736 - -v | -verbose | --verbose | --verbos | --verbo | --verb)
5.737 - verbose=yes ;;
5.738 -
5.739 - -version | --version | --versio | --versi | --vers | -V)
5.740 - ac_init_version=: ;;
5.741 -
5.742 - -with-* | --with-*)
5.743 - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
5.744 - # Reject names that are not valid shell variable names.
5.745 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
5.746 - { echo "$as_me: error: invalid package name: $ac_package" >&2
5.747 - { (exit 1); exit 1; }; }
5.748 - ac_package=`echo $ac_package| sed 's/-/_/g'`
5.749 - case $ac_option in
5.750 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
5.751 - *) ac_optarg=yes ;;
5.752 - esac
5.753 - eval "with_$ac_package='$ac_optarg'" ;;
5.754 -
5.755 - -without-* | --without-*)
5.756 - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
5.757 - # Reject names that are not valid shell variable names.
5.758 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
5.759 - { echo "$as_me: error: invalid package name: $ac_package" >&2
5.760 - { (exit 1); exit 1; }; }
5.761 - ac_package=`echo $ac_package | sed 's/-/_/g'`
5.762 - eval "with_$ac_package=no" ;;
5.763 -
5.764 - --x)
5.765 - # Obsolete; use --with-x.
5.766 - with_x=yes ;;
5.767 -
5.768 - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
5.769 - | --x-incl | --x-inc | --x-in | --x-i)
5.770 - ac_prev=x_includes ;;
5.771 - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
5.772 - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
5.773 - x_includes=$ac_optarg ;;
5.774 -
5.775 - -x-libraries | --x-libraries | --x-librarie | --x-librari \
5.776 - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
5.777 - ac_prev=x_libraries ;;
5.778 - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
5.779 - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
5.780 - x_libraries=$ac_optarg ;;
5.781 -
5.782 - -*) { echo "$as_me: error: unrecognized option: $ac_option
5.783 -Try \`$0 --help' for more information." >&2
5.784 - { (exit 1); exit 1; }; }
5.785 - ;;
5.786 -
5.787 - *=*)
5.788 - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
5.789 - # Reject names that are not valid shell variable names.
5.790 - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
5.791 - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
5.792 - { (exit 1); exit 1; }; }
5.793 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
5.794 - eval "$ac_envvar='$ac_optarg'"
5.795 - export $ac_envvar ;;
5.796 -
5.797 - *)
5.798 - # FIXME: should be removed in autoconf 3.0.
5.799 - echo "$as_me: WARNING: you should use --build, --host, --target" >&2
5.800 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
5.801 - echo "$as_me: WARNING: invalid host type: $ac_option" >&2
5.802 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
5.803 - ;;
5.804 -
5.805 - esac
5.806 -done
5.807 -
5.808 -if test -n "$ac_prev"; then
5.809 - ac_option=--`echo $ac_prev | sed 's/_/-/g'`
5.810 - { echo "$as_me: error: missing argument to $ac_option" >&2
5.811 - { (exit 1); exit 1; }; }
5.812 -fi
5.813 -
5.814 -# Be sure to have absolute paths.
5.815 -for ac_var in exec_prefix prefix
5.816 -do
5.817 - eval ac_val=$`echo $ac_var`
5.818 - case $ac_val in
5.819 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
5.820 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
5.821 - { (exit 1); exit 1; }; };;
5.822 - esac
5.823 -done
5.824 -
5.825 -# Be sure to have absolute paths.
5.826 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
5.827 - localstatedir libdir includedir oldincludedir infodir mandir
5.828 -do
5.829 - eval ac_val=$`echo $ac_var`
5.830 - case $ac_val in
5.831 - [\\/$]* | ?:[\\/]* ) ;;
5.832 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
5.833 - { (exit 1); exit 1; }; };;
5.834 - esac
5.835 -done
5.836 -
5.837 -# There might be people who depend on the old broken behavior: `$host'
5.838 -# used to hold the argument of --host etc.
5.839 -# FIXME: To remove some day.
5.840 -build=$build_alias
5.841 -host=$host_alias
5.842 -target=$target_alias
5.843 -
5.844 -# FIXME: To remove some day.
5.845 -if test "x$host_alias" != x; then
5.846 - if test "x$build_alias" = x; then
5.847 - cross_compiling=maybe
5.848 - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
5.849 - If a cross compiler is detected then cross compile mode will be used." >&2
5.850 - elif test "x$build_alias" != "x$host_alias"; then
5.851 - cross_compiling=yes
5.852 - fi
5.853 -fi
5.854 -
5.855 -ac_tool_prefix=
5.856 -test -n "$host_alias" && ac_tool_prefix=$host_alias-
5.857 -
5.858 -test "$silent" = yes && exec 6>/dev/null
5.859 -
5.860 -
5.861 -# Find the source files, if location was not specified.
5.862 -if test -z "$srcdir"; then
5.863 - ac_srcdir_defaulted=yes
5.864 - # Try the directory containing this script, then its parent.
5.865 - ac_confdir=`(dirname "$0") 2>/dev/null ||
5.866 -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5.867 - X"$0" : 'X\(//\)[^/]' \| \
5.868 - X"$0" : 'X\(//\)$' \| \
5.869 - X"$0" : 'X\(/\)' \| \
5.870 - . : '\(.\)' 2>/dev/null ||
5.871 -echo X"$0" |
5.872 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5.873 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5.874 - /^X\(\/\/\)$/{ s//\1/; q; }
5.875 - /^X\(\/\).*/{ s//\1/; q; }
5.876 - s/.*/./; q'`
5.877 - srcdir=$ac_confdir
5.878 - if test ! -r $srcdir/$ac_unique_file; then
5.879 - srcdir=..
5.880 - fi
5.881 -else
5.882 - ac_srcdir_defaulted=no
5.883 -fi
5.884 -if test ! -r $srcdir/$ac_unique_file; then
5.885 - if test "$ac_srcdir_defaulted" = yes; then
5.886 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
5.887 - { (exit 1); exit 1; }; }
5.888 - else
5.889 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
5.890 - { (exit 1); exit 1; }; }
5.891 - fi
5.892 -fi
5.893 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
5.894 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
5.895 - { (exit 1); exit 1; }; }
5.896 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
5.897 -ac_env_build_alias_set=${build_alias+set}
5.898 -ac_env_build_alias_value=$build_alias
5.899 -ac_cv_env_build_alias_set=${build_alias+set}
5.900 -ac_cv_env_build_alias_value=$build_alias
5.901 -ac_env_host_alias_set=${host_alias+set}
5.902 -ac_env_host_alias_value=$host_alias
5.903 -ac_cv_env_host_alias_set=${host_alias+set}
5.904 -ac_cv_env_host_alias_value=$host_alias
5.905 -ac_env_target_alias_set=${target_alias+set}
5.906 -ac_env_target_alias_value=$target_alias
5.907 -ac_cv_env_target_alias_set=${target_alias+set}
5.908 -ac_cv_env_target_alias_value=$target_alias
5.909 -ac_env_CC_set=${CC+set}
5.910 -ac_env_CC_value=$CC
5.911 -ac_cv_env_CC_set=${CC+set}
5.912 -ac_cv_env_CC_value=$CC
5.913 -ac_env_CFLAGS_set=${CFLAGS+set}
5.914 -ac_env_CFLAGS_value=$CFLAGS
5.915 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
5.916 -ac_cv_env_CFLAGS_value=$CFLAGS
5.917 -ac_env_LDFLAGS_set=${LDFLAGS+set}
5.918 -ac_env_LDFLAGS_value=$LDFLAGS
5.919 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
5.920 -ac_cv_env_LDFLAGS_value=$LDFLAGS
5.921 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
5.922 -ac_env_CPPFLAGS_value=$CPPFLAGS
5.923 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
5.924 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
5.925 -ac_env_CPP_set=${CPP+set}
5.926 -ac_env_CPP_value=$CPP
5.927 -ac_cv_env_CPP_set=${CPP+set}
5.928 -ac_cv_env_CPP_value=$CPP
5.929 -ac_env_CXX_set=${CXX+set}
5.930 -ac_env_CXX_value=$CXX
5.931 -ac_cv_env_CXX_set=${CXX+set}
5.932 -ac_cv_env_CXX_value=$CXX
5.933 -ac_env_CXXFLAGS_set=${CXXFLAGS+set}
5.934 -ac_env_CXXFLAGS_value=$CXXFLAGS
5.935 -ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
5.936 -ac_cv_env_CXXFLAGS_value=$CXXFLAGS
5.937 -ac_env_CXXCPP_set=${CXXCPP+set}
5.938 -ac_env_CXXCPP_value=$CXXCPP
5.939 -ac_cv_env_CXXCPP_set=${CXXCPP+set}
5.940 -ac_cv_env_CXXCPP_value=$CXXCPP
5.941 -ac_env_F77_set=${F77+set}
5.942 -ac_env_F77_value=$F77
5.943 -ac_cv_env_F77_set=${F77+set}
5.944 -ac_cv_env_F77_value=$F77
5.945 -ac_env_FFLAGS_set=${FFLAGS+set}
5.946 -ac_env_FFLAGS_value=$FFLAGS
5.947 -ac_cv_env_FFLAGS_set=${FFLAGS+set}
5.948 -ac_cv_env_FFLAGS_value=$FFLAGS
5.949 -ac_env_CCAS_set=${CCAS+set}
5.950 -ac_env_CCAS_value=$CCAS
5.951 -ac_cv_env_CCAS_set=${CCAS+set}
5.952 -ac_cv_env_CCAS_value=$CCAS
5.953 -ac_env_CCASFLAGS_set=${CCASFLAGS+set}
5.954 -ac_env_CCASFLAGS_value=$CCASFLAGS
5.955 -ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
5.956 -ac_cv_env_CCASFLAGS_value=$CCASFLAGS
5.957 -
5.958 -#
5.959 -# Report the --help message.
5.960 -#
5.961 -if test "$ac_init_help" = "long"; then
5.962 - # Omit some internal or obsolete options to make the list less imposing.
5.963 - # This message is too long to be a string in the A/UX 3.1 sh.
5.964 - cat <<_ACEOF
5.965 -\`configure' configures this package to adapt to many kinds of systems.
5.966 -
5.967 -Usage: $0 [OPTION]... [VAR=VALUE]...
5.968 -
5.969 -To assign environment variables (e.g., CC, CFLAGS...), specify them as
5.970 -VAR=VALUE. See below for descriptions of some of the useful variables.
5.971 -
5.972 -Defaults for the options are specified in brackets.
5.973 -
5.974 -Configuration:
5.975 - -h, --help display this help and exit
5.976 - --help=short display options specific to this package
5.977 - --help=recursive display the short help of all the included packages
5.978 - -V, --version display version information and exit
5.979 - -q, --quiet, --silent do not print \`checking...' messages
5.980 - --cache-file=FILE cache test results in FILE [disabled]
5.981 - -C, --config-cache alias for \`--cache-file=config.cache'
5.982 - -n, --no-create do not create output files
5.983 - --srcdir=DIR find the sources in DIR [configure dir or \`..']
5.984 -
5.985 -_ACEOF
5.986 -
5.987 - cat <<_ACEOF
5.988 -Installation directories:
5.989 - --prefix=PREFIX install architecture-independent files in PREFIX
5.990 - [$ac_default_prefix]
5.991 - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
5.992 - [PREFIX]
5.993 -
5.994 -By default, \`make install' will install all the files in
5.995 -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
5.996 -an installation prefix other than \`$ac_default_prefix' using \`--prefix',
5.997 -for instance \`--prefix=\$HOME'.
5.998 -
5.999 -For better control, use the options below.
5.1000 -
5.1001 -Fine tuning of the installation directories:
5.1002 - --bindir=DIR user executables [EPREFIX/bin]
5.1003 - --sbindir=DIR system admin executables [EPREFIX/sbin]
5.1004 - --libexecdir=DIR program executables [EPREFIX/libexec]
5.1005 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
5.1006 - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
5.1007 - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
5.1008 - --localstatedir=DIR modifiable single-machine data [PREFIX/var]
5.1009 - --libdir=DIR object code libraries [EPREFIX/lib]
5.1010 - --includedir=DIR C header files [PREFIX/include]
5.1011 - --oldincludedir=DIR C header files for non-gcc [/usr/include]
5.1012 - --infodir=DIR info documentation [PREFIX/info]
5.1013 - --mandir=DIR man documentation [PREFIX/man]
5.1014 -_ACEOF
5.1015 -
5.1016 - cat <<\_ACEOF
5.1017 -
5.1018 -Program names:
5.1019 - --program-prefix=PREFIX prepend PREFIX to installed program names
5.1020 - --program-suffix=SUFFIX append SUFFIX to installed program names
5.1021 - --program-transform-name=PROGRAM run sed PROGRAM on installed program names
5.1022 -
5.1023 -System types:
5.1024 - --build=BUILD configure for building on BUILD [guessed]
5.1025 - --host=HOST cross-compile to build programs to run on HOST [BUILD]
5.1026 - --target=TARGET configure for building compilers for TARGET [HOST]
5.1027 -_ACEOF
5.1028 -fi
5.1029 -
5.1030 -if test -n "$ac_init_help"; then
5.1031 -
5.1032 - cat <<\_ACEOF
5.1033 -
5.1034 -Optional Features:
5.1035 - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
5.1036 - --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
5.1037 - --enable-static@<:@=PKGS@:>@
5.1038 - build static libraries @<:@default=no@:>@
5.1039 - --enable-maintainer-mode enable make rules and dependencies not useful
5.1040 - (and sometimes confusing) to the casual installer
5.1041 - --enable-shared@<:@=PKGS@:>@
5.1042 - build shared libraries @<:@default=yes@:>@
5.1043 - --enable-fast-install@<:@=PKGS@:>@
5.1044 - optimize for fast installation @<:@default=yes@:>@
5.1045 - --disable-dependency-tracking speeds up one-time build
5.1046 - --enable-dependency-tracking do not reject slow dependency extractors
5.1047 - --disable-libtool-lock avoid locking (might break parallel builds)
5.1048 -
5.1049 -Optional Packages:
5.1050 - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
5.1051 - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
5.1052 - --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
5.1053 - --with-pic try to use only PIC/non-PIC objects @<:@default=use
5.1054 - both@:>@
5.1055 - --with-tags@<:@=TAGS@:>@
5.1056 - include additional configurations @<:@automatic@:>@
5.1057 -
5.1058 -Some influential environment variables:
5.1059 - CC C compiler command
5.1060 - CFLAGS C compiler flags
5.1061 - LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
5.1062 - nonstandard directory <lib dir>
5.1063 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
5.1064 - headers in a nonstandard directory <include dir>
5.1065 - CPP C preprocessor
5.1066 - CXX C++ compiler command
5.1067 - CXXFLAGS C++ compiler flags
5.1068 - CXXCPP C++ preprocessor
5.1069 - F77 Fortran 77 compiler command
5.1070 - FFLAGS Fortran 77 compiler flags
5.1071 - CCAS assembler compiler command (defaults to CC)
5.1072 - CCASFLAGS assembler compiler flags (defaults to CFLAGS)
5.1073 -
5.1074 -Use these variables to override the choices made by `configure' or to help
5.1075 -it to find libraries and programs with nonstandard names/locations.
5.1076 -
5.1077 -_ACEOF
5.1078 -fi
5.1079 -
5.1080 -if test "$ac_init_help" = "recursive"; then
5.1081 - # If there are subdirs, report their specific --help.
5.1082 - ac_popdir=`pwd`
5.1083 - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
5.1084 - test -d $ac_dir || continue
5.1085 - ac_builddir=.
5.1086 -
5.1087 -if test "$ac_dir" != .; then
5.1088 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5.1089 - # A "../" for each directory in $ac_dir_suffix.
5.1090 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5.1091 -else
5.1092 - ac_dir_suffix= ac_top_builddir=
5.1093 -fi
5.1094 -
5.1095 -case $srcdir in
5.1096 - .) # No --srcdir option. We are building in place.
5.1097 - ac_srcdir=.
5.1098 - if test -z "$ac_top_builddir"; then
5.1099 - ac_top_srcdir=.
5.1100 - else
5.1101 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5.1102 - fi ;;
5.1103 - [\\/]* | ?:[\\/]* ) # Absolute path.
5.1104 - ac_srcdir=$srcdir$ac_dir_suffix;
5.1105 - ac_top_srcdir=$srcdir ;;
5.1106 - *) # Relative path.
5.1107 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5.1108 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
5.1109 -esac
5.1110 -
5.1111 -# Do not use `cd foo && pwd` to compute absolute paths, because
5.1112 -# the directories may not exist.
5.1113 -case `pwd` in
5.1114 -.) ac_abs_builddir="$ac_dir";;
5.1115 -*)
5.1116 - case "$ac_dir" in
5.1117 - .) ac_abs_builddir=`pwd`;;
5.1118 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5.1119 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
5.1120 - esac;;
5.1121 -esac
5.1122 -case $ac_abs_builddir in
5.1123 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
5.1124 -*)
5.1125 - case ${ac_top_builddir}. in
5.1126 - .) ac_abs_top_builddir=$ac_abs_builddir;;
5.1127 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5.1128 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5.1129 - esac;;
5.1130 -esac
5.1131 -case $ac_abs_builddir in
5.1132 -.) ac_abs_srcdir=$ac_srcdir;;
5.1133 -*)
5.1134 - case $ac_srcdir in
5.1135 - .) ac_abs_srcdir=$ac_abs_builddir;;
5.1136 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5.1137 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5.1138 - esac;;
5.1139 -esac
5.1140 -case $ac_abs_builddir in
5.1141 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
5.1142 -*)
5.1143 - case $ac_top_srcdir in
5.1144 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
5.1145 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5.1146 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5.1147 - esac;;
5.1148 -esac
5.1149 -
5.1150 - cd $ac_dir
5.1151 - # Check for guested configure; otherwise get Cygnus style configure.
5.1152 - if test -f $ac_srcdir/configure.gnu; then
5.1153 - echo
5.1154 - $SHELL $ac_srcdir/configure.gnu --help=recursive
5.1155 - elif test -f $ac_srcdir/configure; then
5.1156 - echo
5.1157 - $SHELL $ac_srcdir/configure --help=recursive
5.1158 - elif test -f $ac_srcdir/configure.ac ||
5.1159 - test -f $ac_srcdir/configure.in; then
5.1160 - echo
5.1161 - $ac_configure --help
5.1162 - else
5.1163 - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
5.1164 - fi
5.1165 - cd "$ac_popdir"
5.1166 - done
5.1167 -fi
5.1168 -
5.1169 -test -n "$ac_init_help" && exit 0
5.1170 -if $ac_init_version; then
5.1171 - cat <<\_ACEOF
5.1172 -
5.1173 -Copyright (C) 2003 Free Software Foundation, Inc.
5.1174 -This configure script is free software; the Free Software Foundation
5.1175 -gives unlimited permission to copy, distribute and modify it.
5.1176 -_ACEOF
5.1177 - exit 0
5.1178 -fi
5.1179 -exec 5>config.log
5.1180 -cat >&5 <<_ACEOF
5.1181 -This file contains any messages produced by compilers while
5.1182 -running configure, to aid debugging if configure makes a mistake.
5.1183 -
5.1184 -It was created by $as_me, which was
5.1185 -generated by GNU Autoconf 2.59. Invocation command line was
5.1186 -
5.1187 - $ $0 $@
5.1188 -
5.1189 -_ACEOF
5.1190 -{
5.1191 -cat <<_ASUNAME
5.1192 -@%:@@%:@ --------- @%:@@%:@
5.1193 -@%:@@%:@ Platform. @%:@@%:@
5.1194 -@%:@@%:@ --------- @%:@@%:@
5.1195 -
5.1196 -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
5.1197 -uname -m = `(uname -m) 2>/dev/null || echo unknown`
5.1198 -uname -r = `(uname -r) 2>/dev/null || echo unknown`
5.1199 -uname -s = `(uname -s) 2>/dev/null || echo unknown`
5.1200 -uname -v = `(uname -v) 2>/dev/null || echo unknown`
5.1201 -
5.1202 -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
5.1203 -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
5.1204 -
5.1205 -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
5.1206 -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
5.1207 -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
5.1208 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
5.1209 -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
5.1210 -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
5.1211 -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
5.1212 -
5.1213 -_ASUNAME
5.1214 -
5.1215 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.1216 -for as_dir in $PATH
5.1217 -do
5.1218 - IFS=$as_save_IFS
5.1219 - test -z "$as_dir" && as_dir=.
5.1220 - echo "PATH: $as_dir"
5.1221 -done
5.1222 -
5.1223 -} >&5
5.1224 -
5.1225 -cat >&5 <<_ACEOF
5.1226 -
5.1227 -
5.1228 -@%:@@%:@ ----------- @%:@@%:@
5.1229 -@%:@@%:@ Core tests. @%:@@%:@
5.1230 -@%:@@%:@ ----------- @%:@@%:@
5.1231 -
5.1232 -_ACEOF
5.1233 -
5.1234 -
5.1235 -# Keep a trace of the command line.
5.1236 -# Strip out --no-create and --no-recursion so they do not pile up.
5.1237 -# Strip out --silent because we don't want to record it for future runs.
5.1238 -# Also quote any args containing shell meta-characters.
5.1239 -# Make two passes to allow for proper duplicate-argument suppression.
5.1240 -ac_configure_args=
5.1241 -ac_configure_args0=
5.1242 -ac_configure_args1=
5.1243 -ac_sep=
5.1244 -ac_must_keep_next=false
5.1245 -for ac_pass in 1 2
5.1246 -do
5.1247 - for ac_arg
5.1248 - do
5.1249 - case $ac_arg in
5.1250 - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
5.1251 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5.1252 - | -silent | --silent | --silen | --sile | --sil)
5.1253 - continue ;;
5.1254 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
5.1255 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5.1256 - esac
5.1257 - case $ac_pass in
5.1258 - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
5.1259 - 2)
5.1260 - ac_configure_args1="$ac_configure_args1 '$ac_arg'"
5.1261 - if test $ac_must_keep_next = true; then
5.1262 - ac_must_keep_next=false # Got value, back to normal.
5.1263 - else
5.1264 - case $ac_arg in
5.1265 - *=* | --config-cache | -C | -disable-* | --disable-* \
5.1266 - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
5.1267 - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
5.1268 - | -with-* | --with-* | -without-* | --without-* | --x)
5.1269 - case "$ac_configure_args0 " in
5.1270 - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
5.1271 - esac
5.1272 - ;;
5.1273 - -* ) ac_must_keep_next=true ;;
5.1274 - esac
5.1275 - fi
5.1276 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
5.1277 - # Get rid of the leading space.
5.1278 - ac_sep=" "
5.1279 - ;;
5.1280 - esac
5.1281 - done
5.1282 -done
5.1283 -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
5.1284 -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
5.1285 -
5.1286 -# When interrupted or exit'd, cleanup temporary files, and complete
5.1287 -# config.log. We remove comments because anyway the quotes in there
5.1288 -# would cause problems or look ugly.
5.1289 -# WARNING: Be sure not to use single quotes in there, as some shells,
5.1290 -# such as our DU 5.0 friend, will then `close' the trap.
5.1291 -trap 'exit_status=$?
5.1292 - # Save into config.log some information that might help in debugging.
5.1293 - {
5.1294 - echo
5.1295 -
5.1296 - cat <<\_ASBOX
5.1297 -@%:@@%:@ ---------------- @%:@@%:@
5.1298 -@%:@@%:@ Cache variables. @%:@@%:@
5.1299 -@%:@@%:@ ---------------- @%:@@%:@
5.1300 -_ASBOX
5.1301 - echo
5.1302 - # The following way of writing the cache mishandles newlines in values,
5.1303 -{
5.1304 - (set) 2>&1 |
5.1305 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
5.1306 - *ac_space=\ *)
5.1307 - sed -n \
5.1308 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
5.1309 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
5.1310 - ;;
5.1311 - *)
5.1312 - sed -n \
5.1313 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5.1314 - ;;
5.1315 - esac;
5.1316 -}
5.1317 - echo
5.1318 -
5.1319 - cat <<\_ASBOX
5.1320 -@%:@@%:@ ----------------- @%:@@%:@
5.1321 -@%:@@%:@ Output variables. @%:@@%:@
5.1322 -@%:@@%:@ ----------------- @%:@@%:@
5.1323 -_ASBOX
5.1324 - echo
5.1325 - for ac_var in $ac_subst_vars
5.1326 - do
5.1327 - eval ac_val=$`echo $ac_var`
5.1328 - echo "$ac_var='"'"'$ac_val'"'"'"
5.1329 - done | sort
5.1330 - echo
5.1331 -
5.1332 - if test -n "$ac_subst_files"; then
5.1333 - cat <<\_ASBOX
5.1334 -@%:@@%:@ ------------- @%:@@%:@
5.1335 -@%:@@%:@ Output files. @%:@@%:@
5.1336 -@%:@@%:@ ------------- @%:@@%:@
5.1337 -_ASBOX
5.1338 - echo
5.1339 - for ac_var in $ac_subst_files
5.1340 - do
5.1341 - eval ac_val=$`echo $ac_var`
5.1342 - echo "$ac_var='"'"'$ac_val'"'"'"
5.1343 - done | sort
5.1344 - echo
5.1345 - fi
5.1346 -
5.1347 - if test -s confdefs.h; then
5.1348 - cat <<\_ASBOX
5.1349 -@%:@@%:@ ----------- @%:@@%:@
5.1350 -@%:@@%:@ confdefs.h. @%:@@%:@
5.1351 -@%:@@%:@ ----------- @%:@@%:@
5.1352 -_ASBOX
5.1353 - echo
5.1354 - sed "/^$/d" confdefs.h | sort
5.1355 - echo
5.1356 - fi
5.1357 - test "$ac_signal" != 0 &&
5.1358 - echo "$as_me: caught signal $ac_signal"
5.1359 - echo "$as_me: exit $exit_status"
5.1360 - } >&5
5.1361 - rm -f core *.core &&
5.1362 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
5.1363 - exit $exit_status
5.1364 - ' 0
5.1365 -for ac_signal in 1 2 13 15; do
5.1366 - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
5.1367 -done
5.1368 -ac_signal=0
5.1369 -
5.1370 -# confdefs.h avoids OS command line length limits that DEFS can exceed.
5.1371 -rm -rf conftest* confdefs.h
5.1372 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
5.1373 -echo >confdefs.h
5.1374 -
5.1375 -# Predefined preprocessor variables.
5.1376 -
5.1377 -cat >>confdefs.h <<_ACEOF
5.1378 -@%:@define PACKAGE_NAME "$PACKAGE_NAME"
5.1379 -_ACEOF
5.1380 -
5.1381 -
5.1382 -cat >>confdefs.h <<_ACEOF
5.1383 -@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
5.1384 -_ACEOF
5.1385 -
5.1386 -
5.1387 -cat >>confdefs.h <<_ACEOF
5.1388 -@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
5.1389 -_ACEOF
5.1390 -
5.1391 -
5.1392 -cat >>confdefs.h <<_ACEOF
5.1393 -@%:@define PACKAGE_STRING "$PACKAGE_STRING"
5.1394 -_ACEOF
5.1395 -
5.1396 -
5.1397 -cat >>confdefs.h <<_ACEOF
5.1398 -@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
5.1399 -_ACEOF
5.1400 -
5.1401 -
5.1402 -# Let the site file select an alternate cache file if it wants to.
5.1403 -# Prefer explicitly selected file to automatically selected ones.
5.1404 -if test -z "$CONFIG_SITE"; then
5.1405 - if test "x$prefix" != xNONE; then
5.1406 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
5.1407 - else
5.1408 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
5.1409 - fi
5.1410 -fi
5.1411 -for ac_site_file in $CONFIG_SITE; do
5.1412 - if test -r "$ac_site_file"; then
5.1413 - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
5.1414 -echo "$as_me: loading site script $ac_site_file" >&6;}
5.1415 - sed 's/^/| /' "$ac_site_file" >&5
5.1416 - . "$ac_site_file"
5.1417 - fi
5.1418 -done
5.1419 -
5.1420 -if test -r "$cache_file"; then
5.1421 - # Some versions of bash will fail to source /dev/null (special
5.1422 - # files actually), so we avoid doing that.
5.1423 - if test -f "$cache_file"; then
5.1424 - { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5.1425 -echo "$as_me: loading cache $cache_file" >&6;}
5.1426 - case $cache_file in
5.1427 - [\\/]* | ?:[\\/]* ) . $cache_file;;
5.1428 - *) . ./$cache_file;;
5.1429 - esac
5.1430 - fi
5.1431 -else
5.1432 - { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5.1433 -echo "$as_me: creating cache $cache_file" >&6;}
5.1434 - >$cache_file
5.1435 -fi
5.1436 -
5.1437 -# Check that the precious variables saved in the cache have kept the same
5.1438 -# value.
5.1439 -ac_cache_corrupted=false
5.1440 -for ac_var in `(set) 2>&1 |
5.1441 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
5.1442 - eval ac_old_set=\$ac_cv_env_${ac_var}_set
5.1443 - eval ac_new_set=\$ac_env_${ac_var}_set
5.1444 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
5.1445 - eval ac_new_val="\$ac_env_${ac_var}_value"
5.1446 - case $ac_old_set,$ac_new_set in
5.1447 - set,)
5.1448 - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
5.1449 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
5.1450 - ac_cache_corrupted=: ;;
5.1451 - ,set)
5.1452 - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
5.1453 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
5.1454 - ac_cache_corrupted=: ;;
5.1455 - ,);;
5.1456 - *)
5.1457 - if test "x$ac_old_val" != "x$ac_new_val"; then
5.1458 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
5.1459 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
5.1460 - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
5.1461 -echo "$as_me: former value: $ac_old_val" >&2;}
5.1462 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
5.1463 -echo "$as_me: current value: $ac_new_val" >&2;}
5.1464 - ac_cache_corrupted=:
5.1465 - fi;;
5.1466 - esac
5.1467 - # Pass precious variables to config.status.
5.1468 - if test "$ac_new_set" = set; then
5.1469 - case $ac_new_val in
5.1470 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
5.1471 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
5.1472 - *) ac_arg=$ac_var=$ac_new_val ;;
5.1473 - esac
5.1474 - case " $ac_configure_args " in
5.1475 - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
5.1476 - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
5.1477 - esac
5.1478 - fi
5.1479 -done
5.1480 -if $ac_cache_corrupted; then
5.1481 - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
5.1482 -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
5.1483 - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
5.1484 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
5.1485 - { (exit 1); exit 1; }; }
5.1486 -fi
5.1487 -
5.1488 -ac_ext=c
5.1489 -ac_cpp='$CPP $CPPFLAGS'
5.1490 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.1491 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.1492 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.1493 -
5.1494 -
5.1495 -
5.1496 -
5.1497 -
5.1498 -
5.1499 -
5.1500 -
5.1501 -
5.1502 -
5.1503 -
5.1504 -
5.1505 -
5.1506 -
5.1507 -
5.1508 -
5.1509 -
5.1510 -
5.1511 -
5.1512 -ac_aux_dir=
5.1513 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
5.1514 - if test -f $ac_dir/install-sh; then
5.1515 - ac_aux_dir=$ac_dir
5.1516 - ac_install_sh="$ac_aux_dir/install-sh -c"
5.1517 - break
5.1518 - elif test -f $ac_dir/install.sh; then
5.1519 - ac_aux_dir=$ac_dir
5.1520 - ac_install_sh="$ac_aux_dir/install.sh -c"
5.1521 - break
5.1522 - elif test -f $ac_dir/shtool; then
5.1523 - ac_aux_dir=$ac_dir
5.1524 - ac_install_sh="$ac_aux_dir/shtool install -c"
5.1525 - break
5.1526 - fi
5.1527 -done
5.1528 -if test -z "$ac_aux_dir"; then
5.1529 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
5.1530 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
5.1531 - { (exit 1); exit 1; }; }
5.1532 -fi
5.1533 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
5.1534 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
5.1535 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
5.1536 -
5.1537 -# Make sure we can run config.sub.
5.1538 -$ac_config_sub sun4 >/dev/null 2>&1 ||
5.1539 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
5.1540 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
5.1541 - { (exit 1); exit 1; }; }
5.1542 -
5.1543 -echo "$as_me:$LINENO: checking build system type" >&5
5.1544 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
5.1545 -if test "${ac_cv_build+set}" = set; then
5.1546 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1547 -else
5.1548 - ac_cv_build_alias=$build_alias
5.1549 -test -z "$ac_cv_build_alias" &&
5.1550 - ac_cv_build_alias=`$ac_config_guess`
5.1551 -test -z "$ac_cv_build_alias" &&
5.1552 - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5.1553 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5.1554 - { (exit 1); exit 1; }; }
5.1555 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
5.1556 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
5.1557 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
5.1558 - { (exit 1); exit 1; }; }
5.1559 -
5.1560 -fi
5.1561 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5.1562 -echo "${ECHO_T}$ac_cv_build" >&6
5.1563 -build=$ac_cv_build
5.1564 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5.1565 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5.1566 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5.1567 -
5.1568 -
5.1569 -echo "$as_me:$LINENO: checking host system type" >&5
5.1570 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
5.1571 -if test "${ac_cv_host+set}" = set; then
5.1572 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1573 -else
5.1574 - ac_cv_host_alias=$host_alias
5.1575 -test -z "$ac_cv_host_alias" &&
5.1576 - ac_cv_host_alias=$ac_cv_build_alias
5.1577 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
5.1578 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
5.1579 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
5.1580 - { (exit 1); exit 1; }; }
5.1581 -
5.1582 -fi
5.1583 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5.1584 -echo "${ECHO_T}$ac_cv_host" >&6
5.1585 -host=$ac_cv_host
5.1586 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5.1587 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5.1588 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5.1589 -
5.1590 -
5.1591 -echo "$as_me:$LINENO: checking target system type" >&5
5.1592 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
5.1593 -if test "${ac_cv_target+set}" = set; then
5.1594 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1595 -else
5.1596 - ac_cv_target_alias=$target_alias
5.1597 -test "x$ac_cv_target_alias" = "x" &&
5.1598 - ac_cv_target_alias=$ac_cv_host_alias
5.1599 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
5.1600 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
5.1601 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
5.1602 - { (exit 1); exit 1; }; }
5.1603 -
5.1604 -fi
5.1605 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
5.1606 -echo "${ECHO_T}$ac_cv_target" >&6
5.1607 -target=$ac_cv_target
5.1608 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5.1609 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5.1610 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5.1611 -
5.1612 -
5.1613 -# The aliases save the names the user supplied, while $host etc.
5.1614 -# will get canonicalized.
5.1615 -test -n "$target_alias" &&
5.1616 - test "$program_prefix$program_suffix$program_transform_name" = \
5.1617 - NONENONEs,x,x, &&
5.1618 - program_prefix=${target_alias}-
5.1619 -
5.1620 -case m4 in
5.1621 - [\\/]* | ?:[\\/]* ) ac_macro_dir=m4 ;;
5.1622 - *) ac_macro_dir=$srcdir/m4 ;;
5.1623 -esac
5.1624 -if test -d "$ac_macro_dir"; then :
5.1625 -else
5.1626 - { { echo "$as_me:$LINENO: error: cannot find macro directory \`m4'" >&5
5.1627 -echo "$as_me: error: cannot find macro directory \`m4'" >&2;}
5.1628 - { (exit 1); exit 1; }; }
5.1629 -fi
5.1630 -
5.1631 -# Check whether --enable-static or --disable-static was given.
5.1632 -if test "${enable_static+set}" = set; then
5.1633 - enableval="$enable_static"
5.1634 - p=${PACKAGE-default}
5.1635 - case $enableval in
5.1636 - yes) enable_static=yes ;;
5.1637 - no) enable_static=no ;;
5.1638 - *)
5.1639 - enable_static=no
5.1640 - # Look at the argument we got. We use all the common list separators.
5.1641 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5.1642 - for pkg in $enableval; do
5.1643 - IFS="$lt_save_ifs"
5.1644 - if test "X$pkg" = "X$p"; then
5.1645 - enable_static=yes
5.1646 - fi
5.1647 - done
5.1648 - IFS="$lt_save_ifs"
5.1649 - ;;
5.1650 - esac
5.1651 -else
5.1652 - enable_static=no
5.1653 -fi;
5.1654 -
5.1655 -
5.1656 -
5.1657 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5.1658 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
5.1659 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
5.1660 -if test "${enable_maintainer_mode+set}" = set; then
5.1661 - enableval="$enable_maintainer_mode"
5.1662 - USE_MAINTAINER_MODE=$enableval
5.1663 -else
5.1664 - USE_MAINTAINER_MODE=no
5.1665 -fi;
5.1666 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5.1667 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
5.1668 -
5.1669 -
5.1670 -if test $USE_MAINTAINER_MODE = yes; then
5.1671 - MAINTAINER_MODE_TRUE=
5.1672 - MAINTAINER_MODE_FALSE='#'
5.1673 -else
5.1674 - MAINTAINER_MODE_TRUE='#'
5.1675 - MAINTAINER_MODE_FALSE=
5.1676 -fi
5.1677 -
5.1678 - MAINT=$MAINTAINER_MODE_TRUE
5.1679 -
5.1680 -
5.1681 -
5.1682 -
5.1683 - PACKAGE=gst-plugins-nuvdemux
5.1684 - GST_PLUGINS_VERSION_MAJOR=0
5.1685 - GST_PLUGINS_VERSION_MINOR=10
5.1686 - GST_PLUGINS_VERSION_MICRO=0
5.1687 - NANO=1
5.1688 - GST_PLUGINS_VERSION_NANO=$NANO
5.1689 - if test "x$NANO" = "x" || test "x$NANO" = "x0";
5.1690 - then
5.1691 - { echo "$as_me:$LINENO: configuring gst-plugins-nuvdemux for release" >&5
5.1692 -echo "$as_me: configuring gst-plugins-nuvdemux for release" >&6;}
5.1693 - VERSION=0.10.0
5.1694 - GST_PLUGINS_VERSION_RELEASE=1
5.1695 - GST_CVS="no"
5.1696 - else
5.1697 - { echo "$as_me:$LINENO: configuring gst-plugins-nuvdemux for development with nano $NANO" >&5
5.1698 -echo "$as_me: configuring gst-plugins-nuvdemux for development with nano $NANO" >&6;}
5.1699 - VERSION=0.10.0.$NANO
5.1700 - GST_PLUGINS_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
5.1701 - GST_CVS="yes"
5.1702 - fi
5.1703 -
5.1704 - GST_PLUGINS_VERSION=$VERSION
5.1705 -
5.1706 -cat >>confdefs.h <<_ACEOF
5.1707 -@%:@define GST_PLUGINS_VERSION "$GST_PLUGINS_VERSION"
5.1708 -_ACEOF
5.1709 -
5.1710 -
5.1711 -
5.1712 -cat >>confdefs.h <<_ACEOF
5.1713 -@%:@define GST_PLUGINS_VERSION_RELEASE "$GST_PLUGINS_VERSION_RELEASE"
5.1714 -_ACEOF
5.1715 -
5.1716 -
5.1717 -
5.1718 -
5.1719 -
5.1720 -
5.1721 -
5.1722 -
5.1723 -cat >>confdefs.h <<_ACEOF
5.1724 -@%:@define PACKAGE "$PACKAGE"
5.1725 -_ACEOF
5.1726 -
5.1727 -
5.1728 -
5.1729 -cat >>confdefs.h <<_ACEOF
5.1730 -@%:@define VERSION "$VERSION"
5.1731 -_ACEOF
5.1732 -
5.1733 -
5.1734 -
5.1735 -
5.1736 -am__api_version="1.8"
5.1737 -# Find a good install program. We prefer a C program (faster),
5.1738 -# so one script is as good as another. But avoid the broken or
5.1739 -# incompatible versions:
5.1740 -# SysV /etc/install, /usr/sbin/install
5.1741 -# SunOS /usr/etc/install
5.1742 -# IRIX /sbin/install
5.1743 -# AIX /bin/install
5.1744 -# AmigaOS /C/install, which installs bootblocks on floppy discs
5.1745 -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5.1746 -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5.1747 -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5.1748 -# OS/2's system install, which has a completely different semantic
5.1749 -# ./install, which can be erroneously created by make from ./install.sh.
5.1750 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5.1751 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5.1752 -if test -z "$INSTALL"; then
5.1753 -if test "${ac_cv_path_install+set}" = set; then
5.1754 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1755 -else
5.1756 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.1757 -for as_dir in $PATH
5.1758 -do
5.1759 - IFS=$as_save_IFS
5.1760 - test -z "$as_dir" && as_dir=.
5.1761 - # Account for people who put trailing slashes in PATH elements.
5.1762 -case $as_dir/ in
5.1763 - ./ | .// | /cC/* | \
5.1764 - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5.1765 - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5.1766 - /usr/ucb/* ) ;;
5.1767 - *)
5.1768 - # OSF1 and SCO ODT 3.0 have their own names for install.
5.1769 - # Don't use installbsd from OSF since it installs stuff as root
5.1770 - # by default.
5.1771 - for ac_prog in ginstall scoinst install; do
5.1772 - for ac_exec_ext in '' $ac_executable_extensions; do
5.1773 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5.1774 - if test $ac_prog = install &&
5.1775 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5.1776 - # AIX install. It has an incompatible calling convention.
5.1777 - :
5.1778 - elif test $ac_prog = install &&
5.1779 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5.1780 - # program-specific install script used by HP pwplus--don't use.
5.1781 - :
5.1782 - else
5.1783 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5.1784 - break 3
5.1785 - fi
5.1786 - fi
5.1787 - done
5.1788 - done
5.1789 - ;;
5.1790 -esac
5.1791 -done
5.1792 -
5.1793 -
5.1794 -fi
5.1795 - if test "${ac_cv_path_install+set}" = set; then
5.1796 - INSTALL=$ac_cv_path_install
5.1797 - else
5.1798 - # As a last resort, use the slow shell script. We don't cache a
5.1799 - # path for INSTALL within a source directory, because that will
5.1800 - # break other packages using the cache if that directory is
5.1801 - # removed, or if the path is relative.
5.1802 - INSTALL=$ac_install_sh
5.1803 - fi
5.1804 -fi
5.1805 -echo "$as_me:$LINENO: result: $INSTALL" >&5
5.1806 -echo "${ECHO_T}$INSTALL" >&6
5.1807 -
5.1808 -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5.1809 -# It thinks the first close brace ends the variable substitution.
5.1810 -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5.1811 -
5.1812 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5.1813 -
5.1814 -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5.1815 -
5.1816 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
5.1817 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
5.1818 -# Just in case
5.1819 -sleep 1
5.1820 -echo timestamp > conftest.file
5.1821 -# Do `set' in a subshell so we don't clobber the current shell's
5.1822 -# arguments. Must try -L first in case configure is actually a
5.1823 -# symlink; some systems play weird games with the mod time of symlinks
5.1824 -# (eg FreeBSD returns the mod time of the symlink's containing
5.1825 -# directory).
5.1826 -if (
5.1827 - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
5.1828 - if test "$*" = "X"; then
5.1829 - # -L didn't work.
5.1830 - set X `ls -t $srcdir/configure conftest.file`
5.1831 - fi
5.1832 - rm -f conftest.file
5.1833 - if test "$*" != "X $srcdir/configure conftest.file" \
5.1834 - && test "$*" != "X conftest.file $srcdir/configure"; then
5.1835 -
5.1836 - # If neither matched, then we have a broken ls. This can happen
5.1837 - # if, for instance, CONFIG_SHELL is bash and it inherits a
5.1838 - # broken ls alias from the environment. This has actually
5.1839 - # happened. Such a system could not be considered "sane".
5.1840 - { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
5.1841 -alias in your environment" >&5
5.1842 -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
5.1843 -alias in your environment" >&2;}
5.1844 - { (exit 1); exit 1; }; }
5.1845 - fi
5.1846 -
5.1847 - test "$2" = conftest.file
5.1848 - )
5.1849 -then
5.1850 - # Ok.
5.1851 - :
5.1852 -else
5.1853 - { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
5.1854 -Check your system clock" >&5
5.1855 -echo "$as_me: error: newly created file is older than distributed files!
5.1856 -Check your system clock" >&2;}
5.1857 - { (exit 1); exit 1; }; }
5.1858 -fi
5.1859 -echo "$as_me:$LINENO: result: yes" >&5
5.1860 -echo "${ECHO_T}yes" >&6
5.1861 -test "$program_prefix" != NONE &&
5.1862 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
5.1863 -# Use a double $ so make ignores it.
5.1864 -test "$program_suffix" != NONE &&
5.1865 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
5.1866 -# Double any \ or $. echo might interpret backslashes.
5.1867 -# By default was `s,x,x', remove it if useless.
5.1868 -cat <<\_ACEOF >conftest.sed
5.1869 -s/[\\$]/&&/g;s/;s,x,x,$//
5.1870 -_ACEOF
5.1871 -program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
5.1872 -rm conftest.sed
5.1873 -
5.1874 -# expand $ac_aux_dir to an absolute path
5.1875 -am_aux_dir=`cd $ac_aux_dir && pwd`
5.1876 -
5.1877 -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
5.1878 -# Use eval to expand $SHELL
5.1879 -if eval "$MISSING --run true"; then
5.1880 - am_missing_run="$MISSING --run "
5.1881 -else
5.1882 - am_missing_run=
5.1883 - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
5.1884 -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
5.1885 -fi
5.1886 -
5.1887 -if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
5.1888 - # Keeping the `.' argument allows $(mkdir_p) to be used without
5.1889 - # argument. Indeed, we sometimes output rules like
5.1890 - # $(mkdir_p) $(somedir)
5.1891 - # where $(somedir) is conditionally defined.
5.1892 - # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
5.1893 - # expensive solution, as it forces Make to start a sub-shell.)
5.1894 - mkdir_p='mkdir -p -- .'
5.1895 -else
5.1896 - # On NextStep and OpenStep, the `mkdir' command does not
5.1897 - # recognize any option. It will interpret all options as
5.1898 - # directories to create, and then abort because `.' already
5.1899 - # exists.
5.1900 - for d in ./-p ./--version;
5.1901 - do
5.1902 - test -d $d && rmdir $d
5.1903 - done
5.1904 - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
5.1905 - if test -f "$ac_aux_dir/mkinstalldirs"; then
5.1906 - mkdir_p='$(mkinstalldirs)'
5.1907 - else
5.1908 - mkdir_p='$(install_sh) -d'
5.1909 - fi
5.1910 -fi
5.1911 -
5.1912 -for ac_prog in gawk mawk nawk awk
5.1913 -do
5.1914 - # Extract the first word of "$ac_prog", so it can be a program name with args.
5.1915 -set dummy $ac_prog; ac_word=$2
5.1916 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.1917 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.1918 -if test "${ac_cv_prog_AWK+set}" = set; then
5.1919 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1920 -else
5.1921 - if test -n "$AWK"; then
5.1922 - ac_cv_prog_AWK="$AWK" # Let the user override the test.
5.1923 -else
5.1924 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.1925 -for as_dir in $PATH
5.1926 -do
5.1927 - IFS=$as_save_IFS
5.1928 - test -z "$as_dir" && as_dir=.
5.1929 - for ac_exec_ext in '' $ac_executable_extensions; do
5.1930 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.1931 - ac_cv_prog_AWK="$ac_prog"
5.1932 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.1933 - break 2
5.1934 - fi
5.1935 -done
5.1936 -done
5.1937 -
5.1938 -fi
5.1939 -fi
5.1940 -AWK=$ac_cv_prog_AWK
5.1941 -if test -n "$AWK"; then
5.1942 - echo "$as_me:$LINENO: result: $AWK" >&5
5.1943 -echo "${ECHO_T}$AWK" >&6
5.1944 -else
5.1945 - echo "$as_me:$LINENO: result: no" >&5
5.1946 -echo "${ECHO_T}no" >&6
5.1947 -fi
5.1948 -
5.1949 - test -n "$AWK" && break
5.1950 -done
5.1951 -
5.1952 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5.1953 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
5.1954 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
5.1955 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5.1956 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1957 -else
5.1958 - cat >conftest.make <<\_ACEOF
5.1959 -all:
5.1960 - @echo 'ac_maketemp="$(MAKE)"'
5.1961 -_ACEOF
5.1962 -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5.1963 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
5.1964 -if test -n "$ac_maketemp"; then
5.1965 - eval ac_cv_prog_make_${ac_make}_set=yes
5.1966 -else
5.1967 - eval ac_cv_prog_make_${ac_make}_set=no
5.1968 -fi
5.1969 -rm -f conftest.make
5.1970 -fi
5.1971 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5.1972 - echo "$as_me:$LINENO: result: yes" >&5
5.1973 -echo "${ECHO_T}yes" >&6
5.1974 - SET_MAKE=
5.1975 -else
5.1976 - echo "$as_me:$LINENO: result: no" >&5
5.1977 -echo "${ECHO_T}no" >&6
5.1978 - SET_MAKE="MAKE=${MAKE-make}"
5.1979 -fi
5.1980 -
5.1981 -rm -rf .tst 2>/dev/null
5.1982 -mkdir .tst 2>/dev/null
5.1983 -if test -d .tst; then
5.1984 - am__leading_dot=.
5.1985 -else
5.1986 - am__leading_dot=_
5.1987 -fi
5.1988 -rmdir .tst 2>/dev/null
5.1989 -
5.1990 -# test to see if srcdir already configured
5.1991 -if test "`cd $srcdir && pwd`" != "`pwd`" &&
5.1992 - test -f $srcdir/config.status; then
5.1993 - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
5.1994 -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
5.1995 - { (exit 1); exit 1; }; }
5.1996 -fi
5.1997 -
5.1998 -# test whether we have cygpath
5.1999 -if test -z "$CYGPATH_W"; then
5.2000 - if (cygpath --version) >/dev/null 2>/dev/null; then
5.2001 - CYGPATH_W='cygpath -w'
5.2002 - else
5.2003 - CYGPATH_W=echo
5.2004 - fi
5.2005 -fi
5.2006 -
5.2007 -
5.2008 -# Define the identity of the package.
5.2009 - PACKAGE=$PACKAGE
5.2010 - VERSION=$VERSION
5.2011 -
5.2012 -
5.2013 -cat >>confdefs.h <<_ACEOF
5.2014 -@%:@define PACKAGE "$PACKAGE"
5.2015 -_ACEOF
5.2016 -
5.2017 -
5.2018 -cat >>confdefs.h <<_ACEOF
5.2019 -@%:@define VERSION "$VERSION"
5.2020 -_ACEOF
5.2021 -
5.2022 -# Some tools Automake needs.
5.2023 -
5.2024 -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5.2025 -
5.2026 -
5.2027 -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
5.2028 -
5.2029 -
5.2030 -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5.2031 -
5.2032 -
5.2033 -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
5.2034 -
5.2035 -
5.2036 -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
5.2037 -
5.2038 -
5.2039 -AMTAR=${AMTAR-"${am_missing_run}tar"}
5.2040 -
5.2041 -install_sh=${install_sh-"$am_aux_dir/install-sh"}
5.2042 -
5.2043 -# Installed binaries are usually stripped using `strip' when the user
5.2044 -# run `make install-strip'. However `strip' might not be the right
5.2045 -# tool to use in cross-compilation environments, therefore Automake
5.2046 -# will honor the `STRIP' environment variable to overrule this program.
5.2047 -if test "$cross_compiling" != no; then
5.2048 - if test -n "$ac_tool_prefix"; then
5.2049 - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5.2050 -set dummy ${ac_tool_prefix}strip; ac_word=$2
5.2051 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.2052 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.2053 -if test "${ac_cv_prog_STRIP+set}" = set; then
5.2054 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.2055 -else
5.2056 - if test -n "$STRIP"; then
5.2057 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5.2058 -else
5.2059 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.2060 -for as_dir in $PATH
5.2061 -do
5.2062 - IFS=$as_save_IFS
5.2063 - test -z "$as_dir" && as_dir=.
5.2064 - for ac_exec_ext in '' $ac_executable_extensions; do
5.2065 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.2066 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5.2067 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.2068 - break 2
5.2069 - fi
5.2070 -done
5.2071 -done
5.2072 -
5.2073 -fi
5.2074 -fi
5.2075 -STRIP=$ac_cv_prog_STRIP
5.2076 -if test -n "$STRIP"; then
5.2077 - echo "$as_me:$LINENO: result: $STRIP" >&5
5.2078 -echo "${ECHO_T}$STRIP" >&6
5.2079 -else
5.2080 - echo "$as_me:$LINENO: result: no" >&5
5.2081 -echo "${ECHO_T}no" >&6
5.2082 -fi
5.2083 -
5.2084 -fi
5.2085 -if test -z "$ac_cv_prog_STRIP"; then
5.2086 - ac_ct_STRIP=$STRIP
5.2087 - # Extract the first word of "strip", so it can be a program name with args.
5.2088 -set dummy strip; ac_word=$2
5.2089 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.2090 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.2091 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5.2092 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.2093 -else
5.2094 - if test -n "$ac_ct_STRIP"; then
5.2095 - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5.2096 -else
5.2097 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.2098 -for as_dir in $PATH
5.2099 -do
5.2100 - IFS=$as_save_IFS
5.2101 - test -z "$as_dir" && as_dir=.
5.2102 - for ac_exec_ext in '' $ac_executable_extensions; do
5.2103 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.2104 - ac_cv_prog_ac_ct_STRIP="strip"
5.2105 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.2106 - break 2
5.2107 - fi
5.2108 -done
5.2109 -done
5.2110 -
5.2111 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5.2112 -fi
5.2113 -fi
5.2114 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5.2115 -if test -n "$ac_ct_STRIP"; then
5.2116 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5.2117 -echo "${ECHO_T}$ac_ct_STRIP" >&6
5.2118 -else
5.2119 - echo "$as_me:$LINENO: result: no" >&5
5.2120 -echo "${ECHO_T}no" >&6
5.2121 -fi
5.2122 -
5.2123 - STRIP=$ac_ct_STRIP
5.2124 -else
5.2125 - STRIP="$ac_cv_prog_STRIP"
5.2126 -fi
5.2127 -
5.2128 -fi
5.2129 -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
5.2130 -
5.2131 -# We need awk for the "check" target. The system "awk" is bad on
5.2132 -# some platforms.
5.2133 -
5.2134 -
5.2135 -
5.2136 -
5.2137 -# Check whether --enable-shared or --disable-shared was given.
5.2138 -if test "${enable_shared+set}" = set; then
5.2139 - enableval="$enable_shared"
5.2140 - p=${PACKAGE-default}
5.2141 - case $enableval in
5.2142 - yes) enable_shared=yes ;;
5.2143 - no) enable_shared=no ;;
5.2144 - *)
5.2145 - enable_shared=no
5.2146 - # Look at the argument we got. We use all the common list separators.
5.2147 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5.2148 - for pkg in $enableval; do
5.2149 - IFS="$lt_save_ifs"
5.2150 - if test "X$pkg" = "X$p"; then
5.2151 - enable_shared=yes
5.2152 - fi
5.2153 - done
5.2154 - IFS="$lt_save_ifs"
5.2155 - ;;
5.2156 - esac
5.2157 -else
5.2158 - enable_shared=yes
5.2159 -fi;
5.2160 -
5.2161 -# Check whether --enable-fast-install or --disable-fast-install was given.
5.2162 -if test "${enable_fast_install+set}" = set; then
5.2163 - enableval="$enable_fast_install"
5.2164 - p=${PACKAGE-default}
5.2165 - case $enableval in
5.2166 - yes) enable_fast_install=yes ;;
5.2167 - no) enable_fast_install=no ;;
5.2168 - *)
5.2169 - enable_fast_install=no
5.2170 - # Look at the argument we got. We use all the common list separators.
5.2171 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5.2172 - for pkg in $enableval; do
5.2173 - IFS="$lt_save_ifs"
5.2174 - if test "X$pkg" = "X$p"; then
5.2175 - enable_fast_install=yes
5.2176 - fi
5.2177 - done
5.2178 - IFS="$lt_save_ifs"
5.2179 - ;;
5.2180 - esac
5.2181 -else
5.2182 - enable_fast_install=yes
5.2183 -fi;
5.2184 -
5.2185 -DEPDIR="${am__leading_dot}deps"
5.2186 -
5.2187 - ac_config_commands="$ac_config_commands depfiles"
5.2188 -
5.2189 -
5.2190 -am_make=${MAKE-make}
5.2191 -cat > confinc << 'END'
5.2192 -am__doit:
5.2193 - @echo done
5.2194 -.PHONY: am__doit
5.2195 -END
5.2196 -# If we don't find an include directive, just comment out the code.
5.2197 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
5.2198 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
5.2199 -am__include="#"
5.2200 -am__quote=
5.2201 -_am_result=none
5.2202 -# First try GNU make style include.
5.2203 -echo "include confinc" > confmf
5.2204 -# We grep out `Entering directory' and `Leaving directory'
5.2205 -# messages which can occur if `w' ends up in MAKEFLAGS.
5.2206 -# In particular we don't look at `^make:' because GNU make might
5.2207 -# be invoked under some other name (usually "gmake"), in which
5.2208 -# case it prints its new name instead of `make'.
5.2209 -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
5.2210 - am__include=include
5.2211 - am__quote=
5.2212 - _am_result=GNU
5.2213 -fi
5.2214 -# Now try BSD make style include.
5.2215 -if test "$am__include" = "#"; then
5.2216 - echo '.include "confinc"' > confmf
5.2217 - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
5.2218 - am__include=.include
5.2219 - am__quote="\""
5.2220 - _am_result=BSD
5.2221 - fi
5.2222 -fi
5.2223 -
5.2224 -
5.2225 -echo "$as_me:$LINENO: result: $_am_result" >&5
5.2226 -echo "${ECHO_T}$_am_result" >&6
5.2227 -rm -f confinc confmf
5.2228 -
5.2229 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
5.2230 -if test "${enable_dependency_tracking+set}" = set; then
5.2231 - enableval="$enable_dependency_tracking"
5.2232 -
5.2233 -fi;
5.2234 -if test "x$enable_dependency_tracking" != xno; then
5.2235 - am_depcomp="$ac_aux_dir/depcomp"
5.2236 - AMDEPBACKSLASH='\'
5.2237 -fi
5.2238 -
5.2239 -
5.2240 -if test "x$enable_dependency_tracking" != xno; then
5.2241 - AMDEP_TRUE=
5.2242 - AMDEP_FALSE='#'
5.2243 -else
5.2244 - AMDEP_TRUE='#'
5.2245 - AMDEP_FALSE=
5.2246 -fi
5.2247 -
5.2248 -
5.2249 -
5.2250 -ac_ext=c
5.2251 -ac_cpp='$CPP $CPPFLAGS'
5.2252 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.2253 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.2254 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.2255 -if test -n "$ac_tool_prefix"; then
5.2256 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5.2257 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
5.2258 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.2259 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.2260 -if test "${ac_cv_prog_CC+set}" = set; then
5.2261 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.2262 -else
5.2263 - if test -n "$CC"; then
5.2264 - ac_cv_prog_CC="$CC" # Let the user override the test.
5.2265 -else
5.2266 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.2267 -for as_dir in $PATH
5.2268 -do
5.2269 - IFS=$as_save_IFS
5.2270 - test -z "$as_dir" && as_dir=.
5.2271 - for ac_exec_ext in '' $ac_executable_extensions; do
5.2272 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.2273 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
5.2274 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.2275 - break 2
5.2276 - fi
5.2277 -done
5.2278 -done
5.2279 -
5.2280 -fi
5.2281 -fi
5.2282 -CC=$ac_cv_prog_CC
5.2283 -if test -n "$CC"; then
5.2284 - echo "$as_me:$LINENO: result: $CC" >&5
5.2285 -echo "${ECHO_T}$CC" >&6
5.2286 -else
5.2287 - echo "$as_me:$LINENO: result: no" >&5
5.2288 -echo "${ECHO_T}no" >&6
5.2289 -fi
5.2290 -
5.2291 -fi
5.2292 -if test -z "$ac_cv_prog_CC"; then
5.2293 - ac_ct_CC=$CC
5.2294 - # Extract the first word of "gcc", so it can be a program name with args.
5.2295 -set dummy gcc; ac_word=$2
5.2296 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.2297 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.2298 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5.2299 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.2300 -else
5.2301 - if test -n "$ac_ct_CC"; then
5.2302 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5.2303 -else
5.2304 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.2305 -for as_dir in $PATH
5.2306 -do
5.2307 - IFS=$as_save_IFS
5.2308 - test -z "$as_dir" && as_dir=.
5.2309 - for ac_exec_ext in '' $ac_executable_extensions; do
5.2310 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.2311 - ac_cv_prog_ac_ct_CC="gcc"
5.2312 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.2313 - break 2
5.2314 - fi
5.2315 -done
5.2316 -done
5.2317 -
5.2318 -fi
5.2319 -fi
5.2320 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
5.2321 -if test -n "$ac_ct_CC"; then
5.2322 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5.2323 -echo "${ECHO_T}$ac_ct_CC" >&6
5.2324 -else
5.2325 - echo "$as_me:$LINENO: result: no" >&5
5.2326 -echo "${ECHO_T}no" >&6
5.2327 -fi
5.2328 -
5.2329 - CC=$ac_ct_CC
5.2330 -else
5.2331 - CC="$ac_cv_prog_CC"
5.2332 -fi
5.2333 -
5.2334 -if test -z "$CC"; then
5.2335 - if test -n "$ac_tool_prefix"; then
5.2336 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5.2337 -set dummy ${ac_tool_prefix}cc; ac_word=$2
5.2338 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.2339 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.2340 -if test "${ac_cv_prog_CC+set}" = set; then
5.2341 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.2342 -else
5.2343 - if test -n "$CC"; then
5.2344 - ac_cv_prog_CC="$CC" # Let the user override the test.
5.2345 -else
5.2346 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.2347 -for as_dir in $PATH
5.2348 -do
5.2349 - IFS=$as_save_IFS
5.2350 - test -z "$as_dir" && as_dir=.
5.2351 - for ac_exec_ext in '' $ac_executable_extensions; do
5.2352 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.2353 - ac_cv_prog_CC="${ac_tool_prefix}cc"
5.2354 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.2355 - break 2
5.2356 - fi
5.2357 -done
5.2358 -done
5.2359 -
5.2360 -fi
5.2361 -fi
5.2362 -CC=$ac_cv_prog_CC
5.2363 -if test -n "$CC"; then
5.2364 - echo "$as_me:$LINENO: result: $CC" >&5
5.2365 -echo "${ECHO_T}$CC" >&6
5.2366 -else
5.2367 - echo "$as_me:$LINENO: result: no" >&5
5.2368 -echo "${ECHO_T}no" >&6
5.2369 -fi
5.2370 -
5.2371 -fi
5.2372 -if test -z "$ac_cv_prog_CC"; then
5.2373 - ac_ct_CC=$CC
5.2374 - # Extract the first word of "cc", so it can be a program name with args.
5.2375 -set dummy cc; ac_word=$2
5.2376 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.2377 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.2378 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5.2379 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.2380 -else
5.2381 - if test -n "$ac_ct_CC"; then
5.2382 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5.2383 -else
5.2384 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.2385 -for as_dir in $PATH
5.2386 -do
5.2387 - IFS=$as_save_IFS
5.2388 - test -z "$as_dir" && as_dir=.
5.2389 - for ac_exec_ext in '' $ac_executable_extensions; do
5.2390 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.2391 - ac_cv_prog_ac_ct_CC="cc"
5.2392 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.2393 - break 2
5.2394 - fi
5.2395 -done
5.2396 -done
5.2397 -
5.2398 -fi
5.2399 -fi
5.2400 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
5.2401 -if test -n "$ac_ct_CC"; then
5.2402 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5.2403 -echo "${ECHO_T}$ac_ct_CC" >&6
5.2404 -else
5.2405 - echo "$as_me:$LINENO: result: no" >&5
5.2406 -echo "${ECHO_T}no" >&6
5.2407 -fi
5.2408 -
5.2409 - CC=$ac_ct_CC
5.2410 -else
5.2411 - CC="$ac_cv_prog_CC"
5.2412 -fi
5.2413 -
5.2414 -fi
5.2415 -if test -z "$CC"; then
5.2416 - # Extract the first word of "cc", so it can be a program name with args.
5.2417 -set dummy cc; ac_word=$2
5.2418 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.2419 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.2420 -if test "${ac_cv_prog_CC+set}" = set; then
5.2421 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.2422 -else
5.2423 - if test -n "$CC"; then
5.2424 - ac_cv_prog_CC="$CC" # Let the user override the test.
5.2425 -else
5.2426 - ac_prog_rejected=no
5.2427 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.2428 -for as_dir in $PATH
5.2429 -do
5.2430 - IFS=$as_save_IFS
5.2431 - test -z "$as_dir" && as_dir=.
5.2432 - for ac_exec_ext in '' $ac_executable_extensions; do
5.2433 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.2434 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5.2435 - ac_prog_rejected=yes
5.2436 - continue
5.2437 - fi
5.2438 - ac_cv_prog_CC="cc"
5.2439 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.2440 - break 2
5.2441 - fi
5.2442 -done
5.2443 -done
5.2444 -
5.2445 -if test $ac_prog_rejected = yes; then
5.2446 - # We found a bogon in the path, so make sure we never use it.
5.2447 - set dummy $ac_cv_prog_CC
5.2448 - shift
5.2449 - if test $@%:@ != 0; then
5.2450 - # We chose a different compiler from the bogus one.
5.2451 - # However, it has the same basename, so the bogon will be chosen
5.2452 - # first if we set CC to just the basename; use the full file name.
5.2453 - shift
5.2454 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5.2455 - fi
5.2456 -fi
5.2457 -fi
5.2458 -fi
5.2459 -CC=$ac_cv_prog_CC
5.2460 -if test -n "$CC"; then
5.2461 - echo "$as_me:$LINENO: result: $CC" >&5
5.2462 -echo "${ECHO_T}$CC" >&6
5.2463 -else
5.2464 - echo "$as_me:$LINENO: result: no" >&5
5.2465 -echo "${ECHO_T}no" >&6
5.2466 -fi
5.2467 -
5.2468 -fi
5.2469 -if test -z "$CC"; then
5.2470 - if test -n "$ac_tool_prefix"; then
5.2471 - for ac_prog in cl
5.2472 - do
5.2473 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5.2474 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5.2475 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.2476 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.2477 -if test "${ac_cv_prog_CC+set}" = set; then
5.2478 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.2479 -else
5.2480 - if test -n "$CC"; then
5.2481 - ac_cv_prog_CC="$CC" # Let the user override the test.
5.2482 -else
5.2483 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.2484 -for as_dir in $PATH
5.2485 -do
5.2486 - IFS=$as_save_IFS
5.2487 - test -z "$as_dir" && as_dir=.
5.2488 - for ac_exec_ext in '' $ac_executable_extensions; do
5.2489 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.2490 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5.2491 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.2492 - break 2
5.2493 - fi
5.2494 -done
5.2495 -done
5.2496 -
5.2497 -fi
5.2498 -fi
5.2499 -CC=$ac_cv_prog_CC
5.2500 -if test -n "$CC"; then
5.2501 - echo "$as_me:$LINENO: result: $CC" >&5
5.2502 -echo "${ECHO_T}$CC" >&6
5.2503 -else
5.2504 - echo "$as_me:$LINENO: result: no" >&5
5.2505 -echo "${ECHO_T}no" >&6
5.2506 -fi
5.2507 -
5.2508 - test -n "$CC" && break
5.2509 - done
5.2510 -fi
5.2511 -if test -z "$CC"; then
5.2512 - ac_ct_CC=$CC
5.2513 - for ac_prog in cl
5.2514 -do
5.2515 - # Extract the first word of "$ac_prog", so it can be a program name with args.
5.2516 -set dummy $ac_prog; ac_word=$2
5.2517 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.2518 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.2519 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5.2520 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.2521 -else
5.2522 - if test -n "$ac_ct_CC"; then
5.2523 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5.2524 -else
5.2525 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.2526 -for as_dir in $PATH
5.2527 -do
5.2528 - IFS=$as_save_IFS
5.2529 - test -z "$as_dir" && as_dir=.
5.2530 - for ac_exec_ext in '' $ac_executable_extensions; do
5.2531 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.2532 - ac_cv_prog_ac_ct_CC="$ac_prog"
5.2533 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.2534 - break 2
5.2535 - fi
5.2536 -done
5.2537 -done
5.2538 -
5.2539 -fi
5.2540 -fi
5.2541 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
5.2542 -if test -n "$ac_ct_CC"; then
5.2543 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5.2544 -echo "${ECHO_T}$ac_ct_CC" >&6
5.2545 -else
5.2546 - echo "$as_me:$LINENO: result: no" >&5
5.2547 -echo "${ECHO_T}no" >&6
5.2548 -fi
5.2549 -
5.2550 - test -n "$ac_ct_CC" && break
5.2551 -done
5.2552 -
5.2553 - CC=$ac_ct_CC
5.2554 -fi
5.2555 -
5.2556 -fi
5.2557 -
5.2558 -
5.2559 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5.2560 -See \`config.log' for more details." >&5
5.2561 -echo "$as_me: error: no acceptable C compiler found in \$PATH
5.2562 -See \`config.log' for more details." >&2;}
5.2563 - { (exit 1); exit 1; }; }
5.2564 -
5.2565 -# Provide some information about the compiler.
5.2566 -echo "$as_me:$LINENO:" \
5.2567 - "checking for C compiler version" >&5
5.2568 -ac_compiler=`set X $ac_compile; echo $2`
5.2569 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5.2570 - (eval $ac_compiler --version </dev/null >&5) 2>&5
5.2571 - ac_status=$?
5.2572 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2573 - (exit $ac_status); }
5.2574 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5.2575 - (eval $ac_compiler -v </dev/null >&5) 2>&5
5.2576 - ac_status=$?
5.2577 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2578 - (exit $ac_status); }
5.2579 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5.2580 - (eval $ac_compiler -V </dev/null >&5) 2>&5
5.2581 - ac_status=$?
5.2582 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2583 - (exit $ac_status); }
5.2584 -
5.2585 -cat >conftest.$ac_ext <<_ACEOF
5.2586 -/* confdefs.h. */
5.2587 -_ACEOF
5.2588 -cat confdefs.h >>conftest.$ac_ext
5.2589 -cat >>conftest.$ac_ext <<_ACEOF
5.2590 -/* end confdefs.h. */
5.2591 -
5.2592 -int
5.2593 -main ()
5.2594 -{
5.2595 -
5.2596 - ;
5.2597 - return 0;
5.2598 -}
5.2599 -_ACEOF
5.2600 -ac_clean_files_save=$ac_clean_files
5.2601 -ac_clean_files="$ac_clean_files a.out a.exe b.out"
5.2602 -# Try to create an executable without -o first, disregard a.out.
5.2603 -# It will help us diagnose broken compilers, and finding out an intuition
5.2604 -# of exeext.
5.2605 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
5.2606 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
5.2607 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5.2608 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
5.2609 - (eval $ac_link_default) 2>&5
5.2610 - ac_status=$?
5.2611 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2612 - (exit $ac_status); }; then
5.2613 - # Find the output, starting from the most likely. This scheme is
5.2614 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
5.2615 -# resort.
5.2616 -
5.2617 -# Be careful to initialize this variable, since it used to be cached.
5.2618 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
5.2619 -ac_cv_exeext=
5.2620 -# b.out is created by i960 compilers.
5.2621 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
5.2622 -do
5.2623 - test -f "$ac_file" || continue
5.2624 - case $ac_file in
5.2625 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
5.2626 - ;;
5.2627 - conftest.$ac_ext )
5.2628 - # This is the source file.
5.2629 - ;;
5.2630 - [ab].out )
5.2631 - # We found the default executable, but exeext='' is most
5.2632 - # certainly right.
5.2633 - break;;
5.2634 - *.* )
5.2635 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5.2636 - # FIXME: I believe we export ac_cv_exeext for Libtool,
5.2637 - # but it would be cool to find out if it's true. Does anybody
5.2638 - # maintain Libtool? --akim.
5.2639 - export ac_cv_exeext
5.2640 - break;;
5.2641 - * )
5.2642 - break;;
5.2643 - esac
5.2644 -done
5.2645 -else
5.2646 - echo "$as_me: failed program was:" >&5
5.2647 -sed 's/^/| /' conftest.$ac_ext >&5
5.2648 -
5.2649 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
5.2650 -See \`config.log' for more details." >&5
5.2651 -echo "$as_me: error: C compiler cannot create executables
5.2652 -See \`config.log' for more details." >&2;}
5.2653 - { (exit 77); exit 77; }; }
5.2654 -fi
5.2655 -
5.2656 -ac_exeext=$ac_cv_exeext
5.2657 -echo "$as_me:$LINENO: result: $ac_file" >&5
5.2658 -echo "${ECHO_T}$ac_file" >&6
5.2659 -
5.2660 -# Check the compiler produces executables we can run. If not, either
5.2661 -# the compiler is broken, or we cross compile.
5.2662 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
5.2663 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
5.2664 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
5.2665 -# If not cross compiling, check that we can run a simple program.
5.2666 -if test "$cross_compiling" != yes; then
5.2667 - if { ac_try='./$ac_file'
5.2668 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.2669 - (eval $ac_try) 2>&5
5.2670 - ac_status=$?
5.2671 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2672 - (exit $ac_status); }; }; then
5.2673 - cross_compiling=no
5.2674 - else
5.2675 - if test "$cross_compiling" = maybe; then
5.2676 - cross_compiling=yes
5.2677 - else
5.2678 - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
5.2679 -If you meant to cross compile, use \`--host'.
5.2680 -See \`config.log' for more details." >&5
5.2681 -echo "$as_me: error: cannot run C compiled programs.
5.2682 -If you meant to cross compile, use \`--host'.
5.2683 -See \`config.log' for more details." >&2;}
5.2684 - { (exit 1); exit 1; }; }
5.2685 - fi
5.2686 - fi
5.2687 -fi
5.2688 -echo "$as_me:$LINENO: result: yes" >&5
5.2689 -echo "${ECHO_T}yes" >&6
5.2690 -
5.2691 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
5.2692 -ac_clean_files=$ac_clean_files_save
5.2693 -# Check the compiler produces executables we can run. If not, either
5.2694 -# the compiler is broken, or we cross compile.
5.2695 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
5.2696 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
5.2697 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
5.2698 -echo "${ECHO_T}$cross_compiling" >&6
5.2699 -
5.2700 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
5.2701 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
5.2702 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.2703 - (eval $ac_link) 2>&5
5.2704 - ac_status=$?
5.2705 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2706 - (exit $ac_status); }; then
5.2707 - # If both `conftest.exe' and `conftest' are `present' (well, observable)
5.2708 -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5.2709 -# work properly (i.e., refer to `conftest.exe'), while it won't with
5.2710 -# `rm'.
5.2711 -for ac_file in conftest.exe conftest conftest.*; do
5.2712 - test -f "$ac_file" || continue
5.2713 - case $ac_file in
5.2714 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
5.2715 - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5.2716 - export ac_cv_exeext
5.2717 - break;;
5.2718 - * ) break;;
5.2719 - esac
5.2720 -done
5.2721 -else
5.2722 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
5.2723 -See \`config.log' for more details." >&5
5.2724 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
5.2725 -See \`config.log' for more details." >&2;}
5.2726 - { (exit 1); exit 1; }; }
5.2727 -fi
5.2728 -
5.2729 -rm -f conftest$ac_cv_exeext
5.2730 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
5.2731 -echo "${ECHO_T}$ac_cv_exeext" >&6
5.2732 -
5.2733 -rm -f conftest.$ac_ext
5.2734 -EXEEXT=$ac_cv_exeext
5.2735 -ac_exeext=$EXEEXT
5.2736 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
5.2737 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
5.2738 -if test "${ac_cv_objext+set}" = set; then
5.2739 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.2740 -else
5.2741 - cat >conftest.$ac_ext <<_ACEOF
5.2742 -/* confdefs.h. */
5.2743 -_ACEOF
5.2744 -cat confdefs.h >>conftest.$ac_ext
5.2745 -cat >>conftest.$ac_ext <<_ACEOF
5.2746 -/* end confdefs.h. */
5.2747 -
5.2748 -int
5.2749 -main ()
5.2750 -{
5.2751 -
5.2752 - ;
5.2753 - return 0;
5.2754 -}
5.2755 -_ACEOF
5.2756 -rm -f conftest.o conftest.obj
5.2757 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.2758 - (eval $ac_compile) 2>&5
5.2759 - ac_status=$?
5.2760 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2761 - (exit $ac_status); }; then
5.2762 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
5.2763 - case $ac_file in
5.2764 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
5.2765 - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5.2766 - break;;
5.2767 - esac
5.2768 -done
5.2769 -else
5.2770 - echo "$as_me: failed program was:" >&5
5.2771 -sed 's/^/| /' conftest.$ac_ext >&5
5.2772 -
5.2773 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
5.2774 -See \`config.log' for more details." >&5
5.2775 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
5.2776 -See \`config.log' for more details." >&2;}
5.2777 - { (exit 1); exit 1; }; }
5.2778 -fi
5.2779 -
5.2780 -rm -f conftest.$ac_cv_objext conftest.$ac_ext
5.2781 -fi
5.2782 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
5.2783 -echo "${ECHO_T}$ac_cv_objext" >&6
5.2784 -OBJEXT=$ac_cv_objext
5.2785 -ac_objext=$OBJEXT
5.2786 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5.2787 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5.2788 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
5.2789 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.2790 -else
5.2791 - cat >conftest.$ac_ext <<_ACEOF
5.2792 -/* confdefs.h. */
5.2793 -_ACEOF
5.2794 -cat confdefs.h >>conftest.$ac_ext
5.2795 -cat >>conftest.$ac_ext <<_ACEOF
5.2796 -/* end confdefs.h. */
5.2797 -
5.2798 -int
5.2799 -main ()
5.2800 -{
5.2801 -#ifndef __GNUC__
5.2802 - choke me
5.2803 -#endif
5.2804 -
5.2805 - ;
5.2806 - return 0;
5.2807 -}
5.2808 -_ACEOF
5.2809 -rm -f conftest.$ac_objext
5.2810 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.2811 - (eval $ac_compile) 2>conftest.er1
5.2812 - ac_status=$?
5.2813 - grep -v '^ *+' conftest.er1 >conftest.err
5.2814 - rm -f conftest.er1
5.2815 - cat conftest.err >&5
5.2816 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2817 - (exit $ac_status); } &&
5.2818 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.2819 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.2820 - (eval $ac_try) 2>&5
5.2821 - ac_status=$?
5.2822 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2823 - (exit $ac_status); }; } &&
5.2824 - { ac_try='test -s conftest.$ac_objext'
5.2825 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.2826 - (eval $ac_try) 2>&5
5.2827 - ac_status=$?
5.2828 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2829 - (exit $ac_status); }; }; then
5.2830 - ac_compiler_gnu=yes
5.2831 -else
5.2832 - echo "$as_me: failed program was:" >&5
5.2833 -sed 's/^/| /' conftest.$ac_ext >&5
5.2834 -
5.2835 -ac_compiler_gnu=no
5.2836 -fi
5.2837 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.2838 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
5.2839 -
5.2840 -fi
5.2841 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5.2842 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5.2843 -GCC=`test $ac_compiler_gnu = yes && echo yes`
5.2844 -ac_test_CFLAGS=${CFLAGS+set}
5.2845 -ac_save_CFLAGS=$CFLAGS
5.2846 -CFLAGS="-g"
5.2847 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5.2848 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5.2849 -if test "${ac_cv_prog_cc_g+set}" = set; then
5.2850 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.2851 -else
5.2852 - cat >conftest.$ac_ext <<_ACEOF
5.2853 -/* confdefs.h. */
5.2854 -_ACEOF
5.2855 -cat confdefs.h >>conftest.$ac_ext
5.2856 -cat >>conftest.$ac_ext <<_ACEOF
5.2857 -/* end confdefs.h. */
5.2858 -
5.2859 -int
5.2860 -main ()
5.2861 -{
5.2862 -
5.2863 - ;
5.2864 - return 0;
5.2865 -}
5.2866 -_ACEOF
5.2867 -rm -f conftest.$ac_objext
5.2868 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.2869 - (eval $ac_compile) 2>conftest.er1
5.2870 - ac_status=$?
5.2871 - grep -v '^ *+' conftest.er1 >conftest.err
5.2872 - rm -f conftest.er1
5.2873 - cat conftest.err >&5
5.2874 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2875 - (exit $ac_status); } &&
5.2876 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.2877 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.2878 - (eval $ac_try) 2>&5
5.2879 - ac_status=$?
5.2880 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2881 - (exit $ac_status); }; } &&
5.2882 - { ac_try='test -s conftest.$ac_objext'
5.2883 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.2884 - (eval $ac_try) 2>&5
5.2885 - ac_status=$?
5.2886 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2887 - (exit $ac_status); }; }; then
5.2888 - ac_cv_prog_cc_g=yes
5.2889 -else
5.2890 - echo "$as_me: failed program was:" >&5
5.2891 -sed 's/^/| /' conftest.$ac_ext >&5
5.2892 -
5.2893 -ac_cv_prog_cc_g=no
5.2894 -fi
5.2895 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.2896 -fi
5.2897 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5.2898 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5.2899 -if test "$ac_test_CFLAGS" = set; then
5.2900 - CFLAGS=$ac_save_CFLAGS
5.2901 -elif test $ac_cv_prog_cc_g = yes; then
5.2902 - if test "$GCC" = yes; then
5.2903 - CFLAGS="-g -O2"
5.2904 - else
5.2905 - CFLAGS="-g"
5.2906 - fi
5.2907 -else
5.2908 - if test "$GCC" = yes; then
5.2909 - CFLAGS="-O2"
5.2910 - else
5.2911 - CFLAGS=
5.2912 - fi
5.2913 -fi
5.2914 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5.2915 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5.2916 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
5.2917 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.2918 -else
5.2919 - ac_cv_prog_cc_stdc=no
5.2920 -ac_save_CC=$CC
5.2921 -cat >conftest.$ac_ext <<_ACEOF
5.2922 -/* confdefs.h. */
5.2923 -_ACEOF
5.2924 -cat confdefs.h >>conftest.$ac_ext
5.2925 -cat >>conftest.$ac_ext <<_ACEOF
5.2926 -/* end confdefs.h. */
5.2927 -#include <stdarg.h>
5.2928 -#include <stdio.h>
5.2929 -#include <sys/types.h>
5.2930 -#include <sys/stat.h>
5.2931 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5.2932 -struct buf { int x; };
5.2933 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
5.2934 -static char *e (p, i)
5.2935 - char **p;
5.2936 - int i;
5.2937 -{
5.2938 - return p[i];
5.2939 -}
5.2940 -static char *f (char * (*g) (char **, int), char **p, ...)
5.2941 -{
5.2942 - char *s;
5.2943 - va_list v;
5.2944 - va_start (v,p);
5.2945 - s = g (p, va_arg (v,int));
5.2946 - va_end (v);
5.2947 - return s;
5.2948 -}
5.2949 -
5.2950 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5.2951 - function prototypes and stuff, but not '\xHH' hex character constants.
5.2952 - These don't provoke an error unfortunately, instead are silently treated
5.2953 - as 'x'. The following induces an error, until -std1 is added to get
5.2954 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5.2955 - array size at least. It's necessary to write '\x00'==0 to get something
5.2956 - that's true only with -std1. */
5.2957 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5.2958 -
5.2959 -int test (int i, double x);
5.2960 -struct s1 {int (*f) (int a);};
5.2961 -struct s2 {int (*f) (double a);};
5.2962 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5.2963 -int argc;
5.2964 -char **argv;
5.2965 -int
5.2966 -main ()
5.2967 -{
5.2968 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5.2969 - ;
5.2970 - return 0;
5.2971 -}
5.2972 -_ACEOF
5.2973 -# Don't try gcc -ansi; that turns off useful extensions and
5.2974 -# breaks some systems' header files.
5.2975 -# AIX -qlanglvl=ansi
5.2976 -# Ultrix and OSF/1 -std1
5.2977 -# HP-UX 10.20 and later -Ae
5.2978 -# HP-UX older versions -Aa -D_HPUX_SOURCE
5.2979 -# SVR4 -Xc -D__EXTENSIONS__
5.2980 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5.2981 -do
5.2982 - CC="$ac_save_CC $ac_arg"
5.2983 - rm -f conftest.$ac_objext
5.2984 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.2985 - (eval $ac_compile) 2>conftest.er1
5.2986 - ac_status=$?
5.2987 - grep -v '^ *+' conftest.er1 >conftest.err
5.2988 - rm -f conftest.er1
5.2989 - cat conftest.err >&5
5.2990 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2991 - (exit $ac_status); } &&
5.2992 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.2993 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.2994 - (eval $ac_try) 2>&5
5.2995 - ac_status=$?
5.2996 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2997 - (exit $ac_status); }; } &&
5.2998 - { ac_try='test -s conftest.$ac_objext'
5.2999 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.3000 - (eval $ac_try) 2>&5
5.3001 - ac_status=$?
5.3002 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3003 - (exit $ac_status); }; }; then
5.3004 - ac_cv_prog_cc_stdc=$ac_arg
5.3005 -break
5.3006 -else
5.3007 - echo "$as_me: failed program was:" >&5
5.3008 -sed 's/^/| /' conftest.$ac_ext >&5
5.3009 -
5.3010 -fi
5.3011 -rm -f conftest.err conftest.$ac_objext
5.3012 -done
5.3013 -rm -f conftest.$ac_ext conftest.$ac_objext
5.3014 -CC=$ac_save_CC
5.3015 -
5.3016 -fi
5.3017 -
5.3018 -case "x$ac_cv_prog_cc_stdc" in
5.3019 - x|xno)
5.3020 - echo "$as_me:$LINENO: result: none needed" >&5
5.3021 -echo "${ECHO_T}none needed" >&6 ;;
5.3022 - *)
5.3023 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5.3024 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5.3025 - CC="$CC $ac_cv_prog_cc_stdc" ;;
5.3026 -esac
5.3027 -
5.3028 -# Some people use a C++ compiler to compile C. Since we use `exit',
5.3029 -# in C++ we need to declare it. In case someone uses the same compiler
5.3030 -# for both compiling C and C++ we need to have the C++ compiler decide
5.3031 -# the declaration of exit, since it's the most demanding environment.
5.3032 -cat >conftest.$ac_ext <<_ACEOF
5.3033 -@%:@ifndef __cplusplus
5.3034 - choke me
5.3035 -@%:@endif
5.3036 -_ACEOF
5.3037 -rm -f conftest.$ac_objext
5.3038 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.3039 - (eval $ac_compile) 2>conftest.er1
5.3040 - ac_status=$?
5.3041 - grep -v '^ *+' conftest.er1 >conftest.err
5.3042 - rm -f conftest.er1
5.3043 - cat conftest.err >&5
5.3044 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3045 - (exit $ac_status); } &&
5.3046 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.3047 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.3048 - (eval $ac_try) 2>&5
5.3049 - ac_status=$?
5.3050 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3051 - (exit $ac_status); }; } &&
5.3052 - { ac_try='test -s conftest.$ac_objext'
5.3053 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.3054 - (eval $ac_try) 2>&5
5.3055 - ac_status=$?
5.3056 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3057 - (exit $ac_status); }; }; then
5.3058 - for ac_declaration in \
5.3059 - '' \
5.3060 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
5.3061 - 'extern "C" void std::exit (int); using std::exit;' \
5.3062 - 'extern "C" void exit (int) throw ();' \
5.3063 - 'extern "C" void exit (int);' \
5.3064 - 'void exit (int);'
5.3065 -do
5.3066 - cat >conftest.$ac_ext <<_ACEOF
5.3067 -/* confdefs.h. */
5.3068 -_ACEOF
5.3069 -cat confdefs.h >>conftest.$ac_ext
5.3070 -cat >>conftest.$ac_ext <<_ACEOF
5.3071 -/* end confdefs.h. */
5.3072 -$ac_declaration
5.3073 -@%:@include <stdlib.h>
5.3074 -int
5.3075 -main ()
5.3076 -{
5.3077 -exit (42);
5.3078 - ;
5.3079 - return 0;
5.3080 -}
5.3081 -_ACEOF
5.3082 -rm -f conftest.$ac_objext
5.3083 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.3084 - (eval $ac_compile) 2>conftest.er1
5.3085 - ac_status=$?
5.3086 - grep -v '^ *+' conftest.er1 >conftest.err
5.3087 - rm -f conftest.er1
5.3088 - cat conftest.err >&5
5.3089 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3090 - (exit $ac_status); } &&
5.3091 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.3092 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.3093 - (eval $ac_try) 2>&5
5.3094 - ac_status=$?
5.3095 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3096 - (exit $ac_status); }; } &&
5.3097 - { ac_try='test -s conftest.$ac_objext'
5.3098 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.3099 - (eval $ac_try) 2>&5
5.3100 - ac_status=$?
5.3101 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3102 - (exit $ac_status); }; }; then
5.3103 - :
5.3104 -else
5.3105 - echo "$as_me: failed program was:" >&5
5.3106 -sed 's/^/| /' conftest.$ac_ext >&5
5.3107 -
5.3108 -continue
5.3109 -fi
5.3110 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.3111 - cat >conftest.$ac_ext <<_ACEOF
5.3112 -/* confdefs.h. */
5.3113 -_ACEOF
5.3114 -cat confdefs.h >>conftest.$ac_ext
5.3115 -cat >>conftest.$ac_ext <<_ACEOF
5.3116 -/* end confdefs.h. */
5.3117 -$ac_declaration
5.3118 -int
5.3119 -main ()
5.3120 -{
5.3121 -exit (42);
5.3122 - ;
5.3123 - return 0;
5.3124 -}
5.3125 -_ACEOF
5.3126 -rm -f conftest.$ac_objext
5.3127 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.3128 - (eval $ac_compile) 2>conftest.er1
5.3129 - ac_status=$?
5.3130 - grep -v '^ *+' conftest.er1 >conftest.err
5.3131 - rm -f conftest.er1
5.3132 - cat conftest.err >&5
5.3133 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3134 - (exit $ac_status); } &&
5.3135 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.3136 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.3137 - (eval $ac_try) 2>&5
5.3138 - ac_status=$?
5.3139 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3140 - (exit $ac_status); }; } &&
5.3141 - { ac_try='test -s conftest.$ac_objext'
5.3142 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.3143 - (eval $ac_try) 2>&5
5.3144 - ac_status=$?
5.3145 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3146 - (exit $ac_status); }; }; then
5.3147 - break
5.3148 -else
5.3149 - echo "$as_me: failed program was:" >&5
5.3150 -sed 's/^/| /' conftest.$ac_ext >&5
5.3151 -
5.3152 -fi
5.3153 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.3154 -done
5.3155 -rm -f conftest*
5.3156 -if test -n "$ac_declaration"; then
5.3157 - echo '#ifdef __cplusplus' >>confdefs.h
5.3158 - echo $ac_declaration >>confdefs.h
5.3159 - echo '#endif' >>confdefs.h
5.3160 -fi
5.3161 -
5.3162 -else
5.3163 - echo "$as_me: failed program was:" >&5
5.3164 -sed 's/^/| /' conftest.$ac_ext >&5
5.3165 -
5.3166 -fi
5.3167 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.3168 -ac_ext=c
5.3169 -ac_cpp='$CPP $CPPFLAGS'
5.3170 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.3171 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.3172 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.3173 -
5.3174 -depcc="$CC" am_compiler_list=
5.3175 -
5.3176 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5.3177 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5.3178 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5.3179 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.3180 -else
5.3181 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5.3182 - # We make a subdir and do the tests there. Otherwise we can end up
5.3183 - # making bogus files that we don't know about and never remove. For
5.3184 - # instance it was reported that on HP-UX the gcc test will end up
5.3185 - # making a dummy file named `D' -- because `-MD' means `put the output
5.3186 - # in D'.
5.3187 - mkdir conftest.dir
5.3188 - # Copy depcomp to subdir because otherwise we won't find it if we're
5.3189 - # using a relative directory.
5.3190 - cp "$am_depcomp" conftest.dir
5.3191 - cd conftest.dir
5.3192 - # We will build objects and dependencies in a subdirectory because
5.3193 - # it helps to detect inapplicable dependency modes. For instance
5.3194 - # both Tru64's cc and ICC support -MD to output dependencies as a
5.3195 - # side effect of compilation, but ICC will put the dependencies in
5.3196 - # the current directory while Tru64 will put them in the object
5.3197 - # directory.
5.3198 - mkdir sub
5.3199 -
5.3200 - am_cv_CC_dependencies_compiler_type=none
5.3201 - if test "$am_compiler_list" = ""; then
5.3202 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5.3203 - fi
5.3204 - for depmode in $am_compiler_list; do
5.3205 - # Setup a source with many dependencies, because some compilers
5.3206 - # like to wrap large dependency lists on column 80 (with \), and
5.3207 - # we should not choose a depcomp mode which is confused by this.
5.3208 - #
5.3209 - # We need to recreate these files for each test, as the compiler may
5.3210 - # overwrite some of them when testing with obscure command lines.
5.3211 - # This happens at least with the AIX C compiler.
5.3212 - : > sub/conftest.c
5.3213 - for i in 1 2 3 4 5 6; do
5.3214 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
5.3215 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5.3216 - # Solaris 8's {/usr,}/bin/sh.
5.3217 - touch sub/conftst$i.h
5.3218 - done
5.3219 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5.3220 -
5.3221 - case $depmode in
5.3222 - nosideeffect)
5.3223 - # after this tag, mechanisms are not by side-effect, so they'll
5.3224 - # only be used when explicitly requested
5.3225 - if test "x$enable_dependency_tracking" = xyes; then
5.3226 - continue
5.3227 - else
5.3228 - break
5.3229 - fi
5.3230 - ;;
5.3231 - none) break ;;
5.3232 - esac
5.3233 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
5.3234 - # mode. It turns out that the SunPro C++ compiler does not properly
5.3235 - # handle `-M -o', and we need to detect this.
5.3236 - if depmode=$depmode \
5.3237 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5.3238 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5.3239 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5.3240 - >/dev/null 2>conftest.err &&
5.3241 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5.3242 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5.3243 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5.3244 - # icc doesn't choke on unknown options, it will just issue warnings
5.3245 - # or remarks (even with -Werror). So we grep stderr for any message
5.3246 - # that says an option was ignored or not supported.
5.3247 - # When given -MP, icc 7.0 and 7.1 complain thusly:
5.3248 - # icc: Command line warning: ignoring option '-M'; no argument required
5.3249 - # The diagnosis changed in icc 8.0:
5.3250 - # icc: Command line remark: option '-MP' not supported
5.3251 - if (grep 'ignoring option' conftest.err ||
5.3252 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5.3253 - am_cv_CC_dependencies_compiler_type=$depmode
5.3254 - break
5.3255 - fi
5.3256 - fi
5.3257 - done
5.3258 -
5.3259 - cd ..
5.3260 - rm -rf conftest.dir
5.3261 -else
5.3262 - am_cv_CC_dependencies_compiler_type=none
5.3263 -fi
5.3264 -
5.3265 -fi
5.3266 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5.3267 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
5.3268 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5.3269 -
5.3270 -
5.3271 -
5.3272 -if
5.3273 - test "x$enable_dependency_tracking" != xno \
5.3274 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5.3275 - am__fastdepCC_TRUE=
5.3276 - am__fastdepCC_FALSE='#'
5.3277 -else
5.3278 - am__fastdepCC_TRUE='#'
5.3279 - am__fastdepCC_FALSE=
5.3280 -fi
5.3281 -
5.3282 -
5.3283 -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5.3284 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5.3285 -if test "${lt_cv_path_SED+set}" = set; then
5.3286 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.3287 -else
5.3288 - # Loop through the user's path and test for sed and gsed.
5.3289 -# Then use that list of sed's as ones to test for truncation.
5.3290 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.3291 -for as_dir in $PATH
5.3292 -do
5.3293 - IFS=$as_save_IFS
5.3294 - test -z "$as_dir" && as_dir=.
5.3295 - for lt_ac_prog in sed gsed; do
5.3296 - for ac_exec_ext in '' $ac_executable_extensions; do
5.3297 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5.3298 - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5.3299 - fi
5.3300 - done
5.3301 - done
5.3302 -done
5.3303 -lt_ac_max=0
5.3304 -lt_ac_count=0
5.3305 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
5.3306 -# along with /bin/sed that truncates output.
5.3307 -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5.3308 - test ! -f $lt_ac_sed && continue
5.3309 - cat /dev/null > conftest.in
5.3310 - lt_ac_count=0
5.3311 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5.3312 - # Check for GNU sed and select it if it is found.
5.3313 - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5.3314 - lt_cv_path_SED=$lt_ac_sed
5.3315 - break
5.3316 - fi
5.3317 - while true; do
5.3318 - cat conftest.in conftest.in >conftest.tmp
5.3319 - mv conftest.tmp conftest.in
5.3320 - cp conftest.in conftest.nl
5.3321 - echo >>conftest.nl
5.3322 - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5.3323 - cmp -s conftest.out conftest.nl || break
5.3324 - # 10000 chars as input seems more than enough
5.3325 - test $lt_ac_count -gt 10 && break
5.3326 - lt_ac_count=`expr $lt_ac_count + 1`
5.3327 - if test $lt_ac_count -gt $lt_ac_max; then
5.3328 - lt_ac_max=$lt_ac_count
5.3329 - lt_cv_path_SED=$lt_ac_sed
5.3330 - fi
5.3331 - done
5.3332 -done
5.3333 -
5.3334 -fi
5.3335 -
5.3336 -SED=$lt_cv_path_SED
5.3337 -echo "$as_me:$LINENO: result: $SED" >&5
5.3338 -echo "${ECHO_T}$SED" >&6
5.3339 -
5.3340 -echo "$as_me:$LINENO: checking for egrep" >&5
5.3341 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5.3342 -if test "${ac_cv_prog_egrep+set}" = set; then
5.3343 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.3344 -else
5.3345 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5.3346 - then ac_cv_prog_egrep='grep -E'
5.3347 - else ac_cv_prog_egrep='egrep'
5.3348 - fi
5.3349 -fi
5.3350 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5.3351 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5.3352 - EGREP=$ac_cv_prog_egrep
5.3353 -
5.3354 -
5.3355 -
5.3356 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
5.3357 -if test "${with_gnu_ld+set}" = set; then
5.3358 - withval="$with_gnu_ld"
5.3359 - test "$withval" = no || with_gnu_ld=yes
5.3360 -else
5.3361 - with_gnu_ld=no
5.3362 -fi;
5.3363 -ac_prog=ld
5.3364 -if test "$GCC" = yes; then
5.3365 - # Check if gcc -print-prog-name=ld gives a path.
5.3366 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5.3367 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5.3368 - case $host in
5.3369 - *-*-mingw*)
5.3370 - # gcc leaves a trailing carriage return which upsets mingw
5.3371 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5.3372 - *)
5.3373 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5.3374 - esac
5.3375 - case $ac_prog in
5.3376 - # Accept absolute paths.
5.3377 - [\\/]* | ?:[\\/]*)
5.3378 - re_direlt='/[^/][^/]*/\.\./'
5.3379 - # Canonicalize the pathname of ld
5.3380 - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5.3381 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5.3382 - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
5.3383 - done
5.3384 - test -z "$LD" && LD="$ac_prog"
5.3385 - ;;
5.3386 - "")
5.3387 - # If it fails, then pretend we aren't using GCC.
5.3388 - ac_prog=ld
5.3389 - ;;
5.3390 - *)
5.3391 - # If it is relative, then search for the first ld in PATH.
5.3392 - with_gnu_ld=unknown
5.3393 - ;;
5.3394 - esac
5.3395 -elif test "$with_gnu_ld" = yes; then
5.3396 - echo "$as_me:$LINENO: checking for GNU ld" >&5
5.3397 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5.3398 -else
5.3399 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5.3400 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5.3401 -fi
5.3402 -if test "${lt_cv_path_LD+set}" = set; then
5.3403 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.3404 -else
5.3405 - if test -z "$LD"; then
5.3406 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5.3407 - for ac_dir in $PATH; do
5.3408 - IFS="$lt_save_ifs"
5.3409 - test -z "$ac_dir" && ac_dir=.
5.3410 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5.3411 - lt_cv_path_LD="$ac_dir/$ac_prog"
5.3412 - # Check to see if the program is GNU ld. I'd rather use --version,
5.3413 - # but apparently some variants of GNU ld only accept -v.
5.3414 - # Break only if it was the GNU/non-GNU ld that we prefer.
5.3415 - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5.3416 - *GNU* | *'with BFD'*)
5.3417 - test "$with_gnu_ld" != no && break
5.3418 - ;;
5.3419 - *)
5.3420 - test "$with_gnu_ld" != yes && break
5.3421 - ;;
5.3422 - esac
5.3423 - fi
5.3424 - done
5.3425 - IFS="$lt_save_ifs"
5.3426 -else
5.3427 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
5.3428 -fi
5.3429 -fi
5.3430 -
5.3431 -LD="$lt_cv_path_LD"
5.3432 -if test -n "$LD"; then
5.3433 - echo "$as_me:$LINENO: result: $LD" >&5
5.3434 -echo "${ECHO_T}$LD" >&6
5.3435 -else
5.3436 - echo "$as_me:$LINENO: result: no" >&5
5.3437 -echo "${ECHO_T}no" >&6
5.3438 -fi
5.3439 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5.3440 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5.3441 - { (exit 1); exit 1; }; }
5.3442 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5.3443 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5.3444 -if test "${lt_cv_prog_gnu_ld+set}" = set; then
5.3445 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.3446 -else
5.3447 - # I'd rather use --version here, but apparently some GNU lds only accept -v.
5.3448 -case `$LD -v 2>&1 </dev/null` in
5.3449 -*GNU* | *'with BFD'*)
5.3450 - lt_cv_prog_gnu_ld=yes
5.3451 - ;;
5.3452 -*)
5.3453 - lt_cv_prog_gnu_ld=no
5.3454 - ;;
5.3455 -esac
5.3456 -fi
5.3457 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5.3458 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5.3459 -with_gnu_ld=$lt_cv_prog_gnu_ld
5.3460 -
5.3461 -
5.3462 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5.3463 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5.3464 -if test "${lt_cv_ld_reload_flag+set}" = set; then
5.3465 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.3466 -else
5.3467 - lt_cv_ld_reload_flag='-r'
5.3468 -fi
5.3469 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5.3470 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5.3471 -reload_flag=$lt_cv_ld_reload_flag
5.3472 -case $reload_flag in
5.3473 -"" | " "*) ;;
5.3474 -*) reload_flag=" $reload_flag" ;;
5.3475 -esac
5.3476 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
5.3477 -case $host_os in
5.3478 - darwin*)
5.3479 - if test "$GCC" = yes; then
5.3480 - reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
5.3481 - else
5.3482 - reload_cmds='$LD$reload_flag -o $output$reload_objs'
5.3483 - fi
5.3484 - ;;
5.3485 -esac
5.3486 -
5.3487 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5.3488 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5.3489 -if test "${lt_cv_path_NM+set}" = set; then
5.3490 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.3491 -else
5.3492 - if test -n "$NM"; then
5.3493 - # Let the user override the test.
5.3494 - lt_cv_path_NM="$NM"
5.3495 -else
5.3496 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5.3497 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
5.3498 - IFS="$lt_save_ifs"
5.3499 - test -z "$ac_dir" && ac_dir=.
5.3500 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
5.3501 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5.3502 - # Check to see if the nm accepts a BSD-compat flag.
5.3503 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5.3504 - # nm: unknown option "B" ignored
5.3505 - # Tru64's nm complains that /dev/null is an invalid object file
5.3506 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5.3507 - */dev/null* | *'Invalid file or object type'*)
5.3508 - lt_cv_path_NM="$tmp_nm -B"
5.3509 - break
5.3510 - ;;
5.3511 - *)
5.3512 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5.3513 - */dev/null*)
5.3514 - lt_cv_path_NM="$tmp_nm -p"
5.3515 - break
5.3516 - ;;
5.3517 - *)
5.3518 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5.3519 - continue # so that we can try to find one that supports BSD flags
5.3520 - ;;
5.3521 - esac
5.3522 - esac
5.3523 - fi
5.3524 - done
5.3525 - IFS="$lt_save_ifs"
5.3526 - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5.3527 -fi
5.3528 -fi
5.3529 -echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5.3530 -echo "${ECHO_T}$lt_cv_path_NM" >&6
5.3531 -NM="$lt_cv_path_NM"
5.3532 -
5.3533 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
5.3534 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5.3535 -LN_S=$as_ln_s
5.3536 -if test "$LN_S" = "ln -s"; then
5.3537 - echo "$as_me:$LINENO: result: yes" >&5
5.3538 -echo "${ECHO_T}yes" >&6
5.3539 -else
5.3540 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5.3541 -echo "${ECHO_T}no, using $LN_S" >&6
5.3542 -fi
5.3543 -
5.3544 -echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
5.3545 -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
5.3546 -if test "${lt_cv_deplibs_check_method+set}" = set; then
5.3547 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.3548 -else
5.3549 - lt_cv_file_magic_cmd='$MAGIC_CMD'
5.3550 -lt_cv_file_magic_test_file=
5.3551 -lt_cv_deplibs_check_method='unknown'
5.3552 -# Need to set the preceding variable on all platforms that support
5.3553 -# interlibrary dependencies.
5.3554 -# 'none' -- dependencies not supported.
5.3555 -# `unknown' -- same as none, but documents that we really don't know.
5.3556 -# 'pass_all' -- all dependencies passed with no checks.
5.3557 -# 'test_compile' -- check by making test program.
5.3558 -# 'file_magic [[regex]]' -- check by looking for files in library path
5.3559 -# which responds to the $file_magic_cmd with a given extended regex.
5.3560 -# If you have `file' or equivalent on your system and you're not sure
5.3561 -# whether `pass_all' will *always* work, you probably want this one.
5.3562 -
5.3563 -case $host_os in
5.3564 -aix4* | aix5*)
5.3565 - lt_cv_deplibs_check_method=pass_all
5.3566 - ;;
5.3567 -
5.3568 -beos*)
5.3569 - lt_cv_deplibs_check_method=pass_all
5.3570 - ;;
5.3571 -
5.3572 -bsdi[45]*)
5.3573 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5.3574 - lt_cv_file_magic_cmd='/usr/bin/file -L'
5.3575 - lt_cv_file_magic_test_file=/shlib/libc.so
5.3576 - ;;
5.3577 -
5.3578 -cygwin*)
5.3579 - # func_win32_libid is a shell function defined in ltmain.sh
5.3580 - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5.3581 - lt_cv_file_magic_cmd='func_win32_libid'
5.3582 - ;;
5.3583 -
5.3584 -mingw* | pw32*)
5.3585 - # Base MSYS/MinGW do not provide the 'file' command needed by
5.3586 - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
5.3587 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5.3588 - lt_cv_file_magic_cmd='$OBJDUMP -f'
5.3589 - ;;
5.3590 -
5.3591 -darwin* | rhapsody*)
5.3592 - lt_cv_deplibs_check_method=pass_all
5.3593 - ;;
5.3594 -
5.3595 -freebsd* | kfreebsd*-gnu | dragonfly*)
5.3596 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5.3597 - case $host_cpu in
5.3598 - i*86 )
5.3599 - # Not sure whether the presence of OpenBSD here was a mistake.
5.3600 - # Let's accept both of them until this is cleared up.
5.3601 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5.3602 - lt_cv_file_magic_cmd=/usr/bin/file
5.3603 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5.3604 - ;;
5.3605 - esac
5.3606 - else
5.3607 - lt_cv_deplibs_check_method=pass_all
5.3608 - fi
5.3609 - ;;
5.3610 -
5.3611 -gnu*)
5.3612 - lt_cv_deplibs_check_method=pass_all
5.3613 - ;;
5.3614 -
5.3615 -hpux10.20* | hpux11*)
5.3616 - lt_cv_file_magic_cmd=/usr/bin/file
5.3617 - case $host_cpu in
5.3618 - ia64*)
5.3619 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5.3620 - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5.3621 - ;;
5.3622 - hppa*64*)
5.3623 - 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]'
5.3624 - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5.3625 - ;;
5.3626 - *)
5.3627 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5.3628 - lt_cv_file_magic_test_file=/usr/lib/libc.sl
5.3629 - ;;
5.3630 - esac
5.3631 - ;;
5.3632 -
5.3633 -irix5* | irix6* | nonstopux*)
5.3634 - case $LD in
5.3635 - *-32|*"-32 ") libmagic=32-bit;;
5.3636 - *-n32|*"-n32 ") libmagic=N32;;
5.3637 - *-64|*"-64 ") libmagic=64-bit;;
5.3638 - *) libmagic=never-match;;
5.3639 - esac
5.3640 - lt_cv_deplibs_check_method=pass_all
5.3641 - ;;
5.3642 -
5.3643 -# This must be Linux ELF.
5.3644 -linux*)
5.3645 - lt_cv_deplibs_check_method=pass_all
5.3646 - ;;
5.3647 -
5.3648 -netbsd*)
5.3649 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5.3650 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5.3651 - else
5.3652 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5.3653 - fi
5.3654 - ;;
5.3655 -
5.3656 -newos6*)
5.3657 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5.3658 - lt_cv_file_magic_cmd=/usr/bin/file
5.3659 - lt_cv_file_magic_test_file=/usr/lib/libnls.so
5.3660 - ;;
5.3661 -
5.3662 -nto-qnx*)
5.3663 - lt_cv_deplibs_check_method=unknown
5.3664 - ;;
5.3665 -
5.3666 -openbsd*)
5.3667 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5.3668 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5.3669 - else
5.3670 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5.3671 - fi
5.3672 - ;;
5.3673 -
5.3674 -osf3* | osf4* | osf5*)
5.3675 - lt_cv_deplibs_check_method=pass_all
5.3676 - ;;
5.3677 -
5.3678 -sco3.2v5*)
5.3679 - lt_cv_deplibs_check_method=pass_all
5.3680 - ;;
5.3681 -
5.3682 -solaris*)
5.3683 - lt_cv_deplibs_check_method=pass_all
5.3684 - ;;
5.3685 -
5.3686 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5.3687 - case $host_vendor in
5.3688 - motorola)
5.3689 - 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]'
5.3690 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5.3691 - ;;
5.3692 - ncr)
5.3693 - lt_cv_deplibs_check_method=pass_all
5.3694 - ;;
5.3695 - sequent)
5.3696 - lt_cv_file_magic_cmd='/bin/file'
5.3697 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5.3698 - ;;
5.3699 - sni)
5.3700 - lt_cv_file_magic_cmd='/bin/file'
5.3701 - lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5.3702 - lt_cv_file_magic_test_file=/lib/libc.so
5.3703 - ;;
5.3704 - siemens)
5.3705 - lt_cv_deplibs_check_method=pass_all
5.3706 - ;;
5.3707 - esac
5.3708 - ;;
5.3709 -
5.3710 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
5.3711 - lt_cv_deplibs_check_method=pass_all
5.3712 - ;;
5.3713 -esac
5.3714 -
5.3715 -fi
5.3716 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5.3717 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5.3718 -file_magic_cmd=$lt_cv_file_magic_cmd
5.3719 -deplibs_check_method=$lt_cv_deplibs_check_method
5.3720 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
5.3721 -
5.3722 -
5.3723 -
5.3724 -
5.3725 -# If no C compiler was specified, use CC.
5.3726 -LTCC=${LTCC-"$CC"}
5.3727 -
5.3728 -# Allow CC to be a program name with arguments.
5.3729 -compiler=$CC
5.3730 -
5.3731 -
5.3732 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5.3733 -if test "${enable_libtool_lock+set}" = set; then
5.3734 - enableval="$enable_libtool_lock"
5.3735 -
5.3736 -fi;
5.3737 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5.3738 -
5.3739 -# Some flags need to be propagated to the compiler or linker for good
5.3740 -# libtool support.
5.3741 -case $host in
5.3742 -ia64-*-hpux*)
5.3743 - # Find out which ABI we are using.
5.3744 - echo 'int i;' > conftest.$ac_ext
5.3745 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.3746 - (eval $ac_compile) 2>&5
5.3747 - ac_status=$?
5.3748 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3749 - (exit $ac_status); }; then
5.3750 - case `/usr/bin/file conftest.$ac_objext` in
5.3751 - *ELF-32*)
5.3752 - HPUX_IA64_MODE="32"
5.3753 - ;;
5.3754 - *ELF-64*)
5.3755 - HPUX_IA64_MODE="64"
5.3756 - ;;
5.3757 - esac
5.3758 - fi
5.3759 - rm -rf conftest*
5.3760 - ;;
5.3761 -*-*-irix6*)
5.3762 - # Find out which ABI we are using.
5.3763 - echo '#line __oline__ "configure"' > conftest.$ac_ext
5.3764 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.3765 - (eval $ac_compile) 2>&5
5.3766 - ac_status=$?
5.3767 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3768 - (exit $ac_status); }; then
5.3769 - if test "$lt_cv_prog_gnu_ld" = yes; then
5.3770 - case `/usr/bin/file conftest.$ac_objext` in
5.3771 - *32-bit*)
5.3772 - LD="${LD-ld} -melf32bsmip"
5.3773 - ;;
5.3774 - *N32*)
5.3775 - LD="${LD-ld} -melf32bmipn32"
5.3776 - ;;
5.3777 - *64-bit*)
5.3778 - LD="${LD-ld} -melf64bmip"
5.3779 - ;;
5.3780 - esac
5.3781 - else
5.3782 - case `/usr/bin/file conftest.$ac_objext` in
5.3783 - *32-bit*)
5.3784 - LD="${LD-ld} -32"
5.3785 - ;;
5.3786 - *N32*)
5.3787 - LD="${LD-ld} -n32"
5.3788 - ;;
5.3789 - *64-bit*)
5.3790 - LD="${LD-ld} -64"
5.3791 - ;;
5.3792 - esac
5.3793 - fi
5.3794 - fi
5.3795 - rm -rf conftest*
5.3796 - ;;
5.3797 -
5.3798 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
5.3799 - # Find out which ABI we are using.
5.3800 - echo 'int i;' > conftest.$ac_ext
5.3801 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.3802 - (eval $ac_compile) 2>&5
5.3803 - ac_status=$?
5.3804 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3805 - (exit $ac_status); }; then
5.3806 - case `/usr/bin/file conftest.o` in
5.3807 - *32-bit*)
5.3808 - case $host in
5.3809 - x86_64-*linux*)
5.3810 - LD="${LD-ld} -m elf_i386"
5.3811 - ;;
5.3812 - ppc64-*linux*|powerpc64-*linux*)
5.3813 - LD="${LD-ld} -m elf32ppclinux"
5.3814 - ;;
5.3815 - s390x-*linux*)
5.3816 - LD="${LD-ld} -m elf_s390"
5.3817 - ;;
5.3818 - sparc64-*linux*)
5.3819 - LD="${LD-ld} -m elf32_sparc"
5.3820 - ;;
5.3821 - esac
5.3822 - ;;
5.3823 - *64-bit*)
5.3824 - case $host in
5.3825 - x86_64-*linux*)
5.3826 - LD="${LD-ld} -m elf_x86_64"
5.3827 - ;;
5.3828 - ppc*-*linux*|powerpc*-*linux*)
5.3829 - LD="${LD-ld} -m elf64ppc"
5.3830 - ;;
5.3831 - s390*-*linux*)
5.3832 - LD="${LD-ld} -m elf64_s390"
5.3833 - ;;
5.3834 - sparc*-*linux*)
5.3835 - LD="${LD-ld} -m elf64_sparc"
5.3836 - ;;
5.3837 - esac
5.3838 - ;;
5.3839 - esac
5.3840 - fi
5.3841 - rm -rf conftest*
5.3842 - ;;
5.3843 -
5.3844 -*-*-sco3.2v5*)
5.3845 - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5.3846 - SAVE_CFLAGS="$CFLAGS"
5.3847 - CFLAGS="$CFLAGS -belf"
5.3848 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5.3849 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5.3850 -if test "${lt_cv_cc_needs_belf+set}" = set; then
5.3851 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.3852 -else
5.3853 - ac_ext=c
5.3854 -ac_cpp='$CPP $CPPFLAGS'
5.3855 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.3856 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.3857 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.3858 -
5.3859 - cat >conftest.$ac_ext <<_ACEOF
5.3860 -/* confdefs.h. */
5.3861 -_ACEOF
5.3862 -cat confdefs.h >>conftest.$ac_ext
5.3863 -cat >>conftest.$ac_ext <<_ACEOF
5.3864 -/* end confdefs.h. */
5.3865 -
5.3866 -int
5.3867 -main ()
5.3868 -{
5.3869 -
5.3870 - ;
5.3871 - return 0;
5.3872 -}
5.3873 -_ACEOF
5.3874 -rm -f conftest.$ac_objext conftest$ac_exeext
5.3875 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.3876 - (eval $ac_link) 2>conftest.er1
5.3877 - ac_status=$?
5.3878 - grep -v '^ *+' conftest.er1 >conftest.err
5.3879 - rm -f conftest.er1
5.3880 - cat conftest.err >&5
5.3881 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3882 - (exit $ac_status); } &&
5.3883 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.3884 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.3885 - (eval $ac_try) 2>&5
5.3886 - ac_status=$?
5.3887 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3888 - (exit $ac_status); }; } &&
5.3889 - { ac_try='test -s conftest$ac_exeext'
5.3890 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.3891 - (eval $ac_try) 2>&5
5.3892 - ac_status=$?
5.3893 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3894 - (exit $ac_status); }; }; then
5.3895 - lt_cv_cc_needs_belf=yes
5.3896 -else
5.3897 - echo "$as_me: failed program was:" >&5
5.3898 -sed 's/^/| /' conftest.$ac_ext >&5
5.3899 -
5.3900 -lt_cv_cc_needs_belf=no
5.3901 -fi
5.3902 -rm -f conftest.err conftest.$ac_objext \
5.3903 - conftest$ac_exeext conftest.$ac_ext
5.3904 - ac_ext=c
5.3905 -ac_cpp='$CPP $CPPFLAGS'
5.3906 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.3907 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.3908 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.3909 -
5.3910 -fi
5.3911 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5.3912 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5.3913 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5.3914 - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5.3915 - CFLAGS="$SAVE_CFLAGS"
5.3916 - fi
5.3917 - ;;
5.3918 -
5.3919 -esac
5.3920 -
5.3921 -need_locks="$enable_libtool_lock"
5.3922 -
5.3923 -
5.3924 -ac_ext=c
5.3925 -ac_cpp='$CPP $CPPFLAGS'
5.3926 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.3927 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.3928 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.3929 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5.3930 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5.3931 -# On Suns, sometimes $CPP names a directory.
5.3932 -if test -n "$CPP" && test -d "$CPP"; then
5.3933 - CPP=
5.3934 -fi
5.3935 -if test -z "$CPP"; then
5.3936 - if test "${ac_cv_prog_CPP+set}" = set; then
5.3937 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.3938 -else
5.3939 - # Double quotes because CPP needs to be expanded
5.3940 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5.3941 - do
5.3942 - ac_preproc_ok=false
5.3943 -for ac_c_preproc_warn_flag in '' yes
5.3944 -do
5.3945 - # Use a header file that comes with gcc, so configuring glibc
5.3946 - # with a fresh cross-compiler works.
5.3947 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5.3948 - # <limits.h> exists even on freestanding compilers.
5.3949 - # On the NeXT, cc -E runs the code through the compiler's parser,
5.3950 - # not just through cpp. "Syntax error" is here to catch this case.
5.3951 - cat >conftest.$ac_ext <<_ACEOF
5.3952 -/* confdefs.h. */
5.3953 -_ACEOF
5.3954 -cat confdefs.h >>conftest.$ac_ext
5.3955 -cat >>conftest.$ac_ext <<_ACEOF
5.3956 -/* end confdefs.h. */
5.3957 -@%:@ifdef __STDC__
5.3958 -@%:@ include <limits.h>
5.3959 -@%:@else
5.3960 -@%:@ include <assert.h>
5.3961 -@%:@endif
5.3962 - Syntax error
5.3963 -_ACEOF
5.3964 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5.3965 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5.3966 - ac_status=$?
5.3967 - grep -v '^ *+' conftest.er1 >conftest.err
5.3968 - rm -f conftest.er1
5.3969 - cat conftest.err >&5
5.3970 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3971 - (exit $ac_status); } >/dev/null; then
5.3972 - if test -s conftest.err; then
5.3973 - ac_cpp_err=$ac_c_preproc_warn_flag
5.3974 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5.3975 - else
5.3976 - ac_cpp_err=
5.3977 - fi
5.3978 -else
5.3979 - ac_cpp_err=yes
5.3980 -fi
5.3981 -if test -z "$ac_cpp_err"; then
5.3982 - :
5.3983 -else
5.3984 - echo "$as_me: failed program was:" >&5
5.3985 -sed 's/^/| /' conftest.$ac_ext >&5
5.3986 -
5.3987 - # Broken: fails on valid input.
5.3988 -continue
5.3989 -fi
5.3990 -rm -f conftest.err conftest.$ac_ext
5.3991 -
5.3992 - # OK, works on sane cases. Now check whether non-existent headers
5.3993 - # can be detected and how.
5.3994 - cat >conftest.$ac_ext <<_ACEOF
5.3995 -/* confdefs.h. */
5.3996 -_ACEOF
5.3997 -cat confdefs.h >>conftest.$ac_ext
5.3998 -cat >>conftest.$ac_ext <<_ACEOF
5.3999 -/* end confdefs.h. */
5.4000 -@%:@include <ac_nonexistent.h>
5.4001 -_ACEOF
5.4002 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5.4003 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5.4004 - ac_status=$?
5.4005 - grep -v '^ *+' conftest.er1 >conftest.err
5.4006 - rm -f conftest.er1
5.4007 - cat conftest.err >&5
5.4008 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4009 - (exit $ac_status); } >/dev/null; then
5.4010 - if test -s conftest.err; then
5.4011 - ac_cpp_err=$ac_c_preproc_warn_flag
5.4012 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5.4013 - else
5.4014 - ac_cpp_err=
5.4015 - fi
5.4016 -else
5.4017 - ac_cpp_err=yes
5.4018 -fi
5.4019 -if test -z "$ac_cpp_err"; then
5.4020 - # Broken: success on invalid input.
5.4021 -continue
5.4022 -else
5.4023 - echo "$as_me: failed program was:" >&5
5.4024 -sed 's/^/| /' conftest.$ac_ext >&5
5.4025 -
5.4026 - # Passes both tests.
5.4027 -ac_preproc_ok=:
5.4028 -break
5.4029 -fi
5.4030 -rm -f conftest.err conftest.$ac_ext
5.4031 -
5.4032 -done
5.4033 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5.4034 -rm -f conftest.err conftest.$ac_ext
5.4035 -if $ac_preproc_ok; then
5.4036 - break
5.4037 -fi
5.4038 -
5.4039 - done
5.4040 - ac_cv_prog_CPP=$CPP
5.4041 -
5.4042 -fi
5.4043 - CPP=$ac_cv_prog_CPP
5.4044 -else
5.4045 - ac_cv_prog_CPP=$CPP
5.4046 -fi
5.4047 -echo "$as_me:$LINENO: result: $CPP" >&5
5.4048 -echo "${ECHO_T}$CPP" >&6
5.4049 -ac_preproc_ok=false
5.4050 -for ac_c_preproc_warn_flag in '' yes
5.4051 -do
5.4052 - # Use a header file that comes with gcc, so configuring glibc
5.4053 - # with a fresh cross-compiler works.
5.4054 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5.4055 - # <limits.h> exists even on freestanding compilers.
5.4056 - # On the NeXT, cc -E runs the code through the compiler's parser,
5.4057 - # not just through cpp. "Syntax error" is here to catch this case.
5.4058 - cat >conftest.$ac_ext <<_ACEOF
5.4059 -/* confdefs.h. */
5.4060 -_ACEOF
5.4061 -cat confdefs.h >>conftest.$ac_ext
5.4062 -cat >>conftest.$ac_ext <<_ACEOF
5.4063 -/* end confdefs.h. */
5.4064 -@%:@ifdef __STDC__
5.4065 -@%:@ include <limits.h>
5.4066 -@%:@else
5.4067 -@%:@ include <assert.h>
5.4068 -@%:@endif
5.4069 - Syntax error
5.4070 -_ACEOF
5.4071 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5.4072 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5.4073 - ac_status=$?
5.4074 - grep -v '^ *+' conftest.er1 >conftest.err
5.4075 - rm -f conftest.er1
5.4076 - cat conftest.err >&5
5.4077 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4078 - (exit $ac_status); } >/dev/null; then
5.4079 - if test -s conftest.err; then
5.4080 - ac_cpp_err=$ac_c_preproc_warn_flag
5.4081 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5.4082 - else
5.4083 - ac_cpp_err=
5.4084 - fi
5.4085 -else
5.4086 - ac_cpp_err=yes
5.4087 -fi
5.4088 -if test -z "$ac_cpp_err"; then
5.4089 - :
5.4090 -else
5.4091 - echo "$as_me: failed program was:" >&5
5.4092 -sed 's/^/| /' conftest.$ac_ext >&5
5.4093 -
5.4094 - # Broken: fails on valid input.
5.4095 -continue
5.4096 -fi
5.4097 -rm -f conftest.err conftest.$ac_ext
5.4098 -
5.4099 - # OK, works on sane cases. Now check whether non-existent headers
5.4100 - # can be detected and how.
5.4101 - cat >conftest.$ac_ext <<_ACEOF
5.4102 -/* confdefs.h. */
5.4103 -_ACEOF
5.4104 -cat confdefs.h >>conftest.$ac_ext
5.4105 -cat >>conftest.$ac_ext <<_ACEOF
5.4106 -/* end confdefs.h. */
5.4107 -@%:@include <ac_nonexistent.h>
5.4108 -_ACEOF
5.4109 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5.4110 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5.4111 - ac_status=$?
5.4112 - grep -v '^ *+' conftest.er1 >conftest.err
5.4113 - rm -f conftest.er1
5.4114 - cat conftest.err >&5
5.4115 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4116 - (exit $ac_status); } >/dev/null; then
5.4117 - if test -s conftest.err; then
5.4118 - ac_cpp_err=$ac_c_preproc_warn_flag
5.4119 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5.4120 - else
5.4121 - ac_cpp_err=
5.4122 - fi
5.4123 -else
5.4124 - ac_cpp_err=yes
5.4125 -fi
5.4126 -if test -z "$ac_cpp_err"; then
5.4127 - # Broken: success on invalid input.
5.4128 -continue
5.4129 -else
5.4130 - echo "$as_me: failed program was:" >&5
5.4131 -sed 's/^/| /' conftest.$ac_ext >&5
5.4132 -
5.4133 - # Passes both tests.
5.4134 -ac_preproc_ok=:
5.4135 -break
5.4136 -fi
5.4137 -rm -f conftest.err conftest.$ac_ext
5.4138 -
5.4139 -done
5.4140 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5.4141 -rm -f conftest.err conftest.$ac_ext
5.4142 -if $ac_preproc_ok; then
5.4143 - :
5.4144 -else
5.4145 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5.4146 -See \`config.log' for more details." >&5
5.4147 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5.4148 -See \`config.log' for more details." >&2;}
5.4149 - { (exit 1); exit 1; }; }
5.4150 -fi
5.4151 -
5.4152 -ac_ext=c
5.4153 -ac_cpp='$CPP $CPPFLAGS'
5.4154 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.4155 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.4156 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.4157 -
5.4158 -
5.4159 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5.4160 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5.4161 -if test "${ac_cv_header_stdc+set}" = set; then
5.4162 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.4163 -else
5.4164 - cat >conftest.$ac_ext <<_ACEOF
5.4165 -/* confdefs.h. */
5.4166 -_ACEOF
5.4167 -cat confdefs.h >>conftest.$ac_ext
5.4168 -cat >>conftest.$ac_ext <<_ACEOF
5.4169 -/* end confdefs.h. */
5.4170 -#include <stdlib.h>
5.4171 -#include <stdarg.h>
5.4172 -#include <string.h>
5.4173 -#include <float.h>
5.4174 -
5.4175 -int
5.4176 -main ()
5.4177 -{
5.4178 -
5.4179 - ;
5.4180 - return 0;
5.4181 -}
5.4182 -_ACEOF
5.4183 -rm -f conftest.$ac_objext
5.4184 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.4185 - (eval $ac_compile) 2>conftest.er1
5.4186 - ac_status=$?
5.4187 - grep -v '^ *+' conftest.er1 >conftest.err
5.4188 - rm -f conftest.er1
5.4189 - cat conftest.err >&5
5.4190 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4191 - (exit $ac_status); } &&
5.4192 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.4193 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.4194 - (eval $ac_try) 2>&5
5.4195 - ac_status=$?
5.4196 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4197 - (exit $ac_status); }; } &&
5.4198 - { ac_try='test -s conftest.$ac_objext'
5.4199 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.4200 - (eval $ac_try) 2>&5
5.4201 - ac_status=$?
5.4202 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4203 - (exit $ac_status); }; }; then
5.4204 - ac_cv_header_stdc=yes
5.4205 -else
5.4206 - echo "$as_me: failed program was:" >&5
5.4207 -sed 's/^/| /' conftest.$ac_ext >&5
5.4208 -
5.4209 -ac_cv_header_stdc=no
5.4210 -fi
5.4211 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.4212 -
5.4213 -if test $ac_cv_header_stdc = yes; then
5.4214 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5.4215 - cat >conftest.$ac_ext <<_ACEOF
5.4216 -/* confdefs.h. */
5.4217 -_ACEOF
5.4218 -cat confdefs.h >>conftest.$ac_ext
5.4219 -cat >>conftest.$ac_ext <<_ACEOF
5.4220 -/* end confdefs.h. */
5.4221 -#include <string.h>
5.4222 -
5.4223 -_ACEOF
5.4224 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5.4225 - $EGREP "memchr" >/dev/null 2>&1; then
5.4226 - :
5.4227 -else
5.4228 - ac_cv_header_stdc=no
5.4229 -fi
5.4230 -rm -f conftest*
5.4231 -
5.4232 -fi
5.4233 -
5.4234 -if test $ac_cv_header_stdc = yes; then
5.4235 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5.4236 - cat >conftest.$ac_ext <<_ACEOF
5.4237 -/* confdefs.h. */
5.4238 -_ACEOF
5.4239 -cat confdefs.h >>conftest.$ac_ext
5.4240 -cat >>conftest.$ac_ext <<_ACEOF
5.4241 -/* end confdefs.h. */
5.4242 -#include <stdlib.h>
5.4243 -
5.4244 -_ACEOF
5.4245 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5.4246 - $EGREP "free" >/dev/null 2>&1; then
5.4247 - :
5.4248 -else
5.4249 - ac_cv_header_stdc=no
5.4250 -fi
5.4251 -rm -f conftest*
5.4252 -
5.4253 -fi
5.4254 -
5.4255 -if test $ac_cv_header_stdc = yes; then
5.4256 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5.4257 - if test "$cross_compiling" = yes; then
5.4258 - :
5.4259 -else
5.4260 - cat >conftest.$ac_ext <<_ACEOF
5.4261 -/* confdefs.h. */
5.4262 -_ACEOF
5.4263 -cat confdefs.h >>conftest.$ac_ext
5.4264 -cat >>conftest.$ac_ext <<_ACEOF
5.4265 -/* end confdefs.h. */
5.4266 -#include <ctype.h>
5.4267 -#if ((' ' & 0x0FF) == 0x020)
5.4268 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5.4269 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5.4270 -#else
5.4271 -# define ISLOWER(c) \
5.4272 - (('a' <= (c) && (c) <= 'i') \
5.4273 - || ('j' <= (c) && (c) <= 'r') \
5.4274 - || ('s' <= (c) && (c) <= 'z'))
5.4275 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5.4276 -#endif
5.4277 -
5.4278 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5.4279 -int
5.4280 -main ()
5.4281 -{
5.4282 - int i;
5.4283 - for (i = 0; i < 256; i++)
5.4284 - if (XOR (islower (i), ISLOWER (i))
5.4285 - || toupper (i) != TOUPPER (i))
5.4286 - exit(2);
5.4287 - exit (0);
5.4288 -}
5.4289 -_ACEOF
5.4290 -rm -f conftest$ac_exeext
5.4291 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.4292 - (eval $ac_link) 2>&5
5.4293 - ac_status=$?
5.4294 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4295 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5.4296 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.4297 - (eval $ac_try) 2>&5
5.4298 - ac_status=$?
5.4299 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4300 - (exit $ac_status); }; }; then
5.4301 - :
5.4302 -else
5.4303 - echo "$as_me: program exited with status $ac_status" >&5
5.4304 -echo "$as_me: failed program was:" >&5
5.4305 -sed 's/^/| /' conftest.$ac_ext >&5
5.4306 -
5.4307 -( exit $ac_status )
5.4308 -ac_cv_header_stdc=no
5.4309 -fi
5.4310 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5.4311 -fi
5.4312 -fi
5.4313 -fi
5.4314 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5.4315 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
5.4316 -if test $ac_cv_header_stdc = yes; then
5.4317 -
5.4318 -cat >>confdefs.h <<\_ACEOF
5.4319 -@%:@define STDC_HEADERS 1
5.4320 -_ACEOF
5.4321 -
5.4322 -fi
5.4323 -
5.4324 -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5.4325 -
5.4326 -
5.4327 -
5.4328 -
5.4329 -
5.4330 -
5.4331 -
5.4332 -
5.4333 -
5.4334 -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5.4335 - inttypes.h stdint.h unistd.h
5.4336 -do
5.4337 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5.4338 -echo "$as_me:$LINENO: checking for $ac_header" >&5
5.4339 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5.4340 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
5.4341 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.4342 -else
5.4343 - cat >conftest.$ac_ext <<_ACEOF
5.4344 -/* confdefs.h. */
5.4345 -_ACEOF
5.4346 -cat confdefs.h >>conftest.$ac_ext
5.4347 -cat >>conftest.$ac_ext <<_ACEOF
5.4348 -/* end confdefs.h. */
5.4349 -$ac_includes_default
5.4350 -
5.4351 -@%:@include <$ac_header>
5.4352 -_ACEOF
5.4353 -rm -f conftest.$ac_objext
5.4354 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.4355 - (eval $ac_compile) 2>conftest.er1
5.4356 - ac_status=$?
5.4357 - grep -v '^ *+' conftest.er1 >conftest.err
5.4358 - rm -f conftest.er1
5.4359 - cat conftest.err >&5
5.4360 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4361 - (exit $ac_status); } &&
5.4362 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.4363 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.4364 - (eval $ac_try) 2>&5
5.4365 - ac_status=$?
5.4366 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4367 - (exit $ac_status); }; } &&
5.4368 - { ac_try='test -s conftest.$ac_objext'
5.4369 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.4370 - (eval $ac_try) 2>&5
5.4371 - ac_status=$?
5.4372 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4373 - (exit $ac_status); }; }; then
5.4374 - eval "$as_ac_Header=yes"
5.4375 -else
5.4376 - echo "$as_me: failed program was:" >&5
5.4377 -sed 's/^/| /' conftest.$ac_ext >&5
5.4378 -
5.4379 -eval "$as_ac_Header=no"
5.4380 -fi
5.4381 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.4382 -fi
5.4383 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5.4384 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5.4385 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
5.4386 - cat >>confdefs.h <<_ACEOF
5.4387 -@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5.4388 -_ACEOF
5.4389 -
5.4390 -fi
5.4391 -
5.4392 -done
5.4393 -
5.4394 -
5.4395 -
5.4396 -for ac_header in dlfcn.h
5.4397 -do
5.4398 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5.4399 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
5.4400 - echo "$as_me:$LINENO: checking for $ac_header" >&5
5.4401 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5.4402 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
5.4403 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.4404 -fi
5.4405 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5.4406 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5.4407 -else
5.4408 - # Is the header compilable?
5.4409 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
5.4410 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5.4411 -cat >conftest.$ac_ext <<_ACEOF
5.4412 -/* confdefs.h. */
5.4413 -_ACEOF
5.4414 -cat confdefs.h >>conftest.$ac_ext
5.4415 -cat >>conftest.$ac_ext <<_ACEOF
5.4416 -/* end confdefs.h. */
5.4417 -$ac_includes_default
5.4418 -@%:@include <$ac_header>
5.4419 -_ACEOF
5.4420 -rm -f conftest.$ac_objext
5.4421 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.4422 - (eval $ac_compile) 2>conftest.er1
5.4423 - ac_status=$?
5.4424 - grep -v '^ *+' conftest.er1 >conftest.err
5.4425 - rm -f conftest.er1
5.4426 - cat conftest.err >&5
5.4427 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4428 - (exit $ac_status); } &&
5.4429 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.4430 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.4431 - (eval $ac_try) 2>&5
5.4432 - ac_status=$?
5.4433 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4434 - (exit $ac_status); }; } &&
5.4435 - { ac_try='test -s conftest.$ac_objext'
5.4436 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.4437 - (eval $ac_try) 2>&5
5.4438 - ac_status=$?
5.4439 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4440 - (exit $ac_status); }; }; then
5.4441 - ac_header_compiler=yes
5.4442 -else
5.4443 - echo "$as_me: failed program was:" >&5
5.4444 -sed 's/^/| /' conftest.$ac_ext >&5
5.4445 -
5.4446 -ac_header_compiler=no
5.4447 -fi
5.4448 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.4449 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5.4450 -echo "${ECHO_T}$ac_header_compiler" >&6
5.4451 -
5.4452 -# Is the header present?
5.4453 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
5.4454 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5.4455 -cat >conftest.$ac_ext <<_ACEOF
5.4456 -/* confdefs.h. */
5.4457 -_ACEOF
5.4458 -cat confdefs.h >>conftest.$ac_ext
5.4459 -cat >>conftest.$ac_ext <<_ACEOF
5.4460 -/* end confdefs.h. */
5.4461 -@%:@include <$ac_header>
5.4462 -_ACEOF
5.4463 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5.4464 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5.4465 - ac_status=$?
5.4466 - grep -v '^ *+' conftest.er1 >conftest.err
5.4467 - rm -f conftest.er1
5.4468 - cat conftest.err >&5
5.4469 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4470 - (exit $ac_status); } >/dev/null; then
5.4471 - if test -s conftest.err; then
5.4472 - ac_cpp_err=$ac_c_preproc_warn_flag
5.4473 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5.4474 - else
5.4475 - ac_cpp_err=
5.4476 - fi
5.4477 -else
5.4478 - ac_cpp_err=yes
5.4479 -fi
5.4480 -if test -z "$ac_cpp_err"; then
5.4481 - ac_header_preproc=yes
5.4482 -else
5.4483 - echo "$as_me: failed program was:" >&5
5.4484 -sed 's/^/| /' conftest.$ac_ext >&5
5.4485 -
5.4486 - ac_header_preproc=no
5.4487 -fi
5.4488 -rm -f conftest.err conftest.$ac_ext
5.4489 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5.4490 -echo "${ECHO_T}$ac_header_preproc" >&6
5.4491 -
5.4492 -# So? What about this header?
5.4493 -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5.4494 - yes:no: )
5.4495 - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5.4496 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5.4497 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5.4498 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5.4499 - ac_header_preproc=yes
5.4500 - ;;
5.4501 - no:yes:* )
5.4502 - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5.4503 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5.4504 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5.4505 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5.4506 - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5.4507 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5.4508 - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5.4509 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5.4510 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5.4511 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5.4512 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5.4513 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5.4514 - (
5.4515 - cat <<\_ASBOX
5.4516 -@%:@@%:@ ------------------------------------------ @%:@@%:@
5.4517 -@%:@@%:@ Report this to the AC_PACKAGE_NAME lists. @%:@@%:@
5.4518 -@%:@@%:@ ------------------------------------------ @%:@@%:@
5.4519 -_ASBOX
5.4520 - ) |
5.4521 - sed "s/^/$as_me: WARNING: /" >&2
5.4522 - ;;
5.4523 -esac
5.4524 -echo "$as_me:$LINENO: checking for $ac_header" >&5
5.4525 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5.4526 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
5.4527 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.4528 -else
5.4529 - eval "$as_ac_Header=\$ac_header_preproc"
5.4530 -fi
5.4531 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5.4532 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5.4533 -
5.4534 -fi
5.4535 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
5.4536 - cat >>confdefs.h <<_ACEOF
5.4537 -@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5.4538 -_ACEOF
5.4539 -
5.4540 -fi
5.4541 -
5.4542 -done
5.4543 -
5.4544 -ac_ext=cc
5.4545 -ac_cpp='$CXXCPP $CPPFLAGS'
5.4546 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.4547 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.4548 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5.4549 -if test -n "$ac_tool_prefix"; then
5.4550 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
5.4551 - do
5.4552 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5.4553 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5.4554 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.4555 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.4556 -if test "${ac_cv_prog_CXX+set}" = set; then
5.4557 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.4558 -else
5.4559 - if test -n "$CXX"; then
5.4560 - ac_cv_prog_CXX="$CXX" # Let the user override the test.
5.4561 -else
5.4562 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.4563 -for as_dir in $PATH
5.4564 -do
5.4565 - IFS=$as_save_IFS
5.4566 - test -z "$as_dir" && as_dir=.
5.4567 - for ac_exec_ext in '' $ac_executable_extensions; do
5.4568 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.4569 - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5.4570 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.4571 - break 2
5.4572 - fi
5.4573 -done
5.4574 -done
5.4575 -
5.4576 -fi
5.4577 -fi
5.4578 -CXX=$ac_cv_prog_CXX
5.4579 -if test -n "$CXX"; then
5.4580 - echo "$as_me:$LINENO: result: $CXX" >&5
5.4581 -echo "${ECHO_T}$CXX" >&6
5.4582 -else
5.4583 - echo "$as_me:$LINENO: result: no" >&5
5.4584 -echo "${ECHO_T}no" >&6
5.4585 -fi
5.4586 -
5.4587 - test -n "$CXX" && break
5.4588 - done
5.4589 -fi
5.4590 -if test -z "$CXX"; then
5.4591 - ac_ct_CXX=$CXX
5.4592 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
5.4593 -do
5.4594 - # Extract the first word of "$ac_prog", so it can be a program name with args.
5.4595 -set dummy $ac_prog; ac_word=$2
5.4596 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.4597 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.4598 -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5.4599 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.4600 -else
5.4601 - if test -n "$ac_ct_CXX"; then
5.4602 - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5.4603 -else
5.4604 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.4605 -for as_dir in $PATH
5.4606 -do
5.4607 - IFS=$as_save_IFS
5.4608 - test -z "$as_dir" && as_dir=.
5.4609 - for ac_exec_ext in '' $ac_executable_extensions; do
5.4610 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.4611 - ac_cv_prog_ac_ct_CXX="$ac_prog"
5.4612 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.4613 - break 2
5.4614 - fi
5.4615 -done
5.4616 -done
5.4617 -
5.4618 -fi
5.4619 -fi
5.4620 -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5.4621 -if test -n "$ac_ct_CXX"; then
5.4622 - echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5.4623 -echo "${ECHO_T}$ac_ct_CXX" >&6
5.4624 -else
5.4625 - echo "$as_me:$LINENO: result: no" >&5
5.4626 -echo "${ECHO_T}no" >&6
5.4627 -fi
5.4628 -
5.4629 - test -n "$ac_ct_CXX" && break
5.4630 -done
5.4631 -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
5.4632 -
5.4633 - CXX=$ac_ct_CXX
5.4634 -fi
5.4635 -
5.4636 -
5.4637 -# Provide some information about the compiler.
5.4638 -echo "$as_me:$LINENO:" \
5.4639 - "checking for C++ compiler version" >&5
5.4640 -ac_compiler=`set X $ac_compile; echo $2`
5.4641 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5.4642 - (eval $ac_compiler --version </dev/null >&5) 2>&5
5.4643 - ac_status=$?
5.4644 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4645 - (exit $ac_status); }
5.4646 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5.4647 - (eval $ac_compiler -v </dev/null >&5) 2>&5
5.4648 - ac_status=$?
5.4649 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4650 - (exit $ac_status); }
5.4651 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5.4652 - (eval $ac_compiler -V </dev/null >&5) 2>&5
5.4653 - ac_status=$?
5.4654 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4655 - (exit $ac_status); }
5.4656 -
5.4657 -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5.4658 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5.4659 -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5.4660 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.4661 -else
5.4662 - cat >conftest.$ac_ext <<_ACEOF
5.4663 -/* confdefs.h. */
5.4664 -_ACEOF
5.4665 -cat confdefs.h >>conftest.$ac_ext
5.4666 -cat >>conftest.$ac_ext <<_ACEOF
5.4667 -/* end confdefs.h. */
5.4668 -
5.4669 -int
5.4670 -main ()
5.4671 -{
5.4672 -#ifndef __GNUC__
5.4673 - choke me
5.4674 -#endif
5.4675 -
5.4676 - ;
5.4677 - return 0;
5.4678 -}
5.4679 -_ACEOF
5.4680 -rm -f conftest.$ac_objext
5.4681 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.4682 - (eval $ac_compile) 2>conftest.er1
5.4683 - ac_status=$?
5.4684 - grep -v '^ *+' conftest.er1 >conftest.err
5.4685 - rm -f conftest.er1
5.4686 - cat conftest.err >&5
5.4687 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4688 - (exit $ac_status); } &&
5.4689 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5.4690 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.4691 - (eval $ac_try) 2>&5
5.4692 - ac_status=$?
5.4693 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4694 - (exit $ac_status); }; } &&
5.4695 - { ac_try='test -s conftest.$ac_objext'
5.4696 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.4697 - (eval $ac_try) 2>&5
5.4698 - ac_status=$?
5.4699 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4700 - (exit $ac_status); }; }; then
5.4701 - ac_compiler_gnu=yes
5.4702 -else
5.4703 - echo "$as_me: failed program was:" >&5
5.4704 -sed 's/^/| /' conftest.$ac_ext >&5
5.4705 -
5.4706 -ac_compiler_gnu=no
5.4707 -fi
5.4708 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.4709 -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5.4710 -
5.4711 -fi
5.4712 -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5.4713 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5.4714 -GXX=`test $ac_compiler_gnu = yes && echo yes`
5.4715 -ac_test_CXXFLAGS=${CXXFLAGS+set}
5.4716 -ac_save_CXXFLAGS=$CXXFLAGS
5.4717 -CXXFLAGS="-g"
5.4718 -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5.4719 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5.4720 -if test "${ac_cv_prog_cxx_g+set}" = set; then
5.4721 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.4722 -else
5.4723 - cat >conftest.$ac_ext <<_ACEOF
5.4724 -/* confdefs.h. */
5.4725 -_ACEOF
5.4726 -cat confdefs.h >>conftest.$ac_ext
5.4727 -cat >>conftest.$ac_ext <<_ACEOF
5.4728 -/* end confdefs.h. */
5.4729 -
5.4730 -int
5.4731 -main ()
5.4732 -{
5.4733 -
5.4734 - ;
5.4735 - return 0;
5.4736 -}
5.4737 -_ACEOF
5.4738 -rm -f conftest.$ac_objext
5.4739 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.4740 - (eval $ac_compile) 2>conftest.er1
5.4741 - ac_status=$?
5.4742 - grep -v '^ *+' conftest.er1 >conftest.err
5.4743 - rm -f conftest.er1
5.4744 - cat conftest.err >&5
5.4745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4746 - (exit $ac_status); } &&
5.4747 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5.4748 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.4749 - (eval $ac_try) 2>&5
5.4750 - ac_status=$?
5.4751 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4752 - (exit $ac_status); }; } &&
5.4753 - { ac_try='test -s conftest.$ac_objext'
5.4754 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.4755 - (eval $ac_try) 2>&5
5.4756 - ac_status=$?
5.4757 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4758 - (exit $ac_status); }; }; then
5.4759 - ac_cv_prog_cxx_g=yes
5.4760 -else
5.4761 - echo "$as_me: failed program was:" >&5
5.4762 -sed 's/^/| /' conftest.$ac_ext >&5
5.4763 -
5.4764 -ac_cv_prog_cxx_g=no
5.4765 -fi
5.4766 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.4767 -fi
5.4768 -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5.4769 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5.4770 -if test "$ac_test_CXXFLAGS" = set; then
5.4771 - CXXFLAGS=$ac_save_CXXFLAGS
5.4772 -elif test $ac_cv_prog_cxx_g = yes; then
5.4773 - if test "$GXX" = yes; then
5.4774 - CXXFLAGS="-g -O2"
5.4775 - else
5.4776 - CXXFLAGS="-g"
5.4777 - fi
5.4778 -else
5.4779 - if test "$GXX" = yes; then
5.4780 - CXXFLAGS="-O2"
5.4781 - else
5.4782 - CXXFLAGS=
5.4783 - fi
5.4784 -fi
5.4785 -for ac_declaration in \
5.4786 - '' \
5.4787 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
5.4788 - 'extern "C" void std::exit (int); using std::exit;' \
5.4789 - 'extern "C" void exit (int) throw ();' \
5.4790 - 'extern "C" void exit (int);' \
5.4791 - 'void exit (int);'
5.4792 -do
5.4793 - cat >conftest.$ac_ext <<_ACEOF
5.4794 -/* confdefs.h. */
5.4795 -_ACEOF
5.4796 -cat confdefs.h >>conftest.$ac_ext
5.4797 -cat >>conftest.$ac_ext <<_ACEOF
5.4798 -/* end confdefs.h. */
5.4799 -$ac_declaration
5.4800 -@%:@include <stdlib.h>
5.4801 -int
5.4802 -main ()
5.4803 -{
5.4804 -exit (42);
5.4805 - ;
5.4806 - return 0;
5.4807 -}
5.4808 -_ACEOF
5.4809 -rm -f conftest.$ac_objext
5.4810 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.4811 - (eval $ac_compile) 2>conftest.er1
5.4812 - ac_status=$?
5.4813 - grep -v '^ *+' conftest.er1 >conftest.err
5.4814 - rm -f conftest.er1
5.4815 - cat conftest.err >&5
5.4816 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4817 - (exit $ac_status); } &&
5.4818 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5.4819 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.4820 - (eval $ac_try) 2>&5
5.4821 - ac_status=$?
5.4822 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4823 - (exit $ac_status); }; } &&
5.4824 - { ac_try='test -s conftest.$ac_objext'
5.4825 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.4826 - (eval $ac_try) 2>&5
5.4827 - ac_status=$?
5.4828 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4829 - (exit $ac_status); }; }; then
5.4830 - :
5.4831 -else
5.4832 - echo "$as_me: failed program was:" >&5
5.4833 -sed 's/^/| /' conftest.$ac_ext >&5
5.4834 -
5.4835 -continue
5.4836 -fi
5.4837 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.4838 - cat >conftest.$ac_ext <<_ACEOF
5.4839 -/* confdefs.h. */
5.4840 -_ACEOF
5.4841 -cat confdefs.h >>conftest.$ac_ext
5.4842 -cat >>conftest.$ac_ext <<_ACEOF
5.4843 -/* end confdefs.h. */
5.4844 -$ac_declaration
5.4845 -int
5.4846 -main ()
5.4847 -{
5.4848 -exit (42);
5.4849 - ;
5.4850 - return 0;
5.4851 -}
5.4852 -_ACEOF
5.4853 -rm -f conftest.$ac_objext
5.4854 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.4855 - (eval $ac_compile) 2>conftest.er1
5.4856 - ac_status=$?
5.4857 - grep -v '^ *+' conftest.er1 >conftest.err
5.4858 - rm -f conftest.er1
5.4859 - cat conftest.err >&5
5.4860 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4861 - (exit $ac_status); } &&
5.4862 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5.4863 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.4864 - (eval $ac_try) 2>&5
5.4865 - ac_status=$?
5.4866 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4867 - (exit $ac_status); }; } &&
5.4868 - { ac_try='test -s conftest.$ac_objext'
5.4869 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.4870 - (eval $ac_try) 2>&5
5.4871 - ac_status=$?
5.4872 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.4873 - (exit $ac_status); }; }; then
5.4874 - break
5.4875 -else
5.4876 - echo "$as_me: failed program was:" >&5
5.4877 -sed 's/^/| /' conftest.$ac_ext >&5
5.4878 -
5.4879 -fi
5.4880 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.4881 -done
5.4882 -rm -f conftest*
5.4883 -if test -n "$ac_declaration"; then
5.4884 - echo '#ifdef __cplusplus' >>confdefs.h
5.4885 - echo $ac_declaration >>confdefs.h
5.4886 - echo '#endif' >>confdefs.h
5.4887 -fi
5.4888 -
5.4889 -ac_ext=cc
5.4890 -ac_cpp='$CXXCPP $CPPFLAGS'
5.4891 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.4892 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.4893 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5.4894 -
5.4895 -depcc="$CXX" am_compiler_list=
5.4896 -
5.4897 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5.4898 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5.4899 -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5.4900 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.4901 -else
5.4902 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5.4903 - # We make a subdir and do the tests there. Otherwise we can end up
5.4904 - # making bogus files that we don't know about and never remove. For
5.4905 - # instance it was reported that on HP-UX the gcc test will end up
5.4906 - # making a dummy file named `D' -- because `-MD' means `put the output
5.4907 - # in D'.
5.4908 - mkdir conftest.dir
5.4909 - # Copy depcomp to subdir because otherwise we won't find it if we're
5.4910 - # using a relative directory.
5.4911 - cp "$am_depcomp" conftest.dir
5.4912 - cd conftest.dir
5.4913 - # We will build objects and dependencies in a subdirectory because
5.4914 - # it helps to detect inapplicable dependency modes. For instance
5.4915 - # both Tru64's cc and ICC support -MD to output dependencies as a
5.4916 - # side effect of compilation, but ICC will put the dependencies in
5.4917 - # the current directory while Tru64 will put them in the object
5.4918 - # directory.
5.4919 - mkdir sub
5.4920 -
5.4921 - am_cv_CXX_dependencies_compiler_type=none
5.4922 - if test "$am_compiler_list" = ""; then
5.4923 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5.4924 - fi
5.4925 - for depmode in $am_compiler_list; do
5.4926 - # Setup a source with many dependencies, because some compilers
5.4927 - # like to wrap large dependency lists on column 80 (with \), and
5.4928 - # we should not choose a depcomp mode which is confused by this.
5.4929 - #
5.4930 - # We need to recreate these files for each test, as the compiler may
5.4931 - # overwrite some of them when testing with obscure command lines.
5.4932 - # This happens at least with the AIX C compiler.
5.4933 - : > sub/conftest.c
5.4934 - for i in 1 2 3 4 5 6; do
5.4935 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
5.4936 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5.4937 - # Solaris 8's {/usr,}/bin/sh.
5.4938 - touch sub/conftst$i.h
5.4939 - done
5.4940 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5.4941 -
5.4942 - case $depmode in
5.4943 - nosideeffect)
5.4944 - # after this tag, mechanisms are not by side-effect, so they'll
5.4945 - # only be used when explicitly requested
5.4946 - if test "x$enable_dependency_tracking" = xyes; then
5.4947 - continue
5.4948 - else
5.4949 - break
5.4950 - fi
5.4951 - ;;
5.4952 - none) break ;;
5.4953 - esac
5.4954 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
5.4955 - # mode. It turns out that the SunPro C++ compiler does not properly
5.4956 - # handle `-M -o', and we need to detect this.
5.4957 - if depmode=$depmode \
5.4958 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5.4959 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5.4960 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5.4961 - >/dev/null 2>conftest.err &&
5.4962 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5.4963 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5.4964 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5.4965 - # icc doesn't choke on unknown options, it will just issue warnings
5.4966 - # or remarks (even with -Werror). So we grep stderr for any message
5.4967 - # that says an option was ignored or not supported.
5.4968 - # When given -MP, icc 7.0 and 7.1 complain thusly:
5.4969 - # icc: Command line warning: ignoring option '-M'; no argument required
5.4970 - # The diagnosis changed in icc 8.0:
5.4971 - # icc: Command line remark: option '-MP' not supported
5.4972 - if (grep 'ignoring option' conftest.err ||
5.4973 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5.4974 - am_cv_CXX_dependencies_compiler_type=$depmode
5.4975 - break
5.4976 - fi
5.4977 - fi
5.4978 - done
5.4979 -
5.4980 - cd ..
5.4981 - rm -rf conftest.dir
5.4982 -else
5.4983 - am_cv_CXX_dependencies_compiler_type=none
5.4984 -fi
5.4985 -
5.4986 -fi
5.4987 -echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5.4988 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5.4989 -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5.4990 -
5.4991 -
5.4992 -
5.4993 -if
5.4994 - test "x$enable_dependency_tracking" != xno \
5.4995 - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5.4996 - am__fastdepCXX_TRUE=
5.4997 - am__fastdepCXX_FALSE='#'
5.4998 -else
5.4999 - am__fastdepCXX_TRUE='#'
5.5000 - am__fastdepCXX_FALSE=
5.5001 -fi
5.5002 -
5.5003 -
5.5004 -
5.5005 -
5.5006 -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5.5007 - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5.5008 - (test "X$CXX" != "Xg++"))) ; then
5.5009 - ac_ext=cc
5.5010 -ac_cpp='$CXXCPP $CPPFLAGS'
5.5011 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.5012 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.5013 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5.5014 -echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5.5015 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5.5016 -if test -z "$CXXCPP"; then
5.5017 - if test "${ac_cv_prog_CXXCPP+set}" = set; then
5.5018 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.5019 -else
5.5020 - # Double quotes because CXXCPP needs to be expanded
5.5021 - for CXXCPP in "$CXX -E" "/lib/cpp"
5.5022 - do
5.5023 - ac_preproc_ok=false
5.5024 -for ac_cxx_preproc_warn_flag in '' yes
5.5025 -do
5.5026 - # Use a header file that comes with gcc, so configuring glibc
5.5027 - # with a fresh cross-compiler works.
5.5028 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5.5029 - # <limits.h> exists even on freestanding compilers.
5.5030 - # On the NeXT, cc -E runs the code through the compiler's parser,
5.5031 - # not just through cpp. "Syntax error" is here to catch this case.
5.5032 - cat >conftest.$ac_ext <<_ACEOF
5.5033 -/* confdefs.h. */
5.5034 -_ACEOF
5.5035 -cat confdefs.h >>conftest.$ac_ext
5.5036 -cat >>conftest.$ac_ext <<_ACEOF
5.5037 -/* end confdefs.h. */
5.5038 -@%:@ifdef __STDC__
5.5039 -@%:@ include <limits.h>
5.5040 -@%:@else
5.5041 -@%:@ include <assert.h>
5.5042 -@%:@endif
5.5043 - Syntax error
5.5044 -_ACEOF
5.5045 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5.5046 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5.5047 - ac_status=$?
5.5048 - grep -v '^ *+' conftest.er1 >conftest.err
5.5049 - rm -f conftest.er1
5.5050 - cat conftest.err >&5
5.5051 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.5052 - (exit $ac_status); } >/dev/null; then
5.5053 - if test -s conftest.err; then
5.5054 - ac_cpp_err=$ac_cxx_preproc_warn_flag
5.5055 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5.5056 - else
5.5057 - ac_cpp_err=
5.5058 - fi
5.5059 -else
5.5060 - ac_cpp_err=yes
5.5061 -fi
5.5062 -if test -z "$ac_cpp_err"; then
5.5063 - :
5.5064 -else
5.5065 - echo "$as_me: failed program was:" >&5
5.5066 -sed 's/^/| /' conftest.$ac_ext >&5
5.5067 -
5.5068 - # Broken: fails on valid input.
5.5069 -continue
5.5070 -fi
5.5071 -rm -f conftest.err conftest.$ac_ext
5.5072 -
5.5073 - # OK, works on sane cases. Now check whether non-existent headers
5.5074 - # can be detected and how.
5.5075 - cat >conftest.$ac_ext <<_ACEOF
5.5076 -/* confdefs.h. */
5.5077 -_ACEOF
5.5078 -cat confdefs.h >>conftest.$ac_ext
5.5079 -cat >>conftest.$ac_ext <<_ACEOF
5.5080 -/* end confdefs.h. */
5.5081 -@%:@include <ac_nonexistent.h>
5.5082 -_ACEOF
5.5083 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5.5084 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5.5085 - ac_status=$?
5.5086 - grep -v '^ *+' conftest.er1 >conftest.err
5.5087 - rm -f conftest.er1
5.5088 - cat conftest.err >&5
5.5089 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.5090 - (exit $ac_status); } >/dev/null; then
5.5091 - if test -s conftest.err; then
5.5092 - ac_cpp_err=$ac_cxx_preproc_warn_flag
5.5093 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5.5094 - else
5.5095 - ac_cpp_err=
5.5096 - fi
5.5097 -else
5.5098 - ac_cpp_err=yes
5.5099 -fi
5.5100 -if test -z "$ac_cpp_err"; then
5.5101 - # Broken: success on invalid input.
5.5102 -continue
5.5103 -else
5.5104 - echo "$as_me: failed program was:" >&5
5.5105 -sed 's/^/| /' conftest.$ac_ext >&5
5.5106 -
5.5107 - # Passes both tests.
5.5108 -ac_preproc_ok=:
5.5109 -break
5.5110 -fi
5.5111 -rm -f conftest.err conftest.$ac_ext
5.5112 -
5.5113 -done
5.5114 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5.5115 -rm -f conftest.err conftest.$ac_ext
5.5116 -if $ac_preproc_ok; then
5.5117 - break
5.5118 -fi
5.5119 -
5.5120 - done
5.5121 - ac_cv_prog_CXXCPP=$CXXCPP
5.5122 -
5.5123 -fi
5.5124 - CXXCPP=$ac_cv_prog_CXXCPP
5.5125 -else
5.5126 - ac_cv_prog_CXXCPP=$CXXCPP
5.5127 -fi
5.5128 -echo "$as_me:$LINENO: result: $CXXCPP" >&5
5.5129 -echo "${ECHO_T}$CXXCPP" >&6
5.5130 -ac_preproc_ok=false
5.5131 -for ac_cxx_preproc_warn_flag in '' yes
5.5132 -do
5.5133 - # Use a header file that comes with gcc, so configuring glibc
5.5134 - # with a fresh cross-compiler works.
5.5135 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5.5136 - # <limits.h> exists even on freestanding compilers.
5.5137 - # On the NeXT, cc -E runs the code through the compiler's parser,
5.5138 - # not just through cpp. "Syntax error" is here to catch this case.
5.5139 - cat >conftest.$ac_ext <<_ACEOF
5.5140 -/* confdefs.h. */
5.5141 -_ACEOF
5.5142 -cat confdefs.h >>conftest.$ac_ext
5.5143 -cat >>conftest.$ac_ext <<_ACEOF
5.5144 -/* end confdefs.h. */
5.5145 -@%:@ifdef __STDC__
5.5146 -@%:@ include <limits.h>
5.5147 -@%:@else
5.5148 -@%:@ include <assert.h>
5.5149 -@%:@endif
5.5150 - Syntax error
5.5151 -_ACEOF
5.5152 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5.5153 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5.5154 - ac_status=$?
5.5155 - grep -v '^ *+' conftest.er1 >conftest.err
5.5156 - rm -f conftest.er1
5.5157 - cat conftest.err >&5
5.5158 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.5159 - (exit $ac_status); } >/dev/null; then
5.5160 - if test -s conftest.err; then
5.5161 - ac_cpp_err=$ac_cxx_preproc_warn_flag
5.5162 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5.5163 - else
5.5164 - ac_cpp_err=
5.5165 - fi
5.5166 -else
5.5167 - ac_cpp_err=yes
5.5168 -fi
5.5169 -if test -z "$ac_cpp_err"; then
5.5170 - :
5.5171 -else
5.5172 - echo "$as_me: failed program was:" >&5
5.5173 -sed 's/^/| /' conftest.$ac_ext >&5
5.5174 -
5.5175 - # Broken: fails on valid input.
5.5176 -continue
5.5177 -fi
5.5178 -rm -f conftest.err conftest.$ac_ext
5.5179 -
5.5180 - # OK, works on sane cases. Now check whether non-existent headers
5.5181 - # can be detected and how.
5.5182 - cat >conftest.$ac_ext <<_ACEOF
5.5183 -/* confdefs.h. */
5.5184 -_ACEOF
5.5185 -cat confdefs.h >>conftest.$ac_ext
5.5186 -cat >>conftest.$ac_ext <<_ACEOF
5.5187 -/* end confdefs.h. */
5.5188 -@%:@include <ac_nonexistent.h>
5.5189 -_ACEOF
5.5190 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5.5191 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5.5192 - ac_status=$?
5.5193 - grep -v '^ *+' conftest.er1 >conftest.err
5.5194 - rm -f conftest.er1
5.5195 - cat conftest.err >&5
5.5196 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.5197 - (exit $ac_status); } >/dev/null; then
5.5198 - if test -s conftest.err; then
5.5199 - ac_cpp_err=$ac_cxx_preproc_warn_flag
5.5200 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5.5201 - else
5.5202 - ac_cpp_err=
5.5203 - fi
5.5204 -else
5.5205 - ac_cpp_err=yes
5.5206 -fi
5.5207 -if test -z "$ac_cpp_err"; then
5.5208 - # Broken: success on invalid input.
5.5209 -continue
5.5210 -else
5.5211 - echo "$as_me: failed program was:" >&5
5.5212 -sed 's/^/| /' conftest.$ac_ext >&5
5.5213 -
5.5214 - # Passes both tests.
5.5215 -ac_preproc_ok=:
5.5216 -break
5.5217 -fi
5.5218 -rm -f conftest.err conftest.$ac_ext
5.5219 -
5.5220 -done
5.5221 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5.5222 -rm -f conftest.err conftest.$ac_ext
5.5223 -if $ac_preproc_ok; then
5.5224 - :
5.5225 -else
5.5226 - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5.5227 -See \`config.log' for more details." >&5
5.5228 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5.5229 -See \`config.log' for more details." >&2;}
5.5230 - { (exit 1); exit 1; }; }
5.5231 -fi
5.5232 -
5.5233 -ac_ext=cc
5.5234 -ac_cpp='$CXXCPP $CPPFLAGS'
5.5235 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.5236 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.5237 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5.5238 -
5.5239 -fi
5.5240 -
5.5241 -
5.5242 -ac_ext=f
5.5243 -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5.5244 -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.5245 -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5.5246 -if test -n "$ac_tool_prefix"; then
5.5247 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5.5248 - do
5.5249 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5.5250 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5.5251 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.5252 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.5253 -if test "${ac_cv_prog_F77+set}" = set; then
5.5254 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.5255 -else
5.5256 - if test -n "$F77"; then
5.5257 - ac_cv_prog_F77="$F77" # Let the user override the test.
5.5258 -else
5.5259 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.5260 -for as_dir in $PATH
5.5261 -do
5.5262 - IFS=$as_save_IFS
5.5263 - test -z "$as_dir" && as_dir=.
5.5264 - for ac_exec_ext in '' $ac_executable_extensions; do
5.5265 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.5266 - ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5.5267 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.5268 - break 2
5.5269 - fi
5.5270 -done
5.5271 -done
5.5272 -
5.5273 -fi
5.5274 -fi
5.5275 -F77=$ac_cv_prog_F77
5.5276 -if test -n "$F77"; then
5.5277 - echo "$as_me:$LINENO: result: $F77" >&5
5.5278 -echo "${ECHO_T}$F77" >&6
5.5279 -else
5.5280 - echo "$as_me:$LINENO: result: no" >&5
5.5281 -echo "${ECHO_T}no" >&6
5.5282 -fi
5.5283 -
5.5284 - test -n "$F77" && break
5.5285 - done
5.5286 -fi
5.5287 -if test -z "$F77"; then
5.5288 - ac_ct_F77=$F77
5.5289 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5.5290 -do
5.5291 - # Extract the first word of "$ac_prog", so it can be a program name with args.
5.5292 -set dummy $ac_prog; ac_word=$2
5.5293 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.5294 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.5295 -if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5.5296 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.5297 -else
5.5298 - if test -n "$ac_ct_F77"; then
5.5299 - ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5.5300 -else
5.5301 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.5302 -for as_dir in $PATH
5.5303 -do
5.5304 - IFS=$as_save_IFS
5.5305 - test -z "$as_dir" && as_dir=.
5.5306 - for ac_exec_ext in '' $ac_executable_extensions; do
5.5307 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.5308 - ac_cv_prog_ac_ct_F77="$ac_prog"
5.5309 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.5310 - break 2
5.5311 - fi
5.5312 -done
5.5313 -done
5.5314 -
5.5315 -fi
5.5316 -fi
5.5317 -ac_ct_F77=$ac_cv_prog_ac_ct_F77
5.5318 -if test -n "$ac_ct_F77"; then
5.5319 - echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5.5320 -echo "${ECHO_T}$ac_ct_F77" >&6
5.5321 -else
5.5322 - echo "$as_me:$LINENO: result: no" >&5
5.5323 -echo "${ECHO_T}no" >&6
5.5324 -fi
5.5325 -
5.5326 - test -n "$ac_ct_F77" && break
5.5327 -done
5.5328 -
5.5329 - F77=$ac_ct_F77
5.5330 -fi
5.5331 -
5.5332 -
5.5333 -# Provide some information about the compiler.
5.5334 -echo "$as_me:__oline__:" \
5.5335 - "checking for Fortran 77 compiler version" >&5
5.5336 -ac_compiler=`set X $ac_compile; echo $2`
5.5337 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5.5338 - (eval $ac_compiler --version </dev/null >&5) 2>&5
5.5339 - ac_status=$?
5.5340 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.5341 - (exit $ac_status); }
5.5342 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5.5343 - (eval $ac_compiler -v </dev/null >&5) 2>&5
5.5344 - ac_status=$?
5.5345 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.5346 - (exit $ac_status); }
5.5347 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5.5348 - (eval $ac_compiler -V </dev/null >&5) 2>&5
5.5349 - ac_status=$?
5.5350 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.5351 - (exit $ac_status); }
5.5352 -rm -f a.out
5.5353 -
5.5354 -# If we don't use `.F' as extension, the preprocessor is not run on the
5.5355 -# input file. (Note that this only needs to work for GNU compilers.)
5.5356 -ac_save_ext=$ac_ext
5.5357 -ac_ext=F
5.5358 -echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5.5359 -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5.5360 -if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5.5361 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.5362 -else
5.5363 - cat >conftest.$ac_ext <<_ACEOF
5.5364 - program main
5.5365 -#ifndef __GNUC__
5.5366 - choke me
5.5367 -#endif
5.5368 -
5.5369 - end
5.5370 -_ACEOF
5.5371 -rm -f conftest.$ac_objext
5.5372 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.5373 - (eval $ac_compile) 2>conftest.er1
5.5374 - ac_status=$?
5.5375 - grep -v '^ *+' conftest.er1 >conftest.err
5.5376 - rm -f conftest.er1
5.5377 - cat conftest.err >&5
5.5378 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.5379 - (exit $ac_status); } &&
5.5380 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
5.5381 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.5382 - (eval $ac_try) 2>&5
5.5383 - ac_status=$?
5.5384 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.5385 - (exit $ac_status); }; } &&
5.5386 - { ac_try='test -s conftest.$ac_objext'
5.5387 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.5388 - (eval $ac_try) 2>&5
5.5389 - ac_status=$?
5.5390 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.5391 - (exit $ac_status); }; }; then
5.5392 - ac_compiler_gnu=yes
5.5393 -else
5.5394 - echo "$as_me: failed program was:" >&5
5.5395 -sed 's/^/| /' conftest.$ac_ext >&5
5.5396 -
5.5397 -ac_compiler_gnu=no
5.5398 -fi
5.5399 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.5400 -ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5.5401 -
5.5402 -fi
5.5403 -echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5.5404 -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5.5405 -ac_ext=$ac_save_ext
5.5406 -ac_test_FFLAGS=${FFLAGS+set}
5.5407 -ac_save_FFLAGS=$FFLAGS
5.5408 -FFLAGS=
5.5409 -echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5.5410 -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5.5411 -if test "${ac_cv_prog_f77_g+set}" = set; then
5.5412 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.5413 -else
5.5414 - FFLAGS=-g
5.5415 -cat >conftest.$ac_ext <<_ACEOF
5.5416 - program main
5.5417 -
5.5418 - end
5.5419 -_ACEOF
5.5420 -rm -f conftest.$ac_objext
5.5421 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.5422 - (eval $ac_compile) 2>conftest.er1
5.5423 - ac_status=$?
5.5424 - grep -v '^ *+' conftest.er1 >conftest.err
5.5425 - rm -f conftest.er1
5.5426 - cat conftest.err >&5
5.5427 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.5428 - (exit $ac_status); } &&
5.5429 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
5.5430 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.5431 - (eval $ac_try) 2>&5
5.5432 - ac_status=$?
5.5433 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.5434 - (exit $ac_status); }; } &&
5.5435 - { ac_try='test -s conftest.$ac_objext'
5.5436 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.5437 - (eval $ac_try) 2>&5
5.5438 - ac_status=$?
5.5439 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.5440 - (exit $ac_status); }; }; then
5.5441 - ac_cv_prog_f77_g=yes
5.5442 -else
5.5443 - echo "$as_me: failed program was:" >&5
5.5444 -sed 's/^/| /' conftest.$ac_ext >&5
5.5445 -
5.5446 -ac_cv_prog_f77_g=no
5.5447 -fi
5.5448 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.5449 -
5.5450 -fi
5.5451 -echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5.5452 -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5.5453 -if test "$ac_test_FFLAGS" = set; then
5.5454 - FFLAGS=$ac_save_FFLAGS
5.5455 -elif test $ac_cv_prog_f77_g = yes; then
5.5456 - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5.5457 - FFLAGS="-g -O2"
5.5458 - else
5.5459 - FFLAGS="-g"
5.5460 - fi
5.5461 -else
5.5462 - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5.5463 - FFLAGS="-O2"
5.5464 - else
5.5465 - FFLAGS=
5.5466 - fi
5.5467 -fi
5.5468 -
5.5469 -G77=`test $ac_compiler_gnu = yes && echo yes`
5.5470 -ac_ext=c
5.5471 -ac_cpp='$CPP $CPPFLAGS'
5.5472 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.5473 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.5474 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.5475 -
5.5476 -
5.5477 -
5.5478 -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5.5479 -
5.5480 -# find the maximum length of command line arguments
5.5481 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5.5482 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5.5483 -if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5.5484 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.5485 -else
5.5486 - i=0
5.5487 - teststring="ABCD"
5.5488 -
5.5489 - case $build_os in
5.5490 - msdosdjgpp*)
5.5491 - # On DJGPP, this test can blow up pretty badly due to problems in libc
5.5492 - # (any single argument exceeding 2000 bytes causes a buffer overrun
5.5493 - # during glob expansion). Even if it were fixed, the result of this
5.5494 - # check would be larger than it should be.
5.5495 - lt_cv_sys_max_cmd_len=12288; # 12K is about right
5.5496 - ;;
5.5497 -
5.5498 - gnu*)
5.5499 - # Under GNU Hurd, this test is not required because there is
5.5500 - # no limit to the length of command line arguments.
5.5501 - # Libtool will interpret -1 as no limit whatsoever
5.5502 - lt_cv_sys_max_cmd_len=-1;
5.5503 - ;;
5.5504 -
5.5505 - cygwin* | mingw*)
5.5506 - # On Win9x/ME, this test blows up -- it succeeds, but takes
5.5507 - # about 5 minutes as the teststring grows exponentially.
5.5508 - # Worse, since 9x/ME are not pre-emptively multitasking,
5.5509 - # you end up with a "frozen" computer, even though with patience
5.5510 - # the test eventually succeeds (with a max line length of 256k).
5.5511 - # Instead, let's just punt: use the minimum linelength reported by
5.5512 - # all of the supported platforms: 8192 (on NT/2K/XP).
5.5513 - lt_cv_sys_max_cmd_len=8192;
5.5514 - ;;
5.5515 -
5.5516 - amigaos*)
5.5517 - # On AmigaOS with pdksh, this test takes hours, literally.
5.5518 - # So we just punt and use a minimum line length of 8192.
5.5519 - lt_cv_sys_max_cmd_len=8192;
5.5520 - ;;
5.5521 -
5.5522 - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5.5523 - # This has been around since 386BSD, at least. Likely further.
5.5524 - if test -x /sbin/sysctl; then
5.5525 - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5.5526 - elif test -x /usr/sbin/sysctl; then
5.5527 - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5.5528 - else
5.5529 - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5.5530 - fi
5.5531 - # And add a safety zone
5.5532 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5.5533 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5.5534 - ;;
5.5535 - osf*)
5.5536 - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5.5537 - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5.5538 - # nice to cause kernel panics so lets avoid the loop below.
5.5539 - # First set a reasonable default.
5.5540 - lt_cv_sys_max_cmd_len=16384
5.5541 - #
5.5542 - if test -x /sbin/sysconfig; then
5.5543 - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5.5544 - *1*) lt_cv_sys_max_cmd_len=-1 ;;
5.5545 - esac
5.5546 - fi
5.5547 - ;;
5.5548 - *)
5.5549 - # If test is not a shell built-in, we'll probably end up computing a
5.5550 - # maximum length that is only half of the actual maximum length, but
5.5551 - # we can't tell.
5.5552 - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5.5553 - while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5.5554 - = "XX$teststring") >/dev/null 2>&1 &&
5.5555 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
5.5556 - lt_cv_sys_max_cmd_len=$new_result &&
5.5557 - test $i != 17 # 1/2 MB should be enough
5.5558 - do
5.5559 - i=`expr $i + 1`
5.5560 - teststring=$teststring$teststring
5.5561 - done
5.5562 - teststring=
5.5563 - # Add a significant safety factor because C++ compilers can tack on massive
5.5564 - # amounts of additional arguments before passing them to the linker.
5.5565 - # It appears as though 1/2 is a usable value.
5.5566 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5.5567 - ;;
5.5568 - esac
5.5569 -
5.5570 -fi
5.5571 -
5.5572 -if test -n $lt_cv_sys_max_cmd_len ; then
5.5573 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5.5574 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5.5575 -else
5.5576 - echo "$as_me:$LINENO: result: none" >&5
5.5577 -echo "${ECHO_T}none" >&6
5.5578 -fi
5.5579 -
5.5580 -
5.5581 -
5.5582 -
5.5583 -# Check for command to grab the raw symbol name followed by C symbol from nm.
5.5584 -echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5.5585 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5.5586 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5.5587 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.5588 -else
5.5589 -
5.5590 -# These are sane defaults that work on at least a few old systems.
5.5591 -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
5.5592 -
5.5593 -# Character class describing NM global symbol codes.
5.5594 -symcode='[BCDEGRST]'
5.5595 -
5.5596 -# Regexp to match symbols that can be accessed directly from C.
5.5597 -sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5.5598 -
5.5599 -# Transform an extracted symbol line into a proper C declaration
5.5600 -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5.5601 -
5.5602 -# Transform an extracted symbol line into symbol name and symbol address
5.5603 -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'"
5.5604 -
5.5605 -# Define system-specific variables.
5.5606 -case $host_os in
5.5607 -aix*)
5.5608 - symcode='[BCDT]'
5.5609 - ;;
5.5610 -cygwin* | mingw* | pw32*)
5.5611 - symcode='[ABCDGISTW]'
5.5612 - ;;
5.5613 -hpux*) # Its linker distinguishes data from code symbols
5.5614 - if test "$host_cpu" = ia64; then
5.5615 - symcode='[ABCDEGRST]'
5.5616 - fi
5.5617 - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5.5618 - 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'"
5.5619 - ;;
5.5620 -linux*)
5.5621 - if test "$host_cpu" = ia64; then
5.5622 - symcode='[ABCDGIRSTW]'
5.5623 - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5.5624 - 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'"
5.5625 - fi
5.5626 - ;;
5.5627 -irix* | nonstopux*)
5.5628 - symcode='[BCDEGRST]'
5.5629 - ;;
5.5630 -osf*)
5.5631 - symcode='[BCDEGQRST]'
5.5632 - ;;
5.5633 -solaris* | sysv5*)
5.5634 - symcode='[BDRT]'
5.5635 - ;;
5.5636 -sysv4)
5.5637 - symcode='[DFNSTU]'
5.5638 - ;;
5.5639 -esac
5.5640 -
5.5641 -# Handle CRLF in mingw tool chain
5.5642 -opt_cr=
5.5643 -case $build_os in
5.5644 -mingw*)
5.5645 - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5.5646 - ;;
5.5647 -esac
5.5648 -
5.5649 -# If we're using GNU nm, then use its standard symbol codes.
5.5650 -case `$NM -V 2>&1` in
5.5651 -*GNU* | *'with BFD'*)
5.5652 - symcode='[ABCDGIRSTW]' ;;
5.5653 -esac
5.5654 -
5.5655 -# Try without a prefix undercore, then with it.
5.5656 -for ac_symprfx in "" "_"; do
5.5657 -
5.5658 - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5.5659 - symxfrm="\\1 $ac_symprfx\\2 \\2"
5.5660 -
5.5661 - # Write the raw and C identifiers.
5.5662 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5.5663 -
5.5664 - # Check to see that the pipe works correctly.
5.5665 - pipe_works=no
5.5666 -
5.5667 - rm -f conftest*
5.5668 - cat > conftest.$ac_ext <<EOF
5.5669 -#ifdef __cplusplus
5.5670 -extern "C" {
5.5671 -#endif
5.5672 -char nm_test_var;
5.5673 -void nm_test_func(){}
5.5674 -#ifdef __cplusplus
5.5675 -}
5.5676 -#endif
5.5677 -int main(){nm_test_var='a';nm_test_func();return(0);}
5.5678 -EOF
5.5679 -
5.5680 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.5681 - (eval $ac_compile) 2>&5
5.5682 - ac_status=$?
5.5683 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.5684 - (exit $ac_status); }; then
5.5685 - # Now try to grab the symbols.
5.5686 - nlist=conftest.nm
5.5687 - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5.5688 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5.5689 - ac_status=$?
5.5690 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.5691 - (exit $ac_status); } && test -s "$nlist"; then
5.5692 - # Try sorting and uniquifying the output.
5.5693 - if sort "$nlist" | uniq > "$nlist"T; then
5.5694 - mv -f "$nlist"T "$nlist"
5.5695 - else
5.5696 - rm -f "$nlist"T
5.5697 - fi
5.5698 -
5.5699 - # Make sure that we snagged all the symbols we need.
5.5700 - if grep ' nm_test_var$' "$nlist" >/dev/null; then
5.5701 - if grep ' nm_test_func$' "$nlist" >/dev/null; then
5.5702 - cat <<EOF > conftest.$ac_ext
5.5703 -#ifdef __cplusplus
5.5704 -extern "C" {
5.5705 -#endif
5.5706 -
5.5707 -EOF
5.5708 - # Now generate the symbol file.
5.5709 - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5.5710 -
5.5711 - cat <<EOF >> conftest.$ac_ext
5.5712 -#if defined (__STDC__) && __STDC__
5.5713 -# define lt_ptr_t void *
5.5714 -#else
5.5715 -# define lt_ptr_t char *
5.5716 -# define const
5.5717 -#endif
5.5718 -
5.5719 -/* The mapping between symbol names and symbols. */
5.5720 -const struct {
5.5721 - const char *name;
5.5722 - lt_ptr_t address;
5.5723 -}
5.5724 -lt_preloaded_symbols[] =
5.5725 -{
5.5726 -EOF
5.5727 - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5.5728 - cat <<\EOF >> conftest.$ac_ext
5.5729 - {0, (lt_ptr_t) 0}
5.5730 -};
5.5731 -
5.5732 -#ifdef __cplusplus
5.5733 -}
5.5734 -#endif
5.5735 -EOF
5.5736 - # Now try linking the two files.
5.5737 - mv conftest.$ac_objext conftstm.$ac_objext
5.5738 - lt_save_LIBS="$LIBS"
5.5739 - lt_save_CFLAGS="$CFLAGS"
5.5740 - LIBS="conftstm.$ac_objext"
5.5741 - CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5.5742 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.5743 - (eval $ac_link) 2>&5
5.5744 - ac_status=$?
5.5745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.5746 - (exit $ac_status); } && test -s conftest${ac_exeext}; then
5.5747 - pipe_works=yes
5.5748 - fi
5.5749 - LIBS="$lt_save_LIBS"
5.5750 - CFLAGS="$lt_save_CFLAGS"
5.5751 - else
5.5752 - echo "cannot find nm_test_func in $nlist" >&5
5.5753 - fi
5.5754 - else
5.5755 - echo "cannot find nm_test_var in $nlist" >&5
5.5756 - fi
5.5757 - else
5.5758 - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5.5759 - fi
5.5760 - else
5.5761 - echo "$progname: failed program was:" >&5
5.5762 - cat conftest.$ac_ext >&5
5.5763 - fi
5.5764 - rm -f conftest* conftst*
5.5765 -
5.5766 - # Do not use the global_symbol_pipe unless it works.
5.5767 - if test "$pipe_works" = yes; then
5.5768 - break
5.5769 - else
5.5770 - lt_cv_sys_global_symbol_pipe=
5.5771 - fi
5.5772 -done
5.5773 -
5.5774 -fi
5.5775 -
5.5776 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
5.5777 - lt_cv_sys_global_symbol_to_cdecl=
5.5778 -fi
5.5779 -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5.5780 - echo "$as_me:$LINENO: result: failed" >&5
5.5781 -echo "${ECHO_T}failed" >&6
5.5782 -else
5.5783 - echo "$as_me:$LINENO: result: ok" >&5
5.5784 -echo "${ECHO_T}ok" >&6
5.5785 -fi
5.5786 -
5.5787 -echo "$as_me:$LINENO: checking for objdir" >&5
5.5788 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5.5789 -if test "${lt_cv_objdir+set}" = set; then
5.5790 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.5791 -else
5.5792 - rm -f .libs 2>/dev/null
5.5793 -mkdir .libs 2>/dev/null
5.5794 -if test -d .libs; then
5.5795 - lt_cv_objdir=.libs
5.5796 -else
5.5797 - # MS-DOS does not allow filenames that begin with a dot.
5.5798 - lt_cv_objdir=_libs
5.5799 -fi
5.5800 -rmdir .libs 2>/dev/null
5.5801 -fi
5.5802 -echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5.5803 -echo "${ECHO_T}$lt_cv_objdir" >&6
5.5804 -objdir=$lt_cv_objdir
5.5805 -
5.5806 -
5.5807 -
5.5808 -
5.5809 -
5.5810 -case $host_os in
5.5811 -aix3*)
5.5812 - # AIX sometimes has problems with the GCC collect2 program. For some
5.5813 - # reason, if we set the COLLECT_NAMES environment variable, the problems
5.5814 - # vanish in a puff of smoke.
5.5815 - if test "X${COLLECT_NAMES+set}" != Xset; then
5.5816 - COLLECT_NAMES=
5.5817 - export COLLECT_NAMES
5.5818 - fi
5.5819 - ;;
5.5820 -esac
5.5821 -
5.5822 -# Sed substitution that helps us do robust quoting. It backslashifies
5.5823 -# metacharacters that are still active within double-quoted strings.
5.5824 -Xsed='sed -e 1s/^X//'
5.5825 -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5.5826 -
5.5827 -# Same as above, but do not quote variable references.
5.5828 -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5.5829 -
5.5830 -# Sed substitution to delay expansion of an escaped shell variable in a
5.5831 -# double_quote_subst'ed string.
5.5832 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5.5833 -
5.5834 -# Sed substitution to avoid accidental globbing in evaled expressions
5.5835 -no_glob_subst='s/\*/\\\*/g'
5.5836 -
5.5837 -# Constants:
5.5838 -rm="rm -f"
5.5839 -
5.5840 -# Global variables:
5.5841 -default_ofile=libtool
5.5842 -can_build_shared=yes
5.5843 -
5.5844 -# All known linkers require a `.a' archive for static linking (except MSVC,
5.5845 -# which needs '.lib').
5.5846 -libext=a
5.5847 -ltmain="$ac_aux_dir/ltmain.sh"
5.5848 -ofile="$default_ofile"
5.5849 -with_gnu_ld="$lt_cv_prog_gnu_ld"
5.5850 -
5.5851 -if test -n "$ac_tool_prefix"; then
5.5852 - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5.5853 -set dummy ${ac_tool_prefix}ar; ac_word=$2
5.5854 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.5855 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.5856 -if test "${ac_cv_prog_AR+set}" = set; then
5.5857 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.5858 -else
5.5859 - if test -n "$AR"; then
5.5860 - ac_cv_prog_AR="$AR" # Let the user override the test.
5.5861 -else
5.5862 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.5863 -for as_dir in $PATH
5.5864 -do
5.5865 - IFS=$as_save_IFS
5.5866 - test -z "$as_dir" && as_dir=.
5.5867 - for ac_exec_ext in '' $ac_executable_extensions; do
5.5868 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.5869 - ac_cv_prog_AR="${ac_tool_prefix}ar"
5.5870 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.5871 - break 2
5.5872 - fi
5.5873 -done
5.5874 -done
5.5875 -
5.5876 -fi
5.5877 -fi
5.5878 -AR=$ac_cv_prog_AR
5.5879 -if test -n "$AR"; then
5.5880 - echo "$as_me:$LINENO: result: $AR" >&5
5.5881 -echo "${ECHO_T}$AR" >&6
5.5882 -else
5.5883 - echo "$as_me:$LINENO: result: no" >&5
5.5884 -echo "${ECHO_T}no" >&6
5.5885 -fi
5.5886 -
5.5887 -fi
5.5888 -if test -z "$ac_cv_prog_AR"; then
5.5889 - ac_ct_AR=$AR
5.5890 - # Extract the first word of "ar", so it can be a program name with args.
5.5891 -set dummy ar; ac_word=$2
5.5892 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.5893 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.5894 -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5.5895 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.5896 -else
5.5897 - if test -n "$ac_ct_AR"; then
5.5898 - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5.5899 -else
5.5900 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.5901 -for as_dir in $PATH
5.5902 -do
5.5903 - IFS=$as_save_IFS
5.5904 - test -z "$as_dir" && as_dir=.
5.5905 - for ac_exec_ext in '' $ac_executable_extensions; do
5.5906 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.5907 - ac_cv_prog_ac_ct_AR="ar"
5.5908 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.5909 - break 2
5.5910 - fi
5.5911 -done
5.5912 -done
5.5913 -
5.5914 - test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5.5915 -fi
5.5916 -fi
5.5917 -ac_ct_AR=$ac_cv_prog_ac_ct_AR
5.5918 -if test -n "$ac_ct_AR"; then
5.5919 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5.5920 -echo "${ECHO_T}$ac_ct_AR" >&6
5.5921 -else
5.5922 - echo "$as_me:$LINENO: result: no" >&5
5.5923 -echo "${ECHO_T}no" >&6
5.5924 -fi
5.5925 -
5.5926 - AR=$ac_ct_AR
5.5927 -else
5.5928 - AR="$ac_cv_prog_AR"
5.5929 -fi
5.5930 -
5.5931 -if test -n "$ac_tool_prefix"; then
5.5932 - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5.5933 -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5.5934 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.5935 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.5936 -if test "${ac_cv_prog_RANLIB+set}" = set; then
5.5937 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.5938 -else
5.5939 - if test -n "$RANLIB"; then
5.5940 - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5.5941 -else
5.5942 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.5943 -for as_dir in $PATH
5.5944 -do
5.5945 - IFS=$as_save_IFS
5.5946 - test -z "$as_dir" && as_dir=.
5.5947 - for ac_exec_ext in '' $ac_executable_extensions; do
5.5948 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.5949 - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5.5950 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.5951 - break 2
5.5952 - fi
5.5953 -done
5.5954 -done
5.5955 -
5.5956 -fi
5.5957 -fi
5.5958 -RANLIB=$ac_cv_prog_RANLIB
5.5959 -if test -n "$RANLIB"; then
5.5960 - echo "$as_me:$LINENO: result: $RANLIB" >&5
5.5961 -echo "${ECHO_T}$RANLIB" >&6
5.5962 -else
5.5963 - echo "$as_me:$LINENO: result: no" >&5
5.5964 -echo "${ECHO_T}no" >&6
5.5965 -fi
5.5966 -
5.5967 -fi
5.5968 -if test -z "$ac_cv_prog_RANLIB"; then
5.5969 - ac_ct_RANLIB=$RANLIB
5.5970 - # Extract the first word of "ranlib", so it can be a program name with args.
5.5971 -set dummy ranlib; ac_word=$2
5.5972 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.5973 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.5974 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5.5975 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.5976 -else
5.5977 - if test -n "$ac_ct_RANLIB"; then
5.5978 - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5.5979 -else
5.5980 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.5981 -for as_dir in $PATH
5.5982 -do
5.5983 - IFS=$as_save_IFS
5.5984 - test -z "$as_dir" && as_dir=.
5.5985 - for ac_exec_ext in '' $ac_executable_extensions; do
5.5986 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.5987 - ac_cv_prog_ac_ct_RANLIB="ranlib"
5.5988 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.5989 - break 2
5.5990 - fi
5.5991 -done
5.5992 -done
5.5993 -
5.5994 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5.5995 -fi
5.5996 -fi
5.5997 -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5.5998 -if test -n "$ac_ct_RANLIB"; then
5.5999 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5.6000 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
5.6001 -else
5.6002 - echo "$as_me:$LINENO: result: no" >&5
5.6003 -echo "${ECHO_T}no" >&6
5.6004 -fi
5.6005 -
5.6006 - RANLIB=$ac_ct_RANLIB
5.6007 -else
5.6008 - RANLIB="$ac_cv_prog_RANLIB"
5.6009 -fi
5.6010 -
5.6011 -if test -n "$ac_tool_prefix"; then
5.6012 - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5.6013 -set dummy ${ac_tool_prefix}strip; ac_word=$2
5.6014 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.6015 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.6016 -if test "${ac_cv_prog_STRIP+set}" = set; then
5.6017 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.6018 -else
5.6019 - if test -n "$STRIP"; then
5.6020 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5.6021 -else
5.6022 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.6023 -for as_dir in $PATH
5.6024 -do
5.6025 - IFS=$as_save_IFS
5.6026 - test -z "$as_dir" && as_dir=.
5.6027 - for ac_exec_ext in '' $ac_executable_extensions; do
5.6028 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.6029 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5.6030 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.6031 - break 2
5.6032 - fi
5.6033 -done
5.6034 -done
5.6035 -
5.6036 -fi
5.6037 -fi
5.6038 -STRIP=$ac_cv_prog_STRIP
5.6039 -if test -n "$STRIP"; then
5.6040 - echo "$as_me:$LINENO: result: $STRIP" >&5
5.6041 -echo "${ECHO_T}$STRIP" >&6
5.6042 -else
5.6043 - echo "$as_me:$LINENO: result: no" >&5
5.6044 -echo "${ECHO_T}no" >&6
5.6045 -fi
5.6046 -
5.6047 -fi
5.6048 -if test -z "$ac_cv_prog_STRIP"; then
5.6049 - ac_ct_STRIP=$STRIP
5.6050 - # Extract the first word of "strip", so it can be a program name with args.
5.6051 -set dummy strip; ac_word=$2
5.6052 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.6053 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.6054 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5.6055 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.6056 -else
5.6057 - if test -n "$ac_ct_STRIP"; then
5.6058 - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5.6059 -else
5.6060 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.6061 -for as_dir in $PATH
5.6062 -do
5.6063 - IFS=$as_save_IFS
5.6064 - test -z "$as_dir" && as_dir=.
5.6065 - for ac_exec_ext in '' $ac_executable_extensions; do
5.6066 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.6067 - ac_cv_prog_ac_ct_STRIP="strip"
5.6068 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.6069 - break 2
5.6070 - fi
5.6071 -done
5.6072 -done
5.6073 -
5.6074 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5.6075 -fi
5.6076 -fi
5.6077 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5.6078 -if test -n "$ac_ct_STRIP"; then
5.6079 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5.6080 -echo "${ECHO_T}$ac_ct_STRIP" >&6
5.6081 -else
5.6082 - echo "$as_me:$LINENO: result: no" >&5
5.6083 -echo "${ECHO_T}no" >&6
5.6084 -fi
5.6085 -
5.6086 - STRIP=$ac_ct_STRIP
5.6087 -else
5.6088 - STRIP="$ac_cv_prog_STRIP"
5.6089 -fi
5.6090 -
5.6091 -
5.6092 -old_CC="$CC"
5.6093 -old_CFLAGS="$CFLAGS"
5.6094 -
5.6095 -# Set sane defaults for various variables
5.6096 -test -z "$AR" && AR=ar
5.6097 -test -z "$AR_FLAGS" && AR_FLAGS=cru
5.6098 -test -z "$AS" && AS=as
5.6099 -test -z "$CC" && CC=cc
5.6100 -test -z "$LTCC" && LTCC=$CC
5.6101 -test -z "$DLLTOOL" && DLLTOOL=dlltool
5.6102 -test -z "$LD" && LD=ld
5.6103 -test -z "$LN_S" && LN_S="ln -s"
5.6104 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
5.6105 -test -z "$NM" && NM=nm
5.6106 -test -z "$SED" && SED=sed
5.6107 -test -z "$OBJDUMP" && OBJDUMP=objdump
5.6108 -test -z "$RANLIB" && RANLIB=:
5.6109 -test -z "$STRIP" && STRIP=:
5.6110 -test -z "$ac_objext" && ac_objext=o
5.6111 -
5.6112 -# Determine commands to create old-style static archives.
5.6113 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5.6114 -old_postinstall_cmds='chmod 644 $oldlib'
5.6115 -old_postuninstall_cmds=
5.6116 -
5.6117 -if test -n "$RANLIB"; then
5.6118 - case $host_os in
5.6119 - openbsd*)
5.6120 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5.6121 - ;;
5.6122 - *)
5.6123 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5.6124 - ;;
5.6125 - esac
5.6126 - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5.6127 -fi
5.6128 -
5.6129 -for cc_temp in $compiler""; do
5.6130 - case $cc_temp in
5.6131 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5.6132 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
5.6133 - \-*) ;;
5.6134 - *) break;;
5.6135 - esac
5.6136 -done
5.6137 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
5.6138 -
5.6139 -
5.6140 -# Only perform the check for file, if the check method requires it
5.6141 -case $deplibs_check_method in
5.6142 -file_magic*)
5.6143 - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5.6144 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5.6145 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5.6146 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5.6147 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.6148 -else
5.6149 - case $MAGIC_CMD in
5.6150 -[\\/*] | ?:[\\/]*)
5.6151 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5.6152 - ;;
5.6153 -*)
5.6154 - lt_save_MAGIC_CMD="$MAGIC_CMD"
5.6155 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5.6156 - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5.6157 - for ac_dir in $ac_dummy; do
5.6158 - IFS="$lt_save_ifs"
5.6159 - test -z "$ac_dir" && ac_dir=.
5.6160 - if test -f $ac_dir/${ac_tool_prefix}file; then
5.6161 - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5.6162 - if test -n "$file_magic_test_file"; then
5.6163 - case $deplibs_check_method in
5.6164 - "file_magic "*)
5.6165 - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5.6166 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5.6167 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5.6168 - $EGREP "$file_magic_regex" > /dev/null; then
5.6169 - :
5.6170 - else
5.6171 - cat <<EOF 1>&2
5.6172 -
5.6173 -*** Warning: the command libtool uses to detect shared libraries,
5.6174 -*** $file_magic_cmd, produces output that libtool cannot recognize.
5.6175 -*** The result is that libtool may fail to recognize shared libraries
5.6176 -*** as such. This will affect the creation of libtool libraries that
5.6177 -*** depend on shared libraries, but programs linked with such libtool
5.6178 -*** libraries will work regardless of this problem. Nevertheless, you
5.6179 -*** may want to report the problem to your system manager and/or to
5.6180 -*** bug-libtool@gnu.org
5.6181 -
5.6182 -EOF
5.6183 - fi ;;
5.6184 - esac
5.6185 - fi
5.6186 - break
5.6187 - fi
5.6188 - done
5.6189 - IFS="$lt_save_ifs"
5.6190 - MAGIC_CMD="$lt_save_MAGIC_CMD"
5.6191 - ;;
5.6192 -esac
5.6193 -fi
5.6194 -
5.6195 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5.6196 -if test -n "$MAGIC_CMD"; then
5.6197 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5.6198 -echo "${ECHO_T}$MAGIC_CMD" >&6
5.6199 -else
5.6200 - echo "$as_me:$LINENO: result: no" >&5
5.6201 -echo "${ECHO_T}no" >&6
5.6202 -fi
5.6203 -
5.6204 -if test -z "$lt_cv_path_MAGIC_CMD"; then
5.6205 - if test -n "$ac_tool_prefix"; then
5.6206 - echo "$as_me:$LINENO: checking for file" >&5
5.6207 -echo $ECHO_N "checking for file... $ECHO_C" >&6
5.6208 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5.6209 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.6210 -else
5.6211 - case $MAGIC_CMD in
5.6212 -[\\/*] | ?:[\\/]*)
5.6213 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5.6214 - ;;
5.6215 -*)
5.6216 - lt_save_MAGIC_CMD="$MAGIC_CMD"
5.6217 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5.6218 - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5.6219 - for ac_dir in $ac_dummy; do
5.6220 - IFS="$lt_save_ifs"
5.6221 - test -z "$ac_dir" && ac_dir=.
5.6222 - if test -f $ac_dir/file; then
5.6223 - lt_cv_path_MAGIC_CMD="$ac_dir/file"
5.6224 - if test -n "$file_magic_test_file"; then
5.6225 - case $deplibs_check_method in
5.6226 - "file_magic "*)
5.6227 - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5.6228 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5.6229 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5.6230 - $EGREP "$file_magic_regex" > /dev/null; then
5.6231 - :
5.6232 - else
5.6233 - cat <<EOF 1>&2
5.6234 -
5.6235 -*** Warning: the command libtool uses to detect shared libraries,
5.6236 -*** $file_magic_cmd, produces output that libtool cannot recognize.
5.6237 -*** The result is that libtool may fail to recognize shared libraries
5.6238 -*** as such. This will affect the creation of libtool libraries that
5.6239 -*** depend on shared libraries, but programs linked with such libtool
5.6240 -*** libraries will work regardless of this problem. Nevertheless, you
5.6241 -*** may want to report the problem to your system manager and/or to
5.6242 -*** bug-libtool@gnu.org
5.6243 -
5.6244 -EOF
5.6245 - fi ;;
5.6246 - esac
5.6247 - fi
5.6248 - break
5.6249 - fi
5.6250 - done
5.6251 - IFS="$lt_save_ifs"
5.6252 - MAGIC_CMD="$lt_save_MAGIC_CMD"
5.6253 - ;;
5.6254 -esac
5.6255 -fi
5.6256 -
5.6257 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5.6258 -if test -n "$MAGIC_CMD"; then
5.6259 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5.6260 -echo "${ECHO_T}$MAGIC_CMD" >&6
5.6261 -else
5.6262 - echo "$as_me:$LINENO: result: no" >&5
5.6263 -echo "${ECHO_T}no" >&6
5.6264 -fi
5.6265 -
5.6266 - else
5.6267 - MAGIC_CMD=:
5.6268 - fi
5.6269 -fi
5.6270 -
5.6271 - fi
5.6272 - ;;
5.6273 -esac
5.6274 -
5.6275 -enable_dlopen=no
5.6276 -enable_win32_dll=no
5.6277 -
5.6278 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5.6279 -if test "${enable_libtool_lock+set}" = set; then
5.6280 - enableval="$enable_libtool_lock"
5.6281 -
5.6282 -fi;
5.6283 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5.6284 -
5.6285 -
5.6286 -# Check whether --with-pic or --without-pic was given.
5.6287 -if test "${with_pic+set}" = set; then
5.6288 - withval="$with_pic"
5.6289 - pic_mode="$withval"
5.6290 -else
5.6291 - pic_mode=default
5.6292 -fi;
5.6293 -test -z "$pic_mode" && pic_mode=default
5.6294 -
5.6295 -# Use C for the default configuration in the libtool script
5.6296 -tagname=
5.6297 -lt_save_CC="$CC"
5.6298 -ac_ext=c
5.6299 -ac_cpp='$CPP $CPPFLAGS'
5.6300 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.6301 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.6302 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.6303 -
5.6304 -
5.6305 -# Source file extension for C test sources.
5.6306 -ac_ext=c
5.6307 -
5.6308 -# Object file extension for compiled C test sources.
5.6309 -objext=o
5.6310 -objext=$objext
5.6311 -
5.6312 -# Code to be used in simple compile tests
5.6313 -lt_simple_compile_test_code="int some_variable = 0;\n"
5.6314 -
5.6315 -# Code to be used in simple link tests
5.6316 -lt_simple_link_test_code='int main(){return(0);}\n'
5.6317 -
5.6318 -
5.6319 -# If no C compiler was specified, use CC.
5.6320 -LTCC=${LTCC-"$CC"}
5.6321 -
5.6322 -# Allow CC to be a program name with arguments.
5.6323 -compiler=$CC
5.6324 -
5.6325 -
5.6326 -# save warnings/boilerplate of simple test code
5.6327 -ac_outfile=conftest.$ac_objext
5.6328 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
5.6329 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
5.6330 -_lt_compiler_boilerplate=`cat conftest.err`
5.6331 -$rm conftest*
5.6332 -
5.6333 -ac_outfile=conftest.$ac_objext
5.6334 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
5.6335 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
5.6336 -_lt_linker_boilerplate=`cat conftest.err`
5.6337 -$rm conftest*
5.6338 -
5.6339 -
5.6340 -#
5.6341 -# Check for any special shared library compilation flags.
5.6342 -#
5.6343 -lt_prog_cc_shlib=
5.6344 -if test "$GCC" = no; then
5.6345 - case $host_os in
5.6346 - sco3.2v5*)
5.6347 - lt_prog_cc_shlib='-belf'
5.6348 - ;;
5.6349 - esac
5.6350 -fi
5.6351 -if test -n "$lt_prog_cc_shlib"; then
5.6352 - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
5.6353 -echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
5.6354 - if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
5.6355 - else
5.6356 - { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
5.6357 -echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
5.6358 - lt_cv_prog_cc_can_build_shared=no
5.6359 - fi
5.6360 -fi
5.6361 -
5.6362 -
5.6363 -#
5.6364 -# Check to make sure the static flag actually works.
5.6365 -#
5.6366 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
5.6367 -echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
5.6368 -if test "${lt_prog_compiler_static_works+set}" = set; then
5.6369 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.6370 -else
5.6371 - lt_prog_compiler_static_works=no
5.6372 - save_LDFLAGS="$LDFLAGS"
5.6373 - LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
5.6374 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
5.6375 - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
5.6376 - # The linker can only warn and ignore the option if not recognized
5.6377 - # So say no if there are warnings
5.6378 - if test -s conftest.err; then
5.6379 - # Append any errors to the config.log.
5.6380 - cat conftest.err 1>&5
5.6381 - $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
5.6382 - $SED '/^$/d' conftest.err >conftest.er2
5.6383 - if diff conftest.exp conftest.er2 >/dev/null; then
5.6384 - lt_prog_compiler_static_works=yes
5.6385 - fi
5.6386 - else
5.6387 - lt_prog_compiler_static_works=yes
5.6388 - fi
5.6389 - fi
5.6390 - $rm conftest*
5.6391 - LDFLAGS="$save_LDFLAGS"
5.6392 -
5.6393 -fi
5.6394 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
5.6395 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
5.6396 -
5.6397 -if test x"$lt_prog_compiler_static_works" = xyes; then
5.6398 - :
5.6399 -else
5.6400 - lt_prog_compiler_static=
5.6401 -fi
5.6402 -
5.6403 -
5.6404 -
5.6405 -## CAVEAT EMPTOR:
5.6406 -## There is no encapsulation within the following macros, do not change
5.6407 -## the running order or otherwise move them around unless you know exactly
5.6408 -## what you are doing...
5.6409 -
5.6410 -lt_prog_compiler_no_builtin_flag=
5.6411 -
5.6412 -if test "$GCC" = yes; then
5.6413 - lt_prog_compiler_no_builtin_flag=' -fno-builtin'
5.6414 -
5.6415 -
5.6416 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
5.6417 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
5.6418 -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
5.6419 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.6420 -else
5.6421 - lt_cv_prog_compiler_rtti_exceptions=no
5.6422 - ac_outfile=conftest.$ac_objext
5.6423 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
5.6424 - lt_compiler_flag="-fno-rtti -fno-exceptions"
5.6425 - # Insert the option either (1) after the last *FLAGS variable, or
5.6426 - # (2) before a word containing "conftest.", or (3) at the end.
5.6427 - # Note that $ac_compile itself does not contain backslashes and begins
5.6428 - # with a dollar sign (not a hyphen), so the echo should work correctly.
5.6429 - # The option is referenced via a variable to avoid confusing sed.
5.6430 - lt_compile=`echo "$ac_compile" | $SED \
5.6431 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5.6432 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
5.6433 - -e 's:$: $lt_compiler_flag:'`
5.6434 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
5.6435 - (eval "$lt_compile" 2>conftest.err)
5.6436 - ac_status=$?
5.6437 - cat conftest.err >&5
5.6438 - echo "$as_me:__oline__: \$? = $ac_status" >&5
5.6439 - if (exit $ac_status) && test -s "$ac_outfile"; then
5.6440 - # The compiler can only warn and ignore the option if not recognized
5.6441 - # So say no if there are warnings other than the usual output.
5.6442 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
5.6443 - $SED '/^$/d' conftest.err >conftest.er2
5.6444 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
5.6445 - lt_cv_prog_compiler_rtti_exceptions=yes
5.6446 - fi
5.6447 - fi
5.6448 - $rm conftest*
5.6449 -
5.6450 -fi
5.6451 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
5.6452 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
5.6453 -
5.6454 -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
5.6455 - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
5.6456 -else
5.6457 - :
5.6458 -fi
5.6459 -
5.6460 -fi
5.6461 -
5.6462 -lt_prog_compiler_wl=
5.6463 -lt_prog_compiler_pic=
5.6464 -lt_prog_compiler_static=
5.6465 -
5.6466 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
5.6467 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
5.6468 -
5.6469 - if test "$GCC" = yes; then
5.6470 - lt_prog_compiler_wl='-Wl,'
5.6471 - lt_prog_compiler_static='-static'
5.6472 -
5.6473 - case $host_os in
5.6474 - aix*)
5.6475 - # All AIX code is PIC.
5.6476 - if test "$host_cpu" = ia64; then
5.6477 - # AIX 5 now supports IA64 processor
5.6478 - lt_prog_compiler_static='-Bstatic'
5.6479 - fi
5.6480 - ;;
5.6481 -
5.6482 - amigaos*)
5.6483 - # FIXME: we need at least 68020 code to build shared libraries, but
5.6484 - # adding the `-m68020' flag to GCC prevents building anything better,
5.6485 - # like `-m68040'.
5.6486 - lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
5.6487 - ;;
5.6488 -
5.6489 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5.6490 - # PIC is the default for these OSes.
5.6491 - ;;
5.6492 -
5.6493 - mingw* | pw32* | os2*)
5.6494 - # This hack is so that the source file can tell whether it is being
5.6495 - # built for inclusion in a dll (and should export symbols for example).
5.6496 - lt_prog_compiler_pic='-DDLL_EXPORT'
5.6497 - ;;
5.6498 -
5.6499 - darwin* | rhapsody*)
5.6500 - # PIC is the default on this platform
5.6501 - # Common symbols not allowed in MH_DYLIB files
5.6502 - lt_prog_compiler_pic='-fno-common'
5.6503 - ;;
5.6504 -
5.6505 - msdosdjgpp*)
5.6506 - # Just because we use GCC doesn't mean we suddenly get shared libraries
5.6507 - # on systems that don't support them.
5.6508 - lt_prog_compiler_can_build_shared=no
5.6509 - enable_shared=no
5.6510 - ;;
5.6511 -
5.6512 - sysv4*MP*)
5.6513 - if test -d /usr/nec; then
5.6514 - lt_prog_compiler_pic=-Kconform_pic
5.6515 - fi
5.6516 - ;;
5.6517 -
5.6518 - hpux*)
5.6519 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5.6520 - # not for PA HP-UX.
5.6521 - case $host_cpu in
5.6522 - hppa*64*|ia64*)
5.6523 - # +Z the default
5.6524 - ;;
5.6525 - *)
5.6526 - lt_prog_compiler_pic='-fPIC'
5.6527 - ;;
5.6528 - esac
5.6529 - ;;
5.6530 -
5.6531 - *)
5.6532 - lt_prog_compiler_pic='-fPIC'
5.6533 - ;;
5.6534 - esac
5.6535 - else
5.6536 - # PORTME Check for flag to pass linker flags through the system compiler.
5.6537 - case $host_os in
5.6538 - aix*)
5.6539 - lt_prog_compiler_wl='-Wl,'
5.6540 - if test "$host_cpu" = ia64; then
5.6541 - # AIX 5 now supports IA64 processor
5.6542 - lt_prog_compiler_static='-Bstatic'
5.6543 - else
5.6544 - lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
5.6545 - fi
5.6546 - ;;
5.6547 - darwin*)
5.6548 - # PIC is the default on this platform
5.6549 - # Common symbols not allowed in MH_DYLIB files
5.6550 - case $cc_basename in
5.6551 - xlc*)
5.6552 - lt_prog_compiler_pic='-qnocommon'
5.6553 - lt_prog_compiler_wl='-Wl,'
5.6554 - ;;
5.6555 - esac
5.6556 - ;;
5.6557 -
5.6558 - mingw* | pw32* | os2*)
5.6559 - # This hack is so that the source file can tell whether it is being
5.6560 - # built for inclusion in a dll (and should export symbols for example).
5.6561 - lt_prog_compiler_pic='-DDLL_EXPORT'
5.6562 - ;;
5.6563 -
5.6564 - hpux9* | hpux10* | hpux11*)
5.6565 - lt_prog_compiler_wl='-Wl,'
5.6566 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5.6567 - # not for PA HP-UX.
5.6568 - case $host_cpu in
5.6569 - hppa*64*|ia64*)
5.6570 - # +Z the default
5.6571 - ;;
5.6572 - *)
5.6573 - lt_prog_compiler_pic='+Z'
5.6574 - ;;
5.6575 - esac
5.6576 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
5.6577 - lt_prog_compiler_static='${wl}-a ${wl}archive'
5.6578 - ;;
5.6579 -
5.6580 - irix5* | irix6* | nonstopux*)
5.6581 - lt_prog_compiler_wl='-Wl,'
5.6582 - # PIC (with -KPIC) is the default.
5.6583 - lt_prog_compiler_static='-non_shared'
5.6584 - ;;
5.6585 -
5.6586 - newsos6)
5.6587 - lt_prog_compiler_pic='-KPIC'
5.6588 - lt_prog_compiler_static='-Bstatic'
5.6589 - ;;
5.6590 -
5.6591 - linux*)
5.6592 - case $cc_basename in
5.6593 - icc* | ecc*)
5.6594 - lt_prog_compiler_wl='-Wl,'
5.6595 - lt_prog_compiler_pic='-KPIC'
5.6596 - lt_prog_compiler_static='-static'
5.6597 - ;;
5.6598 - pgcc* | pgf77* | pgf90* | pgf95*)
5.6599 - # Portland Group compilers (*not* the Pentium gcc compiler,
5.6600 - # which looks to be a dead project)
5.6601 - lt_prog_compiler_wl='-Wl,'
5.6602 - lt_prog_compiler_pic='-fpic'
5.6603 - lt_prog_compiler_static='-Bstatic'
5.6604 - ;;
5.6605 - ccc*)
5.6606 - lt_prog_compiler_wl='-Wl,'
5.6607 - # All Alpha code is PIC.
5.6608 - lt_prog_compiler_static='-non_shared'
5.6609 - ;;
5.6610 - esac
5.6611 - ;;
5.6612 -
5.6613 - osf3* | osf4* | osf5*)
5.6614 - lt_prog_compiler_wl='-Wl,'
5.6615 - # All OSF/1 code is PIC.
5.6616 - lt_prog_compiler_static='-non_shared'
5.6617 - ;;
5.6618 -
5.6619 - sco3.2v5*)
5.6620 - lt_prog_compiler_pic='-Kpic'
5.6621 - lt_prog_compiler_static='-dn'
5.6622 - ;;
5.6623 -
5.6624 - solaris*)
5.6625 - lt_prog_compiler_pic='-KPIC'
5.6626 - lt_prog_compiler_static='-Bstatic'
5.6627 - case $cc_basename in
5.6628 - f77* | f90* | f95*)
5.6629 - lt_prog_compiler_wl='-Qoption ld ';;
5.6630 - *)
5.6631 - lt_prog_compiler_wl='-Wl,';;
5.6632 - esac
5.6633 - ;;
5.6634 -
5.6635 - sunos4*)
5.6636 - lt_prog_compiler_wl='-Qoption ld '
5.6637 - lt_prog_compiler_pic='-PIC'
5.6638 - lt_prog_compiler_static='-Bstatic'
5.6639 - ;;
5.6640 -
5.6641 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5.6642 - lt_prog_compiler_wl='-Wl,'
5.6643 - lt_prog_compiler_pic='-KPIC'
5.6644 - lt_prog_compiler_static='-Bstatic'
5.6645 - ;;
5.6646 -
5.6647 - sysv4*MP*)
5.6648 - if test -d /usr/nec ;then
5.6649 - lt_prog_compiler_pic='-Kconform_pic'
5.6650 - lt_prog_compiler_static='-Bstatic'
5.6651 - fi
5.6652 - ;;
5.6653 -
5.6654 - unicos*)
5.6655 - lt_prog_compiler_wl='-Wl,'
5.6656 - lt_prog_compiler_can_build_shared=no
5.6657 - ;;
5.6658 -
5.6659 - uts4*)
5.6660 - lt_prog_compiler_pic='-pic'
5.6661 - lt_prog_compiler_static='-Bstatic'
5.6662 - ;;
5.6663 -
5.6664 - *)
5.6665 - lt_prog_compiler_can_build_shared=no
5.6666 - ;;
5.6667 - esac
5.6668 - fi
5.6669 -
5.6670 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
5.6671 -echo "${ECHO_T}$lt_prog_compiler_pic" >&6
5.6672 -
5.6673 -#
5.6674 -# Check to make sure the PIC flag actually works.
5.6675 -#
5.6676 -if test -n "$lt_prog_compiler_pic"; then
5.6677 -
5.6678 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
5.6679 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
5.6680 -if test "${lt_prog_compiler_pic_works+set}" = set; then
5.6681 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.6682 -else
5.6683 - lt_prog_compiler_pic_works=no
5.6684 - ac_outfile=conftest.$ac_objext
5.6685 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
5.6686 - lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
5.6687 - # Insert the option either (1) after the last *FLAGS variable, or
5.6688 - # (2) before a word containing "conftest.", or (3) at the end.
5.6689 - # Note that $ac_compile itself does not contain backslashes and begins
5.6690 - # with a dollar sign (not a hyphen), so the echo should work correctly.
5.6691 - # The option is referenced via a variable to avoid confusing sed.
5.6692 - lt_compile=`echo "$ac_compile" | $SED \
5.6693 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5.6694 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
5.6695 - -e 's:$: $lt_compiler_flag:'`
5.6696 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
5.6697 - (eval "$lt_compile" 2>conftest.err)
5.6698 - ac_status=$?
5.6699 - cat conftest.err >&5
5.6700 - echo "$as_me:__oline__: \$? = $ac_status" >&5
5.6701 - if (exit $ac_status) && test -s "$ac_outfile"; then
5.6702 - # The compiler can only warn and ignore the option if not recognized
5.6703 - # So say no if there are warnings other than the usual output.
5.6704 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
5.6705 - $SED '/^$/d' conftest.err >conftest.er2
5.6706 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
5.6707 - lt_prog_compiler_pic_works=yes
5.6708 - fi
5.6709 - fi
5.6710 - $rm conftest*
5.6711 -
5.6712 -fi
5.6713 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
5.6714 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
5.6715 -
5.6716 -if test x"$lt_prog_compiler_pic_works" = xyes; then
5.6717 - case $lt_prog_compiler_pic in
5.6718 - "" | " "*) ;;
5.6719 - *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
5.6720 - esac
5.6721 -else
5.6722 - lt_prog_compiler_pic=
5.6723 - lt_prog_compiler_can_build_shared=no
5.6724 -fi
5.6725 -
5.6726 -fi
5.6727 -case $host_os in
5.6728 - # For platforms which do not support PIC, -DPIC is meaningless:
5.6729 - *djgpp*)
5.6730 - lt_prog_compiler_pic=
5.6731 - ;;
5.6732 - *)
5.6733 - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
5.6734 - ;;
5.6735 -esac
5.6736 -
5.6737 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
5.6738 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
5.6739 -if test "${lt_cv_prog_compiler_c_o+set}" = set; then
5.6740 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.6741 -else
5.6742 - lt_cv_prog_compiler_c_o=no
5.6743 - $rm -r conftest 2>/dev/null
5.6744 - mkdir conftest
5.6745 - cd conftest
5.6746 - mkdir out
5.6747 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
5.6748 -
5.6749 - lt_compiler_flag="-o out/conftest2.$ac_objext"
5.6750 - # Insert the option either (1) after the last *FLAGS variable, or
5.6751 - # (2) before a word containing "conftest.", or (3) at the end.
5.6752 - # Note that $ac_compile itself does not contain backslashes and begins
5.6753 - # with a dollar sign (not a hyphen), so the echo should work correctly.
5.6754 - lt_compile=`echo "$ac_compile" | $SED \
5.6755 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5.6756 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
5.6757 - -e 's:$: $lt_compiler_flag:'`
5.6758 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
5.6759 - (eval "$lt_compile" 2>out/conftest.err)
5.6760 - ac_status=$?
5.6761 - cat out/conftest.err >&5
5.6762 - echo "$as_me:__oline__: \$? = $ac_status" >&5
5.6763 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
5.6764 - then
5.6765 - # The compiler can only warn and ignore the option if not recognized
5.6766 - # So say no if there are warnings
5.6767 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
5.6768 - $SED '/^$/d' out/conftest.err >out/conftest.er2
5.6769 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
5.6770 - lt_cv_prog_compiler_c_o=yes
5.6771 - fi
5.6772 - fi
5.6773 - chmod u+w . 2>&5
5.6774 - $rm conftest*
5.6775 - # SGI C++ compiler will create directory out/ii_files/ for
5.6776 - # template instantiation
5.6777 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
5.6778 - $rm out/* && rmdir out
5.6779 - cd ..
5.6780 - rmdir conftest
5.6781 - $rm conftest*
5.6782 -
5.6783 -fi
5.6784 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
5.6785 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
5.6786 -
5.6787 -
5.6788 -hard_links="nottested"
5.6789 -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
5.6790 - # do not overwrite the value of need_locks provided by the user
5.6791 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
5.6792 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
5.6793 - hard_links=yes
5.6794 - $rm conftest*
5.6795 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
5.6796 - touch conftest.a
5.6797 - ln conftest.a conftest.b 2>&5 || hard_links=no
5.6798 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
5.6799 - echo "$as_me:$LINENO: result: $hard_links" >&5
5.6800 -echo "${ECHO_T}$hard_links" >&6
5.6801 - if test "$hard_links" = no; then
5.6802 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
5.6803 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
5.6804 - need_locks=warn
5.6805 - fi
5.6806 -else
5.6807 - need_locks=no
5.6808 -fi
5.6809 -
5.6810 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
5.6811 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
5.6812 -
5.6813 - runpath_var=
5.6814 - allow_undefined_flag=
5.6815 - enable_shared_with_static_runtimes=no
5.6816 - archive_cmds=
5.6817 - archive_expsym_cmds=
5.6818 - old_archive_From_new_cmds=
5.6819 - old_archive_from_expsyms_cmds=
5.6820 - export_dynamic_flag_spec=
5.6821 - whole_archive_flag_spec=
5.6822 - thread_safe_flag_spec=
5.6823 - hardcode_libdir_flag_spec=
5.6824 - hardcode_libdir_flag_spec_ld=
5.6825 - hardcode_libdir_separator=
5.6826 - hardcode_direct=no
5.6827 - hardcode_minus_L=no
5.6828 - hardcode_shlibpath_var=unsupported
5.6829 - link_all_deplibs=unknown
5.6830 - hardcode_automatic=no
5.6831 - module_cmds=
5.6832 - module_expsym_cmds=
5.6833 - always_export_symbols=no
5.6834 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5.6835 - # include_expsyms should be a list of space-separated symbols to be *always*
5.6836 - # included in the symbol list
5.6837 - include_expsyms=
5.6838 - # exclude_expsyms can be an extended regexp of symbols to exclude
5.6839 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
5.6840 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
5.6841 - # as well as any symbol that contains `d'.
5.6842 - exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
5.6843 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
5.6844 - # platforms (ab)use it in PIC code, but their linkers get confused if
5.6845 - # the symbol is explicitly referenced. Since portable code cannot
5.6846 - # rely on this symbol name, it's probably fine to never include it in
5.6847 - # preloaded symbol tables.
5.6848 - extract_expsyms_cmds=
5.6849 - # Just being paranoid about ensuring that cc_basename is set.
5.6850 - for cc_temp in $compiler""; do
5.6851 - case $cc_temp in
5.6852 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5.6853 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
5.6854 - \-*) ;;
5.6855 - *) break;;
5.6856 - esac
5.6857 -done
5.6858 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
5.6859 -
5.6860 - case $host_os in
5.6861 - cygwin* | mingw* | pw32*)
5.6862 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
5.6863 - # When not using gcc, we currently assume that we are using
5.6864 - # Microsoft Visual C++.
5.6865 - if test "$GCC" != yes; then
5.6866 - with_gnu_ld=no
5.6867 - fi
5.6868 - ;;
5.6869 - openbsd*)
5.6870 - with_gnu_ld=no
5.6871 - ;;
5.6872 - esac
5.6873 -
5.6874 - ld_shlibs=yes
5.6875 - if test "$with_gnu_ld" = yes; then
5.6876 - # If archive_cmds runs LD, not CC, wlarc should be empty
5.6877 - wlarc='${wl}'
5.6878 -
5.6879 - # Set some defaults for GNU ld with shared library support. These
5.6880 - # are reset later if shared libraries are not supported. Putting them
5.6881 - # here allows them to be overridden if necessary.
5.6882 - runpath_var=LD_RUN_PATH
5.6883 - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
5.6884 - export_dynamic_flag_spec='${wl}--export-dynamic'
5.6885 - # ancient GNU ld didn't support --whole-archive et. al.
5.6886 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
5.6887 - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
5.6888 - else
5.6889 - whole_archive_flag_spec=
5.6890 - fi
5.6891 - supports_anon_versioning=no
5.6892 - case `$LD -v 2>/dev/null` in
5.6893 - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
5.6894 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
5.6895 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
5.6896 - *\ 2.11.*) ;; # other 2.11 versions
5.6897 - *) supports_anon_versioning=yes ;;
5.6898 - esac
5.6899 -
5.6900 - # See if GNU ld supports shared libraries.
5.6901 - case $host_os in
5.6902 - aix3* | aix4* | aix5*)
5.6903 - # On AIX/PPC, the GNU linker is very broken
5.6904 - if test "$host_cpu" != ia64; then
5.6905 - ld_shlibs=no
5.6906 - cat <<EOF 1>&2
5.6907 -
5.6908 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
5.6909 -*** to be unable to reliably create shared libraries on AIX.
5.6910 -*** Therefore, libtool is disabling shared libraries support. If you
5.6911 -*** really care for shared libraries, you may want to modify your PATH
5.6912 -*** so that a non-GNU linker is found, and then restart.
5.6913 -
5.6914 -EOF
5.6915 - fi
5.6916 - ;;
5.6917 -
5.6918 - amigaos*)
5.6919 - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5.6920 - hardcode_libdir_flag_spec='-L$libdir'
5.6921 - hardcode_minus_L=yes
5.6922 -
5.6923 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
5.6924 - # that the semantics of dynamic libraries on AmigaOS, at least up
5.6925 - # to version 4, is to share data among multiple programs linked
5.6926 - # with the same dynamic library. Since this doesn't match the
5.6927 - # behavior of shared libraries on other platforms, we can't use
5.6928 - # them.
5.6929 - ld_shlibs=no
5.6930 - ;;
5.6931 -
5.6932 - beos*)
5.6933 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5.6934 - allow_undefined_flag=unsupported
5.6935 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
5.6936 - # support --undefined. This deserves some investigation. FIXME
5.6937 - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.6938 - else
5.6939 - ld_shlibs=no
5.6940 - fi
5.6941 - ;;
5.6942 -
5.6943 - cygwin* | mingw* | pw32*)
5.6944 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
5.6945 - # as there is no search path for DLLs.
5.6946 - hardcode_libdir_flag_spec='-L$libdir'
5.6947 - allow_undefined_flag=unsupported
5.6948 - always_export_symbols=no
5.6949 - enable_shared_with_static_runtimes=yes
5.6950 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
5.6951 -
5.6952 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
5.6953 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5.6954 - # If the export-symbols file already is a .def file (1st line
5.6955 - # is EXPORTS), use it as is; otherwise, prepend...
5.6956 - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5.6957 - cp $export_symbols $output_objdir/$soname.def;
5.6958 - else
5.6959 - echo EXPORTS > $output_objdir/$soname.def;
5.6960 - cat $export_symbols >> $output_objdir/$soname.def;
5.6961 - fi~
5.6962 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5.6963 - else
5.6964 - ld_shlibs=no
5.6965 - fi
5.6966 - ;;
5.6967 -
5.6968 - linux*)
5.6969 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5.6970 - tmp_addflag=
5.6971 - case $cc_basename,$host_cpu in
5.6972 - pgcc*) # Portland Group C compiler
5.6973 - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
5.6974 - tmp_addflag=' $pic_flag'
5.6975 - ;;
5.6976 - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
5.6977 - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
5.6978 - tmp_addflag=' $pic_flag -Mnomain' ;;
5.6979 - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
5.6980 - tmp_addflag=' -i_dynamic' ;;
5.6981 - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
5.6982 - tmp_addflag=' -i_dynamic -nofor_main' ;;
5.6983 - ifc* | ifort*) # Intel Fortran compiler
5.6984 - tmp_addflag=' -nofor_main' ;;
5.6985 - esac
5.6986 - archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.6987 -
5.6988 - if test $supports_anon_versioning = yes; then
5.6989 - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
5.6990 - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5.6991 - $echo "local: *; };" >> $output_objdir/$libname.ver~
5.6992 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5.6993 - fi
5.6994 - else
5.6995 - ld_shlibs=no
5.6996 - fi
5.6997 - ;;
5.6998 -
5.6999 - netbsd*)
5.7000 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5.7001 - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5.7002 - wlarc=
5.7003 - else
5.7004 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.7005 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5.7006 - fi
5.7007 - ;;
5.7008 -
5.7009 - solaris* | sysv5*)
5.7010 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
5.7011 - ld_shlibs=no
5.7012 - cat <<EOF 1>&2
5.7013 -
5.7014 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
5.7015 -*** create shared libraries on Solaris systems. Therefore, libtool
5.7016 -*** is disabling shared libraries support. We urge you to upgrade GNU
5.7017 -*** binutils to release 2.9.1 or newer. Another option is to modify
5.7018 -*** your PATH or compiler configuration so that the native linker is
5.7019 -*** used, and then restart.
5.7020 -
5.7021 -EOF
5.7022 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5.7023 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.7024 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5.7025 - else
5.7026 - ld_shlibs=no
5.7027 - fi
5.7028 - ;;
5.7029 -
5.7030 - sunos4*)
5.7031 - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5.7032 - wlarc=
5.7033 - hardcode_direct=yes
5.7034 - hardcode_shlibpath_var=no
5.7035 - ;;
5.7036 -
5.7037 - *)
5.7038 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5.7039 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.7040 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5.7041 - else
5.7042 - ld_shlibs=no
5.7043 - fi
5.7044 - ;;
5.7045 - esac
5.7046 -
5.7047 - if test "$ld_shlibs" = no; then
5.7048 - runpath_var=
5.7049 - hardcode_libdir_flag_spec=
5.7050 - export_dynamic_flag_spec=
5.7051 - whole_archive_flag_spec=
5.7052 - fi
5.7053 - else
5.7054 - # PORTME fill in a description of your system's linker (not GNU ld)
5.7055 - case $host_os in
5.7056 - aix3*)
5.7057 - allow_undefined_flag=unsupported
5.7058 - always_export_symbols=yes
5.7059 - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
5.7060 - # Note: this linker hardcodes the directories in LIBPATH if there
5.7061 - # are no directories specified by -L.
5.7062 - hardcode_minus_L=yes
5.7063 - if test "$GCC" = yes && test -z "$link_static_flag"; then
5.7064 - # Neither direct hardcoding nor static linking is supported with a
5.7065 - # broken collect2.
5.7066 - hardcode_direct=unsupported
5.7067 - fi
5.7068 - ;;
5.7069 -
5.7070 - aix4* | aix5*)
5.7071 - if test "$host_cpu" = ia64; then
5.7072 - # On IA64, the linker does run time linking by default, so we don't
5.7073 - # have to do anything special.
5.7074 - aix_use_runtimelinking=no
5.7075 - exp_sym_flag='-Bexport'
5.7076 - no_entry_flag=""
5.7077 - else
5.7078 - # If we're using GNU nm, then we don't want the "-C" option.
5.7079 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
5.7080 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
5.7081 - export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
5.7082 - else
5.7083 - export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
5.7084 - fi
5.7085 - aix_use_runtimelinking=no
5.7086 -
5.7087 - # Test if we are trying to use run time linking or normal
5.7088 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5.7089 - # need to do runtime linking.
5.7090 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
5.7091 - for ld_flag in $LDFLAGS; do
5.7092 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
5.7093 - aix_use_runtimelinking=yes
5.7094 - break
5.7095 - fi
5.7096 - done
5.7097 - esac
5.7098 -
5.7099 - exp_sym_flag='-bexport'
5.7100 - no_entry_flag='-bnoentry'
5.7101 - fi
5.7102 -
5.7103 - # When large executables or shared objects are built, AIX ld can
5.7104 - # have problems creating the table of contents. If linking a library
5.7105 - # or program results in "error TOC overflow" add -mminimal-toc to
5.7106 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
5.7107 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5.7108 -
5.7109 - archive_cmds=''
5.7110 - hardcode_direct=yes
5.7111 - hardcode_libdir_separator=':'
5.7112 - link_all_deplibs=yes
5.7113 -
5.7114 - if test "$GCC" = yes; then
5.7115 - case $host_os in aix4.[012]|aix4.[012].*)
5.7116 - # We only want to do this on AIX 4.2 and lower, the check
5.7117 - # below for broken collect2 doesn't work under 4.3+
5.7118 - collect2name=`${CC} -print-prog-name=collect2`
5.7119 - if test -f "$collect2name" && \
5.7120 - strings "$collect2name" | grep resolve_lib_name >/dev/null
5.7121 - then
5.7122 - # We have reworked collect2
5.7123 - hardcode_direct=yes
5.7124 - else
5.7125 - # We have old collect2
5.7126 - hardcode_direct=unsupported
5.7127 - # It fails to find uninstalled libraries when the uninstalled
5.7128 - # path is not listed in the libpath. Setting hardcode_minus_L
5.7129 - # to unsupported forces relinking
5.7130 - hardcode_minus_L=yes
5.7131 - hardcode_libdir_flag_spec='-L$libdir'
5.7132 - hardcode_libdir_separator=
5.7133 - fi
5.7134 - esac
5.7135 - shared_flag='-shared'
5.7136 - if test "$aix_use_runtimelinking" = yes; then
5.7137 - shared_flag="$shared_flag "'${wl}-G'
5.7138 - fi
5.7139 - else
5.7140 - # not using gcc
5.7141 - if test "$host_cpu" = ia64; then
5.7142 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5.7143 - # chokes on -Wl,-G. The following line is correct:
5.7144 - shared_flag='-G'
5.7145 - else
5.7146 - if test "$aix_use_runtimelinking" = yes; then
5.7147 - shared_flag='${wl}-G'
5.7148 - else
5.7149 - shared_flag='${wl}-bM:SRE'
5.7150 - fi
5.7151 - fi
5.7152 - fi
5.7153 -
5.7154 - # It seems that -bexpall does not export symbols beginning with
5.7155 - # underscore (_), so it is better to generate a list of symbols to export.
5.7156 - always_export_symbols=yes
5.7157 - if test "$aix_use_runtimelinking" = yes; then
5.7158 - # Warning - without using the other runtime loading flags (-brtl),
5.7159 - # -berok will link without error, but may produce a broken library.
5.7160 - allow_undefined_flag='-berok'
5.7161 - # Determine the default libpath from the value encoded in an empty executable.
5.7162 - cat >conftest.$ac_ext <<_ACEOF
5.7163 -/* confdefs.h. */
5.7164 -_ACEOF
5.7165 -cat confdefs.h >>conftest.$ac_ext
5.7166 -cat >>conftest.$ac_ext <<_ACEOF
5.7167 -/* end confdefs.h. */
5.7168 -
5.7169 -int
5.7170 -main ()
5.7171 -{
5.7172 -
5.7173 - ;
5.7174 - return 0;
5.7175 -}
5.7176 -_ACEOF
5.7177 -rm -f conftest.$ac_objext conftest$ac_exeext
5.7178 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.7179 - (eval $ac_link) 2>conftest.er1
5.7180 - ac_status=$?
5.7181 - grep -v '^ *+' conftest.er1 >conftest.err
5.7182 - rm -f conftest.er1
5.7183 - cat conftest.err >&5
5.7184 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.7185 - (exit $ac_status); } &&
5.7186 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.7187 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.7188 - (eval $ac_try) 2>&5
5.7189 - ac_status=$?
5.7190 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.7191 - (exit $ac_status); }; } &&
5.7192 - { ac_try='test -s conftest$ac_exeext'
5.7193 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.7194 - (eval $ac_try) 2>&5
5.7195 - ac_status=$?
5.7196 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.7197 - (exit $ac_status); }; }; then
5.7198 -
5.7199 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
5.7200 -}'`
5.7201 -# Check for a 64-bit object if we didn't find anything.
5.7202 -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; }
5.7203 -}'`; fi
5.7204 -else
5.7205 - echo "$as_me: failed program was:" >&5
5.7206 -sed 's/^/| /' conftest.$ac_ext >&5
5.7207 -
5.7208 -fi
5.7209 -rm -f conftest.err conftest.$ac_objext \
5.7210 - conftest$ac_exeext conftest.$ac_ext
5.7211 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
5.7212 -
5.7213 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
5.7214 - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5.7215 - else
5.7216 - if test "$host_cpu" = ia64; then
5.7217 - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
5.7218 - allow_undefined_flag="-z nodefs"
5.7219 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
5.7220 - else
5.7221 - # Determine the default libpath from the value encoded in an empty executable.
5.7222 - cat >conftest.$ac_ext <<_ACEOF
5.7223 -/* confdefs.h. */
5.7224 -_ACEOF
5.7225 -cat confdefs.h >>conftest.$ac_ext
5.7226 -cat >>conftest.$ac_ext <<_ACEOF
5.7227 -/* end confdefs.h. */
5.7228 -
5.7229 -int
5.7230 -main ()
5.7231 -{
5.7232 -
5.7233 - ;
5.7234 - return 0;
5.7235 -}
5.7236 -_ACEOF
5.7237 -rm -f conftest.$ac_objext conftest$ac_exeext
5.7238 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.7239 - (eval $ac_link) 2>conftest.er1
5.7240 - ac_status=$?
5.7241 - grep -v '^ *+' conftest.er1 >conftest.err
5.7242 - rm -f conftest.er1
5.7243 - cat conftest.err >&5
5.7244 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.7245 - (exit $ac_status); } &&
5.7246 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.7247 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.7248 - (eval $ac_try) 2>&5
5.7249 - ac_status=$?
5.7250 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.7251 - (exit $ac_status); }; } &&
5.7252 - { ac_try='test -s conftest$ac_exeext'
5.7253 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.7254 - (eval $ac_try) 2>&5
5.7255 - ac_status=$?
5.7256 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.7257 - (exit $ac_status); }; }; then
5.7258 -
5.7259 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
5.7260 -}'`
5.7261 -# Check for a 64-bit object if we didn't find anything.
5.7262 -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; }
5.7263 -}'`; fi
5.7264 -else
5.7265 - echo "$as_me: failed program was:" >&5
5.7266 -sed 's/^/| /' conftest.$ac_ext >&5
5.7267 -
5.7268 -fi
5.7269 -rm -f conftest.err conftest.$ac_objext \
5.7270 - conftest$ac_exeext conftest.$ac_ext
5.7271 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
5.7272 -
5.7273 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
5.7274 - # Warning - without using the other run time loading flags,
5.7275 - # -berok will link without error, but may produce a broken library.
5.7276 - no_undefined_flag=' ${wl}-bernotok'
5.7277 - allow_undefined_flag=' ${wl}-berok'
5.7278 - # -bexpall does not export symbols beginning with underscore (_)
5.7279 - always_export_symbols=yes
5.7280 - # Exported symbols can be pulled into shared objects from archives
5.7281 - whole_archive_flag_spec=' '
5.7282 - archive_cmds_need_lc=yes
5.7283 - # This is similar to how AIX traditionally builds its shared libraries.
5.7284 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
5.7285 - fi
5.7286 - fi
5.7287 - ;;
5.7288 -
5.7289 - amigaos*)
5.7290 - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5.7291 - hardcode_libdir_flag_spec='-L$libdir'
5.7292 - hardcode_minus_L=yes
5.7293 - # see comment about different semantics on the GNU ld section
5.7294 - ld_shlibs=no
5.7295 - ;;
5.7296 -
5.7297 - bsdi[45]*)
5.7298 - export_dynamic_flag_spec=-rdynamic
5.7299 - ;;
5.7300 -
5.7301 - cygwin* | mingw* | pw32*)
5.7302 - # When not using gcc, we currently assume that we are using
5.7303 - # Microsoft Visual C++.
5.7304 - # hardcode_libdir_flag_spec is actually meaningless, as there is
5.7305 - # no search path for DLLs.
5.7306 - hardcode_libdir_flag_spec=' '
5.7307 - allow_undefined_flag=unsupported
5.7308 - # Tell ltmain to make .lib files, not .a files.
5.7309 - libext=lib
5.7310 - # Tell ltmain to make .dll files, not .so files.
5.7311 - shrext_cmds=".dll"
5.7312 - # FIXME: Setting linknames here is a bad hack.
5.7313 - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
5.7314 - # The linker will automatically build a .lib file if we build a DLL.
5.7315 - old_archive_From_new_cmds='true'
5.7316 - # FIXME: Should let the user specify the lib program.
5.7317 - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
5.7318 - fix_srcfile_path='`cygpath -w "$srcfile"`'
5.7319 - enable_shared_with_static_runtimes=yes
5.7320 - ;;
5.7321 -
5.7322 - darwin* | rhapsody*)
5.7323 - case $host_os in
5.7324 - rhapsody* | darwin1.[012])
5.7325 - allow_undefined_flag='${wl}-undefined ${wl}suppress'
5.7326 - ;;
5.7327 - *) # Darwin 1.3 on
5.7328 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
5.7329 - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
5.7330 - else
5.7331 - case ${MACOSX_DEPLOYMENT_TARGET} in
5.7332 - 10.[012])
5.7333 - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
5.7334 - ;;
5.7335 - 10.*)
5.7336 - allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
5.7337 - ;;
5.7338 - esac
5.7339 - fi
5.7340 - ;;
5.7341 - esac
5.7342 - archive_cmds_need_lc=no
5.7343 - hardcode_direct=no
5.7344 - hardcode_automatic=yes
5.7345 - hardcode_shlibpath_var=unsupported
5.7346 - whole_archive_flag_spec=''
5.7347 - link_all_deplibs=yes
5.7348 - if test "$GCC" = yes ; then
5.7349 - output_verbose_link_cmd='echo'
5.7350 - archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
5.7351 - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5.7352 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5.7353 - archive_expsym_cmds='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}'
5.7354 - module_expsym_cmds='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}'
5.7355 - else
5.7356 - case $cc_basename in
5.7357 - xlc*)
5.7358 - output_verbose_link_cmd='echo'
5.7359 - archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
5.7360 - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5.7361 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5.7362 - archive_expsym_cmds='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}'
5.7363 - module_expsym_cmds='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}'
5.7364 - ;;
5.7365 - *)
5.7366 - ld_shlibs=no
5.7367 - ;;
5.7368 - esac
5.7369 - fi
5.7370 - ;;
5.7371 -
5.7372 - dgux*)
5.7373 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.7374 - hardcode_libdir_flag_spec='-L$libdir'
5.7375 - hardcode_shlibpath_var=no
5.7376 - ;;
5.7377 -
5.7378 - freebsd1*)
5.7379 - ld_shlibs=no
5.7380 - ;;
5.7381 -
5.7382 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
5.7383 - # support. Future versions do this automatically, but an explicit c++rt0.o
5.7384 - # does not break anything, and helps significantly (at the cost of a little
5.7385 - # extra space).
5.7386 - freebsd2.2*)
5.7387 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
5.7388 - hardcode_libdir_flag_spec='-R$libdir'
5.7389 - hardcode_direct=yes
5.7390 - hardcode_shlibpath_var=no
5.7391 - ;;
5.7392 -
5.7393 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
5.7394 - freebsd2*)
5.7395 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5.7396 - hardcode_direct=yes
5.7397 - hardcode_minus_L=yes
5.7398 - hardcode_shlibpath_var=no
5.7399 - ;;
5.7400 -
5.7401 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5.7402 - freebsd* | kfreebsd*-gnu | dragonfly*)
5.7403 - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
5.7404 - hardcode_libdir_flag_spec='-R$libdir'
5.7405 - hardcode_direct=yes
5.7406 - hardcode_shlibpath_var=no
5.7407 - ;;
5.7408 -
5.7409 - hpux9*)
5.7410 - if test "$GCC" = yes; then
5.7411 - archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
5.7412 - else
5.7413 - archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
5.7414 - fi
5.7415 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
5.7416 - hardcode_libdir_separator=:
5.7417 - hardcode_direct=yes
5.7418 -
5.7419 - # hardcode_minus_L: Not really in the search PATH,
5.7420 - # but as the default location of the library.
5.7421 - hardcode_minus_L=yes
5.7422 - export_dynamic_flag_spec='${wl}-E'
5.7423 - ;;
5.7424 -
5.7425 - hpux10* | hpux11*)
5.7426 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5.7427 - case $host_cpu in
5.7428 - hppa*64*|ia64*)
5.7429 - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5.7430 - ;;
5.7431 - *)
5.7432 - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5.7433 - ;;
5.7434 - esac
5.7435 - else
5.7436 - case $host_cpu in
5.7437 - hppa*64*|ia64*)
5.7438 - archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
5.7439 - ;;
5.7440 - *)
5.7441 - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
5.7442 - ;;
5.7443 - esac
5.7444 - fi
5.7445 - if test "$with_gnu_ld" = no; then
5.7446 - case $host_cpu in
5.7447 - hppa*64*)
5.7448 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
5.7449 - hardcode_libdir_flag_spec_ld='+b $libdir'
5.7450 - hardcode_libdir_separator=:
5.7451 - hardcode_direct=no
5.7452 - hardcode_shlibpath_var=no
5.7453 - ;;
5.7454 - ia64*)
5.7455 - hardcode_libdir_flag_spec='-L$libdir'
5.7456 - hardcode_direct=no
5.7457 - hardcode_shlibpath_var=no
5.7458 -
5.7459 - # hardcode_minus_L: Not really in the search PATH,
5.7460 - # but as the default location of the library.
5.7461 - hardcode_minus_L=yes
5.7462 - ;;
5.7463 - *)
5.7464 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
5.7465 - hardcode_libdir_separator=:
5.7466 - hardcode_direct=yes
5.7467 - export_dynamic_flag_spec='${wl}-E'
5.7468 -
5.7469 - # hardcode_minus_L: Not really in the search PATH,
5.7470 - # but as the default location of the library.
5.7471 - hardcode_minus_L=yes
5.7472 - ;;
5.7473 - esac
5.7474 - fi
5.7475 - ;;
5.7476 -
5.7477 - irix5* | irix6* | nonstopux*)
5.7478 - if test "$GCC" = yes; then
5.7479 - archive_cmds='$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'
5.7480 - else
5.7481 - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
5.7482 - hardcode_libdir_flag_spec_ld='-rpath $libdir'
5.7483 - fi
5.7484 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
5.7485 - hardcode_libdir_separator=:
5.7486 - link_all_deplibs=yes
5.7487 - ;;
5.7488 -
5.7489 - netbsd*)
5.7490 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5.7491 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5.7492 - else
5.7493 - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
5.7494 - fi
5.7495 - hardcode_libdir_flag_spec='-R$libdir'
5.7496 - hardcode_direct=yes
5.7497 - hardcode_shlibpath_var=no
5.7498 - ;;
5.7499 -
5.7500 - newsos6)
5.7501 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.7502 - hardcode_direct=yes
5.7503 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
5.7504 - hardcode_libdir_separator=:
5.7505 - hardcode_shlibpath_var=no
5.7506 - ;;
5.7507 -
5.7508 - openbsd*)
5.7509 - hardcode_direct=yes
5.7510 - hardcode_shlibpath_var=no
5.7511 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5.7512 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5.7513 - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
5.7514 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
5.7515 - export_dynamic_flag_spec='${wl}-E'
5.7516 - else
5.7517 - case $host_os in
5.7518 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
5.7519 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5.7520 - hardcode_libdir_flag_spec='-R$libdir'
5.7521 - ;;
5.7522 - *)
5.7523 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5.7524 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
5.7525 - ;;
5.7526 - esac
5.7527 - fi
5.7528 - ;;
5.7529 -
5.7530 - os2*)
5.7531 - hardcode_libdir_flag_spec='-L$libdir'
5.7532 - hardcode_minus_L=yes
5.7533 - allow_undefined_flag=unsupported
5.7534 - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
5.7535 - old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
5.7536 - ;;
5.7537 -
5.7538 - osf3*)
5.7539 - if test "$GCC" = yes; then
5.7540 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
5.7541 - archive_cmds='$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'
5.7542 - else
5.7543 - allow_undefined_flag=' -expect_unresolved \*'
5.7544 - archive_cmds='$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'
5.7545 - fi
5.7546 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
5.7547 - hardcode_libdir_separator=:
5.7548 - ;;
5.7549 -
5.7550 - osf4* | osf5*) # as osf3* with the addition of -msym flag
5.7551 - if test "$GCC" = yes; then
5.7552 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
5.7553 - archive_cmds='$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'
5.7554 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
5.7555 - else
5.7556 - allow_undefined_flag=' -expect_unresolved \*'
5.7557 - archive_cmds='$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'
5.7558 - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
5.7559 - $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'
5.7560 -
5.7561 - # Both c and cxx compiler support -rpath directly
5.7562 - hardcode_libdir_flag_spec='-rpath $libdir'
5.7563 - fi
5.7564 - hardcode_libdir_separator=:
5.7565 - ;;
5.7566 -
5.7567 - sco3.2v5*)
5.7568 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.7569 - hardcode_shlibpath_var=no
5.7570 - export_dynamic_flag_spec='${wl}-Bexport'
5.7571 - runpath_var=LD_RUN_PATH
5.7572 - hardcode_runpath_var=yes
5.7573 - ;;
5.7574 -
5.7575 - solaris*)
5.7576 - no_undefined_flag=' -z text'
5.7577 - if test "$GCC" = yes; then
5.7578 - wlarc='${wl}'
5.7579 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5.7580 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5.7581 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
5.7582 - else
5.7583 - wlarc=''
5.7584 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.7585 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5.7586 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
5.7587 - fi
5.7588 - hardcode_libdir_flag_spec='-R$libdir'
5.7589 - hardcode_shlibpath_var=no
5.7590 - case $host_os in
5.7591 - solaris2.[0-5] | solaris2.[0-5].*) ;;
5.7592 - *)
5.7593 - # The compiler driver will combine linker options so we
5.7594 - # cannot just pass the convience library names through
5.7595 - # without $wl, iff we do not link with $LD.
5.7596 - # Luckily, gcc supports the same syntax we need for Sun Studio.
5.7597 - # Supported since Solaris 2.6 (maybe 2.5.1?)
5.7598 - case $wlarc in
5.7599 - '')
5.7600 - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
5.7601 - *)
5.7602 - whole_archive_flag_spec='${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' ;;
5.7603 - esac ;;
5.7604 - esac
5.7605 - link_all_deplibs=yes
5.7606 - ;;
5.7607 -
5.7608 - sunos4*)
5.7609 - if test "x$host_vendor" = xsequent; then
5.7610 - # Use $CC to link under sequent, because it throws in some extra .o
5.7611 - # files that make .init and .fini sections work.
5.7612 - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5.7613 - else
5.7614 - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
5.7615 - fi
5.7616 - hardcode_libdir_flag_spec='-L$libdir'
5.7617 - hardcode_direct=yes
5.7618 - hardcode_minus_L=yes
5.7619 - hardcode_shlibpath_var=no
5.7620 - ;;
5.7621 -
5.7622 - sysv4)
5.7623 - case $host_vendor in
5.7624 - sni)
5.7625 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.7626 - hardcode_direct=yes # is this really true???
5.7627 - ;;
5.7628 - siemens)
5.7629 - ## LD is ld it makes a PLAMLIB
5.7630 - ## CC just makes a GrossModule.
5.7631 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5.7632 - reload_cmds='$CC -r -o $output$reload_objs'
5.7633 - hardcode_direct=no
5.7634 - ;;
5.7635 - motorola)
5.7636 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.7637 - hardcode_direct=no #Motorola manual says yes, but my tests say they lie
5.7638 - ;;
5.7639 - esac
5.7640 - runpath_var='LD_RUN_PATH'
5.7641 - hardcode_shlibpath_var=no
5.7642 - ;;
5.7643 -
5.7644 - sysv4.3*)
5.7645 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.7646 - hardcode_shlibpath_var=no
5.7647 - export_dynamic_flag_spec='-Bexport'
5.7648 - ;;
5.7649 -
5.7650 - sysv4*MP*)
5.7651 - if test -d /usr/nec; then
5.7652 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.7653 - hardcode_shlibpath_var=no
5.7654 - runpath_var=LD_RUN_PATH
5.7655 - hardcode_runpath_var=yes
5.7656 - ld_shlibs=yes
5.7657 - fi
5.7658 - ;;
5.7659 -
5.7660 - sysv4.2uw2*)
5.7661 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5.7662 - hardcode_direct=yes
5.7663 - hardcode_minus_L=no
5.7664 - hardcode_shlibpath_var=no
5.7665 - hardcode_runpath_var=yes
5.7666 - runpath_var=LD_RUN_PATH
5.7667 - ;;
5.7668 -
5.7669 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
5.7670 - no_undefined_flag='${wl}-z ${wl}text'
5.7671 - if test "$GCC" = yes; then
5.7672 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5.7673 - else
5.7674 - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5.7675 - fi
5.7676 - runpath_var='LD_RUN_PATH'
5.7677 - hardcode_shlibpath_var=no
5.7678 - ;;
5.7679 -
5.7680 - sysv5*)
5.7681 - no_undefined_flag=' -z text'
5.7682 - # $CC -shared without GNU ld will not create a library from C++
5.7683 - # object files and a static libstdc++, better avoid it by now
5.7684 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.7685 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5.7686 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
5.7687 - hardcode_libdir_flag_spec=
5.7688 - hardcode_shlibpath_var=no
5.7689 - runpath_var='LD_RUN_PATH'
5.7690 - ;;
5.7691 -
5.7692 - uts4*)
5.7693 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.7694 - hardcode_libdir_flag_spec='-L$libdir'
5.7695 - hardcode_shlibpath_var=no
5.7696 - ;;
5.7697 -
5.7698 - *)
5.7699 - ld_shlibs=no
5.7700 - ;;
5.7701 - esac
5.7702 - fi
5.7703 -
5.7704 -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
5.7705 -echo "${ECHO_T}$ld_shlibs" >&6
5.7706 -test "$ld_shlibs" = no && can_build_shared=no
5.7707 -
5.7708 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
5.7709 -if test "$GCC" = yes; then
5.7710 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
5.7711 -fi
5.7712 -
5.7713 -#
5.7714 -# Do we need to explicitly link libc?
5.7715 -#
5.7716 -case "x$archive_cmds_need_lc" in
5.7717 -x|xyes)
5.7718 - # Assume -lc should be added
5.7719 - archive_cmds_need_lc=yes
5.7720 -
5.7721 - if test "$enable_shared" = yes && test "$GCC" = yes; then
5.7722 - case $archive_cmds in
5.7723 - *'~'*)
5.7724 - # FIXME: we may have to deal with multi-command sequences.
5.7725 - ;;
5.7726 - '$CC '*)
5.7727 - # Test whether the compiler implicitly links with -lc since on some
5.7728 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
5.7729 - # to ld, don't add -lc before -lgcc.
5.7730 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
5.7731 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
5.7732 - $rm conftest*
5.7733 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
5.7734 -
5.7735 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.7736 - (eval $ac_compile) 2>&5
5.7737 - ac_status=$?
5.7738 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.7739 - (exit $ac_status); } 2>conftest.err; then
5.7740 - soname=conftest
5.7741 - lib=conftest
5.7742 - libobjs=conftest.$ac_objext
5.7743 - deplibs=
5.7744 - wl=$lt_prog_compiler_wl
5.7745 - compiler_flags=-v
5.7746 - linker_flags=-v
5.7747 - verstring=
5.7748 - output_objdir=.
5.7749 - libname=conftest
5.7750 - lt_save_allow_undefined_flag=$allow_undefined_flag
5.7751 - allow_undefined_flag=
5.7752 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
5.7753 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
5.7754 - ac_status=$?
5.7755 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.7756 - (exit $ac_status); }
5.7757 - then
5.7758 - archive_cmds_need_lc=no
5.7759 - else
5.7760 - archive_cmds_need_lc=yes
5.7761 - fi
5.7762 - allow_undefined_flag=$lt_save_allow_undefined_flag
5.7763 - else
5.7764 - cat conftest.err 1>&5
5.7765 - fi
5.7766 - $rm conftest*
5.7767 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
5.7768 -echo "${ECHO_T}$archive_cmds_need_lc" >&6
5.7769 - ;;
5.7770 - esac
5.7771 - fi
5.7772 - ;;
5.7773 -esac
5.7774 -
5.7775 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
5.7776 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
5.7777 -library_names_spec=
5.7778 -libname_spec='lib$name'
5.7779 -soname_spec=
5.7780 -shrext_cmds=".so"
5.7781 -postinstall_cmds=
5.7782 -postuninstall_cmds=
5.7783 -finish_cmds=
5.7784 -finish_eval=
5.7785 -shlibpath_var=
5.7786 -shlibpath_overrides_runpath=unknown
5.7787 -version_type=none
5.7788 -dynamic_linker="$host_os ld.so"
5.7789 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
5.7790 -if test "$GCC" = yes; then
5.7791 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
5.7792 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
5.7793 - # if the path contains ";" then we assume it to be the separator
5.7794 - # otherwise default to the standard path separator (i.e. ":") - it is
5.7795 - # assumed that no part of a normal pathname contains ";" but that should
5.7796 - # okay in the real world where ";" in dirpaths is itself problematic.
5.7797 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
5.7798 - else
5.7799 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
5.7800 - fi
5.7801 -else
5.7802 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
5.7803 -fi
5.7804 -need_lib_prefix=unknown
5.7805 -hardcode_into_libs=no
5.7806 -
5.7807 -# when you set need_version to no, make sure it does not cause -set_version
5.7808 -# flags to be left without arguments
5.7809 -need_version=unknown
5.7810 -
5.7811 -case $host_os in
5.7812 -aix3*)
5.7813 - version_type=linux
5.7814 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
5.7815 - shlibpath_var=LIBPATH
5.7816 -
5.7817 - # AIX 3 has no versioning support, so we append a major version to the name.
5.7818 - soname_spec='${libname}${release}${shared_ext}$major'
5.7819 - ;;
5.7820 -
5.7821 -aix4* | aix5*)
5.7822 - version_type=linux
5.7823 - need_lib_prefix=no
5.7824 - need_version=no
5.7825 - hardcode_into_libs=yes
5.7826 - if test "$host_cpu" = ia64; then
5.7827 - # AIX 5 supports IA64
5.7828 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
5.7829 - shlibpath_var=LD_LIBRARY_PATH
5.7830 - else
5.7831 - # With GCC up to 2.95.x, collect2 would create an import file
5.7832 - # for dependence libraries. The import file would start with
5.7833 - # the line `#! .'. This would cause the generated library to
5.7834 - # depend on `.', always an invalid library. This was fixed in
5.7835 - # development snapshots of GCC prior to 3.0.
5.7836 - case $host_os in
5.7837 - aix4 | aix4.[01] | aix4.[01].*)
5.7838 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
5.7839 - echo ' yes '
5.7840 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
5.7841 - :
5.7842 - else
5.7843 - can_build_shared=no
5.7844 - fi
5.7845 - ;;
5.7846 - esac
5.7847 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
5.7848 - # soname into executable. Probably we can add versioning support to
5.7849 - # collect2, so additional links can be useful in future.
5.7850 - if test "$aix_use_runtimelinking" = yes; then
5.7851 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
5.7852 - # instead of lib<name>.a to let people know that these are not
5.7853 - # typical AIX shared libraries.
5.7854 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.7855 - else
5.7856 - # We preserve .a as extension for shared libraries through AIX4.2
5.7857 - # and later when we are not doing run time linking.
5.7858 - library_names_spec='${libname}${release}.a $libname.a'
5.7859 - soname_spec='${libname}${release}${shared_ext}$major'
5.7860 - fi
5.7861 - shlibpath_var=LIBPATH
5.7862 - fi
5.7863 - ;;
5.7864 -
5.7865 -amigaos*)
5.7866 - library_names_spec='$libname.ixlibrary $libname.a'
5.7867 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
5.7868 - 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'
5.7869 - ;;
5.7870 -
5.7871 -beos*)
5.7872 - library_names_spec='${libname}${shared_ext}'
5.7873 - dynamic_linker="$host_os ld.so"
5.7874 - shlibpath_var=LIBRARY_PATH
5.7875 - ;;
5.7876 -
5.7877 -bsdi[45]*)
5.7878 - version_type=linux
5.7879 - need_version=no
5.7880 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.7881 - soname_spec='${libname}${release}${shared_ext}$major'
5.7882 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
5.7883 - shlibpath_var=LD_LIBRARY_PATH
5.7884 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
5.7885 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
5.7886 - # the default ld.so.conf also contains /usr/contrib/lib and
5.7887 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
5.7888 - # libtool to hard-code these into programs
5.7889 - ;;
5.7890 -
5.7891 -cygwin* | mingw* | pw32*)
5.7892 - version_type=windows
5.7893 - shrext_cmds=".dll"
5.7894 - need_version=no
5.7895 - need_lib_prefix=no
5.7896 -
5.7897 - case $GCC,$host_os in
5.7898 - yes,cygwin* | yes,mingw* | yes,pw32*)
5.7899 - library_names_spec='$libname.dll.a'
5.7900 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
5.7901 - postinstall_cmds='base_file=`basename \${file}`~
5.7902 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
5.7903 - dldir=$destdir/`dirname \$dlpath`~
5.7904 - test -d \$dldir || mkdir -p \$dldir~
5.7905 - $install_prog $dir/$dlname \$dldir/$dlname~
5.7906 - chmod a+x \$dldir/$dlname'
5.7907 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
5.7908 - dlpath=$dir/\$dldll~
5.7909 - $rm \$dlpath'
5.7910 - shlibpath_overrides_runpath=yes
5.7911 -
5.7912 - case $host_os in
5.7913 - cygwin*)
5.7914 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
5.7915 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
5.7916 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
5.7917 - ;;
5.7918 - mingw*)
5.7919 - # MinGW DLLs use traditional 'lib' prefix
5.7920 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
5.7921 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
5.7922 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
5.7923 - # It is most probably a Windows format PATH printed by
5.7924 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
5.7925 - # path with ; separators, and with drive letters. We can handle the
5.7926 - # drive letters (cygwin fileutils understands them), so leave them,
5.7927 - # especially as we might pass files found there to a mingw objdump,
5.7928 - # which wouldn't understand a cygwinified path. Ahh.
5.7929 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
5.7930 - else
5.7931 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
5.7932 - fi
5.7933 - ;;
5.7934 - pw32*)
5.7935 - # pw32 DLLs use 'pw' prefix rather than 'lib'
5.7936 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
5.7937 - ;;
5.7938 - esac
5.7939 - ;;
5.7940 -
5.7941 - *)
5.7942 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
5.7943 - ;;
5.7944 - esac
5.7945 - dynamic_linker='Win32 ld.exe'
5.7946 - # FIXME: first we should search . and the directory the executable is in
5.7947 - shlibpath_var=PATH
5.7948 - ;;
5.7949 -
5.7950 -darwin* | rhapsody*)
5.7951 - dynamic_linker="$host_os dyld"
5.7952 - version_type=darwin
5.7953 - need_lib_prefix=no
5.7954 - need_version=no
5.7955 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
5.7956 - soname_spec='${libname}${release}${major}$shared_ext'
5.7957 - shlibpath_overrides_runpath=yes
5.7958 - shlibpath_var=DYLD_LIBRARY_PATH
5.7959 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
5.7960 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
5.7961 - if test "$GCC" = yes; then
5.7962 - 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"`
5.7963 - else
5.7964 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
5.7965 - fi
5.7966 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
5.7967 - ;;
5.7968 -
5.7969 -dgux*)
5.7970 - version_type=linux
5.7971 - need_lib_prefix=no
5.7972 - need_version=no
5.7973 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
5.7974 - soname_spec='${libname}${release}${shared_ext}$major'
5.7975 - shlibpath_var=LD_LIBRARY_PATH
5.7976 - ;;
5.7977 -
5.7978 -freebsd1*)
5.7979 - dynamic_linker=no
5.7980 - ;;
5.7981 -
5.7982 -kfreebsd*-gnu)
5.7983 - version_type=linux
5.7984 - need_lib_prefix=no
5.7985 - need_version=no
5.7986 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5.7987 - soname_spec='${libname}${release}${shared_ext}$major'
5.7988 - shlibpath_var=LD_LIBRARY_PATH
5.7989 - shlibpath_overrides_runpath=no
5.7990 - hardcode_into_libs=yes
5.7991 - dynamic_linker='GNU ld.so'
5.7992 - ;;
5.7993 -
5.7994 -freebsd* | dragonfly*)
5.7995 - # DragonFly does not have aout. When/if they implement a new
5.7996 - # versioning mechanism, adjust this.
5.7997 - if test -x /usr/bin/objformat; then
5.7998 - objformat=`/usr/bin/objformat`
5.7999 - else
5.8000 - case $host_os in
5.8001 - freebsd[123]*) objformat=aout ;;
5.8002 - *) objformat=elf ;;
5.8003 - esac
5.8004 - fi
5.8005 - version_type=freebsd-$objformat
5.8006 - case $version_type in
5.8007 - freebsd-elf*)
5.8008 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
5.8009 - need_version=no
5.8010 - need_lib_prefix=no
5.8011 - ;;
5.8012 - freebsd-*)
5.8013 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
5.8014 - need_version=yes
5.8015 - ;;
5.8016 - esac
5.8017 - shlibpath_var=LD_LIBRARY_PATH
5.8018 - case $host_os in
5.8019 - freebsd2*)
5.8020 - shlibpath_overrides_runpath=yes
5.8021 - ;;
5.8022 - freebsd3.[01]* | freebsdelf3.[01]*)
5.8023 - shlibpath_overrides_runpath=yes
5.8024 - hardcode_into_libs=yes
5.8025 - ;;
5.8026 - *) # from 3.2 on
5.8027 - shlibpath_overrides_runpath=no
5.8028 - hardcode_into_libs=yes
5.8029 - ;;
5.8030 - esac
5.8031 - ;;
5.8032 -
5.8033 -gnu*)
5.8034 - version_type=linux
5.8035 - need_lib_prefix=no
5.8036 - need_version=no
5.8037 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
5.8038 - soname_spec='${libname}${release}${shared_ext}$major'
5.8039 - shlibpath_var=LD_LIBRARY_PATH
5.8040 - hardcode_into_libs=yes
5.8041 - ;;
5.8042 -
5.8043 -hpux9* | hpux10* | hpux11*)
5.8044 - # Give a soname corresponding to the major version so that dld.sl refuses to
5.8045 - # link against other versions.
5.8046 - version_type=sunos
5.8047 - need_lib_prefix=no
5.8048 - need_version=no
5.8049 - case $host_cpu in
5.8050 - ia64*)
5.8051 - shrext_cmds='.so'
5.8052 - hardcode_into_libs=yes
5.8053 - dynamic_linker="$host_os dld.so"
5.8054 - shlibpath_var=LD_LIBRARY_PATH
5.8055 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
5.8056 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.8057 - soname_spec='${libname}${release}${shared_ext}$major'
5.8058 - if test "X$HPUX_IA64_MODE" = X32; then
5.8059 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
5.8060 - else
5.8061 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
5.8062 - fi
5.8063 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
5.8064 - ;;
5.8065 - hppa*64*)
5.8066 - shrext_cmds='.sl'
5.8067 - hardcode_into_libs=yes
5.8068 - dynamic_linker="$host_os dld.sl"
5.8069 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
5.8070 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
5.8071 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.8072 - soname_spec='${libname}${release}${shared_ext}$major'
5.8073 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
5.8074 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
5.8075 - ;;
5.8076 - *)
5.8077 - shrext_cmds='.sl'
5.8078 - dynamic_linker="$host_os dld.sl"
5.8079 - shlibpath_var=SHLIB_PATH
5.8080 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
5.8081 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.8082 - soname_spec='${libname}${release}${shared_ext}$major'
5.8083 - ;;
5.8084 - esac
5.8085 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
5.8086 - postinstall_cmds='chmod 555 $lib'
5.8087 - ;;
5.8088 -
5.8089 -irix5* | irix6* | nonstopux*)
5.8090 - case $host_os in
5.8091 - nonstopux*) version_type=nonstopux ;;
5.8092 - *)
5.8093 - if test "$lt_cv_prog_gnu_ld" = yes; then
5.8094 - version_type=linux
5.8095 - else
5.8096 - version_type=irix
5.8097 - fi ;;
5.8098 - esac
5.8099 - need_lib_prefix=no
5.8100 - need_version=no
5.8101 - soname_spec='${libname}${release}${shared_ext}$major'
5.8102 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
5.8103 - case $host_os in
5.8104 - irix5* | nonstopux*)
5.8105 - libsuff= shlibsuff=
5.8106 - ;;
5.8107 - *)
5.8108 - case $LD in # libtool.m4 will add one of these switches to LD
5.8109 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
5.8110 - libsuff= shlibsuff= libmagic=32-bit;;
5.8111 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
5.8112 - libsuff=32 shlibsuff=N32 libmagic=N32;;
5.8113 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
5.8114 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
5.8115 - *) libsuff= shlibsuff= libmagic=never-match;;
5.8116 - esac
5.8117 - ;;
5.8118 - esac
5.8119 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
5.8120 - shlibpath_overrides_runpath=no
5.8121 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
5.8122 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
5.8123 - hardcode_into_libs=yes
5.8124 - ;;
5.8125 -
5.8126 -# No shared lib support for Linux oldld, aout, or coff.
5.8127 -linux*oldld* | linux*aout* | linux*coff*)
5.8128 - dynamic_linker=no
5.8129 - ;;
5.8130 -
5.8131 -# This must be Linux ELF.
5.8132 -linux*)
5.8133 - version_type=linux
5.8134 - need_lib_prefix=no
5.8135 - need_version=no
5.8136 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.8137 - soname_spec='${libname}${release}${shared_ext}$major'
5.8138 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
5.8139 - shlibpath_var=LD_LIBRARY_PATH
5.8140 - shlibpath_overrides_runpath=no
5.8141 - # This implies no fast_install, which is unacceptable.
5.8142 - # Some rework will be needed to allow for fast_install
5.8143 - # before this can be enabled.
5.8144 - hardcode_into_libs=yes
5.8145 -
5.8146 - # Append ld.so.conf contents to the search path
5.8147 - if test -f /etc/ld.so.conf; then
5.8148 - 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' ' '`
5.8149 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
5.8150 - fi
5.8151 -
5.8152 - # We used to test for /lib/ld.so.1 and disable shared libraries on
5.8153 - # powerpc, because MkLinux only supported shared libraries with the
5.8154 - # GNU dynamic linker. Since this was broken with cross compilers,
5.8155 - # most powerpc-linux boxes support dynamic linking these days and
5.8156 - # people can always --disable-shared, the test was removed, and we
5.8157 - # assume the GNU/Linux dynamic linker is in use.
5.8158 - dynamic_linker='GNU/Linux ld.so'
5.8159 - ;;
5.8160 -
5.8161 -knetbsd*-gnu)
5.8162 - version_type=linux
5.8163 - need_lib_prefix=no
5.8164 - need_version=no
5.8165 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5.8166 - soname_spec='${libname}${release}${shared_ext}$major'
5.8167 - shlibpath_var=LD_LIBRARY_PATH
5.8168 - shlibpath_overrides_runpath=no
5.8169 - hardcode_into_libs=yes
5.8170 - dynamic_linker='GNU ld.so'
5.8171 - ;;
5.8172 -
5.8173 -netbsd*)
5.8174 - version_type=sunos
5.8175 - need_lib_prefix=no
5.8176 - need_version=no
5.8177 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5.8178 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5.8179 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5.8180 - dynamic_linker='NetBSD (a.out) ld.so'
5.8181 - else
5.8182 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5.8183 - soname_spec='${libname}${release}${shared_ext}$major'
5.8184 - dynamic_linker='NetBSD ld.elf_so'
5.8185 - fi
5.8186 - shlibpath_var=LD_LIBRARY_PATH
5.8187 - shlibpath_overrides_runpath=yes
5.8188 - hardcode_into_libs=yes
5.8189 - ;;
5.8190 -
5.8191 -newsos6)
5.8192 - version_type=linux
5.8193 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.8194 - shlibpath_var=LD_LIBRARY_PATH
5.8195 - shlibpath_overrides_runpath=yes
5.8196 - ;;
5.8197 -
5.8198 -nto-qnx*)
5.8199 - version_type=linux
5.8200 - need_lib_prefix=no
5.8201 - need_version=no
5.8202 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.8203 - soname_spec='${libname}${release}${shared_ext}$major'
5.8204 - shlibpath_var=LD_LIBRARY_PATH
5.8205 - shlibpath_overrides_runpath=yes
5.8206 - ;;
5.8207 -
5.8208 -openbsd*)
5.8209 - version_type=sunos
5.8210 - need_lib_prefix=no
5.8211 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
5.8212 - case $host_os in
5.8213 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
5.8214 - *) need_version=no ;;
5.8215 - esac
5.8216 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5.8217 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5.8218 - shlibpath_var=LD_LIBRARY_PATH
5.8219 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5.8220 - case $host_os in
5.8221 - openbsd2.[89] | openbsd2.[89].*)
5.8222 - shlibpath_overrides_runpath=no
5.8223 - ;;
5.8224 - *)
5.8225 - shlibpath_overrides_runpath=yes
5.8226 - ;;
5.8227 - esac
5.8228 - else
5.8229 - shlibpath_overrides_runpath=yes
5.8230 - fi
5.8231 - ;;
5.8232 -
5.8233 -os2*)
5.8234 - libname_spec='$name'
5.8235 - shrext_cmds=".dll"
5.8236 - need_lib_prefix=no
5.8237 - library_names_spec='$libname${shared_ext} $libname.a'
5.8238 - dynamic_linker='OS/2 ld.exe'
5.8239 - shlibpath_var=LIBPATH
5.8240 - ;;
5.8241 -
5.8242 -osf3* | osf4* | osf5*)
5.8243 - version_type=osf
5.8244 - need_lib_prefix=no
5.8245 - need_version=no
5.8246 - soname_spec='${libname}${release}${shared_ext}$major'
5.8247 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.8248 - shlibpath_var=LD_LIBRARY_PATH
5.8249 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
5.8250 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
5.8251 - ;;
5.8252 -
5.8253 -sco3.2v5*)
5.8254 - version_type=osf
5.8255 - soname_spec='${libname}${release}${shared_ext}$major'
5.8256 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.8257 - shlibpath_var=LD_LIBRARY_PATH
5.8258 - ;;
5.8259 -
5.8260 -solaris*)
5.8261 - version_type=linux
5.8262 - need_lib_prefix=no
5.8263 - need_version=no
5.8264 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.8265 - soname_spec='${libname}${release}${shared_ext}$major'
5.8266 - shlibpath_var=LD_LIBRARY_PATH
5.8267 - shlibpath_overrides_runpath=yes
5.8268 - hardcode_into_libs=yes
5.8269 - # ldd complains unless libraries are executable
5.8270 - postinstall_cmds='chmod +x $lib'
5.8271 - ;;
5.8272 -
5.8273 -sunos4*)
5.8274 - version_type=sunos
5.8275 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5.8276 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5.8277 - shlibpath_var=LD_LIBRARY_PATH
5.8278 - shlibpath_overrides_runpath=yes
5.8279 - if test "$with_gnu_ld" = yes; then
5.8280 - need_lib_prefix=no
5.8281 - fi
5.8282 - need_version=yes
5.8283 - ;;
5.8284 -
5.8285 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5.8286 - version_type=linux
5.8287 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.8288 - soname_spec='${libname}${release}${shared_ext}$major'
5.8289 - shlibpath_var=LD_LIBRARY_PATH
5.8290 - case $host_vendor in
5.8291 - sni)
5.8292 - shlibpath_overrides_runpath=no
5.8293 - need_lib_prefix=no
5.8294 - export_dynamic_flag_spec='${wl}-Blargedynsym'
5.8295 - runpath_var=LD_RUN_PATH
5.8296 - ;;
5.8297 - siemens)
5.8298 - need_lib_prefix=no
5.8299 - ;;
5.8300 - motorola)
5.8301 - need_lib_prefix=no
5.8302 - need_version=no
5.8303 - shlibpath_overrides_runpath=no
5.8304 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
5.8305 - ;;
5.8306 - esac
5.8307 - ;;
5.8308 -
5.8309 -sysv4*MP*)
5.8310 - if test -d /usr/nec ;then
5.8311 - version_type=linux
5.8312 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
5.8313 - soname_spec='$libname${shared_ext}.$major'
5.8314 - shlibpath_var=LD_LIBRARY_PATH
5.8315 - fi
5.8316 - ;;
5.8317 -
5.8318 -uts4*)
5.8319 - version_type=linux
5.8320 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.8321 - soname_spec='${libname}${release}${shared_ext}$major'
5.8322 - shlibpath_var=LD_LIBRARY_PATH
5.8323 - ;;
5.8324 -
5.8325 -*)
5.8326 - dynamic_linker=no
5.8327 - ;;
5.8328 -esac
5.8329 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
5.8330 -echo "${ECHO_T}$dynamic_linker" >&6
5.8331 -test "$dynamic_linker" = no && can_build_shared=no
5.8332 -
5.8333 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
5.8334 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
5.8335 -hardcode_action=
5.8336 -if test -n "$hardcode_libdir_flag_spec" || \
5.8337 - test -n "$runpath_var" || \
5.8338 - test "X$hardcode_automatic" = "Xyes" ; then
5.8339 -
5.8340 - # We can hardcode non-existant directories.
5.8341 - if test "$hardcode_direct" != no &&
5.8342 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
5.8343 - # have to relink, otherwise we might link with an installed library
5.8344 - # when we should be linking with a yet-to-be-installed one
5.8345 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
5.8346 - test "$hardcode_minus_L" != no; then
5.8347 - # Linking always hardcodes the temporary library directory.
5.8348 - hardcode_action=relink
5.8349 - else
5.8350 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
5.8351 - hardcode_action=immediate
5.8352 - fi
5.8353 -else
5.8354 - # We cannot hardcode anything, or else we can only hardcode existing
5.8355 - # directories.
5.8356 - hardcode_action=unsupported
5.8357 -fi
5.8358 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
5.8359 -echo "${ECHO_T}$hardcode_action" >&6
5.8360 -
5.8361 -if test "$hardcode_action" = relink; then
5.8362 - # Fast installation is not supported
5.8363 - enable_fast_install=no
5.8364 -elif test "$shlibpath_overrides_runpath" = yes ||
5.8365 - test "$enable_shared" = no; then
5.8366 - # Fast installation is not necessary
5.8367 - enable_fast_install=needless
5.8368 -fi
5.8369 -
5.8370 -striplib=
5.8371 -old_striplib=
5.8372 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
5.8373 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
5.8374 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
5.8375 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
5.8376 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
5.8377 - echo "$as_me:$LINENO: result: yes" >&5
5.8378 -echo "${ECHO_T}yes" >&6
5.8379 -else
5.8380 -# FIXME - insert some real tests, host_os isn't really good enough
5.8381 - case $host_os in
5.8382 - darwin*)
5.8383 - if test -n "$STRIP" ; then
5.8384 - striplib="$STRIP -x"
5.8385 - echo "$as_me:$LINENO: result: yes" >&5
5.8386 -echo "${ECHO_T}yes" >&6
5.8387 - else
5.8388 - echo "$as_me:$LINENO: result: no" >&5
5.8389 -echo "${ECHO_T}no" >&6
5.8390 -fi
5.8391 - ;;
5.8392 - *)
5.8393 - echo "$as_me:$LINENO: result: no" >&5
5.8394 -echo "${ECHO_T}no" >&6
5.8395 - ;;
5.8396 - esac
5.8397 -fi
5.8398 -
5.8399 -if test "x$enable_dlopen" != xyes; then
5.8400 - enable_dlopen=unknown
5.8401 - enable_dlopen_self=unknown
5.8402 - enable_dlopen_self_static=unknown
5.8403 -else
5.8404 - lt_cv_dlopen=no
5.8405 - lt_cv_dlopen_libs=
5.8406 -
5.8407 - case $host_os in
5.8408 - beos*)
5.8409 - lt_cv_dlopen="load_add_on"
5.8410 - lt_cv_dlopen_libs=
5.8411 - lt_cv_dlopen_self=yes
5.8412 - ;;
5.8413 -
5.8414 - mingw* | pw32*)
5.8415 - lt_cv_dlopen="LoadLibrary"
5.8416 - lt_cv_dlopen_libs=
5.8417 - ;;
5.8418 -
5.8419 - cygwin*)
5.8420 - lt_cv_dlopen="dlopen"
5.8421 - lt_cv_dlopen_libs=
5.8422 - ;;
5.8423 -
5.8424 - darwin*)
5.8425 - # if libdl is installed we need to link against it
5.8426 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
5.8427 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
5.8428 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5.8429 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.8430 -else
5.8431 - ac_check_lib_save_LIBS=$LIBS
5.8432 -LIBS="-ldl $LIBS"
5.8433 -cat >conftest.$ac_ext <<_ACEOF
5.8434 -/* confdefs.h. */
5.8435 -_ACEOF
5.8436 -cat confdefs.h >>conftest.$ac_ext
5.8437 -cat >>conftest.$ac_ext <<_ACEOF
5.8438 -/* end confdefs.h. */
5.8439 -
5.8440 -/* Override any gcc2 internal prototype to avoid an error. */
5.8441 -#ifdef __cplusplus
5.8442 -extern "C"
5.8443 -#endif
5.8444 -/* We use char because int might match the return type of a gcc2
5.8445 - builtin and then its argument prototype would still apply. */
5.8446 -char dlopen ();
5.8447 -int
5.8448 -main ()
5.8449 -{
5.8450 -dlopen ();
5.8451 - ;
5.8452 - return 0;
5.8453 -}
5.8454 -_ACEOF
5.8455 -rm -f conftest.$ac_objext conftest$ac_exeext
5.8456 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.8457 - (eval $ac_link) 2>conftest.er1
5.8458 - ac_status=$?
5.8459 - grep -v '^ *+' conftest.er1 >conftest.err
5.8460 - rm -f conftest.er1
5.8461 - cat conftest.err >&5
5.8462 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8463 - (exit $ac_status); } &&
5.8464 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.8465 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.8466 - (eval $ac_try) 2>&5
5.8467 - ac_status=$?
5.8468 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8469 - (exit $ac_status); }; } &&
5.8470 - { ac_try='test -s conftest$ac_exeext'
5.8471 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.8472 - (eval $ac_try) 2>&5
5.8473 - ac_status=$?
5.8474 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8475 - (exit $ac_status); }; }; then
5.8476 - ac_cv_lib_dl_dlopen=yes
5.8477 -else
5.8478 - echo "$as_me: failed program was:" >&5
5.8479 -sed 's/^/| /' conftest.$ac_ext >&5
5.8480 -
5.8481 -ac_cv_lib_dl_dlopen=no
5.8482 -fi
5.8483 -rm -f conftest.err conftest.$ac_objext \
5.8484 - conftest$ac_exeext conftest.$ac_ext
5.8485 -LIBS=$ac_check_lib_save_LIBS
5.8486 -fi
5.8487 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5.8488 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5.8489 -if test $ac_cv_lib_dl_dlopen = yes; then
5.8490 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
5.8491 -else
5.8492 -
5.8493 - lt_cv_dlopen="dyld"
5.8494 - lt_cv_dlopen_libs=
5.8495 - lt_cv_dlopen_self=yes
5.8496 -
5.8497 -fi
5.8498 -
5.8499 - ;;
5.8500 -
5.8501 - *)
5.8502 - echo "$as_me:$LINENO: checking for shl_load" >&5
5.8503 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
5.8504 -if test "${ac_cv_func_shl_load+set}" = set; then
5.8505 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.8506 -else
5.8507 - cat >conftest.$ac_ext <<_ACEOF
5.8508 -/* confdefs.h. */
5.8509 -_ACEOF
5.8510 -cat confdefs.h >>conftest.$ac_ext
5.8511 -cat >>conftest.$ac_ext <<_ACEOF
5.8512 -/* end confdefs.h. */
5.8513 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
5.8514 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
5.8515 -#define shl_load innocuous_shl_load
5.8516 -
5.8517 -/* System header to define __stub macros and hopefully few prototypes,
5.8518 - which can conflict with char shl_load (); below.
5.8519 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5.8520 - <limits.h> exists even on freestanding compilers. */
5.8521 -
5.8522 -#ifdef __STDC__
5.8523 -# include <limits.h>
5.8524 -#else
5.8525 -# include <assert.h>
5.8526 -#endif
5.8527 -
5.8528 -#undef shl_load
5.8529 -
5.8530 -/* Override any gcc2 internal prototype to avoid an error. */
5.8531 -#ifdef __cplusplus
5.8532 -extern "C"
5.8533 -{
5.8534 -#endif
5.8535 -/* We use char because int might match the return type of a gcc2
5.8536 - builtin and then its argument prototype would still apply. */
5.8537 -char shl_load ();
5.8538 -/* The GNU C library defines this for functions which it implements
5.8539 - to always fail with ENOSYS. Some functions are actually named
5.8540 - something starting with __ and the normal name is an alias. */
5.8541 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
5.8542 -choke me
5.8543 -#else
5.8544 -char (*f) () = shl_load;
5.8545 -#endif
5.8546 -#ifdef __cplusplus
5.8547 -}
5.8548 -#endif
5.8549 -
5.8550 -int
5.8551 -main ()
5.8552 -{
5.8553 -return f != shl_load;
5.8554 - ;
5.8555 - return 0;
5.8556 -}
5.8557 -_ACEOF
5.8558 -rm -f conftest.$ac_objext conftest$ac_exeext
5.8559 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.8560 - (eval $ac_link) 2>conftest.er1
5.8561 - ac_status=$?
5.8562 - grep -v '^ *+' conftest.er1 >conftest.err
5.8563 - rm -f conftest.er1
5.8564 - cat conftest.err >&5
5.8565 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8566 - (exit $ac_status); } &&
5.8567 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.8568 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.8569 - (eval $ac_try) 2>&5
5.8570 - ac_status=$?
5.8571 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8572 - (exit $ac_status); }; } &&
5.8573 - { ac_try='test -s conftest$ac_exeext'
5.8574 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.8575 - (eval $ac_try) 2>&5
5.8576 - ac_status=$?
5.8577 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8578 - (exit $ac_status); }; }; then
5.8579 - ac_cv_func_shl_load=yes
5.8580 -else
5.8581 - echo "$as_me: failed program was:" >&5
5.8582 -sed 's/^/| /' conftest.$ac_ext >&5
5.8583 -
5.8584 -ac_cv_func_shl_load=no
5.8585 -fi
5.8586 -rm -f conftest.err conftest.$ac_objext \
5.8587 - conftest$ac_exeext conftest.$ac_ext
5.8588 -fi
5.8589 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
5.8590 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
5.8591 -if test $ac_cv_func_shl_load = yes; then
5.8592 - lt_cv_dlopen="shl_load"
5.8593 -else
5.8594 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
5.8595 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
5.8596 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
5.8597 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.8598 -else
5.8599 - ac_check_lib_save_LIBS=$LIBS
5.8600 -LIBS="-ldld $LIBS"
5.8601 -cat >conftest.$ac_ext <<_ACEOF
5.8602 -/* confdefs.h. */
5.8603 -_ACEOF
5.8604 -cat confdefs.h >>conftest.$ac_ext
5.8605 -cat >>conftest.$ac_ext <<_ACEOF
5.8606 -/* end confdefs.h. */
5.8607 -
5.8608 -/* Override any gcc2 internal prototype to avoid an error. */
5.8609 -#ifdef __cplusplus
5.8610 -extern "C"
5.8611 -#endif
5.8612 -/* We use char because int might match the return type of a gcc2
5.8613 - builtin and then its argument prototype would still apply. */
5.8614 -char shl_load ();
5.8615 -int
5.8616 -main ()
5.8617 -{
5.8618 -shl_load ();
5.8619 - ;
5.8620 - return 0;
5.8621 -}
5.8622 -_ACEOF
5.8623 -rm -f conftest.$ac_objext conftest$ac_exeext
5.8624 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.8625 - (eval $ac_link) 2>conftest.er1
5.8626 - ac_status=$?
5.8627 - grep -v '^ *+' conftest.er1 >conftest.err
5.8628 - rm -f conftest.er1
5.8629 - cat conftest.err >&5
5.8630 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8631 - (exit $ac_status); } &&
5.8632 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.8633 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.8634 - (eval $ac_try) 2>&5
5.8635 - ac_status=$?
5.8636 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8637 - (exit $ac_status); }; } &&
5.8638 - { ac_try='test -s conftest$ac_exeext'
5.8639 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.8640 - (eval $ac_try) 2>&5
5.8641 - ac_status=$?
5.8642 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8643 - (exit $ac_status); }; }; then
5.8644 - ac_cv_lib_dld_shl_load=yes
5.8645 -else
5.8646 - echo "$as_me: failed program was:" >&5
5.8647 -sed 's/^/| /' conftest.$ac_ext >&5
5.8648 -
5.8649 -ac_cv_lib_dld_shl_load=no
5.8650 -fi
5.8651 -rm -f conftest.err conftest.$ac_objext \
5.8652 - conftest$ac_exeext conftest.$ac_ext
5.8653 -LIBS=$ac_check_lib_save_LIBS
5.8654 -fi
5.8655 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
5.8656 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
5.8657 -if test $ac_cv_lib_dld_shl_load = yes; then
5.8658 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
5.8659 -else
5.8660 - echo "$as_me:$LINENO: checking for dlopen" >&5
5.8661 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
5.8662 -if test "${ac_cv_func_dlopen+set}" = set; then
5.8663 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.8664 -else
5.8665 - cat >conftest.$ac_ext <<_ACEOF
5.8666 -/* confdefs.h. */
5.8667 -_ACEOF
5.8668 -cat confdefs.h >>conftest.$ac_ext
5.8669 -cat >>conftest.$ac_ext <<_ACEOF
5.8670 -/* end confdefs.h. */
5.8671 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
5.8672 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
5.8673 -#define dlopen innocuous_dlopen
5.8674 -
5.8675 -/* System header to define __stub macros and hopefully few prototypes,
5.8676 - which can conflict with char dlopen (); below.
5.8677 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5.8678 - <limits.h> exists even on freestanding compilers. */
5.8679 -
5.8680 -#ifdef __STDC__
5.8681 -# include <limits.h>
5.8682 -#else
5.8683 -# include <assert.h>
5.8684 -#endif
5.8685 -
5.8686 -#undef dlopen
5.8687 -
5.8688 -/* Override any gcc2 internal prototype to avoid an error. */
5.8689 -#ifdef __cplusplus
5.8690 -extern "C"
5.8691 -{
5.8692 -#endif
5.8693 -/* We use char because int might match the return type of a gcc2
5.8694 - builtin and then its argument prototype would still apply. */
5.8695 -char dlopen ();
5.8696 -/* The GNU C library defines this for functions which it implements
5.8697 - to always fail with ENOSYS. Some functions are actually named
5.8698 - something starting with __ and the normal name is an alias. */
5.8699 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
5.8700 -choke me
5.8701 -#else
5.8702 -char (*f) () = dlopen;
5.8703 -#endif
5.8704 -#ifdef __cplusplus
5.8705 -}
5.8706 -#endif
5.8707 -
5.8708 -int
5.8709 -main ()
5.8710 -{
5.8711 -return f != dlopen;
5.8712 - ;
5.8713 - return 0;
5.8714 -}
5.8715 -_ACEOF
5.8716 -rm -f conftest.$ac_objext conftest$ac_exeext
5.8717 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.8718 - (eval $ac_link) 2>conftest.er1
5.8719 - ac_status=$?
5.8720 - grep -v '^ *+' conftest.er1 >conftest.err
5.8721 - rm -f conftest.er1
5.8722 - cat conftest.err >&5
5.8723 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8724 - (exit $ac_status); } &&
5.8725 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.8726 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.8727 - (eval $ac_try) 2>&5
5.8728 - ac_status=$?
5.8729 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8730 - (exit $ac_status); }; } &&
5.8731 - { ac_try='test -s conftest$ac_exeext'
5.8732 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.8733 - (eval $ac_try) 2>&5
5.8734 - ac_status=$?
5.8735 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8736 - (exit $ac_status); }; }; then
5.8737 - ac_cv_func_dlopen=yes
5.8738 -else
5.8739 - echo "$as_me: failed program was:" >&5
5.8740 -sed 's/^/| /' conftest.$ac_ext >&5
5.8741 -
5.8742 -ac_cv_func_dlopen=no
5.8743 -fi
5.8744 -rm -f conftest.err conftest.$ac_objext \
5.8745 - conftest$ac_exeext conftest.$ac_ext
5.8746 -fi
5.8747 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
5.8748 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
5.8749 -if test $ac_cv_func_dlopen = yes; then
5.8750 - lt_cv_dlopen="dlopen"
5.8751 -else
5.8752 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
5.8753 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
5.8754 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5.8755 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.8756 -else
5.8757 - ac_check_lib_save_LIBS=$LIBS
5.8758 -LIBS="-ldl $LIBS"
5.8759 -cat >conftest.$ac_ext <<_ACEOF
5.8760 -/* confdefs.h. */
5.8761 -_ACEOF
5.8762 -cat confdefs.h >>conftest.$ac_ext
5.8763 -cat >>conftest.$ac_ext <<_ACEOF
5.8764 -/* end confdefs.h. */
5.8765 -
5.8766 -/* Override any gcc2 internal prototype to avoid an error. */
5.8767 -#ifdef __cplusplus
5.8768 -extern "C"
5.8769 -#endif
5.8770 -/* We use char because int might match the return type of a gcc2
5.8771 - builtin and then its argument prototype would still apply. */
5.8772 -char dlopen ();
5.8773 -int
5.8774 -main ()
5.8775 -{
5.8776 -dlopen ();
5.8777 - ;
5.8778 - return 0;
5.8779 -}
5.8780 -_ACEOF
5.8781 -rm -f conftest.$ac_objext conftest$ac_exeext
5.8782 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.8783 - (eval $ac_link) 2>conftest.er1
5.8784 - ac_status=$?
5.8785 - grep -v '^ *+' conftest.er1 >conftest.err
5.8786 - rm -f conftest.er1
5.8787 - cat conftest.err >&5
5.8788 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8789 - (exit $ac_status); } &&
5.8790 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.8791 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.8792 - (eval $ac_try) 2>&5
5.8793 - ac_status=$?
5.8794 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8795 - (exit $ac_status); }; } &&
5.8796 - { ac_try='test -s conftest$ac_exeext'
5.8797 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.8798 - (eval $ac_try) 2>&5
5.8799 - ac_status=$?
5.8800 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8801 - (exit $ac_status); }; }; then
5.8802 - ac_cv_lib_dl_dlopen=yes
5.8803 -else
5.8804 - echo "$as_me: failed program was:" >&5
5.8805 -sed 's/^/| /' conftest.$ac_ext >&5
5.8806 -
5.8807 -ac_cv_lib_dl_dlopen=no
5.8808 -fi
5.8809 -rm -f conftest.err conftest.$ac_objext \
5.8810 - conftest$ac_exeext conftest.$ac_ext
5.8811 -LIBS=$ac_check_lib_save_LIBS
5.8812 -fi
5.8813 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5.8814 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5.8815 -if test $ac_cv_lib_dl_dlopen = yes; then
5.8816 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
5.8817 -else
5.8818 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
5.8819 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
5.8820 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
5.8821 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.8822 -else
5.8823 - ac_check_lib_save_LIBS=$LIBS
5.8824 -LIBS="-lsvld $LIBS"
5.8825 -cat >conftest.$ac_ext <<_ACEOF
5.8826 -/* confdefs.h. */
5.8827 -_ACEOF
5.8828 -cat confdefs.h >>conftest.$ac_ext
5.8829 -cat >>conftest.$ac_ext <<_ACEOF
5.8830 -/* end confdefs.h. */
5.8831 -
5.8832 -/* Override any gcc2 internal prototype to avoid an error. */
5.8833 -#ifdef __cplusplus
5.8834 -extern "C"
5.8835 -#endif
5.8836 -/* We use char because int might match the return type of a gcc2
5.8837 - builtin and then its argument prototype would still apply. */
5.8838 -char dlopen ();
5.8839 -int
5.8840 -main ()
5.8841 -{
5.8842 -dlopen ();
5.8843 - ;
5.8844 - return 0;
5.8845 -}
5.8846 -_ACEOF
5.8847 -rm -f conftest.$ac_objext conftest$ac_exeext
5.8848 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.8849 - (eval $ac_link) 2>conftest.er1
5.8850 - ac_status=$?
5.8851 - grep -v '^ *+' conftest.er1 >conftest.err
5.8852 - rm -f conftest.er1
5.8853 - cat conftest.err >&5
5.8854 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8855 - (exit $ac_status); } &&
5.8856 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.8857 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.8858 - (eval $ac_try) 2>&5
5.8859 - ac_status=$?
5.8860 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8861 - (exit $ac_status); }; } &&
5.8862 - { ac_try='test -s conftest$ac_exeext'
5.8863 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.8864 - (eval $ac_try) 2>&5
5.8865 - ac_status=$?
5.8866 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8867 - (exit $ac_status); }; }; then
5.8868 - ac_cv_lib_svld_dlopen=yes
5.8869 -else
5.8870 - echo "$as_me: failed program was:" >&5
5.8871 -sed 's/^/| /' conftest.$ac_ext >&5
5.8872 -
5.8873 -ac_cv_lib_svld_dlopen=no
5.8874 -fi
5.8875 -rm -f conftest.err conftest.$ac_objext \
5.8876 - conftest$ac_exeext conftest.$ac_ext
5.8877 -LIBS=$ac_check_lib_save_LIBS
5.8878 -fi
5.8879 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
5.8880 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
5.8881 -if test $ac_cv_lib_svld_dlopen = yes; then
5.8882 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
5.8883 -else
5.8884 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
5.8885 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
5.8886 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
5.8887 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.8888 -else
5.8889 - ac_check_lib_save_LIBS=$LIBS
5.8890 -LIBS="-ldld $LIBS"
5.8891 -cat >conftest.$ac_ext <<_ACEOF
5.8892 -/* confdefs.h. */
5.8893 -_ACEOF
5.8894 -cat confdefs.h >>conftest.$ac_ext
5.8895 -cat >>conftest.$ac_ext <<_ACEOF
5.8896 -/* end confdefs.h. */
5.8897 -
5.8898 -/* Override any gcc2 internal prototype to avoid an error. */
5.8899 -#ifdef __cplusplus
5.8900 -extern "C"
5.8901 -#endif
5.8902 -/* We use char because int might match the return type of a gcc2
5.8903 - builtin and then its argument prototype would still apply. */
5.8904 -char dld_link ();
5.8905 -int
5.8906 -main ()
5.8907 -{
5.8908 -dld_link ();
5.8909 - ;
5.8910 - return 0;
5.8911 -}
5.8912 -_ACEOF
5.8913 -rm -f conftest.$ac_objext conftest$ac_exeext
5.8914 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.8915 - (eval $ac_link) 2>conftest.er1
5.8916 - ac_status=$?
5.8917 - grep -v '^ *+' conftest.er1 >conftest.err
5.8918 - rm -f conftest.er1
5.8919 - cat conftest.err >&5
5.8920 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8921 - (exit $ac_status); } &&
5.8922 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.8923 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.8924 - (eval $ac_try) 2>&5
5.8925 - ac_status=$?
5.8926 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8927 - (exit $ac_status); }; } &&
5.8928 - { ac_try='test -s conftest$ac_exeext'
5.8929 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.8930 - (eval $ac_try) 2>&5
5.8931 - ac_status=$?
5.8932 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.8933 - (exit $ac_status); }; }; then
5.8934 - ac_cv_lib_dld_dld_link=yes
5.8935 -else
5.8936 - echo "$as_me: failed program was:" >&5
5.8937 -sed 's/^/| /' conftest.$ac_ext >&5
5.8938 -
5.8939 -ac_cv_lib_dld_dld_link=no
5.8940 -fi
5.8941 -rm -f conftest.err conftest.$ac_objext \
5.8942 - conftest$ac_exeext conftest.$ac_ext
5.8943 -LIBS=$ac_check_lib_save_LIBS
5.8944 -fi
5.8945 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
5.8946 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
5.8947 -if test $ac_cv_lib_dld_dld_link = yes; then
5.8948 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
5.8949 -fi
5.8950 -
5.8951 -
5.8952 -fi
5.8953 -
5.8954 -
5.8955 -fi
5.8956 -
5.8957 -
5.8958 -fi
5.8959 -
5.8960 -
5.8961 -fi
5.8962 -
5.8963 -
5.8964 -fi
5.8965 -
5.8966 - ;;
5.8967 - esac
5.8968 -
5.8969 - if test "x$lt_cv_dlopen" != xno; then
5.8970 - enable_dlopen=yes
5.8971 - else
5.8972 - enable_dlopen=no
5.8973 - fi
5.8974 -
5.8975 - case $lt_cv_dlopen in
5.8976 - dlopen)
5.8977 - save_CPPFLAGS="$CPPFLAGS"
5.8978 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
5.8979 -
5.8980 - save_LDFLAGS="$LDFLAGS"
5.8981 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
5.8982 -
5.8983 - save_LIBS="$LIBS"
5.8984 - LIBS="$lt_cv_dlopen_libs $LIBS"
5.8985 -
5.8986 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
5.8987 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
5.8988 -if test "${lt_cv_dlopen_self+set}" = set; then
5.8989 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.8990 -else
5.8991 - if test "$cross_compiling" = yes; then :
5.8992 - lt_cv_dlopen_self=cross
5.8993 -else
5.8994 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
5.8995 - lt_status=$lt_dlunknown
5.8996 - cat > conftest.$ac_ext <<EOF
5.8997 -#line __oline__ "configure"
5.8998 -#include "confdefs.h"
5.8999 -
5.9000 -#if HAVE_DLFCN_H
5.9001 -#include <dlfcn.h>
5.9002 -#endif
5.9003 -
5.9004 -#include <stdio.h>
5.9005 -
5.9006 -#ifdef RTLD_GLOBAL
5.9007 -# define LT_DLGLOBAL RTLD_GLOBAL
5.9008 -#else
5.9009 -# ifdef DL_GLOBAL
5.9010 -# define LT_DLGLOBAL DL_GLOBAL
5.9011 -# else
5.9012 -# define LT_DLGLOBAL 0
5.9013 -# endif
5.9014 -#endif
5.9015 -
5.9016 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
5.9017 - find out it does not work in some platform. */
5.9018 -#ifndef LT_DLLAZY_OR_NOW
5.9019 -# ifdef RTLD_LAZY
5.9020 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
5.9021 -# else
5.9022 -# ifdef DL_LAZY
5.9023 -# define LT_DLLAZY_OR_NOW DL_LAZY
5.9024 -# else
5.9025 -# ifdef RTLD_NOW
5.9026 -# define LT_DLLAZY_OR_NOW RTLD_NOW
5.9027 -# else
5.9028 -# ifdef DL_NOW
5.9029 -# define LT_DLLAZY_OR_NOW DL_NOW
5.9030 -# else
5.9031 -# define LT_DLLAZY_OR_NOW 0
5.9032 -# endif
5.9033 -# endif
5.9034 -# endif
5.9035 -# endif
5.9036 -#endif
5.9037 -
5.9038 -#ifdef __cplusplus
5.9039 -extern "C" void exit (int);
5.9040 -#endif
5.9041 -
5.9042 -void fnord() { int i=42;}
5.9043 -int main ()
5.9044 -{
5.9045 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
5.9046 - int status = $lt_dlunknown;
5.9047 -
5.9048 - if (self)
5.9049 - {
5.9050 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
5.9051 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
5.9052 - /* dlclose (self); */
5.9053 - }
5.9054 -
5.9055 - exit (status);
5.9056 -}
5.9057 -EOF
5.9058 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.9059 - (eval $ac_link) 2>&5
5.9060 - ac_status=$?
5.9061 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.9062 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
5.9063 - (./conftest; exit; ) >&5 2>/dev/null
5.9064 - lt_status=$?
5.9065 - case x$lt_status in
5.9066 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
5.9067 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
5.9068 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
5.9069 - esac
5.9070 - else :
5.9071 - # compilation failed
5.9072 - lt_cv_dlopen_self=no
5.9073 - fi
5.9074 -fi
5.9075 -rm -fr conftest*
5.9076 -
5.9077 -
5.9078 -fi
5.9079 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
5.9080 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
5.9081 -
5.9082 - if test "x$lt_cv_dlopen_self" = xyes; then
5.9083 - LDFLAGS="$LDFLAGS $link_static_flag"
5.9084 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
5.9085 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
5.9086 -if test "${lt_cv_dlopen_self_static+set}" = set; then
5.9087 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.9088 -else
5.9089 - if test "$cross_compiling" = yes; then :
5.9090 - lt_cv_dlopen_self_static=cross
5.9091 -else
5.9092 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
5.9093 - lt_status=$lt_dlunknown
5.9094 - cat > conftest.$ac_ext <<EOF
5.9095 -#line __oline__ "configure"
5.9096 -#include "confdefs.h"
5.9097 -
5.9098 -#if HAVE_DLFCN_H
5.9099 -#include <dlfcn.h>
5.9100 -#endif
5.9101 -
5.9102 -#include <stdio.h>
5.9103 -
5.9104 -#ifdef RTLD_GLOBAL
5.9105 -# define LT_DLGLOBAL RTLD_GLOBAL
5.9106 -#else
5.9107 -# ifdef DL_GLOBAL
5.9108 -# define LT_DLGLOBAL DL_GLOBAL
5.9109 -# else
5.9110 -# define LT_DLGLOBAL 0
5.9111 -# endif
5.9112 -#endif
5.9113 -
5.9114 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
5.9115 - find out it does not work in some platform. */
5.9116 -#ifndef LT_DLLAZY_OR_NOW
5.9117 -# ifdef RTLD_LAZY
5.9118 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
5.9119 -# else
5.9120 -# ifdef DL_LAZY
5.9121 -# define LT_DLLAZY_OR_NOW DL_LAZY
5.9122 -# else
5.9123 -# ifdef RTLD_NOW
5.9124 -# define LT_DLLAZY_OR_NOW RTLD_NOW
5.9125 -# else
5.9126 -# ifdef DL_NOW
5.9127 -# define LT_DLLAZY_OR_NOW DL_NOW
5.9128 -# else
5.9129 -# define LT_DLLAZY_OR_NOW 0
5.9130 -# endif
5.9131 -# endif
5.9132 -# endif
5.9133 -# endif
5.9134 -#endif
5.9135 -
5.9136 -#ifdef __cplusplus
5.9137 -extern "C" void exit (int);
5.9138 -#endif
5.9139 -
5.9140 -void fnord() { int i=42;}
5.9141 -int main ()
5.9142 -{
5.9143 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
5.9144 - int status = $lt_dlunknown;
5.9145 -
5.9146 - if (self)
5.9147 - {
5.9148 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
5.9149 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
5.9150 - /* dlclose (self); */
5.9151 - }
5.9152 -
5.9153 - exit (status);
5.9154 -}
5.9155 -EOF
5.9156 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.9157 - (eval $ac_link) 2>&5
5.9158 - ac_status=$?
5.9159 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.9160 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
5.9161 - (./conftest; exit; ) >&5 2>/dev/null
5.9162 - lt_status=$?
5.9163 - case x$lt_status in
5.9164 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
5.9165 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
5.9166 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
5.9167 - esac
5.9168 - else :
5.9169 - # compilation failed
5.9170 - lt_cv_dlopen_self_static=no
5.9171 - fi
5.9172 -fi
5.9173 -rm -fr conftest*
5.9174 -
5.9175 -
5.9176 -fi
5.9177 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
5.9178 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
5.9179 - fi
5.9180 -
5.9181 - CPPFLAGS="$save_CPPFLAGS"
5.9182 - LDFLAGS="$save_LDFLAGS"
5.9183 - LIBS="$save_LIBS"
5.9184 - ;;
5.9185 - esac
5.9186 -
5.9187 - case $lt_cv_dlopen_self in
5.9188 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
5.9189 - *) enable_dlopen_self=unknown ;;
5.9190 - esac
5.9191 -
5.9192 - case $lt_cv_dlopen_self_static in
5.9193 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
5.9194 - *) enable_dlopen_self_static=unknown ;;
5.9195 - esac
5.9196 -fi
5.9197 -
5.9198 -
5.9199 -# Report which librarie types wil actually be built
5.9200 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
5.9201 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
5.9202 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
5.9203 -echo "${ECHO_T}$can_build_shared" >&6
5.9204 -
5.9205 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
5.9206 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
5.9207 -test "$can_build_shared" = "no" && enable_shared=no
5.9208 -
5.9209 -# On AIX, shared libraries and static libraries use the same namespace, and
5.9210 -# are all built from PIC.
5.9211 -case $host_os in
5.9212 -aix3*)
5.9213 - test "$enable_shared" = yes && enable_static=no
5.9214 - if test -n "$RANLIB"; then
5.9215 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
5.9216 - postinstall_cmds='$RANLIB $lib'
5.9217 - fi
5.9218 - ;;
5.9219 -
5.9220 -aix4* | aix5*)
5.9221 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
5.9222 - test "$enable_shared" = yes && enable_static=no
5.9223 - fi
5.9224 - ;;
5.9225 -esac
5.9226 -echo "$as_me:$LINENO: result: $enable_shared" >&5
5.9227 -echo "${ECHO_T}$enable_shared" >&6
5.9228 -
5.9229 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
5.9230 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
5.9231 -# Make sure either enable_shared or enable_static is yes.
5.9232 -test "$enable_shared" = yes || enable_static=yes
5.9233 -echo "$as_me:$LINENO: result: $enable_static" >&5
5.9234 -echo "${ECHO_T}$enable_static" >&6
5.9235 -
5.9236 -# The else clause should only fire when bootstrapping the
5.9237 -# libtool distribution, otherwise you forgot to ship ltmain.sh
5.9238 -# with your package, and you will get complaints that there are
5.9239 -# no rules to generate ltmain.sh.
5.9240 -if test -f "$ltmain"; then
5.9241 - # See if we are running on zsh, and set the options which allow our commands through
5.9242 - # without removal of \ escapes.
5.9243 - if test -n "${ZSH_VERSION+set}" ; then
5.9244 - setopt NO_GLOB_SUBST
5.9245 - fi
5.9246 - # Now quote all the things that may contain metacharacters while being
5.9247 - # careful not to overquote the AC_SUBSTed values. We take copies of the
5.9248 - # variables and quote the copies for generation of the libtool script.
5.9249 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
5.9250 - SED SHELL STRIP \
5.9251 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
5.9252 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
5.9253 - deplibs_check_method reload_flag reload_cmds need_locks \
5.9254 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
5.9255 - lt_cv_sys_global_symbol_to_c_name_address \
5.9256 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
5.9257 - old_postinstall_cmds old_postuninstall_cmds \
5.9258 - compiler \
5.9259 - CC \
5.9260 - LD \
5.9261 - lt_prog_compiler_wl \
5.9262 - lt_prog_compiler_pic \
5.9263 - lt_prog_compiler_static \
5.9264 - lt_prog_compiler_no_builtin_flag \
5.9265 - export_dynamic_flag_spec \
5.9266 - thread_safe_flag_spec \
5.9267 - whole_archive_flag_spec \
5.9268 - enable_shared_with_static_runtimes \
5.9269 - old_archive_cmds \
5.9270 - old_archive_from_new_cmds \
5.9271 - predep_objects \
5.9272 - postdep_objects \
5.9273 - predeps \
5.9274 - postdeps \
5.9275 - compiler_lib_search_path \
5.9276 - archive_cmds \
5.9277 - archive_expsym_cmds \
5.9278 - postinstall_cmds \
5.9279 - postuninstall_cmds \
5.9280 - old_archive_from_expsyms_cmds \
5.9281 - allow_undefined_flag \
5.9282 - no_undefined_flag \
5.9283 - export_symbols_cmds \
5.9284 - hardcode_libdir_flag_spec \
5.9285 - hardcode_libdir_flag_spec_ld \
5.9286 - hardcode_libdir_separator \
5.9287 - hardcode_automatic \
5.9288 - module_cmds \
5.9289 - module_expsym_cmds \
5.9290 - lt_cv_prog_compiler_c_o \
5.9291 - exclude_expsyms \
5.9292 - include_expsyms; do
5.9293 -
5.9294 - case $var in
5.9295 - old_archive_cmds | \
5.9296 - old_archive_from_new_cmds | \
5.9297 - archive_cmds | \
5.9298 - archive_expsym_cmds | \
5.9299 - module_cmds | \
5.9300 - module_expsym_cmds | \
5.9301 - old_archive_from_expsyms_cmds | \
5.9302 - export_symbols_cmds | \
5.9303 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
5.9304 - postinstall_cmds | postuninstall_cmds | \
5.9305 - old_postinstall_cmds | old_postuninstall_cmds | \
5.9306 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
5.9307 - # Double-quote double-evaled strings.
5.9308 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
5.9309 - ;;
5.9310 - *)
5.9311 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
5.9312 - ;;
5.9313 - esac
5.9314 - done
5.9315 -
5.9316 - case $lt_echo in
5.9317 - *'\$0 --fallback-echo"')
5.9318 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
5.9319 - ;;
5.9320 - esac
5.9321 -
5.9322 -cfgfile="${ofile}T"
5.9323 - trap "$rm \"$cfgfile\"; exit 1" 1 2 15
5.9324 - $rm -f "$cfgfile"
5.9325 - { echo "$as_me:$LINENO: creating $ofile" >&5
5.9326 -echo "$as_me: creating $ofile" >&6;}
5.9327 -
5.9328 - cat <<__EOF__ >> "$cfgfile"
5.9329 -#! $SHELL
5.9330 -
5.9331 -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
5.9332 -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
5.9333 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
5.9334 -#
5.9335 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
5.9336 -# Free Software Foundation, Inc.
5.9337 -#
5.9338 -# This file is part of GNU Libtool:
5.9339 -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
5.9340 -#
5.9341 -# This program is free software; you can redistribute it and/or modify
5.9342 -# it under the terms of the GNU General Public License as published by
5.9343 -# the Free Software Foundation; either version 2 of the License, or
5.9344 -# (at your option) any later version.
5.9345 -#
5.9346 -# This program is distributed in the hope that it will be useful, but
5.9347 -# WITHOUT ANY WARRANTY; without even the implied warranty of
5.9348 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5.9349 -# General Public License for more details.
5.9350 -#
5.9351 -# You should have received a copy of the GNU General Public License
5.9352 -# along with this program; if not, write to the Free Software
5.9353 -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
5.9354 -#
5.9355 -# As a special exception to the GNU General Public License, if you
5.9356 -# distribute this file as part of a program that contains a
5.9357 -# configuration script generated by Autoconf, you may include it under
5.9358 -# the same distribution terms that you use for the rest of that program.
5.9359 -
5.9360 -# A sed program that does not truncate output.
5.9361 -SED=$lt_SED
5.9362 -
5.9363 -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
5.9364 -Xsed="$SED -e 1s/^X//"
5.9365 -
5.9366 -# The HP-UX ksh and POSIX shell print the target directory to stdout
5.9367 -# if CDPATH is set.
5.9368 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5.9369 -
5.9370 -# The names of the tagged configurations supported by this script.
5.9371 -available_tags=
5.9372 -
5.9373 -# ### BEGIN LIBTOOL CONFIG
5.9374 -
5.9375 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
5.9376 -
5.9377 -# Shell to use when invoking shell scripts.
5.9378 -SHELL=$lt_SHELL
5.9379 -
5.9380 -# Whether or not to build shared libraries.
5.9381 -build_libtool_libs=$enable_shared
5.9382 -
5.9383 -# Whether or not to build static libraries.
5.9384 -build_old_libs=$enable_static
5.9385 -
5.9386 -# Whether or not to add -lc for building shared libraries.
5.9387 -build_libtool_need_lc=$archive_cmds_need_lc
5.9388 -
5.9389 -# Whether or not to disallow shared libs when runtime libs are static
5.9390 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
5.9391 -
5.9392 -# Whether or not to optimize for fast installation.
5.9393 -fast_install=$enable_fast_install
5.9394 -
5.9395 -# The host system.
5.9396 -host_alias=$host_alias
5.9397 -host=$host
5.9398 -host_os=$host_os
5.9399 -
5.9400 -# The build system.
5.9401 -build_alias=$build_alias
5.9402 -build=$build
5.9403 -build_os=$build_os
5.9404 -
5.9405 -# An echo program that does not interpret backslashes.
5.9406 -echo=$lt_echo
5.9407 -
5.9408 -# The archiver.
5.9409 -AR=$lt_AR
5.9410 -AR_FLAGS=$lt_AR_FLAGS
5.9411 -
5.9412 -# A C compiler.
5.9413 -LTCC=$lt_LTCC
5.9414 -
5.9415 -# A language-specific compiler.
5.9416 -CC=$lt_compiler
5.9417 -
5.9418 -# Is the compiler the GNU C compiler?
5.9419 -with_gcc=$GCC
5.9420 -
5.9421 -# An ERE matcher.
5.9422 -EGREP=$lt_EGREP
5.9423 -
5.9424 -# The linker used to build libraries.
5.9425 -LD=$lt_LD
5.9426 -
5.9427 -# Whether we need hard or soft links.
5.9428 -LN_S=$lt_LN_S
5.9429 -
5.9430 -# A BSD-compatible nm program.
5.9431 -NM=$lt_NM
5.9432 -
5.9433 -# A symbol stripping program
5.9434 -STRIP=$lt_STRIP
5.9435 -
5.9436 -# Used to examine libraries when file_magic_cmd begins "file"
5.9437 -MAGIC_CMD=$MAGIC_CMD
5.9438 -
5.9439 -# Used on cygwin: DLL creation program.
5.9440 -DLLTOOL="$DLLTOOL"
5.9441 -
5.9442 -# Used on cygwin: object dumper.
5.9443 -OBJDUMP="$OBJDUMP"
5.9444 -
5.9445 -# Used on cygwin: assembler.
5.9446 -AS="$AS"
5.9447 -
5.9448 -# The name of the directory that contains temporary libtool files.
5.9449 -objdir=$objdir
5.9450 -
5.9451 -# How to create reloadable object files.
5.9452 -reload_flag=$lt_reload_flag
5.9453 -reload_cmds=$lt_reload_cmds
5.9454 -
5.9455 -# How to pass a linker flag through the compiler.
5.9456 -wl=$lt_lt_prog_compiler_wl
5.9457 -
5.9458 -# Object file suffix (normally "o").
5.9459 -objext="$ac_objext"
5.9460 -
5.9461 -# Old archive suffix (normally "a").
5.9462 -libext="$libext"
5.9463 -
5.9464 -# Shared library suffix (normally ".so").
5.9465 -shrext_cmds='$shrext_cmds'
5.9466 -
5.9467 -# Executable file suffix (normally "").
5.9468 -exeext="$exeext"
5.9469 -
5.9470 -# Additional compiler flags for building library objects.
5.9471 -pic_flag=$lt_lt_prog_compiler_pic
5.9472 -pic_mode=$pic_mode
5.9473 -
5.9474 -# What is the maximum length of a command?
5.9475 -max_cmd_len=$lt_cv_sys_max_cmd_len
5.9476 -
5.9477 -# Does compiler simultaneously support -c and -o options?
5.9478 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o
5.9479 -
5.9480 -# Must we lock files when doing compilation?
5.9481 -need_locks=$lt_need_locks
5.9482 -
5.9483 -# Do we need the lib prefix for modules?
5.9484 -need_lib_prefix=$need_lib_prefix
5.9485 -
5.9486 -# Do we need a version for libraries?
5.9487 -need_version=$need_version
5.9488 -
5.9489 -# Whether dlopen is supported.
5.9490 -dlopen_support=$enable_dlopen
5.9491 -
5.9492 -# Whether dlopen of programs is supported.
5.9493 -dlopen_self=$enable_dlopen_self
5.9494 -
5.9495 -# Whether dlopen of statically linked programs is supported.
5.9496 -dlopen_self_static=$enable_dlopen_self_static
5.9497 -
5.9498 -# Compiler flag to prevent dynamic linking.
5.9499 -link_static_flag=$lt_lt_prog_compiler_static
5.9500 -
5.9501 -# Compiler flag to turn off builtin functions.
5.9502 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
5.9503 -
5.9504 -# Compiler flag to allow reflexive dlopens.
5.9505 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
5.9506 -
5.9507 -# Compiler flag to generate shared objects directly from archives.
5.9508 -whole_archive_flag_spec=$lt_whole_archive_flag_spec
5.9509 -
5.9510 -# Compiler flag to generate thread-safe objects.
5.9511 -thread_safe_flag_spec=$lt_thread_safe_flag_spec
5.9512 -
5.9513 -# Library versioning type.
5.9514 -version_type=$version_type
5.9515 -
5.9516 -# Format of library name prefix.
5.9517 -libname_spec=$lt_libname_spec
5.9518 -
5.9519 -# List of archive names. First name is the real one, the rest are links.
5.9520 -# The last name is the one that the linker finds with -lNAME.
5.9521 -library_names_spec=$lt_library_names_spec
5.9522 -
5.9523 -# The coded name of the library, if different from the real name.
5.9524 -soname_spec=$lt_soname_spec
5.9525 -
5.9526 -# Commands used to build and install an old-style archive.
5.9527 -RANLIB=$lt_RANLIB
5.9528 -old_archive_cmds=$lt_old_archive_cmds
5.9529 -old_postinstall_cmds=$lt_old_postinstall_cmds
5.9530 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
5.9531 -
5.9532 -# Create an old-style archive from a shared archive.
5.9533 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
5.9534 -
5.9535 -# Create a temporary old-style archive to link instead of a shared archive.
5.9536 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
5.9537 -
5.9538 -# Commands used to build and install a shared archive.
5.9539 -archive_cmds=$lt_archive_cmds
5.9540 -archive_expsym_cmds=$lt_archive_expsym_cmds
5.9541 -postinstall_cmds=$lt_postinstall_cmds
5.9542 -postuninstall_cmds=$lt_postuninstall_cmds
5.9543 -
5.9544 -# Commands used to build a loadable module (assumed same as above if empty)
5.9545 -module_cmds=$lt_module_cmds
5.9546 -module_expsym_cmds=$lt_module_expsym_cmds
5.9547 -
5.9548 -# Commands to strip libraries.
5.9549 -old_striplib=$lt_old_striplib
5.9550 -striplib=$lt_striplib
5.9551 -
5.9552 -# Dependencies to place before the objects being linked to create a
5.9553 -# shared library.
5.9554 -predep_objects=$lt_predep_objects
5.9555 -
5.9556 -# Dependencies to place after the objects being linked to create a
5.9557 -# shared library.
5.9558 -postdep_objects=$lt_postdep_objects
5.9559 -
5.9560 -# Dependencies to place before the objects being linked to create a
5.9561 -# shared library.
5.9562 -predeps=$lt_predeps
5.9563 -
5.9564 -# Dependencies to place after the objects being linked to create a
5.9565 -# shared library.
5.9566 -postdeps=$lt_postdeps
5.9567 -
5.9568 -# The library search path used internally by the compiler when linking
5.9569 -# a shared library.
5.9570 -compiler_lib_search_path=$lt_compiler_lib_search_path
5.9571 -
5.9572 -# Method to check whether dependent libraries are shared objects.
5.9573 -deplibs_check_method=$lt_deplibs_check_method
5.9574 -
5.9575 -# Command to use when deplibs_check_method == file_magic.
5.9576 -file_magic_cmd=$lt_file_magic_cmd
5.9577 -
5.9578 -# Flag that allows shared libraries with undefined symbols to be built.
5.9579 -allow_undefined_flag=$lt_allow_undefined_flag
5.9580 -
5.9581 -# Flag that forces no undefined symbols.
5.9582 -no_undefined_flag=$lt_no_undefined_flag
5.9583 -
5.9584 -# Commands used to finish a libtool library installation in a directory.
5.9585 -finish_cmds=$lt_finish_cmds
5.9586 -
5.9587 -# Same as above, but a single script fragment to be evaled but not shown.
5.9588 -finish_eval=$lt_finish_eval
5.9589 -
5.9590 -# Take the output of nm and produce a listing of raw symbols and C names.
5.9591 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
5.9592 -
5.9593 -# Transform the output of nm in a proper C declaration
5.9594 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
5.9595 -
5.9596 -# Transform the output of nm in a C name address pair
5.9597 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
5.9598 -
5.9599 -# This is the shared library runtime path variable.
5.9600 -runpath_var=$runpath_var
5.9601 -
5.9602 -# This is the shared library path variable.
5.9603 -shlibpath_var=$shlibpath_var
5.9604 -
5.9605 -# Is shlibpath searched before the hard-coded library search path?
5.9606 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
5.9607 -
5.9608 -# How to hardcode a shared library path into an executable.
5.9609 -hardcode_action=$hardcode_action
5.9610 -
5.9611 -# Whether we should hardcode library paths into libraries.
5.9612 -hardcode_into_libs=$hardcode_into_libs
5.9613 -
5.9614 -# Flag to hardcode \$libdir into a binary during linking.
5.9615 -# This must work even if \$libdir does not exist.
5.9616 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
5.9617 -
5.9618 -# If ld is used when linking, flag to hardcode \$libdir into
5.9619 -# a binary during linking. This must work even if \$libdir does
5.9620 -# not exist.
5.9621 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
5.9622 -
5.9623 -# Whether we need a single -rpath flag with a separated argument.
5.9624 -hardcode_libdir_separator=$lt_hardcode_libdir_separator
5.9625 -
5.9626 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
5.9627 -# resulting binary.
5.9628 -hardcode_direct=$hardcode_direct
5.9629 -
5.9630 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
5.9631 -# resulting binary.
5.9632 -hardcode_minus_L=$hardcode_minus_L
5.9633 -
5.9634 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
5.9635 -# the resulting binary.
5.9636 -hardcode_shlibpath_var=$hardcode_shlibpath_var
5.9637 -
5.9638 -# Set to yes if building a shared library automatically hardcodes DIR into the library
5.9639 -# and all subsequent libraries and executables linked against it.
5.9640 -hardcode_automatic=$hardcode_automatic
5.9641 -
5.9642 -# Variables whose values should be saved in libtool wrapper scripts and
5.9643 -# restored at relink time.
5.9644 -variables_saved_for_relink="$variables_saved_for_relink"
5.9645 -
5.9646 -# Whether libtool must link a program against all its dependency libraries.
5.9647 -link_all_deplibs=$link_all_deplibs
5.9648 -
5.9649 -# Compile-time system search path for libraries
5.9650 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
5.9651 -
5.9652 -# Run-time system search path for libraries
5.9653 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
5.9654 -
5.9655 -# Fix the shell variable \$srcfile for the compiler.
5.9656 -fix_srcfile_path="$fix_srcfile_path"
5.9657 -
5.9658 -# Set to yes if exported symbols are required.
5.9659 -always_export_symbols=$always_export_symbols
5.9660 -
5.9661 -# The commands to list exported symbols.
5.9662 -export_symbols_cmds=$lt_export_symbols_cmds
5.9663 -
5.9664 -# The commands to extract the exported symbol list from a shared archive.
5.9665 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
5.9666 -
5.9667 -# Symbols that should not be listed in the preloaded symbols.
5.9668 -exclude_expsyms=$lt_exclude_expsyms
5.9669 -
5.9670 -# Symbols that must always be exported.
5.9671 -include_expsyms=$lt_include_expsyms
5.9672 -
5.9673 -# ### END LIBTOOL CONFIG
5.9674 -
5.9675 -__EOF__
5.9676 -
5.9677 -
5.9678 - case $host_os in
5.9679 - aix3*)
5.9680 - cat <<\EOF >> "$cfgfile"
5.9681 -
5.9682 -# AIX sometimes has problems with the GCC collect2 program. For some
5.9683 -# reason, if we set the COLLECT_NAMES environment variable, the problems
5.9684 -# vanish in a puff of smoke.
5.9685 -if test "X${COLLECT_NAMES+set}" != Xset; then
5.9686 - COLLECT_NAMES=
5.9687 - export COLLECT_NAMES
5.9688 -fi
5.9689 -EOF
5.9690 - ;;
5.9691 - esac
5.9692 -
5.9693 - # We use sed instead of cat because bash on DJGPP gets confused if
5.9694 - # if finds mixed CR/LF and LF-only lines. Since sed operates in
5.9695 - # text mode, it properly converts lines to CR/LF. This bash problem
5.9696 - # is reportedly fixed, but why not run on old versions too?
5.9697 - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
5.9698 -
5.9699 - mv -f "$cfgfile" "$ofile" || \
5.9700 - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
5.9701 - chmod +x "$ofile"
5.9702 -
5.9703 -else
5.9704 - # If there is no Makefile yet, we rely on a make rule to execute
5.9705 - # `config.status --recheck' to rerun these tests and create the
5.9706 - # libtool script then.
5.9707 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
5.9708 - if test -f "$ltmain_in"; then
5.9709 - test -f Makefile && make "$ltmain"
5.9710 - fi
5.9711 -fi
5.9712 -
5.9713 -
5.9714 -ac_ext=c
5.9715 -ac_cpp='$CPP $CPPFLAGS'
5.9716 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.9717 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.9718 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.9719 -
5.9720 -CC="$lt_save_CC"
5.9721 -
5.9722 -
5.9723 -# Check whether --with-tags or --without-tags was given.
5.9724 -if test "${with_tags+set}" = set; then
5.9725 - withval="$with_tags"
5.9726 - tagnames="$withval"
5.9727 -fi;
5.9728 -
5.9729 -if test -f "$ltmain" && test -n "$tagnames"; then
5.9730 - if test ! -f "${ofile}"; then
5.9731 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
5.9732 -echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
5.9733 - fi
5.9734 -
5.9735 - if test -z "$LTCC"; then
5.9736 - eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
5.9737 - if test -z "$LTCC"; then
5.9738 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
5.9739 -echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
5.9740 - else
5.9741 - { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
5.9742 -echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
5.9743 - fi
5.9744 - fi
5.9745 -
5.9746 - # Extract list of available tagged configurations in $ofile.
5.9747 - # Note that this assumes the entire list is on one line.
5.9748 - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
5.9749 -
5.9750 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5.9751 - for tagname in $tagnames; do
5.9752 - IFS="$lt_save_ifs"
5.9753 - # Check whether tagname contains only valid characters
5.9754 - case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
5.9755 - "") ;;
5.9756 - *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
5.9757 -echo "$as_me: error: invalid tag name: $tagname" >&2;}
5.9758 - { (exit 1); exit 1; }; }
5.9759 - ;;
5.9760 - esac
5.9761 -
5.9762 - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
5.9763 - then
5.9764 - { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
5.9765 -echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
5.9766 - { (exit 1); exit 1; }; }
5.9767 - fi
5.9768 -
5.9769 - # Update the list of available tags.
5.9770 - if test -n "$tagname"; then
5.9771 - echo appending configuration tag \"$tagname\" to $ofile
5.9772 -
5.9773 - case $tagname in
5.9774 - CXX)
5.9775 - if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5.9776 - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5.9777 - (test "X$CXX" != "Xg++"))) ; then
5.9778 - ac_ext=cc
5.9779 -ac_cpp='$CXXCPP $CPPFLAGS'
5.9780 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.9781 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.9782 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5.9783 -
5.9784 -
5.9785 -
5.9786 -
5.9787 -archive_cmds_need_lc_CXX=no
5.9788 -allow_undefined_flag_CXX=
5.9789 -always_export_symbols_CXX=no
5.9790 -archive_expsym_cmds_CXX=
5.9791 -export_dynamic_flag_spec_CXX=
5.9792 -hardcode_direct_CXX=no
5.9793 -hardcode_libdir_flag_spec_CXX=
5.9794 -hardcode_libdir_flag_spec_ld_CXX=
5.9795 -hardcode_libdir_separator_CXX=
5.9796 -hardcode_minus_L_CXX=no
5.9797 -hardcode_automatic_CXX=no
5.9798 -module_cmds_CXX=
5.9799 -module_expsym_cmds_CXX=
5.9800 -link_all_deplibs_CXX=unknown
5.9801 -old_archive_cmds_CXX=$old_archive_cmds
5.9802 -no_undefined_flag_CXX=
5.9803 -whole_archive_flag_spec_CXX=
5.9804 -enable_shared_with_static_runtimes_CXX=no
5.9805 -
5.9806 -# Dependencies to place before and after the object being linked:
5.9807 -predep_objects_CXX=
5.9808 -postdep_objects_CXX=
5.9809 -predeps_CXX=
5.9810 -postdeps_CXX=
5.9811 -compiler_lib_search_path_CXX=
5.9812 -
5.9813 -# Source file extension for C++ test sources.
5.9814 -ac_ext=cpp
5.9815 -
5.9816 -# Object file extension for compiled C++ test sources.
5.9817 -objext=o
5.9818 -objext_CXX=$objext
5.9819 -
5.9820 -# Code to be used in simple compile tests
5.9821 -lt_simple_compile_test_code="int some_variable = 0;\n"
5.9822 -
5.9823 -# Code to be used in simple link tests
5.9824 -lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
5.9825 -
5.9826 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
5.9827 -
5.9828 -# If no C compiler was specified, use CC.
5.9829 -LTCC=${LTCC-"$CC"}
5.9830 -
5.9831 -# Allow CC to be a program name with arguments.
5.9832 -compiler=$CC
5.9833 -
5.9834 -
5.9835 -# save warnings/boilerplate of simple test code
5.9836 -ac_outfile=conftest.$ac_objext
5.9837 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
5.9838 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
5.9839 -_lt_compiler_boilerplate=`cat conftest.err`
5.9840 -$rm conftest*
5.9841 -
5.9842 -ac_outfile=conftest.$ac_objext
5.9843 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
5.9844 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
5.9845 -_lt_linker_boilerplate=`cat conftest.err`
5.9846 -$rm conftest*
5.9847 -
5.9848 -
5.9849 -# Allow CC to be a program name with arguments.
5.9850 -lt_save_CC=$CC
5.9851 -lt_save_LD=$LD
5.9852 -lt_save_GCC=$GCC
5.9853 -GCC=$GXX
5.9854 -lt_save_with_gnu_ld=$with_gnu_ld
5.9855 -lt_save_path_LD=$lt_cv_path_LD
5.9856 -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
5.9857 - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
5.9858 -else
5.9859 - unset lt_cv_prog_gnu_ld
5.9860 -fi
5.9861 -if test -n "${lt_cv_path_LDCXX+set}"; then
5.9862 - lt_cv_path_LD=$lt_cv_path_LDCXX
5.9863 -else
5.9864 - unset lt_cv_path_LD
5.9865 -fi
5.9866 -test -z "${LDCXX+set}" || LD=$LDCXX
5.9867 -CC=${CXX-"c++"}
5.9868 -compiler=$CC
5.9869 -compiler_CXX=$CC
5.9870 -for cc_temp in $compiler""; do
5.9871 - case $cc_temp in
5.9872 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5.9873 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
5.9874 - \-*) ;;
5.9875 - *) break;;
5.9876 - esac
5.9877 -done
5.9878 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
5.9879 -
5.9880 -
5.9881 -# We don't want -fno-exception wen compiling C++ code, so set the
5.9882 -# no_builtin_flag separately
5.9883 -if test "$GXX" = yes; then
5.9884 - lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
5.9885 -else
5.9886 - lt_prog_compiler_no_builtin_flag_CXX=
5.9887 -fi
5.9888 -
5.9889 -if test "$GXX" = yes; then
5.9890 - # Set up default GNU C++ configuration
5.9891 -
5.9892 -
5.9893 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
5.9894 -if test "${with_gnu_ld+set}" = set; then
5.9895 - withval="$with_gnu_ld"
5.9896 - test "$withval" = no || with_gnu_ld=yes
5.9897 -else
5.9898 - with_gnu_ld=no
5.9899 -fi;
5.9900 -ac_prog=ld
5.9901 -if test "$GCC" = yes; then
5.9902 - # Check if gcc -print-prog-name=ld gives a path.
5.9903 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5.9904 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5.9905 - case $host in
5.9906 - *-*-mingw*)
5.9907 - # gcc leaves a trailing carriage return which upsets mingw
5.9908 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5.9909 - *)
5.9910 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5.9911 - esac
5.9912 - case $ac_prog in
5.9913 - # Accept absolute paths.
5.9914 - [\\/]* | ?:[\\/]*)
5.9915 - re_direlt='/[^/][^/]*/\.\./'
5.9916 - # Canonicalize the pathname of ld
5.9917 - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5.9918 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5.9919 - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
5.9920 - done
5.9921 - test -z "$LD" && LD="$ac_prog"
5.9922 - ;;
5.9923 - "")
5.9924 - # If it fails, then pretend we aren't using GCC.
5.9925 - ac_prog=ld
5.9926 - ;;
5.9927 - *)
5.9928 - # If it is relative, then search for the first ld in PATH.
5.9929 - with_gnu_ld=unknown
5.9930 - ;;
5.9931 - esac
5.9932 -elif test "$with_gnu_ld" = yes; then
5.9933 - echo "$as_me:$LINENO: checking for GNU ld" >&5
5.9934 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5.9935 -else
5.9936 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5.9937 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5.9938 -fi
5.9939 -if test "${lt_cv_path_LD+set}" = set; then
5.9940 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.9941 -else
5.9942 - if test -z "$LD"; then
5.9943 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5.9944 - for ac_dir in $PATH; do
5.9945 - IFS="$lt_save_ifs"
5.9946 - test -z "$ac_dir" && ac_dir=.
5.9947 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5.9948 - lt_cv_path_LD="$ac_dir/$ac_prog"
5.9949 - # Check to see if the program is GNU ld. I'd rather use --version,
5.9950 - # but apparently some variants of GNU ld only accept -v.
5.9951 - # Break only if it was the GNU/non-GNU ld that we prefer.
5.9952 - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5.9953 - *GNU* | *'with BFD'*)
5.9954 - test "$with_gnu_ld" != no && break
5.9955 - ;;
5.9956 - *)
5.9957 - test "$with_gnu_ld" != yes && break
5.9958 - ;;
5.9959 - esac
5.9960 - fi
5.9961 - done
5.9962 - IFS="$lt_save_ifs"
5.9963 -else
5.9964 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
5.9965 -fi
5.9966 -fi
5.9967 -
5.9968 -LD="$lt_cv_path_LD"
5.9969 -if test -n "$LD"; then
5.9970 - echo "$as_me:$LINENO: result: $LD" >&5
5.9971 -echo "${ECHO_T}$LD" >&6
5.9972 -else
5.9973 - echo "$as_me:$LINENO: result: no" >&5
5.9974 -echo "${ECHO_T}no" >&6
5.9975 -fi
5.9976 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5.9977 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5.9978 - { (exit 1); exit 1; }; }
5.9979 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5.9980 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5.9981 -if test "${lt_cv_prog_gnu_ld+set}" = set; then
5.9982 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.9983 -else
5.9984 - # I'd rather use --version here, but apparently some GNU lds only accept -v.
5.9985 -case `$LD -v 2>&1 </dev/null` in
5.9986 -*GNU* | *'with BFD'*)
5.9987 - lt_cv_prog_gnu_ld=yes
5.9988 - ;;
5.9989 -*)
5.9990 - lt_cv_prog_gnu_ld=no
5.9991 - ;;
5.9992 -esac
5.9993 -fi
5.9994 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5.9995 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5.9996 -with_gnu_ld=$lt_cv_prog_gnu_ld
5.9997 -
5.9998 -
5.9999 -
5.10000 - # Check if GNU C++ uses GNU ld as the underlying linker, since the
5.10001 - # archiving commands below assume that GNU ld is being used.
5.10002 - if test "$with_gnu_ld" = yes; then
5.10003 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.10004 - archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5.10005 -
5.10006 - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
5.10007 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
5.10008 -
5.10009 - # If archive_cmds runs LD, not CC, wlarc should be empty
5.10010 - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
5.10011 - # investigate it a little bit more. (MM)
5.10012 - wlarc='${wl}'
5.10013 -
5.10014 - # ancient GNU ld didn't support --whole-archive et. al.
5.10015 - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
5.10016 - grep 'no-whole-archive' > /dev/null; then
5.10017 - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
5.10018 - else
5.10019 - whole_archive_flag_spec_CXX=
5.10020 - fi
5.10021 - else
5.10022 - with_gnu_ld=no
5.10023 - wlarc=
5.10024 -
5.10025 - # A generic and very simple default shared library creation
5.10026 - # command for GNU C++ for the case where it uses the native
5.10027 - # linker, instead of GNU ld. If possible, this setting should
5.10028 - # overridden to take advantage of the native linker features on
5.10029 - # the platform it is being used on.
5.10030 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
5.10031 - fi
5.10032 -
5.10033 - # Commands to make compiler produce verbose output that lists
5.10034 - # what "hidden" libraries, object files and flags are used when
5.10035 - # linking a shared library.
5.10036 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
5.10037 -
5.10038 -else
5.10039 - GXX=no
5.10040 - with_gnu_ld=no
5.10041 - wlarc=
5.10042 -fi
5.10043 -
5.10044 -# PORTME: fill in a description of your system's C++ link characteristics
5.10045 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
5.10046 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
5.10047 -ld_shlibs_CXX=yes
5.10048 -case $host_os in
5.10049 - aix3*)
5.10050 - # FIXME: insert proper C++ library support
5.10051 - ld_shlibs_CXX=no
5.10052 - ;;
5.10053 - aix4* | aix5*)
5.10054 - if test "$host_cpu" = ia64; then
5.10055 - # On IA64, the linker does run time linking by default, so we don't
5.10056 - # have to do anything special.
5.10057 - aix_use_runtimelinking=no
5.10058 - exp_sym_flag='-Bexport'
5.10059 - no_entry_flag=""
5.10060 - else
5.10061 - aix_use_runtimelinking=no
5.10062 -
5.10063 - # Test if we are trying to use run time linking or normal
5.10064 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5.10065 - # need to do runtime linking.
5.10066 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
5.10067 - for ld_flag in $LDFLAGS; do
5.10068 - case $ld_flag in
5.10069 - *-brtl*)
5.10070 - aix_use_runtimelinking=yes
5.10071 - break
5.10072 - ;;
5.10073 - esac
5.10074 - done
5.10075 - esac
5.10076 -
5.10077 - exp_sym_flag='-bexport'
5.10078 - no_entry_flag='-bnoentry'
5.10079 - fi
5.10080 -
5.10081 - # When large executables or shared objects are built, AIX ld can
5.10082 - # have problems creating the table of contents. If linking a library
5.10083 - # or program results in "error TOC overflow" add -mminimal-toc to
5.10084 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
5.10085 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5.10086 -
5.10087 - archive_cmds_CXX=''
5.10088 - hardcode_direct_CXX=yes
5.10089 - hardcode_libdir_separator_CXX=':'
5.10090 - link_all_deplibs_CXX=yes
5.10091 -
5.10092 - if test "$GXX" = yes; then
5.10093 - case $host_os in aix4.[012]|aix4.[012].*)
5.10094 - # We only want to do this on AIX 4.2 and lower, the check
5.10095 - # below for broken collect2 doesn't work under 4.3+
5.10096 - collect2name=`${CC} -print-prog-name=collect2`
5.10097 - if test -f "$collect2name" && \
5.10098 - strings "$collect2name" | grep resolve_lib_name >/dev/null
5.10099 - then
5.10100 - # We have reworked collect2
5.10101 - hardcode_direct_CXX=yes
5.10102 - else
5.10103 - # We have old collect2
5.10104 - hardcode_direct_CXX=unsupported
5.10105 - # It fails to find uninstalled libraries when the uninstalled
5.10106 - # path is not listed in the libpath. Setting hardcode_minus_L
5.10107 - # to unsupported forces relinking
5.10108 - hardcode_minus_L_CXX=yes
5.10109 - hardcode_libdir_flag_spec_CXX='-L$libdir'
5.10110 - hardcode_libdir_separator_CXX=
5.10111 - fi
5.10112 - esac
5.10113 - shared_flag='-shared'
5.10114 - if test "$aix_use_runtimelinking" = yes; then
5.10115 - shared_flag="$shared_flag "'${wl}-G'
5.10116 - fi
5.10117 - else
5.10118 - # not using gcc
5.10119 - if test "$host_cpu" = ia64; then
5.10120 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5.10121 - # chokes on -Wl,-G. The following line is correct:
5.10122 - shared_flag='-G'
5.10123 - else
5.10124 - if test "$aix_use_runtimelinking" = yes; then
5.10125 - shared_flag='${wl}-G'
5.10126 - else
5.10127 - shared_flag='${wl}-bM:SRE'
5.10128 - fi
5.10129 - fi
5.10130 - fi
5.10131 -
5.10132 - # It seems that -bexpall does not export symbols beginning with
5.10133 - # underscore (_), so it is better to generate a list of symbols to export.
5.10134 - always_export_symbols_CXX=yes
5.10135 - if test "$aix_use_runtimelinking" = yes; then
5.10136 - # Warning - without using the other runtime loading flags (-brtl),
5.10137 - # -berok will link without error, but may produce a broken library.
5.10138 - allow_undefined_flag_CXX='-berok'
5.10139 - # Determine the default libpath from the value encoded in an empty executable.
5.10140 - cat >conftest.$ac_ext <<_ACEOF
5.10141 -/* confdefs.h. */
5.10142 -_ACEOF
5.10143 -cat confdefs.h >>conftest.$ac_ext
5.10144 -cat >>conftest.$ac_ext <<_ACEOF
5.10145 -/* end confdefs.h. */
5.10146 -
5.10147 -int
5.10148 -main ()
5.10149 -{
5.10150 -
5.10151 - ;
5.10152 - return 0;
5.10153 -}
5.10154 -_ACEOF
5.10155 -rm -f conftest.$ac_objext conftest$ac_exeext
5.10156 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.10157 - (eval $ac_link) 2>conftest.er1
5.10158 - ac_status=$?
5.10159 - grep -v '^ *+' conftest.er1 >conftest.err
5.10160 - rm -f conftest.er1
5.10161 - cat conftest.err >&5
5.10162 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.10163 - (exit $ac_status); } &&
5.10164 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5.10165 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.10166 - (eval $ac_try) 2>&5
5.10167 - ac_status=$?
5.10168 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.10169 - (exit $ac_status); }; } &&
5.10170 - { ac_try='test -s conftest$ac_exeext'
5.10171 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.10172 - (eval $ac_try) 2>&5
5.10173 - ac_status=$?
5.10174 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.10175 - (exit $ac_status); }; }; then
5.10176 -
5.10177 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
5.10178 -}'`
5.10179 -# Check for a 64-bit object if we didn't find anything.
5.10180 -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; }
5.10181 -}'`; fi
5.10182 -else
5.10183 - echo "$as_me: failed program was:" >&5
5.10184 -sed 's/^/| /' conftest.$ac_ext >&5
5.10185 -
5.10186 -fi
5.10187 -rm -f conftest.err conftest.$ac_objext \
5.10188 - conftest$ac_exeext conftest.$ac_ext
5.10189 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
5.10190 -
5.10191 - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
5.10192 -
5.10193 - archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5.10194 - else
5.10195 - if test "$host_cpu" = ia64; then
5.10196 - hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
5.10197 - allow_undefined_flag_CXX="-z nodefs"
5.10198 - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
5.10199 - else
5.10200 - # Determine the default libpath from the value encoded in an empty executable.
5.10201 - cat >conftest.$ac_ext <<_ACEOF
5.10202 -/* confdefs.h. */
5.10203 -_ACEOF
5.10204 -cat confdefs.h >>conftest.$ac_ext
5.10205 -cat >>conftest.$ac_ext <<_ACEOF
5.10206 -/* end confdefs.h. */
5.10207 -
5.10208 -int
5.10209 -main ()
5.10210 -{
5.10211 -
5.10212 - ;
5.10213 - return 0;
5.10214 -}
5.10215 -_ACEOF
5.10216 -rm -f conftest.$ac_objext conftest$ac_exeext
5.10217 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.10218 - (eval $ac_link) 2>conftest.er1
5.10219 - ac_status=$?
5.10220 - grep -v '^ *+' conftest.er1 >conftest.err
5.10221 - rm -f conftest.er1
5.10222 - cat conftest.err >&5
5.10223 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.10224 - (exit $ac_status); } &&
5.10225 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5.10226 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.10227 - (eval $ac_try) 2>&5
5.10228 - ac_status=$?
5.10229 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.10230 - (exit $ac_status); }; } &&
5.10231 - { ac_try='test -s conftest$ac_exeext'
5.10232 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.10233 - (eval $ac_try) 2>&5
5.10234 - ac_status=$?
5.10235 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.10236 - (exit $ac_status); }; }; then
5.10237 -
5.10238 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
5.10239 -}'`
5.10240 -# Check for a 64-bit object if we didn't find anything.
5.10241 -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; }
5.10242 -}'`; fi
5.10243 -else
5.10244 - echo "$as_me: failed program was:" >&5
5.10245 -sed 's/^/| /' conftest.$ac_ext >&5
5.10246 -
5.10247 -fi
5.10248 -rm -f conftest.err conftest.$ac_objext \
5.10249 - conftest$ac_exeext conftest.$ac_ext
5.10250 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
5.10251 -
5.10252 - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
5.10253 - # Warning - without using the other run time loading flags,
5.10254 - # -berok will link without error, but may produce a broken library.
5.10255 - no_undefined_flag_CXX=' ${wl}-bernotok'
5.10256 - allow_undefined_flag_CXX=' ${wl}-berok'
5.10257 - # -bexpall does not export symbols beginning with underscore (_)
5.10258 - always_export_symbols_CXX=yes
5.10259 - # Exported symbols can be pulled into shared objects from archives
5.10260 - whole_archive_flag_spec_CXX=' '
5.10261 - archive_cmds_need_lc_CXX=yes
5.10262 - # This is similar to how AIX traditionally builds its shared libraries.
5.10263 - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
5.10264 - fi
5.10265 - fi
5.10266 - ;;
5.10267 - chorus*)
5.10268 - case $cc_basename in
5.10269 - *)
5.10270 - # FIXME: insert proper C++ library support
5.10271 - ld_shlibs_CXX=no
5.10272 - ;;
5.10273 - esac
5.10274 - ;;
5.10275 -
5.10276 -
5.10277 - cygwin* | mingw* | pw32*)
5.10278 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
5.10279 - # as there is no search path for DLLs.
5.10280 - hardcode_libdir_flag_spec_CXX='-L$libdir'
5.10281 - allow_undefined_flag_CXX=unsupported
5.10282 - always_export_symbols_CXX=no
5.10283 - enable_shared_with_static_runtimes_CXX=yes
5.10284 -
5.10285 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
5.10286 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5.10287 - # If the export-symbols file already is a .def file (1st line
5.10288 - # is EXPORTS), use it as is; otherwise, prepend...
5.10289 - archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5.10290 - cp $export_symbols $output_objdir/$soname.def;
5.10291 - else
5.10292 - echo EXPORTS > $output_objdir/$soname.def;
5.10293 - cat $export_symbols >> $output_objdir/$soname.def;
5.10294 - fi~
5.10295 - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5.10296 - else
5.10297 - ld_shlibs_CXX=no
5.10298 - fi
5.10299 - ;;
5.10300 - darwin* | rhapsody*)
5.10301 - case $host_os in
5.10302 - rhapsody* | darwin1.[012])
5.10303 - allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
5.10304 - ;;
5.10305 - *) # Darwin 1.3 on
5.10306 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
5.10307 - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
5.10308 - else
5.10309 - case ${MACOSX_DEPLOYMENT_TARGET} in
5.10310 - 10.[012])
5.10311 - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
5.10312 - ;;
5.10313 - 10.*)
5.10314 - allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
5.10315 - ;;
5.10316 - esac
5.10317 - fi
5.10318 - ;;
5.10319 - esac
5.10320 - archive_cmds_need_lc_CXX=no
5.10321 - hardcode_direct_CXX=no
5.10322 - hardcode_automatic_CXX=yes
5.10323 - hardcode_shlibpath_var_CXX=unsupported
5.10324 - whole_archive_flag_spec_CXX=''
5.10325 - link_all_deplibs_CXX=yes
5.10326 -
5.10327 - if test "$GXX" = yes ; then
5.10328 - lt_int_apple_cc_single_mod=no
5.10329 - output_verbose_link_cmd='echo'
5.10330 - if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
5.10331 - lt_int_apple_cc_single_mod=yes
5.10332 - fi
5.10333 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
5.10334 - archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
5.10335 - else
5.10336 - archive_cmds_CXX='$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'
5.10337 - fi
5.10338 - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5.10339 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5.10340 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
5.10341 - archive_expsym_cmds_CXX='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}'
5.10342 - else
5.10343 - archive_expsym_cmds_CXX='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}'
5.10344 - fi
5.10345 - module_expsym_cmds_CXX='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}'
5.10346 - else
5.10347 - case $cc_basename in
5.10348 - xlc*)
5.10349 - output_verbose_link_cmd='echo'
5.10350 - archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
5.10351 - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5.10352 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5.10353 - archive_expsym_cmds_CXX='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}'
5.10354 - module_expsym_cmds_CXX='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}'
5.10355 - ;;
5.10356 - *)
5.10357 - ld_shlibs_CXX=no
5.10358 - ;;
5.10359 - esac
5.10360 - fi
5.10361 - ;;
5.10362 -
5.10363 - dgux*)
5.10364 - case $cc_basename in
5.10365 - ec++*)
5.10366 - # FIXME: insert proper C++ library support
5.10367 - ld_shlibs_CXX=no
5.10368 - ;;
5.10369 - ghcx*)
5.10370 - # Green Hills C++ Compiler
5.10371 - # FIXME: insert proper C++ library support
5.10372 - ld_shlibs_CXX=no
5.10373 - ;;
5.10374 - *)
5.10375 - # FIXME: insert proper C++ library support
5.10376 - ld_shlibs_CXX=no
5.10377 - ;;
5.10378 - esac
5.10379 - ;;
5.10380 - freebsd[12]*)
5.10381 - # C++ shared libraries reported to be fairly broken before switch to ELF
5.10382 - ld_shlibs_CXX=no
5.10383 - ;;
5.10384 - freebsd-elf*)
5.10385 - archive_cmds_need_lc_CXX=no
5.10386 - ;;
5.10387 - freebsd* | kfreebsd*-gnu | dragonfly*)
5.10388 - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
5.10389 - # conventions
5.10390 - ld_shlibs_CXX=yes
5.10391 - ;;
5.10392 - gnu*)
5.10393 - ;;
5.10394 - hpux9*)
5.10395 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
5.10396 - hardcode_libdir_separator_CXX=:
5.10397 - export_dynamic_flag_spec_CXX='${wl}-E'
5.10398 - hardcode_direct_CXX=yes
5.10399 - hardcode_minus_L_CXX=yes # Not in the search PATH,
5.10400 - # but as the default
5.10401 - # location of the library.
5.10402 -
5.10403 - case $cc_basename in
5.10404 - CC*)
5.10405 - # FIXME: insert proper C++ library support
5.10406 - ld_shlibs_CXX=no
5.10407 - ;;
5.10408 - aCC*)
5.10409 - archive_cmds_CXX='$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'
5.10410 - # Commands to make compiler produce verbose output that lists
5.10411 - # what "hidden" libraries, object files and flags are used when
5.10412 - # linking a shared library.
5.10413 - #
5.10414 - # There doesn't appear to be a way to prevent this compiler from
5.10415 - # explicitly linking system object files so we need to strip them
5.10416 - # from the output so that they don't get included in the library
5.10417 - # dependencies.
5.10418 - 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'
5.10419 - ;;
5.10420 - *)
5.10421 - if test "$GXX" = yes; then
5.10422 - archive_cmds_CXX='$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'
5.10423 - else
5.10424 - # FIXME: insert proper C++ library support
5.10425 - ld_shlibs_CXX=no
5.10426 - fi
5.10427 - ;;
5.10428 - esac
5.10429 - ;;
5.10430 - hpux10*|hpux11*)
5.10431 - if test $with_gnu_ld = no; then
5.10432 - case $host_cpu in
5.10433 - hppa*64*)
5.10434 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
5.10435 - hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
5.10436 - hardcode_libdir_separator_CXX=:
5.10437 - ;;
5.10438 - ia64*)
5.10439 - hardcode_libdir_flag_spec_CXX='-L$libdir'
5.10440 - ;;
5.10441 - *)
5.10442 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
5.10443 - hardcode_libdir_separator_CXX=:
5.10444 - export_dynamic_flag_spec_CXX='${wl}-E'
5.10445 - ;;
5.10446 - esac
5.10447 - fi
5.10448 - case $host_cpu in
5.10449 - hppa*64*)
5.10450 - hardcode_direct_CXX=no
5.10451 - hardcode_shlibpath_var_CXX=no
5.10452 - ;;
5.10453 - ia64*)
5.10454 - hardcode_direct_CXX=no
5.10455 - hardcode_shlibpath_var_CXX=no
5.10456 - hardcode_minus_L_CXX=yes # Not in the search PATH,
5.10457 - # but as the default
5.10458 - # location of the library.
5.10459 - ;;
5.10460 - *)
5.10461 - hardcode_direct_CXX=yes
5.10462 - hardcode_minus_L_CXX=yes # Not in the search PATH,
5.10463 - # but as the default
5.10464 - # location of the library.
5.10465 - ;;
5.10466 - esac
5.10467 -
5.10468 - case $cc_basename in
5.10469 - CC*)
5.10470 - # FIXME: insert proper C++ library support
5.10471 - ld_shlibs_CXX=no
5.10472 - ;;
5.10473 - aCC*)
5.10474 - case $host_cpu in
5.10475 - hppa*64*|ia64*)
5.10476 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
5.10477 - ;;
5.10478 - *)
5.10479 - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5.10480 - ;;
5.10481 - esac
5.10482 - # Commands to make compiler produce verbose output that lists
5.10483 - # what "hidden" libraries, object files and flags are used when
5.10484 - # linking a shared library.
5.10485 - #
5.10486 - # There doesn't appear to be a way to prevent this compiler from
5.10487 - # explicitly linking system object files so we need to strip them
5.10488 - # from the output so that they don't get included in the library
5.10489 - # dependencies.
5.10490 - 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'
5.10491 - ;;
5.10492 - *)
5.10493 - if test "$GXX" = yes; then
5.10494 - if test $with_gnu_ld = no; then
5.10495 - case $host_cpu in
5.10496 - ia64*|hppa*64*)
5.10497 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
5.10498 - ;;
5.10499 - *)
5.10500 - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5.10501 - ;;
5.10502 - esac
5.10503 - fi
5.10504 - else
5.10505 - # FIXME: insert proper C++ library support
5.10506 - ld_shlibs_CXX=no
5.10507 - fi
5.10508 - ;;
5.10509 - esac
5.10510 - ;;
5.10511 - irix5* | irix6*)
5.10512 - case $cc_basename in
5.10513 - CC*)
5.10514 - # SGI C++
5.10515 - archive_cmds_CXX='$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'
5.10516 -
5.10517 - # Archives containing C++ object files must be created using
5.10518 - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
5.10519 - # necessary to make sure instantiated templates are included
5.10520 - # in the archive.
5.10521 - old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
5.10522 - ;;
5.10523 - *)
5.10524 - if test "$GXX" = yes; then
5.10525 - if test "$with_gnu_ld" = no; then
5.10526 - archive_cmds_CXX='$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'
5.10527 - else
5.10528 - archive_cmds_CXX='$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'
5.10529 - fi
5.10530 - fi
5.10531 - link_all_deplibs_CXX=yes
5.10532 - ;;
5.10533 - esac
5.10534 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
5.10535 - hardcode_libdir_separator_CXX=:
5.10536 - ;;
5.10537 - linux*)
5.10538 - case $cc_basename in
5.10539 - KCC*)
5.10540 - # Kuck and Associates, Inc. (KAI) C++ Compiler
5.10541 -
5.10542 - # KCC will only create a shared library if the output file
5.10543 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
5.10544 - # to its proper name (with version) after linking.
5.10545 - archive_cmds_CXX='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'
5.10546 - archive_expsym_cmds_CXX='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'
5.10547 - # Commands to make compiler produce verbose output that lists
5.10548 - # what "hidden" libraries, object files and flags are used when
5.10549 - # linking a shared library.
5.10550 - #
5.10551 - # There doesn't appear to be a way to prevent this compiler from
5.10552 - # explicitly linking system object files so we need to strip them
5.10553 - # from the output so that they don't get included in the library
5.10554 - # dependencies.
5.10555 - 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'
5.10556 -
5.10557 - hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
5.10558 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
5.10559 -
5.10560 - # Archives containing C++ object files must be created using
5.10561 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
5.10562 - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
5.10563 - ;;
5.10564 - icpc*)
5.10565 - # Intel C++
5.10566 - with_gnu_ld=yes
5.10567 - # version 8.0 and above of icpc choke on multiply defined symbols
5.10568 - # if we add $predep_objects and $postdep_objects, however 7.1 and
5.10569 - # earlier do not add the objects themselves.
5.10570 - case `$CC -V 2>&1` in
5.10571 - *"Version 7."*)
5.10572 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.10573 - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5.10574 - ;;
5.10575 - *) # Version 8.0 or newer
5.10576 - tmp_idyn=
5.10577 - case $host_cpu in
5.10578 - ia64*) tmp_idyn=' -i_dynamic';;
5.10579 - esac
5.10580 - archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.10581 - archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5.10582 - ;;
5.10583 - esac
5.10584 - archive_cmds_need_lc_CXX=no
5.10585 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
5.10586 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
5.10587 - whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
5.10588 - ;;
5.10589 - pgCC*)
5.10590 - # Portland Group C++ compiler
5.10591 - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
5.10592 - archive_expsym_cmds_CXX='$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'
5.10593 -
5.10594 - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
5.10595 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
5.10596 - whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
5.10597 - ;;
5.10598 - cxx*)
5.10599 - # Compaq C++
5.10600 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.10601 - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
5.10602 -
5.10603 - runpath_var=LD_RUN_PATH
5.10604 - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
5.10605 - hardcode_libdir_separator_CXX=:
5.10606 -
5.10607 - # Commands to make compiler produce verbose output that lists
5.10608 - # what "hidden" libraries, object files and flags are used when
5.10609 - # linking a shared library.
5.10610 - #
5.10611 - # There doesn't appear to be a way to prevent this compiler from
5.10612 - # explicitly linking system object files so we need to strip them
5.10613 - # from the output so that they don't get included in the library
5.10614 - # dependencies.
5.10615 - 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'
5.10616 - ;;
5.10617 - esac
5.10618 - ;;
5.10619 - lynxos*)
5.10620 - # FIXME: insert proper C++ library support
5.10621 - ld_shlibs_CXX=no
5.10622 - ;;
5.10623 - m88k*)
5.10624 - # FIXME: insert proper C++ library support
5.10625 - ld_shlibs_CXX=no
5.10626 - ;;
5.10627 - mvs*)
5.10628 - case $cc_basename in
5.10629 - cxx*)
5.10630 - # FIXME: insert proper C++ library support
5.10631 - ld_shlibs_CXX=no
5.10632 - ;;
5.10633 - *)
5.10634 - # FIXME: insert proper C++ library support
5.10635 - ld_shlibs_CXX=no
5.10636 - ;;
5.10637 - esac
5.10638 - ;;
5.10639 - netbsd*)
5.10640 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5.10641 - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
5.10642 - wlarc=
5.10643 - hardcode_libdir_flag_spec_CXX='-R$libdir'
5.10644 - hardcode_direct_CXX=yes
5.10645 - hardcode_shlibpath_var_CXX=no
5.10646 - fi
5.10647 - # Workaround some broken pre-1.5 toolchains
5.10648 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
5.10649 - ;;
5.10650 - openbsd2*)
5.10651 - # C++ shared libraries are fairly broken
5.10652 - ld_shlibs_CXX=no
5.10653 - ;;
5.10654 - openbsd*)
5.10655 - hardcode_direct_CXX=yes
5.10656 - hardcode_shlibpath_var_CXX=no
5.10657 - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
5.10658 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
5.10659 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5.10660 - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
5.10661 - export_dynamic_flag_spec_CXX='${wl}-E'
5.10662 - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
5.10663 - fi
5.10664 - output_verbose_link_cmd='echo'
5.10665 - ;;
5.10666 - osf3*)
5.10667 - case $cc_basename in
5.10668 - KCC*)
5.10669 - # Kuck and Associates, Inc. (KAI) C++ Compiler
5.10670 -
5.10671 - # KCC will only create a shared library if the output file
5.10672 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
5.10673 - # to its proper name (with version) after linking.
5.10674 - archive_cmds_CXX='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'
5.10675 -
5.10676 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
5.10677 - hardcode_libdir_separator_CXX=:
5.10678 -
5.10679 - # Archives containing C++ object files must be created using
5.10680 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
5.10681 - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
5.10682 -
5.10683 - ;;
5.10684 - RCC*)
5.10685 - # Rational C++ 2.4.1
5.10686 - # FIXME: insert proper C++ library support
5.10687 - ld_shlibs_CXX=no
5.10688 - ;;
5.10689 - cxx*)
5.10690 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
5.10691 - archive_cmds_CXX='$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'
5.10692 -
5.10693 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
5.10694 - hardcode_libdir_separator_CXX=:
5.10695 -
5.10696 - # Commands to make compiler produce verbose output that lists
5.10697 - # what "hidden" libraries, object files and flags are used when
5.10698 - # linking a shared library.
5.10699 - #
5.10700 - # There doesn't appear to be a way to prevent this compiler from
5.10701 - # explicitly linking system object files so we need to strip them
5.10702 - # from the output so that they don't get included in the library
5.10703 - # dependencies.
5.10704 - 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'
5.10705 - ;;
5.10706 - *)
5.10707 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
5.10708 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
5.10709 - archive_cmds_CXX='$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'
5.10710 -
5.10711 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
5.10712 - hardcode_libdir_separator_CXX=:
5.10713 -
5.10714 - # Commands to make compiler produce verbose output that lists
5.10715 - # what "hidden" libraries, object files and flags are used when
5.10716 - # linking a shared library.
5.10717 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
5.10718 -
5.10719 - else
5.10720 - # FIXME: insert proper C++ library support
5.10721 - ld_shlibs_CXX=no
5.10722 - fi
5.10723 - ;;
5.10724 - esac
5.10725 - ;;
5.10726 - osf4* | osf5*)
5.10727 - case $cc_basename in
5.10728 - KCC*)
5.10729 - # Kuck and Associates, Inc. (KAI) C++ Compiler
5.10730 -
5.10731 - # KCC will only create a shared library if the output file
5.10732 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
5.10733 - # to its proper name (with version) after linking.
5.10734 - archive_cmds_CXX='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'
5.10735 -
5.10736 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
5.10737 - hardcode_libdir_separator_CXX=:
5.10738 -
5.10739 - # Archives containing C++ object files must be created using
5.10740 - # the KAI C++ compiler.
5.10741 - old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
5.10742 - ;;
5.10743 - RCC*)
5.10744 - # Rational C++ 2.4.1
5.10745 - # FIXME: insert proper C++ library support
5.10746 - ld_shlibs_CXX=no
5.10747 - ;;
5.10748 - cxx*)
5.10749 - allow_undefined_flag_CXX=' -expect_unresolved \*'
5.10750 - archive_cmds_CXX='$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'
5.10751 - archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
5.10752 - echo "-hidden">> $lib.exp~
5.10753 - $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~
5.10754 - $rm $lib.exp'
5.10755 -
5.10756 - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
5.10757 - hardcode_libdir_separator_CXX=:
5.10758 -
5.10759 - # Commands to make compiler produce verbose output that lists
5.10760 - # what "hidden" libraries, object files and flags are used when
5.10761 - # linking a shared library.
5.10762 - #
5.10763 - # There doesn't appear to be a way to prevent this compiler from
5.10764 - # explicitly linking system object files so we need to strip them
5.10765 - # from the output so that they don't get included in the library
5.10766 - # dependencies.
5.10767 - 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'
5.10768 - ;;
5.10769 - *)
5.10770 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
5.10771 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
5.10772 - archive_cmds_CXX='$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'
5.10773 -
5.10774 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
5.10775 - hardcode_libdir_separator_CXX=:
5.10776 -
5.10777 - # Commands to make compiler produce verbose output that lists
5.10778 - # what "hidden" libraries, object files and flags are used when
5.10779 - # linking a shared library.
5.10780 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
5.10781 -
5.10782 - else
5.10783 - # FIXME: insert proper C++ library support
5.10784 - ld_shlibs_CXX=no
5.10785 - fi
5.10786 - ;;
5.10787 - esac
5.10788 - ;;
5.10789 - psos*)
5.10790 - # FIXME: insert proper C++ library support
5.10791 - ld_shlibs_CXX=no
5.10792 - ;;
5.10793 - sco*)
5.10794 - archive_cmds_need_lc_CXX=no
5.10795 - case $cc_basename in
5.10796 - CC*)
5.10797 - # FIXME: insert proper C++ library support
5.10798 - ld_shlibs_CXX=no
5.10799 - ;;
5.10800 - *)
5.10801 - # FIXME: insert proper C++ library support
5.10802 - ld_shlibs_CXX=no
5.10803 - ;;
5.10804 - esac
5.10805 - ;;
5.10806 - sunos4*)
5.10807 - case $cc_basename in
5.10808 - CC*)
5.10809 - # Sun C++ 4.x
5.10810 - # FIXME: insert proper C++ library support
5.10811 - ld_shlibs_CXX=no
5.10812 - ;;
5.10813 - lcc*)
5.10814 - # Lucid
5.10815 - # FIXME: insert proper C++ library support
5.10816 - ld_shlibs_CXX=no
5.10817 - ;;
5.10818 - *)
5.10819 - # FIXME: insert proper C++ library support
5.10820 - ld_shlibs_CXX=no
5.10821 - ;;
5.10822 - esac
5.10823 - ;;
5.10824 - solaris*)
5.10825 - case $cc_basename in
5.10826 - CC*)
5.10827 - # Sun C++ 4.2, 5.x and Centerline C++
5.10828 - archive_cmds_need_lc_CXX=yes
5.10829 - no_undefined_flag_CXX=' -zdefs'
5.10830 - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5.10831 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5.10832 - $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'
5.10833 -
5.10834 - hardcode_libdir_flag_spec_CXX='-R$libdir'
5.10835 - hardcode_shlibpath_var_CXX=no
5.10836 - case $host_os in
5.10837 - solaris2.[0-5] | solaris2.[0-5].*) ;;
5.10838 - *)
5.10839 - # The C++ compiler is used as linker so we must use $wl
5.10840 - # flag to pass the commands to the underlying system
5.10841 - # linker. We must also pass each convience library through
5.10842 - # to the system linker between allextract/defaultextract.
5.10843 - # The C++ compiler will combine linker options so we
5.10844 - # cannot just pass the convience library names through
5.10845 - # without $wl.
5.10846 - # Supported since Solaris 2.6 (maybe 2.5.1?)
5.10847 - whole_archive_flag_spec_CXX='${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'
5.10848 - ;;
5.10849 - esac
5.10850 - link_all_deplibs_CXX=yes
5.10851 -
5.10852 - output_verbose_link_cmd='echo'
5.10853 -
5.10854 - # Archives containing C++ object files must be created using
5.10855 - # "CC -xar", where "CC" is the Sun C++ compiler. This is
5.10856 - # necessary to make sure instantiated templates are included
5.10857 - # in the archive.
5.10858 - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
5.10859 - ;;
5.10860 - gcx*)
5.10861 - # Green Hills C++ Compiler
5.10862 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
5.10863 -
5.10864 - # The C++ compiler must be used to create the archive.
5.10865 - old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
5.10866 - ;;
5.10867 - *)
5.10868 - # GNU C++ compiler with Solaris linker
5.10869 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
5.10870 - no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
5.10871 - if $CC --version | grep -v '^2\.7' > /dev/null; then
5.10872 - archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
5.10873 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5.10874 - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
5.10875 -
5.10876 - # Commands to make compiler produce verbose output that lists
5.10877 - # what "hidden" libraries, object files and flags are used when
5.10878 - # linking a shared library.
5.10879 - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
5.10880 - else
5.10881 - # g++ 2.7 appears to require `-G' NOT `-shared' on this
5.10882 - # platform.
5.10883 - archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
5.10884 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5.10885 - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
5.10886 -
5.10887 - # Commands to make compiler produce verbose output that lists
5.10888 - # what "hidden" libraries, object files and flags are used when
5.10889 - # linking a shared library.
5.10890 - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
5.10891 - fi
5.10892 -
5.10893 - hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
5.10894 - fi
5.10895 - ;;
5.10896 - esac
5.10897 - ;;
5.10898 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
5.10899 - archive_cmds_need_lc_CXX=no
5.10900 - ;;
5.10901 - tandem*)
5.10902 - case $cc_basename in
5.10903 - NCC*)
5.10904 - # NonStop-UX NCC 3.20
5.10905 - # FIXME: insert proper C++ library support
5.10906 - ld_shlibs_CXX=no
5.10907 - ;;
5.10908 - *)
5.10909 - # FIXME: insert proper C++ library support
5.10910 - ld_shlibs_CXX=no
5.10911 - ;;
5.10912 - esac
5.10913 - ;;
5.10914 - vxworks*)
5.10915 - # FIXME: insert proper C++ library support
5.10916 - ld_shlibs_CXX=no
5.10917 - ;;
5.10918 - *)
5.10919 - # FIXME: insert proper C++ library support
5.10920 - ld_shlibs_CXX=no
5.10921 - ;;
5.10922 -esac
5.10923 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
5.10924 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
5.10925 -test "$ld_shlibs_CXX" = no && can_build_shared=no
5.10926 -
5.10927 -GCC_CXX="$GXX"
5.10928 -LD_CXX="$LD"
5.10929 -
5.10930 -## CAVEAT EMPTOR:
5.10931 -## There is no encapsulation within the following macros, do not change
5.10932 -## the running order or otherwise move them around unless you know exactly
5.10933 -## what you are doing...
5.10934 -
5.10935 -cat > conftest.$ac_ext <<EOF
5.10936 -class Foo
5.10937 -{
5.10938 -public:
5.10939 - Foo (void) { a = 0; }
5.10940 -private:
5.10941 - int a;
5.10942 -};
5.10943 -EOF
5.10944 -
5.10945 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.10946 - (eval $ac_compile) 2>&5
5.10947 - ac_status=$?
5.10948 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.10949 - (exit $ac_status); }; then
5.10950 - # Parse the compiler output and extract the necessary
5.10951 - # objects, libraries and library flags.
5.10952 -
5.10953 - # Sentinel used to keep track of whether or not we are before
5.10954 - # the conftest object file.
5.10955 - pre_test_object_deps_done=no
5.10956 -
5.10957 - # The `*' in the case matches for architectures that use `case' in
5.10958 - # $output_verbose_cmd can trigger glob expansion during the loop
5.10959 - # eval without this substitution.
5.10960 - output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
5.10961 -
5.10962 - for p in `eval $output_verbose_link_cmd`; do
5.10963 - case $p in
5.10964 -
5.10965 - -L* | -R* | -l*)
5.10966 - # Some compilers place space between "-{L,R}" and the path.
5.10967 - # Remove the space.
5.10968 - if test $p = "-L" \
5.10969 - || test $p = "-R"; then
5.10970 - prev=$p
5.10971 - continue
5.10972 - else
5.10973 - prev=
5.10974 - fi
5.10975 -
5.10976 - if test "$pre_test_object_deps_done" = no; then
5.10977 - case $p in
5.10978 - -L* | -R*)
5.10979 - # Internal compiler library paths should come after those
5.10980 - # provided the user. The postdeps already come after the
5.10981 - # user supplied libs so there is no need to process them.
5.10982 - if test -z "$compiler_lib_search_path_CXX"; then
5.10983 - compiler_lib_search_path_CXX="${prev}${p}"
5.10984 - else
5.10985 - compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
5.10986 - fi
5.10987 - ;;
5.10988 - # The "-l" case would never come before the object being
5.10989 - # linked, so don't bother handling this case.
5.10990 - esac
5.10991 - else
5.10992 - if test -z "$postdeps_CXX"; then
5.10993 - postdeps_CXX="${prev}${p}"
5.10994 - else
5.10995 - postdeps_CXX="${postdeps_CXX} ${prev}${p}"
5.10996 - fi
5.10997 - fi
5.10998 - ;;
5.10999 -
5.11000 - *.$objext)
5.11001 - # This assumes that the test object file only shows up
5.11002 - # once in the compiler output.
5.11003 - if test "$p" = "conftest.$objext"; then
5.11004 - pre_test_object_deps_done=yes
5.11005 - continue
5.11006 - fi
5.11007 -
5.11008 - if test "$pre_test_object_deps_done" = no; then
5.11009 - if test -z "$predep_objects_CXX"; then
5.11010 - predep_objects_CXX="$p"
5.11011 - else
5.11012 - predep_objects_CXX="$predep_objects_CXX $p"
5.11013 - fi
5.11014 - else
5.11015 - if test -z "$postdep_objects_CXX"; then
5.11016 - postdep_objects_CXX="$p"
5.11017 - else
5.11018 - postdep_objects_CXX="$postdep_objects_CXX $p"
5.11019 - fi
5.11020 - fi
5.11021 - ;;
5.11022 -
5.11023 - *) ;; # Ignore the rest.
5.11024 -
5.11025 - esac
5.11026 - done
5.11027 -
5.11028 - # Clean up.
5.11029 - rm -f a.out a.exe
5.11030 -else
5.11031 - echo "libtool.m4: error: problem compiling CXX test program"
5.11032 -fi
5.11033 -
5.11034 -$rm -f confest.$objext
5.11035 -
5.11036 -# PORTME: override above test on systems where it is broken
5.11037 -case $host_os in
5.11038 -solaris*)
5.11039 - case $cc_basename in
5.11040 - CC*)
5.11041 - # Adding this requires a known-good setup of shared libraries for
5.11042 - # Sun compiler versions before 5.6, else PIC objects from an old
5.11043 - # archive will be linked into the output, leading to subtle bugs.
5.11044 - postdeps_CXX='-lCstd -lCrun'
5.11045 - ;;
5.11046 - esac
5.11047 -esac
5.11048 -
5.11049 -
5.11050 -case " $postdeps_CXX " in
5.11051 -*" -lc "*) archive_cmds_need_lc_CXX=no ;;
5.11052 -esac
5.11053 -
5.11054 -lt_prog_compiler_wl_CXX=
5.11055 -lt_prog_compiler_pic_CXX=
5.11056 -lt_prog_compiler_static_CXX=
5.11057 -
5.11058 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
5.11059 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
5.11060 -
5.11061 - # C++ specific cases for pic, static, wl, etc.
5.11062 - if test "$GXX" = yes; then
5.11063 - lt_prog_compiler_wl_CXX='-Wl,'
5.11064 - lt_prog_compiler_static_CXX='-static'
5.11065 -
5.11066 - case $host_os in
5.11067 - aix*)
5.11068 - # All AIX code is PIC.
5.11069 - if test "$host_cpu" = ia64; then
5.11070 - # AIX 5 now supports IA64 processor
5.11071 - lt_prog_compiler_static_CXX='-Bstatic'
5.11072 - fi
5.11073 - ;;
5.11074 - amigaos*)
5.11075 - # FIXME: we need at least 68020 code to build shared libraries, but
5.11076 - # adding the `-m68020' flag to GCC prevents building anything better,
5.11077 - # like `-m68040'.
5.11078 - lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
5.11079 - ;;
5.11080 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5.11081 - # PIC is the default for these OSes.
5.11082 - ;;
5.11083 - mingw* | os2* | pw32*)
5.11084 - # This hack is so that the source file can tell whether it is being
5.11085 - # built for inclusion in a dll (and should export symbols for example).
5.11086 - lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
5.11087 - ;;
5.11088 - darwin* | rhapsody*)
5.11089 - # PIC is the default on this platform
5.11090 - # Common symbols not allowed in MH_DYLIB files
5.11091 - lt_prog_compiler_pic_CXX='-fno-common'
5.11092 - ;;
5.11093 - *djgpp*)
5.11094 - # DJGPP does not support shared libraries at all
5.11095 - lt_prog_compiler_pic_CXX=
5.11096 - ;;
5.11097 - sysv4*MP*)
5.11098 - if test -d /usr/nec; then
5.11099 - lt_prog_compiler_pic_CXX=-Kconform_pic
5.11100 - fi
5.11101 - ;;
5.11102 - hpux*)
5.11103 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5.11104 - # not for PA HP-UX.
5.11105 - case $host_cpu in
5.11106 - hppa*64*|ia64*)
5.11107 - ;;
5.11108 - *)
5.11109 - lt_prog_compiler_pic_CXX='-fPIC'
5.11110 - ;;
5.11111 - esac
5.11112 - ;;
5.11113 - *)
5.11114 - lt_prog_compiler_pic_CXX='-fPIC'
5.11115 - ;;
5.11116 - esac
5.11117 - else
5.11118 - case $host_os in
5.11119 - aix4* | aix5*)
5.11120 - # All AIX code is PIC.
5.11121 - if test "$host_cpu" = ia64; then
5.11122 - # AIX 5 now supports IA64 processor
5.11123 - lt_prog_compiler_static_CXX='-Bstatic'
5.11124 - else
5.11125 - lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
5.11126 - fi
5.11127 - ;;
5.11128 - chorus*)
5.11129 - case $cc_basename in
5.11130 - cxch68*)
5.11131 - # Green Hills C++ Compiler
5.11132 - # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--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"
5.11133 - ;;
5.11134 - esac
5.11135 - ;;
5.11136 - darwin*)
5.11137 - # PIC is the default on this platform
5.11138 - # Common symbols not allowed in MH_DYLIB files
5.11139 - case $cc_basename in
5.11140 - xlc*)
5.11141 - lt_prog_compiler_pic_CXX='-qnocommon'
5.11142 - lt_prog_compiler_wl_CXX='-Wl,'
5.11143 - ;;
5.11144 - esac
5.11145 - ;;
5.11146 - dgux*)
5.11147 - case $cc_basename in
5.11148 - ec++*)
5.11149 - lt_prog_compiler_pic_CXX='-KPIC'
5.11150 - ;;
5.11151 - ghcx*)
5.11152 - # Green Hills C++ Compiler
5.11153 - lt_prog_compiler_pic_CXX='-pic'
5.11154 - ;;
5.11155 - *)
5.11156 - ;;
5.11157 - esac
5.11158 - ;;
5.11159 - freebsd* | kfreebsd*-gnu | dragonfly*)
5.11160 - # FreeBSD uses GNU C++
5.11161 - ;;
5.11162 - hpux9* | hpux10* | hpux11*)
5.11163 - case $cc_basename in
5.11164 - CC*)
5.11165 - lt_prog_compiler_wl_CXX='-Wl,'
5.11166 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
5.11167 - if test "$host_cpu" != ia64; then
5.11168 - lt_prog_compiler_pic_CXX='+Z'
5.11169 - fi
5.11170 - ;;
5.11171 - aCC*)
5.11172 - lt_prog_compiler_wl_CXX='-Wl,'
5.11173 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
5.11174 - case $host_cpu in
5.11175 - hppa*64*|ia64*)
5.11176 - # +Z the default
5.11177 - ;;
5.11178 - *)
5.11179 - lt_prog_compiler_pic_CXX='+Z'
5.11180 - ;;
5.11181 - esac
5.11182 - ;;
5.11183 - *)
5.11184 - ;;
5.11185 - esac
5.11186 - ;;
5.11187 - irix5* | irix6* | nonstopux*)
5.11188 - case $cc_basename in
5.11189 - CC*)
5.11190 - lt_prog_compiler_wl_CXX='-Wl,'
5.11191 - lt_prog_compiler_static_CXX='-non_shared'
5.11192 - # CC pic flag -KPIC is the default.
5.11193 - ;;
5.11194 - *)
5.11195 - ;;
5.11196 - esac
5.11197 - ;;
5.11198 - linux*)
5.11199 - case $cc_basename in
5.11200 - KCC*)
5.11201 - # KAI C++ Compiler
5.11202 - lt_prog_compiler_wl_CXX='--backend -Wl,'
5.11203 - lt_prog_compiler_pic_CXX='-fPIC'
5.11204 - ;;
5.11205 - icpc* | ecpc*)
5.11206 - # Intel C++
5.11207 - lt_prog_compiler_wl_CXX='-Wl,'
5.11208 - lt_prog_compiler_pic_CXX='-KPIC'
5.11209 - lt_prog_compiler_static_CXX='-static'
5.11210 - ;;
5.11211 - pgCC*)
5.11212 - # Portland Group C++ compiler.
5.11213 - lt_prog_compiler_wl_CXX='-Wl,'
5.11214 - lt_prog_compiler_pic_CXX='-fpic'
5.11215 - lt_prog_compiler_static_CXX='-Bstatic'
5.11216 - ;;
5.11217 - cxx*)
5.11218 - # Compaq C++
5.11219 - # Make sure the PIC flag is empty. It appears that all Alpha
5.11220 - # Linux and Compaq Tru64 Unix objects are PIC.
5.11221 - lt_prog_compiler_pic_CXX=
5.11222 - lt_prog_compiler_static_CXX='-non_shared'
5.11223 - ;;
5.11224 - *)
5.11225 - ;;
5.11226 - esac
5.11227 - ;;
5.11228 - lynxos*)
5.11229 - ;;
5.11230 - m88k*)
5.11231 - ;;
5.11232 - mvs*)
5.11233 - case $cc_basename in
5.11234 - cxx*)
5.11235 - lt_prog_compiler_pic_CXX='-W c,exportall'
5.11236 - ;;
5.11237 - *)
5.11238 - ;;
5.11239 - esac
5.11240 - ;;
5.11241 - netbsd*)
5.11242 - ;;
5.11243 - osf3* | osf4* | osf5*)
5.11244 - case $cc_basename in
5.11245 - KCC*)
5.11246 - lt_prog_compiler_wl_CXX='--backend -Wl,'
5.11247 - ;;
5.11248 - RCC*)
5.11249 - # Rational C++ 2.4.1
5.11250 - lt_prog_compiler_pic_CXX='-pic'
5.11251 - ;;
5.11252 - cxx*)
5.11253 - # Digital/Compaq C++
5.11254 - lt_prog_compiler_wl_CXX='-Wl,'
5.11255 - # Make sure the PIC flag is empty. It appears that all Alpha
5.11256 - # Linux and Compaq Tru64 Unix objects are PIC.
5.11257 - lt_prog_compiler_pic_CXX=
5.11258 - lt_prog_compiler_static_CXX='-non_shared'
5.11259 - ;;
5.11260 - *)
5.11261 - ;;
5.11262 - esac
5.11263 - ;;
5.11264 - psos*)
5.11265 - ;;
5.11266 - sco*)
5.11267 - case $cc_basename in
5.11268 - CC*)
5.11269 - lt_prog_compiler_pic_CXX='-fPIC'
5.11270 - ;;
5.11271 - *)
5.11272 - ;;
5.11273 - esac
5.11274 - ;;
5.11275 - solaris*)
5.11276 - case $cc_basename in
5.11277 - CC*)
5.11278 - # Sun C++ 4.2, 5.x and Centerline C++
5.11279 - lt_prog_compiler_pic_CXX='-KPIC'
5.11280 - lt_prog_compiler_static_CXX='-Bstatic'
5.11281 - lt_prog_compiler_wl_CXX='-Qoption ld '
5.11282 - ;;
5.11283 - gcx*)
5.11284 - # Green Hills C++ Compiler
5.11285 - lt_prog_compiler_pic_CXX='-PIC'
5.11286 - ;;
5.11287 - *)
5.11288 - ;;
5.11289 - esac
5.11290 - ;;
5.11291 - sunos4*)
5.11292 - case $cc_basename in
5.11293 - CC*)
5.11294 - # Sun C++ 4.x
5.11295 - lt_prog_compiler_pic_CXX='-pic'
5.11296 - lt_prog_compiler_static_CXX='-Bstatic'
5.11297 - ;;
5.11298 - lcc*)
5.11299 - # Lucid
5.11300 - lt_prog_compiler_pic_CXX='-pic'
5.11301 - ;;
5.11302 - *)
5.11303 - ;;
5.11304 - esac
5.11305 - ;;
5.11306 - tandem*)
5.11307 - case $cc_basename in
5.11308 - NCC*)
5.11309 - # NonStop-UX NCC 3.20
5.11310 - lt_prog_compiler_pic_CXX='-KPIC'
5.11311 - ;;
5.11312 - *)
5.11313 - ;;
5.11314 - esac
5.11315 - ;;
5.11316 - unixware*)
5.11317 - ;;
5.11318 - vxworks*)
5.11319 - ;;
5.11320 - *)
5.11321 - lt_prog_compiler_can_build_shared_CXX=no
5.11322 - ;;
5.11323 - esac
5.11324 - fi
5.11325 -
5.11326 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
5.11327 -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
5.11328 -
5.11329 -#
5.11330 -# Check to make sure the PIC flag actually works.
5.11331 -#
5.11332 -if test -n "$lt_prog_compiler_pic_CXX"; then
5.11333 -
5.11334 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
5.11335 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
5.11336 -if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
5.11337 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.11338 -else
5.11339 - lt_prog_compiler_pic_works_CXX=no
5.11340 - ac_outfile=conftest.$ac_objext
5.11341 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
5.11342 - lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
5.11343 - # Insert the option either (1) after the last *FLAGS variable, or
5.11344 - # (2) before a word containing "conftest.", or (3) at the end.
5.11345 - # Note that $ac_compile itself does not contain backslashes and begins
5.11346 - # with a dollar sign (not a hyphen), so the echo should work correctly.
5.11347 - # The option is referenced via a variable to avoid confusing sed.
5.11348 - lt_compile=`echo "$ac_compile" | $SED \
5.11349 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5.11350 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
5.11351 - -e 's:$: $lt_compiler_flag:'`
5.11352 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
5.11353 - (eval "$lt_compile" 2>conftest.err)
5.11354 - ac_status=$?
5.11355 - cat conftest.err >&5
5.11356 - echo "$as_me:__oline__: \$? = $ac_status" >&5
5.11357 - if (exit $ac_status) && test -s "$ac_outfile"; then
5.11358 - # The compiler can only warn and ignore the option if not recognized
5.11359 - # So say no if there are warnings other than the usual output.
5.11360 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
5.11361 - $SED '/^$/d' conftest.err >conftest.er2
5.11362 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
5.11363 - lt_prog_compiler_pic_works_CXX=yes
5.11364 - fi
5.11365 - fi
5.11366 - $rm conftest*
5.11367 -
5.11368 -fi
5.11369 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
5.11370 -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
5.11371 -
5.11372 -if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
5.11373 - case $lt_prog_compiler_pic_CXX in
5.11374 - "" | " "*) ;;
5.11375 - *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
5.11376 - esac
5.11377 -else
5.11378 - lt_prog_compiler_pic_CXX=
5.11379 - lt_prog_compiler_can_build_shared_CXX=no
5.11380 -fi
5.11381 -
5.11382 -fi
5.11383 -case $host_os in
5.11384 - # For platforms which do not support PIC, -DPIC is meaningless:
5.11385 - *djgpp*)
5.11386 - lt_prog_compiler_pic_CXX=
5.11387 - ;;
5.11388 - *)
5.11389 - lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
5.11390 - ;;
5.11391 -esac
5.11392 -
5.11393 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
5.11394 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
5.11395 -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
5.11396 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.11397 -else
5.11398 - lt_cv_prog_compiler_c_o_CXX=no
5.11399 - $rm -r conftest 2>/dev/null
5.11400 - mkdir conftest
5.11401 - cd conftest
5.11402 - mkdir out
5.11403 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
5.11404 -
5.11405 - lt_compiler_flag="-o out/conftest2.$ac_objext"
5.11406 - # Insert the option either (1) after the last *FLAGS variable, or
5.11407 - # (2) before a word containing "conftest.", or (3) at the end.
5.11408 - # Note that $ac_compile itself does not contain backslashes and begins
5.11409 - # with a dollar sign (not a hyphen), so the echo should work correctly.
5.11410 - lt_compile=`echo "$ac_compile" | $SED \
5.11411 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5.11412 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
5.11413 - -e 's:$: $lt_compiler_flag:'`
5.11414 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
5.11415 - (eval "$lt_compile" 2>out/conftest.err)
5.11416 - ac_status=$?
5.11417 - cat out/conftest.err >&5
5.11418 - echo "$as_me:__oline__: \$? = $ac_status" >&5
5.11419 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
5.11420 - then
5.11421 - # The compiler can only warn and ignore the option if not recognized
5.11422 - # So say no if there are warnings
5.11423 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
5.11424 - $SED '/^$/d' out/conftest.err >out/conftest.er2
5.11425 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
5.11426 - lt_cv_prog_compiler_c_o_CXX=yes
5.11427 - fi
5.11428 - fi
5.11429 - chmod u+w . 2>&5
5.11430 - $rm conftest*
5.11431 - # SGI C++ compiler will create directory out/ii_files/ for
5.11432 - # template instantiation
5.11433 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
5.11434 - $rm out/* && rmdir out
5.11435 - cd ..
5.11436 - rmdir conftest
5.11437 - $rm conftest*
5.11438 -
5.11439 -fi
5.11440 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
5.11441 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
5.11442 -
5.11443 -
5.11444 -hard_links="nottested"
5.11445 -if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
5.11446 - # do not overwrite the value of need_locks provided by the user
5.11447 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
5.11448 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
5.11449 - hard_links=yes
5.11450 - $rm conftest*
5.11451 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
5.11452 - touch conftest.a
5.11453 - ln conftest.a conftest.b 2>&5 || hard_links=no
5.11454 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
5.11455 - echo "$as_me:$LINENO: result: $hard_links" >&5
5.11456 -echo "${ECHO_T}$hard_links" >&6
5.11457 - if test "$hard_links" = no; then
5.11458 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
5.11459 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
5.11460 - need_locks=warn
5.11461 - fi
5.11462 -else
5.11463 - need_locks=no
5.11464 -fi
5.11465 -
5.11466 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
5.11467 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
5.11468 -
5.11469 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5.11470 - case $host_os in
5.11471 - aix4* | aix5*)
5.11472 - # If we're using GNU nm, then we don't want the "-C" option.
5.11473 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
5.11474 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
5.11475 - export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
5.11476 - else
5.11477 - export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
5.11478 - fi
5.11479 - ;;
5.11480 - pw32*)
5.11481 - export_symbols_cmds_CXX="$ltdll_cmds"
5.11482 - ;;
5.11483 - cygwin* | mingw*)
5.11484 - export_symbols_cmds_CXX='$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'
5.11485 - ;;
5.11486 - *)
5.11487 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5.11488 - ;;
5.11489 - esac
5.11490 -
5.11491 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
5.11492 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
5.11493 -test "$ld_shlibs_CXX" = no && can_build_shared=no
5.11494 -
5.11495 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
5.11496 -if test "$GCC" = yes; then
5.11497 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
5.11498 -fi
5.11499 -
5.11500 -#
5.11501 -# Do we need to explicitly link libc?
5.11502 -#
5.11503 -case "x$archive_cmds_need_lc_CXX" in
5.11504 -x|xyes)
5.11505 - # Assume -lc should be added
5.11506 - archive_cmds_need_lc_CXX=yes
5.11507 -
5.11508 - if test "$enable_shared" = yes && test "$GCC" = yes; then
5.11509 - case $archive_cmds_CXX in
5.11510 - *'~'*)
5.11511 - # FIXME: we may have to deal with multi-command sequences.
5.11512 - ;;
5.11513 - '$CC '*)
5.11514 - # Test whether the compiler implicitly links with -lc since on some
5.11515 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
5.11516 - # to ld, don't add -lc before -lgcc.
5.11517 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
5.11518 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
5.11519 - $rm conftest*
5.11520 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
5.11521 -
5.11522 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.11523 - (eval $ac_compile) 2>&5
5.11524 - ac_status=$?
5.11525 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.11526 - (exit $ac_status); } 2>conftest.err; then
5.11527 - soname=conftest
5.11528 - lib=conftest
5.11529 - libobjs=conftest.$ac_objext
5.11530 - deplibs=
5.11531 - wl=$lt_prog_compiler_wl_CXX
5.11532 - compiler_flags=-v
5.11533 - linker_flags=-v
5.11534 - verstring=
5.11535 - output_objdir=.
5.11536 - libname=conftest
5.11537 - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
5.11538 - allow_undefined_flag_CXX=
5.11539 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
5.11540 - (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
5.11541 - ac_status=$?
5.11542 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.11543 - (exit $ac_status); }
5.11544 - then
5.11545 - archive_cmds_need_lc_CXX=no
5.11546 - else
5.11547 - archive_cmds_need_lc_CXX=yes
5.11548 - fi
5.11549 - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
5.11550 - else
5.11551 - cat conftest.err 1>&5
5.11552 - fi
5.11553 - $rm conftest*
5.11554 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
5.11555 -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
5.11556 - ;;
5.11557 - esac
5.11558 - fi
5.11559 - ;;
5.11560 -esac
5.11561 -
5.11562 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
5.11563 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
5.11564 -library_names_spec=
5.11565 -libname_spec='lib$name'
5.11566 -soname_spec=
5.11567 -shrext_cmds=".so"
5.11568 -postinstall_cmds=
5.11569 -postuninstall_cmds=
5.11570 -finish_cmds=
5.11571 -finish_eval=
5.11572 -shlibpath_var=
5.11573 -shlibpath_overrides_runpath=unknown
5.11574 -version_type=none
5.11575 -dynamic_linker="$host_os ld.so"
5.11576 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
5.11577 -if test "$GCC" = yes; then
5.11578 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
5.11579 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
5.11580 - # if the path contains ";" then we assume it to be the separator
5.11581 - # otherwise default to the standard path separator (i.e. ":") - it is
5.11582 - # assumed that no part of a normal pathname contains ";" but that should
5.11583 - # okay in the real world where ";" in dirpaths is itself problematic.
5.11584 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
5.11585 - else
5.11586 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
5.11587 - fi
5.11588 -else
5.11589 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
5.11590 -fi
5.11591 -need_lib_prefix=unknown
5.11592 -hardcode_into_libs=no
5.11593 -
5.11594 -# when you set need_version to no, make sure it does not cause -set_version
5.11595 -# flags to be left without arguments
5.11596 -need_version=unknown
5.11597 -
5.11598 -case $host_os in
5.11599 -aix3*)
5.11600 - version_type=linux
5.11601 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
5.11602 - shlibpath_var=LIBPATH
5.11603 -
5.11604 - # AIX 3 has no versioning support, so we append a major version to the name.
5.11605 - soname_spec='${libname}${release}${shared_ext}$major'
5.11606 - ;;
5.11607 -
5.11608 -aix4* | aix5*)
5.11609 - version_type=linux
5.11610 - need_lib_prefix=no
5.11611 - need_version=no
5.11612 - hardcode_into_libs=yes
5.11613 - if test "$host_cpu" = ia64; then
5.11614 - # AIX 5 supports IA64
5.11615 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
5.11616 - shlibpath_var=LD_LIBRARY_PATH
5.11617 - else
5.11618 - # With GCC up to 2.95.x, collect2 would create an import file
5.11619 - # for dependence libraries. The import file would start with
5.11620 - # the line `#! .'. This would cause the generated library to
5.11621 - # depend on `.', always an invalid library. This was fixed in
5.11622 - # development snapshots of GCC prior to 3.0.
5.11623 - case $host_os in
5.11624 - aix4 | aix4.[01] | aix4.[01].*)
5.11625 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
5.11626 - echo ' yes '
5.11627 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
5.11628 - :
5.11629 - else
5.11630 - can_build_shared=no
5.11631 - fi
5.11632 - ;;
5.11633 - esac
5.11634 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
5.11635 - # soname into executable. Probably we can add versioning support to
5.11636 - # collect2, so additional links can be useful in future.
5.11637 - if test "$aix_use_runtimelinking" = yes; then
5.11638 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
5.11639 - # instead of lib<name>.a to let people know that these are not
5.11640 - # typical AIX shared libraries.
5.11641 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.11642 - else
5.11643 - # We preserve .a as extension for shared libraries through AIX4.2
5.11644 - # and later when we are not doing run time linking.
5.11645 - library_names_spec='${libname}${release}.a $libname.a'
5.11646 - soname_spec='${libname}${release}${shared_ext}$major'
5.11647 - fi
5.11648 - shlibpath_var=LIBPATH
5.11649 - fi
5.11650 - ;;
5.11651 -
5.11652 -amigaos*)
5.11653 - library_names_spec='$libname.ixlibrary $libname.a'
5.11654 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
5.11655 - 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'
5.11656 - ;;
5.11657 -
5.11658 -beos*)
5.11659 - library_names_spec='${libname}${shared_ext}'
5.11660 - dynamic_linker="$host_os ld.so"
5.11661 - shlibpath_var=LIBRARY_PATH
5.11662 - ;;
5.11663 -
5.11664 -bsdi[45]*)
5.11665 - version_type=linux
5.11666 - need_version=no
5.11667 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.11668 - soname_spec='${libname}${release}${shared_ext}$major'
5.11669 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
5.11670 - shlibpath_var=LD_LIBRARY_PATH
5.11671 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
5.11672 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
5.11673 - # the default ld.so.conf also contains /usr/contrib/lib and
5.11674 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
5.11675 - # libtool to hard-code these into programs
5.11676 - ;;
5.11677 -
5.11678 -cygwin* | mingw* | pw32*)
5.11679 - version_type=windows
5.11680 - shrext_cmds=".dll"
5.11681 - need_version=no
5.11682 - need_lib_prefix=no
5.11683 -
5.11684 - case $GCC,$host_os in
5.11685 - yes,cygwin* | yes,mingw* | yes,pw32*)
5.11686 - library_names_spec='$libname.dll.a'
5.11687 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
5.11688 - postinstall_cmds='base_file=`basename \${file}`~
5.11689 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
5.11690 - dldir=$destdir/`dirname \$dlpath`~
5.11691 - test -d \$dldir || mkdir -p \$dldir~
5.11692 - $install_prog $dir/$dlname \$dldir/$dlname~
5.11693 - chmod a+x \$dldir/$dlname'
5.11694 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
5.11695 - dlpath=$dir/\$dldll~
5.11696 - $rm \$dlpath'
5.11697 - shlibpath_overrides_runpath=yes
5.11698 -
5.11699 - case $host_os in
5.11700 - cygwin*)
5.11701 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
5.11702 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
5.11703 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
5.11704 - ;;
5.11705 - mingw*)
5.11706 - # MinGW DLLs use traditional 'lib' prefix
5.11707 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
5.11708 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
5.11709 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
5.11710 - # It is most probably a Windows format PATH printed by
5.11711 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
5.11712 - # path with ; separators, and with drive letters. We can handle the
5.11713 - # drive letters (cygwin fileutils understands them), so leave them,
5.11714 - # especially as we might pass files found there to a mingw objdump,
5.11715 - # which wouldn't understand a cygwinified path. Ahh.
5.11716 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
5.11717 - else
5.11718 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
5.11719 - fi
5.11720 - ;;
5.11721 - pw32*)
5.11722 - # pw32 DLLs use 'pw' prefix rather than 'lib'
5.11723 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
5.11724 - ;;
5.11725 - esac
5.11726 - ;;
5.11727 -
5.11728 - *)
5.11729 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
5.11730 - ;;
5.11731 - esac
5.11732 - dynamic_linker='Win32 ld.exe'
5.11733 - # FIXME: first we should search . and the directory the executable is in
5.11734 - shlibpath_var=PATH
5.11735 - ;;
5.11736 -
5.11737 -darwin* | rhapsody*)
5.11738 - dynamic_linker="$host_os dyld"
5.11739 - version_type=darwin
5.11740 - need_lib_prefix=no
5.11741 - need_version=no
5.11742 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
5.11743 - soname_spec='${libname}${release}${major}$shared_ext'
5.11744 - shlibpath_overrides_runpath=yes
5.11745 - shlibpath_var=DYLD_LIBRARY_PATH
5.11746 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
5.11747 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
5.11748 - if test "$GCC" = yes; then
5.11749 - 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"`
5.11750 - else
5.11751 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
5.11752 - fi
5.11753 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
5.11754 - ;;
5.11755 -
5.11756 -dgux*)
5.11757 - version_type=linux
5.11758 - need_lib_prefix=no
5.11759 - need_version=no
5.11760 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
5.11761 - soname_spec='${libname}${release}${shared_ext}$major'
5.11762 - shlibpath_var=LD_LIBRARY_PATH
5.11763 - ;;
5.11764 -
5.11765 -freebsd1*)
5.11766 - dynamic_linker=no
5.11767 - ;;
5.11768 -
5.11769 -kfreebsd*-gnu)
5.11770 - version_type=linux
5.11771 - need_lib_prefix=no
5.11772 - need_version=no
5.11773 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5.11774 - soname_spec='${libname}${release}${shared_ext}$major'
5.11775 - shlibpath_var=LD_LIBRARY_PATH
5.11776 - shlibpath_overrides_runpath=no
5.11777 - hardcode_into_libs=yes
5.11778 - dynamic_linker='GNU ld.so'
5.11779 - ;;
5.11780 -
5.11781 -freebsd* | dragonfly*)
5.11782 - # DragonFly does not have aout. When/if they implement a new
5.11783 - # versioning mechanism, adjust this.
5.11784 - if test -x /usr/bin/objformat; then
5.11785 - objformat=`/usr/bin/objformat`
5.11786 - else
5.11787 - case $host_os in
5.11788 - freebsd[123]*) objformat=aout ;;
5.11789 - *) objformat=elf ;;
5.11790 - esac
5.11791 - fi
5.11792 - version_type=freebsd-$objformat
5.11793 - case $version_type in
5.11794 - freebsd-elf*)
5.11795 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
5.11796 - need_version=no
5.11797 - need_lib_prefix=no
5.11798 - ;;
5.11799 - freebsd-*)
5.11800 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
5.11801 - need_version=yes
5.11802 - ;;
5.11803 - esac
5.11804 - shlibpath_var=LD_LIBRARY_PATH
5.11805 - case $host_os in
5.11806 - freebsd2*)
5.11807 - shlibpath_overrides_runpath=yes
5.11808 - ;;
5.11809 - freebsd3.[01]* | freebsdelf3.[01]*)
5.11810 - shlibpath_overrides_runpath=yes
5.11811 - hardcode_into_libs=yes
5.11812 - ;;
5.11813 - *) # from 3.2 on
5.11814 - shlibpath_overrides_runpath=no
5.11815 - hardcode_into_libs=yes
5.11816 - ;;
5.11817 - esac
5.11818 - ;;
5.11819 -
5.11820 -gnu*)
5.11821 - version_type=linux
5.11822 - need_lib_prefix=no
5.11823 - need_version=no
5.11824 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
5.11825 - soname_spec='${libname}${release}${shared_ext}$major'
5.11826 - shlibpath_var=LD_LIBRARY_PATH
5.11827 - hardcode_into_libs=yes
5.11828 - ;;
5.11829 -
5.11830 -hpux9* | hpux10* | hpux11*)
5.11831 - # Give a soname corresponding to the major version so that dld.sl refuses to
5.11832 - # link against other versions.
5.11833 - version_type=sunos
5.11834 - need_lib_prefix=no
5.11835 - need_version=no
5.11836 - case $host_cpu in
5.11837 - ia64*)
5.11838 - shrext_cmds='.so'
5.11839 - hardcode_into_libs=yes
5.11840 - dynamic_linker="$host_os dld.so"
5.11841 - shlibpath_var=LD_LIBRARY_PATH
5.11842 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
5.11843 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.11844 - soname_spec='${libname}${release}${shared_ext}$major'
5.11845 - if test "X$HPUX_IA64_MODE" = X32; then
5.11846 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
5.11847 - else
5.11848 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
5.11849 - fi
5.11850 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
5.11851 - ;;
5.11852 - hppa*64*)
5.11853 - shrext_cmds='.sl'
5.11854 - hardcode_into_libs=yes
5.11855 - dynamic_linker="$host_os dld.sl"
5.11856 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
5.11857 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
5.11858 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.11859 - soname_spec='${libname}${release}${shared_ext}$major'
5.11860 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
5.11861 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
5.11862 - ;;
5.11863 - *)
5.11864 - shrext_cmds='.sl'
5.11865 - dynamic_linker="$host_os dld.sl"
5.11866 - shlibpath_var=SHLIB_PATH
5.11867 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
5.11868 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.11869 - soname_spec='${libname}${release}${shared_ext}$major'
5.11870 - ;;
5.11871 - esac
5.11872 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
5.11873 - postinstall_cmds='chmod 555 $lib'
5.11874 - ;;
5.11875 -
5.11876 -irix5* | irix6* | nonstopux*)
5.11877 - case $host_os in
5.11878 - nonstopux*) version_type=nonstopux ;;
5.11879 - *)
5.11880 - if test "$lt_cv_prog_gnu_ld" = yes; then
5.11881 - version_type=linux
5.11882 - else
5.11883 - version_type=irix
5.11884 - fi ;;
5.11885 - esac
5.11886 - need_lib_prefix=no
5.11887 - need_version=no
5.11888 - soname_spec='${libname}${release}${shared_ext}$major'
5.11889 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
5.11890 - case $host_os in
5.11891 - irix5* | nonstopux*)
5.11892 - libsuff= shlibsuff=
5.11893 - ;;
5.11894 - *)
5.11895 - case $LD in # libtool.m4 will add one of these switches to LD
5.11896 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
5.11897 - libsuff= shlibsuff= libmagic=32-bit;;
5.11898 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
5.11899 - libsuff=32 shlibsuff=N32 libmagic=N32;;
5.11900 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
5.11901 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
5.11902 - *) libsuff= shlibsuff= libmagic=never-match;;
5.11903 - esac
5.11904 - ;;
5.11905 - esac
5.11906 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
5.11907 - shlibpath_overrides_runpath=no
5.11908 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
5.11909 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
5.11910 - hardcode_into_libs=yes
5.11911 - ;;
5.11912 -
5.11913 -# No shared lib support for Linux oldld, aout, or coff.
5.11914 -linux*oldld* | linux*aout* | linux*coff*)
5.11915 - dynamic_linker=no
5.11916 - ;;
5.11917 -
5.11918 -# This must be Linux ELF.
5.11919 -linux*)
5.11920 - version_type=linux
5.11921 - need_lib_prefix=no
5.11922 - need_version=no
5.11923 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.11924 - soname_spec='${libname}${release}${shared_ext}$major'
5.11925 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
5.11926 - shlibpath_var=LD_LIBRARY_PATH
5.11927 - shlibpath_overrides_runpath=no
5.11928 - # This implies no fast_install, which is unacceptable.
5.11929 - # Some rework will be needed to allow for fast_install
5.11930 - # before this can be enabled.
5.11931 - hardcode_into_libs=yes
5.11932 -
5.11933 - # Append ld.so.conf contents to the search path
5.11934 - if test -f /etc/ld.so.conf; then
5.11935 - 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' ' '`
5.11936 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
5.11937 - fi
5.11938 -
5.11939 - # We used to test for /lib/ld.so.1 and disable shared libraries on
5.11940 - # powerpc, because MkLinux only supported shared libraries with the
5.11941 - # GNU dynamic linker. Since this was broken with cross compilers,
5.11942 - # most powerpc-linux boxes support dynamic linking these days and
5.11943 - # people can always --disable-shared, the test was removed, and we
5.11944 - # assume the GNU/Linux dynamic linker is in use.
5.11945 - dynamic_linker='GNU/Linux ld.so'
5.11946 - ;;
5.11947 -
5.11948 -knetbsd*-gnu)
5.11949 - version_type=linux
5.11950 - need_lib_prefix=no
5.11951 - need_version=no
5.11952 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5.11953 - soname_spec='${libname}${release}${shared_ext}$major'
5.11954 - shlibpath_var=LD_LIBRARY_PATH
5.11955 - shlibpath_overrides_runpath=no
5.11956 - hardcode_into_libs=yes
5.11957 - dynamic_linker='GNU ld.so'
5.11958 - ;;
5.11959 -
5.11960 -netbsd*)
5.11961 - version_type=sunos
5.11962 - need_lib_prefix=no
5.11963 - need_version=no
5.11964 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5.11965 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5.11966 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5.11967 - dynamic_linker='NetBSD (a.out) ld.so'
5.11968 - else
5.11969 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5.11970 - soname_spec='${libname}${release}${shared_ext}$major'
5.11971 - dynamic_linker='NetBSD ld.elf_so'
5.11972 - fi
5.11973 - shlibpath_var=LD_LIBRARY_PATH
5.11974 - shlibpath_overrides_runpath=yes
5.11975 - hardcode_into_libs=yes
5.11976 - ;;
5.11977 -
5.11978 -newsos6)
5.11979 - version_type=linux
5.11980 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.11981 - shlibpath_var=LD_LIBRARY_PATH
5.11982 - shlibpath_overrides_runpath=yes
5.11983 - ;;
5.11984 -
5.11985 -nto-qnx*)
5.11986 - version_type=linux
5.11987 - need_lib_prefix=no
5.11988 - need_version=no
5.11989 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.11990 - soname_spec='${libname}${release}${shared_ext}$major'
5.11991 - shlibpath_var=LD_LIBRARY_PATH
5.11992 - shlibpath_overrides_runpath=yes
5.11993 - ;;
5.11994 -
5.11995 -openbsd*)
5.11996 - version_type=sunos
5.11997 - need_lib_prefix=no
5.11998 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
5.11999 - case $host_os in
5.12000 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
5.12001 - *) need_version=no ;;
5.12002 - esac
5.12003 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5.12004 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5.12005 - shlibpath_var=LD_LIBRARY_PATH
5.12006 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5.12007 - case $host_os in
5.12008 - openbsd2.[89] | openbsd2.[89].*)
5.12009 - shlibpath_overrides_runpath=no
5.12010 - ;;
5.12011 - *)
5.12012 - shlibpath_overrides_runpath=yes
5.12013 - ;;
5.12014 - esac
5.12015 - else
5.12016 - shlibpath_overrides_runpath=yes
5.12017 - fi
5.12018 - ;;
5.12019 -
5.12020 -os2*)
5.12021 - libname_spec='$name'
5.12022 - shrext_cmds=".dll"
5.12023 - need_lib_prefix=no
5.12024 - library_names_spec='$libname${shared_ext} $libname.a'
5.12025 - dynamic_linker='OS/2 ld.exe'
5.12026 - shlibpath_var=LIBPATH
5.12027 - ;;
5.12028 -
5.12029 -osf3* | osf4* | osf5*)
5.12030 - version_type=osf
5.12031 - need_lib_prefix=no
5.12032 - need_version=no
5.12033 - soname_spec='${libname}${release}${shared_ext}$major'
5.12034 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.12035 - shlibpath_var=LD_LIBRARY_PATH
5.12036 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
5.12037 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
5.12038 - ;;
5.12039 -
5.12040 -sco3.2v5*)
5.12041 - version_type=osf
5.12042 - soname_spec='${libname}${release}${shared_ext}$major'
5.12043 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.12044 - shlibpath_var=LD_LIBRARY_PATH
5.12045 - ;;
5.12046 -
5.12047 -solaris*)
5.12048 - version_type=linux
5.12049 - need_lib_prefix=no
5.12050 - need_version=no
5.12051 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.12052 - soname_spec='${libname}${release}${shared_ext}$major'
5.12053 - shlibpath_var=LD_LIBRARY_PATH
5.12054 - shlibpath_overrides_runpath=yes
5.12055 - hardcode_into_libs=yes
5.12056 - # ldd complains unless libraries are executable
5.12057 - postinstall_cmds='chmod +x $lib'
5.12058 - ;;
5.12059 -
5.12060 -sunos4*)
5.12061 - version_type=sunos
5.12062 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5.12063 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5.12064 - shlibpath_var=LD_LIBRARY_PATH
5.12065 - shlibpath_overrides_runpath=yes
5.12066 - if test "$with_gnu_ld" = yes; then
5.12067 - need_lib_prefix=no
5.12068 - fi
5.12069 - need_version=yes
5.12070 - ;;
5.12071 -
5.12072 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5.12073 - version_type=linux
5.12074 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.12075 - soname_spec='${libname}${release}${shared_ext}$major'
5.12076 - shlibpath_var=LD_LIBRARY_PATH
5.12077 - case $host_vendor in
5.12078 - sni)
5.12079 - shlibpath_overrides_runpath=no
5.12080 - need_lib_prefix=no
5.12081 - export_dynamic_flag_spec='${wl}-Blargedynsym'
5.12082 - runpath_var=LD_RUN_PATH
5.12083 - ;;
5.12084 - siemens)
5.12085 - need_lib_prefix=no
5.12086 - ;;
5.12087 - motorola)
5.12088 - need_lib_prefix=no
5.12089 - need_version=no
5.12090 - shlibpath_overrides_runpath=no
5.12091 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
5.12092 - ;;
5.12093 - esac
5.12094 - ;;
5.12095 -
5.12096 -sysv4*MP*)
5.12097 - if test -d /usr/nec ;then
5.12098 - version_type=linux
5.12099 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
5.12100 - soname_spec='$libname${shared_ext}.$major'
5.12101 - shlibpath_var=LD_LIBRARY_PATH
5.12102 - fi
5.12103 - ;;
5.12104 -
5.12105 -uts4*)
5.12106 - version_type=linux
5.12107 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.12108 - soname_spec='${libname}${release}${shared_ext}$major'
5.12109 - shlibpath_var=LD_LIBRARY_PATH
5.12110 - ;;
5.12111 -
5.12112 -*)
5.12113 - dynamic_linker=no
5.12114 - ;;
5.12115 -esac
5.12116 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
5.12117 -echo "${ECHO_T}$dynamic_linker" >&6
5.12118 -test "$dynamic_linker" = no && can_build_shared=no
5.12119 -
5.12120 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
5.12121 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
5.12122 -hardcode_action_CXX=
5.12123 -if test -n "$hardcode_libdir_flag_spec_CXX" || \
5.12124 - test -n "$runpath_var_CXX" || \
5.12125 - test "X$hardcode_automatic_CXX" = "Xyes" ; then
5.12126 -
5.12127 - # We can hardcode non-existant directories.
5.12128 - if test "$hardcode_direct_CXX" != no &&
5.12129 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
5.12130 - # have to relink, otherwise we might link with an installed library
5.12131 - # when we should be linking with a yet-to-be-installed one
5.12132 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
5.12133 - test "$hardcode_minus_L_CXX" != no; then
5.12134 - # Linking always hardcodes the temporary library directory.
5.12135 - hardcode_action_CXX=relink
5.12136 - else
5.12137 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
5.12138 - hardcode_action_CXX=immediate
5.12139 - fi
5.12140 -else
5.12141 - # We cannot hardcode anything, or else we can only hardcode existing
5.12142 - # directories.
5.12143 - hardcode_action_CXX=unsupported
5.12144 -fi
5.12145 -echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
5.12146 -echo "${ECHO_T}$hardcode_action_CXX" >&6
5.12147 -
5.12148 -if test "$hardcode_action_CXX" = relink; then
5.12149 - # Fast installation is not supported
5.12150 - enable_fast_install=no
5.12151 -elif test "$shlibpath_overrides_runpath" = yes ||
5.12152 - test "$enable_shared" = no; then
5.12153 - # Fast installation is not necessary
5.12154 - enable_fast_install=needless
5.12155 -fi
5.12156 -
5.12157 -striplib=
5.12158 -old_striplib=
5.12159 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
5.12160 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
5.12161 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
5.12162 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
5.12163 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
5.12164 - echo "$as_me:$LINENO: result: yes" >&5
5.12165 -echo "${ECHO_T}yes" >&6
5.12166 -else
5.12167 -# FIXME - insert some real tests, host_os isn't really good enough
5.12168 - case $host_os in
5.12169 - darwin*)
5.12170 - if test -n "$STRIP" ; then
5.12171 - striplib="$STRIP -x"
5.12172 - echo "$as_me:$LINENO: result: yes" >&5
5.12173 -echo "${ECHO_T}yes" >&6
5.12174 - else
5.12175 - echo "$as_me:$LINENO: result: no" >&5
5.12176 -echo "${ECHO_T}no" >&6
5.12177 -fi
5.12178 - ;;
5.12179 - *)
5.12180 - echo "$as_me:$LINENO: result: no" >&5
5.12181 -echo "${ECHO_T}no" >&6
5.12182 - ;;
5.12183 - esac
5.12184 -fi
5.12185 -
5.12186 -if test "x$enable_dlopen" != xyes; then
5.12187 - enable_dlopen=unknown
5.12188 - enable_dlopen_self=unknown
5.12189 - enable_dlopen_self_static=unknown
5.12190 -else
5.12191 - lt_cv_dlopen=no
5.12192 - lt_cv_dlopen_libs=
5.12193 -
5.12194 - case $host_os in
5.12195 - beos*)
5.12196 - lt_cv_dlopen="load_add_on"
5.12197 - lt_cv_dlopen_libs=
5.12198 - lt_cv_dlopen_self=yes
5.12199 - ;;
5.12200 -
5.12201 - mingw* | pw32*)
5.12202 - lt_cv_dlopen="LoadLibrary"
5.12203 - lt_cv_dlopen_libs=
5.12204 - ;;
5.12205 -
5.12206 - cygwin*)
5.12207 - lt_cv_dlopen="dlopen"
5.12208 - lt_cv_dlopen_libs=
5.12209 - ;;
5.12210 -
5.12211 - darwin*)
5.12212 - # if libdl is installed we need to link against it
5.12213 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
5.12214 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
5.12215 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5.12216 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.12217 -else
5.12218 - ac_check_lib_save_LIBS=$LIBS
5.12219 -LIBS="-ldl $LIBS"
5.12220 -cat >conftest.$ac_ext <<_ACEOF
5.12221 -/* confdefs.h. */
5.12222 -_ACEOF
5.12223 -cat confdefs.h >>conftest.$ac_ext
5.12224 -cat >>conftest.$ac_ext <<_ACEOF
5.12225 -/* end confdefs.h. */
5.12226 -
5.12227 -/* Override any gcc2 internal prototype to avoid an error. */
5.12228 -#ifdef __cplusplus
5.12229 -extern "C"
5.12230 -#endif
5.12231 -/* We use char because int might match the return type of a gcc2
5.12232 - builtin and then its argument prototype would still apply. */
5.12233 -char dlopen ();
5.12234 -int
5.12235 -main ()
5.12236 -{
5.12237 -dlopen ();
5.12238 - ;
5.12239 - return 0;
5.12240 -}
5.12241 -_ACEOF
5.12242 -rm -f conftest.$ac_objext conftest$ac_exeext
5.12243 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.12244 - (eval $ac_link) 2>conftest.er1
5.12245 - ac_status=$?
5.12246 - grep -v '^ *+' conftest.er1 >conftest.err
5.12247 - rm -f conftest.er1
5.12248 - cat conftest.err >&5
5.12249 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12250 - (exit $ac_status); } &&
5.12251 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5.12252 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.12253 - (eval $ac_try) 2>&5
5.12254 - ac_status=$?
5.12255 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12256 - (exit $ac_status); }; } &&
5.12257 - { ac_try='test -s conftest$ac_exeext'
5.12258 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.12259 - (eval $ac_try) 2>&5
5.12260 - ac_status=$?
5.12261 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12262 - (exit $ac_status); }; }; then
5.12263 - ac_cv_lib_dl_dlopen=yes
5.12264 -else
5.12265 - echo "$as_me: failed program was:" >&5
5.12266 -sed 's/^/| /' conftest.$ac_ext >&5
5.12267 -
5.12268 -ac_cv_lib_dl_dlopen=no
5.12269 -fi
5.12270 -rm -f conftest.err conftest.$ac_objext \
5.12271 - conftest$ac_exeext conftest.$ac_ext
5.12272 -LIBS=$ac_check_lib_save_LIBS
5.12273 -fi
5.12274 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5.12275 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5.12276 -if test $ac_cv_lib_dl_dlopen = yes; then
5.12277 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
5.12278 -else
5.12279 -
5.12280 - lt_cv_dlopen="dyld"
5.12281 - lt_cv_dlopen_libs=
5.12282 - lt_cv_dlopen_self=yes
5.12283 -
5.12284 -fi
5.12285 -
5.12286 - ;;
5.12287 -
5.12288 - *)
5.12289 - echo "$as_me:$LINENO: checking for shl_load" >&5
5.12290 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
5.12291 -if test "${ac_cv_func_shl_load+set}" = set; then
5.12292 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.12293 -else
5.12294 - cat >conftest.$ac_ext <<_ACEOF
5.12295 -/* confdefs.h. */
5.12296 -_ACEOF
5.12297 -cat confdefs.h >>conftest.$ac_ext
5.12298 -cat >>conftest.$ac_ext <<_ACEOF
5.12299 -/* end confdefs.h. */
5.12300 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
5.12301 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
5.12302 -#define shl_load innocuous_shl_load
5.12303 -
5.12304 -/* System header to define __stub macros and hopefully few prototypes,
5.12305 - which can conflict with char shl_load (); below.
5.12306 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5.12307 - <limits.h> exists even on freestanding compilers. */
5.12308 -
5.12309 -#ifdef __STDC__
5.12310 -# include <limits.h>
5.12311 -#else
5.12312 -# include <assert.h>
5.12313 -#endif
5.12314 -
5.12315 -#undef shl_load
5.12316 -
5.12317 -/* Override any gcc2 internal prototype to avoid an error. */
5.12318 -#ifdef __cplusplus
5.12319 -extern "C"
5.12320 -{
5.12321 -#endif
5.12322 -/* We use char because int might match the return type of a gcc2
5.12323 - builtin and then its argument prototype would still apply. */
5.12324 -char shl_load ();
5.12325 -/* The GNU C library defines this for functions which it implements
5.12326 - to always fail with ENOSYS. Some functions are actually named
5.12327 - something starting with __ and the normal name is an alias. */
5.12328 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
5.12329 -choke me
5.12330 -#else
5.12331 -char (*f) () = shl_load;
5.12332 -#endif
5.12333 -#ifdef __cplusplus
5.12334 -}
5.12335 -#endif
5.12336 -
5.12337 -int
5.12338 -main ()
5.12339 -{
5.12340 -return f != shl_load;
5.12341 - ;
5.12342 - return 0;
5.12343 -}
5.12344 -_ACEOF
5.12345 -rm -f conftest.$ac_objext conftest$ac_exeext
5.12346 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.12347 - (eval $ac_link) 2>conftest.er1
5.12348 - ac_status=$?
5.12349 - grep -v '^ *+' conftest.er1 >conftest.err
5.12350 - rm -f conftest.er1
5.12351 - cat conftest.err >&5
5.12352 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12353 - (exit $ac_status); } &&
5.12354 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5.12355 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.12356 - (eval $ac_try) 2>&5
5.12357 - ac_status=$?
5.12358 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12359 - (exit $ac_status); }; } &&
5.12360 - { ac_try='test -s conftest$ac_exeext'
5.12361 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.12362 - (eval $ac_try) 2>&5
5.12363 - ac_status=$?
5.12364 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12365 - (exit $ac_status); }; }; then
5.12366 - ac_cv_func_shl_load=yes
5.12367 -else
5.12368 - echo "$as_me: failed program was:" >&5
5.12369 -sed 's/^/| /' conftest.$ac_ext >&5
5.12370 -
5.12371 -ac_cv_func_shl_load=no
5.12372 -fi
5.12373 -rm -f conftest.err conftest.$ac_objext \
5.12374 - conftest$ac_exeext conftest.$ac_ext
5.12375 -fi
5.12376 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
5.12377 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
5.12378 -if test $ac_cv_func_shl_load = yes; then
5.12379 - lt_cv_dlopen="shl_load"
5.12380 -else
5.12381 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
5.12382 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
5.12383 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
5.12384 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.12385 -else
5.12386 - ac_check_lib_save_LIBS=$LIBS
5.12387 -LIBS="-ldld $LIBS"
5.12388 -cat >conftest.$ac_ext <<_ACEOF
5.12389 -/* confdefs.h. */
5.12390 -_ACEOF
5.12391 -cat confdefs.h >>conftest.$ac_ext
5.12392 -cat >>conftest.$ac_ext <<_ACEOF
5.12393 -/* end confdefs.h. */
5.12394 -
5.12395 -/* Override any gcc2 internal prototype to avoid an error. */
5.12396 -#ifdef __cplusplus
5.12397 -extern "C"
5.12398 -#endif
5.12399 -/* We use char because int might match the return type of a gcc2
5.12400 - builtin and then its argument prototype would still apply. */
5.12401 -char shl_load ();
5.12402 -int
5.12403 -main ()
5.12404 -{
5.12405 -shl_load ();
5.12406 - ;
5.12407 - return 0;
5.12408 -}
5.12409 -_ACEOF
5.12410 -rm -f conftest.$ac_objext conftest$ac_exeext
5.12411 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.12412 - (eval $ac_link) 2>conftest.er1
5.12413 - ac_status=$?
5.12414 - grep -v '^ *+' conftest.er1 >conftest.err
5.12415 - rm -f conftest.er1
5.12416 - cat conftest.err >&5
5.12417 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12418 - (exit $ac_status); } &&
5.12419 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5.12420 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.12421 - (eval $ac_try) 2>&5
5.12422 - ac_status=$?
5.12423 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12424 - (exit $ac_status); }; } &&
5.12425 - { ac_try='test -s conftest$ac_exeext'
5.12426 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.12427 - (eval $ac_try) 2>&5
5.12428 - ac_status=$?
5.12429 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12430 - (exit $ac_status); }; }; then
5.12431 - ac_cv_lib_dld_shl_load=yes
5.12432 -else
5.12433 - echo "$as_me: failed program was:" >&5
5.12434 -sed 's/^/| /' conftest.$ac_ext >&5
5.12435 -
5.12436 -ac_cv_lib_dld_shl_load=no
5.12437 -fi
5.12438 -rm -f conftest.err conftest.$ac_objext \
5.12439 - conftest$ac_exeext conftest.$ac_ext
5.12440 -LIBS=$ac_check_lib_save_LIBS
5.12441 -fi
5.12442 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
5.12443 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
5.12444 -if test $ac_cv_lib_dld_shl_load = yes; then
5.12445 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
5.12446 -else
5.12447 - echo "$as_me:$LINENO: checking for dlopen" >&5
5.12448 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
5.12449 -if test "${ac_cv_func_dlopen+set}" = set; then
5.12450 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.12451 -else
5.12452 - cat >conftest.$ac_ext <<_ACEOF
5.12453 -/* confdefs.h. */
5.12454 -_ACEOF
5.12455 -cat confdefs.h >>conftest.$ac_ext
5.12456 -cat >>conftest.$ac_ext <<_ACEOF
5.12457 -/* end confdefs.h. */
5.12458 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
5.12459 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
5.12460 -#define dlopen innocuous_dlopen
5.12461 -
5.12462 -/* System header to define __stub macros and hopefully few prototypes,
5.12463 - which can conflict with char dlopen (); below.
5.12464 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5.12465 - <limits.h> exists even on freestanding compilers. */
5.12466 -
5.12467 -#ifdef __STDC__
5.12468 -# include <limits.h>
5.12469 -#else
5.12470 -# include <assert.h>
5.12471 -#endif
5.12472 -
5.12473 -#undef dlopen
5.12474 -
5.12475 -/* Override any gcc2 internal prototype to avoid an error. */
5.12476 -#ifdef __cplusplus
5.12477 -extern "C"
5.12478 -{
5.12479 -#endif
5.12480 -/* We use char because int might match the return type of a gcc2
5.12481 - builtin and then its argument prototype would still apply. */
5.12482 -char dlopen ();
5.12483 -/* The GNU C library defines this for functions which it implements
5.12484 - to always fail with ENOSYS. Some functions are actually named
5.12485 - something starting with __ and the normal name is an alias. */
5.12486 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
5.12487 -choke me
5.12488 -#else
5.12489 -char (*f) () = dlopen;
5.12490 -#endif
5.12491 -#ifdef __cplusplus
5.12492 -}
5.12493 -#endif
5.12494 -
5.12495 -int
5.12496 -main ()
5.12497 -{
5.12498 -return f != dlopen;
5.12499 - ;
5.12500 - return 0;
5.12501 -}
5.12502 -_ACEOF
5.12503 -rm -f conftest.$ac_objext conftest$ac_exeext
5.12504 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.12505 - (eval $ac_link) 2>conftest.er1
5.12506 - ac_status=$?
5.12507 - grep -v '^ *+' conftest.er1 >conftest.err
5.12508 - rm -f conftest.er1
5.12509 - cat conftest.err >&5
5.12510 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12511 - (exit $ac_status); } &&
5.12512 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5.12513 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.12514 - (eval $ac_try) 2>&5
5.12515 - ac_status=$?
5.12516 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12517 - (exit $ac_status); }; } &&
5.12518 - { ac_try='test -s conftest$ac_exeext'
5.12519 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.12520 - (eval $ac_try) 2>&5
5.12521 - ac_status=$?
5.12522 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12523 - (exit $ac_status); }; }; then
5.12524 - ac_cv_func_dlopen=yes
5.12525 -else
5.12526 - echo "$as_me: failed program was:" >&5
5.12527 -sed 's/^/| /' conftest.$ac_ext >&5
5.12528 -
5.12529 -ac_cv_func_dlopen=no
5.12530 -fi
5.12531 -rm -f conftest.err conftest.$ac_objext \
5.12532 - conftest$ac_exeext conftest.$ac_ext
5.12533 -fi
5.12534 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
5.12535 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
5.12536 -if test $ac_cv_func_dlopen = yes; then
5.12537 - lt_cv_dlopen="dlopen"
5.12538 -else
5.12539 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
5.12540 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
5.12541 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5.12542 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.12543 -else
5.12544 - ac_check_lib_save_LIBS=$LIBS
5.12545 -LIBS="-ldl $LIBS"
5.12546 -cat >conftest.$ac_ext <<_ACEOF
5.12547 -/* confdefs.h. */
5.12548 -_ACEOF
5.12549 -cat confdefs.h >>conftest.$ac_ext
5.12550 -cat >>conftest.$ac_ext <<_ACEOF
5.12551 -/* end confdefs.h. */
5.12552 -
5.12553 -/* Override any gcc2 internal prototype to avoid an error. */
5.12554 -#ifdef __cplusplus
5.12555 -extern "C"
5.12556 -#endif
5.12557 -/* We use char because int might match the return type of a gcc2
5.12558 - builtin and then its argument prototype would still apply. */
5.12559 -char dlopen ();
5.12560 -int
5.12561 -main ()
5.12562 -{
5.12563 -dlopen ();
5.12564 - ;
5.12565 - return 0;
5.12566 -}
5.12567 -_ACEOF
5.12568 -rm -f conftest.$ac_objext conftest$ac_exeext
5.12569 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.12570 - (eval $ac_link) 2>conftest.er1
5.12571 - ac_status=$?
5.12572 - grep -v '^ *+' conftest.er1 >conftest.err
5.12573 - rm -f conftest.er1
5.12574 - cat conftest.err >&5
5.12575 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12576 - (exit $ac_status); } &&
5.12577 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5.12578 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.12579 - (eval $ac_try) 2>&5
5.12580 - ac_status=$?
5.12581 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12582 - (exit $ac_status); }; } &&
5.12583 - { ac_try='test -s conftest$ac_exeext'
5.12584 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.12585 - (eval $ac_try) 2>&5
5.12586 - ac_status=$?
5.12587 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12588 - (exit $ac_status); }; }; then
5.12589 - ac_cv_lib_dl_dlopen=yes
5.12590 -else
5.12591 - echo "$as_me: failed program was:" >&5
5.12592 -sed 's/^/| /' conftest.$ac_ext >&5
5.12593 -
5.12594 -ac_cv_lib_dl_dlopen=no
5.12595 -fi
5.12596 -rm -f conftest.err conftest.$ac_objext \
5.12597 - conftest$ac_exeext conftest.$ac_ext
5.12598 -LIBS=$ac_check_lib_save_LIBS
5.12599 -fi
5.12600 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5.12601 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5.12602 -if test $ac_cv_lib_dl_dlopen = yes; then
5.12603 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
5.12604 -else
5.12605 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
5.12606 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
5.12607 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
5.12608 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.12609 -else
5.12610 - ac_check_lib_save_LIBS=$LIBS
5.12611 -LIBS="-lsvld $LIBS"
5.12612 -cat >conftest.$ac_ext <<_ACEOF
5.12613 -/* confdefs.h. */
5.12614 -_ACEOF
5.12615 -cat confdefs.h >>conftest.$ac_ext
5.12616 -cat >>conftest.$ac_ext <<_ACEOF
5.12617 -/* end confdefs.h. */
5.12618 -
5.12619 -/* Override any gcc2 internal prototype to avoid an error. */
5.12620 -#ifdef __cplusplus
5.12621 -extern "C"
5.12622 -#endif
5.12623 -/* We use char because int might match the return type of a gcc2
5.12624 - builtin and then its argument prototype would still apply. */
5.12625 -char dlopen ();
5.12626 -int
5.12627 -main ()
5.12628 -{
5.12629 -dlopen ();
5.12630 - ;
5.12631 - return 0;
5.12632 -}
5.12633 -_ACEOF
5.12634 -rm -f conftest.$ac_objext conftest$ac_exeext
5.12635 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.12636 - (eval $ac_link) 2>conftest.er1
5.12637 - ac_status=$?
5.12638 - grep -v '^ *+' conftest.er1 >conftest.err
5.12639 - rm -f conftest.er1
5.12640 - cat conftest.err >&5
5.12641 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12642 - (exit $ac_status); } &&
5.12643 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5.12644 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.12645 - (eval $ac_try) 2>&5
5.12646 - ac_status=$?
5.12647 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12648 - (exit $ac_status); }; } &&
5.12649 - { ac_try='test -s conftest$ac_exeext'
5.12650 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.12651 - (eval $ac_try) 2>&5
5.12652 - ac_status=$?
5.12653 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12654 - (exit $ac_status); }; }; then
5.12655 - ac_cv_lib_svld_dlopen=yes
5.12656 -else
5.12657 - echo "$as_me: failed program was:" >&5
5.12658 -sed 's/^/| /' conftest.$ac_ext >&5
5.12659 -
5.12660 -ac_cv_lib_svld_dlopen=no
5.12661 -fi
5.12662 -rm -f conftest.err conftest.$ac_objext \
5.12663 - conftest$ac_exeext conftest.$ac_ext
5.12664 -LIBS=$ac_check_lib_save_LIBS
5.12665 -fi
5.12666 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
5.12667 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
5.12668 -if test $ac_cv_lib_svld_dlopen = yes; then
5.12669 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
5.12670 -else
5.12671 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
5.12672 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
5.12673 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
5.12674 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.12675 -else
5.12676 - ac_check_lib_save_LIBS=$LIBS
5.12677 -LIBS="-ldld $LIBS"
5.12678 -cat >conftest.$ac_ext <<_ACEOF
5.12679 -/* confdefs.h. */
5.12680 -_ACEOF
5.12681 -cat confdefs.h >>conftest.$ac_ext
5.12682 -cat >>conftest.$ac_ext <<_ACEOF
5.12683 -/* end confdefs.h. */
5.12684 -
5.12685 -/* Override any gcc2 internal prototype to avoid an error. */
5.12686 -#ifdef __cplusplus
5.12687 -extern "C"
5.12688 -#endif
5.12689 -/* We use char because int might match the return type of a gcc2
5.12690 - builtin and then its argument prototype would still apply. */
5.12691 -char dld_link ();
5.12692 -int
5.12693 -main ()
5.12694 -{
5.12695 -dld_link ();
5.12696 - ;
5.12697 - return 0;
5.12698 -}
5.12699 -_ACEOF
5.12700 -rm -f conftest.$ac_objext conftest$ac_exeext
5.12701 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.12702 - (eval $ac_link) 2>conftest.er1
5.12703 - ac_status=$?
5.12704 - grep -v '^ *+' conftest.er1 >conftest.err
5.12705 - rm -f conftest.er1
5.12706 - cat conftest.err >&5
5.12707 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12708 - (exit $ac_status); } &&
5.12709 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5.12710 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.12711 - (eval $ac_try) 2>&5
5.12712 - ac_status=$?
5.12713 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12714 - (exit $ac_status); }; } &&
5.12715 - { ac_try='test -s conftest$ac_exeext'
5.12716 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.12717 - (eval $ac_try) 2>&5
5.12718 - ac_status=$?
5.12719 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12720 - (exit $ac_status); }; }; then
5.12721 - ac_cv_lib_dld_dld_link=yes
5.12722 -else
5.12723 - echo "$as_me: failed program was:" >&5
5.12724 -sed 's/^/| /' conftest.$ac_ext >&5
5.12725 -
5.12726 -ac_cv_lib_dld_dld_link=no
5.12727 -fi
5.12728 -rm -f conftest.err conftest.$ac_objext \
5.12729 - conftest$ac_exeext conftest.$ac_ext
5.12730 -LIBS=$ac_check_lib_save_LIBS
5.12731 -fi
5.12732 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
5.12733 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
5.12734 -if test $ac_cv_lib_dld_dld_link = yes; then
5.12735 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
5.12736 -fi
5.12737 -
5.12738 -
5.12739 -fi
5.12740 -
5.12741 -
5.12742 -fi
5.12743 -
5.12744 -
5.12745 -fi
5.12746 -
5.12747 -
5.12748 -fi
5.12749 -
5.12750 -
5.12751 -fi
5.12752 -
5.12753 - ;;
5.12754 - esac
5.12755 -
5.12756 - if test "x$lt_cv_dlopen" != xno; then
5.12757 - enable_dlopen=yes
5.12758 - else
5.12759 - enable_dlopen=no
5.12760 - fi
5.12761 -
5.12762 - case $lt_cv_dlopen in
5.12763 - dlopen)
5.12764 - save_CPPFLAGS="$CPPFLAGS"
5.12765 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
5.12766 -
5.12767 - save_LDFLAGS="$LDFLAGS"
5.12768 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
5.12769 -
5.12770 - save_LIBS="$LIBS"
5.12771 - LIBS="$lt_cv_dlopen_libs $LIBS"
5.12772 -
5.12773 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
5.12774 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
5.12775 -if test "${lt_cv_dlopen_self+set}" = set; then
5.12776 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.12777 -else
5.12778 - if test "$cross_compiling" = yes; then :
5.12779 - lt_cv_dlopen_self=cross
5.12780 -else
5.12781 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
5.12782 - lt_status=$lt_dlunknown
5.12783 - cat > conftest.$ac_ext <<EOF
5.12784 -#line __oline__ "configure"
5.12785 -#include "confdefs.h"
5.12786 -
5.12787 -#if HAVE_DLFCN_H
5.12788 -#include <dlfcn.h>
5.12789 -#endif
5.12790 -
5.12791 -#include <stdio.h>
5.12792 -
5.12793 -#ifdef RTLD_GLOBAL
5.12794 -# define LT_DLGLOBAL RTLD_GLOBAL
5.12795 -#else
5.12796 -# ifdef DL_GLOBAL
5.12797 -# define LT_DLGLOBAL DL_GLOBAL
5.12798 -# else
5.12799 -# define LT_DLGLOBAL 0
5.12800 -# endif
5.12801 -#endif
5.12802 -
5.12803 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
5.12804 - find out it does not work in some platform. */
5.12805 -#ifndef LT_DLLAZY_OR_NOW
5.12806 -# ifdef RTLD_LAZY
5.12807 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
5.12808 -# else
5.12809 -# ifdef DL_LAZY
5.12810 -# define LT_DLLAZY_OR_NOW DL_LAZY
5.12811 -# else
5.12812 -# ifdef RTLD_NOW
5.12813 -# define LT_DLLAZY_OR_NOW RTLD_NOW
5.12814 -# else
5.12815 -# ifdef DL_NOW
5.12816 -# define LT_DLLAZY_OR_NOW DL_NOW
5.12817 -# else
5.12818 -# define LT_DLLAZY_OR_NOW 0
5.12819 -# endif
5.12820 -# endif
5.12821 -# endif
5.12822 -# endif
5.12823 -#endif
5.12824 -
5.12825 -#ifdef __cplusplus
5.12826 -extern "C" void exit (int);
5.12827 -#endif
5.12828 -
5.12829 -void fnord() { int i=42;}
5.12830 -int main ()
5.12831 -{
5.12832 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
5.12833 - int status = $lt_dlunknown;
5.12834 -
5.12835 - if (self)
5.12836 - {
5.12837 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
5.12838 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
5.12839 - /* dlclose (self); */
5.12840 - }
5.12841 -
5.12842 - exit (status);
5.12843 -}
5.12844 -EOF
5.12845 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.12846 - (eval $ac_link) 2>&5
5.12847 - ac_status=$?
5.12848 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12849 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
5.12850 - (./conftest; exit; ) >&5 2>/dev/null
5.12851 - lt_status=$?
5.12852 - case x$lt_status in
5.12853 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
5.12854 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
5.12855 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
5.12856 - esac
5.12857 - else :
5.12858 - # compilation failed
5.12859 - lt_cv_dlopen_self=no
5.12860 - fi
5.12861 -fi
5.12862 -rm -fr conftest*
5.12863 -
5.12864 -
5.12865 -fi
5.12866 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
5.12867 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
5.12868 -
5.12869 - if test "x$lt_cv_dlopen_self" = xyes; then
5.12870 - LDFLAGS="$LDFLAGS $link_static_flag"
5.12871 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
5.12872 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
5.12873 -if test "${lt_cv_dlopen_self_static+set}" = set; then
5.12874 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.12875 -else
5.12876 - if test "$cross_compiling" = yes; then :
5.12877 - lt_cv_dlopen_self_static=cross
5.12878 -else
5.12879 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
5.12880 - lt_status=$lt_dlunknown
5.12881 - cat > conftest.$ac_ext <<EOF
5.12882 -#line __oline__ "configure"
5.12883 -#include "confdefs.h"
5.12884 -
5.12885 -#if HAVE_DLFCN_H
5.12886 -#include <dlfcn.h>
5.12887 -#endif
5.12888 -
5.12889 -#include <stdio.h>
5.12890 -
5.12891 -#ifdef RTLD_GLOBAL
5.12892 -# define LT_DLGLOBAL RTLD_GLOBAL
5.12893 -#else
5.12894 -# ifdef DL_GLOBAL
5.12895 -# define LT_DLGLOBAL DL_GLOBAL
5.12896 -# else
5.12897 -# define LT_DLGLOBAL 0
5.12898 -# endif
5.12899 -#endif
5.12900 -
5.12901 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
5.12902 - find out it does not work in some platform. */
5.12903 -#ifndef LT_DLLAZY_OR_NOW
5.12904 -# ifdef RTLD_LAZY
5.12905 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
5.12906 -# else
5.12907 -# ifdef DL_LAZY
5.12908 -# define LT_DLLAZY_OR_NOW DL_LAZY
5.12909 -# else
5.12910 -# ifdef RTLD_NOW
5.12911 -# define LT_DLLAZY_OR_NOW RTLD_NOW
5.12912 -# else
5.12913 -# ifdef DL_NOW
5.12914 -# define LT_DLLAZY_OR_NOW DL_NOW
5.12915 -# else
5.12916 -# define LT_DLLAZY_OR_NOW 0
5.12917 -# endif
5.12918 -# endif
5.12919 -# endif
5.12920 -# endif
5.12921 -#endif
5.12922 -
5.12923 -#ifdef __cplusplus
5.12924 -extern "C" void exit (int);
5.12925 -#endif
5.12926 -
5.12927 -void fnord() { int i=42;}
5.12928 -int main ()
5.12929 -{
5.12930 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
5.12931 - int status = $lt_dlunknown;
5.12932 -
5.12933 - if (self)
5.12934 - {
5.12935 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
5.12936 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
5.12937 - /* dlclose (self); */
5.12938 - }
5.12939 -
5.12940 - exit (status);
5.12941 -}
5.12942 -EOF
5.12943 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.12944 - (eval $ac_link) 2>&5
5.12945 - ac_status=$?
5.12946 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.12947 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
5.12948 - (./conftest; exit; ) >&5 2>/dev/null
5.12949 - lt_status=$?
5.12950 - case x$lt_status in
5.12951 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
5.12952 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
5.12953 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
5.12954 - esac
5.12955 - else :
5.12956 - # compilation failed
5.12957 - lt_cv_dlopen_self_static=no
5.12958 - fi
5.12959 -fi
5.12960 -rm -fr conftest*
5.12961 -
5.12962 -
5.12963 -fi
5.12964 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
5.12965 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
5.12966 - fi
5.12967 -
5.12968 - CPPFLAGS="$save_CPPFLAGS"
5.12969 - LDFLAGS="$save_LDFLAGS"
5.12970 - LIBS="$save_LIBS"
5.12971 - ;;
5.12972 - esac
5.12973 -
5.12974 - case $lt_cv_dlopen_self in
5.12975 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
5.12976 - *) enable_dlopen_self=unknown ;;
5.12977 - esac
5.12978 -
5.12979 - case $lt_cv_dlopen_self_static in
5.12980 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
5.12981 - *) enable_dlopen_self_static=unknown ;;
5.12982 - esac
5.12983 -fi
5.12984 -
5.12985 -
5.12986 -# The else clause should only fire when bootstrapping the
5.12987 -# libtool distribution, otherwise you forgot to ship ltmain.sh
5.12988 -# with your package, and you will get complaints that there are
5.12989 -# no rules to generate ltmain.sh.
5.12990 -if test -f "$ltmain"; then
5.12991 - # See if we are running on zsh, and set the options which allow our commands through
5.12992 - # without removal of \ escapes.
5.12993 - if test -n "${ZSH_VERSION+set}" ; then
5.12994 - setopt NO_GLOB_SUBST
5.12995 - fi
5.12996 - # Now quote all the things that may contain metacharacters while being
5.12997 - # careful not to overquote the AC_SUBSTed values. We take copies of the
5.12998 - # variables and quote the copies for generation of the libtool script.
5.12999 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
5.13000 - SED SHELL STRIP \
5.13001 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
5.13002 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
5.13003 - deplibs_check_method reload_flag reload_cmds need_locks \
5.13004 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
5.13005 - lt_cv_sys_global_symbol_to_c_name_address \
5.13006 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
5.13007 - old_postinstall_cmds old_postuninstall_cmds \
5.13008 - compiler_CXX \
5.13009 - CC_CXX \
5.13010 - LD_CXX \
5.13011 - lt_prog_compiler_wl_CXX \
5.13012 - lt_prog_compiler_pic_CXX \
5.13013 - lt_prog_compiler_static_CXX \
5.13014 - lt_prog_compiler_no_builtin_flag_CXX \
5.13015 - export_dynamic_flag_spec_CXX \
5.13016 - thread_safe_flag_spec_CXX \
5.13017 - whole_archive_flag_spec_CXX \
5.13018 - enable_shared_with_static_runtimes_CXX \
5.13019 - old_archive_cmds_CXX \
5.13020 - old_archive_from_new_cmds_CXX \
5.13021 - predep_objects_CXX \
5.13022 - postdep_objects_CXX \
5.13023 - predeps_CXX \
5.13024 - postdeps_CXX \
5.13025 - compiler_lib_search_path_CXX \
5.13026 - archive_cmds_CXX \
5.13027 - archive_expsym_cmds_CXX \
5.13028 - postinstall_cmds_CXX \
5.13029 - postuninstall_cmds_CXX \
5.13030 - old_archive_from_expsyms_cmds_CXX \
5.13031 - allow_undefined_flag_CXX \
5.13032 - no_undefined_flag_CXX \
5.13033 - export_symbols_cmds_CXX \
5.13034 - hardcode_libdir_flag_spec_CXX \
5.13035 - hardcode_libdir_flag_spec_ld_CXX \
5.13036 - hardcode_libdir_separator_CXX \
5.13037 - hardcode_automatic_CXX \
5.13038 - module_cmds_CXX \
5.13039 - module_expsym_cmds_CXX \
5.13040 - lt_cv_prog_compiler_c_o_CXX \
5.13041 - exclude_expsyms_CXX \
5.13042 - include_expsyms_CXX; do
5.13043 -
5.13044 - case $var in
5.13045 - old_archive_cmds_CXX | \
5.13046 - old_archive_from_new_cmds_CXX | \
5.13047 - archive_cmds_CXX | \
5.13048 - archive_expsym_cmds_CXX | \
5.13049 - module_cmds_CXX | \
5.13050 - module_expsym_cmds_CXX | \
5.13051 - old_archive_from_expsyms_cmds_CXX | \
5.13052 - export_symbols_cmds_CXX | \
5.13053 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
5.13054 - postinstall_cmds | postuninstall_cmds | \
5.13055 - old_postinstall_cmds | old_postuninstall_cmds | \
5.13056 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
5.13057 - # Double-quote double-evaled strings.
5.13058 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
5.13059 - ;;
5.13060 - *)
5.13061 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
5.13062 - ;;
5.13063 - esac
5.13064 - done
5.13065 -
5.13066 - case $lt_echo in
5.13067 - *'\$0 --fallback-echo"')
5.13068 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
5.13069 - ;;
5.13070 - esac
5.13071 -
5.13072 -cfgfile="$ofile"
5.13073 -
5.13074 - cat <<__EOF__ >> "$cfgfile"
5.13075 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
5.13076 -
5.13077 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
5.13078 -
5.13079 -# Shell to use when invoking shell scripts.
5.13080 -SHELL=$lt_SHELL
5.13081 -
5.13082 -# Whether or not to build shared libraries.
5.13083 -build_libtool_libs=$enable_shared
5.13084 -
5.13085 -# Whether or not to build static libraries.
5.13086 -build_old_libs=$enable_static
5.13087 -
5.13088 -# Whether or not to add -lc for building shared libraries.
5.13089 -build_libtool_need_lc=$archive_cmds_need_lc_CXX
5.13090 -
5.13091 -# Whether or not to disallow shared libs when runtime libs are static
5.13092 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
5.13093 -
5.13094 -# Whether or not to optimize for fast installation.
5.13095 -fast_install=$enable_fast_install
5.13096 -
5.13097 -# The host system.
5.13098 -host_alias=$host_alias
5.13099 -host=$host
5.13100 -host_os=$host_os
5.13101 -
5.13102 -# The build system.
5.13103 -build_alias=$build_alias
5.13104 -build=$build
5.13105 -build_os=$build_os
5.13106 -
5.13107 -# An echo program that does not interpret backslashes.
5.13108 -echo=$lt_echo
5.13109 -
5.13110 -# The archiver.
5.13111 -AR=$lt_AR
5.13112 -AR_FLAGS=$lt_AR_FLAGS
5.13113 -
5.13114 -# A C compiler.
5.13115 -LTCC=$lt_LTCC
5.13116 -
5.13117 -# A language-specific compiler.
5.13118 -CC=$lt_compiler_CXX
5.13119 -
5.13120 -# Is the compiler the GNU C compiler?
5.13121 -with_gcc=$GCC_CXX
5.13122 -
5.13123 -# An ERE matcher.
5.13124 -EGREP=$lt_EGREP
5.13125 -
5.13126 -# The linker used to build libraries.
5.13127 -LD=$lt_LD_CXX
5.13128 -
5.13129 -# Whether we need hard or soft links.
5.13130 -LN_S=$lt_LN_S
5.13131 -
5.13132 -# A BSD-compatible nm program.
5.13133 -NM=$lt_NM
5.13134 -
5.13135 -# A symbol stripping program
5.13136 -STRIP=$lt_STRIP
5.13137 -
5.13138 -# Used to examine libraries when file_magic_cmd begins "file"
5.13139 -MAGIC_CMD=$MAGIC_CMD
5.13140 -
5.13141 -# Used on cygwin: DLL creation program.
5.13142 -DLLTOOL="$DLLTOOL"
5.13143 -
5.13144 -# Used on cygwin: object dumper.
5.13145 -OBJDUMP="$OBJDUMP"
5.13146 -
5.13147 -# Used on cygwin: assembler.
5.13148 -AS="$AS"
5.13149 -
5.13150 -# The name of the directory that contains temporary libtool files.
5.13151 -objdir=$objdir
5.13152 -
5.13153 -# How to create reloadable object files.
5.13154 -reload_flag=$lt_reload_flag
5.13155 -reload_cmds=$lt_reload_cmds
5.13156 -
5.13157 -# How to pass a linker flag through the compiler.
5.13158 -wl=$lt_lt_prog_compiler_wl_CXX
5.13159 -
5.13160 -# Object file suffix (normally "o").
5.13161 -objext="$ac_objext"
5.13162 -
5.13163 -# Old archive suffix (normally "a").
5.13164 -libext="$libext"
5.13165 -
5.13166 -# Shared library suffix (normally ".so").
5.13167 -shrext_cmds='$shrext_cmds'
5.13168 -
5.13169 -# Executable file suffix (normally "").
5.13170 -exeext="$exeext"
5.13171 -
5.13172 -# Additional compiler flags for building library objects.
5.13173 -pic_flag=$lt_lt_prog_compiler_pic_CXX
5.13174 -pic_mode=$pic_mode
5.13175 -
5.13176 -# What is the maximum length of a command?
5.13177 -max_cmd_len=$lt_cv_sys_max_cmd_len
5.13178 -
5.13179 -# Does compiler simultaneously support -c and -o options?
5.13180 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
5.13181 -
5.13182 -# Must we lock files when doing compilation?
5.13183 -need_locks=$lt_need_locks
5.13184 -
5.13185 -# Do we need the lib prefix for modules?
5.13186 -need_lib_prefix=$need_lib_prefix
5.13187 -
5.13188 -# Do we need a version for libraries?
5.13189 -need_version=$need_version
5.13190 -
5.13191 -# Whether dlopen is supported.
5.13192 -dlopen_support=$enable_dlopen
5.13193 -
5.13194 -# Whether dlopen of programs is supported.
5.13195 -dlopen_self=$enable_dlopen_self
5.13196 -
5.13197 -# Whether dlopen of statically linked programs is supported.
5.13198 -dlopen_self_static=$enable_dlopen_self_static
5.13199 -
5.13200 -# Compiler flag to prevent dynamic linking.
5.13201 -link_static_flag=$lt_lt_prog_compiler_static_CXX
5.13202 -
5.13203 -# Compiler flag to turn off builtin functions.
5.13204 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
5.13205 -
5.13206 -# Compiler flag to allow reflexive dlopens.
5.13207 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
5.13208 -
5.13209 -# Compiler flag to generate shared objects directly from archives.
5.13210 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
5.13211 -
5.13212 -# Compiler flag to generate thread-safe objects.
5.13213 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
5.13214 -
5.13215 -# Library versioning type.
5.13216 -version_type=$version_type
5.13217 -
5.13218 -# Format of library name prefix.
5.13219 -libname_spec=$lt_libname_spec
5.13220 -
5.13221 -# List of archive names. First name is the real one, the rest are links.
5.13222 -# The last name is the one that the linker finds with -lNAME.
5.13223 -library_names_spec=$lt_library_names_spec
5.13224 -
5.13225 -# The coded name of the library, if different from the real name.
5.13226 -soname_spec=$lt_soname_spec
5.13227 -
5.13228 -# Commands used to build and install an old-style archive.
5.13229 -RANLIB=$lt_RANLIB
5.13230 -old_archive_cmds=$lt_old_archive_cmds_CXX
5.13231 -old_postinstall_cmds=$lt_old_postinstall_cmds
5.13232 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
5.13233 -
5.13234 -# Create an old-style archive from a shared archive.
5.13235 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
5.13236 -
5.13237 -# Create a temporary old-style archive to link instead of a shared archive.
5.13238 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
5.13239 -
5.13240 -# Commands used to build and install a shared archive.
5.13241 -archive_cmds=$lt_archive_cmds_CXX
5.13242 -archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
5.13243 -postinstall_cmds=$lt_postinstall_cmds
5.13244 -postuninstall_cmds=$lt_postuninstall_cmds
5.13245 -
5.13246 -# Commands used to build a loadable module (assumed same as above if empty)
5.13247 -module_cmds=$lt_module_cmds_CXX
5.13248 -module_expsym_cmds=$lt_module_expsym_cmds_CXX
5.13249 -
5.13250 -# Commands to strip libraries.
5.13251 -old_striplib=$lt_old_striplib
5.13252 -striplib=$lt_striplib
5.13253 -
5.13254 -# Dependencies to place before the objects being linked to create a
5.13255 -# shared library.
5.13256 -predep_objects=$lt_predep_objects_CXX
5.13257 -
5.13258 -# Dependencies to place after the objects being linked to create a
5.13259 -# shared library.
5.13260 -postdep_objects=$lt_postdep_objects_CXX
5.13261 -
5.13262 -# Dependencies to place before the objects being linked to create a
5.13263 -# shared library.
5.13264 -predeps=$lt_predeps_CXX
5.13265 -
5.13266 -# Dependencies to place after the objects being linked to create a
5.13267 -# shared library.
5.13268 -postdeps=$lt_postdeps_CXX
5.13269 -
5.13270 -# The library search path used internally by the compiler when linking
5.13271 -# a shared library.
5.13272 -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
5.13273 -
5.13274 -# Method to check whether dependent libraries are shared objects.
5.13275 -deplibs_check_method=$lt_deplibs_check_method
5.13276 -
5.13277 -# Command to use when deplibs_check_method == file_magic.
5.13278 -file_magic_cmd=$lt_file_magic_cmd
5.13279 -
5.13280 -# Flag that allows shared libraries with undefined symbols to be built.
5.13281 -allow_undefined_flag=$lt_allow_undefined_flag_CXX
5.13282 -
5.13283 -# Flag that forces no undefined symbols.
5.13284 -no_undefined_flag=$lt_no_undefined_flag_CXX
5.13285 -
5.13286 -# Commands used to finish a libtool library installation in a directory.
5.13287 -finish_cmds=$lt_finish_cmds
5.13288 -
5.13289 -# Same as above, but a single script fragment to be evaled but not shown.
5.13290 -finish_eval=$lt_finish_eval
5.13291 -
5.13292 -# Take the output of nm and produce a listing of raw symbols and C names.
5.13293 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
5.13294 -
5.13295 -# Transform the output of nm in a proper C declaration
5.13296 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
5.13297 -
5.13298 -# Transform the output of nm in a C name address pair
5.13299 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
5.13300 -
5.13301 -# This is the shared library runtime path variable.
5.13302 -runpath_var=$runpath_var
5.13303 -
5.13304 -# This is the shared library path variable.
5.13305 -shlibpath_var=$shlibpath_var
5.13306 -
5.13307 -# Is shlibpath searched before the hard-coded library search path?
5.13308 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
5.13309 -
5.13310 -# How to hardcode a shared library path into an executable.
5.13311 -hardcode_action=$hardcode_action_CXX
5.13312 -
5.13313 -# Whether we should hardcode library paths into libraries.
5.13314 -hardcode_into_libs=$hardcode_into_libs
5.13315 -
5.13316 -# Flag to hardcode \$libdir into a binary during linking.
5.13317 -# This must work even if \$libdir does not exist.
5.13318 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
5.13319 -
5.13320 -# If ld is used when linking, flag to hardcode \$libdir into
5.13321 -# a binary during linking. This must work even if \$libdir does
5.13322 -# not exist.
5.13323 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
5.13324 -
5.13325 -# Whether we need a single -rpath flag with a separated argument.
5.13326 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
5.13327 -
5.13328 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
5.13329 -# resulting binary.
5.13330 -hardcode_direct=$hardcode_direct_CXX
5.13331 -
5.13332 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
5.13333 -# resulting binary.
5.13334 -hardcode_minus_L=$hardcode_minus_L_CXX
5.13335 -
5.13336 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
5.13337 -# the resulting binary.
5.13338 -hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
5.13339 -
5.13340 -# Set to yes if building a shared library automatically hardcodes DIR into the library
5.13341 -# and all subsequent libraries and executables linked against it.
5.13342 -hardcode_automatic=$hardcode_automatic_CXX
5.13343 -
5.13344 -# Variables whose values should be saved in libtool wrapper scripts and
5.13345 -# restored at relink time.
5.13346 -variables_saved_for_relink="$variables_saved_for_relink"
5.13347 -
5.13348 -# Whether libtool must link a program against all its dependency libraries.
5.13349 -link_all_deplibs=$link_all_deplibs_CXX
5.13350 -
5.13351 -# Compile-time system search path for libraries
5.13352 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
5.13353 -
5.13354 -# Run-time system search path for libraries
5.13355 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
5.13356 -
5.13357 -# Fix the shell variable \$srcfile for the compiler.
5.13358 -fix_srcfile_path="$fix_srcfile_path_CXX"
5.13359 -
5.13360 -# Set to yes if exported symbols are required.
5.13361 -always_export_symbols=$always_export_symbols_CXX
5.13362 -
5.13363 -# The commands to list exported symbols.
5.13364 -export_symbols_cmds=$lt_export_symbols_cmds_CXX
5.13365 -
5.13366 -# The commands to extract the exported symbol list from a shared archive.
5.13367 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
5.13368 -
5.13369 -# Symbols that should not be listed in the preloaded symbols.
5.13370 -exclude_expsyms=$lt_exclude_expsyms_CXX
5.13371 -
5.13372 -# Symbols that must always be exported.
5.13373 -include_expsyms=$lt_include_expsyms_CXX
5.13374 -
5.13375 -# ### END LIBTOOL TAG CONFIG: $tagname
5.13376 -
5.13377 -__EOF__
5.13378 -
5.13379 -
5.13380 -else
5.13381 - # If there is no Makefile yet, we rely on a make rule to execute
5.13382 - # `config.status --recheck' to rerun these tests and create the
5.13383 - # libtool script then.
5.13384 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
5.13385 - if test -f "$ltmain_in"; then
5.13386 - test -f Makefile && make "$ltmain"
5.13387 - fi
5.13388 -fi
5.13389 -
5.13390 -
5.13391 -ac_ext=c
5.13392 -ac_cpp='$CPP $CPPFLAGS'
5.13393 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.13394 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.13395 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.13396 -
5.13397 -CC=$lt_save_CC
5.13398 -LDCXX=$LD
5.13399 -LD=$lt_save_LD
5.13400 -GCC=$lt_save_GCC
5.13401 -with_gnu_ldcxx=$with_gnu_ld
5.13402 -with_gnu_ld=$lt_save_with_gnu_ld
5.13403 -lt_cv_path_LDCXX=$lt_cv_path_LD
5.13404 -lt_cv_path_LD=$lt_save_path_LD
5.13405 -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
5.13406 -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
5.13407 -
5.13408 - else
5.13409 - tagname=""
5.13410 - fi
5.13411 - ;;
5.13412 -
5.13413 - F77)
5.13414 - if test -n "$F77" && test "X$F77" != "Xno"; then
5.13415 -
5.13416 -ac_ext=f
5.13417 -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5.13418 -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.13419 -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5.13420 -
5.13421 -
5.13422 -archive_cmds_need_lc_F77=no
5.13423 -allow_undefined_flag_F77=
5.13424 -always_export_symbols_F77=no
5.13425 -archive_expsym_cmds_F77=
5.13426 -export_dynamic_flag_spec_F77=
5.13427 -hardcode_direct_F77=no
5.13428 -hardcode_libdir_flag_spec_F77=
5.13429 -hardcode_libdir_flag_spec_ld_F77=
5.13430 -hardcode_libdir_separator_F77=
5.13431 -hardcode_minus_L_F77=no
5.13432 -hardcode_automatic_F77=no
5.13433 -module_cmds_F77=
5.13434 -module_expsym_cmds_F77=
5.13435 -link_all_deplibs_F77=unknown
5.13436 -old_archive_cmds_F77=$old_archive_cmds
5.13437 -no_undefined_flag_F77=
5.13438 -whole_archive_flag_spec_F77=
5.13439 -enable_shared_with_static_runtimes_F77=no
5.13440 -
5.13441 -# Source file extension for f77 test sources.
5.13442 -ac_ext=f
5.13443 -
5.13444 -# Object file extension for compiled f77 test sources.
5.13445 -objext=o
5.13446 -objext_F77=$objext
5.13447 -
5.13448 -# Code to be used in simple compile tests
5.13449 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
5.13450 -
5.13451 -# Code to be used in simple link tests
5.13452 -lt_simple_link_test_code=" program t\n end\n"
5.13453 -
5.13454 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
5.13455 -
5.13456 -# If no C compiler was specified, use CC.
5.13457 -LTCC=${LTCC-"$CC"}
5.13458 -
5.13459 -# Allow CC to be a program name with arguments.
5.13460 -compiler=$CC
5.13461 -
5.13462 -
5.13463 -# save warnings/boilerplate of simple test code
5.13464 -ac_outfile=conftest.$ac_objext
5.13465 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
5.13466 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
5.13467 -_lt_compiler_boilerplate=`cat conftest.err`
5.13468 -$rm conftest*
5.13469 -
5.13470 -ac_outfile=conftest.$ac_objext
5.13471 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
5.13472 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
5.13473 -_lt_linker_boilerplate=`cat conftest.err`
5.13474 -$rm conftest*
5.13475 -
5.13476 -
5.13477 -# Allow CC to be a program name with arguments.
5.13478 -lt_save_CC="$CC"
5.13479 -CC=${F77-"f77"}
5.13480 -compiler=$CC
5.13481 -compiler_F77=$CC
5.13482 -for cc_temp in $compiler""; do
5.13483 - case $cc_temp in
5.13484 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5.13485 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
5.13486 - \-*) ;;
5.13487 - *) break;;
5.13488 - esac
5.13489 -done
5.13490 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
5.13491 -
5.13492 -
5.13493 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
5.13494 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
5.13495 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
5.13496 -echo "${ECHO_T}$can_build_shared" >&6
5.13497 -
5.13498 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
5.13499 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
5.13500 -test "$can_build_shared" = "no" && enable_shared=no
5.13501 -
5.13502 -# On AIX, shared libraries and static libraries use the same namespace, and
5.13503 -# are all built from PIC.
5.13504 -case $host_os in
5.13505 -aix3*)
5.13506 - test "$enable_shared" = yes && enable_static=no
5.13507 - if test -n "$RANLIB"; then
5.13508 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
5.13509 - postinstall_cmds='$RANLIB $lib'
5.13510 - fi
5.13511 - ;;
5.13512 -aix4* | aix5*)
5.13513 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
5.13514 - test "$enable_shared" = yes && enable_static=no
5.13515 - fi
5.13516 - ;;
5.13517 -esac
5.13518 -echo "$as_me:$LINENO: result: $enable_shared" >&5
5.13519 -echo "${ECHO_T}$enable_shared" >&6
5.13520 -
5.13521 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
5.13522 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
5.13523 -# Make sure either enable_shared or enable_static is yes.
5.13524 -test "$enable_shared" = yes || enable_static=yes
5.13525 -echo "$as_me:$LINENO: result: $enable_static" >&5
5.13526 -echo "${ECHO_T}$enable_static" >&6
5.13527 -
5.13528 -test "$ld_shlibs_F77" = no && can_build_shared=no
5.13529 -
5.13530 -GCC_F77="$G77"
5.13531 -LD_F77="$LD"
5.13532 -
5.13533 -lt_prog_compiler_wl_F77=
5.13534 -lt_prog_compiler_pic_F77=
5.13535 -lt_prog_compiler_static_F77=
5.13536 -
5.13537 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
5.13538 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
5.13539 -
5.13540 - if test "$GCC" = yes; then
5.13541 - lt_prog_compiler_wl_F77='-Wl,'
5.13542 - lt_prog_compiler_static_F77='-static'
5.13543 -
5.13544 - case $host_os in
5.13545 - aix*)
5.13546 - # All AIX code is PIC.
5.13547 - if test "$host_cpu" = ia64; then
5.13548 - # AIX 5 now supports IA64 processor
5.13549 - lt_prog_compiler_static_F77='-Bstatic'
5.13550 - fi
5.13551 - ;;
5.13552 -
5.13553 - amigaos*)
5.13554 - # FIXME: we need at least 68020 code to build shared libraries, but
5.13555 - # adding the `-m68020' flag to GCC prevents building anything better,
5.13556 - # like `-m68040'.
5.13557 - lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
5.13558 - ;;
5.13559 -
5.13560 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5.13561 - # PIC is the default for these OSes.
5.13562 - ;;
5.13563 -
5.13564 - mingw* | pw32* | os2*)
5.13565 - # This hack is so that the source file can tell whether it is being
5.13566 - # built for inclusion in a dll (and should export symbols for example).
5.13567 - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
5.13568 - ;;
5.13569 -
5.13570 - darwin* | rhapsody*)
5.13571 - # PIC is the default on this platform
5.13572 - # Common symbols not allowed in MH_DYLIB files
5.13573 - lt_prog_compiler_pic_F77='-fno-common'
5.13574 - ;;
5.13575 -
5.13576 - msdosdjgpp*)
5.13577 - # Just because we use GCC doesn't mean we suddenly get shared libraries
5.13578 - # on systems that don't support them.
5.13579 - lt_prog_compiler_can_build_shared_F77=no
5.13580 - enable_shared=no
5.13581 - ;;
5.13582 -
5.13583 - sysv4*MP*)
5.13584 - if test -d /usr/nec; then
5.13585 - lt_prog_compiler_pic_F77=-Kconform_pic
5.13586 - fi
5.13587 - ;;
5.13588 -
5.13589 - hpux*)
5.13590 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5.13591 - # not for PA HP-UX.
5.13592 - case $host_cpu in
5.13593 - hppa*64*|ia64*)
5.13594 - # +Z the default
5.13595 - ;;
5.13596 - *)
5.13597 - lt_prog_compiler_pic_F77='-fPIC'
5.13598 - ;;
5.13599 - esac
5.13600 - ;;
5.13601 -
5.13602 - *)
5.13603 - lt_prog_compiler_pic_F77='-fPIC'
5.13604 - ;;
5.13605 - esac
5.13606 - else
5.13607 - # PORTME Check for flag to pass linker flags through the system compiler.
5.13608 - case $host_os in
5.13609 - aix*)
5.13610 - lt_prog_compiler_wl_F77='-Wl,'
5.13611 - if test "$host_cpu" = ia64; then
5.13612 - # AIX 5 now supports IA64 processor
5.13613 - lt_prog_compiler_static_F77='-Bstatic'
5.13614 - else
5.13615 - lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
5.13616 - fi
5.13617 - ;;
5.13618 - darwin*)
5.13619 - # PIC is the default on this platform
5.13620 - # Common symbols not allowed in MH_DYLIB files
5.13621 - case $cc_basename in
5.13622 - xlc*)
5.13623 - lt_prog_compiler_pic_F77='-qnocommon'
5.13624 - lt_prog_compiler_wl_F77='-Wl,'
5.13625 - ;;
5.13626 - esac
5.13627 - ;;
5.13628 -
5.13629 - mingw* | pw32* | os2*)
5.13630 - # This hack is so that the source file can tell whether it is being
5.13631 - # built for inclusion in a dll (and should export symbols for example).
5.13632 - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
5.13633 - ;;
5.13634 -
5.13635 - hpux9* | hpux10* | hpux11*)
5.13636 - lt_prog_compiler_wl_F77='-Wl,'
5.13637 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5.13638 - # not for PA HP-UX.
5.13639 - case $host_cpu in
5.13640 - hppa*64*|ia64*)
5.13641 - # +Z the default
5.13642 - ;;
5.13643 - *)
5.13644 - lt_prog_compiler_pic_F77='+Z'
5.13645 - ;;
5.13646 - esac
5.13647 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
5.13648 - lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
5.13649 - ;;
5.13650 -
5.13651 - irix5* | irix6* | nonstopux*)
5.13652 - lt_prog_compiler_wl_F77='-Wl,'
5.13653 - # PIC (with -KPIC) is the default.
5.13654 - lt_prog_compiler_static_F77='-non_shared'
5.13655 - ;;
5.13656 -
5.13657 - newsos6)
5.13658 - lt_prog_compiler_pic_F77='-KPIC'
5.13659 - lt_prog_compiler_static_F77='-Bstatic'
5.13660 - ;;
5.13661 -
5.13662 - linux*)
5.13663 - case $cc_basename in
5.13664 - icc* | ecc*)
5.13665 - lt_prog_compiler_wl_F77='-Wl,'
5.13666 - lt_prog_compiler_pic_F77='-KPIC'
5.13667 - lt_prog_compiler_static_F77='-static'
5.13668 - ;;
5.13669 - pgcc* | pgf77* | pgf90* | pgf95*)
5.13670 - # Portland Group compilers (*not* the Pentium gcc compiler,
5.13671 - # which looks to be a dead project)
5.13672 - lt_prog_compiler_wl_F77='-Wl,'
5.13673 - lt_prog_compiler_pic_F77='-fpic'
5.13674 - lt_prog_compiler_static_F77='-Bstatic'
5.13675 - ;;
5.13676 - ccc*)
5.13677 - lt_prog_compiler_wl_F77='-Wl,'
5.13678 - # All Alpha code is PIC.
5.13679 - lt_prog_compiler_static_F77='-non_shared'
5.13680 - ;;
5.13681 - esac
5.13682 - ;;
5.13683 -
5.13684 - osf3* | osf4* | osf5*)
5.13685 - lt_prog_compiler_wl_F77='-Wl,'
5.13686 - # All OSF/1 code is PIC.
5.13687 - lt_prog_compiler_static_F77='-non_shared'
5.13688 - ;;
5.13689 -
5.13690 - sco3.2v5*)
5.13691 - lt_prog_compiler_pic_F77='-Kpic'
5.13692 - lt_prog_compiler_static_F77='-dn'
5.13693 - ;;
5.13694 -
5.13695 - solaris*)
5.13696 - lt_prog_compiler_pic_F77='-KPIC'
5.13697 - lt_prog_compiler_static_F77='-Bstatic'
5.13698 - case $cc_basename in
5.13699 - f77* | f90* | f95*)
5.13700 - lt_prog_compiler_wl_F77='-Qoption ld ';;
5.13701 - *)
5.13702 - lt_prog_compiler_wl_F77='-Wl,';;
5.13703 - esac
5.13704 - ;;
5.13705 -
5.13706 - sunos4*)
5.13707 - lt_prog_compiler_wl_F77='-Qoption ld '
5.13708 - lt_prog_compiler_pic_F77='-PIC'
5.13709 - lt_prog_compiler_static_F77='-Bstatic'
5.13710 - ;;
5.13711 -
5.13712 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5.13713 - lt_prog_compiler_wl_F77='-Wl,'
5.13714 - lt_prog_compiler_pic_F77='-KPIC'
5.13715 - lt_prog_compiler_static_F77='-Bstatic'
5.13716 - ;;
5.13717 -
5.13718 - sysv4*MP*)
5.13719 - if test -d /usr/nec ;then
5.13720 - lt_prog_compiler_pic_F77='-Kconform_pic'
5.13721 - lt_prog_compiler_static_F77='-Bstatic'
5.13722 - fi
5.13723 - ;;
5.13724 -
5.13725 - unicos*)
5.13726 - lt_prog_compiler_wl_F77='-Wl,'
5.13727 - lt_prog_compiler_can_build_shared_F77=no
5.13728 - ;;
5.13729 -
5.13730 - uts4*)
5.13731 - lt_prog_compiler_pic_F77='-pic'
5.13732 - lt_prog_compiler_static_F77='-Bstatic'
5.13733 - ;;
5.13734 -
5.13735 - *)
5.13736 - lt_prog_compiler_can_build_shared_F77=no
5.13737 - ;;
5.13738 - esac
5.13739 - fi
5.13740 -
5.13741 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
5.13742 -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
5.13743 -
5.13744 -#
5.13745 -# Check to make sure the PIC flag actually works.
5.13746 -#
5.13747 -if test -n "$lt_prog_compiler_pic_F77"; then
5.13748 -
5.13749 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
5.13750 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
5.13751 -if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
5.13752 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.13753 -else
5.13754 - lt_prog_compiler_pic_works_F77=no
5.13755 - ac_outfile=conftest.$ac_objext
5.13756 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
5.13757 - lt_compiler_flag="$lt_prog_compiler_pic_F77"
5.13758 - # Insert the option either (1) after the last *FLAGS variable, or
5.13759 - # (2) before a word containing "conftest.", or (3) at the end.
5.13760 - # Note that $ac_compile itself does not contain backslashes and begins
5.13761 - # with a dollar sign (not a hyphen), so the echo should work correctly.
5.13762 - # The option is referenced via a variable to avoid confusing sed.
5.13763 - lt_compile=`echo "$ac_compile" | $SED \
5.13764 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5.13765 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
5.13766 - -e 's:$: $lt_compiler_flag:'`
5.13767 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
5.13768 - (eval "$lt_compile" 2>conftest.err)
5.13769 - ac_status=$?
5.13770 - cat conftest.err >&5
5.13771 - echo "$as_me:__oline__: \$? = $ac_status" >&5
5.13772 - if (exit $ac_status) && test -s "$ac_outfile"; then
5.13773 - # The compiler can only warn and ignore the option if not recognized
5.13774 - # So say no if there are warnings other than the usual output.
5.13775 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
5.13776 - $SED '/^$/d' conftest.err >conftest.er2
5.13777 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
5.13778 - lt_prog_compiler_pic_works_F77=yes
5.13779 - fi
5.13780 - fi
5.13781 - $rm conftest*
5.13782 -
5.13783 -fi
5.13784 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
5.13785 -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
5.13786 -
5.13787 -if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
5.13788 - case $lt_prog_compiler_pic_F77 in
5.13789 - "" | " "*) ;;
5.13790 - *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
5.13791 - esac
5.13792 -else
5.13793 - lt_prog_compiler_pic_F77=
5.13794 - lt_prog_compiler_can_build_shared_F77=no
5.13795 -fi
5.13796 -
5.13797 -fi
5.13798 -case $host_os in
5.13799 - # For platforms which do not support PIC, -DPIC is meaningless:
5.13800 - *djgpp*)
5.13801 - lt_prog_compiler_pic_F77=
5.13802 - ;;
5.13803 - *)
5.13804 - lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
5.13805 - ;;
5.13806 -esac
5.13807 -
5.13808 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
5.13809 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
5.13810 -if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
5.13811 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.13812 -else
5.13813 - lt_cv_prog_compiler_c_o_F77=no
5.13814 - $rm -r conftest 2>/dev/null
5.13815 - mkdir conftest
5.13816 - cd conftest
5.13817 - mkdir out
5.13818 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
5.13819 -
5.13820 - lt_compiler_flag="-o out/conftest2.$ac_objext"
5.13821 - # Insert the option either (1) after the last *FLAGS variable, or
5.13822 - # (2) before a word containing "conftest.", or (3) at the end.
5.13823 - # Note that $ac_compile itself does not contain backslashes and begins
5.13824 - # with a dollar sign (not a hyphen), so the echo should work correctly.
5.13825 - lt_compile=`echo "$ac_compile" | $SED \
5.13826 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5.13827 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
5.13828 - -e 's:$: $lt_compiler_flag:'`
5.13829 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
5.13830 - (eval "$lt_compile" 2>out/conftest.err)
5.13831 - ac_status=$?
5.13832 - cat out/conftest.err >&5
5.13833 - echo "$as_me:__oline__: \$? = $ac_status" >&5
5.13834 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
5.13835 - then
5.13836 - # The compiler can only warn and ignore the option if not recognized
5.13837 - # So say no if there are warnings
5.13838 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
5.13839 - $SED '/^$/d' out/conftest.err >out/conftest.er2
5.13840 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
5.13841 - lt_cv_prog_compiler_c_o_F77=yes
5.13842 - fi
5.13843 - fi
5.13844 - chmod u+w . 2>&5
5.13845 - $rm conftest*
5.13846 - # SGI C++ compiler will create directory out/ii_files/ for
5.13847 - # template instantiation
5.13848 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
5.13849 - $rm out/* && rmdir out
5.13850 - cd ..
5.13851 - rmdir conftest
5.13852 - $rm conftest*
5.13853 -
5.13854 -fi
5.13855 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
5.13856 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
5.13857 -
5.13858 -
5.13859 -hard_links="nottested"
5.13860 -if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
5.13861 - # do not overwrite the value of need_locks provided by the user
5.13862 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
5.13863 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
5.13864 - hard_links=yes
5.13865 - $rm conftest*
5.13866 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
5.13867 - touch conftest.a
5.13868 - ln conftest.a conftest.b 2>&5 || hard_links=no
5.13869 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
5.13870 - echo "$as_me:$LINENO: result: $hard_links" >&5
5.13871 -echo "${ECHO_T}$hard_links" >&6
5.13872 - if test "$hard_links" = no; then
5.13873 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
5.13874 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
5.13875 - need_locks=warn
5.13876 - fi
5.13877 -else
5.13878 - need_locks=no
5.13879 -fi
5.13880 -
5.13881 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
5.13882 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
5.13883 -
5.13884 - runpath_var=
5.13885 - allow_undefined_flag_F77=
5.13886 - enable_shared_with_static_runtimes_F77=no
5.13887 - archive_cmds_F77=
5.13888 - archive_expsym_cmds_F77=
5.13889 - old_archive_From_new_cmds_F77=
5.13890 - old_archive_from_expsyms_cmds_F77=
5.13891 - export_dynamic_flag_spec_F77=
5.13892 - whole_archive_flag_spec_F77=
5.13893 - thread_safe_flag_spec_F77=
5.13894 - hardcode_libdir_flag_spec_F77=
5.13895 - hardcode_libdir_flag_spec_ld_F77=
5.13896 - hardcode_libdir_separator_F77=
5.13897 - hardcode_direct_F77=no
5.13898 - hardcode_minus_L_F77=no
5.13899 - hardcode_shlibpath_var_F77=unsupported
5.13900 - link_all_deplibs_F77=unknown
5.13901 - hardcode_automatic_F77=no
5.13902 - module_cmds_F77=
5.13903 - module_expsym_cmds_F77=
5.13904 - always_export_symbols_F77=no
5.13905 - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5.13906 - # include_expsyms should be a list of space-separated symbols to be *always*
5.13907 - # included in the symbol list
5.13908 - include_expsyms_F77=
5.13909 - # exclude_expsyms can be an extended regexp of symbols to exclude
5.13910 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
5.13911 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
5.13912 - # as well as any symbol that contains `d'.
5.13913 - exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
5.13914 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
5.13915 - # platforms (ab)use it in PIC code, but their linkers get confused if
5.13916 - # the symbol is explicitly referenced. Since portable code cannot
5.13917 - # rely on this symbol name, it's probably fine to never include it in
5.13918 - # preloaded symbol tables.
5.13919 - extract_expsyms_cmds=
5.13920 - # Just being paranoid about ensuring that cc_basename is set.
5.13921 - for cc_temp in $compiler""; do
5.13922 - case $cc_temp in
5.13923 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5.13924 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
5.13925 - \-*) ;;
5.13926 - *) break;;
5.13927 - esac
5.13928 -done
5.13929 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
5.13930 -
5.13931 - case $host_os in
5.13932 - cygwin* | mingw* | pw32*)
5.13933 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
5.13934 - # When not using gcc, we currently assume that we are using
5.13935 - # Microsoft Visual C++.
5.13936 - if test "$GCC" != yes; then
5.13937 - with_gnu_ld=no
5.13938 - fi
5.13939 - ;;
5.13940 - openbsd*)
5.13941 - with_gnu_ld=no
5.13942 - ;;
5.13943 - esac
5.13944 -
5.13945 - ld_shlibs_F77=yes
5.13946 - if test "$with_gnu_ld" = yes; then
5.13947 - # If archive_cmds runs LD, not CC, wlarc should be empty
5.13948 - wlarc='${wl}'
5.13949 -
5.13950 - # Set some defaults for GNU ld with shared library support. These
5.13951 - # are reset later if shared libraries are not supported. Putting them
5.13952 - # here allows them to be overridden if necessary.
5.13953 - runpath_var=LD_RUN_PATH
5.13954 - hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
5.13955 - export_dynamic_flag_spec_F77='${wl}--export-dynamic'
5.13956 - # ancient GNU ld didn't support --whole-archive et. al.
5.13957 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
5.13958 - whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
5.13959 - else
5.13960 - whole_archive_flag_spec_F77=
5.13961 - fi
5.13962 - supports_anon_versioning=no
5.13963 - case `$LD -v 2>/dev/null` in
5.13964 - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
5.13965 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
5.13966 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
5.13967 - *\ 2.11.*) ;; # other 2.11 versions
5.13968 - *) supports_anon_versioning=yes ;;
5.13969 - esac
5.13970 -
5.13971 - # See if GNU ld supports shared libraries.
5.13972 - case $host_os in
5.13973 - aix3* | aix4* | aix5*)
5.13974 - # On AIX/PPC, the GNU linker is very broken
5.13975 - if test "$host_cpu" != ia64; then
5.13976 - ld_shlibs_F77=no
5.13977 - cat <<EOF 1>&2
5.13978 -
5.13979 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
5.13980 -*** to be unable to reliably create shared libraries on AIX.
5.13981 -*** Therefore, libtool is disabling shared libraries support. If you
5.13982 -*** really care for shared libraries, you may want to modify your PATH
5.13983 -*** so that a non-GNU linker is found, and then restart.
5.13984 -
5.13985 -EOF
5.13986 - fi
5.13987 - ;;
5.13988 -
5.13989 - amigaos*)
5.13990 - archive_cmds_F77='$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)'
5.13991 - hardcode_libdir_flag_spec_F77='-L$libdir'
5.13992 - hardcode_minus_L_F77=yes
5.13993 -
5.13994 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
5.13995 - # that the semantics of dynamic libraries on AmigaOS, at least up
5.13996 - # to version 4, is to share data among multiple programs linked
5.13997 - # with the same dynamic library. Since this doesn't match the
5.13998 - # behavior of shared libraries on other platforms, we can't use
5.13999 - # them.
5.14000 - ld_shlibs_F77=no
5.14001 - ;;
5.14002 -
5.14003 - beos*)
5.14004 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5.14005 - allow_undefined_flag_F77=unsupported
5.14006 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
5.14007 - # support --undefined. This deserves some investigation. FIXME
5.14008 - archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.14009 - else
5.14010 - ld_shlibs_F77=no
5.14011 - fi
5.14012 - ;;
5.14013 -
5.14014 - cygwin* | mingw* | pw32*)
5.14015 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
5.14016 - # as there is no search path for DLLs.
5.14017 - hardcode_libdir_flag_spec_F77='-L$libdir'
5.14018 - allow_undefined_flag_F77=unsupported
5.14019 - always_export_symbols_F77=no
5.14020 - enable_shared_with_static_runtimes_F77=yes
5.14021 - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
5.14022 -
5.14023 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
5.14024 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5.14025 - # If the export-symbols file already is a .def file (1st line
5.14026 - # is EXPORTS), use it as is; otherwise, prepend...
5.14027 - archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5.14028 - cp $export_symbols $output_objdir/$soname.def;
5.14029 - else
5.14030 - echo EXPORTS > $output_objdir/$soname.def;
5.14031 - cat $export_symbols >> $output_objdir/$soname.def;
5.14032 - fi~
5.14033 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5.14034 - else
5.14035 - ld_shlibs_F77=no
5.14036 - fi
5.14037 - ;;
5.14038 -
5.14039 - linux*)
5.14040 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5.14041 - tmp_addflag=
5.14042 - case $cc_basename,$host_cpu in
5.14043 - pgcc*) # Portland Group C compiler
5.14044 - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
5.14045 - tmp_addflag=' $pic_flag'
5.14046 - ;;
5.14047 - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
5.14048 - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
5.14049 - tmp_addflag=' $pic_flag -Mnomain' ;;
5.14050 - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
5.14051 - tmp_addflag=' -i_dynamic' ;;
5.14052 - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
5.14053 - tmp_addflag=' -i_dynamic -nofor_main' ;;
5.14054 - ifc* | ifort*) # Intel Fortran compiler
5.14055 - tmp_addflag=' -nofor_main' ;;
5.14056 - esac
5.14057 - archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.14058 -
5.14059 - if test $supports_anon_versioning = yes; then
5.14060 - archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
5.14061 - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5.14062 - $echo "local: *; };" >> $output_objdir/$libname.ver~
5.14063 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5.14064 - fi
5.14065 - else
5.14066 - ld_shlibs_F77=no
5.14067 - fi
5.14068 - ;;
5.14069 -
5.14070 - netbsd*)
5.14071 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5.14072 - archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5.14073 - wlarc=
5.14074 - else
5.14075 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.14076 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5.14077 - fi
5.14078 - ;;
5.14079 -
5.14080 - solaris* | sysv5*)
5.14081 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
5.14082 - ld_shlibs_F77=no
5.14083 - cat <<EOF 1>&2
5.14084 -
5.14085 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
5.14086 -*** create shared libraries on Solaris systems. Therefore, libtool
5.14087 -*** is disabling shared libraries support. We urge you to upgrade GNU
5.14088 -*** binutils to release 2.9.1 or newer. Another option is to modify
5.14089 -*** your PATH or compiler configuration so that the native linker is
5.14090 -*** used, and then restart.
5.14091 -
5.14092 -EOF
5.14093 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5.14094 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.14095 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5.14096 - else
5.14097 - ld_shlibs_F77=no
5.14098 - fi
5.14099 - ;;
5.14100 -
5.14101 - sunos4*)
5.14102 - archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5.14103 - wlarc=
5.14104 - hardcode_direct_F77=yes
5.14105 - hardcode_shlibpath_var_F77=no
5.14106 - ;;
5.14107 -
5.14108 - *)
5.14109 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5.14110 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.14111 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5.14112 - else
5.14113 - ld_shlibs_F77=no
5.14114 - fi
5.14115 - ;;
5.14116 - esac
5.14117 -
5.14118 - if test "$ld_shlibs_F77" = no; then
5.14119 - runpath_var=
5.14120 - hardcode_libdir_flag_spec_F77=
5.14121 - export_dynamic_flag_spec_F77=
5.14122 - whole_archive_flag_spec_F77=
5.14123 - fi
5.14124 - else
5.14125 - # PORTME fill in a description of your system's linker (not GNU ld)
5.14126 - case $host_os in
5.14127 - aix3*)
5.14128 - allow_undefined_flag_F77=unsupported
5.14129 - always_export_symbols_F77=yes
5.14130 - archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
5.14131 - # Note: this linker hardcodes the directories in LIBPATH if there
5.14132 - # are no directories specified by -L.
5.14133 - hardcode_minus_L_F77=yes
5.14134 - if test "$GCC" = yes && test -z "$link_static_flag"; then
5.14135 - # Neither direct hardcoding nor static linking is supported with a
5.14136 - # broken collect2.
5.14137 - hardcode_direct_F77=unsupported
5.14138 - fi
5.14139 - ;;
5.14140 -
5.14141 - aix4* | aix5*)
5.14142 - if test "$host_cpu" = ia64; then
5.14143 - # On IA64, the linker does run time linking by default, so we don't
5.14144 - # have to do anything special.
5.14145 - aix_use_runtimelinking=no
5.14146 - exp_sym_flag='-Bexport'
5.14147 - no_entry_flag=""
5.14148 - else
5.14149 - # If we're using GNU nm, then we don't want the "-C" option.
5.14150 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
5.14151 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
5.14152 - export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
5.14153 - else
5.14154 - export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
5.14155 - fi
5.14156 - aix_use_runtimelinking=no
5.14157 -
5.14158 - # Test if we are trying to use run time linking or normal
5.14159 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5.14160 - # need to do runtime linking.
5.14161 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
5.14162 - for ld_flag in $LDFLAGS; do
5.14163 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
5.14164 - aix_use_runtimelinking=yes
5.14165 - break
5.14166 - fi
5.14167 - done
5.14168 - esac
5.14169 -
5.14170 - exp_sym_flag='-bexport'
5.14171 - no_entry_flag='-bnoentry'
5.14172 - fi
5.14173 -
5.14174 - # When large executables or shared objects are built, AIX ld can
5.14175 - # have problems creating the table of contents. If linking a library
5.14176 - # or program results in "error TOC overflow" add -mminimal-toc to
5.14177 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
5.14178 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5.14179 -
5.14180 - archive_cmds_F77=''
5.14181 - hardcode_direct_F77=yes
5.14182 - hardcode_libdir_separator_F77=':'
5.14183 - link_all_deplibs_F77=yes
5.14184 -
5.14185 - if test "$GCC" = yes; then
5.14186 - case $host_os in aix4.[012]|aix4.[012].*)
5.14187 - # We only want to do this on AIX 4.2 and lower, the check
5.14188 - # below for broken collect2 doesn't work under 4.3+
5.14189 - collect2name=`${CC} -print-prog-name=collect2`
5.14190 - if test -f "$collect2name" && \
5.14191 - strings "$collect2name" | grep resolve_lib_name >/dev/null
5.14192 - then
5.14193 - # We have reworked collect2
5.14194 - hardcode_direct_F77=yes
5.14195 - else
5.14196 - # We have old collect2
5.14197 - hardcode_direct_F77=unsupported
5.14198 - # It fails to find uninstalled libraries when the uninstalled
5.14199 - # path is not listed in the libpath. Setting hardcode_minus_L
5.14200 - # to unsupported forces relinking
5.14201 - hardcode_minus_L_F77=yes
5.14202 - hardcode_libdir_flag_spec_F77='-L$libdir'
5.14203 - hardcode_libdir_separator_F77=
5.14204 - fi
5.14205 - esac
5.14206 - shared_flag='-shared'
5.14207 - if test "$aix_use_runtimelinking" = yes; then
5.14208 - shared_flag="$shared_flag "'${wl}-G'
5.14209 - fi
5.14210 - else
5.14211 - # not using gcc
5.14212 - if test "$host_cpu" = ia64; then
5.14213 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5.14214 - # chokes on -Wl,-G. The following line is correct:
5.14215 - shared_flag='-G'
5.14216 - else
5.14217 - if test "$aix_use_runtimelinking" = yes; then
5.14218 - shared_flag='${wl}-G'
5.14219 - else
5.14220 - shared_flag='${wl}-bM:SRE'
5.14221 - fi
5.14222 - fi
5.14223 - fi
5.14224 -
5.14225 - # It seems that -bexpall does not export symbols beginning with
5.14226 - # underscore (_), so it is better to generate a list of symbols to export.
5.14227 - always_export_symbols_F77=yes
5.14228 - if test "$aix_use_runtimelinking" = yes; then
5.14229 - # Warning - without using the other runtime loading flags (-brtl),
5.14230 - # -berok will link without error, but may produce a broken library.
5.14231 - allow_undefined_flag_F77='-berok'
5.14232 - # Determine the default libpath from the value encoded in an empty executable.
5.14233 - cat >conftest.$ac_ext <<_ACEOF
5.14234 - program main
5.14235 -
5.14236 - end
5.14237 -_ACEOF
5.14238 -rm -f conftest.$ac_objext conftest$ac_exeext
5.14239 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.14240 - (eval $ac_link) 2>conftest.er1
5.14241 - ac_status=$?
5.14242 - grep -v '^ *+' conftest.er1 >conftest.err
5.14243 - rm -f conftest.er1
5.14244 - cat conftest.err >&5
5.14245 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.14246 - (exit $ac_status); } &&
5.14247 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
5.14248 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.14249 - (eval $ac_try) 2>&5
5.14250 - ac_status=$?
5.14251 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.14252 - (exit $ac_status); }; } &&
5.14253 - { ac_try='test -s conftest$ac_exeext'
5.14254 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.14255 - (eval $ac_try) 2>&5
5.14256 - ac_status=$?
5.14257 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.14258 - (exit $ac_status); }; }; then
5.14259 -
5.14260 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
5.14261 -}'`
5.14262 -# Check for a 64-bit object if we didn't find anything.
5.14263 -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; }
5.14264 -}'`; fi
5.14265 -else
5.14266 - echo "$as_me: failed program was:" >&5
5.14267 -sed 's/^/| /' conftest.$ac_ext >&5
5.14268 -
5.14269 -fi
5.14270 -rm -f conftest.err conftest.$ac_objext \
5.14271 - conftest$ac_exeext conftest.$ac_ext
5.14272 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
5.14273 -
5.14274 - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
5.14275 - archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5.14276 - else
5.14277 - if test "$host_cpu" = ia64; then
5.14278 - hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
5.14279 - allow_undefined_flag_F77="-z nodefs"
5.14280 - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
5.14281 - else
5.14282 - # Determine the default libpath from the value encoded in an empty executable.
5.14283 - cat >conftest.$ac_ext <<_ACEOF
5.14284 - program main
5.14285 -
5.14286 - end
5.14287 -_ACEOF
5.14288 -rm -f conftest.$ac_objext conftest$ac_exeext
5.14289 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.14290 - (eval $ac_link) 2>conftest.er1
5.14291 - ac_status=$?
5.14292 - grep -v '^ *+' conftest.er1 >conftest.err
5.14293 - rm -f conftest.er1
5.14294 - cat conftest.err >&5
5.14295 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.14296 - (exit $ac_status); } &&
5.14297 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
5.14298 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.14299 - (eval $ac_try) 2>&5
5.14300 - ac_status=$?
5.14301 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.14302 - (exit $ac_status); }; } &&
5.14303 - { ac_try='test -s conftest$ac_exeext'
5.14304 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.14305 - (eval $ac_try) 2>&5
5.14306 - ac_status=$?
5.14307 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.14308 - (exit $ac_status); }; }; then
5.14309 -
5.14310 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
5.14311 -}'`
5.14312 -# Check for a 64-bit object if we didn't find anything.
5.14313 -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; }
5.14314 -}'`; fi
5.14315 -else
5.14316 - echo "$as_me: failed program was:" >&5
5.14317 -sed 's/^/| /' conftest.$ac_ext >&5
5.14318 -
5.14319 -fi
5.14320 -rm -f conftest.err conftest.$ac_objext \
5.14321 - conftest$ac_exeext conftest.$ac_ext
5.14322 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
5.14323 -
5.14324 - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
5.14325 - # Warning - without using the other run time loading flags,
5.14326 - # -berok will link without error, but may produce a broken library.
5.14327 - no_undefined_flag_F77=' ${wl}-bernotok'
5.14328 - allow_undefined_flag_F77=' ${wl}-berok'
5.14329 - # -bexpall does not export symbols beginning with underscore (_)
5.14330 - always_export_symbols_F77=yes
5.14331 - # Exported symbols can be pulled into shared objects from archives
5.14332 - whole_archive_flag_spec_F77=' '
5.14333 - archive_cmds_need_lc_F77=yes
5.14334 - # This is similar to how AIX traditionally builds its shared libraries.
5.14335 - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
5.14336 - fi
5.14337 - fi
5.14338 - ;;
5.14339 -
5.14340 - amigaos*)
5.14341 - archive_cmds_F77='$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)'
5.14342 - hardcode_libdir_flag_spec_F77='-L$libdir'
5.14343 - hardcode_minus_L_F77=yes
5.14344 - # see comment about different semantics on the GNU ld section
5.14345 - ld_shlibs_F77=no
5.14346 - ;;
5.14347 -
5.14348 - bsdi[45]*)
5.14349 - export_dynamic_flag_spec_F77=-rdynamic
5.14350 - ;;
5.14351 -
5.14352 - cygwin* | mingw* | pw32*)
5.14353 - # When not using gcc, we currently assume that we are using
5.14354 - # Microsoft Visual C++.
5.14355 - # hardcode_libdir_flag_spec is actually meaningless, as there is
5.14356 - # no search path for DLLs.
5.14357 - hardcode_libdir_flag_spec_F77=' '
5.14358 - allow_undefined_flag_F77=unsupported
5.14359 - # Tell ltmain to make .lib files, not .a files.
5.14360 - libext=lib
5.14361 - # Tell ltmain to make .dll files, not .so files.
5.14362 - shrext_cmds=".dll"
5.14363 - # FIXME: Setting linknames here is a bad hack.
5.14364 - archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
5.14365 - # The linker will automatically build a .lib file if we build a DLL.
5.14366 - old_archive_From_new_cmds_F77='true'
5.14367 - # FIXME: Should let the user specify the lib program.
5.14368 - old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
5.14369 - fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
5.14370 - enable_shared_with_static_runtimes_F77=yes
5.14371 - ;;
5.14372 -
5.14373 - darwin* | rhapsody*)
5.14374 - case $host_os in
5.14375 - rhapsody* | darwin1.[012])
5.14376 - allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
5.14377 - ;;
5.14378 - *) # Darwin 1.3 on
5.14379 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
5.14380 - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
5.14381 - else
5.14382 - case ${MACOSX_DEPLOYMENT_TARGET} in
5.14383 - 10.[012])
5.14384 - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
5.14385 - ;;
5.14386 - 10.*)
5.14387 - allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
5.14388 - ;;
5.14389 - esac
5.14390 - fi
5.14391 - ;;
5.14392 - esac
5.14393 - archive_cmds_need_lc_F77=no
5.14394 - hardcode_direct_F77=no
5.14395 - hardcode_automatic_F77=yes
5.14396 - hardcode_shlibpath_var_F77=unsupported
5.14397 - whole_archive_flag_spec_F77=''
5.14398 - link_all_deplibs_F77=yes
5.14399 - if test "$GCC" = yes ; then
5.14400 - output_verbose_link_cmd='echo'
5.14401 - archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
5.14402 - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5.14403 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5.14404 - archive_expsym_cmds_F77='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}'
5.14405 - module_expsym_cmds_F77='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}'
5.14406 - else
5.14407 - case $cc_basename in
5.14408 - xlc*)
5.14409 - output_verbose_link_cmd='echo'
5.14410 - archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
5.14411 - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5.14412 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5.14413 - archive_expsym_cmds_F77='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}'
5.14414 - module_expsym_cmds_F77='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}'
5.14415 - ;;
5.14416 - *)
5.14417 - ld_shlibs_F77=no
5.14418 - ;;
5.14419 - esac
5.14420 - fi
5.14421 - ;;
5.14422 -
5.14423 - dgux*)
5.14424 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.14425 - hardcode_libdir_flag_spec_F77='-L$libdir'
5.14426 - hardcode_shlibpath_var_F77=no
5.14427 - ;;
5.14428 -
5.14429 - freebsd1*)
5.14430 - ld_shlibs_F77=no
5.14431 - ;;
5.14432 -
5.14433 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
5.14434 - # support. Future versions do this automatically, but an explicit c++rt0.o
5.14435 - # does not break anything, and helps significantly (at the cost of a little
5.14436 - # extra space).
5.14437 - freebsd2.2*)
5.14438 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
5.14439 - hardcode_libdir_flag_spec_F77='-R$libdir'
5.14440 - hardcode_direct_F77=yes
5.14441 - hardcode_shlibpath_var_F77=no
5.14442 - ;;
5.14443 -
5.14444 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
5.14445 - freebsd2*)
5.14446 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5.14447 - hardcode_direct_F77=yes
5.14448 - hardcode_minus_L_F77=yes
5.14449 - hardcode_shlibpath_var_F77=no
5.14450 - ;;
5.14451 -
5.14452 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5.14453 - freebsd* | kfreebsd*-gnu | dragonfly*)
5.14454 - archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
5.14455 - hardcode_libdir_flag_spec_F77='-R$libdir'
5.14456 - hardcode_direct_F77=yes
5.14457 - hardcode_shlibpath_var_F77=no
5.14458 - ;;
5.14459 -
5.14460 - hpux9*)
5.14461 - if test "$GCC" = yes; then
5.14462 - archive_cmds_F77='$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'
5.14463 - else
5.14464 - archive_cmds_F77='$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'
5.14465 - fi
5.14466 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
5.14467 - hardcode_libdir_separator_F77=:
5.14468 - hardcode_direct_F77=yes
5.14469 -
5.14470 - # hardcode_minus_L: Not really in the search PATH,
5.14471 - # but as the default location of the library.
5.14472 - hardcode_minus_L_F77=yes
5.14473 - export_dynamic_flag_spec_F77='${wl}-E'
5.14474 - ;;
5.14475 -
5.14476 - hpux10* | hpux11*)
5.14477 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5.14478 - case $host_cpu in
5.14479 - hppa*64*|ia64*)
5.14480 - archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5.14481 - ;;
5.14482 - *)
5.14483 - archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5.14484 - ;;
5.14485 - esac
5.14486 - else
5.14487 - case $host_cpu in
5.14488 - hppa*64*|ia64*)
5.14489 - archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
5.14490 - ;;
5.14491 - *)
5.14492 - archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
5.14493 - ;;
5.14494 - esac
5.14495 - fi
5.14496 - if test "$with_gnu_ld" = no; then
5.14497 - case $host_cpu in
5.14498 - hppa*64*)
5.14499 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
5.14500 - hardcode_libdir_flag_spec_ld_F77='+b $libdir'
5.14501 - hardcode_libdir_separator_F77=:
5.14502 - hardcode_direct_F77=no
5.14503 - hardcode_shlibpath_var_F77=no
5.14504 - ;;
5.14505 - ia64*)
5.14506 - hardcode_libdir_flag_spec_F77='-L$libdir'
5.14507 - hardcode_direct_F77=no
5.14508 - hardcode_shlibpath_var_F77=no
5.14509 -
5.14510 - # hardcode_minus_L: Not really in the search PATH,
5.14511 - # but as the default location of the library.
5.14512 - hardcode_minus_L_F77=yes
5.14513 - ;;
5.14514 - *)
5.14515 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
5.14516 - hardcode_libdir_separator_F77=:
5.14517 - hardcode_direct_F77=yes
5.14518 - export_dynamic_flag_spec_F77='${wl}-E'
5.14519 -
5.14520 - # hardcode_minus_L: Not really in the search PATH,
5.14521 - # but as the default location of the library.
5.14522 - hardcode_minus_L_F77=yes
5.14523 - ;;
5.14524 - esac
5.14525 - fi
5.14526 - ;;
5.14527 -
5.14528 - irix5* | irix6* | nonstopux*)
5.14529 - if test "$GCC" = yes; then
5.14530 - archive_cmds_F77='$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'
5.14531 - else
5.14532 - archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
5.14533 - hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
5.14534 - fi
5.14535 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
5.14536 - hardcode_libdir_separator_F77=:
5.14537 - link_all_deplibs_F77=yes
5.14538 - ;;
5.14539 -
5.14540 - netbsd*)
5.14541 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5.14542 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5.14543 - else
5.14544 - archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
5.14545 - fi
5.14546 - hardcode_libdir_flag_spec_F77='-R$libdir'
5.14547 - hardcode_direct_F77=yes
5.14548 - hardcode_shlibpath_var_F77=no
5.14549 - ;;
5.14550 -
5.14551 - newsos6)
5.14552 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.14553 - hardcode_direct_F77=yes
5.14554 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
5.14555 - hardcode_libdir_separator_F77=:
5.14556 - hardcode_shlibpath_var_F77=no
5.14557 - ;;
5.14558 -
5.14559 - openbsd*)
5.14560 - hardcode_direct_F77=yes
5.14561 - hardcode_shlibpath_var_F77=no
5.14562 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5.14563 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5.14564 - archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
5.14565 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
5.14566 - export_dynamic_flag_spec_F77='${wl}-E'
5.14567 - else
5.14568 - case $host_os in
5.14569 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
5.14570 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5.14571 - hardcode_libdir_flag_spec_F77='-R$libdir'
5.14572 - ;;
5.14573 - *)
5.14574 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5.14575 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
5.14576 - ;;
5.14577 - esac
5.14578 - fi
5.14579 - ;;
5.14580 -
5.14581 - os2*)
5.14582 - hardcode_libdir_flag_spec_F77='-L$libdir'
5.14583 - hardcode_minus_L_F77=yes
5.14584 - allow_undefined_flag_F77=unsupported
5.14585 - archive_cmds_F77='$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'
5.14586 - old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
5.14587 - ;;
5.14588 -
5.14589 - osf3*)
5.14590 - if test "$GCC" = yes; then
5.14591 - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
5.14592 - archive_cmds_F77='$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'
5.14593 - else
5.14594 - allow_undefined_flag_F77=' -expect_unresolved \*'
5.14595 - archive_cmds_F77='$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'
5.14596 - fi
5.14597 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
5.14598 - hardcode_libdir_separator_F77=:
5.14599 - ;;
5.14600 -
5.14601 - osf4* | osf5*) # as osf3* with the addition of -msym flag
5.14602 - if test "$GCC" = yes; then
5.14603 - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
5.14604 - archive_cmds_F77='$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'
5.14605 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
5.14606 - else
5.14607 - allow_undefined_flag_F77=' -expect_unresolved \*'
5.14608 - archive_cmds_F77='$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'
5.14609 - archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
5.14610 - $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'
5.14611 -
5.14612 - # Both c and cxx compiler support -rpath directly
5.14613 - hardcode_libdir_flag_spec_F77='-rpath $libdir'
5.14614 - fi
5.14615 - hardcode_libdir_separator_F77=:
5.14616 - ;;
5.14617 -
5.14618 - sco3.2v5*)
5.14619 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.14620 - hardcode_shlibpath_var_F77=no
5.14621 - export_dynamic_flag_spec_F77='${wl}-Bexport'
5.14622 - runpath_var=LD_RUN_PATH
5.14623 - hardcode_runpath_var=yes
5.14624 - ;;
5.14625 -
5.14626 - solaris*)
5.14627 - no_undefined_flag_F77=' -z text'
5.14628 - if test "$GCC" = yes; then
5.14629 - wlarc='${wl}'
5.14630 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5.14631 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5.14632 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
5.14633 - else
5.14634 - wlarc=''
5.14635 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.14636 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5.14637 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
5.14638 - fi
5.14639 - hardcode_libdir_flag_spec_F77='-R$libdir'
5.14640 - hardcode_shlibpath_var_F77=no
5.14641 - case $host_os in
5.14642 - solaris2.[0-5] | solaris2.[0-5].*) ;;
5.14643 - *)
5.14644 - # The compiler driver will combine linker options so we
5.14645 - # cannot just pass the convience library names through
5.14646 - # without $wl, iff we do not link with $LD.
5.14647 - # Luckily, gcc supports the same syntax we need for Sun Studio.
5.14648 - # Supported since Solaris 2.6 (maybe 2.5.1?)
5.14649 - case $wlarc in
5.14650 - '')
5.14651 - whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
5.14652 - *)
5.14653 - whole_archive_flag_spec_F77='${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' ;;
5.14654 - esac ;;
5.14655 - esac
5.14656 - link_all_deplibs_F77=yes
5.14657 - ;;
5.14658 -
5.14659 - sunos4*)
5.14660 - if test "x$host_vendor" = xsequent; then
5.14661 - # Use $CC to link under sequent, because it throws in some extra .o
5.14662 - # files that make .init and .fini sections work.
5.14663 - archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5.14664 - else
5.14665 - archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
5.14666 - fi
5.14667 - hardcode_libdir_flag_spec_F77='-L$libdir'
5.14668 - hardcode_direct_F77=yes
5.14669 - hardcode_minus_L_F77=yes
5.14670 - hardcode_shlibpath_var_F77=no
5.14671 - ;;
5.14672 -
5.14673 - sysv4)
5.14674 - case $host_vendor in
5.14675 - sni)
5.14676 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.14677 - hardcode_direct_F77=yes # is this really true???
5.14678 - ;;
5.14679 - siemens)
5.14680 - ## LD is ld it makes a PLAMLIB
5.14681 - ## CC just makes a GrossModule.
5.14682 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5.14683 - reload_cmds_F77='$CC -r -o $output$reload_objs'
5.14684 - hardcode_direct_F77=no
5.14685 - ;;
5.14686 - motorola)
5.14687 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.14688 - hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
5.14689 - ;;
5.14690 - esac
5.14691 - runpath_var='LD_RUN_PATH'
5.14692 - hardcode_shlibpath_var_F77=no
5.14693 - ;;
5.14694 -
5.14695 - sysv4.3*)
5.14696 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.14697 - hardcode_shlibpath_var_F77=no
5.14698 - export_dynamic_flag_spec_F77='-Bexport'
5.14699 - ;;
5.14700 -
5.14701 - sysv4*MP*)
5.14702 - if test -d /usr/nec; then
5.14703 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.14704 - hardcode_shlibpath_var_F77=no
5.14705 - runpath_var=LD_RUN_PATH
5.14706 - hardcode_runpath_var=yes
5.14707 - ld_shlibs_F77=yes
5.14708 - fi
5.14709 - ;;
5.14710 -
5.14711 - sysv4.2uw2*)
5.14712 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5.14713 - hardcode_direct_F77=yes
5.14714 - hardcode_minus_L_F77=no
5.14715 - hardcode_shlibpath_var_F77=no
5.14716 - hardcode_runpath_var=yes
5.14717 - runpath_var=LD_RUN_PATH
5.14718 - ;;
5.14719 -
5.14720 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
5.14721 - no_undefined_flag_F77='${wl}-z ${wl}text'
5.14722 - if test "$GCC" = yes; then
5.14723 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5.14724 - else
5.14725 - archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5.14726 - fi
5.14727 - runpath_var='LD_RUN_PATH'
5.14728 - hardcode_shlibpath_var_F77=no
5.14729 - ;;
5.14730 -
5.14731 - sysv5*)
5.14732 - no_undefined_flag_F77=' -z text'
5.14733 - # $CC -shared without GNU ld will not create a library from C++
5.14734 - # object files and a static libstdc++, better avoid it by now
5.14735 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.14736 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5.14737 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
5.14738 - hardcode_libdir_flag_spec_F77=
5.14739 - hardcode_shlibpath_var_F77=no
5.14740 - runpath_var='LD_RUN_PATH'
5.14741 - ;;
5.14742 -
5.14743 - uts4*)
5.14744 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.14745 - hardcode_libdir_flag_spec_F77='-L$libdir'
5.14746 - hardcode_shlibpath_var_F77=no
5.14747 - ;;
5.14748 -
5.14749 - *)
5.14750 - ld_shlibs_F77=no
5.14751 - ;;
5.14752 - esac
5.14753 - fi
5.14754 -
5.14755 -echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
5.14756 -echo "${ECHO_T}$ld_shlibs_F77" >&6
5.14757 -test "$ld_shlibs_F77" = no && can_build_shared=no
5.14758 -
5.14759 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
5.14760 -if test "$GCC" = yes; then
5.14761 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
5.14762 -fi
5.14763 -
5.14764 -#
5.14765 -# Do we need to explicitly link libc?
5.14766 -#
5.14767 -case "x$archive_cmds_need_lc_F77" in
5.14768 -x|xyes)
5.14769 - # Assume -lc should be added
5.14770 - archive_cmds_need_lc_F77=yes
5.14771 -
5.14772 - if test "$enable_shared" = yes && test "$GCC" = yes; then
5.14773 - case $archive_cmds_F77 in
5.14774 - *'~'*)
5.14775 - # FIXME: we may have to deal with multi-command sequences.
5.14776 - ;;
5.14777 - '$CC '*)
5.14778 - # Test whether the compiler implicitly links with -lc since on some
5.14779 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
5.14780 - # to ld, don't add -lc before -lgcc.
5.14781 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
5.14782 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
5.14783 - $rm conftest*
5.14784 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
5.14785 -
5.14786 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.14787 - (eval $ac_compile) 2>&5
5.14788 - ac_status=$?
5.14789 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.14790 - (exit $ac_status); } 2>conftest.err; then
5.14791 - soname=conftest
5.14792 - lib=conftest
5.14793 - libobjs=conftest.$ac_objext
5.14794 - deplibs=
5.14795 - wl=$lt_prog_compiler_wl_F77
5.14796 - compiler_flags=-v
5.14797 - linker_flags=-v
5.14798 - verstring=
5.14799 - output_objdir=.
5.14800 - libname=conftest
5.14801 - lt_save_allow_undefined_flag=$allow_undefined_flag_F77
5.14802 - allow_undefined_flag_F77=
5.14803 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
5.14804 - (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
5.14805 - ac_status=$?
5.14806 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.14807 - (exit $ac_status); }
5.14808 - then
5.14809 - archive_cmds_need_lc_F77=no
5.14810 - else
5.14811 - archive_cmds_need_lc_F77=yes
5.14812 - fi
5.14813 - allow_undefined_flag_F77=$lt_save_allow_undefined_flag
5.14814 - else
5.14815 - cat conftest.err 1>&5
5.14816 - fi
5.14817 - $rm conftest*
5.14818 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
5.14819 -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
5.14820 - ;;
5.14821 - esac
5.14822 - fi
5.14823 - ;;
5.14824 -esac
5.14825 -
5.14826 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
5.14827 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
5.14828 -library_names_spec=
5.14829 -libname_spec='lib$name'
5.14830 -soname_spec=
5.14831 -shrext_cmds=".so"
5.14832 -postinstall_cmds=
5.14833 -postuninstall_cmds=
5.14834 -finish_cmds=
5.14835 -finish_eval=
5.14836 -shlibpath_var=
5.14837 -shlibpath_overrides_runpath=unknown
5.14838 -version_type=none
5.14839 -dynamic_linker="$host_os ld.so"
5.14840 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
5.14841 -if test "$GCC" = yes; then
5.14842 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
5.14843 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
5.14844 - # if the path contains ";" then we assume it to be the separator
5.14845 - # otherwise default to the standard path separator (i.e. ":") - it is
5.14846 - # assumed that no part of a normal pathname contains ";" but that should
5.14847 - # okay in the real world where ";" in dirpaths is itself problematic.
5.14848 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
5.14849 - else
5.14850 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
5.14851 - fi
5.14852 -else
5.14853 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
5.14854 -fi
5.14855 -need_lib_prefix=unknown
5.14856 -hardcode_into_libs=no
5.14857 -
5.14858 -# when you set need_version to no, make sure it does not cause -set_version
5.14859 -# flags to be left without arguments
5.14860 -need_version=unknown
5.14861 -
5.14862 -case $host_os in
5.14863 -aix3*)
5.14864 - version_type=linux
5.14865 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
5.14866 - shlibpath_var=LIBPATH
5.14867 -
5.14868 - # AIX 3 has no versioning support, so we append a major version to the name.
5.14869 - soname_spec='${libname}${release}${shared_ext}$major'
5.14870 - ;;
5.14871 -
5.14872 -aix4* | aix5*)
5.14873 - version_type=linux
5.14874 - need_lib_prefix=no
5.14875 - need_version=no
5.14876 - hardcode_into_libs=yes
5.14877 - if test "$host_cpu" = ia64; then
5.14878 - # AIX 5 supports IA64
5.14879 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
5.14880 - shlibpath_var=LD_LIBRARY_PATH
5.14881 - else
5.14882 - # With GCC up to 2.95.x, collect2 would create an import file
5.14883 - # for dependence libraries. The import file would start with
5.14884 - # the line `#! .'. This would cause the generated library to
5.14885 - # depend on `.', always an invalid library. This was fixed in
5.14886 - # development snapshots of GCC prior to 3.0.
5.14887 - case $host_os in
5.14888 - aix4 | aix4.[01] | aix4.[01].*)
5.14889 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
5.14890 - echo ' yes '
5.14891 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
5.14892 - :
5.14893 - else
5.14894 - can_build_shared=no
5.14895 - fi
5.14896 - ;;
5.14897 - esac
5.14898 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
5.14899 - # soname into executable. Probably we can add versioning support to
5.14900 - # collect2, so additional links can be useful in future.
5.14901 - if test "$aix_use_runtimelinking" = yes; then
5.14902 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
5.14903 - # instead of lib<name>.a to let people know that these are not
5.14904 - # typical AIX shared libraries.
5.14905 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.14906 - else
5.14907 - # We preserve .a as extension for shared libraries through AIX4.2
5.14908 - # and later when we are not doing run time linking.
5.14909 - library_names_spec='${libname}${release}.a $libname.a'
5.14910 - soname_spec='${libname}${release}${shared_ext}$major'
5.14911 - fi
5.14912 - shlibpath_var=LIBPATH
5.14913 - fi
5.14914 - ;;
5.14915 -
5.14916 -amigaos*)
5.14917 - library_names_spec='$libname.ixlibrary $libname.a'
5.14918 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
5.14919 - 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'
5.14920 - ;;
5.14921 -
5.14922 -beos*)
5.14923 - library_names_spec='${libname}${shared_ext}'
5.14924 - dynamic_linker="$host_os ld.so"
5.14925 - shlibpath_var=LIBRARY_PATH
5.14926 - ;;
5.14927 -
5.14928 -bsdi[45]*)
5.14929 - version_type=linux
5.14930 - need_version=no
5.14931 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.14932 - soname_spec='${libname}${release}${shared_ext}$major'
5.14933 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
5.14934 - shlibpath_var=LD_LIBRARY_PATH
5.14935 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
5.14936 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
5.14937 - # the default ld.so.conf also contains /usr/contrib/lib and
5.14938 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
5.14939 - # libtool to hard-code these into programs
5.14940 - ;;
5.14941 -
5.14942 -cygwin* | mingw* | pw32*)
5.14943 - version_type=windows
5.14944 - shrext_cmds=".dll"
5.14945 - need_version=no
5.14946 - need_lib_prefix=no
5.14947 -
5.14948 - case $GCC,$host_os in
5.14949 - yes,cygwin* | yes,mingw* | yes,pw32*)
5.14950 - library_names_spec='$libname.dll.a'
5.14951 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
5.14952 - postinstall_cmds='base_file=`basename \${file}`~
5.14953 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
5.14954 - dldir=$destdir/`dirname \$dlpath`~
5.14955 - test -d \$dldir || mkdir -p \$dldir~
5.14956 - $install_prog $dir/$dlname \$dldir/$dlname~
5.14957 - chmod a+x \$dldir/$dlname'
5.14958 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
5.14959 - dlpath=$dir/\$dldll~
5.14960 - $rm \$dlpath'
5.14961 - shlibpath_overrides_runpath=yes
5.14962 -
5.14963 - case $host_os in
5.14964 - cygwin*)
5.14965 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
5.14966 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
5.14967 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
5.14968 - ;;
5.14969 - mingw*)
5.14970 - # MinGW DLLs use traditional 'lib' prefix
5.14971 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
5.14972 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
5.14973 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
5.14974 - # It is most probably a Windows format PATH printed by
5.14975 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
5.14976 - # path with ; separators, and with drive letters. We can handle the
5.14977 - # drive letters (cygwin fileutils understands them), so leave them,
5.14978 - # especially as we might pass files found there to a mingw objdump,
5.14979 - # which wouldn't understand a cygwinified path. Ahh.
5.14980 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
5.14981 - else
5.14982 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
5.14983 - fi
5.14984 - ;;
5.14985 - pw32*)
5.14986 - # pw32 DLLs use 'pw' prefix rather than 'lib'
5.14987 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
5.14988 - ;;
5.14989 - esac
5.14990 - ;;
5.14991 -
5.14992 - *)
5.14993 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
5.14994 - ;;
5.14995 - esac
5.14996 - dynamic_linker='Win32 ld.exe'
5.14997 - # FIXME: first we should search . and the directory the executable is in
5.14998 - shlibpath_var=PATH
5.14999 - ;;
5.15000 -
5.15001 -darwin* | rhapsody*)
5.15002 - dynamic_linker="$host_os dyld"
5.15003 - version_type=darwin
5.15004 - need_lib_prefix=no
5.15005 - need_version=no
5.15006 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
5.15007 - soname_spec='${libname}${release}${major}$shared_ext'
5.15008 - shlibpath_overrides_runpath=yes
5.15009 - shlibpath_var=DYLD_LIBRARY_PATH
5.15010 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
5.15011 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
5.15012 - if test "$GCC" = yes; then
5.15013 - 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"`
5.15014 - else
5.15015 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
5.15016 - fi
5.15017 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
5.15018 - ;;
5.15019 -
5.15020 -dgux*)
5.15021 - version_type=linux
5.15022 - need_lib_prefix=no
5.15023 - need_version=no
5.15024 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
5.15025 - soname_spec='${libname}${release}${shared_ext}$major'
5.15026 - shlibpath_var=LD_LIBRARY_PATH
5.15027 - ;;
5.15028 -
5.15029 -freebsd1*)
5.15030 - dynamic_linker=no
5.15031 - ;;
5.15032 -
5.15033 -kfreebsd*-gnu)
5.15034 - version_type=linux
5.15035 - need_lib_prefix=no
5.15036 - need_version=no
5.15037 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5.15038 - soname_spec='${libname}${release}${shared_ext}$major'
5.15039 - shlibpath_var=LD_LIBRARY_PATH
5.15040 - shlibpath_overrides_runpath=no
5.15041 - hardcode_into_libs=yes
5.15042 - dynamic_linker='GNU ld.so'
5.15043 - ;;
5.15044 -
5.15045 -freebsd* | dragonfly*)
5.15046 - # DragonFly does not have aout. When/if they implement a new
5.15047 - # versioning mechanism, adjust this.
5.15048 - if test -x /usr/bin/objformat; then
5.15049 - objformat=`/usr/bin/objformat`
5.15050 - else
5.15051 - case $host_os in
5.15052 - freebsd[123]*) objformat=aout ;;
5.15053 - *) objformat=elf ;;
5.15054 - esac
5.15055 - fi
5.15056 - version_type=freebsd-$objformat
5.15057 - case $version_type in
5.15058 - freebsd-elf*)
5.15059 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
5.15060 - need_version=no
5.15061 - need_lib_prefix=no
5.15062 - ;;
5.15063 - freebsd-*)
5.15064 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
5.15065 - need_version=yes
5.15066 - ;;
5.15067 - esac
5.15068 - shlibpath_var=LD_LIBRARY_PATH
5.15069 - case $host_os in
5.15070 - freebsd2*)
5.15071 - shlibpath_overrides_runpath=yes
5.15072 - ;;
5.15073 - freebsd3.[01]* | freebsdelf3.[01]*)
5.15074 - shlibpath_overrides_runpath=yes
5.15075 - hardcode_into_libs=yes
5.15076 - ;;
5.15077 - *) # from 3.2 on
5.15078 - shlibpath_overrides_runpath=no
5.15079 - hardcode_into_libs=yes
5.15080 - ;;
5.15081 - esac
5.15082 - ;;
5.15083 -
5.15084 -gnu*)
5.15085 - version_type=linux
5.15086 - need_lib_prefix=no
5.15087 - need_version=no
5.15088 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
5.15089 - soname_spec='${libname}${release}${shared_ext}$major'
5.15090 - shlibpath_var=LD_LIBRARY_PATH
5.15091 - hardcode_into_libs=yes
5.15092 - ;;
5.15093 -
5.15094 -hpux9* | hpux10* | hpux11*)
5.15095 - # Give a soname corresponding to the major version so that dld.sl refuses to
5.15096 - # link against other versions.
5.15097 - version_type=sunos
5.15098 - need_lib_prefix=no
5.15099 - need_version=no
5.15100 - case $host_cpu in
5.15101 - ia64*)
5.15102 - shrext_cmds='.so'
5.15103 - hardcode_into_libs=yes
5.15104 - dynamic_linker="$host_os dld.so"
5.15105 - shlibpath_var=LD_LIBRARY_PATH
5.15106 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
5.15107 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.15108 - soname_spec='${libname}${release}${shared_ext}$major'
5.15109 - if test "X$HPUX_IA64_MODE" = X32; then
5.15110 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
5.15111 - else
5.15112 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
5.15113 - fi
5.15114 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
5.15115 - ;;
5.15116 - hppa*64*)
5.15117 - shrext_cmds='.sl'
5.15118 - hardcode_into_libs=yes
5.15119 - dynamic_linker="$host_os dld.sl"
5.15120 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
5.15121 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
5.15122 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.15123 - soname_spec='${libname}${release}${shared_ext}$major'
5.15124 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
5.15125 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
5.15126 - ;;
5.15127 - *)
5.15128 - shrext_cmds='.sl'
5.15129 - dynamic_linker="$host_os dld.sl"
5.15130 - shlibpath_var=SHLIB_PATH
5.15131 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
5.15132 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.15133 - soname_spec='${libname}${release}${shared_ext}$major'
5.15134 - ;;
5.15135 - esac
5.15136 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
5.15137 - postinstall_cmds='chmod 555 $lib'
5.15138 - ;;
5.15139 -
5.15140 -irix5* | irix6* | nonstopux*)
5.15141 - case $host_os in
5.15142 - nonstopux*) version_type=nonstopux ;;
5.15143 - *)
5.15144 - if test "$lt_cv_prog_gnu_ld" = yes; then
5.15145 - version_type=linux
5.15146 - else
5.15147 - version_type=irix
5.15148 - fi ;;
5.15149 - esac
5.15150 - need_lib_prefix=no
5.15151 - need_version=no
5.15152 - soname_spec='${libname}${release}${shared_ext}$major'
5.15153 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
5.15154 - case $host_os in
5.15155 - irix5* | nonstopux*)
5.15156 - libsuff= shlibsuff=
5.15157 - ;;
5.15158 - *)
5.15159 - case $LD in # libtool.m4 will add one of these switches to LD
5.15160 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
5.15161 - libsuff= shlibsuff= libmagic=32-bit;;
5.15162 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
5.15163 - libsuff=32 shlibsuff=N32 libmagic=N32;;
5.15164 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
5.15165 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
5.15166 - *) libsuff= shlibsuff= libmagic=never-match;;
5.15167 - esac
5.15168 - ;;
5.15169 - esac
5.15170 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
5.15171 - shlibpath_overrides_runpath=no
5.15172 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
5.15173 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
5.15174 - hardcode_into_libs=yes
5.15175 - ;;
5.15176 -
5.15177 -# No shared lib support for Linux oldld, aout, or coff.
5.15178 -linux*oldld* | linux*aout* | linux*coff*)
5.15179 - dynamic_linker=no
5.15180 - ;;
5.15181 -
5.15182 -# This must be Linux ELF.
5.15183 -linux*)
5.15184 - version_type=linux
5.15185 - need_lib_prefix=no
5.15186 - need_version=no
5.15187 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.15188 - soname_spec='${libname}${release}${shared_ext}$major'
5.15189 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
5.15190 - shlibpath_var=LD_LIBRARY_PATH
5.15191 - shlibpath_overrides_runpath=no
5.15192 - # This implies no fast_install, which is unacceptable.
5.15193 - # Some rework will be needed to allow for fast_install
5.15194 - # before this can be enabled.
5.15195 - hardcode_into_libs=yes
5.15196 -
5.15197 - # Append ld.so.conf contents to the search path
5.15198 - if test -f /etc/ld.so.conf; then
5.15199 - 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' ' '`
5.15200 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
5.15201 - fi
5.15202 -
5.15203 - # We used to test for /lib/ld.so.1 and disable shared libraries on
5.15204 - # powerpc, because MkLinux only supported shared libraries with the
5.15205 - # GNU dynamic linker. Since this was broken with cross compilers,
5.15206 - # most powerpc-linux boxes support dynamic linking these days and
5.15207 - # people can always --disable-shared, the test was removed, and we
5.15208 - # assume the GNU/Linux dynamic linker is in use.
5.15209 - dynamic_linker='GNU/Linux ld.so'
5.15210 - ;;
5.15211 -
5.15212 -knetbsd*-gnu)
5.15213 - version_type=linux
5.15214 - need_lib_prefix=no
5.15215 - need_version=no
5.15216 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5.15217 - soname_spec='${libname}${release}${shared_ext}$major'
5.15218 - shlibpath_var=LD_LIBRARY_PATH
5.15219 - shlibpath_overrides_runpath=no
5.15220 - hardcode_into_libs=yes
5.15221 - dynamic_linker='GNU ld.so'
5.15222 - ;;
5.15223 -
5.15224 -netbsd*)
5.15225 - version_type=sunos
5.15226 - need_lib_prefix=no
5.15227 - need_version=no
5.15228 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5.15229 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5.15230 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5.15231 - dynamic_linker='NetBSD (a.out) ld.so'
5.15232 - else
5.15233 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5.15234 - soname_spec='${libname}${release}${shared_ext}$major'
5.15235 - dynamic_linker='NetBSD ld.elf_so'
5.15236 - fi
5.15237 - shlibpath_var=LD_LIBRARY_PATH
5.15238 - shlibpath_overrides_runpath=yes
5.15239 - hardcode_into_libs=yes
5.15240 - ;;
5.15241 -
5.15242 -newsos6)
5.15243 - version_type=linux
5.15244 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.15245 - shlibpath_var=LD_LIBRARY_PATH
5.15246 - shlibpath_overrides_runpath=yes
5.15247 - ;;
5.15248 -
5.15249 -nto-qnx*)
5.15250 - version_type=linux
5.15251 - need_lib_prefix=no
5.15252 - need_version=no
5.15253 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.15254 - soname_spec='${libname}${release}${shared_ext}$major'
5.15255 - shlibpath_var=LD_LIBRARY_PATH
5.15256 - shlibpath_overrides_runpath=yes
5.15257 - ;;
5.15258 -
5.15259 -openbsd*)
5.15260 - version_type=sunos
5.15261 - need_lib_prefix=no
5.15262 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
5.15263 - case $host_os in
5.15264 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
5.15265 - *) need_version=no ;;
5.15266 - esac
5.15267 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5.15268 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5.15269 - shlibpath_var=LD_LIBRARY_PATH
5.15270 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5.15271 - case $host_os in
5.15272 - openbsd2.[89] | openbsd2.[89].*)
5.15273 - shlibpath_overrides_runpath=no
5.15274 - ;;
5.15275 - *)
5.15276 - shlibpath_overrides_runpath=yes
5.15277 - ;;
5.15278 - esac
5.15279 - else
5.15280 - shlibpath_overrides_runpath=yes
5.15281 - fi
5.15282 - ;;
5.15283 -
5.15284 -os2*)
5.15285 - libname_spec='$name'
5.15286 - shrext_cmds=".dll"
5.15287 - need_lib_prefix=no
5.15288 - library_names_spec='$libname${shared_ext} $libname.a'
5.15289 - dynamic_linker='OS/2 ld.exe'
5.15290 - shlibpath_var=LIBPATH
5.15291 - ;;
5.15292 -
5.15293 -osf3* | osf4* | osf5*)
5.15294 - version_type=osf
5.15295 - need_lib_prefix=no
5.15296 - need_version=no
5.15297 - soname_spec='${libname}${release}${shared_ext}$major'
5.15298 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.15299 - shlibpath_var=LD_LIBRARY_PATH
5.15300 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
5.15301 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
5.15302 - ;;
5.15303 -
5.15304 -sco3.2v5*)
5.15305 - version_type=osf
5.15306 - soname_spec='${libname}${release}${shared_ext}$major'
5.15307 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.15308 - shlibpath_var=LD_LIBRARY_PATH
5.15309 - ;;
5.15310 -
5.15311 -solaris*)
5.15312 - version_type=linux
5.15313 - need_lib_prefix=no
5.15314 - need_version=no
5.15315 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.15316 - soname_spec='${libname}${release}${shared_ext}$major'
5.15317 - shlibpath_var=LD_LIBRARY_PATH
5.15318 - shlibpath_overrides_runpath=yes
5.15319 - hardcode_into_libs=yes
5.15320 - # ldd complains unless libraries are executable
5.15321 - postinstall_cmds='chmod +x $lib'
5.15322 - ;;
5.15323 -
5.15324 -sunos4*)
5.15325 - version_type=sunos
5.15326 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5.15327 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5.15328 - shlibpath_var=LD_LIBRARY_PATH
5.15329 - shlibpath_overrides_runpath=yes
5.15330 - if test "$with_gnu_ld" = yes; then
5.15331 - need_lib_prefix=no
5.15332 - fi
5.15333 - need_version=yes
5.15334 - ;;
5.15335 -
5.15336 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5.15337 - version_type=linux
5.15338 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.15339 - soname_spec='${libname}${release}${shared_ext}$major'
5.15340 - shlibpath_var=LD_LIBRARY_PATH
5.15341 - case $host_vendor in
5.15342 - sni)
5.15343 - shlibpath_overrides_runpath=no
5.15344 - need_lib_prefix=no
5.15345 - export_dynamic_flag_spec='${wl}-Blargedynsym'
5.15346 - runpath_var=LD_RUN_PATH
5.15347 - ;;
5.15348 - siemens)
5.15349 - need_lib_prefix=no
5.15350 - ;;
5.15351 - motorola)
5.15352 - need_lib_prefix=no
5.15353 - need_version=no
5.15354 - shlibpath_overrides_runpath=no
5.15355 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
5.15356 - ;;
5.15357 - esac
5.15358 - ;;
5.15359 -
5.15360 -sysv4*MP*)
5.15361 - if test -d /usr/nec ;then
5.15362 - version_type=linux
5.15363 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
5.15364 - soname_spec='$libname${shared_ext}.$major'
5.15365 - shlibpath_var=LD_LIBRARY_PATH
5.15366 - fi
5.15367 - ;;
5.15368 -
5.15369 -uts4*)
5.15370 - version_type=linux
5.15371 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.15372 - soname_spec='${libname}${release}${shared_ext}$major'
5.15373 - shlibpath_var=LD_LIBRARY_PATH
5.15374 - ;;
5.15375 -
5.15376 -*)
5.15377 - dynamic_linker=no
5.15378 - ;;
5.15379 -esac
5.15380 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
5.15381 -echo "${ECHO_T}$dynamic_linker" >&6
5.15382 -test "$dynamic_linker" = no && can_build_shared=no
5.15383 -
5.15384 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
5.15385 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
5.15386 -hardcode_action_F77=
5.15387 -if test -n "$hardcode_libdir_flag_spec_F77" || \
5.15388 - test -n "$runpath_var_F77" || \
5.15389 - test "X$hardcode_automatic_F77" = "Xyes" ; then
5.15390 -
5.15391 - # We can hardcode non-existant directories.
5.15392 - if test "$hardcode_direct_F77" != no &&
5.15393 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
5.15394 - # have to relink, otherwise we might link with an installed library
5.15395 - # when we should be linking with a yet-to-be-installed one
5.15396 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
5.15397 - test "$hardcode_minus_L_F77" != no; then
5.15398 - # Linking always hardcodes the temporary library directory.
5.15399 - hardcode_action_F77=relink
5.15400 - else
5.15401 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
5.15402 - hardcode_action_F77=immediate
5.15403 - fi
5.15404 -else
5.15405 - # We cannot hardcode anything, or else we can only hardcode existing
5.15406 - # directories.
5.15407 - hardcode_action_F77=unsupported
5.15408 -fi
5.15409 -echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
5.15410 -echo "${ECHO_T}$hardcode_action_F77" >&6
5.15411 -
5.15412 -if test "$hardcode_action_F77" = relink; then
5.15413 - # Fast installation is not supported
5.15414 - enable_fast_install=no
5.15415 -elif test "$shlibpath_overrides_runpath" = yes ||
5.15416 - test "$enable_shared" = no; then
5.15417 - # Fast installation is not necessary
5.15418 - enable_fast_install=needless
5.15419 -fi
5.15420 -
5.15421 -striplib=
5.15422 -old_striplib=
5.15423 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
5.15424 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
5.15425 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
5.15426 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
5.15427 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
5.15428 - echo "$as_me:$LINENO: result: yes" >&5
5.15429 -echo "${ECHO_T}yes" >&6
5.15430 -else
5.15431 -# FIXME - insert some real tests, host_os isn't really good enough
5.15432 - case $host_os in
5.15433 - darwin*)
5.15434 - if test -n "$STRIP" ; then
5.15435 - striplib="$STRIP -x"
5.15436 - echo "$as_me:$LINENO: result: yes" >&5
5.15437 -echo "${ECHO_T}yes" >&6
5.15438 - else
5.15439 - echo "$as_me:$LINENO: result: no" >&5
5.15440 -echo "${ECHO_T}no" >&6
5.15441 -fi
5.15442 - ;;
5.15443 - *)
5.15444 - echo "$as_me:$LINENO: result: no" >&5
5.15445 -echo "${ECHO_T}no" >&6
5.15446 - ;;
5.15447 - esac
5.15448 -fi
5.15449 -
5.15450 -
5.15451 -
5.15452 -# The else clause should only fire when bootstrapping the
5.15453 -# libtool distribution, otherwise you forgot to ship ltmain.sh
5.15454 -# with your package, and you will get complaints that there are
5.15455 -# no rules to generate ltmain.sh.
5.15456 -if test -f "$ltmain"; then
5.15457 - # See if we are running on zsh, and set the options which allow our commands through
5.15458 - # without removal of \ escapes.
5.15459 - if test -n "${ZSH_VERSION+set}" ; then
5.15460 - setopt NO_GLOB_SUBST
5.15461 - fi
5.15462 - # Now quote all the things that may contain metacharacters while being
5.15463 - # careful not to overquote the AC_SUBSTed values. We take copies of the
5.15464 - # variables and quote the copies for generation of the libtool script.
5.15465 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
5.15466 - SED SHELL STRIP \
5.15467 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
5.15468 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
5.15469 - deplibs_check_method reload_flag reload_cmds need_locks \
5.15470 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
5.15471 - lt_cv_sys_global_symbol_to_c_name_address \
5.15472 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
5.15473 - old_postinstall_cmds old_postuninstall_cmds \
5.15474 - compiler_F77 \
5.15475 - CC_F77 \
5.15476 - LD_F77 \
5.15477 - lt_prog_compiler_wl_F77 \
5.15478 - lt_prog_compiler_pic_F77 \
5.15479 - lt_prog_compiler_static_F77 \
5.15480 - lt_prog_compiler_no_builtin_flag_F77 \
5.15481 - export_dynamic_flag_spec_F77 \
5.15482 - thread_safe_flag_spec_F77 \
5.15483 - whole_archive_flag_spec_F77 \
5.15484 - enable_shared_with_static_runtimes_F77 \
5.15485 - old_archive_cmds_F77 \
5.15486 - old_archive_from_new_cmds_F77 \
5.15487 - predep_objects_F77 \
5.15488 - postdep_objects_F77 \
5.15489 - predeps_F77 \
5.15490 - postdeps_F77 \
5.15491 - compiler_lib_search_path_F77 \
5.15492 - archive_cmds_F77 \
5.15493 - archive_expsym_cmds_F77 \
5.15494 - postinstall_cmds_F77 \
5.15495 - postuninstall_cmds_F77 \
5.15496 - old_archive_from_expsyms_cmds_F77 \
5.15497 - allow_undefined_flag_F77 \
5.15498 - no_undefined_flag_F77 \
5.15499 - export_symbols_cmds_F77 \
5.15500 - hardcode_libdir_flag_spec_F77 \
5.15501 - hardcode_libdir_flag_spec_ld_F77 \
5.15502 - hardcode_libdir_separator_F77 \
5.15503 - hardcode_automatic_F77 \
5.15504 - module_cmds_F77 \
5.15505 - module_expsym_cmds_F77 \
5.15506 - lt_cv_prog_compiler_c_o_F77 \
5.15507 - exclude_expsyms_F77 \
5.15508 - include_expsyms_F77; do
5.15509 -
5.15510 - case $var in
5.15511 - old_archive_cmds_F77 | \
5.15512 - old_archive_from_new_cmds_F77 | \
5.15513 - archive_cmds_F77 | \
5.15514 - archive_expsym_cmds_F77 | \
5.15515 - module_cmds_F77 | \
5.15516 - module_expsym_cmds_F77 | \
5.15517 - old_archive_from_expsyms_cmds_F77 | \
5.15518 - export_symbols_cmds_F77 | \
5.15519 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
5.15520 - postinstall_cmds | postuninstall_cmds | \
5.15521 - old_postinstall_cmds | old_postuninstall_cmds | \
5.15522 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
5.15523 - # Double-quote double-evaled strings.
5.15524 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
5.15525 - ;;
5.15526 - *)
5.15527 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
5.15528 - ;;
5.15529 - esac
5.15530 - done
5.15531 -
5.15532 - case $lt_echo in
5.15533 - *'\$0 --fallback-echo"')
5.15534 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
5.15535 - ;;
5.15536 - esac
5.15537 -
5.15538 -cfgfile="$ofile"
5.15539 -
5.15540 - cat <<__EOF__ >> "$cfgfile"
5.15541 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
5.15542 -
5.15543 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
5.15544 -
5.15545 -# Shell to use when invoking shell scripts.
5.15546 -SHELL=$lt_SHELL
5.15547 -
5.15548 -# Whether or not to build shared libraries.
5.15549 -build_libtool_libs=$enable_shared
5.15550 -
5.15551 -# Whether or not to build static libraries.
5.15552 -build_old_libs=$enable_static
5.15553 -
5.15554 -# Whether or not to add -lc for building shared libraries.
5.15555 -build_libtool_need_lc=$archive_cmds_need_lc_F77
5.15556 -
5.15557 -# Whether or not to disallow shared libs when runtime libs are static
5.15558 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
5.15559 -
5.15560 -# Whether or not to optimize for fast installation.
5.15561 -fast_install=$enable_fast_install
5.15562 -
5.15563 -# The host system.
5.15564 -host_alias=$host_alias
5.15565 -host=$host
5.15566 -host_os=$host_os
5.15567 -
5.15568 -# The build system.
5.15569 -build_alias=$build_alias
5.15570 -build=$build
5.15571 -build_os=$build_os
5.15572 -
5.15573 -# An echo program that does not interpret backslashes.
5.15574 -echo=$lt_echo
5.15575 -
5.15576 -# The archiver.
5.15577 -AR=$lt_AR
5.15578 -AR_FLAGS=$lt_AR_FLAGS
5.15579 -
5.15580 -# A C compiler.
5.15581 -LTCC=$lt_LTCC
5.15582 -
5.15583 -# A language-specific compiler.
5.15584 -CC=$lt_compiler_F77
5.15585 -
5.15586 -# Is the compiler the GNU C compiler?
5.15587 -with_gcc=$GCC_F77
5.15588 -
5.15589 -# An ERE matcher.
5.15590 -EGREP=$lt_EGREP
5.15591 -
5.15592 -# The linker used to build libraries.
5.15593 -LD=$lt_LD_F77
5.15594 -
5.15595 -# Whether we need hard or soft links.
5.15596 -LN_S=$lt_LN_S
5.15597 -
5.15598 -# A BSD-compatible nm program.
5.15599 -NM=$lt_NM
5.15600 -
5.15601 -# A symbol stripping program
5.15602 -STRIP=$lt_STRIP
5.15603 -
5.15604 -# Used to examine libraries when file_magic_cmd begins "file"
5.15605 -MAGIC_CMD=$MAGIC_CMD
5.15606 -
5.15607 -# Used on cygwin: DLL creation program.
5.15608 -DLLTOOL="$DLLTOOL"
5.15609 -
5.15610 -# Used on cygwin: object dumper.
5.15611 -OBJDUMP="$OBJDUMP"
5.15612 -
5.15613 -# Used on cygwin: assembler.
5.15614 -AS="$AS"
5.15615 -
5.15616 -# The name of the directory that contains temporary libtool files.
5.15617 -objdir=$objdir
5.15618 -
5.15619 -# How to create reloadable object files.
5.15620 -reload_flag=$lt_reload_flag
5.15621 -reload_cmds=$lt_reload_cmds
5.15622 -
5.15623 -# How to pass a linker flag through the compiler.
5.15624 -wl=$lt_lt_prog_compiler_wl_F77
5.15625 -
5.15626 -# Object file suffix (normally "o").
5.15627 -objext="$ac_objext"
5.15628 -
5.15629 -# Old archive suffix (normally "a").
5.15630 -libext="$libext"
5.15631 -
5.15632 -# Shared library suffix (normally ".so").
5.15633 -shrext_cmds='$shrext_cmds'
5.15634 -
5.15635 -# Executable file suffix (normally "").
5.15636 -exeext="$exeext"
5.15637 -
5.15638 -# Additional compiler flags for building library objects.
5.15639 -pic_flag=$lt_lt_prog_compiler_pic_F77
5.15640 -pic_mode=$pic_mode
5.15641 -
5.15642 -# What is the maximum length of a command?
5.15643 -max_cmd_len=$lt_cv_sys_max_cmd_len
5.15644 -
5.15645 -# Does compiler simultaneously support -c and -o options?
5.15646 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
5.15647 -
5.15648 -# Must we lock files when doing compilation?
5.15649 -need_locks=$lt_need_locks
5.15650 -
5.15651 -# Do we need the lib prefix for modules?
5.15652 -need_lib_prefix=$need_lib_prefix
5.15653 -
5.15654 -# Do we need a version for libraries?
5.15655 -need_version=$need_version
5.15656 -
5.15657 -# Whether dlopen is supported.
5.15658 -dlopen_support=$enable_dlopen
5.15659 -
5.15660 -# Whether dlopen of programs is supported.
5.15661 -dlopen_self=$enable_dlopen_self
5.15662 -
5.15663 -# Whether dlopen of statically linked programs is supported.
5.15664 -dlopen_self_static=$enable_dlopen_self_static
5.15665 -
5.15666 -# Compiler flag to prevent dynamic linking.
5.15667 -link_static_flag=$lt_lt_prog_compiler_static_F77
5.15668 -
5.15669 -# Compiler flag to turn off builtin functions.
5.15670 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
5.15671 -
5.15672 -# Compiler flag to allow reflexive dlopens.
5.15673 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
5.15674 -
5.15675 -# Compiler flag to generate shared objects directly from archives.
5.15676 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
5.15677 -
5.15678 -# Compiler flag to generate thread-safe objects.
5.15679 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
5.15680 -
5.15681 -# Library versioning type.
5.15682 -version_type=$version_type
5.15683 -
5.15684 -# Format of library name prefix.
5.15685 -libname_spec=$lt_libname_spec
5.15686 -
5.15687 -# List of archive names. First name is the real one, the rest are links.
5.15688 -# The last name is the one that the linker finds with -lNAME.
5.15689 -library_names_spec=$lt_library_names_spec
5.15690 -
5.15691 -# The coded name of the library, if different from the real name.
5.15692 -soname_spec=$lt_soname_spec
5.15693 -
5.15694 -# Commands used to build and install an old-style archive.
5.15695 -RANLIB=$lt_RANLIB
5.15696 -old_archive_cmds=$lt_old_archive_cmds_F77
5.15697 -old_postinstall_cmds=$lt_old_postinstall_cmds
5.15698 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
5.15699 -
5.15700 -# Create an old-style archive from a shared archive.
5.15701 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
5.15702 -
5.15703 -# Create a temporary old-style archive to link instead of a shared archive.
5.15704 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
5.15705 -
5.15706 -# Commands used to build and install a shared archive.
5.15707 -archive_cmds=$lt_archive_cmds_F77
5.15708 -archive_expsym_cmds=$lt_archive_expsym_cmds_F77
5.15709 -postinstall_cmds=$lt_postinstall_cmds
5.15710 -postuninstall_cmds=$lt_postuninstall_cmds
5.15711 -
5.15712 -# Commands used to build a loadable module (assumed same as above if empty)
5.15713 -module_cmds=$lt_module_cmds_F77
5.15714 -module_expsym_cmds=$lt_module_expsym_cmds_F77
5.15715 -
5.15716 -# Commands to strip libraries.
5.15717 -old_striplib=$lt_old_striplib
5.15718 -striplib=$lt_striplib
5.15719 -
5.15720 -# Dependencies to place before the objects being linked to create a
5.15721 -# shared library.
5.15722 -predep_objects=$lt_predep_objects_F77
5.15723 -
5.15724 -# Dependencies to place after the objects being linked to create a
5.15725 -# shared library.
5.15726 -postdep_objects=$lt_postdep_objects_F77
5.15727 -
5.15728 -# Dependencies to place before the objects being linked to create a
5.15729 -# shared library.
5.15730 -predeps=$lt_predeps_F77
5.15731 -
5.15732 -# Dependencies to place after the objects being linked to create a
5.15733 -# shared library.
5.15734 -postdeps=$lt_postdeps_F77
5.15735 -
5.15736 -# The library search path used internally by the compiler when linking
5.15737 -# a shared library.
5.15738 -compiler_lib_search_path=$lt_compiler_lib_search_path_F77
5.15739 -
5.15740 -# Method to check whether dependent libraries are shared objects.
5.15741 -deplibs_check_method=$lt_deplibs_check_method
5.15742 -
5.15743 -# Command to use when deplibs_check_method == file_magic.
5.15744 -file_magic_cmd=$lt_file_magic_cmd
5.15745 -
5.15746 -# Flag that allows shared libraries with undefined symbols to be built.
5.15747 -allow_undefined_flag=$lt_allow_undefined_flag_F77
5.15748 -
5.15749 -# Flag that forces no undefined symbols.
5.15750 -no_undefined_flag=$lt_no_undefined_flag_F77
5.15751 -
5.15752 -# Commands used to finish a libtool library installation in a directory.
5.15753 -finish_cmds=$lt_finish_cmds
5.15754 -
5.15755 -# Same as above, but a single script fragment to be evaled but not shown.
5.15756 -finish_eval=$lt_finish_eval
5.15757 -
5.15758 -# Take the output of nm and produce a listing of raw symbols and C names.
5.15759 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
5.15760 -
5.15761 -# Transform the output of nm in a proper C declaration
5.15762 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
5.15763 -
5.15764 -# Transform the output of nm in a C name address pair
5.15765 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
5.15766 -
5.15767 -# This is the shared library runtime path variable.
5.15768 -runpath_var=$runpath_var
5.15769 -
5.15770 -# This is the shared library path variable.
5.15771 -shlibpath_var=$shlibpath_var
5.15772 -
5.15773 -# Is shlibpath searched before the hard-coded library search path?
5.15774 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
5.15775 -
5.15776 -# How to hardcode a shared library path into an executable.
5.15777 -hardcode_action=$hardcode_action_F77
5.15778 -
5.15779 -# Whether we should hardcode library paths into libraries.
5.15780 -hardcode_into_libs=$hardcode_into_libs
5.15781 -
5.15782 -# Flag to hardcode \$libdir into a binary during linking.
5.15783 -# This must work even if \$libdir does not exist.
5.15784 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
5.15785 -
5.15786 -# If ld is used when linking, flag to hardcode \$libdir into
5.15787 -# a binary during linking. This must work even if \$libdir does
5.15788 -# not exist.
5.15789 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
5.15790 -
5.15791 -# Whether we need a single -rpath flag with a separated argument.
5.15792 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
5.15793 -
5.15794 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
5.15795 -# resulting binary.
5.15796 -hardcode_direct=$hardcode_direct_F77
5.15797 -
5.15798 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
5.15799 -# resulting binary.
5.15800 -hardcode_minus_L=$hardcode_minus_L_F77
5.15801 -
5.15802 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
5.15803 -# the resulting binary.
5.15804 -hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
5.15805 -
5.15806 -# Set to yes if building a shared library automatically hardcodes DIR into the library
5.15807 -# and all subsequent libraries and executables linked against it.
5.15808 -hardcode_automatic=$hardcode_automatic_F77
5.15809 -
5.15810 -# Variables whose values should be saved in libtool wrapper scripts and
5.15811 -# restored at relink time.
5.15812 -variables_saved_for_relink="$variables_saved_for_relink"
5.15813 -
5.15814 -# Whether libtool must link a program against all its dependency libraries.
5.15815 -link_all_deplibs=$link_all_deplibs_F77
5.15816 -
5.15817 -# Compile-time system search path for libraries
5.15818 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
5.15819 -
5.15820 -# Run-time system search path for libraries
5.15821 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
5.15822 -
5.15823 -# Fix the shell variable \$srcfile for the compiler.
5.15824 -fix_srcfile_path="$fix_srcfile_path_F77"
5.15825 -
5.15826 -# Set to yes if exported symbols are required.
5.15827 -always_export_symbols=$always_export_symbols_F77
5.15828 -
5.15829 -# The commands to list exported symbols.
5.15830 -export_symbols_cmds=$lt_export_symbols_cmds_F77
5.15831 -
5.15832 -# The commands to extract the exported symbol list from a shared archive.
5.15833 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
5.15834 -
5.15835 -# Symbols that should not be listed in the preloaded symbols.
5.15836 -exclude_expsyms=$lt_exclude_expsyms_F77
5.15837 -
5.15838 -# Symbols that must always be exported.
5.15839 -include_expsyms=$lt_include_expsyms_F77
5.15840 -
5.15841 -# ### END LIBTOOL TAG CONFIG: $tagname
5.15842 -
5.15843 -__EOF__
5.15844 -
5.15845 -
5.15846 -else
5.15847 - # If there is no Makefile yet, we rely on a make rule to execute
5.15848 - # `config.status --recheck' to rerun these tests and create the
5.15849 - # libtool script then.
5.15850 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
5.15851 - if test -f "$ltmain_in"; then
5.15852 - test -f Makefile && make "$ltmain"
5.15853 - fi
5.15854 -fi
5.15855 -
5.15856 -
5.15857 -ac_ext=c
5.15858 -ac_cpp='$CPP $CPPFLAGS'
5.15859 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.15860 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.15861 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.15862 -
5.15863 -CC="$lt_save_CC"
5.15864 -
5.15865 - else
5.15866 - tagname=""
5.15867 - fi
5.15868 - ;;
5.15869 -
5.15870 - GCJ)
5.15871 - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
5.15872 -
5.15873 -
5.15874 -
5.15875 -# Source file extension for Java test sources.
5.15876 -ac_ext=java
5.15877 -
5.15878 -# Object file extension for compiled Java test sources.
5.15879 -objext=o
5.15880 -objext_GCJ=$objext
5.15881 -
5.15882 -# Code to be used in simple compile tests
5.15883 -lt_simple_compile_test_code="class foo {}\n"
5.15884 -
5.15885 -# Code to be used in simple link tests
5.15886 -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
5.15887 -
5.15888 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
5.15889 -
5.15890 -# If no C compiler was specified, use CC.
5.15891 -LTCC=${LTCC-"$CC"}
5.15892 -
5.15893 -# Allow CC to be a program name with arguments.
5.15894 -compiler=$CC
5.15895 -
5.15896 -
5.15897 -# save warnings/boilerplate of simple test code
5.15898 -ac_outfile=conftest.$ac_objext
5.15899 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
5.15900 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
5.15901 -_lt_compiler_boilerplate=`cat conftest.err`
5.15902 -$rm conftest*
5.15903 -
5.15904 -ac_outfile=conftest.$ac_objext
5.15905 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
5.15906 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
5.15907 -_lt_linker_boilerplate=`cat conftest.err`
5.15908 -$rm conftest*
5.15909 -
5.15910 -
5.15911 -# Allow CC to be a program name with arguments.
5.15912 -lt_save_CC="$CC"
5.15913 -CC=${GCJ-"gcj"}
5.15914 -compiler=$CC
5.15915 -compiler_GCJ=$CC
5.15916 -for cc_temp in $compiler""; do
5.15917 - case $cc_temp in
5.15918 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5.15919 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
5.15920 - \-*) ;;
5.15921 - *) break;;
5.15922 - esac
5.15923 -done
5.15924 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
5.15925 -
5.15926 -
5.15927 -# GCJ did not exist at the time GCC didn't implicitly link libc in.
5.15928 -archive_cmds_need_lc_GCJ=no
5.15929 -
5.15930 -old_archive_cmds_GCJ=$old_archive_cmds
5.15931 -
5.15932 -## CAVEAT EMPTOR:
5.15933 -## There is no encapsulation within the following macros, do not change
5.15934 -## the running order or otherwise move them around unless you know exactly
5.15935 -## what you are doing...
5.15936 -
5.15937 -lt_prog_compiler_no_builtin_flag_GCJ=
5.15938 -
5.15939 -if test "$GCC" = yes; then
5.15940 - lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
5.15941 -
5.15942 -
5.15943 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
5.15944 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
5.15945 -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
5.15946 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.15947 -else
5.15948 - lt_cv_prog_compiler_rtti_exceptions=no
5.15949 - ac_outfile=conftest.$ac_objext
5.15950 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
5.15951 - lt_compiler_flag="-fno-rtti -fno-exceptions"
5.15952 - # Insert the option either (1) after the last *FLAGS variable, or
5.15953 - # (2) before a word containing "conftest.", or (3) at the end.
5.15954 - # Note that $ac_compile itself does not contain backslashes and begins
5.15955 - # with a dollar sign (not a hyphen), so the echo should work correctly.
5.15956 - # The option is referenced via a variable to avoid confusing sed.
5.15957 - lt_compile=`echo "$ac_compile" | $SED \
5.15958 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5.15959 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
5.15960 - -e 's:$: $lt_compiler_flag:'`
5.15961 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
5.15962 - (eval "$lt_compile" 2>conftest.err)
5.15963 - ac_status=$?
5.15964 - cat conftest.err >&5
5.15965 - echo "$as_me:__oline__: \$? = $ac_status" >&5
5.15966 - if (exit $ac_status) && test -s "$ac_outfile"; then
5.15967 - # The compiler can only warn and ignore the option if not recognized
5.15968 - # So say no if there are warnings other than the usual output.
5.15969 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
5.15970 - $SED '/^$/d' conftest.err >conftest.er2
5.15971 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
5.15972 - lt_cv_prog_compiler_rtti_exceptions=yes
5.15973 - fi
5.15974 - fi
5.15975 - $rm conftest*
5.15976 -
5.15977 -fi
5.15978 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
5.15979 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
5.15980 -
5.15981 -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
5.15982 - lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
5.15983 -else
5.15984 - :
5.15985 -fi
5.15986 -
5.15987 -fi
5.15988 -
5.15989 -lt_prog_compiler_wl_GCJ=
5.15990 -lt_prog_compiler_pic_GCJ=
5.15991 -lt_prog_compiler_static_GCJ=
5.15992 -
5.15993 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
5.15994 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
5.15995 -
5.15996 - if test "$GCC" = yes; then
5.15997 - lt_prog_compiler_wl_GCJ='-Wl,'
5.15998 - lt_prog_compiler_static_GCJ='-static'
5.15999 -
5.16000 - case $host_os in
5.16001 - aix*)
5.16002 - # All AIX code is PIC.
5.16003 - if test "$host_cpu" = ia64; then
5.16004 - # AIX 5 now supports IA64 processor
5.16005 - lt_prog_compiler_static_GCJ='-Bstatic'
5.16006 - fi
5.16007 - ;;
5.16008 -
5.16009 - amigaos*)
5.16010 - # FIXME: we need at least 68020 code to build shared libraries, but
5.16011 - # adding the `-m68020' flag to GCC prevents building anything better,
5.16012 - # like `-m68040'.
5.16013 - lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
5.16014 - ;;
5.16015 -
5.16016 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5.16017 - # PIC is the default for these OSes.
5.16018 - ;;
5.16019 -
5.16020 - mingw* | pw32* | os2*)
5.16021 - # This hack is so that the source file can tell whether it is being
5.16022 - # built for inclusion in a dll (and should export symbols for example).
5.16023 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
5.16024 - ;;
5.16025 -
5.16026 - darwin* | rhapsody*)
5.16027 - # PIC is the default on this platform
5.16028 - # Common symbols not allowed in MH_DYLIB files
5.16029 - lt_prog_compiler_pic_GCJ='-fno-common'
5.16030 - ;;
5.16031 -
5.16032 - msdosdjgpp*)
5.16033 - # Just because we use GCC doesn't mean we suddenly get shared libraries
5.16034 - # on systems that don't support them.
5.16035 - lt_prog_compiler_can_build_shared_GCJ=no
5.16036 - enable_shared=no
5.16037 - ;;
5.16038 -
5.16039 - sysv4*MP*)
5.16040 - if test -d /usr/nec; then
5.16041 - lt_prog_compiler_pic_GCJ=-Kconform_pic
5.16042 - fi
5.16043 - ;;
5.16044 -
5.16045 - hpux*)
5.16046 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5.16047 - # not for PA HP-UX.
5.16048 - case $host_cpu in
5.16049 - hppa*64*|ia64*)
5.16050 - # +Z the default
5.16051 - ;;
5.16052 - *)
5.16053 - lt_prog_compiler_pic_GCJ='-fPIC'
5.16054 - ;;
5.16055 - esac
5.16056 - ;;
5.16057 -
5.16058 - *)
5.16059 - lt_prog_compiler_pic_GCJ='-fPIC'
5.16060 - ;;
5.16061 - esac
5.16062 - else
5.16063 - # PORTME Check for flag to pass linker flags through the system compiler.
5.16064 - case $host_os in
5.16065 - aix*)
5.16066 - lt_prog_compiler_wl_GCJ='-Wl,'
5.16067 - if test "$host_cpu" = ia64; then
5.16068 - # AIX 5 now supports IA64 processor
5.16069 - lt_prog_compiler_static_GCJ='-Bstatic'
5.16070 - else
5.16071 - lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
5.16072 - fi
5.16073 - ;;
5.16074 - darwin*)
5.16075 - # PIC is the default on this platform
5.16076 - # Common symbols not allowed in MH_DYLIB files
5.16077 - case $cc_basename in
5.16078 - xlc*)
5.16079 - lt_prog_compiler_pic_GCJ='-qnocommon'
5.16080 - lt_prog_compiler_wl_GCJ='-Wl,'
5.16081 - ;;
5.16082 - esac
5.16083 - ;;
5.16084 -
5.16085 - mingw* | pw32* | os2*)
5.16086 - # This hack is so that the source file can tell whether it is being
5.16087 - # built for inclusion in a dll (and should export symbols for example).
5.16088 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
5.16089 - ;;
5.16090 -
5.16091 - hpux9* | hpux10* | hpux11*)
5.16092 - lt_prog_compiler_wl_GCJ='-Wl,'
5.16093 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5.16094 - # not for PA HP-UX.
5.16095 - case $host_cpu in
5.16096 - hppa*64*|ia64*)
5.16097 - # +Z the default
5.16098 - ;;
5.16099 - *)
5.16100 - lt_prog_compiler_pic_GCJ='+Z'
5.16101 - ;;
5.16102 - esac
5.16103 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
5.16104 - lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
5.16105 - ;;
5.16106 -
5.16107 - irix5* | irix6* | nonstopux*)
5.16108 - lt_prog_compiler_wl_GCJ='-Wl,'
5.16109 - # PIC (with -KPIC) is the default.
5.16110 - lt_prog_compiler_static_GCJ='-non_shared'
5.16111 - ;;
5.16112 -
5.16113 - newsos6)
5.16114 - lt_prog_compiler_pic_GCJ='-KPIC'
5.16115 - lt_prog_compiler_static_GCJ='-Bstatic'
5.16116 - ;;
5.16117 -
5.16118 - linux*)
5.16119 - case $cc_basename in
5.16120 - icc* | ecc*)
5.16121 - lt_prog_compiler_wl_GCJ='-Wl,'
5.16122 - lt_prog_compiler_pic_GCJ='-KPIC'
5.16123 - lt_prog_compiler_static_GCJ='-static'
5.16124 - ;;
5.16125 - pgcc* | pgf77* | pgf90* | pgf95*)
5.16126 - # Portland Group compilers (*not* the Pentium gcc compiler,
5.16127 - # which looks to be a dead project)
5.16128 - lt_prog_compiler_wl_GCJ='-Wl,'
5.16129 - lt_prog_compiler_pic_GCJ='-fpic'
5.16130 - lt_prog_compiler_static_GCJ='-Bstatic'
5.16131 - ;;
5.16132 - ccc*)
5.16133 - lt_prog_compiler_wl_GCJ='-Wl,'
5.16134 - # All Alpha code is PIC.
5.16135 - lt_prog_compiler_static_GCJ='-non_shared'
5.16136 - ;;
5.16137 - esac
5.16138 - ;;
5.16139 -
5.16140 - osf3* | osf4* | osf5*)
5.16141 - lt_prog_compiler_wl_GCJ='-Wl,'
5.16142 - # All OSF/1 code is PIC.
5.16143 - lt_prog_compiler_static_GCJ='-non_shared'
5.16144 - ;;
5.16145 -
5.16146 - sco3.2v5*)
5.16147 - lt_prog_compiler_pic_GCJ='-Kpic'
5.16148 - lt_prog_compiler_static_GCJ='-dn'
5.16149 - ;;
5.16150 -
5.16151 - solaris*)
5.16152 - lt_prog_compiler_pic_GCJ='-KPIC'
5.16153 - lt_prog_compiler_static_GCJ='-Bstatic'
5.16154 - case $cc_basename in
5.16155 - f77* | f90* | f95*)
5.16156 - lt_prog_compiler_wl_GCJ='-Qoption ld ';;
5.16157 - *)
5.16158 - lt_prog_compiler_wl_GCJ='-Wl,';;
5.16159 - esac
5.16160 - ;;
5.16161 -
5.16162 - sunos4*)
5.16163 - lt_prog_compiler_wl_GCJ='-Qoption ld '
5.16164 - lt_prog_compiler_pic_GCJ='-PIC'
5.16165 - lt_prog_compiler_static_GCJ='-Bstatic'
5.16166 - ;;
5.16167 -
5.16168 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5.16169 - lt_prog_compiler_wl_GCJ='-Wl,'
5.16170 - lt_prog_compiler_pic_GCJ='-KPIC'
5.16171 - lt_prog_compiler_static_GCJ='-Bstatic'
5.16172 - ;;
5.16173 -
5.16174 - sysv4*MP*)
5.16175 - if test -d /usr/nec ;then
5.16176 - lt_prog_compiler_pic_GCJ='-Kconform_pic'
5.16177 - lt_prog_compiler_static_GCJ='-Bstatic'
5.16178 - fi
5.16179 - ;;
5.16180 -
5.16181 - unicos*)
5.16182 - lt_prog_compiler_wl_GCJ='-Wl,'
5.16183 - lt_prog_compiler_can_build_shared_GCJ=no
5.16184 - ;;
5.16185 -
5.16186 - uts4*)
5.16187 - lt_prog_compiler_pic_GCJ='-pic'
5.16188 - lt_prog_compiler_static_GCJ='-Bstatic'
5.16189 - ;;
5.16190 -
5.16191 - *)
5.16192 - lt_prog_compiler_can_build_shared_GCJ=no
5.16193 - ;;
5.16194 - esac
5.16195 - fi
5.16196 -
5.16197 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
5.16198 -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
5.16199 -
5.16200 -#
5.16201 -# Check to make sure the PIC flag actually works.
5.16202 -#
5.16203 -if test -n "$lt_prog_compiler_pic_GCJ"; then
5.16204 -
5.16205 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
5.16206 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
5.16207 -if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
5.16208 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.16209 -else
5.16210 - lt_prog_compiler_pic_works_GCJ=no
5.16211 - ac_outfile=conftest.$ac_objext
5.16212 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
5.16213 - lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
5.16214 - # Insert the option either (1) after the last *FLAGS variable, or
5.16215 - # (2) before a word containing "conftest.", or (3) at the end.
5.16216 - # Note that $ac_compile itself does not contain backslashes and begins
5.16217 - # with a dollar sign (not a hyphen), so the echo should work correctly.
5.16218 - # The option is referenced via a variable to avoid confusing sed.
5.16219 - lt_compile=`echo "$ac_compile" | $SED \
5.16220 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5.16221 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
5.16222 - -e 's:$: $lt_compiler_flag:'`
5.16223 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
5.16224 - (eval "$lt_compile" 2>conftest.err)
5.16225 - ac_status=$?
5.16226 - cat conftest.err >&5
5.16227 - echo "$as_me:__oline__: \$? = $ac_status" >&5
5.16228 - if (exit $ac_status) && test -s "$ac_outfile"; then
5.16229 - # The compiler can only warn and ignore the option if not recognized
5.16230 - # So say no if there are warnings other than the usual output.
5.16231 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
5.16232 - $SED '/^$/d' conftest.err >conftest.er2
5.16233 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
5.16234 - lt_prog_compiler_pic_works_GCJ=yes
5.16235 - fi
5.16236 - fi
5.16237 - $rm conftest*
5.16238 -
5.16239 -fi
5.16240 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
5.16241 -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
5.16242 -
5.16243 -if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
5.16244 - case $lt_prog_compiler_pic_GCJ in
5.16245 - "" | " "*) ;;
5.16246 - *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
5.16247 - esac
5.16248 -else
5.16249 - lt_prog_compiler_pic_GCJ=
5.16250 - lt_prog_compiler_can_build_shared_GCJ=no
5.16251 -fi
5.16252 -
5.16253 -fi
5.16254 -case $host_os in
5.16255 - # For platforms which do not support PIC, -DPIC is meaningless:
5.16256 - *djgpp*)
5.16257 - lt_prog_compiler_pic_GCJ=
5.16258 - ;;
5.16259 - *)
5.16260 - lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
5.16261 - ;;
5.16262 -esac
5.16263 -
5.16264 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
5.16265 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
5.16266 -if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
5.16267 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.16268 -else
5.16269 - lt_cv_prog_compiler_c_o_GCJ=no
5.16270 - $rm -r conftest 2>/dev/null
5.16271 - mkdir conftest
5.16272 - cd conftest
5.16273 - mkdir out
5.16274 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
5.16275 -
5.16276 - lt_compiler_flag="-o out/conftest2.$ac_objext"
5.16277 - # Insert the option either (1) after the last *FLAGS variable, or
5.16278 - # (2) before a word containing "conftest.", or (3) at the end.
5.16279 - # Note that $ac_compile itself does not contain backslashes and begins
5.16280 - # with a dollar sign (not a hyphen), so the echo should work correctly.
5.16281 - lt_compile=`echo "$ac_compile" | $SED \
5.16282 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5.16283 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
5.16284 - -e 's:$: $lt_compiler_flag:'`
5.16285 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
5.16286 - (eval "$lt_compile" 2>out/conftest.err)
5.16287 - ac_status=$?
5.16288 - cat out/conftest.err >&5
5.16289 - echo "$as_me:__oline__: \$? = $ac_status" >&5
5.16290 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
5.16291 - then
5.16292 - # The compiler can only warn and ignore the option if not recognized
5.16293 - # So say no if there are warnings
5.16294 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
5.16295 - $SED '/^$/d' out/conftest.err >out/conftest.er2
5.16296 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
5.16297 - lt_cv_prog_compiler_c_o_GCJ=yes
5.16298 - fi
5.16299 - fi
5.16300 - chmod u+w . 2>&5
5.16301 - $rm conftest*
5.16302 - # SGI C++ compiler will create directory out/ii_files/ for
5.16303 - # template instantiation
5.16304 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
5.16305 - $rm out/* && rmdir out
5.16306 - cd ..
5.16307 - rmdir conftest
5.16308 - $rm conftest*
5.16309 -
5.16310 -fi
5.16311 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
5.16312 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
5.16313 -
5.16314 -
5.16315 -hard_links="nottested"
5.16316 -if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
5.16317 - # do not overwrite the value of need_locks provided by the user
5.16318 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
5.16319 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
5.16320 - hard_links=yes
5.16321 - $rm conftest*
5.16322 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
5.16323 - touch conftest.a
5.16324 - ln conftest.a conftest.b 2>&5 || hard_links=no
5.16325 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
5.16326 - echo "$as_me:$LINENO: result: $hard_links" >&5
5.16327 -echo "${ECHO_T}$hard_links" >&6
5.16328 - if test "$hard_links" = no; then
5.16329 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
5.16330 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
5.16331 - need_locks=warn
5.16332 - fi
5.16333 -else
5.16334 - need_locks=no
5.16335 -fi
5.16336 -
5.16337 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
5.16338 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
5.16339 -
5.16340 - runpath_var=
5.16341 - allow_undefined_flag_GCJ=
5.16342 - enable_shared_with_static_runtimes_GCJ=no
5.16343 - archive_cmds_GCJ=
5.16344 - archive_expsym_cmds_GCJ=
5.16345 - old_archive_From_new_cmds_GCJ=
5.16346 - old_archive_from_expsyms_cmds_GCJ=
5.16347 - export_dynamic_flag_spec_GCJ=
5.16348 - whole_archive_flag_spec_GCJ=
5.16349 - thread_safe_flag_spec_GCJ=
5.16350 - hardcode_libdir_flag_spec_GCJ=
5.16351 - hardcode_libdir_flag_spec_ld_GCJ=
5.16352 - hardcode_libdir_separator_GCJ=
5.16353 - hardcode_direct_GCJ=no
5.16354 - hardcode_minus_L_GCJ=no
5.16355 - hardcode_shlibpath_var_GCJ=unsupported
5.16356 - link_all_deplibs_GCJ=unknown
5.16357 - hardcode_automatic_GCJ=no
5.16358 - module_cmds_GCJ=
5.16359 - module_expsym_cmds_GCJ=
5.16360 - always_export_symbols_GCJ=no
5.16361 - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5.16362 - # include_expsyms should be a list of space-separated symbols to be *always*
5.16363 - # included in the symbol list
5.16364 - include_expsyms_GCJ=
5.16365 - # exclude_expsyms can be an extended regexp of symbols to exclude
5.16366 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
5.16367 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
5.16368 - # as well as any symbol that contains `d'.
5.16369 - exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
5.16370 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
5.16371 - # platforms (ab)use it in PIC code, but their linkers get confused if
5.16372 - # the symbol is explicitly referenced. Since portable code cannot
5.16373 - # rely on this symbol name, it's probably fine to never include it in
5.16374 - # preloaded symbol tables.
5.16375 - extract_expsyms_cmds=
5.16376 - # Just being paranoid about ensuring that cc_basename is set.
5.16377 - for cc_temp in $compiler""; do
5.16378 - case $cc_temp in
5.16379 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5.16380 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
5.16381 - \-*) ;;
5.16382 - *) break;;
5.16383 - esac
5.16384 -done
5.16385 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
5.16386 -
5.16387 - case $host_os in
5.16388 - cygwin* | mingw* | pw32*)
5.16389 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
5.16390 - # When not using gcc, we currently assume that we are using
5.16391 - # Microsoft Visual C++.
5.16392 - if test "$GCC" != yes; then
5.16393 - with_gnu_ld=no
5.16394 - fi
5.16395 - ;;
5.16396 - openbsd*)
5.16397 - with_gnu_ld=no
5.16398 - ;;
5.16399 - esac
5.16400 -
5.16401 - ld_shlibs_GCJ=yes
5.16402 - if test "$with_gnu_ld" = yes; then
5.16403 - # If archive_cmds runs LD, not CC, wlarc should be empty
5.16404 - wlarc='${wl}'
5.16405 -
5.16406 - # Set some defaults for GNU ld with shared library support. These
5.16407 - # are reset later if shared libraries are not supported. Putting them
5.16408 - # here allows them to be overridden if necessary.
5.16409 - runpath_var=LD_RUN_PATH
5.16410 - hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
5.16411 - export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
5.16412 - # ancient GNU ld didn't support --whole-archive et. al.
5.16413 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
5.16414 - whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
5.16415 - else
5.16416 - whole_archive_flag_spec_GCJ=
5.16417 - fi
5.16418 - supports_anon_versioning=no
5.16419 - case `$LD -v 2>/dev/null` in
5.16420 - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
5.16421 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
5.16422 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
5.16423 - *\ 2.11.*) ;; # other 2.11 versions
5.16424 - *) supports_anon_versioning=yes ;;
5.16425 - esac
5.16426 -
5.16427 - # See if GNU ld supports shared libraries.
5.16428 - case $host_os in
5.16429 - aix3* | aix4* | aix5*)
5.16430 - # On AIX/PPC, the GNU linker is very broken
5.16431 - if test "$host_cpu" != ia64; then
5.16432 - ld_shlibs_GCJ=no
5.16433 - cat <<EOF 1>&2
5.16434 -
5.16435 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
5.16436 -*** to be unable to reliably create shared libraries on AIX.
5.16437 -*** Therefore, libtool is disabling shared libraries support. If you
5.16438 -*** really care for shared libraries, you may want to modify your PATH
5.16439 -*** so that a non-GNU linker is found, and then restart.
5.16440 -
5.16441 -EOF
5.16442 - fi
5.16443 - ;;
5.16444 -
5.16445 - amigaos*)
5.16446 - archive_cmds_GCJ='$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)'
5.16447 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
5.16448 - hardcode_minus_L_GCJ=yes
5.16449 -
5.16450 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
5.16451 - # that the semantics of dynamic libraries on AmigaOS, at least up
5.16452 - # to version 4, is to share data among multiple programs linked
5.16453 - # with the same dynamic library. Since this doesn't match the
5.16454 - # behavior of shared libraries on other platforms, we can't use
5.16455 - # them.
5.16456 - ld_shlibs_GCJ=no
5.16457 - ;;
5.16458 -
5.16459 - beos*)
5.16460 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5.16461 - allow_undefined_flag_GCJ=unsupported
5.16462 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
5.16463 - # support --undefined. This deserves some investigation. FIXME
5.16464 - archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.16465 - else
5.16466 - ld_shlibs_GCJ=no
5.16467 - fi
5.16468 - ;;
5.16469 -
5.16470 - cygwin* | mingw* | pw32*)
5.16471 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
5.16472 - # as there is no search path for DLLs.
5.16473 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
5.16474 - allow_undefined_flag_GCJ=unsupported
5.16475 - always_export_symbols_GCJ=no
5.16476 - enable_shared_with_static_runtimes_GCJ=yes
5.16477 - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
5.16478 -
5.16479 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
5.16480 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5.16481 - # If the export-symbols file already is a .def file (1st line
5.16482 - # is EXPORTS), use it as is; otherwise, prepend...
5.16483 - archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5.16484 - cp $export_symbols $output_objdir/$soname.def;
5.16485 - else
5.16486 - echo EXPORTS > $output_objdir/$soname.def;
5.16487 - cat $export_symbols >> $output_objdir/$soname.def;
5.16488 - fi~
5.16489 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5.16490 - else
5.16491 - ld_shlibs_GCJ=no
5.16492 - fi
5.16493 - ;;
5.16494 -
5.16495 - linux*)
5.16496 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5.16497 - tmp_addflag=
5.16498 - case $cc_basename,$host_cpu in
5.16499 - pgcc*) # Portland Group C compiler
5.16500 - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
5.16501 - tmp_addflag=' $pic_flag'
5.16502 - ;;
5.16503 - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
5.16504 - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
5.16505 - tmp_addflag=' $pic_flag -Mnomain' ;;
5.16506 - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
5.16507 - tmp_addflag=' -i_dynamic' ;;
5.16508 - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
5.16509 - tmp_addflag=' -i_dynamic -nofor_main' ;;
5.16510 - ifc* | ifort*) # Intel Fortran compiler
5.16511 - tmp_addflag=' -nofor_main' ;;
5.16512 - esac
5.16513 - archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.16514 -
5.16515 - if test $supports_anon_versioning = yes; then
5.16516 - archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
5.16517 - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5.16518 - $echo "local: *; };" >> $output_objdir/$libname.ver~
5.16519 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5.16520 - fi
5.16521 - else
5.16522 - ld_shlibs_GCJ=no
5.16523 - fi
5.16524 - ;;
5.16525 -
5.16526 - netbsd*)
5.16527 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5.16528 - archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5.16529 - wlarc=
5.16530 - else
5.16531 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.16532 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5.16533 - fi
5.16534 - ;;
5.16535 -
5.16536 - solaris* | sysv5*)
5.16537 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
5.16538 - ld_shlibs_GCJ=no
5.16539 - cat <<EOF 1>&2
5.16540 -
5.16541 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
5.16542 -*** create shared libraries on Solaris systems. Therefore, libtool
5.16543 -*** is disabling shared libraries support. We urge you to upgrade GNU
5.16544 -*** binutils to release 2.9.1 or newer. Another option is to modify
5.16545 -*** your PATH or compiler configuration so that the native linker is
5.16546 -*** used, and then restart.
5.16547 -
5.16548 -EOF
5.16549 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5.16550 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.16551 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5.16552 - else
5.16553 - ld_shlibs_GCJ=no
5.16554 - fi
5.16555 - ;;
5.16556 -
5.16557 - sunos4*)
5.16558 - archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5.16559 - wlarc=
5.16560 - hardcode_direct_GCJ=yes
5.16561 - hardcode_shlibpath_var_GCJ=no
5.16562 - ;;
5.16563 -
5.16564 - *)
5.16565 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5.16566 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5.16567 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5.16568 - else
5.16569 - ld_shlibs_GCJ=no
5.16570 - fi
5.16571 - ;;
5.16572 - esac
5.16573 -
5.16574 - if test "$ld_shlibs_GCJ" = no; then
5.16575 - runpath_var=
5.16576 - hardcode_libdir_flag_spec_GCJ=
5.16577 - export_dynamic_flag_spec_GCJ=
5.16578 - whole_archive_flag_spec_GCJ=
5.16579 - fi
5.16580 - else
5.16581 - # PORTME fill in a description of your system's linker (not GNU ld)
5.16582 - case $host_os in
5.16583 - aix3*)
5.16584 - allow_undefined_flag_GCJ=unsupported
5.16585 - always_export_symbols_GCJ=yes
5.16586 - archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
5.16587 - # Note: this linker hardcodes the directories in LIBPATH if there
5.16588 - # are no directories specified by -L.
5.16589 - hardcode_minus_L_GCJ=yes
5.16590 - if test "$GCC" = yes && test -z "$link_static_flag"; then
5.16591 - # Neither direct hardcoding nor static linking is supported with a
5.16592 - # broken collect2.
5.16593 - hardcode_direct_GCJ=unsupported
5.16594 - fi
5.16595 - ;;
5.16596 -
5.16597 - aix4* | aix5*)
5.16598 - if test "$host_cpu" = ia64; then
5.16599 - # On IA64, the linker does run time linking by default, so we don't
5.16600 - # have to do anything special.
5.16601 - aix_use_runtimelinking=no
5.16602 - exp_sym_flag='-Bexport'
5.16603 - no_entry_flag=""
5.16604 - else
5.16605 - # If we're using GNU nm, then we don't want the "-C" option.
5.16606 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
5.16607 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
5.16608 - export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
5.16609 - else
5.16610 - export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
5.16611 - fi
5.16612 - aix_use_runtimelinking=no
5.16613 -
5.16614 - # Test if we are trying to use run time linking or normal
5.16615 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5.16616 - # need to do runtime linking.
5.16617 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
5.16618 - for ld_flag in $LDFLAGS; do
5.16619 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
5.16620 - aix_use_runtimelinking=yes
5.16621 - break
5.16622 - fi
5.16623 - done
5.16624 - esac
5.16625 -
5.16626 - exp_sym_flag='-bexport'
5.16627 - no_entry_flag='-bnoentry'
5.16628 - fi
5.16629 -
5.16630 - # When large executables or shared objects are built, AIX ld can
5.16631 - # have problems creating the table of contents. If linking a library
5.16632 - # or program results in "error TOC overflow" add -mminimal-toc to
5.16633 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
5.16634 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5.16635 -
5.16636 - archive_cmds_GCJ=''
5.16637 - hardcode_direct_GCJ=yes
5.16638 - hardcode_libdir_separator_GCJ=':'
5.16639 - link_all_deplibs_GCJ=yes
5.16640 -
5.16641 - if test "$GCC" = yes; then
5.16642 - case $host_os in aix4.[012]|aix4.[012].*)
5.16643 - # We only want to do this on AIX 4.2 and lower, the check
5.16644 - # below for broken collect2 doesn't work under 4.3+
5.16645 - collect2name=`${CC} -print-prog-name=collect2`
5.16646 - if test -f "$collect2name" && \
5.16647 - strings "$collect2name" | grep resolve_lib_name >/dev/null
5.16648 - then
5.16649 - # We have reworked collect2
5.16650 - hardcode_direct_GCJ=yes
5.16651 - else
5.16652 - # We have old collect2
5.16653 - hardcode_direct_GCJ=unsupported
5.16654 - # It fails to find uninstalled libraries when the uninstalled
5.16655 - # path is not listed in the libpath. Setting hardcode_minus_L
5.16656 - # to unsupported forces relinking
5.16657 - hardcode_minus_L_GCJ=yes
5.16658 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
5.16659 - hardcode_libdir_separator_GCJ=
5.16660 - fi
5.16661 - esac
5.16662 - shared_flag='-shared'
5.16663 - if test "$aix_use_runtimelinking" = yes; then
5.16664 - shared_flag="$shared_flag "'${wl}-G'
5.16665 - fi
5.16666 - else
5.16667 - # not using gcc
5.16668 - if test "$host_cpu" = ia64; then
5.16669 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5.16670 - # chokes on -Wl,-G. The following line is correct:
5.16671 - shared_flag='-G'
5.16672 - else
5.16673 - if test "$aix_use_runtimelinking" = yes; then
5.16674 - shared_flag='${wl}-G'
5.16675 - else
5.16676 - shared_flag='${wl}-bM:SRE'
5.16677 - fi
5.16678 - fi
5.16679 - fi
5.16680 -
5.16681 - # It seems that -bexpall does not export symbols beginning with
5.16682 - # underscore (_), so it is better to generate a list of symbols to export.
5.16683 - always_export_symbols_GCJ=yes
5.16684 - if test "$aix_use_runtimelinking" = yes; then
5.16685 - # Warning - without using the other runtime loading flags (-brtl),
5.16686 - # -berok will link without error, but may produce a broken library.
5.16687 - allow_undefined_flag_GCJ='-berok'
5.16688 - # Determine the default libpath from the value encoded in an empty executable.
5.16689 - cat >conftest.$ac_ext <<_ACEOF
5.16690 -/* confdefs.h. */
5.16691 -_ACEOF
5.16692 -cat confdefs.h >>conftest.$ac_ext
5.16693 -cat >>conftest.$ac_ext <<_ACEOF
5.16694 -/* end confdefs.h. */
5.16695 -
5.16696 -int
5.16697 -main ()
5.16698 -{
5.16699 -
5.16700 - ;
5.16701 - return 0;
5.16702 -}
5.16703 -_ACEOF
5.16704 -rm -f conftest.$ac_objext conftest$ac_exeext
5.16705 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.16706 - (eval $ac_link) 2>conftest.er1
5.16707 - ac_status=$?
5.16708 - grep -v '^ *+' conftest.er1 >conftest.err
5.16709 - rm -f conftest.er1
5.16710 - cat conftest.err >&5
5.16711 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.16712 - (exit $ac_status); } &&
5.16713 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.16714 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.16715 - (eval $ac_try) 2>&5
5.16716 - ac_status=$?
5.16717 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.16718 - (exit $ac_status); }; } &&
5.16719 - { ac_try='test -s conftest$ac_exeext'
5.16720 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.16721 - (eval $ac_try) 2>&5
5.16722 - ac_status=$?
5.16723 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.16724 - (exit $ac_status); }; }; then
5.16725 -
5.16726 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
5.16727 -}'`
5.16728 -# Check for a 64-bit object if we didn't find anything.
5.16729 -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; }
5.16730 -}'`; fi
5.16731 -else
5.16732 - echo "$as_me: failed program was:" >&5
5.16733 -sed 's/^/| /' conftest.$ac_ext >&5
5.16734 -
5.16735 -fi
5.16736 -rm -f conftest.err conftest.$ac_objext \
5.16737 - conftest$ac_exeext conftest.$ac_ext
5.16738 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
5.16739 -
5.16740 - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
5.16741 - archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5.16742 - else
5.16743 - if test "$host_cpu" = ia64; then
5.16744 - hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
5.16745 - allow_undefined_flag_GCJ="-z nodefs"
5.16746 - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
5.16747 - else
5.16748 - # Determine the default libpath from the value encoded in an empty executable.
5.16749 - cat >conftest.$ac_ext <<_ACEOF
5.16750 -/* confdefs.h. */
5.16751 -_ACEOF
5.16752 -cat confdefs.h >>conftest.$ac_ext
5.16753 -cat >>conftest.$ac_ext <<_ACEOF
5.16754 -/* end confdefs.h. */
5.16755 -
5.16756 -int
5.16757 -main ()
5.16758 -{
5.16759 -
5.16760 - ;
5.16761 - return 0;
5.16762 -}
5.16763 -_ACEOF
5.16764 -rm -f conftest.$ac_objext conftest$ac_exeext
5.16765 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.16766 - (eval $ac_link) 2>conftest.er1
5.16767 - ac_status=$?
5.16768 - grep -v '^ *+' conftest.er1 >conftest.err
5.16769 - rm -f conftest.er1
5.16770 - cat conftest.err >&5
5.16771 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.16772 - (exit $ac_status); } &&
5.16773 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.16774 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.16775 - (eval $ac_try) 2>&5
5.16776 - ac_status=$?
5.16777 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.16778 - (exit $ac_status); }; } &&
5.16779 - { ac_try='test -s conftest$ac_exeext'
5.16780 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.16781 - (eval $ac_try) 2>&5
5.16782 - ac_status=$?
5.16783 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.16784 - (exit $ac_status); }; }; then
5.16785 -
5.16786 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
5.16787 -}'`
5.16788 -# Check for a 64-bit object if we didn't find anything.
5.16789 -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; }
5.16790 -}'`; fi
5.16791 -else
5.16792 - echo "$as_me: failed program was:" >&5
5.16793 -sed 's/^/| /' conftest.$ac_ext >&5
5.16794 -
5.16795 -fi
5.16796 -rm -f conftest.err conftest.$ac_objext \
5.16797 - conftest$ac_exeext conftest.$ac_ext
5.16798 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
5.16799 -
5.16800 - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
5.16801 - # Warning - without using the other run time loading flags,
5.16802 - # -berok will link without error, but may produce a broken library.
5.16803 - no_undefined_flag_GCJ=' ${wl}-bernotok'
5.16804 - allow_undefined_flag_GCJ=' ${wl}-berok'
5.16805 - # -bexpall does not export symbols beginning with underscore (_)
5.16806 - always_export_symbols_GCJ=yes
5.16807 - # Exported symbols can be pulled into shared objects from archives
5.16808 - whole_archive_flag_spec_GCJ=' '
5.16809 - archive_cmds_need_lc_GCJ=yes
5.16810 - # This is similar to how AIX traditionally builds its shared libraries.
5.16811 - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
5.16812 - fi
5.16813 - fi
5.16814 - ;;
5.16815 -
5.16816 - amigaos*)
5.16817 - archive_cmds_GCJ='$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)'
5.16818 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
5.16819 - hardcode_minus_L_GCJ=yes
5.16820 - # see comment about different semantics on the GNU ld section
5.16821 - ld_shlibs_GCJ=no
5.16822 - ;;
5.16823 -
5.16824 - bsdi[45]*)
5.16825 - export_dynamic_flag_spec_GCJ=-rdynamic
5.16826 - ;;
5.16827 -
5.16828 - cygwin* | mingw* | pw32*)
5.16829 - # When not using gcc, we currently assume that we are using
5.16830 - # Microsoft Visual C++.
5.16831 - # hardcode_libdir_flag_spec is actually meaningless, as there is
5.16832 - # no search path for DLLs.
5.16833 - hardcode_libdir_flag_spec_GCJ=' '
5.16834 - allow_undefined_flag_GCJ=unsupported
5.16835 - # Tell ltmain to make .lib files, not .a files.
5.16836 - libext=lib
5.16837 - # Tell ltmain to make .dll files, not .so files.
5.16838 - shrext_cmds=".dll"
5.16839 - # FIXME: Setting linknames here is a bad hack.
5.16840 - archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
5.16841 - # The linker will automatically build a .lib file if we build a DLL.
5.16842 - old_archive_From_new_cmds_GCJ='true'
5.16843 - # FIXME: Should let the user specify the lib program.
5.16844 - old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
5.16845 - fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
5.16846 - enable_shared_with_static_runtimes_GCJ=yes
5.16847 - ;;
5.16848 -
5.16849 - darwin* | rhapsody*)
5.16850 - case $host_os in
5.16851 - rhapsody* | darwin1.[012])
5.16852 - allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
5.16853 - ;;
5.16854 - *) # Darwin 1.3 on
5.16855 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
5.16856 - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
5.16857 - else
5.16858 - case ${MACOSX_DEPLOYMENT_TARGET} in
5.16859 - 10.[012])
5.16860 - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
5.16861 - ;;
5.16862 - 10.*)
5.16863 - allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
5.16864 - ;;
5.16865 - esac
5.16866 - fi
5.16867 - ;;
5.16868 - esac
5.16869 - archive_cmds_need_lc_GCJ=no
5.16870 - hardcode_direct_GCJ=no
5.16871 - hardcode_automatic_GCJ=yes
5.16872 - hardcode_shlibpath_var_GCJ=unsupported
5.16873 - whole_archive_flag_spec_GCJ=''
5.16874 - link_all_deplibs_GCJ=yes
5.16875 - if test "$GCC" = yes ; then
5.16876 - output_verbose_link_cmd='echo'
5.16877 - archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
5.16878 - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5.16879 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5.16880 - archive_expsym_cmds_GCJ='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}'
5.16881 - module_expsym_cmds_GCJ='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}'
5.16882 - else
5.16883 - case $cc_basename in
5.16884 - xlc*)
5.16885 - output_verbose_link_cmd='echo'
5.16886 - archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
5.16887 - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5.16888 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5.16889 - archive_expsym_cmds_GCJ='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}'
5.16890 - module_expsym_cmds_GCJ='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}'
5.16891 - ;;
5.16892 - *)
5.16893 - ld_shlibs_GCJ=no
5.16894 - ;;
5.16895 - esac
5.16896 - fi
5.16897 - ;;
5.16898 -
5.16899 - dgux*)
5.16900 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.16901 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
5.16902 - hardcode_shlibpath_var_GCJ=no
5.16903 - ;;
5.16904 -
5.16905 - freebsd1*)
5.16906 - ld_shlibs_GCJ=no
5.16907 - ;;
5.16908 -
5.16909 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
5.16910 - # support. Future versions do this automatically, but an explicit c++rt0.o
5.16911 - # does not break anything, and helps significantly (at the cost of a little
5.16912 - # extra space).
5.16913 - freebsd2.2*)
5.16914 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
5.16915 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
5.16916 - hardcode_direct_GCJ=yes
5.16917 - hardcode_shlibpath_var_GCJ=no
5.16918 - ;;
5.16919 -
5.16920 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
5.16921 - freebsd2*)
5.16922 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5.16923 - hardcode_direct_GCJ=yes
5.16924 - hardcode_minus_L_GCJ=yes
5.16925 - hardcode_shlibpath_var_GCJ=no
5.16926 - ;;
5.16927 -
5.16928 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5.16929 - freebsd* | kfreebsd*-gnu | dragonfly*)
5.16930 - archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
5.16931 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
5.16932 - hardcode_direct_GCJ=yes
5.16933 - hardcode_shlibpath_var_GCJ=no
5.16934 - ;;
5.16935 -
5.16936 - hpux9*)
5.16937 - if test "$GCC" = yes; then
5.16938 - archive_cmds_GCJ='$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'
5.16939 - else
5.16940 - archive_cmds_GCJ='$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'
5.16941 - fi
5.16942 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
5.16943 - hardcode_libdir_separator_GCJ=:
5.16944 - hardcode_direct_GCJ=yes
5.16945 -
5.16946 - # hardcode_minus_L: Not really in the search PATH,
5.16947 - # but as the default location of the library.
5.16948 - hardcode_minus_L_GCJ=yes
5.16949 - export_dynamic_flag_spec_GCJ='${wl}-E'
5.16950 - ;;
5.16951 -
5.16952 - hpux10* | hpux11*)
5.16953 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5.16954 - case $host_cpu in
5.16955 - hppa*64*|ia64*)
5.16956 - archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5.16957 - ;;
5.16958 - *)
5.16959 - archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5.16960 - ;;
5.16961 - esac
5.16962 - else
5.16963 - case $host_cpu in
5.16964 - hppa*64*|ia64*)
5.16965 - archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
5.16966 - ;;
5.16967 - *)
5.16968 - archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
5.16969 - ;;
5.16970 - esac
5.16971 - fi
5.16972 - if test "$with_gnu_ld" = no; then
5.16973 - case $host_cpu in
5.16974 - hppa*64*)
5.16975 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
5.16976 - hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
5.16977 - hardcode_libdir_separator_GCJ=:
5.16978 - hardcode_direct_GCJ=no
5.16979 - hardcode_shlibpath_var_GCJ=no
5.16980 - ;;
5.16981 - ia64*)
5.16982 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
5.16983 - hardcode_direct_GCJ=no
5.16984 - hardcode_shlibpath_var_GCJ=no
5.16985 -
5.16986 - # hardcode_minus_L: Not really in the search PATH,
5.16987 - # but as the default location of the library.
5.16988 - hardcode_minus_L_GCJ=yes
5.16989 - ;;
5.16990 - *)
5.16991 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
5.16992 - hardcode_libdir_separator_GCJ=:
5.16993 - hardcode_direct_GCJ=yes
5.16994 - export_dynamic_flag_spec_GCJ='${wl}-E'
5.16995 -
5.16996 - # hardcode_minus_L: Not really in the search PATH,
5.16997 - # but as the default location of the library.
5.16998 - hardcode_minus_L_GCJ=yes
5.16999 - ;;
5.17000 - esac
5.17001 - fi
5.17002 - ;;
5.17003 -
5.17004 - irix5* | irix6* | nonstopux*)
5.17005 - if test "$GCC" = yes; then
5.17006 - archive_cmds_GCJ='$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'
5.17007 - else
5.17008 - archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
5.17009 - hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
5.17010 - fi
5.17011 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
5.17012 - hardcode_libdir_separator_GCJ=:
5.17013 - link_all_deplibs_GCJ=yes
5.17014 - ;;
5.17015 -
5.17016 - netbsd*)
5.17017 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5.17018 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5.17019 - else
5.17020 - archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
5.17021 - fi
5.17022 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
5.17023 - hardcode_direct_GCJ=yes
5.17024 - hardcode_shlibpath_var_GCJ=no
5.17025 - ;;
5.17026 -
5.17027 - newsos6)
5.17028 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.17029 - hardcode_direct_GCJ=yes
5.17030 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
5.17031 - hardcode_libdir_separator_GCJ=:
5.17032 - hardcode_shlibpath_var_GCJ=no
5.17033 - ;;
5.17034 -
5.17035 - openbsd*)
5.17036 - hardcode_direct_GCJ=yes
5.17037 - hardcode_shlibpath_var_GCJ=no
5.17038 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5.17039 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5.17040 - archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
5.17041 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
5.17042 - export_dynamic_flag_spec_GCJ='${wl}-E'
5.17043 - else
5.17044 - case $host_os in
5.17045 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
5.17046 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5.17047 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
5.17048 - ;;
5.17049 - *)
5.17050 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5.17051 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
5.17052 - ;;
5.17053 - esac
5.17054 - fi
5.17055 - ;;
5.17056 -
5.17057 - os2*)
5.17058 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
5.17059 - hardcode_minus_L_GCJ=yes
5.17060 - allow_undefined_flag_GCJ=unsupported
5.17061 - archive_cmds_GCJ='$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'
5.17062 - old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
5.17063 - ;;
5.17064 -
5.17065 - osf3*)
5.17066 - if test "$GCC" = yes; then
5.17067 - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
5.17068 - archive_cmds_GCJ='$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'
5.17069 - else
5.17070 - allow_undefined_flag_GCJ=' -expect_unresolved \*'
5.17071 - archive_cmds_GCJ='$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'
5.17072 - fi
5.17073 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
5.17074 - hardcode_libdir_separator_GCJ=:
5.17075 - ;;
5.17076 -
5.17077 - osf4* | osf5*) # as osf3* with the addition of -msym flag
5.17078 - if test "$GCC" = yes; then
5.17079 - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
5.17080 - archive_cmds_GCJ='$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'
5.17081 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
5.17082 - else
5.17083 - allow_undefined_flag_GCJ=' -expect_unresolved \*'
5.17084 - archive_cmds_GCJ='$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'
5.17085 - archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
5.17086 - $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'
5.17087 -
5.17088 - # Both c and cxx compiler support -rpath directly
5.17089 - hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
5.17090 - fi
5.17091 - hardcode_libdir_separator_GCJ=:
5.17092 - ;;
5.17093 -
5.17094 - sco3.2v5*)
5.17095 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.17096 - hardcode_shlibpath_var_GCJ=no
5.17097 - export_dynamic_flag_spec_GCJ='${wl}-Bexport'
5.17098 - runpath_var=LD_RUN_PATH
5.17099 - hardcode_runpath_var=yes
5.17100 - ;;
5.17101 -
5.17102 - solaris*)
5.17103 - no_undefined_flag_GCJ=' -z text'
5.17104 - if test "$GCC" = yes; then
5.17105 - wlarc='${wl}'
5.17106 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5.17107 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5.17108 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
5.17109 - else
5.17110 - wlarc=''
5.17111 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.17112 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5.17113 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
5.17114 - fi
5.17115 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
5.17116 - hardcode_shlibpath_var_GCJ=no
5.17117 - case $host_os in
5.17118 - solaris2.[0-5] | solaris2.[0-5].*) ;;
5.17119 - *)
5.17120 - # The compiler driver will combine linker options so we
5.17121 - # cannot just pass the convience library names through
5.17122 - # without $wl, iff we do not link with $LD.
5.17123 - # Luckily, gcc supports the same syntax we need for Sun Studio.
5.17124 - # Supported since Solaris 2.6 (maybe 2.5.1?)
5.17125 - case $wlarc in
5.17126 - '')
5.17127 - whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
5.17128 - *)
5.17129 - whole_archive_flag_spec_GCJ='${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' ;;
5.17130 - esac ;;
5.17131 - esac
5.17132 - link_all_deplibs_GCJ=yes
5.17133 - ;;
5.17134 -
5.17135 - sunos4*)
5.17136 - if test "x$host_vendor" = xsequent; then
5.17137 - # Use $CC to link under sequent, because it throws in some extra .o
5.17138 - # files that make .init and .fini sections work.
5.17139 - archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5.17140 - else
5.17141 - archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
5.17142 - fi
5.17143 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
5.17144 - hardcode_direct_GCJ=yes
5.17145 - hardcode_minus_L_GCJ=yes
5.17146 - hardcode_shlibpath_var_GCJ=no
5.17147 - ;;
5.17148 -
5.17149 - sysv4)
5.17150 - case $host_vendor in
5.17151 - sni)
5.17152 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.17153 - hardcode_direct_GCJ=yes # is this really true???
5.17154 - ;;
5.17155 - siemens)
5.17156 - ## LD is ld it makes a PLAMLIB
5.17157 - ## CC just makes a GrossModule.
5.17158 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5.17159 - reload_cmds_GCJ='$CC -r -o $output$reload_objs'
5.17160 - hardcode_direct_GCJ=no
5.17161 - ;;
5.17162 - motorola)
5.17163 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.17164 - hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
5.17165 - ;;
5.17166 - esac
5.17167 - runpath_var='LD_RUN_PATH'
5.17168 - hardcode_shlibpath_var_GCJ=no
5.17169 - ;;
5.17170 -
5.17171 - sysv4.3*)
5.17172 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.17173 - hardcode_shlibpath_var_GCJ=no
5.17174 - export_dynamic_flag_spec_GCJ='-Bexport'
5.17175 - ;;
5.17176 -
5.17177 - sysv4*MP*)
5.17178 - if test -d /usr/nec; then
5.17179 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.17180 - hardcode_shlibpath_var_GCJ=no
5.17181 - runpath_var=LD_RUN_PATH
5.17182 - hardcode_runpath_var=yes
5.17183 - ld_shlibs_GCJ=yes
5.17184 - fi
5.17185 - ;;
5.17186 -
5.17187 - sysv4.2uw2*)
5.17188 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5.17189 - hardcode_direct_GCJ=yes
5.17190 - hardcode_minus_L_GCJ=no
5.17191 - hardcode_shlibpath_var_GCJ=no
5.17192 - hardcode_runpath_var=yes
5.17193 - runpath_var=LD_RUN_PATH
5.17194 - ;;
5.17195 -
5.17196 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
5.17197 - no_undefined_flag_GCJ='${wl}-z ${wl}text'
5.17198 - if test "$GCC" = yes; then
5.17199 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5.17200 - else
5.17201 - archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5.17202 - fi
5.17203 - runpath_var='LD_RUN_PATH'
5.17204 - hardcode_shlibpath_var_GCJ=no
5.17205 - ;;
5.17206 -
5.17207 - sysv5*)
5.17208 - no_undefined_flag_GCJ=' -z text'
5.17209 - # $CC -shared without GNU ld will not create a library from C++
5.17210 - # object files and a static libstdc++, better avoid it by now
5.17211 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.17212 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5.17213 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
5.17214 - hardcode_libdir_flag_spec_GCJ=
5.17215 - hardcode_shlibpath_var_GCJ=no
5.17216 - runpath_var='LD_RUN_PATH'
5.17217 - ;;
5.17218 -
5.17219 - uts4*)
5.17220 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5.17221 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
5.17222 - hardcode_shlibpath_var_GCJ=no
5.17223 - ;;
5.17224 -
5.17225 - *)
5.17226 - ld_shlibs_GCJ=no
5.17227 - ;;
5.17228 - esac
5.17229 - fi
5.17230 -
5.17231 -echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
5.17232 -echo "${ECHO_T}$ld_shlibs_GCJ" >&6
5.17233 -test "$ld_shlibs_GCJ" = no && can_build_shared=no
5.17234 -
5.17235 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
5.17236 -if test "$GCC" = yes; then
5.17237 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
5.17238 -fi
5.17239 -
5.17240 -#
5.17241 -# Do we need to explicitly link libc?
5.17242 -#
5.17243 -case "x$archive_cmds_need_lc_GCJ" in
5.17244 -x|xyes)
5.17245 - # Assume -lc should be added
5.17246 - archive_cmds_need_lc_GCJ=yes
5.17247 -
5.17248 - if test "$enable_shared" = yes && test "$GCC" = yes; then
5.17249 - case $archive_cmds_GCJ in
5.17250 - *'~'*)
5.17251 - # FIXME: we may have to deal with multi-command sequences.
5.17252 - ;;
5.17253 - '$CC '*)
5.17254 - # Test whether the compiler implicitly links with -lc since on some
5.17255 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
5.17256 - # to ld, don't add -lc before -lgcc.
5.17257 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
5.17258 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
5.17259 - $rm conftest*
5.17260 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
5.17261 -
5.17262 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.17263 - (eval $ac_compile) 2>&5
5.17264 - ac_status=$?
5.17265 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.17266 - (exit $ac_status); } 2>conftest.err; then
5.17267 - soname=conftest
5.17268 - lib=conftest
5.17269 - libobjs=conftest.$ac_objext
5.17270 - deplibs=
5.17271 - wl=$lt_prog_compiler_wl_GCJ
5.17272 - compiler_flags=-v
5.17273 - linker_flags=-v
5.17274 - verstring=
5.17275 - output_objdir=.
5.17276 - libname=conftest
5.17277 - lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
5.17278 - allow_undefined_flag_GCJ=
5.17279 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
5.17280 - (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
5.17281 - ac_status=$?
5.17282 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.17283 - (exit $ac_status); }
5.17284 - then
5.17285 - archive_cmds_need_lc_GCJ=no
5.17286 - else
5.17287 - archive_cmds_need_lc_GCJ=yes
5.17288 - fi
5.17289 - allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
5.17290 - else
5.17291 - cat conftest.err 1>&5
5.17292 - fi
5.17293 - $rm conftest*
5.17294 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
5.17295 -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
5.17296 - ;;
5.17297 - esac
5.17298 - fi
5.17299 - ;;
5.17300 -esac
5.17301 -
5.17302 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
5.17303 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
5.17304 -library_names_spec=
5.17305 -libname_spec='lib$name'
5.17306 -soname_spec=
5.17307 -shrext_cmds=".so"
5.17308 -postinstall_cmds=
5.17309 -postuninstall_cmds=
5.17310 -finish_cmds=
5.17311 -finish_eval=
5.17312 -shlibpath_var=
5.17313 -shlibpath_overrides_runpath=unknown
5.17314 -version_type=none
5.17315 -dynamic_linker="$host_os ld.so"
5.17316 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
5.17317 -if test "$GCC" = yes; then
5.17318 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
5.17319 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
5.17320 - # if the path contains ";" then we assume it to be the separator
5.17321 - # otherwise default to the standard path separator (i.e. ":") - it is
5.17322 - # assumed that no part of a normal pathname contains ";" but that should
5.17323 - # okay in the real world where ";" in dirpaths is itself problematic.
5.17324 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
5.17325 - else
5.17326 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
5.17327 - fi
5.17328 -else
5.17329 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
5.17330 -fi
5.17331 -need_lib_prefix=unknown
5.17332 -hardcode_into_libs=no
5.17333 -
5.17334 -# when you set need_version to no, make sure it does not cause -set_version
5.17335 -# flags to be left without arguments
5.17336 -need_version=unknown
5.17337 -
5.17338 -case $host_os in
5.17339 -aix3*)
5.17340 - version_type=linux
5.17341 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
5.17342 - shlibpath_var=LIBPATH
5.17343 -
5.17344 - # AIX 3 has no versioning support, so we append a major version to the name.
5.17345 - soname_spec='${libname}${release}${shared_ext}$major'
5.17346 - ;;
5.17347 -
5.17348 -aix4* | aix5*)
5.17349 - version_type=linux
5.17350 - need_lib_prefix=no
5.17351 - need_version=no
5.17352 - hardcode_into_libs=yes
5.17353 - if test "$host_cpu" = ia64; then
5.17354 - # AIX 5 supports IA64
5.17355 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
5.17356 - shlibpath_var=LD_LIBRARY_PATH
5.17357 - else
5.17358 - # With GCC up to 2.95.x, collect2 would create an import file
5.17359 - # for dependence libraries. The import file would start with
5.17360 - # the line `#! .'. This would cause the generated library to
5.17361 - # depend on `.', always an invalid library. This was fixed in
5.17362 - # development snapshots of GCC prior to 3.0.
5.17363 - case $host_os in
5.17364 - aix4 | aix4.[01] | aix4.[01].*)
5.17365 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
5.17366 - echo ' yes '
5.17367 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
5.17368 - :
5.17369 - else
5.17370 - can_build_shared=no
5.17371 - fi
5.17372 - ;;
5.17373 - esac
5.17374 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
5.17375 - # soname into executable. Probably we can add versioning support to
5.17376 - # collect2, so additional links can be useful in future.
5.17377 - if test "$aix_use_runtimelinking" = yes; then
5.17378 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
5.17379 - # instead of lib<name>.a to let people know that these are not
5.17380 - # typical AIX shared libraries.
5.17381 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.17382 - else
5.17383 - # We preserve .a as extension for shared libraries through AIX4.2
5.17384 - # and later when we are not doing run time linking.
5.17385 - library_names_spec='${libname}${release}.a $libname.a'
5.17386 - soname_spec='${libname}${release}${shared_ext}$major'
5.17387 - fi
5.17388 - shlibpath_var=LIBPATH
5.17389 - fi
5.17390 - ;;
5.17391 -
5.17392 -amigaos*)
5.17393 - library_names_spec='$libname.ixlibrary $libname.a'
5.17394 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
5.17395 - 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'
5.17396 - ;;
5.17397 -
5.17398 -beos*)
5.17399 - library_names_spec='${libname}${shared_ext}'
5.17400 - dynamic_linker="$host_os ld.so"
5.17401 - shlibpath_var=LIBRARY_PATH
5.17402 - ;;
5.17403 -
5.17404 -bsdi[45]*)
5.17405 - version_type=linux
5.17406 - need_version=no
5.17407 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.17408 - soname_spec='${libname}${release}${shared_ext}$major'
5.17409 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
5.17410 - shlibpath_var=LD_LIBRARY_PATH
5.17411 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
5.17412 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
5.17413 - # the default ld.so.conf also contains /usr/contrib/lib and
5.17414 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
5.17415 - # libtool to hard-code these into programs
5.17416 - ;;
5.17417 -
5.17418 -cygwin* | mingw* | pw32*)
5.17419 - version_type=windows
5.17420 - shrext_cmds=".dll"
5.17421 - need_version=no
5.17422 - need_lib_prefix=no
5.17423 -
5.17424 - case $GCC,$host_os in
5.17425 - yes,cygwin* | yes,mingw* | yes,pw32*)
5.17426 - library_names_spec='$libname.dll.a'
5.17427 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
5.17428 - postinstall_cmds='base_file=`basename \${file}`~
5.17429 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
5.17430 - dldir=$destdir/`dirname \$dlpath`~
5.17431 - test -d \$dldir || mkdir -p \$dldir~
5.17432 - $install_prog $dir/$dlname \$dldir/$dlname~
5.17433 - chmod a+x \$dldir/$dlname'
5.17434 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
5.17435 - dlpath=$dir/\$dldll~
5.17436 - $rm \$dlpath'
5.17437 - shlibpath_overrides_runpath=yes
5.17438 -
5.17439 - case $host_os in
5.17440 - cygwin*)
5.17441 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
5.17442 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
5.17443 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
5.17444 - ;;
5.17445 - mingw*)
5.17446 - # MinGW DLLs use traditional 'lib' prefix
5.17447 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
5.17448 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
5.17449 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
5.17450 - # It is most probably a Windows format PATH printed by
5.17451 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
5.17452 - # path with ; separators, and with drive letters. We can handle the
5.17453 - # drive letters (cygwin fileutils understands them), so leave them,
5.17454 - # especially as we might pass files found there to a mingw objdump,
5.17455 - # which wouldn't understand a cygwinified path. Ahh.
5.17456 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
5.17457 - else
5.17458 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
5.17459 - fi
5.17460 - ;;
5.17461 - pw32*)
5.17462 - # pw32 DLLs use 'pw' prefix rather than 'lib'
5.17463 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
5.17464 - ;;
5.17465 - esac
5.17466 - ;;
5.17467 -
5.17468 - *)
5.17469 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
5.17470 - ;;
5.17471 - esac
5.17472 - dynamic_linker='Win32 ld.exe'
5.17473 - # FIXME: first we should search . and the directory the executable is in
5.17474 - shlibpath_var=PATH
5.17475 - ;;
5.17476 -
5.17477 -darwin* | rhapsody*)
5.17478 - dynamic_linker="$host_os dyld"
5.17479 - version_type=darwin
5.17480 - need_lib_prefix=no
5.17481 - need_version=no
5.17482 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
5.17483 - soname_spec='${libname}${release}${major}$shared_ext'
5.17484 - shlibpath_overrides_runpath=yes
5.17485 - shlibpath_var=DYLD_LIBRARY_PATH
5.17486 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
5.17487 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
5.17488 - if test "$GCC" = yes; then
5.17489 - 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"`
5.17490 - else
5.17491 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
5.17492 - fi
5.17493 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
5.17494 - ;;
5.17495 -
5.17496 -dgux*)
5.17497 - version_type=linux
5.17498 - need_lib_prefix=no
5.17499 - need_version=no
5.17500 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
5.17501 - soname_spec='${libname}${release}${shared_ext}$major'
5.17502 - shlibpath_var=LD_LIBRARY_PATH
5.17503 - ;;
5.17504 -
5.17505 -freebsd1*)
5.17506 - dynamic_linker=no
5.17507 - ;;
5.17508 -
5.17509 -kfreebsd*-gnu)
5.17510 - version_type=linux
5.17511 - need_lib_prefix=no
5.17512 - need_version=no
5.17513 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5.17514 - soname_spec='${libname}${release}${shared_ext}$major'
5.17515 - shlibpath_var=LD_LIBRARY_PATH
5.17516 - shlibpath_overrides_runpath=no
5.17517 - hardcode_into_libs=yes
5.17518 - dynamic_linker='GNU ld.so'
5.17519 - ;;
5.17520 -
5.17521 -freebsd* | dragonfly*)
5.17522 - # DragonFly does not have aout. When/if they implement a new
5.17523 - # versioning mechanism, adjust this.
5.17524 - if test -x /usr/bin/objformat; then
5.17525 - objformat=`/usr/bin/objformat`
5.17526 - else
5.17527 - case $host_os in
5.17528 - freebsd[123]*) objformat=aout ;;
5.17529 - *) objformat=elf ;;
5.17530 - esac
5.17531 - fi
5.17532 - version_type=freebsd-$objformat
5.17533 - case $version_type in
5.17534 - freebsd-elf*)
5.17535 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
5.17536 - need_version=no
5.17537 - need_lib_prefix=no
5.17538 - ;;
5.17539 - freebsd-*)
5.17540 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
5.17541 - need_version=yes
5.17542 - ;;
5.17543 - esac
5.17544 - shlibpath_var=LD_LIBRARY_PATH
5.17545 - case $host_os in
5.17546 - freebsd2*)
5.17547 - shlibpath_overrides_runpath=yes
5.17548 - ;;
5.17549 - freebsd3.[01]* | freebsdelf3.[01]*)
5.17550 - shlibpath_overrides_runpath=yes
5.17551 - hardcode_into_libs=yes
5.17552 - ;;
5.17553 - *) # from 3.2 on
5.17554 - shlibpath_overrides_runpath=no
5.17555 - hardcode_into_libs=yes
5.17556 - ;;
5.17557 - esac
5.17558 - ;;
5.17559 -
5.17560 -gnu*)
5.17561 - version_type=linux
5.17562 - need_lib_prefix=no
5.17563 - need_version=no
5.17564 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
5.17565 - soname_spec='${libname}${release}${shared_ext}$major'
5.17566 - shlibpath_var=LD_LIBRARY_PATH
5.17567 - hardcode_into_libs=yes
5.17568 - ;;
5.17569 -
5.17570 -hpux9* | hpux10* | hpux11*)
5.17571 - # Give a soname corresponding to the major version so that dld.sl refuses to
5.17572 - # link against other versions.
5.17573 - version_type=sunos
5.17574 - need_lib_prefix=no
5.17575 - need_version=no
5.17576 - case $host_cpu in
5.17577 - ia64*)
5.17578 - shrext_cmds='.so'
5.17579 - hardcode_into_libs=yes
5.17580 - dynamic_linker="$host_os dld.so"
5.17581 - shlibpath_var=LD_LIBRARY_PATH
5.17582 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
5.17583 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.17584 - soname_spec='${libname}${release}${shared_ext}$major'
5.17585 - if test "X$HPUX_IA64_MODE" = X32; then
5.17586 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
5.17587 - else
5.17588 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
5.17589 - fi
5.17590 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
5.17591 - ;;
5.17592 - hppa*64*)
5.17593 - shrext_cmds='.sl'
5.17594 - hardcode_into_libs=yes
5.17595 - dynamic_linker="$host_os dld.sl"
5.17596 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
5.17597 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
5.17598 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.17599 - soname_spec='${libname}${release}${shared_ext}$major'
5.17600 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
5.17601 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
5.17602 - ;;
5.17603 - *)
5.17604 - shrext_cmds='.sl'
5.17605 - dynamic_linker="$host_os dld.sl"
5.17606 - shlibpath_var=SHLIB_PATH
5.17607 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
5.17608 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.17609 - soname_spec='${libname}${release}${shared_ext}$major'
5.17610 - ;;
5.17611 - esac
5.17612 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
5.17613 - postinstall_cmds='chmod 555 $lib'
5.17614 - ;;
5.17615 -
5.17616 -irix5* | irix6* | nonstopux*)
5.17617 - case $host_os in
5.17618 - nonstopux*) version_type=nonstopux ;;
5.17619 - *)
5.17620 - if test "$lt_cv_prog_gnu_ld" = yes; then
5.17621 - version_type=linux
5.17622 - else
5.17623 - version_type=irix
5.17624 - fi ;;
5.17625 - esac
5.17626 - need_lib_prefix=no
5.17627 - need_version=no
5.17628 - soname_spec='${libname}${release}${shared_ext}$major'
5.17629 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
5.17630 - case $host_os in
5.17631 - irix5* | nonstopux*)
5.17632 - libsuff= shlibsuff=
5.17633 - ;;
5.17634 - *)
5.17635 - case $LD in # libtool.m4 will add one of these switches to LD
5.17636 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
5.17637 - libsuff= shlibsuff= libmagic=32-bit;;
5.17638 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
5.17639 - libsuff=32 shlibsuff=N32 libmagic=N32;;
5.17640 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
5.17641 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
5.17642 - *) libsuff= shlibsuff= libmagic=never-match;;
5.17643 - esac
5.17644 - ;;
5.17645 - esac
5.17646 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
5.17647 - shlibpath_overrides_runpath=no
5.17648 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
5.17649 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
5.17650 - hardcode_into_libs=yes
5.17651 - ;;
5.17652 -
5.17653 -# No shared lib support for Linux oldld, aout, or coff.
5.17654 -linux*oldld* | linux*aout* | linux*coff*)
5.17655 - dynamic_linker=no
5.17656 - ;;
5.17657 -
5.17658 -# This must be Linux ELF.
5.17659 -linux*)
5.17660 - version_type=linux
5.17661 - need_lib_prefix=no
5.17662 - need_version=no
5.17663 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.17664 - soname_spec='${libname}${release}${shared_ext}$major'
5.17665 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
5.17666 - shlibpath_var=LD_LIBRARY_PATH
5.17667 - shlibpath_overrides_runpath=no
5.17668 - # This implies no fast_install, which is unacceptable.
5.17669 - # Some rework will be needed to allow for fast_install
5.17670 - # before this can be enabled.
5.17671 - hardcode_into_libs=yes
5.17672 -
5.17673 - # Append ld.so.conf contents to the search path
5.17674 - if test -f /etc/ld.so.conf; then
5.17675 - 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' ' '`
5.17676 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
5.17677 - fi
5.17678 -
5.17679 - # We used to test for /lib/ld.so.1 and disable shared libraries on
5.17680 - # powerpc, because MkLinux only supported shared libraries with the
5.17681 - # GNU dynamic linker. Since this was broken with cross compilers,
5.17682 - # most powerpc-linux boxes support dynamic linking these days and
5.17683 - # people can always --disable-shared, the test was removed, and we
5.17684 - # assume the GNU/Linux dynamic linker is in use.
5.17685 - dynamic_linker='GNU/Linux ld.so'
5.17686 - ;;
5.17687 -
5.17688 -knetbsd*-gnu)
5.17689 - version_type=linux
5.17690 - need_lib_prefix=no
5.17691 - need_version=no
5.17692 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5.17693 - soname_spec='${libname}${release}${shared_ext}$major'
5.17694 - shlibpath_var=LD_LIBRARY_PATH
5.17695 - shlibpath_overrides_runpath=no
5.17696 - hardcode_into_libs=yes
5.17697 - dynamic_linker='GNU ld.so'
5.17698 - ;;
5.17699 -
5.17700 -netbsd*)
5.17701 - version_type=sunos
5.17702 - need_lib_prefix=no
5.17703 - need_version=no
5.17704 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5.17705 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5.17706 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5.17707 - dynamic_linker='NetBSD (a.out) ld.so'
5.17708 - else
5.17709 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5.17710 - soname_spec='${libname}${release}${shared_ext}$major'
5.17711 - dynamic_linker='NetBSD ld.elf_so'
5.17712 - fi
5.17713 - shlibpath_var=LD_LIBRARY_PATH
5.17714 - shlibpath_overrides_runpath=yes
5.17715 - hardcode_into_libs=yes
5.17716 - ;;
5.17717 -
5.17718 -newsos6)
5.17719 - version_type=linux
5.17720 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.17721 - shlibpath_var=LD_LIBRARY_PATH
5.17722 - shlibpath_overrides_runpath=yes
5.17723 - ;;
5.17724 -
5.17725 -nto-qnx*)
5.17726 - version_type=linux
5.17727 - need_lib_prefix=no
5.17728 - need_version=no
5.17729 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.17730 - soname_spec='${libname}${release}${shared_ext}$major'
5.17731 - shlibpath_var=LD_LIBRARY_PATH
5.17732 - shlibpath_overrides_runpath=yes
5.17733 - ;;
5.17734 -
5.17735 -openbsd*)
5.17736 - version_type=sunos
5.17737 - need_lib_prefix=no
5.17738 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
5.17739 - case $host_os in
5.17740 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
5.17741 - *) need_version=no ;;
5.17742 - esac
5.17743 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5.17744 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5.17745 - shlibpath_var=LD_LIBRARY_PATH
5.17746 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5.17747 - case $host_os in
5.17748 - openbsd2.[89] | openbsd2.[89].*)
5.17749 - shlibpath_overrides_runpath=no
5.17750 - ;;
5.17751 - *)
5.17752 - shlibpath_overrides_runpath=yes
5.17753 - ;;
5.17754 - esac
5.17755 - else
5.17756 - shlibpath_overrides_runpath=yes
5.17757 - fi
5.17758 - ;;
5.17759 -
5.17760 -os2*)
5.17761 - libname_spec='$name'
5.17762 - shrext_cmds=".dll"
5.17763 - need_lib_prefix=no
5.17764 - library_names_spec='$libname${shared_ext} $libname.a'
5.17765 - dynamic_linker='OS/2 ld.exe'
5.17766 - shlibpath_var=LIBPATH
5.17767 - ;;
5.17768 -
5.17769 -osf3* | osf4* | osf5*)
5.17770 - version_type=osf
5.17771 - need_lib_prefix=no
5.17772 - need_version=no
5.17773 - soname_spec='${libname}${release}${shared_ext}$major'
5.17774 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.17775 - shlibpath_var=LD_LIBRARY_PATH
5.17776 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
5.17777 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
5.17778 - ;;
5.17779 -
5.17780 -sco3.2v5*)
5.17781 - version_type=osf
5.17782 - soname_spec='${libname}${release}${shared_ext}$major'
5.17783 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.17784 - shlibpath_var=LD_LIBRARY_PATH
5.17785 - ;;
5.17786 -
5.17787 -solaris*)
5.17788 - version_type=linux
5.17789 - need_lib_prefix=no
5.17790 - need_version=no
5.17791 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.17792 - soname_spec='${libname}${release}${shared_ext}$major'
5.17793 - shlibpath_var=LD_LIBRARY_PATH
5.17794 - shlibpath_overrides_runpath=yes
5.17795 - hardcode_into_libs=yes
5.17796 - # ldd complains unless libraries are executable
5.17797 - postinstall_cmds='chmod +x $lib'
5.17798 - ;;
5.17799 -
5.17800 -sunos4*)
5.17801 - version_type=sunos
5.17802 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5.17803 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5.17804 - shlibpath_var=LD_LIBRARY_PATH
5.17805 - shlibpath_overrides_runpath=yes
5.17806 - if test "$with_gnu_ld" = yes; then
5.17807 - need_lib_prefix=no
5.17808 - fi
5.17809 - need_version=yes
5.17810 - ;;
5.17811 -
5.17812 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5.17813 - version_type=linux
5.17814 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.17815 - soname_spec='${libname}${release}${shared_ext}$major'
5.17816 - shlibpath_var=LD_LIBRARY_PATH
5.17817 - case $host_vendor in
5.17818 - sni)
5.17819 - shlibpath_overrides_runpath=no
5.17820 - need_lib_prefix=no
5.17821 - export_dynamic_flag_spec='${wl}-Blargedynsym'
5.17822 - runpath_var=LD_RUN_PATH
5.17823 - ;;
5.17824 - siemens)
5.17825 - need_lib_prefix=no
5.17826 - ;;
5.17827 - motorola)
5.17828 - need_lib_prefix=no
5.17829 - need_version=no
5.17830 - shlibpath_overrides_runpath=no
5.17831 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
5.17832 - ;;
5.17833 - esac
5.17834 - ;;
5.17835 -
5.17836 -sysv4*MP*)
5.17837 - if test -d /usr/nec ;then
5.17838 - version_type=linux
5.17839 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
5.17840 - soname_spec='$libname${shared_ext}.$major'
5.17841 - shlibpath_var=LD_LIBRARY_PATH
5.17842 - fi
5.17843 - ;;
5.17844 -
5.17845 -uts4*)
5.17846 - version_type=linux
5.17847 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5.17848 - soname_spec='${libname}${release}${shared_ext}$major'
5.17849 - shlibpath_var=LD_LIBRARY_PATH
5.17850 - ;;
5.17851 -
5.17852 -*)
5.17853 - dynamic_linker=no
5.17854 - ;;
5.17855 -esac
5.17856 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
5.17857 -echo "${ECHO_T}$dynamic_linker" >&6
5.17858 -test "$dynamic_linker" = no && can_build_shared=no
5.17859 -
5.17860 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
5.17861 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
5.17862 -hardcode_action_GCJ=
5.17863 -if test -n "$hardcode_libdir_flag_spec_GCJ" || \
5.17864 - test -n "$runpath_var_GCJ" || \
5.17865 - test "X$hardcode_automatic_GCJ" = "Xyes" ; then
5.17866 -
5.17867 - # We can hardcode non-existant directories.
5.17868 - if test "$hardcode_direct_GCJ" != no &&
5.17869 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
5.17870 - # have to relink, otherwise we might link with an installed library
5.17871 - # when we should be linking with a yet-to-be-installed one
5.17872 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
5.17873 - test "$hardcode_minus_L_GCJ" != no; then
5.17874 - # Linking always hardcodes the temporary library directory.
5.17875 - hardcode_action_GCJ=relink
5.17876 - else
5.17877 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
5.17878 - hardcode_action_GCJ=immediate
5.17879 - fi
5.17880 -else
5.17881 - # We cannot hardcode anything, or else we can only hardcode existing
5.17882 - # directories.
5.17883 - hardcode_action_GCJ=unsupported
5.17884 -fi
5.17885 -echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
5.17886 -echo "${ECHO_T}$hardcode_action_GCJ" >&6
5.17887 -
5.17888 -if test "$hardcode_action_GCJ" = relink; then
5.17889 - # Fast installation is not supported
5.17890 - enable_fast_install=no
5.17891 -elif test "$shlibpath_overrides_runpath" = yes ||
5.17892 - test "$enable_shared" = no; then
5.17893 - # Fast installation is not necessary
5.17894 - enable_fast_install=needless
5.17895 -fi
5.17896 -
5.17897 -striplib=
5.17898 -old_striplib=
5.17899 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
5.17900 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
5.17901 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
5.17902 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
5.17903 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
5.17904 - echo "$as_me:$LINENO: result: yes" >&5
5.17905 -echo "${ECHO_T}yes" >&6
5.17906 -else
5.17907 -# FIXME - insert some real tests, host_os isn't really good enough
5.17908 - case $host_os in
5.17909 - darwin*)
5.17910 - if test -n "$STRIP" ; then
5.17911 - striplib="$STRIP -x"
5.17912 - echo "$as_me:$LINENO: result: yes" >&5
5.17913 -echo "${ECHO_T}yes" >&6
5.17914 - else
5.17915 - echo "$as_me:$LINENO: result: no" >&5
5.17916 -echo "${ECHO_T}no" >&6
5.17917 -fi
5.17918 - ;;
5.17919 - *)
5.17920 - echo "$as_me:$LINENO: result: no" >&5
5.17921 -echo "${ECHO_T}no" >&6
5.17922 - ;;
5.17923 - esac
5.17924 -fi
5.17925 -
5.17926 -if test "x$enable_dlopen" != xyes; then
5.17927 - enable_dlopen=unknown
5.17928 - enable_dlopen_self=unknown
5.17929 - enable_dlopen_self_static=unknown
5.17930 -else
5.17931 - lt_cv_dlopen=no
5.17932 - lt_cv_dlopen_libs=
5.17933 -
5.17934 - case $host_os in
5.17935 - beos*)
5.17936 - lt_cv_dlopen="load_add_on"
5.17937 - lt_cv_dlopen_libs=
5.17938 - lt_cv_dlopen_self=yes
5.17939 - ;;
5.17940 -
5.17941 - mingw* | pw32*)
5.17942 - lt_cv_dlopen="LoadLibrary"
5.17943 - lt_cv_dlopen_libs=
5.17944 - ;;
5.17945 -
5.17946 - cygwin*)
5.17947 - lt_cv_dlopen="dlopen"
5.17948 - lt_cv_dlopen_libs=
5.17949 - ;;
5.17950 -
5.17951 - darwin*)
5.17952 - # if libdl is installed we need to link against it
5.17953 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
5.17954 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
5.17955 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5.17956 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.17957 -else
5.17958 - ac_check_lib_save_LIBS=$LIBS
5.17959 -LIBS="-ldl $LIBS"
5.17960 -cat >conftest.$ac_ext <<_ACEOF
5.17961 -/* confdefs.h. */
5.17962 -_ACEOF
5.17963 -cat confdefs.h >>conftest.$ac_ext
5.17964 -cat >>conftest.$ac_ext <<_ACEOF
5.17965 -/* end confdefs.h. */
5.17966 -
5.17967 -/* Override any gcc2 internal prototype to avoid an error. */
5.17968 -#ifdef __cplusplus
5.17969 -extern "C"
5.17970 -#endif
5.17971 -/* We use char because int might match the return type of a gcc2
5.17972 - builtin and then its argument prototype would still apply. */
5.17973 -char dlopen ();
5.17974 -int
5.17975 -main ()
5.17976 -{
5.17977 -dlopen ();
5.17978 - ;
5.17979 - return 0;
5.17980 -}
5.17981 -_ACEOF
5.17982 -rm -f conftest.$ac_objext conftest$ac_exeext
5.17983 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.17984 - (eval $ac_link) 2>conftest.er1
5.17985 - ac_status=$?
5.17986 - grep -v '^ *+' conftest.er1 >conftest.err
5.17987 - rm -f conftest.er1
5.17988 - cat conftest.err >&5
5.17989 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.17990 - (exit $ac_status); } &&
5.17991 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.17992 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.17993 - (eval $ac_try) 2>&5
5.17994 - ac_status=$?
5.17995 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.17996 - (exit $ac_status); }; } &&
5.17997 - { ac_try='test -s conftest$ac_exeext'
5.17998 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.17999 - (eval $ac_try) 2>&5
5.18000 - ac_status=$?
5.18001 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18002 - (exit $ac_status); }; }; then
5.18003 - ac_cv_lib_dl_dlopen=yes
5.18004 -else
5.18005 - echo "$as_me: failed program was:" >&5
5.18006 -sed 's/^/| /' conftest.$ac_ext >&5
5.18007 -
5.18008 -ac_cv_lib_dl_dlopen=no
5.18009 -fi
5.18010 -rm -f conftest.err conftest.$ac_objext \
5.18011 - conftest$ac_exeext conftest.$ac_ext
5.18012 -LIBS=$ac_check_lib_save_LIBS
5.18013 -fi
5.18014 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5.18015 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5.18016 -if test $ac_cv_lib_dl_dlopen = yes; then
5.18017 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
5.18018 -else
5.18019 -
5.18020 - lt_cv_dlopen="dyld"
5.18021 - lt_cv_dlopen_libs=
5.18022 - lt_cv_dlopen_self=yes
5.18023 -
5.18024 -fi
5.18025 -
5.18026 - ;;
5.18027 -
5.18028 - *)
5.18029 - echo "$as_me:$LINENO: checking for shl_load" >&5
5.18030 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
5.18031 -if test "${ac_cv_func_shl_load+set}" = set; then
5.18032 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.18033 -else
5.18034 - cat >conftest.$ac_ext <<_ACEOF
5.18035 -/* confdefs.h. */
5.18036 -_ACEOF
5.18037 -cat confdefs.h >>conftest.$ac_ext
5.18038 -cat >>conftest.$ac_ext <<_ACEOF
5.18039 -/* end confdefs.h. */
5.18040 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
5.18041 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
5.18042 -#define shl_load innocuous_shl_load
5.18043 -
5.18044 -/* System header to define __stub macros and hopefully few prototypes,
5.18045 - which can conflict with char shl_load (); below.
5.18046 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5.18047 - <limits.h> exists even on freestanding compilers. */
5.18048 -
5.18049 -#ifdef __STDC__
5.18050 -# include <limits.h>
5.18051 -#else
5.18052 -# include <assert.h>
5.18053 -#endif
5.18054 -
5.18055 -#undef shl_load
5.18056 -
5.18057 -/* Override any gcc2 internal prototype to avoid an error. */
5.18058 -#ifdef __cplusplus
5.18059 -extern "C"
5.18060 -{
5.18061 -#endif
5.18062 -/* We use char because int might match the return type of a gcc2
5.18063 - builtin and then its argument prototype would still apply. */
5.18064 -char shl_load ();
5.18065 -/* The GNU C library defines this for functions which it implements
5.18066 - to always fail with ENOSYS. Some functions are actually named
5.18067 - something starting with __ and the normal name is an alias. */
5.18068 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
5.18069 -choke me
5.18070 -#else
5.18071 -char (*f) () = shl_load;
5.18072 -#endif
5.18073 -#ifdef __cplusplus
5.18074 -}
5.18075 -#endif
5.18076 -
5.18077 -int
5.18078 -main ()
5.18079 -{
5.18080 -return f != shl_load;
5.18081 - ;
5.18082 - return 0;
5.18083 -}
5.18084 -_ACEOF
5.18085 -rm -f conftest.$ac_objext conftest$ac_exeext
5.18086 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.18087 - (eval $ac_link) 2>conftest.er1
5.18088 - ac_status=$?
5.18089 - grep -v '^ *+' conftest.er1 >conftest.err
5.18090 - rm -f conftest.er1
5.18091 - cat conftest.err >&5
5.18092 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18093 - (exit $ac_status); } &&
5.18094 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.18095 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.18096 - (eval $ac_try) 2>&5
5.18097 - ac_status=$?
5.18098 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18099 - (exit $ac_status); }; } &&
5.18100 - { ac_try='test -s conftest$ac_exeext'
5.18101 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.18102 - (eval $ac_try) 2>&5
5.18103 - ac_status=$?
5.18104 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18105 - (exit $ac_status); }; }; then
5.18106 - ac_cv_func_shl_load=yes
5.18107 -else
5.18108 - echo "$as_me: failed program was:" >&5
5.18109 -sed 's/^/| /' conftest.$ac_ext >&5
5.18110 -
5.18111 -ac_cv_func_shl_load=no
5.18112 -fi
5.18113 -rm -f conftest.err conftest.$ac_objext \
5.18114 - conftest$ac_exeext conftest.$ac_ext
5.18115 -fi
5.18116 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
5.18117 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
5.18118 -if test $ac_cv_func_shl_load = yes; then
5.18119 - lt_cv_dlopen="shl_load"
5.18120 -else
5.18121 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
5.18122 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
5.18123 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
5.18124 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.18125 -else
5.18126 - ac_check_lib_save_LIBS=$LIBS
5.18127 -LIBS="-ldld $LIBS"
5.18128 -cat >conftest.$ac_ext <<_ACEOF
5.18129 -/* confdefs.h. */
5.18130 -_ACEOF
5.18131 -cat confdefs.h >>conftest.$ac_ext
5.18132 -cat >>conftest.$ac_ext <<_ACEOF
5.18133 -/* end confdefs.h. */
5.18134 -
5.18135 -/* Override any gcc2 internal prototype to avoid an error. */
5.18136 -#ifdef __cplusplus
5.18137 -extern "C"
5.18138 -#endif
5.18139 -/* We use char because int might match the return type of a gcc2
5.18140 - builtin and then its argument prototype would still apply. */
5.18141 -char shl_load ();
5.18142 -int
5.18143 -main ()
5.18144 -{
5.18145 -shl_load ();
5.18146 - ;
5.18147 - return 0;
5.18148 -}
5.18149 -_ACEOF
5.18150 -rm -f conftest.$ac_objext conftest$ac_exeext
5.18151 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.18152 - (eval $ac_link) 2>conftest.er1
5.18153 - ac_status=$?
5.18154 - grep -v '^ *+' conftest.er1 >conftest.err
5.18155 - rm -f conftest.er1
5.18156 - cat conftest.err >&5
5.18157 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18158 - (exit $ac_status); } &&
5.18159 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.18160 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.18161 - (eval $ac_try) 2>&5
5.18162 - ac_status=$?
5.18163 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18164 - (exit $ac_status); }; } &&
5.18165 - { ac_try='test -s conftest$ac_exeext'
5.18166 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.18167 - (eval $ac_try) 2>&5
5.18168 - ac_status=$?
5.18169 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18170 - (exit $ac_status); }; }; then
5.18171 - ac_cv_lib_dld_shl_load=yes
5.18172 -else
5.18173 - echo "$as_me: failed program was:" >&5
5.18174 -sed 's/^/| /' conftest.$ac_ext >&5
5.18175 -
5.18176 -ac_cv_lib_dld_shl_load=no
5.18177 -fi
5.18178 -rm -f conftest.err conftest.$ac_objext \
5.18179 - conftest$ac_exeext conftest.$ac_ext
5.18180 -LIBS=$ac_check_lib_save_LIBS
5.18181 -fi
5.18182 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
5.18183 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
5.18184 -if test $ac_cv_lib_dld_shl_load = yes; then
5.18185 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
5.18186 -else
5.18187 - echo "$as_me:$LINENO: checking for dlopen" >&5
5.18188 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
5.18189 -if test "${ac_cv_func_dlopen+set}" = set; then
5.18190 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.18191 -else
5.18192 - cat >conftest.$ac_ext <<_ACEOF
5.18193 -/* confdefs.h. */
5.18194 -_ACEOF
5.18195 -cat confdefs.h >>conftest.$ac_ext
5.18196 -cat >>conftest.$ac_ext <<_ACEOF
5.18197 -/* end confdefs.h. */
5.18198 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
5.18199 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
5.18200 -#define dlopen innocuous_dlopen
5.18201 -
5.18202 -/* System header to define __stub macros and hopefully few prototypes,
5.18203 - which can conflict with char dlopen (); below.
5.18204 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5.18205 - <limits.h> exists even on freestanding compilers. */
5.18206 -
5.18207 -#ifdef __STDC__
5.18208 -# include <limits.h>
5.18209 -#else
5.18210 -# include <assert.h>
5.18211 -#endif
5.18212 -
5.18213 -#undef dlopen
5.18214 -
5.18215 -/* Override any gcc2 internal prototype to avoid an error. */
5.18216 -#ifdef __cplusplus
5.18217 -extern "C"
5.18218 -{
5.18219 -#endif
5.18220 -/* We use char because int might match the return type of a gcc2
5.18221 - builtin and then its argument prototype would still apply. */
5.18222 -char dlopen ();
5.18223 -/* The GNU C library defines this for functions which it implements
5.18224 - to always fail with ENOSYS. Some functions are actually named
5.18225 - something starting with __ and the normal name is an alias. */
5.18226 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
5.18227 -choke me
5.18228 -#else
5.18229 -char (*f) () = dlopen;
5.18230 -#endif
5.18231 -#ifdef __cplusplus
5.18232 -}
5.18233 -#endif
5.18234 -
5.18235 -int
5.18236 -main ()
5.18237 -{
5.18238 -return f != dlopen;
5.18239 - ;
5.18240 - return 0;
5.18241 -}
5.18242 -_ACEOF
5.18243 -rm -f conftest.$ac_objext conftest$ac_exeext
5.18244 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.18245 - (eval $ac_link) 2>conftest.er1
5.18246 - ac_status=$?
5.18247 - grep -v '^ *+' conftest.er1 >conftest.err
5.18248 - rm -f conftest.er1
5.18249 - cat conftest.err >&5
5.18250 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18251 - (exit $ac_status); } &&
5.18252 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.18253 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.18254 - (eval $ac_try) 2>&5
5.18255 - ac_status=$?
5.18256 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18257 - (exit $ac_status); }; } &&
5.18258 - { ac_try='test -s conftest$ac_exeext'
5.18259 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.18260 - (eval $ac_try) 2>&5
5.18261 - ac_status=$?
5.18262 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18263 - (exit $ac_status); }; }; then
5.18264 - ac_cv_func_dlopen=yes
5.18265 -else
5.18266 - echo "$as_me: failed program was:" >&5
5.18267 -sed 's/^/| /' conftest.$ac_ext >&5
5.18268 -
5.18269 -ac_cv_func_dlopen=no
5.18270 -fi
5.18271 -rm -f conftest.err conftest.$ac_objext \
5.18272 - conftest$ac_exeext conftest.$ac_ext
5.18273 -fi
5.18274 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
5.18275 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
5.18276 -if test $ac_cv_func_dlopen = yes; then
5.18277 - lt_cv_dlopen="dlopen"
5.18278 -else
5.18279 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
5.18280 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
5.18281 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5.18282 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.18283 -else
5.18284 - ac_check_lib_save_LIBS=$LIBS
5.18285 -LIBS="-ldl $LIBS"
5.18286 -cat >conftest.$ac_ext <<_ACEOF
5.18287 -/* confdefs.h. */
5.18288 -_ACEOF
5.18289 -cat confdefs.h >>conftest.$ac_ext
5.18290 -cat >>conftest.$ac_ext <<_ACEOF
5.18291 -/* end confdefs.h. */
5.18292 -
5.18293 -/* Override any gcc2 internal prototype to avoid an error. */
5.18294 -#ifdef __cplusplus
5.18295 -extern "C"
5.18296 -#endif
5.18297 -/* We use char because int might match the return type of a gcc2
5.18298 - builtin and then its argument prototype would still apply. */
5.18299 -char dlopen ();
5.18300 -int
5.18301 -main ()
5.18302 -{
5.18303 -dlopen ();
5.18304 - ;
5.18305 - return 0;
5.18306 -}
5.18307 -_ACEOF
5.18308 -rm -f conftest.$ac_objext conftest$ac_exeext
5.18309 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.18310 - (eval $ac_link) 2>conftest.er1
5.18311 - ac_status=$?
5.18312 - grep -v '^ *+' conftest.er1 >conftest.err
5.18313 - rm -f conftest.er1
5.18314 - cat conftest.err >&5
5.18315 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18316 - (exit $ac_status); } &&
5.18317 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.18318 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.18319 - (eval $ac_try) 2>&5
5.18320 - ac_status=$?
5.18321 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18322 - (exit $ac_status); }; } &&
5.18323 - { ac_try='test -s conftest$ac_exeext'
5.18324 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.18325 - (eval $ac_try) 2>&5
5.18326 - ac_status=$?
5.18327 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18328 - (exit $ac_status); }; }; then
5.18329 - ac_cv_lib_dl_dlopen=yes
5.18330 -else
5.18331 - echo "$as_me: failed program was:" >&5
5.18332 -sed 's/^/| /' conftest.$ac_ext >&5
5.18333 -
5.18334 -ac_cv_lib_dl_dlopen=no
5.18335 -fi
5.18336 -rm -f conftest.err conftest.$ac_objext \
5.18337 - conftest$ac_exeext conftest.$ac_ext
5.18338 -LIBS=$ac_check_lib_save_LIBS
5.18339 -fi
5.18340 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5.18341 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5.18342 -if test $ac_cv_lib_dl_dlopen = yes; then
5.18343 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
5.18344 -else
5.18345 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
5.18346 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
5.18347 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
5.18348 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.18349 -else
5.18350 - ac_check_lib_save_LIBS=$LIBS
5.18351 -LIBS="-lsvld $LIBS"
5.18352 -cat >conftest.$ac_ext <<_ACEOF
5.18353 -/* confdefs.h. */
5.18354 -_ACEOF
5.18355 -cat confdefs.h >>conftest.$ac_ext
5.18356 -cat >>conftest.$ac_ext <<_ACEOF
5.18357 -/* end confdefs.h. */
5.18358 -
5.18359 -/* Override any gcc2 internal prototype to avoid an error. */
5.18360 -#ifdef __cplusplus
5.18361 -extern "C"
5.18362 -#endif
5.18363 -/* We use char because int might match the return type of a gcc2
5.18364 - builtin and then its argument prototype would still apply. */
5.18365 -char dlopen ();
5.18366 -int
5.18367 -main ()
5.18368 -{
5.18369 -dlopen ();
5.18370 - ;
5.18371 - return 0;
5.18372 -}
5.18373 -_ACEOF
5.18374 -rm -f conftest.$ac_objext conftest$ac_exeext
5.18375 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.18376 - (eval $ac_link) 2>conftest.er1
5.18377 - ac_status=$?
5.18378 - grep -v '^ *+' conftest.er1 >conftest.err
5.18379 - rm -f conftest.er1
5.18380 - cat conftest.err >&5
5.18381 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18382 - (exit $ac_status); } &&
5.18383 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.18384 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.18385 - (eval $ac_try) 2>&5
5.18386 - ac_status=$?
5.18387 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18388 - (exit $ac_status); }; } &&
5.18389 - { ac_try='test -s conftest$ac_exeext'
5.18390 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.18391 - (eval $ac_try) 2>&5
5.18392 - ac_status=$?
5.18393 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18394 - (exit $ac_status); }; }; then
5.18395 - ac_cv_lib_svld_dlopen=yes
5.18396 -else
5.18397 - echo "$as_me: failed program was:" >&5
5.18398 -sed 's/^/| /' conftest.$ac_ext >&5
5.18399 -
5.18400 -ac_cv_lib_svld_dlopen=no
5.18401 -fi
5.18402 -rm -f conftest.err conftest.$ac_objext \
5.18403 - conftest$ac_exeext conftest.$ac_ext
5.18404 -LIBS=$ac_check_lib_save_LIBS
5.18405 -fi
5.18406 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
5.18407 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
5.18408 -if test $ac_cv_lib_svld_dlopen = yes; then
5.18409 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
5.18410 -else
5.18411 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
5.18412 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
5.18413 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
5.18414 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.18415 -else
5.18416 - ac_check_lib_save_LIBS=$LIBS
5.18417 -LIBS="-ldld $LIBS"
5.18418 -cat >conftest.$ac_ext <<_ACEOF
5.18419 -/* confdefs.h. */
5.18420 -_ACEOF
5.18421 -cat confdefs.h >>conftest.$ac_ext
5.18422 -cat >>conftest.$ac_ext <<_ACEOF
5.18423 -/* end confdefs.h. */
5.18424 -
5.18425 -/* Override any gcc2 internal prototype to avoid an error. */
5.18426 -#ifdef __cplusplus
5.18427 -extern "C"
5.18428 -#endif
5.18429 -/* We use char because int might match the return type of a gcc2
5.18430 - builtin and then its argument prototype would still apply. */
5.18431 -char dld_link ();
5.18432 -int
5.18433 -main ()
5.18434 -{
5.18435 -dld_link ();
5.18436 - ;
5.18437 - return 0;
5.18438 -}
5.18439 -_ACEOF
5.18440 -rm -f conftest.$ac_objext conftest$ac_exeext
5.18441 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.18442 - (eval $ac_link) 2>conftest.er1
5.18443 - ac_status=$?
5.18444 - grep -v '^ *+' conftest.er1 >conftest.err
5.18445 - rm -f conftest.er1
5.18446 - cat conftest.err >&5
5.18447 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18448 - (exit $ac_status); } &&
5.18449 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.18450 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.18451 - (eval $ac_try) 2>&5
5.18452 - ac_status=$?
5.18453 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18454 - (exit $ac_status); }; } &&
5.18455 - { ac_try='test -s conftest$ac_exeext'
5.18456 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.18457 - (eval $ac_try) 2>&5
5.18458 - ac_status=$?
5.18459 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18460 - (exit $ac_status); }; }; then
5.18461 - ac_cv_lib_dld_dld_link=yes
5.18462 -else
5.18463 - echo "$as_me: failed program was:" >&5
5.18464 -sed 's/^/| /' conftest.$ac_ext >&5
5.18465 -
5.18466 -ac_cv_lib_dld_dld_link=no
5.18467 -fi
5.18468 -rm -f conftest.err conftest.$ac_objext \
5.18469 - conftest$ac_exeext conftest.$ac_ext
5.18470 -LIBS=$ac_check_lib_save_LIBS
5.18471 -fi
5.18472 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
5.18473 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
5.18474 -if test $ac_cv_lib_dld_dld_link = yes; then
5.18475 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
5.18476 -fi
5.18477 -
5.18478 -
5.18479 -fi
5.18480 -
5.18481 -
5.18482 -fi
5.18483 -
5.18484 -
5.18485 -fi
5.18486 -
5.18487 -
5.18488 -fi
5.18489 -
5.18490 -
5.18491 -fi
5.18492 -
5.18493 - ;;
5.18494 - esac
5.18495 -
5.18496 - if test "x$lt_cv_dlopen" != xno; then
5.18497 - enable_dlopen=yes
5.18498 - else
5.18499 - enable_dlopen=no
5.18500 - fi
5.18501 -
5.18502 - case $lt_cv_dlopen in
5.18503 - dlopen)
5.18504 - save_CPPFLAGS="$CPPFLAGS"
5.18505 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
5.18506 -
5.18507 - save_LDFLAGS="$LDFLAGS"
5.18508 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
5.18509 -
5.18510 - save_LIBS="$LIBS"
5.18511 - LIBS="$lt_cv_dlopen_libs $LIBS"
5.18512 -
5.18513 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
5.18514 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
5.18515 -if test "${lt_cv_dlopen_self+set}" = set; then
5.18516 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.18517 -else
5.18518 - if test "$cross_compiling" = yes; then :
5.18519 - lt_cv_dlopen_self=cross
5.18520 -else
5.18521 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
5.18522 - lt_status=$lt_dlunknown
5.18523 - cat > conftest.$ac_ext <<EOF
5.18524 -#line __oline__ "configure"
5.18525 -#include "confdefs.h"
5.18526 -
5.18527 -#if HAVE_DLFCN_H
5.18528 -#include <dlfcn.h>
5.18529 -#endif
5.18530 -
5.18531 -#include <stdio.h>
5.18532 -
5.18533 -#ifdef RTLD_GLOBAL
5.18534 -# define LT_DLGLOBAL RTLD_GLOBAL
5.18535 -#else
5.18536 -# ifdef DL_GLOBAL
5.18537 -# define LT_DLGLOBAL DL_GLOBAL
5.18538 -# else
5.18539 -# define LT_DLGLOBAL 0
5.18540 -# endif
5.18541 -#endif
5.18542 -
5.18543 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
5.18544 - find out it does not work in some platform. */
5.18545 -#ifndef LT_DLLAZY_OR_NOW
5.18546 -# ifdef RTLD_LAZY
5.18547 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
5.18548 -# else
5.18549 -# ifdef DL_LAZY
5.18550 -# define LT_DLLAZY_OR_NOW DL_LAZY
5.18551 -# else
5.18552 -# ifdef RTLD_NOW
5.18553 -# define LT_DLLAZY_OR_NOW RTLD_NOW
5.18554 -# else
5.18555 -# ifdef DL_NOW
5.18556 -# define LT_DLLAZY_OR_NOW DL_NOW
5.18557 -# else
5.18558 -# define LT_DLLAZY_OR_NOW 0
5.18559 -# endif
5.18560 -# endif
5.18561 -# endif
5.18562 -# endif
5.18563 -#endif
5.18564 -
5.18565 -#ifdef __cplusplus
5.18566 -extern "C" void exit (int);
5.18567 -#endif
5.18568 -
5.18569 -void fnord() { int i=42;}
5.18570 -int main ()
5.18571 -{
5.18572 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
5.18573 - int status = $lt_dlunknown;
5.18574 -
5.18575 - if (self)
5.18576 - {
5.18577 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
5.18578 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
5.18579 - /* dlclose (self); */
5.18580 - }
5.18581 -
5.18582 - exit (status);
5.18583 -}
5.18584 -EOF
5.18585 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.18586 - (eval $ac_link) 2>&5
5.18587 - ac_status=$?
5.18588 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18589 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
5.18590 - (./conftest; exit; ) >&5 2>/dev/null
5.18591 - lt_status=$?
5.18592 - case x$lt_status in
5.18593 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
5.18594 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
5.18595 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
5.18596 - esac
5.18597 - else :
5.18598 - # compilation failed
5.18599 - lt_cv_dlopen_self=no
5.18600 - fi
5.18601 -fi
5.18602 -rm -fr conftest*
5.18603 -
5.18604 -
5.18605 -fi
5.18606 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
5.18607 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
5.18608 -
5.18609 - if test "x$lt_cv_dlopen_self" = xyes; then
5.18610 - LDFLAGS="$LDFLAGS $link_static_flag"
5.18611 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
5.18612 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
5.18613 -if test "${lt_cv_dlopen_self_static+set}" = set; then
5.18614 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.18615 -else
5.18616 - if test "$cross_compiling" = yes; then :
5.18617 - lt_cv_dlopen_self_static=cross
5.18618 -else
5.18619 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
5.18620 - lt_status=$lt_dlunknown
5.18621 - cat > conftest.$ac_ext <<EOF
5.18622 -#line __oline__ "configure"
5.18623 -#include "confdefs.h"
5.18624 -
5.18625 -#if HAVE_DLFCN_H
5.18626 -#include <dlfcn.h>
5.18627 -#endif
5.18628 -
5.18629 -#include <stdio.h>
5.18630 -
5.18631 -#ifdef RTLD_GLOBAL
5.18632 -# define LT_DLGLOBAL RTLD_GLOBAL
5.18633 -#else
5.18634 -# ifdef DL_GLOBAL
5.18635 -# define LT_DLGLOBAL DL_GLOBAL
5.18636 -# else
5.18637 -# define LT_DLGLOBAL 0
5.18638 -# endif
5.18639 -#endif
5.18640 -
5.18641 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
5.18642 - find out it does not work in some platform. */
5.18643 -#ifndef LT_DLLAZY_OR_NOW
5.18644 -# ifdef RTLD_LAZY
5.18645 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
5.18646 -# else
5.18647 -# ifdef DL_LAZY
5.18648 -# define LT_DLLAZY_OR_NOW DL_LAZY
5.18649 -# else
5.18650 -# ifdef RTLD_NOW
5.18651 -# define LT_DLLAZY_OR_NOW RTLD_NOW
5.18652 -# else
5.18653 -# ifdef DL_NOW
5.18654 -# define LT_DLLAZY_OR_NOW DL_NOW
5.18655 -# else
5.18656 -# define LT_DLLAZY_OR_NOW 0
5.18657 -# endif
5.18658 -# endif
5.18659 -# endif
5.18660 -# endif
5.18661 -#endif
5.18662 -
5.18663 -#ifdef __cplusplus
5.18664 -extern "C" void exit (int);
5.18665 -#endif
5.18666 -
5.18667 -void fnord() { int i=42;}
5.18668 -int main ()
5.18669 -{
5.18670 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
5.18671 - int status = $lt_dlunknown;
5.18672 -
5.18673 - if (self)
5.18674 - {
5.18675 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
5.18676 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
5.18677 - /* dlclose (self); */
5.18678 - }
5.18679 -
5.18680 - exit (status);
5.18681 -}
5.18682 -EOF
5.18683 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.18684 - (eval $ac_link) 2>&5
5.18685 - ac_status=$?
5.18686 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.18687 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
5.18688 - (./conftest; exit; ) >&5 2>/dev/null
5.18689 - lt_status=$?
5.18690 - case x$lt_status in
5.18691 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
5.18692 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
5.18693 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
5.18694 - esac
5.18695 - else :
5.18696 - # compilation failed
5.18697 - lt_cv_dlopen_self_static=no
5.18698 - fi
5.18699 -fi
5.18700 -rm -fr conftest*
5.18701 -
5.18702 -
5.18703 -fi
5.18704 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
5.18705 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
5.18706 - fi
5.18707 -
5.18708 - CPPFLAGS="$save_CPPFLAGS"
5.18709 - LDFLAGS="$save_LDFLAGS"
5.18710 - LIBS="$save_LIBS"
5.18711 - ;;
5.18712 - esac
5.18713 -
5.18714 - case $lt_cv_dlopen_self in
5.18715 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
5.18716 - *) enable_dlopen_self=unknown ;;
5.18717 - esac
5.18718 -
5.18719 - case $lt_cv_dlopen_self_static in
5.18720 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
5.18721 - *) enable_dlopen_self_static=unknown ;;
5.18722 - esac
5.18723 -fi
5.18724 -
5.18725 -
5.18726 -# The else clause should only fire when bootstrapping the
5.18727 -# libtool distribution, otherwise you forgot to ship ltmain.sh
5.18728 -# with your package, and you will get complaints that there are
5.18729 -# no rules to generate ltmain.sh.
5.18730 -if test -f "$ltmain"; then
5.18731 - # See if we are running on zsh, and set the options which allow our commands through
5.18732 - # without removal of \ escapes.
5.18733 - if test -n "${ZSH_VERSION+set}" ; then
5.18734 - setopt NO_GLOB_SUBST
5.18735 - fi
5.18736 - # Now quote all the things that may contain metacharacters while being
5.18737 - # careful not to overquote the AC_SUBSTed values. We take copies of the
5.18738 - # variables and quote the copies for generation of the libtool script.
5.18739 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
5.18740 - SED SHELL STRIP \
5.18741 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
5.18742 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
5.18743 - deplibs_check_method reload_flag reload_cmds need_locks \
5.18744 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
5.18745 - lt_cv_sys_global_symbol_to_c_name_address \
5.18746 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
5.18747 - old_postinstall_cmds old_postuninstall_cmds \
5.18748 - compiler_GCJ \
5.18749 - CC_GCJ \
5.18750 - LD_GCJ \
5.18751 - lt_prog_compiler_wl_GCJ \
5.18752 - lt_prog_compiler_pic_GCJ \
5.18753 - lt_prog_compiler_static_GCJ \
5.18754 - lt_prog_compiler_no_builtin_flag_GCJ \
5.18755 - export_dynamic_flag_spec_GCJ \
5.18756 - thread_safe_flag_spec_GCJ \
5.18757 - whole_archive_flag_spec_GCJ \
5.18758 - enable_shared_with_static_runtimes_GCJ \
5.18759 - old_archive_cmds_GCJ \
5.18760 - old_archive_from_new_cmds_GCJ \
5.18761 - predep_objects_GCJ \
5.18762 - postdep_objects_GCJ \
5.18763 - predeps_GCJ \
5.18764 - postdeps_GCJ \
5.18765 - compiler_lib_search_path_GCJ \
5.18766 - archive_cmds_GCJ \
5.18767 - archive_expsym_cmds_GCJ \
5.18768 - postinstall_cmds_GCJ \
5.18769 - postuninstall_cmds_GCJ \
5.18770 - old_archive_from_expsyms_cmds_GCJ \
5.18771 - allow_undefined_flag_GCJ \
5.18772 - no_undefined_flag_GCJ \
5.18773 - export_symbols_cmds_GCJ \
5.18774 - hardcode_libdir_flag_spec_GCJ \
5.18775 - hardcode_libdir_flag_spec_ld_GCJ \
5.18776 - hardcode_libdir_separator_GCJ \
5.18777 - hardcode_automatic_GCJ \
5.18778 - module_cmds_GCJ \
5.18779 - module_expsym_cmds_GCJ \
5.18780 - lt_cv_prog_compiler_c_o_GCJ \
5.18781 - exclude_expsyms_GCJ \
5.18782 - include_expsyms_GCJ; do
5.18783 -
5.18784 - case $var in
5.18785 - old_archive_cmds_GCJ | \
5.18786 - old_archive_from_new_cmds_GCJ | \
5.18787 - archive_cmds_GCJ | \
5.18788 - archive_expsym_cmds_GCJ | \
5.18789 - module_cmds_GCJ | \
5.18790 - module_expsym_cmds_GCJ | \
5.18791 - old_archive_from_expsyms_cmds_GCJ | \
5.18792 - export_symbols_cmds_GCJ | \
5.18793 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
5.18794 - postinstall_cmds | postuninstall_cmds | \
5.18795 - old_postinstall_cmds | old_postuninstall_cmds | \
5.18796 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
5.18797 - # Double-quote double-evaled strings.
5.18798 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
5.18799 - ;;
5.18800 - *)
5.18801 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
5.18802 - ;;
5.18803 - esac
5.18804 - done
5.18805 -
5.18806 - case $lt_echo in
5.18807 - *'\$0 --fallback-echo"')
5.18808 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
5.18809 - ;;
5.18810 - esac
5.18811 -
5.18812 -cfgfile="$ofile"
5.18813 -
5.18814 - cat <<__EOF__ >> "$cfgfile"
5.18815 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
5.18816 -
5.18817 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
5.18818 -
5.18819 -# Shell to use when invoking shell scripts.
5.18820 -SHELL=$lt_SHELL
5.18821 -
5.18822 -# Whether or not to build shared libraries.
5.18823 -build_libtool_libs=$enable_shared
5.18824 -
5.18825 -# Whether or not to build static libraries.
5.18826 -build_old_libs=$enable_static
5.18827 -
5.18828 -# Whether or not to add -lc for building shared libraries.
5.18829 -build_libtool_need_lc=$archive_cmds_need_lc_GCJ
5.18830 -
5.18831 -# Whether or not to disallow shared libs when runtime libs are static
5.18832 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
5.18833 -
5.18834 -# Whether or not to optimize for fast installation.
5.18835 -fast_install=$enable_fast_install
5.18836 -
5.18837 -# The host system.
5.18838 -host_alias=$host_alias
5.18839 -host=$host
5.18840 -host_os=$host_os
5.18841 -
5.18842 -# The build system.
5.18843 -build_alias=$build_alias
5.18844 -build=$build
5.18845 -build_os=$build_os
5.18846 -
5.18847 -# An echo program that does not interpret backslashes.
5.18848 -echo=$lt_echo
5.18849 -
5.18850 -# The archiver.
5.18851 -AR=$lt_AR
5.18852 -AR_FLAGS=$lt_AR_FLAGS
5.18853 -
5.18854 -# A C compiler.
5.18855 -LTCC=$lt_LTCC
5.18856 -
5.18857 -# A language-specific compiler.
5.18858 -CC=$lt_compiler_GCJ
5.18859 -
5.18860 -# Is the compiler the GNU C compiler?
5.18861 -with_gcc=$GCC_GCJ
5.18862 -
5.18863 -# An ERE matcher.
5.18864 -EGREP=$lt_EGREP
5.18865 -
5.18866 -# The linker used to build libraries.
5.18867 -LD=$lt_LD_GCJ
5.18868 -
5.18869 -# Whether we need hard or soft links.
5.18870 -LN_S=$lt_LN_S
5.18871 -
5.18872 -# A BSD-compatible nm program.
5.18873 -NM=$lt_NM
5.18874 -
5.18875 -# A symbol stripping program
5.18876 -STRIP=$lt_STRIP
5.18877 -
5.18878 -# Used to examine libraries when file_magic_cmd begins "file"
5.18879 -MAGIC_CMD=$MAGIC_CMD
5.18880 -
5.18881 -# Used on cygwin: DLL creation program.
5.18882 -DLLTOOL="$DLLTOOL"
5.18883 -
5.18884 -# Used on cygwin: object dumper.
5.18885 -OBJDUMP="$OBJDUMP"
5.18886 -
5.18887 -# Used on cygwin: assembler.
5.18888 -AS="$AS"
5.18889 -
5.18890 -# The name of the directory that contains temporary libtool files.
5.18891 -objdir=$objdir
5.18892 -
5.18893 -# How to create reloadable object files.
5.18894 -reload_flag=$lt_reload_flag
5.18895 -reload_cmds=$lt_reload_cmds
5.18896 -
5.18897 -# How to pass a linker flag through the compiler.
5.18898 -wl=$lt_lt_prog_compiler_wl_GCJ
5.18899 -
5.18900 -# Object file suffix (normally "o").
5.18901 -objext="$ac_objext"
5.18902 -
5.18903 -# Old archive suffix (normally "a").
5.18904 -libext="$libext"
5.18905 -
5.18906 -# Shared library suffix (normally ".so").
5.18907 -shrext_cmds='$shrext_cmds'
5.18908 -
5.18909 -# Executable file suffix (normally "").
5.18910 -exeext="$exeext"
5.18911 -
5.18912 -# Additional compiler flags for building library objects.
5.18913 -pic_flag=$lt_lt_prog_compiler_pic_GCJ
5.18914 -pic_mode=$pic_mode
5.18915 -
5.18916 -# What is the maximum length of a command?
5.18917 -max_cmd_len=$lt_cv_sys_max_cmd_len
5.18918 -
5.18919 -# Does compiler simultaneously support -c and -o options?
5.18920 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
5.18921 -
5.18922 -# Must we lock files when doing compilation?
5.18923 -need_locks=$lt_need_locks
5.18924 -
5.18925 -# Do we need the lib prefix for modules?
5.18926 -need_lib_prefix=$need_lib_prefix
5.18927 -
5.18928 -# Do we need a version for libraries?
5.18929 -need_version=$need_version
5.18930 -
5.18931 -# Whether dlopen is supported.
5.18932 -dlopen_support=$enable_dlopen
5.18933 -
5.18934 -# Whether dlopen of programs is supported.
5.18935 -dlopen_self=$enable_dlopen_self
5.18936 -
5.18937 -# Whether dlopen of statically linked programs is supported.
5.18938 -dlopen_self_static=$enable_dlopen_self_static
5.18939 -
5.18940 -# Compiler flag to prevent dynamic linking.
5.18941 -link_static_flag=$lt_lt_prog_compiler_static_GCJ
5.18942 -
5.18943 -# Compiler flag to turn off builtin functions.
5.18944 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
5.18945 -
5.18946 -# Compiler flag to allow reflexive dlopens.
5.18947 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
5.18948 -
5.18949 -# Compiler flag to generate shared objects directly from archives.
5.18950 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
5.18951 -
5.18952 -# Compiler flag to generate thread-safe objects.
5.18953 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
5.18954 -
5.18955 -# Library versioning type.
5.18956 -version_type=$version_type
5.18957 -
5.18958 -# Format of library name prefix.
5.18959 -libname_spec=$lt_libname_spec
5.18960 -
5.18961 -# List of archive names. First name is the real one, the rest are links.
5.18962 -# The last name is the one that the linker finds with -lNAME.
5.18963 -library_names_spec=$lt_library_names_spec
5.18964 -
5.18965 -# The coded name of the library, if different from the real name.
5.18966 -soname_spec=$lt_soname_spec
5.18967 -
5.18968 -# Commands used to build and install an old-style archive.
5.18969 -RANLIB=$lt_RANLIB
5.18970 -old_archive_cmds=$lt_old_archive_cmds_GCJ
5.18971 -old_postinstall_cmds=$lt_old_postinstall_cmds
5.18972 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
5.18973 -
5.18974 -# Create an old-style archive from a shared archive.
5.18975 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
5.18976 -
5.18977 -# Create a temporary old-style archive to link instead of a shared archive.
5.18978 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
5.18979 -
5.18980 -# Commands used to build and install a shared archive.
5.18981 -archive_cmds=$lt_archive_cmds_GCJ
5.18982 -archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
5.18983 -postinstall_cmds=$lt_postinstall_cmds
5.18984 -postuninstall_cmds=$lt_postuninstall_cmds
5.18985 -
5.18986 -# Commands used to build a loadable module (assumed same as above if empty)
5.18987 -module_cmds=$lt_module_cmds_GCJ
5.18988 -module_expsym_cmds=$lt_module_expsym_cmds_GCJ
5.18989 -
5.18990 -# Commands to strip libraries.
5.18991 -old_striplib=$lt_old_striplib
5.18992 -striplib=$lt_striplib
5.18993 -
5.18994 -# Dependencies to place before the objects being linked to create a
5.18995 -# shared library.
5.18996 -predep_objects=$lt_predep_objects_GCJ
5.18997 -
5.18998 -# Dependencies to place after the objects being linked to create a
5.18999 -# shared library.
5.19000 -postdep_objects=$lt_postdep_objects_GCJ
5.19001 -
5.19002 -# Dependencies to place before the objects being linked to create a
5.19003 -# shared library.
5.19004 -predeps=$lt_predeps_GCJ
5.19005 -
5.19006 -# Dependencies to place after the objects being linked to create a
5.19007 -# shared library.
5.19008 -postdeps=$lt_postdeps_GCJ
5.19009 -
5.19010 -# The library search path used internally by the compiler when linking
5.19011 -# a shared library.
5.19012 -compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
5.19013 -
5.19014 -# Method to check whether dependent libraries are shared objects.
5.19015 -deplibs_check_method=$lt_deplibs_check_method
5.19016 -
5.19017 -# Command to use when deplibs_check_method == file_magic.
5.19018 -file_magic_cmd=$lt_file_magic_cmd
5.19019 -
5.19020 -# Flag that allows shared libraries with undefined symbols to be built.
5.19021 -allow_undefined_flag=$lt_allow_undefined_flag_GCJ
5.19022 -
5.19023 -# Flag that forces no undefined symbols.
5.19024 -no_undefined_flag=$lt_no_undefined_flag_GCJ
5.19025 -
5.19026 -# Commands used to finish a libtool library installation in a directory.
5.19027 -finish_cmds=$lt_finish_cmds
5.19028 -
5.19029 -# Same as above, but a single script fragment to be evaled but not shown.
5.19030 -finish_eval=$lt_finish_eval
5.19031 -
5.19032 -# Take the output of nm and produce a listing of raw symbols and C names.
5.19033 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
5.19034 -
5.19035 -# Transform the output of nm in a proper C declaration
5.19036 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
5.19037 -
5.19038 -# Transform the output of nm in a C name address pair
5.19039 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
5.19040 -
5.19041 -# This is the shared library runtime path variable.
5.19042 -runpath_var=$runpath_var
5.19043 -
5.19044 -# This is the shared library path variable.
5.19045 -shlibpath_var=$shlibpath_var
5.19046 -
5.19047 -# Is shlibpath searched before the hard-coded library search path?
5.19048 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
5.19049 -
5.19050 -# How to hardcode a shared library path into an executable.
5.19051 -hardcode_action=$hardcode_action_GCJ
5.19052 -
5.19053 -# Whether we should hardcode library paths into libraries.
5.19054 -hardcode_into_libs=$hardcode_into_libs
5.19055 -
5.19056 -# Flag to hardcode \$libdir into a binary during linking.
5.19057 -# This must work even if \$libdir does not exist.
5.19058 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
5.19059 -
5.19060 -# If ld is used when linking, flag to hardcode \$libdir into
5.19061 -# a binary during linking. This must work even if \$libdir does
5.19062 -# not exist.
5.19063 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
5.19064 -
5.19065 -# Whether we need a single -rpath flag with a separated argument.
5.19066 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
5.19067 -
5.19068 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
5.19069 -# resulting binary.
5.19070 -hardcode_direct=$hardcode_direct_GCJ
5.19071 -
5.19072 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
5.19073 -# resulting binary.
5.19074 -hardcode_minus_L=$hardcode_minus_L_GCJ
5.19075 -
5.19076 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
5.19077 -# the resulting binary.
5.19078 -hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
5.19079 -
5.19080 -# Set to yes if building a shared library automatically hardcodes DIR into the library
5.19081 -# and all subsequent libraries and executables linked against it.
5.19082 -hardcode_automatic=$hardcode_automatic_GCJ
5.19083 -
5.19084 -# Variables whose values should be saved in libtool wrapper scripts and
5.19085 -# restored at relink time.
5.19086 -variables_saved_for_relink="$variables_saved_for_relink"
5.19087 -
5.19088 -# Whether libtool must link a program against all its dependency libraries.
5.19089 -link_all_deplibs=$link_all_deplibs_GCJ
5.19090 -
5.19091 -# Compile-time system search path for libraries
5.19092 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
5.19093 -
5.19094 -# Run-time system search path for libraries
5.19095 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
5.19096 -
5.19097 -# Fix the shell variable \$srcfile for the compiler.
5.19098 -fix_srcfile_path="$fix_srcfile_path_GCJ"
5.19099 -
5.19100 -# Set to yes if exported symbols are required.
5.19101 -always_export_symbols=$always_export_symbols_GCJ
5.19102 -
5.19103 -# The commands to list exported symbols.
5.19104 -export_symbols_cmds=$lt_export_symbols_cmds_GCJ
5.19105 -
5.19106 -# The commands to extract the exported symbol list from a shared archive.
5.19107 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
5.19108 -
5.19109 -# Symbols that should not be listed in the preloaded symbols.
5.19110 -exclude_expsyms=$lt_exclude_expsyms_GCJ
5.19111 -
5.19112 -# Symbols that must always be exported.
5.19113 -include_expsyms=$lt_include_expsyms_GCJ
5.19114 -
5.19115 -# ### END LIBTOOL TAG CONFIG: $tagname
5.19116 -
5.19117 -__EOF__
5.19118 -
5.19119 -
5.19120 -else
5.19121 - # If there is no Makefile yet, we rely on a make rule to execute
5.19122 - # `config.status --recheck' to rerun these tests and create the
5.19123 - # libtool script then.
5.19124 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
5.19125 - if test -f "$ltmain_in"; then
5.19126 - test -f Makefile && make "$ltmain"
5.19127 - fi
5.19128 -fi
5.19129 -
5.19130 -
5.19131 -ac_ext=c
5.19132 -ac_cpp='$CPP $CPPFLAGS'
5.19133 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.19134 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.19135 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.19136 -
5.19137 -CC="$lt_save_CC"
5.19138 -
5.19139 - else
5.19140 - tagname=""
5.19141 - fi
5.19142 - ;;
5.19143 -
5.19144 - RC)
5.19145 -
5.19146 -
5.19147 -
5.19148 -# Source file extension for RC test sources.
5.19149 -ac_ext=rc
5.19150 -
5.19151 -# Object file extension for compiled RC test sources.
5.19152 -objext=o
5.19153 -objext_RC=$objext
5.19154 -
5.19155 -# Code to be used in simple compile tests
5.19156 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
5.19157 -
5.19158 -# Code to be used in simple link tests
5.19159 -lt_simple_link_test_code="$lt_simple_compile_test_code"
5.19160 -
5.19161 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
5.19162 -
5.19163 -# If no C compiler was specified, use CC.
5.19164 -LTCC=${LTCC-"$CC"}
5.19165 -
5.19166 -# Allow CC to be a program name with arguments.
5.19167 -compiler=$CC
5.19168 -
5.19169 -
5.19170 -# save warnings/boilerplate of simple test code
5.19171 -ac_outfile=conftest.$ac_objext
5.19172 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
5.19173 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
5.19174 -_lt_compiler_boilerplate=`cat conftest.err`
5.19175 -$rm conftest*
5.19176 -
5.19177 -ac_outfile=conftest.$ac_objext
5.19178 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
5.19179 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
5.19180 -_lt_linker_boilerplate=`cat conftest.err`
5.19181 -$rm conftest*
5.19182 -
5.19183 -
5.19184 -# Allow CC to be a program name with arguments.
5.19185 -lt_save_CC="$CC"
5.19186 -CC=${RC-"windres"}
5.19187 -compiler=$CC
5.19188 -compiler_RC=$CC
5.19189 -for cc_temp in $compiler""; do
5.19190 - case $cc_temp in
5.19191 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5.19192 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
5.19193 - \-*) ;;
5.19194 - *) break;;
5.19195 - esac
5.19196 -done
5.19197 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
5.19198 -
5.19199 -lt_cv_prog_compiler_c_o_RC=yes
5.19200 -
5.19201 -# The else clause should only fire when bootstrapping the
5.19202 -# libtool distribution, otherwise you forgot to ship ltmain.sh
5.19203 -# with your package, and you will get complaints that there are
5.19204 -# no rules to generate ltmain.sh.
5.19205 -if test -f "$ltmain"; then
5.19206 - # See if we are running on zsh, and set the options which allow our commands through
5.19207 - # without removal of \ escapes.
5.19208 - if test -n "${ZSH_VERSION+set}" ; then
5.19209 - setopt NO_GLOB_SUBST
5.19210 - fi
5.19211 - # Now quote all the things that may contain metacharacters while being
5.19212 - # careful not to overquote the AC_SUBSTed values. We take copies of the
5.19213 - # variables and quote the copies for generation of the libtool script.
5.19214 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
5.19215 - SED SHELL STRIP \
5.19216 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
5.19217 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
5.19218 - deplibs_check_method reload_flag reload_cmds need_locks \
5.19219 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
5.19220 - lt_cv_sys_global_symbol_to_c_name_address \
5.19221 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
5.19222 - old_postinstall_cmds old_postuninstall_cmds \
5.19223 - compiler_RC \
5.19224 - CC_RC \
5.19225 - LD_RC \
5.19226 - lt_prog_compiler_wl_RC \
5.19227 - lt_prog_compiler_pic_RC \
5.19228 - lt_prog_compiler_static_RC \
5.19229 - lt_prog_compiler_no_builtin_flag_RC \
5.19230 - export_dynamic_flag_spec_RC \
5.19231 - thread_safe_flag_spec_RC \
5.19232 - whole_archive_flag_spec_RC \
5.19233 - enable_shared_with_static_runtimes_RC \
5.19234 - old_archive_cmds_RC \
5.19235 - old_archive_from_new_cmds_RC \
5.19236 - predep_objects_RC \
5.19237 - postdep_objects_RC \
5.19238 - predeps_RC \
5.19239 - postdeps_RC \
5.19240 - compiler_lib_search_path_RC \
5.19241 - archive_cmds_RC \
5.19242 - archive_expsym_cmds_RC \
5.19243 - postinstall_cmds_RC \
5.19244 - postuninstall_cmds_RC \
5.19245 - old_archive_from_expsyms_cmds_RC \
5.19246 - allow_undefined_flag_RC \
5.19247 - no_undefined_flag_RC \
5.19248 - export_symbols_cmds_RC \
5.19249 - hardcode_libdir_flag_spec_RC \
5.19250 - hardcode_libdir_flag_spec_ld_RC \
5.19251 - hardcode_libdir_separator_RC \
5.19252 - hardcode_automatic_RC \
5.19253 - module_cmds_RC \
5.19254 - module_expsym_cmds_RC \
5.19255 - lt_cv_prog_compiler_c_o_RC \
5.19256 - exclude_expsyms_RC \
5.19257 - include_expsyms_RC; do
5.19258 -
5.19259 - case $var in
5.19260 - old_archive_cmds_RC | \
5.19261 - old_archive_from_new_cmds_RC | \
5.19262 - archive_cmds_RC | \
5.19263 - archive_expsym_cmds_RC | \
5.19264 - module_cmds_RC | \
5.19265 - module_expsym_cmds_RC | \
5.19266 - old_archive_from_expsyms_cmds_RC | \
5.19267 - export_symbols_cmds_RC | \
5.19268 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
5.19269 - postinstall_cmds | postuninstall_cmds | \
5.19270 - old_postinstall_cmds | old_postuninstall_cmds | \
5.19271 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
5.19272 - # Double-quote double-evaled strings.
5.19273 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
5.19274 - ;;
5.19275 - *)
5.19276 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
5.19277 - ;;
5.19278 - esac
5.19279 - done
5.19280 -
5.19281 - case $lt_echo in
5.19282 - *'\$0 --fallback-echo"')
5.19283 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
5.19284 - ;;
5.19285 - esac
5.19286 -
5.19287 -cfgfile="$ofile"
5.19288 -
5.19289 - cat <<__EOF__ >> "$cfgfile"
5.19290 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
5.19291 -
5.19292 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
5.19293 -
5.19294 -# Shell to use when invoking shell scripts.
5.19295 -SHELL=$lt_SHELL
5.19296 -
5.19297 -# Whether or not to build shared libraries.
5.19298 -build_libtool_libs=$enable_shared
5.19299 -
5.19300 -# Whether or not to build static libraries.
5.19301 -build_old_libs=$enable_static
5.19302 -
5.19303 -# Whether or not to add -lc for building shared libraries.
5.19304 -build_libtool_need_lc=$archive_cmds_need_lc_RC
5.19305 -
5.19306 -# Whether or not to disallow shared libs when runtime libs are static
5.19307 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
5.19308 -
5.19309 -# Whether or not to optimize for fast installation.
5.19310 -fast_install=$enable_fast_install
5.19311 -
5.19312 -# The host system.
5.19313 -host_alias=$host_alias
5.19314 -host=$host
5.19315 -host_os=$host_os
5.19316 -
5.19317 -# The build system.
5.19318 -build_alias=$build_alias
5.19319 -build=$build
5.19320 -build_os=$build_os
5.19321 -
5.19322 -# An echo program that does not interpret backslashes.
5.19323 -echo=$lt_echo
5.19324 -
5.19325 -# The archiver.
5.19326 -AR=$lt_AR
5.19327 -AR_FLAGS=$lt_AR_FLAGS
5.19328 -
5.19329 -# A C compiler.
5.19330 -LTCC=$lt_LTCC
5.19331 -
5.19332 -# A language-specific compiler.
5.19333 -CC=$lt_compiler_RC
5.19334 -
5.19335 -# Is the compiler the GNU C compiler?
5.19336 -with_gcc=$GCC_RC
5.19337 -
5.19338 -# An ERE matcher.
5.19339 -EGREP=$lt_EGREP
5.19340 -
5.19341 -# The linker used to build libraries.
5.19342 -LD=$lt_LD_RC
5.19343 -
5.19344 -# Whether we need hard or soft links.
5.19345 -LN_S=$lt_LN_S
5.19346 -
5.19347 -# A BSD-compatible nm program.
5.19348 -NM=$lt_NM
5.19349 -
5.19350 -# A symbol stripping program
5.19351 -STRIP=$lt_STRIP
5.19352 -
5.19353 -# Used to examine libraries when file_magic_cmd begins "file"
5.19354 -MAGIC_CMD=$MAGIC_CMD
5.19355 -
5.19356 -# Used on cygwin: DLL creation program.
5.19357 -DLLTOOL="$DLLTOOL"
5.19358 -
5.19359 -# Used on cygwin: object dumper.
5.19360 -OBJDUMP="$OBJDUMP"
5.19361 -
5.19362 -# Used on cygwin: assembler.
5.19363 -AS="$AS"
5.19364 -
5.19365 -# The name of the directory that contains temporary libtool files.
5.19366 -objdir=$objdir
5.19367 -
5.19368 -# How to create reloadable object files.
5.19369 -reload_flag=$lt_reload_flag
5.19370 -reload_cmds=$lt_reload_cmds
5.19371 -
5.19372 -# How to pass a linker flag through the compiler.
5.19373 -wl=$lt_lt_prog_compiler_wl_RC
5.19374 -
5.19375 -# Object file suffix (normally "o").
5.19376 -objext="$ac_objext"
5.19377 -
5.19378 -# Old archive suffix (normally "a").
5.19379 -libext="$libext"
5.19380 -
5.19381 -# Shared library suffix (normally ".so").
5.19382 -shrext_cmds='$shrext_cmds'
5.19383 -
5.19384 -# Executable file suffix (normally "").
5.19385 -exeext="$exeext"
5.19386 -
5.19387 -# Additional compiler flags for building library objects.
5.19388 -pic_flag=$lt_lt_prog_compiler_pic_RC
5.19389 -pic_mode=$pic_mode
5.19390 -
5.19391 -# What is the maximum length of a command?
5.19392 -max_cmd_len=$lt_cv_sys_max_cmd_len
5.19393 -
5.19394 -# Does compiler simultaneously support -c and -o options?
5.19395 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
5.19396 -
5.19397 -# Must we lock files when doing compilation?
5.19398 -need_locks=$lt_need_locks
5.19399 -
5.19400 -# Do we need the lib prefix for modules?
5.19401 -need_lib_prefix=$need_lib_prefix
5.19402 -
5.19403 -# Do we need a version for libraries?
5.19404 -need_version=$need_version
5.19405 -
5.19406 -# Whether dlopen is supported.
5.19407 -dlopen_support=$enable_dlopen
5.19408 -
5.19409 -# Whether dlopen of programs is supported.
5.19410 -dlopen_self=$enable_dlopen_self
5.19411 -
5.19412 -# Whether dlopen of statically linked programs is supported.
5.19413 -dlopen_self_static=$enable_dlopen_self_static
5.19414 -
5.19415 -# Compiler flag to prevent dynamic linking.
5.19416 -link_static_flag=$lt_lt_prog_compiler_static_RC
5.19417 -
5.19418 -# Compiler flag to turn off builtin functions.
5.19419 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
5.19420 -
5.19421 -# Compiler flag to allow reflexive dlopens.
5.19422 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
5.19423 -
5.19424 -# Compiler flag to generate shared objects directly from archives.
5.19425 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
5.19426 -
5.19427 -# Compiler flag to generate thread-safe objects.
5.19428 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
5.19429 -
5.19430 -# Library versioning type.
5.19431 -version_type=$version_type
5.19432 -
5.19433 -# Format of library name prefix.
5.19434 -libname_spec=$lt_libname_spec
5.19435 -
5.19436 -# List of archive names. First name is the real one, the rest are links.
5.19437 -# The last name is the one that the linker finds with -lNAME.
5.19438 -library_names_spec=$lt_library_names_spec
5.19439 -
5.19440 -# The coded name of the library, if different from the real name.
5.19441 -soname_spec=$lt_soname_spec
5.19442 -
5.19443 -# Commands used to build and install an old-style archive.
5.19444 -RANLIB=$lt_RANLIB
5.19445 -old_archive_cmds=$lt_old_archive_cmds_RC
5.19446 -old_postinstall_cmds=$lt_old_postinstall_cmds
5.19447 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
5.19448 -
5.19449 -# Create an old-style archive from a shared archive.
5.19450 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
5.19451 -
5.19452 -# Create a temporary old-style archive to link instead of a shared archive.
5.19453 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
5.19454 -
5.19455 -# Commands used to build and install a shared archive.
5.19456 -archive_cmds=$lt_archive_cmds_RC
5.19457 -archive_expsym_cmds=$lt_archive_expsym_cmds_RC
5.19458 -postinstall_cmds=$lt_postinstall_cmds
5.19459 -postuninstall_cmds=$lt_postuninstall_cmds
5.19460 -
5.19461 -# Commands used to build a loadable module (assumed same as above if empty)
5.19462 -module_cmds=$lt_module_cmds_RC
5.19463 -module_expsym_cmds=$lt_module_expsym_cmds_RC
5.19464 -
5.19465 -# Commands to strip libraries.
5.19466 -old_striplib=$lt_old_striplib
5.19467 -striplib=$lt_striplib
5.19468 -
5.19469 -# Dependencies to place before the objects being linked to create a
5.19470 -# shared library.
5.19471 -predep_objects=$lt_predep_objects_RC
5.19472 -
5.19473 -# Dependencies to place after the objects being linked to create a
5.19474 -# shared library.
5.19475 -postdep_objects=$lt_postdep_objects_RC
5.19476 -
5.19477 -# Dependencies to place before the objects being linked to create a
5.19478 -# shared library.
5.19479 -predeps=$lt_predeps_RC
5.19480 -
5.19481 -# Dependencies to place after the objects being linked to create a
5.19482 -# shared library.
5.19483 -postdeps=$lt_postdeps_RC
5.19484 -
5.19485 -# The library search path used internally by the compiler when linking
5.19486 -# a shared library.
5.19487 -compiler_lib_search_path=$lt_compiler_lib_search_path_RC
5.19488 -
5.19489 -# Method to check whether dependent libraries are shared objects.
5.19490 -deplibs_check_method=$lt_deplibs_check_method
5.19491 -
5.19492 -# Command to use when deplibs_check_method == file_magic.
5.19493 -file_magic_cmd=$lt_file_magic_cmd
5.19494 -
5.19495 -# Flag that allows shared libraries with undefined symbols to be built.
5.19496 -allow_undefined_flag=$lt_allow_undefined_flag_RC
5.19497 -
5.19498 -# Flag that forces no undefined symbols.
5.19499 -no_undefined_flag=$lt_no_undefined_flag_RC
5.19500 -
5.19501 -# Commands used to finish a libtool library installation in a directory.
5.19502 -finish_cmds=$lt_finish_cmds
5.19503 -
5.19504 -# Same as above, but a single script fragment to be evaled but not shown.
5.19505 -finish_eval=$lt_finish_eval
5.19506 -
5.19507 -# Take the output of nm and produce a listing of raw symbols and C names.
5.19508 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
5.19509 -
5.19510 -# Transform the output of nm in a proper C declaration
5.19511 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
5.19512 -
5.19513 -# Transform the output of nm in a C name address pair
5.19514 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
5.19515 -
5.19516 -# This is the shared library runtime path variable.
5.19517 -runpath_var=$runpath_var
5.19518 -
5.19519 -# This is the shared library path variable.
5.19520 -shlibpath_var=$shlibpath_var
5.19521 -
5.19522 -# Is shlibpath searched before the hard-coded library search path?
5.19523 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
5.19524 -
5.19525 -# How to hardcode a shared library path into an executable.
5.19526 -hardcode_action=$hardcode_action_RC
5.19527 -
5.19528 -# Whether we should hardcode library paths into libraries.
5.19529 -hardcode_into_libs=$hardcode_into_libs
5.19530 -
5.19531 -# Flag to hardcode \$libdir into a binary during linking.
5.19532 -# This must work even if \$libdir does not exist.
5.19533 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
5.19534 -
5.19535 -# If ld is used when linking, flag to hardcode \$libdir into
5.19536 -# a binary during linking. This must work even if \$libdir does
5.19537 -# not exist.
5.19538 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
5.19539 -
5.19540 -# Whether we need a single -rpath flag with a separated argument.
5.19541 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
5.19542 -
5.19543 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
5.19544 -# resulting binary.
5.19545 -hardcode_direct=$hardcode_direct_RC
5.19546 -
5.19547 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
5.19548 -# resulting binary.
5.19549 -hardcode_minus_L=$hardcode_minus_L_RC
5.19550 -
5.19551 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
5.19552 -# the resulting binary.
5.19553 -hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
5.19554 -
5.19555 -# Set to yes if building a shared library automatically hardcodes DIR into the library
5.19556 -# and all subsequent libraries and executables linked against it.
5.19557 -hardcode_automatic=$hardcode_automatic_RC
5.19558 -
5.19559 -# Variables whose values should be saved in libtool wrapper scripts and
5.19560 -# restored at relink time.
5.19561 -variables_saved_for_relink="$variables_saved_for_relink"
5.19562 -
5.19563 -# Whether libtool must link a program against all its dependency libraries.
5.19564 -link_all_deplibs=$link_all_deplibs_RC
5.19565 -
5.19566 -# Compile-time system search path for libraries
5.19567 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
5.19568 -
5.19569 -# Run-time system search path for libraries
5.19570 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
5.19571 -
5.19572 -# Fix the shell variable \$srcfile for the compiler.
5.19573 -fix_srcfile_path="$fix_srcfile_path_RC"
5.19574 -
5.19575 -# Set to yes if exported symbols are required.
5.19576 -always_export_symbols=$always_export_symbols_RC
5.19577 -
5.19578 -# The commands to list exported symbols.
5.19579 -export_symbols_cmds=$lt_export_symbols_cmds_RC
5.19580 -
5.19581 -# The commands to extract the exported symbol list from a shared archive.
5.19582 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
5.19583 -
5.19584 -# Symbols that should not be listed in the preloaded symbols.
5.19585 -exclude_expsyms=$lt_exclude_expsyms_RC
5.19586 -
5.19587 -# Symbols that must always be exported.
5.19588 -include_expsyms=$lt_include_expsyms_RC
5.19589 -
5.19590 -# ### END LIBTOOL TAG CONFIG: $tagname
5.19591 -
5.19592 -__EOF__
5.19593 -
5.19594 -
5.19595 -else
5.19596 - # If there is no Makefile yet, we rely on a make rule to execute
5.19597 - # `config.status --recheck' to rerun these tests and create the
5.19598 - # libtool script then.
5.19599 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
5.19600 - if test -f "$ltmain_in"; then
5.19601 - test -f Makefile && make "$ltmain"
5.19602 - fi
5.19603 -fi
5.19604 -
5.19605 -
5.19606 -ac_ext=c
5.19607 -ac_cpp='$CPP $CPPFLAGS'
5.19608 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.19609 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.19610 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.19611 -
5.19612 -CC="$lt_save_CC"
5.19613 -
5.19614 - ;;
5.19615 -
5.19616 - *)
5.19617 - { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
5.19618 -echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
5.19619 - { (exit 1); exit 1; }; }
5.19620 - ;;
5.19621 - esac
5.19622 -
5.19623 - # Append the new tag name to the list of available tags.
5.19624 - if test -n "$tagname" ; then
5.19625 - available_tags="$available_tags $tagname"
5.19626 - fi
5.19627 - fi
5.19628 - done
5.19629 - IFS="$lt_save_ifs"
5.19630 -
5.19631 - # Now substitute the updated list of available tags.
5.19632 - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
5.19633 - mv "${ofile}T" "$ofile"
5.19634 - chmod +x "$ofile"
5.19635 - else
5.19636 - rm -f "${ofile}T"
5.19637 - { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
5.19638 -echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
5.19639 - { (exit 1); exit 1; }; }
5.19640 - fi
5.19641 -fi
5.19642 -
5.19643 -
5.19644 -
5.19645 -# This can be used to rebuild libtool when needed
5.19646 -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
5.19647 -
5.19648 -# Always use our own libtool.
5.19649 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5.19650 -
5.19651 -# Prevent multiple expansion
5.19652 -
5.19653 -
5.19654 -
5.19655 -
5.19656 -
5.19657 -
5.19658 -
5.19659 -
5.19660 -
5.19661 -
5.19662 -
5.19663 -
5.19664 -
5.19665 -
5.19666 -
5.19667 -
5.19668 -
5.19669 -
5.19670 -
5.19671 -
5.19672 -
5.19673 - ac_config_headers="$ac_config_headers config.h"
5.19674 -
5.19675 -
5.19676 -ACLOCAL_AMFLAGS="-I m4"
5.19677 -
5.19678 -
5.19679 -ac_ext=c
5.19680 -ac_cpp='$CPP $CPPFLAGS'
5.19681 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.19682 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.19683 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.19684 -if test -n "$ac_tool_prefix"; then
5.19685 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5.19686 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
5.19687 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.19688 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.19689 -if test "${ac_cv_prog_CC+set}" = set; then
5.19690 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.19691 -else
5.19692 - if test -n "$CC"; then
5.19693 - ac_cv_prog_CC="$CC" # Let the user override the test.
5.19694 -else
5.19695 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.19696 -for as_dir in $PATH
5.19697 -do
5.19698 - IFS=$as_save_IFS
5.19699 - test -z "$as_dir" && as_dir=.
5.19700 - for ac_exec_ext in '' $ac_executable_extensions; do
5.19701 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.19702 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
5.19703 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.19704 - break 2
5.19705 - fi
5.19706 -done
5.19707 -done
5.19708 -
5.19709 -fi
5.19710 -fi
5.19711 -CC=$ac_cv_prog_CC
5.19712 -if test -n "$CC"; then
5.19713 - echo "$as_me:$LINENO: result: $CC" >&5
5.19714 -echo "${ECHO_T}$CC" >&6
5.19715 -else
5.19716 - echo "$as_me:$LINENO: result: no" >&5
5.19717 -echo "${ECHO_T}no" >&6
5.19718 -fi
5.19719 -
5.19720 -fi
5.19721 -if test -z "$ac_cv_prog_CC"; then
5.19722 - ac_ct_CC=$CC
5.19723 - # Extract the first word of "gcc", so it can be a program name with args.
5.19724 -set dummy gcc; ac_word=$2
5.19725 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.19726 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.19727 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5.19728 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.19729 -else
5.19730 - if test -n "$ac_ct_CC"; then
5.19731 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5.19732 -else
5.19733 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.19734 -for as_dir in $PATH
5.19735 -do
5.19736 - IFS=$as_save_IFS
5.19737 - test -z "$as_dir" && as_dir=.
5.19738 - for ac_exec_ext in '' $ac_executable_extensions; do
5.19739 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.19740 - ac_cv_prog_ac_ct_CC="gcc"
5.19741 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.19742 - break 2
5.19743 - fi
5.19744 -done
5.19745 -done
5.19746 -
5.19747 -fi
5.19748 -fi
5.19749 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
5.19750 -if test -n "$ac_ct_CC"; then
5.19751 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5.19752 -echo "${ECHO_T}$ac_ct_CC" >&6
5.19753 -else
5.19754 - echo "$as_me:$LINENO: result: no" >&5
5.19755 -echo "${ECHO_T}no" >&6
5.19756 -fi
5.19757 -
5.19758 - CC=$ac_ct_CC
5.19759 -else
5.19760 - CC="$ac_cv_prog_CC"
5.19761 -fi
5.19762 -
5.19763 -if test -z "$CC"; then
5.19764 - if test -n "$ac_tool_prefix"; then
5.19765 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5.19766 -set dummy ${ac_tool_prefix}cc; ac_word=$2
5.19767 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.19768 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.19769 -if test "${ac_cv_prog_CC+set}" = set; then
5.19770 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.19771 -else
5.19772 - if test -n "$CC"; then
5.19773 - ac_cv_prog_CC="$CC" # Let the user override the test.
5.19774 -else
5.19775 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.19776 -for as_dir in $PATH
5.19777 -do
5.19778 - IFS=$as_save_IFS
5.19779 - test -z "$as_dir" && as_dir=.
5.19780 - for ac_exec_ext in '' $ac_executable_extensions; do
5.19781 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.19782 - ac_cv_prog_CC="${ac_tool_prefix}cc"
5.19783 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.19784 - break 2
5.19785 - fi
5.19786 -done
5.19787 -done
5.19788 -
5.19789 -fi
5.19790 -fi
5.19791 -CC=$ac_cv_prog_CC
5.19792 -if test -n "$CC"; then
5.19793 - echo "$as_me:$LINENO: result: $CC" >&5
5.19794 -echo "${ECHO_T}$CC" >&6
5.19795 -else
5.19796 - echo "$as_me:$LINENO: result: no" >&5
5.19797 -echo "${ECHO_T}no" >&6
5.19798 -fi
5.19799 -
5.19800 -fi
5.19801 -if test -z "$ac_cv_prog_CC"; then
5.19802 - ac_ct_CC=$CC
5.19803 - # Extract the first word of "cc", so it can be a program name with args.
5.19804 -set dummy cc; ac_word=$2
5.19805 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.19806 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.19807 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5.19808 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.19809 -else
5.19810 - if test -n "$ac_ct_CC"; then
5.19811 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5.19812 -else
5.19813 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.19814 -for as_dir in $PATH
5.19815 -do
5.19816 - IFS=$as_save_IFS
5.19817 - test -z "$as_dir" && as_dir=.
5.19818 - for ac_exec_ext in '' $ac_executable_extensions; do
5.19819 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.19820 - ac_cv_prog_ac_ct_CC="cc"
5.19821 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.19822 - break 2
5.19823 - fi
5.19824 -done
5.19825 -done
5.19826 -
5.19827 -fi
5.19828 -fi
5.19829 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
5.19830 -if test -n "$ac_ct_CC"; then
5.19831 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5.19832 -echo "${ECHO_T}$ac_ct_CC" >&6
5.19833 -else
5.19834 - echo "$as_me:$LINENO: result: no" >&5
5.19835 -echo "${ECHO_T}no" >&6
5.19836 -fi
5.19837 -
5.19838 - CC=$ac_ct_CC
5.19839 -else
5.19840 - CC="$ac_cv_prog_CC"
5.19841 -fi
5.19842 -
5.19843 -fi
5.19844 -if test -z "$CC"; then
5.19845 - # Extract the first word of "cc", so it can be a program name with args.
5.19846 -set dummy cc; ac_word=$2
5.19847 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.19848 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.19849 -if test "${ac_cv_prog_CC+set}" = set; then
5.19850 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.19851 -else
5.19852 - if test -n "$CC"; then
5.19853 - ac_cv_prog_CC="$CC" # Let the user override the test.
5.19854 -else
5.19855 - ac_prog_rejected=no
5.19856 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.19857 -for as_dir in $PATH
5.19858 -do
5.19859 - IFS=$as_save_IFS
5.19860 - test -z "$as_dir" && as_dir=.
5.19861 - for ac_exec_ext in '' $ac_executable_extensions; do
5.19862 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.19863 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5.19864 - ac_prog_rejected=yes
5.19865 - continue
5.19866 - fi
5.19867 - ac_cv_prog_CC="cc"
5.19868 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.19869 - break 2
5.19870 - fi
5.19871 -done
5.19872 -done
5.19873 -
5.19874 -if test $ac_prog_rejected = yes; then
5.19875 - # We found a bogon in the path, so make sure we never use it.
5.19876 - set dummy $ac_cv_prog_CC
5.19877 - shift
5.19878 - if test $@%:@ != 0; then
5.19879 - # We chose a different compiler from the bogus one.
5.19880 - # However, it has the same basename, so the bogon will be chosen
5.19881 - # first if we set CC to just the basename; use the full file name.
5.19882 - shift
5.19883 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5.19884 - fi
5.19885 -fi
5.19886 -fi
5.19887 -fi
5.19888 -CC=$ac_cv_prog_CC
5.19889 -if test -n "$CC"; then
5.19890 - echo "$as_me:$LINENO: result: $CC" >&5
5.19891 -echo "${ECHO_T}$CC" >&6
5.19892 -else
5.19893 - echo "$as_me:$LINENO: result: no" >&5
5.19894 -echo "${ECHO_T}no" >&6
5.19895 -fi
5.19896 -
5.19897 -fi
5.19898 -if test -z "$CC"; then
5.19899 - if test -n "$ac_tool_prefix"; then
5.19900 - for ac_prog in cl
5.19901 - do
5.19902 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5.19903 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5.19904 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.19905 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.19906 -if test "${ac_cv_prog_CC+set}" = set; then
5.19907 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.19908 -else
5.19909 - if test -n "$CC"; then
5.19910 - ac_cv_prog_CC="$CC" # Let the user override the test.
5.19911 -else
5.19912 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.19913 -for as_dir in $PATH
5.19914 -do
5.19915 - IFS=$as_save_IFS
5.19916 - test -z "$as_dir" && as_dir=.
5.19917 - for ac_exec_ext in '' $ac_executable_extensions; do
5.19918 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.19919 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5.19920 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.19921 - break 2
5.19922 - fi
5.19923 -done
5.19924 -done
5.19925 -
5.19926 -fi
5.19927 -fi
5.19928 -CC=$ac_cv_prog_CC
5.19929 -if test -n "$CC"; then
5.19930 - echo "$as_me:$LINENO: result: $CC" >&5
5.19931 -echo "${ECHO_T}$CC" >&6
5.19932 -else
5.19933 - echo "$as_me:$LINENO: result: no" >&5
5.19934 -echo "${ECHO_T}no" >&6
5.19935 -fi
5.19936 -
5.19937 - test -n "$CC" && break
5.19938 - done
5.19939 -fi
5.19940 -if test -z "$CC"; then
5.19941 - ac_ct_CC=$CC
5.19942 - for ac_prog in cl
5.19943 -do
5.19944 - # Extract the first word of "$ac_prog", so it can be a program name with args.
5.19945 -set dummy $ac_prog; ac_word=$2
5.19946 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.19947 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.19948 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5.19949 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.19950 -else
5.19951 - if test -n "$ac_ct_CC"; then
5.19952 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5.19953 -else
5.19954 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.19955 -for as_dir in $PATH
5.19956 -do
5.19957 - IFS=$as_save_IFS
5.19958 - test -z "$as_dir" && as_dir=.
5.19959 - for ac_exec_ext in '' $ac_executable_extensions; do
5.19960 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.19961 - ac_cv_prog_ac_ct_CC="$ac_prog"
5.19962 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.19963 - break 2
5.19964 - fi
5.19965 -done
5.19966 -done
5.19967 -
5.19968 -fi
5.19969 -fi
5.19970 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
5.19971 -if test -n "$ac_ct_CC"; then
5.19972 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5.19973 -echo "${ECHO_T}$ac_ct_CC" >&6
5.19974 -else
5.19975 - echo "$as_me:$LINENO: result: no" >&5
5.19976 -echo "${ECHO_T}no" >&6
5.19977 -fi
5.19978 -
5.19979 - test -n "$ac_ct_CC" && break
5.19980 -done
5.19981 -
5.19982 - CC=$ac_ct_CC
5.19983 -fi
5.19984 -
5.19985 -fi
5.19986 -
5.19987 -
5.19988 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5.19989 -See \`config.log' for more details." >&5
5.19990 -echo "$as_me: error: no acceptable C compiler found in \$PATH
5.19991 -See \`config.log' for more details." >&2;}
5.19992 - { (exit 1); exit 1; }; }
5.19993 -
5.19994 -# Provide some information about the compiler.
5.19995 -echo "$as_me:$LINENO:" \
5.19996 - "checking for C compiler version" >&5
5.19997 -ac_compiler=`set X $ac_compile; echo $2`
5.19998 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5.19999 - (eval $ac_compiler --version </dev/null >&5) 2>&5
5.20000 - ac_status=$?
5.20001 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20002 - (exit $ac_status); }
5.20003 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5.20004 - (eval $ac_compiler -v </dev/null >&5) 2>&5
5.20005 - ac_status=$?
5.20006 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20007 - (exit $ac_status); }
5.20008 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5.20009 - (eval $ac_compiler -V </dev/null >&5) 2>&5
5.20010 - ac_status=$?
5.20011 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20012 - (exit $ac_status); }
5.20013 -
5.20014 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5.20015 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5.20016 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
5.20017 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.20018 -else
5.20019 - cat >conftest.$ac_ext <<_ACEOF
5.20020 -/* confdefs.h. */
5.20021 -_ACEOF
5.20022 -cat confdefs.h >>conftest.$ac_ext
5.20023 -cat >>conftest.$ac_ext <<_ACEOF
5.20024 -/* end confdefs.h. */
5.20025 -
5.20026 -int
5.20027 -main ()
5.20028 -{
5.20029 -#ifndef __GNUC__
5.20030 - choke me
5.20031 -#endif
5.20032 -
5.20033 - ;
5.20034 - return 0;
5.20035 -}
5.20036 -_ACEOF
5.20037 -rm -f conftest.$ac_objext
5.20038 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.20039 - (eval $ac_compile) 2>conftest.er1
5.20040 - ac_status=$?
5.20041 - grep -v '^ *+' conftest.er1 >conftest.err
5.20042 - rm -f conftest.er1
5.20043 - cat conftest.err >&5
5.20044 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20045 - (exit $ac_status); } &&
5.20046 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.20047 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20048 - (eval $ac_try) 2>&5
5.20049 - ac_status=$?
5.20050 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20051 - (exit $ac_status); }; } &&
5.20052 - { ac_try='test -s conftest.$ac_objext'
5.20053 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20054 - (eval $ac_try) 2>&5
5.20055 - ac_status=$?
5.20056 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20057 - (exit $ac_status); }; }; then
5.20058 - ac_compiler_gnu=yes
5.20059 -else
5.20060 - echo "$as_me: failed program was:" >&5
5.20061 -sed 's/^/| /' conftest.$ac_ext >&5
5.20062 -
5.20063 -ac_compiler_gnu=no
5.20064 -fi
5.20065 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.20066 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
5.20067 -
5.20068 -fi
5.20069 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5.20070 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5.20071 -GCC=`test $ac_compiler_gnu = yes && echo yes`
5.20072 -ac_test_CFLAGS=${CFLAGS+set}
5.20073 -ac_save_CFLAGS=$CFLAGS
5.20074 -CFLAGS="-g"
5.20075 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5.20076 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5.20077 -if test "${ac_cv_prog_cc_g+set}" = set; then
5.20078 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.20079 -else
5.20080 - cat >conftest.$ac_ext <<_ACEOF
5.20081 -/* confdefs.h. */
5.20082 -_ACEOF
5.20083 -cat confdefs.h >>conftest.$ac_ext
5.20084 -cat >>conftest.$ac_ext <<_ACEOF
5.20085 -/* end confdefs.h. */
5.20086 -
5.20087 -int
5.20088 -main ()
5.20089 -{
5.20090 -
5.20091 - ;
5.20092 - return 0;
5.20093 -}
5.20094 -_ACEOF
5.20095 -rm -f conftest.$ac_objext
5.20096 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.20097 - (eval $ac_compile) 2>conftest.er1
5.20098 - ac_status=$?
5.20099 - grep -v '^ *+' conftest.er1 >conftest.err
5.20100 - rm -f conftest.er1
5.20101 - cat conftest.err >&5
5.20102 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20103 - (exit $ac_status); } &&
5.20104 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.20105 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20106 - (eval $ac_try) 2>&5
5.20107 - ac_status=$?
5.20108 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20109 - (exit $ac_status); }; } &&
5.20110 - { ac_try='test -s conftest.$ac_objext'
5.20111 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20112 - (eval $ac_try) 2>&5
5.20113 - ac_status=$?
5.20114 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20115 - (exit $ac_status); }; }; then
5.20116 - ac_cv_prog_cc_g=yes
5.20117 -else
5.20118 - echo "$as_me: failed program was:" >&5
5.20119 -sed 's/^/| /' conftest.$ac_ext >&5
5.20120 -
5.20121 -ac_cv_prog_cc_g=no
5.20122 -fi
5.20123 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.20124 -fi
5.20125 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5.20126 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5.20127 -if test "$ac_test_CFLAGS" = set; then
5.20128 - CFLAGS=$ac_save_CFLAGS
5.20129 -elif test $ac_cv_prog_cc_g = yes; then
5.20130 - if test "$GCC" = yes; then
5.20131 - CFLAGS="-g -O2"
5.20132 - else
5.20133 - CFLAGS="-g"
5.20134 - fi
5.20135 -else
5.20136 - if test "$GCC" = yes; then
5.20137 - CFLAGS="-O2"
5.20138 - else
5.20139 - CFLAGS=
5.20140 - fi
5.20141 -fi
5.20142 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5.20143 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5.20144 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
5.20145 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.20146 -else
5.20147 - ac_cv_prog_cc_stdc=no
5.20148 -ac_save_CC=$CC
5.20149 -cat >conftest.$ac_ext <<_ACEOF
5.20150 -/* confdefs.h. */
5.20151 -_ACEOF
5.20152 -cat confdefs.h >>conftest.$ac_ext
5.20153 -cat >>conftest.$ac_ext <<_ACEOF
5.20154 -/* end confdefs.h. */
5.20155 -#include <stdarg.h>
5.20156 -#include <stdio.h>
5.20157 -#include <sys/types.h>
5.20158 -#include <sys/stat.h>
5.20159 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5.20160 -struct buf { int x; };
5.20161 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
5.20162 -static char *e (p, i)
5.20163 - char **p;
5.20164 - int i;
5.20165 -{
5.20166 - return p[i];
5.20167 -}
5.20168 -static char *f (char * (*g) (char **, int), char **p, ...)
5.20169 -{
5.20170 - char *s;
5.20171 - va_list v;
5.20172 - va_start (v,p);
5.20173 - s = g (p, va_arg (v,int));
5.20174 - va_end (v);
5.20175 - return s;
5.20176 -}
5.20177 -
5.20178 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5.20179 - function prototypes and stuff, but not '\xHH' hex character constants.
5.20180 - These don't provoke an error unfortunately, instead are silently treated
5.20181 - as 'x'. The following induces an error, until -std1 is added to get
5.20182 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5.20183 - array size at least. It's necessary to write '\x00'==0 to get something
5.20184 - that's true only with -std1. */
5.20185 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5.20186 -
5.20187 -int test (int i, double x);
5.20188 -struct s1 {int (*f) (int a);};
5.20189 -struct s2 {int (*f) (double a);};
5.20190 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5.20191 -int argc;
5.20192 -char **argv;
5.20193 -int
5.20194 -main ()
5.20195 -{
5.20196 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5.20197 - ;
5.20198 - return 0;
5.20199 -}
5.20200 -_ACEOF
5.20201 -# Don't try gcc -ansi; that turns off useful extensions and
5.20202 -# breaks some systems' header files.
5.20203 -# AIX -qlanglvl=ansi
5.20204 -# Ultrix and OSF/1 -std1
5.20205 -# HP-UX 10.20 and later -Ae
5.20206 -# HP-UX older versions -Aa -D_HPUX_SOURCE
5.20207 -# SVR4 -Xc -D__EXTENSIONS__
5.20208 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5.20209 -do
5.20210 - CC="$ac_save_CC $ac_arg"
5.20211 - rm -f conftest.$ac_objext
5.20212 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.20213 - (eval $ac_compile) 2>conftest.er1
5.20214 - ac_status=$?
5.20215 - grep -v '^ *+' conftest.er1 >conftest.err
5.20216 - rm -f conftest.er1
5.20217 - cat conftest.err >&5
5.20218 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20219 - (exit $ac_status); } &&
5.20220 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.20221 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20222 - (eval $ac_try) 2>&5
5.20223 - ac_status=$?
5.20224 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20225 - (exit $ac_status); }; } &&
5.20226 - { ac_try='test -s conftest.$ac_objext'
5.20227 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20228 - (eval $ac_try) 2>&5
5.20229 - ac_status=$?
5.20230 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20231 - (exit $ac_status); }; }; then
5.20232 - ac_cv_prog_cc_stdc=$ac_arg
5.20233 -break
5.20234 -else
5.20235 - echo "$as_me: failed program was:" >&5
5.20236 -sed 's/^/| /' conftest.$ac_ext >&5
5.20237 -
5.20238 -fi
5.20239 -rm -f conftest.err conftest.$ac_objext
5.20240 -done
5.20241 -rm -f conftest.$ac_ext conftest.$ac_objext
5.20242 -CC=$ac_save_CC
5.20243 -
5.20244 -fi
5.20245 -
5.20246 -case "x$ac_cv_prog_cc_stdc" in
5.20247 - x|xno)
5.20248 - echo "$as_me:$LINENO: result: none needed" >&5
5.20249 -echo "${ECHO_T}none needed" >&6 ;;
5.20250 - *)
5.20251 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5.20252 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5.20253 - CC="$CC $ac_cv_prog_cc_stdc" ;;
5.20254 -esac
5.20255 -
5.20256 -# Some people use a C++ compiler to compile C. Since we use `exit',
5.20257 -# in C++ we need to declare it. In case someone uses the same compiler
5.20258 -# for both compiling C and C++ we need to have the C++ compiler decide
5.20259 -# the declaration of exit, since it's the most demanding environment.
5.20260 -cat >conftest.$ac_ext <<_ACEOF
5.20261 -@%:@ifndef __cplusplus
5.20262 - choke me
5.20263 -@%:@endif
5.20264 -_ACEOF
5.20265 -rm -f conftest.$ac_objext
5.20266 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.20267 - (eval $ac_compile) 2>conftest.er1
5.20268 - ac_status=$?
5.20269 - grep -v '^ *+' conftest.er1 >conftest.err
5.20270 - rm -f conftest.er1
5.20271 - cat conftest.err >&5
5.20272 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20273 - (exit $ac_status); } &&
5.20274 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.20275 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20276 - (eval $ac_try) 2>&5
5.20277 - ac_status=$?
5.20278 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20279 - (exit $ac_status); }; } &&
5.20280 - { ac_try='test -s conftest.$ac_objext'
5.20281 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20282 - (eval $ac_try) 2>&5
5.20283 - ac_status=$?
5.20284 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20285 - (exit $ac_status); }; }; then
5.20286 - for ac_declaration in \
5.20287 - '' \
5.20288 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
5.20289 - 'extern "C" void std::exit (int); using std::exit;' \
5.20290 - 'extern "C" void exit (int) throw ();' \
5.20291 - 'extern "C" void exit (int);' \
5.20292 - 'void exit (int);'
5.20293 -do
5.20294 - cat >conftest.$ac_ext <<_ACEOF
5.20295 -/* confdefs.h. */
5.20296 -_ACEOF
5.20297 -cat confdefs.h >>conftest.$ac_ext
5.20298 -cat >>conftest.$ac_ext <<_ACEOF
5.20299 -/* end confdefs.h. */
5.20300 -$ac_declaration
5.20301 -@%:@include <stdlib.h>
5.20302 -int
5.20303 -main ()
5.20304 -{
5.20305 -exit (42);
5.20306 - ;
5.20307 - return 0;
5.20308 -}
5.20309 -_ACEOF
5.20310 -rm -f conftest.$ac_objext
5.20311 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.20312 - (eval $ac_compile) 2>conftest.er1
5.20313 - ac_status=$?
5.20314 - grep -v '^ *+' conftest.er1 >conftest.err
5.20315 - rm -f conftest.er1
5.20316 - cat conftest.err >&5
5.20317 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20318 - (exit $ac_status); } &&
5.20319 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.20320 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20321 - (eval $ac_try) 2>&5
5.20322 - ac_status=$?
5.20323 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20324 - (exit $ac_status); }; } &&
5.20325 - { ac_try='test -s conftest.$ac_objext'
5.20326 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20327 - (eval $ac_try) 2>&5
5.20328 - ac_status=$?
5.20329 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20330 - (exit $ac_status); }; }; then
5.20331 - :
5.20332 -else
5.20333 - echo "$as_me: failed program was:" >&5
5.20334 -sed 's/^/| /' conftest.$ac_ext >&5
5.20335 -
5.20336 -continue
5.20337 -fi
5.20338 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.20339 - cat >conftest.$ac_ext <<_ACEOF
5.20340 -/* confdefs.h. */
5.20341 -_ACEOF
5.20342 -cat confdefs.h >>conftest.$ac_ext
5.20343 -cat >>conftest.$ac_ext <<_ACEOF
5.20344 -/* end confdefs.h. */
5.20345 -$ac_declaration
5.20346 -int
5.20347 -main ()
5.20348 -{
5.20349 -exit (42);
5.20350 - ;
5.20351 - return 0;
5.20352 -}
5.20353 -_ACEOF
5.20354 -rm -f conftest.$ac_objext
5.20355 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.20356 - (eval $ac_compile) 2>conftest.er1
5.20357 - ac_status=$?
5.20358 - grep -v '^ *+' conftest.er1 >conftest.err
5.20359 - rm -f conftest.er1
5.20360 - cat conftest.err >&5
5.20361 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20362 - (exit $ac_status); } &&
5.20363 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.20364 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20365 - (eval $ac_try) 2>&5
5.20366 - ac_status=$?
5.20367 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20368 - (exit $ac_status); }; } &&
5.20369 - { ac_try='test -s conftest.$ac_objext'
5.20370 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20371 - (eval $ac_try) 2>&5
5.20372 - ac_status=$?
5.20373 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20374 - (exit $ac_status); }; }; then
5.20375 - break
5.20376 -else
5.20377 - echo "$as_me: failed program was:" >&5
5.20378 -sed 's/^/| /' conftest.$ac_ext >&5
5.20379 -
5.20380 -fi
5.20381 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.20382 -done
5.20383 -rm -f conftest*
5.20384 -if test -n "$ac_declaration"; then
5.20385 - echo '#ifdef __cplusplus' >>confdefs.h
5.20386 - echo $ac_declaration >>confdefs.h
5.20387 - echo '#endif' >>confdefs.h
5.20388 -fi
5.20389 -
5.20390 -else
5.20391 - echo "$as_me: failed program was:" >&5
5.20392 -sed 's/^/| /' conftest.$ac_ext >&5
5.20393 -
5.20394 -fi
5.20395 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.20396 -ac_ext=c
5.20397 -ac_cpp='$CPP $CPPFLAGS'
5.20398 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.20399 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.20400 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.20401 -
5.20402 -depcc="$CC" am_compiler_list=
5.20403 -
5.20404 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5.20405 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5.20406 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5.20407 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.20408 -else
5.20409 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5.20410 - # We make a subdir and do the tests there. Otherwise we can end up
5.20411 - # making bogus files that we don't know about and never remove. For
5.20412 - # instance it was reported that on HP-UX the gcc test will end up
5.20413 - # making a dummy file named `D' -- because `-MD' means `put the output
5.20414 - # in D'.
5.20415 - mkdir conftest.dir
5.20416 - # Copy depcomp to subdir because otherwise we won't find it if we're
5.20417 - # using a relative directory.
5.20418 - cp "$am_depcomp" conftest.dir
5.20419 - cd conftest.dir
5.20420 - # We will build objects and dependencies in a subdirectory because
5.20421 - # it helps to detect inapplicable dependency modes. For instance
5.20422 - # both Tru64's cc and ICC support -MD to output dependencies as a
5.20423 - # side effect of compilation, but ICC will put the dependencies in
5.20424 - # the current directory while Tru64 will put them in the object
5.20425 - # directory.
5.20426 - mkdir sub
5.20427 -
5.20428 - am_cv_CC_dependencies_compiler_type=none
5.20429 - if test "$am_compiler_list" = ""; then
5.20430 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5.20431 - fi
5.20432 - for depmode in $am_compiler_list; do
5.20433 - # Setup a source with many dependencies, because some compilers
5.20434 - # like to wrap large dependency lists on column 80 (with \), and
5.20435 - # we should not choose a depcomp mode which is confused by this.
5.20436 - #
5.20437 - # We need to recreate these files for each test, as the compiler may
5.20438 - # overwrite some of them when testing with obscure command lines.
5.20439 - # This happens at least with the AIX C compiler.
5.20440 - : > sub/conftest.c
5.20441 - for i in 1 2 3 4 5 6; do
5.20442 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
5.20443 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5.20444 - # Solaris 8's {/usr,}/bin/sh.
5.20445 - touch sub/conftst$i.h
5.20446 - done
5.20447 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5.20448 -
5.20449 - case $depmode in
5.20450 - nosideeffect)
5.20451 - # after this tag, mechanisms are not by side-effect, so they'll
5.20452 - # only be used when explicitly requested
5.20453 - if test "x$enable_dependency_tracking" = xyes; then
5.20454 - continue
5.20455 - else
5.20456 - break
5.20457 - fi
5.20458 - ;;
5.20459 - none) break ;;
5.20460 - esac
5.20461 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
5.20462 - # mode. It turns out that the SunPro C++ compiler does not properly
5.20463 - # handle `-M -o', and we need to detect this.
5.20464 - if depmode=$depmode \
5.20465 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5.20466 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5.20467 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5.20468 - >/dev/null 2>conftest.err &&
5.20469 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5.20470 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5.20471 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5.20472 - # icc doesn't choke on unknown options, it will just issue warnings
5.20473 - # or remarks (even with -Werror). So we grep stderr for any message
5.20474 - # that says an option was ignored or not supported.
5.20475 - # When given -MP, icc 7.0 and 7.1 complain thusly:
5.20476 - # icc: Command line warning: ignoring option '-M'; no argument required
5.20477 - # The diagnosis changed in icc 8.0:
5.20478 - # icc: Command line remark: option '-MP' not supported
5.20479 - if (grep 'ignoring option' conftest.err ||
5.20480 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5.20481 - am_cv_CC_dependencies_compiler_type=$depmode
5.20482 - break
5.20483 - fi
5.20484 - fi
5.20485 - done
5.20486 -
5.20487 - cd ..
5.20488 - rm -rf conftest.dir
5.20489 -else
5.20490 - am_cv_CC_dependencies_compiler_type=none
5.20491 -fi
5.20492 -
5.20493 -fi
5.20494 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5.20495 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
5.20496 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5.20497 -
5.20498 -
5.20499 -
5.20500 -if
5.20501 - test "x$enable_dependency_tracking" != xno \
5.20502 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5.20503 - am__fastdepCC_TRUE=
5.20504 - am__fastdepCC_FALSE='#'
5.20505 -else
5.20506 - am__fastdepCC_TRUE='#'
5.20507 - am__fastdepCC_FALSE=
5.20508 -fi
5.20509 -
5.20510 -
5.20511 -
5.20512 -# By default we simply use the C compiler to build assembly code.
5.20513 -
5.20514 -test "${CCAS+set}" = set || CCAS=$CC
5.20515 -test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
5.20516 -
5.20517 -
5.20518 -
5.20519 -
5.20520 -
5.20521 - echo "$as_me:$LINENO: checking to see if compiler understands -Wall" >&5
5.20522 -echo $ECHO_N "checking to see if compiler understands -Wall... $ECHO_C" >&6
5.20523 -
5.20524 - save_CFLAGS="$CFLAGS"
5.20525 - CFLAGS="$CFLAGS -Wall"
5.20526 -
5.20527 - cat >conftest.$ac_ext <<_ACEOF
5.20528 -/* confdefs.h. */
5.20529 -_ACEOF
5.20530 -cat confdefs.h >>conftest.$ac_ext
5.20531 -cat >>conftest.$ac_ext <<_ACEOF
5.20532 -/* end confdefs.h. */
5.20533 -
5.20534 -int
5.20535 -main ()
5.20536 -{
5.20537 -
5.20538 - ;
5.20539 - return 0;
5.20540 -}
5.20541 -_ACEOF
5.20542 -rm -f conftest.$ac_objext
5.20543 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.20544 - (eval $ac_compile) 2>conftest.er1
5.20545 - ac_status=$?
5.20546 - grep -v '^ *+' conftest.er1 >conftest.err
5.20547 - rm -f conftest.er1
5.20548 - cat conftest.err >&5
5.20549 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20550 - (exit $ac_status); } &&
5.20551 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.20552 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20553 - (eval $ac_try) 2>&5
5.20554 - ac_status=$?
5.20555 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20556 - (exit $ac_status); }; } &&
5.20557 - { ac_try='test -s conftest.$ac_objext'
5.20558 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20559 - (eval $ac_try) 2>&5
5.20560 - ac_status=$?
5.20561 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20562 - (exit $ac_status); }; }; then
5.20563 - flag_ok=yes
5.20564 -else
5.20565 - echo "$as_me: failed program was:" >&5
5.20566 -sed 's/^/| /' conftest.$ac_ext >&5
5.20567 -
5.20568 -flag_ok=no
5.20569 -fi
5.20570 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.20571 - CFLAGS="$save_CFLAGS"
5.20572 -
5.20573 - if test "X$flag_ok" = Xyes ; then
5.20574 - GST_WALL="yes"
5.20575 - true
5.20576 - else
5.20577 - GST_WALL="no"
5.20578 - true
5.20579 - fi
5.20580 - echo "$as_me:$LINENO: result: $flag_ok" >&5
5.20581 -echo "${ECHO_T}$flag_ok" >&6
5.20582 -
5.20583 -
5.20584 -if test "x$GST_WALL" = "xyes"; then
5.20585 - ERROR_CFLAGS="$GST_ERROR -Wall"
5.20586 -
5.20587 - if test "x$GST_CVS" = "xyes"; then
5.20588 -
5.20589 - echo "$as_me:$LINENO: checking to see if compiler understands -Werror" >&5
5.20590 -echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6
5.20591 -
5.20592 - save_CFLAGS="$CFLAGS"
5.20593 - CFLAGS="$CFLAGS -Werror"
5.20594 -
5.20595 - cat >conftest.$ac_ext <<_ACEOF
5.20596 -/* confdefs.h. */
5.20597 -_ACEOF
5.20598 -cat confdefs.h >>conftest.$ac_ext
5.20599 -cat >>conftest.$ac_ext <<_ACEOF
5.20600 -/* end confdefs.h. */
5.20601 -
5.20602 -int
5.20603 -main ()
5.20604 -{
5.20605 -
5.20606 - ;
5.20607 - return 0;
5.20608 -}
5.20609 -_ACEOF
5.20610 -rm -f conftest.$ac_objext
5.20611 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.20612 - (eval $ac_compile) 2>conftest.er1
5.20613 - ac_status=$?
5.20614 - grep -v '^ *+' conftest.er1 >conftest.err
5.20615 - rm -f conftest.er1
5.20616 - cat conftest.err >&5
5.20617 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20618 - (exit $ac_status); } &&
5.20619 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.20620 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20621 - (eval $ac_try) 2>&5
5.20622 - ac_status=$?
5.20623 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20624 - (exit $ac_status); }; } &&
5.20625 - { ac_try='test -s conftest.$ac_objext'
5.20626 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20627 - (eval $ac_try) 2>&5
5.20628 - ac_status=$?
5.20629 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20630 - (exit $ac_status); }; }; then
5.20631 - flag_ok=yes
5.20632 -else
5.20633 - echo "$as_me: failed program was:" >&5
5.20634 -sed 's/^/| /' conftest.$ac_ext >&5
5.20635 -
5.20636 -flag_ok=no
5.20637 -fi
5.20638 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.20639 - CFLAGS="$save_CFLAGS"
5.20640 -
5.20641 - if test "X$flag_ok" = Xyes ; then
5.20642 - ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
5.20643 - true
5.20644 - else
5.20645 - ERROR_CFLAGS="$ERROR_CFLAGS"
5.20646 - true
5.20647 - fi
5.20648 - echo "$as_me:$LINENO: result: $flag_ok" >&5
5.20649 -echo "${ECHO_T}$flag_ok" >&6
5.20650 -
5.20651 - fi
5.20652 -fi
5.20653 -
5.20654 -
5.20655 -
5.20656 -ac_ext=cc
5.20657 -ac_cpp='$CXXCPP $CPPFLAGS'
5.20658 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.20659 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.20660 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5.20661 -if test -n "$ac_tool_prefix"; then
5.20662 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
5.20663 - do
5.20664 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5.20665 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5.20666 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.20667 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.20668 -if test "${ac_cv_prog_CXX+set}" = set; then
5.20669 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.20670 -else
5.20671 - if test -n "$CXX"; then
5.20672 - ac_cv_prog_CXX="$CXX" # Let the user override the test.
5.20673 -else
5.20674 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.20675 -for as_dir in $PATH
5.20676 -do
5.20677 - IFS=$as_save_IFS
5.20678 - test -z "$as_dir" && as_dir=.
5.20679 - for ac_exec_ext in '' $ac_executable_extensions; do
5.20680 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.20681 - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5.20682 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.20683 - break 2
5.20684 - fi
5.20685 -done
5.20686 -done
5.20687 -
5.20688 -fi
5.20689 -fi
5.20690 -CXX=$ac_cv_prog_CXX
5.20691 -if test -n "$CXX"; then
5.20692 - echo "$as_me:$LINENO: result: $CXX" >&5
5.20693 -echo "${ECHO_T}$CXX" >&6
5.20694 -else
5.20695 - echo "$as_me:$LINENO: result: no" >&5
5.20696 -echo "${ECHO_T}no" >&6
5.20697 -fi
5.20698 -
5.20699 - test -n "$CXX" && break
5.20700 - done
5.20701 -fi
5.20702 -if test -z "$CXX"; then
5.20703 - ac_ct_CXX=$CXX
5.20704 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
5.20705 -do
5.20706 - # Extract the first word of "$ac_prog", so it can be a program name with args.
5.20707 -set dummy $ac_prog; ac_word=$2
5.20708 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.20709 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.20710 -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5.20711 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.20712 -else
5.20713 - if test -n "$ac_ct_CXX"; then
5.20714 - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5.20715 -else
5.20716 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.20717 -for as_dir in $PATH
5.20718 -do
5.20719 - IFS=$as_save_IFS
5.20720 - test -z "$as_dir" && as_dir=.
5.20721 - for ac_exec_ext in '' $ac_executable_extensions; do
5.20722 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.20723 - ac_cv_prog_ac_ct_CXX="$ac_prog"
5.20724 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.20725 - break 2
5.20726 - fi
5.20727 -done
5.20728 -done
5.20729 -
5.20730 -fi
5.20731 -fi
5.20732 -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5.20733 -if test -n "$ac_ct_CXX"; then
5.20734 - echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5.20735 -echo "${ECHO_T}$ac_ct_CXX" >&6
5.20736 -else
5.20737 - echo "$as_me:$LINENO: result: no" >&5
5.20738 -echo "${ECHO_T}no" >&6
5.20739 -fi
5.20740 -
5.20741 - test -n "$ac_ct_CXX" && break
5.20742 -done
5.20743 -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
5.20744 -
5.20745 - CXX=$ac_ct_CXX
5.20746 -fi
5.20747 -
5.20748 -
5.20749 -# Provide some information about the compiler.
5.20750 -echo "$as_me:$LINENO:" \
5.20751 - "checking for C++ compiler version" >&5
5.20752 -ac_compiler=`set X $ac_compile; echo $2`
5.20753 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5.20754 - (eval $ac_compiler --version </dev/null >&5) 2>&5
5.20755 - ac_status=$?
5.20756 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20757 - (exit $ac_status); }
5.20758 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5.20759 - (eval $ac_compiler -v </dev/null >&5) 2>&5
5.20760 - ac_status=$?
5.20761 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20762 - (exit $ac_status); }
5.20763 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5.20764 - (eval $ac_compiler -V </dev/null >&5) 2>&5
5.20765 - ac_status=$?
5.20766 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20767 - (exit $ac_status); }
5.20768 -
5.20769 -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5.20770 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5.20771 -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5.20772 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.20773 -else
5.20774 - cat >conftest.$ac_ext <<_ACEOF
5.20775 -/* confdefs.h. */
5.20776 -_ACEOF
5.20777 -cat confdefs.h >>conftest.$ac_ext
5.20778 -cat >>conftest.$ac_ext <<_ACEOF
5.20779 -/* end confdefs.h. */
5.20780 -
5.20781 -int
5.20782 -main ()
5.20783 -{
5.20784 -#ifndef __GNUC__
5.20785 - choke me
5.20786 -#endif
5.20787 -
5.20788 - ;
5.20789 - return 0;
5.20790 -}
5.20791 -_ACEOF
5.20792 -rm -f conftest.$ac_objext
5.20793 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.20794 - (eval $ac_compile) 2>conftest.er1
5.20795 - ac_status=$?
5.20796 - grep -v '^ *+' conftest.er1 >conftest.err
5.20797 - rm -f conftest.er1
5.20798 - cat conftest.err >&5
5.20799 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20800 - (exit $ac_status); } &&
5.20801 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5.20802 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20803 - (eval $ac_try) 2>&5
5.20804 - ac_status=$?
5.20805 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20806 - (exit $ac_status); }; } &&
5.20807 - { ac_try='test -s conftest.$ac_objext'
5.20808 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20809 - (eval $ac_try) 2>&5
5.20810 - ac_status=$?
5.20811 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20812 - (exit $ac_status); }; }; then
5.20813 - ac_compiler_gnu=yes
5.20814 -else
5.20815 - echo "$as_me: failed program was:" >&5
5.20816 -sed 's/^/| /' conftest.$ac_ext >&5
5.20817 -
5.20818 -ac_compiler_gnu=no
5.20819 -fi
5.20820 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.20821 -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5.20822 -
5.20823 -fi
5.20824 -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5.20825 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5.20826 -GXX=`test $ac_compiler_gnu = yes && echo yes`
5.20827 -ac_test_CXXFLAGS=${CXXFLAGS+set}
5.20828 -ac_save_CXXFLAGS=$CXXFLAGS
5.20829 -CXXFLAGS="-g"
5.20830 -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5.20831 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5.20832 -if test "${ac_cv_prog_cxx_g+set}" = set; then
5.20833 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.20834 -else
5.20835 - cat >conftest.$ac_ext <<_ACEOF
5.20836 -/* confdefs.h. */
5.20837 -_ACEOF
5.20838 -cat confdefs.h >>conftest.$ac_ext
5.20839 -cat >>conftest.$ac_ext <<_ACEOF
5.20840 -/* end confdefs.h. */
5.20841 -
5.20842 -int
5.20843 -main ()
5.20844 -{
5.20845 -
5.20846 - ;
5.20847 - return 0;
5.20848 -}
5.20849 -_ACEOF
5.20850 -rm -f conftest.$ac_objext
5.20851 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.20852 - (eval $ac_compile) 2>conftest.er1
5.20853 - ac_status=$?
5.20854 - grep -v '^ *+' conftest.er1 >conftest.err
5.20855 - rm -f conftest.er1
5.20856 - cat conftest.err >&5
5.20857 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20858 - (exit $ac_status); } &&
5.20859 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5.20860 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20861 - (eval $ac_try) 2>&5
5.20862 - ac_status=$?
5.20863 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20864 - (exit $ac_status); }; } &&
5.20865 - { ac_try='test -s conftest.$ac_objext'
5.20866 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20867 - (eval $ac_try) 2>&5
5.20868 - ac_status=$?
5.20869 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20870 - (exit $ac_status); }; }; then
5.20871 - ac_cv_prog_cxx_g=yes
5.20872 -else
5.20873 - echo "$as_me: failed program was:" >&5
5.20874 -sed 's/^/| /' conftest.$ac_ext >&5
5.20875 -
5.20876 -ac_cv_prog_cxx_g=no
5.20877 -fi
5.20878 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.20879 -fi
5.20880 -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5.20881 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5.20882 -if test "$ac_test_CXXFLAGS" = set; then
5.20883 - CXXFLAGS=$ac_save_CXXFLAGS
5.20884 -elif test $ac_cv_prog_cxx_g = yes; then
5.20885 - if test "$GXX" = yes; then
5.20886 - CXXFLAGS="-g -O2"
5.20887 - else
5.20888 - CXXFLAGS="-g"
5.20889 - fi
5.20890 -else
5.20891 - if test "$GXX" = yes; then
5.20892 - CXXFLAGS="-O2"
5.20893 - else
5.20894 - CXXFLAGS=
5.20895 - fi
5.20896 -fi
5.20897 -for ac_declaration in \
5.20898 - '' \
5.20899 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
5.20900 - 'extern "C" void std::exit (int); using std::exit;' \
5.20901 - 'extern "C" void exit (int) throw ();' \
5.20902 - 'extern "C" void exit (int);' \
5.20903 - 'void exit (int);'
5.20904 -do
5.20905 - cat >conftest.$ac_ext <<_ACEOF
5.20906 -/* confdefs.h. */
5.20907 -_ACEOF
5.20908 -cat confdefs.h >>conftest.$ac_ext
5.20909 -cat >>conftest.$ac_ext <<_ACEOF
5.20910 -/* end confdefs.h. */
5.20911 -$ac_declaration
5.20912 -@%:@include <stdlib.h>
5.20913 -int
5.20914 -main ()
5.20915 -{
5.20916 -exit (42);
5.20917 - ;
5.20918 - return 0;
5.20919 -}
5.20920 -_ACEOF
5.20921 -rm -f conftest.$ac_objext
5.20922 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.20923 - (eval $ac_compile) 2>conftest.er1
5.20924 - ac_status=$?
5.20925 - grep -v '^ *+' conftest.er1 >conftest.err
5.20926 - rm -f conftest.er1
5.20927 - cat conftest.err >&5
5.20928 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20929 - (exit $ac_status); } &&
5.20930 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5.20931 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20932 - (eval $ac_try) 2>&5
5.20933 - ac_status=$?
5.20934 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20935 - (exit $ac_status); }; } &&
5.20936 - { ac_try='test -s conftest.$ac_objext'
5.20937 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20938 - (eval $ac_try) 2>&5
5.20939 - ac_status=$?
5.20940 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20941 - (exit $ac_status); }; }; then
5.20942 - :
5.20943 -else
5.20944 - echo "$as_me: failed program was:" >&5
5.20945 -sed 's/^/| /' conftest.$ac_ext >&5
5.20946 -
5.20947 -continue
5.20948 -fi
5.20949 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.20950 - cat >conftest.$ac_ext <<_ACEOF
5.20951 -/* confdefs.h. */
5.20952 -_ACEOF
5.20953 -cat confdefs.h >>conftest.$ac_ext
5.20954 -cat >>conftest.$ac_ext <<_ACEOF
5.20955 -/* end confdefs.h. */
5.20956 -$ac_declaration
5.20957 -int
5.20958 -main ()
5.20959 -{
5.20960 -exit (42);
5.20961 - ;
5.20962 - return 0;
5.20963 -}
5.20964 -_ACEOF
5.20965 -rm -f conftest.$ac_objext
5.20966 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.20967 - (eval $ac_compile) 2>conftest.er1
5.20968 - ac_status=$?
5.20969 - grep -v '^ *+' conftest.er1 >conftest.err
5.20970 - rm -f conftest.er1
5.20971 - cat conftest.err >&5
5.20972 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20973 - (exit $ac_status); } &&
5.20974 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5.20975 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20976 - (eval $ac_try) 2>&5
5.20977 - ac_status=$?
5.20978 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20979 - (exit $ac_status); }; } &&
5.20980 - { ac_try='test -s conftest.$ac_objext'
5.20981 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.20982 - (eval $ac_try) 2>&5
5.20983 - ac_status=$?
5.20984 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.20985 - (exit $ac_status); }; }; then
5.20986 - break
5.20987 -else
5.20988 - echo "$as_me: failed program was:" >&5
5.20989 -sed 's/^/| /' conftest.$ac_ext >&5
5.20990 -
5.20991 -fi
5.20992 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.20993 -done
5.20994 -rm -f conftest*
5.20995 -if test -n "$ac_declaration"; then
5.20996 - echo '#ifdef __cplusplus' >>confdefs.h
5.20997 - echo $ac_declaration >>confdefs.h
5.20998 - echo '#endif' >>confdefs.h
5.20999 -fi
5.21000 -
5.21001 -ac_ext=c
5.21002 -ac_cpp='$CPP $CPPFLAGS'
5.21003 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.21004 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.21005 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.21006 -
5.21007 -depcc="$CXX" am_compiler_list=
5.21008 -
5.21009 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5.21010 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5.21011 -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5.21012 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.21013 -else
5.21014 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5.21015 - # We make a subdir and do the tests there. Otherwise we can end up
5.21016 - # making bogus files that we don't know about and never remove. For
5.21017 - # instance it was reported that on HP-UX the gcc test will end up
5.21018 - # making a dummy file named `D' -- because `-MD' means `put the output
5.21019 - # in D'.
5.21020 - mkdir conftest.dir
5.21021 - # Copy depcomp to subdir because otherwise we won't find it if we're
5.21022 - # using a relative directory.
5.21023 - cp "$am_depcomp" conftest.dir
5.21024 - cd conftest.dir
5.21025 - # We will build objects and dependencies in a subdirectory because
5.21026 - # it helps to detect inapplicable dependency modes. For instance
5.21027 - # both Tru64's cc and ICC support -MD to output dependencies as a
5.21028 - # side effect of compilation, but ICC will put the dependencies in
5.21029 - # the current directory while Tru64 will put them in the object
5.21030 - # directory.
5.21031 - mkdir sub
5.21032 -
5.21033 - am_cv_CXX_dependencies_compiler_type=none
5.21034 - if test "$am_compiler_list" = ""; then
5.21035 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5.21036 - fi
5.21037 - for depmode in $am_compiler_list; do
5.21038 - # Setup a source with many dependencies, because some compilers
5.21039 - # like to wrap large dependency lists on column 80 (with \), and
5.21040 - # we should not choose a depcomp mode which is confused by this.
5.21041 - #
5.21042 - # We need to recreate these files for each test, as the compiler may
5.21043 - # overwrite some of them when testing with obscure command lines.
5.21044 - # This happens at least with the AIX C compiler.
5.21045 - : > sub/conftest.c
5.21046 - for i in 1 2 3 4 5 6; do
5.21047 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
5.21048 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5.21049 - # Solaris 8's {/usr,}/bin/sh.
5.21050 - touch sub/conftst$i.h
5.21051 - done
5.21052 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5.21053 -
5.21054 - case $depmode in
5.21055 - nosideeffect)
5.21056 - # after this tag, mechanisms are not by side-effect, so they'll
5.21057 - # only be used when explicitly requested
5.21058 - if test "x$enable_dependency_tracking" = xyes; then
5.21059 - continue
5.21060 - else
5.21061 - break
5.21062 - fi
5.21063 - ;;
5.21064 - none) break ;;
5.21065 - esac
5.21066 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
5.21067 - # mode. It turns out that the SunPro C++ compiler does not properly
5.21068 - # handle `-M -o', and we need to detect this.
5.21069 - if depmode=$depmode \
5.21070 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5.21071 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5.21072 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5.21073 - >/dev/null 2>conftest.err &&
5.21074 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5.21075 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5.21076 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5.21077 - # icc doesn't choke on unknown options, it will just issue warnings
5.21078 - # or remarks (even with -Werror). So we grep stderr for any message
5.21079 - # that says an option was ignored or not supported.
5.21080 - # When given -MP, icc 7.0 and 7.1 complain thusly:
5.21081 - # icc: Command line warning: ignoring option '-M'; no argument required
5.21082 - # The diagnosis changed in icc 8.0:
5.21083 - # icc: Command line remark: option '-MP' not supported
5.21084 - if (grep 'ignoring option' conftest.err ||
5.21085 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5.21086 - am_cv_CXX_dependencies_compiler_type=$depmode
5.21087 - break
5.21088 - fi
5.21089 - fi
5.21090 - done
5.21091 -
5.21092 - cd ..
5.21093 - rm -rf conftest.dir
5.21094 -else
5.21095 - am_cv_CXX_dependencies_compiler_type=none
5.21096 -fi
5.21097 -
5.21098 -fi
5.21099 -echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5.21100 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5.21101 -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5.21102 -
5.21103 -
5.21104 -
5.21105 -if
5.21106 - test "x$enable_dependency_tracking" != xno \
5.21107 - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5.21108 - am__fastdepCXX_TRUE=
5.21109 - am__fastdepCXX_FALSE='#'
5.21110 -else
5.21111 - am__fastdepCXX_TRUE='#'
5.21112 - am__fastdepCXX_FALSE=
5.21113 -fi
5.21114 -
5.21115 -
5.21116 -# Extract the first word of "$CXX", so it can be a program name with args.
5.21117 -set dummy $CXX; ac_word=$2
5.21118 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.21119 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.21120 -if test "${ac_cv_prog_HAVE_CXX+set}" = set; then
5.21121 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.21122 -else
5.21123 - if test -n "$HAVE_CXX"; then
5.21124 - ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
5.21125 -else
5.21126 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.21127 -for as_dir in $PATH
5.21128 -do
5.21129 - IFS=$as_save_IFS
5.21130 - test -z "$as_dir" && as_dir=.
5.21131 - for ac_exec_ext in '' $ac_executable_extensions; do
5.21132 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.21133 - ac_cv_prog_HAVE_CXX="yes"
5.21134 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.21135 - break 2
5.21136 - fi
5.21137 -done
5.21138 -done
5.21139 -
5.21140 - test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
5.21141 -fi
5.21142 -fi
5.21143 -HAVE_CXX=$ac_cv_prog_HAVE_CXX
5.21144 -if test -n "$HAVE_CXX"; then
5.21145 - echo "$as_me:$LINENO: result: $HAVE_CXX" >&5
5.21146 -echo "${ECHO_T}$HAVE_CXX" >&6
5.21147 -else
5.21148 - echo "$as_me:$LINENO: result: no" >&5
5.21149 -echo "${ECHO_T}no" >&6
5.21150 -fi
5.21151 -
5.21152 -ac_ext=cc
5.21153 -ac_cpp='$CXXCPP $CPPFLAGS'
5.21154 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.21155 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.21156 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5.21157 -echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5.21158 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5.21159 -if test -z "$CXXCPP"; then
5.21160 - if test "${ac_cv_prog_CXXCPP+set}" = set; then
5.21161 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.21162 -else
5.21163 - # Double quotes because CXXCPP needs to be expanded
5.21164 - for CXXCPP in "$CXX -E" "/lib/cpp"
5.21165 - do
5.21166 - ac_preproc_ok=false
5.21167 -for ac_cxx_preproc_warn_flag in '' yes
5.21168 -do
5.21169 - # Use a header file that comes with gcc, so configuring glibc
5.21170 - # with a fresh cross-compiler works.
5.21171 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5.21172 - # <limits.h> exists even on freestanding compilers.
5.21173 - # On the NeXT, cc -E runs the code through the compiler's parser,
5.21174 - # not just through cpp. "Syntax error" is here to catch this case.
5.21175 - cat >conftest.$ac_ext <<_ACEOF
5.21176 -/* confdefs.h. */
5.21177 -_ACEOF
5.21178 -cat confdefs.h >>conftest.$ac_ext
5.21179 -cat >>conftest.$ac_ext <<_ACEOF
5.21180 -/* end confdefs.h. */
5.21181 -@%:@ifdef __STDC__
5.21182 -@%:@ include <limits.h>
5.21183 -@%:@else
5.21184 -@%:@ include <assert.h>
5.21185 -@%:@endif
5.21186 - Syntax error
5.21187 -_ACEOF
5.21188 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5.21189 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5.21190 - ac_status=$?
5.21191 - grep -v '^ *+' conftest.er1 >conftest.err
5.21192 - rm -f conftest.er1
5.21193 - cat conftest.err >&5
5.21194 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.21195 - (exit $ac_status); } >/dev/null; then
5.21196 - if test -s conftest.err; then
5.21197 - ac_cpp_err=$ac_cxx_preproc_warn_flag
5.21198 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5.21199 - else
5.21200 - ac_cpp_err=
5.21201 - fi
5.21202 -else
5.21203 - ac_cpp_err=yes
5.21204 -fi
5.21205 -if test -z "$ac_cpp_err"; then
5.21206 - :
5.21207 -else
5.21208 - echo "$as_me: failed program was:" >&5
5.21209 -sed 's/^/| /' conftest.$ac_ext >&5
5.21210 -
5.21211 - # Broken: fails on valid input.
5.21212 -continue
5.21213 -fi
5.21214 -rm -f conftest.err conftest.$ac_ext
5.21215 -
5.21216 - # OK, works on sane cases. Now check whether non-existent headers
5.21217 - # can be detected and how.
5.21218 - cat >conftest.$ac_ext <<_ACEOF
5.21219 -/* confdefs.h. */
5.21220 -_ACEOF
5.21221 -cat confdefs.h >>conftest.$ac_ext
5.21222 -cat >>conftest.$ac_ext <<_ACEOF
5.21223 -/* end confdefs.h. */
5.21224 -@%:@include <ac_nonexistent.h>
5.21225 -_ACEOF
5.21226 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5.21227 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5.21228 - ac_status=$?
5.21229 - grep -v '^ *+' conftest.er1 >conftest.err
5.21230 - rm -f conftest.er1
5.21231 - cat conftest.err >&5
5.21232 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.21233 - (exit $ac_status); } >/dev/null; then
5.21234 - if test -s conftest.err; then
5.21235 - ac_cpp_err=$ac_cxx_preproc_warn_flag
5.21236 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5.21237 - else
5.21238 - ac_cpp_err=
5.21239 - fi
5.21240 -else
5.21241 - ac_cpp_err=yes
5.21242 -fi
5.21243 -if test -z "$ac_cpp_err"; then
5.21244 - # Broken: success on invalid input.
5.21245 -continue
5.21246 -else
5.21247 - echo "$as_me: failed program was:" >&5
5.21248 -sed 's/^/| /' conftest.$ac_ext >&5
5.21249 -
5.21250 - # Passes both tests.
5.21251 -ac_preproc_ok=:
5.21252 -break
5.21253 -fi
5.21254 -rm -f conftest.err conftest.$ac_ext
5.21255 -
5.21256 -done
5.21257 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5.21258 -rm -f conftest.err conftest.$ac_ext
5.21259 -if $ac_preproc_ok; then
5.21260 - break
5.21261 -fi
5.21262 -
5.21263 - done
5.21264 - ac_cv_prog_CXXCPP=$CXXCPP
5.21265 -
5.21266 -fi
5.21267 - CXXCPP=$ac_cv_prog_CXXCPP
5.21268 -else
5.21269 - ac_cv_prog_CXXCPP=$CXXCPP
5.21270 -fi
5.21271 -echo "$as_me:$LINENO: result: $CXXCPP" >&5
5.21272 -echo "${ECHO_T}$CXXCPP" >&6
5.21273 -ac_preproc_ok=false
5.21274 -for ac_cxx_preproc_warn_flag in '' yes
5.21275 -do
5.21276 - # Use a header file that comes with gcc, so configuring glibc
5.21277 - # with a fresh cross-compiler works.
5.21278 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5.21279 - # <limits.h> exists even on freestanding compilers.
5.21280 - # On the NeXT, cc -E runs the code through the compiler's parser,
5.21281 - # not just through cpp. "Syntax error" is here to catch this case.
5.21282 - cat >conftest.$ac_ext <<_ACEOF
5.21283 -/* confdefs.h. */
5.21284 -_ACEOF
5.21285 -cat confdefs.h >>conftest.$ac_ext
5.21286 -cat >>conftest.$ac_ext <<_ACEOF
5.21287 -/* end confdefs.h. */
5.21288 -@%:@ifdef __STDC__
5.21289 -@%:@ include <limits.h>
5.21290 -@%:@else
5.21291 -@%:@ include <assert.h>
5.21292 -@%:@endif
5.21293 - Syntax error
5.21294 -_ACEOF
5.21295 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5.21296 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5.21297 - ac_status=$?
5.21298 - grep -v '^ *+' conftest.er1 >conftest.err
5.21299 - rm -f conftest.er1
5.21300 - cat conftest.err >&5
5.21301 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.21302 - (exit $ac_status); } >/dev/null; then
5.21303 - if test -s conftest.err; then
5.21304 - ac_cpp_err=$ac_cxx_preproc_warn_flag
5.21305 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5.21306 - else
5.21307 - ac_cpp_err=
5.21308 - fi
5.21309 -else
5.21310 - ac_cpp_err=yes
5.21311 -fi
5.21312 -if test -z "$ac_cpp_err"; then
5.21313 - :
5.21314 -else
5.21315 - echo "$as_me: failed program was:" >&5
5.21316 -sed 's/^/| /' conftest.$ac_ext >&5
5.21317 -
5.21318 - # Broken: fails on valid input.
5.21319 -continue
5.21320 -fi
5.21321 -rm -f conftest.err conftest.$ac_ext
5.21322 -
5.21323 - # OK, works on sane cases. Now check whether non-existent headers
5.21324 - # can be detected and how.
5.21325 - cat >conftest.$ac_ext <<_ACEOF
5.21326 -/* confdefs.h. */
5.21327 -_ACEOF
5.21328 -cat confdefs.h >>conftest.$ac_ext
5.21329 -cat >>conftest.$ac_ext <<_ACEOF
5.21330 -/* end confdefs.h. */
5.21331 -@%:@include <ac_nonexistent.h>
5.21332 -_ACEOF
5.21333 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5.21334 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5.21335 - ac_status=$?
5.21336 - grep -v '^ *+' conftest.er1 >conftest.err
5.21337 - rm -f conftest.er1
5.21338 - cat conftest.err >&5
5.21339 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.21340 - (exit $ac_status); } >/dev/null; then
5.21341 - if test -s conftest.err; then
5.21342 - ac_cpp_err=$ac_cxx_preproc_warn_flag
5.21343 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5.21344 - else
5.21345 - ac_cpp_err=
5.21346 - fi
5.21347 -else
5.21348 - ac_cpp_err=yes
5.21349 -fi
5.21350 -if test -z "$ac_cpp_err"; then
5.21351 - # Broken: success on invalid input.
5.21352 -continue
5.21353 -else
5.21354 - echo "$as_me: failed program was:" >&5
5.21355 -sed 's/^/| /' conftest.$ac_ext >&5
5.21356 -
5.21357 - # Passes both tests.
5.21358 -ac_preproc_ok=:
5.21359 -break
5.21360 -fi
5.21361 -rm -f conftest.err conftest.$ac_ext
5.21362 -
5.21363 -done
5.21364 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5.21365 -rm -f conftest.err conftest.$ac_ext
5.21366 -if $ac_preproc_ok; then
5.21367 - :
5.21368 -else
5.21369 - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5.21370 -See \`config.log' for more details." >&5
5.21371 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5.21372 -See \`config.log' for more details." >&2;}
5.21373 - { (exit 1); exit 1; }; }
5.21374 -fi
5.21375 -
5.21376 -ac_ext=c
5.21377 -ac_cpp='$CPP $CPPFLAGS'
5.21378 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5.21379 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5.21380 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
5.21381 -
5.21382 -
5.21383 - echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
5.21384 -echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
5.21385 -if test "${ac_cv_lib_cposix_strerror+set}" = set; then
5.21386 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.21387 -else
5.21388 - ac_check_lib_save_LIBS=$LIBS
5.21389 -LIBS="-lcposix $LIBS"
5.21390 -cat >conftest.$ac_ext <<_ACEOF
5.21391 -/* confdefs.h. */
5.21392 -_ACEOF
5.21393 -cat confdefs.h >>conftest.$ac_ext
5.21394 -cat >>conftest.$ac_ext <<_ACEOF
5.21395 -/* end confdefs.h. */
5.21396 -
5.21397 -/* Override any gcc2 internal prototype to avoid an error. */
5.21398 -#ifdef __cplusplus
5.21399 -extern "C"
5.21400 -#endif
5.21401 -/* We use char because int might match the return type of a gcc2
5.21402 - builtin and then its argument prototype would still apply. */
5.21403 -char strerror ();
5.21404 -int
5.21405 -main ()
5.21406 -{
5.21407 -strerror ();
5.21408 - ;
5.21409 - return 0;
5.21410 -}
5.21411 -_ACEOF
5.21412 -rm -f conftest.$ac_objext conftest$ac_exeext
5.21413 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.21414 - (eval $ac_link) 2>conftest.er1
5.21415 - ac_status=$?
5.21416 - grep -v '^ *+' conftest.er1 >conftest.err
5.21417 - rm -f conftest.er1
5.21418 - cat conftest.err >&5
5.21419 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.21420 - (exit $ac_status); } &&
5.21421 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.21422 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.21423 - (eval $ac_try) 2>&5
5.21424 - ac_status=$?
5.21425 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.21426 - (exit $ac_status); }; } &&
5.21427 - { ac_try='test -s conftest$ac_exeext'
5.21428 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.21429 - (eval $ac_try) 2>&5
5.21430 - ac_status=$?
5.21431 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.21432 - (exit $ac_status); }; }; then
5.21433 - ac_cv_lib_cposix_strerror=yes
5.21434 -else
5.21435 - echo "$as_me: failed program was:" >&5
5.21436 -sed 's/^/| /' conftest.$ac_ext >&5
5.21437 -
5.21438 -ac_cv_lib_cposix_strerror=no
5.21439 -fi
5.21440 -rm -f conftest.err conftest.$ac_objext \
5.21441 - conftest$ac_exeext conftest.$ac_ext
5.21442 -LIBS=$ac_check_lib_save_LIBS
5.21443 -fi
5.21444 -echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
5.21445 -echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
5.21446 -if test $ac_cv_lib_cposix_strerror = yes; then
5.21447 - LIBS="$LIBS -lcposix"
5.21448 -fi
5.21449 -
5.21450 -
5.21451 -
5.21452 -
5.21453 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5.21454 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5.21455 -if test "${ac_cv_header_stdc+set}" = set; then
5.21456 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.21457 -else
5.21458 - cat >conftest.$ac_ext <<_ACEOF
5.21459 -/* confdefs.h. */
5.21460 -_ACEOF
5.21461 -cat confdefs.h >>conftest.$ac_ext
5.21462 -cat >>conftest.$ac_ext <<_ACEOF
5.21463 -/* end confdefs.h. */
5.21464 -#include <stdlib.h>
5.21465 -#include <stdarg.h>
5.21466 -#include <string.h>
5.21467 -#include <float.h>
5.21468 -
5.21469 -int
5.21470 -main ()
5.21471 -{
5.21472 -
5.21473 - ;
5.21474 - return 0;
5.21475 -}
5.21476 -_ACEOF
5.21477 -rm -f conftest.$ac_objext
5.21478 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.21479 - (eval $ac_compile) 2>conftest.er1
5.21480 - ac_status=$?
5.21481 - grep -v '^ *+' conftest.er1 >conftest.err
5.21482 - rm -f conftest.er1
5.21483 - cat conftest.err >&5
5.21484 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.21485 - (exit $ac_status); } &&
5.21486 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.21487 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.21488 - (eval $ac_try) 2>&5
5.21489 - ac_status=$?
5.21490 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.21491 - (exit $ac_status); }; } &&
5.21492 - { ac_try='test -s conftest.$ac_objext'
5.21493 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.21494 - (eval $ac_try) 2>&5
5.21495 - ac_status=$?
5.21496 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.21497 - (exit $ac_status); }; }; then
5.21498 - ac_cv_header_stdc=yes
5.21499 -else
5.21500 - echo "$as_me: failed program was:" >&5
5.21501 -sed 's/^/| /' conftest.$ac_ext >&5
5.21502 -
5.21503 -ac_cv_header_stdc=no
5.21504 -fi
5.21505 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.21506 -
5.21507 -if test $ac_cv_header_stdc = yes; then
5.21508 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5.21509 - cat >conftest.$ac_ext <<_ACEOF
5.21510 -/* confdefs.h. */
5.21511 -_ACEOF
5.21512 -cat confdefs.h >>conftest.$ac_ext
5.21513 -cat >>conftest.$ac_ext <<_ACEOF
5.21514 -/* end confdefs.h. */
5.21515 -#include <string.h>
5.21516 -
5.21517 -_ACEOF
5.21518 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5.21519 - $EGREP "memchr" >/dev/null 2>&1; then
5.21520 - :
5.21521 -else
5.21522 - ac_cv_header_stdc=no
5.21523 -fi
5.21524 -rm -f conftest*
5.21525 -
5.21526 -fi
5.21527 -
5.21528 -if test $ac_cv_header_stdc = yes; then
5.21529 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5.21530 - cat >conftest.$ac_ext <<_ACEOF
5.21531 -/* confdefs.h. */
5.21532 -_ACEOF
5.21533 -cat confdefs.h >>conftest.$ac_ext
5.21534 -cat >>conftest.$ac_ext <<_ACEOF
5.21535 -/* end confdefs.h. */
5.21536 -#include <stdlib.h>
5.21537 -
5.21538 -_ACEOF
5.21539 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5.21540 - $EGREP "free" >/dev/null 2>&1; then
5.21541 - :
5.21542 -else
5.21543 - ac_cv_header_stdc=no
5.21544 -fi
5.21545 -rm -f conftest*
5.21546 -
5.21547 -fi
5.21548 -
5.21549 -if test $ac_cv_header_stdc = yes; then
5.21550 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5.21551 - if test "$cross_compiling" = yes; then
5.21552 - :
5.21553 -else
5.21554 - cat >conftest.$ac_ext <<_ACEOF
5.21555 -/* confdefs.h. */
5.21556 -_ACEOF
5.21557 -cat confdefs.h >>conftest.$ac_ext
5.21558 -cat >>conftest.$ac_ext <<_ACEOF
5.21559 -/* end confdefs.h. */
5.21560 -#include <ctype.h>
5.21561 -#if ((' ' & 0x0FF) == 0x020)
5.21562 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5.21563 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5.21564 -#else
5.21565 -# define ISLOWER(c) \
5.21566 - (('a' <= (c) && (c) <= 'i') \
5.21567 - || ('j' <= (c) && (c) <= 'r') \
5.21568 - || ('s' <= (c) && (c) <= 'z'))
5.21569 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5.21570 -#endif
5.21571 -
5.21572 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5.21573 -int
5.21574 -main ()
5.21575 -{
5.21576 - int i;
5.21577 - for (i = 0; i < 256; i++)
5.21578 - if (XOR (islower (i), ISLOWER (i))
5.21579 - || toupper (i) != TOUPPER (i))
5.21580 - exit(2);
5.21581 - exit (0);
5.21582 -}
5.21583 -_ACEOF
5.21584 -rm -f conftest$ac_exeext
5.21585 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5.21586 - (eval $ac_link) 2>&5
5.21587 - ac_status=$?
5.21588 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.21589 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5.21590 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.21591 - (eval $ac_try) 2>&5
5.21592 - ac_status=$?
5.21593 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.21594 - (exit $ac_status); }; }; then
5.21595 - :
5.21596 -else
5.21597 - echo "$as_me: program exited with status $ac_status" >&5
5.21598 -echo "$as_me: failed program was:" >&5
5.21599 -sed 's/^/| /' conftest.$ac_ext >&5
5.21600 -
5.21601 -( exit $ac_status )
5.21602 -ac_cv_header_stdc=no
5.21603 -fi
5.21604 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5.21605 -fi
5.21606 -fi
5.21607 -fi
5.21608 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5.21609 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
5.21610 -if test $ac_cv_header_stdc = yes; then
5.21611 -
5.21612 -cat >>confdefs.h <<\_ACEOF
5.21613 -@%:@define STDC_HEADERS 1
5.21614 -_ACEOF
5.21615 -
5.21616 -fi
5.21617 -
5.21618 -echo "$as_me:$LINENO: checking for inline" >&5
5.21619 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
5.21620 -if test "${ac_cv_c_inline+set}" = set; then
5.21621 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.21622 -else
5.21623 - ac_cv_c_inline=no
5.21624 -for ac_kw in inline __inline__ __inline; do
5.21625 - cat >conftest.$ac_ext <<_ACEOF
5.21626 -/* confdefs.h. */
5.21627 -_ACEOF
5.21628 -cat confdefs.h >>conftest.$ac_ext
5.21629 -cat >>conftest.$ac_ext <<_ACEOF
5.21630 -/* end confdefs.h. */
5.21631 -#ifndef __cplusplus
5.21632 -typedef int foo_t;
5.21633 -static $ac_kw foo_t static_foo () {return 0; }
5.21634 -$ac_kw foo_t foo () {return 0; }
5.21635 -#endif
5.21636 -
5.21637 -_ACEOF
5.21638 -rm -f conftest.$ac_objext
5.21639 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5.21640 - (eval $ac_compile) 2>conftest.er1
5.21641 - ac_status=$?
5.21642 - grep -v '^ *+' conftest.er1 >conftest.err
5.21643 - rm -f conftest.er1
5.21644 - cat conftest.err >&5
5.21645 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.21646 - (exit $ac_status); } &&
5.21647 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5.21648 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.21649 - (eval $ac_try) 2>&5
5.21650 - ac_status=$?
5.21651 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.21652 - (exit $ac_status); }; } &&
5.21653 - { ac_try='test -s conftest.$ac_objext'
5.21654 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5.21655 - (eval $ac_try) 2>&5
5.21656 - ac_status=$?
5.21657 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.21658 - (exit $ac_status); }; }; then
5.21659 - ac_cv_c_inline=$ac_kw; break
5.21660 -else
5.21661 - echo "$as_me: failed program was:" >&5
5.21662 -sed 's/^/| /' conftest.$ac_ext >&5
5.21663 -
5.21664 -fi
5.21665 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5.21666 -done
5.21667 -
5.21668 -fi
5.21669 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5.21670 -echo "${ECHO_T}$ac_cv_c_inline" >&6
5.21671 -
5.21672 -
5.21673 -case $ac_cv_c_inline in
5.21674 - inline | yes) ;;
5.21675 - *)
5.21676 - case $ac_cv_c_inline in
5.21677 - no) ac_val=;;
5.21678 - *) ac_val=$ac_cv_c_inline;;
5.21679 - esac
5.21680 - cat >>confdefs.h <<_ACEOF
5.21681 -#ifndef __cplusplus
5.21682 -#define inline $ac_val
5.21683 -#endif
5.21684 -_ACEOF
5.21685 - ;;
5.21686 -esac
5.21687 -
5.21688 -
5.21689 -# Extract the first word of "pkg-config", so it can be a program name with args.
5.21690 -set dummy pkg-config; ac_word=$2
5.21691 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.21692 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.21693 -if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
5.21694 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.21695 -else
5.21696 - if test -n "$HAVE_PKGCONFIG"; then
5.21697 - ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
5.21698 -else
5.21699 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.21700 -for as_dir in $PATH
5.21701 -do
5.21702 - IFS=$as_save_IFS
5.21703 - test -z "$as_dir" && as_dir=.
5.21704 - for ac_exec_ext in '' $ac_executable_extensions; do
5.21705 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.21706 - ac_cv_prog_HAVE_PKGCONFIG="yes"
5.21707 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.21708 - break 2
5.21709 - fi
5.21710 -done
5.21711 -done
5.21712 -
5.21713 - test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
5.21714 -fi
5.21715 -fi
5.21716 -HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
5.21717 -if test -n "$HAVE_PKGCONFIG"; then
5.21718 - echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
5.21719 -echo "${ECHO_T}$HAVE_PKGCONFIG" >&6
5.21720 -else
5.21721 - echo "$as_me:$LINENO: result: no" >&5
5.21722 -echo "${ECHO_T}no" >&6
5.21723 -fi
5.21724 -
5.21725 -
5.21726 -if test "x$HAVE_PKGCONFIG" = "xno"; then
5.21727 - { { echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
5.21728 -echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
5.21729 - { (exit 1); exit 1; }; }
5.21730 -fi
5.21731 -
5.21732 -
5.21733 -GST_REQUIRED=0.10.3
5.21734 -GST_MAJORMINOR=0.10
5.21735 -
5.21736 -
5.21737 - succeeded=no
5.21738 -
5.21739 - if test -z "$PKG_CONFIG"; then
5.21740 - # Extract the first word of "pkg-config", so it can be a program name with args.
5.21741 -set dummy pkg-config; ac_word=$2
5.21742 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.21743 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.21744 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5.21745 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.21746 -else
5.21747 - case $PKG_CONFIG in
5.21748 - [\\/]* | ?:[\\/]*)
5.21749 - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5.21750 - ;;
5.21751 - *)
5.21752 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.21753 -for as_dir in $PATH
5.21754 -do
5.21755 - IFS=$as_save_IFS
5.21756 - test -z "$as_dir" && as_dir=.
5.21757 - for ac_exec_ext in '' $ac_executable_extensions; do
5.21758 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.21759 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5.21760 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.21761 - break 2
5.21762 - fi
5.21763 -done
5.21764 -done
5.21765 -
5.21766 - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5.21767 - ;;
5.21768 -esac
5.21769 -fi
5.21770 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5.21771 -
5.21772 -if test -n "$PKG_CONFIG"; then
5.21773 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5.21774 -echo "${ECHO_T}$PKG_CONFIG" >&6
5.21775 -else
5.21776 - echo "$as_me:$LINENO: result: no" >&5
5.21777 -echo "${ECHO_T}no" >&6
5.21778 -fi
5.21779 -
5.21780 - fi
5.21781 -
5.21782 - if test "$PKG_CONFIG" = "no" ; then
5.21783 - echo "*** The pkg-config script could not be found. Make sure it is"
5.21784 - echo "*** in your path, or set the PKG_CONFIG environment variable"
5.21785 - echo "*** to the full path to pkg-config."
5.21786 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
5.21787 - else
5.21788 - PKG_CONFIG_MIN_VERSION=0.9.0
5.21789 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
5.21790 - echo "$as_me:$LINENO: checking for \
5.21791 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
5.21792 -echo $ECHO_N "checking for \
5.21793 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
5.21794 -
5.21795 - if $PKG_CONFIG --exists "\
5.21796 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
5.21797 - echo "$as_me:$LINENO: result: yes" >&5
5.21798 -echo "${ECHO_T}yes" >&6
5.21799 - succeeded=yes
5.21800 -
5.21801 - echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
5.21802 -echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
5.21803 - GST_CFLAGS=`$PKG_CONFIG --cflags "\
5.21804 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
5.21805 - echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
5.21806 -echo "${ECHO_T}$GST_CFLAGS" >&6
5.21807 -
5.21808 - echo "$as_me:$LINENO: checking GST_LIBS" >&5
5.21809 -echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
5.21810 - GST_LIBS=`$PKG_CONFIG --libs "\
5.21811 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
5.21812 - echo "$as_me:$LINENO: result: $GST_LIBS" >&5
5.21813 -echo "${ECHO_T}$GST_LIBS" >&6
5.21814 - else
5.21815 - GST_CFLAGS=""
5.21816 - GST_LIBS=""
5.21817 - ## If we have a custom action on failure, don't print errors, but
5.21818 - ## do set a variable so people can do so.
5.21819 - GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
5.21820 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
5.21821 -
5.21822 - fi
5.21823 -
5.21824 -
5.21825 -
5.21826 - else
5.21827 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
5.21828 - echo "*** See http://www.freedesktop.org/software/pkgconfig"
5.21829 - fi
5.21830 - fi
5.21831 -
5.21832 - if test $succeeded = yes; then
5.21833 - HAVE_GST=yes
5.21834 - else
5.21835 - HAVE_GST=no
5.21836 - fi
5.21837 -
5.21838 -
5.21839 -if test "x$HAVE_GST" = "xno"; then
5.21840 - { { echo "$as_me:$LINENO: error: you need gstreamer development packages installed !" >&5
5.21841 -echo "$as_me: error: you need gstreamer development packages installed !" >&2;}
5.21842 - { (exit 1); exit 1; }; }
5.21843 -fi
5.21844 -
5.21845 -if test "x$USE_DEBUG" = xyes; then
5.21846 - GST_CFLAGS="$GST_CFLAGS -g"
5.21847 -fi
5.21848 -
5.21849 -
5.21850 -
5.21851 -
5.21852 -
5.21853 -
5.21854 -
5.21855 - succeeded=no
5.21856 -
5.21857 - if test -z "$PKG_CONFIG"; then
5.21858 - # Extract the first word of "pkg-config", so it can be a program name with args.
5.21859 -set dummy pkg-config; ac_word=$2
5.21860 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.21861 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.21862 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5.21863 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.21864 -else
5.21865 - case $PKG_CONFIG in
5.21866 - [\\/]* | ?:[\\/]*)
5.21867 - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5.21868 - ;;
5.21869 - *)
5.21870 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.21871 -for as_dir in $PATH
5.21872 -do
5.21873 - IFS=$as_save_IFS
5.21874 - test -z "$as_dir" && as_dir=.
5.21875 - for ac_exec_ext in '' $ac_executable_extensions; do
5.21876 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.21877 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5.21878 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.21879 - break 2
5.21880 - fi
5.21881 -done
5.21882 -done
5.21883 -
5.21884 - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5.21885 - ;;
5.21886 -esac
5.21887 -fi
5.21888 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5.21889 -
5.21890 -if test -n "$PKG_CONFIG"; then
5.21891 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5.21892 -echo "${ECHO_T}$PKG_CONFIG" >&6
5.21893 -else
5.21894 - echo "$as_me:$LINENO: result: no" >&5
5.21895 -echo "${ECHO_T}no" >&6
5.21896 -fi
5.21897 -
5.21898 - fi
5.21899 -
5.21900 - if test "$PKG_CONFIG" = "no" ; then
5.21901 - echo "*** The pkg-config script could not be found. Make sure it is"
5.21902 - echo "*** in your path, or set the PKG_CONFIG environment variable"
5.21903 - echo "*** to the full path to pkg-config."
5.21904 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
5.21905 - else
5.21906 - PKG_CONFIG_MIN_VERSION=0.9.0
5.21907 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
5.21908 - echo "$as_me:$LINENO: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
5.21909 -echo $ECHO_N "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
5.21910 -
5.21911 - if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
5.21912 - echo "$as_me:$LINENO: result: yes" >&5
5.21913 -echo "${ECHO_T}yes" >&6
5.21914 - succeeded=yes
5.21915 -
5.21916 - echo "$as_me:$LINENO: checking GST_BASE_CFLAGS" >&5
5.21917 -echo $ECHO_N "checking GST_BASE_CFLAGS... $ECHO_C" >&6
5.21918 - GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
5.21919 - echo "$as_me:$LINENO: result: $GST_BASE_CFLAGS" >&5
5.21920 -echo "${ECHO_T}$GST_BASE_CFLAGS" >&6
5.21921 -
5.21922 - echo "$as_me:$LINENO: checking GST_BASE_LIBS" >&5
5.21923 -echo $ECHO_N "checking GST_BASE_LIBS... $ECHO_C" >&6
5.21924 - GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
5.21925 - echo "$as_me:$LINENO: result: $GST_BASE_LIBS" >&5
5.21926 -echo "${ECHO_T}$GST_BASE_LIBS" >&6
5.21927 - else
5.21928 - GST_BASE_CFLAGS=""
5.21929 - GST_BASE_LIBS=""
5.21930 - ## If we have a custom action on failure, don't print errors, but
5.21931 - ## do set a variable so people can do so.
5.21932 - GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
5.21933 -
5.21934 - fi
5.21935 -
5.21936 -
5.21937 -
5.21938 - else
5.21939 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
5.21940 - echo "*** See http://www.freedesktop.org/software/pkgconfig"
5.21941 - fi
5.21942 - fi
5.21943 -
5.21944 - if test $succeeded = yes; then
5.21945 - HAVE_GST_BASE="yes"
5.21946 - else
5.21947 - HAVE_GST_BASE="no"
5.21948 - fi
5.21949 -
5.21950 -
5.21951 -if test "x$HAVE_GST_BASE" = "xno"; then
5.21952 - { { echo "$as_me:$LINENO: error: no GStreamer Base Libs found" >&5
5.21953 -echo "$as_me: error: no GStreamer Base Libs found" >&2;}
5.21954 - { (exit 1); exit 1; }; }
5.21955 -fi
5.21956 -
5.21957 -
5.21958 -
5.21959 -
5.21960 -
5.21961 - succeeded=no
5.21962 -
5.21963 - if test -z "$PKG_CONFIG"; then
5.21964 - # Extract the first word of "pkg-config", so it can be a program name with args.
5.21965 -set dummy pkg-config; ac_word=$2
5.21966 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5.21967 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5.21968 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5.21969 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.21970 -else
5.21971 - case $PKG_CONFIG in
5.21972 - [\\/]* | ?:[\\/]*)
5.21973 - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5.21974 - ;;
5.21975 - *)
5.21976 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.21977 -for as_dir in $PATH
5.21978 -do
5.21979 - IFS=$as_save_IFS
5.21980 - test -z "$as_dir" && as_dir=.
5.21981 - for ac_exec_ext in '' $ac_executable_extensions; do
5.21982 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5.21983 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5.21984 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.21985 - break 2
5.21986 - fi
5.21987 -done
5.21988 -done
5.21989 -
5.21990 - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5.21991 - ;;
5.21992 -esac
5.21993 -fi
5.21994 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5.21995 -
5.21996 -if test -n "$PKG_CONFIG"; then
5.21997 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5.21998 -echo "${ECHO_T}$PKG_CONFIG" >&6
5.21999 -else
5.22000 - echo "$as_me:$LINENO: result: no" >&5
5.22001 -echo "${ECHO_T}no" >&6
5.22002 -fi
5.22003 -
5.22004 - fi
5.22005 -
5.22006 - if test "$PKG_CONFIG" = "no" ; then
5.22007 - echo "*** The pkg-config script could not be found. Make sure it is"
5.22008 - echo "*** in your path, or set the PKG_CONFIG environment variable"
5.22009 - echo "*** to the full path to pkg-config."
5.22010 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
5.22011 - else
5.22012 - PKG_CONFIG_MIN_VERSION=0.9.0
5.22013 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
5.22014 - echo "$as_me:$LINENO: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
5.22015 -echo $ECHO_N "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
5.22016 -
5.22017 - if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
5.22018 - echo "$as_me:$LINENO: result: yes" >&5
5.22019 -echo "${ECHO_T}yes" >&6
5.22020 - succeeded=yes
5.22021 -
5.22022 - echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_CFLAGS" >&5
5.22023 -echo $ECHO_N "checking GST_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6
5.22024 - GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
5.22025 - echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_CFLAGS" >&5
5.22026 -echo "${ECHO_T}$GST_PLUGINS_BASE_CFLAGS" >&6
5.22027 -
5.22028 - echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_LIBS" >&5
5.22029 -echo $ECHO_N "checking GST_PLUGINS_BASE_LIBS... $ECHO_C" >&6
5.22030 - GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
5.22031 - echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_LIBS" >&5
5.22032 -echo "${ECHO_T}$GST_PLUGINS_BASE_LIBS" >&6
5.22033 - else
5.22034 - GST_PLUGINS_BASE_CFLAGS=""
5.22035 - GST_PLUGINS_BASE_LIBS=""
5.22036 - ## If we have a custom action on failure, don't print errors, but
5.22037 - ## do set a variable so people can do so.
5.22038 - GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
5.22039 -
5.22040 - fi
5.22041 -
5.22042 -
5.22043 -
5.22044 - else
5.22045 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
5.22046 - echo "*** See http://www.freedesktop.org/software/pkgconfig"
5.22047 - fi
5.22048 - fi
5.22049 -
5.22050 - if test $succeeded = yes; then
5.22051 - HAVE_GST_PLUGINS="yes"
5.22052 - else
5.22053 - HAVE_GST_PLUGINS="no"
5.22054 - fi
5.22055 -
5.22056 -
5.22057 -if test "x$HAVE_GST_PLUGINS" = "xno"; then
5.22058 - { { echo "$as_me:$LINENO: error: no GStreamer Plugins Libs found" >&5
5.22059 -echo "$as_me: error: no GStreamer Plugins Libs found" >&2;}
5.22060 - { (exit 1); exit 1; }; }
5.22061 -fi
5.22062 -
5.22063 -
5.22064 -
5.22065 -
5.22066 -plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
5.22067 -
5.22068 -
5.22069 -GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).*'
5.22070 -
5.22071 -
5.22072 - ac_config_files="$ac_config_files Makefile src/Makefile m4/Makefile"
5.22073 -cat >confcache <<\_ACEOF
5.22074 -# This file is a shell script that caches the results of configure
5.22075 -# tests run on this system so they can be shared between configure
5.22076 -# scripts and configure runs, see configure's option --config-cache.
5.22077 -# It is not useful on other systems. If it contains results you don't
5.22078 -# want to keep, you may remove or edit it.
5.22079 -#
5.22080 -# config.status only pays attention to the cache file if you give it
5.22081 -# the --recheck option to rerun configure.
5.22082 -#
5.22083 -# `ac_cv_env_foo' variables (set or unset) will be overridden when
5.22084 -# loading this file, other *unset* `ac_cv_foo' will be assigned the
5.22085 -# following values.
5.22086 -
5.22087 -_ACEOF
5.22088 -
5.22089 -# The following way of writing the cache mishandles newlines in values,
5.22090 -# but we know of no workaround that is simple, portable, and efficient.
5.22091 -# So, don't put newlines in cache variables' values.
5.22092 -# Ultrix sh set writes to stderr and can't be redirected directly,
5.22093 -# and sets the high bit in the cache file unless we assign to the vars.
5.22094 -{
5.22095 - (set) 2>&1 |
5.22096 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
5.22097 - *ac_space=\ *)
5.22098 - # `set' does not quote correctly, so add quotes (double-quote
5.22099 - # substitution turns \\\\ into \\, and sed turns \\ into \).
5.22100 - sed -n \
5.22101 - "s/'/'\\\\''/g;
5.22102 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5.22103 - ;;
5.22104 - *)
5.22105 - # `set' quotes correctly as required by POSIX, so do not add quotes.
5.22106 - sed -n \
5.22107 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5.22108 - ;;
5.22109 - esac;
5.22110 -} |
5.22111 - sed '
5.22112 - t clear
5.22113 - : clear
5.22114 - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5.22115 - t end
5.22116 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5.22117 - : end' >>confcache
5.22118 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
5.22119 - if test -w $cache_file; then
5.22120 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5.22121 - cat confcache >$cache_file
5.22122 - else
5.22123 - echo "not updating unwritable cache $cache_file"
5.22124 - fi
5.22125 -fi
5.22126 -rm -f confcache
5.22127 -
5.22128 -test "x$prefix" = xNONE && prefix=$ac_default_prefix
5.22129 -# Let make expand exec_prefix.
5.22130 -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5.22131 -
5.22132 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
5.22133 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5.22134 -# trailing colons and then remove the whole line if VPATH becomes empty
5.22135 -# (actually we leave an empty line to preserve line numbers).
5.22136 -if test "x$srcdir" = x.; then
5.22137 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
5.22138 -s/:*\$(srcdir):*/:/;
5.22139 -s/:*\${srcdir}:*/:/;
5.22140 -s/:*@srcdir@:*/:/;
5.22141 -s/^\([^=]*=[ ]*\):*/\1/;
5.22142 -s/:*$//;
5.22143 -s/^[^=]*=[ ]*$//;
5.22144 -}'
5.22145 -fi
5.22146 -
5.22147 -DEFS=-DHAVE_CONFIG_H
5.22148 -
5.22149 -ac_libobjs=
5.22150 -ac_ltlibobjs=
5.22151 -for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5.22152 - # 1. Remove the extension, and $U if already installed.
5.22153 - ac_i=`echo "$ac_i" |
5.22154 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5.22155 - # 2. Add them.
5.22156 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5.22157 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5.22158 -done
5.22159 -LIB@&t@OBJS=$ac_libobjs
5.22160 -
5.22161 -LTLIBOBJS=$ac_ltlibobjs
5.22162 -
5.22163 -
5.22164 -if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5.22165 - { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5.22166 -Usually this means the macro was only invoked conditionally." >&5
5.22167 -echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5.22168 -Usually this means the macro was only invoked conditionally." >&2;}
5.22169 - { (exit 1); exit 1; }; }
5.22170 -fi
5.22171 -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5.22172 - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5.22173 -Usually this means the macro was only invoked conditionally." >&5
5.22174 -echo "$as_me: error: conditional \"AMDEP\" was never defined.
5.22175 -Usually this means the macro was only invoked conditionally." >&2;}
5.22176 - { (exit 1); exit 1; }; }
5.22177 -fi
5.22178 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5.22179 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5.22180 -Usually this means the macro was only invoked conditionally." >&5
5.22181 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5.22182 -Usually this means the macro was only invoked conditionally." >&2;}
5.22183 - { (exit 1); exit 1; }; }
5.22184 -fi
5.22185 -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5.22186 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5.22187 -Usually this means the macro was only invoked conditionally." >&5
5.22188 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5.22189 -Usually this means the macro was only invoked conditionally." >&2;}
5.22190 - { (exit 1); exit 1; }; }
5.22191 -fi
5.22192 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5.22193 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5.22194 -Usually this means the macro was only invoked conditionally." >&5
5.22195 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5.22196 -Usually this means the macro was only invoked conditionally." >&2;}
5.22197 - { (exit 1); exit 1; }; }
5.22198 -fi
5.22199 -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5.22200 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5.22201 -Usually this means the macro was only invoked conditionally." >&5
5.22202 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5.22203 -Usually this means the macro was only invoked conditionally." >&2;}
5.22204 - { (exit 1); exit 1; }; }
5.22205 -fi
5.22206 -
5.22207 -: ${CONFIG_STATUS=./config.status}
5.22208 -ac_clean_files_save=$ac_clean_files
5.22209 -ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5.22210 -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5.22211 -echo "$as_me: creating $CONFIG_STATUS" >&6;}
5.22212 -cat >$CONFIG_STATUS <<_ACEOF
5.22213 -#! $SHELL
5.22214 -# Generated by $as_me.
5.22215 -# Run this file to recreate the current configuration.
5.22216 -# Compiler output produced by configure, useful for debugging
5.22217 -# configure, is in config.log if it exists.
5.22218 -
5.22219 -debug=false
5.22220 -ac_cs_recheck=false
5.22221 -ac_cs_silent=false
5.22222 -SHELL=\${CONFIG_SHELL-$SHELL}
5.22223 -_ACEOF
5.22224 -
5.22225 -cat >>$CONFIG_STATUS <<\_ACEOF
5.22226 -## --------------------- ##
5.22227 -## M4sh Initialization. ##
5.22228 -## --------------------- ##
5.22229 -
5.22230 -# Be Bourne compatible
5.22231 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5.22232 - emulate sh
5.22233 - NULLCMD=:
5.22234 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5.22235 - # is contrary to our usage. Disable this feature.
5.22236 - alias -g '${1+"$@"}'='"$@"'
5.22237 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5.22238 - set -o posix
5.22239 -fi
5.22240 -DUALCASE=1; export DUALCASE # for MKS sh
5.22241 -
5.22242 -# Support unset when possible.
5.22243 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5.22244 - as_unset=unset
5.22245 -else
5.22246 - as_unset=false
5.22247 -fi
5.22248 -
5.22249 -
5.22250 -# Work around bugs in pre-3.0 UWIN ksh.
5.22251 -$as_unset ENV MAIL MAILPATH
5.22252 -PS1='$ '
5.22253 -PS2='> '
5.22254 -PS4='+ '
5.22255 -
5.22256 -# NLS nuisances.
5.22257 -for as_var in \
5.22258 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5.22259 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5.22260 - LC_TELEPHONE LC_TIME
5.22261 -do
5.22262 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5.22263 - eval $as_var=C; export $as_var
5.22264 - else
5.22265 - $as_unset $as_var
5.22266 - fi
5.22267 -done
5.22268 -
5.22269 -# Required to use basename.
5.22270 -if expr a : '\(a\)' >/dev/null 2>&1; then
5.22271 - as_expr=expr
5.22272 -else
5.22273 - as_expr=false
5.22274 -fi
5.22275 -
5.22276 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5.22277 - as_basename=basename
5.22278 -else
5.22279 - as_basename=false
5.22280 -fi
5.22281 -
5.22282 -
5.22283 -# Name of the executable.
5.22284 -as_me=`$as_basename "$0" ||
5.22285 -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5.22286 - X"$0" : 'X\(//\)$' \| \
5.22287 - X"$0" : 'X\(/\)$' \| \
5.22288 - . : '\(.\)' 2>/dev/null ||
5.22289 -echo X/"$0" |
5.22290 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5.22291 - /^X\/\(\/\/\)$/{ s//\1/; q; }
5.22292 - /^X\/\(\/\).*/{ s//\1/; q; }
5.22293 - s/.*/./; q'`
5.22294 -
5.22295 -
5.22296 -# PATH needs CR, and LINENO needs CR and PATH.
5.22297 -# Avoid depending upon Character Ranges.
5.22298 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5.22299 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5.22300 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5.22301 -as_cr_digits='0123456789'
5.22302 -as_cr_alnum=$as_cr_Letters$as_cr_digits
5.22303 -
5.22304 -# The user is always right.
5.22305 -if test "${PATH_SEPARATOR+set}" != set; then
5.22306 - echo "#! /bin/sh" >conf$$.sh
5.22307 - echo "exit 0" >>conf$$.sh
5.22308 - chmod +x conf$$.sh
5.22309 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5.22310 - PATH_SEPARATOR=';'
5.22311 - else
5.22312 - PATH_SEPARATOR=:
5.22313 - fi
5.22314 - rm -f conf$$.sh
5.22315 -fi
5.22316 -
5.22317 -
5.22318 - as_lineno_1=$LINENO
5.22319 - as_lineno_2=$LINENO
5.22320 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5.22321 - test "x$as_lineno_1" != "x$as_lineno_2" &&
5.22322 - test "x$as_lineno_3" = "x$as_lineno_2" || {
5.22323 - # Find who we are. Look in the path if we contain no path at all
5.22324 - # relative or not.
5.22325 - case $0 in
5.22326 - *[\\/]* ) as_myself=$0 ;;
5.22327 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.22328 -for as_dir in $PATH
5.22329 -do
5.22330 - IFS=$as_save_IFS
5.22331 - test -z "$as_dir" && as_dir=.
5.22332 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5.22333 -done
5.22334 -
5.22335 - ;;
5.22336 - esac
5.22337 - # We did not find ourselves, most probably we were run as `sh COMMAND'
5.22338 - # in which case we are not to be found in the path.
5.22339 - if test "x$as_myself" = x; then
5.22340 - as_myself=$0
5.22341 - fi
5.22342 - if test ! -f "$as_myself"; then
5.22343 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5.22344 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5.22345 - { (exit 1); exit 1; }; }
5.22346 - fi
5.22347 - case $CONFIG_SHELL in
5.22348 - '')
5.22349 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.22350 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5.22351 -do
5.22352 - IFS=$as_save_IFS
5.22353 - test -z "$as_dir" && as_dir=.
5.22354 - for as_base in sh bash ksh sh5; do
5.22355 - case $as_dir in
5.22356 - /*)
5.22357 - if ("$as_dir/$as_base" -c '
5.22358 - as_lineno_1=$LINENO
5.22359 - as_lineno_2=$LINENO
5.22360 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5.22361 - test "x$as_lineno_1" != "x$as_lineno_2" &&
5.22362 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5.22363 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5.22364 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5.22365 - CONFIG_SHELL=$as_dir/$as_base
5.22366 - export CONFIG_SHELL
5.22367 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5.22368 - fi;;
5.22369 - esac
5.22370 - done
5.22371 -done
5.22372 -;;
5.22373 - esac
5.22374 -
5.22375 - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5.22376 - # uniformly replaced by the line number. The first 'sed' inserts a
5.22377 - # line-number line before each line; the second 'sed' does the real
5.22378 - # work. The second script uses 'N' to pair each line-number line
5.22379 - # with the numbered line, and appends trailing '-' during
5.22380 - # substitution so that $LINENO is not a special case at line end.
5.22381 - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5.22382 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5.22383 - sed '=' <$as_myself |
5.22384 - sed '
5.22385 - N
5.22386 - s,$,-,
5.22387 - : loop
5.22388 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5.22389 - t loop
5.22390 - s,-$,,
5.22391 - s,^['$as_cr_digits']*\n,,
5.22392 - ' >$as_me.lineno &&
5.22393 - chmod +x $as_me.lineno ||
5.22394 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5.22395 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5.22396 - { (exit 1); exit 1; }; }
5.22397 -
5.22398 - # Don't try to exec as it changes $[0], causing all sort of problems
5.22399 - # (the dirname of $[0] is not the place where we might find the
5.22400 - # original and so on. Autoconf is especially sensible to this).
5.22401 - . ./$as_me.lineno
5.22402 - # Exit status is that of the last command.
5.22403 - exit
5.22404 -}
5.22405 -
5.22406 -
5.22407 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5.22408 - *c*,-n*) ECHO_N= ECHO_C='
5.22409 -' ECHO_T=' ' ;;
5.22410 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5.22411 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5.22412 -esac
5.22413 -
5.22414 -if expr a : '\(a\)' >/dev/null 2>&1; then
5.22415 - as_expr=expr
5.22416 -else
5.22417 - as_expr=false
5.22418 -fi
5.22419 -
5.22420 -rm -f conf$$ conf$$.exe conf$$.file
5.22421 -echo >conf$$.file
5.22422 -if ln -s conf$$.file conf$$ 2>/dev/null; then
5.22423 - # We could just check for DJGPP; but this test a) works b) is more generic
5.22424 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5.22425 - if test -f conf$$.exe; then
5.22426 - # Don't use ln at all; we don't have any links
5.22427 - as_ln_s='cp -p'
5.22428 - else
5.22429 - as_ln_s='ln -s'
5.22430 - fi
5.22431 -elif ln conf$$.file conf$$ 2>/dev/null; then
5.22432 - as_ln_s=ln
5.22433 -else
5.22434 - as_ln_s='cp -p'
5.22435 -fi
5.22436 -rm -f conf$$ conf$$.exe conf$$.file
5.22437 -
5.22438 -if mkdir -p . 2>/dev/null; then
5.22439 - as_mkdir_p=:
5.22440 -else
5.22441 - test -d ./-p && rmdir ./-p
5.22442 - as_mkdir_p=false
5.22443 -fi
5.22444 -
5.22445 -as_executable_p="test -f"
5.22446 -
5.22447 -# Sed expression to map a string onto a valid CPP name.
5.22448 -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5.22449 -
5.22450 -# Sed expression to map a string onto a valid variable name.
5.22451 -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5.22452 -
5.22453 -
5.22454 -# IFS
5.22455 -# We need space, tab and new line, in precisely that order.
5.22456 -as_nl='
5.22457 -'
5.22458 -IFS=" $as_nl"
5.22459 -
5.22460 -# CDPATH.
5.22461 -$as_unset CDPATH
5.22462 -
5.22463 -exec 6>&1
5.22464 -
5.22465 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
5.22466 -# report actual input values of CONFIG_FILES etc. instead of their
5.22467 -# values after options handling. Logging --version etc. is OK.
5.22468 -exec 5>>config.log
5.22469 -{
5.22470 - echo
5.22471 - sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
5.22472 -@%:@@%:@ Running $as_me. @%:@@%:@
5.22473 -_ASBOX
5.22474 -} >&5
5.22475 -cat >&5 <<_CSEOF
5.22476 -
5.22477 -This file was extended by $as_me, which was
5.22478 -generated by GNU Autoconf 2.59. Invocation command line was
5.22479 -
5.22480 - CONFIG_FILES = $CONFIG_FILES
5.22481 - CONFIG_HEADERS = $CONFIG_HEADERS
5.22482 - CONFIG_LINKS = $CONFIG_LINKS
5.22483 - CONFIG_COMMANDS = $CONFIG_COMMANDS
5.22484 - $ $0 $@
5.22485 -
5.22486 -_CSEOF
5.22487 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5.22488 -echo >&5
5.22489 -_ACEOF
5.22490 -
5.22491 -# Files that config.status was made for.
5.22492 -if test -n "$ac_config_files"; then
5.22493 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5.22494 -fi
5.22495 -
5.22496 -if test -n "$ac_config_headers"; then
5.22497 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5.22498 -fi
5.22499 -
5.22500 -if test -n "$ac_config_links"; then
5.22501 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5.22502 -fi
5.22503 -
5.22504 -if test -n "$ac_config_commands"; then
5.22505 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5.22506 -fi
5.22507 -
5.22508 -cat >>$CONFIG_STATUS <<\_ACEOF
5.22509 -
5.22510 -ac_cs_usage="\
5.22511 -\`$as_me' instantiates files from templates according to the
5.22512 -current configuration.
5.22513 -
5.22514 -Usage: $0 [OPTIONS] [FILE]...
5.22515 -
5.22516 - -h, --help print this help, then exit
5.22517 - -V, --version print version number, then exit
5.22518 - -q, --quiet do not print progress messages
5.22519 - -d, --debug don't remove temporary files
5.22520 - --recheck update $as_me by reconfiguring in the same conditions
5.22521 - --file=FILE[:TEMPLATE]
5.22522 - instantiate the configuration file FILE
5.22523 - --header=FILE[:TEMPLATE]
5.22524 - instantiate the configuration header FILE
5.22525 -
5.22526 -Configuration files:
5.22527 -$config_files
5.22528 -
5.22529 -Configuration headers:
5.22530 -$config_headers
5.22531 -
5.22532 -Configuration commands:
5.22533 -$config_commands
5.22534 -
5.22535 -Report bugs to <bug-autoconf@gnu.org>."
5.22536 -_ACEOF
5.22537 -
5.22538 -cat >>$CONFIG_STATUS <<_ACEOF
5.22539 -ac_cs_version="\\
5.22540 -config.status
5.22541 -configured by $0, generated by GNU Autoconf 2.59,
5.22542 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5.22543 -
5.22544 -Copyright (C) 2003 Free Software Foundation, Inc.
5.22545 -This config.status script is free software; the Free Software Foundation
5.22546 -gives unlimited permission to copy, distribute and modify it."
5.22547 -srcdir=$srcdir
5.22548 -INSTALL="$INSTALL"
5.22549 -_ACEOF
5.22550 -
5.22551 -cat >>$CONFIG_STATUS <<\_ACEOF
5.22552 -# If no file are specified by the user, then we need to provide default
5.22553 -# value. By we need to know if files were specified by the user.
5.22554 -ac_need_defaults=:
5.22555 -while test $# != 0
5.22556 -do
5.22557 - case $1 in
5.22558 - --*=*)
5.22559 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
5.22560 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5.22561 - ac_shift=:
5.22562 - ;;
5.22563 - -*)
5.22564 - ac_option=$1
5.22565 - ac_optarg=$2
5.22566 - ac_shift=shift
5.22567 - ;;
5.22568 - *) # This is not an option, so the user has probably given explicit
5.22569 - # arguments.
5.22570 - ac_option=$1
5.22571 - ac_need_defaults=false;;
5.22572 - esac
5.22573 -
5.22574 - case $ac_option in
5.22575 - # Handling of the options.
5.22576 -_ACEOF
5.22577 -cat >>$CONFIG_STATUS <<\_ACEOF
5.22578 - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5.22579 - ac_cs_recheck=: ;;
5.22580 - --version | --vers* | -V )
5.22581 - echo "$ac_cs_version"; exit 0 ;;
5.22582 - --he | --h)
5.22583 - # Conflict between --help and --header
5.22584 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
5.22585 -Try \`$0 --help' for more information." >&5
5.22586 -echo "$as_me: error: ambiguous option: $1
5.22587 -Try \`$0 --help' for more information." >&2;}
5.22588 - { (exit 1); exit 1; }; };;
5.22589 - --help | --hel | -h )
5.22590 - echo "$ac_cs_usage"; exit 0 ;;
5.22591 - --debug | --d* | -d )
5.22592 - debug=: ;;
5.22593 - --file | --fil | --fi | --f )
5.22594 - $ac_shift
5.22595 - CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5.22596 - ac_need_defaults=false;;
5.22597 - --header | --heade | --head | --hea )
5.22598 - $ac_shift
5.22599 - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5.22600 - ac_need_defaults=false;;
5.22601 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5.22602 - | -silent | --silent | --silen | --sile | --sil | --si | --s)
5.22603 - ac_cs_silent=: ;;
5.22604 -
5.22605 - # This is an error.
5.22606 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5.22607 -Try \`$0 --help' for more information." >&5
5.22608 -echo "$as_me: error: unrecognized option: $1
5.22609 -Try \`$0 --help' for more information." >&2;}
5.22610 - { (exit 1); exit 1; }; } ;;
5.22611 -
5.22612 - *) ac_config_targets="$ac_config_targets $1" ;;
5.22613 -
5.22614 - esac
5.22615 - shift
5.22616 -done
5.22617 -
5.22618 -ac_configure_extra_args=
5.22619 -
5.22620 -if $ac_cs_silent; then
5.22621 - exec 6>/dev/null
5.22622 - ac_configure_extra_args="$ac_configure_extra_args --silent"
5.22623 -fi
5.22624 -
5.22625 -_ACEOF
5.22626 -cat >>$CONFIG_STATUS <<_ACEOF
5.22627 -if \$ac_cs_recheck; then
5.22628 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5.22629 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5.22630 -fi
5.22631 -
5.22632 -_ACEOF
5.22633 -
5.22634 -cat >>$CONFIG_STATUS <<_ACEOF
5.22635 -#
5.22636 -# INIT-COMMANDS section.
5.22637 -#
5.22638 -
5.22639 -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5.22640 -
5.22641 -_ACEOF
5.22642 -
5.22643 -
5.22644 -
5.22645 -cat >>$CONFIG_STATUS <<\_ACEOF
5.22646 -for ac_config_target in $ac_config_targets
5.22647 -do
5.22648 - case "$ac_config_target" in
5.22649 - # Handling of arguments.
5.22650 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5.22651 - "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5.22652 - "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
5.22653 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5.22654 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5.22655 - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5.22656 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5.22657 - { (exit 1); exit 1; }; };;
5.22658 - esac
5.22659 -done
5.22660 -
5.22661 -# If the user did not use the arguments to specify the items to instantiate,
5.22662 -# then the envvar interface is used. Set only those that are not.
5.22663 -# We use the long form for the default assignment because of an extremely
5.22664 -# bizarre bug on SunOS 4.1.3.
5.22665 -if $ac_need_defaults; then
5.22666 - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5.22667 - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5.22668 - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5.22669 -fi
5.22670 -
5.22671 -# Have a temporary directory for convenience. Make it in the build tree
5.22672 -# simply because there is no reason to put it here, and in addition,
5.22673 -# creating and moving files from /tmp can sometimes cause problems.
5.22674 -# Create a temporary directory, and hook for its removal unless debugging.
5.22675 -$debug ||
5.22676 -{
5.22677 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5.22678 - trap '{ (exit 1); exit 1; }' 1 2 13 15
5.22679 -}
5.22680 -
5.22681 -# Create a (secure) tmp directory for tmp files.
5.22682 -
5.22683 -{
5.22684 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5.22685 - test -n "$tmp" && test -d "$tmp"
5.22686 -} ||
5.22687 -{
5.22688 - tmp=./confstat$$-$RANDOM
5.22689 - (umask 077 && mkdir $tmp)
5.22690 -} ||
5.22691 -{
5.22692 - echo "$me: cannot create a temporary directory in ." >&2
5.22693 - { (exit 1); exit 1; }
5.22694 -}
5.22695 -
5.22696 -_ACEOF
5.22697 -
5.22698 -cat >>$CONFIG_STATUS <<_ACEOF
5.22699 -
5.22700 -#
5.22701 -# CONFIG_FILES section.
5.22702 -#
5.22703 -
5.22704 -# No need to generate the scripts if there are no CONFIG_FILES.
5.22705 -# This happens for instance when ./config.status config.h
5.22706 -if test -n "\$CONFIG_FILES"; then
5.22707 - # Protect against being on the right side of a sed subst in config.status.
5.22708 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5.22709 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5.22710 -s,@SHELL@,$SHELL,;t t
5.22711 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5.22712 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5.22713 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5.22714 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5.22715 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5.22716 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5.22717 -s,@exec_prefix@,$exec_prefix,;t t
5.22718 -s,@prefix@,$prefix,;t t
5.22719 -s,@program_transform_name@,$program_transform_name,;t t
5.22720 -s,@bindir@,$bindir,;t t
5.22721 -s,@sbindir@,$sbindir,;t t
5.22722 -s,@libexecdir@,$libexecdir,;t t
5.22723 -s,@datadir@,$datadir,;t t
5.22724 -s,@sysconfdir@,$sysconfdir,;t t
5.22725 -s,@sharedstatedir@,$sharedstatedir,;t t
5.22726 -s,@localstatedir@,$localstatedir,;t t
5.22727 -s,@libdir@,$libdir,;t t
5.22728 -s,@includedir@,$includedir,;t t
5.22729 -s,@oldincludedir@,$oldincludedir,;t t
5.22730 -s,@infodir@,$infodir,;t t
5.22731 -s,@mandir@,$mandir,;t t
5.22732 -s,@build_alias@,$build_alias,;t t
5.22733 -s,@host_alias@,$host_alias,;t t
5.22734 -s,@target_alias@,$target_alias,;t t
5.22735 -s,@DEFS@,$DEFS,;t t
5.22736 -s,@ECHO_C@,$ECHO_C,;t t
5.22737 -s,@ECHO_N@,$ECHO_N,;t t
5.22738 -s,@ECHO_T@,$ECHO_T,;t t
5.22739 -s,@LIBS@,$LIBS,;t t
5.22740 -s,@build@,$build,;t t
5.22741 -s,@build_cpu@,$build_cpu,;t t
5.22742 -s,@build_vendor@,$build_vendor,;t t
5.22743 -s,@build_os@,$build_os,;t t
5.22744 -s,@host@,$host,;t t
5.22745 -s,@host_cpu@,$host_cpu,;t t
5.22746 -s,@host_vendor@,$host_vendor,;t t
5.22747 -s,@host_os@,$host_os,;t t
5.22748 -s,@target@,$target,;t t
5.22749 -s,@target_cpu@,$target_cpu,;t t
5.22750 -s,@target_vendor@,$target_vendor,;t t
5.22751 -s,@target_os@,$target_os,;t t
5.22752 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5.22753 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5.22754 -s,@MAINT@,$MAINT,;t t
5.22755 -s,@GST_PLUGINS_VERSION@,$GST_PLUGINS_VERSION,;t t
5.22756 -s,@GST_PLUGINS_VERSION_RELEASE@,$GST_PLUGINS_VERSION_RELEASE,;t t
5.22757 -s,@GST_PLUGINS_VERSION_MAJOR@,$GST_PLUGINS_VERSION_MAJOR,;t t
5.22758 -s,@GST_PLUGINS_VERSION_MINOR@,$GST_PLUGINS_VERSION_MINOR,;t t
5.22759 -s,@GST_PLUGINS_VERSION_MICRO@,$GST_PLUGINS_VERSION_MICRO,;t t
5.22760 -s,@GST_PLUGINS_VERSION_NANO@,$GST_PLUGINS_VERSION_NANO,;t t
5.22761 -s,@PACKAGE@,$PACKAGE,;t t
5.22762 -s,@VERSION@,$VERSION,;t t
5.22763 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5.22764 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5.22765 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5.22766 -s,@CYGPATH_W@,$CYGPATH_W,;t t
5.22767 -s,@ACLOCAL@,$ACLOCAL,;t t
5.22768 -s,@AUTOCONF@,$AUTOCONF,;t t
5.22769 -s,@AUTOMAKE@,$AUTOMAKE,;t t
5.22770 -s,@AUTOHEADER@,$AUTOHEADER,;t t
5.22771 -s,@MAKEINFO@,$MAKEINFO,;t t
5.22772 -s,@AMTAR@,$AMTAR,;t t
5.22773 -s,@install_sh@,$install_sh,;t t
5.22774 -s,@STRIP@,$STRIP,;t t
5.22775 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5.22776 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5.22777 -s,@mkdir_p@,$mkdir_p,;t t
5.22778 -s,@AWK@,$AWK,;t t
5.22779 -s,@SET_MAKE@,$SET_MAKE,;t t
5.22780 -s,@am__leading_dot@,$am__leading_dot,;t t
5.22781 -s,@CC@,$CC,;t t
5.22782 -s,@CFLAGS@,$CFLAGS,;t t
5.22783 -s,@LDFLAGS@,$LDFLAGS,;t t
5.22784 -s,@CPPFLAGS@,$CPPFLAGS,;t t
5.22785 -s,@ac_ct_CC@,$ac_ct_CC,;t t
5.22786 -s,@EXEEXT@,$EXEEXT,;t t
5.22787 -s,@OBJEXT@,$OBJEXT,;t t
5.22788 -s,@DEPDIR@,$DEPDIR,;t t
5.22789 -s,@am__include@,$am__include,;t t
5.22790 -s,@am__quote@,$am__quote,;t t
5.22791 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5.22792 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5.22793 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5.22794 -s,@CCDEPMODE@,$CCDEPMODE,;t t
5.22795 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5.22796 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5.22797 -s,@EGREP@,$EGREP,;t t
5.22798 -s,@LN_S@,$LN_S,;t t
5.22799 -s,@ECHO@,$ECHO,;t t
5.22800 -s,@AR@,$AR,;t t
5.22801 -s,@ac_ct_AR@,$ac_ct_AR,;t t
5.22802 -s,@RANLIB@,$RANLIB,;t t
5.22803 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5.22804 -s,@CPP@,$CPP,;t t
5.22805 -s,@CXX@,$CXX,;t t
5.22806 -s,@CXXFLAGS@,$CXXFLAGS,;t t
5.22807 -s,@ac_ct_CXX@,$ac_ct_CXX,;t t
5.22808 -s,@CXXDEPMODE@,$CXXDEPMODE,;t t
5.22809 -s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
5.22810 -s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
5.22811 -s,@CXXCPP@,$CXXCPP,;t t
5.22812 -s,@F77@,$F77,;t t
5.22813 -s,@FFLAGS@,$FFLAGS,;t t
5.22814 -s,@ac_ct_F77@,$ac_ct_F77,;t t
5.22815 -s,@LIBTOOL@,$LIBTOOL,;t t
5.22816 -s,@ACLOCAL_AMFLAGS@,$ACLOCAL_AMFLAGS,;t t
5.22817 -s,@CCAS@,$CCAS,;t t
5.22818 -s,@CCASFLAGS@,$CCASFLAGS,;t t
5.22819 -s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
5.22820 -s,@HAVE_CXX@,$HAVE_CXX,;t t
5.22821 -s,@HAVE_PKGCONFIG@,$HAVE_PKGCONFIG,;t t
5.22822 -s,@PKG_CONFIG@,$PKG_CONFIG,;t t
5.22823 -s,@GST_CFLAGS@,$GST_CFLAGS,;t t
5.22824 -s,@GST_LIBS@,$GST_LIBS,;t t
5.22825 -s,@GST_MAJORMINOR@,$GST_MAJORMINOR,;t t
5.22826 -s,@GST_BASE_CFLAGS@,$GST_BASE_CFLAGS,;t t
5.22827 -s,@GST_BASE_LIBS@,$GST_BASE_LIBS,;t t
5.22828 -s,@GST_PLUGINS_BASE_CFLAGS@,$GST_PLUGINS_BASE_CFLAGS,;t t
5.22829 -s,@GST_PLUGINS_BASE_LIBS@,$GST_PLUGINS_BASE_LIBS,;t t
5.22830 -s,@plugindir@,$plugindir,;t t
5.22831 -s,@GST_PLUGIN_LDFLAGS@,$GST_PLUGIN_LDFLAGS,;t t
5.22832 -s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
5.22833 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5.22834 -CEOF
5.22835 -
5.22836 -_ACEOF
5.22837 -
5.22838 - cat >>$CONFIG_STATUS <<\_ACEOF
5.22839 - # Split the substitutions into bite-sized pieces for seds with
5.22840 - # small command number limits, like on Digital OSF/1 and HP-UX.
5.22841 - ac_max_sed_lines=48
5.22842 - ac_sed_frag=1 # Number of current file.
5.22843 - ac_beg=1 # First line for current file.
5.22844 - ac_end=$ac_max_sed_lines # Line after last line for current file.
5.22845 - ac_more_lines=:
5.22846 - ac_sed_cmds=
5.22847 - while $ac_more_lines; do
5.22848 - if test $ac_beg -gt 1; then
5.22849 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5.22850 - else
5.22851 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5.22852 - fi
5.22853 - if test ! -s $tmp/subs.frag; then
5.22854 - ac_more_lines=false
5.22855 - else
5.22856 - # The purpose of the label and of the branching condition is to
5.22857 - # speed up the sed processing (if there are no `@' at all, there
5.22858 - # is no need to browse any of the substitutions).
5.22859 - # These are the two extra sed commands mentioned above.
5.22860 - (echo ':t
5.22861 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5.22862 - if test -z "$ac_sed_cmds"; then
5.22863 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5.22864 - else
5.22865 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5.22866 - fi
5.22867 - ac_sed_frag=`expr $ac_sed_frag + 1`
5.22868 - ac_beg=$ac_end
5.22869 - ac_end=`expr $ac_end + $ac_max_sed_lines`
5.22870 - fi
5.22871 - done
5.22872 - if test -z "$ac_sed_cmds"; then
5.22873 - ac_sed_cmds=cat
5.22874 - fi
5.22875 -fi # test -n "$CONFIG_FILES"
5.22876 -
5.22877 -_ACEOF
5.22878 -cat >>$CONFIG_STATUS <<\_ACEOF
5.22879 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5.22880 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5.22881 - case $ac_file in
5.22882 - - | *:- | *:-:* ) # input from stdin
5.22883 - cat >$tmp/stdin
5.22884 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5.22885 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5.22886 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5.22887 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5.22888 - * ) ac_file_in=$ac_file.in ;;
5.22889 - esac
5.22890 -
5.22891 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5.22892 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5.22893 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5.22894 - X"$ac_file" : 'X\(//\)[^/]' \| \
5.22895 - X"$ac_file" : 'X\(//\)$' \| \
5.22896 - X"$ac_file" : 'X\(/\)' \| \
5.22897 - . : '\(.\)' 2>/dev/null ||
5.22898 -echo X"$ac_file" |
5.22899 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5.22900 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5.22901 - /^X\(\/\/\)$/{ s//\1/; q; }
5.22902 - /^X\(\/\).*/{ s//\1/; q; }
5.22903 - s/.*/./; q'`
5.22904 - { if $as_mkdir_p; then
5.22905 - mkdir -p "$ac_dir"
5.22906 - else
5.22907 - as_dir="$ac_dir"
5.22908 - as_dirs=
5.22909 - while test ! -d "$as_dir"; do
5.22910 - as_dirs="$as_dir $as_dirs"
5.22911 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
5.22912 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5.22913 - X"$as_dir" : 'X\(//\)[^/]' \| \
5.22914 - X"$as_dir" : 'X\(//\)$' \| \
5.22915 - X"$as_dir" : 'X\(/\)' \| \
5.22916 - . : '\(.\)' 2>/dev/null ||
5.22917 -echo X"$as_dir" |
5.22918 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5.22919 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5.22920 - /^X\(\/\/\)$/{ s//\1/; q; }
5.22921 - /^X\(\/\).*/{ s//\1/; q; }
5.22922 - s/.*/./; q'`
5.22923 - done
5.22924 - test ! -n "$as_dirs" || mkdir $as_dirs
5.22925 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5.22926 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5.22927 - { (exit 1); exit 1; }; }; }
5.22928 -
5.22929 - ac_builddir=.
5.22930 -
5.22931 -if test "$ac_dir" != .; then
5.22932 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5.22933 - # A "../" for each directory in $ac_dir_suffix.
5.22934 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5.22935 -else
5.22936 - ac_dir_suffix= ac_top_builddir=
5.22937 -fi
5.22938 -
5.22939 -case $srcdir in
5.22940 - .) # No --srcdir option. We are building in place.
5.22941 - ac_srcdir=.
5.22942 - if test -z "$ac_top_builddir"; then
5.22943 - ac_top_srcdir=.
5.22944 - else
5.22945 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5.22946 - fi ;;
5.22947 - [\\/]* | ?:[\\/]* ) # Absolute path.
5.22948 - ac_srcdir=$srcdir$ac_dir_suffix;
5.22949 - ac_top_srcdir=$srcdir ;;
5.22950 - *) # Relative path.
5.22951 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5.22952 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
5.22953 -esac
5.22954 -
5.22955 -# Do not use `cd foo && pwd` to compute absolute paths, because
5.22956 -# the directories may not exist.
5.22957 -case `pwd` in
5.22958 -.) ac_abs_builddir="$ac_dir";;
5.22959 -*)
5.22960 - case "$ac_dir" in
5.22961 - .) ac_abs_builddir=`pwd`;;
5.22962 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5.22963 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
5.22964 - esac;;
5.22965 -esac
5.22966 -case $ac_abs_builddir in
5.22967 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
5.22968 -*)
5.22969 - case ${ac_top_builddir}. in
5.22970 - .) ac_abs_top_builddir=$ac_abs_builddir;;
5.22971 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5.22972 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5.22973 - esac;;
5.22974 -esac
5.22975 -case $ac_abs_builddir in
5.22976 -.) ac_abs_srcdir=$ac_srcdir;;
5.22977 -*)
5.22978 - case $ac_srcdir in
5.22979 - .) ac_abs_srcdir=$ac_abs_builddir;;
5.22980 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5.22981 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5.22982 - esac;;
5.22983 -esac
5.22984 -case $ac_abs_builddir in
5.22985 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
5.22986 -*)
5.22987 - case $ac_top_srcdir in
5.22988 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
5.22989 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5.22990 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5.22991 - esac;;
5.22992 -esac
5.22993 -
5.22994 -
5.22995 - case $INSTALL in
5.22996 - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5.22997 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5.22998 - esac
5.22999 -
5.23000 - # Let's still pretend it is `configure' which instantiates (i.e., don't
5.23001 - # use $as_me), people would be surprised to read:
5.23002 - # /* config.h. Generated by config.status. */
5.23003 - if test x"$ac_file" = x-; then
5.23004 - configure_input=
5.23005 - else
5.23006 - configure_input="$ac_file. "
5.23007 - fi
5.23008 - configure_input=$configure_input"Generated from `echo $ac_file_in |
5.23009 - sed 's,.*/,,'` by configure."
5.23010 -
5.23011 - # First look for the input files in the build tree, otherwise in the
5.23012 - # src tree.
5.23013 - ac_file_inputs=`IFS=:
5.23014 - for f in $ac_file_in; do
5.23015 - case $f in
5.23016 - -) echo $tmp/stdin ;;
5.23017 - [\\/$]*)
5.23018 - # Absolute (can't be DOS-style, as IFS=:)
5.23019 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5.23020 -echo "$as_me: error: cannot find input file: $f" >&2;}
5.23021 - { (exit 1); exit 1; }; }
5.23022 - echo "$f";;
5.23023 - *) # Relative
5.23024 - if test -f "$f"; then
5.23025 - # Build tree
5.23026 - echo "$f"
5.23027 - elif test -f "$srcdir/$f"; then
5.23028 - # Source tree
5.23029 - echo "$srcdir/$f"
5.23030 - else
5.23031 - # /dev/null tree
5.23032 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5.23033 -echo "$as_me: error: cannot find input file: $f" >&2;}
5.23034 - { (exit 1); exit 1; }; }
5.23035 - fi;;
5.23036 - esac
5.23037 - done` || { (exit 1); exit 1; }
5.23038 -
5.23039 - if test x"$ac_file" != x-; then
5.23040 - { echo "$as_me:$LINENO: creating $ac_file" >&5
5.23041 -echo "$as_me: creating $ac_file" >&6;}
5.23042 - rm -f "$ac_file"
5.23043 - fi
5.23044 -_ACEOF
5.23045 -cat >>$CONFIG_STATUS <<_ACEOF
5.23046 - sed "$ac_vpsub
5.23047 -$extrasub
5.23048 -_ACEOF
5.23049 -cat >>$CONFIG_STATUS <<\_ACEOF
5.23050 -:t
5.23051 -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5.23052 -s,@configure_input@,$configure_input,;t t
5.23053 -s,@srcdir@,$ac_srcdir,;t t
5.23054 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
5.23055 -s,@top_srcdir@,$ac_top_srcdir,;t t
5.23056 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5.23057 -s,@builddir@,$ac_builddir,;t t
5.23058 -s,@abs_builddir@,$ac_abs_builddir,;t t
5.23059 -s,@top_builddir@,$ac_top_builddir,;t t
5.23060 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5.23061 -s,@INSTALL@,$ac_INSTALL,;t t
5.23062 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5.23063 - rm -f $tmp/stdin
5.23064 - if test x"$ac_file" != x-; then
5.23065 - mv $tmp/out $ac_file
5.23066 - else
5.23067 - cat $tmp/out
5.23068 - rm -f $tmp/out
5.23069 - fi
5.23070 -
5.23071 -done
5.23072 -_ACEOF
5.23073 -cat >>$CONFIG_STATUS <<\_ACEOF
5.23074 -
5.23075 -#
5.23076 -# CONFIG_HEADER section.
5.23077 -#
5.23078 -
5.23079 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5.23080 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
5.23081 -#
5.23082 -# ac_d sets the value in "#define NAME VALUE" lines.
5.23083 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5.23084 -ac_dB='[ ].*$,\1#\2'
5.23085 -ac_dC=' '
5.23086 -ac_dD=',;t'
5.23087 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5.23088 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5.23089 -ac_uB='$,\1#\2define\3'
5.23090 -ac_uC=' '
5.23091 -ac_uD=',;t'
5.23092 -
5.23093 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5.23094 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5.23095 - case $ac_file in
5.23096 - - | *:- | *:-:* ) # input from stdin
5.23097 - cat >$tmp/stdin
5.23098 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5.23099 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5.23100 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5.23101 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5.23102 - * ) ac_file_in=$ac_file.in ;;
5.23103 - esac
5.23104 -
5.23105 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5.23106 -echo "$as_me: creating $ac_file" >&6;}
5.23107 -
5.23108 - # First look for the input files in the build tree, otherwise in the
5.23109 - # src tree.
5.23110 - ac_file_inputs=`IFS=:
5.23111 - for f in $ac_file_in; do
5.23112 - case $f in
5.23113 - -) echo $tmp/stdin ;;
5.23114 - [\\/$]*)
5.23115 - # Absolute (can't be DOS-style, as IFS=:)
5.23116 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5.23117 -echo "$as_me: error: cannot find input file: $f" >&2;}
5.23118 - { (exit 1); exit 1; }; }
5.23119 - # Do quote $f, to prevent DOS paths from being IFS'd.
5.23120 - echo "$f";;
5.23121 - *) # Relative
5.23122 - if test -f "$f"; then
5.23123 - # Build tree
5.23124 - echo "$f"
5.23125 - elif test -f "$srcdir/$f"; then
5.23126 - # Source tree
5.23127 - echo "$srcdir/$f"
5.23128 - else
5.23129 - # /dev/null tree
5.23130 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5.23131 -echo "$as_me: error: cannot find input file: $f" >&2;}
5.23132 - { (exit 1); exit 1; }; }
5.23133 - fi;;
5.23134 - esac
5.23135 - done` || { (exit 1); exit 1; }
5.23136 - # Remove the trailing spaces.
5.23137 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5.23138 -
5.23139 -_ACEOF
5.23140 -
5.23141 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
5.23142 -# `conftest.undefs', that substitutes the proper values into
5.23143 -# config.h.in to produce config.h. The first handles `#define'
5.23144 -# templates, and the second `#undef' templates.
5.23145 -# And first: Protect against being on the right side of a sed subst in
5.23146 -# config.status. Protect against being in an unquoted here document
5.23147 -# in config.status.
5.23148 -rm -f conftest.defines conftest.undefs
5.23149 -# Using a here document instead of a string reduces the quoting nightmare.
5.23150 -# Putting comments in sed scripts is not portable.
5.23151 -#
5.23152 -# `end' is used to avoid that the second main sed command (meant for
5.23153 -# 0-ary CPP macros) applies to n-ary macro definitions.
5.23154 -# See the Autoconf documentation for `clear'.
5.23155 -cat >confdef2sed.sed <<\_ACEOF
5.23156 -s/[\\&,]/\\&/g
5.23157 -s,[\\$`],\\&,g
5.23158 -t clear
5.23159 -: clear
5.23160 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5.23161 -t end
5.23162 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5.23163 -: end
5.23164 -_ACEOF
5.23165 -# If some macros were called several times there might be several times
5.23166 -# the same #defines, which is useless. Nevertheless, we may not want to
5.23167 -# sort them, since we want the *last* AC-DEFINE to be honored.
5.23168 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5.23169 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5.23170 -rm -f confdef2sed.sed
5.23171 -
5.23172 -# This sed command replaces #undef with comments. This is necessary, for
5.23173 -# example, in the case of _POSIX_SOURCE, which is predefined and required
5.23174 -# on some systems where configure will not decide to define it.
5.23175 -cat >>conftest.undefs <<\_ACEOF
5.23176 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5.23177 -_ACEOF
5.23178 -
5.23179 -# Break up conftest.defines because some shells have a limit on the size
5.23180 -# of here documents, and old seds have small limits too (100 cmds).
5.23181 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5.23182 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5.23183 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5.23184 -echo ' :' >>$CONFIG_STATUS
5.23185 -rm -f conftest.tail
5.23186 -while grep . conftest.defines >/dev/null
5.23187 -do
5.23188 - # Write a limited-size here document to $tmp/defines.sed.
5.23189 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5.23190 - # Speed up: don't consider the non `#define' lines.
5.23191 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5.23192 - # Work around the forget-to-reset-the-flag bug.
5.23193 - echo 't clr' >>$CONFIG_STATUS
5.23194 - echo ': clr' >>$CONFIG_STATUS
5.23195 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5.23196 - echo 'CEOF
5.23197 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
5.23198 - rm -f $tmp/in
5.23199 - mv $tmp/out $tmp/in
5.23200 -' >>$CONFIG_STATUS
5.23201 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5.23202 - rm -f conftest.defines
5.23203 - mv conftest.tail conftest.defines
5.23204 -done
5.23205 -rm -f conftest.defines
5.23206 -echo ' fi # grep' >>$CONFIG_STATUS
5.23207 -echo >>$CONFIG_STATUS
5.23208 -
5.23209 -# Break up conftest.undefs because some shells have a limit on the size
5.23210 -# of here documents, and old seds have small limits too (100 cmds).
5.23211 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5.23212 -rm -f conftest.tail
5.23213 -while grep . conftest.undefs >/dev/null
5.23214 -do
5.23215 - # Write a limited-size here document to $tmp/undefs.sed.
5.23216 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5.23217 - # Speed up: don't consider the non `#undef'
5.23218 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5.23219 - # Work around the forget-to-reset-the-flag bug.
5.23220 - echo 't clr' >>$CONFIG_STATUS
5.23221 - echo ': clr' >>$CONFIG_STATUS
5.23222 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5.23223 - echo 'CEOF
5.23224 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5.23225 - rm -f $tmp/in
5.23226 - mv $tmp/out $tmp/in
5.23227 -' >>$CONFIG_STATUS
5.23228 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5.23229 - rm -f conftest.undefs
5.23230 - mv conftest.tail conftest.undefs
5.23231 -done
5.23232 -rm -f conftest.undefs
5.23233 -
5.23234 -cat >>$CONFIG_STATUS <<\_ACEOF
5.23235 - # Let's still pretend it is `configure' which instantiates (i.e., don't
5.23236 - # use $as_me), people would be surprised to read:
5.23237 - # /* config.h. Generated by config.status. */
5.23238 - if test x"$ac_file" = x-; then
5.23239 - echo "/* Generated by configure. */" >$tmp/config.h
5.23240 - else
5.23241 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5.23242 - fi
5.23243 - cat $tmp/in >>$tmp/config.h
5.23244 - rm -f $tmp/in
5.23245 - if test x"$ac_file" != x-; then
5.23246 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5.23247 - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5.23248 -echo "$as_me: $ac_file is unchanged" >&6;}
5.23249 - else
5.23250 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5.23251 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5.23252 - X"$ac_file" : 'X\(//\)[^/]' \| \
5.23253 - X"$ac_file" : 'X\(//\)$' \| \
5.23254 - X"$ac_file" : 'X\(/\)' \| \
5.23255 - . : '\(.\)' 2>/dev/null ||
5.23256 -echo X"$ac_file" |
5.23257 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5.23258 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5.23259 - /^X\(\/\/\)$/{ s//\1/; q; }
5.23260 - /^X\(\/\).*/{ s//\1/; q; }
5.23261 - s/.*/./; q'`
5.23262 - { if $as_mkdir_p; then
5.23263 - mkdir -p "$ac_dir"
5.23264 - else
5.23265 - as_dir="$ac_dir"
5.23266 - as_dirs=
5.23267 - while test ! -d "$as_dir"; do
5.23268 - as_dirs="$as_dir $as_dirs"
5.23269 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
5.23270 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5.23271 - X"$as_dir" : 'X\(//\)[^/]' \| \
5.23272 - X"$as_dir" : 'X\(//\)$' \| \
5.23273 - X"$as_dir" : 'X\(/\)' \| \
5.23274 - . : '\(.\)' 2>/dev/null ||
5.23275 -echo X"$as_dir" |
5.23276 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5.23277 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5.23278 - /^X\(\/\/\)$/{ s//\1/; q; }
5.23279 - /^X\(\/\).*/{ s//\1/; q; }
5.23280 - s/.*/./; q'`
5.23281 - done
5.23282 - test ! -n "$as_dirs" || mkdir $as_dirs
5.23283 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5.23284 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5.23285 - { (exit 1); exit 1; }; }; }
5.23286 -
5.23287 - rm -f $ac_file
5.23288 - mv $tmp/config.h $ac_file
5.23289 - fi
5.23290 - else
5.23291 - cat $tmp/config.h
5.23292 - rm -f $tmp/config.h
5.23293 - fi
5.23294 -# Compute $ac_file's index in $config_headers.
5.23295 -_am_stamp_count=1
5.23296 -for _am_header in $config_headers :; do
5.23297 - case $_am_header in
5.23298 - $ac_file | $ac_file:* )
5.23299 - break ;;
5.23300 - * )
5.23301 - _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5.23302 - esac
5.23303 -done
5.23304 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5.23305 -$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5.23306 - X$ac_file : 'X\(//\)[^/]' \| \
5.23307 - X$ac_file : 'X\(//\)$' \| \
5.23308 - X$ac_file : 'X\(/\)' \| \
5.23309 - . : '\(.\)' 2>/dev/null ||
5.23310 -echo X$ac_file |
5.23311 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5.23312 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5.23313 - /^X\(\/\/\)$/{ s//\1/; q; }
5.23314 - /^X\(\/\).*/{ s//\1/; q; }
5.23315 - s/.*/./; q'`/stamp-h$_am_stamp_count
5.23316 -done
5.23317 -_ACEOF
5.23318 -cat >>$CONFIG_STATUS <<\_ACEOF
5.23319 -
5.23320 -#
5.23321 -# CONFIG_COMMANDS section.
5.23322 -#
5.23323 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5.23324 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5.23325 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5.23326 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5.23327 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5.23328 - X"$ac_dest" : 'X\(//\)[^/]' \| \
5.23329 - X"$ac_dest" : 'X\(//\)$' \| \
5.23330 - X"$ac_dest" : 'X\(/\)' \| \
5.23331 - . : '\(.\)' 2>/dev/null ||
5.23332 -echo X"$ac_dest" |
5.23333 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5.23334 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5.23335 - /^X\(\/\/\)$/{ s//\1/; q; }
5.23336 - /^X\(\/\).*/{ s//\1/; q; }
5.23337 - s/.*/./; q'`
5.23338 - { if $as_mkdir_p; then
5.23339 - mkdir -p "$ac_dir"
5.23340 - else
5.23341 - as_dir="$ac_dir"
5.23342 - as_dirs=
5.23343 - while test ! -d "$as_dir"; do
5.23344 - as_dirs="$as_dir $as_dirs"
5.23345 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
5.23346 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5.23347 - X"$as_dir" : 'X\(//\)[^/]' \| \
5.23348 - X"$as_dir" : 'X\(//\)$' \| \
5.23349 - X"$as_dir" : 'X\(/\)' \| \
5.23350 - . : '\(.\)' 2>/dev/null ||
5.23351 -echo X"$as_dir" |
5.23352 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5.23353 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5.23354 - /^X\(\/\/\)$/{ s//\1/; q; }
5.23355 - /^X\(\/\).*/{ s//\1/; q; }
5.23356 - s/.*/./; q'`
5.23357 - done
5.23358 - test ! -n "$as_dirs" || mkdir $as_dirs
5.23359 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5.23360 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5.23361 - { (exit 1); exit 1; }; }; }
5.23362 -
5.23363 - ac_builddir=.
5.23364 -
5.23365 -if test "$ac_dir" != .; then
5.23366 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5.23367 - # A "../" for each directory in $ac_dir_suffix.
5.23368 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5.23369 -else
5.23370 - ac_dir_suffix= ac_top_builddir=
5.23371 -fi
5.23372 -
5.23373 -case $srcdir in
5.23374 - .) # No --srcdir option. We are building in place.
5.23375 - ac_srcdir=.
5.23376 - if test -z "$ac_top_builddir"; then
5.23377 - ac_top_srcdir=.
5.23378 - else
5.23379 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5.23380 - fi ;;
5.23381 - [\\/]* | ?:[\\/]* ) # Absolute path.
5.23382 - ac_srcdir=$srcdir$ac_dir_suffix;
5.23383 - ac_top_srcdir=$srcdir ;;
5.23384 - *) # Relative path.
5.23385 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5.23386 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
5.23387 -esac
5.23388 -
5.23389 -# Do not use `cd foo && pwd` to compute absolute paths, because
5.23390 -# the directories may not exist.
5.23391 -case `pwd` in
5.23392 -.) ac_abs_builddir="$ac_dir";;
5.23393 -*)
5.23394 - case "$ac_dir" in
5.23395 - .) ac_abs_builddir=`pwd`;;
5.23396 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5.23397 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
5.23398 - esac;;
5.23399 -esac
5.23400 -case $ac_abs_builddir in
5.23401 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
5.23402 -*)
5.23403 - case ${ac_top_builddir}. in
5.23404 - .) ac_abs_top_builddir=$ac_abs_builddir;;
5.23405 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5.23406 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5.23407 - esac;;
5.23408 -esac
5.23409 -case $ac_abs_builddir in
5.23410 -.) ac_abs_srcdir=$ac_srcdir;;
5.23411 -*)
5.23412 - case $ac_srcdir in
5.23413 - .) ac_abs_srcdir=$ac_abs_builddir;;
5.23414 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5.23415 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5.23416 - esac;;
5.23417 -esac
5.23418 -case $ac_abs_builddir in
5.23419 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
5.23420 -*)
5.23421 - case $ac_top_srcdir in
5.23422 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
5.23423 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5.23424 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5.23425 - esac;;
5.23426 -esac
5.23427 -
5.23428 -
5.23429 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5.23430 -echo "$as_me: executing $ac_dest commands" >&6;}
5.23431 - case $ac_dest in
5.23432 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5.23433 - # Strip MF so we end up with the name of the file.
5.23434 - mf=`echo "$mf" | sed -e 's/:.*$//'`
5.23435 - # Check whether this is an Automake generated Makefile or not.
5.23436 - # We used to match only the files named `Makefile.in', but
5.23437 - # some people rename them; so instead we look at the file content.
5.23438 - # Grep'ing the first line is not enough: some people post-process
5.23439 - # each Makefile.in and add a new line on top of each file to say so.
5.23440 - # So let's grep whole file.
5.23441 - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5.23442 - dirpart=`(dirname "$mf") 2>/dev/null ||
5.23443 -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5.23444 - X"$mf" : 'X\(//\)[^/]' \| \
5.23445 - X"$mf" : 'X\(//\)$' \| \
5.23446 - X"$mf" : 'X\(/\)' \| \
5.23447 - . : '\(.\)' 2>/dev/null ||
5.23448 -echo X"$mf" |
5.23449 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5.23450 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5.23451 - /^X\(\/\/\)$/{ s//\1/; q; }
5.23452 - /^X\(\/\).*/{ s//\1/; q; }
5.23453 - s/.*/./; q'`
5.23454 - else
5.23455 - continue
5.23456 - fi
5.23457 - grep '^DEP_FILES *= *[^ @%:@]' < "$mf" > /dev/null || continue
5.23458 - # Extract the definition of DEP_FILES from the Makefile without
5.23459 - # running `make'.
5.23460 - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5.23461 - test -z "$DEPDIR" && continue
5.23462 - # When using ansi2knr, U may be empty or an underscore; expand it
5.23463 - U=`sed -n 's/^U = //p' < "$mf"`
5.23464 - test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5.23465 - # We invoke sed twice because it is the simplest approach to
5.23466 - # changing $(DEPDIR) to its actual value in the expansion.
5.23467 - for file in `sed -n '
5.23468 - /^DEP_FILES = .*\\\\$/ {
5.23469 - s/^DEP_FILES = //
5.23470 - :loop
5.23471 - s/\\\\$//
5.23472 - p
5.23473 - n
5.23474 - /\\\\$/ b loop
5.23475 - p
5.23476 - }
5.23477 - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5.23478 - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5.23479 - # Make sure the directory exists.
5.23480 - test -f "$dirpart/$file" && continue
5.23481 - fdir=`(dirname "$file") 2>/dev/null ||
5.23482 -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5.23483 - X"$file" : 'X\(//\)[^/]' \| \
5.23484 - X"$file" : 'X\(//\)$' \| \
5.23485 - X"$file" : 'X\(/\)' \| \
5.23486 - . : '\(.\)' 2>/dev/null ||
5.23487 -echo X"$file" |
5.23488 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5.23489 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5.23490 - /^X\(\/\/\)$/{ s//\1/; q; }
5.23491 - /^X\(\/\).*/{ s//\1/; q; }
5.23492 - s/.*/./; q'`
5.23493 - { if $as_mkdir_p; then
5.23494 - mkdir -p $dirpart/$fdir
5.23495 - else
5.23496 - as_dir=$dirpart/$fdir
5.23497 - as_dirs=
5.23498 - while test ! -d "$as_dir"; do
5.23499 - as_dirs="$as_dir $as_dirs"
5.23500 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
5.23501 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5.23502 - X"$as_dir" : 'X\(//\)[^/]' \| \
5.23503 - X"$as_dir" : 'X\(//\)$' \| \
5.23504 - X"$as_dir" : 'X\(/\)' \| \
5.23505 - . : '\(.\)' 2>/dev/null ||
5.23506 -echo X"$as_dir" |
5.23507 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5.23508 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5.23509 - /^X\(\/\/\)$/{ s//\1/; q; }
5.23510 - /^X\(\/\).*/{ s//\1/; q; }
5.23511 - s/.*/./; q'`
5.23512 - done
5.23513 - test ! -n "$as_dirs" || mkdir $as_dirs
5.23514 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5.23515 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5.23516 - { (exit 1); exit 1; }; }; }
5.23517 -
5.23518 - # echo "creating $dirpart/$file"
5.23519 - echo '# dummy' > "$dirpart/$file"
5.23520 - done
5.23521 -done
5.23522 - ;;
5.23523 - esac
5.23524 -done
5.23525 -_ACEOF
5.23526 -
5.23527 -cat >>$CONFIG_STATUS <<\_ACEOF
5.23528 -
5.23529 -{ (exit 0); exit 0; }
5.23530 -_ACEOF
5.23531 -chmod +x $CONFIG_STATUS
5.23532 -ac_clean_files=$ac_clean_files_save
5.23533 -
5.23534 -
5.23535 -# configure is writing to config.log, and then calls config.status.
5.23536 -# config.status does its own redirection, appending to config.log.
5.23537 -# Unfortunately, on DOS this fails, as config.log is still kept open
5.23538 -# by configure, so config.status won't be able to write to it; its
5.23539 -# output is simply discarded. So we exec the FD to /dev/null,
5.23540 -# effectively closing config.log, so it can be properly (re)opened and
5.23541 -# appended to by config.status. When coming back to configure, we
5.23542 -# need to make the FD available again.
5.23543 -if test "$no_create" != yes; then
5.23544 - ac_cs_success=:
5.23545 - ac_config_status_args=
5.23546 - test "$silent" = yes &&
5.23547 - ac_config_status_args="$ac_config_status_args --quiet"
5.23548 - exec 5>/dev/null
5.23549 - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5.23550 - exec 5>>config.log
5.23551 - # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5.23552 - # would make configure fail if this is the last instruction.
5.23553 - $ac_cs_success || { (exit 1); exit 1; }
5.23554 -fi
5.23555 -
5.23556 -
6.1 --- a/gst-plugins-nuvdemux/autom4te.cache/output.1 Thu Oct 26 18:55:14 2006 +0100
6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
6.3 @@ -1,23595 +0,0 @@
6.4 -@%:@! /bin/sh
6.5 -@%:@ Guess values for system-dependent variables and create Makefiles.
6.6 -@%:@ Generated by GNU Autoconf 2.59.
6.7 -@%:@
6.8 -@%:@ Copyright (C) 2003 Free Software Foundation, Inc.
6.9 -@%:@ This configure script is free software; the Free Software Foundation
6.10 -@%:@ gives unlimited permission to copy, distribute and modify it.
6.11 -## --------------------- ##
6.12 -## M4sh Initialization. ##
6.13 -## --------------------- ##
6.14 -
6.15 -# Be Bourne compatible
6.16 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6.17 - emulate sh
6.18 - NULLCMD=:
6.19 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6.20 - # is contrary to our usage. Disable this feature.
6.21 - alias -g '${1+"$@"}'='"$@"'
6.22 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6.23 - set -o posix
6.24 -fi
6.25 -DUALCASE=1; export DUALCASE # for MKS sh
6.26 -
6.27 -# Support unset when possible.
6.28 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6.29 - as_unset=unset
6.30 -else
6.31 - as_unset=false
6.32 -fi
6.33 -
6.34 -
6.35 -# Work around bugs in pre-3.0 UWIN ksh.
6.36 -$as_unset ENV MAIL MAILPATH
6.37 -PS1='$ '
6.38 -PS2='> '
6.39 -PS4='+ '
6.40 -
6.41 -# NLS nuisances.
6.42 -for as_var in \
6.43 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6.44 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6.45 - LC_TELEPHONE LC_TIME
6.46 -do
6.47 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6.48 - eval $as_var=C; export $as_var
6.49 - else
6.50 - $as_unset $as_var
6.51 - fi
6.52 -done
6.53 -
6.54 -# Required to use basename.
6.55 -if expr a : '\(a\)' >/dev/null 2>&1; then
6.56 - as_expr=expr
6.57 -else
6.58 - as_expr=false
6.59 -fi
6.60 -
6.61 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6.62 - as_basename=basename
6.63 -else
6.64 - as_basename=false
6.65 -fi
6.66 -
6.67 -
6.68 -# Name of the executable.
6.69 -as_me=`$as_basename "$0" ||
6.70 -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6.71 - X"$0" : 'X\(//\)$' \| \
6.72 - X"$0" : 'X\(/\)$' \| \
6.73 - . : '\(.\)' 2>/dev/null ||
6.74 -echo X/"$0" |
6.75 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6.76 - /^X\/\(\/\/\)$/{ s//\1/; q; }
6.77 - /^X\/\(\/\).*/{ s//\1/; q; }
6.78 - s/.*/./; q'`
6.79 -
6.80 -
6.81 -# PATH needs CR, and LINENO needs CR and PATH.
6.82 -# Avoid depending upon Character Ranges.
6.83 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6.84 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6.85 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6.86 -as_cr_digits='0123456789'
6.87 -as_cr_alnum=$as_cr_Letters$as_cr_digits
6.88 -
6.89 -# The user is always right.
6.90 -if test "${PATH_SEPARATOR+set}" != set; then
6.91 - echo "#! /bin/sh" >conf$$.sh
6.92 - echo "exit 0" >>conf$$.sh
6.93 - chmod +x conf$$.sh
6.94 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6.95 - PATH_SEPARATOR=';'
6.96 - else
6.97 - PATH_SEPARATOR=:
6.98 - fi
6.99 - rm -f conf$$.sh
6.100 -fi
6.101 -
6.102 -
6.103 - as_lineno_1=$LINENO
6.104 - as_lineno_2=$LINENO
6.105 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6.106 - test "x$as_lineno_1" != "x$as_lineno_2" &&
6.107 - test "x$as_lineno_3" = "x$as_lineno_2" || {
6.108 - # Find who we are. Look in the path if we contain no path at all
6.109 - # relative or not.
6.110 - case $0 in
6.111 - *[\\/]* ) as_myself=$0 ;;
6.112 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.113 -for as_dir in $PATH
6.114 -do
6.115 - IFS=$as_save_IFS
6.116 - test -z "$as_dir" && as_dir=.
6.117 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6.118 -done
6.119 -
6.120 - ;;
6.121 - esac
6.122 - # We did not find ourselves, most probably we were run as `sh COMMAND'
6.123 - # in which case we are not to be found in the path.
6.124 - if test "x$as_myself" = x; then
6.125 - as_myself=$0
6.126 - fi
6.127 - if test ! -f "$as_myself"; then
6.128 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
6.129 - { (exit 1); exit 1; }; }
6.130 - fi
6.131 - case $CONFIG_SHELL in
6.132 - '')
6.133 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.134 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6.135 -do
6.136 - IFS=$as_save_IFS
6.137 - test -z "$as_dir" && as_dir=.
6.138 - for as_base in sh bash ksh sh5; do
6.139 - case $as_dir in
6.140 - /*)
6.141 - if ("$as_dir/$as_base" -c '
6.142 - as_lineno_1=$LINENO
6.143 - as_lineno_2=$LINENO
6.144 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6.145 - test "x$as_lineno_1" != "x$as_lineno_2" &&
6.146 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6.147 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6.148 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6.149 - CONFIG_SHELL=$as_dir/$as_base
6.150 - export CONFIG_SHELL
6.151 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6.152 - fi;;
6.153 - esac
6.154 - done
6.155 -done
6.156 -;;
6.157 - esac
6.158 -
6.159 - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6.160 - # uniformly replaced by the line number. The first 'sed' inserts a
6.161 - # line-number line before each line; the second 'sed' does the real
6.162 - # work. The second script uses 'N' to pair each line-number line
6.163 - # with the numbered line, and appends trailing '-' during
6.164 - # substitution so that $LINENO is not a special case at line end.
6.165 - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6.166 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6.167 - sed '=' <$as_myself |
6.168 - sed '
6.169 - N
6.170 - s,$,-,
6.171 - : loop
6.172 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6.173 - t loop
6.174 - s,-$,,
6.175 - s,^['$as_cr_digits']*\n,,
6.176 - ' >$as_me.lineno &&
6.177 - chmod +x $as_me.lineno ||
6.178 - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6.179 - { (exit 1); exit 1; }; }
6.180 -
6.181 - # Don't try to exec as it changes $[0], causing all sort of problems
6.182 - # (the dirname of $[0] is not the place where we might find the
6.183 - # original and so on. Autoconf is especially sensible to this).
6.184 - . ./$as_me.lineno
6.185 - # Exit status is that of the last command.
6.186 - exit
6.187 -}
6.188 -
6.189 -
6.190 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6.191 - *c*,-n*) ECHO_N= ECHO_C='
6.192 -' ECHO_T=' ' ;;
6.193 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6.194 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6.195 -esac
6.196 -
6.197 -if expr a : '\(a\)' >/dev/null 2>&1; then
6.198 - as_expr=expr
6.199 -else
6.200 - as_expr=false
6.201 -fi
6.202 -
6.203 -rm -f conf$$ conf$$.exe conf$$.file
6.204 -echo >conf$$.file
6.205 -if ln -s conf$$.file conf$$ 2>/dev/null; then
6.206 - # We could just check for DJGPP; but this test a) works b) is more generic
6.207 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6.208 - if test -f conf$$.exe; then
6.209 - # Don't use ln at all; we don't have any links
6.210 - as_ln_s='cp -p'
6.211 - else
6.212 - as_ln_s='ln -s'
6.213 - fi
6.214 -elif ln conf$$.file conf$$ 2>/dev/null; then
6.215 - as_ln_s=ln
6.216 -else
6.217 - as_ln_s='cp -p'
6.218 -fi
6.219 -rm -f conf$$ conf$$.exe conf$$.file
6.220 -
6.221 -if mkdir -p . 2>/dev/null; then
6.222 - as_mkdir_p=:
6.223 -else
6.224 - test -d ./-p && rmdir ./-p
6.225 - as_mkdir_p=false
6.226 -fi
6.227 -
6.228 -as_executable_p="test -f"
6.229 -
6.230 -# Sed expression to map a string onto a valid CPP name.
6.231 -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6.232 -
6.233 -# Sed expression to map a string onto a valid variable name.
6.234 -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6.235 -
6.236 -
6.237 -# IFS
6.238 -# We need space, tab and new line, in precisely that order.
6.239 -as_nl='
6.240 -'
6.241 -IFS=" $as_nl"
6.242 -
6.243 -# CDPATH.
6.244 -$as_unset CDPATH
6.245 -
6.246 -
6.247 -
6.248 -# Check that we are running under the correct shell.
6.249 -SHELL=${CONFIG_SHELL-/bin/sh}
6.250 -
6.251 -case X$ECHO in
6.252 -X*--fallback-echo)
6.253 - # Remove one level of quotation (which was required for Make).
6.254 - ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
6.255 - ;;
6.256 -esac
6.257 -
6.258 -echo=${ECHO-echo}
6.259 -if test "X$1" = X--no-reexec; then
6.260 - # Discard the --no-reexec flag, and continue.
6.261 - shift
6.262 -elif test "X$1" = X--fallback-echo; then
6.263 - # Avoid inline document here, it may be left over
6.264 - :
6.265 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
6.266 - # Yippee, $echo works!
6.267 - :
6.268 -else
6.269 - # Restart under the correct shell.
6.270 - exec $SHELL "$0" --no-reexec ${1+"$@"}
6.271 -fi
6.272 -
6.273 -if test "X$1" = X--fallback-echo; then
6.274 - # used as fallback echo
6.275 - shift
6.276 - cat <<EOF
6.277 -$*
6.278 -EOF
6.279 - exit 0
6.280 -fi
6.281 -
6.282 -# The HP-UX ksh and POSIX shell print the target directory to stdout
6.283 -# if CDPATH is set.
6.284 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6.285 -
6.286 -if test -z "$ECHO"; then
6.287 -if test "X${echo_test_string+set}" != Xset; then
6.288 -# find a string as large as possible, as long as the shell can cope with it
6.289 - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
6.290 - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
6.291 - if (echo_test_string=`eval $cmd`) 2>/dev/null &&
6.292 - echo_test_string=`eval $cmd` &&
6.293 - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
6.294 - then
6.295 - break
6.296 - fi
6.297 - done
6.298 -fi
6.299 -
6.300 -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
6.301 - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
6.302 - test "X$echo_testing_string" = "X$echo_test_string"; then
6.303 - :
6.304 -else
6.305 - # The Solaris, AIX, and Digital Unix default echo programs unquote
6.306 - # backslashes. This makes it impossible to quote backslashes using
6.307 - # echo "$something" | sed 's/\\/\\\\/g'
6.308 - #
6.309 - # So, first we look for a working echo in the user's PATH.
6.310 -
6.311 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6.312 - for dir in $PATH /usr/ucb; do
6.313 - IFS="$lt_save_ifs"
6.314 - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
6.315 - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
6.316 - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
6.317 - test "X$echo_testing_string" = "X$echo_test_string"; then
6.318 - echo="$dir/echo"
6.319 - break
6.320 - fi
6.321 - done
6.322 - IFS="$lt_save_ifs"
6.323 -
6.324 - if test "X$echo" = Xecho; then
6.325 - # We didn't find a better echo, so look for alternatives.
6.326 - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
6.327 - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
6.328 - test "X$echo_testing_string" = "X$echo_test_string"; then
6.329 - # This shell has a builtin print -r that does the trick.
6.330 - echo='print -r'
6.331 - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
6.332 - test "X$CONFIG_SHELL" != X/bin/ksh; then
6.333 - # If we have ksh, try running configure again with it.
6.334 - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6.335 - export ORIGINAL_CONFIG_SHELL
6.336 - CONFIG_SHELL=/bin/ksh
6.337 - export CONFIG_SHELL
6.338 - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
6.339 - else
6.340 - # Try using printf.
6.341 - echo='printf %s\n'
6.342 - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
6.343 - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
6.344 - test "X$echo_testing_string" = "X$echo_test_string"; then
6.345 - # Cool, printf works
6.346 - :
6.347 - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
6.348 - test "X$echo_testing_string" = 'X\t' &&
6.349 - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
6.350 - test "X$echo_testing_string" = "X$echo_test_string"; then
6.351 - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
6.352 - export CONFIG_SHELL
6.353 - SHELL="$CONFIG_SHELL"
6.354 - export SHELL
6.355 - echo="$CONFIG_SHELL $0 --fallback-echo"
6.356 - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
6.357 - test "X$echo_testing_string" = 'X\t' &&
6.358 - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
6.359 - test "X$echo_testing_string" = "X$echo_test_string"; then
6.360 - echo="$CONFIG_SHELL $0 --fallback-echo"
6.361 - else
6.362 - # maybe with a smaller string...
6.363 - prev=:
6.364 -
6.365 - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
6.366 - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
6.367 - then
6.368 - break
6.369 - fi
6.370 - prev="$cmd"
6.371 - done
6.372 -
6.373 - if test "$prev" != 'sed 50q "$0"'; then
6.374 - echo_test_string=`eval $prev`
6.375 - export echo_test_string
6.376 - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
6.377 - else
6.378 - # Oops. We lost completely, so just stick with echo.
6.379 - echo=echo
6.380 - fi
6.381 - fi
6.382 - fi
6.383 - fi
6.384 -fi
6.385 -fi
6.386 -
6.387 -# Copy echo and quote the copy suitably for passing to libtool from
6.388 -# the Makefile, instead of quoting the original, which is used later.
6.389 -ECHO=$echo
6.390 -if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
6.391 - ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
6.392 -fi
6.393 -
6.394 -
6.395 -
6.396 -
6.397 -tagnames=${tagnames+${tagnames},}CXX
6.398 -
6.399 -tagnames=${tagnames+${tagnames},}F77
6.400 -
6.401 -# Name of the host.
6.402 -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
6.403 -# so uname gets run too.
6.404 -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
6.405 -
6.406 -exec 6>&1
6.407 -
6.408 -#
6.409 -# Initializations.
6.410 -#
6.411 -ac_default_prefix=/usr/local
6.412 -ac_config_libobj_dir=.
6.413 -cross_compiling=no
6.414 -subdirs=
6.415 -MFLAGS=
6.416 -MAKEFLAGS=
6.417 -SHELL=${CONFIG_SHELL-/bin/sh}
6.418 -
6.419 -# Maximum number of lines to put in a shell here document.
6.420 -# This variable seems obsolete. It should probably be removed, and
6.421 -# only ac_max_sed_lines should be used.
6.422 -: ${ac_max_here_lines=38}
6.423 -
6.424 -# Identity of this package.
6.425 -PACKAGE_NAME=
6.426 -PACKAGE_TARNAME=
6.427 -PACKAGE_VERSION=
6.428 -PACKAGE_STRING=
6.429 -PACKAGE_BUGREPORT=
6.430 -
6.431 -# Factoring default headers for most tests.
6.432 -ac_includes_default="\
6.433 -#include <stdio.h>
6.434 -#if HAVE_SYS_TYPES_H
6.435 -# include <sys/types.h>
6.436 -#endif
6.437 -#if HAVE_SYS_STAT_H
6.438 -# include <sys/stat.h>
6.439 -#endif
6.440 -#if STDC_HEADERS
6.441 -# include <stdlib.h>
6.442 -# include <stddef.h>
6.443 -#else
6.444 -# if HAVE_STDLIB_H
6.445 -# include <stdlib.h>
6.446 -# endif
6.447 -#endif
6.448 -#if HAVE_STRING_H
6.449 -# if !STDC_HEADERS && HAVE_MEMORY_H
6.450 -# include <memory.h>
6.451 -# endif
6.452 -# include <string.h>
6.453 -#endif
6.454 -#if HAVE_STRINGS_H
6.455 -# include <strings.h>
6.456 -#endif
6.457 -#if HAVE_INTTYPES_H
6.458 -# include <inttypes.h>
6.459 -#else
6.460 -# if HAVE_STDINT_H
6.461 -# include <stdint.h>
6.462 -# endif
6.463 -#endif
6.464 -#if HAVE_UNISTD_H
6.465 -# include <unistd.h>
6.466 -#endif"
6.467 -
6.468 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GST_PLUGINS_VERSION GST_PLUGINS_VERSION_RELEASE GST_PLUGINS_VERSION_MAJOR GST_PLUGINS_VERSION_MINOR GST_PLUGINS_VERSION_MICRO GST_PLUGINS_VERSION_NANO PACKAGE VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ACLOCAL_AMFLAGS CCAS CCASFLAGS ERROR_CFLAGS HAVE_CXX HAVE_PKGCONFIG PKG_CONFIG GST_CFLAGS GST_LIBS GST_MAJORMINOR GST_BASE_CFLAGS GST_BASE_LIBS GST_PLUGINS_BASE_CFLAGS GST_PLUGINS_BASE_LIBS plugindir GST_PLUGIN_LDFLAGS LIB@&t@OBJS LTLIBOBJS'
6.469 -ac_subst_files=''
6.470 -
6.471 -# Initialize some variables set by options.
6.472 -ac_init_help=
6.473 -ac_init_version=false
6.474 -# The variables have the same names as the options, with
6.475 -# dashes changed to underlines.
6.476 -cache_file=/dev/null
6.477 -exec_prefix=NONE
6.478 -no_create=
6.479 -no_recursion=
6.480 -prefix=NONE
6.481 -program_prefix=NONE
6.482 -program_suffix=NONE
6.483 -program_transform_name=s,x,x,
6.484 -silent=
6.485 -site=
6.486 -srcdir=
6.487 -verbose=
6.488 -x_includes=NONE
6.489 -x_libraries=NONE
6.490 -
6.491 -# Installation directory options.
6.492 -# These are left unexpanded so users can "make install exec_prefix=/foo"
6.493 -# and all the variables that are supposed to be based on exec_prefix
6.494 -# by default will actually change.
6.495 -# Use braces instead of parens because sh, perl, etc. also accept them.
6.496 -bindir='${exec_prefix}/bin'
6.497 -sbindir='${exec_prefix}/sbin'
6.498 -libexecdir='${exec_prefix}/libexec'
6.499 -datadir='${prefix}/share'
6.500 -sysconfdir='${prefix}/etc'
6.501 -sharedstatedir='${prefix}/com'
6.502 -localstatedir='${prefix}/var'
6.503 -libdir='${exec_prefix}/lib'
6.504 -includedir='${prefix}/include'
6.505 -oldincludedir='/usr/include'
6.506 -infodir='${prefix}/info'
6.507 -mandir='${prefix}/man'
6.508 -
6.509 -ac_prev=
6.510 -for ac_option
6.511 -do
6.512 - # If the previous option needs an argument, assign it.
6.513 - if test -n "$ac_prev"; then
6.514 - eval "$ac_prev=\$ac_option"
6.515 - ac_prev=
6.516 - continue
6.517 - fi
6.518 -
6.519 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
6.520 -
6.521 - # Accept the important Cygnus configure options, so we can diagnose typos.
6.522 -
6.523 - case $ac_option in
6.524 -
6.525 - -bindir | --bindir | --bindi | --bind | --bin | --bi)
6.526 - ac_prev=bindir ;;
6.527 - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
6.528 - bindir=$ac_optarg ;;
6.529 -
6.530 - -build | --build | --buil | --bui | --bu)
6.531 - ac_prev=build_alias ;;
6.532 - -build=* | --build=* | --buil=* | --bui=* | --bu=*)
6.533 - build_alias=$ac_optarg ;;
6.534 -
6.535 - -cache-file | --cache-file | --cache-fil | --cache-fi \
6.536 - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6.537 - ac_prev=cache_file ;;
6.538 - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6.539 - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
6.540 - cache_file=$ac_optarg ;;
6.541 -
6.542 - --config-cache | -C)
6.543 - cache_file=config.cache ;;
6.544 -
6.545 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
6.546 - ac_prev=datadir ;;
6.547 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
6.548 - | --da=*)
6.549 - datadir=$ac_optarg ;;
6.550 -
6.551 - -disable-* | --disable-*)
6.552 - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
6.553 - # Reject names that are not valid shell variable names.
6.554 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6.555 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
6.556 - { (exit 1); exit 1; }; }
6.557 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
6.558 - eval "enable_$ac_feature=no" ;;
6.559 -
6.560 - -enable-* | --enable-*)
6.561 - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
6.562 - # Reject names that are not valid shell variable names.
6.563 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6.564 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
6.565 - { (exit 1); exit 1; }; }
6.566 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
6.567 - case $ac_option in
6.568 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
6.569 - *) ac_optarg=yes ;;
6.570 - esac
6.571 - eval "enable_$ac_feature='$ac_optarg'" ;;
6.572 -
6.573 - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
6.574 - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
6.575 - | --exec | --exe | --ex)
6.576 - ac_prev=exec_prefix ;;
6.577 - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
6.578 - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
6.579 - | --exec=* | --exe=* | --ex=*)
6.580 - exec_prefix=$ac_optarg ;;
6.581 -
6.582 - -gas | --gas | --ga | --g)
6.583 - # Obsolete; use --with-gas.
6.584 - with_gas=yes ;;
6.585 -
6.586 - -help | --help | --hel | --he | -h)
6.587 - ac_init_help=long ;;
6.588 - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
6.589 - ac_init_help=recursive ;;
6.590 - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
6.591 - ac_init_help=short ;;
6.592 -
6.593 - -host | --host | --hos | --ho)
6.594 - ac_prev=host_alias ;;
6.595 - -host=* | --host=* | --hos=* | --ho=*)
6.596 - host_alias=$ac_optarg ;;
6.597 -
6.598 - -includedir | --includedir | --includedi | --included | --include \
6.599 - | --includ | --inclu | --incl | --inc)
6.600 - ac_prev=includedir ;;
6.601 - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
6.602 - | --includ=* | --inclu=* | --incl=* | --inc=*)
6.603 - includedir=$ac_optarg ;;
6.604 -
6.605 - -infodir | --infodir | --infodi | --infod | --info | --inf)
6.606 - ac_prev=infodir ;;
6.607 - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
6.608 - infodir=$ac_optarg ;;
6.609 -
6.610 - -libdir | --libdir | --libdi | --libd)
6.611 - ac_prev=libdir ;;
6.612 - -libdir=* | --libdir=* | --libdi=* | --libd=*)
6.613 - libdir=$ac_optarg ;;
6.614 -
6.615 - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
6.616 - | --libexe | --libex | --libe)
6.617 - ac_prev=libexecdir ;;
6.618 - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
6.619 - | --libexe=* | --libex=* | --libe=*)
6.620 - libexecdir=$ac_optarg ;;
6.621 -
6.622 - -localstatedir | --localstatedir | --localstatedi | --localstated \
6.623 - | --localstate | --localstat | --localsta | --localst \
6.624 - | --locals | --local | --loca | --loc | --lo)
6.625 - ac_prev=localstatedir ;;
6.626 - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
6.627 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
6.628 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
6.629 - localstatedir=$ac_optarg ;;
6.630 -
6.631 - -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
6.632 - ac_prev=mandir ;;
6.633 - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
6.634 - mandir=$ac_optarg ;;
6.635 -
6.636 - -nfp | --nfp | --nf)
6.637 - # Obsolete; use --without-fp.
6.638 - with_fp=no ;;
6.639 -
6.640 - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
6.641 - | --no-cr | --no-c | -n)
6.642 - no_create=yes ;;
6.643 -
6.644 - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
6.645 - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
6.646 - no_recursion=yes ;;
6.647 -
6.648 - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
6.649 - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
6.650 - | --oldin | --oldi | --old | --ol | --o)
6.651 - ac_prev=oldincludedir ;;
6.652 - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
6.653 - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
6.654 - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
6.655 - oldincludedir=$ac_optarg ;;
6.656 -
6.657 - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6.658 - ac_prev=prefix ;;
6.659 - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6.660 - prefix=$ac_optarg ;;
6.661 -
6.662 - -program-prefix | --program-prefix | --program-prefi | --program-pref \
6.663 - | --program-pre | --program-pr | --program-p)
6.664 - ac_prev=program_prefix ;;
6.665 - -program-prefix=* | --program-prefix=* | --program-prefi=* \
6.666 - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
6.667 - program_prefix=$ac_optarg ;;
6.668 -
6.669 - -program-suffix | --program-suffix | --program-suffi | --program-suff \
6.670 - | --program-suf | --program-su | --program-s)
6.671 - ac_prev=program_suffix ;;
6.672 - -program-suffix=* | --program-suffix=* | --program-suffi=* \
6.673 - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
6.674 - program_suffix=$ac_optarg ;;
6.675 -
6.676 - -program-transform-name | --program-transform-name \
6.677 - | --program-transform-nam | --program-transform-na \
6.678 - | --program-transform-n | --program-transform- \
6.679 - | --program-transform | --program-transfor \
6.680 - | --program-transfo | --program-transf \
6.681 - | --program-trans | --program-tran \
6.682 - | --progr-tra | --program-tr | --program-t)
6.683 - ac_prev=program_transform_name ;;
6.684 - -program-transform-name=* | --program-transform-name=* \
6.685 - | --program-transform-nam=* | --program-transform-na=* \
6.686 - | --program-transform-n=* | --program-transform-=* \
6.687 - | --program-transform=* | --program-transfor=* \
6.688 - | --program-transfo=* | --program-transf=* \
6.689 - | --program-trans=* | --program-tran=* \
6.690 - | --progr-tra=* | --program-tr=* | --program-t=*)
6.691 - program_transform_name=$ac_optarg ;;
6.692 -
6.693 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6.694 - | -silent | --silent | --silen | --sile | --sil)
6.695 - silent=yes ;;
6.696 -
6.697 - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
6.698 - ac_prev=sbindir ;;
6.699 - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
6.700 - | --sbi=* | --sb=*)
6.701 - sbindir=$ac_optarg ;;
6.702 -
6.703 - -sharedstatedir | --sharedstatedir | --sharedstatedi \
6.704 - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
6.705 - | --sharedst | --shareds | --shared | --share | --shar \
6.706 - | --sha | --sh)
6.707 - ac_prev=sharedstatedir ;;
6.708 - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
6.709 - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
6.710 - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
6.711 - | --sha=* | --sh=*)
6.712 - sharedstatedir=$ac_optarg ;;
6.713 -
6.714 - -site | --site | --sit)
6.715 - ac_prev=site ;;
6.716 - -site=* | --site=* | --sit=*)
6.717 - site=$ac_optarg ;;
6.718 -
6.719 - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6.720 - ac_prev=srcdir ;;
6.721 - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6.722 - srcdir=$ac_optarg ;;
6.723 -
6.724 - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
6.725 - | --syscon | --sysco | --sysc | --sys | --sy)
6.726 - ac_prev=sysconfdir ;;
6.727 - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
6.728 - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
6.729 - sysconfdir=$ac_optarg ;;
6.730 -
6.731 - -target | --target | --targe | --targ | --tar | --ta | --t)
6.732 - ac_prev=target_alias ;;
6.733 - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
6.734 - target_alias=$ac_optarg ;;
6.735 -
6.736 - -v | -verbose | --verbose | --verbos | --verbo | --verb)
6.737 - verbose=yes ;;
6.738 -
6.739 - -version | --version | --versio | --versi | --vers | -V)
6.740 - ac_init_version=: ;;
6.741 -
6.742 - -with-* | --with-*)
6.743 - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
6.744 - # Reject names that are not valid shell variable names.
6.745 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6.746 - { echo "$as_me: error: invalid package name: $ac_package" >&2
6.747 - { (exit 1); exit 1; }; }
6.748 - ac_package=`echo $ac_package| sed 's/-/_/g'`
6.749 - case $ac_option in
6.750 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
6.751 - *) ac_optarg=yes ;;
6.752 - esac
6.753 - eval "with_$ac_package='$ac_optarg'" ;;
6.754 -
6.755 - -without-* | --without-*)
6.756 - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
6.757 - # Reject names that are not valid shell variable names.
6.758 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6.759 - { echo "$as_me: error: invalid package name: $ac_package" >&2
6.760 - { (exit 1); exit 1; }; }
6.761 - ac_package=`echo $ac_package | sed 's/-/_/g'`
6.762 - eval "with_$ac_package=no" ;;
6.763 -
6.764 - --x)
6.765 - # Obsolete; use --with-x.
6.766 - with_x=yes ;;
6.767 -
6.768 - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
6.769 - | --x-incl | --x-inc | --x-in | --x-i)
6.770 - ac_prev=x_includes ;;
6.771 - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
6.772 - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
6.773 - x_includes=$ac_optarg ;;
6.774 -
6.775 - -x-libraries | --x-libraries | --x-librarie | --x-librari \
6.776 - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
6.777 - ac_prev=x_libraries ;;
6.778 - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
6.779 - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
6.780 - x_libraries=$ac_optarg ;;
6.781 -
6.782 - -*) { echo "$as_me: error: unrecognized option: $ac_option
6.783 -Try \`$0 --help' for more information." >&2
6.784 - { (exit 1); exit 1; }; }
6.785 - ;;
6.786 -
6.787 - *=*)
6.788 - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
6.789 - # Reject names that are not valid shell variable names.
6.790 - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
6.791 - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
6.792 - { (exit 1); exit 1; }; }
6.793 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
6.794 - eval "$ac_envvar='$ac_optarg'"
6.795 - export $ac_envvar ;;
6.796 -
6.797 - *)
6.798 - # FIXME: should be removed in autoconf 3.0.
6.799 - echo "$as_me: WARNING: you should use --build, --host, --target" >&2
6.800 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6.801 - echo "$as_me: WARNING: invalid host type: $ac_option" >&2
6.802 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
6.803 - ;;
6.804 -
6.805 - esac
6.806 -done
6.807 -
6.808 -if test -n "$ac_prev"; then
6.809 - ac_option=--`echo $ac_prev | sed 's/_/-/g'`
6.810 - { echo "$as_me: error: missing argument to $ac_option" >&2
6.811 - { (exit 1); exit 1; }; }
6.812 -fi
6.813 -
6.814 -# Be sure to have absolute paths.
6.815 -for ac_var in exec_prefix prefix
6.816 -do
6.817 - eval ac_val=$`echo $ac_var`
6.818 - case $ac_val in
6.819 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
6.820 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6.821 - { (exit 1); exit 1; }; };;
6.822 - esac
6.823 -done
6.824 -
6.825 -# Be sure to have absolute paths.
6.826 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
6.827 - localstatedir libdir includedir oldincludedir infodir mandir
6.828 -do
6.829 - eval ac_val=$`echo $ac_var`
6.830 - case $ac_val in
6.831 - [\\/$]* | ?:[\\/]* ) ;;
6.832 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6.833 - { (exit 1); exit 1; }; };;
6.834 - esac
6.835 -done
6.836 -
6.837 -# There might be people who depend on the old broken behavior: `$host'
6.838 -# used to hold the argument of --host etc.
6.839 -# FIXME: To remove some day.
6.840 -build=$build_alias
6.841 -host=$host_alias
6.842 -target=$target_alias
6.843 -
6.844 -# FIXME: To remove some day.
6.845 -if test "x$host_alias" != x; then
6.846 - if test "x$build_alias" = x; then
6.847 - cross_compiling=maybe
6.848 - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
6.849 - If a cross compiler is detected then cross compile mode will be used." >&2
6.850 - elif test "x$build_alias" != "x$host_alias"; then
6.851 - cross_compiling=yes
6.852 - fi
6.853 -fi
6.854 -
6.855 -ac_tool_prefix=
6.856 -test -n "$host_alias" && ac_tool_prefix=$host_alias-
6.857 -
6.858 -test "$silent" = yes && exec 6>/dev/null
6.859 -
6.860 -
6.861 -# Find the source files, if location was not specified.
6.862 -if test -z "$srcdir"; then
6.863 - ac_srcdir_defaulted=yes
6.864 - # Try the directory containing this script, then its parent.
6.865 - ac_confdir=`(dirname "$0") 2>/dev/null ||
6.866 -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.867 - X"$0" : 'X\(//\)[^/]' \| \
6.868 - X"$0" : 'X\(//\)$' \| \
6.869 - X"$0" : 'X\(/\)' \| \
6.870 - . : '\(.\)' 2>/dev/null ||
6.871 -echo X"$0" |
6.872 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.873 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.874 - /^X\(\/\/\)$/{ s//\1/; q; }
6.875 - /^X\(\/\).*/{ s//\1/; q; }
6.876 - s/.*/./; q'`
6.877 - srcdir=$ac_confdir
6.878 - if test ! -r $srcdir/$ac_unique_file; then
6.879 - srcdir=..
6.880 - fi
6.881 -else
6.882 - ac_srcdir_defaulted=no
6.883 -fi
6.884 -if test ! -r $srcdir/$ac_unique_file; then
6.885 - if test "$ac_srcdir_defaulted" = yes; then
6.886 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
6.887 - { (exit 1); exit 1; }; }
6.888 - else
6.889 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6.890 - { (exit 1); exit 1; }; }
6.891 - fi
6.892 -fi
6.893 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
6.894 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
6.895 - { (exit 1); exit 1; }; }
6.896 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
6.897 -ac_env_build_alias_set=${build_alias+set}
6.898 -ac_env_build_alias_value=$build_alias
6.899 -ac_cv_env_build_alias_set=${build_alias+set}
6.900 -ac_cv_env_build_alias_value=$build_alias
6.901 -ac_env_host_alias_set=${host_alias+set}
6.902 -ac_env_host_alias_value=$host_alias
6.903 -ac_cv_env_host_alias_set=${host_alias+set}
6.904 -ac_cv_env_host_alias_value=$host_alias
6.905 -ac_env_target_alias_set=${target_alias+set}
6.906 -ac_env_target_alias_value=$target_alias
6.907 -ac_cv_env_target_alias_set=${target_alias+set}
6.908 -ac_cv_env_target_alias_value=$target_alias
6.909 -ac_env_CC_set=${CC+set}
6.910 -ac_env_CC_value=$CC
6.911 -ac_cv_env_CC_set=${CC+set}
6.912 -ac_cv_env_CC_value=$CC
6.913 -ac_env_CFLAGS_set=${CFLAGS+set}
6.914 -ac_env_CFLAGS_value=$CFLAGS
6.915 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
6.916 -ac_cv_env_CFLAGS_value=$CFLAGS
6.917 -ac_env_LDFLAGS_set=${LDFLAGS+set}
6.918 -ac_env_LDFLAGS_value=$LDFLAGS
6.919 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
6.920 -ac_cv_env_LDFLAGS_value=$LDFLAGS
6.921 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
6.922 -ac_env_CPPFLAGS_value=$CPPFLAGS
6.923 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
6.924 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
6.925 -ac_env_CPP_set=${CPP+set}
6.926 -ac_env_CPP_value=$CPP
6.927 -ac_cv_env_CPP_set=${CPP+set}
6.928 -ac_cv_env_CPP_value=$CPP
6.929 -ac_env_CXX_set=${CXX+set}
6.930 -ac_env_CXX_value=$CXX
6.931 -ac_cv_env_CXX_set=${CXX+set}
6.932 -ac_cv_env_CXX_value=$CXX
6.933 -ac_env_CXXFLAGS_set=${CXXFLAGS+set}
6.934 -ac_env_CXXFLAGS_value=$CXXFLAGS
6.935 -ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
6.936 -ac_cv_env_CXXFLAGS_value=$CXXFLAGS
6.937 -ac_env_CXXCPP_set=${CXXCPP+set}
6.938 -ac_env_CXXCPP_value=$CXXCPP
6.939 -ac_cv_env_CXXCPP_set=${CXXCPP+set}
6.940 -ac_cv_env_CXXCPP_value=$CXXCPP
6.941 -ac_env_F77_set=${F77+set}
6.942 -ac_env_F77_value=$F77
6.943 -ac_cv_env_F77_set=${F77+set}
6.944 -ac_cv_env_F77_value=$F77
6.945 -ac_env_FFLAGS_set=${FFLAGS+set}
6.946 -ac_env_FFLAGS_value=$FFLAGS
6.947 -ac_cv_env_FFLAGS_set=${FFLAGS+set}
6.948 -ac_cv_env_FFLAGS_value=$FFLAGS
6.949 -ac_env_CCAS_set=${CCAS+set}
6.950 -ac_env_CCAS_value=$CCAS
6.951 -ac_cv_env_CCAS_set=${CCAS+set}
6.952 -ac_cv_env_CCAS_value=$CCAS
6.953 -ac_env_CCASFLAGS_set=${CCASFLAGS+set}
6.954 -ac_env_CCASFLAGS_value=$CCASFLAGS
6.955 -ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
6.956 -ac_cv_env_CCASFLAGS_value=$CCASFLAGS
6.957 -
6.958 -#
6.959 -# Report the --help message.
6.960 -#
6.961 -if test "$ac_init_help" = "long"; then
6.962 - # Omit some internal or obsolete options to make the list less imposing.
6.963 - # This message is too long to be a string in the A/UX 3.1 sh.
6.964 - cat <<_ACEOF
6.965 -\`configure' configures this package to adapt to many kinds of systems.
6.966 -
6.967 -Usage: $0 [OPTION]... [VAR=VALUE]...
6.968 -
6.969 -To assign environment variables (e.g., CC, CFLAGS...), specify them as
6.970 -VAR=VALUE. See below for descriptions of some of the useful variables.
6.971 -
6.972 -Defaults for the options are specified in brackets.
6.973 -
6.974 -Configuration:
6.975 - -h, --help display this help and exit
6.976 - --help=short display options specific to this package
6.977 - --help=recursive display the short help of all the included packages
6.978 - -V, --version display version information and exit
6.979 - -q, --quiet, --silent do not print \`checking...' messages
6.980 - --cache-file=FILE cache test results in FILE [disabled]
6.981 - -C, --config-cache alias for \`--cache-file=config.cache'
6.982 - -n, --no-create do not create output files
6.983 - --srcdir=DIR find the sources in DIR [configure dir or \`..']
6.984 -
6.985 -_ACEOF
6.986 -
6.987 - cat <<_ACEOF
6.988 -Installation directories:
6.989 - --prefix=PREFIX install architecture-independent files in PREFIX
6.990 - [$ac_default_prefix]
6.991 - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
6.992 - [PREFIX]
6.993 -
6.994 -By default, \`make install' will install all the files in
6.995 -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
6.996 -an installation prefix other than \`$ac_default_prefix' using \`--prefix',
6.997 -for instance \`--prefix=\$HOME'.
6.998 -
6.999 -For better control, use the options below.
6.1000 -
6.1001 -Fine tuning of the installation directories:
6.1002 - --bindir=DIR user executables [EPREFIX/bin]
6.1003 - --sbindir=DIR system admin executables [EPREFIX/sbin]
6.1004 - --libexecdir=DIR program executables [EPREFIX/libexec]
6.1005 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
6.1006 - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
6.1007 - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
6.1008 - --localstatedir=DIR modifiable single-machine data [PREFIX/var]
6.1009 - --libdir=DIR object code libraries [EPREFIX/lib]
6.1010 - --includedir=DIR C header files [PREFIX/include]
6.1011 - --oldincludedir=DIR C header files for non-gcc [/usr/include]
6.1012 - --infodir=DIR info documentation [PREFIX/info]
6.1013 - --mandir=DIR man documentation [PREFIX/man]
6.1014 -_ACEOF
6.1015 -
6.1016 - cat <<\_ACEOF
6.1017 -
6.1018 -Program names:
6.1019 - --program-prefix=PREFIX prepend PREFIX to installed program names
6.1020 - --program-suffix=SUFFIX append SUFFIX to installed program names
6.1021 - --program-transform-name=PROGRAM run sed PROGRAM on installed program names
6.1022 -
6.1023 -System types:
6.1024 - --build=BUILD configure for building on BUILD [guessed]
6.1025 - --host=HOST cross-compile to build programs to run on HOST [BUILD]
6.1026 - --target=TARGET configure for building compilers for TARGET [HOST]
6.1027 -_ACEOF
6.1028 -fi
6.1029 -
6.1030 -if test -n "$ac_init_help"; then
6.1031 -
6.1032 - cat <<\_ACEOF
6.1033 -
6.1034 -Optional Features:
6.1035 - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
6.1036 - --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
6.1037 - --enable-static@<:@=PKGS@:>@
6.1038 - build static libraries @<:@default=no@:>@
6.1039 - --enable-maintainer-mode enable make rules and dependencies not useful
6.1040 - (and sometimes confusing) to the casual installer
6.1041 - --enable-shared@<:@=PKGS@:>@
6.1042 - build shared libraries @<:@default=yes@:>@
6.1043 - --enable-fast-install@<:@=PKGS@:>@
6.1044 - optimize for fast installation @<:@default=yes@:>@
6.1045 - --disable-dependency-tracking speeds up one-time build
6.1046 - --enable-dependency-tracking do not reject slow dependency extractors
6.1047 - --disable-libtool-lock avoid locking (might break parallel builds)
6.1048 -
6.1049 -Optional Packages:
6.1050 - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
6.1051 - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
6.1052 - --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
6.1053 - --with-pic try to use only PIC/non-PIC objects @<:@default=use
6.1054 - both@:>@
6.1055 - --with-tags@<:@=TAGS@:>@
6.1056 - include additional configurations @<:@automatic@:>@
6.1057 -
6.1058 -Some influential environment variables:
6.1059 - CC C compiler command
6.1060 - CFLAGS C compiler flags
6.1061 - LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
6.1062 - nonstandard directory <lib dir>
6.1063 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
6.1064 - headers in a nonstandard directory <include dir>
6.1065 - CPP C preprocessor
6.1066 - CXX C++ compiler command
6.1067 - CXXFLAGS C++ compiler flags
6.1068 - CXXCPP C++ preprocessor
6.1069 - F77 Fortran 77 compiler command
6.1070 - FFLAGS Fortran 77 compiler flags
6.1071 - CCAS assembler compiler command (defaults to CC)
6.1072 - CCASFLAGS assembler compiler flags (defaults to CFLAGS)
6.1073 -
6.1074 -Use these variables to override the choices made by `configure' or to help
6.1075 -it to find libraries and programs with nonstandard names/locations.
6.1076 -
6.1077 -_ACEOF
6.1078 -fi
6.1079 -
6.1080 -if test "$ac_init_help" = "recursive"; then
6.1081 - # If there are subdirs, report their specific --help.
6.1082 - ac_popdir=`pwd`
6.1083 - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
6.1084 - test -d $ac_dir || continue
6.1085 - ac_builddir=.
6.1086 -
6.1087 -if test "$ac_dir" != .; then
6.1088 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6.1089 - # A "../" for each directory in $ac_dir_suffix.
6.1090 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6.1091 -else
6.1092 - ac_dir_suffix= ac_top_builddir=
6.1093 -fi
6.1094 -
6.1095 -case $srcdir in
6.1096 - .) # No --srcdir option. We are building in place.
6.1097 - ac_srcdir=.
6.1098 - if test -z "$ac_top_builddir"; then
6.1099 - ac_top_srcdir=.
6.1100 - else
6.1101 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6.1102 - fi ;;
6.1103 - [\\/]* | ?:[\\/]* ) # Absolute path.
6.1104 - ac_srcdir=$srcdir$ac_dir_suffix;
6.1105 - ac_top_srcdir=$srcdir ;;
6.1106 - *) # Relative path.
6.1107 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6.1108 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
6.1109 -esac
6.1110 -
6.1111 -# Do not use `cd foo && pwd` to compute absolute paths, because
6.1112 -# the directories may not exist.
6.1113 -case `pwd` in
6.1114 -.) ac_abs_builddir="$ac_dir";;
6.1115 -*)
6.1116 - case "$ac_dir" in
6.1117 - .) ac_abs_builddir=`pwd`;;
6.1118 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6.1119 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
6.1120 - esac;;
6.1121 -esac
6.1122 -case $ac_abs_builddir in
6.1123 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
6.1124 -*)
6.1125 - case ${ac_top_builddir}. in
6.1126 - .) ac_abs_top_builddir=$ac_abs_builddir;;
6.1127 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6.1128 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6.1129 - esac;;
6.1130 -esac
6.1131 -case $ac_abs_builddir in
6.1132 -.) ac_abs_srcdir=$ac_srcdir;;
6.1133 -*)
6.1134 - case $ac_srcdir in
6.1135 - .) ac_abs_srcdir=$ac_abs_builddir;;
6.1136 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6.1137 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6.1138 - esac;;
6.1139 -esac
6.1140 -case $ac_abs_builddir in
6.1141 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
6.1142 -*)
6.1143 - case $ac_top_srcdir in
6.1144 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
6.1145 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6.1146 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6.1147 - esac;;
6.1148 -esac
6.1149 -
6.1150 - cd $ac_dir
6.1151 - # Check for guested configure; otherwise get Cygnus style configure.
6.1152 - if test -f $ac_srcdir/configure.gnu; then
6.1153 - echo
6.1154 - $SHELL $ac_srcdir/configure.gnu --help=recursive
6.1155 - elif test -f $ac_srcdir/configure; then
6.1156 - echo
6.1157 - $SHELL $ac_srcdir/configure --help=recursive
6.1158 - elif test -f $ac_srcdir/configure.ac ||
6.1159 - test -f $ac_srcdir/configure.in; then
6.1160 - echo
6.1161 - $ac_configure --help
6.1162 - else
6.1163 - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
6.1164 - fi
6.1165 - cd "$ac_popdir"
6.1166 - done
6.1167 -fi
6.1168 -
6.1169 -test -n "$ac_init_help" && exit 0
6.1170 -if $ac_init_version; then
6.1171 - cat <<\_ACEOF
6.1172 -
6.1173 -Copyright (C) 2003 Free Software Foundation, Inc.
6.1174 -This configure script is free software; the Free Software Foundation
6.1175 -gives unlimited permission to copy, distribute and modify it.
6.1176 -_ACEOF
6.1177 - exit 0
6.1178 -fi
6.1179 -exec 5>config.log
6.1180 -cat >&5 <<_ACEOF
6.1181 -This file contains any messages produced by compilers while
6.1182 -running configure, to aid debugging if configure makes a mistake.
6.1183 -
6.1184 -It was created by $as_me, which was
6.1185 -generated by GNU Autoconf 2.59. Invocation command line was
6.1186 -
6.1187 - $ $0 $@
6.1188 -
6.1189 -_ACEOF
6.1190 -{
6.1191 -cat <<_ASUNAME
6.1192 -@%:@@%:@ --------- @%:@@%:@
6.1193 -@%:@@%:@ Platform. @%:@@%:@
6.1194 -@%:@@%:@ --------- @%:@@%:@
6.1195 -
6.1196 -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
6.1197 -uname -m = `(uname -m) 2>/dev/null || echo unknown`
6.1198 -uname -r = `(uname -r) 2>/dev/null || echo unknown`
6.1199 -uname -s = `(uname -s) 2>/dev/null || echo unknown`
6.1200 -uname -v = `(uname -v) 2>/dev/null || echo unknown`
6.1201 -
6.1202 -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
6.1203 -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
6.1204 -
6.1205 -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
6.1206 -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
6.1207 -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
6.1208 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
6.1209 -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
6.1210 -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
6.1211 -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
6.1212 -
6.1213 -_ASUNAME
6.1214 -
6.1215 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.1216 -for as_dir in $PATH
6.1217 -do
6.1218 - IFS=$as_save_IFS
6.1219 - test -z "$as_dir" && as_dir=.
6.1220 - echo "PATH: $as_dir"
6.1221 -done
6.1222 -
6.1223 -} >&5
6.1224 -
6.1225 -cat >&5 <<_ACEOF
6.1226 -
6.1227 -
6.1228 -@%:@@%:@ ----------- @%:@@%:@
6.1229 -@%:@@%:@ Core tests. @%:@@%:@
6.1230 -@%:@@%:@ ----------- @%:@@%:@
6.1231 -
6.1232 -_ACEOF
6.1233 -
6.1234 -
6.1235 -# Keep a trace of the command line.
6.1236 -# Strip out --no-create and --no-recursion so they do not pile up.
6.1237 -# Strip out --silent because we don't want to record it for future runs.
6.1238 -# Also quote any args containing shell meta-characters.
6.1239 -# Make two passes to allow for proper duplicate-argument suppression.
6.1240 -ac_configure_args=
6.1241 -ac_configure_args0=
6.1242 -ac_configure_args1=
6.1243 -ac_sep=
6.1244 -ac_must_keep_next=false
6.1245 -for ac_pass in 1 2
6.1246 -do
6.1247 - for ac_arg
6.1248 - do
6.1249 - case $ac_arg in
6.1250 - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
6.1251 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6.1252 - | -silent | --silent | --silen | --sile | --sil)
6.1253 - continue ;;
6.1254 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
6.1255 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6.1256 - esac
6.1257 - case $ac_pass in
6.1258 - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
6.1259 - 2)
6.1260 - ac_configure_args1="$ac_configure_args1 '$ac_arg'"
6.1261 - if test $ac_must_keep_next = true; then
6.1262 - ac_must_keep_next=false # Got value, back to normal.
6.1263 - else
6.1264 - case $ac_arg in
6.1265 - *=* | --config-cache | -C | -disable-* | --disable-* \
6.1266 - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
6.1267 - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
6.1268 - | -with-* | --with-* | -without-* | --without-* | --x)
6.1269 - case "$ac_configure_args0 " in
6.1270 - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
6.1271 - esac
6.1272 - ;;
6.1273 - -* ) ac_must_keep_next=true ;;
6.1274 - esac
6.1275 - fi
6.1276 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
6.1277 - # Get rid of the leading space.
6.1278 - ac_sep=" "
6.1279 - ;;
6.1280 - esac
6.1281 - done
6.1282 -done
6.1283 -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
6.1284 -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
6.1285 -
6.1286 -# When interrupted or exit'd, cleanup temporary files, and complete
6.1287 -# config.log. We remove comments because anyway the quotes in there
6.1288 -# would cause problems or look ugly.
6.1289 -# WARNING: Be sure not to use single quotes in there, as some shells,
6.1290 -# such as our DU 5.0 friend, will then `close' the trap.
6.1291 -trap 'exit_status=$?
6.1292 - # Save into config.log some information that might help in debugging.
6.1293 - {
6.1294 - echo
6.1295 -
6.1296 - cat <<\_ASBOX
6.1297 -@%:@@%:@ ---------------- @%:@@%:@
6.1298 -@%:@@%:@ Cache variables. @%:@@%:@
6.1299 -@%:@@%:@ ---------------- @%:@@%:@
6.1300 -_ASBOX
6.1301 - echo
6.1302 - # The following way of writing the cache mishandles newlines in values,
6.1303 -{
6.1304 - (set) 2>&1 |
6.1305 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
6.1306 - *ac_space=\ *)
6.1307 - sed -n \
6.1308 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
6.1309 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
6.1310 - ;;
6.1311 - *)
6.1312 - sed -n \
6.1313 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6.1314 - ;;
6.1315 - esac;
6.1316 -}
6.1317 - echo
6.1318 -
6.1319 - cat <<\_ASBOX
6.1320 -@%:@@%:@ ----------------- @%:@@%:@
6.1321 -@%:@@%:@ Output variables. @%:@@%:@
6.1322 -@%:@@%:@ ----------------- @%:@@%:@
6.1323 -_ASBOX
6.1324 - echo
6.1325 - for ac_var in $ac_subst_vars
6.1326 - do
6.1327 - eval ac_val=$`echo $ac_var`
6.1328 - echo "$ac_var='"'"'$ac_val'"'"'"
6.1329 - done | sort
6.1330 - echo
6.1331 -
6.1332 - if test -n "$ac_subst_files"; then
6.1333 - cat <<\_ASBOX
6.1334 -@%:@@%:@ ------------- @%:@@%:@
6.1335 -@%:@@%:@ Output files. @%:@@%:@
6.1336 -@%:@@%:@ ------------- @%:@@%:@
6.1337 -_ASBOX
6.1338 - echo
6.1339 - for ac_var in $ac_subst_files
6.1340 - do
6.1341 - eval ac_val=$`echo $ac_var`
6.1342 - echo "$ac_var='"'"'$ac_val'"'"'"
6.1343 - done | sort
6.1344 - echo
6.1345 - fi
6.1346 -
6.1347 - if test -s confdefs.h; then
6.1348 - cat <<\_ASBOX
6.1349 -@%:@@%:@ ----------- @%:@@%:@
6.1350 -@%:@@%:@ confdefs.h. @%:@@%:@
6.1351 -@%:@@%:@ ----------- @%:@@%:@
6.1352 -_ASBOX
6.1353 - echo
6.1354 - sed "/^$/d" confdefs.h | sort
6.1355 - echo
6.1356 - fi
6.1357 - test "$ac_signal" != 0 &&
6.1358 - echo "$as_me: caught signal $ac_signal"
6.1359 - echo "$as_me: exit $exit_status"
6.1360 - } >&5
6.1361 - rm -f core *.core &&
6.1362 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
6.1363 - exit $exit_status
6.1364 - ' 0
6.1365 -for ac_signal in 1 2 13 15; do
6.1366 - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
6.1367 -done
6.1368 -ac_signal=0
6.1369 -
6.1370 -# confdefs.h avoids OS command line length limits that DEFS can exceed.
6.1371 -rm -rf conftest* confdefs.h
6.1372 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
6.1373 -echo >confdefs.h
6.1374 -
6.1375 -# Predefined preprocessor variables.
6.1376 -
6.1377 -cat >>confdefs.h <<_ACEOF
6.1378 -@%:@define PACKAGE_NAME "$PACKAGE_NAME"
6.1379 -_ACEOF
6.1380 -
6.1381 -
6.1382 -cat >>confdefs.h <<_ACEOF
6.1383 -@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
6.1384 -_ACEOF
6.1385 -
6.1386 -
6.1387 -cat >>confdefs.h <<_ACEOF
6.1388 -@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
6.1389 -_ACEOF
6.1390 -
6.1391 -
6.1392 -cat >>confdefs.h <<_ACEOF
6.1393 -@%:@define PACKAGE_STRING "$PACKAGE_STRING"
6.1394 -_ACEOF
6.1395 -
6.1396 -
6.1397 -cat >>confdefs.h <<_ACEOF
6.1398 -@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
6.1399 -_ACEOF
6.1400 -
6.1401 -
6.1402 -# Let the site file select an alternate cache file if it wants to.
6.1403 -# Prefer explicitly selected file to automatically selected ones.
6.1404 -if test -z "$CONFIG_SITE"; then
6.1405 - if test "x$prefix" != xNONE; then
6.1406 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
6.1407 - else
6.1408 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
6.1409 - fi
6.1410 -fi
6.1411 -for ac_site_file in $CONFIG_SITE; do
6.1412 - if test -r "$ac_site_file"; then
6.1413 - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
6.1414 -echo "$as_me: loading site script $ac_site_file" >&6;}
6.1415 - sed 's/^/| /' "$ac_site_file" >&5
6.1416 - . "$ac_site_file"
6.1417 - fi
6.1418 -done
6.1419 -
6.1420 -if test -r "$cache_file"; then
6.1421 - # Some versions of bash will fail to source /dev/null (special
6.1422 - # files actually), so we avoid doing that.
6.1423 - if test -f "$cache_file"; then
6.1424 - { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6.1425 -echo "$as_me: loading cache $cache_file" >&6;}
6.1426 - case $cache_file in
6.1427 - [\\/]* | ?:[\\/]* ) . $cache_file;;
6.1428 - *) . ./$cache_file;;
6.1429 - esac
6.1430 - fi
6.1431 -else
6.1432 - { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6.1433 -echo "$as_me: creating cache $cache_file" >&6;}
6.1434 - >$cache_file
6.1435 -fi
6.1436 -
6.1437 -# Check that the precious variables saved in the cache have kept the same
6.1438 -# value.
6.1439 -ac_cache_corrupted=false
6.1440 -for ac_var in `(set) 2>&1 |
6.1441 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
6.1442 - eval ac_old_set=\$ac_cv_env_${ac_var}_set
6.1443 - eval ac_new_set=\$ac_env_${ac_var}_set
6.1444 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
6.1445 - eval ac_new_val="\$ac_env_${ac_var}_value"
6.1446 - case $ac_old_set,$ac_new_set in
6.1447 - set,)
6.1448 - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
6.1449 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
6.1450 - ac_cache_corrupted=: ;;
6.1451 - ,set)
6.1452 - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
6.1453 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
6.1454 - ac_cache_corrupted=: ;;
6.1455 - ,);;
6.1456 - *)
6.1457 - if test "x$ac_old_val" != "x$ac_new_val"; then
6.1458 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
6.1459 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
6.1460 - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
6.1461 -echo "$as_me: former value: $ac_old_val" >&2;}
6.1462 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
6.1463 -echo "$as_me: current value: $ac_new_val" >&2;}
6.1464 - ac_cache_corrupted=:
6.1465 - fi;;
6.1466 - esac
6.1467 - # Pass precious variables to config.status.
6.1468 - if test "$ac_new_set" = set; then
6.1469 - case $ac_new_val in
6.1470 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
6.1471 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
6.1472 - *) ac_arg=$ac_var=$ac_new_val ;;
6.1473 - esac
6.1474 - case " $ac_configure_args " in
6.1475 - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
6.1476 - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
6.1477 - esac
6.1478 - fi
6.1479 -done
6.1480 -if $ac_cache_corrupted; then
6.1481 - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
6.1482 -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
6.1483 - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
6.1484 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
6.1485 - { (exit 1); exit 1; }; }
6.1486 -fi
6.1487 -
6.1488 -ac_ext=c
6.1489 -ac_cpp='$CPP $CPPFLAGS'
6.1490 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.1491 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.1492 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.1493 -
6.1494 -
6.1495 -
6.1496 -
6.1497 -
6.1498 -
6.1499 -
6.1500 -
6.1501 -
6.1502 -
6.1503 -
6.1504 -
6.1505 -
6.1506 -
6.1507 -
6.1508 -
6.1509 -
6.1510 -
6.1511 -
6.1512 -ac_aux_dir=
6.1513 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
6.1514 - if test -f $ac_dir/install-sh; then
6.1515 - ac_aux_dir=$ac_dir
6.1516 - ac_install_sh="$ac_aux_dir/install-sh -c"
6.1517 - break
6.1518 - elif test -f $ac_dir/install.sh; then
6.1519 - ac_aux_dir=$ac_dir
6.1520 - ac_install_sh="$ac_aux_dir/install.sh -c"
6.1521 - break
6.1522 - elif test -f $ac_dir/shtool; then
6.1523 - ac_aux_dir=$ac_dir
6.1524 - ac_install_sh="$ac_aux_dir/shtool install -c"
6.1525 - break
6.1526 - fi
6.1527 -done
6.1528 -if test -z "$ac_aux_dir"; then
6.1529 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
6.1530 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
6.1531 - { (exit 1); exit 1; }; }
6.1532 -fi
6.1533 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
6.1534 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
6.1535 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
6.1536 -
6.1537 -# Make sure we can run config.sub.
6.1538 -$ac_config_sub sun4 >/dev/null 2>&1 ||
6.1539 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
6.1540 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
6.1541 - { (exit 1); exit 1; }; }
6.1542 -
6.1543 -echo "$as_me:$LINENO: checking build system type" >&5
6.1544 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
6.1545 -if test "${ac_cv_build+set}" = set; then
6.1546 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.1547 -else
6.1548 - ac_cv_build_alias=$build_alias
6.1549 -test -z "$ac_cv_build_alias" &&
6.1550 - ac_cv_build_alias=`$ac_config_guess`
6.1551 -test -z "$ac_cv_build_alias" &&
6.1552 - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6.1553 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6.1554 - { (exit 1); exit 1; }; }
6.1555 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
6.1556 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
6.1557 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
6.1558 - { (exit 1); exit 1; }; }
6.1559 -
6.1560 -fi
6.1561 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6.1562 -echo "${ECHO_T}$ac_cv_build" >&6
6.1563 -build=$ac_cv_build
6.1564 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6.1565 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6.1566 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6.1567 -
6.1568 -
6.1569 -echo "$as_me:$LINENO: checking host system type" >&5
6.1570 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
6.1571 -if test "${ac_cv_host+set}" = set; then
6.1572 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.1573 -else
6.1574 - ac_cv_host_alias=$host_alias
6.1575 -test -z "$ac_cv_host_alias" &&
6.1576 - ac_cv_host_alias=$ac_cv_build_alias
6.1577 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
6.1578 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
6.1579 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
6.1580 - { (exit 1); exit 1; }; }
6.1581 -
6.1582 -fi
6.1583 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
6.1584 -echo "${ECHO_T}$ac_cv_host" >&6
6.1585 -host=$ac_cv_host
6.1586 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6.1587 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6.1588 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6.1589 -
6.1590 -
6.1591 -echo "$as_me:$LINENO: checking target system type" >&5
6.1592 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
6.1593 -if test "${ac_cv_target+set}" = set; then
6.1594 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.1595 -else
6.1596 - ac_cv_target_alias=$target_alias
6.1597 -test "x$ac_cv_target_alias" = "x" &&
6.1598 - ac_cv_target_alias=$ac_cv_host_alias
6.1599 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
6.1600 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
6.1601 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
6.1602 - { (exit 1); exit 1; }; }
6.1603 -
6.1604 -fi
6.1605 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
6.1606 -echo "${ECHO_T}$ac_cv_target" >&6
6.1607 -target=$ac_cv_target
6.1608 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6.1609 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6.1610 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6.1611 -
6.1612 -
6.1613 -# The aliases save the names the user supplied, while $host etc.
6.1614 -# will get canonicalized.
6.1615 -test -n "$target_alias" &&
6.1616 - test "$program_prefix$program_suffix$program_transform_name" = \
6.1617 - NONENONEs,x,x, &&
6.1618 - program_prefix=${target_alias}-
6.1619 -
6.1620 -case m4 in
6.1621 - [\\/]* | ?:[\\/]* ) ac_macro_dir=m4 ;;
6.1622 - *) ac_macro_dir=$srcdir/m4 ;;
6.1623 -esac
6.1624 -if test -d "$ac_macro_dir"; then :
6.1625 -else
6.1626 - { { echo "$as_me:$LINENO: error: cannot find macro directory \`m4'" >&5
6.1627 -echo "$as_me: error: cannot find macro directory \`m4'" >&2;}
6.1628 - { (exit 1); exit 1; }; }
6.1629 -fi
6.1630 -
6.1631 -# Check whether --enable-static or --disable-static was given.
6.1632 -if test "${enable_static+set}" = set; then
6.1633 - enableval="$enable_static"
6.1634 - p=${PACKAGE-default}
6.1635 - case $enableval in
6.1636 - yes) enable_static=yes ;;
6.1637 - no) enable_static=no ;;
6.1638 - *)
6.1639 - enable_static=no
6.1640 - # Look at the argument we got. We use all the common list separators.
6.1641 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6.1642 - for pkg in $enableval; do
6.1643 - IFS="$lt_save_ifs"
6.1644 - if test "X$pkg" = "X$p"; then
6.1645 - enable_static=yes
6.1646 - fi
6.1647 - done
6.1648 - IFS="$lt_save_ifs"
6.1649 - ;;
6.1650 - esac
6.1651 -else
6.1652 - enable_static=no
6.1653 -fi;
6.1654 -
6.1655 -
6.1656 -
6.1657 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
6.1658 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
6.1659 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6.1660 -if test "${enable_maintainer_mode+set}" = set; then
6.1661 - enableval="$enable_maintainer_mode"
6.1662 - USE_MAINTAINER_MODE=$enableval
6.1663 -else
6.1664 - USE_MAINTAINER_MODE=no
6.1665 -fi;
6.1666 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
6.1667 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
6.1668 -
6.1669 -
6.1670 -if test $USE_MAINTAINER_MODE = yes; then
6.1671 - MAINTAINER_MODE_TRUE=
6.1672 - MAINTAINER_MODE_FALSE='#'
6.1673 -else
6.1674 - MAINTAINER_MODE_TRUE='#'
6.1675 - MAINTAINER_MODE_FALSE=
6.1676 -fi
6.1677 -
6.1678 - MAINT=$MAINTAINER_MODE_TRUE
6.1679 -
6.1680 -
6.1681 -
6.1682 -
6.1683 - PACKAGE=gst-plugins-nuvdemux
6.1684 - GST_PLUGINS_VERSION_MAJOR=0
6.1685 - GST_PLUGINS_VERSION_MINOR=10
6.1686 - GST_PLUGINS_VERSION_MICRO=0
6.1687 - NANO=1
6.1688 - GST_PLUGINS_VERSION_NANO=$NANO
6.1689 - if test "x$NANO" = "x" || test "x$NANO" = "x0";
6.1690 - then
6.1691 - { echo "$as_me:$LINENO: configuring gst-plugins-nuvdemux for release" >&5
6.1692 -echo "$as_me: configuring gst-plugins-nuvdemux for release" >&6;}
6.1693 - VERSION=0.10.0
6.1694 - GST_PLUGINS_VERSION_RELEASE=1
6.1695 - GST_CVS="no"
6.1696 - else
6.1697 - { echo "$as_me:$LINENO: configuring gst-plugins-nuvdemux for development with nano $NANO" >&5
6.1698 -echo "$as_me: configuring gst-plugins-nuvdemux for development with nano $NANO" >&6;}
6.1699 - VERSION=0.10.0.$NANO
6.1700 - GST_PLUGINS_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
6.1701 - GST_CVS="yes"
6.1702 - fi
6.1703 -
6.1704 - GST_PLUGINS_VERSION=$VERSION
6.1705 -
6.1706 -cat >>confdefs.h <<_ACEOF
6.1707 -@%:@define GST_PLUGINS_VERSION "$GST_PLUGINS_VERSION"
6.1708 -_ACEOF
6.1709 -
6.1710 -
6.1711 -
6.1712 -cat >>confdefs.h <<_ACEOF
6.1713 -@%:@define GST_PLUGINS_VERSION_RELEASE "$GST_PLUGINS_VERSION_RELEASE"
6.1714 -_ACEOF
6.1715 -
6.1716 -
6.1717 -
6.1718 -
6.1719 -
6.1720 -
6.1721 -
6.1722 -
6.1723 -cat >>confdefs.h <<_ACEOF
6.1724 -@%:@define PACKAGE "$PACKAGE"
6.1725 -_ACEOF
6.1726 -
6.1727 -
6.1728 -
6.1729 -cat >>confdefs.h <<_ACEOF
6.1730 -@%:@define VERSION "$VERSION"
6.1731 -_ACEOF
6.1732 -
6.1733 -
6.1734 -
6.1735 -
6.1736 -am__api_version="1.8"
6.1737 -# Find a good install program. We prefer a C program (faster),
6.1738 -# so one script is as good as another. But avoid the broken or
6.1739 -# incompatible versions:
6.1740 -# SysV /etc/install, /usr/sbin/install
6.1741 -# SunOS /usr/etc/install
6.1742 -# IRIX /sbin/install
6.1743 -# AIX /bin/install
6.1744 -# AmigaOS /C/install, which installs bootblocks on floppy discs
6.1745 -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6.1746 -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
6.1747 -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6.1748 -# OS/2's system install, which has a completely different semantic
6.1749 -# ./install, which can be erroneously created by make from ./install.sh.
6.1750 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6.1751 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6.1752 -if test -z "$INSTALL"; then
6.1753 -if test "${ac_cv_path_install+set}" = set; then
6.1754 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.1755 -else
6.1756 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.1757 -for as_dir in $PATH
6.1758 -do
6.1759 - IFS=$as_save_IFS
6.1760 - test -z "$as_dir" && as_dir=.
6.1761 - # Account for people who put trailing slashes in PATH elements.
6.1762 -case $as_dir/ in
6.1763 - ./ | .// | /cC/* | \
6.1764 - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6.1765 - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6.1766 - /usr/ucb/* ) ;;
6.1767 - *)
6.1768 - # OSF1 and SCO ODT 3.0 have their own names for install.
6.1769 - # Don't use installbsd from OSF since it installs stuff as root
6.1770 - # by default.
6.1771 - for ac_prog in ginstall scoinst install; do
6.1772 - for ac_exec_ext in '' $ac_executable_extensions; do
6.1773 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6.1774 - if test $ac_prog = install &&
6.1775 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6.1776 - # AIX install. It has an incompatible calling convention.
6.1777 - :
6.1778 - elif test $ac_prog = install &&
6.1779 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6.1780 - # program-specific install script used by HP pwplus--don't use.
6.1781 - :
6.1782 - else
6.1783 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6.1784 - break 3
6.1785 - fi
6.1786 - fi
6.1787 - done
6.1788 - done
6.1789 - ;;
6.1790 -esac
6.1791 -done
6.1792 -
6.1793 -
6.1794 -fi
6.1795 - if test "${ac_cv_path_install+set}" = set; then
6.1796 - INSTALL=$ac_cv_path_install
6.1797 - else
6.1798 - # As a last resort, use the slow shell script. We don't cache a
6.1799 - # path for INSTALL within a source directory, because that will
6.1800 - # break other packages using the cache if that directory is
6.1801 - # removed, or if the path is relative.
6.1802 - INSTALL=$ac_install_sh
6.1803 - fi
6.1804 -fi
6.1805 -echo "$as_me:$LINENO: result: $INSTALL" >&5
6.1806 -echo "${ECHO_T}$INSTALL" >&6
6.1807 -
6.1808 -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6.1809 -# It thinks the first close brace ends the variable substitution.
6.1810 -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6.1811 -
6.1812 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6.1813 -
6.1814 -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6.1815 -
6.1816 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
6.1817 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
6.1818 -# Just in case
6.1819 -sleep 1
6.1820 -echo timestamp > conftest.file
6.1821 -# Do `set' in a subshell so we don't clobber the current shell's
6.1822 -# arguments. Must try -L first in case configure is actually a
6.1823 -# symlink; some systems play weird games with the mod time of symlinks
6.1824 -# (eg FreeBSD returns the mod time of the symlink's containing
6.1825 -# directory).
6.1826 -if (
6.1827 - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
6.1828 - if test "$*" = "X"; then
6.1829 - # -L didn't work.
6.1830 - set X `ls -t $srcdir/configure conftest.file`
6.1831 - fi
6.1832 - rm -f conftest.file
6.1833 - if test "$*" != "X $srcdir/configure conftest.file" \
6.1834 - && test "$*" != "X conftest.file $srcdir/configure"; then
6.1835 -
6.1836 - # If neither matched, then we have a broken ls. This can happen
6.1837 - # if, for instance, CONFIG_SHELL is bash and it inherits a
6.1838 - # broken ls alias from the environment. This has actually
6.1839 - # happened. Such a system could not be considered "sane".
6.1840 - { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
6.1841 -alias in your environment" >&5
6.1842 -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
6.1843 -alias in your environment" >&2;}
6.1844 - { (exit 1); exit 1; }; }
6.1845 - fi
6.1846 -
6.1847 - test "$2" = conftest.file
6.1848 - )
6.1849 -then
6.1850 - # Ok.
6.1851 - :
6.1852 -else
6.1853 - { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
6.1854 -Check your system clock" >&5
6.1855 -echo "$as_me: error: newly created file is older than distributed files!
6.1856 -Check your system clock" >&2;}
6.1857 - { (exit 1); exit 1; }; }
6.1858 -fi
6.1859 -echo "$as_me:$LINENO: result: yes" >&5
6.1860 -echo "${ECHO_T}yes" >&6
6.1861 -test "$program_prefix" != NONE &&
6.1862 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
6.1863 -# Use a double $ so make ignores it.
6.1864 -test "$program_suffix" != NONE &&
6.1865 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
6.1866 -# Double any \ or $. echo might interpret backslashes.
6.1867 -# By default was `s,x,x', remove it if useless.
6.1868 -cat <<\_ACEOF >conftest.sed
6.1869 -s/[\\$]/&&/g;s/;s,x,x,$//
6.1870 -_ACEOF
6.1871 -program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
6.1872 -rm conftest.sed
6.1873 -
6.1874 -# expand $ac_aux_dir to an absolute path
6.1875 -am_aux_dir=`cd $ac_aux_dir && pwd`
6.1876 -
6.1877 -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
6.1878 -# Use eval to expand $SHELL
6.1879 -if eval "$MISSING --run true"; then
6.1880 - am_missing_run="$MISSING --run "
6.1881 -else
6.1882 - am_missing_run=
6.1883 - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
6.1884 -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
6.1885 -fi
6.1886 -
6.1887 -if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
6.1888 - # Keeping the `.' argument allows $(mkdir_p) to be used without
6.1889 - # argument. Indeed, we sometimes output rules like
6.1890 - # $(mkdir_p) $(somedir)
6.1891 - # where $(somedir) is conditionally defined.
6.1892 - # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
6.1893 - # expensive solution, as it forces Make to start a sub-shell.)
6.1894 - mkdir_p='mkdir -p -- .'
6.1895 -else
6.1896 - # On NextStep and OpenStep, the `mkdir' command does not
6.1897 - # recognize any option. It will interpret all options as
6.1898 - # directories to create, and then abort because `.' already
6.1899 - # exists.
6.1900 - for d in ./-p ./--version;
6.1901 - do
6.1902 - test -d $d && rmdir $d
6.1903 - done
6.1904 - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
6.1905 - if test -f "$ac_aux_dir/mkinstalldirs"; then
6.1906 - mkdir_p='$(mkinstalldirs)'
6.1907 - else
6.1908 - mkdir_p='$(install_sh) -d'
6.1909 - fi
6.1910 -fi
6.1911 -
6.1912 -for ac_prog in gawk mawk nawk awk
6.1913 -do
6.1914 - # Extract the first word of "$ac_prog", so it can be a program name with args.
6.1915 -set dummy $ac_prog; ac_word=$2
6.1916 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.1917 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.1918 -if test "${ac_cv_prog_AWK+set}" = set; then
6.1919 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.1920 -else
6.1921 - if test -n "$AWK"; then
6.1922 - ac_cv_prog_AWK="$AWK" # Let the user override the test.
6.1923 -else
6.1924 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.1925 -for as_dir in $PATH
6.1926 -do
6.1927 - IFS=$as_save_IFS
6.1928 - test -z "$as_dir" && as_dir=.
6.1929 - for ac_exec_ext in '' $ac_executable_extensions; do
6.1930 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.1931 - ac_cv_prog_AWK="$ac_prog"
6.1932 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.1933 - break 2
6.1934 - fi
6.1935 -done
6.1936 -done
6.1937 -
6.1938 -fi
6.1939 -fi
6.1940 -AWK=$ac_cv_prog_AWK
6.1941 -if test -n "$AWK"; then
6.1942 - echo "$as_me:$LINENO: result: $AWK" >&5
6.1943 -echo "${ECHO_T}$AWK" >&6
6.1944 -else
6.1945 - echo "$as_me:$LINENO: result: no" >&5
6.1946 -echo "${ECHO_T}no" >&6
6.1947 -fi
6.1948 -
6.1949 - test -n "$AWK" && break
6.1950 -done
6.1951 -
6.1952 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6.1953 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6.1954 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
6.1955 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6.1956 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.1957 -else
6.1958 - cat >conftest.make <<\_ACEOF
6.1959 -all:
6.1960 - @echo 'ac_maketemp="$(MAKE)"'
6.1961 -_ACEOF
6.1962 -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6.1963 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6.1964 -if test -n "$ac_maketemp"; then
6.1965 - eval ac_cv_prog_make_${ac_make}_set=yes
6.1966 -else
6.1967 - eval ac_cv_prog_make_${ac_make}_set=no
6.1968 -fi
6.1969 -rm -f conftest.make
6.1970 -fi
6.1971 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6.1972 - echo "$as_me:$LINENO: result: yes" >&5
6.1973 -echo "${ECHO_T}yes" >&6
6.1974 - SET_MAKE=
6.1975 -else
6.1976 - echo "$as_me:$LINENO: result: no" >&5
6.1977 -echo "${ECHO_T}no" >&6
6.1978 - SET_MAKE="MAKE=${MAKE-make}"
6.1979 -fi
6.1980 -
6.1981 -rm -rf .tst 2>/dev/null
6.1982 -mkdir .tst 2>/dev/null
6.1983 -if test -d .tst; then
6.1984 - am__leading_dot=.
6.1985 -else
6.1986 - am__leading_dot=_
6.1987 -fi
6.1988 -rmdir .tst 2>/dev/null
6.1989 -
6.1990 -# test to see if srcdir already configured
6.1991 -if test "`cd $srcdir && pwd`" != "`pwd`" &&
6.1992 - test -f $srcdir/config.status; then
6.1993 - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
6.1994 -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
6.1995 - { (exit 1); exit 1; }; }
6.1996 -fi
6.1997 -
6.1998 -# test whether we have cygpath
6.1999 -if test -z "$CYGPATH_W"; then
6.2000 - if (cygpath --version) >/dev/null 2>/dev/null; then
6.2001 - CYGPATH_W='cygpath -w'
6.2002 - else
6.2003 - CYGPATH_W=echo
6.2004 - fi
6.2005 -fi
6.2006 -
6.2007 -
6.2008 -# Define the identity of the package.
6.2009 - PACKAGE=$PACKAGE
6.2010 - VERSION=$VERSION
6.2011 -
6.2012 -
6.2013 -cat >>confdefs.h <<_ACEOF
6.2014 -@%:@define PACKAGE "$PACKAGE"
6.2015 -_ACEOF
6.2016 -
6.2017 -
6.2018 -cat >>confdefs.h <<_ACEOF
6.2019 -@%:@define VERSION "$VERSION"
6.2020 -_ACEOF
6.2021 -
6.2022 -# Some tools Automake needs.
6.2023 -
6.2024 -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
6.2025 -
6.2026 -
6.2027 -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
6.2028 -
6.2029 -
6.2030 -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
6.2031 -
6.2032 -
6.2033 -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
6.2034 -
6.2035 -
6.2036 -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
6.2037 -
6.2038 -
6.2039 -AMTAR=${AMTAR-"${am_missing_run}tar"}
6.2040 -
6.2041 -install_sh=${install_sh-"$am_aux_dir/install-sh"}
6.2042 -
6.2043 -# Installed binaries are usually stripped using `strip' when the user
6.2044 -# run `make install-strip'. However `strip' might not be the right
6.2045 -# tool to use in cross-compilation environments, therefore Automake
6.2046 -# will honor the `STRIP' environment variable to overrule this program.
6.2047 -if test "$cross_compiling" != no; then
6.2048 - if test -n "$ac_tool_prefix"; then
6.2049 - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6.2050 -set dummy ${ac_tool_prefix}strip; ac_word=$2
6.2051 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2052 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2053 -if test "${ac_cv_prog_STRIP+set}" = set; then
6.2054 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.2055 -else
6.2056 - if test -n "$STRIP"; then
6.2057 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6.2058 -else
6.2059 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2060 -for as_dir in $PATH
6.2061 -do
6.2062 - IFS=$as_save_IFS
6.2063 - test -z "$as_dir" && as_dir=.
6.2064 - for ac_exec_ext in '' $ac_executable_extensions; do
6.2065 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2066 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6.2067 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2068 - break 2
6.2069 - fi
6.2070 -done
6.2071 -done
6.2072 -
6.2073 -fi
6.2074 -fi
6.2075 -STRIP=$ac_cv_prog_STRIP
6.2076 -if test -n "$STRIP"; then
6.2077 - echo "$as_me:$LINENO: result: $STRIP" >&5
6.2078 -echo "${ECHO_T}$STRIP" >&6
6.2079 -else
6.2080 - echo "$as_me:$LINENO: result: no" >&5
6.2081 -echo "${ECHO_T}no" >&6
6.2082 -fi
6.2083 -
6.2084 -fi
6.2085 -if test -z "$ac_cv_prog_STRIP"; then
6.2086 - ac_ct_STRIP=$STRIP
6.2087 - # Extract the first word of "strip", so it can be a program name with args.
6.2088 -set dummy strip; ac_word=$2
6.2089 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2090 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2091 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6.2092 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.2093 -else
6.2094 - if test -n "$ac_ct_STRIP"; then
6.2095 - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6.2096 -else
6.2097 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2098 -for as_dir in $PATH
6.2099 -do
6.2100 - IFS=$as_save_IFS
6.2101 - test -z "$as_dir" && as_dir=.
6.2102 - for ac_exec_ext in '' $ac_executable_extensions; do
6.2103 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2104 - ac_cv_prog_ac_ct_STRIP="strip"
6.2105 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2106 - break 2
6.2107 - fi
6.2108 -done
6.2109 -done
6.2110 -
6.2111 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6.2112 -fi
6.2113 -fi
6.2114 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6.2115 -if test -n "$ac_ct_STRIP"; then
6.2116 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6.2117 -echo "${ECHO_T}$ac_ct_STRIP" >&6
6.2118 -else
6.2119 - echo "$as_me:$LINENO: result: no" >&5
6.2120 -echo "${ECHO_T}no" >&6
6.2121 -fi
6.2122 -
6.2123 - STRIP=$ac_ct_STRIP
6.2124 -else
6.2125 - STRIP="$ac_cv_prog_STRIP"
6.2126 -fi
6.2127 -
6.2128 -fi
6.2129 -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
6.2130 -
6.2131 -# We need awk for the "check" target. The system "awk" is bad on
6.2132 -# some platforms.
6.2133 -
6.2134 -
6.2135 -
6.2136 -
6.2137 -# Check whether --enable-shared or --disable-shared was given.
6.2138 -if test "${enable_shared+set}" = set; then
6.2139 - enableval="$enable_shared"
6.2140 - p=${PACKAGE-default}
6.2141 - case $enableval in
6.2142 - yes) enable_shared=yes ;;
6.2143 - no) enable_shared=no ;;
6.2144 - *)
6.2145 - enable_shared=no
6.2146 - # Look at the argument we got. We use all the common list separators.
6.2147 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6.2148 - for pkg in $enableval; do
6.2149 - IFS="$lt_save_ifs"
6.2150 - if test "X$pkg" = "X$p"; then
6.2151 - enable_shared=yes
6.2152 - fi
6.2153 - done
6.2154 - IFS="$lt_save_ifs"
6.2155 - ;;
6.2156 - esac
6.2157 -else
6.2158 - enable_shared=yes
6.2159 -fi;
6.2160 -
6.2161 -# Check whether --enable-fast-install or --disable-fast-install was given.
6.2162 -if test "${enable_fast_install+set}" = set; then
6.2163 - enableval="$enable_fast_install"
6.2164 - p=${PACKAGE-default}
6.2165 - case $enableval in
6.2166 - yes) enable_fast_install=yes ;;
6.2167 - no) enable_fast_install=no ;;
6.2168 - *)
6.2169 - enable_fast_install=no
6.2170 - # Look at the argument we got. We use all the common list separators.
6.2171 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6.2172 - for pkg in $enableval; do
6.2173 - IFS="$lt_save_ifs"
6.2174 - if test "X$pkg" = "X$p"; then
6.2175 - enable_fast_install=yes
6.2176 - fi
6.2177 - done
6.2178 - IFS="$lt_save_ifs"
6.2179 - ;;
6.2180 - esac
6.2181 -else
6.2182 - enable_fast_install=yes
6.2183 -fi;
6.2184 -
6.2185 -DEPDIR="${am__leading_dot}deps"
6.2186 -
6.2187 - ac_config_commands="$ac_config_commands depfiles"
6.2188 -
6.2189 -
6.2190 -am_make=${MAKE-make}
6.2191 -cat > confinc << 'END'
6.2192 -am__doit:
6.2193 - @echo done
6.2194 -.PHONY: am__doit
6.2195 -END
6.2196 -# If we don't find an include directive, just comment out the code.
6.2197 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
6.2198 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
6.2199 -am__include="#"
6.2200 -am__quote=
6.2201 -_am_result=none
6.2202 -# First try GNU make style include.
6.2203 -echo "include confinc" > confmf
6.2204 -# We grep out `Entering directory' and `Leaving directory'
6.2205 -# messages which can occur if `w' ends up in MAKEFLAGS.
6.2206 -# In particular we don't look at `^make:' because GNU make might
6.2207 -# be invoked under some other name (usually "gmake"), in which
6.2208 -# case it prints its new name instead of `make'.
6.2209 -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
6.2210 - am__include=include
6.2211 - am__quote=
6.2212 - _am_result=GNU
6.2213 -fi
6.2214 -# Now try BSD make style include.
6.2215 -if test "$am__include" = "#"; then
6.2216 - echo '.include "confinc"' > confmf
6.2217 - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
6.2218 - am__include=.include
6.2219 - am__quote="\""
6.2220 - _am_result=BSD
6.2221 - fi
6.2222 -fi
6.2223 -
6.2224 -
6.2225 -echo "$as_me:$LINENO: result: $_am_result" >&5
6.2226 -echo "${ECHO_T}$_am_result" >&6
6.2227 -rm -f confinc confmf
6.2228 -
6.2229 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
6.2230 -if test "${enable_dependency_tracking+set}" = set; then
6.2231 - enableval="$enable_dependency_tracking"
6.2232 -
6.2233 -fi;
6.2234 -if test "x$enable_dependency_tracking" != xno; then
6.2235 - am_depcomp="$ac_aux_dir/depcomp"
6.2236 - AMDEPBACKSLASH='\'
6.2237 -fi
6.2238 -
6.2239 -
6.2240 -if test "x$enable_dependency_tracking" != xno; then
6.2241 - AMDEP_TRUE=
6.2242 - AMDEP_FALSE='#'
6.2243 -else
6.2244 - AMDEP_TRUE='#'
6.2245 - AMDEP_FALSE=
6.2246 -fi
6.2247 -
6.2248 -
6.2249 -
6.2250 -ac_ext=c
6.2251 -ac_cpp='$CPP $CPPFLAGS'
6.2252 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.2253 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.2254 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.2255 -if test -n "$ac_tool_prefix"; then
6.2256 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6.2257 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
6.2258 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2259 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2260 -if test "${ac_cv_prog_CC+set}" = set; then
6.2261 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.2262 -else
6.2263 - if test -n "$CC"; then
6.2264 - ac_cv_prog_CC="$CC" # Let the user override the test.
6.2265 -else
6.2266 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2267 -for as_dir in $PATH
6.2268 -do
6.2269 - IFS=$as_save_IFS
6.2270 - test -z "$as_dir" && as_dir=.
6.2271 - for ac_exec_ext in '' $ac_executable_extensions; do
6.2272 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2273 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
6.2274 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2275 - break 2
6.2276 - fi
6.2277 -done
6.2278 -done
6.2279 -
6.2280 -fi
6.2281 -fi
6.2282 -CC=$ac_cv_prog_CC
6.2283 -if test -n "$CC"; then
6.2284 - echo "$as_me:$LINENO: result: $CC" >&5
6.2285 -echo "${ECHO_T}$CC" >&6
6.2286 -else
6.2287 - echo "$as_me:$LINENO: result: no" >&5
6.2288 -echo "${ECHO_T}no" >&6
6.2289 -fi
6.2290 -
6.2291 -fi
6.2292 -if test -z "$ac_cv_prog_CC"; then
6.2293 - ac_ct_CC=$CC
6.2294 - # Extract the first word of "gcc", so it can be a program name with args.
6.2295 -set dummy gcc; ac_word=$2
6.2296 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2297 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2298 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6.2299 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.2300 -else
6.2301 - if test -n "$ac_ct_CC"; then
6.2302 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6.2303 -else
6.2304 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2305 -for as_dir in $PATH
6.2306 -do
6.2307 - IFS=$as_save_IFS
6.2308 - test -z "$as_dir" && as_dir=.
6.2309 - for ac_exec_ext in '' $ac_executable_extensions; do
6.2310 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2311 - ac_cv_prog_ac_ct_CC="gcc"
6.2312 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2313 - break 2
6.2314 - fi
6.2315 -done
6.2316 -done
6.2317 -
6.2318 -fi
6.2319 -fi
6.2320 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
6.2321 -if test -n "$ac_ct_CC"; then
6.2322 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6.2323 -echo "${ECHO_T}$ac_ct_CC" >&6
6.2324 -else
6.2325 - echo "$as_me:$LINENO: result: no" >&5
6.2326 -echo "${ECHO_T}no" >&6
6.2327 -fi
6.2328 -
6.2329 - CC=$ac_ct_CC
6.2330 -else
6.2331 - CC="$ac_cv_prog_CC"
6.2332 -fi
6.2333 -
6.2334 -if test -z "$CC"; then
6.2335 - if test -n "$ac_tool_prefix"; then
6.2336 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6.2337 -set dummy ${ac_tool_prefix}cc; ac_word=$2
6.2338 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2339 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2340 -if test "${ac_cv_prog_CC+set}" = set; then
6.2341 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.2342 -else
6.2343 - if test -n "$CC"; then
6.2344 - ac_cv_prog_CC="$CC" # Let the user override the test.
6.2345 -else
6.2346 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2347 -for as_dir in $PATH
6.2348 -do
6.2349 - IFS=$as_save_IFS
6.2350 - test -z "$as_dir" && as_dir=.
6.2351 - for ac_exec_ext in '' $ac_executable_extensions; do
6.2352 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2353 - ac_cv_prog_CC="${ac_tool_prefix}cc"
6.2354 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2355 - break 2
6.2356 - fi
6.2357 -done
6.2358 -done
6.2359 -
6.2360 -fi
6.2361 -fi
6.2362 -CC=$ac_cv_prog_CC
6.2363 -if test -n "$CC"; then
6.2364 - echo "$as_me:$LINENO: result: $CC" >&5
6.2365 -echo "${ECHO_T}$CC" >&6
6.2366 -else
6.2367 - echo "$as_me:$LINENO: result: no" >&5
6.2368 -echo "${ECHO_T}no" >&6
6.2369 -fi
6.2370 -
6.2371 -fi
6.2372 -if test -z "$ac_cv_prog_CC"; then
6.2373 - ac_ct_CC=$CC
6.2374 - # Extract the first word of "cc", so it can be a program name with args.
6.2375 -set dummy cc; ac_word=$2
6.2376 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2377 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2378 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6.2379 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.2380 -else
6.2381 - if test -n "$ac_ct_CC"; then
6.2382 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6.2383 -else
6.2384 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2385 -for as_dir in $PATH
6.2386 -do
6.2387 - IFS=$as_save_IFS
6.2388 - test -z "$as_dir" && as_dir=.
6.2389 - for ac_exec_ext in '' $ac_executable_extensions; do
6.2390 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2391 - ac_cv_prog_ac_ct_CC="cc"
6.2392 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2393 - break 2
6.2394 - fi
6.2395 -done
6.2396 -done
6.2397 -
6.2398 -fi
6.2399 -fi
6.2400 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
6.2401 -if test -n "$ac_ct_CC"; then
6.2402 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6.2403 -echo "${ECHO_T}$ac_ct_CC" >&6
6.2404 -else
6.2405 - echo "$as_me:$LINENO: result: no" >&5
6.2406 -echo "${ECHO_T}no" >&6
6.2407 -fi
6.2408 -
6.2409 - CC=$ac_ct_CC
6.2410 -else
6.2411 - CC="$ac_cv_prog_CC"
6.2412 -fi
6.2413 -
6.2414 -fi
6.2415 -if test -z "$CC"; then
6.2416 - # Extract the first word of "cc", so it can be a program name with args.
6.2417 -set dummy cc; ac_word=$2
6.2418 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2419 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2420 -if test "${ac_cv_prog_CC+set}" = set; then
6.2421 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.2422 -else
6.2423 - if test -n "$CC"; then
6.2424 - ac_cv_prog_CC="$CC" # Let the user override the test.
6.2425 -else
6.2426 - ac_prog_rejected=no
6.2427 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2428 -for as_dir in $PATH
6.2429 -do
6.2430 - IFS=$as_save_IFS
6.2431 - test -z "$as_dir" && as_dir=.
6.2432 - for ac_exec_ext in '' $ac_executable_extensions; do
6.2433 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2434 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6.2435 - ac_prog_rejected=yes
6.2436 - continue
6.2437 - fi
6.2438 - ac_cv_prog_CC="cc"
6.2439 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2440 - break 2
6.2441 - fi
6.2442 -done
6.2443 -done
6.2444 -
6.2445 -if test $ac_prog_rejected = yes; then
6.2446 - # We found a bogon in the path, so make sure we never use it.
6.2447 - set dummy $ac_cv_prog_CC
6.2448 - shift
6.2449 - if test $@%:@ != 0; then
6.2450 - # We chose a different compiler from the bogus one.
6.2451 - # However, it has the same basename, so the bogon will be chosen
6.2452 - # first if we set CC to just the basename; use the full file name.
6.2453 - shift
6.2454 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6.2455 - fi
6.2456 -fi
6.2457 -fi
6.2458 -fi
6.2459 -CC=$ac_cv_prog_CC
6.2460 -if test -n "$CC"; then
6.2461 - echo "$as_me:$LINENO: result: $CC" >&5
6.2462 -echo "${ECHO_T}$CC" >&6
6.2463 -else
6.2464 - echo "$as_me:$LINENO: result: no" >&5
6.2465 -echo "${ECHO_T}no" >&6
6.2466 -fi
6.2467 -
6.2468 -fi
6.2469 -if test -z "$CC"; then
6.2470 - if test -n "$ac_tool_prefix"; then
6.2471 - for ac_prog in cl
6.2472 - do
6.2473 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6.2474 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6.2475 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2476 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2477 -if test "${ac_cv_prog_CC+set}" = set; then
6.2478 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.2479 -else
6.2480 - if test -n "$CC"; then
6.2481 - ac_cv_prog_CC="$CC" # Let the user override the test.
6.2482 -else
6.2483 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2484 -for as_dir in $PATH
6.2485 -do
6.2486 - IFS=$as_save_IFS
6.2487 - test -z "$as_dir" && as_dir=.
6.2488 - for ac_exec_ext in '' $ac_executable_extensions; do
6.2489 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2490 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6.2491 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2492 - break 2
6.2493 - fi
6.2494 -done
6.2495 -done
6.2496 -
6.2497 -fi
6.2498 -fi
6.2499 -CC=$ac_cv_prog_CC
6.2500 -if test -n "$CC"; then
6.2501 - echo "$as_me:$LINENO: result: $CC" >&5
6.2502 -echo "${ECHO_T}$CC" >&6
6.2503 -else
6.2504 - echo "$as_me:$LINENO: result: no" >&5
6.2505 -echo "${ECHO_T}no" >&6
6.2506 -fi
6.2507 -
6.2508 - test -n "$CC" && break
6.2509 - done
6.2510 -fi
6.2511 -if test -z "$CC"; then
6.2512 - ac_ct_CC=$CC
6.2513 - for ac_prog in cl
6.2514 -do
6.2515 - # Extract the first word of "$ac_prog", so it can be a program name with args.
6.2516 -set dummy $ac_prog; ac_word=$2
6.2517 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2518 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2519 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6.2520 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.2521 -else
6.2522 - if test -n "$ac_ct_CC"; then
6.2523 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6.2524 -else
6.2525 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2526 -for as_dir in $PATH
6.2527 -do
6.2528 - IFS=$as_save_IFS
6.2529 - test -z "$as_dir" && as_dir=.
6.2530 - for ac_exec_ext in '' $ac_executable_extensions; do
6.2531 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2532 - ac_cv_prog_ac_ct_CC="$ac_prog"
6.2533 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2534 - break 2
6.2535 - fi
6.2536 -done
6.2537 -done
6.2538 -
6.2539 -fi
6.2540 -fi
6.2541 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
6.2542 -if test -n "$ac_ct_CC"; then
6.2543 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6.2544 -echo "${ECHO_T}$ac_ct_CC" >&6
6.2545 -else
6.2546 - echo "$as_me:$LINENO: result: no" >&5
6.2547 -echo "${ECHO_T}no" >&6
6.2548 -fi
6.2549 -
6.2550 - test -n "$ac_ct_CC" && break
6.2551 -done
6.2552 -
6.2553 - CC=$ac_ct_CC
6.2554 -fi
6.2555 -
6.2556 -fi
6.2557 -
6.2558 -
6.2559 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6.2560 -See \`config.log' for more details." >&5
6.2561 -echo "$as_me: error: no acceptable C compiler found in \$PATH
6.2562 -See \`config.log' for more details." >&2;}
6.2563 - { (exit 1); exit 1; }; }
6.2564 -
6.2565 -# Provide some information about the compiler.
6.2566 -echo "$as_me:$LINENO:" \
6.2567 - "checking for C compiler version" >&5
6.2568 -ac_compiler=`set X $ac_compile; echo $2`
6.2569 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6.2570 - (eval $ac_compiler --version </dev/null >&5) 2>&5
6.2571 - ac_status=$?
6.2572 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2573 - (exit $ac_status); }
6.2574 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6.2575 - (eval $ac_compiler -v </dev/null >&5) 2>&5
6.2576 - ac_status=$?
6.2577 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2578 - (exit $ac_status); }
6.2579 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6.2580 - (eval $ac_compiler -V </dev/null >&5) 2>&5
6.2581 - ac_status=$?
6.2582 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2583 - (exit $ac_status); }
6.2584 -
6.2585 -cat >conftest.$ac_ext <<_ACEOF
6.2586 -/* confdefs.h. */
6.2587 -_ACEOF
6.2588 -cat confdefs.h >>conftest.$ac_ext
6.2589 -cat >>conftest.$ac_ext <<_ACEOF
6.2590 -/* end confdefs.h. */
6.2591 -
6.2592 -int
6.2593 -main ()
6.2594 -{
6.2595 -
6.2596 - ;
6.2597 - return 0;
6.2598 -}
6.2599 -_ACEOF
6.2600 -ac_clean_files_save=$ac_clean_files
6.2601 -ac_clean_files="$ac_clean_files a.out a.exe b.out"
6.2602 -# Try to create an executable without -o first, disregard a.out.
6.2603 -# It will help us diagnose broken compilers, and finding out an intuition
6.2604 -# of exeext.
6.2605 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
6.2606 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
6.2607 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
6.2608 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
6.2609 - (eval $ac_link_default) 2>&5
6.2610 - ac_status=$?
6.2611 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2612 - (exit $ac_status); }; then
6.2613 - # Find the output, starting from the most likely. This scheme is
6.2614 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
6.2615 -# resort.
6.2616 -
6.2617 -# Be careful to initialize this variable, since it used to be cached.
6.2618 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
6.2619 -ac_cv_exeext=
6.2620 -# b.out is created by i960 compilers.
6.2621 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
6.2622 -do
6.2623 - test -f "$ac_file" || continue
6.2624 - case $ac_file in
6.2625 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
6.2626 - ;;
6.2627 - conftest.$ac_ext )
6.2628 - # This is the source file.
6.2629 - ;;
6.2630 - [ab].out )
6.2631 - # We found the default executable, but exeext='' is most
6.2632 - # certainly right.
6.2633 - break;;
6.2634 - *.* )
6.2635 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
6.2636 - # FIXME: I believe we export ac_cv_exeext for Libtool,
6.2637 - # but it would be cool to find out if it's true. Does anybody
6.2638 - # maintain Libtool? --akim.
6.2639 - export ac_cv_exeext
6.2640 - break;;
6.2641 - * )
6.2642 - break;;
6.2643 - esac
6.2644 -done
6.2645 -else
6.2646 - echo "$as_me: failed program was:" >&5
6.2647 -sed 's/^/| /' conftest.$ac_ext >&5
6.2648 -
6.2649 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
6.2650 -See \`config.log' for more details." >&5
6.2651 -echo "$as_me: error: C compiler cannot create executables
6.2652 -See \`config.log' for more details." >&2;}
6.2653 - { (exit 77); exit 77; }; }
6.2654 -fi
6.2655 -
6.2656 -ac_exeext=$ac_cv_exeext
6.2657 -echo "$as_me:$LINENO: result: $ac_file" >&5
6.2658 -echo "${ECHO_T}$ac_file" >&6
6.2659 -
6.2660 -# Check the compiler produces executables we can run. If not, either
6.2661 -# the compiler is broken, or we cross compile.
6.2662 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
6.2663 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
6.2664 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
6.2665 -# If not cross compiling, check that we can run a simple program.
6.2666 -if test "$cross_compiling" != yes; then
6.2667 - if { ac_try='./$ac_file'
6.2668 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.2669 - (eval $ac_try) 2>&5
6.2670 - ac_status=$?
6.2671 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2672 - (exit $ac_status); }; }; then
6.2673 - cross_compiling=no
6.2674 - else
6.2675 - if test "$cross_compiling" = maybe; then
6.2676 - cross_compiling=yes
6.2677 - else
6.2678 - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
6.2679 -If you meant to cross compile, use \`--host'.
6.2680 -See \`config.log' for more details." >&5
6.2681 -echo "$as_me: error: cannot run C compiled programs.
6.2682 -If you meant to cross compile, use \`--host'.
6.2683 -See \`config.log' for more details." >&2;}
6.2684 - { (exit 1); exit 1; }; }
6.2685 - fi
6.2686 - fi
6.2687 -fi
6.2688 -echo "$as_me:$LINENO: result: yes" >&5
6.2689 -echo "${ECHO_T}yes" >&6
6.2690 -
6.2691 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
6.2692 -ac_clean_files=$ac_clean_files_save
6.2693 -# Check the compiler produces executables we can run. If not, either
6.2694 -# the compiler is broken, or we cross compile.
6.2695 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
6.2696 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
6.2697 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
6.2698 -echo "${ECHO_T}$cross_compiling" >&6
6.2699 -
6.2700 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
6.2701 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
6.2702 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.2703 - (eval $ac_link) 2>&5
6.2704 - ac_status=$?
6.2705 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2706 - (exit $ac_status); }; then
6.2707 - # If both `conftest.exe' and `conftest' are `present' (well, observable)
6.2708 -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
6.2709 -# work properly (i.e., refer to `conftest.exe'), while it won't with
6.2710 -# `rm'.
6.2711 -for ac_file in conftest.exe conftest conftest.*; do
6.2712 - test -f "$ac_file" || continue
6.2713 - case $ac_file in
6.2714 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
6.2715 - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
6.2716 - export ac_cv_exeext
6.2717 - break;;
6.2718 - * ) break;;
6.2719 - esac
6.2720 -done
6.2721 -else
6.2722 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
6.2723 -See \`config.log' for more details." >&5
6.2724 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
6.2725 -See \`config.log' for more details." >&2;}
6.2726 - { (exit 1); exit 1; }; }
6.2727 -fi
6.2728 -
6.2729 -rm -f conftest$ac_cv_exeext
6.2730 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
6.2731 -echo "${ECHO_T}$ac_cv_exeext" >&6
6.2732 -
6.2733 -rm -f conftest.$ac_ext
6.2734 -EXEEXT=$ac_cv_exeext
6.2735 -ac_exeext=$EXEEXT
6.2736 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
6.2737 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
6.2738 -if test "${ac_cv_objext+set}" = set; then
6.2739 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.2740 -else
6.2741 - cat >conftest.$ac_ext <<_ACEOF
6.2742 -/* confdefs.h. */
6.2743 -_ACEOF
6.2744 -cat confdefs.h >>conftest.$ac_ext
6.2745 -cat >>conftest.$ac_ext <<_ACEOF
6.2746 -/* end confdefs.h. */
6.2747 -
6.2748 -int
6.2749 -main ()
6.2750 -{
6.2751 -
6.2752 - ;
6.2753 - return 0;
6.2754 -}
6.2755 -_ACEOF
6.2756 -rm -f conftest.o conftest.obj
6.2757 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.2758 - (eval $ac_compile) 2>&5
6.2759 - ac_status=$?
6.2760 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2761 - (exit $ac_status); }; then
6.2762 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
6.2763 - case $ac_file in
6.2764 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
6.2765 - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
6.2766 - break;;
6.2767 - esac
6.2768 -done
6.2769 -else
6.2770 - echo "$as_me: failed program was:" >&5
6.2771 -sed 's/^/| /' conftest.$ac_ext >&5
6.2772 -
6.2773 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
6.2774 -See \`config.log' for more details." >&5
6.2775 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
6.2776 -See \`config.log' for more details." >&2;}
6.2777 - { (exit 1); exit 1; }; }
6.2778 -fi
6.2779 -
6.2780 -rm -f conftest.$ac_cv_objext conftest.$ac_ext
6.2781 -fi
6.2782 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
6.2783 -echo "${ECHO_T}$ac_cv_objext" >&6
6.2784 -OBJEXT=$ac_cv_objext
6.2785 -ac_objext=$OBJEXT
6.2786 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6.2787 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6.2788 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
6.2789 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.2790 -else
6.2791 - cat >conftest.$ac_ext <<_ACEOF
6.2792 -/* confdefs.h. */
6.2793 -_ACEOF
6.2794 -cat confdefs.h >>conftest.$ac_ext
6.2795 -cat >>conftest.$ac_ext <<_ACEOF
6.2796 -/* end confdefs.h. */
6.2797 -
6.2798 -int
6.2799 -main ()
6.2800 -{
6.2801 -#ifndef __GNUC__
6.2802 - choke me
6.2803 -#endif
6.2804 -
6.2805 - ;
6.2806 - return 0;
6.2807 -}
6.2808 -_ACEOF
6.2809 -rm -f conftest.$ac_objext
6.2810 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.2811 - (eval $ac_compile) 2>conftest.er1
6.2812 - ac_status=$?
6.2813 - grep -v '^ *+' conftest.er1 >conftest.err
6.2814 - rm -f conftest.er1
6.2815 - cat conftest.err >&5
6.2816 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2817 - (exit $ac_status); } &&
6.2818 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.2819 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.2820 - (eval $ac_try) 2>&5
6.2821 - ac_status=$?
6.2822 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2823 - (exit $ac_status); }; } &&
6.2824 - { ac_try='test -s conftest.$ac_objext'
6.2825 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.2826 - (eval $ac_try) 2>&5
6.2827 - ac_status=$?
6.2828 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2829 - (exit $ac_status); }; }; then
6.2830 - ac_compiler_gnu=yes
6.2831 -else
6.2832 - echo "$as_me: failed program was:" >&5
6.2833 -sed 's/^/| /' conftest.$ac_ext >&5
6.2834 -
6.2835 -ac_compiler_gnu=no
6.2836 -fi
6.2837 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.2838 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
6.2839 -
6.2840 -fi
6.2841 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6.2842 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6.2843 -GCC=`test $ac_compiler_gnu = yes && echo yes`
6.2844 -ac_test_CFLAGS=${CFLAGS+set}
6.2845 -ac_save_CFLAGS=$CFLAGS
6.2846 -CFLAGS="-g"
6.2847 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6.2848 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6.2849 -if test "${ac_cv_prog_cc_g+set}" = set; then
6.2850 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.2851 -else
6.2852 - cat >conftest.$ac_ext <<_ACEOF
6.2853 -/* confdefs.h. */
6.2854 -_ACEOF
6.2855 -cat confdefs.h >>conftest.$ac_ext
6.2856 -cat >>conftest.$ac_ext <<_ACEOF
6.2857 -/* end confdefs.h. */
6.2858 -
6.2859 -int
6.2860 -main ()
6.2861 -{
6.2862 -
6.2863 - ;
6.2864 - return 0;
6.2865 -}
6.2866 -_ACEOF
6.2867 -rm -f conftest.$ac_objext
6.2868 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.2869 - (eval $ac_compile) 2>conftest.er1
6.2870 - ac_status=$?
6.2871 - grep -v '^ *+' conftest.er1 >conftest.err
6.2872 - rm -f conftest.er1
6.2873 - cat conftest.err >&5
6.2874 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2875 - (exit $ac_status); } &&
6.2876 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.2877 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.2878 - (eval $ac_try) 2>&5
6.2879 - ac_status=$?
6.2880 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2881 - (exit $ac_status); }; } &&
6.2882 - { ac_try='test -s conftest.$ac_objext'
6.2883 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.2884 - (eval $ac_try) 2>&5
6.2885 - ac_status=$?
6.2886 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2887 - (exit $ac_status); }; }; then
6.2888 - ac_cv_prog_cc_g=yes
6.2889 -else
6.2890 - echo "$as_me: failed program was:" >&5
6.2891 -sed 's/^/| /' conftest.$ac_ext >&5
6.2892 -
6.2893 -ac_cv_prog_cc_g=no
6.2894 -fi
6.2895 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.2896 -fi
6.2897 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6.2898 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6.2899 -if test "$ac_test_CFLAGS" = set; then
6.2900 - CFLAGS=$ac_save_CFLAGS
6.2901 -elif test $ac_cv_prog_cc_g = yes; then
6.2902 - if test "$GCC" = yes; then
6.2903 - CFLAGS="-g -O2"
6.2904 - else
6.2905 - CFLAGS="-g"
6.2906 - fi
6.2907 -else
6.2908 - if test "$GCC" = yes; then
6.2909 - CFLAGS="-O2"
6.2910 - else
6.2911 - CFLAGS=
6.2912 - fi
6.2913 -fi
6.2914 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6.2915 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6.2916 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
6.2917 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.2918 -else
6.2919 - ac_cv_prog_cc_stdc=no
6.2920 -ac_save_CC=$CC
6.2921 -cat >conftest.$ac_ext <<_ACEOF
6.2922 -/* confdefs.h. */
6.2923 -_ACEOF
6.2924 -cat confdefs.h >>conftest.$ac_ext
6.2925 -cat >>conftest.$ac_ext <<_ACEOF
6.2926 -/* end confdefs.h. */
6.2927 -#include <stdarg.h>
6.2928 -#include <stdio.h>
6.2929 -#include <sys/types.h>
6.2930 -#include <sys/stat.h>
6.2931 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6.2932 -struct buf { int x; };
6.2933 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
6.2934 -static char *e (p, i)
6.2935 - char **p;
6.2936 - int i;
6.2937 -{
6.2938 - return p[i];
6.2939 -}
6.2940 -static char *f (char * (*g) (char **, int), char **p, ...)
6.2941 -{
6.2942 - char *s;
6.2943 - va_list v;
6.2944 - va_start (v,p);
6.2945 - s = g (p, va_arg (v,int));
6.2946 - va_end (v);
6.2947 - return s;
6.2948 -}
6.2949 -
6.2950 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6.2951 - function prototypes and stuff, but not '\xHH' hex character constants.
6.2952 - These don't provoke an error unfortunately, instead are silently treated
6.2953 - as 'x'. The following induces an error, until -std1 is added to get
6.2954 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6.2955 - array size at least. It's necessary to write '\x00'==0 to get something
6.2956 - that's true only with -std1. */
6.2957 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6.2958 -
6.2959 -int test (int i, double x);
6.2960 -struct s1 {int (*f) (int a);};
6.2961 -struct s2 {int (*f) (double a);};
6.2962 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6.2963 -int argc;
6.2964 -char **argv;
6.2965 -int
6.2966 -main ()
6.2967 -{
6.2968 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6.2969 - ;
6.2970 - return 0;
6.2971 -}
6.2972 -_ACEOF
6.2973 -# Don't try gcc -ansi; that turns off useful extensions and
6.2974 -# breaks some systems' header files.
6.2975 -# AIX -qlanglvl=ansi
6.2976 -# Ultrix and OSF/1 -std1
6.2977 -# HP-UX 10.20 and later -Ae
6.2978 -# HP-UX older versions -Aa -D_HPUX_SOURCE
6.2979 -# SVR4 -Xc -D__EXTENSIONS__
6.2980 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6.2981 -do
6.2982 - CC="$ac_save_CC $ac_arg"
6.2983 - rm -f conftest.$ac_objext
6.2984 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.2985 - (eval $ac_compile) 2>conftest.er1
6.2986 - ac_status=$?
6.2987 - grep -v '^ *+' conftest.er1 >conftest.err
6.2988 - rm -f conftest.er1
6.2989 - cat conftest.err >&5
6.2990 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2991 - (exit $ac_status); } &&
6.2992 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.2993 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.2994 - (eval $ac_try) 2>&5
6.2995 - ac_status=$?
6.2996 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2997 - (exit $ac_status); }; } &&
6.2998 - { ac_try='test -s conftest.$ac_objext'
6.2999 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3000 - (eval $ac_try) 2>&5
6.3001 - ac_status=$?
6.3002 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3003 - (exit $ac_status); }; }; then
6.3004 - ac_cv_prog_cc_stdc=$ac_arg
6.3005 -break
6.3006 -else
6.3007 - echo "$as_me: failed program was:" >&5
6.3008 -sed 's/^/| /' conftest.$ac_ext >&5
6.3009 -
6.3010 -fi
6.3011 -rm -f conftest.err conftest.$ac_objext
6.3012 -done
6.3013 -rm -f conftest.$ac_ext conftest.$ac_objext
6.3014 -CC=$ac_save_CC
6.3015 -
6.3016 -fi
6.3017 -
6.3018 -case "x$ac_cv_prog_cc_stdc" in
6.3019 - x|xno)
6.3020 - echo "$as_me:$LINENO: result: none needed" >&5
6.3021 -echo "${ECHO_T}none needed" >&6 ;;
6.3022 - *)
6.3023 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6.3024 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6.3025 - CC="$CC $ac_cv_prog_cc_stdc" ;;
6.3026 -esac
6.3027 -
6.3028 -# Some people use a C++ compiler to compile C. Since we use `exit',
6.3029 -# in C++ we need to declare it. In case someone uses the same compiler
6.3030 -# for both compiling C and C++ we need to have the C++ compiler decide
6.3031 -# the declaration of exit, since it's the most demanding environment.
6.3032 -cat >conftest.$ac_ext <<_ACEOF
6.3033 -@%:@ifndef __cplusplus
6.3034 - choke me
6.3035 -@%:@endif
6.3036 -_ACEOF
6.3037 -rm -f conftest.$ac_objext
6.3038 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.3039 - (eval $ac_compile) 2>conftest.er1
6.3040 - ac_status=$?
6.3041 - grep -v '^ *+' conftest.er1 >conftest.err
6.3042 - rm -f conftest.er1
6.3043 - cat conftest.err >&5
6.3044 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3045 - (exit $ac_status); } &&
6.3046 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.3047 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3048 - (eval $ac_try) 2>&5
6.3049 - ac_status=$?
6.3050 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3051 - (exit $ac_status); }; } &&
6.3052 - { ac_try='test -s conftest.$ac_objext'
6.3053 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3054 - (eval $ac_try) 2>&5
6.3055 - ac_status=$?
6.3056 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3057 - (exit $ac_status); }; }; then
6.3058 - for ac_declaration in \
6.3059 - '' \
6.3060 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
6.3061 - 'extern "C" void std::exit (int); using std::exit;' \
6.3062 - 'extern "C" void exit (int) throw ();' \
6.3063 - 'extern "C" void exit (int);' \
6.3064 - 'void exit (int);'
6.3065 -do
6.3066 - cat >conftest.$ac_ext <<_ACEOF
6.3067 -/* confdefs.h. */
6.3068 -_ACEOF
6.3069 -cat confdefs.h >>conftest.$ac_ext
6.3070 -cat >>conftest.$ac_ext <<_ACEOF
6.3071 -/* end confdefs.h. */
6.3072 -$ac_declaration
6.3073 -@%:@include <stdlib.h>
6.3074 -int
6.3075 -main ()
6.3076 -{
6.3077 -exit (42);
6.3078 - ;
6.3079 - return 0;
6.3080 -}
6.3081 -_ACEOF
6.3082 -rm -f conftest.$ac_objext
6.3083 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.3084 - (eval $ac_compile) 2>conftest.er1
6.3085 - ac_status=$?
6.3086 - grep -v '^ *+' conftest.er1 >conftest.err
6.3087 - rm -f conftest.er1
6.3088 - cat conftest.err >&5
6.3089 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3090 - (exit $ac_status); } &&
6.3091 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.3092 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3093 - (eval $ac_try) 2>&5
6.3094 - ac_status=$?
6.3095 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3096 - (exit $ac_status); }; } &&
6.3097 - { ac_try='test -s conftest.$ac_objext'
6.3098 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3099 - (eval $ac_try) 2>&5
6.3100 - ac_status=$?
6.3101 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3102 - (exit $ac_status); }; }; then
6.3103 - :
6.3104 -else
6.3105 - echo "$as_me: failed program was:" >&5
6.3106 -sed 's/^/| /' conftest.$ac_ext >&5
6.3107 -
6.3108 -continue
6.3109 -fi
6.3110 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.3111 - cat >conftest.$ac_ext <<_ACEOF
6.3112 -/* confdefs.h. */
6.3113 -_ACEOF
6.3114 -cat confdefs.h >>conftest.$ac_ext
6.3115 -cat >>conftest.$ac_ext <<_ACEOF
6.3116 -/* end confdefs.h. */
6.3117 -$ac_declaration
6.3118 -int
6.3119 -main ()
6.3120 -{
6.3121 -exit (42);
6.3122 - ;
6.3123 - return 0;
6.3124 -}
6.3125 -_ACEOF
6.3126 -rm -f conftest.$ac_objext
6.3127 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.3128 - (eval $ac_compile) 2>conftest.er1
6.3129 - ac_status=$?
6.3130 - grep -v '^ *+' conftest.er1 >conftest.err
6.3131 - rm -f conftest.er1
6.3132 - cat conftest.err >&5
6.3133 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3134 - (exit $ac_status); } &&
6.3135 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.3136 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3137 - (eval $ac_try) 2>&5
6.3138 - ac_status=$?
6.3139 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3140 - (exit $ac_status); }; } &&
6.3141 - { ac_try='test -s conftest.$ac_objext'
6.3142 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3143 - (eval $ac_try) 2>&5
6.3144 - ac_status=$?
6.3145 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3146 - (exit $ac_status); }; }; then
6.3147 - break
6.3148 -else
6.3149 - echo "$as_me: failed program was:" >&5
6.3150 -sed 's/^/| /' conftest.$ac_ext >&5
6.3151 -
6.3152 -fi
6.3153 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.3154 -done
6.3155 -rm -f conftest*
6.3156 -if test -n "$ac_declaration"; then
6.3157 - echo '#ifdef __cplusplus' >>confdefs.h
6.3158 - echo $ac_declaration >>confdefs.h
6.3159 - echo '#endif' >>confdefs.h
6.3160 -fi
6.3161 -
6.3162 -else
6.3163 - echo "$as_me: failed program was:" >&5
6.3164 -sed 's/^/| /' conftest.$ac_ext >&5
6.3165 -
6.3166 -fi
6.3167 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.3168 -ac_ext=c
6.3169 -ac_cpp='$CPP $CPPFLAGS'
6.3170 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.3171 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.3172 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.3173 -
6.3174 -depcc="$CC" am_compiler_list=
6.3175 -
6.3176 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6.3177 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6.3178 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6.3179 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.3180 -else
6.3181 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6.3182 - # We make a subdir and do the tests there. Otherwise we can end up
6.3183 - # making bogus files that we don't know about and never remove. For
6.3184 - # instance it was reported that on HP-UX the gcc test will end up
6.3185 - # making a dummy file named `D' -- because `-MD' means `put the output
6.3186 - # in D'.
6.3187 - mkdir conftest.dir
6.3188 - # Copy depcomp to subdir because otherwise we won't find it if we're
6.3189 - # using a relative directory.
6.3190 - cp "$am_depcomp" conftest.dir
6.3191 - cd conftest.dir
6.3192 - # We will build objects and dependencies in a subdirectory because
6.3193 - # it helps to detect inapplicable dependency modes. For instance
6.3194 - # both Tru64's cc and ICC support -MD to output dependencies as a
6.3195 - # side effect of compilation, but ICC will put the dependencies in
6.3196 - # the current directory while Tru64 will put them in the object
6.3197 - # directory.
6.3198 - mkdir sub
6.3199 -
6.3200 - am_cv_CC_dependencies_compiler_type=none
6.3201 - if test "$am_compiler_list" = ""; then
6.3202 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6.3203 - fi
6.3204 - for depmode in $am_compiler_list; do
6.3205 - # Setup a source with many dependencies, because some compilers
6.3206 - # like to wrap large dependency lists on column 80 (with \), and
6.3207 - # we should not choose a depcomp mode which is confused by this.
6.3208 - #
6.3209 - # We need to recreate these files for each test, as the compiler may
6.3210 - # overwrite some of them when testing with obscure command lines.
6.3211 - # This happens at least with the AIX C compiler.
6.3212 - : > sub/conftest.c
6.3213 - for i in 1 2 3 4 5 6; do
6.3214 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
6.3215 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6.3216 - # Solaris 8's {/usr,}/bin/sh.
6.3217 - touch sub/conftst$i.h
6.3218 - done
6.3219 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6.3220 -
6.3221 - case $depmode in
6.3222 - nosideeffect)
6.3223 - # after this tag, mechanisms are not by side-effect, so they'll
6.3224 - # only be used when explicitly requested
6.3225 - if test "x$enable_dependency_tracking" = xyes; then
6.3226 - continue
6.3227 - else
6.3228 - break
6.3229 - fi
6.3230 - ;;
6.3231 - none) break ;;
6.3232 - esac
6.3233 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
6.3234 - # mode. It turns out that the SunPro C++ compiler does not properly
6.3235 - # handle `-M -o', and we need to detect this.
6.3236 - if depmode=$depmode \
6.3237 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6.3238 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6.3239 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6.3240 - >/dev/null 2>conftest.err &&
6.3241 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6.3242 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6.3243 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6.3244 - # icc doesn't choke on unknown options, it will just issue warnings
6.3245 - # or remarks (even with -Werror). So we grep stderr for any message
6.3246 - # that says an option was ignored or not supported.
6.3247 - # When given -MP, icc 7.0 and 7.1 complain thusly:
6.3248 - # icc: Command line warning: ignoring option '-M'; no argument required
6.3249 - # The diagnosis changed in icc 8.0:
6.3250 - # icc: Command line remark: option '-MP' not supported
6.3251 - if (grep 'ignoring option' conftest.err ||
6.3252 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6.3253 - am_cv_CC_dependencies_compiler_type=$depmode
6.3254 - break
6.3255 - fi
6.3256 - fi
6.3257 - done
6.3258 -
6.3259 - cd ..
6.3260 - rm -rf conftest.dir
6.3261 -else
6.3262 - am_cv_CC_dependencies_compiler_type=none
6.3263 -fi
6.3264 -
6.3265 -fi
6.3266 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6.3267 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6.3268 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6.3269 -
6.3270 -
6.3271 -
6.3272 -if
6.3273 - test "x$enable_dependency_tracking" != xno \
6.3274 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6.3275 - am__fastdepCC_TRUE=
6.3276 - am__fastdepCC_FALSE='#'
6.3277 -else
6.3278 - am__fastdepCC_TRUE='#'
6.3279 - am__fastdepCC_FALSE=
6.3280 -fi
6.3281 -
6.3282 -
6.3283 -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6.3284 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
6.3285 -if test "${lt_cv_path_SED+set}" = set; then
6.3286 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.3287 -else
6.3288 - # Loop through the user's path and test for sed and gsed.
6.3289 -# Then use that list of sed's as ones to test for truncation.
6.3290 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.3291 -for as_dir in $PATH
6.3292 -do
6.3293 - IFS=$as_save_IFS
6.3294 - test -z "$as_dir" && as_dir=.
6.3295 - for lt_ac_prog in sed gsed; do
6.3296 - for ac_exec_ext in '' $ac_executable_extensions; do
6.3297 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
6.3298 - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6.3299 - fi
6.3300 - done
6.3301 - done
6.3302 -done
6.3303 -lt_ac_max=0
6.3304 -lt_ac_count=0
6.3305 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
6.3306 -# along with /bin/sed that truncates output.
6.3307 -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
6.3308 - test ! -f $lt_ac_sed && continue
6.3309 - cat /dev/null > conftest.in
6.3310 - lt_ac_count=0
6.3311 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
6.3312 - # Check for GNU sed and select it if it is found.
6.3313 - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
6.3314 - lt_cv_path_SED=$lt_ac_sed
6.3315 - break
6.3316 - fi
6.3317 - while true; do
6.3318 - cat conftest.in conftest.in >conftest.tmp
6.3319 - mv conftest.tmp conftest.in
6.3320 - cp conftest.in conftest.nl
6.3321 - echo >>conftest.nl
6.3322 - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
6.3323 - cmp -s conftest.out conftest.nl || break
6.3324 - # 10000 chars as input seems more than enough
6.3325 - test $lt_ac_count -gt 10 && break
6.3326 - lt_ac_count=`expr $lt_ac_count + 1`
6.3327 - if test $lt_ac_count -gt $lt_ac_max; then
6.3328 - lt_ac_max=$lt_ac_count
6.3329 - lt_cv_path_SED=$lt_ac_sed
6.3330 - fi
6.3331 - done
6.3332 -done
6.3333 -
6.3334 -fi
6.3335 -
6.3336 -SED=$lt_cv_path_SED
6.3337 -echo "$as_me:$LINENO: result: $SED" >&5
6.3338 -echo "${ECHO_T}$SED" >&6
6.3339 -
6.3340 -echo "$as_me:$LINENO: checking for egrep" >&5
6.3341 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6.3342 -if test "${ac_cv_prog_egrep+set}" = set; then
6.3343 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.3344 -else
6.3345 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6.3346 - then ac_cv_prog_egrep='grep -E'
6.3347 - else ac_cv_prog_egrep='egrep'
6.3348 - fi
6.3349 -fi
6.3350 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6.3351 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6.3352 - EGREP=$ac_cv_prog_egrep
6.3353 -
6.3354 -
6.3355 -
6.3356 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
6.3357 -if test "${with_gnu_ld+set}" = set; then
6.3358 - withval="$with_gnu_ld"
6.3359 - test "$withval" = no || with_gnu_ld=yes
6.3360 -else
6.3361 - with_gnu_ld=no
6.3362 -fi;
6.3363 -ac_prog=ld
6.3364 -if test "$GCC" = yes; then
6.3365 - # Check if gcc -print-prog-name=ld gives a path.
6.3366 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6.3367 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
6.3368 - case $host in
6.3369 - *-*-mingw*)
6.3370 - # gcc leaves a trailing carriage return which upsets mingw
6.3371 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6.3372 - *)
6.3373 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6.3374 - esac
6.3375 - case $ac_prog in
6.3376 - # Accept absolute paths.
6.3377 - [\\/]* | ?:[\\/]*)
6.3378 - re_direlt='/[^/][^/]*/\.\./'
6.3379 - # Canonicalize the pathname of ld
6.3380 - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
6.3381 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6.3382 - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6.3383 - done
6.3384 - test -z "$LD" && LD="$ac_prog"
6.3385 - ;;
6.3386 - "")
6.3387 - # If it fails, then pretend we aren't using GCC.
6.3388 - ac_prog=ld
6.3389 - ;;
6.3390 - *)
6.3391 - # If it is relative, then search for the first ld in PATH.
6.3392 - with_gnu_ld=unknown
6.3393 - ;;
6.3394 - esac
6.3395 -elif test "$with_gnu_ld" = yes; then
6.3396 - echo "$as_me:$LINENO: checking for GNU ld" >&5
6.3397 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
6.3398 -else
6.3399 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6.3400 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
6.3401 -fi
6.3402 -if test "${lt_cv_path_LD+set}" = set; then
6.3403 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.3404 -else
6.3405 - if test -z "$LD"; then
6.3406 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6.3407 - for ac_dir in $PATH; do
6.3408 - IFS="$lt_save_ifs"
6.3409 - test -z "$ac_dir" && ac_dir=.
6.3410 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6.3411 - lt_cv_path_LD="$ac_dir/$ac_prog"
6.3412 - # Check to see if the program is GNU ld. I'd rather use --version,
6.3413 - # but apparently some variants of GNU ld only accept -v.
6.3414 - # Break only if it was the GNU/non-GNU ld that we prefer.
6.3415 - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6.3416 - *GNU* | *'with BFD'*)
6.3417 - test "$with_gnu_ld" != no && break
6.3418 - ;;
6.3419 - *)
6.3420 - test "$with_gnu_ld" != yes && break
6.3421 - ;;
6.3422 - esac
6.3423 - fi
6.3424 - done
6.3425 - IFS="$lt_save_ifs"
6.3426 -else
6.3427 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
6.3428 -fi
6.3429 -fi
6.3430 -
6.3431 -LD="$lt_cv_path_LD"
6.3432 -if test -n "$LD"; then
6.3433 - echo "$as_me:$LINENO: result: $LD" >&5
6.3434 -echo "${ECHO_T}$LD" >&6
6.3435 -else
6.3436 - echo "$as_me:$LINENO: result: no" >&5
6.3437 -echo "${ECHO_T}no" >&6
6.3438 -fi
6.3439 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6.3440 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6.3441 - { (exit 1); exit 1; }; }
6.3442 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6.3443 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
6.3444 -if test "${lt_cv_prog_gnu_ld+set}" = set; then
6.3445 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.3446 -else
6.3447 - # I'd rather use --version here, but apparently some GNU lds only accept -v.
6.3448 -case `$LD -v 2>&1 </dev/null` in
6.3449 -*GNU* | *'with BFD'*)
6.3450 - lt_cv_prog_gnu_ld=yes
6.3451 - ;;
6.3452 -*)
6.3453 - lt_cv_prog_gnu_ld=no
6.3454 - ;;
6.3455 -esac
6.3456 -fi
6.3457 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6.3458 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
6.3459 -with_gnu_ld=$lt_cv_prog_gnu_ld
6.3460 -
6.3461 -
6.3462 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6.3463 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
6.3464 -if test "${lt_cv_ld_reload_flag+set}" = set; then
6.3465 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.3466 -else
6.3467 - lt_cv_ld_reload_flag='-r'
6.3468 -fi
6.3469 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6.3470 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
6.3471 -reload_flag=$lt_cv_ld_reload_flag
6.3472 -case $reload_flag in
6.3473 -"" | " "*) ;;
6.3474 -*) reload_flag=" $reload_flag" ;;
6.3475 -esac
6.3476 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
6.3477 -case $host_os in
6.3478 - darwin*)
6.3479 - if test "$GCC" = yes; then
6.3480 - reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
6.3481 - else
6.3482 - reload_cmds='$LD$reload_flag -o $output$reload_objs'
6.3483 - fi
6.3484 - ;;
6.3485 -esac
6.3486 -
6.3487 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6.3488 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
6.3489 -if test "${lt_cv_path_NM+set}" = set; then
6.3490 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.3491 -else
6.3492 - if test -n "$NM"; then
6.3493 - # Let the user override the test.
6.3494 - lt_cv_path_NM="$NM"
6.3495 -else
6.3496 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6.3497 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
6.3498 - IFS="$lt_save_ifs"
6.3499 - test -z "$ac_dir" && ac_dir=.
6.3500 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
6.3501 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6.3502 - # Check to see if the nm accepts a BSD-compat flag.
6.3503 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6.3504 - # nm: unknown option "B" ignored
6.3505 - # Tru64's nm complains that /dev/null is an invalid object file
6.3506 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6.3507 - */dev/null* | *'Invalid file or object type'*)
6.3508 - lt_cv_path_NM="$tmp_nm -B"
6.3509 - break
6.3510 - ;;
6.3511 - *)
6.3512 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6.3513 - */dev/null*)
6.3514 - lt_cv_path_NM="$tmp_nm -p"
6.3515 - break
6.3516 - ;;
6.3517 - *)
6.3518 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6.3519 - continue # so that we can try to find one that supports BSD flags
6.3520 - ;;
6.3521 - esac
6.3522 - esac
6.3523 - fi
6.3524 - done
6.3525 - IFS="$lt_save_ifs"
6.3526 - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6.3527 -fi
6.3528 -fi
6.3529 -echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6.3530 -echo "${ECHO_T}$lt_cv_path_NM" >&6
6.3531 -NM="$lt_cv_path_NM"
6.3532 -
6.3533 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
6.3534 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
6.3535 -LN_S=$as_ln_s
6.3536 -if test "$LN_S" = "ln -s"; then
6.3537 - echo "$as_me:$LINENO: result: yes" >&5
6.3538 -echo "${ECHO_T}yes" >&6
6.3539 -else
6.3540 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6.3541 -echo "${ECHO_T}no, using $LN_S" >&6
6.3542 -fi
6.3543 -
6.3544 -echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
6.3545 -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
6.3546 -if test "${lt_cv_deplibs_check_method+set}" = set; then
6.3547 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.3548 -else
6.3549 - lt_cv_file_magic_cmd='$MAGIC_CMD'
6.3550 -lt_cv_file_magic_test_file=
6.3551 -lt_cv_deplibs_check_method='unknown'
6.3552 -# Need to set the preceding variable on all platforms that support
6.3553 -# interlibrary dependencies.
6.3554 -# 'none' -- dependencies not supported.
6.3555 -# `unknown' -- same as none, but documents that we really don't know.
6.3556 -# 'pass_all' -- all dependencies passed with no checks.
6.3557 -# 'test_compile' -- check by making test program.
6.3558 -# 'file_magic [[regex]]' -- check by looking for files in library path
6.3559 -# which responds to the $file_magic_cmd with a given extended regex.
6.3560 -# If you have `file' or equivalent on your system and you're not sure
6.3561 -# whether `pass_all' will *always* work, you probably want this one.
6.3562 -
6.3563 -case $host_os in
6.3564 -aix4* | aix5*)
6.3565 - lt_cv_deplibs_check_method=pass_all
6.3566 - ;;
6.3567 -
6.3568 -beos*)
6.3569 - lt_cv_deplibs_check_method=pass_all
6.3570 - ;;
6.3571 -
6.3572 -bsdi[45]*)
6.3573 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6.3574 - lt_cv_file_magic_cmd='/usr/bin/file -L'
6.3575 - lt_cv_file_magic_test_file=/shlib/libc.so
6.3576 - ;;
6.3577 -
6.3578 -cygwin*)
6.3579 - # func_win32_libid is a shell function defined in ltmain.sh
6.3580 - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6.3581 - lt_cv_file_magic_cmd='func_win32_libid'
6.3582 - ;;
6.3583 -
6.3584 -mingw* | pw32*)
6.3585 - # Base MSYS/MinGW do not provide the 'file' command needed by
6.3586 - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
6.3587 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6.3588 - lt_cv_file_magic_cmd='$OBJDUMP -f'
6.3589 - ;;
6.3590 -
6.3591 -darwin* | rhapsody*)
6.3592 - lt_cv_deplibs_check_method=pass_all
6.3593 - ;;
6.3594 -
6.3595 -freebsd* | kfreebsd*-gnu | dragonfly*)
6.3596 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6.3597 - case $host_cpu in
6.3598 - i*86 )
6.3599 - # Not sure whether the presence of OpenBSD here was a mistake.
6.3600 - # Let's accept both of them until this is cleared up.
6.3601 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6.3602 - lt_cv_file_magic_cmd=/usr/bin/file
6.3603 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6.3604 - ;;
6.3605 - esac
6.3606 - else
6.3607 - lt_cv_deplibs_check_method=pass_all
6.3608 - fi
6.3609 - ;;
6.3610 -
6.3611 -gnu*)
6.3612 - lt_cv_deplibs_check_method=pass_all
6.3613 - ;;
6.3614 -
6.3615 -hpux10.20* | hpux11*)
6.3616 - lt_cv_file_magic_cmd=/usr/bin/file
6.3617 - case $host_cpu in
6.3618 - ia64*)
6.3619 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6.3620 - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6.3621 - ;;
6.3622 - hppa*64*)
6.3623 - 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]'
6.3624 - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6.3625 - ;;
6.3626 - *)
6.3627 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6.3628 - lt_cv_file_magic_test_file=/usr/lib/libc.sl
6.3629 - ;;
6.3630 - esac
6.3631 - ;;
6.3632 -
6.3633 -irix5* | irix6* | nonstopux*)
6.3634 - case $LD in
6.3635 - *-32|*"-32 ") libmagic=32-bit;;
6.3636 - *-n32|*"-n32 ") libmagic=N32;;
6.3637 - *-64|*"-64 ") libmagic=64-bit;;
6.3638 - *) libmagic=never-match;;
6.3639 - esac
6.3640 - lt_cv_deplibs_check_method=pass_all
6.3641 - ;;
6.3642 -
6.3643 -# This must be Linux ELF.
6.3644 -linux*)
6.3645 - lt_cv_deplibs_check_method=pass_all
6.3646 - ;;
6.3647 -
6.3648 -netbsd*)
6.3649 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6.3650 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6.3651 - else
6.3652 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6.3653 - fi
6.3654 - ;;
6.3655 -
6.3656 -newos6*)
6.3657 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6.3658 - lt_cv_file_magic_cmd=/usr/bin/file
6.3659 - lt_cv_file_magic_test_file=/usr/lib/libnls.so
6.3660 - ;;
6.3661 -
6.3662 -nto-qnx*)
6.3663 - lt_cv_deplibs_check_method=unknown
6.3664 - ;;
6.3665 -
6.3666 -openbsd*)
6.3667 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.3668 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6.3669 - else
6.3670 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6.3671 - fi
6.3672 - ;;
6.3673 -
6.3674 -osf3* | osf4* | osf5*)
6.3675 - lt_cv_deplibs_check_method=pass_all
6.3676 - ;;
6.3677 -
6.3678 -sco3.2v5*)
6.3679 - lt_cv_deplibs_check_method=pass_all
6.3680 - ;;
6.3681 -
6.3682 -solaris*)
6.3683 - lt_cv_deplibs_check_method=pass_all
6.3684 - ;;
6.3685 -
6.3686 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6.3687 - case $host_vendor in
6.3688 - motorola)
6.3689 - 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]'
6.3690 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6.3691 - ;;
6.3692 - ncr)
6.3693 - lt_cv_deplibs_check_method=pass_all
6.3694 - ;;
6.3695 - sequent)
6.3696 - lt_cv_file_magic_cmd='/bin/file'
6.3697 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6.3698 - ;;
6.3699 - sni)
6.3700 - lt_cv_file_magic_cmd='/bin/file'
6.3701 - lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6.3702 - lt_cv_file_magic_test_file=/lib/libc.so
6.3703 - ;;
6.3704 - siemens)
6.3705 - lt_cv_deplibs_check_method=pass_all
6.3706 - ;;
6.3707 - esac
6.3708 - ;;
6.3709 -
6.3710 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
6.3711 - lt_cv_deplibs_check_method=pass_all
6.3712 - ;;
6.3713 -esac
6.3714 -
6.3715 -fi
6.3716 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6.3717 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6.3718 -file_magic_cmd=$lt_cv_file_magic_cmd
6.3719 -deplibs_check_method=$lt_cv_deplibs_check_method
6.3720 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
6.3721 -
6.3722 -
6.3723 -
6.3724 -
6.3725 -# If no C compiler was specified, use CC.
6.3726 -LTCC=${LTCC-"$CC"}
6.3727 -
6.3728 -# Allow CC to be a program name with arguments.
6.3729 -compiler=$CC
6.3730 -
6.3731 -
6.3732 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6.3733 -if test "${enable_libtool_lock+set}" = set; then
6.3734 - enableval="$enable_libtool_lock"
6.3735 -
6.3736 -fi;
6.3737 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6.3738 -
6.3739 -# Some flags need to be propagated to the compiler or linker for good
6.3740 -# libtool support.
6.3741 -case $host in
6.3742 -ia64-*-hpux*)
6.3743 - # Find out which ABI we are using.
6.3744 - echo 'int i;' > conftest.$ac_ext
6.3745 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.3746 - (eval $ac_compile) 2>&5
6.3747 - ac_status=$?
6.3748 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3749 - (exit $ac_status); }; then
6.3750 - case `/usr/bin/file conftest.$ac_objext` in
6.3751 - *ELF-32*)
6.3752 - HPUX_IA64_MODE="32"
6.3753 - ;;
6.3754 - *ELF-64*)
6.3755 - HPUX_IA64_MODE="64"
6.3756 - ;;
6.3757 - esac
6.3758 - fi
6.3759 - rm -rf conftest*
6.3760 - ;;
6.3761 -*-*-irix6*)
6.3762 - # Find out which ABI we are using.
6.3763 - echo '#line __oline__ "configure"' > conftest.$ac_ext
6.3764 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.3765 - (eval $ac_compile) 2>&5
6.3766 - ac_status=$?
6.3767 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3768 - (exit $ac_status); }; then
6.3769 - if test "$lt_cv_prog_gnu_ld" = yes; then
6.3770 - case `/usr/bin/file conftest.$ac_objext` in
6.3771 - *32-bit*)
6.3772 - LD="${LD-ld} -melf32bsmip"
6.3773 - ;;
6.3774 - *N32*)
6.3775 - LD="${LD-ld} -melf32bmipn32"
6.3776 - ;;
6.3777 - *64-bit*)
6.3778 - LD="${LD-ld} -melf64bmip"
6.3779 - ;;
6.3780 - esac
6.3781 - else
6.3782 - case `/usr/bin/file conftest.$ac_objext` in
6.3783 - *32-bit*)
6.3784 - LD="${LD-ld} -32"
6.3785 - ;;
6.3786 - *N32*)
6.3787 - LD="${LD-ld} -n32"
6.3788 - ;;
6.3789 - *64-bit*)
6.3790 - LD="${LD-ld} -64"
6.3791 - ;;
6.3792 - esac
6.3793 - fi
6.3794 - fi
6.3795 - rm -rf conftest*
6.3796 - ;;
6.3797 -
6.3798 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
6.3799 - # Find out which ABI we are using.
6.3800 - echo 'int i;' > conftest.$ac_ext
6.3801 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.3802 - (eval $ac_compile) 2>&5
6.3803 - ac_status=$?
6.3804 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3805 - (exit $ac_status); }; then
6.3806 - case `/usr/bin/file conftest.o` in
6.3807 - *32-bit*)
6.3808 - case $host in
6.3809 - x86_64-*linux*)
6.3810 - LD="${LD-ld} -m elf_i386"
6.3811 - ;;
6.3812 - ppc64-*linux*|powerpc64-*linux*)
6.3813 - LD="${LD-ld} -m elf32ppclinux"
6.3814 - ;;
6.3815 - s390x-*linux*)
6.3816 - LD="${LD-ld} -m elf_s390"
6.3817 - ;;
6.3818 - sparc64-*linux*)
6.3819 - LD="${LD-ld} -m elf32_sparc"
6.3820 - ;;
6.3821 - esac
6.3822 - ;;
6.3823 - *64-bit*)
6.3824 - case $host in
6.3825 - x86_64-*linux*)
6.3826 - LD="${LD-ld} -m elf_x86_64"
6.3827 - ;;
6.3828 - ppc*-*linux*|powerpc*-*linux*)
6.3829 - LD="${LD-ld} -m elf64ppc"
6.3830 - ;;
6.3831 - s390*-*linux*)
6.3832 - LD="${LD-ld} -m elf64_s390"
6.3833 - ;;
6.3834 - sparc*-*linux*)
6.3835 - LD="${LD-ld} -m elf64_sparc"
6.3836 - ;;
6.3837 - esac
6.3838 - ;;
6.3839 - esac
6.3840 - fi
6.3841 - rm -rf conftest*
6.3842 - ;;
6.3843 -
6.3844 -*-*-sco3.2v5*)
6.3845 - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6.3846 - SAVE_CFLAGS="$CFLAGS"
6.3847 - CFLAGS="$CFLAGS -belf"
6.3848 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6.3849 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6.3850 -if test "${lt_cv_cc_needs_belf+set}" = set; then
6.3851 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.3852 -else
6.3853 - ac_ext=c
6.3854 -ac_cpp='$CPP $CPPFLAGS'
6.3855 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.3856 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.3857 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.3858 -
6.3859 - cat >conftest.$ac_ext <<_ACEOF
6.3860 -/* confdefs.h. */
6.3861 -_ACEOF
6.3862 -cat confdefs.h >>conftest.$ac_ext
6.3863 -cat >>conftest.$ac_ext <<_ACEOF
6.3864 -/* end confdefs.h. */
6.3865 -
6.3866 -int
6.3867 -main ()
6.3868 -{
6.3869 -
6.3870 - ;
6.3871 - return 0;
6.3872 -}
6.3873 -_ACEOF
6.3874 -rm -f conftest.$ac_objext conftest$ac_exeext
6.3875 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.3876 - (eval $ac_link) 2>conftest.er1
6.3877 - ac_status=$?
6.3878 - grep -v '^ *+' conftest.er1 >conftest.err
6.3879 - rm -f conftest.er1
6.3880 - cat conftest.err >&5
6.3881 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3882 - (exit $ac_status); } &&
6.3883 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.3884 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3885 - (eval $ac_try) 2>&5
6.3886 - ac_status=$?
6.3887 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3888 - (exit $ac_status); }; } &&
6.3889 - { ac_try='test -s conftest$ac_exeext'
6.3890 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3891 - (eval $ac_try) 2>&5
6.3892 - ac_status=$?
6.3893 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3894 - (exit $ac_status); }; }; then
6.3895 - lt_cv_cc_needs_belf=yes
6.3896 -else
6.3897 - echo "$as_me: failed program was:" >&5
6.3898 -sed 's/^/| /' conftest.$ac_ext >&5
6.3899 -
6.3900 -lt_cv_cc_needs_belf=no
6.3901 -fi
6.3902 -rm -f conftest.err conftest.$ac_objext \
6.3903 - conftest$ac_exeext conftest.$ac_ext
6.3904 - ac_ext=c
6.3905 -ac_cpp='$CPP $CPPFLAGS'
6.3906 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.3907 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.3908 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.3909 -
6.3910 -fi
6.3911 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6.3912 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6.3913 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6.3914 - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6.3915 - CFLAGS="$SAVE_CFLAGS"
6.3916 - fi
6.3917 - ;;
6.3918 -
6.3919 -esac
6.3920 -
6.3921 -need_locks="$enable_libtool_lock"
6.3922 -
6.3923 -
6.3924 -ac_ext=c
6.3925 -ac_cpp='$CPP $CPPFLAGS'
6.3926 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.3927 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.3928 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.3929 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6.3930 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6.3931 -# On Suns, sometimes $CPP names a directory.
6.3932 -if test -n "$CPP" && test -d "$CPP"; then
6.3933 - CPP=
6.3934 -fi
6.3935 -if test -z "$CPP"; then
6.3936 - if test "${ac_cv_prog_CPP+set}" = set; then
6.3937 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.3938 -else
6.3939 - # Double quotes because CPP needs to be expanded
6.3940 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6.3941 - do
6.3942 - ac_preproc_ok=false
6.3943 -for ac_c_preproc_warn_flag in '' yes
6.3944 -do
6.3945 - # Use a header file that comes with gcc, so configuring glibc
6.3946 - # with a fresh cross-compiler works.
6.3947 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.3948 - # <limits.h> exists even on freestanding compilers.
6.3949 - # On the NeXT, cc -E runs the code through the compiler's parser,
6.3950 - # not just through cpp. "Syntax error" is here to catch this case.
6.3951 - cat >conftest.$ac_ext <<_ACEOF
6.3952 -/* confdefs.h. */
6.3953 -_ACEOF
6.3954 -cat confdefs.h >>conftest.$ac_ext
6.3955 -cat >>conftest.$ac_ext <<_ACEOF
6.3956 -/* end confdefs.h. */
6.3957 -@%:@ifdef __STDC__
6.3958 -@%:@ include <limits.h>
6.3959 -@%:@else
6.3960 -@%:@ include <assert.h>
6.3961 -@%:@endif
6.3962 - Syntax error
6.3963 -_ACEOF
6.3964 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.3965 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.3966 - ac_status=$?
6.3967 - grep -v '^ *+' conftest.er1 >conftest.err
6.3968 - rm -f conftest.er1
6.3969 - cat conftest.err >&5
6.3970 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3971 - (exit $ac_status); } >/dev/null; then
6.3972 - if test -s conftest.err; then
6.3973 - ac_cpp_err=$ac_c_preproc_warn_flag
6.3974 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6.3975 - else
6.3976 - ac_cpp_err=
6.3977 - fi
6.3978 -else
6.3979 - ac_cpp_err=yes
6.3980 -fi
6.3981 -if test -z "$ac_cpp_err"; then
6.3982 - :
6.3983 -else
6.3984 - echo "$as_me: failed program was:" >&5
6.3985 -sed 's/^/| /' conftest.$ac_ext >&5
6.3986 -
6.3987 - # Broken: fails on valid input.
6.3988 -continue
6.3989 -fi
6.3990 -rm -f conftest.err conftest.$ac_ext
6.3991 -
6.3992 - # OK, works on sane cases. Now check whether non-existent headers
6.3993 - # can be detected and how.
6.3994 - cat >conftest.$ac_ext <<_ACEOF
6.3995 -/* confdefs.h. */
6.3996 -_ACEOF
6.3997 -cat confdefs.h >>conftest.$ac_ext
6.3998 -cat >>conftest.$ac_ext <<_ACEOF
6.3999 -/* end confdefs.h. */
6.4000 -@%:@include <ac_nonexistent.h>
6.4001 -_ACEOF
6.4002 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.4003 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.4004 - ac_status=$?
6.4005 - grep -v '^ *+' conftest.er1 >conftest.err
6.4006 - rm -f conftest.er1
6.4007 - cat conftest.err >&5
6.4008 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4009 - (exit $ac_status); } >/dev/null; then
6.4010 - if test -s conftest.err; then
6.4011 - ac_cpp_err=$ac_c_preproc_warn_flag
6.4012 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6.4013 - else
6.4014 - ac_cpp_err=
6.4015 - fi
6.4016 -else
6.4017 - ac_cpp_err=yes
6.4018 -fi
6.4019 -if test -z "$ac_cpp_err"; then
6.4020 - # Broken: success on invalid input.
6.4021 -continue
6.4022 -else
6.4023 - echo "$as_me: failed program was:" >&5
6.4024 -sed 's/^/| /' conftest.$ac_ext >&5
6.4025 -
6.4026 - # Passes both tests.
6.4027 -ac_preproc_ok=:
6.4028 -break
6.4029 -fi
6.4030 -rm -f conftest.err conftest.$ac_ext
6.4031 -
6.4032 -done
6.4033 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6.4034 -rm -f conftest.err conftest.$ac_ext
6.4035 -if $ac_preproc_ok; then
6.4036 - break
6.4037 -fi
6.4038 -
6.4039 - done
6.4040 - ac_cv_prog_CPP=$CPP
6.4041 -
6.4042 -fi
6.4043 - CPP=$ac_cv_prog_CPP
6.4044 -else
6.4045 - ac_cv_prog_CPP=$CPP
6.4046 -fi
6.4047 -echo "$as_me:$LINENO: result: $CPP" >&5
6.4048 -echo "${ECHO_T}$CPP" >&6
6.4049 -ac_preproc_ok=false
6.4050 -for ac_c_preproc_warn_flag in '' yes
6.4051 -do
6.4052 - # Use a header file that comes with gcc, so configuring glibc
6.4053 - # with a fresh cross-compiler works.
6.4054 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.4055 - # <limits.h> exists even on freestanding compilers.
6.4056 - # On the NeXT, cc -E runs the code through the compiler's parser,
6.4057 - # not just through cpp. "Syntax error" is here to catch this case.
6.4058 - cat >conftest.$ac_ext <<_ACEOF
6.4059 -/* confdefs.h. */
6.4060 -_ACEOF
6.4061 -cat confdefs.h >>conftest.$ac_ext
6.4062 -cat >>conftest.$ac_ext <<_ACEOF
6.4063 -/* end confdefs.h. */
6.4064 -@%:@ifdef __STDC__
6.4065 -@%:@ include <limits.h>
6.4066 -@%:@else
6.4067 -@%:@ include <assert.h>
6.4068 -@%:@endif
6.4069 - Syntax error
6.4070 -_ACEOF
6.4071 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.4072 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.4073 - ac_status=$?
6.4074 - grep -v '^ *+' conftest.er1 >conftest.err
6.4075 - rm -f conftest.er1
6.4076 - cat conftest.err >&5
6.4077 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4078 - (exit $ac_status); } >/dev/null; then
6.4079 - if test -s conftest.err; then
6.4080 - ac_cpp_err=$ac_c_preproc_warn_flag
6.4081 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6.4082 - else
6.4083 - ac_cpp_err=
6.4084 - fi
6.4085 -else
6.4086 - ac_cpp_err=yes
6.4087 -fi
6.4088 -if test -z "$ac_cpp_err"; then
6.4089 - :
6.4090 -else
6.4091 - echo "$as_me: failed program was:" >&5
6.4092 -sed 's/^/| /' conftest.$ac_ext >&5
6.4093 -
6.4094 - # Broken: fails on valid input.
6.4095 -continue
6.4096 -fi
6.4097 -rm -f conftest.err conftest.$ac_ext
6.4098 -
6.4099 - # OK, works on sane cases. Now check whether non-existent headers
6.4100 - # can be detected and how.
6.4101 - cat >conftest.$ac_ext <<_ACEOF
6.4102 -/* confdefs.h. */
6.4103 -_ACEOF
6.4104 -cat confdefs.h >>conftest.$ac_ext
6.4105 -cat >>conftest.$ac_ext <<_ACEOF
6.4106 -/* end confdefs.h. */
6.4107 -@%:@include <ac_nonexistent.h>
6.4108 -_ACEOF
6.4109 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.4110 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.4111 - ac_status=$?
6.4112 - grep -v '^ *+' conftest.er1 >conftest.err
6.4113 - rm -f conftest.er1
6.4114 - cat conftest.err >&5
6.4115 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4116 - (exit $ac_status); } >/dev/null; then
6.4117 - if test -s conftest.err; then
6.4118 - ac_cpp_err=$ac_c_preproc_warn_flag
6.4119 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6.4120 - else
6.4121 - ac_cpp_err=
6.4122 - fi
6.4123 -else
6.4124 - ac_cpp_err=yes
6.4125 -fi
6.4126 -if test -z "$ac_cpp_err"; then
6.4127 - # Broken: success on invalid input.
6.4128 -continue
6.4129 -else
6.4130 - echo "$as_me: failed program was:" >&5
6.4131 -sed 's/^/| /' conftest.$ac_ext >&5
6.4132 -
6.4133 - # Passes both tests.
6.4134 -ac_preproc_ok=:
6.4135 -break
6.4136 -fi
6.4137 -rm -f conftest.err conftest.$ac_ext
6.4138 -
6.4139 -done
6.4140 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6.4141 -rm -f conftest.err conftest.$ac_ext
6.4142 -if $ac_preproc_ok; then
6.4143 - :
6.4144 -else
6.4145 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6.4146 -See \`config.log' for more details." >&5
6.4147 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6.4148 -See \`config.log' for more details." >&2;}
6.4149 - { (exit 1); exit 1; }; }
6.4150 -fi
6.4151 -
6.4152 -ac_ext=c
6.4153 -ac_cpp='$CPP $CPPFLAGS'
6.4154 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.4155 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.4156 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.4157 -
6.4158 -
6.4159 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6.4160 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6.4161 -if test "${ac_cv_header_stdc+set}" = set; then
6.4162 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.4163 -else
6.4164 - cat >conftest.$ac_ext <<_ACEOF
6.4165 -/* confdefs.h. */
6.4166 -_ACEOF
6.4167 -cat confdefs.h >>conftest.$ac_ext
6.4168 -cat >>conftest.$ac_ext <<_ACEOF
6.4169 -/* end confdefs.h. */
6.4170 -#include <stdlib.h>
6.4171 -#include <stdarg.h>
6.4172 -#include <string.h>
6.4173 -#include <float.h>
6.4174 -
6.4175 -int
6.4176 -main ()
6.4177 -{
6.4178 -
6.4179 - ;
6.4180 - return 0;
6.4181 -}
6.4182 -_ACEOF
6.4183 -rm -f conftest.$ac_objext
6.4184 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.4185 - (eval $ac_compile) 2>conftest.er1
6.4186 - ac_status=$?
6.4187 - grep -v '^ *+' conftest.er1 >conftest.err
6.4188 - rm -f conftest.er1
6.4189 - cat conftest.err >&5
6.4190 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4191 - (exit $ac_status); } &&
6.4192 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.4193 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4194 - (eval $ac_try) 2>&5
6.4195 - ac_status=$?
6.4196 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4197 - (exit $ac_status); }; } &&
6.4198 - { ac_try='test -s conftest.$ac_objext'
6.4199 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4200 - (eval $ac_try) 2>&5
6.4201 - ac_status=$?
6.4202 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4203 - (exit $ac_status); }; }; then
6.4204 - ac_cv_header_stdc=yes
6.4205 -else
6.4206 - echo "$as_me: failed program was:" >&5
6.4207 -sed 's/^/| /' conftest.$ac_ext >&5
6.4208 -
6.4209 -ac_cv_header_stdc=no
6.4210 -fi
6.4211 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.4212 -
6.4213 -if test $ac_cv_header_stdc = yes; then
6.4214 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6.4215 - cat >conftest.$ac_ext <<_ACEOF
6.4216 -/* confdefs.h. */
6.4217 -_ACEOF
6.4218 -cat confdefs.h >>conftest.$ac_ext
6.4219 -cat >>conftest.$ac_ext <<_ACEOF
6.4220 -/* end confdefs.h. */
6.4221 -#include <string.h>
6.4222 -
6.4223 -_ACEOF
6.4224 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6.4225 - $EGREP "memchr" >/dev/null 2>&1; then
6.4226 - :
6.4227 -else
6.4228 - ac_cv_header_stdc=no
6.4229 -fi
6.4230 -rm -f conftest*
6.4231 -
6.4232 -fi
6.4233 -
6.4234 -if test $ac_cv_header_stdc = yes; then
6.4235 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6.4236 - cat >conftest.$ac_ext <<_ACEOF
6.4237 -/* confdefs.h. */
6.4238 -_ACEOF
6.4239 -cat confdefs.h >>conftest.$ac_ext
6.4240 -cat >>conftest.$ac_ext <<_ACEOF
6.4241 -/* end confdefs.h. */
6.4242 -#include <stdlib.h>
6.4243 -
6.4244 -_ACEOF
6.4245 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6.4246 - $EGREP "free" >/dev/null 2>&1; then
6.4247 - :
6.4248 -else
6.4249 - ac_cv_header_stdc=no
6.4250 -fi
6.4251 -rm -f conftest*
6.4252 -
6.4253 -fi
6.4254 -
6.4255 -if test $ac_cv_header_stdc = yes; then
6.4256 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6.4257 - if test "$cross_compiling" = yes; then
6.4258 - :
6.4259 -else
6.4260 - cat >conftest.$ac_ext <<_ACEOF
6.4261 -/* confdefs.h. */
6.4262 -_ACEOF
6.4263 -cat confdefs.h >>conftest.$ac_ext
6.4264 -cat >>conftest.$ac_ext <<_ACEOF
6.4265 -/* end confdefs.h. */
6.4266 -#include <ctype.h>
6.4267 -#if ((' ' & 0x0FF) == 0x020)
6.4268 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6.4269 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6.4270 -#else
6.4271 -# define ISLOWER(c) \
6.4272 - (('a' <= (c) && (c) <= 'i') \
6.4273 - || ('j' <= (c) && (c) <= 'r') \
6.4274 - || ('s' <= (c) && (c) <= 'z'))
6.4275 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6.4276 -#endif
6.4277 -
6.4278 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6.4279 -int
6.4280 -main ()
6.4281 -{
6.4282 - int i;
6.4283 - for (i = 0; i < 256; i++)
6.4284 - if (XOR (islower (i), ISLOWER (i))
6.4285 - || toupper (i) != TOUPPER (i))
6.4286 - exit(2);
6.4287 - exit (0);
6.4288 -}
6.4289 -_ACEOF
6.4290 -rm -f conftest$ac_exeext
6.4291 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.4292 - (eval $ac_link) 2>&5
6.4293 - ac_status=$?
6.4294 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4295 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6.4296 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4297 - (eval $ac_try) 2>&5
6.4298 - ac_status=$?
6.4299 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4300 - (exit $ac_status); }; }; then
6.4301 - :
6.4302 -else
6.4303 - echo "$as_me: program exited with status $ac_status" >&5
6.4304 -echo "$as_me: failed program was:" >&5
6.4305 -sed 's/^/| /' conftest.$ac_ext >&5
6.4306 -
6.4307 -( exit $ac_status )
6.4308 -ac_cv_header_stdc=no
6.4309 -fi
6.4310 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6.4311 -fi
6.4312 -fi
6.4313 -fi
6.4314 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6.4315 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
6.4316 -if test $ac_cv_header_stdc = yes; then
6.4317 -
6.4318 -cat >>confdefs.h <<\_ACEOF
6.4319 -@%:@define STDC_HEADERS 1
6.4320 -_ACEOF
6.4321 -
6.4322 -fi
6.4323 -
6.4324 -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6.4325 -
6.4326 -
6.4327 -
6.4328 -
6.4329 -
6.4330 -
6.4331 -
6.4332 -
6.4333 -
6.4334 -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6.4335 - inttypes.h stdint.h unistd.h
6.4336 -do
6.4337 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6.4338 -echo "$as_me:$LINENO: checking for $ac_header" >&5
6.4339 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6.4340 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
6.4341 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.4342 -else
6.4343 - cat >conftest.$ac_ext <<_ACEOF
6.4344 -/* confdefs.h. */
6.4345 -_ACEOF
6.4346 -cat confdefs.h >>conftest.$ac_ext
6.4347 -cat >>conftest.$ac_ext <<_ACEOF
6.4348 -/* end confdefs.h. */
6.4349 -$ac_includes_default
6.4350 -
6.4351 -@%:@include <$ac_header>
6.4352 -_ACEOF
6.4353 -rm -f conftest.$ac_objext
6.4354 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.4355 - (eval $ac_compile) 2>conftest.er1
6.4356 - ac_status=$?
6.4357 - grep -v '^ *+' conftest.er1 >conftest.err
6.4358 - rm -f conftest.er1
6.4359 - cat conftest.err >&5
6.4360 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4361 - (exit $ac_status); } &&
6.4362 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.4363 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4364 - (eval $ac_try) 2>&5
6.4365 - ac_status=$?
6.4366 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4367 - (exit $ac_status); }; } &&
6.4368 - { ac_try='test -s conftest.$ac_objext'
6.4369 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4370 - (eval $ac_try) 2>&5
6.4371 - ac_status=$?
6.4372 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4373 - (exit $ac_status); }; }; then
6.4374 - eval "$as_ac_Header=yes"
6.4375 -else
6.4376 - echo "$as_me: failed program was:" >&5
6.4377 -sed 's/^/| /' conftest.$ac_ext >&5
6.4378 -
6.4379 -eval "$as_ac_Header=no"
6.4380 -fi
6.4381 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.4382 -fi
6.4383 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6.4384 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6.4385 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
6.4386 - cat >>confdefs.h <<_ACEOF
6.4387 -@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6.4388 -_ACEOF
6.4389 -
6.4390 -fi
6.4391 -
6.4392 -done
6.4393 -
6.4394 -
6.4395 -
6.4396 -for ac_header in dlfcn.h
6.4397 -do
6.4398 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6.4399 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
6.4400 - echo "$as_me:$LINENO: checking for $ac_header" >&5
6.4401 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6.4402 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
6.4403 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.4404 -fi
6.4405 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6.4406 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6.4407 -else
6.4408 - # Is the header compilable?
6.4409 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
6.4410 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6.4411 -cat >conftest.$ac_ext <<_ACEOF
6.4412 -/* confdefs.h. */
6.4413 -_ACEOF
6.4414 -cat confdefs.h >>conftest.$ac_ext
6.4415 -cat >>conftest.$ac_ext <<_ACEOF
6.4416 -/* end confdefs.h. */
6.4417 -$ac_includes_default
6.4418 -@%:@include <$ac_header>
6.4419 -_ACEOF
6.4420 -rm -f conftest.$ac_objext
6.4421 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.4422 - (eval $ac_compile) 2>conftest.er1
6.4423 - ac_status=$?
6.4424 - grep -v '^ *+' conftest.er1 >conftest.err
6.4425 - rm -f conftest.er1
6.4426 - cat conftest.err >&5
6.4427 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4428 - (exit $ac_status); } &&
6.4429 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.4430 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4431 - (eval $ac_try) 2>&5
6.4432 - ac_status=$?
6.4433 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4434 - (exit $ac_status); }; } &&
6.4435 - { ac_try='test -s conftest.$ac_objext'
6.4436 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4437 - (eval $ac_try) 2>&5
6.4438 - ac_status=$?
6.4439 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4440 - (exit $ac_status); }; }; then
6.4441 - ac_header_compiler=yes
6.4442 -else
6.4443 - echo "$as_me: failed program was:" >&5
6.4444 -sed 's/^/| /' conftest.$ac_ext >&5
6.4445 -
6.4446 -ac_header_compiler=no
6.4447 -fi
6.4448 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.4449 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6.4450 -echo "${ECHO_T}$ac_header_compiler" >&6
6.4451 -
6.4452 -# Is the header present?
6.4453 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
6.4454 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6.4455 -cat >conftest.$ac_ext <<_ACEOF
6.4456 -/* confdefs.h. */
6.4457 -_ACEOF
6.4458 -cat confdefs.h >>conftest.$ac_ext
6.4459 -cat >>conftest.$ac_ext <<_ACEOF
6.4460 -/* end confdefs.h. */
6.4461 -@%:@include <$ac_header>
6.4462 -_ACEOF
6.4463 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.4464 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.4465 - ac_status=$?
6.4466 - grep -v '^ *+' conftest.er1 >conftest.err
6.4467 - rm -f conftest.er1
6.4468 - cat conftest.err >&5
6.4469 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4470 - (exit $ac_status); } >/dev/null; then
6.4471 - if test -s conftest.err; then
6.4472 - ac_cpp_err=$ac_c_preproc_warn_flag
6.4473 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6.4474 - else
6.4475 - ac_cpp_err=
6.4476 - fi
6.4477 -else
6.4478 - ac_cpp_err=yes
6.4479 -fi
6.4480 -if test -z "$ac_cpp_err"; then
6.4481 - ac_header_preproc=yes
6.4482 -else
6.4483 - echo "$as_me: failed program was:" >&5
6.4484 -sed 's/^/| /' conftest.$ac_ext >&5
6.4485 -
6.4486 - ac_header_preproc=no
6.4487 -fi
6.4488 -rm -f conftest.err conftest.$ac_ext
6.4489 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6.4490 -echo "${ECHO_T}$ac_header_preproc" >&6
6.4491 -
6.4492 -# So? What about this header?
6.4493 -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6.4494 - yes:no: )
6.4495 - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6.4496 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6.4497 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6.4498 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6.4499 - ac_header_preproc=yes
6.4500 - ;;
6.4501 - no:yes:* )
6.4502 - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6.4503 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6.4504 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6.4505 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6.4506 - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6.4507 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6.4508 - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6.4509 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6.4510 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6.4511 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6.4512 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6.4513 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6.4514 - (
6.4515 - cat <<\_ASBOX
6.4516 -@%:@@%:@ ------------------------------------------ @%:@@%:@
6.4517 -@%:@@%:@ Report this to the AC_PACKAGE_NAME lists. @%:@@%:@
6.4518 -@%:@@%:@ ------------------------------------------ @%:@@%:@
6.4519 -_ASBOX
6.4520 - ) |
6.4521 - sed "s/^/$as_me: WARNING: /" >&2
6.4522 - ;;
6.4523 -esac
6.4524 -echo "$as_me:$LINENO: checking for $ac_header" >&5
6.4525 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6.4526 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
6.4527 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.4528 -else
6.4529 - eval "$as_ac_Header=\$ac_header_preproc"
6.4530 -fi
6.4531 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6.4532 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6.4533 -
6.4534 -fi
6.4535 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
6.4536 - cat >>confdefs.h <<_ACEOF
6.4537 -@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6.4538 -_ACEOF
6.4539 -
6.4540 -fi
6.4541 -
6.4542 -done
6.4543 -
6.4544 -ac_ext=cc
6.4545 -ac_cpp='$CXXCPP $CPPFLAGS'
6.4546 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.4547 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.4548 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6.4549 -if test -n "$ac_tool_prefix"; then
6.4550 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6.4551 - do
6.4552 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6.4553 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6.4554 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.4555 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.4556 -if test "${ac_cv_prog_CXX+set}" = set; then
6.4557 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.4558 -else
6.4559 - if test -n "$CXX"; then
6.4560 - ac_cv_prog_CXX="$CXX" # Let the user override the test.
6.4561 -else
6.4562 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.4563 -for as_dir in $PATH
6.4564 -do
6.4565 - IFS=$as_save_IFS
6.4566 - test -z "$as_dir" && as_dir=.
6.4567 - for ac_exec_ext in '' $ac_executable_extensions; do
6.4568 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.4569 - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6.4570 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.4571 - break 2
6.4572 - fi
6.4573 -done
6.4574 -done
6.4575 -
6.4576 -fi
6.4577 -fi
6.4578 -CXX=$ac_cv_prog_CXX
6.4579 -if test -n "$CXX"; then
6.4580 - echo "$as_me:$LINENO: result: $CXX" >&5
6.4581 -echo "${ECHO_T}$CXX" >&6
6.4582 -else
6.4583 - echo "$as_me:$LINENO: result: no" >&5
6.4584 -echo "${ECHO_T}no" >&6
6.4585 -fi
6.4586 -
6.4587 - test -n "$CXX" && break
6.4588 - done
6.4589 -fi
6.4590 -if test -z "$CXX"; then
6.4591 - ac_ct_CXX=$CXX
6.4592 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6.4593 -do
6.4594 - # Extract the first word of "$ac_prog", so it can be a program name with args.
6.4595 -set dummy $ac_prog; ac_word=$2
6.4596 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.4597 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.4598 -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6.4599 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.4600 -else
6.4601 - if test -n "$ac_ct_CXX"; then
6.4602 - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6.4603 -else
6.4604 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.4605 -for as_dir in $PATH
6.4606 -do
6.4607 - IFS=$as_save_IFS
6.4608 - test -z "$as_dir" && as_dir=.
6.4609 - for ac_exec_ext in '' $ac_executable_extensions; do
6.4610 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.4611 - ac_cv_prog_ac_ct_CXX="$ac_prog"
6.4612 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.4613 - break 2
6.4614 - fi
6.4615 -done
6.4616 -done
6.4617 -
6.4618 -fi
6.4619 -fi
6.4620 -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6.4621 -if test -n "$ac_ct_CXX"; then
6.4622 - echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6.4623 -echo "${ECHO_T}$ac_ct_CXX" >&6
6.4624 -else
6.4625 - echo "$as_me:$LINENO: result: no" >&5
6.4626 -echo "${ECHO_T}no" >&6
6.4627 -fi
6.4628 -
6.4629 - test -n "$ac_ct_CXX" && break
6.4630 -done
6.4631 -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6.4632 -
6.4633 - CXX=$ac_ct_CXX
6.4634 -fi
6.4635 -
6.4636 -
6.4637 -# Provide some information about the compiler.
6.4638 -echo "$as_me:$LINENO:" \
6.4639 - "checking for C++ compiler version" >&5
6.4640 -ac_compiler=`set X $ac_compile; echo $2`
6.4641 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6.4642 - (eval $ac_compiler --version </dev/null >&5) 2>&5
6.4643 - ac_status=$?
6.4644 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4645 - (exit $ac_status); }
6.4646 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6.4647 - (eval $ac_compiler -v </dev/null >&5) 2>&5
6.4648 - ac_status=$?
6.4649 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4650 - (exit $ac_status); }
6.4651 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6.4652 - (eval $ac_compiler -V </dev/null >&5) 2>&5
6.4653 - ac_status=$?
6.4654 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4655 - (exit $ac_status); }
6.4656 -
6.4657 -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6.4658 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6.4659 -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6.4660 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.4661 -else
6.4662 - cat >conftest.$ac_ext <<_ACEOF
6.4663 -/* confdefs.h. */
6.4664 -_ACEOF
6.4665 -cat confdefs.h >>conftest.$ac_ext
6.4666 -cat >>conftest.$ac_ext <<_ACEOF
6.4667 -/* end confdefs.h. */
6.4668 -
6.4669 -int
6.4670 -main ()
6.4671 -{
6.4672 -#ifndef __GNUC__
6.4673 - choke me
6.4674 -#endif
6.4675 -
6.4676 - ;
6.4677 - return 0;
6.4678 -}
6.4679 -_ACEOF
6.4680 -rm -f conftest.$ac_objext
6.4681 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.4682 - (eval $ac_compile) 2>conftest.er1
6.4683 - ac_status=$?
6.4684 - grep -v '^ *+' conftest.er1 >conftest.err
6.4685 - rm -f conftest.er1
6.4686 - cat conftest.err >&5
6.4687 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4688 - (exit $ac_status); } &&
6.4689 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.4690 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4691 - (eval $ac_try) 2>&5
6.4692 - ac_status=$?
6.4693 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4694 - (exit $ac_status); }; } &&
6.4695 - { ac_try='test -s conftest.$ac_objext'
6.4696 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4697 - (eval $ac_try) 2>&5
6.4698 - ac_status=$?
6.4699 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4700 - (exit $ac_status); }; }; then
6.4701 - ac_compiler_gnu=yes
6.4702 -else
6.4703 - echo "$as_me: failed program was:" >&5
6.4704 -sed 's/^/| /' conftest.$ac_ext >&5
6.4705 -
6.4706 -ac_compiler_gnu=no
6.4707 -fi
6.4708 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.4709 -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6.4710 -
6.4711 -fi
6.4712 -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6.4713 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6.4714 -GXX=`test $ac_compiler_gnu = yes && echo yes`
6.4715 -ac_test_CXXFLAGS=${CXXFLAGS+set}
6.4716 -ac_save_CXXFLAGS=$CXXFLAGS
6.4717 -CXXFLAGS="-g"
6.4718 -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6.4719 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6.4720 -if test "${ac_cv_prog_cxx_g+set}" = set; then
6.4721 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.4722 -else
6.4723 - cat >conftest.$ac_ext <<_ACEOF
6.4724 -/* confdefs.h. */
6.4725 -_ACEOF
6.4726 -cat confdefs.h >>conftest.$ac_ext
6.4727 -cat >>conftest.$ac_ext <<_ACEOF
6.4728 -/* end confdefs.h. */
6.4729 -
6.4730 -int
6.4731 -main ()
6.4732 -{
6.4733 -
6.4734 - ;
6.4735 - return 0;
6.4736 -}
6.4737 -_ACEOF
6.4738 -rm -f conftest.$ac_objext
6.4739 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.4740 - (eval $ac_compile) 2>conftest.er1
6.4741 - ac_status=$?
6.4742 - grep -v '^ *+' conftest.er1 >conftest.err
6.4743 - rm -f conftest.er1
6.4744 - cat conftest.err >&5
6.4745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4746 - (exit $ac_status); } &&
6.4747 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.4748 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4749 - (eval $ac_try) 2>&5
6.4750 - ac_status=$?
6.4751 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4752 - (exit $ac_status); }; } &&
6.4753 - { ac_try='test -s conftest.$ac_objext'
6.4754 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4755 - (eval $ac_try) 2>&5
6.4756 - ac_status=$?
6.4757 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4758 - (exit $ac_status); }; }; then
6.4759 - ac_cv_prog_cxx_g=yes
6.4760 -else
6.4761 - echo "$as_me: failed program was:" >&5
6.4762 -sed 's/^/| /' conftest.$ac_ext >&5
6.4763 -
6.4764 -ac_cv_prog_cxx_g=no
6.4765 -fi
6.4766 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.4767 -fi
6.4768 -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6.4769 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6.4770 -if test "$ac_test_CXXFLAGS" = set; then
6.4771 - CXXFLAGS=$ac_save_CXXFLAGS
6.4772 -elif test $ac_cv_prog_cxx_g = yes; then
6.4773 - if test "$GXX" = yes; then
6.4774 - CXXFLAGS="-g -O2"
6.4775 - else
6.4776 - CXXFLAGS="-g"
6.4777 - fi
6.4778 -else
6.4779 - if test "$GXX" = yes; then
6.4780 - CXXFLAGS="-O2"
6.4781 - else
6.4782 - CXXFLAGS=
6.4783 - fi
6.4784 -fi
6.4785 -for ac_declaration in \
6.4786 - '' \
6.4787 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
6.4788 - 'extern "C" void std::exit (int); using std::exit;' \
6.4789 - 'extern "C" void exit (int) throw ();' \
6.4790 - 'extern "C" void exit (int);' \
6.4791 - 'void exit (int);'
6.4792 -do
6.4793 - cat >conftest.$ac_ext <<_ACEOF
6.4794 -/* confdefs.h. */
6.4795 -_ACEOF
6.4796 -cat confdefs.h >>conftest.$ac_ext
6.4797 -cat >>conftest.$ac_ext <<_ACEOF
6.4798 -/* end confdefs.h. */
6.4799 -$ac_declaration
6.4800 -@%:@include <stdlib.h>
6.4801 -int
6.4802 -main ()
6.4803 -{
6.4804 -exit (42);
6.4805 - ;
6.4806 - return 0;
6.4807 -}
6.4808 -_ACEOF
6.4809 -rm -f conftest.$ac_objext
6.4810 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.4811 - (eval $ac_compile) 2>conftest.er1
6.4812 - ac_status=$?
6.4813 - grep -v '^ *+' conftest.er1 >conftest.err
6.4814 - rm -f conftest.er1
6.4815 - cat conftest.err >&5
6.4816 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4817 - (exit $ac_status); } &&
6.4818 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.4819 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4820 - (eval $ac_try) 2>&5
6.4821 - ac_status=$?
6.4822 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4823 - (exit $ac_status); }; } &&
6.4824 - { ac_try='test -s conftest.$ac_objext'
6.4825 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4826 - (eval $ac_try) 2>&5
6.4827 - ac_status=$?
6.4828 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4829 - (exit $ac_status); }; }; then
6.4830 - :
6.4831 -else
6.4832 - echo "$as_me: failed program was:" >&5
6.4833 -sed 's/^/| /' conftest.$ac_ext >&5
6.4834 -
6.4835 -continue
6.4836 -fi
6.4837 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.4838 - cat >conftest.$ac_ext <<_ACEOF
6.4839 -/* confdefs.h. */
6.4840 -_ACEOF
6.4841 -cat confdefs.h >>conftest.$ac_ext
6.4842 -cat >>conftest.$ac_ext <<_ACEOF
6.4843 -/* end confdefs.h. */
6.4844 -$ac_declaration
6.4845 -int
6.4846 -main ()
6.4847 -{
6.4848 -exit (42);
6.4849 - ;
6.4850 - return 0;
6.4851 -}
6.4852 -_ACEOF
6.4853 -rm -f conftest.$ac_objext
6.4854 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.4855 - (eval $ac_compile) 2>conftest.er1
6.4856 - ac_status=$?
6.4857 - grep -v '^ *+' conftest.er1 >conftest.err
6.4858 - rm -f conftest.er1
6.4859 - cat conftest.err >&5
6.4860 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4861 - (exit $ac_status); } &&
6.4862 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.4863 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4864 - (eval $ac_try) 2>&5
6.4865 - ac_status=$?
6.4866 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4867 - (exit $ac_status); }; } &&
6.4868 - { ac_try='test -s conftest.$ac_objext'
6.4869 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4870 - (eval $ac_try) 2>&5
6.4871 - ac_status=$?
6.4872 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4873 - (exit $ac_status); }; }; then
6.4874 - break
6.4875 -else
6.4876 - echo "$as_me: failed program was:" >&5
6.4877 -sed 's/^/| /' conftest.$ac_ext >&5
6.4878 -
6.4879 -fi
6.4880 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.4881 -done
6.4882 -rm -f conftest*
6.4883 -if test -n "$ac_declaration"; then
6.4884 - echo '#ifdef __cplusplus' >>confdefs.h
6.4885 - echo $ac_declaration >>confdefs.h
6.4886 - echo '#endif' >>confdefs.h
6.4887 -fi
6.4888 -
6.4889 -ac_ext=cc
6.4890 -ac_cpp='$CXXCPP $CPPFLAGS'
6.4891 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.4892 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.4893 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6.4894 -
6.4895 -depcc="$CXX" am_compiler_list=
6.4896 -
6.4897 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6.4898 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6.4899 -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6.4900 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.4901 -else
6.4902 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6.4903 - # We make a subdir and do the tests there. Otherwise we can end up
6.4904 - # making bogus files that we don't know about and never remove. For
6.4905 - # instance it was reported that on HP-UX the gcc test will end up
6.4906 - # making a dummy file named `D' -- because `-MD' means `put the output
6.4907 - # in D'.
6.4908 - mkdir conftest.dir
6.4909 - # Copy depcomp to subdir because otherwise we won't find it if we're
6.4910 - # using a relative directory.
6.4911 - cp "$am_depcomp" conftest.dir
6.4912 - cd conftest.dir
6.4913 - # We will build objects and dependencies in a subdirectory because
6.4914 - # it helps to detect inapplicable dependency modes. For instance
6.4915 - # both Tru64's cc and ICC support -MD to output dependencies as a
6.4916 - # side effect of compilation, but ICC will put the dependencies in
6.4917 - # the current directory while Tru64 will put them in the object
6.4918 - # directory.
6.4919 - mkdir sub
6.4920 -
6.4921 - am_cv_CXX_dependencies_compiler_type=none
6.4922 - if test "$am_compiler_list" = ""; then
6.4923 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6.4924 - fi
6.4925 - for depmode in $am_compiler_list; do
6.4926 - # Setup a source with many dependencies, because some compilers
6.4927 - # like to wrap large dependency lists on column 80 (with \), and
6.4928 - # we should not choose a depcomp mode which is confused by this.
6.4929 - #
6.4930 - # We need to recreate these files for each test, as the compiler may
6.4931 - # overwrite some of them when testing with obscure command lines.
6.4932 - # This happens at least with the AIX C compiler.
6.4933 - : > sub/conftest.c
6.4934 - for i in 1 2 3 4 5 6; do
6.4935 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
6.4936 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6.4937 - # Solaris 8's {/usr,}/bin/sh.
6.4938 - touch sub/conftst$i.h
6.4939 - done
6.4940 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6.4941 -
6.4942 - case $depmode in
6.4943 - nosideeffect)
6.4944 - # after this tag, mechanisms are not by side-effect, so they'll
6.4945 - # only be used when explicitly requested
6.4946 - if test "x$enable_dependency_tracking" = xyes; then
6.4947 - continue
6.4948 - else
6.4949 - break
6.4950 - fi
6.4951 - ;;
6.4952 - none) break ;;
6.4953 - esac
6.4954 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
6.4955 - # mode. It turns out that the SunPro C++ compiler does not properly
6.4956 - # handle `-M -o', and we need to detect this.
6.4957 - if depmode=$depmode \
6.4958 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6.4959 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6.4960 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6.4961 - >/dev/null 2>conftest.err &&
6.4962 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6.4963 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6.4964 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6.4965 - # icc doesn't choke on unknown options, it will just issue warnings
6.4966 - # or remarks (even with -Werror). So we grep stderr for any message
6.4967 - # that says an option was ignored or not supported.
6.4968 - # When given -MP, icc 7.0 and 7.1 complain thusly:
6.4969 - # icc: Command line warning: ignoring option '-M'; no argument required
6.4970 - # The diagnosis changed in icc 8.0:
6.4971 - # icc: Command line remark: option '-MP' not supported
6.4972 - if (grep 'ignoring option' conftest.err ||
6.4973 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6.4974 - am_cv_CXX_dependencies_compiler_type=$depmode
6.4975 - break
6.4976 - fi
6.4977 - fi
6.4978 - done
6.4979 -
6.4980 - cd ..
6.4981 - rm -rf conftest.dir
6.4982 -else
6.4983 - am_cv_CXX_dependencies_compiler_type=none
6.4984 -fi
6.4985 -
6.4986 -fi
6.4987 -echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6.4988 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6.4989 -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6.4990 -
6.4991 -
6.4992 -
6.4993 -if
6.4994 - test "x$enable_dependency_tracking" != xno \
6.4995 - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6.4996 - am__fastdepCXX_TRUE=
6.4997 - am__fastdepCXX_FALSE='#'
6.4998 -else
6.4999 - am__fastdepCXX_TRUE='#'
6.5000 - am__fastdepCXX_FALSE=
6.5001 -fi
6.5002 -
6.5003 -
6.5004 -
6.5005 -
6.5006 -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6.5007 - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6.5008 - (test "X$CXX" != "Xg++"))) ; then
6.5009 - ac_ext=cc
6.5010 -ac_cpp='$CXXCPP $CPPFLAGS'
6.5011 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.5012 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.5013 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6.5014 -echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6.5015 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6.5016 -if test -z "$CXXCPP"; then
6.5017 - if test "${ac_cv_prog_CXXCPP+set}" = set; then
6.5018 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.5019 -else
6.5020 - # Double quotes because CXXCPP needs to be expanded
6.5021 - for CXXCPP in "$CXX -E" "/lib/cpp"
6.5022 - do
6.5023 - ac_preproc_ok=false
6.5024 -for ac_cxx_preproc_warn_flag in '' yes
6.5025 -do
6.5026 - # Use a header file that comes with gcc, so configuring glibc
6.5027 - # with a fresh cross-compiler works.
6.5028 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.5029 - # <limits.h> exists even on freestanding compilers.
6.5030 - # On the NeXT, cc -E runs the code through the compiler's parser,
6.5031 - # not just through cpp. "Syntax error" is here to catch this case.
6.5032 - cat >conftest.$ac_ext <<_ACEOF
6.5033 -/* confdefs.h. */
6.5034 -_ACEOF
6.5035 -cat confdefs.h >>conftest.$ac_ext
6.5036 -cat >>conftest.$ac_ext <<_ACEOF
6.5037 -/* end confdefs.h. */
6.5038 -@%:@ifdef __STDC__
6.5039 -@%:@ include <limits.h>
6.5040 -@%:@else
6.5041 -@%:@ include <assert.h>
6.5042 -@%:@endif
6.5043 - Syntax error
6.5044 -_ACEOF
6.5045 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.5046 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.5047 - ac_status=$?
6.5048 - grep -v '^ *+' conftest.er1 >conftest.err
6.5049 - rm -f conftest.er1
6.5050 - cat conftest.err >&5
6.5051 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5052 - (exit $ac_status); } >/dev/null; then
6.5053 - if test -s conftest.err; then
6.5054 - ac_cpp_err=$ac_cxx_preproc_warn_flag
6.5055 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6.5056 - else
6.5057 - ac_cpp_err=
6.5058 - fi
6.5059 -else
6.5060 - ac_cpp_err=yes
6.5061 -fi
6.5062 -if test -z "$ac_cpp_err"; then
6.5063 - :
6.5064 -else
6.5065 - echo "$as_me: failed program was:" >&5
6.5066 -sed 's/^/| /' conftest.$ac_ext >&5
6.5067 -
6.5068 - # Broken: fails on valid input.
6.5069 -continue
6.5070 -fi
6.5071 -rm -f conftest.err conftest.$ac_ext
6.5072 -
6.5073 - # OK, works on sane cases. Now check whether non-existent headers
6.5074 - # can be detected and how.
6.5075 - cat >conftest.$ac_ext <<_ACEOF
6.5076 -/* confdefs.h. */
6.5077 -_ACEOF
6.5078 -cat confdefs.h >>conftest.$ac_ext
6.5079 -cat >>conftest.$ac_ext <<_ACEOF
6.5080 -/* end confdefs.h. */
6.5081 -@%:@include <ac_nonexistent.h>
6.5082 -_ACEOF
6.5083 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.5084 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.5085 - ac_status=$?
6.5086 - grep -v '^ *+' conftest.er1 >conftest.err
6.5087 - rm -f conftest.er1
6.5088 - cat conftest.err >&5
6.5089 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5090 - (exit $ac_status); } >/dev/null; then
6.5091 - if test -s conftest.err; then
6.5092 - ac_cpp_err=$ac_cxx_preproc_warn_flag
6.5093 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6.5094 - else
6.5095 - ac_cpp_err=
6.5096 - fi
6.5097 -else
6.5098 - ac_cpp_err=yes
6.5099 -fi
6.5100 -if test -z "$ac_cpp_err"; then
6.5101 - # Broken: success on invalid input.
6.5102 -continue
6.5103 -else
6.5104 - echo "$as_me: failed program was:" >&5
6.5105 -sed 's/^/| /' conftest.$ac_ext >&5
6.5106 -
6.5107 - # Passes both tests.
6.5108 -ac_preproc_ok=:
6.5109 -break
6.5110 -fi
6.5111 -rm -f conftest.err conftest.$ac_ext
6.5112 -
6.5113 -done
6.5114 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6.5115 -rm -f conftest.err conftest.$ac_ext
6.5116 -if $ac_preproc_ok; then
6.5117 - break
6.5118 -fi
6.5119 -
6.5120 - done
6.5121 - ac_cv_prog_CXXCPP=$CXXCPP
6.5122 -
6.5123 -fi
6.5124 - CXXCPP=$ac_cv_prog_CXXCPP
6.5125 -else
6.5126 - ac_cv_prog_CXXCPP=$CXXCPP
6.5127 -fi
6.5128 -echo "$as_me:$LINENO: result: $CXXCPP" >&5
6.5129 -echo "${ECHO_T}$CXXCPP" >&6
6.5130 -ac_preproc_ok=false
6.5131 -for ac_cxx_preproc_warn_flag in '' yes
6.5132 -do
6.5133 - # Use a header file that comes with gcc, so configuring glibc
6.5134 - # with a fresh cross-compiler works.
6.5135 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.5136 - # <limits.h> exists even on freestanding compilers.
6.5137 - # On the NeXT, cc -E runs the code through the compiler's parser,
6.5138 - # not just through cpp. "Syntax error" is here to catch this case.
6.5139 - cat >conftest.$ac_ext <<_ACEOF
6.5140 -/* confdefs.h. */
6.5141 -_ACEOF
6.5142 -cat confdefs.h >>conftest.$ac_ext
6.5143 -cat >>conftest.$ac_ext <<_ACEOF
6.5144 -/* end confdefs.h. */
6.5145 -@%:@ifdef __STDC__
6.5146 -@%:@ include <limits.h>
6.5147 -@%:@else
6.5148 -@%:@ include <assert.h>
6.5149 -@%:@endif
6.5150 - Syntax error
6.5151 -_ACEOF
6.5152 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.5153 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.5154 - ac_status=$?
6.5155 - grep -v '^ *+' conftest.er1 >conftest.err
6.5156 - rm -f conftest.er1
6.5157 - cat conftest.err >&5
6.5158 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5159 - (exit $ac_status); } >/dev/null; then
6.5160 - if test -s conftest.err; then
6.5161 - ac_cpp_err=$ac_cxx_preproc_warn_flag
6.5162 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6.5163 - else
6.5164 - ac_cpp_err=
6.5165 - fi
6.5166 -else
6.5167 - ac_cpp_err=yes
6.5168 -fi
6.5169 -if test -z "$ac_cpp_err"; then
6.5170 - :
6.5171 -else
6.5172 - echo "$as_me: failed program was:" >&5
6.5173 -sed 's/^/| /' conftest.$ac_ext >&5
6.5174 -
6.5175 - # Broken: fails on valid input.
6.5176 -continue
6.5177 -fi
6.5178 -rm -f conftest.err conftest.$ac_ext
6.5179 -
6.5180 - # OK, works on sane cases. Now check whether non-existent headers
6.5181 - # can be detected and how.
6.5182 - cat >conftest.$ac_ext <<_ACEOF
6.5183 -/* confdefs.h. */
6.5184 -_ACEOF
6.5185 -cat confdefs.h >>conftest.$ac_ext
6.5186 -cat >>conftest.$ac_ext <<_ACEOF
6.5187 -/* end confdefs.h. */
6.5188 -@%:@include <ac_nonexistent.h>
6.5189 -_ACEOF
6.5190 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.5191 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.5192 - ac_status=$?
6.5193 - grep -v '^ *+' conftest.er1 >conftest.err
6.5194 - rm -f conftest.er1
6.5195 - cat conftest.err >&5
6.5196 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5197 - (exit $ac_status); } >/dev/null; then
6.5198 - if test -s conftest.err; then
6.5199 - ac_cpp_err=$ac_cxx_preproc_warn_flag
6.5200 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6.5201 - else
6.5202 - ac_cpp_err=
6.5203 - fi
6.5204 -else
6.5205 - ac_cpp_err=yes
6.5206 -fi
6.5207 -if test -z "$ac_cpp_err"; then
6.5208 - # Broken: success on invalid input.
6.5209 -continue
6.5210 -else
6.5211 - echo "$as_me: failed program was:" >&5
6.5212 -sed 's/^/| /' conftest.$ac_ext >&5
6.5213 -
6.5214 - # Passes both tests.
6.5215 -ac_preproc_ok=:
6.5216 -break
6.5217 -fi
6.5218 -rm -f conftest.err conftest.$ac_ext
6.5219 -
6.5220 -done
6.5221 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6.5222 -rm -f conftest.err conftest.$ac_ext
6.5223 -if $ac_preproc_ok; then
6.5224 - :
6.5225 -else
6.5226 - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6.5227 -See \`config.log' for more details." >&5
6.5228 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6.5229 -See \`config.log' for more details." >&2;}
6.5230 - { (exit 1); exit 1; }; }
6.5231 -fi
6.5232 -
6.5233 -ac_ext=cc
6.5234 -ac_cpp='$CXXCPP $CPPFLAGS'
6.5235 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.5236 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.5237 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6.5238 -
6.5239 -fi
6.5240 -
6.5241 -
6.5242 -ac_ext=f
6.5243 -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6.5244 -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.5245 -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6.5246 -if test -n "$ac_tool_prefix"; then
6.5247 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6.5248 - do
6.5249 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6.5250 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6.5251 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.5252 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.5253 -if test "${ac_cv_prog_F77+set}" = set; then
6.5254 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.5255 -else
6.5256 - if test -n "$F77"; then
6.5257 - ac_cv_prog_F77="$F77" # Let the user override the test.
6.5258 -else
6.5259 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.5260 -for as_dir in $PATH
6.5261 -do
6.5262 - IFS=$as_save_IFS
6.5263 - test -z "$as_dir" && as_dir=.
6.5264 - for ac_exec_ext in '' $ac_executable_extensions; do
6.5265 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.5266 - ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6.5267 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.5268 - break 2
6.5269 - fi
6.5270 -done
6.5271 -done
6.5272 -
6.5273 -fi
6.5274 -fi
6.5275 -F77=$ac_cv_prog_F77
6.5276 -if test -n "$F77"; then
6.5277 - echo "$as_me:$LINENO: result: $F77" >&5
6.5278 -echo "${ECHO_T}$F77" >&6
6.5279 -else
6.5280 - echo "$as_me:$LINENO: result: no" >&5
6.5281 -echo "${ECHO_T}no" >&6
6.5282 -fi
6.5283 -
6.5284 - test -n "$F77" && break
6.5285 - done
6.5286 -fi
6.5287 -if test -z "$F77"; then
6.5288 - ac_ct_F77=$F77
6.5289 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6.5290 -do
6.5291 - # Extract the first word of "$ac_prog", so it can be a program name with args.
6.5292 -set dummy $ac_prog; ac_word=$2
6.5293 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.5294 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.5295 -if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6.5296 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.5297 -else
6.5298 - if test -n "$ac_ct_F77"; then
6.5299 - ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6.5300 -else
6.5301 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.5302 -for as_dir in $PATH
6.5303 -do
6.5304 - IFS=$as_save_IFS
6.5305 - test -z "$as_dir" && as_dir=.
6.5306 - for ac_exec_ext in '' $ac_executable_extensions; do
6.5307 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.5308 - ac_cv_prog_ac_ct_F77="$ac_prog"
6.5309 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.5310 - break 2
6.5311 - fi
6.5312 -done
6.5313 -done
6.5314 -
6.5315 -fi
6.5316 -fi
6.5317 -ac_ct_F77=$ac_cv_prog_ac_ct_F77
6.5318 -if test -n "$ac_ct_F77"; then
6.5319 - echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6.5320 -echo "${ECHO_T}$ac_ct_F77" >&6
6.5321 -else
6.5322 - echo "$as_me:$LINENO: result: no" >&5
6.5323 -echo "${ECHO_T}no" >&6
6.5324 -fi
6.5325 -
6.5326 - test -n "$ac_ct_F77" && break
6.5327 -done
6.5328 -
6.5329 - F77=$ac_ct_F77
6.5330 -fi
6.5331 -
6.5332 -
6.5333 -# Provide some information about the compiler.
6.5334 -echo "$as_me:__oline__:" \
6.5335 - "checking for Fortran 77 compiler version" >&5
6.5336 -ac_compiler=`set X $ac_compile; echo $2`
6.5337 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6.5338 - (eval $ac_compiler --version </dev/null >&5) 2>&5
6.5339 - ac_status=$?
6.5340 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5341 - (exit $ac_status); }
6.5342 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6.5343 - (eval $ac_compiler -v </dev/null >&5) 2>&5
6.5344 - ac_status=$?
6.5345 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5346 - (exit $ac_status); }
6.5347 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6.5348 - (eval $ac_compiler -V </dev/null >&5) 2>&5
6.5349 - ac_status=$?
6.5350 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5351 - (exit $ac_status); }
6.5352 -rm -f a.out
6.5353 -
6.5354 -# If we don't use `.F' as extension, the preprocessor is not run on the
6.5355 -# input file. (Note that this only needs to work for GNU compilers.)
6.5356 -ac_save_ext=$ac_ext
6.5357 -ac_ext=F
6.5358 -echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6.5359 -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
6.5360 -if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6.5361 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.5362 -else
6.5363 - cat >conftest.$ac_ext <<_ACEOF
6.5364 - program main
6.5365 -#ifndef __GNUC__
6.5366 - choke me
6.5367 -#endif
6.5368 -
6.5369 - end
6.5370 -_ACEOF
6.5371 -rm -f conftest.$ac_objext
6.5372 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.5373 - (eval $ac_compile) 2>conftest.er1
6.5374 - ac_status=$?
6.5375 - grep -v '^ *+' conftest.er1 >conftest.err
6.5376 - rm -f conftest.er1
6.5377 - cat conftest.err >&5
6.5378 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5379 - (exit $ac_status); } &&
6.5380 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
6.5381 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.5382 - (eval $ac_try) 2>&5
6.5383 - ac_status=$?
6.5384 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5385 - (exit $ac_status); }; } &&
6.5386 - { ac_try='test -s conftest.$ac_objext'
6.5387 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.5388 - (eval $ac_try) 2>&5
6.5389 - ac_status=$?
6.5390 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5391 - (exit $ac_status); }; }; then
6.5392 - ac_compiler_gnu=yes
6.5393 -else
6.5394 - echo "$as_me: failed program was:" >&5
6.5395 -sed 's/^/| /' conftest.$ac_ext >&5
6.5396 -
6.5397 -ac_compiler_gnu=no
6.5398 -fi
6.5399 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.5400 -ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6.5401 -
6.5402 -fi
6.5403 -echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6.5404 -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
6.5405 -ac_ext=$ac_save_ext
6.5406 -ac_test_FFLAGS=${FFLAGS+set}
6.5407 -ac_save_FFLAGS=$FFLAGS
6.5408 -FFLAGS=
6.5409 -echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6.5410 -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
6.5411 -if test "${ac_cv_prog_f77_g+set}" = set; then
6.5412 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.5413 -else
6.5414 - FFLAGS=-g
6.5415 -cat >conftest.$ac_ext <<_ACEOF
6.5416 - program main
6.5417 -
6.5418 - end
6.5419 -_ACEOF
6.5420 -rm -f conftest.$ac_objext
6.5421 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.5422 - (eval $ac_compile) 2>conftest.er1
6.5423 - ac_status=$?
6.5424 - grep -v '^ *+' conftest.er1 >conftest.err
6.5425 - rm -f conftest.er1
6.5426 - cat conftest.err >&5
6.5427 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5428 - (exit $ac_status); } &&
6.5429 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
6.5430 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.5431 - (eval $ac_try) 2>&5
6.5432 - ac_status=$?
6.5433 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5434 - (exit $ac_status); }; } &&
6.5435 - { ac_try='test -s conftest.$ac_objext'
6.5436 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.5437 - (eval $ac_try) 2>&5
6.5438 - ac_status=$?
6.5439 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5440 - (exit $ac_status); }; }; then
6.5441 - ac_cv_prog_f77_g=yes
6.5442 -else
6.5443 - echo "$as_me: failed program was:" >&5
6.5444 -sed 's/^/| /' conftest.$ac_ext >&5
6.5445 -
6.5446 -ac_cv_prog_f77_g=no
6.5447 -fi
6.5448 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.5449 -
6.5450 -fi
6.5451 -echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6.5452 -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
6.5453 -if test "$ac_test_FFLAGS" = set; then
6.5454 - FFLAGS=$ac_save_FFLAGS
6.5455 -elif test $ac_cv_prog_f77_g = yes; then
6.5456 - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6.5457 - FFLAGS="-g -O2"
6.5458 - else
6.5459 - FFLAGS="-g"
6.5460 - fi
6.5461 -else
6.5462 - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6.5463 - FFLAGS="-O2"
6.5464 - else
6.5465 - FFLAGS=
6.5466 - fi
6.5467 -fi
6.5468 -
6.5469 -G77=`test $ac_compiler_gnu = yes && echo yes`
6.5470 -ac_ext=c
6.5471 -ac_cpp='$CPP $CPPFLAGS'
6.5472 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.5473 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.5474 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.5475 -
6.5476 -
6.5477 -
6.5478 -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6.5479 -
6.5480 -# find the maximum length of command line arguments
6.5481 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6.5482 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
6.5483 -if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6.5484 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.5485 -else
6.5486 - i=0
6.5487 - teststring="ABCD"
6.5488 -
6.5489 - case $build_os in
6.5490 - msdosdjgpp*)
6.5491 - # On DJGPP, this test can blow up pretty badly due to problems in libc
6.5492 - # (any single argument exceeding 2000 bytes causes a buffer overrun
6.5493 - # during glob expansion). Even if it were fixed, the result of this
6.5494 - # check would be larger than it should be.
6.5495 - lt_cv_sys_max_cmd_len=12288; # 12K is about right
6.5496 - ;;
6.5497 -
6.5498 - gnu*)
6.5499 - # Under GNU Hurd, this test is not required because there is
6.5500 - # no limit to the length of command line arguments.
6.5501 - # Libtool will interpret -1 as no limit whatsoever
6.5502 - lt_cv_sys_max_cmd_len=-1;
6.5503 - ;;
6.5504 -
6.5505 - cygwin* | mingw*)
6.5506 - # On Win9x/ME, this test blows up -- it succeeds, but takes
6.5507 - # about 5 minutes as the teststring grows exponentially.
6.5508 - # Worse, since 9x/ME are not pre-emptively multitasking,
6.5509 - # you end up with a "frozen" computer, even though with patience
6.5510 - # the test eventually succeeds (with a max line length of 256k).
6.5511 - # Instead, let's just punt: use the minimum linelength reported by
6.5512 - # all of the supported platforms: 8192 (on NT/2K/XP).
6.5513 - lt_cv_sys_max_cmd_len=8192;
6.5514 - ;;
6.5515 -
6.5516 - amigaos*)
6.5517 - # On AmigaOS with pdksh, this test takes hours, literally.
6.5518 - # So we just punt and use a minimum line length of 8192.
6.5519 - lt_cv_sys_max_cmd_len=8192;
6.5520 - ;;
6.5521 -
6.5522 - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6.5523 - # This has been around since 386BSD, at least. Likely further.
6.5524 - if test -x /sbin/sysctl; then
6.5525 - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6.5526 - elif test -x /usr/sbin/sysctl; then
6.5527 - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6.5528 - else
6.5529 - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6.5530 - fi
6.5531 - # And add a safety zone
6.5532 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6.5533 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6.5534 - ;;
6.5535 - osf*)
6.5536 - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6.5537 - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6.5538 - # nice to cause kernel panics so lets avoid the loop below.
6.5539 - # First set a reasonable default.
6.5540 - lt_cv_sys_max_cmd_len=16384
6.5541 - #
6.5542 - if test -x /sbin/sysconfig; then
6.5543 - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6.5544 - *1*) lt_cv_sys_max_cmd_len=-1 ;;
6.5545 - esac
6.5546 - fi
6.5547 - ;;
6.5548 - *)
6.5549 - # If test is not a shell built-in, we'll probably end up computing a
6.5550 - # maximum length that is only half of the actual maximum length, but
6.5551 - # we can't tell.
6.5552 - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6.5553 - while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6.5554 - = "XX$teststring") >/dev/null 2>&1 &&
6.5555 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
6.5556 - lt_cv_sys_max_cmd_len=$new_result &&
6.5557 - test $i != 17 # 1/2 MB should be enough
6.5558 - do
6.5559 - i=`expr $i + 1`
6.5560 - teststring=$teststring$teststring
6.5561 - done
6.5562 - teststring=
6.5563 - # Add a significant safety factor because C++ compilers can tack on massive
6.5564 - # amounts of additional arguments before passing them to the linker.
6.5565 - # It appears as though 1/2 is a usable value.
6.5566 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6.5567 - ;;
6.5568 - esac
6.5569 -
6.5570 -fi
6.5571 -
6.5572 -if test -n $lt_cv_sys_max_cmd_len ; then
6.5573 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6.5574 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6.5575 -else
6.5576 - echo "$as_me:$LINENO: result: none" >&5
6.5577 -echo "${ECHO_T}none" >&6
6.5578 -fi
6.5579 -
6.5580 -
6.5581 -
6.5582 -
6.5583 -# Check for command to grab the raw symbol name followed by C symbol from nm.
6.5584 -echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6.5585 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
6.5586 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6.5587 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.5588 -else
6.5589 -
6.5590 -# These are sane defaults that work on at least a few old systems.
6.5591 -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6.5592 -
6.5593 -# Character class describing NM global symbol codes.
6.5594 -symcode='[BCDEGRST]'
6.5595 -
6.5596 -# Regexp to match symbols that can be accessed directly from C.
6.5597 -sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6.5598 -
6.5599 -# Transform an extracted symbol line into a proper C declaration
6.5600 -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6.5601 -
6.5602 -# Transform an extracted symbol line into symbol name and symbol address
6.5603 -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'"
6.5604 -
6.5605 -# Define system-specific variables.
6.5606 -case $host_os in
6.5607 -aix*)
6.5608 - symcode='[BCDT]'
6.5609 - ;;
6.5610 -cygwin* | mingw* | pw32*)
6.5611 - symcode='[ABCDGISTW]'
6.5612 - ;;
6.5613 -hpux*) # Its linker distinguishes data from code symbols
6.5614 - if test "$host_cpu" = ia64; then
6.5615 - symcode='[ABCDEGRST]'
6.5616 - fi
6.5617 - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6.5618 - 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'"
6.5619 - ;;
6.5620 -linux*)
6.5621 - if test "$host_cpu" = ia64; then
6.5622 - symcode='[ABCDGIRSTW]'
6.5623 - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6.5624 - 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'"
6.5625 - fi
6.5626 - ;;
6.5627 -irix* | nonstopux*)
6.5628 - symcode='[BCDEGRST]'
6.5629 - ;;
6.5630 -osf*)
6.5631 - symcode='[BCDEGQRST]'
6.5632 - ;;
6.5633 -solaris* | sysv5*)
6.5634 - symcode='[BDRT]'
6.5635 - ;;
6.5636 -sysv4)
6.5637 - symcode='[DFNSTU]'
6.5638 - ;;
6.5639 -esac
6.5640 -
6.5641 -# Handle CRLF in mingw tool chain
6.5642 -opt_cr=
6.5643 -case $build_os in
6.5644 -mingw*)
6.5645 - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6.5646 - ;;
6.5647 -esac
6.5648 -
6.5649 -# If we're using GNU nm, then use its standard symbol codes.
6.5650 -case `$NM -V 2>&1` in
6.5651 -*GNU* | *'with BFD'*)
6.5652 - symcode='[ABCDGIRSTW]' ;;
6.5653 -esac
6.5654 -
6.5655 -# Try without a prefix undercore, then with it.
6.5656 -for ac_symprfx in "" "_"; do
6.5657 -
6.5658 - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6.5659 - symxfrm="\\1 $ac_symprfx\\2 \\2"
6.5660 -
6.5661 - # Write the raw and C identifiers.
6.5662 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6.5663 -
6.5664 - # Check to see that the pipe works correctly.
6.5665 - pipe_works=no
6.5666 -
6.5667 - rm -f conftest*
6.5668 - cat > conftest.$ac_ext <<EOF
6.5669 -#ifdef __cplusplus
6.5670 -extern "C" {
6.5671 -#endif
6.5672 -char nm_test_var;
6.5673 -void nm_test_func(){}
6.5674 -#ifdef __cplusplus
6.5675 -}
6.5676 -#endif
6.5677 -int main(){nm_test_var='a';nm_test_func();return(0);}
6.5678 -EOF
6.5679 -
6.5680 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.5681 - (eval $ac_compile) 2>&5
6.5682 - ac_status=$?
6.5683 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5684 - (exit $ac_status); }; then
6.5685 - # Now try to grab the symbols.
6.5686 - nlist=conftest.nm
6.5687 - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6.5688 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6.5689 - ac_status=$?
6.5690 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5691 - (exit $ac_status); } && test -s "$nlist"; then
6.5692 - # Try sorting and uniquifying the output.
6.5693 - if sort "$nlist" | uniq > "$nlist"T; then
6.5694 - mv -f "$nlist"T "$nlist"
6.5695 - else
6.5696 - rm -f "$nlist"T
6.5697 - fi
6.5698 -
6.5699 - # Make sure that we snagged all the symbols we need.
6.5700 - if grep ' nm_test_var$' "$nlist" >/dev/null; then
6.5701 - if grep ' nm_test_func$' "$nlist" >/dev/null; then
6.5702 - cat <<EOF > conftest.$ac_ext
6.5703 -#ifdef __cplusplus
6.5704 -extern "C" {
6.5705 -#endif
6.5706 -
6.5707 -EOF
6.5708 - # Now generate the symbol file.
6.5709 - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6.5710 -
6.5711 - cat <<EOF >> conftest.$ac_ext
6.5712 -#if defined (__STDC__) && __STDC__
6.5713 -# define lt_ptr_t void *
6.5714 -#else
6.5715 -# define lt_ptr_t char *
6.5716 -# define const
6.5717 -#endif
6.5718 -
6.5719 -/* The mapping between symbol names and symbols. */
6.5720 -const struct {
6.5721 - const char *name;
6.5722 - lt_ptr_t address;
6.5723 -}
6.5724 -lt_preloaded_symbols[] =
6.5725 -{
6.5726 -EOF
6.5727 - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6.5728 - cat <<\EOF >> conftest.$ac_ext
6.5729 - {0, (lt_ptr_t) 0}
6.5730 -};
6.5731 -
6.5732 -#ifdef __cplusplus
6.5733 -}
6.5734 -#endif
6.5735 -EOF
6.5736 - # Now try linking the two files.
6.5737 - mv conftest.$ac_objext conftstm.$ac_objext
6.5738 - lt_save_LIBS="$LIBS"
6.5739 - lt_save_CFLAGS="$CFLAGS"
6.5740 - LIBS="conftstm.$ac_objext"
6.5741 - CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6.5742 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.5743 - (eval $ac_link) 2>&5
6.5744 - ac_status=$?
6.5745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5746 - (exit $ac_status); } && test -s conftest${ac_exeext}; then
6.5747 - pipe_works=yes
6.5748 - fi
6.5749 - LIBS="$lt_save_LIBS"
6.5750 - CFLAGS="$lt_save_CFLAGS"
6.5751 - else
6.5752 - echo "cannot find nm_test_func in $nlist" >&5
6.5753 - fi
6.5754 - else
6.5755 - echo "cannot find nm_test_var in $nlist" >&5
6.5756 - fi
6.5757 - else
6.5758 - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6.5759 - fi
6.5760 - else
6.5761 - echo "$progname: failed program was:" >&5
6.5762 - cat conftest.$ac_ext >&5
6.5763 - fi
6.5764 - rm -f conftest* conftst*
6.5765 -
6.5766 - # Do not use the global_symbol_pipe unless it works.
6.5767 - if test "$pipe_works" = yes; then
6.5768 - break
6.5769 - else
6.5770 - lt_cv_sys_global_symbol_pipe=
6.5771 - fi
6.5772 -done
6.5773 -
6.5774 -fi
6.5775 -
6.5776 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
6.5777 - lt_cv_sys_global_symbol_to_cdecl=
6.5778 -fi
6.5779 -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6.5780 - echo "$as_me:$LINENO: result: failed" >&5
6.5781 -echo "${ECHO_T}failed" >&6
6.5782 -else
6.5783 - echo "$as_me:$LINENO: result: ok" >&5
6.5784 -echo "${ECHO_T}ok" >&6
6.5785 -fi
6.5786 -
6.5787 -echo "$as_me:$LINENO: checking for objdir" >&5
6.5788 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6.5789 -if test "${lt_cv_objdir+set}" = set; then
6.5790 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.5791 -else
6.5792 - rm -f .libs 2>/dev/null
6.5793 -mkdir .libs 2>/dev/null
6.5794 -if test -d .libs; then
6.5795 - lt_cv_objdir=.libs
6.5796 -else
6.5797 - # MS-DOS does not allow filenames that begin with a dot.
6.5798 - lt_cv_objdir=_libs
6.5799 -fi
6.5800 -rmdir .libs 2>/dev/null
6.5801 -fi
6.5802 -echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6.5803 -echo "${ECHO_T}$lt_cv_objdir" >&6
6.5804 -objdir=$lt_cv_objdir
6.5805 -
6.5806 -
6.5807 -
6.5808 -
6.5809 -
6.5810 -case $host_os in
6.5811 -aix3*)
6.5812 - # AIX sometimes has problems with the GCC collect2 program. For some
6.5813 - # reason, if we set the COLLECT_NAMES environment variable, the problems
6.5814 - # vanish in a puff of smoke.
6.5815 - if test "X${COLLECT_NAMES+set}" != Xset; then
6.5816 - COLLECT_NAMES=
6.5817 - export COLLECT_NAMES
6.5818 - fi
6.5819 - ;;
6.5820 -esac
6.5821 -
6.5822 -# Sed substitution that helps us do robust quoting. It backslashifies
6.5823 -# metacharacters that are still active within double-quoted strings.
6.5824 -Xsed='sed -e 1s/^X//'
6.5825 -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6.5826 -
6.5827 -# Same as above, but do not quote variable references.
6.5828 -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6.5829 -
6.5830 -# Sed substitution to delay expansion of an escaped shell variable in a
6.5831 -# double_quote_subst'ed string.
6.5832 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6.5833 -
6.5834 -# Sed substitution to avoid accidental globbing in evaled expressions
6.5835 -no_glob_subst='s/\*/\\\*/g'
6.5836 -
6.5837 -# Constants:
6.5838 -rm="rm -f"
6.5839 -
6.5840 -# Global variables:
6.5841 -default_ofile=libtool
6.5842 -can_build_shared=yes
6.5843 -
6.5844 -# All known linkers require a `.a' archive for static linking (except MSVC,
6.5845 -# which needs '.lib').
6.5846 -libext=a
6.5847 -ltmain="$ac_aux_dir/ltmain.sh"
6.5848 -ofile="$default_ofile"
6.5849 -with_gnu_ld="$lt_cv_prog_gnu_ld"
6.5850 -
6.5851 -if test -n "$ac_tool_prefix"; then
6.5852 - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6.5853 -set dummy ${ac_tool_prefix}ar; ac_word=$2
6.5854 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.5855 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.5856 -if test "${ac_cv_prog_AR+set}" = set; then
6.5857 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.5858 -else
6.5859 - if test -n "$AR"; then
6.5860 - ac_cv_prog_AR="$AR" # Let the user override the test.
6.5861 -else
6.5862 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.5863 -for as_dir in $PATH
6.5864 -do
6.5865 - IFS=$as_save_IFS
6.5866 - test -z "$as_dir" && as_dir=.
6.5867 - for ac_exec_ext in '' $ac_executable_extensions; do
6.5868 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.5869 - ac_cv_prog_AR="${ac_tool_prefix}ar"
6.5870 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.5871 - break 2
6.5872 - fi
6.5873 -done
6.5874 -done
6.5875 -
6.5876 -fi
6.5877 -fi
6.5878 -AR=$ac_cv_prog_AR
6.5879 -if test -n "$AR"; then
6.5880 - echo "$as_me:$LINENO: result: $AR" >&5
6.5881 -echo "${ECHO_T}$AR" >&6
6.5882 -else
6.5883 - echo "$as_me:$LINENO: result: no" >&5
6.5884 -echo "${ECHO_T}no" >&6
6.5885 -fi
6.5886 -
6.5887 -fi
6.5888 -if test -z "$ac_cv_prog_AR"; then
6.5889 - ac_ct_AR=$AR
6.5890 - # Extract the first word of "ar", so it can be a program name with args.
6.5891 -set dummy ar; ac_word=$2
6.5892 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.5893 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.5894 -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6.5895 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.5896 -else
6.5897 - if test -n "$ac_ct_AR"; then
6.5898 - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6.5899 -else
6.5900 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.5901 -for as_dir in $PATH
6.5902 -do
6.5903 - IFS=$as_save_IFS
6.5904 - test -z "$as_dir" && as_dir=.
6.5905 - for ac_exec_ext in '' $ac_executable_extensions; do
6.5906 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.5907 - ac_cv_prog_ac_ct_AR="ar"
6.5908 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.5909 - break 2
6.5910 - fi
6.5911 -done
6.5912 -done
6.5913 -
6.5914 - test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6.5915 -fi
6.5916 -fi
6.5917 -ac_ct_AR=$ac_cv_prog_ac_ct_AR
6.5918 -if test -n "$ac_ct_AR"; then
6.5919 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6.5920 -echo "${ECHO_T}$ac_ct_AR" >&6
6.5921 -else
6.5922 - echo "$as_me:$LINENO: result: no" >&5
6.5923 -echo "${ECHO_T}no" >&6
6.5924 -fi
6.5925 -
6.5926 - AR=$ac_ct_AR
6.5927 -else
6.5928 - AR="$ac_cv_prog_AR"
6.5929 -fi
6.5930 -
6.5931 -if test -n "$ac_tool_prefix"; then
6.5932 - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6.5933 -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6.5934 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.5935 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.5936 -if test "${ac_cv_prog_RANLIB+set}" = set; then
6.5937 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.5938 -else
6.5939 - if test -n "$RANLIB"; then
6.5940 - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6.5941 -else
6.5942 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.5943 -for as_dir in $PATH
6.5944 -do
6.5945 - IFS=$as_save_IFS
6.5946 - test -z "$as_dir" && as_dir=.
6.5947 - for ac_exec_ext in '' $ac_executable_extensions; do
6.5948 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.5949 - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6.5950 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.5951 - break 2
6.5952 - fi
6.5953 -done
6.5954 -done
6.5955 -
6.5956 -fi
6.5957 -fi
6.5958 -RANLIB=$ac_cv_prog_RANLIB
6.5959 -if test -n "$RANLIB"; then
6.5960 - echo "$as_me:$LINENO: result: $RANLIB" >&5
6.5961 -echo "${ECHO_T}$RANLIB" >&6
6.5962 -else
6.5963 - echo "$as_me:$LINENO: result: no" >&5
6.5964 -echo "${ECHO_T}no" >&6
6.5965 -fi
6.5966 -
6.5967 -fi
6.5968 -if test -z "$ac_cv_prog_RANLIB"; then
6.5969 - ac_ct_RANLIB=$RANLIB
6.5970 - # Extract the first word of "ranlib", so it can be a program name with args.
6.5971 -set dummy ranlib; ac_word=$2
6.5972 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.5973 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.5974 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6.5975 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.5976 -else
6.5977 - if test -n "$ac_ct_RANLIB"; then
6.5978 - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6.5979 -else
6.5980 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.5981 -for as_dir in $PATH
6.5982 -do
6.5983 - IFS=$as_save_IFS
6.5984 - test -z "$as_dir" && as_dir=.
6.5985 - for ac_exec_ext in '' $ac_executable_extensions; do
6.5986 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.5987 - ac_cv_prog_ac_ct_RANLIB="ranlib"
6.5988 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.5989 - break 2
6.5990 - fi
6.5991 -done
6.5992 -done
6.5993 -
6.5994 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6.5995 -fi
6.5996 -fi
6.5997 -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6.5998 -if test -n "$ac_ct_RANLIB"; then
6.5999 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6.6000 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
6.6001 -else
6.6002 - echo "$as_me:$LINENO: result: no" >&5
6.6003 -echo "${ECHO_T}no" >&6
6.6004 -fi
6.6005 -
6.6006 - RANLIB=$ac_ct_RANLIB
6.6007 -else
6.6008 - RANLIB="$ac_cv_prog_RANLIB"
6.6009 -fi
6.6010 -
6.6011 -if test -n "$ac_tool_prefix"; then
6.6012 - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6.6013 -set dummy ${ac_tool_prefix}strip; ac_word=$2
6.6014 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.6015 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.6016 -if test "${ac_cv_prog_STRIP+set}" = set; then
6.6017 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.6018 -else
6.6019 - if test -n "$STRIP"; then
6.6020 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6.6021 -else
6.6022 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.6023 -for as_dir in $PATH
6.6024 -do
6.6025 - IFS=$as_save_IFS
6.6026 - test -z "$as_dir" && as_dir=.
6.6027 - for ac_exec_ext in '' $ac_executable_extensions; do
6.6028 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.6029 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6.6030 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.6031 - break 2
6.6032 - fi
6.6033 -done
6.6034 -done
6.6035 -
6.6036 -fi
6.6037 -fi
6.6038 -STRIP=$ac_cv_prog_STRIP
6.6039 -if test -n "$STRIP"; then
6.6040 - echo "$as_me:$LINENO: result: $STRIP" >&5
6.6041 -echo "${ECHO_T}$STRIP" >&6
6.6042 -else
6.6043 - echo "$as_me:$LINENO: result: no" >&5
6.6044 -echo "${ECHO_T}no" >&6
6.6045 -fi
6.6046 -
6.6047 -fi
6.6048 -if test -z "$ac_cv_prog_STRIP"; then
6.6049 - ac_ct_STRIP=$STRIP
6.6050 - # Extract the first word of "strip", so it can be a program name with args.
6.6051 -set dummy strip; ac_word=$2
6.6052 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.6053 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.6054 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6.6055 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.6056 -else
6.6057 - if test -n "$ac_ct_STRIP"; then
6.6058 - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6.6059 -else
6.6060 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.6061 -for as_dir in $PATH
6.6062 -do
6.6063 - IFS=$as_save_IFS
6.6064 - test -z "$as_dir" && as_dir=.
6.6065 - for ac_exec_ext in '' $ac_executable_extensions; do
6.6066 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.6067 - ac_cv_prog_ac_ct_STRIP="strip"
6.6068 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.6069 - break 2
6.6070 - fi
6.6071 -done
6.6072 -done
6.6073 -
6.6074 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6.6075 -fi
6.6076 -fi
6.6077 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6.6078 -if test -n "$ac_ct_STRIP"; then
6.6079 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6.6080 -echo "${ECHO_T}$ac_ct_STRIP" >&6
6.6081 -else
6.6082 - echo "$as_me:$LINENO: result: no" >&5
6.6083 -echo "${ECHO_T}no" >&6
6.6084 -fi
6.6085 -
6.6086 - STRIP=$ac_ct_STRIP
6.6087 -else
6.6088 - STRIP="$ac_cv_prog_STRIP"
6.6089 -fi
6.6090 -
6.6091 -
6.6092 -old_CC="$CC"
6.6093 -old_CFLAGS="$CFLAGS"
6.6094 -
6.6095 -# Set sane defaults for various variables
6.6096 -test -z "$AR" && AR=ar
6.6097 -test -z "$AR_FLAGS" && AR_FLAGS=cru
6.6098 -test -z "$AS" && AS=as
6.6099 -test -z "$CC" && CC=cc
6.6100 -test -z "$LTCC" && LTCC=$CC
6.6101 -test -z "$DLLTOOL" && DLLTOOL=dlltool
6.6102 -test -z "$LD" && LD=ld
6.6103 -test -z "$LN_S" && LN_S="ln -s"
6.6104 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
6.6105 -test -z "$NM" && NM=nm
6.6106 -test -z "$SED" && SED=sed
6.6107 -test -z "$OBJDUMP" && OBJDUMP=objdump
6.6108 -test -z "$RANLIB" && RANLIB=:
6.6109 -test -z "$STRIP" && STRIP=:
6.6110 -test -z "$ac_objext" && ac_objext=o
6.6111 -
6.6112 -# Determine commands to create old-style static archives.
6.6113 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6.6114 -old_postinstall_cmds='chmod 644 $oldlib'
6.6115 -old_postuninstall_cmds=
6.6116 -
6.6117 -if test -n "$RANLIB"; then
6.6118 - case $host_os in
6.6119 - openbsd*)
6.6120 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6.6121 - ;;
6.6122 - *)
6.6123 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
6.6124 - ;;
6.6125 - esac
6.6126 - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6.6127 -fi
6.6128 -
6.6129 -for cc_temp in $compiler""; do
6.6130 - case $cc_temp in
6.6131 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6.6132 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6.6133 - \-*) ;;
6.6134 - *) break;;
6.6135 - esac
6.6136 -done
6.6137 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6.6138 -
6.6139 -
6.6140 -# Only perform the check for file, if the check method requires it
6.6141 -case $deplibs_check_method in
6.6142 -file_magic*)
6.6143 - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6.6144 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6.6145 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6.6146 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6.6147 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.6148 -else
6.6149 - case $MAGIC_CMD in
6.6150 -[\\/*] | ?:[\\/]*)
6.6151 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6.6152 - ;;
6.6153 -*)
6.6154 - lt_save_MAGIC_CMD="$MAGIC_CMD"
6.6155 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6.6156 - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6.6157 - for ac_dir in $ac_dummy; do
6.6158 - IFS="$lt_save_ifs"
6.6159 - test -z "$ac_dir" && ac_dir=.
6.6160 - if test -f $ac_dir/${ac_tool_prefix}file; then
6.6161 - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6.6162 - if test -n "$file_magic_test_file"; then
6.6163 - case $deplibs_check_method in
6.6164 - "file_magic "*)
6.6165 - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6.6166 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6.6167 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6.6168 - $EGREP "$file_magic_regex" > /dev/null; then
6.6169 - :
6.6170 - else
6.6171 - cat <<EOF 1>&2
6.6172 -
6.6173 -*** Warning: the command libtool uses to detect shared libraries,
6.6174 -*** $file_magic_cmd, produces output that libtool cannot recognize.
6.6175 -*** The result is that libtool may fail to recognize shared libraries
6.6176 -*** as such. This will affect the creation of libtool libraries that
6.6177 -*** depend on shared libraries, but programs linked with such libtool
6.6178 -*** libraries will work regardless of this problem. Nevertheless, you
6.6179 -*** may want to report the problem to your system manager and/or to
6.6180 -*** bug-libtool@gnu.org
6.6181 -
6.6182 -EOF
6.6183 - fi ;;
6.6184 - esac
6.6185 - fi
6.6186 - break
6.6187 - fi
6.6188 - done
6.6189 - IFS="$lt_save_ifs"
6.6190 - MAGIC_CMD="$lt_save_MAGIC_CMD"
6.6191 - ;;
6.6192 -esac
6.6193 -fi
6.6194 -
6.6195 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6.6196 -if test -n "$MAGIC_CMD"; then
6.6197 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6.6198 -echo "${ECHO_T}$MAGIC_CMD" >&6
6.6199 -else
6.6200 - echo "$as_me:$LINENO: result: no" >&5
6.6201 -echo "${ECHO_T}no" >&6
6.6202 -fi
6.6203 -
6.6204 -if test -z "$lt_cv_path_MAGIC_CMD"; then
6.6205 - if test -n "$ac_tool_prefix"; then
6.6206 - echo "$as_me:$LINENO: checking for file" >&5
6.6207 -echo $ECHO_N "checking for file... $ECHO_C" >&6
6.6208 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6.6209 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.6210 -else
6.6211 - case $MAGIC_CMD in
6.6212 -[\\/*] | ?:[\\/]*)
6.6213 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6.6214 - ;;
6.6215 -*)
6.6216 - lt_save_MAGIC_CMD="$MAGIC_CMD"
6.6217 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6.6218 - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6.6219 - for ac_dir in $ac_dummy; do
6.6220 - IFS="$lt_save_ifs"
6.6221 - test -z "$ac_dir" && ac_dir=.
6.6222 - if test -f $ac_dir/file; then
6.6223 - lt_cv_path_MAGIC_CMD="$ac_dir/file"
6.6224 - if test -n "$file_magic_test_file"; then
6.6225 - case $deplibs_check_method in
6.6226 - "file_magic "*)
6.6227 - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6.6228 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6.6229 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6.6230 - $EGREP "$file_magic_regex" > /dev/null; then
6.6231 - :
6.6232 - else
6.6233 - cat <<EOF 1>&2
6.6234 -
6.6235 -*** Warning: the command libtool uses to detect shared libraries,
6.6236 -*** $file_magic_cmd, produces output that libtool cannot recognize.
6.6237 -*** The result is that libtool may fail to recognize shared libraries
6.6238 -*** as such. This will affect the creation of libtool libraries that
6.6239 -*** depend on shared libraries, but programs linked with such libtool
6.6240 -*** libraries will work regardless of this problem. Nevertheless, you
6.6241 -*** may want to report the problem to your system manager and/or to
6.6242 -*** bug-libtool@gnu.org
6.6243 -
6.6244 -EOF
6.6245 - fi ;;
6.6246 - esac
6.6247 - fi
6.6248 - break
6.6249 - fi
6.6250 - done
6.6251 - IFS="$lt_save_ifs"
6.6252 - MAGIC_CMD="$lt_save_MAGIC_CMD"
6.6253 - ;;
6.6254 -esac
6.6255 -fi
6.6256 -
6.6257 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6.6258 -if test -n "$MAGIC_CMD"; then
6.6259 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6.6260 -echo "${ECHO_T}$MAGIC_CMD" >&6
6.6261 -else
6.6262 - echo "$as_me:$LINENO: result: no" >&5
6.6263 -echo "${ECHO_T}no" >&6
6.6264 -fi
6.6265 -
6.6266 - else
6.6267 - MAGIC_CMD=:
6.6268 - fi
6.6269 -fi
6.6270 -
6.6271 - fi
6.6272 - ;;
6.6273 -esac
6.6274 -
6.6275 -enable_dlopen=no
6.6276 -enable_win32_dll=no
6.6277 -
6.6278 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6.6279 -if test "${enable_libtool_lock+set}" = set; then
6.6280 - enableval="$enable_libtool_lock"
6.6281 -
6.6282 -fi;
6.6283 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6.6284 -
6.6285 -
6.6286 -# Check whether --with-pic or --without-pic was given.
6.6287 -if test "${with_pic+set}" = set; then
6.6288 - withval="$with_pic"
6.6289 - pic_mode="$withval"
6.6290 -else
6.6291 - pic_mode=default
6.6292 -fi;
6.6293 -test -z "$pic_mode" && pic_mode=default
6.6294 -
6.6295 -# Use C for the default configuration in the libtool script
6.6296 -tagname=
6.6297 -lt_save_CC="$CC"
6.6298 -ac_ext=c
6.6299 -ac_cpp='$CPP $CPPFLAGS'
6.6300 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.6301 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.6302 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.6303 -
6.6304 -
6.6305 -# Source file extension for C test sources.
6.6306 -ac_ext=c
6.6307 -
6.6308 -# Object file extension for compiled C test sources.
6.6309 -objext=o
6.6310 -objext=$objext
6.6311 -
6.6312 -# Code to be used in simple compile tests
6.6313 -lt_simple_compile_test_code="int some_variable = 0;\n"
6.6314 -
6.6315 -# Code to be used in simple link tests
6.6316 -lt_simple_link_test_code='int main(){return(0);}\n'
6.6317 -
6.6318 -
6.6319 -# If no C compiler was specified, use CC.
6.6320 -LTCC=${LTCC-"$CC"}
6.6321 -
6.6322 -# Allow CC to be a program name with arguments.
6.6323 -compiler=$CC
6.6324 -
6.6325 -
6.6326 -# save warnings/boilerplate of simple test code
6.6327 -ac_outfile=conftest.$ac_objext
6.6328 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6.6329 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.6330 -_lt_compiler_boilerplate=`cat conftest.err`
6.6331 -$rm conftest*
6.6332 -
6.6333 -ac_outfile=conftest.$ac_objext
6.6334 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
6.6335 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.6336 -_lt_linker_boilerplate=`cat conftest.err`
6.6337 -$rm conftest*
6.6338 -
6.6339 -
6.6340 -#
6.6341 -# Check for any special shared library compilation flags.
6.6342 -#
6.6343 -lt_prog_cc_shlib=
6.6344 -if test "$GCC" = no; then
6.6345 - case $host_os in
6.6346 - sco3.2v5*)
6.6347 - lt_prog_cc_shlib='-belf'
6.6348 - ;;
6.6349 - esac
6.6350 -fi
6.6351 -if test -n "$lt_prog_cc_shlib"; then
6.6352 - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6.6353 -echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6.6354 - if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6.6355 - else
6.6356 - { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6.6357 -echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6.6358 - lt_cv_prog_cc_can_build_shared=no
6.6359 - fi
6.6360 -fi
6.6361 -
6.6362 -
6.6363 -#
6.6364 -# Check to make sure the static flag actually works.
6.6365 -#
6.6366 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6.6367 -echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6.6368 -if test "${lt_prog_compiler_static_works+set}" = set; then
6.6369 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.6370 -else
6.6371 - lt_prog_compiler_static_works=no
6.6372 - save_LDFLAGS="$LDFLAGS"
6.6373 - LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6.6374 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
6.6375 - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6.6376 - # The linker can only warn and ignore the option if not recognized
6.6377 - # So say no if there are warnings
6.6378 - if test -s conftest.err; then
6.6379 - # Append any errors to the config.log.
6.6380 - cat conftest.err 1>&5
6.6381 - $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
6.6382 - $SED '/^$/d' conftest.err >conftest.er2
6.6383 - if diff conftest.exp conftest.er2 >/dev/null; then
6.6384 - lt_prog_compiler_static_works=yes
6.6385 - fi
6.6386 - else
6.6387 - lt_prog_compiler_static_works=yes
6.6388 - fi
6.6389 - fi
6.6390 - $rm conftest*
6.6391 - LDFLAGS="$save_LDFLAGS"
6.6392 -
6.6393 -fi
6.6394 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6.6395 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6.6396 -
6.6397 -if test x"$lt_prog_compiler_static_works" = xyes; then
6.6398 - :
6.6399 -else
6.6400 - lt_prog_compiler_static=
6.6401 -fi
6.6402 -
6.6403 -
6.6404 -
6.6405 -
6.6406 -lt_prog_compiler_no_builtin_flag=
6.6407 -
6.6408 -if test "$GCC" = yes; then
6.6409 - lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6.6410 -
6.6411 -
6.6412 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6.6413 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6.6414 -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6.6415 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.6416 -else
6.6417 - lt_cv_prog_compiler_rtti_exceptions=no
6.6418 - ac_outfile=conftest.$ac_objext
6.6419 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.6420 - lt_compiler_flag="-fno-rtti -fno-exceptions"
6.6421 - # Insert the option either (1) after the last *FLAGS variable, or
6.6422 - # (2) before a word containing "conftest.", or (3) at the end.
6.6423 - # Note that $ac_compile itself does not contain backslashes and begins
6.6424 - # with a dollar sign (not a hyphen), so the echo should work correctly.
6.6425 - # The option is referenced via a variable to avoid confusing sed.
6.6426 - lt_compile=`echo "$ac_compile" | $SED \
6.6427 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.6428 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.6429 - -e 's:$: $lt_compiler_flag:'`
6.6430 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.6431 - (eval "$lt_compile" 2>conftest.err)
6.6432 - ac_status=$?
6.6433 - cat conftest.err >&5
6.6434 - echo "$as_me:__oline__: \$? = $ac_status" >&5
6.6435 - if (exit $ac_status) && test -s "$ac_outfile"; then
6.6436 - # The compiler can only warn and ignore the option if not recognized
6.6437 - # So say no if there are warnings other than the usual output.
6.6438 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6.6439 - $SED '/^$/d' conftest.err >conftest.er2
6.6440 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6.6441 - lt_cv_prog_compiler_rtti_exceptions=yes
6.6442 - fi
6.6443 - fi
6.6444 - $rm conftest*
6.6445 -
6.6446 -fi
6.6447 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6.6448 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6.6449 -
6.6450 -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6.6451 - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6.6452 -else
6.6453 - :
6.6454 -fi
6.6455 -
6.6456 -fi
6.6457 -
6.6458 -lt_prog_compiler_wl=
6.6459 -lt_prog_compiler_pic=
6.6460 -lt_prog_compiler_static=
6.6461 -
6.6462 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6.6463 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6.6464 -
6.6465 - if test "$GCC" = yes; then
6.6466 - lt_prog_compiler_wl='-Wl,'
6.6467 - lt_prog_compiler_static='-static'
6.6468 -
6.6469 - case $host_os in
6.6470 - aix*)
6.6471 - # All AIX code is PIC.
6.6472 - if test "$host_cpu" = ia64; then
6.6473 - # AIX 5 now supports IA64 processor
6.6474 - lt_prog_compiler_static='-Bstatic'
6.6475 - fi
6.6476 - ;;
6.6477 -
6.6478 - amigaos*)
6.6479 - # FIXME: we need at least 68020 code to build shared libraries, but
6.6480 - # adding the `-m68020' flag to GCC prevents building anything better,
6.6481 - # like `-m68040'.
6.6482 - lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6.6483 - ;;
6.6484 -
6.6485 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6.6486 - # PIC is the default for these OSes.
6.6487 - ;;
6.6488 -
6.6489 - mingw* | pw32* | os2*)
6.6490 - # This hack is so that the source file can tell whether it is being
6.6491 - # built for inclusion in a dll (and should export symbols for example).
6.6492 - lt_prog_compiler_pic='-DDLL_EXPORT'
6.6493 - ;;
6.6494 -
6.6495 - darwin* | rhapsody*)
6.6496 - # PIC is the default on this platform
6.6497 - # Common symbols not allowed in MH_DYLIB files
6.6498 - lt_prog_compiler_pic='-fno-common'
6.6499 - ;;
6.6500 -
6.6501 - msdosdjgpp*)
6.6502 - # Just because we use GCC doesn't mean we suddenly get shared libraries
6.6503 - # on systems that don't support them.
6.6504 - lt_prog_compiler_can_build_shared=no
6.6505 - enable_shared=no
6.6506 - ;;
6.6507 -
6.6508 - sysv4*MP*)
6.6509 - if test -d /usr/nec; then
6.6510 - lt_prog_compiler_pic=-Kconform_pic
6.6511 - fi
6.6512 - ;;
6.6513 -
6.6514 - hpux*)
6.6515 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6.6516 - # not for PA HP-UX.
6.6517 - case $host_cpu in
6.6518 - hppa*64*|ia64*)
6.6519 - # +Z the default
6.6520 - ;;
6.6521 - *)
6.6522 - lt_prog_compiler_pic='-fPIC'
6.6523 - ;;
6.6524 - esac
6.6525 - ;;
6.6526 -
6.6527 - *)
6.6528 - lt_prog_compiler_pic='-fPIC'
6.6529 - ;;
6.6530 - esac
6.6531 - else
6.6532 - # PORTME Check for flag to pass linker flags through the system compiler.
6.6533 - case $host_os in
6.6534 - aix*)
6.6535 - lt_prog_compiler_wl='-Wl,'
6.6536 - if test "$host_cpu" = ia64; then
6.6537 - # AIX 5 now supports IA64 processor
6.6538 - lt_prog_compiler_static='-Bstatic'
6.6539 - else
6.6540 - lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6.6541 - fi
6.6542 - ;;
6.6543 - darwin*)
6.6544 - # PIC is the default on this platform
6.6545 - # Common symbols not allowed in MH_DYLIB files
6.6546 - case $cc_basename in
6.6547 - xlc*)
6.6548 - lt_prog_compiler_pic='-qnocommon'
6.6549 - lt_prog_compiler_wl='-Wl,'
6.6550 - ;;
6.6551 - esac
6.6552 - ;;
6.6553 -
6.6554 - mingw* | pw32* | os2*)
6.6555 - # This hack is so that the source file can tell whether it is being
6.6556 - # built for inclusion in a dll (and should export symbols for example).
6.6557 - lt_prog_compiler_pic='-DDLL_EXPORT'
6.6558 - ;;
6.6559 -
6.6560 - hpux9* | hpux10* | hpux11*)
6.6561 - lt_prog_compiler_wl='-Wl,'
6.6562 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6.6563 - # not for PA HP-UX.
6.6564 - case $host_cpu in
6.6565 - hppa*64*|ia64*)
6.6566 - # +Z the default
6.6567 - ;;
6.6568 - *)
6.6569 - lt_prog_compiler_pic='+Z'
6.6570 - ;;
6.6571 - esac
6.6572 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
6.6573 - lt_prog_compiler_static='${wl}-a ${wl}archive'
6.6574 - ;;
6.6575 -
6.6576 - irix5* | irix6* | nonstopux*)
6.6577 - lt_prog_compiler_wl='-Wl,'
6.6578 - # PIC (with -KPIC) is the default.
6.6579 - lt_prog_compiler_static='-non_shared'
6.6580 - ;;
6.6581 -
6.6582 - newsos6)
6.6583 - lt_prog_compiler_pic='-KPIC'
6.6584 - lt_prog_compiler_static='-Bstatic'
6.6585 - ;;
6.6586 -
6.6587 - linux*)
6.6588 - case $cc_basename in
6.6589 - icc* | ecc*)
6.6590 - lt_prog_compiler_wl='-Wl,'
6.6591 - lt_prog_compiler_pic='-KPIC'
6.6592 - lt_prog_compiler_static='-static'
6.6593 - ;;
6.6594 - pgcc* | pgf77* | pgf90* | pgf95*)
6.6595 - # Portland Group compilers (*not* the Pentium gcc compiler,
6.6596 - # which looks to be a dead project)
6.6597 - lt_prog_compiler_wl='-Wl,'
6.6598 - lt_prog_compiler_pic='-fpic'
6.6599 - lt_prog_compiler_static='-Bstatic'
6.6600 - ;;
6.6601 - ccc*)
6.6602 - lt_prog_compiler_wl='-Wl,'
6.6603 - # All Alpha code is PIC.
6.6604 - lt_prog_compiler_static='-non_shared'
6.6605 - ;;
6.6606 - esac
6.6607 - ;;
6.6608 -
6.6609 - osf3* | osf4* | osf5*)
6.6610 - lt_prog_compiler_wl='-Wl,'
6.6611 - # All OSF/1 code is PIC.
6.6612 - lt_prog_compiler_static='-non_shared'
6.6613 - ;;
6.6614 -
6.6615 - sco3.2v5*)
6.6616 - lt_prog_compiler_pic='-Kpic'
6.6617 - lt_prog_compiler_static='-dn'
6.6618 - ;;
6.6619 -
6.6620 - solaris*)
6.6621 - lt_prog_compiler_pic='-KPIC'
6.6622 - lt_prog_compiler_static='-Bstatic'
6.6623 - case $cc_basename in
6.6624 - f77* | f90* | f95*)
6.6625 - lt_prog_compiler_wl='-Qoption ld ';;
6.6626 - *)
6.6627 - lt_prog_compiler_wl='-Wl,';;
6.6628 - esac
6.6629 - ;;
6.6630 -
6.6631 - sunos4*)
6.6632 - lt_prog_compiler_wl='-Qoption ld '
6.6633 - lt_prog_compiler_pic='-PIC'
6.6634 - lt_prog_compiler_static='-Bstatic'
6.6635 - ;;
6.6636 -
6.6637 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6.6638 - lt_prog_compiler_wl='-Wl,'
6.6639 - lt_prog_compiler_pic='-KPIC'
6.6640 - lt_prog_compiler_static='-Bstatic'
6.6641 - ;;
6.6642 -
6.6643 - sysv4*MP*)
6.6644 - if test -d /usr/nec ;then
6.6645 - lt_prog_compiler_pic='-Kconform_pic'
6.6646 - lt_prog_compiler_static='-Bstatic'
6.6647 - fi
6.6648 - ;;
6.6649 -
6.6650 - unicos*)
6.6651 - lt_prog_compiler_wl='-Wl,'
6.6652 - lt_prog_compiler_can_build_shared=no
6.6653 - ;;
6.6654 -
6.6655 - uts4*)
6.6656 - lt_prog_compiler_pic='-pic'
6.6657 - lt_prog_compiler_static='-Bstatic'
6.6658 - ;;
6.6659 -
6.6660 - *)
6.6661 - lt_prog_compiler_can_build_shared=no
6.6662 - ;;
6.6663 - esac
6.6664 - fi
6.6665 -
6.6666 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6.6667 -echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6.6668 -
6.6669 -#
6.6670 -# Check to make sure the PIC flag actually works.
6.6671 -#
6.6672 -if test -n "$lt_prog_compiler_pic"; then
6.6673 -
6.6674 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6.6675 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6.6676 -if test "${lt_prog_compiler_pic_works+set}" = set; then
6.6677 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.6678 -else
6.6679 - lt_prog_compiler_pic_works=no
6.6680 - ac_outfile=conftest.$ac_objext
6.6681 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.6682 - lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6.6683 - # Insert the option either (1) after the last *FLAGS variable, or
6.6684 - # (2) before a word containing "conftest.", or (3) at the end.
6.6685 - # Note that $ac_compile itself does not contain backslashes and begins
6.6686 - # with a dollar sign (not a hyphen), so the echo should work correctly.
6.6687 - # The option is referenced via a variable to avoid confusing sed.
6.6688 - lt_compile=`echo "$ac_compile" | $SED \
6.6689 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.6690 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.6691 - -e 's:$: $lt_compiler_flag:'`
6.6692 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.6693 - (eval "$lt_compile" 2>conftest.err)
6.6694 - ac_status=$?
6.6695 - cat conftest.err >&5
6.6696 - echo "$as_me:__oline__: \$? = $ac_status" >&5
6.6697 - if (exit $ac_status) && test -s "$ac_outfile"; then
6.6698 - # The compiler can only warn and ignore the option if not recognized
6.6699 - # So say no if there are warnings other than the usual output.
6.6700 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6.6701 - $SED '/^$/d' conftest.err >conftest.er2
6.6702 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6.6703 - lt_prog_compiler_pic_works=yes
6.6704 - fi
6.6705 - fi
6.6706 - $rm conftest*
6.6707 -
6.6708 -fi
6.6709 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6.6710 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6.6711 -
6.6712 -if test x"$lt_prog_compiler_pic_works" = xyes; then
6.6713 - case $lt_prog_compiler_pic in
6.6714 - "" | " "*) ;;
6.6715 - *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6.6716 - esac
6.6717 -else
6.6718 - lt_prog_compiler_pic=
6.6719 - lt_prog_compiler_can_build_shared=no
6.6720 -fi
6.6721 -
6.6722 -fi
6.6723 -case $host_os in
6.6724 - # For platforms which do not support PIC, -DPIC is meaningless:
6.6725 - *djgpp*)
6.6726 - lt_prog_compiler_pic=
6.6727 - ;;
6.6728 - *)
6.6729 - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6.6730 - ;;
6.6731 -esac
6.6732 -
6.6733 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6.6734 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6.6735 -if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6.6736 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.6737 -else
6.6738 - lt_cv_prog_compiler_c_o=no
6.6739 - $rm -r conftest 2>/dev/null
6.6740 - mkdir conftest
6.6741 - cd conftest
6.6742 - mkdir out
6.6743 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.6744 -
6.6745 - lt_compiler_flag="-o out/conftest2.$ac_objext"
6.6746 - # Insert the option either (1) after the last *FLAGS variable, or
6.6747 - # (2) before a word containing "conftest.", or (3) at the end.
6.6748 - # Note that $ac_compile itself does not contain backslashes and begins
6.6749 - # with a dollar sign (not a hyphen), so the echo should work correctly.
6.6750 - lt_compile=`echo "$ac_compile" | $SED \
6.6751 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.6752 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.6753 - -e 's:$: $lt_compiler_flag:'`
6.6754 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.6755 - (eval "$lt_compile" 2>out/conftest.err)
6.6756 - ac_status=$?
6.6757 - cat out/conftest.err >&5
6.6758 - echo "$as_me:__oline__: \$? = $ac_status" >&5
6.6759 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
6.6760 - then
6.6761 - # The compiler can only warn and ignore the option if not recognized
6.6762 - # So say no if there are warnings
6.6763 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
6.6764 - $SED '/^$/d' out/conftest.err >out/conftest.er2
6.6765 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6.6766 - lt_cv_prog_compiler_c_o=yes
6.6767 - fi
6.6768 - fi
6.6769 - chmod u+w . 2>&5
6.6770 - $rm conftest*
6.6771 - # SGI C++ compiler will create directory out/ii_files/ for
6.6772 - # template instantiation
6.6773 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
6.6774 - $rm out/* && rmdir out
6.6775 - cd ..
6.6776 - rmdir conftest
6.6777 - $rm conftest*
6.6778 -
6.6779 -fi
6.6780 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6.6781 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6.6782 -
6.6783 -
6.6784 -hard_links="nottested"
6.6785 -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6.6786 - # do not overwrite the value of need_locks provided by the user
6.6787 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6.6788 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6.6789 - hard_links=yes
6.6790 - $rm conftest*
6.6791 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
6.6792 - touch conftest.a
6.6793 - ln conftest.a conftest.b 2>&5 || hard_links=no
6.6794 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
6.6795 - echo "$as_me:$LINENO: result: $hard_links" >&5
6.6796 -echo "${ECHO_T}$hard_links" >&6
6.6797 - if test "$hard_links" = no; then
6.6798 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6.6799 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6.6800 - need_locks=warn
6.6801 - fi
6.6802 -else
6.6803 - need_locks=no
6.6804 -fi
6.6805 -
6.6806 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6.6807 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6.6808 -
6.6809 - runpath_var=
6.6810 - allow_undefined_flag=
6.6811 - enable_shared_with_static_runtimes=no
6.6812 - archive_cmds=
6.6813 - archive_expsym_cmds=
6.6814 - old_archive_From_new_cmds=
6.6815 - old_archive_from_expsyms_cmds=
6.6816 - export_dynamic_flag_spec=
6.6817 - whole_archive_flag_spec=
6.6818 - thread_safe_flag_spec=
6.6819 - hardcode_libdir_flag_spec=
6.6820 - hardcode_libdir_flag_spec_ld=
6.6821 - hardcode_libdir_separator=
6.6822 - hardcode_direct=no
6.6823 - hardcode_minus_L=no
6.6824 - hardcode_shlibpath_var=unsupported
6.6825 - link_all_deplibs=unknown
6.6826 - hardcode_automatic=no
6.6827 - module_cmds=
6.6828 - module_expsym_cmds=
6.6829 - always_export_symbols=no
6.6830 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6.6831 - # include_expsyms should be a list of space-separated symbols to be *always*
6.6832 - # included in the symbol list
6.6833 - include_expsyms=
6.6834 - # exclude_expsyms can be an extended regexp of symbols to exclude
6.6835 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
6.6836 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6.6837 - # as well as any symbol that contains `d'.
6.6838 - exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6.6839 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6.6840 - # platforms (ab)use it in PIC code, but their linkers get confused if
6.6841 - # the symbol is explicitly referenced. Since portable code cannot
6.6842 - # rely on this symbol name, it's probably fine to never include it in
6.6843 - # preloaded symbol tables.
6.6844 - extract_expsyms_cmds=
6.6845 - # Just being paranoid about ensuring that cc_basename is set.
6.6846 - for cc_temp in $compiler""; do
6.6847 - case $cc_temp in
6.6848 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6.6849 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6.6850 - \-*) ;;
6.6851 - *) break;;
6.6852 - esac
6.6853 -done
6.6854 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6.6855 -
6.6856 - case $host_os in
6.6857 - cygwin* | mingw* | pw32*)
6.6858 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
6.6859 - # When not using gcc, we currently assume that we are using
6.6860 - # Microsoft Visual C++.
6.6861 - if test "$GCC" != yes; then
6.6862 - with_gnu_ld=no
6.6863 - fi
6.6864 - ;;
6.6865 - openbsd*)
6.6866 - with_gnu_ld=no
6.6867 - ;;
6.6868 - esac
6.6869 -
6.6870 - ld_shlibs=yes
6.6871 - if test "$with_gnu_ld" = yes; then
6.6872 - # If archive_cmds runs LD, not CC, wlarc should be empty
6.6873 - wlarc='${wl}'
6.6874 -
6.6875 - # Set some defaults for GNU ld with shared library support. These
6.6876 - # are reset later if shared libraries are not supported. Putting them
6.6877 - # here allows them to be overridden if necessary.
6.6878 - runpath_var=LD_RUN_PATH
6.6879 - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6.6880 - export_dynamic_flag_spec='${wl}--export-dynamic'
6.6881 - # ancient GNU ld didn't support --whole-archive et. al.
6.6882 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6.6883 - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6.6884 - else
6.6885 - whole_archive_flag_spec=
6.6886 - fi
6.6887 - supports_anon_versioning=no
6.6888 - case `$LD -v 2>/dev/null` in
6.6889 - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6.6890 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6.6891 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6.6892 - *\ 2.11.*) ;; # other 2.11 versions
6.6893 - *) supports_anon_versioning=yes ;;
6.6894 - esac
6.6895 -
6.6896 - # See if GNU ld supports shared libraries.
6.6897 - case $host_os in
6.6898 - aix3* | aix4* | aix5*)
6.6899 - # On AIX/PPC, the GNU linker is very broken
6.6900 - if test "$host_cpu" != ia64; then
6.6901 - ld_shlibs=no
6.6902 - cat <<EOF 1>&2
6.6903 -
6.6904 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
6.6905 -*** to be unable to reliably create shared libraries on AIX.
6.6906 -*** Therefore, libtool is disabling shared libraries support. If you
6.6907 -*** really care for shared libraries, you may want to modify your PATH
6.6908 -*** so that a non-GNU linker is found, and then restart.
6.6909 -
6.6910 -EOF
6.6911 - fi
6.6912 - ;;
6.6913 -
6.6914 - amigaos*)
6.6915 - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
6.6916 - hardcode_libdir_flag_spec='-L$libdir'
6.6917 - hardcode_minus_L=yes
6.6918 -
6.6919 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6.6920 - # that the semantics of dynamic libraries on AmigaOS, at least up
6.6921 - # to version 4, is to share data among multiple programs linked
6.6922 - # with the same dynamic library. Since this doesn't match the
6.6923 - # behavior of shared libraries on other platforms, we can't use
6.6924 - # them.
6.6925 - ld_shlibs=no
6.6926 - ;;
6.6927 -
6.6928 - beos*)
6.6929 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.6930 - allow_undefined_flag=unsupported
6.6931 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6.6932 - # support --undefined. This deserves some investigation. FIXME
6.6933 - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.6934 - else
6.6935 - ld_shlibs=no
6.6936 - fi
6.6937 - ;;
6.6938 -
6.6939 - cygwin* | mingw* | pw32*)
6.6940 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6.6941 - # as there is no search path for DLLs.
6.6942 - hardcode_libdir_flag_spec='-L$libdir'
6.6943 - allow_undefined_flag=unsupported
6.6944 - always_export_symbols=no
6.6945 - enable_shared_with_static_runtimes=yes
6.6946 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6.6947 -
6.6948 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6.6949 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6.6950 - # If the export-symbols file already is a .def file (1st line
6.6951 - # is EXPORTS), use it as is; otherwise, prepend...
6.6952 - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6.6953 - cp $export_symbols $output_objdir/$soname.def;
6.6954 - else
6.6955 - echo EXPORTS > $output_objdir/$soname.def;
6.6956 - cat $export_symbols >> $output_objdir/$soname.def;
6.6957 - fi~
6.6958 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6.6959 - else
6.6960 - ld_shlibs=no
6.6961 - fi
6.6962 - ;;
6.6963 -
6.6964 - linux*)
6.6965 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.6966 - tmp_addflag=
6.6967 - case $cc_basename,$host_cpu in
6.6968 - pgcc*) # Portland Group C compiler
6.6969 - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6.6970 - tmp_addflag=' $pic_flag'
6.6971 - ;;
6.6972 - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
6.6973 - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6.6974 - tmp_addflag=' $pic_flag -Mnomain' ;;
6.6975 - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
6.6976 - tmp_addflag=' -i_dynamic' ;;
6.6977 - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
6.6978 - tmp_addflag=' -i_dynamic -nofor_main' ;;
6.6979 - ifc* | ifort*) # Intel Fortran compiler
6.6980 - tmp_addflag=' -nofor_main' ;;
6.6981 - esac
6.6982 - archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.6983 -
6.6984 - if test $supports_anon_versioning = yes; then
6.6985 - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
6.6986 - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6.6987 - $echo "local: *; };" >> $output_objdir/$libname.ver~
6.6988 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6.6989 - fi
6.6990 - else
6.6991 - ld_shlibs=no
6.6992 - fi
6.6993 - ;;
6.6994 -
6.6995 - netbsd*)
6.6996 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.6997 - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6.6998 - wlarc=
6.6999 - else
6.7000 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.7001 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.7002 - fi
6.7003 - ;;
6.7004 -
6.7005 - solaris* | sysv5*)
6.7006 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6.7007 - ld_shlibs=no
6.7008 - cat <<EOF 1>&2
6.7009 -
6.7010 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
6.7011 -*** create shared libraries on Solaris systems. Therefore, libtool
6.7012 -*** is disabling shared libraries support. We urge you to upgrade GNU
6.7013 -*** binutils to release 2.9.1 or newer. Another option is to modify
6.7014 -*** your PATH or compiler configuration so that the native linker is
6.7015 -*** used, and then restart.
6.7016 -
6.7017 -EOF
6.7018 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.7019 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.7020 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.7021 - else
6.7022 - ld_shlibs=no
6.7023 - fi
6.7024 - ;;
6.7025 -
6.7026 - sunos4*)
6.7027 - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.7028 - wlarc=
6.7029 - hardcode_direct=yes
6.7030 - hardcode_shlibpath_var=no
6.7031 - ;;
6.7032 -
6.7033 - *)
6.7034 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.7035 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.7036 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.7037 - else
6.7038 - ld_shlibs=no
6.7039 - fi
6.7040 - ;;
6.7041 - esac
6.7042 -
6.7043 - if test "$ld_shlibs" = no; then
6.7044 - runpath_var=
6.7045 - hardcode_libdir_flag_spec=
6.7046 - export_dynamic_flag_spec=
6.7047 - whole_archive_flag_spec=
6.7048 - fi
6.7049 - else
6.7050 - # PORTME fill in a description of your system's linker (not GNU ld)
6.7051 - case $host_os in
6.7052 - aix3*)
6.7053 - allow_undefined_flag=unsupported
6.7054 - always_export_symbols=yes
6.7055 - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
6.7056 - # Note: this linker hardcodes the directories in LIBPATH if there
6.7057 - # are no directories specified by -L.
6.7058 - hardcode_minus_L=yes
6.7059 - if test "$GCC" = yes && test -z "$link_static_flag"; then
6.7060 - # Neither direct hardcoding nor static linking is supported with a
6.7061 - # broken collect2.
6.7062 - hardcode_direct=unsupported
6.7063 - fi
6.7064 - ;;
6.7065 -
6.7066 - aix4* | aix5*)
6.7067 - if test "$host_cpu" = ia64; then
6.7068 - # On IA64, the linker does run time linking by default, so we don't
6.7069 - # have to do anything special.
6.7070 - aix_use_runtimelinking=no
6.7071 - exp_sym_flag='-Bexport'
6.7072 - no_entry_flag=""
6.7073 - else
6.7074 - # If we're using GNU nm, then we don't want the "-C" option.
6.7075 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
6.7076 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6.7077 - export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
6.7078 - else
6.7079 - export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
6.7080 - fi
6.7081 - aix_use_runtimelinking=no
6.7082 -
6.7083 - # Test if we are trying to use run time linking or normal
6.7084 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6.7085 - # need to do runtime linking.
6.7086 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6.7087 - for ld_flag in $LDFLAGS; do
6.7088 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6.7089 - aix_use_runtimelinking=yes
6.7090 - break
6.7091 - fi
6.7092 - done
6.7093 - esac
6.7094 -
6.7095 - exp_sym_flag='-bexport'
6.7096 - no_entry_flag='-bnoentry'
6.7097 - fi
6.7098 -
6.7099 - # When large executables or shared objects are built, AIX ld can
6.7100 - # have problems creating the table of contents. If linking a library
6.7101 - # or program results in "error TOC overflow" add -mminimal-toc to
6.7102 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6.7103 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6.7104 -
6.7105 - archive_cmds=''
6.7106 - hardcode_direct=yes
6.7107 - hardcode_libdir_separator=':'
6.7108 - link_all_deplibs=yes
6.7109 -
6.7110 - if test "$GCC" = yes; then
6.7111 - case $host_os in aix4.[012]|aix4.[012].*)
6.7112 - # We only want to do this on AIX 4.2 and lower, the check
6.7113 - # below for broken collect2 doesn't work under 4.3+
6.7114 - collect2name=`${CC} -print-prog-name=collect2`
6.7115 - if test -f "$collect2name" && \
6.7116 - strings "$collect2name" | grep resolve_lib_name >/dev/null
6.7117 - then
6.7118 - # We have reworked collect2
6.7119 - hardcode_direct=yes
6.7120 - else
6.7121 - # We have old collect2
6.7122 - hardcode_direct=unsupported
6.7123 - # It fails to find uninstalled libraries when the uninstalled
6.7124 - # path is not listed in the libpath. Setting hardcode_minus_L
6.7125 - # to unsupported forces relinking
6.7126 - hardcode_minus_L=yes
6.7127 - hardcode_libdir_flag_spec='-L$libdir'
6.7128 - hardcode_libdir_separator=
6.7129 - fi
6.7130 - esac
6.7131 - shared_flag='-shared'
6.7132 - if test "$aix_use_runtimelinking" = yes; then
6.7133 - shared_flag="$shared_flag "'${wl}-G'
6.7134 - fi
6.7135 - else
6.7136 - # not using gcc
6.7137 - if test "$host_cpu" = ia64; then
6.7138 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6.7139 - # chokes on -Wl,-G. The following line is correct:
6.7140 - shared_flag='-G'
6.7141 - else
6.7142 - if test "$aix_use_runtimelinking" = yes; then
6.7143 - shared_flag='${wl}-G'
6.7144 - else
6.7145 - shared_flag='${wl}-bM:SRE'
6.7146 - fi
6.7147 - fi
6.7148 - fi
6.7149 -
6.7150 - # It seems that -bexpall does not export symbols beginning with
6.7151 - # underscore (_), so it is better to generate a list of symbols to export.
6.7152 - always_export_symbols=yes
6.7153 - if test "$aix_use_runtimelinking" = yes; then
6.7154 - # Warning - without using the other runtime loading flags (-brtl),
6.7155 - # -berok will link without error, but may produce a broken library.
6.7156 - allow_undefined_flag='-berok'
6.7157 - # Determine the default libpath from the value encoded in an empty executable.
6.7158 - cat >conftest.$ac_ext <<_ACEOF
6.7159 -/* confdefs.h. */
6.7160 -_ACEOF
6.7161 -cat confdefs.h >>conftest.$ac_ext
6.7162 -cat >>conftest.$ac_ext <<_ACEOF
6.7163 -/* end confdefs.h. */
6.7164 -
6.7165 -int
6.7166 -main ()
6.7167 -{
6.7168 -
6.7169 - ;
6.7170 - return 0;
6.7171 -}
6.7172 -_ACEOF
6.7173 -rm -f conftest.$ac_objext conftest$ac_exeext
6.7174 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.7175 - (eval $ac_link) 2>conftest.er1
6.7176 - ac_status=$?
6.7177 - grep -v '^ *+' conftest.er1 >conftest.err
6.7178 - rm -f conftest.er1
6.7179 - cat conftest.err >&5
6.7180 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.7181 - (exit $ac_status); } &&
6.7182 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.7183 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.7184 - (eval $ac_try) 2>&5
6.7185 - ac_status=$?
6.7186 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.7187 - (exit $ac_status); }; } &&
6.7188 - { ac_try='test -s conftest$ac_exeext'
6.7189 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.7190 - (eval $ac_try) 2>&5
6.7191 - ac_status=$?
6.7192 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.7193 - (exit $ac_status); }; }; then
6.7194 -
6.7195 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6.7196 -}'`
6.7197 -# Check for a 64-bit object if we didn't find anything.
6.7198 -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; }
6.7199 -}'`; fi
6.7200 -else
6.7201 - echo "$as_me: failed program was:" >&5
6.7202 -sed 's/^/| /' conftest.$ac_ext >&5
6.7203 -
6.7204 -fi
6.7205 -rm -f conftest.err conftest.$ac_objext \
6.7206 - conftest$ac_exeext conftest.$ac_ext
6.7207 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6.7208 -
6.7209 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6.7210 - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6.7211 - else
6.7212 - if test "$host_cpu" = ia64; then
6.7213 - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6.7214 - allow_undefined_flag="-z nodefs"
6.7215 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
6.7216 - else
6.7217 - # Determine the default libpath from the value encoded in an empty executable.
6.7218 - cat >conftest.$ac_ext <<_ACEOF
6.7219 -/* confdefs.h. */
6.7220 -_ACEOF
6.7221 -cat confdefs.h >>conftest.$ac_ext
6.7222 -cat >>conftest.$ac_ext <<_ACEOF
6.7223 -/* end confdefs.h. */
6.7224 -
6.7225 -int
6.7226 -main ()
6.7227 -{
6.7228 -
6.7229 - ;
6.7230 - return 0;
6.7231 -}
6.7232 -_ACEOF
6.7233 -rm -f conftest.$ac_objext conftest$ac_exeext
6.7234 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.7235 - (eval $ac_link) 2>conftest.er1
6.7236 - ac_status=$?
6.7237 - grep -v '^ *+' conftest.er1 >conftest.err
6.7238 - rm -f conftest.er1
6.7239 - cat conftest.err >&5
6.7240 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.7241 - (exit $ac_status); } &&
6.7242 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.7243 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.7244 - (eval $ac_try) 2>&5
6.7245 - ac_status=$?
6.7246 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.7247 - (exit $ac_status); }; } &&
6.7248 - { ac_try='test -s conftest$ac_exeext'
6.7249 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.7250 - (eval $ac_try) 2>&5
6.7251 - ac_status=$?
6.7252 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.7253 - (exit $ac_status); }; }; then
6.7254 -
6.7255 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6.7256 -}'`
6.7257 -# Check for a 64-bit object if we didn't find anything.
6.7258 -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; }
6.7259 -}'`; fi
6.7260 -else
6.7261 - echo "$as_me: failed program was:" >&5
6.7262 -sed 's/^/| /' conftest.$ac_ext >&5
6.7263 -
6.7264 -fi
6.7265 -rm -f conftest.err conftest.$ac_objext \
6.7266 - conftest$ac_exeext conftest.$ac_ext
6.7267 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6.7268 -
6.7269 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6.7270 - # Warning - without using the other run time loading flags,
6.7271 - # -berok will link without error, but may produce a broken library.
6.7272 - no_undefined_flag=' ${wl}-bernotok'
6.7273 - allow_undefined_flag=' ${wl}-berok'
6.7274 - # -bexpall does not export symbols beginning with underscore (_)
6.7275 - always_export_symbols=yes
6.7276 - # Exported symbols can be pulled into shared objects from archives
6.7277 - whole_archive_flag_spec=' '
6.7278 - archive_cmds_need_lc=yes
6.7279 - # This is similar to how AIX traditionally builds its shared libraries.
6.7280 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
6.7281 - fi
6.7282 - fi
6.7283 - ;;
6.7284 -
6.7285 - amigaos*)
6.7286 - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
6.7287 - hardcode_libdir_flag_spec='-L$libdir'
6.7288 - hardcode_minus_L=yes
6.7289 - # see comment about different semantics on the GNU ld section
6.7290 - ld_shlibs=no
6.7291 - ;;
6.7292 -
6.7293 - bsdi[45]*)
6.7294 - export_dynamic_flag_spec=-rdynamic
6.7295 - ;;
6.7296 -
6.7297 - cygwin* | mingw* | pw32*)
6.7298 - # When not using gcc, we currently assume that we are using
6.7299 - # Microsoft Visual C++.
6.7300 - # hardcode_libdir_flag_spec is actually meaningless, as there is
6.7301 - # no search path for DLLs.
6.7302 - hardcode_libdir_flag_spec=' '
6.7303 - allow_undefined_flag=unsupported
6.7304 - # Tell ltmain to make .lib files, not .a files.
6.7305 - libext=lib
6.7306 - # Tell ltmain to make .dll files, not .so files.
6.7307 - shrext_cmds=".dll"
6.7308 - # FIXME: Setting linknames here is a bad hack.
6.7309 - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6.7310 - # The linker will automatically build a .lib file if we build a DLL.
6.7311 - old_archive_From_new_cmds='true'
6.7312 - # FIXME: Should let the user specify the lib program.
6.7313 - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
6.7314 - fix_srcfile_path='`cygpath -w "$srcfile"`'
6.7315 - enable_shared_with_static_runtimes=yes
6.7316 - ;;
6.7317 -
6.7318 - darwin* | rhapsody*)
6.7319 - case $host_os in
6.7320 - rhapsody* | darwin1.[012])
6.7321 - allow_undefined_flag='${wl}-undefined ${wl}suppress'
6.7322 - ;;
6.7323 - *) # Darwin 1.3 on
6.7324 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6.7325 - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6.7326 - else
6.7327 - case ${MACOSX_DEPLOYMENT_TARGET} in
6.7328 - 10.[012])
6.7329 - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6.7330 - ;;
6.7331 - 10.*)
6.7332 - allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
6.7333 - ;;
6.7334 - esac
6.7335 - fi
6.7336 - ;;
6.7337 - esac
6.7338 - archive_cmds_need_lc=no
6.7339 - hardcode_direct=no
6.7340 - hardcode_automatic=yes
6.7341 - hardcode_shlibpath_var=unsupported
6.7342 - whole_archive_flag_spec=''
6.7343 - link_all_deplibs=yes
6.7344 - if test "$GCC" = yes ; then
6.7345 - output_verbose_link_cmd='echo'
6.7346 - archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6.7347 - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6.7348 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6.7349 - archive_expsym_cmds='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}'
6.7350 - module_expsym_cmds='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}'
6.7351 - else
6.7352 - case $cc_basename in
6.7353 - xlc*)
6.7354 - output_verbose_link_cmd='echo'
6.7355 - archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
6.7356 - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6.7357 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6.7358 - archive_expsym_cmds='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}'
6.7359 - module_expsym_cmds='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}'
6.7360 - ;;
6.7361 - *)
6.7362 - ld_shlibs=no
6.7363 - ;;
6.7364 - esac
6.7365 - fi
6.7366 - ;;
6.7367 -
6.7368 - dgux*)
6.7369 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7370 - hardcode_libdir_flag_spec='-L$libdir'
6.7371 - hardcode_shlibpath_var=no
6.7372 - ;;
6.7373 -
6.7374 - freebsd1*)
6.7375 - ld_shlibs=no
6.7376 - ;;
6.7377 -
6.7378 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6.7379 - # support. Future versions do this automatically, but an explicit c++rt0.o
6.7380 - # does not break anything, and helps significantly (at the cost of a little
6.7381 - # extra space).
6.7382 - freebsd2.2*)
6.7383 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
6.7384 - hardcode_libdir_flag_spec='-R$libdir'
6.7385 - hardcode_direct=yes
6.7386 - hardcode_shlibpath_var=no
6.7387 - ;;
6.7388 -
6.7389 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6.7390 - freebsd2*)
6.7391 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.7392 - hardcode_direct=yes
6.7393 - hardcode_minus_L=yes
6.7394 - hardcode_shlibpath_var=no
6.7395 - ;;
6.7396 -
6.7397 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6.7398 - freebsd* | kfreebsd*-gnu | dragonfly*)
6.7399 - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6.7400 - hardcode_libdir_flag_spec='-R$libdir'
6.7401 - hardcode_direct=yes
6.7402 - hardcode_shlibpath_var=no
6.7403 - ;;
6.7404 -
6.7405 - hpux9*)
6.7406 - if test "$GCC" = yes; then
6.7407 - archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
6.7408 - else
6.7409 - archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
6.7410 - fi
6.7411 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
6.7412 - hardcode_libdir_separator=:
6.7413 - hardcode_direct=yes
6.7414 -
6.7415 - # hardcode_minus_L: Not really in the search PATH,
6.7416 - # but as the default location of the library.
6.7417 - hardcode_minus_L=yes
6.7418 - export_dynamic_flag_spec='${wl}-E'
6.7419 - ;;
6.7420 -
6.7421 - hpux10* | hpux11*)
6.7422 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6.7423 - case $host_cpu in
6.7424 - hppa*64*|ia64*)
6.7425 - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.7426 - ;;
6.7427 - *)
6.7428 - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6.7429 - ;;
6.7430 - esac
6.7431 - else
6.7432 - case $host_cpu in
6.7433 - hppa*64*|ia64*)
6.7434 - archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7435 - ;;
6.7436 - *)
6.7437 - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6.7438 - ;;
6.7439 - esac
6.7440 - fi
6.7441 - if test "$with_gnu_ld" = no; then
6.7442 - case $host_cpu in
6.7443 - hppa*64*)
6.7444 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
6.7445 - hardcode_libdir_flag_spec_ld='+b $libdir'
6.7446 - hardcode_libdir_separator=:
6.7447 - hardcode_direct=no
6.7448 - hardcode_shlibpath_var=no
6.7449 - ;;
6.7450 - ia64*)
6.7451 - hardcode_libdir_flag_spec='-L$libdir'
6.7452 - hardcode_direct=no
6.7453 - hardcode_shlibpath_var=no
6.7454 -
6.7455 - # hardcode_minus_L: Not really in the search PATH,
6.7456 - # but as the default location of the library.
6.7457 - hardcode_minus_L=yes
6.7458 - ;;
6.7459 - *)
6.7460 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
6.7461 - hardcode_libdir_separator=:
6.7462 - hardcode_direct=yes
6.7463 - export_dynamic_flag_spec='${wl}-E'
6.7464 -
6.7465 - # hardcode_minus_L: Not really in the search PATH,
6.7466 - # but as the default location of the library.
6.7467 - hardcode_minus_L=yes
6.7468 - ;;
6.7469 - esac
6.7470 - fi
6.7471 - ;;
6.7472 -
6.7473 - irix5* | irix6* | nonstopux*)
6.7474 - if test "$GCC" = yes; then
6.7475 - archive_cmds='$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'
6.7476 - else
6.7477 - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6.7478 - hardcode_libdir_flag_spec_ld='-rpath $libdir'
6.7479 - fi
6.7480 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6.7481 - hardcode_libdir_separator=:
6.7482 - link_all_deplibs=yes
6.7483 - ;;
6.7484 -
6.7485 - netbsd*)
6.7486 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.7487 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6.7488 - else
6.7489 - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
6.7490 - fi
6.7491 - hardcode_libdir_flag_spec='-R$libdir'
6.7492 - hardcode_direct=yes
6.7493 - hardcode_shlibpath_var=no
6.7494 - ;;
6.7495 -
6.7496 - newsos6)
6.7497 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7498 - hardcode_direct=yes
6.7499 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6.7500 - hardcode_libdir_separator=:
6.7501 - hardcode_shlibpath_var=no
6.7502 - ;;
6.7503 -
6.7504 - openbsd*)
6.7505 - hardcode_direct=yes
6.7506 - hardcode_shlibpath_var=no
6.7507 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.7508 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6.7509 - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
6.7510 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6.7511 - export_dynamic_flag_spec='${wl}-E'
6.7512 - else
6.7513 - case $host_os in
6.7514 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
6.7515 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.7516 - hardcode_libdir_flag_spec='-R$libdir'
6.7517 - ;;
6.7518 - *)
6.7519 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6.7520 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6.7521 - ;;
6.7522 - esac
6.7523 - fi
6.7524 - ;;
6.7525 -
6.7526 - os2*)
6.7527 - hardcode_libdir_flag_spec='-L$libdir'
6.7528 - hardcode_minus_L=yes
6.7529 - allow_undefined_flag=unsupported
6.7530 - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
6.7531 - old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
6.7532 - ;;
6.7533 -
6.7534 - osf3*)
6.7535 - if test "$GCC" = yes; then
6.7536 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
6.7537 - archive_cmds='$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'
6.7538 - else
6.7539 - allow_undefined_flag=' -expect_unresolved \*'
6.7540 - archive_cmds='$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'
6.7541 - fi
6.7542 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6.7543 - hardcode_libdir_separator=:
6.7544 - ;;
6.7545 -
6.7546 - osf4* | osf5*) # as osf3* with the addition of -msym flag
6.7547 - if test "$GCC" = yes; then
6.7548 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
6.7549 - archive_cmds='$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'
6.7550 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6.7551 - else
6.7552 - allow_undefined_flag=' -expect_unresolved \*'
6.7553 - archive_cmds='$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'
6.7554 - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
6.7555 - $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'
6.7556 -
6.7557 - # Both c and cxx compiler support -rpath directly
6.7558 - hardcode_libdir_flag_spec='-rpath $libdir'
6.7559 - fi
6.7560 - hardcode_libdir_separator=:
6.7561 - ;;
6.7562 -
6.7563 - sco3.2v5*)
6.7564 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7565 - hardcode_shlibpath_var=no
6.7566 - export_dynamic_flag_spec='${wl}-Bexport'
6.7567 - runpath_var=LD_RUN_PATH
6.7568 - hardcode_runpath_var=yes
6.7569 - ;;
6.7570 -
6.7571 - solaris*)
6.7572 - no_undefined_flag=' -z text'
6.7573 - if test "$GCC" = yes; then
6.7574 - wlarc='${wl}'
6.7575 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.7576 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.7577 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
6.7578 - else
6.7579 - wlarc=''
6.7580 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7581 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.7582 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6.7583 - fi
6.7584 - hardcode_libdir_flag_spec='-R$libdir'
6.7585 - hardcode_shlibpath_var=no
6.7586 - case $host_os in
6.7587 - solaris2.[0-5] | solaris2.[0-5].*) ;;
6.7588 - *)
6.7589 - # The compiler driver will combine linker options so we
6.7590 - # cannot just pass the convience library names through
6.7591 - # without $wl, iff we do not link with $LD.
6.7592 - # Luckily, gcc supports the same syntax we need for Sun Studio.
6.7593 - # Supported since Solaris 2.6 (maybe 2.5.1?)
6.7594 - case $wlarc in
6.7595 - '')
6.7596 - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
6.7597 - *)
6.7598 - whole_archive_flag_spec='${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' ;;
6.7599 - esac ;;
6.7600 - esac
6.7601 - link_all_deplibs=yes
6.7602 - ;;
6.7603 -
6.7604 - sunos4*)
6.7605 - if test "x$host_vendor" = xsequent; then
6.7606 - # Use $CC to link under sequent, because it throws in some extra .o
6.7607 - # files that make .init and .fini sections work.
6.7608 - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6.7609 - else
6.7610 - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
6.7611 - fi
6.7612 - hardcode_libdir_flag_spec='-L$libdir'
6.7613 - hardcode_direct=yes
6.7614 - hardcode_minus_L=yes
6.7615 - hardcode_shlibpath_var=no
6.7616 - ;;
6.7617 -
6.7618 - sysv4)
6.7619 - case $host_vendor in
6.7620 - sni)
6.7621 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7622 - hardcode_direct=yes # is this really true???
6.7623 - ;;
6.7624 - siemens)
6.7625 - ## LD is ld it makes a PLAMLIB
6.7626 - ## CC just makes a GrossModule.
6.7627 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6.7628 - reload_cmds='$CC -r -o $output$reload_objs'
6.7629 - hardcode_direct=no
6.7630 - ;;
6.7631 - motorola)
6.7632 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7633 - hardcode_direct=no #Motorola manual says yes, but my tests say they lie
6.7634 - ;;
6.7635 - esac
6.7636 - runpath_var='LD_RUN_PATH'
6.7637 - hardcode_shlibpath_var=no
6.7638 - ;;
6.7639 -
6.7640 - sysv4.3*)
6.7641 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7642 - hardcode_shlibpath_var=no
6.7643 - export_dynamic_flag_spec='-Bexport'
6.7644 - ;;
6.7645 -
6.7646 - sysv4*MP*)
6.7647 - if test -d /usr/nec; then
6.7648 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7649 - hardcode_shlibpath_var=no
6.7650 - runpath_var=LD_RUN_PATH
6.7651 - hardcode_runpath_var=yes
6.7652 - ld_shlibs=yes
6.7653 - fi
6.7654 - ;;
6.7655 -
6.7656 - sysv4.2uw2*)
6.7657 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6.7658 - hardcode_direct=yes
6.7659 - hardcode_minus_L=no
6.7660 - hardcode_shlibpath_var=no
6.7661 - hardcode_runpath_var=yes
6.7662 - runpath_var=LD_RUN_PATH
6.7663 - ;;
6.7664 -
6.7665 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
6.7666 - no_undefined_flag='${wl}-z ${wl}text'
6.7667 - if test "$GCC" = yes; then
6.7668 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.7669 - else
6.7670 - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.7671 - fi
6.7672 - runpath_var='LD_RUN_PATH'
6.7673 - hardcode_shlibpath_var=no
6.7674 - ;;
6.7675 -
6.7676 - sysv5*)
6.7677 - no_undefined_flag=' -z text'
6.7678 - # $CC -shared without GNU ld will not create a library from C++
6.7679 - # object files and a static libstdc++, better avoid it by now
6.7680 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7681 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.7682 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6.7683 - hardcode_libdir_flag_spec=
6.7684 - hardcode_shlibpath_var=no
6.7685 - runpath_var='LD_RUN_PATH'
6.7686 - ;;
6.7687 -
6.7688 - uts4*)
6.7689 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7690 - hardcode_libdir_flag_spec='-L$libdir'
6.7691 - hardcode_shlibpath_var=no
6.7692 - ;;
6.7693 -
6.7694 - *)
6.7695 - ld_shlibs=no
6.7696 - ;;
6.7697 - esac
6.7698 - fi
6.7699 -
6.7700 -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
6.7701 -echo "${ECHO_T}$ld_shlibs" >&6
6.7702 -test "$ld_shlibs" = no && can_build_shared=no
6.7703 -
6.7704 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6.7705 -if test "$GCC" = yes; then
6.7706 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6.7707 -fi
6.7708 -
6.7709 -#
6.7710 -# Do we need to explicitly link libc?
6.7711 -#
6.7712 -case "x$archive_cmds_need_lc" in
6.7713 -x|xyes)
6.7714 - # Assume -lc should be added
6.7715 - archive_cmds_need_lc=yes
6.7716 -
6.7717 - if test "$enable_shared" = yes && test "$GCC" = yes; then
6.7718 - case $archive_cmds in
6.7719 - *'~'*)
6.7720 - # FIXME: we may have to deal with multi-command sequences.
6.7721 - ;;
6.7722 - '$CC '*)
6.7723 - # Test whether the compiler implicitly links with -lc since on some
6.7724 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
6.7725 - # to ld, don't add -lc before -lgcc.
6.7726 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
6.7727 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
6.7728 - $rm conftest*
6.7729 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.7730 -
6.7731 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.7732 - (eval $ac_compile) 2>&5
6.7733 - ac_status=$?
6.7734 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.7735 - (exit $ac_status); } 2>conftest.err; then
6.7736 - soname=conftest
6.7737 - lib=conftest
6.7738 - libobjs=conftest.$ac_objext
6.7739 - deplibs=
6.7740 - wl=$lt_prog_compiler_wl
6.7741 - compiler_flags=-v
6.7742 - linker_flags=-v
6.7743 - verstring=
6.7744 - output_objdir=.
6.7745 - libname=conftest
6.7746 - lt_save_allow_undefined_flag=$allow_undefined_flag
6.7747 - allow_undefined_flag=
6.7748 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
6.7749 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
6.7750 - ac_status=$?
6.7751 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.7752 - (exit $ac_status); }
6.7753 - then
6.7754 - archive_cmds_need_lc=no
6.7755 - else
6.7756 - archive_cmds_need_lc=yes
6.7757 - fi
6.7758 - allow_undefined_flag=$lt_save_allow_undefined_flag
6.7759 - else
6.7760 - cat conftest.err 1>&5
6.7761 - fi
6.7762 - $rm conftest*
6.7763 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
6.7764 -echo "${ECHO_T}$archive_cmds_need_lc" >&6
6.7765 - ;;
6.7766 - esac
6.7767 - fi
6.7768 - ;;
6.7769 -esac
6.7770 -
6.7771 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6.7772 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6.7773 -library_names_spec=
6.7774 -libname_spec='lib$name'
6.7775 -soname_spec=
6.7776 -shrext_cmds=".so"
6.7777 -postinstall_cmds=
6.7778 -postuninstall_cmds=
6.7779 -finish_cmds=
6.7780 -finish_eval=
6.7781 -shlibpath_var=
6.7782 -shlibpath_overrides_runpath=unknown
6.7783 -version_type=none
6.7784 -dynamic_linker="$host_os ld.so"
6.7785 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
6.7786 -if test "$GCC" = yes; then
6.7787 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6.7788 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
6.7789 - # if the path contains ";" then we assume it to be the separator
6.7790 - # otherwise default to the standard path separator (i.e. ":") - it is
6.7791 - # assumed that no part of a normal pathname contains ";" but that should
6.7792 - # okay in the real world where ";" in dirpaths is itself problematic.
6.7793 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6.7794 - else
6.7795 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6.7796 - fi
6.7797 -else
6.7798 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
6.7799 -fi
6.7800 -need_lib_prefix=unknown
6.7801 -hardcode_into_libs=no
6.7802 -
6.7803 -# when you set need_version to no, make sure it does not cause -set_version
6.7804 -# flags to be left without arguments
6.7805 -need_version=unknown
6.7806 -
6.7807 -case $host_os in
6.7808 -aix3*)
6.7809 - version_type=linux
6.7810 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
6.7811 - shlibpath_var=LIBPATH
6.7812 -
6.7813 - # AIX 3 has no versioning support, so we append a major version to the name.
6.7814 - soname_spec='${libname}${release}${shared_ext}$major'
6.7815 - ;;
6.7816 -
6.7817 -aix4* | aix5*)
6.7818 - version_type=linux
6.7819 - need_lib_prefix=no
6.7820 - need_version=no
6.7821 - hardcode_into_libs=yes
6.7822 - if test "$host_cpu" = ia64; then
6.7823 - # AIX 5 supports IA64
6.7824 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6.7825 - shlibpath_var=LD_LIBRARY_PATH
6.7826 - else
6.7827 - # With GCC up to 2.95.x, collect2 would create an import file
6.7828 - # for dependence libraries. The import file would start with
6.7829 - # the line `#! .'. This would cause the generated library to
6.7830 - # depend on `.', always an invalid library. This was fixed in
6.7831 - # development snapshots of GCC prior to 3.0.
6.7832 - case $host_os in
6.7833 - aix4 | aix4.[01] | aix4.[01].*)
6.7834 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6.7835 - echo ' yes '
6.7836 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
6.7837 - :
6.7838 - else
6.7839 - can_build_shared=no
6.7840 - fi
6.7841 - ;;
6.7842 - esac
6.7843 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6.7844 - # soname into executable. Probably we can add versioning support to
6.7845 - # collect2, so additional links can be useful in future.
6.7846 - if test "$aix_use_runtimelinking" = yes; then
6.7847 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6.7848 - # instead of lib<name>.a to let people know that these are not
6.7849 - # typical AIX shared libraries.
6.7850 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.7851 - else
6.7852 - # We preserve .a as extension for shared libraries through AIX4.2
6.7853 - # and later when we are not doing run time linking.
6.7854 - library_names_spec='${libname}${release}.a $libname.a'
6.7855 - soname_spec='${libname}${release}${shared_ext}$major'
6.7856 - fi
6.7857 - shlibpath_var=LIBPATH
6.7858 - fi
6.7859 - ;;
6.7860 -
6.7861 -amigaos*)
6.7862 - library_names_spec='$libname.ixlibrary $libname.a'
6.7863 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
6.7864 - 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'
6.7865 - ;;
6.7866 -
6.7867 -beos*)
6.7868 - library_names_spec='${libname}${shared_ext}'
6.7869 - dynamic_linker="$host_os ld.so"
6.7870 - shlibpath_var=LIBRARY_PATH
6.7871 - ;;
6.7872 -
6.7873 -bsdi[45]*)
6.7874 - version_type=linux
6.7875 - need_version=no
6.7876 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.7877 - soname_spec='${libname}${release}${shared_ext}$major'
6.7878 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
6.7879 - shlibpath_var=LD_LIBRARY_PATH
6.7880 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6.7881 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
6.7882 - # the default ld.so.conf also contains /usr/contrib/lib and
6.7883 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6.7884 - # libtool to hard-code these into programs
6.7885 - ;;
6.7886 -
6.7887 -cygwin* | mingw* | pw32*)
6.7888 - version_type=windows
6.7889 - shrext_cmds=".dll"
6.7890 - need_version=no
6.7891 - need_lib_prefix=no
6.7892 -
6.7893 - case $GCC,$host_os in
6.7894 - yes,cygwin* | yes,mingw* | yes,pw32*)
6.7895 - library_names_spec='$libname.dll.a'
6.7896 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
6.7897 - postinstall_cmds='base_file=`basename \${file}`~
6.7898 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
6.7899 - dldir=$destdir/`dirname \$dlpath`~
6.7900 - test -d \$dldir || mkdir -p \$dldir~
6.7901 - $install_prog $dir/$dlname \$dldir/$dlname~
6.7902 - chmod a+x \$dldir/$dlname'
6.7903 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6.7904 - dlpath=$dir/\$dldll~
6.7905 - $rm \$dlpath'
6.7906 - shlibpath_overrides_runpath=yes
6.7907 -
6.7908 - case $host_os in
6.7909 - cygwin*)
6.7910 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6.7911 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.7912 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
6.7913 - ;;
6.7914 - mingw*)
6.7915 - # MinGW DLLs use traditional 'lib' prefix
6.7916 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.7917 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6.7918 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
6.7919 - # It is most probably a Windows format PATH printed by
6.7920 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
6.7921 - # path with ; separators, and with drive letters. We can handle the
6.7922 - # drive letters (cygwin fileutils understands them), so leave them,
6.7923 - # especially as we might pass files found there to a mingw objdump,
6.7924 - # which wouldn't understand a cygwinified path. Ahh.
6.7925 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6.7926 - else
6.7927 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6.7928 - fi
6.7929 - ;;
6.7930 - pw32*)
6.7931 - # pw32 DLLs use 'pw' prefix rather than 'lib'
6.7932 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.7933 - ;;
6.7934 - esac
6.7935 - ;;
6.7936 -
6.7937 - *)
6.7938 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
6.7939 - ;;
6.7940 - esac
6.7941 - dynamic_linker='Win32 ld.exe'
6.7942 - # FIXME: first we should search . and the directory the executable is in
6.7943 - shlibpath_var=PATH
6.7944 - ;;
6.7945 -
6.7946 -darwin* | rhapsody*)
6.7947 - dynamic_linker="$host_os dyld"
6.7948 - version_type=darwin
6.7949 - need_lib_prefix=no
6.7950 - need_version=no
6.7951 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6.7952 - soname_spec='${libname}${release}${major}$shared_ext'
6.7953 - shlibpath_overrides_runpath=yes
6.7954 - shlibpath_var=DYLD_LIBRARY_PATH
6.7955 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
6.7956 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6.7957 - if test "$GCC" = yes; then
6.7958 - 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"`
6.7959 - else
6.7960 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
6.7961 - fi
6.7962 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
6.7963 - ;;
6.7964 -
6.7965 -dgux*)
6.7966 - version_type=linux
6.7967 - need_lib_prefix=no
6.7968 - need_version=no
6.7969 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6.7970 - soname_spec='${libname}${release}${shared_ext}$major'
6.7971 - shlibpath_var=LD_LIBRARY_PATH
6.7972 - ;;
6.7973 -
6.7974 -freebsd1*)
6.7975 - dynamic_linker=no
6.7976 - ;;
6.7977 -
6.7978 -kfreebsd*-gnu)
6.7979 - version_type=linux
6.7980 - need_lib_prefix=no
6.7981 - need_version=no
6.7982 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.7983 - soname_spec='${libname}${release}${shared_ext}$major'
6.7984 - shlibpath_var=LD_LIBRARY_PATH
6.7985 - shlibpath_overrides_runpath=no
6.7986 - hardcode_into_libs=yes
6.7987 - dynamic_linker='GNU ld.so'
6.7988 - ;;
6.7989 -
6.7990 -freebsd* | dragonfly*)
6.7991 - # DragonFly does not have aout. When/if they implement a new
6.7992 - # versioning mechanism, adjust this.
6.7993 - if test -x /usr/bin/objformat; then
6.7994 - objformat=`/usr/bin/objformat`
6.7995 - else
6.7996 - case $host_os in
6.7997 - freebsd[123]*) objformat=aout ;;
6.7998 - *) objformat=elf ;;
6.7999 - esac
6.8000 - fi
6.8001 - version_type=freebsd-$objformat
6.8002 - case $version_type in
6.8003 - freebsd-elf*)
6.8004 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6.8005 - need_version=no
6.8006 - need_lib_prefix=no
6.8007 - ;;
6.8008 - freebsd-*)
6.8009 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6.8010 - need_version=yes
6.8011 - ;;
6.8012 - esac
6.8013 - shlibpath_var=LD_LIBRARY_PATH
6.8014 - case $host_os in
6.8015 - freebsd2*)
6.8016 - shlibpath_overrides_runpath=yes
6.8017 - ;;
6.8018 - freebsd3.[01]* | freebsdelf3.[01]*)
6.8019 - shlibpath_overrides_runpath=yes
6.8020 - hardcode_into_libs=yes
6.8021 - ;;
6.8022 - *) # from 3.2 on
6.8023 - shlibpath_overrides_runpath=no
6.8024 - hardcode_into_libs=yes
6.8025 - ;;
6.8026 - esac
6.8027 - ;;
6.8028 -
6.8029 -gnu*)
6.8030 - version_type=linux
6.8031 - need_lib_prefix=no
6.8032 - need_version=no
6.8033 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6.8034 - soname_spec='${libname}${release}${shared_ext}$major'
6.8035 - shlibpath_var=LD_LIBRARY_PATH
6.8036 - hardcode_into_libs=yes
6.8037 - ;;
6.8038 -
6.8039 -hpux9* | hpux10* | hpux11*)
6.8040 - # Give a soname corresponding to the major version so that dld.sl refuses to
6.8041 - # link against other versions.
6.8042 - version_type=sunos
6.8043 - need_lib_prefix=no
6.8044 - need_version=no
6.8045 - case $host_cpu in
6.8046 - ia64*)
6.8047 - shrext_cmds='.so'
6.8048 - hardcode_into_libs=yes
6.8049 - dynamic_linker="$host_os dld.so"
6.8050 - shlibpath_var=LD_LIBRARY_PATH
6.8051 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6.8052 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8053 - soname_spec='${libname}${release}${shared_ext}$major'
6.8054 - if test "X$HPUX_IA64_MODE" = X32; then
6.8055 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6.8056 - else
6.8057 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
6.8058 - fi
6.8059 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6.8060 - ;;
6.8061 - hppa*64*)
6.8062 - shrext_cmds='.sl'
6.8063 - hardcode_into_libs=yes
6.8064 - dynamic_linker="$host_os dld.sl"
6.8065 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
6.8066 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6.8067 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8068 - soname_spec='${libname}${release}${shared_ext}$major'
6.8069 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6.8070 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6.8071 - ;;
6.8072 - *)
6.8073 - shrext_cmds='.sl'
6.8074 - dynamic_linker="$host_os dld.sl"
6.8075 - shlibpath_var=SHLIB_PATH
6.8076 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6.8077 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8078 - soname_spec='${libname}${release}${shared_ext}$major'
6.8079 - ;;
6.8080 - esac
6.8081 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
6.8082 - postinstall_cmds='chmod 555 $lib'
6.8083 - ;;
6.8084 -
6.8085 -irix5* | irix6* | nonstopux*)
6.8086 - case $host_os in
6.8087 - nonstopux*) version_type=nonstopux ;;
6.8088 - *)
6.8089 - if test "$lt_cv_prog_gnu_ld" = yes; then
6.8090 - version_type=linux
6.8091 - else
6.8092 - version_type=irix
6.8093 - fi ;;
6.8094 - esac
6.8095 - need_lib_prefix=no
6.8096 - need_version=no
6.8097 - soname_spec='${libname}${release}${shared_ext}$major'
6.8098 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6.8099 - case $host_os in
6.8100 - irix5* | nonstopux*)
6.8101 - libsuff= shlibsuff=
6.8102 - ;;
6.8103 - *)
6.8104 - case $LD in # libtool.m4 will add one of these switches to LD
6.8105 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
6.8106 - libsuff= shlibsuff= libmagic=32-bit;;
6.8107 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
6.8108 - libsuff=32 shlibsuff=N32 libmagic=N32;;
6.8109 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
6.8110 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
6.8111 - *) libsuff= shlibsuff= libmagic=never-match;;
6.8112 - esac
6.8113 - ;;
6.8114 - esac
6.8115 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
6.8116 - shlibpath_overrides_runpath=no
6.8117 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6.8118 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
6.8119 - hardcode_into_libs=yes
6.8120 - ;;
6.8121 -
6.8122 -# No shared lib support for Linux oldld, aout, or coff.
6.8123 -linux*oldld* | linux*aout* | linux*coff*)
6.8124 - dynamic_linker=no
6.8125 - ;;
6.8126 -
6.8127 -# This must be Linux ELF.
6.8128 -linux*)
6.8129 - version_type=linux
6.8130 - need_lib_prefix=no
6.8131 - need_version=no
6.8132 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8133 - soname_spec='${libname}${release}${shared_ext}$major'
6.8134 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6.8135 - shlibpath_var=LD_LIBRARY_PATH
6.8136 - shlibpath_overrides_runpath=no
6.8137 - # This implies no fast_install, which is unacceptable.
6.8138 - # Some rework will be needed to allow for fast_install
6.8139 - # before this can be enabled.
6.8140 - hardcode_into_libs=yes
6.8141 -
6.8142 - # Append ld.so.conf contents to the search path
6.8143 - if test -f /etc/ld.so.conf; then
6.8144 - 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' ' '`
6.8145 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
6.8146 - fi
6.8147 -
6.8148 - # We used to test for /lib/ld.so.1 and disable shared libraries on
6.8149 - # powerpc, because MkLinux only supported shared libraries with the
6.8150 - # GNU dynamic linker. Since this was broken with cross compilers,
6.8151 - # most powerpc-linux boxes support dynamic linking these days and
6.8152 - # people can always --disable-shared, the test was removed, and we
6.8153 - # assume the GNU/Linux dynamic linker is in use.
6.8154 - dynamic_linker='GNU/Linux ld.so'
6.8155 - ;;
6.8156 -
6.8157 -knetbsd*-gnu)
6.8158 - version_type=linux
6.8159 - need_lib_prefix=no
6.8160 - need_version=no
6.8161 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.8162 - soname_spec='${libname}${release}${shared_ext}$major'
6.8163 - shlibpath_var=LD_LIBRARY_PATH
6.8164 - shlibpath_overrides_runpath=no
6.8165 - hardcode_into_libs=yes
6.8166 - dynamic_linker='GNU ld.so'
6.8167 - ;;
6.8168 -
6.8169 -netbsd*)
6.8170 - version_type=sunos
6.8171 - need_lib_prefix=no
6.8172 - need_version=no
6.8173 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.8174 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.8175 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6.8176 - dynamic_linker='NetBSD (a.out) ld.so'
6.8177 - else
6.8178 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.8179 - soname_spec='${libname}${release}${shared_ext}$major'
6.8180 - dynamic_linker='NetBSD ld.elf_so'
6.8181 - fi
6.8182 - shlibpath_var=LD_LIBRARY_PATH
6.8183 - shlibpath_overrides_runpath=yes
6.8184 - hardcode_into_libs=yes
6.8185 - ;;
6.8186 -
6.8187 -newsos6)
6.8188 - version_type=linux
6.8189 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8190 - shlibpath_var=LD_LIBRARY_PATH
6.8191 - shlibpath_overrides_runpath=yes
6.8192 - ;;
6.8193 -
6.8194 -nto-qnx*)
6.8195 - version_type=linux
6.8196 - need_lib_prefix=no
6.8197 - need_version=no
6.8198 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8199 - soname_spec='${libname}${release}${shared_ext}$major'
6.8200 - shlibpath_var=LD_LIBRARY_PATH
6.8201 - shlibpath_overrides_runpath=yes
6.8202 - ;;
6.8203 -
6.8204 -openbsd*)
6.8205 - version_type=sunos
6.8206 - need_lib_prefix=no
6.8207 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
6.8208 - case $host_os in
6.8209 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
6.8210 - *) need_version=no ;;
6.8211 - esac
6.8212 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.8213 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6.8214 - shlibpath_var=LD_LIBRARY_PATH
6.8215 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.8216 - case $host_os in
6.8217 - openbsd2.[89] | openbsd2.[89].*)
6.8218 - shlibpath_overrides_runpath=no
6.8219 - ;;
6.8220 - *)
6.8221 - shlibpath_overrides_runpath=yes
6.8222 - ;;
6.8223 - esac
6.8224 - else
6.8225 - shlibpath_overrides_runpath=yes
6.8226 - fi
6.8227 - ;;
6.8228 -
6.8229 -os2*)
6.8230 - libname_spec='$name'
6.8231 - shrext_cmds=".dll"
6.8232 - need_lib_prefix=no
6.8233 - library_names_spec='$libname${shared_ext} $libname.a'
6.8234 - dynamic_linker='OS/2 ld.exe'
6.8235 - shlibpath_var=LIBPATH
6.8236 - ;;
6.8237 -
6.8238 -osf3* | osf4* | osf5*)
6.8239 - version_type=osf
6.8240 - need_lib_prefix=no
6.8241 - need_version=no
6.8242 - soname_spec='${libname}${release}${shared_ext}$major'
6.8243 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8244 - shlibpath_var=LD_LIBRARY_PATH
6.8245 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6.8246 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
6.8247 - ;;
6.8248 -
6.8249 -sco3.2v5*)
6.8250 - version_type=osf
6.8251 - soname_spec='${libname}${release}${shared_ext}$major'
6.8252 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8253 - shlibpath_var=LD_LIBRARY_PATH
6.8254 - ;;
6.8255 -
6.8256 -solaris*)
6.8257 - version_type=linux
6.8258 - need_lib_prefix=no
6.8259 - need_version=no
6.8260 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8261 - soname_spec='${libname}${release}${shared_ext}$major'
6.8262 - shlibpath_var=LD_LIBRARY_PATH
6.8263 - shlibpath_overrides_runpath=yes
6.8264 - hardcode_into_libs=yes
6.8265 - # ldd complains unless libraries are executable
6.8266 - postinstall_cmds='chmod +x $lib'
6.8267 - ;;
6.8268 -
6.8269 -sunos4*)
6.8270 - version_type=sunos
6.8271 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.8272 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6.8273 - shlibpath_var=LD_LIBRARY_PATH
6.8274 - shlibpath_overrides_runpath=yes
6.8275 - if test "$with_gnu_ld" = yes; then
6.8276 - need_lib_prefix=no
6.8277 - fi
6.8278 - need_version=yes
6.8279 - ;;
6.8280 -
6.8281 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6.8282 - version_type=linux
6.8283 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8284 - soname_spec='${libname}${release}${shared_ext}$major'
6.8285 - shlibpath_var=LD_LIBRARY_PATH
6.8286 - case $host_vendor in
6.8287 - sni)
6.8288 - shlibpath_overrides_runpath=no
6.8289 - need_lib_prefix=no
6.8290 - export_dynamic_flag_spec='${wl}-Blargedynsym'
6.8291 - runpath_var=LD_RUN_PATH
6.8292 - ;;
6.8293 - siemens)
6.8294 - need_lib_prefix=no
6.8295 - ;;
6.8296 - motorola)
6.8297 - need_lib_prefix=no
6.8298 - need_version=no
6.8299 - shlibpath_overrides_runpath=no
6.8300 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
6.8301 - ;;
6.8302 - esac
6.8303 - ;;
6.8304 -
6.8305 -sysv4*MP*)
6.8306 - if test -d /usr/nec ;then
6.8307 - version_type=linux
6.8308 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
6.8309 - soname_spec='$libname${shared_ext}.$major'
6.8310 - shlibpath_var=LD_LIBRARY_PATH
6.8311 - fi
6.8312 - ;;
6.8313 -
6.8314 -uts4*)
6.8315 - version_type=linux
6.8316 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8317 - soname_spec='${libname}${release}${shared_ext}$major'
6.8318 - shlibpath_var=LD_LIBRARY_PATH
6.8319 - ;;
6.8320 -
6.8321 -*)
6.8322 - dynamic_linker=no
6.8323 - ;;
6.8324 -esac
6.8325 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
6.8326 -echo "${ECHO_T}$dynamic_linker" >&6
6.8327 -test "$dynamic_linker" = no && can_build_shared=no
6.8328 -
6.8329 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6.8330 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6.8331 -hardcode_action=
6.8332 -if test -n "$hardcode_libdir_flag_spec" || \
6.8333 - test -n "$runpath_var" || \
6.8334 - test "X$hardcode_automatic" = "Xyes" ; then
6.8335 -
6.8336 - # We can hardcode non-existant directories.
6.8337 - if test "$hardcode_direct" != no &&
6.8338 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
6.8339 - # have to relink, otherwise we might link with an installed library
6.8340 - # when we should be linking with a yet-to-be-installed one
6.8341 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
6.8342 - test "$hardcode_minus_L" != no; then
6.8343 - # Linking always hardcodes the temporary library directory.
6.8344 - hardcode_action=relink
6.8345 - else
6.8346 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
6.8347 - hardcode_action=immediate
6.8348 - fi
6.8349 -else
6.8350 - # We cannot hardcode anything, or else we can only hardcode existing
6.8351 - # directories.
6.8352 - hardcode_action=unsupported
6.8353 -fi
6.8354 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
6.8355 -echo "${ECHO_T}$hardcode_action" >&6
6.8356 -
6.8357 -if test "$hardcode_action" = relink; then
6.8358 - # Fast installation is not supported
6.8359 - enable_fast_install=no
6.8360 -elif test "$shlibpath_overrides_runpath" = yes ||
6.8361 - test "$enable_shared" = no; then
6.8362 - # Fast installation is not necessary
6.8363 - enable_fast_install=needless
6.8364 -fi
6.8365 -
6.8366 -striplib=
6.8367 -old_striplib=
6.8368 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6.8369 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6.8370 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6.8371 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6.8372 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6.8373 - echo "$as_me:$LINENO: result: yes" >&5
6.8374 -echo "${ECHO_T}yes" >&6
6.8375 -else
6.8376 -# FIXME - insert some real tests, host_os isn't really good enough
6.8377 - case $host_os in
6.8378 - darwin*)
6.8379 - if test -n "$STRIP" ; then
6.8380 - striplib="$STRIP -x"
6.8381 - echo "$as_me:$LINENO: result: yes" >&5
6.8382 -echo "${ECHO_T}yes" >&6
6.8383 - else
6.8384 - echo "$as_me:$LINENO: result: no" >&5
6.8385 -echo "${ECHO_T}no" >&6
6.8386 -fi
6.8387 - ;;
6.8388 - *)
6.8389 - echo "$as_me:$LINENO: result: no" >&5
6.8390 -echo "${ECHO_T}no" >&6
6.8391 - ;;
6.8392 - esac
6.8393 -fi
6.8394 -
6.8395 -if test "x$enable_dlopen" != xyes; then
6.8396 - enable_dlopen=unknown
6.8397 - enable_dlopen_self=unknown
6.8398 - enable_dlopen_self_static=unknown
6.8399 -else
6.8400 - lt_cv_dlopen=no
6.8401 - lt_cv_dlopen_libs=
6.8402 -
6.8403 - case $host_os in
6.8404 - beos*)
6.8405 - lt_cv_dlopen="load_add_on"
6.8406 - lt_cv_dlopen_libs=
6.8407 - lt_cv_dlopen_self=yes
6.8408 - ;;
6.8409 -
6.8410 - mingw* | pw32*)
6.8411 - lt_cv_dlopen="LoadLibrary"
6.8412 - lt_cv_dlopen_libs=
6.8413 - ;;
6.8414 -
6.8415 - cygwin*)
6.8416 - lt_cv_dlopen="dlopen"
6.8417 - lt_cv_dlopen_libs=
6.8418 - ;;
6.8419 -
6.8420 - darwin*)
6.8421 - # if libdl is installed we need to link against it
6.8422 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6.8423 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6.8424 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6.8425 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.8426 -else
6.8427 - ac_check_lib_save_LIBS=$LIBS
6.8428 -LIBS="-ldl $LIBS"
6.8429 -cat >conftest.$ac_ext <<_ACEOF
6.8430 -/* confdefs.h. */
6.8431 -_ACEOF
6.8432 -cat confdefs.h >>conftest.$ac_ext
6.8433 -cat >>conftest.$ac_ext <<_ACEOF
6.8434 -/* end confdefs.h. */
6.8435 -
6.8436 -/* Override any gcc2 internal prototype to avoid an error. */
6.8437 -#ifdef __cplusplus
6.8438 -extern "C"
6.8439 -#endif
6.8440 -/* We use char because int might match the return type of a gcc2
6.8441 - builtin and then its argument prototype would still apply. */
6.8442 -char dlopen ();
6.8443 -int
6.8444 -main ()
6.8445 -{
6.8446 -dlopen ();
6.8447 - ;
6.8448 - return 0;
6.8449 -}
6.8450 -_ACEOF
6.8451 -rm -f conftest.$ac_objext conftest$ac_exeext
6.8452 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.8453 - (eval $ac_link) 2>conftest.er1
6.8454 - ac_status=$?
6.8455 - grep -v '^ *+' conftest.er1 >conftest.err
6.8456 - rm -f conftest.er1
6.8457 - cat conftest.err >&5
6.8458 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8459 - (exit $ac_status); } &&
6.8460 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.8461 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8462 - (eval $ac_try) 2>&5
6.8463 - ac_status=$?
6.8464 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8465 - (exit $ac_status); }; } &&
6.8466 - { ac_try='test -s conftest$ac_exeext'
6.8467 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8468 - (eval $ac_try) 2>&5
6.8469 - ac_status=$?
6.8470 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8471 - (exit $ac_status); }; }; then
6.8472 - ac_cv_lib_dl_dlopen=yes
6.8473 -else
6.8474 - echo "$as_me: failed program was:" >&5
6.8475 -sed 's/^/| /' conftest.$ac_ext >&5
6.8476 -
6.8477 -ac_cv_lib_dl_dlopen=no
6.8478 -fi
6.8479 -rm -f conftest.err conftest.$ac_objext \
6.8480 - conftest$ac_exeext conftest.$ac_ext
6.8481 -LIBS=$ac_check_lib_save_LIBS
6.8482 -fi
6.8483 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6.8484 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6.8485 -if test $ac_cv_lib_dl_dlopen = yes; then
6.8486 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
6.8487 -else
6.8488 -
6.8489 - lt_cv_dlopen="dyld"
6.8490 - lt_cv_dlopen_libs=
6.8491 - lt_cv_dlopen_self=yes
6.8492 -
6.8493 -fi
6.8494 -
6.8495 - ;;
6.8496 -
6.8497 - *)
6.8498 - echo "$as_me:$LINENO: checking for shl_load" >&5
6.8499 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
6.8500 -if test "${ac_cv_func_shl_load+set}" = set; then
6.8501 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.8502 -else
6.8503 - cat >conftest.$ac_ext <<_ACEOF
6.8504 -/* confdefs.h. */
6.8505 -_ACEOF
6.8506 -cat confdefs.h >>conftest.$ac_ext
6.8507 -cat >>conftest.$ac_ext <<_ACEOF
6.8508 -/* end confdefs.h. */
6.8509 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
6.8510 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
6.8511 -#define shl_load innocuous_shl_load
6.8512 -
6.8513 -/* System header to define __stub macros and hopefully few prototypes,
6.8514 - which can conflict with char shl_load (); below.
6.8515 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.8516 - <limits.h> exists even on freestanding compilers. */
6.8517 -
6.8518 -#ifdef __STDC__
6.8519 -# include <limits.h>
6.8520 -#else
6.8521 -# include <assert.h>
6.8522 -#endif
6.8523 -
6.8524 -#undef shl_load
6.8525 -
6.8526 -/* Override any gcc2 internal prototype to avoid an error. */
6.8527 -#ifdef __cplusplus
6.8528 -extern "C"
6.8529 -{
6.8530 -#endif
6.8531 -/* We use char because int might match the return type of a gcc2
6.8532 - builtin and then its argument prototype would still apply. */
6.8533 -char shl_load ();
6.8534 -/* The GNU C library defines this for functions which it implements
6.8535 - to always fail with ENOSYS. Some functions are actually named
6.8536 - something starting with __ and the normal name is an alias. */
6.8537 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
6.8538 -choke me
6.8539 -#else
6.8540 -char (*f) () = shl_load;
6.8541 -#endif
6.8542 -#ifdef __cplusplus
6.8543 -}
6.8544 -#endif
6.8545 -
6.8546 -int
6.8547 -main ()
6.8548 -{
6.8549 -return f != shl_load;
6.8550 - ;
6.8551 - return 0;
6.8552 -}
6.8553 -_ACEOF
6.8554 -rm -f conftest.$ac_objext conftest$ac_exeext
6.8555 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.8556 - (eval $ac_link) 2>conftest.er1
6.8557 - ac_status=$?
6.8558 - grep -v '^ *+' conftest.er1 >conftest.err
6.8559 - rm -f conftest.er1
6.8560 - cat conftest.err >&5
6.8561 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8562 - (exit $ac_status); } &&
6.8563 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.8564 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8565 - (eval $ac_try) 2>&5
6.8566 - ac_status=$?
6.8567 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8568 - (exit $ac_status); }; } &&
6.8569 - { ac_try='test -s conftest$ac_exeext'
6.8570 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8571 - (eval $ac_try) 2>&5
6.8572 - ac_status=$?
6.8573 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8574 - (exit $ac_status); }; }; then
6.8575 - ac_cv_func_shl_load=yes
6.8576 -else
6.8577 - echo "$as_me: failed program was:" >&5
6.8578 -sed 's/^/| /' conftest.$ac_ext >&5
6.8579 -
6.8580 -ac_cv_func_shl_load=no
6.8581 -fi
6.8582 -rm -f conftest.err conftest.$ac_objext \
6.8583 - conftest$ac_exeext conftest.$ac_ext
6.8584 -fi
6.8585 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
6.8586 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
6.8587 -if test $ac_cv_func_shl_load = yes; then
6.8588 - lt_cv_dlopen="shl_load"
6.8589 -else
6.8590 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
6.8591 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
6.8592 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
6.8593 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.8594 -else
6.8595 - ac_check_lib_save_LIBS=$LIBS
6.8596 -LIBS="-ldld $LIBS"
6.8597 -cat >conftest.$ac_ext <<_ACEOF
6.8598 -/* confdefs.h. */
6.8599 -_ACEOF
6.8600 -cat confdefs.h >>conftest.$ac_ext
6.8601 -cat >>conftest.$ac_ext <<_ACEOF
6.8602 -/* end confdefs.h. */
6.8603 -
6.8604 -/* Override any gcc2 internal prototype to avoid an error. */
6.8605 -#ifdef __cplusplus
6.8606 -extern "C"
6.8607 -#endif
6.8608 -/* We use char because int might match the return type of a gcc2
6.8609 - builtin and then its argument prototype would still apply. */
6.8610 -char shl_load ();
6.8611 -int
6.8612 -main ()
6.8613 -{
6.8614 -shl_load ();
6.8615 - ;
6.8616 - return 0;
6.8617 -}
6.8618 -_ACEOF
6.8619 -rm -f conftest.$ac_objext conftest$ac_exeext
6.8620 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.8621 - (eval $ac_link) 2>conftest.er1
6.8622 - ac_status=$?
6.8623 - grep -v '^ *+' conftest.er1 >conftest.err
6.8624 - rm -f conftest.er1
6.8625 - cat conftest.err >&5
6.8626 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8627 - (exit $ac_status); } &&
6.8628 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.8629 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8630 - (eval $ac_try) 2>&5
6.8631 - ac_status=$?
6.8632 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8633 - (exit $ac_status); }; } &&
6.8634 - { ac_try='test -s conftest$ac_exeext'
6.8635 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8636 - (eval $ac_try) 2>&5
6.8637 - ac_status=$?
6.8638 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8639 - (exit $ac_status); }; }; then
6.8640 - ac_cv_lib_dld_shl_load=yes
6.8641 -else
6.8642 - echo "$as_me: failed program was:" >&5
6.8643 -sed 's/^/| /' conftest.$ac_ext >&5
6.8644 -
6.8645 -ac_cv_lib_dld_shl_load=no
6.8646 -fi
6.8647 -rm -f conftest.err conftest.$ac_objext \
6.8648 - conftest$ac_exeext conftest.$ac_ext
6.8649 -LIBS=$ac_check_lib_save_LIBS
6.8650 -fi
6.8651 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
6.8652 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
6.8653 -if test $ac_cv_lib_dld_shl_load = yes; then
6.8654 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
6.8655 -else
6.8656 - echo "$as_me:$LINENO: checking for dlopen" >&5
6.8657 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
6.8658 -if test "${ac_cv_func_dlopen+set}" = set; then
6.8659 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.8660 -else
6.8661 - cat >conftest.$ac_ext <<_ACEOF
6.8662 -/* confdefs.h. */
6.8663 -_ACEOF
6.8664 -cat confdefs.h >>conftest.$ac_ext
6.8665 -cat >>conftest.$ac_ext <<_ACEOF
6.8666 -/* end confdefs.h. */
6.8667 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
6.8668 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
6.8669 -#define dlopen innocuous_dlopen
6.8670 -
6.8671 -/* System header to define __stub macros and hopefully few prototypes,
6.8672 - which can conflict with char dlopen (); below.
6.8673 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.8674 - <limits.h> exists even on freestanding compilers. */
6.8675 -
6.8676 -#ifdef __STDC__
6.8677 -# include <limits.h>
6.8678 -#else
6.8679 -# include <assert.h>
6.8680 -#endif
6.8681 -
6.8682 -#undef dlopen
6.8683 -
6.8684 -/* Override any gcc2 internal prototype to avoid an error. */
6.8685 -#ifdef __cplusplus
6.8686 -extern "C"
6.8687 -{
6.8688 -#endif
6.8689 -/* We use char because int might match the return type of a gcc2
6.8690 - builtin and then its argument prototype would still apply. */
6.8691 -char dlopen ();
6.8692 -/* The GNU C library defines this for functions which it implements
6.8693 - to always fail with ENOSYS. Some functions are actually named
6.8694 - something starting with __ and the normal name is an alias. */
6.8695 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
6.8696 -choke me
6.8697 -#else
6.8698 -char (*f) () = dlopen;
6.8699 -#endif
6.8700 -#ifdef __cplusplus
6.8701 -}
6.8702 -#endif
6.8703 -
6.8704 -int
6.8705 -main ()
6.8706 -{
6.8707 -return f != dlopen;
6.8708 - ;
6.8709 - return 0;
6.8710 -}
6.8711 -_ACEOF
6.8712 -rm -f conftest.$ac_objext conftest$ac_exeext
6.8713 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.8714 - (eval $ac_link) 2>conftest.er1
6.8715 - ac_status=$?
6.8716 - grep -v '^ *+' conftest.er1 >conftest.err
6.8717 - rm -f conftest.er1
6.8718 - cat conftest.err >&5
6.8719 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8720 - (exit $ac_status); } &&
6.8721 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.8722 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8723 - (eval $ac_try) 2>&5
6.8724 - ac_status=$?
6.8725 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8726 - (exit $ac_status); }; } &&
6.8727 - { ac_try='test -s conftest$ac_exeext'
6.8728 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8729 - (eval $ac_try) 2>&5
6.8730 - ac_status=$?
6.8731 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8732 - (exit $ac_status); }; }; then
6.8733 - ac_cv_func_dlopen=yes
6.8734 -else
6.8735 - echo "$as_me: failed program was:" >&5
6.8736 -sed 's/^/| /' conftest.$ac_ext >&5
6.8737 -
6.8738 -ac_cv_func_dlopen=no
6.8739 -fi
6.8740 -rm -f conftest.err conftest.$ac_objext \
6.8741 - conftest$ac_exeext conftest.$ac_ext
6.8742 -fi
6.8743 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
6.8744 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
6.8745 -if test $ac_cv_func_dlopen = yes; then
6.8746 - lt_cv_dlopen="dlopen"
6.8747 -else
6.8748 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6.8749 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6.8750 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6.8751 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.8752 -else
6.8753 - ac_check_lib_save_LIBS=$LIBS
6.8754 -LIBS="-ldl $LIBS"
6.8755 -cat >conftest.$ac_ext <<_ACEOF
6.8756 -/* confdefs.h. */
6.8757 -_ACEOF
6.8758 -cat confdefs.h >>conftest.$ac_ext
6.8759 -cat >>conftest.$ac_ext <<_ACEOF
6.8760 -/* end confdefs.h. */
6.8761 -
6.8762 -/* Override any gcc2 internal prototype to avoid an error. */
6.8763 -#ifdef __cplusplus
6.8764 -extern "C"
6.8765 -#endif
6.8766 -/* We use char because int might match the return type of a gcc2
6.8767 - builtin and then its argument prototype would still apply. */
6.8768 -char dlopen ();
6.8769 -int
6.8770 -main ()
6.8771 -{
6.8772 -dlopen ();
6.8773 - ;
6.8774 - return 0;
6.8775 -}
6.8776 -_ACEOF
6.8777 -rm -f conftest.$ac_objext conftest$ac_exeext
6.8778 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.8779 - (eval $ac_link) 2>conftest.er1
6.8780 - ac_status=$?
6.8781 - grep -v '^ *+' conftest.er1 >conftest.err
6.8782 - rm -f conftest.er1
6.8783 - cat conftest.err >&5
6.8784 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8785 - (exit $ac_status); } &&
6.8786 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.8787 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8788 - (eval $ac_try) 2>&5
6.8789 - ac_status=$?
6.8790 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8791 - (exit $ac_status); }; } &&
6.8792 - { ac_try='test -s conftest$ac_exeext'
6.8793 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8794 - (eval $ac_try) 2>&5
6.8795 - ac_status=$?
6.8796 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8797 - (exit $ac_status); }; }; then
6.8798 - ac_cv_lib_dl_dlopen=yes
6.8799 -else
6.8800 - echo "$as_me: failed program was:" >&5
6.8801 -sed 's/^/| /' conftest.$ac_ext >&5
6.8802 -
6.8803 -ac_cv_lib_dl_dlopen=no
6.8804 -fi
6.8805 -rm -f conftest.err conftest.$ac_objext \
6.8806 - conftest$ac_exeext conftest.$ac_ext
6.8807 -LIBS=$ac_check_lib_save_LIBS
6.8808 -fi
6.8809 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6.8810 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6.8811 -if test $ac_cv_lib_dl_dlopen = yes; then
6.8812 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
6.8813 -else
6.8814 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
6.8815 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
6.8816 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
6.8817 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.8818 -else
6.8819 - ac_check_lib_save_LIBS=$LIBS
6.8820 -LIBS="-lsvld $LIBS"
6.8821 -cat >conftest.$ac_ext <<_ACEOF
6.8822 -/* confdefs.h. */
6.8823 -_ACEOF
6.8824 -cat confdefs.h >>conftest.$ac_ext
6.8825 -cat >>conftest.$ac_ext <<_ACEOF
6.8826 -/* end confdefs.h. */
6.8827 -
6.8828 -/* Override any gcc2 internal prototype to avoid an error. */
6.8829 -#ifdef __cplusplus
6.8830 -extern "C"
6.8831 -#endif
6.8832 -/* We use char because int might match the return type of a gcc2
6.8833 - builtin and then its argument prototype would still apply. */
6.8834 -char dlopen ();
6.8835 -int
6.8836 -main ()
6.8837 -{
6.8838 -dlopen ();
6.8839 - ;
6.8840 - return 0;
6.8841 -}
6.8842 -_ACEOF
6.8843 -rm -f conftest.$ac_objext conftest$ac_exeext
6.8844 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.8845 - (eval $ac_link) 2>conftest.er1
6.8846 - ac_status=$?
6.8847 - grep -v '^ *+' conftest.er1 >conftest.err
6.8848 - rm -f conftest.er1
6.8849 - cat conftest.err >&5
6.8850 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8851 - (exit $ac_status); } &&
6.8852 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.8853 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8854 - (eval $ac_try) 2>&5
6.8855 - ac_status=$?
6.8856 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8857 - (exit $ac_status); }; } &&
6.8858 - { ac_try='test -s conftest$ac_exeext'
6.8859 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8860 - (eval $ac_try) 2>&5
6.8861 - ac_status=$?
6.8862 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8863 - (exit $ac_status); }; }; then
6.8864 - ac_cv_lib_svld_dlopen=yes
6.8865 -else
6.8866 - echo "$as_me: failed program was:" >&5
6.8867 -sed 's/^/| /' conftest.$ac_ext >&5
6.8868 -
6.8869 -ac_cv_lib_svld_dlopen=no
6.8870 -fi
6.8871 -rm -f conftest.err conftest.$ac_objext \
6.8872 - conftest$ac_exeext conftest.$ac_ext
6.8873 -LIBS=$ac_check_lib_save_LIBS
6.8874 -fi
6.8875 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
6.8876 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
6.8877 -if test $ac_cv_lib_svld_dlopen = yes; then
6.8878 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
6.8879 -else
6.8880 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
6.8881 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
6.8882 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
6.8883 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.8884 -else
6.8885 - ac_check_lib_save_LIBS=$LIBS
6.8886 -LIBS="-ldld $LIBS"
6.8887 -cat >conftest.$ac_ext <<_ACEOF
6.8888 -/* confdefs.h. */
6.8889 -_ACEOF
6.8890 -cat confdefs.h >>conftest.$ac_ext
6.8891 -cat >>conftest.$ac_ext <<_ACEOF
6.8892 -/* end confdefs.h. */
6.8893 -
6.8894 -/* Override any gcc2 internal prototype to avoid an error. */
6.8895 -#ifdef __cplusplus
6.8896 -extern "C"
6.8897 -#endif
6.8898 -/* We use char because int might match the return type of a gcc2
6.8899 - builtin and then its argument prototype would still apply. */
6.8900 -char dld_link ();
6.8901 -int
6.8902 -main ()
6.8903 -{
6.8904 -dld_link ();
6.8905 - ;
6.8906 - return 0;
6.8907 -}
6.8908 -_ACEOF
6.8909 -rm -f conftest.$ac_objext conftest$ac_exeext
6.8910 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.8911 - (eval $ac_link) 2>conftest.er1
6.8912 - ac_status=$?
6.8913 - grep -v '^ *+' conftest.er1 >conftest.err
6.8914 - rm -f conftest.er1
6.8915 - cat conftest.err >&5
6.8916 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8917 - (exit $ac_status); } &&
6.8918 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.8919 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8920 - (eval $ac_try) 2>&5
6.8921 - ac_status=$?
6.8922 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8923 - (exit $ac_status); }; } &&
6.8924 - { ac_try='test -s conftest$ac_exeext'
6.8925 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8926 - (eval $ac_try) 2>&5
6.8927 - ac_status=$?
6.8928 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8929 - (exit $ac_status); }; }; then
6.8930 - ac_cv_lib_dld_dld_link=yes
6.8931 -else
6.8932 - echo "$as_me: failed program was:" >&5
6.8933 -sed 's/^/| /' conftest.$ac_ext >&5
6.8934 -
6.8935 -ac_cv_lib_dld_dld_link=no
6.8936 -fi
6.8937 -rm -f conftest.err conftest.$ac_objext \
6.8938 - conftest$ac_exeext conftest.$ac_ext
6.8939 -LIBS=$ac_check_lib_save_LIBS
6.8940 -fi
6.8941 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
6.8942 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
6.8943 -if test $ac_cv_lib_dld_dld_link = yes; then
6.8944 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
6.8945 -fi
6.8946 -
6.8947 -
6.8948 -fi
6.8949 -
6.8950 -
6.8951 -fi
6.8952 -
6.8953 -
6.8954 -fi
6.8955 -
6.8956 -
6.8957 -fi
6.8958 -
6.8959 -
6.8960 -fi
6.8961 -
6.8962 - ;;
6.8963 - esac
6.8964 -
6.8965 - if test "x$lt_cv_dlopen" != xno; then
6.8966 - enable_dlopen=yes
6.8967 - else
6.8968 - enable_dlopen=no
6.8969 - fi
6.8970 -
6.8971 - case $lt_cv_dlopen in
6.8972 - dlopen)
6.8973 - save_CPPFLAGS="$CPPFLAGS"
6.8974 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
6.8975 -
6.8976 - save_LDFLAGS="$LDFLAGS"
6.8977 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
6.8978 -
6.8979 - save_LIBS="$LIBS"
6.8980 - LIBS="$lt_cv_dlopen_libs $LIBS"
6.8981 -
6.8982 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
6.8983 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
6.8984 -if test "${lt_cv_dlopen_self+set}" = set; then
6.8985 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.8986 -else
6.8987 - if test "$cross_compiling" = yes; then :
6.8988 - lt_cv_dlopen_self=cross
6.8989 -else
6.8990 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6.8991 - lt_status=$lt_dlunknown
6.8992 - cat > conftest.$ac_ext <<EOF
6.8993 -#line __oline__ "configure"
6.8994 -#include "confdefs.h"
6.8995 -
6.8996 -#if HAVE_DLFCN_H
6.8997 -#include <dlfcn.h>
6.8998 -#endif
6.8999 -
6.9000 -#include <stdio.h>
6.9001 -
6.9002 -#ifdef RTLD_GLOBAL
6.9003 -# define LT_DLGLOBAL RTLD_GLOBAL
6.9004 -#else
6.9005 -# ifdef DL_GLOBAL
6.9006 -# define LT_DLGLOBAL DL_GLOBAL
6.9007 -# else
6.9008 -# define LT_DLGLOBAL 0
6.9009 -# endif
6.9010 -#endif
6.9011 -
6.9012 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
6.9013 - find out it does not work in some platform. */
6.9014 -#ifndef LT_DLLAZY_OR_NOW
6.9015 -# ifdef RTLD_LAZY
6.9016 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
6.9017 -# else
6.9018 -# ifdef DL_LAZY
6.9019 -# define LT_DLLAZY_OR_NOW DL_LAZY
6.9020 -# else
6.9021 -# ifdef RTLD_NOW
6.9022 -# define LT_DLLAZY_OR_NOW RTLD_NOW
6.9023 -# else
6.9024 -# ifdef DL_NOW
6.9025 -# define LT_DLLAZY_OR_NOW DL_NOW
6.9026 -# else
6.9027 -# define LT_DLLAZY_OR_NOW 0
6.9028 -# endif
6.9029 -# endif
6.9030 -# endif
6.9031 -# endif
6.9032 -#endif
6.9033 -
6.9034 -#ifdef __cplusplus
6.9035 -extern "C" void exit (int);
6.9036 -#endif
6.9037 -
6.9038 -void fnord() { int i=42;}
6.9039 -int main ()
6.9040 -{
6.9041 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
6.9042 - int status = $lt_dlunknown;
6.9043 -
6.9044 - if (self)
6.9045 - {
6.9046 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
6.9047 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
6.9048 - /* dlclose (self); */
6.9049 - }
6.9050 -
6.9051 - exit (status);
6.9052 -}
6.9053 -EOF
6.9054 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.9055 - (eval $ac_link) 2>&5
6.9056 - ac_status=$?
6.9057 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.9058 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
6.9059 - (./conftest; exit; ) >&5 2>/dev/null
6.9060 - lt_status=$?
6.9061 - case x$lt_status in
6.9062 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
6.9063 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
6.9064 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
6.9065 - esac
6.9066 - else :
6.9067 - # compilation failed
6.9068 - lt_cv_dlopen_self=no
6.9069 - fi
6.9070 -fi
6.9071 -rm -fr conftest*
6.9072 -
6.9073 -
6.9074 -fi
6.9075 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
6.9076 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
6.9077 -
6.9078 - if test "x$lt_cv_dlopen_self" = xyes; then
6.9079 - LDFLAGS="$LDFLAGS $link_static_flag"
6.9080 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
6.9081 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
6.9082 -if test "${lt_cv_dlopen_self_static+set}" = set; then
6.9083 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.9084 -else
6.9085 - if test "$cross_compiling" = yes; then :
6.9086 - lt_cv_dlopen_self_static=cross
6.9087 -else
6.9088 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6.9089 - lt_status=$lt_dlunknown
6.9090 - cat > conftest.$ac_ext <<EOF
6.9091 -#line __oline__ "configure"
6.9092 -#include "confdefs.h"
6.9093 -
6.9094 -#if HAVE_DLFCN_H
6.9095 -#include <dlfcn.h>
6.9096 -#endif
6.9097 -
6.9098 -#include <stdio.h>
6.9099 -
6.9100 -#ifdef RTLD_GLOBAL
6.9101 -# define LT_DLGLOBAL RTLD_GLOBAL
6.9102 -#else
6.9103 -# ifdef DL_GLOBAL
6.9104 -# define LT_DLGLOBAL DL_GLOBAL
6.9105 -# else
6.9106 -# define LT_DLGLOBAL 0
6.9107 -# endif
6.9108 -#endif
6.9109 -
6.9110 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
6.9111 - find out it does not work in some platform. */
6.9112 -#ifndef LT_DLLAZY_OR_NOW
6.9113 -# ifdef RTLD_LAZY
6.9114 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
6.9115 -# else
6.9116 -# ifdef DL_LAZY
6.9117 -# define LT_DLLAZY_OR_NOW DL_LAZY
6.9118 -# else
6.9119 -# ifdef RTLD_NOW
6.9120 -# define LT_DLLAZY_OR_NOW RTLD_NOW
6.9121 -# else
6.9122 -# ifdef DL_NOW
6.9123 -# define LT_DLLAZY_OR_NOW DL_NOW
6.9124 -# else
6.9125 -# define LT_DLLAZY_OR_NOW 0
6.9126 -# endif
6.9127 -# endif
6.9128 -# endif
6.9129 -# endif
6.9130 -#endif
6.9131 -
6.9132 -#ifdef __cplusplus
6.9133 -extern "C" void exit (int);
6.9134 -#endif
6.9135 -
6.9136 -void fnord() { int i=42;}
6.9137 -int main ()
6.9138 -{
6.9139 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
6.9140 - int status = $lt_dlunknown;
6.9141 -
6.9142 - if (self)
6.9143 - {
6.9144 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
6.9145 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
6.9146 - /* dlclose (self); */
6.9147 - }
6.9148 -
6.9149 - exit (status);
6.9150 -}
6.9151 -EOF
6.9152 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.9153 - (eval $ac_link) 2>&5
6.9154 - ac_status=$?
6.9155 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.9156 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
6.9157 - (./conftest; exit; ) >&5 2>/dev/null
6.9158 - lt_status=$?
6.9159 - case x$lt_status in
6.9160 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
6.9161 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
6.9162 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
6.9163 - esac
6.9164 - else :
6.9165 - # compilation failed
6.9166 - lt_cv_dlopen_self_static=no
6.9167 - fi
6.9168 -fi
6.9169 -rm -fr conftest*
6.9170 -
6.9171 -
6.9172 -fi
6.9173 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
6.9174 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
6.9175 - fi
6.9176 -
6.9177 - CPPFLAGS="$save_CPPFLAGS"
6.9178 - LDFLAGS="$save_LDFLAGS"
6.9179 - LIBS="$save_LIBS"
6.9180 - ;;
6.9181 - esac
6.9182 -
6.9183 - case $lt_cv_dlopen_self in
6.9184 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
6.9185 - *) enable_dlopen_self=unknown ;;
6.9186 - esac
6.9187 -
6.9188 - case $lt_cv_dlopen_self_static in
6.9189 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
6.9190 - *) enable_dlopen_self_static=unknown ;;
6.9191 - esac
6.9192 -fi
6.9193 -
6.9194 -
6.9195 -# Report which librarie types wil actually be built
6.9196 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
6.9197 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
6.9198 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
6.9199 -echo "${ECHO_T}$can_build_shared" >&6
6.9200 -
6.9201 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
6.9202 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
6.9203 -test "$can_build_shared" = "no" && enable_shared=no
6.9204 -
6.9205 -# On AIX, shared libraries and static libraries use the same namespace, and
6.9206 -# are all built from PIC.
6.9207 -case $host_os in
6.9208 -aix3*)
6.9209 - test "$enable_shared" = yes && enable_static=no
6.9210 - if test -n "$RANLIB"; then
6.9211 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
6.9212 - postinstall_cmds='$RANLIB $lib'
6.9213 - fi
6.9214 - ;;
6.9215 -
6.9216 -aix4* | aix5*)
6.9217 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
6.9218 - test "$enable_shared" = yes && enable_static=no
6.9219 - fi
6.9220 - ;;
6.9221 -esac
6.9222 -echo "$as_me:$LINENO: result: $enable_shared" >&5
6.9223 -echo "${ECHO_T}$enable_shared" >&6
6.9224 -
6.9225 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
6.9226 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
6.9227 -# Make sure either enable_shared or enable_static is yes.
6.9228 -test "$enable_shared" = yes || enable_static=yes
6.9229 -echo "$as_me:$LINENO: result: $enable_static" >&5
6.9230 -echo "${ECHO_T}$enable_static" >&6
6.9231 -
6.9232 -# The else clause should only fire when bootstrapping the
6.9233 -# libtool distribution, otherwise you forgot to ship ltmain.sh
6.9234 -# with your package, and you will get complaints that there are
6.9235 -# no rules to generate ltmain.sh.
6.9236 -if test -f "$ltmain"; then
6.9237 - # See if we are running on zsh, and set the options which allow our commands through
6.9238 - # without removal of \ escapes.
6.9239 - if test -n "${ZSH_VERSION+set}" ; then
6.9240 - setopt NO_GLOB_SUBST
6.9241 - fi
6.9242 - # Now quote all the things that may contain metacharacters while being
6.9243 - # careful not to overquote the AC_SUBSTed values. We take copies of the
6.9244 - # variables and quote the copies for generation of the libtool script.
6.9245 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
6.9246 - SED SHELL STRIP \
6.9247 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
6.9248 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
6.9249 - deplibs_check_method reload_flag reload_cmds need_locks \
6.9250 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
6.9251 - lt_cv_sys_global_symbol_to_c_name_address \
6.9252 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
6.9253 - old_postinstall_cmds old_postuninstall_cmds \
6.9254 - compiler \
6.9255 - CC \
6.9256 - LD \
6.9257 - lt_prog_compiler_wl \
6.9258 - lt_prog_compiler_pic \
6.9259 - lt_prog_compiler_static \
6.9260 - lt_prog_compiler_no_builtin_flag \
6.9261 - export_dynamic_flag_spec \
6.9262 - thread_safe_flag_spec \
6.9263 - whole_archive_flag_spec \
6.9264 - enable_shared_with_static_runtimes \
6.9265 - old_archive_cmds \
6.9266 - old_archive_from_new_cmds \
6.9267 - predep_objects \
6.9268 - postdep_objects \
6.9269 - predeps \
6.9270 - postdeps \
6.9271 - compiler_lib_search_path \
6.9272 - archive_cmds \
6.9273 - archive_expsym_cmds \
6.9274 - postinstall_cmds \
6.9275 - postuninstall_cmds \
6.9276 - old_archive_from_expsyms_cmds \
6.9277 - allow_undefined_flag \
6.9278 - no_undefined_flag \
6.9279 - export_symbols_cmds \
6.9280 - hardcode_libdir_flag_spec \
6.9281 - hardcode_libdir_flag_spec_ld \
6.9282 - hardcode_libdir_separator \
6.9283 - hardcode_automatic \
6.9284 - module_cmds \
6.9285 - module_expsym_cmds \
6.9286 - lt_cv_prog_compiler_c_o \
6.9287 - exclude_expsyms \
6.9288 - include_expsyms; do
6.9289 -
6.9290 - case $var in
6.9291 - old_archive_cmds | \
6.9292 - old_archive_from_new_cmds | \
6.9293 - archive_cmds | \
6.9294 - archive_expsym_cmds | \
6.9295 - module_cmds | \
6.9296 - module_expsym_cmds | \
6.9297 - old_archive_from_expsyms_cmds | \
6.9298 - export_symbols_cmds | \
6.9299 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
6.9300 - postinstall_cmds | postuninstall_cmds | \
6.9301 - old_postinstall_cmds | old_postuninstall_cmds | \
6.9302 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
6.9303 - # Double-quote double-evaled strings.
6.9304 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
6.9305 - ;;
6.9306 - *)
6.9307 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
6.9308 - ;;
6.9309 - esac
6.9310 - done
6.9311 -
6.9312 - case $lt_echo in
6.9313 - *'\$0 --fallback-echo"')
6.9314 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
6.9315 - ;;
6.9316 - esac
6.9317 -
6.9318 -cfgfile="${ofile}T"
6.9319 - trap "$rm \"$cfgfile\"; exit 1" 1 2 15
6.9320 - $rm -f "$cfgfile"
6.9321 - { echo "$as_me:$LINENO: creating $ofile" >&5
6.9322 -echo "$as_me: creating $ofile" >&6;}
6.9323 -
6.9324 - cat <<__EOF__ >> "$cfgfile"
6.9325 -#! $SHELL
6.9326 -
6.9327 -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
6.9328 -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
6.9329 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
6.9330 -#
6.9331 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
6.9332 -# Free Software Foundation, Inc.
6.9333 -#
6.9334 -# This file is part of GNU Libtool:
6.9335 -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
6.9336 -#
6.9337 -# This program is free software; you can redistribute it and/or modify
6.9338 -# it under the terms of the GNU General Public License as published by
6.9339 -# the Free Software Foundation; either version 2 of the License, or
6.9340 -# (at your option) any later version.
6.9341 -#
6.9342 -# This program is distributed in the hope that it will be useful, but
6.9343 -# WITHOUT ANY WARRANTY; without even the implied warranty of
6.9344 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
6.9345 -# General Public License for more details.
6.9346 -#
6.9347 -# You should have received a copy of the GNU General Public License
6.9348 -# along with this program; if not, write to the Free Software
6.9349 -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
6.9350 -#
6.9351 -# As a special exception to the GNU General Public License, if you
6.9352 -# distribute this file as part of a program that contains a
6.9353 -# configuration script generated by Autoconf, you may include it under
6.9354 -# the same distribution terms that you use for the rest of that program.
6.9355 -
6.9356 -# A sed program that does not truncate output.
6.9357 -SED=$lt_SED
6.9358 -
6.9359 -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
6.9360 -Xsed="$SED -e 1s/^X//"
6.9361 -
6.9362 -# The HP-UX ksh and POSIX shell print the target directory to stdout
6.9363 -# if CDPATH is set.
6.9364 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6.9365 -
6.9366 -# The names of the tagged configurations supported by this script.
6.9367 -available_tags=
6.9368 -
6.9369 -# ### BEGIN LIBTOOL CONFIG
6.9370 -
6.9371 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6.9372 -
6.9373 -# Shell to use when invoking shell scripts.
6.9374 -SHELL=$lt_SHELL
6.9375 -
6.9376 -# Whether or not to build shared libraries.
6.9377 -build_libtool_libs=$enable_shared
6.9378 -
6.9379 -# Whether or not to build static libraries.
6.9380 -build_old_libs=$enable_static
6.9381 -
6.9382 -# Whether or not to add -lc for building shared libraries.
6.9383 -build_libtool_need_lc=$archive_cmds_need_lc
6.9384 -
6.9385 -# Whether or not to disallow shared libs when runtime libs are static
6.9386 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
6.9387 -
6.9388 -# Whether or not to optimize for fast installation.
6.9389 -fast_install=$enable_fast_install
6.9390 -
6.9391 -# The host system.
6.9392 -host_alias=$host_alias
6.9393 -host=$host
6.9394 -host_os=$host_os
6.9395 -
6.9396 -# The build system.
6.9397 -build_alias=$build_alias
6.9398 -build=$build
6.9399 -build_os=$build_os
6.9400 -
6.9401 -# An echo program that does not interpret backslashes.
6.9402 -echo=$lt_echo
6.9403 -
6.9404 -# The archiver.
6.9405 -AR=$lt_AR
6.9406 -AR_FLAGS=$lt_AR_FLAGS
6.9407 -
6.9408 -# A C compiler.
6.9409 -LTCC=$lt_LTCC
6.9410 -
6.9411 -# A language-specific compiler.
6.9412 -CC=$lt_compiler
6.9413 -
6.9414 -# Is the compiler the GNU C compiler?
6.9415 -with_gcc=$GCC
6.9416 -
6.9417 -# An ERE matcher.
6.9418 -EGREP=$lt_EGREP
6.9419 -
6.9420 -# The linker used to build libraries.
6.9421 -LD=$lt_LD
6.9422 -
6.9423 -# Whether we need hard or soft links.
6.9424 -LN_S=$lt_LN_S
6.9425 -
6.9426 -# A BSD-compatible nm program.
6.9427 -NM=$lt_NM
6.9428 -
6.9429 -# A symbol stripping program
6.9430 -STRIP=$lt_STRIP
6.9431 -
6.9432 -# Used to examine libraries when file_magic_cmd begins "file"
6.9433 -MAGIC_CMD=$MAGIC_CMD
6.9434 -
6.9435 -# Used on cygwin: DLL creation program.
6.9436 -DLLTOOL="$DLLTOOL"
6.9437 -
6.9438 -# Used on cygwin: object dumper.
6.9439 -OBJDUMP="$OBJDUMP"
6.9440 -
6.9441 -# Used on cygwin: assembler.
6.9442 -AS="$AS"
6.9443 -
6.9444 -# The name of the directory that contains temporary libtool files.
6.9445 -objdir=$objdir
6.9446 -
6.9447 -# How to create reloadable object files.
6.9448 -reload_flag=$lt_reload_flag
6.9449 -reload_cmds=$lt_reload_cmds
6.9450 -
6.9451 -# How to pass a linker flag through the compiler.
6.9452 -wl=$lt_lt_prog_compiler_wl
6.9453 -
6.9454 -# Object file suffix (normally "o").
6.9455 -objext="$ac_objext"
6.9456 -
6.9457 -# Old archive suffix (normally "a").
6.9458 -libext="$libext"
6.9459 -
6.9460 -# Shared library suffix (normally ".so").
6.9461 -shrext_cmds='$shrext_cmds'
6.9462 -
6.9463 -# Executable file suffix (normally "").
6.9464 -exeext="$exeext"
6.9465 -
6.9466 -# Additional compiler flags for building library objects.
6.9467 -pic_flag=$lt_lt_prog_compiler_pic
6.9468 -pic_mode=$pic_mode
6.9469 -
6.9470 -# What is the maximum length of a command?
6.9471 -max_cmd_len=$lt_cv_sys_max_cmd_len
6.9472 -
6.9473 -# Does compiler simultaneously support -c and -o options?
6.9474 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o
6.9475 -
6.9476 -# Must we lock files when doing compilation?
6.9477 -need_locks=$lt_need_locks
6.9478 -
6.9479 -# Do we need the lib prefix for modules?
6.9480 -need_lib_prefix=$need_lib_prefix
6.9481 -
6.9482 -# Do we need a version for libraries?
6.9483 -need_version=$need_version
6.9484 -
6.9485 -# Whether dlopen is supported.
6.9486 -dlopen_support=$enable_dlopen
6.9487 -
6.9488 -# Whether dlopen of programs is supported.
6.9489 -dlopen_self=$enable_dlopen_self
6.9490 -
6.9491 -# Whether dlopen of statically linked programs is supported.
6.9492 -dlopen_self_static=$enable_dlopen_self_static
6.9493 -
6.9494 -# Compiler flag to prevent dynamic linking.
6.9495 -link_static_flag=$lt_lt_prog_compiler_static
6.9496 -
6.9497 -# Compiler flag to turn off builtin functions.
6.9498 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
6.9499 -
6.9500 -# Compiler flag to allow reflexive dlopens.
6.9501 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
6.9502 -
6.9503 -# Compiler flag to generate shared objects directly from archives.
6.9504 -whole_archive_flag_spec=$lt_whole_archive_flag_spec
6.9505 -
6.9506 -# Compiler flag to generate thread-safe objects.
6.9507 -thread_safe_flag_spec=$lt_thread_safe_flag_spec
6.9508 -
6.9509 -# Library versioning type.
6.9510 -version_type=$version_type
6.9511 -
6.9512 -# Format of library name prefix.
6.9513 -libname_spec=$lt_libname_spec
6.9514 -
6.9515 -# List of archive names. First name is the real one, the rest are links.
6.9516 -# The last name is the one that the linker finds with -lNAME.
6.9517 -library_names_spec=$lt_library_names_spec
6.9518 -
6.9519 -# The coded name of the library, if different from the real name.
6.9520 -soname_spec=$lt_soname_spec
6.9521 -
6.9522 -# Commands used to build and install an old-style archive.
6.9523 -RANLIB=$lt_RANLIB
6.9524 -old_archive_cmds=$lt_old_archive_cmds
6.9525 -old_postinstall_cmds=$lt_old_postinstall_cmds
6.9526 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
6.9527 -
6.9528 -# Create an old-style archive from a shared archive.
6.9529 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
6.9530 -
6.9531 -# Create a temporary old-style archive to link instead of a shared archive.
6.9532 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
6.9533 -
6.9534 -# Commands used to build and install a shared archive.
6.9535 -archive_cmds=$lt_archive_cmds
6.9536 -archive_expsym_cmds=$lt_archive_expsym_cmds
6.9537 -postinstall_cmds=$lt_postinstall_cmds
6.9538 -postuninstall_cmds=$lt_postuninstall_cmds
6.9539 -
6.9540 -# Commands used to build a loadable module (assumed same as above if empty)
6.9541 -module_cmds=$lt_module_cmds
6.9542 -module_expsym_cmds=$lt_module_expsym_cmds
6.9543 -
6.9544 -# Commands to strip libraries.
6.9545 -old_striplib=$lt_old_striplib
6.9546 -striplib=$lt_striplib
6.9547 -
6.9548 -# Dependencies to place before the objects being linked to create a
6.9549 -# shared library.
6.9550 -predep_objects=$lt_predep_objects
6.9551 -
6.9552 -# Dependencies to place after the objects being linked to create a
6.9553 -# shared library.
6.9554 -postdep_objects=$lt_postdep_objects
6.9555 -
6.9556 -# Dependencies to place before the objects being linked to create a
6.9557 -# shared library.
6.9558 -predeps=$lt_predeps
6.9559 -
6.9560 -# Dependencies to place after the objects being linked to create a
6.9561 -# shared library.
6.9562 -postdeps=$lt_postdeps
6.9563 -
6.9564 -# The library search path used internally by the compiler when linking
6.9565 -# a shared library.
6.9566 -compiler_lib_search_path=$lt_compiler_lib_search_path
6.9567 -
6.9568 -# Method to check whether dependent libraries are shared objects.
6.9569 -deplibs_check_method=$lt_deplibs_check_method
6.9570 -
6.9571 -# Command to use when deplibs_check_method == file_magic.
6.9572 -file_magic_cmd=$lt_file_magic_cmd
6.9573 -
6.9574 -# Flag that allows shared libraries with undefined symbols to be built.
6.9575 -allow_undefined_flag=$lt_allow_undefined_flag
6.9576 -
6.9577 -# Flag that forces no undefined symbols.
6.9578 -no_undefined_flag=$lt_no_undefined_flag
6.9579 -
6.9580 -# Commands used to finish a libtool library installation in a directory.
6.9581 -finish_cmds=$lt_finish_cmds
6.9582 -
6.9583 -# Same as above, but a single script fragment to be evaled but not shown.
6.9584 -finish_eval=$lt_finish_eval
6.9585 -
6.9586 -# Take the output of nm and produce a listing of raw symbols and C names.
6.9587 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
6.9588 -
6.9589 -# Transform the output of nm in a proper C declaration
6.9590 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
6.9591 -
6.9592 -# Transform the output of nm in a C name address pair
6.9593 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
6.9594 -
6.9595 -# This is the shared library runtime path variable.
6.9596 -runpath_var=$runpath_var
6.9597 -
6.9598 -# This is the shared library path variable.
6.9599 -shlibpath_var=$shlibpath_var
6.9600 -
6.9601 -# Is shlibpath searched before the hard-coded library search path?
6.9602 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
6.9603 -
6.9604 -# How to hardcode a shared library path into an executable.
6.9605 -hardcode_action=$hardcode_action
6.9606 -
6.9607 -# Whether we should hardcode library paths into libraries.
6.9608 -hardcode_into_libs=$hardcode_into_libs
6.9609 -
6.9610 -# Flag to hardcode \$libdir into a binary during linking.
6.9611 -# This must work even if \$libdir does not exist.
6.9612 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
6.9613 -
6.9614 -# If ld is used when linking, flag to hardcode \$libdir into
6.9615 -# a binary during linking. This must work even if \$libdir does
6.9616 -# not exist.
6.9617 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
6.9618 -
6.9619 -# Whether we need a single -rpath flag with a separated argument.
6.9620 -hardcode_libdir_separator=$lt_hardcode_libdir_separator
6.9621 -
6.9622 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
6.9623 -# resulting binary.
6.9624 -hardcode_direct=$hardcode_direct
6.9625 -
6.9626 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
6.9627 -# resulting binary.
6.9628 -hardcode_minus_L=$hardcode_minus_L
6.9629 -
6.9630 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
6.9631 -# the resulting binary.
6.9632 -hardcode_shlibpath_var=$hardcode_shlibpath_var
6.9633 -
6.9634 -# Set to yes if building a shared library automatically hardcodes DIR into the library
6.9635 -# and all subsequent libraries and executables linked against it.
6.9636 -hardcode_automatic=$hardcode_automatic
6.9637 -
6.9638 -# Variables whose values should be saved in libtool wrapper scripts and
6.9639 -# restored at relink time.
6.9640 -variables_saved_for_relink="$variables_saved_for_relink"
6.9641 -
6.9642 -# Whether libtool must link a program against all its dependency libraries.
6.9643 -link_all_deplibs=$link_all_deplibs
6.9644 -
6.9645 -# Compile-time system search path for libraries
6.9646 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
6.9647 -
6.9648 -# Run-time system search path for libraries
6.9649 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
6.9650 -
6.9651 -# Fix the shell variable \$srcfile for the compiler.
6.9652 -fix_srcfile_path="$fix_srcfile_path"
6.9653 -
6.9654 -# Set to yes if exported symbols are required.
6.9655 -always_export_symbols=$always_export_symbols
6.9656 -
6.9657 -# The commands to list exported symbols.
6.9658 -export_symbols_cmds=$lt_export_symbols_cmds
6.9659 -
6.9660 -# The commands to extract the exported symbol list from a shared archive.
6.9661 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
6.9662 -
6.9663 -# Symbols that should not be listed in the preloaded symbols.
6.9664 -exclude_expsyms=$lt_exclude_expsyms
6.9665 -
6.9666 -# Symbols that must always be exported.
6.9667 -include_expsyms=$lt_include_expsyms
6.9668 -
6.9669 -# ### END LIBTOOL CONFIG
6.9670 -
6.9671 -__EOF__
6.9672 -
6.9673 -
6.9674 - case $host_os in
6.9675 - aix3*)
6.9676 - cat <<\EOF >> "$cfgfile"
6.9677 -
6.9678 -# AIX sometimes has problems with the GCC collect2 program. For some
6.9679 -# reason, if we set the COLLECT_NAMES environment variable, the problems
6.9680 -# vanish in a puff of smoke.
6.9681 -if test "X${COLLECT_NAMES+set}" != Xset; then
6.9682 - COLLECT_NAMES=
6.9683 - export COLLECT_NAMES
6.9684 -fi
6.9685 -EOF
6.9686 - ;;
6.9687 - esac
6.9688 -
6.9689 - # We use sed instead of cat because bash on DJGPP gets confused if
6.9690 - # if finds mixed CR/LF and LF-only lines. Since sed operates in
6.9691 - # text mode, it properly converts lines to CR/LF. This bash problem
6.9692 - # is reportedly fixed, but why not run on old versions too?
6.9693 - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
6.9694 -
6.9695 - mv -f "$cfgfile" "$ofile" || \
6.9696 - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
6.9697 - chmod +x "$ofile"
6.9698 -
6.9699 -else
6.9700 - # If there is no Makefile yet, we rely on a make rule to execute
6.9701 - # `config.status --recheck' to rerun these tests and create the
6.9702 - # libtool script then.
6.9703 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
6.9704 - if test -f "$ltmain_in"; then
6.9705 - test -f Makefile && make "$ltmain"
6.9706 - fi
6.9707 -fi
6.9708 -
6.9709 -
6.9710 -ac_ext=c
6.9711 -ac_cpp='$CPP $CPPFLAGS'
6.9712 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.9713 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.9714 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.9715 -
6.9716 -CC="$lt_save_CC"
6.9717 -
6.9718 -
6.9719 -# Check whether --with-tags or --without-tags was given.
6.9720 -if test "${with_tags+set}" = set; then
6.9721 - withval="$with_tags"
6.9722 - tagnames="$withval"
6.9723 -fi;
6.9724 -
6.9725 -if test -f "$ltmain" && test -n "$tagnames"; then
6.9726 - if test ! -f "${ofile}"; then
6.9727 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
6.9728 -echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
6.9729 - fi
6.9730 -
6.9731 - if test -z "$LTCC"; then
6.9732 - eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
6.9733 - if test -z "$LTCC"; then
6.9734 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
6.9735 -echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
6.9736 - else
6.9737 - { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
6.9738 -echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
6.9739 - fi
6.9740 - fi
6.9741 -
6.9742 - # Extract list of available tagged configurations in $ofile.
6.9743 - # Note that this assumes the entire list is on one line.
6.9744 - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
6.9745 -
6.9746 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6.9747 - for tagname in $tagnames; do
6.9748 - IFS="$lt_save_ifs"
6.9749 - # Check whether tagname contains only valid characters
6.9750 - case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
6.9751 - "") ;;
6.9752 - *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
6.9753 -echo "$as_me: error: invalid tag name: $tagname" >&2;}
6.9754 - { (exit 1); exit 1; }; }
6.9755 - ;;
6.9756 - esac
6.9757 -
6.9758 - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
6.9759 - then
6.9760 - { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
6.9761 -echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
6.9762 - { (exit 1); exit 1; }; }
6.9763 - fi
6.9764 -
6.9765 - # Update the list of available tags.
6.9766 - if test -n "$tagname"; then
6.9767 - echo appending configuration tag \"$tagname\" to $ofile
6.9768 -
6.9769 - case $tagname in
6.9770 - CXX)
6.9771 - if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6.9772 - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6.9773 - (test "X$CXX" != "Xg++"))) ; then
6.9774 - ac_ext=cc
6.9775 -ac_cpp='$CXXCPP $CPPFLAGS'
6.9776 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.9777 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.9778 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6.9779 -
6.9780 -
6.9781 -
6.9782 -
6.9783 -archive_cmds_need_lc_CXX=no
6.9784 -allow_undefined_flag_CXX=
6.9785 -always_export_symbols_CXX=no
6.9786 -archive_expsym_cmds_CXX=
6.9787 -export_dynamic_flag_spec_CXX=
6.9788 -hardcode_direct_CXX=no
6.9789 -hardcode_libdir_flag_spec_CXX=
6.9790 -hardcode_libdir_flag_spec_ld_CXX=
6.9791 -hardcode_libdir_separator_CXX=
6.9792 -hardcode_minus_L_CXX=no
6.9793 -hardcode_automatic_CXX=no
6.9794 -module_cmds_CXX=
6.9795 -module_expsym_cmds_CXX=
6.9796 -link_all_deplibs_CXX=unknown
6.9797 -old_archive_cmds_CXX=$old_archive_cmds
6.9798 -no_undefined_flag_CXX=
6.9799 -whole_archive_flag_spec_CXX=
6.9800 -enable_shared_with_static_runtimes_CXX=no
6.9801 -
6.9802 -# Dependencies to place before and after the object being linked:
6.9803 -predep_objects_CXX=
6.9804 -postdep_objects_CXX=
6.9805 -predeps_CXX=
6.9806 -postdeps_CXX=
6.9807 -compiler_lib_search_path_CXX=
6.9808 -
6.9809 -# Source file extension for C++ test sources.
6.9810 -ac_ext=cpp
6.9811 -
6.9812 -# Object file extension for compiled C++ test sources.
6.9813 -objext=o
6.9814 -objext_CXX=$objext
6.9815 -
6.9816 -# Code to be used in simple compile tests
6.9817 -lt_simple_compile_test_code="int some_variable = 0;\n"
6.9818 -
6.9819 -# Code to be used in simple link tests
6.9820 -lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
6.9821 -
6.9822 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6.9823 -
6.9824 -# If no C compiler was specified, use CC.
6.9825 -LTCC=${LTCC-"$CC"}
6.9826 -
6.9827 -# Allow CC to be a program name with arguments.
6.9828 -compiler=$CC
6.9829 -
6.9830 -
6.9831 -# save warnings/boilerplate of simple test code
6.9832 -ac_outfile=conftest.$ac_objext
6.9833 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6.9834 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.9835 -_lt_compiler_boilerplate=`cat conftest.err`
6.9836 -$rm conftest*
6.9837 -
6.9838 -ac_outfile=conftest.$ac_objext
6.9839 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
6.9840 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.9841 -_lt_linker_boilerplate=`cat conftest.err`
6.9842 -$rm conftest*
6.9843 -
6.9844 -
6.9845 -# Allow CC to be a program name with arguments.
6.9846 -lt_save_CC=$CC
6.9847 -lt_save_LD=$LD
6.9848 -lt_save_GCC=$GCC
6.9849 -GCC=$GXX
6.9850 -lt_save_with_gnu_ld=$with_gnu_ld
6.9851 -lt_save_path_LD=$lt_cv_path_LD
6.9852 -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
6.9853 - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
6.9854 -else
6.9855 - unset lt_cv_prog_gnu_ld
6.9856 -fi
6.9857 -if test -n "${lt_cv_path_LDCXX+set}"; then
6.9858 - lt_cv_path_LD=$lt_cv_path_LDCXX
6.9859 -else
6.9860 - unset lt_cv_path_LD
6.9861 -fi
6.9862 -test -z "${LDCXX+set}" || LD=$LDCXX
6.9863 -CC=${CXX-"c++"}
6.9864 -compiler=$CC
6.9865 -compiler_CXX=$CC
6.9866 -for cc_temp in $compiler""; do
6.9867 - case $cc_temp in
6.9868 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6.9869 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6.9870 - \-*) ;;
6.9871 - *) break;;
6.9872 - esac
6.9873 -done
6.9874 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6.9875 -
6.9876 -
6.9877 -# We don't want -fno-exception wen compiling C++ code, so set the
6.9878 -# no_builtin_flag separately
6.9879 -if test "$GXX" = yes; then
6.9880 - lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
6.9881 -else
6.9882 - lt_prog_compiler_no_builtin_flag_CXX=
6.9883 -fi
6.9884 -
6.9885 -if test "$GXX" = yes; then
6.9886 - # Set up default GNU C++ configuration
6.9887 -
6.9888 -
6.9889 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
6.9890 -if test "${with_gnu_ld+set}" = set; then
6.9891 - withval="$with_gnu_ld"
6.9892 - test "$withval" = no || with_gnu_ld=yes
6.9893 -else
6.9894 - with_gnu_ld=no
6.9895 -fi;
6.9896 -ac_prog=ld
6.9897 -if test "$GCC" = yes; then
6.9898 - # Check if gcc -print-prog-name=ld gives a path.
6.9899 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6.9900 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
6.9901 - case $host in
6.9902 - *-*-mingw*)
6.9903 - # gcc leaves a trailing carriage return which upsets mingw
6.9904 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6.9905 - *)
6.9906 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6.9907 - esac
6.9908 - case $ac_prog in
6.9909 - # Accept absolute paths.
6.9910 - [\\/]* | ?:[\\/]*)
6.9911 - re_direlt='/[^/][^/]*/\.\./'
6.9912 - # Canonicalize the pathname of ld
6.9913 - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
6.9914 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6.9915 - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6.9916 - done
6.9917 - test -z "$LD" && LD="$ac_prog"
6.9918 - ;;
6.9919 - "")
6.9920 - # If it fails, then pretend we aren't using GCC.
6.9921 - ac_prog=ld
6.9922 - ;;
6.9923 - *)
6.9924 - # If it is relative, then search for the first ld in PATH.
6.9925 - with_gnu_ld=unknown
6.9926 - ;;
6.9927 - esac
6.9928 -elif test "$with_gnu_ld" = yes; then
6.9929 - echo "$as_me:$LINENO: checking for GNU ld" >&5
6.9930 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
6.9931 -else
6.9932 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6.9933 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
6.9934 -fi
6.9935 -if test "${lt_cv_path_LD+set}" = set; then
6.9936 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.9937 -else
6.9938 - if test -z "$LD"; then
6.9939 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6.9940 - for ac_dir in $PATH; do
6.9941 - IFS="$lt_save_ifs"
6.9942 - test -z "$ac_dir" && ac_dir=.
6.9943 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6.9944 - lt_cv_path_LD="$ac_dir/$ac_prog"
6.9945 - # Check to see if the program is GNU ld. I'd rather use --version,
6.9946 - # but apparently some variants of GNU ld only accept -v.
6.9947 - # Break only if it was the GNU/non-GNU ld that we prefer.
6.9948 - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6.9949 - *GNU* | *'with BFD'*)
6.9950 - test "$with_gnu_ld" != no && break
6.9951 - ;;
6.9952 - *)
6.9953 - test "$with_gnu_ld" != yes && break
6.9954 - ;;
6.9955 - esac
6.9956 - fi
6.9957 - done
6.9958 - IFS="$lt_save_ifs"
6.9959 -else
6.9960 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
6.9961 -fi
6.9962 -fi
6.9963 -
6.9964 -LD="$lt_cv_path_LD"
6.9965 -if test -n "$LD"; then
6.9966 - echo "$as_me:$LINENO: result: $LD" >&5
6.9967 -echo "${ECHO_T}$LD" >&6
6.9968 -else
6.9969 - echo "$as_me:$LINENO: result: no" >&5
6.9970 -echo "${ECHO_T}no" >&6
6.9971 -fi
6.9972 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6.9973 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6.9974 - { (exit 1); exit 1; }; }
6.9975 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6.9976 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
6.9977 -if test "${lt_cv_prog_gnu_ld+set}" = set; then
6.9978 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.9979 -else
6.9980 - # I'd rather use --version here, but apparently some GNU lds only accept -v.
6.9981 -case `$LD -v 2>&1 </dev/null` in
6.9982 -*GNU* | *'with BFD'*)
6.9983 - lt_cv_prog_gnu_ld=yes
6.9984 - ;;
6.9985 -*)
6.9986 - lt_cv_prog_gnu_ld=no
6.9987 - ;;
6.9988 -esac
6.9989 -fi
6.9990 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6.9991 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
6.9992 -with_gnu_ld=$lt_cv_prog_gnu_ld
6.9993 -
6.9994 -
6.9995 -
6.9996 - # Check if GNU C++ uses GNU ld as the underlying linker, since the
6.9997 - # archiving commands below assume that GNU ld is being used.
6.9998 - if test "$with_gnu_ld" = yes; then
6.9999 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.10000 - archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.10001 -
6.10002 - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
6.10003 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
6.10004 -
6.10005 - # If archive_cmds runs LD, not CC, wlarc should be empty
6.10006 - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
6.10007 - # investigate it a little bit more. (MM)
6.10008 - wlarc='${wl}'
6.10009 -
6.10010 - # ancient GNU ld didn't support --whole-archive et. al.
6.10011 - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
6.10012 - grep 'no-whole-archive' > /dev/null; then
6.10013 - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6.10014 - else
6.10015 - whole_archive_flag_spec_CXX=
6.10016 - fi
6.10017 - else
6.10018 - with_gnu_ld=no
6.10019 - wlarc=
6.10020 -
6.10021 - # A generic and very simple default shared library creation
6.10022 - # command for GNU C++ for the case where it uses the native
6.10023 - # linker, instead of GNU ld. If possible, this setting should
6.10024 - # overridden to take advantage of the native linker features on
6.10025 - # the platform it is being used on.
6.10026 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
6.10027 - fi
6.10028 -
6.10029 - # Commands to make compiler produce verbose output that lists
6.10030 - # what "hidden" libraries, object files and flags are used when
6.10031 - # linking a shared library.
6.10032 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
6.10033 -
6.10034 -else
6.10035 - GXX=no
6.10036 - with_gnu_ld=no
6.10037 - wlarc=
6.10038 -fi
6.10039 -
6.10040 -# PORTME: fill in a description of your system's C++ link characteristics
6.10041 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6.10042 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6.10043 -ld_shlibs_CXX=yes
6.10044 -case $host_os in
6.10045 - aix3*)
6.10046 - # FIXME: insert proper C++ library support
6.10047 - ld_shlibs_CXX=no
6.10048 - ;;
6.10049 - aix4* | aix5*)
6.10050 - if test "$host_cpu" = ia64; then
6.10051 - # On IA64, the linker does run time linking by default, so we don't
6.10052 - # have to do anything special.
6.10053 - aix_use_runtimelinking=no
6.10054 - exp_sym_flag='-Bexport'
6.10055 - no_entry_flag=""
6.10056 - else
6.10057 - aix_use_runtimelinking=no
6.10058 -
6.10059 - # Test if we are trying to use run time linking or normal
6.10060 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6.10061 - # need to do runtime linking.
6.10062 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6.10063 - for ld_flag in $LDFLAGS; do
6.10064 - case $ld_flag in
6.10065 - *-brtl*)
6.10066 - aix_use_runtimelinking=yes
6.10067 - break
6.10068 - ;;
6.10069 - esac
6.10070 - done
6.10071 - esac
6.10072 -
6.10073 - exp_sym_flag='-bexport'
6.10074 - no_entry_flag='-bnoentry'
6.10075 - fi
6.10076 -
6.10077 - # When large executables or shared objects are built, AIX ld can
6.10078 - # have problems creating the table of contents. If linking a library
6.10079 - # or program results in "error TOC overflow" add -mminimal-toc to
6.10080 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6.10081 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6.10082 -
6.10083 - archive_cmds_CXX=''
6.10084 - hardcode_direct_CXX=yes
6.10085 - hardcode_libdir_separator_CXX=':'
6.10086 - link_all_deplibs_CXX=yes
6.10087 -
6.10088 - if test "$GXX" = yes; then
6.10089 - case $host_os in aix4.[012]|aix4.[012].*)
6.10090 - # We only want to do this on AIX 4.2 and lower, the check
6.10091 - # below for broken collect2 doesn't work under 4.3+
6.10092 - collect2name=`${CC} -print-prog-name=collect2`
6.10093 - if test -f "$collect2name" && \
6.10094 - strings "$collect2name" | grep resolve_lib_name >/dev/null
6.10095 - then
6.10096 - # We have reworked collect2
6.10097 - hardcode_direct_CXX=yes
6.10098 - else
6.10099 - # We have old collect2
6.10100 - hardcode_direct_CXX=unsupported
6.10101 - # It fails to find uninstalled libraries when the uninstalled
6.10102 - # path is not listed in the libpath. Setting hardcode_minus_L
6.10103 - # to unsupported forces relinking
6.10104 - hardcode_minus_L_CXX=yes
6.10105 - hardcode_libdir_flag_spec_CXX='-L$libdir'
6.10106 - hardcode_libdir_separator_CXX=
6.10107 - fi
6.10108 - esac
6.10109 - shared_flag='-shared'
6.10110 - if test "$aix_use_runtimelinking" = yes; then
6.10111 - shared_flag="$shared_flag "'${wl}-G'
6.10112 - fi
6.10113 - else
6.10114 - # not using gcc
6.10115 - if test "$host_cpu" = ia64; then
6.10116 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6.10117 - # chokes on -Wl,-G. The following line is correct:
6.10118 - shared_flag='-G'
6.10119 - else
6.10120 - if test "$aix_use_runtimelinking" = yes; then
6.10121 - shared_flag='${wl}-G'
6.10122 - else
6.10123 - shared_flag='${wl}-bM:SRE'
6.10124 - fi
6.10125 - fi
6.10126 - fi
6.10127 -
6.10128 - # It seems that -bexpall does not export symbols beginning with
6.10129 - # underscore (_), so it is better to generate a list of symbols to export.
6.10130 - always_export_symbols_CXX=yes
6.10131 - if test "$aix_use_runtimelinking" = yes; then
6.10132 - # Warning - without using the other runtime loading flags (-brtl),
6.10133 - # -berok will link without error, but may produce a broken library.
6.10134 - allow_undefined_flag_CXX='-berok'
6.10135 - # Determine the default libpath from the value encoded in an empty executable.
6.10136 - cat >conftest.$ac_ext <<_ACEOF
6.10137 -/* confdefs.h. */
6.10138 -_ACEOF
6.10139 -cat confdefs.h >>conftest.$ac_ext
6.10140 -cat >>conftest.$ac_ext <<_ACEOF
6.10141 -/* end confdefs.h. */
6.10142 -
6.10143 -int
6.10144 -main ()
6.10145 -{
6.10146 -
6.10147 - ;
6.10148 - return 0;
6.10149 -}
6.10150 -_ACEOF
6.10151 -rm -f conftest.$ac_objext conftest$ac_exeext
6.10152 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.10153 - (eval $ac_link) 2>conftest.er1
6.10154 - ac_status=$?
6.10155 - grep -v '^ *+' conftest.er1 >conftest.err
6.10156 - rm -f conftest.er1
6.10157 - cat conftest.err >&5
6.10158 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.10159 - (exit $ac_status); } &&
6.10160 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.10161 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.10162 - (eval $ac_try) 2>&5
6.10163 - ac_status=$?
6.10164 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.10165 - (exit $ac_status); }; } &&
6.10166 - { ac_try='test -s conftest$ac_exeext'
6.10167 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.10168 - (eval $ac_try) 2>&5
6.10169 - ac_status=$?
6.10170 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.10171 - (exit $ac_status); }; }; then
6.10172 -
6.10173 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6.10174 -}'`
6.10175 -# Check for a 64-bit object if we didn't find anything.
6.10176 -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; }
6.10177 -}'`; fi
6.10178 -else
6.10179 - echo "$as_me: failed program was:" >&5
6.10180 -sed 's/^/| /' conftest.$ac_ext >&5
6.10181 -
6.10182 -fi
6.10183 -rm -f conftest.err conftest.$ac_objext \
6.10184 - conftest$ac_exeext conftest.$ac_ext
6.10185 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6.10186 -
6.10187 - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
6.10188 -
6.10189 - archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6.10190 - else
6.10191 - if test "$host_cpu" = ia64; then
6.10192 - hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
6.10193 - allow_undefined_flag_CXX="-z nodefs"
6.10194 - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
6.10195 - else
6.10196 - # Determine the default libpath from the value encoded in an empty executable.
6.10197 - cat >conftest.$ac_ext <<_ACEOF
6.10198 -/* confdefs.h. */
6.10199 -_ACEOF
6.10200 -cat confdefs.h >>conftest.$ac_ext
6.10201 -cat >>conftest.$ac_ext <<_ACEOF
6.10202 -/* end confdefs.h. */
6.10203 -
6.10204 -int
6.10205 -main ()
6.10206 -{
6.10207 -
6.10208 - ;
6.10209 - return 0;
6.10210 -}
6.10211 -_ACEOF
6.10212 -rm -f conftest.$ac_objext conftest$ac_exeext
6.10213 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.10214 - (eval $ac_link) 2>conftest.er1
6.10215 - ac_status=$?
6.10216 - grep -v '^ *+' conftest.er1 >conftest.err
6.10217 - rm -f conftest.er1
6.10218 - cat conftest.err >&5
6.10219 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.10220 - (exit $ac_status); } &&
6.10221 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.10222 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.10223 - (eval $ac_try) 2>&5
6.10224 - ac_status=$?
6.10225 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.10226 - (exit $ac_status); }; } &&
6.10227 - { ac_try='test -s conftest$ac_exeext'
6.10228 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.10229 - (eval $ac_try) 2>&5
6.10230 - ac_status=$?
6.10231 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.10232 - (exit $ac_status); }; }; then
6.10233 -
6.10234 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6.10235 -}'`
6.10236 -# Check for a 64-bit object if we didn't find anything.
6.10237 -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; }
6.10238 -}'`; fi
6.10239 -else
6.10240 - echo "$as_me: failed program was:" >&5
6.10241 -sed 's/^/| /' conftest.$ac_ext >&5
6.10242 -
6.10243 -fi
6.10244 -rm -f conftest.err conftest.$ac_objext \
6.10245 - conftest$ac_exeext conftest.$ac_ext
6.10246 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6.10247 -
6.10248 - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
6.10249 - # Warning - without using the other run time loading flags,
6.10250 - # -berok will link without error, but may produce a broken library.
6.10251 - no_undefined_flag_CXX=' ${wl}-bernotok'
6.10252 - allow_undefined_flag_CXX=' ${wl}-berok'
6.10253 - # -bexpall does not export symbols beginning with underscore (_)
6.10254 - always_export_symbols_CXX=yes
6.10255 - # Exported symbols can be pulled into shared objects from archives
6.10256 - whole_archive_flag_spec_CXX=' '
6.10257 - archive_cmds_need_lc_CXX=yes
6.10258 - # This is similar to how AIX traditionally builds its shared libraries.
6.10259 - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
6.10260 - fi
6.10261 - fi
6.10262 - ;;
6.10263 - chorus*)
6.10264 - case $cc_basename in
6.10265 - *)
6.10266 - # FIXME: insert proper C++ library support
6.10267 - ld_shlibs_CXX=no
6.10268 - ;;
6.10269 - esac
6.10270 - ;;
6.10271 -
6.10272 -
6.10273 - cygwin* | mingw* | pw32*)
6.10274 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
6.10275 - # as there is no search path for DLLs.
6.10276 - hardcode_libdir_flag_spec_CXX='-L$libdir'
6.10277 - allow_undefined_flag_CXX=unsupported
6.10278 - always_export_symbols_CXX=no
6.10279 - enable_shared_with_static_runtimes_CXX=yes
6.10280 -
6.10281 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6.10282 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6.10283 - # If the export-symbols file already is a .def file (1st line
6.10284 - # is EXPORTS), use it as is; otherwise, prepend...
6.10285 - archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6.10286 - cp $export_symbols $output_objdir/$soname.def;
6.10287 - else
6.10288 - echo EXPORTS > $output_objdir/$soname.def;
6.10289 - cat $export_symbols >> $output_objdir/$soname.def;
6.10290 - fi~
6.10291 - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6.10292 - else
6.10293 - ld_shlibs_CXX=no
6.10294 - fi
6.10295 - ;;
6.10296 - darwin* | rhapsody*)
6.10297 - case $host_os in
6.10298 - rhapsody* | darwin1.[012])
6.10299 - allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
6.10300 - ;;
6.10301 - *) # Darwin 1.3 on
6.10302 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6.10303 - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6.10304 - else
6.10305 - case ${MACOSX_DEPLOYMENT_TARGET} in
6.10306 - 10.[012])
6.10307 - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6.10308 - ;;
6.10309 - 10.*)
6.10310 - allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
6.10311 - ;;
6.10312 - esac
6.10313 - fi
6.10314 - ;;
6.10315 - esac
6.10316 - archive_cmds_need_lc_CXX=no
6.10317 - hardcode_direct_CXX=no
6.10318 - hardcode_automatic_CXX=yes
6.10319 - hardcode_shlibpath_var_CXX=unsupported
6.10320 - whole_archive_flag_spec_CXX=''
6.10321 - link_all_deplibs_CXX=yes
6.10322 -
6.10323 - if test "$GXX" = yes ; then
6.10324 - lt_int_apple_cc_single_mod=no
6.10325 - output_verbose_link_cmd='echo'
6.10326 - if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
6.10327 - lt_int_apple_cc_single_mod=yes
6.10328 - fi
6.10329 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
6.10330 - archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6.10331 - else
6.10332 - archive_cmds_CXX='$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'
6.10333 - fi
6.10334 - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6.10335 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6.10336 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
6.10337 - archive_expsym_cmds_CXX='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}'
6.10338 - else
6.10339 - archive_expsym_cmds_CXX='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}'
6.10340 - fi
6.10341 - module_expsym_cmds_CXX='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}'
6.10342 - else
6.10343 - case $cc_basename in
6.10344 - xlc*)
6.10345 - output_verbose_link_cmd='echo'
6.10346 - archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
6.10347 - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6.10348 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6.10349 - archive_expsym_cmds_CXX='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}'
6.10350 - module_expsym_cmds_CXX='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}'
6.10351 - ;;
6.10352 - *)
6.10353 - ld_shlibs_CXX=no
6.10354 - ;;
6.10355 - esac
6.10356 - fi
6.10357 - ;;
6.10358 -
6.10359 - dgux*)
6.10360 - case $cc_basename in
6.10361 - ec++*)
6.10362 - # FIXME: insert proper C++ library support
6.10363 - ld_shlibs_CXX=no
6.10364 - ;;
6.10365 - ghcx*)
6.10366 - # Green Hills C++ Compiler
6.10367 - # FIXME: insert proper C++ library support
6.10368 - ld_shlibs_CXX=no
6.10369 - ;;
6.10370 - *)
6.10371 - # FIXME: insert proper C++ library support
6.10372 - ld_shlibs_CXX=no
6.10373 - ;;
6.10374 - esac
6.10375 - ;;
6.10376 - freebsd[12]*)
6.10377 - # C++ shared libraries reported to be fairly broken before switch to ELF
6.10378 - ld_shlibs_CXX=no
6.10379 - ;;
6.10380 - freebsd-elf*)
6.10381 - archive_cmds_need_lc_CXX=no
6.10382 - ;;
6.10383 - freebsd* | kfreebsd*-gnu | dragonfly*)
6.10384 - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
6.10385 - # conventions
6.10386 - ld_shlibs_CXX=yes
6.10387 - ;;
6.10388 - gnu*)
6.10389 - ;;
6.10390 - hpux9*)
6.10391 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
6.10392 - hardcode_libdir_separator_CXX=:
6.10393 - export_dynamic_flag_spec_CXX='${wl}-E'
6.10394 - hardcode_direct_CXX=yes
6.10395 - hardcode_minus_L_CXX=yes # Not in the search PATH,
6.10396 - # but as the default
6.10397 - # location of the library.
6.10398 -
6.10399 - case $cc_basename in
6.10400 - CC*)
6.10401 - # FIXME: insert proper C++ library support
6.10402 - ld_shlibs_CXX=no
6.10403 - ;;
6.10404 - aCC*)
6.10405 - archive_cmds_CXX='$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'
6.10406 - # Commands to make compiler produce verbose output that lists
6.10407 - # what "hidden" libraries, object files and flags are used when
6.10408 - # linking a shared library.
6.10409 - #
6.10410 - # There doesn't appear to be a way to prevent this compiler from
6.10411 - # explicitly linking system object files so we need to strip them
6.10412 - # from the output so that they don't get included in the library
6.10413 - # dependencies.
6.10414 - 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'
6.10415 - ;;
6.10416 - *)
6.10417 - if test "$GXX" = yes; then
6.10418 - archive_cmds_CXX='$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'
6.10419 - else
6.10420 - # FIXME: insert proper C++ library support
6.10421 - ld_shlibs_CXX=no
6.10422 - fi
6.10423 - ;;
6.10424 - esac
6.10425 - ;;
6.10426 - hpux10*|hpux11*)
6.10427 - if test $with_gnu_ld = no; then
6.10428 - case $host_cpu in
6.10429 - hppa*64*)
6.10430 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
6.10431 - hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
6.10432 - hardcode_libdir_separator_CXX=:
6.10433 - ;;
6.10434 - ia64*)
6.10435 - hardcode_libdir_flag_spec_CXX='-L$libdir'
6.10436 - ;;
6.10437 - *)
6.10438 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
6.10439 - hardcode_libdir_separator_CXX=:
6.10440 - export_dynamic_flag_spec_CXX='${wl}-E'
6.10441 - ;;
6.10442 - esac
6.10443 - fi
6.10444 - case $host_cpu in
6.10445 - hppa*64*)
6.10446 - hardcode_direct_CXX=no
6.10447 - hardcode_shlibpath_var_CXX=no
6.10448 - ;;
6.10449 - ia64*)
6.10450 - hardcode_direct_CXX=no
6.10451 - hardcode_shlibpath_var_CXX=no
6.10452 - hardcode_minus_L_CXX=yes # Not in the search PATH,
6.10453 - # but as the default
6.10454 - # location of the library.
6.10455 - ;;
6.10456 - *)
6.10457 - hardcode_direct_CXX=yes
6.10458 - hardcode_minus_L_CXX=yes # Not in the search PATH,
6.10459 - # but as the default
6.10460 - # location of the library.
6.10461 - ;;
6.10462 - esac
6.10463 -
6.10464 - case $cc_basename in
6.10465 - CC*)
6.10466 - # FIXME: insert proper C++ library support
6.10467 - ld_shlibs_CXX=no
6.10468 - ;;
6.10469 - aCC*)
6.10470 - case $host_cpu in
6.10471 - hppa*64*|ia64*)
6.10472 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
6.10473 - ;;
6.10474 - *)
6.10475 - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6.10476 - ;;
6.10477 - esac
6.10478 - # Commands to make compiler produce verbose output that lists
6.10479 - # what "hidden" libraries, object files and flags are used when
6.10480 - # linking a shared library.
6.10481 - #
6.10482 - # There doesn't appear to be a way to prevent this compiler from
6.10483 - # explicitly linking system object files so we need to strip them
6.10484 - # from the output so that they don't get included in the library
6.10485 - # dependencies.
6.10486 - 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'
6.10487 - ;;
6.10488 - *)
6.10489 - if test "$GXX" = yes; then
6.10490 - if test $with_gnu_ld = no; then
6.10491 - case $host_cpu in
6.10492 - ia64*|hppa*64*)
6.10493 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
6.10494 - ;;
6.10495 - *)
6.10496 - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6.10497 - ;;
6.10498 - esac
6.10499 - fi
6.10500 - else
6.10501 - # FIXME: insert proper C++ library support
6.10502 - ld_shlibs_CXX=no
6.10503 - fi
6.10504 - ;;
6.10505 - esac
6.10506 - ;;
6.10507 - irix5* | irix6*)
6.10508 - case $cc_basename in
6.10509 - CC*)
6.10510 - # SGI C++
6.10511 - archive_cmds_CXX='$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'
6.10512 -
6.10513 - # Archives containing C++ object files must be created using
6.10514 - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
6.10515 - # necessary to make sure instantiated templates are included
6.10516 - # in the archive.
6.10517 - old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
6.10518 - ;;
6.10519 - *)
6.10520 - if test "$GXX" = yes; then
6.10521 - if test "$with_gnu_ld" = no; then
6.10522 - archive_cmds_CXX='$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'
6.10523 - else
6.10524 - archive_cmds_CXX='$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'
6.10525 - fi
6.10526 - fi
6.10527 - link_all_deplibs_CXX=yes
6.10528 - ;;
6.10529 - esac
6.10530 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
6.10531 - hardcode_libdir_separator_CXX=:
6.10532 - ;;
6.10533 - linux*)
6.10534 - case $cc_basename in
6.10535 - KCC*)
6.10536 - # Kuck and Associates, Inc. (KAI) C++ Compiler
6.10537 -
6.10538 - # KCC will only create a shared library if the output file
6.10539 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
6.10540 - # to its proper name (with version) after linking.
6.10541 - archive_cmds_CXX='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'
6.10542 - archive_expsym_cmds_CXX='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'
6.10543 - # Commands to make compiler produce verbose output that lists
6.10544 - # what "hidden" libraries, object files and flags are used when
6.10545 - # linking a shared library.
6.10546 - #
6.10547 - # There doesn't appear to be a way to prevent this compiler from
6.10548 - # explicitly linking system object files so we need to strip them
6.10549 - # from the output so that they don't get included in the library
6.10550 - # dependencies.
6.10551 - 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'
6.10552 -
6.10553 - hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
6.10554 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
6.10555 -
6.10556 - # Archives containing C++ object files must be created using
6.10557 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
6.10558 - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
6.10559 - ;;
6.10560 - icpc*)
6.10561 - # Intel C++
6.10562 - with_gnu_ld=yes
6.10563 - # version 8.0 and above of icpc choke on multiply defined symbols
6.10564 - # if we add $predep_objects and $postdep_objects, however 7.1 and
6.10565 - # earlier do not add the objects themselves.
6.10566 - case `$CC -V 2>&1` in
6.10567 - *"Version 7."*)
6.10568 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.10569 - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.10570 - ;;
6.10571 - *) # Version 8.0 or newer
6.10572 - tmp_idyn=
6.10573 - case $host_cpu in
6.10574 - ia64*) tmp_idyn=' -i_dynamic';;
6.10575 - esac
6.10576 - archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.10577 - archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.10578 - ;;
6.10579 - esac
6.10580 - archive_cmds_need_lc_CXX=no
6.10581 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
6.10582 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
6.10583 - whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
6.10584 - ;;
6.10585 - pgCC*)
6.10586 - # Portland Group C++ compiler
6.10587 - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
6.10588 - archive_expsym_cmds_CXX='$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'
6.10589 -
6.10590 - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
6.10591 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
6.10592 - whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6.10593 - ;;
6.10594 - cxx*)
6.10595 - # Compaq C++
6.10596 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.10597 - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
6.10598 -
6.10599 - runpath_var=LD_RUN_PATH
6.10600 - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
6.10601 - hardcode_libdir_separator_CXX=:
6.10602 -
6.10603 - # Commands to make compiler produce verbose output that lists
6.10604 - # what "hidden" libraries, object files and flags are used when
6.10605 - # linking a shared library.
6.10606 - #
6.10607 - # There doesn't appear to be a way to prevent this compiler from
6.10608 - # explicitly linking system object files so we need to strip them
6.10609 - # from the output so that they don't get included in the library
6.10610 - # dependencies.
6.10611 - 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'
6.10612 - ;;
6.10613 - esac
6.10614 - ;;
6.10615 - lynxos*)
6.10616 - # FIXME: insert proper C++ library support
6.10617 - ld_shlibs_CXX=no
6.10618 - ;;
6.10619 - m88k*)
6.10620 - # FIXME: insert proper C++ library support
6.10621 - ld_shlibs_CXX=no
6.10622 - ;;
6.10623 - mvs*)
6.10624 - case $cc_basename in
6.10625 - cxx*)
6.10626 - # FIXME: insert proper C++ library support
6.10627 - ld_shlibs_CXX=no
6.10628 - ;;
6.10629 - *)
6.10630 - # FIXME: insert proper C++ library support
6.10631 - ld_shlibs_CXX=no
6.10632 - ;;
6.10633 - esac
6.10634 - ;;
6.10635 - netbsd*)
6.10636 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.10637 - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
6.10638 - wlarc=
6.10639 - hardcode_libdir_flag_spec_CXX='-R$libdir'
6.10640 - hardcode_direct_CXX=yes
6.10641 - hardcode_shlibpath_var_CXX=no
6.10642 - fi
6.10643 - # Workaround some broken pre-1.5 toolchains
6.10644 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
6.10645 - ;;
6.10646 - openbsd2*)
6.10647 - # C++ shared libraries are fairly broken
6.10648 - ld_shlibs_CXX=no
6.10649 - ;;
6.10650 - openbsd*)
6.10651 - hardcode_direct_CXX=yes
6.10652 - hardcode_shlibpath_var_CXX=no
6.10653 - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
6.10654 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
6.10655 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.10656 - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
6.10657 - export_dynamic_flag_spec_CXX='${wl}-E'
6.10658 - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6.10659 - fi
6.10660 - output_verbose_link_cmd='echo'
6.10661 - ;;
6.10662 - osf3*)
6.10663 - case $cc_basename in
6.10664 - KCC*)
6.10665 - # Kuck and Associates, Inc. (KAI) C++ Compiler
6.10666 -
6.10667 - # KCC will only create a shared library if the output file
6.10668 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
6.10669 - # to its proper name (with version) after linking.
6.10670 - archive_cmds_CXX='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'
6.10671 -
6.10672 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
6.10673 - hardcode_libdir_separator_CXX=:
6.10674 -
6.10675 - # Archives containing C++ object files must be created using
6.10676 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
6.10677 - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
6.10678 -
6.10679 - ;;
6.10680 - RCC*)
6.10681 - # Rational C++ 2.4.1
6.10682 - # FIXME: insert proper C++ library support
6.10683 - ld_shlibs_CXX=no
6.10684 - ;;
6.10685 - cxx*)
6.10686 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
6.10687 - archive_cmds_CXX='$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'
6.10688 -
6.10689 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
6.10690 - hardcode_libdir_separator_CXX=:
6.10691 -
6.10692 - # Commands to make compiler produce verbose output that lists
6.10693 - # what "hidden" libraries, object files and flags are used when
6.10694 - # linking a shared library.
6.10695 - #
6.10696 - # There doesn't appear to be a way to prevent this compiler from
6.10697 - # explicitly linking system object files so we need to strip them
6.10698 - # from the output so that they don't get included in the library
6.10699 - # dependencies.
6.10700 - 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'
6.10701 - ;;
6.10702 - *)
6.10703 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
6.10704 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
6.10705 - archive_cmds_CXX='$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'
6.10706 -
6.10707 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
6.10708 - hardcode_libdir_separator_CXX=:
6.10709 -
6.10710 - # Commands to make compiler produce verbose output that lists
6.10711 - # what "hidden" libraries, object files and flags are used when
6.10712 - # linking a shared library.
6.10713 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
6.10714 -
6.10715 - else
6.10716 - # FIXME: insert proper C++ library support
6.10717 - ld_shlibs_CXX=no
6.10718 - fi
6.10719 - ;;
6.10720 - esac
6.10721 - ;;
6.10722 - osf4* | osf5*)
6.10723 - case $cc_basename in
6.10724 - KCC*)
6.10725 - # Kuck and Associates, Inc. (KAI) C++ Compiler
6.10726 -
6.10727 - # KCC will only create a shared library if the output file
6.10728 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
6.10729 - # to its proper name (with version) after linking.
6.10730 - archive_cmds_CXX='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'
6.10731 -
6.10732 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
6.10733 - hardcode_libdir_separator_CXX=:
6.10734 -
6.10735 - # Archives containing C++ object files must be created using
6.10736 - # the KAI C++ compiler.
6.10737 - old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
6.10738 - ;;
6.10739 - RCC*)
6.10740 - # Rational C++ 2.4.1
6.10741 - # FIXME: insert proper C++ library support
6.10742 - ld_shlibs_CXX=no
6.10743 - ;;
6.10744 - cxx*)
6.10745 - allow_undefined_flag_CXX=' -expect_unresolved \*'
6.10746 - archive_cmds_CXX='$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'
6.10747 - archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
6.10748 - echo "-hidden">> $lib.exp~
6.10749 - $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~
6.10750 - $rm $lib.exp'
6.10751 -
6.10752 - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
6.10753 - hardcode_libdir_separator_CXX=:
6.10754 -
6.10755 - # Commands to make compiler produce verbose output that lists
6.10756 - # what "hidden" libraries, object files and flags are used when
6.10757 - # linking a shared library.
6.10758 - #
6.10759 - # There doesn't appear to be a way to prevent this compiler from
6.10760 - # explicitly linking system object files so we need to strip them
6.10761 - # from the output so that they don't get included in the library
6.10762 - # dependencies.
6.10763 - 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'
6.10764 - ;;
6.10765 - *)
6.10766 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
6.10767 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
6.10768 - archive_cmds_CXX='$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'
6.10769 -
6.10770 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
6.10771 - hardcode_libdir_separator_CXX=:
6.10772 -
6.10773 - # Commands to make compiler produce verbose output that lists
6.10774 - # what "hidden" libraries, object files and flags are used when
6.10775 - # linking a shared library.
6.10776 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
6.10777 -
6.10778 - else
6.10779 - # FIXME: insert proper C++ library support
6.10780 - ld_shlibs_CXX=no
6.10781 - fi
6.10782 - ;;
6.10783 - esac
6.10784 - ;;
6.10785 - psos*)
6.10786 - # FIXME: insert proper C++ library support
6.10787 - ld_shlibs_CXX=no
6.10788 - ;;
6.10789 - sco*)
6.10790 - archive_cmds_need_lc_CXX=no
6.10791 - case $cc_basename in
6.10792 - CC*)
6.10793 - # FIXME: insert proper C++ library support
6.10794 - ld_shlibs_CXX=no
6.10795 - ;;
6.10796 - *)
6.10797 - # FIXME: insert proper C++ library support
6.10798 - ld_shlibs_CXX=no
6.10799 - ;;
6.10800 - esac
6.10801 - ;;
6.10802 - sunos4*)
6.10803 - case $cc_basename in
6.10804 - CC*)
6.10805 - # Sun C++ 4.x
6.10806 - # FIXME: insert proper C++ library support
6.10807 - ld_shlibs_CXX=no
6.10808 - ;;
6.10809 - lcc*)
6.10810 - # Lucid
6.10811 - # FIXME: insert proper C++ library support
6.10812 - ld_shlibs_CXX=no
6.10813 - ;;
6.10814 - *)
6.10815 - # FIXME: insert proper C++ library support
6.10816 - ld_shlibs_CXX=no
6.10817 - ;;
6.10818 - esac
6.10819 - ;;
6.10820 - solaris*)
6.10821 - case $cc_basename in
6.10822 - CC*)
6.10823 - # Sun C++ 4.2, 5.x and Centerline C++
6.10824 - archive_cmds_need_lc_CXX=yes
6.10825 - no_undefined_flag_CXX=' -zdefs'
6.10826 - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6.10827 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.10828 - $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'
6.10829 -
6.10830 - hardcode_libdir_flag_spec_CXX='-R$libdir'
6.10831 - hardcode_shlibpath_var_CXX=no
6.10832 - case $host_os in
6.10833 - solaris2.[0-5] | solaris2.[0-5].*) ;;
6.10834 - *)
6.10835 - # The C++ compiler is used as linker so we must use $wl
6.10836 - # flag to pass the commands to the underlying system
6.10837 - # linker. We must also pass each convience library through
6.10838 - # to the system linker between allextract/defaultextract.
6.10839 - # The C++ compiler will combine linker options so we
6.10840 - # cannot just pass the convience library names through
6.10841 - # without $wl.
6.10842 - # Supported since Solaris 2.6 (maybe 2.5.1?)
6.10843 - whole_archive_flag_spec_CXX='${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'
6.10844 - ;;
6.10845 - esac
6.10846 - link_all_deplibs_CXX=yes
6.10847 -
6.10848 - output_verbose_link_cmd='echo'
6.10849 -
6.10850 - # Archives containing C++ object files must be created using
6.10851 - # "CC -xar", where "CC" is the Sun C++ compiler. This is
6.10852 - # necessary to make sure instantiated templates are included
6.10853 - # in the archive.
6.10854 - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
6.10855 - ;;
6.10856 - gcx*)
6.10857 - # Green Hills C++ Compiler
6.10858 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
6.10859 -
6.10860 - # The C++ compiler must be used to create the archive.
6.10861 - old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
6.10862 - ;;
6.10863 - *)
6.10864 - # GNU C++ compiler with Solaris linker
6.10865 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
6.10866 - no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
6.10867 - if $CC --version | grep -v '^2\.7' > /dev/null; then
6.10868 - archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
6.10869 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.10870 - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
6.10871 -
6.10872 - # Commands to make compiler produce verbose output that lists
6.10873 - # what "hidden" libraries, object files and flags are used when
6.10874 - # linking a shared library.
6.10875 - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
6.10876 - else
6.10877 - # g++ 2.7 appears to require `-G' NOT `-shared' on this
6.10878 - # platform.
6.10879 - archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
6.10880 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.10881 - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
6.10882 -
6.10883 - # Commands to make compiler produce verbose output that lists
6.10884 - # what "hidden" libraries, object files and flags are used when
6.10885 - # linking a shared library.
6.10886 - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
6.10887 - fi
6.10888 -
6.10889 - hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
6.10890 - fi
6.10891 - ;;
6.10892 - esac
6.10893 - ;;
6.10894 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
6.10895 - archive_cmds_need_lc_CXX=no
6.10896 - ;;
6.10897 - tandem*)
6.10898 - case $cc_basename in
6.10899 - NCC*)
6.10900 - # NonStop-UX NCC 3.20
6.10901 - # FIXME: insert proper C++ library support
6.10902 - ld_shlibs_CXX=no
6.10903 - ;;
6.10904 - *)
6.10905 - # FIXME: insert proper C++ library support
6.10906 - ld_shlibs_CXX=no
6.10907 - ;;
6.10908 - esac
6.10909 - ;;
6.10910 - vxworks*)
6.10911 - # FIXME: insert proper C++ library support
6.10912 - ld_shlibs_CXX=no
6.10913 - ;;
6.10914 - *)
6.10915 - # FIXME: insert proper C++ library support
6.10916 - ld_shlibs_CXX=no
6.10917 - ;;
6.10918 -esac
6.10919 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
6.10920 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
6.10921 -test "$ld_shlibs_CXX" = no && can_build_shared=no
6.10922 -
6.10923 -GCC_CXX="$GXX"
6.10924 -LD_CXX="$LD"
6.10925 -
6.10926 -
6.10927 -cat > conftest.$ac_ext <<EOF
6.10928 -class Foo
6.10929 -{
6.10930 -public:
6.10931 - Foo (void) { a = 0; }
6.10932 -private:
6.10933 - int a;
6.10934 -};
6.10935 -EOF
6.10936 -
6.10937 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.10938 - (eval $ac_compile) 2>&5
6.10939 - ac_status=$?
6.10940 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.10941 - (exit $ac_status); }; then
6.10942 - # Parse the compiler output and extract the necessary
6.10943 - # objects, libraries and library flags.
6.10944 -
6.10945 - # Sentinel used to keep track of whether or not we are before
6.10946 - # the conftest object file.
6.10947 - pre_test_object_deps_done=no
6.10948 -
6.10949 - # The `*' in the case matches for architectures that use `case' in
6.10950 - # $output_verbose_cmd can trigger glob expansion during the loop
6.10951 - # eval without this substitution.
6.10952 - output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
6.10953 -
6.10954 - for p in `eval $output_verbose_link_cmd`; do
6.10955 - case $p in
6.10956 -
6.10957 - -L* | -R* | -l*)
6.10958 - # Some compilers place space between "-{L,R}" and the path.
6.10959 - # Remove the space.
6.10960 - if test $p = "-L" \
6.10961 - || test $p = "-R"; then
6.10962 - prev=$p
6.10963 - continue
6.10964 - else
6.10965 - prev=
6.10966 - fi
6.10967 -
6.10968 - if test "$pre_test_object_deps_done" = no; then
6.10969 - case $p in
6.10970 - -L* | -R*)
6.10971 - # Internal compiler library paths should come after those
6.10972 - # provided the user. The postdeps already come after the
6.10973 - # user supplied libs so there is no need to process them.
6.10974 - if test -z "$compiler_lib_search_path_CXX"; then
6.10975 - compiler_lib_search_path_CXX="${prev}${p}"
6.10976 - else
6.10977 - compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
6.10978 - fi
6.10979 - ;;
6.10980 - # The "-l" case would never come before the object being
6.10981 - # linked, so don't bother handling this case.
6.10982 - esac
6.10983 - else
6.10984 - if test -z "$postdeps_CXX"; then
6.10985 - postdeps_CXX="${prev}${p}"
6.10986 - else
6.10987 - postdeps_CXX="${postdeps_CXX} ${prev}${p}"
6.10988 - fi
6.10989 - fi
6.10990 - ;;
6.10991 -
6.10992 - *.$objext)
6.10993 - # This assumes that the test object file only shows up
6.10994 - # once in the compiler output.
6.10995 - if test "$p" = "conftest.$objext"; then
6.10996 - pre_test_object_deps_done=yes
6.10997 - continue
6.10998 - fi
6.10999 -
6.11000 - if test "$pre_test_object_deps_done" = no; then
6.11001 - if test -z "$predep_objects_CXX"; then
6.11002 - predep_objects_CXX="$p"
6.11003 - else
6.11004 - predep_objects_CXX="$predep_objects_CXX $p"
6.11005 - fi
6.11006 - else
6.11007 - if test -z "$postdep_objects_CXX"; then
6.11008 - postdep_objects_CXX="$p"
6.11009 - else
6.11010 - postdep_objects_CXX="$postdep_objects_CXX $p"
6.11011 - fi
6.11012 - fi
6.11013 - ;;
6.11014 -
6.11015 - *) ;; # Ignore the rest.
6.11016 -
6.11017 - esac
6.11018 - done
6.11019 -
6.11020 - # Clean up.
6.11021 - rm -f a.out a.exe
6.11022 -else
6.11023 - echo "libtool.m4: error: problem compiling CXX test program"
6.11024 -fi
6.11025 -
6.11026 -$rm -f confest.$objext
6.11027 -
6.11028 -# PORTME: override above test on systems where it is broken
6.11029 -case $host_os in
6.11030 -solaris*)
6.11031 - case $cc_basename in
6.11032 - CC*)
6.11033 - # Adding this requires a known-good setup of shared libraries for
6.11034 - # Sun compiler versions before 5.6, else PIC objects from an old
6.11035 - # archive will be linked into the output, leading to subtle bugs.
6.11036 - postdeps_CXX='-lCstd -lCrun'
6.11037 - ;;
6.11038 - esac
6.11039 -esac
6.11040 -
6.11041 -
6.11042 -case " $postdeps_CXX " in
6.11043 -*" -lc "*) archive_cmds_need_lc_CXX=no ;;
6.11044 -esac
6.11045 -
6.11046 -lt_prog_compiler_wl_CXX=
6.11047 -lt_prog_compiler_pic_CXX=
6.11048 -lt_prog_compiler_static_CXX=
6.11049 -
6.11050 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6.11051 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6.11052 -
6.11053 - # C++ specific cases for pic, static, wl, etc.
6.11054 - if test "$GXX" = yes; then
6.11055 - lt_prog_compiler_wl_CXX='-Wl,'
6.11056 - lt_prog_compiler_static_CXX='-static'
6.11057 -
6.11058 - case $host_os in
6.11059 - aix*)
6.11060 - # All AIX code is PIC.
6.11061 - if test "$host_cpu" = ia64; then
6.11062 - # AIX 5 now supports IA64 processor
6.11063 - lt_prog_compiler_static_CXX='-Bstatic'
6.11064 - fi
6.11065 - ;;
6.11066 - amigaos*)
6.11067 - # FIXME: we need at least 68020 code to build shared libraries, but
6.11068 - # adding the `-m68020' flag to GCC prevents building anything better,
6.11069 - # like `-m68040'.
6.11070 - lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
6.11071 - ;;
6.11072 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6.11073 - # PIC is the default for these OSes.
6.11074 - ;;
6.11075 - mingw* | os2* | pw32*)
6.11076 - # This hack is so that the source file can tell whether it is being
6.11077 - # built for inclusion in a dll (and should export symbols for example).
6.11078 - lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
6.11079 - ;;
6.11080 - darwin* | rhapsody*)
6.11081 - # PIC is the default on this platform
6.11082 - # Common symbols not allowed in MH_DYLIB files
6.11083 - lt_prog_compiler_pic_CXX='-fno-common'
6.11084 - ;;
6.11085 - *djgpp*)
6.11086 - # DJGPP does not support shared libraries at all
6.11087 - lt_prog_compiler_pic_CXX=
6.11088 - ;;
6.11089 - sysv4*MP*)
6.11090 - if test -d /usr/nec; then
6.11091 - lt_prog_compiler_pic_CXX=-Kconform_pic
6.11092 - fi
6.11093 - ;;
6.11094 - hpux*)
6.11095 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6.11096 - # not for PA HP-UX.
6.11097 - case $host_cpu in
6.11098 - hppa*64*|ia64*)
6.11099 - ;;
6.11100 - *)
6.11101 - lt_prog_compiler_pic_CXX='-fPIC'
6.11102 - ;;
6.11103 - esac
6.11104 - ;;
6.11105 - *)
6.11106 - lt_prog_compiler_pic_CXX='-fPIC'
6.11107 - ;;
6.11108 - esac
6.11109 - else
6.11110 - case $host_os in
6.11111 - aix4* | aix5*)
6.11112 - # All AIX code is PIC.
6.11113 - if test "$host_cpu" = ia64; then
6.11114 - # AIX 5 now supports IA64 processor
6.11115 - lt_prog_compiler_static_CXX='-Bstatic'
6.11116 - else
6.11117 - lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
6.11118 - fi
6.11119 - ;;
6.11120 - chorus*)
6.11121 - case $cc_basename in
6.11122 - cxch68*)
6.11123 - # Green Hills C++ Compiler
6.11124 - # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--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"
6.11125 - ;;
6.11126 - esac
6.11127 - ;;
6.11128 - darwin*)
6.11129 - # PIC is the default on this platform
6.11130 - # Common symbols not allowed in MH_DYLIB files
6.11131 - case $cc_basename in
6.11132 - xlc*)
6.11133 - lt_prog_compiler_pic_CXX='-qnocommon'
6.11134 - lt_prog_compiler_wl_CXX='-Wl,'
6.11135 - ;;
6.11136 - esac
6.11137 - ;;
6.11138 - dgux*)
6.11139 - case $cc_basename in
6.11140 - ec++*)
6.11141 - lt_prog_compiler_pic_CXX='-KPIC'
6.11142 - ;;
6.11143 - ghcx*)
6.11144 - # Green Hills C++ Compiler
6.11145 - lt_prog_compiler_pic_CXX='-pic'
6.11146 - ;;
6.11147 - *)
6.11148 - ;;
6.11149 - esac
6.11150 - ;;
6.11151 - freebsd* | kfreebsd*-gnu | dragonfly*)
6.11152 - # FreeBSD uses GNU C++
6.11153 - ;;
6.11154 - hpux9* | hpux10* | hpux11*)
6.11155 - case $cc_basename in
6.11156 - CC*)
6.11157 - lt_prog_compiler_wl_CXX='-Wl,'
6.11158 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
6.11159 - if test "$host_cpu" != ia64; then
6.11160 - lt_prog_compiler_pic_CXX='+Z'
6.11161 - fi
6.11162 - ;;
6.11163 - aCC*)
6.11164 - lt_prog_compiler_wl_CXX='-Wl,'
6.11165 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
6.11166 - case $host_cpu in
6.11167 - hppa*64*|ia64*)
6.11168 - # +Z the default
6.11169 - ;;
6.11170 - *)
6.11171 - lt_prog_compiler_pic_CXX='+Z'
6.11172 - ;;
6.11173 - esac
6.11174 - ;;
6.11175 - *)
6.11176 - ;;
6.11177 - esac
6.11178 - ;;
6.11179 - irix5* | irix6* | nonstopux*)
6.11180 - case $cc_basename in
6.11181 - CC*)
6.11182 - lt_prog_compiler_wl_CXX='-Wl,'
6.11183 - lt_prog_compiler_static_CXX='-non_shared'
6.11184 - # CC pic flag -KPIC is the default.
6.11185 - ;;
6.11186 - *)
6.11187 - ;;
6.11188 - esac
6.11189 - ;;
6.11190 - linux*)
6.11191 - case $cc_basename in
6.11192 - KCC*)
6.11193 - # KAI C++ Compiler
6.11194 - lt_prog_compiler_wl_CXX='--backend -Wl,'
6.11195 - lt_prog_compiler_pic_CXX='-fPIC'
6.11196 - ;;
6.11197 - icpc* | ecpc*)
6.11198 - # Intel C++
6.11199 - lt_prog_compiler_wl_CXX='-Wl,'
6.11200 - lt_prog_compiler_pic_CXX='-KPIC'
6.11201 - lt_prog_compiler_static_CXX='-static'
6.11202 - ;;
6.11203 - pgCC*)
6.11204 - # Portland Group C++ compiler.
6.11205 - lt_prog_compiler_wl_CXX='-Wl,'
6.11206 - lt_prog_compiler_pic_CXX='-fpic'
6.11207 - lt_prog_compiler_static_CXX='-Bstatic'
6.11208 - ;;
6.11209 - cxx*)
6.11210 - # Compaq C++
6.11211 - # Make sure the PIC flag is empty. It appears that all Alpha
6.11212 - # Linux and Compaq Tru64 Unix objects are PIC.
6.11213 - lt_prog_compiler_pic_CXX=
6.11214 - lt_prog_compiler_static_CXX='-non_shared'
6.11215 - ;;
6.11216 - *)
6.11217 - ;;
6.11218 - esac
6.11219 - ;;
6.11220 - lynxos*)
6.11221 - ;;
6.11222 - m88k*)
6.11223 - ;;
6.11224 - mvs*)
6.11225 - case $cc_basename in
6.11226 - cxx*)
6.11227 - lt_prog_compiler_pic_CXX='-W c,exportall'
6.11228 - ;;
6.11229 - *)
6.11230 - ;;
6.11231 - esac
6.11232 - ;;
6.11233 - netbsd*)
6.11234 - ;;
6.11235 - osf3* | osf4* | osf5*)
6.11236 - case $cc_basename in
6.11237 - KCC*)
6.11238 - lt_prog_compiler_wl_CXX='--backend -Wl,'
6.11239 - ;;
6.11240 - RCC*)
6.11241 - # Rational C++ 2.4.1
6.11242 - lt_prog_compiler_pic_CXX='-pic'
6.11243 - ;;
6.11244 - cxx*)
6.11245 - # Digital/Compaq C++
6.11246 - lt_prog_compiler_wl_CXX='-Wl,'
6.11247 - # Make sure the PIC flag is empty. It appears that all Alpha
6.11248 - # Linux and Compaq Tru64 Unix objects are PIC.
6.11249 - lt_prog_compiler_pic_CXX=
6.11250 - lt_prog_compiler_static_CXX='-non_shared'
6.11251 - ;;
6.11252 - *)
6.11253 - ;;
6.11254 - esac
6.11255 - ;;
6.11256 - psos*)
6.11257 - ;;
6.11258 - sco*)
6.11259 - case $cc_basename in
6.11260 - CC*)
6.11261 - lt_prog_compiler_pic_CXX='-fPIC'
6.11262 - ;;
6.11263 - *)
6.11264 - ;;
6.11265 - esac
6.11266 - ;;
6.11267 - solaris*)
6.11268 - case $cc_basename in
6.11269 - CC*)
6.11270 - # Sun C++ 4.2, 5.x and Centerline C++
6.11271 - lt_prog_compiler_pic_CXX='-KPIC'
6.11272 - lt_prog_compiler_static_CXX='-Bstatic'
6.11273 - lt_prog_compiler_wl_CXX='-Qoption ld '
6.11274 - ;;
6.11275 - gcx*)
6.11276 - # Green Hills C++ Compiler
6.11277 - lt_prog_compiler_pic_CXX='-PIC'
6.11278 - ;;
6.11279 - *)
6.11280 - ;;
6.11281 - esac
6.11282 - ;;
6.11283 - sunos4*)
6.11284 - case $cc_basename in
6.11285 - CC*)
6.11286 - # Sun C++ 4.x
6.11287 - lt_prog_compiler_pic_CXX='-pic'
6.11288 - lt_prog_compiler_static_CXX='-Bstatic'
6.11289 - ;;
6.11290 - lcc*)
6.11291 - # Lucid
6.11292 - lt_prog_compiler_pic_CXX='-pic'
6.11293 - ;;
6.11294 - *)
6.11295 - ;;
6.11296 - esac
6.11297 - ;;
6.11298 - tandem*)
6.11299 - case $cc_basename in
6.11300 - NCC*)
6.11301 - # NonStop-UX NCC 3.20
6.11302 - lt_prog_compiler_pic_CXX='-KPIC'
6.11303 - ;;
6.11304 - *)
6.11305 - ;;
6.11306 - esac
6.11307 - ;;
6.11308 - unixware*)
6.11309 - ;;
6.11310 - vxworks*)
6.11311 - ;;
6.11312 - *)
6.11313 - lt_prog_compiler_can_build_shared_CXX=no
6.11314 - ;;
6.11315 - esac
6.11316 - fi
6.11317 -
6.11318 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
6.11319 -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
6.11320 -
6.11321 -#
6.11322 -# Check to make sure the PIC flag actually works.
6.11323 -#
6.11324 -if test -n "$lt_prog_compiler_pic_CXX"; then
6.11325 -
6.11326 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
6.11327 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
6.11328 -if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
6.11329 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.11330 -else
6.11331 - lt_prog_compiler_pic_works_CXX=no
6.11332 - ac_outfile=conftest.$ac_objext
6.11333 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.11334 - lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
6.11335 - # Insert the option either (1) after the last *FLAGS variable, or
6.11336 - # (2) before a word containing "conftest.", or (3) at the end.
6.11337 - # Note that $ac_compile itself does not contain backslashes and begins
6.11338 - # with a dollar sign (not a hyphen), so the echo should work correctly.
6.11339 - # The option is referenced via a variable to avoid confusing sed.
6.11340 - lt_compile=`echo "$ac_compile" | $SED \
6.11341 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.11342 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.11343 - -e 's:$: $lt_compiler_flag:'`
6.11344 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.11345 - (eval "$lt_compile" 2>conftest.err)
6.11346 - ac_status=$?
6.11347 - cat conftest.err >&5
6.11348 - echo "$as_me:__oline__: \$? = $ac_status" >&5
6.11349 - if (exit $ac_status) && test -s "$ac_outfile"; then
6.11350 - # The compiler can only warn and ignore the option if not recognized
6.11351 - # So say no if there are warnings other than the usual output.
6.11352 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6.11353 - $SED '/^$/d' conftest.err >conftest.er2
6.11354 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6.11355 - lt_prog_compiler_pic_works_CXX=yes
6.11356 - fi
6.11357 - fi
6.11358 - $rm conftest*
6.11359 -
6.11360 -fi
6.11361 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
6.11362 -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
6.11363 -
6.11364 -if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
6.11365 - case $lt_prog_compiler_pic_CXX in
6.11366 - "" | " "*) ;;
6.11367 - *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
6.11368 - esac
6.11369 -else
6.11370 - lt_prog_compiler_pic_CXX=
6.11371 - lt_prog_compiler_can_build_shared_CXX=no
6.11372 -fi
6.11373 -
6.11374 -fi
6.11375 -case $host_os in
6.11376 - # For platforms which do not support PIC, -DPIC is meaningless:
6.11377 - *djgpp*)
6.11378 - lt_prog_compiler_pic_CXX=
6.11379 - ;;
6.11380 - *)
6.11381 - lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
6.11382 - ;;
6.11383 -esac
6.11384 -
6.11385 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6.11386 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6.11387 -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
6.11388 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.11389 -else
6.11390 - lt_cv_prog_compiler_c_o_CXX=no
6.11391 - $rm -r conftest 2>/dev/null
6.11392 - mkdir conftest
6.11393 - cd conftest
6.11394 - mkdir out
6.11395 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.11396 -
6.11397 - lt_compiler_flag="-o out/conftest2.$ac_objext"
6.11398 - # Insert the option either (1) after the last *FLAGS variable, or
6.11399 - # (2) before a word containing "conftest.", or (3) at the end.
6.11400 - # Note that $ac_compile itself does not contain backslashes and begins
6.11401 - # with a dollar sign (not a hyphen), so the echo should work correctly.
6.11402 - lt_compile=`echo "$ac_compile" | $SED \
6.11403 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.11404 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.11405 - -e 's:$: $lt_compiler_flag:'`
6.11406 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.11407 - (eval "$lt_compile" 2>out/conftest.err)
6.11408 - ac_status=$?
6.11409 - cat out/conftest.err >&5
6.11410 - echo "$as_me:__oline__: \$? = $ac_status" >&5
6.11411 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
6.11412 - then
6.11413 - # The compiler can only warn and ignore the option if not recognized
6.11414 - # So say no if there are warnings
6.11415 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
6.11416 - $SED '/^$/d' out/conftest.err >out/conftest.er2
6.11417 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6.11418 - lt_cv_prog_compiler_c_o_CXX=yes
6.11419 - fi
6.11420 - fi
6.11421 - chmod u+w . 2>&5
6.11422 - $rm conftest*
6.11423 - # SGI C++ compiler will create directory out/ii_files/ for
6.11424 - # template instantiation
6.11425 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
6.11426 - $rm out/* && rmdir out
6.11427 - cd ..
6.11428 - rmdir conftest
6.11429 - $rm conftest*
6.11430 -
6.11431 -fi
6.11432 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
6.11433 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
6.11434 -
6.11435 -
6.11436 -hard_links="nottested"
6.11437 -if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
6.11438 - # do not overwrite the value of need_locks provided by the user
6.11439 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6.11440 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6.11441 - hard_links=yes
6.11442 - $rm conftest*
6.11443 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
6.11444 - touch conftest.a
6.11445 - ln conftest.a conftest.b 2>&5 || hard_links=no
6.11446 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
6.11447 - echo "$as_me:$LINENO: result: $hard_links" >&5
6.11448 -echo "${ECHO_T}$hard_links" >&6
6.11449 - if test "$hard_links" = no; then
6.11450 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6.11451 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6.11452 - need_locks=warn
6.11453 - fi
6.11454 -else
6.11455 - need_locks=no
6.11456 -fi
6.11457 -
6.11458 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6.11459 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6.11460 -
6.11461 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6.11462 - case $host_os in
6.11463 - aix4* | aix5*)
6.11464 - # If we're using GNU nm, then we don't want the "-C" option.
6.11465 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
6.11466 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6.11467 - export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
6.11468 - else
6.11469 - export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
6.11470 - fi
6.11471 - ;;
6.11472 - pw32*)
6.11473 - export_symbols_cmds_CXX="$ltdll_cmds"
6.11474 - ;;
6.11475 - cygwin* | mingw*)
6.11476 - export_symbols_cmds_CXX='$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'
6.11477 - ;;
6.11478 - *)
6.11479 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6.11480 - ;;
6.11481 - esac
6.11482 -
6.11483 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
6.11484 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
6.11485 -test "$ld_shlibs_CXX" = no && can_build_shared=no
6.11486 -
6.11487 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6.11488 -if test "$GCC" = yes; then
6.11489 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6.11490 -fi
6.11491 -
6.11492 -#
6.11493 -# Do we need to explicitly link libc?
6.11494 -#
6.11495 -case "x$archive_cmds_need_lc_CXX" in
6.11496 -x|xyes)
6.11497 - # Assume -lc should be added
6.11498 - archive_cmds_need_lc_CXX=yes
6.11499 -
6.11500 - if test "$enable_shared" = yes && test "$GCC" = yes; then
6.11501 - case $archive_cmds_CXX in
6.11502 - *'~'*)
6.11503 - # FIXME: we may have to deal with multi-command sequences.
6.11504 - ;;
6.11505 - '$CC '*)
6.11506 - # Test whether the compiler implicitly links with -lc since on some
6.11507 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
6.11508 - # to ld, don't add -lc before -lgcc.
6.11509 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
6.11510 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
6.11511 - $rm conftest*
6.11512 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.11513 -
6.11514 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.11515 - (eval $ac_compile) 2>&5
6.11516 - ac_status=$?
6.11517 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.11518 - (exit $ac_status); } 2>conftest.err; then
6.11519 - soname=conftest
6.11520 - lib=conftest
6.11521 - libobjs=conftest.$ac_objext
6.11522 - deplibs=
6.11523 - wl=$lt_prog_compiler_wl_CXX
6.11524 - compiler_flags=-v
6.11525 - linker_flags=-v
6.11526 - verstring=
6.11527 - output_objdir=.
6.11528 - libname=conftest
6.11529 - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
6.11530 - allow_undefined_flag_CXX=
6.11531 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
6.11532 - (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
6.11533 - ac_status=$?
6.11534 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.11535 - (exit $ac_status); }
6.11536 - then
6.11537 - archive_cmds_need_lc_CXX=no
6.11538 - else
6.11539 - archive_cmds_need_lc_CXX=yes
6.11540 - fi
6.11541 - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
6.11542 - else
6.11543 - cat conftest.err 1>&5
6.11544 - fi
6.11545 - $rm conftest*
6.11546 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
6.11547 -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
6.11548 - ;;
6.11549 - esac
6.11550 - fi
6.11551 - ;;
6.11552 -esac
6.11553 -
6.11554 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6.11555 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6.11556 -library_names_spec=
6.11557 -libname_spec='lib$name'
6.11558 -soname_spec=
6.11559 -shrext_cmds=".so"
6.11560 -postinstall_cmds=
6.11561 -postuninstall_cmds=
6.11562 -finish_cmds=
6.11563 -finish_eval=
6.11564 -shlibpath_var=
6.11565 -shlibpath_overrides_runpath=unknown
6.11566 -version_type=none
6.11567 -dynamic_linker="$host_os ld.so"
6.11568 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
6.11569 -if test "$GCC" = yes; then
6.11570 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6.11571 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
6.11572 - # if the path contains ";" then we assume it to be the separator
6.11573 - # otherwise default to the standard path separator (i.e. ":") - it is
6.11574 - # assumed that no part of a normal pathname contains ";" but that should
6.11575 - # okay in the real world where ";" in dirpaths is itself problematic.
6.11576 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6.11577 - else
6.11578 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6.11579 - fi
6.11580 -else
6.11581 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
6.11582 -fi
6.11583 -need_lib_prefix=unknown
6.11584 -hardcode_into_libs=no
6.11585 -
6.11586 -# when you set need_version to no, make sure it does not cause -set_version
6.11587 -# flags to be left without arguments
6.11588 -need_version=unknown
6.11589 -
6.11590 -case $host_os in
6.11591 -aix3*)
6.11592 - version_type=linux
6.11593 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
6.11594 - shlibpath_var=LIBPATH
6.11595 -
6.11596 - # AIX 3 has no versioning support, so we append a major version to the name.
6.11597 - soname_spec='${libname}${release}${shared_ext}$major'
6.11598 - ;;
6.11599 -
6.11600 -aix4* | aix5*)
6.11601 - version_type=linux
6.11602 - need_lib_prefix=no
6.11603 - need_version=no
6.11604 - hardcode_into_libs=yes
6.11605 - if test "$host_cpu" = ia64; then
6.11606 - # AIX 5 supports IA64
6.11607 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6.11608 - shlibpath_var=LD_LIBRARY_PATH
6.11609 - else
6.11610 - # With GCC up to 2.95.x, collect2 would create an import file
6.11611 - # for dependence libraries. The import file would start with
6.11612 - # the line `#! .'. This would cause the generated library to
6.11613 - # depend on `.', always an invalid library. This was fixed in
6.11614 - # development snapshots of GCC prior to 3.0.
6.11615 - case $host_os in
6.11616 - aix4 | aix4.[01] | aix4.[01].*)
6.11617 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6.11618 - echo ' yes '
6.11619 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
6.11620 - :
6.11621 - else
6.11622 - can_build_shared=no
6.11623 - fi
6.11624 - ;;
6.11625 - esac
6.11626 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6.11627 - # soname into executable. Probably we can add versioning support to
6.11628 - # collect2, so additional links can be useful in future.
6.11629 - if test "$aix_use_runtimelinking" = yes; then
6.11630 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6.11631 - # instead of lib<name>.a to let people know that these are not
6.11632 - # typical AIX shared libraries.
6.11633 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.11634 - else
6.11635 - # We preserve .a as extension for shared libraries through AIX4.2
6.11636 - # and later when we are not doing run time linking.
6.11637 - library_names_spec='${libname}${release}.a $libname.a'
6.11638 - soname_spec='${libname}${release}${shared_ext}$major'
6.11639 - fi
6.11640 - shlibpath_var=LIBPATH
6.11641 - fi
6.11642 - ;;
6.11643 -
6.11644 -amigaos*)
6.11645 - library_names_spec='$libname.ixlibrary $libname.a'
6.11646 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
6.11647 - 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'
6.11648 - ;;
6.11649 -
6.11650 -beos*)
6.11651 - library_names_spec='${libname}${shared_ext}'
6.11652 - dynamic_linker="$host_os ld.so"
6.11653 - shlibpath_var=LIBRARY_PATH
6.11654 - ;;
6.11655 -
6.11656 -bsdi[45]*)
6.11657 - version_type=linux
6.11658 - need_version=no
6.11659 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.11660 - soname_spec='${libname}${release}${shared_ext}$major'
6.11661 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
6.11662 - shlibpath_var=LD_LIBRARY_PATH
6.11663 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6.11664 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
6.11665 - # the default ld.so.conf also contains /usr/contrib/lib and
6.11666 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6.11667 - # libtool to hard-code these into programs
6.11668 - ;;
6.11669 -
6.11670 -cygwin* | mingw* | pw32*)
6.11671 - version_type=windows
6.11672 - shrext_cmds=".dll"
6.11673 - need_version=no
6.11674 - need_lib_prefix=no
6.11675 -
6.11676 - case $GCC,$host_os in
6.11677 - yes,cygwin* | yes,mingw* | yes,pw32*)
6.11678 - library_names_spec='$libname.dll.a'
6.11679 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
6.11680 - postinstall_cmds='base_file=`basename \${file}`~
6.11681 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
6.11682 - dldir=$destdir/`dirname \$dlpath`~
6.11683 - test -d \$dldir || mkdir -p \$dldir~
6.11684 - $install_prog $dir/$dlname \$dldir/$dlname~
6.11685 - chmod a+x \$dldir/$dlname'
6.11686 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6.11687 - dlpath=$dir/\$dldll~
6.11688 - $rm \$dlpath'
6.11689 - shlibpath_overrides_runpath=yes
6.11690 -
6.11691 - case $host_os in
6.11692 - cygwin*)
6.11693 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6.11694 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.11695 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
6.11696 - ;;
6.11697 - mingw*)
6.11698 - # MinGW DLLs use traditional 'lib' prefix
6.11699 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.11700 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6.11701 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
6.11702 - # It is most probably a Windows format PATH printed by
6.11703 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
6.11704 - # path with ; separators, and with drive letters. We can handle the
6.11705 - # drive letters (cygwin fileutils understands them), so leave them,
6.11706 - # especially as we might pass files found there to a mingw objdump,
6.11707 - # which wouldn't understand a cygwinified path. Ahh.
6.11708 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6.11709 - else
6.11710 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6.11711 - fi
6.11712 - ;;
6.11713 - pw32*)
6.11714 - # pw32 DLLs use 'pw' prefix rather than 'lib'
6.11715 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.11716 - ;;
6.11717 - esac
6.11718 - ;;
6.11719 -
6.11720 - *)
6.11721 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
6.11722 - ;;
6.11723 - esac
6.11724 - dynamic_linker='Win32 ld.exe'
6.11725 - # FIXME: first we should search . and the directory the executable is in
6.11726 - shlibpath_var=PATH
6.11727 - ;;
6.11728 -
6.11729 -darwin* | rhapsody*)
6.11730 - dynamic_linker="$host_os dyld"
6.11731 - version_type=darwin
6.11732 - need_lib_prefix=no
6.11733 - need_version=no
6.11734 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6.11735 - soname_spec='${libname}${release}${major}$shared_ext'
6.11736 - shlibpath_overrides_runpath=yes
6.11737 - shlibpath_var=DYLD_LIBRARY_PATH
6.11738 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
6.11739 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6.11740 - if test "$GCC" = yes; then
6.11741 - 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"`
6.11742 - else
6.11743 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
6.11744 - fi
6.11745 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
6.11746 - ;;
6.11747 -
6.11748 -dgux*)
6.11749 - version_type=linux
6.11750 - need_lib_prefix=no
6.11751 - need_version=no
6.11752 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6.11753 - soname_spec='${libname}${release}${shared_ext}$major'
6.11754 - shlibpath_var=LD_LIBRARY_PATH
6.11755 - ;;
6.11756 -
6.11757 -freebsd1*)
6.11758 - dynamic_linker=no
6.11759 - ;;
6.11760 -
6.11761 -kfreebsd*-gnu)
6.11762 - version_type=linux
6.11763 - need_lib_prefix=no
6.11764 - need_version=no
6.11765 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.11766 - soname_spec='${libname}${release}${shared_ext}$major'
6.11767 - shlibpath_var=LD_LIBRARY_PATH
6.11768 - shlibpath_overrides_runpath=no
6.11769 - hardcode_into_libs=yes
6.11770 - dynamic_linker='GNU ld.so'
6.11771 - ;;
6.11772 -
6.11773 -freebsd* | dragonfly*)
6.11774 - # DragonFly does not have aout. When/if they implement a new
6.11775 - # versioning mechanism, adjust this.
6.11776 - if test -x /usr/bin/objformat; then
6.11777 - objformat=`/usr/bin/objformat`
6.11778 - else
6.11779 - case $host_os in
6.11780 - freebsd[123]*) objformat=aout ;;
6.11781 - *) objformat=elf ;;
6.11782 - esac
6.11783 - fi
6.11784 - version_type=freebsd-$objformat
6.11785 - case $version_type in
6.11786 - freebsd-elf*)
6.11787 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6.11788 - need_version=no
6.11789 - need_lib_prefix=no
6.11790 - ;;
6.11791 - freebsd-*)
6.11792 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6.11793 - need_version=yes
6.11794 - ;;
6.11795 - esac
6.11796 - shlibpath_var=LD_LIBRARY_PATH
6.11797 - case $host_os in
6.11798 - freebsd2*)
6.11799 - shlibpath_overrides_runpath=yes
6.11800 - ;;
6.11801 - freebsd3.[01]* | freebsdelf3.[01]*)
6.11802 - shlibpath_overrides_runpath=yes
6.11803 - hardcode_into_libs=yes
6.11804 - ;;
6.11805 - *) # from 3.2 on
6.11806 - shlibpath_overrides_runpath=no
6.11807 - hardcode_into_libs=yes
6.11808 - ;;
6.11809 - esac
6.11810 - ;;
6.11811 -
6.11812 -gnu*)
6.11813 - version_type=linux
6.11814 - need_lib_prefix=no
6.11815 - need_version=no
6.11816 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6.11817 - soname_spec='${libname}${release}${shared_ext}$major'
6.11818 - shlibpath_var=LD_LIBRARY_PATH
6.11819 - hardcode_into_libs=yes
6.11820 - ;;
6.11821 -
6.11822 -hpux9* | hpux10* | hpux11*)
6.11823 - # Give a soname corresponding to the major version so that dld.sl refuses to
6.11824 - # link against other versions.
6.11825 - version_type=sunos
6.11826 - need_lib_prefix=no
6.11827 - need_version=no
6.11828 - case $host_cpu in
6.11829 - ia64*)
6.11830 - shrext_cmds='.so'
6.11831 - hardcode_into_libs=yes
6.11832 - dynamic_linker="$host_os dld.so"
6.11833 - shlibpath_var=LD_LIBRARY_PATH
6.11834 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6.11835 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.11836 - soname_spec='${libname}${release}${shared_ext}$major'
6.11837 - if test "X$HPUX_IA64_MODE" = X32; then
6.11838 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6.11839 - else
6.11840 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
6.11841 - fi
6.11842 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6.11843 - ;;
6.11844 - hppa*64*)
6.11845 - shrext_cmds='.sl'
6.11846 - hardcode_into_libs=yes
6.11847 - dynamic_linker="$host_os dld.sl"
6.11848 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
6.11849 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6.11850 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.11851 - soname_spec='${libname}${release}${shared_ext}$major'
6.11852 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6.11853 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6.11854 - ;;
6.11855 - *)
6.11856 - shrext_cmds='.sl'
6.11857 - dynamic_linker="$host_os dld.sl"
6.11858 - shlibpath_var=SHLIB_PATH
6.11859 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6.11860 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.11861 - soname_spec='${libname}${release}${shared_ext}$major'
6.11862 - ;;
6.11863 - esac
6.11864 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
6.11865 - postinstall_cmds='chmod 555 $lib'
6.11866 - ;;
6.11867 -
6.11868 -irix5* | irix6* | nonstopux*)
6.11869 - case $host_os in
6.11870 - nonstopux*) version_type=nonstopux ;;
6.11871 - *)
6.11872 - if test "$lt_cv_prog_gnu_ld" = yes; then
6.11873 - version_type=linux
6.11874 - else
6.11875 - version_type=irix
6.11876 - fi ;;
6.11877 - esac
6.11878 - need_lib_prefix=no
6.11879 - need_version=no
6.11880 - soname_spec='${libname}${release}${shared_ext}$major'
6.11881 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6.11882 - case $host_os in
6.11883 - irix5* | nonstopux*)
6.11884 - libsuff= shlibsuff=
6.11885 - ;;
6.11886 - *)
6.11887 - case $LD in # libtool.m4 will add one of these switches to LD
6.11888 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
6.11889 - libsuff= shlibsuff= libmagic=32-bit;;
6.11890 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
6.11891 - libsuff=32 shlibsuff=N32 libmagic=N32;;
6.11892 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
6.11893 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
6.11894 - *) libsuff= shlibsuff= libmagic=never-match;;
6.11895 - esac
6.11896 - ;;
6.11897 - esac
6.11898 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
6.11899 - shlibpath_overrides_runpath=no
6.11900 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6.11901 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
6.11902 - hardcode_into_libs=yes
6.11903 - ;;
6.11904 -
6.11905 -# No shared lib support for Linux oldld, aout, or coff.
6.11906 -linux*oldld* | linux*aout* | linux*coff*)
6.11907 - dynamic_linker=no
6.11908 - ;;
6.11909 -
6.11910 -# This must be Linux ELF.
6.11911 -linux*)
6.11912 - version_type=linux
6.11913 - need_lib_prefix=no
6.11914 - need_version=no
6.11915 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.11916 - soname_spec='${libname}${release}${shared_ext}$major'
6.11917 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6.11918 - shlibpath_var=LD_LIBRARY_PATH
6.11919 - shlibpath_overrides_runpath=no
6.11920 - # This implies no fast_install, which is unacceptable.
6.11921 - # Some rework will be needed to allow for fast_install
6.11922 - # before this can be enabled.
6.11923 - hardcode_into_libs=yes
6.11924 -
6.11925 - # Append ld.so.conf contents to the search path
6.11926 - if test -f /etc/ld.so.conf; then
6.11927 - 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' ' '`
6.11928 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
6.11929 - fi
6.11930 -
6.11931 - # We used to test for /lib/ld.so.1 and disable shared libraries on
6.11932 - # powerpc, because MkLinux only supported shared libraries with the
6.11933 - # GNU dynamic linker. Since this was broken with cross compilers,
6.11934 - # most powerpc-linux boxes support dynamic linking these days and
6.11935 - # people can always --disable-shared, the test was removed, and we
6.11936 - # assume the GNU/Linux dynamic linker is in use.
6.11937 - dynamic_linker='GNU/Linux ld.so'
6.11938 - ;;
6.11939 -
6.11940 -knetbsd*-gnu)
6.11941 - version_type=linux
6.11942 - need_lib_prefix=no
6.11943 - need_version=no
6.11944 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.11945 - soname_spec='${libname}${release}${shared_ext}$major'
6.11946 - shlibpath_var=LD_LIBRARY_PATH
6.11947 - shlibpath_overrides_runpath=no
6.11948 - hardcode_into_libs=yes
6.11949 - dynamic_linker='GNU ld.so'
6.11950 - ;;
6.11951 -
6.11952 -netbsd*)
6.11953 - version_type=sunos
6.11954 - need_lib_prefix=no
6.11955 - need_version=no
6.11956 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.11957 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.11958 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6.11959 - dynamic_linker='NetBSD (a.out) ld.so'
6.11960 - else
6.11961 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.11962 - soname_spec='${libname}${release}${shared_ext}$major'
6.11963 - dynamic_linker='NetBSD ld.elf_so'
6.11964 - fi
6.11965 - shlibpath_var=LD_LIBRARY_PATH
6.11966 - shlibpath_overrides_runpath=yes
6.11967 - hardcode_into_libs=yes
6.11968 - ;;
6.11969 -
6.11970 -newsos6)
6.11971 - version_type=linux
6.11972 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.11973 - shlibpath_var=LD_LIBRARY_PATH
6.11974 - shlibpath_overrides_runpath=yes
6.11975 - ;;
6.11976 -
6.11977 -nto-qnx*)
6.11978 - version_type=linux
6.11979 - need_lib_prefix=no
6.11980 - need_version=no
6.11981 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.11982 - soname_spec='${libname}${release}${shared_ext}$major'
6.11983 - shlibpath_var=LD_LIBRARY_PATH
6.11984 - shlibpath_overrides_runpath=yes
6.11985 - ;;
6.11986 -
6.11987 -openbsd*)
6.11988 - version_type=sunos
6.11989 - need_lib_prefix=no
6.11990 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
6.11991 - case $host_os in
6.11992 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
6.11993 - *) need_version=no ;;
6.11994 - esac
6.11995 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.11996 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6.11997 - shlibpath_var=LD_LIBRARY_PATH
6.11998 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.11999 - case $host_os in
6.12000 - openbsd2.[89] | openbsd2.[89].*)
6.12001 - shlibpath_overrides_runpath=no
6.12002 - ;;
6.12003 - *)
6.12004 - shlibpath_overrides_runpath=yes
6.12005 - ;;
6.12006 - esac
6.12007 - else
6.12008 - shlibpath_overrides_runpath=yes
6.12009 - fi
6.12010 - ;;
6.12011 -
6.12012 -os2*)
6.12013 - libname_spec='$name'
6.12014 - shrext_cmds=".dll"
6.12015 - need_lib_prefix=no
6.12016 - library_names_spec='$libname${shared_ext} $libname.a'
6.12017 - dynamic_linker='OS/2 ld.exe'
6.12018 - shlibpath_var=LIBPATH
6.12019 - ;;
6.12020 -
6.12021 -osf3* | osf4* | osf5*)
6.12022 - version_type=osf
6.12023 - need_lib_prefix=no
6.12024 - need_version=no
6.12025 - soname_spec='${libname}${release}${shared_ext}$major'
6.12026 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.12027 - shlibpath_var=LD_LIBRARY_PATH
6.12028 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6.12029 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
6.12030 - ;;
6.12031 -
6.12032 -sco3.2v5*)
6.12033 - version_type=osf
6.12034 - soname_spec='${libname}${release}${shared_ext}$major'
6.12035 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.12036 - shlibpath_var=LD_LIBRARY_PATH
6.12037 - ;;
6.12038 -
6.12039 -solaris*)
6.12040 - version_type=linux
6.12041 - need_lib_prefix=no
6.12042 - need_version=no
6.12043 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.12044 - soname_spec='${libname}${release}${shared_ext}$major'
6.12045 - shlibpath_var=LD_LIBRARY_PATH
6.12046 - shlibpath_overrides_runpath=yes
6.12047 - hardcode_into_libs=yes
6.12048 - # ldd complains unless libraries are executable
6.12049 - postinstall_cmds='chmod +x $lib'
6.12050 - ;;
6.12051 -
6.12052 -sunos4*)
6.12053 - version_type=sunos
6.12054 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.12055 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6.12056 - shlibpath_var=LD_LIBRARY_PATH
6.12057 - shlibpath_overrides_runpath=yes
6.12058 - if test "$with_gnu_ld" = yes; then
6.12059 - need_lib_prefix=no
6.12060 - fi
6.12061 - need_version=yes
6.12062 - ;;
6.12063 -
6.12064 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6.12065 - version_type=linux
6.12066 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.12067 - soname_spec='${libname}${release}${shared_ext}$major'
6.12068 - shlibpath_var=LD_LIBRARY_PATH
6.12069 - case $host_vendor in
6.12070 - sni)
6.12071 - shlibpath_overrides_runpath=no
6.12072 - need_lib_prefix=no
6.12073 - export_dynamic_flag_spec='${wl}-Blargedynsym'
6.12074 - runpath_var=LD_RUN_PATH
6.12075 - ;;
6.12076 - siemens)
6.12077 - need_lib_prefix=no
6.12078 - ;;
6.12079 - motorola)
6.12080 - need_lib_prefix=no
6.12081 - need_version=no
6.12082 - shlibpath_overrides_runpath=no
6.12083 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
6.12084 - ;;
6.12085 - esac
6.12086 - ;;
6.12087 -
6.12088 -sysv4*MP*)
6.12089 - if test -d /usr/nec ;then
6.12090 - version_type=linux
6.12091 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
6.12092 - soname_spec='$libname${shared_ext}.$major'
6.12093 - shlibpath_var=LD_LIBRARY_PATH
6.12094 - fi
6.12095 - ;;
6.12096 -
6.12097 -uts4*)
6.12098 - version_type=linux
6.12099 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.12100 - soname_spec='${libname}${release}${shared_ext}$major'
6.12101 - shlibpath_var=LD_LIBRARY_PATH
6.12102 - ;;
6.12103 -
6.12104 -*)
6.12105 - dynamic_linker=no
6.12106 - ;;
6.12107 -esac
6.12108 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
6.12109 -echo "${ECHO_T}$dynamic_linker" >&6
6.12110 -test "$dynamic_linker" = no && can_build_shared=no
6.12111 -
6.12112 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6.12113 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6.12114 -hardcode_action_CXX=
6.12115 -if test -n "$hardcode_libdir_flag_spec_CXX" || \
6.12116 - test -n "$runpath_var_CXX" || \
6.12117 - test "X$hardcode_automatic_CXX" = "Xyes" ; then
6.12118 -
6.12119 - # We can hardcode non-existant directories.
6.12120 - if test "$hardcode_direct_CXX" != no &&
6.12121 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
6.12122 - # have to relink, otherwise we might link with an installed library
6.12123 - # when we should be linking with a yet-to-be-installed one
6.12124 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
6.12125 - test "$hardcode_minus_L_CXX" != no; then
6.12126 - # Linking always hardcodes the temporary library directory.
6.12127 - hardcode_action_CXX=relink
6.12128 - else
6.12129 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
6.12130 - hardcode_action_CXX=immediate
6.12131 - fi
6.12132 -else
6.12133 - # We cannot hardcode anything, or else we can only hardcode existing
6.12134 - # directories.
6.12135 - hardcode_action_CXX=unsupported
6.12136 -fi
6.12137 -echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
6.12138 -echo "${ECHO_T}$hardcode_action_CXX" >&6
6.12139 -
6.12140 -if test "$hardcode_action_CXX" = relink; then
6.12141 - # Fast installation is not supported
6.12142 - enable_fast_install=no
6.12143 -elif test "$shlibpath_overrides_runpath" = yes ||
6.12144 - test "$enable_shared" = no; then
6.12145 - # Fast installation is not necessary
6.12146 - enable_fast_install=needless
6.12147 -fi
6.12148 -
6.12149 -striplib=
6.12150 -old_striplib=
6.12151 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6.12152 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6.12153 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6.12154 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6.12155 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6.12156 - echo "$as_me:$LINENO: result: yes" >&5
6.12157 -echo "${ECHO_T}yes" >&6
6.12158 -else
6.12159 -# FIXME - insert some real tests, host_os isn't really good enough
6.12160 - case $host_os in
6.12161 - darwin*)
6.12162 - if test -n "$STRIP" ; then
6.12163 - striplib="$STRIP -x"
6.12164 - echo "$as_me:$LINENO: result: yes" >&5
6.12165 -echo "${ECHO_T}yes" >&6
6.12166 - else
6.12167 - echo "$as_me:$LINENO: result: no" >&5
6.12168 -echo "${ECHO_T}no" >&6
6.12169 -fi
6.12170 - ;;
6.12171 - *)
6.12172 - echo "$as_me:$LINENO: result: no" >&5
6.12173 -echo "${ECHO_T}no" >&6
6.12174 - ;;
6.12175 - esac
6.12176 -fi
6.12177 -
6.12178 -if test "x$enable_dlopen" != xyes; then
6.12179 - enable_dlopen=unknown
6.12180 - enable_dlopen_self=unknown
6.12181 - enable_dlopen_self_static=unknown
6.12182 -else
6.12183 - lt_cv_dlopen=no
6.12184 - lt_cv_dlopen_libs=
6.12185 -
6.12186 - case $host_os in
6.12187 - beos*)
6.12188 - lt_cv_dlopen="load_add_on"
6.12189 - lt_cv_dlopen_libs=
6.12190 - lt_cv_dlopen_self=yes
6.12191 - ;;
6.12192 -
6.12193 - mingw* | pw32*)
6.12194 - lt_cv_dlopen="LoadLibrary"
6.12195 - lt_cv_dlopen_libs=
6.12196 - ;;
6.12197 -
6.12198 - cygwin*)
6.12199 - lt_cv_dlopen="dlopen"
6.12200 - lt_cv_dlopen_libs=
6.12201 - ;;
6.12202 -
6.12203 - darwin*)
6.12204 - # if libdl is installed we need to link against it
6.12205 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6.12206 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6.12207 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6.12208 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.12209 -else
6.12210 - ac_check_lib_save_LIBS=$LIBS
6.12211 -LIBS="-ldl $LIBS"
6.12212 -cat >conftest.$ac_ext <<_ACEOF
6.12213 -/* confdefs.h. */
6.12214 -_ACEOF
6.12215 -cat confdefs.h >>conftest.$ac_ext
6.12216 -cat >>conftest.$ac_ext <<_ACEOF
6.12217 -/* end confdefs.h. */
6.12218 -
6.12219 -/* Override any gcc2 internal prototype to avoid an error. */
6.12220 -#ifdef __cplusplus
6.12221 -extern "C"
6.12222 -#endif
6.12223 -/* We use char because int might match the return type of a gcc2
6.12224 - builtin and then its argument prototype would still apply. */
6.12225 -char dlopen ();
6.12226 -int
6.12227 -main ()
6.12228 -{
6.12229 -dlopen ();
6.12230 - ;
6.12231 - return 0;
6.12232 -}
6.12233 -_ACEOF
6.12234 -rm -f conftest.$ac_objext conftest$ac_exeext
6.12235 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12236 - (eval $ac_link) 2>conftest.er1
6.12237 - ac_status=$?
6.12238 - grep -v '^ *+' conftest.er1 >conftest.err
6.12239 - rm -f conftest.er1
6.12240 - cat conftest.err >&5
6.12241 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12242 - (exit $ac_status); } &&
6.12243 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.12244 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12245 - (eval $ac_try) 2>&5
6.12246 - ac_status=$?
6.12247 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12248 - (exit $ac_status); }; } &&
6.12249 - { ac_try='test -s conftest$ac_exeext'
6.12250 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12251 - (eval $ac_try) 2>&5
6.12252 - ac_status=$?
6.12253 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12254 - (exit $ac_status); }; }; then
6.12255 - ac_cv_lib_dl_dlopen=yes
6.12256 -else
6.12257 - echo "$as_me: failed program was:" >&5
6.12258 -sed 's/^/| /' conftest.$ac_ext >&5
6.12259 -
6.12260 -ac_cv_lib_dl_dlopen=no
6.12261 -fi
6.12262 -rm -f conftest.err conftest.$ac_objext \
6.12263 - conftest$ac_exeext conftest.$ac_ext
6.12264 -LIBS=$ac_check_lib_save_LIBS
6.12265 -fi
6.12266 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6.12267 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6.12268 -if test $ac_cv_lib_dl_dlopen = yes; then
6.12269 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
6.12270 -else
6.12271 -
6.12272 - lt_cv_dlopen="dyld"
6.12273 - lt_cv_dlopen_libs=
6.12274 - lt_cv_dlopen_self=yes
6.12275 -
6.12276 -fi
6.12277 -
6.12278 - ;;
6.12279 -
6.12280 - *)
6.12281 - echo "$as_me:$LINENO: checking for shl_load" >&5
6.12282 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
6.12283 -if test "${ac_cv_func_shl_load+set}" = set; then
6.12284 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.12285 -else
6.12286 - cat >conftest.$ac_ext <<_ACEOF
6.12287 -/* confdefs.h. */
6.12288 -_ACEOF
6.12289 -cat confdefs.h >>conftest.$ac_ext
6.12290 -cat >>conftest.$ac_ext <<_ACEOF
6.12291 -/* end confdefs.h. */
6.12292 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
6.12293 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
6.12294 -#define shl_load innocuous_shl_load
6.12295 -
6.12296 -/* System header to define __stub macros and hopefully few prototypes,
6.12297 - which can conflict with char shl_load (); below.
6.12298 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.12299 - <limits.h> exists even on freestanding compilers. */
6.12300 -
6.12301 -#ifdef __STDC__
6.12302 -# include <limits.h>
6.12303 -#else
6.12304 -# include <assert.h>
6.12305 -#endif
6.12306 -
6.12307 -#undef shl_load
6.12308 -
6.12309 -/* Override any gcc2 internal prototype to avoid an error. */
6.12310 -#ifdef __cplusplus
6.12311 -extern "C"
6.12312 -{
6.12313 -#endif
6.12314 -/* We use char because int might match the return type of a gcc2
6.12315 - builtin and then its argument prototype would still apply. */
6.12316 -char shl_load ();
6.12317 -/* The GNU C library defines this for functions which it implements
6.12318 - to always fail with ENOSYS. Some functions are actually named
6.12319 - something starting with __ and the normal name is an alias. */
6.12320 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
6.12321 -choke me
6.12322 -#else
6.12323 -char (*f) () = shl_load;
6.12324 -#endif
6.12325 -#ifdef __cplusplus
6.12326 -}
6.12327 -#endif
6.12328 -
6.12329 -int
6.12330 -main ()
6.12331 -{
6.12332 -return f != shl_load;
6.12333 - ;
6.12334 - return 0;
6.12335 -}
6.12336 -_ACEOF
6.12337 -rm -f conftest.$ac_objext conftest$ac_exeext
6.12338 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12339 - (eval $ac_link) 2>conftest.er1
6.12340 - ac_status=$?
6.12341 - grep -v '^ *+' conftest.er1 >conftest.err
6.12342 - rm -f conftest.er1
6.12343 - cat conftest.err >&5
6.12344 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12345 - (exit $ac_status); } &&
6.12346 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.12347 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12348 - (eval $ac_try) 2>&5
6.12349 - ac_status=$?
6.12350 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12351 - (exit $ac_status); }; } &&
6.12352 - { ac_try='test -s conftest$ac_exeext'
6.12353 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12354 - (eval $ac_try) 2>&5
6.12355 - ac_status=$?
6.12356 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12357 - (exit $ac_status); }; }; then
6.12358 - ac_cv_func_shl_load=yes
6.12359 -else
6.12360 - echo "$as_me: failed program was:" >&5
6.12361 -sed 's/^/| /' conftest.$ac_ext >&5
6.12362 -
6.12363 -ac_cv_func_shl_load=no
6.12364 -fi
6.12365 -rm -f conftest.err conftest.$ac_objext \
6.12366 - conftest$ac_exeext conftest.$ac_ext
6.12367 -fi
6.12368 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
6.12369 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
6.12370 -if test $ac_cv_func_shl_load = yes; then
6.12371 - lt_cv_dlopen="shl_load"
6.12372 -else
6.12373 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
6.12374 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
6.12375 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
6.12376 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.12377 -else
6.12378 - ac_check_lib_save_LIBS=$LIBS
6.12379 -LIBS="-ldld $LIBS"
6.12380 -cat >conftest.$ac_ext <<_ACEOF
6.12381 -/* confdefs.h. */
6.12382 -_ACEOF
6.12383 -cat confdefs.h >>conftest.$ac_ext
6.12384 -cat >>conftest.$ac_ext <<_ACEOF
6.12385 -/* end confdefs.h. */
6.12386 -
6.12387 -/* Override any gcc2 internal prototype to avoid an error. */
6.12388 -#ifdef __cplusplus
6.12389 -extern "C"
6.12390 -#endif
6.12391 -/* We use char because int might match the return type of a gcc2
6.12392 - builtin and then its argument prototype would still apply. */
6.12393 -char shl_load ();
6.12394 -int
6.12395 -main ()
6.12396 -{
6.12397 -shl_load ();
6.12398 - ;
6.12399 - return 0;
6.12400 -}
6.12401 -_ACEOF
6.12402 -rm -f conftest.$ac_objext conftest$ac_exeext
6.12403 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12404 - (eval $ac_link) 2>conftest.er1
6.12405 - ac_status=$?
6.12406 - grep -v '^ *+' conftest.er1 >conftest.err
6.12407 - rm -f conftest.er1
6.12408 - cat conftest.err >&5
6.12409 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12410 - (exit $ac_status); } &&
6.12411 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.12412 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12413 - (eval $ac_try) 2>&5
6.12414 - ac_status=$?
6.12415 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12416 - (exit $ac_status); }; } &&
6.12417 - { ac_try='test -s conftest$ac_exeext'
6.12418 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12419 - (eval $ac_try) 2>&5
6.12420 - ac_status=$?
6.12421 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12422 - (exit $ac_status); }; }; then
6.12423 - ac_cv_lib_dld_shl_load=yes
6.12424 -else
6.12425 - echo "$as_me: failed program was:" >&5
6.12426 -sed 's/^/| /' conftest.$ac_ext >&5
6.12427 -
6.12428 -ac_cv_lib_dld_shl_load=no
6.12429 -fi
6.12430 -rm -f conftest.err conftest.$ac_objext \
6.12431 - conftest$ac_exeext conftest.$ac_ext
6.12432 -LIBS=$ac_check_lib_save_LIBS
6.12433 -fi
6.12434 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
6.12435 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
6.12436 -if test $ac_cv_lib_dld_shl_load = yes; then
6.12437 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
6.12438 -else
6.12439 - echo "$as_me:$LINENO: checking for dlopen" >&5
6.12440 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
6.12441 -if test "${ac_cv_func_dlopen+set}" = set; then
6.12442 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.12443 -else
6.12444 - cat >conftest.$ac_ext <<_ACEOF
6.12445 -/* confdefs.h. */
6.12446 -_ACEOF
6.12447 -cat confdefs.h >>conftest.$ac_ext
6.12448 -cat >>conftest.$ac_ext <<_ACEOF
6.12449 -/* end confdefs.h. */
6.12450 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
6.12451 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
6.12452 -#define dlopen innocuous_dlopen
6.12453 -
6.12454 -/* System header to define __stub macros and hopefully few prototypes,
6.12455 - which can conflict with char dlopen (); below.
6.12456 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.12457 - <limits.h> exists even on freestanding compilers. */
6.12458 -
6.12459 -#ifdef __STDC__
6.12460 -# include <limits.h>
6.12461 -#else
6.12462 -# include <assert.h>
6.12463 -#endif
6.12464 -
6.12465 -#undef dlopen
6.12466 -
6.12467 -/* Override any gcc2 internal prototype to avoid an error. */
6.12468 -#ifdef __cplusplus
6.12469 -extern "C"
6.12470 -{
6.12471 -#endif
6.12472 -/* We use char because int might match the return type of a gcc2
6.12473 - builtin and then its argument prototype would still apply. */
6.12474 -char dlopen ();
6.12475 -/* The GNU C library defines this for functions which it implements
6.12476 - to always fail with ENOSYS. Some functions are actually named
6.12477 - something starting with __ and the normal name is an alias. */
6.12478 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
6.12479 -choke me
6.12480 -#else
6.12481 -char (*f) () = dlopen;
6.12482 -#endif
6.12483 -#ifdef __cplusplus
6.12484 -}
6.12485 -#endif
6.12486 -
6.12487 -int
6.12488 -main ()
6.12489 -{
6.12490 -return f != dlopen;
6.12491 - ;
6.12492 - return 0;
6.12493 -}
6.12494 -_ACEOF
6.12495 -rm -f conftest.$ac_objext conftest$ac_exeext
6.12496 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12497 - (eval $ac_link) 2>conftest.er1
6.12498 - ac_status=$?
6.12499 - grep -v '^ *+' conftest.er1 >conftest.err
6.12500 - rm -f conftest.er1
6.12501 - cat conftest.err >&5
6.12502 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12503 - (exit $ac_status); } &&
6.12504 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.12505 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12506 - (eval $ac_try) 2>&5
6.12507 - ac_status=$?
6.12508 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12509 - (exit $ac_status); }; } &&
6.12510 - { ac_try='test -s conftest$ac_exeext'
6.12511 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12512 - (eval $ac_try) 2>&5
6.12513 - ac_status=$?
6.12514 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12515 - (exit $ac_status); }; }; then
6.12516 - ac_cv_func_dlopen=yes
6.12517 -else
6.12518 - echo "$as_me: failed program was:" >&5
6.12519 -sed 's/^/| /' conftest.$ac_ext >&5
6.12520 -
6.12521 -ac_cv_func_dlopen=no
6.12522 -fi
6.12523 -rm -f conftest.err conftest.$ac_objext \
6.12524 - conftest$ac_exeext conftest.$ac_ext
6.12525 -fi
6.12526 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
6.12527 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
6.12528 -if test $ac_cv_func_dlopen = yes; then
6.12529 - lt_cv_dlopen="dlopen"
6.12530 -else
6.12531 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6.12532 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6.12533 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6.12534 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.12535 -else
6.12536 - ac_check_lib_save_LIBS=$LIBS
6.12537 -LIBS="-ldl $LIBS"
6.12538 -cat >conftest.$ac_ext <<_ACEOF
6.12539 -/* confdefs.h. */
6.12540 -_ACEOF
6.12541 -cat confdefs.h >>conftest.$ac_ext
6.12542 -cat >>conftest.$ac_ext <<_ACEOF
6.12543 -/* end confdefs.h. */
6.12544 -
6.12545 -/* Override any gcc2 internal prototype to avoid an error. */
6.12546 -#ifdef __cplusplus
6.12547 -extern "C"
6.12548 -#endif
6.12549 -/* We use char because int might match the return type of a gcc2
6.12550 - builtin and then its argument prototype would still apply. */
6.12551 -char dlopen ();
6.12552 -int
6.12553 -main ()
6.12554 -{
6.12555 -dlopen ();
6.12556 - ;
6.12557 - return 0;
6.12558 -}
6.12559 -_ACEOF
6.12560 -rm -f conftest.$ac_objext conftest$ac_exeext
6.12561 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12562 - (eval $ac_link) 2>conftest.er1
6.12563 - ac_status=$?
6.12564 - grep -v '^ *+' conftest.er1 >conftest.err
6.12565 - rm -f conftest.er1
6.12566 - cat conftest.err >&5
6.12567 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12568 - (exit $ac_status); } &&
6.12569 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.12570 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12571 - (eval $ac_try) 2>&5
6.12572 - ac_status=$?
6.12573 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12574 - (exit $ac_status); }; } &&
6.12575 - { ac_try='test -s conftest$ac_exeext'
6.12576 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12577 - (eval $ac_try) 2>&5
6.12578 - ac_status=$?
6.12579 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12580 - (exit $ac_status); }; }; then
6.12581 - ac_cv_lib_dl_dlopen=yes
6.12582 -else
6.12583 - echo "$as_me: failed program was:" >&5
6.12584 -sed 's/^/| /' conftest.$ac_ext >&5
6.12585 -
6.12586 -ac_cv_lib_dl_dlopen=no
6.12587 -fi
6.12588 -rm -f conftest.err conftest.$ac_objext \
6.12589 - conftest$ac_exeext conftest.$ac_ext
6.12590 -LIBS=$ac_check_lib_save_LIBS
6.12591 -fi
6.12592 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6.12593 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6.12594 -if test $ac_cv_lib_dl_dlopen = yes; then
6.12595 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
6.12596 -else
6.12597 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
6.12598 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
6.12599 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
6.12600 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.12601 -else
6.12602 - ac_check_lib_save_LIBS=$LIBS
6.12603 -LIBS="-lsvld $LIBS"
6.12604 -cat >conftest.$ac_ext <<_ACEOF
6.12605 -/* confdefs.h. */
6.12606 -_ACEOF
6.12607 -cat confdefs.h >>conftest.$ac_ext
6.12608 -cat >>conftest.$ac_ext <<_ACEOF
6.12609 -/* end confdefs.h. */
6.12610 -
6.12611 -/* Override any gcc2 internal prototype to avoid an error. */
6.12612 -#ifdef __cplusplus
6.12613 -extern "C"
6.12614 -#endif
6.12615 -/* We use char because int might match the return type of a gcc2
6.12616 - builtin and then its argument prototype would still apply. */
6.12617 -char dlopen ();
6.12618 -int
6.12619 -main ()
6.12620 -{
6.12621 -dlopen ();
6.12622 - ;
6.12623 - return 0;
6.12624 -}
6.12625 -_ACEOF
6.12626 -rm -f conftest.$ac_objext conftest$ac_exeext
6.12627 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12628 - (eval $ac_link) 2>conftest.er1
6.12629 - ac_status=$?
6.12630 - grep -v '^ *+' conftest.er1 >conftest.err
6.12631 - rm -f conftest.er1
6.12632 - cat conftest.err >&5
6.12633 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12634 - (exit $ac_status); } &&
6.12635 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.12636 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12637 - (eval $ac_try) 2>&5
6.12638 - ac_status=$?
6.12639 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12640 - (exit $ac_status); }; } &&
6.12641 - { ac_try='test -s conftest$ac_exeext'
6.12642 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12643 - (eval $ac_try) 2>&5
6.12644 - ac_status=$?
6.12645 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12646 - (exit $ac_status); }; }; then
6.12647 - ac_cv_lib_svld_dlopen=yes
6.12648 -else
6.12649 - echo "$as_me: failed program was:" >&5
6.12650 -sed 's/^/| /' conftest.$ac_ext >&5
6.12651 -
6.12652 -ac_cv_lib_svld_dlopen=no
6.12653 -fi
6.12654 -rm -f conftest.err conftest.$ac_objext \
6.12655 - conftest$ac_exeext conftest.$ac_ext
6.12656 -LIBS=$ac_check_lib_save_LIBS
6.12657 -fi
6.12658 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
6.12659 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
6.12660 -if test $ac_cv_lib_svld_dlopen = yes; then
6.12661 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
6.12662 -else
6.12663 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
6.12664 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
6.12665 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
6.12666 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.12667 -else
6.12668 - ac_check_lib_save_LIBS=$LIBS
6.12669 -LIBS="-ldld $LIBS"
6.12670 -cat >conftest.$ac_ext <<_ACEOF
6.12671 -/* confdefs.h. */
6.12672 -_ACEOF
6.12673 -cat confdefs.h >>conftest.$ac_ext
6.12674 -cat >>conftest.$ac_ext <<_ACEOF
6.12675 -/* end confdefs.h. */
6.12676 -
6.12677 -/* Override any gcc2 internal prototype to avoid an error. */
6.12678 -#ifdef __cplusplus
6.12679 -extern "C"
6.12680 -#endif
6.12681 -/* We use char because int might match the return type of a gcc2
6.12682 - builtin and then its argument prototype would still apply. */
6.12683 -char dld_link ();
6.12684 -int
6.12685 -main ()
6.12686 -{
6.12687 -dld_link ();
6.12688 - ;
6.12689 - return 0;
6.12690 -}
6.12691 -_ACEOF
6.12692 -rm -f conftest.$ac_objext conftest$ac_exeext
6.12693 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12694 - (eval $ac_link) 2>conftest.er1
6.12695 - ac_status=$?
6.12696 - grep -v '^ *+' conftest.er1 >conftest.err
6.12697 - rm -f conftest.er1
6.12698 - cat conftest.err >&5
6.12699 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12700 - (exit $ac_status); } &&
6.12701 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.12702 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12703 - (eval $ac_try) 2>&5
6.12704 - ac_status=$?
6.12705 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12706 - (exit $ac_status); }; } &&
6.12707 - { ac_try='test -s conftest$ac_exeext'
6.12708 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12709 - (eval $ac_try) 2>&5
6.12710 - ac_status=$?
6.12711 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12712 - (exit $ac_status); }; }; then
6.12713 - ac_cv_lib_dld_dld_link=yes
6.12714 -else
6.12715 - echo "$as_me: failed program was:" >&5
6.12716 -sed 's/^/| /' conftest.$ac_ext >&5
6.12717 -
6.12718 -ac_cv_lib_dld_dld_link=no
6.12719 -fi
6.12720 -rm -f conftest.err conftest.$ac_objext \
6.12721 - conftest$ac_exeext conftest.$ac_ext
6.12722 -LIBS=$ac_check_lib_save_LIBS
6.12723 -fi
6.12724 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
6.12725 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
6.12726 -if test $ac_cv_lib_dld_dld_link = yes; then
6.12727 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
6.12728 -fi
6.12729 -
6.12730 -
6.12731 -fi
6.12732 -
6.12733 -
6.12734 -fi
6.12735 -
6.12736 -
6.12737 -fi
6.12738 -
6.12739 -
6.12740 -fi
6.12741 -
6.12742 -
6.12743 -fi
6.12744 -
6.12745 - ;;
6.12746 - esac
6.12747 -
6.12748 - if test "x$lt_cv_dlopen" != xno; then
6.12749 - enable_dlopen=yes
6.12750 - else
6.12751 - enable_dlopen=no
6.12752 - fi
6.12753 -
6.12754 - case $lt_cv_dlopen in
6.12755 - dlopen)
6.12756 - save_CPPFLAGS="$CPPFLAGS"
6.12757 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
6.12758 -
6.12759 - save_LDFLAGS="$LDFLAGS"
6.12760 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
6.12761 -
6.12762 - save_LIBS="$LIBS"
6.12763 - LIBS="$lt_cv_dlopen_libs $LIBS"
6.12764 -
6.12765 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
6.12766 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
6.12767 -if test "${lt_cv_dlopen_self+set}" = set; then
6.12768 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.12769 -else
6.12770 - if test "$cross_compiling" = yes; then :
6.12771 - lt_cv_dlopen_self=cross
6.12772 -else
6.12773 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6.12774 - lt_status=$lt_dlunknown
6.12775 - cat > conftest.$ac_ext <<EOF
6.12776 -#line __oline__ "configure"
6.12777 -#include "confdefs.h"
6.12778 -
6.12779 -#if HAVE_DLFCN_H
6.12780 -#include <dlfcn.h>
6.12781 -#endif
6.12782 -
6.12783 -#include <stdio.h>
6.12784 -
6.12785 -#ifdef RTLD_GLOBAL
6.12786 -# define LT_DLGLOBAL RTLD_GLOBAL
6.12787 -#else
6.12788 -# ifdef DL_GLOBAL
6.12789 -# define LT_DLGLOBAL DL_GLOBAL
6.12790 -# else
6.12791 -# define LT_DLGLOBAL 0
6.12792 -# endif
6.12793 -#endif
6.12794 -
6.12795 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
6.12796 - find out it does not work in some platform. */
6.12797 -#ifndef LT_DLLAZY_OR_NOW
6.12798 -# ifdef RTLD_LAZY
6.12799 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
6.12800 -# else
6.12801 -# ifdef DL_LAZY
6.12802 -# define LT_DLLAZY_OR_NOW DL_LAZY
6.12803 -# else
6.12804 -# ifdef RTLD_NOW
6.12805 -# define LT_DLLAZY_OR_NOW RTLD_NOW
6.12806 -# else
6.12807 -# ifdef DL_NOW
6.12808 -# define LT_DLLAZY_OR_NOW DL_NOW
6.12809 -# else
6.12810 -# define LT_DLLAZY_OR_NOW 0
6.12811 -# endif
6.12812 -# endif
6.12813 -# endif
6.12814 -# endif
6.12815 -#endif
6.12816 -
6.12817 -#ifdef __cplusplus
6.12818 -extern "C" void exit (int);
6.12819 -#endif
6.12820 -
6.12821 -void fnord() { int i=42;}
6.12822 -int main ()
6.12823 -{
6.12824 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
6.12825 - int status = $lt_dlunknown;
6.12826 -
6.12827 - if (self)
6.12828 - {
6.12829 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
6.12830 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
6.12831 - /* dlclose (self); */
6.12832 - }
6.12833 -
6.12834 - exit (status);
6.12835 -}
6.12836 -EOF
6.12837 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12838 - (eval $ac_link) 2>&5
6.12839 - ac_status=$?
6.12840 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12841 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
6.12842 - (./conftest; exit; ) >&5 2>/dev/null
6.12843 - lt_status=$?
6.12844 - case x$lt_status in
6.12845 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
6.12846 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
6.12847 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
6.12848 - esac
6.12849 - else :
6.12850 - # compilation failed
6.12851 - lt_cv_dlopen_self=no
6.12852 - fi
6.12853 -fi
6.12854 -rm -fr conftest*
6.12855 -
6.12856 -
6.12857 -fi
6.12858 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
6.12859 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
6.12860 -
6.12861 - if test "x$lt_cv_dlopen_self" = xyes; then
6.12862 - LDFLAGS="$LDFLAGS $link_static_flag"
6.12863 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
6.12864 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
6.12865 -if test "${lt_cv_dlopen_self_static+set}" = set; then
6.12866 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.12867 -else
6.12868 - if test "$cross_compiling" = yes; then :
6.12869 - lt_cv_dlopen_self_static=cross
6.12870 -else
6.12871 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6.12872 - lt_status=$lt_dlunknown
6.12873 - cat > conftest.$ac_ext <<EOF
6.12874 -#line __oline__ "configure"
6.12875 -#include "confdefs.h"
6.12876 -
6.12877 -#if HAVE_DLFCN_H
6.12878 -#include <dlfcn.h>
6.12879 -#endif
6.12880 -
6.12881 -#include <stdio.h>
6.12882 -
6.12883 -#ifdef RTLD_GLOBAL
6.12884 -# define LT_DLGLOBAL RTLD_GLOBAL
6.12885 -#else
6.12886 -# ifdef DL_GLOBAL
6.12887 -# define LT_DLGLOBAL DL_GLOBAL
6.12888 -# else
6.12889 -# define LT_DLGLOBAL 0
6.12890 -# endif
6.12891 -#endif
6.12892 -
6.12893 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
6.12894 - find out it does not work in some platform. */
6.12895 -#ifndef LT_DLLAZY_OR_NOW
6.12896 -# ifdef RTLD_LAZY
6.12897 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
6.12898 -# else
6.12899 -# ifdef DL_LAZY
6.12900 -# define LT_DLLAZY_OR_NOW DL_LAZY
6.12901 -# else
6.12902 -# ifdef RTLD_NOW
6.12903 -# define LT_DLLAZY_OR_NOW RTLD_NOW
6.12904 -# else
6.12905 -# ifdef DL_NOW
6.12906 -# define LT_DLLAZY_OR_NOW DL_NOW
6.12907 -# else
6.12908 -# define LT_DLLAZY_OR_NOW 0
6.12909 -# endif
6.12910 -# endif
6.12911 -# endif
6.12912 -# endif
6.12913 -#endif
6.12914 -
6.12915 -#ifdef __cplusplus
6.12916 -extern "C" void exit (int);
6.12917 -#endif
6.12918 -
6.12919 -void fnord() { int i=42;}
6.12920 -int main ()
6.12921 -{
6.12922 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
6.12923 - int status = $lt_dlunknown;
6.12924 -
6.12925 - if (self)
6.12926 - {
6.12927 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
6.12928 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
6.12929 - /* dlclose (self); */
6.12930 - }
6.12931 -
6.12932 - exit (status);
6.12933 -}
6.12934 -EOF
6.12935 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12936 - (eval $ac_link) 2>&5
6.12937 - ac_status=$?
6.12938 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12939 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
6.12940 - (./conftest; exit; ) >&5 2>/dev/null
6.12941 - lt_status=$?
6.12942 - case x$lt_status in
6.12943 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
6.12944 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
6.12945 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
6.12946 - esac
6.12947 - else :
6.12948 - # compilation failed
6.12949 - lt_cv_dlopen_self_static=no
6.12950 - fi
6.12951 -fi
6.12952 -rm -fr conftest*
6.12953 -
6.12954 -
6.12955 -fi
6.12956 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
6.12957 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
6.12958 - fi
6.12959 -
6.12960 - CPPFLAGS="$save_CPPFLAGS"
6.12961 - LDFLAGS="$save_LDFLAGS"
6.12962 - LIBS="$save_LIBS"
6.12963 - ;;
6.12964 - esac
6.12965 -
6.12966 - case $lt_cv_dlopen_self in
6.12967 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
6.12968 - *) enable_dlopen_self=unknown ;;
6.12969 - esac
6.12970 -
6.12971 - case $lt_cv_dlopen_self_static in
6.12972 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
6.12973 - *) enable_dlopen_self_static=unknown ;;
6.12974 - esac
6.12975 -fi
6.12976 -
6.12977 -
6.12978 -# The else clause should only fire when bootstrapping the
6.12979 -# libtool distribution, otherwise you forgot to ship ltmain.sh
6.12980 -# with your package, and you will get complaints that there are
6.12981 -# no rules to generate ltmain.sh.
6.12982 -if test -f "$ltmain"; then
6.12983 - # See if we are running on zsh, and set the options which allow our commands through
6.12984 - # without removal of \ escapes.
6.12985 - if test -n "${ZSH_VERSION+set}" ; then
6.12986 - setopt NO_GLOB_SUBST
6.12987 - fi
6.12988 - # Now quote all the things that may contain metacharacters while being
6.12989 - # careful not to overquote the AC_SUBSTed values. We take copies of the
6.12990 - # variables and quote the copies for generation of the libtool script.
6.12991 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
6.12992 - SED SHELL STRIP \
6.12993 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
6.12994 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
6.12995 - deplibs_check_method reload_flag reload_cmds need_locks \
6.12996 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
6.12997 - lt_cv_sys_global_symbol_to_c_name_address \
6.12998 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
6.12999 - old_postinstall_cmds old_postuninstall_cmds \
6.13000 - compiler_CXX \
6.13001 - CC_CXX \
6.13002 - LD_CXX \
6.13003 - lt_prog_compiler_wl_CXX \
6.13004 - lt_prog_compiler_pic_CXX \
6.13005 - lt_prog_compiler_static_CXX \
6.13006 - lt_prog_compiler_no_builtin_flag_CXX \
6.13007 - export_dynamic_flag_spec_CXX \
6.13008 - thread_safe_flag_spec_CXX \
6.13009 - whole_archive_flag_spec_CXX \
6.13010 - enable_shared_with_static_runtimes_CXX \
6.13011 - old_archive_cmds_CXX \
6.13012 - old_archive_from_new_cmds_CXX \
6.13013 - predep_objects_CXX \
6.13014 - postdep_objects_CXX \
6.13015 - predeps_CXX \
6.13016 - postdeps_CXX \
6.13017 - compiler_lib_search_path_CXX \
6.13018 - archive_cmds_CXX \
6.13019 - archive_expsym_cmds_CXX \
6.13020 - postinstall_cmds_CXX \
6.13021 - postuninstall_cmds_CXX \
6.13022 - old_archive_from_expsyms_cmds_CXX \
6.13023 - allow_undefined_flag_CXX \
6.13024 - no_undefined_flag_CXX \
6.13025 - export_symbols_cmds_CXX \
6.13026 - hardcode_libdir_flag_spec_CXX \
6.13027 - hardcode_libdir_flag_spec_ld_CXX \
6.13028 - hardcode_libdir_separator_CXX \
6.13029 - hardcode_automatic_CXX \
6.13030 - module_cmds_CXX \
6.13031 - module_expsym_cmds_CXX \
6.13032 - lt_cv_prog_compiler_c_o_CXX \
6.13033 - exclude_expsyms_CXX \
6.13034 - include_expsyms_CXX; do
6.13035 -
6.13036 - case $var in
6.13037 - old_archive_cmds_CXX | \
6.13038 - old_archive_from_new_cmds_CXX | \
6.13039 - archive_cmds_CXX | \
6.13040 - archive_expsym_cmds_CXX | \
6.13041 - module_cmds_CXX | \
6.13042 - module_expsym_cmds_CXX | \
6.13043 - old_archive_from_expsyms_cmds_CXX | \
6.13044 - export_symbols_cmds_CXX | \
6.13045 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
6.13046 - postinstall_cmds | postuninstall_cmds | \
6.13047 - old_postinstall_cmds | old_postuninstall_cmds | \
6.13048 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
6.13049 - # Double-quote double-evaled strings.
6.13050 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
6.13051 - ;;
6.13052 - *)
6.13053 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
6.13054 - ;;
6.13055 - esac
6.13056 - done
6.13057 -
6.13058 - case $lt_echo in
6.13059 - *'\$0 --fallback-echo"')
6.13060 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
6.13061 - ;;
6.13062 - esac
6.13063 -
6.13064 -cfgfile="$ofile"
6.13065 -
6.13066 - cat <<__EOF__ >> "$cfgfile"
6.13067 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
6.13068 -
6.13069 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6.13070 -
6.13071 -# Shell to use when invoking shell scripts.
6.13072 -SHELL=$lt_SHELL
6.13073 -
6.13074 -# Whether or not to build shared libraries.
6.13075 -build_libtool_libs=$enable_shared
6.13076 -
6.13077 -# Whether or not to build static libraries.
6.13078 -build_old_libs=$enable_static
6.13079 -
6.13080 -# Whether or not to add -lc for building shared libraries.
6.13081 -build_libtool_need_lc=$archive_cmds_need_lc_CXX
6.13082 -
6.13083 -# Whether or not to disallow shared libs when runtime libs are static
6.13084 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
6.13085 -
6.13086 -# Whether or not to optimize for fast installation.
6.13087 -fast_install=$enable_fast_install
6.13088 -
6.13089 -# The host system.
6.13090 -host_alias=$host_alias
6.13091 -host=$host
6.13092 -host_os=$host_os
6.13093 -
6.13094 -# The build system.
6.13095 -build_alias=$build_alias
6.13096 -build=$build
6.13097 -build_os=$build_os
6.13098 -
6.13099 -# An echo program that does not interpret backslashes.
6.13100 -echo=$lt_echo
6.13101 -
6.13102 -# The archiver.
6.13103 -AR=$lt_AR
6.13104 -AR_FLAGS=$lt_AR_FLAGS
6.13105 -
6.13106 -# A C compiler.
6.13107 -LTCC=$lt_LTCC
6.13108 -
6.13109 -# A language-specific compiler.
6.13110 -CC=$lt_compiler_CXX
6.13111 -
6.13112 -# Is the compiler the GNU C compiler?
6.13113 -with_gcc=$GCC_CXX
6.13114 -
6.13115 -# An ERE matcher.
6.13116 -EGREP=$lt_EGREP
6.13117 -
6.13118 -# The linker used to build libraries.
6.13119 -LD=$lt_LD_CXX
6.13120 -
6.13121 -# Whether we need hard or soft links.
6.13122 -LN_S=$lt_LN_S
6.13123 -
6.13124 -# A BSD-compatible nm program.
6.13125 -NM=$lt_NM
6.13126 -
6.13127 -# A symbol stripping program
6.13128 -STRIP=$lt_STRIP
6.13129 -
6.13130 -# Used to examine libraries when file_magic_cmd begins "file"
6.13131 -MAGIC_CMD=$MAGIC_CMD
6.13132 -
6.13133 -# Used on cygwin: DLL creation program.
6.13134 -DLLTOOL="$DLLTOOL"
6.13135 -
6.13136 -# Used on cygwin: object dumper.
6.13137 -OBJDUMP="$OBJDUMP"
6.13138 -
6.13139 -# Used on cygwin: assembler.
6.13140 -AS="$AS"
6.13141 -
6.13142 -# The name of the directory that contains temporary libtool files.
6.13143 -objdir=$objdir
6.13144 -
6.13145 -# How to create reloadable object files.
6.13146 -reload_flag=$lt_reload_flag
6.13147 -reload_cmds=$lt_reload_cmds
6.13148 -
6.13149 -# How to pass a linker flag through the compiler.
6.13150 -wl=$lt_lt_prog_compiler_wl_CXX
6.13151 -
6.13152 -# Object file suffix (normally "o").
6.13153 -objext="$ac_objext"
6.13154 -
6.13155 -# Old archive suffix (normally "a").
6.13156 -libext="$libext"
6.13157 -
6.13158 -# Shared library suffix (normally ".so").
6.13159 -shrext_cmds='$shrext_cmds'
6.13160 -
6.13161 -# Executable file suffix (normally "").
6.13162 -exeext="$exeext"
6.13163 -
6.13164 -# Additional compiler flags for building library objects.
6.13165 -pic_flag=$lt_lt_prog_compiler_pic_CXX
6.13166 -pic_mode=$pic_mode
6.13167 -
6.13168 -# What is the maximum length of a command?
6.13169 -max_cmd_len=$lt_cv_sys_max_cmd_len
6.13170 -
6.13171 -# Does compiler simultaneously support -c and -o options?
6.13172 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
6.13173 -
6.13174 -# Must we lock files when doing compilation?
6.13175 -need_locks=$lt_need_locks
6.13176 -
6.13177 -# Do we need the lib prefix for modules?
6.13178 -need_lib_prefix=$need_lib_prefix
6.13179 -
6.13180 -# Do we need a version for libraries?
6.13181 -need_version=$need_version
6.13182 -
6.13183 -# Whether dlopen is supported.
6.13184 -dlopen_support=$enable_dlopen
6.13185 -
6.13186 -# Whether dlopen of programs is supported.
6.13187 -dlopen_self=$enable_dlopen_self
6.13188 -
6.13189 -# Whether dlopen of statically linked programs is supported.
6.13190 -dlopen_self_static=$enable_dlopen_self_static
6.13191 -
6.13192 -# Compiler flag to prevent dynamic linking.
6.13193 -link_static_flag=$lt_lt_prog_compiler_static_CXX
6.13194 -
6.13195 -# Compiler flag to turn off builtin functions.
6.13196 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
6.13197 -
6.13198 -# Compiler flag to allow reflexive dlopens.
6.13199 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
6.13200 -
6.13201 -# Compiler flag to generate shared objects directly from archives.
6.13202 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
6.13203 -
6.13204 -# Compiler flag to generate thread-safe objects.
6.13205 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
6.13206 -
6.13207 -# Library versioning type.
6.13208 -version_type=$version_type
6.13209 -
6.13210 -# Format of library name prefix.
6.13211 -libname_spec=$lt_libname_spec
6.13212 -
6.13213 -# List of archive names. First name is the real one, the rest are links.
6.13214 -# The last name is the one that the linker finds with -lNAME.
6.13215 -library_names_spec=$lt_library_names_spec
6.13216 -
6.13217 -# The coded name of the library, if different from the real name.
6.13218 -soname_spec=$lt_soname_spec
6.13219 -
6.13220 -# Commands used to build and install an old-style archive.
6.13221 -RANLIB=$lt_RANLIB
6.13222 -old_archive_cmds=$lt_old_archive_cmds_CXX
6.13223 -old_postinstall_cmds=$lt_old_postinstall_cmds
6.13224 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
6.13225 -
6.13226 -# Create an old-style archive from a shared archive.
6.13227 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
6.13228 -
6.13229 -# Create a temporary old-style archive to link instead of a shared archive.
6.13230 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
6.13231 -
6.13232 -# Commands used to build and install a shared archive.
6.13233 -archive_cmds=$lt_archive_cmds_CXX
6.13234 -archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
6.13235 -postinstall_cmds=$lt_postinstall_cmds
6.13236 -postuninstall_cmds=$lt_postuninstall_cmds
6.13237 -
6.13238 -# Commands used to build a loadable module (assumed same as above if empty)
6.13239 -module_cmds=$lt_module_cmds_CXX
6.13240 -module_expsym_cmds=$lt_module_expsym_cmds_CXX
6.13241 -
6.13242 -# Commands to strip libraries.
6.13243 -old_striplib=$lt_old_striplib
6.13244 -striplib=$lt_striplib
6.13245 -
6.13246 -# Dependencies to place before the objects being linked to create a
6.13247 -# shared library.
6.13248 -predep_objects=$lt_predep_objects_CXX
6.13249 -
6.13250 -# Dependencies to place after the objects being linked to create a
6.13251 -# shared library.
6.13252 -postdep_objects=$lt_postdep_objects_CXX
6.13253 -
6.13254 -# Dependencies to place before the objects being linked to create a
6.13255 -# shared library.
6.13256 -predeps=$lt_predeps_CXX
6.13257 -
6.13258 -# Dependencies to place after the objects being linked to create a
6.13259 -# shared library.
6.13260 -postdeps=$lt_postdeps_CXX
6.13261 -
6.13262 -# The library search path used internally by the compiler when linking
6.13263 -# a shared library.
6.13264 -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
6.13265 -
6.13266 -# Method to check whether dependent libraries are shared objects.
6.13267 -deplibs_check_method=$lt_deplibs_check_method
6.13268 -
6.13269 -# Command to use when deplibs_check_method == file_magic.
6.13270 -file_magic_cmd=$lt_file_magic_cmd
6.13271 -
6.13272 -# Flag that allows shared libraries with undefined symbols to be built.
6.13273 -allow_undefined_flag=$lt_allow_undefined_flag_CXX
6.13274 -
6.13275 -# Flag that forces no undefined symbols.
6.13276 -no_undefined_flag=$lt_no_undefined_flag_CXX
6.13277 -
6.13278 -# Commands used to finish a libtool library installation in a directory.
6.13279 -finish_cmds=$lt_finish_cmds
6.13280 -
6.13281 -# Same as above, but a single script fragment to be evaled but not shown.
6.13282 -finish_eval=$lt_finish_eval
6.13283 -
6.13284 -# Take the output of nm and produce a listing of raw symbols and C names.
6.13285 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
6.13286 -
6.13287 -# Transform the output of nm in a proper C declaration
6.13288 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
6.13289 -
6.13290 -# Transform the output of nm in a C name address pair
6.13291 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
6.13292 -
6.13293 -# This is the shared library runtime path variable.
6.13294 -runpath_var=$runpath_var
6.13295 -
6.13296 -# This is the shared library path variable.
6.13297 -shlibpath_var=$shlibpath_var
6.13298 -
6.13299 -# Is shlibpath searched before the hard-coded library search path?
6.13300 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
6.13301 -
6.13302 -# How to hardcode a shared library path into an executable.
6.13303 -hardcode_action=$hardcode_action_CXX
6.13304 -
6.13305 -# Whether we should hardcode library paths into libraries.
6.13306 -hardcode_into_libs=$hardcode_into_libs
6.13307 -
6.13308 -# Flag to hardcode \$libdir into a binary during linking.
6.13309 -# This must work even if \$libdir does not exist.
6.13310 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
6.13311 -
6.13312 -# If ld is used when linking, flag to hardcode \$libdir into
6.13313 -# a binary during linking. This must work even if \$libdir does
6.13314 -# not exist.
6.13315 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
6.13316 -
6.13317 -# Whether we need a single -rpath flag with a separated argument.
6.13318 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
6.13319 -
6.13320 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
6.13321 -# resulting binary.
6.13322 -hardcode_direct=$hardcode_direct_CXX
6.13323 -
6.13324 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
6.13325 -# resulting binary.
6.13326 -hardcode_minus_L=$hardcode_minus_L_CXX
6.13327 -
6.13328 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
6.13329 -# the resulting binary.
6.13330 -hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
6.13331 -
6.13332 -# Set to yes if building a shared library automatically hardcodes DIR into the library
6.13333 -# and all subsequent libraries and executables linked against it.
6.13334 -hardcode_automatic=$hardcode_automatic_CXX
6.13335 -
6.13336 -# Variables whose values should be saved in libtool wrapper scripts and
6.13337 -# restored at relink time.
6.13338 -variables_saved_for_relink="$variables_saved_for_relink"
6.13339 -
6.13340 -# Whether libtool must link a program against all its dependency libraries.
6.13341 -link_all_deplibs=$link_all_deplibs_CXX
6.13342 -
6.13343 -# Compile-time system search path for libraries
6.13344 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
6.13345 -
6.13346 -# Run-time system search path for libraries
6.13347 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
6.13348 -
6.13349 -# Fix the shell variable \$srcfile for the compiler.
6.13350 -fix_srcfile_path="$fix_srcfile_path_CXX"
6.13351 -
6.13352 -# Set to yes if exported symbols are required.
6.13353 -always_export_symbols=$always_export_symbols_CXX
6.13354 -
6.13355 -# The commands to list exported symbols.
6.13356 -export_symbols_cmds=$lt_export_symbols_cmds_CXX
6.13357 -
6.13358 -# The commands to extract the exported symbol list from a shared archive.
6.13359 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
6.13360 -
6.13361 -# Symbols that should not be listed in the preloaded symbols.
6.13362 -exclude_expsyms=$lt_exclude_expsyms_CXX
6.13363 -
6.13364 -# Symbols that must always be exported.
6.13365 -include_expsyms=$lt_include_expsyms_CXX
6.13366 -
6.13367 -# ### END LIBTOOL TAG CONFIG: $tagname
6.13368 -
6.13369 -__EOF__
6.13370 -
6.13371 -
6.13372 -else
6.13373 - # If there is no Makefile yet, we rely on a make rule to execute
6.13374 - # `config.status --recheck' to rerun these tests and create the
6.13375 - # libtool script then.
6.13376 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
6.13377 - if test -f "$ltmain_in"; then
6.13378 - test -f Makefile && make "$ltmain"
6.13379 - fi
6.13380 -fi
6.13381 -
6.13382 -
6.13383 -ac_ext=c
6.13384 -ac_cpp='$CPP $CPPFLAGS'
6.13385 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.13386 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.13387 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.13388 -
6.13389 -CC=$lt_save_CC
6.13390 -LDCXX=$LD
6.13391 -LD=$lt_save_LD
6.13392 -GCC=$lt_save_GCC
6.13393 -with_gnu_ldcxx=$with_gnu_ld
6.13394 -with_gnu_ld=$lt_save_with_gnu_ld
6.13395 -lt_cv_path_LDCXX=$lt_cv_path_LD
6.13396 -lt_cv_path_LD=$lt_save_path_LD
6.13397 -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
6.13398 -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
6.13399 -
6.13400 - else
6.13401 - tagname=""
6.13402 - fi
6.13403 - ;;
6.13404 -
6.13405 - F77)
6.13406 - if test -n "$F77" && test "X$F77" != "Xno"; then
6.13407 -
6.13408 -ac_ext=f
6.13409 -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6.13410 -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.13411 -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6.13412 -
6.13413 -
6.13414 -archive_cmds_need_lc_F77=no
6.13415 -allow_undefined_flag_F77=
6.13416 -always_export_symbols_F77=no
6.13417 -archive_expsym_cmds_F77=
6.13418 -export_dynamic_flag_spec_F77=
6.13419 -hardcode_direct_F77=no
6.13420 -hardcode_libdir_flag_spec_F77=
6.13421 -hardcode_libdir_flag_spec_ld_F77=
6.13422 -hardcode_libdir_separator_F77=
6.13423 -hardcode_minus_L_F77=no
6.13424 -hardcode_automatic_F77=no
6.13425 -module_cmds_F77=
6.13426 -module_expsym_cmds_F77=
6.13427 -link_all_deplibs_F77=unknown
6.13428 -old_archive_cmds_F77=$old_archive_cmds
6.13429 -no_undefined_flag_F77=
6.13430 -whole_archive_flag_spec_F77=
6.13431 -enable_shared_with_static_runtimes_F77=no
6.13432 -
6.13433 -# Source file extension for f77 test sources.
6.13434 -ac_ext=f
6.13435 -
6.13436 -# Object file extension for compiled f77 test sources.
6.13437 -objext=o
6.13438 -objext_F77=$objext
6.13439 -
6.13440 -# Code to be used in simple compile tests
6.13441 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
6.13442 -
6.13443 -# Code to be used in simple link tests
6.13444 -lt_simple_link_test_code=" program t\n end\n"
6.13445 -
6.13446 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6.13447 -
6.13448 -# If no C compiler was specified, use CC.
6.13449 -LTCC=${LTCC-"$CC"}
6.13450 -
6.13451 -# Allow CC to be a program name with arguments.
6.13452 -compiler=$CC
6.13453 -
6.13454 -
6.13455 -# save warnings/boilerplate of simple test code
6.13456 -ac_outfile=conftest.$ac_objext
6.13457 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6.13458 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.13459 -_lt_compiler_boilerplate=`cat conftest.err`
6.13460 -$rm conftest*
6.13461 -
6.13462 -ac_outfile=conftest.$ac_objext
6.13463 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
6.13464 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.13465 -_lt_linker_boilerplate=`cat conftest.err`
6.13466 -$rm conftest*
6.13467 -
6.13468 -
6.13469 -# Allow CC to be a program name with arguments.
6.13470 -lt_save_CC="$CC"
6.13471 -CC=${F77-"f77"}
6.13472 -compiler=$CC
6.13473 -compiler_F77=$CC
6.13474 -for cc_temp in $compiler""; do
6.13475 - case $cc_temp in
6.13476 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6.13477 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6.13478 - \-*) ;;
6.13479 - *) break;;
6.13480 - esac
6.13481 -done
6.13482 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6.13483 -
6.13484 -
6.13485 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
6.13486 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
6.13487 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
6.13488 -echo "${ECHO_T}$can_build_shared" >&6
6.13489 -
6.13490 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
6.13491 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
6.13492 -test "$can_build_shared" = "no" && enable_shared=no
6.13493 -
6.13494 -# On AIX, shared libraries and static libraries use the same namespace, and
6.13495 -# are all built from PIC.
6.13496 -case $host_os in
6.13497 -aix3*)
6.13498 - test "$enable_shared" = yes && enable_static=no
6.13499 - if test -n "$RANLIB"; then
6.13500 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
6.13501 - postinstall_cmds='$RANLIB $lib'
6.13502 - fi
6.13503 - ;;
6.13504 -aix4* | aix5*)
6.13505 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
6.13506 - test "$enable_shared" = yes && enable_static=no
6.13507 - fi
6.13508 - ;;
6.13509 -esac
6.13510 -echo "$as_me:$LINENO: result: $enable_shared" >&5
6.13511 -echo "${ECHO_T}$enable_shared" >&6
6.13512 -
6.13513 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
6.13514 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
6.13515 -# Make sure either enable_shared or enable_static is yes.
6.13516 -test "$enable_shared" = yes || enable_static=yes
6.13517 -echo "$as_me:$LINENO: result: $enable_static" >&5
6.13518 -echo "${ECHO_T}$enable_static" >&6
6.13519 -
6.13520 -test "$ld_shlibs_F77" = no && can_build_shared=no
6.13521 -
6.13522 -GCC_F77="$G77"
6.13523 -LD_F77="$LD"
6.13524 -
6.13525 -lt_prog_compiler_wl_F77=
6.13526 -lt_prog_compiler_pic_F77=
6.13527 -lt_prog_compiler_static_F77=
6.13528 -
6.13529 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6.13530 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6.13531 -
6.13532 - if test "$GCC" = yes; then
6.13533 - lt_prog_compiler_wl_F77='-Wl,'
6.13534 - lt_prog_compiler_static_F77='-static'
6.13535 -
6.13536 - case $host_os in
6.13537 - aix*)
6.13538 - # All AIX code is PIC.
6.13539 - if test "$host_cpu" = ia64; then
6.13540 - # AIX 5 now supports IA64 processor
6.13541 - lt_prog_compiler_static_F77='-Bstatic'
6.13542 - fi
6.13543 - ;;
6.13544 -
6.13545 - amigaos*)
6.13546 - # FIXME: we need at least 68020 code to build shared libraries, but
6.13547 - # adding the `-m68020' flag to GCC prevents building anything better,
6.13548 - # like `-m68040'.
6.13549 - lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
6.13550 - ;;
6.13551 -
6.13552 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6.13553 - # PIC is the default for these OSes.
6.13554 - ;;
6.13555 -
6.13556 - mingw* | pw32* | os2*)
6.13557 - # This hack is so that the source file can tell whether it is being
6.13558 - # built for inclusion in a dll (and should export symbols for example).
6.13559 - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
6.13560 - ;;
6.13561 -
6.13562 - darwin* | rhapsody*)
6.13563 - # PIC is the default on this platform
6.13564 - # Common symbols not allowed in MH_DYLIB files
6.13565 - lt_prog_compiler_pic_F77='-fno-common'
6.13566 - ;;
6.13567 -
6.13568 - msdosdjgpp*)
6.13569 - # Just because we use GCC doesn't mean we suddenly get shared libraries
6.13570 - # on systems that don't support them.
6.13571 - lt_prog_compiler_can_build_shared_F77=no
6.13572 - enable_shared=no
6.13573 - ;;
6.13574 -
6.13575 - sysv4*MP*)
6.13576 - if test -d /usr/nec; then
6.13577 - lt_prog_compiler_pic_F77=-Kconform_pic
6.13578 - fi
6.13579 - ;;
6.13580 -
6.13581 - hpux*)
6.13582 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6.13583 - # not for PA HP-UX.
6.13584 - case $host_cpu in
6.13585 - hppa*64*|ia64*)
6.13586 - # +Z the default
6.13587 - ;;
6.13588 - *)
6.13589 - lt_prog_compiler_pic_F77='-fPIC'
6.13590 - ;;
6.13591 - esac
6.13592 - ;;
6.13593 -
6.13594 - *)
6.13595 - lt_prog_compiler_pic_F77='-fPIC'
6.13596 - ;;
6.13597 - esac
6.13598 - else
6.13599 - # PORTME Check for flag to pass linker flags through the system compiler.
6.13600 - case $host_os in
6.13601 - aix*)
6.13602 - lt_prog_compiler_wl_F77='-Wl,'
6.13603 - if test "$host_cpu" = ia64; then
6.13604 - # AIX 5 now supports IA64 processor
6.13605 - lt_prog_compiler_static_F77='-Bstatic'
6.13606 - else
6.13607 - lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
6.13608 - fi
6.13609 - ;;
6.13610 - darwin*)
6.13611 - # PIC is the default on this platform
6.13612 - # Common symbols not allowed in MH_DYLIB files
6.13613 - case $cc_basename in
6.13614 - xlc*)
6.13615 - lt_prog_compiler_pic_F77='-qnocommon'
6.13616 - lt_prog_compiler_wl_F77='-Wl,'
6.13617 - ;;
6.13618 - esac
6.13619 - ;;
6.13620 -
6.13621 - mingw* | pw32* | os2*)
6.13622 - # This hack is so that the source file can tell whether it is being
6.13623 - # built for inclusion in a dll (and should export symbols for example).
6.13624 - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
6.13625 - ;;
6.13626 -
6.13627 - hpux9* | hpux10* | hpux11*)
6.13628 - lt_prog_compiler_wl_F77='-Wl,'
6.13629 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6.13630 - # not for PA HP-UX.
6.13631 - case $host_cpu in
6.13632 - hppa*64*|ia64*)
6.13633 - # +Z the default
6.13634 - ;;
6.13635 - *)
6.13636 - lt_prog_compiler_pic_F77='+Z'
6.13637 - ;;
6.13638 - esac
6.13639 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
6.13640 - lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
6.13641 - ;;
6.13642 -
6.13643 - irix5* | irix6* | nonstopux*)
6.13644 - lt_prog_compiler_wl_F77='-Wl,'
6.13645 - # PIC (with -KPIC) is the default.
6.13646 - lt_prog_compiler_static_F77='-non_shared'
6.13647 - ;;
6.13648 -
6.13649 - newsos6)
6.13650 - lt_prog_compiler_pic_F77='-KPIC'
6.13651 - lt_prog_compiler_static_F77='-Bstatic'
6.13652 - ;;
6.13653 -
6.13654 - linux*)
6.13655 - case $cc_basename in
6.13656 - icc* | ecc*)
6.13657 - lt_prog_compiler_wl_F77='-Wl,'
6.13658 - lt_prog_compiler_pic_F77='-KPIC'
6.13659 - lt_prog_compiler_static_F77='-static'
6.13660 - ;;
6.13661 - pgcc* | pgf77* | pgf90* | pgf95*)
6.13662 - # Portland Group compilers (*not* the Pentium gcc compiler,
6.13663 - # which looks to be a dead project)
6.13664 - lt_prog_compiler_wl_F77='-Wl,'
6.13665 - lt_prog_compiler_pic_F77='-fpic'
6.13666 - lt_prog_compiler_static_F77='-Bstatic'
6.13667 - ;;
6.13668 - ccc*)
6.13669 - lt_prog_compiler_wl_F77='-Wl,'
6.13670 - # All Alpha code is PIC.
6.13671 - lt_prog_compiler_static_F77='-non_shared'
6.13672 - ;;
6.13673 - esac
6.13674 - ;;
6.13675 -
6.13676 - osf3* | osf4* | osf5*)
6.13677 - lt_prog_compiler_wl_F77='-Wl,'
6.13678 - # All OSF/1 code is PIC.
6.13679 - lt_prog_compiler_static_F77='-non_shared'
6.13680 - ;;
6.13681 -
6.13682 - sco3.2v5*)
6.13683 - lt_prog_compiler_pic_F77='-Kpic'
6.13684 - lt_prog_compiler_static_F77='-dn'
6.13685 - ;;
6.13686 -
6.13687 - solaris*)
6.13688 - lt_prog_compiler_pic_F77='-KPIC'
6.13689 - lt_prog_compiler_static_F77='-Bstatic'
6.13690 - case $cc_basename in
6.13691 - f77* | f90* | f95*)
6.13692 - lt_prog_compiler_wl_F77='-Qoption ld ';;
6.13693 - *)
6.13694 - lt_prog_compiler_wl_F77='-Wl,';;
6.13695 - esac
6.13696 - ;;
6.13697 -
6.13698 - sunos4*)
6.13699 - lt_prog_compiler_wl_F77='-Qoption ld '
6.13700 - lt_prog_compiler_pic_F77='-PIC'
6.13701 - lt_prog_compiler_static_F77='-Bstatic'
6.13702 - ;;
6.13703 -
6.13704 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6.13705 - lt_prog_compiler_wl_F77='-Wl,'
6.13706 - lt_prog_compiler_pic_F77='-KPIC'
6.13707 - lt_prog_compiler_static_F77='-Bstatic'
6.13708 - ;;
6.13709 -
6.13710 - sysv4*MP*)
6.13711 - if test -d /usr/nec ;then
6.13712 - lt_prog_compiler_pic_F77='-Kconform_pic'
6.13713 - lt_prog_compiler_static_F77='-Bstatic'
6.13714 - fi
6.13715 - ;;
6.13716 -
6.13717 - unicos*)
6.13718 - lt_prog_compiler_wl_F77='-Wl,'
6.13719 - lt_prog_compiler_can_build_shared_F77=no
6.13720 - ;;
6.13721 -
6.13722 - uts4*)
6.13723 - lt_prog_compiler_pic_F77='-pic'
6.13724 - lt_prog_compiler_static_F77='-Bstatic'
6.13725 - ;;
6.13726 -
6.13727 - *)
6.13728 - lt_prog_compiler_can_build_shared_F77=no
6.13729 - ;;
6.13730 - esac
6.13731 - fi
6.13732 -
6.13733 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
6.13734 -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
6.13735 -
6.13736 -#
6.13737 -# Check to make sure the PIC flag actually works.
6.13738 -#
6.13739 -if test -n "$lt_prog_compiler_pic_F77"; then
6.13740 -
6.13741 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
6.13742 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
6.13743 -if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
6.13744 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.13745 -else
6.13746 - lt_prog_compiler_pic_works_F77=no
6.13747 - ac_outfile=conftest.$ac_objext
6.13748 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.13749 - lt_compiler_flag="$lt_prog_compiler_pic_F77"
6.13750 - # Insert the option either (1) after the last *FLAGS variable, or
6.13751 - # (2) before a word containing "conftest.", or (3) at the end.
6.13752 - # Note that $ac_compile itself does not contain backslashes and begins
6.13753 - # with a dollar sign (not a hyphen), so the echo should work correctly.
6.13754 - # The option is referenced via a variable to avoid confusing sed.
6.13755 - lt_compile=`echo "$ac_compile" | $SED \
6.13756 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.13757 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.13758 - -e 's:$: $lt_compiler_flag:'`
6.13759 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.13760 - (eval "$lt_compile" 2>conftest.err)
6.13761 - ac_status=$?
6.13762 - cat conftest.err >&5
6.13763 - echo "$as_me:__oline__: \$? = $ac_status" >&5
6.13764 - if (exit $ac_status) && test -s "$ac_outfile"; then
6.13765 - # The compiler can only warn and ignore the option if not recognized
6.13766 - # So say no if there are warnings other than the usual output.
6.13767 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6.13768 - $SED '/^$/d' conftest.err >conftest.er2
6.13769 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6.13770 - lt_prog_compiler_pic_works_F77=yes
6.13771 - fi
6.13772 - fi
6.13773 - $rm conftest*
6.13774 -
6.13775 -fi
6.13776 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
6.13777 -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
6.13778 -
6.13779 -if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
6.13780 - case $lt_prog_compiler_pic_F77 in
6.13781 - "" | " "*) ;;
6.13782 - *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
6.13783 - esac
6.13784 -else
6.13785 - lt_prog_compiler_pic_F77=
6.13786 - lt_prog_compiler_can_build_shared_F77=no
6.13787 -fi
6.13788 -
6.13789 -fi
6.13790 -case $host_os in
6.13791 - # For platforms which do not support PIC, -DPIC is meaningless:
6.13792 - *djgpp*)
6.13793 - lt_prog_compiler_pic_F77=
6.13794 - ;;
6.13795 - *)
6.13796 - lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
6.13797 - ;;
6.13798 -esac
6.13799 -
6.13800 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6.13801 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6.13802 -if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
6.13803 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.13804 -else
6.13805 - lt_cv_prog_compiler_c_o_F77=no
6.13806 - $rm -r conftest 2>/dev/null
6.13807 - mkdir conftest
6.13808 - cd conftest
6.13809 - mkdir out
6.13810 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.13811 -
6.13812 - lt_compiler_flag="-o out/conftest2.$ac_objext"
6.13813 - # Insert the option either (1) after the last *FLAGS variable, or
6.13814 - # (2) before a word containing "conftest.", or (3) at the end.
6.13815 - # Note that $ac_compile itself does not contain backslashes and begins
6.13816 - # with a dollar sign (not a hyphen), so the echo should work correctly.
6.13817 - lt_compile=`echo "$ac_compile" | $SED \
6.13818 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.13819 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.13820 - -e 's:$: $lt_compiler_flag:'`
6.13821 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.13822 - (eval "$lt_compile" 2>out/conftest.err)
6.13823 - ac_status=$?
6.13824 - cat out/conftest.err >&5
6.13825 - echo "$as_me:__oline__: \$? = $ac_status" >&5
6.13826 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
6.13827 - then
6.13828 - # The compiler can only warn and ignore the option if not recognized
6.13829 - # So say no if there are warnings
6.13830 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
6.13831 - $SED '/^$/d' out/conftest.err >out/conftest.er2
6.13832 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6.13833 - lt_cv_prog_compiler_c_o_F77=yes
6.13834 - fi
6.13835 - fi
6.13836 - chmod u+w . 2>&5
6.13837 - $rm conftest*
6.13838 - # SGI C++ compiler will create directory out/ii_files/ for
6.13839 - # template instantiation
6.13840 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
6.13841 - $rm out/* && rmdir out
6.13842 - cd ..
6.13843 - rmdir conftest
6.13844 - $rm conftest*
6.13845 -
6.13846 -fi
6.13847 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
6.13848 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
6.13849 -
6.13850 -
6.13851 -hard_links="nottested"
6.13852 -if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
6.13853 - # do not overwrite the value of need_locks provided by the user
6.13854 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6.13855 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6.13856 - hard_links=yes
6.13857 - $rm conftest*
6.13858 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
6.13859 - touch conftest.a
6.13860 - ln conftest.a conftest.b 2>&5 || hard_links=no
6.13861 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
6.13862 - echo "$as_me:$LINENO: result: $hard_links" >&5
6.13863 -echo "${ECHO_T}$hard_links" >&6
6.13864 - if test "$hard_links" = no; then
6.13865 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6.13866 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6.13867 - need_locks=warn
6.13868 - fi
6.13869 -else
6.13870 - need_locks=no
6.13871 -fi
6.13872 -
6.13873 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6.13874 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6.13875 -
6.13876 - runpath_var=
6.13877 - allow_undefined_flag_F77=
6.13878 - enable_shared_with_static_runtimes_F77=no
6.13879 - archive_cmds_F77=
6.13880 - archive_expsym_cmds_F77=
6.13881 - old_archive_From_new_cmds_F77=
6.13882 - old_archive_from_expsyms_cmds_F77=
6.13883 - export_dynamic_flag_spec_F77=
6.13884 - whole_archive_flag_spec_F77=
6.13885 - thread_safe_flag_spec_F77=
6.13886 - hardcode_libdir_flag_spec_F77=
6.13887 - hardcode_libdir_flag_spec_ld_F77=
6.13888 - hardcode_libdir_separator_F77=
6.13889 - hardcode_direct_F77=no
6.13890 - hardcode_minus_L_F77=no
6.13891 - hardcode_shlibpath_var_F77=unsupported
6.13892 - link_all_deplibs_F77=unknown
6.13893 - hardcode_automatic_F77=no
6.13894 - module_cmds_F77=
6.13895 - module_expsym_cmds_F77=
6.13896 - always_export_symbols_F77=no
6.13897 - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6.13898 - # include_expsyms should be a list of space-separated symbols to be *always*
6.13899 - # included in the symbol list
6.13900 - include_expsyms_F77=
6.13901 - # exclude_expsyms can be an extended regexp of symbols to exclude
6.13902 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
6.13903 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6.13904 - # as well as any symbol that contains `d'.
6.13905 - exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
6.13906 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6.13907 - # platforms (ab)use it in PIC code, but their linkers get confused if
6.13908 - # the symbol is explicitly referenced. Since portable code cannot
6.13909 - # rely on this symbol name, it's probably fine to never include it in
6.13910 - # preloaded symbol tables.
6.13911 - extract_expsyms_cmds=
6.13912 - # Just being paranoid about ensuring that cc_basename is set.
6.13913 - for cc_temp in $compiler""; do
6.13914 - case $cc_temp in
6.13915 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6.13916 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6.13917 - \-*) ;;
6.13918 - *) break;;
6.13919 - esac
6.13920 -done
6.13921 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6.13922 -
6.13923 - case $host_os in
6.13924 - cygwin* | mingw* | pw32*)
6.13925 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
6.13926 - # When not using gcc, we currently assume that we are using
6.13927 - # Microsoft Visual C++.
6.13928 - if test "$GCC" != yes; then
6.13929 - with_gnu_ld=no
6.13930 - fi
6.13931 - ;;
6.13932 - openbsd*)
6.13933 - with_gnu_ld=no
6.13934 - ;;
6.13935 - esac
6.13936 -
6.13937 - ld_shlibs_F77=yes
6.13938 - if test "$with_gnu_ld" = yes; then
6.13939 - # If archive_cmds runs LD, not CC, wlarc should be empty
6.13940 - wlarc='${wl}'
6.13941 -
6.13942 - # Set some defaults for GNU ld with shared library support. These
6.13943 - # are reset later if shared libraries are not supported. Putting them
6.13944 - # here allows them to be overridden if necessary.
6.13945 - runpath_var=LD_RUN_PATH
6.13946 - hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
6.13947 - export_dynamic_flag_spec_F77='${wl}--export-dynamic'
6.13948 - # ancient GNU ld didn't support --whole-archive et. al.
6.13949 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6.13950 - whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6.13951 - else
6.13952 - whole_archive_flag_spec_F77=
6.13953 - fi
6.13954 - supports_anon_versioning=no
6.13955 - case `$LD -v 2>/dev/null` in
6.13956 - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6.13957 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6.13958 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6.13959 - *\ 2.11.*) ;; # other 2.11 versions
6.13960 - *) supports_anon_versioning=yes ;;
6.13961 - esac
6.13962 -
6.13963 - # See if GNU ld supports shared libraries.
6.13964 - case $host_os in
6.13965 - aix3* | aix4* | aix5*)
6.13966 - # On AIX/PPC, the GNU linker is very broken
6.13967 - if test "$host_cpu" != ia64; then
6.13968 - ld_shlibs_F77=no
6.13969 - cat <<EOF 1>&2
6.13970 -
6.13971 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
6.13972 -*** to be unable to reliably create shared libraries on AIX.
6.13973 -*** Therefore, libtool is disabling shared libraries support. If you
6.13974 -*** really care for shared libraries, you may want to modify your PATH
6.13975 -*** so that a non-GNU linker is found, and then restart.
6.13976 -
6.13977 -EOF
6.13978 - fi
6.13979 - ;;
6.13980 -
6.13981 - amigaos*)
6.13982 - archive_cmds_F77='$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)'
6.13983 - hardcode_libdir_flag_spec_F77='-L$libdir'
6.13984 - hardcode_minus_L_F77=yes
6.13985 -
6.13986 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6.13987 - # that the semantics of dynamic libraries on AmigaOS, at least up
6.13988 - # to version 4, is to share data among multiple programs linked
6.13989 - # with the same dynamic library. Since this doesn't match the
6.13990 - # behavior of shared libraries on other platforms, we can't use
6.13991 - # them.
6.13992 - ld_shlibs_F77=no
6.13993 - ;;
6.13994 -
6.13995 - beos*)
6.13996 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.13997 - allow_undefined_flag_F77=unsupported
6.13998 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6.13999 - # support --undefined. This deserves some investigation. FIXME
6.14000 - archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.14001 - else
6.14002 - ld_shlibs_F77=no
6.14003 - fi
6.14004 - ;;
6.14005 -
6.14006 - cygwin* | mingw* | pw32*)
6.14007 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
6.14008 - # as there is no search path for DLLs.
6.14009 - hardcode_libdir_flag_spec_F77='-L$libdir'
6.14010 - allow_undefined_flag_F77=unsupported
6.14011 - always_export_symbols_F77=no
6.14012 - enable_shared_with_static_runtimes_F77=yes
6.14013 - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6.14014 -
6.14015 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6.14016 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6.14017 - # If the export-symbols file already is a .def file (1st line
6.14018 - # is EXPORTS), use it as is; otherwise, prepend...
6.14019 - archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6.14020 - cp $export_symbols $output_objdir/$soname.def;
6.14021 - else
6.14022 - echo EXPORTS > $output_objdir/$soname.def;
6.14023 - cat $export_symbols >> $output_objdir/$soname.def;
6.14024 - fi~
6.14025 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6.14026 - else
6.14027 - ld_shlibs_F77=no
6.14028 - fi
6.14029 - ;;
6.14030 -
6.14031 - linux*)
6.14032 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.14033 - tmp_addflag=
6.14034 - case $cc_basename,$host_cpu in
6.14035 - pgcc*) # Portland Group C compiler
6.14036 - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6.14037 - tmp_addflag=' $pic_flag'
6.14038 - ;;
6.14039 - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
6.14040 - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6.14041 - tmp_addflag=' $pic_flag -Mnomain' ;;
6.14042 - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
6.14043 - tmp_addflag=' -i_dynamic' ;;
6.14044 - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
6.14045 - tmp_addflag=' -i_dynamic -nofor_main' ;;
6.14046 - ifc* | ifort*) # Intel Fortran compiler
6.14047 - tmp_addflag=' -nofor_main' ;;
6.14048 - esac
6.14049 - archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.14050 -
6.14051 - if test $supports_anon_versioning = yes; then
6.14052 - archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
6.14053 - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6.14054 - $echo "local: *; };" >> $output_objdir/$libname.ver~
6.14055 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6.14056 - fi
6.14057 - else
6.14058 - ld_shlibs_F77=no
6.14059 - fi
6.14060 - ;;
6.14061 -
6.14062 - netbsd*)
6.14063 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.14064 - archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6.14065 - wlarc=
6.14066 - else
6.14067 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.14068 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.14069 - fi
6.14070 - ;;
6.14071 -
6.14072 - solaris* | sysv5*)
6.14073 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6.14074 - ld_shlibs_F77=no
6.14075 - cat <<EOF 1>&2
6.14076 -
6.14077 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
6.14078 -*** create shared libraries on Solaris systems. Therefore, libtool
6.14079 -*** is disabling shared libraries support. We urge you to upgrade GNU
6.14080 -*** binutils to release 2.9.1 or newer. Another option is to modify
6.14081 -*** your PATH or compiler configuration so that the native linker is
6.14082 -*** used, and then restart.
6.14083 -
6.14084 -EOF
6.14085 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.14086 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.14087 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.14088 - else
6.14089 - ld_shlibs_F77=no
6.14090 - fi
6.14091 - ;;
6.14092 -
6.14093 - sunos4*)
6.14094 - archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.14095 - wlarc=
6.14096 - hardcode_direct_F77=yes
6.14097 - hardcode_shlibpath_var_F77=no
6.14098 - ;;
6.14099 -
6.14100 - *)
6.14101 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.14102 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.14103 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.14104 - else
6.14105 - ld_shlibs_F77=no
6.14106 - fi
6.14107 - ;;
6.14108 - esac
6.14109 -
6.14110 - if test "$ld_shlibs_F77" = no; then
6.14111 - runpath_var=
6.14112 - hardcode_libdir_flag_spec_F77=
6.14113 - export_dynamic_flag_spec_F77=
6.14114 - whole_archive_flag_spec_F77=
6.14115 - fi
6.14116 - else
6.14117 - # PORTME fill in a description of your system's linker (not GNU ld)
6.14118 - case $host_os in
6.14119 - aix3*)
6.14120 - allow_undefined_flag_F77=unsupported
6.14121 - always_export_symbols_F77=yes
6.14122 - archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
6.14123 - # Note: this linker hardcodes the directories in LIBPATH if there
6.14124 - # are no directories specified by -L.
6.14125 - hardcode_minus_L_F77=yes
6.14126 - if test "$GCC" = yes && test -z "$link_static_flag"; then
6.14127 - # Neither direct hardcoding nor static linking is supported with a
6.14128 - # broken collect2.
6.14129 - hardcode_direct_F77=unsupported
6.14130 - fi
6.14131 - ;;
6.14132 -
6.14133 - aix4* | aix5*)
6.14134 - if test "$host_cpu" = ia64; then
6.14135 - # On IA64, the linker does run time linking by default, so we don't
6.14136 - # have to do anything special.
6.14137 - aix_use_runtimelinking=no
6.14138 - exp_sym_flag='-Bexport'
6.14139 - no_entry_flag=""
6.14140 - else
6.14141 - # If we're using GNU nm, then we don't want the "-C" option.
6.14142 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
6.14143 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6.14144 - export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
6.14145 - else
6.14146 - export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
6.14147 - fi
6.14148 - aix_use_runtimelinking=no
6.14149 -
6.14150 - # Test if we are trying to use run time linking or normal
6.14151 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6.14152 - # need to do runtime linking.
6.14153 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6.14154 - for ld_flag in $LDFLAGS; do
6.14155 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6.14156 - aix_use_runtimelinking=yes
6.14157 - break
6.14158 - fi
6.14159 - done
6.14160 - esac
6.14161 -
6.14162 - exp_sym_flag='-bexport'
6.14163 - no_entry_flag='-bnoentry'
6.14164 - fi
6.14165 -
6.14166 - # When large executables or shared objects are built, AIX ld can
6.14167 - # have problems creating the table of contents. If linking a library
6.14168 - # or program results in "error TOC overflow" add -mminimal-toc to
6.14169 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6.14170 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6.14171 -
6.14172 - archive_cmds_F77=''
6.14173 - hardcode_direct_F77=yes
6.14174 - hardcode_libdir_separator_F77=':'
6.14175 - link_all_deplibs_F77=yes
6.14176 -
6.14177 - if test "$GCC" = yes; then
6.14178 - case $host_os in aix4.[012]|aix4.[012].*)
6.14179 - # We only want to do this on AIX 4.2 and lower, the check
6.14180 - # below for broken collect2 doesn't work under 4.3+
6.14181 - collect2name=`${CC} -print-prog-name=collect2`
6.14182 - if test -f "$collect2name" && \
6.14183 - strings "$collect2name" | grep resolve_lib_name >/dev/null
6.14184 - then
6.14185 - # We have reworked collect2
6.14186 - hardcode_direct_F77=yes
6.14187 - else
6.14188 - # We have old collect2
6.14189 - hardcode_direct_F77=unsupported
6.14190 - # It fails to find uninstalled libraries when the uninstalled
6.14191 - # path is not listed in the libpath. Setting hardcode_minus_L
6.14192 - # to unsupported forces relinking
6.14193 - hardcode_minus_L_F77=yes
6.14194 - hardcode_libdir_flag_spec_F77='-L$libdir'
6.14195 - hardcode_libdir_separator_F77=
6.14196 - fi
6.14197 - esac
6.14198 - shared_flag='-shared'
6.14199 - if test "$aix_use_runtimelinking" = yes; then
6.14200 - shared_flag="$shared_flag "'${wl}-G'
6.14201 - fi
6.14202 - else
6.14203 - # not using gcc
6.14204 - if test "$host_cpu" = ia64; then
6.14205 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6.14206 - # chokes on -Wl,-G. The following line is correct:
6.14207 - shared_flag='-G'
6.14208 - else
6.14209 - if test "$aix_use_runtimelinking" = yes; then
6.14210 - shared_flag='${wl}-G'
6.14211 - else
6.14212 - shared_flag='${wl}-bM:SRE'
6.14213 - fi
6.14214 - fi
6.14215 - fi
6.14216 -
6.14217 - # It seems that -bexpall does not export symbols beginning with
6.14218 - # underscore (_), so it is better to generate a list of symbols to export.
6.14219 - always_export_symbols_F77=yes
6.14220 - if test "$aix_use_runtimelinking" = yes; then
6.14221 - # Warning - without using the other runtime loading flags (-brtl),
6.14222 - # -berok will link without error, but may produce a broken library.
6.14223 - allow_undefined_flag_F77='-berok'
6.14224 - # Determine the default libpath from the value encoded in an empty executable.
6.14225 - cat >conftest.$ac_ext <<_ACEOF
6.14226 - program main
6.14227 -
6.14228 - end
6.14229 -_ACEOF
6.14230 -rm -f conftest.$ac_objext conftest$ac_exeext
6.14231 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.14232 - (eval $ac_link) 2>conftest.er1
6.14233 - ac_status=$?
6.14234 - grep -v '^ *+' conftest.er1 >conftest.err
6.14235 - rm -f conftest.er1
6.14236 - cat conftest.err >&5
6.14237 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.14238 - (exit $ac_status); } &&
6.14239 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
6.14240 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.14241 - (eval $ac_try) 2>&5
6.14242 - ac_status=$?
6.14243 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.14244 - (exit $ac_status); }; } &&
6.14245 - { ac_try='test -s conftest$ac_exeext'
6.14246 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.14247 - (eval $ac_try) 2>&5
6.14248 - ac_status=$?
6.14249 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.14250 - (exit $ac_status); }; }; then
6.14251 -
6.14252 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6.14253 -}'`
6.14254 -# Check for a 64-bit object if we didn't find anything.
6.14255 -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; }
6.14256 -}'`; fi
6.14257 -else
6.14258 - echo "$as_me: failed program was:" >&5
6.14259 -sed 's/^/| /' conftest.$ac_ext >&5
6.14260 -
6.14261 -fi
6.14262 -rm -f conftest.err conftest.$ac_objext \
6.14263 - conftest$ac_exeext conftest.$ac_ext
6.14264 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6.14265 -
6.14266 - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
6.14267 - archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6.14268 - else
6.14269 - if test "$host_cpu" = ia64; then
6.14270 - hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
6.14271 - allow_undefined_flag_F77="-z nodefs"
6.14272 - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
6.14273 - else
6.14274 - # Determine the default libpath from the value encoded in an empty executable.
6.14275 - cat >conftest.$ac_ext <<_ACEOF
6.14276 - program main
6.14277 -
6.14278 - end
6.14279 -_ACEOF
6.14280 -rm -f conftest.$ac_objext conftest$ac_exeext
6.14281 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.14282 - (eval $ac_link) 2>conftest.er1
6.14283 - ac_status=$?
6.14284 - grep -v '^ *+' conftest.er1 >conftest.err
6.14285 - rm -f conftest.er1
6.14286 - cat conftest.err >&5
6.14287 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.14288 - (exit $ac_status); } &&
6.14289 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
6.14290 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.14291 - (eval $ac_try) 2>&5
6.14292 - ac_status=$?
6.14293 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.14294 - (exit $ac_status); }; } &&
6.14295 - { ac_try='test -s conftest$ac_exeext'
6.14296 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.14297 - (eval $ac_try) 2>&5
6.14298 - ac_status=$?
6.14299 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.14300 - (exit $ac_status); }; }; then
6.14301 -
6.14302 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6.14303 -}'`
6.14304 -# Check for a 64-bit object if we didn't find anything.
6.14305 -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; }
6.14306 -}'`; fi
6.14307 -else
6.14308 - echo "$as_me: failed program was:" >&5
6.14309 -sed 's/^/| /' conftest.$ac_ext >&5
6.14310 -
6.14311 -fi
6.14312 -rm -f conftest.err conftest.$ac_objext \
6.14313 - conftest$ac_exeext conftest.$ac_ext
6.14314 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6.14315 -
6.14316 - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
6.14317 - # Warning - without using the other run time loading flags,
6.14318 - # -berok will link without error, but may produce a broken library.
6.14319 - no_undefined_flag_F77=' ${wl}-bernotok'
6.14320 - allow_undefined_flag_F77=' ${wl}-berok'
6.14321 - # -bexpall does not export symbols beginning with underscore (_)
6.14322 - always_export_symbols_F77=yes
6.14323 - # Exported symbols can be pulled into shared objects from archives
6.14324 - whole_archive_flag_spec_F77=' '
6.14325 - archive_cmds_need_lc_F77=yes
6.14326 - # This is similar to how AIX traditionally builds its shared libraries.
6.14327 - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
6.14328 - fi
6.14329 - fi
6.14330 - ;;
6.14331 -
6.14332 - amigaos*)
6.14333 - archive_cmds_F77='$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)'
6.14334 - hardcode_libdir_flag_spec_F77='-L$libdir'
6.14335 - hardcode_minus_L_F77=yes
6.14336 - # see comment about different semantics on the GNU ld section
6.14337 - ld_shlibs_F77=no
6.14338 - ;;
6.14339 -
6.14340 - bsdi[45]*)
6.14341 - export_dynamic_flag_spec_F77=-rdynamic
6.14342 - ;;
6.14343 -
6.14344 - cygwin* | mingw* | pw32*)
6.14345 - # When not using gcc, we currently assume that we are using
6.14346 - # Microsoft Visual C++.
6.14347 - # hardcode_libdir_flag_spec is actually meaningless, as there is
6.14348 - # no search path for DLLs.
6.14349 - hardcode_libdir_flag_spec_F77=' '
6.14350 - allow_undefined_flag_F77=unsupported
6.14351 - # Tell ltmain to make .lib files, not .a files.
6.14352 - libext=lib
6.14353 - # Tell ltmain to make .dll files, not .so files.
6.14354 - shrext_cmds=".dll"
6.14355 - # FIXME: Setting linknames here is a bad hack.
6.14356 - archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6.14357 - # The linker will automatically build a .lib file if we build a DLL.
6.14358 - old_archive_From_new_cmds_F77='true'
6.14359 - # FIXME: Should let the user specify the lib program.
6.14360 - old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
6.14361 - fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
6.14362 - enable_shared_with_static_runtimes_F77=yes
6.14363 - ;;
6.14364 -
6.14365 - darwin* | rhapsody*)
6.14366 - case $host_os in
6.14367 - rhapsody* | darwin1.[012])
6.14368 - allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
6.14369 - ;;
6.14370 - *) # Darwin 1.3 on
6.14371 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6.14372 - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6.14373 - else
6.14374 - case ${MACOSX_DEPLOYMENT_TARGET} in
6.14375 - 10.[012])
6.14376 - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6.14377 - ;;
6.14378 - 10.*)
6.14379 - allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
6.14380 - ;;
6.14381 - esac
6.14382 - fi
6.14383 - ;;
6.14384 - esac
6.14385 - archive_cmds_need_lc_F77=no
6.14386 - hardcode_direct_F77=no
6.14387 - hardcode_automatic_F77=yes
6.14388 - hardcode_shlibpath_var_F77=unsupported
6.14389 - whole_archive_flag_spec_F77=''
6.14390 - link_all_deplibs_F77=yes
6.14391 - if test "$GCC" = yes ; then
6.14392 - output_verbose_link_cmd='echo'
6.14393 - archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6.14394 - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6.14395 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6.14396 - archive_expsym_cmds_F77='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}'
6.14397 - module_expsym_cmds_F77='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}'
6.14398 - else
6.14399 - case $cc_basename in
6.14400 - xlc*)
6.14401 - output_verbose_link_cmd='echo'
6.14402 - archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
6.14403 - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6.14404 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6.14405 - archive_expsym_cmds_F77='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}'
6.14406 - module_expsym_cmds_F77='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}'
6.14407 - ;;
6.14408 - *)
6.14409 - ld_shlibs_F77=no
6.14410 - ;;
6.14411 - esac
6.14412 - fi
6.14413 - ;;
6.14414 -
6.14415 - dgux*)
6.14416 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14417 - hardcode_libdir_flag_spec_F77='-L$libdir'
6.14418 - hardcode_shlibpath_var_F77=no
6.14419 - ;;
6.14420 -
6.14421 - freebsd1*)
6.14422 - ld_shlibs_F77=no
6.14423 - ;;
6.14424 -
6.14425 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6.14426 - # support. Future versions do this automatically, but an explicit c++rt0.o
6.14427 - # does not break anything, and helps significantly (at the cost of a little
6.14428 - # extra space).
6.14429 - freebsd2.2*)
6.14430 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
6.14431 - hardcode_libdir_flag_spec_F77='-R$libdir'
6.14432 - hardcode_direct_F77=yes
6.14433 - hardcode_shlibpath_var_F77=no
6.14434 - ;;
6.14435 -
6.14436 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6.14437 - freebsd2*)
6.14438 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.14439 - hardcode_direct_F77=yes
6.14440 - hardcode_minus_L_F77=yes
6.14441 - hardcode_shlibpath_var_F77=no
6.14442 - ;;
6.14443 -
6.14444 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6.14445 - freebsd* | kfreebsd*-gnu | dragonfly*)
6.14446 - archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6.14447 - hardcode_libdir_flag_spec_F77='-R$libdir'
6.14448 - hardcode_direct_F77=yes
6.14449 - hardcode_shlibpath_var_F77=no
6.14450 - ;;
6.14451 -
6.14452 - hpux9*)
6.14453 - if test "$GCC" = yes; then
6.14454 - archive_cmds_F77='$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'
6.14455 - else
6.14456 - archive_cmds_F77='$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'
6.14457 - fi
6.14458 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
6.14459 - hardcode_libdir_separator_F77=:
6.14460 - hardcode_direct_F77=yes
6.14461 -
6.14462 - # hardcode_minus_L: Not really in the search PATH,
6.14463 - # but as the default location of the library.
6.14464 - hardcode_minus_L_F77=yes
6.14465 - export_dynamic_flag_spec_F77='${wl}-E'
6.14466 - ;;
6.14467 -
6.14468 - hpux10* | hpux11*)
6.14469 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6.14470 - case $host_cpu in
6.14471 - hppa*64*|ia64*)
6.14472 - archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.14473 - ;;
6.14474 - *)
6.14475 - archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6.14476 - ;;
6.14477 - esac
6.14478 - else
6.14479 - case $host_cpu in
6.14480 - hppa*64*|ia64*)
6.14481 - archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14482 - ;;
6.14483 - *)
6.14484 - archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6.14485 - ;;
6.14486 - esac
6.14487 - fi
6.14488 - if test "$with_gnu_ld" = no; then
6.14489 - case $host_cpu in
6.14490 - hppa*64*)
6.14491 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
6.14492 - hardcode_libdir_flag_spec_ld_F77='+b $libdir'
6.14493 - hardcode_libdir_separator_F77=:
6.14494 - hardcode_direct_F77=no
6.14495 - hardcode_shlibpath_var_F77=no
6.14496 - ;;
6.14497 - ia64*)
6.14498 - hardcode_libdir_flag_spec_F77='-L$libdir'
6.14499 - hardcode_direct_F77=no
6.14500 - hardcode_shlibpath_var_F77=no
6.14501 -
6.14502 - # hardcode_minus_L: Not really in the search PATH,
6.14503 - # but as the default location of the library.
6.14504 - hardcode_minus_L_F77=yes
6.14505 - ;;
6.14506 - *)
6.14507 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
6.14508 - hardcode_libdir_separator_F77=:
6.14509 - hardcode_direct_F77=yes
6.14510 - export_dynamic_flag_spec_F77='${wl}-E'
6.14511 -
6.14512 - # hardcode_minus_L: Not really in the search PATH,
6.14513 - # but as the default location of the library.
6.14514 - hardcode_minus_L_F77=yes
6.14515 - ;;
6.14516 - esac
6.14517 - fi
6.14518 - ;;
6.14519 -
6.14520 - irix5* | irix6* | nonstopux*)
6.14521 - if test "$GCC" = yes; then
6.14522 - archive_cmds_F77='$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'
6.14523 - else
6.14524 - archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6.14525 - hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
6.14526 - fi
6.14527 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
6.14528 - hardcode_libdir_separator_F77=:
6.14529 - link_all_deplibs_F77=yes
6.14530 - ;;
6.14531 -
6.14532 - netbsd*)
6.14533 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.14534 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6.14535 - else
6.14536 - archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
6.14537 - fi
6.14538 - hardcode_libdir_flag_spec_F77='-R$libdir'
6.14539 - hardcode_direct_F77=yes
6.14540 - hardcode_shlibpath_var_F77=no
6.14541 - ;;
6.14542 -
6.14543 - newsos6)
6.14544 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14545 - hardcode_direct_F77=yes
6.14546 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
6.14547 - hardcode_libdir_separator_F77=:
6.14548 - hardcode_shlibpath_var_F77=no
6.14549 - ;;
6.14550 -
6.14551 - openbsd*)
6.14552 - hardcode_direct_F77=yes
6.14553 - hardcode_shlibpath_var_F77=no
6.14554 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.14555 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6.14556 - archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
6.14557 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
6.14558 - export_dynamic_flag_spec_F77='${wl}-E'
6.14559 - else
6.14560 - case $host_os in
6.14561 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
6.14562 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.14563 - hardcode_libdir_flag_spec_F77='-R$libdir'
6.14564 - ;;
6.14565 - *)
6.14566 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6.14567 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
6.14568 - ;;
6.14569 - esac
6.14570 - fi
6.14571 - ;;
6.14572 -
6.14573 - os2*)
6.14574 - hardcode_libdir_flag_spec_F77='-L$libdir'
6.14575 - hardcode_minus_L_F77=yes
6.14576 - allow_undefined_flag_F77=unsupported
6.14577 - archive_cmds_F77='$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'
6.14578 - old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
6.14579 - ;;
6.14580 -
6.14581 - osf3*)
6.14582 - if test "$GCC" = yes; then
6.14583 - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
6.14584 - archive_cmds_F77='$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'
6.14585 - else
6.14586 - allow_undefined_flag_F77=' -expect_unresolved \*'
6.14587 - archive_cmds_F77='$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'
6.14588 - fi
6.14589 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
6.14590 - hardcode_libdir_separator_F77=:
6.14591 - ;;
6.14592 -
6.14593 - osf4* | osf5*) # as osf3* with the addition of -msym flag
6.14594 - if test "$GCC" = yes; then
6.14595 - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
6.14596 - archive_cmds_F77='$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'
6.14597 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
6.14598 - else
6.14599 - allow_undefined_flag_F77=' -expect_unresolved \*'
6.14600 - archive_cmds_F77='$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'
6.14601 - archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
6.14602 - $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'
6.14603 -
6.14604 - # Both c and cxx compiler support -rpath directly
6.14605 - hardcode_libdir_flag_spec_F77='-rpath $libdir'
6.14606 - fi
6.14607 - hardcode_libdir_separator_F77=:
6.14608 - ;;
6.14609 -
6.14610 - sco3.2v5*)
6.14611 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14612 - hardcode_shlibpath_var_F77=no
6.14613 - export_dynamic_flag_spec_F77='${wl}-Bexport'
6.14614 - runpath_var=LD_RUN_PATH
6.14615 - hardcode_runpath_var=yes
6.14616 - ;;
6.14617 -
6.14618 - solaris*)
6.14619 - no_undefined_flag_F77=' -z text'
6.14620 - if test "$GCC" = yes; then
6.14621 - wlarc='${wl}'
6.14622 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.14623 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.14624 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
6.14625 - else
6.14626 - wlarc=''
6.14627 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14628 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.14629 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6.14630 - fi
6.14631 - hardcode_libdir_flag_spec_F77='-R$libdir'
6.14632 - hardcode_shlibpath_var_F77=no
6.14633 - case $host_os in
6.14634 - solaris2.[0-5] | solaris2.[0-5].*) ;;
6.14635 - *)
6.14636 - # The compiler driver will combine linker options so we
6.14637 - # cannot just pass the convience library names through
6.14638 - # without $wl, iff we do not link with $LD.
6.14639 - # Luckily, gcc supports the same syntax we need for Sun Studio.
6.14640 - # Supported since Solaris 2.6 (maybe 2.5.1?)
6.14641 - case $wlarc in
6.14642 - '')
6.14643 - whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
6.14644 - *)
6.14645 - whole_archive_flag_spec_F77='${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' ;;
6.14646 - esac ;;
6.14647 - esac
6.14648 - link_all_deplibs_F77=yes
6.14649 - ;;
6.14650 -
6.14651 - sunos4*)
6.14652 - if test "x$host_vendor" = xsequent; then
6.14653 - # Use $CC to link under sequent, because it throws in some extra .o
6.14654 - # files that make .init and .fini sections work.
6.14655 - archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6.14656 - else
6.14657 - archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
6.14658 - fi
6.14659 - hardcode_libdir_flag_spec_F77='-L$libdir'
6.14660 - hardcode_direct_F77=yes
6.14661 - hardcode_minus_L_F77=yes
6.14662 - hardcode_shlibpath_var_F77=no
6.14663 - ;;
6.14664 -
6.14665 - sysv4)
6.14666 - case $host_vendor in
6.14667 - sni)
6.14668 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14669 - hardcode_direct_F77=yes # is this really true???
6.14670 - ;;
6.14671 - siemens)
6.14672 - ## LD is ld it makes a PLAMLIB
6.14673 - ## CC just makes a GrossModule.
6.14674 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6.14675 - reload_cmds_F77='$CC -r -o $output$reload_objs'
6.14676 - hardcode_direct_F77=no
6.14677 - ;;
6.14678 - motorola)
6.14679 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14680 - hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
6.14681 - ;;
6.14682 - esac
6.14683 - runpath_var='LD_RUN_PATH'
6.14684 - hardcode_shlibpath_var_F77=no
6.14685 - ;;
6.14686 -
6.14687 - sysv4.3*)
6.14688 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14689 - hardcode_shlibpath_var_F77=no
6.14690 - export_dynamic_flag_spec_F77='-Bexport'
6.14691 - ;;
6.14692 -
6.14693 - sysv4*MP*)
6.14694 - if test -d /usr/nec; then
6.14695 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14696 - hardcode_shlibpath_var_F77=no
6.14697 - runpath_var=LD_RUN_PATH
6.14698 - hardcode_runpath_var=yes
6.14699 - ld_shlibs_F77=yes
6.14700 - fi
6.14701 - ;;
6.14702 -
6.14703 - sysv4.2uw2*)
6.14704 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6.14705 - hardcode_direct_F77=yes
6.14706 - hardcode_minus_L_F77=no
6.14707 - hardcode_shlibpath_var_F77=no
6.14708 - hardcode_runpath_var=yes
6.14709 - runpath_var=LD_RUN_PATH
6.14710 - ;;
6.14711 -
6.14712 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
6.14713 - no_undefined_flag_F77='${wl}-z ${wl}text'
6.14714 - if test "$GCC" = yes; then
6.14715 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.14716 - else
6.14717 - archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.14718 - fi
6.14719 - runpath_var='LD_RUN_PATH'
6.14720 - hardcode_shlibpath_var_F77=no
6.14721 - ;;
6.14722 -
6.14723 - sysv5*)
6.14724 - no_undefined_flag_F77=' -z text'
6.14725 - # $CC -shared without GNU ld will not create a library from C++
6.14726 - # object files and a static libstdc++, better avoid it by now
6.14727 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14728 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.14729 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6.14730 - hardcode_libdir_flag_spec_F77=
6.14731 - hardcode_shlibpath_var_F77=no
6.14732 - runpath_var='LD_RUN_PATH'
6.14733 - ;;
6.14734 -
6.14735 - uts4*)
6.14736 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14737 - hardcode_libdir_flag_spec_F77='-L$libdir'
6.14738 - hardcode_shlibpath_var_F77=no
6.14739 - ;;
6.14740 -
6.14741 - *)
6.14742 - ld_shlibs_F77=no
6.14743 - ;;
6.14744 - esac
6.14745 - fi
6.14746 -
6.14747 -echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
6.14748 -echo "${ECHO_T}$ld_shlibs_F77" >&6
6.14749 -test "$ld_shlibs_F77" = no && can_build_shared=no
6.14750 -
6.14751 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6.14752 -if test "$GCC" = yes; then
6.14753 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6.14754 -fi
6.14755 -
6.14756 -#
6.14757 -# Do we need to explicitly link libc?
6.14758 -#
6.14759 -case "x$archive_cmds_need_lc_F77" in
6.14760 -x|xyes)
6.14761 - # Assume -lc should be added
6.14762 - archive_cmds_need_lc_F77=yes
6.14763 -
6.14764 - if test "$enable_shared" = yes && test "$GCC" = yes; then
6.14765 - case $archive_cmds_F77 in
6.14766 - *'~'*)
6.14767 - # FIXME: we may have to deal with multi-command sequences.
6.14768 - ;;
6.14769 - '$CC '*)
6.14770 - # Test whether the compiler implicitly links with -lc since on some
6.14771 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
6.14772 - # to ld, don't add -lc before -lgcc.
6.14773 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
6.14774 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
6.14775 - $rm conftest*
6.14776 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.14777 -
6.14778 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.14779 - (eval $ac_compile) 2>&5
6.14780 - ac_status=$?
6.14781 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.14782 - (exit $ac_status); } 2>conftest.err; then
6.14783 - soname=conftest
6.14784 - lib=conftest
6.14785 - libobjs=conftest.$ac_objext
6.14786 - deplibs=
6.14787 - wl=$lt_prog_compiler_wl_F77
6.14788 - compiler_flags=-v
6.14789 - linker_flags=-v
6.14790 - verstring=
6.14791 - output_objdir=.
6.14792 - libname=conftest
6.14793 - lt_save_allow_undefined_flag=$allow_undefined_flag_F77
6.14794 - allow_undefined_flag_F77=
6.14795 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
6.14796 - (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
6.14797 - ac_status=$?
6.14798 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.14799 - (exit $ac_status); }
6.14800 - then
6.14801 - archive_cmds_need_lc_F77=no
6.14802 - else
6.14803 - archive_cmds_need_lc_F77=yes
6.14804 - fi
6.14805 - allow_undefined_flag_F77=$lt_save_allow_undefined_flag
6.14806 - else
6.14807 - cat conftest.err 1>&5
6.14808 - fi
6.14809 - $rm conftest*
6.14810 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
6.14811 -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
6.14812 - ;;
6.14813 - esac
6.14814 - fi
6.14815 - ;;
6.14816 -esac
6.14817 -
6.14818 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6.14819 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6.14820 -library_names_spec=
6.14821 -libname_spec='lib$name'
6.14822 -soname_spec=
6.14823 -shrext_cmds=".so"
6.14824 -postinstall_cmds=
6.14825 -postuninstall_cmds=
6.14826 -finish_cmds=
6.14827 -finish_eval=
6.14828 -shlibpath_var=
6.14829 -shlibpath_overrides_runpath=unknown
6.14830 -version_type=none
6.14831 -dynamic_linker="$host_os ld.so"
6.14832 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
6.14833 -if test "$GCC" = yes; then
6.14834 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6.14835 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
6.14836 - # if the path contains ";" then we assume it to be the separator
6.14837 - # otherwise default to the standard path separator (i.e. ":") - it is
6.14838 - # assumed that no part of a normal pathname contains ";" but that should
6.14839 - # okay in the real world where ";" in dirpaths is itself problematic.
6.14840 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6.14841 - else
6.14842 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6.14843 - fi
6.14844 -else
6.14845 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
6.14846 -fi
6.14847 -need_lib_prefix=unknown
6.14848 -hardcode_into_libs=no
6.14849 -
6.14850 -# when you set need_version to no, make sure it does not cause -set_version
6.14851 -# flags to be left without arguments
6.14852 -need_version=unknown
6.14853 -
6.14854 -case $host_os in
6.14855 -aix3*)
6.14856 - version_type=linux
6.14857 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
6.14858 - shlibpath_var=LIBPATH
6.14859 -
6.14860 - # AIX 3 has no versioning support, so we append a major version to the name.
6.14861 - soname_spec='${libname}${release}${shared_ext}$major'
6.14862 - ;;
6.14863 -
6.14864 -aix4* | aix5*)
6.14865 - version_type=linux
6.14866 - need_lib_prefix=no
6.14867 - need_version=no
6.14868 - hardcode_into_libs=yes
6.14869 - if test "$host_cpu" = ia64; then
6.14870 - # AIX 5 supports IA64
6.14871 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6.14872 - shlibpath_var=LD_LIBRARY_PATH
6.14873 - else
6.14874 - # With GCC up to 2.95.x, collect2 would create an import file
6.14875 - # for dependence libraries. The import file would start with
6.14876 - # the line `#! .'. This would cause the generated library to
6.14877 - # depend on `.', always an invalid library. This was fixed in
6.14878 - # development snapshots of GCC prior to 3.0.
6.14879 - case $host_os in
6.14880 - aix4 | aix4.[01] | aix4.[01].*)
6.14881 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6.14882 - echo ' yes '
6.14883 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
6.14884 - :
6.14885 - else
6.14886 - can_build_shared=no
6.14887 - fi
6.14888 - ;;
6.14889 - esac
6.14890 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6.14891 - # soname into executable. Probably we can add versioning support to
6.14892 - # collect2, so additional links can be useful in future.
6.14893 - if test "$aix_use_runtimelinking" = yes; then
6.14894 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6.14895 - # instead of lib<name>.a to let people know that these are not
6.14896 - # typical AIX shared libraries.
6.14897 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.14898 - else
6.14899 - # We preserve .a as extension for shared libraries through AIX4.2
6.14900 - # and later when we are not doing run time linking.
6.14901 - library_names_spec='${libname}${release}.a $libname.a'
6.14902 - soname_spec='${libname}${release}${shared_ext}$major'
6.14903 - fi
6.14904 - shlibpath_var=LIBPATH
6.14905 - fi
6.14906 - ;;
6.14907 -
6.14908 -amigaos*)
6.14909 - library_names_spec='$libname.ixlibrary $libname.a'
6.14910 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
6.14911 - 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'
6.14912 - ;;
6.14913 -
6.14914 -beos*)
6.14915 - library_names_spec='${libname}${shared_ext}'
6.14916 - dynamic_linker="$host_os ld.so"
6.14917 - shlibpath_var=LIBRARY_PATH
6.14918 - ;;
6.14919 -
6.14920 -bsdi[45]*)
6.14921 - version_type=linux
6.14922 - need_version=no
6.14923 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.14924 - soname_spec='${libname}${release}${shared_ext}$major'
6.14925 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
6.14926 - shlibpath_var=LD_LIBRARY_PATH
6.14927 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6.14928 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
6.14929 - # the default ld.so.conf also contains /usr/contrib/lib and
6.14930 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6.14931 - # libtool to hard-code these into programs
6.14932 - ;;
6.14933 -
6.14934 -cygwin* | mingw* | pw32*)
6.14935 - version_type=windows
6.14936 - shrext_cmds=".dll"
6.14937 - need_version=no
6.14938 - need_lib_prefix=no
6.14939 -
6.14940 - case $GCC,$host_os in
6.14941 - yes,cygwin* | yes,mingw* | yes,pw32*)
6.14942 - library_names_spec='$libname.dll.a'
6.14943 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
6.14944 - postinstall_cmds='base_file=`basename \${file}`~
6.14945 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
6.14946 - dldir=$destdir/`dirname \$dlpath`~
6.14947 - test -d \$dldir || mkdir -p \$dldir~
6.14948 - $install_prog $dir/$dlname \$dldir/$dlname~
6.14949 - chmod a+x \$dldir/$dlname'
6.14950 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6.14951 - dlpath=$dir/\$dldll~
6.14952 - $rm \$dlpath'
6.14953 - shlibpath_overrides_runpath=yes
6.14954 -
6.14955 - case $host_os in
6.14956 - cygwin*)
6.14957 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6.14958 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.14959 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
6.14960 - ;;
6.14961 - mingw*)
6.14962 - # MinGW DLLs use traditional 'lib' prefix
6.14963 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.14964 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6.14965 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
6.14966 - # It is most probably a Windows format PATH printed by
6.14967 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
6.14968 - # path with ; separators, and with drive letters. We can handle the
6.14969 - # drive letters (cygwin fileutils understands them), so leave them,
6.14970 - # especially as we might pass files found there to a mingw objdump,
6.14971 - # which wouldn't understand a cygwinified path. Ahh.
6.14972 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6.14973 - else
6.14974 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6.14975 - fi
6.14976 - ;;
6.14977 - pw32*)
6.14978 - # pw32 DLLs use 'pw' prefix rather than 'lib'
6.14979 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.14980 - ;;
6.14981 - esac
6.14982 - ;;
6.14983 -
6.14984 - *)
6.14985 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
6.14986 - ;;
6.14987 - esac
6.14988 - dynamic_linker='Win32 ld.exe'
6.14989 - # FIXME: first we should search . and the directory the executable is in
6.14990 - shlibpath_var=PATH
6.14991 - ;;
6.14992 -
6.14993 -darwin* | rhapsody*)
6.14994 - dynamic_linker="$host_os dyld"
6.14995 - version_type=darwin
6.14996 - need_lib_prefix=no
6.14997 - need_version=no
6.14998 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6.14999 - soname_spec='${libname}${release}${major}$shared_ext'
6.15000 - shlibpath_overrides_runpath=yes
6.15001 - shlibpath_var=DYLD_LIBRARY_PATH
6.15002 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
6.15003 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6.15004 - if test "$GCC" = yes; then
6.15005 - 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"`
6.15006 - else
6.15007 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
6.15008 - fi
6.15009 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
6.15010 - ;;
6.15011 -
6.15012 -dgux*)
6.15013 - version_type=linux
6.15014 - need_lib_prefix=no
6.15015 - need_version=no
6.15016 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6.15017 - soname_spec='${libname}${release}${shared_ext}$major'
6.15018 - shlibpath_var=LD_LIBRARY_PATH
6.15019 - ;;
6.15020 -
6.15021 -freebsd1*)
6.15022 - dynamic_linker=no
6.15023 - ;;
6.15024 -
6.15025 -kfreebsd*-gnu)
6.15026 - version_type=linux
6.15027 - need_lib_prefix=no
6.15028 - need_version=no
6.15029 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.15030 - soname_spec='${libname}${release}${shared_ext}$major'
6.15031 - shlibpath_var=LD_LIBRARY_PATH
6.15032 - shlibpath_overrides_runpath=no
6.15033 - hardcode_into_libs=yes
6.15034 - dynamic_linker='GNU ld.so'
6.15035 - ;;
6.15036 -
6.15037 -freebsd* | dragonfly*)
6.15038 - # DragonFly does not have aout. When/if they implement a new
6.15039 - # versioning mechanism, adjust this.
6.15040 - if test -x /usr/bin/objformat; then
6.15041 - objformat=`/usr/bin/objformat`
6.15042 - else
6.15043 - case $host_os in
6.15044 - freebsd[123]*) objformat=aout ;;
6.15045 - *) objformat=elf ;;
6.15046 - esac
6.15047 - fi
6.15048 - version_type=freebsd-$objformat
6.15049 - case $version_type in
6.15050 - freebsd-elf*)
6.15051 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6.15052 - need_version=no
6.15053 - need_lib_prefix=no
6.15054 - ;;
6.15055 - freebsd-*)
6.15056 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6.15057 - need_version=yes
6.15058 - ;;
6.15059 - esac
6.15060 - shlibpath_var=LD_LIBRARY_PATH
6.15061 - case $host_os in
6.15062 - freebsd2*)
6.15063 - shlibpath_overrides_runpath=yes
6.15064 - ;;
6.15065 - freebsd3.[01]* | freebsdelf3.[01]*)
6.15066 - shlibpath_overrides_runpath=yes
6.15067 - hardcode_into_libs=yes
6.15068 - ;;
6.15069 - *) # from 3.2 on
6.15070 - shlibpath_overrides_runpath=no
6.15071 - hardcode_into_libs=yes
6.15072 - ;;
6.15073 - esac
6.15074 - ;;
6.15075 -
6.15076 -gnu*)
6.15077 - version_type=linux
6.15078 - need_lib_prefix=no
6.15079 - need_version=no
6.15080 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6.15081 - soname_spec='${libname}${release}${shared_ext}$major'
6.15082 - shlibpath_var=LD_LIBRARY_PATH
6.15083 - hardcode_into_libs=yes
6.15084 - ;;
6.15085 -
6.15086 -hpux9* | hpux10* | hpux11*)
6.15087 - # Give a soname corresponding to the major version so that dld.sl refuses to
6.15088 - # link against other versions.
6.15089 - version_type=sunos
6.15090 - need_lib_prefix=no
6.15091 - need_version=no
6.15092 - case $host_cpu in
6.15093 - ia64*)
6.15094 - shrext_cmds='.so'
6.15095 - hardcode_into_libs=yes
6.15096 - dynamic_linker="$host_os dld.so"
6.15097 - shlibpath_var=LD_LIBRARY_PATH
6.15098 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6.15099 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15100 - soname_spec='${libname}${release}${shared_ext}$major'
6.15101 - if test "X$HPUX_IA64_MODE" = X32; then
6.15102 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6.15103 - else
6.15104 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
6.15105 - fi
6.15106 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6.15107 - ;;
6.15108 - hppa*64*)
6.15109 - shrext_cmds='.sl'
6.15110 - hardcode_into_libs=yes
6.15111 - dynamic_linker="$host_os dld.sl"
6.15112 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
6.15113 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6.15114 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15115 - soname_spec='${libname}${release}${shared_ext}$major'
6.15116 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6.15117 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6.15118 - ;;
6.15119 - *)
6.15120 - shrext_cmds='.sl'
6.15121 - dynamic_linker="$host_os dld.sl"
6.15122 - shlibpath_var=SHLIB_PATH
6.15123 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6.15124 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15125 - soname_spec='${libname}${release}${shared_ext}$major'
6.15126 - ;;
6.15127 - esac
6.15128 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
6.15129 - postinstall_cmds='chmod 555 $lib'
6.15130 - ;;
6.15131 -
6.15132 -irix5* | irix6* | nonstopux*)
6.15133 - case $host_os in
6.15134 - nonstopux*) version_type=nonstopux ;;
6.15135 - *)
6.15136 - if test "$lt_cv_prog_gnu_ld" = yes; then
6.15137 - version_type=linux
6.15138 - else
6.15139 - version_type=irix
6.15140 - fi ;;
6.15141 - esac
6.15142 - need_lib_prefix=no
6.15143 - need_version=no
6.15144 - soname_spec='${libname}${release}${shared_ext}$major'
6.15145 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6.15146 - case $host_os in
6.15147 - irix5* | nonstopux*)
6.15148 - libsuff= shlibsuff=
6.15149 - ;;
6.15150 - *)
6.15151 - case $LD in # libtool.m4 will add one of these switches to LD
6.15152 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
6.15153 - libsuff= shlibsuff= libmagic=32-bit;;
6.15154 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
6.15155 - libsuff=32 shlibsuff=N32 libmagic=N32;;
6.15156 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
6.15157 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
6.15158 - *) libsuff= shlibsuff= libmagic=never-match;;
6.15159 - esac
6.15160 - ;;
6.15161 - esac
6.15162 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
6.15163 - shlibpath_overrides_runpath=no
6.15164 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6.15165 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
6.15166 - hardcode_into_libs=yes
6.15167 - ;;
6.15168 -
6.15169 -# No shared lib support for Linux oldld, aout, or coff.
6.15170 -linux*oldld* | linux*aout* | linux*coff*)
6.15171 - dynamic_linker=no
6.15172 - ;;
6.15173 -
6.15174 -# This must be Linux ELF.
6.15175 -linux*)
6.15176 - version_type=linux
6.15177 - need_lib_prefix=no
6.15178 - need_version=no
6.15179 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15180 - soname_spec='${libname}${release}${shared_ext}$major'
6.15181 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6.15182 - shlibpath_var=LD_LIBRARY_PATH
6.15183 - shlibpath_overrides_runpath=no
6.15184 - # This implies no fast_install, which is unacceptable.
6.15185 - # Some rework will be needed to allow for fast_install
6.15186 - # before this can be enabled.
6.15187 - hardcode_into_libs=yes
6.15188 -
6.15189 - # Append ld.so.conf contents to the search path
6.15190 - if test -f /etc/ld.so.conf; then
6.15191 - 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' ' '`
6.15192 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
6.15193 - fi
6.15194 -
6.15195 - # We used to test for /lib/ld.so.1 and disable shared libraries on
6.15196 - # powerpc, because MkLinux only supported shared libraries with the
6.15197 - # GNU dynamic linker. Since this was broken with cross compilers,
6.15198 - # most powerpc-linux boxes support dynamic linking these days and
6.15199 - # people can always --disable-shared, the test was removed, and we
6.15200 - # assume the GNU/Linux dynamic linker is in use.
6.15201 - dynamic_linker='GNU/Linux ld.so'
6.15202 - ;;
6.15203 -
6.15204 -knetbsd*-gnu)
6.15205 - version_type=linux
6.15206 - need_lib_prefix=no
6.15207 - need_version=no
6.15208 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.15209 - soname_spec='${libname}${release}${shared_ext}$major'
6.15210 - shlibpath_var=LD_LIBRARY_PATH
6.15211 - shlibpath_overrides_runpath=no
6.15212 - hardcode_into_libs=yes
6.15213 - dynamic_linker='GNU ld.so'
6.15214 - ;;
6.15215 -
6.15216 -netbsd*)
6.15217 - version_type=sunos
6.15218 - need_lib_prefix=no
6.15219 - need_version=no
6.15220 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.15221 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.15222 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6.15223 - dynamic_linker='NetBSD (a.out) ld.so'
6.15224 - else
6.15225 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.15226 - soname_spec='${libname}${release}${shared_ext}$major'
6.15227 - dynamic_linker='NetBSD ld.elf_so'
6.15228 - fi
6.15229 - shlibpath_var=LD_LIBRARY_PATH
6.15230 - shlibpath_overrides_runpath=yes
6.15231 - hardcode_into_libs=yes
6.15232 - ;;
6.15233 -
6.15234 -newsos6)
6.15235 - version_type=linux
6.15236 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15237 - shlibpath_var=LD_LIBRARY_PATH
6.15238 - shlibpath_overrides_runpath=yes
6.15239 - ;;
6.15240 -
6.15241 -nto-qnx*)
6.15242 - version_type=linux
6.15243 - need_lib_prefix=no
6.15244 - need_version=no
6.15245 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15246 - soname_spec='${libname}${release}${shared_ext}$major'
6.15247 - shlibpath_var=LD_LIBRARY_PATH
6.15248 - shlibpath_overrides_runpath=yes
6.15249 - ;;
6.15250 -
6.15251 -openbsd*)
6.15252 - version_type=sunos
6.15253 - need_lib_prefix=no
6.15254 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
6.15255 - case $host_os in
6.15256 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
6.15257 - *) need_version=no ;;
6.15258 - esac
6.15259 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.15260 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6.15261 - shlibpath_var=LD_LIBRARY_PATH
6.15262 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.15263 - case $host_os in
6.15264 - openbsd2.[89] | openbsd2.[89].*)
6.15265 - shlibpath_overrides_runpath=no
6.15266 - ;;
6.15267 - *)
6.15268 - shlibpath_overrides_runpath=yes
6.15269 - ;;
6.15270 - esac
6.15271 - else
6.15272 - shlibpath_overrides_runpath=yes
6.15273 - fi
6.15274 - ;;
6.15275 -
6.15276 -os2*)
6.15277 - libname_spec='$name'
6.15278 - shrext_cmds=".dll"
6.15279 - need_lib_prefix=no
6.15280 - library_names_spec='$libname${shared_ext} $libname.a'
6.15281 - dynamic_linker='OS/2 ld.exe'
6.15282 - shlibpath_var=LIBPATH
6.15283 - ;;
6.15284 -
6.15285 -osf3* | osf4* | osf5*)
6.15286 - version_type=osf
6.15287 - need_lib_prefix=no
6.15288 - need_version=no
6.15289 - soname_spec='${libname}${release}${shared_ext}$major'
6.15290 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15291 - shlibpath_var=LD_LIBRARY_PATH
6.15292 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6.15293 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
6.15294 - ;;
6.15295 -
6.15296 -sco3.2v5*)
6.15297 - version_type=osf
6.15298 - soname_spec='${libname}${release}${shared_ext}$major'
6.15299 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15300 - shlibpath_var=LD_LIBRARY_PATH
6.15301 - ;;
6.15302 -
6.15303 -solaris*)
6.15304 - version_type=linux
6.15305 - need_lib_prefix=no
6.15306 - need_version=no
6.15307 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15308 - soname_spec='${libname}${release}${shared_ext}$major'
6.15309 - shlibpath_var=LD_LIBRARY_PATH
6.15310 - shlibpath_overrides_runpath=yes
6.15311 - hardcode_into_libs=yes
6.15312 - # ldd complains unless libraries are executable
6.15313 - postinstall_cmds='chmod +x $lib'
6.15314 - ;;
6.15315 -
6.15316 -sunos4*)
6.15317 - version_type=sunos
6.15318 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.15319 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6.15320 - shlibpath_var=LD_LIBRARY_PATH
6.15321 - shlibpath_overrides_runpath=yes
6.15322 - if test "$with_gnu_ld" = yes; then
6.15323 - need_lib_prefix=no
6.15324 - fi
6.15325 - need_version=yes
6.15326 - ;;
6.15327 -
6.15328 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6.15329 - version_type=linux
6.15330 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15331 - soname_spec='${libname}${release}${shared_ext}$major'
6.15332 - shlibpath_var=LD_LIBRARY_PATH
6.15333 - case $host_vendor in
6.15334 - sni)
6.15335 - shlibpath_overrides_runpath=no
6.15336 - need_lib_prefix=no
6.15337 - export_dynamic_flag_spec='${wl}-Blargedynsym'
6.15338 - runpath_var=LD_RUN_PATH
6.15339 - ;;
6.15340 - siemens)
6.15341 - need_lib_prefix=no
6.15342 - ;;
6.15343 - motorola)
6.15344 - need_lib_prefix=no
6.15345 - need_version=no
6.15346 - shlibpath_overrides_runpath=no
6.15347 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
6.15348 - ;;
6.15349 - esac
6.15350 - ;;
6.15351 -
6.15352 -sysv4*MP*)
6.15353 - if test -d /usr/nec ;then
6.15354 - version_type=linux
6.15355 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
6.15356 - soname_spec='$libname${shared_ext}.$major'
6.15357 - shlibpath_var=LD_LIBRARY_PATH
6.15358 - fi
6.15359 - ;;
6.15360 -
6.15361 -uts4*)
6.15362 - version_type=linux
6.15363 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15364 - soname_spec='${libname}${release}${shared_ext}$major'
6.15365 - shlibpath_var=LD_LIBRARY_PATH
6.15366 - ;;
6.15367 -
6.15368 -*)
6.15369 - dynamic_linker=no
6.15370 - ;;
6.15371 -esac
6.15372 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
6.15373 -echo "${ECHO_T}$dynamic_linker" >&6
6.15374 -test "$dynamic_linker" = no && can_build_shared=no
6.15375 -
6.15376 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6.15377 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6.15378 -hardcode_action_F77=
6.15379 -if test -n "$hardcode_libdir_flag_spec_F77" || \
6.15380 - test -n "$runpath_var_F77" || \
6.15381 - test "X$hardcode_automatic_F77" = "Xyes" ; then
6.15382 -
6.15383 - # We can hardcode non-existant directories.
6.15384 - if test "$hardcode_direct_F77" != no &&
6.15385 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
6.15386 - # have to relink, otherwise we might link with an installed library
6.15387 - # when we should be linking with a yet-to-be-installed one
6.15388 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
6.15389 - test "$hardcode_minus_L_F77" != no; then
6.15390 - # Linking always hardcodes the temporary library directory.
6.15391 - hardcode_action_F77=relink
6.15392 - else
6.15393 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
6.15394 - hardcode_action_F77=immediate
6.15395 - fi
6.15396 -else
6.15397 - # We cannot hardcode anything, or else we can only hardcode existing
6.15398 - # directories.
6.15399 - hardcode_action_F77=unsupported
6.15400 -fi
6.15401 -echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
6.15402 -echo "${ECHO_T}$hardcode_action_F77" >&6
6.15403 -
6.15404 -if test "$hardcode_action_F77" = relink; then
6.15405 - # Fast installation is not supported
6.15406 - enable_fast_install=no
6.15407 -elif test "$shlibpath_overrides_runpath" = yes ||
6.15408 - test "$enable_shared" = no; then
6.15409 - # Fast installation is not necessary
6.15410 - enable_fast_install=needless
6.15411 -fi
6.15412 -
6.15413 -striplib=
6.15414 -old_striplib=
6.15415 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6.15416 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6.15417 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6.15418 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6.15419 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6.15420 - echo "$as_me:$LINENO: result: yes" >&5
6.15421 -echo "${ECHO_T}yes" >&6
6.15422 -else
6.15423 -# FIXME - insert some real tests, host_os isn't really good enough
6.15424 - case $host_os in
6.15425 - darwin*)
6.15426 - if test -n "$STRIP" ; then
6.15427 - striplib="$STRIP -x"
6.15428 - echo "$as_me:$LINENO: result: yes" >&5
6.15429 -echo "${ECHO_T}yes" >&6
6.15430 - else
6.15431 - echo "$as_me:$LINENO: result: no" >&5
6.15432 -echo "${ECHO_T}no" >&6
6.15433 -fi
6.15434 - ;;
6.15435 - *)
6.15436 - echo "$as_me:$LINENO: result: no" >&5
6.15437 -echo "${ECHO_T}no" >&6
6.15438 - ;;
6.15439 - esac
6.15440 -fi
6.15441 -
6.15442 -
6.15443 -
6.15444 -# The else clause should only fire when bootstrapping the
6.15445 -# libtool distribution, otherwise you forgot to ship ltmain.sh
6.15446 -# with your package, and you will get complaints that there are
6.15447 -# no rules to generate ltmain.sh.
6.15448 -if test -f "$ltmain"; then
6.15449 - # See if we are running on zsh, and set the options which allow our commands through
6.15450 - # without removal of \ escapes.
6.15451 - if test -n "${ZSH_VERSION+set}" ; then
6.15452 - setopt NO_GLOB_SUBST
6.15453 - fi
6.15454 - # Now quote all the things that may contain metacharacters while being
6.15455 - # careful not to overquote the AC_SUBSTed values. We take copies of the
6.15456 - # variables and quote the copies for generation of the libtool script.
6.15457 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
6.15458 - SED SHELL STRIP \
6.15459 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
6.15460 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
6.15461 - deplibs_check_method reload_flag reload_cmds need_locks \
6.15462 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
6.15463 - lt_cv_sys_global_symbol_to_c_name_address \
6.15464 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
6.15465 - old_postinstall_cmds old_postuninstall_cmds \
6.15466 - compiler_F77 \
6.15467 - CC_F77 \
6.15468 - LD_F77 \
6.15469 - lt_prog_compiler_wl_F77 \
6.15470 - lt_prog_compiler_pic_F77 \
6.15471 - lt_prog_compiler_static_F77 \
6.15472 - lt_prog_compiler_no_builtin_flag_F77 \
6.15473 - export_dynamic_flag_spec_F77 \
6.15474 - thread_safe_flag_spec_F77 \
6.15475 - whole_archive_flag_spec_F77 \
6.15476 - enable_shared_with_static_runtimes_F77 \
6.15477 - old_archive_cmds_F77 \
6.15478 - old_archive_from_new_cmds_F77 \
6.15479 - predep_objects_F77 \
6.15480 - postdep_objects_F77 \
6.15481 - predeps_F77 \
6.15482 - postdeps_F77 \
6.15483 - compiler_lib_search_path_F77 \
6.15484 - archive_cmds_F77 \
6.15485 - archive_expsym_cmds_F77 \
6.15486 - postinstall_cmds_F77 \
6.15487 - postuninstall_cmds_F77 \
6.15488 - old_archive_from_expsyms_cmds_F77 \
6.15489 - allow_undefined_flag_F77 \
6.15490 - no_undefined_flag_F77 \
6.15491 - export_symbols_cmds_F77 \
6.15492 - hardcode_libdir_flag_spec_F77 \
6.15493 - hardcode_libdir_flag_spec_ld_F77 \
6.15494 - hardcode_libdir_separator_F77 \
6.15495 - hardcode_automatic_F77 \
6.15496 - module_cmds_F77 \
6.15497 - module_expsym_cmds_F77 \
6.15498 - lt_cv_prog_compiler_c_o_F77 \
6.15499 - exclude_expsyms_F77 \
6.15500 - include_expsyms_F77; do
6.15501 -
6.15502 - case $var in
6.15503 - old_archive_cmds_F77 | \
6.15504 - old_archive_from_new_cmds_F77 | \
6.15505 - archive_cmds_F77 | \
6.15506 - archive_expsym_cmds_F77 | \
6.15507 - module_cmds_F77 | \
6.15508 - module_expsym_cmds_F77 | \
6.15509 - old_archive_from_expsyms_cmds_F77 | \
6.15510 - export_symbols_cmds_F77 | \
6.15511 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
6.15512 - postinstall_cmds | postuninstall_cmds | \
6.15513 - old_postinstall_cmds | old_postuninstall_cmds | \
6.15514 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
6.15515 - # Double-quote double-evaled strings.
6.15516 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
6.15517 - ;;
6.15518 - *)
6.15519 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
6.15520 - ;;
6.15521 - esac
6.15522 - done
6.15523 -
6.15524 - case $lt_echo in
6.15525 - *'\$0 --fallback-echo"')
6.15526 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
6.15527 - ;;
6.15528 - esac
6.15529 -
6.15530 -cfgfile="$ofile"
6.15531 -
6.15532 - cat <<__EOF__ >> "$cfgfile"
6.15533 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
6.15534 -
6.15535 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6.15536 -
6.15537 -# Shell to use when invoking shell scripts.
6.15538 -SHELL=$lt_SHELL
6.15539 -
6.15540 -# Whether or not to build shared libraries.
6.15541 -build_libtool_libs=$enable_shared
6.15542 -
6.15543 -# Whether or not to build static libraries.
6.15544 -build_old_libs=$enable_static
6.15545 -
6.15546 -# Whether or not to add -lc for building shared libraries.
6.15547 -build_libtool_need_lc=$archive_cmds_need_lc_F77
6.15548 -
6.15549 -# Whether or not to disallow shared libs when runtime libs are static
6.15550 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
6.15551 -
6.15552 -# Whether or not to optimize for fast installation.
6.15553 -fast_install=$enable_fast_install
6.15554 -
6.15555 -# The host system.
6.15556 -host_alias=$host_alias
6.15557 -host=$host
6.15558 -host_os=$host_os
6.15559 -
6.15560 -# The build system.
6.15561 -build_alias=$build_alias
6.15562 -build=$build
6.15563 -build_os=$build_os
6.15564 -
6.15565 -# An echo program that does not interpret backslashes.
6.15566 -echo=$lt_echo
6.15567 -
6.15568 -# The archiver.
6.15569 -AR=$lt_AR
6.15570 -AR_FLAGS=$lt_AR_FLAGS
6.15571 -
6.15572 -# A C compiler.
6.15573 -LTCC=$lt_LTCC
6.15574 -
6.15575 -# A language-specific compiler.
6.15576 -CC=$lt_compiler_F77
6.15577 -
6.15578 -# Is the compiler the GNU C compiler?
6.15579 -with_gcc=$GCC_F77
6.15580 -
6.15581 -# An ERE matcher.
6.15582 -EGREP=$lt_EGREP
6.15583 -
6.15584 -# The linker used to build libraries.
6.15585 -LD=$lt_LD_F77
6.15586 -
6.15587 -# Whether we need hard or soft links.
6.15588 -LN_S=$lt_LN_S
6.15589 -
6.15590 -# A BSD-compatible nm program.
6.15591 -NM=$lt_NM
6.15592 -
6.15593 -# A symbol stripping program
6.15594 -STRIP=$lt_STRIP
6.15595 -
6.15596 -# Used to examine libraries when file_magic_cmd begins "file"
6.15597 -MAGIC_CMD=$MAGIC_CMD
6.15598 -
6.15599 -# Used on cygwin: DLL creation program.
6.15600 -DLLTOOL="$DLLTOOL"
6.15601 -
6.15602 -# Used on cygwin: object dumper.
6.15603 -OBJDUMP="$OBJDUMP"
6.15604 -
6.15605 -# Used on cygwin: assembler.
6.15606 -AS="$AS"
6.15607 -
6.15608 -# The name of the directory that contains temporary libtool files.
6.15609 -objdir=$objdir
6.15610 -
6.15611 -# How to create reloadable object files.
6.15612 -reload_flag=$lt_reload_flag
6.15613 -reload_cmds=$lt_reload_cmds
6.15614 -
6.15615 -# How to pass a linker flag through the compiler.
6.15616 -wl=$lt_lt_prog_compiler_wl_F77
6.15617 -
6.15618 -# Object file suffix (normally "o").
6.15619 -objext="$ac_objext"
6.15620 -
6.15621 -# Old archive suffix (normally "a").
6.15622 -libext="$libext"
6.15623 -
6.15624 -# Shared library suffix (normally ".so").
6.15625 -shrext_cmds='$shrext_cmds'
6.15626 -
6.15627 -# Executable file suffix (normally "").
6.15628 -exeext="$exeext"
6.15629 -
6.15630 -# Additional compiler flags for building library objects.
6.15631 -pic_flag=$lt_lt_prog_compiler_pic_F77
6.15632 -pic_mode=$pic_mode
6.15633 -
6.15634 -# What is the maximum length of a command?
6.15635 -max_cmd_len=$lt_cv_sys_max_cmd_len
6.15636 -
6.15637 -# Does compiler simultaneously support -c and -o options?
6.15638 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
6.15639 -
6.15640 -# Must we lock files when doing compilation?
6.15641 -need_locks=$lt_need_locks
6.15642 -
6.15643 -# Do we need the lib prefix for modules?
6.15644 -need_lib_prefix=$need_lib_prefix
6.15645 -
6.15646 -# Do we need a version for libraries?
6.15647 -need_version=$need_version
6.15648 -
6.15649 -# Whether dlopen is supported.
6.15650 -dlopen_support=$enable_dlopen
6.15651 -
6.15652 -# Whether dlopen of programs is supported.
6.15653 -dlopen_self=$enable_dlopen_self
6.15654 -
6.15655 -# Whether dlopen of statically linked programs is supported.
6.15656 -dlopen_self_static=$enable_dlopen_self_static
6.15657 -
6.15658 -# Compiler flag to prevent dynamic linking.
6.15659 -link_static_flag=$lt_lt_prog_compiler_static_F77
6.15660 -
6.15661 -# Compiler flag to turn off builtin functions.
6.15662 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
6.15663 -
6.15664 -# Compiler flag to allow reflexive dlopens.
6.15665 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
6.15666 -
6.15667 -# Compiler flag to generate shared objects directly from archives.
6.15668 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
6.15669 -
6.15670 -# Compiler flag to generate thread-safe objects.
6.15671 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
6.15672 -
6.15673 -# Library versioning type.
6.15674 -version_type=$version_type
6.15675 -
6.15676 -# Format of library name prefix.
6.15677 -libname_spec=$lt_libname_spec
6.15678 -
6.15679 -# List of archive names. First name is the real one, the rest are links.
6.15680 -# The last name is the one that the linker finds with -lNAME.
6.15681 -library_names_spec=$lt_library_names_spec
6.15682 -
6.15683 -# The coded name of the library, if different from the real name.
6.15684 -soname_spec=$lt_soname_spec
6.15685 -
6.15686 -# Commands used to build and install an old-style archive.
6.15687 -RANLIB=$lt_RANLIB
6.15688 -old_archive_cmds=$lt_old_archive_cmds_F77
6.15689 -old_postinstall_cmds=$lt_old_postinstall_cmds
6.15690 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
6.15691 -
6.15692 -# Create an old-style archive from a shared archive.
6.15693 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
6.15694 -
6.15695 -# Create a temporary old-style archive to link instead of a shared archive.
6.15696 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
6.15697 -
6.15698 -# Commands used to build and install a shared archive.
6.15699 -archive_cmds=$lt_archive_cmds_F77
6.15700 -archive_expsym_cmds=$lt_archive_expsym_cmds_F77
6.15701 -postinstall_cmds=$lt_postinstall_cmds
6.15702 -postuninstall_cmds=$lt_postuninstall_cmds
6.15703 -
6.15704 -# Commands used to build a loadable module (assumed same as above if empty)
6.15705 -module_cmds=$lt_module_cmds_F77
6.15706 -module_expsym_cmds=$lt_module_expsym_cmds_F77
6.15707 -
6.15708 -# Commands to strip libraries.
6.15709 -old_striplib=$lt_old_striplib
6.15710 -striplib=$lt_striplib
6.15711 -
6.15712 -# Dependencies to place before the objects being linked to create a
6.15713 -# shared library.
6.15714 -predep_objects=$lt_predep_objects_F77
6.15715 -
6.15716 -# Dependencies to place after the objects being linked to create a
6.15717 -# shared library.
6.15718 -postdep_objects=$lt_postdep_objects_F77
6.15719 -
6.15720 -# Dependencies to place before the objects being linked to create a
6.15721 -# shared library.
6.15722 -predeps=$lt_predeps_F77
6.15723 -
6.15724 -# Dependencies to place after the objects being linked to create a
6.15725 -# shared library.
6.15726 -postdeps=$lt_postdeps_F77
6.15727 -
6.15728 -# The library search path used internally by the compiler when linking
6.15729 -# a shared library.
6.15730 -compiler_lib_search_path=$lt_compiler_lib_search_path_F77
6.15731 -
6.15732 -# Method to check whether dependent libraries are shared objects.
6.15733 -deplibs_check_method=$lt_deplibs_check_method
6.15734 -
6.15735 -# Command to use when deplibs_check_method == file_magic.
6.15736 -file_magic_cmd=$lt_file_magic_cmd
6.15737 -
6.15738 -# Flag that allows shared libraries with undefined symbols to be built.
6.15739 -allow_undefined_flag=$lt_allow_undefined_flag_F77
6.15740 -
6.15741 -# Flag that forces no undefined symbols.
6.15742 -no_undefined_flag=$lt_no_undefined_flag_F77
6.15743 -
6.15744 -# Commands used to finish a libtool library installation in a directory.
6.15745 -finish_cmds=$lt_finish_cmds
6.15746 -
6.15747 -# Same as above, but a single script fragment to be evaled but not shown.
6.15748 -finish_eval=$lt_finish_eval
6.15749 -
6.15750 -# Take the output of nm and produce a listing of raw symbols and C names.
6.15751 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
6.15752 -
6.15753 -# Transform the output of nm in a proper C declaration
6.15754 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
6.15755 -
6.15756 -# Transform the output of nm in a C name address pair
6.15757 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
6.15758 -
6.15759 -# This is the shared library runtime path variable.
6.15760 -runpath_var=$runpath_var
6.15761 -
6.15762 -# This is the shared library path variable.
6.15763 -shlibpath_var=$shlibpath_var
6.15764 -
6.15765 -# Is shlibpath searched before the hard-coded library search path?
6.15766 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
6.15767 -
6.15768 -# How to hardcode a shared library path into an executable.
6.15769 -hardcode_action=$hardcode_action_F77
6.15770 -
6.15771 -# Whether we should hardcode library paths into libraries.
6.15772 -hardcode_into_libs=$hardcode_into_libs
6.15773 -
6.15774 -# Flag to hardcode \$libdir into a binary during linking.
6.15775 -# This must work even if \$libdir does not exist.
6.15776 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
6.15777 -
6.15778 -# If ld is used when linking, flag to hardcode \$libdir into
6.15779 -# a binary during linking. This must work even if \$libdir does
6.15780 -# not exist.
6.15781 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
6.15782 -
6.15783 -# Whether we need a single -rpath flag with a separated argument.
6.15784 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
6.15785 -
6.15786 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
6.15787 -# resulting binary.
6.15788 -hardcode_direct=$hardcode_direct_F77
6.15789 -
6.15790 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
6.15791 -# resulting binary.
6.15792 -hardcode_minus_L=$hardcode_minus_L_F77
6.15793 -
6.15794 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
6.15795 -# the resulting binary.
6.15796 -hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
6.15797 -
6.15798 -# Set to yes if building a shared library automatically hardcodes DIR into the library
6.15799 -# and all subsequent libraries and executables linked against it.
6.15800 -hardcode_automatic=$hardcode_automatic_F77
6.15801 -
6.15802 -# Variables whose values should be saved in libtool wrapper scripts and
6.15803 -# restored at relink time.
6.15804 -variables_saved_for_relink="$variables_saved_for_relink"
6.15805 -
6.15806 -# Whether libtool must link a program against all its dependency libraries.
6.15807 -link_all_deplibs=$link_all_deplibs_F77
6.15808 -
6.15809 -# Compile-time system search path for libraries
6.15810 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
6.15811 -
6.15812 -# Run-time system search path for libraries
6.15813 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
6.15814 -
6.15815 -# Fix the shell variable \$srcfile for the compiler.
6.15816 -fix_srcfile_path="$fix_srcfile_path_F77"
6.15817 -
6.15818 -# Set to yes if exported symbols are required.
6.15819 -always_export_symbols=$always_export_symbols_F77
6.15820 -
6.15821 -# The commands to list exported symbols.
6.15822 -export_symbols_cmds=$lt_export_symbols_cmds_F77
6.15823 -
6.15824 -# The commands to extract the exported symbol list from a shared archive.
6.15825 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
6.15826 -
6.15827 -# Symbols that should not be listed in the preloaded symbols.
6.15828 -exclude_expsyms=$lt_exclude_expsyms_F77
6.15829 -
6.15830 -# Symbols that must always be exported.
6.15831 -include_expsyms=$lt_include_expsyms_F77
6.15832 -
6.15833 -# ### END LIBTOOL TAG CONFIG: $tagname
6.15834 -
6.15835 -__EOF__
6.15836 -
6.15837 -
6.15838 -else
6.15839 - # If there is no Makefile yet, we rely on a make rule to execute
6.15840 - # `config.status --recheck' to rerun these tests and create the
6.15841 - # libtool script then.
6.15842 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
6.15843 - if test -f "$ltmain_in"; then
6.15844 - test -f Makefile && make "$ltmain"
6.15845 - fi
6.15846 -fi
6.15847 -
6.15848 -
6.15849 -ac_ext=c
6.15850 -ac_cpp='$CPP $CPPFLAGS'
6.15851 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.15852 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.15853 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.15854 -
6.15855 -CC="$lt_save_CC"
6.15856 -
6.15857 - else
6.15858 - tagname=""
6.15859 - fi
6.15860 - ;;
6.15861 -
6.15862 - GCJ)
6.15863 - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
6.15864 -
6.15865 -
6.15866 -
6.15867 -# Source file extension for Java test sources.
6.15868 -ac_ext=java
6.15869 -
6.15870 -# Object file extension for compiled Java test sources.
6.15871 -objext=o
6.15872 -objext_GCJ=$objext
6.15873 -
6.15874 -# Code to be used in simple compile tests
6.15875 -lt_simple_compile_test_code="class foo {}\n"
6.15876 -
6.15877 -# Code to be used in simple link tests
6.15878 -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
6.15879 -
6.15880 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6.15881 -
6.15882 -# If no C compiler was specified, use CC.
6.15883 -LTCC=${LTCC-"$CC"}
6.15884 -
6.15885 -# Allow CC to be a program name with arguments.
6.15886 -compiler=$CC
6.15887 -
6.15888 -
6.15889 -# save warnings/boilerplate of simple test code
6.15890 -ac_outfile=conftest.$ac_objext
6.15891 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6.15892 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.15893 -_lt_compiler_boilerplate=`cat conftest.err`
6.15894 -$rm conftest*
6.15895 -
6.15896 -ac_outfile=conftest.$ac_objext
6.15897 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
6.15898 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.15899 -_lt_linker_boilerplate=`cat conftest.err`
6.15900 -$rm conftest*
6.15901 -
6.15902 -
6.15903 -# Allow CC to be a program name with arguments.
6.15904 -lt_save_CC="$CC"
6.15905 -CC=${GCJ-"gcj"}
6.15906 -compiler=$CC
6.15907 -compiler_GCJ=$CC
6.15908 -for cc_temp in $compiler""; do
6.15909 - case $cc_temp in
6.15910 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6.15911 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6.15912 - \-*) ;;
6.15913 - *) break;;
6.15914 - esac
6.15915 -done
6.15916 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6.15917 -
6.15918 -
6.15919 -# GCJ did not exist at the time GCC didn't implicitly link libc in.
6.15920 -archive_cmds_need_lc_GCJ=no
6.15921 -
6.15922 -old_archive_cmds_GCJ=$old_archive_cmds
6.15923 -
6.15924 -
6.15925 -lt_prog_compiler_no_builtin_flag_GCJ=
6.15926 -
6.15927 -if test "$GCC" = yes; then
6.15928 - lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
6.15929 -
6.15930 -
6.15931 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6.15932 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6.15933 -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6.15934 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.15935 -else
6.15936 - lt_cv_prog_compiler_rtti_exceptions=no
6.15937 - ac_outfile=conftest.$ac_objext
6.15938 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.15939 - lt_compiler_flag="-fno-rtti -fno-exceptions"
6.15940 - # Insert the option either (1) after the last *FLAGS variable, or
6.15941 - # (2) before a word containing "conftest.", or (3) at the end.
6.15942 - # Note that $ac_compile itself does not contain backslashes and begins
6.15943 - # with a dollar sign (not a hyphen), so the echo should work correctly.
6.15944 - # The option is referenced via a variable to avoid confusing sed.
6.15945 - lt_compile=`echo "$ac_compile" | $SED \
6.15946 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.15947 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.15948 - -e 's:$: $lt_compiler_flag:'`
6.15949 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.15950 - (eval "$lt_compile" 2>conftest.err)
6.15951 - ac_status=$?
6.15952 - cat conftest.err >&5
6.15953 - echo "$as_me:__oline__: \$? = $ac_status" >&5
6.15954 - if (exit $ac_status) && test -s "$ac_outfile"; then
6.15955 - # The compiler can only warn and ignore the option if not recognized
6.15956 - # So say no if there are warnings other than the usual output.
6.15957 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6.15958 - $SED '/^$/d' conftest.err >conftest.er2
6.15959 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6.15960 - lt_cv_prog_compiler_rtti_exceptions=yes
6.15961 - fi
6.15962 - fi
6.15963 - $rm conftest*
6.15964 -
6.15965 -fi
6.15966 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6.15967 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6.15968 -
6.15969 -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6.15970 - lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
6.15971 -else
6.15972 - :
6.15973 -fi
6.15974 -
6.15975 -fi
6.15976 -
6.15977 -lt_prog_compiler_wl_GCJ=
6.15978 -lt_prog_compiler_pic_GCJ=
6.15979 -lt_prog_compiler_static_GCJ=
6.15980 -
6.15981 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6.15982 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6.15983 -
6.15984 - if test "$GCC" = yes; then
6.15985 - lt_prog_compiler_wl_GCJ='-Wl,'
6.15986 - lt_prog_compiler_static_GCJ='-static'
6.15987 -
6.15988 - case $host_os in
6.15989 - aix*)
6.15990 - # All AIX code is PIC.
6.15991 - if test "$host_cpu" = ia64; then
6.15992 - # AIX 5 now supports IA64 processor
6.15993 - lt_prog_compiler_static_GCJ='-Bstatic'
6.15994 - fi
6.15995 - ;;
6.15996 -
6.15997 - amigaos*)
6.15998 - # FIXME: we need at least 68020 code to build shared libraries, but
6.15999 - # adding the `-m68020' flag to GCC prevents building anything better,
6.16000 - # like `-m68040'.
6.16001 - lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
6.16002 - ;;
6.16003 -
6.16004 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6.16005 - # PIC is the default for these OSes.
6.16006 - ;;
6.16007 -
6.16008 - mingw* | pw32* | os2*)
6.16009 - # This hack is so that the source file can tell whether it is being
6.16010 - # built for inclusion in a dll (and should export symbols for example).
6.16011 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
6.16012 - ;;
6.16013 -
6.16014 - darwin* | rhapsody*)
6.16015 - # PIC is the default on this platform
6.16016 - # Common symbols not allowed in MH_DYLIB files
6.16017 - lt_prog_compiler_pic_GCJ='-fno-common'
6.16018 - ;;
6.16019 -
6.16020 - msdosdjgpp*)
6.16021 - # Just because we use GCC doesn't mean we suddenly get shared libraries
6.16022 - # on systems that don't support them.
6.16023 - lt_prog_compiler_can_build_shared_GCJ=no
6.16024 - enable_shared=no
6.16025 - ;;
6.16026 -
6.16027 - sysv4*MP*)
6.16028 - if test -d /usr/nec; then
6.16029 - lt_prog_compiler_pic_GCJ=-Kconform_pic
6.16030 - fi
6.16031 - ;;
6.16032 -
6.16033 - hpux*)
6.16034 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6.16035 - # not for PA HP-UX.
6.16036 - case $host_cpu in
6.16037 - hppa*64*|ia64*)
6.16038 - # +Z the default
6.16039 - ;;
6.16040 - *)
6.16041 - lt_prog_compiler_pic_GCJ='-fPIC'
6.16042 - ;;
6.16043 - esac
6.16044 - ;;
6.16045 -
6.16046 - *)
6.16047 - lt_prog_compiler_pic_GCJ='-fPIC'
6.16048 - ;;
6.16049 - esac
6.16050 - else
6.16051 - # PORTME Check for flag to pass linker flags through the system compiler.
6.16052 - case $host_os in
6.16053 - aix*)
6.16054 - lt_prog_compiler_wl_GCJ='-Wl,'
6.16055 - if test "$host_cpu" = ia64; then
6.16056 - # AIX 5 now supports IA64 processor
6.16057 - lt_prog_compiler_static_GCJ='-Bstatic'
6.16058 - else
6.16059 - lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
6.16060 - fi
6.16061 - ;;
6.16062 - darwin*)
6.16063 - # PIC is the default on this platform
6.16064 - # Common symbols not allowed in MH_DYLIB files
6.16065 - case $cc_basename in
6.16066 - xlc*)
6.16067 - lt_prog_compiler_pic_GCJ='-qnocommon'
6.16068 - lt_prog_compiler_wl_GCJ='-Wl,'
6.16069 - ;;
6.16070 - esac
6.16071 - ;;
6.16072 -
6.16073 - mingw* | pw32* | os2*)
6.16074 - # This hack is so that the source file can tell whether it is being
6.16075 - # built for inclusion in a dll (and should export symbols for example).
6.16076 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
6.16077 - ;;
6.16078 -
6.16079 - hpux9* | hpux10* | hpux11*)
6.16080 - lt_prog_compiler_wl_GCJ='-Wl,'
6.16081 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6.16082 - # not for PA HP-UX.
6.16083 - case $host_cpu in
6.16084 - hppa*64*|ia64*)
6.16085 - # +Z the default
6.16086 - ;;
6.16087 - *)
6.16088 - lt_prog_compiler_pic_GCJ='+Z'
6.16089 - ;;
6.16090 - esac
6.16091 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
6.16092 - lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
6.16093 - ;;
6.16094 -
6.16095 - irix5* | irix6* | nonstopux*)
6.16096 - lt_prog_compiler_wl_GCJ='-Wl,'
6.16097 - # PIC (with -KPIC) is the default.
6.16098 - lt_prog_compiler_static_GCJ='-non_shared'
6.16099 - ;;
6.16100 -
6.16101 - newsos6)
6.16102 - lt_prog_compiler_pic_GCJ='-KPIC'
6.16103 - lt_prog_compiler_static_GCJ='-Bstatic'
6.16104 - ;;
6.16105 -
6.16106 - linux*)
6.16107 - case $cc_basename in
6.16108 - icc* | ecc*)
6.16109 - lt_prog_compiler_wl_GCJ='-Wl,'
6.16110 - lt_prog_compiler_pic_GCJ='-KPIC'
6.16111 - lt_prog_compiler_static_GCJ='-static'
6.16112 - ;;
6.16113 - pgcc* | pgf77* | pgf90* | pgf95*)
6.16114 - # Portland Group compilers (*not* the Pentium gcc compiler,
6.16115 - # which looks to be a dead project)
6.16116 - lt_prog_compiler_wl_GCJ='-Wl,'
6.16117 - lt_prog_compiler_pic_GCJ='-fpic'
6.16118 - lt_prog_compiler_static_GCJ='-Bstatic'
6.16119 - ;;
6.16120 - ccc*)
6.16121 - lt_prog_compiler_wl_GCJ='-Wl,'
6.16122 - # All Alpha code is PIC.
6.16123 - lt_prog_compiler_static_GCJ='-non_shared'
6.16124 - ;;
6.16125 - esac
6.16126 - ;;
6.16127 -
6.16128 - osf3* | osf4* | osf5*)
6.16129 - lt_prog_compiler_wl_GCJ='-Wl,'
6.16130 - # All OSF/1 code is PIC.
6.16131 - lt_prog_compiler_static_GCJ='-non_shared'
6.16132 - ;;
6.16133 -
6.16134 - sco3.2v5*)
6.16135 - lt_prog_compiler_pic_GCJ='-Kpic'
6.16136 - lt_prog_compiler_static_GCJ='-dn'
6.16137 - ;;
6.16138 -
6.16139 - solaris*)
6.16140 - lt_prog_compiler_pic_GCJ='-KPIC'
6.16141 - lt_prog_compiler_static_GCJ='-Bstatic'
6.16142 - case $cc_basename in
6.16143 - f77* | f90* | f95*)
6.16144 - lt_prog_compiler_wl_GCJ='-Qoption ld ';;
6.16145 - *)
6.16146 - lt_prog_compiler_wl_GCJ='-Wl,';;
6.16147 - esac
6.16148 - ;;
6.16149 -
6.16150 - sunos4*)
6.16151 - lt_prog_compiler_wl_GCJ='-Qoption ld '
6.16152 - lt_prog_compiler_pic_GCJ='-PIC'
6.16153 - lt_prog_compiler_static_GCJ='-Bstatic'
6.16154 - ;;
6.16155 -
6.16156 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6.16157 - lt_prog_compiler_wl_GCJ='-Wl,'
6.16158 - lt_prog_compiler_pic_GCJ='-KPIC'
6.16159 - lt_prog_compiler_static_GCJ='-Bstatic'
6.16160 - ;;
6.16161 -
6.16162 - sysv4*MP*)
6.16163 - if test -d /usr/nec ;then
6.16164 - lt_prog_compiler_pic_GCJ='-Kconform_pic'
6.16165 - lt_prog_compiler_static_GCJ='-Bstatic'
6.16166 - fi
6.16167 - ;;
6.16168 -
6.16169 - unicos*)
6.16170 - lt_prog_compiler_wl_GCJ='-Wl,'
6.16171 - lt_prog_compiler_can_build_shared_GCJ=no
6.16172 - ;;
6.16173 -
6.16174 - uts4*)
6.16175 - lt_prog_compiler_pic_GCJ='-pic'
6.16176 - lt_prog_compiler_static_GCJ='-Bstatic'
6.16177 - ;;
6.16178 -
6.16179 - *)
6.16180 - lt_prog_compiler_can_build_shared_GCJ=no
6.16181 - ;;
6.16182 - esac
6.16183 - fi
6.16184 -
6.16185 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
6.16186 -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
6.16187 -
6.16188 -#
6.16189 -# Check to make sure the PIC flag actually works.
6.16190 -#
6.16191 -if test -n "$lt_prog_compiler_pic_GCJ"; then
6.16192 -
6.16193 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
6.16194 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
6.16195 -if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
6.16196 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.16197 -else
6.16198 - lt_prog_compiler_pic_works_GCJ=no
6.16199 - ac_outfile=conftest.$ac_objext
6.16200 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.16201 - lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
6.16202 - # Insert the option either (1) after the last *FLAGS variable, or
6.16203 - # (2) before a word containing "conftest.", or (3) at the end.
6.16204 - # Note that $ac_compile itself does not contain backslashes and begins
6.16205 - # with a dollar sign (not a hyphen), so the echo should work correctly.
6.16206 - # The option is referenced via a variable to avoid confusing sed.
6.16207 - lt_compile=`echo "$ac_compile" | $SED \
6.16208 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.16209 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.16210 - -e 's:$: $lt_compiler_flag:'`
6.16211 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.16212 - (eval "$lt_compile" 2>conftest.err)
6.16213 - ac_status=$?
6.16214 - cat conftest.err >&5
6.16215 - echo "$as_me:__oline__: \$? = $ac_status" >&5
6.16216 - if (exit $ac_status) && test -s "$ac_outfile"; then
6.16217 - # The compiler can only warn and ignore the option if not recognized
6.16218 - # So say no if there are warnings other than the usual output.
6.16219 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6.16220 - $SED '/^$/d' conftest.err >conftest.er2
6.16221 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6.16222 - lt_prog_compiler_pic_works_GCJ=yes
6.16223 - fi
6.16224 - fi
6.16225 - $rm conftest*
6.16226 -
6.16227 -fi
6.16228 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
6.16229 -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
6.16230 -
6.16231 -if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
6.16232 - case $lt_prog_compiler_pic_GCJ in
6.16233 - "" | " "*) ;;
6.16234 - *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
6.16235 - esac
6.16236 -else
6.16237 - lt_prog_compiler_pic_GCJ=
6.16238 - lt_prog_compiler_can_build_shared_GCJ=no
6.16239 -fi
6.16240 -
6.16241 -fi
6.16242 -case $host_os in
6.16243 - # For platforms which do not support PIC, -DPIC is meaningless:
6.16244 - *djgpp*)
6.16245 - lt_prog_compiler_pic_GCJ=
6.16246 - ;;
6.16247 - *)
6.16248 - lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
6.16249 - ;;
6.16250 -esac
6.16251 -
6.16252 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6.16253 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6.16254 -if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
6.16255 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.16256 -else
6.16257 - lt_cv_prog_compiler_c_o_GCJ=no
6.16258 - $rm -r conftest 2>/dev/null
6.16259 - mkdir conftest
6.16260 - cd conftest
6.16261 - mkdir out
6.16262 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.16263 -
6.16264 - lt_compiler_flag="-o out/conftest2.$ac_objext"
6.16265 - # Insert the option either (1) after the last *FLAGS variable, or
6.16266 - # (2) before a word containing "conftest.", or (3) at the end.
6.16267 - # Note that $ac_compile itself does not contain backslashes and begins
6.16268 - # with a dollar sign (not a hyphen), so the echo should work correctly.
6.16269 - lt_compile=`echo "$ac_compile" | $SED \
6.16270 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.16271 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.16272 - -e 's:$: $lt_compiler_flag:'`
6.16273 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.16274 - (eval "$lt_compile" 2>out/conftest.err)
6.16275 - ac_status=$?
6.16276 - cat out/conftest.err >&5
6.16277 - echo "$as_me:__oline__: \$? = $ac_status" >&5
6.16278 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
6.16279 - then
6.16280 - # The compiler can only warn and ignore the option if not recognized
6.16281 - # So say no if there are warnings
6.16282 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
6.16283 - $SED '/^$/d' out/conftest.err >out/conftest.er2
6.16284 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6.16285 - lt_cv_prog_compiler_c_o_GCJ=yes
6.16286 - fi
6.16287 - fi
6.16288 - chmod u+w . 2>&5
6.16289 - $rm conftest*
6.16290 - # SGI C++ compiler will create directory out/ii_files/ for
6.16291 - # template instantiation
6.16292 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
6.16293 - $rm out/* && rmdir out
6.16294 - cd ..
6.16295 - rmdir conftest
6.16296 - $rm conftest*
6.16297 -
6.16298 -fi
6.16299 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
6.16300 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
6.16301 -
6.16302 -
6.16303 -hard_links="nottested"
6.16304 -if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
6.16305 - # do not overwrite the value of need_locks provided by the user
6.16306 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6.16307 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6.16308 - hard_links=yes
6.16309 - $rm conftest*
6.16310 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
6.16311 - touch conftest.a
6.16312 - ln conftest.a conftest.b 2>&5 || hard_links=no
6.16313 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
6.16314 - echo "$as_me:$LINENO: result: $hard_links" >&5
6.16315 -echo "${ECHO_T}$hard_links" >&6
6.16316 - if test "$hard_links" = no; then
6.16317 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6.16318 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6.16319 - need_locks=warn
6.16320 - fi
6.16321 -else
6.16322 - need_locks=no
6.16323 -fi
6.16324 -
6.16325 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6.16326 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6.16327 -
6.16328 - runpath_var=
6.16329 - allow_undefined_flag_GCJ=
6.16330 - enable_shared_with_static_runtimes_GCJ=no
6.16331 - archive_cmds_GCJ=
6.16332 - archive_expsym_cmds_GCJ=
6.16333 - old_archive_From_new_cmds_GCJ=
6.16334 - old_archive_from_expsyms_cmds_GCJ=
6.16335 - export_dynamic_flag_spec_GCJ=
6.16336 - whole_archive_flag_spec_GCJ=
6.16337 - thread_safe_flag_spec_GCJ=
6.16338 - hardcode_libdir_flag_spec_GCJ=
6.16339 - hardcode_libdir_flag_spec_ld_GCJ=
6.16340 - hardcode_libdir_separator_GCJ=
6.16341 - hardcode_direct_GCJ=no
6.16342 - hardcode_minus_L_GCJ=no
6.16343 - hardcode_shlibpath_var_GCJ=unsupported
6.16344 - link_all_deplibs_GCJ=unknown
6.16345 - hardcode_automatic_GCJ=no
6.16346 - module_cmds_GCJ=
6.16347 - module_expsym_cmds_GCJ=
6.16348 - always_export_symbols_GCJ=no
6.16349 - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6.16350 - # include_expsyms should be a list of space-separated symbols to be *always*
6.16351 - # included in the symbol list
6.16352 - include_expsyms_GCJ=
6.16353 - # exclude_expsyms can be an extended regexp of symbols to exclude
6.16354 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
6.16355 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6.16356 - # as well as any symbol that contains `d'.
6.16357 - exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
6.16358 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6.16359 - # platforms (ab)use it in PIC code, but their linkers get confused if
6.16360 - # the symbol is explicitly referenced. Since portable code cannot
6.16361 - # rely on this symbol name, it's probably fine to never include it in
6.16362 - # preloaded symbol tables.
6.16363 - extract_expsyms_cmds=
6.16364 - # Just being paranoid about ensuring that cc_basename is set.
6.16365 - for cc_temp in $compiler""; do
6.16366 - case $cc_temp in
6.16367 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6.16368 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6.16369 - \-*) ;;
6.16370 - *) break;;
6.16371 - esac
6.16372 -done
6.16373 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6.16374 -
6.16375 - case $host_os in
6.16376 - cygwin* | mingw* | pw32*)
6.16377 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
6.16378 - # When not using gcc, we currently assume that we are using
6.16379 - # Microsoft Visual C++.
6.16380 - if test "$GCC" != yes; then
6.16381 - with_gnu_ld=no
6.16382 - fi
6.16383 - ;;
6.16384 - openbsd*)
6.16385 - with_gnu_ld=no
6.16386 - ;;
6.16387 - esac
6.16388 -
6.16389 - ld_shlibs_GCJ=yes
6.16390 - if test "$with_gnu_ld" = yes; then
6.16391 - # If archive_cmds runs LD, not CC, wlarc should be empty
6.16392 - wlarc='${wl}'
6.16393 -
6.16394 - # Set some defaults for GNU ld with shared library support. These
6.16395 - # are reset later if shared libraries are not supported. Putting them
6.16396 - # here allows them to be overridden if necessary.
6.16397 - runpath_var=LD_RUN_PATH
6.16398 - hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
6.16399 - export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
6.16400 - # ancient GNU ld didn't support --whole-archive et. al.
6.16401 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6.16402 - whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6.16403 - else
6.16404 - whole_archive_flag_spec_GCJ=
6.16405 - fi
6.16406 - supports_anon_versioning=no
6.16407 - case `$LD -v 2>/dev/null` in
6.16408 - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6.16409 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6.16410 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6.16411 - *\ 2.11.*) ;; # other 2.11 versions
6.16412 - *) supports_anon_versioning=yes ;;
6.16413 - esac
6.16414 -
6.16415 - # See if GNU ld supports shared libraries.
6.16416 - case $host_os in
6.16417 - aix3* | aix4* | aix5*)
6.16418 - # On AIX/PPC, the GNU linker is very broken
6.16419 - if test "$host_cpu" != ia64; then
6.16420 - ld_shlibs_GCJ=no
6.16421 - cat <<EOF 1>&2
6.16422 -
6.16423 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
6.16424 -*** to be unable to reliably create shared libraries on AIX.
6.16425 -*** Therefore, libtool is disabling shared libraries support. If you
6.16426 -*** really care for shared libraries, you may want to modify your PATH
6.16427 -*** so that a non-GNU linker is found, and then restart.
6.16428 -
6.16429 -EOF
6.16430 - fi
6.16431 - ;;
6.16432 -
6.16433 - amigaos*)
6.16434 - archive_cmds_GCJ='$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)'
6.16435 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.16436 - hardcode_minus_L_GCJ=yes
6.16437 -
6.16438 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6.16439 - # that the semantics of dynamic libraries on AmigaOS, at least up
6.16440 - # to version 4, is to share data among multiple programs linked
6.16441 - # with the same dynamic library. Since this doesn't match the
6.16442 - # behavior of shared libraries on other platforms, we can't use
6.16443 - # them.
6.16444 - ld_shlibs_GCJ=no
6.16445 - ;;
6.16446 -
6.16447 - beos*)
6.16448 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.16449 - allow_undefined_flag_GCJ=unsupported
6.16450 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6.16451 - # support --undefined. This deserves some investigation. FIXME
6.16452 - archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.16453 - else
6.16454 - ld_shlibs_GCJ=no
6.16455 - fi
6.16456 - ;;
6.16457 -
6.16458 - cygwin* | mingw* | pw32*)
6.16459 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
6.16460 - # as there is no search path for DLLs.
6.16461 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.16462 - allow_undefined_flag_GCJ=unsupported
6.16463 - always_export_symbols_GCJ=no
6.16464 - enable_shared_with_static_runtimes_GCJ=yes
6.16465 - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6.16466 -
6.16467 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6.16468 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6.16469 - # If the export-symbols file already is a .def file (1st line
6.16470 - # is EXPORTS), use it as is; otherwise, prepend...
6.16471 - archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6.16472 - cp $export_symbols $output_objdir/$soname.def;
6.16473 - else
6.16474 - echo EXPORTS > $output_objdir/$soname.def;
6.16475 - cat $export_symbols >> $output_objdir/$soname.def;
6.16476 - fi~
6.16477 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6.16478 - else
6.16479 - ld_shlibs_GCJ=no
6.16480 - fi
6.16481 - ;;
6.16482 -
6.16483 - linux*)
6.16484 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.16485 - tmp_addflag=
6.16486 - case $cc_basename,$host_cpu in
6.16487 - pgcc*) # Portland Group C compiler
6.16488 - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6.16489 - tmp_addflag=' $pic_flag'
6.16490 - ;;
6.16491 - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
6.16492 - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6.16493 - tmp_addflag=' $pic_flag -Mnomain' ;;
6.16494 - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
6.16495 - tmp_addflag=' -i_dynamic' ;;
6.16496 - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
6.16497 - tmp_addflag=' -i_dynamic -nofor_main' ;;
6.16498 - ifc* | ifort*) # Intel Fortran compiler
6.16499 - tmp_addflag=' -nofor_main' ;;
6.16500 - esac
6.16501 - archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.16502 -
6.16503 - if test $supports_anon_versioning = yes; then
6.16504 - archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
6.16505 - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6.16506 - $echo "local: *; };" >> $output_objdir/$libname.ver~
6.16507 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6.16508 - fi
6.16509 - else
6.16510 - ld_shlibs_GCJ=no
6.16511 - fi
6.16512 - ;;
6.16513 -
6.16514 - netbsd*)
6.16515 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.16516 - archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6.16517 - wlarc=
6.16518 - else
6.16519 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.16520 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.16521 - fi
6.16522 - ;;
6.16523 -
6.16524 - solaris* | sysv5*)
6.16525 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6.16526 - ld_shlibs_GCJ=no
6.16527 - cat <<EOF 1>&2
6.16528 -
6.16529 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
6.16530 -*** create shared libraries on Solaris systems. Therefore, libtool
6.16531 -*** is disabling shared libraries support. We urge you to upgrade GNU
6.16532 -*** binutils to release 2.9.1 or newer. Another option is to modify
6.16533 -*** your PATH or compiler configuration so that the native linker is
6.16534 -*** used, and then restart.
6.16535 -
6.16536 -EOF
6.16537 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.16538 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.16539 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.16540 - else
6.16541 - ld_shlibs_GCJ=no
6.16542 - fi
6.16543 - ;;
6.16544 -
6.16545 - sunos4*)
6.16546 - archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.16547 - wlarc=
6.16548 - hardcode_direct_GCJ=yes
6.16549 - hardcode_shlibpath_var_GCJ=no
6.16550 - ;;
6.16551 -
6.16552 - *)
6.16553 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.16554 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.16555 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.16556 - else
6.16557 - ld_shlibs_GCJ=no
6.16558 - fi
6.16559 - ;;
6.16560 - esac
6.16561 -
6.16562 - if test "$ld_shlibs_GCJ" = no; then
6.16563 - runpath_var=
6.16564 - hardcode_libdir_flag_spec_GCJ=
6.16565 - export_dynamic_flag_spec_GCJ=
6.16566 - whole_archive_flag_spec_GCJ=
6.16567 - fi
6.16568 - else
6.16569 - # PORTME fill in a description of your system's linker (not GNU ld)
6.16570 - case $host_os in
6.16571 - aix3*)
6.16572 - allow_undefined_flag_GCJ=unsupported
6.16573 - always_export_symbols_GCJ=yes
6.16574 - archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
6.16575 - # Note: this linker hardcodes the directories in LIBPATH if there
6.16576 - # are no directories specified by -L.
6.16577 - hardcode_minus_L_GCJ=yes
6.16578 - if test "$GCC" = yes && test -z "$link_static_flag"; then
6.16579 - # Neither direct hardcoding nor static linking is supported with a
6.16580 - # broken collect2.
6.16581 - hardcode_direct_GCJ=unsupported
6.16582 - fi
6.16583 - ;;
6.16584 -
6.16585 - aix4* | aix5*)
6.16586 - if test "$host_cpu" = ia64; then
6.16587 - # On IA64, the linker does run time linking by default, so we don't
6.16588 - # have to do anything special.
6.16589 - aix_use_runtimelinking=no
6.16590 - exp_sym_flag='-Bexport'
6.16591 - no_entry_flag=""
6.16592 - else
6.16593 - # If we're using GNU nm, then we don't want the "-C" option.
6.16594 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
6.16595 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6.16596 - export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
6.16597 - else
6.16598 - export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
6.16599 - fi
6.16600 - aix_use_runtimelinking=no
6.16601 -
6.16602 - # Test if we are trying to use run time linking or normal
6.16603 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6.16604 - # need to do runtime linking.
6.16605 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6.16606 - for ld_flag in $LDFLAGS; do
6.16607 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6.16608 - aix_use_runtimelinking=yes
6.16609 - break
6.16610 - fi
6.16611 - done
6.16612 - esac
6.16613 -
6.16614 - exp_sym_flag='-bexport'
6.16615 - no_entry_flag='-bnoentry'
6.16616 - fi
6.16617 -
6.16618 - # When large executables or shared objects are built, AIX ld can
6.16619 - # have problems creating the table of contents. If linking a library
6.16620 - # or program results in "error TOC overflow" add -mminimal-toc to
6.16621 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6.16622 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6.16623 -
6.16624 - archive_cmds_GCJ=''
6.16625 - hardcode_direct_GCJ=yes
6.16626 - hardcode_libdir_separator_GCJ=':'
6.16627 - link_all_deplibs_GCJ=yes
6.16628 -
6.16629 - if test "$GCC" = yes; then
6.16630 - case $host_os in aix4.[012]|aix4.[012].*)
6.16631 - # We only want to do this on AIX 4.2 and lower, the check
6.16632 - # below for broken collect2 doesn't work under 4.3+
6.16633 - collect2name=`${CC} -print-prog-name=collect2`
6.16634 - if test -f "$collect2name" && \
6.16635 - strings "$collect2name" | grep resolve_lib_name >/dev/null
6.16636 - then
6.16637 - # We have reworked collect2
6.16638 - hardcode_direct_GCJ=yes
6.16639 - else
6.16640 - # We have old collect2
6.16641 - hardcode_direct_GCJ=unsupported
6.16642 - # It fails to find uninstalled libraries when the uninstalled
6.16643 - # path is not listed in the libpath. Setting hardcode_minus_L
6.16644 - # to unsupported forces relinking
6.16645 - hardcode_minus_L_GCJ=yes
6.16646 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.16647 - hardcode_libdir_separator_GCJ=
6.16648 - fi
6.16649 - esac
6.16650 - shared_flag='-shared'
6.16651 - if test "$aix_use_runtimelinking" = yes; then
6.16652 - shared_flag="$shared_flag "'${wl}-G'
6.16653 - fi
6.16654 - else
6.16655 - # not using gcc
6.16656 - if test "$host_cpu" = ia64; then
6.16657 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6.16658 - # chokes on -Wl,-G. The following line is correct:
6.16659 - shared_flag='-G'
6.16660 - else
6.16661 - if test "$aix_use_runtimelinking" = yes; then
6.16662 - shared_flag='${wl}-G'
6.16663 - else
6.16664 - shared_flag='${wl}-bM:SRE'
6.16665 - fi
6.16666 - fi
6.16667 - fi
6.16668 -
6.16669 - # It seems that -bexpall does not export symbols beginning with
6.16670 - # underscore (_), so it is better to generate a list of symbols to export.
6.16671 - always_export_symbols_GCJ=yes
6.16672 - if test "$aix_use_runtimelinking" = yes; then
6.16673 - # Warning - without using the other runtime loading flags (-brtl),
6.16674 - # -berok will link without error, but may produce a broken library.
6.16675 - allow_undefined_flag_GCJ='-berok'
6.16676 - # Determine the default libpath from the value encoded in an empty executable.
6.16677 - cat >conftest.$ac_ext <<_ACEOF
6.16678 -/* confdefs.h. */
6.16679 -_ACEOF
6.16680 -cat confdefs.h >>conftest.$ac_ext
6.16681 -cat >>conftest.$ac_ext <<_ACEOF
6.16682 -/* end confdefs.h. */
6.16683 -
6.16684 -int
6.16685 -main ()
6.16686 -{
6.16687 -
6.16688 - ;
6.16689 - return 0;
6.16690 -}
6.16691 -_ACEOF
6.16692 -rm -f conftest.$ac_objext conftest$ac_exeext
6.16693 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.16694 - (eval $ac_link) 2>conftest.er1
6.16695 - ac_status=$?
6.16696 - grep -v '^ *+' conftest.er1 >conftest.err
6.16697 - rm -f conftest.er1
6.16698 - cat conftest.err >&5
6.16699 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.16700 - (exit $ac_status); } &&
6.16701 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.16702 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.16703 - (eval $ac_try) 2>&5
6.16704 - ac_status=$?
6.16705 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.16706 - (exit $ac_status); }; } &&
6.16707 - { ac_try='test -s conftest$ac_exeext'
6.16708 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.16709 - (eval $ac_try) 2>&5
6.16710 - ac_status=$?
6.16711 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.16712 - (exit $ac_status); }; }; then
6.16713 -
6.16714 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6.16715 -}'`
6.16716 -# Check for a 64-bit object if we didn't find anything.
6.16717 -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; }
6.16718 -}'`; fi
6.16719 -else
6.16720 - echo "$as_me: failed program was:" >&5
6.16721 -sed 's/^/| /' conftest.$ac_ext >&5
6.16722 -
6.16723 -fi
6.16724 -rm -f conftest.err conftest.$ac_objext \
6.16725 - conftest$ac_exeext conftest.$ac_ext
6.16726 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6.16727 -
6.16728 - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
6.16729 - archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6.16730 - else
6.16731 - if test "$host_cpu" = ia64; then
6.16732 - hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
6.16733 - allow_undefined_flag_GCJ="-z nodefs"
6.16734 - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
6.16735 - else
6.16736 - # Determine the default libpath from the value encoded in an empty executable.
6.16737 - cat >conftest.$ac_ext <<_ACEOF
6.16738 -/* confdefs.h. */
6.16739 -_ACEOF
6.16740 -cat confdefs.h >>conftest.$ac_ext
6.16741 -cat >>conftest.$ac_ext <<_ACEOF
6.16742 -/* end confdefs.h. */
6.16743 -
6.16744 -int
6.16745 -main ()
6.16746 -{
6.16747 -
6.16748 - ;
6.16749 - return 0;
6.16750 -}
6.16751 -_ACEOF
6.16752 -rm -f conftest.$ac_objext conftest$ac_exeext
6.16753 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.16754 - (eval $ac_link) 2>conftest.er1
6.16755 - ac_status=$?
6.16756 - grep -v '^ *+' conftest.er1 >conftest.err
6.16757 - rm -f conftest.er1
6.16758 - cat conftest.err >&5
6.16759 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.16760 - (exit $ac_status); } &&
6.16761 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.16762 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.16763 - (eval $ac_try) 2>&5
6.16764 - ac_status=$?
6.16765 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.16766 - (exit $ac_status); }; } &&
6.16767 - { ac_try='test -s conftest$ac_exeext'
6.16768 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.16769 - (eval $ac_try) 2>&5
6.16770 - ac_status=$?
6.16771 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.16772 - (exit $ac_status); }; }; then
6.16773 -
6.16774 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6.16775 -}'`
6.16776 -# Check for a 64-bit object if we didn't find anything.
6.16777 -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; }
6.16778 -}'`; fi
6.16779 -else
6.16780 - echo "$as_me: failed program was:" >&5
6.16781 -sed 's/^/| /' conftest.$ac_ext >&5
6.16782 -
6.16783 -fi
6.16784 -rm -f conftest.err conftest.$ac_objext \
6.16785 - conftest$ac_exeext conftest.$ac_ext
6.16786 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6.16787 -
6.16788 - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
6.16789 - # Warning - without using the other run time loading flags,
6.16790 - # -berok will link without error, but may produce a broken library.
6.16791 - no_undefined_flag_GCJ=' ${wl}-bernotok'
6.16792 - allow_undefined_flag_GCJ=' ${wl}-berok'
6.16793 - # -bexpall does not export symbols beginning with underscore (_)
6.16794 - always_export_symbols_GCJ=yes
6.16795 - # Exported symbols can be pulled into shared objects from archives
6.16796 - whole_archive_flag_spec_GCJ=' '
6.16797 - archive_cmds_need_lc_GCJ=yes
6.16798 - # This is similar to how AIX traditionally builds its shared libraries.
6.16799 - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
6.16800 - fi
6.16801 - fi
6.16802 - ;;
6.16803 -
6.16804 - amigaos*)
6.16805 - archive_cmds_GCJ='$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)'
6.16806 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.16807 - hardcode_minus_L_GCJ=yes
6.16808 - # see comment about different semantics on the GNU ld section
6.16809 - ld_shlibs_GCJ=no
6.16810 - ;;
6.16811 -
6.16812 - bsdi[45]*)
6.16813 - export_dynamic_flag_spec_GCJ=-rdynamic
6.16814 - ;;
6.16815 -
6.16816 - cygwin* | mingw* | pw32*)
6.16817 - # When not using gcc, we currently assume that we are using
6.16818 - # Microsoft Visual C++.
6.16819 - # hardcode_libdir_flag_spec is actually meaningless, as there is
6.16820 - # no search path for DLLs.
6.16821 - hardcode_libdir_flag_spec_GCJ=' '
6.16822 - allow_undefined_flag_GCJ=unsupported
6.16823 - # Tell ltmain to make .lib files, not .a files.
6.16824 - libext=lib
6.16825 - # Tell ltmain to make .dll files, not .so files.
6.16826 - shrext_cmds=".dll"
6.16827 - # FIXME: Setting linknames here is a bad hack.
6.16828 - archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6.16829 - # The linker will automatically build a .lib file if we build a DLL.
6.16830 - old_archive_From_new_cmds_GCJ='true'
6.16831 - # FIXME: Should let the user specify the lib program.
6.16832 - old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
6.16833 - fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
6.16834 - enable_shared_with_static_runtimes_GCJ=yes
6.16835 - ;;
6.16836 -
6.16837 - darwin* | rhapsody*)
6.16838 - case $host_os in
6.16839 - rhapsody* | darwin1.[012])
6.16840 - allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
6.16841 - ;;
6.16842 - *) # Darwin 1.3 on
6.16843 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6.16844 - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6.16845 - else
6.16846 - case ${MACOSX_DEPLOYMENT_TARGET} in
6.16847 - 10.[012])
6.16848 - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6.16849 - ;;
6.16850 - 10.*)
6.16851 - allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
6.16852 - ;;
6.16853 - esac
6.16854 - fi
6.16855 - ;;
6.16856 - esac
6.16857 - archive_cmds_need_lc_GCJ=no
6.16858 - hardcode_direct_GCJ=no
6.16859 - hardcode_automatic_GCJ=yes
6.16860 - hardcode_shlibpath_var_GCJ=unsupported
6.16861 - whole_archive_flag_spec_GCJ=''
6.16862 - link_all_deplibs_GCJ=yes
6.16863 - if test "$GCC" = yes ; then
6.16864 - output_verbose_link_cmd='echo'
6.16865 - archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6.16866 - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6.16867 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6.16868 - archive_expsym_cmds_GCJ='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}'
6.16869 - module_expsym_cmds_GCJ='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}'
6.16870 - else
6.16871 - case $cc_basename in
6.16872 - xlc*)
6.16873 - output_verbose_link_cmd='echo'
6.16874 - archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
6.16875 - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6.16876 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6.16877 - archive_expsym_cmds_GCJ='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}'
6.16878 - module_expsym_cmds_GCJ='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}'
6.16879 - ;;
6.16880 - *)
6.16881 - ld_shlibs_GCJ=no
6.16882 - ;;
6.16883 - esac
6.16884 - fi
6.16885 - ;;
6.16886 -
6.16887 - dgux*)
6.16888 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.16889 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.16890 - hardcode_shlibpath_var_GCJ=no
6.16891 - ;;
6.16892 -
6.16893 - freebsd1*)
6.16894 - ld_shlibs_GCJ=no
6.16895 - ;;
6.16896 -
6.16897 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6.16898 - # support. Future versions do this automatically, but an explicit c++rt0.o
6.16899 - # does not break anything, and helps significantly (at the cost of a little
6.16900 - # extra space).
6.16901 - freebsd2.2*)
6.16902 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
6.16903 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
6.16904 - hardcode_direct_GCJ=yes
6.16905 - hardcode_shlibpath_var_GCJ=no
6.16906 - ;;
6.16907 -
6.16908 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6.16909 - freebsd2*)
6.16910 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.16911 - hardcode_direct_GCJ=yes
6.16912 - hardcode_minus_L_GCJ=yes
6.16913 - hardcode_shlibpath_var_GCJ=no
6.16914 - ;;
6.16915 -
6.16916 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6.16917 - freebsd* | kfreebsd*-gnu | dragonfly*)
6.16918 - archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6.16919 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
6.16920 - hardcode_direct_GCJ=yes
6.16921 - hardcode_shlibpath_var_GCJ=no
6.16922 - ;;
6.16923 -
6.16924 - hpux9*)
6.16925 - if test "$GCC" = yes; then
6.16926 - archive_cmds_GCJ='$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'
6.16927 - else
6.16928 - archive_cmds_GCJ='$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'
6.16929 - fi
6.16930 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
6.16931 - hardcode_libdir_separator_GCJ=:
6.16932 - hardcode_direct_GCJ=yes
6.16933 -
6.16934 - # hardcode_minus_L: Not really in the search PATH,
6.16935 - # but as the default location of the library.
6.16936 - hardcode_minus_L_GCJ=yes
6.16937 - export_dynamic_flag_spec_GCJ='${wl}-E'
6.16938 - ;;
6.16939 -
6.16940 - hpux10* | hpux11*)
6.16941 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6.16942 - case $host_cpu in
6.16943 - hppa*64*|ia64*)
6.16944 - archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.16945 - ;;
6.16946 - *)
6.16947 - archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6.16948 - ;;
6.16949 - esac
6.16950 - else
6.16951 - case $host_cpu in
6.16952 - hppa*64*|ia64*)
6.16953 - archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
6.16954 - ;;
6.16955 - *)
6.16956 - archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6.16957 - ;;
6.16958 - esac
6.16959 - fi
6.16960 - if test "$with_gnu_ld" = no; then
6.16961 - case $host_cpu in
6.16962 - hppa*64*)
6.16963 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
6.16964 - hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
6.16965 - hardcode_libdir_separator_GCJ=:
6.16966 - hardcode_direct_GCJ=no
6.16967 - hardcode_shlibpath_var_GCJ=no
6.16968 - ;;
6.16969 - ia64*)
6.16970 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.16971 - hardcode_direct_GCJ=no
6.16972 - hardcode_shlibpath_var_GCJ=no
6.16973 -
6.16974 - # hardcode_minus_L: Not really in the search PATH,
6.16975 - # but as the default location of the library.
6.16976 - hardcode_minus_L_GCJ=yes
6.16977 - ;;
6.16978 - *)
6.16979 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
6.16980 - hardcode_libdir_separator_GCJ=:
6.16981 - hardcode_direct_GCJ=yes
6.16982 - export_dynamic_flag_spec_GCJ='${wl}-E'
6.16983 -
6.16984 - # hardcode_minus_L: Not really in the search PATH,
6.16985 - # but as the default location of the library.
6.16986 - hardcode_minus_L_GCJ=yes
6.16987 - ;;
6.16988 - esac
6.16989 - fi
6.16990 - ;;
6.16991 -
6.16992 - irix5* | irix6* | nonstopux*)
6.16993 - if test "$GCC" = yes; then
6.16994 - archive_cmds_GCJ='$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'
6.16995 - else
6.16996 - archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6.16997 - hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
6.16998 - fi
6.16999 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
6.17000 - hardcode_libdir_separator_GCJ=:
6.17001 - link_all_deplibs_GCJ=yes
6.17002 - ;;
6.17003 -
6.17004 - netbsd*)
6.17005 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.17006 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6.17007 - else
6.17008 - archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
6.17009 - fi
6.17010 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
6.17011 - hardcode_direct_GCJ=yes
6.17012 - hardcode_shlibpath_var_GCJ=no
6.17013 - ;;
6.17014 -
6.17015 - newsos6)
6.17016 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17017 - hardcode_direct_GCJ=yes
6.17018 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
6.17019 - hardcode_libdir_separator_GCJ=:
6.17020 - hardcode_shlibpath_var_GCJ=no
6.17021 - ;;
6.17022 -
6.17023 - openbsd*)
6.17024 - hardcode_direct_GCJ=yes
6.17025 - hardcode_shlibpath_var_GCJ=no
6.17026 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.17027 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6.17028 - archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
6.17029 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
6.17030 - export_dynamic_flag_spec_GCJ='${wl}-E'
6.17031 - else
6.17032 - case $host_os in
6.17033 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
6.17034 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.17035 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
6.17036 - ;;
6.17037 - *)
6.17038 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6.17039 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
6.17040 - ;;
6.17041 - esac
6.17042 - fi
6.17043 - ;;
6.17044 -
6.17045 - os2*)
6.17046 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.17047 - hardcode_minus_L_GCJ=yes
6.17048 - allow_undefined_flag_GCJ=unsupported
6.17049 - archive_cmds_GCJ='$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'
6.17050 - old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
6.17051 - ;;
6.17052 -
6.17053 - osf3*)
6.17054 - if test "$GCC" = yes; then
6.17055 - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
6.17056 - archive_cmds_GCJ='$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'
6.17057 - else
6.17058 - allow_undefined_flag_GCJ=' -expect_unresolved \*'
6.17059 - archive_cmds_GCJ='$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'
6.17060 - fi
6.17061 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
6.17062 - hardcode_libdir_separator_GCJ=:
6.17063 - ;;
6.17064 -
6.17065 - osf4* | osf5*) # as osf3* with the addition of -msym flag
6.17066 - if test "$GCC" = yes; then
6.17067 - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
6.17068 - archive_cmds_GCJ='$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'
6.17069 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
6.17070 - else
6.17071 - allow_undefined_flag_GCJ=' -expect_unresolved \*'
6.17072 - archive_cmds_GCJ='$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'
6.17073 - archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
6.17074 - $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'
6.17075 -
6.17076 - # Both c and cxx compiler support -rpath directly
6.17077 - hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
6.17078 - fi
6.17079 - hardcode_libdir_separator_GCJ=:
6.17080 - ;;
6.17081 -
6.17082 - sco3.2v5*)
6.17083 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17084 - hardcode_shlibpath_var_GCJ=no
6.17085 - export_dynamic_flag_spec_GCJ='${wl}-Bexport'
6.17086 - runpath_var=LD_RUN_PATH
6.17087 - hardcode_runpath_var=yes
6.17088 - ;;
6.17089 -
6.17090 - solaris*)
6.17091 - no_undefined_flag_GCJ=' -z text'
6.17092 - if test "$GCC" = yes; then
6.17093 - wlarc='${wl}'
6.17094 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.17095 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.17096 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
6.17097 - else
6.17098 - wlarc=''
6.17099 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17100 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.17101 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6.17102 - fi
6.17103 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
6.17104 - hardcode_shlibpath_var_GCJ=no
6.17105 - case $host_os in
6.17106 - solaris2.[0-5] | solaris2.[0-5].*) ;;
6.17107 - *)
6.17108 - # The compiler driver will combine linker options so we
6.17109 - # cannot just pass the convience library names through
6.17110 - # without $wl, iff we do not link with $LD.
6.17111 - # Luckily, gcc supports the same syntax we need for Sun Studio.
6.17112 - # Supported since Solaris 2.6 (maybe 2.5.1?)
6.17113 - case $wlarc in
6.17114 - '')
6.17115 - whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
6.17116 - *)
6.17117 - whole_archive_flag_spec_GCJ='${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' ;;
6.17118 - esac ;;
6.17119 - esac
6.17120 - link_all_deplibs_GCJ=yes
6.17121 - ;;
6.17122 -
6.17123 - sunos4*)
6.17124 - if test "x$host_vendor" = xsequent; then
6.17125 - # Use $CC to link under sequent, because it throws in some extra .o
6.17126 - # files that make .init and .fini sections work.
6.17127 - archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6.17128 - else
6.17129 - archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
6.17130 - fi
6.17131 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.17132 - hardcode_direct_GCJ=yes
6.17133 - hardcode_minus_L_GCJ=yes
6.17134 - hardcode_shlibpath_var_GCJ=no
6.17135 - ;;
6.17136 -
6.17137 - sysv4)
6.17138 - case $host_vendor in
6.17139 - sni)
6.17140 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17141 - hardcode_direct_GCJ=yes # is this really true???
6.17142 - ;;
6.17143 - siemens)
6.17144 - ## LD is ld it makes a PLAMLIB
6.17145 - ## CC just makes a GrossModule.
6.17146 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6.17147 - reload_cmds_GCJ='$CC -r -o $output$reload_objs'
6.17148 - hardcode_direct_GCJ=no
6.17149 - ;;
6.17150 - motorola)
6.17151 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17152 - hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
6.17153 - ;;
6.17154 - esac
6.17155 - runpath_var='LD_RUN_PATH'
6.17156 - hardcode_shlibpath_var_GCJ=no
6.17157 - ;;
6.17158 -
6.17159 - sysv4.3*)
6.17160 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17161 - hardcode_shlibpath_var_GCJ=no
6.17162 - export_dynamic_flag_spec_GCJ='-Bexport'
6.17163 - ;;
6.17164 -
6.17165 - sysv4*MP*)
6.17166 - if test -d /usr/nec; then
6.17167 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17168 - hardcode_shlibpath_var_GCJ=no
6.17169 - runpath_var=LD_RUN_PATH
6.17170 - hardcode_runpath_var=yes
6.17171 - ld_shlibs_GCJ=yes
6.17172 - fi
6.17173 - ;;
6.17174 -
6.17175 - sysv4.2uw2*)
6.17176 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6.17177 - hardcode_direct_GCJ=yes
6.17178 - hardcode_minus_L_GCJ=no
6.17179 - hardcode_shlibpath_var_GCJ=no
6.17180 - hardcode_runpath_var=yes
6.17181 - runpath_var=LD_RUN_PATH
6.17182 - ;;
6.17183 -
6.17184 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
6.17185 - no_undefined_flag_GCJ='${wl}-z ${wl}text'
6.17186 - if test "$GCC" = yes; then
6.17187 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.17188 - else
6.17189 - archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.17190 - fi
6.17191 - runpath_var='LD_RUN_PATH'
6.17192 - hardcode_shlibpath_var_GCJ=no
6.17193 - ;;
6.17194 -
6.17195 - sysv5*)
6.17196 - no_undefined_flag_GCJ=' -z text'
6.17197 - # $CC -shared without GNU ld will not create a library from C++
6.17198 - # object files and a static libstdc++, better avoid it by now
6.17199 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17200 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.17201 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6.17202 - hardcode_libdir_flag_spec_GCJ=
6.17203 - hardcode_shlibpath_var_GCJ=no
6.17204 - runpath_var='LD_RUN_PATH'
6.17205 - ;;
6.17206 -
6.17207 - uts4*)
6.17208 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17209 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.17210 - hardcode_shlibpath_var_GCJ=no
6.17211 - ;;
6.17212 -
6.17213 - *)
6.17214 - ld_shlibs_GCJ=no
6.17215 - ;;
6.17216 - esac
6.17217 - fi
6.17218 -
6.17219 -echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
6.17220 -echo "${ECHO_T}$ld_shlibs_GCJ" >&6
6.17221 -test "$ld_shlibs_GCJ" = no && can_build_shared=no
6.17222 -
6.17223 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6.17224 -if test "$GCC" = yes; then
6.17225 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6.17226 -fi
6.17227 -
6.17228 -#
6.17229 -# Do we need to explicitly link libc?
6.17230 -#
6.17231 -case "x$archive_cmds_need_lc_GCJ" in
6.17232 -x|xyes)
6.17233 - # Assume -lc should be added
6.17234 - archive_cmds_need_lc_GCJ=yes
6.17235 -
6.17236 - if test "$enable_shared" = yes && test "$GCC" = yes; then
6.17237 - case $archive_cmds_GCJ in
6.17238 - *'~'*)
6.17239 - # FIXME: we may have to deal with multi-command sequences.
6.17240 - ;;
6.17241 - '$CC '*)
6.17242 - # Test whether the compiler implicitly links with -lc since on some
6.17243 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
6.17244 - # to ld, don't add -lc before -lgcc.
6.17245 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
6.17246 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
6.17247 - $rm conftest*
6.17248 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.17249 -
6.17250 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.17251 - (eval $ac_compile) 2>&5
6.17252 - ac_status=$?
6.17253 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.17254 - (exit $ac_status); } 2>conftest.err; then
6.17255 - soname=conftest
6.17256 - lib=conftest
6.17257 - libobjs=conftest.$ac_objext
6.17258 - deplibs=
6.17259 - wl=$lt_prog_compiler_wl_GCJ
6.17260 - compiler_flags=-v
6.17261 - linker_flags=-v
6.17262 - verstring=
6.17263 - output_objdir=.
6.17264 - libname=conftest
6.17265 - lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
6.17266 - allow_undefined_flag_GCJ=
6.17267 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
6.17268 - (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
6.17269 - ac_status=$?
6.17270 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.17271 - (exit $ac_status); }
6.17272 - then
6.17273 - archive_cmds_need_lc_GCJ=no
6.17274 - else
6.17275 - archive_cmds_need_lc_GCJ=yes
6.17276 - fi
6.17277 - allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
6.17278 - else
6.17279 - cat conftest.err 1>&5
6.17280 - fi
6.17281 - $rm conftest*
6.17282 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
6.17283 -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
6.17284 - ;;
6.17285 - esac
6.17286 - fi
6.17287 - ;;
6.17288 -esac
6.17289 -
6.17290 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6.17291 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6.17292 -library_names_spec=
6.17293 -libname_spec='lib$name'
6.17294 -soname_spec=
6.17295 -shrext_cmds=".so"
6.17296 -postinstall_cmds=
6.17297 -postuninstall_cmds=
6.17298 -finish_cmds=
6.17299 -finish_eval=
6.17300 -shlibpath_var=
6.17301 -shlibpath_overrides_runpath=unknown
6.17302 -version_type=none
6.17303 -dynamic_linker="$host_os ld.so"
6.17304 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
6.17305 -if test "$GCC" = yes; then
6.17306 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6.17307 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
6.17308 - # if the path contains ";" then we assume it to be the separator
6.17309 - # otherwise default to the standard path separator (i.e. ":") - it is
6.17310 - # assumed that no part of a normal pathname contains ";" but that should
6.17311 - # okay in the real world where ";" in dirpaths is itself problematic.
6.17312 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6.17313 - else
6.17314 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6.17315 - fi
6.17316 -else
6.17317 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
6.17318 -fi
6.17319 -need_lib_prefix=unknown
6.17320 -hardcode_into_libs=no
6.17321 -
6.17322 -# when you set need_version to no, make sure it does not cause -set_version
6.17323 -# flags to be left without arguments
6.17324 -need_version=unknown
6.17325 -
6.17326 -case $host_os in
6.17327 -aix3*)
6.17328 - version_type=linux
6.17329 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
6.17330 - shlibpath_var=LIBPATH
6.17331 -
6.17332 - # AIX 3 has no versioning support, so we append a major version to the name.
6.17333 - soname_spec='${libname}${release}${shared_ext}$major'
6.17334 - ;;
6.17335 -
6.17336 -aix4* | aix5*)
6.17337 - version_type=linux
6.17338 - need_lib_prefix=no
6.17339 - need_version=no
6.17340 - hardcode_into_libs=yes
6.17341 - if test "$host_cpu" = ia64; then
6.17342 - # AIX 5 supports IA64
6.17343 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6.17344 - shlibpath_var=LD_LIBRARY_PATH
6.17345 - else
6.17346 - # With GCC up to 2.95.x, collect2 would create an import file
6.17347 - # for dependence libraries. The import file would start with
6.17348 - # the line `#! .'. This would cause the generated library to
6.17349 - # depend on `.', always an invalid library. This was fixed in
6.17350 - # development snapshots of GCC prior to 3.0.
6.17351 - case $host_os in
6.17352 - aix4 | aix4.[01] | aix4.[01].*)
6.17353 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6.17354 - echo ' yes '
6.17355 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
6.17356 - :
6.17357 - else
6.17358 - can_build_shared=no
6.17359 - fi
6.17360 - ;;
6.17361 - esac
6.17362 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6.17363 - # soname into executable. Probably we can add versioning support to
6.17364 - # collect2, so additional links can be useful in future.
6.17365 - if test "$aix_use_runtimelinking" = yes; then
6.17366 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6.17367 - # instead of lib<name>.a to let people know that these are not
6.17368 - # typical AIX shared libraries.
6.17369 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17370 - else
6.17371 - # We preserve .a as extension for shared libraries through AIX4.2
6.17372 - # and later when we are not doing run time linking.
6.17373 - library_names_spec='${libname}${release}.a $libname.a'
6.17374 - soname_spec='${libname}${release}${shared_ext}$major'
6.17375 - fi
6.17376 - shlibpath_var=LIBPATH
6.17377 - fi
6.17378 - ;;
6.17379 -
6.17380 -amigaos*)
6.17381 - library_names_spec='$libname.ixlibrary $libname.a'
6.17382 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
6.17383 - 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'
6.17384 - ;;
6.17385 -
6.17386 -beos*)
6.17387 - library_names_spec='${libname}${shared_ext}'
6.17388 - dynamic_linker="$host_os ld.so"
6.17389 - shlibpath_var=LIBRARY_PATH
6.17390 - ;;
6.17391 -
6.17392 -bsdi[45]*)
6.17393 - version_type=linux
6.17394 - need_version=no
6.17395 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17396 - soname_spec='${libname}${release}${shared_ext}$major'
6.17397 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
6.17398 - shlibpath_var=LD_LIBRARY_PATH
6.17399 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6.17400 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
6.17401 - # the default ld.so.conf also contains /usr/contrib/lib and
6.17402 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6.17403 - # libtool to hard-code these into programs
6.17404 - ;;
6.17405 -
6.17406 -cygwin* | mingw* | pw32*)
6.17407 - version_type=windows
6.17408 - shrext_cmds=".dll"
6.17409 - need_version=no
6.17410 - need_lib_prefix=no
6.17411 -
6.17412 - case $GCC,$host_os in
6.17413 - yes,cygwin* | yes,mingw* | yes,pw32*)
6.17414 - library_names_spec='$libname.dll.a'
6.17415 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
6.17416 - postinstall_cmds='base_file=`basename \${file}`~
6.17417 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
6.17418 - dldir=$destdir/`dirname \$dlpath`~
6.17419 - test -d \$dldir || mkdir -p \$dldir~
6.17420 - $install_prog $dir/$dlname \$dldir/$dlname~
6.17421 - chmod a+x \$dldir/$dlname'
6.17422 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6.17423 - dlpath=$dir/\$dldll~
6.17424 - $rm \$dlpath'
6.17425 - shlibpath_overrides_runpath=yes
6.17426 -
6.17427 - case $host_os in
6.17428 - cygwin*)
6.17429 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6.17430 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.17431 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
6.17432 - ;;
6.17433 - mingw*)
6.17434 - # MinGW DLLs use traditional 'lib' prefix
6.17435 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.17436 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6.17437 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
6.17438 - # It is most probably a Windows format PATH printed by
6.17439 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
6.17440 - # path with ; separators, and with drive letters. We can handle the
6.17441 - # drive letters (cygwin fileutils understands them), so leave them,
6.17442 - # especially as we might pass files found there to a mingw objdump,
6.17443 - # which wouldn't understand a cygwinified path. Ahh.
6.17444 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6.17445 - else
6.17446 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6.17447 - fi
6.17448 - ;;
6.17449 - pw32*)
6.17450 - # pw32 DLLs use 'pw' prefix rather than 'lib'
6.17451 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.17452 - ;;
6.17453 - esac
6.17454 - ;;
6.17455 -
6.17456 - *)
6.17457 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
6.17458 - ;;
6.17459 - esac
6.17460 - dynamic_linker='Win32 ld.exe'
6.17461 - # FIXME: first we should search . and the directory the executable is in
6.17462 - shlibpath_var=PATH
6.17463 - ;;
6.17464 -
6.17465 -darwin* | rhapsody*)
6.17466 - dynamic_linker="$host_os dyld"
6.17467 - version_type=darwin
6.17468 - need_lib_prefix=no
6.17469 - need_version=no
6.17470 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6.17471 - soname_spec='${libname}${release}${major}$shared_ext'
6.17472 - shlibpath_overrides_runpath=yes
6.17473 - shlibpath_var=DYLD_LIBRARY_PATH
6.17474 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
6.17475 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6.17476 - if test "$GCC" = yes; then
6.17477 - 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"`
6.17478 - else
6.17479 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
6.17480 - fi
6.17481 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
6.17482 - ;;
6.17483 -
6.17484 -dgux*)
6.17485 - version_type=linux
6.17486 - need_lib_prefix=no
6.17487 - need_version=no
6.17488 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6.17489 - soname_spec='${libname}${release}${shared_ext}$major'
6.17490 - shlibpath_var=LD_LIBRARY_PATH
6.17491 - ;;
6.17492 -
6.17493 -freebsd1*)
6.17494 - dynamic_linker=no
6.17495 - ;;
6.17496 -
6.17497 -kfreebsd*-gnu)
6.17498 - version_type=linux
6.17499 - need_lib_prefix=no
6.17500 - need_version=no
6.17501 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.17502 - soname_spec='${libname}${release}${shared_ext}$major'
6.17503 - shlibpath_var=LD_LIBRARY_PATH
6.17504 - shlibpath_overrides_runpath=no
6.17505 - hardcode_into_libs=yes
6.17506 - dynamic_linker='GNU ld.so'
6.17507 - ;;
6.17508 -
6.17509 -freebsd* | dragonfly*)
6.17510 - # DragonFly does not have aout. When/if they implement a new
6.17511 - # versioning mechanism, adjust this.
6.17512 - if test -x /usr/bin/objformat; then
6.17513 - objformat=`/usr/bin/objformat`
6.17514 - else
6.17515 - case $host_os in
6.17516 - freebsd[123]*) objformat=aout ;;
6.17517 - *) objformat=elf ;;
6.17518 - esac
6.17519 - fi
6.17520 - version_type=freebsd-$objformat
6.17521 - case $version_type in
6.17522 - freebsd-elf*)
6.17523 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6.17524 - need_version=no
6.17525 - need_lib_prefix=no
6.17526 - ;;
6.17527 - freebsd-*)
6.17528 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6.17529 - need_version=yes
6.17530 - ;;
6.17531 - esac
6.17532 - shlibpath_var=LD_LIBRARY_PATH
6.17533 - case $host_os in
6.17534 - freebsd2*)
6.17535 - shlibpath_overrides_runpath=yes
6.17536 - ;;
6.17537 - freebsd3.[01]* | freebsdelf3.[01]*)
6.17538 - shlibpath_overrides_runpath=yes
6.17539 - hardcode_into_libs=yes
6.17540 - ;;
6.17541 - *) # from 3.2 on
6.17542 - shlibpath_overrides_runpath=no
6.17543 - hardcode_into_libs=yes
6.17544 - ;;
6.17545 - esac
6.17546 - ;;
6.17547 -
6.17548 -gnu*)
6.17549 - version_type=linux
6.17550 - need_lib_prefix=no
6.17551 - need_version=no
6.17552 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6.17553 - soname_spec='${libname}${release}${shared_ext}$major'
6.17554 - shlibpath_var=LD_LIBRARY_PATH
6.17555 - hardcode_into_libs=yes
6.17556 - ;;
6.17557 -
6.17558 -hpux9* | hpux10* | hpux11*)
6.17559 - # Give a soname corresponding to the major version so that dld.sl refuses to
6.17560 - # link against other versions.
6.17561 - version_type=sunos
6.17562 - need_lib_prefix=no
6.17563 - need_version=no
6.17564 - case $host_cpu in
6.17565 - ia64*)
6.17566 - shrext_cmds='.so'
6.17567 - hardcode_into_libs=yes
6.17568 - dynamic_linker="$host_os dld.so"
6.17569 - shlibpath_var=LD_LIBRARY_PATH
6.17570 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6.17571 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17572 - soname_spec='${libname}${release}${shared_ext}$major'
6.17573 - if test "X$HPUX_IA64_MODE" = X32; then
6.17574 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6.17575 - else
6.17576 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
6.17577 - fi
6.17578 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6.17579 - ;;
6.17580 - hppa*64*)
6.17581 - shrext_cmds='.sl'
6.17582 - hardcode_into_libs=yes
6.17583 - dynamic_linker="$host_os dld.sl"
6.17584 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
6.17585 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6.17586 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17587 - soname_spec='${libname}${release}${shared_ext}$major'
6.17588 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6.17589 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6.17590 - ;;
6.17591 - *)
6.17592 - shrext_cmds='.sl'
6.17593 - dynamic_linker="$host_os dld.sl"
6.17594 - shlibpath_var=SHLIB_PATH
6.17595 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6.17596 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17597 - soname_spec='${libname}${release}${shared_ext}$major'
6.17598 - ;;
6.17599 - esac
6.17600 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
6.17601 - postinstall_cmds='chmod 555 $lib'
6.17602 - ;;
6.17603 -
6.17604 -irix5* | irix6* | nonstopux*)
6.17605 - case $host_os in
6.17606 - nonstopux*) version_type=nonstopux ;;
6.17607 - *)
6.17608 - if test "$lt_cv_prog_gnu_ld" = yes; then
6.17609 - version_type=linux
6.17610 - else
6.17611 - version_type=irix
6.17612 - fi ;;
6.17613 - esac
6.17614 - need_lib_prefix=no
6.17615 - need_version=no
6.17616 - soname_spec='${libname}${release}${shared_ext}$major'
6.17617 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6.17618 - case $host_os in
6.17619 - irix5* | nonstopux*)
6.17620 - libsuff= shlibsuff=
6.17621 - ;;
6.17622 - *)
6.17623 - case $LD in # libtool.m4 will add one of these switches to LD
6.17624 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
6.17625 - libsuff= shlibsuff= libmagic=32-bit;;
6.17626 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
6.17627 - libsuff=32 shlibsuff=N32 libmagic=N32;;
6.17628 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
6.17629 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
6.17630 - *) libsuff= shlibsuff= libmagic=never-match;;
6.17631 - esac
6.17632 - ;;
6.17633 - esac
6.17634 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
6.17635 - shlibpath_overrides_runpath=no
6.17636 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6.17637 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
6.17638 - hardcode_into_libs=yes
6.17639 - ;;
6.17640 -
6.17641 -# No shared lib support for Linux oldld, aout, or coff.
6.17642 -linux*oldld* | linux*aout* | linux*coff*)
6.17643 - dynamic_linker=no
6.17644 - ;;
6.17645 -
6.17646 -# This must be Linux ELF.
6.17647 -linux*)
6.17648 - version_type=linux
6.17649 - need_lib_prefix=no
6.17650 - need_version=no
6.17651 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17652 - soname_spec='${libname}${release}${shared_ext}$major'
6.17653 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6.17654 - shlibpath_var=LD_LIBRARY_PATH
6.17655 - shlibpath_overrides_runpath=no
6.17656 - # This implies no fast_install, which is unacceptable.
6.17657 - # Some rework will be needed to allow for fast_install
6.17658 - # before this can be enabled.
6.17659 - hardcode_into_libs=yes
6.17660 -
6.17661 - # Append ld.so.conf contents to the search path
6.17662 - if test -f /etc/ld.so.conf; then
6.17663 - 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' ' '`
6.17664 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
6.17665 - fi
6.17666 -
6.17667 - # We used to test for /lib/ld.so.1 and disable shared libraries on
6.17668 - # powerpc, because MkLinux only supported shared libraries with the
6.17669 - # GNU dynamic linker. Since this was broken with cross compilers,
6.17670 - # most powerpc-linux boxes support dynamic linking these days and
6.17671 - # people can always --disable-shared, the test was removed, and we
6.17672 - # assume the GNU/Linux dynamic linker is in use.
6.17673 - dynamic_linker='GNU/Linux ld.so'
6.17674 - ;;
6.17675 -
6.17676 -knetbsd*-gnu)
6.17677 - version_type=linux
6.17678 - need_lib_prefix=no
6.17679 - need_version=no
6.17680 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.17681 - soname_spec='${libname}${release}${shared_ext}$major'
6.17682 - shlibpath_var=LD_LIBRARY_PATH
6.17683 - shlibpath_overrides_runpath=no
6.17684 - hardcode_into_libs=yes
6.17685 - dynamic_linker='GNU ld.so'
6.17686 - ;;
6.17687 -
6.17688 -netbsd*)
6.17689 - version_type=sunos
6.17690 - need_lib_prefix=no
6.17691 - need_version=no
6.17692 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.17693 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.17694 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6.17695 - dynamic_linker='NetBSD (a.out) ld.so'
6.17696 - else
6.17697 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.17698 - soname_spec='${libname}${release}${shared_ext}$major'
6.17699 - dynamic_linker='NetBSD ld.elf_so'
6.17700 - fi
6.17701 - shlibpath_var=LD_LIBRARY_PATH
6.17702 - shlibpath_overrides_runpath=yes
6.17703 - hardcode_into_libs=yes
6.17704 - ;;
6.17705 -
6.17706 -newsos6)
6.17707 - version_type=linux
6.17708 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17709 - shlibpath_var=LD_LIBRARY_PATH
6.17710 - shlibpath_overrides_runpath=yes
6.17711 - ;;
6.17712 -
6.17713 -nto-qnx*)
6.17714 - version_type=linux
6.17715 - need_lib_prefix=no
6.17716 - need_version=no
6.17717 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17718 - soname_spec='${libname}${release}${shared_ext}$major'
6.17719 - shlibpath_var=LD_LIBRARY_PATH
6.17720 - shlibpath_overrides_runpath=yes
6.17721 - ;;
6.17722 -
6.17723 -openbsd*)
6.17724 - version_type=sunos
6.17725 - need_lib_prefix=no
6.17726 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
6.17727 - case $host_os in
6.17728 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
6.17729 - *) need_version=no ;;
6.17730 - esac
6.17731 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.17732 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6.17733 - shlibpath_var=LD_LIBRARY_PATH
6.17734 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.17735 - case $host_os in
6.17736 - openbsd2.[89] | openbsd2.[89].*)
6.17737 - shlibpath_overrides_runpath=no
6.17738 - ;;
6.17739 - *)
6.17740 - shlibpath_overrides_runpath=yes
6.17741 - ;;
6.17742 - esac
6.17743 - else
6.17744 - shlibpath_overrides_runpath=yes
6.17745 - fi
6.17746 - ;;
6.17747 -
6.17748 -os2*)
6.17749 - libname_spec='$name'
6.17750 - shrext_cmds=".dll"
6.17751 - need_lib_prefix=no
6.17752 - library_names_spec='$libname${shared_ext} $libname.a'
6.17753 - dynamic_linker='OS/2 ld.exe'
6.17754 - shlibpath_var=LIBPATH
6.17755 - ;;
6.17756 -
6.17757 -osf3* | osf4* | osf5*)
6.17758 - version_type=osf
6.17759 - need_lib_prefix=no
6.17760 - need_version=no
6.17761 - soname_spec='${libname}${release}${shared_ext}$major'
6.17762 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17763 - shlibpath_var=LD_LIBRARY_PATH
6.17764 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6.17765 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
6.17766 - ;;
6.17767 -
6.17768 -sco3.2v5*)
6.17769 - version_type=osf
6.17770 - soname_spec='${libname}${release}${shared_ext}$major'
6.17771 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17772 - shlibpath_var=LD_LIBRARY_PATH
6.17773 - ;;
6.17774 -
6.17775 -solaris*)
6.17776 - version_type=linux
6.17777 - need_lib_prefix=no
6.17778 - need_version=no
6.17779 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17780 - soname_spec='${libname}${release}${shared_ext}$major'
6.17781 - shlibpath_var=LD_LIBRARY_PATH
6.17782 - shlibpath_overrides_runpath=yes
6.17783 - hardcode_into_libs=yes
6.17784 - # ldd complains unless libraries are executable
6.17785 - postinstall_cmds='chmod +x $lib'
6.17786 - ;;
6.17787 -
6.17788 -sunos4*)
6.17789 - version_type=sunos
6.17790 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.17791 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6.17792 - shlibpath_var=LD_LIBRARY_PATH
6.17793 - shlibpath_overrides_runpath=yes
6.17794 - if test "$with_gnu_ld" = yes; then
6.17795 - need_lib_prefix=no
6.17796 - fi
6.17797 - need_version=yes
6.17798 - ;;
6.17799 -
6.17800 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6.17801 - version_type=linux
6.17802 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17803 - soname_spec='${libname}${release}${shared_ext}$major'
6.17804 - shlibpath_var=LD_LIBRARY_PATH
6.17805 - case $host_vendor in
6.17806 - sni)
6.17807 - shlibpath_overrides_runpath=no
6.17808 - need_lib_prefix=no
6.17809 - export_dynamic_flag_spec='${wl}-Blargedynsym'
6.17810 - runpath_var=LD_RUN_PATH
6.17811 - ;;
6.17812 - siemens)
6.17813 - need_lib_prefix=no
6.17814 - ;;
6.17815 - motorola)
6.17816 - need_lib_prefix=no
6.17817 - need_version=no
6.17818 - shlibpath_overrides_runpath=no
6.17819 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
6.17820 - ;;
6.17821 - esac
6.17822 - ;;
6.17823 -
6.17824 -sysv4*MP*)
6.17825 - if test -d /usr/nec ;then
6.17826 - version_type=linux
6.17827 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
6.17828 - soname_spec='$libname${shared_ext}.$major'
6.17829 - shlibpath_var=LD_LIBRARY_PATH
6.17830 - fi
6.17831 - ;;
6.17832 -
6.17833 -uts4*)
6.17834 - version_type=linux
6.17835 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17836 - soname_spec='${libname}${release}${shared_ext}$major'
6.17837 - shlibpath_var=LD_LIBRARY_PATH
6.17838 - ;;
6.17839 -
6.17840 -*)
6.17841 - dynamic_linker=no
6.17842 - ;;
6.17843 -esac
6.17844 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
6.17845 -echo "${ECHO_T}$dynamic_linker" >&6
6.17846 -test "$dynamic_linker" = no && can_build_shared=no
6.17847 -
6.17848 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6.17849 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6.17850 -hardcode_action_GCJ=
6.17851 -if test -n "$hardcode_libdir_flag_spec_GCJ" || \
6.17852 - test -n "$runpath_var_GCJ" || \
6.17853 - test "X$hardcode_automatic_GCJ" = "Xyes" ; then
6.17854 -
6.17855 - # We can hardcode non-existant directories.
6.17856 - if test "$hardcode_direct_GCJ" != no &&
6.17857 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
6.17858 - # have to relink, otherwise we might link with an installed library
6.17859 - # when we should be linking with a yet-to-be-installed one
6.17860 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
6.17861 - test "$hardcode_minus_L_GCJ" != no; then
6.17862 - # Linking always hardcodes the temporary library directory.
6.17863 - hardcode_action_GCJ=relink
6.17864 - else
6.17865 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
6.17866 - hardcode_action_GCJ=immediate
6.17867 - fi
6.17868 -else
6.17869 - # We cannot hardcode anything, or else we can only hardcode existing
6.17870 - # directories.
6.17871 - hardcode_action_GCJ=unsupported
6.17872 -fi
6.17873 -echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
6.17874 -echo "${ECHO_T}$hardcode_action_GCJ" >&6
6.17875 -
6.17876 -if test "$hardcode_action_GCJ" = relink; then
6.17877 - # Fast installation is not supported
6.17878 - enable_fast_install=no
6.17879 -elif test "$shlibpath_overrides_runpath" = yes ||
6.17880 - test "$enable_shared" = no; then
6.17881 - # Fast installation is not necessary
6.17882 - enable_fast_install=needless
6.17883 -fi
6.17884 -
6.17885 -striplib=
6.17886 -old_striplib=
6.17887 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6.17888 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6.17889 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6.17890 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6.17891 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6.17892 - echo "$as_me:$LINENO: result: yes" >&5
6.17893 -echo "${ECHO_T}yes" >&6
6.17894 -else
6.17895 -# FIXME - insert some real tests, host_os isn't really good enough
6.17896 - case $host_os in
6.17897 - darwin*)
6.17898 - if test -n "$STRIP" ; then
6.17899 - striplib="$STRIP -x"
6.17900 - echo "$as_me:$LINENO: result: yes" >&5
6.17901 -echo "${ECHO_T}yes" >&6
6.17902 - else
6.17903 - echo "$as_me:$LINENO: result: no" >&5
6.17904 -echo "${ECHO_T}no" >&6
6.17905 -fi
6.17906 - ;;
6.17907 - *)
6.17908 - echo "$as_me:$LINENO: result: no" >&5
6.17909 -echo "${ECHO_T}no" >&6
6.17910 - ;;
6.17911 - esac
6.17912 -fi
6.17913 -
6.17914 -if test "x$enable_dlopen" != xyes; then
6.17915 - enable_dlopen=unknown
6.17916 - enable_dlopen_self=unknown
6.17917 - enable_dlopen_self_static=unknown
6.17918 -else
6.17919 - lt_cv_dlopen=no
6.17920 - lt_cv_dlopen_libs=
6.17921 -
6.17922 - case $host_os in
6.17923 - beos*)
6.17924 - lt_cv_dlopen="load_add_on"
6.17925 - lt_cv_dlopen_libs=
6.17926 - lt_cv_dlopen_self=yes
6.17927 - ;;
6.17928 -
6.17929 - mingw* | pw32*)
6.17930 - lt_cv_dlopen="LoadLibrary"
6.17931 - lt_cv_dlopen_libs=
6.17932 - ;;
6.17933 -
6.17934 - cygwin*)
6.17935 - lt_cv_dlopen="dlopen"
6.17936 - lt_cv_dlopen_libs=
6.17937 - ;;
6.17938 -
6.17939 - darwin*)
6.17940 - # if libdl is installed we need to link against it
6.17941 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6.17942 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6.17943 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6.17944 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.17945 -else
6.17946 - ac_check_lib_save_LIBS=$LIBS
6.17947 -LIBS="-ldl $LIBS"
6.17948 -cat >conftest.$ac_ext <<_ACEOF
6.17949 -/* confdefs.h. */
6.17950 -_ACEOF
6.17951 -cat confdefs.h >>conftest.$ac_ext
6.17952 -cat >>conftest.$ac_ext <<_ACEOF
6.17953 -/* end confdefs.h. */
6.17954 -
6.17955 -/* Override any gcc2 internal prototype to avoid an error. */
6.17956 -#ifdef __cplusplus
6.17957 -extern "C"
6.17958 -#endif
6.17959 -/* We use char because int might match the return type of a gcc2
6.17960 - builtin and then its argument prototype would still apply. */
6.17961 -char dlopen ();
6.17962 -int
6.17963 -main ()
6.17964 -{
6.17965 -dlopen ();
6.17966 - ;
6.17967 - return 0;
6.17968 -}
6.17969 -_ACEOF
6.17970 -rm -f conftest.$ac_objext conftest$ac_exeext
6.17971 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.17972 - (eval $ac_link) 2>conftest.er1
6.17973 - ac_status=$?
6.17974 - grep -v '^ *+' conftest.er1 >conftest.err
6.17975 - rm -f conftest.er1
6.17976 - cat conftest.err >&5
6.17977 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.17978 - (exit $ac_status); } &&
6.17979 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.17980 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.17981 - (eval $ac_try) 2>&5
6.17982 - ac_status=$?
6.17983 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.17984 - (exit $ac_status); }; } &&
6.17985 - { ac_try='test -s conftest$ac_exeext'
6.17986 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.17987 - (eval $ac_try) 2>&5
6.17988 - ac_status=$?
6.17989 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.17990 - (exit $ac_status); }; }; then
6.17991 - ac_cv_lib_dl_dlopen=yes
6.17992 -else
6.17993 - echo "$as_me: failed program was:" >&5
6.17994 -sed 's/^/| /' conftest.$ac_ext >&5
6.17995 -
6.17996 -ac_cv_lib_dl_dlopen=no
6.17997 -fi
6.17998 -rm -f conftest.err conftest.$ac_objext \
6.17999 - conftest$ac_exeext conftest.$ac_ext
6.18000 -LIBS=$ac_check_lib_save_LIBS
6.18001 -fi
6.18002 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6.18003 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6.18004 -if test $ac_cv_lib_dl_dlopen = yes; then
6.18005 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
6.18006 -else
6.18007 -
6.18008 - lt_cv_dlopen="dyld"
6.18009 - lt_cv_dlopen_libs=
6.18010 - lt_cv_dlopen_self=yes
6.18011 -
6.18012 -fi
6.18013 -
6.18014 - ;;
6.18015 -
6.18016 - *)
6.18017 - echo "$as_me:$LINENO: checking for shl_load" >&5
6.18018 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
6.18019 -if test "${ac_cv_func_shl_load+set}" = set; then
6.18020 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.18021 -else
6.18022 - cat >conftest.$ac_ext <<_ACEOF
6.18023 -/* confdefs.h. */
6.18024 -_ACEOF
6.18025 -cat confdefs.h >>conftest.$ac_ext
6.18026 -cat >>conftest.$ac_ext <<_ACEOF
6.18027 -/* end confdefs.h. */
6.18028 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
6.18029 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
6.18030 -#define shl_load innocuous_shl_load
6.18031 -
6.18032 -/* System header to define __stub macros and hopefully few prototypes,
6.18033 - which can conflict with char shl_load (); below.
6.18034 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.18035 - <limits.h> exists even on freestanding compilers. */
6.18036 -
6.18037 -#ifdef __STDC__
6.18038 -# include <limits.h>
6.18039 -#else
6.18040 -# include <assert.h>
6.18041 -#endif
6.18042 -
6.18043 -#undef shl_load
6.18044 -
6.18045 -/* Override any gcc2 internal prototype to avoid an error. */
6.18046 -#ifdef __cplusplus
6.18047 -extern "C"
6.18048 -{
6.18049 -#endif
6.18050 -/* We use char because int might match the return type of a gcc2
6.18051 - builtin and then its argument prototype would still apply. */
6.18052 -char shl_load ();
6.18053 -/* The GNU C library defines this for functions which it implements
6.18054 - to always fail with ENOSYS. Some functions are actually named
6.18055 - something starting with __ and the normal name is an alias. */
6.18056 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
6.18057 -choke me
6.18058 -#else
6.18059 -char (*f) () = shl_load;
6.18060 -#endif
6.18061 -#ifdef __cplusplus
6.18062 -}
6.18063 -#endif
6.18064 -
6.18065 -int
6.18066 -main ()
6.18067 -{
6.18068 -return f != shl_load;
6.18069 - ;
6.18070 - return 0;
6.18071 -}
6.18072 -_ACEOF
6.18073 -rm -f conftest.$ac_objext conftest$ac_exeext
6.18074 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.18075 - (eval $ac_link) 2>conftest.er1
6.18076 - ac_status=$?
6.18077 - grep -v '^ *+' conftest.er1 >conftest.err
6.18078 - rm -f conftest.er1
6.18079 - cat conftest.err >&5
6.18080 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18081 - (exit $ac_status); } &&
6.18082 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.18083 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18084 - (eval $ac_try) 2>&5
6.18085 - ac_status=$?
6.18086 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18087 - (exit $ac_status); }; } &&
6.18088 - { ac_try='test -s conftest$ac_exeext'
6.18089 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18090 - (eval $ac_try) 2>&5
6.18091 - ac_status=$?
6.18092 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18093 - (exit $ac_status); }; }; then
6.18094 - ac_cv_func_shl_load=yes
6.18095 -else
6.18096 - echo "$as_me: failed program was:" >&5
6.18097 -sed 's/^/| /' conftest.$ac_ext >&5
6.18098 -
6.18099 -ac_cv_func_shl_load=no
6.18100 -fi
6.18101 -rm -f conftest.err conftest.$ac_objext \
6.18102 - conftest$ac_exeext conftest.$ac_ext
6.18103 -fi
6.18104 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
6.18105 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
6.18106 -if test $ac_cv_func_shl_load = yes; then
6.18107 - lt_cv_dlopen="shl_load"
6.18108 -else
6.18109 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
6.18110 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
6.18111 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
6.18112 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.18113 -else
6.18114 - ac_check_lib_save_LIBS=$LIBS
6.18115 -LIBS="-ldld $LIBS"
6.18116 -cat >conftest.$ac_ext <<_ACEOF
6.18117 -/* confdefs.h. */
6.18118 -_ACEOF
6.18119 -cat confdefs.h >>conftest.$ac_ext
6.18120 -cat >>conftest.$ac_ext <<_ACEOF
6.18121 -/* end confdefs.h. */
6.18122 -
6.18123 -/* Override any gcc2 internal prototype to avoid an error. */
6.18124 -#ifdef __cplusplus
6.18125 -extern "C"
6.18126 -#endif
6.18127 -/* We use char because int might match the return type of a gcc2
6.18128 - builtin and then its argument prototype would still apply. */
6.18129 -char shl_load ();
6.18130 -int
6.18131 -main ()
6.18132 -{
6.18133 -shl_load ();
6.18134 - ;
6.18135 - return 0;
6.18136 -}
6.18137 -_ACEOF
6.18138 -rm -f conftest.$ac_objext conftest$ac_exeext
6.18139 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.18140 - (eval $ac_link) 2>conftest.er1
6.18141 - ac_status=$?
6.18142 - grep -v '^ *+' conftest.er1 >conftest.err
6.18143 - rm -f conftest.er1
6.18144 - cat conftest.err >&5
6.18145 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18146 - (exit $ac_status); } &&
6.18147 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.18148 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18149 - (eval $ac_try) 2>&5
6.18150 - ac_status=$?
6.18151 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18152 - (exit $ac_status); }; } &&
6.18153 - { ac_try='test -s conftest$ac_exeext'
6.18154 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18155 - (eval $ac_try) 2>&5
6.18156 - ac_status=$?
6.18157 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18158 - (exit $ac_status); }; }; then
6.18159 - ac_cv_lib_dld_shl_load=yes
6.18160 -else
6.18161 - echo "$as_me: failed program was:" >&5
6.18162 -sed 's/^/| /' conftest.$ac_ext >&5
6.18163 -
6.18164 -ac_cv_lib_dld_shl_load=no
6.18165 -fi
6.18166 -rm -f conftest.err conftest.$ac_objext \
6.18167 - conftest$ac_exeext conftest.$ac_ext
6.18168 -LIBS=$ac_check_lib_save_LIBS
6.18169 -fi
6.18170 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
6.18171 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
6.18172 -if test $ac_cv_lib_dld_shl_load = yes; then
6.18173 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
6.18174 -else
6.18175 - echo "$as_me:$LINENO: checking for dlopen" >&5
6.18176 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
6.18177 -if test "${ac_cv_func_dlopen+set}" = set; then
6.18178 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.18179 -else
6.18180 - cat >conftest.$ac_ext <<_ACEOF
6.18181 -/* confdefs.h. */
6.18182 -_ACEOF
6.18183 -cat confdefs.h >>conftest.$ac_ext
6.18184 -cat >>conftest.$ac_ext <<_ACEOF
6.18185 -/* end confdefs.h. */
6.18186 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
6.18187 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
6.18188 -#define dlopen innocuous_dlopen
6.18189 -
6.18190 -/* System header to define __stub macros and hopefully few prototypes,
6.18191 - which can conflict with char dlopen (); below.
6.18192 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.18193 - <limits.h> exists even on freestanding compilers. */
6.18194 -
6.18195 -#ifdef __STDC__
6.18196 -# include <limits.h>
6.18197 -#else
6.18198 -# include <assert.h>
6.18199 -#endif
6.18200 -
6.18201 -#undef dlopen
6.18202 -
6.18203 -/* Override any gcc2 internal prototype to avoid an error. */
6.18204 -#ifdef __cplusplus
6.18205 -extern "C"
6.18206 -{
6.18207 -#endif
6.18208 -/* We use char because int might match the return type of a gcc2
6.18209 - builtin and then its argument prototype would still apply. */
6.18210 -char dlopen ();
6.18211 -/* The GNU C library defines this for functions which it implements
6.18212 - to always fail with ENOSYS. Some functions are actually named
6.18213 - something starting with __ and the normal name is an alias. */
6.18214 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
6.18215 -choke me
6.18216 -#else
6.18217 -char (*f) () = dlopen;
6.18218 -#endif
6.18219 -#ifdef __cplusplus
6.18220 -}
6.18221 -#endif
6.18222 -
6.18223 -int
6.18224 -main ()
6.18225 -{
6.18226 -return f != dlopen;
6.18227 - ;
6.18228 - return 0;
6.18229 -}
6.18230 -_ACEOF
6.18231 -rm -f conftest.$ac_objext conftest$ac_exeext
6.18232 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.18233 - (eval $ac_link) 2>conftest.er1
6.18234 - ac_status=$?
6.18235 - grep -v '^ *+' conftest.er1 >conftest.err
6.18236 - rm -f conftest.er1
6.18237 - cat conftest.err >&5
6.18238 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18239 - (exit $ac_status); } &&
6.18240 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.18241 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18242 - (eval $ac_try) 2>&5
6.18243 - ac_status=$?
6.18244 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18245 - (exit $ac_status); }; } &&
6.18246 - { ac_try='test -s conftest$ac_exeext'
6.18247 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18248 - (eval $ac_try) 2>&5
6.18249 - ac_status=$?
6.18250 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18251 - (exit $ac_status); }; }; then
6.18252 - ac_cv_func_dlopen=yes
6.18253 -else
6.18254 - echo "$as_me: failed program was:" >&5
6.18255 -sed 's/^/| /' conftest.$ac_ext >&5
6.18256 -
6.18257 -ac_cv_func_dlopen=no
6.18258 -fi
6.18259 -rm -f conftest.err conftest.$ac_objext \
6.18260 - conftest$ac_exeext conftest.$ac_ext
6.18261 -fi
6.18262 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
6.18263 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
6.18264 -if test $ac_cv_func_dlopen = yes; then
6.18265 - lt_cv_dlopen="dlopen"
6.18266 -else
6.18267 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6.18268 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6.18269 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6.18270 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.18271 -else
6.18272 - ac_check_lib_save_LIBS=$LIBS
6.18273 -LIBS="-ldl $LIBS"
6.18274 -cat >conftest.$ac_ext <<_ACEOF
6.18275 -/* confdefs.h. */
6.18276 -_ACEOF
6.18277 -cat confdefs.h >>conftest.$ac_ext
6.18278 -cat >>conftest.$ac_ext <<_ACEOF
6.18279 -/* end confdefs.h. */
6.18280 -
6.18281 -/* Override any gcc2 internal prototype to avoid an error. */
6.18282 -#ifdef __cplusplus
6.18283 -extern "C"
6.18284 -#endif
6.18285 -/* We use char because int might match the return type of a gcc2
6.18286 - builtin and then its argument prototype would still apply. */
6.18287 -char dlopen ();
6.18288 -int
6.18289 -main ()
6.18290 -{
6.18291 -dlopen ();
6.18292 - ;
6.18293 - return 0;
6.18294 -}
6.18295 -_ACEOF
6.18296 -rm -f conftest.$ac_objext conftest$ac_exeext
6.18297 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.18298 - (eval $ac_link) 2>conftest.er1
6.18299 - ac_status=$?
6.18300 - grep -v '^ *+' conftest.er1 >conftest.err
6.18301 - rm -f conftest.er1
6.18302 - cat conftest.err >&5
6.18303 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18304 - (exit $ac_status); } &&
6.18305 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.18306 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18307 - (eval $ac_try) 2>&5
6.18308 - ac_status=$?
6.18309 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18310 - (exit $ac_status); }; } &&
6.18311 - { ac_try='test -s conftest$ac_exeext'
6.18312 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18313 - (eval $ac_try) 2>&5
6.18314 - ac_status=$?
6.18315 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18316 - (exit $ac_status); }; }; then
6.18317 - ac_cv_lib_dl_dlopen=yes
6.18318 -else
6.18319 - echo "$as_me: failed program was:" >&5
6.18320 -sed 's/^/| /' conftest.$ac_ext >&5
6.18321 -
6.18322 -ac_cv_lib_dl_dlopen=no
6.18323 -fi
6.18324 -rm -f conftest.err conftest.$ac_objext \
6.18325 - conftest$ac_exeext conftest.$ac_ext
6.18326 -LIBS=$ac_check_lib_save_LIBS
6.18327 -fi
6.18328 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6.18329 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6.18330 -if test $ac_cv_lib_dl_dlopen = yes; then
6.18331 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
6.18332 -else
6.18333 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
6.18334 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
6.18335 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
6.18336 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.18337 -else
6.18338 - ac_check_lib_save_LIBS=$LIBS
6.18339 -LIBS="-lsvld $LIBS"
6.18340 -cat >conftest.$ac_ext <<_ACEOF
6.18341 -/* confdefs.h. */
6.18342 -_ACEOF
6.18343 -cat confdefs.h >>conftest.$ac_ext
6.18344 -cat >>conftest.$ac_ext <<_ACEOF
6.18345 -/* end confdefs.h. */
6.18346 -
6.18347 -/* Override any gcc2 internal prototype to avoid an error. */
6.18348 -#ifdef __cplusplus
6.18349 -extern "C"
6.18350 -#endif
6.18351 -/* We use char because int might match the return type of a gcc2
6.18352 - builtin and then its argument prototype would still apply. */
6.18353 -char dlopen ();
6.18354 -int
6.18355 -main ()
6.18356 -{
6.18357 -dlopen ();
6.18358 - ;
6.18359 - return 0;
6.18360 -}
6.18361 -_ACEOF
6.18362 -rm -f conftest.$ac_objext conftest$ac_exeext
6.18363 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.18364 - (eval $ac_link) 2>conftest.er1
6.18365 - ac_status=$?
6.18366 - grep -v '^ *+' conftest.er1 >conftest.err
6.18367 - rm -f conftest.er1
6.18368 - cat conftest.err >&5
6.18369 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18370 - (exit $ac_status); } &&
6.18371 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.18372 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18373 - (eval $ac_try) 2>&5
6.18374 - ac_status=$?
6.18375 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18376 - (exit $ac_status); }; } &&
6.18377 - { ac_try='test -s conftest$ac_exeext'
6.18378 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18379 - (eval $ac_try) 2>&5
6.18380 - ac_status=$?
6.18381 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18382 - (exit $ac_status); }; }; then
6.18383 - ac_cv_lib_svld_dlopen=yes
6.18384 -else
6.18385 - echo "$as_me: failed program was:" >&5
6.18386 -sed 's/^/| /' conftest.$ac_ext >&5
6.18387 -
6.18388 -ac_cv_lib_svld_dlopen=no
6.18389 -fi
6.18390 -rm -f conftest.err conftest.$ac_objext \
6.18391 - conftest$ac_exeext conftest.$ac_ext
6.18392 -LIBS=$ac_check_lib_save_LIBS
6.18393 -fi
6.18394 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
6.18395 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
6.18396 -if test $ac_cv_lib_svld_dlopen = yes; then
6.18397 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
6.18398 -else
6.18399 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
6.18400 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
6.18401 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
6.18402 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.18403 -else
6.18404 - ac_check_lib_save_LIBS=$LIBS
6.18405 -LIBS="-ldld $LIBS"
6.18406 -cat >conftest.$ac_ext <<_ACEOF
6.18407 -/* confdefs.h. */
6.18408 -_ACEOF
6.18409 -cat confdefs.h >>conftest.$ac_ext
6.18410 -cat >>conftest.$ac_ext <<_ACEOF
6.18411 -/* end confdefs.h. */
6.18412 -
6.18413 -/* Override any gcc2 internal prototype to avoid an error. */
6.18414 -#ifdef __cplusplus
6.18415 -extern "C"
6.18416 -#endif
6.18417 -/* We use char because int might match the return type of a gcc2
6.18418 - builtin and then its argument prototype would still apply. */
6.18419 -char dld_link ();
6.18420 -int
6.18421 -main ()
6.18422 -{
6.18423 -dld_link ();
6.18424 - ;
6.18425 - return 0;
6.18426 -}
6.18427 -_ACEOF
6.18428 -rm -f conftest.$ac_objext conftest$ac_exeext
6.18429 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.18430 - (eval $ac_link) 2>conftest.er1
6.18431 - ac_status=$?
6.18432 - grep -v '^ *+' conftest.er1 >conftest.err
6.18433 - rm -f conftest.er1
6.18434 - cat conftest.err >&5
6.18435 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18436 - (exit $ac_status); } &&
6.18437 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.18438 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18439 - (eval $ac_try) 2>&5
6.18440 - ac_status=$?
6.18441 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18442 - (exit $ac_status); }; } &&
6.18443 - { ac_try='test -s conftest$ac_exeext'
6.18444 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18445 - (eval $ac_try) 2>&5
6.18446 - ac_status=$?
6.18447 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18448 - (exit $ac_status); }; }; then
6.18449 - ac_cv_lib_dld_dld_link=yes
6.18450 -else
6.18451 - echo "$as_me: failed program was:" >&5
6.18452 -sed 's/^/| /' conftest.$ac_ext >&5
6.18453 -
6.18454 -ac_cv_lib_dld_dld_link=no
6.18455 -fi
6.18456 -rm -f conftest.err conftest.$ac_objext \
6.18457 - conftest$ac_exeext conftest.$ac_ext
6.18458 -LIBS=$ac_check_lib_save_LIBS
6.18459 -fi
6.18460 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
6.18461 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
6.18462 -if test $ac_cv_lib_dld_dld_link = yes; then
6.18463 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
6.18464 -fi
6.18465 -
6.18466 -
6.18467 -fi
6.18468 -
6.18469 -
6.18470 -fi
6.18471 -
6.18472 -
6.18473 -fi
6.18474 -
6.18475 -
6.18476 -fi
6.18477 -
6.18478 -
6.18479 -fi
6.18480 -
6.18481 - ;;
6.18482 - esac
6.18483 -
6.18484 - if test "x$lt_cv_dlopen" != xno; then
6.18485 - enable_dlopen=yes
6.18486 - else
6.18487 - enable_dlopen=no
6.18488 - fi
6.18489 -
6.18490 - case $lt_cv_dlopen in
6.18491 - dlopen)
6.18492 - save_CPPFLAGS="$CPPFLAGS"
6.18493 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
6.18494 -
6.18495 - save_LDFLAGS="$LDFLAGS"
6.18496 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
6.18497 -
6.18498 - save_LIBS="$LIBS"
6.18499 - LIBS="$lt_cv_dlopen_libs $LIBS"
6.18500 -
6.18501 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
6.18502 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
6.18503 -if test "${lt_cv_dlopen_self+set}" = set; then
6.18504 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.18505 -else
6.18506 - if test "$cross_compiling" = yes; then :
6.18507 - lt_cv_dlopen_self=cross
6.18508 -else
6.18509 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6.18510 - lt_status=$lt_dlunknown
6.18511 - cat > conftest.$ac_ext <<EOF
6.18512 -#line __oline__ "configure"
6.18513 -#include "confdefs.h"
6.18514 -
6.18515 -#if HAVE_DLFCN_H
6.18516 -#include <dlfcn.h>
6.18517 -#endif
6.18518 -
6.18519 -#include <stdio.h>
6.18520 -
6.18521 -#ifdef RTLD_GLOBAL
6.18522 -# define LT_DLGLOBAL RTLD_GLOBAL
6.18523 -#else
6.18524 -# ifdef DL_GLOBAL
6.18525 -# define LT_DLGLOBAL DL_GLOBAL
6.18526 -# else
6.18527 -# define LT_DLGLOBAL 0
6.18528 -# endif
6.18529 -#endif
6.18530 -
6.18531 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
6.18532 - find out it does not work in some platform. */
6.18533 -#ifndef LT_DLLAZY_OR_NOW
6.18534 -# ifdef RTLD_LAZY
6.18535 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
6.18536 -# else
6.18537 -# ifdef DL_LAZY
6.18538 -# define LT_DLLAZY_OR_NOW DL_LAZY
6.18539 -# else
6.18540 -# ifdef RTLD_NOW
6.18541 -# define LT_DLLAZY_OR_NOW RTLD_NOW
6.18542 -# else
6.18543 -# ifdef DL_NOW
6.18544 -# define LT_DLLAZY_OR_NOW DL_NOW
6.18545 -# else
6.18546 -# define LT_DLLAZY_OR_NOW 0
6.18547 -# endif
6.18548 -# endif
6.18549 -# endif
6.18550 -# endif
6.18551 -#endif
6.18552 -
6.18553 -#ifdef __cplusplus
6.18554 -extern "C" void exit (int);
6.18555 -#endif
6.18556 -
6.18557 -void fnord() { int i=42;}
6.18558 -int main ()
6.18559 -{
6.18560 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
6.18561 - int status = $lt_dlunknown;
6.18562 -
6.18563 - if (self)
6.18564 - {
6.18565 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
6.18566 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
6.18567 - /* dlclose (self); */
6.18568 - }
6.18569 -
6.18570 - exit (status);
6.18571 -}
6.18572 -EOF
6.18573 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.18574 - (eval $ac_link) 2>&5
6.18575 - ac_status=$?
6.18576 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18577 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
6.18578 - (./conftest; exit; ) >&5 2>/dev/null
6.18579 - lt_status=$?
6.18580 - case x$lt_status in
6.18581 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
6.18582 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
6.18583 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
6.18584 - esac
6.18585 - else :
6.18586 - # compilation failed
6.18587 - lt_cv_dlopen_self=no
6.18588 - fi
6.18589 -fi
6.18590 -rm -fr conftest*
6.18591 -
6.18592 -
6.18593 -fi
6.18594 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
6.18595 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
6.18596 -
6.18597 - if test "x$lt_cv_dlopen_self" = xyes; then
6.18598 - LDFLAGS="$LDFLAGS $link_static_flag"
6.18599 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
6.18600 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
6.18601 -if test "${lt_cv_dlopen_self_static+set}" = set; then
6.18602 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.18603 -else
6.18604 - if test "$cross_compiling" = yes; then :
6.18605 - lt_cv_dlopen_self_static=cross
6.18606 -else
6.18607 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6.18608 - lt_status=$lt_dlunknown
6.18609 - cat > conftest.$ac_ext <<EOF
6.18610 -#line __oline__ "configure"
6.18611 -#include "confdefs.h"
6.18612 -
6.18613 -#if HAVE_DLFCN_H
6.18614 -#include <dlfcn.h>
6.18615 -#endif
6.18616 -
6.18617 -#include <stdio.h>
6.18618 -
6.18619 -#ifdef RTLD_GLOBAL
6.18620 -# define LT_DLGLOBAL RTLD_GLOBAL
6.18621 -#else
6.18622 -# ifdef DL_GLOBAL
6.18623 -# define LT_DLGLOBAL DL_GLOBAL
6.18624 -# else
6.18625 -# define LT_DLGLOBAL 0
6.18626 -# endif
6.18627 -#endif
6.18628 -
6.18629 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
6.18630 - find out it does not work in some platform. */
6.18631 -#ifndef LT_DLLAZY_OR_NOW
6.18632 -# ifdef RTLD_LAZY
6.18633 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
6.18634 -# else
6.18635 -# ifdef DL_LAZY
6.18636 -# define LT_DLLAZY_OR_NOW DL_LAZY
6.18637 -# else
6.18638 -# ifdef RTLD_NOW
6.18639 -# define LT_DLLAZY_OR_NOW RTLD_NOW
6.18640 -# else
6.18641 -# ifdef DL_NOW
6.18642 -# define LT_DLLAZY_OR_NOW DL_NOW
6.18643 -# else
6.18644 -# define LT_DLLAZY_OR_NOW 0
6.18645 -# endif
6.18646 -# endif
6.18647 -# endif
6.18648 -# endif
6.18649 -#endif
6.18650 -
6.18651 -#ifdef __cplusplus
6.18652 -extern "C" void exit (int);
6.18653 -#endif
6.18654 -
6.18655 -void fnord() { int i=42;}
6.18656 -int main ()
6.18657 -{
6.18658 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
6.18659 - int status = $lt_dlunknown;
6.18660 -
6.18661 - if (self)
6.18662 - {
6.18663 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
6.18664 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
6.18665 - /* dlclose (self); */
6.18666 - }
6.18667 -
6.18668 - exit (status);
6.18669 -}
6.18670 -EOF
6.18671 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.18672 - (eval $ac_link) 2>&5
6.18673 - ac_status=$?
6.18674 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18675 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
6.18676 - (./conftest; exit; ) >&5 2>/dev/null
6.18677 - lt_status=$?
6.18678 - case x$lt_status in
6.18679 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
6.18680 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
6.18681 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
6.18682 - esac
6.18683 - else :
6.18684 - # compilation failed
6.18685 - lt_cv_dlopen_self_static=no
6.18686 - fi
6.18687 -fi
6.18688 -rm -fr conftest*
6.18689 -
6.18690 -
6.18691 -fi
6.18692 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
6.18693 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
6.18694 - fi
6.18695 -
6.18696 - CPPFLAGS="$save_CPPFLAGS"
6.18697 - LDFLAGS="$save_LDFLAGS"
6.18698 - LIBS="$save_LIBS"
6.18699 - ;;
6.18700 - esac
6.18701 -
6.18702 - case $lt_cv_dlopen_self in
6.18703 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
6.18704 - *) enable_dlopen_self=unknown ;;
6.18705 - esac
6.18706 -
6.18707 - case $lt_cv_dlopen_self_static in
6.18708 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
6.18709 - *) enable_dlopen_self_static=unknown ;;
6.18710 - esac
6.18711 -fi
6.18712 -
6.18713 -
6.18714 -# The else clause should only fire when bootstrapping the
6.18715 -# libtool distribution, otherwise you forgot to ship ltmain.sh
6.18716 -# with your package, and you will get complaints that there are
6.18717 -# no rules to generate ltmain.sh.
6.18718 -if test -f "$ltmain"; then
6.18719 - # See if we are running on zsh, and set the options which allow our commands through
6.18720 - # without removal of \ escapes.
6.18721 - if test -n "${ZSH_VERSION+set}" ; then
6.18722 - setopt NO_GLOB_SUBST
6.18723 - fi
6.18724 - # Now quote all the things that may contain metacharacters while being
6.18725 - # careful not to overquote the AC_SUBSTed values. We take copies of the
6.18726 - # variables and quote the copies for generation of the libtool script.
6.18727 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
6.18728 - SED SHELL STRIP \
6.18729 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
6.18730 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
6.18731 - deplibs_check_method reload_flag reload_cmds need_locks \
6.18732 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
6.18733 - lt_cv_sys_global_symbol_to_c_name_address \
6.18734 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
6.18735 - old_postinstall_cmds old_postuninstall_cmds \
6.18736 - compiler_GCJ \
6.18737 - CC_GCJ \
6.18738 - LD_GCJ \
6.18739 - lt_prog_compiler_wl_GCJ \
6.18740 - lt_prog_compiler_pic_GCJ \
6.18741 - lt_prog_compiler_static_GCJ \
6.18742 - lt_prog_compiler_no_builtin_flag_GCJ \
6.18743 - export_dynamic_flag_spec_GCJ \
6.18744 - thread_safe_flag_spec_GCJ \
6.18745 - whole_archive_flag_spec_GCJ \
6.18746 - enable_shared_with_static_runtimes_GCJ \
6.18747 - old_archive_cmds_GCJ \
6.18748 - old_archive_from_new_cmds_GCJ \
6.18749 - predep_objects_GCJ \
6.18750 - postdep_objects_GCJ \
6.18751 - predeps_GCJ \
6.18752 - postdeps_GCJ \
6.18753 - compiler_lib_search_path_GCJ \
6.18754 - archive_cmds_GCJ \
6.18755 - archive_expsym_cmds_GCJ \
6.18756 - postinstall_cmds_GCJ \
6.18757 - postuninstall_cmds_GCJ \
6.18758 - old_archive_from_expsyms_cmds_GCJ \
6.18759 - allow_undefined_flag_GCJ \
6.18760 - no_undefined_flag_GCJ \
6.18761 - export_symbols_cmds_GCJ \
6.18762 - hardcode_libdir_flag_spec_GCJ \
6.18763 - hardcode_libdir_flag_spec_ld_GCJ \
6.18764 - hardcode_libdir_separator_GCJ \
6.18765 - hardcode_automatic_GCJ \
6.18766 - module_cmds_GCJ \
6.18767 - module_expsym_cmds_GCJ \
6.18768 - lt_cv_prog_compiler_c_o_GCJ \
6.18769 - exclude_expsyms_GCJ \
6.18770 - include_expsyms_GCJ; do
6.18771 -
6.18772 - case $var in
6.18773 - old_archive_cmds_GCJ | \
6.18774 - old_archive_from_new_cmds_GCJ | \
6.18775 - archive_cmds_GCJ | \
6.18776 - archive_expsym_cmds_GCJ | \
6.18777 - module_cmds_GCJ | \
6.18778 - module_expsym_cmds_GCJ | \
6.18779 - old_archive_from_expsyms_cmds_GCJ | \
6.18780 - export_symbols_cmds_GCJ | \
6.18781 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
6.18782 - postinstall_cmds | postuninstall_cmds | \
6.18783 - old_postinstall_cmds | old_postuninstall_cmds | \
6.18784 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
6.18785 - # Double-quote double-evaled strings.
6.18786 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
6.18787 - ;;
6.18788 - *)
6.18789 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
6.18790 - ;;
6.18791 - esac
6.18792 - done
6.18793 -
6.18794 - case $lt_echo in
6.18795 - *'\$0 --fallback-echo"')
6.18796 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
6.18797 - ;;
6.18798 - esac
6.18799 -
6.18800 -cfgfile="$ofile"
6.18801 -
6.18802 - cat <<__EOF__ >> "$cfgfile"
6.18803 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
6.18804 -
6.18805 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6.18806 -
6.18807 -# Shell to use when invoking shell scripts.
6.18808 -SHELL=$lt_SHELL
6.18809 -
6.18810 -# Whether or not to build shared libraries.
6.18811 -build_libtool_libs=$enable_shared
6.18812 -
6.18813 -# Whether or not to build static libraries.
6.18814 -build_old_libs=$enable_static
6.18815 -
6.18816 -# Whether or not to add -lc for building shared libraries.
6.18817 -build_libtool_need_lc=$archive_cmds_need_lc_GCJ
6.18818 -
6.18819 -# Whether or not to disallow shared libs when runtime libs are static
6.18820 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
6.18821 -
6.18822 -# Whether or not to optimize for fast installation.
6.18823 -fast_install=$enable_fast_install
6.18824 -
6.18825 -# The host system.
6.18826 -host_alias=$host_alias
6.18827 -host=$host
6.18828 -host_os=$host_os
6.18829 -
6.18830 -# The build system.
6.18831 -build_alias=$build_alias
6.18832 -build=$build
6.18833 -build_os=$build_os
6.18834 -
6.18835 -# An echo program that does not interpret backslashes.
6.18836 -echo=$lt_echo
6.18837 -
6.18838 -# The archiver.
6.18839 -AR=$lt_AR
6.18840 -AR_FLAGS=$lt_AR_FLAGS
6.18841 -
6.18842 -# A C compiler.
6.18843 -LTCC=$lt_LTCC
6.18844 -
6.18845 -# A language-specific compiler.
6.18846 -CC=$lt_compiler_GCJ
6.18847 -
6.18848 -# Is the compiler the GNU C compiler?
6.18849 -with_gcc=$GCC_GCJ
6.18850 -
6.18851 -# An ERE matcher.
6.18852 -EGREP=$lt_EGREP
6.18853 -
6.18854 -# The linker used to build libraries.
6.18855 -LD=$lt_LD_GCJ
6.18856 -
6.18857 -# Whether we need hard or soft links.
6.18858 -LN_S=$lt_LN_S
6.18859 -
6.18860 -# A BSD-compatible nm program.
6.18861 -NM=$lt_NM
6.18862 -
6.18863 -# A symbol stripping program
6.18864 -STRIP=$lt_STRIP
6.18865 -
6.18866 -# Used to examine libraries when file_magic_cmd begins "file"
6.18867 -MAGIC_CMD=$MAGIC_CMD
6.18868 -
6.18869 -# Used on cygwin: DLL creation program.
6.18870 -DLLTOOL="$DLLTOOL"
6.18871 -
6.18872 -# Used on cygwin: object dumper.
6.18873 -OBJDUMP="$OBJDUMP"
6.18874 -
6.18875 -# Used on cygwin: assembler.
6.18876 -AS="$AS"
6.18877 -
6.18878 -# The name of the directory that contains temporary libtool files.
6.18879 -objdir=$objdir
6.18880 -
6.18881 -# How to create reloadable object files.
6.18882 -reload_flag=$lt_reload_flag
6.18883 -reload_cmds=$lt_reload_cmds
6.18884 -
6.18885 -# How to pass a linker flag through the compiler.
6.18886 -wl=$lt_lt_prog_compiler_wl_GCJ
6.18887 -
6.18888 -# Object file suffix (normally "o").
6.18889 -objext="$ac_objext"
6.18890 -
6.18891 -# Old archive suffix (normally "a").
6.18892 -libext="$libext"
6.18893 -
6.18894 -# Shared library suffix (normally ".so").
6.18895 -shrext_cmds='$shrext_cmds'
6.18896 -
6.18897 -# Executable file suffix (normally "").
6.18898 -exeext="$exeext"
6.18899 -
6.18900 -# Additional compiler flags for building library objects.
6.18901 -pic_flag=$lt_lt_prog_compiler_pic_GCJ
6.18902 -pic_mode=$pic_mode
6.18903 -
6.18904 -# What is the maximum length of a command?
6.18905 -max_cmd_len=$lt_cv_sys_max_cmd_len
6.18906 -
6.18907 -# Does compiler simultaneously support -c and -o options?
6.18908 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
6.18909 -
6.18910 -# Must we lock files when doing compilation?
6.18911 -need_locks=$lt_need_locks
6.18912 -
6.18913 -# Do we need the lib prefix for modules?
6.18914 -need_lib_prefix=$need_lib_prefix
6.18915 -
6.18916 -# Do we need a version for libraries?
6.18917 -need_version=$need_version
6.18918 -
6.18919 -# Whether dlopen is supported.
6.18920 -dlopen_support=$enable_dlopen
6.18921 -
6.18922 -# Whether dlopen of programs is supported.
6.18923 -dlopen_self=$enable_dlopen_self
6.18924 -
6.18925 -# Whether dlopen of statically linked programs is supported.
6.18926 -dlopen_self_static=$enable_dlopen_self_static
6.18927 -
6.18928 -# Compiler flag to prevent dynamic linking.
6.18929 -link_static_flag=$lt_lt_prog_compiler_static_GCJ
6.18930 -
6.18931 -# Compiler flag to turn off builtin functions.
6.18932 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
6.18933 -
6.18934 -# Compiler flag to allow reflexive dlopens.
6.18935 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
6.18936 -
6.18937 -# Compiler flag to generate shared objects directly from archives.
6.18938 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
6.18939 -
6.18940 -# Compiler flag to generate thread-safe objects.
6.18941 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
6.18942 -
6.18943 -# Library versioning type.
6.18944 -version_type=$version_type
6.18945 -
6.18946 -# Format of library name prefix.
6.18947 -libname_spec=$lt_libname_spec
6.18948 -
6.18949 -# List of archive names. First name is the real one, the rest are links.
6.18950 -# The last name is the one that the linker finds with -lNAME.
6.18951 -library_names_spec=$lt_library_names_spec
6.18952 -
6.18953 -# The coded name of the library, if different from the real name.
6.18954 -soname_spec=$lt_soname_spec
6.18955 -
6.18956 -# Commands used to build and install an old-style archive.
6.18957 -RANLIB=$lt_RANLIB
6.18958 -old_archive_cmds=$lt_old_archive_cmds_GCJ
6.18959 -old_postinstall_cmds=$lt_old_postinstall_cmds
6.18960 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
6.18961 -
6.18962 -# Create an old-style archive from a shared archive.
6.18963 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
6.18964 -
6.18965 -# Create a temporary old-style archive to link instead of a shared archive.
6.18966 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
6.18967 -
6.18968 -# Commands used to build and install a shared archive.
6.18969 -archive_cmds=$lt_archive_cmds_GCJ
6.18970 -archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
6.18971 -postinstall_cmds=$lt_postinstall_cmds
6.18972 -postuninstall_cmds=$lt_postuninstall_cmds
6.18973 -
6.18974 -# Commands used to build a loadable module (assumed same as above if empty)
6.18975 -module_cmds=$lt_module_cmds_GCJ
6.18976 -module_expsym_cmds=$lt_module_expsym_cmds_GCJ
6.18977 -
6.18978 -# Commands to strip libraries.
6.18979 -old_striplib=$lt_old_striplib
6.18980 -striplib=$lt_striplib
6.18981 -
6.18982 -# Dependencies to place before the objects being linked to create a
6.18983 -# shared library.
6.18984 -predep_objects=$lt_predep_objects_GCJ
6.18985 -
6.18986 -# Dependencies to place after the objects being linked to create a
6.18987 -# shared library.
6.18988 -postdep_objects=$lt_postdep_objects_GCJ
6.18989 -
6.18990 -# Dependencies to place before the objects being linked to create a
6.18991 -# shared library.
6.18992 -predeps=$lt_predeps_GCJ
6.18993 -
6.18994 -# Dependencies to place after the objects being linked to create a
6.18995 -# shared library.
6.18996 -postdeps=$lt_postdeps_GCJ
6.18997 -
6.18998 -# The library search path used internally by the compiler when linking
6.18999 -# a shared library.
6.19000 -compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
6.19001 -
6.19002 -# Method to check whether dependent libraries are shared objects.
6.19003 -deplibs_check_method=$lt_deplibs_check_method
6.19004 -
6.19005 -# Command to use when deplibs_check_method == file_magic.
6.19006 -file_magic_cmd=$lt_file_magic_cmd
6.19007 -
6.19008 -# Flag that allows shared libraries with undefined symbols to be built.
6.19009 -allow_undefined_flag=$lt_allow_undefined_flag_GCJ
6.19010 -
6.19011 -# Flag that forces no undefined symbols.
6.19012 -no_undefined_flag=$lt_no_undefined_flag_GCJ
6.19013 -
6.19014 -# Commands used to finish a libtool library installation in a directory.
6.19015 -finish_cmds=$lt_finish_cmds
6.19016 -
6.19017 -# Same as above, but a single script fragment to be evaled but not shown.
6.19018 -finish_eval=$lt_finish_eval
6.19019 -
6.19020 -# Take the output of nm and produce a listing of raw symbols and C names.
6.19021 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
6.19022 -
6.19023 -# Transform the output of nm in a proper C declaration
6.19024 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
6.19025 -
6.19026 -# Transform the output of nm in a C name address pair
6.19027 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
6.19028 -
6.19029 -# This is the shared library runtime path variable.
6.19030 -runpath_var=$runpath_var
6.19031 -
6.19032 -# This is the shared library path variable.
6.19033 -shlibpath_var=$shlibpath_var
6.19034 -
6.19035 -# Is shlibpath searched before the hard-coded library search path?
6.19036 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
6.19037 -
6.19038 -# How to hardcode a shared library path into an executable.
6.19039 -hardcode_action=$hardcode_action_GCJ
6.19040 -
6.19041 -# Whether we should hardcode library paths into libraries.
6.19042 -hardcode_into_libs=$hardcode_into_libs
6.19043 -
6.19044 -# Flag to hardcode \$libdir into a binary during linking.
6.19045 -# This must work even if \$libdir does not exist.
6.19046 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
6.19047 -
6.19048 -# If ld is used when linking, flag to hardcode \$libdir into
6.19049 -# a binary during linking. This must work even if \$libdir does
6.19050 -# not exist.
6.19051 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
6.19052 -
6.19053 -# Whether we need a single -rpath flag with a separated argument.
6.19054 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
6.19055 -
6.19056 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
6.19057 -# resulting binary.
6.19058 -hardcode_direct=$hardcode_direct_GCJ
6.19059 -
6.19060 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
6.19061 -# resulting binary.
6.19062 -hardcode_minus_L=$hardcode_minus_L_GCJ
6.19063 -
6.19064 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
6.19065 -# the resulting binary.
6.19066 -hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
6.19067 -
6.19068 -# Set to yes if building a shared library automatically hardcodes DIR into the library
6.19069 -# and all subsequent libraries and executables linked against it.
6.19070 -hardcode_automatic=$hardcode_automatic_GCJ
6.19071 -
6.19072 -# Variables whose values should be saved in libtool wrapper scripts and
6.19073 -# restored at relink time.
6.19074 -variables_saved_for_relink="$variables_saved_for_relink"
6.19075 -
6.19076 -# Whether libtool must link a program against all its dependency libraries.
6.19077 -link_all_deplibs=$link_all_deplibs_GCJ
6.19078 -
6.19079 -# Compile-time system search path for libraries
6.19080 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
6.19081 -
6.19082 -# Run-time system search path for libraries
6.19083 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
6.19084 -
6.19085 -# Fix the shell variable \$srcfile for the compiler.
6.19086 -fix_srcfile_path="$fix_srcfile_path_GCJ"
6.19087 -
6.19088 -# Set to yes if exported symbols are required.
6.19089 -always_export_symbols=$always_export_symbols_GCJ
6.19090 -
6.19091 -# The commands to list exported symbols.
6.19092 -export_symbols_cmds=$lt_export_symbols_cmds_GCJ
6.19093 -
6.19094 -# The commands to extract the exported symbol list from a shared archive.
6.19095 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
6.19096 -
6.19097 -# Symbols that should not be listed in the preloaded symbols.
6.19098 -exclude_expsyms=$lt_exclude_expsyms_GCJ
6.19099 -
6.19100 -# Symbols that must always be exported.
6.19101 -include_expsyms=$lt_include_expsyms_GCJ
6.19102 -
6.19103 -# ### END LIBTOOL TAG CONFIG: $tagname
6.19104 -
6.19105 -__EOF__
6.19106 -
6.19107 -
6.19108 -else
6.19109 - # If there is no Makefile yet, we rely on a make rule to execute
6.19110 - # `config.status --recheck' to rerun these tests and create the
6.19111 - # libtool script then.
6.19112 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
6.19113 - if test -f "$ltmain_in"; then
6.19114 - test -f Makefile && make "$ltmain"
6.19115 - fi
6.19116 -fi
6.19117 -
6.19118 -
6.19119 -ac_ext=c
6.19120 -ac_cpp='$CPP $CPPFLAGS'
6.19121 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.19122 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.19123 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.19124 -
6.19125 -CC="$lt_save_CC"
6.19126 -
6.19127 - else
6.19128 - tagname=""
6.19129 - fi
6.19130 - ;;
6.19131 -
6.19132 - RC)
6.19133 -
6.19134 -
6.19135 -
6.19136 -# Source file extension for RC test sources.
6.19137 -ac_ext=rc
6.19138 -
6.19139 -# Object file extension for compiled RC test sources.
6.19140 -objext=o
6.19141 -objext_RC=$objext
6.19142 -
6.19143 -# Code to be used in simple compile tests
6.19144 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
6.19145 -
6.19146 -# Code to be used in simple link tests
6.19147 -lt_simple_link_test_code="$lt_simple_compile_test_code"
6.19148 -
6.19149 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6.19150 -
6.19151 -# If no C compiler was specified, use CC.
6.19152 -LTCC=${LTCC-"$CC"}
6.19153 -
6.19154 -# Allow CC to be a program name with arguments.
6.19155 -compiler=$CC
6.19156 -
6.19157 -
6.19158 -# save warnings/boilerplate of simple test code
6.19159 -ac_outfile=conftest.$ac_objext
6.19160 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6.19161 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.19162 -_lt_compiler_boilerplate=`cat conftest.err`
6.19163 -$rm conftest*
6.19164 -
6.19165 -ac_outfile=conftest.$ac_objext
6.19166 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
6.19167 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.19168 -_lt_linker_boilerplate=`cat conftest.err`
6.19169 -$rm conftest*
6.19170 -
6.19171 -
6.19172 -# Allow CC to be a program name with arguments.
6.19173 -lt_save_CC="$CC"
6.19174 -CC=${RC-"windres"}
6.19175 -compiler=$CC
6.19176 -compiler_RC=$CC
6.19177 -for cc_temp in $compiler""; do
6.19178 - case $cc_temp in
6.19179 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6.19180 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6.19181 - \-*) ;;
6.19182 - *) break;;
6.19183 - esac
6.19184 -done
6.19185 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6.19186 -
6.19187 -lt_cv_prog_compiler_c_o_RC=yes
6.19188 -
6.19189 -# The else clause should only fire when bootstrapping the
6.19190 -# libtool distribution, otherwise you forgot to ship ltmain.sh
6.19191 -# with your package, and you will get complaints that there are
6.19192 -# no rules to generate ltmain.sh.
6.19193 -if test -f "$ltmain"; then
6.19194 - # See if we are running on zsh, and set the options which allow our commands through
6.19195 - # without removal of \ escapes.
6.19196 - if test -n "${ZSH_VERSION+set}" ; then
6.19197 - setopt NO_GLOB_SUBST
6.19198 - fi
6.19199 - # Now quote all the things that may contain metacharacters while being
6.19200 - # careful not to overquote the AC_SUBSTed values. We take copies of the
6.19201 - # variables and quote the copies for generation of the libtool script.
6.19202 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
6.19203 - SED SHELL STRIP \
6.19204 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
6.19205 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
6.19206 - deplibs_check_method reload_flag reload_cmds need_locks \
6.19207 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
6.19208 - lt_cv_sys_global_symbol_to_c_name_address \
6.19209 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
6.19210 - old_postinstall_cmds old_postuninstall_cmds \
6.19211 - compiler_RC \
6.19212 - CC_RC \
6.19213 - LD_RC \
6.19214 - lt_prog_compiler_wl_RC \
6.19215 - lt_prog_compiler_pic_RC \
6.19216 - lt_prog_compiler_static_RC \
6.19217 - lt_prog_compiler_no_builtin_flag_RC \
6.19218 - export_dynamic_flag_spec_RC \
6.19219 - thread_safe_flag_spec_RC \
6.19220 - whole_archive_flag_spec_RC \
6.19221 - enable_shared_with_static_runtimes_RC \
6.19222 - old_archive_cmds_RC \
6.19223 - old_archive_from_new_cmds_RC \
6.19224 - predep_objects_RC \
6.19225 - postdep_objects_RC \
6.19226 - predeps_RC \
6.19227 - postdeps_RC \
6.19228 - compiler_lib_search_path_RC \
6.19229 - archive_cmds_RC \
6.19230 - archive_expsym_cmds_RC \
6.19231 - postinstall_cmds_RC \
6.19232 - postuninstall_cmds_RC \
6.19233 - old_archive_from_expsyms_cmds_RC \
6.19234 - allow_undefined_flag_RC \
6.19235 - no_undefined_flag_RC \
6.19236 - export_symbols_cmds_RC \
6.19237 - hardcode_libdir_flag_spec_RC \
6.19238 - hardcode_libdir_flag_spec_ld_RC \
6.19239 - hardcode_libdir_separator_RC \
6.19240 - hardcode_automatic_RC \
6.19241 - module_cmds_RC \
6.19242 - module_expsym_cmds_RC \
6.19243 - lt_cv_prog_compiler_c_o_RC \
6.19244 - exclude_expsyms_RC \
6.19245 - include_expsyms_RC; do
6.19246 -
6.19247 - case $var in
6.19248 - old_archive_cmds_RC | \
6.19249 - old_archive_from_new_cmds_RC | \
6.19250 - archive_cmds_RC | \
6.19251 - archive_expsym_cmds_RC | \
6.19252 - module_cmds_RC | \
6.19253 - module_expsym_cmds_RC | \
6.19254 - old_archive_from_expsyms_cmds_RC | \
6.19255 - export_symbols_cmds_RC | \
6.19256 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
6.19257 - postinstall_cmds | postuninstall_cmds | \
6.19258 - old_postinstall_cmds | old_postuninstall_cmds | \
6.19259 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
6.19260 - # Double-quote double-evaled strings.
6.19261 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
6.19262 - ;;
6.19263 - *)
6.19264 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
6.19265 - ;;
6.19266 - esac
6.19267 - done
6.19268 -
6.19269 - case $lt_echo in
6.19270 - *'\$0 --fallback-echo"')
6.19271 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
6.19272 - ;;
6.19273 - esac
6.19274 -
6.19275 -cfgfile="$ofile"
6.19276 -
6.19277 - cat <<__EOF__ >> "$cfgfile"
6.19278 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
6.19279 -
6.19280 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6.19281 -
6.19282 -# Shell to use when invoking shell scripts.
6.19283 -SHELL=$lt_SHELL
6.19284 -
6.19285 -# Whether or not to build shared libraries.
6.19286 -build_libtool_libs=$enable_shared
6.19287 -
6.19288 -# Whether or not to build static libraries.
6.19289 -build_old_libs=$enable_static
6.19290 -
6.19291 -# Whether or not to add -lc for building shared libraries.
6.19292 -build_libtool_need_lc=$archive_cmds_need_lc_RC
6.19293 -
6.19294 -# Whether or not to disallow shared libs when runtime libs are static
6.19295 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
6.19296 -
6.19297 -# Whether or not to optimize for fast installation.
6.19298 -fast_install=$enable_fast_install
6.19299 -
6.19300 -# The host system.
6.19301 -host_alias=$host_alias
6.19302 -host=$host
6.19303 -host_os=$host_os
6.19304 -
6.19305 -# The build system.
6.19306 -build_alias=$build_alias
6.19307 -build=$build
6.19308 -build_os=$build_os
6.19309 -
6.19310 -# An echo program that does not interpret backslashes.
6.19311 -echo=$lt_echo
6.19312 -
6.19313 -# The archiver.
6.19314 -AR=$lt_AR
6.19315 -AR_FLAGS=$lt_AR_FLAGS
6.19316 -
6.19317 -# A C compiler.
6.19318 -LTCC=$lt_LTCC
6.19319 -
6.19320 -# A language-specific compiler.
6.19321 -CC=$lt_compiler_RC
6.19322 -
6.19323 -# Is the compiler the GNU C compiler?
6.19324 -with_gcc=$GCC_RC
6.19325 -
6.19326 -# An ERE matcher.
6.19327 -EGREP=$lt_EGREP
6.19328 -
6.19329 -# The linker used to build libraries.
6.19330 -LD=$lt_LD_RC
6.19331 -
6.19332 -# Whether we need hard or soft links.
6.19333 -LN_S=$lt_LN_S
6.19334 -
6.19335 -# A BSD-compatible nm program.
6.19336 -NM=$lt_NM
6.19337 -
6.19338 -# A symbol stripping program
6.19339 -STRIP=$lt_STRIP
6.19340 -
6.19341 -# Used to examine libraries when file_magic_cmd begins "file"
6.19342 -MAGIC_CMD=$MAGIC_CMD
6.19343 -
6.19344 -# Used on cygwin: DLL creation program.
6.19345 -DLLTOOL="$DLLTOOL"
6.19346 -
6.19347 -# Used on cygwin: object dumper.
6.19348 -OBJDUMP="$OBJDUMP"
6.19349 -
6.19350 -# Used on cygwin: assembler.
6.19351 -AS="$AS"
6.19352 -
6.19353 -# The name of the directory that contains temporary libtool files.
6.19354 -objdir=$objdir
6.19355 -
6.19356 -# How to create reloadable object files.
6.19357 -reload_flag=$lt_reload_flag
6.19358 -reload_cmds=$lt_reload_cmds
6.19359 -
6.19360 -# How to pass a linker flag through the compiler.
6.19361 -wl=$lt_lt_prog_compiler_wl_RC
6.19362 -
6.19363 -# Object file suffix (normally "o").
6.19364 -objext="$ac_objext"
6.19365 -
6.19366 -# Old archive suffix (normally "a").
6.19367 -libext="$libext"
6.19368 -
6.19369 -# Shared library suffix (normally ".so").
6.19370 -shrext_cmds='$shrext_cmds'
6.19371 -
6.19372 -# Executable file suffix (normally "").
6.19373 -exeext="$exeext"
6.19374 -
6.19375 -# Additional compiler flags for building library objects.
6.19376 -pic_flag=$lt_lt_prog_compiler_pic_RC
6.19377 -pic_mode=$pic_mode
6.19378 -
6.19379 -# What is the maximum length of a command?
6.19380 -max_cmd_len=$lt_cv_sys_max_cmd_len
6.19381 -
6.19382 -# Does compiler simultaneously support -c and -o options?
6.19383 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
6.19384 -
6.19385 -# Must we lock files when doing compilation?
6.19386 -need_locks=$lt_need_locks
6.19387 -
6.19388 -# Do we need the lib prefix for modules?
6.19389 -need_lib_prefix=$need_lib_prefix
6.19390 -
6.19391 -# Do we need a version for libraries?
6.19392 -need_version=$need_version
6.19393 -
6.19394 -# Whether dlopen is supported.
6.19395 -dlopen_support=$enable_dlopen
6.19396 -
6.19397 -# Whether dlopen of programs is supported.
6.19398 -dlopen_self=$enable_dlopen_self
6.19399 -
6.19400 -# Whether dlopen of statically linked programs is supported.
6.19401 -dlopen_self_static=$enable_dlopen_self_static
6.19402 -
6.19403 -# Compiler flag to prevent dynamic linking.
6.19404 -link_static_flag=$lt_lt_prog_compiler_static_RC
6.19405 -
6.19406 -# Compiler flag to turn off builtin functions.
6.19407 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
6.19408 -
6.19409 -# Compiler flag to allow reflexive dlopens.
6.19410 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
6.19411 -
6.19412 -# Compiler flag to generate shared objects directly from archives.
6.19413 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
6.19414 -
6.19415 -# Compiler flag to generate thread-safe objects.
6.19416 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
6.19417 -
6.19418 -# Library versioning type.
6.19419 -version_type=$version_type
6.19420 -
6.19421 -# Format of library name prefix.
6.19422 -libname_spec=$lt_libname_spec
6.19423 -
6.19424 -# List of archive names. First name is the real one, the rest are links.
6.19425 -# The last name is the one that the linker finds with -lNAME.
6.19426 -library_names_spec=$lt_library_names_spec
6.19427 -
6.19428 -# The coded name of the library, if different from the real name.
6.19429 -soname_spec=$lt_soname_spec
6.19430 -
6.19431 -# Commands used to build and install an old-style archive.
6.19432 -RANLIB=$lt_RANLIB
6.19433 -old_archive_cmds=$lt_old_archive_cmds_RC
6.19434 -old_postinstall_cmds=$lt_old_postinstall_cmds
6.19435 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
6.19436 -
6.19437 -# Create an old-style archive from a shared archive.
6.19438 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
6.19439 -
6.19440 -# Create a temporary old-style archive to link instead of a shared archive.
6.19441 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
6.19442 -
6.19443 -# Commands used to build and install a shared archive.
6.19444 -archive_cmds=$lt_archive_cmds_RC
6.19445 -archive_expsym_cmds=$lt_archive_expsym_cmds_RC
6.19446 -postinstall_cmds=$lt_postinstall_cmds
6.19447 -postuninstall_cmds=$lt_postuninstall_cmds
6.19448 -
6.19449 -# Commands used to build a loadable module (assumed same as above if empty)
6.19450 -module_cmds=$lt_module_cmds_RC
6.19451 -module_expsym_cmds=$lt_module_expsym_cmds_RC
6.19452 -
6.19453 -# Commands to strip libraries.
6.19454 -old_striplib=$lt_old_striplib
6.19455 -striplib=$lt_striplib
6.19456 -
6.19457 -# Dependencies to place before the objects being linked to create a
6.19458 -# shared library.
6.19459 -predep_objects=$lt_predep_objects_RC
6.19460 -
6.19461 -# Dependencies to place after the objects being linked to create a
6.19462 -# shared library.
6.19463 -postdep_objects=$lt_postdep_objects_RC
6.19464 -
6.19465 -# Dependencies to place before the objects being linked to create a
6.19466 -# shared library.
6.19467 -predeps=$lt_predeps_RC
6.19468 -
6.19469 -# Dependencies to place after the objects being linked to create a
6.19470 -# shared library.
6.19471 -postdeps=$lt_postdeps_RC
6.19472 -
6.19473 -# The library search path used internally by the compiler when linking
6.19474 -# a shared library.
6.19475 -compiler_lib_search_path=$lt_compiler_lib_search_path_RC
6.19476 -
6.19477 -# Method to check whether dependent libraries are shared objects.
6.19478 -deplibs_check_method=$lt_deplibs_check_method
6.19479 -
6.19480 -# Command to use when deplibs_check_method == file_magic.
6.19481 -file_magic_cmd=$lt_file_magic_cmd
6.19482 -
6.19483 -# Flag that allows shared libraries with undefined symbols to be built.
6.19484 -allow_undefined_flag=$lt_allow_undefined_flag_RC
6.19485 -
6.19486 -# Flag that forces no undefined symbols.
6.19487 -no_undefined_flag=$lt_no_undefined_flag_RC
6.19488 -
6.19489 -# Commands used to finish a libtool library installation in a directory.
6.19490 -finish_cmds=$lt_finish_cmds
6.19491 -
6.19492 -# Same as above, but a single script fragment to be evaled but not shown.
6.19493 -finish_eval=$lt_finish_eval
6.19494 -
6.19495 -# Take the output of nm and produce a listing of raw symbols and C names.
6.19496 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
6.19497 -
6.19498 -# Transform the output of nm in a proper C declaration
6.19499 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
6.19500 -
6.19501 -# Transform the output of nm in a C name address pair
6.19502 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
6.19503 -
6.19504 -# This is the shared library runtime path variable.
6.19505 -runpath_var=$runpath_var
6.19506 -
6.19507 -# This is the shared library path variable.
6.19508 -shlibpath_var=$shlibpath_var
6.19509 -
6.19510 -# Is shlibpath searched before the hard-coded library search path?
6.19511 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
6.19512 -
6.19513 -# How to hardcode a shared library path into an executable.
6.19514 -hardcode_action=$hardcode_action_RC
6.19515 -
6.19516 -# Whether we should hardcode library paths into libraries.
6.19517 -hardcode_into_libs=$hardcode_into_libs
6.19518 -
6.19519 -# Flag to hardcode \$libdir into a binary during linking.
6.19520 -# This must work even if \$libdir does not exist.
6.19521 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
6.19522 -
6.19523 -# If ld is used when linking, flag to hardcode \$libdir into
6.19524 -# a binary during linking. This must work even if \$libdir does
6.19525 -# not exist.
6.19526 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
6.19527 -
6.19528 -# Whether we need a single -rpath flag with a separated argument.
6.19529 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
6.19530 -
6.19531 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
6.19532 -# resulting binary.
6.19533 -hardcode_direct=$hardcode_direct_RC
6.19534 -
6.19535 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
6.19536 -# resulting binary.
6.19537 -hardcode_minus_L=$hardcode_minus_L_RC
6.19538 -
6.19539 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
6.19540 -# the resulting binary.
6.19541 -hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
6.19542 -
6.19543 -# Set to yes if building a shared library automatically hardcodes DIR into the library
6.19544 -# and all subsequent libraries and executables linked against it.
6.19545 -hardcode_automatic=$hardcode_automatic_RC
6.19546 -
6.19547 -# Variables whose values should be saved in libtool wrapper scripts and
6.19548 -# restored at relink time.
6.19549 -variables_saved_for_relink="$variables_saved_for_relink"
6.19550 -
6.19551 -# Whether libtool must link a program against all its dependency libraries.
6.19552 -link_all_deplibs=$link_all_deplibs_RC
6.19553 -
6.19554 -# Compile-time system search path for libraries
6.19555 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
6.19556 -
6.19557 -# Run-time system search path for libraries
6.19558 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
6.19559 -
6.19560 -# Fix the shell variable \$srcfile for the compiler.
6.19561 -fix_srcfile_path="$fix_srcfile_path_RC"
6.19562 -
6.19563 -# Set to yes if exported symbols are required.
6.19564 -always_export_symbols=$always_export_symbols_RC
6.19565 -
6.19566 -# The commands to list exported symbols.
6.19567 -export_symbols_cmds=$lt_export_symbols_cmds_RC
6.19568 -
6.19569 -# The commands to extract the exported symbol list from a shared archive.
6.19570 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
6.19571 -
6.19572 -# Symbols that should not be listed in the preloaded symbols.
6.19573 -exclude_expsyms=$lt_exclude_expsyms_RC
6.19574 -
6.19575 -# Symbols that must always be exported.
6.19576 -include_expsyms=$lt_include_expsyms_RC
6.19577 -
6.19578 -# ### END LIBTOOL TAG CONFIG: $tagname
6.19579 -
6.19580 -__EOF__
6.19581 -
6.19582 -
6.19583 -else
6.19584 - # If there is no Makefile yet, we rely on a make rule to execute
6.19585 - # `config.status --recheck' to rerun these tests and create the
6.19586 - # libtool script then.
6.19587 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
6.19588 - if test -f "$ltmain_in"; then
6.19589 - test -f Makefile && make "$ltmain"
6.19590 - fi
6.19591 -fi
6.19592 -
6.19593 -
6.19594 -ac_ext=c
6.19595 -ac_cpp='$CPP $CPPFLAGS'
6.19596 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.19597 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.19598 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.19599 -
6.19600 -CC="$lt_save_CC"
6.19601 -
6.19602 - ;;
6.19603 -
6.19604 - *)
6.19605 - { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
6.19606 -echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
6.19607 - { (exit 1); exit 1; }; }
6.19608 - ;;
6.19609 - esac
6.19610 -
6.19611 - # Append the new tag name to the list of available tags.
6.19612 - if test -n "$tagname" ; then
6.19613 - available_tags="$available_tags $tagname"
6.19614 - fi
6.19615 - fi
6.19616 - done
6.19617 - IFS="$lt_save_ifs"
6.19618 -
6.19619 - # Now substitute the updated list of available tags.
6.19620 - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
6.19621 - mv "${ofile}T" "$ofile"
6.19622 - chmod +x "$ofile"
6.19623 - else
6.19624 - rm -f "${ofile}T"
6.19625 - { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
6.19626 -echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
6.19627 - { (exit 1); exit 1; }; }
6.19628 - fi
6.19629 -fi
6.19630 -
6.19631 -
6.19632 -
6.19633 -# This can be used to rebuild libtool when needed
6.19634 -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
6.19635 -
6.19636 -# Always use our own libtool.
6.19637 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6.19638 -
6.19639 -# Prevent multiple expansion
6.19640 -
6.19641 -
6.19642 -
6.19643 -
6.19644 -
6.19645 -
6.19646 -
6.19647 -
6.19648 -
6.19649 -
6.19650 -
6.19651 -
6.19652 -
6.19653 -
6.19654 -
6.19655 -
6.19656 -
6.19657 -
6.19658 -
6.19659 -
6.19660 -
6.19661 - ac_config_headers="$ac_config_headers config.h"
6.19662 -
6.19663 -
6.19664 -ACLOCAL_AMFLAGS="-I m4"
6.19665 -
6.19666 -
6.19667 -ac_ext=c
6.19668 -ac_cpp='$CPP $CPPFLAGS'
6.19669 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.19670 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.19671 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.19672 -if test -n "$ac_tool_prefix"; then
6.19673 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6.19674 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
6.19675 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.19676 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.19677 -if test "${ac_cv_prog_CC+set}" = set; then
6.19678 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.19679 -else
6.19680 - if test -n "$CC"; then
6.19681 - ac_cv_prog_CC="$CC" # Let the user override the test.
6.19682 -else
6.19683 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.19684 -for as_dir in $PATH
6.19685 -do
6.19686 - IFS=$as_save_IFS
6.19687 - test -z "$as_dir" && as_dir=.
6.19688 - for ac_exec_ext in '' $ac_executable_extensions; do
6.19689 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.19690 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
6.19691 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.19692 - break 2
6.19693 - fi
6.19694 -done
6.19695 -done
6.19696 -
6.19697 -fi
6.19698 -fi
6.19699 -CC=$ac_cv_prog_CC
6.19700 -if test -n "$CC"; then
6.19701 - echo "$as_me:$LINENO: result: $CC" >&5
6.19702 -echo "${ECHO_T}$CC" >&6
6.19703 -else
6.19704 - echo "$as_me:$LINENO: result: no" >&5
6.19705 -echo "${ECHO_T}no" >&6
6.19706 -fi
6.19707 -
6.19708 -fi
6.19709 -if test -z "$ac_cv_prog_CC"; then
6.19710 - ac_ct_CC=$CC
6.19711 - # Extract the first word of "gcc", so it can be a program name with args.
6.19712 -set dummy gcc; ac_word=$2
6.19713 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.19714 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.19715 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6.19716 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.19717 -else
6.19718 - if test -n "$ac_ct_CC"; then
6.19719 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6.19720 -else
6.19721 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.19722 -for as_dir in $PATH
6.19723 -do
6.19724 - IFS=$as_save_IFS
6.19725 - test -z "$as_dir" && as_dir=.
6.19726 - for ac_exec_ext in '' $ac_executable_extensions; do
6.19727 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.19728 - ac_cv_prog_ac_ct_CC="gcc"
6.19729 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.19730 - break 2
6.19731 - fi
6.19732 -done
6.19733 -done
6.19734 -
6.19735 -fi
6.19736 -fi
6.19737 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
6.19738 -if test -n "$ac_ct_CC"; then
6.19739 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6.19740 -echo "${ECHO_T}$ac_ct_CC" >&6
6.19741 -else
6.19742 - echo "$as_me:$LINENO: result: no" >&5
6.19743 -echo "${ECHO_T}no" >&6
6.19744 -fi
6.19745 -
6.19746 - CC=$ac_ct_CC
6.19747 -else
6.19748 - CC="$ac_cv_prog_CC"
6.19749 -fi
6.19750 -
6.19751 -if test -z "$CC"; then
6.19752 - if test -n "$ac_tool_prefix"; then
6.19753 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6.19754 -set dummy ${ac_tool_prefix}cc; ac_word=$2
6.19755 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.19756 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.19757 -if test "${ac_cv_prog_CC+set}" = set; then
6.19758 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.19759 -else
6.19760 - if test -n "$CC"; then
6.19761 - ac_cv_prog_CC="$CC" # Let the user override the test.
6.19762 -else
6.19763 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.19764 -for as_dir in $PATH
6.19765 -do
6.19766 - IFS=$as_save_IFS
6.19767 - test -z "$as_dir" && as_dir=.
6.19768 - for ac_exec_ext in '' $ac_executable_extensions; do
6.19769 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.19770 - ac_cv_prog_CC="${ac_tool_prefix}cc"
6.19771 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.19772 - break 2
6.19773 - fi
6.19774 -done
6.19775 -done
6.19776 -
6.19777 -fi
6.19778 -fi
6.19779 -CC=$ac_cv_prog_CC
6.19780 -if test -n "$CC"; then
6.19781 - echo "$as_me:$LINENO: result: $CC" >&5
6.19782 -echo "${ECHO_T}$CC" >&6
6.19783 -else
6.19784 - echo "$as_me:$LINENO: result: no" >&5
6.19785 -echo "${ECHO_T}no" >&6
6.19786 -fi
6.19787 -
6.19788 -fi
6.19789 -if test -z "$ac_cv_prog_CC"; then
6.19790 - ac_ct_CC=$CC
6.19791 - # Extract the first word of "cc", so it can be a program name with args.
6.19792 -set dummy cc; ac_word=$2
6.19793 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.19794 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.19795 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6.19796 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.19797 -else
6.19798 - if test -n "$ac_ct_CC"; then
6.19799 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6.19800 -else
6.19801 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.19802 -for as_dir in $PATH
6.19803 -do
6.19804 - IFS=$as_save_IFS
6.19805 - test -z "$as_dir" && as_dir=.
6.19806 - for ac_exec_ext in '' $ac_executable_extensions; do
6.19807 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.19808 - ac_cv_prog_ac_ct_CC="cc"
6.19809 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.19810 - break 2
6.19811 - fi
6.19812 -done
6.19813 -done
6.19814 -
6.19815 -fi
6.19816 -fi
6.19817 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
6.19818 -if test -n "$ac_ct_CC"; then
6.19819 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6.19820 -echo "${ECHO_T}$ac_ct_CC" >&6
6.19821 -else
6.19822 - echo "$as_me:$LINENO: result: no" >&5
6.19823 -echo "${ECHO_T}no" >&6
6.19824 -fi
6.19825 -
6.19826 - CC=$ac_ct_CC
6.19827 -else
6.19828 - CC="$ac_cv_prog_CC"
6.19829 -fi
6.19830 -
6.19831 -fi
6.19832 -if test -z "$CC"; then
6.19833 - # Extract the first word of "cc", so it can be a program name with args.
6.19834 -set dummy cc; ac_word=$2
6.19835 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.19836 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.19837 -if test "${ac_cv_prog_CC+set}" = set; then
6.19838 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.19839 -else
6.19840 - if test -n "$CC"; then
6.19841 - ac_cv_prog_CC="$CC" # Let the user override the test.
6.19842 -else
6.19843 - ac_prog_rejected=no
6.19844 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.19845 -for as_dir in $PATH
6.19846 -do
6.19847 - IFS=$as_save_IFS
6.19848 - test -z "$as_dir" && as_dir=.
6.19849 - for ac_exec_ext in '' $ac_executable_extensions; do
6.19850 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.19851 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6.19852 - ac_prog_rejected=yes
6.19853 - continue
6.19854 - fi
6.19855 - ac_cv_prog_CC="cc"
6.19856 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.19857 - break 2
6.19858 - fi
6.19859 -done
6.19860 -done
6.19861 -
6.19862 -if test $ac_prog_rejected = yes; then
6.19863 - # We found a bogon in the path, so make sure we never use it.
6.19864 - set dummy $ac_cv_prog_CC
6.19865 - shift
6.19866 - if test $@%:@ != 0; then
6.19867 - # We chose a different compiler from the bogus one.
6.19868 - # However, it has the same basename, so the bogon will be chosen
6.19869 - # first if we set CC to just the basename; use the full file name.
6.19870 - shift
6.19871 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6.19872 - fi
6.19873 -fi
6.19874 -fi
6.19875 -fi
6.19876 -CC=$ac_cv_prog_CC
6.19877 -if test -n "$CC"; then
6.19878 - echo "$as_me:$LINENO: result: $CC" >&5
6.19879 -echo "${ECHO_T}$CC" >&6
6.19880 -else
6.19881 - echo "$as_me:$LINENO: result: no" >&5
6.19882 -echo "${ECHO_T}no" >&6
6.19883 -fi
6.19884 -
6.19885 -fi
6.19886 -if test -z "$CC"; then
6.19887 - if test -n "$ac_tool_prefix"; then
6.19888 - for ac_prog in cl
6.19889 - do
6.19890 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6.19891 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6.19892 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.19893 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.19894 -if test "${ac_cv_prog_CC+set}" = set; then
6.19895 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.19896 -else
6.19897 - if test -n "$CC"; then
6.19898 - ac_cv_prog_CC="$CC" # Let the user override the test.
6.19899 -else
6.19900 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.19901 -for as_dir in $PATH
6.19902 -do
6.19903 - IFS=$as_save_IFS
6.19904 - test -z "$as_dir" && as_dir=.
6.19905 - for ac_exec_ext in '' $ac_executable_extensions; do
6.19906 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.19907 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6.19908 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.19909 - break 2
6.19910 - fi
6.19911 -done
6.19912 -done
6.19913 -
6.19914 -fi
6.19915 -fi
6.19916 -CC=$ac_cv_prog_CC
6.19917 -if test -n "$CC"; then
6.19918 - echo "$as_me:$LINENO: result: $CC" >&5
6.19919 -echo "${ECHO_T}$CC" >&6
6.19920 -else
6.19921 - echo "$as_me:$LINENO: result: no" >&5
6.19922 -echo "${ECHO_T}no" >&6
6.19923 -fi
6.19924 -
6.19925 - test -n "$CC" && break
6.19926 - done
6.19927 -fi
6.19928 -if test -z "$CC"; then
6.19929 - ac_ct_CC=$CC
6.19930 - for ac_prog in cl
6.19931 -do
6.19932 - # Extract the first word of "$ac_prog", so it can be a program name with args.
6.19933 -set dummy $ac_prog; ac_word=$2
6.19934 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.19935 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.19936 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6.19937 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.19938 -else
6.19939 - if test -n "$ac_ct_CC"; then
6.19940 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6.19941 -else
6.19942 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.19943 -for as_dir in $PATH
6.19944 -do
6.19945 - IFS=$as_save_IFS
6.19946 - test -z "$as_dir" && as_dir=.
6.19947 - for ac_exec_ext in '' $ac_executable_extensions; do
6.19948 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.19949 - ac_cv_prog_ac_ct_CC="$ac_prog"
6.19950 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.19951 - break 2
6.19952 - fi
6.19953 -done
6.19954 -done
6.19955 -
6.19956 -fi
6.19957 -fi
6.19958 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
6.19959 -if test -n "$ac_ct_CC"; then
6.19960 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6.19961 -echo "${ECHO_T}$ac_ct_CC" >&6
6.19962 -else
6.19963 - echo "$as_me:$LINENO: result: no" >&5
6.19964 -echo "${ECHO_T}no" >&6
6.19965 -fi
6.19966 -
6.19967 - test -n "$ac_ct_CC" && break
6.19968 -done
6.19969 -
6.19970 - CC=$ac_ct_CC
6.19971 -fi
6.19972 -
6.19973 -fi
6.19974 -
6.19975 -
6.19976 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6.19977 -See \`config.log' for more details." >&5
6.19978 -echo "$as_me: error: no acceptable C compiler found in \$PATH
6.19979 -See \`config.log' for more details." >&2;}
6.19980 - { (exit 1); exit 1; }; }
6.19981 -
6.19982 -# Provide some information about the compiler.
6.19983 -echo "$as_me:$LINENO:" \
6.19984 - "checking for C compiler version" >&5
6.19985 -ac_compiler=`set X $ac_compile; echo $2`
6.19986 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6.19987 - (eval $ac_compiler --version </dev/null >&5) 2>&5
6.19988 - ac_status=$?
6.19989 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.19990 - (exit $ac_status); }
6.19991 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6.19992 - (eval $ac_compiler -v </dev/null >&5) 2>&5
6.19993 - ac_status=$?
6.19994 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.19995 - (exit $ac_status); }
6.19996 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6.19997 - (eval $ac_compiler -V </dev/null >&5) 2>&5
6.19998 - ac_status=$?
6.19999 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20000 - (exit $ac_status); }
6.20001 -
6.20002 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6.20003 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6.20004 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
6.20005 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.20006 -else
6.20007 - cat >conftest.$ac_ext <<_ACEOF
6.20008 -/* confdefs.h. */
6.20009 -_ACEOF
6.20010 -cat confdefs.h >>conftest.$ac_ext
6.20011 -cat >>conftest.$ac_ext <<_ACEOF
6.20012 -/* end confdefs.h. */
6.20013 -
6.20014 -int
6.20015 -main ()
6.20016 -{
6.20017 -#ifndef __GNUC__
6.20018 - choke me
6.20019 -#endif
6.20020 -
6.20021 - ;
6.20022 - return 0;
6.20023 -}
6.20024 -_ACEOF
6.20025 -rm -f conftest.$ac_objext
6.20026 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20027 - (eval $ac_compile) 2>conftest.er1
6.20028 - ac_status=$?
6.20029 - grep -v '^ *+' conftest.er1 >conftest.err
6.20030 - rm -f conftest.er1
6.20031 - cat conftest.err >&5
6.20032 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20033 - (exit $ac_status); } &&
6.20034 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.20035 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20036 - (eval $ac_try) 2>&5
6.20037 - ac_status=$?
6.20038 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20039 - (exit $ac_status); }; } &&
6.20040 - { ac_try='test -s conftest.$ac_objext'
6.20041 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20042 - (eval $ac_try) 2>&5
6.20043 - ac_status=$?
6.20044 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20045 - (exit $ac_status); }; }; then
6.20046 - ac_compiler_gnu=yes
6.20047 -else
6.20048 - echo "$as_me: failed program was:" >&5
6.20049 -sed 's/^/| /' conftest.$ac_ext >&5
6.20050 -
6.20051 -ac_compiler_gnu=no
6.20052 -fi
6.20053 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20054 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
6.20055 -
6.20056 -fi
6.20057 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6.20058 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6.20059 -GCC=`test $ac_compiler_gnu = yes && echo yes`
6.20060 -ac_test_CFLAGS=${CFLAGS+set}
6.20061 -ac_save_CFLAGS=$CFLAGS
6.20062 -CFLAGS="-g"
6.20063 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6.20064 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6.20065 -if test "${ac_cv_prog_cc_g+set}" = set; then
6.20066 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.20067 -else
6.20068 - cat >conftest.$ac_ext <<_ACEOF
6.20069 -/* confdefs.h. */
6.20070 -_ACEOF
6.20071 -cat confdefs.h >>conftest.$ac_ext
6.20072 -cat >>conftest.$ac_ext <<_ACEOF
6.20073 -/* end confdefs.h. */
6.20074 -
6.20075 -int
6.20076 -main ()
6.20077 -{
6.20078 -
6.20079 - ;
6.20080 - return 0;
6.20081 -}
6.20082 -_ACEOF
6.20083 -rm -f conftest.$ac_objext
6.20084 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20085 - (eval $ac_compile) 2>conftest.er1
6.20086 - ac_status=$?
6.20087 - grep -v '^ *+' conftest.er1 >conftest.err
6.20088 - rm -f conftest.er1
6.20089 - cat conftest.err >&5
6.20090 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20091 - (exit $ac_status); } &&
6.20092 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.20093 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20094 - (eval $ac_try) 2>&5
6.20095 - ac_status=$?
6.20096 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20097 - (exit $ac_status); }; } &&
6.20098 - { ac_try='test -s conftest.$ac_objext'
6.20099 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20100 - (eval $ac_try) 2>&5
6.20101 - ac_status=$?
6.20102 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20103 - (exit $ac_status); }; }; then
6.20104 - ac_cv_prog_cc_g=yes
6.20105 -else
6.20106 - echo "$as_me: failed program was:" >&5
6.20107 -sed 's/^/| /' conftest.$ac_ext >&5
6.20108 -
6.20109 -ac_cv_prog_cc_g=no
6.20110 -fi
6.20111 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20112 -fi
6.20113 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6.20114 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6.20115 -if test "$ac_test_CFLAGS" = set; then
6.20116 - CFLAGS=$ac_save_CFLAGS
6.20117 -elif test $ac_cv_prog_cc_g = yes; then
6.20118 - if test "$GCC" = yes; then
6.20119 - CFLAGS="-g -O2"
6.20120 - else
6.20121 - CFLAGS="-g"
6.20122 - fi
6.20123 -else
6.20124 - if test "$GCC" = yes; then
6.20125 - CFLAGS="-O2"
6.20126 - else
6.20127 - CFLAGS=
6.20128 - fi
6.20129 -fi
6.20130 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6.20131 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6.20132 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
6.20133 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.20134 -else
6.20135 - ac_cv_prog_cc_stdc=no
6.20136 -ac_save_CC=$CC
6.20137 -cat >conftest.$ac_ext <<_ACEOF
6.20138 -/* confdefs.h. */
6.20139 -_ACEOF
6.20140 -cat confdefs.h >>conftest.$ac_ext
6.20141 -cat >>conftest.$ac_ext <<_ACEOF
6.20142 -/* end confdefs.h. */
6.20143 -#include <stdarg.h>
6.20144 -#include <stdio.h>
6.20145 -#include <sys/types.h>
6.20146 -#include <sys/stat.h>
6.20147 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6.20148 -struct buf { int x; };
6.20149 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
6.20150 -static char *e (p, i)
6.20151 - char **p;
6.20152 - int i;
6.20153 -{
6.20154 - return p[i];
6.20155 -}
6.20156 -static char *f (char * (*g) (char **, int), char **p, ...)
6.20157 -{
6.20158 - char *s;
6.20159 - va_list v;
6.20160 - va_start (v,p);
6.20161 - s = g (p, va_arg (v,int));
6.20162 - va_end (v);
6.20163 - return s;
6.20164 -}
6.20165 -
6.20166 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6.20167 - function prototypes and stuff, but not '\xHH' hex character constants.
6.20168 - These don't provoke an error unfortunately, instead are silently treated
6.20169 - as 'x'. The following induces an error, until -std1 is added to get
6.20170 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6.20171 - array size at least. It's necessary to write '\x00'==0 to get something
6.20172 - that's true only with -std1. */
6.20173 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6.20174 -
6.20175 -int test (int i, double x);
6.20176 -struct s1 {int (*f) (int a);};
6.20177 -struct s2 {int (*f) (double a);};
6.20178 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6.20179 -int argc;
6.20180 -char **argv;
6.20181 -int
6.20182 -main ()
6.20183 -{
6.20184 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6.20185 - ;
6.20186 - return 0;
6.20187 -}
6.20188 -_ACEOF
6.20189 -# Don't try gcc -ansi; that turns off useful extensions and
6.20190 -# breaks some systems' header files.
6.20191 -# AIX -qlanglvl=ansi
6.20192 -# Ultrix and OSF/1 -std1
6.20193 -# HP-UX 10.20 and later -Ae
6.20194 -# HP-UX older versions -Aa -D_HPUX_SOURCE
6.20195 -# SVR4 -Xc -D__EXTENSIONS__
6.20196 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6.20197 -do
6.20198 - CC="$ac_save_CC $ac_arg"
6.20199 - rm -f conftest.$ac_objext
6.20200 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20201 - (eval $ac_compile) 2>conftest.er1
6.20202 - ac_status=$?
6.20203 - grep -v '^ *+' conftest.er1 >conftest.err
6.20204 - rm -f conftest.er1
6.20205 - cat conftest.err >&5
6.20206 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20207 - (exit $ac_status); } &&
6.20208 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.20209 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20210 - (eval $ac_try) 2>&5
6.20211 - ac_status=$?
6.20212 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20213 - (exit $ac_status); }; } &&
6.20214 - { ac_try='test -s conftest.$ac_objext'
6.20215 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20216 - (eval $ac_try) 2>&5
6.20217 - ac_status=$?
6.20218 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20219 - (exit $ac_status); }; }; then
6.20220 - ac_cv_prog_cc_stdc=$ac_arg
6.20221 -break
6.20222 -else
6.20223 - echo "$as_me: failed program was:" >&5
6.20224 -sed 's/^/| /' conftest.$ac_ext >&5
6.20225 -
6.20226 -fi
6.20227 -rm -f conftest.err conftest.$ac_objext
6.20228 -done
6.20229 -rm -f conftest.$ac_ext conftest.$ac_objext
6.20230 -CC=$ac_save_CC
6.20231 -
6.20232 -fi
6.20233 -
6.20234 -case "x$ac_cv_prog_cc_stdc" in
6.20235 - x|xno)
6.20236 - echo "$as_me:$LINENO: result: none needed" >&5
6.20237 -echo "${ECHO_T}none needed" >&6 ;;
6.20238 - *)
6.20239 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6.20240 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6.20241 - CC="$CC $ac_cv_prog_cc_stdc" ;;
6.20242 -esac
6.20243 -
6.20244 -# Some people use a C++ compiler to compile C. Since we use `exit',
6.20245 -# in C++ we need to declare it. In case someone uses the same compiler
6.20246 -# for both compiling C and C++ we need to have the C++ compiler decide
6.20247 -# the declaration of exit, since it's the most demanding environment.
6.20248 -cat >conftest.$ac_ext <<_ACEOF
6.20249 -@%:@ifndef __cplusplus
6.20250 - choke me
6.20251 -@%:@endif
6.20252 -_ACEOF
6.20253 -rm -f conftest.$ac_objext
6.20254 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20255 - (eval $ac_compile) 2>conftest.er1
6.20256 - ac_status=$?
6.20257 - grep -v '^ *+' conftest.er1 >conftest.err
6.20258 - rm -f conftest.er1
6.20259 - cat conftest.err >&5
6.20260 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20261 - (exit $ac_status); } &&
6.20262 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.20263 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20264 - (eval $ac_try) 2>&5
6.20265 - ac_status=$?
6.20266 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20267 - (exit $ac_status); }; } &&
6.20268 - { ac_try='test -s conftest.$ac_objext'
6.20269 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20270 - (eval $ac_try) 2>&5
6.20271 - ac_status=$?
6.20272 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20273 - (exit $ac_status); }; }; then
6.20274 - for ac_declaration in \
6.20275 - '' \
6.20276 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
6.20277 - 'extern "C" void std::exit (int); using std::exit;' \
6.20278 - 'extern "C" void exit (int) throw ();' \
6.20279 - 'extern "C" void exit (int);' \
6.20280 - 'void exit (int);'
6.20281 -do
6.20282 - cat >conftest.$ac_ext <<_ACEOF
6.20283 -/* confdefs.h. */
6.20284 -_ACEOF
6.20285 -cat confdefs.h >>conftest.$ac_ext
6.20286 -cat >>conftest.$ac_ext <<_ACEOF
6.20287 -/* end confdefs.h. */
6.20288 -$ac_declaration
6.20289 -@%:@include <stdlib.h>
6.20290 -int
6.20291 -main ()
6.20292 -{
6.20293 -exit (42);
6.20294 - ;
6.20295 - return 0;
6.20296 -}
6.20297 -_ACEOF
6.20298 -rm -f conftest.$ac_objext
6.20299 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20300 - (eval $ac_compile) 2>conftest.er1
6.20301 - ac_status=$?
6.20302 - grep -v '^ *+' conftest.er1 >conftest.err
6.20303 - rm -f conftest.er1
6.20304 - cat conftest.err >&5
6.20305 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20306 - (exit $ac_status); } &&
6.20307 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.20308 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20309 - (eval $ac_try) 2>&5
6.20310 - ac_status=$?
6.20311 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20312 - (exit $ac_status); }; } &&
6.20313 - { ac_try='test -s conftest.$ac_objext'
6.20314 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20315 - (eval $ac_try) 2>&5
6.20316 - ac_status=$?
6.20317 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20318 - (exit $ac_status); }; }; then
6.20319 - :
6.20320 -else
6.20321 - echo "$as_me: failed program was:" >&5
6.20322 -sed 's/^/| /' conftest.$ac_ext >&5
6.20323 -
6.20324 -continue
6.20325 -fi
6.20326 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20327 - cat >conftest.$ac_ext <<_ACEOF
6.20328 -/* confdefs.h. */
6.20329 -_ACEOF
6.20330 -cat confdefs.h >>conftest.$ac_ext
6.20331 -cat >>conftest.$ac_ext <<_ACEOF
6.20332 -/* end confdefs.h. */
6.20333 -$ac_declaration
6.20334 -int
6.20335 -main ()
6.20336 -{
6.20337 -exit (42);
6.20338 - ;
6.20339 - return 0;
6.20340 -}
6.20341 -_ACEOF
6.20342 -rm -f conftest.$ac_objext
6.20343 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20344 - (eval $ac_compile) 2>conftest.er1
6.20345 - ac_status=$?
6.20346 - grep -v '^ *+' conftest.er1 >conftest.err
6.20347 - rm -f conftest.er1
6.20348 - cat conftest.err >&5
6.20349 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20350 - (exit $ac_status); } &&
6.20351 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.20352 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20353 - (eval $ac_try) 2>&5
6.20354 - ac_status=$?
6.20355 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20356 - (exit $ac_status); }; } &&
6.20357 - { ac_try='test -s conftest.$ac_objext'
6.20358 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20359 - (eval $ac_try) 2>&5
6.20360 - ac_status=$?
6.20361 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20362 - (exit $ac_status); }; }; then
6.20363 - break
6.20364 -else
6.20365 - echo "$as_me: failed program was:" >&5
6.20366 -sed 's/^/| /' conftest.$ac_ext >&5
6.20367 -
6.20368 -fi
6.20369 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20370 -done
6.20371 -rm -f conftest*
6.20372 -if test -n "$ac_declaration"; then
6.20373 - echo '#ifdef __cplusplus' >>confdefs.h
6.20374 - echo $ac_declaration >>confdefs.h
6.20375 - echo '#endif' >>confdefs.h
6.20376 -fi
6.20377 -
6.20378 -else
6.20379 - echo "$as_me: failed program was:" >&5
6.20380 -sed 's/^/| /' conftest.$ac_ext >&5
6.20381 -
6.20382 -fi
6.20383 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20384 -ac_ext=c
6.20385 -ac_cpp='$CPP $CPPFLAGS'
6.20386 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.20387 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.20388 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.20389 -
6.20390 -depcc="$CC" am_compiler_list=
6.20391 -
6.20392 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6.20393 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6.20394 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6.20395 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.20396 -else
6.20397 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6.20398 - # We make a subdir and do the tests there. Otherwise we can end up
6.20399 - # making bogus files that we don't know about and never remove. For
6.20400 - # instance it was reported that on HP-UX the gcc test will end up
6.20401 - # making a dummy file named `D' -- because `-MD' means `put the output
6.20402 - # in D'.
6.20403 - mkdir conftest.dir
6.20404 - # Copy depcomp to subdir because otherwise we won't find it if we're
6.20405 - # using a relative directory.
6.20406 - cp "$am_depcomp" conftest.dir
6.20407 - cd conftest.dir
6.20408 - # We will build objects and dependencies in a subdirectory because
6.20409 - # it helps to detect inapplicable dependency modes. For instance
6.20410 - # both Tru64's cc and ICC support -MD to output dependencies as a
6.20411 - # side effect of compilation, but ICC will put the dependencies in
6.20412 - # the current directory while Tru64 will put them in the object
6.20413 - # directory.
6.20414 - mkdir sub
6.20415 -
6.20416 - am_cv_CC_dependencies_compiler_type=none
6.20417 - if test "$am_compiler_list" = ""; then
6.20418 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6.20419 - fi
6.20420 - for depmode in $am_compiler_list; do
6.20421 - # Setup a source with many dependencies, because some compilers
6.20422 - # like to wrap large dependency lists on column 80 (with \), and
6.20423 - # we should not choose a depcomp mode which is confused by this.
6.20424 - #
6.20425 - # We need to recreate these files for each test, as the compiler may
6.20426 - # overwrite some of them when testing with obscure command lines.
6.20427 - # This happens at least with the AIX C compiler.
6.20428 - : > sub/conftest.c
6.20429 - for i in 1 2 3 4 5 6; do
6.20430 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
6.20431 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6.20432 - # Solaris 8's {/usr,}/bin/sh.
6.20433 - touch sub/conftst$i.h
6.20434 - done
6.20435 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6.20436 -
6.20437 - case $depmode in
6.20438 - nosideeffect)
6.20439 - # after this tag, mechanisms are not by side-effect, so they'll
6.20440 - # only be used when explicitly requested
6.20441 - if test "x$enable_dependency_tracking" = xyes; then
6.20442 - continue
6.20443 - else
6.20444 - break
6.20445 - fi
6.20446 - ;;
6.20447 - none) break ;;
6.20448 - esac
6.20449 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
6.20450 - # mode. It turns out that the SunPro C++ compiler does not properly
6.20451 - # handle `-M -o', and we need to detect this.
6.20452 - if depmode=$depmode \
6.20453 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6.20454 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6.20455 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6.20456 - >/dev/null 2>conftest.err &&
6.20457 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6.20458 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6.20459 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6.20460 - # icc doesn't choke on unknown options, it will just issue warnings
6.20461 - # or remarks (even with -Werror). So we grep stderr for any message
6.20462 - # that says an option was ignored or not supported.
6.20463 - # When given -MP, icc 7.0 and 7.1 complain thusly:
6.20464 - # icc: Command line warning: ignoring option '-M'; no argument required
6.20465 - # The diagnosis changed in icc 8.0:
6.20466 - # icc: Command line remark: option '-MP' not supported
6.20467 - if (grep 'ignoring option' conftest.err ||
6.20468 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6.20469 - am_cv_CC_dependencies_compiler_type=$depmode
6.20470 - break
6.20471 - fi
6.20472 - fi
6.20473 - done
6.20474 -
6.20475 - cd ..
6.20476 - rm -rf conftest.dir
6.20477 -else
6.20478 - am_cv_CC_dependencies_compiler_type=none
6.20479 -fi
6.20480 -
6.20481 -fi
6.20482 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6.20483 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6.20484 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6.20485 -
6.20486 -
6.20487 -
6.20488 -if
6.20489 - test "x$enable_dependency_tracking" != xno \
6.20490 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6.20491 - am__fastdepCC_TRUE=
6.20492 - am__fastdepCC_FALSE='#'
6.20493 -else
6.20494 - am__fastdepCC_TRUE='#'
6.20495 - am__fastdepCC_FALSE=
6.20496 -fi
6.20497 -
6.20498 -
6.20499 -
6.20500 -# By default we simply use the C compiler to build assembly code.
6.20501 -
6.20502 -test "${CCAS+set}" = set || CCAS=$CC
6.20503 -test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
6.20504 -
6.20505 -
6.20506 -
6.20507 -
6.20508 -
6.20509 - echo "$as_me:$LINENO: checking to see if compiler understands -Wall" >&5
6.20510 -echo $ECHO_N "checking to see if compiler understands -Wall... $ECHO_C" >&6
6.20511 -
6.20512 - save_CFLAGS="$CFLAGS"
6.20513 - CFLAGS="$CFLAGS -Wall"
6.20514 -
6.20515 - cat >conftest.$ac_ext <<_ACEOF
6.20516 -/* confdefs.h. */
6.20517 -_ACEOF
6.20518 -cat confdefs.h >>conftest.$ac_ext
6.20519 -cat >>conftest.$ac_ext <<_ACEOF
6.20520 -/* end confdefs.h. */
6.20521 -
6.20522 -int
6.20523 -main ()
6.20524 -{
6.20525 -
6.20526 - ;
6.20527 - return 0;
6.20528 -}
6.20529 -_ACEOF
6.20530 -rm -f conftest.$ac_objext
6.20531 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20532 - (eval $ac_compile) 2>conftest.er1
6.20533 - ac_status=$?
6.20534 - grep -v '^ *+' conftest.er1 >conftest.err
6.20535 - rm -f conftest.er1
6.20536 - cat conftest.err >&5
6.20537 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20538 - (exit $ac_status); } &&
6.20539 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.20540 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20541 - (eval $ac_try) 2>&5
6.20542 - ac_status=$?
6.20543 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20544 - (exit $ac_status); }; } &&
6.20545 - { ac_try='test -s conftest.$ac_objext'
6.20546 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20547 - (eval $ac_try) 2>&5
6.20548 - ac_status=$?
6.20549 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20550 - (exit $ac_status); }; }; then
6.20551 - flag_ok=yes
6.20552 -else
6.20553 - echo "$as_me: failed program was:" >&5
6.20554 -sed 's/^/| /' conftest.$ac_ext >&5
6.20555 -
6.20556 -flag_ok=no
6.20557 -fi
6.20558 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20559 - CFLAGS="$save_CFLAGS"
6.20560 -
6.20561 - if test "X$flag_ok" = Xyes ; then
6.20562 - GST_WALL="yes"
6.20563 - true
6.20564 - else
6.20565 - GST_WALL="no"
6.20566 - true
6.20567 - fi
6.20568 - echo "$as_me:$LINENO: result: $flag_ok" >&5
6.20569 -echo "${ECHO_T}$flag_ok" >&6
6.20570 -
6.20571 -
6.20572 -if test "x$GST_WALL" = "xyes"; then
6.20573 - ERROR_CFLAGS="$GST_ERROR -Wall"
6.20574 -
6.20575 - if test "x$GST_CVS" = "xyes"; then
6.20576 -
6.20577 - echo "$as_me:$LINENO: checking to see if compiler understands -Werror" >&5
6.20578 -echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6
6.20579 -
6.20580 - save_CFLAGS="$CFLAGS"
6.20581 - CFLAGS="$CFLAGS -Werror"
6.20582 -
6.20583 - cat >conftest.$ac_ext <<_ACEOF
6.20584 -/* confdefs.h. */
6.20585 -_ACEOF
6.20586 -cat confdefs.h >>conftest.$ac_ext
6.20587 -cat >>conftest.$ac_ext <<_ACEOF
6.20588 -/* end confdefs.h. */
6.20589 -
6.20590 -int
6.20591 -main ()
6.20592 -{
6.20593 -
6.20594 - ;
6.20595 - return 0;
6.20596 -}
6.20597 -_ACEOF
6.20598 -rm -f conftest.$ac_objext
6.20599 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20600 - (eval $ac_compile) 2>conftest.er1
6.20601 - ac_status=$?
6.20602 - grep -v '^ *+' conftest.er1 >conftest.err
6.20603 - rm -f conftest.er1
6.20604 - cat conftest.err >&5
6.20605 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20606 - (exit $ac_status); } &&
6.20607 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.20608 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20609 - (eval $ac_try) 2>&5
6.20610 - ac_status=$?
6.20611 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20612 - (exit $ac_status); }; } &&
6.20613 - { ac_try='test -s conftest.$ac_objext'
6.20614 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20615 - (eval $ac_try) 2>&5
6.20616 - ac_status=$?
6.20617 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20618 - (exit $ac_status); }; }; then
6.20619 - flag_ok=yes
6.20620 -else
6.20621 - echo "$as_me: failed program was:" >&5
6.20622 -sed 's/^/| /' conftest.$ac_ext >&5
6.20623 -
6.20624 -flag_ok=no
6.20625 -fi
6.20626 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20627 - CFLAGS="$save_CFLAGS"
6.20628 -
6.20629 - if test "X$flag_ok" = Xyes ; then
6.20630 - ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
6.20631 - true
6.20632 - else
6.20633 - ERROR_CFLAGS="$ERROR_CFLAGS"
6.20634 - true
6.20635 - fi
6.20636 - echo "$as_me:$LINENO: result: $flag_ok" >&5
6.20637 -echo "${ECHO_T}$flag_ok" >&6
6.20638 -
6.20639 - fi
6.20640 -fi
6.20641 -
6.20642 -
6.20643 -
6.20644 -ac_ext=cc
6.20645 -ac_cpp='$CXXCPP $CPPFLAGS'
6.20646 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.20647 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.20648 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6.20649 -if test -n "$ac_tool_prefix"; then
6.20650 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6.20651 - do
6.20652 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6.20653 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6.20654 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.20655 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.20656 -if test "${ac_cv_prog_CXX+set}" = set; then
6.20657 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.20658 -else
6.20659 - if test -n "$CXX"; then
6.20660 - ac_cv_prog_CXX="$CXX" # Let the user override the test.
6.20661 -else
6.20662 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.20663 -for as_dir in $PATH
6.20664 -do
6.20665 - IFS=$as_save_IFS
6.20666 - test -z "$as_dir" && as_dir=.
6.20667 - for ac_exec_ext in '' $ac_executable_extensions; do
6.20668 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.20669 - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6.20670 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.20671 - break 2
6.20672 - fi
6.20673 -done
6.20674 -done
6.20675 -
6.20676 -fi
6.20677 -fi
6.20678 -CXX=$ac_cv_prog_CXX
6.20679 -if test -n "$CXX"; then
6.20680 - echo "$as_me:$LINENO: result: $CXX" >&5
6.20681 -echo "${ECHO_T}$CXX" >&6
6.20682 -else
6.20683 - echo "$as_me:$LINENO: result: no" >&5
6.20684 -echo "${ECHO_T}no" >&6
6.20685 -fi
6.20686 -
6.20687 - test -n "$CXX" && break
6.20688 - done
6.20689 -fi
6.20690 -if test -z "$CXX"; then
6.20691 - ac_ct_CXX=$CXX
6.20692 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6.20693 -do
6.20694 - # Extract the first word of "$ac_prog", so it can be a program name with args.
6.20695 -set dummy $ac_prog; ac_word=$2
6.20696 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.20697 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.20698 -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6.20699 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.20700 -else
6.20701 - if test -n "$ac_ct_CXX"; then
6.20702 - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6.20703 -else
6.20704 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.20705 -for as_dir in $PATH
6.20706 -do
6.20707 - IFS=$as_save_IFS
6.20708 - test -z "$as_dir" && as_dir=.
6.20709 - for ac_exec_ext in '' $ac_executable_extensions; do
6.20710 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.20711 - ac_cv_prog_ac_ct_CXX="$ac_prog"
6.20712 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.20713 - break 2
6.20714 - fi
6.20715 -done
6.20716 -done
6.20717 -
6.20718 -fi
6.20719 -fi
6.20720 -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6.20721 -if test -n "$ac_ct_CXX"; then
6.20722 - echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6.20723 -echo "${ECHO_T}$ac_ct_CXX" >&6
6.20724 -else
6.20725 - echo "$as_me:$LINENO: result: no" >&5
6.20726 -echo "${ECHO_T}no" >&6
6.20727 -fi
6.20728 -
6.20729 - test -n "$ac_ct_CXX" && break
6.20730 -done
6.20731 -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6.20732 -
6.20733 - CXX=$ac_ct_CXX
6.20734 -fi
6.20735 -
6.20736 -
6.20737 -# Provide some information about the compiler.
6.20738 -echo "$as_me:$LINENO:" \
6.20739 - "checking for C++ compiler version" >&5
6.20740 -ac_compiler=`set X $ac_compile; echo $2`
6.20741 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6.20742 - (eval $ac_compiler --version </dev/null >&5) 2>&5
6.20743 - ac_status=$?
6.20744 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20745 - (exit $ac_status); }
6.20746 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6.20747 - (eval $ac_compiler -v </dev/null >&5) 2>&5
6.20748 - ac_status=$?
6.20749 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20750 - (exit $ac_status); }
6.20751 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6.20752 - (eval $ac_compiler -V </dev/null >&5) 2>&5
6.20753 - ac_status=$?
6.20754 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20755 - (exit $ac_status); }
6.20756 -
6.20757 -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6.20758 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6.20759 -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6.20760 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.20761 -else
6.20762 - cat >conftest.$ac_ext <<_ACEOF
6.20763 -/* confdefs.h. */
6.20764 -_ACEOF
6.20765 -cat confdefs.h >>conftest.$ac_ext
6.20766 -cat >>conftest.$ac_ext <<_ACEOF
6.20767 -/* end confdefs.h. */
6.20768 -
6.20769 -int
6.20770 -main ()
6.20771 -{
6.20772 -#ifndef __GNUC__
6.20773 - choke me
6.20774 -#endif
6.20775 -
6.20776 - ;
6.20777 - return 0;
6.20778 -}
6.20779 -_ACEOF
6.20780 -rm -f conftest.$ac_objext
6.20781 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20782 - (eval $ac_compile) 2>conftest.er1
6.20783 - ac_status=$?
6.20784 - grep -v '^ *+' conftest.er1 >conftest.err
6.20785 - rm -f conftest.er1
6.20786 - cat conftest.err >&5
6.20787 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20788 - (exit $ac_status); } &&
6.20789 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.20790 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20791 - (eval $ac_try) 2>&5
6.20792 - ac_status=$?
6.20793 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20794 - (exit $ac_status); }; } &&
6.20795 - { ac_try='test -s conftest.$ac_objext'
6.20796 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20797 - (eval $ac_try) 2>&5
6.20798 - ac_status=$?
6.20799 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20800 - (exit $ac_status); }; }; then
6.20801 - ac_compiler_gnu=yes
6.20802 -else
6.20803 - echo "$as_me: failed program was:" >&5
6.20804 -sed 's/^/| /' conftest.$ac_ext >&5
6.20805 -
6.20806 -ac_compiler_gnu=no
6.20807 -fi
6.20808 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20809 -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6.20810 -
6.20811 -fi
6.20812 -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6.20813 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6.20814 -GXX=`test $ac_compiler_gnu = yes && echo yes`
6.20815 -ac_test_CXXFLAGS=${CXXFLAGS+set}
6.20816 -ac_save_CXXFLAGS=$CXXFLAGS
6.20817 -CXXFLAGS="-g"
6.20818 -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6.20819 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6.20820 -if test "${ac_cv_prog_cxx_g+set}" = set; then
6.20821 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.20822 -else
6.20823 - cat >conftest.$ac_ext <<_ACEOF
6.20824 -/* confdefs.h. */
6.20825 -_ACEOF
6.20826 -cat confdefs.h >>conftest.$ac_ext
6.20827 -cat >>conftest.$ac_ext <<_ACEOF
6.20828 -/* end confdefs.h. */
6.20829 -
6.20830 -int
6.20831 -main ()
6.20832 -{
6.20833 -
6.20834 - ;
6.20835 - return 0;
6.20836 -}
6.20837 -_ACEOF
6.20838 -rm -f conftest.$ac_objext
6.20839 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20840 - (eval $ac_compile) 2>conftest.er1
6.20841 - ac_status=$?
6.20842 - grep -v '^ *+' conftest.er1 >conftest.err
6.20843 - rm -f conftest.er1
6.20844 - cat conftest.err >&5
6.20845 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20846 - (exit $ac_status); } &&
6.20847 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.20848 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20849 - (eval $ac_try) 2>&5
6.20850 - ac_status=$?
6.20851 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20852 - (exit $ac_status); }; } &&
6.20853 - { ac_try='test -s conftest.$ac_objext'
6.20854 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20855 - (eval $ac_try) 2>&5
6.20856 - ac_status=$?
6.20857 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20858 - (exit $ac_status); }; }; then
6.20859 - ac_cv_prog_cxx_g=yes
6.20860 -else
6.20861 - echo "$as_me: failed program was:" >&5
6.20862 -sed 's/^/| /' conftest.$ac_ext >&5
6.20863 -
6.20864 -ac_cv_prog_cxx_g=no
6.20865 -fi
6.20866 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20867 -fi
6.20868 -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6.20869 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6.20870 -if test "$ac_test_CXXFLAGS" = set; then
6.20871 - CXXFLAGS=$ac_save_CXXFLAGS
6.20872 -elif test $ac_cv_prog_cxx_g = yes; then
6.20873 - if test "$GXX" = yes; then
6.20874 - CXXFLAGS="-g -O2"
6.20875 - else
6.20876 - CXXFLAGS="-g"
6.20877 - fi
6.20878 -else
6.20879 - if test "$GXX" = yes; then
6.20880 - CXXFLAGS="-O2"
6.20881 - else
6.20882 - CXXFLAGS=
6.20883 - fi
6.20884 -fi
6.20885 -for ac_declaration in \
6.20886 - '' \
6.20887 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
6.20888 - 'extern "C" void std::exit (int); using std::exit;' \
6.20889 - 'extern "C" void exit (int) throw ();' \
6.20890 - 'extern "C" void exit (int);' \
6.20891 - 'void exit (int);'
6.20892 -do
6.20893 - cat >conftest.$ac_ext <<_ACEOF
6.20894 -/* confdefs.h. */
6.20895 -_ACEOF
6.20896 -cat confdefs.h >>conftest.$ac_ext
6.20897 -cat >>conftest.$ac_ext <<_ACEOF
6.20898 -/* end confdefs.h. */
6.20899 -$ac_declaration
6.20900 -@%:@include <stdlib.h>
6.20901 -int
6.20902 -main ()
6.20903 -{
6.20904 -exit (42);
6.20905 - ;
6.20906 - return 0;
6.20907 -}
6.20908 -_ACEOF
6.20909 -rm -f conftest.$ac_objext
6.20910 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20911 - (eval $ac_compile) 2>conftest.er1
6.20912 - ac_status=$?
6.20913 - grep -v '^ *+' conftest.er1 >conftest.err
6.20914 - rm -f conftest.er1
6.20915 - cat conftest.err >&5
6.20916 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20917 - (exit $ac_status); } &&
6.20918 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.20919 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20920 - (eval $ac_try) 2>&5
6.20921 - ac_status=$?
6.20922 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20923 - (exit $ac_status); }; } &&
6.20924 - { ac_try='test -s conftest.$ac_objext'
6.20925 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20926 - (eval $ac_try) 2>&5
6.20927 - ac_status=$?
6.20928 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20929 - (exit $ac_status); }; }; then
6.20930 - :
6.20931 -else
6.20932 - echo "$as_me: failed program was:" >&5
6.20933 -sed 's/^/| /' conftest.$ac_ext >&5
6.20934 -
6.20935 -continue
6.20936 -fi
6.20937 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20938 - cat >conftest.$ac_ext <<_ACEOF
6.20939 -/* confdefs.h. */
6.20940 -_ACEOF
6.20941 -cat confdefs.h >>conftest.$ac_ext
6.20942 -cat >>conftest.$ac_ext <<_ACEOF
6.20943 -/* end confdefs.h. */
6.20944 -$ac_declaration
6.20945 -int
6.20946 -main ()
6.20947 -{
6.20948 -exit (42);
6.20949 - ;
6.20950 - return 0;
6.20951 -}
6.20952 -_ACEOF
6.20953 -rm -f conftest.$ac_objext
6.20954 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20955 - (eval $ac_compile) 2>conftest.er1
6.20956 - ac_status=$?
6.20957 - grep -v '^ *+' conftest.er1 >conftest.err
6.20958 - rm -f conftest.er1
6.20959 - cat conftest.err >&5
6.20960 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20961 - (exit $ac_status); } &&
6.20962 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.20963 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20964 - (eval $ac_try) 2>&5
6.20965 - ac_status=$?
6.20966 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20967 - (exit $ac_status); }; } &&
6.20968 - { ac_try='test -s conftest.$ac_objext'
6.20969 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20970 - (eval $ac_try) 2>&5
6.20971 - ac_status=$?
6.20972 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20973 - (exit $ac_status); }; }; then
6.20974 - break
6.20975 -else
6.20976 - echo "$as_me: failed program was:" >&5
6.20977 -sed 's/^/| /' conftest.$ac_ext >&5
6.20978 -
6.20979 -fi
6.20980 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20981 -done
6.20982 -rm -f conftest*
6.20983 -if test -n "$ac_declaration"; then
6.20984 - echo '#ifdef __cplusplus' >>confdefs.h
6.20985 - echo $ac_declaration >>confdefs.h
6.20986 - echo '#endif' >>confdefs.h
6.20987 -fi
6.20988 -
6.20989 -ac_ext=c
6.20990 -ac_cpp='$CPP $CPPFLAGS'
6.20991 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.20992 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.20993 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.20994 -
6.20995 -depcc="$CXX" am_compiler_list=
6.20996 -
6.20997 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6.20998 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6.20999 -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6.21000 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.21001 -else
6.21002 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6.21003 - # We make a subdir and do the tests there. Otherwise we can end up
6.21004 - # making bogus files that we don't know about and never remove. For
6.21005 - # instance it was reported that on HP-UX the gcc test will end up
6.21006 - # making a dummy file named `D' -- because `-MD' means `put the output
6.21007 - # in D'.
6.21008 - mkdir conftest.dir
6.21009 - # Copy depcomp to subdir because otherwise we won't find it if we're
6.21010 - # using a relative directory.
6.21011 - cp "$am_depcomp" conftest.dir
6.21012 - cd conftest.dir
6.21013 - # We will build objects and dependencies in a subdirectory because
6.21014 - # it helps to detect inapplicable dependency modes. For instance
6.21015 - # both Tru64's cc and ICC support -MD to output dependencies as a
6.21016 - # side effect of compilation, but ICC will put the dependencies in
6.21017 - # the current directory while Tru64 will put them in the object
6.21018 - # directory.
6.21019 - mkdir sub
6.21020 -
6.21021 - am_cv_CXX_dependencies_compiler_type=none
6.21022 - if test "$am_compiler_list" = ""; then
6.21023 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6.21024 - fi
6.21025 - for depmode in $am_compiler_list; do
6.21026 - # Setup a source with many dependencies, because some compilers
6.21027 - # like to wrap large dependency lists on column 80 (with \), and
6.21028 - # we should not choose a depcomp mode which is confused by this.
6.21029 - #
6.21030 - # We need to recreate these files for each test, as the compiler may
6.21031 - # overwrite some of them when testing with obscure command lines.
6.21032 - # This happens at least with the AIX C compiler.
6.21033 - : > sub/conftest.c
6.21034 - for i in 1 2 3 4 5 6; do
6.21035 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
6.21036 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6.21037 - # Solaris 8's {/usr,}/bin/sh.
6.21038 - touch sub/conftst$i.h
6.21039 - done
6.21040 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6.21041 -
6.21042 - case $depmode in
6.21043 - nosideeffect)
6.21044 - # after this tag, mechanisms are not by side-effect, so they'll
6.21045 - # only be used when explicitly requested
6.21046 - if test "x$enable_dependency_tracking" = xyes; then
6.21047 - continue
6.21048 - else
6.21049 - break
6.21050 - fi
6.21051 - ;;
6.21052 - none) break ;;
6.21053 - esac
6.21054 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
6.21055 - # mode. It turns out that the SunPro C++ compiler does not properly
6.21056 - # handle `-M -o', and we need to detect this.
6.21057 - if depmode=$depmode \
6.21058 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6.21059 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6.21060 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6.21061 - >/dev/null 2>conftest.err &&
6.21062 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6.21063 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6.21064 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6.21065 - # icc doesn't choke on unknown options, it will just issue warnings
6.21066 - # or remarks (even with -Werror). So we grep stderr for any message
6.21067 - # that says an option was ignored or not supported.
6.21068 - # When given -MP, icc 7.0 and 7.1 complain thusly:
6.21069 - # icc: Command line warning: ignoring option '-M'; no argument required
6.21070 - # The diagnosis changed in icc 8.0:
6.21071 - # icc: Command line remark: option '-MP' not supported
6.21072 - if (grep 'ignoring option' conftest.err ||
6.21073 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6.21074 - am_cv_CXX_dependencies_compiler_type=$depmode
6.21075 - break
6.21076 - fi
6.21077 - fi
6.21078 - done
6.21079 -
6.21080 - cd ..
6.21081 - rm -rf conftest.dir
6.21082 -else
6.21083 - am_cv_CXX_dependencies_compiler_type=none
6.21084 -fi
6.21085 -
6.21086 -fi
6.21087 -echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6.21088 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6.21089 -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6.21090 -
6.21091 -
6.21092 -
6.21093 -if
6.21094 - test "x$enable_dependency_tracking" != xno \
6.21095 - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6.21096 - am__fastdepCXX_TRUE=
6.21097 - am__fastdepCXX_FALSE='#'
6.21098 -else
6.21099 - am__fastdepCXX_TRUE='#'
6.21100 - am__fastdepCXX_FALSE=
6.21101 -fi
6.21102 -
6.21103 -
6.21104 -# Extract the first word of "$CXX", so it can be a program name with args.
6.21105 -set dummy $CXX; ac_word=$2
6.21106 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.21107 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.21108 -if test "${ac_cv_prog_HAVE_CXX+set}" = set; then
6.21109 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.21110 -else
6.21111 - if test -n "$HAVE_CXX"; then
6.21112 - ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
6.21113 -else
6.21114 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.21115 -for as_dir in $PATH
6.21116 -do
6.21117 - IFS=$as_save_IFS
6.21118 - test -z "$as_dir" && as_dir=.
6.21119 - for ac_exec_ext in '' $ac_executable_extensions; do
6.21120 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.21121 - ac_cv_prog_HAVE_CXX="yes"
6.21122 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.21123 - break 2
6.21124 - fi
6.21125 -done
6.21126 -done
6.21127 -
6.21128 - test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
6.21129 -fi
6.21130 -fi
6.21131 -HAVE_CXX=$ac_cv_prog_HAVE_CXX
6.21132 -if test -n "$HAVE_CXX"; then
6.21133 - echo "$as_me:$LINENO: result: $HAVE_CXX" >&5
6.21134 -echo "${ECHO_T}$HAVE_CXX" >&6
6.21135 -else
6.21136 - echo "$as_me:$LINENO: result: no" >&5
6.21137 -echo "${ECHO_T}no" >&6
6.21138 -fi
6.21139 -
6.21140 -ac_ext=cc
6.21141 -ac_cpp='$CXXCPP $CPPFLAGS'
6.21142 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.21143 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.21144 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6.21145 -echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6.21146 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6.21147 -if test -z "$CXXCPP"; then
6.21148 - if test "${ac_cv_prog_CXXCPP+set}" = set; then
6.21149 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.21150 -else
6.21151 - # Double quotes because CXXCPP needs to be expanded
6.21152 - for CXXCPP in "$CXX -E" "/lib/cpp"
6.21153 - do
6.21154 - ac_preproc_ok=false
6.21155 -for ac_cxx_preproc_warn_flag in '' yes
6.21156 -do
6.21157 - # Use a header file that comes with gcc, so configuring glibc
6.21158 - # with a fresh cross-compiler works.
6.21159 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.21160 - # <limits.h> exists even on freestanding compilers.
6.21161 - # On the NeXT, cc -E runs the code through the compiler's parser,
6.21162 - # not just through cpp. "Syntax error" is here to catch this case.
6.21163 - cat >conftest.$ac_ext <<_ACEOF
6.21164 -/* confdefs.h. */
6.21165 -_ACEOF
6.21166 -cat confdefs.h >>conftest.$ac_ext
6.21167 -cat >>conftest.$ac_ext <<_ACEOF
6.21168 -/* end confdefs.h. */
6.21169 -@%:@ifdef __STDC__
6.21170 -@%:@ include <limits.h>
6.21171 -@%:@else
6.21172 -@%:@ include <assert.h>
6.21173 -@%:@endif
6.21174 - Syntax error
6.21175 -_ACEOF
6.21176 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.21177 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.21178 - ac_status=$?
6.21179 - grep -v '^ *+' conftest.er1 >conftest.err
6.21180 - rm -f conftest.er1
6.21181 - cat conftest.err >&5
6.21182 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21183 - (exit $ac_status); } >/dev/null; then
6.21184 - if test -s conftest.err; then
6.21185 - ac_cpp_err=$ac_cxx_preproc_warn_flag
6.21186 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6.21187 - else
6.21188 - ac_cpp_err=
6.21189 - fi
6.21190 -else
6.21191 - ac_cpp_err=yes
6.21192 -fi
6.21193 -if test -z "$ac_cpp_err"; then
6.21194 - :
6.21195 -else
6.21196 - echo "$as_me: failed program was:" >&5
6.21197 -sed 's/^/| /' conftest.$ac_ext >&5
6.21198 -
6.21199 - # Broken: fails on valid input.
6.21200 -continue
6.21201 -fi
6.21202 -rm -f conftest.err conftest.$ac_ext
6.21203 -
6.21204 - # OK, works on sane cases. Now check whether non-existent headers
6.21205 - # can be detected and how.
6.21206 - cat >conftest.$ac_ext <<_ACEOF
6.21207 -/* confdefs.h. */
6.21208 -_ACEOF
6.21209 -cat confdefs.h >>conftest.$ac_ext
6.21210 -cat >>conftest.$ac_ext <<_ACEOF
6.21211 -/* end confdefs.h. */
6.21212 -@%:@include <ac_nonexistent.h>
6.21213 -_ACEOF
6.21214 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.21215 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.21216 - ac_status=$?
6.21217 - grep -v '^ *+' conftest.er1 >conftest.err
6.21218 - rm -f conftest.er1
6.21219 - cat conftest.err >&5
6.21220 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21221 - (exit $ac_status); } >/dev/null; then
6.21222 - if test -s conftest.err; then
6.21223 - ac_cpp_err=$ac_cxx_preproc_warn_flag
6.21224 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6.21225 - else
6.21226 - ac_cpp_err=
6.21227 - fi
6.21228 -else
6.21229 - ac_cpp_err=yes
6.21230 -fi
6.21231 -if test -z "$ac_cpp_err"; then
6.21232 - # Broken: success on invalid input.
6.21233 -continue
6.21234 -else
6.21235 - echo "$as_me: failed program was:" >&5
6.21236 -sed 's/^/| /' conftest.$ac_ext >&5
6.21237 -
6.21238 - # Passes both tests.
6.21239 -ac_preproc_ok=:
6.21240 -break
6.21241 -fi
6.21242 -rm -f conftest.err conftest.$ac_ext
6.21243 -
6.21244 -done
6.21245 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6.21246 -rm -f conftest.err conftest.$ac_ext
6.21247 -if $ac_preproc_ok; then
6.21248 - break
6.21249 -fi
6.21250 -
6.21251 - done
6.21252 - ac_cv_prog_CXXCPP=$CXXCPP
6.21253 -
6.21254 -fi
6.21255 - CXXCPP=$ac_cv_prog_CXXCPP
6.21256 -else
6.21257 - ac_cv_prog_CXXCPP=$CXXCPP
6.21258 -fi
6.21259 -echo "$as_me:$LINENO: result: $CXXCPP" >&5
6.21260 -echo "${ECHO_T}$CXXCPP" >&6
6.21261 -ac_preproc_ok=false
6.21262 -for ac_cxx_preproc_warn_flag in '' yes
6.21263 -do
6.21264 - # Use a header file that comes with gcc, so configuring glibc
6.21265 - # with a fresh cross-compiler works.
6.21266 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.21267 - # <limits.h> exists even on freestanding compilers.
6.21268 - # On the NeXT, cc -E runs the code through the compiler's parser,
6.21269 - # not just through cpp. "Syntax error" is here to catch this case.
6.21270 - cat >conftest.$ac_ext <<_ACEOF
6.21271 -/* confdefs.h. */
6.21272 -_ACEOF
6.21273 -cat confdefs.h >>conftest.$ac_ext
6.21274 -cat >>conftest.$ac_ext <<_ACEOF
6.21275 -/* end confdefs.h. */
6.21276 -@%:@ifdef __STDC__
6.21277 -@%:@ include <limits.h>
6.21278 -@%:@else
6.21279 -@%:@ include <assert.h>
6.21280 -@%:@endif
6.21281 - Syntax error
6.21282 -_ACEOF
6.21283 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.21284 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.21285 - ac_status=$?
6.21286 - grep -v '^ *+' conftest.er1 >conftest.err
6.21287 - rm -f conftest.er1
6.21288 - cat conftest.err >&5
6.21289 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21290 - (exit $ac_status); } >/dev/null; then
6.21291 - if test -s conftest.err; then
6.21292 - ac_cpp_err=$ac_cxx_preproc_warn_flag
6.21293 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6.21294 - else
6.21295 - ac_cpp_err=
6.21296 - fi
6.21297 -else
6.21298 - ac_cpp_err=yes
6.21299 -fi
6.21300 -if test -z "$ac_cpp_err"; then
6.21301 - :
6.21302 -else
6.21303 - echo "$as_me: failed program was:" >&5
6.21304 -sed 's/^/| /' conftest.$ac_ext >&5
6.21305 -
6.21306 - # Broken: fails on valid input.
6.21307 -continue
6.21308 -fi
6.21309 -rm -f conftest.err conftest.$ac_ext
6.21310 -
6.21311 - # OK, works on sane cases. Now check whether non-existent headers
6.21312 - # can be detected and how.
6.21313 - cat >conftest.$ac_ext <<_ACEOF
6.21314 -/* confdefs.h. */
6.21315 -_ACEOF
6.21316 -cat confdefs.h >>conftest.$ac_ext
6.21317 -cat >>conftest.$ac_ext <<_ACEOF
6.21318 -/* end confdefs.h. */
6.21319 -@%:@include <ac_nonexistent.h>
6.21320 -_ACEOF
6.21321 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.21322 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.21323 - ac_status=$?
6.21324 - grep -v '^ *+' conftest.er1 >conftest.err
6.21325 - rm -f conftest.er1
6.21326 - cat conftest.err >&5
6.21327 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21328 - (exit $ac_status); } >/dev/null; then
6.21329 - if test -s conftest.err; then
6.21330 - ac_cpp_err=$ac_cxx_preproc_warn_flag
6.21331 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6.21332 - else
6.21333 - ac_cpp_err=
6.21334 - fi
6.21335 -else
6.21336 - ac_cpp_err=yes
6.21337 -fi
6.21338 -if test -z "$ac_cpp_err"; then
6.21339 - # Broken: success on invalid input.
6.21340 -continue
6.21341 -else
6.21342 - echo "$as_me: failed program was:" >&5
6.21343 -sed 's/^/| /' conftest.$ac_ext >&5
6.21344 -
6.21345 - # Passes both tests.
6.21346 -ac_preproc_ok=:
6.21347 -break
6.21348 -fi
6.21349 -rm -f conftest.err conftest.$ac_ext
6.21350 -
6.21351 -done
6.21352 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6.21353 -rm -f conftest.err conftest.$ac_ext
6.21354 -if $ac_preproc_ok; then
6.21355 - :
6.21356 -else
6.21357 - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6.21358 -See \`config.log' for more details." >&5
6.21359 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6.21360 -See \`config.log' for more details." >&2;}
6.21361 - { (exit 1); exit 1; }; }
6.21362 -fi
6.21363 -
6.21364 -ac_ext=c
6.21365 -ac_cpp='$CPP $CPPFLAGS'
6.21366 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.21367 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.21368 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.21369 -
6.21370 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
6.21371 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
6.21372 -if test "${ac_cv_search_strerror+set}" = set; then
6.21373 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.21374 -else
6.21375 - ac_func_search_save_LIBS=$LIBS
6.21376 -ac_cv_search_strerror=no
6.21377 -cat >conftest.$ac_ext <<_ACEOF
6.21378 -/* confdefs.h. */
6.21379 -_ACEOF
6.21380 -cat confdefs.h >>conftest.$ac_ext
6.21381 -cat >>conftest.$ac_ext <<_ACEOF
6.21382 -/* end confdefs.h. */
6.21383 -
6.21384 -/* Override any gcc2 internal prototype to avoid an error. */
6.21385 -#ifdef __cplusplus
6.21386 -extern "C"
6.21387 -#endif
6.21388 -/* We use char because int might match the return type of a gcc2
6.21389 - builtin and then its argument prototype would still apply. */
6.21390 -char strerror ();
6.21391 -int
6.21392 -main ()
6.21393 -{
6.21394 -strerror ();
6.21395 - ;
6.21396 - return 0;
6.21397 -}
6.21398 -_ACEOF
6.21399 -rm -f conftest.$ac_objext conftest$ac_exeext
6.21400 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.21401 - (eval $ac_link) 2>conftest.er1
6.21402 - ac_status=$?
6.21403 - grep -v '^ *+' conftest.er1 >conftest.err
6.21404 - rm -f conftest.er1
6.21405 - cat conftest.err >&5
6.21406 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21407 - (exit $ac_status); } &&
6.21408 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.21409 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.21410 - (eval $ac_try) 2>&5
6.21411 - ac_status=$?
6.21412 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21413 - (exit $ac_status); }; } &&
6.21414 - { ac_try='test -s conftest$ac_exeext'
6.21415 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.21416 - (eval $ac_try) 2>&5
6.21417 - ac_status=$?
6.21418 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21419 - (exit $ac_status); }; }; then
6.21420 - ac_cv_search_strerror="none required"
6.21421 -else
6.21422 - echo "$as_me: failed program was:" >&5
6.21423 -sed 's/^/| /' conftest.$ac_ext >&5
6.21424 -
6.21425 -fi
6.21426 -rm -f conftest.err conftest.$ac_objext \
6.21427 - conftest$ac_exeext conftest.$ac_ext
6.21428 -if test "$ac_cv_search_strerror" = no; then
6.21429 - for ac_lib in cposix; do
6.21430 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6.21431 - cat >conftest.$ac_ext <<_ACEOF
6.21432 -/* confdefs.h. */
6.21433 -_ACEOF
6.21434 -cat confdefs.h >>conftest.$ac_ext
6.21435 -cat >>conftest.$ac_ext <<_ACEOF
6.21436 -/* end confdefs.h. */
6.21437 -
6.21438 -/* Override any gcc2 internal prototype to avoid an error. */
6.21439 -#ifdef __cplusplus
6.21440 -extern "C"
6.21441 -#endif
6.21442 -/* We use char because int might match the return type of a gcc2
6.21443 - builtin and then its argument prototype would still apply. */
6.21444 -char strerror ();
6.21445 -int
6.21446 -main ()
6.21447 -{
6.21448 -strerror ();
6.21449 - ;
6.21450 - return 0;
6.21451 -}
6.21452 -_ACEOF
6.21453 -rm -f conftest.$ac_objext conftest$ac_exeext
6.21454 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.21455 - (eval $ac_link) 2>conftest.er1
6.21456 - ac_status=$?
6.21457 - grep -v '^ *+' conftest.er1 >conftest.err
6.21458 - rm -f conftest.er1
6.21459 - cat conftest.err >&5
6.21460 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21461 - (exit $ac_status); } &&
6.21462 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.21463 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.21464 - (eval $ac_try) 2>&5
6.21465 - ac_status=$?
6.21466 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21467 - (exit $ac_status); }; } &&
6.21468 - { ac_try='test -s conftest$ac_exeext'
6.21469 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.21470 - (eval $ac_try) 2>&5
6.21471 - ac_status=$?
6.21472 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21473 - (exit $ac_status); }; }; then
6.21474 - ac_cv_search_strerror="-l$ac_lib"
6.21475 -break
6.21476 -else
6.21477 - echo "$as_me: failed program was:" >&5
6.21478 -sed 's/^/| /' conftest.$ac_ext >&5
6.21479 -
6.21480 -fi
6.21481 -rm -f conftest.err conftest.$ac_objext \
6.21482 - conftest$ac_exeext conftest.$ac_ext
6.21483 - done
6.21484 -fi
6.21485 -LIBS=$ac_func_search_save_LIBS
6.21486 -fi
6.21487 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
6.21488 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
6.21489 -if test "$ac_cv_search_strerror" != no; then
6.21490 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
6.21491 -
6.21492 -fi
6.21493 -
6.21494 -
6.21495 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6.21496 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6.21497 -if test "${ac_cv_header_stdc+set}" = set; then
6.21498 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.21499 -else
6.21500 - cat >conftest.$ac_ext <<_ACEOF
6.21501 -/* confdefs.h. */
6.21502 -_ACEOF
6.21503 -cat confdefs.h >>conftest.$ac_ext
6.21504 -cat >>conftest.$ac_ext <<_ACEOF
6.21505 -/* end confdefs.h. */
6.21506 -#include <stdlib.h>
6.21507 -#include <stdarg.h>
6.21508 -#include <string.h>
6.21509 -#include <float.h>
6.21510 -
6.21511 -int
6.21512 -main ()
6.21513 -{
6.21514 -
6.21515 - ;
6.21516 - return 0;
6.21517 -}
6.21518 -_ACEOF
6.21519 -rm -f conftest.$ac_objext
6.21520 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.21521 - (eval $ac_compile) 2>conftest.er1
6.21522 - ac_status=$?
6.21523 - grep -v '^ *+' conftest.er1 >conftest.err
6.21524 - rm -f conftest.er1
6.21525 - cat conftest.err >&5
6.21526 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21527 - (exit $ac_status); } &&
6.21528 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.21529 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.21530 - (eval $ac_try) 2>&5
6.21531 - ac_status=$?
6.21532 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21533 - (exit $ac_status); }; } &&
6.21534 - { ac_try='test -s conftest.$ac_objext'
6.21535 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.21536 - (eval $ac_try) 2>&5
6.21537 - ac_status=$?
6.21538 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21539 - (exit $ac_status); }; }; then
6.21540 - ac_cv_header_stdc=yes
6.21541 -else
6.21542 - echo "$as_me: failed program was:" >&5
6.21543 -sed 's/^/| /' conftest.$ac_ext >&5
6.21544 -
6.21545 -ac_cv_header_stdc=no
6.21546 -fi
6.21547 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.21548 -
6.21549 -if test $ac_cv_header_stdc = yes; then
6.21550 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6.21551 - cat >conftest.$ac_ext <<_ACEOF
6.21552 -/* confdefs.h. */
6.21553 -_ACEOF
6.21554 -cat confdefs.h >>conftest.$ac_ext
6.21555 -cat >>conftest.$ac_ext <<_ACEOF
6.21556 -/* end confdefs.h. */
6.21557 -#include <string.h>
6.21558 -
6.21559 -_ACEOF
6.21560 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6.21561 - $EGREP "memchr" >/dev/null 2>&1; then
6.21562 - :
6.21563 -else
6.21564 - ac_cv_header_stdc=no
6.21565 -fi
6.21566 -rm -f conftest*
6.21567 -
6.21568 -fi
6.21569 -
6.21570 -if test $ac_cv_header_stdc = yes; then
6.21571 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6.21572 - cat >conftest.$ac_ext <<_ACEOF
6.21573 -/* confdefs.h. */
6.21574 -_ACEOF
6.21575 -cat confdefs.h >>conftest.$ac_ext
6.21576 -cat >>conftest.$ac_ext <<_ACEOF
6.21577 -/* end confdefs.h. */
6.21578 -#include <stdlib.h>
6.21579 -
6.21580 -_ACEOF
6.21581 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6.21582 - $EGREP "free" >/dev/null 2>&1; then
6.21583 - :
6.21584 -else
6.21585 - ac_cv_header_stdc=no
6.21586 -fi
6.21587 -rm -f conftest*
6.21588 -
6.21589 -fi
6.21590 -
6.21591 -if test $ac_cv_header_stdc = yes; then
6.21592 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6.21593 - if test "$cross_compiling" = yes; then
6.21594 - :
6.21595 -else
6.21596 - cat >conftest.$ac_ext <<_ACEOF
6.21597 -/* confdefs.h. */
6.21598 -_ACEOF
6.21599 -cat confdefs.h >>conftest.$ac_ext
6.21600 -cat >>conftest.$ac_ext <<_ACEOF
6.21601 -/* end confdefs.h. */
6.21602 -#include <ctype.h>
6.21603 -#if ((' ' & 0x0FF) == 0x020)
6.21604 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6.21605 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6.21606 -#else
6.21607 -# define ISLOWER(c) \
6.21608 - (('a' <= (c) && (c) <= 'i') \
6.21609 - || ('j' <= (c) && (c) <= 'r') \
6.21610 - || ('s' <= (c) && (c) <= 'z'))
6.21611 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6.21612 -#endif
6.21613 -
6.21614 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6.21615 -int
6.21616 -main ()
6.21617 -{
6.21618 - int i;
6.21619 - for (i = 0; i < 256; i++)
6.21620 - if (XOR (islower (i), ISLOWER (i))
6.21621 - || toupper (i) != TOUPPER (i))
6.21622 - exit(2);
6.21623 - exit (0);
6.21624 -}
6.21625 -_ACEOF
6.21626 -rm -f conftest$ac_exeext
6.21627 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.21628 - (eval $ac_link) 2>&5
6.21629 - ac_status=$?
6.21630 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21631 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6.21632 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.21633 - (eval $ac_try) 2>&5
6.21634 - ac_status=$?
6.21635 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21636 - (exit $ac_status); }; }; then
6.21637 - :
6.21638 -else
6.21639 - echo "$as_me: program exited with status $ac_status" >&5
6.21640 -echo "$as_me: failed program was:" >&5
6.21641 -sed 's/^/| /' conftest.$ac_ext >&5
6.21642 -
6.21643 -( exit $ac_status )
6.21644 -ac_cv_header_stdc=no
6.21645 -fi
6.21646 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6.21647 -fi
6.21648 -fi
6.21649 -fi
6.21650 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6.21651 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
6.21652 -if test $ac_cv_header_stdc = yes; then
6.21653 -
6.21654 -cat >>confdefs.h <<\_ACEOF
6.21655 -@%:@define STDC_HEADERS 1
6.21656 -_ACEOF
6.21657 -
6.21658 -fi
6.21659 -
6.21660 -echo "$as_me:$LINENO: checking for inline" >&5
6.21661 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
6.21662 -if test "${ac_cv_c_inline+set}" = set; then
6.21663 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.21664 -else
6.21665 - ac_cv_c_inline=no
6.21666 -for ac_kw in inline __inline__ __inline; do
6.21667 - cat >conftest.$ac_ext <<_ACEOF
6.21668 -/* confdefs.h. */
6.21669 -_ACEOF
6.21670 -cat confdefs.h >>conftest.$ac_ext
6.21671 -cat >>conftest.$ac_ext <<_ACEOF
6.21672 -/* end confdefs.h. */
6.21673 -#ifndef __cplusplus
6.21674 -typedef int foo_t;
6.21675 -static $ac_kw foo_t static_foo () {return 0; }
6.21676 -$ac_kw foo_t foo () {return 0; }
6.21677 -#endif
6.21678 -
6.21679 -_ACEOF
6.21680 -rm -f conftest.$ac_objext
6.21681 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.21682 - (eval $ac_compile) 2>conftest.er1
6.21683 - ac_status=$?
6.21684 - grep -v '^ *+' conftest.er1 >conftest.err
6.21685 - rm -f conftest.er1
6.21686 - cat conftest.err >&5
6.21687 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21688 - (exit $ac_status); } &&
6.21689 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.21690 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.21691 - (eval $ac_try) 2>&5
6.21692 - ac_status=$?
6.21693 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21694 - (exit $ac_status); }; } &&
6.21695 - { ac_try='test -s conftest.$ac_objext'
6.21696 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.21697 - (eval $ac_try) 2>&5
6.21698 - ac_status=$?
6.21699 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21700 - (exit $ac_status); }; }; then
6.21701 - ac_cv_c_inline=$ac_kw; break
6.21702 -else
6.21703 - echo "$as_me: failed program was:" >&5
6.21704 -sed 's/^/| /' conftest.$ac_ext >&5
6.21705 -
6.21706 -fi
6.21707 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.21708 -done
6.21709 -
6.21710 -fi
6.21711 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6.21712 -echo "${ECHO_T}$ac_cv_c_inline" >&6
6.21713 -
6.21714 -
6.21715 -case $ac_cv_c_inline in
6.21716 - inline | yes) ;;
6.21717 - *)
6.21718 - case $ac_cv_c_inline in
6.21719 - no) ac_val=;;
6.21720 - *) ac_val=$ac_cv_c_inline;;
6.21721 - esac
6.21722 - cat >>confdefs.h <<_ACEOF
6.21723 -#ifndef __cplusplus
6.21724 -#define inline $ac_val
6.21725 -#endif
6.21726 -_ACEOF
6.21727 - ;;
6.21728 -esac
6.21729 -
6.21730 -
6.21731 -# Extract the first word of "pkg-config", so it can be a program name with args.
6.21732 -set dummy pkg-config; ac_word=$2
6.21733 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.21734 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.21735 -if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
6.21736 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.21737 -else
6.21738 - if test -n "$HAVE_PKGCONFIG"; then
6.21739 - ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
6.21740 -else
6.21741 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.21742 -for as_dir in $PATH
6.21743 -do
6.21744 - IFS=$as_save_IFS
6.21745 - test -z "$as_dir" && as_dir=.
6.21746 - for ac_exec_ext in '' $ac_executable_extensions; do
6.21747 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.21748 - ac_cv_prog_HAVE_PKGCONFIG="yes"
6.21749 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.21750 - break 2
6.21751 - fi
6.21752 -done
6.21753 -done
6.21754 -
6.21755 - test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
6.21756 -fi
6.21757 -fi
6.21758 -HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
6.21759 -if test -n "$HAVE_PKGCONFIG"; then
6.21760 - echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
6.21761 -echo "${ECHO_T}$HAVE_PKGCONFIG" >&6
6.21762 -else
6.21763 - echo "$as_me:$LINENO: result: no" >&5
6.21764 -echo "${ECHO_T}no" >&6
6.21765 -fi
6.21766 -
6.21767 -
6.21768 -if test "x$HAVE_PKGCONFIG" = "xno"; then
6.21769 - { { echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
6.21770 -echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
6.21771 - { (exit 1); exit 1; }; }
6.21772 -fi
6.21773 -
6.21774 -
6.21775 -GST_REQUIRED=0.10.3
6.21776 -GST_MAJORMINOR=0.10
6.21777 -
6.21778 -
6.21779 - succeeded=no
6.21780 -
6.21781 - if test -z "$PKG_CONFIG"; then
6.21782 - # Extract the first word of "pkg-config", so it can be a program name with args.
6.21783 -set dummy pkg-config; ac_word=$2
6.21784 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.21785 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.21786 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6.21787 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.21788 -else
6.21789 - case $PKG_CONFIG in
6.21790 - [\\/]* | ?:[\\/]*)
6.21791 - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6.21792 - ;;
6.21793 - *)
6.21794 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.21795 -for as_dir in $PATH
6.21796 -do
6.21797 - IFS=$as_save_IFS
6.21798 - test -z "$as_dir" && as_dir=.
6.21799 - for ac_exec_ext in '' $ac_executable_extensions; do
6.21800 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.21801 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6.21802 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.21803 - break 2
6.21804 - fi
6.21805 -done
6.21806 -done
6.21807 -
6.21808 - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6.21809 - ;;
6.21810 -esac
6.21811 -fi
6.21812 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6.21813 -
6.21814 -if test -n "$PKG_CONFIG"; then
6.21815 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6.21816 -echo "${ECHO_T}$PKG_CONFIG" >&6
6.21817 -else
6.21818 - echo "$as_me:$LINENO: result: no" >&5
6.21819 -echo "${ECHO_T}no" >&6
6.21820 -fi
6.21821 -
6.21822 - fi
6.21823 -
6.21824 - if test "$PKG_CONFIG" = "no" ; then
6.21825 - echo "*** The pkg-config script could not be found. Make sure it is"
6.21826 - echo "*** in your path, or set the PKG_CONFIG environment variable"
6.21827 - echo "*** to the full path to pkg-config."
6.21828 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
6.21829 - else
6.21830 - PKG_CONFIG_MIN_VERSION=0.9.0
6.21831 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
6.21832 - echo "$as_me:$LINENO: checking for \
6.21833 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
6.21834 -echo $ECHO_N "checking for \
6.21835 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
6.21836 -
6.21837 - if $PKG_CONFIG --exists "\
6.21838 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
6.21839 - echo "$as_me:$LINENO: result: yes" >&5
6.21840 -echo "${ECHO_T}yes" >&6
6.21841 - succeeded=yes
6.21842 -
6.21843 - echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
6.21844 -echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
6.21845 - GST_CFLAGS=`$PKG_CONFIG --cflags "\
6.21846 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.21847 - echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
6.21848 -echo "${ECHO_T}$GST_CFLAGS" >&6
6.21849 -
6.21850 - echo "$as_me:$LINENO: checking GST_LIBS" >&5
6.21851 -echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
6.21852 - GST_LIBS=`$PKG_CONFIG --libs "\
6.21853 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.21854 - echo "$as_me:$LINENO: result: $GST_LIBS" >&5
6.21855 -echo "${ECHO_T}$GST_LIBS" >&6
6.21856 - else
6.21857 - GST_CFLAGS=""
6.21858 - GST_LIBS=""
6.21859 - ## If we have a custom action on failure, don't print errors, but
6.21860 - ## do set a variable so people can do so.
6.21861 - GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
6.21862 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.21863 -
6.21864 - fi
6.21865 -
6.21866 -
6.21867 -
6.21868 - else
6.21869 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
6.21870 - echo "*** See http://www.freedesktop.org/software/pkgconfig"
6.21871 - fi
6.21872 - fi
6.21873 -
6.21874 - if test $succeeded = yes; then
6.21875 - HAVE_GST=yes
6.21876 - else
6.21877 - HAVE_GST=no
6.21878 - fi
6.21879 -
6.21880 -
6.21881 -if test "x$HAVE_GST" = "xno"; then
6.21882 - { { echo "$as_me:$LINENO: error: you need gstreamer development packages installed !" >&5
6.21883 -echo "$as_me: error: you need gstreamer development packages installed !" >&2;}
6.21884 - { (exit 1); exit 1; }; }
6.21885 -fi
6.21886 -
6.21887 -if test "x$USE_DEBUG" = xyes; then
6.21888 - GST_CFLAGS="$GST_CFLAGS -g"
6.21889 -fi
6.21890 -
6.21891 -
6.21892 -
6.21893 -
6.21894 -
6.21895 -
6.21896 -
6.21897 - succeeded=no
6.21898 -
6.21899 - if test -z "$PKG_CONFIG"; then
6.21900 - # Extract the first word of "pkg-config", so it can be a program name with args.
6.21901 -set dummy pkg-config; ac_word=$2
6.21902 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.21903 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.21904 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6.21905 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.21906 -else
6.21907 - case $PKG_CONFIG in
6.21908 - [\\/]* | ?:[\\/]*)
6.21909 - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6.21910 - ;;
6.21911 - *)
6.21912 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.21913 -for as_dir in $PATH
6.21914 -do
6.21915 - IFS=$as_save_IFS
6.21916 - test -z "$as_dir" && as_dir=.
6.21917 - for ac_exec_ext in '' $ac_executable_extensions; do
6.21918 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.21919 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6.21920 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.21921 - break 2
6.21922 - fi
6.21923 -done
6.21924 -done
6.21925 -
6.21926 - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6.21927 - ;;
6.21928 -esac
6.21929 -fi
6.21930 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6.21931 -
6.21932 -if test -n "$PKG_CONFIG"; then
6.21933 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6.21934 -echo "${ECHO_T}$PKG_CONFIG" >&6
6.21935 -else
6.21936 - echo "$as_me:$LINENO: result: no" >&5
6.21937 -echo "${ECHO_T}no" >&6
6.21938 -fi
6.21939 -
6.21940 - fi
6.21941 -
6.21942 - if test "$PKG_CONFIG" = "no" ; then
6.21943 - echo "*** The pkg-config script could not be found. Make sure it is"
6.21944 - echo "*** in your path, or set the PKG_CONFIG environment variable"
6.21945 - echo "*** to the full path to pkg-config."
6.21946 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
6.21947 - else
6.21948 - PKG_CONFIG_MIN_VERSION=0.9.0
6.21949 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
6.21950 - echo "$as_me:$LINENO: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
6.21951 -echo $ECHO_N "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
6.21952 -
6.21953 - if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
6.21954 - echo "$as_me:$LINENO: result: yes" >&5
6.21955 -echo "${ECHO_T}yes" >&6
6.21956 - succeeded=yes
6.21957 -
6.21958 - echo "$as_me:$LINENO: checking GST_BASE_CFLAGS" >&5
6.21959 -echo $ECHO_N "checking GST_BASE_CFLAGS... $ECHO_C" >&6
6.21960 - GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.21961 - echo "$as_me:$LINENO: result: $GST_BASE_CFLAGS" >&5
6.21962 -echo "${ECHO_T}$GST_BASE_CFLAGS" >&6
6.21963 -
6.21964 - echo "$as_me:$LINENO: checking GST_BASE_LIBS" >&5
6.21965 -echo $ECHO_N "checking GST_BASE_LIBS... $ECHO_C" >&6
6.21966 - GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.21967 - echo "$as_me:$LINENO: result: $GST_BASE_LIBS" >&5
6.21968 -echo "${ECHO_T}$GST_BASE_LIBS" >&6
6.21969 - else
6.21970 - GST_BASE_CFLAGS=""
6.21971 - GST_BASE_LIBS=""
6.21972 - ## If we have a custom action on failure, don't print errors, but
6.21973 - ## do set a variable so people can do so.
6.21974 - GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.21975 -
6.21976 - fi
6.21977 -
6.21978 -
6.21979 -
6.21980 - else
6.21981 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
6.21982 - echo "*** See http://www.freedesktop.org/software/pkgconfig"
6.21983 - fi
6.21984 - fi
6.21985 -
6.21986 - if test $succeeded = yes; then
6.21987 - HAVE_GST_BASE="yes"
6.21988 - else
6.21989 - HAVE_GST_BASE="no"
6.21990 - fi
6.21991 -
6.21992 -
6.21993 -if test "x$HAVE_GST_BASE" = "xno"; then
6.21994 - { { echo "$as_me:$LINENO: error: no GStreamer Base Libs found" >&5
6.21995 -echo "$as_me: error: no GStreamer Base Libs found" >&2;}
6.21996 - { (exit 1); exit 1; }; }
6.21997 -fi
6.21998 -
6.21999 -
6.22000 -
6.22001 -
6.22002 -
6.22003 - succeeded=no
6.22004 -
6.22005 - if test -z "$PKG_CONFIG"; then
6.22006 - # Extract the first word of "pkg-config", so it can be a program name with args.
6.22007 -set dummy pkg-config; ac_word=$2
6.22008 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6.22009 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.22010 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6.22011 - echo $ECHO_N "(cached) $ECHO_C" >&6
6.22012 -else
6.22013 - case $PKG_CONFIG in
6.22014 - [\\/]* | ?:[\\/]*)
6.22015 - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6.22016 - ;;
6.22017 - *)
6.22018 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.22019 -for as_dir in $PATH
6.22020 -do
6.22021 - IFS=$as_save_IFS
6.22022 - test -z "$as_dir" && as_dir=.
6.22023 - for ac_exec_ext in '' $ac_executable_extensions; do
6.22024 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.22025 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6.22026 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.22027 - break 2
6.22028 - fi
6.22029 -done
6.22030 -done
6.22031 -
6.22032 - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6.22033 - ;;
6.22034 -esac
6.22035 -fi
6.22036 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6.22037 -
6.22038 -if test -n "$PKG_CONFIG"; then
6.22039 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6.22040 -echo "${ECHO_T}$PKG_CONFIG" >&6
6.22041 -else
6.22042 - echo "$as_me:$LINENO: result: no" >&5
6.22043 -echo "${ECHO_T}no" >&6
6.22044 -fi
6.22045 -
6.22046 - fi
6.22047 -
6.22048 - if test "$PKG_CONFIG" = "no" ; then
6.22049 - echo "*** The pkg-config script could not be found. Make sure it is"
6.22050 - echo "*** in your path, or set the PKG_CONFIG environment variable"
6.22051 - echo "*** to the full path to pkg-config."
6.22052 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
6.22053 - else
6.22054 - PKG_CONFIG_MIN_VERSION=0.9.0
6.22055 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
6.22056 - echo "$as_me:$LINENO: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
6.22057 -echo $ECHO_N "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
6.22058 -
6.22059 - if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
6.22060 - echo "$as_me:$LINENO: result: yes" >&5
6.22061 -echo "${ECHO_T}yes" >&6
6.22062 - succeeded=yes
6.22063 -
6.22064 - echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_CFLAGS" >&5
6.22065 -echo $ECHO_N "checking GST_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6
6.22066 - GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.22067 - echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_CFLAGS" >&5
6.22068 -echo "${ECHO_T}$GST_PLUGINS_BASE_CFLAGS" >&6
6.22069 -
6.22070 - echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_LIBS" >&5
6.22071 -echo $ECHO_N "checking GST_PLUGINS_BASE_LIBS... $ECHO_C" >&6
6.22072 - GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.22073 - echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_LIBS" >&5
6.22074 -echo "${ECHO_T}$GST_PLUGINS_BASE_LIBS" >&6
6.22075 - else
6.22076 - GST_PLUGINS_BASE_CFLAGS=""
6.22077 - GST_PLUGINS_BASE_LIBS=""
6.22078 - ## If we have a custom action on failure, don't print errors, but
6.22079 - ## do set a variable so people can do so.
6.22080 - GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.22081 -
6.22082 - fi
6.22083 -
6.22084 -
6.22085 -
6.22086 - else
6.22087 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
6.22088 - echo "*** See http://www.freedesktop.org/software/pkgconfig"
6.22089 - fi
6.22090 - fi
6.22091 -
6.22092 - if test $succeeded = yes; then
6.22093 - HAVE_GST_PLUGINS="yes"
6.22094 - else
6.22095 - HAVE_GST_PLUGINS="no"
6.22096 - fi
6.22097 -
6.22098 -
6.22099 -if test "x$HAVE_GST_PLUGINS" = "xno"; then
6.22100 - { { echo "$as_me:$LINENO: error: no GStreamer Plugins Libs found" >&5
6.22101 -echo "$as_me: error: no GStreamer Plugins Libs found" >&2;}
6.22102 - { (exit 1); exit 1; }; }
6.22103 -fi
6.22104 -
6.22105 -
6.22106 -
6.22107 -
6.22108 -plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
6.22109 -
6.22110 -
6.22111 -GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).*'
6.22112 -
6.22113 -
6.22114 - ac_config_files="$ac_config_files Makefile src/Makefile m4/Makefile"
6.22115 -cat >confcache <<\_ACEOF
6.22116 -# This file is a shell script that caches the results of configure
6.22117 -# tests run on this system so they can be shared between configure
6.22118 -# scripts and configure runs, see configure's option --config-cache.
6.22119 -# It is not useful on other systems. If it contains results you don't
6.22120 -# want to keep, you may remove or edit it.
6.22121 -#
6.22122 -# config.status only pays attention to the cache file if you give it
6.22123 -# the --recheck option to rerun configure.
6.22124 -#
6.22125 -# `ac_cv_env_foo' variables (set or unset) will be overridden when
6.22126 -# loading this file, other *unset* `ac_cv_foo' will be assigned the
6.22127 -# following values.
6.22128 -
6.22129 -_ACEOF
6.22130 -
6.22131 -# The following way of writing the cache mishandles newlines in values,
6.22132 -# but we know of no workaround that is simple, portable, and efficient.
6.22133 -# So, don't put newlines in cache variables' values.
6.22134 -# Ultrix sh set writes to stderr and can't be redirected directly,
6.22135 -# and sets the high bit in the cache file unless we assign to the vars.
6.22136 -{
6.22137 - (set) 2>&1 |
6.22138 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
6.22139 - *ac_space=\ *)
6.22140 - # `set' does not quote correctly, so add quotes (double-quote
6.22141 - # substitution turns \\\\ into \\, and sed turns \\ into \).
6.22142 - sed -n \
6.22143 - "s/'/'\\\\''/g;
6.22144 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6.22145 - ;;
6.22146 - *)
6.22147 - # `set' quotes correctly as required by POSIX, so do not add quotes.
6.22148 - sed -n \
6.22149 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6.22150 - ;;
6.22151 - esac;
6.22152 -} |
6.22153 - sed '
6.22154 - t clear
6.22155 - : clear
6.22156 - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6.22157 - t end
6.22158 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6.22159 - : end' >>confcache
6.22160 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
6.22161 - if test -w $cache_file; then
6.22162 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6.22163 - cat confcache >$cache_file
6.22164 - else
6.22165 - echo "not updating unwritable cache $cache_file"
6.22166 - fi
6.22167 -fi
6.22168 -rm -f confcache
6.22169 -
6.22170 -test "x$prefix" = xNONE && prefix=$ac_default_prefix
6.22171 -# Let make expand exec_prefix.
6.22172 -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6.22173 -
6.22174 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
6.22175 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6.22176 -# trailing colons and then remove the whole line if VPATH becomes empty
6.22177 -# (actually we leave an empty line to preserve line numbers).
6.22178 -if test "x$srcdir" = x.; then
6.22179 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
6.22180 -s/:*\$(srcdir):*/:/;
6.22181 -s/:*\${srcdir}:*/:/;
6.22182 -s/:*@srcdir@:*/:/;
6.22183 -s/^\([^=]*=[ ]*\):*/\1/;
6.22184 -s/:*$//;
6.22185 -s/^[^=]*=[ ]*$//;
6.22186 -}'
6.22187 -fi
6.22188 -
6.22189 -DEFS=-DHAVE_CONFIG_H
6.22190 -
6.22191 -ac_libobjs=
6.22192 -ac_ltlibobjs=
6.22193 -for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
6.22194 - # 1. Remove the extension, and $U if already installed.
6.22195 - ac_i=`echo "$ac_i" |
6.22196 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6.22197 - # 2. Add them.
6.22198 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6.22199 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6.22200 -done
6.22201 -LIB@&t@OBJS=$ac_libobjs
6.22202 -
6.22203 -LTLIBOBJS=$ac_ltlibobjs
6.22204 -
6.22205 -
6.22206 -if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6.22207 - { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6.22208 -Usually this means the macro was only invoked conditionally." >&5
6.22209 -echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6.22210 -Usually this means the macro was only invoked conditionally." >&2;}
6.22211 - { (exit 1); exit 1; }; }
6.22212 -fi
6.22213 -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6.22214 - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6.22215 -Usually this means the macro was only invoked conditionally." >&5
6.22216 -echo "$as_me: error: conditional \"AMDEP\" was never defined.
6.22217 -Usually this means the macro was only invoked conditionally." >&2;}
6.22218 - { (exit 1); exit 1; }; }
6.22219 -fi
6.22220 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6.22221 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6.22222 -Usually this means the macro was only invoked conditionally." >&5
6.22223 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6.22224 -Usually this means the macro was only invoked conditionally." >&2;}
6.22225 - { (exit 1); exit 1; }; }
6.22226 -fi
6.22227 -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6.22228 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
6.22229 -Usually this means the macro was only invoked conditionally." >&5
6.22230 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
6.22231 -Usually this means the macro was only invoked conditionally." >&2;}
6.22232 - { (exit 1); exit 1; }; }
6.22233 -fi
6.22234 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6.22235 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6.22236 -Usually this means the macro was only invoked conditionally." >&5
6.22237 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6.22238 -Usually this means the macro was only invoked conditionally." >&2;}
6.22239 - { (exit 1); exit 1; }; }
6.22240 -fi
6.22241 -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6.22242 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
6.22243 -Usually this means the macro was only invoked conditionally." >&5
6.22244 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
6.22245 -Usually this means the macro was only invoked conditionally." >&2;}
6.22246 - { (exit 1); exit 1; }; }
6.22247 -fi
6.22248 -
6.22249 -: ${CONFIG_STATUS=./config.status}
6.22250 -ac_clean_files_save=$ac_clean_files
6.22251 -ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6.22252 -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6.22253 -echo "$as_me: creating $CONFIG_STATUS" >&6;}
6.22254 -cat >$CONFIG_STATUS <<_ACEOF
6.22255 -#! $SHELL
6.22256 -# Generated by $as_me.
6.22257 -# Run this file to recreate the current configuration.
6.22258 -# Compiler output produced by configure, useful for debugging
6.22259 -# configure, is in config.log if it exists.
6.22260 -
6.22261 -debug=false
6.22262 -ac_cs_recheck=false
6.22263 -ac_cs_silent=false
6.22264 -SHELL=\${CONFIG_SHELL-$SHELL}
6.22265 -_ACEOF
6.22266 -
6.22267 -cat >>$CONFIG_STATUS <<\_ACEOF
6.22268 -## --------------------- ##
6.22269 -## M4sh Initialization. ##
6.22270 -## --------------------- ##
6.22271 -
6.22272 -# Be Bourne compatible
6.22273 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6.22274 - emulate sh
6.22275 - NULLCMD=:
6.22276 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6.22277 - # is contrary to our usage. Disable this feature.
6.22278 - alias -g '${1+"$@"}'='"$@"'
6.22279 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6.22280 - set -o posix
6.22281 -fi
6.22282 -DUALCASE=1; export DUALCASE # for MKS sh
6.22283 -
6.22284 -# Support unset when possible.
6.22285 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6.22286 - as_unset=unset
6.22287 -else
6.22288 - as_unset=false
6.22289 -fi
6.22290 -
6.22291 -
6.22292 -# Work around bugs in pre-3.0 UWIN ksh.
6.22293 -$as_unset ENV MAIL MAILPATH
6.22294 -PS1='$ '
6.22295 -PS2='> '
6.22296 -PS4='+ '
6.22297 -
6.22298 -# NLS nuisances.
6.22299 -for as_var in \
6.22300 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6.22301 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6.22302 - LC_TELEPHONE LC_TIME
6.22303 -do
6.22304 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6.22305 - eval $as_var=C; export $as_var
6.22306 - else
6.22307 - $as_unset $as_var
6.22308 - fi
6.22309 -done
6.22310 -
6.22311 -# Required to use basename.
6.22312 -if expr a : '\(a\)' >/dev/null 2>&1; then
6.22313 - as_expr=expr
6.22314 -else
6.22315 - as_expr=false
6.22316 -fi
6.22317 -
6.22318 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6.22319 - as_basename=basename
6.22320 -else
6.22321 - as_basename=false
6.22322 -fi
6.22323 -
6.22324 -
6.22325 -# Name of the executable.
6.22326 -as_me=`$as_basename "$0" ||
6.22327 -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6.22328 - X"$0" : 'X\(//\)$' \| \
6.22329 - X"$0" : 'X\(/\)$' \| \
6.22330 - . : '\(.\)' 2>/dev/null ||
6.22331 -echo X/"$0" |
6.22332 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6.22333 - /^X\/\(\/\/\)$/{ s//\1/; q; }
6.22334 - /^X\/\(\/\).*/{ s//\1/; q; }
6.22335 - s/.*/./; q'`
6.22336 -
6.22337 -
6.22338 -# PATH needs CR, and LINENO needs CR and PATH.
6.22339 -# Avoid depending upon Character Ranges.
6.22340 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6.22341 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6.22342 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6.22343 -as_cr_digits='0123456789'
6.22344 -as_cr_alnum=$as_cr_Letters$as_cr_digits
6.22345 -
6.22346 -# The user is always right.
6.22347 -if test "${PATH_SEPARATOR+set}" != set; then
6.22348 - echo "#! /bin/sh" >conf$$.sh
6.22349 - echo "exit 0" >>conf$$.sh
6.22350 - chmod +x conf$$.sh
6.22351 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6.22352 - PATH_SEPARATOR=';'
6.22353 - else
6.22354 - PATH_SEPARATOR=:
6.22355 - fi
6.22356 - rm -f conf$$.sh
6.22357 -fi
6.22358 -
6.22359 -
6.22360 - as_lineno_1=$LINENO
6.22361 - as_lineno_2=$LINENO
6.22362 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6.22363 - test "x$as_lineno_1" != "x$as_lineno_2" &&
6.22364 - test "x$as_lineno_3" = "x$as_lineno_2" || {
6.22365 - # Find who we are. Look in the path if we contain no path at all
6.22366 - # relative or not.
6.22367 - case $0 in
6.22368 - *[\\/]* ) as_myself=$0 ;;
6.22369 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.22370 -for as_dir in $PATH
6.22371 -do
6.22372 - IFS=$as_save_IFS
6.22373 - test -z "$as_dir" && as_dir=.
6.22374 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6.22375 -done
6.22376 -
6.22377 - ;;
6.22378 - esac
6.22379 - # We did not find ourselves, most probably we were run as `sh COMMAND'
6.22380 - # in which case we are not to be found in the path.
6.22381 - if test "x$as_myself" = x; then
6.22382 - as_myself=$0
6.22383 - fi
6.22384 - if test ! -f "$as_myself"; then
6.22385 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6.22386 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6.22387 - { (exit 1); exit 1; }; }
6.22388 - fi
6.22389 - case $CONFIG_SHELL in
6.22390 - '')
6.22391 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.22392 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6.22393 -do
6.22394 - IFS=$as_save_IFS
6.22395 - test -z "$as_dir" && as_dir=.
6.22396 - for as_base in sh bash ksh sh5; do
6.22397 - case $as_dir in
6.22398 - /*)
6.22399 - if ("$as_dir/$as_base" -c '
6.22400 - as_lineno_1=$LINENO
6.22401 - as_lineno_2=$LINENO
6.22402 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6.22403 - test "x$as_lineno_1" != "x$as_lineno_2" &&
6.22404 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6.22405 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6.22406 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6.22407 - CONFIG_SHELL=$as_dir/$as_base
6.22408 - export CONFIG_SHELL
6.22409 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6.22410 - fi;;
6.22411 - esac
6.22412 - done
6.22413 -done
6.22414 -;;
6.22415 - esac
6.22416 -
6.22417 - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6.22418 - # uniformly replaced by the line number. The first 'sed' inserts a
6.22419 - # line-number line before each line; the second 'sed' does the real
6.22420 - # work. The second script uses 'N' to pair each line-number line
6.22421 - # with the numbered line, and appends trailing '-' during
6.22422 - # substitution so that $LINENO is not a special case at line end.
6.22423 - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6.22424 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6.22425 - sed '=' <$as_myself |
6.22426 - sed '
6.22427 - N
6.22428 - s,$,-,
6.22429 - : loop
6.22430 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6.22431 - t loop
6.22432 - s,-$,,
6.22433 - s,^['$as_cr_digits']*\n,,
6.22434 - ' >$as_me.lineno &&
6.22435 - chmod +x $as_me.lineno ||
6.22436 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6.22437 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6.22438 - { (exit 1); exit 1; }; }
6.22439 -
6.22440 - # Don't try to exec as it changes $[0], causing all sort of problems
6.22441 - # (the dirname of $[0] is not the place where we might find the
6.22442 - # original and so on. Autoconf is especially sensible to this).
6.22443 - . ./$as_me.lineno
6.22444 - # Exit status is that of the last command.
6.22445 - exit
6.22446 -}
6.22447 -
6.22448 -
6.22449 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6.22450 - *c*,-n*) ECHO_N= ECHO_C='
6.22451 -' ECHO_T=' ' ;;
6.22452 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6.22453 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6.22454 -esac
6.22455 -
6.22456 -if expr a : '\(a\)' >/dev/null 2>&1; then
6.22457 - as_expr=expr
6.22458 -else
6.22459 - as_expr=false
6.22460 -fi
6.22461 -
6.22462 -rm -f conf$$ conf$$.exe conf$$.file
6.22463 -echo >conf$$.file
6.22464 -if ln -s conf$$.file conf$$ 2>/dev/null; then
6.22465 - # We could just check for DJGPP; but this test a) works b) is more generic
6.22466 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6.22467 - if test -f conf$$.exe; then
6.22468 - # Don't use ln at all; we don't have any links
6.22469 - as_ln_s='cp -p'
6.22470 - else
6.22471 - as_ln_s='ln -s'
6.22472 - fi
6.22473 -elif ln conf$$.file conf$$ 2>/dev/null; then
6.22474 - as_ln_s=ln
6.22475 -else
6.22476 - as_ln_s='cp -p'
6.22477 -fi
6.22478 -rm -f conf$$ conf$$.exe conf$$.file
6.22479 -
6.22480 -if mkdir -p . 2>/dev/null; then
6.22481 - as_mkdir_p=:
6.22482 -else
6.22483 - test -d ./-p && rmdir ./-p
6.22484 - as_mkdir_p=false
6.22485 -fi
6.22486 -
6.22487 -as_executable_p="test -f"
6.22488 -
6.22489 -# Sed expression to map a string onto a valid CPP name.
6.22490 -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6.22491 -
6.22492 -# Sed expression to map a string onto a valid variable name.
6.22493 -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6.22494 -
6.22495 -
6.22496 -# IFS
6.22497 -# We need space, tab and new line, in precisely that order.
6.22498 -as_nl='
6.22499 -'
6.22500 -IFS=" $as_nl"
6.22501 -
6.22502 -# CDPATH.
6.22503 -$as_unset CDPATH
6.22504 -
6.22505 -exec 6>&1
6.22506 -
6.22507 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
6.22508 -# report actual input values of CONFIG_FILES etc. instead of their
6.22509 -# values after options handling. Logging --version etc. is OK.
6.22510 -exec 5>>config.log
6.22511 -{
6.22512 - echo
6.22513 - sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
6.22514 -@%:@@%:@ Running $as_me. @%:@@%:@
6.22515 -_ASBOX
6.22516 -} >&5
6.22517 -cat >&5 <<_CSEOF
6.22518 -
6.22519 -This file was extended by $as_me, which was
6.22520 -generated by GNU Autoconf 2.59. Invocation command line was
6.22521 -
6.22522 - CONFIG_FILES = $CONFIG_FILES
6.22523 - CONFIG_HEADERS = $CONFIG_HEADERS
6.22524 - CONFIG_LINKS = $CONFIG_LINKS
6.22525 - CONFIG_COMMANDS = $CONFIG_COMMANDS
6.22526 - $ $0 $@
6.22527 -
6.22528 -_CSEOF
6.22529 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6.22530 -echo >&5
6.22531 -_ACEOF
6.22532 -
6.22533 -# Files that config.status was made for.
6.22534 -if test -n "$ac_config_files"; then
6.22535 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6.22536 -fi
6.22537 -
6.22538 -if test -n "$ac_config_headers"; then
6.22539 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6.22540 -fi
6.22541 -
6.22542 -if test -n "$ac_config_links"; then
6.22543 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6.22544 -fi
6.22545 -
6.22546 -if test -n "$ac_config_commands"; then
6.22547 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6.22548 -fi
6.22549 -
6.22550 -cat >>$CONFIG_STATUS <<\_ACEOF
6.22551 -
6.22552 -ac_cs_usage="\
6.22553 -\`$as_me' instantiates files from templates according to the
6.22554 -current configuration.
6.22555 -
6.22556 -Usage: $0 [OPTIONS] [FILE]...
6.22557 -
6.22558 - -h, --help print this help, then exit
6.22559 - -V, --version print version number, then exit
6.22560 - -q, --quiet do not print progress messages
6.22561 - -d, --debug don't remove temporary files
6.22562 - --recheck update $as_me by reconfiguring in the same conditions
6.22563 - --file=FILE[:TEMPLATE]
6.22564 - instantiate the configuration file FILE
6.22565 - --header=FILE[:TEMPLATE]
6.22566 - instantiate the configuration header FILE
6.22567 -
6.22568 -Configuration files:
6.22569 -$config_files
6.22570 -
6.22571 -Configuration headers:
6.22572 -$config_headers
6.22573 -
6.22574 -Configuration commands:
6.22575 -$config_commands
6.22576 -
6.22577 -Report bugs to <bug-autoconf@gnu.org>."
6.22578 -_ACEOF
6.22579 -
6.22580 -cat >>$CONFIG_STATUS <<_ACEOF
6.22581 -ac_cs_version="\\
6.22582 -config.status
6.22583 -configured by $0, generated by GNU Autoconf 2.59,
6.22584 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6.22585 -
6.22586 -Copyright (C) 2003 Free Software Foundation, Inc.
6.22587 -This config.status script is free software; the Free Software Foundation
6.22588 -gives unlimited permission to copy, distribute and modify it."
6.22589 -srcdir=$srcdir
6.22590 -INSTALL="$INSTALL"
6.22591 -_ACEOF
6.22592 -
6.22593 -cat >>$CONFIG_STATUS <<\_ACEOF
6.22594 -# If no file are specified by the user, then we need to provide default
6.22595 -# value. By we need to know if files were specified by the user.
6.22596 -ac_need_defaults=:
6.22597 -while test $# != 0
6.22598 -do
6.22599 - case $1 in
6.22600 - --*=*)
6.22601 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
6.22602 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6.22603 - ac_shift=:
6.22604 - ;;
6.22605 - -*)
6.22606 - ac_option=$1
6.22607 - ac_optarg=$2
6.22608 - ac_shift=shift
6.22609 - ;;
6.22610 - *) # This is not an option, so the user has probably given explicit
6.22611 - # arguments.
6.22612 - ac_option=$1
6.22613 - ac_need_defaults=false;;
6.22614 - esac
6.22615 -
6.22616 - case $ac_option in
6.22617 - # Handling of the options.
6.22618 -_ACEOF
6.22619 -cat >>$CONFIG_STATUS <<\_ACEOF
6.22620 - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6.22621 - ac_cs_recheck=: ;;
6.22622 - --version | --vers* | -V )
6.22623 - echo "$ac_cs_version"; exit 0 ;;
6.22624 - --he | --h)
6.22625 - # Conflict between --help and --header
6.22626 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
6.22627 -Try \`$0 --help' for more information." >&5
6.22628 -echo "$as_me: error: ambiguous option: $1
6.22629 -Try \`$0 --help' for more information." >&2;}
6.22630 - { (exit 1); exit 1; }; };;
6.22631 - --help | --hel | -h )
6.22632 - echo "$ac_cs_usage"; exit 0 ;;
6.22633 - --debug | --d* | -d )
6.22634 - debug=: ;;
6.22635 - --file | --fil | --fi | --f )
6.22636 - $ac_shift
6.22637 - CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6.22638 - ac_need_defaults=false;;
6.22639 - --header | --heade | --head | --hea )
6.22640 - $ac_shift
6.22641 - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6.22642 - ac_need_defaults=false;;
6.22643 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6.22644 - | -silent | --silent | --silen | --sile | --sil | --si | --s)
6.22645 - ac_cs_silent=: ;;
6.22646 -
6.22647 - # This is an error.
6.22648 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6.22649 -Try \`$0 --help' for more information." >&5
6.22650 -echo "$as_me: error: unrecognized option: $1
6.22651 -Try \`$0 --help' for more information." >&2;}
6.22652 - { (exit 1); exit 1; }; } ;;
6.22653 -
6.22654 - *) ac_config_targets="$ac_config_targets $1" ;;
6.22655 -
6.22656 - esac
6.22657 - shift
6.22658 -done
6.22659 -
6.22660 -ac_configure_extra_args=
6.22661 -
6.22662 -if $ac_cs_silent; then
6.22663 - exec 6>/dev/null
6.22664 - ac_configure_extra_args="$ac_configure_extra_args --silent"
6.22665 -fi
6.22666 -
6.22667 -_ACEOF
6.22668 -cat >>$CONFIG_STATUS <<_ACEOF
6.22669 -if \$ac_cs_recheck; then
6.22670 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6.22671 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6.22672 -fi
6.22673 -
6.22674 -_ACEOF
6.22675 -
6.22676 -cat >>$CONFIG_STATUS <<_ACEOF
6.22677 -#
6.22678 -# INIT-COMMANDS section.
6.22679 -#
6.22680 -
6.22681 -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6.22682 -
6.22683 -_ACEOF
6.22684 -
6.22685 -
6.22686 -
6.22687 -cat >>$CONFIG_STATUS <<\_ACEOF
6.22688 -for ac_config_target in $ac_config_targets
6.22689 -do
6.22690 - case "$ac_config_target" in
6.22691 - # Handling of arguments.
6.22692 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6.22693 - "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6.22694 - "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
6.22695 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6.22696 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6.22697 - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6.22698 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6.22699 - { (exit 1); exit 1; }; };;
6.22700 - esac
6.22701 -done
6.22702 -
6.22703 -# If the user did not use the arguments to specify the items to instantiate,
6.22704 -# then the envvar interface is used. Set only those that are not.
6.22705 -# We use the long form for the default assignment because of an extremely
6.22706 -# bizarre bug on SunOS 4.1.3.
6.22707 -if $ac_need_defaults; then
6.22708 - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6.22709 - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6.22710 - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6.22711 -fi
6.22712 -
6.22713 -# Have a temporary directory for convenience. Make it in the build tree
6.22714 -# simply because there is no reason to put it here, and in addition,
6.22715 -# creating and moving files from /tmp can sometimes cause problems.
6.22716 -# Create a temporary directory, and hook for its removal unless debugging.
6.22717 -$debug ||
6.22718 -{
6.22719 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6.22720 - trap '{ (exit 1); exit 1; }' 1 2 13 15
6.22721 -}
6.22722 -
6.22723 -# Create a (secure) tmp directory for tmp files.
6.22724 -
6.22725 -{
6.22726 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6.22727 - test -n "$tmp" && test -d "$tmp"
6.22728 -} ||
6.22729 -{
6.22730 - tmp=./confstat$$-$RANDOM
6.22731 - (umask 077 && mkdir $tmp)
6.22732 -} ||
6.22733 -{
6.22734 - echo "$me: cannot create a temporary directory in ." >&2
6.22735 - { (exit 1); exit 1; }
6.22736 -}
6.22737 -
6.22738 -_ACEOF
6.22739 -
6.22740 -cat >>$CONFIG_STATUS <<_ACEOF
6.22741 -
6.22742 -#
6.22743 -# CONFIG_FILES section.
6.22744 -#
6.22745 -
6.22746 -# No need to generate the scripts if there are no CONFIG_FILES.
6.22747 -# This happens for instance when ./config.status config.h
6.22748 -if test -n "\$CONFIG_FILES"; then
6.22749 - # Protect against being on the right side of a sed subst in config.status.
6.22750 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6.22751 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6.22752 -s,@SHELL@,$SHELL,;t t
6.22753 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6.22754 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6.22755 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6.22756 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6.22757 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6.22758 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6.22759 -s,@exec_prefix@,$exec_prefix,;t t
6.22760 -s,@prefix@,$prefix,;t t
6.22761 -s,@program_transform_name@,$program_transform_name,;t t
6.22762 -s,@bindir@,$bindir,;t t
6.22763 -s,@sbindir@,$sbindir,;t t
6.22764 -s,@libexecdir@,$libexecdir,;t t
6.22765 -s,@datadir@,$datadir,;t t
6.22766 -s,@sysconfdir@,$sysconfdir,;t t
6.22767 -s,@sharedstatedir@,$sharedstatedir,;t t
6.22768 -s,@localstatedir@,$localstatedir,;t t
6.22769 -s,@libdir@,$libdir,;t t
6.22770 -s,@includedir@,$includedir,;t t
6.22771 -s,@oldincludedir@,$oldincludedir,;t t
6.22772 -s,@infodir@,$infodir,;t t
6.22773 -s,@mandir@,$mandir,;t t
6.22774 -s,@build_alias@,$build_alias,;t t
6.22775 -s,@host_alias@,$host_alias,;t t
6.22776 -s,@target_alias@,$target_alias,;t t
6.22777 -s,@DEFS@,$DEFS,;t t
6.22778 -s,@ECHO_C@,$ECHO_C,;t t
6.22779 -s,@ECHO_N@,$ECHO_N,;t t
6.22780 -s,@ECHO_T@,$ECHO_T,;t t
6.22781 -s,@LIBS@,$LIBS,;t t
6.22782 -s,@build@,$build,;t t
6.22783 -s,@build_cpu@,$build_cpu,;t t
6.22784 -s,@build_vendor@,$build_vendor,;t t
6.22785 -s,@build_os@,$build_os,;t t
6.22786 -s,@host@,$host,;t t
6.22787 -s,@host_cpu@,$host_cpu,;t t
6.22788 -s,@host_vendor@,$host_vendor,;t t
6.22789 -s,@host_os@,$host_os,;t t
6.22790 -s,@target@,$target,;t t
6.22791 -s,@target_cpu@,$target_cpu,;t t
6.22792 -s,@target_vendor@,$target_vendor,;t t
6.22793 -s,@target_os@,$target_os,;t t
6.22794 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6.22795 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6.22796 -s,@MAINT@,$MAINT,;t t
6.22797 -s,@GST_PLUGINS_VERSION@,$GST_PLUGINS_VERSION,;t t
6.22798 -s,@GST_PLUGINS_VERSION_RELEASE@,$GST_PLUGINS_VERSION_RELEASE,;t t
6.22799 -s,@GST_PLUGINS_VERSION_MAJOR@,$GST_PLUGINS_VERSION_MAJOR,;t t
6.22800 -s,@GST_PLUGINS_VERSION_MINOR@,$GST_PLUGINS_VERSION_MINOR,;t t
6.22801 -s,@GST_PLUGINS_VERSION_MICRO@,$GST_PLUGINS_VERSION_MICRO,;t t
6.22802 -s,@GST_PLUGINS_VERSION_NANO@,$GST_PLUGINS_VERSION_NANO,;t t
6.22803 -s,@PACKAGE@,$PACKAGE,;t t
6.22804 -s,@VERSION@,$VERSION,;t t
6.22805 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6.22806 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6.22807 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6.22808 -s,@CYGPATH_W@,$CYGPATH_W,;t t
6.22809 -s,@ACLOCAL@,$ACLOCAL,;t t
6.22810 -s,@AUTOCONF@,$AUTOCONF,;t t
6.22811 -s,@AUTOMAKE@,$AUTOMAKE,;t t
6.22812 -s,@AUTOHEADER@,$AUTOHEADER,;t t
6.22813 -s,@MAKEINFO@,$MAKEINFO,;t t
6.22814 -s,@AMTAR@,$AMTAR,;t t
6.22815 -s,@install_sh@,$install_sh,;t t
6.22816 -s,@STRIP@,$STRIP,;t t
6.22817 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6.22818 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6.22819 -s,@mkdir_p@,$mkdir_p,;t t
6.22820 -s,@AWK@,$AWK,;t t
6.22821 -s,@SET_MAKE@,$SET_MAKE,;t t
6.22822 -s,@am__leading_dot@,$am__leading_dot,;t t
6.22823 -s,@CC@,$CC,;t t
6.22824 -s,@CFLAGS@,$CFLAGS,;t t
6.22825 -s,@LDFLAGS@,$LDFLAGS,;t t
6.22826 -s,@CPPFLAGS@,$CPPFLAGS,;t t
6.22827 -s,@ac_ct_CC@,$ac_ct_CC,;t t
6.22828 -s,@EXEEXT@,$EXEEXT,;t t
6.22829 -s,@OBJEXT@,$OBJEXT,;t t
6.22830 -s,@DEPDIR@,$DEPDIR,;t t
6.22831 -s,@am__include@,$am__include,;t t
6.22832 -s,@am__quote@,$am__quote,;t t
6.22833 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6.22834 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6.22835 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6.22836 -s,@CCDEPMODE@,$CCDEPMODE,;t t
6.22837 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6.22838 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6.22839 -s,@EGREP@,$EGREP,;t t
6.22840 -s,@LN_S@,$LN_S,;t t
6.22841 -s,@ECHO@,$ECHO,;t t
6.22842 -s,@AR@,$AR,;t t
6.22843 -s,@ac_ct_AR@,$ac_ct_AR,;t t
6.22844 -s,@RANLIB@,$RANLIB,;t t
6.22845 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6.22846 -s,@CPP@,$CPP,;t t
6.22847 -s,@CXX@,$CXX,;t t
6.22848 -s,@CXXFLAGS@,$CXXFLAGS,;t t
6.22849 -s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6.22850 -s,@CXXDEPMODE@,$CXXDEPMODE,;t t
6.22851 -s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
6.22852 -s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
6.22853 -s,@CXXCPP@,$CXXCPP,;t t
6.22854 -s,@F77@,$F77,;t t
6.22855 -s,@FFLAGS@,$FFLAGS,;t t
6.22856 -s,@ac_ct_F77@,$ac_ct_F77,;t t
6.22857 -s,@LIBTOOL@,$LIBTOOL,;t t
6.22858 -s,@ACLOCAL_AMFLAGS@,$ACLOCAL_AMFLAGS,;t t
6.22859 -s,@CCAS@,$CCAS,;t t
6.22860 -s,@CCASFLAGS@,$CCASFLAGS,;t t
6.22861 -s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
6.22862 -s,@HAVE_CXX@,$HAVE_CXX,;t t
6.22863 -s,@HAVE_PKGCONFIG@,$HAVE_PKGCONFIG,;t t
6.22864 -s,@PKG_CONFIG@,$PKG_CONFIG,;t t
6.22865 -s,@GST_CFLAGS@,$GST_CFLAGS,;t t
6.22866 -s,@GST_LIBS@,$GST_LIBS,;t t
6.22867 -s,@GST_MAJORMINOR@,$GST_MAJORMINOR,;t t
6.22868 -s,@GST_BASE_CFLAGS@,$GST_BASE_CFLAGS,;t t
6.22869 -s,@GST_BASE_LIBS@,$GST_BASE_LIBS,;t t
6.22870 -s,@GST_PLUGINS_BASE_CFLAGS@,$GST_PLUGINS_BASE_CFLAGS,;t t
6.22871 -s,@GST_PLUGINS_BASE_LIBS@,$GST_PLUGINS_BASE_LIBS,;t t
6.22872 -s,@plugindir@,$plugindir,;t t
6.22873 -s,@GST_PLUGIN_LDFLAGS@,$GST_PLUGIN_LDFLAGS,;t t
6.22874 -s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
6.22875 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6.22876 -CEOF
6.22877 -
6.22878 -_ACEOF
6.22879 -
6.22880 - cat >>$CONFIG_STATUS <<\_ACEOF
6.22881 - # Split the substitutions into bite-sized pieces for seds with
6.22882 - # small command number limits, like on Digital OSF/1 and HP-UX.
6.22883 - ac_max_sed_lines=48
6.22884 - ac_sed_frag=1 # Number of current file.
6.22885 - ac_beg=1 # First line for current file.
6.22886 - ac_end=$ac_max_sed_lines # Line after last line for current file.
6.22887 - ac_more_lines=:
6.22888 - ac_sed_cmds=
6.22889 - while $ac_more_lines; do
6.22890 - if test $ac_beg -gt 1; then
6.22891 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6.22892 - else
6.22893 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6.22894 - fi
6.22895 - if test ! -s $tmp/subs.frag; then
6.22896 - ac_more_lines=false
6.22897 - else
6.22898 - # The purpose of the label and of the branching condition is to
6.22899 - # speed up the sed processing (if there are no `@' at all, there
6.22900 - # is no need to browse any of the substitutions).
6.22901 - # These are the two extra sed commands mentioned above.
6.22902 - (echo ':t
6.22903 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6.22904 - if test -z "$ac_sed_cmds"; then
6.22905 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6.22906 - else
6.22907 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6.22908 - fi
6.22909 - ac_sed_frag=`expr $ac_sed_frag + 1`
6.22910 - ac_beg=$ac_end
6.22911 - ac_end=`expr $ac_end + $ac_max_sed_lines`
6.22912 - fi
6.22913 - done
6.22914 - if test -z "$ac_sed_cmds"; then
6.22915 - ac_sed_cmds=cat
6.22916 - fi
6.22917 -fi # test -n "$CONFIG_FILES"
6.22918 -
6.22919 -_ACEOF
6.22920 -cat >>$CONFIG_STATUS <<\_ACEOF
6.22921 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6.22922 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6.22923 - case $ac_file in
6.22924 - - | *:- | *:-:* ) # input from stdin
6.22925 - cat >$tmp/stdin
6.22926 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6.22927 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6.22928 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6.22929 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6.22930 - * ) ac_file_in=$ac_file.in ;;
6.22931 - esac
6.22932 -
6.22933 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6.22934 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6.22935 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.22936 - X"$ac_file" : 'X\(//\)[^/]' \| \
6.22937 - X"$ac_file" : 'X\(//\)$' \| \
6.22938 - X"$ac_file" : 'X\(/\)' \| \
6.22939 - . : '\(.\)' 2>/dev/null ||
6.22940 -echo X"$ac_file" |
6.22941 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.22942 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.22943 - /^X\(\/\/\)$/{ s//\1/; q; }
6.22944 - /^X\(\/\).*/{ s//\1/; q; }
6.22945 - s/.*/./; q'`
6.22946 - { if $as_mkdir_p; then
6.22947 - mkdir -p "$ac_dir"
6.22948 - else
6.22949 - as_dir="$ac_dir"
6.22950 - as_dirs=
6.22951 - while test ! -d "$as_dir"; do
6.22952 - as_dirs="$as_dir $as_dirs"
6.22953 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
6.22954 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.22955 - X"$as_dir" : 'X\(//\)[^/]' \| \
6.22956 - X"$as_dir" : 'X\(//\)$' \| \
6.22957 - X"$as_dir" : 'X\(/\)' \| \
6.22958 - . : '\(.\)' 2>/dev/null ||
6.22959 -echo X"$as_dir" |
6.22960 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.22961 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.22962 - /^X\(\/\/\)$/{ s//\1/; q; }
6.22963 - /^X\(\/\).*/{ s//\1/; q; }
6.22964 - s/.*/./; q'`
6.22965 - done
6.22966 - test ! -n "$as_dirs" || mkdir $as_dirs
6.22967 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6.22968 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6.22969 - { (exit 1); exit 1; }; }; }
6.22970 -
6.22971 - ac_builddir=.
6.22972 -
6.22973 -if test "$ac_dir" != .; then
6.22974 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6.22975 - # A "../" for each directory in $ac_dir_suffix.
6.22976 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6.22977 -else
6.22978 - ac_dir_suffix= ac_top_builddir=
6.22979 -fi
6.22980 -
6.22981 -case $srcdir in
6.22982 - .) # No --srcdir option. We are building in place.
6.22983 - ac_srcdir=.
6.22984 - if test -z "$ac_top_builddir"; then
6.22985 - ac_top_srcdir=.
6.22986 - else
6.22987 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6.22988 - fi ;;
6.22989 - [\\/]* | ?:[\\/]* ) # Absolute path.
6.22990 - ac_srcdir=$srcdir$ac_dir_suffix;
6.22991 - ac_top_srcdir=$srcdir ;;
6.22992 - *) # Relative path.
6.22993 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6.22994 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
6.22995 -esac
6.22996 -
6.22997 -# Do not use `cd foo && pwd` to compute absolute paths, because
6.22998 -# the directories may not exist.
6.22999 -case `pwd` in
6.23000 -.) ac_abs_builddir="$ac_dir";;
6.23001 -*)
6.23002 - case "$ac_dir" in
6.23003 - .) ac_abs_builddir=`pwd`;;
6.23004 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6.23005 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
6.23006 - esac;;
6.23007 -esac
6.23008 -case $ac_abs_builddir in
6.23009 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
6.23010 -*)
6.23011 - case ${ac_top_builddir}. in
6.23012 - .) ac_abs_top_builddir=$ac_abs_builddir;;
6.23013 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6.23014 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6.23015 - esac;;
6.23016 -esac
6.23017 -case $ac_abs_builddir in
6.23018 -.) ac_abs_srcdir=$ac_srcdir;;
6.23019 -*)
6.23020 - case $ac_srcdir in
6.23021 - .) ac_abs_srcdir=$ac_abs_builddir;;
6.23022 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6.23023 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6.23024 - esac;;
6.23025 -esac
6.23026 -case $ac_abs_builddir in
6.23027 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
6.23028 -*)
6.23029 - case $ac_top_srcdir in
6.23030 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
6.23031 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6.23032 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6.23033 - esac;;
6.23034 -esac
6.23035 -
6.23036 -
6.23037 - case $INSTALL in
6.23038 - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6.23039 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6.23040 - esac
6.23041 -
6.23042 - # Let's still pretend it is `configure' which instantiates (i.e., don't
6.23043 - # use $as_me), people would be surprised to read:
6.23044 - # /* config.h. Generated by config.status. */
6.23045 - if test x"$ac_file" = x-; then
6.23046 - configure_input=
6.23047 - else
6.23048 - configure_input="$ac_file. "
6.23049 - fi
6.23050 - configure_input=$configure_input"Generated from `echo $ac_file_in |
6.23051 - sed 's,.*/,,'` by configure."
6.23052 -
6.23053 - # First look for the input files in the build tree, otherwise in the
6.23054 - # src tree.
6.23055 - ac_file_inputs=`IFS=:
6.23056 - for f in $ac_file_in; do
6.23057 - case $f in
6.23058 - -) echo $tmp/stdin ;;
6.23059 - [\\/$]*)
6.23060 - # Absolute (can't be DOS-style, as IFS=:)
6.23061 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6.23062 -echo "$as_me: error: cannot find input file: $f" >&2;}
6.23063 - { (exit 1); exit 1; }; }
6.23064 - echo "$f";;
6.23065 - *) # Relative
6.23066 - if test -f "$f"; then
6.23067 - # Build tree
6.23068 - echo "$f"
6.23069 - elif test -f "$srcdir/$f"; then
6.23070 - # Source tree
6.23071 - echo "$srcdir/$f"
6.23072 - else
6.23073 - # /dev/null tree
6.23074 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6.23075 -echo "$as_me: error: cannot find input file: $f" >&2;}
6.23076 - { (exit 1); exit 1; }; }
6.23077 - fi;;
6.23078 - esac
6.23079 - done` || { (exit 1); exit 1; }
6.23080 -
6.23081 - if test x"$ac_file" != x-; then
6.23082 - { echo "$as_me:$LINENO: creating $ac_file" >&5
6.23083 -echo "$as_me: creating $ac_file" >&6;}
6.23084 - rm -f "$ac_file"
6.23085 - fi
6.23086 -_ACEOF
6.23087 -cat >>$CONFIG_STATUS <<_ACEOF
6.23088 - sed "$ac_vpsub
6.23089 -$extrasub
6.23090 -_ACEOF
6.23091 -cat >>$CONFIG_STATUS <<\_ACEOF
6.23092 -:t
6.23093 -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6.23094 -s,@configure_input@,$configure_input,;t t
6.23095 -s,@srcdir@,$ac_srcdir,;t t
6.23096 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
6.23097 -s,@top_srcdir@,$ac_top_srcdir,;t t
6.23098 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6.23099 -s,@builddir@,$ac_builddir,;t t
6.23100 -s,@abs_builddir@,$ac_abs_builddir,;t t
6.23101 -s,@top_builddir@,$ac_top_builddir,;t t
6.23102 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6.23103 -s,@INSTALL@,$ac_INSTALL,;t t
6.23104 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6.23105 - rm -f $tmp/stdin
6.23106 - if test x"$ac_file" != x-; then
6.23107 - mv $tmp/out $ac_file
6.23108 - else
6.23109 - cat $tmp/out
6.23110 - rm -f $tmp/out
6.23111 - fi
6.23112 -
6.23113 -done
6.23114 -_ACEOF
6.23115 -cat >>$CONFIG_STATUS <<\_ACEOF
6.23116 -
6.23117 -#
6.23118 -# CONFIG_HEADER section.
6.23119 -#
6.23120 -
6.23121 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6.23122 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
6.23123 -#
6.23124 -# ac_d sets the value in "#define NAME VALUE" lines.
6.23125 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6.23126 -ac_dB='[ ].*$,\1#\2'
6.23127 -ac_dC=' '
6.23128 -ac_dD=',;t'
6.23129 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6.23130 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6.23131 -ac_uB='$,\1#\2define\3'
6.23132 -ac_uC=' '
6.23133 -ac_uD=',;t'
6.23134 -
6.23135 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6.23136 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6.23137 - case $ac_file in
6.23138 - - | *:- | *:-:* ) # input from stdin
6.23139 - cat >$tmp/stdin
6.23140 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6.23141 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6.23142 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6.23143 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6.23144 - * ) ac_file_in=$ac_file.in ;;
6.23145 - esac
6.23146 -
6.23147 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6.23148 -echo "$as_me: creating $ac_file" >&6;}
6.23149 -
6.23150 - # First look for the input files in the build tree, otherwise in the
6.23151 - # src tree.
6.23152 - ac_file_inputs=`IFS=:
6.23153 - for f in $ac_file_in; do
6.23154 - case $f in
6.23155 - -) echo $tmp/stdin ;;
6.23156 - [\\/$]*)
6.23157 - # Absolute (can't be DOS-style, as IFS=:)
6.23158 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6.23159 -echo "$as_me: error: cannot find input file: $f" >&2;}
6.23160 - { (exit 1); exit 1; }; }
6.23161 - # Do quote $f, to prevent DOS paths from being IFS'd.
6.23162 - echo "$f";;
6.23163 - *) # Relative
6.23164 - if test -f "$f"; then
6.23165 - # Build tree
6.23166 - echo "$f"
6.23167 - elif test -f "$srcdir/$f"; then
6.23168 - # Source tree
6.23169 - echo "$srcdir/$f"
6.23170 - else
6.23171 - # /dev/null tree
6.23172 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6.23173 -echo "$as_me: error: cannot find input file: $f" >&2;}
6.23174 - { (exit 1); exit 1; }; }
6.23175 - fi;;
6.23176 - esac
6.23177 - done` || { (exit 1); exit 1; }
6.23178 - # Remove the trailing spaces.
6.23179 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6.23180 -
6.23181 -_ACEOF
6.23182 -
6.23183 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
6.23184 -# `conftest.undefs', that substitutes the proper values into
6.23185 -# config.h.in to produce config.h. The first handles `#define'
6.23186 -# templates, and the second `#undef' templates.
6.23187 -# And first: Protect against being on the right side of a sed subst in
6.23188 -# config.status. Protect against being in an unquoted here document
6.23189 -# in config.status.
6.23190 -rm -f conftest.defines conftest.undefs
6.23191 -# Using a here document instead of a string reduces the quoting nightmare.
6.23192 -# Putting comments in sed scripts is not portable.
6.23193 -#
6.23194 -# `end' is used to avoid that the second main sed command (meant for
6.23195 -# 0-ary CPP macros) applies to n-ary macro definitions.
6.23196 -# See the Autoconf documentation for `clear'.
6.23197 -cat >confdef2sed.sed <<\_ACEOF
6.23198 -s/[\\&,]/\\&/g
6.23199 -s,[\\$`],\\&,g
6.23200 -t clear
6.23201 -: clear
6.23202 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6.23203 -t end
6.23204 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6.23205 -: end
6.23206 -_ACEOF
6.23207 -# If some macros were called several times there might be several times
6.23208 -# the same #defines, which is useless. Nevertheless, we may not want to
6.23209 -# sort them, since we want the *last* AC-DEFINE to be honored.
6.23210 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6.23211 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6.23212 -rm -f confdef2sed.sed
6.23213 -
6.23214 -# This sed command replaces #undef with comments. This is necessary, for
6.23215 -# example, in the case of _POSIX_SOURCE, which is predefined and required
6.23216 -# on some systems where configure will not decide to define it.
6.23217 -cat >>conftest.undefs <<\_ACEOF
6.23218 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6.23219 -_ACEOF
6.23220 -
6.23221 -# Break up conftest.defines because some shells have a limit on the size
6.23222 -# of here documents, and old seds have small limits too (100 cmds).
6.23223 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6.23224 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6.23225 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6.23226 -echo ' :' >>$CONFIG_STATUS
6.23227 -rm -f conftest.tail
6.23228 -while grep . conftest.defines >/dev/null
6.23229 -do
6.23230 - # Write a limited-size here document to $tmp/defines.sed.
6.23231 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6.23232 - # Speed up: don't consider the non `#define' lines.
6.23233 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6.23234 - # Work around the forget-to-reset-the-flag bug.
6.23235 - echo 't clr' >>$CONFIG_STATUS
6.23236 - echo ': clr' >>$CONFIG_STATUS
6.23237 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6.23238 - echo 'CEOF
6.23239 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
6.23240 - rm -f $tmp/in
6.23241 - mv $tmp/out $tmp/in
6.23242 -' >>$CONFIG_STATUS
6.23243 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6.23244 - rm -f conftest.defines
6.23245 - mv conftest.tail conftest.defines
6.23246 -done
6.23247 -rm -f conftest.defines
6.23248 -echo ' fi # grep' >>$CONFIG_STATUS
6.23249 -echo >>$CONFIG_STATUS
6.23250 -
6.23251 -# Break up conftest.undefs because some shells have a limit on the size
6.23252 -# of here documents, and old seds have small limits too (100 cmds).
6.23253 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6.23254 -rm -f conftest.tail
6.23255 -while grep . conftest.undefs >/dev/null
6.23256 -do
6.23257 - # Write a limited-size here document to $tmp/undefs.sed.
6.23258 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6.23259 - # Speed up: don't consider the non `#undef'
6.23260 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6.23261 - # Work around the forget-to-reset-the-flag bug.
6.23262 - echo 't clr' >>$CONFIG_STATUS
6.23263 - echo ': clr' >>$CONFIG_STATUS
6.23264 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6.23265 - echo 'CEOF
6.23266 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6.23267 - rm -f $tmp/in
6.23268 - mv $tmp/out $tmp/in
6.23269 -' >>$CONFIG_STATUS
6.23270 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6.23271 - rm -f conftest.undefs
6.23272 - mv conftest.tail conftest.undefs
6.23273 -done
6.23274 -rm -f conftest.undefs
6.23275 -
6.23276 -cat >>$CONFIG_STATUS <<\_ACEOF
6.23277 - # Let's still pretend it is `configure' which instantiates (i.e., don't
6.23278 - # use $as_me), people would be surprised to read:
6.23279 - # /* config.h. Generated by config.status. */
6.23280 - if test x"$ac_file" = x-; then
6.23281 - echo "/* Generated by configure. */" >$tmp/config.h
6.23282 - else
6.23283 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6.23284 - fi
6.23285 - cat $tmp/in >>$tmp/config.h
6.23286 - rm -f $tmp/in
6.23287 - if test x"$ac_file" != x-; then
6.23288 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6.23289 - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6.23290 -echo "$as_me: $ac_file is unchanged" >&6;}
6.23291 - else
6.23292 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6.23293 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.23294 - X"$ac_file" : 'X\(//\)[^/]' \| \
6.23295 - X"$ac_file" : 'X\(//\)$' \| \
6.23296 - X"$ac_file" : 'X\(/\)' \| \
6.23297 - . : '\(.\)' 2>/dev/null ||
6.23298 -echo X"$ac_file" |
6.23299 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.23300 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.23301 - /^X\(\/\/\)$/{ s//\1/; q; }
6.23302 - /^X\(\/\).*/{ s//\1/; q; }
6.23303 - s/.*/./; q'`
6.23304 - { if $as_mkdir_p; then
6.23305 - mkdir -p "$ac_dir"
6.23306 - else
6.23307 - as_dir="$ac_dir"
6.23308 - as_dirs=
6.23309 - while test ! -d "$as_dir"; do
6.23310 - as_dirs="$as_dir $as_dirs"
6.23311 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
6.23312 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.23313 - X"$as_dir" : 'X\(//\)[^/]' \| \
6.23314 - X"$as_dir" : 'X\(//\)$' \| \
6.23315 - X"$as_dir" : 'X\(/\)' \| \
6.23316 - . : '\(.\)' 2>/dev/null ||
6.23317 -echo X"$as_dir" |
6.23318 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.23319 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.23320 - /^X\(\/\/\)$/{ s//\1/; q; }
6.23321 - /^X\(\/\).*/{ s//\1/; q; }
6.23322 - s/.*/./; q'`
6.23323 - done
6.23324 - test ! -n "$as_dirs" || mkdir $as_dirs
6.23325 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6.23326 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6.23327 - { (exit 1); exit 1; }; }; }
6.23328 -
6.23329 - rm -f $ac_file
6.23330 - mv $tmp/config.h $ac_file
6.23331 - fi
6.23332 - else
6.23333 - cat $tmp/config.h
6.23334 - rm -f $tmp/config.h
6.23335 - fi
6.23336 -# Compute $ac_file's index in $config_headers.
6.23337 -_am_stamp_count=1
6.23338 -for _am_header in $config_headers :; do
6.23339 - case $_am_header in
6.23340 - $ac_file | $ac_file:* )
6.23341 - break ;;
6.23342 - * )
6.23343 - _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6.23344 - esac
6.23345 -done
6.23346 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6.23347 -$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.23348 - X$ac_file : 'X\(//\)[^/]' \| \
6.23349 - X$ac_file : 'X\(//\)$' \| \
6.23350 - X$ac_file : 'X\(/\)' \| \
6.23351 - . : '\(.\)' 2>/dev/null ||
6.23352 -echo X$ac_file |
6.23353 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.23354 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.23355 - /^X\(\/\/\)$/{ s//\1/; q; }
6.23356 - /^X\(\/\).*/{ s//\1/; q; }
6.23357 - s/.*/./; q'`/stamp-h$_am_stamp_count
6.23358 -done
6.23359 -_ACEOF
6.23360 -cat >>$CONFIG_STATUS <<\_ACEOF
6.23361 -
6.23362 -#
6.23363 -# CONFIG_COMMANDS section.
6.23364 -#
6.23365 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6.23366 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6.23367 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6.23368 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6.23369 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.23370 - X"$ac_dest" : 'X\(//\)[^/]' \| \
6.23371 - X"$ac_dest" : 'X\(//\)$' \| \
6.23372 - X"$ac_dest" : 'X\(/\)' \| \
6.23373 - . : '\(.\)' 2>/dev/null ||
6.23374 -echo X"$ac_dest" |
6.23375 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.23376 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.23377 - /^X\(\/\/\)$/{ s//\1/; q; }
6.23378 - /^X\(\/\).*/{ s//\1/; q; }
6.23379 - s/.*/./; q'`
6.23380 - { if $as_mkdir_p; then
6.23381 - mkdir -p "$ac_dir"
6.23382 - else
6.23383 - as_dir="$ac_dir"
6.23384 - as_dirs=
6.23385 - while test ! -d "$as_dir"; do
6.23386 - as_dirs="$as_dir $as_dirs"
6.23387 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
6.23388 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.23389 - X"$as_dir" : 'X\(//\)[^/]' \| \
6.23390 - X"$as_dir" : 'X\(//\)$' \| \
6.23391 - X"$as_dir" : 'X\(/\)' \| \
6.23392 - . : '\(.\)' 2>/dev/null ||
6.23393 -echo X"$as_dir" |
6.23394 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.23395 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.23396 - /^X\(\/\/\)$/{ s//\1/; q; }
6.23397 - /^X\(\/\).*/{ s//\1/; q; }
6.23398 - s/.*/./; q'`
6.23399 - done
6.23400 - test ! -n "$as_dirs" || mkdir $as_dirs
6.23401 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6.23402 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6.23403 - { (exit 1); exit 1; }; }; }
6.23404 -
6.23405 - ac_builddir=.
6.23406 -
6.23407 -if test "$ac_dir" != .; then
6.23408 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6.23409 - # A "../" for each directory in $ac_dir_suffix.
6.23410 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6.23411 -else
6.23412 - ac_dir_suffix= ac_top_builddir=
6.23413 -fi
6.23414 -
6.23415 -case $srcdir in
6.23416 - .) # No --srcdir option. We are building in place.
6.23417 - ac_srcdir=.
6.23418 - if test -z "$ac_top_builddir"; then
6.23419 - ac_top_srcdir=.
6.23420 - else
6.23421 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6.23422 - fi ;;
6.23423 - [\\/]* | ?:[\\/]* ) # Absolute path.
6.23424 - ac_srcdir=$srcdir$ac_dir_suffix;
6.23425 - ac_top_srcdir=$srcdir ;;
6.23426 - *) # Relative path.
6.23427 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6.23428 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
6.23429 -esac
6.23430 -
6.23431 -# Do not use `cd foo && pwd` to compute absolute paths, because
6.23432 -# the directories may not exist.
6.23433 -case `pwd` in
6.23434 -.) ac_abs_builddir="$ac_dir";;
6.23435 -*)
6.23436 - case "$ac_dir" in
6.23437 - .) ac_abs_builddir=`pwd`;;
6.23438 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6.23439 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
6.23440 - esac;;
6.23441 -esac
6.23442 -case $ac_abs_builddir in
6.23443 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
6.23444 -*)
6.23445 - case ${ac_top_builddir}. in
6.23446 - .) ac_abs_top_builddir=$ac_abs_builddir;;
6.23447 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6.23448 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6.23449 - esac;;
6.23450 -esac
6.23451 -case $ac_abs_builddir in
6.23452 -.) ac_abs_srcdir=$ac_srcdir;;
6.23453 -*)
6.23454 - case $ac_srcdir in
6.23455 - .) ac_abs_srcdir=$ac_abs_builddir;;
6.23456 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6.23457 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6.23458 - esac;;
6.23459 -esac
6.23460 -case $ac_abs_builddir in
6.23461 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
6.23462 -*)
6.23463 - case $ac_top_srcdir in
6.23464 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
6.23465 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6.23466 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6.23467 - esac;;
6.23468 -esac
6.23469 -
6.23470 -
6.23471 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6.23472 -echo "$as_me: executing $ac_dest commands" >&6;}
6.23473 - case $ac_dest in
6.23474 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6.23475 - # Strip MF so we end up with the name of the file.
6.23476 - mf=`echo "$mf" | sed -e 's/:.*$//'`
6.23477 - # Check whether this is an Automake generated Makefile or not.
6.23478 - # We used to match only the files named `Makefile.in', but
6.23479 - # some people rename them; so instead we look at the file content.
6.23480 - # Grep'ing the first line is not enough: some people post-process
6.23481 - # each Makefile.in and add a new line on top of each file to say so.
6.23482 - # So let's grep whole file.
6.23483 - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6.23484 - dirpart=`(dirname "$mf") 2>/dev/null ||
6.23485 -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.23486 - X"$mf" : 'X\(//\)[^/]' \| \
6.23487 - X"$mf" : 'X\(//\)$' \| \
6.23488 - X"$mf" : 'X\(/\)' \| \
6.23489 - . : '\(.\)' 2>/dev/null ||
6.23490 -echo X"$mf" |
6.23491 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.23492 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.23493 - /^X\(\/\/\)$/{ s//\1/; q; }
6.23494 - /^X\(\/\).*/{ s//\1/; q; }
6.23495 - s/.*/./; q'`
6.23496 - else
6.23497 - continue
6.23498 - fi
6.23499 - grep '^DEP_FILES *= *[^ @%:@]' < "$mf" > /dev/null || continue
6.23500 - # Extract the definition of DEP_FILES from the Makefile without
6.23501 - # running `make'.
6.23502 - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6.23503 - test -z "$DEPDIR" && continue
6.23504 - # When using ansi2knr, U may be empty or an underscore; expand it
6.23505 - U=`sed -n 's/^U = //p' < "$mf"`
6.23506 - test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6.23507 - # We invoke sed twice because it is the simplest approach to
6.23508 - # changing $(DEPDIR) to its actual value in the expansion.
6.23509 - for file in `sed -n '
6.23510 - /^DEP_FILES = .*\\\\$/ {
6.23511 - s/^DEP_FILES = //
6.23512 - :loop
6.23513 - s/\\\\$//
6.23514 - p
6.23515 - n
6.23516 - /\\\\$/ b loop
6.23517 - p
6.23518 - }
6.23519 - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6.23520 - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6.23521 - # Make sure the directory exists.
6.23522 - test -f "$dirpart/$file" && continue
6.23523 - fdir=`(dirname "$file") 2>/dev/null ||
6.23524 -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.23525 - X"$file" : 'X\(//\)[^/]' \| \
6.23526 - X"$file" : 'X\(//\)$' \| \
6.23527 - X"$file" : 'X\(/\)' \| \
6.23528 - . : '\(.\)' 2>/dev/null ||
6.23529 -echo X"$file" |
6.23530 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.23531 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.23532 - /^X\(\/\/\)$/{ s//\1/; q; }
6.23533 - /^X\(\/\).*/{ s//\1/; q; }
6.23534 - s/.*/./; q'`
6.23535 - { if $as_mkdir_p; then
6.23536 - mkdir -p $dirpart/$fdir
6.23537 - else
6.23538 - as_dir=$dirpart/$fdir
6.23539 - as_dirs=
6.23540 - while test ! -d "$as_dir"; do
6.23541 - as_dirs="$as_dir $as_dirs"
6.23542 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
6.23543 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.23544 - X"$as_dir" : 'X\(//\)[^/]' \| \
6.23545 - X"$as_dir" : 'X\(//\)$' \| \
6.23546 - X"$as_dir" : 'X\(/\)' \| \
6.23547 - . : '\(.\)' 2>/dev/null ||
6.23548 -echo X"$as_dir" |
6.23549 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.23550 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.23551 - /^X\(\/\/\)$/{ s//\1/; q; }
6.23552 - /^X\(\/\).*/{ s//\1/; q; }
6.23553 - s/.*/./; q'`
6.23554 - done
6.23555 - test ! -n "$as_dirs" || mkdir $as_dirs
6.23556 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6.23557 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6.23558 - { (exit 1); exit 1; }; }; }
6.23559 -
6.23560 - # echo "creating $dirpart/$file"
6.23561 - echo '# dummy' > "$dirpart/$file"
6.23562 - done
6.23563 -done
6.23564 - ;;
6.23565 - esac
6.23566 -done
6.23567 -_ACEOF
6.23568 -
6.23569 -cat >>$CONFIG_STATUS <<\_ACEOF
6.23570 -
6.23571 -{ (exit 0); exit 0; }
6.23572 -_ACEOF
6.23573 -chmod +x $CONFIG_STATUS
6.23574 -ac_clean_files=$ac_clean_files_save
6.23575 -
6.23576 -
6.23577 -# configure is writing to config.log, and then calls config.status.
6.23578 -# config.status does its own redirection, appending to config.log.
6.23579 -# Unfortunately, on DOS this fails, as config.log is still kept open
6.23580 -# by configure, so config.status won't be able to write to it; its
6.23581 -# output is simply discarded. So we exec the FD to /dev/null,
6.23582 -# effectively closing config.log, so it can be properly (re)opened and
6.23583 -# appended to by config.status. When coming back to configure, we
6.23584 -# need to make the FD available again.
6.23585 -if test "$no_create" != yes; then
6.23586 - ac_cs_success=:
6.23587 - ac_config_status_args=
6.23588 - test "$silent" = yes &&
6.23589 - ac_config_status_args="$ac_config_status_args --quiet"
6.23590 - exec 5>/dev/null
6.23591 - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6.23592 - exec 5>>config.log
6.23593 - # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6.23594 - # would make configure fail if this is the last instruction.
6.23595 - $ac_cs_success || { (exit 1); exit 1; }
6.23596 -fi
6.23597 -
6.23598 -
7.1 --- a/gst-plugins-nuvdemux/autom4te.cache/requests Thu Oct 26 18:55:14 2006 +0100
7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
7.3 @@ -1,353 +0,0 @@
7.4 -# This file was generated by Autom4te Sat Jan 3 15:24:14 PST 2004.
7.5 -# It contains the lists of macros which have been traced.
7.6 -# It can be safely removed.
7.7 -
7.8 -@request = (
7.9 - bless( [
7.10 - '0',
7.11 - 1,
7.12 - [
7.13 - '/scratchbox/tools/autotools/autoconf2.59/share/autoconf'
7.14 - ],
7.15 - [
7.16 - '/scratchbox/tools/autotools/autoconf2.59/share/autoconf/autoconf/autoconf.m4f',
7.17 - '/targets/links/libtool/share/aclocal/libtool.m4',
7.18 - '/scratchbox/tools/share/aclocal/isc-posix.m4',
7.19 - '/scratchbox/tools/share/aclocal/pkg.m4',
7.20 - '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/amversion.m4',
7.21 - '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/as.m4',
7.22 - '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/auxdir.m4',
7.23 - '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/cond.m4',
7.24 - '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/depend.m4',
7.25 - '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/depout.m4',
7.26 - '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/header.m4',
7.27 - '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/init.m4',
7.28 - '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/install-sh.m4',
7.29 - '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/lead-dot.m4',
7.30 - '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/maintainer.m4',
7.31 - '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/make.m4',
7.32 - '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/missing.m4',
7.33 - '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/mkdirp.m4',
7.34 - '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/options.m4',
7.35 - '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/sanity.m4',
7.36 - '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/strip.m4',
7.37 - 'm4/as-compiler-flag.m4',
7.38 - 'm4/as-version.m4',
7.39 - 'configure.ac'
7.40 - ],
7.41 - {
7.42 - 'AM_ENABLE_STATIC' => 1,
7.43 - 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
7.44 - 'AC_C_VOLATILE' => 1,
7.45 - 'AC_TYPE_OFF_T' => 1,
7.46 - '_LT_AC_SHELL_INIT' => 1,
7.47 - 'AC_FUNC_CLOSEDIR_VOID' => 1,
7.48 - 'AC_REPLACE_FNMATCH' => 1,
7.49 - '_LT_AC_LANG_CXX_CONFIG' => 1,
7.50 - 'AC_PROG_LIBTOOL' => 1,
7.51 - 'AM_PROG_MKDIR_P' => 1,
7.52 - 'AC_FUNC_STAT' => 1,
7.53 - 'AC_FUNC_WAIT3' => 1,
7.54 - 'AM_AUTOMAKE_VERSION' => 1,
7.55 - 'AC_FUNC_LSTAT' => 1,
7.56 - 'AC_STRUCT_TM' => 1,
7.57 - 'AC_FUNC_STRTOD' => 1,
7.58 - 'AC_CHECK_HEADERS' => 1,
7.59 - 'AM_MISSING_PROG' => 1,
7.60 - 'AC_FUNC_STRNLEN' => 1,
7.61 - 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
7.62 - 'AC_PROG_CXX' => 1,
7.63 - '_LT_AC_LANG_C_CONFIG' => 1,
7.64 - 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
7.65 - 'AM_PROG_INSTALL_STRIP' => 1,
7.66 - 'AC_PROG_AWK' => 1,
7.67 - '_m4_warn' => 1,
7.68 - 'AC_LIBTOOL_OBJDIR' => 1,
7.69 - 'AC_HEADER_MAJOR' => 1,
7.70 - 'AM_SANITY_CHECK' => 1,
7.71 - 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
7.72 - 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
7.73 - '_LT_AC_CHECK_DLFCN' => 1,
7.74 - 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
7.75 - 'AC_LIBTOOL_GCJ' => 1,
7.76 - 'AC_PROG_GCC_TRADITIONAL' => 1,
7.77 - 'AC_LIBSOURCE' => 1,
7.78 - 'AC_STRUCT_ST_BLOCKS' => 1,
7.79 - '_LT_AC_LANG_F77' => 1,
7.80 - 'AC_LIBTOOL_CONFIG' => 1,
7.81 - 'AC_PROG_MAKE_SET' => 1,
7.82 - 'AC_CONFIG_AUX_DIR' => 1,
7.83 - 'sinclude' => 1,
7.84 - 'AM_DISABLE_SHARED' => 1,
7.85 - '_LT_AC_LANG_CXX' => 1,
7.86 - 'AM_PROG_LIBTOOL' => 1,
7.87 - '_LT_AC_FILE_LTDLL_C' => 1,
7.88 - 'AM_PROG_LD' => 1,
7.89 - 'AC_FUNC_STRERROR_R' => 1,
7.90 - 'AC_DECL_SYS_SIGLIST' => 1,
7.91 - 'AC_FUNC_FORK' => 1,
7.92 - 'AC_FUNC_VPRINTF' => 1,
7.93 - 'AC_PROG_NM' => 1,
7.94 - 'AC_LIBTOOL_DLOPEN' => 1,
7.95 - 'AC_PROG_LD' => 1,
7.96 - 'AC_ENABLE_FAST_INSTALL' => 1,
7.97 - 'AC_PROG_LD_GNU' => 1,
7.98 - 'AC_INIT' => 1,
7.99 - 'AC_STRUCT_TIMEZONE' => 1,
7.100 - 'AC_SUBST' => 1,
7.101 - 'AC_FUNC_ALLOCA' => 1,
7.102 - '_AM_SET_OPTION' => 1,
7.103 - 'AC_CANONICAL_HOST' => 1,
7.104 - '_LT_LINKER_BOILERPLATE' => 1,
7.105 - 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
7.106 - 'AC_LIBTOOL_PROG_CC_C_O' => 1,
7.107 - 'AC_PROG_RANLIB' => 1,
7.108 - 'AC_FUNC_SETPGRP' => 1,
7.109 - 'AC_CONFIG_SUBDIRS' => 1,
7.110 - 'AC_FUNC_MMAP' => 1,
7.111 - 'AC_TYPE_SIZE_T' => 1,
7.112 - 'AC_CHECK_TYPES' => 1,
7.113 - 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
7.114 - 'AC_CHECK_MEMBERS' => 1,
7.115 - 'AC_FUNC_UTIME_NULL' => 1,
7.116 - 'AC_FUNC_SELECT_ARGTYPES' => 1,
7.117 - '_LT_AC_LANG_GCJ' => 1,
7.118 - 'AC_FUNC_STRFTIME' => 1,
7.119 - 'AC_HEADER_STAT' => 1,
7.120 - 'AC_C_INLINE' => 1,
7.121 - 'AC_LIBTOOL_RC' => 1,
7.122 - 'AC_DISABLE_FAST_INSTALL' => 1,
7.123 - '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
7.124 - 'AC_CONFIG_FILES' => 1,
7.125 - '_LT_AC_TRY_DLOPEN_SELF' => 1,
7.126 - '_LT_AC_SYS_LIBPATH_AIX' => 1,
7.127 - 'include' => 1,
7.128 - 'LT_AC_PROG_SED' => 1,
7.129 - 'AM_ENABLE_SHARED' => 1,
7.130 - 'AM_GNU_GETTEXT' => 1,
7.131 - '_LT_AC_LANG_GCJ_CONFIG' => 1,
7.132 - 'AC_ENABLE_SHARED' => 1,
7.133 - 'AC_CHECK_LIB' => 1,
7.134 - 'AC_FUNC_OBSTACK' => 1,
7.135 - 'AC_FUNC_MALLOC' => 1,
7.136 - 'AC_FUNC_GETGROUPS' => 1,
7.137 - 'AC_FUNC_GETLOADAVG' => 1,
7.138 - 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
7.139 - 'AC_ENABLE_STATIC' => 1,
7.140 - 'AC_FUNC_FSEEKO' => 1,
7.141 - '_LT_AC_TAGVAR' => 1,
7.142 - 'AM_PROG_CC_C_O' => 1,
7.143 - 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
7.144 - 'AM_CONDITIONAL' => 1,
7.145 - 'AC_FUNC_MKTIME' => 1,
7.146 - 'AC_HEADER_SYS_WAIT' => 1,
7.147 - 'AC_FUNC_MEMCMP' => 1,
7.148 - 'AC_PROG_LN_S' => 1,
7.149 - 'AM_PROG_INSTALL_SH' => 1,
7.150 - 'm4_include' => 1,
7.151 - 'AC_PROG_EGREP' => 1,
7.152 - 'AC_HEADER_DIRENT' => 1,
7.153 - 'AC_PATH_MAGIC' => 1,
7.154 - '_AC_AM_CONFIG_HEADER_HOOK' => 1,
7.155 - 'AM_MAKE_INCLUDE' => 1,
7.156 - '_LT_AC_TAGCONFIG' => 1,
7.157 - 'm4_pattern_forbid' => 1,
7.158 - 'AC_CONFIG_LIBOBJ_DIR' => 1,
7.159 - 'AC_LIBTOOL_COMPILER_OPTION' => 1,
7.160 - 'AC_DISABLE_SHARED' => 1,
7.161 - '_LT_COMPILER_BOILERPLATE' => 1,
7.162 - 'AC_LIBTOOL_SETUP' => 1,
7.163 - 'AC_LIBTOOL_WIN32_DLL' => 1,
7.164 - 'AC_PROG_LD_RELOAD_FLAG' => 1,
7.165 - 'AC_HEADER_TIME' => 1,
7.166 - 'AS_COMPILER_FLAG' => 1,
7.167 - 'AC_TYPE_MODE_T' => 1,
7.168 - 'AC_FUNC_GETMNTENT' => 1,
7.169 - 'AM_MISSING_HAS_RUN' => 1,
7.170 - 'AC_LIBTOOL_DLOPEN_SELF' => 1,
7.171 - 'm4_sinclude' => 1,
7.172 - 'AC_PATH_X' => 1,
7.173 - 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
7.174 - 'AC_HEADER_STDC' => 1,
7.175 - 'AC_LIBTOOL_LINKER_OPTION' => 1,
7.176 - 'LT_AC_PROG_RC' => 1,
7.177 - 'AC_LIBTOOL_CXX' => 1,
7.178 - 'LT_AC_PROG_GCJ' => 1,
7.179 - 'AC_FUNC_ERROR_AT_LINE' => 1,
7.180 - 'AM_DEP_TRACK' => 1,
7.181 - '_LT_AC_PROG_CXXCPP' => 1,
7.182 - 'AM_DISABLE_STATIC' => 1,
7.183 - 'AM_CONFIG_HEADER' => 1,
7.184 - '_AC_PROG_LIBTOOL' => 1,
7.185 - 'AC_FUNC_MBRTOWC' => 1,
7.186 - 'AC_TYPE_SIGNAL' => 1,
7.187 - '_AM_IF_OPTION' => 1,
7.188 - 'AC_TYPE_UID_T' => 1,
7.189 - 'AC_PATH_TOOL_PREFIX' => 1,
7.190 - 'm4_pattern_allow' => 1,
7.191 - 'AC_LIBTOOL_F77' => 1,
7.192 - 'AM_SET_LEADING_DOT' => 1,
7.193 - 'AC_DEFINE_TRACE_LITERAL' => 1,
7.194 - '_AM_DEPENDENCIES' => 1,
7.195 - 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
7.196 - '_LT_AC_SYS_COMPILER' => 1,
7.197 - 'AC_PROG_CC' => 1,
7.198 - 'AM_PROG_NM' => 1,
7.199 - 'PKG_CHECK_MODULES' => 1,
7.200 - 'AC_FUNC_STRCOLL' => 1,
7.201 - 'AC_PROG_YACC' => 1,
7.202 - 'AC_LIBLTDL_CONVENIENCE' => 1,
7.203 - 'AC_DEPLIBS_CHECK_METHOD' => 1,
7.204 - 'AC_FUNC_CHOWN' => 1,
7.205 - 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
7.206 - 'jm_MAINTAINER_MODE' => 1,
7.207 - 'AC_LIBLTDL_INSTALLABLE' => 1,
7.208 - 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
7.209 - 'AC_FUNC_GETPGRP' => 1,
7.210 - 'AM_INIT_AUTOMAKE' => 1,
7.211 - 'AC_FUNC_REALLOC' => 1,
7.212 - 'AC_DISABLE_STATIC' => 1,
7.213 - 'AC_CONFIG_LINKS' => 1,
7.214 - 'AS_VERSION' => 1,
7.215 - 'AM_MAINTAINER_MODE' => 1,
7.216 - '_LT_AC_LOCK' => 1,
7.217 - '_LT_AC_LANG_RC_CONFIG' => 1,
7.218 - 'AC_PROG_CPP' => 1,
7.219 - 'AC_C_CONST' => 1,
7.220 - 'AC_PROG_LEX' => 1,
7.221 - 'AC_TYPE_PID_T' => 1,
7.222 - 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
7.223 - 'AC_FUNC_SETVBUF_REVERSED' => 1,
7.224 - 'AM_PROG_AS' => 1,
7.225 - 'AM_AUX_DIR_EXPAND' => 1,
7.226 - 'AC_PROG_INSTALL' => 1,
7.227 - '_LT_AC_LANG_F77_CONFIG' => 1,
7.228 - 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
7.229 - '_AM_SET_OPTIONS' => 1,
7.230 - '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
7.231 - 'AC_LIBTOOL_PICMODE' => 1,
7.232 - 'AH_OUTPUT' => 1,
7.233 - 'AC_ISC_POSIX' => 1,
7.234 - 'AC_CHECK_LIBM' => 1,
7.235 - 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
7.236 - '_AM_MANGLE_OPTION' => 1,
7.237 - 'AC_CANONICAL_SYSTEM' => 1,
7.238 - 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
7.239 - 'AC_CONFIG_HEADERS' => 1,
7.240 - 'AM_SET_DEPDIR' => 1,
7.241 - '_LT_CC_BASENAME' => 1,
7.242 - 'AC_CHECK_FUNCS' => 1
7.243 - }
7.244 - ], 'Autom4te::Request' ),
7.245 - bless( [
7.246 - '1',
7.247 - 1,
7.248 - [
7.249 - '/scratchbox/tools/autotools/autoconf2.59/share/autoconf'
7.250 - ],
7.251 - [
7.252 - '/scratchbox/tools/autotools/autoconf2.59/share/autoconf/autoconf/autoconf.m4f',
7.253 - 'aclocal.m4',
7.254 - 'configure.ac'
7.255 - ],
7.256 - {
7.257 - 'm4_pattern_forbid' => 1,
7.258 - 'AC_CONFIG_LIBOBJ_DIR' => 1,
7.259 - 'AC_TYPE_OFF_T' => 1,
7.260 - 'AC_C_VOLATILE' => 1,
7.261 - 'AC_FUNC_CLOSEDIR_VOID' => 1,
7.262 - 'AC_REPLACE_FNMATCH' => 1,
7.263 - 'AC_PROG_LIBTOOL' => 1,
7.264 - 'AC_FUNC_STAT' => 1,
7.265 - 'AC_HEADER_TIME' => 1,
7.266 - 'AC_FUNC_WAIT3' => 1,
7.267 - 'AM_AUTOMAKE_VERSION' => 1,
7.268 - 'AC_STRUCT_TM' => 1,
7.269 - 'AC_FUNC_LSTAT' => 1,
7.270 - 'AC_TYPE_MODE_T' => 1,
7.271 - 'AC_FUNC_GETMNTENT' => 1,
7.272 - 'AC_FUNC_STRTOD' => 1,
7.273 - 'AC_CHECK_HEADERS' => 1,
7.274 - 'AC_FUNC_STRNLEN' => 1,
7.275 - 'm4_sinclude' => 1,
7.276 - 'AC_PROG_CXX' => 1,
7.277 - 'AC_PATH_X' => 1,
7.278 - 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
7.279 - 'AC_PROG_AWK' => 1,
7.280 - '_m4_warn' => 1,
7.281 - 'AC_HEADER_STDC' => 1,
7.282 - 'AC_HEADER_MAJOR' => 1,
7.283 - 'AC_FUNC_ERROR_AT_LINE' => 1,
7.284 - 'AC_PROG_GCC_TRADITIONAL' => 1,
7.285 - 'AC_LIBSOURCE' => 1,
7.286 - 'AC_FUNC_MBRTOWC' => 1,
7.287 - 'AC_STRUCT_ST_BLOCKS' => 1,
7.288 - 'AC_TYPE_SIGNAL' => 1,
7.289 - 'AC_TYPE_UID_T' => 1,
7.290 - 'AC_PROG_MAKE_SET' => 1,
7.291 - 'AC_CONFIG_AUX_DIR' => 1,
7.292 - 'sinclude' => 1,
7.293 - 'm4_pattern_allow' => 1,
7.294 - 'AC_DEFINE_TRACE_LITERAL' => 1,
7.295 - 'AC_FUNC_STRERROR_R' => 1,
7.296 - 'AC_PROG_CC' => 1,
7.297 - 'AC_DECL_SYS_SIGLIST' => 1,
7.298 - 'AC_FUNC_FORK' => 1,
7.299 - 'AC_FUNC_VPRINTF' => 1,
7.300 - 'AC_FUNC_STRCOLL' => 1,
7.301 - 'AC_PROG_YACC' => 1,
7.302 - 'AC_STRUCT_TIMEZONE' => 1,
7.303 - 'AC_INIT' => 1,
7.304 - 'AC_FUNC_CHOWN' => 1,
7.305 - 'AC_SUBST' => 1,
7.306 - 'AC_FUNC_ALLOCA' => 1,
7.307 - 'AC_CANONICAL_HOST' => 1,
7.308 - 'AC_FUNC_GETPGRP' => 1,
7.309 - 'AC_PROG_RANLIB' => 1,
7.310 - 'AM_INIT_AUTOMAKE' => 1,
7.311 - 'AC_FUNC_SETPGRP' => 1,
7.312 - 'AC_CONFIG_SUBDIRS' => 1,
7.313 - 'AC_FUNC_MMAP' => 1,
7.314 - 'AC_FUNC_REALLOC' => 1,
7.315 - 'AC_TYPE_SIZE_T' => 1,
7.316 - 'AC_CONFIG_LINKS' => 1,
7.317 - 'AC_CHECK_TYPES' => 1,
7.318 - 'AC_CHECK_MEMBERS' => 1,
7.319 - 'AM_MAINTAINER_MODE' => 1,
7.320 - 'AC_FUNC_UTIME_NULL' => 1,
7.321 - 'AC_FUNC_SELECT_ARGTYPES' => 1,
7.322 - 'AC_FUNC_STRFTIME' => 1,
7.323 - 'AC_HEADER_STAT' => 1,
7.324 - 'AC_C_INLINE' => 1,
7.325 - 'AC_PROG_CPP' => 1,
7.326 - 'AM_ENABLE_MULTILIB' => 1,
7.327 - 'AC_TYPE_PID_T' => 1,
7.328 - 'AC_C_CONST' => 1,
7.329 - 'AC_PROG_LEX' => 1,
7.330 - 'AC_CONFIG_FILES' => 1,
7.331 - 'include' => 1,
7.332 - 'AC_FUNC_SETVBUF_REVERSED' => 1,
7.333 - 'AC_PROG_INSTALL' => 1,
7.334 - 'AM_GNU_GETTEXT' => 1,
7.335 - 'AC_CHECK_LIB' => 1,
7.336 - 'AC_FUNC_OBSTACK' => 1,
7.337 - 'AC_FUNC_MALLOC' => 1,
7.338 - 'AC_FUNC_GETGROUPS' => 1,
7.339 - 'AC_FUNC_GETLOADAVG' => 1,
7.340 - 'AH_OUTPUT' => 1,
7.341 - 'AC_FUNC_FSEEKO' => 1,
7.342 - 'AM_PROG_CC_C_O' => 1,
7.343 - 'AM_CONDITIONAL' => 1,
7.344 - 'AC_CANONICAL_SYSTEM' => 1,
7.345 - 'AC_FUNC_MKTIME' => 1,
7.346 - 'AC_CONFIG_HEADERS' => 1,
7.347 - 'AC_HEADER_SYS_WAIT' => 1,
7.348 - 'AC_PROG_LN_S' => 1,
7.349 - 'AC_FUNC_MEMCMP' => 1,
7.350 - 'm4_include' => 1,
7.351 - 'AC_HEADER_DIRENT' => 1,
7.352 - 'AC_CHECK_FUNCS' => 1
7.353 - }
7.354 - ], 'Autom4te::Request' )
7.355 - );
7.356 -
8.1 --- a/gst-plugins-nuvdemux/autom4te.cache/traces.0 Thu Oct 26 18:55:14 2006 +0100
8.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
8.3 @@ -1,2834 +0,0 @@
8.4 -m4trace:configure.ac:3: -1- AC_INIT
8.5 -m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?A[CHUM]_])
8.6 -m4trace:configure.ac:3: -1- m4_pattern_forbid([_AC_])
8.7 -m4trace:configure.ac:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
8.8 -m4trace:configure.ac:3: -1- m4_pattern_allow([^AS_FLAGS$])
8.9 -m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?m4_])
8.10 -m4trace:configure.ac:3: -1- m4_pattern_forbid([^dnl$])
8.11 -m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?AS_])
8.12 -m4trace:configure.ac:3: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
8.13 -m4trace:configure.ac:3: -1- AC_SUBST([PATH_SEPARATOR])
8.14 -m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
8.15 -m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
8.16 -m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
8.17 -m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
8.18 -m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
8.19 -m4trace:configure.ac:3: -1- AC_SUBST([exec_prefix], [NONE])
8.20 -m4trace:configure.ac:3: -1- AC_SUBST([prefix], [NONE])
8.21 -m4trace:configure.ac:3: -1- AC_SUBST([program_transform_name], [s,x,x,])
8.22 -m4trace:configure.ac:3: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
8.23 -m4trace:configure.ac:3: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
8.24 -m4trace:configure.ac:3: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
8.25 -m4trace:configure.ac:3: -1- AC_SUBST([datadir], ['${prefix}/share'])
8.26 -m4trace:configure.ac:3: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
8.27 -m4trace:configure.ac:3: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
8.28 -m4trace:configure.ac:3: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
8.29 -m4trace:configure.ac:3: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
8.30 -m4trace:configure.ac:3: -1- AC_SUBST([includedir], ['${prefix}/include'])
8.31 -m4trace:configure.ac:3: -1- AC_SUBST([oldincludedir], ['/usr/include'])
8.32 -m4trace:configure.ac:3: -1- AC_SUBST([infodir], ['${prefix}/info'])
8.33 -m4trace:configure.ac:3: -1- AC_SUBST([mandir], ['${prefix}/man'])
8.34 -m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
8.35 -m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
8.36 -#undef PACKAGE_NAME])
8.37 -m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
8.38 -m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
8.39 -#undef PACKAGE_TARNAME])
8.40 -m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
8.41 -m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
8.42 -#undef PACKAGE_VERSION])
8.43 -m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
8.44 -m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
8.45 -#undef PACKAGE_STRING])
8.46 -m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
8.47 -m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
8.48 -#undef PACKAGE_BUGREPORT])
8.49 -m4trace:configure.ac:3: -1- AC_SUBST([build_alias])
8.50 -m4trace:configure.ac:3: -1- AC_SUBST([host_alias])
8.51 -m4trace:configure.ac:3: -1- AC_SUBST([target_alias])
8.52 -m4trace:configure.ac:3: -1- AC_SUBST([DEFS])
8.53 -m4trace:configure.ac:3: -1- AC_SUBST([ECHO_C])
8.54 -m4trace:configure.ac:3: -1- AC_SUBST([ECHO_N])
8.55 -m4trace:configure.ac:3: -1- AC_SUBST([ECHO_T])
8.56 -m4trace:configure.ac:3: -1- AC_SUBST([LIBS])
8.57 -m4trace:configure.ac:4: -1- AC_CANONICAL_HOST
8.58 -m4trace:configure.ac:4: -1- AC_SUBST([build], [$ac_cv_build])
8.59 -m4trace:configure.ac:4: -1- AC_SUBST([build_cpu], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
8.60 -m4trace:configure.ac:4: -1- AC_SUBST([build_vendor], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
8.61 -m4trace:configure.ac:4: -1- AC_SUBST([build_os], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
8.62 -m4trace:configure.ac:4: -1- AC_SUBST([host], [$ac_cv_host])
8.63 -m4trace:configure.ac:4: -1- AC_SUBST([host_cpu], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
8.64 -m4trace:configure.ac:4: -1- AC_SUBST([host_vendor], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
8.65 -m4trace:configure.ac:4: -1- AC_SUBST([host_os], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
8.66 -m4trace:configure.ac:4: -1- AC_SUBST([target], [$ac_cv_target])
8.67 -m4trace:configure.ac:4: -1- AC_SUBST([target_cpu], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
8.68 -m4trace:configure.ac:4: -1- AC_SUBST([target_vendor], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
8.69 -m4trace:configure.ac:4: -1- AC_SUBST([target_os], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
8.70 -m4trace:configure.ac:10: -1- AM_DISABLE_STATIC
8.71 -m4trace:configure.ac:10: -1- AC_DISABLE_STATIC([])
8.72 -m4trace:configure.ac:10: -1- AC_ENABLE_STATIC([no])
8.73 -m4trace:configure.ac:10: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
8.74 -You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
8.75 -autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
8.76 -/targets/links/libtool/share/aclocal/libtool.m4:1890: AC_ENABLE_STATIC is expanded from...
8.77 -/targets/links/libtool/share/aclocal/libtool.m4:1899: AC_DISABLE_STATIC is expanded from...
8.78 -/targets/links/libtool/share/aclocal/libtool.m4:6106: AM_DISABLE_STATIC is expanded from...
8.79 -configure.ac:10: the top level])
8.80 -m4trace:configure.ac:13: -1- AM_MAINTAINER_MODE
8.81 -m4trace:configure.ac:13: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
8.82 -m4trace:configure.ac:13: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
8.83 -m4trace:configure.ac:13: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
8.84 -m4trace:configure.ac:13: -1- AC_SUBST([MAINT])
8.85 -m4trace:configure.ac:17: -1- AS_VERSION([gst-plugins-nuvdemux], [GST_PLUGINS_VERSION], [0], [10], [0], [1], [GST_CVS="no"], [GST_CVS="yes"])
8.86 -m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([GST_PLUGINS_VERSION])
8.87 -m4trace:configure.ac:17: -1- AH_OUTPUT([GST_PLUGINS_VERSION], [/* Define the version */
8.88 -#undef GST_PLUGINS_VERSION])
8.89 -m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION])
8.90 -m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([GST_PLUGINS_VERSION_RELEASE])
8.91 -m4trace:configure.ac:17: -1- AH_OUTPUT([GST_PLUGINS_VERSION_RELEASE], [/* Define the release version */
8.92 -#undef GST_PLUGINS_VERSION_RELEASE])
8.93 -m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_RELEASE])
8.94 -m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_MAJOR])
8.95 -m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_MINOR])
8.96 -m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_MICRO])
8.97 -m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_NANO])
8.98 -m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
8.99 -m4trace:configure.ac:17: -1- AH_OUTPUT([PACKAGE], [/* Define the package name */
8.100 -#undef PACKAGE])
8.101 -m4trace:configure.ac:17: -1- AC_SUBST([PACKAGE])
8.102 -m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
8.103 -m4trace:configure.ac:17: -1- AH_OUTPUT([VERSION], [/* Define the version */
8.104 -#undef VERSION])
8.105 -m4trace:configure.ac:17: -1- AC_SUBST([VERSION])
8.106 -m4trace:configure.ac:19: -1- AM_INIT_AUTOMAKE([$PACKAGE], [$VERSION])
8.107 -m4trace:configure.ac:19: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
8.108 -m4trace:configure.ac:19: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
8.109 -m4trace:configure.ac:19: -1- AM_AUTOMAKE_VERSION([1.8.5])
8.110 -m4trace:configure.ac:19: -1- AC_PROG_INSTALL
8.111 -m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_PROGRAM])
8.112 -m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_SCRIPT])
8.113 -m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_DATA])
8.114 -m4trace:configure.ac:19: -1- AC_SUBST([CYGPATH_W])
8.115 -m4trace:configure.ac:19: -1- AC_SUBST([PACKAGE], [$PACKAGE])
8.116 -m4trace:configure.ac:19: -1- AC_SUBST([VERSION], [$VERSION])
8.117 -m4trace:configure.ac:19: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
8.118 - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
8.119 -m4trace:configure.ac:19: -2- _AM_MANGLE_OPTION([no-define])
8.120 -m4trace:configure.ac:19: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
8.121 -m4trace:configure.ac:19: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
8.122 -#undef PACKAGE])
8.123 -m4trace:configure.ac:19: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
8.124 -m4trace:configure.ac:19: -1- AH_OUTPUT([VERSION], [/* Version number of package */
8.125 -#undef VERSION])
8.126 -m4trace:configure.ac:19: -1- AM_SANITY_CHECK
8.127 -m4trace:configure.ac:19: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
8.128 -m4trace:configure.ac:19: -1- AM_MISSING_HAS_RUN
8.129 -m4trace:configure.ac:19: -1- AM_AUX_DIR_EXPAND
8.130 -m4trace:configure.ac:19: -1- AC_SUBST([ACLOCAL])
8.131 -m4trace:configure.ac:19: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
8.132 -m4trace:configure.ac:19: -1- AC_SUBST([AUTOCONF])
8.133 -m4trace:configure.ac:19: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
8.134 -m4trace:configure.ac:19: -1- AC_SUBST([AUTOMAKE])
8.135 -m4trace:configure.ac:19: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
8.136 -m4trace:configure.ac:19: -1- AC_SUBST([AUTOHEADER])
8.137 -m4trace:configure.ac:19: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
8.138 -m4trace:configure.ac:19: -1- AC_SUBST([MAKEINFO])
8.139 -m4trace:configure.ac:19: -1- AM_MISSING_PROG([AMTAR], [tar])
8.140 -m4trace:configure.ac:19: -1- AC_SUBST([AMTAR])
8.141 -m4trace:configure.ac:19: -1- AM_PROG_INSTALL_SH
8.142 -m4trace:configure.ac:19: -1- AC_SUBST([install_sh])
8.143 -m4trace:configure.ac:19: -1- AM_PROG_INSTALL_STRIP
8.144 -m4trace:configure.ac:19: -1- AC_SUBST([STRIP])
8.145 -m4trace:configure.ac:19: -1- AC_SUBST([ac_ct_STRIP])
8.146 -m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
8.147 -m4trace:configure.ac:19: -1- AM_PROG_MKDIR_P
8.148 -m4trace:configure.ac:19: -1- AC_SUBST([mkdir_p])
8.149 -m4trace:configure.ac:19: -1- AC_PROG_AWK
8.150 -m4trace:configure.ac:19: -1- AC_SUBST([AWK])
8.151 -m4trace:configure.ac:19: -1- AC_PROG_MAKE_SET
8.152 -m4trace:configure.ac:19: -1- AC_SUBST([SET_MAKE])
8.153 -m4trace:configure.ac:19: -1- AM_SET_LEADING_DOT
8.154 -m4trace:configure.ac:19: -1- AC_SUBST([am__leading_dot])
8.155 -m4trace:configure.ac:19: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
8.156 - [_AM_DEPENDENCIES(CC)],
8.157 - [define([AC_PROG_CC],
8.158 - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
8.159 -AC_PROVIDE_IFELSE([AC_PROG_CXX],
8.160 - [_AM_DEPENDENCIES(CXX)],
8.161 - [define([AC_PROG_CXX],
8.162 - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
8.163 -])
8.164 -m4trace:configure.ac:19: -2- _AM_MANGLE_OPTION([no-dependencies])
8.165 -m4trace:configure.ac:21: -1- AM_PROG_LIBTOOL
8.166 -m4trace:configure.ac:21: -1- AC_PROG_LIBTOOL
8.167 -m4trace:configure.ac:21: -1- _AC_PROG_LIBTOOL
8.168 -m4trace:configure.ac:21: -1- AC_LIBTOOL_SETUP
8.169 -m4trace:configure.ac:21: -1- AC_ENABLE_SHARED
8.170 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
8.171 -You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
8.172 -autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
8.173 -/targets/links/libtool/share/aclocal/libtool.m4:1851: AC_ENABLE_SHARED is expanded from...
8.174 -configure.ac:21: AC_ENABLE_SHARED is required by...
8.175 -/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
8.176 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
8.177 -/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
8.178 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
8.179 -/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
8.180 -/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
8.181 -configure.ac:21: the top level])
8.182 -m4trace:configure.ac:21: -1- AC_ENABLE_FAST_INSTALL
8.183 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
8.184 -You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
8.185 -autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
8.186 -/targets/links/libtool/share/aclocal/libtool.m4:1929: AC_ENABLE_FAST_INSTALL is expanded from...
8.187 -configure.ac:21: AC_ENABLE_FAST_INSTALL is required by...
8.188 -/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
8.189 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
8.190 -/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
8.191 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
8.192 -/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
8.193 -/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
8.194 -configure.ac:21: the top level])
8.195 -m4trace:configure.ac:21: -1- AC_PROG_CC
8.196 -m4trace:configure.ac:21: -1- AC_SUBST([CC])
8.197 -m4trace:configure.ac:21: -1- AC_SUBST([CFLAGS])
8.198 -m4trace:configure.ac:21: -1- AC_SUBST([LDFLAGS])
8.199 -m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
8.200 -m4trace:configure.ac:21: -1- AC_SUBST([CC])
8.201 -m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CC])
8.202 -m4trace:configure.ac:21: -1- AC_SUBST([CC])
8.203 -m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CC])
8.204 -m4trace:configure.ac:21: -1- AC_SUBST([CC])
8.205 -m4trace:configure.ac:21: -1- AC_SUBST([CC])
8.206 -m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CC])
8.207 -m4trace:configure.ac:21: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
8.208 -m4trace:configure.ac:21: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
8.209 -m4trace:configure.ac:21: -1- _AM_DEPENDENCIES([CC])
8.210 -m4trace:configure.ac:21: -1- AM_SET_DEPDIR
8.211 -m4trace:configure.ac:21: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
8.212 -m4trace:configure.ac:21: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
8.213 -m4trace:configure.ac:21: -1- AM_MAKE_INCLUDE
8.214 -m4trace:configure.ac:21: -1- AC_SUBST([am__include])
8.215 -m4trace:configure.ac:21: -1- AC_SUBST([am__quote])
8.216 -m4trace:configure.ac:21: -1- AM_DEP_TRACK
8.217 -m4trace:configure.ac:21: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
8.218 -m4trace:configure.ac:21: -1- AC_SUBST([AMDEP_TRUE])
8.219 -m4trace:configure.ac:21: -1- AC_SUBST([AMDEP_FALSE])
8.220 -m4trace:configure.ac:21: -1- AC_SUBST([AMDEPBACKSLASH])
8.221 -m4trace:configure.ac:21: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
8.222 -m4trace:configure.ac:21: -1- AM_CONDITIONAL([am__fastdepCC], [
8.223 - test "x$enable_dependency_tracking" != xno \
8.224 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
8.225 -m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCC_TRUE])
8.226 -m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCC_FALSE])
8.227 -m4trace:configure.ac:21: -1- AC_PROG_LD
8.228 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
8.229 -You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
8.230 -autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
8.231 -/targets/links/libtool/share/aclocal/libtool.m4:2126: AC_PROG_LD is expanded from...
8.232 -configure.ac:21: AC_PROG_LD is required by...
8.233 -/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
8.234 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
8.235 -/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
8.236 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
8.237 -/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
8.238 -/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
8.239 -configure.ac:21: the top level])
8.240 -m4trace:configure.ac:21: -1- LT_AC_PROG_SED
8.241 -m4trace:configure.ac:21: -1- AC_PROG_LD_GNU
8.242 -m4trace:configure.ac:21: -1- AC_PROG_EGREP
8.243 -m4trace:configure.ac:21: -1- AC_SUBST([EGREP])
8.244 -m4trace:configure.ac:21: -1- AC_PROG_LD_RELOAD_FLAG
8.245 -m4trace:configure.ac:21: -1- AC_PROG_NM
8.246 -m4trace:configure.ac:21: -1- AC_PROG_LN_S
8.247 -m4trace:configure.ac:21: -1- AC_SUBST([LN_S], [$as_ln_s])
8.248 -m4trace:configure.ac:21: -1- AC_DEPLIBS_CHECK_METHOD
8.249 -m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_MAX_CMD_LEN
8.250 -m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
8.251 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
8.252 -m4trace:configure.ac:21: -1- AC_LIBTOOL_OBJDIR
8.253 -m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
8.254 -m4trace:configure.ac:21: -1- _LT_AC_PROG_ECHO_BACKSLASH
8.255 -m4trace:configure.ac:21: -1- _LT_AC_SHELL_INIT([
8.256 -# Check that we are running under the correct shell.
8.257 -SHELL=${CONFIG_SHELL-/bin/sh}
8.258 -
8.259 -case X$ECHO in
8.260 -X*--fallback-echo)
8.261 - # Remove one level of quotation (which was required for Make).
8.262 - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
8.263 - ;;
8.264 -esac
8.265 -
8.266 -echo=${ECHO-echo}
8.267 -if test "X[$]1" = X--no-reexec; then
8.268 - # Discard the --no-reexec flag, and continue.
8.269 - shift
8.270 -elif test "X[$]1" = X--fallback-echo; then
8.271 - # Avoid inline document here, it may be left over
8.272 - :
8.273 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
8.274 - # Yippee, $echo works!
8.275 - :
8.276 -else
8.277 - # Restart under the correct shell.
8.278 - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
8.279 -fi
8.280 -
8.281 -if test "X[$]1" = X--fallback-echo; then
8.282 - # used as fallback echo
8.283 - shift
8.284 - cat <<EOF
8.285 -[$]*
8.286 -EOF
8.287 - exit 0
8.288 -fi
8.289 -
8.290 -# The HP-UX ksh and POSIX shell print the target directory to stdout
8.291 -# if CDPATH is set.
8.292 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8.293 -
8.294 -if test -z "$ECHO"; then
8.295 -if test "X${echo_test_string+set}" != Xset; then
8.296 -# find a string as large as possible, as long as the shell can cope with it
8.297 - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
8.298 - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
8.299 - if (echo_test_string=`eval $cmd`) 2>/dev/null &&
8.300 - echo_test_string=`eval $cmd` &&
8.301 - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
8.302 - then
8.303 - break
8.304 - fi
8.305 - done
8.306 -fi
8.307 -
8.308 -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
8.309 - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
8.310 - test "X$echo_testing_string" = "X$echo_test_string"; then
8.311 - :
8.312 -else
8.313 - # The Solaris, AIX, and Digital Unix default echo programs unquote
8.314 - # backslashes. This makes it impossible to quote backslashes using
8.315 - # echo "$something" | sed 's/\\/\\\\/g'
8.316 - #
8.317 - # So, first we look for a working echo in the user's PATH.
8.318 -
8.319 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8.320 - for dir in $PATH /usr/ucb; do
8.321 - IFS="$lt_save_ifs"
8.322 - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
8.323 - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
8.324 - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
8.325 - test "X$echo_testing_string" = "X$echo_test_string"; then
8.326 - echo="$dir/echo"
8.327 - break
8.328 - fi
8.329 - done
8.330 - IFS="$lt_save_ifs"
8.331 -
8.332 - if test "X$echo" = Xecho; then
8.333 - # We didn't find a better echo, so look for alternatives.
8.334 - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
8.335 - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
8.336 - test "X$echo_testing_string" = "X$echo_test_string"; then
8.337 - # This shell has a builtin print -r that does the trick.
8.338 - echo='print -r'
8.339 - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
8.340 - test "X$CONFIG_SHELL" != X/bin/ksh; then
8.341 - # If we have ksh, try running configure again with it.
8.342 - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
8.343 - export ORIGINAL_CONFIG_SHELL
8.344 - CONFIG_SHELL=/bin/ksh
8.345 - export CONFIG_SHELL
8.346 - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
8.347 - else
8.348 - # Try using printf.
8.349 - echo='printf %s\n'
8.350 - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
8.351 - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
8.352 - test "X$echo_testing_string" = "X$echo_test_string"; then
8.353 - # Cool, printf works
8.354 - :
8.355 - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
8.356 - test "X$echo_testing_string" = 'X\t' &&
8.357 - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
8.358 - test "X$echo_testing_string" = "X$echo_test_string"; then
8.359 - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
8.360 - export CONFIG_SHELL
8.361 - SHELL="$CONFIG_SHELL"
8.362 - export SHELL
8.363 - echo="$CONFIG_SHELL [$]0 --fallback-echo"
8.364 - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
8.365 - test "X$echo_testing_string" = 'X\t' &&
8.366 - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
8.367 - test "X$echo_testing_string" = "X$echo_test_string"; then
8.368 - echo="$CONFIG_SHELL [$]0 --fallback-echo"
8.369 - else
8.370 - # maybe with a smaller string...
8.371 - prev=:
8.372 -
8.373 - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
8.374 - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
8.375 - then
8.376 - break
8.377 - fi
8.378 - prev="$cmd"
8.379 - done
8.380 -
8.381 - if test "$prev" != 'sed 50q "[$]0"'; then
8.382 - echo_test_string=`eval $prev`
8.383 - export echo_test_string
8.384 - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
8.385 - else
8.386 - # Oops. We lost completely, so just stick with echo.
8.387 - echo=echo
8.388 - fi
8.389 - fi
8.390 - fi
8.391 - fi
8.392 -fi
8.393 -fi
8.394 -
8.395 -# Copy echo and quote the copy suitably for passing to libtool from
8.396 -# the Makefile, instead of quoting the original, which is used later.
8.397 -ECHO=$echo
8.398 -if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
8.399 - ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
8.400 -fi
8.401 -
8.402 -AC_SUBST(ECHO)
8.403 -])
8.404 -m4trace:configure.ac:21: -1- AC_SUBST([ECHO])
8.405 -m4trace:configure.ac:21: -1- AC_SUBST([AR])
8.406 -m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_AR])
8.407 -m4trace:configure.ac:21: -1- AC_SUBST([RANLIB])
8.408 -m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_RANLIB])
8.409 -m4trace:configure.ac:21: -1- AC_SUBST([STRIP])
8.410 -m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_STRIP])
8.411 -m4trace:configure.ac:21: -1- _LT_CC_BASENAME([$compiler])
8.412 -m4trace:configure.ac:21: -1- AC_PATH_MAGIC
8.413 -m4trace:configure.ac:21: -1- AC_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
8.414 -m4trace:configure.ac:21: -1- AC_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
8.415 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
8.416 -You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
8.417 -autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
8.418 -/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
8.419 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
8.420 -/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
8.421 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
8.422 -/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
8.423 -/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
8.424 -configure.ac:21: the top level])
8.425 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
8.426 -You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
8.427 -autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
8.428 -/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
8.429 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
8.430 -/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
8.431 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
8.432 -/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
8.433 -/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
8.434 -configure.ac:21: the top level])
8.435 -m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_C_CONFIG
8.436 -m4trace:configure.ac:21: -1- _LT_AC_LANG_C_CONFIG
8.437 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [])
8.438 -m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
8.439 -m4trace:configure.ac:21: -1- _LT_COMPILER_BOILERPLATE
8.440 -m4trace:configure.ac:21: -1- _LT_LINKER_BOILERPLATE
8.441 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
8.442 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
8.443 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
8.444 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
8.445 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
8.446 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
8.447 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
8.448 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
8.449 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_cc_can_build_shared], [])
8.450 -m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_static_works], [])
8.451 -m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.452 -m4trace:configure.ac:21: -1- AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, ) works], [lt_prog_compiler_static_works], [$lt_prog_compiler_static], [], [_LT_AC_TAGVAR(lt_prog_compiler_static, )=])
8.453 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.454 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.455 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.456 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_NO_RTTI([])
8.457 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
8.458 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
8.459 -m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"])
8.460 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
8.461 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
8.462 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_PIC([])
8.463 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.464 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.465 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.466 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.467 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.468 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.469 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.470 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.471 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.472 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [])
8.473 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.474 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.475 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.476 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.477 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.478 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.479 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.480 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.481 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.482 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.483 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.484 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.485 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.486 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.487 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.488 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.489 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.490 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.491 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.492 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.493 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.494 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.495 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.496 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.497 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.498 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.499 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.500 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.501 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.502 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.503 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.504 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.505 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.506 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.507 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.508 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.509 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.510 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.511 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.512 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.513 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.514 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [])
8.515 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.516 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.517 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [])
8.518 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.519 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.520 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.521 -m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_pic_works], [])
8.522 -m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, ) works], [lt_prog_compiler_pic_works], [$_LT_AC_TAGVAR(lt_prog_compiler_pic, )ifelse([],[],[ -DPIC],[ifelse([],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, ) in
8.523 - "" | " "*) ;;
8.524 - *) _LT_AC_TAGVAR(lt_prog_compiler_pic, )=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, )" ;;
8.525 - esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, )=
8.526 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
8.527 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.528 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.529 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.530 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.531 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.532 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.533 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.534 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [])
8.535 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.536 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.537 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.538 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_CC_C_O([])
8.539 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
8.540 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
8.541 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
8.542 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
8.543 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
8.544 -m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_HARD_LINK_LOCKS([])
8.545 -m4trace:configure.ac:21: -1- _LT_AC_LOCK
8.546 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
8.547 -You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
8.548 -autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
8.549 -autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
8.550 -/targets/links/libtool/share/aclocal/libtool.m4:588: _LT_AC_LOCK is expanded from...
8.551 -configure.ac:21: _LT_AC_LOCK is required by...
8.552 -/targets/links/libtool/share/aclocal/libtool.m4:1055: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
8.553 -/targets/links/libtool/share/aclocal/libtool.m4:2662: _LT_AC_LANG_C_CONFIG is expanded from...
8.554 -/targets/links/libtool/share/aclocal/libtool.m4:2558: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
8.555 -/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
8.556 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
8.557 -/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
8.558 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
8.559 -/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
8.560 -/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
8.561 -configure.ac:21: the top level])
8.562 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
8.563 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_SHLIBS([])
8.564 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.565 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
8.566 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.567 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.568 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [])
8.569 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [])
8.570 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
8.571 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
8.572 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [])
8.573 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.574 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
8.575 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
8.576 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.577 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
8.578 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.579 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
8.580 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
8.581 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
8.582 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
8.583 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
8.584 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
8.585 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [])
8.586 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [])
8.587 -m4trace:configure.ac:21: -1- _LT_CC_BASENAME([$compiler])
8.588 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.589 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.590 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
8.591 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
8.592 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
8.593 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.594 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.595 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.596 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
8.597 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.598 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.599 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.600 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.601 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.602 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.603 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
8.604 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
8.605 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
8.606 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.607 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.608 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.609 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
8.610 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
8.611 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.612 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.613 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.614 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.615 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.616 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.617 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.618 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.619 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.620 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.621 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.622 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.623 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.624 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.625 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.626 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.627 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.628 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.629 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
8.630 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
8.631 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.632 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
8.633 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.634 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
8.635 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.636 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
8.637 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
8.638 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.639 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.640 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
8.641 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
8.642 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.643 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.644 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
8.645 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.646 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
8.647 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
8.648 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.649 -m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
8.650 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.651 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.652 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.653 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.654 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.655 -m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
8.656 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.657 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
8.658 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.659 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
8.660 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
8.661 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
8.662 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.663 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.664 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.665 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
8.666 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.667 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
8.668 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.669 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.670 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.671 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [])
8.672 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [])
8.673 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [])
8.674 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
8.675 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.676 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.677 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.678 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.679 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
8.680 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.681 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
8.682 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.683 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
8.684 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
8.685 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.686 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
8.687 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.688 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
8.689 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.690 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
8.691 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.692 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
8.693 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.694 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.695 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.696 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.697 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.698 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.699 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.700 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.701 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.702 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.703 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.704 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
8.705 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.706 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.707 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.708 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.709 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.710 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.711 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.712 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.713 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
8.714 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.715 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
8.716 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
8.717 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.718 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.719 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.720 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.721 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.722 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
8.723 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
8.724 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.725 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.726 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.727 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.728 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.729 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
8.730 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.731 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
8.732 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.733 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
8.734 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
8.735 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.736 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.737 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
8.738 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.739 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
8.740 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
8.741 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.742 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.743 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.744 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.745 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.746 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.747 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.748 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.749 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
8.750 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.751 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.752 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.753 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.754 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.755 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.756 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
8.757 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.758 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.759 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.760 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.761 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.762 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
8.763 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.764 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.765 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [])
8.766 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.767 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.768 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.769 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.770 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.771 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
8.772 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.773 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.774 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.775 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.776 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.777 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.778 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.779 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
8.780 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.781 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.782 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
8.783 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
8.784 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.785 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.786 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.787 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.788 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.789 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.790 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
8.791 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
8.792 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
8.793 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.794 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.795 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.796 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.797 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
8.798 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.799 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.800 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.801 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.802 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([reload_cmds], [])
8.803 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.804 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.805 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.806 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.807 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.808 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.809 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
8.810 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.811 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.812 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.813 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.814 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.815 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
8.816 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.817 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
8.818 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.819 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.820 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.821 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
8.822 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.823 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.824 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.825 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.826 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.827 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.828 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.829 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.830 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.831 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.832 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
8.833 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
8.834 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
8.835 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.836 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.837 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.838 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.839 -m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([archive_cmds], [])
8.840 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
8.841 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
8.842 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.843 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
8.844 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
8.845 -m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_DYNAMIC_LINKER([])
8.846 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([])
8.847 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
8.848 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.849 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([runpath_var], [])
8.850 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
8.851 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.852 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
8.853 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
8.854 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
8.855 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
8.856 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
8.857 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
8.858 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
8.859 -m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_LIB_STRIP
8.860 -m4trace:configure.ac:21: -1- AC_LIBTOOL_DLOPEN_SELF([])
8.861 -m4trace:configure.ac:21: -1- _LT_AC_CHECK_DLFCN
8.862 -m4trace:configure.ac:21: -1- AC_CHECK_HEADERS([dlfcn.h])
8.863 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
8.864 -#undef HAVE_DLFCN_H])
8.865 -m4trace:configure.ac:21: -1- AC_HEADER_STDC
8.866 -m4trace:configure.ac:21: -1- AC_PROG_CPP
8.867 -m4trace:configure.ac:21: -1- AC_SUBST([CPP])
8.868 -m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
8.869 -m4trace:configure.ac:21: -1- AC_SUBST([CPP])
8.870 -m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
8.871 -m4trace:configure.ac:21: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
8.872 -#undef STDC_HEADERS])
8.873 -m4trace:configure.ac:21: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8.874 - inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default])
8.875 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
8.876 -#undef HAVE_SYS_TYPES_H])
8.877 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
8.878 -#undef HAVE_SYS_STAT_H])
8.879 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
8.880 -#undef HAVE_STDLIB_H])
8.881 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
8.882 -#undef HAVE_STRING_H])
8.883 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
8.884 -#undef HAVE_MEMORY_H])
8.885 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
8.886 -#undef HAVE_STRINGS_H])
8.887 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
8.888 -#undef HAVE_INTTYPES_H])
8.889 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
8.890 -#undef HAVE_STDINT_H])
8.891 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
8.892 -#undef HAVE_UNISTD_H])
8.893 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
8.894 - lt_cv_dlopen="dyld"
8.895 - lt_cv_dlopen_libs=
8.896 - lt_cv_dlopen_self=yes
8.897 - ])
8.898 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
8.899 - [lt_cv_dlopen="dlopen"],
8.900 - [AC_CHECK_LIB([dl], [dlopen],
8.901 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
8.902 - [AC_CHECK_LIB([svld], [dlopen],
8.903 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
8.904 - [AC_CHECK_LIB([dld], [dld_link],
8.905 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
8.906 - ])
8.907 - ])
8.908 - ])
8.909 - ])
8.910 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
8.911 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
8.912 - [AC_CHECK_LIB([dld], [dld_link],
8.913 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
8.914 - ])
8.915 - ])
8.916 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
8.917 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
8.918 - ])
8.919 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
8.920 -m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=no], [lt_cv_dlopen_self=cross])
8.921 -m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=no], [lt_cv_dlopen_self_static=cross])
8.922 -m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([])
8.923 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [])
8.924 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [])
8.925 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [])
8.926 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.927 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.928 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.929 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
8.930 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
8.931 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [])
8.932 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
8.933 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
8.934 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [])
8.935 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [])
8.936 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [])
8.937 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [])
8.938 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [])
8.939 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [])
8.940 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [])
8.941 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.942 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.943 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [])
8.944 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [])
8.945 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [])
8.946 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.947 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
8.948 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
8.949 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.950 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
8.951 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
8.952 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
8.953 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
8.954 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
8.955 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
8.956 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [])
8.957 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [])
8.958 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [])
8.959 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [])
8.960 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.961 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.962 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
8.963 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
8.964 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [])
8.965 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
8.966 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
8.967 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
8.968 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [])
8.969 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [])
8.970 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [])
8.971 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
8.972 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
8.973 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
8.974 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
8.975 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
8.976 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
8.977 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
8.978 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [])
8.979 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [])
8.980 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [])
8.981 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [])
8.982 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
8.983 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
8.984 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
8.985 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
8.986 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [])
8.987 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [])
8.988 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [])
8.989 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [])
8.990 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [])
8.991 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
8.992 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
8.993 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
8.994 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
8.995 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
8.996 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
8.997 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
8.998 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
8.999 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
8.1000 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
8.1001 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
8.1002 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [])
8.1003 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
8.1004 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
8.1005 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [])
8.1006 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [])
8.1007 -m4trace:configure.ac:21: -1- _LT_AC_TAGCONFIG
8.1008 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
8.1009 -You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
8.1010 -autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
8.1011 -/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
8.1012 -/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
8.1013 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
8.1014 -/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
8.1015 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
8.1016 -/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
8.1017 -/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
8.1018 -configure.ac:21: the top level])
8.1019 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me:$LINENO: error: tag name \"$tagname\" already exists], [/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
8.1020 -/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
8.1021 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
8.1022 -/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
8.1023 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
8.1024 -/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
8.1025 -/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
8.1026 -configure.ac:21: the top level])
8.1027 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me: error: tag name \"$tagname\" already exists], [/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
8.1028 -/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
8.1029 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
8.1030 -/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
8.1031 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
8.1032 -/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
8.1033 -/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
8.1034 -configure.ac:21: the top level])
8.1035 -m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_CXX_CONFIG
8.1036 -m4trace:configure.ac:21: -1- _LT_AC_LANG_CXX_CONFIG([CXX])
8.1037 -m4trace:configure.ac:21: -1- AC_PROG_CXX
8.1038 -m4trace:configure.ac:21: -1- AC_SUBST([CXX])
8.1039 -m4trace:configure.ac:21: -1- AC_SUBST([CXXFLAGS])
8.1040 -m4trace:configure.ac:21: -1- AC_SUBST([LDFLAGS])
8.1041 -m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
8.1042 -m4trace:configure.ac:21: -1- AC_SUBST([CXX])
8.1043 -m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CXX])
8.1044 -m4trace:configure.ac:21: -1- _AM_DEPENDENCIES([CXX])
8.1045 -m4trace:configure.ac:21: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
8.1046 -m4trace:configure.ac:21: -1- AM_CONDITIONAL([am__fastdepCXX], [
8.1047 - test "x$enable_dependency_tracking" != xno \
8.1048 - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
8.1049 -m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCXX_TRUE])
8.1050 -m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCXX_FALSE])
8.1051 -m4trace:configure.ac:21: -1- _LT_AC_PROG_CXXCPP
8.1052 -m4trace:configure.ac:21: -1- AC_SUBST([CXXCPP])
8.1053 -m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
8.1054 -m4trace:configure.ac:21: -1- AC_SUBST([CXXCPP])
8.1055 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
8.1056 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1057 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
8.1058 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1059 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
8.1060 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
8.1061 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1062 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [CXX])
8.1063 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
8.1064 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
8.1065 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
8.1066 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
8.1067 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
8.1068 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
8.1069 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
8.1070 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
8.1071 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
8.1072 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [CXX])
8.1073 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
8.1074 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
8.1075 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [CXX])
8.1076 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
8.1077 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
8.1078 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [CXX])
8.1079 -m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
8.1080 -m4trace:configure.ac:21: -1- _LT_COMPILER_BOILERPLATE
8.1081 -m4trace:configure.ac:21: -1- _LT_LINKER_BOILERPLATE
8.1082 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [CXX])
8.1083 -m4trace:configure.ac:21: -1- _LT_CC_BASENAME([$compiler])
8.1084 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [CXX])
8.1085 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [CXX])
8.1086 -m4trace:configure.ac:21: -1- AC_PROG_LD
8.1087 -m4trace:configure.ac:21: -1- AC_PROG_LD_GNU
8.1088 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1089 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1090 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1091 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
8.1092 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
8.1093 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
8.1094 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1095 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1096 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1097 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1098 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
8.1099 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
8.1100 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
8.1101 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
8.1102 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
8.1103 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
8.1104 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1105 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
8.1106 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
8.1107 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1108 -m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
8.1109 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1110 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1111 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1112 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1113 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1114 -m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
8.1115 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1116 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
8.1117 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1118 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
8.1119 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
8.1120 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
8.1121 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1122 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1123 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1124 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1125 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
8.1126 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [CXX])
8.1127 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1128 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1129 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1130 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1131 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1132 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1133 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1134 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
8.1135 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
8.1136 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
8.1137 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
8.1138 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
8.1139 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
8.1140 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1141 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1142 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
8.1143 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1144 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1145 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
8.1146 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1147 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
8.1148 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1149 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
8.1150 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1151 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1152 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1153 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1154 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1155 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
8.1156 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1157 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1158 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
8.1159 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
8.1160 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
8.1161 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
8.1162 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1163 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1164 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1165 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1166 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1167 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [CXX])
8.1168 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
8.1169 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1170 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1171 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
8.1172 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
8.1173 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
8.1174 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
8.1175 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
8.1176 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
8.1177 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
8.1178 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
8.1179 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
8.1180 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1181 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1182 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1183 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1184 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1185 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1186 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1187 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
8.1188 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1189 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1190 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
8.1191 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1192 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
8.1193 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1194 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1195 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1196 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
8.1197 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
8.1198 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1199 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1200 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1201 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1202 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
8.1203 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1204 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
8.1205 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
8.1206 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1207 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1208 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1209 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
8.1210 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
8.1211 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1212 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1213 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1214 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
8.1215 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1216 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1217 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1218 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1219 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1220 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1221 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
8.1222 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
8.1223 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1224 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
8.1225 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
8.1226 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1227 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1228 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1229 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
8.1230 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
8.1231 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1232 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1233 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
8.1234 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
8.1235 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1236 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1237 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1238 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1239 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
8.1240 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1241 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1242 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1243 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
8.1244 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1245 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1246 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1247 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
8.1248 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
8.1249 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1250 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1251 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1252 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1253 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1254 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
8.1255 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1256 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1257 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1258 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
8.1259 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1260 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1261 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
8.1262 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1263 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1264 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1265 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1266 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1267 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
8.1268 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
8.1269 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1270 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1271 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1272 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
8.1273 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
8.1274 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
8.1275 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
8.1276 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1277 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
8.1278 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
8.1279 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1280 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1281 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1282 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1283 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1284 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
8.1285 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1286 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1287 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1288 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1289 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1290 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1291 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1292 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [CXX])
8.1293 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [CXX])
8.1294 -m4trace:configure.ac:21: -1- AC_LIBTOOL_POSTDEP_PREDEP([CXX])
8.1295 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
8.1296 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
8.1297 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
8.1298 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
8.1299 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
8.1300 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
8.1301 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
8.1302 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
8.1303 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
8.1304 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
8.1305 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
8.1306 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
8.1307 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
8.1308 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
8.1309 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
8.1310 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
8.1311 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
8.1312 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
8.1313 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
8.1314 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_PIC([CXX])
8.1315 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
8.1316 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1317 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
8.1318 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
8.1319 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
8.1320 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
8.1321 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1322 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1323 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1324 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1325 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1326 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1327 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1328 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
8.1329 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
8.1330 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1331 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
8.1332 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1333 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1334 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
8.1335 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
8.1336 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1337 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
8.1338 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
8.1339 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1340 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
8.1341 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
8.1342 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
8.1343 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1344 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
8.1345 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1346 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
8.1347 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
8.1348 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1349 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
8.1350 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1351 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
8.1352 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1353 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
8.1354 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1355 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
8.1356 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1357 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
8.1358 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1359 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1360 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
8.1361 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
8.1362 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1363 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1364 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
8.1365 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1366 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1367 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [CXX])
8.1368 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1369 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1370 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1371 -m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_pic_works], [CXX])
8.1372 -m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX) works], [lt_prog_compiler_pic_works_CXX], [$_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)ifelse([CXX],[],[ -DPIC],[ifelse([CXX],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX) in
8.1373 - "" | " "*) ;;
8.1374 - *) _LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)" ;;
8.1375 - esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)=
8.1376 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, CXX)=no])
8.1377 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1378 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1379 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1380 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1381 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1382 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1383 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1384 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [CXX])
8.1385 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1386 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1387 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1388 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_CC_C_O([CXX])
8.1389 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
8.1390 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
8.1391 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
8.1392 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
8.1393 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
8.1394 -m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_HARD_LINK_LOCKS([CXX])
8.1395 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
8.1396 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_SHLIBS([CXX])
8.1397 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
8.1398 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
8.1399 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
8.1400 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
8.1401 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
8.1402 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
8.1403 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1404 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1405 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
8.1406 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
8.1407 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
8.1408 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1409 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
8.1410 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1411 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1412 -m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1413 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
8.1414 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
8.1415 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1416 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
8.1417 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
8.1418 -m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_DYNAMIC_LINKER([CXX])
8.1419 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([CXX])
8.1420 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
8.1421 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1422 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([runpath_var], [CXX])
8.1423 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
8.1424 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
8.1425 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
8.1426 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
8.1427 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
8.1428 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
8.1429 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
8.1430 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
8.1431 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
8.1432 -m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_LIB_STRIP
8.1433 -m4trace:configure.ac:21: -1- AC_LIBTOOL_DLOPEN_SELF([CXX])
8.1434 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
8.1435 - lt_cv_dlopen="dyld"
8.1436 - lt_cv_dlopen_libs=
8.1437 - lt_cv_dlopen_self=yes
8.1438 - ])
8.1439 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
8.1440 - [lt_cv_dlopen="dlopen"],
8.1441 - [AC_CHECK_LIB([dl], [dlopen],
8.1442 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
8.1443 - [AC_CHECK_LIB([svld], [dlopen],
8.1444 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
8.1445 - [AC_CHECK_LIB([dld], [dld_link],
8.1446 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
8.1447 - ])
8.1448 - ])
8.1449 - ])
8.1450 - ])
8.1451 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
8.1452 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
8.1453 - [AC_CHECK_LIB([dld], [dld_link],
8.1454 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
8.1455 - ])
8.1456 - ])
8.1457 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
8.1458 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
8.1459 - ])
8.1460 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
8.1461 -m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=no], [lt_cv_dlopen_self=cross])
8.1462 -m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=no], [lt_cv_dlopen_self_static=cross])
8.1463 -m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([CXX])
8.1464 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [CXX])
8.1465 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [CXX])
8.1466 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [CXX])
8.1467 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
8.1468 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1469 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
8.1470 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [CXX])
8.1471 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
8.1472 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [CXX])
8.1473 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
8.1474 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [CXX])
8.1475 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
8.1476 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [CXX])
8.1477 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
8.1478 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
8.1479 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [CXX])
8.1480 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
8.1481 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
8.1482 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1483 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1484 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [CXX])
8.1485 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [CXX])
8.1486 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [CXX])
8.1487 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1488 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
8.1489 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
8.1490 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1491 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [CXX])
8.1492 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
8.1493 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
8.1494 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
8.1495 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
8.1496 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
8.1497 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [CXX])
8.1498 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [CXX])
8.1499 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
8.1500 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [CXX])
8.1501 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1502 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1503 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
8.1504 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
8.1505 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [CXX])
8.1506 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
8.1507 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
8.1508 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [CXX])
8.1509 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [CXX])
8.1510 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [CXX])
8.1511 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [CXX])
8.1512 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
8.1513 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
8.1514 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
8.1515 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
8.1516 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [CXX])
8.1517 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
8.1518 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
8.1519 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [CXX])
8.1520 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
8.1521 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [CXX])
8.1522 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [CXX])
8.1523 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
8.1524 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
8.1525 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
8.1526 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
8.1527 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
8.1528 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
8.1529 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [CXX])
8.1530 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
8.1531 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
8.1532 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
8.1533 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
8.1534 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
8.1535 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
8.1536 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [CXX])
8.1537 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
8.1538 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
8.1539 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
8.1540 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
8.1541 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
8.1542 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
8.1543 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [CXX])
8.1544 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
8.1545 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
8.1546 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [CXX])
8.1547 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [CXX])
8.1548 -m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_F77_CONFIG
8.1549 -m4trace:configure.ac:21: -1- _LT_AC_LANG_F77_CONFIG([F77])
8.1550 -m4trace:configure.ac:21: -1- AC_SUBST([F77])
8.1551 -m4trace:configure.ac:21: -1- AC_SUBST([FFLAGS])
8.1552 -m4trace:configure.ac:21: -1- AC_SUBST([LDFLAGS])
8.1553 -m4trace:configure.ac:21: -1- AC_SUBST([F77])
8.1554 -m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_F77])
8.1555 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
8.1556 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1557 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
8.1558 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1559 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
8.1560 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1561 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1562 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
8.1563 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
8.1564 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
8.1565 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
8.1566 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
8.1567 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
8.1568 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
8.1569 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
8.1570 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
8.1571 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
8.1572 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
8.1573 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [F77])
8.1574 -m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
8.1575 -m4trace:configure.ac:21: -1- _LT_COMPILER_BOILERPLATE
8.1576 -m4trace:configure.ac:21: -1- _LT_LINKER_BOILERPLATE
8.1577 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [F77])
8.1578 -m4trace:configure.ac:21: -1- _LT_CC_BASENAME([$compiler])
8.1579 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1580 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [F77])
8.1581 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [F77])
8.1582 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_PIC([F77])
8.1583 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.1584 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1585 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1586 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.1587 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1588 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1589 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1590 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1591 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1592 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [F77])
8.1593 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1594 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1595 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1596 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.1597 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1598 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1599 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1600 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.1601 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1602 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.1603 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1604 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1605 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.1606 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1607 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1608 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1609 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.1610 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1611 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1612 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.1613 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1614 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1615 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.1616 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1617 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.1618 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1619 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1620 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1621 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1622 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1623 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.1624 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.1625 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.1626 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1627 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1628 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.1629 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1630 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1631 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1632 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1633 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.1634 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [F77])
8.1635 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1636 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1637 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [F77])
8.1638 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1639 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1640 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1641 -m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_pic_works], [F77])
8.1642 -m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, F77) works], [lt_prog_compiler_pic_works_F77], [$_LT_AC_TAGVAR(lt_prog_compiler_pic, F77)ifelse([F77],[],[ -DPIC],[ifelse([F77],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, F77) in
8.1643 - "" | " "*) ;;
8.1644 - *) _LT_AC_TAGVAR(lt_prog_compiler_pic, F77)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, F77)" ;;
8.1645 - esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, F77)=
8.1646 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, F77)=no])
8.1647 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1648 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1649 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1650 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1651 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1652 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1653 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1654 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [F77])
8.1655 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1656 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1657 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1658 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_CC_C_O([F77])
8.1659 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
8.1660 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
8.1661 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
8.1662 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
8.1663 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
8.1664 -m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_HARD_LINK_LOCKS([F77])
8.1665 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
8.1666 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_SHLIBS([F77])
8.1667 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1668 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
8.1669 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1670 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1671 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [F77])
8.1672 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [F77])
8.1673 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
8.1674 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
8.1675 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [F77])
8.1676 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1677 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
8.1678 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
8.1679 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1680 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
8.1681 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1682 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
8.1683 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
8.1684 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
8.1685 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
8.1686 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
8.1687 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
8.1688 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [F77])
8.1689 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [F77])
8.1690 -m4trace:configure.ac:21: -1- _LT_CC_BASENAME([$compiler])
8.1691 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1692 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1693 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
8.1694 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
8.1695 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
8.1696 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1697 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1698 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1699 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
8.1700 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1701 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1702 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1703 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1704 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1705 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1706 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
8.1707 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
8.1708 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
8.1709 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1710 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1711 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1712 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
8.1713 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
8.1714 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1715 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1716 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1717 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1718 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1719 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1720 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1721 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1722 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1723 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1724 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1725 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1726 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1727 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1728 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1729 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1730 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1731 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1732 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
8.1733 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
8.1734 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1735 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
8.1736 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1737 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
8.1738 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1739 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
8.1740 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
8.1741 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1742 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1743 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
8.1744 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
8.1745 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1746 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1747 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
8.1748 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1749 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
8.1750 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
8.1751 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1752 -m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
8.1753 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1754 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1755 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1756 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1757 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1758 -m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
8.1759 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1760 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
8.1761 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1762 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
8.1763 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
8.1764 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
8.1765 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1766 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1767 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1768 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
8.1769 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1770 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
8.1771 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1772 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1773 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1774 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [F77])
8.1775 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
8.1776 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [F77])
8.1777 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
8.1778 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1779 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1780 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1781 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1782 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
8.1783 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1784 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
8.1785 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1786 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
8.1787 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
8.1788 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1789 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
8.1790 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1791 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
8.1792 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1793 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
8.1794 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1795 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
8.1796 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1797 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1798 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1799 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1800 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1801 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1802 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1803 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1804 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1805 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1806 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1807 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
8.1808 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1809 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1810 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1811 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1812 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1813 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1814 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1815 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1816 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
8.1817 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1818 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
8.1819 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
8.1820 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1821 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1822 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1823 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1824 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1825 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
8.1826 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
8.1827 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1828 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1829 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1830 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1831 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1832 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
8.1833 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1834 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
8.1835 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1836 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
8.1837 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
8.1838 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1839 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1840 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
8.1841 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1842 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
8.1843 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
8.1844 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1845 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1846 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1847 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1848 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1849 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1850 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1851 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1852 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
8.1853 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1854 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1855 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1856 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1857 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1858 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1859 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
8.1860 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1861 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1862 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1863 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1864 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1865 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
8.1866 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1867 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1868 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [F77])
8.1869 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1870 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1871 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1872 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1873 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1874 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
8.1875 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1876 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1877 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1878 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1879 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1880 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1881 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1882 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
8.1883 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1884 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1885 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
8.1886 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
8.1887 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1888 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1889 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1890 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1891 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1892 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1893 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
8.1894 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
8.1895 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
8.1896 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1897 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1898 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1899 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1900 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
8.1901 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1902 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1903 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1904 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1905 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([reload_cmds], [F77])
8.1906 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1907 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1908 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1909 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1910 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1911 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1912 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
8.1913 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1914 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1915 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1916 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1917 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1918 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
8.1919 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1920 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
8.1921 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1922 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1923 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1924 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
8.1925 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1926 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1927 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1928 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1929 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1930 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1931 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.1932 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1933 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1934 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1935 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
8.1936 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
8.1937 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
8.1938 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1939 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.1940 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1941 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1942 -m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1943 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
8.1944 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
8.1945 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1946 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
8.1947 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
8.1948 -m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_DYNAMIC_LINKER([F77])
8.1949 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([F77])
8.1950 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
8.1951 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1952 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([runpath_var], [F77])
8.1953 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
8.1954 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.1955 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
8.1956 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
8.1957 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
8.1958 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
8.1959 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
8.1960 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
8.1961 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
8.1962 -m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_LIB_STRIP
8.1963 -m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([F77])
8.1964 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [F77])
8.1965 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [F77])
8.1966 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [F77])
8.1967 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.1968 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.1969 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.1970 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [F77])
8.1971 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
8.1972 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [F77])
8.1973 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
8.1974 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
8.1975 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
8.1976 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [F77])
8.1977 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [F77])
8.1978 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [F77])
8.1979 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [F77])
8.1980 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [F77])
8.1981 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [F77])
8.1982 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.1983 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.1984 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [F77])
8.1985 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [F77])
8.1986 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [F77])
8.1987 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.1988 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
8.1989 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
8.1990 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.1991 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
8.1992 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
8.1993 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
8.1994 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
8.1995 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
8.1996 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
8.1997 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [F77])
8.1998 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [F77])
8.1999 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
8.2000 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [F77])
8.2001 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.2002 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.2003 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
8.2004 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
8.2005 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [F77])
8.2006 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
8.2007 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
8.2008 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
8.2009 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [F77])
8.2010 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [F77])
8.2011 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [F77])
8.2012 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
8.2013 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
8.2014 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
8.2015 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
8.2016 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [F77])
8.2017 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
8.2018 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
8.2019 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [F77])
8.2020 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
8.2021 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [F77])
8.2022 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [F77])
8.2023 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
8.2024 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
8.2025 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
8.2026 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
8.2027 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [F77])
8.2028 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [F77])
8.2029 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [F77])
8.2030 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [F77])
8.2031 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [F77])
8.2032 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
8.2033 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
8.2034 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
8.2035 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
8.2036 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
8.2037 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
8.2038 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
8.2039 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
8.2040 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
8.2041 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
8.2042 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
8.2043 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [F77])
8.2044 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
8.2045 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
8.2046 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [F77])
8.2047 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [F77])
8.2048 -m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_GCJ_CONFIG
8.2049 -m4trace:configure.ac:21: -1- _LT_AC_LANG_GCJ_CONFIG([GCJ])
8.2050 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
8.2051 -You should run autoupdate.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
8.2052 -/targets/links/libtool/share/aclocal/libtool.m4:3931: _LT_AC_LANG_GCJ_CONFIG is expanded from...
8.2053 -/targets/links/libtool/share/aclocal/libtool.m4:3877: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
8.2054 -/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
8.2055 -/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
8.2056 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
8.2057 -/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
8.2058 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
8.2059 -/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
8.2060 -/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
8.2061 -configure.ac:21: the top level])
8.2062 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [instead of using `AC_LANG', `AC_LANG_SAVE',
8.2063 -and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
8.2064 -/targets/links/libtool/share/aclocal/libtool.m4:3931: _LT_AC_LANG_GCJ_CONFIG is expanded from...
8.2065 -/targets/links/libtool/share/aclocal/libtool.m4:3877: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
8.2066 -/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
8.2067 -/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
8.2068 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
8.2069 -/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
8.2070 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
8.2071 -/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
8.2072 -/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
8.2073 -configure.ac:21: the top level])
8.2074 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [GCJ])
8.2075 -m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
8.2076 -m4trace:configure.ac:21: -1- _LT_COMPILER_BOILERPLATE
8.2077 -m4trace:configure.ac:21: -1- _LT_LINKER_BOILERPLATE
8.2078 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [GCJ])
8.2079 -m4trace:configure.ac:21: -1- _LT_CC_BASENAME([$compiler])
8.2080 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
8.2081 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
8.2082 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_NO_RTTI([GCJ])
8.2083 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
8.2084 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
8.2085 -m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, GCJ)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, GCJ) -fno-rtti -fno-exceptions"])
8.2086 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
8.2087 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
8.2088 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_PIC([GCJ])
8.2089 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2090 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2091 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2092 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2093 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2094 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2095 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2096 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2097 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2098 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [GCJ])
8.2099 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2100 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2101 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2102 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2103 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2104 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2105 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2106 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2107 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2108 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2109 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2110 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2111 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2112 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2113 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2114 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2115 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2116 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2117 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2118 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2119 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2120 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2121 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2122 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2123 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2124 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2125 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2126 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2127 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2128 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2129 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2130 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2131 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2132 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2133 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2134 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2135 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2136 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2137 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2138 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2139 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2140 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [GCJ])
8.2141 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2142 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2143 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [GCJ])
8.2144 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2145 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2146 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2147 -m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_pic_works], [GCJ])
8.2148 -m4trace:configure.ac:21: -1- AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ) works], [lt_prog_compiler_pic_works_GCJ], [$_LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ)ifelse([GCJ],[],[ -DPIC],[ifelse([GCJ],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ) in
8.2149 - "" | " "*) ;;
8.2150 - *) _LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ)" ;;
8.2151 - esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ)=
8.2152 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, GCJ)=no])
8.2153 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2154 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2155 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2156 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2157 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2158 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2159 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2160 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [GCJ])
8.2161 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2162 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2163 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2164 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_CC_C_O([GCJ])
8.2165 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
8.2166 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
8.2167 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
8.2168 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
8.2169 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
8.2170 -m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_HARD_LINK_LOCKS([GCJ])
8.2171 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
8.2172 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_SHLIBS([GCJ])
8.2173 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2174 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
8.2175 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2176 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2177 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [GCJ])
8.2178 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [GCJ])
8.2179 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
8.2180 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
8.2181 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [GCJ])
8.2182 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2183 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
8.2184 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
8.2185 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2186 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
8.2187 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2188 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
8.2189 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
8.2190 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
8.2191 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
8.2192 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
8.2193 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
8.2194 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [GCJ])
8.2195 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [GCJ])
8.2196 -m4trace:configure.ac:21: -1- _LT_CC_BASENAME([$compiler])
8.2197 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2198 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2199 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
8.2200 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
8.2201 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
8.2202 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2203 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2204 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2205 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
8.2206 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2207 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2208 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2209 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2210 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2211 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2212 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
8.2213 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
8.2214 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
8.2215 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2216 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2217 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2218 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
8.2219 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
8.2220 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2221 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2222 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2223 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2224 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2225 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2226 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2227 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2228 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2229 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2230 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2231 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2232 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2233 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2234 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2235 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2236 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2237 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2238 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
8.2239 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
8.2240 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2241 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
8.2242 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2243 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
8.2244 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2245 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
8.2246 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
8.2247 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2248 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2249 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
8.2250 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
8.2251 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2252 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2253 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
8.2254 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2255 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
8.2256 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
8.2257 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2258 -m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
8.2259 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2260 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2261 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2262 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2263 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2264 -m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
8.2265 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2266 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
8.2267 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2268 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
8.2269 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
8.2270 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
8.2271 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2272 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2273 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2274 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
8.2275 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2276 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
8.2277 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2278 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2279 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2280 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [GCJ])
8.2281 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
8.2282 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [GCJ])
8.2283 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
8.2284 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2285 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2286 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2287 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2288 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
8.2289 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2290 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
8.2291 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2292 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
8.2293 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
8.2294 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2295 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
8.2296 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2297 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
8.2298 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2299 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
8.2300 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2301 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
8.2302 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2303 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2304 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2305 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2306 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2307 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2308 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2309 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2310 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2311 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2312 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2313 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
8.2314 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2315 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2316 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2317 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2318 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2319 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2320 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2321 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2322 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
8.2323 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2324 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
8.2325 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
8.2326 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2327 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2328 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2329 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2330 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2331 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
8.2332 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
8.2333 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2334 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2335 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2336 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2337 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2338 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
8.2339 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2340 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
8.2341 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2342 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
8.2343 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
8.2344 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2345 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2346 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
8.2347 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2348 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
8.2349 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
8.2350 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2351 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2352 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2353 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2354 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2355 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2356 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2357 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2358 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
8.2359 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2360 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2361 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2362 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2363 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2364 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2365 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
8.2366 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2367 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2368 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2369 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2370 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2371 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
8.2372 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2373 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2374 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [GCJ])
8.2375 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2376 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2377 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2378 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2379 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2380 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
8.2381 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2382 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2383 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2384 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2385 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2386 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2387 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2388 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
8.2389 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2390 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2391 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
8.2392 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
8.2393 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2394 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2395 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2396 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2397 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2398 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2399 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
8.2400 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
8.2401 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
8.2402 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2403 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2404 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2405 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2406 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
8.2407 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2408 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2409 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2410 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2411 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([reload_cmds], [GCJ])
8.2412 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2413 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2414 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2415 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2416 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2417 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2418 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
8.2419 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2420 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2421 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2422 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2423 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2424 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
8.2425 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2426 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
8.2427 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2428 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2429 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2430 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
8.2431 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2432 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2433 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2434 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2435 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2436 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2437 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2438 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2439 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2440 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2441 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
8.2442 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
8.2443 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
8.2444 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2445 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2446 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2447 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2448 -m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2449 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
8.2450 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
8.2451 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2452 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
8.2453 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
8.2454 -m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_DYNAMIC_LINKER([GCJ])
8.2455 -m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([GCJ])
8.2456 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
8.2457 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2458 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([runpath_var], [GCJ])
8.2459 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
8.2460 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2461 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
8.2462 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
8.2463 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
8.2464 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
8.2465 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
8.2466 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
8.2467 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
8.2468 -m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_LIB_STRIP
8.2469 -m4trace:configure.ac:21: -1- AC_LIBTOOL_DLOPEN_SELF([GCJ])
8.2470 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
8.2471 - lt_cv_dlopen="dyld"
8.2472 - lt_cv_dlopen_libs=
8.2473 - lt_cv_dlopen_self=yes
8.2474 - ])
8.2475 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
8.2476 - [lt_cv_dlopen="dlopen"],
8.2477 - [AC_CHECK_LIB([dl], [dlopen],
8.2478 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
8.2479 - [AC_CHECK_LIB([svld], [dlopen],
8.2480 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
8.2481 - [AC_CHECK_LIB([dld], [dld_link],
8.2482 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
8.2483 - ])
8.2484 - ])
8.2485 - ])
8.2486 - ])
8.2487 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
8.2488 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
8.2489 - [AC_CHECK_LIB([dld], [dld_link],
8.2490 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
8.2491 - ])
8.2492 - ])
8.2493 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
8.2494 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
8.2495 - ])
8.2496 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
8.2497 -m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=yes], [lt_cv_dlopen_self=no], [lt_cv_dlopen_self=cross])
8.2498 -m4trace:configure.ac:21: -1- _LT_AC_TRY_DLOPEN_SELF([lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=yes], [lt_cv_dlopen_self_static=no], [lt_cv_dlopen_self_static=cross])
8.2499 -m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([GCJ])
8.2500 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [GCJ])
8.2501 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [GCJ])
8.2502 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [GCJ])
8.2503 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2504 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2505 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2506 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
8.2507 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
8.2508 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [GCJ])
8.2509 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
8.2510 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
8.2511 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
8.2512 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [GCJ])
8.2513 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [GCJ])
8.2514 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [GCJ])
8.2515 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [GCJ])
8.2516 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [GCJ])
8.2517 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [GCJ])
8.2518 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2519 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2520 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [GCJ])
8.2521 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [GCJ])
8.2522 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [GCJ])
8.2523 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2524 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
8.2525 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
8.2526 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2527 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
8.2528 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
8.2529 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
8.2530 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
8.2531 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
8.2532 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
8.2533 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [GCJ])
8.2534 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [GCJ])
8.2535 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
8.2536 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [GCJ])
8.2537 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2538 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2539 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
8.2540 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
8.2541 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [GCJ])
8.2542 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
8.2543 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
8.2544 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
8.2545 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [GCJ])
8.2546 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [GCJ])
8.2547 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [GCJ])
8.2548 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
8.2549 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
8.2550 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
8.2551 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
8.2552 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
8.2553 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
8.2554 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
8.2555 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [GCJ])
8.2556 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
8.2557 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [GCJ])
8.2558 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [GCJ])
8.2559 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
8.2560 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
8.2561 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
8.2562 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
8.2563 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [GCJ])
8.2564 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [GCJ])
8.2565 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [GCJ])
8.2566 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [GCJ])
8.2567 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [GCJ])
8.2568 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
8.2569 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
8.2570 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
8.2571 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
8.2572 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
8.2573 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
8.2574 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
8.2575 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
8.2576 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
8.2577 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
8.2578 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
8.2579 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [GCJ])
8.2580 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
8.2581 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
8.2582 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [GCJ])
8.2583 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [GCJ])
8.2584 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
8.2585 -You should run autoupdate.], [autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from...
8.2586 -/targets/links/libtool/share/aclocal/libtool.m4:3931: _LT_AC_LANG_GCJ_CONFIG is expanded from...
8.2587 -/targets/links/libtool/share/aclocal/libtool.m4:3877: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
8.2588 -/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
8.2589 -/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
8.2590 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
8.2591 -/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
8.2592 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
8.2593 -/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
8.2594 -/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
8.2595 -configure.ac:21: the top level])
8.2596 -m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_RC_CONFIG
8.2597 -m4trace:configure.ac:21: -1- _LT_AC_LANG_RC_CONFIG([RC])
8.2598 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
8.2599 -You should run autoupdate.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
8.2600 -/targets/links/libtool/share/aclocal/libtool.m4:3975: _LT_AC_LANG_RC_CONFIG is expanded from...
8.2601 -/targets/links/libtool/share/aclocal/libtool.m4:3939: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
8.2602 -/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
8.2603 -/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
8.2604 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
8.2605 -/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
8.2606 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
8.2607 -/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
8.2608 -/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
8.2609 -configure.ac:21: the top level])
8.2610 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [instead of using `AC_LANG', `AC_LANG_SAVE',
8.2611 -and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
8.2612 -/targets/links/libtool/share/aclocal/libtool.m4:3975: _LT_AC_LANG_RC_CONFIG is expanded from...
8.2613 -/targets/links/libtool/share/aclocal/libtool.m4:3939: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
8.2614 -/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
8.2615 -/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
8.2616 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
8.2617 -/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
8.2618 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
8.2619 -/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
8.2620 -/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
8.2621 -configure.ac:21: the top level])
8.2622 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [RC])
8.2623 -m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
8.2624 -m4trace:configure.ac:21: -1- _LT_COMPILER_BOILERPLATE
8.2625 -m4trace:configure.ac:21: -1- _LT_LINKER_BOILERPLATE
8.2626 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [RC])
8.2627 -m4trace:configure.ac:21: -1- _LT_CC_BASENAME([$compiler])
8.2628 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [RC])
8.2629 -m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([RC])
8.2630 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [RC])
8.2631 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [RC])
8.2632 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [RC])
8.2633 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [RC])
8.2634 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [RC])
8.2635 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [RC])
8.2636 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [RC])
8.2637 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [RC])
8.2638 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [RC])
8.2639 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [RC])
8.2640 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [RC])
8.2641 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [RC])
8.2642 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [RC])
8.2643 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [RC])
8.2644 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [RC])
8.2645 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [RC])
8.2646 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [RC])
8.2647 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [RC])
8.2648 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [RC])
8.2649 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [RC])
8.2650 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [RC])
8.2651 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [RC])
8.2652 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [RC])
8.2653 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [RC])
8.2654 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [RC])
8.2655 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [RC])
8.2656 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [RC])
8.2657 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [RC])
8.2658 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [RC])
8.2659 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [RC])
8.2660 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [RC])
8.2661 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [RC])
8.2662 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [RC])
8.2663 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [RC])
8.2664 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [RC])
8.2665 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [RC])
8.2666 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [RC])
8.2667 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [RC])
8.2668 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [RC])
8.2669 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [RC])
8.2670 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [RC])
8.2671 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [RC])
8.2672 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [RC])
8.2673 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [RC])
8.2674 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [RC])
8.2675 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [RC])
8.2676 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [RC])
8.2677 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [RC])
8.2678 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [RC])
8.2679 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [RC])
8.2680 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [RC])
8.2681 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [RC])
8.2682 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [RC])
8.2683 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [RC])
8.2684 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [RC])
8.2685 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [RC])
8.2686 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [RC])
8.2687 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [RC])
8.2688 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [RC])
8.2689 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [RC])
8.2690 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [RC])
8.2691 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [RC])
8.2692 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [RC])
8.2693 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [RC])
8.2694 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [RC])
8.2695 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [RC])
8.2696 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [RC])
8.2697 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [RC])
8.2698 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [RC])
8.2699 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [RC])
8.2700 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [RC])
8.2701 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [RC])
8.2702 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [RC])
8.2703 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [RC])
8.2704 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [RC])
8.2705 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [RC])
8.2706 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [RC])
8.2707 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [RC])
8.2708 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [RC])
8.2709 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [RC])
8.2710 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [RC])
8.2711 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [RC])
8.2712 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [RC])
8.2713 -m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [RC])
8.2714 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
8.2715 -You should run autoupdate.], [autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from...
8.2716 -/targets/links/libtool/share/aclocal/libtool.m4:3975: _LT_AC_LANG_RC_CONFIG is expanded from...
8.2717 -/targets/links/libtool/share/aclocal/libtool.m4:3939: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
8.2718 -/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
8.2719 -/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
8.2720 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
8.2721 -/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
8.2722 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
8.2723 -/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
8.2724 -/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
8.2725 -configure.ac:21: the top level])
8.2726 -m4trace:configure.ac:21: -1- AC_SUBST([LIBTOOL])
8.2727 -m4trace:configure.ac:21: -1- AC_LIBTOOL_CXX
8.2728 -m4trace:configure.ac:21: -1- _LT_AC_LANG_CXX
8.2729 -m4trace:configure.ac:21: -1- _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
8.2730 -m4trace:configure.ac:21: -1- AC_LIBTOOL_F77
8.2731 -m4trace:configure.ac:21: -1- _LT_AC_LANG_F77
8.2732 -m4trace:configure.ac:21: -1- _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
8.2733 -m4trace:configure.ac:23: -1- AM_CONFIG_HEADER([config.h])
8.2734 -m4trace:configure.ac:23: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
8.2735 -You should run autoupdate.], [/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/header.m4:23: AM_CONFIG_HEADER is expanded from...
8.2736 -configure.ac:23: the top level])
8.2737 -m4trace:configure.ac:23: -1- AC_CONFIG_HEADERS([config.h])
8.2738 -m4trace:configure.ac:26: -1- AC_SUBST([ACLOCAL_AMFLAGS], ["-I m4"])
8.2739 -m4trace:configure.ac:29: -1- AC_PROG_CC
8.2740 -m4trace:configure.ac:29: -1- AC_SUBST([CC])
8.2741 -m4trace:configure.ac:29: -1- AC_SUBST([CFLAGS])
8.2742 -m4trace:configure.ac:29: -1- AC_SUBST([LDFLAGS])
8.2743 -m4trace:configure.ac:29: -1- AC_SUBST([CPPFLAGS])
8.2744 -m4trace:configure.ac:29: -1- AC_SUBST([CC])
8.2745 -m4trace:configure.ac:29: -1- AC_SUBST([ac_ct_CC])
8.2746 -m4trace:configure.ac:29: -1- AC_SUBST([CC])
8.2747 -m4trace:configure.ac:29: -1- AC_SUBST([ac_ct_CC])
8.2748 -m4trace:configure.ac:29: -1- AC_SUBST([CC])
8.2749 -m4trace:configure.ac:29: -1- AC_SUBST([CC])
8.2750 -m4trace:configure.ac:29: -1- AC_SUBST([ac_ct_CC])
8.2751 -m4trace:configure.ac:29: -1- _AM_DEPENDENCIES([CC])
8.2752 -m4trace:configure.ac:29: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
8.2753 -m4trace:configure.ac:29: -1- AM_CONDITIONAL([am__fastdepCC], [
8.2754 - test "x$enable_dependency_tracking" != xno \
8.2755 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
8.2756 -m4trace:configure.ac:29: -1- AC_SUBST([am__fastdepCC_TRUE])
8.2757 -m4trace:configure.ac:29: -1- AC_SUBST([am__fastdepCC_FALSE])
8.2758 -m4trace:configure.ac:30: -1- _m4_warn([obsolete], [The macro `AC_PROG_CC_STDC' is obsolete.
8.2759 -You should run autoupdate.], [autoconf/c.m4:870: AC_PROG_CC_STDC is expanded from...
8.2760 -configure.ac:30: the top level])
8.2761 -m4trace:configure.ac:31: -1- AM_PROG_AS
8.2762 -m4trace:configure.ac:31: -1- AC_SUBST([CCAS])
8.2763 -m4trace:configure.ac:31: -1- AC_SUBST([CCASFLAGS])
8.2764 -m4trace:configure.ac:34: -1- AS_COMPILER_FLAG([-Wall], [GST_WALL="yes"], [GST_WALL="no"])
8.2765 -m4trace:configure.ac:34: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
8.2766 -You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
8.2767 -m4/as-compiler-flag.m4:32: AS_COMPILER_FLAG is expanded from...
8.2768 -configure.ac:34: the top level])
8.2769 -m4trace:configure.ac:40: -1- AS_COMPILER_FLAG([-Werror], [ERROR_CFLAGS="$ERROR_CFLAGS -Werror"], [ERROR_CFLAGS="$ERROR_CFLAGS"])
8.2770 -m4trace:configure.ac:40: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
8.2771 -You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
8.2772 -m4/as-compiler-flag.m4:32: AS_COMPILER_FLAG is expanded from...
8.2773 -configure.ac:40: the top level])
8.2774 -m4trace:configure.ac:44: -1- AC_SUBST([ERROR_CFLAGS])
8.2775 -m4trace:configure.ac:47: -1- AC_PROG_CXX
8.2776 -m4trace:configure.ac:47: -1- AC_SUBST([CXX])
8.2777 -m4trace:configure.ac:47: -1- AC_SUBST([CXXFLAGS])
8.2778 -m4trace:configure.ac:47: -1- AC_SUBST([LDFLAGS])
8.2779 -m4trace:configure.ac:47: -1- AC_SUBST([CPPFLAGS])
8.2780 -m4trace:configure.ac:47: -1- AC_SUBST([CXX])
8.2781 -m4trace:configure.ac:47: -1- AC_SUBST([ac_ct_CXX])
8.2782 -m4trace:configure.ac:47: -1- _AM_DEPENDENCIES([CXX])
8.2783 -m4trace:configure.ac:47: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
8.2784 -m4trace:configure.ac:47: -1- AM_CONDITIONAL([am__fastdepCXX], [
8.2785 - test "x$enable_dependency_tracking" != xno \
8.2786 - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
8.2787 -m4trace:configure.ac:47: -1- AC_SUBST([am__fastdepCXX_TRUE])
8.2788 -m4trace:configure.ac:47: -1- AC_SUBST([am__fastdepCXX_FALSE])
8.2789 -m4trace:configure.ac:49: -1- AC_SUBST([HAVE_CXX])
8.2790 -m4trace:configure.ac:51: -1- AC_SUBST([CXXCPP])
8.2791 -m4trace:configure.ac:51: -1- AC_SUBST([CPPFLAGS])
8.2792 -m4trace:configure.ac:51: -1- AC_SUBST([CXXCPP])
8.2793 -m4trace:configure.ac:52: -1- AC_CHECK_LIB([cposix], [strerror], [LIBS="$LIBS -lcposix"])
8.2794 -m4trace:configure.ac:54: -1- AC_HEADER_STDC([])
8.2795 -m4trace:configure.ac:54: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
8.2796 -m4trace:configure.ac:54: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
8.2797 -#undef STDC_HEADERS])
8.2798 -m4trace:configure.ac:55: -1- AC_C_INLINE
8.2799 -m4trace:configure.ac:55: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
8.2800 - calls it, or to nothing if \'inline\' is not supported under any name. */
8.2801 -#ifndef __cplusplus
8.2802 -#undef inline
8.2803 -#endif])
8.2804 -m4trace:configure.ac:58: -1- AC_SUBST([HAVE_PKGCONFIG])
8.2805 -m4trace:configure.ac:73: -1- PKG_CHECK_MODULES([GST], [\
8.2806 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED], [HAVE_GST=yes], [HAVE_GST=no])
8.2807 -m4trace:configure.ac:73: -1- AC_SUBST([PKG_CONFIG], [$ac_cv_path_PKG_CONFIG])
8.2808 -m4trace:configure.ac:73: -1- AC_SUBST([GST_CFLAGS])
8.2809 -m4trace:configure.ac:73: -1- AC_SUBST([GST_LIBS])
8.2810 -m4trace:configure.ac:85: -1- AC_SUBST([GST_CFLAGS])
8.2811 -m4trace:configure.ac:86: -1- AC_SUBST([GST_LIBS])
8.2812 -m4trace:configure.ac:89: -1- AC_SUBST([GST_MAJORMINOR])
8.2813 -m4trace:configure.ac:93: -1- PKG_CHECK_MODULES([GST_BASE], [gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED], [HAVE_GST_BASE="yes"], [HAVE_GST_BASE="no"])
8.2814 -m4trace:configure.ac:93: -1- AC_SUBST([PKG_CONFIG], [$ac_cv_path_PKG_CONFIG])
8.2815 -m4trace:configure.ac:93: -1- AC_SUBST([GST_BASE_CFLAGS])
8.2816 -m4trace:configure.ac:93: -1- AC_SUBST([GST_BASE_LIBS])
8.2817 -m4trace:configure.ac:99: -1- AC_SUBST([GST_BASE_LIBS])
8.2818 -m4trace:configure.ac:100: -1- AC_SUBST([GST_BASE_CFLAGS])
8.2819 -m4trace:configure.ac:104: -1- PKG_CHECK_MODULES([GST_PLUGINS_BASE], [gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED], [HAVE_GST_PLUGINS="yes"], [HAVE_GST_PLUGINS="no"])
8.2820 -m4trace:configure.ac:104: -1- AC_SUBST([PKG_CONFIG], [$ac_cv_path_PKG_CONFIG])
8.2821 -m4trace:configure.ac:104: -1- AC_SUBST([GST_PLUGINS_BASE_CFLAGS])
8.2822 -m4trace:configure.ac:104: -1- AC_SUBST([GST_PLUGINS_BASE_LIBS])
8.2823 -m4trace:configure.ac:110: -1- AC_SUBST([GST_PLUGINS_BASE_LIBS])
8.2824 -m4trace:configure.ac:111: -1- AC_SUBST([GST_PLUGINS_BASE_CFLAGS])
8.2825 -m4trace:configure.ac:115: -1- AC_SUBST([plugindir])
8.2826 -m4trace:configure.ac:119: -1- AC_SUBST([GST_PLUGIN_LDFLAGS])
8.2827 -m4trace:configure.ac:125: -1- AC_CONFIG_FILES([\
8.2828 - Makefile \
8.2829 - src/Makefile \
8.2830 - m4/Makefile
8.2831 -])
8.2832 -m4trace:configure.ac:125: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
8.2833 -You should run autoupdate.], [])
8.2834 -m4trace:configure.ac:125: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
8.2835 -m4trace:configure.ac:125: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
8.2836 -m4trace:configure.ac:125: -1- _AC_AM_CONFIG_HEADER_HOOK([$ac_file])
8.2837 -m4trace:configure.ac:125: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
9.1 --- a/gst-plugins-nuvdemux/autom4te.cache/traces.1 Thu Oct 26 18:55:14 2006 +0100
9.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
9.3 @@ -1,567 +0,0 @@
9.4 -m4trace:aclocal.m4:7227: -1- m4_include([m4/as-compiler-flag.m4])
9.5 -m4trace:aclocal.m4:7228: -1- m4_include([m4/as-version.m4])
9.6 -m4trace:configure.ac:3: -1- AC_INIT
9.7 -m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?A[CHUM]_])
9.8 -m4trace:configure.ac:3: -1- m4_pattern_forbid([_AC_])
9.9 -m4trace:configure.ac:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
9.10 -m4trace:configure.ac:3: -1- m4_pattern_allow([^AS_FLAGS$])
9.11 -m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?m4_])
9.12 -m4trace:configure.ac:3: -1- m4_pattern_forbid([^dnl$])
9.13 -m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?AS_])
9.14 -m4trace:configure.ac:3: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
9.15 -m4trace:configure.ac:3: -1- AC_SUBST([PATH_SEPARATOR])
9.16 -m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
9.17 -m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
9.18 -m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
9.19 -m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
9.20 -m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
9.21 -m4trace:configure.ac:3: -1- AC_SUBST([exec_prefix], [NONE])
9.22 -m4trace:configure.ac:3: -1- AC_SUBST([prefix], [NONE])
9.23 -m4trace:configure.ac:3: -1- AC_SUBST([program_transform_name], [s,x,x,])
9.24 -m4trace:configure.ac:3: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
9.25 -m4trace:configure.ac:3: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
9.26 -m4trace:configure.ac:3: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
9.27 -m4trace:configure.ac:3: -1- AC_SUBST([datadir], ['${prefix}/share'])
9.28 -m4trace:configure.ac:3: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
9.29 -m4trace:configure.ac:3: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
9.30 -m4trace:configure.ac:3: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
9.31 -m4trace:configure.ac:3: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
9.32 -m4trace:configure.ac:3: -1- AC_SUBST([includedir], ['${prefix}/include'])
9.33 -m4trace:configure.ac:3: -1- AC_SUBST([oldincludedir], ['/usr/include'])
9.34 -m4trace:configure.ac:3: -1- AC_SUBST([infodir], ['${prefix}/info'])
9.35 -m4trace:configure.ac:3: -1- AC_SUBST([mandir], ['${prefix}/man'])
9.36 -m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
9.37 -m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
9.38 -#undef PACKAGE_NAME])
9.39 -m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
9.40 -m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
9.41 -#undef PACKAGE_TARNAME])
9.42 -m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
9.43 -m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
9.44 -#undef PACKAGE_VERSION])
9.45 -m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
9.46 -m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
9.47 -#undef PACKAGE_STRING])
9.48 -m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
9.49 -m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
9.50 -#undef PACKAGE_BUGREPORT])
9.51 -m4trace:configure.ac:3: -1- AC_SUBST([build_alias])
9.52 -m4trace:configure.ac:3: -1- AC_SUBST([host_alias])
9.53 -m4trace:configure.ac:3: -1- AC_SUBST([target_alias])
9.54 -m4trace:configure.ac:3: -1- AC_SUBST([DEFS])
9.55 -m4trace:configure.ac:3: -1- AC_SUBST([ECHO_C])
9.56 -m4trace:configure.ac:3: -1- AC_SUBST([ECHO_N])
9.57 -m4trace:configure.ac:3: -1- AC_SUBST([ECHO_T])
9.58 -m4trace:configure.ac:3: -1- AC_SUBST([LIBS])
9.59 -m4trace:configure.ac:4: -1- AC_CANONICAL_HOST
9.60 -m4trace:configure.ac:4: -1- AC_SUBST([build], [$ac_cv_build])
9.61 -m4trace:configure.ac:4: -1- AC_SUBST([build_cpu], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
9.62 -m4trace:configure.ac:4: -1- AC_SUBST([build_vendor], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
9.63 -m4trace:configure.ac:4: -1- AC_SUBST([build_os], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
9.64 -m4trace:configure.ac:4: -1- AC_SUBST([host], [$ac_cv_host])
9.65 -m4trace:configure.ac:4: -1- AC_SUBST([host_cpu], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
9.66 -m4trace:configure.ac:4: -1- AC_SUBST([host_vendor], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
9.67 -m4trace:configure.ac:4: -1- AC_SUBST([host_os], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
9.68 -m4trace:configure.ac:4: -1- AC_SUBST([target], [$ac_cv_target])
9.69 -m4trace:configure.ac:4: -1- AC_SUBST([target_cpu], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
9.70 -m4trace:configure.ac:4: -1- AC_SUBST([target_vendor], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
9.71 -m4trace:configure.ac:4: -1- AC_SUBST([target_os], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
9.72 -m4trace:configure.ac:10: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
9.73 -You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
9.74 -autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
9.75 -aclocal.m4:1896: AC_ENABLE_STATIC is expanded from...
9.76 -aclocal.m4:1905: AC_DISABLE_STATIC is expanded from...
9.77 -aclocal.m4:6100: AM_DISABLE_STATIC is expanded from...
9.78 -configure.ac:10: the top level])
9.79 -m4trace:configure.ac:13: -1- AM_MAINTAINER_MODE
9.80 -m4trace:configure.ac:13: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
9.81 -m4trace:configure.ac:13: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
9.82 -m4trace:configure.ac:13: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
9.83 -m4trace:configure.ac:13: -1- AC_SUBST([MAINT])
9.84 -m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([GST_PLUGINS_VERSION])
9.85 -m4trace:configure.ac:17: -1- AH_OUTPUT([GST_PLUGINS_VERSION], [/* Define the version */
9.86 -#undef GST_PLUGINS_VERSION])
9.87 -m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION])
9.88 -m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([GST_PLUGINS_VERSION_RELEASE])
9.89 -m4trace:configure.ac:17: -1- AH_OUTPUT([GST_PLUGINS_VERSION_RELEASE], [/* Define the release version */
9.90 -#undef GST_PLUGINS_VERSION_RELEASE])
9.91 -m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_RELEASE])
9.92 -m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_MAJOR])
9.93 -m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_MINOR])
9.94 -m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_MICRO])
9.95 -m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_NANO])
9.96 -m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
9.97 -m4trace:configure.ac:17: -1- AH_OUTPUT([PACKAGE], [/* Define the package name */
9.98 -#undef PACKAGE])
9.99 -m4trace:configure.ac:17: -1- AC_SUBST([PACKAGE])
9.100 -m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
9.101 -m4trace:configure.ac:17: -1- AH_OUTPUT([VERSION], [/* Define the version */
9.102 -#undef VERSION])
9.103 -m4trace:configure.ac:17: -1- AC_SUBST([VERSION])
9.104 -m4trace:configure.ac:19: -1- AM_INIT_AUTOMAKE([$PACKAGE], [$VERSION])
9.105 -m4trace:configure.ac:19: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
9.106 -m4trace:configure.ac:19: -1- AM_AUTOMAKE_VERSION([1.8.5])
9.107 -m4trace:configure.ac:19: -1- AC_PROG_INSTALL
9.108 -m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_PROGRAM])
9.109 -m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_SCRIPT])
9.110 -m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_DATA])
9.111 -m4trace:configure.ac:19: -1- AC_SUBST([CYGPATH_W])
9.112 -m4trace:configure.ac:19: -1- AC_SUBST([PACKAGE], [$PACKAGE])
9.113 -m4trace:configure.ac:19: -1- AC_SUBST([VERSION], [$VERSION])
9.114 -m4trace:configure.ac:19: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
9.115 -m4trace:configure.ac:19: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
9.116 -#undef PACKAGE])
9.117 -m4trace:configure.ac:19: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
9.118 -m4trace:configure.ac:19: -1- AH_OUTPUT([VERSION], [/* Version number of package */
9.119 -#undef VERSION])
9.120 -m4trace:configure.ac:19: -1- AC_SUBST([ACLOCAL])
9.121 -m4trace:configure.ac:19: -1- AC_SUBST([AUTOCONF])
9.122 -m4trace:configure.ac:19: -1- AC_SUBST([AUTOMAKE])
9.123 -m4trace:configure.ac:19: -1- AC_SUBST([AUTOHEADER])
9.124 -m4trace:configure.ac:19: -1- AC_SUBST([MAKEINFO])
9.125 -m4trace:configure.ac:19: -1- AC_SUBST([AMTAR])
9.126 -m4trace:configure.ac:19: -1- AC_SUBST([install_sh])
9.127 -m4trace:configure.ac:19: -1- AC_SUBST([STRIP])
9.128 -m4trace:configure.ac:19: -1- AC_SUBST([ac_ct_STRIP])
9.129 -m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
9.130 -m4trace:configure.ac:19: -1- AC_SUBST([mkdir_p])
9.131 -m4trace:configure.ac:19: -1- AC_PROG_AWK
9.132 -m4trace:configure.ac:19: -1- AC_SUBST([AWK])
9.133 -m4trace:configure.ac:19: -1- AC_PROG_MAKE_SET
9.134 -m4trace:configure.ac:19: -1- AC_SUBST([SET_MAKE])
9.135 -m4trace:configure.ac:19: -1- AC_SUBST([am__leading_dot])
9.136 -m4trace:configure.ac:21: -1- AC_PROG_LIBTOOL
9.137 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
9.138 -You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
9.139 -autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
9.140 -aclocal.m4:1857: AC_ENABLE_SHARED is expanded from...
9.141 -configure.ac:21: AC_ENABLE_SHARED is required by...
9.142 -aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
9.143 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.144 -aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
9.145 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.146 -aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
9.147 -aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
9.148 -configure.ac:21: the top level])
9.149 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
9.150 -You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
9.151 -autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
9.152 -aclocal.m4:1935: AC_ENABLE_FAST_INSTALL is expanded from...
9.153 -configure.ac:21: AC_ENABLE_FAST_INSTALL is required by...
9.154 -aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
9.155 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.156 -aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
9.157 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.158 -aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
9.159 -aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
9.160 -configure.ac:21: the top level])
9.161 -m4trace:configure.ac:21: -1- AC_PROG_CC
9.162 -m4trace:configure.ac:21: -1- AC_SUBST([CC])
9.163 -m4trace:configure.ac:21: -1- AC_SUBST([CFLAGS])
9.164 -m4trace:configure.ac:21: -1- AC_SUBST([LDFLAGS])
9.165 -m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
9.166 -m4trace:configure.ac:21: -1- AC_SUBST([CC])
9.167 -m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CC])
9.168 -m4trace:configure.ac:21: -1- AC_SUBST([CC])
9.169 -m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CC])
9.170 -m4trace:configure.ac:21: -1- AC_SUBST([CC])
9.171 -m4trace:configure.ac:21: -1- AC_SUBST([CC])
9.172 -m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CC])
9.173 -m4trace:configure.ac:21: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
9.174 -m4trace:configure.ac:21: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
9.175 -m4trace:configure.ac:21: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
9.176 -m4trace:configure.ac:21: -1- AC_SUBST([am__include])
9.177 -m4trace:configure.ac:21: -1- AC_SUBST([am__quote])
9.178 -m4trace:configure.ac:21: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
9.179 -m4trace:configure.ac:21: -1- AC_SUBST([AMDEP_TRUE])
9.180 -m4trace:configure.ac:21: -1- AC_SUBST([AMDEP_FALSE])
9.181 -m4trace:configure.ac:21: -1- AC_SUBST([AMDEPBACKSLASH])
9.182 -m4trace:configure.ac:21: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
9.183 -m4trace:configure.ac:21: -1- AM_CONDITIONAL([am__fastdepCC], [
9.184 - test "x$enable_dependency_tracking" != xno \
9.185 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
9.186 -m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCC_TRUE])
9.187 -m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCC_FALSE])
9.188 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
9.189 -You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
9.190 -autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
9.191 -aclocal.m4:2132: AC_PROG_LD is expanded from...
9.192 -configure.ac:21: AC_PROG_LD is required by...
9.193 -aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
9.194 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.195 -aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
9.196 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.197 -aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
9.198 -aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
9.199 -configure.ac:21: the top level])
9.200 -m4trace:configure.ac:21: -1- AC_SUBST([EGREP])
9.201 -m4trace:configure.ac:21: -1- AC_PROG_LN_S
9.202 -m4trace:configure.ac:21: -1- AC_SUBST([LN_S], [$as_ln_s])
9.203 -m4trace:configure.ac:21: -1- AC_SUBST([ECHO])
9.204 -m4trace:configure.ac:21: -1- AC_SUBST([AR])
9.205 -m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_AR])
9.206 -m4trace:configure.ac:21: -1- AC_SUBST([RANLIB])
9.207 -m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_RANLIB])
9.208 -m4trace:configure.ac:21: -1- AC_SUBST([STRIP])
9.209 -m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_STRIP])
9.210 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
9.211 -You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
9.212 -autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
9.213 -aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
9.214 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.215 -aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
9.216 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.217 -aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
9.218 -aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
9.219 -configure.ac:21: the top level])
9.220 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
9.221 -You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
9.222 -autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
9.223 -aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
9.224 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.225 -aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
9.226 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.227 -aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
9.228 -aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
9.229 -configure.ac:21: the top level])
9.230 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
9.231 -You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
9.232 -autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
9.233 -autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
9.234 -aclocal.m4:594: _LT_AC_LOCK is expanded from...
9.235 -configure.ac:21: _LT_AC_LOCK is required by...
9.236 -aclocal.m4:1061: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
9.237 -aclocal.m4:2664: _LT_AC_LANG_C_CONFIG is expanded from...
9.238 -aclocal.m4:2564: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
9.239 -aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
9.240 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.241 -aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
9.242 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.243 -aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
9.244 -aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
9.245 -configure.ac:21: the top level])
9.246 -m4trace:configure.ac:21: -1- AC_CHECK_HEADERS([dlfcn.h])
9.247 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
9.248 -#undef HAVE_DLFCN_H])
9.249 -m4trace:configure.ac:21: -1- AC_HEADER_STDC
9.250 -m4trace:configure.ac:21: -1- AC_PROG_CPP
9.251 -m4trace:configure.ac:21: -1- AC_SUBST([CPP])
9.252 -m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
9.253 -m4trace:configure.ac:21: -1- AC_SUBST([CPP])
9.254 -m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
9.255 -m4trace:configure.ac:21: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
9.256 -#undef STDC_HEADERS])
9.257 -m4trace:configure.ac:21: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9.258 - inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default])
9.259 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
9.260 -#undef HAVE_SYS_TYPES_H])
9.261 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
9.262 -#undef HAVE_SYS_STAT_H])
9.263 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
9.264 -#undef HAVE_STDLIB_H])
9.265 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
9.266 -#undef HAVE_STRING_H])
9.267 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
9.268 -#undef HAVE_MEMORY_H])
9.269 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
9.270 -#undef HAVE_STRINGS_H])
9.271 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
9.272 -#undef HAVE_INTTYPES_H])
9.273 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
9.274 -#undef HAVE_STDINT_H])
9.275 -m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
9.276 -#undef HAVE_UNISTD_H])
9.277 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
9.278 - lt_cv_dlopen="dyld"
9.279 - lt_cv_dlopen_libs=
9.280 - lt_cv_dlopen_self=yes
9.281 - ])
9.282 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
9.283 - [lt_cv_dlopen="dlopen"],
9.284 - [AC_CHECK_LIB([dl], [dlopen],
9.285 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
9.286 - [AC_CHECK_LIB([svld], [dlopen],
9.287 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
9.288 - [AC_CHECK_LIB([dld], [dld_link],
9.289 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.290 - ])
9.291 - ])
9.292 - ])
9.293 - ])
9.294 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
9.295 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
9.296 - [AC_CHECK_LIB([dld], [dld_link],
9.297 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.298 - ])
9.299 - ])
9.300 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
9.301 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.302 - ])
9.303 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.304 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
9.305 -You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
9.306 -autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
9.307 -aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
9.308 -aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
9.309 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.310 -aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
9.311 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.312 -aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
9.313 -aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
9.314 -configure.ac:21: the top level])
9.315 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me:$LINENO: error: tag name \"$tagname\" already exists], [aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
9.316 -aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
9.317 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.318 -aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
9.319 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.320 -aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
9.321 -aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
9.322 -configure.ac:21: the top level])
9.323 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [back quotes and double quotes must not be escaped in: $as_me: error: tag name \"$tagname\" already exists], [aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
9.324 -aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
9.325 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.326 -aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
9.327 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.328 -aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
9.329 -aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
9.330 -configure.ac:21: the top level])
9.331 -m4trace:configure.ac:21: -1- AC_PROG_CXX
9.332 -m4trace:configure.ac:21: -1- AC_SUBST([CXX])
9.333 -m4trace:configure.ac:21: -1- AC_SUBST([CXXFLAGS])
9.334 -m4trace:configure.ac:21: -1- AC_SUBST([LDFLAGS])
9.335 -m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
9.336 -m4trace:configure.ac:21: -1- AC_SUBST([CXX])
9.337 -m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CXX])
9.338 -m4trace:configure.ac:21: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
9.339 -m4trace:configure.ac:21: -1- AM_CONDITIONAL([am__fastdepCXX], [
9.340 - test "x$enable_dependency_tracking" != xno \
9.341 - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
9.342 -m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCXX_TRUE])
9.343 -m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCXX_FALSE])
9.344 -m4trace:configure.ac:21: -1- AC_SUBST([CXXCPP])
9.345 -m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
9.346 -m4trace:configure.ac:21: -1- AC_SUBST([CXXCPP])
9.347 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
9.348 - lt_cv_dlopen="dyld"
9.349 - lt_cv_dlopen_libs=
9.350 - lt_cv_dlopen_self=yes
9.351 - ])
9.352 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
9.353 - [lt_cv_dlopen="dlopen"],
9.354 - [AC_CHECK_LIB([dl], [dlopen],
9.355 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
9.356 - [AC_CHECK_LIB([svld], [dlopen],
9.357 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
9.358 - [AC_CHECK_LIB([dld], [dld_link],
9.359 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.360 - ])
9.361 - ])
9.362 - ])
9.363 - ])
9.364 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
9.365 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
9.366 - [AC_CHECK_LIB([dld], [dld_link],
9.367 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.368 - ])
9.369 - ])
9.370 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
9.371 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.372 - ])
9.373 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.374 -m4trace:configure.ac:21: -1- AC_SUBST([F77])
9.375 -m4trace:configure.ac:21: -1- AC_SUBST([FFLAGS])
9.376 -m4trace:configure.ac:21: -1- AC_SUBST([LDFLAGS])
9.377 -m4trace:configure.ac:21: -1- AC_SUBST([F77])
9.378 -m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_F77])
9.379 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
9.380 -You should run autoupdate.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
9.381 -aclocal.m4:3925: _LT_AC_LANG_GCJ_CONFIG is expanded from...
9.382 -aclocal.m4:3875: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
9.383 -aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
9.384 -aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
9.385 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.386 -aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
9.387 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.388 -aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
9.389 -aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
9.390 -configure.ac:21: the top level])
9.391 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [instead of using `AC_LANG', `AC_LANG_SAVE',
9.392 -and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
9.393 -aclocal.m4:3925: _LT_AC_LANG_GCJ_CONFIG is expanded from...
9.394 -aclocal.m4:3875: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
9.395 -aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
9.396 -aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
9.397 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.398 -aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
9.399 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.400 -aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
9.401 -aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
9.402 -configure.ac:21: the top level])
9.403 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
9.404 - lt_cv_dlopen="dyld"
9.405 - lt_cv_dlopen_libs=
9.406 - lt_cv_dlopen_self=yes
9.407 - ])
9.408 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
9.409 - [lt_cv_dlopen="dlopen"],
9.410 - [AC_CHECK_LIB([dl], [dlopen],
9.411 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
9.412 - [AC_CHECK_LIB([svld], [dlopen],
9.413 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
9.414 - [AC_CHECK_LIB([dld], [dld_link],
9.415 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.416 - ])
9.417 - ])
9.418 - ])
9.419 - ])
9.420 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
9.421 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
9.422 - [AC_CHECK_LIB([dld], [dld_link],
9.423 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.424 - ])
9.425 - ])
9.426 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
9.427 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.428 - ])
9.429 -m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.430 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
9.431 -You should run autoupdate.], [autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from...
9.432 -aclocal.m4:3925: _LT_AC_LANG_GCJ_CONFIG is expanded from...
9.433 -aclocal.m4:3875: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
9.434 -aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
9.435 -aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
9.436 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.437 -aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
9.438 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.439 -aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
9.440 -aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
9.441 -configure.ac:21: the top level])
9.442 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
9.443 -You should run autoupdate.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
9.444 -aclocal.m4:3969: _LT_AC_LANG_RC_CONFIG is expanded from...
9.445 -aclocal.m4:3933: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
9.446 -aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
9.447 -aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
9.448 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.449 -aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
9.450 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.451 -aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
9.452 -aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
9.453 -configure.ac:21: the top level])
9.454 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [instead of using `AC_LANG', `AC_LANG_SAVE',
9.455 -and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
9.456 -aclocal.m4:3969: _LT_AC_LANG_RC_CONFIG is expanded from...
9.457 -aclocal.m4:3933: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
9.458 -aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
9.459 -aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
9.460 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.461 -aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
9.462 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.463 -aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
9.464 -aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
9.465 -configure.ac:21: the top level])
9.466 -m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
9.467 -You should run autoupdate.], [autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from...
9.468 -aclocal.m4:3969: _LT_AC_LANG_RC_CONFIG is expanded from...
9.469 -aclocal.m4:3933: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
9.470 -aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
9.471 -aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
9.472 -configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.473 -aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
9.474 -configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.475 -aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
9.476 -aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
9.477 -configure.ac:21: the top level])
9.478 -m4trace:configure.ac:21: -1- AC_SUBST([LIBTOOL])
9.479 -m4trace:configure.ac:23: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
9.480 -You should run autoupdate.], [aclocal.m4:6680: AM_CONFIG_HEADER is expanded from...
9.481 -configure.ac:23: the top level])
9.482 -m4trace:configure.ac:23: -1- AC_CONFIG_HEADERS([config.h])
9.483 -m4trace:configure.ac:26: -1- AC_SUBST([ACLOCAL_AMFLAGS], ["-I m4"])
9.484 -m4trace:configure.ac:29: -1- AC_PROG_CC
9.485 -m4trace:configure.ac:29: -1- AC_SUBST([CC])
9.486 -m4trace:configure.ac:29: -1- AC_SUBST([CFLAGS])
9.487 -m4trace:configure.ac:29: -1- AC_SUBST([LDFLAGS])
9.488 -m4trace:configure.ac:29: -1- AC_SUBST([CPPFLAGS])
9.489 -m4trace:configure.ac:29: -1- AC_SUBST([CC])
9.490 -m4trace:configure.ac:29: -1- AC_SUBST([ac_ct_CC])
9.491 -m4trace:configure.ac:29: -1- AC_SUBST([CC])
9.492 -m4trace:configure.ac:29: -1- AC_SUBST([ac_ct_CC])
9.493 -m4trace:configure.ac:29: -1- AC_SUBST([CC])
9.494 -m4trace:configure.ac:29: -1- AC_SUBST([CC])
9.495 -m4trace:configure.ac:29: -1- AC_SUBST([ac_ct_CC])
9.496 -m4trace:configure.ac:29: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
9.497 -m4trace:configure.ac:29: -1- AM_CONDITIONAL([am__fastdepCC], [
9.498 - test "x$enable_dependency_tracking" != xno \
9.499 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
9.500 -m4trace:configure.ac:29: -1- AC_SUBST([am__fastdepCC_TRUE])
9.501 -m4trace:configure.ac:29: -1- AC_SUBST([am__fastdepCC_FALSE])
9.502 -m4trace:configure.ac:30: -1- _m4_warn([obsolete], [The macro `AC_PROG_CC_STDC' is obsolete.
9.503 -You should run autoupdate.], [autoconf/c.m4:870: AC_PROG_CC_STDC is expanded from...
9.504 -configure.ac:30: the top level])
9.505 -m4trace:configure.ac:31: -1- AC_SUBST([CCAS])
9.506 -m4trace:configure.ac:31: -1- AC_SUBST([CCASFLAGS])
9.507 -m4trace:configure.ac:34: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
9.508 -You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
9.509 -m4/as-compiler-flag.m4:32: AS_COMPILER_FLAG is expanded from...
9.510 -configure.ac:34: the top level])
9.511 -m4trace:configure.ac:40: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
9.512 -You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
9.513 -m4/as-compiler-flag.m4:32: AS_COMPILER_FLAG is expanded from...
9.514 -configure.ac:40: the top level])
9.515 -m4trace:configure.ac:44: -1- AC_SUBST([ERROR_CFLAGS])
9.516 -m4trace:configure.ac:47: -1- AC_PROG_CXX
9.517 -m4trace:configure.ac:47: -1- AC_SUBST([CXX])
9.518 -m4trace:configure.ac:47: -1- AC_SUBST([CXXFLAGS])
9.519 -m4trace:configure.ac:47: -1- AC_SUBST([LDFLAGS])
9.520 -m4trace:configure.ac:47: -1- AC_SUBST([CPPFLAGS])
9.521 -m4trace:configure.ac:47: -1- AC_SUBST([CXX])
9.522 -m4trace:configure.ac:47: -1- AC_SUBST([ac_ct_CXX])
9.523 -m4trace:configure.ac:47: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
9.524 -m4trace:configure.ac:47: -1- AM_CONDITIONAL([am__fastdepCXX], [
9.525 - test "x$enable_dependency_tracking" != xno \
9.526 - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
9.527 -m4trace:configure.ac:47: -1- AC_SUBST([am__fastdepCXX_TRUE])
9.528 -m4trace:configure.ac:47: -1- AC_SUBST([am__fastdepCXX_FALSE])
9.529 -m4trace:configure.ac:49: -1- AC_SUBST([HAVE_CXX])
9.530 -m4trace:configure.ac:51: -1- AC_SUBST([CXXCPP])
9.531 -m4trace:configure.ac:51: -1- AC_SUBST([CPPFLAGS])
9.532 -m4trace:configure.ac:51: -1- AC_SUBST([CXXCPP])
9.533 -m4trace:configure.ac:54: -1- AC_HEADER_STDC([])
9.534 -m4trace:configure.ac:54: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
9.535 -m4trace:configure.ac:54: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
9.536 -#undef STDC_HEADERS])
9.537 -m4trace:configure.ac:55: -1- AC_C_INLINE
9.538 -m4trace:configure.ac:55: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
9.539 - calls it, or to nothing if \'inline\' is not supported under any name. */
9.540 -#ifndef __cplusplus
9.541 -#undef inline
9.542 -#endif])
9.543 -m4trace:configure.ac:58: -1- AC_SUBST([HAVE_PKGCONFIG])
9.544 -m4trace:configure.ac:73: -1- AC_SUBST([PKG_CONFIG], [$ac_cv_path_PKG_CONFIG])
9.545 -m4trace:configure.ac:73: -1- AC_SUBST([GST_CFLAGS])
9.546 -m4trace:configure.ac:73: -1- AC_SUBST([GST_LIBS])
9.547 -m4trace:configure.ac:85: -1- AC_SUBST([GST_CFLAGS])
9.548 -m4trace:configure.ac:86: -1- AC_SUBST([GST_LIBS])
9.549 -m4trace:configure.ac:89: -1- AC_SUBST([GST_MAJORMINOR])
9.550 -m4trace:configure.ac:93: -1- AC_SUBST([PKG_CONFIG], [$ac_cv_path_PKG_CONFIG])
9.551 -m4trace:configure.ac:93: -1- AC_SUBST([GST_BASE_CFLAGS])
9.552 -m4trace:configure.ac:93: -1- AC_SUBST([GST_BASE_LIBS])
9.553 -m4trace:configure.ac:99: -1- AC_SUBST([GST_BASE_LIBS])
9.554 -m4trace:configure.ac:100: -1- AC_SUBST([GST_BASE_CFLAGS])
9.555 -m4trace:configure.ac:104: -1- AC_SUBST([PKG_CONFIG], [$ac_cv_path_PKG_CONFIG])
9.556 -m4trace:configure.ac:104: -1- AC_SUBST([GST_PLUGINS_BASE_CFLAGS])
9.557 -m4trace:configure.ac:104: -1- AC_SUBST([GST_PLUGINS_BASE_LIBS])
9.558 -m4trace:configure.ac:110: -1- AC_SUBST([GST_PLUGINS_BASE_LIBS])
9.559 -m4trace:configure.ac:111: -1- AC_SUBST([GST_PLUGINS_BASE_CFLAGS])
9.560 -m4trace:configure.ac:115: -1- AC_SUBST([plugindir])
9.561 -m4trace:configure.ac:119: -1- AC_SUBST([GST_PLUGIN_LDFLAGS])
9.562 -m4trace:configure.ac:125: -1- AC_CONFIG_FILES([\
9.563 - Makefile \
9.564 - src/Makefile \
9.565 - m4/Makefile
9.566 -])
9.567 -m4trace:configure.ac:125: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
9.568 -You should run autoupdate.], [])
9.569 -m4trace:configure.ac:125: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
9.570 -m4trace:configure.ac:125: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
10.1 --- a/gst-plugins-nuvdemux/compile Thu Oct 26 18:55:14 2006 +0100
10.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
10.3 @@ -1,136 +0,0 @@
10.4 -#! /bin/sh
10.5 -# Wrapper for compilers which do not understand `-c -o'.
10.6 -
10.7 -scriptversion=2003-11-09.00
10.8 -
10.9 -# Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc.
10.10 -# Written by Tom Tromey <tromey@cygnus.com>.
10.11 -#
10.12 -# This program is free software; you can redistribute it and/or modify
10.13 -# it under the terms of the GNU General Public License as published by
10.14 -# the Free Software Foundation; either version 2, or (at your option)
10.15 -# any later version.
10.16 -#
10.17 -# This program is distributed in the hope that it will be useful,
10.18 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
10.19 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10.20 -# GNU General Public License for more details.
10.21 -#
10.22 -# You should have received a copy of the GNU General Public License
10.23 -# along with this program; if not, write to the Free Software
10.24 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
10.25 -
10.26 -# As a special exception to the GNU General Public License, if you
10.27 -# distribute this file as part of a program that contains a
10.28 -# configuration script generated by Autoconf, you may include it under
10.29 -# the same distribution terms that you use for the rest of that program.
10.30 -
10.31 -# This file is maintained in Automake, please report
10.32 -# bugs to <bug-automake@gnu.org> or send patches to
10.33 -# <automake-patches@gnu.org>.
10.34 -
10.35 -case $1 in
10.36 - '')
10.37 - echo "$0: No command. Try \`$0 --help' for more information." 1>&2
10.38 - exit 1;
10.39 - ;;
10.40 - -h | --h*)
10.41 - cat <<\EOF
10.42 -Usage: compile [--help] [--version] PROGRAM [ARGS]
10.43 -
10.44 -Wrapper for compilers which do not understand `-c -o'.
10.45 -Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
10.46 -arguments, and rename the output as expected.
10.47 -
10.48 -If you are trying to build a whole package this is not the
10.49 -right script to run: please start by reading the file `INSTALL'.
10.50 -
10.51 -Report bugs to <bug-automake@gnu.org>.
10.52 -EOF
10.53 - exit 0
10.54 - ;;
10.55 - -v | --v*)
10.56 - echo "compile $scriptversion"
10.57 - exit 0
10.58 - ;;
10.59 -esac
10.60 -
10.61 -
10.62 -prog=$1
10.63 -shift
10.64 -
10.65 -ofile=
10.66 -cfile=
10.67 -args=
10.68 -while test $# -gt 0; do
10.69 - case "$1" in
10.70 - -o)
10.71 - # configure might choose to run compile as `compile cc -o foo foo.c'.
10.72 - # So we do something ugly here.
10.73 - ofile=$2
10.74 - shift
10.75 - case "$ofile" in
10.76 - *.o | *.obj)
10.77 - ;;
10.78 - *)
10.79 - args="$args -o $ofile"
10.80 - ofile=
10.81 - ;;
10.82 - esac
10.83 - ;;
10.84 - *.c)
10.85 - cfile=$1
10.86 - args="$args $1"
10.87 - ;;
10.88 - *)
10.89 - args="$args $1"
10.90 - ;;
10.91 - esac
10.92 - shift
10.93 -done
10.94 -
10.95 -if test -z "$ofile" || test -z "$cfile"; then
10.96 - # If no `-o' option was seen then we might have been invoked from a
10.97 - # pattern rule where we don't need one. That is ok -- this is a
10.98 - # normal compilation that the losing compiler can handle. If no
10.99 - # `.c' file was seen then we are probably linking. That is also
10.100 - # ok.
10.101 - exec "$prog" $args
10.102 -fi
10.103 -
10.104 -# Name of file we expect compiler to create.
10.105 -cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
10.106 -
10.107 -# Create the lock directory.
10.108 -# Note: use `[/.-]' here to ensure that we don't use the same name
10.109 -# that we are using for the .o file. Also, base the name on the expected
10.110 -# object file name, since that is what matters with a parallel build.
10.111 -lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d
10.112 -while true; do
10.113 - if mkdir $lockdir > /dev/null 2>&1; then
10.114 - break
10.115 - fi
10.116 - sleep 1
10.117 -done
10.118 -# FIXME: race condition here if user kills between mkdir and trap.
10.119 -trap "rmdir $lockdir; exit 1" 1 2 15
10.120 -
10.121 -# Run the compile.
10.122 -"$prog" $args
10.123 -status=$?
10.124 -
10.125 -if test -f "$cofile"; then
10.126 - mv "$cofile" "$ofile"
10.127 -fi
10.128 -
10.129 -rmdir $lockdir
10.130 -exit $status
10.131 -
10.132 -# Local Variables:
10.133 -# mode: shell-script
10.134 -# sh-indentation: 2
10.135 -# eval: (add-hook 'write-file-hooks 'time-stamp)
10.136 -# time-stamp-start: "scriptversion="
10.137 -# time-stamp-format: "%:y-%02m-%02d.%02H"
10.138 -# time-stamp-end: "$"
10.139 -# End:
11.1 --- a/gst-plugins-nuvdemux/config.guess Thu Oct 26 18:55:14 2006 +0100
11.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
11.3 @@ -1,1466 +0,0 @@
11.4 -#! /bin/sh
11.5 -# Attempt to guess a canonical system name.
11.6 -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
11.7 -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
11.8 -
11.9 -timestamp='2005-08-03'
11.10 -
11.11 -# This file is free software; you can redistribute it and/or modify it
11.12 -# under the terms of the GNU General Public License as published by
11.13 -# the Free Software Foundation; either version 2 of the License, or
11.14 -# (at your option) any later version.
11.15 -#
11.16 -# This program is distributed in the hope that it will be useful, but
11.17 -# WITHOUT ANY WARRANTY; without even the implied warranty of
11.18 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11.19 -# General Public License for more details.
11.20 -#
11.21 -# You should have received a copy of the GNU General Public License
11.22 -# along with this program; if not, write to the Free Software
11.23 -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
11.24 -# 02110-1301, USA.
11.25 -#
11.26 -# As a special exception to the GNU General Public License, if you
11.27 -# distribute this file as part of a program that contains a
11.28 -# configuration script generated by Autoconf, you may include it under
11.29 -# the same distribution terms that you use for the rest of that program.
11.30 -
11.31 -
11.32 -# Originally written by Per Bothner <per@bothner.com>.
11.33 -# Please send patches to <config-patches@gnu.org>. Submit a context
11.34 -# diff and a properly formatted ChangeLog entry.
11.35 -#
11.36 -# This script attempts to guess a canonical system name similar to
11.37 -# config.sub. If it succeeds, it prints the system name on stdout, and
11.38 -# exits with 0. Otherwise, it exits with 1.
11.39 -#
11.40 -# The plan is that this can be called by configure scripts if you
11.41 -# don't specify an explicit build system type.
11.42 -
11.43 -me=`echo "$0" | sed -e 's,.*/,,'`
11.44 -
11.45 -usage="\
11.46 -Usage: $0 [OPTION]
11.47 -
11.48 -Output the configuration name of the system \`$me' is run on.
11.49 -
11.50 -Operation modes:
11.51 - -h, --help print this help, then exit
11.52 - -t, --time-stamp print date of last modification, then exit
11.53 - -v, --version print version number, then exit
11.54 -
11.55 -Report bugs and patches to <config-patches@gnu.org>."
11.56 -
11.57 -version="\
11.58 -GNU config.guess ($timestamp)
11.59 -
11.60 -Originally written by Per Bothner.
11.61 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
11.62 -Free Software Foundation, Inc.
11.63 -
11.64 -This is free software; see the source for copying conditions. There is NO
11.65 -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
11.66 -
11.67 -help="
11.68 -Try \`$me --help' for more information."
11.69 -
11.70 -# Parse command line
11.71 -while test $# -gt 0 ; do
11.72 - case $1 in
11.73 - --time-stamp | --time* | -t )
11.74 - echo "$timestamp" ; exit ;;
11.75 - --version | -v )
11.76 - echo "$version" ; exit ;;
11.77 - --help | --h* | -h )
11.78 - echo "$usage"; exit ;;
11.79 - -- ) # Stop option processing
11.80 - shift; break ;;
11.81 - - ) # Use stdin as input.
11.82 - break ;;
11.83 - -* )
11.84 - echo "$me: invalid option $1$help" >&2
11.85 - exit 1 ;;
11.86 - * )
11.87 - break ;;
11.88 - esac
11.89 -done
11.90 -
11.91 -if test $# != 0; then
11.92 - echo "$me: too many arguments$help" >&2
11.93 - exit 1
11.94 -fi
11.95 -
11.96 -trap 'exit 1' 1 2 15
11.97 -
11.98 -# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
11.99 -# compiler to aid in system detection is discouraged as it requires
11.100 -# temporary files to be created and, as you can see below, it is a
11.101 -# headache to deal with in a portable fashion.
11.102 -
11.103 -# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
11.104 -# use `HOST_CC' if defined, but it is deprecated.
11.105 -
11.106 -# Portable tmp directory creation inspired by the Autoconf team.
11.107 -
11.108 -set_cc_for_build='
11.109 -trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
11.110 -trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
11.111 -: ${TMPDIR=/tmp} ;
11.112 - { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
11.113 - { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
11.114 - { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
11.115 - { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
11.116 -dummy=$tmp/dummy ;
11.117 -tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
11.118 -case $CC_FOR_BUILD,$HOST_CC,$CC in
11.119 - ,,) echo "int x;" > $dummy.c ;
11.120 - for c in cc gcc c89 c99 ; do
11.121 - if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
11.122 - CC_FOR_BUILD="$c"; break ;
11.123 - fi ;
11.124 - done ;
11.125 - if test x"$CC_FOR_BUILD" = x ; then
11.126 - CC_FOR_BUILD=no_compiler_found ;
11.127 - fi
11.128 - ;;
11.129 - ,,*) CC_FOR_BUILD=$CC ;;
11.130 - ,*,*) CC_FOR_BUILD=$HOST_CC ;;
11.131 -esac ; set_cc_for_build= ;'
11.132 -
11.133 -# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
11.134 -# (ghazi@noc.rutgers.edu 1994-08-24)
11.135 -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
11.136 - PATH=$PATH:/.attbin ; export PATH
11.137 -fi
11.138 -
11.139 -UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
11.140 -UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
11.141 -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
11.142 -UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
11.143 -
11.144 -# Note: order is significant - the case branches are not exclusive.
11.145 -
11.146 -case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
11.147 - *:NetBSD:*:*)
11.148 - # NetBSD (nbsd) targets should (where applicable) match one or
11.149 - # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
11.150 - # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
11.151 - # switched to ELF, *-*-netbsd* would select the old
11.152 - # object file format. This provides both forward
11.153 - # compatibility and a consistent mechanism for selecting the
11.154 - # object file format.
11.155 - #
11.156 - # Note: NetBSD doesn't particularly care about the vendor
11.157 - # portion of the name. We always set it to "unknown".
11.158 - sysctl="sysctl -n hw.machine_arch"
11.159 - UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
11.160 - /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
11.161 - case "${UNAME_MACHINE_ARCH}" in
11.162 - armeb) machine=armeb-unknown ;;
11.163 - arm*) machine=arm-unknown ;;
11.164 - sh3el) machine=shl-unknown ;;
11.165 - sh3eb) machine=sh-unknown ;;
11.166 - *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
11.167 - esac
11.168 - # The Operating System including object format, if it has switched
11.169 - # to ELF recently, or will in the future.
11.170 - case "${UNAME_MACHINE_ARCH}" in
11.171 - arm*|i386|m68k|ns32k|sh3*|sparc|vax)
11.172 - eval $set_cc_for_build
11.173 - if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
11.174 - | grep __ELF__ >/dev/null
11.175 - then
11.176 - # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
11.177 - # Return netbsd for either. FIX?
11.178 - os=netbsd
11.179 - else
11.180 - os=netbsdelf
11.181 - fi
11.182 - ;;
11.183 - *)
11.184 - os=netbsd
11.185 - ;;
11.186 - esac
11.187 - # The OS release
11.188 - # Debian GNU/NetBSD machines have a different userland, and
11.189 - # thus, need a distinct triplet. However, they do not need
11.190 - # kernel version information, so it can be replaced with a
11.191 - # suitable tag, in the style of linux-gnu.
11.192 - case "${UNAME_VERSION}" in
11.193 - Debian*)
11.194 - release='-gnu'
11.195 - ;;
11.196 - *)
11.197 - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
11.198 - ;;
11.199 - esac
11.200 - # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
11.201 - # contains redundant information, the shorter form:
11.202 - # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
11.203 - echo "${machine}-${os}${release}"
11.204 - exit ;;
11.205 - *:OpenBSD:*:*)
11.206 - UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
11.207 - echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
11.208 - exit ;;
11.209 - *:ekkoBSD:*:*)
11.210 - echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
11.211 - exit ;;
11.212 - macppc:MirBSD:*:*)
11.213 - echo powerppc-unknown-mirbsd${UNAME_RELEASE}
11.214 - exit ;;
11.215 - *:MirBSD:*:*)
11.216 - echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
11.217 - exit ;;
11.218 - alpha:OSF1:*:*)
11.219 - case $UNAME_RELEASE in
11.220 - *4.0)
11.221 - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
11.222 - ;;
11.223 - *5.*)
11.224 - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
11.225 - ;;
11.226 - esac
11.227 - # According to Compaq, /usr/sbin/psrinfo has been available on
11.228 - # OSF/1 and Tru64 systems produced since 1995. I hope that
11.229 - # covers most systems running today. This code pipes the CPU
11.230 - # types through head -n 1, so we only detect the type of CPU 0.
11.231 - ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
11.232 - case "$ALPHA_CPU_TYPE" in
11.233 - "EV4 (21064)")
11.234 - UNAME_MACHINE="alpha" ;;
11.235 - "EV4.5 (21064)")
11.236 - UNAME_MACHINE="alpha" ;;
11.237 - "LCA4 (21066/21068)")
11.238 - UNAME_MACHINE="alpha" ;;
11.239 - "EV5 (21164)")
11.240 - UNAME_MACHINE="alphaev5" ;;
11.241 - "EV5.6 (21164A)")
11.242 - UNAME_MACHINE="alphaev56" ;;
11.243 - "EV5.6 (21164PC)")
11.244 - UNAME_MACHINE="alphapca56" ;;
11.245 - "EV5.7 (21164PC)")
11.246 - UNAME_MACHINE="alphapca57" ;;
11.247 - "EV6 (21264)")
11.248 - UNAME_MACHINE="alphaev6" ;;
11.249 - "EV6.7 (21264A)")
11.250 - UNAME_MACHINE="alphaev67" ;;
11.251 - "EV6.8CB (21264C)")
11.252 - UNAME_MACHINE="alphaev68" ;;
11.253 - "EV6.8AL (21264B)")
11.254 - UNAME_MACHINE="alphaev68" ;;
11.255 - "EV6.8CX (21264D)")
11.256 - UNAME_MACHINE="alphaev68" ;;
11.257 - "EV6.9A (21264/EV69A)")
11.258 - UNAME_MACHINE="alphaev69" ;;
11.259 - "EV7 (21364)")
11.260 - UNAME_MACHINE="alphaev7" ;;
11.261 - "EV7.9 (21364A)")
11.262 - UNAME_MACHINE="alphaev79" ;;
11.263 - esac
11.264 - # A Pn.n version is a patched version.
11.265 - # A Vn.n version is a released version.
11.266 - # A Tn.n version is a released field test version.
11.267 - # A Xn.n version is an unreleased experimental baselevel.
11.268 - # 1.2 uses "1.2" for uname -r.
11.269 - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
11.270 - exit ;;
11.271 - Alpha\ *:Windows_NT*:*)
11.272 - # How do we know it's Interix rather than the generic POSIX subsystem?
11.273 - # Should we change UNAME_MACHINE based on the output of uname instead
11.274 - # of the specific Alpha model?
11.275 - echo alpha-pc-interix
11.276 - exit ;;
11.277 - 21064:Windows_NT:50:3)
11.278 - echo alpha-dec-winnt3.5
11.279 - exit ;;
11.280 - Amiga*:UNIX_System_V:4.0:*)
11.281 - echo m68k-unknown-sysv4
11.282 - exit ;;
11.283 - *:[Aa]miga[Oo][Ss]:*:*)
11.284 - echo ${UNAME_MACHINE}-unknown-amigaos
11.285 - exit ;;
11.286 - *:[Mm]orph[Oo][Ss]:*:*)
11.287 - echo ${UNAME_MACHINE}-unknown-morphos
11.288 - exit ;;
11.289 - *:OS/390:*:*)
11.290 - echo i370-ibm-openedition
11.291 - exit ;;
11.292 - *:z/VM:*:*)
11.293 - echo s390-ibm-zvmoe
11.294 - exit ;;
11.295 - *:OS400:*:*)
11.296 - echo powerpc-ibm-os400
11.297 - exit ;;
11.298 - arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
11.299 - echo arm-acorn-riscix${UNAME_RELEASE}
11.300 - exit ;;
11.301 - arm:riscos:*:*|arm:RISCOS:*:*)
11.302 - echo arm-unknown-riscos
11.303 - exit ;;
11.304 - SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
11.305 - echo hppa1.1-hitachi-hiuxmpp
11.306 - exit ;;
11.307 - Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
11.308 - # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
11.309 - if test "`(/bin/universe) 2>/dev/null`" = att ; then
11.310 - echo pyramid-pyramid-sysv3
11.311 - else
11.312 - echo pyramid-pyramid-bsd
11.313 - fi
11.314 - exit ;;
11.315 - NILE*:*:*:dcosx)
11.316 - echo pyramid-pyramid-svr4
11.317 - exit ;;
11.318 - DRS?6000:unix:4.0:6*)
11.319 - echo sparc-icl-nx6
11.320 - exit ;;
11.321 - DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
11.322 - case `/usr/bin/uname -p` in
11.323 - sparc) echo sparc-icl-nx7; exit ;;
11.324 - esac ;;
11.325 - sun4H:SunOS:5.*:*)
11.326 - echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
11.327 - exit ;;
11.328 - sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
11.329 - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
11.330 - exit ;;
11.331 - i86pc:SunOS:5.*:*)
11.332 - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
11.333 - exit ;;
11.334 - sun4*:SunOS:6*:*)
11.335 - # According to config.sub, this is the proper way to canonicalize
11.336 - # SunOS6. Hard to guess exactly what SunOS6 will be like, but
11.337 - # it's likely to be more like Solaris than SunOS4.
11.338 - echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
11.339 - exit ;;
11.340 - sun4*:SunOS:*:*)
11.341 - case "`/usr/bin/arch -k`" in
11.342 - Series*|S4*)
11.343 - UNAME_RELEASE=`uname -v`
11.344 - ;;
11.345 - esac
11.346 - # Japanese Language versions have a version number like `4.1.3-JL'.
11.347 - echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
11.348 - exit ;;
11.349 - sun3*:SunOS:*:*)
11.350 - echo m68k-sun-sunos${UNAME_RELEASE}
11.351 - exit ;;
11.352 - sun*:*:4.2BSD:*)
11.353 - UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
11.354 - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
11.355 - case "`/bin/arch`" in
11.356 - sun3)
11.357 - echo m68k-sun-sunos${UNAME_RELEASE}
11.358 - ;;
11.359 - sun4)
11.360 - echo sparc-sun-sunos${UNAME_RELEASE}
11.361 - ;;
11.362 - esac
11.363 - exit ;;
11.364 - aushp:SunOS:*:*)
11.365 - echo sparc-auspex-sunos${UNAME_RELEASE}
11.366 - exit ;;
11.367 - # The situation for MiNT is a little confusing. The machine name
11.368 - # can be virtually everything (everything which is not
11.369 - # "atarist" or "atariste" at least should have a processor
11.370 - # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
11.371 - # to the lowercase version "mint" (or "freemint"). Finally
11.372 - # the system name "TOS" denotes a system which is actually not
11.373 - # MiNT. But MiNT is downward compatible to TOS, so this should
11.374 - # be no problem.
11.375 - atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
11.376 - echo m68k-atari-mint${UNAME_RELEASE}
11.377 - exit ;;
11.378 - atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
11.379 - echo m68k-atari-mint${UNAME_RELEASE}
11.380 - exit ;;
11.381 - *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
11.382 - echo m68k-atari-mint${UNAME_RELEASE}
11.383 - exit ;;
11.384 - milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
11.385 - echo m68k-milan-mint${UNAME_RELEASE}
11.386 - exit ;;
11.387 - hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
11.388 - echo m68k-hades-mint${UNAME_RELEASE}
11.389 - exit ;;
11.390 - *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
11.391 - echo m68k-unknown-mint${UNAME_RELEASE}
11.392 - exit ;;
11.393 - m68k:machten:*:*)
11.394 - echo m68k-apple-machten${UNAME_RELEASE}
11.395 - exit ;;
11.396 - powerpc:machten:*:*)
11.397 - echo powerpc-apple-machten${UNAME_RELEASE}
11.398 - exit ;;
11.399 - RISC*:Mach:*:*)
11.400 - echo mips-dec-mach_bsd4.3
11.401 - exit ;;
11.402 - RISC*:ULTRIX:*:*)
11.403 - echo mips-dec-ultrix${UNAME_RELEASE}
11.404 - exit ;;
11.405 - VAX*:ULTRIX*:*:*)
11.406 - echo vax-dec-ultrix${UNAME_RELEASE}
11.407 - exit ;;
11.408 - 2020:CLIX:*:* | 2430:CLIX:*:*)
11.409 - echo clipper-intergraph-clix${UNAME_RELEASE}
11.410 - exit ;;
11.411 - mips:*:*:UMIPS | mips:*:*:RISCos)
11.412 - eval $set_cc_for_build
11.413 - sed 's/^ //' << EOF >$dummy.c
11.414 -#ifdef __cplusplus
11.415 -#include <stdio.h> /* for printf() prototype */
11.416 - int main (int argc, char *argv[]) {
11.417 -#else
11.418 - int main (argc, argv) int argc; char *argv[]; {
11.419 -#endif
11.420 - #if defined (host_mips) && defined (MIPSEB)
11.421 - #if defined (SYSTYPE_SYSV)
11.422 - printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
11.423 - #endif
11.424 - #if defined (SYSTYPE_SVR4)
11.425 - printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
11.426 - #endif
11.427 - #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
11.428 - printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
11.429 - #endif
11.430 - #endif
11.431 - exit (-1);
11.432 - }
11.433 -EOF
11.434 - $CC_FOR_BUILD -o $dummy $dummy.c &&
11.435 - dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
11.436 - SYSTEM_NAME=`$dummy $dummyarg` &&
11.437 - { echo "$SYSTEM_NAME"; exit; }
11.438 - echo mips-mips-riscos${UNAME_RELEASE}
11.439 - exit ;;
11.440 - Motorola:PowerMAX_OS:*:*)
11.441 - echo powerpc-motorola-powermax
11.442 - exit ;;
11.443 - Motorola:*:4.3:PL8-*)
11.444 - echo powerpc-harris-powermax
11.445 - exit ;;
11.446 - Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
11.447 - echo powerpc-harris-powermax
11.448 - exit ;;
11.449 - Night_Hawk:Power_UNIX:*:*)
11.450 - echo powerpc-harris-powerunix
11.451 - exit ;;
11.452 - m88k:CX/UX:7*:*)
11.453 - echo m88k-harris-cxux7
11.454 - exit ;;
11.455 - m88k:*:4*:R4*)
11.456 - echo m88k-motorola-sysv4
11.457 - exit ;;
11.458 - m88k:*:3*:R3*)
11.459 - echo m88k-motorola-sysv3
11.460 - exit ;;
11.461 - AViiON:dgux:*:*)
11.462 - # DG/UX returns AViiON for all architectures
11.463 - UNAME_PROCESSOR=`/usr/bin/uname -p`
11.464 - if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
11.465 - then
11.466 - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
11.467 - [ ${TARGET_BINARY_INTERFACE}x = x ]
11.468 - then
11.469 - echo m88k-dg-dgux${UNAME_RELEASE}
11.470 - else
11.471 - echo m88k-dg-dguxbcs${UNAME_RELEASE}
11.472 - fi
11.473 - else
11.474 - echo i586-dg-dgux${UNAME_RELEASE}
11.475 - fi
11.476 - exit ;;
11.477 - M88*:DolphinOS:*:*) # DolphinOS (SVR3)
11.478 - echo m88k-dolphin-sysv3
11.479 - exit ;;
11.480 - M88*:*:R3*:*)
11.481 - # Delta 88k system running SVR3
11.482 - echo m88k-motorola-sysv3
11.483 - exit ;;
11.484 - XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
11.485 - echo m88k-tektronix-sysv3
11.486 - exit ;;
11.487 - Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
11.488 - echo m68k-tektronix-bsd
11.489 - exit ;;
11.490 - *:IRIX*:*:*)
11.491 - echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
11.492 - exit ;;
11.493 - ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
11.494 - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
11.495 - exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
11.496 - i*86:AIX:*:*)
11.497 - echo i386-ibm-aix
11.498 - exit ;;
11.499 - ia64:AIX:*:*)
11.500 - if [ -x /usr/bin/oslevel ] ; then
11.501 - IBM_REV=`/usr/bin/oslevel`
11.502 - else
11.503 - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
11.504 - fi
11.505 - echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
11.506 - exit ;;
11.507 - *:AIX:2:3)
11.508 - if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
11.509 - eval $set_cc_for_build
11.510 - sed 's/^ //' << EOF >$dummy.c
11.511 - #include <sys/systemcfg.h>
11.512 -
11.513 - main()
11.514 - {
11.515 - if (!__power_pc())
11.516 - exit(1);
11.517 - puts("powerpc-ibm-aix3.2.5");
11.518 - exit(0);
11.519 - }
11.520 -EOF
11.521 - if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
11.522 - then
11.523 - echo "$SYSTEM_NAME"
11.524 - else
11.525 - echo rs6000-ibm-aix3.2.5
11.526 - fi
11.527 - elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
11.528 - echo rs6000-ibm-aix3.2.4
11.529 - else
11.530 - echo rs6000-ibm-aix3.2
11.531 - fi
11.532 - exit ;;
11.533 - *:AIX:*:[45])
11.534 - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
11.535 - if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
11.536 - IBM_ARCH=rs6000
11.537 - else
11.538 - IBM_ARCH=powerpc
11.539 - fi
11.540 - if [ -x /usr/bin/oslevel ] ; then
11.541 - IBM_REV=`/usr/bin/oslevel`
11.542 - else
11.543 - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
11.544 - fi
11.545 - echo ${IBM_ARCH}-ibm-aix${IBM_REV}
11.546 - exit ;;
11.547 - *:AIX:*:*)
11.548 - echo rs6000-ibm-aix
11.549 - exit ;;
11.550 - ibmrt:4.4BSD:*|romp-ibm:BSD:*)
11.551 - echo romp-ibm-bsd4.4
11.552 - exit ;;
11.553 - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
11.554 - echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
11.555 - exit ;; # report: romp-ibm BSD 4.3
11.556 - *:BOSX:*:*)
11.557 - echo rs6000-bull-bosx
11.558 - exit ;;
11.559 - DPX/2?00:B.O.S.:*:*)
11.560 - echo m68k-bull-sysv3
11.561 - exit ;;
11.562 - 9000/[34]??:4.3bsd:1.*:*)
11.563 - echo m68k-hp-bsd
11.564 - exit ;;
11.565 - hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
11.566 - echo m68k-hp-bsd4.4
11.567 - exit ;;
11.568 - 9000/[34678]??:HP-UX:*:*)
11.569 - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
11.570 - case "${UNAME_MACHINE}" in
11.571 - 9000/31? ) HP_ARCH=m68000 ;;
11.572 - 9000/[34]?? ) HP_ARCH=m68k ;;
11.573 - 9000/[678][0-9][0-9])
11.574 - if [ -x /usr/bin/getconf ]; then
11.575 - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
11.576 - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
11.577 - case "${sc_cpu_version}" in
11.578 - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
11.579 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
11.580 - 532) # CPU_PA_RISC2_0
11.581 - case "${sc_kernel_bits}" in
11.582 - 32) HP_ARCH="hppa2.0n" ;;
11.583 - 64) HP_ARCH="hppa2.0w" ;;
11.584 - '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
11.585 - esac ;;
11.586 - esac
11.587 - fi
11.588 - if [ "${HP_ARCH}" = "" ]; then
11.589 - eval $set_cc_for_build
11.590 - sed 's/^ //' << EOF >$dummy.c
11.591 -
11.592 - #define _HPUX_SOURCE
11.593 - #include <stdlib.h>
11.594 - #include <unistd.h>
11.595 -
11.596 - int main ()
11.597 - {
11.598 - #if defined(_SC_KERNEL_BITS)
11.599 - long bits = sysconf(_SC_KERNEL_BITS);
11.600 - #endif
11.601 - long cpu = sysconf (_SC_CPU_VERSION);
11.602 -
11.603 - switch (cpu)
11.604 - {
11.605 - case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
11.606 - case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
11.607 - case CPU_PA_RISC2_0:
11.608 - #if defined(_SC_KERNEL_BITS)
11.609 - switch (bits)
11.610 - {
11.611 - case 64: puts ("hppa2.0w"); break;
11.612 - case 32: puts ("hppa2.0n"); break;
11.613 - default: puts ("hppa2.0"); break;
11.614 - } break;
11.615 - #else /* !defined(_SC_KERNEL_BITS) */
11.616 - puts ("hppa2.0"); break;
11.617 - #endif
11.618 - default: puts ("hppa1.0"); break;
11.619 - }
11.620 - exit (0);
11.621 - }
11.622 -EOF
11.623 - (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
11.624 - test -z "$HP_ARCH" && HP_ARCH=hppa
11.625 - fi ;;
11.626 - esac
11.627 - if [ ${HP_ARCH} = "hppa2.0w" ]
11.628 - then
11.629 - eval $set_cc_for_build
11.630 -
11.631 - # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
11.632 - # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
11.633 - # generating 64-bit code. GNU and HP use different nomenclature:
11.634 - #
11.635 - # $ CC_FOR_BUILD=cc ./config.guess
11.636 - # => hppa2.0w-hp-hpux11.23
11.637 - # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
11.638 - # => hppa64-hp-hpux11.23
11.639 -
11.640 - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
11.641 - grep __LP64__ >/dev/null
11.642 - then
11.643 - HP_ARCH="hppa2.0w"
11.644 - else
11.645 - HP_ARCH="hppa64"
11.646 - fi
11.647 - fi
11.648 - echo ${HP_ARCH}-hp-hpux${HPUX_REV}
11.649 - exit ;;
11.650 - ia64:HP-UX:*:*)
11.651 - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
11.652 - echo ia64-hp-hpux${HPUX_REV}
11.653 - exit ;;
11.654 - 3050*:HI-UX:*:*)
11.655 - eval $set_cc_for_build
11.656 - sed 's/^ //' << EOF >$dummy.c
11.657 - #include <unistd.h>
11.658 - int
11.659 - main ()
11.660 - {
11.661 - long cpu = sysconf (_SC_CPU_VERSION);
11.662 - /* The order matters, because CPU_IS_HP_MC68K erroneously returns
11.663 - true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
11.664 - results, however. */
11.665 - if (CPU_IS_PA_RISC (cpu))
11.666 - {
11.667 - switch (cpu)
11.668 - {
11.669 - case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
11.670 - case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
11.671 - case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
11.672 - default: puts ("hppa-hitachi-hiuxwe2"); break;
11.673 - }
11.674 - }
11.675 - else if (CPU_IS_HP_MC68K (cpu))
11.676 - puts ("m68k-hitachi-hiuxwe2");
11.677 - else puts ("unknown-hitachi-hiuxwe2");
11.678 - exit (0);
11.679 - }
11.680 -EOF
11.681 - $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
11.682 - { echo "$SYSTEM_NAME"; exit; }
11.683 - echo unknown-hitachi-hiuxwe2
11.684 - exit ;;
11.685 - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
11.686 - echo hppa1.1-hp-bsd
11.687 - exit ;;
11.688 - 9000/8??:4.3bsd:*:*)
11.689 - echo hppa1.0-hp-bsd
11.690 - exit ;;
11.691 - *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
11.692 - echo hppa1.0-hp-mpeix
11.693 - exit ;;
11.694 - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
11.695 - echo hppa1.1-hp-osf
11.696 - exit ;;
11.697 - hp8??:OSF1:*:*)
11.698 - echo hppa1.0-hp-osf
11.699 - exit ;;
11.700 - i*86:OSF1:*:*)
11.701 - if [ -x /usr/sbin/sysversion ] ; then
11.702 - echo ${UNAME_MACHINE}-unknown-osf1mk
11.703 - else
11.704 - echo ${UNAME_MACHINE}-unknown-osf1
11.705 - fi
11.706 - exit ;;
11.707 - parisc*:Lites*:*:*)
11.708 - echo hppa1.1-hp-lites
11.709 - exit ;;
11.710 - C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
11.711 - echo c1-convex-bsd
11.712 - exit ;;
11.713 - C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
11.714 - if getsysinfo -f scalar_acc
11.715 - then echo c32-convex-bsd
11.716 - else echo c2-convex-bsd
11.717 - fi
11.718 - exit ;;
11.719 - C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
11.720 - echo c34-convex-bsd
11.721 - exit ;;
11.722 - C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
11.723 - echo c38-convex-bsd
11.724 - exit ;;
11.725 - C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
11.726 - echo c4-convex-bsd
11.727 - exit ;;
11.728 - CRAY*Y-MP:*:*:*)
11.729 - echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
11.730 - exit ;;
11.731 - CRAY*[A-Z]90:*:*:*)
11.732 - echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
11.733 - | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
11.734 - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
11.735 - -e 's/\.[^.]*$/.X/'
11.736 - exit ;;
11.737 - CRAY*TS:*:*:*)
11.738 - echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
11.739 - exit ;;
11.740 - CRAY*T3E:*:*:*)
11.741 - echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
11.742 - exit ;;
11.743 - CRAY*SV1:*:*:*)
11.744 - echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
11.745 - exit ;;
11.746 - *:UNICOS/mp:*:*)
11.747 - echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
11.748 - exit ;;
11.749 - F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
11.750 - FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
11.751 - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
11.752 - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
11.753 - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
11.754 - exit ;;
11.755 - 5000:UNIX_System_V:4.*:*)
11.756 - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
11.757 - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
11.758 - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
11.759 - exit ;;
11.760 - i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
11.761 - echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
11.762 - exit ;;
11.763 - sparc*:BSD/OS:*:*)
11.764 - echo sparc-unknown-bsdi${UNAME_RELEASE}
11.765 - exit ;;
11.766 - *:BSD/OS:*:*)
11.767 - echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
11.768 - exit ;;
11.769 - *:FreeBSD:*:*)
11.770 - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
11.771 - exit ;;
11.772 - i*:CYGWIN*:*)
11.773 - echo ${UNAME_MACHINE}-pc-cygwin
11.774 - exit ;;
11.775 - i*:MINGW*:*)
11.776 - echo ${UNAME_MACHINE}-pc-mingw32
11.777 - exit ;;
11.778 - i*:windows32*:*)
11.779 - # uname -m includes "-pc" on this system.
11.780 - echo ${UNAME_MACHINE}-mingw32
11.781 - exit ;;
11.782 - i*:PW*:*)
11.783 - echo ${UNAME_MACHINE}-pc-pw32
11.784 - exit ;;
11.785 - x86:Interix*:[34]*)
11.786 - echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
11.787 - exit ;;
11.788 - [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
11.789 - echo i${UNAME_MACHINE}-pc-mks
11.790 - exit ;;
11.791 - i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
11.792 - # How do we know it's Interix rather than the generic POSIX subsystem?
11.793 - # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
11.794 - # UNAME_MACHINE based on the output of uname instead of i386?
11.795 - echo i586-pc-interix
11.796 - exit ;;
11.797 - i*:UWIN*:*)
11.798 - echo ${UNAME_MACHINE}-pc-uwin
11.799 - exit ;;
11.800 - amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
11.801 - echo x86_64-unknown-cygwin
11.802 - exit ;;
11.803 - p*:CYGWIN*:*)
11.804 - echo powerpcle-unknown-cygwin
11.805 - exit ;;
11.806 - prep*:SunOS:5.*:*)
11.807 - echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
11.808 - exit ;;
11.809 - *:GNU:*:*)
11.810 - # the GNU system
11.811 - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
11.812 - exit ;;
11.813 - *:GNU/*:*:*)
11.814 - # other systems with GNU libc and userland
11.815 - echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
11.816 - exit ;;
11.817 - i*86:Minix:*:*)
11.818 - echo ${UNAME_MACHINE}-pc-minix
11.819 - exit ;;
11.820 - arm*:Linux:*:*)
11.821 - echo ${UNAME_MACHINE}-unknown-linux-gnu
11.822 - exit ;;
11.823 - cris:Linux:*:*)
11.824 - echo cris-axis-linux-gnu
11.825 - exit ;;
11.826 - crisv32:Linux:*:*)
11.827 - echo crisv32-axis-linux-gnu
11.828 - exit ;;
11.829 - frv:Linux:*:*)
11.830 - echo frv-unknown-linux-gnu
11.831 - exit ;;
11.832 - ia64:Linux:*:*)
11.833 - echo ${UNAME_MACHINE}-unknown-linux-gnu
11.834 - exit ;;
11.835 - m32r*:Linux:*:*)
11.836 - echo ${UNAME_MACHINE}-unknown-linux-gnu
11.837 - exit ;;
11.838 - m68*:Linux:*:*)
11.839 - echo ${UNAME_MACHINE}-unknown-linux-gnu
11.840 - exit ;;
11.841 - mips:Linux:*:*)
11.842 - eval $set_cc_for_build
11.843 - sed 's/^ //' << EOF >$dummy.c
11.844 - #undef CPU
11.845 - #undef mips
11.846 - #undef mipsel
11.847 - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
11.848 - CPU=mipsel
11.849 - #else
11.850 - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
11.851 - CPU=mips
11.852 - #else
11.853 - CPU=
11.854 - #endif
11.855 - #endif
11.856 -EOF
11.857 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
11.858 - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
11.859 - ;;
11.860 - mips64:Linux:*:*)
11.861 - eval $set_cc_for_build
11.862 - sed 's/^ //' << EOF >$dummy.c
11.863 - #undef CPU
11.864 - #undef mips64
11.865 - #undef mips64el
11.866 - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
11.867 - CPU=mips64el
11.868 - #else
11.869 - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
11.870 - CPU=mips64
11.871 - #else
11.872 - CPU=
11.873 - #endif
11.874 - #endif
11.875 -EOF
11.876 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
11.877 - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
11.878 - ;;
11.879 - or32:Linux:*:*)
11.880 - echo or32-unknown-linux-gnu
11.881 - exit ;;
11.882 - ppc:Linux:*:*)
11.883 - echo powerpc-unknown-linux-gnu
11.884 - exit ;;
11.885 - ppc64:Linux:*:*)
11.886 - echo powerpc64-unknown-linux-gnu
11.887 - exit ;;
11.888 - alpha:Linux:*:*)
11.889 - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
11.890 - EV5) UNAME_MACHINE=alphaev5 ;;
11.891 - EV56) UNAME_MACHINE=alphaev56 ;;
11.892 - PCA56) UNAME_MACHINE=alphapca56 ;;
11.893 - PCA57) UNAME_MACHINE=alphapca56 ;;
11.894 - EV6) UNAME_MACHINE=alphaev6 ;;
11.895 - EV67) UNAME_MACHINE=alphaev67 ;;
11.896 - EV68*) UNAME_MACHINE=alphaev68 ;;
11.897 - esac
11.898 - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
11.899 - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
11.900 - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
11.901 - exit ;;
11.902 - parisc:Linux:*:* | hppa:Linux:*:*)
11.903 - # Look for CPU level
11.904 - case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
11.905 - PA7*) echo hppa1.1-unknown-linux-gnu ;;
11.906 - PA8*) echo hppa2.0-unknown-linux-gnu ;;
11.907 - *) echo hppa-unknown-linux-gnu ;;
11.908 - esac
11.909 - exit ;;
11.910 - parisc64:Linux:*:* | hppa64:Linux:*:*)
11.911 - echo hppa64-unknown-linux-gnu
11.912 - exit ;;
11.913 - s390:Linux:*:* | s390x:Linux:*:*)
11.914 - echo ${UNAME_MACHINE}-ibm-linux
11.915 - exit ;;
11.916 - sh64*:Linux:*:*)
11.917 - echo ${UNAME_MACHINE}-unknown-linux-gnu
11.918 - exit ;;
11.919 - sh*:Linux:*:*)
11.920 - echo ${UNAME_MACHINE}-unknown-linux-gnu
11.921 - exit ;;
11.922 - sparc:Linux:*:* | sparc64:Linux:*:*)
11.923 - echo ${UNAME_MACHINE}-unknown-linux-gnu
11.924 - exit ;;
11.925 - x86_64:Linux:*:*)
11.926 - echo x86_64-unknown-linux-gnu
11.927 - exit ;;
11.928 - i*86:Linux:*:*)
11.929 - # The BFD linker knows what the default object file format is, so
11.930 - # first see if it will tell us. cd to the root directory to prevent
11.931 - # problems with other programs or directories called `ld' in the path.
11.932 - # Set LC_ALL=C to ensure ld outputs messages in English.
11.933 - ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
11.934 - | sed -ne '/supported targets:/!d
11.935 - s/[ ][ ]*/ /g
11.936 - s/.*supported targets: *//
11.937 - s/ .*//
11.938 - p'`
11.939 - case "$ld_supported_targets" in
11.940 - elf32-i386)
11.941 - TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
11.942 - ;;
11.943 - a.out-i386-linux)
11.944 - echo "${UNAME_MACHINE}-pc-linux-gnuaout"
11.945 - exit ;;
11.946 - coff-i386)
11.947 - echo "${UNAME_MACHINE}-pc-linux-gnucoff"
11.948 - exit ;;
11.949 - "")
11.950 - # Either a pre-BFD a.out linker (linux-gnuoldld) or
11.951 - # one that does not give us useful --help.
11.952 - echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
11.953 - exit ;;
11.954 - esac
11.955 - # Determine whether the default compiler is a.out or elf
11.956 - eval $set_cc_for_build
11.957 - sed 's/^ //' << EOF >$dummy.c
11.958 - #include <features.h>
11.959 - #ifdef __ELF__
11.960 - # ifdef __GLIBC__
11.961 - # if __GLIBC__ >= 2
11.962 - LIBC=gnu
11.963 - # else
11.964 - LIBC=gnulibc1
11.965 - # endif
11.966 - # else
11.967 - LIBC=gnulibc1
11.968 - # endif
11.969 - #else
11.970 - #ifdef __INTEL_COMPILER
11.971 - LIBC=gnu
11.972 - #else
11.973 - LIBC=gnuaout
11.974 - #endif
11.975 - #endif
11.976 - #ifdef __dietlibc__
11.977 - LIBC=dietlibc
11.978 - #endif
11.979 -EOF
11.980 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
11.981 - test x"${LIBC}" != x && {
11.982 - echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
11.983 - exit
11.984 - }
11.985 - test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
11.986 - ;;
11.987 - i*86:DYNIX/ptx:4*:*)
11.988 - # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
11.989 - # earlier versions are messed up and put the nodename in both
11.990 - # sysname and nodename.
11.991 - echo i386-sequent-sysv4
11.992 - exit ;;
11.993 - i*86:UNIX_SV:4.2MP:2.*)
11.994 - # Unixware is an offshoot of SVR4, but it has its own version
11.995 - # number series starting with 2...
11.996 - # I am not positive that other SVR4 systems won't match this,
11.997 - # I just have to hope. -- rms.
11.998 - # Use sysv4.2uw... so that sysv4* matches it.
11.999 - echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
11.1000 - exit ;;
11.1001 - i*86:OS/2:*:*)
11.1002 - # If we were able to find `uname', then EMX Unix compatibility
11.1003 - # is probably installed.
11.1004 - echo ${UNAME_MACHINE}-pc-os2-emx
11.1005 - exit ;;
11.1006 - i*86:XTS-300:*:STOP)
11.1007 - echo ${UNAME_MACHINE}-unknown-stop
11.1008 - exit ;;
11.1009 - i*86:atheos:*:*)
11.1010 - echo ${UNAME_MACHINE}-unknown-atheos
11.1011 - exit ;;
11.1012 - i*86:syllable:*:*)
11.1013 - echo ${UNAME_MACHINE}-pc-syllable
11.1014 - exit ;;
11.1015 - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
11.1016 - echo i386-unknown-lynxos${UNAME_RELEASE}
11.1017 - exit ;;
11.1018 - i*86:*DOS:*:*)
11.1019 - echo ${UNAME_MACHINE}-pc-msdosdjgpp
11.1020 - exit ;;
11.1021 - i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
11.1022 - UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
11.1023 - if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
11.1024 - echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
11.1025 - else
11.1026 - echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
11.1027 - fi
11.1028 - exit ;;
11.1029 - i*86:*:5:[678]*)
11.1030 - # UnixWare 7.x, OpenUNIX and OpenServer 6.
11.1031 - case `/bin/uname -X | grep "^Machine"` in
11.1032 - *486*) UNAME_MACHINE=i486 ;;
11.1033 - *Pentium) UNAME_MACHINE=i586 ;;
11.1034 - *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
11.1035 - esac
11.1036 - echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
11.1037 - exit ;;
11.1038 - i*86:*:3.2:*)
11.1039 - if test -f /usr/options/cb.name; then
11.1040 - UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
11.1041 - echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
11.1042 - elif /bin/uname -X 2>/dev/null >/dev/null ; then
11.1043 - UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
11.1044 - (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
11.1045 - (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
11.1046 - && UNAME_MACHINE=i586
11.1047 - (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
11.1048 - && UNAME_MACHINE=i686
11.1049 - (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
11.1050 - && UNAME_MACHINE=i686
11.1051 - echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
11.1052 - else
11.1053 - echo ${UNAME_MACHINE}-pc-sysv32
11.1054 - fi
11.1055 - exit ;;
11.1056 - pc:*:*:*)
11.1057 - # Left here for compatibility:
11.1058 - # uname -m prints for DJGPP always 'pc', but it prints nothing about
11.1059 - # the processor, so we play safe by assuming i386.
11.1060 - echo i386-pc-msdosdjgpp
11.1061 - exit ;;
11.1062 - Intel:Mach:3*:*)
11.1063 - echo i386-pc-mach3
11.1064 - exit ;;
11.1065 - paragon:*:*:*)
11.1066 - echo i860-intel-osf1
11.1067 - exit ;;
11.1068 - i860:*:4.*:*) # i860-SVR4
11.1069 - if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
11.1070 - echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
11.1071 - else # Add other i860-SVR4 vendors below as they are discovered.
11.1072 - echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
11.1073 - fi
11.1074 - exit ;;
11.1075 - mini*:CTIX:SYS*5:*)
11.1076 - # "miniframe"
11.1077 - echo m68010-convergent-sysv
11.1078 - exit ;;
11.1079 - mc68k:UNIX:SYSTEM5:3.51m)
11.1080 - echo m68k-convergent-sysv
11.1081 - exit ;;
11.1082 - M680?0:D-NIX:5.3:*)
11.1083 - echo m68k-diab-dnix
11.1084 - exit ;;
11.1085 - M68*:*:R3V[5678]*:*)
11.1086 - test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
11.1087 - 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
11.1088 - OS_REL=''
11.1089 - test -r /etc/.relid \
11.1090 - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
11.1091 - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
11.1092 - && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
11.1093 - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
11.1094 - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
11.1095 - 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
11.1096 - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
11.1097 - && { echo i486-ncr-sysv4; exit; } ;;
11.1098 - m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
11.1099 - echo m68k-unknown-lynxos${UNAME_RELEASE}
11.1100 - exit ;;
11.1101 - mc68030:UNIX_System_V:4.*:*)
11.1102 - echo m68k-atari-sysv4
11.1103 - exit ;;
11.1104 - TSUNAMI:LynxOS:2.*:*)
11.1105 - echo sparc-unknown-lynxos${UNAME_RELEASE}
11.1106 - exit ;;
11.1107 - rs6000:LynxOS:2.*:*)
11.1108 - echo rs6000-unknown-lynxos${UNAME_RELEASE}
11.1109 - exit ;;
11.1110 - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
11.1111 - echo powerpc-unknown-lynxos${UNAME_RELEASE}
11.1112 - exit ;;
11.1113 - SM[BE]S:UNIX_SV:*:*)
11.1114 - echo mips-dde-sysv${UNAME_RELEASE}
11.1115 - exit ;;
11.1116 - RM*:ReliantUNIX-*:*:*)
11.1117 - echo mips-sni-sysv4
11.1118 - exit ;;
11.1119 - RM*:SINIX-*:*:*)
11.1120 - echo mips-sni-sysv4
11.1121 - exit ;;
11.1122 - *:SINIX-*:*:*)
11.1123 - if uname -p 2>/dev/null >/dev/null ; then
11.1124 - UNAME_MACHINE=`(uname -p) 2>/dev/null`
11.1125 - echo ${UNAME_MACHINE}-sni-sysv4
11.1126 - else
11.1127 - echo ns32k-sni-sysv
11.1128 - fi
11.1129 - exit ;;
11.1130 - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
11.1131 - # says <Richard.M.Bartel@ccMail.Census.GOV>
11.1132 - echo i586-unisys-sysv4
11.1133 - exit ;;
11.1134 - *:UNIX_System_V:4*:FTX*)
11.1135 - # From Gerald Hewes <hewes@openmarket.com>.
11.1136 - # How about differentiating between stratus architectures? -djm
11.1137 - echo hppa1.1-stratus-sysv4
11.1138 - exit ;;
11.1139 - *:*:*:FTX*)
11.1140 - # From seanf@swdc.stratus.com.
11.1141 - echo i860-stratus-sysv4
11.1142 - exit ;;
11.1143 - i*86:VOS:*:*)
11.1144 - # From Paul.Green@stratus.com.
11.1145 - echo ${UNAME_MACHINE}-stratus-vos
11.1146 - exit ;;
11.1147 - *:VOS:*:*)
11.1148 - # From Paul.Green@stratus.com.
11.1149 - echo hppa1.1-stratus-vos
11.1150 - exit ;;
11.1151 - mc68*:A/UX:*:*)
11.1152 - echo m68k-apple-aux${UNAME_RELEASE}
11.1153 - exit ;;
11.1154 - news*:NEWS-OS:6*:*)
11.1155 - echo mips-sony-newsos6
11.1156 - exit ;;
11.1157 - R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
11.1158 - if [ -d /usr/nec ]; then
11.1159 - echo mips-nec-sysv${UNAME_RELEASE}
11.1160 - else
11.1161 - echo mips-unknown-sysv${UNAME_RELEASE}
11.1162 - fi
11.1163 - exit ;;
11.1164 - BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
11.1165 - echo powerpc-be-beos
11.1166 - exit ;;
11.1167 - BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
11.1168 - echo powerpc-apple-beos
11.1169 - exit ;;
11.1170 - BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
11.1171 - echo i586-pc-beos
11.1172 - exit ;;
11.1173 - SX-4:SUPER-UX:*:*)
11.1174 - echo sx4-nec-superux${UNAME_RELEASE}
11.1175 - exit ;;
11.1176 - SX-5:SUPER-UX:*:*)
11.1177 - echo sx5-nec-superux${UNAME_RELEASE}
11.1178 - exit ;;
11.1179 - SX-6:SUPER-UX:*:*)
11.1180 - echo sx6-nec-superux${UNAME_RELEASE}
11.1181 - exit ;;
11.1182 - Power*:Rhapsody:*:*)
11.1183 - echo powerpc-apple-rhapsody${UNAME_RELEASE}
11.1184 - exit ;;
11.1185 - *:Rhapsody:*:*)
11.1186 - echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
11.1187 - exit ;;
11.1188 - *:Darwin:*:*)
11.1189 - UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
11.1190 - case $UNAME_PROCESSOR in
11.1191 - *86) UNAME_PROCESSOR=i686 ;;
11.1192 - unknown) UNAME_PROCESSOR=powerpc ;;
11.1193 - esac
11.1194 - echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
11.1195 - exit ;;
11.1196 - *:procnto*:*:* | *:QNX:[0123456789]*:*)
11.1197 - UNAME_PROCESSOR=`uname -p`
11.1198 - if test "$UNAME_PROCESSOR" = "x86"; then
11.1199 - UNAME_PROCESSOR=i386
11.1200 - UNAME_MACHINE=pc
11.1201 - fi
11.1202 - echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
11.1203 - exit ;;
11.1204 - *:QNX:*:4*)
11.1205 - echo i386-pc-qnx
11.1206 - exit ;;
11.1207 - NSE-?:NONSTOP_KERNEL:*:*)
11.1208 - echo nse-tandem-nsk${UNAME_RELEASE}
11.1209 - exit ;;
11.1210 - NSR-?:NONSTOP_KERNEL:*:*)
11.1211 - echo nsr-tandem-nsk${UNAME_RELEASE}
11.1212 - exit ;;
11.1213 - *:NonStop-UX:*:*)
11.1214 - echo mips-compaq-nonstopux
11.1215 - exit ;;
11.1216 - BS2000:POSIX*:*:*)
11.1217 - echo bs2000-siemens-sysv
11.1218 - exit ;;
11.1219 - DS/*:UNIX_System_V:*:*)
11.1220 - echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
11.1221 - exit ;;
11.1222 - *:Plan9:*:*)
11.1223 - # "uname -m" is not consistent, so use $cputype instead. 386
11.1224 - # is converted to i386 for consistency with other x86
11.1225 - # operating systems.
11.1226 - if test "$cputype" = "386"; then
11.1227 - UNAME_MACHINE=i386
11.1228 - else
11.1229 - UNAME_MACHINE="$cputype"
11.1230 - fi
11.1231 - echo ${UNAME_MACHINE}-unknown-plan9
11.1232 - exit ;;
11.1233 - *:TOPS-10:*:*)
11.1234 - echo pdp10-unknown-tops10
11.1235 - exit ;;
11.1236 - *:TENEX:*:*)
11.1237 - echo pdp10-unknown-tenex
11.1238 - exit ;;
11.1239 - KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
11.1240 - echo pdp10-dec-tops20
11.1241 - exit ;;
11.1242 - XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
11.1243 - echo pdp10-xkl-tops20
11.1244 - exit ;;
11.1245 - *:TOPS-20:*:*)
11.1246 - echo pdp10-unknown-tops20
11.1247 - exit ;;
11.1248 - *:ITS:*:*)
11.1249 - echo pdp10-unknown-its
11.1250 - exit ;;
11.1251 - SEI:*:*:SEIUX)
11.1252 - echo mips-sei-seiux${UNAME_RELEASE}
11.1253 - exit ;;
11.1254 - *:DragonFly:*:*)
11.1255 - echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
11.1256 - exit ;;
11.1257 - *:*VMS:*:*)
11.1258 - UNAME_MACHINE=`(uname -p) 2>/dev/null`
11.1259 - case "${UNAME_MACHINE}" in
11.1260 - A*) echo alpha-dec-vms ; exit ;;
11.1261 - I*) echo ia64-dec-vms ; exit ;;
11.1262 - V*) echo vax-dec-vms ; exit ;;
11.1263 - esac ;;
11.1264 - *:XENIX:*:SysV)
11.1265 - echo i386-pc-xenix
11.1266 - exit ;;
11.1267 - i*86:skyos:*:*)
11.1268 - echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
11.1269 - exit ;;
11.1270 -esac
11.1271 -
11.1272 -#echo '(No uname command or uname output not recognized.)' 1>&2
11.1273 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
11.1274 -
11.1275 -eval $set_cc_for_build
11.1276 -cat >$dummy.c <<EOF
11.1277 -#ifdef _SEQUENT_
11.1278 -# include <sys/types.h>
11.1279 -# include <sys/utsname.h>
11.1280 -#endif
11.1281 -main ()
11.1282 -{
11.1283 -#if defined (sony)
11.1284 -#if defined (MIPSEB)
11.1285 - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
11.1286 - I don't know.... */
11.1287 - printf ("mips-sony-bsd\n"); exit (0);
11.1288 -#else
11.1289 -#include <sys/param.h>
11.1290 - printf ("m68k-sony-newsos%s\n",
11.1291 -#ifdef NEWSOS4
11.1292 - "4"
11.1293 -#else
11.1294 - ""
11.1295 -#endif
11.1296 - ); exit (0);
11.1297 -#endif
11.1298 -#endif
11.1299 -
11.1300 -#if defined (__arm) && defined (__acorn) && defined (__unix)
11.1301 - printf ("arm-acorn-riscix\n"); exit (0);
11.1302 -#endif
11.1303 -
11.1304 -#if defined (hp300) && !defined (hpux)
11.1305 - printf ("m68k-hp-bsd\n"); exit (0);
11.1306 -#endif
11.1307 -
11.1308 -#if defined (NeXT)
11.1309 -#if !defined (__ARCHITECTURE__)
11.1310 -#define __ARCHITECTURE__ "m68k"
11.1311 -#endif
11.1312 - int version;
11.1313 - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
11.1314 - if (version < 4)
11.1315 - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
11.1316 - else
11.1317 - printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
11.1318 - exit (0);
11.1319 -#endif
11.1320 -
11.1321 -#if defined (MULTIMAX) || defined (n16)
11.1322 -#if defined (UMAXV)
11.1323 - printf ("ns32k-encore-sysv\n"); exit (0);
11.1324 -#else
11.1325 -#if defined (CMU)
11.1326 - printf ("ns32k-encore-mach\n"); exit (0);
11.1327 -#else
11.1328 - printf ("ns32k-encore-bsd\n"); exit (0);
11.1329 -#endif
11.1330 -#endif
11.1331 -#endif
11.1332 -
11.1333 -#if defined (__386BSD__)
11.1334 - printf ("i386-pc-bsd\n"); exit (0);
11.1335 -#endif
11.1336 -
11.1337 -#if defined (sequent)
11.1338 -#if defined (i386)
11.1339 - printf ("i386-sequent-dynix\n"); exit (0);
11.1340 -#endif
11.1341 -#if defined (ns32000)
11.1342 - printf ("ns32k-sequent-dynix\n"); exit (0);
11.1343 -#endif
11.1344 -#endif
11.1345 -
11.1346 -#if defined (_SEQUENT_)
11.1347 - struct utsname un;
11.1348 -
11.1349 - uname(&un);
11.1350 -
11.1351 - if (strncmp(un.version, "V2", 2) == 0) {
11.1352 - printf ("i386-sequent-ptx2\n"); exit (0);
11.1353 - }
11.1354 - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
11.1355 - printf ("i386-sequent-ptx1\n"); exit (0);
11.1356 - }
11.1357 - printf ("i386-sequent-ptx\n"); exit (0);
11.1358 -
11.1359 -#endif
11.1360 -
11.1361 -#if defined (vax)
11.1362 -# if !defined (ultrix)
11.1363 -# include <sys/param.h>
11.1364 -# if defined (BSD)
11.1365 -# if BSD == 43
11.1366 - printf ("vax-dec-bsd4.3\n"); exit (0);
11.1367 -# else
11.1368 -# if BSD == 199006
11.1369 - printf ("vax-dec-bsd4.3reno\n"); exit (0);
11.1370 -# else
11.1371 - printf ("vax-dec-bsd\n"); exit (0);
11.1372 -# endif
11.1373 -# endif
11.1374 -# else
11.1375 - printf ("vax-dec-bsd\n"); exit (0);
11.1376 -# endif
11.1377 -# else
11.1378 - printf ("vax-dec-ultrix\n"); exit (0);
11.1379 -# endif
11.1380 -#endif
11.1381 -
11.1382 -#if defined (alliant) && defined (i860)
11.1383 - printf ("i860-alliant-bsd\n"); exit (0);
11.1384 -#endif
11.1385 -
11.1386 - exit (1);
11.1387 -}
11.1388 -EOF
11.1389 -
11.1390 -$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
11.1391 - { echo "$SYSTEM_NAME"; exit; }
11.1392 -
11.1393 -# Apollos put the system type in the environment.
11.1394 -
11.1395 -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
11.1396 -
11.1397 -# Convex versions that predate uname can use getsysinfo(1)
11.1398 -
11.1399 -if [ -x /usr/convex/getsysinfo ]
11.1400 -then
11.1401 - case `getsysinfo -f cpu_type` in
11.1402 - c1*)
11.1403 - echo c1-convex-bsd
11.1404 - exit ;;
11.1405 - c2*)
11.1406 - if getsysinfo -f scalar_acc
11.1407 - then echo c32-convex-bsd
11.1408 - else echo c2-convex-bsd
11.1409 - fi
11.1410 - exit ;;
11.1411 - c34*)
11.1412 - echo c34-convex-bsd
11.1413 - exit ;;
11.1414 - c38*)
11.1415 - echo c38-convex-bsd
11.1416 - exit ;;
11.1417 - c4*)
11.1418 - echo c4-convex-bsd
11.1419 - exit ;;
11.1420 - esac
11.1421 -fi
11.1422 -
11.1423 -cat >&2 <<EOF
11.1424 -$0: unable to guess system type
11.1425 -
11.1426 -This script, last modified $timestamp, has failed to recognize
11.1427 -the operating system you are using. It is advised that you
11.1428 -download the most up to date version of the config scripts from
11.1429 -
11.1430 - http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
11.1431 -and
11.1432 - http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
11.1433 -
11.1434 -If the version you run ($0) is already up to date, please
11.1435 -send the following data and any information you think might be
11.1436 -pertinent to <config-patches@gnu.org> in order to provide the needed
11.1437 -information to handle your system.
11.1438 -
11.1439 -config.guess timestamp = $timestamp
11.1440 -
11.1441 -uname -m = `(uname -m) 2>/dev/null || echo unknown`
11.1442 -uname -r = `(uname -r) 2>/dev/null || echo unknown`
11.1443 -uname -s = `(uname -s) 2>/dev/null || echo unknown`
11.1444 -uname -v = `(uname -v) 2>/dev/null || echo unknown`
11.1445 -
11.1446 -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
11.1447 -/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
11.1448 -
11.1449 -hostinfo = `(hostinfo) 2>/dev/null`
11.1450 -/bin/universe = `(/bin/universe) 2>/dev/null`
11.1451 -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
11.1452 -/bin/arch = `(/bin/arch) 2>/dev/null`
11.1453 -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
11.1454 -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
11.1455 -
11.1456 -UNAME_MACHINE = ${UNAME_MACHINE}
11.1457 -UNAME_RELEASE = ${UNAME_RELEASE}
11.1458 -UNAME_SYSTEM = ${UNAME_SYSTEM}
11.1459 -UNAME_VERSION = ${UNAME_VERSION}
11.1460 -EOF
11.1461 -
11.1462 -exit 1
11.1463 -
11.1464 -# Local variables:
11.1465 -# eval: (add-hook 'write-file-hooks 'time-stamp)
11.1466 -# time-stamp-start: "timestamp='"
11.1467 -# time-stamp-format: "%:y-%02m-%02d"
11.1468 -# time-stamp-end: "'"
11.1469 -# End:
12.1 --- a/gst-plugins-nuvdemux/config.sub Thu Oct 26 18:55:14 2006 +0100
12.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
12.3 @@ -1,1579 +0,0 @@
12.4 -#! /bin/sh
12.5 -# Configuration validation subroutine script.
12.6 -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
12.7 -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
12.8 -
12.9 -timestamp='2005-07-08'
12.10 -
12.11 -# This file is (in principle) common to ALL GNU software.
12.12 -# The presence of a machine in this file suggests that SOME GNU software
12.13 -# can handle that machine. It does not imply ALL GNU software can.
12.14 -#
12.15 -# This file is free software; you can redistribute it and/or modify
12.16 -# it under the terms of the GNU General Public License as published by
12.17 -# the Free Software Foundation; either version 2 of the License, or
12.18 -# (at your option) any later version.
12.19 -#
12.20 -# This program is distributed in the hope that it will be useful,
12.21 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
12.22 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12.23 -# GNU General Public License for more details.
12.24 -#
12.25 -# You should have received a copy of the GNU General Public License
12.26 -# along with this program; if not, write to the Free Software
12.27 -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
12.28 -# 02110-1301, USA.
12.29 -#
12.30 -# As a special exception to the GNU General Public License, if you
12.31 -# distribute this file as part of a program that contains a
12.32 -# configuration script generated by Autoconf, you may include it under
12.33 -# the same distribution terms that you use for the rest of that program.
12.34 -
12.35 -
12.36 -# Please send patches to <config-patches@gnu.org>. Submit a context
12.37 -# diff and a properly formatted ChangeLog entry.
12.38 -#
12.39 -# Configuration subroutine to validate and canonicalize a configuration type.
12.40 -# Supply the specified configuration type as an argument.
12.41 -# If it is invalid, we print an error message on stderr and exit with code 1.
12.42 -# Otherwise, we print the canonical config type on stdout and succeed.
12.43 -
12.44 -# This file is supposed to be the same for all GNU packages
12.45 -# and recognize all the CPU types, system types and aliases
12.46 -# that are meaningful with *any* GNU software.
12.47 -# Each package is responsible for reporting which valid configurations
12.48 -# it does not support. The user should be able to distinguish
12.49 -# a failure to support a valid configuration from a meaningless
12.50 -# configuration.
12.51 -
12.52 -# The goal of this file is to map all the various variations of a given
12.53 -# machine specification into a single specification in the form:
12.54 -# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
12.55 -# or in some cases, the newer four-part form:
12.56 -# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
12.57 -# It is wrong to echo any other type of specification.
12.58 -
12.59 -me=`echo "$0" | sed -e 's,.*/,,'`
12.60 -
12.61 -usage="\
12.62 -Usage: $0 [OPTION] CPU-MFR-OPSYS
12.63 - $0 [OPTION] ALIAS
12.64 -
12.65 -Canonicalize a configuration name.
12.66 -
12.67 -Operation modes:
12.68 - -h, --help print this help, then exit
12.69 - -t, --time-stamp print date of last modification, then exit
12.70 - -v, --version print version number, then exit
12.71 -
12.72 -Report bugs and patches to <config-patches@gnu.org>."
12.73 -
12.74 -version="\
12.75 -GNU config.sub ($timestamp)
12.76 -
12.77 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
12.78 -Free Software Foundation, Inc.
12.79 -
12.80 -This is free software; see the source for copying conditions. There is NO
12.81 -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
12.82 -
12.83 -help="
12.84 -Try \`$me --help' for more information."
12.85 -
12.86 -# Parse command line
12.87 -while test $# -gt 0 ; do
12.88 - case $1 in
12.89 - --time-stamp | --time* | -t )
12.90 - echo "$timestamp" ; exit ;;
12.91 - --version | -v )
12.92 - echo "$version" ; exit ;;
12.93 - --help | --h* | -h )
12.94 - echo "$usage"; exit ;;
12.95 - -- ) # Stop option processing
12.96 - shift; break ;;
12.97 - - ) # Use stdin as input.
12.98 - break ;;
12.99 - -* )
12.100 - echo "$me: invalid option $1$help"
12.101 - exit 1 ;;
12.102 -
12.103 - *local*)
12.104 - # First pass through any local machine types.
12.105 - echo $1
12.106 - exit ;;
12.107 -
12.108 - * )
12.109 - break ;;
12.110 - esac
12.111 -done
12.112 -
12.113 -case $# in
12.114 - 0) echo "$me: missing argument$help" >&2
12.115 - exit 1;;
12.116 - 1) ;;
12.117 - *) echo "$me: too many arguments$help" >&2
12.118 - exit 1;;
12.119 -esac
12.120 -
12.121 -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
12.122 -# Here we must recognize all the valid KERNEL-OS combinations.
12.123 -maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
12.124 -case $maybe_os in
12.125 - nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
12.126 - kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
12.127 - os=-$maybe_os
12.128 - basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
12.129 - ;;
12.130 - *)
12.131 - basic_machine=`echo $1 | sed 's/-[^-]*$//'`
12.132 - if [ $basic_machine != $1 ]
12.133 - then os=`echo $1 | sed 's/.*-/-/'`
12.134 - else os=; fi
12.135 - ;;
12.136 -esac
12.137 -
12.138 -### Let's recognize common machines as not being operating systems so
12.139 -### that things like config.sub decstation-3100 work. We also
12.140 -### recognize some manufacturers as not being operating systems, so we
12.141 -### can provide default operating systems below.
12.142 -case $os in
12.143 - -sun*os*)
12.144 - # Prevent following clause from handling this invalid input.
12.145 - ;;
12.146 - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
12.147 - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
12.148 - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
12.149 - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
12.150 - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
12.151 - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
12.152 - -apple | -axis | -knuth | -cray)
12.153 - os=
12.154 - basic_machine=$1
12.155 - ;;
12.156 - -sim | -cisco | -oki | -wec | -winbond)
12.157 - os=
12.158 - basic_machine=$1
12.159 - ;;
12.160 - -scout)
12.161 - ;;
12.162 - -wrs)
12.163 - os=-vxworks
12.164 - basic_machine=$1
12.165 - ;;
12.166 - -chorusos*)
12.167 - os=-chorusos
12.168 - basic_machine=$1
12.169 - ;;
12.170 - -chorusrdb)
12.171 - os=-chorusrdb
12.172 - basic_machine=$1
12.173 - ;;
12.174 - -hiux*)
12.175 - os=-hiuxwe2
12.176 - ;;
12.177 - -sco5)
12.178 - os=-sco3.2v5
12.179 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
12.180 - ;;
12.181 - -sco4)
12.182 - os=-sco3.2v4
12.183 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
12.184 - ;;
12.185 - -sco3.2.[4-9]*)
12.186 - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
12.187 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
12.188 - ;;
12.189 - -sco3.2v[4-9]*)
12.190 - # Don't forget version if it is 3.2v4 or newer.
12.191 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
12.192 - ;;
12.193 - -sco*)
12.194 - os=-sco3.2v2
12.195 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
12.196 - ;;
12.197 - -udk*)
12.198 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
12.199 - ;;
12.200 - -isc)
12.201 - os=-isc2.2
12.202 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
12.203 - ;;
12.204 - -clix*)
12.205 - basic_machine=clipper-intergraph
12.206 - ;;
12.207 - -isc*)
12.208 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
12.209 - ;;
12.210 - -lynx*)
12.211 - os=-lynxos
12.212 - ;;
12.213 - -ptx*)
12.214 - basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
12.215 - ;;
12.216 - -windowsnt*)
12.217 - os=`echo $os | sed -e 's/windowsnt/winnt/'`
12.218 - ;;
12.219 - -psos*)
12.220 - os=-psos
12.221 - ;;
12.222 - -mint | -mint[0-9]*)
12.223 - basic_machine=m68k-atari
12.224 - os=-mint
12.225 - ;;
12.226 -esac
12.227 -
12.228 -# Decode aliases for certain CPU-COMPANY combinations.
12.229 -case $basic_machine in
12.230 - # Recognize the basic CPU types without company name.
12.231 - # Some are omitted here because they have special meanings below.
12.232 - 1750a | 580 \
12.233 - | a29k \
12.234 - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
12.235 - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
12.236 - | am33_2.0 \
12.237 - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
12.238 - | bfin \
12.239 - | c4x | clipper \
12.240 - | d10v | d30v | dlx | dsp16xx \
12.241 - | fr30 | frv \
12.242 - | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
12.243 - | i370 | i860 | i960 | ia64 \
12.244 - | ip2k | iq2000 \
12.245 - | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
12.246 - | mips | mipsbe | mipseb | mipsel | mipsle \
12.247 - | mips16 \
12.248 - | mips64 | mips64el \
12.249 - | mips64vr | mips64vrel \
12.250 - | mips64orion | mips64orionel \
12.251 - | mips64vr4100 | mips64vr4100el \
12.252 - | mips64vr4300 | mips64vr4300el \
12.253 - | mips64vr5000 | mips64vr5000el \
12.254 - | mips64vr5900 | mips64vr5900el \
12.255 - | mipsisa32 | mipsisa32el \
12.256 - | mipsisa32r2 | mipsisa32r2el \
12.257 - | mipsisa64 | mipsisa64el \
12.258 - | mipsisa64r2 | mipsisa64r2el \
12.259 - | mipsisa64sb1 | mipsisa64sb1el \
12.260 - | mipsisa64sr71k | mipsisa64sr71kel \
12.261 - | mipstx39 | mipstx39el \
12.262 - | mn10200 | mn10300 \
12.263 - | ms1 \
12.264 - | msp430 \
12.265 - | ns16k | ns32k \
12.266 - | or32 \
12.267 - | pdp10 | pdp11 | pj | pjl \
12.268 - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
12.269 - | pyramid \
12.270 - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
12.271 - | sh64 | sh64le \
12.272 - | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
12.273 - | sparcv8 | sparcv9 | sparcv9b \
12.274 - | strongarm \
12.275 - | tahoe | thumb | tic4x | tic80 | tron \
12.276 - | v850 | v850e \
12.277 - | we32k \
12.278 - | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
12.279 - | z8k)
12.280 - basic_machine=$basic_machine-unknown
12.281 - ;;
12.282 - m32c)
12.283 - basic_machine=$basic_machine-unknown
12.284 - ;;
12.285 - m6811 | m68hc11 | m6812 | m68hc12)
12.286 - # Motorola 68HC11/12.
12.287 - basic_machine=$basic_machine-unknown
12.288 - os=-none
12.289 - ;;
12.290 - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
12.291 - ;;
12.292 -
12.293 - # We use `pc' rather than `unknown'
12.294 - # because (1) that's what they normally are, and
12.295 - # (2) the word "unknown" tends to confuse beginning users.
12.296 - i*86 | x86_64)
12.297 - basic_machine=$basic_machine-pc
12.298 - ;;
12.299 - # Object if more than one company name word.
12.300 - *-*-*)
12.301 - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
12.302 - exit 1
12.303 - ;;
12.304 - # Recognize the basic CPU types with company name.
12.305 - 580-* \
12.306 - | a29k-* \
12.307 - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
12.308 - | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
12.309 - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
12.310 - | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
12.311 - | avr-* \
12.312 - | bfin-* | bs2000-* \
12.313 - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
12.314 - | clipper-* | craynv-* | cydra-* \
12.315 - | d10v-* | d30v-* | dlx-* \
12.316 - | elxsi-* \
12.317 - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
12.318 - | h8300-* | h8500-* \
12.319 - | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
12.320 - | i*86-* | i860-* | i960-* | ia64-* \
12.321 - | ip2k-* | iq2000-* \
12.322 - | m32r-* | m32rle-* \
12.323 - | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
12.324 - | m88110-* | m88k-* | maxq-* | mcore-* \
12.325 - | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
12.326 - | mips16-* \
12.327 - | mips64-* | mips64el-* \
12.328 - | mips64vr-* | mips64vrel-* \
12.329 - | mips64orion-* | mips64orionel-* \
12.330 - | mips64vr4100-* | mips64vr4100el-* \
12.331 - | mips64vr4300-* | mips64vr4300el-* \
12.332 - | mips64vr5000-* | mips64vr5000el-* \
12.333 - | mips64vr5900-* | mips64vr5900el-* \
12.334 - | mipsisa32-* | mipsisa32el-* \
12.335 - | mipsisa32r2-* | mipsisa32r2el-* \
12.336 - | mipsisa64-* | mipsisa64el-* \
12.337 - | mipsisa64r2-* | mipsisa64r2el-* \
12.338 - | mipsisa64sb1-* | mipsisa64sb1el-* \
12.339 - | mipsisa64sr71k-* | mipsisa64sr71kel-* \
12.340 - | mipstx39-* | mipstx39el-* \
12.341 - | mmix-* \
12.342 - | ms1-* \
12.343 - | msp430-* \
12.344 - | none-* | np1-* | ns16k-* | ns32k-* \
12.345 - | orion-* \
12.346 - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
12.347 - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
12.348 - | pyramid-* \
12.349 - | romp-* | rs6000-* \
12.350 - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
12.351 - | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
12.352 - | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
12.353 - | sparclite-* \
12.354 - | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
12.355 - | tahoe-* | thumb-* \
12.356 - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
12.357 - | tron-* \
12.358 - | v850-* | v850e-* | vax-* \
12.359 - | we32k-* \
12.360 - | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
12.361 - | xstormy16-* | xtensa-* \
12.362 - | ymp-* \
12.363 - | z8k-*)
12.364 - ;;
12.365 - m32c-*)
12.366 - ;;
12.367 - # Recognize the various machine names and aliases which stand
12.368 - # for a CPU type and a company and sometimes even an OS.
12.369 - 386bsd)
12.370 - basic_machine=i386-unknown
12.371 - os=-bsd
12.372 - ;;
12.373 - 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
12.374 - basic_machine=m68000-att
12.375 - ;;
12.376 - 3b*)
12.377 - basic_machine=we32k-att
12.378 - ;;
12.379 - a29khif)
12.380 - basic_machine=a29k-amd
12.381 - os=-udi
12.382 - ;;
12.383 - abacus)
12.384 - basic_machine=abacus-unknown
12.385 - ;;
12.386 - adobe68k)
12.387 - basic_machine=m68010-adobe
12.388 - os=-scout
12.389 - ;;
12.390 - alliant | fx80)
12.391 - basic_machine=fx80-alliant
12.392 - ;;
12.393 - altos | altos3068)
12.394 - basic_machine=m68k-altos
12.395 - ;;
12.396 - am29k)
12.397 - basic_machine=a29k-none
12.398 - os=-bsd
12.399 - ;;
12.400 - amd64)
12.401 - basic_machine=x86_64-pc
12.402 - ;;
12.403 - amd64-*)
12.404 - basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
12.405 - ;;
12.406 - amdahl)
12.407 - basic_machine=580-amdahl
12.408 - os=-sysv
12.409 - ;;
12.410 - amiga | amiga-*)
12.411 - basic_machine=m68k-unknown
12.412 - ;;
12.413 - amigaos | amigados)
12.414 - basic_machine=m68k-unknown
12.415 - os=-amigaos
12.416 - ;;
12.417 - amigaunix | amix)
12.418 - basic_machine=m68k-unknown
12.419 - os=-sysv4
12.420 - ;;
12.421 - apollo68)
12.422 - basic_machine=m68k-apollo
12.423 - os=-sysv
12.424 - ;;
12.425 - apollo68bsd)
12.426 - basic_machine=m68k-apollo
12.427 - os=-bsd
12.428 - ;;
12.429 - aux)
12.430 - basic_machine=m68k-apple
12.431 - os=-aux
12.432 - ;;
12.433 - balance)
12.434 - basic_machine=ns32k-sequent
12.435 - os=-dynix
12.436 - ;;
12.437 - c90)
12.438 - basic_machine=c90-cray
12.439 - os=-unicos
12.440 - ;;
12.441 - convex-c1)
12.442 - basic_machine=c1-convex
12.443 - os=-bsd
12.444 - ;;
12.445 - convex-c2)
12.446 - basic_machine=c2-convex
12.447 - os=-bsd
12.448 - ;;
12.449 - convex-c32)
12.450 - basic_machine=c32-convex
12.451 - os=-bsd
12.452 - ;;
12.453 - convex-c34)
12.454 - basic_machine=c34-convex
12.455 - os=-bsd
12.456 - ;;
12.457 - convex-c38)
12.458 - basic_machine=c38-convex
12.459 - os=-bsd
12.460 - ;;
12.461 - cray | j90)
12.462 - basic_machine=j90-cray
12.463 - os=-unicos
12.464 - ;;
12.465 - craynv)
12.466 - basic_machine=craynv-cray
12.467 - os=-unicosmp
12.468 - ;;
12.469 - cr16c)
12.470 - basic_machine=cr16c-unknown
12.471 - os=-elf
12.472 - ;;
12.473 - crds | unos)
12.474 - basic_machine=m68k-crds
12.475 - ;;
12.476 - crisv32 | crisv32-* | etraxfs*)
12.477 - basic_machine=crisv32-axis
12.478 - ;;
12.479 - cris | cris-* | etrax*)
12.480 - basic_machine=cris-axis
12.481 - ;;
12.482 - crx)
12.483 - basic_machine=crx-unknown
12.484 - os=-elf
12.485 - ;;
12.486 - da30 | da30-*)
12.487 - basic_machine=m68k-da30
12.488 - ;;
12.489 - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
12.490 - basic_machine=mips-dec
12.491 - ;;
12.492 - decsystem10* | dec10*)
12.493 - basic_machine=pdp10-dec
12.494 - os=-tops10
12.495 - ;;
12.496 - decsystem20* | dec20*)
12.497 - basic_machine=pdp10-dec
12.498 - os=-tops20
12.499 - ;;
12.500 - delta | 3300 | motorola-3300 | motorola-delta \
12.501 - | 3300-motorola | delta-motorola)
12.502 - basic_machine=m68k-motorola
12.503 - ;;
12.504 - delta88)
12.505 - basic_machine=m88k-motorola
12.506 - os=-sysv3
12.507 - ;;
12.508 - djgpp)
12.509 - basic_machine=i586-pc
12.510 - os=-msdosdjgpp
12.511 - ;;
12.512 - dpx20 | dpx20-*)
12.513 - basic_machine=rs6000-bull
12.514 - os=-bosx
12.515 - ;;
12.516 - dpx2* | dpx2*-bull)
12.517 - basic_machine=m68k-bull
12.518 - os=-sysv3
12.519 - ;;
12.520 - ebmon29k)
12.521 - basic_machine=a29k-amd
12.522 - os=-ebmon
12.523 - ;;
12.524 - elxsi)
12.525 - basic_machine=elxsi-elxsi
12.526 - os=-bsd
12.527 - ;;
12.528 - encore | umax | mmax)
12.529 - basic_machine=ns32k-encore
12.530 - ;;
12.531 - es1800 | OSE68k | ose68k | ose | OSE)
12.532 - basic_machine=m68k-ericsson
12.533 - os=-ose
12.534 - ;;
12.535 - fx2800)
12.536 - basic_machine=i860-alliant
12.537 - ;;
12.538 - genix)
12.539 - basic_machine=ns32k-ns
12.540 - ;;
12.541 - gmicro)
12.542 - basic_machine=tron-gmicro
12.543 - os=-sysv
12.544 - ;;
12.545 - go32)
12.546 - basic_machine=i386-pc
12.547 - os=-go32
12.548 - ;;
12.549 - h3050r* | hiux*)
12.550 - basic_machine=hppa1.1-hitachi
12.551 - os=-hiuxwe2
12.552 - ;;
12.553 - h8300hms)
12.554 - basic_machine=h8300-hitachi
12.555 - os=-hms
12.556 - ;;
12.557 - h8300xray)
12.558 - basic_machine=h8300-hitachi
12.559 - os=-xray
12.560 - ;;
12.561 - h8500hms)
12.562 - basic_machine=h8500-hitachi
12.563 - os=-hms
12.564 - ;;
12.565 - harris)
12.566 - basic_machine=m88k-harris
12.567 - os=-sysv3
12.568 - ;;
12.569 - hp300-*)
12.570 - basic_machine=m68k-hp
12.571 - ;;
12.572 - hp300bsd)
12.573 - basic_machine=m68k-hp
12.574 - os=-bsd
12.575 - ;;
12.576 - hp300hpux)
12.577 - basic_machine=m68k-hp
12.578 - os=-hpux
12.579 - ;;
12.580 - hp3k9[0-9][0-9] | hp9[0-9][0-9])
12.581 - basic_machine=hppa1.0-hp
12.582 - ;;
12.583 - hp9k2[0-9][0-9] | hp9k31[0-9])
12.584 - basic_machine=m68000-hp
12.585 - ;;
12.586 - hp9k3[2-9][0-9])
12.587 - basic_machine=m68k-hp
12.588 - ;;
12.589 - hp9k6[0-9][0-9] | hp6[0-9][0-9])
12.590 - basic_machine=hppa1.0-hp
12.591 - ;;
12.592 - hp9k7[0-79][0-9] | hp7[0-79][0-9])
12.593 - basic_machine=hppa1.1-hp
12.594 - ;;
12.595 - hp9k78[0-9] | hp78[0-9])
12.596 - # FIXME: really hppa2.0-hp
12.597 - basic_machine=hppa1.1-hp
12.598 - ;;
12.599 - hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
12.600 - # FIXME: really hppa2.0-hp
12.601 - basic_machine=hppa1.1-hp
12.602 - ;;
12.603 - hp9k8[0-9][13679] | hp8[0-9][13679])
12.604 - basic_machine=hppa1.1-hp
12.605 - ;;
12.606 - hp9k8[0-9][0-9] | hp8[0-9][0-9])
12.607 - basic_machine=hppa1.0-hp
12.608 - ;;
12.609 - hppa-next)
12.610 - os=-nextstep3
12.611 - ;;
12.612 - hppaosf)
12.613 - basic_machine=hppa1.1-hp
12.614 - os=-osf
12.615 - ;;
12.616 - hppro)
12.617 - basic_machine=hppa1.1-hp
12.618 - os=-proelf
12.619 - ;;
12.620 - i370-ibm* | ibm*)
12.621 - basic_machine=i370-ibm
12.622 - ;;
12.623 -# I'm not sure what "Sysv32" means. Should this be sysv3.2?
12.624 - i*86v32)
12.625 - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
12.626 - os=-sysv32
12.627 - ;;
12.628 - i*86v4*)
12.629 - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
12.630 - os=-sysv4
12.631 - ;;
12.632 - i*86v)
12.633 - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
12.634 - os=-sysv
12.635 - ;;
12.636 - i*86sol2)
12.637 - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
12.638 - os=-solaris2
12.639 - ;;
12.640 - i386mach)
12.641 - basic_machine=i386-mach
12.642 - os=-mach
12.643 - ;;
12.644 - i386-vsta | vsta)
12.645 - basic_machine=i386-unknown
12.646 - os=-vsta
12.647 - ;;
12.648 - iris | iris4d)
12.649 - basic_machine=mips-sgi
12.650 - case $os in
12.651 - -irix*)
12.652 - ;;
12.653 - *)
12.654 - os=-irix4
12.655 - ;;
12.656 - esac
12.657 - ;;
12.658 - isi68 | isi)
12.659 - basic_machine=m68k-isi
12.660 - os=-sysv
12.661 - ;;
12.662 - m88k-omron*)
12.663 - basic_machine=m88k-omron
12.664 - ;;
12.665 - magnum | m3230)
12.666 - basic_machine=mips-mips
12.667 - os=-sysv
12.668 - ;;
12.669 - merlin)
12.670 - basic_machine=ns32k-utek
12.671 - os=-sysv
12.672 - ;;
12.673 - mingw32)
12.674 - basic_machine=i386-pc
12.675 - os=-mingw32
12.676 - ;;
12.677 - miniframe)
12.678 - basic_machine=m68000-convergent
12.679 - ;;
12.680 - *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
12.681 - basic_machine=m68k-atari
12.682 - os=-mint
12.683 - ;;
12.684 - mips3*-*)
12.685 - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
12.686 - ;;
12.687 - mips3*)
12.688 - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
12.689 - ;;
12.690 - monitor)
12.691 - basic_machine=m68k-rom68k
12.692 - os=-coff
12.693 - ;;
12.694 - morphos)
12.695 - basic_machine=powerpc-unknown
12.696 - os=-morphos
12.697 - ;;
12.698 - msdos)
12.699 - basic_machine=i386-pc
12.700 - os=-msdos
12.701 - ;;
12.702 - mvs)
12.703 - basic_machine=i370-ibm
12.704 - os=-mvs
12.705 - ;;
12.706 - ncr3000)
12.707 - basic_machine=i486-ncr
12.708 - os=-sysv4
12.709 - ;;
12.710 - netbsd386)
12.711 - basic_machine=i386-unknown
12.712 - os=-netbsd
12.713 - ;;
12.714 - netwinder)
12.715 - basic_machine=armv4l-rebel
12.716 - os=-linux
12.717 - ;;
12.718 - news | news700 | news800 | news900)
12.719 - basic_machine=m68k-sony
12.720 - os=-newsos
12.721 - ;;
12.722 - news1000)
12.723 - basic_machine=m68030-sony
12.724 - os=-newsos
12.725 - ;;
12.726 - news-3600 | risc-news)
12.727 - basic_machine=mips-sony
12.728 - os=-newsos
12.729 - ;;
12.730 - necv70)
12.731 - basic_machine=v70-nec
12.732 - os=-sysv
12.733 - ;;
12.734 - next | m*-next )
12.735 - basic_machine=m68k-next
12.736 - case $os in
12.737 - -nextstep* )
12.738 - ;;
12.739 - -ns2*)
12.740 - os=-nextstep2
12.741 - ;;
12.742 - *)
12.743 - os=-nextstep3
12.744 - ;;
12.745 - esac
12.746 - ;;
12.747 - nh3000)
12.748 - basic_machine=m68k-harris
12.749 - os=-cxux
12.750 - ;;
12.751 - nh[45]000)
12.752 - basic_machine=m88k-harris
12.753 - os=-cxux
12.754 - ;;
12.755 - nindy960)
12.756 - basic_machine=i960-intel
12.757 - os=-nindy
12.758 - ;;
12.759 - mon960)
12.760 - basic_machine=i960-intel
12.761 - os=-mon960
12.762 - ;;
12.763 - nonstopux)
12.764 - basic_machine=mips-compaq
12.765 - os=-nonstopux
12.766 - ;;
12.767 - np1)
12.768 - basic_machine=np1-gould
12.769 - ;;
12.770 - nsr-tandem)
12.771 - basic_machine=nsr-tandem
12.772 - ;;
12.773 - op50n-* | op60c-*)
12.774 - basic_machine=hppa1.1-oki
12.775 - os=-proelf
12.776 - ;;
12.777 - openrisc | openrisc-*)
12.778 - basic_machine=or32-unknown
12.779 - ;;
12.780 - os400)
12.781 - basic_machine=powerpc-ibm
12.782 - os=-os400
12.783 - ;;
12.784 - OSE68000 | ose68000)
12.785 - basic_machine=m68000-ericsson
12.786 - os=-ose
12.787 - ;;
12.788 - os68k)
12.789 - basic_machine=m68k-none
12.790 - os=-os68k
12.791 - ;;
12.792 - pa-hitachi)
12.793 - basic_machine=hppa1.1-hitachi
12.794 - os=-hiuxwe2
12.795 - ;;
12.796 - paragon)
12.797 - basic_machine=i860-intel
12.798 - os=-osf
12.799 - ;;
12.800 - pbd)
12.801 - basic_machine=sparc-tti
12.802 - ;;
12.803 - pbb)
12.804 - basic_machine=m68k-tti
12.805 - ;;
12.806 - pc532 | pc532-*)
12.807 - basic_machine=ns32k-pc532
12.808 - ;;
12.809 - pentium | p5 | k5 | k6 | nexgen | viac3)
12.810 - basic_machine=i586-pc
12.811 - ;;
12.812 - pentiumpro | p6 | 6x86 | athlon | athlon_*)
12.813 - basic_machine=i686-pc
12.814 - ;;
12.815 - pentiumii | pentium2 | pentiumiii | pentium3)
12.816 - basic_machine=i686-pc
12.817 - ;;
12.818 - pentium4)
12.819 - basic_machine=i786-pc
12.820 - ;;
12.821 - pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
12.822 - basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
12.823 - ;;
12.824 - pentiumpro-* | p6-* | 6x86-* | athlon-*)
12.825 - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
12.826 - ;;
12.827 - pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
12.828 - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
12.829 - ;;
12.830 - pentium4-*)
12.831 - basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
12.832 - ;;
12.833 - pn)
12.834 - basic_machine=pn-gould
12.835 - ;;
12.836 - power) basic_machine=power-ibm
12.837 - ;;
12.838 - ppc) basic_machine=powerpc-unknown
12.839 - ;;
12.840 - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
12.841 - ;;
12.842 - ppcle | powerpclittle | ppc-le | powerpc-little)
12.843 - basic_machine=powerpcle-unknown
12.844 - ;;
12.845 - ppcle-* | powerpclittle-*)
12.846 - basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
12.847 - ;;
12.848 - ppc64) basic_machine=powerpc64-unknown
12.849 - ;;
12.850 - ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
12.851 - ;;
12.852 - ppc64le | powerpc64little | ppc64-le | powerpc64-little)
12.853 - basic_machine=powerpc64le-unknown
12.854 - ;;
12.855 - ppc64le-* | powerpc64little-*)
12.856 - basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
12.857 - ;;
12.858 - ps2)
12.859 - basic_machine=i386-ibm
12.860 - ;;
12.861 - pw32)
12.862 - basic_machine=i586-unknown
12.863 - os=-pw32
12.864 - ;;
12.865 - rom68k)
12.866 - basic_machine=m68k-rom68k
12.867 - os=-coff
12.868 - ;;
12.869 - rm[46]00)
12.870 - basic_machine=mips-siemens
12.871 - ;;
12.872 - rtpc | rtpc-*)
12.873 - basic_machine=romp-ibm
12.874 - ;;
12.875 - s390 | s390-*)
12.876 - basic_machine=s390-ibm
12.877 - ;;
12.878 - s390x | s390x-*)
12.879 - basic_machine=s390x-ibm
12.880 - ;;
12.881 - sa29200)
12.882 - basic_machine=a29k-amd
12.883 - os=-udi
12.884 - ;;
12.885 - sb1)
12.886 - basic_machine=mipsisa64sb1-unknown
12.887 - ;;
12.888 - sb1el)
12.889 - basic_machine=mipsisa64sb1el-unknown
12.890 - ;;
12.891 - sei)
12.892 - basic_machine=mips-sei
12.893 - os=-seiux
12.894 - ;;
12.895 - sequent)
12.896 - basic_machine=i386-sequent
12.897 - ;;
12.898 - sh)
12.899 - basic_machine=sh-hitachi
12.900 - os=-hms
12.901 - ;;
12.902 - sh64)
12.903 - basic_machine=sh64-unknown
12.904 - ;;
12.905 - sparclite-wrs | simso-wrs)
12.906 - basic_machine=sparclite-wrs
12.907 - os=-vxworks
12.908 - ;;
12.909 - sps7)
12.910 - basic_machine=m68k-bull
12.911 - os=-sysv2
12.912 - ;;
12.913 - spur)
12.914 - basic_machine=spur-unknown
12.915 - ;;
12.916 - st2000)
12.917 - basic_machine=m68k-tandem
12.918 - ;;
12.919 - stratus)
12.920 - basic_machine=i860-stratus
12.921 - os=-sysv4
12.922 - ;;
12.923 - sun2)
12.924 - basic_machine=m68000-sun
12.925 - ;;
12.926 - sun2os3)
12.927 - basic_machine=m68000-sun
12.928 - os=-sunos3
12.929 - ;;
12.930 - sun2os4)
12.931 - basic_machine=m68000-sun
12.932 - os=-sunos4
12.933 - ;;
12.934 - sun3os3)
12.935 - basic_machine=m68k-sun
12.936 - os=-sunos3
12.937 - ;;
12.938 - sun3os4)
12.939 - basic_machine=m68k-sun
12.940 - os=-sunos4
12.941 - ;;
12.942 - sun4os3)
12.943 - basic_machine=sparc-sun
12.944 - os=-sunos3
12.945 - ;;
12.946 - sun4os4)
12.947 - basic_machine=sparc-sun
12.948 - os=-sunos4
12.949 - ;;
12.950 - sun4sol2)
12.951 - basic_machine=sparc-sun
12.952 - os=-solaris2
12.953 - ;;
12.954 - sun3 | sun3-*)
12.955 - basic_machine=m68k-sun
12.956 - ;;
12.957 - sun4)
12.958 - basic_machine=sparc-sun
12.959 - ;;
12.960 - sun386 | sun386i | roadrunner)
12.961 - basic_machine=i386-sun
12.962 - ;;
12.963 - sv1)
12.964 - basic_machine=sv1-cray
12.965 - os=-unicos
12.966 - ;;
12.967 - symmetry)
12.968 - basic_machine=i386-sequent
12.969 - os=-dynix
12.970 - ;;
12.971 - t3e)
12.972 - basic_machine=alphaev5-cray
12.973 - os=-unicos
12.974 - ;;
12.975 - t90)
12.976 - basic_machine=t90-cray
12.977 - os=-unicos
12.978 - ;;
12.979 - tic54x | c54x*)
12.980 - basic_machine=tic54x-unknown
12.981 - os=-coff
12.982 - ;;
12.983 - tic55x | c55x*)
12.984 - basic_machine=tic55x-unknown
12.985 - os=-coff
12.986 - ;;
12.987 - tic6x | c6x*)
12.988 - basic_machine=tic6x-unknown
12.989 - os=-coff
12.990 - ;;
12.991 - tx39)
12.992 - basic_machine=mipstx39-unknown
12.993 - ;;
12.994 - tx39el)
12.995 - basic_machine=mipstx39el-unknown
12.996 - ;;
12.997 - toad1)
12.998 - basic_machine=pdp10-xkl
12.999 - os=-tops20
12.1000 - ;;
12.1001 - tower | tower-32)
12.1002 - basic_machine=m68k-ncr
12.1003 - ;;
12.1004 - tpf)
12.1005 - basic_machine=s390x-ibm
12.1006 - os=-tpf
12.1007 - ;;
12.1008 - udi29k)
12.1009 - basic_machine=a29k-amd
12.1010 - os=-udi
12.1011 - ;;
12.1012 - ultra3)
12.1013 - basic_machine=a29k-nyu
12.1014 - os=-sym1
12.1015 - ;;
12.1016 - v810 | necv810)
12.1017 - basic_machine=v810-nec
12.1018 - os=-none
12.1019 - ;;
12.1020 - vaxv)
12.1021 - basic_machine=vax-dec
12.1022 - os=-sysv
12.1023 - ;;
12.1024 - vms)
12.1025 - basic_machine=vax-dec
12.1026 - os=-vms
12.1027 - ;;
12.1028 - vpp*|vx|vx-*)
12.1029 - basic_machine=f301-fujitsu
12.1030 - ;;
12.1031 - vxworks960)
12.1032 - basic_machine=i960-wrs
12.1033 - os=-vxworks
12.1034 - ;;
12.1035 - vxworks68)
12.1036 - basic_machine=m68k-wrs
12.1037 - os=-vxworks
12.1038 - ;;
12.1039 - vxworks29k)
12.1040 - basic_machine=a29k-wrs
12.1041 - os=-vxworks
12.1042 - ;;
12.1043 - w65*)
12.1044 - basic_machine=w65-wdc
12.1045 - os=-none
12.1046 - ;;
12.1047 - w89k-*)
12.1048 - basic_machine=hppa1.1-winbond
12.1049 - os=-proelf
12.1050 - ;;
12.1051 - xbox)
12.1052 - basic_machine=i686-pc
12.1053 - os=-mingw32
12.1054 - ;;
12.1055 - xps | xps100)
12.1056 - basic_machine=xps100-honeywell
12.1057 - ;;
12.1058 - ymp)
12.1059 - basic_machine=ymp-cray
12.1060 - os=-unicos
12.1061 - ;;
12.1062 - z8k-*-coff)
12.1063 - basic_machine=z8k-unknown
12.1064 - os=-sim
12.1065 - ;;
12.1066 - none)
12.1067 - basic_machine=none-none
12.1068 - os=-none
12.1069 - ;;
12.1070 -
12.1071 -# Here we handle the default manufacturer of certain CPU types. It is in
12.1072 -# some cases the only manufacturer, in others, it is the most popular.
12.1073 - w89k)
12.1074 - basic_machine=hppa1.1-winbond
12.1075 - ;;
12.1076 - op50n)
12.1077 - basic_machine=hppa1.1-oki
12.1078 - ;;
12.1079 - op60c)
12.1080 - basic_machine=hppa1.1-oki
12.1081 - ;;
12.1082 - romp)
12.1083 - basic_machine=romp-ibm
12.1084 - ;;
12.1085 - mmix)
12.1086 - basic_machine=mmix-knuth
12.1087 - ;;
12.1088 - rs6000)
12.1089 - basic_machine=rs6000-ibm
12.1090 - ;;
12.1091 - vax)
12.1092 - basic_machine=vax-dec
12.1093 - ;;
12.1094 - pdp10)
12.1095 - # there are many clones, so DEC is not a safe bet
12.1096 - basic_machine=pdp10-unknown
12.1097 - ;;
12.1098 - pdp11)
12.1099 - basic_machine=pdp11-dec
12.1100 - ;;
12.1101 - we32k)
12.1102 - basic_machine=we32k-att
12.1103 - ;;
12.1104 - sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
12.1105 - basic_machine=sh-unknown
12.1106 - ;;
12.1107 - sparc | sparcv8 | sparcv9 | sparcv9b)
12.1108 - basic_machine=sparc-sun
12.1109 - ;;
12.1110 - cydra)
12.1111 - basic_machine=cydra-cydrome
12.1112 - ;;
12.1113 - orion)
12.1114 - basic_machine=orion-highlevel
12.1115 - ;;
12.1116 - orion105)
12.1117 - basic_machine=clipper-highlevel
12.1118 - ;;
12.1119 - mac | mpw | mac-mpw)
12.1120 - basic_machine=m68k-apple
12.1121 - ;;
12.1122 - pmac | pmac-mpw)
12.1123 - basic_machine=powerpc-apple
12.1124 - ;;
12.1125 - *-unknown)
12.1126 - # Make sure to match an already-canonicalized machine name.
12.1127 - ;;
12.1128 - *)
12.1129 - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
12.1130 - exit 1
12.1131 - ;;
12.1132 -esac
12.1133 -
12.1134 -# Here we canonicalize certain aliases for manufacturers.
12.1135 -case $basic_machine in
12.1136 - *-digital*)
12.1137 - basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
12.1138 - ;;
12.1139 - *-commodore*)
12.1140 - basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
12.1141 - ;;
12.1142 - *)
12.1143 - ;;
12.1144 -esac
12.1145 -
12.1146 -# Decode manufacturer-specific aliases for certain operating systems.
12.1147 -
12.1148 -if [ x"$os" != x"" ]
12.1149 -then
12.1150 -case $os in
12.1151 - # First match some system type aliases
12.1152 - # that might get confused with valid system types.
12.1153 - # -solaris* is a basic system type, with this one exception.
12.1154 - -solaris1 | -solaris1.*)
12.1155 - os=`echo $os | sed -e 's|solaris1|sunos4|'`
12.1156 - ;;
12.1157 - -solaris)
12.1158 - os=-solaris2
12.1159 - ;;
12.1160 - -svr4*)
12.1161 - os=-sysv4
12.1162 - ;;
12.1163 - -unixware*)
12.1164 - os=-sysv4.2uw
12.1165 - ;;
12.1166 - -gnu/linux*)
12.1167 - os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
12.1168 - ;;
12.1169 - # First accept the basic system types.
12.1170 - # The portable systems comes first.
12.1171 - # Each alternative MUST END IN A *, to match a version number.
12.1172 - # -sysv* is not here because it comes later, after sysvr4.
12.1173 - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
12.1174 - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
12.1175 - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
12.1176 - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
12.1177 - | -aos* \
12.1178 - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
12.1179 - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
12.1180 - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
12.1181 - | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
12.1182 - | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
12.1183 - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
12.1184 - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
12.1185 - | -chorusos* | -chorusrdb* \
12.1186 - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
12.1187 - | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
12.1188 - | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
12.1189 - | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
12.1190 - | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
12.1191 - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
12.1192 - | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
12.1193 - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
12.1194 - | -skyos* | -haiku*)
12.1195 - # Remember, each alternative MUST END IN *, to match a version number.
12.1196 - ;;
12.1197 - -qnx*)
12.1198 - case $basic_machine in
12.1199 - x86-* | i*86-*)
12.1200 - ;;
12.1201 - *)
12.1202 - os=-nto$os
12.1203 - ;;
12.1204 - esac
12.1205 - ;;
12.1206 - -nto-qnx*)
12.1207 - ;;
12.1208 - -nto*)
12.1209 - os=`echo $os | sed -e 's|nto|nto-qnx|'`
12.1210 - ;;
12.1211 - -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
12.1212 - | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
12.1213 - | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
12.1214 - ;;
12.1215 - -mac*)
12.1216 - os=`echo $os | sed -e 's|mac|macos|'`
12.1217 - ;;
12.1218 - -linux-dietlibc)
12.1219 - os=-linux-dietlibc
12.1220 - ;;
12.1221 - -linux*)
12.1222 - os=`echo $os | sed -e 's|linux|linux-gnu|'`
12.1223 - ;;
12.1224 - -sunos5*)
12.1225 - os=`echo $os | sed -e 's|sunos5|solaris2|'`
12.1226 - ;;
12.1227 - -sunos6*)
12.1228 - os=`echo $os | sed -e 's|sunos6|solaris3|'`
12.1229 - ;;
12.1230 - -opened*)
12.1231 - os=-openedition
12.1232 - ;;
12.1233 - -os400*)
12.1234 - os=-os400
12.1235 - ;;
12.1236 - -wince*)
12.1237 - os=-wince
12.1238 - ;;
12.1239 - -osfrose*)
12.1240 - os=-osfrose
12.1241 - ;;
12.1242 - -osf*)
12.1243 - os=-osf
12.1244 - ;;
12.1245 - -utek*)
12.1246 - os=-bsd
12.1247 - ;;
12.1248 - -dynix*)
12.1249 - os=-bsd
12.1250 - ;;
12.1251 - -acis*)
12.1252 - os=-aos
12.1253 - ;;
12.1254 - -atheos*)
12.1255 - os=-atheos
12.1256 - ;;
12.1257 - -syllable*)
12.1258 - os=-syllable
12.1259 - ;;
12.1260 - -386bsd)
12.1261 - os=-bsd
12.1262 - ;;
12.1263 - -ctix* | -uts*)
12.1264 - os=-sysv
12.1265 - ;;
12.1266 - -nova*)
12.1267 - os=-rtmk-nova
12.1268 - ;;
12.1269 - -ns2 )
12.1270 - os=-nextstep2
12.1271 - ;;
12.1272 - -nsk*)
12.1273 - os=-nsk
12.1274 - ;;
12.1275 - # Preserve the version number of sinix5.
12.1276 - -sinix5.*)
12.1277 - os=`echo $os | sed -e 's|sinix|sysv|'`
12.1278 - ;;
12.1279 - -sinix*)
12.1280 - os=-sysv4
12.1281 - ;;
12.1282 - -tpf*)
12.1283 - os=-tpf
12.1284 - ;;
12.1285 - -triton*)
12.1286 - os=-sysv3
12.1287 - ;;
12.1288 - -oss*)
12.1289 - os=-sysv3
12.1290 - ;;
12.1291 - -svr4)
12.1292 - os=-sysv4
12.1293 - ;;
12.1294 - -svr3)
12.1295 - os=-sysv3
12.1296 - ;;
12.1297 - -sysvr4)
12.1298 - os=-sysv4
12.1299 - ;;
12.1300 - # This must come after -sysvr4.
12.1301 - -sysv*)
12.1302 - ;;
12.1303 - -ose*)
12.1304 - os=-ose
12.1305 - ;;
12.1306 - -es1800*)
12.1307 - os=-ose
12.1308 - ;;
12.1309 - -xenix)
12.1310 - os=-xenix
12.1311 - ;;
12.1312 - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
12.1313 - os=-mint
12.1314 - ;;
12.1315 - -aros*)
12.1316 - os=-aros
12.1317 - ;;
12.1318 - -kaos*)
12.1319 - os=-kaos
12.1320 - ;;
12.1321 - -zvmoe)
12.1322 - os=-zvmoe
12.1323 - ;;
12.1324 - -none)
12.1325 - ;;
12.1326 - *)
12.1327 - # Get rid of the `-' at the beginning of $os.
12.1328 - os=`echo $os | sed 's/[^-]*-//'`
12.1329 - echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
12.1330 - exit 1
12.1331 - ;;
12.1332 -esac
12.1333 -else
12.1334 -
12.1335 -# Here we handle the default operating systems that come with various machines.
12.1336 -# The value should be what the vendor currently ships out the door with their
12.1337 -# machine or put another way, the most popular os provided with the machine.
12.1338 -
12.1339 -# Note that if you're going to try to match "-MANUFACTURER" here (say,
12.1340 -# "-sun"), then you have to tell the case statement up towards the top
12.1341 -# that MANUFACTURER isn't an operating system. Otherwise, code above
12.1342 -# will signal an error saying that MANUFACTURER isn't an operating
12.1343 -# system, and we'll never get to this point.
12.1344 -
12.1345 -case $basic_machine in
12.1346 - *-acorn)
12.1347 - os=-riscix1.2
12.1348 - ;;
12.1349 - arm*-rebel)
12.1350 - os=-linux
12.1351 - ;;
12.1352 - arm*-semi)
12.1353 - os=-aout
12.1354 - ;;
12.1355 - c4x-* | tic4x-*)
12.1356 - os=-coff
12.1357 - ;;
12.1358 - # This must come before the *-dec entry.
12.1359 - pdp10-*)
12.1360 - os=-tops20
12.1361 - ;;
12.1362 - pdp11-*)
12.1363 - os=-none
12.1364 - ;;
12.1365 - *-dec | vax-*)
12.1366 - os=-ultrix4.2
12.1367 - ;;
12.1368 - m68*-apollo)
12.1369 - os=-domain
12.1370 - ;;
12.1371 - i386-sun)
12.1372 - os=-sunos4.0.2
12.1373 - ;;
12.1374 - m68000-sun)
12.1375 - os=-sunos3
12.1376 - # This also exists in the configure program, but was not the
12.1377 - # default.
12.1378 - # os=-sunos4
12.1379 - ;;
12.1380 - m68*-cisco)
12.1381 - os=-aout
12.1382 - ;;
12.1383 - mips*-cisco)
12.1384 - os=-elf
12.1385 - ;;
12.1386 - mips*-*)
12.1387 - os=-elf
12.1388 - ;;
12.1389 - or32-*)
12.1390 - os=-coff
12.1391 - ;;
12.1392 - *-tti) # must be before sparc entry or we get the wrong os.
12.1393 - os=-sysv3
12.1394 - ;;
12.1395 - sparc-* | *-sun)
12.1396 - os=-sunos4.1.1
12.1397 - ;;
12.1398 - *-be)
12.1399 - os=-beos
12.1400 - ;;
12.1401 - *-haiku)
12.1402 - os=-haiku
12.1403 - ;;
12.1404 - *-ibm)
12.1405 - os=-aix
12.1406 - ;;
12.1407 - *-knuth)
12.1408 - os=-mmixware
12.1409 - ;;
12.1410 - *-wec)
12.1411 - os=-proelf
12.1412 - ;;
12.1413 - *-winbond)
12.1414 - os=-proelf
12.1415 - ;;
12.1416 - *-oki)
12.1417 - os=-proelf
12.1418 - ;;
12.1419 - *-hp)
12.1420 - os=-hpux
12.1421 - ;;
12.1422 - *-hitachi)
12.1423 - os=-hiux
12.1424 - ;;
12.1425 - i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
12.1426 - os=-sysv
12.1427 - ;;
12.1428 - *-cbm)
12.1429 - os=-amigaos
12.1430 - ;;
12.1431 - *-dg)
12.1432 - os=-dgux
12.1433 - ;;
12.1434 - *-dolphin)
12.1435 - os=-sysv3
12.1436 - ;;
12.1437 - m68k-ccur)
12.1438 - os=-rtu
12.1439 - ;;
12.1440 - m88k-omron*)
12.1441 - os=-luna
12.1442 - ;;
12.1443 - *-next )
12.1444 - os=-nextstep
12.1445 - ;;
12.1446 - *-sequent)
12.1447 - os=-ptx
12.1448 - ;;
12.1449 - *-crds)
12.1450 - os=-unos
12.1451 - ;;
12.1452 - *-ns)
12.1453 - os=-genix
12.1454 - ;;
12.1455 - i370-*)
12.1456 - os=-mvs
12.1457 - ;;
12.1458 - *-next)
12.1459 - os=-nextstep3
12.1460 - ;;
12.1461 - *-gould)
12.1462 - os=-sysv
12.1463 - ;;
12.1464 - *-highlevel)
12.1465 - os=-bsd
12.1466 - ;;
12.1467 - *-encore)
12.1468 - os=-bsd
12.1469 - ;;
12.1470 - *-sgi)
12.1471 - os=-irix
12.1472 - ;;
12.1473 - *-siemens)
12.1474 - os=-sysv4
12.1475 - ;;
12.1476 - *-masscomp)
12.1477 - os=-rtu
12.1478 - ;;
12.1479 - f30[01]-fujitsu | f700-fujitsu)
12.1480 - os=-uxpv
12.1481 - ;;
12.1482 - *-rom68k)
12.1483 - os=-coff
12.1484 - ;;
12.1485 - *-*bug)
12.1486 - os=-coff
12.1487 - ;;
12.1488 - *-apple)
12.1489 - os=-macos
12.1490 - ;;
12.1491 - *-atari*)
12.1492 - os=-mint
12.1493 - ;;
12.1494 - *)
12.1495 - os=-none
12.1496 - ;;
12.1497 -esac
12.1498 -fi
12.1499 -
12.1500 -# Here we handle the case where we know the os, and the CPU type, but not the
12.1501 -# manufacturer. We pick the logical manufacturer.
12.1502 -vendor=unknown
12.1503 -case $basic_machine in
12.1504 - *-unknown)
12.1505 - case $os in
12.1506 - -riscix*)
12.1507 - vendor=acorn
12.1508 - ;;
12.1509 - -sunos*)
12.1510 - vendor=sun
12.1511 - ;;
12.1512 - -aix*)
12.1513 - vendor=ibm
12.1514 - ;;
12.1515 - -beos*)
12.1516 - vendor=be
12.1517 - ;;
12.1518 - -hpux*)
12.1519 - vendor=hp
12.1520 - ;;
12.1521 - -mpeix*)
12.1522 - vendor=hp
12.1523 - ;;
12.1524 - -hiux*)
12.1525 - vendor=hitachi
12.1526 - ;;
12.1527 - -unos*)
12.1528 - vendor=crds
12.1529 - ;;
12.1530 - -dgux*)
12.1531 - vendor=dg
12.1532 - ;;
12.1533 - -luna*)
12.1534 - vendor=omron
12.1535 - ;;
12.1536 - -genix*)
12.1537 - vendor=ns
12.1538 - ;;
12.1539 - -mvs* | -opened*)
12.1540 - vendor=ibm
12.1541 - ;;
12.1542 - -os400*)
12.1543 - vendor=ibm
12.1544 - ;;
12.1545 - -ptx*)
12.1546 - vendor=sequent
12.1547 - ;;
12.1548 - -tpf*)
12.1549 - vendor=ibm
12.1550 - ;;
12.1551 - -vxsim* | -vxworks* | -windiss*)
12.1552 - vendor=wrs
12.1553 - ;;
12.1554 - -aux*)
12.1555 - vendor=apple
12.1556 - ;;
12.1557 - -hms*)
12.1558 - vendor=hitachi
12.1559 - ;;
12.1560 - -mpw* | -macos*)
12.1561 - vendor=apple
12.1562 - ;;
12.1563 - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
12.1564 - vendor=atari
12.1565 - ;;
12.1566 - -vos*)
12.1567 - vendor=stratus
12.1568 - ;;
12.1569 - esac
12.1570 - basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
12.1571 - ;;
12.1572 -esac
12.1573 -
12.1574 -echo $basic_machine$os
12.1575 -exit
12.1576 -
12.1577 -# Local variables:
12.1578 -# eval: (add-hook 'write-file-hooks 'time-stamp)
12.1579 -# time-stamp-start: "timestamp='"
12.1580 -# time-stamp-format: "%:y-%02m-%02d"
12.1581 -# time-stamp-end: "'"
12.1582 -# End:
13.1 --- a/gst-plugins-nuvdemux/configure Thu Oct 26 18:55:14 2006 +0100
13.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
13.3 @@ -1,23595 +0,0 @@
13.4 -#! /bin/sh
13.5 -# Guess values for system-dependent variables and create Makefiles.
13.6 -# Generated by GNU Autoconf 2.59.
13.7 -#
13.8 -# Copyright (C) 2003 Free Software Foundation, Inc.
13.9 -# This configure script is free software; the Free Software Foundation
13.10 -# gives unlimited permission to copy, distribute and modify it.
13.11 -## --------------------- ##
13.12 -## M4sh Initialization. ##
13.13 -## --------------------- ##
13.14 -
13.15 -# Be Bourne compatible
13.16 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13.17 - emulate sh
13.18 - NULLCMD=:
13.19 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13.20 - # is contrary to our usage. Disable this feature.
13.21 - alias -g '${1+"$@"}'='"$@"'
13.22 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
13.23 - set -o posix
13.24 -fi
13.25 -DUALCASE=1; export DUALCASE # for MKS sh
13.26 -
13.27 -# Support unset when possible.
13.28 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13.29 - as_unset=unset
13.30 -else
13.31 - as_unset=false
13.32 -fi
13.33 -
13.34 -
13.35 -# Work around bugs in pre-3.0 UWIN ksh.
13.36 -$as_unset ENV MAIL MAILPATH
13.37 -PS1='$ '
13.38 -PS2='> '
13.39 -PS4='+ '
13.40 -
13.41 -# NLS nuisances.
13.42 -for as_var in \
13.43 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13.44 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13.45 - LC_TELEPHONE LC_TIME
13.46 -do
13.47 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13.48 - eval $as_var=C; export $as_var
13.49 - else
13.50 - $as_unset $as_var
13.51 - fi
13.52 -done
13.53 -
13.54 -# Required to use basename.
13.55 -if expr a : '\(a\)' >/dev/null 2>&1; then
13.56 - as_expr=expr
13.57 -else
13.58 - as_expr=false
13.59 -fi
13.60 -
13.61 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
13.62 - as_basename=basename
13.63 -else
13.64 - as_basename=false
13.65 -fi
13.66 -
13.67 -
13.68 -# Name of the executable.
13.69 -as_me=`$as_basename "$0" ||
13.70 -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13.71 - X"$0" : 'X\(//\)$' \| \
13.72 - X"$0" : 'X\(/\)$' \| \
13.73 - . : '\(.\)' 2>/dev/null ||
13.74 -echo X/"$0" |
13.75 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13.76 - /^X\/\(\/\/\)$/{ s//\1/; q; }
13.77 - /^X\/\(\/\).*/{ s//\1/; q; }
13.78 - s/.*/./; q'`
13.79 -
13.80 -
13.81 -# PATH needs CR, and LINENO needs CR and PATH.
13.82 -# Avoid depending upon Character Ranges.
13.83 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13.84 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13.85 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13.86 -as_cr_digits='0123456789'
13.87 -as_cr_alnum=$as_cr_Letters$as_cr_digits
13.88 -
13.89 -# The user is always right.
13.90 -if test "${PATH_SEPARATOR+set}" != set; then
13.91 - echo "#! /bin/sh" >conf$$.sh
13.92 - echo "exit 0" >>conf$$.sh
13.93 - chmod +x conf$$.sh
13.94 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13.95 - PATH_SEPARATOR=';'
13.96 - else
13.97 - PATH_SEPARATOR=:
13.98 - fi
13.99 - rm -f conf$$.sh
13.100 -fi
13.101 -
13.102 -
13.103 - as_lineno_1=$LINENO
13.104 - as_lineno_2=$LINENO
13.105 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13.106 - test "x$as_lineno_1" != "x$as_lineno_2" &&
13.107 - test "x$as_lineno_3" = "x$as_lineno_2" || {
13.108 - # Find who we are. Look in the path if we contain no path at all
13.109 - # relative or not.
13.110 - case $0 in
13.111 - *[\\/]* ) as_myself=$0 ;;
13.112 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.113 -for as_dir in $PATH
13.114 -do
13.115 - IFS=$as_save_IFS
13.116 - test -z "$as_dir" && as_dir=.
13.117 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13.118 -done
13.119 -
13.120 - ;;
13.121 - esac
13.122 - # We did not find ourselves, most probably we were run as `sh COMMAND'
13.123 - # in which case we are not to be found in the path.
13.124 - if test "x$as_myself" = x; then
13.125 - as_myself=$0
13.126 - fi
13.127 - if test ! -f "$as_myself"; then
13.128 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
13.129 - { (exit 1); exit 1; }; }
13.130 - fi
13.131 - case $CONFIG_SHELL in
13.132 - '')
13.133 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.134 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
13.135 -do
13.136 - IFS=$as_save_IFS
13.137 - test -z "$as_dir" && as_dir=.
13.138 - for as_base in sh bash ksh sh5; do
13.139 - case $as_dir in
13.140 - /*)
13.141 - if ("$as_dir/$as_base" -c '
13.142 - as_lineno_1=$LINENO
13.143 - as_lineno_2=$LINENO
13.144 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13.145 - test "x$as_lineno_1" != "x$as_lineno_2" &&
13.146 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
13.147 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
13.148 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
13.149 - CONFIG_SHELL=$as_dir/$as_base
13.150 - export CONFIG_SHELL
13.151 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13.152 - fi;;
13.153 - esac
13.154 - done
13.155 -done
13.156 -;;
13.157 - esac
13.158 -
13.159 - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13.160 - # uniformly replaced by the line number. The first 'sed' inserts a
13.161 - # line-number line before each line; the second 'sed' does the real
13.162 - # work. The second script uses 'N' to pair each line-number line
13.163 - # with the numbered line, and appends trailing '-' during
13.164 - # substitution so that $LINENO is not a special case at line end.
13.165 - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13.166 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13.167 - sed '=' <$as_myself |
13.168 - sed '
13.169 - N
13.170 - s,$,-,
13.171 - : loop
13.172 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13.173 - t loop
13.174 - s,-$,,
13.175 - s,^['$as_cr_digits']*\n,,
13.176 - ' >$as_me.lineno &&
13.177 - chmod +x $as_me.lineno ||
13.178 - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13.179 - { (exit 1); exit 1; }; }
13.180 -
13.181 - # Don't try to exec as it changes $[0], causing all sort of problems
13.182 - # (the dirname of $[0] is not the place where we might find the
13.183 - # original and so on. Autoconf is especially sensible to this).
13.184 - . ./$as_me.lineno
13.185 - # Exit status is that of the last command.
13.186 - exit
13.187 -}
13.188 -
13.189 -
13.190 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13.191 - *c*,-n*) ECHO_N= ECHO_C='
13.192 -' ECHO_T=' ' ;;
13.193 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
13.194 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
13.195 -esac
13.196 -
13.197 -if expr a : '\(a\)' >/dev/null 2>&1; then
13.198 - as_expr=expr
13.199 -else
13.200 - as_expr=false
13.201 -fi
13.202 -
13.203 -rm -f conf$$ conf$$.exe conf$$.file
13.204 -echo >conf$$.file
13.205 -if ln -s conf$$.file conf$$ 2>/dev/null; then
13.206 - # We could just check for DJGPP; but this test a) works b) is more generic
13.207 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13.208 - if test -f conf$$.exe; then
13.209 - # Don't use ln at all; we don't have any links
13.210 - as_ln_s='cp -p'
13.211 - else
13.212 - as_ln_s='ln -s'
13.213 - fi
13.214 -elif ln conf$$.file conf$$ 2>/dev/null; then
13.215 - as_ln_s=ln
13.216 -else
13.217 - as_ln_s='cp -p'
13.218 -fi
13.219 -rm -f conf$$ conf$$.exe conf$$.file
13.220 -
13.221 -if mkdir -p . 2>/dev/null; then
13.222 - as_mkdir_p=:
13.223 -else
13.224 - test -d ./-p && rmdir ./-p
13.225 - as_mkdir_p=false
13.226 -fi
13.227 -
13.228 -as_executable_p="test -f"
13.229 -
13.230 -# Sed expression to map a string onto a valid CPP name.
13.231 -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13.232 -
13.233 -# Sed expression to map a string onto a valid variable name.
13.234 -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13.235 -
13.236 -
13.237 -# IFS
13.238 -# We need space, tab and new line, in precisely that order.
13.239 -as_nl='
13.240 -'
13.241 -IFS=" $as_nl"
13.242 -
13.243 -# CDPATH.
13.244 -$as_unset CDPATH
13.245 -
13.246 -
13.247 -
13.248 -# Check that we are running under the correct shell.
13.249 -SHELL=${CONFIG_SHELL-/bin/sh}
13.250 -
13.251 -case X$ECHO in
13.252 -X*--fallback-echo)
13.253 - # Remove one level of quotation (which was required for Make).
13.254 - ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
13.255 - ;;
13.256 -esac
13.257 -
13.258 -echo=${ECHO-echo}
13.259 -if test "X$1" = X--no-reexec; then
13.260 - # Discard the --no-reexec flag, and continue.
13.261 - shift
13.262 -elif test "X$1" = X--fallback-echo; then
13.263 - # Avoid inline document here, it may be left over
13.264 - :
13.265 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
13.266 - # Yippee, $echo works!
13.267 - :
13.268 -else
13.269 - # Restart under the correct shell.
13.270 - exec $SHELL "$0" --no-reexec ${1+"$@"}
13.271 -fi
13.272 -
13.273 -if test "X$1" = X--fallback-echo; then
13.274 - # used as fallback echo
13.275 - shift
13.276 - cat <<EOF
13.277 -$*
13.278 -EOF
13.279 - exit 0
13.280 -fi
13.281 -
13.282 -# The HP-UX ksh and POSIX shell print the target directory to stdout
13.283 -# if CDPATH is set.
13.284 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13.285 -
13.286 -if test -z "$ECHO"; then
13.287 -if test "X${echo_test_string+set}" != Xset; then
13.288 -# find a string as large as possible, as long as the shell can cope with it
13.289 - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
13.290 - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
13.291 - if (echo_test_string=`eval $cmd`) 2>/dev/null &&
13.292 - echo_test_string=`eval $cmd` &&
13.293 - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
13.294 - then
13.295 - break
13.296 - fi
13.297 - done
13.298 -fi
13.299 -
13.300 -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
13.301 - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
13.302 - test "X$echo_testing_string" = "X$echo_test_string"; then
13.303 - :
13.304 -else
13.305 - # The Solaris, AIX, and Digital Unix default echo programs unquote
13.306 - # backslashes. This makes it impossible to quote backslashes using
13.307 - # echo "$something" | sed 's/\\/\\\\/g'
13.308 - #
13.309 - # So, first we look for a working echo in the user's PATH.
13.310 -
13.311 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13.312 - for dir in $PATH /usr/ucb; do
13.313 - IFS="$lt_save_ifs"
13.314 - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
13.315 - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
13.316 - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
13.317 - test "X$echo_testing_string" = "X$echo_test_string"; then
13.318 - echo="$dir/echo"
13.319 - break
13.320 - fi
13.321 - done
13.322 - IFS="$lt_save_ifs"
13.323 -
13.324 - if test "X$echo" = Xecho; then
13.325 - # We didn't find a better echo, so look for alternatives.
13.326 - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
13.327 - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
13.328 - test "X$echo_testing_string" = "X$echo_test_string"; then
13.329 - # This shell has a builtin print -r that does the trick.
13.330 - echo='print -r'
13.331 - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
13.332 - test "X$CONFIG_SHELL" != X/bin/ksh; then
13.333 - # If we have ksh, try running configure again with it.
13.334 - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13.335 - export ORIGINAL_CONFIG_SHELL
13.336 - CONFIG_SHELL=/bin/ksh
13.337 - export CONFIG_SHELL
13.338 - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
13.339 - else
13.340 - # Try using printf.
13.341 - echo='printf %s\n'
13.342 - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
13.343 - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
13.344 - test "X$echo_testing_string" = "X$echo_test_string"; then
13.345 - # Cool, printf works
13.346 - :
13.347 - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
13.348 - test "X$echo_testing_string" = 'X\t' &&
13.349 - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
13.350 - test "X$echo_testing_string" = "X$echo_test_string"; then
13.351 - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
13.352 - export CONFIG_SHELL
13.353 - SHELL="$CONFIG_SHELL"
13.354 - export SHELL
13.355 - echo="$CONFIG_SHELL $0 --fallback-echo"
13.356 - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
13.357 - test "X$echo_testing_string" = 'X\t' &&
13.358 - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
13.359 - test "X$echo_testing_string" = "X$echo_test_string"; then
13.360 - echo="$CONFIG_SHELL $0 --fallback-echo"
13.361 - else
13.362 - # maybe with a smaller string...
13.363 - prev=:
13.364 -
13.365 - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
13.366 - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
13.367 - then
13.368 - break
13.369 - fi
13.370 - prev="$cmd"
13.371 - done
13.372 -
13.373 - if test "$prev" != 'sed 50q "$0"'; then
13.374 - echo_test_string=`eval $prev`
13.375 - export echo_test_string
13.376 - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
13.377 - else
13.378 - # Oops. We lost completely, so just stick with echo.
13.379 - echo=echo
13.380 - fi
13.381 - fi
13.382 - fi
13.383 - fi
13.384 -fi
13.385 -fi
13.386 -
13.387 -# Copy echo and quote the copy suitably for passing to libtool from
13.388 -# the Makefile, instead of quoting the original, which is used later.
13.389 -ECHO=$echo
13.390 -if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
13.391 - ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
13.392 -fi
13.393 -
13.394 -
13.395 -
13.396 -
13.397 -tagnames=${tagnames+${tagnames},}CXX
13.398 -
13.399 -tagnames=${tagnames+${tagnames},}F77
13.400 -
13.401 -# Name of the host.
13.402 -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
13.403 -# so uname gets run too.
13.404 -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
13.405 -
13.406 -exec 6>&1
13.407 -
13.408 -#
13.409 -# Initializations.
13.410 -#
13.411 -ac_default_prefix=/usr/local
13.412 -ac_config_libobj_dir=.
13.413 -cross_compiling=no
13.414 -subdirs=
13.415 -MFLAGS=
13.416 -MAKEFLAGS=
13.417 -SHELL=${CONFIG_SHELL-/bin/sh}
13.418 -
13.419 -# Maximum number of lines to put in a shell here document.
13.420 -# This variable seems obsolete. It should probably be removed, and
13.421 -# only ac_max_sed_lines should be used.
13.422 -: ${ac_max_here_lines=38}
13.423 -
13.424 -# Identity of this package.
13.425 -PACKAGE_NAME=
13.426 -PACKAGE_TARNAME=
13.427 -PACKAGE_VERSION=
13.428 -PACKAGE_STRING=
13.429 -PACKAGE_BUGREPORT=
13.430 -
13.431 -# Factoring default headers for most tests.
13.432 -ac_includes_default="\
13.433 -#include <stdio.h>
13.434 -#if HAVE_SYS_TYPES_H
13.435 -# include <sys/types.h>
13.436 -#endif
13.437 -#if HAVE_SYS_STAT_H
13.438 -# include <sys/stat.h>
13.439 -#endif
13.440 -#if STDC_HEADERS
13.441 -# include <stdlib.h>
13.442 -# include <stddef.h>
13.443 -#else
13.444 -# if HAVE_STDLIB_H
13.445 -# include <stdlib.h>
13.446 -# endif
13.447 -#endif
13.448 -#if HAVE_STRING_H
13.449 -# if !STDC_HEADERS && HAVE_MEMORY_H
13.450 -# include <memory.h>
13.451 -# endif
13.452 -# include <string.h>
13.453 -#endif
13.454 -#if HAVE_STRINGS_H
13.455 -# include <strings.h>
13.456 -#endif
13.457 -#if HAVE_INTTYPES_H
13.458 -# include <inttypes.h>
13.459 -#else
13.460 -# if HAVE_STDINT_H
13.461 -# include <stdint.h>
13.462 -# endif
13.463 -#endif
13.464 -#if HAVE_UNISTD_H
13.465 -# include <unistd.h>
13.466 -#endif"
13.467 -
13.468 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GST_PLUGINS_VERSION GST_PLUGINS_VERSION_RELEASE GST_PLUGINS_VERSION_MAJOR GST_PLUGINS_VERSION_MINOR GST_PLUGINS_VERSION_MICRO GST_PLUGINS_VERSION_NANO PACKAGE VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ACLOCAL_AMFLAGS CCAS CCASFLAGS ERROR_CFLAGS HAVE_CXX HAVE_PKGCONFIG PKG_CONFIG GST_CFLAGS GST_LIBS GST_MAJORMINOR GST_BASE_CFLAGS GST_BASE_LIBS GST_PLUGINS_BASE_CFLAGS GST_PLUGINS_BASE_LIBS plugindir GST_PLUGIN_LDFLAGS LIBOBJS LTLIBOBJS'
13.469 -ac_subst_files=''
13.470 -
13.471 -# Initialize some variables set by options.
13.472 -ac_init_help=
13.473 -ac_init_version=false
13.474 -# The variables have the same names as the options, with
13.475 -# dashes changed to underlines.
13.476 -cache_file=/dev/null
13.477 -exec_prefix=NONE
13.478 -no_create=
13.479 -no_recursion=
13.480 -prefix=NONE
13.481 -program_prefix=NONE
13.482 -program_suffix=NONE
13.483 -program_transform_name=s,x,x,
13.484 -silent=
13.485 -site=
13.486 -srcdir=
13.487 -verbose=
13.488 -x_includes=NONE
13.489 -x_libraries=NONE
13.490 -
13.491 -# Installation directory options.
13.492 -# These are left unexpanded so users can "make install exec_prefix=/foo"
13.493 -# and all the variables that are supposed to be based on exec_prefix
13.494 -# by default will actually change.
13.495 -# Use braces instead of parens because sh, perl, etc. also accept them.
13.496 -bindir='${exec_prefix}/bin'
13.497 -sbindir='${exec_prefix}/sbin'
13.498 -libexecdir='${exec_prefix}/libexec'
13.499 -datadir='${prefix}/share'
13.500 -sysconfdir='${prefix}/etc'
13.501 -sharedstatedir='${prefix}/com'
13.502 -localstatedir='${prefix}/var'
13.503 -libdir='${exec_prefix}/lib'
13.504 -includedir='${prefix}/include'
13.505 -oldincludedir='/usr/include'
13.506 -infodir='${prefix}/info'
13.507 -mandir='${prefix}/man'
13.508 -
13.509 -ac_prev=
13.510 -for ac_option
13.511 -do
13.512 - # If the previous option needs an argument, assign it.
13.513 - if test -n "$ac_prev"; then
13.514 - eval "$ac_prev=\$ac_option"
13.515 - ac_prev=
13.516 - continue
13.517 - fi
13.518 -
13.519 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
13.520 -
13.521 - # Accept the important Cygnus configure options, so we can diagnose typos.
13.522 -
13.523 - case $ac_option in
13.524 -
13.525 - -bindir | --bindir | --bindi | --bind | --bin | --bi)
13.526 - ac_prev=bindir ;;
13.527 - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
13.528 - bindir=$ac_optarg ;;
13.529 -
13.530 - -build | --build | --buil | --bui | --bu)
13.531 - ac_prev=build_alias ;;
13.532 - -build=* | --build=* | --buil=* | --bui=* | --bu=*)
13.533 - build_alias=$ac_optarg ;;
13.534 -
13.535 - -cache-file | --cache-file | --cache-fil | --cache-fi \
13.536 - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
13.537 - ac_prev=cache_file ;;
13.538 - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
13.539 - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
13.540 - cache_file=$ac_optarg ;;
13.541 -
13.542 - --config-cache | -C)
13.543 - cache_file=config.cache ;;
13.544 -
13.545 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
13.546 - ac_prev=datadir ;;
13.547 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
13.548 - | --da=*)
13.549 - datadir=$ac_optarg ;;
13.550 -
13.551 - -disable-* | --disable-*)
13.552 - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
13.553 - # Reject names that are not valid shell variable names.
13.554 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
13.555 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
13.556 - { (exit 1); exit 1; }; }
13.557 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
13.558 - eval "enable_$ac_feature=no" ;;
13.559 -
13.560 - -enable-* | --enable-*)
13.561 - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
13.562 - # Reject names that are not valid shell variable names.
13.563 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
13.564 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
13.565 - { (exit 1); exit 1; }; }
13.566 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
13.567 - case $ac_option in
13.568 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
13.569 - *) ac_optarg=yes ;;
13.570 - esac
13.571 - eval "enable_$ac_feature='$ac_optarg'" ;;
13.572 -
13.573 - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
13.574 - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
13.575 - | --exec | --exe | --ex)
13.576 - ac_prev=exec_prefix ;;
13.577 - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
13.578 - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
13.579 - | --exec=* | --exe=* | --ex=*)
13.580 - exec_prefix=$ac_optarg ;;
13.581 -
13.582 - -gas | --gas | --ga | --g)
13.583 - # Obsolete; use --with-gas.
13.584 - with_gas=yes ;;
13.585 -
13.586 - -help | --help | --hel | --he | -h)
13.587 - ac_init_help=long ;;
13.588 - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
13.589 - ac_init_help=recursive ;;
13.590 - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
13.591 - ac_init_help=short ;;
13.592 -
13.593 - -host | --host | --hos | --ho)
13.594 - ac_prev=host_alias ;;
13.595 - -host=* | --host=* | --hos=* | --ho=*)
13.596 - host_alias=$ac_optarg ;;
13.597 -
13.598 - -includedir | --includedir | --includedi | --included | --include \
13.599 - | --includ | --inclu | --incl | --inc)
13.600 - ac_prev=includedir ;;
13.601 - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
13.602 - | --includ=* | --inclu=* | --incl=* | --inc=*)
13.603 - includedir=$ac_optarg ;;
13.604 -
13.605 - -infodir | --infodir | --infodi | --infod | --info | --inf)
13.606 - ac_prev=infodir ;;
13.607 - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
13.608 - infodir=$ac_optarg ;;
13.609 -
13.610 - -libdir | --libdir | --libdi | --libd)
13.611 - ac_prev=libdir ;;
13.612 - -libdir=* | --libdir=* | --libdi=* | --libd=*)
13.613 - libdir=$ac_optarg ;;
13.614 -
13.615 - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
13.616 - | --libexe | --libex | --libe)
13.617 - ac_prev=libexecdir ;;
13.618 - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
13.619 - | --libexe=* | --libex=* | --libe=*)
13.620 - libexecdir=$ac_optarg ;;
13.621 -
13.622 - -localstatedir | --localstatedir | --localstatedi | --localstated \
13.623 - | --localstate | --localstat | --localsta | --localst \
13.624 - | --locals | --local | --loca | --loc | --lo)
13.625 - ac_prev=localstatedir ;;
13.626 - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
13.627 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
13.628 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
13.629 - localstatedir=$ac_optarg ;;
13.630 -
13.631 - -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
13.632 - ac_prev=mandir ;;
13.633 - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
13.634 - mandir=$ac_optarg ;;
13.635 -
13.636 - -nfp | --nfp | --nf)
13.637 - # Obsolete; use --without-fp.
13.638 - with_fp=no ;;
13.639 -
13.640 - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
13.641 - | --no-cr | --no-c | -n)
13.642 - no_create=yes ;;
13.643 -
13.644 - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
13.645 - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
13.646 - no_recursion=yes ;;
13.647 -
13.648 - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
13.649 - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
13.650 - | --oldin | --oldi | --old | --ol | --o)
13.651 - ac_prev=oldincludedir ;;
13.652 - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
13.653 - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
13.654 - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
13.655 - oldincludedir=$ac_optarg ;;
13.656 -
13.657 - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
13.658 - ac_prev=prefix ;;
13.659 - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
13.660 - prefix=$ac_optarg ;;
13.661 -
13.662 - -program-prefix | --program-prefix | --program-prefi | --program-pref \
13.663 - | --program-pre | --program-pr | --program-p)
13.664 - ac_prev=program_prefix ;;
13.665 - -program-prefix=* | --program-prefix=* | --program-prefi=* \
13.666 - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
13.667 - program_prefix=$ac_optarg ;;
13.668 -
13.669 - -program-suffix | --program-suffix | --program-suffi | --program-suff \
13.670 - | --program-suf | --program-su | --program-s)
13.671 - ac_prev=program_suffix ;;
13.672 - -program-suffix=* | --program-suffix=* | --program-suffi=* \
13.673 - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
13.674 - program_suffix=$ac_optarg ;;
13.675 -
13.676 - -program-transform-name | --program-transform-name \
13.677 - | --program-transform-nam | --program-transform-na \
13.678 - | --program-transform-n | --program-transform- \
13.679 - | --program-transform | --program-transfor \
13.680 - | --program-transfo | --program-transf \
13.681 - | --program-trans | --program-tran \
13.682 - | --progr-tra | --program-tr | --program-t)
13.683 - ac_prev=program_transform_name ;;
13.684 - -program-transform-name=* | --program-transform-name=* \
13.685 - | --program-transform-nam=* | --program-transform-na=* \
13.686 - | --program-transform-n=* | --program-transform-=* \
13.687 - | --program-transform=* | --program-transfor=* \
13.688 - | --program-transfo=* | --program-transf=* \
13.689 - | --program-trans=* | --program-tran=* \
13.690 - | --progr-tra=* | --program-tr=* | --program-t=*)
13.691 - program_transform_name=$ac_optarg ;;
13.692 -
13.693 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13.694 - | -silent | --silent | --silen | --sile | --sil)
13.695 - silent=yes ;;
13.696 -
13.697 - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
13.698 - ac_prev=sbindir ;;
13.699 - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
13.700 - | --sbi=* | --sb=*)
13.701 - sbindir=$ac_optarg ;;
13.702 -
13.703 - -sharedstatedir | --sharedstatedir | --sharedstatedi \
13.704 - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
13.705 - | --sharedst | --shareds | --shared | --share | --shar \
13.706 - | --sha | --sh)
13.707 - ac_prev=sharedstatedir ;;
13.708 - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
13.709 - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
13.710 - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
13.711 - | --sha=* | --sh=*)
13.712 - sharedstatedir=$ac_optarg ;;
13.713 -
13.714 - -site | --site | --sit)
13.715 - ac_prev=site ;;
13.716 - -site=* | --site=* | --sit=*)
13.717 - site=$ac_optarg ;;
13.718 -
13.719 - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
13.720 - ac_prev=srcdir ;;
13.721 - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
13.722 - srcdir=$ac_optarg ;;
13.723 -
13.724 - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
13.725 - | --syscon | --sysco | --sysc | --sys | --sy)
13.726 - ac_prev=sysconfdir ;;
13.727 - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
13.728 - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
13.729 - sysconfdir=$ac_optarg ;;
13.730 -
13.731 - -target | --target | --targe | --targ | --tar | --ta | --t)
13.732 - ac_prev=target_alias ;;
13.733 - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
13.734 - target_alias=$ac_optarg ;;
13.735 -
13.736 - -v | -verbose | --verbose | --verbos | --verbo | --verb)
13.737 - verbose=yes ;;
13.738 -
13.739 - -version | --version | --versio | --versi | --vers | -V)
13.740 - ac_init_version=: ;;
13.741 -
13.742 - -with-* | --with-*)
13.743 - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
13.744 - # Reject names that are not valid shell variable names.
13.745 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
13.746 - { echo "$as_me: error: invalid package name: $ac_package" >&2
13.747 - { (exit 1); exit 1; }; }
13.748 - ac_package=`echo $ac_package| sed 's/-/_/g'`
13.749 - case $ac_option in
13.750 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
13.751 - *) ac_optarg=yes ;;
13.752 - esac
13.753 - eval "with_$ac_package='$ac_optarg'" ;;
13.754 -
13.755 - -without-* | --without-*)
13.756 - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
13.757 - # Reject names that are not valid shell variable names.
13.758 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
13.759 - { echo "$as_me: error: invalid package name: $ac_package" >&2
13.760 - { (exit 1); exit 1; }; }
13.761 - ac_package=`echo $ac_package | sed 's/-/_/g'`
13.762 - eval "with_$ac_package=no" ;;
13.763 -
13.764 - --x)
13.765 - # Obsolete; use --with-x.
13.766 - with_x=yes ;;
13.767 -
13.768 - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
13.769 - | --x-incl | --x-inc | --x-in | --x-i)
13.770 - ac_prev=x_includes ;;
13.771 - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
13.772 - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
13.773 - x_includes=$ac_optarg ;;
13.774 -
13.775 - -x-libraries | --x-libraries | --x-librarie | --x-librari \
13.776 - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
13.777 - ac_prev=x_libraries ;;
13.778 - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
13.779 - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
13.780 - x_libraries=$ac_optarg ;;
13.781 -
13.782 - -*) { echo "$as_me: error: unrecognized option: $ac_option
13.783 -Try \`$0 --help' for more information." >&2
13.784 - { (exit 1); exit 1; }; }
13.785 - ;;
13.786 -
13.787 - *=*)
13.788 - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
13.789 - # Reject names that are not valid shell variable names.
13.790 - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
13.791 - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
13.792 - { (exit 1); exit 1; }; }
13.793 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
13.794 - eval "$ac_envvar='$ac_optarg'"
13.795 - export $ac_envvar ;;
13.796 -
13.797 - *)
13.798 - # FIXME: should be removed in autoconf 3.0.
13.799 - echo "$as_me: WARNING: you should use --build, --host, --target" >&2
13.800 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
13.801 - echo "$as_me: WARNING: invalid host type: $ac_option" >&2
13.802 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
13.803 - ;;
13.804 -
13.805 - esac
13.806 -done
13.807 -
13.808 -if test -n "$ac_prev"; then
13.809 - ac_option=--`echo $ac_prev | sed 's/_/-/g'`
13.810 - { echo "$as_me: error: missing argument to $ac_option" >&2
13.811 - { (exit 1); exit 1; }; }
13.812 -fi
13.813 -
13.814 -# Be sure to have absolute paths.
13.815 -for ac_var in exec_prefix prefix
13.816 -do
13.817 - eval ac_val=$`echo $ac_var`
13.818 - case $ac_val in
13.819 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
13.820 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
13.821 - { (exit 1); exit 1; }; };;
13.822 - esac
13.823 -done
13.824 -
13.825 -# Be sure to have absolute paths.
13.826 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
13.827 - localstatedir libdir includedir oldincludedir infodir mandir
13.828 -do
13.829 - eval ac_val=$`echo $ac_var`
13.830 - case $ac_val in
13.831 - [\\/$]* | ?:[\\/]* ) ;;
13.832 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
13.833 - { (exit 1); exit 1; }; };;
13.834 - esac
13.835 -done
13.836 -
13.837 -# There might be people who depend on the old broken behavior: `$host'
13.838 -# used to hold the argument of --host etc.
13.839 -# FIXME: To remove some day.
13.840 -build=$build_alias
13.841 -host=$host_alias
13.842 -target=$target_alias
13.843 -
13.844 -# FIXME: To remove some day.
13.845 -if test "x$host_alias" != x; then
13.846 - if test "x$build_alias" = x; then
13.847 - cross_compiling=maybe
13.848 - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
13.849 - If a cross compiler is detected then cross compile mode will be used." >&2
13.850 - elif test "x$build_alias" != "x$host_alias"; then
13.851 - cross_compiling=yes
13.852 - fi
13.853 -fi
13.854 -
13.855 -ac_tool_prefix=
13.856 -test -n "$host_alias" && ac_tool_prefix=$host_alias-
13.857 -
13.858 -test "$silent" = yes && exec 6>/dev/null
13.859 -
13.860 -
13.861 -# Find the source files, if location was not specified.
13.862 -if test -z "$srcdir"; then
13.863 - ac_srcdir_defaulted=yes
13.864 - # Try the directory containing this script, then its parent.
13.865 - ac_confdir=`(dirname "$0") 2>/dev/null ||
13.866 -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13.867 - X"$0" : 'X\(//\)[^/]' \| \
13.868 - X"$0" : 'X\(//\)$' \| \
13.869 - X"$0" : 'X\(/\)' \| \
13.870 - . : '\(.\)' 2>/dev/null ||
13.871 -echo X"$0" |
13.872 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13.873 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13.874 - /^X\(\/\/\)$/{ s//\1/; q; }
13.875 - /^X\(\/\).*/{ s//\1/; q; }
13.876 - s/.*/./; q'`
13.877 - srcdir=$ac_confdir
13.878 - if test ! -r $srcdir/$ac_unique_file; then
13.879 - srcdir=..
13.880 - fi
13.881 -else
13.882 - ac_srcdir_defaulted=no
13.883 -fi
13.884 -if test ! -r $srcdir/$ac_unique_file; then
13.885 - if test "$ac_srcdir_defaulted" = yes; then
13.886 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
13.887 - { (exit 1); exit 1; }; }
13.888 - else
13.889 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
13.890 - { (exit 1); exit 1; }; }
13.891 - fi
13.892 -fi
13.893 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
13.894 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
13.895 - { (exit 1); exit 1; }; }
13.896 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
13.897 -ac_env_build_alias_set=${build_alias+set}
13.898 -ac_env_build_alias_value=$build_alias
13.899 -ac_cv_env_build_alias_set=${build_alias+set}
13.900 -ac_cv_env_build_alias_value=$build_alias
13.901 -ac_env_host_alias_set=${host_alias+set}
13.902 -ac_env_host_alias_value=$host_alias
13.903 -ac_cv_env_host_alias_set=${host_alias+set}
13.904 -ac_cv_env_host_alias_value=$host_alias
13.905 -ac_env_target_alias_set=${target_alias+set}
13.906 -ac_env_target_alias_value=$target_alias
13.907 -ac_cv_env_target_alias_set=${target_alias+set}
13.908 -ac_cv_env_target_alias_value=$target_alias
13.909 -ac_env_CC_set=${CC+set}
13.910 -ac_env_CC_value=$CC
13.911 -ac_cv_env_CC_set=${CC+set}
13.912 -ac_cv_env_CC_value=$CC
13.913 -ac_env_CFLAGS_set=${CFLAGS+set}
13.914 -ac_env_CFLAGS_value=$CFLAGS
13.915 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
13.916 -ac_cv_env_CFLAGS_value=$CFLAGS
13.917 -ac_env_LDFLAGS_set=${LDFLAGS+set}
13.918 -ac_env_LDFLAGS_value=$LDFLAGS
13.919 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
13.920 -ac_cv_env_LDFLAGS_value=$LDFLAGS
13.921 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
13.922 -ac_env_CPPFLAGS_value=$CPPFLAGS
13.923 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
13.924 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
13.925 -ac_env_CPP_set=${CPP+set}
13.926 -ac_env_CPP_value=$CPP
13.927 -ac_cv_env_CPP_set=${CPP+set}
13.928 -ac_cv_env_CPP_value=$CPP
13.929 -ac_env_CXX_set=${CXX+set}
13.930 -ac_env_CXX_value=$CXX
13.931 -ac_cv_env_CXX_set=${CXX+set}
13.932 -ac_cv_env_CXX_value=$CXX
13.933 -ac_env_CXXFLAGS_set=${CXXFLAGS+set}
13.934 -ac_env_CXXFLAGS_value=$CXXFLAGS
13.935 -ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
13.936 -ac_cv_env_CXXFLAGS_value=$CXXFLAGS
13.937 -ac_env_CXXCPP_set=${CXXCPP+set}
13.938 -ac_env_CXXCPP_value=$CXXCPP
13.939 -ac_cv_env_CXXCPP_set=${CXXCPP+set}
13.940 -ac_cv_env_CXXCPP_value=$CXXCPP
13.941 -ac_env_F77_set=${F77+set}
13.942 -ac_env_F77_value=$F77
13.943 -ac_cv_env_F77_set=${F77+set}
13.944 -ac_cv_env_F77_value=$F77
13.945 -ac_env_FFLAGS_set=${FFLAGS+set}
13.946 -ac_env_FFLAGS_value=$FFLAGS
13.947 -ac_cv_env_FFLAGS_set=${FFLAGS+set}
13.948 -ac_cv_env_FFLAGS_value=$FFLAGS
13.949 -ac_env_CCAS_set=${CCAS+set}
13.950 -ac_env_CCAS_value=$CCAS
13.951 -ac_cv_env_CCAS_set=${CCAS+set}
13.952 -ac_cv_env_CCAS_value=$CCAS
13.953 -ac_env_CCASFLAGS_set=${CCASFLAGS+set}
13.954 -ac_env_CCASFLAGS_value=$CCASFLAGS
13.955 -ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
13.956 -ac_cv_env_CCASFLAGS_value=$CCASFLAGS
13.957 -
13.958 -#
13.959 -# Report the --help message.
13.960 -#
13.961 -if test "$ac_init_help" = "long"; then
13.962 - # Omit some internal or obsolete options to make the list less imposing.
13.963 - # This message is too long to be a string in the A/UX 3.1 sh.
13.964 - cat <<_ACEOF
13.965 -\`configure' configures this package to adapt to many kinds of systems.
13.966 -
13.967 -Usage: $0 [OPTION]... [VAR=VALUE]...
13.968 -
13.969 -To assign environment variables (e.g., CC, CFLAGS...), specify them as
13.970 -VAR=VALUE. See below for descriptions of some of the useful variables.
13.971 -
13.972 -Defaults for the options are specified in brackets.
13.973 -
13.974 -Configuration:
13.975 - -h, --help display this help and exit
13.976 - --help=short display options specific to this package
13.977 - --help=recursive display the short help of all the included packages
13.978 - -V, --version display version information and exit
13.979 - -q, --quiet, --silent do not print \`checking...' messages
13.980 - --cache-file=FILE cache test results in FILE [disabled]
13.981 - -C, --config-cache alias for \`--cache-file=config.cache'
13.982 - -n, --no-create do not create output files
13.983 - --srcdir=DIR find the sources in DIR [configure dir or \`..']
13.984 -
13.985 -_ACEOF
13.986 -
13.987 - cat <<_ACEOF
13.988 -Installation directories:
13.989 - --prefix=PREFIX install architecture-independent files in PREFIX
13.990 - [$ac_default_prefix]
13.991 - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
13.992 - [PREFIX]
13.993 -
13.994 -By default, \`make install' will install all the files in
13.995 -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
13.996 -an installation prefix other than \`$ac_default_prefix' using \`--prefix',
13.997 -for instance \`--prefix=\$HOME'.
13.998 -
13.999 -For better control, use the options below.
13.1000 -
13.1001 -Fine tuning of the installation directories:
13.1002 - --bindir=DIR user executables [EPREFIX/bin]
13.1003 - --sbindir=DIR system admin executables [EPREFIX/sbin]
13.1004 - --libexecdir=DIR program executables [EPREFIX/libexec]
13.1005 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
13.1006 - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
13.1007 - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
13.1008 - --localstatedir=DIR modifiable single-machine data [PREFIX/var]
13.1009 - --libdir=DIR object code libraries [EPREFIX/lib]
13.1010 - --includedir=DIR C header files [PREFIX/include]
13.1011 - --oldincludedir=DIR C header files for non-gcc [/usr/include]
13.1012 - --infodir=DIR info documentation [PREFIX/info]
13.1013 - --mandir=DIR man documentation [PREFIX/man]
13.1014 -_ACEOF
13.1015 -
13.1016 - cat <<\_ACEOF
13.1017 -
13.1018 -Program names:
13.1019 - --program-prefix=PREFIX prepend PREFIX to installed program names
13.1020 - --program-suffix=SUFFIX append SUFFIX to installed program names
13.1021 - --program-transform-name=PROGRAM run sed PROGRAM on installed program names
13.1022 -
13.1023 -System types:
13.1024 - --build=BUILD configure for building on BUILD [guessed]
13.1025 - --host=HOST cross-compile to build programs to run on HOST [BUILD]
13.1026 - --target=TARGET configure for building compilers for TARGET [HOST]
13.1027 -_ACEOF
13.1028 -fi
13.1029 -
13.1030 -if test -n "$ac_init_help"; then
13.1031 -
13.1032 - cat <<\_ACEOF
13.1033 -
13.1034 -Optional Features:
13.1035 - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
13.1036 - --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
13.1037 - --enable-static[=PKGS]
13.1038 - build static libraries [default=no]
13.1039 - --enable-maintainer-mode enable make rules and dependencies not useful
13.1040 - (and sometimes confusing) to the casual installer
13.1041 - --enable-shared[=PKGS]
13.1042 - build shared libraries [default=yes]
13.1043 - --enable-fast-install[=PKGS]
13.1044 - optimize for fast installation [default=yes]
13.1045 - --disable-dependency-tracking speeds up one-time build
13.1046 - --enable-dependency-tracking do not reject slow dependency extractors
13.1047 - --disable-libtool-lock avoid locking (might break parallel builds)
13.1048 -
13.1049 -Optional Packages:
13.1050 - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
13.1051 - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
13.1052 - --with-gnu-ld assume the C compiler uses GNU ld [default=no]
13.1053 - --with-pic try to use only PIC/non-PIC objects [default=use
13.1054 - both]
13.1055 - --with-tags[=TAGS]
13.1056 - include additional configurations [automatic]
13.1057 -
13.1058 -Some influential environment variables:
13.1059 - CC C compiler command
13.1060 - CFLAGS C compiler flags
13.1061 - LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
13.1062 - nonstandard directory <lib dir>
13.1063 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
13.1064 - headers in a nonstandard directory <include dir>
13.1065 - CPP C preprocessor
13.1066 - CXX C++ compiler command
13.1067 - CXXFLAGS C++ compiler flags
13.1068 - CXXCPP C++ preprocessor
13.1069 - F77 Fortran 77 compiler command
13.1070 - FFLAGS Fortran 77 compiler flags
13.1071 - CCAS assembler compiler command (defaults to CC)
13.1072 - CCASFLAGS assembler compiler flags (defaults to CFLAGS)
13.1073 -
13.1074 -Use these variables to override the choices made by `configure' or to help
13.1075 -it to find libraries and programs with nonstandard names/locations.
13.1076 -
13.1077 -_ACEOF
13.1078 -fi
13.1079 -
13.1080 -if test "$ac_init_help" = "recursive"; then
13.1081 - # If there are subdirs, report their specific --help.
13.1082 - ac_popdir=`pwd`
13.1083 - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
13.1084 - test -d $ac_dir || continue
13.1085 - ac_builddir=.
13.1086 -
13.1087 -if test "$ac_dir" != .; then
13.1088 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13.1089 - # A "../" for each directory in $ac_dir_suffix.
13.1090 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13.1091 -else
13.1092 - ac_dir_suffix= ac_top_builddir=
13.1093 -fi
13.1094 -
13.1095 -case $srcdir in
13.1096 - .) # No --srcdir option. We are building in place.
13.1097 - ac_srcdir=.
13.1098 - if test -z "$ac_top_builddir"; then
13.1099 - ac_top_srcdir=.
13.1100 - else
13.1101 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13.1102 - fi ;;
13.1103 - [\\/]* | ?:[\\/]* ) # Absolute path.
13.1104 - ac_srcdir=$srcdir$ac_dir_suffix;
13.1105 - ac_top_srcdir=$srcdir ;;
13.1106 - *) # Relative path.
13.1107 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13.1108 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
13.1109 -esac
13.1110 -
13.1111 -# Do not use `cd foo && pwd` to compute absolute paths, because
13.1112 -# the directories may not exist.
13.1113 -case `pwd` in
13.1114 -.) ac_abs_builddir="$ac_dir";;
13.1115 -*)
13.1116 - case "$ac_dir" in
13.1117 - .) ac_abs_builddir=`pwd`;;
13.1118 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13.1119 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
13.1120 - esac;;
13.1121 -esac
13.1122 -case $ac_abs_builddir in
13.1123 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
13.1124 -*)
13.1125 - case ${ac_top_builddir}. in
13.1126 - .) ac_abs_top_builddir=$ac_abs_builddir;;
13.1127 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13.1128 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13.1129 - esac;;
13.1130 -esac
13.1131 -case $ac_abs_builddir in
13.1132 -.) ac_abs_srcdir=$ac_srcdir;;
13.1133 -*)
13.1134 - case $ac_srcdir in
13.1135 - .) ac_abs_srcdir=$ac_abs_builddir;;
13.1136 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13.1137 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13.1138 - esac;;
13.1139 -esac
13.1140 -case $ac_abs_builddir in
13.1141 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
13.1142 -*)
13.1143 - case $ac_top_srcdir in
13.1144 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
13.1145 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13.1146 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13.1147 - esac;;
13.1148 -esac
13.1149 -
13.1150 - cd $ac_dir
13.1151 - # Check for guested configure; otherwise get Cygnus style configure.
13.1152 - if test -f $ac_srcdir/configure.gnu; then
13.1153 - echo
13.1154 - $SHELL $ac_srcdir/configure.gnu --help=recursive
13.1155 - elif test -f $ac_srcdir/configure; then
13.1156 - echo
13.1157 - $SHELL $ac_srcdir/configure --help=recursive
13.1158 - elif test -f $ac_srcdir/configure.ac ||
13.1159 - test -f $ac_srcdir/configure.in; then
13.1160 - echo
13.1161 - $ac_configure --help
13.1162 - else
13.1163 - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
13.1164 - fi
13.1165 - cd "$ac_popdir"
13.1166 - done
13.1167 -fi
13.1168 -
13.1169 -test -n "$ac_init_help" && exit 0
13.1170 -if $ac_init_version; then
13.1171 - cat <<\_ACEOF
13.1172 -
13.1173 -Copyright (C) 2003 Free Software Foundation, Inc.
13.1174 -This configure script is free software; the Free Software Foundation
13.1175 -gives unlimited permission to copy, distribute and modify it.
13.1176 -_ACEOF
13.1177 - exit 0
13.1178 -fi
13.1179 -exec 5>config.log
13.1180 -cat >&5 <<_ACEOF
13.1181 -This file contains any messages produced by compilers while
13.1182 -running configure, to aid debugging if configure makes a mistake.
13.1183 -
13.1184 -It was created by $as_me, which was
13.1185 -generated by GNU Autoconf 2.59. Invocation command line was
13.1186 -
13.1187 - $ $0 $@
13.1188 -
13.1189 -_ACEOF
13.1190 -{
13.1191 -cat <<_ASUNAME
13.1192 -## --------- ##
13.1193 -## Platform. ##
13.1194 -## --------- ##
13.1195 -
13.1196 -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
13.1197 -uname -m = `(uname -m) 2>/dev/null || echo unknown`
13.1198 -uname -r = `(uname -r) 2>/dev/null || echo unknown`
13.1199 -uname -s = `(uname -s) 2>/dev/null || echo unknown`
13.1200 -uname -v = `(uname -v) 2>/dev/null || echo unknown`
13.1201 -
13.1202 -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
13.1203 -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
13.1204 -
13.1205 -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
13.1206 -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
13.1207 -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
13.1208 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
13.1209 -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
13.1210 -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
13.1211 -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
13.1212 -
13.1213 -_ASUNAME
13.1214 -
13.1215 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.1216 -for as_dir in $PATH
13.1217 -do
13.1218 - IFS=$as_save_IFS
13.1219 - test -z "$as_dir" && as_dir=.
13.1220 - echo "PATH: $as_dir"
13.1221 -done
13.1222 -
13.1223 -} >&5
13.1224 -
13.1225 -cat >&5 <<_ACEOF
13.1226 -
13.1227 -
13.1228 -## ----------- ##
13.1229 -## Core tests. ##
13.1230 -## ----------- ##
13.1231 -
13.1232 -_ACEOF
13.1233 -
13.1234 -
13.1235 -# Keep a trace of the command line.
13.1236 -# Strip out --no-create and --no-recursion so they do not pile up.
13.1237 -# Strip out --silent because we don't want to record it for future runs.
13.1238 -# Also quote any args containing shell meta-characters.
13.1239 -# Make two passes to allow for proper duplicate-argument suppression.
13.1240 -ac_configure_args=
13.1241 -ac_configure_args0=
13.1242 -ac_configure_args1=
13.1243 -ac_sep=
13.1244 -ac_must_keep_next=false
13.1245 -for ac_pass in 1 2
13.1246 -do
13.1247 - for ac_arg
13.1248 - do
13.1249 - case $ac_arg in
13.1250 - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
13.1251 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13.1252 - | -silent | --silent | --silen | --sile | --sil)
13.1253 - continue ;;
13.1254 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
13.1255 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
13.1256 - esac
13.1257 - case $ac_pass in
13.1258 - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
13.1259 - 2)
13.1260 - ac_configure_args1="$ac_configure_args1 '$ac_arg'"
13.1261 - if test $ac_must_keep_next = true; then
13.1262 - ac_must_keep_next=false # Got value, back to normal.
13.1263 - else
13.1264 - case $ac_arg in
13.1265 - *=* | --config-cache | -C | -disable-* | --disable-* \
13.1266 - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
13.1267 - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
13.1268 - | -with-* | --with-* | -without-* | --without-* | --x)
13.1269 - case "$ac_configure_args0 " in
13.1270 - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
13.1271 - esac
13.1272 - ;;
13.1273 - -* ) ac_must_keep_next=true ;;
13.1274 - esac
13.1275 - fi
13.1276 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
13.1277 - # Get rid of the leading space.
13.1278 - ac_sep=" "
13.1279 - ;;
13.1280 - esac
13.1281 - done
13.1282 -done
13.1283 -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
13.1284 -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
13.1285 -
13.1286 -# When interrupted or exit'd, cleanup temporary files, and complete
13.1287 -# config.log. We remove comments because anyway the quotes in there
13.1288 -# would cause problems or look ugly.
13.1289 -# WARNING: Be sure not to use single quotes in there, as some shells,
13.1290 -# such as our DU 5.0 friend, will then `close' the trap.
13.1291 -trap 'exit_status=$?
13.1292 - # Save into config.log some information that might help in debugging.
13.1293 - {
13.1294 - echo
13.1295 -
13.1296 - cat <<\_ASBOX
13.1297 -## ---------------- ##
13.1298 -## Cache variables. ##
13.1299 -## ---------------- ##
13.1300 -_ASBOX
13.1301 - echo
13.1302 - # The following way of writing the cache mishandles newlines in values,
13.1303 -{
13.1304 - (set) 2>&1 |
13.1305 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
13.1306 - *ac_space=\ *)
13.1307 - sed -n \
13.1308 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
13.1309 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
13.1310 - ;;
13.1311 - *)
13.1312 - sed -n \
13.1313 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13.1314 - ;;
13.1315 - esac;
13.1316 -}
13.1317 - echo
13.1318 -
13.1319 - cat <<\_ASBOX
13.1320 -## ----------------- ##
13.1321 -## Output variables. ##
13.1322 -## ----------------- ##
13.1323 -_ASBOX
13.1324 - echo
13.1325 - for ac_var in $ac_subst_vars
13.1326 - do
13.1327 - eval ac_val=$`echo $ac_var`
13.1328 - echo "$ac_var='"'"'$ac_val'"'"'"
13.1329 - done | sort
13.1330 - echo
13.1331 -
13.1332 - if test -n "$ac_subst_files"; then
13.1333 - cat <<\_ASBOX
13.1334 -## ------------- ##
13.1335 -## Output files. ##
13.1336 -## ------------- ##
13.1337 -_ASBOX
13.1338 - echo
13.1339 - for ac_var in $ac_subst_files
13.1340 - do
13.1341 - eval ac_val=$`echo $ac_var`
13.1342 - echo "$ac_var='"'"'$ac_val'"'"'"
13.1343 - done | sort
13.1344 - echo
13.1345 - fi
13.1346 -
13.1347 - if test -s confdefs.h; then
13.1348 - cat <<\_ASBOX
13.1349 -## ----------- ##
13.1350 -## confdefs.h. ##
13.1351 -## ----------- ##
13.1352 -_ASBOX
13.1353 - echo
13.1354 - sed "/^$/d" confdefs.h | sort
13.1355 - echo
13.1356 - fi
13.1357 - test "$ac_signal" != 0 &&
13.1358 - echo "$as_me: caught signal $ac_signal"
13.1359 - echo "$as_me: exit $exit_status"
13.1360 - } >&5
13.1361 - rm -f core *.core &&
13.1362 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
13.1363 - exit $exit_status
13.1364 - ' 0
13.1365 -for ac_signal in 1 2 13 15; do
13.1366 - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
13.1367 -done
13.1368 -ac_signal=0
13.1369 -
13.1370 -# confdefs.h avoids OS command line length limits that DEFS can exceed.
13.1371 -rm -rf conftest* confdefs.h
13.1372 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
13.1373 -echo >confdefs.h
13.1374 -
13.1375 -# Predefined preprocessor variables.
13.1376 -
13.1377 -cat >>confdefs.h <<_ACEOF
13.1378 -#define PACKAGE_NAME "$PACKAGE_NAME"
13.1379 -_ACEOF
13.1380 -
13.1381 -
13.1382 -cat >>confdefs.h <<_ACEOF
13.1383 -#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
13.1384 -_ACEOF
13.1385 -
13.1386 -
13.1387 -cat >>confdefs.h <<_ACEOF
13.1388 -#define PACKAGE_VERSION "$PACKAGE_VERSION"
13.1389 -_ACEOF
13.1390 -
13.1391 -
13.1392 -cat >>confdefs.h <<_ACEOF
13.1393 -#define PACKAGE_STRING "$PACKAGE_STRING"
13.1394 -_ACEOF
13.1395 -
13.1396 -
13.1397 -cat >>confdefs.h <<_ACEOF
13.1398 -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
13.1399 -_ACEOF
13.1400 -
13.1401 -
13.1402 -# Let the site file select an alternate cache file if it wants to.
13.1403 -# Prefer explicitly selected file to automatically selected ones.
13.1404 -if test -z "$CONFIG_SITE"; then
13.1405 - if test "x$prefix" != xNONE; then
13.1406 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
13.1407 - else
13.1408 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
13.1409 - fi
13.1410 -fi
13.1411 -for ac_site_file in $CONFIG_SITE; do
13.1412 - if test -r "$ac_site_file"; then
13.1413 - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
13.1414 -echo "$as_me: loading site script $ac_site_file" >&6;}
13.1415 - sed 's/^/| /' "$ac_site_file" >&5
13.1416 - . "$ac_site_file"
13.1417 - fi
13.1418 -done
13.1419 -
13.1420 -if test -r "$cache_file"; then
13.1421 - # Some versions of bash will fail to source /dev/null (special
13.1422 - # files actually), so we avoid doing that.
13.1423 - if test -f "$cache_file"; then
13.1424 - { echo "$as_me:$LINENO: loading cache $cache_file" >&5
13.1425 -echo "$as_me: loading cache $cache_file" >&6;}
13.1426 - case $cache_file in
13.1427 - [\\/]* | ?:[\\/]* ) . $cache_file;;
13.1428 - *) . ./$cache_file;;
13.1429 - esac
13.1430 - fi
13.1431 -else
13.1432 - { echo "$as_me:$LINENO: creating cache $cache_file" >&5
13.1433 -echo "$as_me: creating cache $cache_file" >&6;}
13.1434 - >$cache_file
13.1435 -fi
13.1436 -
13.1437 -# Check that the precious variables saved in the cache have kept the same
13.1438 -# value.
13.1439 -ac_cache_corrupted=false
13.1440 -for ac_var in `(set) 2>&1 |
13.1441 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
13.1442 - eval ac_old_set=\$ac_cv_env_${ac_var}_set
13.1443 - eval ac_new_set=\$ac_env_${ac_var}_set
13.1444 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
13.1445 - eval ac_new_val="\$ac_env_${ac_var}_value"
13.1446 - case $ac_old_set,$ac_new_set in
13.1447 - set,)
13.1448 - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
13.1449 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
13.1450 - ac_cache_corrupted=: ;;
13.1451 - ,set)
13.1452 - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
13.1453 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
13.1454 - ac_cache_corrupted=: ;;
13.1455 - ,);;
13.1456 - *)
13.1457 - if test "x$ac_old_val" != "x$ac_new_val"; then
13.1458 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
13.1459 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
13.1460 - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
13.1461 -echo "$as_me: former value: $ac_old_val" >&2;}
13.1462 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
13.1463 -echo "$as_me: current value: $ac_new_val" >&2;}
13.1464 - ac_cache_corrupted=:
13.1465 - fi;;
13.1466 - esac
13.1467 - # Pass precious variables to config.status.
13.1468 - if test "$ac_new_set" = set; then
13.1469 - case $ac_new_val in
13.1470 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
13.1471 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
13.1472 - *) ac_arg=$ac_var=$ac_new_val ;;
13.1473 - esac
13.1474 - case " $ac_configure_args " in
13.1475 - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
13.1476 - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
13.1477 - esac
13.1478 - fi
13.1479 -done
13.1480 -if $ac_cache_corrupted; then
13.1481 - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
13.1482 -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
13.1483 - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
13.1484 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
13.1485 - { (exit 1); exit 1; }; }
13.1486 -fi
13.1487 -
13.1488 -ac_ext=c
13.1489 -ac_cpp='$CPP $CPPFLAGS'
13.1490 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.1491 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.1492 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.1493 -
13.1494 -
13.1495 -
13.1496 -
13.1497 -
13.1498 -
13.1499 -
13.1500 -
13.1501 -
13.1502 -
13.1503 -
13.1504 -
13.1505 -
13.1506 -
13.1507 -
13.1508 -
13.1509 -
13.1510 -
13.1511 -
13.1512 -ac_aux_dir=
13.1513 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
13.1514 - if test -f $ac_dir/install-sh; then
13.1515 - ac_aux_dir=$ac_dir
13.1516 - ac_install_sh="$ac_aux_dir/install-sh -c"
13.1517 - break
13.1518 - elif test -f $ac_dir/install.sh; then
13.1519 - ac_aux_dir=$ac_dir
13.1520 - ac_install_sh="$ac_aux_dir/install.sh -c"
13.1521 - break
13.1522 - elif test -f $ac_dir/shtool; then
13.1523 - ac_aux_dir=$ac_dir
13.1524 - ac_install_sh="$ac_aux_dir/shtool install -c"
13.1525 - break
13.1526 - fi
13.1527 -done
13.1528 -if test -z "$ac_aux_dir"; then
13.1529 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
13.1530 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
13.1531 - { (exit 1); exit 1; }; }
13.1532 -fi
13.1533 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
13.1534 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
13.1535 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
13.1536 -
13.1537 -# Make sure we can run config.sub.
13.1538 -$ac_config_sub sun4 >/dev/null 2>&1 ||
13.1539 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
13.1540 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
13.1541 - { (exit 1); exit 1; }; }
13.1542 -
13.1543 -echo "$as_me:$LINENO: checking build system type" >&5
13.1544 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
13.1545 -if test "${ac_cv_build+set}" = set; then
13.1546 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.1547 -else
13.1548 - ac_cv_build_alias=$build_alias
13.1549 -test -z "$ac_cv_build_alias" &&
13.1550 - ac_cv_build_alias=`$ac_config_guess`
13.1551 -test -z "$ac_cv_build_alias" &&
13.1552 - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
13.1553 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
13.1554 - { (exit 1); exit 1; }; }
13.1555 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
13.1556 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
13.1557 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
13.1558 - { (exit 1); exit 1; }; }
13.1559 -
13.1560 -fi
13.1561 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
13.1562 -echo "${ECHO_T}$ac_cv_build" >&6
13.1563 -build=$ac_cv_build
13.1564 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
13.1565 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
13.1566 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
13.1567 -
13.1568 -
13.1569 -echo "$as_me:$LINENO: checking host system type" >&5
13.1570 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
13.1571 -if test "${ac_cv_host+set}" = set; then
13.1572 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.1573 -else
13.1574 - ac_cv_host_alias=$host_alias
13.1575 -test -z "$ac_cv_host_alias" &&
13.1576 - ac_cv_host_alias=$ac_cv_build_alias
13.1577 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
13.1578 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
13.1579 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
13.1580 - { (exit 1); exit 1; }; }
13.1581 -
13.1582 -fi
13.1583 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
13.1584 -echo "${ECHO_T}$ac_cv_host" >&6
13.1585 -host=$ac_cv_host
13.1586 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
13.1587 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
13.1588 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
13.1589 -
13.1590 -
13.1591 -echo "$as_me:$LINENO: checking target system type" >&5
13.1592 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
13.1593 -if test "${ac_cv_target+set}" = set; then
13.1594 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.1595 -else
13.1596 - ac_cv_target_alias=$target_alias
13.1597 -test "x$ac_cv_target_alias" = "x" &&
13.1598 - ac_cv_target_alias=$ac_cv_host_alias
13.1599 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
13.1600 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
13.1601 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
13.1602 - { (exit 1); exit 1; }; }
13.1603 -
13.1604 -fi
13.1605 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
13.1606 -echo "${ECHO_T}$ac_cv_target" >&6
13.1607 -target=$ac_cv_target
13.1608 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
13.1609 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
13.1610 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
13.1611 -
13.1612 -
13.1613 -# The aliases save the names the user supplied, while $host etc.
13.1614 -# will get canonicalized.
13.1615 -test -n "$target_alias" &&
13.1616 - test "$program_prefix$program_suffix$program_transform_name" = \
13.1617 - NONENONEs,x,x, &&
13.1618 - program_prefix=${target_alias}-
13.1619 -
13.1620 -case m4 in
13.1621 - [\\/]* | ?:[\\/]* ) ac_macro_dir=m4 ;;
13.1622 - *) ac_macro_dir=$srcdir/m4 ;;
13.1623 -esac
13.1624 -if test -d "$ac_macro_dir"; then :
13.1625 -else
13.1626 - { { echo "$as_me:$LINENO: error: cannot find macro directory \`m4'" >&5
13.1627 -echo "$as_me: error: cannot find macro directory \`m4'" >&2;}
13.1628 - { (exit 1); exit 1; }; }
13.1629 -fi
13.1630 -
13.1631 -# Check whether --enable-static or --disable-static was given.
13.1632 -if test "${enable_static+set}" = set; then
13.1633 - enableval="$enable_static"
13.1634 - p=${PACKAGE-default}
13.1635 - case $enableval in
13.1636 - yes) enable_static=yes ;;
13.1637 - no) enable_static=no ;;
13.1638 - *)
13.1639 - enable_static=no
13.1640 - # Look at the argument we got. We use all the common list separators.
13.1641 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13.1642 - for pkg in $enableval; do
13.1643 - IFS="$lt_save_ifs"
13.1644 - if test "X$pkg" = "X$p"; then
13.1645 - enable_static=yes
13.1646 - fi
13.1647 - done
13.1648 - IFS="$lt_save_ifs"
13.1649 - ;;
13.1650 - esac
13.1651 -else
13.1652 - enable_static=no
13.1653 -fi;
13.1654 -
13.1655 -
13.1656 -
13.1657 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
13.1658 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
13.1659 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
13.1660 -if test "${enable_maintainer_mode+set}" = set; then
13.1661 - enableval="$enable_maintainer_mode"
13.1662 - USE_MAINTAINER_MODE=$enableval
13.1663 -else
13.1664 - USE_MAINTAINER_MODE=no
13.1665 -fi;
13.1666 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
13.1667 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
13.1668 -
13.1669 -
13.1670 -if test $USE_MAINTAINER_MODE = yes; then
13.1671 - MAINTAINER_MODE_TRUE=
13.1672 - MAINTAINER_MODE_FALSE='#'
13.1673 -else
13.1674 - MAINTAINER_MODE_TRUE='#'
13.1675 - MAINTAINER_MODE_FALSE=
13.1676 -fi
13.1677 -
13.1678 - MAINT=$MAINTAINER_MODE_TRUE
13.1679 -
13.1680 -
13.1681 -
13.1682 -
13.1683 - PACKAGE=gst-plugins-nuvdemux
13.1684 - GST_PLUGINS_VERSION_MAJOR=0
13.1685 - GST_PLUGINS_VERSION_MINOR=10
13.1686 - GST_PLUGINS_VERSION_MICRO=0
13.1687 - NANO=1
13.1688 - GST_PLUGINS_VERSION_NANO=$NANO
13.1689 - if test "x$NANO" = "x" || test "x$NANO" = "x0";
13.1690 - then
13.1691 - { echo "$as_me:$LINENO: configuring gst-plugins-nuvdemux for release" >&5
13.1692 -echo "$as_me: configuring gst-plugins-nuvdemux for release" >&6;}
13.1693 - VERSION=0.10.0
13.1694 - GST_PLUGINS_VERSION_RELEASE=1
13.1695 - GST_CVS="no"
13.1696 - else
13.1697 - { echo "$as_me:$LINENO: configuring gst-plugins-nuvdemux for development with nano $NANO" >&5
13.1698 -echo "$as_me: configuring gst-plugins-nuvdemux for development with nano $NANO" >&6;}
13.1699 - VERSION=0.10.0.$NANO
13.1700 - GST_PLUGINS_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
13.1701 - GST_CVS="yes"
13.1702 - fi
13.1703 -
13.1704 - GST_PLUGINS_VERSION=$VERSION
13.1705 -
13.1706 -cat >>confdefs.h <<_ACEOF
13.1707 -#define GST_PLUGINS_VERSION "$GST_PLUGINS_VERSION"
13.1708 -_ACEOF
13.1709 -
13.1710 -
13.1711 -
13.1712 -cat >>confdefs.h <<_ACEOF
13.1713 -#define GST_PLUGINS_VERSION_RELEASE "$GST_PLUGINS_VERSION_RELEASE"
13.1714 -_ACEOF
13.1715 -
13.1716 -
13.1717 -
13.1718 -
13.1719 -
13.1720 -
13.1721 -
13.1722 -
13.1723 -cat >>confdefs.h <<_ACEOF
13.1724 -#define PACKAGE "$PACKAGE"
13.1725 -_ACEOF
13.1726 -
13.1727 -
13.1728 -
13.1729 -cat >>confdefs.h <<_ACEOF
13.1730 -#define VERSION "$VERSION"
13.1731 -_ACEOF
13.1732 -
13.1733 -
13.1734 -
13.1735 -
13.1736 -am__api_version="1.8"
13.1737 -# Find a good install program. We prefer a C program (faster),
13.1738 -# so one script is as good as another. But avoid the broken or
13.1739 -# incompatible versions:
13.1740 -# SysV /etc/install, /usr/sbin/install
13.1741 -# SunOS /usr/etc/install
13.1742 -# IRIX /sbin/install
13.1743 -# AIX /bin/install
13.1744 -# AmigaOS /C/install, which installs bootblocks on floppy discs
13.1745 -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13.1746 -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
13.1747 -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13.1748 -# OS/2's system install, which has a completely different semantic
13.1749 -# ./install, which can be erroneously created by make from ./install.sh.
13.1750 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13.1751 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13.1752 -if test -z "$INSTALL"; then
13.1753 -if test "${ac_cv_path_install+set}" = set; then
13.1754 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.1755 -else
13.1756 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.1757 -for as_dir in $PATH
13.1758 -do
13.1759 - IFS=$as_save_IFS
13.1760 - test -z "$as_dir" && as_dir=.
13.1761 - # Account for people who put trailing slashes in PATH elements.
13.1762 -case $as_dir/ in
13.1763 - ./ | .// | /cC/* | \
13.1764 - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
13.1765 - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
13.1766 - /usr/ucb/* ) ;;
13.1767 - *)
13.1768 - # OSF1 and SCO ODT 3.0 have their own names for install.
13.1769 - # Don't use installbsd from OSF since it installs stuff as root
13.1770 - # by default.
13.1771 - for ac_prog in ginstall scoinst install; do
13.1772 - for ac_exec_ext in '' $ac_executable_extensions; do
13.1773 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13.1774 - if test $ac_prog = install &&
13.1775 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13.1776 - # AIX install. It has an incompatible calling convention.
13.1777 - :
13.1778 - elif test $ac_prog = install &&
13.1779 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13.1780 - # program-specific install script used by HP pwplus--don't use.
13.1781 - :
13.1782 - else
13.1783 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
13.1784 - break 3
13.1785 - fi
13.1786 - fi
13.1787 - done
13.1788 - done
13.1789 - ;;
13.1790 -esac
13.1791 -done
13.1792 -
13.1793 -
13.1794 -fi
13.1795 - if test "${ac_cv_path_install+set}" = set; then
13.1796 - INSTALL=$ac_cv_path_install
13.1797 - else
13.1798 - # As a last resort, use the slow shell script. We don't cache a
13.1799 - # path for INSTALL within a source directory, because that will
13.1800 - # break other packages using the cache if that directory is
13.1801 - # removed, or if the path is relative.
13.1802 - INSTALL=$ac_install_sh
13.1803 - fi
13.1804 -fi
13.1805 -echo "$as_me:$LINENO: result: $INSTALL" >&5
13.1806 -echo "${ECHO_T}$INSTALL" >&6
13.1807 -
13.1808 -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13.1809 -# It thinks the first close brace ends the variable substitution.
13.1810 -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
13.1811 -
13.1812 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
13.1813 -
13.1814 -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
13.1815 -
13.1816 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
13.1817 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
13.1818 -# Just in case
13.1819 -sleep 1
13.1820 -echo timestamp > conftest.file
13.1821 -# Do `set' in a subshell so we don't clobber the current shell's
13.1822 -# arguments. Must try -L first in case configure is actually a
13.1823 -# symlink; some systems play weird games with the mod time of symlinks
13.1824 -# (eg FreeBSD returns the mod time of the symlink's containing
13.1825 -# directory).
13.1826 -if (
13.1827 - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
13.1828 - if test "$*" = "X"; then
13.1829 - # -L didn't work.
13.1830 - set X `ls -t $srcdir/configure conftest.file`
13.1831 - fi
13.1832 - rm -f conftest.file
13.1833 - if test "$*" != "X $srcdir/configure conftest.file" \
13.1834 - && test "$*" != "X conftest.file $srcdir/configure"; then
13.1835 -
13.1836 - # If neither matched, then we have a broken ls. This can happen
13.1837 - # if, for instance, CONFIG_SHELL is bash and it inherits a
13.1838 - # broken ls alias from the environment. This has actually
13.1839 - # happened. Such a system could not be considered "sane".
13.1840 - { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
13.1841 -alias in your environment" >&5
13.1842 -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
13.1843 -alias in your environment" >&2;}
13.1844 - { (exit 1); exit 1; }; }
13.1845 - fi
13.1846 -
13.1847 - test "$2" = conftest.file
13.1848 - )
13.1849 -then
13.1850 - # Ok.
13.1851 - :
13.1852 -else
13.1853 - { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
13.1854 -Check your system clock" >&5
13.1855 -echo "$as_me: error: newly created file is older than distributed files!
13.1856 -Check your system clock" >&2;}
13.1857 - { (exit 1); exit 1; }; }
13.1858 -fi
13.1859 -echo "$as_me:$LINENO: result: yes" >&5
13.1860 -echo "${ECHO_T}yes" >&6
13.1861 -test "$program_prefix" != NONE &&
13.1862 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
13.1863 -# Use a double $ so make ignores it.
13.1864 -test "$program_suffix" != NONE &&
13.1865 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
13.1866 -# Double any \ or $. echo might interpret backslashes.
13.1867 -# By default was `s,x,x', remove it if useless.
13.1868 -cat <<\_ACEOF >conftest.sed
13.1869 -s/[\\$]/&&/g;s/;s,x,x,$//
13.1870 -_ACEOF
13.1871 -program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
13.1872 -rm conftest.sed
13.1873 -
13.1874 -# expand $ac_aux_dir to an absolute path
13.1875 -am_aux_dir=`cd $ac_aux_dir && pwd`
13.1876 -
13.1877 -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
13.1878 -# Use eval to expand $SHELL
13.1879 -if eval "$MISSING --run true"; then
13.1880 - am_missing_run="$MISSING --run "
13.1881 -else
13.1882 - am_missing_run=
13.1883 - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
13.1884 -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
13.1885 -fi
13.1886 -
13.1887 -if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
13.1888 - # Keeping the `.' argument allows $(mkdir_p) to be used without
13.1889 - # argument. Indeed, we sometimes output rules like
13.1890 - # $(mkdir_p) $(somedir)
13.1891 - # where $(somedir) is conditionally defined.
13.1892 - # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
13.1893 - # expensive solution, as it forces Make to start a sub-shell.)
13.1894 - mkdir_p='mkdir -p -- .'
13.1895 -else
13.1896 - # On NextStep and OpenStep, the `mkdir' command does not
13.1897 - # recognize any option. It will interpret all options as
13.1898 - # directories to create, and then abort because `.' already
13.1899 - # exists.
13.1900 - for d in ./-p ./--version;
13.1901 - do
13.1902 - test -d $d && rmdir $d
13.1903 - done
13.1904 - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
13.1905 - if test -f "$ac_aux_dir/mkinstalldirs"; then
13.1906 - mkdir_p='$(mkinstalldirs)'
13.1907 - else
13.1908 - mkdir_p='$(install_sh) -d'
13.1909 - fi
13.1910 -fi
13.1911 -
13.1912 -for ac_prog in gawk mawk nawk awk
13.1913 -do
13.1914 - # Extract the first word of "$ac_prog", so it can be a program name with args.
13.1915 -set dummy $ac_prog; ac_word=$2
13.1916 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.1917 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.1918 -if test "${ac_cv_prog_AWK+set}" = set; then
13.1919 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.1920 -else
13.1921 - if test -n "$AWK"; then
13.1922 - ac_cv_prog_AWK="$AWK" # Let the user override the test.
13.1923 -else
13.1924 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.1925 -for as_dir in $PATH
13.1926 -do
13.1927 - IFS=$as_save_IFS
13.1928 - test -z "$as_dir" && as_dir=.
13.1929 - for ac_exec_ext in '' $ac_executable_extensions; do
13.1930 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.1931 - ac_cv_prog_AWK="$ac_prog"
13.1932 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.1933 - break 2
13.1934 - fi
13.1935 -done
13.1936 -done
13.1937 -
13.1938 -fi
13.1939 -fi
13.1940 -AWK=$ac_cv_prog_AWK
13.1941 -if test -n "$AWK"; then
13.1942 - echo "$as_me:$LINENO: result: $AWK" >&5
13.1943 -echo "${ECHO_T}$AWK" >&6
13.1944 -else
13.1945 - echo "$as_me:$LINENO: result: no" >&5
13.1946 -echo "${ECHO_T}no" >&6
13.1947 -fi
13.1948 -
13.1949 - test -n "$AWK" && break
13.1950 -done
13.1951 -
13.1952 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
13.1953 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
13.1954 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
13.1955 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
13.1956 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.1957 -else
13.1958 - cat >conftest.make <<\_ACEOF
13.1959 -all:
13.1960 - @echo 'ac_maketemp="$(MAKE)"'
13.1961 -_ACEOF
13.1962 -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13.1963 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
13.1964 -if test -n "$ac_maketemp"; then
13.1965 - eval ac_cv_prog_make_${ac_make}_set=yes
13.1966 -else
13.1967 - eval ac_cv_prog_make_${ac_make}_set=no
13.1968 -fi
13.1969 -rm -f conftest.make
13.1970 -fi
13.1971 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
13.1972 - echo "$as_me:$LINENO: result: yes" >&5
13.1973 -echo "${ECHO_T}yes" >&6
13.1974 - SET_MAKE=
13.1975 -else
13.1976 - echo "$as_me:$LINENO: result: no" >&5
13.1977 -echo "${ECHO_T}no" >&6
13.1978 - SET_MAKE="MAKE=${MAKE-make}"
13.1979 -fi
13.1980 -
13.1981 -rm -rf .tst 2>/dev/null
13.1982 -mkdir .tst 2>/dev/null
13.1983 -if test -d .tst; then
13.1984 - am__leading_dot=.
13.1985 -else
13.1986 - am__leading_dot=_
13.1987 -fi
13.1988 -rmdir .tst 2>/dev/null
13.1989 -
13.1990 -# test to see if srcdir already configured
13.1991 -if test "`cd $srcdir && pwd`" != "`pwd`" &&
13.1992 - test -f $srcdir/config.status; then
13.1993 - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
13.1994 -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
13.1995 - { (exit 1); exit 1; }; }
13.1996 -fi
13.1997 -
13.1998 -# test whether we have cygpath
13.1999 -if test -z "$CYGPATH_W"; then
13.2000 - if (cygpath --version) >/dev/null 2>/dev/null; then
13.2001 - CYGPATH_W='cygpath -w'
13.2002 - else
13.2003 - CYGPATH_W=echo
13.2004 - fi
13.2005 -fi
13.2006 -
13.2007 -
13.2008 -# Define the identity of the package.
13.2009 - PACKAGE=$PACKAGE
13.2010 - VERSION=$VERSION
13.2011 -
13.2012 -
13.2013 -cat >>confdefs.h <<_ACEOF
13.2014 -#define PACKAGE "$PACKAGE"
13.2015 -_ACEOF
13.2016 -
13.2017 -
13.2018 -cat >>confdefs.h <<_ACEOF
13.2019 -#define VERSION "$VERSION"
13.2020 -_ACEOF
13.2021 -
13.2022 -# Some tools Automake needs.
13.2023 -
13.2024 -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
13.2025 -
13.2026 -
13.2027 -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
13.2028 -
13.2029 -
13.2030 -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
13.2031 -
13.2032 -
13.2033 -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
13.2034 -
13.2035 -
13.2036 -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
13.2037 -
13.2038 -
13.2039 -AMTAR=${AMTAR-"${am_missing_run}tar"}
13.2040 -
13.2041 -install_sh=${install_sh-"$am_aux_dir/install-sh"}
13.2042 -
13.2043 -# Installed binaries are usually stripped using `strip' when the user
13.2044 -# run `make install-strip'. However `strip' might not be the right
13.2045 -# tool to use in cross-compilation environments, therefore Automake
13.2046 -# will honor the `STRIP' environment variable to overrule this program.
13.2047 -if test "$cross_compiling" != no; then
13.2048 - if test -n "$ac_tool_prefix"; then
13.2049 - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
13.2050 -set dummy ${ac_tool_prefix}strip; ac_word=$2
13.2051 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.2052 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.2053 -if test "${ac_cv_prog_STRIP+set}" = set; then
13.2054 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.2055 -else
13.2056 - if test -n "$STRIP"; then
13.2057 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13.2058 -else
13.2059 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.2060 -for as_dir in $PATH
13.2061 -do
13.2062 - IFS=$as_save_IFS
13.2063 - test -z "$as_dir" && as_dir=.
13.2064 - for ac_exec_ext in '' $ac_executable_extensions; do
13.2065 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.2066 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
13.2067 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.2068 - break 2
13.2069 - fi
13.2070 -done
13.2071 -done
13.2072 -
13.2073 -fi
13.2074 -fi
13.2075 -STRIP=$ac_cv_prog_STRIP
13.2076 -if test -n "$STRIP"; then
13.2077 - echo "$as_me:$LINENO: result: $STRIP" >&5
13.2078 -echo "${ECHO_T}$STRIP" >&6
13.2079 -else
13.2080 - echo "$as_me:$LINENO: result: no" >&5
13.2081 -echo "${ECHO_T}no" >&6
13.2082 -fi
13.2083 -
13.2084 -fi
13.2085 -if test -z "$ac_cv_prog_STRIP"; then
13.2086 - ac_ct_STRIP=$STRIP
13.2087 - # Extract the first word of "strip", so it can be a program name with args.
13.2088 -set dummy strip; ac_word=$2
13.2089 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.2090 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.2091 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
13.2092 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.2093 -else
13.2094 - if test -n "$ac_ct_STRIP"; then
13.2095 - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
13.2096 -else
13.2097 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.2098 -for as_dir in $PATH
13.2099 -do
13.2100 - IFS=$as_save_IFS
13.2101 - test -z "$as_dir" && as_dir=.
13.2102 - for ac_exec_ext in '' $ac_executable_extensions; do
13.2103 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.2104 - ac_cv_prog_ac_ct_STRIP="strip"
13.2105 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.2106 - break 2
13.2107 - fi
13.2108 -done
13.2109 -done
13.2110 -
13.2111 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
13.2112 -fi
13.2113 -fi
13.2114 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
13.2115 -if test -n "$ac_ct_STRIP"; then
13.2116 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
13.2117 -echo "${ECHO_T}$ac_ct_STRIP" >&6
13.2118 -else
13.2119 - echo "$as_me:$LINENO: result: no" >&5
13.2120 -echo "${ECHO_T}no" >&6
13.2121 -fi
13.2122 -
13.2123 - STRIP=$ac_ct_STRIP
13.2124 -else
13.2125 - STRIP="$ac_cv_prog_STRIP"
13.2126 -fi
13.2127 -
13.2128 -fi
13.2129 -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
13.2130 -
13.2131 -# We need awk for the "check" target. The system "awk" is bad on
13.2132 -# some platforms.
13.2133 -
13.2134 -
13.2135 -
13.2136 -
13.2137 -# Check whether --enable-shared or --disable-shared was given.
13.2138 -if test "${enable_shared+set}" = set; then
13.2139 - enableval="$enable_shared"
13.2140 - p=${PACKAGE-default}
13.2141 - case $enableval in
13.2142 - yes) enable_shared=yes ;;
13.2143 - no) enable_shared=no ;;
13.2144 - *)
13.2145 - enable_shared=no
13.2146 - # Look at the argument we got. We use all the common list separators.
13.2147 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13.2148 - for pkg in $enableval; do
13.2149 - IFS="$lt_save_ifs"
13.2150 - if test "X$pkg" = "X$p"; then
13.2151 - enable_shared=yes
13.2152 - fi
13.2153 - done
13.2154 - IFS="$lt_save_ifs"
13.2155 - ;;
13.2156 - esac
13.2157 -else
13.2158 - enable_shared=yes
13.2159 -fi;
13.2160 -
13.2161 -# Check whether --enable-fast-install or --disable-fast-install was given.
13.2162 -if test "${enable_fast_install+set}" = set; then
13.2163 - enableval="$enable_fast_install"
13.2164 - p=${PACKAGE-default}
13.2165 - case $enableval in
13.2166 - yes) enable_fast_install=yes ;;
13.2167 - no) enable_fast_install=no ;;
13.2168 - *)
13.2169 - enable_fast_install=no
13.2170 - # Look at the argument we got. We use all the common list separators.
13.2171 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13.2172 - for pkg in $enableval; do
13.2173 - IFS="$lt_save_ifs"
13.2174 - if test "X$pkg" = "X$p"; then
13.2175 - enable_fast_install=yes
13.2176 - fi
13.2177 - done
13.2178 - IFS="$lt_save_ifs"
13.2179 - ;;
13.2180 - esac
13.2181 -else
13.2182 - enable_fast_install=yes
13.2183 -fi;
13.2184 -
13.2185 -DEPDIR="${am__leading_dot}deps"
13.2186 -
13.2187 - ac_config_commands="$ac_config_commands depfiles"
13.2188 -
13.2189 -
13.2190 -am_make=${MAKE-make}
13.2191 -cat > confinc << 'END'
13.2192 -am__doit:
13.2193 - @echo done
13.2194 -.PHONY: am__doit
13.2195 -END
13.2196 -# If we don't find an include directive, just comment out the code.
13.2197 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
13.2198 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
13.2199 -am__include="#"
13.2200 -am__quote=
13.2201 -_am_result=none
13.2202 -# First try GNU make style include.
13.2203 -echo "include confinc" > confmf
13.2204 -# We grep out `Entering directory' and `Leaving directory'
13.2205 -# messages which can occur if `w' ends up in MAKEFLAGS.
13.2206 -# In particular we don't look at `^make:' because GNU make might
13.2207 -# be invoked under some other name (usually "gmake"), in which
13.2208 -# case it prints its new name instead of `make'.
13.2209 -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
13.2210 - am__include=include
13.2211 - am__quote=
13.2212 - _am_result=GNU
13.2213 -fi
13.2214 -# Now try BSD make style include.
13.2215 -if test "$am__include" = "#"; then
13.2216 - echo '.include "confinc"' > confmf
13.2217 - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
13.2218 - am__include=.include
13.2219 - am__quote="\""
13.2220 - _am_result=BSD
13.2221 - fi
13.2222 -fi
13.2223 -
13.2224 -
13.2225 -echo "$as_me:$LINENO: result: $_am_result" >&5
13.2226 -echo "${ECHO_T}$_am_result" >&6
13.2227 -rm -f confinc confmf
13.2228 -
13.2229 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
13.2230 -if test "${enable_dependency_tracking+set}" = set; then
13.2231 - enableval="$enable_dependency_tracking"
13.2232 -
13.2233 -fi;
13.2234 -if test "x$enable_dependency_tracking" != xno; then
13.2235 - am_depcomp="$ac_aux_dir/depcomp"
13.2236 - AMDEPBACKSLASH='\'
13.2237 -fi
13.2238 -
13.2239 -
13.2240 -if test "x$enable_dependency_tracking" != xno; then
13.2241 - AMDEP_TRUE=
13.2242 - AMDEP_FALSE='#'
13.2243 -else
13.2244 - AMDEP_TRUE='#'
13.2245 - AMDEP_FALSE=
13.2246 -fi
13.2247 -
13.2248 -
13.2249 -
13.2250 -ac_ext=c
13.2251 -ac_cpp='$CPP $CPPFLAGS'
13.2252 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.2253 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.2254 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.2255 -if test -n "$ac_tool_prefix"; then
13.2256 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13.2257 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
13.2258 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.2259 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.2260 -if test "${ac_cv_prog_CC+set}" = set; then
13.2261 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.2262 -else
13.2263 - if test -n "$CC"; then
13.2264 - ac_cv_prog_CC="$CC" # Let the user override the test.
13.2265 -else
13.2266 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.2267 -for as_dir in $PATH
13.2268 -do
13.2269 - IFS=$as_save_IFS
13.2270 - test -z "$as_dir" && as_dir=.
13.2271 - for ac_exec_ext in '' $ac_executable_extensions; do
13.2272 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.2273 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
13.2274 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.2275 - break 2
13.2276 - fi
13.2277 -done
13.2278 -done
13.2279 -
13.2280 -fi
13.2281 -fi
13.2282 -CC=$ac_cv_prog_CC
13.2283 -if test -n "$CC"; then
13.2284 - echo "$as_me:$LINENO: result: $CC" >&5
13.2285 -echo "${ECHO_T}$CC" >&6
13.2286 -else
13.2287 - echo "$as_me:$LINENO: result: no" >&5
13.2288 -echo "${ECHO_T}no" >&6
13.2289 -fi
13.2290 -
13.2291 -fi
13.2292 -if test -z "$ac_cv_prog_CC"; then
13.2293 - ac_ct_CC=$CC
13.2294 - # Extract the first word of "gcc", so it can be a program name with args.
13.2295 -set dummy gcc; ac_word=$2
13.2296 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.2297 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.2298 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13.2299 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.2300 -else
13.2301 - if test -n "$ac_ct_CC"; then
13.2302 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13.2303 -else
13.2304 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.2305 -for as_dir in $PATH
13.2306 -do
13.2307 - IFS=$as_save_IFS
13.2308 - test -z "$as_dir" && as_dir=.
13.2309 - for ac_exec_ext in '' $ac_executable_extensions; do
13.2310 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.2311 - ac_cv_prog_ac_ct_CC="gcc"
13.2312 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.2313 - break 2
13.2314 - fi
13.2315 -done
13.2316 -done
13.2317 -
13.2318 -fi
13.2319 -fi
13.2320 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
13.2321 -if test -n "$ac_ct_CC"; then
13.2322 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13.2323 -echo "${ECHO_T}$ac_ct_CC" >&6
13.2324 -else
13.2325 - echo "$as_me:$LINENO: result: no" >&5
13.2326 -echo "${ECHO_T}no" >&6
13.2327 -fi
13.2328 -
13.2329 - CC=$ac_ct_CC
13.2330 -else
13.2331 - CC="$ac_cv_prog_CC"
13.2332 -fi
13.2333 -
13.2334 -if test -z "$CC"; then
13.2335 - if test -n "$ac_tool_prefix"; then
13.2336 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13.2337 -set dummy ${ac_tool_prefix}cc; ac_word=$2
13.2338 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.2339 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.2340 -if test "${ac_cv_prog_CC+set}" = set; then
13.2341 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.2342 -else
13.2343 - if test -n "$CC"; then
13.2344 - ac_cv_prog_CC="$CC" # Let the user override the test.
13.2345 -else
13.2346 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.2347 -for as_dir in $PATH
13.2348 -do
13.2349 - IFS=$as_save_IFS
13.2350 - test -z "$as_dir" && as_dir=.
13.2351 - for ac_exec_ext in '' $ac_executable_extensions; do
13.2352 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.2353 - ac_cv_prog_CC="${ac_tool_prefix}cc"
13.2354 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.2355 - break 2
13.2356 - fi
13.2357 -done
13.2358 -done
13.2359 -
13.2360 -fi
13.2361 -fi
13.2362 -CC=$ac_cv_prog_CC
13.2363 -if test -n "$CC"; then
13.2364 - echo "$as_me:$LINENO: result: $CC" >&5
13.2365 -echo "${ECHO_T}$CC" >&6
13.2366 -else
13.2367 - echo "$as_me:$LINENO: result: no" >&5
13.2368 -echo "${ECHO_T}no" >&6
13.2369 -fi
13.2370 -
13.2371 -fi
13.2372 -if test -z "$ac_cv_prog_CC"; then
13.2373 - ac_ct_CC=$CC
13.2374 - # Extract the first word of "cc", so it can be a program name with args.
13.2375 -set dummy cc; ac_word=$2
13.2376 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.2377 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.2378 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13.2379 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.2380 -else
13.2381 - if test -n "$ac_ct_CC"; then
13.2382 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13.2383 -else
13.2384 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.2385 -for as_dir in $PATH
13.2386 -do
13.2387 - IFS=$as_save_IFS
13.2388 - test -z "$as_dir" && as_dir=.
13.2389 - for ac_exec_ext in '' $ac_executable_extensions; do
13.2390 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.2391 - ac_cv_prog_ac_ct_CC="cc"
13.2392 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.2393 - break 2
13.2394 - fi
13.2395 -done
13.2396 -done
13.2397 -
13.2398 -fi
13.2399 -fi
13.2400 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
13.2401 -if test -n "$ac_ct_CC"; then
13.2402 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13.2403 -echo "${ECHO_T}$ac_ct_CC" >&6
13.2404 -else
13.2405 - echo "$as_me:$LINENO: result: no" >&5
13.2406 -echo "${ECHO_T}no" >&6
13.2407 -fi
13.2408 -
13.2409 - CC=$ac_ct_CC
13.2410 -else
13.2411 - CC="$ac_cv_prog_CC"
13.2412 -fi
13.2413 -
13.2414 -fi
13.2415 -if test -z "$CC"; then
13.2416 - # Extract the first word of "cc", so it can be a program name with args.
13.2417 -set dummy cc; ac_word=$2
13.2418 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.2419 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.2420 -if test "${ac_cv_prog_CC+set}" = set; then
13.2421 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.2422 -else
13.2423 - if test -n "$CC"; then
13.2424 - ac_cv_prog_CC="$CC" # Let the user override the test.
13.2425 -else
13.2426 - ac_prog_rejected=no
13.2427 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.2428 -for as_dir in $PATH
13.2429 -do
13.2430 - IFS=$as_save_IFS
13.2431 - test -z "$as_dir" && as_dir=.
13.2432 - for ac_exec_ext in '' $ac_executable_extensions; do
13.2433 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.2434 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13.2435 - ac_prog_rejected=yes
13.2436 - continue
13.2437 - fi
13.2438 - ac_cv_prog_CC="cc"
13.2439 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.2440 - break 2
13.2441 - fi
13.2442 -done
13.2443 -done
13.2444 -
13.2445 -if test $ac_prog_rejected = yes; then
13.2446 - # We found a bogon in the path, so make sure we never use it.
13.2447 - set dummy $ac_cv_prog_CC
13.2448 - shift
13.2449 - if test $# != 0; then
13.2450 - # We chose a different compiler from the bogus one.
13.2451 - # However, it has the same basename, so the bogon will be chosen
13.2452 - # first if we set CC to just the basename; use the full file name.
13.2453 - shift
13.2454 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13.2455 - fi
13.2456 -fi
13.2457 -fi
13.2458 -fi
13.2459 -CC=$ac_cv_prog_CC
13.2460 -if test -n "$CC"; then
13.2461 - echo "$as_me:$LINENO: result: $CC" >&5
13.2462 -echo "${ECHO_T}$CC" >&6
13.2463 -else
13.2464 - echo "$as_me:$LINENO: result: no" >&5
13.2465 -echo "${ECHO_T}no" >&6
13.2466 -fi
13.2467 -
13.2468 -fi
13.2469 -if test -z "$CC"; then
13.2470 - if test -n "$ac_tool_prefix"; then
13.2471 - for ac_prog in cl
13.2472 - do
13.2473 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13.2474 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13.2475 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.2476 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.2477 -if test "${ac_cv_prog_CC+set}" = set; then
13.2478 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.2479 -else
13.2480 - if test -n "$CC"; then
13.2481 - ac_cv_prog_CC="$CC" # Let the user override the test.
13.2482 -else
13.2483 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.2484 -for as_dir in $PATH
13.2485 -do
13.2486 - IFS=$as_save_IFS
13.2487 - test -z "$as_dir" && as_dir=.
13.2488 - for ac_exec_ext in '' $ac_executable_extensions; do
13.2489 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.2490 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13.2491 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.2492 - break 2
13.2493 - fi
13.2494 -done
13.2495 -done
13.2496 -
13.2497 -fi
13.2498 -fi
13.2499 -CC=$ac_cv_prog_CC
13.2500 -if test -n "$CC"; then
13.2501 - echo "$as_me:$LINENO: result: $CC" >&5
13.2502 -echo "${ECHO_T}$CC" >&6
13.2503 -else
13.2504 - echo "$as_me:$LINENO: result: no" >&5
13.2505 -echo "${ECHO_T}no" >&6
13.2506 -fi
13.2507 -
13.2508 - test -n "$CC" && break
13.2509 - done
13.2510 -fi
13.2511 -if test -z "$CC"; then
13.2512 - ac_ct_CC=$CC
13.2513 - for ac_prog in cl
13.2514 -do
13.2515 - # Extract the first word of "$ac_prog", so it can be a program name with args.
13.2516 -set dummy $ac_prog; ac_word=$2
13.2517 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.2518 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.2519 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13.2520 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.2521 -else
13.2522 - if test -n "$ac_ct_CC"; then
13.2523 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13.2524 -else
13.2525 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.2526 -for as_dir in $PATH
13.2527 -do
13.2528 - IFS=$as_save_IFS
13.2529 - test -z "$as_dir" && as_dir=.
13.2530 - for ac_exec_ext in '' $ac_executable_extensions; do
13.2531 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.2532 - ac_cv_prog_ac_ct_CC="$ac_prog"
13.2533 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.2534 - break 2
13.2535 - fi
13.2536 -done
13.2537 -done
13.2538 -
13.2539 -fi
13.2540 -fi
13.2541 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
13.2542 -if test -n "$ac_ct_CC"; then
13.2543 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13.2544 -echo "${ECHO_T}$ac_ct_CC" >&6
13.2545 -else
13.2546 - echo "$as_me:$LINENO: result: no" >&5
13.2547 -echo "${ECHO_T}no" >&6
13.2548 -fi
13.2549 -
13.2550 - test -n "$ac_ct_CC" && break
13.2551 -done
13.2552 -
13.2553 - CC=$ac_ct_CC
13.2554 -fi
13.2555 -
13.2556 -fi
13.2557 -
13.2558 -
13.2559 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13.2560 -See \`config.log' for more details." >&5
13.2561 -echo "$as_me: error: no acceptable C compiler found in \$PATH
13.2562 -See \`config.log' for more details." >&2;}
13.2563 - { (exit 1); exit 1; }; }
13.2564 -
13.2565 -# Provide some information about the compiler.
13.2566 -echo "$as_me:$LINENO:" \
13.2567 - "checking for C compiler version" >&5
13.2568 -ac_compiler=`set X $ac_compile; echo $2`
13.2569 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13.2570 - (eval $ac_compiler --version </dev/null >&5) 2>&5
13.2571 - ac_status=$?
13.2572 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.2573 - (exit $ac_status); }
13.2574 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13.2575 - (eval $ac_compiler -v </dev/null >&5) 2>&5
13.2576 - ac_status=$?
13.2577 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.2578 - (exit $ac_status); }
13.2579 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13.2580 - (eval $ac_compiler -V </dev/null >&5) 2>&5
13.2581 - ac_status=$?
13.2582 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.2583 - (exit $ac_status); }
13.2584 -
13.2585 -cat >conftest.$ac_ext <<_ACEOF
13.2586 -/* confdefs.h. */
13.2587 -_ACEOF
13.2588 -cat confdefs.h >>conftest.$ac_ext
13.2589 -cat >>conftest.$ac_ext <<_ACEOF
13.2590 -/* end confdefs.h. */
13.2591 -
13.2592 -int
13.2593 -main ()
13.2594 -{
13.2595 -
13.2596 - ;
13.2597 - return 0;
13.2598 -}
13.2599 -_ACEOF
13.2600 -ac_clean_files_save=$ac_clean_files
13.2601 -ac_clean_files="$ac_clean_files a.out a.exe b.out"
13.2602 -# Try to create an executable without -o first, disregard a.out.
13.2603 -# It will help us diagnose broken compilers, and finding out an intuition
13.2604 -# of exeext.
13.2605 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13.2606 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
13.2607 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13.2608 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
13.2609 - (eval $ac_link_default) 2>&5
13.2610 - ac_status=$?
13.2611 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.2612 - (exit $ac_status); }; then
13.2613 - # Find the output, starting from the most likely. This scheme is
13.2614 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
13.2615 -# resort.
13.2616 -
13.2617 -# Be careful to initialize this variable, since it used to be cached.
13.2618 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
13.2619 -ac_cv_exeext=
13.2620 -# b.out is created by i960 compilers.
13.2621 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
13.2622 -do
13.2623 - test -f "$ac_file" || continue
13.2624 - case $ac_file in
13.2625 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
13.2626 - ;;
13.2627 - conftest.$ac_ext )
13.2628 - # This is the source file.
13.2629 - ;;
13.2630 - [ab].out )
13.2631 - # We found the default executable, but exeext='' is most
13.2632 - # certainly right.
13.2633 - break;;
13.2634 - *.* )
13.2635 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13.2636 - # FIXME: I believe we export ac_cv_exeext for Libtool,
13.2637 - # but it would be cool to find out if it's true. Does anybody
13.2638 - # maintain Libtool? --akim.
13.2639 - export ac_cv_exeext
13.2640 - break;;
13.2641 - * )
13.2642 - break;;
13.2643 - esac
13.2644 -done
13.2645 -else
13.2646 - echo "$as_me: failed program was:" >&5
13.2647 -sed 's/^/| /' conftest.$ac_ext >&5
13.2648 -
13.2649 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
13.2650 -See \`config.log' for more details." >&5
13.2651 -echo "$as_me: error: C compiler cannot create executables
13.2652 -See \`config.log' for more details." >&2;}
13.2653 - { (exit 77); exit 77; }; }
13.2654 -fi
13.2655 -
13.2656 -ac_exeext=$ac_cv_exeext
13.2657 -echo "$as_me:$LINENO: result: $ac_file" >&5
13.2658 -echo "${ECHO_T}$ac_file" >&6
13.2659 -
13.2660 -# Check the compiler produces executables we can run. If not, either
13.2661 -# the compiler is broken, or we cross compile.
13.2662 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13.2663 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
13.2664 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13.2665 -# If not cross compiling, check that we can run a simple program.
13.2666 -if test "$cross_compiling" != yes; then
13.2667 - if { ac_try='./$ac_file'
13.2668 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.2669 - (eval $ac_try) 2>&5
13.2670 - ac_status=$?
13.2671 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.2672 - (exit $ac_status); }; }; then
13.2673 - cross_compiling=no
13.2674 - else
13.2675 - if test "$cross_compiling" = maybe; then
13.2676 - cross_compiling=yes
13.2677 - else
13.2678 - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13.2679 -If you meant to cross compile, use \`--host'.
13.2680 -See \`config.log' for more details." >&5
13.2681 -echo "$as_me: error: cannot run C compiled programs.
13.2682 -If you meant to cross compile, use \`--host'.
13.2683 -See \`config.log' for more details." >&2;}
13.2684 - { (exit 1); exit 1; }; }
13.2685 - fi
13.2686 - fi
13.2687 -fi
13.2688 -echo "$as_me:$LINENO: result: yes" >&5
13.2689 -echo "${ECHO_T}yes" >&6
13.2690 -
13.2691 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
13.2692 -ac_clean_files=$ac_clean_files_save
13.2693 -# Check the compiler produces executables we can run. If not, either
13.2694 -# the compiler is broken, or we cross compile.
13.2695 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13.2696 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
13.2697 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
13.2698 -echo "${ECHO_T}$cross_compiling" >&6
13.2699 -
13.2700 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
13.2701 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
13.2702 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.2703 - (eval $ac_link) 2>&5
13.2704 - ac_status=$?
13.2705 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.2706 - (exit $ac_status); }; then
13.2707 - # If both `conftest.exe' and `conftest' are `present' (well, observable)
13.2708 -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13.2709 -# work properly (i.e., refer to `conftest.exe'), while it won't with
13.2710 -# `rm'.
13.2711 -for ac_file in conftest.exe conftest conftest.*; do
13.2712 - test -f "$ac_file" || continue
13.2713 - case $ac_file in
13.2714 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
13.2715 - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13.2716 - export ac_cv_exeext
13.2717 - break;;
13.2718 - * ) break;;
13.2719 - esac
13.2720 -done
13.2721 -else
13.2722 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13.2723 -See \`config.log' for more details." >&5
13.2724 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13.2725 -See \`config.log' for more details." >&2;}
13.2726 - { (exit 1); exit 1; }; }
13.2727 -fi
13.2728 -
13.2729 -rm -f conftest$ac_cv_exeext
13.2730 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13.2731 -echo "${ECHO_T}$ac_cv_exeext" >&6
13.2732 -
13.2733 -rm -f conftest.$ac_ext
13.2734 -EXEEXT=$ac_cv_exeext
13.2735 -ac_exeext=$EXEEXT
13.2736 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
13.2737 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
13.2738 -if test "${ac_cv_objext+set}" = set; then
13.2739 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.2740 -else
13.2741 - cat >conftest.$ac_ext <<_ACEOF
13.2742 -/* confdefs.h. */
13.2743 -_ACEOF
13.2744 -cat confdefs.h >>conftest.$ac_ext
13.2745 -cat >>conftest.$ac_ext <<_ACEOF
13.2746 -/* end confdefs.h. */
13.2747 -
13.2748 -int
13.2749 -main ()
13.2750 -{
13.2751 -
13.2752 - ;
13.2753 - return 0;
13.2754 -}
13.2755 -_ACEOF
13.2756 -rm -f conftest.o conftest.obj
13.2757 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.2758 - (eval $ac_compile) 2>&5
13.2759 - ac_status=$?
13.2760 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.2761 - (exit $ac_status); }; then
13.2762 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
13.2763 - case $ac_file in
13.2764 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
13.2765 - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13.2766 - break;;
13.2767 - esac
13.2768 -done
13.2769 -else
13.2770 - echo "$as_me: failed program was:" >&5
13.2771 -sed 's/^/| /' conftest.$ac_ext >&5
13.2772 -
13.2773 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13.2774 -See \`config.log' for more details." >&5
13.2775 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
13.2776 -See \`config.log' for more details." >&2;}
13.2777 - { (exit 1); exit 1; }; }
13.2778 -fi
13.2779 -
13.2780 -rm -f conftest.$ac_cv_objext conftest.$ac_ext
13.2781 -fi
13.2782 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13.2783 -echo "${ECHO_T}$ac_cv_objext" >&6
13.2784 -OBJEXT=$ac_cv_objext
13.2785 -ac_objext=$OBJEXT
13.2786 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13.2787 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
13.2788 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
13.2789 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.2790 -else
13.2791 - cat >conftest.$ac_ext <<_ACEOF
13.2792 -/* confdefs.h. */
13.2793 -_ACEOF
13.2794 -cat confdefs.h >>conftest.$ac_ext
13.2795 -cat >>conftest.$ac_ext <<_ACEOF
13.2796 -/* end confdefs.h. */
13.2797 -
13.2798 -int
13.2799 -main ()
13.2800 -{
13.2801 -#ifndef __GNUC__
13.2802 - choke me
13.2803 -#endif
13.2804 -
13.2805 - ;
13.2806 - return 0;
13.2807 -}
13.2808 -_ACEOF
13.2809 -rm -f conftest.$ac_objext
13.2810 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.2811 - (eval $ac_compile) 2>conftest.er1
13.2812 - ac_status=$?
13.2813 - grep -v '^ *+' conftest.er1 >conftest.err
13.2814 - rm -f conftest.er1
13.2815 - cat conftest.err >&5
13.2816 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.2817 - (exit $ac_status); } &&
13.2818 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.2819 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.2820 - (eval $ac_try) 2>&5
13.2821 - ac_status=$?
13.2822 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.2823 - (exit $ac_status); }; } &&
13.2824 - { ac_try='test -s conftest.$ac_objext'
13.2825 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.2826 - (eval $ac_try) 2>&5
13.2827 - ac_status=$?
13.2828 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.2829 - (exit $ac_status); }; }; then
13.2830 - ac_compiler_gnu=yes
13.2831 -else
13.2832 - echo "$as_me: failed program was:" >&5
13.2833 -sed 's/^/| /' conftest.$ac_ext >&5
13.2834 -
13.2835 -ac_compiler_gnu=no
13.2836 -fi
13.2837 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.2838 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
13.2839 -
13.2840 -fi
13.2841 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13.2842 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
13.2843 -GCC=`test $ac_compiler_gnu = yes && echo yes`
13.2844 -ac_test_CFLAGS=${CFLAGS+set}
13.2845 -ac_save_CFLAGS=$CFLAGS
13.2846 -CFLAGS="-g"
13.2847 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13.2848 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13.2849 -if test "${ac_cv_prog_cc_g+set}" = set; then
13.2850 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.2851 -else
13.2852 - cat >conftest.$ac_ext <<_ACEOF
13.2853 -/* confdefs.h. */
13.2854 -_ACEOF
13.2855 -cat confdefs.h >>conftest.$ac_ext
13.2856 -cat >>conftest.$ac_ext <<_ACEOF
13.2857 -/* end confdefs.h. */
13.2858 -
13.2859 -int
13.2860 -main ()
13.2861 -{
13.2862 -
13.2863 - ;
13.2864 - return 0;
13.2865 -}
13.2866 -_ACEOF
13.2867 -rm -f conftest.$ac_objext
13.2868 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.2869 - (eval $ac_compile) 2>conftest.er1
13.2870 - ac_status=$?
13.2871 - grep -v '^ *+' conftest.er1 >conftest.err
13.2872 - rm -f conftest.er1
13.2873 - cat conftest.err >&5
13.2874 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.2875 - (exit $ac_status); } &&
13.2876 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.2877 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.2878 - (eval $ac_try) 2>&5
13.2879 - ac_status=$?
13.2880 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.2881 - (exit $ac_status); }; } &&
13.2882 - { ac_try='test -s conftest.$ac_objext'
13.2883 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.2884 - (eval $ac_try) 2>&5
13.2885 - ac_status=$?
13.2886 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.2887 - (exit $ac_status); }; }; then
13.2888 - ac_cv_prog_cc_g=yes
13.2889 -else
13.2890 - echo "$as_me: failed program was:" >&5
13.2891 -sed 's/^/| /' conftest.$ac_ext >&5
13.2892 -
13.2893 -ac_cv_prog_cc_g=no
13.2894 -fi
13.2895 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.2896 -fi
13.2897 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13.2898 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13.2899 -if test "$ac_test_CFLAGS" = set; then
13.2900 - CFLAGS=$ac_save_CFLAGS
13.2901 -elif test $ac_cv_prog_cc_g = yes; then
13.2902 - if test "$GCC" = yes; then
13.2903 - CFLAGS="-g -O2"
13.2904 - else
13.2905 - CFLAGS="-g"
13.2906 - fi
13.2907 -else
13.2908 - if test "$GCC" = yes; then
13.2909 - CFLAGS="-O2"
13.2910 - else
13.2911 - CFLAGS=
13.2912 - fi
13.2913 -fi
13.2914 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
13.2915 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
13.2916 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
13.2917 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.2918 -else
13.2919 - ac_cv_prog_cc_stdc=no
13.2920 -ac_save_CC=$CC
13.2921 -cat >conftest.$ac_ext <<_ACEOF
13.2922 -/* confdefs.h. */
13.2923 -_ACEOF
13.2924 -cat confdefs.h >>conftest.$ac_ext
13.2925 -cat >>conftest.$ac_ext <<_ACEOF
13.2926 -/* end confdefs.h. */
13.2927 -#include <stdarg.h>
13.2928 -#include <stdio.h>
13.2929 -#include <sys/types.h>
13.2930 -#include <sys/stat.h>
13.2931 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13.2932 -struct buf { int x; };
13.2933 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
13.2934 -static char *e (p, i)
13.2935 - char **p;
13.2936 - int i;
13.2937 -{
13.2938 - return p[i];
13.2939 -}
13.2940 -static char *f (char * (*g) (char **, int), char **p, ...)
13.2941 -{
13.2942 - char *s;
13.2943 - va_list v;
13.2944 - va_start (v,p);
13.2945 - s = g (p, va_arg (v,int));
13.2946 - va_end (v);
13.2947 - return s;
13.2948 -}
13.2949 -
13.2950 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13.2951 - function prototypes and stuff, but not '\xHH' hex character constants.
13.2952 - These don't provoke an error unfortunately, instead are silently treated
13.2953 - as 'x'. The following induces an error, until -std1 is added to get
13.2954 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13.2955 - array size at least. It's necessary to write '\x00'==0 to get something
13.2956 - that's true only with -std1. */
13.2957 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13.2958 -
13.2959 -int test (int i, double x);
13.2960 -struct s1 {int (*f) (int a);};
13.2961 -struct s2 {int (*f) (double a);};
13.2962 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13.2963 -int argc;
13.2964 -char **argv;
13.2965 -int
13.2966 -main ()
13.2967 -{
13.2968 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13.2969 - ;
13.2970 - return 0;
13.2971 -}
13.2972 -_ACEOF
13.2973 -# Don't try gcc -ansi; that turns off useful extensions and
13.2974 -# breaks some systems' header files.
13.2975 -# AIX -qlanglvl=ansi
13.2976 -# Ultrix and OSF/1 -std1
13.2977 -# HP-UX 10.20 and later -Ae
13.2978 -# HP-UX older versions -Aa -D_HPUX_SOURCE
13.2979 -# SVR4 -Xc -D__EXTENSIONS__
13.2980 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13.2981 -do
13.2982 - CC="$ac_save_CC $ac_arg"
13.2983 - rm -f conftest.$ac_objext
13.2984 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.2985 - (eval $ac_compile) 2>conftest.er1
13.2986 - ac_status=$?
13.2987 - grep -v '^ *+' conftest.er1 >conftest.err
13.2988 - rm -f conftest.er1
13.2989 - cat conftest.err >&5
13.2990 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.2991 - (exit $ac_status); } &&
13.2992 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.2993 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.2994 - (eval $ac_try) 2>&5
13.2995 - ac_status=$?
13.2996 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.2997 - (exit $ac_status); }; } &&
13.2998 - { ac_try='test -s conftest.$ac_objext'
13.2999 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.3000 - (eval $ac_try) 2>&5
13.3001 - ac_status=$?
13.3002 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.3003 - (exit $ac_status); }; }; then
13.3004 - ac_cv_prog_cc_stdc=$ac_arg
13.3005 -break
13.3006 -else
13.3007 - echo "$as_me: failed program was:" >&5
13.3008 -sed 's/^/| /' conftest.$ac_ext >&5
13.3009 -
13.3010 -fi
13.3011 -rm -f conftest.err conftest.$ac_objext
13.3012 -done
13.3013 -rm -f conftest.$ac_ext conftest.$ac_objext
13.3014 -CC=$ac_save_CC
13.3015 -
13.3016 -fi
13.3017 -
13.3018 -case "x$ac_cv_prog_cc_stdc" in
13.3019 - x|xno)
13.3020 - echo "$as_me:$LINENO: result: none needed" >&5
13.3021 -echo "${ECHO_T}none needed" >&6 ;;
13.3022 - *)
13.3023 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
13.3024 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
13.3025 - CC="$CC $ac_cv_prog_cc_stdc" ;;
13.3026 -esac
13.3027 -
13.3028 -# Some people use a C++ compiler to compile C. Since we use `exit',
13.3029 -# in C++ we need to declare it. In case someone uses the same compiler
13.3030 -# for both compiling C and C++ we need to have the C++ compiler decide
13.3031 -# the declaration of exit, since it's the most demanding environment.
13.3032 -cat >conftest.$ac_ext <<_ACEOF
13.3033 -#ifndef __cplusplus
13.3034 - choke me
13.3035 -#endif
13.3036 -_ACEOF
13.3037 -rm -f conftest.$ac_objext
13.3038 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.3039 - (eval $ac_compile) 2>conftest.er1
13.3040 - ac_status=$?
13.3041 - grep -v '^ *+' conftest.er1 >conftest.err
13.3042 - rm -f conftest.er1
13.3043 - cat conftest.err >&5
13.3044 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.3045 - (exit $ac_status); } &&
13.3046 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.3047 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.3048 - (eval $ac_try) 2>&5
13.3049 - ac_status=$?
13.3050 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.3051 - (exit $ac_status); }; } &&
13.3052 - { ac_try='test -s conftest.$ac_objext'
13.3053 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.3054 - (eval $ac_try) 2>&5
13.3055 - ac_status=$?
13.3056 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.3057 - (exit $ac_status); }; }; then
13.3058 - for ac_declaration in \
13.3059 - '' \
13.3060 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
13.3061 - 'extern "C" void std::exit (int); using std::exit;' \
13.3062 - 'extern "C" void exit (int) throw ();' \
13.3063 - 'extern "C" void exit (int);' \
13.3064 - 'void exit (int);'
13.3065 -do
13.3066 - cat >conftest.$ac_ext <<_ACEOF
13.3067 -/* confdefs.h. */
13.3068 -_ACEOF
13.3069 -cat confdefs.h >>conftest.$ac_ext
13.3070 -cat >>conftest.$ac_ext <<_ACEOF
13.3071 -/* end confdefs.h. */
13.3072 -$ac_declaration
13.3073 -#include <stdlib.h>
13.3074 -int
13.3075 -main ()
13.3076 -{
13.3077 -exit (42);
13.3078 - ;
13.3079 - return 0;
13.3080 -}
13.3081 -_ACEOF
13.3082 -rm -f conftest.$ac_objext
13.3083 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.3084 - (eval $ac_compile) 2>conftest.er1
13.3085 - ac_status=$?
13.3086 - grep -v '^ *+' conftest.er1 >conftest.err
13.3087 - rm -f conftest.er1
13.3088 - cat conftest.err >&5
13.3089 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.3090 - (exit $ac_status); } &&
13.3091 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.3092 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.3093 - (eval $ac_try) 2>&5
13.3094 - ac_status=$?
13.3095 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.3096 - (exit $ac_status); }; } &&
13.3097 - { ac_try='test -s conftest.$ac_objext'
13.3098 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.3099 - (eval $ac_try) 2>&5
13.3100 - ac_status=$?
13.3101 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.3102 - (exit $ac_status); }; }; then
13.3103 - :
13.3104 -else
13.3105 - echo "$as_me: failed program was:" >&5
13.3106 -sed 's/^/| /' conftest.$ac_ext >&5
13.3107 -
13.3108 -continue
13.3109 -fi
13.3110 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.3111 - cat >conftest.$ac_ext <<_ACEOF
13.3112 -/* confdefs.h. */
13.3113 -_ACEOF
13.3114 -cat confdefs.h >>conftest.$ac_ext
13.3115 -cat >>conftest.$ac_ext <<_ACEOF
13.3116 -/* end confdefs.h. */
13.3117 -$ac_declaration
13.3118 -int
13.3119 -main ()
13.3120 -{
13.3121 -exit (42);
13.3122 - ;
13.3123 - return 0;
13.3124 -}
13.3125 -_ACEOF
13.3126 -rm -f conftest.$ac_objext
13.3127 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.3128 - (eval $ac_compile) 2>conftest.er1
13.3129 - ac_status=$?
13.3130 - grep -v '^ *+' conftest.er1 >conftest.err
13.3131 - rm -f conftest.er1
13.3132 - cat conftest.err >&5
13.3133 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.3134 - (exit $ac_status); } &&
13.3135 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.3136 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.3137 - (eval $ac_try) 2>&5
13.3138 - ac_status=$?
13.3139 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.3140 - (exit $ac_status); }; } &&
13.3141 - { ac_try='test -s conftest.$ac_objext'
13.3142 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.3143 - (eval $ac_try) 2>&5
13.3144 - ac_status=$?
13.3145 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.3146 - (exit $ac_status); }; }; then
13.3147 - break
13.3148 -else
13.3149 - echo "$as_me: failed program was:" >&5
13.3150 -sed 's/^/| /' conftest.$ac_ext >&5
13.3151 -
13.3152 -fi
13.3153 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.3154 -done
13.3155 -rm -f conftest*
13.3156 -if test -n "$ac_declaration"; then
13.3157 - echo '#ifdef __cplusplus' >>confdefs.h
13.3158 - echo $ac_declaration >>confdefs.h
13.3159 - echo '#endif' >>confdefs.h
13.3160 -fi
13.3161 -
13.3162 -else
13.3163 - echo "$as_me: failed program was:" >&5
13.3164 -sed 's/^/| /' conftest.$ac_ext >&5
13.3165 -
13.3166 -fi
13.3167 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.3168 -ac_ext=c
13.3169 -ac_cpp='$CPP $CPPFLAGS'
13.3170 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.3171 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.3172 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.3173 -
13.3174 -depcc="$CC" am_compiler_list=
13.3175 -
13.3176 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13.3177 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
13.3178 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
13.3179 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.3180 -else
13.3181 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13.3182 - # We make a subdir and do the tests there. Otherwise we can end up
13.3183 - # making bogus files that we don't know about and never remove. For
13.3184 - # instance it was reported that on HP-UX the gcc test will end up
13.3185 - # making a dummy file named `D' -- because `-MD' means `put the output
13.3186 - # in D'.
13.3187 - mkdir conftest.dir
13.3188 - # Copy depcomp to subdir because otherwise we won't find it if we're
13.3189 - # using a relative directory.
13.3190 - cp "$am_depcomp" conftest.dir
13.3191 - cd conftest.dir
13.3192 - # We will build objects and dependencies in a subdirectory because
13.3193 - # it helps to detect inapplicable dependency modes. For instance
13.3194 - # both Tru64's cc and ICC support -MD to output dependencies as a
13.3195 - # side effect of compilation, but ICC will put the dependencies in
13.3196 - # the current directory while Tru64 will put them in the object
13.3197 - # directory.
13.3198 - mkdir sub
13.3199 -
13.3200 - am_cv_CC_dependencies_compiler_type=none
13.3201 - if test "$am_compiler_list" = ""; then
13.3202 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13.3203 - fi
13.3204 - for depmode in $am_compiler_list; do
13.3205 - # Setup a source with many dependencies, because some compilers
13.3206 - # like to wrap large dependency lists on column 80 (with \), and
13.3207 - # we should not choose a depcomp mode which is confused by this.
13.3208 - #
13.3209 - # We need to recreate these files for each test, as the compiler may
13.3210 - # overwrite some of them when testing with obscure command lines.
13.3211 - # This happens at least with the AIX C compiler.
13.3212 - : > sub/conftest.c
13.3213 - for i in 1 2 3 4 5 6; do
13.3214 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
13.3215 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13.3216 - # Solaris 8's {/usr,}/bin/sh.
13.3217 - touch sub/conftst$i.h
13.3218 - done
13.3219 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13.3220 -
13.3221 - case $depmode in
13.3222 - nosideeffect)
13.3223 - # after this tag, mechanisms are not by side-effect, so they'll
13.3224 - # only be used when explicitly requested
13.3225 - if test "x$enable_dependency_tracking" = xyes; then
13.3226 - continue
13.3227 - else
13.3228 - break
13.3229 - fi
13.3230 - ;;
13.3231 - none) break ;;
13.3232 - esac
13.3233 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
13.3234 - # mode. It turns out that the SunPro C++ compiler does not properly
13.3235 - # handle `-M -o', and we need to detect this.
13.3236 - if depmode=$depmode \
13.3237 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
13.3238 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13.3239 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
13.3240 - >/dev/null 2>conftest.err &&
13.3241 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13.3242 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
13.3243 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13.3244 - # icc doesn't choke on unknown options, it will just issue warnings
13.3245 - # or remarks (even with -Werror). So we grep stderr for any message
13.3246 - # that says an option was ignored or not supported.
13.3247 - # When given -MP, icc 7.0 and 7.1 complain thusly:
13.3248 - # icc: Command line warning: ignoring option '-M'; no argument required
13.3249 - # The diagnosis changed in icc 8.0:
13.3250 - # icc: Command line remark: option '-MP' not supported
13.3251 - if (grep 'ignoring option' conftest.err ||
13.3252 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13.3253 - am_cv_CC_dependencies_compiler_type=$depmode
13.3254 - break
13.3255 - fi
13.3256 - fi
13.3257 - done
13.3258 -
13.3259 - cd ..
13.3260 - rm -rf conftest.dir
13.3261 -else
13.3262 - am_cv_CC_dependencies_compiler_type=none
13.3263 -fi
13.3264 -
13.3265 -fi
13.3266 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
13.3267 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
13.3268 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13.3269 -
13.3270 -
13.3271 -
13.3272 -if
13.3273 - test "x$enable_dependency_tracking" != xno \
13.3274 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13.3275 - am__fastdepCC_TRUE=
13.3276 - am__fastdepCC_FALSE='#'
13.3277 -else
13.3278 - am__fastdepCC_TRUE='#'
13.3279 - am__fastdepCC_FALSE=
13.3280 -fi
13.3281 -
13.3282 -
13.3283 -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
13.3284 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
13.3285 -if test "${lt_cv_path_SED+set}" = set; then
13.3286 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.3287 -else
13.3288 - # Loop through the user's path and test for sed and gsed.
13.3289 -# Then use that list of sed's as ones to test for truncation.
13.3290 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.3291 -for as_dir in $PATH
13.3292 -do
13.3293 - IFS=$as_save_IFS
13.3294 - test -z "$as_dir" && as_dir=.
13.3295 - for lt_ac_prog in sed gsed; do
13.3296 - for ac_exec_ext in '' $ac_executable_extensions; do
13.3297 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
13.3298 - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
13.3299 - fi
13.3300 - done
13.3301 - done
13.3302 -done
13.3303 -lt_ac_max=0
13.3304 -lt_ac_count=0
13.3305 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
13.3306 -# along with /bin/sed that truncates output.
13.3307 -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
13.3308 - test ! -f $lt_ac_sed && continue
13.3309 - cat /dev/null > conftest.in
13.3310 - lt_ac_count=0
13.3311 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
13.3312 - # Check for GNU sed and select it if it is found.
13.3313 - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
13.3314 - lt_cv_path_SED=$lt_ac_sed
13.3315 - break
13.3316 - fi
13.3317 - while true; do
13.3318 - cat conftest.in conftest.in >conftest.tmp
13.3319 - mv conftest.tmp conftest.in
13.3320 - cp conftest.in conftest.nl
13.3321 - echo >>conftest.nl
13.3322 - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
13.3323 - cmp -s conftest.out conftest.nl || break
13.3324 - # 10000 chars as input seems more than enough
13.3325 - test $lt_ac_count -gt 10 && break
13.3326 - lt_ac_count=`expr $lt_ac_count + 1`
13.3327 - if test $lt_ac_count -gt $lt_ac_max; then
13.3328 - lt_ac_max=$lt_ac_count
13.3329 - lt_cv_path_SED=$lt_ac_sed
13.3330 - fi
13.3331 - done
13.3332 -done
13.3333 -
13.3334 -fi
13.3335 -
13.3336 -SED=$lt_cv_path_SED
13.3337 -echo "$as_me:$LINENO: result: $SED" >&5
13.3338 -echo "${ECHO_T}$SED" >&6
13.3339 -
13.3340 -echo "$as_me:$LINENO: checking for egrep" >&5
13.3341 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13.3342 -if test "${ac_cv_prog_egrep+set}" = set; then
13.3343 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.3344 -else
13.3345 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13.3346 - then ac_cv_prog_egrep='grep -E'
13.3347 - else ac_cv_prog_egrep='egrep'
13.3348 - fi
13.3349 -fi
13.3350 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13.3351 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13.3352 - EGREP=$ac_cv_prog_egrep
13.3353 -
13.3354 -
13.3355 -
13.3356 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
13.3357 -if test "${with_gnu_ld+set}" = set; then
13.3358 - withval="$with_gnu_ld"
13.3359 - test "$withval" = no || with_gnu_ld=yes
13.3360 -else
13.3361 - with_gnu_ld=no
13.3362 -fi;
13.3363 -ac_prog=ld
13.3364 -if test "$GCC" = yes; then
13.3365 - # Check if gcc -print-prog-name=ld gives a path.
13.3366 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13.3367 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
13.3368 - case $host in
13.3369 - *-*-mingw*)
13.3370 - # gcc leaves a trailing carriage return which upsets mingw
13.3371 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13.3372 - *)
13.3373 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13.3374 - esac
13.3375 - case $ac_prog in
13.3376 - # Accept absolute paths.
13.3377 - [\\/]* | ?:[\\/]*)
13.3378 - re_direlt='/[^/][^/]*/\.\./'
13.3379 - # Canonicalize the pathname of ld
13.3380 - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
13.3381 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13.3382 - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
13.3383 - done
13.3384 - test -z "$LD" && LD="$ac_prog"
13.3385 - ;;
13.3386 - "")
13.3387 - # If it fails, then pretend we aren't using GCC.
13.3388 - ac_prog=ld
13.3389 - ;;
13.3390 - *)
13.3391 - # If it is relative, then search for the first ld in PATH.
13.3392 - with_gnu_ld=unknown
13.3393 - ;;
13.3394 - esac
13.3395 -elif test "$with_gnu_ld" = yes; then
13.3396 - echo "$as_me:$LINENO: checking for GNU ld" >&5
13.3397 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
13.3398 -else
13.3399 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13.3400 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
13.3401 -fi
13.3402 -if test "${lt_cv_path_LD+set}" = set; then
13.3403 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.3404 -else
13.3405 - if test -z "$LD"; then
13.3406 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13.3407 - for ac_dir in $PATH; do
13.3408 - IFS="$lt_save_ifs"
13.3409 - test -z "$ac_dir" && ac_dir=.
13.3410 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13.3411 - lt_cv_path_LD="$ac_dir/$ac_prog"
13.3412 - # Check to see if the program is GNU ld. I'd rather use --version,
13.3413 - # but apparently some variants of GNU ld only accept -v.
13.3414 - # Break only if it was the GNU/non-GNU ld that we prefer.
13.3415 - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13.3416 - *GNU* | *'with BFD'*)
13.3417 - test "$with_gnu_ld" != no && break
13.3418 - ;;
13.3419 - *)
13.3420 - test "$with_gnu_ld" != yes && break
13.3421 - ;;
13.3422 - esac
13.3423 - fi
13.3424 - done
13.3425 - IFS="$lt_save_ifs"
13.3426 -else
13.3427 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
13.3428 -fi
13.3429 -fi
13.3430 -
13.3431 -LD="$lt_cv_path_LD"
13.3432 -if test -n "$LD"; then
13.3433 - echo "$as_me:$LINENO: result: $LD" >&5
13.3434 -echo "${ECHO_T}$LD" >&6
13.3435 -else
13.3436 - echo "$as_me:$LINENO: result: no" >&5
13.3437 -echo "${ECHO_T}no" >&6
13.3438 -fi
13.3439 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13.3440 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13.3441 - { (exit 1); exit 1; }; }
13.3442 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13.3443 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
13.3444 -if test "${lt_cv_prog_gnu_ld+set}" = set; then
13.3445 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.3446 -else
13.3447 - # I'd rather use --version here, but apparently some GNU lds only accept -v.
13.3448 -case `$LD -v 2>&1 </dev/null` in
13.3449 -*GNU* | *'with BFD'*)
13.3450 - lt_cv_prog_gnu_ld=yes
13.3451 - ;;
13.3452 -*)
13.3453 - lt_cv_prog_gnu_ld=no
13.3454 - ;;
13.3455 -esac
13.3456 -fi
13.3457 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13.3458 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
13.3459 -with_gnu_ld=$lt_cv_prog_gnu_ld
13.3460 -
13.3461 -
13.3462 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
13.3463 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
13.3464 -if test "${lt_cv_ld_reload_flag+set}" = set; then
13.3465 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.3466 -else
13.3467 - lt_cv_ld_reload_flag='-r'
13.3468 -fi
13.3469 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
13.3470 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
13.3471 -reload_flag=$lt_cv_ld_reload_flag
13.3472 -case $reload_flag in
13.3473 -"" | " "*) ;;
13.3474 -*) reload_flag=" $reload_flag" ;;
13.3475 -esac
13.3476 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
13.3477 -case $host_os in
13.3478 - darwin*)
13.3479 - if test "$GCC" = yes; then
13.3480 - reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
13.3481 - else
13.3482 - reload_cmds='$LD$reload_flag -o $output$reload_objs'
13.3483 - fi
13.3484 - ;;
13.3485 -esac
13.3486 -
13.3487 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
13.3488 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
13.3489 -if test "${lt_cv_path_NM+set}" = set; then
13.3490 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.3491 -else
13.3492 - if test -n "$NM"; then
13.3493 - # Let the user override the test.
13.3494 - lt_cv_path_NM="$NM"
13.3495 -else
13.3496 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13.3497 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
13.3498 - IFS="$lt_save_ifs"
13.3499 - test -z "$ac_dir" && ac_dir=.
13.3500 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
13.3501 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
13.3502 - # Check to see if the nm accepts a BSD-compat flag.
13.3503 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
13.3504 - # nm: unknown option "B" ignored
13.3505 - # Tru64's nm complains that /dev/null is an invalid object file
13.3506 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
13.3507 - */dev/null* | *'Invalid file or object type'*)
13.3508 - lt_cv_path_NM="$tmp_nm -B"
13.3509 - break
13.3510 - ;;
13.3511 - *)
13.3512 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
13.3513 - */dev/null*)
13.3514 - lt_cv_path_NM="$tmp_nm -p"
13.3515 - break
13.3516 - ;;
13.3517 - *)
13.3518 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
13.3519 - continue # so that we can try to find one that supports BSD flags
13.3520 - ;;
13.3521 - esac
13.3522 - esac
13.3523 - fi
13.3524 - done
13.3525 - IFS="$lt_save_ifs"
13.3526 - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
13.3527 -fi
13.3528 -fi
13.3529 -echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
13.3530 -echo "${ECHO_T}$lt_cv_path_NM" >&6
13.3531 -NM="$lt_cv_path_NM"
13.3532 -
13.3533 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
13.3534 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13.3535 -LN_S=$as_ln_s
13.3536 -if test "$LN_S" = "ln -s"; then
13.3537 - echo "$as_me:$LINENO: result: yes" >&5
13.3538 -echo "${ECHO_T}yes" >&6
13.3539 -else
13.3540 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13.3541 -echo "${ECHO_T}no, using $LN_S" >&6
13.3542 -fi
13.3543 -
13.3544 -echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
13.3545 -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
13.3546 -if test "${lt_cv_deplibs_check_method+set}" = set; then
13.3547 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.3548 -else
13.3549 - lt_cv_file_magic_cmd='$MAGIC_CMD'
13.3550 -lt_cv_file_magic_test_file=
13.3551 -lt_cv_deplibs_check_method='unknown'
13.3552 -# Need to set the preceding variable on all platforms that support
13.3553 -# interlibrary dependencies.
13.3554 -# 'none' -- dependencies not supported.
13.3555 -# `unknown' -- same as none, but documents that we really don't know.
13.3556 -# 'pass_all' -- all dependencies passed with no checks.
13.3557 -# 'test_compile' -- check by making test program.
13.3558 -# 'file_magic [[regex]]' -- check by looking for files in library path
13.3559 -# which responds to the $file_magic_cmd with a given extended regex.
13.3560 -# If you have `file' or equivalent on your system and you're not sure
13.3561 -# whether `pass_all' will *always* work, you probably want this one.
13.3562 -
13.3563 -case $host_os in
13.3564 -aix4* | aix5*)
13.3565 - lt_cv_deplibs_check_method=pass_all
13.3566 - ;;
13.3567 -
13.3568 -beos*)
13.3569 - lt_cv_deplibs_check_method=pass_all
13.3570 - ;;
13.3571 -
13.3572 -bsdi[45]*)
13.3573 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
13.3574 - lt_cv_file_magic_cmd='/usr/bin/file -L'
13.3575 - lt_cv_file_magic_test_file=/shlib/libc.so
13.3576 - ;;
13.3577 -
13.3578 -cygwin*)
13.3579 - # func_win32_libid is a shell function defined in ltmain.sh
13.3580 - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
13.3581 - lt_cv_file_magic_cmd='func_win32_libid'
13.3582 - ;;
13.3583 -
13.3584 -mingw* | pw32*)
13.3585 - # Base MSYS/MinGW do not provide the 'file' command needed by
13.3586 - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
13.3587 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
13.3588 - lt_cv_file_magic_cmd='$OBJDUMP -f'
13.3589 - ;;
13.3590 -
13.3591 -darwin* | rhapsody*)
13.3592 - lt_cv_deplibs_check_method=pass_all
13.3593 - ;;
13.3594 -
13.3595 -freebsd* | kfreebsd*-gnu | dragonfly*)
13.3596 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
13.3597 - case $host_cpu in
13.3598 - i*86 )
13.3599 - # Not sure whether the presence of OpenBSD here was a mistake.
13.3600 - # Let's accept both of them until this is cleared up.
13.3601 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
13.3602 - lt_cv_file_magic_cmd=/usr/bin/file
13.3603 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
13.3604 - ;;
13.3605 - esac
13.3606 - else
13.3607 - lt_cv_deplibs_check_method=pass_all
13.3608 - fi
13.3609 - ;;
13.3610 -
13.3611 -gnu*)
13.3612 - lt_cv_deplibs_check_method=pass_all
13.3613 - ;;
13.3614 -
13.3615 -hpux10.20* | hpux11*)
13.3616 - lt_cv_file_magic_cmd=/usr/bin/file
13.3617 - case $host_cpu in
13.3618 - ia64*)
13.3619 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
13.3620 - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
13.3621 - ;;
13.3622 - hppa*64*)
13.3623 - 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]'
13.3624 - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
13.3625 - ;;
13.3626 - *)
13.3627 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
13.3628 - lt_cv_file_magic_test_file=/usr/lib/libc.sl
13.3629 - ;;
13.3630 - esac
13.3631 - ;;
13.3632 -
13.3633 -irix5* | irix6* | nonstopux*)
13.3634 - case $LD in
13.3635 - *-32|*"-32 ") libmagic=32-bit;;
13.3636 - *-n32|*"-n32 ") libmagic=N32;;
13.3637 - *-64|*"-64 ") libmagic=64-bit;;
13.3638 - *) libmagic=never-match;;
13.3639 - esac
13.3640 - lt_cv_deplibs_check_method=pass_all
13.3641 - ;;
13.3642 -
13.3643 -# This must be Linux ELF.
13.3644 -linux*)
13.3645 - lt_cv_deplibs_check_method=pass_all
13.3646 - ;;
13.3647 -
13.3648 -netbsd*)
13.3649 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
13.3650 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
13.3651 - else
13.3652 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
13.3653 - fi
13.3654 - ;;
13.3655 -
13.3656 -newos6*)
13.3657 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
13.3658 - lt_cv_file_magic_cmd=/usr/bin/file
13.3659 - lt_cv_file_magic_test_file=/usr/lib/libnls.so
13.3660 - ;;
13.3661 -
13.3662 -nto-qnx*)
13.3663 - lt_cv_deplibs_check_method=unknown
13.3664 - ;;
13.3665 -
13.3666 -openbsd*)
13.3667 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13.3668 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
13.3669 - else
13.3670 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
13.3671 - fi
13.3672 - ;;
13.3673 -
13.3674 -osf3* | osf4* | osf5*)
13.3675 - lt_cv_deplibs_check_method=pass_all
13.3676 - ;;
13.3677 -
13.3678 -sco3.2v5*)
13.3679 - lt_cv_deplibs_check_method=pass_all
13.3680 - ;;
13.3681 -
13.3682 -solaris*)
13.3683 - lt_cv_deplibs_check_method=pass_all
13.3684 - ;;
13.3685 -
13.3686 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13.3687 - case $host_vendor in
13.3688 - motorola)
13.3689 - 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]'
13.3690 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
13.3691 - ;;
13.3692 - ncr)
13.3693 - lt_cv_deplibs_check_method=pass_all
13.3694 - ;;
13.3695 - sequent)
13.3696 - lt_cv_file_magic_cmd='/bin/file'
13.3697 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
13.3698 - ;;
13.3699 - sni)
13.3700 - lt_cv_file_magic_cmd='/bin/file'
13.3701 - lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
13.3702 - lt_cv_file_magic_test_file=/lib/libc.so
13.3703 - ;;
13.3704 - siemens)
13.3705 - lt_cv_deplibs_check_method=pass_all
13.3706 - ;;
13.3707 - esac
13.3708 - ;;
13.3709 -
13.3710 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
13.3711 - lt_cv_deplibs_check_method=pass_all
13.3712 - ;;
13.3713 -esac
13.3714 -
13.3715 -fi
13.3716 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
13.3717 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
13.3718 -file_magic_cmd=$lt_cv_file_magic_cmd
13.3719 -deplibs_check_method=$lt_cv_deplibs_check_method
13.3720 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
13.3721 -
13.3722 -
13.3723 -
13.3724 -
13.3725 -# If no C compiler was specified, use CC.
13.3726 -LTCC=${LTCC-"$CC"}
13.3727 -
13.3728 -# Allow CC to be a program name with arguments.
13.3729 -compiler=$CC
13.3730 -
13.3731 -
13.3732 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
13.3733 -if test "${enable_libtool_lock+set}" = set; then
13.3734 - enableval="$enable_libtool_lock"
13.3735 -
13.3736 -fi;
13.3737 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
13.3738 -
13.3739 -# Some flags need to be propagated to the compiler or linker for good
13.3740 -# libtool support.
13.3741 -case $host in
13.3742 -ia64-*-hpux*)
13.3743 - # Find out which ABI we are using.
13.3744 - echo 'int i;' > conftest.$ac_ext
13.3745 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.3746 - (eval $ac_compile) 2>&5
13.3747 - ac_status=$?
13.3748 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.3749 - (exit $ac_status); }; then
13.3750 - case `/usr/bin/file conftest.$ac_objext` in
13.3751 - *ELF-32*)
13.3752 - HPUX_IA64_MODE="32"
13.3753 - ;;
13.3754 - *ELF-64*)
13.3755 - HPUX_IA64_MODE="64"
13.3756 - ;;
13.3757 - esac
13.3758 - fi
13.3759 - rm -rf conftest*
13.3760 - ;;
13.3761 -*-*-irix6*)
13.3762 - # Find out which ABI we are using.
13.3763 - echo '#line 3760 "configure"' > conftest.$ac_ext
13.3764 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.3765 - (eval $ac_compile) 2>&5
13.3766 - ac_status=$?
13.3767 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.3768 - (exit $ac_status); }; then
13.3769 - if test "$lt_cv_prog_gnu_ld" = yes; then
13.3770 - case `/usr/bin/file conftest.$ac_objext` in
13.3771 - *32-bit*)
13.3772 - LD="${LD-ld} -melf32bsmip"
13.3773 - ;;
13.3774 - *N32*)
13.3775 - LD="${LD-ld} -melf32bmipn32"
13.3776 - ;;
13.3777 - *64-bit*)
13.3778 - LD="${LD-ld} -melf64bmip"
13.3779 - ;;
13.3780 - esac
13.3781 - else
13.3782 - case `/usr/bin/file conftest.$ac_objext` in
13.3783 - *32-bit*)
13.3784 - LD="${LD-ld} -32"
13.3785 - ;;
13.3786 - *N32*)
13.3787 - LD="${LD-ld} -n32"
13.3788 - ;;
13.3789 - *64-bit*)
13.3790 - LD="${LD-ld} -64"
13.3791 - ;;
13.3792 - esac
13.3793 - fi
13.3794 - fi
13.3795 - rm -rf conftest*
13.3796 - ;;
13.3797 -
13.3798 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
13.3799 - # Find out which ABI we are using.
13.3800 - echo 'int i;' > conftest.$ac_ext
13.3801 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.3802 - (eval $ac_compile) 2>&5
13.3803 - ac_status=$?
13.3804 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.3805 - (exit $ac_status); }; then
13.3806 - case `/usr/bin/file conftest.o` in
13.3807 - *32-bit*)
13.3808 - case $host in
13.3809 - x86_64-*linux*)
13.3810 - LD="${LD-ld} -m elf_i386"
13.3811 - ;;
13.3812 - ppc64-*linux*|powerpc64-*linux*)
13.3813 - LD="${LD-ld} -m elf32ppclinux"
13.3814 - ;;
13.3815 - s390x-*linux*)
13.3816 - LD="${LD-ld} -m elf_s390"
13.3817 - ;;
13.3818 - sparc64-*linux*)
13.3819 - LD="${LD-ld} -m elf32_sparc"
13.3820 - ;;
13.3821 - esac
13.3822 - ;;
13.3823 - *64-bit*)
13.3824 - case $host in
13.3825 - x86_64-*linux*)
13.3826 - LD="${LD-ld} -m elf_x86_64"
13.3827 - ;;
13.3828 - ppc*-*linux*|powerpc*-*linux*)
13.3829 - LD="${LD-ld} -m elf64ppc"
13.3830 - ;;
13.3831 - s390*-*linux*)
13.3832 - LD="${LD-ld} -m elf64_s390"
13.3833 - ;;
13.3834 - sparc*-*linux*)
13.3835 - LD="${LD-ld} -m elf64_sparc"
13.3836 - ;;
13.3837 - esac
13.3838 - ;;
13.3839 - esac
13.3840 - fi
13.3841 - rm -rf conftest*
13.3842 - ;;
13.3843 -
13.3844 -*-*-sco3.2v5*)
13.3845 - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
13.3846 - SAVE_CFLAGS="$CFLAGS"
13.3847 - CFLAGS="$CFLAGS -belf"
13.3848 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
13.3849 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
13.3850 -if test "${lt_cv_cc_needs_belf+set}" = set; then
13.3851 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.3852 -else
13.3853 - ac_ext=c
13.3854 -ac_cpp='$CPP $CPPFLAGS'
13.3855 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.3856 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.3857 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.3858 -
13.3859 - cat >conftest.$ac_ext <<_ACEOF
13.3860 -/* confdefs.h. */
13.3861 -_ACEOF
13.3862 -cat confdefs.h >>conftest.$ac_ext
13.3863 -cat >>conftest.$ac_ext <<_ACEOF
13.3864 -/* end confdefs.h. */
13.3865 -
13.3866 -int
13.3867 -main ()
13.3868 -{
13.3869 -
13.3870 - ;
13.3871 - return 0;
13.3872 -}
13.3873 -_ACEOF
13.3874 -rm -f conftest.$ac_objext conftest$ac_exeext
13.3875 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.3876 - (eval $ac_link) 2>conftest.er1
13.3877 - ac_status=$?
13.3878 - grep -v '^ *+' conftest.er1 >conftest.err
13.3879 - rm -f conftest.er1
13.3880 - cat conftest.err >&5
13.3881 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.3882 - (exit $ac_status); } &&
13.3883 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.3884 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.3885 - (eval $ac_try) 2>&5
13.3886 - ac_status=$?
13.3887 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.3888 - (exit $ac_status); }; } &&
13.3889 - { ac_try='test -s conftest$ac_exeext'
13.3890 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.3891 - (eval $ac_try) 2>&5
13.3892 - ac_status=$?
13.3893 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.3894 - (exit $ac_status); }; }; then
13.3895 - lt_cv_cc_needs_belf=yes
13.3896 -else
13.3897 - echo "$as_me: failed program was:" >&5
13.3898 -sed 's/^/| /' conftest.$ac_ext >&5
13.3899 -
13.3900 -lt_cv_cc_needs_belf=no
13.3901 -fi
13.3902 -rm -f conftest.err conftest.$ac_objext \
13.3903 - conftest$ac_exeext conftest.$ac_ext
13.3904 - ac_ext=c
13.3905 -ac_cpp='$CPP $CPPFLAGS'
13.3906 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.3907 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.3908 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.3909 -
13.3910 -fi
13.3911 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
13.3912 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
13.3913 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
13.3914 - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
13.3915 - CFLAGS="$SAVE_CFLAGS"
13.3916 - fi
13.3917 - ;;
13.3918 -
13.3919 -esac
13.3920 -
13.3921 -need_locks="$enable_libtool_lock"
13.3922 -
13.3923 -
13.3924 -ac_ext=c
13.3925 -ac_cpp='$CPP $CPPFLAGS'
13.3926 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.3927 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.3928 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.3929 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13.3930 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13.3931 -# On Suns, sometimes $CPP names a directory.
13.3932 -if test -n "$CPP" && test -d "$CPP"; then
13.3933 - CPP=
13.3934 -fi
13.3935 -if test -z "$CPP"; then
13.3936 - if test "${ac_cv_prog_CPP+set}" = set; then
13.3937 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.3938 -else
13.3939 - # Double quotes because CPP needs to be expanded
13.3940 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13.3941 - do
13.3942 - ac_preproc_ok=false
13.3943 -for ac_c_preproc_warn_flag in '' yes
13.3944 -do
13.3945 - # Use a header file that comes with gcc, so configuring glibc
13.3946 - # with a fresh cross-compiler works.
13.3947 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13.3948 - # <limits.h> exists even on freestanding compilers.
13.3949 - # On the NeXT, cc -E runs the code through the compiler's parser,
13.3950 - # not just through cpp. "Syntax error" is here to catch this case.
13.3951 - cat >conftest.$ac_ext <<_ACEOF
13.3952 -/* confdefs.h. */
13.3953 -_ACEOF
13.3954 -cat confdefs.h >>conftest.$ac_ext
13.3955 -cat >>conftest.$ac_ext <<_ACEOF
13.3956 -/* end confdefs.h. */
13.3957 -#ifdef __STDC__
13.3958 -# include <limits.h>
13.3959 -#else
13.3960 -# include <assert.h>
13.3961 -#endif
13.3962 - Syntax error
13.3963 -_ACEOF
13.3964 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13.3965 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13.3966 - ac_status=$?
13.3967 - grep -v '^ *+' conftest.er1 >conftest.err
13.3968 - rm -f conftest.er1
13.3969 - cat conftest.err >&5
13.3970 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.3971 - (exit $ac_status); } >/dev/null; then
13.3972 - if test -s conftest.err; then
13.3973 - ac_cpp_err=$ac_c_preproc_warn_flag
13.3974 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13.3975 - else
13.3976 - ac_cpp_err=
13.3977 - fi
13.3978 -else
13.3979 - ac_cpp_err=yes
13.3980 -fi
13.3981 -if test -z "$ac_cpp_err"; then
13.3982 - :
13.3983 -else
13.3984 - echo "$as_me: failed program was:" >&5
13.3985 -sed 's/^/| /' conftest.$ac_ext >&5
13.3986 -
13.3987 - # Broken: fails on valid input.
13.3988 -continue
13.3989 -fi
13.3990 -rm -f conftest.err conftest.$ac_ext
13.3991 -
13.3992 - # OK, works on sane cases. Now check whether non-existent headers
13.3993 - # can be detected and how.
13.3994 - cat >conftest.$ac_ext <<_ACEOF
13.3995 -/* confdefs.h. */
13.3996 -_ACEOF
13.3997 -cat confdefs.h >>conftest.$ac_ext
13.3998 -cat >>conftest.$ac_ext <<_ACEOF
13.3999 -/* end confdefs.h. */
13.4000 -#include <ac_nonexistent.h>
13.4001 -_ACEOF
13.4002 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13.4003 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13.4004 - ac_status=$?
13.4005 - grep -v '^ *+' conftest.er1 >conftest.err
13.4006 - rm -f conftest.er1
13.4007 - cat conftest.err >&5
13.4008 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4009 - (exit $ac_status); } >/dev/null; then
13.4010 - if test -s conftest.err; then
13.4011 - ac_cpp_err=$ac_c_preproc_warn_flag
13.4012 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13.4013 - else
13.4014 - ac_cpp_err=
13.4015 - fi
13.4016 -else
13.4017 - ac_cpp_err=yes
13.4018 -fi
13.4019 -if test -z "$ac_cpp_err"; then
13.4020 - # Broken: success on invalid input.
13.4021 -continue
13.4022 -else
13.4023 - echo "$as_me: failed program was:" >&5
13.4024 -sed 's/^/| /' conftest.$ac_ext >&5
13.4025 -
13.4026 - # Passes both tests.
13.4027 -ac_preproc_ok=:
13.4028 -break
13.4029 -fi
13.4030 -rm -f conftest.err conftest.$ac_ext
13.4031 -
13.4032 -done
13.4033 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13.4034 -rm -f conftest.err conftest.$ac_ext
13.4035 -if $ac_preproc_ok; then
13.4036 - break
13.4037 -fi
13.4038 -
13.4039 - done
13.4040 - ac_cv_prog_CPP=$CPP
13.4041 -
13.4042 -fi
13.4043 - CPP=$ac_cv_prog_CPP
13.4044 -else
13.4045 - ac_cv_prog_CPP=$CPP
13.4046 -fi
13.4047 -echo "$as_me:$LINENO: result: $CPP" >&5
13.4048 -echo "${ECHO_T}$CPP" >&6
13.4049 -ac_preproc_ok=false
13.4050 -for ac_c_preproc_warn_flag in '' yes
13.4051 -do
13.4052 - # Use a header file that comes with gcc, so configuring glibc
13.4053 - # with a fresh cross-compiler works.
13.4054 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13.4055 - # <limits.h> exists even on freestanding compilers.
13.4056 - # On the NeXT, cc -E runs the code through the compiler's parser,
13.4057 - # not just through cpp. "Syntax error" is here to catch this case.
13.4058 - cat >conftest.$ac_ext <<_ACEOF
13.4059 -/* confdefs.h. */
13.4060 -_ACEOF
13.4061 -cat confdefs.h >>conftest.$ac_ext
13.4062 -cat >>conftest.$ac_ext <<_ACEOF
13.4063 -/* end confdefs.h. */
13.4064 -#ifdef __STDC__
13.4065 -# include <limits.h>
13.4066 -#else
13.4067 -# include <assert.h>
13.4068 -#endif
13.4069 - Syntax error
13.4070 -_ACEOF
13.4071 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13.4072 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13.4073 - ac_status=$?
13.4074 - grep -v '^ *+' conftest.er1 >conftest.err
13.4075 - rm -f conftest.er1
13.4076 - cat conftest.err >&5
13.4077 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4078 - (exit $ac_status); } >/dev/null; then
13.4079 - if test -s conftest.err; then
13.4080 - ac_cpp_err=$ac_c_preproc_warn_flag
13.4081 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13.4082 - else
13.4083 - ac_cpp_err=
13.4084 - fi
13.4085 -else
13.4086 - ac_cpp_err=yes
13.4087 -fi
13.4088 -if test -z "$ac_cpp_err"; then
13.4089 - :
13.4090 -else
13.4091 - echo "$as_me: failed program was:" >&5
13.4092 -sed 's/^/| /' conftest.$ac_ext >&5
13.4093 -
13.4094 - # Broken: fails on valid input.
13.4095 -continue
13.4096 -fi
13.4097 -rm -f conftest.err conftest.$ac_ext
13.4098 -
13.4099 - # OK, works on sane cases. Now check whether non-existent headers
13.4100 - # can be detected and how.
13.4101 - cat >conftest.$ac_ext <<_ACEOF
13.4102 -/* confdefs.h. */
13.4103 -_ACEOF
13.4104 -cat confdefs.h >>conftest.$ac_ext
13.4105 -cat >>conftest.$ac_ext <<_ACEOF
13.4106 -/* end confdefs.h. */
13.4107 -#include <ac_nonexistent.h>
13.4108 -_ACEOF
13.4109 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13.4110 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13.4111 - ac_status=$?
13.4112 - grep -v '^ *+' conftest.er1 >conftest.err
13.4113 - rm -f conftest.er1
13.4114 - cat conftest.err >&5
13.4115 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4116 - (exit $ac_status); } >/dev/null; then
13.4117 - if test -s conftest.err; then
13.4118 - ac_cpp_err=$ac_c_preproc_warn_flag
13.4119 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13.4120 - else
13.4121 - ac_cpp_err=
13.4122 - fi
13.4123 -else
13.4124 - ac_cpp_err=yes
13.4125 -fi
13.4126 -if test -z "$ac_cpp_err"; then
13.4127 - # Broken: success on invalid input.
13.4128 -continue
13.4129 -else
13.4130 - echo "$as_me: failed program was:" >&5
13.4131 -sed 's/^/| /' conftest.$ac_ext >&5
13.4132 -
13.4133 - # Passes both tests.
13.4134 -ac_preproc_ok=:
13.4135 -break
13.4136 -fi
13.4137 -rm -f conftest.err conftest.$ac_ext
13.4138 -
13.4139 -done
13.4140 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13.4141 -rm -f conftest.err conftest.$ac_ext
13.4142 -if $ac_preproc_ok; then
13.4143 - :
13.4144 -else
13.4145 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13.4146 -See \`config.log' for more details." >&5
13.4147 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13.4148 -See \`config.log' for more details." >&2;}
13.4149 - { (exit 1); exit 1; }; }
13.4150 -fi
13.4151 -
13.4152 -ac_ext=c
13.4153 -ac_cpp='$CPP $CPPFLAGS'
13.4154 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.4155 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.4156 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.4157 -
13.4158 -
13.4159 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13.4160 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13.4161 -if test "${ac_cv_header_stdc+set}" = set; then
13.4162 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.4163 -else
13.4164 - cat >conftest.$ac_ext <<_ACEOF
13.4165 -/* confdefs.h. */
13.4166 -_ACEOF
13.4167 -cat confdefs.h >>conftest.$ac_ext
13.4168 -cat >>conftest.$ac_ext <<_ACEOF
13.4169 -/* end confdefs.h. */
13.4170 -#include <stdlib.h>
13.4171 -#include <stdarg.h>
13.4172 -#include <string.h>
13.4173 -#include <float.h>
13.4174 -
13.4175 -int
13.4176 -main ()
13.4177 -{
13.4178 -
13.4179 - ;
13.4180 - return 0;
13.4181 -}
13.4182 -_ACEOF
13.4183 -rm -f conftest.$ac_objext
13.4184 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.4185 - (eval $ac_compile) 2>conftest.er1
13.4186 - ac_status=$?
13.4187 - grep -v '^ *+' conftest.er1 >conftest.err
13.4188 - rm -f conftest.er1
13.4189 - cat conftest.err >&5
13.4190 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4191 - (exit $ac_status); } &&
13.4192 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.4193 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.4194 - (eval $ac_try) 2>&5
13.4195 - ac_status=$?
13.4196 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4197 - (exit $ac_status); }; } &&
13.4198 - { ac_try='test -s conftest.$ac_objext'
13.4199 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.4200 - (eval $ac_try) 2>&5
13.4201 - ac_status=$?
13.4202 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4203 - (exit $ac_status); }; }; then
13.4204 - ac_cv_header_stdc=yes
13.4205 -else
13.4206 - echo "$as_me: failed program was:" >&5
13.4207 -sed 's/^/| /' conftest.$ac_ext >&5
13.4208 -
13.4209 -ac_cv_header_stdc=no
13.4210 -fi
13.4211 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.4212 -
13.4213 -if test $ac_cv_header_stdc = yes; then
13.4214 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13.4215 - cat >conftest.$ac_ext <<_ACEOF
13.4216 -/* confdefs.h. */
13.4217 -_ACEOF
13.4218 -cat confdefs.h >>conftest.$ac_ext
13.4219 -cat >>conftest.$ac_ext <<_ACEOF
13.4220 -/* end confdefs.h. */
13.4221 -#include <string.h>
13.4222 -
13.4223 -_ACEOF
13.4224 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13.4225 - $EGREP "memchr" >/dev/null 2>&1; then
13.4226 - :
13.4227 -else
13.4228 - ac_cv_header_stdc=no
13.4229 -fi
13.4230 -rm -f conftest*
13.4231 -
13.4232 -fi
13.4233 -
13.4234 -if test $ac_cv_header_stdc = yes; then
13.4235 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13.4236 - cat >conftest.$ac_ext <<_ACEOF
13.4237 -/* confdefs.h. */
13.4238 -_ACEOF
13.4239 -cat confdefs.h >>conftest.$ac_ext
13.4240 -cat >>conftest.$ac_ext <<_ACEOF
13.4241 -/* end confdefs.h. */
13.4242 -#include <stdlib.h>
13.4243 -
13.4244 -_ACEOF
13.4245 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13.4246 - $EGREP "free" >/dev/null 2>&1; then
13.4247 - :
13.4248 -else
13.4249 - ac_cv_header_stdc=no
13.4250 -fi
13.4251 -rm -f conftest*
13.4252 -
13.4253 -fi
13.4254 -
13.4255 -if test $ac_cv_header_stdc = yes; then
13.4256 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13.4257 - if test "$cross_compiling" = yes; then
13.4258 - :
13.4259 -else
13.4260 - cat >conftest.$ac_ext <<_ACEOF
13.4261 -/* confdefs.h. */
13.4262 -_ACEOF
13.4263 -cat confdefs.h >>conftest.$ac_ext
13.4264 -cat >>conftest.$ac_ext <<_ACEOF
13.4265 -/* end confdefs.h. */
13.4266 -#include <ctype.h>
13.4267 -#if ((' ' & 0x0FF) == 0x020)
13.4268 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13.4269 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13.4270 -#else
13.4271 -# define ISLOWER(c) \
13.4272 - (('a' <= (c) && (c) <= 'i') \
13.4273 - || ('j' <= (c) && (c) <= 'r') \
13.4274 - || ('s' <= (c) && (c) <= 'z'))
13.4275 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13.4276 -#endif
13.4277 -
13.4278 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13.4279 -int
13.4280 -main ()
13.4281 -{
13.4282 - int i;
13.4283 - for (i = 0; i < 256; i++)
13.4284 - if (XOR (islower (i), ISLOWER (i))
13.4285 - || toupper (i) != TOUPPER (i))
13.4286 - exit(2);
13.4287 - exit (0);
13.4288 -}
13.4289 -_ACEOF
13.4290 -rm -f conftest$ac_exeext
13.4291 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.4292 - (eval $ac_link) 2>&5
13.4293 - ac_status=$?
13.4294 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4295 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13.4296 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.4297 - (eval $ac_try) 2>&5
13.4298 - ac_status=$?
13.4299 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4300 - (exit $ac_status); }; }; then
13.4301 - :
13.4302 -else
13.4303 - echo "$as_me: program exited with status $ac_status" >&5
13.4304 -echo "$as_me: failed program was:" >&5
13.4305 -sed 's/^/| /' conftest.$ac_ext >&5
13.4306 -
13.4307 -( exit $ac_status )
13.4308 -ac_cv_header_stdc=no
13.4309 -fi
13.4310 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13.4311 -fi
13.4312 -fi
13.4313 -fi
13.4314 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13.4315 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
13.4316 -if test $ac_cv_header_stdc = yes; then
13.4317 -
13.4318 -cat >>confdefs.h <<\_ACEOF
13.4319 -#define STDC_HEADERS 1
13.4320 -_ACEOF
13.4321 -
13.4322 -fi
13.4323 -
13.4324 -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
13.4325 -
13.4326 -
13.4327 -
13.4328 -
13.4329 -
13.4330 -
13.4331 -
13.4332 -
13.4333 -
13.4334 -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
13.4335 - inttypes.h stdint.h unistd.h
13.4336 -do
13.4337 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13.4338 -echo "$as_me:$LINENO: checking for $ac_header" >&5
13.4339 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13.4340 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
13.4341 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.4342 -else
13.4343 - cat >conftest.$ac_ext <<_ACEOF
13.4344 -/* confdefs.h. */
13.4345 -_ACEOF
13.4346 -cat confdefs.h >>conftest.$ac_ext
13.4347 -cat >>conftest.$ac_ext <<_ACEOF
13.4348 -/* end confdefs.h. */
13.4349 -$ac_includes_default
13.4350 -
13.4351 -#include <$ac_header>
13.4352 -_ACEOF
13.4353 -rm -f conftest.$ac_objext
13.4354 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.4355 - (eval $ac_compile) 2>conftest.er1
13.4356 - ac_status=$?
13.4357 - grep -v '^ *+' conftest.er1 >conftest.err
13.4358 - rm -f conftest.er1
13.4359 - cat conftest.err >&5
13.4360 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4361 - (exit $ac_status); } &&
13.4362 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.4363 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.4364 - (eval $ac_try) 2>&5
13.4365 - ac_status=$?
13.4366 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4367 - (exit $ac_status); }; } &&
13.4368 - { ac_try='test -s conftest.$ac_objext'
13.4369 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.4370 - (eval $ac_try) 2>&5
13.4371 - ac_status=$?
13.4372 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4373 - (exit $ac_status); }; }; then
13.4374 - eval "$as_ac_Header=yes"
13.4375 -else
13.4376 - echo "$as_me: failed program was:" >&5
13.4377 -sed 's/^/| /' conftest.$ac_ext >&5
13.4378 -
13.4379 -eval "$as_ac_Header=no"
13.4380 -fi
13.4381 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.4382 -fi
13.4383 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13.4384 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13.4385 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
13.4386 - cat >>confdefs.h <<_ACEOF
13.4387 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13.4388 -_ACEOF
13.4389 -
13.4390 -fi
13.4391 -
13.4392 -done
13.4393 -
13.4394 -
13.4395 -
13.4396 -for ac_header in dlfcn.h
13.4397 -do
13.4398 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13.4399 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
13.4400 - echo "$as_me:$LINENO: checking for $ac_header" >&5
13.4401 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13.4402 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
13.4403 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.4404 -fi
13.4405 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13.4406 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13.4407 -else
13.4408 - # Is the header compilable?
13.4409 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
13.4410 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13.4411 -cat >conftest.$ac_ext <<_ACEOF
13.4412 -/* confdefs.h. */
13.4413 -_ACEOF
13.4414 -cat confdefs.h >>conftest.$ac_ext
13.4415 -cat >>conftest.$ac_ext <<_ACEOF
13.4416 -/* end confdefs.h. */
13.4417 -$ac_includes_default
13.4418 -#include <$ac_header>
13.4419 -_ACEOF
13.4420 -rm -f conftest.$ac_objext
13.4421 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.4422 - (eval $ac_compile) 2>conftest.er1
13.4423 - ac_status=$?
13.4424 - grep -v '^ *+' conftest.er1 >conftest.err
13.4425 - rm -f conftest.er1
13.4426 - cat conftest.err >&5
13.4427 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4428 - (exit $ac_status); } &&
13.4429 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.4430 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.4431 - (eval $ac_try) 2>&5
13.4432 - ac_status=$?
13.4433 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4434 - (exit $ac_status); }; } &&
13.4435 - { ac_try='test -s conftest.$ac_objext'
13.4436 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.4437 - (eval $ac_try) 2>&5
13.4438 - ac_status=$?
13.4439 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4440 - (exit $ac_status); }; }; then
13.4441 - ac_header_compiler=yes
13.4442 -else
13.4443 - echo "$as_me: failed program was:" >&5
13.4444 -sed 's/^/| /' conftest.$ac_ext >&5
13.4445 -
13.4446 -ac_header_compiler=no
13.4447 -fi
13.4448 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.4449 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13.4450 -echo "${ECHO_T}$ac_header_compiler" >&6
13.4451 -
13.4452 -# Is the header present?
13.4453 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
13.4454 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13.4455 -cat >conftest.$ac_ext <<_ACEOF
13.4456 -/* confdefs.h. */
13.4457 -_ACEOF
13.4458 -cat confdefs.h >>conftest.$ac_ext
13.4459 -cat >>conftest.$ac_ext <<_ACEOF
13.4460 -/* end confdefs.h. */
13.4461 -#include <$ac_header>
13.4462 -_ACEOF
13.4463 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13.4464 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13.4465 - ac_status=$?
13.4466 - grep -v '^ *+' conftest.er1 >conftest.err
13.4467 - rm -f conftest.er1
13.4468 - cat conftest.err >&5
13.4469 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4470 - (exit $ac_status); } >/dev/null; then
13.4471 - if test -s conftest.err; then
13.4472 - ac_cpp_err=$ac_c_preproc_warn_flag
13.4473 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13.4474 - else
13.4475 - ac_cpp_err=
13.4476 - fi
13.4477 -else
13.4478 - ac_cpp_err=yes
13.4479 -fi
13.4480 -if test -z "$ac_cpp_err"; then
13.4481 - ac_header_preproc=yes
13.4482 -else
13.4483 - echo "$as_me: failed program was:" >&5
13.4484 -sed 's/^/| /' conftest.$ac_ext >&5
13.4485 -
13.4486 - ac_header_preproc=no
13.4487 -fi
13.4488 -rm -f conftest.err conftest.$ac_ext
13.4489 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13.4490 -echo "${ECHO_T}$ac_header_preproc" >&6
13.4491 -
13.4492 -# So? What about this header?
13.4493 -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13.4494 - yes:no: )
13.4495 - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13.4496 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13.4497 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13.4498 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13.4499 - ac_header_preproc=yes
13.4500 - ;;
13.4501 - no:yes:* )
13.4502 - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13.4503 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13.4504 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13.4505 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13.4506 - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13.4507 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13.4508 - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13.4509 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13.4510 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13.4511 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13.4512 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13.4513 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13.4514 - (
13.4515 - cat <<\_ASBOX
13.4516 -## ------------------------------------------ ##
13.4517 -## Report this to the AC_PACKAGE_NAME lists. ##
13.4518 -## ------------------------------------------ ##
13.4519 -_ASBOX
13.4520 - ) |
13.4521 - sed "s/^/$as_me: WARNING: /" >&2
13.4522 - ;;
13.4523 -esac
13.4524 -echo "$as_me:$LINENO: checking for $ac_header" >&5
13.4525 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13.4526 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
13.4527 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.4528 -else
13.4529 - eval "$as_ac_Header=\$ac_header_preproc"
13.4530 -fi
13.4531 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13.4532 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13.4533 -
13.4534 -fi
13.4535 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
13.4536 - cat >>confdefs.h <<_ACEOF
13.4537 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13.4538 -_ACEOF
13.4539 -
13.4540 -fi
13.4541 -
13.4542 -done
13.4543 -
13.4544 -ac_ext=cc
13.4545 -ac_cpp='$CXXCPP $CPPFLAGS'
13.4546 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.4547 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.4548 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13.4549 -if test -n "$ac_tool_prefix"; then
13.4550 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13.4551 - do
13.4552 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13.4553 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13.4554 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.4555 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.4556 -if test "${ac_cv_prog_CXX+set}" = set; then
13.4557 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.4558 -else
13.4559 - if test -n "$CXX"; then
13.4560 - ac_cv_prog_CXX="$CXX" # Let the user override the test.
13.4561 -else
13.4562 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.4563 -for as_dir in $PATH
13.4564 -do
13.4565 - IFS=$as_save_IFS
13.4566 - test -z "$as_dir" && as_dir=.
13.4567 - for ac_exec_ext in '' $ac_executable_extensions; do
13.4568 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.4569 - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13.4570 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.4571 - break 2
13.4572 - fi
13.4573 -done
13.4574 -done
13.4575 -
13.4576 -fi
13.4577 -fi
13.4578 -CXX=$ac_cv_prog_CXX
13.4579 -if test -n "$CXX"; then
13.4580 - echo "$as_me:$LINENO: result: $CXX" >&5
13.4581 -echo "${ECHO_T}$CXX" >&6
13.4582 -else
13.4583 - echo "$as_me:$LINENO: result: no" >&5
13.4584 -echo "${ECHO_T}no" >&6
13.4585 -fi
13.4586 -
13.4587 - test -n "$CXX" && break
13.4588 - done
13.4589 -fi
13.4590 -if test -z "$CXX"; then
13.4591 - ac_ct_CXX=$CXX
13.4592 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13.4593 -do
13.4594 - # Extract the first word of "$ac_prog", so it can be a program name with args.
13.4595 -set dummy $ac_prog; ac_word=$2
13.4596 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.4597 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.4598 -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13.4599 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.4600 -else
13.4601 - if test -n "$ac_ct_CXX"; then
13.4602 - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13.4603 -else
13.4604 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.4605 -for as_dir in $PATH
13.4606 -do
13.4607 - IFS=$as_save_IFS
13.4608 - test -z "$as_dir" && as_dir=.
13.4609 - for ac_exec_ext in '' $ac_executable_extensions; do
13.4610 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.4611 - ac_cv_prog_ac_ct_CXX="$ac_prog"
13.4612 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.4613 - break 2
13.4614 - fi
13.4615 -done
13.4616 -done
13.4617 -
13.4618 -fi
13.4619 -fi
13.4620 -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13.4621 -if test -n "$ac_ct_CXX"; then
13.4622 - echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13.4623 -echo "${ECHO_T}$ac_ct_CXX" >&6
13.4624 -else
13.4625 - echo "$as_me:$LINENO: result: no" >&5
13.4626 -echo "${ECHO_T}no" >&6
13.4627 -fi
13.4628 -
13.4629 - test -n "$ac_ct_CXX" && break
13.4630 -done
13.4631 -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13.4632 -
13.4633 - CXX=$ac_ct_CXX
13.4634 -fi
13.4635 -
13.4636 -
13.4637 -# Provide some information about the compiler.
13.4638 -echo "$as_me:$LINENO:" \
13.4639 - "checking for C++ compiler version" >&5
13.4640 -ac_compiler=`set X $ac_compile; echo $2`
13.4641 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13.4642 - (eval $ac_compiler --version </dev/null >&5) 2>&5
13.4643 - ac_status=$?
13.4644 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4645 - (exit $ac_status); }
13.4646 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13.4647 - (eval $ac_compiler -v </dev/null >&5) 2>&5
13.4648 - ac_status=$?
13.4649 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4650 - (exit $ac_status); }
13.4651 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13.4652 - (eval $ac_compiler -V </dev/null >&5) 2>&5
13.4653 - ac_status=$?
13.4654 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4655 - (exit $ac_status); }
13.4656 -
13.4657 -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13.4658 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13.4659 -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13.4660 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.4661 -else
13.4662 - cat >conftest.$ac_ext <<_ACEOF
13.4663 -/* confdefs.h. */
13.4664 -_ACEOF
13.4665 -cat confdefs.h >>conftest.$ac_ext
13.4666 -cat >>conftest.$ac_ext <<_ACEOF
13.4667 -/* end confdefs.h. */
13.4668 -
13.4669 -int
13.4670 -main ()
13.4671 -{
13.4672 -#ifndef __GNUC__
13.4673 - choke me
13.4674 -#endif
13.4675 -
13.4676 - ;
13.4677 - return 0;
13.4678 -}
13.4679 -_ACEOF
13.4680 -rm -f conftest.$ac_objext
13.4681 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.4682 - (eval $ac_compile) 2>conftest.er1
13.4683 - ac_status=$?
13.4684 - grep -v '^ *+' conftest.er1 >conftest.err
13.4685 - rm -f conftest.er1
13.4686 - cat conftest.err >&5
13.4687 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4688 - (exit $ac_status); } &&
13.4689 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13.4690 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.4691 - (eval $ac_try) 2>&5
13.4692 - ac_status=$?
13.4693 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4694 - (exit $ac_status); }; } &&
13.4695 - { ac_try='test -s conftest.$ac_objext'
13.4696 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.4697 - (eval $ac_try) 2>&5
13.4698 - ac_status=$?
13.4699 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4700 - (exit $ac_status); }; }; then
13.4701 - ac_compiler_gnu=yes
13.4702 -else
13.4703 - echo "$as_me: failed program was:" >&5
13.4704 -sed 's/^/| /' conftest.$ac_ext >&5
13.4705 -
13.4706 -ac_compiler_gnu=no
13.4707 -fi
13.4708 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.4709 -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13.4710 -
13.4711 -fi
13.4712 -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13.4713 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13.4714 -GXX=`test $ac_compiler_gnu = yes && echo yes`
13.4715 -ac_test_CXXFLAGS=${CXXFLAGS+set}
13.4716 -ac_save_CXXFLAGS=$CXXFLAGS
13.4717 -CXXFLAGS="-g"
13.4718 -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13.4719 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13.4720 -if test "${ac_cv_prog_cxx_g+set}" = set; then
13.4721 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.4722 -else
13.4723 - cat >conftest.$ac_ext <<_ACEOF
13.4724 -/* confdefs.h. */
13.4725 -_ACEOF
13.4726 -cat confdefs.h >>conftest.$ac_ext
13.4727 -cat >>conftest.$ac_ext <<_ACEOF
13.4728 -/* end confdefs.h. */
13.4729 -
13.4730 -int
13.4731 -main ()
13.4732 -{
13.4733 -
13.4734 - ;
13.4735 - return 0;
13.4736 -}
13.4737 -_ACEOF
13.4738 -rm -f conftest.$ac_objext
13.4739 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.4740 - (eval $ac_compile) 2>conftest.er1
13.4741 - ac_status=$?
13.4742 - grep -v '^ *+' conftest.er1 >conftest.err
13.4743 - rm -f conftest.er1
13.4744 - cat conftest.err >&5
13.4745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4746 - (exit $ac_status); } &&
13.4747 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13.4748 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.4749 - (eval $ac_try) 2>&5
13.4750 - ac_status=$?
13.4751 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4752 - (exit $ac_status); }; } &&
13.4753 - { ac_try='test -s conftest.$ac_objext'
13.4754 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.4755 - (eval $ac_try) 2>&5
13.4756 - ac_status=$?
13.4757 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4758 - (exit $ac_status); }; }; then
13.4759 - ac_cv_prog_cxx_g=yes
13.4760 -else
13.4761 - echo "$as_me: failed program was:" >&5
13.4762 -sed 's/^/| /' conftest.$ac_ext >&5
13.4763 -
13.4764 -ac_cv_prog_cxx_g=no
13.4765 -fi
13.4766 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.4767 -fi
13.4768 -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13.4769 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13.4770 -if test "$ac_test_CXXFLAGS" = set; then
13.4771 - CXXFLAGS=$ac_save_CXXFLAGS
13.4772 -elif test $ac_cv_prog_cxx_g = yes; then
13.4773 - if test "$GXX" = yes; then
13.4774 - CXXFLAGS="-g -O2"
13.4775 - else
13.4776 - CXXFLAGS="-g"
13.4777 - fi
13.4778 -else
13.4779 - if test "$GXX" = yes; then
13.4780 - CXXFLAGS="-O2"
13.4781 - else
13.4782 - CXXFLAGS=
13.4783 - fi
13.4784 -fi
13.4785 -for ac_declaration in \
13.4786 - '' \
13.4787 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
13.4788 - 'extern "C" void std::exit (int); using std::exit;' \
13.4789 - 'extern "C" void exit (int) throw ();' \
13.4790 - 'extern "C" void exit (int);' \
13.4791 - 'void exit (int);'
13.4792 -do
13.4793 - cat >conftest.$ac_ext <<_ACEOF
13.4794 -/* confdefs.h. */
13.4795 -_ACEOF
13.4796 -cat confdefs.h >>conftest.$ac_ext
13.4797 -cat >>conftest.$ac_ext <<_ACEOF
13.4798 -/* end confdefs.h. */
13.4799 -$ac_declaration
13.4800 -#include <stdlib.h>
13.4801 -int
13.4802 -main ()
13.4803 -{
13.4804 -exit (42);
13.4805 - ;
13.4806 - return 0;
13.4807 -}
13.4808 -_ACEOF
13.4809 -rm -f conftest.$ac_objext
13.4810 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.4811 - (eval $ac_compile) 2>conftest.er1
13.4812 - ac_status=$?
13.4813 - grep -v '^ *+' conftest.er1 >conftest.err
13.4814 - rm -f conftest.er1
13.4815 - cat conftest.err >&5
13.4816 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4817 - (exit $ac_status); } &&
13.4818 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13.4819 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.4820 - (eval $ac_try) 2>&5
13.4821 - ac_status=$?
13.4822 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4823 - (exit $ac_status); }; } &&
13.4824 - { ac_try='test -s conftest.$ac_objext'
13.4825 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.4826 - (eval $ac_try) 2>&5
13.4827 - ac_status=$?
13.4828 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4829 - (exit $ac_status); }; }; then
13.4830 - :
13.4831 -else
13.4832 - echo "$as_me: failed program was:" >&5
13.4833 -sed 's/^/| /' conftest.$ac_ext >&5
13.4834 -
13.4835 -continue
13.4836 -fi
13.4837 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.4838 - cat >conftest.$ac_ext <<_ACEOF
13.4839 -/* confdefs.h. */
13.4840 -_ACEOF
13.4841 -cat confdefs.h >>conftest.$ac_ext
13.4842 -cat >>conftest.$ac_ext <<_ACEOF
13.4843 -/* end confdefs.h. */
13.4844 -$ac_declaration
13.4845 -int
13.4846 -main ()
13.4847 -{
13.4848 -exit (42);
13.4849 - ;
13.4850 - return 0;
13.4851 -}
13.4852 -_ACEOF
13.4853 -rm -f conftest.$ac_objext
13.4854 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.4855 - (eval $ac_compile) 2>conftest.er1
13.4856 - ac_status=$?
13.4857 - grep -v '^ *+' conftest.er1 >conftest.err
13.4858 - rm -f conftest.er1
13.4859 - cat conftest.err >&5
13.4860 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4861 - (exit $ac_status); } &&
13.4862 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13.4863 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.4864 - (eval $ac_try) 2>&5
13.4865 - ac_status=$?
13.4866 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4867 - (exit $ac_status); }; } &&
13.4868 - { ac_try='test -s conftest.$ac_objext'
13.4869 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.4870 - (eval $ac_try) 2>&5
13.4871 - ac_status=$?
13.4872 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.4873 - (exit $ac_status); }; }; then
13.4874 - break
13.4875 -else
13.4876 - echo "$as_me: failed program was:" >&5
13.4877 -sed 's/^/| /' conftest.$ac_ext >&5
13.4878 -
13.4879 -fi
13.4880 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.4881 -done
13.4882 -rm -f conftest*
13.4883 -if test -n "$ac_declaration"; then
13.4884 - echo '#ifdef __cplusplus' >>confdefs.h
13.4885 - echo $ac_declaration >>confdefs.h
13.4886 - echo '#endif' >>confdefs.h
13.4887 -fi
13.4888 -
13.4889 -ac_ext=cc
13.4890 -ac_cpp='$CXXCPP $CPPFLAGS'
13.4891 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.4892 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.4893 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13.4894 -
13.4895 -depcc="$CXX" am_compiler_list=
13.4896 -
13.4897 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13.4898 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
13.4899 -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13.4900 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.4901 -else
13.4902 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13.4903 - # We make a subdir and do the tests there. Otherwise we can end up
13.4904 - # making bogus files that we don't know about and never remove. For
13.4905 - # instance it was reported that on HP-UX the gcc test will end up
13.4906 - # making a dummy file named `D' -- because `-MD' means `put the output
13.4907 - # in D'.
13.4908 - mkdir conftest.dir
13.4909 - # Copy depcomp to subdir because otherwise we won't find it if we're
13.4910 - # using a relative directory.
13.4911 - cp "$am_depcomp" conftest.dir
13.4912 - cd conftest.dir
13.4913 - # We will build objects and dependencies in a subdirectory because
13.4914 - # it helps to detect inapplicable dependency modes. For instance
13.4915 - # both Tru64's cc and ICC support -MD to output dependencies as a
13.4916 - # side effect of compilation, but ICC will put the dependencies in
13.4917 - # the current directory while Tru64 will put them in the object
13.4918 - # directory.
13.4919 - mkdir sub
13.4920 -
13.4921 - am_cv_CXX_dependencies_compiler_type=none
13.4922 - if test "$am_compiler_list" = ""; then
13.4923 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13.4924 - fi
13.4925 - for depmode in $am_compiler_list; do
13.4926 - # Setup a source with many dependencies, because some compilers
13.4927 - # like to wrap large dependency lists on column 80 (with \), and
13.4928 - # we should not choose a depcomp mode which is confused by this.
13.4929 - #
13.4930 - # We need to recreate these files for each test, as the compiler may
13.4931 - # overwrite some of them when testing with obscure command lines.
13.4932 - # This happens at least with the AIX C compiler.
13.4933 - : > sub/conftest.c
13.4934 - for i in 1 2 3 4 5 6; do
13.4935 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
13.4936 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13.4937 - # Solaris 8's {/usr,}/bin/sh.
13.4938 - touch sub/conftst$i.h
13.4939 - done
13.4940 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13.4941 -
13.4942 - case $depmode in
13.4943 - nosideeffect)
13.4944 - # after this tag, mechanisms are not by side-effect, so they'll
13.4945 - # only be used when explicitly requested
13.4946 - if test "x$enable_dependency_tracking" = xyes; then
13.4947 - continue
13.4948 - else
13.4949 - break
13.4950 - fi
13.4951 - ;;
13.4952 - none) break ;;
13.4953 - esac
13.4954 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
13.4955 - # mode. It turns out that the SunPro C++ compiler does not properly
13.4956 - # handle `-M -o', and we need to detect this.
13.4957 - if depmode=$depmode \
13.4958 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
13.4959 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13.4960 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
13.4961 - >/dev/null 2>conftest.err &&
13.4962 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13.4963 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
13.4964 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13.4965 - # icc doesn't choke on unknown options, it will just issue warnings
13.4966 - # or remarks (even with -Werror). So we grep stderr for any message
13.4967 - # that says an option was ignored or not supported.
13.4968 - # When given -MP, icc 7.0 and 7.1 complain thusly:
13.4969 - # icc: Command line warning: ignoring option '-M'; no argument required
13.4970 - # The diagnosis changed in icc 8.0:
13.4971 - # icc: Command line remark: option '-MP' not supported
13.4972 - if (grep 'ignoring option' conftest.err ||
13.4973 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13.4974 - am_cv_CXX_dependencies_compiler_type=$depmode
13.4975 - break
13.4976 - fi
13.4977 - fi
13.4978 - done
13.4979 -
13.4980 - cd ..
13.4981 - rm -rf conftest.dir
13.4982 -else
13.4983 - am_cv_CXX_dependencies_compiler_type=none
13.4984 -fi
13.4985 -
13.4986 -fi
13.4987 -echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13.4988 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
13.4989 -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13.4990 -
13.4991 -
13.4992 -
13.4993 -if
13.4994 - test "x$enable_dependency_tracking" != xno \
13.4995 - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13.4996 - am__fastdepCXX_TRUE=
13.4997 - am__fastdepCXX_FALSE='#'
13.4998 -else
13.4999 - am__fastdepCXX_TRUE='#'
13.5000 - am__fastdepCXX_FALSE=
13.5001 -fi
13.5002 -
13.5003 -
13.5004 -
13.5005 -
13.5006 -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13.5007 - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13.5008 - (test "X$CXX" != "Xg++"))) ; then
13.5009 - ac_ext=cc
13.5010 -ac_cpp='$CXXCPP $CPPFLAGS'
13.5011 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.5012 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.5013 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13.5014 -echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
13.5015 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
13.5016 -if test -z "$CXXCPP"; then
13.5017 - if test "${ac_cv_prog_CXXCPP+set}" = set; then
13.5018 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.5019 -else
13.5020 - # Double quotes because CXXCPP needs to be expanded
13.5021 - for CXXCPP in "$CXX -E" "/lib/cpp"
13.5022 - do
13.5023 - ac_preproc_ok=false
13.5024 -for ac_cxx_preproc_warn_flag in '' yes
13.5025 -do
13.5026 - # Use a header file that comes with gcc, so configuring glibc
13.5027 - # with a fresh cross-compiler works.
13.5028 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13.5029 - # <limits.h> exists even on freestanding compilers.
13.5030 - # On the NeXT, cc -E runs the code through the compiler's parser,
13.5031 - # not just through cpp. "Syntax error" is here to catch this case.
13.5032 - cat >conftest.$ac_ext <<_ACEOF
13.5033 -/* confdefs.h. */
13.5034 -_ACEOF
13.5035 -cat confdefs.h >>conftest.$ac_ext
13.5036 -cat >>conftest.$ac_ext <<_ACEOF
13.5037 -/* end confdefs.h. */
13.5038 -#ifdef __STDC__
13.5039 -# include <limits.h>
13.5040 -#else
13.5041 -# include <assert.h>
13.5042 -#endif
13.5043 - Syntax error
13.5044 -_ACEOF
13.5045 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13.5046 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13.5047 - ac_status=$?
13.5048 - grep -v '^ *+' conftest.er1 >conftest.err
13.5049 - rm -f conftest.er1
13.5050 - cat conftest.err >&5
13.5051 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.5052 - (exit $ac_status); } >/dev/null; then
13.5053 - if test -s conftest.err; then
13.5054 - ac_cpp_err=$ac_cxx_preproc_warn_flag
13.5055 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13.5056 - else
13.5057 - ac_cpp_err=
13.5058 - fi
13.5059 -else
13.5060 - ac_cpp_err=yes
13.5061 -fi
13.5062 -if test -z "$ac_cpp_err"; then
13.5063 - :
13.5064 -else
13.5065 - echo "$as_me: failed program was:" >&5
13.5066 -sed 's/^/| /' conftest.$ac_ext >&5
13.5067 -
13.5068 - # Broken: fails on valid input.
13.5069 -continue
13.5070 -fi
13.5071 -rm -f conftest.err conftest.$ac_ext
13.5072 -
13.5073 - # OK, works on sane cases. Now check whether non-existent headers
13.5074 - # can be detected and how.
13.5075 - cat >conftest.$ac_ext <<_ACEOF
13.5076 -/* confdefs.h. */
13.5077 -_ACEOF
13.5078 -cat confdefs.h >>conftest.$ac_ext
13.5079 -cat >>conftest.$ac_ext <<_ACEOF
13.5080 -/* end confdefs.h. */
13.5081 -#include <ac_nonexistent.h>
13.5082 -_ACEOF
13.5083 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13.5084 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13.5085 - ac_status=$?
13.5086 - grep -v '^ *+' conftest.er1 >conftest.err
13.5087 - rm -f conftest.er1
13.5088 - cat conftest.err >&5
13.5089 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.5090 - (exit $ac_status); } >/dev/null; then
13.5091 - if test -s conftest.err; then
13.5092 - ac_cpp_err=$ac_cxx_preproc_warn_flag
13.5093 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13.5094 - else
13.5095 - ac_cpp_err=
13.5096 - fi
13.5097 -else
13.5098 - ac_cpp_err=yes
13.5099 -fi
13.5100 -if test -z "$ac_cpp_err"; then
13.5101 - # Broken: success on invalid input.
13.5102 -continue
13.5103 -else
13.5104 - echo "$as_me: failed program was:" >&5
13.5105 -sed 's/^/| /' conftest.$ac_ext >&5
13.5106 -
13.5107 - # Passes both tests.
13.5108 -ac_preproc_ok=:
13.5109 -break
13.5110 -fi
13.5111 -rm -f conftest.err conftest.$ac_ext
13.5112 -
13.5113 -done
13.5114 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13.5115 -rm -f conftest.err conftest.$ac_ext
13.5116 -if $ac_preproc_ok; then
13.5117 - break
13.5118 -fi
13.5119 -
13.5120 - done
13.5121 - ac_cv_prog_CXXCPP=$CXXCPP
13.5122 -
13.5123 -fi
13.5124 - CXXCPP=$ac_cv_prog_CXXCPP
13.5125 -else
13.5126 - ac_cv_prog_CXXCPP=$CXXCPP
13.5127 -fi
13.5128 -echo "$as_me:$LINENO: result: $CXXCPP" >&5
13.5129 -echo "${ECHO_T}$CXXCPP" >&6
13.5130 -ac_preproc_ok=false
13.5131 -for ac_cxx_preproc_warn_flag in '' yes
13.5132 -do
13.5133 - # Use a header file that comes with gcc, so configuring glibc
13.5134 - # with a fresh cross-compiler works.
13.5135 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13.5136 - # <limits.h> exists even on freestanding compilers.
13.5137 - # On the NeXT, cc -E runs the code through the compiler's parser,
13.5138 - # not just through cpp. "Syntax error" is here to catch this case.
13.5139 - cat >conftest.$ac_ext <<_ACEOF
13.5140 -/* confdefs.h. */
13.5141 -_ACEOF
13.5142 -cat confdefs.h >>conftest.$ac_ext
13.5143 -cat >>conftest.$ac_ext <<_ACEOF
13.5144 -/* end confdefs.h. */
13.5145 -#ifdef __STDC__
13.5146 -# include <limits.h>
13.5147 -#else
13.5148 -# include <assert.h>
13.5149 -#endif
13.5150 - Syntax error
13.5151 -_ACEOF
13.5152 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13.5153 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13.5154 - ac_status=$?
13.5155 - grep -v '^ *+' conftest.er1 >conftest.err
13.5156 - rm -f conftest.er1
13.5157 - cat conftest.err >&5
13.5158 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.5159 - (exit $ac_status); } >/dev/null; then
13.5160 - if test -s conftest.err; then
13.5161 - ac_cpp_err=$ac_cxx_preproc_warn_flag
13.5162 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13.5163 - else
13.5164 - ac_cpp_err=
13.5165 - fi
13.5166 -else
13.5167 - ac_cpp_err=yes
13.5168 -fi
13.5169 -if test -z "$ac_cpp_err"; then
13.5170 - :
13.5171 -else
13.5172 - echo "$as_me: failed program was:" >&5
13.5173 -sed 's/^/| /' conftest.$ac_ext >&5
13.5174 -
13.5175 - # Broken: fails on valid input.
13.5176 -continue
13.5177 -fi
13.5178 -rm -f conftest.err conftest.$ac_ext
13.5179 -
13.5180 - # OK, works on sane cases. Now check whether non-existent headers
13.5181 - # can be detected and how.
13.5182 - cat >conftest.$ac_ext <<_ACEOF
13.5183 -/* confdefs.h. */
13.5184 -_ACEOF
13.5185 -cat confdefs.h >>conftest.$ac_ext
13.5186 -cat >>conftest.$ac_ext <<_ACEOF
13.5187 -/* end confdefs.h. */
13.5188 -#include <ac_nonexistent.h>
13.5189 -_ACEOF
13.5190 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13.5191 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13.5192 - ac_status=$?
13.5193 - grep -v '^ *+' conftest.er1 >conftest.err
13.5194 - rm -f conftest.er1
13.5195 - cat conftest.err >&5
13.5196 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.5197 - (exit $ac_status); } >/dev/null; then
13.5198 - if test -s conftest.err; then
13.5199 - ac_cpp_err=$ac_cxx_preproc_warn_flag
13.5200 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13.5201 - else
13.5202 - ac_cpp_err=
13.5203 - fi
13.5204 -else
13.5205 - ac_cpp_err=yes
13.5206 -fi
13.5207 -if test -z "$ac_cpp_err"; then
13.5208 - # Broken: success on invalid input.
13.5209 -continue
13.5210 -else
13.5211 - echo "$as_me: failed program was:" >&5
13.5212 -sed 's/^/| /' conftest.$ac_ext >&5
13.5213 -
13.5214 - # Passes both tests.
13.5215 -ac_preproc_ok=:
13.5216 -break
13.5217 -fi
13.5218 -rm -f conftest.err conftest.$ac_ext
13.5219 -
13.5220 -done
13.5221 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13.5222 -rm -f conftest.err conftest.$ac_ext
13.5223 -if $ac_preproc_ok; then
13.5224 - :
13.5225 -else
13.5226 - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13.5227 -See \`config.log' for more details." >&5
13.5228 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13.5229 -See \`config.log' for more details." >&2;}
13.5230 - { (exit 1); exit 1; }; }
13.5231 -fi
13.5232 -
13.5233 -ac_ext=cc
13.5234 -ac_cpp='$CXXCPP $CPPFLAGS'
13.5235 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.5236 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.5237 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13.5238 -
13.5239 -fi
13.5240 -
13.5241 -
13.5242 -ac_ext=f
13.5243 -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13.5244 -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.5245 -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13.5246 -if test -n "$ac_tool_prefix"; then
13.5247 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
13.5248 - do
13.5249 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13.5250 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13.5251 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.5252 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.5253 -if test "${ac_cv_prog_F77+set}" = set; then
13.5254 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.5255 -else
13.5256 - if test -n "$F77"; then
13.5257 - ac_cv_prog_F77="$F77" # Let the user override the test.
13.5258 -else
13.5259 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.5260 -for as_dir in $PATH
13.5261 -do
13.5262 - IFS=$as_save_IFS
13.5263 - test -z "$as_dir" && as_dir=.
13.5264 - for ac_exec_ext in '' $ac_executable_extensions; do
13.5265 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.5266 - ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
13.5267 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.5268 - break 2
13.5269 - fi
13.5270 -done
13.5271 -done
13.5272 -
13.5273 -fi
13.5274 -fi
13.5275 -F77=$ac_cv_prog_F77
13.5276 -if test -n "$F77"; then
13.5277 - echo "$as_me:$LINENO: result: $F77" >&5
13.5278 -echo "${ECHO_T}$F77" >&6
13.5279 -else
13.5280 - echo "$as_me:$LINENO: result: no" >&5
13.5281 -echo "${ECHO_T}no" >&6
13.5282 -fi
13.5283 -
13.5284 - test -n "$F77" && break
13.5285 - done
13.5286 -fi
13.5287 -if test -z "$F77"; then
13.5288 - ac_ct_F77=$F77
13.5289 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
13.5290 -do
13.5291 - # Extract the first word of "$ac_prog", so it can be a program name with args.
13.5292 -set dummy $ac_prog; ac_word=$2
13.5293 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.5294 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.5295 -if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13.5296 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.5297 -else
13.5298 - if test -n "$ac_ct_F77"; then
13.5299 - ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13.5300 -else
13.5301 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.5302 -for as_dir in $PATH
13.5303 -do
13.5304 - IFS=$as_save_IFS
13.5305 - test -z "$as_dir" && as_dir=.
13.5306 - for ac_exec_ext in '' $ac_executable_extensions; do
13.5307 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.5308 - ac_cv_prog_ac_ct_F77="$ac_prog"
13.5309 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.5310 - break 2
13.5311 - fi
13.5312 -done
13.5313 -done
13.5314 -
13.5315 -fi
13.5316 -fi
13.5317 -ac_ct_F77=$ac_cv_prog_ac_ct_F77
13.5318 -if test -n "$ac_ct_F77"; then
13.5319 - echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13.5320 -echo "${ECHO_T}$ac_ct_F77" >&6
13.5321 -else
13.5322 - echo "$as_me:$LINENO: result: no" >&5
13.5323 -echo "${ECHO_T}no" >&6
13.5324 -fi
13.5325 -
13.5326 - test -n "$ac_ct_F77" && break
13.5327 -done
13.5328 -
13.5329 - F77=$ac_ct_F77
13.5330 -fi
13.5331 -
13.5332 -
13.5333 -# Provide some information about the compiler.
13.5334 -echo "$as_me:5331:" \
13.5335 - "checking for Fortran 77 compiler version" >&5
13.5336 -ac_compiler=`set X $ac_compile; echo $2`
13.5337 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13.5338 - (eval $ac_compiler --version </dev/null >&5) 2>&5
13.5339 - ac_status=$?
13.5340 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.5341 - (exit $ac_status); }
13.5342 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13.5343 - (eval $ac_compiler -v </dev/null >&5) 2>&5
13.5344 - ac_status=$?
13.5345 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.5346 - (exit $ac_status); }
13.5347 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13.5348 - (eval $ac_compiler -V </dev/null >&5) 2>&5
13.5349 - ac_status=$?
13.5350 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.5351 - (exit $ac_status); }
13.5352 -rm -f a.out
13.5353 -
13.5354 -# If we don't use `.F' as extension, the preprocessor is not run on the
13.5355 -# input file. (Note that this only needs to work for GNU compilers.)
13.5356 -ac_save_ext=$ac_ext
13.5357 -ac_ext=F
13.5358 -echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13.5359 -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
13.5360 -if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13.5361 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.5362 -else
13.5363 - cat >conftest.$ac_ext <<_ACEOF
13.5364 - program main
13.5365 -#ifndef __GNUC__
13.5366 - choke me
13.5367 -#endif
13.5368 -
13.5369 - end
13.5370 -_ACEOF
13.5371 -rm -f conftest.$ac_objext
13.5372 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.5373 - (eval $ac_compile) 2>conftest.er1
13.5374 - ac_status=$?
13.5375 - grep -v '^ *+' conftest.er1 >conftest.err
13.5376 - rm -f conftest.er1
13.5377 - cat conftest.err >&5
13.5378 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.5379 - (exit $ac_status); } &&
13.5380 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13.5381 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.5382 - (eval $ac_try) 2>&5
13.5383 - ac_status=$?
13.5384 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.5385 - (exit $ac_status); }; } &&
13.5386 - { ac_try='test -s conftest.$ac_objext'
13.5387 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.5388 - (eval $ac_try) 2>&5
13.5389 - ac_status=$?
13.5390 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.5391 - (exit $ac_status); }; }; then
13.5392 - ac_compiler_gnu=yes
13.5393 -else
13.5394 - echo "$as_me: failed program was:" >&5
13.5395 -sed 's/^/| /' conftest.$ac_ext >&5
13.5396 -
13.5397 -ac_compiler_gnu=no
13.5398 -fi
13.5399 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.5400 -ac_cv_f77_compiler_gnu=$ac_compiler_gnu
13.5401 -
13.5402 -fi
13.5403 -echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13.5404 -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
13.5405 -ac_ext=$ac_save_ext
13.5406 -ac_test_FFLAGS=${FFLAGS+set}
13.5407 -ac_save_FFLAGS=$FFLAGS
13.5408 -FFLAGS=
13.5409 -echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13.5410 -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
13.5411 -if test "${ac_cv_prog_f77_g+set}" = set; then
13.5412 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.5413 -else
13.5414 - FFLAGS=-g
13.5415 -cat >conftest.$ac_ext <<_ACEOF
13.5416 - program main
13.5417 -
13.5418 - end
13.5419 -_ACEOF
13.5420 -rm -f conftest.$ac_objext
13.5421 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.5422 - (eval $ac_compile) 2>conftest.er1
13.5423 - ac_status=$?
13.5424 - grep -v '^ *+' conftest.er1 >conftest.err
13.5425 - rm -f conftest.er1
13.5426 - cat conftest.err >&5
13.5427 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.5428 - (exit $ac_status); } &&
13.5429 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13.5430 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.5431 - (eval $ac_try) 2>&5
13.5432 - ac_status=$?
13.5433 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.5434 - (exit $ac_status); }; } &&
13.5435 - { ac_try='test -s conftest.$ac_objext'
13.5436 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.5437 - (eval $ac_try) 2>&5
13.5438 - ac_status=$?
13.5439 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.5440 - (exit $ac_status); }; }; then
13.5441 - ac_cv_prog_f77_g=yes
13.5442 -else
13.5443 - echo "$as_me: failed program was:" >&5
13.5444 -sed 's/^/| /' conftest.$ac_ext >&5
13.5445 -
13.5446 -ac_cv_prog_f77_g=no
13.5447 -fi
13.5448 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.5449 -
13.5450 -fi
13.5451 -echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13.5452 -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
13.5453 -if test "$ac_test_FFLAGS" = set; then
13.5454 - FFLAGS=$ac_save_FFLAGS
13.5455 -elif test $ac_cv_prog_f77_g = yes; then
13.5456 - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13.5457 - FFLAGS="-g -O2"
13.5458 - else
13.5459 - FFLAGS="-g"
13.5460 - fi
13.5461 -else
13.5462 - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13.5463 - FFLAGS="-O2"
13.5464 - else
13.5465 - FFLAGS=
13.5466 - fi
13.5467 -fi
13.5468 -
13.5469 -G77=`test $ac_compiler_gnu = yes && echo yes`
13.5470 -ac_ext=c
13.5471 -ac_cpp='$CPP $CPPFLAGS'
13.5472 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.5473 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.5474 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.5475 -
13.5476 -
13.5477 -
13.5478 -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13.5479 -
13.5480 -# find the maximum length of command line arguments
13.5481 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13.5482 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
13.5483 -if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13.5484 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.5485 -else
13.5486 - i=0
13.5487 - teststring="ABCD"
13.5488 -
13.5489 - case $build_os in
13.5490 - msdosdjgpp*)
13.5491 - # On DJGPP, this test can blow up pretty badly due to problems in libc
13.5492 - # (any single argument exceeding 2000 bytes causes a buffer overrun
13.5493 - # during glob expansion). Even if it were fixed, the result of this
13.5494 - # check would be larger than it should be.
13.5495 - lt_cv_sys_max_cmd_len=12288; # 12K is about right
13.5496 - ;;
13.5497 -
13.5498 - gnu*)
13.5499 - # Under GNU Hurd, this test is not required because there is
13.5500 - # no limit to the length of command line arguments.
13.5501 - # Libtool will interpret -1 as no limit whatsoever
13.5502 - lt_cv_sys_max_cmd_len=-1;
13.5503 - ;;
13.5504 -
13.5505 - cygwin* | mingw*)
13.5506 - # On Win9x/ME, this test blows up -- it succeeds, but takes
13.5507 - # about 5 minutes as the teststring grows exponentially.
13.5508 - # Worse, since 9x/ME are not pre-emptively multitasking,
13.5509 - # you end up with a "frozen" computer, even though with patience
13.5510 - # the test eventually succeeds (with a max line length of 256k).
13.5511 - # Instead, let's just punt: use the minimum linelength reported by
13.5512 - # all of the supported platforms: 8192 (on NT/2K/XP).
13.5513 - lt_cv_sys_max_cmd_len=8192;
13.5514 - ;;
13.5515 -
13.5516 - amigaos*)
13.5517 - # On AmigaOS with pdksh, this test takes hours, literally.
13.5518 - # So we just punt and use a minimum line length of 8192.
13.5519 - lt_cv_sys_max_cmd_len=8192;
13.5520 - ;;
13.5521 -
13.5522 - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13.5523 - # This has been around since 386BSD, at least. Likely further.
13.5524 - if test -x /sbin/sysctl; then
13.5525 - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
13.5526 - elif test -x /usr/sbin/sysctl; then
13.5527 - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
13.5528 - else
13.5529 - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13.5530 - fi
13.5531 - # And add a safety zone
13.5532 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
13.5533 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
13.5534 - ;;
13.5535 - osf*)
13.5536 - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13.5537 - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13.5538 - # nice to cause kernel panics so lets avoid the loop below.
13.5539 - # First set a reasonable default.
13.5540 - lt_cv_sys_max_cmd_len=16384
13.5541 - #
13.5542 - if test -x /sbin/sysconfig; then
13.5543 - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
13.5544 - *1*) lt_cv_sys_max_cmd_len=-1 ;;
13.5545 - esac
13.5546 - fi
13.5547 - ;;
13.5548 - *)
13.5549 - # If test is not a shell built-in, we'll probably end up computing a
13.5550 - # maximum length that is only half of the actual maximum length, but
13.5551 - # we can't tell.
13.5552 - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13.5553 - while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
13.5554 - = "XX$teststring") >/dev/null 2>&1 &&
13.5555 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
13.5556 - lt_cv_sys_max_cmd_len=$new_result &&
13.5557 - test $i != 17 # 1/2 MB should be enough
13.5558 - do
13.5559 - i=`expr $i + 1`
13.5560 - teststring=$teststring$teststring
13.5561 - done
13.5562 - teststring=
13.5563 - # Add a significant safety factor because C++ compilers can tack on massive
13.5564 - # amounts of additional arguments before passing them to the linker.
13.5565 - # It appears as though 1/2 is a usable value.
13.5566 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
13.5567 - ;;
13.5568 - esac
13.5569 -
13.5570 -fi
13.5571 -
13.5572 -if test -n $lt_cv_sys_max_cmd_len ; then
13.5573 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13.5574 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
13.5575 -else
13.5576 - echo "$as_me:$LINENO: result: none" >&5
13.5577 -echo "${ECHO_T}none" >&6
13.5578 -fi
13.5579 -
13.5580 -
13.5581 -
13.5582 -
13.5583 -# Check for command to grab the raw symbol name followed by C symbol from nm.
13.5584 -echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13.5585 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
13.5586 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13.5587 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.5588 -else
13.5589 -
13.5590 -# These are sane defaults that work on at least a few old systems.
13.5591 -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
13.5592 -
13.5593 -# Character class describing NM global symbol codes.
13.5594 -symcode='[BCDEGRST]'
13.5595 -
13.5596 -# Regexp to match symbols that can be accessed directly from C.
13.5597 -sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13.5598 -
13.5599 -# Transform an extracted symbol line into a proper C declaration
13.5600 -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13.5601 -
13.5602 -# Transform an extracted symbol line into symbol name and symbol address
13.5603 -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'"
13.5604 -
13.5605 -# Define system-specific variables.
13.5606 -case $host_os in
13.5607 -aix*)
13.5608 - symcode='[BCDT]'
13.5609 - ;;
13.5610 -cygwin* | mingw* | pw32*)
13.5611 - symcode='[ABCDGISTW]'
13.5612 - ;;
13.5613 -hpux*) # Its linker distinguishes data from code symbols
13.5614 - if test "$host_cpu" = ia64; then
13.5615 - symcode='[ABCDEGRST]'
13.5616 - fi
13.5617 - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13.5618 - 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'"
13.5619 - ;;
13.5620 -linux*)
13.5621 - if test "$host_cpu" = ia64; then
13.5622 - symcode='[ABCDGIRSTW]'
13.5623 - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13.5624 - 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'"
13.5625 - fi
13.5626 - ;;
13.5627 -irix* | nonstopux*)
13.5628 - symcode='[BCDEGRST]'
13.5629 - ;;
13.5630 -osf*)
13.5631 - symcode='[BCDEGQRST]'
13.5632 - ;;
13.5633 -solaris* | sysv5*)
13.5634 - symcode='[BDRT]'
13.5635 - ;;
13.5636 -sysv4)
13.5637 - symcode='[DFNSTU]'
13.5638 - ;;
13.5639 -esac
13.5640 -
13.5641 -# Handle CRLF in mingw tool chain
13.5642 -opt_cr=
13.5643 -case $build_os in
13.5644 -mingw*)
13.5645 - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
13.5646 - ;;
13.5647 -esac
13.5648 -
13.5649 -# If we're using GNU nm, then use its standard symbol codes.
13.5650 -case `$NM -V 2>&1` in
13.5651 -*GNU* | *'with BFD'*)
13.5652 - symcode='[ABCDGIRSTW]' ;;
13.5653 -esac
13.5654 -
13.5655 -# Try without a prefix undercore, then with it.
13.5656 -for ac_symprfx in "" "_"; do
13.5657 -
13.5658 - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13.5659 - symxfrm="\\1 $ac_symprfx\\2 \\2"
13.5660 -
13.5661 - # Write the raw and C identifiers.
13.5662 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13.5663 -
13.5664 - # Check to see that the pipe works correctly.
13.5665 - pipe_works=no
13.5666 -
13.5667 - rm -f conftest*
13.5668 - cat > conftest.$ac_ext <<EOF
13.5669 -#ifdef __cplusplus
13.5670 -extern "C" {
13.5671 -#endif
13.5672 -char nm_test_var;
13.5673 -void nm_test_func(){}
13.5674 -#ifdef __cplusplus
13.5675 -}
13.5676 -#endif
13.5677 -int main(){nm_test_var='a';nm_test_func();return(0);}
13.5678 -EOF
13.5679 -
13.5680 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.5681 - (eval $ac_compile) 2>&5
13.5682 - ac_status=$?
13.5683 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.5684 - (exit $ac_status); }; then
13.5685 - # Now try to grab the symbols.
13.5686 - nlist=conftest.nm
13.5687 - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
13.5688 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
13.5689 - ac_status=$?
13.5690 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.5691 - (exit $ac_status); } && test -s "$nlist"; then
13.5692 - # Try sorting and uniquifying the output.
13.5693 - if sort "$nlist" | uniq > "$nlist"T; then
13.5694 - mv -f "$nlist"T "$nlist"
13.5695 - else
13.5696 - rm -f "$nlist"T
13.5697 - fi
13.5698 -
13.5699 - # Make sure that we snagged all the symbols we need.
13.5700 - if grep ' nm_test_var$' "$nlist" >/dev/null; then
13.5701 - if grep ' nm_test_func$' "$nlist" >/dev/null; then
13.5702 - cat <<EOF > conftest.$ac_ext
13.5703 -#ifdef __cplusplus
13.5704 -extern "C" {
13.5705 -#endif
13.5706 -
13.5707 -EOF
13.5708 - # Now generate the symbol file.
13.5709 - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
13.5710 -
13.5711 - cat <<EOF >> conftest.$ac_ext
13.5712 -#if defined (__STDC__) && __STDC__
13.5713 -# define lt_ptr_t void *
13.5714 -#else
13.5715 -# define lt_ptr_t char *
13.5716 -# define const
13.5717 -#endif
13.5718 -
13.5719 -/* The mapping between symbol names and symbols. */
13.5720 -const struct {
13.5721 - const char *name;
13.5722 - lt_ptr_t address;
13.5723 -}
13.5724 -lt_preloaded_symbols[] =
13.5725 -{
13.5726 -EOF
13.5727 - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
13.5728 - cat <<\EOF >> conftest.$ac_ext
13.5729 - {0, (lt_ptr_t) 0}
13.5730 -};
13.5731 -
13.5732 -#ifdef __cplusplus
13.5733 -}
13.5734 -#endif
13.5735 -EOF
13.5736 - # Now try linking the two files.
13.5737 - mv conftest.$ac_objext conftstm.$ac_objext
13.5738 - lt_save_LIBS="$LIBS"
13.5739 - lt_save_CFLAGS="$CFLAGS"
13.5740 - LIBS="conftstm.$ac_objext"
13.5741 - CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13.5742 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.5743 - (eval $ac_link) 2>&5
13.5744 - ac_status=$?
13.5745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.5746 - (exit $ac_status); } && test -s conftest${ac_exeext}; then
13.5747 - pipe_works=yes
13.5748 - fi
13.5749 - LIBS="$lt_save_LIBS"
13.5750 - CFLAGS="$lt_save_CFLAGS"
13.5751 - else
13.5752 - echo "cannot find nm_test_func in $nlist" >&5
13.5753 - fi
13.5754 - else
13.5755 - echo "cannot find nm_test_var in $nlist" >&5
13.5756 - fi
13.5757 - else
13.5758 - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13.5759 - fi
13.5760 - else
13.5761 - echo "$progname: failed program was:" >&5
13.5762 - cat conftest.$ac_ext >&5
13.5763 - fi
13.5764 - rm -f conftest* conftst*
13.5765 -
13.5766 - # Do not use the global_symbol_pipe unless it works.
13.5767 - if test "$pipe_works" = yes; then
13.5768 - break
13.5769 - else
13.5770 - lt_cv_sys_global_symbol_pipe=
13.5771 - fi
13.5772 -done
13.5773 -
13.5774 -fi
13.5775 -
13.5776 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
13.5777 - lt_cv_sys_global_symbol_to_cdecl=
13.5778 -fi
13.5779 -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
13.5780 - echo "$as_me:$LINENO: result: failed" >&5
13.5781 -echo "${ECHO_T}failed" >&6
13.5782 -else
13.5783 - echo "$as_me:$LINENO: result: ok" >&5
13.5784 -echo "${ECHO_T}ok" >&6
13.5785 -fi
13.5786 -
13.5787 -echo "$as_me:$LINENO: checking for objdir" >&5
13.5788 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
13.5789 -if test "${lt_cv_objdir+set}" = set; then
13.5790 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.5791 -else
13.5792 - rm -f .libs 2>/dev/null
13.5793 -mkdir .libs 2>/dev/null
13.5794 -if test -d .libs; then
13.5795 - lt_cv_objdir=.libs
13.5796 -else
13.5797 - # MS-DOS does not allow filenames that begin with a dot.
13.5798 - lt_cv_objdir=_libs
13.5799 -fi
13.5800 -rmdir .libs 2>/dev/null
13.5801 -fi
13.5802 -echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
13.5803 -echo "${ECHO_T}$lt_cv_objdir" >&6
13.5804 -objdir=$lt_cv_objdir
13.5805 -
13.5806 -
13.5807 -
13.5808 -
13.5809 -
13.5810 -case $host_os in
13.5811 -aix3*)
13.5812 - # AIX sometimes has problems with the GCC collect2 program. For some
13.5813 - # reason, if we set the COLLECT_NAMES environment variable, the problems
13.5814 - # vanish in a puff of smoke.
13.5815 - if test "X${COLLECT_NAMES+set}" != Xset; then
13.5816 - COLLECT_NAMES=
13.5817 - export COLLECT_NAMES
13.5818 - fi
13.5819 - ;;
13.5820 -esac
13.5821 -
13.5822 -# Sed substitution that helps us do robust quoting. It backslashifies
13.5823 -# metacharacters that are still active within double-quoted strings.
13.5824 -Xsed='sed -e 1s/^X//'
13.5825 -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
13.5826 -
13.5827 -# Same as above, but do not quote variable references.
13.5828 -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
13.5829 -
13.5830 -# Sed substitution to delay expansion of an escaped shell variable in a
13.5831 -# double_quote_subst'ed string.
13.5832 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
13.5833 -
13.5834 -# Sed substitution to avoid accidental globbing in evaled expressions
13.5835 -no_glob_subst='s/\*/\\\*/g'
13.5836 -
13.5837 -# Constants:
13.5838 -rm="rm -f"
13.5839 -
13.5840 -# Global variables:
13.5841 -default_ofile=libtool
13.5842 -can_build_shared=yes
13.5843 -
13.5844 -# All known linkers require a `.a' archive for static linking (except MSVC,
13.5845 -# which needs '.lib').
13.5846 -libext=a
13.5847 -ltmain="$ac_aux_dir/ltmain.sh"
13.5848 -ofile="$default_ofile"
13.5849 -with_gnu_ld="$lt_cv_prog_gnu_ld"
13.5850 -
13.5851 -if test -n "$ac_tool_prefix"; then
13.5852 - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13.5853 -set dummy ${ac_tool_prefix}ar; ac_word=$2
13.5854 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.5855 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.5856 -if test "${ac_cv_prog_AR+set}" = set; then
13.5857 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.5858 -else
13.5859 - if test -n "$AR"; then
13.5860 - ac_cv_prog_AR="$AR" # Let the user override the test.
13.5861 -else
13.5862 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.5863 -for as_dir in $PATH
13.5864 -do
13.5865 - IFS=$as_save_IFS
13.5866 - test -z "$as_dir" && as_dir=.
13.5867 - for ac_exec_ext in '' $ac_executable_extensions; do
13.5868 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.5869 - ac_cv_prog_AR="${ac_tool_prefix}ar"
13.5870 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.5871 - break 2
13.5872 - fi
13.5873 -done
13.5874 -done
13.5875 -
13.5876 -fi
13.5877 -fi
13.5878 -AR=$ac_cv_prog_AR
13.5879 -if test -n "$AR"; then
13.5880 - echo "$as_me:$LINENO: result: $AR" >&5
13.5881 -echo "${ECHO_T}$AR" >&6
13.5882 -else
13.5883 - echo "$as_me:$LINENO: result: no" >&5
13.5884 -echo "${ECHO_T}no" >&6
13.5885 -fi
13.5886 -
13.5887 -fi
13.5888 -if test -z "$ac_cv_prog_AR"; then
13.5889 - ac_ct_AR=$AR
13.5890 - # Extract the first word of "ar", so it can be a program name with args.
13.5891 -set dummy ar; ac_word=$2
13.5892 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.5893 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.5894 -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13.5895 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.5896 -else
13.5897 - if test -n "$ac_ct_AR"; then
13.5898 - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13.5899 -else
13.5900 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.5901 -for as_dir in $PATH
13.5902 -do
13.5903 - IFS=$as_save_IFS
13.5904 - test -z "$as_dir" && as_dir=.
13.5905 - for ac_exec_ext in '' $ac_executable_extensions; do
13.5906 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.5907 - ac_cv_prog_ac_ct_AR="ar"
13.5908 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.5909 - break 2
13.5910 - fi
13.5911 -done
13.5912 -done
13.5913 -
13.5914 - test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
13.5915 -fi
13.5916 -fi
13.5917 -ac_ct_AR=$ac_cv_prog_ac_ct_AR
13.5918 -if test -n "$ac_ct_AR"; then
13.5919 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
13.5920 -echo "${ECHO_T}$ac_ct_AR" >&6
13.5921 -else
13.5922 - echo "$as_me:$LINENO: result: no" >&5
13.5923 -echo "${ECHO_T}no" >&6
13.5924 -fi
13.5925 -
13.5926 - AR=$ac_ct_AR
13.5927 -else
13.5928 - AR="$ac_cv_prog_AR"
13.5929 -fi
13.5930 -
13.5931 -if test -n "$ac_tool_prefix"; then
13.5932 - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13.5933 -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13.5934 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.5935 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.5936 -if test "${ac_cv_prog_RANLIB+set}" = set; then
13.5937 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.5938 -else
13.5939 - if test -n "$RANLIB"; then
13.5940 - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13.5941 -else
13.5942 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.5943 -for as_dir in $PATH
13.5944 -do
13.5945 - IFS=$as_save_IFS
13.5946 - test -z "$as_dir" && as_dir=.
13.5947 - for ac_exec_ext in '' $ac_executable_extensions; do
13.5948 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.5949 - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
13.5950 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.5951 - break 2
13.5952 - fi
13.5953 -done
13.5954 -done
13.5955 -
13.5956 -fi
13.5957 -fi
13.5958 -RANLIB=$ac_cv_prog_RANLIB
13.5959 -if test -n "$RANLIB"; then
13.5960 - echo "$as_me:$LINENO: result: $RANLIB" >&5
13.5961 -echo "${ECHO_T}$RANLIB" >&6
13.5962 -else
13.5963 - echo "$as_me:$LINENO: result: no" >&5
13.5964 -echo "${ECHO_T}no" >&6
13.5965 -fi
13.5966 -
13.5967 -fi
13.5968 -if test -z "$ac_cv_prog_RANLIB"; then
13.5969 - ac_ct_RANLIB=$RANLIB
13.5970 - # Extract the first word of "ranlib", so it can be a program name with args.
13.5971 -set dummy ranlib; ac_word=$2
13.5972 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.5973 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.5974 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13.5975 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.5976 -else
13.5977 - if test -n "$ac_ct_RANLIB"; then
13.5978 - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13.5979 -else
13.5980 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.5981 -for as_dir in $PATH
13.5982 -do
13.5983 - IFS=$as_save_IFS
13.5984 - test -z "$as_dir" && as_dir=.
13.5985 - for ac_exec_ext in '' $ac_executable_extensions; do
13.5986 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.5987 - ac_cv_prog_ac_ct_RANLIB="ranlib"
13.5988 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.5989 - break 2
13.5990 - fi
13.5991 -done
13.5992 -done
13.5993 -
13.5994 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
13.5995 -fi
13.5996 -fi
13.5997 -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13.5998 -if test -n "$ac_ct_RANLIB"; then
13.5999 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13.6000 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
13.6001 -else
13.6002 - echo "$as_me:$LINENO: result: no" >&5
13.6003 -echo "${ECHO_T}no" >&6
13.6004 -fi
13.6005 -
13.6006 - RANLIB=$ac_ct_RANLIB
13.6007 -else
13.6008 - RANLIB="$ac_cv_prog_RANLIB"
13.6009 -fi
13.6010 -
13.6011 -if test -n "$ac_tool_prefix"; then
13.6012 - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
13.6013 -set dummy ${ac_tool_prefix}strip; ac_word=$2
13.6014 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.6015 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.6016 -if test "${ac_cv_prog_STRIP+set}" = set; then
13.6017 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.6018 -else
13.6019 - if test -n "$STRIP"; then
13.6020 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13.6021 -else
13.6022 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.6023 -for as_dir in $PATH
13.6024 -do
13.6025 - IFS=$as_save_IFS
13.6026 - test -z "$as_dir" && as_dir=.
13.6027 - for ac_exec_ext in '' $ac_executable_extensions; do
13.6028 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.6029 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
13.6030 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.6031 - break 2
13.6032 - fi
13.6033 -done
13.6034 -done
13.6035 -
13.6036 -fi
13.6037 -fi
13.6038 -STRIP=$ac_cv_prog_STRIP
13.6039 -if test -n "$STRIP"; then
13.6040 - echo "$as_me:$LINENO: result: $STRIP" >&5
13.6041 -echo "${ECHO_T}$STRIP" >&6
13.6042 -else
13.6043 - echo "$as_me:$LINENO: result: no" >&5
13.6044 -echo "${ECHO_T}no" >&6
13.6045 -fi
13.6046 -
13.6047 -fi
13.6048 -if test -z "$ac_cv_prog_STRIP"; then
13.6049 - ac_ct_STRIP=$STRIP
13.6050 - # Extract the first word of "strip", so it can be a program name with args.
13.6051 -set dummy strip; ac_word=$2
13.6052 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.6053 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.6054 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
13.6055 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.6056 -else
13.6057 - if test -n "$ac_ct_STRIP"; then
13.6058 - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
13.6059 -else
13.6060 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.6061 -for as_dir in $PATH
13.6062 -do
13.6063 - IFS=$as_save_IFS
13.6064 - test -z "$as_dir" && as_dir=.
13.6065 - for ac_exec_ext in '' $ac_executable_extensions; do
13.6066 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.6067 - ac_cv_prog_ac_ct_STRIP="strip"
13.6068 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.6069 - break 2
13.6070 - fi
13.6071 -done
13.6072 -done
13.6073 -
13.6074 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
13.6075 -fi
13.6076 -fi
13.6077 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
13.6078 -if test -n "$ac_ct_STRIP"; then
13.6079 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
13.6080 -echo "${ECHO_T}$ac_ct_STRIP" >&6
13.6081 -else
13.6082 - echo "$as_me:$LINENO: result: no" >&5
13.6083 -echo "${ECHO_T}no" >&6
13.6084 -fi
13.6085 -
13.6086 - STRIP=$ac_ct_STRIP
13.6087 -else
13.6088 - STRIP="$ac_cv_prog_STRIP"
13.6089 -fi
13.6090 -
13.6091 -
13.6092 -old_CC="$CC"
13.6093 -old_CFLAGS="$CFLAGS"
13.6094 -
13.6095 -# Set sane defaults for various variables
13.6096 -test -z "$AR" && AR=ar
13.6097 -test -z "$AR_FLAGS" && AR_FLAGS=cru
13.6098 -test -z "$AS" && AS=as
13.6099 -test -z "$CC" && CC=cc
13.6100 -test -z "$LTCC" && LTCC=$CC
13.6101 -test -z "$DLLTOOL" && DLLTOOL=dlltool
13.6102 -test -z "$LD" && LD=ld
13.6103 -test -z "$LN_S" && LN_S="ln -s"
13.6104 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
13.6105 -test -z "$NM" && NM=nm
13.6106 -test -z "$SED" && SED=sed
13.6107 -test -z "$OBJDUMP" && OBJDUMP=objdump
13.6108 -test -z "$RANLIB" && RANLIB=:
13.6109 -test -z "$STRIP" && STRIP=:
13.6110 -test -z "$ac_objext" && ac_objext=o
13.6111 -
13.6112 -# Determine commands to create old-style static archives.
13.6113 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
13.6114 -old_postinstall_cmds='chmod 644 $oldlib'
13.6115 -old_postuninstall_cmds=
13.6116 -
13.6117 -if test -n "$RANLIB"; then
13.6118 - case $host_os in
13.6119 - openbsd*)
13.6120 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
13.6121 - ;;
13.6122 - *)
13.6123 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
13.6124 - ;;
13.6125 - esac
13.6126 - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
13.6127 -fi
13.6128 -
13.6129 -for cc_temp in $compiler""; do
13.6130 - case $cc_temp in
13.6131 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13.6132 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13.6133 - \-*) ;;
13.6134 - *) break;;
13.6135 - esac
13.6136 -done
13.6137 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13.6138 -
13.6139 -
13.6140 -# Only perform the check for file, if the check method requires it
13.6141 -case $deplibs_check_method in
13.6142 -file_magic*)
13.6143 - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
13.6144 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
13.6145 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
13.6146 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
13.6147 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.6148 -else
13.6149 - case $MAGIC_CMD in
13.6150 -[\\/*] | ?:[\\/]*)
13.6151 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
13.6152 - ;;
13.6153 -*)
13.6154 - lt_save_MAGIC_CMD="$MAGIC_CMD"
13.6155 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13.6156 - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
13.6157 - for ac_dir in $ac_dummy; do
13.6158 - IFS="$lt_save_ifs"
13.6159 - test -z "$ac_dir" && ac_dir=.
13.6160 - if test -f $ac_dir/${ac_tool_prefix}file; then
13.6161 - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
13.6162 - if test -n "$file_magic_test_file"; then
13.6163 - case $deplibs_check_method in
13.6164 - "file_magic "*)
13.6165 - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
13.6166 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13.6167 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
13.6168 - $EGREP "$file_magic_regex" > /dev/null; then
13.6169 - :
13.6170 - else
13.6171 - cat <<EOF 1>&2
13.6172 -
13.6173 -*** Warning: the command libtool uses to detect shared libraries,
13.6174 -*** $file_magic_cmd, produces output that libtool cannot recognize.
13.6175 -*** The result is that libtool may fail to recognize shared libraries
13.6176 -*** as such. This will affect the creation of libtool libraries that
13.6177 -*** depend on shared libraries, but programs linked with such libtool
13.6178 -*** libraries will work regardless of this problem. Nevertheless, you
13.6179 -*** may want to report the problem to your system manager and/or to
13.6180 -*** bug-libtool@gnu.org
13.6181 -
13.6182 -EOF
13.6183 - fi ;;
13.6184 - esac
13.6185 - fi
13.6186 - break
13.6187 - fi
13.6188 - done
13.6189 - IFS="$lt_save_ifs"
13.6190 - MAGIC_CMD="$lt_save_MAGIC_CMD"
13.6191 - ;;
13.6192 -esac
13.6193 -fi
13.6194 -
13.6195 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13.6196 -if test -n "$MAGIC_CMD"; then
13.6197 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
13.6198 -echo "${ECHO_T}$MAGIC_CMD" >&6
13.6199 -else
13.6200 - echo "$as_me:$LINENO: result: no" >&5
13.6201 -echo "${ECHO_T}no" >&6
13.6202 -fi
13.6203 -
13.6204 -if test -z "$lt_cv_path_MAGIC_CMD"; then
13.6205 - if test -n "$ac_tool_prefix"; then
13.6206 - echo "$as_me:$LINENO: checking for file" >&5
13.6207 -echo $ECHO_N "checking for file... $ECHO_C" >&6
13.6208 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
13.6209 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.6210 -else
13.6211 - case $MAGIC_CMD in
13.6212 -[\\/*] | ?:[\\/]*)
13.6213 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
13.6214 - ;;
13.6215 -*)
13.6216 - lt_save_MAGIC_CMD="$MAGIC_CMD"
13.6217 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13.6218 - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
13.6219 - for ac_dir in $ac_dummy; do
13.6220 - IFS="$lt_save_ifs"
13.6221 - test -z "$ac_dir" && ac_dir=.
13.6222 - if test -f $ac_dir/file; then
13.6223 - lt_cv_path_MAGIC_CMD="$ac_dir/file"
13.6224 - if test -n "$file_magic_test_file"; then
13.6225 - case $deplibs_check_method in
13.6226 - "file_magic "*)
13.6227 - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
13.6228 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13.6229 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
13.6230 - $EGREP "$file_magic_regex" > /dev/null; then
13.6231 - :
13.6232 - else
13.6233 - cat <<EOF 1>&2
13.6234 -
13.6235 -*** Warning: the command libtool uses to detect shared libraries,
13.6236 -*** $file_magic_cmd, produces output that libtool cannot recognize.
13.6237 -*** The result is that libtool may fail to recognize shared libraries
13.6238 -*** as such. This will affect the creation of libtool libraries that
13.6239 -*** depend on shared libraries, but programs linked with such libtool
13.6240 -*** libraries will work regardless of this problem. Nevertheless, you
13.6241 -*** may want to report the problem to your system manager and/or to
13.6242 -*** bug-libtool@gnu.org
13.6243 -
13.6244 -EOF
13.6245 - fi ;;
13.6246 - esac
13.6247 - fi
13.6248 - break
13.6249 - fi
13.6250 - done
13.6251 - IFS="$lt_save_ifs"
13.6252 - MAGIC_CMD="$lt_save_MAGIC_CMD"
13.6253 - ;;
13.6254 -esac
13.6255 -fi
13.6256 -
13.6257 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
13.6258 -if test -n "$MAGIC_CMD"; then
13.6259 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
13.6260 -echo "${ECHO_T}$MAGIC_CMD" >&6
13.6261 -else
13.6262 - echo "$as_me:$LINENO: result: no" >&5
13.6263 -echo "${ECHO_T}no" >&6
13.6264 -fi
13.6265 -
13.6266 - else
13.6267 - MAGIC_CMD=:
13.6268 - fi
13.6269 -fi
13.6270 -
13.6271 - fi
13.6272 - ;;
13.6273 -esac
13.6274 -
13.6275 -enable_dlopen=no
13.6276 -enable_win32_dll=no
13.6277 -
13.6278 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
13.6279 -if test "${enable_libtool_lock+set}" = set; then
13.6280 - enableval="$enable_libtool_lock"
13.6281 -
13.6282 -fi;
13.6283 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
13.6284 -
13.6285 -
13.6286 -# Check whether --with-pic or --without-pic was given.
13.6287 -if test "${with_pic+set}" = set; then
13.6288 - withval="$with_pic"
13.6289 - pic_mode="$withval"
13.6290 -else
13.6291 - pic_mode=default
13.6292 -fi;
13.6293 -test -z "$pic_mode" && pic_mode=default
13.6294 -
13.6295 -# Use C for the default configuration in the libtool script
13.6296 -tagname=
13.6297 -lt_save_CC="$CC"
13.6298 -ac_ext=c
13.6299 -ac_cpp='$CPP $CPPFLAGS'
13.6300 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.6301 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.6302 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.6303 -
13.6304 -
13.6305 -# Source file extension for C test sources.
13.6306 -ac_ext=c
13.6307 -
13.6308 -# Object file extension for compiled C test sources.
13.6309 -objext=o
13.6310 -objext=$objext
13.6311 -
13.6312 -# Code to be used in simple compile tests
13.6313 -lt_simple_compile_test_code="int some_variable = 0;\n"
13.6314 -
13.6315 -# Code to be used in simple link tests
13.6316 -lt_simple_link_test_code='int main(){return(0);}\n'
13.6317 -
13.6318 -
13.6319 -# If no C compiler was specified, use CC.
13.6320 -LTCC=${LTCC-"$CC"}
13.6321 -
13.6322 -# Allow CC to be a program name with arguments.
13.6323 -compiler=$CC
13.6324 -
13.6325 -
13.6326 -# save warnings/boilerplate of simple test code
13.6327 -ac_outfile=conftest.$ac_objext
13.6328 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13.6329 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13.6330 -_lt_compiler_boilerplate=`cat conftest.err`
13.6331 -$rm conftest*
13.6332 -
13.6333 -ac_outfile=conftest.$ac_objext
13.6334 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
13.6335 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13.6336 -_lt_linker_boilerplate=`cat conftest.err`
13.6337 -$rm conftest*
13.6338 -
13.6339 -
13.6340 -#
13.6341 -# Check for any special shared library compilation flags.
13.6342 -#
13.6343 -lt_prog_cc_shlib=
13.6344 -if test "$GCC" = no; then
13.6345 - case $host_os in
13.6346 - sco3.2v5*)
13.6347 - lt_prog_cc_shlib='-belf'
13.6348 - ;;
13.6349 - esac
13.6350 -fi
13.6351 -if test -n "$lt_prog_cc_shlib"; then
13.6352 - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
13.6353 -echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
13.6354 - if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
13.6355 - else
13.6356 - { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
13.6357 -echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
13.6358 - lt_cv_prog_cc_can_build_shared=no
13.6359 - fi
13.6360 -fi
13.6361 -
13.6362 -
13.6363 -#
13.6364 -# Check to make sure the static flag actually works.
13.6365 -#
13.6366 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
13.6367 -echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
13.6368 -if test "${lt_prog_compiler_static_works+set}" = set; then
13.6369 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.6370 -else
13.6371 - lt_prog_compiler_static_works=no
13.6372 - save_LDFLAGS="$LDFLAGS"
13.6373 - LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
13.6374 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
13.6375 - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13.6376 - # The linker can only warn and ignore the option if not recognized
13.6377 - # So say no if there are warnings
13.6378 - if test -s conftest.err; then
13.6379 - # Append any errors to the config.log.
13.6380 - cat conftest.err 1>&5
13.6381 - $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
13.6382 - $SED '/^$/d' conftest.err >conftest.er2
13.6383 - if diff conftest.exp conftest.er2 >/dev/null; then
13.6384 - lt_prog_compiler_static_works=yes
13.6385 - fi
13.6386 - else
13.6387 - lt_prog_compiler_static_works=yes
13.6388 - fi
13.6389 - fi
13.6390 - $rm conftest*
13.6391 - LDFLAGS="$save_LDFLAGS"
13.6392 -
13.6393 -fi
13.6394 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
13.6395 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
13.6396 -
13.6397 -if test x"$lt_prog_compiler_static_works" = xyes; then
13.6398 - :
13.6399 -else
13.6400 - lt_prog_compiler_static=
13.6401 -fi
13.6402 -
13.6403 -
13.6404 -
13.6405 -
13.6406 -lt_prog_compiler_no_builtin_flag=
13.6407 -
13.6408 -if test "$GCC" = yes; then
13.6409 - lt_prog_compiler_no_builtin_flag=' -fno-builtin'
13.6410 -
13.6411 -
13.6412 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
13.6413 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
13.6414 -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
13.6415 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.6416 -else
13.6417 - lt_cv_prog_compiler_rtti_exceptions=no
13.6418 - ac_outfile=conftest.$ac_objext
13.6419 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13.6420 - lt_compiler_flag="-fno-rtti -fno-exceptions"
13.6421 - # Insert the option either (1) after the last *FLAGS variable, or
13.6422 - # (2) before a word containing "conftest.", or (3) at the end.
13.6423 - # Note that $ac_compile itself does not contain backslashes and begins
13.6424 - # with a dollar sign (not a hyphen), so the echo should work correctly.
13.6425 - # The option is referenced via a variable to avoid confusing sed.
13.6426 - lt_compile=`echo "$ac_compile" | $SED \
13.6427 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13.6428 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13.6429 - -e 's:$: $lt_compiler_flag:'`
13.6430 - (eval echo "\"\$as_me:6427: $lt_compile\"" >&5)
13.6431 - (eval "$lt_compile" 2>conftest.err)
13.6432 - ac_status=$?
13.6433 - cat conftest.err >&5
13.6434 - echo "$as_me:6431: \$? = $ac_status" >&5
13.6435 - if (exit $ac_status) && test -s "$ac_outfile"; then
13.6436 - # The compiler can only warn and ignore the option if not recognized
13.6437 - # So say no if there are warnings other than the usual output.
13.6438 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
13.6439 - $SED '/^$/d' conftest.err >conftest.er2
13.6440 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
13.6441 - lt_cv_prog_compiler_rtti_exceptions=yes
13.6442 - fi
13.6443 - fi
13.6444 - $rm conftest*
13.6445 -
13.6446 -fi
13.6447 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
13.6448 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
13.6449 -
13.6450 -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
13.6451 - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
13.6452 -else
13.6453 - :
13.6454 -fi
13.6455 -
13.6456 -fi
13.6457 -
13.6458 -lt_prog_compiler_wl=
13.6459 -lt_prog_compiler_pic=
13.6460 -lt_prog_compiler_static=
13.6461 -
13.6462 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13.6463 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13.6464 -
13.6465 - if test "$GCC" = yes; then
13.6466 - lt_prog_compiler_wl='-Wl,'
13.6467 - lt_prog_compiler_static='-static'
13.6468 -
13.6469 - case $host_os in
13.6470 - aix*)
13.6471 - # All AIX code is PIC.
13.6472 - if test "$host_cpu" = ia64; then
13.6473 - # AIX 5 now supports IA64 processor
13.6474 - lt_prog_compiler_static='-Bstatic'
13.6475 - fi
13.6476 - ;;
13.6477 -
13.6478 - amigaos*)
13.6479 - # FIXME: we need at least 68020 code to build shared libraries, but
13.6480 - # adding the `-m68020' flag to GCC prevents building anything better,
13.6481 - # like `-m68040'.
13.6482 - lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13.6483 - ;;
13.6484 -
13.6485 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13.6486 - # PIC is the default for these OSes.
13.6487 - ;;
13.6488 -
13.6489 - mingw* | pw32* | os2*)
13.6490 - # This hack is so that the source file can tell whether it is being
13.6491 - # built for inclusion in a dll (and should export symbols for example).
13.6492 - lt_prog_compiler_pic='-DDLL_EXPORT'
13.6493 - ;;
13.6494 -
13.6495 - darwin* | rhapsody*)
13.6496 - # PIC is the default on this platform
13.6497 - # Common symbols not allowed in MH_DYLIB files
13.6498 - lt_prog_compiler_pic='-fno-common'
13.6499 - ;;
13.6500 -
13.6501 - msdosdjgpp*)
13.6502 - # Just because we use GCC doesn't mean we suddenly get shared libraries
13.6503 - # on systems that don't support them.
13.6504 - lt_prog_compiler_can_build_shared=no
13.6505 - enable_shared=no
13.6506 - ;;
13.6507 -
13.6508 - sysv4*MP*)
13.6509 - if test -d /usr/nec; then
13.6510 - lt_prog_compiler_pic=-Kconform_pic
13.6511 - fi
13.6512 - ;;
13.6513 -
13.6514 - hpux*)
13.6515 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13.6516 - # not for PA HP-UX.
13.6517 - case $host_cpu in
13.6518 - hppa*64*|ia64*)
13.6519 - # +Z the default
13.6520 - ;;
13.6521 - *)
13.6522 - lt_prog_compiler_pic='-fPIC'
13.6523 - ;;
13.6524 - esac
13.6525 - ;;
13.6526 -
13.6527 - *)
13.6528 - lt_prog_compiler_pic='-fPIC'
13.6529 - ;;
13.6530 - esac
13.6531 - else
13.6532 - # PORTME Check for flag to pass linker flags through the system compiler.
13.6533 - case $host_os in
13.6534 - aix*)
13.6535 - lt_prog_compiler_wl='-Wl,'
13.6536 - if test "$host_cpu" = ia64; then
13.6537 - # AIX 5 now supports IA64 processor
13.6538 - lt_prog_compiler_static='-Bstatic'
13.6539 - else
13.6540 - lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13.6541 - fi
13.6542 - ;;
13.6543 - darwin*)
13.6544 - # PIC is the default on this platform
13.6545 - # Common symbols not allowed in MH_DYLIB files
13.6546 - case $cc_basename in
13.6547 - xlc*)
13.6548 - lt_prog_compiler_pic='-qnocommon'
13.6549 - lt_prog_compiler_wl='-Wl,'
13.6550 - ;;
13.6551 - esac
13.6552 - ;;
13.6553 -
13.6554 - mingw* | pw32* | os2*)
13.6555 - # This hack is so that the source file can tell whether it is being
13.6556 - # built for inclusion in a dll (and should export symbols for example).
13.6557 - lt_prog_compiler_pic='-DDLL_EXPORT'
13.6558 - ;;
13.6559 -
13.6560 - hpux9* | hpux10* | hpux11*)
13.6561 - lt_prog_compiler_wl='-Wl,'
13.6562 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13.6563 - # not for PA HP-UX.
13.6564 - case $host_cpu in
13.6565 - hppa*64*|ia64*)
13.6566 - # +Z the default
13.6567 - ;;
13.6568 - *)
13.6569 - lt_prog_compiler_pic='+Z'
13.6570 - ;;
13.6571 - esac
13.6572 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
13.6573 - lt_prog_compiler_static='${wl}-a ${wl}archive'
13.6574 - ;;
13.6575 -
13.6576 - irix5* | irix6* | nonstopux*)
13.6577 - lt_prog_compiler_wl='-Wl,'
13.6578 - # PIC (with -KPIC) is the default.
13.6579 - lt_prog_compiler_static='-non_shared'
13.6580 - ;;
13.6581 -
13.6582 - newsos6)
13.6583 - lt_prog_compiler_pic='-KPIC'
13.6584 - lt_prog_compiler_static='-Bstatic'
13.6585 - ;;
13.6586 -
13.6587 - linux*)
13.6588 - case $cc_basename in
13.6589 - icc* | ecc*)
13.6590 - lt_prog_compiler_wl='-Wl,'
13.6591 - lt_prog_compiler_pic='-KPIC'
13.6592 - lt_prog_compiler_static='-static'
13.6593 - ;;
13.6594 - pgcc* | pgf77* | pgf90* | pgf95*)
13.6595 - # Portland Group compilers (*not* the Pentium gcc compiler,
13.6596 - # which looks to be a dead project)
13.6597 - lt_prog_compiler_wl='-Wl,'
13.6598 - lt_prog_compiler_pic='-fpic'
13.6599 - lt_prog_compiler_static='-Bstatic'
13.6600 - ;;
13.6601 - ccc*)
13.6602 - lt_prog_compiler_wl='-Wl,'
13.6603 - # All Alpha code is PIC.
13.6604 - lt_prog_compiler_static='-non_shared'
13.6605 - ;;
13.6606 - esac
13.6607 - ;;
13.6608 -
13.6609 - osf3* | osf4* | osf5*)
13.6610 - lt_prog_compiler_wl='-Wl,'
13.6611 - # All OSF/1 code is PIC.
13.6612 - lt_prog_compiler_static='-non_shared'
13.6613 - ;;
13.6614 -
13.6615 - sco3.2v5*)
13.6616 - lt_prog_compiler_pic='-Kpic'
13.6617 - lt_prog_compiler_static='-dn'
13.6618 - ;;
13.6619 -
13.6620 - solaris*)
13.6621 - lt_prog_compiler_pic='-KPIC'
13.6622 - lt_prog_compiler_static='-Bstatic'
13.6623 - case $cc_basename in
13.6624 - f77* | f90* | f95*)
13.6625 - lt_prog_compiler_wl='-Qoption ld ';;
13.6626 - *)
13.6627 - lt_prog_compiler_wl='-Wl,';;
13.6628 - esac
13.6629 - ;;
13.6630 -
13.6631 - sunos4*)
13.6632 - lt_prog_compiler_wl='-Qoption ld '
13.6633 - lt_prog_compiler_pic='-PIC'
13.6634 - lt_prog_compiler_static='-Bstatic'
13.6635 - ;;
13.6636 -
13.6637 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13.6638 - lt_prog_compiler_wl='-Wl,'
13.6639 - lt_prog_compiler_pic='-KPIC'
13.6640 - lt_prog_compiler_static='-Bstatic'
13.6641 - ;;
13.6642 -
13.6643 - sysv4*MP*)
13.6644 - if test -d /usr/nec ;then
13.6645 - lt_prog_compiler_pic='-Kconform_pic'
13.6646 - lt_prog_compiler_static='-Bstatic'
13.6647 - fi
13.6648 - ;;
13.6649 -
13.6650 - unicos*)
13.6651 - lt_prog_compiler_wl='-Wl,'
13.6652 - lt_prog_compiler_can_build_shared=no
13.6653 - ;;
13.6654 -
13.6655 - uts4*)
13.6656 - lt_prog_compiler_pic='-pic'
13.6657 - lt_prog_compiler_static='-Bstatic'
13.6658 - ;;
13.6659 -
13.6660 - *)
13.6661 - lt_prog_compiler_can_build_shared=no
13.6662 - ;;
13.6663 - esac
13.6664 - fi
13.6665 -
13.6666 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
13.6667 -echo "${ECHO_T}$lt_prog_compiler_pic" >&6
13.6668 -
13.6669 -#
13.6670 -# Check to make sure the PIC flag actually works.
13.6671 -#
13.6672 -if test -n "$lt_prog_compiler_pic"; then
13.6673 -
13.6674 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
13.6675 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
13.6676 -if test "${lt_prog_compiler_pic_works+set}" = set; then
13.6677 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.6678 -else
13.6679 - lt_prog_compiler_pic_works=no
13.6680 - ac_outfile=conftest.$ac_objext
13.6681 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13.6682 - lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
13.6683 - # Insert the option either (1) after the last *FLAGS variable, or
13.6684 - # (2) before a word containing "conftest.", or (3) at the end.
13.6685 - # Note that $ac_compile itself does not contain backslashes and begins
13.6686 - # with a dollar sign (not a hyphen), so the echo should work correctly.
13.6687 - # The option is referenced via a variable to avoid confusing sed.
13.6688 - lt_compile=`echo "$ac_compile" | $SED \
13.6689 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13.6690 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13.6691 - -e 's:$: $lt_compiler_flag:'`
13.6692 - (eval echo "\"\$as_me:6689: $lt_compile\"" >&5)
13.6693 - (eval "$lt_compile" 2>conftest.err)
13.6694 - ac_status=$?
13.6695 - cat conftest.err >&5
13.6696 - echo "$as_me:6693: \$? = $ac_status" >&5
13.6697 - if (exit $ac_status) && test -s "$ac_outfile"; then
13.6698 - # The compiler can only warn and ignore the option if not recognized
13.6699 - # So say no if there are warnings other than the usual output.
13.6700 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
13.6701 - $SED '/^$/d' conftest.err >conftest.er2
13.6702 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
13.6703 - lt_prog_compiler_pic_works=yes
13.6704 - fi
13.6705 - fi
13.6706 - $rm conftest*
13.6707 -
13.6708 -fi
13.6709 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
13.6710 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
13.6711 -
13.6712 -if test x"$lt_prog_compiler_pic_works" = xyes; then
13.6713 - case $lt_prog_compiler_pic in
13.6714 - "" | " "*) ;;
13.6715 - *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
13.6716 - esac
13.6717 -else
13.6718 - lt_prog_compiler_pic=
13.6719 - lt_prog_compiler_can_build_shared=no
13.6720 -fi
13.6721 -
13.6722 -fi
13.6723 -case $host_os in
13.6724 - # For platforms which do not support PIC, -DPIC is meaningless:
13.6725 - *djgpp*)
13.6726 - lt_prog_compiler_pic=
13.6727 - ;;
13.6728 - *)
13.6729 - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13.6730 - ;;
13.6731 -esac
13.6732 -
13.6733 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13.6734 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13.6735 -if test "${lt_cv_prog_compiler_c_o+set}" = set; then
13.6736 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.6737 -else
13.6738 - lt_cv_prog_compiler_c_o=no
13.6739 - $rm -r conftest 2>/dev/null
13.6740 - mkdir conftest
13.6741 - cd conftest
13.6742 - mkdir out
13.6743 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13.6744 -
13.6745 - lt_compiler_flag="-o out/conftest2.$ac_objext"
13.6746 - # Insert the option either (1) after the last *FLAGS variable, or
13.6747 - # (2) before a word containing "conftest.", or (3) at the end.
13.6748 - # Note that $ac_compile itself does not contain backslashes and begins
13.6749 - # with a dollar sign (not a hyphen), so the echo should work correctly.
13.6750 - lt_compile=`echo "$ac_compile" | $SED \
13.6751 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13.6752 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13.6753 - -e 's:$: $lt_compiler_flag:'`
13.6754 - (eval echo "\"\$as_me:6751: $lt_compile\"" >&5)
13.6755 - (eval "$lt_compile" 2>out/conftest.err)
13.6756 - ac_status=$?
13.6757 - cat out/conftest.err >&5
13.6758 - echo "$as_me:6755: \$? = $ac_status" >&5
13.6759 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
13.6760 - then
13.6761 - # The compiler can only warn and ignore the option if not recognized
13.6762 - # So say no if there are warnings
13.6763 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
13.6764 - $SED '/^$/d' out/conftest.err >out/conftest.er2
13.6765 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13.6766 - lt_cv_prog_compiler_c_o=yes
13.6767 - fi
13.6768 - fi
13.6769 - chmod u+w . 2>&5
13.6770 - $rm conftest*
13.6771 - # SGI C++ compiler will create directory out/ii_files/ for
13.6772 - # template instantiation
13.6773 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13.6774 - $rm out/* && rmdir out
13.6775 - cd ..
13.6776 - rmdir conftest
13.6777 - $rm conftest*
13.6778 -
13.6779 -fi
13.6780 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
13.6781 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
13.6782 -
13.6783 -
13.6784 -hard_links="nottested"
13.6785 -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
13.6786 - # do not overwrite the value of need_locks provided by the user
13.6787 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13.6788 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13.6789 - hard_links=yes
13.6790 - $rm conftest*
13.6791 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
13.6792 - touch conftest.a
13.6793 - ln conftest.a conftest.b 2>&5 || hard_links=no
13.6794 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
13.6795 - echo "$as_me:$LINENO: result: $hard_links" >&5
13.6796 -echo "${ECHO_T}$hard_links" >&6
13.6797 - if test "$hard_links" = no; then
13.6798 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13.6799 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13.6800 - need_locks=warn
13.6801 - fi
13.6802 -else
13.6803 - need_locks=no
13.6804 -fi
13.6805 -
13.6806 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13.6807 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13.6808 -
13.6809 - runpath_var=
13.6810 - allow_undefined_flag=
13.6811 - enable_shared_with_static_runtimes=no
13.6812 - archive_cmds=
13.6813 - archive_expsym_cmds=
13.6814 - old_archive_From_new_cmds=
13.6815 - old_archive_from_expsyms_cmds=
13.6816 - export_dynamic_flag_spec=
13.6817 - whole_archive_flag_spec=
13.6818 - thread_safe_flag_spec=
13.6819 - hardcode_libdir_flag_spec=
13.6820 - hardcode_libdir_flag_spec_ld=
13.6821 - hardcode_libdir_separator=
13.6822 - hardcode_direct=no
13.6823 - hardcode_minus_L=no
13.6824 - hardcode_shlibpath_var=unsupported
13.6825 - link_all_deplibs=unknown
13.6826 - hardcode_automatic=no
13.6827 - module_cmds=
13.6828 - module_expsym_cmds=
13.6829 - always_export_symbols=no
13.6830 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13.6831 - # include_expsyms should be a list of space-separated symbols to be *always*
13.6832 - # included in the symbol list
13.6833 - include_expsyms=
13.6834 - # exclude_expsyms can be an extended regexp of symbols to exclude
13.6835 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
13.6836 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13.6837 - # as well as any symbol that contains `d'.
13.6838 - exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
13.6839 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13.6840 - # platforms (ab)use it in PIC code, but their linkers get confused if
13.6841 - # the symbol is explicitly referenced. Since portable code cannot
13.6842 - # rely on this symbol name, it's probably fine to never include it in
13.6843 - # preloaded symbol tables.
13.6844 - extract_expsyms_cmds=
13.6845 - # Just being paranoid about ensuring that cc_basename is set.
13.6846 - for cc_temp in $compiler""; do
13.6847 - case $cc_temp in
13.6848 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13.6849 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13.6850 - \-*) ;;
13.6851 - *) break;;
13.6852 - esac
13.6853 -done
13.6854 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13.6855 -
13.6856 - case $host_os in
13.6857 - cygwin* | mingw* | pw32*)
13.6858 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
13.6859 - # When not using gcc, we currently assume that we are using
13.6860 - # Microsoft Visual C++.
13.6861 - if test "$GCC" != yes; then
13.6862 - with_gnu_ld=no
13.6863 - fi
13.6864 - ;;
13.6865 - openbsd*)
13.6866 - with_gnu_ld=no
13.6867 - ;;
13.6868 - esac
13.6869 -
13.6870 - ld_shlibs=yes
13.6871 - if test "$with_gnu_ld" = yes; then
13.6872 - # If archive_cmds runs LD, not CC, wlarc should be empty
13.6873 - wlarc='${wl}'
13.6874 -
13.6875 - # Set some defaults for GNU ld with shared library support. These
13.6876 - # are reset later if shared libraries are not supported. Putting them
13.6877 - # here allows them to be overridden if necessary.
13.6878 - runpath_var=LD_RUN_PATH
13.6879 - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
13.6880 - export_dynamic_flag_spec='${wl}--export-dynamic'
13.6881 - # ancient GNU ld didn't support --whole-archive et. al.
13.6882 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13.6883 - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13.6884 - else
13.6885 - whole_archive_flag_spec=
13.6886 - fi
13.6887 - supports_anon_versioning=no
13.6888 - case `$LD -v 2>/dev/null` in
13.6889 - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13.6890 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13.6891 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13.6892 - *\ 2.11.*) ;; # other 2.11 versions
13.6893 - *) supports_anon_versioning=yes ;;
13.6894 - esac
13.6895 -
13.6896 - # See if GNU ld supports shared libraries.
13.6897 - case $host_os in
13.6898 - aix3* | aix4* | aix5*)
13.6899 - # On AIX/PPC, the GNU linker is very broken
13.6900 - if test "$host_cpu" != ia64; then
13.6901 - ld_shlibs=no
13.6902 - cat <<EOF 1>&2
13.6903 -
13.6904 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
13.6905 -*** to be unable to reliably create shared libraries on AIX.
13.6906 -*** Therefore, libtool is disabling shared libraries support. If you
13.6907 -*** really care for shared libraries, you may want to modify your PATH
13.6908 -*** so that a non-GNU linker is found, and then restart.
13.6909 -
13.6910 -EOF
13.6911 - fi
13.6912 - ;;
13.6913 -
13.6914 - amigaos*)
13.6915 - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
13.6916 - hardcode_libdir_flag_spec='-L$libdir'
13.6917 - hardcode_minus_L=yes
13.6918 -
13.6919 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13.6920 - # that the semantics of dynamic libraries on AmigaOS, at least up
13.6921 - # to version 4, is to share data among multiple programs linked
13.6922 - # with the same dynamic library. Since this doesn't match the
13.6923 - # behavior of shared libraries on other platforms, we can't use
13.6924 - # them.
13.6925 - ld_shlibs=no
13.6926 - ;;
13.6927 -
13.6928 - beos*)
13.6929 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13.6930 - allow_undefined_flag=unsupported
13.6931 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13.6932 - # support --undefined. This deserves some investigation. FIXME
13.6933 - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.6934 - else
13.6935 - ld_shlibs=no
13.6936 - fi
13.6937 - ;;
13.6938 -
13.6939 - cygwin* | mingw* | pw32*)
13.6940 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
13.6941 - # as there is no search path for DLLs.
13.6942 - hardcode_libdir_flag_spec='-L$libdir'
13.6943 - allow_undefined_flag=unsupported
13.6944 - always_export_symbols=no
13.6945 - enable_shared_with_static_runtimes=yes
13.6946 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13.6947 -
13.6948 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13.6949 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13.6950 - # If the export-symbols file already is a .def file (1st line
13.6951 - # is EXPORTS), use it as is; otherwise, prepend...
13.6952 - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13.6953 - cp $export_symbols $output_objdir/$soname.def;
13.6954 - else
13.6955 - echo EXPORTS > $output_objdir/$soname.def;
13.6956 - cat $export_symbols >> $output_objdir/$soname.def;
13.6957 - fi~
13.6958 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13.6959 - else
13.6960 - ld_shlibs=no
13.6961 - fi
13.6962 - ;;
13.6963 -
13.6964 - linux*)
13.6965 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13.6966 - tmp_addflag=
13.6967 - case $cc_basename,$host_cpu in
13.6968 - pgcc*) # Portland Group C compiler
13.6969 - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13.6970 - tmp_addflag=' $pic_flag'
13.6971 - ;;
13.6972 - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
13.6973 - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13.6974 - tmp_addflag=' $pic_flag -Mnomain' ;;
13.6975 - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13.6976 - tmp_addflag=' -i_dynamic' ;;
13.6977 - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13.6978 - tmp_addflag=' -i_dynamic -nofor_main' ;;
13.6979 - ifc* | ifort*) # Intel Fortran compiler
13.6980 - tmp_addflag=' -nofor_main' ;;
13.6981 - esac
13.6982 - archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.6983 -
13.6984 - if test $supports_anon_versioning = yes; then
13.6985 - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
13.6986 - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13.6987 - $echo "local: *; };" >> $output_objdir/$libname.ver~
13.6988 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13.6989 - fi
13.6990 - else
13.6991 - ld_shlibs=no
13.6992 - fi
13.6993 - ;;
13.6994 -
13.6995 - netbsd*)
13.6996 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13.6997 - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13.6998 - wlarc=
13.6999 - else
13.7000 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.7001 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13.7002 - fi
13.7003 - ;;
13.7004 -
13.7005 - solaris* | sysv5*)
13.7006 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13.7007 - ld_shlibs=no
13.7008 - cat <<EOF 1>&2
13.7009 -
13.7010 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
13.7011 -*** create shared libraries on Solaris systems. Therefore, libtool
13.7012 -*** is disabling shared libraries support. We urge you to upgrade GNU
13.7013 -*** binutils to release 2.9.1 or newer. Another option is to modify
13.7014 -*** your PATH or compiler configuration so that the native linker is
13.7015 -*** used, and then restart.
13.7016 -
13.7017 -EOF
13.7018 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13.7019 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.7020 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13.7021 - else
13.7022 - ld_shlibs=no
13.7023 - fi
13.7024 - ;;
13.7025 -
13.7026 - sunos4*)
13.7027 - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13.7028 - wlarc=
13.7029 - hardcode_direct=yes
13.7030 - hardcode_shlibpath_var=no
13.7031 - ;;
13.7032 -
13.7033 - *)
13.7034 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13.7035 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.7036 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13.7037 - else
13.7038 - ld_shlibs=no
13.7039 - fi
13.7040 - ;;
13.7041 - esac
13.7042 -
13.7043 - if test "$ld_shlibs" = no; then
13.7044 - runpath_var=
13.7045 - hardcode_libdir_flag_spec=
13.7046 - export_dynamic_flag_spec=
13.7047 - whole_archive_flag_spec=
13.7048 - fi
13.7049 - else
13.7050 - # PORTME fill in a description of your system's linker (not GNU ld)
13.7051 - case $host_os in
13.7052 - aix3*)
13.7053 - allow_undefined_flag=unsupported
13.7054 - always_export_symbols=yes
13.7055 - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
13.7056 - # Note: this linker hardcodes the directories in LIBPATH if there
13.7057 - # are no directories specified by -L.
13.7058 - hardcode_minus_L=yes
13.7059 - if test "$GCC" = yes && test -z "$link_static_flag"; then
13.7060 - # Neither direct hardcoding nor static linking is supported with a
13.7061 - # broken collect2.
13.7062 - hardcode_direct=unsupported
13.7063 - fi
13.7064 - ;;
13.7065 -
13.7066 - aix4* | aix5*)
13.7067 - if test "$host_cpu" = ia64; then
13.7068 - # On IA64, the linker does run time linking by default, so we don't
13.7069 - # have to do anything special.
13.7070 - aix_use_runtimelinking=no
13.7071 - exp_sym_flag='-Bexport'
13.7072 - no_entry_flag=""
13.7073 - else
13.7074 - # If we're using GNU nm, then we don't want the "-C" option.
13.7075 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
13.7076 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13.7077 - export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13.7078 - else
13.7079 - export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13.7080 - fi
13.7081 - aix_use_runtimelinking=no
13.7082 -
13.7083 - # Test if we are trying to use run time linking or normal
13.7084 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13.7085 - # need to do runtime linking.
13.7086 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13.7087 - for ld_flag in $LDFLAGS; do
13.7088 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13.7089 - aix_use_runtimelinking=yes
13.7090 - break
13.7091 - fi
13.7092 - done
13.7093 - esac
13.7094 -
13.7095 - exp_sym_flag='-bexport'
13.7096 - no_entry_flag='-bnoentry'
13.7097 - fi
13.7098 -
13.7099 - # When large executables or shared objects are built, AIX ld can
13.7100 - # have problems creating the table of contents. If linking a library
13.7101 - # or program results in "error TOC overflow" add -mminimal-toc to
13.7102 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13.7103 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13.7104 -
13.7105 - archive_cmds=''
13.7106 - hardcode_direct=yes
13.7107 - hardcode_libdir_separator=':'
13.7108 - link_all_deplibs=yes
13.7109 -
13.7110 - if test "$GCC" = yes; then
13.7111 - case $host_os in aix4.[012]|aix4.[012].*)
13.7112 - # We only want to do this on AIX 4.2 and lower, the check
13.7113 - # below for broken collect2 doesn't work under 4.3+
13.7114 - collect2name=`${CC} -print-prog-name=collect2`
13.7115 - if test -f "$collect2name" && \
13.7116 - strings "$collect2name" | grep resolve_lib_name >/dev/null
13.7117 - then
13.7118 - # We have reworked collect2
13.7119 - hardcode_direct=yes
13.7120 - else
13.7121 - # We have old collect2
13.7122 - hardcode_direct=unsupported
13.7123 - # It fails to find uninstalled libraries when the uninstalled
13.7124 - # path is not listed in the libpath. Setting hardcode_minus_L
13.7125 - # to unsupported forces relinking
13.7126 - hardcode_minus_L=yes
13.7127 - hardcode_libdir_flag_spec='-L$libdir'
13.7128 - hardcode_libdir_separator=
13.7129 - fi
13.7130 - esac
13.7131 - shared_flag='-shared'
13.7132 - if test "$aix_use_runtimelinking" = yes; then
13.7133 - shared_flag="$shared_flag "'${wl}-G'
13.7134 - fi
13.7135 - else
13.7136 - # not using gcc
13.7137 - if test "$host_cpu" = ia64; then
13.7138 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13.7139 - # chokes on -Wl,-G. The following line is correct:
13.7140 - shared_flag='-G'
13.7141 - else
13.7142 - if test "$aix_use_runtimelinking" = yes; then
13.7143 - shared_flag='${wl}-G'
13.7144 - else
13.7145 - shared_flag='${wl}-bM:SRE'
13.7146 - fi
13.7147 - fi
13.7148 - fi
13.7149 -
13.7150 - # It seems that -bexpall does not export symbols beginning with
13.7151 - # underscore (_), so it is better to generate a list of symbols to export.
13.7152 - always_export_symbols=yes
13.7153 - if test "$aix_use_runtimelinking" = yes; then
13.7154 - # Warning - without using the other runtime loading flags (-brtl),
13.7155 - # -berok will link without error, but may produce a broken library.
13.7156 - allow_undefined_flag='-berok'
13.7157 - # Determine the default libpath from the value encoded in an empty executable.
13.7158 - cat >conftest.$ac_ext <<_ACEOF
13.7159 -/* confdefs.h. */
13.7160 -_ACEOF
13.7161 -cat confdefs.h >>conftest.$ac_ext
13.7162 -cat >>conftest.$ac_ext <<_ACEOF
13.7163 -/* end confdefs.h. */
13.7164 -
13.7165 -int
13.7166 -main ()
13.7167 -{
13.7168 -
13.7169 - ;
13.7170 - return 0;
13.7171 -}
13.7172 -_ACEOF
13.7173 -rm -f conftest.$ac_objext conftest$ac_exeext
13.7174 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.7175 - (eval $ac_link) 2>conftest.er1
13.7176 - ac_status=$?
13.7177 - grep -v '^ *+' conftest.er1 >conftest.err
13.7178 - rm -f conftest.er1
13.7179 - cat conftest.err >&5
13.7180 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.7181 - (exit $ac_status); } &&
13.7182 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.7183 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.7184 - (eval $ac_try) 2>&5
13.7185 - ac_status=$?
13.7186 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.7187 - (exit $ac_status); }; } &&
13.7188 - { ac_try='test -s conftest$ac_exeext'
13.7189 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.7190 - (eval $ac_try) 2>&5
13.7191 - ac_status=$?
13.7192 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.7193 - (exit $ac_status); }; }; then
13.7194 -
13.7195 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13.7196 -}'`
13.7197 -# Check for a 64-bit object if we didn't find anything.
13.7198 -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; }
13.7199 -}'`; fi
13.7200 -else
13.7201 - echo "$as_me: failed program was:" >&5
13.7202 -sed 's/^/| /' conftest.$ac_ext >&5
13.7203 -
13.7204 -fi
13.7205 -rm -f conftest.err conftest.$ac_objext \
13.7206 - conftest$ac_exeext conftest.$ac_ext
13.7207 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13.7208 -
13.7209 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13.7210 - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13.7211 - else
13.7212 - if test "$host_cpu" = ia64; then
13.7213 - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
13.7214 - allow_undefined_flag="-z nodefs"
13.7215 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
13.7216 - else
13.7217 - # Determine the default libpath from the value encoded in an empty executable.
13.7218 - cat >conftest.$ac_ext <<_ACEOF
13.7219 -/* confdefs.h. */
13.7220 -_ACEOF
13.7221 -cat confdefs.h >>conftest.$ac_ext
13.7222 -cat >>conftest.$ac_ext <<_ACEOF
13.7223 -/* end confdefs.h. */
13.7224 -
13.7225 -int
13.7226 -main ()
13.7227 -{
13.7228 -
13.7229 - ;
13.7230 - return 0;
13.7231 -}
13.7232 -_ACEOF
13.7233 -rm -f conftest.$ac_objext conftest$ac_exeext
13.7234 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.7235 - (eval $ac_link) 2>conftest.er1
13.7236 - ac_status=$?
13.7237 - grep -v '^ *+' conftest.er1 >conftest.err
13.7238 - rm -f conftest.er1
13.7239 - cat conftest.err >&5
13.7240 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.7241 - (exit $ac_status); } &&
13.7242 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.7243 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.7244 - (eval $ac_try) 2>&5
13.7245 - ac_status=$?
13.7246 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.7247 - (exit $ac_status); }; } &&
13.7248 - { ac_try='test -s conftest$ac_exeext'
13.7249 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.7250 - (eval $ac_try) 2>&5
13.7251 - ac_status=$?
13.7252 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.7253 - (exit $ac_status); }; }; then
13.7254 -
13.7255 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13.7256 -}'`
13.7257 -# Check for a 64-bit object if we didn't find anything.
13.7258 -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; }
13.7259 -}'`; fi
13.7260 -else
13.7261 - echo "$as_me: failed program was:" >&5
13.7262 -sed 's/^/| /' conftest.$ac_ext >&5
13.7263 -
13.7264 -fi
13.7265 -rm -f conftest.err conftest.$ac_objext \
13.7266 - conftest$ac_exeext conftest.$ac_ext
13.7267 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13.7268 -
13.7269 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13.7270 - # Warning - without using the other run time loading flags,
13.7271 - # -berok will link without error, but may produce a broken library.
13.7272 - no_undefined_flag=' ${wl}-bernotok'
13.7273 - allow_undefined_flag=' ${wl}-berok'
13.7274 - # -bexpall does not export symbols beginning with underscore (_)
13.7275 - always_export_symbols=yes
13.7276 - # Exported symbols can be pulled into shared objects from archives
13.7277 - whole_archive_flag_spec=' '
13.7278 - archive_cmds_need_lc=yes
13.7279 - # This is similar to how AIX traditionally builds its shared libraries.
13.7280 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13.7281 - fi
13.7282 - fi
13.7283 - ;;
13.7284 -
13.7285 - amigaos*)
13.7286 - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
13.7287 - hardcode_libdir_flag_spec='-L$libdir'
13.7288 - hardcode_minus_L=yes
13.7289 - # see comment about different semantics on the GNU ld section
13.7290 - ld_shlibs=no
13.7291 - ;;
13.7292 -
13.7293 - bsdi[45]*)
13.7294 - export_dynamic_flag_spec=-rdynamic
13.7295 - ;;
13.7296 -
13.7297 - cygwin* | mingw* | pw32*)
13.7298 - # When not using gcc, we currently assume that we are using
13.7299 - # Microsoft Visual C++.
13.7300 - # hardcode_libdir_flag_spec is actually meaningless, as there is
13.7301 - # no search path for DLLs.
13.7302 - hardcode_libdir_flag_spec=' '
13.7303 - allow_undefined_flag=unsupported
13.7304 - # Tell ltmain to make .lib files, not .a files.
13.7305 - libext=lib
13.7306 - # Tell ltmain to make .dll files, not .so files.
13.7307 - shrext_cmds=".dll"
13.7308 - # FIXME: Setting linknames here is a bad hack.
13.7309 - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13.7310 - # The linker will automatically build a .lib file if we build a DLL.
13.7311 - old_archive_From_new_cmds='true'
13.7312 - # FIXME: Should let the user specify the lib program.
13.7313 - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
13.7314 - fix_srcfile_path='`cygpath -w "$srcfile"`'
13.7315 - enable_shared_with_static_runtimes=yes
13.7316 - ;;
13.7317 -
13.7318 - darwin* | rhapsody*)
13.7319 - case $host_os in
13.7320 - rhapsody* | darwin1.[012])
13.7321 - allow_undefined_flag='${wl}-undefined ${wl}suppress'
13.7322 - ;;
13.7323 - *) # Darwin 1.3 on
13.7324 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13.7325 - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13.7326 - else
13.7327 - case ${MACOSX_DEPLOYMENT_TARGET} in
13.7328 - 10.[012])
13.7329 - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13.7330 - ;;
13.7331 - 10.*)
13.7332 - allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
13.7333 - ;;
13.7334 - esac
13.7335 - fi
13.7336 - ;;
13.7337 - esac
13.7338 - archive_cmds_need_lc=no
13.7339 - hardcode_direct=no
13.7340 - hardcode_automatic=yes
13.7341 - hardcode_shlibpath_var=unsupported
13.7342 - whole_archive_flag_spec=''
13.7343 - link_all_deplibs=yes
13.7344 - if test "$GCC" = yes ; then
13.7345 - output_verbose_link_cmd='echo'
13.7346 - archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13.7347 - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13.7348 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13.7349 - archive_expsym_cmds='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}'
13.7350 - module_expsym_cmds='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}'
13.7351 - else
13.7352 - case $cc_basename in
13.7353 - xlc*)
13.7354 - output_verbose_link_cmd='echo'
13.7355 - archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
13.7356 - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13.7357 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13.7358 - archive_expsym_cmds='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}'
13.7359 - module_expsym_cmds='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}'
13.7360 - ;;
13.7361 - *)
13.7362 - ld_shlibs=no
13.7363 - ;;
13.7364 - esac
13.7365 - fi
13.7366 - ;;
13.7367 -
13.7368 - dgux*)
13.7369 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.7370 - hardcode_libdir_flag_spec='-L$libdir'
13.7371 - hardcode_shlibpath_var=no
13.7372 - ;;
13.7373 -
13.7374 - freebsd1*)
13.7375 - ld_shlibs=no
13.7376 - ;;
13.7377 -
13.7378 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13.7379 - # support. Future versions do this automatically, but an explicit c++rt0.o
13.7380 - # does not break anything, and helps significantly (at the cost of a little
13.7381 - # extra space).
13.7382 - freebsd2.2*)
13.7383 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13.7384 - hardcode_libdir_flag_spec='-R$libdir'
13.7385 - hardcode_direct=yes
13.7386 - hardcode_shlibpath_var=no
13.7387 - ;;
13.7388 -
13.7389 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13.7390 - freebsd2*)
13.7391 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13.7392 - hardcode_direct=yes
13.7393 - hardcode_minus_L=yes
13.7394 - hardcode_shlibpath_var=no
13.7395 - ;;
13.7396 -
13.7397 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13.7398 - freebsd* | kfreebsd*-gnu | dragonfly*)
13.7399 - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13.7400 - hardcode_libdir_flag_spec='-R$libdir'
13.7401 - hardcode_direct=yes
13.7402 - hardcode_shlibpath_var=no
13.7403 - ;;
13.7404 -
13.7405 - hpux9*)
13.7406 - if test "$GCC" = yes; then
13.7407 - archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13.7408 - else
13.7409 - archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13.7410 - fi
13.7411 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13.7412 - hardcode_libdir_separator=:
13.7413 - hardcode_direct=yes
13.7414 -
13.7415 - # hardcode_minus_L: Not really in the search PATH,
13.7416 - # but as the default location of the library.
13.7417 - hardcode_minus_L=yes
13.7418 - export_dynamic_flag_spec='${wl}-E'
13.7419 - ;;
13.7420 -
13.7421 - hpux10* | hpux11*)
13.7422 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13.7423 - case $host_cpu in
13.7424 - hppa*64*|ia64*)
13.7425 - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13.7426 - ;;
13.7427 - *)
13.7428 - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13.7429 - ;;
13.7430 - esac
13.7431 - else
13.7432 - case $host_cpu in
13.7433 - hppa*64*|ia64*)
13.7434 - archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13.7435 - ;;
13.7436 - *)
13.7437 - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13.7438 - ;;
13.7439 - esac
13.7440 - fi
13.7441 - if test "$with_gnu_ld" = no; then
13.7442 - case $host_cpu in
13.7443 - hppa*64*)
13.7444 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13.7445 - hardcode_libdir_flag_spec_ld='+b $libdir'
13.7446 - hardcode_libdir_separator=:
13.7447 - hardcode_direct=no
13.7448 - hardcode_shlibpath_var=no
13.7449 - ;;
13.7450 - ia64*)
13.7451 - hardcode_libdir_flag_spec='-L$libdir'
13.7452 - hardcode_direct=no
13.7453 - hardcode_shlibpath_var=no
13.7454 -
13.7455 - # hardcode_minus_L: Not really in the search PATH,
13.7456 - # but as the default location of the library.
13.7457 - hardcode_minus_L=yes
13.7458 - ;;
13.7459 - *)
13.7460 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13.7461 - hardcode_libdir_separator=:
13.7462 - hardcode_direct=yes
13.7463 - export_dynamic_flag_spec='${wl}-E'
13.7464 -
13.7465 - # hardcode_minus_L: Not really in the search PATH,
13.7466 - # but as the default location of the library.
13.7467 - hardcode_minus_L=yes
13.7468 - ;;
13.7469 - esac
13.7470 - fi
13.7471 - ;;
13.7472 -
13.7473 - irix5* | irix6* | nonstopux*)
13.7474 - if test "$GCC" = yes; then
13.7475 - archive_cmds='$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'
13.7476 - else
13.7477 - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13.7478 - hardcode_libdir_flag_spec_ld='-rpath $libdir'
13.7479 - fi
13.7480 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13.7481 - hardcode_libdir_separator=:
13.7482 - link_all_deplibs=yes
13.7483 - ;;
13.7484 -
13.7485 - netbsd*)
13.7486 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13.7487 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13.7488 - else
13.7489 - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13.7490 - fi
13.7491 - hardcode_libdir_flag_spec='-R$libdir'
13.7492 - hardcode_direct=yes
13.7493 - hardcode_shlibpath_var=no
13.7494 - ;;
13.7495 -
13.7496 - newsos6)
13.7497 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.7498 - hardcode_direct=yes
13.7499 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13.7500 - hardcode_libdir_separator=:
13.7501 - hardcode_shlibpath_var=no
13.7502 - ;;
13.7503 -
13.7504 - openbsd*)
13.7505 - hardcode_direct=yes
13.7506 - hardcode_shlibpath_var=no
13.7507 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13.7508 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13.7509 - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13.7510 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13.7511 - export_dynamic_flag_spec='${wl}-E'
13.7512 - else
13.7513 - case $host_os in
13.7514 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13.7515 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13.7516 - hardcode_libdir_flag_spec='-R$libdir'
13.7517 - ;;
13.7518 - *)
13.7519 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13.7520 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13.7521 - ;;
13.7522 - esac
13.7523 - fi
13.7524 - ;;
13.7525 -
13.7526 - os2*)
13.7527 - hardcode_libdir_flag_spec='-L$libdir'
13.7528 - hardcode_minus_L=yes
13.7529 - allow_undefined_flag=unsupported
13.7530 - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
13.7531 - old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13.7532 - ;;
13.7533 -
13.7534 - osf3*)
13.7535 - if test "$GCC" = yes; then
13.7536 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13.7537 - archive_cmds='$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'
13.7538 - else
13.7539 - allow_undefined_flag=' -expect_unresolved \*'
13.7540 - archive_cmds='$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'
13.7541 - fi
13.7542 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13.7543 - hardcode_libdir_separator=:
13.7544 - ;;
13.7545 -
13.7546 - osf4* | osf5*) # as osf3* with the addition of -msym flag
13.7547 - if test "$GCC" = yes; then
13.7548 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13.7549 - archive_cmds='$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'
13.7550 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13.7551 - else
13.7552 - allow_undefined_flag=' -expect_unresolved \*'
13.7553 - archive_cmds='$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'
13.7554 - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
13.7555 - $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'
13.7556 -
13.7557 - # Both c and cxx compiler support -rpath directly
13.7558 - hardcode_libdir_flag_spec='-rpath $libdir'
13.7559 - fi
13.7560 - hardcode_libdir_separator=:
13.7561 - ;;
13.7562 -
13.7563 - sco3.2v5*)
13.7564 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.7565 - hardcode_shlibpath_var=no
13.7566 - export_dynamic_flag_spec='${wl}-Bexport'
13.7567 - runpath_var=LD_RUN_PATH
13.7568 - hardcode_runpath_var=yes
13.7569 - ;;
13.7570 -
13.7571 - solaris*)
13.7572 - no_undefined_flag=' -z text'
13.7573 - if test "$GCC" = yes; then
13.7574 - wlarc='${wl}'
13.7575 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13.7576 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13.7577 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13.7578 - else
13.7579 - wlarc=''
13.7580 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.7581 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13.7582 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13.7583 - fi
13.7584 - hardcode_libdir_flag_spec='-R$libdir'
13.7585 - hardcode_shlibpath_var=no
13.7586 - case $host_os in
13.7587 - solaris2.[0-5] | solaris2.[0-5].*) ;;
13.7588 - *)
13.7589 - # The compiler driver will combine linker options so we
13.7590 - # cannot just pass the convience library names through
13.7591 - # without $wl, iff we do not link with $LD.
13.7592 - # Luckily, gcc supports the same syntax we need for Sun Studio.
13.7593 - # Supported since Solaris 2.6 (maybe 2.5.1?)
13.7594 - case $wlarc in
13.7595 - '')
13.7596 - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
13.7597 - *)
13.7598 - whole_archive_flag_spec='${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' ;;
13.7599 - esac ;;
13.7600 - esac
13.7601 - link_all_deplibs=yes
13.7602 - ;;
13.7603 -
13.7604 - sunos4*)
13.7605 - if test "x$host_vendor" = xsequent; then
13.7606 - # Use $CC to link under sequent, because it throws in some extra .o
13.7607 - # files that make .init and .fini sections work.
13.7608 - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13.7609 - else
13.7610 - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13.7611 - fi
13.7612 - hardcode_libdir_flag_spec='-L$libdir'
13.7613 - hardcode_direct=yes
13.7614 - hardcode_minus_L=yes
13.7615 - hardcode_shlibpath_var=no
13.7616 - ;;
13.7617 -
13.7618 - sysv4)
13.7619 - case $host_vendor in
13.7620 - sni)
13.7621 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.7622 - hardcode_direct=yes # is this really true???
13.7623 - ;;
13.7624 - siemens)
13.7625 - ## LD is ld it makes a PLAMLIB
13.7626 - ## CC just makes a GrossModule.
13.7627 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13.7628 - reload_cmds='$CC -r -o $output$reload_objs'
13.7629 - hardcode_direct=no
13.7630 - ;;
13.7631 - motorola)
13.7632 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.7633 - hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13.7634 - ;;
13.7635 - esac
13.7636 - runpath_var='LD_RUN_PATH'
13.7637 - hardcode_shlibpath_var=no
13.7638 - ;;
13.7639 -
13.7640 - sysv4.3*)
13.7641 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.7642 - hardcode_shlibpath_var=no
13.7643 - export_dynamic_flag_spec='-Bexport'
13.7644 - ;;
13.7645 -
13.7646 - sysv4*MP*)
13.7647 - if test -d /usr/nec; then
13.7648 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.7649 - hardcode_shlibpath_var=no
13.7650 - runpath_var=LD_RUN_PATH
13.7651 - hardcode_runpath_var=yes
13.7652 - ld_shlibs=yes
13.7653 - fi
13.7654 - ;;
13.7655 -
13.7656 - sysv4.2uw2*)
13.7657 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13.7658 - hardcode_direct=yes
13.7659 - hardcode_minus_L=no
13.7660 - hardcode_shlibpath_var=no
13.7661 - hardcode_runpath_var=yes
13.7662 - runpath_var=LD_RUN_PATH
13.7663 - ;;
13.7664 -
13.7665 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13.7666 - no_undefined_flag='${wl}-z ${wl}text'
13.7667 - if test "$GCC" = yes; then
13.7668 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13.7669 - else
13.7670 - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13.7671 - fi
13.7672 - runpath_var='LD_RUN_PATH'
13.7673 - hardcode_shlibpath_var=no
13.7674 - ;;
13.7675 -
13.7676 - sysv5*)
13.7677 - no_undefined_flag=' -z text'
13.7678 - # $CC -shared without GNU ld will not create a library from C++
13.7679 - # object files and a static libstdc++, better avoid it by now
13.7680 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.7681 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13.7682 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13.7683 - hardcode_libdir_flag_spec=
13.7684 - hardcode_shlibpath_var=no
13.7685 - runpath_var='LD_RUN_PATH'
13.7686 - ;;
13.7687 -
13.7688 - uts4*)
13.7689 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.7690 - hardcode_libdir_flag_spec='-L$libdir'
13.7691 - hardcode_shlibpath_var=no
13.7692 - ;;
13.7693 -
13.7694 - *)
13.7695 - ld_shlibs=no
13.7696 - ;;
13.7697 - esac
13.7698 - fi
13.7699 -
13.7700 -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
13.7701 -echo "${ECHO_T}$ld_shlibs" >&6
13.7702 -test "$ld_shlibs" = no && can_build_shared=no
13.7703 -
13.7704 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13.7705 -if test "$GCC" = yes; then
13.7706 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13.7707 -fi
13.7708 -
13.7709 -#
13.7710 -# Do we need to explicitly link libc?
13.7711 -#
13.7712 -case "x$archive_cmds_need_lc" in
13.7713 -x|xyes)
13.7714 - # Assume -lc should be added
13.7715 - archive_cmds_need_lc=yes
13.7716 -
13.7717 - if test "$enable_shared" = yes && test "$GCC" = yes; then
13.7718 - case $archive_cmds in
13.7719 - *'~'*)
13.7720 - # FIXME: we may have to deal with multi-command sequences.
13.7721 - ;;
13.7722 - '$CC '*)
13.7723 - # Test whether the compiler implicitly links with -lc since on some
13.7724 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
13.7725 - # to ld, don't add -lc before -lgcc.
13.7726 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13.7727 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13.7728 - $rm conftest*
13.7729 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13.7730 -
13.7731 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.7732 - (eval $ac_compile) 2>&5
13.7733 - ac_status=$?
13.7734 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.7735 - (exit $ac_status); } 2>conftest.err; then
13.7736 - soname=conftest
13.7737 - lib=conftest
13.7738 - libobjs=conftest.$ac_objext
13.7739 - deplibs=
13.7740 - wl=$lt_prog_compiler_wl
13.7741 - compiler_flags=-v
13.7742 - linker_flags=-v
13.7743 - verstring=
13.7744 - output_objdir=.
13.7745 - libname=conftest
13.7746 - lt_save_allow_undefined_flag=$allow_undefined_flag
13.7747 - allow_undefined_flag=
13.7748 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13.7749 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13.7750 - ac_status=$?
13.7751 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.7752 - (exit $ac_status); }
13.7753 - then
13.7754 - archive_cmds_need_lc=no
13.7755 - else
13.7756 - archive_cmds_need_lc=yes
13.7757 - fi
13.7758 - allow_undefined_flag=$lt_save_allow_undefined_flag
13.7759 - else
13.7760 - cat conftest.err 1>&5
13.7761 - fi
13.7762 - $rm conftest*
13.7763 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
13.7764 -echo "${ECHO_T}$archive_cmds_need_lc" >&6
13.7765 - ;;
13.7766 - esac
13.7767 - fi
13.7768 - ;;
13.7769 -esac
13.7770 -
13.7771 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13.7772 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13.7773 -library_names_spec=
13.7774 -libname_spec='lib$name'
13.7775 -soname_spec=
13.7776 -shrext_cmds=".so"
13.7777 -postinstall_cmds=
13.7778 -postuninstall_cmds=
13.7779 -finish_cmds=
13.7780 -finish_eval=
13.7781 -shlibpath_var=
13.7782 -shlibpath_overrides_runpath=unknown
13.7783 -version_type=none
13.7784 -dynamic_linker="$host_os ld.so"
13.7785 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
13.7786 -if test "$GCC" = yes; then
13.7787 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13.7788 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
13.7789 - # if the path contains ";" then we assume it to be the separator
13.7790 - # otherwise default to the standard path separator (i.e. ":") - it is
13.7791 - # assumed that no part of a normal pathname contains ";" but that should
13.7792 - # okay in the real world where ";" in dirpaths is itself problematic.
13.7793 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13.7794 - else
13.7795 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13.7796 - fi
13.7797 -else
13.7798 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13.7799 -fi
13.7800 -need_lib_prefix=unknown
13.7801 -hardcode_into_libs=no
13.7802 -
13.7803 -# when you set need_version to no, make sure it does not cause -set_version
13.7804 -# flags to be left without arguments
13.7805 -need_version=unknown
13.7806 -
13.7807 -case $host_os in
13.7808 -aix3*)
13.7809 - version_type=linux
13.7810 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13.7811 - shlibpath_var=LIBPATH
13.7812 -
13.7813 - # AIX 3 has no versioning support, so we append a major version to the name.
13.7814 - soname_spec='${libname}${release}${shared_ext}$major'
13.7815 - ;;
13.7816 -
13.7817 -aix4* | aix5*)
13.7818 - version_type=linux
13.7819 - need_lib_prefix=no
13.7820 - need_version=no
13.7821 - hardcode_into_libs=yes
13.7822 - if test "$host_cpu" = ia64; then
13.7823 - # AIX 5 supports IA64
13.7824 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13.7825 - shlibpath_var=LD_LIBRARY_PATH
13.7826 - else
13.7827 - # With GCC up to 2.95.x, collect2 would create an import file
13.7828 - # for dependence libraries. The import file would start with
13.7829 - # the line `#! .'. This would cause the generated library to
13.7830 - # depend on `.', always an invalid library. This was fixed in
13.7831 - # development snapshots of GCC prior to 3.0.
13.7832 - case $host_os in
13.7833 - aix4 | aix4.[01] | aix4.[01].*)
13.7834 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13.7835 - echo ' yes '
13.7836 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13.7837 - :
13.7838 - else
13.7839 - can_build_shared=no
13.7840 - fi
13.7841 - ;;
13.7842 - esac
13.7843 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13.7844 - # soname into executable. Probably we can add versioning support to
13.7845 - # collect2, so additional links can be useful in future.
13.7846 - if test "$aix_use_runtimelinking" = yes; then
13.7847 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13.7848 - # instead of lib<name>.a to let people know that these are not
13.7849 - # typical AIX shared libraries.
13.7850 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.7851 - else
13.7852 - # We preserve .a as extension for shared libraries through AIX4.2
13.7853 - # and later when we are not doing run time linking.
13.7854 - library_names_spec='${libname}${release}.a $libname.a'
13.7855 - soname_spec='${libname}${release}${shared_ext}$major'
13.7856 - fi
13.7857 - shlibpath_var=LIBPATH
13.7858 - fi
13.7859 - ;;
13.7860 -
13.7861 -amigaos*)
13.7862 - library_names_spec='$libname.ixlibrary $libname.a'
13.7863 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
13.7864 - 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'
13.7865 - ;;
13.7866 -
13.7867 -beos*)
13.7868 - library_names_spec='${libname}${shared_ext}'
13.7869 - dynamic_linker="$host_os ld.so"
13.7870 - shlibpath_var=LIBRARY_PATH
13.7871 - ;;
13.7872 -
13.7873 -bsdi[45]*)
13.7874 - version_type=linux
13.7875 - need_version=no
13.7876 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.7877 - soname_spec='${libname}${release}${shared_ext}$major'
13.7878 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13.7879 - shlibpath_var=LD_LIBRARY_PATH
13.7880 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13.7881 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13.7882 - # the default ld.so.conf also contains /usr/contrib/lib and
13.7883 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13.7884 - # libtool to hard-code these into programs
13.7885 - ;;
13.7886 -
13.7887 -cygwin* | mingw* | pw32*)
13.7888 - version_type=windows
13.7889 - shrext_cmds=".dll"
13.7890 - need_version=no
13.7891 - need_lib_prefix=no
13.7892 -
13.7893 - case $GCC,$host_os in
13.7894 - yes,cygwin* | yes,mingw* | yes,pw32*)
13.7895 - library_names_spec='$libname.dll.a'
13.7896 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
13.7897 - postinstall_cmds='base_file=`basename \${file}`~
13.7898 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13.7899 - dldir=$destdir/`dirname \$dlpath`~
13.7900 - test -d \$dldir || mkdir -p \$dldir~
13.7901 - $install_prog $dir/$dlname \$dldir/$dlname~
13.7902 - chmod a+x \$dldir/$dlname'
13.7903 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13.7904 - dlpath=$dir/\$dldll~
13.7905 - $rm \$dlpath'
13.7906 - shlibpath_overrides_runpath=yes
13.7907 -
13.7908 - case $host_os in
13.7909 - cygwin*)
13.7910 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13.7911 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13.7912 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13.7913 - ;;
13.7914 - mingw*)
13.7915 - # MinGW DLLs use traditional 'lib' prefix
13.7916 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13.7917 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13.7918 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13.7919 - # It is most probably a Windows format PATH printed by
13.7920 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
13.7921 - # path with ; separators, and with drive letters. We can handle the
13.7922 - # drive letters (cygwin fileutils understands them), so leave them,
13.7923 - # especially as we might pass files found there to a mingw objdump,
13.7924 - # which wouldn't understand a cygwinified path. Ahh.
13.7925 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13.7926 - else
13.7927 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13.7928 - fi
13.7929 - ;;
13.7930 - pw32*)
13.7931 - # pw32 DLLs use 'pw' prefix rather than 'lib'
13.7932 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13.7933 - ;;
13.7934 - esac
13.7935 - ;;
13.7936 -
13.7937 - *)
13.7938 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13.7939 - ;;
13.7940 - esac
13.7941 - dynamic_linker='Win32 ld.exe'
13.7942 - # FIXME: first we should search . and the directory the executable is in
13.7943 - shlibpath_var=PATH
13.7944 - ;;
13.7945 -
13.7946 -darwin* | rhapsody*)
13.7947 - dynamic_linker="$host_os dyld"
13.7948 - version_type=darwin
13.7949 - need_lib_prefix=no
13.7950 - need_version=no
13.7951 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13.7952 - soname_spec='${libname}${release}${major}$shared_ext'
13.7953 - shlibpath_overrides_runpath=yes
13.7954 - shlibpath_var=DYLD_LIBRARY_PATH
13.7955 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13.7956 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13.7957 - if test "$GCC" = yes; then
13.7958 - 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"`
13.7959 - else
13.7960 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
13.7961 - fi
13.7962 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13.7963 - ;;
13.7964 -
13.7965 -dgux*)
13.7966 - version_type=linux
13.7967 - need_lib_prefix=no
13.7968 - need_version=no
13.7969 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13.7970 - soname_spec='${libname}${release}${shared_ext}$major'
13.7971 - shlibpath_var=LD_LIBRARY_PATH
13.7972 - ;;
13.7973 -
13.7974 -freebsd1*)
13.7975 - dynamic_linker=no
13.7976 - ;;
13.7977 -
13.7978 -kfreebsd*-gnu)
13.7979 - version_type=linux
13.7980 - need_lib_prefix=no
13.7981 - need_version=no
13.7982 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13.7983 - soname_spec='${libname}${release}${shared_ext}$major'
13.7984 - shlibpath_var=LD_LIBRARY_PATH
13.7985 - shlibpath_overrides_runpath=no
13.7986 - hardcode_into_libs=yes
13.7987 - dynamic_linker='GNU ld.so'
13.7988 - ;;
13.7989 -
13.7990 -freebsd* | dragonfly*)
13.7991 - # DragonFly does not have aout. When/if they implement a new
13.7992 - # versioning mechanism, adjust this.
13.7993 - if test -x /usr/bin/objformat; then
13.7994 - objformat=`/usr/bin/objformat`
13.7995 - else
13.7996 - case $host_os in
13.7997 - freebsd[123]*) objformat=aout ;;
13.7998 - *) objformat=elf ;;
13.7999 - esac
13.8000 - fi
13.8001 - version_type=freebsd-$objformat
13.8002 - case $version_type in
13.8003 - freebsd-elf*)
13.8004 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13.8005 - need_version=no
13.8006 - need_lib_prefix=no
13.8007 - ;;
13.8008 - freebsd-*)
13.8009 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13.8010 - need_version=yes
13.8011 - ;;
13.8012 - esac
13.8013 - shlibpath_var=LD_LIBRARY_PATH
13.8014 - case $host_os in
13.8015 - freebsd2*)
13.8016 - shlibpath_overrides_runpath=yes
13.8017 - ;;
13.8018 - freebsd3.[01]* | freebsdelf3.[01]*)
13.8019 - shlibpath_overrides_runpath=yes
13.8020 - hardcode_into_libs=yes
13.8021 - ;;
13.8022 - *) # from 3.2 on
13.8023 - shlibpath_overrides_runpath=no
13.8024 - hardcode_into_libs=yes
13.8025 - ;;
13.8026 - esac
13.8027 - ;;
13.8028 -
13.8029 -gnu*)
13.8030 - version_type=linux
13.8031 - need_lib_prefix=no
13.8032 - need_version=no
13.8033 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13.8034 - soname_spec='${libname}${release}${shared_ext}$major'
13.8035 - shlibpath_var=LD_LIBRARY_PATH
13.8036 - hardcode_into_libs=yes
13.8037 - ;;
13.8038 -
13.8039 -hpux9* | hpux10* | hpux11*)
13.8040 - # Give a soname corresponding to the major version so that dld.sl refuses to
13.8041 - # link against other versions.
13.8042 - version_type=sunos
13.8043 - need_lib_prefix=no
13.8044 - need_version=no
13.8045 - case $host_cpu in
13.8046 - ia64*)
13.8047 - shrext_cmds='.so'
13.8048 - hardcode_into_libs=yes
13.8049 - dynamic_linker="$host_os dld.so"
13.8050 - shlibpath_var=LD_LIBRARY_PATH
13.8051 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13.8052 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.8053 - soname_spec='${libname}${release}${shared_ext}$major'
13.8054 - if test "X$HPUX_IA64_MODE" = X32; then
13.8055 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13.8056 - else
13.8057 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13.8058 - fi
13.8059 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13.8060 - ;;
13.8061 - hppa*64*)
13.8062 - shrext_cmds='.sl'
13.8063 - hardcode_into_libs=yes
13.8064 - dynamic_linker="$host_os dld.sl"
13.8065 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13.8066 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13.8067 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.8068 - soname_spec='${libname}${release}${shared_ext}$major'
13.8069 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13.8070 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13.8071 - ;;
13.8072 - *)
13.8073 - shrext_cmds='.sl'
13.8074 - dynamic_linker="$host_os dld.sl"
13.8075 - shlibpath_var=SHLIB_PATH
13.8076 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13.8077 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.8078 - soname_spec='${libname}${release}${shared_ext}$major'
13.8079 - ;;
13.8080 - esac
13.8081 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
13.8082 - postinstall_cmds='chmod 555 $lib'
13.8083 - ;;
13.8084 -
13.8085 -irix5* | irix6* | nonstopux*)
13.8086 - case $host_os in
13.8087 - nonstopux*) version_type=nonstopux ;;
13.8088 - *)
13.8089 - if test "$lt_cv_prog_gnu_ld" = yes; then
13.8090 - version_type=linux
13.8091 - else
13.8092 - version_type=irix
13.8093 - fi ;;
13.8094 - esac
13.8095 - need_lib_prefix=no
13.8096 - need_version=no
13.8097 - soname_spec='${libname}${release}${shared_ext}$major'
13.8098 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13.8099 - case $host_os in
13.8100 - irix5* | nonstopux*)
13.8101 - libsuff= shlibsuff=
13.8102 - ;;
13.8103 - *)
13.8104 - case $LD in # libtool.m4 will add one of these switches to LD
13.8105 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13.8106 - libsuff= shlibsuff= libmagic=32-bit;;
13.8107 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13.8108 - libsuff=32 shlibsuff=N32 libmagic=N32;;
13.8109 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13.8110 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
13.8111 - *) libsuff= shlibsuff= libmagic=never-match;;
13.8112 - esac
13.8113 - ;;
13.8114 - esac
13.8115 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13.8116 - shlibpath_overrides_runpath=no
13.8117 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13.8118 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13.8119 - hardcode_into_libs=yes
13.8120 - ;;
13.8121 -
13.8122 -# No shared lib support for Linux oldld, aout, or coff.
13.8123 -linux*oldld* | linux*aout* | linux*coff*)
13.8124 - dynamic_linker=no
13.8125 - ;;
13.8126 -
13.8127 -# This must be Linux ELF.
13.8128 -linux*)
13.8129 - version_type=linux
13.8130 - need_lib_prefix=no
13.8131 - need_version=no
13.8132 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.8133 - soname_spec='${libname}${release}${shared_ext}$major'
13.8134 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13.8135 - shlibpath_var=LD_LIBRARY_PATH
13.8136 - shlibpath_overrides_runpath=no
13.8137 - # This implies no fast_install, which is unacceptable.
13.8138 - # Some rework will be needed to allow for fast_install
13.8139 - # before this can be enabled.
13.8140 - hardcode_into_libs=yes
13.8141 -
13.8142 - # Append ld.so.conf contents to the search path
13.8143 - if test -f /etc/ld.so.conf; then
13.8144 - 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' ' '`
13.8145 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13.8146 - fi
13.8147 -
13.8148 - # We used to test for /lib/ld.so.1 and disable shared libraries on
13.8149 - # powerpc, because MkLinux only supported shared libraries with the
13.8150 - # GNU dynamic linker. Since this was broken with cross compilers,
13.8151 - # most powerpc-linux boxes support dynamic linking these days and
13.8152 - # people can always --disable-shared, the test was removed, and we
13.8153 - # assume the GNU/Linux dynamic linker is in use.
13.8154 - dynamic_linker='GNU/Linux ld.so'
13.8155 - ;;
13.8156 -
13.8157 -knetbsd*-gnu)
13.8158 - version_type=linux
13.8159 - need_lib_prefix=no
13.8160 - need_version=no
13.8161 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13.8162 - soname_spec='${libname}${release}${shared_ext}$major'
13.8163 - shlibpath_var=LD_LIBRARY_PATH
13.8164 - shlibpath_overrides_runpath=no
13.8165 - hardcode_into_libs=yes
13.8166 - dynamic_linker='GNU ld.so'
13.8167 - ;;
13.8168 -
13.8169 -netbsd*)
13.8170 - version_type=sunos
13.8171 - need_lib_prefix=no
13.8172 - need_version=no
13.8173 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13.8174 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13.8175 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13.8176 - dynamic_linker='NetBSD (a.out) ld.so'
13.8177 - else
13.8178 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13.8179 - soname_spec='${libname}${release}${shared_ext}$major'
13.8180 - dynamic_linker='NetBSD ld.elf_so'
13.8181 - fi
13.8182 - shlibpath_var=LD_LIBRARY_PATH
13.8183 - shlibpath_overrides_runpath=yes
13.8184 - hardcode_into_libs=yes
13.8185 - ;;
13.8186 -
13.8187 -newsos6)
13.8188 - version_type=linux
13.8189 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.8190 - shlibpath_var=LD_LIBRARY_PATH
13.8191 - shlibpath_overrides_runpath=yes
13.8192 - ;;
13.8193 -
13.8194 -nto-qnx*)
13.8195 - version_type=linux
13.8196 - need_lib_prefix=no
13.8197 - need_version=no
13.8198 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.8199 - soname_spec='${libname}${release}${shared_ext}$major'
13.8200 - shlibpath_var=LD_LIBRARY_PATH
13.8201 - shlibpath_overrides_runpath=yes
13.8202 - ;;
13.8203 -
13.8204 -openbsd*)
13.8205 - version_type=sunos
13.8206 - need_lib_prefix=no
13.8207 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13.8208 - case $host_os in
13.8209 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13.8210 - *) need_version=no ;;
13.8211 - esac
13.8212 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13.8213 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13.8214 - shlibpath_var=LD_LIBRARY_PATH
13.8215 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13.8216 - case $host_os in
13.8217 - openbsd2.[89] | openbsd2.[89].*)
13.8218 - shlibpath_overrides_runpath=no
13.8219 - ;;
13.8220 - *)
13.8221 - shlibpath_overrides_runpath=yes
13.8222 - ;;
13.8223 - esac
13.8224 - else
13.8225 - shlibpath_overrides_runpath=yes
13.8226 - fi
13.8227 - ;;
13.8228 -
13.8229 -os2*)
13.8230 - libname_spec='$name'
13.8231 - shrext_cmds=".dll"
13.8232 - need_lib_prefix=no
13.8233 - library_names_spec='$libname${shared_ext} $libname.a'
13.8234 - dynamic_linker='OS/2 ld.exe'
13.8235 - shlibpath_var=LIBPATH
13.8236 - ;;
13.8237 -
13.8238 -osf3* | osf4* | osf5*)
13.8239 - version_type=osf
13.8240 - need_lib_prefix=no
13.8241 - need_version=no
13.8242 - soname_spec='${libname}${release}${shared_ext}$major'
13.8243 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.8244 - shlibpath_var=LD_LIBRARY_PATH
13.8245 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13.8246 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13.8247 - ;;
13.8248 -
13.8249 -sco3.2v5*)
13.8250 - version_type=osf
13.8251 - soname_spec='${libname}${release}${shared_ext}$major'
13.8252 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.8253 - shlibpath_var=LD_LIBRARY_PATH
13.8254 - ;;
13.8255 -
13.8256 -solaris*)
13.8257 - version_type=linux
13.8258 - need_lib_prefix=no
13.8259 - need_version=no
13.8260 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.8261 - soname_spec='${libname}${release}${shared_ext}$major'
13.8262 - shlibpath_var=LD_LIBRARY_PATH
13.8263 - shlibpath_overrides_runpath=yes
13.8264 - hardcode_into_libs=yes
13.8265 - # ldd complains unless libraries are executable
13.8266 - postinstall_cmds='chmod +x $lib'
13.8267 - ;;
13.8268 -
13.8269 -sunos4*)
13.8270 - version_type=sunos
13.8271 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13.8272 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13.8273 - shlibpath_var=LD_LIBRARY_PATH
13.8274 - shlibpath_overrides_runpath=yes
13.8275 - if test "$with_gnu_ld" = yes; then
13.8276 - need_lib_prefix=no
13.8277 - fi
13.8278 - need_version=yes
13.8279 - ;;
13.8280 -
13.8281 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13.8282 - version_type=linux
13.8283 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.8284 - soname_spec='${libname}${release}${shared_ext}$major'
13.8285 - shlibpath_var=LD_LIBRARY_PATH
13.8286 - case $host_vendor in
13.8287 - sni)
13.8288 - shlibpath_overrides_runpath=no
13.8289 - need_lib_prefix=no
13.8290 - export_dynamic_flag_spec='${wl}-Blargedynsym'
13.8291 - runpath_var=LD_RUN_PATH
13.8292 - ;;
13.8293 - siemens)
13.8294 - need_lib_prefix=no
13.8295 - ;;
13.8296 - motorola)
13.8297 - need_lib_prefix=no
13.8298 - need_version=no
13.8299 - shlibpath_overrides_runpath=no
13.8300 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13.8301 - ;;
13.8302 - esac
13.8303 - ;;
13.8304 -
13.8305 -sysv4*MP*)
13.8306 - if test -d /usr/nec ;then
13.8307 - version_type=linux
13.8308 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13.8309 - soname_spec='$libname${shared_ext}.$major'
13.8310 - shlibpath_var=LD_LIBRARY_PATH
13.8311 - fi
13.8312 - ;;
13.8313 -
13.8314 -uts4*)
13.8315 - version_type=linux
13.8316 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.8317 - soname_spec='${libname}${release}${shared_ext}$major'
13.8318 - shlibpath_var=LD_LIBRARY_PATH
13.8319 - ;;
13.8320 -
13.8321 -*)
13.8322 - dynamic_linker=no
13.8323 - ;;
13.8324 -esac
13.8325 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13.8326 -echo "${ECHO_T}$dynamic_linker" >&6
13.8327 -test "$dynamic_linker" = no && can_build_shared=no
13.8328 -
13.8329 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13.8330 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13.8331 -hardcode_action=
13.8332 -if test -n "$hardcode_libdir_flag_spec" || \
13.8333 - test -n "$runpath_var" || \
13.8334 - test "X$hardcode_automatic" = "Xyes" ; then
13.8335 -
13.8336 - # We can hardcode non-existant directories.
13.8337 - if test "$hardcode_direct" != no &&
13.8338 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
13.8339 - # have to relink, otherwise we might link with an installed library
13.8340 - # when we should be linking with a yet-to-be-installed one
13.8341 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
13.8342 - test "$hardcode_minus_L" != no; then
13.8343 - # Linking always hardcodes the temporary library directory.
13.8344 - hardcode_action=relink
13.8345 - else
13.8346 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
13.8347 - hardcode_action=immediate
13.8348 - fi
13.8349 -else
13.8350 - # We cannot hardcode anything, or else we can only hardcode existing
13.8351 - # directories.
13.8352 - hardcode_action=unsupported
13.8353 -fi
13.8354 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
13.8355 -echo "${ECHO_T}$hardcode_action" >&6
13.8356 -
13.8357 -if test "$hardcode_action" = relink; then
13.8358 - # Fast installation is not supported
13.8359 - enable_fast_install=no
13.8360 -elif test "$shlibpath_overrides_runpath" = yes ||
13.8361 - test "$enable_shared" = no; then
13.8362 - # Fast installation is not necessary
13.8363 - enable_fast_install=needless
13.8364 -fi
13.8365 -
13.8366 -striplib=
13.8367 -old_striplib=
13.8368 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13.8369 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
13.8370 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
13.8371 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13.8372 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13.8373 - echo "$as_me:$LINENO: result: yes" >&5
13.8374 -echo "${ECHO_T}yes" >&6
13.8375 -else
13.8376 -# FIXME - insert some real tests, host_os isn't really good enough
13.8377 - case $host_os in
13.8378 - darwin*)
13.8379 - if test -n "$STRIP" ; then
13.8380 - striplib="$STRIP -x"
13.8381 - echo "$as_me:$LINENO: result: yes" >&5
13.8382 -echo "${ECHO_T}yes" >&6
13.8383 - else
13.8384 - echo "$as_me:$LINENO: result: no" >&5
13.8385 -echo "${ECHO_T}no" >&6
13.8386 -fi
13.8387 - ;;
13.8388 - *)
13.8389 - echo "$as_me:$LINENO: result: no" >&5
13.8390 -echo "${ECHO_T}no" >&6
13.8391 - ;;
13.8392 - esac
13.8393 -fi
13.8394 -
13.8395 -if test "x$enable_dlopen" != xyes; then
13.8396 - enable_dlopen=unknown
13.8397 - enable_dlopen_self=unknown
13.8398 - enable_dlopen_self_static=unknown
13.8399 -else
13.8400 - lt_cv_dlopen=no
13.8401 - lt_cv_dlopen_libs=
13.8402 -
13.8403 - case $host_os in
13.8404 - beos*)
13.8405 - lt_cv_dlopen="load_add_on"
13.8406 - lt_cv_dlopen_libs=
13.8407 - lt_cv_dlopen_self=yes
13.8408 - ;;
13.8409 -
13.8410 - mingw* | pw32*)
13.8411 - lt_cv_dlopen="LoadLibrary"
13.8412 - lt_cv_dlopen_libs=
13.8413 - ;;
13.8414 -
13.8415 - cygwin*)
13.8416 - lt_cv_dlopen="dlopen"
13.8417 - lt_cv_dlopen_libs=
13.8418 - ;;
13.8419 -
13.8420 - darwin*)
13.8421 - # if libdl is installed we need to link against it
13.8422 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13.8423 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13.8424 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13.8425 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.8426 -else
13.8427 - ac_check_lib_save_LIBS=$LIBS
13.8428 -LIBS="-ldl $LIBS"
13.8429 -cat >conftest.$ac_ext <<_ACEOF
13.8430 -/* confdefs.h. */
13.8431 -_ACEOF
13.8432 -cat confdefs.h >>conftest.$ac_ext
13.8433 -cat >>conftest.$ac_ext <<_ACEOF
13.8434 -/* end confdefs.h. */
13.8435 -
13.8436 -/* Override any gcc2 internal prototype to avoid an error. */
13.8437 -#ifdef __cplusplus
13.8438 -extern "C"
13.8439 -#endif
13.8440 -/* We use char because int might match the return type of a gcc2
13.8441 - builtin and then its argument prototype would still apply. */
13.8442 -char dlopen ();
13.8443 -int
13.8444 -main ()
13.8445 -{
13.8446 -dlopen ();
13.8447 - ;
13.8448 - return 0;
13.8449 -}
13.8450 -_ACEOF
13.8451 -rm -f conftest.$ac_objext conftest$ac_exeext
13.8452 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.8453 - (eval $ac_link) 2>conftest.er1
13.8454 - ac_status=$?
13.8455 - grep -v '^ *+' conftest.er1 >conftest.err
13.8456 - rm -f conftest.er1
13.8457 - cat conftest.err >&5
13.8458 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8459 - (exit $ac_status); } &&
13.8460 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.8461 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.8462 - (eval $ac_try) 2>&5
13.8463 - ac_status=$?
13.8464 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8465 - (exit $ac_status); }; } &&
13.8466 - { ac_try='test -s conftest$ac_exeext'
13.8467 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.8468 - (eval $ac_try) 2>&5
13.8469 - ac_status=$?
13.8470 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8471 - (exit $ac_status); }; }; then
13.8472 - ac_cv_lib_dl_dlopen=yes
13.8473 -else
13.8474 - echo "$as_me: failed program was:" >&5
13.8475 -sed 's/^/| /' conftest.$ac_ext >&5
13.8476 -
13.8477 -ac_cv_lib_dl_dlopen=no
13.8478 -fi
13.8479 -rm -f conftest.err conftest.$ac_objext \
13.8480 - conftest$ac_exeext conftest.$ac_ext
13.8481 -LIBS=$ac_check_lib_save_LIBS
13.8482 -fi
13.8483 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13.8484 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13.8485 -if test $ac_cv_lib_dl_dlopen = yes; then
13.8486 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13.8487 -else
13.8488 -
13.8489 - lt_cv_dlopen="dyld"
13.8490 - lt_cv_dlopen_libs=
13.8491 - lt_cv_dlopen_self=yes
13.8492 -
13.8493 -fi
13.8494 -
13.8495 - ;;
13.8496 -
13.8497 - *)
13.8498 - echo "$as_me:$LINENO: checking for shl_load" >&5
13.8499 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
13.8500 -if test "${ac_cv_func_shl_load+set}" = set; then
13.8501 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.8502 -else
13.8503 - cat >conftest.$ac_ext <<_ACEOF
13.8504 -/* confdefs.h. */
13.8505 -_ACEOF
13.8506 -cat confdefs.h >>conftest.$ac_ext
13.8507 -cat >>conftest.$ac_ext <<_ACEOF
13.8508 -/* end confdefs.h. */
13.8509 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
13.8510 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
13.8511 -#define shl_load innocuous_shl_load
13.8512 -
13.8513 -/* System header to define __stub macros and hopefully few prototypes,
13.8514 - which can conflict with char shl_load (); below.
13.8515 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13.8516 - <limits.h> exists even on freestanding compilers. */
13.8517 -
13.8518 -#ifdef __STDC__
13.8519 -# include <limits.h>
13.8520 -#else
13.8521 -# include <assert.h>
13.8522 -#endif
13.8523 -
13.8524 -#undef shl_load
13.8525 -
13.8526 -/* Override any gcc2 internal prototype to avoid an error. */
13.8527 -#ifdef __cplusplus
13.8528 -extern "C"
13.8529 -{
13.8530 -#endif
13.8531 -/* We use char because int might match the return type of a gcc2
13.8532 - builtin and then its argument prototype would still apply. */
13.8533 -char shl_load ();
13.8534 -/* The GNU C library defines this for functions which it implements
13.8535 - to always fail with ENOSYS. Some functions are actually named
13.8536 - something starting with __ and the normal name is an alias. */
13.8537 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
13.8538 -choke me
13.8539 -#else
13.8540 -char (*f) () = shl_load;
13.8541 -#endif
13.8542 -#ifdef __cplusplus
13.8543 -}
13.8544 -#endif
13.8545 -
13.8546 -int
13.8547 -main ()
13.8548 -{
13.8549 -return f != shl_load;
13.8550 - ;
13.8551 - return 0;
13.8552 -}
13.8553 -_ACEOF
13.8554 -rm -f conftest.$ac_objext conftest$ac_exeext
13.8555 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.8556 - (eval $ac_link) 2>conftest.er1
13.8557 - ac_status=$?
13.8558 - grep -v '^ *+' conftest.er1 >conftest.err
13.8559 - rm -f conftest.er1
13.8560 - cat conftest.err >&5
13.8561 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8562 - (exit $ac_status); } &&
13.8563 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.8564 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.8565 - (eval $ac_try) 2>&5
13.8566 - ac_status=$?
13.8567 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8568 - (exit $ac_status); }; } &&
13.8569 - { ac_try='test -s conftest$ac_exeext'
13.8570 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.8571 - (eval $ac_try) 2>&5
13.8572 - ac_status=$?
13.8573 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8574 - (exit $ac_status); }; }; then
13.8575 - ac_cv_func_shl_load=yes
13.8576 -else
13.8577 - echo "$as_me: failed program was:" >&5
13.8578 -sed 's/^/| /' conftest.$ac_ext >&5
13.8579 -
13.8580 -ac_cv_func_shl_load=no
13.8581 -fi
13.8582 -rm -f conftest.err conftest.$ac_objext \
13.8583 - conftest$ac_exeext conftest.$ac_ext
13.8584 -fi
13.8585 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13.8586 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
13.8587 -if test $ac_cv_func_shl_load = yes; then
13.8588 - lt_cv_dlopen="shl_load"
13.8589 -else
13.8590 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13.8591 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
13.8592 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13.8593 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.8594 -else
13.8595 - ac_check_lib_save_LIBS=$LIBS
13.8596 -LIBS="-ldld $LIBS"
13.8597 -cat >conftest.$ac_ext <<_ACEOF
13.8598 -/* confdefs.h. */
13.8599 -_ACEOF
13.8600 -cat confdefs.h >>conftest.$ac_ext
13.8601 -cat >>conftest.$ac_ext <<_ACEOF
13.8602 -/* end confdefs.h. */
13.8603 -
13.8604 -/* Override any gcc2 internal prototype to avoid an error. */
13.8605 -#ifdef __cplusplus
13.8606 -extern "C"
13.8607 -#endif
13.8608 -/* We use char because int might match the return type of a gcc2
13.8609 - builtin and then its argument prototype would still apply. */
13.8610 -char shl_load ();
13.8611 -int
13.8612 -main ()
13.8613 -{
13.8614 -shl_load ();
13.8615 - ;
13.8616 - return 0;
13.8617 -}
13.8618 -_ACEOF
13.8619 -rm -f conftest.$ac_objext conftest$ac_exeext
13.8620 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.8621 - (eval $ac_link) 2>conftest.er1
13.8622 - ac_status=$?
13.8623 - grep -v '^ *+' conftest.er1 >conftest.err
13.8624 - rm -f conftest.er1
13.8625 - cat conftest.err >&5
13.8626 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8627 - (exit $ac_status); } &&
13.8628 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.8629 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.8630 - (eval $ac_try) 2>&5
13.8631 - ac_status=$?
13.8632 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8633 - (exit $ac_status); }; } &&
13.8634 - { ac_try='test -s conftest$ac_exeext'
13.8635 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.8636 - (eval $ac_try) 2>&5
13.8637 - ac_status=$?
13.8638 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8639 - (exit $ac_status); }; }; then
13.8640 - ac_cv_lib_dld_shl_load=yes
13.8641 -else
13.8642 - echo "$as_me: failed program was:" >&5
13.8643 -sed 's/^/| /' conftest.$ac_ext >&5
13.8644 -
13.8645 -ac_cv_lib_dld_shl_load=no
13.8646 -fi
13.8647 -rm -f conftest.err conftest.$ac_objext \
13.8648 - conftest$ac_exeext conftest.$ac_ext
13.8649 -LIBS=$ac_check_lib_save_LIBS
13.8650 -fi
13.8651 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13.8652 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
13.8653 -if test $ac_cv_lib_dld_shl_load = yes; then
13.8654 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
13.8655 -else
13.8656 - echo "$as_me:$LINENO: checking for dlopen" >&5
13.8657 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
13.8658 -if test "${ac_cv_func_dlopen+set}" = set; then
13.8659 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.8660 -else
13.8661 - cat >conftest.$ac_ext <<_ACEOF
13.8662 -/* confdefs.h. */
13.8663 -_ACEOF
13.8664 -cat confdefs.h >>conftest.$ac_ext
13.8665 -cat >>conftest.$ac_ext <<_ACEOF
13.8666 -/* end confdefs.h. */
13.8667 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13.8668 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
13.8669 -#define dlopen innocuous_dlopen
13.8670 -
13.8671 -/* System header to define __stub macros and hopefully few prototypes,
13.8672 - which can conflict with char dlopen (); below.
13.8673 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13.8674 - <limits.h> exists even on freestanding compilers. */
13.8675 -
13.8676 -#ifdef __STDC__
13.8677 -# include <limits.h>
13.8678 -#else
13.8679 -# include <assert.h>
13.8680 -#endif
13.8681 -
13.8682 -#undef dlopen
13.8683 -
13.8684 -/* Override any gcc2 internal prototype to avoid an error. */
13.8685 -#ifdef __cplusplus
13.8686 -extern "C"
13.8687 -{
13.8688 -#endif
13.8689 -/* We use char because int might match the return type of a gcc2
13.8690 - builtin and then its argument prototype would still apply. */
13.8691 -char dlopen ();
13.8692 -/* The GNU C library defines this for functions which it implements
13.8693 - to always fail with ENOSYS. Some functions are actually named
13.8694 - something starting with __ and the normal name is an alias. */
13.8695 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
13.8696 -choke me
13.8697 -#else
13.8698 -char (*f) () = dlopen;
13.8699 -#endif
13.8700 -#ifdef __cplusplus
13.8701 -}
13.8702 -#endif
13.8703 -
13.8704 -int
13.8705 -main ()
13.8706 -{
13.8707 -return f != dlopen;
13.8708 - ;
13.8709 - return 0;
13.8710 -}
13.8711 -_ACEOF
13.8712 -rm -f conftest.$ac_objext conftest$ac_exeext
13.8713 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.8714 - (eval $ac_link) 2>conftest.er1
13.8715 - ac_status=$?
13.8716 - grep -v '^ *+' conftest.er1 >conftest.err
13.8717 - rm -f conftest.er1
13.8718 - cat conftest.err >&5
13.8719 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8720 - (exit $ac_status); } &&
13.8721 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.8722 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.8723 - (eval $ac_try) 2>&5
13.8724 - ac_status=$?
13.8725 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8726 - (exit $ac_status); }; } &&
13.8727 - { ac_try='test -s conftest$ac_exeext'
13.8728 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.8729 - (eval $ac_try) 2>&5
13.8730 - ac_status=$?
13.8731 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8732 - (exit $ac_status); }; }; then
13.8733 - ac_cv_func_dlopen=yes
13.8734 -else
13.8735 - echo "$as_me: failed program was:" >&5
13.8736 -sed 's/^/| /' conftest.$ac_ext >&5
13.8737 -
13.8738 -ac_cv_func_dlopen=no
13.8739 -fi
13.8740 -rm -f conftest.err conftest.$ac_objext \
13.8741 - conftest$ac_exeext conftest.$ac_ext
13.8742 -fi
13.8743 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13.8744 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
13.8745 -if test $ac_cv_func_dlopen = yes; then
13.8746 - lt_cv_dlopen="dlopen"
13.8747 -else
13.8748 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13.8749 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13.8750 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13.8751 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.8752 -else
13.8753 - ac_check_lib_save_LIBS=$LIBS
13.8754 -LIBS="-ldl $LIBS"
13.8755 -cat >conftest.$ac_ext <<_ACEOF
13.8756 -/* confdefs.h. */
13.8757 -_ACEOF
13.8758 -cat confdefs.h >>conftest.$ac_ext
13.8759 -cat >>conftest.$ac_ext <<_ACEOF
13.8760 -/* end confdefs.h. */
13.8761 -
13.8762 -/* Override any gcc2 internal prototype to avoid an error. */
13.8763 -#ifdef __cplusplus
13.8764 -extern "C"
13.8765 -#endif
13.8766 -/* We use char because int might match the return type of a gcc2
13.8767 - builtin and then its argument prototype would still apply. */
13.8768 -char dlopen ();
13.8769 -int
13.8770 -main ()
13.8771 -{
13.8772 -dlopen ();
13.8773 - ;
13.8774 - return 0;
13.8775 -}
13.8776 -_ACEOF
13.8777 -rm -f conftest.$ac_objext conftest$ac_exeext
13.8778 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.8779 - (eval $ac_link) 2>conftest.er1
13.8780 - ac_status=$?
13.8781 - grep -v '^ *+' conftest.er1 >conftest.err
13.8782 - rm -f conftest.er1
13.8783 - cat conftest.err >&5
13.8784 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8785 - (exit $ac_status); } &&
13.8786 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.8787 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.8788 - (eval $ac_try) 2>&5
13.8789 - ac_status=$?
13.8790 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8791 - (exit $ac_status); }; } &&
13.8792 - { ac_try='test -s conftest$ac_exeext'
13.8793 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.8794 - (eval $ac_try) 2>&5
13.8795 - ac_status=$?
13.8796 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8797 - (exit $ac_status); }; }; then
13.8798 - ac_cv_lib_dl_dlopen=yes
13.8799 -else
13.8800 - echo "$as_me: failed program was:" >&5
13.8801 -sed 's/^/| /' conftest.$ac_ext >&5
13.8802 -
13.8803 -ac_cv_lib_dl_dlopen=no
13.8804 -fi
13.8805 -rm -f conftest.err conftest.$ac_objext \
13.8806 - conftest$ac_exeext conftest.$ac_ext
13.8807 -LIBS=$ac_check_lib_save_LIBS
13.8808 -fi
13.8809 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13.8810 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13.8811 -if test $ac_cv_lib_dl_dlopen = yes; then
13.8812 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13.8813 -else
13.8814 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13.8815 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
13.8816 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13.8817 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.8818 -else
13.8819 - ac_check_lib_save_LIBS=$LIBS
13.8820 -LIBS="-lsvld $LIBS"
13.8821 -cat >conftest.$ac_ext <<_ACEOF
13.8822 -/* confdefs.h. */
13.8823 -_ACEOF
13.8824 -cat confdefs.h >>conftest.$ac_ext
13.8825 -cat >>conftest.$ac_ext <<_ACEOF
13.8826 -/* end confdefs.h. */
13.8827 -
13.8828 -/* Override any gcc2 internal prototype to avoid an error. */
13.8829 -#ifdef __cplusplus
13.8830 -extern "C"
13.8831 -#endif
13.8832 -/* We use char because int might match the return type of a gcc2
13.8833 - builtin and then its argument prototype would still apply. */
13.8834 -char dlopen ();
13.8835 -int
13.8836 -main ()
13.8837 -{
13.8838 -dlopen ();
13.8839 - ;
13.8840 - return 0;
13.8841 -}
13.8842 -_ACEOF
13.8843 -rm -f conftest.$ac_objext conftest$ac_exeext
13.8844 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.8845 - (eval $ac_link) 2>conftest.er1
13.8846 - ac_status=$?
13.8847 - grep -v '^ *+' conftest.er1 >conftest.err
13.8848 - rm -f conftest.er1
13.8849 - cat conftest.err >&5
13.8850 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8851 - (exit $ac_status); } &&
13.8852 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.8853 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.8854 - (eval $ac_try) 2>&5
13.8855 - ac_status=$?
13.8856 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8857 - (exit $ac_status); }; } &&
13.8858 - { ac_try='test -s conftest$ac_exeext'
13.8859 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.8860 - (eval $ac_try) 2>&5
13.8861 - ac_status=$?
13.8862 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8863 - (exit $ac_status); }; }; then
13.8864 - ac_cv_lib_svld_dlopen=yes
13.8865 -else
13.8866 - echo "$as_me: failed program was:" >&5
13.8867 -sed 's/^/| /' conftest.$ac_ext >&5
13.8868 -
13.8869 -ac_cv_lib_svld_dlopen=no
13.8870 -fi
13.8871 -rm -f conftest.err conftest.$ac_objext \
13.8872 - conftest$ac_exeext conftest.$ac_ext
13.8873 -LIBS=$ac_check_lib_save_LIBS
13.8874 -fi
13.8875 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13.8876 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
13.8877 -if test $ac_cv_lib_svld_dlopen = yes; then
13.8878 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13.8879 -else
13.8880 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13.8881 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
13.8882 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13.8883 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.8884 -else
13.8885 - ac_check_lib_save_LIBS=$LIBS
13.8886 -LIBS="-ldld $LIBS"
13.8887 -cat >conftest.$ac_ext <<_ACEOF
13.8888 -/* confdefs.h. */
13.8889 -_ACEOF
13.8890 -cat confdefs.h >>conftest.$ac_ext
13.8891 -cat >>conftest.$ac_ext <<_ACEOF
13.8892 -/* end confdefs.h. */
13.8893 -
13.8894 -/* Override any gcc2 internal prototype to avoid an error. */
13.8895 -#ifdef __cplusplus
13.8896 -extern "C"
13.8897 -#endif
13.8898 -/* We use char because int might match the return type of a gcc2
13.8899 - builtin and then its argument prototype would still apply. */
13.8900 -char dld_link ();
13.8901 -int
13.8902 -main ()
13.8903 -{
13.8904 -dld_link ();
13.8905 - ;
13.8906 - return 0;
13.8907 -}
13.8908 -_ACEOF
13.8909 -rm -f conftest.$ac_objext conftest$ac_exeext
13.8910 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.8911 - (eval $ac_link) 2>conftest.er1
13.8912 - ac_status=$?
13.8913 - grep -v '^ *+' conftest.er1 >conftest.err
13.8914 - rm -f conftest.er1
13.8915 - cat conftest.err >&5
13.8916 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8917 - (exit $ac_status); } &&
13.8918 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.8919 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.8920 - (eval $ac_try) 2>&5
13.8921 - ac_status=$?
13.8922 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8923 - (exit $ac_status); }; } &&
13.8924 - { ac_try='test -s conftest$ac_exeext'
13.8925 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.8926 - (eval $ac_try) 2>&5
13.8927 - ac_status=$?
13.8928 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.8929 - (exit $ac_status); }; }; then
13.8930 - ac_cv_lib_dld_dld_link=yes
13.8931 -else
13.8932 - echo "$as_me: failed program was:" >&5
13.8933 -sed 's/^/| /' conftest.$ac_ext >&5
13.8934 -
13.8935 -ac_cv_lib_dld_dld_link=no
13.8936 -fi
13.8937 -rm -f conftest.err conftest.$ac_objext \
13.8938 - conftest$ac_exeext conftest.$ac_ext
13.8939 -LIBS=$ac_check_lib_save_LIBS
13.8940 -fi
13.8941 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13.8942 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
13.8943 -if test $ac_cv_lib_dld_dld_link = yes; then
13.8944 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
13.8945 -fi
13.8946 -
13.8947 -
13.8948 -fi
13.8949 -
13.8950 -
13.8951 -fi
13.8952 -
13.8953 -
13.8954 -fi
13.8955 -
13.8956 -
13.8957 -fi
13.8958 -
13.8959 -
13.8960 -fi
13.8961 -
13.8962 - ;;
13.8963 - esac
13.8964 -
13.8965 - if test "x$lt_cv_dlopen" != xno; then
13.8966 - enable_dlopen=yes
13.8967 - else
13.8968 - enable_dlopen=no
13.8969 - fi
13.8970 -
13.8971 - case $lt_cv_dlopen in
13.8972 - dlopen)
13.8973 - save_CPPFLAGS="$CPPFLAGS"
13.8974 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13.8975 -
13.8976 - save_LDFLAGS="$LDFLAGS"
13.8977 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13.8978 -
13.8979 - save_LIBS="$LIBS"
13.8980 - LIBS="$lt_cv_dlopen_libs $LIBS"
13.8981 -
13.8982 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13.8983 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
13.8984 -if test "${lt_cv_dlopen_self+set}" = set; then
13.8985 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.8986 -else
13.8987 - if test "$cross_compiling" = yes; then :
13.8988 - lt_cv_dlopen_self=cross
13.8989 -else
13.8990 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13.8991 - lt_status=$lt_dlunknown
13.8992 - cat > conftest.$ac_ext <<EOF
13.8993 -#line 8990 "configure"
13.8994 -#include "confdefs.h"
13.8995 -
13.8996 -#if HAVE_DLFCN_H
13.8997 -#include <dlfcn.h>
13.8998 -#endif
13.8999 -
13.9000 -#include <stdio.h>
13.9001 -
13.9002 -#ifdef RTLD_GLOBAL
13.9003 -# define LT_DLGLOBAL RTLD_GLOBAL
13.9004 -#else
13.9005 -# ifdef DL_GLOBAL
13.9006 -# define LT_DLGLOBAL DL_GLOBAL
13.9007 -# else
13.9008 -# define LT_DLGLOBAL 0
13.9009 -# endif
13.9010 -#endif
13.9011 -
13.9012 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13.9013 - find out it does not work in some platform. */
13.9014 -#ifndef LT_DLLAZY_OR_NOW
13.9015 -# ifdef RTLD_LAZY
13.9016 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
13.9017 -# else
13.9018 -# ifdef DL_LAZY
13.9019 -# define LT_DLLAZY_OR_NOW DL_LAZY
13.9020 -# else
13.9021 -# ifdef RTLD_NOW
13.9022 -# define LT_DLLAZY_OR_NOW RTLD_NOW
13.9023 -# else
13.9024 -# ifdef DL_NOW
13.9025 -# define LT_DLLAZY_OR_NOW DL_NOW
13.9026 -# else
13.9027 -# define LT_DLLAZY_OR_NOW 0
13.9028 -# endif
13.9029 -# endif
13.9030 -# endif
13.9031 -# endif
13.9032 -#endif
13.9033 -
13.9034 -#ifdef __cplusplus
13.9035 -extern "C" void exit (int);
13.9036 -#endif
13.9037 -
13.9038 -void fnord() { int i=42;}
13.9039 -int main ()
13.9040 -{
13.9041 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13.9042 - int status = $lt_dlunknown;
13.9043 -
13.9044 - if (self)
13.9045 - {
13.9046 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13.9047 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13.9048 - /* dlclose (self); */
13.9049 - }
13.9050 -
13.9051 - exit (status);
13.9052 -}
13.9053 -EOF
13.9054 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.9055 - (eval $ac_link) 2>&5
13.9056 - ac_status=$?
13.9057 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.9058 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13.9059 - (./conftest; exit; ) >&5 2>/dev/null
13.9060 - lt_status=$?
13.9061 - case x$lt_status in
13.9062 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13.9063 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13.9064 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
13.9065 - esac
13.9066 - else :
13.9067 - # compilation failed
13.9068 - lt_cv_dlopen_self=no
13.9069 - fi
13.9070 -fi
13.9071 -rm -fr conftest*
13.9072 -
13.9073 -
13.9074 -fi
13.9075 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13.9076 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
13.9077 -
13.9078 - if test "x$lt_cv_dlopen_self" = xyes; then
13.9079 - LDFLAGS="$LDFLAGS $link_static_flag"
13.9080 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13.9081 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
13.9082 -if test "${lt_cv_dlopen_self_static+set}" = set; then
13.9083 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.9084 -else
13.9085 - if test "$cross_compiling" = yes; then :
13.9086 - lt_cv_dlopen_self_static=cross
13.9087 -else
13.9088 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13.9089 - lt_status=$lt_dlunknown
13.9090 - cat > conftest.$ac_ext <<EOF
13.9091 -#line 9088 "configure"
13.9092 -#include "confdefs.h"
13.9093 -
13.9094 -#if HAVE_DLFCN_H
13.9095 -#include <dlfcn.h>
13.9096 -#endif
13.9097 -
13.9098 -#include <stdio.h>
13.9099 -
13.9100 -#ifdef RTLD_GLOBAL
13.9101 -# define LT_DLGLOBAL RTLD_GLOBAL
13.9102 -#else
13.9103 -# ifdef DL_GLOBAL
13.9104 -# define LT_DLGLOBAL DL_GLOBAL
13.9105 -# else
13.9106 -# define LT_DLGLOBAL 0
13.9107 -# endif
13.9108 -#endif
13.9109 -
13.9110 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13.9111 - find out it does not work in some platform. */
13.9112 -#ifndef LT_DLLAZY_OR_NOW
13.9113 -# ifdef RTLD_LAZY
13.9114 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
13.9115 -# else
13.9116 -# ifdef DL_LAZY
13.9117 -# define LT_DLLAZY_OR_NOW DL_LAZY
13.9118 -# else
13.9119 -# ifdef RTLD_NOW
13.9120 -# define LT_DLLAZY_OR_NOW RTLD_NOW
13.9121 -# else
13.9122 -# ifdef DL_NOW
13.9123 -# define LT_DLLAZY_OR_NOW DL_NOW
13.9124 -# else
13.9125 -# define LT_DLLAZY_OR_NOW 0
13.9126 -# endif
13.9127 -# endif
13.9128 -# endif
13.9129 -# endif
13.9130 -#endif
13.9131 -
13.9132 -#ifdef __cplusplus
13.9133 -extern "C" void exit (int);
13.9134 -#endif
13.9135 -
13.9136 -void fnord() { int i=42;}
13.9137 -int main ()
13.9138 -{
13.9139 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13.9140 - int status = $lt_dlunknown;
13.9141 -
13.9142 - if (self)
13.9143 - {
13.9144 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13.9145 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13.9146 - /* dlclose (self); */
13.9147 - }
13.9148 -
13.9149 - exit (status);
13.9150 -}
13.9151 -EOF
13.9152 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.9153 - (eval $ac_link) 2>&5
13.9154 - ac_status=$?
13.9155 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.9156 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13.9157 - (./conftest; exit; ) >&5 2>/dev/null
13.9158 - lt_status=$?
13.9159 - case x$lt_status in
13.9160 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13.9161 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13.9162 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
13.9163 - esac
13.9164 - else :
13.9165 - # compilation failed
13.9166 - lt_cv_dlopen_self_static=no
13.9167 - fi
13.9168 -fi
13.9169 -rm -fr conftest*
13.9170 -
13.9171 -
13.9172 -fi
13.9173 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13.9174 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13.9175 - fi
13.9176 -
13.9177 - CPPFLAGS="$save_CPPFLAGS"
13.9178 - LDFLAGS="$save_LDFLAGS"
13.9179 - LIBS="$save_LIBS"
13.9180 - ;;
13.9181 - esac
13.9182 -
13.9183 - case $lt_cv_dlopen_self in
13.9184 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13.9185 - *) enable_dlopen_self=unknown ;;
13.9186 - esac
13.9187 -
13.9188 - case $lt_cv_dlopen_self_static in
13.9189 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13.9190 - *) enable_dlopen_self_static=unknown ;;
13.9191 - esac
13.9192 -fi
13.9193 -
13.9194 -
13.9195 -# Report which librarie types wil actually be built
13.9196 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13.9197 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13.9198 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
13.9199 -echo "${ECHO_T}$can_build_shared" >&6
13.9200 -
13.9201 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13.9202 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13.9203 -test "$can_build_shared" = "no" && enable_shared=no
13.9204 -
13.9205 -# On AIX, shared libraries and static libraries use the same namespace, and
13.9206 -# are all built from PIC.
13.9207 -case $host_os in
13.9208 -aix3*)
13.9209 - test "$enable_shared" = yes && enable_static=no
13.9210 - if test -n "$RANLIB"; then
13.9211 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
13.9212 - postinstall_cmds='$RANLIB $lib'
13.9213 - fi
13.9214 - ;;
13.9215 -
13.9216 -aix4* | aix5*)
13.9217 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13.9218 - test "$enable_shared" = yes && enable_static=no
13.9219 - fi
13.9220 - ;;
13.9221 -esac
13.9222 -echo "$as_me:$LINENO: result: $enable_shared" >&5
13.9223 -echo "${ECHO_T}$enable_shared" >&6
13.9224 -
13.9225 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13.9226 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13.9227 -# Make sure either enable_shared or enable_static is yes.
13.9228 -test "$enable_shared" = yes || enable_static=yes
13.9229 -echo "$as_me:$LINENO: result: $enable_static" >&5
13.9230 -echo "${ECHO_T}$enable_static" >&6
13.9231 -
13.9232 -# The else clause should only fire when bootstrapping the
13.9233 -# libtool distribution, otherwise you forgot to ship ltmain.sh
13.9234 -# with your package, and you will get complaints that there are
13.9235 -# no rules to generate ltmain.sh.
13.9236 -if test -f "$ltmain"; then
13.9237 - # See if we are running on zsh, and set the options which allow our commands through
13.9238 - # without removal of \ escapes.
13.9239 - if test -n "${ZSH_VERSION+set}" ; then
13.9240 - setopt NO_GLOB_SUBST
13.9241 - fi
13.9242 - # Now quote all the things that may contain metacharacters while being
13.9243 - # careful not to overquote the AC_SUBSTed values. We take copies of the
13.9244 - # variables and quote the copies for generation of the libtool script.
13.9245 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
13.9246 - SED SHELL STRIP \
13.9247 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13.9248 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13.9249 - deplibs_check_method reload_flag reload_cmds need_locks \
13.9250 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13.9251 - lt_cv_sys_global_symbol_to_c_name_address \
13.9252 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13.9253 - old_postinstall_cmds old_postuninstall_cmds \
13.9254 - compiler \
13.9255 - CC \
13.9256 - LD \
13.9257 - lt_prog_compiler_wl \
13.9258 - lt_prog_compiler_pic \
13.9259 - lt_prog_compiler_static \
13.9260 - lt_prog_compiler_no_builtin_flag \
13.9261 - export_dynamic_flag_spec \
13.9262 - thread_safe_flag_spec \
13.9263 - whole_archive_flag_spec \
13.9264 - enable_shared_with_static_runtimes \
13.9265 - old_archive_cmds \
13.9266 - old_archive_from_new_cmds \
13.9267 - predep_objects \
13.9268 - postdep_objects \
13.9269 - predeps \
13.9270 - postdeps \
13.9271 - compiler_lib_search_path \
13.9272 - archive_cmds \
13.9273 - archive_expsym_cmds \
13.9274 - postinstall_cmds \
13.9275 - postuninstall_cmds \
13.9276 - old_archive_from_expsyms_cmds \
13.9277 - allow_undefined_flag \
13.9278 - no_undefined_flag \
13.9279 - export_symbols_cmds \
13.9280 - hardcode_libdir_flag_spec \
13.9281 - hardcode_libdir_flag_spec_ld \
13.9282 - hardcode_libdir_separator \
13.9283 - hardcode_automatic \
13.9284 - module_cmds \
13.9285 - module_expsym_cmds \
13.9286 - lt_cv_prog_compiler_c_o \
13.9287 - exclude_expsyms \
13.9288 - include_expsyms; do
13.9289 -
13.9290 - case $var in
13.9291 - old_archive_cmds | \
13.9292 - old_archive_from_new_cmds | \
13.9293 - archive_cmds | \
13.9294 - archive_expsym_cmds | \
13.9295 - module_cmds | \
13.9296 - module_expsym_cmds | \
13.9297 - old_archive_from_expsyms_cmds | \
13.9298 - export_symbols_cmds | \
13.9299 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
13.9300 - postinstall_cmds | postuninstall_cmds | \
13.9301 - old_postinstall_cmds | old_postuninstall_cmds | \
13.9302 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13.9303 - # Double-quote double-evaled strings.
13.9304 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13.9305 - ;;
13.9306 - *)
13.9307 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13.9308 - ;;
13.9309 - esac
13.9310 - done
13.9311 -
13.9312 - case $lt_echo in
13.9313 - *'\$0 --fallback-echo"')
13.9314 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13.9315 - ;;
13.9316 - esac
13.9317 -
13.9318 -cfgfile="${ofile}T"
13.9319 - trap "$rm \"$cfgfile\"; exit 1" 1 2 15
13.9320 - $rm -f "$cfgfile"
13.9321 - { echo "$as_me:$LINENO: creating $ofile" >&5
13.9322 -echo "$as_me: creating $ofile" >&6;}
13.9323 -
13.9324 - cat <<__EOF__ >> "$cfgfile"
13.9325 -#! $SHELL
13.9326 -
13.9327 -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13.9328 -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
13.9329 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
13.9330 -#
13.9331 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
13.9332 -# Free Software Foundation, Inc.
13.9333 -#
13.9334 -# This file is part of GNU Libtool:
13.9335 -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
13.9336 -#
13.9337 -# This program is free software; you can redistribute it and/or modify
13.9338 -# it under the terms of the GNU General Public License as published by
13.9339 -# the Free Software Foundation; either version 2 of the License, or
13.9340 -# (at your option) any later version.
13.9341 -#
13.9342 -# This program is distributed in the hope that it will be useful, but
13.9343 -# WITHOUT ANY WARRANTY; without even the implied warranty of
13.9344 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13.9345 -# General Public License for more details.
13.9346 -#
13.9347 -# You should have received a copy of the GNU General Public License
13.9348 -# along with this program; if not, write to the Free Software
13.9349 -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13.9350 -#
13.9351 -# As a special exception to the GNU General Public License, if you
13.9352 -# distribute this file as part of a program that contains a
13.9353 -# configuration script generated by Autoconf, you may include it under
13.9354 -# the same distribution terms that you use for the rest of that program.
13.9355 -
13.9356 -# A sed program that does not truncate output.
13.9357 -SED=$lt_SED
13.9358 -
13.9359 -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
13.9360 -Xsed="$SED -e 1s/^X//"
13.9361 -
13.9362 -# The HP-UX ksh and POSIX shell print the target directory to stdout
13.9363 -# if CDPATH is set.
13.9364 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13.9365 -
13.9366 -# The names of the tagged configurations supported by this script.
13.9367 -available_tags=
13.9368 -
13.9369 -# ### BEGIN LIBTOOL CONFIG
13.9370 -
13.9371 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13.9372 -
13.9373 -# Shell to use when invoking shell scripts.
13.9374 -SHELL=$lt_SHELL
13.9375 -
13.9376 -# Whether or not to build shared libraries.
13.9377 -build_libtool_libs=$enable_shared
13.9378 -
13.9379 -# Whether or not to build static libraries.
13.9380 -build_old_libs=$enable_static
13.9381 -
13.9382 -# Whether or not to add -lc for building shared libraries.
13.9383 -build_libtool_need_lc=$archive_cmds_need_lc
13.9384 -
13.9385 -# Whether or not to disallow shared libs when runtime libs are static
13.9386 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13.9387 -
13.9388 -# Whether or not to optimize for fast installation.
13.9389 -fast_install=$enable_fast_install
13.9390 -
13.9391 -# The host system.
13.9392 -host_alias=$host_alias
13.9393 -host=$host
13.9394 -host_os=$host_os
13.9395 -
13.9396 -# The build system.
13.9397 -build_alias=$build_alias
13.9398 -build=$build
13.9399 -build_os=$build_os
13.9400 -
13.9401 -# An echo program that does not interpret backslashes.
13.9402 -echo=$lt_echo
13.9403 -
13.9404 -# The archiver.
13.9405 -AR=$lt_AR
13.9406 -AR_FLAGS=$lt_AR_FLAGS
13.9407 -
13.9408 -# A C compiler.
13.9409 -LTCC=$lt_LTCC
13.9410 -
13.9411 -# A language-specific compiler.
13.9412 -CC=$lt_compiler
13.9413 -
13.9414 -# Is the compiler the GNU C compiler?
13.9415 -with_gcc=$GCC
13.9416 -
13.9417 -# An ERE matcher.
13.9418 -EGREP=$lt_EGREP
13.9419 -
13.9420 -# The linker used to build libraries.
13.9421 -LD=$lt_LD
13.9422 -
13.9423 -# Whether we need hard or soft links.
13.9424 -LN_S=$lt_LN_S
13.9425 -
13.9426 -# A BSD-compatible nm program.
13.9427 -NM=$lt_NM
13.9428 -
13.9429 -# A symbol stripping program
13.9430 -STRIP=$lt_STRIP
13.9431 -
13.9432 -# Used to examine libraries when file_magic_cmd begins "file"
13.9433 -MAGIC_CMD=$MAGIC_CMD
13.9434 -
13.9435 -# Used on cygwin: DLL creation program.
13.9436 -DLLTOOL="$DLLTOOL"
13.9437 -
13.9438 -# Used on cygwin: object dumper.
13.9439 -OBJDUMP="$OBJDUMP"
13.9440 -
13.9441 -# Used on cygwin: assembler.
13.9442 -AS="$AS"
13.9443 -
13.9444 -# The name of the directory that contains temporary libtool files.
13.9445 -objdir=$objdir
13.9446 -
13.9447 -# How to create reloadable object files.
13.9448 -reload_flag=$lt_reload_flag
13.9449 -reload_cmds=$lt_reload_cmds
13.9450 -
13.9451 -# How to pass a linker flag through the compiler.
13.9452 -wl=$lt_lt_prog_compiler_wl
13.9453 -
13.9454 -# Object file suffix (normally "o").
13.9455 -objext="$ac_objext"
13.9456 -
13.9457 -# Old archive suffix (normally "a").
13.9458 -libext="$libext"
13.9459 -
13.9460 -# Shared library suffix (normally ".so").
13.9461 -shrext_cmds='$shrext_cmds'
13.9462 -
13.9463 -# Executable file suffix (normally "").
13.9464 -exeext="$exeext"
13.9465 -
13.9466 -# Additional compiler flags for building library objects.
13.9467 -pic_flag=$lt_lt_prog_compiler_pic
13.9468 -pic_mode=$pic_mode
13.9469 -
13.9470 -# What is the maximum length of a command?
13.9471 -max_cmd_len=$lt_cv_sys_max_cmd_len
13.9472 -
13.9473 -# Does compiler simultaneously support -c and -o options?
13.9474 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13.9475 -
13.9476 -# Must we lock files when doing compilation?
13.9477 -need_locks=$lt_need_locks
13.9478 -
13.9479 -# Do we need the lib prefix for modules?
13.9480 -need_lib_prefix=$need_lib_prefix
13.9481 -
13.9482 -# Do we need a version for libraries?
13.9483 -need_version=$need_version
13.9484 -
13.9485 -# Whether dlopen is supported.
13.9486 -dlopen_support=$enable_dlopen
13.9487 -
13.9488 -# Whether dlopen of programs is supported.
13.9489 -dlopen_self=$enable_dlopen_self
13.9490 -
13.9491 -# Whether dlopen of statically linked programs is supported.
13.9492 -dlopen_self_static=$enable_dlopen_self_static
13.9493 -
13.9494 -# Compiler flag to prevent dynamic linking.
13.9495 -link_static_flag=$lt_lt_prog_compiler_static
13.9496 -
13.9497 -# Compiler flag to turn off builtin functions.
13.9498 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13.9499 -
13.9500 -# Compiler flag to allow reflexive dlopens.
13.9501 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13.9502 -
13.9503 -# Compiler flag to generate shared objects directly from archives.
13.9504 -whole_archive_flag_spec=$lt_whole_archive_flag_spec
13.9505 -
13.9506 -# Compiler flag to generate thread-safe objects.
13.9507 -thread_safe_flag_spec=$lt_thread_safe_flag_spec
13.9508 -
13.9509 -# Library versioning type.
13.9510 -version_type=$version_type
13.9511 -
13.9512 -# Format of library name prefix.
13.9513 -libname_spec=$lt_libname_spec
13.9514 -
13.9515 -# List of archive names. First name is the real one, the rest are links.
13.9516 -# The last name is the one that the linker finds with -lNAME.
13.9517 -library_names_spec=$lt_library_names_spec
13.9518 -
13.9519 -# The coded name of the library, if different from the real name.
13.9520 -soname_spec=$lt_soname_spec
13.9521 -
13.9522 -# Commands used to build and install an old-style archive.
13.9523 -RANLIB=$lt_RANLIB
13.9524 -old_archive_cmds=$lt_old_archive_cmds
13.9525 -old_postinstall_cmds=$lt_old_postinstall_cmds
13.9526 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
13.9527 -
13.9528 -# Create an old-style archive from a shared archive.
13.9529 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13.9530 -
13.9531 -# Create a temporary old-style archive to link instead of a shared archive.
13.9532 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13.9533 -
13.9534 -# Commands used to build and install a shared archive.
13.9535 -archive_cmds=$lt_archive_cmds
13.9536 -archive_expsym_cmds=$lt_archive_expsym_cmds
13.9537 -postinstall_cmds=$lt_postinstall_cmds
13.9538 -postuninstall_cmds=$lt_postuninstall_cmds
13.9539 -
13.9540 -# Commands used to build a loadable module (assumed same as above if empty)
13.9541 -module_cmds=$lt_module_cmds
13.9542 -module_expsym_cmds=$lt_module_expsym_cmds
13.9543 -
13.9544 -# Commands to strip libraries.
13.9545 -old_striplib=$lt_old_striplib
13.9546 -striplib=$lt_striplib
13.9547 -
13.9548 -# Dependencies to place before the objects being linked to create a
13.9549 -# shared library.
13.9550 -predep_objects=$lt_predep_objects
13.9551 -
13.9552 -# Dependencies to place after the objects being linked to create a
13.9553 -# shared library.
13.9554 -postdep_objects=$lt_postdep_objects
13.9555 -
13.9556 -# Dependencies to place before the objects being linked to create a
13.9557 -# shared library.
13.9558 -predeps=$lt_predeps
13.9559 -
13.9560 -# Dependencies to place after the objects being linked to create a
13.9561 -# shared library.
13.9562 -postdeps=$lt_postdeps
13.9563 -
13.9564 -# The library search path used internally by the compiler when linking
13.9565 -# a shared library.
13.9566 -compiler_lib_search_path=$lt_compiler_lib_search_path
13.9567 -
13.9568 -# Method to check whether dependent libraries are shared objects.
13.9569 -deplibs_check_method=$lt_deplibs_check_method
13.9570 -
13.9571 -# Command to use when deplibs_check_method == file_magic.
13.9572 -file_magic_cmd=$lt_file_magic_cmd
13.9573 -
13.9574 -# Flag that allows shared libraries with undefined symbols to be built.
13.9575 -allow_undefined_flag=$lt_allow_undefined_flag
13.9576 -
13.9577 -# Flag that forces no undefined symbols.
13.9578 -no_undefined_flag=$lt_no_undefined_flag
13.9579 -
13.9580 -# Commands used to finish a libtool library installation in a directory.
13.9581 -finish_cmds=$lt_finish_cmds
13.9582 -
13.9583 -# Same as above, but a single script fragment to be evaled but not shown.
13.9584 -finish_eval=$lt_finish_eval
13.9585 -
13.9586 -# Take the output of nm and produce a listing of raw symbols and C names.
13.9587 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13.9588 -
13.9589 -# Transform the output of nm in a proper C declaration
13.9590 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13.9591 -
13.9592 -# Transform the output of nm in a C name address pair
13.9593 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13.9594 -
13.9595 -# This is the shared library runtime path variable.
13.9596 -runpath_var=$runpath_var
13.9597 -
13.9598 -# This is the shared library path variable.
13.9599 -shlibpath_var=$shlibpath_var
13.9600 -
13.9601 -# Is shlibpath searched before the hard-coded library search path?
13.9602 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13.9603 -
13.9604 -# How to hardcode a shared library path into an executable.
13.9605 -hardcode_action=$hardcode_action
13.9606 -
13.9607 -# Whether we should hardcode library paths into libraries.
13.9608 -hardcode_into_libs=$hardcode_into_libs
13.9609 -
13.9610 -# Flag to hardcode \$libdir into a binary during linking.
13.9611 -# This must work even if \$libdir does not exist.
13.9612 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13.9613 -
13.9614 -# If ld is used when linking, flag to hardcode \$libdir into
13.9615 -# a binary during linking. This must work even if \$libdir does
13.9616 -# not exist.
13.9617 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13.9618 -
13.9619 -# Whether we need a single -rpath flag with a separated argument.
13.9620 -hardcode_libdir_separator=$lt_hardcode_libdir_separator
13.9621 -
13.9622 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13.9623 -# resulting binary.
13.9624 -hardcode_direct=$hardcode_direct
13.9625 -
13.9626 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13.9627 -# resulting binary.
13.9628 -hardcode_minus_L=$hardcode_minus_L
13.9629 -
13.9630 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13.9631 -# the resulting binary.
13.9632 -hardcode_shlibpath_var=$hardcode_shlibpath_var
13.9633 -
13.9634 -# Set to yes if building a shared library automatically hardcodes DIR into the library
13.9635 -# and all subsequent libraries and executables linked against it.
13.9636 -hardcode_automatic=$hardcode_automatic
13.9637 -
13.9638 -# Variables whose values should be saved in libtool wrapper scripts and
13.9639 -# restored at relink time.
13.9640 -variables_saved_for_relink="$variables_saved_for_relink"
13.9641 -
13.9642 -# Whether libtool must link a program against all its dependency libraries.
13.9643 -link_all_deplibs=$link_all_deplibs
13.9644 -
13.9645 -# Compile-time system search path for libraries
13.9646 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13.9647 -
13.9648 -# Run-time system search path for libraries
13.9649 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13.9650 -
13.9651 -# Fix the shell variable \$srcfile for the compiler.
13.9652 -fix_srcfile_path="$fix_srcfile_path"
13.9653 -
13.9654 -# Set to yes if exported symbols are required.
13.9655 -always_export_symbols=$always_export_symbols
13.9656 -
13.9657 -# The commands to list exported symbols.
13.9658 -export_symbols_cmds=$lt_export_symbols_cmds
13.9659 -
13.9660 -# The commands to extract the exported symbol list from a shared archive.
13.9661 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
13.9662 -
13.9663 -# Symbols that should not be listed in the preloaded symbols.
13.9664 -exclude_expsyms=$lt_exclude_expsyms
13.9665 -
13.9666 -# Symbols that must always be exported.
13.9667 -include_expsyms=$lt_include_expsyms
13.9668 -
13.9669 -# ### END LIBTOOL CONFIG
13.9670 -
13.9671 -__EOF__
13.9672 -
13.9673 -
13.9674 - case $host_os in
13.9675 - aix3*)
13.9676 - cat <<\EOF >> "$cfgfile"
13.9677 -
13.9678 -# AIX sometimes has problems with the GCC collect2 program. For some
13.9679 -# reason, if we set the COLLECT_NAMES environment variable, the problems
13.9680 -# vanish in a puff of smoke.
13.9681 -if test "X${COLLECT_NAMES+set}" != Xset; then
13.9682 - COLLECT_NAMES=
13.9683 - export COLLECT_NAMES
13.9684 -fi
13.9685 -EOF
13.9686 - ;;
13.9687 - esac
13.9688 -
13.9689 - # We use sed instead of cat because bash on DJGPP gets confused if
13.9690 - # if finds mixed CR/LF and LF-only lines. Since sed operates in
13.9691 - # text mode, it properly converts lines to CR/LF. This bash problem
13.9692 - # is reportedly fixed, but why not run on old versions too?
13.9693 - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
13.9694 -
13.9695 - mv -f "$cfgfile" "$ofile" || \
13.9696 - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13.9697 - chmod +x "$ofile"
13.9698 -
13.9699 -else
13.9700 - # If there is no Makefile yet, we rely on a make rule to execute
13.9701 - # `config.status --recheck' to rerun these tests and create the
13.9702 - # libtool script then.
13.9703 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13.9704 - if test -f "$ltmain_in"; then
13.9705 - test -f Makefile && make "$ltmain"
13.9706 - fi
13.9707 -fi
13.9708 -
13.9709 -
13.9710 -ac_ext=c
13.9711 -ac_cpp='$CPP $CPPFLAGS'
13.9712 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.9713 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.9714 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.9715 -
13.9716 -CC="$lt_save_CC"
13.9717 -
13.9718 -
13.9719 -# Check whether --with-tags or --without-tags was given.
13.9720 -if test "${with_tags+set}" = set; then
13.9721 - withval="$with_tags"
13.9722 - tagnames="$withval"
13.9723 -fi;
13.9724 -
13.9725 -if test -f "$ltmain" && test -n "$tagnames"; then
13.9726 - if test ! -f "${ofile}"; then
13.9727 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
13.9728 -echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
13.9729 - fi
13.9730 -
13.9731 - if test -z "$LTCC"; then
13.9732 - eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
13.9733 - if test -z "$LTCC"; then
13.9734 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
13.9735 -echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
13.9736 - else
13.9737 - { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
13.9738 -echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
13.9739 - fi
13.9740 - fi
13.9741 -
13.9742 - # Extract list of available tagged configurations in $ofile.
13.9743 - # Note that this assumes the entire list is on one line.
13.9744 - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
13.9745 -
13.9746 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13.9747 - for tagname in $tagnames; do
13.9748 - IFS="$lt_save_ifs"
13.9749 - # Check whether tagname contains only valid characters
13.9750 - case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
13.9751 - "") ;;
13.9752 - *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
13.9753 -echo "$as_me: error: invalid tag name: $tagname" >&2;}
13.9754 - { (exit 1); exit 1; }; }
13.9755 - ;;
13.9756 - esac
13.9757 -
13.9758 - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
13.9759 - then
13.9760 - { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
13.9761 -echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
13.9762 - { (exit 1); exit 1; }; }
13.9763 - fi
13.9764 -
13.9765 - # Update the list of available tags.
13.9766 - if test -n "$tagname"; then
13.9767 - echo appending configuration tag \"$tagname\" to $ofile
13.9768 -
13.9769 - case $tagname in
13.9770 - CXX)
13.9771 - if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13.9772 - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13.9773 - (test "X$CXX" != "Xg++"))) ; then
13.9774 - ac_ext=cc
13.9775 -ac_cpp='$CXXCPP $CPPFLAGS'
13.9776 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.9777 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.9778 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13.9779 -
13.9780 -
13.9781 -
13.9782 -
13.9783 -archive_cmds_need_lc_CXX=no
13.9784 -allow_undefined_flag_CXX=
13.9785 -always_export_symbols_CXX=no
13.9786 -archive_expsym_cmds_CXX=
13.9787 -export_dynamic_flag_spec_CXX=
13.9788 -hardcode_direct_CXX=no
13.9789 -hardcode_libdir_flag_spec_CXX=
13.9790 -hardcode_libdir_flag_spec_ld_CXX=
13.9791 -hardcode_libdir_separator_CXX=
13.9792 -hardcode_minus_L_CXX=no
13.9793 -hardcode_automatic_CXX=no
13.9794 -module_cmds_CXX=
13.9795 -module_expsym_cmds_CXX=
13.9796 -link_all_deplibs_CXX=unknown
13.9797 -old_archive_cmds_CXX=$old_archive_cmds
13.9798 -no_undefined_flag_CXX=
13.9799 -whole_archive_flag_spec_CXX=
13.9800 -enable_shared_with_static_runtimes_CXX=no
13.9801 -
13.9802 -# Dependencies to place before and after the object being linked:
13.9803 -predep_objects_CXX=
13.9804 -postdep_objects_CXX=
13.9805 -predeps_CXX=
13.9806 -postdeps_CXX=
13.9807 -compiler_lib_search_path_CXX=
13.9808 -
13.9809 -# Source file extension for C++ test sources.
13.9810 -ac_ext=cpp
13.9811 -
13.9812 -# Object file extension for compiled C++ test sources.
13.9813 -objext=o
13.9814 -objext_CXX=$objext
13.9815 -
13.9816 -# Code to be used in simple compile tests
13.9817 -lt_simple_compile_test_code="int some_variable = 0;\n"
13.9818 -
13.9819 -# Code to be used in simple link tests
13.9820 -lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
13.9821 -
13.9822 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13.9823 -
13.9824 -# If no C compiler was specified, use CC.
13.9825 -LTCC=${LTCC-"$CC"}
13.9826 -
13.9827 -# Allow CC to be a program name with arguments.
13.9828 -compiler=$CC
13.9829 -
13.9830 -
13.9831 -# save warnings/boilerplate of simple test code
13.9832 -ac_outfile=conftest.$ac_objext
13.9833 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13.9834 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13.9835 -_lt_compiler_boilerplate=`cat conftest.err`
13.9836 -$rm conftest*
13.9837 -
13.9838 -ac_outfile=conftest.$ac_objext
13.9839 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
13.9840 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13.9841 -_lt_linker_boilerplate=`cat conftest.err`
13.9842 -$rm conftest*
13.9843 -
13.9844 -
13.9845 -# Allow CC to be a program name with arguments.
13.9846 -lt_save_CC=$CC
13.9847 -lt_save_LD=$LD
13.9848 -lt_save_GCC=$GCC
13.9849 -GCC=$GXX
13.9850 -lt_save_with_gnu_ld=$with_gnu_ld
13.9851 -lt_save_path_LD=$lt_cv_path_LD
13.9852 -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13.9853 - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13.9854 -else
13.9855 - unset lt_cv_prog_gnu_ld
13.9856 -fi
13.9857 -if test -n "${lt_cv_path_LDCXX+set}"; then
13.9858 - lt_cv_path_LD=$lt_cv_path_LDCXX
13.9859 -else
13.9860 - unset lt_cv_path_LD
13.9861 -fi
13.9862 -test -z "${LDCXX+set}" || LD=$LDCXX
13.9863 -CC=${CXX-"c++"}
13.9864 -compiler=$CC
13.9865 -compiler_CXX=$CC
13.9866 -for cc_temp in $compiler""; do
13.9867 - case $cc_temp in
13.9868 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13.9869 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13.9870 - \-*) ;;
13.9871 - *) break;;
13.9872 - esac
13.9873 -done
13.9874 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13.9875 -
13.9876 -
13.9877 -# We don't want -fno-exception wen compiling C++ code, so set the
13.9878 -# no_builtin_flag separately
13.9879 -if test "$GXX" = yes; then
13.9880 - lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13.9881 -else
13.9882 - lt_prog_compiler_no_builtin_flag_CXX=
13.9883 -fi
13.9884 -
13.9885 -if test "$GXX" = yes; then
13.9886 - # Set up default GNU C++ configuration
13.9887 -
13.9888 -
13.9889 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
13.9890 -if test "${with_gnu_ld+set}" = set; then
13.9891 - withval="$with_gnu_ld"
13.9892 - test "$withval" = no || with_gnu_ld=yes
13.9893 -else
13.9894 - with_gnu_ld=no
13.9895 -fi;
13.9896 -ac_prog=ld
13.9897 -if test "$GCC" = yes; then
13.9898 - # Check if gcc -print-prog-name=ld gives a path.
13.9899 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13.9900 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
13.9901 - case $host in
13.9902 - *-*-mingw*)
13.9903 - # gcc leaves a trailing carriage return which upsets mingw
13.9904 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13.9905 - *)
13.9906 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13.9907 - esac
13.9908 - case $ac_prog in
13.9909 - # Accept absolute paths.
13.9910 - [\\/]* | ?:[\\/]*)
13.9911 - re_direlt='/[^/][^/]*/\.\./'
13.9912 - # Canonicalize the pathname of ld
13.9913 - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
13.9914 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13.9915 - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
13.9916 - done
13.9917 - test -z "$LD" && LD="$ac_prog"
13.9918 - ;;
13.9919 - "")
13.9920 - # If it fails, then pretend we aren't using GCC.
13.9921 - ac_prog=ld
13.9922 - ;;
13.9923 - *)
13.9924 - # If it is relative, then search for the first ld in PATH.
13.9925 - with_gnu_ld=unknown
13.9926 - ;;
13.9927 - esac
13.9928 -elif test "$with_gnu_ld" = yes; then
13.9929 - echo "$as_me:$LINENO: checking for GNU ld" >&5
13.9930 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
13.9931 -else
13.9932 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13.9933 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
13.9934 -fi
13.9935 -if test "${lt_cv_path_LD+set}" = set; then
13.9936 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.9937 -else
13.9938 - if test -z "$LD"; then
13.9939 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13.9940 - for ac_dir in $PATH; do
13.9941 - IFS="$lt_save_ifs"
13.9942 - test -z "$ac_dir" && ac_dir=.
13.9943 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13.9944 - lt_cv_path_LD="$ac_dir/$ac_prog"
13.9945 - # Check to see if the program is GNU ld. I'd rather use --version,
13.9946 - # but apparently some variants of GNU ld only accept -v.
13.9947 - # Break only if it was the GNU/non-GNU ld that we prefer.
13.9948 - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13.9949 - *GNU* | *'with BFD'*)
13.9950 - test "$with_gnu_ld" != no && break
13.9951 - ;;
13.9952 - *)
13.9953 - test "$with_gnu_ld" != yes && break
13.9954 - ;;
13.9955 - esac
13.9956 - fi
13.9957 - done
13.9958 - IFS="$lt_save_ifs"
13.9959 -else
13.9960 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
13.9961 -fi
13.9962 -fi
13.9963 -
13.9964 -LD="$lt_cv_path_LD"
13.9965 -if test -n "$LD"; then
13.9966 - echo "$as_me:$LINENO: result: $LD" >&5
13.9967 -echo "${ECHO_T}$LD" >&6
13.9968 -else
13.9969 - echo "$as_me:$LINENO: result: no" >&5
13.9970 -echo "${ECHO_T}no" >&6
13.9971 -fi
13.9972 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13.9973 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13.9974 - { (exit 1); exit 1; }; }
13.9975 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13.9976 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
13.9977 -if test "${lt_cv_prog_gnu_ld+set}" = set; then
13.9978 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.9979 -else
13.9980 - # I'd rather use --version here, but apparently some GNU lds only accept -v.
13.9981 -case `$LD -v 2>&1 </dev/null` in
13.9982 -*GNU* | *'with BFD'*)
13.9983 - lt_cv_prog_gnu_ld=yes
13.9984 - ;;
13.9985 -*)
13.9986 - lt_cv_prog_gnu_ld=no
13.9987 - ;;
13.9988 -esac
13.9989 -fi
13.9990 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13.9991 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
13.9992 -with_gnu_ld=$lt_cv_prog_gnu_ld
13.9993 -
13.9994 -
13.9995 -
13.9996 - # Check if GNU C++ uses GNU ld as the underlying linker, since the
13.9997 - # archiving commands below assume that GNU ld is being used.
13.9998 - if test "$with_gnu_ld" = yes; then
13.9999 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.10000 - archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13.10001 -
13.10002 - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13.10003 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13.10004 -
13.10005 - # If archive_cmds runs LD, not CC, wlarc should be empty
13.10006 - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13.10007 - # investigate it a little bit more. (MM)
13.10008 - wlarc='${wl}'
13.10009 -
13.10010 - # ancient GNU ld didn't support --whole-archive et. al.
13.10011 - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
13.10012 - grep 'no-whole-archive' > /dev/null; then
13.10013 - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13.10014 - else
13.10015 - whole_archive_flag_spec_CXX=
13.10016 - fi
13.10017 - else
13.10018 - with_gnu_ld=no
13.10019 - wlarc=
13.10020 -
13.10021 - # A generic and very simple default shared library creation
13.10022 - # command for GNU C++ for the case where it uses the native
13.10023 - # linker, instead of GNU ld. If possible, this setting should
13.10024 - # overridden to take advantage of the native linker features on
13.10025 - # the platform it is being used on.
13.10026 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13.10027 - fi
13.10028 -
13.10029 - # Commands to make compiler produce verbose output that lists
13.10030 - # what "hidden" libraries, object files and flags are used when
13.10031 - # linking a shared library.
13.10032 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13.10033 -
13.10034 -else
13.10035 - GXX=no
13.10036 - with_gnu_ld=no
13.10037 - wlarc=
13.10038 -fi
13.10039 -
13.10040 -# PORTME: fill in a description of your system's C++ link characteristics
13.10041 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13.10042 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13.10043 -ld_shlibs_CXX=yes
13.10044 -case $host_os in
13.10045 - aix3*)
13.10046 - # FIXME: insert proper C++ library support
13.10047 - ld_shlibs_CXX=no
13.10048 - ;;
13.10049 - aix4* | aix5*)
13.10050 - if test "$host_cpu" = ia64; then
13.10051 - # On IA64, the linker does run time linking by default, so we don't
13.10052 - # have to do anything special.
13.10053 - aix_use_runtimelinking=no
13.10054 - exp_sym_flag='-Bexport'
13.10055 - no_entry_flag=""
13.10056 - else
13.10057 - aix_use_runtimelinking=no
13.10058 -
13.10059 - # Test if we are trying to use run time linking or normal
13.10060 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13.10061 - # need to do runtime linking.
13.10062 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13.10063 - for ld_flag in $LDFLAGS; do
13.10064 - case $ld_flag in
13.10065 - *-brtl*)
13.10066 - aix_use_runtimelinking=yes
13.10067 - break
13.10068 - ;;
13.10069 - esac
13.10070 - done
13.10071 - esac
13.10072 -
13.10073 - exp_sym_flag='-bexport'
13.10074 - no_entry_flag='-bnoentry'
13.10075 - fi
13.10076 -
13.10077 - # When large executables or shared objects are built, AIX ld can
13.10078 - # have problems creating the table of contents. If linking a library
13.10079 - # or program results in "error TOC overflow" add -mminimal-toc to
13.10080 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13.10081 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13.10082 -
13.10083 - archive_cmds_CXX=''
13.10084 - hardcode_direct_CXX=yes
13.10085 - hardcode_libdir_separator_CXX=':'
13.10086 - link_all_deplibs_CXX=yes
13.10087 -
13.10088 - if test "$GXX" = yes; then
13.10089 - case $host_os in aix4.[012]|aix4.[012].*)
13.10090 - # We only want to do this on AIX 4.2 and lower, the check
13.10091 - # below for broken collect2 doesn't work under 4.3+
13.10092 - collect2name=`${CC} -print-prog-name=collect2`
13.10093 - if test -f "$collect2name" && \
13.10094 - strings "$collect2name" | grep resolve_lib_name >/dev/null
13.10095 - then
13.10096 - # We have reworked collect2
13.10097 - hardcode_direct_CXX=yes
13.10098 - else
13.10099 - # We have old collect2
13.10100 - hardcode_direct_CXX=unsupported
13.10101 - # It fails to find uninstalled libraries when the uninstalled
13.10102 - # path is not listed in the libpath. Setting hardcode_minus_L
13.10103 - # to unsupported forces relinking
13.10104 - hardcode_minus_L_CXX=yes
13.10105 - hardcode_libdir_flag_spec_CXX='-L$libdir'
13.10106 - hardcode_libdir_separator_CXX=
13.10107 - fi
13.10108 - esac
13.10109 - shared_flag='-shared'
13.10110 - if test "$aix_use_runtimelinking" = yes; then
13.10111 - shared_flag="$shared_flag "'${wl}-G'
13.10112 - fi
13.10113 - else
13.10114 - # not using gcc
13.10115 - if test "$host_cpu" = ia64; then
13.10116 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13.10117 - # chokes on -Wl,-G. The following line is correct:
13.10118 - shared_flag='-G'
13.10119 - else
13.10120 - if test "$aix_use_runtimelinking" = yes; then
13.10121 - shared_flag='${wl}-G'
13.10122 - else
13.10123 - shared_flag='${wl}-bM:SRE'
13.10124 - fi
13.10125 - fi
13.10126 - fi
13.10127 -
13.10128 - # It seems that -bexpall does not export symbols beginning with
13.10129 - # underscore (_), so it is better to generate a list of symbols to export.
13.10130 - always_export_symbols_CXX=yes
13.10131 - if test "$aix_use_runtimelinking" = yes; then
13.10132 - # Warning - without using the other runtime loading flags (-brtl),
13.10133 - # -berok will link without error, but may produce a broken library.
13.10134 - allow_undefined_flag_CXX='-berok'
13.10135 - # Determine the default libpath from the value encoded in an empty executable.
13.10136 - cat >conftest.$ac_ext <<_ACEOF
13.10137 -/* confdefs.h. */
13.10138 -_ACEOF
13.10139 -cat confdefs.h >>conftest.$ac_ext
13.10140 -cat >>conftest.$ac_ext <<_ACEOF
13.10141 -/* end confdefs.h. */
13.10142 -
13.10143 -int
13.10144 -main ()
13.10145 -{
13.10146 -
13.10147 - ;
13.10148 - return 0;
13.10149 -}
13.10150 -_ACEOF
13.10151 -rm -f conftest.$ac_objext conftest$ac_exeext
13.10152 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.10153 - (eval $ac_link) 2>conftest.er1
13.10154 - ac_status=$?
13.10155 - grep -v '^ *+' conftest.er1 >conftest.err
13.10156 - rm -f conftest.er1
13.10157 - cat conftest.err >&5
13.10158 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.10159 - (exit $ac_status); } &&
13.10160 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13.10161 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.10162 - (eval $ac_try) 2>&5
13.10163 - ac_status=$?
13.10164 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.10165 - (exit $ac_status); }; } &&
13.10166 - { ac_try='test -s conftest$ac_exeext'
13.10167 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.10168 - (eval $ac_try) 2>&5
13.10169 - ac_status=$?
13.10170 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.10171 - (exit $ac_status); }; }; then
13.10172 -
13.10173 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13.10174 -}'`
13.10175 -# Check for a 64-bit object if we didn't find anything.
13.10176 -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; }
13.10177 -}'`; fi
13.10178 -else
13.10179 - echo "$as_me: failed program was:" >&5
13.10180 -sed 's/^/| /' conftest.$ac_ext >&5
13.10181 -
13.10182 -fi
13.10183 -rm -f conftest.err conftest.$ac_objext \
13.10184 - conftest$ac_exeext conftest.$ac_ext
13.10185 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13.10186 -
13.10187 - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13.10188 -
13.10189 - archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13.10190 - else
13.10191 - if test "$host_cpu" = ia64; then
13.10192 - hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13.10193 - allow_undefined_flag_CXX="-z nodefs"
13.10194 - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
13.10195 - else
13.10196 - # Determine the default libpath from the value encoded in an empty executable.
13.10197 - cat >conftest.$ac_ext <<_ACEOF
13.10198 -/* confdefs.h. */
13.10199 -_ACEOF
13.10200 -cat confdefs.h >>conftest.$ac_ext
13.10201 -cat >>conftest.$ac_ext <<_ACEOF
13.10202 -/* end confdefs.h. */
13.10203 -
13.10204 -int
13.10205 -main ()
13.10206 -{
13.10207 -
13.10208 - ;
13.10209 - return 0;
13.10210 -}
13.10211 -_ACEOF
13.10212 -rm -f conftest.$ac_objext conftest$ac_exeext
13.10213 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.10214 - (eval $ac_link) 2>conftest.er1
13.10215 - ac_status=$?
13.10216 - grep -v '^ *+' conftest.er1 >conftest.err
13.10217 - rm -f conftest.er1
13.10218 - cat conftest.err >&5
13.10219 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.10220 - (exit $ac_status); } &&
13.10221 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13.10222 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.10223 - (eval $ac_try) 2>&5
13.10224 - ac_status=$?
13.10225 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.10226 - (exit $ac_status); }; } &&
13.10227 - { ac_try='test -s conftest$ac_exeext'
13.10228 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.10229 - (eval $ac_try) 2>&5
13.10230 - ac_status=$?
13.10231 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.10232 - (exit $ac_status); }; }; then
13.10233 -
13.10234 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13.10235 -}'`
13.10236 -# Check for a 64-bit object if we didn't find anything.
13.10237 -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; }
13.10238 -}'`; fi
13.10239 -else
13.10240 - echo "$as_me: failed program was:" >&5
13.10241 -sed 's/^/| /' conftest.$ac_ext >&5
13.10242 -
13.10243 -fi
13.10244 -rm -f conftest.err conftest.$ac_objext \
13.10245 - conftest$ac_exeext conftest.$ac_ext
13.10246 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13.10247 -
13.10248 - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13.10249 - # Warning - without using the other run time loading flags,
13.10250 - # -berok will link without error, but may produce a broken library.
13.10251 - no_undefined_flag_CXX=' ${wl}-bernotok'
13.10252 - allow_undefined_flag_CXX=' ${wl}-berok'
13.10253 - # -bexpall does not export symbols beginning with underscore (_)
13.10254 - always_export_symbols_CXX=yes
13.10255 - # Exported symbols can be pulled into shared objects from archives
13.10256 - whole_archive_flag_spec_CXX=' '
13.10257 - archive_cmds_need_lc_CXX=yes
13.10258 - # This is similar to how AIX traditionally builds its shared libraries.
13.10259 - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13.10260 - fi
13.10261 - fi
13.10262 - ;;
13.10263 - chorus*)
13.10264 - case $cc_basename in
13.10265 - *)
13.10266 - # FIXME: insert proper C++ library support
13.10267 - ld_shlibs_CXX=no
13.10268 - ;;
13.10269 - esac
13.10270 - ;;
13.10271 -
13.10272 -
13.10273 - cygwin* | mingw* | pw32*)
13.10274 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13.10275 - # as there is no search path for DLLs.
13.10276 - hardcode_libdir_flag_spec_CXX='-L$libdir'
13.10277 - allow_undefined_flag_CXX=unsupported
13.10278 - always_export_symbols_CXX=no
13.10279 - enable_shared_with_static_runtimes_CXX=yes
13.10280 -
13.10281 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13.10282 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13.10283 - # If the export-symbols file already is a .def file (1st line
13.10284 - # is EXPORTS), use it as is; otherwise, prepend...
13.10285 - archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13.10286 - cp $export_symbols $output_objdir/$soname.def;
13.10287 - else
13.10288 - echo EXPORTS > $output_objdir/$soname.def;
13.10289 - cat $export_symbols >> $output_objdir/$soname.def;
13.10290 - fi~
13.10291 - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13.10292 - else
13.10293 - ld_shlibs_CXX=no
13.10294 - fi
13.10295 - ;;
13.10296 - darwin* | rhapsody*)
13.10297 - case $host_os in
13.10298 - rhapsody* | darwin1.[012])
13.10299 - allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
13.10300 - ;;
13.10301 - *) # Darwin 1.3 on
13.10302 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13.10303 - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13.10304 - else
13.10305 - case ${MACOSX_DEPLOYMENT_TARGET} in
13.10306 - 10.[012])
13.10307 - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13.10308 - ;;
13.10309 - 10.*)
13.10310 - allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
13.10311 - ;;
13.10312 - esac
13.10313 - fi
13.10314 - ;;
13.10315 - esac
13.10316 - archive_cmds_need_lc_CXX=no
13.10317 - hardcode_direct_CXX=no
13.10318 - hardcode_automatic_CXX=yes
13.10319 - hardcode_shlibpath_var_CXX=unsupported
13.10320 - whole_archive_flag_spec_CXX=''
13.10321 - link_all_deplibs_CXX=yes
13.10322 -
13.10323 - if test "$GXX" = yes ; then
13.10324 - lt_int_apple_cc_single_mod=no
13.10325 - output_verbose_link_cmd='echo'
13.10326 - if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
13.10327 - lt_int_apple_cc_single_mod=yes
13.10328 - fi
13.10329 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13.10330 - archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13.10331 - else
13.10332 - archive_cmds_CXX='$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'
13.10333 - fi
13.10334 - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13.10335 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13.10336 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13.10337 - archive_expsym_cmds_CXX='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}'
13.10338 - else
13.10339 - archive_expsym_cmds_CXX='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}'
13.10340 - fi
13.10341 - module_expsym_cmds_CXX='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}'
13.10342 - else
13.10343 - case $cc_basename in
13.10344 - xlc*)
13.10345 - output_verbose_link_cmd='echo'
13.10346 - archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
13.10347 - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13.10348 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13.10349 - archive_expsym_cmds_CXX='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}'
13.10350 - module_expsym_cmds_CXX='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}'
13.10351 - ;;
13.10352 - *)
13.10353 - ld_shlibs_CXX=no
13.10354 - ;;
13.10355 - esac
13.10356 - fi
13.10357 - ;;
13.10358 -
13.10359 - dgux*)
13.10360 - case $cc_basename in
13.10361 - ec++*)
13.10362 - # FIXME: insert proper C++ library support
13.10363 - ld_shlibs_CXX=no
13.10364 - ;;
13.10365 - ghcx*)
13.10366 - # Green Hills C++ Compiler
13.10367 - # FIXME: insert proper C++ library support
13.10368 - ld_shlibs_CXX=no
13.10369 - ;;
13.10370 - *)
13.10371 - # FIXME: insert proper C++ library support
13.10372 - ld_shlibs_CXX=no
13.10373 - ;;
13.10374 - esac
13.10375 - ;;
13.10376 - freebsd[12]*)
13.10377 - # C++ shared libraries reported to be fairly broken before switch to ELF
13.10378 - ld_shlibs_CXX=no
13.10379 - ;;
13.10380 - freebsd-elf*)
13.10381 - archive_cmds_need_lc_CXX=no
13.10382 - ;;
13.10383 - freebsd* | kfreebsd*-gnu | dragonfly*)
13.10384 - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13.10385 - # conventions
13.10386 - ld_shlibs_CXX=yes
13.10387 - ;;
13.10388 - gnu*)
13.10389 - ;;
13.10390 - hpux9*)
13.10391 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13.10392 - hardcode_libdir_separator_CXX=:
13.10393 - export_dynamic_flag_spec_CXX='${wl}-E'
13.10394 - hardcode_direct_CXX=yes
13.10395 - hardcode_minus_L_CXX=yes # Not in the search PATH,
13.10396 - # but as the default
13.10397 - # location of the library.
13.10398 -
13.10399 - case $cc_basename in
13.10400 - CC*)
13.10401 - # FIXME: insert proper C++ library support
13.10402 - ld_shlibs_CXX=no
13.10403 - ;;
13.10404 - aCC*)
13.10405 - archive_cmds_CXX='$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'
13.10406 - # Commands to make compiler produce verbose output that lists
13.10407 - # what "hidden" libraries, object files and flags are used when
13.10408 - # linking a shared library.
13.10409 - #
13.10410 - # There doesn't appear to be a way to prevent this compiler from
13.10411 - # explicitly linking system object files so we need to strip them
13.10412 - # from the output so that they don't get included in the library
13.10413 - # dependencies.
13.10414 - 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'
13.10415 - ;;
13.10416 - *)
13.10417 - if test "$GXX" = yes; then
13.10418 - archive_cmds_CXX='$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'
13.10419 - else
13.10420 - # FIXME: insert proper C++ library support
13.10421 - ld_shlibs_CXX=no
13.10422 - fi
13.10423 - ;;
13.10424 - esac
13.10425 - ;;
13.10426 - hpux10*|hpux11*)
13.10427 - if test $with_gnu_ld = no; then
13.10428 - case $host_cpu in
13.10429 - hppa*64*)
13.10430 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13.10431 - hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
13.10432 - hardcode_libdir_separator_CXX=:
13.10433 - ;;
13.10434 - ia64*)
13.10435 - hardcode_libdir_flag_spec_CXX='-L$libdir'
13.10436 - ;;
13.10437 - *)
13.10438 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13.10439 - hardcode_libdir_separator_CXX=:
13.10440 - export_dynamic_flag_spec_CXX='${wl}-E'
13.10441 - ;;
13.10442 - esac
13.10443 - fi
13.10444 - case $host_cpu in
13.10445 - hppa*64*)
13.10446 - hardcode_direct_CXX=no
13.10447 - hardcode_shlibpath_var_CXX=no
13.10448 - ;;
13.10449 - ia64*)
13.10450 - hardcode_direct_CXX=no
13.10451 - hardcode_shlibpath_var_CXX=no
13.10452 - hardcode_minus_L_CXX=yes # Not in the search PATH,
13.10453 - # but as the default
13.10454 - # location of the library.
13.10455 - ;;
13.10456 - *)
13.10457 - hardcode_direct_CXX=yes
13.10458 - hardcode_minus_L_CXX=yes # Not in the search PATH,
13.10459 - # but as the default
13.10460 - # location of the library.
13.10461 - ;;
13.10462 - esac
13.10463 -
13.10464 - case $cc_basename in
13.10465 - CC*)
13.10466 - # FIXME: insert proper C++ library support
13.10467 - ld_shlibs_CXX=no
13.10468 - ;;
13.10469 - aCC*)
13.10470 - case $host_cpu in
13.10471 - hppa*64*|ia64*)
13.10472 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13.10473 - ;;
13.10474 - *)
13.10475 - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13.10476 - ;;
13.10477 - esac
13.10478 - # Commands to make compiler produce verbose output that lists
13.10479 - # what "hidden" libraries, object files and flags are used when
13.10480 - # linking a shared library.
13.10481 - #
13.10482 - # There doesn't appear to be a way to prevent this compiler from
13.10483 - # explicitly linking system object files so we need to strip them
13.10484 - # from the output so that they don't get included in the library
13.10485 - # dependencies.
13.10486 - 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'
13.10487 - ;;
13.10488 - *)
13.10489 - if test "$GXX" = yes; then
13.10490 - if test $with_gnu_ld = no; then
13.10491 - case $host_cpu in
13.10492 - ia64*|hppa*64*)
13.10493 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13.10494 - ;;
13.10495 - *)
13.10496 - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13.10497 - ;;
13.10498 - esac
13.10499 - fi
13.10500 - else
13.10501 - # FIXME: insert proper C++ library support
13.10502 - ld_shlibs_CXX=no
13.10503 - fi
13.10504 - ;;
13.10505 - esac
13.10506 - ;;
13.10507 - irix5* | irix6*)
13.10508 - case $cc_basename in
13.10509 - CC*)
13.10510 - # SGI C++
13.10511 - archive_cmds_CXX='$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'
13.10512 -
13.10513 - # Archives containing C++ object files must be created using
13.10514 - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13.10515 - # necessary to make sure instantiated templates are included
13.10516 - # in the archive.
13.10517 - old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13.10518 - ;;
13.10519 - *)
13.10520 - if test "$GXX" = yes; then
13.10521 - if test "$with_gnu_ld" = no; then
13.10522 - archive_cmds_CXX='$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'
13.10523 - else
13.10524 - archive_cmds_CXX='$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'
13.10525 - fi
13.10526 - fi
13.10527 - link_all_deplibs_CXX=yes
13.10528 - ;;
13.10529 - esac
13.10530 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13.10531 - hardcode_libdir_separator_CXX=:
13.10532 - ;;
13.10533 - linux*)
13.10534 - case $cc_basename in
13.10535 - KCC*)
13.10536 - # Kuck and Associates, Inc. (KAI) C++ Compiler
13.10537 -
13.10538 - # KCC will only create a shared library if the output file
13.10539 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
13.10540 - # to its proper name (with version) after linking.
13.10541 - archive_cmds_CXX='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'
13.10542 - archive_expsym_cmds_CXX='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'
13.10543 - # Commands to make compiler produce verbose output that lists
13.10544 - # what "hidden" libraries, object files and flags are used when
13.10545 - # linking a shared library.
13.10546 - #
13.10547 - # There doesn't appear to be a way to prevent this compiler from
13.10548 - # explicitly linking system object files so we need to strip them
13.10549 - # from the output so that they don't get included in the library
13.10550 - # dependencies.
13.10551 - 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'
13.10552 -
13.10553 - hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
13.10554 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13.10555 -
13.10556 - # Archives containing C++ object files must be created using
13.10557 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13.10558 - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13.10559 - ;;
13.10560 - icpc*)
13.10561 - # Intel C++
13.10562 - with_gnu_ld=yes
13.10563 - # version 8.0 and above of icpc choke on multiply defined symbols
13.10564 - # if we add $predep_objects and $postdep_objects, however 7.1 and
13.10565 - # earlier do not add the objects themselves.
13.10566 - case `$CC -V 2>&1` in
13.10567 - *"Version 7."*)
13.10568 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.10569 - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13.10570 - ;;
13.10571 - *) # Version 8.0 or newer
13.10572 - tmp_idyn=
13.10573 - case $host_cpu in
13.10574 - ia64*) tmp_idyn=' -i_dynamic';;
13.10575 - esac
13.10576 - archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.10577 - archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13.10578 - ;;
13.10579 - esac
13.10580 - archive_cmds_need_lc_CXX=no
13.10581 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13.10582 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13.10583 - whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13.10584 - ;;
13.10585 - pgCC*)
13.10586 - # Portland Group C++ compiler
13.10587 - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13.10588 - archive_expsym_cmds_CXX='$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'
13.10589 -
13.10590 - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13.10591 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13.10592 - whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13.10593 - ;;
13.10594 - cxx*)
13.10595 - # Compaq C++
13.10596 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.10597 - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13.10598 -
13.10599 - runpath_var=LD_RUN_PATH
13.10600 - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13.10601 - hardcode_libdir_separator_CXX=:
13.10602 -
13.10603 - # Commands to make compiler produce verbose output that lists
13.10604 - # what "hidden" libraries, object files and flags are used when
13.10605 - # linking a shared library.
13.10606 - #
13.10607 - # There doesn't appear to be a way to prevent this compiler from
13.10608 - # explicitly linking system object files so we need to strip them
13.10609 - # from the output so that they don't get included in the library
13.10610 - # dependencies.
13.10611 - 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'
13.10612 - ;;
13.10613 - esac
13.10614 - ;;
13.10615 - lynxos*)
13.10616 - # FIXME: insert proper C++ library support
13.10617 - ld_shlibs_CXX=no
13.10618 - ;;
13.10619 - m88k*)
13.10620 - # FIXME: insert proper C++ library support
13.10621 - ld_shlibs_CXX=no
13.10622 - ;;
13.10623 - mvs*)
13.10624 - case $cc_basename in
13.10625 - cxx*)
13.10626 - # FIXME: insert proper C++ library support
13.10627 - ld_shlibs_CXX=no
13.10628 - ;;
13.10629 - *)
13.10630 - # FIXME: insert proper C++ library support
13.10631 - ld_shlibs_CXX=no
13.10632 - ;;
13.10633 - esac
13.10634 - ;;
13.10635 - netbsd*)
13.10636 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13.10637 - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13.10638 - wlarc=
13.10639 - hardcode_libdir_flag_spec_CXX='-R$libdir'
13.10640 - hardcode_direct_CXX=yes
13.10641 - hardcode_shlibpath_var_CXX=no
13.10642 - fi
13.10643 - # Workaround some broken pre-1.5 toolchains
13.10644 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13.10645 - ;;
13.10646 - openbsd2*)
13.10647 - # C++ shared libraries are fairly broken
13.10648 - ld_shlibs_CXX=no
13.10649 - ;;
13.10650 - openbsd*)
13.10651 - hardcode_direct_CXX=yes
13.10652 - hardcode_shlibpath_var_CXX=no
13.10653 - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13.10654 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13.10655 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13.10656 - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13.10657 - export_dynamic_flag_spec_CXX='${wl}-E'
13.10658 - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13.10659 - fi
13.10660 - output_verbose_link_cmd='echo'
13.10661 - ;;
13.10662 - osf3*)
13.10663 - case $cc_basename in
13.10664 - KCC*)
13.10665 - # Kuck and Associates, Inc. (KAI) C++ Compiler
13.10666 -
13.10667 - # KCC will only create a shared library if the output file
13.10668 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
13.10669 - # to its proper name (with version) after linking.
13.10670 - archive_cmds_CXX='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'
13.10671 -
13.10672 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13.10673 - hardcode_libdir_separator_CXX=:
13.10674 -
13.10675 - # Archives containing C++ object files must be created using
13.10676 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13.10677 - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13.10678 -
13.10679 - ;;
13.10680 - RCC*)
13.10681 - # Rational C++ 2.4.1
13.10682 - # FIXME: insert proper C++ library support
13.10683 - ld_shlibs_CXX=no
13.10684 - ;;
13.10685 - cxx*)
13.10686 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13.10687 - archive_cmds_CXX='$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'
13.10688 -
13.10689 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13.10690 - hardcode_libdir_separator_CXX=:
13.10691 -
13.10692 - # Commands to make compiler produce verbose output that lists
13.10693 - # what "hidden" libraries, object files and flags are used when
13.10694 - # linking a shared library.
13.10695 - #
13.10696 - # There doesn't appear to be a way to prevent this compiler from
13.10697 - # explicitly linking system object files so we need to strip them
13.10698 - # from the output so that they don't get included in the library
13.10699 - # dependencies.
13.10700 - 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'
13.10701 - ;;
13.10702 - *)
13.10703 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13.10704 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13.10705 - archive_cmds_CXX='$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'
13.10706 -
13.10707 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13.10708 - hardcode_libdir_separator_CXX=:
13.10709 -
13.10710 - # Commands to make compiler produce verbose output that lists
13.10711 - # what "hidden" libraries, object files and flags are used when
13.10712 - # linking a shared library.
13.10713 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13.10714 -
13.10715 - else
13.10716 - # FIXME: insert proper C++ library support
13.10717 - ld_shlibs_CXX=no
13.10718 - fi
13.10719 - ;;
13.10720 - esac
13.10721 - ;;
13.10722 - osf4* | osf5*)
13.10723 - case $cc_basename in
13.10724 - KCC*)
13.10725 - # Kuck and Associates, Inc. (KAI) C++ Compiler
13.10726 -
13.10727 - # KCC will only create a shared library if the output file
13.10728 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
13.10729 - # to its proper name (with version) after linking.
13.10730 - archive_cmds_CXX='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'
13.10731 -
13.10732 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13.10733 - hardcode_libdir_separator_CXX=:
13.10734 -
13.10735 - # Archives containing C++ object files must be created using
13.10736 - # the KAI C++ compiler.
13.10737 - old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13.10738 - ;;
13.10739 - RCC*)
13.10740 - # Rational C++ 2.4.1
13.10741 - # FIXME: insert proper C++ library support
13.10742 - ld_shlibs_CXX=no
13.10743 - ;;
13.10744 - cxx*)
13.10745 - allow_undefined_flag_CXX=' -expect_unresolved \*'
13.10746 - archive_cmds_CXX='$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'
13.10747 - archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13.10748 - echo "-hidden">> $lib.exp~
13.10749 - $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~
13.10750 - $rm $lib.exp'
13.10751 -
13.10752 - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13.10753 - hardcode_libdir_separator_CXX=:
13.10754 -
13.10755 - # Commands to make compiler produce verbose output that lists
13.10756 - # what "hidden" libraries, object files and flags are used when
13.10757 - # linking a shared library.
13.10758 - #
13.10759 - # There doesn't appear to be a way to prevent this compiler from
13.10760 - # explicitly linking system object files so we need to strip them
13.10761 - # from the output so that they don't get included in the library
13.10762 - # dependencies.
13.10763 - 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'
13.10764 - ;;
13.10765 - *)
13.10766 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13.10767 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13.10768 - archive_cmds_CXX='$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'
13.10769 -
13.10770 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13.10771 - hardcode_libdir_separator_CXX=:
13.10772 -
13.10773 - # Commands to make compiler produce verbose output that lists
13.10774 - # what "hidden" libraries, object files and flags are used when
13.10775 - # linking a shared library.
13.10776 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13.10777 -
13.10778 - else
13.10779 - # FIXME: insert proper C++ library support
13.10780 - ld_shlibs_CXX=no
13.10781 - fi
13.10782 - ;;
13.10783 - esac
13.10784 - ;;
13.10785 - psos*)
13.10786 - # FIXME: insert proper C++ library support
13.10787 - ld_shlibs_CXX=no
13.10788 - ;;
13.10789 - sco*)
13.10790 - archive_cmds_need_lc_CXX=no
13.10791 - case $cc_basename in
13.10792 - CC*)
13.10793 - # FIXME: insert proper C++ library support
13.10794 - ld_shlibs_CXX=no
13.10795 - ;;
13.10796 - *)
13.10797 - # FIXME: insert proper C++ library support
13.10798 - ld_shlibs_CXX=no
13.10799 - ;;
13.10800 - esac
13.10801 - ;;
13.10802 - sunos4*)
13.10803 - case $cc_basename in
13.10804 - CC*)
13.10805 - # Sun C++ 4.x
13.10806 - # FIXME: insert proper C++ library support
13.10807 - ld_shlibs_CXX=no
13.10808 - ;;
13.10809 - lcc*)
13.10810 - # Lucid
13.10811 - # FIXME: insert proper C++ library support
13.10812 - ld_shlibs_CXX=no
13.10813 - ;;
13.10814 - *)
13.10815 - # FIXME: insert proper C++ library support
13.10816 - ld_shlibs_CXX=no
13.10817 - ;;
13.10818 - esac
13.10819 - ;;
13.10820 - solaris*)
13.10821 - case $cc_basename in
13.10822 - CC*)
13.10823 - # Sun C++ 4.2, 5.x and Centerline C++
13.10824 - archive_cmds_need_lc_CXX=yes
13.10825 - no_undefined_flag_CXX=' -zdefs'
13.10826 - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13.10827 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13.10828 - $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'
13.10829 -
13.10830 - hardcode_libdir_flag_spec_CXX='-R$libdir'
13.10831 - hardcode_shlibpath_var_CXX=no
13.10832 - case $host_os in
13.10833 - solaris2.[0-5] | solaris2.[0-5].*) ;;
13.10834 - *)
13.10835 - # The C++ compiler is used as linker so we must use $wl
13.10836 - # flag to pass the commands to the underlying system
13.10837 - # linker. We must also pass each convience library through
13.10838 - # to the system linker between allextract/defaultextract.
13.10839 - # The C++ compiler will combine linker options so we
13.10840 - # cannot just pass the convience library names through
13.10841 - # without $wl.
13.10842 - # Supported since Solaris 2.6 (maybe 2.5.1?)
13.10843 - whole_archive_flag_spec_CXX='${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'
13.10844 - ;;
13.10845 - esac
13.10846 - link_all_deplibs_CXX=yes
13.10847 -
13.10848 - output_verbose_link_cmd='echo'
13.10849 -
13.10850 - # Archives containing C++ object files must be created using
13.10851 - # "CC -xar", where "CC" is the Sun C++ compiler. This is
13.10852 - # necessary to make sure instantiated templates are included
13.10853 - # in the archive.
13.10854 - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13.10855 - ;;
13.10856 - gcx*)
13.10857 - # Green Hills C++ Compiler
13.10858 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13.10859 -
13.10860 - # The C++ compiler must be used to create the archive.
13.10861 - old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13.10862 - ;;
13.10863 - *)
13.10864 - # GNU C++ compiler with Solaris linker
13.10865 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13.10866 - no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13.10867 - if $CC --version | grep -v '^2\.7' > /dev/null; then
13.10868 - archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13.10869 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13.10870 - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13.10871 -
13.10872 - # Commands to make compiler produce verbose output that lists
13.10873 - # what "hidden" libraries, object files and flags are used when
13.10874 - # linking a shared library.
13.10875 - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13.10876 - else
13.10877 - # g++ 2.7 appears to require `-G' NOT `-shared' on this
13.10878 - # platform.
13.10879 - archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13.10880 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13.10881 - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13.10882 -
13.10883 - # Commands to make compiler produce verbose output that lists
13.10884 - # what "hidden" libraries, object files and flags are used when
13.10885 - # linking a shared library.
13.10886 - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13.10887 - fi
13.10888 -
13.10889 - hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13.10890 - fi
13.10891 - ;;
13.10892 - esac
13.10893 - ;;
13.10894 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13.10895 - archive_cmds_need_lc_CXX=no
13.10896 - ;;
13.10897 - tandem*)
13.10898 - case $cc_basename in
13.10899 - NCC*)
13.10900 - # NonStop-UX NCC 3.20
13.10901 - # FIXME: insert proper C++ library support
13.10902 - ld_shlibs_CXX=no
13.10903 - ;;
13.10904 - *)
13.10905 - # FIXME: insert proper C++ library support
13.10906 - ld_shlibs_CXX=no
13.10907 - ;;
13.10908 - esac
13.10909 - ;;
13.10910 - vxworks*)
13.10911 - # FIXME: insert proper C++ library support
13.10912 - ld_shlibs_CXX=no
13.10913 - ;;
13.10914 - *)
13.10915 - # FIXME: insert proper C++ library support
13.10916 - ld_shlibs_CXX=no
13.10917 - ;;
13.10918 -esac
13.10919 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13.10920 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
13.10921 -test "$ld_shlibs_CXX" = no && can_build_shared=no
13.10922 -
13.10923 -GCC_CXX="$GXX"
13.10924 -LD_CXX="$LD"
13.10925 -
13.10926 -
13.10927 -cat > conftest.$ac_ext <<EOF
13.10928 -class Foo
13.10929 -{
13.10930 -public:
13.10931 - Foo (void) { a = 0; }
13.10932 -private:
13.10933 - int a;
13.10934 -};
13.10935 -EOF
13.10936 -
13.10937 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.10938 - (eval $ac_compile) 2>&5
13.10939 - ac_status=$?
13.10940 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.10941 - (exit $ac_status); }; then
13.10942 - # Parse the compiler output and extract the necessary
13.10943 - # objects, libraries and library flags.
13.10944 -
13.10945 - # Sentinel used to keep track of whether or not we are before
13.10946 - # the conftest object file.
13.10947 - pre_test_object_deps_done=no
13.10948 -
13.10949 - # The `*' in the case matches for architectures that use `case' in
13.10950 - # $output_verbose_cmd can trigger glob expansion during the loop
13.10951 - # eval without this substitution.
13.10952 - output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13.10953 -
13.10954 - for p in `eval $output_verbose_link_cmd`; do
13.10955 - case $p in
13.10956 -
13.10957 - -L* | -R* | -l*)
13.10958 - # Some compilers place space between "-{L,R}" and the path.
13.10959 - # Remove the space.
13.10960 - if test $p = "-L" \
13.10961 - || test $p = "-R"; then
13.10962 - prev=$p
13.10963 - continue
13.10964 - else
13.10965 - prev=
13.10966 - fi
13.10967 -
13.10968 - if test "$pre_test_object_deps_done" = no; then
13.10969 - case $p in
13.10970 - -L* | -R*)
13.10971 - # Internal compiler library paths should come after those
13.10972 - # provided the user. The postdeps already come after the
13.10973 - # user supplied libs so there is no need to process them.
13.10974 - if test -z "$compiler_lib_search_path_CXX"; then
13.10975 - compiler_lib_search_path_CXX="${prev}${p}"
13.10976 - else
13.10977 - compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13.10978 - fi
13.10979 - ;;
13.10980 - # The "-l" case would never come before the object being
13.10981 - # linked, so don't bother handling this case.
13.10982 - esac
13.10983 - else
13.10984 - if test -z "$postdeps_CXX"; then
13.10985 - postdeps_CXX="${prev}${p}"
13.10986 - else
13.10987 - postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13.10988 - fi
13.10989 - fi
13.10990 - ;;
13.10991 -
13.10992 - *.$objext)
13.10993 - # This assumes that the test object file only shows up
13.10994 - # once in the compiler output.
13.10995 - if test "$p" = "conftest.$objext"; then
13.10996 - pre_test_object_deps_done=yes
13.10997 - continue
13.10998 - fi
13.10999 -
13.11000 - if test "$pre_test_object_deps_done" = no; then
13.11001 - if test -z "$predep_objects_CXX"; then
13.11002 - predep_objects_CXX="$p"
13.11003 - else
13.11004 - predep_objects_CXX="$predep_objects_CXX $p"
13.11005 - fi
13.11006 - else
13.11007 - if test -z "$postdep_objects_CXX"; then
13.11008 - postdep_objects_CXX="$p"
13.11009 - else
13.11010 - postdep_objects_CXX="$postdep_objects_CXX $p"
13.11011 - fi
13.11012 - fi
13.11013 - ;;
13.11014 -
13.11015 - *) ;; # Ignore the rest.
13.11016 -
13.11017 - esac
13.11018 - done
13.11019 -
13.11020 - # Clean up.
13.11021 - rm -f a.out a.exe
13.11022 -else
13.11023 - echo "libtool.m4: error: problem compiling CXX test program"
13.11024 -fi
13.11025 -
13.11026 -$rm -f confest.$objext
13.11027 -
13.11028 -# PORTME: override above test on systems where it is broken
13.11029 -case $host_os in
13.11030 -solaris*)
13.11031 - case $cc_basename in
13.11032 - CC*)
13.11033 - # Adding this requires a known-good setup of shared libraries for
13.11034 - # Sun compiler versions before 5.6, else PIC objects from an old
13.11035 - # archive will be linked into the output, leading to subtle bugs.
13.11036 - postdeps_CXX='-lCstd -lCrun'
13.11037 - ;;
13.11038 - esac
13.11039 -esac
13.11040 -
13.11041 -
13.11042 -case " $postdeps_CXX " in
13.11043 -*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13.11044 -esac
13.11045 -
13.11046 -lt_prog_compiler_wl_CXX=
13.11047 -lt_prog_compiler_pic_CXX=
13.11048 -lt_prog_compiler_static_CXX=
13.11049 -
13.11050 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13.11051 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13.11052 -
13.11053 - # C++ specific cases for pic, static, wl, etc.
13.11054 - if test "$GXX" = yes; then
13.11055 - lt_prog_compiler_wl_CXX='-Wl,'
13.11056 - lt_prog_compiler_static_CXX='-static'
13.11057 -
13.11058 - case $host_os in
13.11059 - aix*)
13.11060 - # All AIX code is PIC.
13.11061 - if test "$host_cpu" = ia64; then
13.11062 - # AIX 5 now supports IA64 processor
13.11063 - lt_prog_compiler_static_CXX='-Bstatic'
13.11064 - fi
13.11065 - ;;
13.11066 - amigaos*)
13.11067 - # FIXME: we need at least 68020 code to build shared libraries, but
13.11068 - # adding the `-m68020' flag to GCC prevents building anything better,
13.11069 - # like `-m68040'.
13.11070 - lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13.11071 - ;;
13.11072 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13.11073 - # PIC is the default for these OSes.
13.11074 - ;;
13.11075 - mingw* | os2* | pw32*)
13.11076 - # This hack is so that the source file can tell whether it is being
13.11077 - # built for inclusion in a dll (and should export symbols for example).
13.11078 - lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13.11079 - ;;
13.11080 - darwin* | rhapsody*)
13.11081 - # PIC is the default on this platform
13.11082 - # Common symbols not allowed in MH_DYLIB files
13.11083 - lt_prog_compiler_pic_CXX='-fno-common'
13.11084 - ;;
13.11085 - *djgpp*)
13.11086 - # DJGPP does not support shared libraries at all
13.11087 - lt_prog_compiler_pic_CXX=
13.11088 - ;;
13.11089 - sysv4*MP*)
13.11090 - if test -d /usr/nec; then
13.11091 - lt_prog_compiler_pic_CXX=-Kconform_pic
13.11092 - fi
13.11093 - ;;
13.11094 - hpux*)
13.11095 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13.11096 - # not for PA HP-UX.
13.11097 - case $host_cpu in
13.11098 - hppa*64*|ia64*)
13.11099 - ;;
13.11100 - *)
13.11101 - lt_prog_compiler_pic_CXX='-fPIC'
13.11102 - ;;
13.11103 - esac
13.11104 - ;;
13.11105 - *)
13.11106 - lt_prog_compiler_pic_CXX='-fPIC'
13.11107 - ;;
13.11108 - esac
13.11109 - else
13.11110 - case $host_os in
13.11111 - aix4* | aix5*)
13.11112 - # All AIX code is PIC.
13.11113 - if test "$host_cpu" = ia64; then
13.11114 - # AIX 5 now supports IA64 processor
13.11115 - lt_prog_compiler_static_CXX='-Bstatic'
13.11116 - else
13.11117 - lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13.11118 - fi
13.11119 - ;;
13.11120 - chorus*)
13.11121 - case $cc_basename in
13.11122 - cxch68*)
13.11123 - # Green Hills C++ Compiler
13.11124 - # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--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"
13.11125 - ;;
13.11126 - esac
13.11127 - ;;
13.11128 - darwin*)
13.11129 - # PIC is the default on this platform
13.11130 - # Common symbols not allowed in MH_DYLIB files
13.11131 - case $cc_basename in
13.11132 - xlc*)
13.11133 - lt_prog_compiler_pic_CXX='-qnocommon'
13.11134 - lt_prog_compiler_wl_CXX='-Wl,'
13.11135 - ;;
13.11136 - esac
13.11137 - ;;
13.11138 - dgux*)
13.11139 - case $cc_basename in
13.11140 - ec++*)
13.11141 - lt_prog_compiler_pic_CXX='-KPIC'
13.11142 - ;;
13.11143 - ghcx*)
13.11144 - # Green Hills C++ Compiler
13.11145 - lt_prog_compiler_pic_CXX='-pic'
13.11146 - ;;
13.11147 - *)
13.11148 - ;;
13.11149 - esac
13.11150 - ;;
13.11151 - freebsd* | kfreebsd*-gnu | dragonfly*)
13.11152 - # FreeBSD uses GNU C++
13.11153 - ;;
13.11154 - hpux9* | hpux10* | hpux11*)
13.11155 - case $cc_basename in
13.11156 - CC*)
13.11157 - lt_prog_compiler_wl_CXX='-Wl,'
13.11158 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
13.11159 - if test "$host_cpu" != ia64; then
13.11160 - lt_prog_compiler_pic_CXX='+Z'
13.11161 - fi
13.11162 - ;;
13.11163 - aCC*)
13.11164 - lt_prog_compiler_wl_CXX='-Wl,'
13.11165 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
13.11166 - case $host_cpu in
13.11167 - hppa*64*|ia64*)
13.11168 - # +Z the default
13.11169 - ;;
13.11170 - *)
13.11171 - lt_prog_compiler_pic_CXX='+Z'
13.11172 - ;;
13.11173 - esac
13.11174 - ;;
13.11175 - *)
13.11176 - ;;
13.11177 - esac
13.11178 - ;;
13.11179 - irix5* | irix6* | nonstopux*)
13.11180 - case $cc_basename in
13.11181 - CC*)
13.11182 - lt_prog_compiler_wl_CXX='-Wl,'
13.11183 - lt_prog_compiler_static_CXX='-non_shared'
13.11184 - # CC pic flag -KPIC is the default.
13.11185 - ;;
13.11186 - *)
13.11187 - ;;
13.11188 - esac
13.11189 - ;;
13.11190 - linux*)
13.11191 - case $cc_basename in
13.11192 - KCC*)
13.11193 - # KAI C++ Compiler
13.11194 - lt_prog_compiler_wl_CXX='--backend -Wl,'
13.11195 - lt_prog_compiler_pic_CXX='-fPIC'
13.11196 - ;;
13.11197 - icpc* | ecpc*)
13.11198 - # Intel C++
13.11199 - lt_prog_compiler_wl_CXX='-Wl,'
13.11200 - lt_prog_compiler_pic_CXX='-KPIC'
13.11201 - lt_prog_compiler_static_CXX='-static'
13.11202 - ;;
13.11203 - pgCC*)
13.11204 - # Portland Group C++ compiler.
13.11205 - lt_prog_compiler_wl_CXX='-Wl,'
13.11206 - lt_prog_compiler_pic_CXX='-fpic'
13.11207 - lt_prog_compiler_static_CXX='-Bstatic'
13.11208 - ;;
13.11209 - cxx*)
13.11210 - # Compaq C++
13.11211 - # Make sure the PIC flag is empty. It appears that all Alpha
13.11212 - # Linux and Compaq Tru64 Unix objects are PIC.
13.11213 - lt_prog_compiler_pic_CXX=
13.11214 - lt_prog_compiler_static_CXX='-non_shared'
13.11215 - ;;
13.11216 - *)
13.11217 - ;;
13.11218 - esac
13.11219 - ;;
13.11220 - lynxos*)
13.11221 - ;;
13.11222 - m88k*)
13.11223 - ;;
13.11224 - mvs*)
13.11225 - case $cc_basename in
13.11226 - cxx*)
13.11227 - lt_prog_compiler_pic_CXX='-W c,exportall'
13.11228 - ;;
13.11229 - *)
13.11230 - ;;
13.11231 - esac
13.11232 - ;;
13.11233 - netbsd*)
13.11234 - ;;
13.11235 - osf3* | osf4* | osf5*)
13.11236 - case $cc_basename in
13.11237 - KCC*)
13.11238 - lt_prog_compiler_wl_CXX='--backend -Wl,'
13.11239 - ;;
13.11240 - RCC*)
13.11241 - # Rational C++ 2.4.1
13.11242 - lt_prog_compiler_pic_CXX='-pic'
13.11243 - ;;
13.11244 - cxx*)
13.11245 - # Digital/Compaq C++
13.11246 - lt_prog_compiler_wl_CXX='-Wl,'
13.11247 - # Make sure the PIC flag is empty. It appears that all Alpha
13.11248 - # Linux and Compaq Tru64 Unix objects are PIC.
13.11249 - lt_prog_compiler_pic_CXX=
13.11250 - lt_prog_compiler_static_CXX='-non_shared'
13.11251 - ;;
13.11252 - *)
13.11253 - ;;
13.11254 - esac
13.11255 - ;;
13.11256 - psos*)
13.11257 - ;;
13.11258 - sco*)
13.11259 - case $cc_basename in
13.11260 - CC*)
13.11261 - lt_prog_compiler_pic_CXX='-fPIC'
13.11262 - ;;
13.11263 - *)
13.11264 - ;;
13.11265 - esac
13.11266 - ;;
13.11267 - solaris*)
13.11268 - case $cc_basename in
13.11269 - CC*)
13.11270 - # Sun C++ 4.2, 5.x and Centerline C++
13.11271 - lt_prog_compiler_pic_CXX='-KPIC'
13.11272 - lt_prog_compiler_static_CXX='-Bstatic'
13.11273 - lt_prog_compiler_wl_CXX='-Qoption ld '
13.11274 - ;;
13.11275 - gcx*)
13.11276 - # Green Hills C++ Compiler
13.11277 - lt_prog_compiler_pic_CXX='-PIC'
13.11278 - ;;
13.11279 - *)
13.11280 - ;;
13.11281 - esac
13.11282 - ;;
13.11283 - sunos4*)
13.11284 - case $cc_basename in
13.11285 - CC*)
13.11286 - # Sun C++ 4.x
13.11287 - lt_prog_compiler_pic_CXX='-pic'
13.11288 - lt_prog_compiler_static_CXX='-Bstatic'
13.11289 - ;;
13.11290 - lcc*)
13.11291 - # Lucid
13.11292 - lt_prog_compiler_pic_CXX='-pic'
13.11293 - ;;
13.11294 - *)
13.11295 - ;;
13.11296 - esac
13.11297 - ;;
13.11298 - tandem*)
13.11299 - case $cc_basename in
13.11300 - NCC*)
13.11301 - # NonStop-UX NCC 3.20
13.11302 - lt_prog_compiler_pic_CXX='-KPIC'
13.11303 - ;;
13.11304 - *)
13.11305 - ;;
13.11306 - esac
13.11307 - ;;
13.11308 - unixware*)
13.11309 - ;;
13.11310 - vxworks*)
13.11311 - ;;
13.11312 - *)
13.11313 - lt_prog_compiler_can_build_shared_CXX=no
13.11314 - ;;
13.11315 - esac
13.11316 - fi
13.11317 -
13.11318 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13.11319 -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13.11320 -
13.11321 -#
13.11322 -# Check to make sure the PIC flag actually works.
13.11323 -#
13.11324 -if test -n "$lt_prog_compiler_pic_CXX"; then
13.11325 -
13.11326 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13.11327 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13.11328 -if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13.11329 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.11330 -else
13.11331 - lt_prog_compiler_pic_works_CXX=no
13.11332 - ac_outfile=conftest.$ac_objext
13.11333 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13.11334 - lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13.11335 - # Insert the option either (1) after the last *FLAGS variable, or
13.11336 - # (2) before a word containing "conftest.", or (3) at the end.
13.11337 - # Note that $ac_compile itself does not contain backslashes and begins
13.11338 - # with a dollar sign (not a hyphen), so the echo should work correctly.
13.11339 - # The option is referenced via a variable to avoid confusing sed.
13.11340 - lt_compile=`echo "$ac_compile" | $SED \
13.11341 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13.11342 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13.11343 - -e 's:$: $lt_compiler_flag:'`
13.11344 - (eval echo "\"\$as_me:11341: $lt_compile\"" >&5)
13.11345 - (eval "$lt_compile" 2>conftest.err)
13.11346 - ac_status=$?
13.11347 - cat conftest.err >&5
13.11348 - echo "$as_me:11345: \$? = $ac_status" >&5
13.11349 - if (exit $ac_status) && test -s "$ac_outfile"; then
13.11350 - # The compiler can only warn and ignore the option if not recognized
13.11351 - # So say no if there are warnings other than the usual output.
13.11352 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
13.11353 - $SED '/^$/d' conftest.err >conftest.er2
13.11354 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
13.11355 - lt_prog_compiler_pic_works_CXX=yes
13.11356 - fi
13.11357 - fi
13.11358 - $rm conftest*
13.11359 -
13.11360 -fi
13.11361 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13.11362 -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
13.11363 -
13.11364 -if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13.11365 - case $lt_prog_compiler_pic_CXX in
13.11366 - "" | " "*) ;;
13.11367 - *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13.11368 - esac
13.11369 -else
13.11370 - lt_prog_compiler_pic_CXX=
13.11371 - lt_prog_compiler_can_build_shared_CXX=no
13.11372 -fi
13.11373 -
13.11374 -fi
13.11375 -case $host_os in
13.11376 - # For platforms which do not support PIC, -DPIC is meaningless:
13.11377 - *djgpp*)
13.11378 - lt_prog_compiler_pic_CXX=
13.11379 - ;;
13.11380 - *)
13.11381 - lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13.11382 - ;;
13.11383 -esac
13.11384 -
13.11385 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13.11386 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13.11387 -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13.11388 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.11389 -else
13.11390 - lt_cv_prog_compiler_c_o_CXX=no
13.11391 - $rm -r conftest 2>/dev/null
13.11392 - mkdir conftest
13.11393 - cd conftest
13.11394 - mkdir out
13.11395 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13.11396 -
13.11397 - lt_compiler_flag="-o out/conftest2.$ac_objext"
13.11398 - # Insert the option either (1) after the last *FLAGS variable, or
13.11399 - # (2) before a word containing "conftest.", or (3) at the end.
13.11400 - # Note that $ac_compile itself does not contain backslashes and begins
13.11401 - # with a dollar sign (not a hyphen), so the echo should work correctly.
13.11402 - lt_compile=`echo "$ac_compile" | $SED \
13.11403 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13.11404 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13.11405 - -e 's:$: $lt_compiler_flag:'`
13.11406 - (eval echo "\"\$as_me:11403: $lt_compile\"" >&5)
13.11407 - (eval "$lt_compile" 2>out/conftest.err)
13.11408 - ac_status=$?
13.11409 - cat out/conftest.err >&5
13.11410 - echo "$as_me:11407: \$? = $ac_status" >&5
13.11411 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
13.11412 - then
13.11413 - # The compiler can only warn and ignore the option if not recognized
13.11414 - # So say no if there are warnings
13.11415 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
13.11416 - $SED '/^$/d' out/conftest.err >out/conftest.er2
13.11417 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13.11418 - lt_cv_prog_compiler_c_o_CXX=yes
13.11419 - fi
13.11420 - fi
13.11421 - chmod u+w . 2>&5
13.11422 - $rm conftest*
13.11423 - # SGI C++ compiler will create directory out/ii_files/ for
13.11424 - # template instantiation
13.11425 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13.11426 - $rm out/* && rmdir out
13.11427 - cd ..
13.11428 - rmdir conftest
13.11429 - $rm conftest*
13.11430 -
13.11431 -fi
13.11432 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13.11433 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13.11434 -
13.11435 -
13.11436 -hard_links="nottested"
13.11437 -if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13.11438 - # do not overwrite the value of need_locks provided by the user
13.11439 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13.11440 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13.11441 - hard_links=yes
13.11442 - $rm conftest*
13.11443 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
13.11444 - touch conftest.a
13.11445 - ln conftest.a conftest.b 2>&5 || hard_links=no
13.11446 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
13.11447 - echo "$as_me:$LINENO: result: $hard_links" >&5
13.11448 -echo "${ECHO_T}$hard_links" >&6
13.11449 - if test "$hard_links" = no; then
13.11450 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13.11451 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13.11452 - need_locks=warn
13.11453 - fi
13.11454 -else
13.11455 - need_locks=no
13.11456 -fi
13.11457 -
13.11458 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13.11459 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13.11460 -
13.11461 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13.11462 - case $host_os in
13.11463 - aix4* | aix5*)
13.11464 - # If we're using GNU nm, then we don't want the "-C" option.
13.11465 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
13.11466 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13.11467 - export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13.11468 - else
13.11469 - export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13.11470 - fi
13.11471 - ;;
13.11472 - pw32*)
13.11473 - export_symbols_cmds_CXX="$ltdll_cmds"
13.11474 - ;;
13.11475 - cygwin* | mingw*)
13.11476 - export_symbols_cmds_CXX='$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'
13.11477 - ;;
13.11478 - *)
13.11479 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13.11480 - ;;
13.11481 - esac
13.11482 -
13.11483 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13.11484 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
13.11485 -test "$ld_shlibs_CXX" = no && can_build_shared=no
13.11486 -
13.11487 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13.11488 -if test "$GCC" = yes; then
13.11489 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13.11490 -fi
13.11491 -
13.11492 -#
13.11493 -# Do we need to explicitly link libc?
13.11494 -#
13.11495 -case "x$archive_cmds_need_lc_CXX" in
13.11496 -x|xyes)
13.11497 - # Assume -lc should be added
13.11498 - archive_cmds_need_lc_CXX=yes
13.11499 -
13.11500 - if test "$enable_shared" = yes && test "$GCC" = yes; then
13.11501 - case $archive_cmds_CXX in
13.11502 - *'~'*)
13.11503 - # FIXME: we may have to deal with multi-command sequences.
13.11504 - ;;
13.11505 - '$CC '*)
13.11506 - # Test whether the compiler implicitly links with -lc since on some
13.11507 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
13.11508 - # to ld, don't add -lc before -lgcc.
13.11509 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13.11510 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13.11511 - $rm conftest*
13.11512 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13.11513 -
13.11514 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.11515 - (eval $ac_compile) 2>&5
13.11516 - ac_status=$?
13.11517 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.11518 - (exit $ac_status); } 2>conftest.err; then
13.11519 - soname=conftest
13.11520 - lib=conftest
13.11521 - libobjs=conftest.$ac_objext
13.11522 - deplibs=
13.11523 - wl=$lt_prog_compiler_wl_CXX
13.11524 - compiler_flags=-v
13.11525 - linker_flags=-v
13.11526 - verstring=
13.11527 - output_objdir=.
13.11528 - libname=conftest
13.11529 - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13.11530 - allow_undefined_flag_CXX=
13.11531 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13.11532 - (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13.11533 - ac_status=$?
13.11534 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.11535 - (exit $ac_status); }
13.11536 - then
13.11537 - archive_cmds_need_lc_CXX=no
13.11538 - else
13.11539 - archive_cmds_need_lc_CXX=yes
13.11540 - fi
13.11541 - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13.11542 - else
13.11543 - cat conftest.err 1>&5
13.11544 - fi
13.11545 - $rm conftest*
13.11546 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13.11547 -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
13.11548 - ;;
13.11549 - esac
13.11550 - fi
13.11551 - ;;
13.11552 -esac
13.11553 -
13.11554 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13.11555 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13.11556 -library_names_spec=
13.11557 -libname_spec='lib$name'
13.11558 -soname_spec=
13.11559 -shrext_cmds=".so"
13.11560 -postinstall_cmds=
13.11561 -postuninstall_cmds=
13.11562 -finish_cmds=
13.11563 -finish_eval=
13.11564 -shlibpath_var=
13.11565 -shlibpath_overrides_runpath=unknown
13.11566 -version_type=none
13.11567 -dynamic_linker="$host_os ld.so"
13.11568 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
13.11569 -if test "$GCC" = yes; then
13.11570 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13.11571 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
13.11572 - # if the path contains ";" then we assume it to be the separator
13.11573 - # otherwise default to the standard path separator (i.e. ":") - it is
13.11574 - # assumed that no part of a normal pathname contains ";" but that should
13.11575 - # okay in the real world where ";" in dirpaths is itself problematic.
13.11576 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13.11577 - else
13.11578 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13.11579 - fi
13.11580 -else
13.11581 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13.11582 -fi
13.11583 -need_lib_prefix=unknown
13.11584 -hardcode_into_libs=no
13.11585 -
13.11586 -# when you set need_version to no, make sure it does not cause -set_version
13.11587 -# flags to be left without arguments
13.11588 -need_version=unknown
13.11589 -
13.11590 -case $host_os in
13.11591 -aix3*)
13.11592 - version_type=linux
13.11593 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13.11594 - shlibpath_var=LIBPATH
13.11595 -
13.11596 - # AIX 3 has no versioning support, so we append a major version to the name.
13.11597 - soname_spec='${libname}${release}${shared_ext}$major'
13.11598 - ;;
13.11599 -
13.11600 -aix4* | aix5*)
13.11601 - version_type=linux
13.11602 - need_lib_prefix=no
13.11603 - need_version=no
13.11604 - hardcode_into_libs=yes
13.11605 - if test "$host_cpu" = ia64; then
13.11606 - # AIX 5 supports IA64
13.11607 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13.11608 - shlibpath_var=LD_LIBRARY_PATH
13.11609 - else
13.11610 - # With GCC up to 2.95.x, collect2 would create an import file
13.11611 - # for dependence libraries. The import file would start with
13.11612 - # the line `#! .'. This would cause the generated library to
13.11613 - # depend on `.', always an invalid library. This was fixed in
13.11614 - # development snapshots of GCC prior to 3.0.
13.11615 - case $host_os in
13.11616 - aix4 | aix4.[01] | aix4.[01].*)
13.11617 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13.11618 - echo ' yes '
13.11619 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13.11620 - :
13.11621 - else
13.11622 - can_build_shared=no
13.11623 - fi
13.11624 - ;;
13.11625 - esac
13.11626 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13.11627 - # soname into executable. Probably we can add versioning support to
13.11628 - # collect2, so additional links can be useful in future.
13.11629 - if test "$aix_use_runtimelinking" = yes; then
13.11630 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13.11631 - # instead of lib<name>.a to let people know that these are not
13.11632 - # typical AIX shared libraries.
13.11633 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.11634 - else
13.11635 - # We preserve .a as extension for shared libraries through AIX4.2
13.11636 - # and later when we are not doing run time linking.
13.11637 - library_names_spec='${libname}${release}.a $libname.a'
13.11638 - soname_spec='${libname}${release}${shared_ext}$major'
13.11639 - fi
13.11640 - shlibpath_var=LIBPATH
13.11641 - fi
13.11642 - ;;
13.11643 -
13.11644 -amigaos*)
13.11645 - library_names_spec='$libname.ixlibrary $libname.a'
13.11646 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
13.11647 - 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'
13.11648 - ;;
13.11649 -
13.11650 -beos*)
13.11651 - library_names_spec='${libname}${shared_ext}'
13.11652 - dynamic_linker="$host_os ld.so"
13.11653 - shlibpath_var=LIBRARY_PATH
13.11654 - ;;
13.11655 -
13.11656 -bsdi[45]*)
13.11657 - version_type=linux
13.11658 - need_version=no
13.11659 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.11660 - soname_spec='${libname}${release}${shared_ext}$major'
13.11661 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13.11662 - shlibpath_var=LD_LIBRARY_PATH
13.11663 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13.11664 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13.11665 - # the default ld.so.conf also contains /usr/contrib/lib and
13.11666 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13.11667 - # libtool to hard-code these into programs
13.11668 - ;;
13.11669 -
13.11670 -cygwin* | mingw* | pw32*)
13.11671 - version_type=windows
13.11672 - shrext_cmds=".dll"
13.11673 - need_version=no
13.11674 - need_lib_prefix=no
13.11675 -
13.11676 - case $GCC,$host_os in
13.11677 - yes,cygwin* | yes,mingw* | yes,pw32*)
13.11678 - library_names_spec='$libname.dll.a'
13.11679 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
13.11680 - postinstall_cmds='base_file=`basename \${file}`~
13.11681 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13.11682 - dldir=$destdir/`dirname \$dlpath`~
13.11683 - test -d \$dldir || mkdir -p \$dldir~
13.11684 - $install_prog $dir/$dlname \$dldir/$dlname~
13.11685 - chmod a+x \$dldir/$dlname'
13.11686 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13.11687 - dlpath=$dir/\$dldll~
13.11688 - $rm \$dlpath'
13.11689 - shlibpath_overrides_runpath=yes
13.11690 -
13.11691 - case $host_os in
13.11692 - cygwin*)
13.11693 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13.11694 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13.11695 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13.11696 - ;;
13.11697 - mingw*)
13.11698 - # MinGW DLLs use traditional 'lib' prefix
13.11699 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13.11700 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13.11701 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13.11702 - # It is most probably a Windows format PATH printed by
13.11703 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
13.11704 - # path with ; separators, and with drive letters. We can handle the
13.11705 - # drive letters (cygwin fileutils understands them), so leave them,
13.11706 - # especially as we might pass files found there to a mingw objdump,
13.11707 - # which wouldn't understand a cygwinified path. Ahh.
13.11708 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13.11709 - else
13.11710 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13.11711 - fi
13.11712 - ;;
13.11713 - pw32*)
13.11714 - # pw32 DLLs use 'pw' prefix rather than 'lib'
13.11715 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13.11716 - ;;
13.11717 - esac
13.11718 - ;;
13.11719 -
13.11720 - *)
13.11721 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13.11722 - ;;
13.11723 - esac
13.11724 - dynamic_linker='Win32 ld.exe'
13.11725 - # FIXME: first we should search . and the directory the executable is in
13.11726 - shlibpath_var=PATH
13.11727 - ;;
13.11728 -
13.11729 -darwin* | rhapsody*)
13.11730 - dynamic_linker="$host_os dyld"
13.11731 - version_type=darwin
13.11732 - need_lib_prefix=no
13.11733 - need_version=no
13.11734 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13.11735 - soname_spec='${libname}${release}${major}$shared_ext'
13.11736 - shlibpath_overrides_runpath=yes
13.11737 - shlibpath_var=DYLD_LIBRARY_PATH
13.11738 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13.11739 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13.11740 - if test "$GCC" = yes; then
13.11741 - 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"`
13.11742 - else
13.11743 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
13.11744 - fi
13.11745 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13.11746 - ;;
13.11747 -
13.11748 -dgux*)
13.11749 - version_type=linux
13.11750 - need_lib_prefix=no
13.11751 - need_version=no
13.11752 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13.11753 - soname_spec='${libname}${release}${shared_ext}$major'
13.11754 - shlibpath_var=LD_LIBRARY_PATH
13.11755 - ;;
13.11756 -
13.11757 -freebsd1*)
13.11758 - dynamic_linker=no
13.11759 - ;;
13.11760 -
13.11761 -kfreebsd*-gnu)
13.11762 - version_type=linux
13.11763 - need_lib_prefix=no
13.11764 - need_version=no
13.11765 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13.11766 - soname_spec='${libname}${release}${shared_ext}$major'
13.11767 - shlibpath_var=LD_LIBRARY_PATH
13.11768 - shlibpath_overrides_runpath=no
13.11769 - hardcode_into_libs=yes
13.11770 - dynamic_linker='GNU ld.so'
13.11771 - ;;
13.11772 -
13.11773 -freebsd* | dragonfly*)
13.11774 - # DragonFly does not have aout. When/if they implement a new
13.11775 - # versioning mechanism, adjust this.
13.11776 - if test -x /usr/bin/objformat; then
13.11777 - objformat=`/usr/bin/objformat`
13.11778 - else
13.11779 - case $host_os in
13.11780 - freebsd[123]*) objformat=aout ;;
13.11781 - *) objformat=elf ;;
13.11782 - esac
13.11783 - fi
13.11784 - version_type=freebsd-$objformat
13.11785 - case $version_type in
13.11786 - freebsd-elf*)
13.11787 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13.11788 - need_version=no
13.11789 - need_lib_prefix=no
13.11790 - ;;
13.11791 - freebsd-*)
13.11792 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13.11793 - need_version=yes
13.11794 - ;;
13.11795 - esac
13.11796 - shlibpath_var=LD_LIBRARY_PATH
13.11797 - case $host_os in
13.11798 - freebsd2*)
13.11799 - shlibpath_overrides_runpath=yes
13.11800 - ;;
13.11801 - freebsd3.[01]* | freebsdelf3.[01]*)
13.11802 - shlibpath_overrides_runpath=yes
13.11803 - hardcode_into_libs=yes
13.11804 - ;;
13.11805 - *) # from 3.2 on
13.11806 - shlibpath_overrides_runpath=no
13.11807 - hardcode_into_libs=yes
13.11808 - ;;
13.11809 - esac
13.11810 - ;;
13.11811 -
13.11812 -gnu*)
13.11813 - version_type=linux
13.11814 - need_lib_prefix=no
13.11815 - need_version=no
13.11816 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13.11817 - soname_spec='${libname}${release}${shared_ext}$major'
13.11818 - shlibpath_var=LD_LIBRARY_PATH
13.11819 - hardcode_into_libs=yes
13.11820 - ;;
13.11821 -
13.11822 -hpux9* | hpux10* | hpux11*)
13.11823 - # Give a soname corresponding to the major version so that dld.sl refuses to
13.11824 - # link against other versions.
13.11825 - version_type=sunos
13.11826 - need_lib_prefix=no
13.11827 - need_version=no
13.11828 - case $host_cpu in
13.11829 - ia64*)
13.11830 - shrext_cmds='.so'
13.11831 - hardcode_into_libs=yes
13.11832 - dynamic_linker="$host_os dld.so"
13.11833 - shlibpath_var=LD_LIBRARY_PATH
13.11834 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13.11835 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.11836 - soname_spec='${libname}${release}${shared_ext}$major'
13.11837 - if test "X$HPUX_IA64_MODE" = X32; then
13.11838 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13.11839 - else
13.11840 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13.11841 - fi
13.11842 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13.11843 - ;;
13.11844 - hppa*64*)
13.11845 - shrext_cmds='.sl'
13.11846 - hardcode_into_libs=yes
13.11847 - dynamic_linker="$host_os dld.sl"
13.11848 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13.11849 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13.11850 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.11851 - soname_spec='${libname}${release}${shared_ext}$major'
13.11852 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13.11853 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13.11854 - ;;
13.11855 - *)
13.11856 - shrext_cmds='.sl'
13.11857 - dynamic_linker="$host_os dld.sl"
13.11858 - shlibpath_var=SHLIB_PATH
13.11859 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13.11860 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.11861 - soname_spec='${libname}${release}${shared_ext}$major'
13.11862 - ;;
13.11863 - esac
13.11864 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
13.11865 - postinstall_cmds='chmod 555 $lib'
13.11866 - ;;
13.11867 -
13.11868 -irix5* | irix6* | nonstopux*)
13.11869 - case $host_os in
13.11870 - nonstopux*) version_type=nonstopux ;;
13.11871 - *)
13.11872 - if test "$lt_cv_prog_gnu_ld" = yes; then
13.11873 - version_type=linux
13.11874 - else
13.11875 - version_type=irix
13.11876 - fi ;;
13.11877 - esac
13.11878 - need_lib_prefix=no
13.11879 - need_version=no
13.11880 - soname_spec='${libname}${release}${shared_ext}$major'
13.11881 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13.11882 - case $host_os in
13.11883 - irix5* | nonstopux*)
13.11884 - libsuff= shlibsuff=
13.11885 - ;;
13.11886 - *)
13.11887 - case $LD in # libtool.m4 will add one of these switches to LD
13.11888 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13.11889 - libsuff= shlibsuff= libmagic=32-bit;;
13.11890 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13.11891 - libsuff=32 shlibsuff=N32 libmagic=N32;;
13.11892 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13.11893 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
13.11894 - *) libsuff= shlibsuff= libmagic=never-match;;
13.11895 - esac
13.11896 - ;;
13.11897 - esac
13.11898 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13.11899 - shlibpath_overrides_runpath=no
13.11900 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13.11901 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13.11902 - hardcode_into_libs=yes
13.11903 - ;;
13.11904 -
13.11905 -# No shared lib support for Linux oldld, aout, or coff.
13.11906 -linux*oldld* | linux*aout* | linux*coff*)
13.11907 - dynamic_linker=no
13.11908 - ;;
13.11909 -
13.11910 -# This must be Linux ELF.
13.11911 -linux*)
13.11912 - version_type=linux
13.11913 - need_lib_prefix=no
13.11914 - need_version=no
13.11915 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.11916 - soname_spec='${libname}${release}${shared_ext}$major'
13.11917 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13.11918 - shlibpath_var=LD_LIBRARY_PATH
13.11919 - shlibpath_overrides_runpath=no
13.11920 - # This implies no fast_install, which is unacceptable.
13.11921 - # Some rework will be needed to allow for fast_install
13.11922 - # before this can be enabled.
13.11923 - hardcode_into_libs=yes
13.11924 -
13.11925 - # Append ld.so.conf contents to the search path
13.11926 - if test -f /etc/ld.so.conf; then
13.11927 - 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' ' '`
13.11928 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13.11929 - fi
13.11930 -
13.11931 - # We used to test for /lib/ld.so.1 and disable shared libraries on
13.11932 - # powerpc, because MkLinux only supported shared libraries with the
13.11933 - # GNU dynamic linker. Since this was broken with cross compilers,
13.11934 - # most powerpc-linux boxes support dynamic linking these days and
13.11935 - # people can always --disable-shared, the test was removed, and we
13.11936 - # assume the GNU/Linux dynamic linker is in use.
13.11937 - dynamic_linker='GNU/Linux ld.so'
13.11938 - ;;
13.11939 -
13.11940 -knetbsd*-gnu)
13.11941 - version_type=linux
13.11942 - need_lib_prefix=no
13.11943 - need_version=no
13.11944 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13.11945 - soname_spec='${libname}${release}${shared_ext}$major'
13.11946 - shlibpath_var=LD_LIBRARY_PATH
13.11947 - shlibpath_overrides_runpath=no
13.11948 - hardcode_into_libs=yes
13.11949 - dynamic_linker='GNU ld.so'
13.11950 - ;;
13.11951 -
13.11952 -netbsd*)
13.11953 - version_type=sunos
13.11954 - need_lib_prefix=no
13.11955 - need_version=no
13.11956 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13.11957 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13.11958 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13.11959 - dynamic_linker='NetBSD (a.out) ld.so'
13.11960 - else
13.11961 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13.11962 - soname_spec='${libname}${release}${shared_ext}$major'
13.11963 - dynamic_linker='NetBSD ld.elf_so'
13.11964 - fi
13.11965 - shlibpath_var=LD_LIBRARY_PATH
13.11966 - shlibpath_overrides_runpath=yes
13.11967 - hardcode_into_libs=yes
13.11968 - ;;
13.11969 -
13.11970 -newsos6)
13.11971 - version_type=linux
13.11972 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.11973 - shlibpath_var=LD_LIBRARY_PATH
13.11974 - shlibpath_overrides_runpath=yes
13.11975 - ;;
13.11976 -
13.11977 -nto-qnx*)
13.11978 - version_type=linux
13.11979 - need_lib_prefix=no
13.11980 - need_version=no
13.11981 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.11982 - soname_spec='${libname}${release}${shared_ext}$major'
13.11983 - shlibpath_var=LD_LIBRARY_PATH
13.11984 - shlibpath_overrides_runpath=yes
13.11985 - ;;
13.11986 -
13.11987 -openbsd*)
13.11988 - version_type=sunos
13.11989 - need_lib_prefix=no
13.11990 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13.11991 - case $host_os in
13.11992 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13.11993 - *) need_version=no ;;
13.11994 - esac
13.11995 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13.11996 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13.11997 - shlibpath_var=LD_LIBRARY_PATH
13.11998 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13.11999 - case $host_os in
13.12000 - openbsd2.[89] | openbsd2.[89].*)
13.12001 - shlibpath_overrides_runpath=no
13.12002 - ;;
13.12003 - *)
13.12004 - shlibpath_overrides_runpath=yes
13.12005 - ;;
13.12006 - esac
13.12007 - else
13.12008 - shlibpath_overrides_runpath=yes
13.12009 - fi
13.12010 - ;;
13.12011 -
13.12012 -os2*)
13.12013 - libname_spec='$name'
13.12014 - shrext_cmds=".dll"
13.12015 - need_lib_prefix=no
13.12016 - library_names_spec='$libname${shared_ext} $libname.a'
13.12017 - dynamic_linker='OS/2 ld.exe'
13.12018 - shlibpath_var=LIBPATH
13.12019 - ;;
13.12020 -
13.12021 -osf3* | osf4* | osf5*)
13.12022 - version_type=osf
13.12023 - need_lib_prefix=no
13.12024 - need_version=no
13.12025 - soname_spec='${libname}${release}${shared_ext}$major'
13.12026 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.12027 - shlibpath_var=LD_LIBRARY_PATH
13.12028 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13.12029 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13.12030 - ;;
13.12031 -
13.12032 -sco3.2v5*)
13.12033 - version_type=osf
13.12034 - soname_spec='${libname}${release}${shared_ext}$major'
13.12035 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.12036 - shlibpath_var=LD_LIBRARY_PATH
13.12037 - ;;
13.12038 -
13.12039 -solaris*)
13.12040 - version_type=linux
13.12041 - need_lib_prefix=no
13.12042 - need_version=no
13.12043 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.12044 - soname_spec='${libname}${release}${shared_ext}$major'
13.12045 - shlibpath_var=LD_LIBRARY_PATH
13.12046 - shlibpath_overrides_runpath=yes
13.12047 - hardcode_into_libs=yes
13.12048 - # ldd complains unless libraries are executable
13.12049 - postinstall_cmds='chmod +x $lib'
13.12050 - ;;
13.12051 -
13.12052 -sunos4*)
13.12053 - version_type=sunos
13.12054 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13.12055 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13.12056 - shlibpath_var=LD_LIBRARY_PATH
13.12057 - shlibpath_overrides_runpath=yes
13.12058 - if test "$with_gnu_ld" = yes; then
13.12059 - need_lib_prefix=no
13.12060 - fi
13.12061 - need_version=yes
13.12062 - ;;
13.12063 -
13.12064 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13.12065 - version_type=linux
13.12066 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.12067 - soname_spec='${libname}${release}${shared_ext}$major'
13.12068 - shlibpath_var=LD_LIBRARY_PATH
13.12069 - case $host_vendor in
13.12070 - sni)
13.12071 - shlibpath_overrides_runpath=no
13.12072 - need_lib_prefix=no
13.12073 - export_dynamic_flag_spec='${wl}-Blargedynsym'
13.12074 - runpath_var=LD_RUN_PATH
13.12075 - ;;
13.12076 - siemens)
13.12077 - need_lib_prefix=no
13.12078 - ;;
13.12079 - motorola)
13.12080 - need_lib_prefix=no
13.12081 - need_version=no
13.12082 - shlibpath_overrides_runpath=no
13.12083 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13.12084 - ;;
13.12085 - esac
13.12086 - ;;
13.12087 -
13.12088 -sysv4*MP*)
13.12089 - if test -d /usr/nec ;then
13.12090 - version_type=linux
13.12091 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13.12092 - soname_spec='$libname${shared_ext}.$major'
13.12093 - shlibpath_var=LD_LIBRARY_PATH
13.12094 - fi
13.12095 - ;;
13.12096 -
13.12097 -uts4*)
13.12098 - version_type=linux
13.12099 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.12100 - soname_spec='${libname}${release}${shared_ext}$major'
13.12101 - shlibpath_var=LD_LIBRARY_PATH
13.12102 - ;;
13.12103 -
13.12104 -*)
13.12105 - dynamic_linker=no
13.12106 - ;;
13.12107 -esac
13.12108 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13.12109 -echo "${ECHO_T}$dynamic_linker" >&6
13.12110 -test "$dynamic_linker" = no && can_build_shared=no
13.12111 -
13.12112 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13.12113 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13.12114 -hardcode_action_CXX=
13.12115 -if test -n "$hardcode_libdir_flag_spec_CXX" || \
13.12116 - test -n "$runpath_var_CXX" || \
13.12117 - test "X$hardcode_automatic_CXX" = "Xyes" ; then
13.12118 -
13.12119 - # We can hardcode non-existant directories.
13.12120 - if test "$hardcode_direct_CXX" != no &&
13.12121 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
13.12122 - # have to relink, otherwise we might link with an installed library
13.12123 - # when we should be linking with a yet-to-be-installed one
13.12124 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13.12125 - test "$hardcode_minus_L_CXX" != no; then
13.12126 - # Linking always hardcodes the temporary library directory.
13.12127 - hardcode_action_CXX=relink
13.12128 - else
13.12129 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
13.12130 - hardcode_action_CXX=immediate
13.12131 - fi
13.12132 -else
13.12133 - # We cannot hardcode anything, or else we can only hardcode existing
13.12134 - # directories.
13.12135 - hardcode_action_CXX=unsupported
13.12136 -fi
13.12137 -echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13.12138 -echo "${ECHO_T}$hardcode_action_CXX" >&6
13.12139 -
13.12140 -if test "$hardcode_action_CXX" = relink; then
13.12141 - # Fast installation is not supported
13.12142 - enable_fast_install=no
13.12143 -elif test "$shlibpath_overrides_runpath" = yes ||
13.12144 - test "$enable_shared" = no; then
13.12145 - # Fast installation is not necessary
13.12146 - enable_fast_install=needless
13.12147 -fi
13.12148 -
13.12149 -striplib=
13.12150 -old_striplib=
13.12151 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13.12152 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
13.12153 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
13.12154 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13.12155 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13.12156 - echo "$as_me:$LINENO: result: yes" >&5
13.12157 -echo "${ECHO_T}yes" >&6
13.12158 -else
13.12159 -# FIXME - insert some real tests, host_os isn't really good enough
13.12160 - case $host_os in
13.12161 - darwin*)
13.12162 - if test -n "$STRIP" ; then
13.12163 - striplib="$STRIP -x"
13.12164 - echo "$as_me:$LINENO: result: yes" >&5
13.12165 -echo "${ECHO_T}yes" >&6
13.12166 - else
13.12167 - echo "$as_me:$LINENO: result: no" >&5
13.12168 -echo "${ECHO_T}no" >&6
13.12169 -fi
13.12170 - ;;
13.12171 - *)
13.12172 - echo "$as_me:$LINENO: result: no" >&5
13.12173 -echo "${ECHO_T}no" >&6
13.12174 - ;;
13.12175 - esac
13.12176 -fi
13.12177 -
13.12178 -if test "x$enable_dlopen" != xyes; then
13.12179 - enable_dlopen=unknown
13.12180 - enable_dlopen_self=unknown
13.12181 - enable_dlopen_self_static=unknown
13.12182 -else
13.12183 - lt_cv_dlopen=no
13.12184 - lt_cv_dlopen_libs=
13.12185 -
13.12186 - case $host_os in
13.12187 - beos*)
13.12188 - lt_cv_dlopen="load_add_on"
13.12189 - lt_cv_dlopen_libs=
13.12190 - lt_cv_dlopen_self=yes
13.12191 - ;;
13.12192 -
13.12193 - mingw* | pw32*)
13.12194 - lt_cv_dlopen="LoadLibrary"
13.12195 - lt_cv_dlopen_libs=
13.12196 - ;;
13.12197 -
13.12198 - cygwin*)
13.12199 - lt_cv_dlopen="dlopen"
13.12200 - lt_cv_dlopen_libs=
13.12201 - ;;
13.12202 -
13.12203 - darwin*)
13.12204 - # if libdl is installed we need to link against it
13.12205 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13.12206 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13.12207 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13.12208 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.12209 -else
13.12210 - ac_check_lib_save_LIBS=$LIBS
13.12211 -LIBS="-ldl $LIBS"
13.12212 -cat >conftest.$ac_ext <<_ACEOF
13.12213 -/* confdefs.h. */
13.12214 -_ACEOF
13.12215 -cat confdefs.h >>conftest.$ac_ext
13.12216 -cat >>conftest.$ac_ext <<_ACEOF
13.12217 -/* end confdefs.h. */
13.12218 -
13.12219 -/* Override any gcc2 internal prototype to avoid an error. */
13.12220 -#ifdef __cplusplus
13.12221 -extern "C"
13.12222 -#endif
13.12223 -/* We use char because int might match the return type of a gcc2
13.12224 - builtin and then its argument prototype would still apply. */
13.12225 -char dlopen ();
13.12226 -int
13.12227 -main ()
13.12228 -{
13.12229 -dlopen ();
13.12230 - ;
13.12231 - return 0;
13.12232 -}
13.12233 -_ACEOF
13.12234 -rm -f conftest.$ac_objext conftest$ac_exeext
13.12235 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.12236 - (eval $ac_link) 2>conftest.er1
13.12237 - ac_status=$?
13.12238 - grep -v '^ *+' conftest.er1 >conftest.err
13.12239 - rm -f conftest.er1
13.12240 - cat conftest.err >&5
13.12241 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12242 - (exit $ac_status); } &&
13.12243 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13.12244 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.12245 - (eval $ac_try) 2>&5
13.12246 - ac_status=$?
13.12247 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12248 - (exit $ac_status); }; } &&
13.12249 - { ac_try='test -s conftest$ac_exeext'
13.12250 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.12251 - (eval $ac_try) 2>&5
13.12252 - ac_status=$?
13.12253 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12254 - (exit $ac_status); }; }; then
13.12255 - ac_cv_lib_dl_dlopen=yes
13.12256 -else
13.12257 - echo "$as_me: failed program was:" >&5
13.12258 -sed 's/^/| /' conftest.$ac_ext >&5
13.12259 -
13.12260 -ac_cv_lib_dl_dlopen=no
13.12261 -fi
13.12262 -rm -f conftest.err conftest.$ac_objext \
13.12263 - conftest$ac_exeext conftest.$ac_ext
13.12264 -LIBS=$ac_check_lib_save_LIBS
13.12265 -fi
13.12266 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13.12267 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13.12268 -if test $ac_cv_lib_dl_dlopen = yes; then
13.12269 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13.12270 -else
13.12271 -
13.12272 - lt_cv_dlopen="dyld"
13.12273 - lt_cv_dlopen_libs=
13.12274 - lt_cv_dlopen_self=yes
13.12275 -
13.12276 -fi
13.12277 -
13.12278 - ;;
13.12279 -
13.12280 - *)
13.12281 - echo "$as_me:$LINENO: checking for shl_load" >&5
13.12282 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
13.12283 -if test "${ac_cv_func_shl_load+set}" = set; then
13.12284 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.12285 -else
13.12286 - cat >conftest.$ac_ext <<_ACEOF
13.12287 -/* confdefs.h. */
13.12288 -_ACEOF
13.12289 -cat confdefs.h >>conftest.$ac_ext
13.12290 -cat >>conftest.$ac_ext <<_ACEOF
13.12291 -/* end confdefs.h. */
13.12292 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
13.12293 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
13.12294 -#define shl_load innocuous_shl_load
13.12295 -
13.12296 -/* System header to define __stub macros and hopefully few prototypes,
13.12297 - which can conflict with char shl_load (); below.
13.12298 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13.12299 - <limits.h> exists even on freestanding compilers. */
13.12300 -
13.12301 -#ifdef __STDC__
13.12302 -# include <limits.h>
13.12303 -#else
13.12304 -# include <assert.h>
13.12305 -#endif
13.12306 -
13.12307 -#undef shl_load
13.12308 -
13.12309 -/* Override any gcc2 internal prototype to avoid an error. */
13.12310 -#ifdef __cplusplus
13.12311 -extern "C"
13.12312 -{
13.12313 -#endif
13.12314 -/* We use char because int might match the return type of a gcc2
13.12315 - builtin and then its argument prototype would still apply. */
13.12316 -char shl_load ();
13.12317 -/* The GNU C library defines this for functions which it implements
13.12318 - to always fail with ENOSYS. Some functions are actually named
13.12319 - something starting with __ and the normal name is an alias. */
13.12320 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
13.12321 -choke me
13.12322 -#else
13.12323 -char (*f) () = shl_load;
13.12324 -#endif
13.12325 -#ifdef __cplusplus
13.12326 -}
13.12327 -#endif
13.12328 -
13.12329 -int
13.12330 -main ()
13.12331 -{
13.12332 -return f != shl_load;
13.12333 - ;
13.12334 - return 0;
13.12335 -}
13.12336 -_ACEOF
13.12337 -rm -f conftest.$ac_objext conftest$ac_exeext
13.12338 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.12339 - (eval $ac_link) 2>conftest.er1
13.12340 - ac_status=$?
13.12341 - grep -v '^ *+' conftest.er1 >conftest.err
13.12342 - rm -f conftest.er1
13.12343 - cat conftest.err >&5
13.12344 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12345 - (exit $ac_status); } &&
13.12346 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13.12347 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.12348 - (eval $ac_try) 2>&5
13.12349 - ac_status=$?
13.12350 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12351 - (exit $ac_status); }; } &&
13.12352 - { ac_try='test -s conftest$ac_exeext'
13.12353 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.12354 - (eval $ac_try) 2>&5
13.12355 - ac_status=$?
13.12356 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12357 - (exit $ac_status); }; }; then
13.12358 - ac_cv_func_shl_load=yes
13.12359 -else
13.12360 - echo "$as_me: failed program was:" >&5
13.12361 -sed 's/^/| /' conftest.$ac_ext >&5
13.12362 -
13.12363 -ac_cv_func_shl_load=no
13.12364 -fi
13.12365 -rm -f conftest.err conftest.$ac_objext \
13.12366 - conftest$ac_exeext conftest.$ac_ext
13.12367 -fi
13.12368 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13.12369 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
13.12370 -if test $ac_cv_func_shl_load = yes; then
13.12371 - lt_cv_dlopen="shl_load"
13.12372 -else
13.12373 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13.12374 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
13.12375 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13.12376 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.12377 -else
13.12378 - ac_check_lib_save_LIBS=$LIBS
13.12379 -LIBS="-ldld $LIBS"
13.12380 -cat >conftest.$ac_ext <<_ACEOF
13.12381 -/* confdefs.h. */
13.12382 -_ACEOF
13.12383 -cat confdefs.h >>conftest.$ac_ext
13.12384 -cat >>conftest.$ac_ext <<_ACEOF
13.12385 -/* end confdefs.h. */
13.12386 -
13.12387 -/* Override any gcc2 internal prototype to avoid an error. */
13.12388 -#ifdef __cplusplus
13.12389 -extern "C"
13.12390 -#endif
13.12391 -/* We use char because int might match the return type of a gcc2
13.12392 - builtin and then its argument prototype would still apply. */
13.12393 -char shl_load ();
13.12394 -int
13.12395 -main ()
13.12396 -{
13.12397 -shl_load ();
13.12398 - ;
13.12399 - return 0;
13.12400 -}
13.12401 -_ACEOF
13.12402 -rm -f conftest.$ac_objext conftest$ac_exeext
13.12403 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.12404 - (eval $ac_link) 2>conftest.er1
13.12405 - ac_status=$?
13.12406 - grep -v '^ *+' conftest.er1 >conftest.err
13.12407 - rm -f conftest.er1
13.12408 - cat conftest.err >&5
13.12409 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12410 - (exit $ac_status); } &&
13.12411 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13.12412 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.12413 - (eval $ac_try) 2>&5
13.12414 - ac_status=$?
13.12415 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12416 - (exit $ac_status); }; } &&
13.12417 - { ac_try='test -s conftest$ac_exeext'
13.12418 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.12419 - (eval $ac_try) 2>&5
13.12420 - ac_status=$?
13.12421 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12422 - (exit $ac_status); }; }; then
13.12423 - ac_cv_lib_dld_shl_load=yes
13.12424 -else
13.12425 - echo "$as_me: failed program was:" >&5
13.12426 -sed 's/^/| /' conftest.$ac_ext >&5
13.12427 -
13.12428 -ac_cv_lib_dld_shl_load=no
13.12429 -fi
13.12430 -rm -f conftest.err conftest.$ac_objext \
13.12431 - conftest$ac_exeext conftest.$ac_ext
13.12432 -LIBS=$ac_check_lib_save_LIBS
13.12433 -fi
13.12434 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13.12435 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
13.12436 -if test $ac_cv_lib_dld_shl_load = yes; then
13.12437 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
13.12438 -else
13.12439 - echo "$as_me:$LINENO: checking for dlopen" >&5
13.12440 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
13.12441 -if test "${ac_cv_func_dlopen+set}" = set; then
13.12442 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.12443 -else
13.12444 - cat >conftest.$ac_ext <<_ACEOF
13.12445 -/* confdefs.h. */
13.12446 -_ACEOF
13.12447 -cat confdefs.h >>conftest.$ac_ext
13.12448 -cat >>conftest.$ac_ext <<_ACEOF
13.12449 -/* end confdefs.h. */
13.12450 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13.12451 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
13.12452 -#define dlopen innocuous_dlopen
13.12453 -
13.12454 -/* System header to define __stub macros and hopefully few prototypes,
13.12455 - which can conflict with char dlopen (); below.
13.12456 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13.12457 - <limits.h> exists even on freestanding compilers. */
13.12458 -
13.12459 -#ifdef __STDC__
13.12460 -# include <limits.h>
13.12461 -#else
13.12462 -# include <assert.h>
13.12463 -#endif
13.12464 -
13.12465 -#undef dlopen
13.12466 -
13.12467 -/* Override any gcc2 internal prototype to avoid an error. */
13.12468 -#ifdef __cplusplus
13.12469 -extern "C"
13.12470 -{
13.12471 -#endif
13.12472 -/* We use char because int might match the return type of a gcc2
13.12473 - builtin and then its argument prototype would still apply. */
13.12474 -char dlopen ();
13.12475 -/* The GNU C library defines this for functions which it implements
13.12476 - to always fail with ENOSYS. Some functions are actually named
13.12477 - something starting with __ and the normal name is an alias. */
13.12478 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
13.12479 -choke me
13.12480 -#else
13.12481 -char (*f) () = dlopen;
13.12482 -#endif
13.12483 -#ifdef __cplusplus
13.12484 -}
13.12485 -#endif
13.12486 -
13.12487 -int
13.12488 -main ()
13.12489 -{
13.12490 -return f != dlopen;
13.12491 - ;
13.12492 - return 0;
13.12493 -}
13.12494 -_ACEOF
13.12495 -rm -f conftest.$ac_objext conftest$ac_exeext
13.12496 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.12497 - (eval $ac_link) 2>conftest.er1
13.12498 - ac_status=$?
13.12499 - grep -v '^ *+' conftest.er1 >conftest.err
13.12500 - rm -f conftest.er1
13.12501 - cat conftest.err >&5
13.12502 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12503 - (exit $ac_status); } &&
13.12504 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13.12505 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.12506 - (eval $ac_try) 2>&5
13.12507 - ac_status=$?
13.12508 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12509 - (exit $ac_status); }; } &&
13.12510 - { ac_try='test -s conftest$ac_exeext'
13.12511 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.12512 - (eval $ac_try) 2>&5
13.12513 - ac_status=$?
13.12514 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12515 - (exit $ac_status); }; }; then
13.12516 - ac_cv_func_dlopen=yes
13.12517 -else
13.12518 - echo "$as_me: failed program was:" >&5
13.12519 -sed 's/^/| /' conftest.$ac_ext >&5
13.12520 -
13.12521 -ac_cv_func_dlopen=no
13.12522 -fi
13.12523 -rm -f conftest.err conftest.$ac_objext \
13.12524 - conftest$ac_exeext conftest.$ac_ext
13.12525 -fi
13.12526 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13.12527 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
13.12528 -if test $ac_cv_func_dlopen = yes; then
13.12529 - lt_cv_dlopen="dlopen"
13.12530 -else
13.12531 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13.12532 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13.12533 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13.12534 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.12535 -else
13.12536 - ac_check_lib_save_LIBS=$LIBS
13.12537 -LIBS="-ldl $LIBS"
13.12538 -cat >conftest.$ac_ext <<_ACEOF
13.12539 -/* confdefs.h. */
13.12540 -_ACEOF
13.12541 -cat confdefs.h >>conftest.$ac_ext
13.12542 -cat >>conftest.$ac_ext <<_ACEOF
13.12543 -/* end confdefs.h. */
13.12544 -
13.12545 -/* Override any gcc2 internal prototype to avoid an error. */
13.12546 -#ifdef __cplusplus
13.12547 -extern "C"
13.12548 -#endif
13.12549 -/* We use char because int might match the return type of a gcc2
13.12550 - builtin and then its argument prototype would still apply. */
13.12551 -char dlopen ();
13.12552 -int
13.12553 -main ()
13.12554 -{
13.12555 -dlopen ();
13.12556 - ;
13.12557 - return 0;
13.12558 -}
13.12559 -_ACEOF
13.12560 -rm -f conftest.$ac_objext conftest$ac_exeext
13.12561 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.12562 - (eval $ac_link) 2>conftest.er1
13.12563 - ac_status=$?
13.12564 - grep -v '^ *+' conftest.er1 >conftest.err
13.12565 - rm -f conftest.er1
13.12566 - cat conftest.err >&5
13.12567 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12568 - (exit $ac_status); } &&
13.12569 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13.12570 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.12571 - (eval $ac_try) 2>&5
13.12572 - ac_status=$?
13.12573 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12574 - (exit $ac_status); }; } &&
13.12575 - { ac_try='test -s conftest$ac_exeext'
13.12576 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.12577 - (eval $ac_try) 2>&5
13.12578 - ac_status=$?
13.12579 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12580 - (exit $ac_status); }; }; then
13.12581 - ac_cv_lib_dl_dlopen=yes
13.12582 -else
13.12583 - echo "$as_me: failed program was:" >&5
13.12584 -sed 's/^/| /' conftest.$ac_ext >&5
13.12585 -
13.12586 -ac_cv_lib_dl_dlopen=no
13.12587 -fi
13.12588 -rm -f conftest.err conftest.$ac_objext \
13.12589 - conftest$ac_exeext conftest.$ac_ext
13.12590 -LIBS=$ac_check_lib_save_LIBS
13.12591 -fi
13.12592 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13.12593 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13.12594 -if test $ac_cv_lib_dl_dlopen = yes; then
13.12595 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13.12596 -else
13.12597 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13.12598 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
13.12599 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13.12600 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.12601 -else
13.12602 - ac_check_lib_save_LIBS=$LIBS
13.12603 -LIBS="-lsvld $LIBS"
13.12604 -cat >conftest.$ac_ext <<_ACEOF
13.12605 -/* confdefs.h. */
13.12606 -_ACEOF
13.12607 -cat confdefs.h >>conftest.$ac_ext
13.12608 -cat >>conftest.$ac_ext <<_ACEOF
13.12609 -/* end confdefs.h. */
13.12610 -
13.12611 -/* Override any gcc2 internal prototype to avoid an error. */
13.12612 -#ifdef __cplusplus
13.12613 -extern "C"
13.12614 -#endif
13.12615 -/* We use char because int might match the return type of a gcc2
13.12616 - builtin and then its argument prototype would still apply. */
13.12617 -char dlopen ();
13.12618 -int
13.12619 -main ()
13.12620 -{
13.12621 -dlopen ();
13.12622 - ;
13.12623 - return 0;
13.12624 -}
13.12625 -_ACEOF
13.12626 -rm -f conftest.$ac_objext conftest$ac_exeext
13.12627 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.12628 - (eval $ac_link) 2>conftest.er1
13.12629 - ac_status=$?
13.12630 - grep -v '^ *+' conftest.er1 >conftest.err
13.12631 - rm -f conftest.er1
13.12632 - cat conftest.err >&5
13.12633 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12634 - (exit $ac_status); } &&
13.12635 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13.12636 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.12637 - (eval $ac_try) 2>&5
13.12638 - ac_status=$?
13.12639 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12640 - (exit $ac_status); }; } &&
13.12641 - { ac_try='test -s conftest$ac_exeext'
13.12642 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.12643 - (eval $ac_try) 2>&5
13.12644 - ac_status=$?
13.12645 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12646 - (exit $ac_status); }; }; then
13.12647 - ac_cv_lib_svld_dlopen=yes
13.12648 -else
13.12649 - echo "$as_me: failed program was:" >&5
13.12650 -sed 's/^/| /' conftest.$ac_ext >&5
13.12651 -
13.12652 -ac_cv_lib_svld_dlopen=no
13.12653 -fi
13.12654 -rm -f conftest.err conftest.$ac_objext \
13.12655 - conftest$ac_exeext conftest.$ac_ext
13.12656 -LIBS=$ac_check_lib_save_LIBS
13.12657 -fi
13.12658 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13.12659 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
13.12660 -if test $ac_cv_lib_svld_dlopen = yes; then
13.12661 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13.12662 -else
13.12663 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13.12664 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
13.12665 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13.12666 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.12667 -else
13.12668 - ac_check_lib_save_LIBS=$LIBS
13.12669 -LIBS="-ldld $LIBS"
13.12670 -cat >conftest.$ac_ext <<_ACEOF
13.12671 -/* confdefs.h. */
13.12672 -_ACEOF
13.12673 -cat confdefs.h >>conftest.$ac_ext
13.12674 -cat >>conftest.$ac_ext <<_ACEOF
13.12675 -/* end confdefs.h. */
13.12676 -
13.12677 -/* Override any gcc2 internal prototype to avoid an error. */
13.12678 -#ifdef __cplusplus
13.12679 -extern "C"
13.12680 -#endif
13.12681 -/* We use char because int might match the return type of a gcc2
13.12682 - builtin and then its argument prototype would still apply. */
13.12683 -char dld_link ();
13.12684 -int
13.12685 -main ()
13.12686 -{
13.12687 -dld_link ();
13.12688 - ;
13.12689 - return 0;
13.12690 -}
13.12691 -_ACEOF
13.12692 -rm -f conftest.$ac_objext conftest$ac_exeext
13.12693 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.12694 - (eval $ac_link) 2>conftest.er1
13.12695 - ac_status=$?
13.12696 - grep -v '^ *+' conftest.er1 >conftest.err
13.12697 - rm -f conftest.er1
13.12698 - cat conftest.err >&5
13.12699 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12700 - (exit $ac_status); } &&
13.12701 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13.12702 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.12703 - (eval $ac_try) 2>&5
13.12704 - ac_status=$?
13.12705 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12706 - (exit $ac_status); }; } &&
13.12707 - { ac_try='test -s conftest$ac_exeext'
13.12708 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.12709 - (eval $ac_try) 2>&5
13.12710 - ac_status=$?
13.12711 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12712 - (exit $ac_status); }; }; then
13.12713 - ac_cv_lib_dld_dld_link=yes
13.12714 -else
13.12715 - echo "$as_me: failed program was:" >&5
13.12716 -sed 's/^/| /' conftest.$ac_ext >&5
13.12717 -
13.12718 -ac_cv_lib_dld_dld_link=no
13.12719 -fi
13.12720 -rm -f conftest.err conftest.$ac_objext \
13.12721 - conftest$ac_exeext conftest.$ac_ext
13.12722 -LIBS=$ac_check_lib_save_LIBS
13.12723 -fi
13.12724 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13.12725 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
13.12726 -if test $ac_cv_lib_dld_dld_link = yes; then
13.12727 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
13.12728 -fi
13.12729 -
13.12730 -
13.12731 -fi
13.12732 -
13.12733 -
13.12734 -fi
13.12735 -
13.12736 -
13.12737 -fi
13.12738 -
13.12739 -
13.12740 -fi
13.12741 -
13.12742 -
13.12743 -fi
13.12744 -
13.12745 - ;;
13.12746 - esac
13.12747 -
13.12748 - if test "x$lt_cv_dlopen" != xno; then
13.12749 - enable_dlopen=yes
13.12750 - else
13.12751 - enable_dlopen=no
13.12752 - fi
13.12753 -
13.12754 - case $lt_cv_dlopen in
13.12755 - dlopen)
13.12756 - save_CPPFLAGS="$CPPFLAGS"
13.12757 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13.12758 -
13.12759 - save_LDFLAGS="$LDFLAGS"
13.12760 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13.12761 -
13.12762 - save_LIBS="$LIBS"
13.12763 - LIBS="$lt_cv_dlopen_libs $LIBS"
13.12764 -
13.12765 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13.12766 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
13.12767 -if test "${lt_cv_dlopen_self+set}" = set; then
13.12768 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.12769 -else
13.12770 - if test "$cross_compiling" = yes; then :
13.12771 - lt_cv_dlopen_self=cross
13.12772 -else
13.12773 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13.12774 - lt_status=$lt_dlunknown
13.12775 - cat > conftest.$ac_ext <<EOF
13.12776 -#line 12773 "configure"
13.12777 -#include "confdefs.h"
13.12778 -
13.12779 -#if HAVE_DLFCN_H
13.12780 -#include <dlfcn.h>
13.12781 -#endif
13.12782 -
13.12783 -#include <stdio.h>
13.12784 -
13.12785 -#ifdef RTLD_GLOBAL
13.12786 -# define LT_DLGLOBAL RTLD_GLOBAL
13.12787 -#else
13.12788 -# ifdef DL_GLOBAL
13.12789 -# define LT_DLGLOBAL DL_GLOBAL
13.12790 -# else
13.12791 -# define LT_DLGLOBAL 0
13.12792 -# endif
13.12793 -#endif
13.12794 -
13.12795 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13.12796 - find out it does not work in some platform. */
13.12797 -#ifndef LT_DLLAZY_OR_NOW
13.12798 -# ifdef RTLD_LAZY
13.12799 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
13.12800 -# else
13.12801 -# ifdef DL_LAZY
13.12802 -# define LT_DLLAZY_OR_NOW DL_LAZY
13.12803 -# else
13.12804 -# ifdef RTLD_NOW
13.12805 -# define LT_DLLAZY_OR_NOW RTLD_NOW
13.12806 -# else
13.12807 -# ifdef DL_NOW
13.12808 -# define LT_DLLAZY_OR_NOW DL_NOW
13.12809 -# else
13.12810 -# define LT_DLLAZY_OR_NOW 0
13.12811 -# endif
13.12812 -# endif
13.12813 -# endif
13.12814 -# endif
13.12815 -#endif
13.12816 -
13.12817 -#ifdef __cplusplus
13.12818 -extern "C" void exit (int);
13.12819 -#endif
13.12820 -
13.12821 -void fnord() { int i=42;}
13.12822 -int main ()
13.12823 -{
13.12824 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13.12825 - int status = $lt_dlunknown;
13.12826 -
13.12827 - if (self)
13.12828 - {
13.12829 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13.12830 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13.12831 - /* dlclose (self); */
13.12832 - }
13.12833 -
13.12834 - exit (status);
13.12835 -}
13.12836 -EOF
13.12837 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.12838 - (eval $ac_link) 2>&5
13.12839 - ac_status=$?
13.12840 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12841 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13.12842 - (./conftest; exit; ) >&5 2>/dev/null
13.12843 - lt_status=$?
13.12844 - case x$lt_status in
13.12845 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13.12846 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13.12847 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
13.12848 - esac
13.12849 - else :
13.12850 - # compilation failed
13.12851 - lt_cv_dlopen_self=no
13.12852 - fi
13.12853 -fi
13.12854 -rm -fr conftest*
13.12855 -
13.12856 -
13.12857 -fi
13.12858 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13.12859 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
13.12860 -
13.12861 - if test "x$lt_cv_dlopen_self" = xyes; then
13.12862 - LDFLAGS="$LDFLAGS $link_static_flag"
13.12863 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13.12864 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
13.12865 -if test "${lt_cv_dlopen_self_static+set}" = set; then
13.12866 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.12867 -else
13.12868 - if test "$cross_compiling" = yes; then :
13.12869 - lt_cv_dlopen_self_static=cross
13.12870 -else
13.12871 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13.12872 - lt_status=$lt_dlunknown
13.12873 - cat > conftest.$ac_ext <<EOF
13.12874 -#line 12871 "configure"
13.12875 -#include "confdefs.h"
13.12876 -
13.12877 -#if HAVE_DLFCN_H
13.12878 -#include <dlfcn.h>
13.12879 -#endif
13.12880 -
13.12881 -#include <stdio.h>
13.12882 -
13.12883 -#ifdef RTLD_GLOBAL
13.12884 -# define LT_DLGLOBAL RTLD_GLOBAL
13.12885 -#else
13.12886 -# ifdef DL_GLOBAL
13.12887 -# define LT_DLGLOBAL DL_GLOBAL
13.12888 -# else
13.12889 -# define LT_DLGLOBAL 0
13.12890 -# endif
13.12891 -#endif
13.12892 -
13.12893 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13.12894 - find out it does not work in some platform. */
13.12895 -#ifndef LT_DLLAZY_OR_NOW
13.12896 -# ifdef RTLD_LAZY
13.12897 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
13.12898 -# else
13.12899 -# ifdef DL_LAZY
13.12900 -# define LT_DLLAZY_OR_NOW DL_LAZY
13.12901 -# else
13.12902 -# ifdef RTLD_NOW
13.12903 -# define LT_DLLAZY_OR_NOW RTLD_NOW
13.12904 -# else
13.12905 -# ifdef DL_NOW
13.12906 -# define LT_DLLAZY_OR_NOW DL_NOW
13.12907 -# else
13.12908 -# define LT_DLLAZY_OR_NOW 0
13.12909 -# endif
13.12910 -# endif
13.12911 -# endif
13.12912 -# endif
13.12913 -#endif
13.12914 -
13.12915 -#ifdef __cplusplus
13.12916 -extern "C" void exit (int);
13.12917 -#endif
13.12918 -
13.12919 -void fnord() { int i=42;}
13.12920 -int main ()
13.12921 -{
13.12922 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13.12923 - int status = $lt_dlunknown;
13.12924 -
13.12925 - if (self)
13.12926 - {
13.12927 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13.12928 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13.12929 - /* dlclose (self); */
13.12930 - }
13.12931 -
13.12932 - exit (status);
13.12933 -}
13.12934 -EOF
13.12935 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.12936 - (eval $ac_link) 2>&5
13.12937 - ac_status=$?
13.12938 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.12939 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13.12940 - (./conftest; exit; ) >&5 2>/dev/null
13.12941 - lt_status=$?
13.12942 - case x$lt_status in
13.12943 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13.12944 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13.12945 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
13.12946 - esac
13.12947 - else :
13.12948 - # compilation failed
13.12949 - lt_cv_dlopen_self_static=no
13.12950 - fi
13.12951 -fi
13.12952 -rm -fr conftest*
13.12953 -
13.12954 -
13.12955 -fi
13.12956 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13.12957 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13.12958 - fi
13.12959 -
13.12960 - CPPFLAGS="$save_CPPFLAGS"
13.12961 - LDFLAGS="$save_LDFLAGS"
13.12962 - LIBS="$save_LIBS"
13.12963 - ;;
13.12964 - esac
13.12965 -
13.12966 - case $lt_cv_dlopen_self in
13.12967 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13.12968 - *) enable_dlopen_self=unknown ;;
13.12969 - esac
13.12970 -
13.12971 - case $lt_cv_dlopen_self_static in
13.12972 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13.12973 - *) enable_dlopen_self_static=unknown ;;
13.12974 - esac
13.12975 -fi
13.12976 -
13.12977 -
13.12978 -# The else clause should only fire when bootstrapping the
13.12979 -# libtool distribution, otherwise you forgot to ship ltmain.sh
13.12980 -# with your package, and you will get complaints that there are
13.12981 -# no rules to generate ltmain.sh.
13.12982 -if test -f "$ltmain"; then
13.12983 - # See if we are running on zsh, and set the options which allow our commands through
13.12984 - # without removal of \ escapes.
13.12985 - if test -n "${ZSH_VERSION+set}" ; then
13.12986 - setopt NO_GLOB_SUBST
13.12987 - fi
13.12988 - # Now quote all the things that may contain metacharacters while being
13.12989 - # careful not to overquote the AC_SUBSTed values. We take copies of the
13.12990 - # variables and quote the copies for generation of the libtool script.
13.12991 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
13.12992 - SED SHELL STRIP \
13.12993 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13.12994 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13.12995 - deplibs_check_method reload_flag reload_cmds need_locks \
13.12996 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13.12997 - lt_cv_sys_global_symbol_to_c_name_address \
13.12998 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13.12999 - old_postinstall_cmds old_postuninstall_cmds \
13.13000 - compiler_CXX \
13.13001 - CC_CXX \
13.13002 - LD_CXX \
13.13003 - lt_prog_compiler_wl_CXX \
13.13004 - lt_prog_compiler_pic_CXX \
13.13005 - lt_prog_compiler_static_CXX \
13.13006 - lt_prog_compiler_no_builtin_flag_CXX \
13.13007 - export_dynamic_flag_spec_CXX \
13.13008 - thread_safe_flag_spec_CXX \
13.13009 - whole_archive_flag_spec_CXX \
13.13010 - enable_shared_with_static_runtimes_CXX \
13.13011 - old_archive_cmds_CXX \
13.13012 - old_archive_from_new_cmds_CXX \
13.13013 - predep_objects_CXX \
13.13014 - postdep_objects_CXX \
13.13015 - predeps_CXX \
13.13016 - postdeps_CXX \
13.13017 - compiler_lib_search_path_CXX \
13.13018 - archive_cmds_CXX \
13.13019 - archive_expsym_cmds_CXX \
13.13020 - postinstall_cmds_CXX \
13.13021 - postuninstall_cmds_CXX \
13.13022 - old_archive_from_expsyms_cmds_CXX \
13.13023 - allow_undefined_flag_CXX \
13.13024 - no_undefined_flag_CXX \
13.13025 - export_symbols_cmds_CXX \
13.13026 - hardcode_libdir_flag_spec_CXX \
13.13027 - hardcode_libdir_flag_spec_ld_CXX \
13.13028 - hardcode_libdir_separator_CXX \
13.13029 - hardcode_automatic_CXX \
13.13030 - module_cmds_CXX \
13.13031 - module_expsym_cmds_CXX \
13.13032 - lt_cv_prog_compiler_c_o_CXX \
13.13033 - exclude_expsyms_CXX \
13.13034 - include_expsyms_CXX; do
13.13035 -
13.13036 - case $var in
13.13037 - old_archive_cmds_CXX | \
13.13038 - old_archive_from_new_cmds_CXX | \
13.13039 - archive_cmds_CXX | \
13.13040 - archive_expsym_cmds_CXX | \
13.13041 - module_cmds_CXX | \
13.13042 - module_expsym_cmds_CXX | \
13.13043 - old_archive_from_expsyms_cmds_CXX | \
13.13044 - export_symbols_cmds_CXX | \
13.13045 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
13.13046 - postinstall_cmds | postuninstall_cmds | \
13.13047 - old_postinstall_cmds | old_postuninstall_cmds | \
13.13048 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13.13049 - # Double-quote double-evaled strings.
13.13050 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13.13051 - ;;
13.13052 - *)
13.13053 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13.13054 - ;;
13.13055 - esac
13.13056 - done
13.13057 -
13.13058 - case $lt_echo in
13.13059 - *'\$0 --fallback-echo"')
13.13060 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13.13061 - ;;
13.13062 - esac
13.13063 -
13.13064 -cfgfile="$ofile"
13.13065 -
13.13066 - cat <<__EOF__ >> "$cfgfile"
13.13067 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13.13068 -
13.13069 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13.13070 -
13.13071 -# Shell to use when invoking shell scripts.
13.13072 -SHELL=$lt_SHELL
13.13073 -
13.13074 -# Whether or not to build shared libraries.
13.13075 -build_libtool_libs=$enable_shared
13.13076 -
13.13077 -# Whether or not to build static libraries.
13.13078 -build_old_libs=$enable_static
13.13079 -
13.13080 -# Whether or not to add -lc for building shared libraries.
13.13081 -build_libtool_need_lc=$archive_cmds_need_lc_CXX
13.13082 -
13.13083 -# Whether or not to disallow shared libs when runtime libs are static
13.13084 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13.13085 -
13.13086 -# Whether or not to optimize for fast installation.
13.13087 -fast_install=$enable_fast_install
13.13088 -
13.13089 -# The host system.
13.13090 -host_alias=$host_alias
13.13091 -host=$host
13.13092 -host_os=$host_os
13.13093 -
13.13094 -# The build system.
13.13095 -build_alias=$build_alias
13.13096 -build=$build
13.13097 -build_os=$build_os
13.13098 -
13.13099 -# An echo program that does not interpret backslashes.
13.13100 -echo=$lt_echo
13.13101 -
13.13102 -# The archiver.
13.13103 -AR=$lt_AR
13.13104 -AR_FLAGS=$lt_AR_FLAGS
13.13105 -
13.13106 -# A C compiler.
13.13107 -LTCC=$lt_LTCC
13.13108 -
13.13109 -# A language-specific compiler.
13.13110 -CC=$lt_compiler_CXX
13.13111 -
13.13112 -# Is the compiler the GNU C compiler?
13.13113 -with_gcc=$GCC_CXX
13.13114 -
13.13115 -# An ERE matcher.
13.13116 -EGREP=$lt_EGREP
13.13117 -
13.13118 -# The linker used to build libraries.
13.13119 -LD=$lt_LD_CXX
13.13120 -
13.13121 -# Whether we need hard or soft links.
13.13122 -LN_S=$lt_LN_S
13.13123 -
13.13124 -# A BSD-compatible nm program.
13.13125 -NM=$lt_NM
13.13126 -
13.13127 -# A symbol stripping program
13.13128 -STRIP=$lt_STRIP
13.13129 -
13.13130 -# Used to examine libraries when file_magic_cmd begins "file"
13.13131 -MAGIC_CMD=$MAGIC_CMD
13.13132 -
13.13133 -# Used on cygwin: DLL creation program.
13.13134 -DLLTOOL="$DLLTOOL"
13.13135 -
13.13136 -# Used on cygwin: object dumper.
13.13137 -OBJDUMP="$OBJDUMP"
13.13138 -
13.13139 -# Used on cygwin: assembler.
13.13140 -AS="$AS"
13.13141 -
13.13142 -# The name of the directory that contains temporary libtool files.
13.13143 -objdir=$objdir
13.13144 -
13.13145 -# How to create reloadable object files.
13.13146 -reload_flag=$lt_reload_flag
13.13147 -reload_cmds=$lt_reload_cmds
13.13148 -
13.13149 -# How to pass a linker flag through the compiler.
13.13150 -wl=$lt_lt_prog_compiler_wl_CXX
13.13151 -
13.13152 -# Object file suffix (normally "o").
13.13153 -objext="$ac_objext"
13.13154 -
13.13155 -# Old archive suffix (normally "a").
13.13156 -libext="$libext"
13.13157 -
13.13158 -# Shared library suffix (normally ".so").
13.13159 -shrext_cmds='$shrext_cmds'
13.13160 -
13.13161 -# Executable file suffix (normally "").
13.13162 -exeext="$exeext"
13.13163 -
13.13164 -# Additional compiler flags for building library objects.
13.13165 -pic_flag=$lt_lt_prog_compiler_pic_CXX
13.13166 -pic_mode=$pic_mode
13.13167 -
13.13168 -# What is the maximum length of a command?
13.13169 -max_cmd_len=$lt_cv_sys_max_cmd_len
13.13170 -
13.13171 -# Does compiler simultaneously support -c and -o options?
13.13172 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13.13173 -
13.13174 -# Must we lock files when doing compilation?
13.13175 -need_locks=$lt_need_locks
13.13176 -
13.13177 -# Do we need the lib prefix for modules?
13.13178 -need_lib_prefix=$need_lib_prefix
13.13179 -
13.13180 -# Do we need a version for libraries?
13.13181 -need_version=$need_version
13.13182 -
13.13183 -# Whether dlopen is supported.
13.13184 -dlopen_support=$enable_dlopen
13.13185 -
13.13186 -# Whether dlopen of programs is supported.
13.13187 -dlopen_self=$enable_dlopen_self
13.13188 -
13.13189 -# Whether dlopen of statically linked programs is supported.
13.13190 -dlopen_self_static=$enable_dlopen_self_static
13.13191 -
13.13192 -# Compiler flag to prevent dynamic linking.
13.13193 -link_static_flag=$lt_lt_prog_compiler_static_CXX
13.13194 -
13.13195 -# Compiler flag to turn off builtin functions.
13.13196 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13.13197 -
13.13198 -# Compiler flag to allow reflexive dlopens.
13.13199 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13.13200 -
13.13201 -# Compiler flag to generate shared objects directly from archives.
13.13202 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13.13203 -
13.13204 -# Compiler flag to generate thread-safe objects.
13.13205 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13.13206 -
13.13207 -# Library versioning type.
13.13208 -version_type=$version_type
13.13209 -
13.13210 -# Format of library name prefix.
13.13211 -libname_spec=$lt_libname_spec
13.13212 -
13.13213 -# List of archive names. First name is the real one, the rest are links.
13.13214 -# The last name is the one that the linker finds with -lNAME.
13.13215 -library_names_spec=$lt_library_names_spec
13.13216 -
13.13217 -# The coded name of the library, if different from the real name.
13.13218 -soname_spec=$lt_soname_spec
13.13219 -
13.13220 -# Commands used to build and install an old-style archive.
13.13221 -RANLIB=$lt_RANLIB
13.13222 -old_archive_cmds=$lt_old_archive_cmds_CXX
13.13223 -old_postinstall_cmds=$lt_old_postinstall_cmds
13.13224 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
13.13225 -
13.13226 -# Create an old-style archive from a shared archive.
13.13227 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13.13228 -
13.13229 -# Create a temporary old-style archive to link instead of a shared archive.
13.13230 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13.13231 -
13.13232 -# Commands used to build and install a shared archive.
13.13233 -archive_cmds=$lt_archive_cmds_CXX
13.13234 -archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13.13235 -postinstall_cmds=$lt_postinstall_cmds
13.13236 -postuninstall_cmds=$lt_postuninstall_cmds
13.13237 -
13.13238 -# Commands used to build a loadable module (assumed same as above if empty)
13.13239 -module_cmds=$lt_module_cmds_CXX
13.13240 -module_expsym_cmds=$lt_module_expsym_cmds_CXX
13.13241 -
13.13242 -# Commands to strip libraries.
13.13243 -old_striplib=$lt_old_striplib
13.13244 -striplib=$lt_striplib
13.13245 -
13.13246 -# Dependencies to place before the objects being linked to create a
13.13247 -# shared library.
13.13248 -predep_objects=$lt_predep_objects_CXX
13.13249 -
13.13250 -# Dependencies to place after the objects being linked to create a
13.13251 -# shared library.
13.13252 -postdep_objects=$lt_postdep_objects_CXX
13.13253 -
13.13254 -# Dependencies to place before the objects being linked to create a
13.13255 -# shared library.
13.13256 -predeps=$lt_predeps_CXX
13.13257 -
13.13258 -# Dependencies to place after the objects being linked to create a
13.13259 -# shared library.
13.13260 -postdeps=$lt_postdeps_CXX
13.13261 -
13.13262 -# The library search path used internally by the compiler when linking
13.13263 -# a shared library.
13.13264 -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13.13265 -
13.13266 -# Method to check whether dependent libraries are shared objects.
13.13267 -deplibs_check_method=$lt_deplibs_check_method
13.13268 -
13.13269 -# Command to use when deplibs_check_method == file_magic.
13.13270 -file_magic_cmd=$lt_file_magic_cmd
13.13271 -
13.13272 -# Flag that allows shared libraries with undefined symbols to be built.
13.13273 -allow_undefined_flag=$lt_allow_undefined_flag_CXX
13.13274 -
13.13275 -# Flag that forces no undefined symbols.
13.13276 -no_undefined_flag=$lt_no_undefined_flag_CXX
13.13277 -
13.13278 -# Commands used to finish a libtool library installation in a directory.
13.13279 -finish_cmds=$lt_finish_cmds
13.13280 -
13.13281 -# Same as above, but a single script fragment to be evaled but not shown.
13.13282 -finish_eval=$lt_finish_eval
13.13283 -
13.13284 -# Take the output of nm and produce a listing of raw symbols and C names.
13.13285 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13.13286 -
13.13287 -# Transform the output of nm in a proper C declaration
13.13288 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13.13289 -
13.13290 -# Transform the output of nm in a C name address pair
13.13291 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13.13292 -
13.13293 -# This is the shared library runtime path variable.
13.13294 -runpath_var=$runpath_var
13.13295 -
13.13296 -# This is the shared library path variable.
13.13297 -shlibpath_var=$shlibpath_var
13.13298 -
13.13299 -# Is shlibpath searched before the hard-coded library search path?
13.13300 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13.13301 -
13.13302 -# How to hardcode a shared library path into an executable.
13.13303 -hardcode_action=$hardcode_action_CXX
13.13304 -
13.13305 -# Whether we should hardcode library paths into libraries.
13.13306 -hardcode_into_libs=$hardcode_into_libs
13.13307 -
13.13308 -# Flag to hardcode \$libdir into a binary during linking.
13.13309 -# This must work even if \$libdir does not exist.
13.13310 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13.13311 -
13.13312 -# If ld is used when linking, flag to hardcode \$libdir into
13.13313 -# a binary during linking. This must work even if \$libdir does
13.13314 -# not exist.
13.13315 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13.13316 -
13.13317 -# Whether we need a single -rpath flag with a separated argument.
13.13318 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13.13319 -
13.13320 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13.13321 -# resulting binary.
13.13322 -hardcode_direct=$hardcode_direct_CXX
13.13323 -
13.13324 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13.13325 -# resulting binary.
13.13326 -hardcode_minus_L=$hardcode_minus_L_CXX
13.13327 -
13.13328 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13.13329 -# the resulting binary.
13.13330 -hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13.13331 -
13.13332 -# Set to yes if building a shared library automatically hardcodes DIR into the library
13.13333 -# and all subsequent libraries and executables linked against it.
13.13334 -hardcode_automatic=$hardcode_automatic_CXX
13.13335 -
13.13336 -# Variables whose values should be saved in libtool wrapper scripts and
13.13337 -# restored at relink time.
13.13338 -variables_saved_for_relink="$variables_saved_for_relink"
13.13339 -
13.13340 -# Whether libtool must link a program against all its dependency libraries.
13.13341 -link_all_deplibs=$link_all_deplibs_CXX
13.13342 -
13.13343 -# Compile-time system search path for libraries
13.13344 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13.13345 -
13.13346 -# Run-time system search path for libraries
13.13347 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13.13348 -
13.13349 -# Fix the shell variable \$srcfile for the compiler.
13.13350 -fix_srcfile_path="$fix_srcfile_path_CXX"
13.13351 -
13.13352 -# Set to yes if exported symbols are required.
13.13353 -always_export_symbols=$always_export_symbols_CXX
13.13354 -
13.13355 -# The commands to list exported symbols.
13.13356 -export_symbols_cmds=$lt_export_symbols_cmds_CXX
13.13357 -
13.13358 -# The commands to extract the exported symbol list from a shared archive.
13.13359 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
13.13360 -
13.13361 -# Symbols that should not be listed in the preloaded symbols.
13.13362 -exclude_expsyms=$lt_exclude_expsyms_CXX
13.13363 -
13.13364 -# Symbols that must always be exported.
13.13365 -include_expsyms=$lt_include_expsyms_CXX
13.13366 -
13.13367 -# ### END LIBTOOL TAG CONFIG: $tagname
13.13368 -
13.13369 -__EOF__
13.13370 -
13.13371 -
13.13372 -else
13.13373 - # If there is no Makefile yet, we rely on a make rule to execute
13.13374 - # `config.status --recheck' to rerun these tests and create the
13.13375 - # libtool script then.
13.13376 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13.13377 - if test -f "$ltmain_in"; then
13.13378 - test -f Makefile && make "$ltmain"
13.13379 - fi
13.13380 -fi
13.13381 -
13.13382 -
13.13383 -ac_ext=c
13.13384 -ac_cpp='$CPP $CPPFLAGS'
13.13385 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.13386 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.13387 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.13388 -
13.13389 -CC=$lt_save_CC
13.13390 -LDCXX=$LD
13.13391 -LD=$lt_save_LD
13.13392 -GCC=$lt_save_GCC
13.13393 -with_gnu_ldcxx=$with_gnu_ld
13.13394 -with_gnu_ld=$lt_save_with_gnu_ld
13.13395 -lt_cv_path_LDCXX=$lt_cv_path_LD
13.13396 -lt_cv_path_LD=$lt_save_path_LD
13.13397 -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13.13398 -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13.13399 -
13.13400 - else
13.13401 - tagname=""
13.13402 - fi
13.13403 - ;;
13.13404 -
13.13405 - F77)
13.13406 - if test -n "$F77" && test "X$F77" != "Xno"; then
13.13407 -
13.13408 -ac_ext=f
13.13409 -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13.13410 -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.13411 -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13.13412 -
13.13413 -
13.13414 -archive_cmds_need_lc_F77=no
13.13415 -allow_undefined_flag_F77=
13.13416 -always_export_symbols_F77=no
13.13417 -archive_expsym_cmds_F77=
13.13418 -export_dynamic_flag_spec_F77=
13.13419 -hardcode_direct_F77=no
13.13420 -hardcode_libdir_flag_spec_F77=
13.13421 -hardcode_libdir_flag_spec_ld_F77=
13.13422 -hardcode_libdir_separator_F77=
13.13423 -hardcode_minus_L_F77=no
13.13424 -hardcode_automatic_F77=no
13.13425 -module_cmds_F77=
13.13426 -module_expsym_cmds_F77=
13.13427 -link_all_deplibs_F77=unknown
13.13428 -old_archive_cmds_F77=$old_archive_cmds
13.13429 -no_undefined_flag_F77=
13.13430 -whole_archive_flag_spec_F77=
13.13431 -enable_shared_with_static_runtimes_F77=no
13.13432 -
13.13433 -# Source file extension for f77 test sources.
13.13434 -ac_ext=f
13.13435 -
13.13436 -# Object file extension for compiled f77 test sources.
13.13437 -objext=o
13.13438 -objext_F77=$objext
13.13439 -
13.13440 -# Code to be used in simple compile tests
13.13441 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
13.13442 -
13.13443 -# Code to be used in simple link tests
13.13444 -lt_simple_link_test_code=" program t\n end\n"
13.13445 -
13.13446 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13.13447 -
13.13448 -# If no C compiler was specified, use CC.
13.13449 -LTCC=${LTCC-"$CC"}
13.13450 -
13.13451 -# Allow CC to be a program name with arguments.
13.13452 -compiler=$CC
13.13453 -
13.13454 -
13.13455 -# save warnings/boilerplate of simple test code
13.13456 -ac_outfile=conftest.$ac_objext
13.13457 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13.13458 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13.13459 -_lt_compiler_boilerplate=`cat conftest.err`
13.13460 -$rm conftest*
13.13461 -
13.13462 -ac_outfile=conftest.$ac_objext
13.13463 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
13.13464 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13.13465 -_lt_linker_boilerplate=`cat conftest.err`
13.13466 -$rm conftest*
13.13467 -
13.13468 -
13.13469 -# Allow CC to be a program name with arguments.
13.13470 -lt_save_CC="$CC"
13.13471 -CC=${F77-"f77"}
13.13472 -compiler=$CC
13.13473 -compiler_F77=$CC
13.13474 -for cc_temp in $compiler""; do
13.13475 - case $cc_temp in
13.13476 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13.13477 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13.13478 - \-*) ;;
13.13479 - *) break;;
13.13480 - esac
13.13481 -done
13.13482 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13.13483 -
13.13484 -
13.13485 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13.13486 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13.13487 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
13.13488 -echo "${ECHO_T}$can_build_shared" >&6
13.13489 -
13.13490 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13.13491 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13.13492 -test "$can_build_shared" = "no" && enable_shared=no
13.13493 -
13.13494 -# On AIX, shared libraries and static libraries use the same namespace, and
13.13495 -# are all built from PIC.
13.13496 -case $host_os in
13.13497 -aix3*)
13.13498 - test "$enable_shared" = yes && enable_static=no
13.13499 - if test -n "$RANLIB"; then
13.13500 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
13.13501 - postinstall_cmds='$RANLIB $lib'
13.13502 - fi
13.13503 - ;;
13.13504 -aix4* | aix5*)
13.13505 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13.13506 - test "$enable_shared" = yes && enable_static=no
13.13507 - fi
13.13508 - ;;
13.13509 -esac
13.13510 -echo "$as_me:$LINENO: result: $enable_shared" >&5
13.13511 -echo "${ECHO_T}$enable_shared" >&6
13.13512 -
13.13513 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13.13514 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13.13515 -# Make sure either enable_shared or enable_static is yes.
13.13516 -test "$enable_shared" = yes || enable_static=yes
13.13517 -echo "$as_me:$LINENO: result: $enable_static" >&5
13.13518 -echo "${ECHO_T}$enable_static" >&6
13.13519 -
13.13520 -test "$ld_shlibs_F77" = no && can_build_shared=no
13.13521 -
13.13522 -GCC_F77="$G77"
13.13523 -LD_F77="$LD"
13.13524 -
13.13525 -lt_prog_compiler_wl_F77=
13.13526 -lt_prog_compiler_pic_F77=
13.13527 -lt_prog_compiler_static_F77=
13.13528 -
13.13529 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13.13530 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13.13531 -
13.13532 - if test "$GCC" = yes; then
13.13533 - lt_prog_compiler_wl_F77='-Wl,'
13.13534 - lt_prog_compiler_static_F77='-static'
13.13535 -
13.13536 - case $host_os in
13.13537 - aix*)
13.13538 - # All AIX code is PIC.
13.13539 - if test "$host_cpu" = ia64; then
13.13540 - # AIX 5 now supports IA64 processor
13.13541 - lt_prog_compiler_static_F77='-Bstatic'
13.13542 - fi
13.13543 - ;;
13.13544 -
13.13545 - amigaos*)
13.13546 - # FIXME: we need at least 68020 code to build shared libraries, but
13.13547 - # adding the `-m68020' flag to GCC prevents building anything better,
13.13548 - # like `-m68040'.
13.13549 - lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13.13550 - ;;
13.13551 -
13.13552 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13.13553 - # PIC is the default for these OSes.
13.13554 - ;;
13.13555 -
13.13556 - mingw* | pw32* | os2*)
13.13557 - # This hack is so that the source file can tell whether it is being
13.13558 - # built for inclusion in a dll (and should export symbols for example).
13.13559 - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13.13560 - ;;
13.13561 -
13.13562 - darwin* | rhapsody*)
13.13563 - # PIC is the default on this platform
13.13564 - # Common symbols not allowed in MH_DYLIB files
13.13565 - lt_prog_compiler_pic_F77='-fno-common'
13.13566 - ;;
13.13567 -
13.13568 - msdosdjgpp*)
13.13569 - # Just because we use GCC doesn't mean we suddenly get shared libraries
13.13570 - # on systems that don't support them.
13.13571 - lt_prog_compiler_can_build_shared_F77=no
13.13572 - enable_shared=no
13.13573 - ;;
13.13574 -
13.13575 - sysv4*MP*)
13.13576 - if test -d /usr/nec; then
13.13577 - lt_prog_compiler_pic_F77=-Kconform_pic
13.13578 - fi
13.13579 - ;;
13.13580 -
13.13581 - hpux*)
13.13582 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13.13583 - # not for PA HP-UX.
13.13584 - case $host_cpu in
13.13585 - hppa*64*|ia64*)
13.13586 - # +Z the default
13.13587 - ;;
13.13588 - *)
13.13589 - lt_prog_compiler_pic_F77='-fPIC'
13.13590 - ;;
13.13591 - esac
13.13592 - ;;
13.13593 -
13.13594 - *)
13.13595 - lt_prog_compiler_pic_F77='-fPIC'
13.13596 - ;;
13.13597 - esac
13.13598 - else
13.13599 - # PORTME Check for flag to pass linker flags through the system compiler.
13.13600 - case $host_os in
13.13601 - aix*)
13.13602 - lt_prog_compiler_wl_F77='-Wl,'
13.13603 - if test "$host_cpu" = ia64; then
13.13604 - # AIX 5 now supports IA64 processor
13.13605 - lt_prog_compiler_static_F77='-Bstatic'
13.13606 - else
13.13607 - lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
13.13608 - fi
13.13609 - ;;
13.13610 - darwin*)
13.13611 - # PIC is the default on this platform
13.13612 - # Common symbols not allowed in MH_DYLIB files
13.13613 - case $cc_basename in
13.13614 - xlc*)
13.13615 - lt_prog_compiler_pic_F77='-qnocommon'
13.13616 - lt_prog_compiler_wl_F77='-Wl,'
13.13617 - ;;
13.13618 - esac
13.13619 - ;;
13.13620 -
13.13621 - mingw* | pw32* | os2*)
13.13622 - # This hack is so that the source file can tell whether it is being
13.13623 - # built for inclusion in a dll (and should export symbols for example).
13.13624 - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13.13625 - ;;
13.13626 -
13.13627 - hpux9* | hpux10* | hpux11*)
13.13628 - lt_prog_compiler_wl_F77='-Wl,'
13.13629 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13.13630 - # not for PA HP-UX.
13.13631 - case $host_cpu in
13.13632 - hppa*64*|ia64*)
13.13633 - # +Z the default
13.13634 - ;;
13.13635 - *)
13.13636 - lt_prog_compiler_pic_F77='+Z'
13.13637 - ;;
13.13638 - esac
13.13639 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
13.13640 - lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
13.13641 - ;;
13.13642 -
13.13643 - irix5* | irix6* | nonstopux*)
13.13644 - lt_prog_compiler_wl_F77='-Wl,'
13.13645 - # PIC (with -KPIC) is the default.
13.13646 - lt_prog_compiler_static_F77='-non_shared'
13.13647 - ;;
13.13648 -
13.13649 - newsos6)
13.13650 - lt_prog_compiler_pic_F77='-KPIC'
13.13651 - lt_prog_compiler_static_F77='-Bstatic'
13.13652 - ;;
13.13653 -
13.13654 - linux*)
13.13655 - case $cc_basename in
13.13656 - icc* | ecc*)
13.13657 - lt_prog_compiler_wl_F77='-Wl,'
13.13658 - lt_prog_compiler_pic_F77='-KPIC'
13.13659 - lt_prog_compiler_static_F77='-static'
13.13660 - ;;
13.13661 - pgcc* | pgf77* | pgf90* | pgf95*)
13.13662 - # Portland Group compilers (*not* the Pentium gcc compiler,
13.13663 - # which looks to be a dead project)
13.13664 - lt_prog_compiler_wl_F77='-Wl,'
13.13665 - lt_prog_compiler_pic_F77='-fpic'
13.13666 - lt_prog_compiler_static_F77='-Bstatic'
13.13667 - ;;
13.13668 - ccc*)
13.13669 - lt_prog_compiler_wl_F77='-Wl,'
13.13670 - # All Alpha code is PIC.
13.13671 - lt_prog_compiler_static_F77='-non_shared'
13.13672 - ;;
13.13673 - esac
13.13674 - ;;
13.13675 -
13.13676 - osf3* | osf4* | osf5*)
13.13677 - lt_prog_compiler_wl_F77='-Wl,'
13.13678 - # All OSF/1 code is PIC.
13.13679 - lt_prog_compiler_static_F77='-non_shared'
13.13680 - ;;
13.13681 -
13.13682 - sco3.2v5*)
13.13683 - lt_prog_compiler_pic_F77='-Kpic'
13.13684 - lt_prog_compiler_static_F77='-dn'
13.13685 - ;;
13.13686 -
13.13687 - solaris*)
13.13688 - lt_prog_compiler_pic_F77='-KPIC'
13.13689 - lt_prog_compiler_static_F77='-Bstatic'
13.13690 - case $cc_basename in
13.13691 - f77* | f90* | f95*)
13.13692 - lt_prog_compiler_wl_F77='-Qoption ld ';;
13.13693 - *)
13.13694 - lt_prog_compiler_wl_F77='-Wl,';;
13.13695 - esac
13.13696 - ;;
13.13697 -
13.13698 - sunos4*)
13.13699 - lt_prog_compiler_wl_F77='-Qoption ld '
13.13700 - lt_prog_compiler_pic_F77='-PIC'
13.13701 - lt_prog_compiler_static_F77='-Bstatic'
13.13702 - ;;
13.13703 -
13.13704 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13.13705 - lt_prog_compiler_wl_F77='-Wl,'
13.13706 - lt_prog_compiler_pic_F77='-KPIC'
13.13707 - lt_prog_compiler_static_F77='-Bstatic'
13.13708 - ;;
13.13709 -
13.13710 - sysv4*MP*)
13.13711 - if test -d /usr/nec ;then
13.13712 - lt_prog_compiler_pic_F77='-Kconform_pic'
13.13713 - lt_prog_compiler_static_F77='-Bstatic'
13.13714 - fi
13.13715 - ;;
13.13716 -
13.13717 - unicos*)
13.13718 - lt_prog_compiler_wl_F77='-Wl,'
13.13719 - lt_prog_compiler_can_build_shared_F77=no
13.13720 - ;;
13.13721 -
13.13722 - uts4*)
13.13723 - lt_prog_compiler_pic_F77='-pic'
13.13724 - lt_prog_compiler_static_F77='-Bstatic'
13.13725 - ;;
13.13726 -
13.13727 - *)
13.13728 - lt_prog_compiler_can_build_shared_F77=no
13.13729 - ;;
13.13730 - esac
13.13731 - fi
13.13732 -
13.13733 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13.13734 -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13.13735 -
13.13736 -#
13.13737 -# Check to make sure the PIC flag actually works.
13.13738 -#
13.13739 -if test -n "$lt_prog_compiler_pic_F77"; then
13.13740 -
13.13741 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13.13742 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13.13743 -if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13.13744 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.13745 -else
13.13746 - lt_prog_compiler_pic_works_F77=no
13.13747 - ac_outfile=conftest.$ac_objext
13.13748 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13.13749 - lt_compiler_flag="$lt_prog_compiler_pic_F77"
13.13750 - # Insert the option either (1) after the last *FLAGS variable, or
13.13751 - # (2) before a word containing "conftest.", or (3) at the end.
13.13752 - # Note that $ac_compile itself does not contain backslashes and begins
13.13753 - # with a dollar sign (not a hyphen), so the echo should work correctly.
13.13754 - # The option is referenced via a variable to avoid confusing sed.
13.13755 - lt_compile=`echo "$ac_compile" | $SED \
13.13756 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13.13757 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13.13758 - -e 's:$: $lt_compiler_flag:'`
13.13759 - (eval echo "\"\$as_me:13756: $lt_compile\"" >&5)
13.13760 - (eval "$lt_compile" 2>conftest.err)
13.13761 - ac_status=$?
13.13762 - cat conftest.err >&5
13.13763 - echo "$as_me:13760: \$? = $ac_status" >&5
13.13764 - if (exit $ac_status) && test -s "$ac_outfile"; then
13.13765 - # The compiler can only warn and ignore the option if not recognized
13.13766 - # So say no if there are warnings other than the usual output.
13.13767 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
13.13768 - $SED '/^$/d' conftest.err >conftest.er2
13.13769 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
13.13770 - lt_prog_compiler_pic_works_F77=yes
13.13771 - fi
13.13772 - fi
13.13773 - $rm conftest*
13.13774 -
13.13775 -fi
13.13776 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13.13777 -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13.13778 -
13.13779 -if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13.13780 - case $lt_prog_compiler_pic_F77 in
13.13781 - "" | " "*) ;;
13.13782 - *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13.13783 - esac
13.13784 -else
13.13785 - lt_prog_compiler_pic_F77=
13.13786 - lt_prog_compiler_can_build_shared_F77=no
13.13787 -fi
13.13788 -
13.13789 -fi
13.13790 -case $host_os in
13.13791 - # For platforms which do not support PIC, -DPIC is meaningless:
13.13792 - *djgpp*)
13.13793 - lt_prog_compiler_pic_F77=
13.13794 - ;;
13.13795 - *)
13.13796 - lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13.13797 - ;;
13.13798 -esac
13.13799 -
13.13800 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13.13801 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13.13802 -if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13.13803 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.13804 -else
13.13805 - lt_cv_prog_compiler_c_o_F77=no
13.13806 - $rm -r conftest 2>/dev/null
13.13807 - mkdir conftest
13.13808 - cd conftest
13.13809 - mkdir out
13.13810 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13.13811 -
13.13812 - lt_compiler_flag="-o out/conftest2.$ac_objext"
13.13813 - # Insert the option either (1) after the last *FLAGS variable, or
13.13814 - # (2) before a word containing "conftest.", or (3) at the end.
13.13815 - # Note that $ac_compile itself does not contain backslashes and begins
13.13816 - # with a dollar sign (not a hyphen), so the echo should work correctly.
13.13817 - lt_compile=`echo "$ac_compile" | $SED \
13.13818 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13.13819 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13.13820 - -e 's:$: $lt_compiler_flag:'`
13.13821 - (eval echo "\"\$as_me:13818: $lt_compile\"" >&5)
13.13822 - (eval "$lt_compile" 2>out/conftest.err)
13.13823 - ac_status=$?
13.13824 - cat out/conftest.err >&5
13.13825 - echo "$as_me:13822: \$? = $ac_status" >&5
13.13826 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
13.13827 - then
13.13828 - # The compiler can only warn and ignore the option if not recognized
13.13829 - # So say no if there are warnings
13.13830 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
13.13831 - $SED '/^$/d' out/conftest.err >out/conftest.er2
13.13832 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13.13833 - lt_cv_prog_compiler_c_o_F77=yes
13.13834 - fi
13.13835 - fi
13.13836 - chmod u+w . 2>&5
13.13837 - $rm conftest*
13.13838 - # SGI C++ compiler will create directory out/ii_files/ for
13.13839 - # template instantiation
13.13840 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13.13841 - $rm out/* && rmdir out
13.13842 - cd ..
13.13843 - rmdir conftest
13.13844 - $rm conftest*
13.13845 -
13.13846 -fi
13.13847 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13.13848 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13.13849 -
13.13850 -
13.13851 -hard_links="nottested"
13.13852 -if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13.13853 - # do not overwrite the value of need_locks provided by the user
13.13854 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13.13855 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13.13856 - hard_links=yes
13.13857 - $rm conftest*
13.13858 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
13.13859 - touch conftest.a
13.13860 - ln conftest.a conftest.b 2>&5 || hard_links=no
13.13861 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
13.13862 - echo "$as_me:$LINENO: result: $hard_links" >&5
13.13863 -echo "${ECHO_T}$hard_links" >&6
13.13864 - if test "$hard_links" = no; then
13.13865 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13.13866 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13.13867 - need_locks=warn
13.13868 - fi
13.13869 -else
13.13870 - need_locks=no
13.13871 -fi
13.13872 -
13.13873 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13.13874 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13.13875 -
13.13876 - runpath_var=
13.13877 - allow_undefined_flag_F77=
13.13878 - enable_shared_with_static_runtimes_F77=no
13.13879 - archive_cmds_F77=
13.13880 - archive_expsym_cmds_F77=
13.13881 - old_archive_From_new_cmds_F77=
13.13882 - old_archive_from_expsyms_cmds_F77=
13.13883 - export_dynamic_flag_spec_F77=
13.13884 - whole_archive_flag_spec_F77=
13.13885 - thread_safe_flag_spec_F77=
13.13886 - hardcode_libdir_flag_spec_F77=
13.13887 - hardcode_libdir_flag_spec_ld_F77=
13.13888 - hardcode_libdir_separator_F77=
13.13889 - hardcode_direct_F77=no
13.13890 - hardcode_minus_L_F77=no
13.13891 - hardcode_shlibpath_var_F77=unsupported
13.13892 - link_all_deplibs_F77=unknown
13.13893 - hardcode_automatic_F77=no
13.13894 - module_cmds_F77=
13.13895 - module_expsym_cmds_F77=
13.13896 - always_export_symbols_F77=no
13.13897 - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13.13898 - # include_expsyms should be a list of space-separated symbols to be *always*
13.13899 - # included in the symbol list
13.13900 - include_expsyms_F77=
13.13901 - # exclude_expsyms can be an extended regexp of symbols to exclude
13.13902 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
13.13903 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13.13904 - # as well as any symbol that contains `d'.
13.13905 - exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13.13906 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13.13907 - # platforms (ab)use it in PIC code, but their linkers get confused if
13.13908 - # the symbol is explicitly referenced. Since portable code cannot
13.13909 - # rely on this symbol name, it's probably fine to never include it in
13.13910 - # preloaded symbol tables.
13.13911 - extract_expsyms_cmds=
13.13912 - # Just being paranoid about ensuring that cc_basename is set.
13.13913 - for cc_temp in $compiler""; do
13.13914 - case $cc_temp in
13.13915 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13.13916 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13.13917 - \-*) ;;
13.13918 - *) break;;
13.13919 - esac
13.13920 -done
13.13921 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13.13922 -
13.13923 - case $host_os in
13.13924 - cygwin* | mingw* | pw32*)
13.13925 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
13.13926 - # When not using gcc, we currently assume that we are using
13.13927 - # Microsoft Visual C++.
13.13928 - if test "$GCC" != yes; then
13.13929 - with_gnu_ld=no
13.13930 - fi
13.13931 - ;;
13.13932 - openbsd*)
13.13933 - with_gnu_ld=no
13.13934 - ;;
13.13935 - esac
13.13936 -
13.13937 - ld_shlibs_F77=yes
13.13938 - if test "$with_gnu_ld" = yes; then
13.13939 - # If archive_cmds runs LD, not CC, wlarc should be empty
13.13940 - wlarc='${wl}'
13.13941 -
13.13942 - # Set some defaults for GNU ld with shared library support. These
13.13943 - # are reset later if shared libraries are not supported. Putting them
13.13944 - # here allows them to be overridden if necessary.
13.13945 - runpath_var=LD_RUN_PATH
13.13946 - hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13.13947 - export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13.13948 - # ancient GNU ld didn't support --whole-archive et. al.
13.13949 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13.13950 - whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13.13951 - else
13.13952 - whole_archive_flag_spec_F77=
13.13953 - fi
13.13954 - supports_anon_versioning=no
13.13955 - case `$LD -v 2>/dev/null` in
13.13956 - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13.13957 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13.13958 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13.13959 - *\ 2.11.*) ;; # other 2.11 versions
13.13960 - *) supports_anon_versioning=yes ;;
13.13961 - esac
13.13962 -
13.13963 - # See if GNU ld supports shared libraries.
13.13964 - case $host_os in
13.13965 - aix3* | aix4* | aix5*)
13.13966 - # On AIX/PPC, the GNU linker is very broken
13.13967 - if test "$host_cpu" != ia64; then
13.13968 - ld_shlibs_F77=no
13.13969 - cat <<EOF 1>&2
13.13970 -
13.13971 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
13.13972 -*** to be unable to reliably create shared libraries on AIX.
13.13973 -*** Therefore, libtool is disabling shared libraries support. If you
13.13974 -*** really care for shared libraries, you may want to modify your PATH
13.13975 -*** so that a non-GNU linker is found, and then restart.
13.13976 -
13.13977 -EOF
13.13978 - fi
13.13979 - ;;
13.13980 -
13.13981 - amigaos*)
13.13982 - archive_cmds_F77='$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)'
13.13983 - hardcode_libdir_flag_spec_F77='-L$libdir'
13.13984 - hardcode_minus_L_F77=yes
13.13985 -
13.13986 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13.13987 - # that the semantics of dynamic libraries on AmigaOS, at least up
13.13988 - # to version 4, is to share data among multiple programs linked
13.13989 - # with the same dynamic library. Since this doesn't match the
13.13990 - # behavior of shared libraries on other platforms, we can't use
13.13991 - # them.
13.13992 - ld_shlibs_F77=no
13.13993 - ;;
13.13994 -
13.13995 - beos*)
13.13996 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13.13997 - allow_undefined_flag_F77=unsupported
13.13998 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13.13999 - # support --undefined. This deserves some investigation. FIXME
13.14000 - archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.14001 - else
13.14002 - ld_shlibs_F77=no
13.14003 - fi
13.14004 - ;;
13.14005 -
13.14006 - cygwin* | mingw* | pw32*)
13.14007 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13.14008 - # as there is no search path for DLLs.
13.14009 - hardcode_libdir_flag_spec_F77='-L$libdir'
13.14010 - allow_undefined_flag_F77=unsupported
13.14011 - always_export_symbols_F77=no
13.14012 - enable_shared_with_static_runtimes_F77=yes
13.14013 - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13.14014 -
13.14015 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13.14016 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13.14017 - # If the export-symbols file already is a .def file (1st line
13.14018 - # is EXPORTS), use it as is; otherwise, prepend...
13.14019 - archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13.14020 - cp $export_symbols $output_objdir/$soname.def;
13.14021 - else
13.14022 - echo EXPORTS > $output_objdir/$soname.def;
13.14023 - cat $export_symbols >> $output_objdir/$soname.def;
13.14024 - fi~
13.14025 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13.14026 - else
13.14027 - ld_shlibs_F77=no
13.14028 - fi
13.14029 - ;;
13.14030 -
13.14031 - linux*)
13.14032 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13.14033 - tmp_addflag=
13.14034 - case $cc_basename,$host_cpu in
13.14035 - pgcc*) # Portland Group C compiler
13.14036 - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13.14037 - tmp_addflag=' $pic_flag'
13.14038 - ;;
13.14039 - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
13.14040 - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13.14041 - tmp_addflag=' $pic_flag -Mnomain' ;;
13.14042 - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13.14043 - tmp_addflag=' -i_dynamic' ;;
13.14044 - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13.14045 - tmp_addflag=' -i_dynamic -nofor_main' ;;
13.14046 - ifc* | ifort*) # Intel Fortran compiler
13.14047 - tmp_addflag=' -nofor_main' ;;
13.14048 - esac
13.14049 - archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.14050 -
13.14051 - if test $supports_anon_versioning = yes; then
13.14052 - archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13.14053 - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13.14054 - $echo "local: *; };" >> $output_objdir/$libname.ver~
13.14055 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13.14056 - fi
13.14057 - else
13.14058 - ld_shlibs_F77=no
13.14059 - fi
13.14060 - ;;
13.14061 -
13.14062 - netbsd*)
13.14063 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13.14064 - archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13.14065 - wlarc=
13.14066 - else
13.14067 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.14068 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13.14069 - fi
13.14070 - ;;
13.14071 -
13.14072 - solaris* | sysv5*)
13.14073 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13.14074 - ld_shlibs_F77=no
13.14075 - cat <<EOF 1>&2
13.14076 -
13.14077 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
13.14078 -*** create shared libraries on Solaris systems. Therefore, libtool
13.14079 -*** is disabling shared libraries support. We urge you to upgrade GNU
13.14080 -*** binutils to release 2.9.1 or newer. Another option is to modify
13.14081 -*** your PATH or compiler configuration so that the native linker is
13.14082 -*** used, and then restart.
13.14083 -
13.14084 -EOF
13.14085 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13.14086 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.14087 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13.14088 - else
13.14089 - ld_shlibs_F77=no
13.14090 - fi
13.14091 - ;;
13.14092 -
13.14093 - sunos4*)
13.14094 - archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13.14095 - wlarc=
13.14096 - hardcode_direct_F77=yes
13.14097 - hardcode_shlibpath_var_F77=no
13.14098 - ;;
13.14099 -
13.14100 - *)
13.14101 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13.14102 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.14103 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13.14104 - else
13.14105 - ld_shlibs_F77=no
13.14106 - fi
13.14107 - ;;
13.14108 - esac
13.14109 -
13.14110 - if test "$ld_shlibs_F77" = no; then
13.14111 - runpath_var=
13.14112 - hardcode_libdir_flag_spec_F77=
13.14113 - export_dynamic_flag_spec_F77=
13.14114 - whole_archive_flag_spec_F77=
13.14115 - fi
13.14116 - else
13.14117 - # PORTME fill in a description of your system's linker (not GNU ld)
13.14118 - case $host_os in
13.14119 - aix3*)
13.14120 - allow_undefined_flag_F77=unsupported
13.14121 - always_export_symbols_F77=yes
13.14122 - archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
13.14123 - # Note: this linker hardcodes the directories in LIBPATH if there
13.14124 - # are no directories specified by -L.
13.14125 - hardcode_minus_L_F77=yes
13.14126 - if test "$GCC" = yes && test -z "$link_static_flag"; then
13.14127 - # Neither direct hardcoding nor static linking is supported with a
13.14128 - # broken collect2.
13.14129 - hardcode_direct_F77=unsupported
13.14130 - fi
13.14131 - ;;
13.14132 -
13.14133 - aix4* | aix5*)
13.14134 - if test "$host_cpu" = ia64; then
13.14135 - # On IA64, the linker does run time linking by default, so we don't
13.14136 - # have to do anything special.
13.14137 - aix_use_runtimelinking=no
13.14138 - exp_sym_flag='-Bexport'
13.14139 - no_entry_flag=""
13.14140 - else
13.14141 - # If we're using GNU nm, then we don't want the "-C" option.
13.14142 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
13.14143 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13.14144 - export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13.14145 - else
13.14146 - export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13.14147 - fi
13.14148 - aix_use_runtimelinking=no
13.14149 -
13.14150 - # Test if we are trying to use run time linking or normal
13.14151 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13.14152 - # need to do runtime linking.
13.14153 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13.14154 - for ld_flag in $LDFLAGS; do
13.14155 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13.14156 - aix_use_runtimelinking=yes
13.14157 - break
13.14158 - fi
13.14159 - done
13.14160 - esac
13.14161 -
13.14162 - exp_sym_flag='-bexport'
13.14163 - no_entry_flag='-bnoentry'
13.14164 - fi
13.14165 -
13.14166 - # When large executables or shared objects are built, AIX ld can
13.14167 - # have problems creating the table of contents. If linking a library
13.14168 - # or program results in "error TOC overflow" add -mminimal-toc to
13.14169 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13.14170 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13.14171 -
13.14172 - archive_cmds_F77=''
13.14173 - hardcode_direct_F77=yes
13.14174 - hardcode_libdir_separator_F77=':'
13.14175 - link_all_deplibs_F77=yes
13.14176 -
13.14177 - if test "$GCC" = yes; then
13.14178 - case $host_os in aix4.[012]|aix4.[012].*)
13.14179 - # We only want to do this on AIX 4.2 and lower, the check
13.14180 - # below for broken collect2 doesn't work under 4.3+
13.14181 - collect2name=`${CC} -print-prog-name=collect2`
13.14182 - if test -f "$collect2name" && \
13.14183 - strings "$collect2name" | grep resolve_lib_name >/dev/null
13.14184 - then
13.14185 - # We have reworked collect2
13.14186 - hardcode_direct_F77=yes
13.14187 - else
13.14188 - # We have old collect2
13.14189 - hardcode_direct_F77=unsupported
13.14190 - # It fails to find uninstalled libraries when the uninstalled
13.14191 - # path is not listed in the libpath. Setting hardcode_minus_L
13.14192 - # to unsupported forces relinking
13.14193 - hardcode_minus_L_F77=yes
13.14194 - hardcode_libdir_flag_spec_F77='-L$libdir'
13.14195 - hardcode_libdir_separator_F77=
13.14196 - fi
13.14197 - esac
13.14198 - shared_flag='-shared'
13.14199 - if test "$aix_use_runtimelinking" = yes; then
13.14200 - shared_flag="$shared_flag "'${wl}-G'
13.14201 - fi
13.14202 - else
13.14203 - # not using gcc
13.14204 - if test "$host_cpu" = ia64; then
13.14205 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13.14206 - # chokes on -Wl,-G. The following line is correct:
13.14207 - shared_flag='-G'
13.14208 - else
13.14209 - if test "$aix_use_runtimelinking" = yes; then
13.14210 - shared_flag='${wl}-G'
13.14211 - else
13.14212 - shared_flag='${wl}-bM:SRE'
13.14213 - fi
13.14214 - fi
13.14215 - fi
13.14216 -
13.14217 - # It seems that -bexpall does not export symbols beginning with
13.14218 - # underscore (_), so it is better to generate a list of symbols to export.
13.14219 - always_export_symbols_F77=yes
13.14220 - if test "$aix_use_runtimelinking" = yes; then
13.14221 - # Warning - without using the other runtime loading flags (-brtl),
13.14222 - # -berok will link without error, but may produce a broken library.
13.14223 - allow_undefined_flag_F77='-berok'
13.14224 - # Determine the default libpath from the value encoded in an empty executable.
13.14225 - cat >conftest.$ac_ext <<_ACEOF
13.14226 - program main
13.14227 -
13.14228 - end
13.14229 -_ACEOF
13.14230 -rm -f conftest.$ac_objext conftest$ac_exeext
13.14231 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.14232 - (eval $ac_link) 2>conftest.er1
13.14233 - ac_status=$?
13.14234 - grep -v '^ *+' conftest.er1 >conftest.err
13.14235 - rm -f conftest.er1
13.14236 - cat conftest.err >&5
13.14237 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.14238 - (exit $ac_status); } &&
13.14239 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13.14240 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.14241 - (eval $ac_try) 2>&5
13.14242 - ac_status=$?
13.14243 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.14244 - (exit $ac_status); }; } &&
13.14245 - { ac_try='test -s conftest$ac_exeext'
13.14246 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.14247 - (eval $ac_try) 2>&5
13.14248 - ac_status=$?
13.14249 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.14250 - (exit $ac_status); }; }; then
13.14251 -
13.14252 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13.14253 -}'`
13.14254 -# Check for a 64-bit object if we didn't find anything.
13.14255 -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; }
13.14256 -}'`; fi
13.14257 -else
13.14258 - echo "$as_me: failed program was:" >&5
13.14259 -sed 's/^/| /' conftest.$ac_ext >&5
13.14260 -
13.14261 -fi
13.14262 -rm -f conftest.err conftest.$ac_objext \
13.14263 - conftest$ac_exeext conftest.$ac_ext
13.14264 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13.14265 -
13.14266 - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13.14267 - archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13.14268 - else
13.14269 - if test "$host_cpu" = ia64; then
13.14270 - hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13.14271 - allow_undefined_flag_F77="-z nodefs"
13.14272 - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
13.14273 - else
13.14274 - # Determine the default libpath from the value encoded in an empty executable.
13.14275 - cat >conftest.$ac_ext <<_ACEOF
13.14276 - program main
13.14277 -
13.14278 - end
13.14279 -_ACEOF
13.14280 -rm -f conftest.$ac_objext conftest$ac_exeext
13.14281 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.14282 - (eval $ac_link) 2>conftest.er1
13.14283 - ac_status=$?
13.14284 - grep -v '^ *+' conftest.er1 >conftest.err
13.14285 - rm -f conftest.er1
13.14286 - cat conftest.err >&5
13.14287 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.14288 - (exit $ac_status); } &&
13.14289 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13.14290 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.14291 - (eval $ac_try) 2>&5
13.14292 - ac_status=$?
13.14293 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.14294 - (exit $ac_status); }; } &&
13.14295 - { ac_try='test -s conftest$ac_exeext'
13.14296 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.14297 - (eval $ac_try) 2>&5
13.14298 - ac_status=$?
13.14299 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.14300 - (exit $ac_status); }; }; then
13.14301 -
13.14302 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13.14303 -}'`
13.14304 -# Check for a 64-bit object if we didn't find anything.
13.14305 -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; }
13.14306 -}'`; fi
13.14307 -else
13.14308 - echo "$as_me: failed program was:" >&5
13.14309 -sed 's/^/| /' conftest.$ac_ext >&5
13.14310 -
13.14311 -fi
13.14312 -rm -f conftest.err conftest.$ac_objext \
13.14313 - conftest$ac_exeext conftest.$ac_ext
13.14314 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13.14315 -
13.14316 - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13.14317 - # Warning - without using the other run time loading flags,
13.14318 - # -berok will link without error, but may produce a broken library.
13.14319 - no_undefined_flag_F77=' ${wl}-bernotok'
13.14320 - allow_undefined_flag_F77=' ${wl}-berok'
13.14321 - # -bexpall does not export symbols beginning with underscore (_)
13.14322 - always_export_symbols_F77=yes
13.14323 - # Exported symbols can be pulled into shared objects from archives
13.14324 - whole_archive_flag_spec_F77=' '
13.14325 - archive_cmds_need_lc_F77=yes
13.14326 - # This is similar to how AIX traditionally builds its shared libraries.
13.14327 - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13.14328 - fi
13.14329 - fi
13.14330 - ;;
13.14331 -
13.14332 - amigaos*)
13.14333 - archive_cmds_F77='$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)'
13.14334 - hardcode_libdir_flag_spec_F77='-L$libdir'
13.14335 - hardcode_minus_L_F77=yes
13.14336 - # see comment about different semantics on the GNU ld section
13.14337 - ld_shlibs_F77=no
13.14338 - ;;
13.14339 -
13.14340 - bsdi[45]*)
13.14341 - export_dynamic_flag_spec_F77=-rdynamic
13.14342 - ;;
13.14343 -
13.14344 - cygwin* | mingw* | pw32*)
13.14345 - # When not using gcc, we currently assume that we are using
13.14346 - # Microsoft Visual C++.
13.14347 - # hardcode_libdir_flag_spec is actually meaningless, as there is
13.14348 - # no search path for DLLs.
13.14349 - hardcode_libdir_flag_spec_F77=' '
13.14350 - allow_undefined_flag_F77=unsupported
13.14351 - # Tell ltmain to make .lib files, not .a files.
13.14352 - libext=lib
13.14353 - # Tell ltmain to make .dll files, not .so files.
13.14354 - shrext_cmds=".dll"
13.14355 - # FIXME: Setting linknames here is a bad hack.
13.14356 - archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13.14357 - # The linker will automatically build a .lib file if we build a DLL.
13.14358 - old_archive_From_new_cmds_F77='true'
13.14359 - # FIXME: Should let the user specify the lib program.
13.14360 - old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13.14361 - fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
13.14362 - enable_shared_with_static_runtimes_F77=yes
13.14363 - ;;
13.14364 -
13.14365 - darwin* | rhapsody*)
13.14366 - case $host_os in
13.14367 - rhapsody* | darwin1.[012])
13.14368 - allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
13.14369 - ;;
13.14370 - *) # Darwin 1.3 on
13.14371 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13.14372 - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13.14373 - else
13.14374 - case ${MACOSX_DEPLOYMENT_TARGET} in
13.14375 - 10.[012])
13.14376 - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13.14377 - ;;
13.14378 - 10.*)
13.14379 - allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
13.14380 - ;;
13.14381 - esac
13.14382 - fi
13.14383 - ;;
13.14384 - esac
13.14385 - archive_cmds_need_lc_F77=no
13.14386 - hardcode_direct_F77=no
13.14387 - hardcode_automatic_F77=yes
13.14388 - hardcode_shlibpath_var_F77=unsupported
13.14389 - whole_archive_flag_spec_F77=''
13.14390 - link_all_deplibs_F77=yes
13.14391 - if test "$GCC" = yes ; then
13.14392 - output_verbose_link_cmd='echo'
13.14393 - archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13.14394 - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13.14395 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13.14396 - archive_expsym_cmds_F77='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}'
13.14397 - module_expsym_cmds_F77='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}'
13.14398 - else
13.14399 - case $cc_basename in
13.14400 - xlc*)
13.14401 - output_verbose_link_cmd='echo'
13.14402 - archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
13.14403 - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13.14404 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13.14405 - archive_expsym_cmds_F77='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}'
13.14406 - module_expsym_cmds_F77='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}'
13.14407 - ;;
13.14408 - *)
13.14409 - ld_shlibs_F77=no
13.14410 - ;;
13.14411 - esac
13.14412 - fi
13.14413 - ;;
13.14414 -
13.14415 - dgux*)
13.14416 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.14417 - hardcode_libdir_flag_spec_F77='-L$libdir'
13.14418 - hardcode_shlibpath_var_F77=no
13.14419 - ;;
13.14420 -
13.14421 - freebsd1*)
13.14422 - ld_shlibs_F77=no
13.14423 - ;;
13.14424 -
13.14425 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13.14426 - # support. Future versions do this automatically, but an explicit c++rt0.o
13.14427 - # does not break anything, and helps significantly (at the cost of a little
13.14428 - # extra space).
13.14429 - freebsd2.2*)
13.14430 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13.14431 - hardcode_libdir_flag_spec_F77='-R$libdir'
13.14432 - hardcode_direct_F77=yes
13.14433 - hardcode_shlibpath_var_F77=no
13.14434 - ;;
13.14435 -
13.14436 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13.14437 - freebsd2*)
13.14438 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13.14439 - hardcode_direct_F77=yes
13.14440 - hardcode_minus_L_F77=yes
13.14441 - hardcode_shlibpath_var_F77=no
13.14442 - ;;
13.14443 -
13.14444 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13.14445 - freebsd* | kfreebsd*-gnu | dragonfly*)
13.14446 - archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13.14447 - hardcode_libdir_flag_spec_F77='-R$libdir'
13.14448 - hardcode_direct_F77=yes
13.14449 - hardcode_shlibpath_var_F77=no
13.14450 - ;;
13.14451 -
13.14452 - hpux9*)
13.14453 - if test "$GCC" = yes; then
13.14454 - archive_cmds_F77='$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'
13.14455 - else
13.14456 - archive_cmds_F77='$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'
13.14457 - fi
13.14458 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13.14459 - hardcode_libdir_separator_F77=:
13.14460 - hardcode_direct_F77=yes
13.14461 -
13.14462 - # hardcode_minus_L: Not really in the search PATH,
13.14463 - # but as the default location of the library.
13.14464 - hardcode_minus_L_F77=yes
13.14465 - export_dynamic_flag_spec_F77='${wl}-E'
13.14466 - ;;
13.14467 -
13.14468 - hpux10* | hpux11*)
13.14469 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13.14470 - case $host_cpu in
13.14471 - hppa*64*|ia64*)
13.14472 - archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13.14473 - ;;
13.14474 - *)
13.14475 - archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13.14476 - ;;
13.14477 - esac
13.14478 - else
13.14479 - case $host_cpu in
13.14480 - hppa*64*|ia64*)
13.14481 - archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13.14482 - ;;
13.14483 - *)
13.14484 - archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13.14485 - ;;
13.14486 - esac
13.14487 - fi
13.14488 - if test "$with_gnu_ld" = no; then
13.14489 - case $host_cpu in
13.14490 - hppa*64*)
13.14491 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13.14492 - hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13.14493 - hardcode_libdir_separator_F77=:
13.14494 - hardcode_direct_F77=no
13.14495 - hardcode_shlibpath_var_F77=no
13.14496 - ;;
13.14497 - ia64*)
13.14498 - hardcode_libdir_flag_spec_F77='-L$libdir'
13.14499 - hardcode_direct_F77=no
13.14500 - hardcode_shlibpath_var_F77=no
13.14501 -
13.14502 - # hardcode_minus_L: Not really in the search PATH,
13.14503 - # but as the default location of the library.
13.14504 - hardcode_minus_L_F77=yes
13.14505 - ;;
13.14506 - *)
13.14507 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13.14508 - hardcode_libdir_separator_F77=:
13.14509 - hardcode_direct_F77=yes
13.14510 - export_dynamic_flag_spec_F77='${wl}-E'
13.14511 -
13.14512 - # hardcode_minus_L: Not really in the search PATH,
13.14513 - # but as the default location of the library.
13.14514 - hardcode_minus_L_F77=yes
13.14515 - ;;
13.14516 - esac
13.14517 - fi
13.14518 - ;;
13.14519 -
13.14520 - irix5* | irix6* | nonstopux*)
13.14521 - if test "$GCC" = yes; then
13.14522 - archive_cmds_F77='$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'
13.14523 - else
13.14524 - archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13.14525 - hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13.14526 - fi
13.14527 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13.14528 - hardcode_libdir_separator_F77=:
13.14529 - link_all_deplibs_F77=yes
13.14530 - ;;
13.14531 -
13.14532 - netbsd*)
13.14533 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13.14534 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13.14535 - else
13.14536 - archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13.14537 - fi
13.14538 - hardcode_libdir_flag_spec_F77='-R$libdir'
13.14539 - hardcode_direct_F77=yes
13.14540 - hardcode_shlibpath_var_F77=no
13.14541 - ;;
13.14542 -
13.14543 - newsos6)
13.14544 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.14545 - hardcode_direct_F77=yes
13.14546 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13.14547 - hardcode_libdir_separator_F77=:
13.14548 - hardcode_shlibpath_var_F77=no
13.14549 - ;;
13.14550 -
13.14551 - openbsd*)
13.14552 - hardcode_direct_F77=yes
13.14553 - hardcode_shlibpath_var_F77=no
13.14554 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13.14555 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13.14556 - archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13.14557 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13.14558 - export_dynamic_flag_spec_F77='${wl}-E'
13.14559 - else
13.14560 - case $host_os in
13.14561 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13.14562 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13.14563 - hardcode_libdir_flag_spec_F77='-R$libdir'
13.14564 - ;;
13.14565 - *)
13.14566 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13.14567 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13.14568 - ;;
13.14569 - esac
13.14570 - fi
13.14571 - ;;
13.14572 -
13.14573 - os2*)
13.14574 - hardcode_libdir_flag_spec_F77='-L$libdir'
13.14575 - hardcode_minus_L_F77=yes
13.14576 - allow_undefined_flag_F77=unsupported
13.14577 - archive_cmds_F77='$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'
13.14578 - old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13.14579 - ;;
13.14580 -
13.14581 - osf3*)
13.14582 - if test "$GCC" = yes; then
13.14583 - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13.14584 - archive_cmds_F77='$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'
13.14585 - else
13.14586 - allow_undefined_flag_F77=' -expect_unresolved \*'
13.14587 - archive_cmds_F77='$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'
13.14588 - fi
13.14589 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13.14590 - hardcode_libdir_separator_F77=:
13.14591 - ;;
13.14592 -
13.14593 - osf4* | osf5*) # as osf3* with the addition of -msym flag
13.14594 - if test "$GCC" = yes; then
13.14595 - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13.14596 - archive_cmds_F77='$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'
13.14597 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13.14598 - else
13.14599 - allow_undefined_flag_F77=' -expect_unresolved \*'
13.14600 - archive_cmds_F77='$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'
13.14601 - archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
13.14602 - $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'
13.14603 -
13.14604 - # Both c and cxx compiler support -rpath directly
13.14605 - hardcode_libdir_flag_spec_F77='-rpath $libdir'
13.14606 - fi
13.14607 - hardcode_libdir_separator_F77=:
13.14608 - ;;
13.14609 -
13.14610 - sco3.2v5*)
13.14611 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.14612 - hardcode_shlibpath_var_F77=no
13.14613 - export_dynamic_flag_spec_F77='${wl}-Bexport'
13.14614 - runpath_var=LD_RUN_PATH
13.14615 - hardcode_runpath_var=yes
13.14616 - ;;
13.14617 -
13.14618 - solaris*)
13.14619 - no_undefined_flag_F77=' -z text'
13.14620 - if test "$GCC" = yes; then
13.14621 - wlarc='${wl}'
13.14622 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13.14623 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13.14624 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13.14625 - else
13.14626 - wlarc=''
13.14627 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.14628 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13.14629 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13.14630 - fi
13.14631 - hardcode_libdir_flag_spec_F77='-R$libdir'
13.14632 - hardcode_shlibpath_var_F77=no
13.14633 - case $host_os in
13.14634 - solaris2.[0-5] | solaris2.[0-5].*) ;;
13.14635 - *)
13.14636 - # The compiler driver will combine linker options so we
13.14637 - # cannot just pass the convience library names through
13.14638 - # without $wl, iff we do not link with $LD.
13.14639 - # Luckily, gcc supports the same syntax we need for Sun Studio.
13.14640 - # Supported since Solaris 2.6 (maybe 2.5.1?)
13.14641 - case $wlarc in
13.14642 - '')
13.14643 - whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13.14644 - *)
13.14645 - whole_archive_flag_spec_F77='${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' ;;
13.14646 - esac ;;
13.14647 - esac
13.14648 - link_all_deplibs_F77=yes
13.14649 - ;;
13.14650 -
13.14651 - sunos4*)
13.14652 - if test "x$host_vendor" = xsequent; then
13.14653 - # Use $CC to link under sequent, because it throws in some extra .o
13.14654 - # files that make .init and .fini sections work.
13.14655 - archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13.14656 - else
13.14657 - archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13.14658 - fi
13.14659 - hardcode_libdir_flag_spec_F77='-L$libdir'
13.14660 - hardcode_direct_F77=yes
13.14661 - hardcode_minus_L_F77=yes
13.14662 - hardcode_shlibpath_var_F77=no
13.14663 - ;;
13.14664 -
13.14665 - sysv4)
13.14666 - case $host_vendor in
13.14667 - sni)
13.14668 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.14669 - hardcode_direct_F77=yes # is this really true???
13.14670 - ;;
13.14671 - siemens)
13.14672 - ## LD is ld it makes a PLAMLIB
13.14673 - ## CC just makes a GrossModule.
13.14674 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13.14675 - reload_cmds_F77='$CC -r -o $output$reload_objs'
13.14676 - hardcode_direct_F77=no
13.14677 - ;;
13.14678 - motorola)
13.14679 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.14680 - hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13.14681 - ;;
13.14682 - esac
13.14683 - runpath_var='LD_RUN_PATH'
13.14684 - hardcode_shlibpath_var_F77=no
13.14685 - ;;
13.14686 -
13.14687 - sysv4.3*)
13.14688 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.14689 - hardcode_shlibpath_var_F77=no
13.14690 - export_dynamic_flag_spec_F77='-Bexport'
13.14691 - ;;
13.14692 -
13.14693 - sysv4*MP*)
13.14694 - if test -d /usr/nec; then
13.14695 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.14696 - hardcode_shlibpath_var_F77=no
13.14697 - runpath_var=LD_RUN_PATH
13.14698 - hardcode_runpath_var=yes
13.14699 - ld_shlibs_F77=yes
13.14700 - fi
13.14701 - ;;
13.14702 -
13.14703 - sysv4.2uw2*)
13.14704 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13.14705 - hardcode_direct_F77=yes
13.14706 - hardcode_minus_L_F77=no
13.14707 - hardcode_shlibpath_var_F77=no
13.14708 - hardcode_runpath_var=yes
13.14709 - runpath_var=LD_RUN_PATH
13.14710 - ;;
13.14711 -
13.14712 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13.14713 - no_undefined_flag_F77='${wl}-z ${wl}text'
13.14714 - if test "$GCC" = yes; then
13.14715 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13.14716 - else
13.14717 - archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13.14718 - fi
13.14719 - runpath_var='LD_RUN_PATH'
13.14720 - hardcode_shlibpath_var_F77=no
13.14721 - ;;
13.14722 -
13.14723 - sysv5*)
13.14724 - no_undefined_flag_F77=' -z text'
13.14725 - # $CC -shared without GNU ld will not create a library from C++
13.14726 - # object files and a static libstdc++, better avoid it by now
13.14727 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.14728 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13.14729 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13.14730 - hardcode_libdir_flag_spec_F77=
13.14731 - hardcode_shlibpath_var_F77=no
13.14732 - runpath_var='LD_RUN_PATH'
13.14733 - ;;
13.14734 -
13.14735 - uts4*)
13.14736 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.14737 - hardcode_libdir_flag_spec_F77='-L$libdir'
13.14738 - hardcode_shlibpath_var_F77=no
13.14739 - ;;
13.14740 -
13.14741 - *)
13.14742 - ld_shlibs_F77=no
13.14743 - ;;
13.14744 - esac
13.14745 - fi
13.14746 -
13.14747 -echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13.14748 -echo "${ECHO_T}$ld_shlibs_F77" >&6
13.14749 -test "$ld_shlibs_F77" = no && can_build_shared=no
13.14750 -
13.14751 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13.14752 -if test "$GCC" = yes; then
13.14753 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13.14754 -fi
13.14755 -
13.14756 -#
13.14757 -# Do we need to explicitly link libc?
13.14758 -#
13.14759 -case "x$archive_cmds_need_lc_F77" in
13.14760 -x|xyes)
13.14761 - # Assume -lc should be added
13.14762 - archive_cmds_need_lc_F77=yes
13.14763 -
13.14764 - if test "$enable_shared" = yes && test "$GCC" = yes; then
13.14765 - case $archive_cmds_F77 in
13.14766 - *'~'*)
13.14767 - # FIXME: we may have to deal with multi-command sequences.
13.14768 - ;;
13.14769 - '$CC '*)
13.14770 - # Test whether the compiler implicitly links with -lc since on some
13.14771 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
13.14772 - # to ld, don't add -lc before -lgcc.
13.14773 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13.14774 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13.14775 - $rm conftest*
13.14776 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13.14777 -
13.14778 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.14779 - (eval $ac_compile) 2>&5
13.14780 - ac_status=$?
13.14781 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.14782 - (exit $ac_status); } 2>conftest.err; then
13.14783 - soname=conftest
13.14784 - lib=conftest
13.14785 - libobjs=conftest.$ac_objext
13.14786 - deplibs=
13.14787 - wl=$lt_prog_compiler_wl_F77
13.14788 - compiler_flags=-v
13.14789 - linker_flags=-v
13.14790 - verstring=
13.14791 - output_objdir=.
13.14792 - libname=conftest
13.14793 - lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13.14794 - allow_undefined_flag_F77=
13.14795 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13.14796 - (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13.14797 - ac_status=$?
13.14798 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.14799 - (exit $ac_status); }
13.14800 - then
13.14801 - archive_cmds_need_lc_F77=no
13.14802 - else
13.14803 - archive_cmds_need_lc_F77=yes
13.14804 - fi
13.14805 - allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13.14806 - else
13.14807 - cat conftest.err 1>&5
13.14808 - fi
13.14809 - $rm conftest*
13.14810 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13.14811 -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13.14812 - ;;
13.14813 - esac
13.14814 - fi
13.14815 - ;;
13.14816 -esac
13.14817 -
13.14818 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13.14819 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13.14820 -library_names_spec=
13.14821 -libname_spec='lib$name'
13.14822 -soname_spec=
13.14823 -shrext_cmds=".so"
13.14824 -postinstall_cmds=
13.14825 -postuninstall_cmds=
13.14826 -finish_cmds=
13.14827 -finish_eval=
13.14828 -shlibpath_var=
13.14829 -shlibpath_overrides_runpath=unknown
13.14830 -version_type=none
13.14831 -dynamic_linker="$host_os ld.so"
13.14832 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
13.14833 -if test "$GCC" = yes; then
13.14834 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13.14835 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
13.14836 - # if the path contains ";" then we assume it to be the separator
13.14837 - # otherwise default to the standard path separator (i.e. ":") - it is
13.14838 - # assumed that no part of a normal pathname contains ";" but that should
13.14839 - # okay in the real world where ";" in dirpaths is itself problematic.
13.14840 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13.14841 - else
13.14842 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13.14843 - fi
13.14844 -else
13.14845 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13.14846 -fi
13.14847 -need_lib_prefix=unknown
13.14848 -hardcode_into_libs=no
13.14849 -
13.14850 -# when you set need_version to no, make sure it does not cause -set_version
13.14851 -# flags to be left without arguments
13.14852 -need_version=unknown
13.14853 -
13.14854 -case $host_os in
13.14855 -aix3*)
13.14856 - version_type=linux
13.14857 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13.14858 - shlibpath_var=LIBPATH
13.14859 -
13.14860 - # AIX 3 has no versioning support, so we append a major version to the name.
13.14861 - soname_spec='${libname}${release}${shared_ext}$major'
13.14862 - ;;
13.14863 -
13.14864 -aix4* | aix5*)
13.14865 - version_type=linux
13.14866 - need_lib_prefix=no
13.14867 - need_version=no
13.14868 - hardcode_into_libs=yes
13.14869 - if test "$host_cpu" = ia64; then
13.14870 - # AIX 5 supports IA64
13.14871 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13.14872 - shlibpath_var=LD_LIBRARY_PATH
13.14873 - else
13.14874 - # With GCC up to 2.95.x, collect2 would create an import file
13.14875 - # for dependence libraries. The import file would start with
13.14876 - # the line `#! .'. This would cause the generated library to
13.14877 - # depend on `.', always an invalid library. This was fixed in
13.14878 - # development snapshots of GCC prior to 3.0.
13.14879 - case $host_os in
13.14880 - aix4 | aix4.[01] | aix4.[01].*)
13.14881 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13.14882 - echo ' yes '
13.14883 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13.14884 - :
13.14885 - else
13.14886 - can_build_shared=no
13.14887 - fi
13.14888 - ;;
13.14889 - esac
13.14890 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13.14891 - # soname into executable. Probably we can add versioning support to
13.14892 - # collect2, so additional links can be useful in future.
13.14893 - if test "$aix_use_runtimelinking" = yes; then
13.14894 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13.14895 - # instead of lib<name>.a to let people know that these are not
13.14896 - # typical AIX shared libraries.
13.14897 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.14898 - else
13.14899 - # We preserve .a as extension for shared libraries through AIX4.2
13.14900 - # and later when we are not doing run time linking.
13.14901 - library_names_spec='${libname}${release}.a $libname.a'
13.14902 - soname_spec='${libname}${release}${shared_ext}$major'
13.14903 - fi
13.14904 - shlibpath_var=LIBPATH
13.14905 - fi
13.14906 - ;;
13.14907 -
13.14908 -amigaos*)
13.14909 - library_names_spec='$libname.ixlibrary $libname.a'
13.14910 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
13.14911 - 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'
13.14912 - ;;
13.14913 -
13.14914 -beos*)
13.14915 - library_names_spec='${libname}${shared_ext}'
13.14916 - dynamic_linker="$host_os ld.so"
13.14917 - shlibpath_var=LIBRARY_PATH
13.14918 - ;;
13.14919 -
13.14920 -bsdi[45]*)
13.14921 - version_type=linux
13.14922 - need_version=no
13.14923 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.14924 - soname_spec='${libname}${release}${shared_ext}$major'
13.14925 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13.14926 - shlibpath_var=LD_LIBRARY_PATH
13.14927 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13.14928 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13.14929 - # the default ld.so.conf also contains /usr/contrib/lib and
13.14930 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13.14931 - # libtool to hard-code these into programs
13.14932 - ;;
13.14933 -
13.14934 -cygwin* | mingw* | pw32*)
13.14935 - version_type=windows
13.14936 - shrext_cmds=".dll"
13.14937 - need_version=no
13.14938 - need_lib_prefix=no
13.14939 -
13.14940 - case $GCC,$host_os in
13.14941 - yes,cygwin* | yes,mingw* | yes,pw32*)
13.14942 - library_names_spec='$libname.dll.a'
13.14943 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
13.14944 - postinstall_cmds='base_file=`basename \${file}`~
13.14945 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13.14946 - dldir=$destdir/`dirname \$dlpath`~
13.14947 - test -d \$dldir || mkdir -p \$dldir~
13.14948 - $install_prog $dir/$dlname \$dldir/$dlname~
13.14949 - chmod a+x \$dldir/$dlname'
13.14950 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13.14951 - dlpath=$dir/\$dldll~
13.14952 - $rm \$dlpath'
13.14953 - shlibpath_overrides_runpath=yes
13.14954 -
13.14955 - case $host_os in
13.14956 - cygwin*)
13.14957 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13.14958 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13.14959 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13.14960 - ;;
13.14961 - mingw*)
13.14962 - # MinGW DLLs use traditional 'lib' prefix
13.14963 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13.14964 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13.14965 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13.14966 - # It is most probably a Windows format PATH printed by
13.14967 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
13.14968 - # path with ; separators, and with drive letters. We can handle the
13.14969 - # drive letters (cygwin fileutils understands them), so leave them,
13.14970 - # especially as we might pass files found there to a mingw objdump,
13.14971 - # which wouldn't understand a cygwinified path. Ahh.
13.14972 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13.14973 - else
13.14974 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13.14975 - fi
13.14976 - ;;
13.14977 - pw32*)
13.14978 - # pw32 DLLs use 'pw' prefix rather than 'lib'
13.14979 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13.14980 - ;;
13.14981 - esac
13.14982 - ;;
13.14983 -
13.14984 - *)
13.14985 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13.14986 - ;;
13.14987 - esac
13.14988 - dynamic_linker='Win32 ld.exe'
13.14989 - # FIXME: first we should search . and the directory the executable is in
13.14990 - shlibpath_var=PATH
13.14991 - ;;
13.14992 -
13.14993 -darwin* | rhapsody*)
13.14994 - dynamic_linker="$host_os dyld"
13.14995 - version_type=darwin
13.14996 - need_lib_prefix=no
13.14997 - need_version=no
13.14998 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13.14999 - soname_spec='${libname}${release}${major}$shared_ext'
13.15000 - shlibpath_overrides_runpath=yes
13.15001 - shlibpath_var=DYLD_LIBRARY_PATH
13.15002 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13.15003 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13.15004 - if test "$GCC" = yes; then
13.15005 - 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"`
13.15006 - else
13.15007 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
13.15008 - fi
13.15009 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13.15010 - ;;
13.15011 -
13.15012 -dgux*)
13.15013 - version_type=linux
13.15014 - need_lib_prefix=no
13.15015 - need_version=no
13.15016 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13.15017 - soname_spec='${libname}${release}${shared_ext}$major'
13.15018 - shlibpath_var=LD_LIBRARY_PATH
13.15019 - ;;
13.15020 -
13.15021 -freebsd1*)
13.15022 - dynamic_linker=no
13.15023 - ;;
13.15024 -
13.15025 -kfreebsd*-gnu)
13.15026 - version_type=linux
13.15027 - need_lib_prefix=no
13.15028 - need_version=no
13.15029 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13.15030 - soname_spec='${libname}${release}${shared_ext}$major'
13.15031 - shlibpath_var=LD_LIBRARY_PATH
13.15032 - shlibpath_overrides_runpath=no
13.15033 - hardcode_into_libs=yes
13.15034 - dynamic_linker='GNU ld.so'
13.15035 - ;;
13.15036 -
13.15037 -freebsd* | dragonfly*)
13.15038 - # DragonFly does not have aout. When/if they implement a new
13.15039 - # versioning mechanism, adjust this.
13.15040 - if test -x /usr/bin/objformat; then
13.15041 - objformat=`/usr/bin/objformat`
13.15042 - else
13.15043 - case $host_os in
13.15044 - freebsd[123]*) objformat=aout ;;
13.15045 - *) objformat=elf ;;
13.15046 - esac
13.15047 - fi
13.15048 - version_type=freebsd-$objformat
13.15049 - case $version_type in
13.15050 - freebsd-elf*)
13.15051 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13.15052 - need_version=no
13.15053 - need_lib_prefix=no
13.15054 - ;;
13.15055 - freebsd-*)
13.15056 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13.15057 - need_version=yes
13.15058 - ;;
13.15059 - esac
13.15060 - shlibpath_var=LD_LIBRARY_PATH
13.15061 - case $host_os in
13.15062 - freebsd2*)
13.15063 - shlibpath_overrides_runpath=yes
13.15064 - ;;
13.15065 - freebsd3.[01]* | freebsdelf3.[01]*)
13.15066 - shlibpath_overrides_runpath=yes
13.15067 - hardcode_into_libs=yes
13.15068 - ;;
13.15069 - *) # from 3.2 on
13.15070 - shlibpath_overrides_runpath=no
13.15071 - hardcode_into_libs=yes
13.15072 - ;;
13.15073 - esac
13.15074 - ;;
13.15075 -
13.15076 -gnu*)
13.15077 - version_type=linux
13.15078 - need_lib_prefix=no
13.15079 - need_version=no
13.15080 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13.15081 - soname_spec='${libname}${release}${shared_ext}$major'
13.15082 - shlibpath_var=LD_LIBRARY_PATH
13.15083 - hardcode_into_libs=yes
13.15084 - ;;
13.15085 -
13.15086 -hpux9* | hpux10* | hpux11*)
13.15087 - # Give a soname corresponding to the major version so that dld.sl refuses to
13.15088 - # link against other versions.
13.15089 - version_type=sunos
13.15090 - need_lib_prefix=no
13.15091 - need_version=no
13.15092 - case $host_cpu in
13.15093 - ia64*)
13.15094 - shrext_cmds='.so'
13.15095 - hardcode_into_libs=yes
13.15096 - dynamic_linker="$host_os dld.so"
13.15097 - shlibpath_var=LD_LIBRARY_PATH
13.15098 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13.15099 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.15100 - soname_spec='${libname}${release}${shared_ext}$major'
13.15101 - if test "X$HPUX_IA64_MODE" = X32; then
13.15102 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13.15103 - else
13.15104 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13.15105 - fi
13.15106 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13.15107 - ;;
13.15108 - hppa*64*)
13.15109 - shrext_cmds='.sl'
13.15110 - hardcode_into_libs=yes
13.15111 - dynamic_linker="$host_os dld.sl"
13.15112 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13.15113 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13.15114 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.15115 - soname_spec='${libname}${release}${shared_ext}$major'
13.15116 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13.15117 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13.15118 - ;;
13.15119 - *)
13.15120 - shrext_cmds='.sl'
13.15121 - dynamic_linker="$host_os dld.sl"
13.15122 - shlibpath_var=SHLIB_PATH
13.15123 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13.15124 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.15125 - soname_spec='${libname}${release}${shared_ext}$major'
13.15126 - ;;
13.15127 - esac
13.15128 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
13.15129 - postinstall_cmds='chmod 555 $lib'
13.15130 - ;;
13.15131 -
13.15132 -irix5* | irix6* | nonstopux*)
13.15133 - case $host_os in
13.15134 - nonstopux*) version_type=nonstopux ;;
13.15135 - *)
13.15136 - if test "$lt_cv_prog_gnu_ld" = yes; then
13.15137 - version_type=linux
13.15138 - else
13.15139 - version_type=irix
13.15140 - fi ;;
13.15141 - esac
13.15142 - need_lib_prefix=no
13.15143 - need_version=no
13.15144 - soname_spec='${libname}${release}${shared_ext}$major'
13.15145 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13.15146 - case $host_os in
13.15147 - irix5* | nonstopux*)
13.15148 - libsuff= shlibsuff=
13.15149 - ;;
13.15150 - *)
13.15151 - case $LD in # libtool.m4 will add one of these switches to LD
13.15152 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13.15153 - libsuff= shlibsuff= libmagic=32-bit;;
13.15154 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13.15155 - libsuff=32 shlibsuff=N32 libmagic=N32;;
13.15156 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13.15157 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
13.15158 - *) libsuff= shlibsuff= libmagic=never-match;;
13.15159 - esac
13.15160 - ;;
13.15161 - esac
13.15162 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13.15163 - shlibpath_overrides_runpath=no
13.15164 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13.15165 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13.15166 - hardcode_into_libs=yes
13.15167 - ;;
13.15168 -
13.15169 -# No shared lib support for Linux oldld, aout, or coff.
13.15170 -linux*oldld* | linux*aout* | linux*coff*)
13.15171 - dynamic_linker=no
13.15172 - ;;
13.15173 -
13.15174 -# This must be Linux ELF.
13.15175 -linux*)
13.15176 - version_type=linux
13.15177 - need_lib_prefix=no
13.15178 - need_version=no
13.15179 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.15180 - soname_spec='${libname}${release}${shared_ext}$major'
13.15181 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13.15182 - shlibpath_var=LD_LIBRARY_PATH
13.15183 - shlibpath_overrides_runpath=no
13.15184 - # This implies no fast_install, which is unacceptable.
13.15185 - # Some rework will be needed to allow for fast_install
13.15186 - # before this can be enabled.
13.15187 - hardcode_into_libs=yes
13.15188 -
13.15189 - # Append ld.so.conf contents to the search path
13.15190 - if test -f /etc/ld.so.conf; then
13.15191 - 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' ' '`
13.15192 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13.15193 - fi
13.15194 -
13.15195 - # We used to test for /lib/ld.so.1 and disable shared libraries on
13.15196 - # powerpc, because MkLinux only supported shared libraries with the
13.15197 - # GNU dynamic linker. Since this was broken with cross compilers,
13.15198 - # most powerpc-linux boxes support dynamic linking these days and
13.15199 - # people can always --disable-shared, the test was removed, and we
13.15200 - # assume the GNU/Linux dynamic linker is in use.
13.15201 - dynamic_linker='GNU/Linux ld.so'
13.15202 - ;;
13.15203 -
13.15204 -knetbsd*-gnu)
13.15205 - version_type=linux
13.15206 - need_lib_prefix=no
13.15207 - need_version=no
13.15208 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13.15209 - soname_spec='${libname}${release}${shared_ext}$major'
13.15210 - shlibpath_var=LD_LIBRARY_PATH
13.15211 - shlibpath_overrides_runpath=no
13.15212 - hardcode_into_libs=yes
13.15213 - dynamic_linker='GNU ld.so'
13.15214 - ;;
13.15215 -
13.15216 -netbsd*)
13.15217 - version_type=sunos
13.15218 - need_lib_prefix=no
13.15219 - need_version=no
13.15220 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13.15221 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13.15222 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13.15223 - dynamic_linker='NetBSD (a.out) ld.so'
13.15224 - else
13.15225 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13.15226 - soname_spec='${libname}${release}${shared_ext}$major'
13.15227 - dynamic_linker='NetBSD ld.elf_so'
13.15228 - fi
13.15229 - shlibpath_var=LD_LIBRARY_PATH
13.15230 - shlibpath_overrides_runpath=yes
13.15231 - hardcode_into_libs=yes
13.15232 - ;;
13.15233 -
13.15234 -newsos6)
13.15235 - version_type=linux
13.15236 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.15237 - shlibpath_var=LD_LIBRARY_PATH
13.15238 - shlibpath_overrides_runpath=yes
13.15239 - ;;
13.15240 -
13.15241 -nto-qnx*)
13.15242 - version_type=linux
13.15243 - need_lib_prefix=no
13.15244 - need_version=no
13.15245 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.15246 - soname_spec='${libname}${release}${shared_ext}$major'
13.15247 - shlibpath_var=LD_LIBRARY_PATH
13.15248 - shlibpath_overrides_runpath=yes
13.15249 - ;;
13.15250 -
13.15251 -openbsd*)
13.15252 - version_type=sunos
13.15253 - need_lib_prefix=no
13.15254 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13.15255 - case $host_os in
13.15256 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13.15257 - *) need_version=no ;;
13.15258 - esac
13.15259 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13.15260 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13.15261 - shlibpath_var=LD_LIBRARY_PATH
13.15262 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13.15263 - case $host_os in
13.15264 - openbsd2.[89] | openbsd2.[89].*)
13.15265 - shlibpath_overrides_runpath=no
13.15266 - ;;
13.15267 - *)
13.15268 - shlibpath_overrides_runpath=yes
13.15269 - ;;
13.15270 - esac
13.15271 - else
13.15272 - shlibpath_overrides_runpath=yes
13.15273 - fi
13.15274 - ;;
13.15275 -
13.15276 -os2*)
13.15277 - libname_spec='$name'
13.15278 - shrext_cmds=".dll"
13.15279 - need_lib_prefix=no
13.15280 - library_names_spec='$libname${shared_ext} $libname.a'
13.15281 - dynamic_linker='OS/2 ld.exe'
13.15282 - shlibpath_var=LIBPATH
13.15283 - ;;
13.15284 -
13.15285 -osf3* | osf4* | osf5*)
13.15286 - version_type=osf
13.15287 - need_lib_prefix=no
13.15288 - need_version=no
13.15289 - soname_spec='${libname}${release}${shared_ext}$major'
13.15290 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.15291 - shlibpath_var=LD_LIBRARY_PATH
13.15292 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13.15293 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13.15294 - ;;
13.15295 -
13.15296 -sco3.2v5*)
13.15297 - version_type=osf
13.15298 - soname_spec='${libname}${release}${shared_ext}$major'
13.15299 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.15300 - shlibpath_var=LD_LIBRARY_PATH
13.15301 - ;;
13.15302 -
13.15303 -solaris*)
13.15304 - version_type=linux
13.15305 - need_lib_prefix=no
13.15306 - need_version=no
13.15307 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.15308 - soname_spec='${libname}${release}${shared_ext}$major'
13.15309 - shlibpath_var=LD_LIBRARY_PATH
13.15310 - shlibpath_overrides_runpath=yes
13.15311 - hardcode_into_libs=yes
13.15312 - # ldd complains unless libraries are executable
13.15313 - postinstall_cmds='chmod +x $lib'
13.15314 - ;;
13.15315 -
13.15316 -sunos4*)
13.15317 - version_type=sunos
13.15318 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13.15319 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13.15320 - shlibpath_var=LD_LIBRARY_PATH
13.15321 - shlibpath_overrides_runpath=yes
13.15322 - if test "$with_gnu_ld" = yes; then
13.15323 - need_lib_prefix=no
13.15324 - fi
13.15325 - need_version=yes
13.15326 - ;;
13.15327 -
13.15328 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13.15329 - version_type=linux
13.15330 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.15331 - soname_spec='${libname}${release}${shared_ext}$major'
13.15332 - shlibpath_var=LD_LIBRARY_PATH
13.15333 - case $host_vendor in
13.15334 - sni)
13.15335 - shlibpath_overrides_runpath=no
13.15336 - need_lib_prefix=no
13.15337 - export_dynamic_flag_spec='${wl}-Blargedynsym'
13.15338 - runpath_var=LD_RUN_PATH
13.15339 - ;;
13.15340 - siemens)
13.15341 - need_lib_prefix=no
13.15342 - ;;
13.15343 - motorola)
13.15344 - need_lib_prefix=no
13.15345 - need_version=no
13.15346 - shlibpath_overrides_runpath=no
13.15347 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13.15348 - ;;
13.15349 - esac
13.15350 - ;;
13.15351 -
13.15352 -sysv4*MP*)
13.15353 - if test -d /usr/nec ;then
13.15354 - version_type=linux
13.15355 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13.15356 - soname_spec='$libname${shared_ext}.$major'
13.15357 - shlibpath_var=LD_LIBRARY_PATH
13.15358 - fi
13.15359 - ;;
13.15360 -
13.15361 -uts4*)
13.15362 - version_type=linux
13.15363 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.15364 - soname_spec='${libname}${release}${shared_ext}$major'
13.15365 - shlibpath_var=LD_LIBRARY_PATH
13.15366 - ;;
13.15367 -
13.15368 -*)
13.15369 - dynamic_linker=no
13.15370 - ;;
13.15371 -esac
13.15372 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13.15373 -echo "${ECHO_T}$dynamic_linker" >&6
13.15374 -test "$dynamic_linker" = no && can_build_shared=no
13.15375 -
13.15376 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13.15377 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13.15378 -hardcode_action_F77=
13.15379 -if test -n "$hardcode_libdir_flag_spec_F77" || \
13.15380 - test -n "$runpath_var_F77" || \
13.15381 - test "X$hardcode_automatic_F77" = "Xyes" ; then
13.15382 -
13.15383 - # We can hardcode non-existant directories.
13.15384 - if test "$hardcode_direct_F77" != no &&
13.15385 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
13.15386 - # have to relink, otherwise we might link with an installed library
13.15387 - # when we should be linking with a yet-to-be-installed one
13.15388 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
13.15389 - test "$hardcode_minus_L_F77" != no; then
13.15390 - # Linking always hardcodes the temporary library directory.
13.15391 - hardcode_action_F77=relink
13.15392 - else
13.15393 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
13.15394 - hardcode_action_F77=immediate
13.15395 - fi
13.15396 -else
13.15397 - # We cannot hardcode anything, or else we can only hardcode existing
13.15398 - # directories.
13.15399 - hardcode_action_F77=unsupported
13.15400 -fi
13.15401 -echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
13.15402 -echo "${ECHO_T}$hardcode_action_F77" >&6
13.15403 -
13.15404 -if test "$hardcode_action_F77" = relink; then
13.15405 - # Fast installation is not supported
13.15406 - enable_fast_install=no
13.15407 -elif test "$shlibpath_overrides_runpath" = yes ||
13.15408 - test "$enable_shared" = no; then
13.15409 - # Fast installation is not necessary
13.15410 - enable_fast_install=needless
13.15411 -fi
13.15412 -
13.15413 -striplib=
13.15414 -old_striplib=
13.15415 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13.15416 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
13.15417 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
13.15418 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13.15419 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13.15420 - echo "$as_me:$LINENO: result: yes" >&5
13.15421 -echo "${ECHO_T}yes" >&6
13.15422 -else
13.15423 -# FIXME - insert some real tests, host_os isn't really good enough
13.15424 - case $host_os in
13.15425 - darwin*)
13.15426 - if test -n "$STRIP" ; then
13.15427 - striplib="$STRIP -x"
13.15428 - echo "$as_me:$LINENO: result: yes" >&5
13.15429 -echo "${ECHO_T}yes" >&6
13.15430 - else
13.15431 - echo "$as_me:$LINENO: result: no" >&5
13.15432 -echo "${ECHO_T}no" >&6
13.15433 -fi
13.15434 - ;;
13.15435 - *)
13.15436 - echo "$as_me:$LINENO: result: no" >&5
13.15437 -echo "${ECHO_T}no" >&6
13.15438 - ;;
13.15439 - esac
13.15440 -fi
13.15441 -
13.15442 -
13.15443 -
13.15444 -# The else clause should only fire when bootstrapping the
13.15445 -# libtool distribution, otherwise you forgot to ship ltmain.sh
13.15446 -# with your package, and you will get complaints that there are
13.15447 -# no rules to generate ltmain.sh.
13.15448 -if test -f "$ltmain"; then
13.15449 - # See if we are running on zsh, and set the options which allow our commands through
13.15450 - # without removal of \ escapes.
13.15451 - if test -n "${ZSH_VERSION+set}" ; then
13.15452 - setopt NO_GLOB_SUBST
13.15453 - fi
13.15454 - # Now quote all the things that may contain metacharacters while being
13.15455 - # careful not to overquote the AC_SUBSTed values. We take copies of the
13.15456 - # variables and quote the copies for generation of the libtool script.
13.15457 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
13.15458 - SED SHELL STRIP \
13.15459 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13.15460 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13.15461 - deplibs_check_method reload_flag reload_cmds need_locks \
13.15462 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13.15463 - lt_cv_sys_global_symbol_to_c_name_address \
13.15464 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13.15465 - old_postinstall_cmds old_postuninstall_cmds \
13.15466 - compiler_F77 \
13.15467 - CC_F77 \
13.15468 - LD_F77 \
13.15469 - lt_prog_compiler_wl_F77 \
13.15470 - lt_prog_compiler_pic_F77 \
13.15471 - lt_prog_compiler_static_F77 \
13.15472 - lt_prog_compiler_no_builtin_flag_F77 \
13.15473 - export_dynamic_flag_spec_F77 \
13.15474 - thread_safe_flag_spec_F77 \
13.15475 - whole_archive_flag_spec_F77 \
13.15476 - enable_shared_with_static_runtimes_F77 \
13.15477 - old_archive_cmds_F77 \
13.15478 - old_archive_from_new_cmds_F77 \
13.15479 - predep_objects_F77 \
13.15480 - postdep_objects_F77 \
13.15481 - predeps_F77 \
13.15482 - postdeps_F77 \
13.15483 - compiler_lib_search_path_F77 \
13.15484 - archive_cmds_F77 \
13.15485 - archive_expsym_cmds_F77 \
13.15486 - postinstall_cmds_F77 \
13.15487 - postuninstall_cmds_F77 \
13.15488 - old_archive_from_expsyms_cmds_F77 \
13.15489 - allow_undefined_flag_F77 \
13.15490 - no_undefined_flag_F77 \
13.15491 - export_symbols_cmds_F77 \
13.15492 - hardcode_libdir_flag_spec_F77 \
13.15493 - hardcode_libdir_flag_spec_ld_F77 \
13.15494 - hardcode_libdir_separator_F77 \
13.15495 - hardcode_automatic_F77 \
13.15496 - module_cmds_F77 \
13.15497 - module_expsym_cmds_F77 \
13.15498 - lt_cv_prog_compiler_c_o_F77 \
13.15499 - exclude_expsyms_F77 \
13.15500 - include_expsyms_F77; do
13.15501 -
13.15502 - case $var in
13.15503 - old_archive_cmds_F77 | \
13.15504 - old_archive_from_new_cmds_F77 | \
13.15505 - archive_cmds_F77 | \
13.15506 - archive_expsym_cmds_F77 | \
13.15507 - module_cmds_F77 | \
13.15508 - module_expsym_cmds_F77 | \
13.15509 - old_archive_from_expsyms_cmds_F77 | \
13.15510 - export_symbols_cmds_F77 | \
13.15511 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
13.15512 - postinstall_cmds | postuninstall_cmds | \
13.15513 - old_postinstall_cmds | old_postuninstall_cmds | \
13.15514 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13.15515 - # Double-quote double-evaled strings.
13.15516 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13.15517 - ;;
13.15518 - *)
13.15519 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13.15520 - ;;
13.15521 - esac
13.15522 - done
13.15523 -
13.15524 - case $lt_echo in
13.15525 - *'\$0 --fallback-echo"')
13.15526 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13.15527 - ;;
13.15528 - esac
13.15529 -
13.15530 -cfgfile="$ofile"
13.15531 -
13.15532 - cat <<__EOF__ >> "$cfgfile"
13.15533 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13.15534 -
13.15535 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13.15536 -
13.15537 -# Shell to use when invoking shell scripts.
13.15538 -SHELL=$lt_SHELL
13.15539 -
13.15540 -# Whether or not to build shared libraries.
13.15541 -build_libtool_libs=$enable_shared
13.15542 -
13.15543 -# Whether or not to build static libraries.
13.15544 -build_old_libs=$enable_static
13.15545 -
13.15546 -# Whether or not to add -lc for building shared libraries.
13.15547 -build_libtool_need_lc=$archive_cmds_need_lc_F77
13.15548 -
13.15549 -# Whether or not to disallow shared libs when runtime libs are static
13.15550 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
13.15551 -
13.15552 -# Whether or not to optimize for fast installation.
13.15553 -fast_install=$enable_fast_install
13.15554 -
13.15555 -# The host system.
13.15556 -host_alias=$host_alias
13.15557 -host=$host
13.15558 -host_os=$host_os
13.15559 -
13.15560 -# The build system.
13.15561 -build_alias=$build_alias
13.15562 -build=$build
13.15563 -build_os=$build_os
13.15564 -
13.15565 -# An echo program that does not interpret backslashes.
13.15566 -echo=$lt_echo
13.15567 -
13.15568 -# The archiver.
13.15569 -AR=$lt_AR
13.15570 -AR_FLAGS=$lt_AR_FLAGS
13.15571 -
13.15572 -# A C compiler.
13.15573 -LTCC=$lt_LTCC
13.15574 -
13.15575 -# A language-specific compiler.
13.15576 -CC=$lt_compiler_F77
13.15577 -
13.15578 -# Is the compiler the GNU C compiler?
13.15579 -with_gcc=$GCC_F77
13.15580 -
13.15581 -# An ERE matcher.
13.15582 -EGREP=$lt_EGREP
13.15583 -
13.15584 -# The linker used to build libraries.
13.15585 -LD=$lt_LD_F77
13.15586 -
13.15587 -# Whether we need hard or soft links.
13.15588 -LN_S=$lt_LN_S
13.15589 -
13.15590 -# A BSD-compatible nm program.
13.15591 -NM=$lt_NM
13.15592 -
13.15593 -# A symbol stripping program
13.15594 -STRIP=$lt_STRIP
13.15595 -
13.15596 -# Used to examine libraries when file_magic_cmd begins "file"
13.15597 -MAGIC_CMD=$MAGIC_CMD
13.15598 -
13.15599 -# Used on cygwin: DLL creation program.
13.15600 -DLLTOOL="$DLLTOOL"
13.15601 -
13.15602 -# Used on cygwin: object dumper.
13.15603 -OBJDUMP="$OBJDUMP"
13.15604 -
13.15605 -# Used on cygwin: assembler.
13.15606 -AS="$AS"
13.15607 -
13.15608 -# The name of the directory that contains temporary libtool files.
13.15609 -objdir=$objdir
13.15610 -
13.15611 -# How to create reloadable object files.
13.15612 -reload_flag=$lt_reload_flag
13.15613 -reload_cmds=$lt_reload_cmds
13.15614 -
13.15615 -# How to pass a linker flag through the compiler.
13.15616 -wl=$lt_lt_prog_compiler_wl_F77
13.15617 -
13.15618 -# Object file suffix (normally "o").
13.15619 -objext="$ac_objext"
13.15620 -
13.15621 -# Old archive suffix (normally "a").
13.15622 -libext="$libext"
13.15623 -
13.15624 -# Shared library suffix (normally ".so").
13.15625 -shrext_cmds='$shrext_cmds'
13.15626 -
13.15627 -# Executable file suffix (normally "").
13.15628 -exeext="$exeext"
13.15629 -
13.15630 -# Additional compiler flags for building library objects.
13.15631 -pic_flag=$lt_lt_prog_compiler_pic_F77
13.15632 -pic_mode=$pic_mode
13.15633 -
13.15634 -# What is the maximum length of a command?
13.15635 -max_cmd_len=$lt_cv_sys_max_cmd_len
13.15636 -
13.15637 -# Does compiler simultaneously support -c and -o options?
13.15638 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
13.15639 -
13.15640 -# Must we lock files when doing compilation?
13.15641 -need_locks=$lt_need_locks
13.15642 -
13.15643 -# Do we need the lib prefix for modules?
13.15644 -need_lib_prefix=$need_lib_prefix
13.15645 -
13.15646 -# Do we need a version for libraries?
13.15647 -need_version=$need_version
13.15648 -
13.15649 -# Whether dlopen is supported.
13.15650 -dlopen_support=$enable_dlopen
13.15651 -
13.15652 -# Whether dlopen of programs is supported.
13.15653 -dlopen_self=$enable_dlopen_self
13.15654 -
13.15655 -# Whether dlopen of statically linked programs is supported.
13.15656 -dlopen_self_static=$enable_dlopen_self_static
13.15657 -
13.15658 -# Compiler flag to prevent dynamic linking.
13.15659 -link_static_flag=$lt_lt_prog_compiler_static_F77
13.15660 -
13.15661 -# Compiler flag to turn off builtin functions.
13.15662 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
13.15663 -
13.15664 -# Compiler flag to allow reflexive dlopens.
13.15665 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
13.15666 -
13.15667 -# Compiler flag to generate shared objects directly from archives.
13.15668 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
13.15669 -
13.15670 -# Compiler flag to generate thread-safe objects.
13.15671 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
13.15672 -
13.15673 -# Library versioning type.
13.15674 -version_type=$version_type
13.15675 -
13.15676 -# Format of library name prefix.
13.15677 -libname_spec=$lt_libname_spec
13.15678 -
13.15679 -# List of archive names. First name is the real one, the rest are links.
13.15680 -# The last name is the one that the linker finds with -lNAME.
13.15681 -library_names_spec=$lt_library_names_spec
13.15682 -
13.15683 -# The coded name of the library, if different from the real name.
13.15684 -soname_spec=$lt_soname_spec
13.15685 -
13.15686 -# Commands used to build and install an old-style archive.
13.15687 -RANLIB=$lt_RANLIB
13.15688 -old_archive_cmds=$lt_old_archive_cmds_F77
13.15689 -old_postinstall_cmds=$lt_old_postinstall_cmds
13.15690 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
13.15691 -
13.15692 -# Create an old-style archive from a shared archive.
13.15693 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
13.15694 -
13.15695 -# Create a temporary old-style archive to link instead of a shared archive.
13.15696 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
13.15697 -
13.15698 -# Commands used to build and install a shared archive.
13.15699 -archive_cmds=$lt_archive_cmds_F77
13.15700 -archive_expsym_cmds=$lt_archive_expsym_cmds_F77
13.15701 -postinstall_cmds=$lt_postinstall_cmds
13.15702 -postuninstall_cmds=$lt_postuninstall_cmds
13.15703 -
13.15704 -# Commands used to build a loadable module (assumed same as above if empty)
13.15705 -module_cmds=$lt_module_cmds_F77
13.15706 -module_expsym_cmds=$lt_module_expsym_cmds_F77
13.15707 -
13.15708 -# Commands to strip libraries.
13.15709 -old_striplib=$lt_old_striplib
13.15710 -striplib=$lt_striplib
13.15711 -
13.15712 -# Dependencies to place before the objects being linked to create a
13.15713 -# shared library.
13.15714 -predep_objects=$lt_predep_objects_F77
13.15715 -
13.15716 -# Dependencies to place after the objects being linked to create a
13.15717 -# shared library.
13.15718 -postdep_objects=$lt_postdep_objects_F77
13.15719 -
13.15720 -# Dependencies to place before the objects being linked to create a
13.15721 -# shared library.
13.15722 -predeps=$lt_predeps_F77
13.15723 -
13.15724 -# Dependencies to place after the objects being linked to create a
13.15725 -# shared library.
13.15726 -postdeps=$lt_postdeps_F77
13.15727 -
13.15728 -# The library search path used internally by the compiler when linking
13.15729 -# a shared library.
13.15730 -compiler_lib_search_path=$lt_compiler_lib_search_path_F77
13.15731 -
13.15732 -# Method to check whether dependent libraries are shared objects.
13.15733 -deplibs_check_method=$lt_deplibs_check_method
13.15734 -
13.15735 -# Command to use when deplibs_check_method == file_magic.
13.15736 -file_magic_cmd=$lt_file_magic_cmd
13.15737 -
13.15738 -# Flag that allows shared libraries with undefined symbols to be built.
13.15739 -allow_undefined_flag=$lt_allow_undefined_flag_F77
13.15740 -
13.15741 -# Flag that forces no undefined symbols.
13.15742 -no_undefined_flag=$lt_no_undefined_flag_F77
13.15743 -
13.15744 -# Commands used to finish a libtool library installation in a directory.
13.15745 -finish_cmds=$lt_finish_cmds
13.15746 -
13.15747 -# Same as above, but a single script fragment to be evaled but not shown.
13.15748 -finish_eval=$lt_finish_eval
13.15749 -
13.15750 -# Take the output of nm and produce a listing of raw symbols and C names.
13.15751 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13.15752 -
13.15753 -# Transform the output of nm in a proper C declaration
13.15754 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13.15755 -
13.15756 -# Transform the output of nm in a C name address pair
13.15757 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13.15758 -
13.15759 -# This is the shared library runtime path variable.
13.15760 -runpath_var=$runpath_var
13.15761 -
13.15762 -# This is the shared library path variable.
13.15763 -shlibpath_var=$shlibpath_var
13.15764 -
13.15765 -# Is shlibpath searched before the hard-coded library search path?
13.15766 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13.15767 -
13.15768 -# How to hardcode a shared library path into an executable.
13.15769 -hardcode_action=$hardcode_action_F77
13.15770 -
13.15771 -# Whether we should hardcode library paths into libraries.
13.15772 -hardcode_into_libs=$hardcode_into_libs
13.15773 -
13.15774 -# Flag to hardcode \$libdir into a binary during linking.
13.15775 -# This must work even if \$libdir does not exist.
13.15776 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
13.15777 -
13.15778 -# If ld is used when linking, flag to hardcode \$libdir into
13.15779 -# a binary during linking. This must work even if \$libdir does
13.15780 -# not exist.
13.15781 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
13.15782 -
13.15783 -# Whether we need a single -rpath flag with a separated argument.
13.15784 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
13.15785 -
13.15786 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13.15787 -# resulting binary.
13.15788 -hardcode_direct=$hardcode_direct_F77
13.15789 -
13.15790 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13.15791 -# resulting binary.
13.15792 -hardcode_minus_L=$hardcode_minus_L_F77
13.15793 -
13.15794 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13.15795 -# the resulting binary.
13.15796 -hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
13.15797 -
13.15798 -# Set to yes if building a shared library automatically hardcodes DIR into the library
13.15799 -# and all subsequent libraries and executables linked against it.
13.15800 -hardcode_automatic=$hardcode_automatic_F77
13.15801 -
13.15802 -# Variables whose values should be saved in libtool wrapper scripts and
13.15803 -# restored at relink time.
13.15804 -variables_saved_for_relink="$variables_saved_for_relink"
13.15805 -
13.15806 -# Whether libtool must link a program against all its dependency libraries.
13.15807 -link_all_deplibs=$link_all_deplibs_F77
13.15808 -
13.15809 -# Compile-time system search path for libraries
13.15810 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13.15811 -
13.15812 -# Run-time system search path for libraries
13.15813 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13.15814 -
13.15815 -# Fix the shell variable \$srcfile for the compiler.
13.15816 -fix_srcfile_path="$fix_srcfile_path_F77"
13.15817 -
13.15818 -# Set to yes if exported symbols are required.
13.15819 -always_export_symbols=$always_export_symbols_F77
13.15820 -
13.15821 -# The commands to list exported symbols.
13.15822 -export_symbols_cmds=$lt_export_symbols_cmds_F77
13.15823 -
13.15824 -# The commands to extract the exported symbol list from a shared archive.
13.15825 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
13.15826 -
13.15827 -# Symbols that should not be listed in the preloaded symbols.
13.15828 -exclude_expsyms=$lt_exclude_expsyms_F77
13.15829 -
13.15830 -# Symbols that must always be exported.
13.15831 -include_expsyms=$lt_include_expsyms_F77
13.15832 -
13.15833 -# ### END LIBTOOL TAG CONFIG: $tagname
13.15834 -
13.15835 -__EOF__
13.15836 -
13.15837 -
13.15838 -else
13.15839 - # If there is no Makefile yet, we rely on a make rule to execute
13.15840 - # `config.status --recheck' to rerun these tests and create the
13.15841 - # libtool script then.
13.15842 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13.15843 - if test -f "$ltmain_in"; then
13.15844 - test -f Makefile && make "$ltmain"
13.15845 - fi
13.15846 -fi
13.15847 -
13.15848 -
13.15849 -ac_ext=c
13.15850 -ac_cpp='$CPP $CPPFLAGS'
13.15851 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.15852 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.15853 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.15854 -
13.15855 -CC="$lt_save_CC"
13.15856 -
13.15857 - else
13.15858 - tagname=""
13.15859 - fi
13.15860 - ;;
13.15861 -
13.15862 - GCJ)
13.15863 - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
13.15864 -
13.15865 -
13.15866 -
13.15867 -# Source file extension for Java test sources.
13.15868 -ac_ext=java
13.15869 -
13.15870 -# Object file extension for compiled Java test sources.
13.15871 -objext=o
13.15872 -objext_GCJ=$objext
13.15873 -
13.15874 -# Code to be used in simple compile tests
13.15875 -lt_simple_compile_test_code="class foo {}\n"
13.15876 -
13.15877 -# Code to be used in simple link tests
13.15878 -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
13.15879 -
13.15880 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13.15881 -
13.15882 -# If no C compiler was specified, use CC.
13.15883 -LTCC=${LTCC-"$CC"}
13.15884 -
13.15885 -# Allow CC to be a program name with arguments.
13.15886 -compiler=$CC
13.15887 -
13.15888 -
13.15889 -# save warnings/boilerplate of simple test code
13.15890 -ac_outfile=conftest.$ac_objext
13.15891 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13.15892 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13.15893 -_lt_compiler_boilerplate=`cat conftest.err`
13.15894 -$rm conftest*
13.15895 -
13.15896 -ac_outfile=conftest.$ac_objext
13.15897 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
13.15898 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13.15899 -_lt_linker_boilerplate=`cat conftest.err`
13.15900 -$rm conftest*
13.15901 -
13.15902 -
13.15903 -# Allow CC to be a program name with arguments.
13.15904 -lt_save_CC="$CC"
13.15905 -CC=${GCJ-"gcj"}
13.15906 -compiler=$CC
13.15907 -compiler_GCJ=$CC
13.15908 -for cc_temp in $compiler""; do
13.15909 - case $cc_temp in
13.15910 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13.15911 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13.15912 - \-*) ;;
13.15913 - *) break;;
13.15914 - esac
13.15915 -done
13.15916 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13.15917 -
13.15918 -
13.15919 -# GCJ did not exist at the time GCC didn't implicitly link libc in.
13.15920 -archive_cmds_need_lc_GCJ=no
13.15921 -
13.15922 -old_archive_cmds_GCJ=$old_archive_cmds
13.15923 -
13.15924 -
13.15925 -lt_prog_compiler_no_builtin_flag_GCJ=
13.15926 -
13.15927 -if test "$GCC" = yes; then
13.15928 - lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
13.15929 -
13.15930 -
13.15931 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
13.15932 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
13.15933 -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
13.15934 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.15935 -else
13.15936 - lt_cv_prog_compiler_rtti_exceptions=no
13.15937 - ac_outfile=conftest.$ac_objext
13.15938 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13.15939 - lt_compiler_flag="-fno-rtti -fno-exceptions"
13.15940 - # Insert the option either (1) after the last *FLAGS variable, or
13.15941 - # (2) before a word containing "conftest.", or (3) at the end.
13.15942 - # Note that $ac_compile itself does not contain backslashes and begins
13.15943 - # with a dollar sign (not a hyphen), so the echo should work correctly.
13.15944 - # The option is referenced via a variable to avoid confusing sed.
13.15945 - lt_compile=`echo "$ac_compile" | $SED \
13.15946 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13.15947 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13.15948 - -e 's:$: $lt_compiler_flag:'`
13.15949 - (eval echo "\"\$as_me:15946: $lt_compile\"" >&5)
13.15950 - (eval "$lt_compile" 2>conftest.err)
13.15951 - ac_status=$?
13.15952 - cat conftest.err >&5
13.15953 - echo "$as_me:15950: \$? = $ac_status" >&5
13.15954 - if (exit $ac_status) && test -s "$ac_outfile"; then
13.15955 - # The compiler can only warn and ignore the option if not recognized
13.15956 - # So say no if there are warnings other than the usual output.
13.15957 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
13.15958 - $SED '/^$/d' conftest.err >conftest.er2
13.15959 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
13.15960 - lt_cv_prog_compiler_rtti_exceptions=yes
13.15961 - fi
13.15962 - fi
13.15963 - $rm conftest*
13.15964 -
13.15965 -fi
13.15966 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
13.15967 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
13.15968 -
13.15969 -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
13.15970 - lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
13.15971 -else
13.15972 - :
13.15973 -fi
13.15974 -
13.15975 -fi
13.15976 -
13.15977 -lt_prog_compiler_wl_GCJ=
13.15978 -lt_prog_compiler_pic_GCJ=
13.15979 -lt_prog_compiler_static_GCJ=
13.15980 -
13.15981 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13.15982 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13.15983 -
13.15984 - if test "$GCC" = yes; then
13.15985 - lt_prog_compiler_wl_GCJ='-Wl,'
13.15986 - lt_prog_compiler_static_GCJ='-static'
13.15987 -
13.15988 - case $host_os in
13.15989 - aix*)
13.15990 - # All AIX code is PIC.
13.15991 - if test "$host_cpu" = ia64; then
13.15992 - # AIX 5 now supports IA64 processor
13.15993 - lt_prog_compiler_static_GCJ='-Bstatic'
13.15994 - fi
13.15995 - ;;
13.15996 -
13.15997 - amigaos*)
13.15998 - # FIXME: we need at least 68020 code to build shared libraries, but
13.15999 - # adding the `-m68020' flag to GCC prevents building anything better,
13.16000 - # like `-m68040'.
13.16001 - lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
13.16002 - ;;
13.16003 -
13.16004 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13.16005 - # PIC is the default for these OSes.
13.16006 - ;;
13.16007 -
13.16008 - mingw* | pw32* | os2*)
13.16009 - # This hack is so that the source file can tell whether it is being
13.16010 - # built for inclusion in a dll (and should export symbols for example).
13.16011 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
13.16012 - ;;
13.16013 -
13.16014 - darwin* | rhapsody*)
13.16015 - # PIC is the default on this platform
13.16016 - # Common symbols not allowed in MH_DYLIB files
13.16017 - lt_prog_compiler_pic_GCJ='-fno-common'
13.16018 - ;;
13.16019 -
13.16020 - msdosdjgpp*)
13.16021 - # Just because we use GCC doesn't mean we suddenly get shared libraries
13.16022 - # on systems that don't support them.
13.16023 - lt_prog_compiler_can_build_shared_GCJ=no
13.16024 - enable_shared=no
13.16025 - ;;
13.16026 -
13.16027 - sysv4*MP*)
13.16028 - if test -d /usr/nec; then
13.16029 - lt_prog_compiler_pic_GCJ=-Kconform_pic
13.16030 - fi
13.16031 - ;;
13.16032 -
13.16033 - hpux*)
13.16034 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13.16035 - # not for PA HP-UX.
13.16036 - case $host_cpu in
13.16037 - hppa*64*|ia64*)
13.16038 - # +Z the default
13.16039 - ;;
13.16040 - *)
13.16041 - lt_prog_compiler_pic_GCJ='-fPIC'
13.16042 - ;;
13.16043 - esac
13.16044 - ;;
13.16045 -
13.16046 - *)
13.16047 - lt_prog_compiler_pic_GCJ='-fPIC'
13.16048 - ;;
13.16049 - esac
13.16050 - else
13.16051 - # PORTME Check for flag to pass linker flags through the system compiler.
13.16052 - case $host_os in
13.16053 - aix*)
13.16054 - lt_prog_compiler_wl_GCJ='-Wl,'
13.16055 - if test "$host_cpu" = ia64; then
13.16056 - # AIX 5 now supports IA64 processor
13.16057 - lt_prog_compiler_static_GCJ='-Bstatic'
13.16058 - else
13.16059 - lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
13.16060 - fi
13.16061 - ;;
13.16062 - darwin*)
13.16063 - # PIC is the default on this platform
13.16064 - # Common symbols not allowed in MH_DYLIB files
13.16065 - case $cc_basename in
13.16066 - xlc*)
13.16067 - lt_prog_compiler_pic_GCJ='-qnocommon'
13.16068 - lt_prog_compiler_wl_GCJ='-Wl,'
13.16069 - ;;
13.16070 - esac
13.16071 - ;;
13.16072 -
13.16073 - mingw* | pw32* | os2*)
13.16074 - # This hack is so that the source file can tell whether it is being
13.16075 - # built for inclusion in a dll (and should export symbols for example).
13.16076 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
13.16077 - ;;
13.16078 -
13.16079 - hpux9* | hpux10* | hpux11*)
13.16080 - lt_prog_compiler_wl_GCJ='-Wl,'
13.16081 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13.16082 - # not for PA HP-UX.
13.16083 - case $host_cpu in
13.16084 - hppa*64*|ia64*)
13.16085 - # +Z the default
13.16086 - ;;
13.16087 - *)
13.16088 - lt_prog_compiler_pic_GCJ='+Z'
13.16089 - ;;
13.16090 - esac
13.16091 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
13.16092 - lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
13.16093 - ;;
13.16094 -
13.16095 - irix5* | irix6* | nonstopux*)
13.16096 - lt_prog_compiler_wl_GCJ='-Wl,'
13.16097 - # PIC (with -KPIC) is the default.
13.16098 - lt_prog_compiler_static_GCJ='-non_shared'
13.16099 - ;;
13.16100 -
13.16101 - newsos6)
13.16102 - lt_prog_compiler_pic_GCJ='-KPIC'
13.16103 - lt_prog_compiler_static_GCJ='-Bstatic'
13.16104 - ;;
13.16105 -
13.16106 - linux*)
13.16107 - case $cc_basename in
13.16108 - icc* | ecc*)
13.16109 - lt_prog_compiler_wl_GCJ='-Wl,'
13.16110 - lt_prog_compiler_pic_GCJ='-KPIC'
13.16111 - lt_prog_compiler_static_GCJ='-static'
13.16112 - ;;
13.16113 - pgcc* | pgf77* | pgf90* | pgf95*)
13.16114 - # Portland Group compilers (*not* the Pentium gcc compiler,
13.16115 - # which looks to be a dead project)
13.16116 - lt_prog_compiler_wl_GCJ='-Wl,'
13.16117 - lt_prog_compiler_pic_GCJ='-fpic'
13.16118 - lt_prog_compiler_static_GCJ='-Bstatic'
13.16119 - ;;
13.16120 - ccc*)
13.16121 - lt_prog_compiler_wl_GCJ='-Wl,'
13.16122 - # All Alpha code is PIC.
13.16123 - lt_prog_compiler_static_GCJ='-non_shared'
13.16124 - ;;
13.16125 - esac
13.16126 - ;;
13.16127 -
13.16128 - osf3* | osf4* | osf5*)
13.16129 - lt_prog_compiler_wl_GCJ='-Wl,'
13.16130 - # All OSF/1 code is PIC.
13.16131 - lt_prog_compiler_static_GCJ='-non_shared'
13.16132 - ;;
13.16133 -
13.16134 - sco3.2v5*)
13.16135 - lt_prog_compiler_pic_GCJ='-Kpic'
13.16136 - lt_prog_compiler_static_GCJ='-dn'
13.16137 - ;;
13.16138 -
13.16139 - solaris*)
13.16140 - lt_prog_compiler_pic_GCJ='-KPIC'
13.16141 - lt_prog_compiler_static_GCJ='-Bstatic'
13.16142 - case $cc_basename in
13.16143 - f77* | f90* | f95*)
13.16144 - lt_prog_compiler_wl_GCJ='-Qoption ld ';;
13.16145 - *)
13.16146 - lt_prog_compiler_wl_GCJ='-Wl,';;
13.16147 - esac
13.16148 - ;;
13.16149 -
13.16150 - sunos4*)
13.16151 - lt_prog_compiler_wl_GCJ='-Qoption ld '
13.16152 - lt_prog_compiler_pic_GCJ='-PIC'
13.16153 - lt_prog_compiler_static_GCJ='-Bstatic'
13.16154 - ;;
13.16155 -
13.16156 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13.16157 - lt_prog_compiler_wl_GCJ='-Wl,'
13.16158 - lt_prog_compiler_pic_GCJ='-KPIC'
13.16159 - lt_prog_compiler_static_GCJ='-Bstatic'
13.16160 - ;;
13.16161 -
13.16162 - sysv4*MP*)
13.16163 - if test -d /usr/nec ;then
13.16164 - lt_prog_compiler_pic_GCJ='-Kconform_pic'
13.16165 - lt_prog_compiler_static_GCJ='-Bstatic'
13.16166 - fi
13.16167 - ;;
13.16168 -
13.16169 - unicos*)
13.16170 - lt_prog_compiler_wl_GCJ='-Wl,'
13.16171 - lt_prog_compiler_can_build_shared_GCJ=no
13.16172 - ;;
13.16173 -
13.16174 - uts4*)
13.16175 - lt_prog_compiler_pic_GCJ='-pic'
13.16176 - lt_prog_compiler_static_GCJ='-Bstatic'
13.16177 - ;;
13.16178 -
13.16179 - *)
13.16180 - lt_prog_compiler_can_build_shared_GCJ=no
13.16181 - ;;
13.16182 - esac
13.16183 - fi
13.16184 -
13.16185 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
13.16186 -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
13.16187 -
13.16188 -#
13.16189 -# Check to make sure the PIC flag actually works.
13.16190 -#
13.16191 -if test -n "$lt_prog_compiler_pic_GCJ"; then
13.16192 -
13.16193 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
13.16194 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
13.16195 -if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
13.16196 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.16197 -else
13.16198 - lt_prog_compiler_pic_works_GCJ=no
13.16199 - ac_outfile=conftest.$ac_objext
13.16200 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13.16201 - lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
13.16202 - # Insert the option either (1) after the last *FLAGS variable, or
13.16203 - # (2) before a word containing "conftest.", or (3) at the end.
13.16204 - # Note that $ac_compile itself does not contain backslashes and begins
13.16205 - # with a dollar sign (not a hyphen), so the echo should work correctly.
13.16206 - # The option is referenced via a variable to avoid confusing sed.
13.16207 - lt_compile=`echo "$ac_compile" | $SED \
13.16208 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13.16209 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13.16210 - -e 's:$: $lt_compiler_flag:'`
13.16211 - (eval echo "\"\$as_me:16208: $lt_compile\"" >&5)
13.16212 - (eval "$lt_compile" 2>conftest.err)
13.16213 - ac_status=$?
13.16214 - cat conftest.err >&5
13.16215 - echo "$as_me:16212: \$? = $ac_status" >&5
13.16216 - if (exit $ac_status) && test -s "$ac_outfile"; then
13.16217 - # The compiler can only warn and ignore the option if not recognized
13.16218 - # So say no if there are warnings other than the usual output.
13.16219 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
13.16220 - $SED '/^$/d' conftest.err >conftest.er2
13.16221 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
13.16222 - lt_prog_compiler_pic_works_GCJ=yes
13.16223 - fi
13.16224 - fi
13.16225 - $rm conftest*
13.16226 -
13.16227 -fi
13.16228 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
13.16229 -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
13.16230 -
13.16231 -if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
13.16232 - case $lt_prog_compiler_pic_GCJ in
13.16233 - "" | " "*) ;;
13.16234 - *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
13.16235 - esac
13.16236 -else
13.16237 - lt_prog_compiler_pic_GCJ=
13.16238 - lt_prog_compiler_can_build_shared_GCJ=no
13.16239 -fi
13.16240 -
13.16241 -fi
13.16242 -case $host_os in
13.16243 - # For platforms which do not support PIC, -DPIC is meaningless:
13.16244 - *djgpp*)
13.16245 - lt_prog_compiler_pic_GCJ=
13.16246 - ;;
13.16247 - *)
13.16248 - lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
13.16249 - ;;
13.16250 -esac
13.16251 -
13.16252 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13.16253 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13.16254 -if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
13.16255 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.16256 -else
13.16257 - lt_cv_prog_compiler_c_o_GCJ=no
13.16258 - $rm -r conftest 2>/dev/null
13.16259 - mkdir conftest
13.16260 - cd conftest
13.16261 - mkdir out
13.16262 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13.16263 -
13.16264 - lt_compiler_flag="-o out/conftest2.$ac_objext"
13.16265 - # Insert the option either (1) after the last *FLAGS variable, or
13.16266 - # (2) before a word containing "conftest.", or (3) at the end.
13.16267 - # Note that $ac_compile itself does not contain backslashes and begins
13.16268 - # with a dollar sign (not a hyphen), so the echo should work correctly.
13.16269 - lt_compile=`echo "$ac_compile" | $SED \
13.16270 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13.16271 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13.16272 - -e 's:$: $lt_compiler_flag:'`
13.16273 - (eval echo "\"\$as_me:16270: $lt_compile\"" >&5)
13.16274 - (eval "$lt_compile" 2>out/conftest.err)
13.16275 - ac_status=$?
13.16276 - cat out/conftest.err >&5
13.16277 - echo "$as_me:16274: \$? = $ac_status" >&5
13.16278 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
13.16279 - then
13.16280 - # The compiler can only warn and ignore the option if not recognized
13.16281 - # So say no if there are warnings
13.16282 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
13.16283 - $SED '/^$/d' out/conftest.err >out/conftest.er2
13.16284 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13.16285 - lt_cv_prog_compiler_c_o_GCJ=yes
13.16286 - fi
13.16287 - fi
13.16288 - chmod u+w . 2>&5
13.16289 - $rm conftest*
13.16290 - # SGI C++ compiler will create directory out/ii_files/ for
13.16291 - # template instantiation
13.16292 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13.16293 - $rm out/* && rmdir out
13.16294 - cd ..
13.16295 - rmdir conftest
13.16296 - $rm conftest*
13.16297 -
13.16298 -fi
13.16299 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
13.16300 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
13.16301 -
13.16302 -
13.16303 -hard_links="nottested"
13.16304 -if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
13.16305 - # do not overwrite the value of need_locks provided by the user
13.16306 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13.16307 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13.16308 - hard_links=yes
13.16309 - $rm conftest*
13.16310 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
13.16311 - touch conftest.a
13.16312 - ln conftest.a conftest.b 2>&5 || hard_links=no
13.16313 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
13.16314 - echo "$as_me:$LINENO: result: $hard_links" >&5
13.16315 -echo "${ECHO_T}$hard_links" >&6
13.16316 - if test "$hard_links" = no; then
13.16317 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13.16318 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13.16319 - need_locks=warn
13.16320 - fi
13.16321 -else
13.16322 - need_locks=no
13.16323 -fi
13.16324 -
13.16325 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13.16326 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13.16327 -
13.16328 - runpath_var=
13.16329 - allow_undefined_flag_GCJ=
13.16330 - enable_shared_with_static_runtimes_GCJ=no
13.16331 - archive_cmds_GCJ=
13.16332 - archive_expsym_cmds_GCJ=
13.16333 - old_archive_From_new_cmds_GCJ=
13.16334 - old_archive_from_expsyms_cmds_GCJ=
13.16335 - export_dynamic_flag_spec_GCJ=
13.16336 - whole_archive_flag_spec_GCJ=
13.16337 - thread_safe_flag_spec_GCJ=
13.16338 - hardcode_libdir_flag_spec_GCJ=
13.16339 - hardcode_libdir_flag_spec_ld_GCJ=
13.16340 - hardcode_libdir_separator_GCJ=
13.16341 - hardcode_direct_GCJ=no
13.16342 - hardcode_minus_L_GCJ=no
13.16343 - hardcode_shlibpath_var_GCJ=unsupported
13.16344 - link_all_deplibs_GCJ=unknown
13.16345 - hardcode_automatic_GCJ=no
13.16346 - module_cmds_GCJ=
13.16347 - module_expsym_cmds_GCJ=
13.16348 - always_export_symbols_GCJ=no
13.16349 - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13.16350 - # include_expsyms should be a list of space-separated symbols to be *always*
13.16351 - # included in the symbol list
13.16352 - include_expsyms_GCJ=
13.16353 - # exclude_expsyms can be an extended regexp of symbols to exclude
13.16354 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
13.16355 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13.16356 - # as well as any symbol that contains `d'.
13.16357 - exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
13.16358 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13.16359 - # platforms (ab)use it in PIC code, but their linkers get confused if
13.16360 - # the symbol is explicitly referenced. Since portable code cannot
13.16361 - # rely on this symbol name, it's probably fine to never include it in
13.16362 - # preloaded symbol tables.
13.16363 - extract_expsyms_cmds=
13.16364 - # Just being paranoid about ensuring that cc_basename is set.
13.16365 - for cc_temp in $compiler""; do
13.16366 - case $cc_temp in
13.16367 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13.16368 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13.16369 - \-*) ;;
13.16370 - *) break;;
13.16371 - esac
13.16372 -done
13.16373 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13.16374 -
13.16375 - case $host_os in
13.16376 - cygwin* | mingw* | pw32*)
13.16377 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
13.16378 - # When not using gcc, we currently assume that we are using
13.16379 - # Microsoft Visual C++.
13.16380 - if test "$GCC" != yes; then
13.16381 - with_gnu_ld=no
13.16382 - fi
13.16383 - ;;
13.16384 - openbsd*)
13.16385 - with_gnu_ld=no
13.16386 - ;;
13.16387 - esac
13.16388 -
13.16389 - ld_shlibs_GCJ=yes
13.16390 - if test "$with_gnu_ld" = yes; then
13.16391 - # If archive_cmds runs LD, not CC, wlarc should be empty
13.16392 - wlarc='${wl}'
13.16393 -
13.16394 - # Set some defaults for GNU ld with shared library support. These
13.16395 - # are reset later if shared libraries are not supported. Putting them
13.16396 - # here allows them to be overridden if necessary.
13.16397 - runpath_var=LD_RUN_PATH
13.16398 - hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
13.16399 - export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
13.16400 - # ancient GNU ld didn't support --whole-archive et. al.
13.16401 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13.16402 - whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13.16403 - else
13.16404 - whole_archive_flag_spec_GCJ=
13.16405 - fi
13.16406 - supports_anon_versioning=no
13.16407 - case `$LD -v 2>/dev/null` in
13.16408 - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13.16409 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13.16410 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13.16411 - *\ 2.11.*) ;; # other 2.11 versions
13.16412 - *) supports_anon_versioning=yes ;;
13.16413 - esac
13.16414 -
13.16415 - # See if GNU ld supports shared libraries.
13.16416 - case $host_os in
13.16417 - aix3* | aix4* | aix5*)
13.16418 - # On AIX/PPC, the GNU linker is very broken
13.16419 - if test "$host_cpu" != ia64; then
13.16420 - ld_shlibs_GCJ=no
13.16421 - cat <<EOF 1>&2
13.16422 -
13.16423 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
13.16424 -*** to be unable to reliably create shared libraries on AIX.
13.16425 -*** Therefore, libtool is disabling shared libraries support. If you
13.16426 -*** really care for shared libraries, you may want to modify your PATH
13.16427 -*** so that a non-GNU linker is found, and then restart.
13.16428 -
13.16429 -EOF
13.16430 - fi
13.16431 - ;;
13.16432 -
13.16433 - amigaos*)
13.16434 - archive_cmds_GCJ='$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)'
13.16435 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
13.16436 - hardcode_minus_L_GCJ=yes
13.16437 -
13.16438 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13.16439 - # that the semantics of dynamic libraries on AmigaOS, at least up
13.16440 - # to version 4, is to share data among multiple programs linked
13.16441 - # with the same dynamic library. Since this doesn't match the
13.16442 - # behavior of shared libraries on other platforms, we can't use
13.16443 - # them.
13.16444 - ld_shlibs_GCJ=no
13.16445 - ;;
13.16446 -
13.16447 - beos*)
13.16448 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13.16449 - allow_undefined_flag_GCJ=unsupported
13.16450 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13.16451 - # support --undefined. This deserves some investigation. FIXME
13.16452 - archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.16453 - else
13.16454 - ld_shlibs_GCJ=no
13.16455 - fi
13.16456 - ;;
13.16457 -
13.16458 - cygwin* | mingw* | pw32*)
13.16459 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
13.16460 - # as there is no search path for DLLs.
13.16461 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
13.16462 - allow_undefined_flag_GCJ=unsupported
13.16463 - always_export_symbols_GCJ=no
13.16464 - enable_shared_with_static_runtimes_GCJ=yes
13.16465 - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13.16466 -
13.16467 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13.16468 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13.16469 - # If the export-symbols file already is a .def file (1st line
13.16470 - # is EXPORTS), use it as is; otherwise, prepend...
13.16471 - archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13.16472 - cp $export_symbols $output_objdir/$soname.def;
13.16473 - else
13.16474 - echo EXPORTS > $output_objdir/$soname.def;
13.16475 - cat $export_symbols >> $output_objdir/$soname.def;
13.16476 - fi~
13.16477 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13.16478 - else
13.16479 - ld_shlibs_GCJ=no
13.16480 - fi
13.16481 - ;;
13.16482 -
13.16483 - linux*)
13.16484 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13.16485 - tmp_addflag=
13.16486 - case $cc_basename,$host_cpu in
13.16487 - pgcc*) # Portland Group C compiler
13.16488 - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13.16489 - tmp_addflag=' $pic_flag'
13.16490 - ;;
13.16491 - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
13.16492 - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13.16493 - tmp_addflag=' $pic_flag -Mnomain' ;;
13.16494 - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13.16495 - tmp_addflag=' -i_dynamic' ;;
13.16496 - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13.16497 - tmp_addflag=' -i_dynamic -nofor_main' ;;
13.16498 - ifc* | ifort*) # Intel Fortran compiler
13.16499 - tmp_addflag=' -nofor_main' ;;
13.16500 - esac
13.16501 - archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.16502 -
13.16503 - if test $supports_anon_versioning = yes; then
13.16504 - archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
13.16505 - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13.16506 - $echo "local: *; };" >> $output_objdir/$libname.ver~
13.16507 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13.16508 - fi
13.16509 - else
13.16510 - ld_shlibs_GCJ=no
13.16511 - fi
13.16512 - ;;
13.16513 -
13.16514 - netbsd*)
13.16515 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13.16516 - archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13.16517 - wlarc=
13.16518 - else
13.16519 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.16520 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13.16521 - fi
13.16522 - ;;
13.16523 -
13.16524 - solaris* | sysv5*)
13.16525 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13.16526 - ld_shlibs_GCJ=no
13.16527 - cat <<EOF 1>&2
13.16528 -
13.16529 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
13.16530 -*** create shared libraries on Solaris systems. Therefore, libtool
13.16531 -*** is disabling shared libraries support. We urge you to upgrade GNU
13.16532 -*** binutils to release 2.9.1 or newer. Another option is to modify
13.16533 -*** your PATH or compiler configuration so that the native linker is
13.16534 -*** used, and then restart.
13.16535 -
13.16536 -EOF
13.16537 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13.16538 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.16539 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13.16540 - else
13.16541 - ld_shlibs_GCJ=no
13.16542 - fi
13.16543 - ;;
13.16544 -
13.16545 - sunos4*)
13.16546 - archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13.16547 - wlarc=
13.16548 - hardcode_direct_GCJ=yes
13.16549 - hardcode_shlibpath_var_GCJ=no
13.16550 - ;;
13.16551 -
13.16552 - *)
13.16553 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13.16554 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13.16555 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13.16556 - else
13.16557 - ld_shlibs_GCJ=no
13.16558 - fi
13.16559 - ;;
13.16560 - esac
13.16561 -
13.16562 - if test "$ld_shlibs_GCJ" = no; then
13.16563 - runpath_var=
13.16564 - hardcode_libdir_flag_spec_GCJ=
13.16565 - export_dynamic_flag_spec_GCJ=
13.16566 - whole_archive_flag_spec_GCJ=
13.16567 - fi
13.16568 - else
13.16569 - # PORTME fill in a description of your system's linker (not GNU ld)
13.16570 - case $host_os in
13.16571 - aix3*)
13.16572 - allow_undefined_flag_GCJ=unsupported
13.16573 - always_export_symbols_GCJ=yes
13.16574 - archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
13.16575 - # Note: this linker hardcodes the directories in LIBPATH if there
13.16576 - # are no directories specified by -L.
13.16577 - hardcode_minus_L_GCJ=yes
13.16578 - if test "$GCC" = yes && test -z "$link_static_flag"; then
13.16579 - # Neither direct hardcoding nor static linking is supported with a
13.16580 - # broken collect2.
13.16581 - hardcode_direct_GCJ=unsupported
13.16582 - fi
13.16583 - ;;
13.16584 -
13.16585 - aix4* | aix5*)
13.16586 - if test "$host_cpu" = ia64; then
13.16587 - # On IA64, the linker does run time linking by default, so we don't
13.16588 - # have to do anything special.
13.16589 - aix_use_runtimelinking=no
13.16590 - exp_sym_flag='-Bexport'
13.16591 - no_entry_flag=""
13.16592 - else
13.16593 - # If we're using GNU nm, then we don't want the "-C" option.
13.16594 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
13.16595 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13.16596 - export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13.16597 - else
13.16598 - export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13.16599 - fi
13.16600 - aix_use_runtimelinking=no
13.16601 -
13.16602 - # Test if we are trying to use run time linking or normal
13.16603 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13.16604 - # need to do runtime linking.
13.16605 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13.16606 - for ld_flag in $LDFLAGS; do
13.16607 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13.16608 - aix_use_runtimelinking=yes
13.16609 - break
13.16610 - fi
13.16611 - done
13.16612 - esac
13.16613 -
13.16614 - exp_sym_flag='-bexport'
13.16615 - no_entry_flag='-bnoentry'
13.16616 - fi
13.16617 -
13.16618 - # When large executables or shared objects are built, AIX ld can
13.16619 - # have problems creating the table of contents. If linking a library
13.16620 - # or program results in "error TOC overflow" add -mminimal-toc to
13.16621 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13.16622 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13.16623 -
13.16624 - archive_cmds_GCJ=''
13.16625 - hardcode_direct_GCJ=yes
13.16626 - hardcode_libdir_separator_GCJ=':'
13.16627 - link_all_deplibs_GCJ=yes
13.16628 -
13.16629 - if test "$GCC" = yes; then
13.16630 - case $host_os in aix4.[012]|aix4.[012].*)
13.16631 - # We only want to do this on AIX 4.2 and lower, the check
13.16632 - # below for broken collect2 doesn't work under 4.3+
13.16633 - collect2name=`${CC} -print-prog-name=collect2`
13.16634 - if test -f "$collect2name" && \
13.16635 - strings "$collect2name" | grep resolve_lib_name >/dev/null
13.16636 - then
13.16637 - # We have reworked collect2
13.16638 - hardcode_direct_GCJ=yes
13.16639 - else
13.16640 - # We have old collect2
13.16641 - hardcode_direct_GCJ=unsupported
13.16642 - # It fails to find uninstalled libraries when the uninstalled
13.16643 - # path is not listed in the libpath. Setting hardcode_minus_L
13.16644 - # to unsupported forces relinking
13.16645 - hardcode_minus_L_GCJ=yes
13.16646 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
13.16647 - hardcode_libdir_separator_GCJ=
13.16648 - fi
13.16649 - esac
13.16650 - shared_flag='-shared'
13.16651 - if test "$aix_use_runtimelinking" = yes; then
13.16652 - shared_flag="$shared_flag "'${wl}-G'
13.16653 - fi
13.16654 - else
13.16655 - # not using gcc
13.16656 - if test "$host_cpu" = ia64; then
13.16657 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13.16658 - # chokes on -Wl,-G. The following line is correct:
13.16659 - shared_flag='-G'
13.16660 - else
13.16661 - if test "$aix_use_runtimelinking" = yes; then
13.16662 - shared_flag='${wl}-G'
13.16663 - else
13.16664 - shared_flag='${wl}-bM:SRE'
13.16665 - fi
13.16666 - fi
13.16667 - fi
13.16668 -
13.16669 - # It seems that -bexpall does not export symbols beginning with
13.16670 - # underscore (_), so it is better to generate a list of symbols to export.
13.16671 - always_export_symbols_GCJ=yes
13.16672 - if test "$aix_use_runtimelinking" = yes; then
13.16673 - # Warning - without using the other runtime loading flags (-brtl),
13.16674 - # -berok will link without error, but may produce a broken library.
13.16675 - allow_undefined_flag_GCJ='-berok'
13.16676 - # Determine the default libpath from the value encoded in an empty executable.
13.16677 - cat >conftest.$ac_ext <<_ACEOF
13.16678 -/* confdefs.h. */
13.16679 -_ACEOF
13.16680 -cat confdefs.h >>conftest.$ac_ext
13.16681 -cat >>conftest.$ac_ext <<_ACEOF
13.16682 -/* end confdefs.h. */
13.16683 -
13.16684 -int
13.16685 -main ()
13.16686 -{
13.16687 -
13.16688 - ;
13.16689 - return 0;
13.16690 -}
13.16691 -_ACEOF
13.16692 -rm -f conftest.$ac_objext conftest$ac_exeext
13.16693 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.16694 - (eval $ac_link) 2>conftest.er1
13.16695 - ac_status=$?
13.16696 - grep -v '^ *+' conftest.er1 >conftest.err
13.16697 - rm -f conftest.er1
13.16698 - cat conftest.err >&5
13.16699 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.16700 - (exit $ac_status); } &&
13.16701 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.16702 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.16703 - (eval $ac_try) 2>&5
13.16704 - ac_status=$?
13.16705 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.16706 - (exit $ac_status); }; } &&
13.16707 - { ac_try='test -s conftest$ac_exeext'
13.16708 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.16709 - (eval $ac_try) 2>&5
13.16710 - ac_status=$?
13.16711 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.16712 - (exit $ac_status); }; }; then
13.16713 -
13.16714 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13.16715 -}'`
13.16716 -# Check for a 64-bit object if we didn't find anything.
13.16717 -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; }
13.16718 -}'`; fi
13.16719 -else
13.16720 - echo "$as_me: failed program was:" >&5
13.16721 -sed 's/^/| /' conftest.$ac_ext >&5
13.16722 -
13.16723 -fi
13.16724 -rm -f conftest.err conftest.$ac_objext \
13.16725 - conftest$ac_exeext conftest.$ac_ext
13.16726 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13.16727 -
13.16728 - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
13.16729 - archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13.16730 - else
13.16731 - if test "$host_cpu" = ia64; then
13.16732 - hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
13.16733 - allow_undefined_flag_GCJ="-z nodefs"
13.16734 - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
13.16735 - else
13.16736 - # Determine the default libpath from the value encoded in an empty executable.
13.16737 - cat >conftest.$ac_ext <<_ACEOF
13.16738 -/* confdefs.h. */
13.16739 -_ACEOF
13.16740 -cat confdefs.h >>conftest.$ac_ext
13.16741 -cat >>conftest.$ac_ext <<_ACEOF
13.16742 -/* end confdefs.h. */
13.16743 -
13.16744 -int
13.16745 -main ()
13.16746 -{
13.16747 -
13.16748 - ;
13.16749 - return 0;
13.16750 -}
13.16751 -_ACEOF
13.16752 -rm -f conftest.$ac_objext conftest$ac_exeext
13.16753 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.16754 - (eval $ac_link) 2>conftest.er1
13.16755 - ac_status=$?
13.16756 - grep -v '^ *+' conftest.er1 >conftest.err
13.16757 - rm -f conftest.er1
13.16758 - cat conftest.err >&5
13.16759 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.16760 - (exit $ac_status); } &&
13.16761 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.16762 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.16763 - (eval $ac_try) 2>&5
13.16764 - ac_status=$?
13.16765 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.16766 - (exit $ac_status); }; } &&
13.16767 - { ac_try='test -s conftest$ac_exeext'
13.16768 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.16769 - (eval $ac_try) 2>&5
13.16770 - ac_status=$?
13.16771 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.16772 - (exit $ac_status); }; }; then
13.16773 -
13.16774 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13.16775 -}'`
13.16776 -# Check for a 64-bit object if we didn't find anything.
13.16777 -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; }
13.16778 -}'`; fi
13.16779 -else
13.16780 - echo "$as_me: failed program was:" >&5
13.16781 -sed 's/^/| /' conftest.$ac_ext >&5
13.16782 -
13.16783 -fi
13.16784 -rm -f conftest.err conftest.$ac_objext \
13.16785 - conftest$ac_exeext conftest.$ac_ext
13.16786 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13.16787 -
13.16788 - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
13.16789 - # Warning - without using the other run time loading flags,
13.16790 - # -berok will link without error, but may produce a broken library.
13.16791 - no_undefined_flag_GCJ=' ${wl}-bernotok'
13.16792 - allow_undefined_flag_GCJ=' ${wl}-berok'
13.16793 - # -bexpall does not export symbols beginning with underscore (_)
13.16794 - always_export_symbols_GCJ=yes
13.16795 - # Exported symbols can be pulled into shared objects from archives
13.16796 - whole_archive_flag_spec_GCJ=' '
13.16797 - archive_cmds_need_lc_GCJ=yes
13.16798 - # This is similar to how AIX traditionally builds its shared libraries.
13.16799 - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13.16800 - fi
13.16801 - fi
13.16802 - ;;
13.16803 -
13.16804 - amigaos*)
13.16805 - archive_cmds_GCJ='$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)'
13.16806 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
13.16807 - hardcode_minus_L_GCJ=yes
13.16808 - # see comment about different semantics on the GNU ld section
13.16809 - ld_shlibs_GCJ=no
13.16810 - ;;
13.16811 -
13.16812 - bsdi[45]*)
13.16813 - export_dynamic_flag_spec_GCJ=-rdynamic
13.16814 - ;;
13.16815 -
13.16816 - cygwin* | mingw* | pw32*)
13.16817 - # When not using gcc, we currently assume that we are using
13.16818 - # Microsoft Visual C++.
13.16819 - # hardcode_libdir_flag_spec is actually meaningless, as there is
13.16820 - # no search path for DLLs.
13.16821 - hardcode_libdir_flag_spec_GCJ=' '
13.16822 - allow_undefined_flag_GCJ=unsupported
13.16823 - # Tell ltmain to make .lib files, not .a files.
13.16824 - libext=lib
13.16825 - # Tell ltmain to make .dll files, not .so files.
13.16826 - shrext_cmds=".dll"
13.16827 - # FIXME: Setting linknames here is a bad hack.
13.16828 - archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13.16829 - # The linker will automatically build a .lib file if we build a DLL.
13.16830 - old_archive_From_new_cmds_GCJ='true'
13.16831 - # FIXME: Should let the user specify the lib program.
13.16832 - old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
13.16833 - fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
13.16834 - enable_shared_with_static_runtimes_GCJ=yes
13.16835 - ;;
13.16836 -
13.16837 - darwin* | rhapsody*)
13.16838 - case $host_os in
13.16839 - rhapsody* | darwin1.[012])
13.16840 - allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
13.16841 - ;;
13.16842 - *) # Darwin 1.3 on
13.16843 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13.16844 - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13.16845 - else
13.16846 - case ${MACOSX_DEPLOYMENT_TARGET} in
13.16847 - 10.[012])
13.16848 - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13.16849 - ;;
13.16850 - 10.*)
13.16851 - allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
13.16852 - ;;
13.16853 - esac
13.16854 - fi
13.16855 - ;;
13.16856 - esac
13.16857 - archive_cmds_need_lc_GCJ=no
13.16858 - hardcode_direct_GCJ=no
13.16859 - hardcode_automatic_GCJ=yes
13.16860 - hardcode_shlibpath_var_GCJ=unsupported
13.16861 - whole_archive_flag_spec_GCJ=''
13.16862 - link_all_deplibs_GCJ=yes
13.16863 - if test "$GCC" = yes ; then
13.16864 - output_verbose_link_cmd='echo'
13.16865 - archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13.16866 - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13.16867 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13.16868 - archive_expsym_cmds_GCJ='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}'
13.16869 - module_expsym_cmds_GCJ='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}'
13.16870 - else
13.16871 - case $cc_basename in
13.16872 - xlc*)
13.16873 - output_verbose_link_cmd='echo'
13.16874 - archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
13.16875 - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13.16876 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13.16877 - archive_expsym_cmds_GCJ='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}'
13.16878 - module_expsym_cmds_GCJ='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}'
13.16879 - ;;
13.16880 - *)
13.16881 - ld_shlibs_GCJ=no
13.16882 - ;;
13.16883 - esac
13.16884 - fi
13.16885 - ;;
13.16886 -
13.16887 - dgux*)
13.16888 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.16889 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
13.16890 - hardcode_shlibpath_var_GCJ=no
13.16891 - ;;
13.16892 -
13.16893 - freebsd1*)
13.16894 - ld_shlibs_GCJ=no
13.16895 - ;;
13.16896 -
13.16897 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13.16898 - # support. Future versions do this automatically, but an explicit c++rt0.o
13.16899 - # does not break anything, and helps significantly (at the cost of a little
13.16900 - # extra space).
13.16901 - freebsd2.2*)
13.16902 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13.16903 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
13.16904 - hardcode_direct_GCJ=yes
13.16905 - hardcode_shlibpath_var_GCJ=no
13.16906 - ;;
13.16907 -
13.16908 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13.16909 - freebsd2*)
13.16910 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13.16911 - hardcode_direct_GCJ=yes
13.16912 - hardcode_minus_L_GCJ=yes
13.16913 - hardcode_shlibpath_var_GCJ=no
13.16914 - ;;
13.16915 -
13.16916 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13.16917 - freebsd* | kfreebsd*-gnu | dragonfly*)
13.16918 - archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13.16919 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
13.16920 - hardcode_direct_GCJ=yes
13.16921 - hardcode_shlibpath_var_GCJ=no
13.16922 - ;;
13.16923 -
13.16924 - hpux9*)
13.16925 - if test "$GCC" = yes; then
13.16926 - archive_cmds_GCJ='$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'
13.16927 - else
13.16928 - archive_cmds_GCJ='$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'
13.16929 - fi
13.16930 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
13.16931 - hardcode_libdir_separator_GCJ=:
13.16932 - hardcode_direct_GCJ=yes
13.16933 -
13.16934 - # hardcode_minus_L: Not really in the search PATH,
13.16935 - # but as the default location of the library.
13.16936 - hardcode_minus_L_GCJ=yes
13.16937 - export_dynamic_flag_spec_GCJ='${wl}-E'
13.16938 - ;;
13.16939 -
13.16940 - hpux10* | hpux11*)
13.16941 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13.16942 - case $host_cpu in
13.16943 - hppa*64*|ia64*)
13.16944 - archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13.16945 - ;;
13.16946 - *)
13.16947 - archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13.16948 - ;;
13.16949 - esac
13.16950 - else
13.16951 - case $host_cpu in
13.16952 - hppa*64*|ia64*)
13.16953 - archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13.16954 - ;;
13.16955 - *)
13.16956 - archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13.16957 - ;;
13.16958 - esac
13.16959 - fi
13.16960 - if test "$with_gnu_ld" = no; then
13.16961 - case $host_cpu in
13.16962 - hppa*64*)
13.16963 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
13.16964 - hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
13.16965 - hardcode_libdir_separator_GCJ=:
13.16966 - hardcode_direct_GCJ=no
13.16967 - hardcode_shlibpath_var_GCJ=no
13.16968 - ;;
13.16969 - ia64*)
13.16970 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
13.16971 - hardcode_direct_GCJ=no
13.16972 - hardcode_shlibpath_var_GCJ=no
13.16973 -
13.16974 - # hardcode_minus_L: Not really in the search PATH,
13.16975 - # but as the default location of the library.
13.16976 - hardcode_minus_L_GCJ=yes
13.16977 - ;;
13.16978 - *)
13.16979 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
13.16980 - hardcode_libdir_separator_GCJ=:
13.16981 - hardcode_direct_GCJ=yes
13.16982 - export_dynamic_flag_spec_GCJ='${wl}-E'
13.16983 -
13.16984 - # hardcode_minus_L: Not really in the search PATH,
13.16985 - # but as the default location of the library.
13.16986 - hardcode_minus_L_GCJ=yes
13.16987 - ;;
13.16988 - esac
13.16989 - fi
13.16990 - ;;
13.16991 -
13.16992 - irix5* | irix6* | nonstopux*)
13.16993 - if test "$GCC" = yes; then
13.16994 - archive_cmds_GCJ='$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'
13.16995 - else
13.16996 - archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13.16997 - hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
13.16998 - fi
13.16999 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
13.17000 - hardcode_libdir_separator_GCJ=:
13.17001 - link_all_deplibs_GCJ=yes
13.17002 - ;;
13.17003 -
13.17004 - netbsd*)
13.17005 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13.17006 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13.17007 - else
13.17008 - archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13.17009 - fi
13.17010 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
13.17011 - hardcode_direct_GCJ=yes
13.17012 - hardcode_shlibpath_var_GCJ=no
13.17013 - ;;
13.17014 -
13.17015 - newsos6)
13.17016 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.17017 - hardcode_direct_GCJ=yes
13.17018 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
13.17019 - hardcode_libdir_separator_GCJ=:
13.17020 - hardcode_shlibpath_var_GCJ=no
13.17021 - ;;
13.17022 -
13.17023 - openbsd*)
13.17024 - hardcode_direct_GCJ=yes
13.17025 - hardcode_shlibpath_var_GCJ=no
13.17026 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13.17027 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13.17028 - archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13.17029 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
13.17030 - export_dynamic_flag_spec_GCJ='${wl}-E'
13.17031 - else
13.17032 - case $host_os in
13.17033 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13.17034 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13.17035 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
13.17036 - ;;
13.17037 - *)
13.17038 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13.17039 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
13.17040 - ;;
13.17041 - esac
13.17042 - fi
13.17043 - ;;
13.17044 -
13.17045 - os2*)
13.17046 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
13.17047 - hardcode_minus_L_GCJ=yes
13.17048 - allow_undefined_flag_GCJ=unsupported
13.17049 - archive_cmds_GCJ='$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'
13.17050 - old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13.17051 - ;;
13.17052 -
13.17053 - osf3*)
13.17054 - if test "$GCC" = yes; then
13.17055 - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
13.17056 - archive_cmds_GCJ='$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'
13.17057 - else
13.17058 - allow_undefined_flag_GCJ=' -expect_unresolved \*'
13.17059 - archive_cmds_GCJ='$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'
13.17060 - fi
13.17061 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
13.17062 - hardcode_libdir_separator_GCJ=:
13.17063 - ;;
13.17064 -
13.17065 - osf4* | osf5*) # as osf3* with the addition of -msym flag
13.17066 - if test "$GCC" = yes; then
13.17067 - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
13.17068 - archive_cmds_GCJ='$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'
13.17069 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
13.17070 - else
13.17071 - allow_undefined_flag_GCJ=' -expect_unresolved \*'
13.17072 - archive_cmds_GCJ='$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'
13.17073 - archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
13.17074 - $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'
13.17075 -
13.17076 - # Both c and cxx compiler support -rpath directly
13.17077 - hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
13.17078 - fi
13.17079 - hardcode_libdir_separator_GCJ=:
13.17080 - ;;
13.17081 -
13.17082 - sco3.2v5*)
13.17083 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.17084 - hardcode_shlibpath_var_GCJ=no
13.17085 - export_dynamic_flag_spec_GCJ='${wl}-Bexport'
13.17086 - runpath_var=LD_RUN_PATH
13.17087 - hardcode_runpath_var=yes
13.17088 - ;;
13.17089 -
13.17090 - solaris*)
13.17091 - no_undefined_flag_GCJ=' -z text'
13.17092 - if test "$GCC" = yes; then
13.17093 - wlarc='${wl}'
13.17094 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13.17095 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13.17096 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13.17097 - else
13.17098 - wlarc=''
13.17099 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.17100 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13.17101 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13.17102 - fi
13.17103 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
13.17104 - hardcode_shlibpath_var_GCJ=no
13.17105 - case $host_os in
13.17106 - solaris2.[0-5] | solaris2.[0-5].*) ;;
13.17107 - *)
13.17108 - # The compiler driver will combine linker options so we
13.17109 - # cannot just pass the convience library names through
13.17110 - # without $wl, iff we do not link with $LD.
13.17111 - # Luckily, gcc supports the same syntax we need for Sun Studio.
13.17112 - # Supported since Solaris 2.6 (maybe 2.5.1?)
13.17113 - case $wlarc in
13.17114 - '')
13.17115 - whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
13.17116 - *)
13.17117 - whole_archive_flag_spec_GCJ='${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' ;;
13.17118 - esac ;;
13.17119 - esac
13.17120 - link_all_deplibs_GCJ=yes
13.17121 - ;;
13.17122 -
13.17123 - sunos4*)
13.17124 - if test "x$host_vendor" = xsequent; then
13.17125 - # Use $CC to link under sequent, because it throws in some extra .o
13.17126 - # files that make .init and .fini sections work.
13.17127 - archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13.17128 - else
13.17129 - archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13.17130 - fi
13.17131 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
13.17132 - hardcode_direct_GCJ=yes
13.17133 - hardcode_minus_L_GCJ=yes
13.17134 - hardcode_shlibpath_var_GCJ=no
13.17135 - ;;
13.17136 -
13.17137 - sysv4)
13.17138 - case $host_vendor in
13.17139 - sni)
13.17140 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.17141 - hardcode_direct_GCJ=yes # is this really true???
13.17142 - ;;
13.17143 - siemens)
13.17144 - ## LD is ld it makes a PLAMLIB
13.17145 - ## CC just makes a GrossModule.
13.17146 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13.17147 - reload_cmds_GCJ='$CC -r -o $output$reload_objs'
13.17148 - hardcode_direct_GCJ=no
13.17149 - ;;
13.17150 - motorola)
13.17151 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.17152 - hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
13.17153 - ;;
13.17154 - esac
13.17155 - runpath_var='LD_RUN_PATH'
13.17156 - hardcode_shlibpath_var_GCJ=no
13.17157 - ;;
13.17158 -
13.17159 - sysv4.3*)
13.17160 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.17161 - hardcode_shlibpath_var_GCJ=no
13.17162 - export_dynamic_flag_spec_GCJ='-Bexport'
13.17163 - ;;
13.17164 -
13.17165 - sysv4*MP*)
13.17166 - if test -d /usr/nec; then
13.17167 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.17168 - hardcode_shlibpath_var_GCJ=no
13.17169 - runpath_var=LD_RUN_PATH
13.17170 - hardcode_runpath_var=yes
13.17171 - ld_shlibs_GCJ=yes
13.17172 - fi
13.17173 - ;;
13.17174 -
13.17175 - sysv4.2uw2*)
13.17176 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13.17177 - hardcode_direct_GCJ=yes
13.17178 - hardcode_minus_L_GCJ=no
13.17179 - hardcode_shlibpath_var_GCJ=no
13.17180 - hardcode_runpath_var=yes
13.17181 - runpath_var=LD_RUN_PATH
13.17182 - ;;
13.17183 -
13.17184 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13.17185 - no_undefined_flag_GCJ='${wl}-z ${wl}text'
13.17186 - if test "$GCC" = yes; then
13.17187 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13.17188 - else
13.17189 - archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13.17190 - fi
13.17191 - runpath_var='LD_RUN_PATH'
13.17192 - hardcode_shlibpath_var_GCJ=no
13.17193 - ;;
13.17194 -
13.17195 - sysv5*)
13.17196 - no_undefined_flag_GCJ=' -z text'
13.17197 - # $CC -shared without GNU ld will not create a library from C++
13.17198 - # object files and a static libstdc++, better avoid it by now
13.17199 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.17200 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13.17201 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13.17202 - hardcode_libdir_flag_spec_GCJ=
13.17203 - hardcode_shlibpath_var_GCJ=no
13.17204 - runpath_var='LD_RUN_PATH'
13.17205 - ;;
13.17206 -
13.17207 - uts4*)
13.17208 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13.17209 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
13.17210 - hardcode_shlibpath_var_GCJ=no
13.17211 - ;;
13.17212 -
13.17213 - *)
13.17214 - ld_shlibs_GCJ=no
13.17215 - ;;
13.17216 - esac
13.17217 - fi
13.17218 -
13.17219 -echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
13.17220 -echo "${ECHO_T}$ld_shlibs_GCJ" >&6
13.17221 -test "$ld_shlibs_GCJ" = no && can_build_shared=no
13.17222 -
13.17223 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13.17224 -if test "$GCC" = yes; then
13.17225 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13.17226 -fi
13.17227 -
13.17228 -#
13.17229 -# Do we need to explicitly link libc?
13.17230 -#
13.17231 -case "x$archive_cmds_need_lc_GCJ" in
13.17232 -x|xyes)
13.17233 - # Assume -lc should be added
13.17234 - archive_cmds_need_lc_GCJ=yes
13.17235 -
13.17236 - if test "$enable_shared" = yes && test "$GCC" = yes; then
13.17237 - case $archive_cmds_GCJ in
13.17238 - *'~'*)
13.17239 - # FIXME: we may have to deal with multi-command sequences.
13.17240 - ;;
13.17241 - '$CC '*)
13.17242 - # Test whether the compiler implicitly links with -lc since on some
13.17243 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
13.17244 - # to ld, don't add -lc before -lgcc.
13.17245 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13.17246 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13.17247 - $rm conftest*
13.17248 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13.17249 -
13.17250 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.17251 - (eval $ac_compile) 2>&5
13.17252 - ac_status=$?
13.17253 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.17254 - (exit $ac_status); } 2>conftest.err; then
13.17255 - soname=conftest
13.17256 - lib=conftest
13.17257 - libobjs=conftest.$ac_objext
13.17258 - deplibs=
13.17259 - wl=$lt_prog_compiler_wl_GCJ
13.17260 - compiler_flags=-v
13.17261 - linker_flags=-v
13.17262 - verstring=
13.17263 - output_objdir=.
13.17264 - libname=conftest
13.17265 - lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
13.17266 - allow_undefined_flag_GCJ=
13.17267 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13.17268 - (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13.17269 - ac_status=$?
13.17270 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.17271 - (exit $ac_status); }
13.17272 - then
13.17273 - archive_cmds_need_lc_GCJ=no
13.17274 - else
13.17275 - archive_cmds_need_lc_GCJ=yes
13.17276 - fi
13.17277 - allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
13.17278 - else
13.17279 - cat conftest.err 1>&5
13.17280 - fi
13.17281 - $rm conftest*
13.17282 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
13.17283 -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
13.17284 - ;;
13.17285 - esac
13.17286 - fi
13.17287 - ;;
13.17288 -esac
13.17289 -
13.17290 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13.17291 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13.17292 -library_names_spec=
13.17293 -libname_spec='lib$name'
13.17294 -soname_spec=
13.17295 -shrext_cmds=".so"
13.17296 -postinstall_cmds=
13.17297 -postuninstall_cmds=
13.17298 -finish_cmds=
13.17299 -finish_eval=
13.17300 -shlibpath_var=
13.17301 -shlibpath_overrides_runpath=unknown
13.17302 -version_type=none
13.17303 -dynamic_linker="$host_os ld.so"
13.17304 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
13.17305 -if test "$GCC" = yes; then
13.17306 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13.17307 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
13.17308 - # if the path contains ";" then we assume it to be the separator
13.17309 - # otherwise default to the standard path separator (i.e. ":") - it is
13.17310 - # assumed that no part of a normal pathname contains ";" but that should
13.17311 - # okay in the real world where ";" in dirpaths is itself problematic.
13.17312 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13.17313 - else
13.17314 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13.17315 - fi
13.17316 -else
13.17317 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13.17318 -fi
13.17319 -need_lib_prefix=unknown
13.17320 -hardcode_into_libs=no
13.17321 -
13.17322 -# when you set need_version to no, make sure it does not cause -set_version
13.17323 -# flags to be left without arguments
13.17324 -need_version=unknown
13.17325 -
13.17326 -case $host_os in
13.17327 -aix3*)
13.17328 - version_type=linux
13.17329 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13.17330 - shlibpath_var=LIBPATH
13.17331 -
13.17332 - # AIX 3 has no versioning support, so we append a major version to the name.
13.17333 - soname_spec='${libname}${release}${shared_ext}$major'
13.17334 - ;;
13.17335 -
13.17336 -aix4* | aix5*)
13.17337 - version_type=linux
13.17338 - need_lib_prefix=no
13.17339 - need_version=no
13.17340 - hardcode_into_libs=yes
13.17341 - if test "$host_cpu" = ia64; then
13.17342 - # AIX 5 supports IA64
13.17343 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13.17344 - shlibpath_var=LD_LIBRARY_PATH
13.17345 - else
13.17346 - # With GCC up to 2.95.x, collect2 would create an import file
13.17347 - # for dependence libraries. The import file would start with
13.17348 - # the line `#! .'. This would cause the generated library to
13.17349 - # depend on `.', always an invalid library. This was fixed in
13.17350 - # development snapshots of GCC prior to 3.0.
13.17351 - case $host_os in
13.17352 - aix4 | aix4.[01] | aix4.[01].*)
13.17353 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13.17354 - echo ' yes '
13.17355 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13.17356 - :
13.17357 - else
13.17358 - can_build_shared=no
13.17359 - fi
13.17360 - ;;
13.17361 - esac
13.17362 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13.17363 - # soname into executable. Probably we can add versioning support to
13.17364 - # collect2, so additional links can be useful in future.
13.17365 - if test "$aix_use_runtimelinking" = yes; then
13.17366 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13.17367 - # instead of lib<name>.a to let people know that these are not
13.17368 - # typical AIX shared libraries.
13.17369 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.17370 - else
13.17371 - # We preserve .a as extension for shared libraries through AIX4.2
13.17372 - # and later when we are not doing run time linking.
13.17373 - library_names_spec='${libname}${release}.a $libname.a'
13.17374 - soname_spec='${libname}${release}${shared_ext}$major'
13.17375 - fi
13.17376 - shlibpath_var=LIBPATH
13.17377 - fi
13.17378 - ;;
13.17379 -
13.17380 -amigaos*)
13.17381 - library_names_spec='$libname.ixlibrary $libname.a'
13.17382 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
13.17383 - 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'
13.17384 - ;;
13.17385 -
13.17386 -beos*)
13.17387 - library_names_spec='${libname}${shared_ext}'
13.17388 - dynamic_linker="$host_os ld.so"
13.17389 - shlibpath_var=LIBRARY_PATH
13.17390 - ;;
13.17391 -
13.17392 -bsdi[45]*)
13.17393 - version_type=linux
13.17394 - need_version=no
13.17395 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.17396 - soname_spec='${libname}${release}${shared_ext}$major'
13.17397 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13.17398 - shlibpath_var=LD_LIBRARY_PATH
13.17399 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13.17400 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13.17401 - # the default ld.so.conf also contains /usr/contrib/lib and
13.17402 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13.17403 - # libtool to hard-code these into programs
13.17404 - ;;
13.17405 -
13.17406 -cygwin* | mingw* | pw32*)
13.17407 - version_type=windows
13.17408 - shrext_cmds=".dll"
13.17409 - need_version=no
13.17410 - need_lib_prefix=no
13.17411 -
13.17412 - case $GCC,$host_os in
13.17413 - yes,cygwin* | yes,mingw* | yes,pw32*)
13.17414 - library_names_spec='$libname.dll.a'
13.17415 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
13.17416 - postinstall_cmds='base_file=`basename \${file}`~
13.17417 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13.17418 - dldir=$destdir/`dirname \$dlpath`~
13.17419 - test -d \$dldir || mkdir -p \$dldir~
13.17420 - $install_prog $dir/$dlname \$dldir/$dlname~
13.17421 - chmod a+x \$dldir/$dlname'
13.17422 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13.17423 - dlpath=$dir/\$dldll~
13.17424 - $rm \$dlpath'
13.17425 - shlibpath_overrides_runpath=yes
13.17426 -
13.17427 - case $host_os in
13.17428 - cygwin*)
13.17429 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13.17430 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13.17431 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13.17432 - ;;
13.17433 - mingw*)
13.17434 - # MinGW DLLs use traditional 'lib' prefix
13.17435 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13.17436 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13.17437 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13.17438 - # It is most probably a Windows format PATH printed by
13.17439 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
13.17440 - # path with ; separators, and with drive letters. We can handle the
13.17441 - # drive letters (cygwin fileutils understands them), so leave them,
13.17442 - # especially as we might pass files found there to a mingw objdump,
13.17443 - # which wouldn't understand a cygwinified path. Ahh.
13.17444 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13.17445 - else
13.17446 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13.17447 - fi
13.17448 - ;;
13.17449 - pw32*)
13.17450 - # pw32 DLLs use 'pw' prefix rather than 'lib'
13.17451 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13.17452 - ;;
13.17453 - esac
13.17454 - ;;
13.17455 -
13.17456 - *)
13.17457 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13.17458 - ;;
13.17459 - esac
13.17460 - dynamic_linker='Win32 ld.exe'
13.17461 - # FIXME: first we should search . and the directory the executable is in
13.17462 - shlibpath_var=PATH
13.17463 - ;;
13.17464 -
13.17465 -darwin* | rhapsody*)
13.17466 - dynamic_linker="$host_os dyld"
13.17467 - version_type=darwin
13.17468 - need_lib_prefix=no
13.17469 - need_version=no
13.17470 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13.17471 - soname_spec='${libname}${release}${major}$shared_ext'
13.17472 - shlibpath_overrides_runpath=yes
13.17473 - shlibpath_var=DYLD_LIBRARY_PATH
13.17474 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13.17475 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13.17476 - if test "$GCC" = yes; then
13.17477 - 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"`
13.17478 - else
13.17479 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
13.17480 - fi
13.17481 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13.17482 - ;;
13.17483 -
13.17484 -dgux*)
13.17485 - version_type=linux
13.17486 - need_lib_prefix=no
13.17487 - need_version=no
13.17488 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13.17489 - soname_spec='${libname}${release}${shared_ext}$major'
13.17490 - shlibpath_var=LD_LIBRARY_PATH
13.17491 - ;;
13.17492 -
13.17493 -freebsd1*)
13.17494 - dynamic_linker=no
13.17495 - ;;
13.17496 -
13.17497 -kfreebsd*-gnu)
13.17498 - version_type=linux
13.17499 - need_lib_prefix=no
13.17500 - need_version=no
13.17501 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13.17502 - soname_spec='${libname}${release}${shared_ext}$major'
13.17503 - shlibpath_var=LD_LIBRARY_PATH
13.17504 - shlibpath_overrides_runpath=no
13.17505 - hardcode_into_libs=yes
13.17506 - dynamic_linker='GNU ld.so'
13.17507 - ;;
13.17508 -
13.17509 -freebsd* | dragonfly*)
13.17510 - # DragonFly does not have aout. When/if they implement a new
13.17511 - # versioning mechanism, adjust this.
13.17512 - if test -x /usr/bin/objformat; then
13.17513 - objformat=`/usr/bin/objformat`
13.17514 - else
13.17515 - case $host_os in
13.17516 - freebsd[123]*) objformat=aout ;;
13.17517 - *) objformat=elf ;;
13.17518 - esac
13.17519 - fi
13.17520 - version_type=freebsd-$objformat
13.17521 - case $version_type in
13.17522 - freebsd-elf*)
13.17523 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13.17524 - need_version=no
13.17525 - need_lib_prefix=no
13.17526 - ;;
13.17527 - freebsd-*)
13.17528 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13.17529 - need_version=yes
13.17530 - ;;
13.17531 - esac
13.17532 - shlibpath_var=LD_LIBRARY_PATH
13.17533 - case $host_os in
13.17534 - freebsd2*)
13.17535 - shlibpath_overrides_runpath=yes
13.17536 - ;;
13.17537 - freebsd3.[01]* | freebsdelf3.[01]*)
13.17538 - shlibpath_overrides_runpath=yes
13.17539 - hardcode_into_libs=yes
13.17540 - ;;
13.17541 - *) # from 3.2 on
13.17542 - shlibpath_overrides_runpath=no
13.17543 - hardcode_into_libs=yes
13.17544 - ;;
13.17545 - esac
13.17546 - ;;
13.17547 -
13.17548 -gnu*)
13.17549 - version_type=linux
13.17550 - need_lib_prefix=no
13.17551 - need_version=no
13.17552 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13.17553 - soname_spec='${libname}${release}${shared_ext}$major'
13.17554 - shlibpath_var=LD_LIBRARY_PATH
13.17555 - hardcode_into_libs=yes
13.17556 - ;;
13.17557 -
13.17558 -hpux9* | hpux10* | hpux11*)
13.17559 - # Give a soname corresponding to the major version so that dld.sl refuses to
13.17560 - # link against other versions.
13.17561 - version_type=sunos
13.17562 - need_lib_prefix=no
13.17563 - need_version=no
13.17564 - case $host_cpu in
13.17565 - ia64*)
13.17566 - shrext_cmds='.so'
13.17567 - hardcode_into_libs=yes
13.17568 - dynamic_linker="$host_os dld.so"
13.17569 - shlibpath_var=LD_LIBRARY_PATH
13.17570 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13.17571 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.17572 - soname_spec='${libname}${release}${shared_ext}$major'
13.17573 - if test "X$HPUX_IA64_MODE" = X32; then
13.17574 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13.17575 - else
13.17576 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13.17577 - fi
13.17578 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13.17579 - ;;
13.17580 - hppa*64*)
13.17581 - shrext_cmds='.sl'
13.17582 - hardcode_into_libs=yes
13.17583 - dynamic_linker="$host_os dld.sl"
13.17584 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13.17585 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13.17586 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.17587 - soname_spec='${libname}${release}${shared_ext}$major'
13.17588 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13.17589 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13.17590 - ;;
13.17591 - *)
13.17592 - shrext_cmds='.sl'
13.17593 - dynamic_linker="$host_os dld.sl"
13.17594 - shlibpath_var=SHLIB_PATH
13.17595 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13.17596 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.17597 - soname_spec='${libname}${release}${shared_ext}$major'
13.17598 - ;;
13.17599 - esac
13.17600 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
13.17601 - postinstall_cmds='chmod 555 $lib'
13.17602 - ;;
13.17603 -
13.17604 -irix5* | irix6* | nonstopux*)
13.17605 - case $host_os in
13.17606 - nonstopux*) version_type=nonstopux ;;
13.17607 - *)
13.17608 - if test "$lt_cv_prog_gnu_ld" = yes; then
13.17609 - version_type=linux
13.17610 - else
13.17611 - version_type=irix
13.17612 - fi ;;
13.17613 - esac
13.17614 - need_lib_prefix=no
13.17615 - need_version=no
13.17616 - soname_spec='${libname}${release}${shared_ext}$major'
13.17617 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13.17618 - case $host_os in
13.17619 - irix5* | nonstopux*)
13.17620 - libsuff= shlibsuff=
13.17621 - ;;
13.17622 - *)
13.17623 - case $LD in # libtool.m4 will add one of these switches to LD
13.17624 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13.17625 - libsuff= shlibsuff= libmagic=32-bit;;
13.17626 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13.17627 - libsuff=32 shlibsuff=N32 libmagic=N32;;
13.17628 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13.17629 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
13.17630 - *) libsuff= shlibsuff= libmagic=never-match;;
13.17631 - esac
13.17632 - ;;
13.17633 - esac
13.17634 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13.17635 - shlibpath_overrides_runpath=no
13.17636 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13.17637 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13.17638 - hardcode_into_libs=yes
13.17639 - ;;
13.17640 -
13.17641 -# No shared lib support for Linux oldld, aout, or coff.
13.17642 -linux*oldld* | linux*aout* | linux*coff*)
13.17643 - dynamic_linker=no
13.17644 - ;;
13.17645 -
13.17646 -# This must be Linux ELF.
13.17647 -linux*)
13.17648 - version_type=linux
13.17649 - need_lib_prefix=no
13.17650 - need_version=no
13.17651 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.17652 - soname_spec='${libname}${release}${shared_ext}$major'
13.17653 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13.17654 - shlibpath_var=LD_LIBRARY_PATH
13.17655 - shlibpath_overrides_runpath=no
13.17656 - # This implies no fast_install, which is unacceptable.
13.17657 - # Some rework will be needed to allow for fast_install
13.17658 - # before this can be enabled.
13.17659 - hardcode_into_libs=yes
13.17660 -
13.17661 - # Append ld.so.conf contents to the search path
13.17662 - if test -f /etc/ld.so.conf; then
13.17663 - 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' ' '`
13.17664 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13.17665 - fi
13.17666 -
13.17667 - # We used to test for /lib/ld.so.1 and disable shared libraries on
13.17668 - # powerpc, because MkLinux only supported shared libraries with the
13.17669 - # GNU dynamic linker. Since this was broken with cross compilers,
13.17670 - # most powerpc-linux boxes support dynamic linking these days and
13.17671 - # people can always --disable-shared, the test was removed, and we
13.17672 - # assume the GNU/Linux dynamic linker is in use.
13.17673 - dynamic_linker='GNU/Linux ld.so'
13.17674 - ;;
13.17675 -
13.17676 -knetbsd*-gnu)
13.17677 - version_type=linux
13.17678 - need_lib_prefix=no
13.17679 - need_version=no
13.17680 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13.17681 - soname_spec='${libname}${release}${shared_ext}$major'
13.17682 - shlibpath_var=LD_LIBRARY_PATH
13.17683 - shlibpath_overrides_runpath=no
13.17684 - hardcode_into_libs=yes
13.17685 - dynamic_linker='GNU ld.so'
13.17686 - ;;
13.17687 -
13.17688 -netbsd*)
13.17689 - version_type=sunos
13.17690 - need_lib_prefix=no
13.17691 - need_version=no
13.17692 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13.17693 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13.17694 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13.17695 - dynamic_linker='NetBSD (a.out) ld.so'
13.17696 - else
13.17697 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13.17698 - soname_spec='${libname}${release}${shared_ext}$major'
13.17699 - dynamic_linker='NetBSD ld.elf_so'
13.17700 - fi
13.17701 - shlibpath_var=LD_LIBRARY_PATH
13.17702 - shlibpath_overrides_runpath=yes
13.17703 - hardcode_into_libs=yes
13.17704 - ;;
13.17705 -
13.17706 -newsos6)
13.17707 - version_type=linux
13.17708 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.17709 - shlibpath_var=LD_LIBRARY_PATH
13.17710 - shlibpath_overrides_runpath=yes
13.17711 - ;;
13.17712 -
13.17713 -nto-qnx*)
13.17714 - version_type=linux
13.17715 - need_lib_prefix=no
13.17716 - need_version=no
13.17717 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.17718 - soname_spec='${libname}${release}${shared_ext}$major'
13.17719 - shlibpath_var=LD_LIBRARY_PATH
13.17720 - shlibpath_overrides_runpath=yes
13.17721 - ;;
13.17722 -
13.17723 -openbsd*)
13.17724 - version_type=sunos
13.17725 - need_lib_prefix=no
13.17726 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13.17727 - case $host_os in
13.17728 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13.17729 - *) need_version=no ;;
13.17730 - esac
13.17731 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13.17732 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13.17733 - shlibpath_var=LD_LIBRARY_PATH
13.17734 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13.17735 - case $host_os in
13.17736 - openbsd2.[89] | openbsd2.[89].*)
13.17737 - shlibpath_overrides_runpath=no
13.17738 - ;;
13.17739 - *)
13.17740 - shlibpath_overrides_runpath=yes
13.17741 - ;;
13.17742 - esac
13.17743 - else
13.17744 - shlibpath_overrides_runpath=yes
13.17745 - fi
13.17746 - ;;
13.17747 -
13.17748 -os2*)
13.17749 - libname_spec='$name'
13.17750 - shrext_cmds=".dll"
13.17751 - need_lib_prefix=no
13.17752 - library_names_spec='$libname${shared_ext} $libname.a'
13.17753 - dynamic_linker='OS/2 ld.exe'
13.17754 - shlibpath_var=LIBPATH
13.17755 - ;;
13.17756 -
13.17757 -osf3* | osf4* | osf5*)
13.17758 - version_type=osf
13.17759 - need_lib_prefix=no
13.17760 - need_version=no
13.17761 - soname_spec='${libname}${release}${shared_ext}$major'
13.17762 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.17763 - shlibpath_var=LD_LIBRARY_PATH
13.17764 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13.17765 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13.17766 - ;;
13.17767 -
13.17768 -sco3.2v5*)
13.17769 - version_type=osf
13.17770 - soname_spec='${libname}${release}${shared_ext}$major'
13.17771 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.17772 - shlibpath_var=LD_LIBRARY_PATH
13.17773 - ;;
13.17774 -
13.17775 -solaris*)
13.17776 - version_type=linux
13.17777 - need_lib_prefix=no
13.17778 - need_version=no
13.17779 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.17780 - soname_spec='${libname}${release}${shared_ext}$major'
13.17781 - shlibpath_var=LD_LIBRARY_PATH
13.17782 - shlibpath_overrides_runpath=yes
13.17783 - hardcode_into_libs=yes
13.17784 - # ldd complains unless libraries are executable
13.17785 - postinstall_cmds='chmod +x $lib'
13.17786 - ;;
13.17787 -
13.17788 -sunos4*)
13.17789 - version_type=sunos
13.17790 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13.17791 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13.17792 - shlibpath_var=LD_LIBRARY_PATH
13.17793 - shlibpath_overrides_runpath=yes
13.17794 - if test "$with_gnu_ld" = yes; then
13.17795 - need_lib_prefix=no
13.17796 - fi
13.17797 - need_version=yes
13.17798 - ;;
13.17799 -
13.17800 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13.17801 - version_type=linux
13.17802 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.17803 - soname_spec='${libname}${release}${shared_ext}$major'
13.17804 - shlibpath_var=LD_LIBRARY_PATH
13.17805 - case $host_vendor in
13.17806 - sni)
13.17807 - shlibpath_overrides_runpath=no
13.17808 - need_lib_prefix=no
13.17809 - export_dynamic_flag_spec='${wl}-Blargedynsym'
13.17810 - runpath_var=LD_RUN_PATH
13.17811 - ;;
13.17812 - siemens)
13.17813 - need_lib_prefix=no
13.17814 - ;;
13.17815 - motorola)
13.17816 - need_lib_prefix=no
13.17817 - need_version=no
13.17818 - shlibpath_overrides_runpath=no
13.17819 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13.17820 - ;;
13.17821 - esac
13.17822 - ;;
13.17823 -
13.17824 -sysv4*MP*)
13.17825 - if test -d /usr/nec ;then
13.17826 - version_type=linux
13.17827 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13.17828 - soname_spec='$libname${shared_ext}.$major'
13.17829 - shlibpath_var=LD_LIBRARY_PATH
13.17830 - fi
13.17831 - ;;
13.17832 -
13.17833 -uts4*)
13.17834 - version_type=linux
13.17835 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13.17836 - soname_spec='${libname}${release}${shared_ext}$major'
13.17837 - shlibpath_var=LD_LIBRARY_PATH
13.17838 - ;;
13.17839 -
13.17840 -*)
13.17841 - dynamic_linker=no
13.17842 - ;;
13.17843 -esac
13.17844 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13.17845 -echo "${ECHO_T}$dynamic_linker" >&6
13.17846 -test "$dynamic_linker" = no && can_build_shared=no
13.17847 -
13.17848 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13.17849 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13.17850 -hardcode_action_GCJ=
13.17851 -if test -n "$hardcode_libdir_flag_spec_GCJ" || \
13.17852 - test -n "$runpath_var_GCJ" || \
13.17853 - test "X$hardcode_automatic_GCJ" = "Xyes" ; then
13.17854 -
13.17855 - # We can hardcode non-existant directories.
13.17856 - if test "$hardcode_direct_GCJ" != no &&
13.17857 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
13.17858 - # have to relink, otherwise we might link with an installed library
13.17859 - # when we should be linking with a yet-to-be-installed one
13.17860 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
13.17861 - test "$hardcode_minus_L_GCJ" != no; then
13.17862 - # Linking always hardcodes the temporary library directory.
13.17863 - hardcode_action_GCJ=relink
13.17864 - else
13.17865 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
13.17866 - hardcode_action_GCJ=immediate
13.17867 - fi
13.17868 -else
13.17869 - # We cannot hardcode anything, or else we can only hardcode existing
13.17870 - # directories.
13.17871 - hardcode_action_GCJ=unsupported
13.17872 -fi
13.17873 -echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
13.17874 -echo "${ECHO_T}$hardcode_action_GCJ" >&6
13.17875 -
13.17876 -if test "$hardcode_action_GCJ" = relink; then
13.17877 - # Fast installation is not supported
13.17878 - enable_fast_install=no
13.17879 -elif test "$shlibpath_overrides_runpath" = yes ||
13.17880 - test "$enable_shared" = no; then
13.17881 - # Fast installation is not necessary
13.17882 - enable_fast_install=needless
13.17883 -fi
13.17884 -
13.17885 -striplib=
13.17886 -old_striplib=
13.17887 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13.17888 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
13.17889 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
13.17890 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13.17891 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13.17892 - echo "$as_me:$LINENO: result: yes" >&5
13.17893 -echo "${ECHO_T}yes" >&6
13.17894 -else
13.17895 -# FIXME - insert some real tests, host_os isn't really good enough
13.17896 - case $host_os in
13.17897 - darwin*)
13.17898 - if test -n "$STRIP" ; then
13.17899 - striplib="$STRIP -x"
13.17900 - echo "$as_me:$LINENO: result: yes" >&5
13.17901 -echo "${ECHO_T}yes" >&6
13.17902 - else
13.17903 - echo "$as_me:$LINENO: result: no" >&5
13.17904 -echo "${ECHO_T}no" >&6
13.17905 -fi
13.17906 - ;;
13.17907 - *)
13.17908 - echo "$as_me:$LINENO: result: no" >&5
13.17909 -echo "${ECHO_T}no" >&6
13.17910 - ;;
13.17911 - esac
13.17912 -fi
13.17913 -
13.17914 -if test "x$enable_dlopen" != xyes; then
13.17915 - enable_dlopen=unknown
13.17916 - enable_dlopen_self=unknown
13.17917 - enable_dlopen_self_static=unknown
13.17918 -else
13.17919 - lt_cv_dlopen=no
13.17920 - lt_cv_dlopen_libs=
13.17921 -
13.17922 - case $host_os in
13.17923 - beos*)
13.17924 - lt_cv_dlopen="load_add_on"
13.17925 - lt_cv_dlopen_libs=
13.17926 - lt_cv_dlopen_self=yes
13.17927 - ;;
13.17928 -
13.17929 - mingw* | pw32*)
13.17930 - lt_cv_dlopen="LoadLibrary"
13.17931 - lt_cv_dlopen_libs=
13.17932 - ;;
13.17933 -
13.17934 - cygwin*)
13.17935 - lt_cv_dlopen="dlopen"
13.17936 - lt_cv_dlopen_libs=
13.17937 - ;;
13.17938 -
13.17939 - darwin*)
13.17940 - # if libdl is installed we need to link against it
13.17941 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13.17942 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13.17943 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13.17944 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.17945 -else
13.17946 - ac_check_lib_save_LIBS=$LIBS
13.17947 -LIBS="-ldl $LIBS"
13.17948 -cat >conftest.$ac_ext <<_ACEOF
13.17949 -/* confdefs.h. */
13.17950 -_ACEOF
13.17951 -cat confdefs.h >>conftest.$ac_ext
13.17952 -cat >>conftest.$ac_ext <<_ACEOF
13.17953 -/* end confdefs.h. */
13.17954 -
13.17955 -/* Override any gcc2 internal prototype to avoid an error. */
13.17956 -#ifdef __cplusplus
13.17957 -extern "C"
13.17958 -#endif
13.17959 -/* We use char because int might match the return type of a gcc2
13.17960 - builtin and then its argument prototype would still apply. */
13.17961 -char dlopen ();
13.17962 -int
13.17963 -main ()
13.17964 -{
13.17965 -dlopen ();
13.17966 - ;
13.17967 - return 0;
13.17968 -}
13.17969 -_ACEOF
13.17970 -rm -f conftest.$ac_objext conftest$ac_exeext
13.17971 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.17972 - (eval $ac_link) 2>conftest.er1
13.17973 - ac_status=$?
13.17974 - grep -v '^ *+' conftest.er1 >conftest.err
13.17975 - rm -f conftest.er1
13.17976 - cat conftest.err >&5
13.17977 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.17978 - (exit $ac_status); } &&
13.17979 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.17980 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.17981 - (eval $ac_try) 2>&5
13.17982 - ac_status=$?
13.17983 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.17984 - (exit $ac_status); }; } &&
13.17985 - { ac_try='test -s conftest$ac_exeext'
13.17986 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.17987 - (eval $ac_try) 2>&5
13.17988 - ac_status=$?
13.17989 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.17990 - (exit $ac_status); }; }; then
13.17991 - ac_cv_lib_dl_dlopen=yes
13.17992 -else
13.17993 - echo "$as_me: failed program was:" >&5
13.17994 -sed 's/^/| /' conftest.$ac_ext >&5
13.17995 -
13.17996 -ac_cv_lib_dl_dlopen=no
13.17997 -fi
13.17998 -rm -f conftest.err conftest.$ac_objext \
13.17999 - conftest$ac_exeext conftest.$ac_ext
13.18000 -LIBS=$ac_check_lib_save_LIBS
13.18001 -fi
13.18002 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13.18003 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13.18004 -if test $ac_cv_lib_dl_dlopen = yes; then
13.18005 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13.18006 -else
13.18007 -
13.18008 - lt_cv_dlopen="dyld"
13.18009 - lt_cv_dlopen_libs=
13.18010 - lt_cv_dlopen_self=yes
13.18011 -
13.18012 -fi
13.18013 -
13.18014 - ;;
13.18015 -
13.18016 - *)
13.18017 - echo "$as_me:$LINENO: checking for shl_load" >&5
13.18018 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
13.18019 -if test "${ac_cv_func_shl_load+set}" = set; then
13.18020 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.18021 -else
13.18022 - cat >conftest.$ac_ext <<_ACEOF
13.18023 -/* confdefs.h. */
13.18024 -_ACEOF
13.18025 -cat confdefs.h >>conftest.$ac_ext
13.18026 -cat >>conftest.$ac_ext <<_ACEOF
13.18027 -/* end confdefs.h. */
13.18028 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
13.18029 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
13.18030 -#define shl_load innocuous_shl_load
13.18031 -
13.18032 -/* System header to define __stub macros and hopefully few prototypes,
13.18033 - which can conflict with char shl_load (); below.
13.18034 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13.18035 - <limits.h> exists even on freestanding compilers. */
13.18036 -
13.18037 -#ifdef __STDC__
13.18038 -# include <limits.h>
13.18039 -#else
13.18040 -# include <assert.h>
13.18041 -#endif
13.18042 -
13.18043 -#undef shl_load
13.18044 -
13.18045 -/* Override any gcc2 internal prototype to avoid an error. */
13.18046 -#ifdef __cplusplus
13.18047 -extern "C"
13.18048 -{
13.18049 -#endif
13.18050 -/* We use char because int might match the return type of a gcc2
13.18051 - builtin and then its argument prototype would still apply. */
13.18052 -char shl_load ();
13.18053 -/* The GNU C library defines this for functions which it implements
13.18054 - to always fail with ENOSYS. Some functions are actually named
13.18055 - something starting with __ and the normal name is an alias. */
13.18056 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
13.18057 -choke me
13.18058 -#else
13.18059 -char (*f) () = shl_load;
13.18060 -#endif
13.18061 -#ifdef __cplusplus
13.18062 -}
13.18063 -#endif
13.18064 -
13.18065 -int
13.18066 -main ()
13.18067 -{
13.18068 -return f != shl_load;
13.18069 - ;
13.18070 - return 0;
13.18071 -}
13.18072 -_ACEOF
13.18073 -rm -f conftest.$ac_objext conftest$ac_exeext
13.18074 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.18075 - (eval $ac_link) 2>conftest.er1
13.18076 - ac_status=$?
13.18077 - grep -v '^ *+' conftest.er1 >conftest.err
13.18078 - rm -f conftest.er1
13.18079 - cat conftest.err >&5
13.18080 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18081 - (exit $ac_status); } &&
13.18082 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.18083 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.18084 - (eval $ac_try) 2>&5
13.18085 - ac_status=$?
13.18086 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18087 - (exit $ac_status); }; } &&
13.18088 - { ac_try='test -s conftest$ac_exeext'
13.18089 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.18090 - (eval $ac_try) 2>&5
13.18091 - ac_status=$?
13.18092 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18093 - (exit $ac_status); }; }; then
13.18094 - ac_cv_func_shl_load=yes
13.18095 -else
13.18096 - echo "$as_me: failed program was:" >&5
13.18097 -sed 's/^/| /' conftest.$ac_ext >&5
13.18098 -
13.18099 -ac_cv_func_shl_load=no
13.18100 -fi
13.18101 -rm -f conftest.err conftest.$ac_objext \
13.18102 - conftest$ac_exeext conftest.$ac_ext
13.18103 -fi
13.18104 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13.18105 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
13.18106 -if test $ac_cv_func_shl_load = yes; then
13.18107 - lt_cv_dlopen="shl_load"
13.18108 -else
13.18109 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13.18110 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
13.18111 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13.18112 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.18113 -else
13.18114 - ac_check_lib_save_LIBS=$LIBS
13.18115 -LIBS="-ldld $LIBS"
13.18116 -cat >conftest.$ac_ext <<_ACEOF
13.18117 -/* confdefs.h. */
13.18118 -_ACEOF
13.18119 -cat confdefs.h >>conftest.$ac_ext
13.18120 -cat >>conftest.$ac_ext <<_ACEOF
13.18121 -/* end confdefs.h. */
13.18122 -
13.18123 -/* Override any gcc2 internal prototype to avoid an error. */
13.18124 -#ifdef __cplusplus
13.18125 -extern "C"
13.18126 -#endif
13.18127 -/* We use char because int might match the return type of a gcc2
13.18128 - builtin and then its argument prototype would still apply. */
13.18129 -char shl_load ();
13.18130 -int
13.18131 -main ()
13.18132 -{
13.18133 -shl_load ();
13.18134 - ;
13.18135 - return 0;
13.18136 -}
13.18137 -_ACEOF
13.18138 -rm -f conftest.$ac_objext conftest$ac_exeext
13.18139 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.18140 - (eval $ac_link) 2>conftest.er1
13.18141 - ac_status=$?
13.18142 - grep -v '^ *+' conftest.er1 >conftest.err
13.18143 - rm -f conftest.er1
13.18144 - cat conftest.err >&5
13.18145 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18146 - (exit $ac_status); } &&
13.18147 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.18148 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.18149 - (eval $ac_try) 2>&5
13.18150 - ac_status=$?
13.18151 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18152 - (exit $ac_status); }; } &&
13.18153 - { ac_try='test -s conftest$ac_exeext'
13.18154 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.18155 - (eval $ac_try) 2>&5
13.18156 - ac_status=$?
13.18157 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18158 - (exit $ac_status); }; }; then
13.18159 - ac_cv_lib_dld_shl_load=yes
13.18160 -else
13.18161 - echo "$as_me: failed program was:" >&5
13.18162 -sed 's/^/| /' conftest.$ac_ext >&5
13.18163 -
13.18164 -ac_cv_lib_dld_shl_load=no
13.18165 -fi
13.18166 -rm -f conftest.err conftest.$ac_objext \
13.18167 - conftest$ac_exeext conftest.$ac_ext
13.18168 -LIBS=$ac_check_lib_save_LIBS
13.18169 -fi
13.18170 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13.18171 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
13.18172 -if test $ac_cv_lib_dld_shl_load = yes; then
13.18173 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
13.18174 -else
13.18175 - echo "$as_me:$LINENO: checking for dlopen" >&5
13.18176 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
13.18177 -if test "${ac_cv_func_dlopen+set}" = set; then
13.18178 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.18179 -else
13.18180 - cat >conftest.$ac_ext <<_ACEOF
13.18181 -/* confdefs.h. */
13.18182 -_ACEOF
13.18183 -cat confdefs.h >>conftest.$ac_ext
13.18184 -cat >>conftest.$ac_ext <<_ACEOF
13.18185 -/* end confdefs.h. */
13.18186 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13.18187 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
13.18188 -#define dlopen innocuous_dlopen
13.18189 -
13.18190 -/* System header to define __stub macros and hopefully few prototypes,
13.18191 - which can conflict with char dlopen (); below.
13.18192 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13.18193 - <limits.h> exists even on freestanding compilers. */
13.18194 -
13.18195 -#ifdef __STDC__
13.18196 -# include <limits.h>
13.18197 -#else
13.18198 -# include <assert.h>
13.18199 -#endif
13.18200 -
13.18201 -#undef dlopen
13.18202 -
13.18203 -/* Override any gcc2 internal prototype to avoid an error. */
13.18204 -#ifdef __cplusplus
13.18205 -extern "C"
13.18206 -{
13.18207 -#endif
13.18208 -/* We use char because int might match the return type of a gcc2
13.18209 - builtin and then its argument prototype would still apply. */
13.18210 -char dlopen ();
13.18211 -/* The GNU C library defines this for functions which it implements
13.18212 - to always fail with ENOSYS. Some functions are actually named
13.18213 - something starting with __ and the normal name is an alias. */
13.18214 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
13.18215 -choke me
13.18216 -#else
13.18217 -char (*f) () = dlopen;
13.18218 -#endif
13.18219 -#ifdef __cplusplus
13.18220 -}
13.18221 -#endif
13.18222 -
13.18223 -int
13.18224 -main ()
13.18225 -{
13.18226 -return f != dlopen;
13.18227 - ;
13.18228 - return 0;
13.18229 -}
13.18230 -_ACEOF
13.18231 -rm -f conftest.$ac_objext conftest$ac_exeext
13.18232 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.18233 - (eval $ac_link) 2>conftest.er1
13.18234 - ac_status=$?
13.18235 - grep -v '^ *+' conftest.er1 >conftest.err
13.18236 - rm -f conftest.er1
13.18237 - cat conftest.err >&5
13.18238 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18239 - (exit $ac_status); } &&
13.18240 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.18241 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.18242 - (eval $ac_try) 2>&5
13.18243 - ac_status=$?
13.18244 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18245 - (exit $ac_status); }; } &&
13.18246 - { ac_try='test -s conftest$ac_exeext'
13.18247 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.18248 - (eval $ac_try) 2>&5
13.18249 - ac_status=$?
13.18250 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18251 - (exit $ac_status); }; }; then
13.18252 - ac_cv_func_dlopen=yes
13.18253 -else
13.18254 - echo "$as_me: failed program was:" >&5
13.18255 -sed 's/^/| /' conftest.$ac_ext >&5
13.18256 -
13.18257 -ac_cv_func_dlopen=no
13.18258 -fi
13.18259 -rm -f conftest.err conftest.$ac_objext \
13.18260 - conftest$ac_exeext conftest.$ac_ext
13.18261 -fi
13.18262 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13.18263 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
13.18264 -if test $ac_cv_func_dlopen = yes; then
13.18265 - lt_cv_dlopen="dlopen"
13.18266 -else
13.18267 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13.18268 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13.18269 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13.18270 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.18271 -else
13.18272 - ac_check_lib_save_LIBS=$LIBS
13.18273 -LIBS="-ldl $LIBS"
13.18274 -cat >conftest.$ac_ext <<_ACEOF
13.18275 -/* confdefs.h. */
13.18276 -_ACEOF
13.18277 -cat confdefs.h >>conftest.$ac_ext
13.18278 -cat >>conftest.$ac_ext <<_ACEOF
13.18279 -/* end confdefs.h. */
13.18280 -
13.18281 -/* Override any gcc2 internal prototype to avoid an error. */
13.18282 -#ifdef __cplusplus
13.18283 -extern "C"
13.18284 -#endif
13.18285 -/* We use char because int might match the return type of a gcc2
13.18286 - builtin and then its argument prototype would still apply. */
13.18287 -char dlopen ();
13.18288 -int
13.18289 -main ()
13.18290 -{
13.18291 -dlopen ();
13.18292 - ;
13.18293 - return 0;
13.18294 -}
13.18295 -_ACEOF
13.18296 -rm -f conftest.$ac_objext conftest$ac_exeext
13.18297 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.18298 - (eval $ac_link) 2>conftest.er1
13.18299 - ac_status=$?
13.18300 - grep -v '^ *+' conftest.er1 >conftest.err
13.18301 - rm -f conftest.er1
13.18302 - cat conftest.err >&5
13.18303 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18304 - (exit $ac_status); } &&
13.18305 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.18306 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.18307 - (eval $ac_try) 2>&5
13.18308 - ac_status=$?
13.18309 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18310 - (exit $ac_status); }; } &&
13.18311 - { ac_try='test -s conftest$ac_exeext'
13.18312 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.18313 - (eval $ac_try) 2>&5
13.18314 - ac_status=$?
13.18315 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18316 - (exit $ac_status); }; }; then
13.18317 - ac_cv_lib_dl_dlopen=yes
13.18318 -else
13.18319 - echo "$as_me: failed program was:" >&5
13.18320 -sed 's/^/| /' conftest.$ac_ext >&5
13.18321 -
13.18322 -ac_cv_lib_dl_dlopen=no
13.18323 -fi
13.18324 -rm -f conftest.err conftest.$ac_objext \
13.18325 - conftest$ac_exeext conftest.$ac_ext
13.18326 -LIBS=$ac_check_lib_save_LIBS
13.18327 -fi
13.18328 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13.18329 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13.18330 -if test $ac_cv_lib_dl_dlopen = yes; then
13.18331 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13.18332 -else
13.18333 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13.18334 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
13.18335 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13.18336 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.18337 -else
13.18338 - ac_check_lib_save_LIBS=$LIBS
13.18339 -LIBS="-lsvld $LIBS"
13.18340 -cat >conftest.$ac_ext <<_ACEOF
13.18341 -/* confdefs.h. */
13.18342 -_ACEOF
13.18343 -cat confdefs.h >>conftest.$ac_ext
13.18344 -cat >>conftest.$ac_ext <<_ACEOF
13.18345 -/* end confdefs.h. */
13.18346 -
13.18347 -/* Override any gcc2 internal prototype to avoid an error. */
13.18348 -#ifdef __cplusplus
13.18349 -extern "C"
13.18350 -#endif
13.18351 -/* We use char because int might match the return type of a gcc2
13.18352 - builtin and then its argument prototype would still apply. */
13.18353 -char dlopen ();
13.18354 -int
13.18355 -main ()
13.18356 -{
13.18357 -dlopen ();
13.18358 - ;
13.18359 - return 0;
13.18360 -}
13.18361 -_ACEOF
13.18362 -rm -f conftest.$ac_objext conftest$ac_exeext
13.18363 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.18364 - (eval $ac_link) 2>conftest.er1
13.18365 - ac_status=$?
13.18366 - grep -v '^ *+' conftest.er1 >conftest.err
13.18367 - rm -f conftest.er1
13.18368 - cat conftest.err >&5
13.18369 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18370 - (exit $ac_status); } &&
13.18371 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.18372 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.18373 - (eval $ac_try) 2>&5
13.18374 - ac_status=$?
13.18375 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18376 - (exit $ac_status); }; } &&
13.18377 - { ac_try='test -s conftest$ac_exeext'
13.18378 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.18379 - (eval $ac_try) 2>&5
13.18380 - ac_status=$?
13.18381 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18382 - (exit $ac_status); }; }; then
13.18383 - ac_cv_lib_svld_dlopen=yes
13.18384 -else
13.18385 - echo "$as_me: failed program was:" >&5
13.18386 -sed 's/^/| /' conftest.$ac_ext >&5
13.18387 -
13.18388 -ac_cv_lib_svld_dlopen=no
13.18389 -fi
13.18390 -rm -f conftest.err conftest.$ac_objext \
13.18391 - conftest$ac_exeext conftest.$ac_ext
13.18392 -LIBS=$ac_check_lib_save_LIBS
13.18393 -fi
13.18394 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13.18395 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
13.18396 -if test $ac_cv_lib_svld_dlopen = yes; then
13.18397 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13.18398 -else
13.18399 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13.18400 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
13.18401 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13.18402 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.18403 -else
13.18404 - ac_check_lib_save_LIBS=$LIBS
13.18405 -LIBS="-ldld $LIBS"
13.18406 -cat >conftest.$ac_ext <<_ACEOF
13.18407 -/* confdefs.h. */
13.18408 -_ACEOF
13.18409 -cat confdefs.h >>conftest.$ac_ext
13.18410 -cat >>conftest.$ac_ext <<_ACEOF
13.18411 -/* end confdefs.h. */
13.18412 -
13.18413 -/* Override any gcc2 internal prototype to avoid an error. */
13.18414 -#ifdef __cplusplus
13.18415 -extern "C"
13.18416 -#endif
13.18417 -/* We use char because int might match the return type of a gcc2
13.18418 - builtin and then its argument prototype would still apply. */
13.18419 -char dld_link ();
13.18420 -int
13.18421 -main ()
13.18422 -{
13.18423 -dld_link ();
13.18424 - ;
13.18425 - return 0;
13.18426 -}
13.18427 -_ACEOF
13.18428 -rm -f conftest.$ac_objext conftest$ac_exeext
13.18429 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.18430 - (eval $ac_link) 2>conftest.er1
13.18431 - ac_status=$?
13.18432 - grep -v '^ *+' conftest.er1 >conftest.err
13.18433 - rm -f conftest.er1
13.18434 - cat conftest.err >&5
13.18435 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18436 - (exit $ac_status); } &&
13.18437 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.18438 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.18439 - (eval $ac_try) 2>&5
13.18440 - ac_status=$?
13.18441 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18442 - (exit $ac_status); }; } &&
13.18443 - { ac_try='test -s conftest$ac_exeext'
13.18444 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.18445 - (eval $ac_try) 2>&5
13.18446 - ac_status=$?
13.18447 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18448 - (exit $ac_status); }; }; then
13.18449 - ac_cv_lib_dld_dld_link=yes
13.18450 -else
13.18451 - echo "$as_me: failed program was:" >&5
13.18452 -sed 's/^/| /' conftest.$ac_ext >&5
13.18453 -
13.18454 -ac_cv_lib_dld_dld_link=no
13.18455 -fi
13.18456 -rm -f conftest.err conftest.$ac_objext \
13.18457 - conftest$ac_exeext conftest.$ac_ext
13.18458 -LIBS=$ac_check_lib_save_LIBS
13.18459 -fi
13.18460 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13.18461 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
13.18462 -if test $ac_cv_lib_dld_dld_link = yes; then
13.18463 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
13.18464 -fi
13.18465 -
13.18466 -
13.18467 -fi
13.18468 -
13.18469 -
13.18470 -fi
13.18471 -
13.18472 -
13.18473 -fi
13.18474 -
13.18475 -
13.18476 -fi
13.18477 -
13.18478 -
13.18479 -fi
13.18480 -
13.18481 - ;;
13.18482 - esac
13.18483 -
13.18484 - if test "x$lt_cv_dlopen" != xno; then
13.18485 - enable_dlopen=yes
13.18486 - else
13.18487 - enable_dlopen=no
13.18488 - fi
13.18489 -
13.18490 - case $lt_cv_dlopen in
13.18491 - dlopen)
13.18492 - save_CPPFLAGS="$CPPFLAGS"
13.18493 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13.18494 -
13.18495 - save_LDFLAGS="$LDFLAGS"
13.18496 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13.18497 -
13.18498 - save_LIBS="$LIBS"
13.18499 - LIBS="$lt_cv_dlopen_libs $LIBS"
13.18500 -
13.18501 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13.18502 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
13.18503 -if test "${lt_cv_dlopen_self+set}" = set; then
13.18504 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.18505 -else
13.18506 - if test "$cross_compiling" = yes; then :
13.18507 - lt_cv_dlopen_self=cross
13.18508 -else
13.18509 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13.18510 - lt_status=$lt_dlunknown
13.18511 - cat > conftest.$ac_ext <<EOF
13.18512 -#line 18509 "configure"
13.18513 -#include "confdefs.h"
13.18514 -
13.18515 -#if HAVE_DLFCN_H
13.18516 -#include <dlfcn.h>
13.18517 -#endif
13.18518 -
13.18519 -#include <stdio.h>
13.18520 -
13.18521 -#ifdef RTLD_GLOBAL
13.18522 -# define LT_DLGLOBAL RTLD_GLOBAL
13.18523 -#else
13.18524 -# ifdef DL_GLOBAL
13.18525 -# define LT_DLGLOBAL DL_GLOBAL
13.18526 -# else
13.18527 -# define LT_DLGLOBAL 0
13.18528 -# endif
13.18529 -#endif
13.18530 -
13.18531 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13.18532 - find out it does not work in some platform. */
13.18533 -#ifndef LT_DLLAZY_OR_NOW
13.18534 -# ifdef RTLD_LAZY
13.18535 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
13.18536 -# else
13.18537 -# ifdef DL_LAZY
13.18538 -# define LT_DLLAZY_OR_NOW DL_LAZY
13.18539 -# else
13.18540 -# ifdef RTLD_NOW
13.18541 -# define LT_DLLAZY_OR_NOW RTLD_NOW
13.18542 -# else
13.18543 -# ifdef DL_NOW
13.18544 -# define LT_DLLAZY_OR_NOW DL_NOW
13.18545 -# else
13.18546 -# define LT_DLLAZY_OR_NOW 0
13.18547 -# endif
13.18548 -# endif
13.18549 -# endif
13.18550 -# endif
13.18551 -#endif
13.18552 -
13.18553 -#ifdef __cplusplus
13.18554 -extern "C" void exit (int);
13.18555 -#endif
13.18556 -
13.18557 -void fnord() { int i=42;}
13.18558 -int main ()
13.18559 -{
13.18560 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13.18561 - int status = $lt_dlunknown;
13.18562 -
13.18563 - if (self)
13.18564 - {
13.18565 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13.18566 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13.18567 - /* dlclose (self); */
13.18568 - }
13.18569 -
13.18570 - exit (status);
13.18571 -}
13.18572 -EOF
13.18573 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.18574 - (eval $ac_link) 2>&5
13.18575 - ac_status=$?
13.18576 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18577 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13.18578 - (./conftest; exit; ) >&5 2>/dev/null
13.18579 - lt_status=$?
13.18580 - case x$lt_status in
13.18581 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13.18582 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13.18583 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
13.18584 - esac
13.18585 - else :
13.18586 - # compilation failed
13.18587 - lt_cv_dlopen_self=no
13.18588 - fi
13.18589 -fi
13.18590 -rm -fr conftest*
13.18591 -
13.18592 -
13.18593 -fi
13.18594 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13.18595 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
13.18596 -
13.18597 - if test "x$lt_cv_dlopen_self" = xyes; then
13.18598 - LDFLAGS="$LDFLAGS $link_static_flag"
13.18599 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13.18600 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
13.18601 -if test "${lt_cv_dlopen_self_static+set}" = set; then
13.18602 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.18603 -else
13.18604 - if test "$cross_compiling" = yes; then :
13.18605 - lt_cv_dlopen_self_static=cross
13.18606 -else
13.18607 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13.18608 - lt_status=$lt_dlunknown
13.18609 - cat > conftest.$ac_ext <<EOF
13.18610 -#line 18607 "configure"
13.18611 -#include "confdefs.h"
13.18612 -
13.18613 -#if HAVE_DLFCN_H
13.18614 -#include <dlfcn.h>
13.18615 -#endif
13.18616 -
13.18617 -#include <stdio.h>
13.18618 -
13.18619 -#ifdef RTLD_GLOBAL
13.18620 -# define LT_DLGLOBAL RTLD_GLOBAL
13.18621 -#else
13.18622 -# ifdef DL_GLOBAL
13.18623 -# define LT_DLGLOBAL DL_GLOBAL
13.18624 -# else
13.18625 -# define LT_DLGLOBAL 0
13.18626 -# endif
13.18627 -#endif
13.18628 -
13.18629 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13.18630 - find out it does not work in some platform. */
13.18631 -#ifndef LT_DLLAZY_OR_NOW
13.18632 -# ifdef RTLD_LAZY
13.18633 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
13.18634 -# else
13.18635 -# ifdef DL_LAZY
13.18636 -# define LT_DLLAZY_OR_NOW DL_LAZY
13.18637 -# else
13.18638 -# ifdef RTLD_NOW
13.18639 -# define LT_DLLAZY_OR_NOW RTLD_NOW
13.18640 -# else
13.18641 -# ifdef DL_NOW
13.18642 -# define LT_DLLAZY_OR_NOW DL_NOW
13.18643 -# else
13.18644 -# define LT_DLLAZY_OR_NOW 0
13.18645 -# endif
13.18646 -# endif
13.18647 -# endif
13.18648 -# endif
13.18649 -#endif
13.18650 -
13.18651 -#ifdef __cplusplus
13.18652 -extern "C" void exit (int);
13.18653 -#endif
13.18654 -
13.18655 -void fnord() { int i=42;}
13.18656 -int main ()
13.18657 -{
13.18658 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13.18659 - int status = $lt_dlunknown;
13.18660 -
13.18661 - if (self)
13.18662 - {
13.18663 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13.18664 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13.18665 - /* dlclose (self); */
13.18666 - }
13.18667 -
13.18668 - exit (status);
13.18669 -}
13.18670 -EOF
13.18671 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.18672 - (eval $ac_link) 2>&5
13.18673 - ac_status=$?
13.18674 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.18675 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13.18676 - (./conftest; exit; ) >&5 2>/dev/null
13.18677 - lt_status=$?
13.18678 - case x$lt_status in
13.18679 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13.18680 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13.18681 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
13.18682 - esac
13.18683 - else :
13.18684 - # compilation failed
13.18685 - lt_cv_dlopen_self_static=no
13.18686 - fi
13.18687 -fi
13.18688 -rm -fr conftest*
13.18689 -
13.18690 -
13.18691 -fi
13.18692 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13.18693 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13.18694 - fi
13.18695 -
13.18696 - CPPFLAGS="$save_CPPFLAGS"
13.18697 - LDFLAGS="$save_LDFLAGS"
13.18698 - LIBS="$save_LIBS"
13.18699 - ;;
13.18700 - esac
13.18701 -
13.18702 - case $lt_cv_dlopen_self in
13.18703 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13.18704 - *) enable_dlopen_self=unknown ;;
13.18705 - esac
13.18706 -
13.18707 - case $lt_cv_dlopen_self_static in
13.18708 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13.18709 - *) enable_dlopen_self_static=unknown ;;
13.18710 - esac
13.18711 -fi
13.18712 -
13.18713 -
13.18714 -# The else clause should only fire when bootstrapping the
13.18715 -# libtool distribution, otherwise you forgot to ship ltmain.sh
13.18716 -# with your package, and you will get complaints that there are
13.18717 -# no rules to generate ltmain.sh.
13.18718 -if test -f "$ltmain"; then
13.18719 - # See if we are running on zsh, and set the options which allow our commands through
13.18720 - # without removal of \ escapes.
13.18721 - if test -n "${ZSH_VERSION+set}" ; then
13.18722 - setopt NO_GLOB_SUBST
13.18723 - fi
13.18724 - # Now quote all the things that may contain metacharacters while being
13.18725 - # careful not to overquote the AC_SUBSTed values. We take copies of the
13.18726 - # variables and quote the copies for generation of the libtool script.
13.18727 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
13.18728 - SED SHELL STRIP \
13.18729 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13.18730 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13.18731 - deplibs_check_method reload_flag reload_cmds need_locks \
13.18732 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13.18733 - lt_cv_sys_global_symbol_to_c_name_address \
13.18734 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13.18735 - old_postinstall_cmds old_postuninstall_cmds \
13.18736 - compiler_GCJ \
13.18737 - CC_GCJ \
13.18738 - LD_GCJ \
13.18739 - lt_prog_compiler_wl_GCJ \
13.18740 - lt_prog_compiler_pic_GCJ \
13.18741 - lt_prog_compiler_static_GCJ \
13.18742 - lt_prog_compiler_no_builtin_flag_GCJ \
13.18743 - export_dynamic_flag_spec_GCJ \
13.18744 - thread_safe_flag_spec_GCJ \
13.18745 - whole_archive_flag_spec_GCJ \
13.18746 - enable_shared_with_static_runtimes_GCJ \
13.18747 - old_archive_cmds_GCJ \
13.18748 - old_archive_from_new_cmds_GCJ \
13.18749 - predep_objects_GCJ \
13.18750 - postdep_objects_GCJ \
13.18751 - predeps_GCJ \
13.18752 - postdeps_GCJ \
13.18753 - compiler_lib_search_path_GCJ \
13.18754 - archive_cmds_GCJ \
13.18755 - archive_expsym_cmds_GCJ \
13.18756 - postinstall_cmds_GCJ \
13.18757 - postuninstall_cmds_GCJ \
13.18758 - old_archive_from_expsyms_cmds_GCJ \
13.18759 - allow_undefined_flag_GCJ \
13.18760 - no_undefined_flag_GCJ \
13.18761 - export_symbols_cmds_GCJ \
13.18762 - hardcode_libdir_flag_spec_GCJ \
13.18763 - hardcode_libdir_flag_spec_ld_GCJ \
13.18764 - hardcode_libdir_separator_GCJ \
13.18765 - hardcode_automatic_GCJ \
13.18766 - module_cmds_GCJ \
13.18767 - module_expsym_cmds_GCJ \
13.18768 - lt_cv_prog_compiler_c_o_GCJ \
13.18769 - exclude_expsyms_GCJ \
13.18770 - include_expsyms_GCJ; do
13.18771 -
13.18772 - case $var in
13.18773 - old_archive_cmds_GCJ | \
13.18774 - old_archive_from_new_cmds_GCJ | \
13.18775 - archive_cmds_GCJ | \
13.18776 - archive_expsym_cmds_GCJ | \
13.18777 - module_cmds_GCJ | \
13.18778 - module_expsym_cmds_GCJ | \
13.18779 - old_archive_from_expsyms_cmds_GCJ | \
13.18780 - export_symbols_cmds_GCJ | \
13.18781 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
13.18782 - postinstall_cmds | postuninstall_cmds | \
13.18783 - old_postinstall_cmds | old_postuninstall_cmds | \
13.18784 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13.18785 - # Double-quote double-evaled strings.
13.18786 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13.18787 - ;;
13.18788 - *)
13.18789 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13.18790 - ;;
13.18791 - esac
13.18792 - done
13.18793 -
13.18794 - case $lt_echo in
13.18795 - *'\$0 --fallback-echo"')
13.18796 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13.18797 - ;;
13.18798 - esac
13.18799 -
13.18800 -cfgfile="$ofile"
13.18801 -
13.18802 - cat <<__EOF__ >> "$cfgfile"
13.18803 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13.18804 -
13.18805 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13.18806 -
13.18807 -# Shell to use when invoking shell scripts.
13.18808 -SHELL=$lt_SHELL
13.18809 -
13.18810 -# Whether or not to build shared libraries.
13.18811 -build_libtool_libs=$enable_shared
13.18812 -
13.18813 -# Whether or not to build static libraries.
13.18814 -build_old_libs=$enable_static
13.18815 -
13.18816 -# Whether or not to add -lc for building shared libraries.
13.18817 -build_libtool_need_lc=$archive_cmds_need_lc_GCJ
13.18818 -
13.18819 -# Whether or not to disallow shared libs when runtime libs are static
13.18820 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
13.18821 -
13.18822 -# Whether or not to optimize for fast installation.
13.18823 -fast_install=$enable_fast_install
13.18824 -
13.18825 -# The host system.
13.18826 -host_alias=$host_alias
13.18827 -host=$host
13.18828 -host_os=$host_os
13.18829 -
13.18830 -# The build system.
13.18831 -build_alias=$build_alias
13.18832 -build=$build
13.18833 -build_os=$build_os
13.18834 -
13.18835 -# An echo program that does not interpret backslashes.
13.18836 -echo=$lt_echo
13.18837 -
13.18838 -# The archiver.
13.18839 -AR=$lt_AR
13.18840 -AR_FLAGS=$lt_AR_FLAGS
13.18841 -
13.18842 -# A C compiler.
13.18843 -LTCC=$lt_LTCC
13.18844 -
13.18845 -# A language-specific compiler.
13.18846 -CC=$lt_compiler_GCJ
13.18847 -
13.18848 -# Is the compiler the GNU C compiler?
13.18849 -with_gcc=$GCC_GCJ
13.18850 -
13.18851 -# An ERE matcher.
13.18852 -EGREP=$lt_EGREP
13.18853 -
13.18854 -# The linker used to build libraries.
13.18855 -LD=$lt_LD_GCJ
13.18856 -
13.18857 -# Whether we need hard or soft links.
13.18858 -LN_S=$lt_LN_S
13.18859 -
13.18860 -# A BSD-compatible nm program.
13.18861 -NM=$lt_NM
13.18862 -
13.18863 -# A symbol stripping program
13.18864 -STRIP=$lt_STRIP
13.18865 -
13.18866 -# Used to examine libraries when file_magic_cmd begins "file"
13.18867 -MAGIC_CMD=$MAGIC_CMD
13.18868 -
13.18869 -# Used on cygwin: DLL creation program.
13.18870 -DLLTOOL="$DLLTOOL"
13.18871 -
13.18872 -# Used on cygwin: object dumper.
13.18873 -OBJDUMP="$OBJDUMP"
13.18874 -
13.18875 -# Used on cygwin: assembler.
13.18876 -AS="$AS"
13.18877 -
13.18878 -# The name of the directory that contains temporary libtool files.
13.18879 -objdir=$objdir
13.18880 -
13.18881 -# How to create reloadable object files.
13.18882 -reload_flag=$lt_reload_flag
13.18883 -reload_cmds=$lt_reload_cmds
13.18884 -
13.18885 -# How to pass a linker flag through the compiler.
13.18886 -wl=$lt_lt_prog_compiler_wl_GCJ
13.18887 -
13.18888 -# Object file suffix (normally "o").
13.18889 -objext="$ac_objext"
13.18890 -
13.18891 -# Old archive suffix (normally "a").
13.18892 -libext="$libext"
13.18893 -
13.18894 -# Shared library suffix (normally ".so").
13.18895 -shrext_cmds='$shrext_cmds'
13.18896 -
13.18897 -# Executable file suffix (normally "").
13.18898 -exeext="$exeext"
13.18899 -
13.18900 -# Additional compiler flags for building library objects.
13.18901 -pic_flag=$lt_lt_prog_compiler_pic_GCJ
13.18902 -pic_mode=$pic_mode
13.18903 -
13.18904 -# What is the maximum length of a command?
13.18905 -max_cmd_len=$lt_cv_sys_max_cmd_len
13.18906 -
13.18907 -# Does compiler simultaneously support -c and -o options?
13.18908 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
13.18909 -
13.18910 -# Must we lock files when doing compilation?
13.18911 -need_locks=$lt_need_locks
13.18912 -
13.18913 -# Do we need the lib prefix for modules?
13.18914 -need_lib_prefix=$need_lib_prefix
13.18915 -
13.18916 -# Do we need a version for libraries?
13.18917 -need_version=$need_version
13.18918 -
13.18919 -# Whether dlopen is supported.
13.18920 -dlopen_support=$enable_dlopen
13.18921 -
13.18922 -# Whether dlopen of programs is supported.
13.18923 -dlopen_self=$enable_dlopen_self
13.18924 -
13.18925 -# Whether dlopen of statically linked programs is supported.
13.18926 -dlopen_self_static=$enable_dlopen_self_static
13.18927 -
13.18928 -# Compiler flag to prevent dynamic linking.
13.18929 -link_static_flag=$lt_lt_prog_compiler_static_GCJ
13.18930 -
13.18931 -# Compiler flag to turn off builtin functions.
13.18932 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
13.18933 -
13.18934 -# Compiler flag to allow reflexive dlopens.
13.18935 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
13.18936 -
13.18937 -# Compiler flag to generate shared objects directly from archives.
13.18938 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
13.18939 -
13.18940 -# Compiler flag to generate thread-safe objects.
13.18941 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
13.18942 -
13.18943 -# Library versioning type.
13.18944 -version_type=$version_type
13.18945 -
13.18946 -# Format of library name prefix.
13.18947 -libname_spec=$lt_libname_spec
13.18948 -
13.18949 -# List of archive names. First name is the real one, the rest are links.
13.18950 -# The last name is the one that the linker finds with -lNAME.
13.18951 -library_names_spec=$lt_library_names_spec
13.18952 -
13.18953 -# The coded name of the library, if different from the real name.
13.18954 -soname_spec=$lt_soname_spec
13.18955 -
13.18956 -# Commands used to build and install an old-style archive.
13.18957 -RANLIB=$lt_RANLIB
13.18958 -old_archive_cmds=$lt_old_archive_cmds_GCJ
13.18959 -old_postinstall_cmds=$lt_old_postinstall_cmds
13.18960 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
13.18961 -
13.18962 -# Create an old-style archive from a shared archive.
13.18963 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
13.18964 -
13.18965 -# Create a temporary old-style archive to link instead of a shared archive.
13.18966 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
13.18967 -
13.18968 -# Commands used to build and install a shared archive.
13.18969 -archive_cmds=$lt_archive_cmds_GCJ
13.18970 -archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
13.18971 -postinstall_cmds=$lt_postinstall_cmds
13.18972 -postuninstall_cmds=$lt_postuninstall_cmds
13.18973 -
13.18974 -# Commands used to build a loadable module (assumed same as above if empty)
13.18975 -module_cmds=$lt_module_cmds_GCJ
13.18976 -module_expsym_cmds=$lt_module_expsym_cmds_GCJ
13.18977 -
13.18978 -# Commands to strip libraries.
13.18979 -old_striplib=$lt_old_striplib
13.18980 -striplib=$lt_striplib
13.18981 -
13.18982 -# Dependencies to place before the objects being linked to create a
13.18983 -# shared library.
13.18984 -predep_objects=$lt_predep_objects_GCJ
13.18985 -
13.18986 -# Dependencies to place after the objects being linked to create a
13.18987 -# shared library.
13.18988 -postdep_objects=$lt_postdep_objects_GCJ
13.18989 -
13.18990 -# Dependencies to place before the objects being linked to create a
13.18991 -# shared library.
13.18992 -predeps=$lt_predeps_GCJ
13.18993 -
13.18994 -# Dependencies to place after the objects being linked to create a
13.18995 -# shared library.
13.18996 -postdeps=$lt_postdeps_GCJ
13.18997 -
13.18998 -# The library search path used internally by the compiler when linking
13.18999 -# a shared library.
13.19000 -compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
13.19001 -
13.19002 -# Method to check whether dependent libraries are shared objects.
13.19003 -deplibs_check_method=$lt_deplibs_check_method
13.19004 -
13.19005 -# Command to use when deplibs_check_method == file_magic.
13.19006 -file_magic_cmd=$lt_file_magic_cmd
13.19007 -
13.19008 -# Flag that allows shared libraries with undefined symbols to be built.
13.19009 -allow_undefined_flag=$lt_allow_undefined_flag_GCJ
13.19010 -
13.19011 -# Flag that forces no undefined symbols.
13.19012 -no_undefined_flag=$lt_no_undefined_flag_GCJ
13.19013 -
13.19014 -# Commands used to finish a libtool library installation in a directory.
13.19015 -finish_cmds=$lt_finish_cmds
13.19016 -
13.19017 -# Same as above, but a single script fragment to be evaled but not shown.
13.19018 -finish_eval=$lt_finish_eval
13.19019 -
13.19020 -# Take the output of nm and produce a listing of raw symbols and C names.
13.19021 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13.19022 -
13.19023 -# Transform the output of nm in a proper C declaration
13.19024 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13.19025 -
13.19026 -# Transform the output of nm in a C name address pair
13.19027 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13.19028 -
13.19029 -# This is the shared library runtime path variable.
13.19030 -runpath_var=$runpath_var
13.19031 -
13.19032 -# This is the shared library path variable.
13.19033 -shlibpath_var=$shlibpath_var
13.19034 -
13.19035 -# Is shlibpath searched before the hard-coded library search path?
13.19036 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13.19037 -
13.19038 -# How to hardcode a shared library path into an executable.
13.19039 -hardcode_action=$hardcode_action_GCJ
13.19040 -
13.19041 -# Whether we should hardcode library paths into libraries.
13.19042 -hardcode_into_libs=$hardcode_into_libs
13.19043 -
13.19044 -# Flag to hardcode \$libdir into a binary during linking.
13.19045 -# This must work even if \$libdir does not exist.
13.19046 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
13.19047 -
13.19048 -# If ld is used when linking, flag to hardcode \$libdir into
13.19049 -# a binary during linking. This must work even if \$libdir does
13.19050 -# not exist.
13.19051 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
13.19052 -
13.19053 -# Whether we need a single -rpath flag with a separated argument.
13.19054 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
13.19055 -
13.19056 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13.19057 -# resulting binary.
13.19058 -hardcode_direct=$hardcode_direct_GCJ
13.19059 -
13.19060 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13.19061 -# resulting binary.
13.19062 -hardcode_minus_L=$hardcode_minus_L_GCJ
13.19063 -
13.19064 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13.19065 -# the resulting binary.
13.19066 -hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
13.19067 -
13.19068 -# Set to yes if building a shared library automatically hardcodes DIR into the library
13.19069 -# and all subsequent libraries and executables linked against it.
13.19070 -hardcode_automatic=$hardcode_automatic_GCJ
13.19071 -
13.19072 -# Variables whose values should be saved in libtool wrapper scripts and
13.19073 -# restored at relink time.
13.19074 -variables_saved_for_relink="$variables_saved_for_relink"
13.19075 -
13.19076 -# Whether libtool must link a program against all its dependency libraries.
13.19077 -link_all_deplibs=$link_all_deplibs_GCJ
13.19078 -
13.19079 -# Compile-time system search path for libraries
13.19080 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13.19081 -
13.19082 -# Run-time system search path for libraries
13.19083 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13.19084 -
13.19085 -# Fix the shell variable \$srcfile for the compiler.
13.19086 -fix_srcfile_path="$fix_srcfile_path_GCJ"
13.19087 -
13.19088 -# Set to yes if exported symbols are required.
13.19089 -always_export_symbols=$always_export_symbols_GCJ
13.19090 -
13.19091 -# The commands to list exported symbols.
13.19092 -export_symbols_cmds=$lt_export_symbols_cmds_GCJ
13.19093 -
13.19094 -# The commands to extract the exported symbol list from a shared archive.
13.19095 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
13.19096 -
13.19097 -# Symbols that should not be listed in the preloaded symbols.
13.19098 -exclude_expsyms=$lt_exclude_expsyms_GCJ
13.19099 -
13.19100 -# Symbols that must always be exported.
13.19101 -include_expsyms=$lt_include_expsyms_GCJ
13.19102 -
13.19103 -# ### END LIBTOOL TAG CONFIG: $tagname
13.19104 -
13.19105 -__EOF__
13.19106 -
13.19107 -
13.19108 -else
13.19109 - # If there is no Makefile yet, we rely on a make rule to execute
13.19110 - # `config.status --recheck' to rerun these tests and create the
13.19111 - # libtool script then.
13.19112 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13.19113 - if test -f "$ltmain_in"; then
13.19114 - test -f Makefile && make "$ltmain"
13.19115 - fi
13.19116 -fi
13.19117 -
13.19118 -
13.19119 -ac_ext=c
13.19120 -ac_cpp='$CPP $CPPFLAGS'
13.19121 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.19122 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.19123 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.19124 -
13.19125 -CC="$lt_save_CC"
13.19126 -
13.19127 - else
13.19128 - tagname=""
13.19129 - fi
13.19130 - ;;
13.19131 -
13.19132 - RC)
13.19133 -
13.19134 -
13.19135 -
13.19136 -# Source file extension for RC test sources.
13.19137 -ac_ext=rc
13.19138 -
13.19139 -# Object file extension for compiled RC test sources.
13.19140 -objext=o
13.19141 -objext_RC=$objext
13.19142 -
13.19143 -# Code to be used in simple compile tests
13.19144 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
13.19145 -
13.19146 -# Code to be used in simple link tests
13.19147 -lt_simple_link_test_code="$lt_simple_compile_test_code"
13.19148 -
13.19149 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13.19150 -
13.19151 -# If no C compiler was specified, use CC.
13.19152 -LTCC=${LTCC-"$CC"}
13.19153 -
13.19154 -# Allow CC to be a program name with arguments.
13.19155 -compiler=$CC
13.19156 -
13.19157 -
13.19158 -# save warnings/boilerplate of simple test code
13.19159 -ac_outfile=conftest.$ac_objext
13.19160 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13.19161 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13.19162 -_lt_compiler_boilerplate=`cat conftest.err`
13.19163 -$rm conftest*
13.19164 -
13.19165 -ac_outfile=conftest.$ac_objext
13.19166 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
13.19167 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13.19168 -_lt_linker_boilerplate=`cat conftest.err`
13.19169 -$rm conftest*
13.19170 -
13.19171 -
13.19172 -# Allow CC to be a program name with arguments.
13.19173 -lt_save_CC="$CC"
13.19174 -CC=${RC-"windres"}
13.19175 -compiler=$CC
13.19176 -compiler_RC=$CC
13.19177 -for cc_temp in $compiler""; do
13.19178 - case $cc_temp in
13.19179 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13.19180 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13.19181 - \-*) ;;
13.19182 - *) break;;
13.19183 - esac
13.19184 -done
13.19185 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13.19186 -
13.19187 -lt_cv_prog_compiler_c_o_RC=yes
13.19188 -
13.19189 -# The else clause should only fire when bootstrapping the
13.19190 -# libtool distribution, otherwise you forgot to ship ltmain.sh
13.19191 -# with your package, and you will get complaints that there are
13.19192 -# no rules to generate ltmain.sh.
13.19193 -if test -f "$ltmain"; then
13.19194 - # See if we are running on zsh, and set the options which allow our commands through
13.19195 - # without removal of \ escapes.
13.19196 - if test -n "${ZSH_VERSION+set}" ; then
13.19197 - setopt NO_GLOB_SUBST
13.19198 - fi
13.19199 - # Now quote all the things that may contain metacharacters while being
13.19200 - # careful not to overquote the AC_SUBSTed values. We take copies of the
13.19201 - # variables and quote the copies for generation of the libtool script.
13.19202 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
13.19203 - SED SHELL STRIP \
13.19204 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13.19205 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13.19206 - deplibs_check_method reload_flag reload_cmds need_locks \
13.19207 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13.19208 - lt_cv_sys_global_symbol_to_c_name_address \
13.19209 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13.19210 - old_postinstall_cmds old_postuninstall_cmds \
13.19211 - compiler_RC \
13.19212 - CC_RC \
13.19213 - LD_RC \
13.19214 - lt_prog_compiler_wl_RC \
13.19215 - lt_prog_compiler_pic_RC \
13.19216 - lt_prog_compiler_static_RC \
13.19217 - lt_prog_compiler_no_builtin_flag_RC \
13.19218 - export_dynamic_flag_spec_RC \
13.19219 - thread_safe_flag_spec_RC \
13.19220 - whole_archive_flag_spec_RC \
13.19221 - enable_shared_with_static_runtimes_RC \
13.19222 - old_archive_cmds_RC \
13.19223 - old_archive_from_new_cmds_RC \
13.19224 - predep_objects_RC \
13.19225 - postdep_objects_RC \
13.19226 - predeps_RC \
13.19227 - postdeps_RC \
13.19228 - compiler_lib_search_path_RC \
13.19229 - archive_cmds_RC \
13.19230 - archive_expsym_cmds_RC \
13.19231 - postinstall_cmds_RC \
13.19232 - postuninstall_cmds_RC \
13.19233 - old_archive_from_expsyms_cmds_RC \
13.19234 - allow_undefined_flag_RC \
13.19235 - no_undefined_flag_RC \
13.19236 - export_symbols_cmds_RC \
13.19237 - hardcode_libdir_flag_spec_RC \
13.19238 - hardcode_libdir_flag_spec_ld_RC \
13.19239 - hardcode_libdir_separator_RC \
13.19240 - hardcode_automatic_RC \
13.19241 - module_cmds_RC \
13.19242 - module_expsym_cmds_RC \
13.19243 - lt_cv_prog_compiler_c_o_RC \
13.19244 - exclude_expsyms_RC \
13.19245 - include_expsyms_RC; do
13.19246 -
13.19247 - case $var in
13.19248 - old_archive_cmds_RC | \
13.19249 - old_archive_from_new_cmds_RC | \
13.19250 - archive_cmds_RC | \
13.19251 - archive_expsym_cmds_RC | \
13.19252 - module_cmds_RC | \
13.19253 - module_expsym_cmds_RC | \
13.19254 - old_archive_from_expsyms_cmds_RC | \
13.19255 - export_symbols_cmds_RC | \
13.19256 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
13.19257 - postinstall_cmds | postuninstall_cmds | \
13.19258 - old_postinstall_cmds | old_postuninstall_cmds | \
13.19259 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13.19260 - # Double-quote double-evaled strings.
13.19261 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13.19262 - ;;
13.19263 - *)
13.19264 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13.19265 - ;;
13.19266 - esac
13.19267 - done
13.19268 -
13.19269 - case $lt_echo in
13.19270 - *'\$0 --fallback-echo"')
13.19271 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13.19272 - ;;
13.19273 - esac
13.19274 -
13.19275 -cfgfile="$ofile"
13.19276 -
13.19277 - cat <<__EOF__ >> "$cfgfile"
13.19278 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13.19279 -
13.19280 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13.19281 -
13.19282 -# Shell to use when invoking shell scripts.
13.19283 -SHELL=$lt_SHELL
13.19284 -
13.19285 -# Whether or not to build shared libraries.
13.19286 -build_libtool_libs=$enable_shared
13.19287 -
13.19288 -# Whether or not to build static libraries.
13.19289 -build_old_libs=$enable_static
13.19290 -
13.19291 -# Whether or not to add -lc for building shared libraries.
13.19292 -build_libtool_need_lc=$archive_cmds_need_lc_RC
13.19293 -
13.19294 -# Whether or not to disallow shared libs when runtime libs are static
13.19295 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
13.19296 -
13.19297 -# Whether or not to optimize for fast installation.
13.19298 -fast_install=$enable_fast_install
13.19299 -
13.19300 -# The host system.
13.19301 -host_alias=$host_alias
13.19302 -host=$host
13.19303 -host_os=$host_os
13.19304 -
13.19305 -# The build system.
13.19306 -build_alias=$build_alias
13.19307 -build=$build
13.19308 -build_os=$build_os
13.19309 -
13.19310 -# An echo program that does not interpret backslashes.
13.19311 -echo=$lt_echo
13.19312 -
13.19313 -# The archiver.
13.19314 -AR=$lt_AR
13.19315 -AR_FLAGS=$lt_AR_FLAGS
13.19316 -
13.19317 -# A C compiler.
13.19318 -LTCC=$lt_LTCC
13.19319 -
13.19320 -# A language-specific compiler.
13.19321 -CC=$lt_compiler_RC
13.19322 -
13.19323 -# Is the compiler the GNU C compiler?
13.19324 -with_gcc=$GCC_RC
13.19325 -
13.19326 -# An ERE matcher.
13.19327 -EGREP=$lt_EGREP
13.19328 -
13.19329 -# The linker used to build libraries.
13.19330 -LD=$lt_LD_RC
13.19331 -
13.19332 -# Whether we need hard or soft links.
13.19333 -LN_S=$lt_LN_S
13.19334 -
13.19335 -# A BSD-compatible nm program.
13.19336 -NM=$lt_NM
13.19337 -
13.19338 -# A symbol stripping program
13.19339 -STRIP=$lt_STRIP
13.19340 -
13.19341 -# Used to examine libraries when file_magic_cmd begins "file"
13.19342 -MAGIC_CMD=$MAGIC_CMD
13.19343 -
13.19344 -# Used on cygwin: DLL creation program.
13.19345 -DLLTOOL="$DLLTOOL"
13.19346 -
13.19347 -# Used on cygwin: object dumper.
13.19348 -OBJDUMP="$OBJDUMP"
13.19349 -
13.19350 -# Used on cygwin: assembler.
13.19351 -AS="$AS"
13.19352 -
13.19353 -# The name of the directory that contains temporary libtool files.
13.19354 -objdir=$objdir
13.19355 -
13.19356 -# How to create reloadable object files.
13.19357 -reload_flag=$lt_reload_flag
13.19358 -reload_cmds=$lt_reload_cmds
13.19359 -
13.19360 -# How to pass a linker flag through the compiler.
13.19361 -wl=$lt_lt_prog_compiler_wl_RC
13.19362 -
13.19363 -# Object file suffix (normally "o").
13.19364 -objext="$ac_objext"
13.19365 -
13.19366 -# Old archive suffix (normally "a").
13.19367 -libext="$libext"
13.19368 -
13.19369 -# Shared library suffix (normally ".so").
13.19370 -shrext_cmds='$shrext_cmds'
13.19371 -
13.19372 -# Executable file suffix (normally "").
13.19373 -exeext="$exeext"
13.19374 -
13.19375 -# Additional compiler flags for building library objects.
13.19376 -pic_flag=$lt_lt_prog_compiler_pic_RC
13.19377 -pic_mode=$pic_mode
13.19378 -
13.19379 -# What is the maximum length of a command?
13.19380 -max_cmd_len=$lt_cv_sys_max_cmd_len
13.19381 -
13.19382 -# Does compiler simultaneously support -c and -o options?
13.19383 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
13.19384 -
13.19385 -# Must we lock files when doing compilation?
13.19386 -need_locks=$lt_need_locks
13.19387 -
13.19388 -# Do we need the lib prefix for modules?
13.19389 -need_lib_prefix=$need_lib_prefix
13.19390 -
13.19391 -# Do we need a version for libraries?
13.19392 -need_version=$need_version
13.19393 -
13.19394 -# Whether dlopen is supported.
13.19395 -dlopen_support=$enable_dlopen
13.19396 -
13.19397 -# Whether dlopen of programs is supported.
13.19398 -dlopen_self=$enable_dlopen_self
13.19399 -
13.19400 -# Whether dlopen of statically linked programs is supported.
13.19401 -dlopen_self_static=$enable_dlopen_self_static
13.19402 -
13.19403 -# Compiler flag to prevent dynamic linking.
13.19404 -link_static_flag=$lt_lt_prog_compiler_static_RC
13.19405 -
13.19406 -# Compiler flag to turn off builtin functions.
13.19407 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
13.19408 -
13.19409 -# Compiler flag to allow reflexive dlopens.
13.19410 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
13.19411 -
13.19412 -# Compiler flag to generate shared objects directly from archives.
13.19413 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
13.19414 -
13.19415 -# Compiler flag to generate thread-safe objects.
13.19416 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
13.19417 -
13.19418 -# Library versioning type.
13.19419 -version_type=$version_type
13.19420 -
13.19421 -# Format of library name prefix.
13.19422 -libname_spec=$lt_libname_spec
13.19423 -
13.19424 -# List of archive names. First name is the real one, the rest are links.
13.19425 -# The last name is the one that the linker finds with -lNAME.
13.19426 -library_names_spec=$lt_library_names_spec
13.19427 -
13.19428 -# The coded name of the library, if different from the real name.
13.19429 -soname_spec=$lt_soname_spec
13.19430 -
13.19431 -# Commands used to build and install an old-style archive.
13.19432 -RANLIB=$lt_RANLIB
13.19433 -old_archive_cmds=$lt_old_archive_cmds_RC
13.19434 -old_postinstall_cmds=$lt_old_postinstall_cmds
13.19435 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
13.19436 -
13.19437 -# Create an old-style archive from a shared archive.
13.19438 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
13.19439 -
13.19440 -# Create a temporary old-style archive to link instead of a shared archive.
13.19441 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
13.19442 -
13.19443 -# Commands used to build and install a shared archive.
13.19444 -archive_cmds=$lt_archive_cmds_RC
13.19445 -archive_expsym_cmds=$lt_archive_expsym_cmds_RC
13.19446 -postinstall_cmds=$lt_postinstall_cmds
13.19447 -postuninstall_cmds=$lt_postuninstall_cmds
13.19448 -
13.19449 -# Commands used to build a loadable module (assumed same as above if empty)
13.19450 -module_cmds=$lt_module_cmds_RC
13.19451 -module_expsym_cmds=$lt_module_expsym_cmds_RC
13.19452 -
13.19453 -# Commands to strip libraries.
13.19454 -old_striplib=$lt_old_striplib
13.19455 -striplib=$lt_striplib
13.19456 -
13.19457 -# Dependencies to place before the objects being linked to create a
13.19458 -# shared library.
13.19459 -predep_objects=$lt_predep_objects_RC
13.19460 -
13.19461 -# Dependencies to place after the objects being linked to create a
13.19462 -# shared library.
13.19463 -postdep_objects=$lt_postdep_objects_RC
13.19464 -
13.19465 -# Dependencies to place before the objects being linked to create a
13.19466 -# shared library.
13.19467 -predeps=$lt_predeps_RC
13.19468 -
13.19469 -# Dependencies to place after the objects being linked to create a
13.19470 -# shared library.
13.19471 -postdeps=$lt_postdeps_RC
13.19472 -
13.19473 -# The library search path used internally by the compiler when linking
13.19474 -# a shared library.
13.19475 -compiler_lib_search_path=$lt_compiler_lib_search_path_RC
13.19476 -
13.19477 -# Method to check whether dependent libraries are shared objects.
13.19478 -deplibs_check_method=$lt_deplibs_check_method
13.19479 -
13.19480 -# Command to use when deplibs_check_method == file_magic.
13.19481 -file_magic_cmd=$lt_file_magic_cmd
13.19482 -
13.19483 -# Flag that allows shared libraries with undefined symbols to be built.
13.19484 -allow_undefined_flag=$lt_allow_undefined_flag_RC
13.19485 -
13.19486 -# Flag that forces no undefined symbols.
13.19487 -no_undefined_flag=$lt_no_undefined_flag_RC
13.19488 -
13.19489 -# Commands used to finish a libtool library installation in a directory.
13.19490 -finish_cmds=$lt_finish_cmds
13.19491 -
13.19492 -# Same as above, but a single script fragment to be evaled but not shown.
13.19493 -finish_eval=$lt_finish_eval
13.19494 -
13.19495 -# Take the output of nm and produce a listing of raw symbols and C names.
13.19496 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13.19497 -
13.19498 -# Transform the output of nm in a proper C declaration
13.19499 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13.19500 -
13.19501 -# Transform the output of nm in a C name address pair
13.19502 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13.19503 -
13.19504 -# This is the shared library runtime path variable.
13.19505 -runpath_var=$runpath_var
13.19506 -
13.19507 -# This is the shared library path variable.
13.19508 -shlibpath_var=$shlibpath_var
13.19509 -
13.19510 -# Is shlibpath searched before the hard-coded library search path?
13.19511 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13.19512 -
13.19513 -# How to hardcode a shared library path into an executable.
13.19514 -hardcode_action=$hardcode_action_RC
13.19515 -
13.19516 -# Whether we should hardcode library paths into libraries.
13.19517 -hardcode_into_libs=$hardcode_into_libs
13.19518 -
13.19519 -# Flag to hardcode \$libdir into a binary during linking.
13.19520 -# This must work even if \$libdir does not exist.
13.19521 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
13.19522 -
13.19523 -# If ld is used when linking, flag to hardcode \$libdir into
13.19524 -# a binary during linking. This must work even if \$libdir does
13.19525 -# not exist.
13.19526 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
13.19527 -
13.19528 -# Whether we need a single -rpath flag with a separated argument.
13.19529 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
13.19530 -
13.19531 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13.19532 -# resulting binary.
13.19533 -hardcode_direct=$hardcode_direct_RC
13.19534 -
13.19535 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13.19536 -# resulting binary.
13.19537 -hardcode_minus_L=$hardcode_minus_L_RC
13.19538 -
13.19539 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13.19540 -# the resulting binary.
13.19541 -hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
13.19542 -
13.19543 -# Set to yes if building a shared library automatically hardcodes DIR into the library
13.19544 -# and all subsequent libraries and executables linked against it.
13.19545 -hardcode_automatic=$hardcode_automatic_RC
13.19546 -
13.19547 -# Variables whose values should be saved in libtool wrapper scripts and
13.19548 -# restored at relink time.
13.19549 -variables_saved_for_relink="$variables_saved_for_relink"
13.19550 -
13.19551 -# Whether libtool must link a program against all its dependency libraries.
13.19552 -link_all_deplibs=$link_all_deplibs_RC
13.19553 -
13.19554 -# Compile-time system search path for libraries
13.19555 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13.19556 -
13.19557 -# Run-time system search path for libraries
13.19558 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13.19559 -
13.19560 -# Fix the shell variable \$srcfile for the compiler.
13.19561 -fix_srcfile_path="$fix_srcfile_path_RC"
13.19562 -
13.19563 -# Set to yes if exported symbols are required.
13.19564 -always_export_symbols=$always_export_symbols_RC
13.19565 -
13.19566 -# The commands to list exported symbols.
13.19567 -export_symbols_cmds=$lt_export_symbols_cmds_RC
13.19568 -
13.19569 -# The commands to extract the exported symbol list from a shared archive.
13.19570 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
13.19571 -
13.19572 -# Symbols that should not be listed in the preloaded symbols.
13.19573 -exclude_expsyms=$lt_exclude_expsyms_RC
13.19574 -
13.19575 -# Symbols that must always be exported.
13.19576 -include_expsyms=$lt_include_expsyms_RC
13.19577 -
13.19578 -# ### END LIBTOOL TAG CONFIG: $tagname
13.19579 -
13.19580 -__EOF__
13.19581 -
13.19582 -
13.19583 -else
13.19584 - # If there is no Makefile yet, we rely on a make rule to execute
13.19585 - # `config.status --recheck' to rerun these tests and create the
13.19586 - # libtool script then.
13.19587 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13.19588 - if test -f "$ltmain_in"; then
13.19589 - test -f Makefile && make "$ltmain"
13.19590 - fi
13.19591 -fi
13.19592 -
13.19593 -
13.19594 -ac_ext=c
13.19595 -ac_cpp='$CPP $CPPFLAGS'
13.19596 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.19597 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.19598 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.19599 -
13.19600 -CC="$lt_save_CC"
13.19601 -
13.19602 - ;;
13.19603 -
13.19604 - *)
13.19605 - { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
13.19606 -echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
13.19607 - { (exit 1); exit 1; }; }
13.19608 - ;;
13.19609 - esac
13.19610 -
13.19611 - # Append the new tag name to the list of available tags.
13.19612 - if test -n "$tagname" ; then
13.19613 - available_tags="$available_tags $tagname"
13.19614 - fi
13.19615 - fi
13.19616 - done
13.19617 - IFS="$lt_save_ifs"
13.19618 -
13.19619 - # Now substitute the updated list of available tags.
13.19620 - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
13.19621 - mv "${ofile}T" "$ofile"
13.19622 - chmod +x "$ofile"
13.19623 - else
13.19624 - rm -f "${ofile}T"
13.19625 - { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
13.19626 -echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
13.19627 - { (exit 1); exit 1; }; }
13.19628 - fi
13.19629 -fi
13.19630 -
13.19631 -
13.19632 -
13.19633 -# This can be used to rebuild libtool when needed
13.19634 -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
13.19635 -
13.19636 -# Always use our own libtool.
13.19637 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
13.19638 -
13.19639 -# Prevent multiple expansion
13.19640 -
13.19641 -
13.19642 -
13.19643 -
13.19644 -
13.19645 -
13.19646 -
13.19647 -
13.19648 -
13.19649 -
13.19650 -
13.19651 -
13.19652 -
13.19653 -
13.19654 -
13.19655 -
13.19656 -
13.19657 -
13.19658 -
13.19659 -
13.19660 -
13.19661 - ac_config_headers="$ac_config_headers config.h"
13.19662 -
13.19663 -
13.19664 -ACLOCAL_AMFLAGS="-I m4"
13.19665 -
13.19666 -
13.19667 -ac_ext=c
13.19668 -ac_cpp='$CPP $CPPFLAGS'
13.19669 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.19670 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.19671 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.19672 -if test -n "$ac_tool_prefix"; then
13.19673 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13.19674 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
13.19675 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.19676 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.19677 -if test "${ac_cv_prog_CC+set}" = set; then
13.19678 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.19679 -else
13.19680 - if test -n "$CC"; then
13.19681 - ac_cv_prog_CC="$CC" # Let the user override the test.
13.19682 -else
13.19683 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.19684 -for as_dir in $PATH
13.19685 -do
13.19686 - IFS=$as_save_IFS
13.19687 - test -z "$as_dir" && as_dir=.
13.19688 - for ac_exec_ext in '' $ac_executable_extensions; do
13.19689 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.19690 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
13.19691 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.19692 - break 2
13.19693 - fi
13.19694 -done
13.19695 -done
13.19696 -
13.19697 -fi
13.19698 -fi
13.19699 -CC=$ac_cv_prog_CC
13.19700 -if test -n "$CC"; then
13.19701 - echo "$as_me:$LINENO: result: $CC" >&5
13.19702 -echo "${ECHO_T}$CC" >&6
13.19703 -else
13.19704 - echo "$as_me:$LINENO: result: no" >&5
13.19705 -echo "${ECHO_T}no" >&6
13.19706 -fi
13.19707 -
13.19708 -fi
13.19709 -if test -z "$ac_cv_prog_CC"; then
13.19710 - ac_ct_CC=$CC
13.19711 - # Extract the first word of "gcc", so it can be a program name with args.
13.19712 -set dummy gcc; ac_word=$2
13.19713 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.19714 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.19715 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13.19716 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.19717 -else
13.19718 - if test -n "$ac_ct_CC"; then
13.19719 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13.19720 -else
13.19721 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.19722 -for as_dir in $PATH
13.19723 -do
13.19724 - IFS=$as_save_IFS
13.19725 - test -z "$as_dir" && as_dir=.
13.19726 - for ac_exec_ext in '' $ac_executable_extensions; do
13.19727 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.19728 - ac_cv_prog_ac_ct_CC="gcc"
13.19729 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.19730 - break 2
13.19731 - fi
13.19732 -done
13.19733 -done
13.19734 -
13.19735 -fi
13.19736 -fi
13.19737 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
13.19738 -if test -n "$ac_ct_CC"; then
13.19739 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13.19740 -echo "${ECHO_T}$ac_ct_CC" >&6
13.19741 -else
13.19742 - echo "$as_me:$LINENO: result: no" >&5
13.19743 -echo "${ECHO_T}no" >&6
13.19744 -fi
13.19745 -
13.19746 - CC=$ac_ct_CC
13.19747 -else
13.19748 - CC="$ac_cv_prog_CC"
13.19749 -fi
13.19750 -
13.19751 -if test -z "$CC"; then
13.19752 - if test -n "$ac_tool_prefix"; then
13.19753 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13.19754 -set dummy ${ac_tool_prefix}cc; ac_word=$2
13.19755 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.19756 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.19757 -if test "${ac_cv_prog_CC+set}" = set; then
13.19758 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.19759 -else
13.19760 - if test -n "$CC"; then
13.19761 - ac_cv_prog_CC="$CC" # Let the user override the test.
13.19762 -else
13.19763 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.19764 -for as_dir in $PATH
13.19765 -do
13.19766 - IFS=$as_save_IFS
13.19767 - test -z "$as_dir" && as_dir=.
13.19768 - for ac_exec_ext in '' $ac_executable_extensions; do
13.19769 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.19770 - ac_cv_prog_CC="${ac_tool_prefix}cc"
13.19771 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.19772 - break 2
13.19773 - fi
13.19774 -done
13.19775 -done
13.19776 -
13.19777 -fi
13.19778 -fi
13.19779 -CC=$ac_cv_prog_CC
13.19780 -if test -n "$CC"; then
13.19781 - echo "$as_me:$LINENO: result: $CC" >&5
13.19782 -echo "${ECHO_T}$CC" >&6
13.19783 -else
13.19784 - echo "$as_me:$LINENO: result: no" >&5
13.19785 -echo "${ECHO_T}no" >&6
13.19786 -fi
13.19787 -
13.19788 -fi
13.19789 -if test -z "$ac_cv_prog_CC"; then
13.19790 - ac_ct_CC=$CC
13.19791 - # Extract the first word of "cc", so it can be a program name with args.
13.19792 -set dummy cc; ac_word=$2
13.19793 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.19794 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.19795 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13.19796 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.19797 -else
13.19798 - if test -n "$ac_ct_CC"; then
13.19799 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13.19800 -else
13.19801 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.19802 -for as_dir in $PATH
13.19803 -do
13.19804 - IFS=$as_save_IFS
13.19805 - test -z "$as_dir" && as_dir=.
13.19806 - for ac_exec_ext in '' $ac_executable_extensions; do
13.19807 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.19808 - ac_cv_prog_ac_ct_CC="cc"
13.19809 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.19810 - break 2
13.19811 - fi
13.19812 -done
13.19813 -done
13.19814 -
13.19815 -fi
13.19816 -fi
13.19817 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
13.19818 -if test -n "$ac_ct_CC"; then
13.19819 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13.19820 -echo "${ECHO_T}$ac_ct_CC" >&6
13.19821 -else
13.19822 - echo "$as_me:$LINENO: result: no" >&5
13.19823 -echo "${ECHO_T}no" >&6
13.19824 -fi
13.19825 -
13.19826 - CC=$ac_ct_CC
13.19827 -else
13.19828 - CC="$ac_cv_prog_CC"
13.19829 -fi
13.19830 -
13.19831 -fi
13.19832 -if test -z "$CC"; then
13.19833 - # Extract the first word of "cc", so it can be a program name with args.
13.19834 -set dummy cc; ac_word=$2
13.19835 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.19836 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.19837 -if test "${ac_cv_prog_CC+set}" = set; then
13.19838 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.19839 -else
13.19840 - if test -n "$CC"; then
13.19841 - ac_cv_prog_CC="$CC" # Let the user override the test.
13.19842 -else
13.19843 - ac_prog_rejected=no
13.19844 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.19845 -for as_dir in $PATH
13.19846 -do
13.19847 - IFS=$as_save_IFS
13.19848 - test -z "$as_dir" && as_dir=.
13.19849 - for ac_exec_ext in '' $ac_executable_extensions; do
13.19850 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.19851 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13.19852 - ac_prog_rejected=yes
13.19853 - continue
13.19854 - fi
13.19855 - ac_cv_prog_CC="cc"
13.19856 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.19857 - break 2
13.19858 - fi
13.19859 -done
13.19860 -done
13.19861 -
13.19862 -if test $ac_prog_rejected = yes; then
13.19863 - # We found a bogon in the path, so make sure we never use it.
13.19864 - set dummy $ac_cv_prog_CC
13.19865 - shift
13.19866 - if test $# != 0; then
13.19867 - # We chose a different compiler from the bogus one.
13.19868 - # However, it has the same basename, so the bogon will be chosen
13.19869 - # first if we set CC to just the basename; use the full file name.
13.19870 - shift
13.19871 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13.19872 - fi
13.19873 -fi
13.19874 -fi
13.19875 -fi
13.19876 -CC=$ac_cv_prog_CC
13.19877 -if test -n "$CC"; then
13.19878 - echo "$as_me:$LINENO: result: $CC" >&5
13.19879 -echo "${ECHO_T}$CC" >&6
13.19880 -else
13.19881 - echo "$as_me:$LINENO: result: no" >&5
13.19882 -echo "${ECHO_T}no" >&6
13.19883 -fi
13.19884 -
13.19885 -fi
13.19886 -if test -z "$CC"; then
13.19887 - if test -n "$ac_tool_prefix"; then
13.19888 - for ac_prog in cl
13.19889 - do
13.19890 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13.19891 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13.19892 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.19893 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.19894 -if test "${ac_cv_prog_CC+set}" = set; then
13.19895 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.19896 -else
13.19897 - if test -n "$CC"; then
13.19898 - ac_cv_prog_CC="$CC" # Let the user override the test.
13.19899 -else
13.19900 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.19901 -for as_dir in $PATH
13.19902 -do
13.19903 - IFS=$as_save_IFS
13.19904 - test -z "$as_dir" && as_dir=.
13.19905 - for ac_exec_ext in '' $ac_executable_extensions; do
13.19906 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.19907 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13.19908 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.19909 - break 2
13.19910 - fi
13.19911 -done
13.19912 -done
13.19913 -
13.19914 -fi
13.19915 -fi
13.19916 -CC=$ac_cv_prog_CC
13.19917 -if test -n "$CC"; then
13.19918 - echo "$as_me:$LINENO: result: $CC" >&5
13.19919 -echo "${ECHO_T}$CC" >&6
13.19920 -else
13.19921 - echo "$as_me:$LINENO: result: no" >&5
13.19922 -echo "${ECHO_T}no" >&6
13.19923 -fi
13.19924 -
13.19925 - test -n "$CC" && break
13.19926 - done
13.19927 -fi
13.19928 -if test -z "$CC"; then
13.19929 - ac_ct_CC=$CC
13.19930 - for ac_prog in cl
13.19931 -do
13.19932 - # Extract the first word of "$ac_prog", so it can be a program name with args.
13.19933 -set dummy $ac_prog; ac_word=$2
13.19934 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.19935 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.19936 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13.19937 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.19938 -else
13.19939 - if test -n "$ac_ct_CC"; then
13.19940 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13.19941 -else
13.19942 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.19943 -for as_dir in $PATH
13.19944 -do
13.19945 - IFS=$as_save_IFS
13.19946 - test -z "$as_dir" && as_dir=.
13.19947 - for ac_exec_ext in '' $ac_executable_extensions; do
13.19948 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.19949 - ac_cv_prog_ac_ct_CC="$ac_prog"
13.19950 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.19951 - break 2
13.19952 - fi
13.19953 -done
13.19954 -done
13.19955 -
13.19956 -fi
13.19957 -fi
13.19958 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
13.19959 -if test -n "$ac_ct_CC"; then
13.19960 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13.19961 -echo "${ECHO_T}$ac_ct_CC" >&6
13.19962 -else
13.19963 - echo "$as_me:$LINENO: result: no" >&5
13.19964 -echo "${ECHO_T}no" >&6
13.19965 -fi
13.19966 -
13.19967 - test -n "$ac_ct_CC" && break
13.19968 -done
13.19969 -
13.19970 - CC=$ac_ct_CC
13.19971 -fi
13.19972 -
13.19973 -fi
13.19974 -
13.19975 -
13.19976 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13.19977 -See \`config.log' for more details." >&5
13.19978 -echo "$as_me: error: no acceptable C compiler found in \$PATH
13.19979 -See \`config.log' for more details." >&2;}
13.19980 - { (exit 1); exit 1; }; }
13.19981 -
13.19982 -# Provide some information about the compiler.
13.19983 -echo "$as_me:$LINENO:" \
13.19984 - "checking for C compiler version" >&5
13.19985 -ac_compiler=`set X $ac_compile; echo $2`
13.19986 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13.19987 - (eval $ac_compiler --version </dev/null >&5) 2>&5
13.19988 - ac_status=$?
13.19989 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.19990 - (exit $ac_status); }
13.19991 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13.19992 - (eval $ac_compiler -v </dev/null >&5) 2>&5
13.19993 - ac_status=$?
13.19994 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.19995 - (exit $ac_status); }
13.19996 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13.19997 - (eval $ac_compiler -V </dev/null >&5) 2>&5
13.19998 - ac_status=$?
13.19999 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20000 - (exit $ac_status); }
13.20001 -
13.20002 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13.20003 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
13.20004 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
13.20005 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.20006 -else
13.20007 - cat >conftest.$ac_ext <<_ACEOF
13.20008 -/* confdefs.h. */
13.20009 -_ACEOF
13.20010 -cat confdefs.h >>conftest.$ac_ext
13.20011 -cat >>conftest.$ac_ext <<_ACEOF
13.20012 -/* end confdefs.h. */
13.20013 -
13.20014 -int
13.20015 -main ()
13.20016 -{
13.20017 -#ifndef __GNUC__
13.20018 - choke me
13.20019 -#endif
13.20020 -
13.20021 - ;
13.20022 - return 0;
13.20023 -}
13.20024 -_ACEOF
13.20025 -rm -f conftest.$ac_objext
13.20026 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.20027 - (eval $ac_compile) 2>conftest.er1
13.20028 - ac_status=$?
13.20029 - grep -v '^ *+' conftest.er1 >conftest.err
13.20030 - rm -f conftest.er1
13.20031 - cat conftest.err >&5
13.20032 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20033 - (exit $ac_status); } &&
13.20034 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.20035 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20036 - (eval $ac_try) 2>&5
13.20037 - ac_status=$?
13.20038 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20039 - (exit $ac_status); }; } &&
13.20040 - { ac_try='test -s conftest.$ac_objext'
13.20041 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20042 - (eval $ac_try) 2>&5
13.20043 - ac_status=$?
13.20044 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20045 - (exit $ac_status); }; }; then
13.20046 - ac_compiler_gnu=yes
13.20047 -else
13.20048 - echo "$as_me: failed program was:" >&5
13.20049 -sed 's/^/| /' conftest.$ac_ext >&5
13.20050 -
13.20051 -ac_compiler_gnu=no
13.20052 -fi
13.20053 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.20054 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
13.20055 -
13.20056 -fi
13.20057 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13.20058 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
13.20059 -GCC=`test $ac_compiler_gnu = yes && echo yes`
13.20060 -ac_test_CFLAGS=${CFLAGS+set}
13.20061 -ac_save_CFLAGS=$CFLAGS
13.20062 -CFLAGS="-g"
13.20063 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13.20064 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13.20065 -if test "${ac_cv_prog_cc_g+set}" = set; then
13.20066 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.20067 -else
13.20068 - cat >conftest.$ac_ext <<_ACEOF
13.20069 -/* confdefs.h. */
13.20070 -_ACEOF
13.20071 -cat confdefs.h >>conftest.$ac_ext
13.20072 -cat >>conftest.$ac_ext <<_ACEOF
13.20073 -/* end confdefs.h. */
13.20074 -
13.20075 -int
13.20076 -main ()
13.20077 -{
13.20078 -
13.20079 - ;
13.20080 - return 0;
13.20081 -}
13.20082 -_ACEOF
13.20083 -rm -f conftest.$ac_objext
13.20084 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.20085 - (eval $ac_compile) 2>conftest.er1
13.20086 - ac_status=$?
13.20087 - grep -v '^ *+' conftest.er1 >conftest.err
13.20088 - rm -f conftest.er1
13.20089 - cat conftest.err >&5
13.20090 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20091 - (exit $ac_status); } &&
13.20092 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.20093 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20094 - (eval $ac_try) 2>&5
13.20095 - ac_status=$?
13.20096 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20097 - (exit $ac_status); }; } &&
13.20098 - { ac_try='test -s conftest.$ac_objext'
13.20099 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20100 - (eval $ac_try) 2>&5
13.20101 - ac_status=$?
13.20102 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20103 - (exit $ac_status); }; }; then
13.20104 - ac_cv_prog_cc_g=yes
13.20105 -else
13.20106 - echo "$as_me: failed program was:" >&5
13.20107 -sed 's/^/| /' conftest.$ac_ext >&5
13.20108 -
13.20109 -ac_cv_prog_cc_g=no
13.20110 -fi
13.20111 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.20112 -fi
13.20113 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13.20114 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13.20115 -if test "$ac_test_CFLAGS" = set; then
13.20116 - CFLAGS=$ac_save_CFLAGS
13.20117 -elif test $ac_cv_prog_cc_g = yes; then
13.20118 - if test "$GCC" = yes; then
13.20119 - CFLAGS="-g -O2"
13.20120 - else
13.20121 - CFLAGS="-g"
13.20122 - fi
13.20123 -else
13.20124 - if test "$GCC" = yes; then
13.20125 - CFLAGS="-O2"
13.20126 - else
13.20127 - CFLAGS=
13.20128 - fi
13.20129 -fi
13.20130 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
13.20131 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
13.20132 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
13.20133 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.20134 -else
13.20135 - ac_cv_prog_cc_stdc=no
13.20136 -ac_save_CC=$CC
13.20137 -cat >conftest.$ac_ext <<_ACEOF
13.20138 -/* confdefs.h. */
13.20139 -_ACEOF
13.20140 -cat confdefs.h >>conftest.$ac_ext
13.20141 -cat >>conftest.$ac_ext <<_ACEOF
13.20142 -/* end confdefs.h. */
13.20143 -#include <stdarg.h>
13.20144 -#include <stdio.h>
13.20145 -#include <sys/types.h>
13.20146 -#include <sys/stat.h>
13.20147 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13.20148 -struct buf { int x; };
13.20149 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
13.20150 -static char *e (p, i)
13.20151 - char **p;
13.20152 - int i;
13.20153 -{
13.20154 - return p[i];
13.20155 -}
13.20156 -static char *f (char * (*g) (char **, int), char **p, ...)
13.20157 -{
13.20158 - char *s;
13.20159 - va_list v;
13.20160 - va_start (v,p);
13.20161 - s = g (p, va_arg (v,int));
13.20162 - va_end (v);
13.20163 - return s;
13.20164 -}
13.20165 -
13.20166 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13.20167 - function prototypes and stuff, but not '\xHH' hex character constants.
13.20168 - These don't provoke an error unfortunately, instead are silently treated
13.20169 - as 'x'. The following induces an error, until -std1 is added to get
13.20170 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13.20171 - array size at least. It's necessary to write '\x00'==0 to get something
13.20172 - that's true only with -std1. */
13.20173 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13.20174 -
13.20175 -int test (int i, double x);
13.20176 -struct s1 {int (*f) (int a);};
13.20177 -struct s2 {int (*f) (double a);};
13.20178 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13.20179 -int argc;
13.20180 -char **argv;
13.20181 -int
13.20182 -main ()
13.20183 -{
13.20184 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13.20185 - ;
13.20186 - return 0;
13.20187 -}
13.20188 -_ACEOF
13.20189 -# Don't try gcc -ansi; that turns off useful extensions and
13.20190 -# breaks some systems' header files.
13.20191 -# AIX -qlanglvl=ansi
13.20192 -# Ultrix and OSF/1 -std1
13.20193 -# HP-UX 10.20 and later -Ae
13.20194 -# HP-UX older versions -Aa -D_HPUX_SOURCE
13.20195 -# SVR4 -Xc -D__EXTENSIONS__
13.20196 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13.20197 -do
13.20198 - CC="$ac_save_CC $ac_arg"
13.20199 - rm -f conftest.$ac_objext
13.20200 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.20201 - (eval $ac_compile) 2>conftest.er1
13.20202 - ac_status=$?
13.20203 - grep -v '^ *+' conftest.er1 >conftest.err
13.20204 - rm -f conftest.er1
13.20205 - cat conftest.err >&5
13.20206 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20207 - (exit $ac_status); } &&
13.20208 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.20209 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20210 - (eval $ac_try) 2>&5
13.20211 - ac_status=$?
13.20212 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20213 - (exit $ac_status); }; } &&
13.20214 - { ac_try='test -s conftest.$ac_objext'
13.20215 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20216 - (eval $ac_try) 2>&5
13.20217 - ac_status=$?
13.20218 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20219 - (exit $ac_status); }; }; then
13.20220 - ac_cv_prog_cc_stdc=$ac_arg
13.20221 -break
13.20222 -else
13.20223 - echo "$as_me: failed program was:" >&5
13.20224 -sed 's/^/| /' conftest.$ac_ext >&5
13.20225 -
13.20226 -fi
13.20227 -rm -f conftest.err conftest.$ac_objext
13.20228 -done
13.20229 -rm -f conftest.$ac_ext conftest.$ac_objext
13.20230 -CC=$ac_save_CC
13.20231 -
13.20232 -fi
13.20233 -
13.20234 -case "x$ac_cv_prog_cc_stdc" in
13.20235 - x|xno)
13.20236 - echo "$as_me:$LINENO: result: none needed" >&5
13.20237 -echo "${ECHO_T}none needed" >&6 ;;
13.20238 - *)
13.20239 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
13.20240 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
13.20241 - CC="$CC $ac_cv_prog_cc_stdc" ;;
13.20242 -esac
13.20243 -
13.20244 -# Some people use a C++ compiler to compile C. Since we use `exit',
13.20245 -# in C++ we need to declare it. In case someone uses the same compiler
13.20246 -# for both compiling C and C++ we need to have the C++ compiler decide
13.20247 -# the declaration of exit, since it's the most demanding environment.
13.20248 -cat >conftest.$ac_ext <<_ACEOF
13.20249 -#ifndef __cplusplus
13.20250 - choke me
13.20251 -#endif
13.20252 -_ACEOF
13.20253 -rm -f conftest.$ac_objext
13.20254 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.20255 - (eval $ac_compile) 2>conftest.er1
13.20256 - ac_status=$?
13.20257 - grep -v '^ *+' conftest.er1 >conftest.err
13.20258 - rm -f conftest.er1
13.20259 - cat conftest.err >&5
13.20260 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20261 - (exit $ac_status); } &&
13.20262 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.20263 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20264 - (eval $ac_try) 2>&5
13.20265 - ac_status=$?
13.20266 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20267 - (exit $ac_status); }; } &&
13.20268 - { ac_try='test -s conftest.$ac_objext'
13.20269 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20270 - (eval $ac_try) 2>&5
13.20271 - ac_status=$?
13.20272 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20273 - (exit $ac_status); }; }; then
13.20274 - for ac_declaration in \
13.20275 - '' \
13.20276 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
13.20277 - 'extern "C" void std::exit (int); using std::exit;' \
13.20278 - 'extern "C" void exit (int) throw ();' \
13.20279 - 'extern "C" void exit (int);' \
13.20280 - 'void exit (int);'
13.20281 -do
13.20282 - cat >conftest.$ac_ext <<_ACEOF
13.20283 -/* confdefs.h. */
13.20284 -_ACEOF
13.20285 -cat confdefs.h >>conftest.$ac_ext
13.20286 -cat >>conftest.$ac_ext <<_ACEOF
13.20287 -/* end confdefs.h. */
13.20288 -$ac_declaration
13.20289 -#include <stdlib.h>
13.20290 -int
13.20291 -main ()
13.20292 -{
13.20293 -exit (42);
13.20294 - ;
13.20295 - return 0;
13.20296 -}
13.20297 -_ACEOF
13.20298 -rm -f conftest.$ac_objext
13.20299 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.20300 - (eval $ac_compile) 2>conftest.er1
13.20301 - ac_status=$?
13.20302 - grep -v '^ *+' conftest.er1 >conftest.err
13.20303 - rm -f conftest.er1
13.20304 - cat conftest.err >&5
13.20305 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20306 - (exit $ac_status); } &&
13.20307 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.20308 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20309 - (eval $ac_try) 2>&5
13.20310 - ac_status=$?
13.20311 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20312 - (exit $ac_status); }; } &&
13.20313 - { ac_try='test -s conftest.$ac_objext'
13.20314 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20315 - (eval $ac_try) 2>&5
13.20316 - ac_status=$?
13.20317 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20318 - (exit $ac_status); }; }; then
13.20319 - :
13.20320 -else
13.20321 - echo "$as_me: failed program was:" >&5
13.20322 -sed 's/^/| /' conftest.$ac_ext >&5
13.20323 -
13.20324 -continue
13.20325 -fi
13.20326 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.20327 - cat >conftest.$ac_ext <<_ACEOF
13.20328 -/* confdefs.h. */
13.20329 -_ACEOF
13.20330 -cat confdefs.h >>conftest.$ac_ext
13.20331 -cat >>conftest.$ac_ext <<_ACEOF
13.20332 -/* end confdefs.h. */
13.20333 -$ac_declaration
13.20334 -int
13.20335 -main ()
13.20336 -{
13.20337 -exit (42);
13.20338 - ;
13.20339 - return 0;
13.20340 -}
13.20341 -_ACEOF
13.20342 -rm -f conftest.$ac_objext
13.20343 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.20344 - (eval $ac_compile) 2>conftest.er1
13.20345 - ac_status=$?
13.20346 - grep -v '^ *+' conftest.er1 >conftest.err
13.20347 - rm -f conftest.er1
13.20348 - cat conftest.err >&5
13.20349 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20350 - (exit $ac_status); } &&
13.20351 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.20352 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20353 - (eval $ac_try) 2>&5
13.20354 - ac_status=$?
13.20355 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20356 - (exit $ac_status); }; } &&
13.20357 - { ac_try='test -s conftest.$ac_objext'
13.20358 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20359 - (eval $ac_try) 2>&5
13.20360 - ac_status=$?
13.20361 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20362 - (exit $ac_status); }; }; then
13.20363 - break
13.20364 -else
13.20365 - echo "$as_me: failed program was:" >&5
13.20366 -sed 's/^/| /' conftest.$ac_ext >&5
13.20367 -
13.20368 -fi
13.20369 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.20370 -done
13.20371 -rm -f conftest*
13.20372 -if test -n "$ac_declaration"; then
13.20373 - echo '#ifdef __cplusplus' >>confdefs.h
13.20374 - echo $ac_declaration >>confdefs.h
13.20375 - echo '#endif' >>confdefs.h
13.20376 -fi
13.20377 -
13.20378 -else
13.20379 - echo "$as_me: failed program was:" >&5
13.20380 -sed 's/^/| /' conftest.$ac_ext >&5
13.20381 -
13.20382 -fi
13.20383 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.20384 -ac_ext=c
13.20385 -ac_cpp='$CPP $CPPFLAGS'
13.20386 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.20387 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.20388 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.20389 -
13.20390 -depcc="$CC" am_compiler_list=
13.20391 -
13.20392 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13.20393 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
13.20394 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
13.20395 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.20396 -else
13.20397 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13.20398 - # We make a subdir and do the tests there. Otherwise we can end up
13.20399 - # making bogus files that we don't know about and never remove. For
13.20400 - # instance it was reported that on HP-UX the gcc test will end up
13.20401 - # making a dummy file named `D' -- because `-MD' means `put the output
13.20402 - # in D'.
13.20403 - mkdir conftest.dir
13.20404 - # Copy depcomp to subdir because otherwise we won't find it if we're
13.20405 - # using a relative directory.
13.20406 - cp "$am_depcomp" conftest.dir
13.20407 - cd conftest.dir
13.20408 - # We will build objects and dependencies in a subdirectory because
13.20409 - # it helps to detect inapplicable dependency modes. For instance
13.20410 - # both Tru64's cc and ICC support -MD to output dependencies as a
13.20411 - # side effect of compilation, but ICC will put the dependencies in
13.20412 - # the current directory while Tru64 will put them in the object
13.20413 - # directory.
13.20414 - mkdir sub
13.20415 -
13.20416 - am_cv_CC_dependencies_compiler_type=none
13.20417 - if test "$am_compiler_list" = ""; then
13.20418 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13.20419 - fi
13.20420 - for depmode in $am_compiler_list; do
13.20421 - # Setup a source with many dependencies, because some compilers
13.20422 - # like to wrap large dependency lists on column 80 (with \), and
13.20423 - # we should not choose a depcomp mode which is confused by this.
13.20424 - #
13.20425 - # We need to recreate these files for each test, as the compiler may
13.20426 - # overwrite some of them when testing with obscure command lines.
13.20427 - # This happens at least with the AIX C compiler.
13.20428 - : > sub/conftest.c
13.20429 - for i in 1 2 3 4 5 6; do
13.20430 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
13.20431 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13.20432 - # Solaris 8's {/usr,}/bin/sh.
13.20433 - touch sub/conftst$i.h
13.20434 - done
13.20435 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13.20436 -
13.20437 - case $depmode in
13.20438 - nosideeffect)
13.20439 - # after this tag, mechanisms are not by side-effect, so they'll
13.20440 - # only be used when explicitly requested
13.20441 - if test "x$enable_dependency_tracking" = xyes; then
13.20442 - continue
13.20443 - else
13.20444 - break
13.20445 - fi
13.20446 - ;;
13.20447 - none) break ;;
13.20448 - esac
13.20449 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
13.20450 - # mode. It turns out that the SunPro C++ compiler does not properly
13.20451 - # handle `-M -o', and we need to detect this.
13.20452 - if depmode=$depmode \
13.20453 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
13.20454 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13.20455 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
13.20456 - >/dev/null 2>conftest.err &&
13.20457 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13.20458 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
13.20459 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13.20460 - # icc doesn't choke on unknown options, it will just issue warnings
13.20461 - # or remarks (even with -Werror). So we grep stderr for any message
13.20462 - # that says an option was ignored or not supported.
13.20463 - # When given -MP, icc 7.0 and 7.1 complain thusly:
13.20464 - # icc: Command line warning: ignoring option '-M'; no argument required
13.20465 - # The diagnosis changed in icc 8.0:
13.20466 - # icc: Command line remark: option '-MP' not supported
13.20467 - if (grep 'ignoring option' conftest.err ||
13.20468 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13.20469 - am_cv_CC_dependencies_compiler_type=$depmode
13.20470 - break
13.20471 - fi
13.20472 - fi
13.20473 - done
13.20474 -
13.20475 - cd ..
13.20476 - rm -rf conftest.dir
13.20477 -else
13.20478 - am_cv_CC_dependencies_compiler_type=none
13.20479 -fi
13.20480 -
13.20481 -fi
13.20482 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
13.20483 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
13.20484 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13.20485 -
13.20486 -
13.20487 -
13.20488 -if
13.20489 - test "x$enable_dependency_tracking" != xno \
13.20490 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13.20491 - am__fastdepCC_TRUE=
13.20492 - am__fastdepCC_FALSE='#'
13.20493 -else
13.20494 - am__fastdepCC_TRUE='#'
13.20495 - am__fastdepCC_FALSE=
13.20496 -fi
13.20497 -
13.20498 -
13.20499 -
13.20500 -# By default we simply use the C compiler to build assembly code.
13.20501 -
13.20502 -test "${CCAS+set}" = set || CCAS=$CC
13.20503 -test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
13.20504 -
13.20505 -
13.20506 -
13.20507 -
13.20508 -
13.20509 - echo "$as_me:$LINENO: checking to see if compiler understands -Wall" >&5
13.20510 -echo $ECHO_N "checking to see if compiler understands -Wall... $ECHO_C" >&6
13.20511 -
13.20512 - save_CFLAGS="$CFLAGS"
13.20513 - CFLAGS="$CFLAGS -Wall"
13.20514 -
13.20515 - cat >conftest.$ac_ext <<_ACEOF
13.20516 -/* confdefs.h. */
13.20517 -_ACEOF
13.20518 -cat confdefs.h >>conftest.$ac_ext
13.20519 -cat >>conftest.$ac_ext <<_ACEOF
13.20520 -/* end confdefs.h. */
13.20521 -
13.20522 -int
13.20523 -main ()
13.20524 -{
13.20525 -
13.20526 - ;
13.20527 - return 0;
13.20528 -}
13.20529 -_ACEOF
13.20530 -rm -f conftest.$ac_objext
13.20531 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.20532 - (eval $ac_compile) 2>conftest.er1
13.20533 - ac_status=$?
13.20534 - grep -v '^ *+' conftest.er1 >conftest.err
13.20535 - rm -f conftest.er1
13.20536 - cat conftest.err >&5
13.20537 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20538 - (exit $ac_status); } &&
13.20539 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.20540 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20541 - (eval $ac_try) 2>&5
13.20542 - ac_status=$?
13.20543 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20544 - (exit $ac_status); }; } &&
13.20545 - { ac_try='test -s conftest.$ac_objext'
13.20546 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20547 - (eval $ac_try) 2>&5
13.20548 - ac_status=$?
13.20549 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20550 - (exit $ac_status); }; }; then
13.20551 - flag_ok=yes
13.20552 -else
13.20553 - echo "$as_me: failed program was:" >&5
13.20554 -sed 's/^/| /' conftest.$ac_ext >&5
13.20555 -
13.20556 -flag_ok=no
13.20557 -fi
13.20558 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.20559 - CFLAGS="$save_CFLAGS"
13.20560 -
13.20561 - if test "X$flag_ok" = Xyes ; then
13.20562 - GST_WALL="yes"
13.20563 - true
13.20564 - else
13.20565 - GST_WALL="no"
13.20566 - true
13.20567 - fi
13.20568 - echo "$as_me:$LINENO: result: $flag_ok" >&5
13.20569 -echo "${ECHO_T}$flag_ok" >&6
13.20570 -
13.20571 -
13.20572 -if test "x$GST_WALL" = "xyes"; then
13.20573 - ERROR_CFLAGS="$GST_ERROR -Wall"
13.20574 -
13.20575 - if test "x$GST_CVS" = "xyes"; then
13.20576 -
13.20577 - echo "$as_me:$LINENO: checking to see if compiler understands -Werror" >&5
13.20578 -echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6
13.20579 -
13.20580 - save_CFLAGS="$CFLAGS"
13.20581 - CFLAGS="$CFLAGS -Werror"
13.20582 -
13.20583 - cat >conftest.$ac_ext <<_ACEOF
13.20584 -/* confdefs.h. */
13.20585 -_ACEOF
13.20586 -cat confdefs.h >>conftest.$ac_ext
13.20587 -cat >>conftest.$ac_ext <<_ACEOF
13.20588 -/* end confdefs.h. */
13.20589 -
13.20590 -int
13.20591 -main ()
13.20592 -{
13.20593 -
13.20594 - ;
13.20595 - return 0;
13.20596 -}
13.20597 -_ACEOF
13.20598 -rm -f conftest.$ac_objext
13.20599 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.20600 - (eval $ac_compile) 2>conftest.er1
13.20601 - ac_status=$?
13.20602 - grep -v '^ *+' conftest.er1 >conftest.err
13.20603 - rm -f conftest.er1
13.20604 - cat conftest.err >&5
13.20605 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20606 - (exit $ac_status); } &&
13.20607 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.20608 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20609 - (eval $ac_try) 2>&5
13.20610 - ac_status=$?
13.20611 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20612 - (exit $ac_status); }; } &&
13.20613 - { ac_try='test -s conftest.$ac_objext'
13.20614 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20615 - (eval $ac_try) 2>&5
13.20616 - ac_status=$?
13.20617 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20618 - (exit $ac_status); }; }; then
13.20619 - flag_ok=yes
13.20620 -else
13.20621 - echo "$as_me: failed program was:" >&5
13.20622 -sed 's/^/| /' conftest.$ac_ext >&5
13.20623 -
13.20624 -flag_ok=no
13.20625 -fi
13.20626 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.20627 - CFLAGS="$save_CFLAGS"
13.20628 -
13.20629 - if test "X$flag_ok" = Xyes ; then
13.20630 - ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
13.20631 - true
13.20632 - else
13.20633 - ERROR_CFLAGS="$ERROR_CFLAGS"
13.20634 - true
13.20635 - fi
13.20636 - echo "$as_me:$LINENO: result: $flag_ok" >&5
13.20637 -echo "${ECHO_T}$flag_ok" >&6
13.20638 -
13.20639 - fi
13.20640 -fi
13.20641 -
13.20642 -
13.20643 -
13.20644 -ac_ext=cc
13.20645 -ac_cpp='$CXXCPP $CPPFLAGS'
13.20646 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.20647 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.20648 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13.20649 -if test -n "$ac_tool_prefix"; then
13.20650 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13.20651 - do
13.20652 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13.20653 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13.20654 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.20655 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.20656 -if test "${ac_cv_prog_CXX+set}" = set; then
13.20657 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.20658 -else
13.20659 - if test -n "$CXX"; then
13.20660 - ac_cv_prog_CXX="$CXX" # Let the user override the test.
13.20661 -else
13.20662 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.20663 -for as_dir in $PATH
13.20664 -do
13.20665 - IFS=$as_save_IFS
13.20666 - test -z "$as_dir" && as_dir=.
13.20667 - for ac_exec_ext in '' $ac_executable_extensions; do
13.20668 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.20669 - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13.20670 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.20671 - break 2
13.20672 - fi
13.20673 -done
13.20674 -done
13.20675 -
13.20676 -fi
13.20677 -fi
13.20678 -CXX=$ac_cv_prog_CXX
13.20679 -if test -n "$CXX"; then
13.20680 - echo "$as_me:$LINENO: result: $CXX" >&5
13.20681 -echo "${ECHO_T}$CXX" >&6
13.20682 -else
13.20683 - echo "$as_me:$LINENO: result: no" >&5
13.20684 -echo "${ECHO_T}no" >&6
13.20685 -fi
13.20686 -
13.20687 - test -n "$CXX" && break
13.20688 - done
13.20689 -fi
13.20690 -if test -z "$CXX"; then
13.20691 - ac_ct_CXX=$CXX
13.20692 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13.20693 -do
13.20694 - # Extract the first word of "$ac_prog", so it can be a program name with args.
13.20695 -set dummy $ac_prog; ac_word=$2
13.20696 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.20697 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.20698 -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13.20699 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.20700 -else
13.20701 - if test -n "$ac_ct_CXX"; then
13.20702 - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13.20703 -else
13.20704 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.20705 -for as_dir in $PATH
13.20706 -do
13.20707 - IFS=$as_save_IFS
13.20708 - test -z "$as_dir" && as_dir=.
13.20709 - for ac_exec_ext in '' $ac_executable_extensions; do
13.20710 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.20711 - ac_cv_prog_ac_ct_CXX="$ac_prog"
13.20712 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.20713 - break 2
13.20714 - fi
13.20715 -done
13.20716 -done
13.20717 -
13.20718 -fi
13.20719 -fi
13.20720 -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13.20721 -if test -n "$ac_ct_CXX"; then
13.20722 - echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13.20723 -echo "${ECHO_T}$ac_ct_CXX" >&6
13.20724 -else
13.20725 - echo "$as_me:$LINENO: result: no" >&5
13.20726 -echo "${ECHO_T}no" >&6
13.20727 -fi
13.20728 -
13.20729 - test -n "$ac_ct_CXX" && break
13.20730 -done
13.20731 -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13.20732 -
13.20733 - CXX=$ac_ct_CXX
13.20734 -fi
13.20735 -
13.20736 -
13.20737 -# Provide some information about the compiler.
13.20738 -echo "$as_me:$LINENO:" \
13.20739 - "checking for C++ compiler version" >&5
13.20740 -ac_compiler=`set X $ac_compile; echo $2`
13.20741 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13.20742 - (eval $ac_compiler --version </dev/null >&5) 2>&5
13.20743 - ac_status=$?
13.20744 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20745 - (exit $ac_status); }
13.20746 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13.20747 - (eval $ac_compiler -v </dev/null >&5) 2>&5
13.20748 - ac_status=$?
13.20749 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20750 - (exit $ac_status); }
13.20751 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13.20752 - (eval $ac_compiler -V </dev/null >&5) 2>&5
13.20753 - ac_status=$?
13.20754 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20755 - (exit $ac_status); }
13.20756 -
13.20757 -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13.20758 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13.20759 -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13.20760 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.20761 -else
13.20762 - cat >conftest.$ac_ext <<_ACEOF
13.20763 -/* confdefs.h. */
13.20764 -_ACEOF
13.20765 -cat confdefs.h >>conftest.$ac_ext
13.20766 -cat >>conftest.$ac_ext <<_ACEOF
13.20767 -/* end confdefs.h. */
13.20768 -
13.20769 -int
13.20770 -main ()
13.20771 -{
13.20772 -#ifndef __GNUC__
13.20773 - choke me
13.20774 -#endif
13.20775 -
13.20776 - ;
13.20777 - return 0;
13.20778 -}
13.20779 -_ACEOF
13.20780 -rm -f conftest.$ac_objext
13.20781 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.20782 - (eval $ac_compile) 2>conftest.er1
13.20783 - ac_status=$?
13.20784 - grep -v '^ *+' conftest.er1 >conftest.err
13.20785 - rm -f conftest.er1
13.20786 - cat conftest.err >&5
13.20787 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20788 - (exit $ac_status); } &&
13.20789 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13.20790 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20791 - (eval $ac_try) 2>&5
13.20792 - ac_status=$?
13.20793 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20794 - (exit $ac_status); }; } &&
13.20795 - { ac_try='test -s conftest.$ac_objext'
13.20796 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20797 - (eval $ac_try) 2>&5
13.20798 - ac_status=$?
13.20799 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20800 - (exit $ac_status); }; }; then
13.20801 - ac_compiler_gnu=yes
13.20802 -else
13.20803 - echo "$as_me: failed program was:" >&5
13.20804 -sed 's/^/| /' conftest.$ac_ext >&5
13.20805 -
13.20806 -ac_compiler_gnu=no
13.20807 -fi
13.20808 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.20809 -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13.20810 -
13.20811 -fi
13.20812 -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13.20813 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13.20814 -GXX=`test $ac_compiler_gnu = yes && echo yes`
13.20815 -ac_test_CXXFLAGS=${CXXFLAGS+set}
13.20816 -ac_save_CXXFLAGS=$CXXFLAGS
13.20817 -CXXFLAGS="-g"
13.20818 -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13.20819 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13.20820 -if test "${ac_cv_prog_cxx_g+set}" = set; then
13.20821 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.20822 -else
13.20823 - cat >conftest.$ac_ext <<_ACEOF
13.20824 -/* confdefs.h. */
13.20825 -_ACEOF
13.20826 -cat confdefs.h >>conftest.$ac_ext
13.20827 -cat >>conftest.$ac_ext <<_ACEOF
13.20828 -/* end confdefs.h. */
13.20829 -
13.20830 -int
13.20831 -main ()
13.20832 -{
13.20833 -
13.20834 - ;
13.20835 - return 0;
13.20836 -}
13.20837 -_ACEOF
13.20838 -rm -f conftest.$ac_objext
13.20839 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.20840 - (eval $ac_compile) 2>conftest.er1
13.20841 - ac_status=$?
13.20842 - grep -v '^ *+' conftest.er1 >conftest.err
13.20843 - rm -f conftest.er1
13.20844 - cat conftest.err >&5
13.20845 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20846 - (exit $ac_status); } &&
13.20847 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13.20848 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20849 - (eval $ac_try) 2>&5
13.20850 - ac_status=$?
13.20851 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20852 - (exit $ac_status); }; } &&
13.20853 - { ac_try='test -s conftest.$ac_objext'
13.20854 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20855 - (eval $ac_try) 2>&5
13.20856 - ac_status=$?
13.20857 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20858 - (exit $ac_status); }; }; then
13.20859 - ac_cv_prog_cxx_g=yes
13.20860 -else
13.20861 - echo "$as_me: failed program was:" >&5
13.20862 -sed 's/^/| /' conftest.$ac_ext >&5
13.20863 -
13.20864 -ac_cv_prog_cxx_g=no
13.20865 -fi
13.20866 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.20867 -fi
13.20868 -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13.20869 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13.20870 -if test "$ac_test_CXXFLAGS" = set; then
13.20871 - CXXFLAGS=$ac_save_CXXFLAGS
13.20872 -elif test $ac_cv_prog_cxx_g = yes; then
13.20873 - if test "$GXX" = yes; then
13.20874 - CXXFLAGS="-g -O2"
13.20875 - else
13.20876 - CXXFLAGS="-g"
13.20877 - fi
13.20878 -else
13.20879 - if test "$GXX" = yes; then
13.20880 - CXXFLAGS="-O2"
13.20881 - else
13.20882 - CXXFLAGS=
13.20883 - fi
13.20884 -fi
13.20885 -for ac_declaration in \
13.20886 - '' \
13.20887 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
13.20888 - 'extern "C" void std::exit (int); using std::exit;' \
13.20889 - 'extern "C" void exit (int) throw ();' \
13.20890 - 'extern "C" void exit (int);' \
13.20891 - 'void exit (int);'
13.20892 -do
13.20893 - cat >conftest.$ac_ext <<_ACEOF
13.20894 -/* confdefs.h. */
13.20895 -_ACEOF
13.20896 -cat confdefs.h >>conftest.$ac_ext
13.20897 -cat >>conftest.$ac_ext <<_ACEOF
13.20898 -/* end confdefs.h. */
13.20899 -$ac_declaration
13.20900 -#include <stdlib.h>
13.20901 -int
13.20902 -main ()
13.20903 -{
13.20904 -exit (42);
13.20905 - ;
13.20906 - return 0;
13.20907 -}
13.20908 -_ACEOF
13.20909 -rm -f conftest.$ac_objext
13.20910 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.20911 - (eval $ac_compile) 2>conftest.er1
13.20912 - ac_status=$?
13.20913 - grep -v '^ *+' conftest.er1 >conftest.err
13.20914 - rm -f conftest.er1
13.20915 - cat conftest.err >&5
13.20916 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20917 - (exit $ac_status); } &&
13.20918 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13.20919 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20920 - (eval $ac_try) 2>&5
13.20921 - ac_status=$?
13.20922 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20923 - (exit $ac_status); }; } &&
13.20924 - { ac_try='test -s conftest.$ac_objext'
13.20925 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20926 - (eval $ac_try) 2>&5
13.20927 - ac_status=$?
13.20928 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20929 - (exit $ac_status); }; }; then
13.20930 - :
13.20931 -else
13.20932 - echo "$as_me: failed program was:" >&5
13.20933 -sed 's/^/| /' conftest.$ac_ext >&5
13.20934 -
13.20935 -continue
13.20936 -fi
13.20937 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.20938 - cat >conftest.$ac_ext <<_ACEOF
13.20939 -/* confdefs.h. */
13.20940 -_ACEOF
13.20941 -cat confdefs.h >>conftest.$ac_ext
13.20942 -cat >>conftest.$ac_ext <<_ACEOF
13.20943 -/* end confdefs.h. */
13.20944 -$ac_declaration
13.20945 -int
13.20946 -main ()
13.20947 -{
13.20948 -exit (42);
13.20949 - ;
13.20950 - return 0;
13.20951 -}
13.20952 -_ACEOF
13.20953 -rm -f conftest.$ac_objext
13.20954 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.20955 - (eval $ac_compile) 2>conftest.er1
13.20956 - ac_status=$?
13.20957 - grep -v '^ *+' conftest.er1 >conftest.err
13.20958 - rm -f conftest.er1
13.20959 - cat conftest.err >&5
13.20960 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20961 - (exit $ac_status); } &&
13.20962 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13.20963 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20964 - (eval $ac_try) 2>&5
13.20965 - ac_status=$?
13.20966 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20967 - (exit $ac_status); }; } &&
13.20968 - { ac_try='test -s conftest.$ac_objext'
13.20969 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.20970 - (eval $ac_try) 2>&5
13.20971 - ac_status=$?
13.20972 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.20973 - (exit $ac_status); }; }; then
13.20974 - break
13.20975 -else
13.20976 - echo "$as_me: failed program was:" >&5
13.20977 -sed 's/^/| /' conftest.$ac_ext >&5
13.20978 -
13.20979 -fi
13.20980 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.20981 -done
13.20982 -rm -f conftest*
13.20983 -if test -n "$ac_declaration"; then
13.20984 - echo '#ifdef __cplusplus' >>confdefs.h
13.20985 - echo $ac_declaration >>confdefs.h
13.20986 - echo '#endif' >>confdefs.h
13.20987 -fi
13.20988 -
13.20989 -ac_ext=c
13.20990 -ac_cpp='$CPP $CPPFLAGS'
13.20991 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.20992 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.20993 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.20994 -
13.20995 -depcc="$CXX" am_compiler_list=
13.20996 -
13.20997 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13.20998 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
13.20999 -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13.21000 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.21001 -else
13.21002 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13.21003 - # We make a subdir and do the tests there. Otherwise we can end up
13.21004 - # making bogus files that we don't know about and never remove. For
13.21005 - # instance it was reported that on HP-UX the gcc test will end up
13.21006 - # making a dummy file named `D' -- because `-MD' means `put the output
13.21007 - # in D'.
13.21008 - mkdir conftest.dir
13.21009 - # Copy depcomp to subdir because otherwise we won't find it if we're
13.21010 - # using a relative directory.
13.21011 - cp "$am_depcomp" conftest.dir
13.21012 - cd conftest.dir
13.21013 - # We will build objects and dependencies in a subdirectory because
13.21014 - # it helps to detect inapplicable dependency modes. For instance
13.21015 - # both Tru64's cc and ICC support -MD to output dependencies as a
13.21016 - # side effect of compilation, but ICC will put the dependencies in
13.21017 - # the current directory while Tru64 will put them in the object
13.21018 - # directory.
13.21019 - mkdir sub
13.21020 -
13.21021 - am_cv_CXX_dependencies_compiler_type=none
13.21022 - if test "$am_compiler_list" = ""; then
13.21023 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13.21024 - fi
13.21025 - for depmode in $am_compiler_list; do
13.21026 - # Setup a source with many dependencies, because some compilers
13.21027 - # like to wrap large dependency lists on column 80 (with \), and
13.21028 - # we should not choose a depcomp mode which is confused by this.
13.21029 - #
13.21030 - # We need to recreate these files for each test, as the compiler may
13.21031 - # overwrite some of them when testing with obscure command lines.
13.21032 - # This happens at least with the AIX C compiler.
13.21033 - : > sub/conftest.c
13.21034 - for i in 1 2 3 4 5 6; do
13.21035 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
13.21036 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13.21037 - # Solaris 8's {/usr,}/bin/sh.
13.21038 - touch sub/conftst$i.h
13.21039 - done
13.21040 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13.21041 -
13.21042 - case $depmode in
13.21043 - nosideeffect)
13.21044 - # after this tag, mechanisms are not by side-effect, so they'll
13.21045 - # only be used when explicitly requested
13.21046 - if test "x$enable_dependency_tracking" = xyes; then
13.21047 - continue
13.21048 - else
13.21049 - break
13.21050 - fi
13.21051 - ;;
13.21052 - none) break ;;
13.21053 - esac
13.21054 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
13.21055 - # mode. It turns out that the SunPro C++ compiler does not properly
13.21056 - # handle `-M -o', and we need to detect this.
13.21057 - if depmode=$depmode \
13.21058 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
13.21059 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13.21060 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
13.21061 - >/dev/null 2>conftest.err &&
13.21062 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13.21063 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
13.21064 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13.21065 - # icc doesn't choke on unknown options, it will just issue warnings
13.21066 - # or remarks (even with -Werror). So we grep stderr for any message
13.21067 - # that says an option was ignored or not supported.
13.21068 - # When given -MP, icc 7.0 and 7.1 complain thusly:
13.21069 - # icc: Command line warning: ignoring option '-M'; no argument required
13.21070 - # The diagnosis changed in icc 8.0:
13.21071 - # icc: Command line remark: option '-MP' not supported
13.21072 - if (grep 'ignoring option' conftest.err ||
13.21073 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13.21074 - am_cv_CXX_dependencies_compiler_type=$depmode
13.21075 - break
13.21076 - fi
13.21077 - fi
13.21078 - done
13.21079 -
13.21080 - cd ..
13.21081 - rm -rf conftest.dir
13.21082 -else
13.21083 - am_cv_CXX_dependencies_compiler_type=none
13.21084 -fi
13.21085 -
13.21086 -fi
13.21087 -echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13.21088 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
13.21089 -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13.21090 -
13.21091 -
13.21092 -
13.21093 -if
13.21094 - test "x$enable_dependency_tracking" != xno \
13.21095 - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13.21096 - am__fastdepCXX_TRUE=
13.21097 - am__fastdepCXX_FALSE='#'
13.21098 -else
13.21099 - am__fastdepCXX_TRUE='#'
13.21100 - am__fastdepCXX_FALSE=
13.21101 -fi
13.21102 -
13.21103 -
13.21104 -# Extract the first word of "$CXX", so it can be a program name with args.
13.21105 -set dummy $CXX; ac_word=$2
13.21106 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.21107 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.21108 -if test "${ac_cv_prog_HAVE_CXX+set}" = set; then
13.21109 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.21110 -else
13.21111 - if test -n "$HAVE_CXX"; then
13.21112 - ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
13.21113 -else
13.21114 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.21115 -for as_dir in $PATH
13.21116 -do
13.21117 - IFS=$as_save_IFS
13.21118 - test -z "$as_dir" && as_dir=.
13.21119 - for ac_exec_ext in '' $ac_executable_extensions; do
13.21120 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.21121 - ac_cv_prog_HAVE_CXX="yes"
13.21122 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.21123 - break 2
13.21124 - fi
13.21125 -done
13.21126 -done
13.21127 -
13.21128 - test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
13.21129 -fi
13.21130 -fi
13.21131 -HAVE_CXX=$ac_cv_prog_HAVE_CXX
13.21132 -if test -n "$HAVE_CXX"; then
13.21133 - echo "$as_me:$LINENO: result: $HAVE_CXX" >&5
13.21134 -echo "${ECHO_T}$HAVE_CXX" >&6
13.21135 -else
13.21136 - echo "$as_me:$LINENO: result: no" >&5
13.21137 -echo "${ECHO_T}no" >&6
13.21138 -fi
13.21139 -
13.21140 -ac_ext=cc
13.21141 -ac_cpp='$CXXCPP $CPPFLAGS'
13.21142 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.21143 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.21144 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13.21145 -echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
13.21146 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
13.21147 -if test -z "$CXXCPP"; then
13.21148 - if test "${ac_cv_prog_CXXCPP+set}" = set; then
13.21149 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.21150 -else
13.21151 - # Double quotes because CXXCPP needs to be expanded
13.21152 - for CXXCPP in "$CXX -E" "/lib/cpp"
13.21153 - do
13.21154 - ac_preproc_ok=false
13.21155 -for ac_cxx_preproc_warn_flag in '' yes
13.21156 -do
13.21157 - # Use a header file that comes with gcc, so configuring glibc
13.21158 - # with a fresh cross-compiler works.
13.21159 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13.21160 - # <limits.h> exists even on freestanding compilers.
13.21161 - # On the NeXT, cc -E runs the code through the compiler's parser,
13.21162 - # not just through cpp. "Syntax error" is here to catch this case.
13.21163 - cat >conftest.$ac_ext <<_ACEOF
13.21164 -/* confdefs.h. */
13.21165 -_ACEOF
13.21166 -cat confdefs.h >>conftest.$ac_ext
13.21167 -cat >>conftest.$ac_ext <<_ACEOF
13.21168 -/* end confdefs.h. */
13.21169 -#ifdef __STDC__
13.21170 -# include <limits.h>
13.21171 -#else
13.21172 -# include <assert.h>
13.21173 -#endif
13.21174 - Syntax error
13.21175 -_ACEOF
13.21176 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13.21177 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13.21178 - ac_status=$?
13.21179 - grep -v '^ *+' conftest.er1 >conftest.err
13.21180 - rm -f conftest.er1
13.21181 - cat conftest.err >&5
13.21182 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21183 - (exit $ac_status); } >/dev/null; then
13.21184 - if test -s conftest.err; then
13.21185 - ac_cpp_err=$ac_cxx_preproc_warn_flag
13.21186 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13.21187 - else
13.21188 - ac_cpp_err=
13.21189 - fi
13.21190 -else
13.21191 - ac_cpp_err=yes
13.21192 -fi
13.21193 -if test -z "$ac_cpp_err"; then
13.21194 - :
13.21195 -else
13.21196 - echo "$as_me: failed program was:" >&5
13.21197 -sed 's/^/| /' conftest.$ac_ext >&5
13.21198 -
13.21199 - # Broken: fails on valid input.
13.21200 -continue
13.21201 -fi
13.21202 -rm -f conftest.err conftest.$ac_ext
13.21203 -
13.21204 - # OK, works on sane cases. Now check whether non-existent headers
13.21205 - # can be detected and how.
13.21206 - cat >conftest.$ac_ext <<_ACEOF
13.21207 -/* confdefs.h. */
13.21208 -_ACEOF
13.21209 -cat confdefs.h >>conftest.$ac_ext
13.21210 -cat >>conftest.$ac_ext <<_ACEOF
13.21211 -/* end confdefs.h. */
13.21212 -#include <ac_nonexistent.h>
13.21213 -_ACEOF
13.21214 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13.21215 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13.21216 - ac_status=$?
13.21217 - grep -v '^ *+' conftest.er1 >conftest.err
13.21218 - rm -f conftest.er1
13.21219 - cat conftest.err >&5
13.21220 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21221 - (exit $ac_status); } >/dev/null; then
13.21222 - if test -s conftest.err; then
13.21223 - ac_cpp_err=$ac_cxx_preproc_warn_flag
13.21224 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13.21225 - else
13.21226 - ac_cpp_err=
13.21227 - fi
13.21228 -else
13.21229 - ac_cpp_err=yes
13.21230 -fi
13.21231 -if test -z "$ac_cpp_err"; then
13.21232 - # Broken: success on invalid input.
13.21233 -continue
13.21234 -else
13.21235 - echo "$as_me: failed program was:" >&5
13.21236 -sed 's/^/| /' conftest.$ac_ext >&5
13.21237 -
13.21238 - # Passes both tests.
13.21239 -ac_preproc_ok=:
13.21240 -break
13.21241 -fi
13.21242 -rm -f conftest.err conftest.$ac_ext
13.21243 -
13.21244 -done
13.21245 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13.21246 -rm -f conftest.err conftest.$ac_ext
13.21247 -if $ac_preproc_ok; then
13.21248 - break
13.21249 -fi
13.21250 -
13.21251 - done
13.21252 - ac_cv_prog_CXXCPP=$CXXCPP
13.21253 -
13.21254 -fi
13.21255 - CXXCPP=$ac_cv_prog_CXXCPP
13.21256 -else
13.21257 - ac_cv_prog_CXXCPP=$CXXCPP
13.21258 -fi
13.21259 -echo "$as_me:$LINENO: result: $CXXCPP" >&5
13.21260 -echo "${ECHO_T}$CXXCPP" >&6
13.21261 -ac_preproc_ok=false
13.21262 -for ac_cxx_preproc_warn_flag in '' yes
13.21263 -do
13.21264 - # Use a header file that comes with gcc, so configuring glibc
13.21265 - # with a fresh cross-compiler works.
13.21266 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13.21267 - # <limits.h> exists even on freestanding compilers.
13.21268 - # On the NeXT, cc -E runs the code through the compiler's parser,
13.21269 - # not just through cpp. "Syntax error" is here to catch this case.
13.21270 - cat >conftest.$ac_ext <<_ACEOF
13.21271 -/* confdefs.h. */
13.21272 -_ACEOF
13.21273 -cat confdefs.h >>conftest.$ac_ext
13.21274 -cat >>conftest.$ac_ext <<_ACEOF
13.21275 -/* end confdefs.h. */
13.21276 -#ifdef __STDC__
13.21277 -# include <limits.h>
13.21278 -#else
13.21279 -# include <assert.h>
13.21280 -#endif
13.21281 - Syntax error
13.21282 -_ACEOF
13.21283 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13.21284 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13.21285 - ac_status=$?
13.21286 - grep -v '^ *+' conftest.er1 >conftest.err
13.21287 - rm -f conftest.er1
13.21288 - cat conftest.err >&5
13.21289 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21290 - (exit $ac_status); } >/dev/null; then
13.21291 - if test -s conftest.err; then
13.21292 - ac_cpp_err=$ac_cxx_preproc_warn_flag
13.21293 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13.21294 - else
13.21295 - ac_cpp_err=
13.21296 - fi
13.21297 -else
13.21298 - ac_cpp_err=yes
13.21299 -fi
13.21300 -if test -z "$ac_cpp_err"; then
13.21301 - :
13.21302 -else
13.21303 - echo "$as_me: failed program was:" >&5
13.21304 -sed 's/^/| /' conftest.$ac_ext >&5
13.21305 -
13.21306 - # Broken: fails on valid input.
13.21307 -continue
13.21308 -fi
13.21309 -rm -f conftest.err conftest.$ac_ext
13.21310 -
13.21311 - # OK, works on sane cases. Now check whether non-existent headers
13.21312 - # can be detected and how.
13.21313 - cat >conftest.$ac_ext <<_ACEOF
13.21314 -/* confdefs.h. */
13.21315 -_ACEOF
13.21316 -cat confdefs.h >>conftest.$ac_ext
13.21317 -cat >>conftest.$ac_ext <<_ACEOF
13.21318 -/* end confdefs.h. */
13.21319 -#include <ac_nonexistent.h>
13.21320 -_ACEOF
13.21321 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13.21322 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13.21323 - ac_status=$?
13.21324 - grep -v '^ *+' conftest.er1 >conftest.err
13.21325 - rm -f conftest.er1
13.21326 - cat conftest.err >&5
13.21327 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21328 - (exit $ac_status); } >/dev/null; then
13.21329 - if test -s conftest.err; then
13.21330 - ac_cpp_err=$ac_cxx_preproc_warn_flag
13.21331 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13.21332 - else
13.21333 - ac_cpp_err=
13.21334 - fi
13.21335 -else
13.21336 - ac_cpp_err=yes
13.21337 -fi
13.21338 -if test -z "$ac_cpp_err"; then
13.21339 - # Broken: success on invalid input.
13.21340 -continue
13.21341 -else
13.21342 - echo "$as_me: failed program was:" >&5
13.21343 -sed 's/^/| /' conftest.$ac_ext >&5
13.21344 -
13.21345 - # Passes both tests.
13.21346 -ac_preproc_ok=:
13.21347 -break
13.21348 -fi
13.21349 -rm -f conftest.err conftest.$ac_ext
13.21350 -
13.21351 -done
13.21352 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13.21353 -rm -f conftest.err conftest.$ac_ext
13.21354 -if $ac_preproc_ok; then
13.21355 - :
13.21356 -else
13.21357 - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13.21358 -See \`config.log' for more details." >&5
13.21359 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13.21360 -See \`config.log' for more details." >&2;}
13.21361 - { (exit 1); exit 1; }; }
13.21362 -fi
13.21363 -
13.21364 -ac_ext=c
13.21365 -ac_cpp='$CPP $CPPFLAGS'
13.21366 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13.21367 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13.21368 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
13.21369 -
13.21370 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
13.21371 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
13.21372 -if test "${ac_cv_search_strerror+set}" = set; then
13.21373 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.21374 -else
13.21375 - ac_func_search_save_LIBS=$LIBS
13.21376 -ac_cv_search_strerror=no
13.21377 -cat >conftest.$ac_ext <<_ACEOF
13.21378 -/* confdefs.h. */
13.21379 -_ACEOF
13.21380 -cat confdefs.h >>conftest.$ac_ext
13.21381 -cat >>conftest.$ac_ext <<_ACEOF
13.21382 -/* end confdefs.h. */
13.21383 -
13.21384 -/* Override any gcc2 internal prototype to avoid an error. */
13.21385 -#ifdef __cplusplus
13.21386 -extern "C"
13.21387 -#endif
13.21388 -/* We use char because int might match the return type of a gcc2
13.21389 - builtin and then its argument prototype would still apply. */
13.21390 -char strerror ();
13.21391 -int
13.21392 -main ()
13.21393 -{
13.21394 -strerror ();
13.21395 - ;
13.21396 - return 0;
13.21397 -}
13.21398 -_ACEOF
13.21399 -rm -f conftest.$ac_objext conftest$ac_exeext
13.21400 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.21401 - (eval $ac_link) 2>conftest.er1
13.21402 - ac_status=$?
13.21403 - grep -v '^ *+' conftest.er1 >conftest.err
13.21404 - rm -f conftest.er1
13.21405 - cat conftest.err >&5
13.21406 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21407 - (exit $ac_status); } &&
13.21408 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.21409 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.21410 - (eval $ac_try) 2>&5
13.21411 - ac_status=$?
13.21412 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21413 - (exit $ac_status); }; } &&
13.21414 - { ac_try='test -s conftest$ac_exeext'
13.21415 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.21416 - (eval $ac_try) 2>&5
13.21417 - ac_status=$?
13.21418 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21419 - (exit $ac_status); }; }; then
13.21420 - ac_cv_search_strerror="none required"
13.21421 -else
13.21422 - echo "$as_me: failed program was:" >&5
13.21423 -sed 's/^/| /' conftest.$ac_ext >&5
13.21424 -
13.21425 -fi
13.21426 -rm -f conftest.err conftest.$ac_objext \
13.21427 - conftest$ac_exeext conftest.$ac_ext
13.21428 -if test "$ac_cv_search_strerror" = no; then
13.21429 - for ac_lib in cposix; do
13.21430 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13.21431 - cat >conftest.$ac_ext <<_ACEOF
13.21432 -/* confdefs.h. */
13.21433 -_ACEOF
13.21434 -cat confdefs.h >>conftest.$ac_ext
13.21435 -cat >>conftest.$ac_ext <<_ACEOF
13.21436 -/* end confdefs.h. */
13.21437 -
13.21438 -/* Override any gcc2 internal prototype to avoid an error. */
13.21439 -#ifdef __cplusplus
13.21440 -extern "C"
13.21441 -#endif
13.21442 -/* We use char because int might match the return type of a gcc2
13.21443 - builtin and then its argument prototype would still apply. */
13.21444 -char strerror ();
13.21445 -int
13.21446 -main ()
13.21447 -{
13.21448 -strerror ();
13.21449 - ;
13.21450 - return 0;
13.21451 -}
13.21452 -_ACEOF
13.21453 -rm -f conftest.$ac_objext conftest$ac_exeext
13.21454 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.21455 - (eval $ac_link) 2>conftest.er1
13.21456 - ac_status=$?
13.21457 - grep -v '^ *+' conftest.er1 >conftest.err
13.21458 - rm -f conftest.er1
13.21459 - cat conftest.err >&5
13.21460 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21461 - (exit $ac_status); } &&
13.21462 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.21463 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.21464 - (eval $ac_try) 2>&5
13.21465 - ac_status=$?
13.21466 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21467 - (exit $ac_status); }; } &&
13.21468 - { ac_try='test -s conftest$ac_exeext'
13.21469 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.21470 - (eval $ac_try) 2>&5
13.21471 - ac_status=$?
13.21472 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21473 - (exit $ac_status); }; }; then
13.21474 - ac_cv_search_strerror="-l$ac_lib"
13.21475 -break
13.21476 -else
13.21477 - echo "$as_me: failed program was:" >&5
13.21478 -sed 's/^/| /' conftest.$ac_ext >&5
13.21479 -
13.21480 -fi
13.21481 -rm -f conftest.err conftest.$ac_objext \
13.21482 - conftest$ac_exeext conftest.$ac_ext
13.21483 - done
13.21484 -fi
13.21485 -LIBS=$ac_func_search_save_LIBS
13.21486 -fi
13.21487 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
13.21488 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
13.21489 -if test "$ac_cv_search_strerror" != no; then
13.21490 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
13.21491 -
13.21492 -fi
13.21493 -
13.21494 -
13.21495 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13.21496 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13.21497 -if test "${ac_cv_header_stdc+set}" = set; then
13.21498 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.21499 -else
13.21500 - cat >conftest.$ac_ext <<_ACEOF
13.21501 -/* confdefs.h. */
13.21502 -_ACEOF
13.21503 -cat confdefs.h >>conftest.$ac_ext
13.21504 -cat >>conftest.$ac_ext <<_ACEOF
13.21505 -/* end confdefs.h. */
13.21506 -#include <stdlib.h>
13.21507 -#include <stdarg.h>
13.21508 -#include <string.h>
13.21509 -#include <float.h>
13.21510 -
13.21511 -int
13.21512 -main ()
13.21513 -{
13.21514 -
13.21515 - ;
13.21516 - return 0;
13.21517 -}
13.21518 -_ACEOF
13.21519 -rm -f conftest.$ac_objext
13.21520 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.21521 - (eval $ac_compile) 2>conftest.er1
13.21522 - ac_status=$?
13.21523 - grep -v '^ *+' conftest.er1 >conftest.err
13.21524 - rm -f conftest.er1
13.21525 - cat conftest.err >&5
13.21526 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21527 - (exit $ac_status); } &&
13.21528 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.21529 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.21530 - (eval $ac_try) 2>&5
13.21531 - ac_status=$?
13.21532 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21533 - (exit $ac_status); }; } &&
13.21534 - { ac_try='test -s conftest.$ac_objext'
13.21535 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.21536 - (eval $ac_try) 2>&5
13.21537 - ac_status=$?
13.21538 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21539 - (exit $ac_status); }; }; then
13.21540 - ac_cv_header_stdc=yes
13.21541 -else
13.21542 - echo "$as_me: failed program was:" >&5
13.21543 -sed 's/^/| /' conftest.$ac_ext >&5
13.21544 -
13.21545 -ac_cv_header_stdc=no
13.21546 -fi
13.21547 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.21548 -
13.21549 -if test $ac_cv_header_stdc = yes; then
13.21550 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13.21551 - cat >conftest.$ac_ext <<_ACEOF
13.21552 -/* confdefs.h. */
13.21553 -_ACEOF
13.21554 -cat confdefs.h >>conftest.$ac_ext
13.21555 -cat >>conftest.$ac_ext <<_ACEOF
13.21556 -/* end confdefs.h. */
13.21557 -#include <string.h>
13.21558 -
13.21559 -_ACEOF
13.21560 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13.21561 - $EGREP "memchr" >/dev/null 2>&1; then
13.21562 - :
13.21563 -else
13.21564 - ac_cv_header_stdc=no
13.21565 -fi
13.21566 -rm -f conftest*
13.21567 -
13.21568 -fi
13.21569 -
13.21570 -if test $ac_cv_header_stdc = yes; then
13.21571 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13.21572 - cat >conftest.$ac_ext <<_ACEOF
13.21573 -/* confdefs.h. */
13.21574 -_ACEOF
13.21575 -cat confdefs.h >>conftest.$ac_ext
13.21576 -cat >>conftest.$ac_ext <<_ACEOF
13.21577 -/* end confdefs.h. */
13.21578 -#include <stdlib.h>
13.21579 -
13.21580 -_ACEOF
13.21581 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13.21582 - $EGREP "free" >/dev/null 2>&1; then
13.21583 - :
13.21584 -else
13.21585 - ac_cv_header_stdc=no
13.21586 -fi
13.21587 -rm -f conftest*
13.21588 -
13.21589 -fi
13.21590 -
13.21591 -if test $ac_cv_header_stdc = yes; then
13.21592 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13.21593 - if test "$cross_compiling" = yes; then
13.21594 - :
13.21595 -else
13.21596 - cat >conftest.$ac_ext <<_ACEOF
13.21597 -/* confdefs.h. */
13.21598 -_ACEOF
13.21599 -cat confdefs.h >>conftest.$ac_ext
13.21600 -cat >>conftest.$ac_ext <<_ACEOF
13.21601 -/* end confdefs.h. */
13.21602 -#include <ctype.h>
13.21603 -#if ((' ' & 0x0FF) == 0x020)
13.21604 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13.21605 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13.21606 -#else
13.21607 -# define ISLOWER(c) \
13.21608 - (('a' <= (c) && (c) <= 'i') \
13.21609 - || ('j' <= (c) && (c) <= 'r') \
13.21610 - || ('s' <= (c) && (c) <= 'z'))
13.21611 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13.21612 -#endif
13.21613 -
13.21614 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13.21615 -int
13.21616 -main ()
13.21617 -{
13.21618 - int i;
13.21619 - for (i = 0; i < 256; i++)
13.21620 - if (XOR (islower (i), ISLOWER (i))
13.21621 - || toupper (i) != TOUPPER (i))
13.21622 - exit(2);
13.21623 - exit (0);
13.21624 -}
13.21625 -_ACEOF
13.21626 -rm -f conftest$ac_exeext
13.21627 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13.21628 - (eval $ac_link) 2>&5
13.21629 - ac_status=$?
13.21630 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21631 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13.21632 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.21633 - (eval $ac_try) 2>&5
13.21634 - ac_status=$?
13.21635 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21636 - (exit $ac_status); }; }; then
13.21637 - :
13.21638 -else
13.21639 - echo "$as_me: program exited with status $ac_status" >&5
13.21640 -echo "$as_me: failed program was:" >&5
13.21641 -sed 's/^/| /' conftest.$ac_ext >&5
13.21642 -
13.21643 -( exit $ac_status )
13.21644 -ac_cv_header_stdc=no
13.21645 -fi
13.21646 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13.21647 -fi
13.21648 -fi
13.21649 -fi
13.21650 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13.21651 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
13.21652 -if test $ac_cv_header_stdc = yes; then
13.21653 -
13.21654 -cat >>confdefs.h <<\_ACEOF
13.21655 -#define STDC_HEADERS 1
13.21656 -_ACEOF
13.21657 -
13.21658 -fi
13.21659 -
13.21660 -echo "$as_me:$LINENO: checking for inline" >&5
13.21661 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
13.21662 -if test "${ac_cv_c_inline+set}" = set; then
13.21663 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.21664 -else
13.21665 - ac_cv_c_inline=no
13.21666 -for ac_kw in inline __inline__ __inline; do
13.21667 - cat >conftest.$ac_ext <<_ACEOF
13.21668 -/* confdefs.h. */
13.21669 -_ACEOF
13.21670 -cat confdefs.h >>conftest.$ac_ext
13.21671 -cat >>conftest.$ac_ext <<_ACEOF
13.21672 -/* end confdefs.h. */
13.21673 -#ifndef __cplusplus
13.21674 -typedef int foo_t;
13.21675 -static $ac_kw foo_t static_foo () {return 0; }
13.21676 -$ac_kw foo_t foo () {return 0; }
13.21677 -#endif
13.21678 -
13.21679 -_ACEOF
13.21680 -rm -f conftest.$ac_objext
13.21681 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13.21682 - (eval $ac_compile) 2>conftest.er1
13.21683 - ac_status=$?
13.21684 - grep -v '^ *+' conftest.er1 >conftest.err
13.21685 - rm -f conftest.er1
13.21686 - cat conftest.err >&5
13.21687 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21688 - (exit $ac_status); } &&
13.21689 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13.21690 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.21691 - (eval $ac_try) 2>&5
13.21692 - ac_status=$?
13.21693 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21694 - (exit $ac_status); }; } &&
13.21695 - { ac_try='test -s conftest.$ac_objext'
13.21696 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13.21697 - (eval $ac_try) 2>&5
13.21698 - ac_status=$?
13.21699 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13.21700 - (exit $ac_status); }; }; then
13.21701 - ac_cv_c_inline=$ac_kw; break
13.21702 -else
13.21703 - echo "$as_me: failed program was:" >&5
13.21704 -sed 's/^/| /' conftest.$ac_ext >&5
13.21705 -
13.21706 -fi
13.21707 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13.21708 -done
13.21709 -
13.21710 -fi
13.21711 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13.21712 -echo "${ECHO_T}$ac_cv_c_inline" >&6
13.21713 -
13.21714 -
13.21715 -case $ac_cv_c_inline in
13.21716 - inline | yes) ;;
13.21717 - *)
13.21718 - case $ac_cv_c_inline in
13.21719 - no) ac_val=;;
13.21720 - *) ac_val=$ac_cv_c_inline;;
13.21721 - esac
13.21722 - cat >>confdefs.h <<_ACEOF
13.21723 -#ifndef __cplusplus
13.21724 -#define inline $ac_val
13.21725 -#endif
13.21726 -_ACEOF
13.21727 - ;;
13.21728 -esac
13.21729 -
13.21730 -
13.21731 -# Extract the first word of "pkg-config", so it can be a program name with args.
13.21732 -set dummy pkg-config; ac_word=$2
13.21733 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.21734 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.21735 -if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
13.21736 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.21737 -else
13.21738 - if test -n "$HAVE_PKGCONFIG"; then
13.21739 - ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
13.21740 -else
13.21741 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.21742 -for as_dir in $PATH
13.21743 -do
13.21744 - IFS=$as_save_IFS
13.21745 - test -z "$as_dir" && as_dir=.
13.21746 - for ac_exec_ext in '' $ac_executable_extensions; do
13.21747 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.21748 - ac_cv_prog_HAVE_PKGCONFIG="yes"
13.21749 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.21750 - break 2
13.21751 - fi
13.21752 -done
13.21753 -done
13.21754 -
13.21755 - test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
13.21756 -fi
13.21757 -fi
13.21758 -HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
13.21759 -if test -n "$HAVE_PKGCONFIG"; then
13.21760 - echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
13.21761 -echo "${ECHO_T}$HAVE_PKGCONFIG" >&6
13.21762 -else
13.21763 - echo "$as_me:$LINENO: result: no" >&5
13.21764 -echo "${ECHO_T}no" >&6
13.21765 -fi
13.21766 -
13.21767 -
13.21768 -if test "x$HAVE_PKGCONFIG" = "xno"; then
13.21769 - { { echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
13.21770 -echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
13.21771 - { (exit 1); exit 1; }; }
13.21772 -fi
13.21773 -
13.21774 -
13.21775 -GST_REQUIRED=0.10.3
13.21776 -GST_MAJORMINOR=0.10
13.21777 -
13.21778 -
13.21779 - succeeded=no
13.21780 -
13.21781 - if test -z "$PKG_CONFIG"; then
13.21782 - # Extract the first word of "pkg-config", so it can be a program name with args.
13.21783 -set dummy pkg-config; ac_word=$2
13.21784 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.21785 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.21786 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13.21787 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.21788 -else
13.21789 - case $PKG_CONFIG in
13.21790 - [\\/]* | ?:[\\/]*)
13.21791 - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13.21792 - ;;
13.21793 - *)
13.21794 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.21795 -for as_dir in $PATH
13.21796 -do
13.21797 - IFS=$as_save_IFS
13.21798 - test -z "$as_dir" && as_dir=.
13.21799 - for ac_exec_ext in '' $ac_executable_extensions; do
13.21800 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.21801 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13.21802 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.21803 - break 2
13.21804 - fi
13.21805 -done
13.21806 -done
13.21807 -
13.21808 - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13.21809 - ;;
13.21810 -esac
13.21811 -fi
13.21812 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13.21813 -
13.21814 -if test -n "$PKG_CONFIG"; then
13.21815 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13.21816 -echo "${ECHO_T}$PKG_CONFIG" >&6
13.21817 -else
13.21818 - echo "$as_me:$LINENO: result: no" >&5
13.21819 -echo "${ECHO_T}no" >&6
13.21820 -fi
13.21821 -
13.21822 - fi
13.21823 -
13.21824 - if test "$PKG_CONFIG" = "no" ; then
13.21825 - echo "*** The pkg-config script could not be found. Make sure it is"
13.21826 - echo "*** in your path, or set the PKG_CONFIG environment variable"
13.21827 - echo "*** to the full path to pkg-config."
13.21828 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13.21829 - else
13.21830 - PKG_CONFIG_MIN_VERSION=0.9.0
13.21831 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13.21832 - echo "$as_me:$LINENO: checking for \
13.21833 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
13.21834 -echo $ECHO_N "checking for \
13.21835 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
13.21836 -
13.21837 - if $PKG_CONFIG --exists "\
13.21838 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
13.21839 - echo "$as_me:$LINENO: result: yes" >&5
13.21840 -echo "${ECHO_T}yes" >&6
13.21841 - succeeded=yes
13.21842 -
13.21843 - echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
13.21844 -echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
13.21845 - GST_CFLAGS=`$PKG_CONFIG --cflags "\
13.21846 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
13.21847 - echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
13.21848 -echo "${ECHO_T}$GST_CFLAGS" >&6
13.21849 -
13.21850 - echo "$as_me:$LINENO: checking GST_LIBS" >&5
13.21851 -echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
13.21852 - GST_LIBS=`$PKG_CONFIG --libs "\
13.21853 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
13.21854 - echo "$as_me:$LINENO: result: $GST_LIBS" >&5
13.21855 -echo "${ECHO_T}$GST_LIBS" >&6
13.21856 - else
13.21857 - GST_CFLAGS=""
13.21858 - GST_LIBS=""
13.21859 - ## If we have a custom action on failure, don't print errors, but
13.21860 - ## do set a variable so people can do so.
13.21861 - GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
13.21862 - gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
13.21863 -
13.21864 - fi
13.21865 -
13.21866 -
13.21867 -
13.21868 - else
13.21869 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13.21870 - echo "*** See http://www.freedesktop.org/software/pkgconfig"
13.21871 - fi
13.21872 - fi
13.21873 -
13.21874 - if test $succeeded = yes; then
13.21875 - HAVE_GST=yes
13.21876 - else
13.21877 - HAVE_GST=no
13.21878 - fi
13.21879 -
13.21880 -
13.21881 -if test "x$HAVE_GST" = "xno"; then
13.21882 - { { echo "$as_me:$LINENO: error: you need gstreamer development packages installed !" >&5
13.21883 -echo "$as_me: error: you need gstreamer development packages installed !" >&2;}
13.21884 - { (exit 1); exit 1; }; }
13.21885 -fi
13.21886 -
13.21887 -if test "x$USE_DEBUG" = xyes; then
13.21888 - GST_CFLAGS="$GST_CFLAGS -g"
13.21889 -fi
13.21890 -
13.21891 -
13.21892 -
13.21893 -
13.21894 -
13.21895 -
13.21896 -
13.21897 - succeeded=no
13.21898 -
13.21899 - if test -z "$PKG_CONFIG"; then
13.21900 - # Extract the first word of "pkg-config", so it can be a program name with args.
13.21901 -set dummy pkg-config; ac_word=$2
13.21902 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.21903 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.21904 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13.21905 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.21906 -else
13.21907 - case $PKG_CONFIG in
13.21908 - [\\/]* | ?:[\\/]*)
13.21909 - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13.21910 - ;;
13.21911 - *)
13.21912 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.21913 -for as_dir in $PATH
13.21914 -do
13.21915 - IFS=$as_save_IFS
13.21916 - test -z "$as_dir" && as_dir=.
13.21917 - for ac_exec_ext in '' $ac_executable_extensions; do
13.21918 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.21919 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13.21920 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.21921 - break 2
13.21922 - fi
13.21923 -done
13.21924 -done
13.21925 -
13.21926 - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13.21927 - ;;
13.21928 -esac
13.21929 -fi
13.21930 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13.21931 -
13.21932 -if test -n "$PKG_CONFIG"; then
13.21933 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13.21934 -echo "${ECHO_T}$PKG_CONFIG" >&6
13.21935 -else
13.21936 - echo "$as_me:$LINENO: result: no" >&5
13.21937 -echo "${ECHO_T}no" >&6
13.21938 -fi
13.21939 -
13.21940 - fi
13.21941 -
13.21942 - if test "$PKG_CONFIG" = "no" ; then
13.21943 - echo "*** The pkg-config script could not be found. Make sure it is"
13.21944 - echo "*** in your path, or set the PKG_CONFIG environment variable"
13.21945 - echo "*** to the full path to pkg-config."
13.21946 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13.21947 - else
13.21948 - PKG_CONFIG_MIN_VERSION=0.9.0
13.21949 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13.21950 - echo "$as_me:$LINENO: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
13.21951 -echo $ECHO_N "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
13.21952 -
13.21953 - if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
13.21954 - echo "$as_me:$LINENO: result: yes" >&5
13.21955 -echo "${ECHO_T}yes" >&6
13.21956 - succeeded=yes
13.21957 -
13.21958 - echo "$as_me:$LINENO: checking GST_BASE_CFLAGS" >&5
13.21959 -echo $ECHO_N "checking GST_BASE_CFLAGS... $ECHO_C" >&6
13.21960 - GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
13.21961 - echo "$as_me:$LINENO: result: $GST_BASE_CFLAGS" >&5
13.21962 -echo "${ECHO_T}$GST_BASE_CFLAGS" >&6
13.21963 -
13.21964 - echo "$as_me:$LINENO: checking GST_BASE_LIBS" >&5
13.21965 -echo $ECHO_N "checking GST_BASE_LIBS... $ECHO_C" >&6
13.21966 - GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
13.21967 - echo "$as_me:$LINENO: result: $GST_BASE_LIBS" >&5
13.21968 -echo "${ECHO_T}$GST_BASE_LIBS" >&6
13.21969 - else
13.21970 - GST_BASE_CFLAGS=""
13.21971 - GST_BASE_LIBS=""
13.21972 - ## If we have a custom action on failure, don't print errors, but
13.21973 - ## do set a variable so people can do so.
13.21974 - GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
13.21975 -
13.21976 - fi
13.21977 -
13.21978 -
13.21979 -
13.21980 - else
13.21981 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13.21982 - echo "*** See http://www.freedesktop.org/software/pkgconfig"
13.21983 - fi
13.21984 - fi
13.21985 -
13.21986 - if test $succeeded = yes; then
13.21987 - HAVE_GST_BASE="yes"
13.21988 - else
13.21989 - HAVE_GST_BASE="no"
13.21990 - fi
13.21991 -
13.21992 -
13.21993 -if test "x$HAVE_GST_BASE" = "xno"; then
13.21994 - { { echo "$as_me:$LINENO: error: no GStreamer Base Libs found" >&5
13.21995 -echo "$as_me: error: no GStreamer Base Libs found" >&2;}
13.21996 - { (exit 1); exit 1; }; }
13.21997 -fi
13.21998 -
13.21999 -
13.22000 -
13.22001 -
13.22002 -
13.22003 - succeeded=no
13.22004 -
13.22005 - if test -z "$PKG_CONFIG"; then
13.22006 - # Extract the first word of "pkg-config", so it can be a program name with args.
13.22007 -set dummy pkg-config; ac_word=$2
13.22008 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13.22009 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13.22010 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13.22011 - echo $ECHO_N "(cached) $ECHO_C" >&6
13.22012 -else
13.22013 - case $PKG_CONFIG in
13.22014 - [\\/]* | ?:[\\/]*)
13.22015 - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13.22016 - ;;
13.22017 - *)
13.22018 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.22019 -for as_dir in $PATH
13.22020 -do
13.22021 - IFS=$as_save_IFS
13.22022 - test -z "$as_dir" && as_dir=.
13.22023 - for ac_exec_ext in '' $ac_executable_extensions; do
13.22024 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13.22025 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13.22026 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13.22027 - break 2
13.22028 - fi
13.22029 -done
13.22030 -done
13.22031 -
13.22032 - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13.22033 - ;;
13.22034 -esac
13.22035 -fi
13.22036 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13.22037 -
13.22038 -if test -n "$PKG_CONFIG"; then
13.22039 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13.22040 -echo "${ECHO_T}$PKG_CONFIG" >&6
13.22041 -else
13.22042 - echo "$as_me:$LINENO: result: no" >&5
13.22043 -echo "${ECHO_T}no" >&6
13.22044 -fi
13.22045 -
13.22046 - fi
13.22047 -
13.22048 - if test "$PKG_CONFIG" = "no" ; then
13.22049 - echo "*** The pkg-config script could not be found. Make sure it is"
13.22050 - echo "*** in your path, or set the PKG_CONFIG environment variable"
13.22051 - echo "*** to the full path to pkg-config."
13.22052 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13.22053 - else
13.22054 - PKG_CONFIG_MIN_VERSION=0.9.0
13.22055 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13.22056 - echo "$as_me:$LINENO: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
13.22057 -echo $ECHO_N "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
13.22058 -
13.22059 - if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
13.22060 - echo "$as_me:$LINENO: result: yes" >&5
13.22061 -echo "${ECHO_T}yes" >&6
13.22062 - succeeded=yes
13.22063 -
13.22064 - echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_CFLAGS" >&5
13.22065 -echo $ECHO_N "checking GST_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6
13.22066 - GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
13.22067 - echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_CFLAGS" >&5
13.22068 -echo "${ECHO_T}$GST_PLUGINS_BASE_CFLAGS" >&6
13.22069 -
13.22070 - echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_LIBS" >&5
13.22071 -echo $ECHO_N "checking GST_PLUGINS_BASE_LIBS... $ECHO_C" >&6
13.22072 - GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
13.22073 - echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_LIBS" >&5
13.22074 -echo "${ECHO_T}$GST_PLUGINS_BASE_LIBS" >&6
13.22075 - else
13.22076 - GST_PLUGINS_BASE_CFLAGS=""
13.22077 - GST_PLUGINS_BASE_LIBS=""
13.22078 - ## If we have a custom action on failure, don't print errors, but
13.22079 - ## do set a variable so people can do so.
13.22080 - GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
13.22081 -
13.22082 - fi
13.22083 -
13.22084 -
13.22085 -
13.22086 - else
13.22087 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13.22088 - echo "*** See http://www.freedesktop.org/software/pkgconfig"
13.22089 - fi
13.22090 - fi
13.22091 -
13.22092 - if test $succeeded = yes; then
13.22093 - HAVE_GST_PLUGINS="yes"
13.22094 - else
13.22095 - HAVE_GST_PLUGINS="no"
13.22096 - fi
13.22097 -
13.22098 -
13.22099 -if test "x$HAVE_GST_PLUGINS" = "xno"; then
13.22100 - { { echo "$as_me:$LINENO: error: no GStreamer Plugins Libs found" >&5
13.22101 -echo "$as_me: error: no GStreamer Plugins Libs found" >&2;}
13.22102 - { (exit 1); exit 1; }; }
13.22103 -fi
13.22104 -
13.22105 -
13.22106 -
13.22107 -
13.22108 -plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
13.22109 -
13.22110 -
13.22111 -GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).*'
13.22112 -
13.22113 -
13.22114 - ac_config_files="$ac_config_files Makefile src/Makefile m4/Makefile"
13.22115 -cat >confcache <<\_ACEOF
13.22116 -# This file is a shell script that caches the results of configure
13.22117 -# tests run on this system so they can be shared between configure
13.22118 -# scripts and configure runs, see configure's option --config-cache.
13.22119 -# It is not useful on other systems. If it contains results you don't
13.22120 -# want to keep, you may remove or edit it.
13.22121 -#
13.22122 -# config.status only pays attention to the cache file if you give it
13.22123 -# the --recheck option to rerun configure.
13.22124 -#
13.22125 -# `ac_cv_env_foo' variables (set or unset) will be overridden when
13.22126 -# loading this file, other *unset* `ac_cv_foo' will be assigned the
13.22127 -# following values.
13.22128 -
13.22129 -_ACEOF
13.22130 -
13.22131 -# The following way of writing the cache mishandles newlines in values,
13.22132 -# but we know of no workaround that is simple, portable, and efficient.
13.22133 -# So, don't put newlines in cache variables' values.
13.22134 -# Ultrix sh set writes to stderr and can't be redirected directly,
13.22135 -# and sets the high bit in the cache file unless we assign to the vars.
13.22136 -{
13.22137 - (set) 2>&1 |
13.22138 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
13.22139 - *ac_space=\ *)
13.22140 - # `set' does not quote correctly, so add quotes (double-quote
13.22141 - # substitution turns \\\\ into \\, and sed turns \\ into \).
13.22142 - sed -n \
13.22143 - "s/'/'\\\\''/g;
13.22144 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13.22145 - ;;
13.22146 - *)
13.22147 - # `set' quotes correctly as required by POSIX, so do not add quotes.
13.22148 - sed -n \
13.22149 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13.22150 - ;;
13.22151 - esac;
13.22152 -} |
13.22153 - sed '
13.22154 - t clear
13.22155 - : clear
13.22156 - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13.22157 - t end
13.22158 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13.22159 - : end' >>confcache
13.22160 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
13.22161 - if test -w $cache_file; then
13.22162 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13.22163 - cat confcache >$cache_file
13.22164 - else
13.22165 - echo "not updating unwritable cache $cache_file"
13.22166 - fi
13.22167 -fi
13.22168 -rm -f confcache
13.22169 -
13.22170 -test "x$prefix" = xNONE && prefix=$ac_default_prefix
13.22171 -# Let make expand exec_prefix.
13.22172 -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13.22173 -
13.22174 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
13.22175 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13.22176 -# trailing colons and then remove the whole line if VPATH becomes empty
13.22177 -# (actually we leave an empty line to preserve line numbers).
13.22178 -if test "x$srcdir" = x.; then
13.22179 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
13.22180 -s/:*\$(srcdir):*/:/;
13.22181 -s/:*\${srcdir}:*/:/;
13.22182 -s/:*@srcdir@:*/:/;
13.22183 -s/^\([^=]*=[ ]*\):*/\1/;
13.22184 -s/:*$//;
13.22185 -s/^[^=]*=[ ]*$//;
13.22186 -}'
13.22187 -fi
13.22188 -
13.22189 -DEFS=-DHAVE_CONFIG_H
13.22190 -
13.22191 -ac_libobjs=
13.22192 -ac_ltlibobjs=
13.22193 -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13.22194 - # 1. Remove the extension, and $U if already installed.
13.22195 - ac_i=`echo "$ac_i" |
13.22196 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
13.22197 - # 2. Add them.
13.22198 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
13.22199 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
13.22200 -done
13.22201 -LIBOBJS=$ac_libobjs
13.22202 -
13.22203 -LTLIBOBJS=$ac_ltlibobjs
13.22204 -
13.22205 -
13.22206 -if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13.22207 - { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13.22208 -Usually this means the macro was only invoked conditionally." >&5
13.22209 -echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13.22210 -Usually this means the macro was only invoked conditionally." >&2;}
13.22211 - { (exit 1); exit 1; }; }
13.22212 -fi
13.22213 -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13.22214 - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13.22215 -Usually this means the macro was only invoked conditionally." >&5
13.22216 -echo "$as_me: error: conditional \"AMDEP\" was never defined.
13.22217 -Usually this means the macro was only invoked conditionally." >&2;}
13.22218 - { (exit 1); exit 1; }; }
13.22219 -fi
13.22220 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13.22221 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13.22222 -Usually this means the macro was only invoked conditionally." >&5
13.22223 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13.22224 -Usually this means the macro was only invoked conditionally." >&2;}
13.22225 - { (exit 1); exit 1; }; }
13.22226 -fi
13.22227 -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
13.22228 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
13.22229 -Usually this means the macro was only invoked conditionally." >&5
13.22230 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
13.22231 -Usually this means the macro was only invoked conditionally." >&2;}
13.22232 - { (exit 1); exit 1; }; }
13.22233 -fi
13.22234 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13.22235 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13.22236 -Usually this means the macro was only invoked conditionally." >&5
13.22237 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13.22238 -Usually this means the macro was only invoked conditionally." >&2;}
13.22239 - { (exit 1); exit 1; }; }
13.22240 -fi
13.22241 -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
13.22242 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
13.22243 -Usually this means the macro was only invoked conditionally." >&5
13.22244 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
13.22245 -Usually this means the macro was only invoked conditionally." >&2;}
13.22246 - { (exit 1); exit 1; }; }
13.22247 -fi
13.22248 -
13.22249 -: ${CONFIG_STATUS=./config.status}
13.22250 -ac_clean_files_save=$ac_clean_files
13.22251 -ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13.22252 -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13.22253 -echo "$as_me: creating $CONFIG_STATUS" >&6;}
13.22254 -cat >$CONFIG_STATUS <<_ACEOF
13.22255 -#! $SHELL
13.22256 -# Generated by $as_me.
13.22257 -# Run this file to recreate the current configuration.
13.22258 -# Compiler output produced by configure, useful for debugging
13.22259 -# configure, is in config.log if it exists.
13.22260 -
13.22261 -debug=false
13.22262 -ac_cs_recheck=false
13.22263 -ac_cs_silent=false
13.22264 -SHELL=\${CONFIG_SHELL-$SHELL}
13.22265 -_ACEOF
13.22266 -
13.22267 -cat >>$CONFIG_STATUS <<\_ACEOF
13.22268 -## --------------------- ##
13.22269 -## M4sh Initialization. ##
13.22270 -## --------------------- ##
13.22271 -
13.22272 -# Be Bourne compatible
13.22273 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13.22274 - emulate sh
13.22275 - NULLCMD=:
13.22276 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13.22277 - # is contrary to our usage. Disable this feature.
13.22278 - alias -g '${1+"$@"}'='"$@"'
13.22279 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
13.22280 - set -o posix
13.22281 -fi
13.22282 -DUALCASE=1; export DUALCASE # for MKS sh
13.22283 -
13.22284 -# Support unset when possible.
13.22285 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13.22286 - as_unset=unset
13.22287 -else
13.22288 - as_unset=false
13.22289 -fi
13.22290 -
13.22291 -
13.22292 -# Work around bugs in pre-3.0 UWIN ksh.
13.22293 -$as_unset ENV MAIL MAILPATH
13.22294 -PS1='$ '
13.22295 -PS2='> '
13.22296 -PS4='+ '
13.22297 -
13.22298 -# NLS nuisances.
13.22299 -for as_var in \
13.22300 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13.22301 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13.22302 - LC_TELEPHONE LC_TIME
13.22303 -do
13.22304 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13.22305 - eval $as_var=C; export $as_var
13.22306 - else
13.22307 - $as_unset $as_var
13.22308 - fi
13.22309 -done
13.22310 -
13.22311 -# Required to use basename.
13.22312 -if expr a : '\(a\)' >/dev/null 2>&1; then
13.22313 - as_expr=expr
13.22314 -else
13.22315 - as_expr=false
13.22316 -fi
13.22317 -
13.22318 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
13.22319 - as_basename=basename
13.22320 -else
13.22321 - as_basename=false
13.22322 -fi
13.22323 -
13.22324 -
13.22325 -# Name of the executable.
13.22326 -as_me=`$as_basename "$0" ||
13.22327 -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13.22328 - X"$0" : 'X\(//\)$' \| \
13.22329 - X"$0" : 'X\(/\)$' \| \
13.22330 - . : '\(.\)' 2>/dev/null ||
13.22331 -echo X/"$0" |
13.22332 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13.22333 - /^X\/\(\/\/\)$/{ s//\1/; q; }
13.22334 - /^X\/\(\/\).*/{ s//\1/; q; }
13.22335 - s/.*/./; q'`
13.22336 -
13.22337 -
13.22338 -# PATH needs CR, and LINENO needs CR and PATH.
13.22339 -# Avoid depending upon Character Ranges.
13.22340 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13.22341 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13.22342 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13.22343 -as_cr_digits='0123456789'
13.22344 -as_cr_alnum=$as_cr_Letters$as_cr_digits
13.22345 -
13.22346 -# The user is always right.
13.22347 -if test "${PATH_SEPARATOR+set}" != set; then
13.22348 - echo "#! /bin/sh" >conf$$.sh
13.22349 - echo "exit 0" >>conf$$.sh
13.22350 - chmod +x conf$$.sh
13.22351 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13.22352 - PATH_SEPARATOR=';'
13.22353 - else
13.22354 - PATH_SEPARATOR=:
13.22355 - fi
13.22356 - rm -f conf$$.sh
13.22357 -fi
13.22358 -
13.22359 -
13.22360 - as_lineno_1=$LINENO
13.22361 - as_lineno_2=$LINENO
13.22362 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13.22363 - test "x$as_lineno_1" != "x$as_lineno_2" &&
13.22364 - test "x$as_lineno_3" = "x$as_lineno_2" || {
13.22365 - # Find who we are. Look in the path if we contain no path at all
13.22366 - # relative or not.
13.22367 - case $0 in
13.22368 - *[\\/]* ) as_myself=$0 ;;
13.22369 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.22370 -for as_dir in $PATH
13.22371 -do
13.22372 - IFS=$as_save_IFS
13.22373 - test -z "$as_dir" && as_dir=.
13.22374 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13.22375 -done
13.22376 -
13.22377 - ;;
13.22378 - esac
13.22379 - # We did not find ourselves, most probably we were run as `sh COMMAND'
13.22380 - # in which case we are not to be found in the path.
13.22381 - if test "x$as_myself" = x; then
13.22382 - as_myself=$0
13.22383 - fi
13.22384 - if test ! -f "$as_myself"; then
13.22385 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13.22386 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13.22387 - { (exit 1); exit 1; }; }
13.22388 - fi
13.22389 - case $CONFIG_SHELL in
13.22390 - '')
13.22391 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13.22392 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
13.22393 -do
13.22394 - IFS=$as_save_IFS
13.22395 - test -z "$as_dir" && as_dir=.
13.22396 - for as_base in sh bash ksh sh5; do
13.22397 - case $as_dir in
13.22398 - /*)
13.22399 - if ("$as_dir/$as_base" -c '
13.22400 - as_lineno_1=$LINENO
13.22401 - as_lineno_2=$LINENO
13.22402 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13.22403 - test "x$as_lineno_1" != "x$as_lineno_2" &&
13.22404 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
13.22405 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
13.22406 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
13.22407 - CONFIG_SHELL=$as_dir/$as_base
13.22408 - export CONFIG_SHELL
13.22409 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13.22410 - fi;;
13.22411 - esac
13.22412 - done
13.22413 -done
13.22414 -;;
13.22415 - esac
13.22416 -
13.22417 - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13.22418 - # uniformly replaced by the line number. The first 'sed' inserts a
13.22419 - # line-number line before each line; the second 'sed' does the real
13.22420 - # work. The second script uses 'N' to pair each line-number line
13.22421 - # with the numbered line, and appends trailing '-' during
13.22422 - # substitution so that $LINENO is not a special case at line end.
13.22423 - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13.22424 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13.22425 - sed '=' <$as_myself |
13.22426 - sed '
13.22427 - N
13.22428 - s,$,-,
13.22429 - : loop
13.22430 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13.22431 - t loop
13.22432 - s,-$,,
13.22433 - s,^['$as_cr_digits']*\n,,
13.22434 - ' >$as_me.lineno &&
13.22435 - chmod +x $as_me.lineno ||
13.22436 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
13.22437 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
13.22438 - { (exit 1); exit 1; }; }
13.22439 -
13.22440 - # Don't try to exec as it changes $[0], causing all sort of problems
13.22441 - # (the dirname of $[0] is not the place where we might find the
13.22442 - # original and so on. Autoconf is especially sensible to this).
13.22443 - . ./$as_me.lineno
13.22444 - # Exit status is that of the last command.
13.22445 - exit
13.22446 -}
13.22447 -
13.22448 -
13.22449 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13.22450 - *c*,-n*) ECHO_N= ECHO_C='
13.22451 -' ECHO_T=' ' ;;
13.22452 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
13.22453 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
13.22454 -esac
13.22455 -
13.22456 -if expr a : '\(a\)' >/dev/null 2>&1; then
13.22457 - as_expr=expr
13.22458 -else
13.22459 - as_expr=false
13.22460 -fi
13.22461 -
13.22462 -rm -f conf$$ conf$$.exe conf$$.file
13.22463 -echo >conf$$.file
13.22464 -if ln -s conf$$.file conf$$ 2>/dev/null; then
13.22465 - # We could just check for DJGPP; but this test a) works b) is more generic
13.22466 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13.22467 - if test -f conf$$.exe; then
13.22468 - # Don't use ln at all; we don't have any links
13.22469 - as_ln_s='cp -p'
13.22470 - else
13.22471 - as_ln_s='ln -s'
13.22472 - fi
13.22473 -elif ln conf$$.file conf$$ 2>/dev/null; then
13.22474 - as_ln_s=ln
13.22475 -else
13.22476 - as_ln_s='cp -p'
13.22477 -fi
13.22478 -rm -f conf$$ conf$$.exe conf$$.file
13.22479 -
13.22480 -if mkdir -p . 2>/dev/null; then
13.22481 - as_mkdir_p=:
13.22482 -else
13.22483 - test -d ./-p && rmdir ./-p
13.22484 - as_mkdir_p=false
13.22485 -fi
13.22486 -
13.22487 -as_executable_p="test -f"
13.22488 -
13.22489 -# Sed expression to map a string onto a valid CPP name.
13.22490 -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13.22491 -
13.22492 -# Sed expression to map a string onto a valid variable name.
13.22493 -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13.22494 -
13.22495 -
13.22496 -# IFS
13.22497 -# We need space, tab and new line, in precisely that order.
13.22498 -as_nl='
13.22499 -'
13.22500 -IFS=" $as_nl"
13.22501 -
13.22502 -# CDPATH.
13.22503 -$as_unset CDPATH
13.22504 -
13.22505 -exec 6>&1
13.22506 -
13.22507 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
13.22508 -# report actual input values of CONFIG_FILES etc. instead of their
13.22509 -# values after options handling. Logging --version etc. is OK.
13.22510 -exec 5>>config.log
13.22511 -{
13.22512 - echo
13.22513 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13.22514 -## Running $as_me. ##
13.22515 -_ASBOX
13.22516 -} >&5
13.22517 -cat >&5 <<_CSEOF
13.22518 -
13.22519 -This file was extended by $as_me, which was
13.22520 -generated by GNU Autoconf 2.59. Invocation command line was
13.22521 -
13.22522 - CONFIG_FILES = $CONFIG_FILES
13.22523 - CONFIG_HEADERS = $CONFIG_HEADERS
13.22524 - CONFIG_LINKS = $CONFIG_LINKS
13.22525 - CONFIG_COMMANDS = $CONFIG_COMMANDS
13.22526 - $ $0 $@
13.22527 -
13.22528 -_CSEOF
13.22529 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13.22530 -echo >&5
13.22531 -_ACEOF
13.22532 -
13.22533 -# Files that config.status was made for.
13.22534 -if test -n "$ac_config_files"; then
13.22535 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13.22536 -fi
13.22537 -
13.22538 -if test -n "$ac_config_headers"; then
13.22539 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13.22540 -fi
13.22541 -
13.22542 -if test -n "$ac_config_links"; then
13.22543 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13.22544 -fi
13.22545 -
13.22546 -if test -n "$ac_config_commands"; then
13.22547 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13.22548 -fi
13.22549 -
13.22550 -cat >>$CONFIG_STATUS <<\_ACEOF
13.22551 -
13.22552 -ac_cs_usage="\
13.22553 -\`$as_me' instantiates files from templates according to the
13.22554 -current configuration.
13.22555 -
13.22556 -Usage: $0 [OPTIONS] [FILE]...
13.22557 -
13.22558 - -h, --help print this help, then exit
13.22559 - -V, --version print version number, then exit
13.22560 - -q, --quiet do not print progress messages
13.22561 - -d, --debug don't remove temporary files
13.22562 - --recheck update $as_me by reconfiguring in the same conditions
13.22563 - --file=FILE[:TEMPLATE]
13.22564 - instantiate the configuration file FILE
13.22565 - --header=FILE[:TEMPLATE]
13.22566 - instantiate the configuration header FILE
13.22567 -
13.22568 -Configuration files:
13.22569 -$config_files
13.22570 -
13.22571 -Configuration headers:
13.22572 -$config_headers
13.22573 -
13.22574 -Configuration commands:
13.22575 -$config_commands
13.22576 -
13.22577 -Report bugs to <bug-autoconf@gnu.org>."
13.22578 -_ACEOF
13.22579 -
13.22580 -cat >>$CONFIG_STATUS <<_ACEOF
13.22581 -ac_cs_version="\\
13.22582 -config.status
13.22583 -configured by $0, generated by GNU Autoconf 2.59,
13.22584 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13.22585 -
13.22586 -Copyright (C) 2003 Free Software Foundation, Inc.
13.22587 -This config.status script is free software; the Free Software Foundation
13.22588 -gives unlimited permission to copy, distribute and modify it."
13.22589 -srcdir=$srcdir
13.22590 -INSTALL="$INSTALL"
13.22591 -_ACEOF
13.22592 -
13.22593 -cat >>$CONFIG_STATUS <<\_ACEOF
13.22594 -# If no file are specified by the user, then we need to provide default
13.22595 -# value. By we need to know if files were specified by the user.
13.22596 -ac_need_defaults=:
13.22597 -while test $# != 0
13.22598 -do
13.22599 - case $1 in
13.22600 - --*=*)
13.22601 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
13.22602 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
13.22603 - ac_shift=:
13.22604 - ;;
13.22605 - -*)
13.22606 - ac_option=$1
13.22607 - ac_optarg=$2
13.22608 - ac_shift=shift
13.22609 - ;;
13.22610 - *) # This is not an option, so the user has probably given explicit
13.22611 - # arguments.
13.22612 - ac_option=$1
13.22613 - ac_need_defaults=false;;
13.22614 - esac
13.22615 -
13.22616 - case $ac_option in
13.22617 - # Handling of the options.
13.22618 -_ACEOF
13.22619 -cat >>$CONFIG_STATUS <<\_ACEOF
13.22620 - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13.22621 - ac_cs_recheck=: ;;
13.22622 - --version | --vers* | -V )
13.22623 - echo "$ac_cs_version"; exit 0 ;;
13.22624 - --he | --h)
13.22625 - # Conflict between --help and --header
13.22626 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
13.22627 -Try \`$0 --help' for more information." >&5
13.22628 -echo "$as_me: error: ambiguous option: $1
13.22629 -Try \`$0 --help' for more information." >&2;}
13.22630 - { (exit 1); exit 1; }; };;
13.22631 - --help | --hel | -h )
13.22632 - echo "$ac_cs_usage"; exit 0 ;;
13.22633 - --debug | --d* | -d )
13.22634 - debug=: ;;
13.22635 - --file | --fil | --fi | --f )
13.22636 - $ac_shift
13.22637 - CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13.22638 - ac_need_defaults=false;;
13.22639 - --header | --heade | --head | --hea )
13.22640 - $ac_shift
13.22641 - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
13.22642 - ac_need_defaults=false;;
13.22643 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13.22644 - | -silent | --silent | --silen | --sile | --sil | --si | --s)
13.22645 - ac_cs_silent=: ;;
13.22646 -
13.22647 - # This is an error.
13.22648 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13.22649 -Try \`$0 --help' for more information." >&5
13.22650 -echo "$as_me: error: unrecognized option: $1
13.22651 -Try \`$0 --help' for more information." >&2;}
13.22652 - { (exit 1); exit 1; }; } ;;
13.22653 -
13.22654 - *) ac_config_targets="$ac_config_targets $1" ;;
13.22655 -
13.22656 - esac
13.22657 - shift
13.22658 -done
13.22659 -
13.22660 -ac_configure_extra_args=
13.22661 -
13.22662 -if $ac_cs_silent; then
13.22663 - exec 6>/dev/null
13.22664 - ac_configure_extra_args="$ac_configure_extra_args --silent"
13.22665 -fi
13.22666 -
13.22667 -_ACEOF
13.22668 -cat >>$CONFIG_STATUS <<_ACEOF
13.22669 -if \$ac_cs_recheck; then
13.22670 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13.22671 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13.22672 -fi
13.22673 -
13.22674 -_ACEOF
13.22675 -
13.22676 -cat >>$CONFIG_STATUS <<_ACEOF
13.22677 -#
13.22678 -# INIT-COMMANDS section.
13.22679 -#
13.22680 -
13.22681 -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13.22682 -
13.22683 -_ACEOF
13.22684 -
13.22685 -
13.22686 -
13.22687 -cat >>$CONFIG_STATUS <<\_ACEOF
13.22688 -for ac_config_target in $ac_config_targets
13.22689 -do
13.22690 - case "$ac_config_target" in
13.22691 - # Handling of arguments.
13.22692 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13.22693 - "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13.22694 - "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
13.22695 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13.22696 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13.22697 - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13.22698 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13.22699 - { (exit 1); exit 1; }; };;
13.22700 - esac
13.22701 -done
13.22702 -
13.22703 -# If the user did not use the arguments to specify the items to instantiate,
13.22704 -# then the envvar interface is used. Set only those that are not.
13.22705 -# We use the long form for the default assignment because of an extremely
13.22706 -# bizarre bug on SunOS 4.1.3.
13.22707 -if $ac_need_defaults; then
13.22708 - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13.22709 - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13.22710 - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13.22711 -fi
13.22712 -
13.22713 -# Have a temporary directory for convenience. Make it in the build tree
13.22714 -# simply because there is no reason to put it here, and in addition,
13.22715 -# creating and moving files from /tmp can sometimes cause problems.
13.22716 -# Create a temporary directory, and hook for its removal unless debugging.
13.22717 -$debug ||
13.22718 -{
13.22719 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13.22720 - trap '{ (exit 1); exit 1; }' 1 2 13 15
13.22721 -}
13.22722 -
13.22723 -# Create a (secure) tmp directory for tmp files.
13.22724 -
13.22725 -{
13.22726 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13.22727 - test -n "$tmp" && test -d "$tmp"
13.22728 -} ||
13.22729 -{
13.22730 - tmp=./confstat$$-$RANDOM
13.22731 - (umask 077 && mkdir $tmp)
13.22732 -} ||
13.22733 -{
13.22734 - echo "$me: cannot create a temporary directory in ." >&2
13.22735 - { (exit 1); exit 1; }
13.22736 -}
13.22737 -
13.22738 -_ACEOF
13.22739 -
13.22740 -cat >>$CONFIG_STATUS <<_ACEOF
13.22741 -
13.22742 -#
13.22743 -# CONFIG_FILES section.
13.22744 -#
13.22745 -
13.22746 -# No need to generate the scripts if there are no CONFIG_FILES.
13.22747 -# This happens for instance when ./config.status config.h
13.22748 -if test -n "\$CONFIG_FILES"; then
13.22749 - # Protect against being on the right side of a sed subst in config.status.
13.22750 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13.22751 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13.22752 -s,@SHELL@,$SHELL,;t t
13.22753 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13.22754 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13.22755 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13.22756 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13.22757 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13.22758 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13.22759 -s,@exec_prefix@,$exec_prefix,;t t
13.22760 -s,@prefix@,$prefix,;t t
13.22761 -s,@program_transform_name@,$program_transform_name,;t t
13.22762 -s,@bindir@,$bindir,;t t
13.22763 -s,@sbindir@,$sbindir,;t t
13.22764 -s,@libexecdir@,$libexecdir,;t t
13.22765 -s,@datadir@,$datadir,;t t
13.22766 -s,@sysconfdir@,$sysconfdir,;t t
13.22767 -s,@sharedstatedir@,$sharedstatedir,;t t
13.22768 -s,@localstatedir@,$localstatedir,;t t
13.22769 -s,@libdir@,$libdir,;t t
13.22770 -s,@includedir@,$includedir,;t t
13.22771 -s,@oldincludedir@,$oldincludedir,;t t
13.22772 -s,@infodir@,$infodir,;t t
13.22773 -s,@mandir@,$mandir,;t t
13.22774 -s,@build_alias@,$build_alias,;t t
13.22775 -s,@host_alias@,$host_alias,;t t
13.22776 -s,@target_alias@,$target_alias,;t t
13.22777 -s,@DEFS@,$DEFS,;t t
13.22778 -s,@ECHO_C@,$ECHO_C,;t t
13.22779 -s,@ECHO_N@,$ECHO_N,;t t
13.22780 -s,@ECHO_T@,$ECHO_T,;t t
13.22781 -s,@LIBS@,$LIBS,;t t
13.22782 -s,@build@,$build,;t t
13.22783 -s,@build_cpu@,$build_cpu,;t t
13.22784 -s,@build_vendor@,$build_vendor,;t t
13.22785 -s,@build_os@,$build_os,;t t
13.22786 -s,@host@,$host,;t t
13.22787 -s,@host_cpu@,$host_cpu,;t t
13.22788 -s,@host_vendor@,$host_vendor,;t t
13.22789 -s,@host_os@,$host_os,;t t
13.22790 -s,@target@,$target,;t t
13.22791 -s,@target_cpu@,$target_cpu,;t t
13.22792 -s,@target_vendor@,$target_vendor,;t t
13.22793 -s,@target_os@,$target_os,;t t
13.22794 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13.22795 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13.22796 -s,@MAINT@,$MAINT,;t t
13.22797 -s,@GST_PLUGINS_VERSION@,$GST_PLUGINS_VERSION,;t t
13.22798 -s,@GST_PLUGINS_VERSION_RELEASE@,$GST_PLUGINS_VERSION_RELEASE,;t t
13.22799 -s,@GST_PLUGINS_VERSION_MAJOR@,$GST_PLUGINS_VERSION_MAJOR,;t t
13.22800 -s,@GST_PLUGINS_VERSION_MINOR@,$GST_PLUGINS_VERSION_MINOR,;t t
13.22801 -s,@GST_PLUGINS_VERSION_MICRO@,$GST_PLUGINS_VERSION_MICRO,;t t
13.22802 -s,@GST_PLUGINS_VERSION_NANO@,$GST_PLUGINS_VERSION_NANO,;t t
13.22803 -s,@PACKAGE@,$PACKAGE,;t t
13.22804 -s,@VERSION@,$VERSION,;t t
13.22805 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13.22806 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13.22807 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13.22808 -s,@CYGPATH_W@,$CYGPATH_W,;t t
13.22809 -s,@ACLOCAL@,$ACLOCAL,;t t
13.22810 -s,@AUTOCONF@,$AUTOCONF,;t t
13.22811 -s,@AUTOMAKE@,$AUTOMAKE,;t t
13.22812 -s,@AUTOHEADER@,$AUTOHEADER,;t t
13.22813 -s,@MAKEINFO@,$MAKEINFO,;t t
13.22814 -s,@AMTAR@,$AMTAR,;t t
13.22815 -s,@install_sh@,$install_sh,;t t
13.22816 -s,@STRIP@,$STRIP,;t t
13.22817 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13.22818 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13.22819 -s,@mkdir_p@,$mkdir_p,;t t
13.22820 -s,@AWK@,$AWK,;t t
13.22821 -s,@SET_MAKE@,$SET_MAKE,;t t
13.22822 -s,@am__leading_dot@,$am__leading_dot,;t t
13.22823 -s,@CC@,$CC,;t t
13.22824 -s,@CFLAGS@,$CFLAGS,;t t
13.22825 -s,@LDFLAGS@,$LDFLAGS,;t t
13.22826 -s,@CPPFLAGS@,$CPPFLAGS,;t t
13.22827 -s,@ac_ct_CC@,$ac_ct_CC,;t t
13.22828 -s,@EXEEXT@,$EXEEXT,;t t
13.22829 -s,@OBJEXT@,$OBJEXT,;t t
13.22830 -s,@DEPDIR@,$DEPDIR,;t t
13.22831 -s,@am__include@,$am__include,;t t
13.22832 -s,@am__quote@,$am__quote,;t t
13.22833 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13.22834 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13.22835 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13.22836 -s,@CCDEPMODE@,$CCDEPMODE,;t t
13.22837 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13.22838 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13.22839 -s,@EGREP@,$EGREP,;t t
13.22840 -s,@LN_S@,$LN_S,;t t
13.22841 -s,@ECHO@,$ECHO,;t t
13.22842 -s,@AR@,$AR,;t t
13.22843 -s,@ac_ct_AR@,$ac_ct_AR,;t t
13.22844 -s,@RANLIB@,$RANLIB,;t t
13.22845 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13.22846 -s,@CPP@,$CPP,;t t
13.22847 -s,@CXX@,$CXX,;t t
13.22848 -s,@CXXFLAGS@,$CXXFLAGS,;t t
13.22849 -s,@ac_ct_CXX@,$ac_ct_CXX,;t t
13.22850 -s,@CXXDEPMODE@,$CXXDEPMODE,;t t
13.22851 -s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
13.22852 -s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
13.22853 -s,@CXXCPP@,$CXXCPP,;t t
13.22854 -s,@F77@,$F77,;t t
13.22855 -s,@FFLAGS@,$FFLAGS,;t t
13.22856 -s,@ac_ct_F77@,$ac_ct_F77,;t t
13.22857 -s,@LIBTOOL@,$LIBTOOL,;t t
13.22858 -s,@ACLOCAL_AMFLAGS@,$ACLOCAL_AMFLAGS,;t t
13.22859 -s,@CCAS@,$CCAS,;t t
13.22860 -s,@CCASFLAGS@,$CCASFLAGS,;t t
13.22861 -s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
13.22862 -s,@HAVE_CXX@,$HAVE_CXX,;t t
13.22863 -s,@HAVE_PKGCONFIG@,$HAVE_PKGCONFIG,;t t
13.22864 -s,@PKG_CONFIG@,$PKG_CONFIG,;t t
13.22865 -s,@GST_CFLAGS@,$GST_CFLAGS,;t t
13.22866 -s,@GST_LIBS@,$GST_LIBS,;t t
13.22867 -s,@GST_MAJORMINOR@,$GST_MAJORMINOR,;t t
13.22868 -s,@GST_BASE_CFLAGS@,$GST_BASE_CFLAGS,;t t
13.22869 -s,@GST_BASE_LIBS@,$GST_BASE_LIBS,;t t
13.22870 -s,@GST_PLUGINS_BASE_CFLAGS@,$GST_PLUGINS_BASE_CFLAGS,;t t
13.22871 -s,@GST_PLUGINS_BASE_LIBS@,$GST_PLUGINS_BASE_LIBS,;t t
13.22872 -s,@plugindir@,$plugindir,;t t
13.22873 -s,@GST_PLUGIN_LDFLAGS@,$GST_PLUGIN_LDFLAGS,;t t
13.22874 -s,@LIBOBJS@,$LIBOBJS,;t t
13.22875 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13.22876 -CEOF
13.22877 -
13.22878 -_ACEOF
13.22879 -
13.22880 - cat >>$CONFIG_STATUS <<\_ACEOF
13.22881 - # Split the substitutions into bite-sized pieces for seds with
13.22882 - # small command number limits, like on Digital OSF/1 and HP-UX.
13.22883 - ac_max_sed_lines=48
13.22884 - ac_sed_frag=1 # Number of current file.
13.22885 - ac_beg=1 # First line for current file.
13.22886 - ac_end=$ac_max_sed_lines # Line after last line for current file.
13.22887 - ac_more_lines=:
13.22888 - ac_sed_cmds=
13.22889 - while $ac_more_lines; do
13.22890 - if test $ac_beg -gt 1; then
13.22891 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13.22892 - else
13.22893 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13.22894 - fi
13.22895 - if test ! -s $tmp/subs.frag; then
13.22896 - ac_more_lines=false
13.22897 - else
13.22898 - # The purpose of the label and of the branching condition is to
13.22899 - # speed up the sed processing (if there are no `@' at all, there
13.22900 - # is no need to browse any of the substitutions).
13.22901 - # These are the two extra sed commands mentioned above.
13.22902 - (echo ':t
13.22903 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
13.22904 - if test -z "$ac_sed_cmds"; then
13.22905 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
13.22906 - else
13.22907 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13.22908 - fi
13.22909 - ac_sed_frag=`expr $ac_sed_frag + 1`
13.22910 - ac_beg=$ac_end
13.22911 - ac_end=`expr $ac_end + $ac_max_sed_lines`
13.22912 - fi
13.22913 - done
13.22914 - if test -z "$ac_sed_cmds"; then
13.22915 - ac_sed_cmds=cat
13.22916 - fi
13.22917 -fi # test -n "$CONFIG_FILES"
13.22918 -
13.22919 -_ACEOF
13.22920 -cat >>$CONFIG_STATUS <<\_ACEOF
13.22921 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
13.22922 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13.22923 - case $ac_file in
13.22924 - - | *:- | *:-:* ) # input from stdin
13.22925 - cat >$tmp/stdin
13.22926 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13.22927 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13.22928 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13.22929 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13.22930 - * ) ac_file_in=$ac_file.in ;;
13.22931 - esac
13.22932 -
13.22933 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13.22934 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13.22935 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13.22936 - X"$ac_file" : 'X\(//\)[^/]' \| \
13.22937 - X"$ac_file" : 'X\(//\)$' \| \
13.22938 - X"$ac_file" : 'X\(/\)' \| \
13.22939 - . : '\(.\)' 2>/dev/null ||
13.22940 -echo X"$ac_file" |
13.22941 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13.22942 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13.22943 - /^X\(\/\/\)$/{ s//\1/; q; }
13.22944 - /^X\(\/\).*/{ s//\1/; q; }
13.22945 - s/.*/./; q'`
13.22946 - { if $as_mkdir_p; then
13.22947 - mkdir -p "$ac_dir"
13.22948 - else
13.22949 - as_dir="$ac_dir"
13.22950 - as_dirs=
13.22951 - while test ! -d "$as_dir"; do
13.22952 - as_dirs="$as_dir $as_dirs"
13.22953 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
13.22954 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13.22955 - X"$as_dir" : 'X\(//\)[^/]' \| \
13.22956 - X"$as_dir" : 'X\(//\)$' \| \
13.22957 - X"$as_dir" : 'X\(/\)' \| \
13.22958 - . : '\(.\)' 2>/dev/null ||
13.22959 -echo X"$as_dir" |
13.22960 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13.22961 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13.22962 - /^X\(\/\/\)$/{ s//\1/; q; }
13.22963 - /^X\(\/\).*/{ s//\1/; q; }
13.22964 - s/.*/./; q'`
13.22965 - done
13.22966 - test ! -n "$as_dirs" || mkdir $as_dirs
13.22967 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13.22968 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13.22969 - { (exit 1); exit 1; }; }; }
13.22970 -
13.22971 - ac_builddir=.
13.22972 -
13.22973 -if test "$ac_dir" != .; then
13.22974 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13.22975 - # A "../" for each directory in $ac_dir_suffix.
13.22976 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13.22977 -else
13.22978 - ac_dir_suffix= ac_top_builddir=
13.22979 -fi
13.22980 -
13.22981 -case $srcdir in
13.22982 - .) # No --srcdir option. We are building in place.
13.22983 - ac_srcdir=.
13.22984 - if test -z "$ac_top_builddir"; then
13.22985 - ac_top_srcdir=.
13.22986 - else
13.22987 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13.22988 - fi ;;
13.22989 - [\\/]* | ?:[\\/]* ) # Absolute path.
13.22990 - ac_srcdir=$srcdir$ac_dir_suffix;
13.22991 - ac_top_srcdir=$srcdir ;;
13.22992 - *) # Relative path.
13.22993 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13.22994 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
13.22995 -esac
13.22996 -
13.22997 -# Do not use `cd foo && pwd` to compute absolute paths, because
13.22998 -# the directories may not exist.
13.22999 -case `pwd` in
13.23000 -.) ac_abs_builddir="$ac_dir";;
13.23001 -*)
13.23002 - case "$ac_dir" in
13.23003 - .) ac_abs_builddir=`pwd`;;
13.23004 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13.23005 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
13.23006 - esac;;
13.23007 -esac
13.23008 -case $ac_abs_builddir in
13.23009 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
13.23010 -*)
13.23011 - case ${ac_top_builddir}. in
13.23012 - .) ac_abs_top_builddir=$ac_abs_builddir;;
13.23013 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13.23014 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13.23015 - esac;;
13.23016 -esac
13.23017 -case $ac_abs_builddir in
13.23018 -.) ac_abs_srcdir=$ac_srcdir;;
13.23019 -*)
13.23020 - case $ac_srcdir in
13.23021 - .) ac_abs_srcdir=$ac_abs_builddir;;
13.23022 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13.23023 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13.23024 - esac;;
13.23025 -esac
13.23026 -case $ac_abs_builddir in
13.23027 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
13.23028 -*)
13.23029 - case $ac_top_srcdir in
13.23030 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
13.23031 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13.23032 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13.23033 - esac;;
13.23034 -esac
13.23035 -
13.23036 -
13.23037 - case $INSTALL in
13.23038 - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13.23039 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13.23040 - esac
13.23041 -
13.23042 - # Let's still pretend it is `configure' which instantiates (i.e., don't
13.23043 - # use $as_me), people would be surprised to read:
13.23044 - # /* config.h. Generated by config.status. */
13.23045 - if test x"$ac_file" = x-; then
13.23046 - configure_input=
13.23047 - else
13.23048 - configure_input="$ac_file. "
13.23049 - fi
13.23050 - configure_input=$configure_input"Generated from `echo $ac_file_in |
13.23051 - sed 's,.*/,,'` by configure."
13.23052 -
13.23053 - # First look for the input files in the build tree, otherwise in the
13.23054 - # src tree.
13.23055 - ac_file_inputs=`IFS=:
13.23056 - for f in $ac_file_in; do
13.23057 - case $f in
13.23058 - -) echo $tmp/stdin ;;
13.23059 - [\\/$]*)
13.23060 - # Absolute (can't be DOS-style, as IFS=:)
13.23061 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13.23062 -echo "$as_me: error: cannot find input file: $f" >&2;}
13.23063 - { (exit 1); exit 1; }; }
13.23064 - echo "$f";;
13.23065 - *) # Relative
13.23066 - if test -f "$f"; then
13.23067 - # Build tree
13.23068 - echo "$f"
13.23069 - elif test -f "$srcdir/$f"; then
13.23070 - # Source tree
13.23071 - echo "$srcdir/$f"
13.23072 - else
13.23073 - # /dev/null tree
13.23074 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13.23075 -echo "$as_me: error: cannot find input file: $f" >&2;}
13.23076 - { (exit 1); exit 1; }; }
13.23077 - fi;;
13.23078 - esac
13.23079 - done` || { (exit 1); exit 1; }
13.23080 -
13.23081 - if test x"$ac_file" != x-; then
13.23082 - { echo "$as_me:$LINENO: creating $ac_file" >&5
13.23083 -echo "$as_me: creating $ac_file" >&6;}
13.23084 - rm -f "$ac_file"
13.23085 - fi
13.23086 -_ACEOF
13.23087 -cat >>$CONFIG_STATUS <<_ACEOF
13.23088 - sed "$ac_vpsub
13.23089 -$extrasub
13.23090 -_ACEOF
13.23091 -cat >>$CONFIG_STATUS <<\_ACEOF
13.23092 -:t
13.23093 -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13.23094 -s,@configure_input@,$configure_input,;t t
13.23095 -s,@srcdir@,$ac_srcdir,;t t
13.23096 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
13.23097 -s,@top_srcdir@,$ac_top_srcdir,;t t
13.23098 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
13.23099 -s,@builddir@,$ac_builddir,;t t
13.23100 -s,@abs_builddir@,$ac_abs_builddir,;t t
13.23101 -s,@top_builddir@,$ac_top_builddir,;t t
13.23102 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
13.23103 -s,@INSTALL@,$ac_INSTALL,;t t
13.23104 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13.23105 - rm -f $tmp/stdin
13.23106 - if test x"$ac_file" != x-; then
13.23107 - mv $tmp/out $ac_file
13.23108 - else
13.23109 - cat $tmp/out
13.23110 - rm -f $tmp/out
13.23111 - fi
13.23112 -
13.23113 -done
13.23114 -_ACEOF
13.23115 -cat >>$CONFIG_STATUS <<\_ACEOF
13.23116 -
13.23117 -#
13.23118 -# CONFIG_HEADER section.
13.23119 -#
13.23120 -
13.23121 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13.23122 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
13.23123 -#
13.23124 -# ac_d sets the value in "#define NAME VALUE" lines.
13.23125 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13.23126 -ac_dB='[ ].*$,\1#\2'
13.23127 -ac_dC=' '
13.23128 -ac_dD=',;t'
13.23129 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13.23130 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13.23131 -ac_uB='$,\1#\2define\3'
13.23132 -ac_uC=' '
13.23133 -ac_uD=',;t'
13.23134 -
13.23135 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
13.23136 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13.23137 - case $ac_file in
13.23138 - - | *:- | *:-:* ) # input from stdin
13.23139 - cat >$tmp/stdin
13.23140 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13.23141 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13.23142 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13.23143 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13.23144 - * ) ac_file_in=$ac_file.in ;;
13.23145 - esac
13.23146 -
13.23147 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
13.23148 -echo "$as_me: creating $ac_file" >&6;}
13.23149 -
13.23150 - # First look for the input files in the build tree, otherwise in the
13.23151 - # src tree.
13.23152 - ac_file_inputs=`IFS=:
13.23153 - for f in $ac_file_in; do
13.23154 - case $f in
13.23155 - -) echo $tmp/stdin ;;
13.23156 - [\\/$]*)
13.23157 - # Absolute (can't be DOS-style, as IFS=:)
13.23158 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13.23159 -echo "$as_me: error: cannot find input file: $f" >&2;}
13.23160 - { (exit 1); exit 1; }; }
13.23161 - # Do quote $f, to prevent DOS paths from being IFS'd.
13.23162 - echo "$f";;
13.23163 - *) # Relative
13.23164 - if test -f "$f"; then
13.23165 - # Build tree
13.23166 - echo "$f"
13.23167 - elif test -f "$srcdir/$f"; then
13.23168 - # Source tree
13.23169 - echo "$srcdir/$f"
13.23170 - else
13.23171 - # /dev/null tree
13.23172 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13.23173 -echo "$as_me: error: cannot find input file: $f" >&2;}
13.23174 - { (exit 1); exit 1; }; }
13.23175 - fi;;
13.23176 - esac
13.23177 - done` || { (exit 1); exit 1; }
13.23178 - # Remove the trailing spaces.
13.23179 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13.23180 -
13.23181 -_ACEOF
13.23182 -
13.23183 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
13.23184 -# `conftest.undefs', that substitutes the proper values into
13.23185 -# config.h.in to produce config.h. The first handles `#define'
13.23186 -# templates, and the second `#undef' templates.
13.23187 -# And first: Protect against being on the right side of a sed subst in
13.23188 -# config.status. Protect against being in an unquoted here document
13.23189 -# in config.status.
13.23190 -rm -f conftest.defines conftest.undefs
13.23191 -# Using a here document instead of a string reduces the quoting nightmare.
13.23192 -# Putting comments in sed scripts is not portable.
13.23193 -#
13.23194 -# `end' is used to avoid that the second main sed command (meant for
13.23195 -# 0-ary CPP macros) applies to n-ary macro definitions.
13.23196 -# See the Autoconf documentation for `clear'.
13.23197 -cat >confdef2sed.sed <<\_ACEOF
13.23198 -s/[\\&,]/\\&/g
13.23199 -s,[\\$`],\\&,g
13.23200 -t clear
13.23201 -: clear
13.23202 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13.23203 -t end
13.23204 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13.23205 -: end
13.23206 -_ACEOF
13.23207 -# If some macros were called several times there might be several times
13.23208 -# the same #defines, which is useless. Nevertheless, we may not want to
13.23209 -# sort them, since we want the *last* AC-DEFINE to be honored.
13.23210 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13.23211 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13.23212 -rm -f confdef2sed.sed
13.23213 -
13.23214 -# This sed command replaces #undef with comments. This is necessary, for
13.23215 -# example, in the case of _POSIX_SOURCE, which is predefined and required
13.23216 -# on some systems where configure will not decide to define it.
13.23217 -cat >>conftest.undefs <<\_ACEOF
13.23218 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13.23219 -_ACEOF
13.23220 -
13.23221 -# Break up conftest.defines because some shells have a limit on the size
13.23222 -# of here documents, and old seds have small limits too (100 cmds).
13.23223 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13.23224 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13.23225 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13.23226 -echo ' :' >>$CONFIG_STATUS
13.23227 -rm -f conftest.tail
13.23228 -while grep . conftest.defines >/dev/null
13.23229 -do
13.23230 - # Write a limited-size here document to $tmp/defines.sed.
13.23231 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13.23232 - # Speed up: don't consider the non `#define' lines.
13.23233 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13.23234 - # Work around the forget-to-reset-the-flag bug.
13.23235 - echo 't clr' >>$CONFIG_STATUS
13.23236 - echo ': clr' >>$CONFIG_STATUS
13.23237 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
13.23238 - echo 'CEOF
13.23239 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
13.23240 - rm -f $tmp/in
13.23241 - mv $tmp/out $tmp/in
13.23242 -' >>$CONFIG_STATUS
13.23243 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
13.23244 - rm -f conftest.defines
13.23245 - mv conftest.tail conftest.defines
13.23246 -done
13.23247 -rm -f conftest.defines
13.23248 -echo ' fi # grep' >>$CONFIG_STATUS
13.23249 -echo >>$CONFIG_STATUS
13.23250 -
13.23251 -# Break up conftest.undefs because some shells have a limit on the size
13.23252 -# of here documents, and old seds have small limits too (100 cmds).
13.23253 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13.23254 -rm -f conftest.tail
13.23255 -while grep . conftest.undefs >/dev/null
13.23256 -do
13.23257 - # Write a limited-size here document to $tmp/undefs.sed.
13.23258 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13.23259 - # Speed up: don't consider the non `#undef'
13.23260 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13.23261 - # Work around the forget-to-reset-the-flag bug.
13.23262 - echo 't clr' >>$CONFIG_STATUS
13.23263 - echo ': clr' >>$CONFIG_STATUS
13.23264 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13.23265 - echo 'CEOF
13.23266 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13.23267 - rm -f $tmp/in
13.23268 - mv $tmp/out $tmp/in
13.23269 -' >>$CONFIG_STATUS
13.23270 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13.23271 - rm -f conftest.undefs
13.23272 - mv conftest.tail conftest.undefs
13.23273 -done
13.23274 -rm -f conftest.undefs
13.23275 -
13.23276 -cat >>$CONFIG_STATUS <<\_ACEOF
13.23277 - # Let's still pretend it is `configure' which instantiates (i.e., don't
13.23278 - # use $as_me), people would be surprised to read:
13.23279 - # /* config.h. Generated by config.status. */
13.23280 - if test x"$ac_file" = x-; then
13.23281 - echo "/* Generated by configure. */" >$tmp/config.h
13.23282 - else
13.23283 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13.23284 - fi
13.23285 - cat $tmp/in >>$tmp/config.h
13.23286 - rm -f $tmp/in
13.23287 - if test x"$ac_file" != x-; then
13.23288 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
13.23289 - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13.23290 -echo "$as_me: $ac_file is unchanged" >&6;}
13.23291 - else
13.23292 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13.23293 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13.23294 - X"$ac_file" : 'X\(//\)[^/]' \| \
13.23295 - X"$ac_file" : 'X\(//\)$' \| \
13.23296 - X"$ac_file" : 'X\(/\)' \| \
13.23297 - . : '\(.\)' 2>/dev/null ||
13.23298 -echo X"$ac_file" |
13.23299 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13.23300 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13.23301 - /^X\(\/\/\)$/{ s//\1/; q; }
13.23302 - /^X\(\/\).*/{ s//\1/; q; }
13.23303 - s/.*/./; q'`
13.23304 - { if $as_mkdir_p; then
13.23305 - mkdir -p "$ac_dir"
13.23306 - else
13.23307 - as_dir="$ac_dir"
13.23308 - as_dirs=
13.23309 - while test ! -d "$as_dir"; do
13.23310 - as_dirs="$as_dir $as_dirs"
13.23311 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
13.23312 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13.23313 - X"$as_dir" : 'X\(//\)[^/]' \| \
13.23314 - X"$as_dir" : 'X\(//\)$' \| \
13.23315 - X"$as_dir" : 'X\(/\)' \| \
13.23316 - . : '\(.\)' 2>/dev/null ||
13.23317 -echo X"$as_dir" |
13.23318 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13.23319 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13.23320 - /^X\(\/\/\)$/{ s//\1/; q; }
13.23321 - /^X\(\/\).*/{ s//\1/; q; }
13.23322 - s/.*/./; q'`
13.23323 - done
13.23324 - test ! -n "$as_dirs" || mkdir $as_dirs
13.23325 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13.23326 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13.23327 - { (exit 1); exit 1; }; }; }
13.23328 -
13.23329 - rm -f $ac_file
13.23330 - mv $tmp/config.h $ac_file
13.23331 - fi
13.23332 - else
13.23333 - cat $tmp/config.h
13.23334 - rm -f $tmp/config.h
13.23335 - fi
13.23336 -# Compute $ac_file's index in $config_headers.
13.23337 -_am_stamp_count=1
13.23338 -for _am_header in $config_headers :; do
13.23339 - case $_am_header in
13.23340 - $ac_file | $ac_file:* )
13.23341 - break ;;
13.23342 - * )
13.23343 - _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13.23344 - esac
13.23345 -done
13.23346 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13.23347 -$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13.23348 - X$ac_file : 'X\(//\)[^/]' \| \
13.23349 - X$ac_file : 'X\(//\)$' \| \
13.23350 - X$ac_file : 'X\(/\)' \| \
13.23351 - . : '\(.\)' 2>/dev/null ||
13.23352 -echo X$ac_file |
13.23353 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13.23354 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13.23355 - /^X\(\/\/\)$/{ s//\1/; q; }
13.23356 - /^X\(\/\).*/{ s//\1/; q; }
13.23357 - s/.*/./; q'`/stamp-h$_am_stamp_count
13.23358 -done
13.23359 -_ACEOF
13.23360 -cat >>$CONFIG_STATUS <<\_ACEOF
13.23361 -
13.23362 -#
13.23363 -# CONFIG_COMMANDS section.
13.23364 -#
13.23365 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
13.23366 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
13.23367 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
13.23368 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
13.23369 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13.23370 - X"$ac_dest" : 'X\(//\)[^/]' \| \
13.23371 - X"$ac_dest" : 'X\(//\)$' \| \
13.23372 - X"$ac_dest" : 'X\(/\)' \| \
13.23373 - . : '\(.\)' 2>/dev/null ||
13.23374 -echo X"$ac_dest" |
13.23375 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13.23376 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13.23377 - /^X\(\/\/\)$/{ s//\1/; q; }
13.23378 - /^X\(\/\).*/{ s//\1/; q; }
13.23379 - s/.*/./; q'`
13.23380 - { if $as_mkdir_p; then
13.23381 - mkdir -p "$ac_dir"
13.23382 - else
13.23383 - as_dir="$ac_dir"
13.23384 - as_dirs=
13.23385 - while test ! -d "$as_dir"; do
13.23386 - as_dirs="$as_dir $as_dirs"
13.23387 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
13.23388 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13.23389 - X"$as_dir" : 'X\(//\)[^/]' \| \
13.23390 - X"$as_dir" : 'X\(//\)$' \| \
13.23391 - X"$as_dir" : 'X\(/\)' \| \
13.23392 - . : '\(.\)' 2>/dev/null ||
13.23393 -echo X"$as_dir" |
13.23394 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13.23395 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13.23396 - /^X\(\/\/\)$/{ s//\1/; q; }
13.23397 - /^X\(\/\).*/{ s//\1/; q; }
13.23398 - s/.*/./; q'`
13.23399 - done
13.23400 - test ! -n "$as_dirs" || mkdir $as_dirs
13.23401 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13.23402 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13.23403 - { (exit 1); exit 1; }; }; }
13.23404 -
13.23405 - ac_builddir=.
13.23406 -
13.23407 -if test "$ac_dir" != .; then
13.23408 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13.23409 - # A "../" for each directory in $ac_dir_suffix.
13.23410 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13.23411 -else
13.23412 - ac_dir_suffix= ac_top_builddir=
13.23413 -fi
13.23414 -
13.23415 -case $srcdir in
13.23416 - .) # No --srcdir option. We are building in place.
13.23417 - ac_srcdir=.
13.23418 - if test -z "$ac_top_builddir"; then
13.23419 - ac_top_srcdir=.
13.23420 - else
13.23421 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13.23422 - fi ;;
13.23423 - [\\/]* | ?:[\\/]* ) # Absolute path.
13.23424 - ac_srcdir=$srcdir$ac_dir_suffix;
13.23425 - ac_top_srcdir=$srcdir ;;
13.23426 - *) # Relative path.
13.23427 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13.23428 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
13.23429 -esac
13.23430 -
13.23431 -# Do not use `cd foo && pwd` to compute absolute paths, because
13.23432 -# the directories may not exist.
13.23433 -case `pwd` in
13.23434 -.) ac_abs_builddir="$ac_dir";;
13.23435 -*)
13.23436 - case "$ac_dir" in
13.23437 - .) ac_abs_builddir=`pwd`;;
13.23438 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13.23439 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
13.23440 - esac;;
13.23441 -esac
13.23442 -case $ac_abs_builddir in
13.23443 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
13.23444 -*)
13.23445 - case ${ac_top_builddir}. in
13.23446 - .) ac_abs_top_builddir=$ac_abs_builddir;;
13.23447 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13.23448 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13.23449 - esac;;
13.23450 -esac
13.23451 -case $ac_abs_builddir in
13.23452 -.) ac_abs_srcdir=$ac_srcdir;;
13.23453 -*)
13.23454 - case $ac_srcdir in
13.23455 - .) ac_abs_srcdir=$ac_abs_builddir;;
13.23456 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13.23457 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13.23458 - esac;;
13.23459 -esac
13.23460 -case $ac_abs_builddir in
13.23461 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
13.23462 -*)
13.23463 - case $ac_top_srcdir in
13.23464 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
13.23465 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13.23466 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13.23467 - esac;;
13.23468 -esac
13.23469 -
13.23470 -
13.23471 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13.23472 -echo "$as_me: executing $ac_dest commands" >&6;}
13.23473 - case $ac_dest in
13.23474 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
13.23475 - # Strip MF so we end up with the name of the file.
13.23476 - mf=`echo "$mf" | sed -e 's/:.*$//'`
13.23477 - # Check whether this is an Automake generated Makefile or not.
13.23478 - # We used to match only the files named `Makefile.in', but
13.23479 - # some people rename them; so instead we look at the file content.
13.23480 - # Grep'ing the first line is not enough: some people post-process
13.23481 - # each Makefile.in and add a new line on top of each file to say so.
13.23482 - # So let's grep whole file.
13.23483 - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
13.23484 - dirpart=`(dirname "$mf") 2>/dev/null ||
13.23485 -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13.23486 - X"$mf" : 'X\(//\)[^/]' \| \
13.23487 - X"$mf" : 'X\(//\)$' \| \
13.23488 - X"$mf" : 'X\(/\)' \| \
13.23489 - . : '\(.\)' 2>/dev/null ||
13.23490 -echo X"$mf" |
13.23491 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13.23492 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13.23493 - /^X\(\/\/\)$/{ s//\1/; q; }
13.23494 - /^X\(\/\).*/{ s//\1/; q; }
13.23495 - s/.*/./; q'`
13.23496 - else
13.23497 - continue
13.23498 - fi
13.23499 - grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
13.23500 - # Extract the definition of DEP_FILES from the Makefile without
13.23501 - # running `make'.
13.23502 - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13.23503 - test -z "$DEPDIR" && continue
13.23504 - # When using ansi2knr, U may be empty or an underscore; expand it
13.23505 - U=`sed -n 's/^U = //p' < "$mf"`
13.23506 - test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
13.23507 - # We invoke sed twice because it is the simplest approach to
13.23508 - # changing $(DEPDIR) to its actual value in the expansion.
13.23509 - for file in `sed -n '
13.23510 - /^DEP_FILES = .*\\\\$/ {
13.23511 - s/^DEP_FILES = //
13.23512 - :loop
13.23513 - s/\\\\$//
13.23514 - p
13.23515 - n
13.23516 - /\\\\$/ b loop
13.23517 - p
13.23518 - }
13.23519 - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
13.23520 - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13.23521 - # Make sure the directory exists.
13.23522 - test -f "$dirpart/$file" && continue
13.23523 - fdir=`(dirname "$file") 2>/dev/null ||
13.23524 -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13.23525 - X"$file" : 'X\(//\)[^/]' \| \
13.23526 - X"$file" : 'X\(//\)$' \| \
13.23527 - X"$file" : 'X\(/\)' \| \
13.23528 - . : '\(.\)' 2>/dev/null ||
13.23529 -echo X"$file" |
13.23530 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13.23531 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13.23532 - /^X\(\/\/\)$/{ s//\1/; q; }
13.23533 - /^X\(\/\).*/{ s//\1/; q; }
13.23534 - s/.*/./; q'`
13.23535 - { if $as_mkdir_p; then
13.23536 - mkdir -p $dirpart/$fdir
13.23537 - else
13.23538 - as_dir=$dirpart/$fdir
13.23539 - as_dirs=
13.23540 - while test ! -d "$as_dir"; do
13.23541 - as_dirs="$as_dir $as_dirs"
13.23542 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
13.23543 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13.23544 - X"$as_dir" : 'X\(//\)[^/]' \| \
13.23545 - X"$as_dir" : 'X\(//\)$' \| \
13.23546 - X"$as_dir" : 'X\(/\)' \| \
13.23547 - . : '\(.\)' 2>/dev/null ||
13.23548 -echo X"$as_dir" |
13.23549 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13.23550 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13.23551 - /^X\(\/\/\)$/{ s//\1/; q; }
13.23552 - /^X\(\/\).*/{ s//\1/; q; }
13.23553 - s/.*/./; q'`
13.23554 - done
13.23555 - test ! -n "$as_dirs" || mkdir $as_dirs
13.23556 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13.23557 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13.23558 - { (exit 1); exit 1; }; }; }
13.23559 -
13.23560 - # echo "creating $dirpart/$file"
13.23561 - echo '# dummy' > "$dirpart/$file"
13.23562 - done
13.23563 -done
13.23564 - ;;
13.23565 - esac
13.23566 -done
13.23567 -_ACEOF
13.23568 -
13.23569 -cat >>$CONFIG_STATUS <<\_ACEOF
13.23570 -
13.23571 -{ (exit 0); exit 0; }
13.23572 -_ACEOF
13.23573 -chmod +x $CONFIG_STATUS
13.23574 -ac_clean_files=$ac_clean_files_save
13.23575 -
13.23576 -
13.23577 -# configure is writing to config.log, and then calls config.status.
13.23578 -# config.status does its own redirection, appending to config.log.
13.23579 -# Unfortunately, on DOS this fails, as config.log is still kept open
13.23580 -# by configure, so config.status won't be able to write to it; its
13.23581 -# output is simply discarded. So we exec the FD to /dev/null,
13.23582 -# effectively closing config.log, so it can be properly (re)opened and
13.23583 -# appended to by config.status. When coming back to configure, we
13.23584 -# need to make the FD available again.
13.23585 -if test "$no_create" != yes; then
13.23586 - ac_cs_success=:
13.23587 - ac_config_status_args=
13.23588 - test "$silent" = yes &&
13.23589 - ac_config_status_args="$ac_config_status_args --quiet"
13.23590 - exec 5>/dev/null
13.23591 - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13.23592 - exec 5>>config.log
13.23593 - # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13.23594 - # would make configure fail if this is the last instruction.
13.23595 - $ac_cs_success || { (exit 1); exit 1; }
13.23596 -fi
13.23597 -
13.23598 -
14.1 --- a/gst-plugins-nuvdemux/configure.ac Thu Oct 26 18:55:14 2006 +0100
14.2 +++ b/gst-plugins-nuvdemux/configure.ac Fri Oct 27 00:11:21 2006 +0100
14.3 @@ -81,6 +81,9 @@
14.4 GST_CFLAGS="$GST_CFLAGS -g"
14.5 fi
14.6
14.7 +dnl added because of the i18n headers
14.8 +GST_CFLAGS="-I\$(top_builddir)/gst-libs $GST_CFLAGS"
14.9 +
14.10 dnl make GST_CFLAGS and GST_LIBS available
14.11 AC_SUBST(GST_CFLAGS)
14.12 AC_SUBST(GST_LIBS)
15.1 --- a/gst-plugins-nuvdemux/depcomp Thu Oct 26 18:55:14 2006 +0100
15.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
15.3 @@ -1,526 +0,0 @@
15.4 -#! /bin/sh
15.5 -# depcomp - compile a program generating dependencies as side-effects
15.6 -
15.7 -scriptversion=2004-04-25.13
15.8 -
15.9 -# Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
15.10 -
15.11 -# This program is free software; you can redistribute it and/or modify
15.12 -# it under the terms of the GNU General Public License as published by
15.13 -# the Free Software Foundation; either version 2, or (at your option)
15.14 -# any later version.
15.15 -
15.16 -# This program is distributed in the hope that it will be useful,
15.17 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
15.18 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15.19 -# GNU General Public License for more details.
15.20 -
15.21 -# You should have received a copy of the GNU General Public License
15.22 -# along with this program; if not, write to the Free Software
15.23 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
15.24 -# 02111-1307, USA.
15.25 -
15.26 -# As a special exception to the GNU General Public License, if you
15.27 -# distribute this file as part of a program that contains a
15.28 -# configuration script generated by Autoconf, you may include it under
15.29 -# the same distribution terms that you use for the rest of that program.
15.30 -
15.31 -# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
15.32 -
15.33 -case $1 in
15.34 - '')
15.35 - echo "$0: No command. Try \`$0 --help' for more information." 1>&2
15.36 - exit 1;
15.37 - ;;
15.38 - -h | --h*)
15.39 - cat <<\EOF
15.40 -Usage: depcomp [--help] [--version] PROGRAM [ARGS]
15.41 -
15.42 -Run PROGRAMS ARGS to compile a file, generating dependencies
15.43 -as side-effects.
15.44 -
15.45 -Environment variables:
15.46 - depmode Dependency tracking mode.
15.47 - source Source file read by `PROGRAMS ARGS'.
15.48 - object Object file output by `PROGRAMS ARGS'.
15.49 - depfile Dependency file to output.
15.50 - tmpdepfile Temporary file to use when outputing dependencies.
15.51 - libtool Whether libtool is used (yes/no).
15.52 -
15.53 -Report bugs to <bug-automake@gnu.org>.
15.54 -EOF
15.55 - exit 0
15.56 - ;;
15.57 - -v | --v*)
15.58 - echo "depcomp $scriptversion"
15.59 - exit 0
15.60 - ;;
15.61 -esac
15.62 -
15.63 -if test -z "$depmode" || test -z "$source" || test -z "$object"; then
15.64 - echo "depcomp: Variables source, object and depmode must be set" 1>&2
15.65 - exit 1
15.66 -fi
15.67 -# `libtool' can also be set to `yes' or `no'.
15.68 -
15.69 -if test -z "$depfile"; then
15.70 - base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
15.71 - dir=`echo "$object" | sed 's,/.*$,/,'`
15.72 - if test "$dir" = "$object"; then
15.73 - dir=
15.74 - fi
15.75 - # FIXME: should be _deps on DOS.
15.76 - depfile="$dir.deps/$base"
15.77 -fi
15.78 -
15.79 -tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
15.80 -
15.81 -rm -f "$tmpdepfile"
15.82 -
15.83 -# Some modes work just like other modes, but use different flags. We
15.84 -# parameterize here, but still list the modes in the big case below,
15.85 -# to make depend.m4 easier to write. Note that we *cannot* use a case
15.86 -# here, because this file can only contain one case statement.
15.87 -if test "$depmode" = hp; then
15.88 - # HP compiler uses -M and no extra arg.
15.89 - gccflag=-M
15.90 - depmode=gcc
15.91 -fi
15.92 -
15.93 -if test "$depmode" = dashXmstdout; then
15.94 - # This is just like dashmstdout with a different argument.
15.95 - dashmflag=-xM
15.96 - depmode=dashmstdout
15.97 -fi
15.98 -
15.99 -case "$depmode" in
15.100 -gcc3)
15.101 -## gcc 3 implements dependency tracking that does exactly what
15.102 -## we want. Yay! Note: for some reason libtool 1.4 doesn't like
15.103 -## it if -MD -MP comes after the -MF stuff. Hmm.
15.104 - "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
15.105 - stat=$?
15.106 - if test $stat -eq 0; then :
15.107 - else
15.108 - rm -f "$tmpdepfile"
15.109 - exit $stat
15.110 - fi
15.111 - mv "$tmpdepfile" "$depfile"
15.112 - ;;
15.113 -
15.114 -gcc)
15.115 -## There are various ways to get dependency output from gcc. Here's
15.116 -## why we pick this rather obscure method:
15.117 -## - Don't want to use -MD because we'd like the dependencies to end
15.118 -## up in a subdir. Having to rename by hand is ugly.
15.119 -## (We might end up doing this anyway to support other compilers.)
15.120 -## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
15.121 -## -MM, not -M (despite what the docs say).
15.122 -## - Using -M directly means running the compiler twice (even worse
15.123 -## than renaming).
15.124 - if test -z "$gccflag"; then
15.125 - gccflag=-MD,
15.126 - fi
15.127 - "$@" -Wp,"$gccflag$tmpdepfile"
15.128 - stat=$?
15.129 - if test $stat -eq 0; then :
15.130 - else
15.131 - rm -f "$tmpdepfile"
15.132 - exit $stat
15.133 - fi
15.134 - rm -f "$depfile"
15.135 - echo "$object : \\" > "$depfile"
15.136 - alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
15.137 -## The second -e expression handles DOS-style file names with drive letters.
15.138 - sed -e 's/^[^:]*: / /' \
15.139 - -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
15.140 -## This next piece of magic avoids the `deleted header file' problem.
15.141 -## The problem is that when a header file which appears in a .P file
15.142 -## is deleted, the dependency causes make to die (because there is
15.143 -## typically no way to rebuild the header). We avoid this by adding
15.144 -## dummy dependencies for each header file. Too bad gcc doesn't do
15.145 -## this for us directly.
15.146 - tr ' ' '
15.147 -' < "$tmpdepfile" |
15.148 -## Some versions of gcc put a space before the `:'. On the theory
15.149 -## that the space means something, we add a space to the output as
15.150 -## well.
15.151 -## Some versions of the HPUX 10.20 sed can't process this invocation
15.152 -## correctly. Breaking it into two sed invocations is a workaround.
15.153 - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
15.154 - rm -f "$tmpdepfile"
15.155 - ;;
15.156 -
15.157 -hp)
15.158 - # This case exists only to let depend.m4 do its work. It works by
15.159 - # looking at the text of this script. This case will never be run,
15.160 - # since it is checked for above.
15.161 - exit 1
15.162 - ;;
15.163 -
15.164 -sgi)
15.165 - if test "$libtool" = yes; then
15.166 - "$@" "-Wp,-MDupdate,$tmpdepfile"
15.167 - else
15.168 - "$@" -MDupdate "$tmpdepfile"
15.169 - fi
15.170 - stat=$?
15.171 - if test $stat -eq 0; then :
15.172 - else
15.173 - rm -f "$tmpdepfile"
15.174 - exit $stat
15.175 - fi
15.176 - rm -f "$depfile"
15.177 -
15.178 - if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
15.179 - echo "$object : \\" > "$depfile"
15.180 -
15.181 - # Clip off the initial element (the dependent). Don't try to be
15.182 - # clever and replace this with sed code, as IRIX sed won't handle
15.183 - # lines with more than a fixed number of characters (4096 in
15.184 - # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
15.185 - # the IRIX cc adds comments like `#:fec' to the end of the
15.186 - # dependency line.
15.187 - tr ' ' '
15.188 -' < "$tmpdepfile" \
15.189 - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
15.190 - tr '
15.191 -' ' ' >> $depfile
15.192 - echo >> $depfile
15.193 -
15.194 - # The second pass generates a dummy entry for each header file.
15.195 - tr ' ' '
15.196 -' < "$tmpdepfile" \
15.197 - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
15.198 - >> $depfile
15.199 - else
15.200 - # The sourcefile does not contain any dependencies, so just
15.201 - # store a dummy comment line, to avoid errors with the Makefile
15.202 - # "include basename.Plo" scheme.
15.203 - echo "#dummy" > "$depfile"
15.204 - fi
15.205 - rm -f "$tmpdepfile"
15.206 - ;;
15.207 -
15.208 -aix)
15.209 - # The C for AIX Compiler uses -M and outputs the dependencies
15.210 - # in a .u file. In older versions, this file always lives in the
15.211 - # current directory. Also, the AIX compiler puts `$object:' at the
15.212 - # start of each line; $object doesn't have directory information.
15.213 - # Version 6 uses the directory in both cases.
15.214 - stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
15.215 - tmpdepfile="$stripped.u"
15.216 - if test "$libtool" = yes; then
15.217 - "$@" -Wc,-M
15.218 - else
15.219 - "$@" -M
15.220 - fi
15.221 - stat=$?
15.222 -
15.223 - if test -f "$tmpdepfile"; then :
15.224 - else
15.225 - stripped=`echo "$stripped" | sed 's,^.*/,,'`
15.226 - tmpdepfile="$stripped.u"
15.227 - fi
15.228 -
15.229 - if test $stat -eq 0; then :
15.230 - else
15.231 - rm -f "$tmpdepfile"
15.232 - exit $stat
15.233 - fi
15.234 -
15.235 - if test -f "$tmpdepfile"; then
15.236 - outname="$stripped.o"
15.237 - # Each line is of the form `foo.o: dependent.h'.
15.238 - # Do two passes, one to just change these to
15.239 - # `$object: dependent.h' and one to simply `dependent.h:'.
15.240 - sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
15.241 - sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
15.242 - else
15.243 - # The sourcefile does not contain any dependencies, so just
15.244 - # store a dummy comment line, to avoid errors with the Makefile
15.245 - # "include basename.Plo" scheme.
15.246 - echo "#dummy" > "$depfile"
15.247 - fi
15.248 - rm -f "$tmpdepfile"
15.249 - ;;
15.250 -
15.251 -icc)
15.252 - # Intel's C compiler understands `-MD -MF file'. However on
15.253 - # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
15.254 - # ICC 7.0 will fill foo.d with something like
15.255 - # foo.o: sub/foo.c
15.256 - # foo.o: sub/foo.h
15.257 - # which is wrong. We want:
15.258 - # sub/foo.o: sub/foo.c
15.259 - # sub/foo.o: sub/foo.h
15.260 - # sub/foo.c:
15.261 - # sub/foo.h:
15.262 - # ICC 7.1 will output
15.263 - # foo.o: sub/foo.c sub/foo.h
15.264 - # and will wrap long lines using \ :
15.265 - # foo.o: sub/foo.c ... \
15.266 - # sub/foo.h ... \
15.267 - # ...
15.268 -
15.269 - "$@" -MD -MF "$tmpdepfile"
15.270 - stat=$?
15.271 - if test $stat -eq 0; then :
15.272 - else
15.273 - rm -f "$tmpdepfile"
15.274 - exit $stat
15.275 - fi
15.276 - rm -f "$depfile"
15.277 - # Each line is of the form `foo.o: dependent.h',
15.278 - # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
15.279 - # Do two passes, one to just change these to
15.280 - # `$object: dependent.h' and one to simply `dependent.h:'.
15.281 - sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
15.282 - # Some versions of the HPUX 10.20 sed can't process this invocation
15.283 - # correctly. Breaking it into two sed invocations is a workaround.
15.284 - sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
15.285 - sed -e 's/$/ :/' >> "$depfile"
15.286 - rm -f "$tmpdepfile"
15.287 - ;;
15.288 -
15.289 -tru64)
15.290 - # The Tru64 compiler uses -MD to generate dependencies as a side
15.291 - # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
15.292 - # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
15.293 - # dependencies in `foo.d' instead, so we check for that too.
15.294 - # Subdirectories are respected.
15.295 - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
15.296 - test "x$dir" = "x$object" && dir=
15.297 - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
15.298 -
15.299 - if test "$libtool" = yes; then
15.300 - # Dependencies are output in .lo.d with libtool 1.4.
15.301 - # They are output in .o.d with libtool 1.5.
15.302 - tmpdepfile1="$dir.libs/$base.lo.d"
15.303 - tmpdepfile2="$dir.libs/$base.o.d"
15.304 - tmpdepfile3="$dir.libs/$base.d"
15.305 - "$@" -Wc,-MD
15.306 - else
15.307 - tmpdepfile1="$dir$base.o.d"
15.308 - tmpdepfile2="$dir$base.d"
15.309 - tmpdepfile3="$dir$base.d"
15.310 - "$@" -MD
15.311 - fi
15.312 -
15.313 - stat=$?
15.314 - if test $stat -eq 0; then :
15.315 - else
15.316 - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
15.317 - exit $stat
15.318 - fi
15.319 -
15.320 - if test -f "$tmpdepfile1"; then
15.321 - tmpdepfile="$tmpdepfile1"
15.322 - elif test -f "$tmpdepfile2"; then
15.323 - tmpdepfile="$tmpdepfile2"
15.324 - else
15.325 - tmpdepfile="$tmpdepfile3"
15.326 - fi
15.327 - if test -f "$tmpdepfile"; then
15.328 - sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
15.329 - # That's a tab and a space in the [].
15.330 - sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
15.331 - else
15.332 - echo "#dummy" > "$depfile"
15.333 - fi
15.334 - rm -f "$tmpdepfile"
15.335 - ;;
15.336 -
15.337 -#nosideeffect)
15.338 - # This comment above is used by automake to tell side-effect
15.339 - # dependency tracking mechanisms from slower ones.
15.340 -
15.341 -dashmstdout)
15.342 - # Important note: in order to support this mode, a compiler *must*
15.343 - # always write the preprocessed file to stdout, regardless of -o.
15.344 - "$@" || exit $?
15.345 -
15.346 - # Remove the call to Libtool.
15.347 - if test "$libtool" = yes; then
15.348 - while test $1 != '--mode=compile'; do
15.349 - shift
15.350 - done
15.351 - shift
15.352 - fi
15.353 -
15.354 - # Remove `-o $object'.
15.355 - IFS=" "
15.356 - for arg
15.357 - do
15.358 - case $arg in
15.359 - -o)
15.360 - shift
15.361 - ;;
15.362 - $object)
15.363 - shift
15.364 - ;;
15.365 - *)
15.366 - set fnord "$@" "$arg"
15.367 - shift # fnord
15.368 - shift # $arg
15.369 - ;;
15.370 - esac
15.371 - done
15.372 -
15.373 - test -z "$dashmflag" && dashmflag=-M
15.374 - # Require at least two characters before searching for `:'
15.375 - # in the target name. This is to cope with DOS-style filenames:
15.376 - # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
15.377 - "$@" $dashmflag |
15.378 - sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
15.379 - rm -f "$depfile"
15.380 - cat < "$tmpdepfile" > "$depfile"
15.381 - tr ' ' '
15.382 -' < "$tmpdepfile" | \
15.383 -## Some versions of the HPUX 10.20 sed can't process this invocation
15.384 -## correctly. Breaking it into two sed invocations is a workaround.
15.385 - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
15.386 - rm -f "$tmpdepfile"
15.387 - ;;
15.388 -
15.389 -dashXmstdout)
15.390 - # This case only exists to satisfy depend.m4. It is never actually
15.391 - # run, as this mode is specially recognized in the preamble.
15.392 - exit 1
15.393 - ;;
15.394 -
15.395 -makedepend)
15.396 - "$@" || exit $?
15.397 - # Remove any Libtool call
15.398 - if test "$libtool" = yes; then
15.399 - while test $1 != '--mode=compile'; do
15.400 - shift
15.401 - done
15.402 - shift
15.403 - fi
15.404 - # X makedepend
15.405 - shift
15.406 - cleared=no
15.407 - for arg in "$@"; do
15.408 - case $cleared in
15.409 - no)
15.410 - set ""; shift
15.411 - cleared=yes ;;
15.412 - esac
15.413 - case "$arg" in
15.414 - -D*|-I*)
15.415 - set fnord "$@" "$arg"; shift ;;
15.416 - # Strip any option that makedepend may not understand. Remove
15.417 - # the object too, otherwise makedepend will parse it as a source file.
15.418 - -*|$object)
15.419 - ;;
15.420 - *)
15.421 - set fnord "$@" "$arg"; shift ;;
15.422 - esac
15.423 - done
15.424 - obj_suffix="`echo $object | sed 's/^.*\././'`"
15.425 - touch "$tmpdepfile"
15.426 - ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
15.427 - rm -f "$depfile"
15.428 - cat < "$tmpdepfile" > "$depfile"
15.429 - sed '1,2d' "$tmpdepfile" | tr ' ' '
15.430 -' | \
15.431 -## Some versions of the HPUX 10.20 sed can't process this invocation
15.432 -## correctly. Breaking it into two sed invocations is a workaround.
15.433 - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
15.434 - rm -f "$tmpdepfile" "$tmpdepfile".bak
15.435 - ;;
15.436 -
15.437 -cpp)
15.438 - # Important note: in order to support this mode, a compiler *must*
15.439 - # always write the preprocessed file to stdout.
15.440 - "$@" || exit $?
15.441 -
15.442 - # Remove the call to Libtool.
15.443 - if test "$libtool" = yes; then
15.444 - while test $1 != '--mode=compile'; do
15.445 - shift
15.446 - done
15.447 - shift
15.448 - fi
15.449 -
15.450 - # Remove `-o $object'.
15.451 - IFS=" "
15.452 - for arg
15.453 - do
15.454 - case $arg in
15.455 - -o)
15.456 - shift
15.457 - ;;
15.458 - $object)
15.459 - shift
15.460 - ;;
15.461 - *)
15.462 - set fnord "$@" "$arg"
15.463 - shift # fnord
15.464 - shift # $arg
15.465 - ;;
15.466 - esac
15.467 - done
15.468 -
15.469 - "$@" -E |
15.470 - sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
15.471 - sed '$ s: \\$::' > "$tmpdepfile"
15.472 - rm -f "$depfile"
15.473 - echo "$object : \\" > "$depfile"
15.474 - cat < "$tmpdepfile" >> "$depfile"
15.475 - sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
15.476 - rm -f "$tmpdepfile"
15.477 - ;;
15.478 -
15.479 -msvisualcpp)
15.480 - # Important note: in order to support this mode, a compiler *must*
15.481 - # always write the preprocessed file to stdout, regardless of -o,
15.482 - # because we must use -o when running libtool.
15.483 - "$@" || exit $?
15.484 - IFS=" "
15.485 - for arg
15.486 - do
15.487 - case "$arg" in
15.488 - "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
15.489 - set fnord "$@"
15.490 - shift
15.491 - shift
15.492 - ;;
15.493 - *)
15.494 - set fnord "$@" "$arg"
15.495 - shift
15.496 - shift
15.497 - ;;
15.498 - esac
15.499 - done
15.500 - "$@" -E |
15.501 - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
15.502 - rm -f "$depfile"
15.503 - echo "$object : \\" > "$depfile"
15.504 - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
15.505 - echo " " >> "$depfile"
15.506 - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
15.507 - rm -f "$tmpdepfile"
15.508 - ;;
15.509 -
15.510 -none)
15.511 - exec "$@"
15.512 - ;;
15.513 -
15.514 -*)
15.515 - echo "Unknown depmode $depmode" 1>&2
15.516 - exit 1
15.517 - ;;
15.518 -esac
15.519 -
15.520 -exit 0
15.521 -
15.522 -# Local Variables:
15.523 -# mode: shell-script
15.524 -# sh-indentation: 2
15.525 -# eval: (add-hook 'write-file-hooks 'time-stamp)
15.526 -# time-stamp-start: "scriptversion="
15.527 -# time-stamp-format: "%:y-%02m-%02d.%02H"
15.528 -# time-stamp-end: "$"
15.529 -# End:
16.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
16.2 +++ b/gst-plugins-nuvdemux/gst-libs/gst/gettext.h Fri Oct 27 00:11:21 2006 +0100
16.3 @@ -0,0 +1,69 @@
16.4 +/* Convenience header for conditional use of GNU <libintl.h>.
16.5 + Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.
16.6 +
16.7 + This program is free software; you can redistribute it and/or modify it
16.8 + under the terms of the GNU Library General Public License as published
16.9 + by the Free Software Foundation; either version 2, or (at your option)
16.10 + any later version.
16.11 +
16.12 + This program is distributed in the hope that it will be useful,
16.13 + but WITHOUT ANY WARRANTY; without even the implied warranty of
16.14 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16.15 + Library General Public License for more details.
16.16 +
16.17 + You should have received a copy of the GNU Library General Public
16.18 + License along with this program; if not, write to the Free Software
16.19 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
16.20 + USA. */
16.21 +
16.22 +#ifndef _LIBGETTEXT_H
16.23 +#define _LIBGETTEXT_H 1
16.24 +
16.25 +/* NLS can be disabled through the configure --disable-nls option. */
16.26 +#if ENABLE_NLS
16.27 +
16.28 +/* Get declarations of GNU message catalog functions. */
16.29 +# include <libintl.h>
16.30 +
16.31 +#else
16.32 +
16.33 +/* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which
16.34 + chokes if dcgettext is defined as a macro. So include it now, to make
16.35 + later inclusions of <locale.h> a NOP. We don't include <libintl.h>
16.36 + as well because people using "gettext.h" will not include <libintl.h>,
16.37 + and also including <libintl.h> would fail on SunOS 4, whereas <locale.h>
16.38 + is OK. */
16.39 +#if defined(__sun)
16.40 +# include <locale.h>
16.41 +#endif
16.42 +
16.43 +/* Disabled NLS.
16.44 + The casts to 'const char *' serve the purpose of producing warnings
16.45 + for invalid uses of the value returned from these functions.
16.46 + On pre-ANSI systems without 'const', the config.h file is supposed to
16.47 + contain "#define const". */
16.48 +# define gettext(Msgid) ((const char *) (Msgid))
16.49 +# define dgettext(Domainname, Msgid) ((const char *) (Msgid))
16.50 +# define dcgettext(Domainname, Msgid, Category) ((const char *) (Msgid))
16.51 +# define ngettext(Msgid1, Msgid2, N) \
16.52 + ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
16.53 +# define dngettext(Domainname, Msgid1, Msgid2, N) \
16.54 + ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
16.55 +# define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \
16.56 + ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
16.57 +# define textdomain(Domainname) ((const char *) (Domainname))
16.58 +# define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname))
16.59 +# define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset))
16.60 +
16.61 +#endif
16.62 +
16.63 +/* A pseudo function call that serves as a marker for the automated
16.64 + extraction of messages, but does not call gettext(). The run-time
16.65 + translation is done at a different place in the code.
16.66 + The argument, String, should be a literal string. Concatenated strings
16.67 + and other string expressions won't work.
16.68 + The macro's expansion is not parenthesized, so that it is suitable as
16.69 + initializer for static 'char[]' or 'const char[]' variables. */
16.70 +#define gettext_noop(String) String
16.71 +
16.72 +#endif /* _LIBGETTEXT_H */
17.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
17.2 +++ b/gst-plugins-nuvdemux/gst-libs/gst/gst-i18n-plugin.h Fri Oct 27 00:11:21 2006 +0100
17.3 @@ -0,0 +1,37 @@
17.4 +/* GStreamer
17.5 + * Copyright (C) 2004 Thomas Vander Stichele <thomas@apestaart.org>
17.6 + *
17.7 + * gst-i18n-plugins.h: internationalization macros for the GStreamer plugins
17.8 + *
17.9 + * This library is free software; you can redistribute it and/or
17.10 + * modify it under the terms of the GNU Library General Public
17.11 + * License as published by the Free Software Foundation; either
17.12 + * version 2 of the License, or (at your option) any later version.
17.13 + *
17.14 + * This library is distributed in the hope that it will be useful,
17.15 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
17.16 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17.17 + * Library General Public License for more details.
17.18 + *
17.19 + * You should have received a copy of the GNU Library General Public
17.20 + * License along with this library; if not, write to the
17.21 + * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17.22 + * Boston, MA 02111-1307, USA.
17.23 + */
17.24 +
17.25 +#ifndef __GST_I18N_PLUGIN_H__
17.26 +#define __GST_I18N_PLUGIN_H__
17.27 +
17.28 +#include <locale.h> /* some people need it and some people don't */
17.29 +#include "gettext.h" /* included with gettext distribution and copied */
17.30 +
17.31 +#ifndef GETTEXT_PACKAGE
17.32 +#error You must define GETTEXT_PACKAGE before including this header.
17.33 +#endif
17.34 +
17.35 +/* we want to use shorthand _() for translating and N_() for marking */
17.36 +#define _(String) dgettext (GETTEXT_PACKAGE, String)
17.37 +#define N_(String) gettext_noop (String)
17.38 +/* FIXME: if we need it, we can add Q_ as well, like in glib */
17.39 +
17.40 +#endif /* __GST_I18N_PLUGIN_H__ */
18.1 --- a/gst-plugins-nuvdemux/install-sh Thu Oct 26 18:55:14 2006 +0100
18.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
18.3 @@ -1,325 +0,0 @@
18.4 -#!/bin/sh
18.5 -# install - install a program, script, or datafile
18.6 -
18.7 -scriptversion=2004-04-01.17
18.8 -
18.9 -# This originates from X11R5 (mit/util/scripts/install.sh), which was
18.10 -# later released in X11R6 (xc/config/util/install.sh) with the
18.11 -# following copyright and license.
18.12 -#
18.13 -# Copyright (C) 1994 X Consortium
18.14 -#
18.15 -# Permission is hereby granted, free of charge, to any person obtaining a copy
18.16 -# of this software and associated documentation files (the "Software"), to
18.17 -# deal in the Software without restriction, including without limitation the
18.18 -# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
18.19 -# sell copies of the Software, and to permit persons to whom the Software is
18.20 -# furnished to do so, subject to the following conditions:
18.21 -#
18.22 -# The above copyright notice and this permission notice shall be included in
18.23 -# all copies or substantial portions of the Software.
18.24 -#
18.25 -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18.26 -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18.27 -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18.28 -# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18.29 -# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
18.30 -# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
18.31 -#
18.32 -# Except as contained in this notice, the name of the X Consortium shall not
18.33 -# be used in advertising or otherwise to promote the sale, use or other deal-
18.34 -# ings in this Software without prior written authorization from the X Consor-
18.35 -# tium.
18.36 -#
18.37 -#
18.38 -# FSF changes to this file are in the public domain.
18.39 -#
18.40 -# Calling this script install-sh is preferred over install.sh, to prevent
18.41 -# `make' implicit rules from creating a file called install from it
18.42 -# when there is no Makefile.
18.43 -#
18.44 -# This script is compatible with the BSD install script, but was written
18.45 -# from scratch. It can only install one file at a time, a restriction
18.46 -# shared with many OS's install programs.
18.47 -
18.48 -# set DOITPROG to echo to test this script
18.49 -
18.50 -# Don't use :- since 4.3BSD and earlier shells don't like it.
18.51 -doit="${DOITPROG-}"
18.52 -
18.53 -# put in absolute paths if you don't have them in your path; or use env. vars.
18.54 -
18.55 -mvprog="${MVPROG-mv}"
18.56 -cpprog="${CPPROG-cp}"
18.57 -chmodprog="${CHMODPROG-chmod}"
18.58 -chownprog="${CHOWNPROG-chown}"
18.59 -chgrpprog="${CHGRPPROG-chgrp}"
18.60 -stripprog="${STRIPPROG-strip}"
18.61 -rmprog="${RMPROG-rm}"
18.62 -mkdirprog="${MKDIRPROG-mkdir}"
18.63 -
18.64 -transformbasename=
18.65 -transform_arg=
18.66 -instcmd="$mvprog"
18.67 -chmodcmd="$chmodprog 0755"
18.68 -chowncmd=
18.69 -chgrpcmd=
18.70 -stripcmd=
18.71 -rmcmd="$rmprog -f"
18.72 -mvcmd="$mvprog"
18.73 -src=
18.74 -dst=
18.75 -dir_arg=
18.76 -
18.77 -usage="Usage: $0 [OPTION]... SRCFILE DSTFILE
18.78 - or: $0 [OPTION]... SRCFILES... DIRECTORY
18.79 - or: $0 -d DIRECTORIES...
18.80 -
18.81 -In the first form, install SRCFILE to DSTFILE, removing SRCFILE by default.
18.82 -In the second, create the directory path DIR.
18.83 -
18.84 -Options:
18.85 --b=TRANSFORMBASENAME
18.86 --c copy source (using $cpprog) instead of moving (using $mvprog).
18.87 --d create directories instead of installing files.
18.88 --g GROUP $chgrp installed files to GROUP.
18.89 --m MODE $chmod installed files to MODE.
18.90 --o USER $chown installed files to USER.
18.91 --s strip installed files (using $stripprog).
18.92 --t=TRANSFORM
18.93 ---help display this help and exit.
18.94 ---version display version info and exit.
18.95 -
18.96 -Environment variables override the default commands:
18.97 - CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
18.98 -"
18.99 -
18.100 -while test -n "$1"; do
18.101 - case $1 in
18.102 - -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
18.103 - shift
18.104 - continue;;
18.105 -
18.106 - -c) instcmd=$cpprog
18.107 - shift
18.108 - continue;;
18.109 -
18.110 - -d) dir_arg=true
18.111 - shift
18.112 - continue;;
18.113 -
18.114 - -g) chgrpcmd="$chgrpprog $2"
18.115 - shift
18.116 - shift
18.117 - continue;;
18.118 -
18.119 - --help) echo "$usage"; exit 0;;
18.120 -
18.121 - -m) chmodcmd="$chmodprog $2"
18.122 - shift
18.123 - shift
18.124 - continue;;
18.125 -
18.126 - -o) chowncmd="$chownprog $2"
18.127 - shift
18.128 - shift
18.129 - continue;;
18.130 -
18.131 - -s) stripcmd=$stripprog
18.132 - shift
18.133 - continue;;
18.134 -
18.135 - -t=*) transformarg=`echo $1 | sed 's/-t=//'`
18.136 - shift
18.137 - continue;;
18.138 -
18.139 - --version) echo "$0 $scriptversion"; exit 0;;
18.140 -
18.141 - *) # When -d is used, all remaining arguments are directories to create.
18.142 - test -n "$dir_arg" && break
18.143 - # Otherwise, the last argument is the destination. Remove it from $@.
18.144 - for arg
18.145 - do
18.146 - if test -n "$dstarg"; then
18.147 - # $@ is not empty: it contains at least $arg.
18.148 - set fnord "$@" "$dstarg"
18.149 - shift # fnord
18.150 - fi
18.151 - shift # arg
18.152 - dstarg=$arg
18.153 - done
18.154 - break;;
18.155 - esac
18.156 -done
18.157 -
18.158 -if test -z "$1"; then
18.159 - if test -z "$dir_arg"; then
18.160 - echo "$0: no input file specified." >&2
18.161 - exit 1
18.162 - fi
18.163 - # It's OK to call `install-sh -d' without argument.
18.164 - # This can happen when creating conditional directories.
18.165 - exit 0
18.166 -fi
18.167 -
18.168 -for src
18.169 -do
18.170 - # Protect names starting with `-'.
18.171 - case $src in
18.172 - -*) src=./$src ;;
18.173 - esac
18.174 -
18.175 - if test -n "$dir_arg"; then
18.176 - dst=$src
18.177 - src=
18.178 -
18.179 - if test -d "$dst"; then
18.180 - instcmd=:
18.181 - chmodcmd=
18.182 - else
18.183 - instcmd=$mkdirprog
18.184 - fi
18.185 - else
18.186 - # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
18.187 - # might cause directories to be created, which would be especially bad
18.188 - # if $src (and thus $dsttmp) contains '*'.
18.189 - if test ! -f "$src" && test ! -d "$src"; then
18.190 - echo "$0: $src does not exist." >&2
18.191 - exit 1
18.192 - fi
18.193 -
18.194 - if test -z "$dstarg"; then
18.195 - echo "$0: no destination specified." >&2
18.196 - exit 1
18.197 - fi
18.198 -
18.199 - dst=$dstarg
18.200 - # Protect names starting with `-'.
18.201 - case $dst in
18.202 - -*) dst=./$dst ;;
18.203 - esac
18.204 -
18.205 - # If destination is a directory, append the input filename; won't work
18.206 - # if double slashes aren't ignored.
18.207 - if test -d "$dst"; then
18.208 - dst=$dst/`basename "$src"`
18.209 - fi
18.210 - fi
18.211 -
18.212 - # This sed command emulates the dirname command.
18.213 - dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
18.214 -
18.215 - # Make sure that the destination directory exists.
18.216 -
18.217 - # Skip lots of stat calls in the usual case.
18.218 - if test ! -d "$dstdir"; then
18.219 - defaultIFS='
18.220 - '
18.221 - IFS="${IFS-$defaultIFS}"
18.222 -
18.223 - oIFS=$IFS
18.224 - # Some sh's can't handle IFS=/ for some reason.
18.225 - IFS='%'
18.226 - set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
18.227 - IFS=$oIFS
18.228 -
18.229 - pathcomp=
18.230 -
18.231 - while test $# -ne 0 ; do
18.232 - pathcomp=$pathcomp$1
18.233 - shift
18.234 - if test ! -d "$pathcomp"; then
18.235 - $mkdirprog "$pathcomp" || lasterr=$?
18.236 - # mkdir can fail with a `File exist' error in case several
18.237 - # install-sh are creating the directory concurrently. This
18.238 - # is OK.
18.239 - test ! -d "$pathcomp" && { (exit ${lasterr-1}); exit; }
18.240 - fi
18.241 - pathcomp=$pathcomp/
18.242 - done
18.243 - fi
18.244 -
18.245 - if test -n "$dir_arg"; then
18.246 - $doit $instcmd "$dst" \
18.247 - && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
18.248 - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
18.249 - && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
18.250 - && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
18.251 -
18.252 - else
18.253 - # If we're going to rename the final executable, determine the name now.
18.254 - if test -z "$transformarg"; then
18.255 - dstfile=`basename "$dst"`
18.256 - else
18.257 - dstfile=`basename "$dst" $transformbasename \
18.258 - | sed $transformarg`$transformbasename
18.259 - fi
18.260 -
18.261 - # don't allow the sed command to completely eliminate the filename.
18.262 - test -z "$dstfile" && dstfile=`basename "$dst"`
18.263 -
18.264 - # Make a couple of temp file names in the proper directory.
18.265 - dsttmp=$dstdir/_inst.$$_
18.266 - rmtmp=$dstdir/_rm.$$_
18.267 -
18.268 - # Trap to clean up those temp files at exit.
18.269 - trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
18.270 - trap '(exit $?); exit' 1 2 13 15
18.271 -
18.272 - # Move or copy the file name to the temp name
18.273 - $doit $instcmd "$src" "$dsttmp" &&
18.274 -
18.275 - # and set any options; do chmod last to preserve setuid bits.
18.276 - #
18.277 - # If any of these fail, we abort the whole thing. If we want to
18.278 - # ignore errors from any of these, just make sure not to ignore
18.279 - # errors from the above "$doit $instcmd $src $dsttmp" command.
18.280 - #
18.281 - { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
18.282 - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
18.283 - && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
18.284 - && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
18.285 -
18.286 - # Now rename the file to the real destination.
18.287 - { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
18.288 - || {
18.289 - # The rename failed, perhaps because mv can't rename something else
18.290 - # to itself, or perhaps because mv is so ancient that it does not
18.291 - # support -f.
18.292 -
18.293 - # Now remove or move aside any old file at destination location.
18.294 - # We try this two ways since rm can't unlink itself on some
18.295 - # systems and the destination file might be busy for other
18.296 - # reasons. In this case, the final cleanup might fail but the new
18.297 - # file should still install successfully.
18.298 - {
18.299 - if test -f "$dstdir/$dstfile"; then
18.300 - $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
18.301 - || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
18.302 - || {
18.303 - echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
18.304 - (exit 1); exit
18.305 - }
18.306 - else
18.307 - :
18.308 - fi
18.309 - } &&
18.310 -
18.311 - # Now rename the file to the real destination.
18.312 - $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
18.313 - }
18.314 - }
18.315 - fi || { (exit 1); exit; }
18.316 -done
18.317 -
18.318 -# The final little trick to "correctly" pass the exit status to the exit trap.
18.319 -{
18.320 - (exit 0); exit
18.321 -}
18.322 -
18.323 -# Local variables:
18.324 -# eval: (add-hook 'write-file-hooks 'time-stamp)
18.325 -# time-stamp-start: "scriptversion="
18.326 -# time-stamp-format: "%:y-%02m-%02d.%02H"
18.327 -# time-stamp-end: "$"
18.328 -# End:
19.1 --- a/gst-plugins-nuvdemux/ltmain.sh Thu Oct 26 18:55:14 2006 +0100
19.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
19.3 @@ -1,6530 +0,0 @@
19.4 -# ltmain.sh - Provide generalized library-building support services.
19.5 -# NOTE: Changing this file will not affect anything until you rerun configure.
19.6 -#
19.7 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
19.8 -# Free Software Foundation, Inc.
19.9 -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
19.10 -#
19.11 -# This program is free software; you can redistribute it and/or modify
19.12 -# it under the terms of the GNU General Public License as published by
19.13 -# the Free Software Foundation; either version 2 of the License, or
19.14 -# (at your option) any later version.
19.15 -#
19.16 -# This program is distributed in the hope that it will be useful, but
19.17 -# WITHOUT ANY WARRANTY; without even the implied warranty of
19.18 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19.19 -# General Public License for more details.
19.20 -#
19.21 -# You should have received a copy of the GNU General Public License
19.22 -# along with this program; if not, write to the Free Software
19.23 -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19.24 -#
19.25 -# As a special exception to the GNU General Public License, if you
19.26 -# distribute this file as part of a program that contains a
19.27 -# configuration script generated by Autoconf, you may include it under
19.28 -# the same distribution terms that you use for the rest of that program.
19.29 -
19.30 -basename="s,^.*/,,g"
19.31 -
19.32 -# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
19.33 -# is ksh but when the shell is invoked as "sh" and the current value of
19.34 -# the _XPG environment variable is not equal to 1 (one), the special
19.35 -# positional parameter $0, within a function call, is the name of the
19.36 -# function.
19.37 -progpath="$0"
19.38 -
19.39 -# The name of this program:
19.40 -progname=`echo "$progpath" | $SED $basename`
19.41 -modename="$progname"
19.42 -
19.43 -# Global variables:
19.44 -EXIT_SUCCESS=0
19.45 -EXIT_FAILURE=1
19.46 -
19.47 -PROGRAM=ltmain.sh
19.48 -PACKAGE=libtool
19.49 -VERSION=1.5.20
19.50 -TIMESTAMP=" (1.1220.2.287 2005/08/31 18:54:15)"
19.51 -
19.52 -# See if we are running on zsh, and set the options which allow our
19.53 -# commands through without removal of \ escapes.
19.54 -if test -n "${ZSH_VERSION+set}" ; then
19.55 - setopt NO_GLOB_SUBST
19.56 -fi
19.57 -
19.58 -# Check that we have a working $echo.
19.59 -if test "X$1" = X--no-reexec; then
19.60 - # Discard the --no-reexec flag, and continue.
19.61 - shift
19.62 -elif test "X$1" = X--fallback-echo; then
19.63 - # Avoid inline document here, it may be left over
19.64 - :
19.65 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
19.66 - # Yippee, $echo works!
19.67 - :
19.68 -else
19.69 - # Restart under the correct shell, and then maybe $echo will work.
19.70 - exec $SHELL "$progpath" --no-reexec ${1+"$@"}
19.71 -fi
19.72 -
19.73 -if test "X$1" = X--fallback-echo; then
19.74 - # used as fallback echo
19.75 - shift
19.76 - cat <<EOF
19.77 -$*
19.78 -EOF
19.79 - exit $EXIT_SUCCESS
19.80 -fi
19.81 -
19.82 -default_mode=
19.83 -help="Try \`$progname --help' for more information."
19.84 -magic="%%%MAGIC variable%%%"
19.85 -mkdir="mkdir"
19.86 -mv="mv -f"
19.87 -rm="rm -f"
19.88 -
19.89 -# Sed substitution that helps us do robust quoting. It backslashifies
19.90 -# metacharacters that are still active within double-quoted strings.
19.91 -Xsed="${SED}"' -e 1s/^X//'
19.92 -sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
19.93 -# test EBCDIC or ASCII
19.94 -case `echo X|tr X '\101'` in
19.95 - A) # ASCII based system
19.96 - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
19.97 - SP2NL='tr \040 \012'
19.98 - NL2SP='tr \015\012 \040\040'
19.99 - ;;
19.100 - *) # EBCDIC based system
19.101 - SP2NL='tr \100 \n'
19.102 - NL2SP='tr \r\n \100\100'
19.103 - ;;
19.104 -esac
19.105 -
19.106 -# NLS nuisances.
19.107 -# Only set LANG and LC_ALL to C if already set.
19.108 -# These must not be set unconditionally because not all systems understand
19.109 -# e.g. LANG=C (notably SCO).
19.110 -# We save the old values to restore during execute mode.
19.111 -if test "${LC_ALL+set}" = set; then
19.112 - save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL
19.113 -fi
19.114 -if test "${LANG+set}" = set; then
19.115 - save_LANG="$LANG"; LANG=C; export LANG
19.116 -fi
19.117 -
19.118 -# Make sure IFS has a sensible default
19.119 -lt_nl='
19.120 -'
19.121 -IFS=" $lt_nl"
19.122 -
19.123 -if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
19.124 - $echo "$modename: not configured to build any kind of library" 1>&2
19.125 - $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
19.126 - exit $EXIT_FAILURE
19.127 -fi
19.128 -
19.129 -# Global variables.
19.130 -mode=$default_mode
19.131 -nonopt=
19.132 -prev=
19.133 -prevopt=
19.134 -run=
19.135 -show="$echo"
19.136 -show_help=
19.137 -execute_dlfiles=
19.138 -lo2o="s/\\.lo\$/.${objext}/"
19.139 -o2lo="s/\\.${objext}\$/.lo/"
19.140 -
19.141 -#####################################
19.142 -# Shell function definitions:
19.143 -# This seems to be the best place for them
19.144 -
19.145 -# func_win32_libid arg
19.146 -# return the library type of file 'arg'
19.147 -#
19.148 -# Need a lot of goo to handle *both* DLLs and import libs
19.149 -# Has to be a shell function in order to 'eat' the argument
19.150 -# that is supplied when $file_magic_command is called.
19.151 -func_win32_libid ()
19.152 -{
19.153 - win32_libid_type="unknown"
19.154 - win32_fileres=`file -L $1 2>/dev/null`
19.155 - case $win32_fileres in
19.156 - *ar\ archive\ import\ library*) # definitely import
19.157 - win32_libid_type="x86 archive import"
19.158 - ;;
19.159 - *ar\ archive*) # could be an import, or static
19.160 - if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
19.161 - $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
19.162 - win32_nmres=`eval $NM -f posix -A $1 | \
19.163 - sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
19.164 - if test "X$win32_nmres" = "Ximport" ; then
19.165 - win32_libid_type="x86 archive import"
19.166 - else
19.167 - win32_libid_type="x86 archive static"
19.168 - fi
19.169 - fi
19.170 - ;;
19.171 - *DLL*)
19.172 - win32_libid_type="x86 DLL"
19.173 - ;;
19.174 - *executable*) # but shell scripts are "executable" too...
19.175 - case $win32_fileres in
19.176 - *MS\ Windows\ PE\ Intel*)
19.177 - win32_libid_type="x86 DLL"
19.178 - ;;
19.179 - esac
19.180 - ;;
19.181 - esac
19.182 - $echo $win32_libid_type
19.183 -}
19.184 -
19.185 -
19.186 -# func_infer_tag arg
19.187 -# Infer tagged configuration to use if any are available and
19.188 -# if one wasn't chosen via the "--tag" command line option.
19.189 -# Only attempt this if the compiler in the base compile
19.190 -# command doesn't match the default compiler.
19.191 -# arg is usually of the form 'gcc ...'
19.192 -func_infer_tag ()
19.193 -{
19.194 - if test -n "$available_tags" && test -z "$tagname"; then
19.195 - CC_quoted=
19.196 - for arg in $CC; do
19.197 - case $arg in
19.198 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.199 - arg="\"$arg\""
19.200 - ;;
19.201 - esac
19.202 - CC_quoted="$CC_quoted $arg"
19.203 - done
19.204 - case $@ in
19.205 - # Blanks in the command may have been stripped by the calling shell,
19.206 - # but not from the CC environment variable when configure was run.
19.207 - " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
19.208 - # Blanks at the start of $base_compile will cause this to fail
19.209 - # if we don't check for them as well.
19.210 - *)
19.211 - for z in $available_tags; do
19.212 - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
19.213 - # Evaluate the configuration.
19.214 - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
19.215 - CC_quoted=
19.216 - for arg in $CC; do
19.217 - # Double-quote args containing other shell metacharacters.
19.218 - case $arg in
19.219 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.220 - arg="\"$arg\""
19.221 - ;;
19.222 - esac
19.223 - CC_quoted="$CC_quoted $arg"
19.224 - done
19.225 - case "$@ " in
19.226 - " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
19.227 - # The compiler in the base compile command matches
19.228 - # the one in the tagged configuration.
19.229 - # Assume this is the tagged configuration we want.
19.230 - tagname=$z
19.231 - break
19.232 - ;;
19.233 - esac
19.234 - fi
19.235 - done
19.236 - # If $tagname still isn't set, then no tagged configuration
19.237 - # was found and let the user know that the "--tag" command
19.238 - # line option must be used.
19.239 - if test -z "$tagname"; then
19.240 - $echo "$modename: unable to infer tagged configuration"
19.241 - $echo "$modename: specify a tag with \`--tag'" 1>&2
19.242 - exit $EXIT_FAILURE
19.243 -# else
19.244 -# $echo "$modename: using $tagname tagged configuration"
19.245 - fi
19.246 - ;;
19.247 - esac
19.248 - fi
19.249 -}
19.250 -
19.251 -
19.252 -# func_extract_an_archive dir oldlib
19.253 -func_extract_an_archive ()
19.254 -{
19.255 - f_ex_an_ar_dir="$1"; shift
19.256 - f_ex_an_ar_oldlib="$1"
19.257 -
19.258 - $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
19.259 - $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
19.260 - if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
19.261 - :
19.262 - else
19.263 - $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
19.264 - exit $EXIT_FAILURE
19.265 - fi
19.266 -}
19.267 -
19.268 -# func_extract_archives gentop oldlib ...
19.269 -func_extract_archives ()
19.270 -{
19.271 - my_gentop="$1"; shift
19.272 - my_oldlibs=${1+"$@"}
19.273 - my_oldobjs=""
19.274 - my_xlib=""
19.275 - my_xabs=""
19.276 - my_xdir=""
19.277 - my_status=""
19.278 -
19.279 - $show "${rm}r $my_gentop"
19.280 - $run ${rm}r "$my_gentop"
19.281 - $show "$mkdir $my_gentop"
19.282 - $run $mkdir "$my_gentop"
19.283 - my_status=$?
19.284 - if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
19.285 - exit $my_status
19.286 - fi
19.287 -
19.288 - for my_xlib in $my_oldlibs; do
19.289 - # Extract the objects.
19.290 - case $my_xlib in
19.291 - [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
19.292 - *) my_xabs=`pwd`"/$my_xlib" ;;
19.293 - esac
19.294 - my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
19.295 - my_xdir="$my_gentop/$my_xlib"
19.296 -
19.297 - $show "${rm}r $my_xdir"
19.298 - $run ${rm}r "$my_xdir"
19.299 - $show "$mkdir $my_xdir"
19.300 - $run $mkdir "$my_xdir"
19.301 - status=$?
19.302 - if test "$status" -ne 0 && test ! -d "$my_xdir"; then
19.303 - exit $status
19.304 - fi
19.305 - case $host in
19.306 - *-darwin*)
19.307 - $show "Extracting $my_xabs"
19.308 - # Do not bother doing anything if just a dry run
19.309 - if test -z "$run"; then
19.310 - darwin_orig_dir=`pwd`
19.311 - cd $my_xdir || exit $?
19.312 - darwin_archive=$my_xabs
19.313 - darwin_curdir=`pwd`
19.314 - darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
19.315 - darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
19.316 - if test -n "$darwin_arches"; then
19.317 - darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
19.318 - darwin_arch=
19.319 - $show "$darwin_base_archive has multiple architectures $darwin_arches"
19.320 - for darwin_arch in $darwin_arches ; do
19.321 - mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
19.322 - lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
19.323 - cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
19.324 - func_extract_an_archive "`pwd`" "${darwin_base_archive}"
19.325 - cd "$darwin_curdir"
19.326 - $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
19.327 - done # $darwin_arches
19.328 - ## Okay now we have a bunch of thin objects, gotta fatten them up :)
19.329 - darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
19.330 - darwin_file=
19.331 - darwin_files=
19.332 - for darwin_file in $darwin_filelist; do
19.333 - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
19.334 - lipo -create -output "$darwin_file" $darwin_files
19.335 - done # $darwin_filelist
19.336 - ${rm}r unfat-$$
19.337 - cd "$darwin_orig_dir"
19.338 - else
19.339 - cd "$darwin_orig_dir"
19.340 - func_extract_an_archive "$my_xdir" "$my_xabs"
19.341 - fi # $darwin_arches
19.342 - fi # $run
19.343 - ;;
19.344 - *)
19.345 - func_extract_an_archive "$my_xdir" "$my_xabs"
19.346 - ;;
19.347 - esac
19.348 - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
19.349 - done
19.350 - func_extract_archives_result="$my_oldobjs"
19.351 -}
19.352 -# End of Shell function definitions
19.353 -#####################################
19.354 -
19.355 -# Darwin sucks
19.356 -eval std_shrext=\"$shrext_cmds\"
19.357 -
19.358 -# Parse our command line options once, thoroughly.
19.359 -while test "$#" -gt 0
19.360 -do
19.361 - arg="$1"
19.362 - shift
19.363 -
19.364 - case $arg in
19.365 - -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
19.366 - *) optarg= ;;
19.367 - esac
19.368 -
19.369 - # If the previous option needs an argument, assign it.
19.370 - if test -n "$prev"; then
19.371 - case $prev in
19.372 - execute_dlfiles)
19.373 - execute_dlfiles="$execute_dlfiles $arg"
19.374 - ;;
19.375 - tag)
19.376 - tagname="$arg"
19.377 - preserve_args="${preserve_args}=$arg"
19.378 -
19.379 - # Check whether tagname contains only valid characters
19.380 - case $tagname in
19.381 - *[!-_A-Za-z0-9,/]*)
19.382 - $echo "$progname: invalid tag name: $tagname" 1>&2
19.383 - exit $EXIT_FAILURE
19.384 - ;;
19.385 - esac
19.386 -
19.387 - case $tagname in
19.388 - CC)
19.389 - # Don't test for the "default" C tag, as we know, it's there, but
19.390 - # not specially marked.
19.391 - ;;
19.392 - *)
19.393 - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
19.394 - taglist="$taglist $tagname"
19.395 - # Evaluate the configuration.
19.396 - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
19.397 - else
19.398 - $echo "$progname: ignoring unknown tag $tagname" 1>&2
19.399 - fi
19.400 - ;;
19.401 - esac
19.402 - ;;
19.403 - *)
19.404 - eval "$prev=\$arg"
19.405 - ;;
19.406 - esac
19.407 -
19.408 - prev=
19.409 - prevopt=
19.410 - continue
19.411 - fi
19.412 -
19.413 - # Have we seen a non-optional argument yet?
19.414 - case $arg in
19.415 - --help)
19.416 - show_help=yes
19.417 - ;;
19.418 -
19.419 - --version)
19.420 - $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
19.421 - $echo
19.422 - $echo "Copyright (C) 2005 Free Software Foundation, Inc."
19.423 - $echo "This is free software; see the source for copying conditions. There is NO"
19.424 - $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
19.425 - exit $?
19.426 - ;;
19.427 -
19.428 - --config)
19.429 - ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
19.430 - # Now print the configurations for the tags.
19.431 - for tagname in $taglist; do
19.432 - ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
19.433 - done
19.434 - exit $?
19.435 - ;;
19.436 -
19.437 - --debug)
19.438 - $echo "$progname: enabling shell trace mode"
19.439 - set -x
19.440 - preserve_args="$preserve_args $arg"
19.441 - ;;
19.442 -
19.443 - --dry-run | -n)
19.444 - run=:
19.445 - ;;
19.446 -
19.447 - --features)
19.448 - $echo "host: $host"
19.449 - if test "$build_libtool_libs" = yes; then
19.450 - $echo "enable shared libraries"
19.451 - else
19.452 - $echo "disable shared libraries"
19.453 - fi
19.454 - if test "$build_old_libs" = yes; then
19.455 - $echo "enable static libraries"
19.456 - else
19.457 - $echo "disable static libraries"
19.458 - fi
19.459 - exit $?
19.460 - ;;
19.461 -
19.462 - --finish) mode="finish" ;;
19.463 -
19.464 - --mode) prevopt="--mode" prev=mode ;;
19.465 - --mode=*) mode="$optarg" ;;
19.466 -
19.467 - --preserve-dup-deps) duplicate_deps="yes" ;;
19.468 -
19.469 - --quiet | --silent)
19.470 - show=:
19.471 - preserve_args="$preserve_args $arg"
19.472 - ;;
19.473 -
19.474 - --tag) prevopt="--tag" prev=tag ;;
19.475 - --tag=*)
19.476 - set tag "$optarg" ${1+"$@"}
19.477 - shift
19.478 - prev=tag
19.479 - preserve_args="$preserve_args --tag"
19.480 - ;;
19.481 -
19.482 - -dlopen)
19.483 - prevopt="-dlopen"
19.484 - prev=execute_dlfiles
19.485 - ;;
19.486 -
19.487 - -*)
19.488 - $echo "$modename: unrecognized option \`$arg'" 1>&2
19.489 - $echo "$help" 1>&2
19.490 - exit $EXIT_FAILURE
19.491 - ;;
19.492 -
19.493 - *)
19.494 - nonopt="$arg"
19.495 - break
19.496 - ;;
19.497 - esac
19.498 -done
19.499 -
19.500 -if test -n "$prevopt"; then
19.501 - $echo "$modename: option \`$prevopt' requires an argument" 1>&2
19.502 - $echo "$help" 1>&2
19.503 - exit $EXIT_FAILURE
19.504 -fi
19.505 -
19.506 -# If this variable is set in any of the actions, the command in it
19.507 -# will be execed at the end. This prevents here-documents from being
19.508 -# left over by shells.
19.509 -exec_cmd=
19.510 -
19.511 -if test -z "$show_help"; then
19.512 -
19.513 - # Infer the operation mode.
19.514 - if test -z "$mode"; then
19.515 - $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
19.516 - $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
19.517 - case $nonopt in
19.518 - *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
19.519 - mode=link
19.520 - for arg
19.521 - do
19.522 - case $arg in
19.523 - -c)
19.524 - mode=compile
19.525 - break
19.526 - ;;
19.527 - esac
19.528 - done
19.529 - ;;
19.530 - *db | *dbx | *strace | *truss)
19.531 - mode=execute
19.532 - ;;
19.533 - *install*|cp|mv)
19.534 - mode=install
19.535 - ;;
19.536 - *rm)
19.537 - mode=uninstall
19.538 - ;;
19.539 - *)
19.540 - # If we have no mode, but dlfiles were specified, then do execute mode.
19.541 - test -n "$execute_dlfiles" && mode=execute
19.542 -
19.543 - # Just use the default operation mode.
19.544 - if test -z "$mode"; then
19.545 - if test -n "$nonopt"; then
19.546 - $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
19.547 - else
19.548 - $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
19.549 - fi
19.550 - fi
19.551 - ;;
19.552 - esac
19.553 - fi
19.554 -
19.555 - # Only execute mode is allowed to have -dlopen flags.
19.556 - if test -n "$execute_dlfiles" && test "$mode" != execute; then
19.557 - $echo "$modename: unrecognized option \`-dlopen'" 1>&2
19.558 - $echo "$help" 1>&2
19.559 - exit $EXIT_FAILURE
19.560 - fi
19.561 -
19.562 - # Change the help message to a mode-specific one.
19.563 - generic_help="$help"
19.564 - help="Try \`$modename --help --mode=$mode' for more information."
19.565 -
19.566 - # These modes are in order of execution frequency so that they run quickly.
19.567 - case $mode in
19.568 - # libtool compile mode
19.569 - compile)
19.570 - modename="$modename: compile"
19.571 - # Get the compilation command and the source file.
19.572 - base_compile=
19.573 - srcfile="$nonopt" # always keep a non-empty value in "srcfile"
19.574 - suppress_opt=yes
19.575 - suppress_output=
19.576 - arg_mode=normal
19.577 - libobj=
19.578 - later=
19.579 -
19.580 - for arg
19.581 - do
19.582 - case $arg_mode in
19.583 - arg )
19.584 - # do not "continue". Instead, add this to base_compile
19.585 - lastarg="$arg"
19.586 - arg_mode=normal
19.587 - ;;
19.588 -
19.589 - target )
19.590 - libobj="$arg"
19.591 - arg_mode=normal
19.592 - continue
19.593 - ;;
19.594 -
19.595 - normal )
19.596 - # Accept any command-line options.
19.597 - case $arg in
19.598 - -o)
19.599 - if test -n "$libobj" ; then
19.600 - $echo "$modename: you cannot specify \`-o' more than once" 1>&2
19.601 - exit $EXIT_FAILURE
19.602 - fi
19.603 - arg_mode=target
19.604 - continue
19.605 - ;;
19.606 -
19.607 - -static | -prefer-pic | -prefer-non-pic)
19.608 - later="$later $arg"
19.609 - continue
19.610 - ;;
19.611 -
19.612 - -no-suppress)
19.613 - suppress_opt=no
19.614 - continue
19.615 - ;;
19.616 -
19.617 - -Xcompiler)
19.618 - arg_mode=arg # the next one goes into the "base_compile" arg list
19.619 - continue # The current "srcfile" will either be retained or
19.620 - ;; # replaced later. I would guess that would be a bug.
19.621 -
19.622 - -Wc,*)
19.623 - args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
19.624 - lastarg=
19.625 - save_ifs="$IFS"; IFS=','
19.626 - for arg in $args; do
19.627 - IFS="$save_ifs"
19.628 -
19.629 - # Double-quote args containing other shell metacharacters.
19.630 - # Many Bourne shells cannot handle close brackets correctly
19.631 - # in scan sets, so we specify it separately.
19.632 - case $arg in
19.633 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.634 - arg="\"$arg\""
19.635 - ;;
19.636 - esac
19.637 - lastarg="$lastarg $arg"
19.638 - done
19.639 - IFS="$save_ifs"
19.640 - lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
19.641 -
19.642 - # Add the arguments to base_compile.
19.643 - base_compile="$base_compile $lastarg"
19.644 - continue
19.645 - ;;
19.646 -
19.647 - * )
19.648 - # Accept the current argument as the source file.
19.649 - # The previous "srcfile" becomes the current argument.
19.650 - #
19.651 - lastarg="$srcfile"
19.652 - srcfile="$arg"
19.653 - ;;
19.654 - esac # case $arg
19.655 - ;;
19.656 - esac # case $arg_mode
19.657 -
19.658 - # Aesthetically quote the previous argument.
19.659 - lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
19.660 -
19.661 - case $lastarg in
19.662 - # Double-quote args containing other shell metacharacters.
19.663 - # Many Bourne shells cannot handle close brackets correctly
19.664 - # in scan sets, and some SunOS ksh mistreat backslash-escaping
19.665 - # in scan sets (worked around with variable expansion),
19.666 - # and furthermore cannot handle '|' '&' '(' ')' in scan sets
19.667 - # at all, so we specify them separately.
19.668 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.669 - lastarg="\"$lastarg\""
19.670 - ;;
19.671 - esac
19.672 -
19.673 - base_compile="$base_compile $lastarg"
19.674 - done # for arg
19.675 -
19.676 - case $arg_mode in
19.677 - arg)
19.678 - $echo "$modename: you must specify an argument for -Xcompile"
19.679 - exit $EXIT_FAILURE
19.680 - ;;
19.681 - target)
19.682 - $echo "$modename: you must specify a target with \`-o'" 1>&2
19.683 - exit $EXIT_FAILURE
19.684 - ;;
19.685 - *)
19.686 - # Get the name of the library object.
19.687 - [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
19.688 - ;;
19.689 - esac
19.690 -
19.691 - # Recognize several different file suffixes.
19.692 - # If the user specifies -o file.o, it is replaced with file.lo
19.693 - xform='[cCFSifmso]'
19.694 - case $libobj in
19.695 - *.ada) xform=ada ;;
19.696 - *.adb) xform=adb ;;
19.697 - *.ads) xform=ads ;;
19.698 - *.asm) xform=asm ;;
19.699 - *.c++) xform=c++ ;;
19.700 - *.cc) xform=cc ;;
19.701 - *.ii) xform=ii ;;
19.702 - *.class) xform=class ;;
19.703 - *.cpp) xform=cpp ;;
19.704 - *.cxx) xform=cxx ;;
19.705 - *.f90) xform=f90 ;;
19.706 - *.for) xform=for ;;
19.707 - *.java) xform=java ;;
19.708 - esac
19.709 -
19.710 - libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
19.711 -
19.712 - case $libobj in
19.713 - *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
19.714 - *)
19.715 - $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
19.716 - exit $EXIT_FAILURE
19.717 - ;;
19.718 - esac
19.719 -
19.720 - func_infer_tag $base_compile
19.721 -
19.722 - for arg in $later; do
19.723 - case $arg in
19.724 - -static)
19.725 - build_old_libs=yes
19.726 - continue
19.727 - ;;
19.728 -
19.729 - -prefer-pic)
19.730 - pic_mode=yes
19.731 - continue
19.732 - ;;
19.733 -
19.734 - -prefer-non-pic)
19.735 - pic_mode=no
19.736 - continue
19.737 - ;;
19.738 - esac
19.739 - done
19.740 -
19.741 - qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
19.742 - case $qlibobj in
19.743 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.744 - qlibobj="\"$qlibobj\"" ;;
19.745 - esac
19.746 - test "X$libobj" != "X$qlibobj" \
19.747 - && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
19.748 - && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
19.749 - objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
19.750 - xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
19.751 - if test "X$xdir" = "X$obj"; then
19.752 - xdir=
19.753 - else
19.754 - xdir=$xdir/
19.755 - fi
19.756 - lobj=${xdir}$objdir/$objname
19.757 -
19.758 - if test -z "$base_compile"; then
19.759 - $echo "$modename: you must specify a compilation command" 1>&2
19.760 - $echo "$help" 1>&2
19.761 - exit $EXIT_FAILURE
19.762 - fi
19.763 -
19.764 - # Delete any leftover library objects.
19.765 - if test "$build_old_libs" = yes; then
19.766 - removelist="$obj $lobj $libobj ${libobj}T"
19.767 - else
19.768 - removelist="$lobj $libobj ${libobj}T"
19.769 - fi
19.770 -
19.771 - $run $rm $removelist
19.772 - trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
19.773 -
19.774 - # On Cygwin there's no "real" PIC flag so we must build both object types
19.775 - case $host_os in
19.776 - cygwin* | mingw* | pw32* | os2*)
19.777 - pic_mode=default
19.778 - ;;
19.779 - esac
19.780 - if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
19.781 - # non-PIC code in shared libraries is not supported
19.782 - pic_mode=default
19.783 - fi
19.784 -
19.785 - # Calculate the filename of the output object if compiler does
19.786 - # not support -o with -c
19.787 - if test "$compiler_c_o" = no; then
19.788 - output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
19.789 - lockfile="$output_obj.lock"
19.790 - removelist="$removelist $output_obj $lockfile"
19.791 - trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
19.792 - else
19.793 - output_obj=
19.794 - need_locks=no
19.795 - lockfile=
19.796 - fi
19.797 -
19.798 - # Lock this critical section if it is needed
19.799 - # We use this script file to make the link, it avoids creating a new file
19.800 - if test "$need_locks" = yes; then
19.801 - until $run ln "$progpath" "$lockfile" 2>/dev/null; do
19.802 - $show "Waiting for $lockfile to be removed"
19.803 - sleep 2
19.804 - done
19.805 - elif test "$need_locks" = warn; then
19.806 - if test -f "$lockfile"; then
19.807 - $echo "\
19.808 -*** ERROR, $lockfile exists and contains:
19.809 -`cat $lockfile 2>/dev/null`
19.810 -
19.811 -This indicates that another process is trying to use the same
19.812 -temporary object file, and libtool could not work around it because
19.813 -your compiler does not support \`-c' and \`-o' together. If you
19.814 -repeat this compilation, it may succeed, by chance, but you had better
19.815 -avoid parallel builds (make -j) in this platform, or get a better
19.816 -compiler."
19.817 -
19.818 - $run $rm $removelist
19.819 - exit $EXIT_FAILURE
19.820 - fi
19.821 - $echo "$srcfile" > "$lockfile"
19.822 - fi
19.823 -
19.824 - if test -n "$fix_srcfile_path"; then
19.825 - eval srcfile=\"$fix_srcfile_path\"
19.826 - fi
19.827 - qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
19.828 - case $qsrcfile in
19.829 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.830 - qsrcfile="\"$qsrcfile\"" ;;
19.831 - esac
19.832 -
19.833 - $run $rm "$libobj" "${libobj}T"
19.834 -
19.835 - # Create a libtool object file (analogous to a ".la" file),
19.836 - # but don't create it if we're doing a dry run.
19.837 - test -z "$run" && cat > ${libobj}T <<EOF
19.838 -# $libobj - a libtool object file
19.839 -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
19.840 -#
19.841 -# Please DO NOT delete this file!
19.842 -# It is necessary for linking the library.
19.843 -
19.844 -# Name of the PIC object.
19.845 -EOF
19.846 -
19.847 - # Only build a PIC object if we are building libtool libraries.
19.848 - if test "$build_libtool_libs" = yes; then
19.849 - # Without this assignment, base_compile gets emptied.
19.850 - fbsd_hideous_sh_bug=$base_compile
19.851 -
19.852 - if test "$pic_mode" != no; then
19.853 - command="$base_compile $qsrcfile $pic_flag"
19.854 - else
19.855 - # Don't build PIC code
19.856 - command="$base_compile $qsrcfile"
19.857 - fi
19.858 -
19.859 - if test ! -d "${xdir}$objdir"; then
19.860 - $show "$mkdir ${xdir}$objdir"
19.861 - $run $mkdir ${xdir}$objdir
19.862 - status=$?
19.863 - if test "$status" -ne 0 && test ! -d "${xdir}$objdir"; then
19.864 - exit $status
19.865 - fi
19.866 - fi
19.867 -
19.868 - if test -z "$output_obj"; then
19.869 - # Place PIC objects in $objdir
19.870 - command="$command -o $lobj"
19.871 - fi
19.872 -
19.873 - $run $rm "$lobj" "$output_obj"
19.874 -
19.875 - $show "$command"
19.876 - if $run eval "$command"; then :
19.877 - else
19.878 - test -n "$output_obj" && $run $rm $removelist
19.879 - exit $EXIT_FAILURE
19.880 - fi
19.881 -
19.882 - if test "$need_locks" = warn &&
19.883 - test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
19.884 - $echo "\
19.885 -*** ERROR, $lockfile contains:
19.886 -`cat $lockfile 2>/dev/null`
19.887 -
19.888 -but it should contain:
19.889 -$srcfile
19.890 -
19.891 -This indicates that another process is trying to use the same
19.892 -temporary object file, and libtool could not work around it because
19.893 -your compiler does not support \`-c' and \`-o' together. If you
19.894 -repeat this compilation, it may succeed, by chance, but you had better
19.895 -avoid parallel builds (make -j) in this platform, or get a better
19.896 -compiler."
19.897 -
19.898 - $run $rm $removelist
19.899 - exit $EXIT_FAILURE
19.900 - fi
19.901 -
19.902 - # Just move the object if needed, then go on to compile the next one
19.903 - if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
19.904 - $show "$mv $output_obj $lobj"
19.905 - if $run $mv $output_obj $lobj; then :
19.906 - else
19.907 - error=$?
19.908 - $run $rm $removelist
19.909 - exit $error
19.910 - fi
19.911 - fi
19.912 -
19.913 - # Append the name of the PIC object to the libtool object file.
19.914 - test -z "$run" && cat >> ${libobj}T <<EOF
19.915 -pic_object='$objdir/$objname'
19.916 -
19.917 -EOF
19.918 -
19.919 - # Allow error messages only from the first compilation.
19.920 - if test "$suppress_opt" = yes; then
19.921 - suppress_output=' >/dev/null 2>&1'
19.922 - fi
19.923 - else
19.924 - # No PIC object so indicate it doesn't exist in the libtool
19.925 - # object file.
19.926 - test -z "$run" && cat >> ${libobj}T <<EOF
19.927 -pic_object=none
19.928 -
19.929 -EOF
19.930 - fi
19.931 -
19.932 - # Only build a position-dependent object if we build old libraries.
19.933 - if test "$build_old_libs" = yes; then
19.934 - if test "$pic_mode" != yes; then
19.935 - # Don't build PIC code
19.936 - command="$base_compile $qsrcfile"
19.937 - else
19.938 - command="$base_compile $qsrcfile $pic_flag"
19.939 - fi
19.940 - if test "$compiler_c_o" = yes; then
19.941 - command="$command -o $obj"
19.942 - fi
19.943 -
19.944 - # Suppress compiler output if we already did a PIC compilation.
19.945 - command="$command$suppress_output"
19.946 - $run $rm "$obj" "$output_obj"
19.947 - $show "$command"
19.948 - if $run eval "$command"; then :
19.949 - else
19.950 - $run $rm $removelist
19.951 - exit $EXIT_FAILURE
19.952 - fi
19.953 -
19.954 - if test "$need_locks" = warn &&
19.955 - test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
19.956 - $echo "\
19.957 -*** ERROR, $lockfile contains:
19.958 -`cat $lockfile 2>/dev/null`
19.959 -
19.960 -but it should contain:
19.961 -$srcfile
19.962 -
19.963 -This indicates that another process is trying to use the same
19.964 -temporary object file, and libtool could not work around it because
19.965 -your compiler does not support \`-c' and \`-o' together. If you
19.966 -repeat this compilation, it may succeed, by chance, but you had better
19.967 -avoid parallel builds (make -j) in this platform, or get a better
19.968 -compiler."
19.969 -
19.970 - $run $rm $removelist
19.971 - exit $EXIT_FAILURE
19.972 - fi
19.973 -
19.974 - # Just move the object if needed
19.975 - if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
19.976 - $show "$mv $output_obj $obj"
19.977 - if $run $mv $output_obj $obj; then :
19.978 - else
19.979 - error=$?
19.980 - $run $rm $removelist
19.981 - exit $error
19.982 - fi
19.983 - fi
19.984 -
19.985 - # Append the name of the non-PIC object the libtool object file.
19.986 - # Only append if the libtool object file exists.
19.987 - test -z "$run" && cat >> ${libobj}T <<EOF
19.988 -# Name of the non-PIC object.
19.989 -non_pic_object='$objname'
19.990 -
19.991 -EOF
19.992 - else
19.993 - # Append the name of the non-PIC object the libtool object file.
19.994 - # Only append if the libtool object file exists.
19.995 - test -z "$run" && cat >> ${libobj}T <<EOF
19.996 -# Name of the non-PIC object.
19.997 -non_pic_object=none
19.998 -
19.999 -EOF
19.1000 - fi
19.1001 -
19.1002 - $run $mv "${libobj}T" "${libobj}"
19.1003 -
19.1004 - # Unlock the critical section if it was locked
19.1005 - if test "$need_locks" != no; then
19.1006 - $run $rm "$lockfile"
19.1007 - fi
19.1008 -
19.1009 - exit $EXIT_SUCCESS
19.1010 - ;;
19.1011 -
19.1012 - # libtool link mode
19.1013 - link | relink)
19.1014 - modename="$modename: link"
19.1015 - case $host in
19.1016 - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
19.1017 - # It is impossible to link a dll without this setting, and
19.1018 - # we shouldn't force the makefile maintainer to figure out
19.1019 - # which system we are compiling for in order to pass an extra
19.1020 - # flag for every libtool invocation.
19.1021 - # allow_undefined=no
19.1022 -
19.1023 - # FIXME: Unfortunately, there are problems with the above when trying
19.1024 - # to make a dll which has undefined symbols, in which case not
19.1025 - # even a static library is built. For now, we need to specify
19.1026 - # -no-undefined on the libtool link line when we can be certain
19.1027 - # that all symbols are satisfied, otherwise we get a static library.
19.1028 - allow_undefined=yes
19.1029 - ;;
19.1030 - *)
19.1031 - allow_undefined=yes
19.1032 - ;;
19.1033 - esac
19.1034 - libtool_args="$nonopt"
19.1035 - base_compile="$nonopt $@"
19.1036 - compile_command="$nonopt"
19.1037 - finalize_command="$nonopt"
19.1038 -
19.1039 - compile_rpath=
19.1040 - finalize_rpath=
19.1041 - compile_shlibpath=
19.1042 - finalize_shlibpath=
19.1043 - convenience=
19.1044 - old_convenience=
19.1045 - deplibs=
19.1046 - old_deplibs=
19.1047 - compiler_flags=
19.1048 - linker_flags=
19.1049 - dllsearchpath=
19.1050 - lib_search_path=`pwd`
19.1051 - inst_prefix_dir=
19.1052 -
19.1053 - avoid_version=no
19.1054 - dlfiles=
19.1055 - dlprefiles=
19.1056 - dlself=no
19.1057 - export_dynamic=no
19.1058 - export_symbols=
19.1059 - export_symbols_regex=
19.1060 - generated=
19.1061 - libobjs=
19.1062 - ltlibs=
19.1063 - module=no
19.1064 - no_install=no
19.1065 - objs=
19.1066 - non_pic_objects=
19.1067 - precious_files_regex=
19.1068 - prefer_static_libs=no
19.1069 - preload=no
19.1070 - prev=
19.1071 - prevarg=
19.1072 - release=
19.1073 - rpath=
19.1074 - xrpath=
19.1075 - perm_rpath=
19.1076 - temp_rpath=
19.1077 - thread_safe=no
19.1078 - vinfo=
19.1079 - vinfo_number=no
19.1080 -
19.1081 - func_infer_tag $base_compile
19.1082 -
19.1083 - # We need to know -static, to get the right output filenames.
19.1084 - for arg
19.1085 - do
19.1086 - case $arg in
19.1087 - -all-static | -static)
19.1088 - if test "X$arg" = "X-all-static"; then
19.1089 - if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
19.1090 - $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
19.1091 - fi
19.1092 - if test -n "$link_static_flag"; then
19.1093 - dlopen_self=$dlopen_self_static
19.1094 - fi
19.1095 - else
19.1096 - if test -z "$pic_flag" && test -n "$link_static_flag"; then
19.1097 - dlopen_self=$dlopen_self_static
19.1098 - fi
19.1099 - fi
19.1100 - build_libtool_libs=no
19.1101 - build_old_libs=yes
19.1102 - prefer_static_libs=yes
19.1103 - break
19.1104 - ;;
19.1105 - esac
19.1106 - done
19.1107 -
19.1108 - # See if our shared archives depend on static archives.
19.1109 - test -n "$old_archive_from_new_cmds" && build_old_libs=yes
19.1110 -
19.1111 - # Go through the arguments, transforming them on the way.
19.1112 - while test "$#" -gt 0; do
19.1113 - arg="$1"
19.1114 - shift
19.1115 - case $arg in
19.1116 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.1117 - qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
19.1118 - ;;
19.1119 - *) qarg=$arg ;;
19.1120 - esac
19.1121 - libtool_args="$libtool_args $qarg"
19.1122 -
19.1123 - # If the previous option needs an argument, assign it.
19.1124 - if test -n "$prev"; then
19.1125 - case $prev in
19.1126 - output)
19.1127 - compile_command="$compile_command @OUTPUT@"
19.1128 - finalize_command="$finalize_command @OUTPUT@"
19.1129 - ;;
19.1130 - esac
19.1131 -
19.1132 - case $prev in
19.1133 - dlfiles|dlprefiles)
19.1134 - if test "$preload" = no; then
19.1135 - # Add the symbol object into the linking commands.
19.1136 - compile_command="$compile_command @SYMFILE@"
19.1137 - finalize_command="$finalize_command @SYMFILE@"
19.1138 - preload=yes
19.1139 - fi
19.1140 - case $arg in
19.1141 - *.la | *.lo) ;; # We handle these cases below.
19.1142 - force)
19.1143 - if test "$dlself" = no; then
19.1144 - dlself=needless
19.1145 - export_dynamic=yes
19.1146 - fi
19.1147 - prev=
19.1148 - continue
19.1149 - ;;
19.1150 - self)
19.1151 - if test "$prev" = dlprefiles; then
19.1152 - dlself=yes
19.1153 - elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
19.1154 - dlself=yes
19.1155 - else
19.1156 - dlself=needless
19.1157 - export_dynamic=yes
19.1158 - fi
19.1159 - prev=
19.1160 - continue
19.1161 - ;;
19.1162 - *)
19.1163 - if test "$prev" = dlfiles; then
19.1164 - dlfiles="$dlfiles $arg"
19.1165 - else
19.1166 - dlprefiles="$dlprefiles $arg"
19.1167 - fi
19.1168 - prev=
19.1169 - continue
19.1170 - ;;
19.1171 - esac
19.1172 - ;;
19.1173 - expsyms)
19.1174 - export_symbols="$arg"
19.1175 - if test ! -f "$arg"; then
19.1176 - $echo "$modename: symbol file \`$arg' does not exist"
19.1177 - exit $EXIT_FAILURE
19.1178 - fi
19.1179 - prev=
19.1180 - continue
19.1181 - ;;
19.1182 - expsyms_regex)
19.1183 - export_symbols_regex="$arg"
19.1184 - prev=
19.1185 - continue
19.1186 - ;;
19.1187 - inst_prefix)
19.1188 - inst_prefix_dir="$arg"
19.1189 - prev=
19.1190 - continue
19.1191 - ;;
19.1192 - precious_regex)
19.1193 - precious_files_regex="$arg"
19.1194 - prev=
19.1195 - continue
19.1196 - ;;
19.1197 - release)
19.1198 - release="-$arg"
19.1199 - prev=
19.1200 - continue
19.1201 - ;;
19.1202 - objectlist)
19.1203 - if test -f "$arg"; then
19.1204 - save_arg=$arg
19.1205 - moreargs=
19.1206 - for fil in `cat $save_arg`
19.1207 - do
19.1208 -# moreargs="$moreargs $fil"
19.1209 - arg=$fil
19.1210 - # A libtool-controlled object.
19.1211 -
19.1212 - # Check to see that this really is a libtool object.
19.1213 - if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
19.1214 - pic_object=
19.1215 - non_pic_object=
19.1216 -
19.1217 - # Read the .lo file
19.1218 - # If there is no directory component, then add one.
19.1219 - case $arg in
19.1220 - */* | *\\*) . $arg ;;
19.1221 - *) . ./$arg ;;
19.1222 - esac
19.1223 -
19.1224 - if test -z "$pic_object" || \
19.1225 - test -z "$non_pic_object" ||
19.1226 - test "$pic_object" = none && \
19.1227 - test "$non_pic_object" = none; then
19.1228 - $echo "$modename: cannot find name of object for \`$arg'" 1>&2
19.1229 - exit $EXIT_FAILURE
19.1230 - fi
19.1231 -
19.1232 - # Extract subdirectory from the argument.
19.1233 - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
19.1234 - if test "X$xdir" = "X$arg"; then
19.1235 - xdir=
19.1236 - else
19.1237 - xdir="$xdir/"
19.1238 - fi
19.1239 -
19.1240 - if test "$pic_object" != none; then
19.1241 - # Prepend the subdirectory the object is found in.
19.1242 - pic_object="$xdir$pic_object"
19.1243 -
19.1244 - if test "$prev" = dlfiles; then
19.1245 - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
19.1246 - dlfiles="$dlfiles $pic_object"
19.1247 - prev=
19.1248 - continue
19.1249 - else
19.1250 - # If libtool objects are unsupported, then we need to preload.
19.1251 - prev=dlprefiles
19.1252 - fi
19.1253 - fi
19.1254 -
19.1255 - # CHECK ME: I think I busted this. -Ossama
19.1256 - if test "$prev" = dlprefiles; then
19.1257 - # Preload the old-style object.
19.1258 - dlprefiles="$dlprefiles $pic_object"
19.1259 - prev=
19.1260 - fi
19.1261 -
19.1262 - # A PIC object.
19.1263 - libobjs="$libobjs $pic_object"
19.1264 - arg="$pic_object"
19.1265 - fi
19.1266 -
19.1267 - # Non-PIC object.
19.1268 - if test "$non_pic_object" != none; then
19.1269 - # Prepend the subdirectory the object is found in.
19.1270 - non_pic_object="$xdir$non_pic_object"
19.1271 -
19.1272 - # A standard non-PIC object
19.1273 - non_pic_objects="$non_pic_objects $non_pic_object"
19.1274 - if test -z "$pic_object" || test "$pic_object" = none ; then
19.1275 - arg="$non_pic_object"
19.1276 - fi
19.1277 - fi
19.1278 - else
19.1279 - # Only an error if not doing a dry-run.
19.1280 - if test -z "$run"; then
19.1281 - $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
19.1282 - exit $EXIT_FAILURE
19.1283 - else
19.1284 - # Dry-run case.
19.1285 -
19.1286 - # Extract subdirectory from the argument.
19.1287 - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
19.1288 - if test "X$xdir" = "X$arg"; then
19.1289 - xdir=
19.1290 - else
19.1291 - xdir="$xdir/"
19.1292 - fi
19.1293 -
19.1294 - pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
19.1295 - non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
19.1296 - libobjs="$libobjs $pic_object"
19.1297 - non_pic_objects="$non_pic_objects $non_pic_object"
19.1298 - fi
19.1299 - fi
19.1300 - done
19.1301 - else
19.1302 - $echo "$modename: link input file \`$save_arg' does not exist"
19.1303 - exit $EXIT_FAILURE
19.1304 - fi
19.1305 - arg=$save_arg
19.1306 - prev=
19.1307 - continue
19.1308 - ;;
19.1309 - rpath | xrpath)
19.1310 - # We need an absolute path.
19.1311 - case $arg in
19.1312 - [\\/]* | [A-Za-z]:[\\/]*) ;;
19.1313 - *)
19.1314 - $echo "$modename: only absolute run-paths are allowed" 1>&2
19.1315 - exit $EXIT_FAILURE
19.1316 - ;;
19.1317 - esac
19.1318 - if test "$prev" = rpath; then
19.1319 - case "$rpath " in
19.1320 - *" $arg "*) ;;
19.1321 - *) rpath="$rpath $arg" ;;
19.1322 - esac
19.1323 - else
19.1324 - case "$xrpath " in
19.1325 - *" $arg "*) ;;
19.1326 - *) xrpath="$xrpath $arg" ;;
19.1327 - esac
19.1328 - fi
19.1329 - prev=
19.1330 - continue
19.1331 - ;;
19.1332 - xcompiler)
19.1333 - compiler_flags="$compiler_flags $qarg"
19.1334 - prev=
19.1335 - compile_command="$compile_command $qarg"
19.1336 - finalize_command="$finalize_command $qarg"
19.1337 - continue
19.1338 - ;;
19.1339 - xlinker)
19.1340 - linker_flags="$linker_flags $qarg"
19.1341 - compiler_flags="$compiler_flags $wl$qarg"
19.1342 - prev=
19.1343 - compile_command="$compile_command $wl$qarg"
19.1344 - finalize_command="$finalize_command $wl$qarg"
19.1345 - continue
19.1346 - ;;
19.1347 - xcclinker)
19.1348 - linker_flags="$linker_flags $qarg"
19.1349 - compiler_flags="$compiler_flags $qarg"
19.1350 - prev=
19.1351 - compile_command="$compile_command $qarg"
19.1352 - finalize_command="$finalize_command $qarg"
19.1353 - continue
19.1354 - ;;
19.1355 - shrext)
19.1356 - shrext_cmds="$arg"
19.1357 - prev=
19.1358 - continue
19.1359 - ;;
19.1360 - darwin_framework)
19.1361 - compiler_flags="$compiler_flags $arg"
19.1362 - compile_command="$compile_command $arg"
19.1363 - finalize_command="$finalize_command $arg"
19.1364 - prev=
19.1365 - continue
19.1366 - ;;
19.1367 - *)
19.1368 - eval "$prev=\"\$arg\""
19.1369 - prev=
19.1370 - continue
19.1371 - ;;
19.1372 - esac
19.1373 - fi # test -n "$prev"
19.1374 -
19.1375 - prevarg="$arg"
19.1376 -
19.1377 - case $arg in
19.1378 - -all-static)
19.1379 - if test -n "$link_static_flag"; then
19.1380 - compile_command="$compile_command $link_static_flag"
19.1381 - finalize_command="$finalize_command $link_static_flag"
19.1382 - fi
19.1383 - continue
19.1384 - ;;
19.1385 -
19.1386 - -allow-undefined)
19.1387 - # FIXME: remove this flag sometime in the future.
19.1388 - $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
19.1389 - continue
19.1390 - ;;
19.1391 -
19.1392 - -avoid-version)
19.1393 - avoid_version=yes
19.1394 - continue
19.1395 - ;;
19.1396 -
19.1397 - -dlopen)
19.1398 - prev=dlfiles
19.1399 - continue
19.1400 - ;;
19.1401 -
19.1402 - -dlpreopen)
19.1403 - prev=dlprefiles
19.1404 - continue
19.1405 - ;;
19.1406 -
19.1407 - -export-dynamic)
19.1408 - export_dynamic=yes
19.1409 - continue
19.1410 - ;;
19.1411 -
19.1412 - -export-symbols | -export-symbols-regex)
19.1413 - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
19.1414 - $echo "$modename: more than one -exported-symbols argument is not allowed"
19.1415 - exit $EXIT_FAILURE
19.1416 - fi
19.1417 - if test "X$arg" = "X-export-symbols"; then
19.1418 - prev=expsyms
19.1419 - else
19.1420 - prev=expsyms_regex
19.1421 - fi
19.1422 - continue
19.1423 - ;;
19.1424 -
19.1425 - -framework|-arch)
19.1426 - prev=darwin_framework
19.1427 - compiler_flags="$compiler_flags $arg"
19.1428 - compile_command="$compile_command $arg"
19.1429 - finalize_command="$finalize_command $arg"
19.1430 - continue
19.1431 - ;;
19.1432 -
19.1433 - -inst-prefix-dir)
19.1434 - prev=inst_prefix
19.1435 - continue
19.1436 - ;;
19.1437 -
19.1438 - # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
19.1439 - # so, if we see these flags be careful not to treat them like -L
19.1440 - -L[A-Z][A-Z]*:*)
19.1441 - case $with_gcc/$host in
19.1442 - no/*-*-irix* | /*-*-irix*)
19.1443 - compile_command="$compile_command $arg"
19.1444 - finalize_command="$finalize_command $arg"
19.1445 - ;;
19.1446 - esac
19.1447 - continue
19.1448 - ;;
19.1449 -
19.1450 - -L*)
19.1451 - dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
19.1452 - # We need an absolute path.
19.1453 - case $dir in
19.1454 - [\\/]* | [A-Za-z]:[\\/]*) ;;
19.1455 - *)
19.1456 - absdir=`cd "$dir" && pwd`
19.1457 - if test -z "$absdir"; then
19.1458 - $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
19.1459 - exit $EXIT_FAILURE
19.1460 - fi
19.1461 - dir="$absdir"
19.1462 - ;;
19.1463 - esac
19.1464 - case "$deplibs " in
19.1465 - *" -L$dir "*) ;;
19.1466 - *)
19.1467 - deplibs="$deplibs -L$dir"
19.1468 - lib_search_path="$lib_search_path $dir"
19.1469 - ;;
19.1470 - esac
19.1471 - case $host in
19.1472 - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
19.1473 - case :$dllsearchpath: in
19.1474 - *":$dir:"*) ;;
19.1475 - *) dllsearchpath="$dllsearchpath:$dir";;
19.1476 - esac
19.1477 - ;;
19.1478 - esac
19.1479 - continue
19.1480 - ;;
19.1481 -
19.1482 - -l*)
19.1483 - if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
19.1484 - case $host in
19.1485 - *-*-cygwin* | *-*-pw32* | *-*-beos*)
19.1486 - # These systems don't actually have a C or math library (as such)
19.1487 - continue
19.1488 - ;;
19.1489 - *-*-mingw* | *-*-os2*)
19.1490 - # These systems don't actually have a C library (as such)
19.1491 - test "X$arg" = "X-lc" && continue
19.1492 - ;;
19.1493 - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
19.1494 - # Do not include libc due to us having libc/libc_r.
19.1495 - test "X$arg" = "X-lc" && continue
19.1496 - ;;
19.1497 - *-*-rhapsody* | *-*-darwin1.[012])
19.1498 - # Rhapsody C and math libraries are in the System framework
19.1499 - deplibs="$deplibs -framework System"
19.1500 - continue
19.1501 - esac
19.1502 - elif test "X$arg" = "X-lc_r"; then
19.1503 - case $host in
19.1504 - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
19.1505 - # Do not include libc_r directly, use -pthread flag.
19.1506 - continue
19.1507 - ;;
19.1508 - esac
19.1509 - fi
19.1510 - deplibs="$deplibs $arg"
19.1511 - continue
19.1512 - ;;
19.1513 -
19.1514 - # Tru64 UNIX uses -model [arg] to determine the layout of C++
19.1515 - # classes, name mangling, and exception handling.
19.1516 - -model)
19.1517 - compile_command="$compile_command $arg"
19.1518 - compiler_flags="$compiler_flags $arg"
19.1519 - finalize_command="$finalize_command $arg"
19.1520 - prev=xcompiler
19.1521 - continue
19.1522 - ;;
19.1523 -
19.1524 - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
19.1525 - compiler_flags="$compiler_flags $arg"
19.1526 - compile_command="$compile_command $arg"
19.1527 - finalize_command="$finalize_command $arg"
19.1528 - continue
19.1529 - ;;
19.1530 -
19.1531 - -module)
19.1532 - module=yes
19.1533 - continue
19.1534 - ;;
19.1535 -
19.1536 - # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
19.1537 - # -r[0-9][0-9]* specifies the processor on the SGI compiler
19.1538 - # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
19.1539 - # +DA*, +DD* enable 64-bit mode on the HP compiler
19.1540 - # -q* pass through compiler args for the IBM compiler
19.1541 - # -m* pass through architecture-specific compiler args for GCC
19.1542 - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*)
19.1543 -
19.1544 - # Unknown arguments in both finalize_command and compile_command need
19.1545 - # to be aesthetically quoted because they are evaled later.
19.1546 - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
19.1547 - case $arg in
19.1548 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.1549 - arg="\"$arg\""
19.1550 - ;;
19.1551 - esac
19.1552 - compile_command="$compile_command $arg"
19.1553 - finalize_command="$finalize_command $arg"
19.1554 - if test "$with_gcc" = "yes" ; then
19.1555 - compiler_flags="$compiler_flags $arg"
19.1556 - fi
19.1557 - continue
19.1558 - ;;
19.1559 -
19.1560 - -shrext)
19.1561 - prev=shrext
19.1562 - continue
19.1563 - ;;
19.1564 -
19.1565 - -no-fast-install)
19.1566 - fast_install=no
19.1567 - continue
19.1568 - ;;
19.1569 -
19.1570 - -no-install)
19.1571 - case $host in
19.1572 - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
19.1573 - # The PATH hackery in wrapper scripts is required on Windows
19.1574 - # in order for the loader to find any dlls it needs.
19.1575 - $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
19.1576 - $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
19.1577 - fast_install=no
19.1578 - ;;
19.1579 - *) no_install=yes ;;
19.1580 - esac
19.1581 - continue
19.1582 - ;;
19.1583 -
19.1584 - -no-undefined)
19.1585 - allow_undefined=no
19.1586 - continue
19.1587 - ;;
19.1588 -
19.1589 - -objectlist)
19.1590 - prev=objectlist
19.1591 - continue
19.1592 - ;;
19.1593 -
19.1594 - -o) prev=output ;;
19.1595 -
19.1596 - -precious-files-regex)
19.1597 - prev=precious_regex
19.1598 - continue
19.1599 - ;;
19.1600 -
19.1601 - -release)
19.1602 - prev=release
19.1603 - continue
19.1604 - ;;
19.1605 -
19.1606 - -rpath)
19.1607 - prev=rpath
19.1608 - continue
19.1609 - ;;
19.1610 -
19.1611 - -R)
19.1612 - prev=xrpath
19.1613 - continue
19.1614 - ;;
19.1615 -
19.1616 - -R*)
19.1617 - dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
19.1618 - # We need an absolute path.
19.1619 - case $dir in
19.1620 - [\\/]* | [A-Za-z]:[\\/]*) ;;
19.1621 - *)
19.1622 - $echo "$modename: only absolute run-paths are allowed" 1>&2
19.1623 - exit $EXIT_FAILURE
19.1624 - ;;
19.1625 - esac
19.1626 - case "$xrpath " in
19.1627 - *" $dir "*) ;;
19.1628 - *) xrpath="$xrpath $dir" ;;
19.1629 - esac
19.1630 - continue
19.1631 - ;;
19.1632 -
19.1633 - -static)
19.1634 - # The effects of -static are defined in a previous loop.
19.1635 - # We used to do the same as -all-static on platforms that
19.1636 - # didn't have a PIC flag, but the assumption that the effects
19.1637 - # would be equivalent was wrong. It would break on at least
19.1638 - # Digital Unix and AIX.
19.1639 - continue
19.1640 - ;;
19.1641 -
19.1642 - -thread-safe)
19.1643 - thread_safe=yes
19.1644 - continue
19.1645 - ;;
19.1646 -
19.1647 - -version-info)
19.1648 - prev=vinfo
19.1649 - continue
19.1650 - ;;
19.1651 - -version-number)
19.1652 - prev=vinfo
19.1653 - vinfo_number=yes
19.1654 - continue
19.1655 - ;;
19.1656 -
19.1657 - -Wc,*)
19.1658 - args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
19.1659 - arg=
19.1660 - save_ifs="$IFS"; IFS=','
19.1661 - for flag in $args; do
19.1662 - IFS="$save_ifs"
19.1663 - case $flag in
19.1664 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.1665 - flag="\"$flag\""
19.1666 - ;;
19.1667 - esac
19.1668 - arg="$arg $wl$flag"
19.1669 - compiler_flags="$compiler_flags $flag"
19.1670 - done
19.1671 - IFS="$save_ifs"
19.1672 - arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
19.1673 - ;;
19.1674 -
19.1675 - -Wl,*)
19.1676 - args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
19.1677 - arg=
19.1678 - save_ifs="$IFS"; IFS=','
19.1679 - for flag in $args; do
19.1680 - IFS="$save_ifs"
19.1681 - case $flag in
19.1682 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.1683 - flag="\"$flag\""
19.1684 - ;;
19.1685 - esac
19.1686 - arg="$arg $wl$flag"
19.1687 - compiler_flags="$compiler_flags $wl$flag"
19.1688 - linker_flags="$linker_flags $flag"
19.1689 - done
19.1690 - IFS="$save_ifs"
19.1691 - arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
19.1692 - ;;
19.1693 -
19.1694 - -Xcompiler)
19.1695 - prev=xcompiler
19.1696 - continue
19.1697 - ;;
19.1698 -
19.1699 - -Xlinker)
19.1700 - prev=xlinker
19.1701 - continue
19.1702 - ;;
19.1703 -
19.1704 - -XCClinker)
19.1705 - prev=xcclinker
19.1706 - continue
19.1707 - ;;
19.1708 -
19.1709 - # Some other compiler flag.
19.1710 - -* | +*)
19.1711 - # Unknown arguments in both finalize_command and compile_command need
19.1712 - # to be aesthetically quoted because they are evaled later.
19.1713 - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
19.1714 - case $arg in
19.1715 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.1716 - arg="\"$arg\""
19.1717 - ;;
19.1718 - esac
19.1719 - ;;
19.1720 -
19.1721 - *.$objext)
19.1722 - # A standard object.
19.1723 - objs="$objs $arg"
19.1724 - ;;
19.1725 -
19.1726 - *.lo)
19.1727 - # A libtool-controlled object.
19.1728 -
19.1729 - # Check to see that this really is a libtool object.
19.1730 - if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
19.1731 - pic_object=
19.1732 - non_pic_object=
19.1733 -
19.1734 - # Read the .lo file
19.1735 - # If there is no directory component, then add one.
19.1736 - case $arg in
19.1737 - */* | *\\*) . $arg ;;
19.1738 - *) . ./$arg ;;
19.1739 - esac
19.1740 -
19.1741 - if test -z "$pic_object" || \
19.1742 - test -z "$non_pic_object" ||
19.1743 - test "$pic_object" = none && \
19.1744 - test "$non_pic_object" = none; then
19.1745 - $echo "$modename: cannot find name of object for \`$arg'" 1>&2
19.1746 - exit $EXIT_FAILURE
19.1747 - fi
19.1748 -
19.1749 - # Extract subdirectory from the argument.
19.1750 - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
19.1751 - if test "X$xdir" = "X$arg"; then
19.1752 - xdir=
19.1753 - else
19.1754 - xdir="$xdir/"
19.1755 - fi
19.1756 -
19.1757 - if test "$pic_object" != none; then
19.1758 - # Prepend the subdirectory the object is found in.
19.1759 - pic_object="$xdir$pic_object"
19.1760 -
19.1761 - if test "$prev" = dlfiles; then
19.1762 - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
19.1763 - dlfiles="$dlfiles $pic_object"
19.1764 - prev=
19.1765 - continue
19.1766 - else
19.1767 - # If libtool objects are unsupported, then we need to preload.
19.1768 - prev=dlprefiles
19.1769 - fi
19.1770 - fi
19.1771 -
19.1772 - # CHECK ME: I think I busted this. -Ossama
19.1773 - if test "$prev" = dlprefiles; then
19.1774 - # Preload the old-style object.
19.1775 - dlprefiles="$dlprefiles $pic_object"
19.1776 - prev=
19.1777 - fi
19.1778 -
19.1779 - # A PIC object.
19.1780 - libobjs="$libobjs $pic_object"
19.1781 - arg="$pic_object"
19.1782 - fi
19.1783 -
19.1784 - # Non-PIC object.
19.1785 - if test "$non_pic_object" != none; then
19.1786 - # Prepend the subdirectory the object is found in.
19.1787 - non_pic_object="$xdir$non_pic_object"
19.1788 -
19.1789 - # A standard non-PIC object
19.1790 - non_pic_objects="$non_pic_objects $non_pic_object"
19.1791 - if test -z "$pic_object" || test "$pic_object" = none ; then
19.1792 - arg="$non_pic_object"
19.1793 - fi
19.1794 - fi
19.1795 - else
19.1796 - # Only an error if not doing a dry-run.
19.1797 - if test -z "$run"; then
19.1798 - $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
19.1799 - exit $EXIT_FAILURE
19.1800 - else
19.1801 - # Dry-run case.
19.1802 -
19.1803 - # Extract subdirectory from the argument.
19.1804 - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
19.1805 - if test "X$xdir" = "X$arg"; then
19.1806 - xdir=
19.1807 - else
19.1808 - xdir="$xdir/"
19.1809 - fi
19.1810 -
19.1811 - pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
19.1812 - non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
19.1813 - libobjs="$libobjs $pic_object"
19.1814 - non_pic_objects="$non_pic_objects $non_pic_object"
19.1815 - fi
19.1816 - fi
19.1817 - ;;
19.1818 -
19.1819 - *.$libext)
19.1820 - # An archive.
19.1821 - deplibs="$deplibs $arg"
19.1822 - old_deplibs="$old_deplibs $arg"
19.1823 - continue
19.1824 - ;;
19.1825 -
19.1826 - *.la)
19.1827 - # A libtool-controlled library.
19.1828 -
19.1829 - if test "$prev" = dlfiles; then
19.1830 - # This library was specified with -dlopen.
19.1831 - dlfiles="$dlfiles $arg"
19.1832 - prev=
19.1833 - elif test "$prev" = dlprefiles; then
19.1834 - # The library was specified with -dlpreopen.
19.1835 - dlprefiles="$dlprefiles $arg"
19.1836 - prev=
19.1837 - else
19.1838 - deplibs="$deplibs $arg"
19.1839 - fi
19.1840 - continue
19.1841 - ;;
19.1842 -
19.1843 - # Some other compiler argument.
19.1844 - *)
19.1845 - # Unknown arguments in both finalize_command and compile_command need
19.1846 - # to be aesthetically quoted because they are evaled later.
19.1847 - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
19.1848 - case $arg in
19.1849 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.1850 - arg="\"$arg\""
19.1851 - ;;
19.1852 - esac
19.1853 - ;;
19.1854 - esac # arg
19.1855 -
19.1856 - # Now actually substitute the argument into the commands.
19.1857 - if test -n "$arg"; then
19.1858 - compile_command="$compile_command $arg"
19.1859 - finalize_command="$finalize_command $arg"
19.1860 - fi
19.1861 - done # argument parsing loop
19.1862 -
19.1863 - if test -n "$prev"; then
19.1864 - $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
19.1865 - $echo "$help" 1>&2
19.1866 - exit $EXIT_FAILURE
19.1867 - fi
19.1868 -
19.1869 - if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
19.1870 - eval arg=\"$export_dynamic_flag_spec\"
19.1871 - compile_command="$compile_command $arg"
19.1872 - finalize_command="$finalize_command $arg"
19.1873 - fi
19.1874 -
19.1875 - oldlibs=
19.1876 - # calculate the name of the file, without its directory
19.1877 - outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
19.1878 - libobjs_save="$libobjs"
19.1879 -
19.1880 - if test -n "$shlibpath_var"; then
19.1881 - # get the directories listed in $shlibpath_var
19.1882 - eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
19.1883 - else
19.1884 - shlib_search_path=
19.1885 - fi
19.1886 - eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
19.1887 - eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
19.1888 -
19.1889 - output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
19.1890 - if test "X$output_objdir" = "X$output"; then
19.1891 - output_objdir="$objdir"
19.1892 - else
19.1893 - output_objdir="$output_objdir/$objdir"
19.1894 - fi
19.1895 - # Create the object directory.
19.1896 - if test ! -d "$output_objdir"; then
19.1897 - $show "$mkdir $output_objdir"
19.1898 - $run $mkdir $output_objdir
19.1899 - status=$?
19.1900 - if test "$status" -ne 0 && test ! -d "$output_objdir"; then
19.1901 - exit $status
19.1902 - fi
19.1903 - fi
19.1904 -
19.1905 - # Determine the type of output
19.1906 - case $output in
19.1907 - "")
19.1908 - $echo "$modename: you must specify an output file" 1>&2
19.1909 - $echo "$help" 1>&2
19.1910 - exit $EXIT_FAILURE
19.1911 - ;;
19.1912 - *.$libext) linkmode=oldlib ;;
19.1913 - *.lo | *.$objext) linkmode=obj ;;
19.1914 - *.la) linkmode=lib ;;
19.1915 - *) linkmode=prog ;; # Anything else should be a program.
19.1916 - esac
19.1917 -
19.1918 - case $host in
19.1919 - *cygwin* | *mingw* | *pw32*)
19.1920 - # don't eliminate duplications in $postdeps and $predeps
19.1921 - duplicate_compiler_generated_deps=yes
19.1922 - ;;
19.1923 - *)
19.1924 - duplicate_compiler_generated_deps=$duplicate_deps
19.1925 - ;;
19.1926 - esac
19.1927 - specialdeplibs=
19.1928 -
19.1929 - libs=
19.1930 - # Find all interdependent deplibs by searching for libraries
19.1931 - # that are linked more than once (e.g. -la -lb -la)
19.1932 - for deplib in $deplibs; do
19.1933 - if test "X$duplicate_deps" = "Xyes" ; then
19.1934 - case "$libs " in
19.1935 - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
19.1936 - esac
19.1937 - fi
19.1938 - libs="$libs $deplib"
19.1939 - done
19.1940 -
19.1941 - if test "$linkmode" = lib; then
19.1942 - libs="$predeps $libs $compiler_lib_search_path $postdeps"
19.1943 -
19.1944 - # Compute libraries that are listed more than once in $predeps
19.1945 - # $postdeps and mark them as special (i.e., whose duplicates are
19.1946 - # not to be eliminated).
19.1947 - pre_post_deps=
19.1948 - if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
19.1949 - for pre_post_dep in $predeps $postdeps; do
19.1950 - case "$pre_post_deps " in
19.1951 - *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
19.1952 - esac
19.1953 - pre_post_deps="$pre_post_deps $pre_post_dep"
19.1954 - done
19.1955 - fi
19.1956 - pre_post_deps=
19.1957 - fi
19.1958 -
19.1959 - deplibs=
19.1960 - newdependency_libs=
19.1961 - newlib_search_path=
19.1962 - need_relink=no # whether we're linking any uninstalled libtool libraries
19.1963 - notinst_deplibs= # not-installed libtool libraries
19.1964 - notinst_path= # paths that contain not-installed libtool libraries
19.1965 - case $linkmode in
19.1966 - lib)
19.1967 - passes="conv link"
19.1968 - for file in $dlfiles $dlprefiles; do
19.1969 - case $file in
19.1970 - *.la) ;;
19.1971 - *)
19.1972 - $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
19.1973 - exit $EXIT_FAILURE
19.1974 - ;;
19.1975 - esac
19.1976 - done
19.1977 - ;;
19.1978 - prog)
19.1979 - compile_deplibs=
19.1980 - finalize_deplibs=
19.1981 - alldeplibs=no
19.1982 - newdlfiles=
19.1983 - newdlprefiles=
19.1984 - passes="conv scan dlopen dlpreopen link"
19.1985 - ;;
19.1986 - *) passes="conv"
19.1987 - ;;
19.1988 - esac
19.1989 - for pass in $passes; do
19.1990 - if test "$linkmode,$pass" = "lib,link" ||
19.1991 - test "$linkmode,$pass" = "prog,scan"; then
19.1992 - libs="$deplibs"
19.1993 - deplibs=
19.1994 - fi
19.1995 - if test "$linkmode" = prog; then
19.1996 - case $pass in
19.1997 - dlopen) libs="$dlfiles" ;;
19.1998 - dlpreopen) libs="$dlprefiles" ;;
19.1999 - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
19.2000 - esac
19.2001 - fi
19.2002 - if test "$pass" = dlopen; then
19.2003 - # Collect dlpreopened libraries
19.2004 - save_deplibs="$deplibs"
19.2005 - deplibs=
19.2006 - fi
19.2007 - for deplib in $libs; do
19.2008 - lib=
19.2009 - found=no
19.2010 - case $deplib in
19.2011 - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
19.2012 - if test "$linkmode,$pass" = "prog,link"; then
19.2013 - compile_deplibs="$deplib $compile_deplibs"
19.2014 - finalize_deplibs="$deplib $finalize_deplibs"
19.2015 - else
19.2016 - compiler_flags="$compiler_flags $deplib"
19.2017 - fi
19.2018 - continue
19.2019 - ;;
19.2020 - -l*)
19.2021 - if test "$linkmode" != lib && test "$linkmode" != prog; then
19.2022 - $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
19.2023 - continue
19.2024 - fi
19.2025 - name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
19.2026 - for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
19.2027 - for search_ext in .la $std_shrext .so .a; do
19.2028 - # Search the libtool library
19.2029 - lib="$searchdir/lib${name}${search_ext}"
19.2030 - if test -f "$lib"; then
19.2031 - if test "$search_ext" = ".la"; then
19.2032 - found=yes
19.2033 - else
19.2034 - found=no
19.2035 - fi
19.2036 - break 2
19.2037 - fi
19.2038 - done
19.2039 - done
19.2040 - if test "$found" != yes; then
19.2041 - # deplib doesn't seem to be a libtool library
19.2042 - if test "$linkmode,$pass" = "prog,link"; then
19.2043 - compile_deplibs="$deplib $compile_deplibs"
19.2044 - finalize_deplibs="$deplib $finalize_deplibs"
19.2045 - else
19.2046 - deplibs="$deplib $deplibs"
19.2047 - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
19.2048 - fi
19.2049 - continue
19.2050 - else # deplib is a libtool library
19.2051 - # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
19.2052 - # We need to do some special things here, and not later.
19.2053 - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
19.2054 - case " $predeps $postdeps " in
19.2055 - *" $deplib "*)
19.2056 - if (${SED} -e '2q' $lib |
19.2057 - grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
19.2058 - library_names=
19.2059 - old_library=
19.2060 - case $lib in
19.2061 - */* | *\\*) . $lib ;;
19.2062 - *) . ./$lib ;;
19.2063 - esac
19.2064 - for l in $old_library $library_names; do
19.2065 - ll="$l"
19.2066 - done
19.2067 - if test "X$ll" = "X$old_library" ; then # only static version available
19.2068 - found=no
19.2069 - ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
19.2070 - test "X$ladir" = "X$lib" && ladir="."
19.2071 - lib=$ladir/$old_library
19.2072 - if test "$linkmode,$pass" = "prog,link"; then
19.2073 - compile_deplibs="$deplib $compile_deplibs"
19.2074 - finalize_deplibs="$deplib $finalize_deplibs"
19.2075 - else
19.2076 - deplibs="$deplib $deplibs"
19.2077 - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
19.2078 - fi
19.2079 - continue
19.2080 - fi
19.2081 - fi
19.2082 - ;;
19.2083 - *) ;;
19.2084 - esac
19.2085 - fi
19.2086 - fi
19.2087 - ;; # -l
19.2088 - -L*)
19.2089 - case $linkmode in
19.2090 - lib)
19.2091 - deplibs="$deplib $deplibs"
19.2092 - test "$pass" = conv && continue
19.2093 - newdependency_libs="$deplib $newdependency_libs"
19.2094 - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
19.2095 - ;;
19.2096 - prog)
19.2097 - if test "$pass" = conv; then
19.2098 - deplibs="$deplib $deplibs"
19.2099 - continue
19.2100 - fi
19.2101 - if test "$pass" = scan; then
19.2102 - deplibs="$deplib $deplibs"
19.2103 - else
19.2104 - compile_deplibs="$deplib $compile_deplibs"
19.2105 - finalize_deplibs="$deplib $finalize_deplibs"
19.2106 - fi
19.2107 - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
19.2108 - ;;
19.2109 - *)
19.2110 - $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
19.2111 - ;;
19.2112 - esac # linkmode
19.2113 - continue
19.2114 - ;; # -L
19.2115 - -R*)
19.2116 - if test "$pass" = link; then
19.2117 - dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
19.2118 - # Make sure the xrpath contains only unique directories.
19.2119 - case "$xrpath " in
19.2120 - *" $dir "*) ;;
19.2121 - *) xrpath="$xrpath $dir" ;;
19.2122 - esac
19.2123 - fi
19.2124 - deplibs="$deplib $deplibs"
19.2125 - continue
19.2126 - ;;
19.2127 - *.la) lib="$deplib" ;;
19.2128 - *.$libext)
19.2129 - if test "$pass" = conv; then
19.2130 - deplibs="$deplib $deplibs"
19.2131 - continue
19.2132 - fi
19.2133 - case $linkmode in
19.2134 - lib)
19.2135 - valid_a_lib=no
19.2136 - case $deplibs_check_method in
19.2137 - match_pattern*)
19.2138 - set dummy $deplibs_check_method
19.2139 - match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
19.2140 - if eval $echo \"$deplib\" 2>/dev/null \
19.2141 - | $SED 10q \
19.2142 - | $EGREP "$match_pattern_regex" > /dev/null; then
19.2143 - valid_a_lib=yes
19.2144 - fi
19.2145 - ;;
19.2146 - pass_all)
19.2147 - valid_a_lib=yes
19.2148 - ;;
19.2149 - esac
19.2150 - if test "$valid_a_lib" != yes; then
19.2151 - $echo
19.2152 - $echo "*** Warning: Trying to link with static lib archive $deplib."
19.2153 - $echo "*** I have the capability to make that library automatically link in when"
19.2154 - $echo "*** you link to this library. But I can only do this if you have a"
19.2155 - $echo "*** shared version of the library, which you do not appear to have"
19.2156 - $echo "*** because the file extensions .$libext of this argument makes me believe"
19.2157 - $echo "*** that it is just a static archive that I should not used here."
19.2158 - else
19.2159 - $echo
19.2160 - $echo "*** Warning: Linking the shared library $output against the"
19.2161 - $echo "*** static library $deplib is not portable!"
19.2162 - deplibs="$deplib $deplibs"
19.2163 - fi
19.2164 - continue
19.2165 - ;;
19.2166 - prog)
19.2167 - if test "$pass" != link; then
19.2168 - deplibs="$deplib $deplibs"
19.2169 - else
19.2170 - compile_deplibs="$deplib $compile_deplibs"
19.2171 - finalize_deplibs="$deplib $finalize_deplibs"
19.2172 - fi
19.2173 - continue
19.2174 - ;;
19.2175 - esac # linkmode
19.2176 - ;; # *.$libext
19.2177 - *.lo | *.$objext)
19.2178 - if test "$pass" = conv; then
19.2179 - deplibs="$deplib $deplibs"
19.2180 - elif test "$linkmode" = prog; then
19.2181 - if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
19.2182 - # If there is no dlopen support or we're linking statically,
19.2183 - # we need to preload.
19.2184 - newdlprefiles="$newdlprefiles $deplib"
19.2185 - compile_deplibs="$deplib $compile_deplibs"
19.2186 - finalize_deplibs="$deplib $finalize_deplibs"
19.2187 - else
19.2188 - newdlfiles="$newdlfiles $deplib"
19.2189 - fi
19.2190 - fi
19.2191 - continue
19.2192 - ;;
19.2193 - %DEPLIBS%)
19.2194 - alldeplibs=yes
19.2195 - continue
19.2196 - ;;
19.2197 - esac # case $deplib
19.2198 - if test "$found" = yes || test -f "$lib"; then :
19.2199 - else
19.2200 - $echo "$modename: cannot find the library \`$lib'" 1>&2
19.2201 - exit $EXIT_FAILURE
19.2202 - fi
19.2203 -
19.2204 - # Check to see that this really is a libtool archive.
19.2205 - if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
19.2206 - else
19.2207 - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
19.2208 - exit $EXIT_FAILURE
19.2209 - fi
19.2210 -
19.2211 - ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
19.2212 - test "X$ladir" = "X$lib" && ladir="."
19.2213 -
19.2214 - dlname=
19.2215 - dlopen=
19.2216 - dlpreopen=
19.2217 - libdir=
19.2218 - library_names=
19.2219 - old_library=
19.2220 - # If the library was installed with an old release of libtool,
19.2221 - # it will not redefine variables installed, or shouldnotlink
19.2222 - installed=yes
19.2223 - shouldnotlink=no
19.2224 - avoidtemprpath=
19.2225 -
19.2226 -
19.2227 - # Read the .la file
19.2228 - case $lib in
19.2229 - */* | *\\*) . $lib ;;
19.2230 - *) . ./$lib ;;
19.2231 - esac
19.2232 -
19.2233 - if test "$linkmode,$pass" = "lib,link" ||
19.2234 - test "$linkmode,$pass" = "prog,scan" ||
19.2235 - { test "$linkmode" != prog && test "$linkmode" != lib; }; then
19.2236 - test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
19.2237 - test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
19.2238 - fi
19.2239 -
19.2240 - if test "$pass" = conv; then
19.2241 - # Only check for convenience libraries
19.2242 - deplibs="$lib $deplibs"
19.2243 - if test -z "$libdir"; then
19.2244 - if test -z "$old_library"; then
19.2245 - $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
19.2246 - exit $EXIT_FAILURE
19.2247 - fi
19.2248 - # It is a libtool convenience library, so add in its objects.
19.2249 - convenience="$convenience $ladir/$objdir/$old_library"
19.2250 - old_convenience="$old_convenience $ladir/$objdir/$old_library"
19.2251 - tmp_libs=
19.2252 - for deplib in $dependency_libs; do
19.2253 - deplibs="$deplib $deplibs"
19.2254 - if test "X$duplicate_deps" = "Xyes" ; then
19.2255 - case "$tmp_libs " in
19.2256 - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
19.2257 - esac
19.2258 - fi
19.2259 - tmp_libs="$tmp_libs $deplib"
19.2260 - done
19.2261 - elif test "$linkmode" != prog && test "$linkmode" != lib; then
19.2262 - $echo "$modename: \`$lib' is not a convenience library" 1>&2
19.2263 - exit $EXIT_FAILURE
19.2264 - fi
19.2265 - continue
19.2266 - fi # $pass = conv
19.2267 -
19.2268 -
19.2269 - # Get the name of the library we link against.
19.2270 - linklib=
19.2271 - for l in $old_library $library_names; do
19.2272 - linklib="$l"
19.2273 - done
19.2274 - if test -z "$linklib"; then
19.2275 - $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
19.2276 - exit $EXIT_FAILURE
19.2277 - fi
19.2278 -
19.2279 - # This library was specified with -dlopen.
19.2280 - if test "$pass" = dlopen; then
19.2281 - if test -z "$libdir"; then
19.2282 - $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
19.2283 - exit $EXIT_FAILURE
19.2284 - fi
19.2285 - if test -z "$dlname" ||
19.2286 - test "$dlopen_support" != yes ||
19.2287 - test "$build_libtool_libs" = no; then
19.2288 - # If there is no dlname, no dlopen support or we're linking
19.2289 - # statically, we need to preload. We also need to preload any
19.2290 - # dependent libraries so libltdl's deplib preloader doesn't
19.2291 - # bomb out in the load deplibs phase.
19.2292 - dlprefiles="$dlprefiles $lib $dependency_libs"
19.2293 - else
19.2294 - newdlfiles="$newdlfiles $lib"
19.2295 - fi
19.2296 - continue
19.2297 - fi # $pass = dlopen
19.2298 -
19.2299 - # We need an absolute path.
19.2300 - case $ladir in
19.2301 - [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
19.2302 - *)
19.2303 - abs_ladir=`cd "$ladir" && pwd`
19.2304 - if test -z "$abs_ladir"; then
19.2305 - $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
19.2306 - $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
19.2307 - abs_ladir="$ladir"
19.2308 - fi
19.2309 - ;;
19.2310 - esac
19.2311 - laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
19.2312 -
19.2313 - # Find the relevant object directory and library name.
19.2314 - if test "X$installed" = Xyes; then
19.2315 - if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
19.2316 - $echo "$modename: warning: library \`$lib' was moved." 1>&2
19.2317 - dir="$ladir"
19.2318 - absdir="$abs_ladir"
19.2319 - libdir="$abs_ladir"
19.2320 - else
19.2321 - dir="$libdir"
19.2322 - absdir="$libdir"
19.2323 - fi
19.2324 - test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
19.2325 - else
19.2326 - if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
19.2327 - dir="$ladir"
19.2328 - absdir="$abs_ladir"
19.2329 - # Remove this search path later
19.2330 - notinst_path="$notinst_path $abs_ladir"
19.2331 - else
19.2332 - dir="$ladir/$objdir"
19.2333 - absdir="$abs_ladir/$objdir"
19.2334 - # Remove this search path later
19.2335 - notinst_path="$notinst_path $abs_ladir"
19.2336 - fi
19.2337 - fi # $installed = yes
19.2338 - name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
19.2339 -
19.2340 - # This library was specified with -dlpreopen.
19.2341 - if test "$pass" = dlpreopen; then
19.2342 - if test -z "$libdir"; then
19.2343 - $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
19.2344 - exit $EXIT_FAILURE
19.2345 - fi
19.2346 - # Prefer using a static library (so that no silly _DYNAMIC symbols
19.2347 - # are required to link).
19.2348 - if test -n "$old_library"; then
19.2349 - newdlprefiles="$newdlprefiles $dir/$old_library"
19.2350 - # Otherwise, use the dlname, so that lt_dlopen finds it.
19.2351 - elif test -n "$dlname"; then
19.2352 - newdlprefiles="$newdlprefiles $dir/$dlname"
19.2353 - else
19.2354 - newdlprefiles="$newdlprefiles $dir/$linklib"
19.2355 - fi
19.2356 - fi # $pass = dlpreopen
19.2357 -
19.2358 - if test -z "$libdir"; then
19.2359 - # Link the convenience library
19.2360 - if test "$linkmode" = lib; then
19.2361 - deplibs="$dir/$old_library $deplibs"
19.2362 - elif test "$linkmode,$pass" = "prog,link"; then
19.2363 - compile_deplibs="$dir/$old_library $compile_deplibs"
19.2364 - finalize_deplibs="$dir/$old_library $finalize_deplibs"
19.2365 - else
19.2366 - deplibs="$lib $deplibs" # used for prog,scan pass
19.2367 - fi
19.2368 - continue
19.2369 - fi
19.2370 -
19.2371 -
19.2372 - if test "$linkmode" = prog && test "$pass" != link; then
19.2373 - newlib_search_path="$newlib_search_path $ladir"
19.2374 - deplibs="$lib $deplibs"
19.2375 -
19.2376 - linkalldeplibs=no
19.2377 - if test "$link_all_deplibs" != no || test -z "$library_names" ||
19.2378 - test "$build_libtool_libs" = no; then
19.2379 - linkalldeplibs=yes
19.2380 - fi
19.2381 -
19.2382 - tmp_libs=
19.2383 - for deplib in $dependency_libs; do
19.2384 - case $deplib in
19.2385 - -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
19.2386 - esac
19.2387 - # Need to link against all dependency_libs?
19.2388 - if test "$linkalldeplibs" = yes; then
19.2389 - deplibs="$deplib $deplibs"
19.2390 - else
19.2391 - # Need to hardcode shared library paths
19.2392 - # or/and link against static libraries
19.2393 - newdependency_libs="$deplib $newdependency_libs"
19.2394 - fi
19.2395 - if test "X$duplicate_deps" = "Xyes" ; then
19.2396 - case "$tmp_libs " in
19.2397 - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
19.2398 - esac
19.2399 - fi
19.2400 - tmp_libs="$tmp_libs $deplib"
19.2401 - done # for deplib
19.2402 - continue
19.2403 - fi # $linkmode = prog...
19.2404 -
19.2405 - if test "$linkmode,$pass" = "prog,link"; then
19.2406 - if test -n "$library_names" &&
19.2407 - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
19.2408 - # We need to hardcode the library path
19.2409 - if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
19.2410 - # Make sure the rpath contains only unique directories.
19.2411 - case "$temp_rpath " in
19.2412 - *" $dir "*) ;;
19.2413 - *" $absdir "*) ;;
19.2414 - *) temp_rpath="$temp_rpath $absdir" ;;
19.2415 - esac
19.2416 - fi
19.2417 -
19.2418 - # Hardcode the library path.
19.2419 - # Skip directories that are in the system default run-time
19.2420 - # search path.
19.2421 - case " $sys_lib_dlsearch_path " in
19.2422 - *" $absdir "*) ;;
19.2423 - *)
19.2424 - case "$compile_rpath " in
19.2425 - *" $absdir "*) ;;
19.2426 - *) compile_rpath="$compile_rpath $absdir"
19.2427 - esac
19.2428 - ;;
19.2429 - esac
19.2430 - case " $sys_lib_dlsearch_path " in
19.2431 - *" $libdir "*) ;;
19.2432 - *)
19.2433 - case "$finalize_rpath " in
19.2434 - *" $libdir "*) ;;
19.2435 - *) finalize_rpath="$finalize_rpath $libdir"
19.2436 - esac
19.2437 - ;;
19.2438 - esac
19.2439 - fi # $linkmode,$pass = prog,link...
19.2440 -
19.2441 - if test "$alldeplibs" = yes &&
19.2442 - { test "$deplibs_check_method" = pass_all ||
19.2443 - { test "$build_libtool_libs" = yes &&
19.2444 - test -n "$library_names"; }; }; then
19.2445 - # We only need to search for static libraries
19.2446 - continue
19.2447 - fi
19.2448 - fi
19.2449 -
19.2450 - link_static=no # Whether the deplib will be linked statically
19.2451 - if test -n "$library_names" &&
19.2452 - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
19.2453 - if test "$installed" = no; then
19.2454 - notinst_deplibs="$notinst_deplibs $lib"
19.2455 - need_relink=yes
19.2456 - fi
19.2457 - # This is a shared library
19.2458 -
19.2459 - # Warn about portability, can't link against -module's on
19.2460 - # some systems (darwin)
19.2461 - if test "$shouldnotlink" = yes && test "$pass" = link ; then
19.2462 - $echo
19.2463 - if test "$linkmode" = prog; then
19.2464 - $echo "*** Warning: Linking the executable $output against the loadable module"
19.2465 - else
19.2466 - $echo "*** Warning: Linking the shared library $output against the loadable module"
19.2467 - fi
19.2468 - $echo "*** $linklib is not portable!"
19.2469 - fi
19.2470 - if test "$linkmode" = lib &&
19.2471 - test "$hardcode_into_libs" = yes; then
19.2472 - # Hardcode the library path.
19.2473 - # Skip directories that are in the system default run-time
19.2474 - # search path.
19.2475 - case " $sys_lib_dlsearch_path " in
19.2476 - *" $absdir "*) ;;
19.2477 - *)
19.2478 - case "$compile_rpath " in
19.2479 - *" $absdir "*) ;;
19.2480 - *) compile_rpath="$compile_rpath $absdir"
19.2481 - esac
19.2482 - ;;
19.2483 - esac
19.2484 - case " $sys_lib_dlsearch_path " in
19.2485 - *" $libdir "*) ;;
19.2486 - *)
19.2487 - case "$finalize_rpath " in
19.2488 - *" $libdir "*) ;;
19.2489 - *) finalize_rpath="$finalize_rpath $libdir"
19.2490 - esac
19.2491 - ;;
19.2492 - esac
19.2493 - fi
19.2494 -
19.2495 - if test -n "$old_archive_from_expsyms_cmds"; then
19.2496 - # figure out the soname
19.2497 - set dummy $library_names
19.2498 - realname="$2"
19.2499 - shift; shift
19.2500 - libname=`eval \\$echo \"$libname_spec\"`
19.2501 - # use dlname if we got it. it's perfectly good, no?
19.2502 - if test -n "$dlname"; then
19.2503 - soname="$dlname"
19.2504 - elif test -n "$soname_spec"; then
19.2505 - # bleh windows
19.2506 - case $host in
19.2507 - *cygwin* | mingw*)
19.2508 - major=`expr $current - $age`
19.2509 - versuffix="-$major"
19.2510 - ;;
19.2511 - esac
19.2512 - eval soname=\"$soname_spec\"
19.2513 - else
19.2514 - soname="$realname"
19.2515 - fi
19.2516 -
19.2517 - # Make a new name for the extract_expsyms_cmds to use
19.2518 - soroot="$soname"
19.2519 - soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
19.2520 - newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
19.2521 -
19.2522 - # If the library has no export list, then create one now
19.2523 - if test -f "$output_objdir/$soname-def"; then :
19.2524 - else
19.2525 - $show "extracting exported symbol list from \`$soname'"
19.2526 - save_ifs="$IFS"; IFS='~'
19.2527 - cmds=$extract_expsyms_cmds
19.2528 - for cmd in $cmds; do
19.2529 - IFS="$save_ifs"
19.2530 - eval cmd=\"$cmd\"
19.2531 - $show "$cmd"
19.2532 - $run eval "$cmd" || exit $?
19.2533 - done
19.2534 - IFS="$save_ifs"
19.2535 - fi
19.2536 -
19.2537 - # Create $newlib
19.2538 - if test -f "$output_objdir/$newlib"; then :; else
19.2539 - $show "generating import library for \`$soname'"
19.2540 - save_ifs="$IFS"; IFS='~'
19.2541 - cmds=$old_archive_from_expsyms_cmds
19.2542 - for cmd in $cmds; do
19.2543 - IFS="$save_ifs"
19.2544 - eval cmd=\"$cmd\"
19.2545 - $show "$cmd"
19.2546 - $run eval "$cmd" || exit $?
19.2547 - done
19.2548 - IFS="$save_ifs"
19.2549 - fi
19.2550 - # make sure the library variables are pointing to the new library
19.2551 - dir=$output_objdir
19.2552 - linklib=$newlib
19.2553 - fi # test -n "$old_archive_from_expsyms_cmds"
19.2554 -
19.2555 - if test "$linkmode" = prog || test "$mode" != relink; then
19.2556 - add_shlibpath=
19.2557 - add_dir=
19.2558 - add=
19.2559 - lib_linked=yes
19.2560 - case $hardcode_action in
19.2561 - immediate | unsupported)
19.2562 - if test "$hardcode_direct" = no; then
19.2563 - add="$dir/$linklib"
19.2564 - case $host in
19.2565 - *-*-sco3.2v5* ) add_dir="-L$dir" ;;
19.2566 - *-*-darwin* )
19.2567 - # if the lib is a module then we can not link against
19.2568 - # it, someone is ignoring the new warnings I added
19.2569 - if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then
19.2570 - $echo "** Warning, lib $linklib is a module, not a shared library"
19.2571 - if test -z "$old_library" ; then
19.2572 - $echo
19.2573 - $echo "** And there doesn't seem to be a static archive available"
19.2574 - $echo "** The link will probably fail, sorry"
19.2575 - else
19.2576 - add="$dir/$old_library"
19.2577 - fi
19.2578 - fi
19.2579 - esac
19.2580 - elif test "$hardcode_minus_L" = no; then
19.2581 - case $host in
19.2582 - *-*-sunos*) add_shlibpath="$dir" ;;
19.2583 - esac
19.2584 - add_dir="-L$dir"
19.2585 - add="-l$name"
19.2586 - elif test "$hardcode_shlibpath_var" = no; then
19.2587 - add_shlibpath="$dir"
19.2588 - add="-l$name"
19.2589 - else
19.2590 - lib_linked=no
19.2591 - fi
19.2592 - ;;
19.2593 - relink)
19.2594 - if test "$hardcode_direct" = yes; then
19.2595 - add="$dir/$linklib"
19.2596 - elif test "$hardcode_minus_L" = yes; then
19.2597 - add_dir="-L$dir"
19.2598 - # Try looking first in the location we're being installed to.
19.2599 - if test -n "$inst_prefix_dir"; then
19.2600 - case $libdir in
19.2601 - [\\/]*)
19.2602 - add_dir="$add_dir -L$inst_prefix_dir$libdir"
19.2603 - ;;
19.2604 - esac
19.2605 - fi
19.2606 - add="-l$name"
19.2607 - elif test "$hardcode_shlibpath_var" = yes; then
19.2608 - add_shlibpath="$dir"
19.2609 - add="-l$name"
19.2610 - else
19.2611 - lib_linked=no
19.2612 - fi
19.2613 - ;;
19.2614 - *) lib_linked=no ;;
19.2615 - esac
19.2616 -
19.2617 - if test "$lib_linked" != yes; then
19.2618 - $echo "$modename: configuration error: unsupported hardcode properties"
19.2619 - exit $EXIT_FAILURE
19.2620 - fi
19.2621 -
19.2622 - if test -n "$add_shlibpath"; then
19.2623 - case :$compile_shlibpath: in
19.2624 - *":$add_shlibpath:"*) ;;
19.2625 - *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
19.2626 - esac
19.2627 - fi
19.2628 - if test "$linkmode" = prog; then
19.2629 - test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
19.2630 - test -n "$add" && compile_deplibs="$add $compile_deplibs"
19.2631 - else
19.2632 - test -n "$add_dir" && deplibs="$add_dir $deplibs"
19.2633 - test -n "$add" && deplibs="$add $deplibs"
19.2634 - if test "$hardcode_direct" != yes && \
19.2635 - test "$hardcode_minus_L" != yes && \
19.2636 - test "$hardcode_shlibpath_var" = yes; then
19.2637 - case :$finalize_shlibpath: in
19.2638 - *":$libdir:"*) ;;
19.2639 - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
19.2640 - esac
19.2641 - fi
19.2642 - fi
19.2643 - fi
19.2644 -
19.2645 - if test "$linkmode" = prog || test "$mode" = relink; then
19.2646 - add_shlibpath=
19.2647 - add_dir=
19.2648 - add=
19.2649 - # Finalize command for both is simple: just hardcode it.
19.2650 - if test "$hardcode_direct" = yes; then
19.2651 - add="$libdir/$linklib"
19.2652 - elif test "$hardcode_minus_L" = yes; then
19.2653 - add_dir="-L$libdir"
19.2654 - add="-l$name"
19.2655 - elif test "$hardcode_shlibpath_var" = yes; then
19.2656 - case :$finalize_shlibpath: in
19.2657 - *":$libdir:"*) ;;
19.2658 - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
19.2659 - esac
19.2660 - add="-l$name"
19.2661 - elif test "$hardcode_automatic" = yes; then
19.2662 - if test -n "$inst_prefix_dir" &&
19.2663 - test -f "$inst_prefix_dir$libdir/$linklib" ; then
19.2664 - add="$inst_prefix_dir$libdir/$linklib"
19.2665 - else
19.2666 - add="$libdir/$linklib"
19.2667 - fi
19.2668 - else
19.2669 - # We cannot seem to hardcode it, guess we'll fake it.
19.2670 - add_dir="-L$libdir"
19.2671 - # Try looking first in the location we're being installed to.
19.2672 - if test -n "$inst_prefix_dir"; then
19.2673 - case $libdir in
19.2674 - [\\/]*)
19.2675 - add_dir="$add_dir -L$inst_prefix_dir$libdir"
19.2676 - ;;
19.2677 - esac
19.2678 - fi
19.2679 - add="-l$name"
19.2680 - fi
19.2681 -
19.2682 - if test "$linkmode" = prog; then
19.2683 - test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
19.2684 - test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
19.2685 - else
19.2686 - test -n "$add_dir" && deplibs="$add_dir $deplibs"
19.2687 - test -n "$add" && deplibs="$add $deplibs"
19.2688 - fi
19.2689 - fi
19.2690 - elif test "$linkmode" = prog; then
19.2691 - # Here we assume that one of hardcode_direct or hardcode_minus_L
19.2692 - # is not unsupported. This is valid on all known static and
19.2693 - # shared platforms.
19.2694 - if test "$hardcode_direct" != unsupported; then
19.2695 - test -n "$old_library" && linklib="$old_library"
19.2696 - compile_deplibs="$dir/$linklib $compile_deplibs"
19.2697 - finalize_deplibs="$dir/$linklib $finalize_deplibs"
19.2698 - else
19.2699 - compile_deplibs="-l$name -L$dir $compile_deplibs"
19.2700 - finalize_deplibs="-l$name -L$dir $finalize_deplibs"
19.2701 - fi
19.2702 - elif test "$build_libtool_libs" = yes; then
19.2703 - # Not a shared library
19.2704 - if test "$deplibs_check_method" != pass_all; then
19.2705 - # We're trying link a shared library against a static one
19.2706 - # but the system doesn't support it.
19.2707 -
19.2708 - # Just print a warning and add the library to dependency_libs so
19.2709 - # that the program can be linked against the static library.
19.2710 - $echo
19.2711 - $echo "*** Warning: This system can not link to static lib archive $lib."
19.2712 - $echo "*** I have the capability to make that library automatically link in when"
19.2713 - $echo "*** you link to this library. But I can only do this if you have a"
19.2714 - $echo "*** shared version of the library, which you do not appear to have."
19.2715 - if test "$module" = yes; then
19.2716 - $echo "*** But as you try to build a module library, libtool will still create "
19.2717 - $echo "*** a static module, that should work as long as the dlopening application"
19.2718 - $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
19.2719 - if test -z "$global_symbol_pipe"; then
19.2720 - $echo
19.2721 - $echo "*** However, this would only work if libtool was able to extract symbol"
19.2722 - $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
19.2723 - $echo "*** not find such a program. So, this module is probably useless."
19.2724 - $echo "*** \`nm' from GNU binutils and a full rebuild may help."
19.2725 - fi
19.2726 - if test "$build_old_libs" = no; then
19.2727 - build_libtool_libs=module
19.2728 - build_old_libs=yes
19.2729 - else
19.2730 - build_libtool_libs=no
19.2731 - fi
19.2732 - fi
19.2733 - else
19.2734 - deplibs="$dir/$old_library $deplibs"
19.2735 - link_static=yes
19.2736 - fi
19.2737 - fi # link shared/static library?
19.2738 -
19.2739 - if test "$linkmode" = lib; then
19.2740 - if test -n "$dependency_libs" &&
19.2741 - { test "$hardcode_into_libs" != yes ||
19.2742 - test "$build_old_libs" = yes ||
19.2743 - test "$link_static" = yes; }; then
19.2744 - # Extract -R from dependency_libs
19.2745 - temp_deplibs=
19.2746 - for libdir in $dependency_libs; do
19.2747 - case $libdir in
19.2748 - -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
19.2749 - case " $xrpath " in
19.2750 - *" $temp_xrpath "*) ;;
19.2751 - *) xrpath="$xrpath $temp_xrpath";;
19.2752 - esac;;
19.2753 - *) temp_deplibs="$temp_deplibs $libdir";;
19.2754 - esac
19.2755 - done
19.2756 - dependency_libs="$temp_deplibs"
19.2757 - fi
19.2758 -
19.2759 - newlib_search_path="$newlib_search_path $absdir"
19.2760 - # Link against this library
19.2761 - test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
19.2762 - # ... and its dependency_libs
19.2763 - tmp_libs=
19.2764 - for deplib in $dependency_libs; do
19.2765 - newdependency_libs="$deplib $newdependency_libs"
19.2766 - if test "X$duplicate_deps" = "Xyes" ; then
19.2767 - case "$tmp_libs " in
19.2768 - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
19.2769 - esac
19.2770 - fi
19.2771 - tmp_libs="$tmp_libs $deplib"
19.2772 - done
19.2773 -
19.2774 - if test "$link_all_deplibs" != no; then
19.2775 - # Add the search paths of all dependency libraries
19.2776 - for deplib in $dependency_libs; do
19.2777 - case $deplib in
19.2778 - -L*) path="$deplib" ;;
19.2779 - *.la)
19.2780 - dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
19.2781 - test "X$dir" = "X$deplib" && dir="."
19.2782 - # We need an absolute path.
19.2783 - case $dir in
19.2784 - [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
19.2785 - *)
19.2786 - absdir=`cd "$dir" && pwd`
19.2787 - if test -z "$absdir"; then
19.2788 - $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
19.2789 - absdir="$dir"
19.2790 - fi
19.2791 - ;;
19.2792 - esac
19.2793 - if grep "^installed=no" $deplib > /dev/null; then
19.2794 - path="$absdir/$objdir"
19.2795 - else
19.2796 - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
19.2797 - if test -z "$libdir"; then
19.2798 - $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
19.2799 - exit $EXIT_FAILURE
19.2800 - fi
19.2801 - if test "$absdir" != "$libdir"; then
19.2802 - $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
19.2803 - fi
19.2804 - path="$absdir"
19.2805 - fi
19.2806 - depdepl=
19.2807 - case $host in
19.2808 - *-*-darwin*)
19.2809 - # we do not want to link against static libs,
19.2810 - # but need to link against shared
19.2811 - eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
19.2812 - if test -n "$deplibrary_names" ; then
19.2813 - for tmp in $deplibrary_names ; do
19.2814 - depdepl=$tmp
19.2815 - done
19.2816 - if test -f "$path/$depdepl" ; then
19.2817 - depdepl="$path/$depdepl"
19.2818 - fi
19.2819 - # do not add paths which are already there
19.2820 - case " $newlib_search_path " in
19.2821 - *" $path "*) ;;
19.2822 - *) newlib_search_path="$newlib_search_path $path";;
19.2823 - esac
19.2824 - fi
19.2825 - path=""
19.2826 - ;;
19.2827 - *)
19.2828 - path="-L$path"
19.2829 - ;;
19.2830 - esac
19.2831 - ;;
19.2832 - -l*)
19.2833 - case $host in
19.2834 - *-*-darwin*)
19.2835 - # Again, we only want to link against shared libraries
19.2836 - eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
19.2837 - for tmp in $newlib_search_path ; do
19.2838 - if test -f "$tmp/lib$tmp_libs.dylib" ; then
19.2839 - eval depdepl="$tmp/lib$tmp_libs.dylib"
19.2840 - break
19.2841 - fi
19.2842 - done
19.2843 - path=""
19.2844 - ;;
19.2845 - *) continue ;;
19.2846 - esac
19.2847 - ;;
19.2848 - *) continue ;;
19.2849 - esac
19.2850 - case " $deplibs " in
19.2851 - *" $path "*) ;;
19.2852 - *) deplibs="$path $deplibs" ;;
19.2853 - esac
19.2854 - case " $deplibs " in
19.2855 - *" $depdepl "*) ;;
19.2856 - *) deplibs="$depdepl $deplibs" ;;
19.2857 - esac
19.2858 - done
19.2859 - fi # link_all_deplibs != no
19.2860 - fi # linkmode = lib
19.2861 - done # for deplib in $libs
19.2862 - dependency_libs="$newdependency_libs"
19.2863 - if test "$pass" = dlpreopen; then
19.2864 - # Link the dlpreopened libraries before other libraries
19.2865 - for deplib in $save_deplibs; do
19.2866 - deplibs="$deplib $deplibs"
19.2867 - done
19.2868 - fi
19.2869 - if test "$pass" != dlopen; then
19.2870 - if test "$pass" != conv; then
19.2871 - # Make sure lib_search_path contains only unique directories.
19.2872 - lib_search_path=
19.2873 - for dir in $newlib_search_path; do
19.2874 - case "$lib_search_path " in
19.2875 - *" $dir "*) ;;
19.2876 - *) lib_search_path="$lib_search_path $dir" ;;
19.2877 - esac
19.2878 - done
19.2879 - newlib_search_path=
19.2880 - fi
19.2881 -
19.2882 - if test "$linkmode,$pass" != "prog,link"; then
19.2883 - vars="deplibs"
19.2884 - else
19.2885 - vars="compile_deplibs finalize_deplibs"
19.2886 - fi
19.2887 - for var in $vars dependency_libs; do
19.2888 - # Add libraries to $var in reverse order
19.2889 - eval tmp_libs=\"\$$var\"
19.2890 - new_libs=
19.2891 - for deplib in $tmp_libs; do
19.2892 - # FIXME: Pedantically, this is the right thing to do, so
19.2893 - # that some nasty dependency loop isn't accidentally
19.2894 - # broken:
19.2895 - #new_libs="$deplib $new_libs"
19.2896 - # Pragmatically, this seems to cause very few problems in
19.2897 - # practice:
19.2898 - case $deplib in
19.2899 - -L*) new_libs="$deplib $new_libs" ;;
19.2900 - -R*) ;;
19.2901 - *)
19.2902 - # And here is the reason: when a library appears more
19.2903 - # than once as an explicit dependence of a library, or
19.2904 - # is implicitly linked in more than once by the
19.2905 - # compiler, it is considered special, and multiple
19.2906 - # occurrences thereof are not removed. Compare this
19.2907 - # with having the same library being listed as a
19.2908 - # dependency of multiple other libraries: in this case,
19.2909 - # we know (pedantically, we assume) the library does not
19.2910 - # need to be listed more than once, so we keep only the
19.2911 - # last copy. This is not always right, but it is rare
19.2912 - # enough that we require users that really mean to play
19.2913 - # such unportable linking tricks to link the library
19.2914 - # using -Wl,-lname, so that libtool does not consider it
19.2915 - # for duplicate removal.
19.2916 - case " $specialdeplibs " in
19.2917 - *" $deplib "*) new_libs="$deplib $new_libs" ;;
19.2918 - *)
19.2919 - case " $new_libs " in
19.2920 - *" $deplib "*) ;;
19.2921 - *) new_libs="$deplib $new_libs" ;;
19.2922 - esac
19.2923 - ;;
19.2924 - esac
19.2925 - ;;
19.2926 - esac
19.2927 - done
19.2928 - tmp_libs=
19.2929 - for deplib in $new_libs; do
19.2930 - case $deplib in
19.2931 - -L*)
19.2932 - case " $tmp_libs " in
19.2933 - *" $deplib "*) ;;
19.2934 - *) tmp_libs="$tmp_libs $deplib" ;;
19.2935 - esac
19.2936 - ;;
19.2937 - *) tmp_libs="$tmp_libs $deplib" ;;
19.2938 - esac
19.2939 - done
19.2940 - eval $var=\"$tmp_libs\"
19.2941 - done # for var
19.2942 - fi
19.2943 - # Last step: remove runtime libs from dependency_libs
19.2944 - # (they stay in deplibs)
19.2945 - tmp_libs=
19.2946 - for i in $dependency_libs ; do
19.2947 - case " $predeps $postdeps $compiler_lib_search_path " in
19.2948 - *" $i "*)
19.2949 - i=""
19.2950 - ;;
19.2951 - esac
19.2952 - if test -n "$i" ; then
19.2953 - tmp_libs="$tmp_libs $i"
19.2954 - fi
19.2955 - done
19.2956 - dependency_libs=$tmp_libs
19.2957 - done # for pass
19.2958 - if test "$linkmode" = prog; then
19.2959 - dlfiles="$newdlfiles"
19.2960 - dlprefiles="$newdlprefiles"
19.2961 - fi
19.2962 -
19.2963 - case $linkmode in
19.2964 - oldlib)
19.2965 - if test -n "$deplibs"; then
19.2966 - $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
19.2967 - fi
19.2968 -
19.2969 - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
19.2970 - $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
19.2971 - fi
19.2972 -
19.2973 - if test -n "$rpath"; then
19.2974 - $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
19.2975 - fi
19.2976 -
19.2977 - if test -n "$xrpath"; then
19.2978 - $echo "$modename: warning: \`-R' is ignored for archives" 1>&2
19.2979 - fi
19.2980 -
19.2981 - if test -n "$vinfo"; then
19.2982 - $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
19.2983 - fi
19.2984 -
19.2985 - if test -n "$release"; then
19.2986 - $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
19.2987 - fi
19.2988 -
19.2989 - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
19.2990 - $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
19.2991 - fi
19.2992 -
19.2993 - # Now set the variables for building old libraries.
19.2994 - build_libtool_libs=no
19.2995 - oldlibs="$output"
19.2996 - objs="$objs$old_deplibs"
19.2997 - ;;
19.2998 -
19.2999 - lib)
19.3000 - # Make sure we only generate libraries of the form `libNAME.la'.
19.3001 - case $outputname in
19.3002 - lib*)
19.3003 - name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
19.3004 - eval shared_ext=\"$shrext_cmds\"
19.3005 - eval libname=\"$libname_spec\"
19.3006 - ;;
19.3007 - *)
19.3008 - if test "$module" = no; then
19.3009 - $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
19.3010 - $echo "$help" 1>&2
19.3011 - exit $EXIT_FAILURE
19.3012 - fi
19.3013 - if test "$need_lib_prefix" != no; then
19.3014 - # Add the "lib" prefix for modules if required
19.3015 - name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
19.3016 - eval shared_ext=\"$shrext_cmds\"
19.3017 - eval libname=\"$libname_spec\"
19.3018 - else
19.3019 - libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
19.3020 - fi
19.3021 - ;;
19.3022 - esac
19.3023 -
19.3024 - if test -n "$objs"; then
19.3025 - if test "$deplibs_check_method" != pass_all; then
19.3026 - $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
19.3027 - exit $EXIT_FAILURE
19.3028 - else
19.3029 - $echo
19.3030 - $echo "*** Warning: Linking the shared library $output against the non-libtool"
19.3031 - $echo "*** objects $objs is not portable!"
19.3032 - libobjs="$libobjs $objs"
19.3033 - fi
19.3034 - fi
19.3035 -
19.3036 - if test "$dlself" != no; then
19.3037 - $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
19.3038 - fi
19.3039 -
19.3040 - set dummy $rpath
19.3041 - if test "$#" -gt 2; then
19.3042 - $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
19.3043 - fi
19.3044 - install_libdir="$2"
19.3045 -
19.3046 - oldlibs=
19.3047 - if test -z "$rpath"; then
19.3048 - if test "$build_libtool_libs" = yes; then
19.3049 - # Building a libtool convenience library.
19.3050 - # Some compilers have problems with a `.al' extension so
19.3051 - # convenience libraries should have the same extension an
19.3052 - # archive normally would.
19.3053 - oldlibs="$output_objdir/$libname.$libext $oldlibs"
19.3054 - build_libtool_libs=convenience
19.3055 - build_old_libs=yes
19.3056 - fi
19.3057 -
19.3058 - if test -n "$vinfo"; then
19.3059 - $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
19.3060 - fi
19.3061 -
19.3062 - if test -n "$release"; then
19.3063 - $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
19.3064 - fi
19.3065 - else
19.3066 -
19.3067 - # Parse the version information argument.
19.3068 - save_ifs="$IFS"; IFS=':'
19.3069 - set dummy $vinfo 0 0 0
19.3070 - IFS="$save_ifs"
19.3071 -
19.3072 - if test -n "$8"; then
19.3073 - $echo "$modename: too many parameters to \`-version-info'" 1>&2
19.3074 - $echo "$help" 1>&2
19.3075 - exit $EXIT_FAILURE
19.3076 - fi
19.3077 -
19.3078 - # convert absolute version numbers to libtool ages
19.3079 - # this retains compatibility with .la files and attempts
19.3080 - # to make the code below a bit more comprehensible
19.3081 -
19.3082 - case $vinfo_number in
19.3083 - yes)
19.3084 - number_major="$2"
19.3085 - number_minor="$3"
19.3086 - number_revision="$4"
19.3087 - #
19.3088 - # There are really only two kinds -- those that
19.3089 - # use the current revision as the major version
19.3090 - # and those that subtract age and use age as
19.3091 - # a minor version. But, then there is irix
19.3092 - # which has an extra 1 added just for fun
19.3093 - #
19.3094 - case $version_type in
19.3095 - darwin|linux|osf|windows)
19.3096 - current=`expr $number_major + $number_minor`
19.3097 - age="$number_minor"
19.3098 - revision="$number_revision"
19.3099 - ;;
19.3100 - freebsd-aout|freebsd-elf|sunos)
19.3101 - current="$number_major"
19.3102 - revision="$number_minor"
19.3103 - age="0"
19.3104 - ;;
19.3105 - irix|nonstopux)
19.3106 - current=`expr $number_major + $number_minor - 1`
19.3107 - age="$number_minor"
19.3108 - revision="$number_minor"
19.3109 - ;;
19.3110 - esac
19.3111 - ;;
19.3112 - no)
19.3113 - current="$2"
19.3114 - revision="$3"
19.3115 - age="$4"
19.3116 - ;;
19.3117 - esac
19.3118 -
19.3119 - # Check that each of the things are valid numbers.
19.3120 - case $current in
19.3121 - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
19.3122 - *)
19.3123 - $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
19.3124 - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
19.3125 - exit $EXIT_FAILURE
19.3126 - ;;
19.3127 - esac
19.3128 -
19.3129 - case $revision in
19.3130 - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
19.3131 - *)
19.3132 - $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
19.3133 - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
19.3134 - exit $EXIT_FAILURE
19.3135 - ;;
19.3136 - esac
19.3137 -
19.3138 - case $age in
19.3139 - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
19.3140 - *)
19.3141 - $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
19.3142 - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
19.3143 - exit $EXIT_FAILURE
19.3144 - ;;
19.3145 - esac
19.3146 -
19.3147 - if test "$age" -gt "$current"; then
19.3148 - $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
19.3149 - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
19.3150 - exit $EXIT_FAILURE
19.3151 - fi
19.3152 -
19.3153 - # Calculate the version variables.
19.3154 - major=
19.3155 - versuffix=
19.3156 - verstring=
19.3157 - case $version_type in
19.3158 - none) ;;
19.3159 -
19.3160 - darwin)
19.3161 - # Like Linux, but with the current version available in
19.3162 - # verstring for coding it into the library header
19.3163 - major=.`expr $current - $age`
19.3164 - versuffix="$major.$age.$revision"
19.3165 - # Darwin ld doesn't like 0 for these options...
19.3166 - minor_current=`expr $current + 1`
19.3167 - verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
19.3168 - ;;
19.3169 -
19.3170 - freebsd-aout)
19.3171 - major=".$current"
19.3172 - versuffix=".$current.$revision";
19.3173 - ;;
19.3174 -
19.3175 - freebsd-elf)
19.3176 - major=".$current"
19.3177 - versuffix=".$current";
19.3178 - ;;
19.3179 -
19.3180 - irix | nonstopux)
19.3181 - major=`expr $current - $age + 1`
19.3182 -
19.3183 - case $version_type in
19.3184 - nonstopux) verstring_prefix=nonstopux ;;
19.3185 - *) verstring_prefix=sgi ;;
19.3186 - esac
19.3187 - verstring="$verstring_prefix$major.$revision"
19.3188 -
19.3189 - # Add in all the interfaces that we are compatible with.
19.3190 - loop=$revision
19.3191 - while test "$loop" -ne 0; do
19.3192 - iface=`expr $revision - $loop`
19.3193 - loop=`expr $loop - 1`
19.3194 - verstring="$verstring_prefix$major.$iface:$verstring"
19.3195 - done
19.3196 -
19.3197 - # Before this point, $major must not contain `.'.
19.3198 - major=.$major
19.3199 - versuffix="$major.$revision"
19.3200 - ;;
19.3201 -
19.3202 - linux)
19.3203 - major=.`expr $current - $age`
19.3204 - versuffix="$major.$age.$revision"
19.3205 - ;;
19.3206 -
19.3207 - osf)
19.3208 - major=.`expr $current - $age`
19.3209 - versuffix=".$current.$age.$revision"
19.3210 - verstring="$current.$age.$revision"
19.3211 -
19.3212 - # Add in all the interfaces that we are compatible with.
19.3213 - loop=$age
19.3214 - while test "$loop" -ne 0; do
19.3215 - iface=`expr $current - $loop`
19.3216 - loop=`expr $loop - 1`
19.3217 - verstring="$verstring:${iface}.0"
19.3218 - done
19.3219 -
19.3220 - # Make executables depend on our current version.
19.3221 - verstring="$verstring:${current}.0"
19.3222 - ;;
19.3223 -
19.3224 - sunos)
19.3225 - major=".$current"
19.3226 - versuffix=".$current.$revision"
19.3227 - ;;
19.3228 -
19.3229 - windows)
19.3230 - # Use '-' rather than '.', since we only want one
19.3231 - # extension on DOS 8.3 filesystems.
19.3232 - major=`expr $current - $age`
19.3233 - versuffix="-$major"
19.3234 - ;;
19.3235 -
19.3236 - *)
19.3237 - $echo "$modename: unknown library version type \`$version_type'" 1>&2
19.3238 - $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
19.3239 - exit $EXIT_FAILURE
19.3240 - ;;
19.3241 - esac
19.3242 -
19.3243 - # Clear the version info if we defaulted, and they specified a release.
19.3244 - if test -z "$vinfo" && test -n "$release"; then
19.3245 - major=
19.3246 - case $version_type in
19.3247 - darwin)
19.3248 - # we can't check for "0.0" in archive_cmds due to quoting
19.3249 - # problems, so we reset it completely
19.3250 - verstring=
19.3251 - ;;
19.3252 - *)
19.3253 - verstring="0.0"
19.3254 - ;;
19.3255 - esac
19.3256 - if test "$need_version" = no; then
19.3257 - versuffix=
19.3258 - else
19.3259 - versuffix=".0.0"
19.3260 - fi
19.3261 - fi
19.3262 -
19.3263 - # Remove version info from name if versioning should be avoided
19.3264 - if test "$avoid_version" = yes && test "$need_version" = no; then
19.3265 - major=
19.3266 - versuffix=
19.3267 - verstring=""
19.3268 - fi
19.3269 -
19.3270 - # Check to see if the archive will have undefined symbols.
19.3271 - if test "$allow_undefined" = yes; then
19.3272 - if test "$allow_undefined_flag" = unsupported; then
19.3273 - $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
19.3274 - build_libtool_libs=no
19.3275 - build_old_libs=yes
19.3276 - fi
19.3277 - else
19.3278 - # Don't allow undefined symbols.
19.3279 - allow_undefined_flag="$no_undefined_flag"
19.3280 - fi
19.3281 - fi
19.3282 -
19.3283 - if test "$mode" != relink; then
19.3284 - # Remove our outputs, but don't remove object files since they
19.3285 - # may have been created when compiling PIC objects.
19.3286 - removelist=
19.3287 - tempremovelist=`$echo "$output_objdir/*"`
19.3288 - for p in $tempremovelist; do
19.3289 - case $p in
19.3290 - *.$objext)
19.3291 - ;;
19.3292 - $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
19.3293 - if test "X$precious_files_regex" != "X"; then
19.3294 - if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
19.3295 - then
19.3296 - continue
19.3297 - fi
19.3298 - fi
19.3299 - removelist="$removelist $p"
19.3300 - ;;
19.3301 - *) ;;
19.3302 - esac
19.3303 - done
19.3304 - if test -n "$removelist"; then
19.3305 - $show "${rm}r $removelist"
19.3306 - $run ${rm}r $removelist
19.3307 - fi
19.3308 - fi
19.3309 -
19.3310 - # Now set the variables for building old libraries.
19.3311 - if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
19.3312 - oldlibs="$oldlibs $output_objdir/$libname.$libext"
19.3313 -
19.3314 - # Transform .lo files to .o files.
19.3315 - oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
19.3316 - fi
19.3317 -
19.3318 - # Eliminate all temporary directories.
19.3319 - for path in $notinst_path; do
19.3320 - lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
19.3321 - deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
19.3322 - dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
19.3323 - done
19.3324 -
19.3325 - if test -n "$xrpath"; then
19.3326 - # If the user specified any rpath flags, then add them.
19.3327 - temp_xrpath=
19.3328 - for libdir in $xrpath; do
19.3329 - temp_xrpath="$temp_xrpath -R$libdir"
19.3330 - case "$finalize_rpath " in
19.3331 - *" $libdir "*) ;;
19.3332 - *) finalize_rpath="$finalize_rpath $libdir" ;;
19.3333 - esac
19.3334 - done
19.3335 - if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
19.3336 - dependency_libs="$temp_xrpath $dependency_libs"
19.3337 - fi
19.3338 - fi
19.3339 -
19.3340 - # Make sure dlfiles contains only unique files that won't be dlpreopened
19.3341 - old_dlfiles="$dlfiles"
19.3342 - dlfiles=
19.3343 - for lib in $old_dlfiles; do
19.3344 - case " $dlprefiles $dlfiles " in
19.3345 - *" $lib "*) ;;
19.3346 - *) dlfiles="$dlfiles $lib" ;;
19.3347 - esac
19.3348 - done
19.3349 -
19.3350 - # Make sure dlprefiles contains only unique files
19.3351 - old_dlprefiles="$dlprefiles"
19.3352 - dlprefiles=
19.3353 - for lib in $old_dlprefiles; do
19.3354 - case "$dlprefiles " in
19.3355 - *" $lib "*) ;;
19.3356 - *) dlprefiles="$dlprefiles $lib" ;;
19.3357 - esac
19.3358 - done
19.3359 -
19.3360 - if test "$build_libtool_libs" = yes; then
19.3361 - if test -n "$rpath"; then
19.3362 - case $host in
19.3363 - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
19.3364 - # these systems don't actually have a c library (as such)!
19.3365 - ;;
19.3366 - *-*-rhapsody* | *-*-darwin1.[012])
19.3367 - # Rhapsody C library is in the System framework
19.3368 - deplibs="$deplibs -framework System"
19.3369 - ;;
19.3370 - *-*-netbsd*)
19.3371 - # Don't link with libc until the a.out ld.so is fixed.
19.3372 - ;;
19.3373 - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
19.3374 - # Do not include libc due to us having libc/libc_r.
19.3375 - test "X$arg" = "X-lc" && continue
19.3376 - ;;
19.3377 - *)
19.3378 - # Add libc to deplibs on all other systems if necessary.
19.3379 - if test "$build_libtool_need_lc" = "yes"; then
19.3380 - deplibs="$deplibs -lc"
19.3381 - fi
19.3382 - ;;
19.3383 - esac
19.3384 - fi
19.3385 -
19.3386 - # Transform deplibs into only deplibs that can be linked in shared.
19.3387 - name_save=$name
19.3388 - libname_save=$libname
19.3389 - release_save=$release
19.3390 - versuffix_save=$versuffix
19.3391 - major_save=$major
19.3392 - # I'm not sure if I'm treating the release correctly. I think
19.3393 - # release should show up in the -l (ie -lgmp5) so we don't want to
19.3394 - # add it in twice. Is that correct?
19.3395 - release=""
19.3396 - versuffix=""
19.3397 - major=""
19.3398 - newdeplibs=
19.3399 - droppeddeps=no
19.3400 - case $deplibs_check_method in
19.3401 - pass_all)
19.3402 - # Don't check for shared/static. Everything works.
19.3403 - # This might be a little naive. We might want to check
19.3404 - # whether the library exists or not. But this is on
19.3405 - # osf3 & osf4 and I'm not really sure... Just
19.3406 - # implementing what was already the behavior.
19.3407 - newdeplibs=$deplibs
19.3408 - ;;
19.3409 - test_compile)
19.3410 - # This code stresses the "libraries are programs" paradigm to its
19.3411 - # limits. Maybe even breaks it. We compile a program, linking it
19.3412 - # against the deplibs as a proxy for the library. Then we can check
19.3413 - # whether they linked in statically or dynamically with ldd.
19.3414 - $rm conftest.c
19.3415 - cat > conftest.c <<EOF
19.3416 - int main() { return 0; }
19.3417 -EOF
19.3418 - $rm conftest
19.3419 - $LTCC -o conftest conftest.c $deplibs
19.3420 - if test "$?" -eq 0 ; then
19.3421 - ldd_output=`ldd conftest`
19.3422 - for i in $deplibs; do
19.3423 - name=`expr $i : '-l\(.*\)'`
19.3424 - # If $name is empty we are operating on a -L argument.
19.3425 - if test "$name" != "" && test "$name" -ne "0"; then
19.3426 - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
19.3427 - case " $predeps $postdeps " in
19.3428 - *" $i "*)
19.3429 - newdeplibs="$newdeplibs $i"
19.3430 - i=""
19.3431 - ;;
19.3432 - esac
19.3433 - fi
19.3434 - if test -n "$i" ; then
19.3435 - libname=`eval \\$echo \"$libname_spec\"`
19.3436 - deplib_matches=`eval \\$echo \"$library_names_spec\"`
19.3437 - set dummy $deplib_matches
19.3438 - deplib_match=$2
19.3439 - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
19.3440 - newdeplibs="$newdeplibs $i"
19.3441 - else
19.3442 - droppeddeps=yes
19.3443 - $echo
19.3444 - $echo "*** Warning: dynamic linker does not accept needed library $i."
19.3445 - $echo "*** I have the capability to make that library automatically link in when"
19.3446 - $echo "*** you link to this library. But I can only do this if you have a"
19.3447 - $echo "*** shared version of the library, which I believe you do not have"
19.3448 - $echo "*** because a test_compile did reveal that the linker did not use it for"
19.3449 - $echo "*** its dynamic dependency list that programs get resolved with at runtime."
19.3450 - fi
19.3451 - fi
19.3452 - else
19.3453 - newdeplibs="$newdeplibs $i"
19.3454 - fi
19.3455 - done
19.3456 - else
19.3457 - # Error occurred in the first compile. Let's try to salvage
19.3458 - # the situation: Compile a separate program for each library.
19.3459 - for i in $deplibs; do
19.3460 - name=`expr $i : '-l\(.*\)'`
19.3461 - # If $name is empty we are operating on a -L argument.
19.3462 - if test "$name" != "" && test "$name" != "0"; then
19.3463 - $rm conftest
19.3464 - $LTCC -o conftest conftest.c $i
19.3465 - # Did it work?
19.3466 - if test "$?" -eq 0 ; then
19.3467 - ldd_output=`ldd conftest`
19.3468 - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
19.3469 - case " $predeps $postdeps " in
19.3470 - *" $i "*)
19.3471 - newdeplibs="$newdeplibs $i"
19.3472 - i=""
19.3473 - ;;
19.3474 - esac
19.3475 - fi
19.3476 - if test -n "$i" ; then
19.3477 - libname=`eval \\$echo \"$libname_spec\"`
19.3478 - deplib_matches=`eval \\$echo \"$library_names_spec\"`
19.3479 - set dummy $deplib_matches
19.3480 - deplib_match=$2
19.3481 - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
19.3482 - newdeplibs="$newdeplibs $i"
19.3483 - else
19.3484 - droppeddeps=yes
19.3485 - $echo
19.3486 - $echo "*** Warning: dynamic linker does not accept needed library $i."
19.3487 - $echo "*** I have the capability to make that library automatically link in when"
19.3488 - $echo "*** you link to this library. But I can only do this if you have a"
19.3489 - $echo "*** shared version of the library, which you do not appear to have"
19.3490 - $echo "*** because a test_compile did reveal that the linker did not use this one"
19.3491 - $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
19.3492 - fi
19.3493 - fi
19.3494 - else
19.3495 - droppeddeps=yes
19.3496 - $echo
19.3497 - $echo "*** Warning! Library $i is needed by this library but I was not able to"
19.3498 - $echo "*** make it link in! You will probably need to install it or some"
19.3499 - $echo "*** library that it depends on before this library will be fully"
19.3500 - $echo "*** functional. Installing it before continuing would be even better."
19.3501 - fi
19.3502 - else
19.3503 - newdeplibs="$newdeplibs $i"
19.3504 - fi
19.3505 - done
19.3506 - fi
19.3507 - ;;
19.3508 - file_magic*)
19.3509 - set dummy $deplibs_check_method
19.3510 - file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
19.3511 - for a_deplib in $deplibs; do
19.3512 - name=`expr $a_deplib : '-l\(.*\)'`
19.3513 - # If $name is empty we are operating on a -L argument.
19.3514 - if test "$name" != "" && test "$name" != "0"; then
19.3515 - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
19.3516 - case " $predeps $postdeps " in
19.3517 - *" $a_deplib "*)
19.3518 - newdeplibs="$newdeplibs $a_deplib"
19.3519 - a_deplib=""
19.3520 - ;;
19.3521 - esac
19.3522 - fi
19.3523 - if test -n "$a_deplib" ; then
19.3524 - libname=`eval \\$echo \"$libname_spec\"`
19.3525 - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
19.3526 - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
19.3527 - for potent_lib in $potential_libs; do
19.3528 - # Follow soft links.
19.3529 - if ls -lLd "$potent_lib" 2>/dev/null \
19.3530 - | grep " -> " >/dev/null; then
19.3531 - continue
19.3532 - fi
19.3533 - # The statement above tries to avoid entering an
19.3534 - # endless loop below, in case of cyclic links.
19.3535 - # We might still enter an endless loop, since a link
19.3536 - # loop can be closed while we follow links,
19.3537 - # but so what?
19.3538 - potlib="$potent_lib"
19.3539 - while test -h "$potlib" 2>/dev/null; do
19.3540 - potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
19.3541 - case $potliblink in
19.3542 - [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
19.3543 - *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
19.3544 - esac
19.3545 - done
19.3546 - if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
19.3547 - | ${SED} 10q \
19.3548 - | $EGREP "$file_magic_regex" > /dev/null; then
19.3549 - newdeplibs="$newdeplibs $a_deplib"
19.3550 - a_deplib=""
19.3551 - break 2
19.3552 - fi
19.3553 - done
19.3554 - done
19.3555 - fi
19.3556 - if test -n "$a_deplib" ; then
19.3557 - droppeddeps=yes
19.3558 - $echo
19.3559 - $echo "*** Warning: linker path does not have real file for library $a_deplib."
19.3560 - $echo "*** I have the capability to make that library automatically link in when"
19.3561 - $echo "*** you link to this library. But I can only do this if you have a"
19.3562 - $echo "*** shared version of the library, which you do not appear to have"
19.3563 - $echo "*** because I did check the linker path looking for a file starting"
19.3564 - if test -z "$potlib" ; then
19.3565 - $echo "*** with $libname but no candidates were found. (...for file magic test)"
19.3566 - else
19.3567 - $echo "*** with $libname and none of the candidates passed a file format test"
19.3568 - $echo "*** using a file magic. Last file checked: $potlib"
19.3569 - fi
19.3570 - fi
19.3571 - else
19.3572 - # Add a -L argument.
19.3573 - newdeplibs="$newdeplibs $a_deplib"
19.3574 - fi
19.3575 - done # Gone through all deplibs.
19.3576 - ;;
19.3577 - match_pattern*)
19.3578 - set dummy $deplibs_check_method
19.3579 - match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
19.3580 - for a_deplib in $deplibs; do
19.3581 - name=`expr $a_deplib : '-l\(.*\)'`
19.3582 - # If $name is empty we are operating on a -L argument.
19.3583 - if test -n "$name" && test "$name" != "0"; then
19.3584 - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
19.3585 - case " $predeps $postdeps " in
19.3586 - *" $a_deplib "*)
19.3587 - newdeplibs="$newdeplibs $a_deplib"
19.3588 - a_deplib=""
19.3589 - ;;
19.3590 - esac
19.3591 - fi
19.3592 - if test -n "$a_deplib" ; then
19.3593 - libname=`eval \\$echo \"$libname_spec\"`
19.3594 - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
19.3595 - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
19.3596 - for potent_lib in $potential_libs; do
19.3597 - potlib="$potent_lib" # see symlink-check above in file_magic test
19.3598 - if eval $echo \"$potent_lib\" 2>/dev/null \
19.3599 - | ${SED} 10q \
19.3600 - | $EGREP "$match_pattern_regex" > /dev/null; then
19.3601 - newdeplibs="$newdeplibs $a_deplib"
19.3602 - a_deplib=""
19.3603 - break 2
19.3604 - fi
19.3605 - done
19.3606 - done
19.3607 - fi
19.3608 - if test -n "$a_deplib" ; then
19.3609 - droppeddeps=yes
19.3610 - $echo
19.3611 - $echo "*** Warning: linker path does not have real file for library $a_deplib."
19.3612 - $echo "*** I have the capability to make that library automatically link in when"
19.3613 - $echo "*** you link to this library. But I can only do this if you have a"
19.3614 - $echo "*** shared version of the library, which you do not appear to have"
19.3615 - $echo "*** because I did check the linker path looking for a file starting"
19.3616 - if test -z "$potlib" ; then
19.3617 - $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
19.3618 - else
19.3619 - $echo "*** with $libname and none of the candidates passed a file format test"
19.3620 - $echo "*** using a regex pattern. Last file checked: $potlib"
19.3621 - fi
19.3622 - fi
19.3623 - else
19.3624 - # Add a -L argument.
19.3625 - newdeplibs="$newdeplibs $a_deplib"
19.3626 - fi
19.3627 - done # Gone through all deplibs.
19.3628 - ;;
19.3629 - none | unknown | *)
19.3630 - newdeplibs=""
19.3631 - tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
19.3632 - -e 's/ -[LR][^ ]*//g'`
19.3633 - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
19.3634 - for i in $predeps $postdeps ; do
19.3635 - # can't use Xsed below, because $i might contain '/'
19.3636 - tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
19.3637 - done
19.3638 - fi
19.3639 - if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \
19.3640 - | grep . >/dev/null; then
19.3641 - $echo
19.3642 - if test "X$deplibs_check_method" = "Xnone"; then
19.3643 - $echo "*** Warning: inter-library dependencies are not supported in this platform."
19.3644 - else
19.3645 - $echo "*** Warning: inter-library dependencies are not known to be supported."
19.3646 - fi
19.3647 - $echo "*** All declared inter-library dependencies are being dropped."
19.3648 - droppeddeps=yes
19.3649 - fi
19.3650 - ;;
19.3651 - esac
19.3652 - versuffix=$versuffix_save
19.3653 - major=$major_save
19.3654 - release=$release_save
19.3655 - libname=$libname_save
19.3656 - name=$name_save
19.3657 -
19.3658 - case $host in
19.3659 - *-*-rhapsody* | *-*-darwin1.[012])
19.3660 - # On Rhapsody replace the C library is the System framework
19.3661 - newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
19.3662 - ;;
19.3663 - esac
19.3664 -
19.3665 - if test "$droppeddeps" = yes; then
19.3666 - if test "$module" = yes; then
19.3667 - $echo
19.3668 - $echo "*** Warning: libtool could not satisfy all declared inter-library"
19.3669 - $echo "*** dependencies of module $libname. Therefore, libtool will create"
19.3670 - $echo "*** a static module, that should work as long as the dlopening"
19.3671 - $echo "*** application is linked with the -dlopen flag."
19.3672 - if test -z "$global_symbol_pipe"; then
19.3673 - $echo
19.3674 - $echo "*** However, this would only work if libtool was able to extract symbol"
19.3675 - $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
19.3676 - $echo "*** not find such a program. So, this module is probably useless."
19.3677 - $echo "*** \`nm' from GNU binutils and a full rebuild may help."
19.3678 - fi
19.3679 - if test "$build_old_libs" = no; then
19.3680 - oldlibs="$output_objdir/$libname.$libext"
19.3681 - build_libtool_libs=module
19.3682 - build_old_libs=yes
19.3683 - else
19.3684 - build_libtool_libs=no
19.3685 - fi
19.3686 - else
19.3687 - $echo "*** The inter-library dependencies that have been dropped here will be"
19.3688 - $echo "*** automatically added whenever a program is linked with this library"
19.3689 - $echo "*** or is declared to -dlopen it."
19.3690 -
19.3691 - if test "$allow_undefined" = no; then
19.3692 - $echo
19.3693 - $echo "*** Since this library must not contain undefined symbols,"
19.3694 - $echo "*** because either the platform does not support them or"
19.3695 - $echo "*** it was explicitly requested with -no-undefined,"
19.3696 - $echo "*** libtool will only create a static version of it."
19.3697 - if test "$build_old_libs" = no; then
19.3698 - oldlibs="$output_objdir/$libname.$libext"
19.3699 - build_libtool_libs=module
19.3700 - build_old_libs=yes
19.3701 - else
19.3702 - build_libtool_libs=no
19.3703 - fi
19.3704 - fi
19.3705 - fi
19.3706 - fi
19.3707 - # Done checking deplibs!
19.3708 - deplibs=$newdeplibs
19.3709 - fi
19.3710 -
19.3711 - # All the library-specific variables (install_libdir is set above).
19.3712 - library_names=
19.3713 - old_library=
19.3714 - dlname=
19.3715 -
19.3716 - # Test again, we may have decided not to build it any more
19.3717 - if test "$build_libtool_libs" = yes; then
19.3718 - if test "$hardcode_into_libs" = yes; then
19.3719 - # Hardcode the library paths
19.3720 - hardcode_libdirs=
19.3721 - dep_rpath=
19.3722 - rpath="$finalize_rpath"
19.3723 - test "$mode" != relink && rpath="$compile_rpath$rpath"
19.3724 - for libdir in $rpath; do
19.3725 - if test -n "$hardcode_libdir_flag_spec"; then
19.3726 - if test -n "$hardcode_libdir_separator"; then
19.3727 - if test -z "$hardcode_libdirs"; then
19.3728 - hardcode_libdirs="$libdir"
19.3729 - else
19.3730 - # Just accumulate the unique libdirs.
19.3731 - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
19.3732 - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
19.3733 - ;;
19.3734 - *)
19.3735 - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
19.3736 - ;;
19.3737 - esac
19.3738 - fi
19.3739 - else
19.3740 - eval flag=\"$hardcode_libdir_flag_spec\"
19.3741 - dep_rpath="$dep_rpath $flag"
19.3742 - fi
19.3743 - elif test -n "$runpath_var"; then
19.3744 - case "$perm_rpath " in
19.3745 - *" $libdir "*) ;;
19.3746 - *) perm_rpath="$perm_rpath $libdir" ;;
19.3747 - esac
19.3748 - fi
19.3749 - done
19.3750 - # Substitute the hardcoded libdirs into the rpath.
19.3751 - if test -n "$hardcode_libdir_separator" &&
19.3752 - test -n "$hardcode_libdirs"; then
19.3753 - libdir="$hardcode_libdirs"
19.3754 - if test -n "$hardcode_libdir_flag_spec_ld"; then
19.3755 - eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
19.3756 - else
19.3757 - eval dep_rpath=\"$hardcode_libdir_flag_spec\"
19.3758 - fi
19.3759 - fi
19.3760 - if test -n "$runpath_var" && test -n "$perm_rpath"; then
19.3761 - # We should set the runpath_var.
19.3762 - rpath=
19.3763 - for dir in $perm_rpath; do
19.3764 - rpath="$rpath$dir:"
19.3765 - done
19.3766 - eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
19.3767 - fi
19.3768 - test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
19.3769 - fi
19.3770 -
19.3771 - shlibpath="$finalize_shlibpath"
19.3772 - test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
19.3773 - if test -n "$shlibpath"; then
19.3774 - eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
19.3775 - fi
19.3776 -
19.3777 - # Get the real and link names of the library.
19.3778 - eval shared_ext=\"$shrext_cmds\"
19.3779 - eval library_names=\"$library_names_spec\"
19.3780 - set dummy $library_names
19.3781 - realname="$2"
19.3782 - shift; shift
19.3783 -
19.3784 - if test -n "$soname_spec"; then
19.3785 - eval soname=\"$soname_spec\"
19.3786 - else
19.3787 - soname="$realname"
19.3788 - fi
19.3789 - if test -z "$dlname"; then
19.3790 - dlname=$soname
19.3791 - fi
19.3792 -
19.3793 - lib="$output_objdir/$realname"
19.3794 - for link
19.3795 - do
19.3796 - linknames="$linknames $link"
19.3797 - done
19.3798 -
19.3799 - # Use standard objects if they are pic
19.3800 - test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
19.3801 -
19.3802 - # Prepare the list of exported symbols
19.3803 - if test -z "$export_symbols"; then
19.3804 - if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
19.3805 - $show "generating symbol list for \`$libname.la'"
19.3806 - export_symbols="$output_objdir/$libname.exp"
19.3807 - $run $rm $export_symbols
19.3808 - cmds=$export_symbols_cmds
19.3809 - save_ifs="$IFS"; IFS='~'
19.3810 - for cmd in $cmds; do
19.3811 - IFS="$save_ifs"
19.3812 - eval cmd=\"$cmd\"
19.3813 - if len=`expr "X$cmd" : ".*"` &&
19.3814 - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
19.3815 - $show "$cmd"
19.3816 - $run eval "$cmd" || exit $?
19.3817 - skipped_export=false
19.3818 - else
19.3819 - # The command line is too long to execute in one step.
19.3820 - $show "using reloadable object file for export list..."
19.3821 - skipped_export=:
19.3822 - # Break out early, otherwise skipped_export may be
19.3823 - # set to false by a later but shorter cmd.
19.3824 - break
19.3825 - fi
19.3826 - done
19.3827 - IFS="$save_ifs"
19.3828 - if test -n "$export_symbols_regex"; then
19.3829 - $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
19.3830 - $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
19.3831 - $show "$mv \"${export_symbols}T\" \"$export_symbols\""
19.3832 - $run eval '$mv "${export_symbols}T" "$export_symbols"'
19.3833 - fi
19.3834 - fi
19.3835 - fi
19.3836 -
19.3837 - if test -n "$export_symbols" && test -n "$include_expsyms"; then
19.3838 - $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
19.3839 - fi
19.3840 -
19.3841 - tmp_deplibs=
19.3842 - for test_deplib in $deplibs; do
19.3843 - case " $convenience " in
19.3844 - *" $test_deplib "*) ;;
19.3845 - *)
19.3846 - tmp_deplibs="$tmp_deplibs $test_deplib"
19.3847 - ;;
19.3848 - esac
19.3849 - done
19.3850 - deplibs="$tmp_deplibs"
19.3851 -
19.3852 - if test -n "$convenience"; then
19.3853 - if test -n "$whole_archive_flag_spec"; then
19.3854 - save_libobjs=$libobjs
19.3855 - eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
19.3856 - else
19.3857 - gentop="$output_objdir/${outputname}x"
19.3858 - generated="$generated $gentop"
19.3859 -
19.3860 - func_extract_archives $gentop $convenience
19.3861 - libobjs="$libobjs $func_extract_archives_result"
19.3862 - fi
19.3863 - fi
19.3864 -
19.3865 - if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
19.3866 - eval flag=\"$thread_safe_flag_spec\"
19.3867 - linker_flags="$linker_flags $flag"
19.3868 - fi
19.3869 -
19.3870 - # Make a backup of the uninstalled library when relinking
19.3871 - if test "$mode" = relink; then
19.3872 - $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
19.3873 - fi
19.3874 -
19.3875 - # Do each of the archive commands.
19.3876 - if test "$module" = yes && test -n "$module_cmds" ; then
19.3877 - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
19.3878 - eval test_cmds=\"$module_expsym_cmds\"
19.3879 - cmds=$module_expsym_cmds
19.3880 - else
19.3881 - eval test_cmds=\"$module_cmds\"
19.3882 - cmds=$module_cmds
19.3883 - fi
19.3884 - else
19.3885 - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
19.3886 - eval test_cmds=\"$archive_expsym_cmds\"
19.3887 - cmds=$archive_expsym_cmds
19.3888 - else
19.3889 - eval test_cmds=\"$archive_cmds\"
19.3890 - cmds=$archive_cmds
19.3891 - fi
19.3892 - fi
19.3893 -
19.3894 - if test "X$skipped_export" != "X:" &&
19.3895 - len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
19.3896 - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
19.3897 - :
19.3898 - else
19.3899 - # The command line is too long to link in one step, link piecewise.
19.3900 - $echo "creating reloadable object files..."
19.3901 -
19.3902 - # Save the value of $output and $libobjs because we want to
19.3903 - # use them later. If we have whole_archive_flag_spec, we
19.3904 - # want to use save_libobjs as it was before
19.3905 - # whole_archive_flag_spec was expanded, because we can't
19.3906 - # assume the linker understands whole_archive_flag_spec.
19.3907 - # This may have to be revisited, in case too many
19.3908 - # convenience libraries get linked in and end up exceeding
19.3909 - # the spec.
19.3910 - if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
19.3911 - save_libobjs=$libobjs
19.3912 - fi
19.3913 - save_output=$output
19.3914 - output_la=`$echo "X$output" | $Xsed -e "$basename"`
19.3915 -
19.3916 - # Clear the reloadable object creation command queue and
19.3917 - # initialize k to one.
19.3918 - test_cmds=
19.3919 - concat_cmds=
19.3920 - objlist=
19.3921 - delfiles=
19.3922 - last_robj=
19.3923 - k=1
19.3924 - output=$output_objdir/$output_la-${k}.$objext
19.3925 - # Loop over the list of objects to be linked.
19.3926 - for obj in $save_libobjs
19.3927 - do
19.3928 - eval test_cmds=\"$reload_cmds $objlist $last_robj\"
19.3929 - if test "X$objlist" = X ||
19.3930 - { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
19.3931 - test "$len" -le "$max_cmd_len"; }; then
19.3932 - objlist="$objlist $obj"
19.3933 - else
19.3934 - # The command $test_cmds is almost too long, add a
19.3935 - # command to the queue.
19.3936 - if test "$k" -eq 1 ; then
19.3937 - # The first file doesn't have a previous command to add.
19.3938 - eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
19.3939 - else
19.3940 - # All subsequent reloadable object files will link in
19.3941 - # the last one created.
19.3942 - eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
19.3943 - fi
19.3944 - last_robj=$output_objdir/$output_la-${k}.$objext
19.3945 - k=`expr $k + 1`
19.3946 - output=$output_objdir/$output_la-${k}.$objext
19.3947 - objlist=$obj
19.3948 - len=1
19.3949 - fi
19.3950 - done
19.3951 - # Handle the remaining objects by creating one last
19.3952 - # reloadable object file. All subsequent reloadable object
19.3953 - # files will link in the last one created.
19.3954 - test -z "$concat_cmds" || concat_cmds=$concat_cmds~
19.3955 - eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
19.3956 -
19.3957 - if ${skipped_export-false}; then
19.3958 - $show "generating symbol list for \`$libname.la'"
19.3959 - export_symbols="$output_objdir/$libname.exp"
19.3960 - $run $rm $export_symbols
19.3961 - libobjs=$output
19.3962 - # Append the command to create the export file.
19.3963 - eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
19.3964 - fi
19.3965 -
19.3966 - # Set up a command to remove the reloadable object files
19.3967 - # after they are used.
19.3968 - i=0
19.3969 - while test "$i" -lt "$k"
19.3970 - do
19.3971 - i=`expr $i + 1`
19.3972 - delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
19.3973 - done
19.3974 -
19.3975 - $echo "creating a temporary reloadable object file: $output"
19.3976 -
19.3977 - # Loop through the commands generated above and execute them.
19.3978 - save_ifs="$IFS"; IFS='~'
19.3979 - for cmd in $concat_cmds; do
19.3980 - IFS="$save_ifs"
19.3981 - $show "$cmd"
19.3982 - $run eval "$cmd" || exit $?
19.3983 - done
19.3984 - IFS="$save_ifs"
19.3985 -
19.3986 - libobjs=$output
19.3987 - # Restore the value of output.
19.3988 - output=$save_output
19.3989 -
19.3990 - if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
19.3991 - eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
19.3992 - fi
19.3993 - # Expand the library linking commands again to reset the
19.3994 - # value of $libobjs for piecewise linking.
19.3995 -
19.3996 - # Do each of the archive commands.
19.3997 - if test "$module" = yes && test -n "$module_cmds" ; then
19.3998 - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
19.3999 - cmds=$module_expsym_cmds
19.4000 - else
19.4001 - cmds=$module_cmds
19.4002 - fi
19.4003 - else
19.4004 - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
19.4005 - cmds=$archive_expsym_cmds
19.4006 - else
19.4007 - cmds=$archive_cmds
19.4008 - fi
19.4009 - fi
19.4010 -
19.4011 - # Append the command to remove the reloadable object files
19.4012 - # to the just-reset $cmds.
19.4013 - eval cmds=\"\$cmds~\$rm $delfiles\"
19.4014 - fi
19.4015 - save_ifs="$IFS"; IFS='~'
19.4016 - for cmd in $cmds; do
19.4017 - IFS="$save_ifs"
19.4018 - eval cmd=\"$cmd\"
19.4019 - $show "$cmd"
19.4020 - $run eval "$cmd" || {
19.4021 - lt_exit=$?
19.4022 -
19.4023 - # Restore the uninstalled library and exit
19.4024 - if test "$mode" = relink; then
19.4025 - $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
19.4026 - fi
19.4027 -
19.4028 - exit $lt_exit
19.4029 - }
19.4030 - done
19.4031 - IFS="$save_ifs"
19.4032 -
19.4033 - # Restore the uninstalled library and exit
19.4034 - if test "$mode" = relink; then
19.4035 - $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
19.4036 -
19.4037 - if test -n "$convenience"; then
19.4038 - if test -z "$whole_archive_flag_spec"; then
19.4039 - $show "${rm}r $gentop"
19.4040 - $run ${rm}r "$gentop"
19.4041 - fi
19.4042 - fi
19.4043 -
19.4044 - exit $EXIT_SUCCESS
19.4045 - fi
19.4046 -
19.4047 - # Create links to the real library.
19.4048 - for linkname in $linknames; do
19.4049 - if test "$realname" != "$linkname"; then
19.4050 - $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
19.4051 - $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
19.4052 - fi
19.4053 - done
19.4054 -
19.4055 - # If -module or -export-dynamic was specified, set the dlname.
19.4056 - if test "$module" = yes || test "$export_dynamic" = yes; then
19.4057 - # On all known operating systems, these are identical.
19.4058 - dlname="$soname"
19.4059 - fi
19.4060 - fi
19.4061 - ;;
19.4062 -
19.4063 - obj)
19.4064 - if test -n "$deplibs"; then
19.4065 - $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
19.4066 - fi
19.4067 -
19.4068 - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
19.4069 - $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
19.4070 - fi
19.4071 -
19.4072 - if test -n "$rpath"; then
19.4073 - $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
19.4074 - fi
19.4075 -
19.4076 - if test -n "$xrpath"; then
19.4077 - $echo "$modename: warning: \`-R' is ignored for objects" 1>&2
19.4078 - fi
19.4079 -
19.4080 - if test -n "$vinfo"; then
19.4081 - $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
19.4082 - fi
19.4083 -
19.4084 - if test -n "$release"; then
19.4085 - $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
19.4086 - fi
19.4087 -
19.4088 - case $output in
19.4089 - *.lo)
19.4090 - if test -n "$objs$old_deplibs"; then
19.4091 - $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
19.4092 - exit $EXIT_FAILURE
19.4093 - fi
19.4094 - libobj="$output"
19.4095 - obj=`$echo "X$output" | $Xsed -e "$lo2o"`
19.4096 - ;;
19.4097 - *)
19.4098 - libobj=
19.4099 - obj="$output"
19.4100 - ;;
19.4101 - esac
19.4102 -
19.4103 - # Delete the old objects.
19.4104 - $run $rm $obj $libobj
19.4105 -
19.4106 - # Objects from convenience libraries. This assumes
19.4107 - # single-version convenience libraries. Whenever we create
19.4108 - # different ones for PIC/non-PIC, this we'll have to duplicate
19.4109 - # the extraction.
19.4110 - reload_conv_objs=
19.4111 - gentop=
19.4112 - # reload_cmds runs $LD directly, so let us get rid of
19.4113 - # -Wl from whole_archive_flag_spec
19.4114 - wl=
19.4115 -
19.4116 - if test -n "$convenience"; then
19.4117 - if test -n "$whole_archive_flag_spec"; then
19.4118 - eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
19.4119 - else
19.4120 - gentop="$output_objdir/${obj}x"
19.4121 - generated="$generated $gentop"
19.4122 -
19.4123 - func_extract_archives $gentop $convenience
19.4124 - reload_conv_objs="$reload_objs $func_extract_archives_result"
19.4125 - fi
19.4126 - fi
19.4127 -
19.4128 - # Create the old-style object.
19.4129 - reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
19.4130 -
19.4131 - output="$obj"
19.4132 - cmds=$reload_cmds
19.4133 - save_ifs="$IFS"; IFS='~'
19.4134 - for cmd in $cmds; do
19.4135 - IFS="$save_ifs"
19.4136 - eval cmd=\"$cmd\"
19.4137 - $show "$cmd"
19.4138 - $run eval "$cmd" || exit $?
19.4139 - done
19.4140 - IFS="$save_ifs"
19.4141 -
19.4142 - # Exit if we aren't doing a library object file.
19.4143 - if test -z "$libobj"; then
19.4144 - if test -n "$gentop"; then
19.4145 - $show "${rm}r $gentop"
19.4146 - $run ${rm}r $gentop
19.4147 - fi
19.4148 -
19.4149 - exit $EXIT_SUCCESS
19.4150 - fi
19.4151 -
19.4152 - if test "$build_libtool_libs" != yes; then
19.4153 - if test -n "$gentop"; then
19.4154 - $show "${rm}r $gentop"
19.4155 - $run ${rm}r $gentop
19.4156 - fi
19.4157 -
19.4158 - # Create an invalid libtool object if no PIC, so that we don't
19.4159 - # accidentally link it into a program.
19.4160 - # $show "echo timestamp > $libobj"
19.4161 - # $run eval "echo timestamp > $libobj" || exit $?
19.4162 - exit $EXIT_SUCCESS
19.4163 - fi
19.4164 -
19.4165 - if test -n "$pic_flag" || test "$pic_mode" != default; then
19.4166 - # Only do commands if we really have different PIC objects.
19.4167 - reload_objs="$libobjs $reload_conv_objs"
19.4168 - output="$libobj"
19.4169 - cmds=$reload_cmds
19.4170 - save_ifs="$IFS"; IFS='~'
19.4171 - for cmd in $cmds; do
19.4172 - IFS="$save_ifs"
19.4173 - eval cmd=\"$cmd\"
19.4174 - $show "$cmd"
19.4175 - $run eval "$cmd" || exit $?
19.4176 - done
19.4177 - IFS="$save_ifs"
19.4178 - fi
19.4179 -
19.4180 - if test -n "$gentop"; then
19.4181 - $show "${rm}r $gentop"
19.4182 - $run ${rm}r $gentop
19.4183 - fi
19.4184 -
19.4185 - exit $EXIT_SUCCESS
19.4186 - ;;
19.4187 -
19.4188 - prog)
19.4189 - case $host in
19.4190 - *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
19.4191 - esac
19.4192 - if test -n "$vinfo"; then
19.4193 - $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
19.4194 - fi
19.4195 -
19.4196 - if test -n "$release"; then
19.4197 - $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
19.4198 - fi
19.4199 -
19.4200 - if test "$preload" = yes; then
19.4201 - if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
19.4202 - test "$dlopen_self_static" = unknown; then
19.4203 - $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
19.4204 - fi
19.4205 - fi
19.4206 -
19.4207 - case $host in
19.4208 - *-*-rhapsody* | *-*-darwin1.[012])
19.4209 - # On Rhapsody replace the C library is the System framework
19.4210 - compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
19.4211 - finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
19.4212 - ;;
19.4213 - esac
19.4214 -
19.4215 - case $host in
19.4216 - *darwin*)
19.4217 - # Don't allow lazy linking, it breaks C++ global constructors
19.4218 - if test "$tagname" = CXX ; then
19.4219 - compile_command="$compile_command ${wl}-bind_at_load"
19.4220 - finalize_command="$finalize_command ${wl}-bind_at_load"
19.4221 - fi
19.4222 - ;;
19.4223 - esac
19.4224 -
19.4225 - compile_command="$compile_command $compile_deplibs"
19.4226 - finalize_command="$finalize_command $finalize_deplibs"
19.4227 -
19.4228 - if test -n "$rpath$xrpath"; then
19.4229 - # If the user specified any rpath flags, then add them.
19.4230 - for libdir in $rpath $xrpath; do
19.4231 - # This is the magic to use -rpath.
19.4232 - case "$finalize_rpath " in
19.4233 - *" $libdir "*) ;;
19.4234 - *) finalize_rpath="$finalize_rpath $libdir" ;;
19.4235 - esac
19.4236 - done
19.4237 - fi
19.4238 -
19.4239 - # Now hardcode the library paths
19.4240 - rpath=
19.4241 - hardcode_libdirs=
19.4242 - for libdir in $compile_rpath $finalize_rpath; do
19.4243 - if test -n "$hardcode_libdir_flag_spec"; then
19.4244 - if test -n "$hardcode_libdir_separator"; then
19.4245 - if test -z "$hardcode_libdirs"; then
19.4246 - hardcode_libdirs="$libdir"
19.4247 - else
19.4248 - # Just accumulate the unique libdirs.
19.4249 - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
19.4250 - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
19.4251 - ;;
19.4252 - *)
19.4253 - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
19.4254 - ;;
19.4255 - esac
19.4256 - fi
19.4257 - else
19.4258 - eval flag=\"$hardcode_libdir_flag_spec\"
19.4259 - rpath="$rpath $flag"
19.4260 - fi
19.4261 - elif test -n "$runpath_var"; then
19.4262 - case "$perm_rpath " in
19.4263 - *" $libdir "*) ;;
19.4264 - *) perm_rpath="$perm_rpath $libdir" ;;
19.4265 - esac
19.4266 - fi
19.4267 - case $host in
19.4268 - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
19.4269 - case :$dllsearchpath: in
19.4270 - *":$libdir:"*) ;;
19.4271 - *) dllsearchpath="$dllsearchpath:$libdir";;
19.4272 - esac
19.4273 - ;;
19.4274 - esac
19.4275 - done
19.4276 - # Substitute the hardcoded libdirs into the rpath.
19.4277 - if test -n "$hardcode_libdir_separator" &&
19.4278 - test -n "$hardcode_libdirs"; then
19.4279 - libdir="$hardcode_libdirs"
19.4280 - eval rpath=\" $hardcode_libdir_flag_spec\"
19.4281 - fi
19.4282 - compile_rpath="$rpath"
19.4283 -
19.4284 - rpath=
19.4285 - hardcode_libdirs=
19.4286 - for libdir in $finalize_rpath; do
19.4287 - if test -n "$hardcode_libdir_flag_spec"; then
19.4288 - if test -n "$hardcode_libdir_separator"; then
19.4289 - if test -z "$hardcode_libdirs"; then
19.4290 - hardcode_libdirs="$libdir"
19.4291 - else
19.4292 - # Just accumulate the unique libdirs.
19.4293 - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
19.4294 - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
19.4295 - ;;
19.4296 - *)
19.4297 - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
19.4298 - ;;
19.4299 - esac
19.4300 - fi
19.4301 - else
19.4302 - eval flag=\"$hardcode_libdir_flag_spec\"
19.4303 - rpath="$rpath $flag"
19.4304 - fi
19.4305 - elif test -n "$runpath_var"; then
19.4306 - case "$finalize_perm_rpath " in
19.4307 - *" $libdir "*) ;;
19.4308 - *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
19.4309 - esac
19.4310 - fi
19.4311 - done
19.4312 - # Substitute the hardcoded libdirs into the rpath.
19.4313 - if test -n "$hardcode_libdir_separator" &&
19.4314 - test -n "$hardcode_libdirs"; then
19.4315 - libdir="$hardcode_libdirs"
19.4316 - eval rpath=\" $hardcode_libdir_flag_spec\"
19.4317 - fi
19.4318 - finalize_rpath="$rpath"
19.4319 -
19.4320 - if test -n "$libobjs" && test "$build_old_libs" = yes; then
19.4321 - # Transform all the library objects into standard objects.
19.4322 - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
19.4323 - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
19.4324 - fi
19.4325 -
19.4326 - dlsyms=
19.4327 - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
19.4328 - if test -n "$NM" && test -n "$global_symbol_pipe"; then
19.4329 - dlsyms="${outputname}S.c"
19.4330 - else
19.4331 - $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
19.4332 - fi
19.4333 - fi
19.4334 -
19.4335 - if test -n "$dlsyms"; then
19.4336 - case $dlsyms in
19.4337 - "") ;;
19.4338 - *.c)
19.4339 - # Discover the nlist of each of the dlfiles.
19.4340 - nlist="$output_objdir/${outputname}.nm"
19.4341 -
19.4342 - $show "$rm $nlist ${nlist}S ${nlist}T"
19.4343 - $run $rm "$nlist" "${nlist}S" "${nlist}T"
19.4344 -
19.4345 - # Parse the name list into a source file.
19.4346 - $show "creating $output_objdir/$dlsyms"
19.4347 -
19.4348 - test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
19.4349 -/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
19.4350 -/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
19.4351 -
19.4352 -#ifdef __cplusplus
19.4353 -extern \"C\" {
19.4354 -#endif
19.4355 -
19.4356 -/* Prevent the only kind of declaration conflicts we can make. */
19.4357 -#define lt_preloaded_symbols some_other_symbol
19.4358 -
19.4359 -/* External symbol declarations for the compiler. */\
19.4360 -"
19.4361 -
19.4362 - if test "$dlself" = yes; then
19.4363 - $show "generating symbol list for \`$output'"
19.4364 -
19.4365 - test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
19.4366 -
19.4367 - # Add our own program objects to the symbol list.
19.4368 - progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
19.4369 - for arg in $progfiles; do
19.4370 - $show "extracting global C symbols from \`$arg'"
19.4371 - $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
19.4372 - done
19.4373 -
19.4374 - if test -n "$exclude_expsyms"; then
19.4375 - $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
19.4376 - $run eval '$mv "$nlist"T "$nlist"'
19.4377 - fi
19.4378 -
19.4379 - if test -n "$export_symbols_regex"; then
19.4380 - $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
19.4381 - $run eval '$mv "$nlist"T "$nlist"'
19.4382 - fi
19.4383 -
19.4384 - # Prepare the list of exported symbols
19.4385 - if test -z "$export_symbols"; then
19.4386 - export_symbols="$output_objdir/$outputname.exp"
19.4387 - $run $rm $export_symbols
19.4388 - $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
19.4389 - else
19.4390 - $run eval "${SED} -e 's/\([ ][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
19.4391 - $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
19.4392 - $run eval 'mv "$nlist"T "$nlist"'
19.4393 - fi
19.4394 - fi
19.4395 -
19.4396 - for arg in $dlprefiles; do
19.4397 - $show "extracting global C symbols from \`$arg'"
19.4398 - name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
19.4399 - $run eval '$echo ": $name " >> "$nlist"'
19.4400 - $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
19.4401 - done
19.4402 -
19.4403 - if test -z "$run"; then
19.4404 - # Make sure we have at least an empty file.
19.4405 - test -f "$nlist" || : > "$nlist"
19.4406 -
19.4407 - if test -n "$exclude_expsyms"; then
19.4408 - $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
19.4409 - $mv "$nlist"T "$nlist"
19.4410 - fi
19.4411 -
19.4412 - # Try sorting and uniquifying the output.
19.4413 - if grep -v "^: " < "$nlist" |
19.4414 - if sort -k 3 </dev/null >/dev/null 2>&1; then
19.4415 - sort -k 3
19.4416 - else
19.4417 - sort +2
19.4418 - fi |
19.4419 - uniq > "$nlist"S; then
19.4420 - :
19.4421 - else
19.4422 - grep -v "^: " < "$nlist" > "$nlist"S
19.4423 - fi
19.4424 -
19.4425 - if test -f "$nlist"S; then
19.4426 - eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
19.4427 - else
19.4428 - $echo '/* NONE */' >> "$output_objdir/$dlsyms"
19.4429 - fi
19.4430 -
19.4431 - $echo >> "$output_objdir/$dlsyms" "\
19.4432 -
19.4433 -#undef lt_preloaded_symbols
19.4434 -
19.4435 -#if defined (__STDC__) && __STDC__
19.4436 -# define lt_ptr void *
19.4437 -#else
19.4438 -# define lt_ptr char *
19.4439 -# define const
19.4440 -#endif
19.4441 -
19.4442 -/* The mapping between symbol names and symbols. */
19.4443 -"
19.4444 -
19.4445 - case $host in
19.4446 - *cygwin* | *mingw* )
19.4447 - $echo >> "$output_objdir/$dlsyms" "\
19.4448 -/* DATA imports from DLLs on WIN32 can't be const, because
19.4449 - runtime relocations are performed -- see ld's documentation
19.4450 - on pseudo-relocs */
19.4451 -struct {
19.4452 -"
19.4453 - ;;
19.4454 - * )
19.4455 - $echo >> "$output_objdir/$dlsyms" "\
19.4456 -const struct {
19.4457 -"
19.4458 - ;;
19.4459 - esac
19.4460 -
19.4461 -
19.4462 - $echo >> "$output_objdir/$dlsyms" "\
19.4463 - const char *name;
19.4464 - lt_ptr address;
19.4465 -}
19.4466 -lt_preloaded_symbols[] =
19.4467 -{\
19.4468 -"
19.4469 -
19.4470 - eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
19.4471 -
19.4472 - $echo >> "$output_objdir/$dlsyms" "\
19.4473 - {0, (lt_ptr) 0}
19.4474 -};
19.4475 -
19.4476 -/* This works around a problem in FreeBSD linker */
19.4477 -#ifdef FREEBSD_WORKAROUND
19.4478 -static const void *lt_preloaded_setup() {
19.4479 - return lt_preloaded_symbols;
19.4480 -}
19.4481 -#endif
19.4482 -
19.4483 -#ifdef __cplusplus
19.4484 -}
19.4485 -#endif\
19.4486 -"
19.4487 - fi
19.4488 -
19.4489 - pic_flag_for_symtable=
19.4490 - case $host in
19.4491 - # compiling the symbol table file with pic_flag works around
19.4492 - # a FreeBSD bug that causes programs to crash when -lm is
19.4493 - # linked before any other PIC object. But we must not use
19.4494 - # pic_flag when linking with -static. The problem exists in
19.4495 - # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
19.4496 - *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
19.4497 - case "$compile_command " in
19.4498 - *" -static "*) ;;
19.4499 - *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
19.4500 - esac;;
19.4501 - *-*-hpux*)
19.4502 - case "$compile_command " in
19.4503 - *" -static "*) ;;
19.4504 - *) pic_flag_for_symtable=" $pic_flag";;
19.4505 - esac
19.4506 - esac
19.4507 -
19.4508 - # Now compile the dynamic symbol file.
19.4509 - $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
19.4510 - $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
19.4511 -
19.4512 - # Clean up the generated files.
19.4513 - $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
19.4514 - $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
19.4515 -
19.4516 - # Transform the symbol file into the correct name.
19.4517 - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
19.4518 - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
19.4519 - ;;
19.4520 - *)
19.4521 - $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
19.4522 - exit $EXIT_FAILURE
19.4523 - ;;
19.4524 - esac
19.4525 - else
19.4526 - # We keep going just in case the user didn't refer to
19.4527 - # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
19.4528 - # really was required.
19.4529 -
19.4530 - # Nullify the symbol file.
19.4531 - compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
19.4532 - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
19.4533 - fi
19.4534 -
19.4535 - if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
19.4536 - # Replace the output file specification.
19.4537 - compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
19.4538 - link_command="$compile_command$compile_rpath"
19.4539 -
19.4540 - # We have no uninstalled library dependencies, so finalize right now.
19.4541 - $show "$link_command"
19.4542 - $run eval "$link_command"
19.4543 - status=$?
19.4544 -
19.4545 - # Delete the generated files.
19.4546 - if test -n "$dlsyms"; then
19.4547 - $show "$rm $output_objdir/${outputname}S.${objext}"
19.4548 - $run $rm "$output_objdir/${outputname}S.${objext}"
19.4549 - fi
19.4550 -
19.4551 - exit $status
19.4552 - fi
19.4553 -
19.4554 - if test -n "$shlibpath_var"; then
19.4555 - # We should set the shlibpath_var
19.4556 - rpath=
19.4557 - for dir in $temp_rpath; do
19.4558 - case $dir in
19.4559 - [\\/]* | [A-Za-z]:[\\/]*)
19.4560 - # Absolute path.
19.4561 - rpath="$rpath$dir:"
19.4562 - ;;
19.4563 - *)
19.4564 - # Relative path: add a thisdir entry.
19.4565 - rpath="$rpath\$thisdir/$dir:"
19.4566 - ;;
19.4567 - esac
19.4568 - done
19.4569 - temp_rpath="$rpath"
19.4570 - fi
19.4571 -
19.4572 - if test -n "$compile_shlibpath$finalize_shlibpath"; then
19.4573 - compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
19.4574 - fi
19.4575 - if test -n "$finalize_shlibpath"; then
19.4576 - finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
19.4577 - fi
19.4578 -
19.4579 - compile_var=
19.4580 - finalize_var=
19.4581 - if test -n "$runpath_var"; then
19.4582 - if test -n "$perm_rpath"; then
19.4583 - # We should set the runpath_var.
19.4584 - rpath=
19.4585 - for dir in $perm_rpath; do
19.4586 - rpath="$rpath$dir:"
19.4587 - done
19.4588 - compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
19.4589 - fi
19.4590 - if test -n "$finalize_perm_rpath"; then
19.4591 - # We should set the runpath_var.
19.4592 - rpath=
19.4593 - for dir in $finalize_perm_rpath; do
19.4594 - rpath="$rpath$dir:"
19.4595 - done
19.4596 - finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
19.4597 - fi
19.4598 - fi
19.4599 -
19.4600 - if test "$no_install" = yes; then
19.4601 - # We don't need to create a wrapper script.
19.4602 - link_command="$compile_var$compile_command$compile_rpath"
19.4603 - # Replace the output file specification.
19.4604 - link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
19.4605 - # Delete the old output file.
19.4606 - $run $rm $output
19.4607 - # Link the executable and exit
19.4608 - $show "$link_command"
19.4609 - $run eval "$link_command" || exit $?
19.4610 - exit $EXIT_SUCCESS
19.4611 - fi
19.4612 -
19.4613 - if test "$hardcode_action" = relink; then
19.4614 - # Fast installation is not supported
19.4615 - link_command="$compile_var$compile_command$compile_rpath"
19.4616 - relink_command="$finalize_var$finalize_command$finalize_rpath"
19.4617 -
19.4618 - $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
19.4619 - $echo "$modename: \`$output' will be relinked during installation" 1>&2
19.4620 - else
19.4621 - if test "$fast_install" != no; then
19.4622 - link_command="$finalize_var$compile_command$finalize_rpath"
19.4623 - if test "$fast_install" = yes; then
19.4624 - relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
19.4625 - else
19.4626 - # fast_install is set to needless
19.4627 - relink_command=
19.4628 - fi
19.4629 - else
19.4630 - link_command="$compile_var$compile_command$compile_rpath"
19.4631 - relink_command="$finalize_var$finalize_command$finalize_rpath"
19.4632 - fi
19.4633 - fi
19.4634 -
19.4635 - # Replace the output file specification.
19.4636 - link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
19.4637 -
19.4638 - # Delete the old output files.
19.4639 - $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
19.4640 -
19.4641 - $show "$link_command"
19.4642 - $run eval "$link_command" || exit $?
19.4643 -
19.4644 - # Now create the wrapper script.
19.4645 - $show "creating $output"
19.4646 -
19.4647 - # Quote the relink command for shipping.
19.4648 - if test -n "$relink_command"; then
19.4649 - # Preserve any variables that may affect compiler behavior
19.4650 - for var in $variables_saved_for_relink; do
19.4651 - if eval test -z \"\${$var+set}\"; then
19.4652 - relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
19.4653 - elif eval var_value=\$$var; test -z "$var_value"; then
19.4654 - relink_command="$var=; export $var; $relink_command"
19.4655 - else
19.4656 - var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
19.4657 - relink_command="$var=\"$var_value\"; export $var; $relink_command"
19.4658 - fi
19.4659 - done
19.4660 - relink_command="(cd `pwd`; $relink_command)"
19.4661 - relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
19.4662 - fi
19.4663 -
19.4664 - # Quote $echo for shipping.
19.4665 - if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
19.4666 - case $progpath in
19.4667 - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
19.4668 - *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
19.4669 - esac
19.4670 - qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
19.4671 - else
19.4672 - qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
19.4673 - fi
19.4674 -
19.4675 - # Only actually do things if our run command is non-null.
19.4676 - if test -z "$run"; then
19.4677 - # win32 will think the script is a binary if it has
19.4678 - # a .exe suffix, so we strip it off here.
19.4679 - case $output in
19.4680 - *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
19.4681 - esac
19.4682 - # test for cygwin because mv fails w/o .exe extensions
19.4683 - case $host in
19.4684 - *cygwin*)
19.4685 - exeext=.exe
19.4686 - outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
19.4687 - *) exeext= ;;
19.4688 - esac
19.4689 - case $host in
19.4690 - *cygwin* | *mingw* )
19.4691 - cwrappersource=`$echo ${objdir}/lt-${outputname}.c`
19.4692 - cwrapper=`$echo ${output}.exe`
19.4693 - $rm $cwrappersource $cwrapper
19.4694 - trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
19.4695 -
19.4696 - cat > $cwrappersource <<EOF
19.4697 -
19.4698 -/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
19.4699 - Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
19.4700 -
19.4701 - The $output program cannot be directly executed until all the libtool
19.4702 - libraries that it depends on are installed.
19.4703 -
19.4704 - This wrapper executable should never be moved out of the build directory.
19.4705 - If it is, it will not operate correctly.
19.4706 -
19.4707 - Currently, it simply execs the wrapper *script* "/bin/sh $output",
19.4708 - but could eventually absorb all of the scripts functionality and
19.4709 - exec $objdir/$outputname directly.
19.4710 -*/
19.4711 -EOF
19.4712 - cat >> $cwrappersource<<"EOF"
19.4713 -#include <stdio.h>
19.4714 -#include <stdlib.h>
19.4715 -#include <unistd.h>
19.4716 -#include <malloc.h>
19.4717 -#include <stdarg.h>
19.4718 -#include <assert.h>
19.4719 -
19.4720 -#if defined(PATH_MAX)
19.4721 -# define LT_PATHMAX PATH_MAX
19.4722 -#elif defined(MAXPATHLEN)
19.4723 -# define LT_PATHMAX MAXPATHLEN
19.4724 -#else
19.4725 -# define LT_PATHMAX 1024
19.4726 -#endif
19.4727 -
19.4728 -#ifndef DIR_SEPARATOR
19.4729 -#define DIR_SEPARATOR '/'
19.4730 -#endif
19.4731 -
19.4732 -#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
19.4733 - defined (__OS2__)
19.4734 -#define HAVE_DOS_BASED_FILE_SYSTEM
19.4735 -#ifndef DIR_SEPARATOR_2
19.4736 -#define DIR_SEPARATOR_2 '\\'
19.4737 -#endif
19.4738 -#endif
19.4739 -
19.4740 -#ifndef DIR_SEPARATOR_2
19.4741 -# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
19.4742 -#else /* DIR_SEPARATOR_2 */
19.4743 -# define IS_DIR_SEPARATOR(ch) \
19.4744 - (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
19.4745 -#endif /* DIR_SEPARATOR_2 */
19.4746 -
19.4747 -#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
19.4748 -#define XFREE(stale) do { \
19.4749 - if (stale) { free ((void *) stale); stale = 0; } \
19.4750 -} while (0)
19.4751 -
19.4752 -const char *program_name = NULL;
19.4753 -
19.4754 -void * xmalloc (size_t num);
19.4755 -char * xstrdup (const char *string);
19.4756 -char * basename (const char *name);
19.4757 -char * fnqualify(const char *path);
19.4758 -char * strendzap(char *str, const char *pat);
19.4759 -void lt_fatal (const char *message, ...);
19.4760 -
19.4761 -int
19.4762 -main (int argc, char *argv[])
19.4763 -{
19.4764 - char **newargz;
19.4765 - int i;
19.4766 -
19.4767 - program_name = (char *) xstrdup ((char *) basename (argv[0]));
19.4768 - newargz = XMALLOC(char *, argc+2);
19.4769 -EOF
19.4770 -
19.4771 - cat >> $cwrappersource <<EOF
19.4772 - newargz[0] = "$SHELL";
19.4773 -EOF
19.4774 -
19.4775 - cat >> $cwrappersource <<"EOF"
19.4776 - newargz[1] = fnqualify(argv[0]);
19.4777 - /* we know the script has the same name, without the .exe */
19.4778 - /* so make sure newargz[1] doesn't end in .exe */
19.4779 - strendzap(newargz[1],".exe");
19.4780 - for (i = 1; i < argc; i++)
19.4781 - newargz[i+1] = xstrdup(argv[i]);
19.4782 - newargz[argc+1] = NULL;
19.4783 -EOF
19.4784 -
19.4785 - cat >> $cwrappersource <<EOF
19.4786 - execv("$SHELL",newargz);
19.4787 -EOF
19.4788 -
19.4789 - cat >> $cwrappersource <<"EOF"
19.4790 - return 127;
19.4791 -}
19.4792 -
19.4793 -void *
19.4794 -xmalloc (size_t num)
19.4795 -{
19.4796 - void * p = (void *) malloc (num);
19.4797 - if (!p)
19.4798 - lt_fatal ("Memory exhausted");
19.4799 -
19.4800 - return p;
19.4801 -}
19.4802 -
19.4803 -char *
19.4804 -xstrdup (const char *string)
19.4805 -{
19.4806 - return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
19.4807 -;
19.4808 -}
19.4809 -
19.4810 -char *
19.4811 -basename (const char *name)
19.4812 -{
19.4813 - const char *base;
19.4814 -
19.4815 -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
19.4816 - /* Skip over the disk name in MSDOS pathnames. */
19.4817 - if (isalpha (name[0]) && name[1] == ':')
19.4818 - name += 2;
19.4819 -#endif
19.4820 -
19.4821 - for (base = name; *name; name++)
19.4822 - if (IS_DIR_SEPARATOR (*name))
19.4823 - base = name + 1;
19.4824 - return (char *) base;
19.4825 -}
19.4826 -
19.4827 -char *
19.4828 -fnqualify(const char *path)
19.4829 -{
19.4830 - size_t size;
19.4831 - char *p;
19.4832 - char tmp[LT_PATHMAX + 1];
19.4833 -
19.4834 - assert(path != NULL);
19.4835 -
19.4836 - /* Is it qualified already? */
19.4837 -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
19.4838 - if (isalpha (path[0]) && path[1] == ':')
19.4839 - return xstrdup (path);
19.4840 -#endif
19.4841 - if (IS_DIR_SEPARATOR (path[0]))
19.4842 - return xstrdup (path);
19.4843 -
19.4844 - /* prepend the current directory */
19.4845 - /* doesn't handle '~' */
19.4846 - if (getcwd (tmp, LT_PATHMAX) == NULL)
19.4847 - lt_fatal ("getcwd failed");
19.4848 - size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */
19.4849 - p = XMALLOC(char, size);
19.4850 - sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path);
19.4851 - return p;
19.4852 -}
19.4853 -
19.4854 -char *
19.4855 -strendzap(char *str, const char *pat)
19.4856 -{
19.4857 - size_t len, patlen;
19.4858 -
19.4859 - assert(str != NULL);
19.4860 - assert(pat != NULL);
19.4861 -
19.4862 - len = strlen(str);
19.4863 - patlen = strlen(pat);
19.4864 -
19.4865 - if (patlen <= len)
19.4866 - {
19.4867 - str += len - patlen;
19.4868 - if (strcmp(str, pat) == 0)
19.4869 - *str = '\0';
19.4870 - }
19.4871 - return str;
19.4872 -}
19.4873 -
19.4874 -static void
19.4875 -lt_error_core (int exit_status, const char * mode,
19.4876 - const char * message, va_list ap)
19.4877 -{
19.4878 - fprintf (stderr, "%s: %s: ", program_name, mode);
19.4879 - vfprintf (stderr, message, ap);
19.4880 - fprintf (stderr, ".\n");
19.4881 -
19.4882 - if (exit_status >= 0)
19.4883 - exit (exit_status);
19.4884 -}
19.4885 -
19.4886 -void
19.4887 -lt_fatal (const char *message, ...)
19.4888 -{
19.4889 - va_list ap;
19.4890 - va_start (ap, message);
19.4891 - lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
19.4892 - va_end (ap);
19.4893 -}
19.4894 -EOF
19.4895 - # we should really use a build-platform specific compiler
19.4896 - # here, but OTOH, the wrappers (shell script and this C one)
19.4897 - # are only useful if you want to execute the "real" binary.
19.4898 - # Since the "real" binary is built for $host, then this
19.4899 - # wrapper might as well be built for $host, too.
19.4900 - $run $LTCC -s -o $cwrapper $cwrappersource
19.4901 - ;;
19.4902 - esac
19.4903 - $rm $output
19.4904 - trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
19.4905 -
19.4906 - $echo > $output "\
19.4907 -#! $SHELL
19.4908 -
19.4909 -# $output - temporary wrapper script for $objdir/$outputname
19.4910 -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
19.4911 -#
19.4912 -# The $output program cannot be directly executed until all the libtool
19.4913 -# libraries that it depends on are installed.
19.4914 -#
19.4915 -# This wrapper script should never be moved out of the build directory.
19.4916 -# If it is, it will not operate correctly.
19.4917 -
19.4918 -# Sed substitution that helps us do robust quoting. It backslashifies
19.4919 -# metacharacters that are still active within double-quoted strings.
19.4920 -Xsed='${SED} -e 1s/^X//'
19.4921 -sed_quote_subst='$sed_quote_subst'
19.4922 -
19.4923 -# The HP-UX ksh and POSIX shell print the target directory to stdout
19.4924 -# if CDPATH is set.
19.4925 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19.4926 -
19.4927 -relink_command=\"$relink_command\"
19.4928 -
19.4929 -# This environment variable determines our operation mode.
19.4930 -if test \"\$libtool_install_magic\" = \"$magic\"; then
19.4931 - # install mode needs the following variable:
19.4932 - notinst_deplibs='$notinst_deplibs'
19.4933 -else
19.4934 - # When we are sourced in execute mode, \$file and \$echo are already set.
19.4935 - if test \"\$libtool_execute_magic\" != \"$magic\"; then
19.4936 - echo=\"$qecho\"
19.4937 - file=\"\$0\"
19.4938 - # Make sure echo works.
19.4939 - if test \"X\$1\" = X--no-reexec; then
19.4940 - # Discard the --no-reexec flag, and continue.
19.4941 - shift
19.4942 - elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
19.4943 - # Yippee, \$echo works!
19.4944 - :
19.4945 - else
19.4946 - # Restart under the correct shell, and then maybe \$echo will work.
19.4947 - exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
19.4948 - fi
19.4949 - fi\
19.4950 -"
19.4951 - $echo >> $output "\
19.4952 -
19.4953 - # Find the directory that this script lives in.
19.4954 - thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
19.4955 - test \"x\$thisdir\" = \"x\$file\" && thisdir=.
19.4956 -
19.4957 - # Follow symbolic links until we get to the real thisdir.
19.4958 - file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
19.4959 - while test -n \"\$file\"; do
19.4960 - destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
19.4961 -
19.4962 - # If there was a directory component, then change thisdir.
19.4963 - if test \"x\$destdir\" != \"x\$file\"; then
19.4964 - case \"\$destdir\" in
19.4965 - [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
19.4966 - *) thisdir=\"\$thisdir/\$destdir\" ;;
19.4967 - esac
19.4968 - fi
19.4969 -
19.4970 - file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
19.4971 - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
19.4972 - done
19.4973 -
19.4974 - # Try to get the absolute directory name.
19.4975 - absdir=\`cd \"\$thisdir\" && pwd\`
19.4976 - test -n \"\$absdir\" && thisdir=\"\$absdir\"
19.4977 -"
19.4978 -
19.4979 - if test "$fast_install" = yes; then
19.4980 - $echo >> $output "\
19.4981 - program=lt-'$outputname'$exeext
19.4982 - progdir=\"\$thisdir/$objdir\"
19.4983 -
19.4984 - if test ! -f \"\$progdir/\$program\" || \\
19.4985 - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
19.4986 - test \"X\$file\" != \"X\$progdir/\$program\"; }; then
19.4987 -
19.4988 - file=\"\$\$-\$program\"
19.4989 -
19.4990 - if test ! -d \"\$progdir\"; then
19.4991 - $mkdir \"\$progdir\"
19.4992 - else
19.4993 - $rm \"\$progdir/\$file\"
19.4994 - fi"
19.4995 -
19.4996 - $echo >> $output "\
19.4997 -
19.4998 - # relink executable if necessary
19.4999 - if test -n \"\$relink_command\"; then
19.5000 - if relink_command_output=\`eval \$relink_command 2>&1\`; then :
19.5001 - else
19.5002 - $echo \"\$relink_command_output\" >&2
19.5003 - $rm \"\$progdir/\$file\"
19.5004 - exit $EXIT_FAILURE
19.5005 - fi
19.5006 - fi
19.5007 -
19.5008 - $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
19.5009 - { $rm \"\$progdir/\$program\";
19.5010 - $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; }
19.5011 - $rm \"\$progdir/\$file\"
19.5012 - fi"
19.5013 - else
19.5014 - $echo >> $output "\
19.5015 - program='$outputname'
19.5016 - progdir=\"\$thisdir/$objdir\"
19.5017 -"
19.5018 - fi
19.5019 -
19.5020 - $echo >> $output "\
19.5021 -
19.5022 - if test -f \"\$progdir/\$program\"; then"
19.5023 -
19.5024 - # Export our shlibpath_var if we have one.
19.5025 - if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
19.5026 - $echo >> $output "\
19.5027 - # Add our own library path to $shlibpath_var
19.5028 - $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
19.5029 -
19.5030 - # Some systems cannot cope with colon-terminated $shlibpath_var
19.5031 - # The second colon is a workaround for a bug in BeOS R4 sed
19.5032 - $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
19.5033 -
19.5034 - export $shlibpath_var
19.5035 -"
19.5036 - fi
19.5037 -
19.5038 - # fixup the dll searchpath if we need to.
19.5039 - if test -n "$dllsearchpath"; then
19.5040 - $echo >> $output "\
19.5041 - # Add the dll search path components to the executable PATH
19.5042 - PATH=$dllsearchpath:\$PATH
19.5043 -"
19.5044 - fi
19.5045 -
19.5046 - $echo >> $output "\
19.5047 - if test \"\$libtool_execute_magic\" != \"$magic\"; then
19.5048 - # Run the actual program with our arguments.
19.5049 -"
19.5050 - case $host in
19.5051 - # Backslashes separate directories on plain windows
19.5052 - *-*-mingw | *-*-os2*)
19.5053 - $echo >> $output "\
19.5054 - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
19.5055 -"
19.5056 - ;;
19.5057 -
19.5058 - *)
19.5059 - $echo >> $output "\
19.5060 - exec \"\$progdir/\$program\" \${1+\"\$@\"}
19.5061 -"
19.5062 - ;;
19.5063 - esac
19.5064 - $echo >> $output "\
19.5065 - \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
19.5066 - exit $EXIT_FAILURE
19.5067 - fi
19.5068 - else
19.5069 - # The program doesn't exist.
19.5070 - \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
19.5071 - \$echo \"This script is just a wrapper for \$program.\" 1>&2
19.5072 - $echo \"See the $PACKAGE documentation for more information.\" 1>&2
19.5073 - exit $EXIT_FAILURE
19.5074 - fi
19.5075 -fi\
19.5076 -"
19.5077 - chmod +x $output
19.5078 - fi
19.5079 - exit $EXIT_SUCCESS
19.5080 - ;;
19.5081 - esac
19.5082 -
19.5083 - # See if we need to build an old-fashioned archive.
19.5084 - for oldlib in $oldlibs; do
19.5085 -
19.5086 - if test "$build_libtool_libs" = convenience; then
19.5087 - oldobjs="$libobjs_save"
19.5088 - addlibs="$convenience"
19.5089 - build_libtool_libs=no
19.5090 - else
19.5091 - if test "$build_libtool_libs" = module; then
19.5092 - oldobjs="$libobjs_save"
19.5093 - build_libtool_libs=no
19.5094 - else
19.5095 - oldobjs="$old_deplibs $non_pic_objects"
19.5096 - fi
19.5097 - addlibs="$old_convenience"
19.5098 - fi
19.5099 -
19.5100 - if test -n "$addlibs"; then
19.5101 - gentop="$output_objdir/${outputname}x"
19.5102 - generated="$generated $gentop"
19.5103 -
19.5104 - func_extract_archives $gentop $addlibs
19.5105 - oldobjs="$oldobjs $func_extract_archives_result"
19.5106 - fi
19.5107 -
19.5108 - # Do each command in the archive commands.
19.5109 - if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
19.5110 - cmds=$old_archive_from_new_cmds
19.5111 - else
19.5112 - # POSIX demands no paths to be encoded in archives. We have
19.5113 - # to avoid creating archives with duplicate basenames if we
19.5114 - # might have to extract them afterwards, e.g., when creating a
19.5115 - # static archive out of a convenience library, or when linking
19.5116 - # the entirety of a libtool archive into another (currently
19.5117 - # not supported by libtool).
19.5118 - if (for obj in $oldobjs
19.5119 - do
19.5120 - $echo "X$obj" | $Xsed -e 's%^.*/%%'
19.5121 - done | sort | sort -uc >/dev/null 2>&1); then
19.5122 - :
19.5123 - else
19.5124 - $echo "copying selected object files to avoid basename conflicts..."
19.5125 -
19.5126 - if test -z "$gentop"; then
19.5127 - gentop="$output_objdir/${outputname}x"
19.5128 - generated="$generated $gentop"
19.5129 -
19.5130 - $show "${rm}r $gentop"
19.5131 - $run ${rm}r "$gentop"
19.5132 - $show "$mkdir $gentop"
19.5133 - $run $mkdir "$gentop"
19.5134 - status=$?
19.5135 - if test "$status" -ne 0 && test ! -d "$gentop"; then
19.5136 - exit $status
19.5137 - fi
19.5138 - fi
19.5139 -
19.5140 - save_oldobjs=$oldobjs
19.5141 - oldobjs=
19.5142 - counter=1
19.5143 - for obj in $save_oldobjs
19.5144 - do
19.5145 - objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
19.5146 - case " $oldobjs " in
19.5147 - " ") oldobjs=$obj ;;
19.5148 - *[\ /]"$objbase "*)
19.5149 - while :; do
19.5150 - # Make sure we don't pick an alternate name that also
19.5151 - # overlaps.
19.5152 - newobj=lt$counter-$objbase
19.5153 - counter=`expr $counter + 1`
19.5154 - case " $oldobjs " in
19.5155 - *[\ /]"$newobj "*) ;;
19.5156 - *) if test ! -f "$gentop/$newobj"; then break; fi ;;
19.5157 - esac
19.5158 - done
19.5159 - $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
19.5160 - $run ln "$obj" "$gentop/$newobj" ||
19.5161 - $run cp "$obj" "$gentop/$newobj"
19.5162 - oldobjs="$oldobjs $gentop/$newobj"
19.5163 - ;;
19.5164 - *) oldobjs="$oldobjs $obj" ;;
19.5165 - esac
19.5166 - done
19.5167 - fi
19.5168 -
19.5169 - eval cmds=\"$old_archive_cmds\"
19.5170 -
19.5171 - if len=`expr "X$cmds" : ".*"` &&
19.5172 - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
19.5173 - cmds=$old_archive_cmds
19.5174 - else
19.5175 - # the command line is too long to link in one step, link in parts
19.5176 - $echo "using piecewise archive linking..."
19.5177 - save_RANLIB=$RANLIB
19.5178 - RANLIB=:
19.5179 - objlist=
19.5180 - concat_cmds=
19.5181 - save_oldobjs=$oldobjs
19.5182 -
19.5183 - # Is there a better way of finding the last object in the list?
19.5184 - for obj in $save_oldobjs
19.5185 - do
19.5186 - last_oldobj=$obj
19.5187 - done
19.5188 - for obj in $save_oldobjs
19.5189 - do
19.5190 - oldobjs="$objlist $obj"
19.5191 - objlist="$objlist $obj"
19.5192 - eval test_cmds=\"$old_archive_cmds\"
19.5193 - if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
19.5194 - test "$len" -le "$max_cmd_len"; then
19.5195 - :
19.5196 - else
19.5197 - # the above command should be used before it gets too long
19.5198 - oldobjs=$objlist
19.5199 - if test "$obj" = "$last_oldobj" ; then
19.5200 - RANLIB=$save_RANLIB
19.5201 - fi
19.5202 - test -z "$concat_cmds" || concat_cmds=$concat_cmds~
19.5203 - eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
19.5204 - objlist=
19.5205 - fi
19.5206 - done
19.5207 - RANLIB=$save_RANLIB
19.5208 - oldobjs=$objlist
19.5209 - if test "X$oldobjs" = "X" ; then
19.5210 - eval cmds=\"\$concat_cmds\"
19.5211 - else
19.5212 - eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
19.5213 - fi
19.5214 - fi
19.5215 - fi
19.5216 - save_ifs="$IFS"; IFS='~'
19.5217 - for cmd in $cmds; do
19.5218 - eval cmd=\"$cmd\"
19.5219 - IFS="$save_ifs"
19.5220 - $show "$cmd"
19.5221 - $run eval "$cmd" || exit $?
19.5222 - done
19.5223 - IFS="$save_ifs"
19.5224 - done
19.5225 -
19.5226 - if test -n "$generated"; then
19.5227 - $show "${rm}r$generated"
19.5228 - $run ${rm}r$generated
19.5229 - fi
19.5230 -
19.5231 - # Now create the libtool archive.
19.5232 - case $output in
19.5233 - *.la)
19.5234 - old_library=
19.5235 - test "$build_old_libs" = yes && old_library="$libname.$libext"
19.5236 - $show "creating $output"
19.5237 -
19.5238 - # Preserve any variables that may affect compiler behavior
19.5239 - for var in $variables_saved_for_relink; do
19.5240 - if eval test -z \"\${$var+set}\"; then
19.5241 - relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
19.5242 - elif eval var_value=\$$var; test -z "$var_value"; then
19.5243 - relink_command="$var=; export $var; $relink_command"
19.5244 - else
19.5245 - var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
19.5246 - relink_command="$var=\"$var_value\"; export $var; $relink_command"
19.5247 - fi
19.5248 - done
19.5249 - # Quote the link command for shipping.
19.5250 - relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
19.5251 - relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
19.5252 - if test "$hardcode_automatic" = yes ; then
19.5253 - relink_command=
19.5254 - fi
19.5255 -
19.5256 -
19.5257 - # Only create the output if not a dry run.
19.5258 - if test -z "$run"; then
19.5259 - for installed in no yes; do
19.5260 - if test "$installed" = yes; then
19.5261 - if test -z "$install_libdir"; then
19.5262 - break
19.5263 - fi
19.5264 - output="$output_objdir/$outputname"i
19.5265 - # Replace all uninstalled libtool libraries with the installed ones
19.5266 - newdependency_libs=
19.5267 - for deplib in $dependency_libs; do
19.5268 - case $deplib in
19.5269 - *.la)
19.5270 - name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
19.5271 - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
19.5272 - if test -z "$libdir"; then
19.5273 - $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
19.5274 - exit $EXIT_FAILURE
19.5275 - fi
19.5276 - newdependency_libs="$newdependency_libs $libdir/$name"
19.5277 - ;;
19.5278 - *) newdependency_libs="$newdependency_libs $deplib" ;;
19.5279 - esac
19.5280 - done
19.5281 - dependency_libs="$newdependency_libs"
19.5282 - newdlfiles=
19.5283 - for lib in $dlfiles; do
19.5284 - name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
19.5285 - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
19.5286 - if test -z "$libdir"; then
19.5287 - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
19.5288 - exit $EXIT_FAILURE
19.5289 - fi
19.5290 - newdlfiles="$newdlfiles $libdir/$name"
19.5291 - done
19.5292 - dlfiles="$newdlfiles"
19.5293 - newdlprefiles=
19.5294 - for lib in $dlprefiles; do
19.5295 - name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
19.5296 - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
19.5297 - if test -z "$libdir"; then
19.5298 - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
19.5299 - exit $EXIT_FAILURE
19.5300 - fi
19.5301 - newdlprefiles="$newdlprefiles $libdir/$name"
19.5302 - done
19.5303 - dlprefiles="$newdlprefiles"
19.5304 - else
19.5305 - newdlfiles=
19.5306 - for lib in $dlfiles; do
19.5307 - case $lib in
19.5308 - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
19.5309 - *) abs=`pwd`"/$lib" ;;
19.5310 - esac
19.5311 - newdlfiles="$newdlfiles $abs"
19.5312 - done
19.5313 - dlfiles="$newdlfiles"
19.5314 - newdlprefiles=
19.5315 - for lib in $dlprefiles; do
19.5316 - case $lib in
19.5317 - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
19.5318 - *) abs=`pwd`"/$lib" ;;
19.5319 - esac
19.5320 - newdlprefiles="$newdlprefiles $abs"
19.5321 - done
19.5322 - dlprefiles="$newdlprefiles"
19.5323 - fi
19.5324 - $rm $output
19.5325 - # place dlname in correct position for cygwin
19.5326 - tdlname=$dlname
19.5327 - case $host,$output,$installed,$module,$dlname in
19.5328 - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
19.5329 - esac
19.5330 - $echo > $output "\
19.5331 -# $outputname - a libtool library file
19.5332 -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
19.5333 -#
19.5334 -# Please DO NOT delete this file!
19.5335 -# It is necessary for linking the library.
19.5336 -
19.5337 -# The name that we can dlopen(3).
19.5338 -dlname='$tdlname'
19.5339 -
19.5340 -# Names of this library.
19.5341 -library_names='$library_names'
19.5342 -
19.5343 -# The name of the static archive.
19.5344 -old_library='$old_library'
19.5345 -
19.5346 -# Libraries that this one depends upon.
19.5347 -dependency_libs='$dependency_libs'
19.5348 -
19.5349 -# Version information for $libname.
19.5350 -current=$current
19.5351 -age=$age
19.5352 -revision=$revision
19.5353 -
19.5354 -# Is this an already installed library?
19.5355 -installed=$installed
19.5356 -
19.5357 -# Should we warn about portability when linking against -modules?
19.5358 -shouldnotlink=$module
19.5359 -
19.5360 -# Files to dlopen/dlpreopen
19.5361 -dlopen='$dlfiles'
19.5362 -dlpreopen='$dlprefiles'
19.5363 -
19.5364 -# Directory that this library needs to be installed in:
19.5365 -libdir='$install_libdir'"
19.5366 - if test "$installed" = no && test "$need_relink" = yes; then
19.5367 - $echo >> $output "\
19.5368 -relink_command=\"$relink_command\""
19.5369 - fi
19.5370 - done
19.5371 - fi
19.5372 -
19.5373 - # Do a symbolic link so that the libtool archive can be found in
19.5374 - # LD_LIBRARY_PATH before the program is installed.
19.5375 - $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
19.5376 - $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
19.5377 - ;;
19.5378 - esac
19.5379 - exit $EXIT_SUCCESS
19.5380 - ;;
19.5381 -
19.5382 - # libtool install mode
19.5383 - install)
19.5384 - modename="$modename: install"
19.5385 -
19.5386 - # There may be an optional sh(1) argument at the beginning of
19.5387 - # install_prog (especially on Windows NT).
19.5388 - if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
19.5389 - # Allow the use of GNU shtool's install command.
19.5390 - $echo "X$nonopt" | grep shtool > /dev/null; then
19.5391 - # Aesthetically quote it.
19.5392 - arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
19.5393 - case $arg in
19.5394 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.5395 - arg="\"$arg\""
19.5396 - ;;
19.5397 - esac
19.5398 - install_prog="$arg "
19.5399 - arg="$1"
19.5400 - shift
19.5401 - else
19.5402 - install_prog=
19.5403 - arg=$nonopt
19.5404 - fi
19.5405 -
19.5406 - # The real first argument should be the name of the installation program.
19.5407 - # Aesthetically quote it.
19.5408 - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
19.5409 - case $arg in
19.5410 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.5411 - arg="\"$arg\""
19.5412 - ;;
19.5413 - esac
19.5414 - install_prog="$install_prog$arg"
19.5415 -
19.5416 - # We need to accept at least all the BSD install flags.
19.5417 - dest=
19.5418 - files=
19.5419 - opts=
19.5420 - prev=
19.5421 - install_type=
19.5422 - isdir=no
19.5423 - stripme=
19.5424 - for arg
19.5425 - do
19.5426 - if test -n "$dest"; then
19.5427 - files="$files $dest"
19.5428 - dest=$arg
19.5429 - continue
19.5430 - fi
19.5431 -
19.5432 - case $arg in
19.5433 - -d) isdir=yes ;;
19.5434 - -f)
19.5435 - case " $install_prog " in
19.5436 - *[\\\ /]cp\ *) ;;
19.5437 - *) prev=$arg ;;
19.5438 - esac
19.5439 - ;;
19.5440 - -g | -m | -o) prev=$arg ;;
19.5441 - -s)
19.5442 - stripme=" -s"
19.5443 - continue
19.5444 - ;;
19.5445 - -*)
19.5446 - ;;
19.5447 - *)
19.5448 - # If the previous option needed an argument, then skip it.
19.5449 - if test -n "$prev"; then
19.5450 - prev=
19.5451 - else
19.5452 - dest=$arg
19.5453 - continue
19.5454 - fi
19.5455 - ;;
19.5456 - esac
19.5457 -
19.5458 - # Aesthetically quote the argument.
19.5459 - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
19.5460 - case $arg in
19.5461 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.5462 - arg="\"$arg\""
19.5463 - ;;
19.5464 - esac
19.5465 - install_prog="$install_prog $arg"
19.5466 - done
19.5467 -
19.5468 - if test -z "$install_prog"; then
19.5469 - $echo "$modename: you must specify an install program" 1>&2
19.5470 - $echo "$help" 1>&2
19.5471 - exit $EXIT_FAILURE
19.5472 - fi
19.5473 -
19.5474 - if test -n "$prev"; then
19.5475 - $echo "$modename: the \`$prev' option requires an argument" 1>&2
19.5476 - $echo "$help" 1>&2
19.5477 - exit $EXIT_FAILURE
19.5478 - fi
19.5479 -
19.5480 - if test -z "$files"; then
19.5481 - if test -z "$dest"; then
19.5482 - $echo "$modename: no file or destination specified" 1>&2
19.5483 - else
19.5484 - $echo "$modename: you must specify a destination" 1>&2
19.5485 - fi
19.5486 - $echo "$help" 1>&2
19.5487 - exit $EXIT_FAILURE
19.5488 - fi
19.5489 -
19.5490 - # Strip any trailing slash from the destination.
19.5491 - dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
19.5492 -
19.5493 - # Check to see that the destination is a directory.
19.5494 - test -d "$dest" && isdir=yes
19.5495 - if test "$isdir" = yes; then
19.5496 - destdir="$dest"
19.5497 - destname=
19.5498 - else
19.5499 - destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
19.5500 - test "X$destdir" = "X$dest" && destdir=.
19.5501 - destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
19.5502 -
19.5503 - # Not a directory, so check to see that there is only one file specified.
19.5504 - set dummy $files
19.5505 - if test "$#" -gt 2; then
19.5506 - $echo "$modename: \`$dest' is not a directory" 1>&2
19.5507 - $echo "$help" 1>&2
19.5508 - exit $EXIT_FAILURE
19.5509 - fi
19.5510 - fi
19.5511 - case $destdir in
19.5512 - [\\/]* | [A-Za-z]:[\\/]*) ;;
19.5513 - *)
19.5514 - for file in $files; do
19.5515 - case $file in
19.5516 - *.lo) ;;
19.5517 - *)
19.5518 - $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
19.5519 - $echo "$help" 1>&2
19.5520 - exit $EXIT_FAILURE
19.5521 - ;;
19.5522 - esac
19.5523 - done
19.5524 - ;;
19.5525 - esac
19.5526 -
19.5527 - # This variable tells wrapper scripts just to set variables rather
19.5528 - # than running their programs.
19.5529 - libtool_install_magic="$magic"
19.5530 -
19.5531 - staticlibs=
19.5532 - future_libdirs=
19.5533 - current_libdirs=
19.5534 - for file in $files; do
19.5535 -
19.5536 - # Do each installation.
19.5537 - case $file in
19.5538 - *.$libext)
19.5539 - # Do the static libraries later.
19.5540 - staticlibs="$staticlibs $file"
19.5541 - ;;
19.5542 -
19.5543 - *.la)
19.5544 - # Check to see that this really is a libtool archive.
19.5545 - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
19.5546 - else
19.5547 - $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
19.5548 - $echo "$help" 1>&2
19.5549 - exit $EXIT_FAILURE
19.5550 - fi
19.5551 -
19.5552 - library_names=
19.5553 - old_library=
19.5554 - relink_command=
19.5555 - # If there is no directory component, then add one.
19.5556 - case $file in
19.5557 - */* | *\\*) . $file ;;
19.5558 - *) . ./$file ;;
19.5559 - esac
19.5560 -
19.5561 - # Add the libdir to current_libdirs if it is the destination.
19.5562 - if test "X$destdir" = "X$libdir"; then
19.5563 - case "$current_libdirs " in
19.5564 - *" $libdir "*) ;;
19.5565 - *) current_libdirs="$current_libdirs $libdir" ;;
19.5566 - esac
19.5567 - else
19.5568 - # Note the libdir as a future libdir.
19.5569 - case "$future_libdirs " in
19.5570 - *" $libdir "*) ;;
19.5571 - *) future_libdirs="$future_libdirs $libdir" ;;
19.5572 - esac
19.5573 - fi
19.5574 -
19.5575 - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
19.5576 - test "X$dir" = "X$file/" && dir=
19.5577 - dir="$dir$objdir"
19.5578 -
19.5579 - if test -n "$relink_command"; then
19.5580 - # Determine the prefix the user has applied to our future dir.
19.5581 - inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
19.5582 -
19.5583 - # Don't allow the user to place us outside of our expected
19.5584 - # location b/c this prevents finding dependent libraries that
19.5585 - # are installed to the same prefix.
19.5586 - # At present, this check doesn't affect windows .dll's that
19.5587 - # are installed into $libdir/../bin (currently, that works fine)
19.5588 - # but it's something to keep an eye on.
19.5589 - if test "$inst_prefix_dir" = "$destdir"; then
19.5590 - $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
19.5591 - exit $EXIT_FAILURE
19.5592 - fi
19.5593 -
19.5594 - if test -n "$inst_prefix_dir"; then
19.5595 - # Stick the inst_prefix_dir data into the link command.
19.5596 - relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
19.5597 - else
19.5598 - relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
19.5599 - fi
19.5600 -
19.5601 - $echo "$modename: warning: relinking \`$file'" 1>&2
19.5602 - $show "$relink_command"
19.5603 - if $run eval "$relink_command"; then :
19.5604 - else
19.5605 - $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
19.5606 - exit $EXIT_FAILURE
19.5607 - fi
19.5608 - fi
19.5609 -
19.5610 - # See the names of the shared library.
19.5611 - set dummy $library_names
19.5612 - if test -n "$2"; then
19.5613 - realname="$2"
19.5614 - shift
19.5615 - shift
19.5616 -
19.5617 - srcname="$realname"
19.5618 - test -n "$relink_command" && srcname="$realname"T
19.5619 -
19.5620 - # Install the shared library and build the symlinks.
19.5621 - $show "$install_prog $dir/$srcname $destdir/$realname"
19.5622 - $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
19.5623 - if test -n "$stripme" && test -n "$striplib"; then
19.5624 - $show "$striplib $destdir/$realname"
19.5625 - $run eval "$striplib $destdir/$realname" || exit $?
19.5626 - fi
19.5627 -
19.5628 - if test "$#" -gt 0; then
19.5629 - # Delete the old symlinks, and create new ones.
19.5630 - # Try `ln -sf' first, because the `ln' binary might depend on
19.5631 - # the symlink we replace! Solaris /bin/ln does not understand -f,
19.5632 - # so we also need to try rm && ln -s.
19.5633 - for linkname
19.5634 - do
19.5635 - if test "$linkname" != "$realname"; then
19.5636 - $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
19.5637 - $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
19.5638 - fi
19.5639 - done
19.5640 - fi
19.5641 -
19.5642 - # Do each command in the postinstall commands.
19.5643 - lib="$destdir/$realname"
19.5644 - cmds=$postinstall_cmds
19.5645 - save_ifs="$IFS"; IFS='~'
19.5646 - for cmd in $cmds; do
19.5647 - IFS="$save_ifs"
19.5648 - eval cmd=\"$cmd\"
19.5649 - $show "$cmd"
19.5650 - $run eval "$cmd" || {
19.5651 - lt_exit=$?
19.5652 -
19.5653 - # Restore the uninstalled library and exit
19.5654 - if test "$mode" = relink; then
19.5655 - $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
19.5656 - fi
19.5657 -
19.5658 - exit $lt_exit
19.5659 - }
19.5660 - done
19.5661 - IFS="$save_ifs"
19.5662 - fi
19.5663 -
19.5664 - # Install the pseudo-library for information purposes.
19.5665 - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
19.5666 - instname="$dir/$name"i
19.5667 - $show "$install_prog $instname $destdir/$name"
19.5668 - $run eval "$install_prog $instname $destdir/$name" || exit $?
19.5669 -
19.5670 - # Maybe install the static library, too.
19.5671 - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
19.5672 - ;;
19.5673 -
19.5674 - *.lo)
19.5675 - # Install (i.e. copy) a libtool object.
19.5676 -
19.5677 - # Figure out destination file name, if it wasn't already specified.
19.5678 - if test -n "$destname"; then
19.5679 - destfile="$destdir/$destname"
19.5680 - else
19.5681 - destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
19.5682 - destfile="$destdir/$destfile"
19.5683 - fi
19.5684 -
19.5685 - # Deduce the name of the destination old-style object file.
19.5686 - case $destfile in
19.5687 - *.lo)
19.5688 - staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
19.5689 - ;;
19.5690 - *.$objext)
19.5691 - staticdest="$destfile"
19.5692 - destfile=
19.5693 - ;;
19.5694 - *)
19.5695 - $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
19.5696 - $echo "$help" 1>&2
19.5697 - exit $EXIT_FAILURE
19.5698 - ;;
19.5699 - esac
19.5700 -
19.5701 - # Install the libtool object if requested.
19.5702 - if test -n "$destfile"; then
19.5703 - $show "$install_prog $file $destfile"
19.5704 - $run eval "$install_prog $file $destfile" || exit $?
19.5705 - fi
19.5706 -
19.5707 - # Install the old object if enabled.
19.5708 - if test "$build_old_libs" = yes; then
19.5709 - # Deduce the name of the old-style object file.
19.5710 - staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
19.5711 -
19.5712 - $show "$install_prog $staticobj $staticdest"
19.5713 - $run eval "$install_prog \$staticobj \$staticdest" || exit $?
19.5714 - fi
19.5715 - exit $EXIT_SUCCESS
19.5716 - ;;
19.5717 -
19.5718 - *)
19.5719 - # Figure out destination file name, if it wasn't already specified.
19.5720 - if test -n "$destname"; then
19.5721 - destfile="$destdir/$destname"
19.5722 - else
19.5723 - destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
19.5724 - destfile="$destdir/$destfile"
19.5725 - fi
19.5726 -
19.5727 - # If the file is missing, and there is a .exe on the end, strip it
19.5728 - # because it is most likely a libtool script we actually want to
19.5729 - # install
19.5730 - stripped_ext=""
19.5731 - case $file in
19.5732 - *.exe)
19.5733 - if test ! -f "$file"; then
19.5734 - file=`$echo $file|${SED} 's,.exe$,,'`
19.5735 - stripped_ext=".exe"
19.5736 - fi
19.5737 - ;;
19.5738 - esac
19.5739 -
19.5740 - # Do a test to see if this is really a libtool program.
19.5741 - case $host in
19.5742 - *cygwin*|*mingw*)
19.5743 - wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
19.5744 - ;;
19.5745 - *)
19.5746 - wrapper=$file
19.5747 - ;;
19.5748 - esac
19.5749 - if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
19.5750 - notinst_deplibs=
19.5751 - relink_command=
19.5752 -
19.5753 - # Note that it is not necessary on cygwin/mingw to append a dot to
19.5754 - # foo even if both foo and FILE.exe exist: automatic-append-.exe
19.5755 - # behavior happens only for exec(3), not for open(2)! Also, sourcing
19.5756 - # `FILE.' does not work on cygwin managed mounts.
19.5757 - #
19.5758 - # If there is no directory component, then add one.
19.5759 - case $wrapper in
19.5760 - */* | *\\*) . ${wrapper} ;;
19.5761 - *) . ./${wrapper} ;;
19.5762 - esac
19.5763 -
19.5764 - # Check the variables that should have been set.
19.5765 - if test -z "$notinst_deplibs"; then
19.5766 - $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
19.5767 - exit $EXIT_FAILURE
19.5768 - fi
19.5769 -
19.5770 - finalize=yes
19.5771 - for lib in $notinst_deplibs; do
19.5772 - # Check to see that each library is installed.
19.5773 - libdir=
19.5774 - if test -f "$lib"; then
19.5775 - # If there is no directory component, then add one.
19.5776 - case $lib in
19.5777 - */* | *\\*) . $lib ;;
19.5778 - *) . ./$lib ;;
19.5779 - esac
19.5780 - fi
19.5781 - libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
19.5782 - if test -n "$libdir" && test ! -f "$libfile"; then
19.5783 - $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
19.5784 - finalize=no
19.5785 - fi
19.5786 - done
19.5787 -
19.5788 - relink_command=
19.5789 - # Note that it is not necessary on cygwin/mingw to append a dot to
19.5790 - # foo even if both foo and FILE.exe exist: automatic-append-.exe
19.5791 - # behavior happens only for exec(3), not for open(2)! Also, sourcing
19.5792 - # `FILE.' does not work on cygwin managed mounts.
19.5793 - #
19.5794 - # If there is no directory component, then add one.
19.5795 - case $wrapper in
19.5796 - */* | *\\*) . ${wrapper} ;;
19.5797 - *) . ./${wrapper} ;;
19.5798 - esac
19.5799 -
19.5800 - outputname=
19.5801 - if test "$fast_install" = no && test -n "$relink_command"; then
19.5802 - if test "$finalize" = yes && test -z "$run"; then
19.5803 - tmpdir="/tmp"
19.5804 - test -n "$TMPDIR" && tmpdir="$TMPDIR"
19.5805 - tmpdir="$tmpdir/libtool-$$"
19.5806 - save_umask=`umask`
19.5807 - umask 0077
19.5808 - if $mkdir "$tmpdir"; then
19.5809 - umask $save_umask
19.5810 - else
19.5811 - umask $save_umask
19.5812 - $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
19.5813 - continue
19.5814 - fi
19.5815 - file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
19.5816 - outputname="$tmpdir/$file"
19.5817 - # Replace the output file specification.
19.5818 - relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
19.5819 -
19.5820 - $show "$relink_command"
19.5821 - if $run eval "$relink_command"; then :
19.5822 - else
19.5823 - $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
19.5824 - ${rm}r "$tmpdir"
19.5825 - continue
19.5826 - fi
19.5827 - file="$outputname"
19.5828 - else
19.5829 - $echo "$modename: warning: cannot relink \`$file'" 1>&2
19.5830 - fi
19.5831 - else
19.5832 - # Install the binary that we compiled earlier.
19.5833 - file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
19.5834 - fi
19.5835 - fi
19.5836 -
19.5837 - # remove .exe since cygwin /usr/bin/install will append another
19.5838 - # one anyway
19.5839 - case $install_prog,$host in
19.5840 - */usr/bin/install*,*cygwin*)
19.5841 - case $file:$destfile in
19.5842 - *.exe:*.exe)
19.5843 - # this is ok
19.5844 - ;;
19.5845 - *.exe:*)
19.5846 - destfile=$destfile.exe
19.5847 - ;;
19.5848 - *:*.exe)
19.5849 - destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
19.5850 - ;;
19.5851 - esac
19.5852 - ;;
19.5853 - esac
19.5854 - $show "$install_prog$stripme $file $destfile"
19.5855 - $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
19.5856 - test -n "$outputname" && ${rm}r "$tmpdir"
19.5857 - ;;
19.5858 - esac
19.5859 - done
19.5860 -
19.5861 - for file in $staticlibs; do
19.5862 - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
19.5863 -
19.5864 - # Set up the ranlib parameters.
19.5865 - oldlib="$destdir/$name"
19.5866 -
19.5867 - $show "$install_prog $file $oldlib"
19.5868 - $run eval "$install_prog \$file \$oldlib" || exit $?
19.5869 -
19.5870 - if test -n "$stripme" && test -n "$old_striplib"; then
19.5871 - $show "$old_striplib $oldlib"
19.5872 - $run eval "$old_striplib $oldlib" || exit $?
19.5873 - fi
19.5874 -
19.5875 - # Do each command in the postinstall commands.
19.5876 - cmds=$old_postinstall_cmds
19.5877 - save_ifs="$IFS"; IFS='~'
19.5878 - for cmd in $cmds; do
19.5879 - IFS="$save_ifs"
19.5880 - eval cmd=\"$cmd\"
19.5881 - $show "$cmd"
19.5882 - $run eval "$cmd" || exit $?
19.5883 - done
19.5884 - IFS="$save_ifs"
19.5885 - done
19.5886 -
19.5887 - if test -n "$future_libdirs"; then
19.5888 - $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
19.5889 - fi
19.5890 -
19.5891 - if test -n "$current_libdirs"; then
19.5892 - # Maybe just do a dry run.
19.5893 - test -n "$run" && current_libdirs=" -n$current_libdirs"
19.5894 - exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
19.5895 - else
19.5896 - exit $EXIT_SUCCESS
19.5897 - fi
19.5898 - ;;
19.5899 -
19.5900 - # libtool finish mode
19.5901 - finish)
19.5902 - modename="$modename: finish"
19.5903 - libdirs="$nonopt"
19.5904 - admincmds=
19.5905 -
19.5906 - if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
19.5907 - for dir
19.5908 - do
19.5909 - libdirs="$libdirs $dir"
19.5910 - done
19.5911 -
19.5912 - for libdir in $libdirs; do
19.5913 - if test -n "$finish_cmds"; then
19.5914 - # Do each command in the finish commands.
19.5915 - cmds=$finish_cmds
19.5916 - save_ifs="$IFS"; IFS='~'
19.5917 - for cmd in $cmds; do
19.5918 - IFS="$save_ifs"
19.5919 - eval cmd=\"$cmd\"
19.5920 - $show "$cmd"
19.5921 - $run eval "$cmd" || admincmds="$admincmds
19.5922 - $cmd"
19.5923 - done
19.5924 - IFS="$save_ifs"
19.5925 - fi
19.5926 - if test -n "$finish_eval"; then
19.5927 - # Do the single finish_eval.
19.5928 - eval cmds=\"$finish_eval\"
19.5929 - $run eval "$cmds" || admincmds="$admincmds
19.5930 - $cmds"
19.5931 - fi
19.5932 - done
19.5933 - fi
19.5934 -
19.5935 - # Exit here if they wanted silent mode.
19.5936 - test "$show" = : && exit $EXIT_SUCCESS
19.5937 -
19.5938 - $echo "----------------------------------------------------------------------"
19.5939 - $echo "Libraries have been installed in:"
19.5940 - for libdir in $libdirs; do
19.5941 - $echo " $libdir"
19.5942 - done
19.5943 - $echo
19.5944 - $echo "If you ever happen to want to link against installed libraries"
19.5945 - $echo "in a given directory, LIBDIR, you must either use libtool, and"
19.5946 - $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
19.5947 - $echo "flag during linking and do at least one of the following:"
19.5948 - if test -n "$shlibpath_var"; then
19.5949 - $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
19.5950 - $echo " during execution"
19.5951 - fi
19.5952 - if test -n "$runpath_var"; then
19.5953 - $echo " - add LIBDIR to the \`$runpath_var' environment variable"
19.5954 - $echo " during linking"
19.5955 - fi
19.5956 - if test -n "$hardcode_libdir_flag_spec"; then
19.5957 - libdir=LIBDIR
19.5958 - eval flag=\"$hardcode_libdir_flag_spec\"
19.5959 -
19.5960 - $echo " - use the \`$flag' linker flag"
19.5961 - fi
19.5962 - if test -n "$admincmds"; then
19.5963 - $echo " - have your system administrator run these commands:$admincmds"
19.5964 - fi
19.5965 - if test -f /etc/ld.so.conf; then
19.5966 - $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
19.5967 - fi
19.5968 - $echo
19.5969 - $echo "See any operating system documentation about shared libraries for"
19.5970 - $echo "more information, such as the ld(1) and ld.so(8) manual pages."
19.5971 - $echo "----------------------------------------------------------------------"
19.5972 - exit $EXIT_SUCCESS
19.5973 - ;;
19.5974 -
19.5975 - # libtool execute mode
19.5976 - execute)
19.5977 - modename="$modename: execute"
19.5978 -
19.5979 - # The first argument is the command name.
19.5980 - cmd="$nonopt"
19.5981 - if test -z "$cmd"; then
19.5982 - $echo "$modename: you must specify a COMMAND" 1>&2
19.5983 - $echo "$help"
19.5984 - exit $EXIT_FAILURE
19.5985 - fi
19.5986 -
19.5987 - # Handle -dlopen flags immediately.
19.5988 - for file in $execute_dlfiles; do
19.5989 - if test ! -f "$file"; then
19.5990 - $echo "$modename: \`$file' is not a file" 1>&2
19.5991 - $echo "$help" 1>&2
19.5992 - exit $EXIT_FAILURE
19.5993 - fi
19.5994 -
19.5995 - dir=
19.5996 - case $file in
19.5997 - *.la)
19.5998 - # Check to see that this really is a libtool archive.
19.5999 - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
19.6000 - else
19.6001 - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
19.6002 - $echo "$help" 1>&2
19.6003 - exit $EXIT_FAILURE
19.6004 - fi
19.6005 -
19.6006 - # Read the libtool library.
19.6007 - dlname=
19.6008 - library_names=
19.6009 -
19.6010 - # If there is no directory component, then add one.
19.6011 - case $file in
19.6012 - */* | *\\*) . $file ;;
19.6013 - *) . ./$file ;;
19.6014 - esac
19.6015 -
19.6016 - # Skip this library if it cannot be dlopened.
19.6017 - if test -z "$dlname"; then
19.6018 - # Warn if it was a shared library.
19.6019 - test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
19.6020 - continue
19.6021 - fi
19.6022 -
19.6023 - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
19.6024 - test "X$dir" = "X$file" && dir=.
19.6025 -
19.6026 - if test -f "$dir/$objdir/$dlname"; then
19.6027 - dir="$dir/$objdir"
19.6028 - else
19.6029 - $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
19.6030 - exit $EXIT_FAILURE
19.6031 - fi
19.6032 - ;;
19.6033 -
19.6034 - *.lo)
19.6035 - # Just add the directory containing the .lo file.
19.6036 - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
19.6037 - test "X$dir" = "X$file" && dir=.
19.6038 - ;;
19.6039 -
19.6040 - *)
19.6041 - $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
19.6042 - continue
19.6043 - ;;
19.6044 - esac
19.6045 -
19.6046 - # Get the absolute pathname.
19.6047 - absdir=`cd "$dir" && pwd`
19.6048 - test -n "$absdir" && dir="$absdir"
19.6049 -
19.6050 - # Now add the directory to shlibpath_var.
19.6051 - if eval "test -z \"\$$shlibpath_var\""; then
19.6052 - eval "$shlibpath_var=\"\$dir\""
19.6053 - else
19.6054 - eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
19.6055 - fi
19.6056 - done
19.6057 -
19.6058 - # This variable tells wrapper scripts just to set shlibpath_var
19.6059 - # rather than running their programs.
19.6060 - libtool_execute_magic="$magic"
19.6061 -
19.6062 - # Check if any of the arguments is a wrapper script.
19.6063 - args=
19.6064 - for file
19.6065 - do
19.6066 - case $file in
19.6067 - -*) ;;
19.6068 - *)
19.6069 - # Do a test to see if this is really a libtool program.
19.6070 - if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
19.6071 - # If there is no directory component, then add one.
19.6072 - case $file in
19.6073 - */* | *\\*) . $file ;;
19.6074 - *) . ./$file ;;
19.6075 - esac
19.6076 -
19.6077 - # Transform arg to wrapped name.
19.6078 - file="$progdir/$program"
19.6079 - fi
19.6080 - ;;
19.6081 - esac
19.6082 - # Quote arguments (to preserve shell metacharacters).
19.6083 - file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
19.6084 - args="$args \"$file\""
19.6085 - done
19.6086 -
19.6087 - if test -z "$run"; then
19.6088 - if test -n "$shlibpath_var"; then
19.6089 - # Export the shlibpath_var.
19.6090 - eval "export $shlibpath_var"
19.6091 - fi
19.6092 -
19.6093 - # Restore saved environment variables
19.6094 - if test "${save_LC_ALL+set}" = set; then
19.6095 - LC_ALL="$save_LC_ALL"; export LC_ALL
19.6096 - fi
19.6097 - if test "${save_LANG+set}" = set; then
19.6098 - LANG="$save_LANG"; export LANG
19.6099 - fi
19.6100 -
19.6101 - # Now prepare to actually exec the command.
19.6102 - exec_cmd="\$cmd$args"
19.6103 - else
19.6104 - # Display what would be done.
19.6105 - if test -n "$shlibpath_var"; then
19.6106 - eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
19.6107 - $echo "export $shlibpath_var"
19.6108 - fi
19.6109 - $echo "$cmd$args"
19.6110 - exit $EXIT_SUCCESS
19.6111 - fi
19.6112 - ;;
19.6113 -
19.6114 - # libtool clean and uninstall mode
19.6115 - clean | uninstall)
19.6116 - modename="$modename: $mode"
19.6117 - rm="$nonopt"
19.6118 - files=
19.6119 - rmforce=
19.6120 - exit_status=0
19.6121 -
19.6122 - # This variable tells wrapper scripts just to set variables rather
19.6123 - # than running their programs.
19.6124 - libtool_install_magic="$magic"
19.6125 -
19.6126 - for arg
19.6127 - do
19.6128 - case $arg in
19.6129 - -f) rm="$rm $arg"; rmforce=yes ;;
19.6130 - -*) rm="$rm $arg" ;;
19.6131 - *) files="$files $arg" ;;
19.6132 - esac
19.6133 - done
19.6134 -
19.6135 - if test -z "$rm"; then
19.6136 - $echo "$modename: you must specify an RM program" 1>&2
19.6137 - $echo "$help" 1>&2
19.6138 - exit $EXIT_FAILURE
19.6139 - fi
19.6140 -
19.6141 - rmdirs=
19.6142 -
19.6143 - origobjdir="$objdir"
19.6144 - for file in $files; do
19.6145 - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
19.6146 - if test "X$dir" = "X$file"; then
19.6147 - dir=.
19.6148 - objdir="$origobjdir"
19.6149 - else
19.6150 - objdir="$dir/$origobjdir"
19.6151 - fi
19.6152 - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
19.6153 - test "$mode" = uninstall && objdir="$dir"
19.6154 -
19.6155 - # Remember objdir for removal later, being careful to avoid duplicates
19.6156 - if test "$mode" = clean; then
19.6157 - case " $rmdirs " in
19.6158 - *" $objdir "*) ;;
19.6159 - *) rmdirs="$rmdirs $objdir" ;;
19.6160 - esac
19.6161 - fi
19.6162 -
19.6163 - # Don't error if the file doesn't exist and rm -f was used.
19.6164 - if (test -L "$file") >/dev/null 2>&1 \
19.6165 - || (test -h "$file") >/dev/null 2>&1 \
19.6166 - || test -f "$file"; then
19.6167 - :
19.6168 - elif test -d "$file"; then
19.6169 - exit_status=1
19.6170 - continue
19.6171 - elif test "$rmforce" = yes; then
19.6172 - continue
19.6173 - fi
19.6174 -
19.6175 - rmfiles="$file"
19.6176 -
19.6177 - case $name in
19.6178 - *.la)
19.6179 - # Possibly a libtool archive, so verify it.
19.6180 - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
19.6181 - . $dir/$name
19.6182 -
19.6183 - # Delete the libtool libraries and symlinks.
19.6184 - for n in $library_names; do
19.6185 - rmfiles="$rmfiles $objdir/$n"
19.6186 - done
19.6187 - test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
19.6188 - test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
19.6189 -
19.6190 - if test "$mode" = uninstall; then
19.6191 - if test -n "$library_names"; then
19.6192 - # Do each command in the postuninstall commands.
19.6193 - cmds=$postuninstall_cmds
19.6194 - save_ifs="$IFS"; IFS='~'
19.6195 - for cmd in $cmds; do
19.6196 - IFS="$save_ifs"
19.6197 - eval cmd=\"$cmd\"
19.6198 - $show "$cmd"
19.6199 - $run eval "$cmd"
19.6200 - if test "$?" -ne 0 && test "$rmforce" != yes; then
19.6201 - exit_status=1
19.6202 - fi
19.6203 - done
19.6204 - IFS="$save_ifs"
19.6205 - fi
19.6206 -
19.6207 - if test -n "$old_library"; then
19.6208 - # Do each command in the old_postuninstall commands.
19.6209 - cmds=$old_postuninstall_cmds
19.6210 - save_ifs="$IFS"; IFS='~'
19.6211 - for cmd in $cmds; do
19.6212 - IFS="$save_ifs"
19.6213 - eval cmd=\"$cmd\"
19.6214 - $show "$cmd"
19.6215 - $run eval "$cmd"
19.6216 - if test "$?" -ne 0 && test "$rmforce" != yes; then
19.6217 - exit_status=1
19.6218 - fi
19.6219 - done
19.6220 - IFS="$save_ifs"
19.6221 - fi
19.6222 - # FIXME: should reinstall the best remaining shared library.
19.6223 - fi
19.6224 - fi
19.6225 - ;;
19.6226 -
19.6227 - *.lo)
19.6228 - # Possibly a libtool object, so verify it.
19.6229 - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
19.6230 -
19.6231 - # Read the .lo file
19.6232 - . $dir/$name
19.6233 -
19.6234 - # Add PIC object to the list of files to remove.
19.6235 - if test -n "$pic_object" \
19.6236 - && test "$pic_object" != none; then
19.6237 - rmfiles="$rmfiles $dir/$pic_object"
19.6238 - fi
19.6239 -
19.6240 - # Add non-PIC object to the list of files to remove.
19.6241 - if test -n "$non_pic_object" \
19.6242 - && test "$non_pic_object" != none; then
19.6243 - rmfiles="$rmfiles $dir/$non_pic_object"
19.6244 - fi
19.6245 - fi
19.6246 - ;;
19.6247 -
19.6248 - *)
19.6249 - if test "$mode" = clean ; then
19.6250 - noexename=$name
19.6251 - case $file in
19.6252 - *.exe)
19.6253 - file=`$echo $file|${SED} 's,.exe$,,'`
19.6254 - noexename=`$echo $name|${SED} 's,.exe$,,'`
19.6255 - # $file with .exe has already been added to rmfiles,
19.6256 - # add $file without .exe
19.6257 - rmfiles="$rmfiles $file"
19.6258 - ;;
19.6259 - esac
19.6260 - # Do a test to see if this is a libtool program.
19.6261 - if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
19.6262 - relink_command=
19.6263 - . $dir/$noexename
19.6264 -
19.6265 - # note $name still contains .exe if it was in $file originally
19.6266 - # as does the version of $file that was added into $rmfiles
19.6267 - rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
19.6268 - if test "$fast_install" = yes && test -n "$relink_command"; then
19.6269 - rmfiles="$rmfiles $objdir/lt-$name"
19.6270 - fi
19.6271 - if test "X$noexename" != "X$name" ; then
19.6272 - rmfiles="$rmfiles $objdir/lt-${noexename}.c"
19.6273 - fi
19.6274 - fi
19.6275 - fi
19.6276 - ;;
19.6277 - esac
19.6278 - $show "$rm $rmfiles"
19.6279 - $run $rm $rmfiles || exit_status=1
19.6280 - done
19.6281 - objdir="$origobjdir"
19.6282 -
19.6283 - # Try to remove the ${objdir}s in the directories where we deleted files
19.6284 - for dir in $rmdirs; do
19.6285 - if test -d "$dir"; then
19.6286 - $show "rmdir $dir"
19.6287 - $run rmdir $dir >/dev/null 2>&1
19.6288 - fi
19.6289 - done
19.6290 -
19.6291 - exit $exit_status
19.6292 - ;;
19.6293 -
19.6294 - "")
19.6295 - $echo "$modename: you must specify a MODE" 1>&2
19.6296 - $echo "$generic_help" 1>&2
19.6297 - exit $EXIT_FAILURE
19.6298 - ;;
19.6299 - esac
19.6300 -
19.6301 - if test -z "$exec_cmd"; then
19.6302 - $echo "$modename: invalid operation mode \`$mode'" 1>&2
19.6303 - $echo "$generic_help" 1>&2
19.6304 - exit $EXIT_FAILURE
19.6305 - fi
19.6306 -fi # test -z "$show_help"
19.6307 -
19.6308 -if test -n "$exec_cmd"; then
19.6309 - eval exec $exec_cmd
19.6310 - exit $EXIT_FAILURE
19.6311 -fi
19.6312 -
19.6313 -# We need to display help for each of the modes.
19.6314 -case $mode in
19.6315 -"") $echo \
19.6316 -"Usage: $modename [OPTION]... [MODE-ARG]...
19.6317 -
19.6318 -Provide generalized library-building support services.
19.6319 -
19.6320 - --config show all configuration variables
19.6321 - --debug enable verbose shell tracing
19.6322 --n, --dry-run display commands without modifying any files
19.6323 - --features display basic configuration information and exit
19.6324 - --finish same as \`--mode=finish'
19.6325 - --help display this help message and exit
19.6326 - --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
19.6327 - --quiet same as \`--silent'
19.6328 - --silent don't print informational messages
19.6329 - --tag=TAG use configuration variables from tag TAG
19.6330 - --version print version information
19.6331 -
19.6332 -MODE must be one of the following:
19.6333 -
19.6334 - clean remove files from the build directory
19.6335 - compile compile a source file into a libtool object
19.6336 - execute automatically set library path, then run a program
19.6337 - finish complete the installation of libtool libraries
19.6338 - install install libraries or executables
19.6339 - link create a library or an executable
19.6340 - uninstall remove libraries from an installed directory
19.6341 -
19.6342 -MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
19.6343 -a more detailed description of MODE.
19.6344 -
19.6345 -Report bugs to <bug-libtool@gnu.org>."
19.6346 - exit $EXIT_SUCCESS
19.6347 - ;;
19.6348 -
19.6349 -clean)
19.6350 - $echo \
19.6351 -"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
19.6352 -
19.6353 -Remove files from the build directory.
19.6354 -
19.6355 -RM is the name of the program to use to delete files associated with each FILE
19.6356 -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
19.6357 -to RM.
19.6358 -
19.6359 -If FILE is a libtool library, object or program, all the files associated
19.6360 -with it are deleted. Otherwise, only FILE itself is deleted using RM."
19.6361 - ;;
19.6362 -
19.6363 -compile)
19.6364 - $echo \
19.6365 -"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
19.6366 -
19.6367 -Compile a source file into a libtool library object.
19.6368 -
19.6369 -This mode accepts the following additional options:
19.6370 -
19.6371 - -o OUTPUT-FILE set the output file name to OUTPUT-FILE
19.6372 - -prefer-pic try to building PIC objects only
19.6373 - -prefer-non-pic try to building non-PIC objects only
19.6374 - -static always build a \`.o' file suitable for static linking
19.6375 -
19.6376 -COMPILE-COMMAND is a command to be used in creating a \`standard' object file
19.6377 -from the given SOURCEFILE.
19.6378 -
19.6379 -The output file name is determined by removing the directory component from
19.6380 -SOURCEFILE, then substituting the C source code suffix \`.c' with the
19.6381 -library object suffix, \`.lo'."
19.6382 - ;;
19.6383 -
19.6384 -execute)
19.6385 - $echo \
19.6386 -"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
19.6387 -
19.6388 -Automatically set library path, then run a program.
19.6389 -
19.6390 -This mode accepts the following additional options:
19.6391 -
19.6392 - -dlopen FILE add the directory containing FILE to the library path
19.6393 -
19.6394 -This mode sets the library path environment variable according to \`-dlopen'
19.6395 -flags.
19.6396 -
19.6397 -If any of the ARGS are libtool executable wrappers, then they are translated
19.6398 -into their corresponding uninstalled binary, and any of their required library
19.6399 -directories are added to the library path.
19.6400 -
19.6401 -Then, COMMAND is executed, with ARGS as arguments."
19.6402 - ;;
19.6403 -
19.6404 -finish)
19.6405 - $echo \
19.6406 -"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
19.6407 -
19.6408 -Complete the installation of libtool libraries.
19.6409 -
19.6410 -Each LIBDIR is a directory that contains libtool libraries.
19.6411 -
19.6412 -The commands that this mode executes may require superuser privileges. Use
19.6413 -the \`--dry-run' option if you just want to see what would be executed."
19.6414 - ;;
19.6415 -
19.6416 -install)
19.6417 - $echo \
19.6418 -"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
19.6419 -
19.6420 -Install executables or libraries.
19.6421 -
19.6422 -INSTALL-COMMAND is the installation command. The first component should be
19.6423 -either the \`install' or \`cp' program.
19.6424 -
19.6425 -The rest of the components are interpreted as arguments to that command (only
19.6426 -BSD-compatible install options are recognized)."
19.6427 - ;;
19.6428 -
19.6429 -link)
19.6430 - $echo \
19.6431 -"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
19.6432 -
19.6433 -Link object files or libraries together to form another library, or to
19.6434 -create an executable program.
19.6435 -
19.6436 -LINK-COMMAND is a command using the C compiler that you would use to create
19.6437 -a program from several object files.
19.6438 -
19.6439 -The following components of LINK-COMMAND are treated specially:
19.6440 -
19.6441 - -all-static do not do any dynamic linking at all
19.6442 - -avoid-version do not add a version suffix if possible
19.6443 - -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
19.6444 - -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
19.6445 - -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
19.6446 - -export-symbols SYMFILE
19.6447 - try to export only the symbols listed in SYMFILE
19.6448 - -export-symbols-regex REGEX
19.6449 - try to export only the symbols matching REGEX
19.6450 - -LLIBDIR search LIBDIR for required installed libraries
19.6451 - -lNAME OUTPUT-FILE requires the installed library libNAME
19.6452 - -module build a library that can dlopened
19.6453 - -no-fast-install disable the fast-install mode
19.6454 - -no-install link a not-installable executable
19.6455 - -no-undefined declare that a library does not refer to external symbols
19.6456 - -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
19.6457 - -objectlist FILE Use a list of object files found in FILE to specify objects
19.6458 - -precious-files-regex REGEX
19.6459 - don't remove output files matching REGEX
19.6460 - -release RELEASE specify package release information
19.6461 - -rpath LIBDIR the created library will eventually be installed in LIBDIR
19.6462 - -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
19.6463 - -static do not do any dynamic linking of libtool libraries
19.6464 - -version-info CURRENT[:REVISION[:AGE]]
19.6465 - specify library version info [each variable defaults to 0]
19.6466 -
19.6467 -All other options (arguments beginning with \`-') are ignored.
19.6468 -
19.6469 -Every other argument is treated as a filename. Files ending in \`.la' are
19.6470 -treated as uninstalled libtool libraries, other files are standard or library
19.6471 -object files.
19.6472 -
19.6473 -If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
19.6474 -only library objects (\`.lo' files) may be specified, and \`-rpath' is
19.6475 -required, except when creating a convenience library.
19.6476 -
19.6477 -If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
19.6478 -using \`ar' and \`ranlib', or on Windows using \`lib'.
19.6479 -
19.6480 -If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
19.6481 -is created, otherwise an executable program is created."
19.6482 - ;;
19.6483 -
19.6484 -uninstall)
19.6485 - $echo \
19.6486 -"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
19.6487 -
19.6488 -Remove libraries from an installation directory.
19.6489 -
19.6490 -RM is the name of the program to use to delete files associated with each FILE
19.6491 -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
19.6492 -to RM.
19.6493 -
19.6494 -If FILE is a libtool library, all the files associated with it are deleted.
19.6495 -Otherwise, only FILE itself is deleted using RM."
19.6496 - ;;
19.6497 -
19.6498 -*)
19.6499 - $echo "$modename: invalid operation mode \`$mode'" 1>&2
19.6500 - $echo "$help" 1>&2
19.6501 - exit $EXIT_FAILURE
19.6502 - ;;
19.6503 -esac
19.6504 -
19.6505 -$echo
19.6506 -$echo "Try \`$modename --help' for more information about other modes."
19.6507 -
19.6508 -exit $?
19.6509 -
19.6510 -# The TAGs below are defined such that we never get into a situation
19.6511 -# in which we disable both kinds of libraries. Given conflicting
19.6512 -# choices, we go for a static library, that is the most portable,
19.6513 -# since we can't tell whether shared libraries were disabled because
19.6514 -# the user asked for that or because the platform doesn't support
19.6515 -# them. This is particularly important on AIX, because we don't
19.6516 -# support having both static and shared libraries enabled at the same
19.6517 -# time on that platform, so we default to a shared-only configuration.
19.6518 -# If a disable-shared tag is given, we'll fallback to a static-only
19.6519 -# configuration. But we'll never go from static-only to shared-only.
19.6520 -
19.6521 -# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
19.6522 -build_libtool_libs=no
19.6523 -build_old_libs=yes
19.6524 -# ### END LIBTOOL TAG CONFIG: disable-shared
19.6525 -
19.6526 -# ### BEGIN LIBTOOL TAG CONFIG: disable-static
19.6527 -build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
19.6528 -# ### END LIBTOOL TAG CONFIG: disable-static
19.6529 -
19.6530 -# Local Variables:
19.6531 -# mode:shell-script
19.6532 -# sh-indentation:2
19.6533 -# End:
20.1 --- a/gst-plugins-nuvdemux/missing Thu Oct 26 18:55:14 2006 +0100
20.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
20.3 @@ -1,360 +0,0 @@
20.4 -#! /bin/sh
20.5 -# Common stub for a few missing GNU programs while installing.
20.6 -
20.7 -scriptversion=2003-09-02.23
20.8 -
20.9 -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003
20.10 -# Free Software Foundation, Inc.
20.11 -# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
20.12 -
20.13 -# This program is free software; you can redistribute it and/or modify
20.14 -# it under the terms of the GNU General Public License as published by
20.15 -# the Free Software Foundation; either version 2, or (at your option)
20.16 -# any later version.
20.17 -
20.18 -# This program is distributed in the hope that it will be useful,
20.19 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
20.20 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20.21 -# GNU General Public License for more details.
20.22 -
20.23 -# You should have received a copy of the GNU General Public License
20.24 -# along with this program; if not, write to the Free Software
20.25 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20.26 -# 02111-1307, USA.
20.27 -
20.28 -# As a special exception to the GNU General Public License, if you
20.29 -# distribute this file as part of a program that contains a
20.30 -# configuration script generated by Autoconf, you may include it under
20.31 -# the same distribution terms that you use for the rest of that program.
20.32 -
20.33 -if test $# -eq 0; then
20.34 - echo 1>&2 "Try \`$0 --help' for more information"
20.35 - exit 1
20.36 -fi
20.37 -
20.38 -run=:
20.39 -
20.40 -# In the cases where this matters, `missing' is being run in the
20.41 -# srcdir already.
20.42 -if test -f configure.ac; then
20.43 - configure_ac=configure.ac
20.44 -else
20.45 - configure_ac=configure.in
20.46 -fi
20.47 -
20.48 -msg="missing on your system"
20.49 -
20.50 -case "$1" in
20.51 ---run)
20.52 - # Try to run requested program, and just exit if it succeeds.
20.53 - run=
20.54 - shift
20.55 - "$@" && exit 0
20.56 - # Exit code 63 means version mismatch. This often happens
20.57 - # when the user try to use an ancient version of a tool on
20.58 - # a file that requires a minimum version. In this case we
20.59 - # we should proceed has if the program had been absent, or
20.60 - # if --run hadn't been passed.
20.61 - if test $? = 63; then
20.62 - run=:
20.63 - msg="probably too old"
20.64 - fi
20.65 - ;;
20.66 -esac
20.67 -
20.68 -# If it does not exist, or fails to run (possibly an outdated version),
20.69 -# try to emulate it.
20.70 -case "$1" in
20.71 -
20.72 - -h|--h|--he|--hel|--help)
20.73 - echo "\
20.74 -$0 [OPTION]... PROGRAM [ARGUMENT]...
20.75 -
20.76 -Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
20.77 -error status if there is no known handling for PROGRAM.
20.78 -
20.79 -Options:
20.80 - -h, --help display this help and exit
20.81 - -v, --version output version information and exit
20.82 - --run try to run the given command, and emulate it if it fails
20.83 -
20.84 -Supported PROGRAM values:
20.85 - aclocal touch file \`aclocal.m4'
20.86 - autoconf touch file \`configure'
20.87 - autoheader touch file \`config.h.in'
20.88 - automake touch all \`Makefile.in' files
20.89 - bison create \`y.tab.[ch]', if possible, from existing .[ch]
20.90 - flex create \`lex.yy.c', if possible, from existing .c
20.91 - help2man touch the output file
20.92 - lex create \`lex.yy.c', if possible, from existing .c
20.93 - makeinfo touch the output file
20.94 - tar try tar, gnutar, gtar, then tar without non-portable flags
20.95 - yacc create \`y.tab.[ch]', if possible, from existing .[ch]
20.96 -
20.97 -Send bug reports to <bug-automake@gnu.org>."
20.98 - ;;
20.99 -
20.100 - -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
20.101 - echo "missing $scriptversion (GNU Automake)"
20.102 - ;;
20.103 -
20.104 - -*)
20.105 - echo 1>&2 "$0: Unknown \`$1' option"
20.106 - echo 1>&2 "Try \`$0 --help' for more information"
20.107 - exit 1
20.108 - ;;
20.109 -
20.110 - aclocal*)
20.111 - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
20.112 - # We have it, but it failed.
20.113 - exit 1
20.114 - fi
20.115 -
20.116 - echo 1>&2 "\
20.117 -WARNING: \`$1' is $msg. You should only need it if
20.118 - you modified \`acinclude.m4' or \`${configure_ac}'. You might want
20.119 - to install the \`Automake' and \`Perl' packages. Grab them from
20.120 - any GNU archive site."
20.121 - touch aclocal.m4
20.122 - ;;
20.123 -
20.124 - autoconf)
20.125 - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
20.126 - # We have it, but it failed.
20.127 - exit 1
20.128 - fi
20.129 -
20.130 - echo 1>&2 "\
20.131 -WARNING: \`$1' is $msg. You should only need it if
20.132 - you modified \`${configure_ac}'. You might want to install the
20.133 - \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
20.134 - archive site."
20.135 - touch configure
20.136 - ;;
20.137 -
20.138 - autoheader)
20.139 - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
20.140 - # We have it, but it failed.
20.141 - exit 1
20.142 - fi
20.143 -
20.144 - echo 1>&2 "\
20.145 -WARNING: \`$1' is $msg. You should only need it if
20.146 - you modified \`acconfig.h' or \`${configure_ac}'. You might want
20.147 - to install the \`Autoconf' and \`GNU m4' packages. Grab them
20.148 - from any GNU archive site."
20.149 - files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
20.150 - test -z "$files" && files="config.h"
20.151 - touch_files=
20.152 - for f in $files; do
20.153 - case "$f" in
20.154 - *:*) touch_files="$touch_files "`echo "$f" |
20.155 - sed -e 's/^[^:]*://' -e 's/:.*//'`;;
20.156 - *) touch_files="$touch_files $f.in";;
20.157 - esac
20.158 - done
20.159 - touch $touch_files
20.160 - ;;
20.161 -
20.162 - automake*)
20.163 - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
20.164 - # We have it, but it failed.
20.165 - exit 1
20.166 - fi
20.167 -
20.168 - echo 1>&2 "\
20.169 -WARNING: \`$1' is $msg. You should only need it if
20.170 - you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
20.171 - You might want to install the \`Automake' and \`Perl' packages.
20.172 - Grab them from any GNU archive site."
20.173 - find . -type f -name Makefile.am -print |
20.174 - sed 's/\.am$/.in/' |
20.175 - while read f; do touch "$f"; done
20.176 - ;;
20.177 -
20.178 - autom4te)
20.179 - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
20.180 - # We have it, but it failed.
20.181 - exit 1
20.182 - fi
20.183 -
20.184 - echo 1>&2 "\
20.185 -WARNING: \`$1' is needed, but is $msg.
20.186 - You might have modified some files without having the
20.187 - proper tools for further handling them.
20.188 - You can get \`$1' as part of \`Autoconf' from any GNU
20.189 - archive site."
20.190 -
20.191 - file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
20.192 - test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
20.193 - if test -f "$file"; then
20.194 - touch $file
20.195 - else
20.196 - test -z "$file" || exec >$file
20.197 - echo "#! /bin/sh"
20.198 - echo "# Created by GNU Automake missing as a replacement of"
20.199 - echo "# $ $@"
20.200 - echo "exit 0"
20.201 - chmod +x $file
20.202 - exit 1
20.203 - fi
20.204 - ;;
20.205 -
20.206 - bison|yacc)
20.207 - echo 1>&2 "\
20.208 -WARNING: \`$1' $msg. You should only need it if
20.209 - you modified a \`.y' file. You may need the \`Bison' package
20.210 - in order for those modifications to take effect. You can get
20.211 - \`Bison' from any GNU archive site."
20.212 - rm -f y.tab.c y.tab.h
20.213 - if [ $# -ne 1 ]; then
20.214 - eval LASTARG="\${$#}"
20.215 - case "$LASTARG" in
20.216 - *.y)
20.217 - SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
20.218 - if [ -f "$SRCFILE" ]; then
20.219 - cp "$SRCFILE" y.tab.c
20.220 - fi
20.221 - SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
20.222 - if [ -f "$SRCFILE" ]; then
20.223 - cp "$SRCFILE" y.tab.h
20.224 - fi
20.225 - ;;
20.226 - esac
20.227 - fi
20.228 - if [ ! -f y.tab.h ]; then
20.229 - echo >y.tab.h
20.230 - fi
20.231 - if [ ! -f y.tab.c ]; then
20.232 - echo 'main() { return 0; }' >y.tab.c
20.233 - fi
20.234 - ;;
20.235 -
20.236 - lex|flex)
20.237 - echo 1>&2 "\
20.238 -WARNING: \`$1' is $msg. You should only need it if
20.239 - you modified a \`.l' file. You may need the \`Flex' package
20.240 - in order for those modifications to take effect. You can get
20.241 - \`Flex' from any GNU archive site."
20.242 - rm -f lex.yy.c
20.243 - if [ $# -ne 1 ]; then
20.244 - eval LASTARG="\${$#}"
20.245 - case "$LASTARG" in
20.246 - *.l)
20.247 - SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
20.248 - if [ -f "$SRCFILE" ]; then
20.249 - cp "$SRCFILE" lex.yy.c
20.250 - fi
20.251 - ;;
20.252 - esac
20.253 - fi
20.254 - if [ ! -f lex.yy.c ]; then
20.255 - echo 'main() { return 0; }' >lex.yy.c
20.256 - fi
20.257 - ;;
20.258 -
20.259 - help2man)
20.260 - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
20.261 - # We have it, but it failed.
20.262 - exit 1
20.263 - fi
20.264 -
20.265 - echo 1>&2 "\
20.266 -WARNING: \`$1' is $msg. You should only need it if
20.267 - you modified a dependency of a manual page. You may need the
20.268 - \`Help2man' package in order for those modifications to take
20.269 - effect. You can get \`Help2man' from any GNU archive site."
20.270 -
20.271 - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
20.272 - if test -z "$file"; then
20.273 - file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
20.274 - fi
20.275 - if [ -f "$file" ]; then
20.276 - touch $file
20.277 - else
20.278 - test -z "$file" || exec >$file
20.279 - echo ".ab help2man is required to generate this page"
20.280 - exit 1
20.281 - fi
20.282 - ;;
20.283 -
20.284 - makeinfo)
20.285 - if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
20.286 - # We have makeinfo, but it failed.
20.287 - exit 1
20.288 - fi
20.289 -
20.290 - echo 1>&2 "\
20.291 -WARNING: \`$1' is $msg. You should only need it if
20.292 - you modified a \`.texi' or \`.texinfo' file, or any other file
20.293 - indirectly affecting the aspect of the manual. The spurious
20.294 - call might also be the consequence of using a buggy \`make' (AIX,
20.295 - DU, IRIX). You might want to install the \`Texinfo' package or
20.296 - the \`GNU make' package. Grab either from any GNU archive site."
20.297 - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
20.298 - if test -z "$file"; then
20.299 - file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
20.300 - file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
20.301 - fi
20.302 - touch $file
20.303 - ;;
20.304 -
20.305 - tar)
20.306 - shift
20.307 - if test -n "$run"; then
20.308 - echo 1>&2 "ERROR: \`tar' requires --run"
20.309 - exit 1
20.310 - fi
20.311 -
20.312 - # We have already tried tar in the generic part.
20.313 - # Look for gnutar/gtar before invocation to avoid ugly error
20.314 - # messages.
20.315 - if (gnutar --version > /dev/null 2>&1); then
20.316 - gnutar "$@" && exit 0
20.317 - fi
20.318 - if (gtar --version > /dev/null 2>&1); then
20.319 - gtar "$@" && exit 0
20.320 - fi
20.321 - firstarg="$1"
20.322 - if shift; then
20.323 - case "$firstarg" in
20.324 - *o*)
20.325 - firstarg=`echo "$firstarg" | sed s/o//`
20.326 - tar "$firstarg" "$@" && exit 0
20.327 - ;;
20.328 - esac
20.329 - case "$firstarg" in
20.330 - *h*)
20.331 - firstarg=`echo "$firstarg" | sed s/h//`
20.332 - tar "$firstarg" "$@" && exit 0
20.333 - ;;
20.334 - esac
20.335 - fi
20.336 -
20.337 - echo 1>&2 "\
20.338 -WARNING: I can't seem to be able to run \`tar' with the given arguments.
20.339 - You may want to install GNU tar or Free paxutils, or check the
20.340 - command line arguments."
20.341 - exit 1
20.342 - ;;
20.343 -
20.344 - *)
20.345 - echo 1>&2 "\
20.346 -WARNING: \`$1' is needed, and is $msg.
20.347 - You might have modified some files without having the
20.348 - proper tools for further handling them. Check the \`README' file,
20.349 - it often tells you about the needed prerequisites for installing
20.350 - this package. You may also peek at any GNU archive site, in case
20.351 - some other package would contain this missing \`$1' program."
20.352 - exit 1
20.353 - ;;
20.354 -esac
20.355 -
20.356 -exit 0
20.357 -
20.358 -# Local variables:
20.359 -# eval: (add-hook 'write-file-hooks 'time-stamp)
20.360 -# time-stamp-start: "scriptversion="
20.361 -# time-stamp-format: "%:y-%02m-%02d.%02H"
20.362 -# time-stamp-end: "$"
20.363 -# End:
21.1 --- a/gst-plugins-nuvdemux/src/gstnuvdemux.c Thu Oct 26 18:55:14 2006 +0100
21.2 +++ b/gst-plugins-nuvdemux/src/gstnuvdemux.c Fri Oct 27 00:11:21 2006 +0100
21.3 @@ -52,6 +52,8 @@
21.4 #include <gst/gstplugin.h>
21.5 #include <string.h>
21.6
21.7 +#define GETTEXT_PACKAGE "gst-plugins-nuvdemux-0.10.3"
21.8 +
21.9 #include "gst/gst-i18n-plugin.h"
21.10 #include "gstnuvdemux.h"
21.11
21.12 @@ -88,8 +90,8 @@
21.13 GST_STATIC_CAPS_ANY);
21.14
21.15 /* NUV Demux indexes init/dispose callers */
21.16 -static void gst_nuv_demux_index_init( nuv_demux_index *p_idx );
21.17 -static void gst_nuv_demux_index_clean( nuv_demux_index *p_idx );
21.18 +static void gst_nuv_demux_index_init( nuv_demux_index **p_idx );
21.19 +static void gst_nuv_demux_index_clean( nuv_demux_index **p_idx );
21.20
21.21 /* NUV Demux indexes manipulation functions */
21.22 static gint64 gst_nuv_demux_index_find_offset( GstNuvDemux *nuv, gint64 i_offset );
21.23 @@ -137,18 +139,6 @@
21.24 #define READ_DOUBLE_FROM_LE(d) *((gdouble* ) (d))
21.25 #endif /* G_BYTE_ORDER != G_BIG_ENDIAN */
21.26
21.27 -static gint32
21.28 -gst_nuv_demux_getdwle (void const * _p)
21.29 -{
21.30 - guint8 * p = (guint8 *)_p;
21.31 - g_print( "[%s] shifting bits: {%d, %d, %d, %d}\n", __FUNCTION__,
21.32 - ((guint32)p[3] << 24), ((guint32)p[2] << 16),
21.33 - ((guint32)p[1] << 8), p[0] );
21.34 - return ( ((guint32)p[3] << 24) | ((guint32)p[2] << 16)
21.35 - | ((guint32)p[1] << 8) | p[0] );
21.36 - //return ( (gint)p[3] | (gint)p[2] | (gint)p[1] | p[0] );
21.37 -}
21.38 -
21.39 static void
21.40 gst_nuv_demux_base_init (gpointer klass)
21.41 {
21.42 @@ -197,7 +187,7 @@
21.43
21.44 gst_element_add_pad (GST_ELEMENT (nuv), nuv->sinkpad);
21.45
21.46 - gst_nuv_demux_index_init( nuv->index_entries );
21.47 + gst_nuv_demux_index_init( &nuv->index_entries );
21.48
21.49 nuv->adapter = NULL;
21.50 nuv->mpeg_buffer = NULL;
21.51 @@ -217,7 +207,7 @@
21.52 }
21.53
21.54 if ( nuv->index_entries != NULL ) {
21.55 - gst_nuv_demux_index_clean( nuv->index_entries );
21.56 + gst_nuv_demux_index_clean( &nuv->index_entries );
21.57 nuv->index_entries = NULL;
21.58 }
21.59
21.60 @@ -235,168 +225,168 @@
21.61 *****************************************************************************/
21.62
21.63 static void
21.64 -gst_nuv_demux_index_init( nuv_demux_index *p_idx )
21.65 +gst_nuv_demux_index_init( nuv_demux_index **p_idx )
21.66 {
21.67 - p_idx = g_new0( nuv_demux_index, 1 );
21.68 - p_idx->i_idx = 0;
21.69 - p_idx->i_idx_max = 0;
21.70 - p_idx->idx = g_new0( nuv_demux_index_entry, DEMUX_INDEX_SIZE_MAX );
21.71 + *p_idx = g_new0( nuv_demux_index, 1 );
21.72 + (*p_idx)->i_idx = 0;
21.73 + (*p_idx)->i_idx_max = 0;
21.74 }
21.75
21.76 static void
21.77 -gst_nuv_demux_index_clean( nuv_demux_index *p_idx )
21.78 +gst_nuv_demux_index_clean( nuv_demux_index **p_idx )
21.79 {
21.80 - if( p_idx->idx )
21.81 - {
21.82 - g_free( p_idx->idx );
21.83 - }
21.84 + if ( *p_idx != NULL ) {
21.85 + g_free( *p_idx );
21.86 + *p_idx = NULL;
21.87 + }
21.88 +
21.89 }
21.90
21.91 static void
21.92 gst_nuv_demux_index_append( GstNuvDemux *nuv, gint64 i_time, gint64 i_offset )
21.93 {
21.94 nuv_demux_index *p_idx = nuv->index_entries;
21.95 -
21.96 - if ( p_idx == NULL || p_idx->idx == NULL )
21.97 +
21.98 + //if ( p_idx == NULL )
21.99 + // return;
21.100 +
21.101 + /* Be sure to append new entry (we don't insert point) */
21.102 + if( p_idx != NULL && p_idx->i_idx > 0 && p_idx->idx[p_idx->i_idx-1].i_time >= i_time )
21.103 return;
21.104
21.105 - /* Be sure to append new entry (we don't insert point) */
21.106 - if( p_idx != NULL && p_idx->i_idx > 0 && p_idx->idx[p_idx->i_idx-1].i_time >= i_time )
21.107 - return;
21.108 + /* */
21.109 + if( p_idx->i_idx >= p_idx->i_idx_max )
21.110 + {
21.111 + if( p_idx->i_idx >= DEMUX_INDEX_SIZE_MAX )
21.112 + {
21.113 + /* Avoid too big index */
21.114 + const gint64 i_length = p_idx->idx[p_idx->i_idx-1].i_time -
21.115 + p_idx->idx[0].i_time;
21.116 + const gint i_count = DEMUX_INDEX_SIZE_MAX/2;
21.117 + gint i, j;
21.118
21.119 - /* */
21.120 - if( p_idx->i_idx >= p_idx->i_idx_max )
21.121 - {
21.122 - if( p_idx->i_idx >= DEMUX_INDEX_SIZE_MAX )
21.123 - {
21.124 - /* Avoid too big index */
21.125 - const gint64 i_length = p_idx->idx[p_idx->i_idx-1].i_time -
21.126 - p_idx->idx[0].i_time;
21.127 - const gint i_count = DEMUX_INDEX_SIZE_MAX/2;
21.128 - gint i, j;
21.129 + /* We try to reduce the resolution of the index by a factor 2 */
21.130 + for( i = 1, j = 1; i < p_idx->i_idx; i++ )
21.131 + {
21.132 + if( p_idx->idx[i].i_time < j * i_length / i_count )
21.133 + continue;
21.134
21.135 - /* We try to reduce the resolution of the index by a factor 2 */
21.136 - for( i = 1, j = 1; i < p_idx->i_idx; i++ )
21.137 - {
21.138 - if( p_idx->idx[i].i_time < j * i_length / i_count )
21.139 - continue;
21.140 + p_idx->idx[j++] = p_idx->idx[i];
21.141 + }
21.142 + p_idx->i_idx = j;
21.143
21.144 - p_idx->idx[j++] = p_idx->idx[i];
21.145 - }
21.146 - p_idx->i_idx = j;
21.147 + if( p_idx->i_idx > 3 * DEMUX_INDEX_SIZE_MAX / 4 )
21.148 + {
21.149 + /* We haven't created enough space
21.150 + * (This method won't create a good index but work for sure) */
21.151 + for( i = 0; i < p_idx->i_idx/2; i++ )
21.152 + p_idx->idx[i] = p_idx->idx[2*i];
21.153 + p_idx->i_idx /= 2;
21.154 + }
21.155 + }
21.156 + else
21.157 + {
21.158 + p_idx->i_idx_max += 1000;
21.159 + //p_idx->idx = g_realloc( p_idx->idx,
21.160 + //p_idx->i_idx_max*sizeof(nuv_demux_index_entry));
21.161 + }
21.162 + }
21.163
21.164 - if( p_idx->i_idx > 3 * DEMUX_INDEX_SIZE_MAX / 4 )
21.165 - {
21.166 - /* We haven't created enough space
21.167 - * (This method won't create a good index but work for sure) */
21.168 - for( i = 0; i < p_idx->i_idx/2; i++ )
21.169 - p_idx->idx[i] = p_idx->idx[2*i];
21.170 - p_idx->i_idx /= 2;
21.171 - }
21.172 - }
21.173 - else
21.174 - {
21.175 - p_idx->i_idx_max += 1000;
21.176 - p_idx->idx = g_realloc( p_idx->idx,
21.177 - p_idx->i_idx_max*sizeof(nuv_demux_index_entry));
21.178 - }
21.179 - }
21.180 + /* */
21.181 + p_idx->idx[p_idx->i_idx].i_time = i_time;
21.182 + p_idx->idx[p_idx->i_idx].i_offset = i_offset;
21.183
21.184 - /* */
21.185 - p_idx->idx[p_idx->i_idx].i_time = i_time;
21.186 - p_idx->idx[p_idx->i_idx].i_offset = i_offset;
21.187 -
21.188 - p_idx->i_idx++;
21.189 + p_idx->i_idx++;
21.190 }
21.191
21.192 static gint64
21.193 gst_nuv_demux_index_convert_time( GstNuvDemux *nuv, gint64 i_time )
21.194 {
21.195 nuv_demux_index *p_idx = nuv->index_entries;
21.196 -
21.197 - g_return_val_if_fail( p_idx != NULL, i_time );
21.198 -
21.199 - gint i_min = 0;
21.200 - gint i_max = p_idx->i_idx-1;
21.201
21.202 - /* Empty index */
21.203 - if( p_idx->i_idx <= 0 )
21.204 - return -1;
21.205 + g_return_val_if_fail( p_idx != NULL , i_time );
21.206
21.207 - /* Special border case */
21.208 - if( i_time <= p_idx->idx[0].i_time )
21.209 - return p_idx->idx[0].i_offset;
21.210 - if( i_time >= p_idx->idx[i_max].i_time )
21.211 - return p_idx->idx[i_max].i_offset;
21.212 + gint i_min = 0;
21.213 + gint i_max = p_idx->i_idx-1;
21.214
21.215 - /* Dicho */
21.216 - for( ;; )
21.217 - {
21.218 - gint i_med;
21.219 + /* Empty index */
21.220 + if( p_idx->i_idx <= 0 )
21.221 + return -1;
21.222
21.223 - if( i_max - i_min <= 1 )
21.224 - break;
21.225 + /* Special border case */
21.226 + if( i_time <= p_idx->idx[0].i_time )
21.227 + return p_idx->idx[0].i_offset;
21.228 + if( i_time >= p_idx->idx[i_max].i_time )
21.229 + return p_idx->idx[i_max].i_offset;
21.230
21.231 - i_med = (i_min+i_max)/2;
21.232 - if( p_idx->idx[i_med].i_time < i_time )
21.233 - i_min = i_med;
21.234 - else if( p_idx->idx[i_med].i_time > i_time )
21.235 - i_max = i_med;
21.236 - else
21.237 - return p_idx->idx[i_med].i_offset;
21.238 - }
21.239 + /* Dicho */
21.240 + for( ;; )
21.241 + {
21.242 + gint i_med;
21.243
21.244 - /* return nearest in time */
21.245 - if( i_time - p_idx->idx[i_min].i_time < p_idx->idx[i_max].i_time - i_time )
21.246 - return p_idx->idx[i_min].i_offset;
21.247 - else
21.248 - return p_idx->idx[i_max].i_offset;
21.249 + if( i_max - i_min <= 1 )
21.250 + break;
21.251 +
21.252 + i_med = (i_min+i_max)/2;
21.253 + if( p_idx->idx[i_med].i_time < i_time )
21.254 + i_min = i_med;
21.255 + else if( p_idx->idx[i_med].i_time > i_time )
21.256 + i_max = i_med;
21.257 + else
21.258 + return p_idx->idx[i_med].i_offset;
21.259 + }
21.260 +
21.261 + /* return nearest in time */
21.262 + if( i_time - p_idx->idx[i_min].i_time < p_idx->idx[i_max].i_time - i_time )
21.263 + return p_idx->idx[i_min].i_offset;
21.264 + else
21.265 + return p_idx->idx[i_max].i_offset;
21.266 }
21.267
21.268 static gint64
21.269 gst_nuv_demux_index_find_offset( GstNuvDemux *nuv, gint64 i_offset )
21.270 {
21.271 nuv_demux_index *p_idx = nuv->index_entries;
21.272 -
21.273 - g_return_val_if_fail( p_idx != NULL, i_offset );
21.274 -
21.275 - gint i_min = 0;
21.276 - gint i_max = p_idx->i_idx-1;
21.277
21.278 - /* Empty index */
21.279 - if( p_idx->i_idx <= 0 )
21.280 - return -1;
21.281 + g_return_val_if_fail( p_idx != NULL && p_idx->idx != NULL, i_offset );
21.282
21.283 - /* Special border case */
21.284 - if( i_offset <= p_idx->idx[0].i_offset )
21.285 - return p_idx->idx[0].i_offset;
21.286 - if( i_offset == p_idx->idx[i_max].i_offset )
21.287 - return p_idx->idx[i_max].i_offset;
21.288 - if( i_offset > p_idx->idx[i_max].i_offset )
21.289 - return -1;
21.290 + gint i_min = 0;
21.291 + gint i_max = p_idx->i_idx-1;
21.292
21.293 - /* Dicho */
21.294 - for( ;; )
21.295 - {
21.296 - gint i_med;
21.297 + /* Empty index */
21.298 + if( p_idx->i_idx <= 0 )
21.299 + return -1;
21.300
21.301 - if ( i_max - i_min <= 1 )
21.302 - break;
21.303 + /* Special border case */
21.304 + if( i_offset <= p_idx->idx[0].i_offset )
21.305 + return p_idx->idx[0].i_offset;
21.306 + if( i_offset == p_idx->idx[i_max].i_offset )
21.307 + return p_idx->idx[i_max].i_offset;
21.308 + if( i_offset > p_idx->idx[i_max].i_offset )
21.309 + return -1;
21.310
21.311 - i_med = (i_min+i_max)/2;
21.312 - if( p_idx->idx[i_med].i_offset < i_offset )
21.313 - i_min = i_med;
21.314 - else if( p_idx->idx[i_med].i_offset > i_offset )
21.315 - i_max = i_med;
21.316 - else
21.317 - return p_idx->idx[i_med].i_offset;
21.318 - }
21.319 + /* Dicho */
21.320 + for( ;; )
21.321 + {
21.322 + gint i_med;
21.323
21.324 - /* return nearest */
21.325 - if( i_offset - p_idx->idx[i_min].i_offset < p_idx->idx[i_max].i_offset - i_offset )
21.326 - return p_idx->idx[i_min].i_offset;
21.327 - else
21.328 - return p_idx->idx[i_max].i_offset;
21.329 + if ( i_max - i_min <= 1 )
21.330 + break;
21.331 +
21.332 + i_med = (i_min+i_max)/2;
21.333 + if( p_idx->idx[i_med].i_offset < i_offset )
21.334 + i_min = i_med;
21.335 + else if( p_idx->idx[i_med].i_offset > i_offset )
21.336 + i_max = i_med;
21.337 + else
21.338 + return p_idx->idx[i_med].i_offset;
21.339 + }
21.340 +
21.341 + /* return nearest */
21.342 + if( i_offset - p_idx->idx[i_min].i_offset < p_idx->idx[i_max].i_offset - i_offset )
21.343 + return p_idx->idx[i_min].i_offset;
21.344 + else
21.345 + return p_idx->idx[i_max].i_offset;
21.346 }
21.347
21.348 /*****************************************************************************
21.349 @@ -524,7 +514,9 @@
21.350 h->i_keyframe = data[2];
21.351 h->i_filters = data[3];
21.352
21.353 - h->i_timecode = gst_nuv_demux_getdwle( &data[4] ); //GST_READ_UINT32_LE (&data[4]);
21.354 + h->i_timecode = GST_READ_UINT32_LE (&data[4]);
21.355 +
21.356 +
21.357 h->i_length = GST_READ_UINT32_LE (&data[8]);
21.358 GST_DEBUG_OBJECT (nuv, "frame hdr: t=%c c=%c k=%d f=0x%x timecode=%d l=%d",
21.359 h->i_type,
21.360 @@ -677,26 +669,26 @@
21.361 if (h->i_type == 'R')
21.362 goto done;
21.363
21.364 - /* append the frame's header timecode field, and the actual offset */
21.365 + /* append the frame's header timecode field, and the actual offset */
21.366 gst_nuv_demux_index_append( nuv, h->i_timecode, nuv->offset );
21.367 -
21.368 +
21.369 if (h->i_length > 0) {
21.370 - ret = gst_nuv_demux_read_bytes (nuv, h->i_length, TRUE, &buf);
21.371 - if (ret != GST_FLOW_OK)
21.372 - return ret;
21.373 -
21.374 - /* search for a valid timecode in the indexes list (find the nearest valid timecode) */
21.375 + ret = gst_nuv_demux_read_bytes (nuv, h->i_length, TRUE, &buf);
21.376 + if (ret != GST_FLOW_OK)
21.377 + return ret;
21.378 +
21.379 + /* search for a valid timecode in the indexes list (find the nearest valid timecode) */
21.380 if ( h->i_timecode < 0 ) {
21.381 - /* convert this actual timecode to a valid index in the timecode's table */
21.382 + /* convert this actual timecode to a valid index in the timecode's table */
21.383 gint64 pos = gst_nuv_demux_index_convert_time( nuv, h->i_timecode );
21.384 -
21.385 +
21.386 /* find the nearest empty frame slot */
21.387 gint64 near_off = gst_nuv_demux_index_find_offset( nuv, pos );
21.388 -
21.389 +
21.390 /* just get the timecode from the timecode's table */
21.391 GST_BUFFER_TIMESTAMP (buf) = nuv->index_entries->idx[near_off].i_time * GST_MSECOND;
21.392 } else {
21.393 - GST_BUFFER_TIMESTAMP (buf) = h->i_timecode * GST_MSECOND;
21.394 + GST_BUFFER_TIMESTAMP (buf) = h->i_timecode * GST_MSECOND;
21.395 }
21.396 }
21.397
22.1 --- a/gst-plugins-nuvdemux/src/gstnuvdemux.h Thu Oct 26 18:55:14 2006 +0100
22.2 +++ b/gst-plugins-nuvdemux/src/gstnuvdemux.h Fri Oct 27 00:11:21 2006 +0100
22.3 @@ -53,7 +53,7 @@
22.4 gint i_idx;
22.5 gint i_idx_max;
22.6
22.7 - nuv_demux_index_entry *idx;
22.8 + nuv_demux_index_entry idx[DEMUX_INDEX_SIZE_MAX];
22.9 } nuv_demux_index;
22.10
22.11 /* */
22.12 @@ -160,6 +160,7 @@
22.13 guint64 audio_offset;
22.14
22.15 /* pads */
22.16 +
22.17 GstPad *sinkpad;
22.18 GstPad *src_video_pad;
22.19 GstPad *src_audio_pad;