9056
# Report which library types will actually be built
9057
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9058
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9059
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9060
echo "${ECHO_T}$can_build_shared" >&6
9062
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9063
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9064
test "$can_build_shared" = "no" && enable_shared=no
9066
# On AIX, shared libraries and static libraries use the same namespace, and
9067
# are all built from PIC.
9070
test "$enable_shared" = yes && enable_static=no
9071
if test -n "$RANLIB"; then
9072
archive_cmds="$archive_cmds~\$RANLIB \$lib"
9073
postinstall_cmds='$RANLIB $lib'
9078
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9079
test "$enable_shared" = yes && enable_static=no
9083
echo "$as_me:$LINENO: result: $enable_shared" >&5
9084
echo "${ECHO_T}$enable_shared" >&6
9086
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9087
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9088
# Make sure either enable_shared or enable_static is yes.
9089
test "$enable_shared" = yes || enable_static=yes
9090
echo "$as_me:$LINENO: result: $enable_static" >&5
9091
echo "${ECHO_T}$enable_static" >&6
9093
# The else clause should only fire when bootstrapping the
9094
# libtool distribution, otherwise you forgot to ship ltmain.sh
9095
# with your package, and you will get complaints that there are
9096
# no rules to generate ltmain.sh.
9097
if test -f "$ltmain"; then
9098
# See if we are running on zsh, and set the options which allow our commands through
9099
# without removal of \ escapes.
9100
if test -n "${ZSH_VERSION+set}" ; then
9101
setopt NO_GLOB_SUBST
9103
# Now quote all the things that may contain metacharacters while being
9104
# careful not to overquote the AC_SUBSTed values. We take copies of the
9105
# variables and quote the copies for generation of the libtool script.
9106
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9108
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9109
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9110
deplibs_check_method reload_flag reload_cmds need_locks \
9111
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9112
lt_cv_sys_global_symbol_to_c_name_address \
9113
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9114
old_postinstall_cmds old_postuninstall_cmds \
9118
lt_prog_compiler_wl \
9119
lt_prog_compiler_pic \
9120
lt_prog_compiler_static \
9121
lt_prog_compiler_no_builtin_flag \
9122
export_dynamic_flag_spec \
9123
thread_safe_flag_spec \
9124
whole_archive_flag_spec \
9125
enable_shared_with_static_runtimes \
9127
old_archive_from_new_cmds \
9132
compiler_lib_search_path \
9134
archive_expsym_cmds \
9136
postuninstall_cmds \
9137
old_archive_from_expsyms_cmds \
9138
allow_undefined_flag \
9140
export_symbols_cmds \
9141
hardcode_libdir_flag_spec \
9142
hardcode_libdir_flag_spec_ld \
9143
hardcode_libdir_separator \
9144
hardcode_automatic \
9146
module_expsym_cmds \
9147
lt_cv_prog_compiler_c_o \
9152
old_archive_cmds | \
9153
old_archive_from_new_cmds | \
9155
archive_expsym_cmds | \
9157
module_expsym_cmds | \
9158
old_archive_from_expsyms_cmds | \
9159
export_symbols_cmds | \
9160
extract_expsyms_cmds | reload_cmds | finish_cmds | \
9161
postinstall_cmds | postuninstall_cmds | \
9162
old_postinstall_cmds | old_postuninstall_cmds | \
9163
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
9164
# Double-quote double-evaled strings.
9165
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9168
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9174
*'\$0 --fallback-echo"')
9175
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9180
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9182
{ echo "$as_me:$LINENO: creating $ofile" >&5
9183
echo "$as_me: creating $ofile" >&6;}
9185
cat <<__EOF__ >> "$cfgfile"
9188
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9189
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9190
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
9192
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9193
# Free Software Foundation, Inc.
9195
# This file is part of GNU Libtool:
9196
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9198
# This program is free software; you can redistribute it and/or modify
9199
# it under the terms of the GNU General Public License as published by
9200
# the Free Software Foundation; either version 2 of the License, or
9201
# (at your option) any later version.
9203
# This program is distributed in the hope that it will be useful, but
9204
# WITHOUT ANY WARRANTY; without even the implied warranty of
9205
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9206
# General Public License for more details.
9208
# You should have received a copy of the GNU General Public License
9209
# along with this program; if not, write to the Free Software
9210
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9212
# As a special exception to the GNU General Public License, if you
9213
# distribute this file as part of a program that contains a
9214
# configuration script generated by Autoconf, you may include it under
9215
# the same distribution terms that you use for the rest of that program.
9217
# A sed program that does not truncate output.
9220
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
9221
Xsed="$SED -e 1s/^X//"
9223
# The HP-UX ksh and POSIX shell print the target directory to stdout
9225
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9227
# The names of the tagged configurations supported by this script.
9230
# ### BEGIN LIBTOOL CONFIG
9232
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9234
# Shell to use when invoking shell scripts.
9237
# Whether or not to build shared libraries.
9238
build_libtool_libs=$enable_shared
9240
# Whether or not to build static libraries.
9241
build_old_libs=$enable_static
9243
# Whether or not to add -lc for building shared libraries.
9244
build_libtool_need_lc=$archive_cmds_need_lc
9246
# Whether or not to disallow shared libs when runtime libs are static
9247
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9249
# Whether or not to optimize for fast installation.
9250
fast_install=$enable_fast_install
9253
host_alias=$host_alias
9258
build_alias=$build_alias
9262
# An echo program that does not interpret backslashes.
9267
AR_FLAGS=$lt_AR_FLAGS
9272
# LTCC compiler flags.
9273
LTCFLAGS=$lt_LTCFLAGS
9275
# A language-specific compiler.
9278
# Is the compiler the GNU C compiler?
9281
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
9282
gcc_ver=\`gcc -dumpversion\`
9287
# The linker used to build libraries.
9290
# Whether we need hard or soft links.
9293
# A BSD-compatible nm program.
9296
# A symbol stripping program
9299
# Used to examine libraries when file_magic_cmd begins "file"
9300
MAGIC_CMD=$MAGIC_CMD
9302
# Used on cygwin: DLL creation program.
9305
# Used on cygwin: object dumper.
9308
# Used on cygwin: assembler.
9311
# The name of the directory that contains temporary libtool files.
9314
# How to create reloadable object files.
9315
reload_flag=$lt_reload_flag
9316
reload_cmds=$lt_reload_cmds
9318
# How to pass a linker flag through the compiler.
9319
wl=$lt_lt_prog_compiler_wl
9321
# Object file suffix (normally "o").
9324
# Old archive suffix (normally "a").
9327
# Shared library suffix (normally ".so").
9328
shrext_cmds='$shrext_cmds'
9330
# Executable file suffix (normally "").
9333
# Additional compiler flags for building library objects.
9334
pic_flag=$lt_lt_prog_compiler_pic
9337
# What is the maximum length of a command?
9338
max_cmd_len=$lt_cv_sys_max_cmd_len
9340
# Does compiler simultaneously support -c and -o options?
9341
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9343
# Must we lock files when doing compilation?
9344
need_locks=$lt_need_locks
9346
# Do we need the lib prefix for modules?
9347
need_lib_prefix=$need_lib_prefix
9349
# Do we need a version for libraries?
9350
need_version=$need_version
9352
# Whether dlopen is supported.
9353
dlopen_support=$enable_dlopen
9355
# Whether dlopen of programs is supported.
9356
dlopen_self=$enable_dlopen_self
9358
# Whether dlopen of statically linked programs is supported.
9359
dlopen_self_static=$enable_dlopen_self_static
9361
# Compiler flag to prevent dynamic linking.
9362
link_static_flag=$lt_lt_prog_compiler_static
9364
# Compiler flag to turn off builtin functions.
9365
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9367
# Compiler flag to allow reflexive dlopens.
9368
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9370
# Compiler flag to generate shared objects directly from archives.
9371
whole_archive_flag_spec=$lt_whole_archive_flag_spec
9373
# Compiler flag to generate thread-safe objects.
9374
thread_safe_flag_spec=$lt_thread_safe_flag_spec
9376
# Library versioning type.
9377
version_type=$version_type
9379
# Format of library name prefix.
9380
libname_spec=$lt_libname_spec
9382
# List of archive names. First name is the real one, the rest are links.
9383
# The last name is the one that the linker finds with -lNAME.
9384
library_names_spec=$lt_library_names_spec
9386
# The coded name of the library, if different from the real name.
9387
soname_spec=$lt_soname_spec
9389
# Commands used to build and install an old-style archive.
9391
old_archive_cmds=$lt_old_archive_cmds
9392
old_postinstall_cmds=$lt_old_postinstall_cmds
9393
old_postuninstall_cmds=$lt_old_postuninstall_cmds
9395
# Create an old-style archive from a shared archive.
9396
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9398
# Create a temporary old-style archive to link instead of a shared archive.
9399
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9401
# Commands used to build and install a shared archive.
9402
archive_cmds=$lt_archive_cmds
9403
archive_expsym_cmds=$lt_archive_expsym_cmds
9404
postinstall_cmds=$lt_postinstall_cmds
9405
postuninstall_cmds=$lt_postuninstall_cmds
9407
# Commands used to build a loadable module (assumed same as above if empty)
9408
module_cmds=$lt_module_cmds
9409
module_expsym_cmds=$lt_module_expsym_cmds
9411
# Commands to strip libraries.
9412
old_striplib=$lt_old_striplib
9413
striplib=$lt_striplib
9415
# Dependencies to place before the objects being linked to create a
9417
predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9419
# Dependencies to place after the objects being linked to create a
9421
postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9423
# Dependencies to place before the objects being linked to create a
9427
# Dependencies to place after the objects being linked to create a
9429
postdeps=$lt_postdeps
9431
# The library search path used internally by the compiler when linking
9433
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9435
# Method to check whether dependent libraries are shared objects.
9436
deplibs_check_method=$lt_deplibs_check_method
9438
# Command to use when deplibs_check_method == file_magic.
9439
file_magic_cmd=$lt_file_magic_cmd
9441
# Flag that allows shared libraries with undefined symbols to be built.
9442
allow_undefined_flag=$lt_allow_undefined_flag
9444
# Flag that forces no undefined symbols.
9445
no_undefined_flag=$lt_no_undefined_flag
9447
# Commands used to finish a libtool library installation in a directory.
9448
finish_cmds=$lt_finish_cmds
9450
# Same as above, but a single script fragment to be evaled but not shown.
9451
finish_eval=$lt_finish_eval
9453
# Take the output of nm and produce a listing of raw symbols and C names.
9454
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9456
# Transform the output of nm in a proper C declaration
9457
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9459
# Transform the output of nm in a C name address pair
9460
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9462
# This is the shared library runtime path variable.
9463
runpath_var=$runpath_var
9465
# This is the shared library path variable.
9466
shlibpath_var=$shlibpath_var
9468
# Is shlibpath searched before the hard-coded library search path?
9469
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9471
# How to hardcode a shared library path into an executable.
9472
hardcode_action=$hardcode_action
9474
# Whether we should hardcode library paths into libraries.
9475
hardcode_into_libs=$hardcode_into_libs
9477
# Flag to hardcode \$libdir into a binary during linking.
9478
# This must work even if \$libdir does not exist.
9479
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9481
# If ld is used when linking, flag to hardcode \$libdir into
9482
# a binary during linking. This must work even if \$libdir does
9484
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9486
# Whether we need a single -rpath flag with a separated argument.
9487
hardcode_libdir_separator=$lt_hardcode_libdir_separator
9489
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9491
hardcode_direct=$hardcode_direct
9493
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9495
hardcode_minus_L=$hardcode_minus_L
9497
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9498
# the resulting binary.
9499
hardcode_shlibpath_var=$hardcode_shlibpath_var
9501
# Set to yes if building a shared library automatically hardcodes DIR into the library
9502
# and all subsequent libraries and executables linked against it.
9503
hardcode_automatic=$hardcode_automatic
9505
# Variables whose values should be saved in libtool wrapper scripts and
9506
# restored at relink time.
9507
variables_saved_for_relink="$variables_saved_for_relink"
9509
# Whether libtool must link a program against all its dependency libraries.
9510
link_all_deplibs=$link_all_deplibs
9512
# Compile-time system search path for libraries
9513
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9515
# Run-time system search path for libraries
9516
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9518
# Fix the shell variable \$srcfile for the compiler.
9519
fix_srcfile_path="$fix_srcfile_path"
9521
# Set to yes if exported symbols are required.
9522
always_export_symbols=$always_export_symbols
9524
# The commands to list exported symbols.
9525
export_symbols_cmds=$lt_export_symbols_cmds
9527
# The commands to extract the exported symbol list from a shared archive.
9528
extract_expsyms_cmds=$lt_extract_expsyms_cmds
9530
# Symbols that should not be listed in the preloaded symbols.
9531
exclude_expsyms=$lt_exclude_expsyms
9533
# Symbols that must always be exported.
9534
include_expsyms=$lt_include_expsyms
9536
# ### END LIBTOOL CONFIG
9543
cat <<\EOF >> "$cfgfile"
9545
# AIX sometimes has problems with the GCC collect2 program. For some
9546
# reason, if we set the COLLECT_NAMES environment variable, the problems
9547
# vanish in a puff of smoke.
9548
if test "X${COLLECT_NAMES+set}" != Xset; then
9550
export COLLECT_NAMES
9556
# We use sed instead of cat because bash on DJGPP gets confused if
9557
# if finds mixed CR/LF and LF-only lines. Since sed operates in
9558
# text mode, it properly converts lines to CR/LF. This bash problem
9559
# is reportedly fixed, but why not run on old versions too?
9560
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9562
mv -f "$cfgfile" "$ofile" || \
9563
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9567
# If there is no Makefile yet, we rely on a make rule to execute
9568
# `config.status --recheck' to rerun these tests and create the
9569
# libtool script then.
9570
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9571
if test -f "$ltmain_in"; then
9572
test -f Makefile && make "$ltmain"
9578
ac_cpp='$CPP $CPPFLAGS'
9579
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9580
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9581
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9586
# Check whether --with-tags or --without-tags was given.
9587
if test "${with_tags+set}" = set; then
9588
withval="$with_tags"
9592
if test -f "$ltmain" && test -n "$tagnames"; then
9593
if test ! -f "${ofile}"; then
9594
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9595
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9598
if test -z "$LTCC"; then
9599
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9600
if test -z "$LTCC"; then
9601
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9602
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9604
{ echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9605
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9608
if test -z "$LTCFLAGS"; then
9609
eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
9612
# Extract list of available tagged configurations in $ofile.
9613
# Note that this assumes the entire list is on one line.
9614
available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9616
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9617
for tagname in $tagnames; do
9619
# Check whether tagname contains only valid characters
9620
case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9622
*) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9623
echo "$as_me: error: invalid tag name: $tagname" >&2;}
9624
{ (exit 1); exit 1; }; }
9628
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9630
{ { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9631
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9632
{ (exit 1); exit 1; }; }
9635
# Update the list of available tags.
9636
if test -n "$tagname"; then
9637
echo appending configuration tag \"$tagname\" to $ofile
9641
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9642
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9643
(test "X$CXX" != "Xg++"))) ; then
9645
ac_cpp='$CXXCPP $CPPFLAGS'
9646
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9647
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9648
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9653
archive_cmds_need_lc_CXX=no
9654
allow_undefined_flag_CXX=
9655
always_export_symbols_CXX=no
9656
archive_expsym_cmds_CXX=
9657
export_dynamic_flag_spec_CXX=
9658
hardcode_direct_CXX=no
9659
hardcode_libdir_flag_spec_CXX=
9660
hardcode_libdir_flag_spec_ld_CXX=
9661
hardcode_libdir_separator_CXX=
9662
hardcode_minus_L_CXX=no
9663
hardcode_shlibpath_var_CXX=unsupported
9664
hardcode_automatic_CXX=no
9666
module_expsym_cmds_CXX=
9667
link_all_deplibs_CXX=unknown
9668
old_archive_cmds_CXX=$old_archive_cmds
9669
no_undefined_flag_CXX=
9670
whole_archive_flag_spec_CXX=
9671
enable_shared_with_static_runtimes_CXX=no
9673
# Dependencies to place before and after the object being linked:
9675
postdep_objects_CXX=
9678
compiler_lib_search_path_CXX=
9680
# Source file extension for C++ test sources.
9683
# Object file extension for compiled C++ test sources.
9687
# Code to be used in simple compile tests
9688
lt_simple_compile_test_code="int some_variable = 0;\n"
9690
# Code to be used in simple link tests
9691
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
9693
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9695
# If no C compiler was specified, use CC.
9698
# If no C compiler flags were specified, use CFLAGS.
9699
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9701
# Allow CC to be a program name with arguments.
9705
# save warnings/boilerplate of simple test code
9706
ac_outfile=conftest.$ac_objext
9707
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
9708
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9709
_lt_compiler_boilerplate=`cat conftest.err`
9712
ac_outfile=conftest.$ac_objext
9713
printf "$lt_simple_link_test_code" >conftest.$ac_ext
9714
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9715
_lt_linker_boilerplate=`cat conftest.err`
9719
# Allow CC to be a program name with arguments.
9724
lt_save_with_gnu_ld=$with_gnu_ld
9725
lt_save_path_LD=$lt_cv_path_LD
9726
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9727
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9729
$as_unset lt_cv_prog_gnu_ld
9731
if test -n "${lt_cv_path_LDCXX+set}"; then
9732
lt_cv_path_LD=$lt_cv_path_LDCXX
9734
$as_unset lt_cv_path_LD
9736
test -z "${LDCXX+set}" || LD=$LDCXX
9740
for cc_temp in $compiler""; do
9742
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9743
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9748
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9751
# We don't want -fno-exception wen compiling C++ code, so set the
9752
# no_builtin_flag separately
9753
if test "$GXX" = yes; then
9754
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9756
lt_prog_compiler_no_builtin_flag_CXX=
9759
if test "$GXX" = yes; then
9760
# Set up default GNU C++ configuration
9763
# Check whether --with-gnu-ld or --without-gnu-ld was given.
9764
if test "${with_gnu_ld+set}" = set; then
9765
withval="$with_gnu_ld"
9766
test "$withval" = no || with_gnu_ld=yes
9771
if test "$GCC" = yes; then
9772
# Check if gcc -print-prog-name=ld gives a path.
9773
echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9774
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9777
# gcc leaves a trailing carriage return which upsets mingw
9778
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9780
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9783
# Accept absolute paths.
9785
re_direlt='/[^/][^/]*/\.\./'
9786
# Canonicalize the pathname of ld
9787
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9788
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9789
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9791
test -z "$LD" && LD="$ac_prog"
9794
# If it fails, then pretend we aren't using GCC.
9798
# If it is relative, then search for the first ld in PATH.
9802
elif test "$with_gnu_ld" = yes; then
9803
echo "$as_me:$LINENO: checking for GNU ld" >&5
9804
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9806
echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9807
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9809
if test "${lt_cv_path_LD+set}" = set; then
9810
echo $ECHO_N "(cached) $ECHO_C" >&6
9812
if test -z "$LD"; then
9813
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9814
for ac_dir in $PATH; do
9816
test -z "$ac_dir" && ac_dir=.
9817
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9818
lt_cv_path_LD="$ac_dir/$ac_prog"
9819
# Check to see if the program is GNU ld. I'd rather use --version,
9820
# but apparently some variants of GNU ld only accept -v.
9821
# Break only if it was the GNU/non-GNU ld that we prefer.
9822
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9823
*GNU* | *'with BFD'*)
9824
test "$with_gnu_ld" != no && break
9827
test "$with_gnu_ld" != yes && break
9834
lt_cv_path_LD="$LD" # Let the user override the test with a path.
9839
if test -n "$LD"; then
9840
echo "$as_me:$LINENO: result: $LD" >&5
9841
echo "${ECHO_T}$LD" >&6
9843
echo "$as_me:$LINENO: result: no" >&5
9844
echo "${ECHO_T}no" >&6
9846
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9847
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9848
{ (exit 1); exit 1; }; }
9849
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9850
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9851
if test "${lt_cv_prog_gnu_ld+set}" = set; then
9852
echo $ECHO_N "(cached) $ECHO_C" >&6
9854
# I'd rather use --version here, but apparently some GNU lds only accept -v.
9855
case `$LD -v 2>&1 </dev/null` in
9856
*GNU* | *'with BFD'*)
9857
lt_cv_prog_gnu_ld=yes
9860
lt_cv_prog_gnu_ld=no
9864
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9865
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9866
with_gnu_ld=$lt_cv_prog_gnu_ld
9870
# Check if GNU C++ uses GNU ld as the underlying linker, since the
9871
# archiving commands below assume that GNU ld is being used.
9872
if test "$with_gnu_ld" = yes; then
9873
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9874
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'
9876
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9877
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9879
# If archive_cmds runs LD, not CC, wlarc should be empty
9880
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9881
# investigate it a little bit more. (MM)
9884
# ancient GNU ld didn't support --whole-archive et. al.
9885
if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9886
grep 'no-whole-archive' > /dev/null; then
9887
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9889
whole_archive_flag_spec_CXX=
9895
# A generic and very simple default shared library creation
9896
# command for GNU C++ for the case where it uses the native
9897
# linker, instead of GNU ld. If possible, this setting should
9898
# overridden to take advantage of the native linker features on
9899
# the platform it is being used on.
9900
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9903
# Commands to make compiler produce verbose output that lists
9904
# what "hidden" libraries, object files and flags are used when
9905
# linking a shared library.
9906
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9914
# PORTME: fill in a description of your system's C++ link characteristics
9915
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9916
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9920
# FIXME: insert proper C++ library support
9924
if test "$host_cpu" = ia64; then
9925
# On IA64, the linker does run time linking by default, so we don't
9926
# have to do anything special.
9927
aix_use_runtimelinking=no
9928
exp_sym_flag='-Bexport'
9931
aix_use_runtimelinking=no
9933
# Test if we are trying to use run time linking or normal
9934
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9935
# need to do runtime linking.
9936
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9937
for ld_flag in $LDFLAGS; do
9940
aix_use_runtimelinking=yes
9948
exp_sym_flag='-bexport'
9949
no_entry_flag='-bnoentry'
9952
# When large executables or shared objects are built, AIX ld can
9953
# have problems creating the table of contents. If linking a library
9954
# or program results in "error TOC overflow" add -mminimal-toc to
9955
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9956
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9959
hardcode_direct_CXX=yes
9960
hardcode_libdir_separator_CXX=':'
9961
link_all_deplibs_CXX=yes
9963
if test "$GXX" = yes; then
9964
case $host_os in aix4.[012]|aix4.[012].*)
9965
# We only want to do this on AIX 4.2 and lower, the check
9966
# below for broken collect2 doesn't work under 4.3+
9967
collect2name=`${CC} -print-prog-name=collect2`
9968
if test -f "$collect2name" && \
9969
strings "$collect2name" | grep resolve_lib_name >/dev/null
9971
# We have reworked collect2
9972
hardcode_direct_CXX=yes
9974
# We have old collect2
9975
hardcode_direct_CXX=unsupported
9976
# It fails to find uninstalled libraries when the uninstalled
9977
# path is not listed in the libpath. Setting hardcode_minus_L
9978
# to unsupported forces relinking
9979
hardcode_minus_L_CXX=yes
9980
hardcode_libdir_flag_spec_CXX='-L$libdir'
9981
hardcode_libdir_separator_CXX=
9985
shared_flag='-shared'
9986
if test "$aix_use_runtimelinking" = yes; then
9987
shared_flag="$shared_flag "'${wl}-G'
9991
if test "$host_cpu" = ia64; then
9992
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9993
# chokes on -Wl,-G. The following line is correct:
9996
if test "$aix_use_runtimelinking" = yes; then
9997
shared_flag='${wl}-G'
9999
shared_flag='${wl}-bM:SRE'
10004
# It seems that -bexpall does not export symbols beginning with
10005
# underscore (_), so it is better to generate a list of symbols to export.
10006
always_export_symbols_CXX=yes
10007
if test "$aix_use_runtimelinking" = yes; then
10008
# Warning - without using the other runtime loading flags (-brtl),
10009
# -berok will link without error, but may produce a broken library.
10010
allow_undefined_flag_CXX='-berok'
10011
# Determine the default libpath from the value encoded in an empty executable.
10012
cat >conftest.$ac_ext <<_ACEOF
10015
cat confdefs.h >>conftest.$ac_ext
10016
cat >>conftest.$ac_ext <<_ACEOF
10017
/* end confdefs.h. */
10027
rm -f conftest.$ac_objext conftest$ac_exeext
10028
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10029
(eval $ac_link) 2>conftest.er1
10031
grep -v '^ *+' conftest.er1 >conftest.err
10033
cat conftest.err >&5
10034
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035
(exit $ac_status); } &&
10036
{ ac_try='test -z "$ac_cxx_werror_flag"
10037
|| test ! -s conftest.err'
10038
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10039
(eval $ac_try) 2>&5
10041
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042
(exit $ac_status); }; } &&
10043
{ ac_try='test -s conftest$ac_exeext'
10044
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10045
(eval $ac_try) 2>&5
10047
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048
(exit $ac_status); }; }; then
10050
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10052
# Check for a 64-bit object if we didn't find anything.
10053
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; }
10056
echo "$as_me: failed program was:" >&5
10057
sed 's/^/| /' conftest.$ac_ext >&5
10060
rm -f conftest.err conftest.$ac_objext \
10061
conftest$ac_exeext conftest.$ac_ext
10062
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10064
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10066
archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10068
if test "$host_cpu" = ia64; then
10069
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10070
allow_undefined_flag_CXX="-z nodefs"
10071
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10073
# Determine the default libpath from the value encoded in an empty executable.
10074
cat >conftest.$ac_ext <<_ACEOF
10077
cat confdefs.h >>conftest.$ac_ext
10078
cat >>conftest.$ac_ext <<_ACEOF
10079
/* end confdefs.h. */
10089
rm -f conftest.$ac_objext conftest$ac_exeext
10090
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10091
(eval $ac_link) 2>conftest.er1
10093
grep -v '^ *+' conftest.er1 >conftest.err
10095
cat conftest.err >&5
10096
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097
(exit $ac_status); } &&
10098
{ ac_try='test -z "$ac_cxx_werror_flag"
10099
|| test ! -s conftest.err'
10100
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10101
(eval $ac_try) 2>&5
10103
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104
(exit $ac_status); }; } &&
10105
{ ac_try='test -s conftest$ac_exeext'
10106
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10107
(eval $ac_try) 2>&5
10109
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110
(exit $ac_status); }; }; then
10112
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10114
# Check for a 64-bit object if we didn't find anything.
10115
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; }
10118
echo "$as_me: failed program was:" >&5
10119
sed 's/^/| /' conftest.$ac_ext >&5
10122
rm -f conftest.err conftest.$ac_objext \
10123
conftest$ac_exeext conftest.$ac_ext
10124
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10126
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10127
# Warning - without using the other run time loading flags,
10128
# -berok will link without error, but may produce a broken library.
10129
no_undefined_flag_CXX=' ${wl}-bernotok'
10130
allow_undefined_flag_CXX=' ${wl}-berok'
10131
# Exported symbols can be pulled into shared objects from archives
10132
whole_archive_flag_spec_CXX='$convenience'
10133
archive_cmds_need_lc_CXX=yes
10134
# This is similar to how AIX traditionally builds its shared libraries.
10135
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10141
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10142
allow_undefined_flag_CXX=unsupported
10143
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10144
# support --undefined. This deserves some investigation. FIXME
10145
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10152
case $cc_basename in
10154
# FIXME: insert proper C++ library support
10160
cygwin* | mingw* | pw32*)
10161
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10162
# as there is no search path for DLLs.
10163
hardcode_libdir_flag_spec_CXX='-L$libdir'
10164
allow_undefined_flag_CXX=unsupported
10165
always_export_symbols_CXX=no
10166
enable_shared_with_static_runtimes_CXX=yes
10168
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10169
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10170
# If the export-symbols file already is a .def file (1st line
10171
# is EXPORTS), use it as is; otherwise, prepend...
10172
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10173
cp $export_symbols $output_objdir/$soname.def;
10175
echo EXPORTS > $output_objdir/$soname.def;
10176
cat $export_symbols >> $output_objdir/$soname.def;
10178
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10183
darwin* | rhapsody*)
10185
rhapsody* | darwin1.[012])
10186
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10189
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10190
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10192
case ${MACOSX_DEPLOYMENT_TARGET} in
10194
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10197
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10203
archive_cmds_need_lc_CXX=no
10204
hardcode_direct_CXX=no
10205
hardcode_automatic_CXX=yes
10206
hardcode_shlibpath_var_CXX=unsupported
10207
whole_archive_flag_spec_CXX=''
10208
link_all_deplibs_CXX=yes
10210
if test "$GXX" = yes ; then
10211
lt_int_apple_cc_single_mod=no
10212
output_verbose_link_cmd='echo'
10213
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10214
lt_int_apple_cc_single_mod=yes
10216
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10217
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10219
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'
10221
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10222
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10223
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10224
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}'
10226
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}'
10228
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}'
10230
case $cc_basename in
10232
output_verbose_link_cmd='echo'
10233
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'
10234
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10235
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10236
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}'
10237
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}'
10247
case $cc_basename in
10249
# FIXME: insert proper C++ library support
10253
# Green Hills C++ Compiler
10254
# FIXME: insert proper C++ library support
10258
# FIXME: insert proper C++ library support
10264
# C++ shared libraries reported to be fairly broken before switch to ELF
10268
archive_cmds_need_lc_CXX=no
10270
freebsd* | kfreebsd*-gnu | dragonfly*)
10271
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10278
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10279
hardcode_libdir_separator_CXX=:
10280
export_dynamic_flag_spec_CXX='${wl}-E'
10281
hardcode_direct_CXX=yes
10282
hardcode_minus_L_CXX=yes # Not in the search PATH,
10283
# but as the default
10284
# location of the library.
10286
case $cc_basename in
10288
# FIXME: insert proper C++ library support
10292
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'
10293
# Commands to make compiler produce verbose output that lists
10294
# what "hidden" libraries, object files and flags are used when
10295
# linking a shared library.
10297
# There doesn't appear to be a way to prevent this compiler from
10298
# explicitly linking system object files so we need to strip them
10299
# from the output so that they don't get included in the library
10301
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'
10304
if test "$GXX" = yes; then
10305
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'
10307
# FIXME: insert proper C++ library support
10314
if test $with_gnu_ld = no; then
10315
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10316
hardcode_libdir_separator_CXX=:
10320
hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10323
export_dynamic_flag_spec_CXX='${wl}-E'
10329
hardcode_direct_CXX=no
10330
hardcode_shlibpath_var_CXX=no
10333
hardcode_direct_CXX=yes
10334
hardcode_minus_L_CXX=yes # Not in the search PATH,
10335
# but as the default
10336
# location of the library.
10340
case $cc_basename in
10342
# FIXME: insert proper C++ library support
10348
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10351
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10354
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10357
# Commands to make compiler produce verbose output that lists
10358
# what "hidden" libraries, object files and flags are used when
10359
# linking a shared library.
10361
# There doesn't appear to be a way to prevent this compiler from
10362
# explicitly linking system object files so we need to strip them
10363
# from the output so that they don't get included in the library
10365
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'
10368
if test "$GXX" = yes; then
10369
if test $with_gnu_ld = no; then
10372
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10375
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10378
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'
10383
# FIXME: insert proper C++ library support
10390
hardcode_direct_CXX=no
10391
hardcode_shlibpath_var_CXX=no
10392
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10393
export_dynamic_flag_spec_CXX='${wl}-E'
10394
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10395
# Instead, shared libraries are loaded at an image base (0x10000000 by
10396
# default) and relocated if they conflict, which is a slow very memory
10397
# consuming and fragmenting process. To avoid this, we pick a random,
10398
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10399
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
10400
archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10401
archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10404
case $cc_basename in
10407
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'
10409
# Archives containing C++ object files must be created using
10410
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
10411
# necessary to make sure instantiated templates are included
10413
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10416
if test "$GXX" = yes; then
10417
if test "$with_gnu_ld" = no; then
10418
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'
10420
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'
10423
link_all_deplibs_CXX=yes
10426
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10427
hardcode_libdir_separator_CXX=:
10430
case $cc_basename in
10432
# Kuck and Associates, Inc. (KAI) C++ Compiler
10434
# KCC will only create a shared library if the output file
10435
# ends with ".so" (or ".sl" for HP-UX), so rename the library
10436
# to its proper name (with version) after linking.
10437
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'
10438
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'
10439
# Commands to make compiler produce verbose output that lists
10440
# what "hidden" libraries, object files and flags are used when
10441
# linking a shared library.
10443
# There doesn't appear to be a way to prevent this compiler from
10444
# explicitly linking system object files so we need to strip them
10445
# from the output so that they don't get included in the library
10447
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'
10449
hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10450
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10452
# Archives containing C++ object files must be created using
10453
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
10454
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10459
# version 8.0 and above of icpc choke on multiply defined symbols
10460
# if we add $predep_objects and $postdep_objects, however 7.1 and
10461
# earlier do not add the objects themselves.
10462
case `$CC -V 2>&1` in
10464
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10465
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'
10467
*) # Version 8.0 or newer
10470
ia64*) tmp_idyn=' -i_dynamic';;
10472
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10473
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'
10476
archive_cmds_need_lc_CXX=no
10477
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10478
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10479
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10482
# Portland Group C++ compiler
10483
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10484
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'
10486
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10487
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10488
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'
10492
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10493
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'
10495
runpath_var=LD_RUN_PATH
10496
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10497
hardcode_libdir_separator_CXX=:
10499
# Commands to make compiler produce verbose output that lists
10500
# what "hidden" libraries, object files and flags are used when
10501
# linking a shared library.
10503
# There doesn't appear to be a way to prevent this compiler from
10504
# explicitly linking system object files so we need to strip them
10505
# from the output so that they don't get included in the library
10507
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'
10512
# FIXME: insert proper C++ library support
10516
# FIXME: insert proper C++ library support
10520
case $cc_basename in
10522
# FIXME: insert proper C++ library support
10526
# FIXME: insert proper C++ library support
10532
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10533
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10535
hardcode_libdir_flag_spec_CXX='-R$libdir'
10536
hardcode_direct_CXX=yes
10537
hardcode_shlibpath_var_CXX=no
10539
# Workaround some broken pre-1.5 toolchains
10540
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10543
# C++ shared libraries are fairly broken
10547
hardcode_direct_CXX=yes
10548
hardcode_shlibpath_var_CXX=no
10549
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10550
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10551
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10552
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10553
export_dynamic_flag_spec_CXX='${wl}-E'
10554
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10556
output_verbose_link_cmd='echo'
10559
case $cc_basename in
10561
# Kuck and Associates, Inc. (KAI) C++ Compiler
10563
# KCC will only create a shared library if the output file
10564
# ends with ".so" (or ".sl" for HP-UX), so rename the library
10565
# to its proper name (with version) after linking.
10566
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'
10568
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10569
hardcode_libdir_separator_CXX=:
10571
# Archives containing C++ object files must be created using
10572
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
10573
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10577
# Rational C++ 2.4.1
10578
# FIXME: insert proper C++ library support
10582
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10583
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'
10585
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10586
hardcode_libdir_separator_CXX=:
10588
# Commands to make compiler produce verbose output that lists
10589
# what "hidden" libraries, object files and flags are used when
10590
# linking a shared library.
10592
# There doesn't appear to be a way to prevent this compiler from
10593
# explicitly linking system object files so we need to strip them
10594
# from the output so that they don't get included in the library
10596
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'
10599
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10600
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10601
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'
10603
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10604
hardcode_libdir_separator_CXX=:
10606
# Commands to make compiler produce verbose output that lists
10607
# what "hidden" libraries, object files and flags are used when
10608
# linking a shared library.
10609
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10612
# FIXME: insert proper C++ library support
10619
case $cc_basename in
10621
# Kuck and Associates, Inc. (KAI) C++ Compiler
10623
# KCC will only create a shared library if the output file
10624
# ends with ".so" (or ".sl" for HP-UX), so rename the library
10625
# to its proper name (with version) after linking.
10626
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'
10628
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10629
hardcode_libdir_separator_CXX=:
10631
# Archives containing C++ object files must be created using
10632
# the KAI C++ compiler.
10633
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10636
# Rational C++ 2.4.1
10637
# FIXME: insert proper C++ library support
10641
allow_undefined_flag_CXX=' -expect_unresolved \*'
10642
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'
10643
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10644
echo "-hidden">> $lib.exp~
10645
$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~
10648
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10649
hardcode_libdir_separator_CXX=:
10651
# Commands to make compiler produce verbose output that lists
10652
# what "hidden" libraries, object files and flags are used when
10653
# linking a shared library.
10655
# There doesn't appear to be a way to prevent this compiler from
10656
# explicitly linking system object files so we need to strip them
10657
# from the output so that they don't get included in the library
10659
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'
10662
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10663
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10664
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'
10666
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10667
hardcode_libdir_separator_CXX=:
10669
# Commands to make compiler produce verbose output that lists
10670
# what "hidden" libraries, object files and flags are used when
10671
# linking a shared library.
10672
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10675
# FIXME: insert proper C++ library support
10682
# FIXME: insert proper C++ library support
10686
case $cc_basename in
10689
# FIXME: insert proper C++ library support
10694
# FIXME: insert proper C++ library support
10698
# FIXME: insert proper C++ library support
10704
case $cc_basename in
10706
# Sun C++ 4.2, 5.x and Centerline C++
10707
archive_cmds_need_lc_CXX=yes
10708
no_undefined_flag_CXX=' -zdefs'
10709
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10710
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10711
$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'
10713
hardcode_libdir_flag_spec_CXX='-R$libdir'
10714
hardcode_shlibpath_var_CXX=no
10716
solaris2.[0-5] | solaris2.[0-5].*) ;;
10718
# The C++ compiler is used as linker so we must use $wl
10719
# flag to pass the commands to the underlying system
10720
# linker. We must also pass each convience library through
10721
# to the system linker between allextract/defaultextract.
10722
# The C++ compiler will combine linker options so we
10723
# cannot just pass the convience library names through
10725
# Supported since Solaris 2.6 (maybe 2.5.1?)
10726
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'
10729
link_all_deplibs_CXX=yes
10731
output_verbose_link_cmd='echo'
10733
# Archives containing C++ object files must be created using
10734
# "CC -xar", where "CC" is the Sun C++ compiler. This is
10735
# necessary to make sure instantiated templates are included
10737
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10740
# Green Hills C++ Compiler
10741
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10743
# The C++ compiler must be used to create the archive.
10744
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10747
# GNU C++ compiler with Solaris linker
10748
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10749
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10750
if $CC --version | grep -v '^2\.7' > /dev/null; then
10751
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10752
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10753
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10755
# Commands to make compiler produce verbose output that lists
10756
# what "hidden" libraries, object files and flags are used when
10757
# linking a shared library.
10758
output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10760
# g++ 2.7 appears to require `-G' NOT `-shared' on this
10762
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10763
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10764
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10766
# Commands to make compiler produce verbose output that lists
10767
# what "hidden" libraries, object files and flags are used when
10768
# linking a shared library.
10769
output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10772
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10777
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10778
no_undefined_flag_CXX='${wl}-z,text'
10779
archive_cmds_need_lc_CXX=no
10780
hardcode_shlibpath_var_CXX=no
10781
runpath_var='LD_RUN_PATH'
10783
case $cc_basename in
10785
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10786
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10789
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10790
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10794
sysv5* | sco3.2v5* | sco5v6*)
10795
# Note: We can NOT use -z defs as we might desire, because we do not
10796
# link with -lc, and that would cause any symbols used from libc to
10797
# always be unresolved, which means just about no library would
10798
# ever link correctly. If we're not using GNU ld we use -z text
10799
# though, which does catch some bad symbols but isn't as heavy-handed
10801
# For security reasons, it is highly recommended that you always
10802
# use absolute paths for naming shared libraries, and exclude the
10803
# DT_RUNPATH tag from executables and libraries. But doing so
10804
# requires that you compile everything twice, which is a pain.
10805
# So that behaviour is only enabled if SCOABSPATH is set to a
10806
# non-empty value in the environment. Most likely only useful for
10807
# creating official distributions of packages.
10808
# This is a hack until libtool officially supports absolute path
10809
# names for shared libraries.
10810
no_undefined_flag_CXX='${wl}-z,text'
10811
allow_undefined_flag_CXX='${wl}-z,nodefs'
10812
archive_cmds_need_lc_CXX=no
10813
hardcode_shlibpath_var_CXX=no
10814
hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
10815
hardcode_libdir_separator_CXX=':'
10816
link_all_deplibs_CXX=yes
10817
export_dynamic_flag_spec_CXX='${wl}-Bexport'
10818
runpath_var='LD_RUN_PATH'
10820
case $cc_basename in
10822
archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10823
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10826
archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10827
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10832
case $cc_basename in
10834
# NonStop-UX NCC 3.20
10835
# FIXME: insert proper C++ library support
10839
# FIXME: insert proper C++ library support
10845
# FIXME: insert proper C++ library support
10849
# FIXME: insert proper C++ library support
10853
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10854
echo "${ECHO_T}$ld_shlibs_CXX" >&6
10855
test "$ld_shlibs_CXX" = no && can_build_shared=no
10861
cat > conftest.$ac_ext <<EOF
10865
Foo (void) { a = 0; }
10871
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10872
(eval $ac_compile) 2>&5
10874
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10875
(exit $ac_status); }; then
10876
# Parse the compiler output and extract the necessary
10877
# objects, libraries and library flags.
10879
# Sentinel used to keep track of whether or not we are before
10880
# the conftest object file.
10881
pre_test_object_deps_done=no
10883
# The `*' in the case matches for architectures that use `case' in
10884
# $output_verbose_cmd can trigger glob expansion during the loop
10885
# eval without this substitution.
10886
output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10888
for p in `eval $output_verbose_link_cmd`; do
10892
# Some compilers place space between "-{L,R}" and the path.
10893
# Remove the space.
10894
if test $p = "-L" \
10895
|| test $p = "-R"; then
10902
if test "$pre_test_object_deps_done" = no; then
10905
# Internal compiler library paths should come after those
10906
# provided the user. The postdeps already come after the
10907
# user supplied libs so there is no need to process them.
10908
if test -z "$compiler_lib_search_path_CXX"; then
10909
compiler_lib_search_path_CXX="${prev}${p}"
10911
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10914
# The "-l" case would never come before the object being
10915
# linked, so don't bother handling this case.
10918
if test -z "$postdeps_CXX"; then
10919
postdeps_CXX="${prev}${p}"
10921
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10927
# This assumes that the test object file only shows up
10928
# once in the compiler output.
10929
if test "$p" = "conftest.$objext"; then
10930
pre_test_object_deps_done=yes
10934
if test "$pre_test_object_deps_done" = no; then
10935
if test -z "$predep_objects_CXX"; then
10936
predep_objects_CXX="$p"
10938
predep_objects_CXX="$predep_objects_CXX $p"
10941
if test -z "$postdep_objects_CXX"; then
10942
postdep_objects_CXX="$p"
10944
postdep_objects_CXX="$postdep_objects_CXX $p"
10949
*) ;; # Ignore the rest.
10957
echo "libtool.m4: error: problem compiling CXX test program"
10960
$rm -f confest.$objext
10962
# PORTME: override above test on systems where it is broken
10965
# Interix 3.5 installs completely hosed .la files for C++, so rather than
10966
# hack all around it, let's just trust "g++" to DTRT.
10967
predep_objects_CXX=
10968
postdep_objects_CXX=
10973
case $cc_basename in
10975
# Adding this requires a known-good setup of shared libraries for
10976
# Sun compiler versions before 5.6, else PIC objects from an old
10977
# archive will be linked into the output, leading to subtle bugs.
10978
postdeps_CXX='-lCstd -lCrun'
10985
case " $postdeps_CXX " in
10986
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
10989
lt_prog_compiler_wl_CXX=
10990
lt_prog_compiler_pic_CXX=
10991
lt_prog_compiler_static_CXX=
10993
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10994
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10996
# C++ specific cases for pic, static, wl, etc.
10997
if test "$GXX" = yes; then
10998
lt_prog_compiler_wl_CXX='-Wl,'
10999
lt_prog_compiler_static_CXX='-static'
11003
# All AIX code is PIC.
11004
if test "$host_cpu" = ia64; then
11005
# AIX 5 now supports IA64 processor
11006
lt_prog_compiler_static_CXX='-Bstatic'
11010
# FIXME: we need at least 68020 code to build shared libraries, but
11011
# adding the `-m68020' flag to GCC prevents building anything better,
11013
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
11015
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11016
# PIC is the default for these OSes.
11018
mingw* | os2* | pw32*)
11019
# This hack is so that the source file can tell whether it is being
11020
# built for inclusion in a dll (and should export symbols for example).
11021
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
11023
darwin* | rhapsody*)
11024
# PIC is the default on this platform
11025
# Common symbols not allowed in MH_DYLIB files
11026
lt_prog_compiler_pic_CXX='-fno-common'
11029
# DJGPP does not support shared libraries at all
11030
lt_prog_compiler_pic_CXX=
11033
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
11034
# Instead, we relocate shared libraries at runtime.
11037
if test -d /usr/nec; then
11038
lt_prog_compiler_pic_CXX=-Kconform_pic
11042
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11043
# not for PA HP-UX.
11048
lt_prog_compiler_pic_CXX='-fPIC'
11053
lt_prog_compiler_pic_CXX='-fPIC'
11059
# All AIX code is PIC.
11060
if test "$host_cpu" = ia64; then
11061
# AIX 5 now supports IA64 processor
11062
lt_prog_compiler_static_CXX='-Bstatic'
11064
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
11068
case $cc_basename in
11070
# Green Hills C++ Compiler
11071
# _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"
11076
# PIC is the default on this platform
11077
# Common symbols not allowed in MH_DYLIB files
11078
case $cc_basename in
11080
lt_prog_compiler_pic_CXX='-qnocommon'
11081
lt_prog_compiler_wl_CXX='-Wl,'
11086
case $cc_basename in
11088
lt_prog_compiler_pic_CXX='-KPIC'
11091
# Green Hills C++ Compiler
11092
lt_prog_compiler_pic_CXX='-pic'
11098
freebsd* | kfreebsd*-gnu | dragonfly*)
11099
# FreeBSD uses GNU C++
11101
hpux9* | hpux10* | hpux11*)
11102
case $cc_basename in
11104
lt_prog_compiler_wl_CXX='-Wl,'
11105
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11106
if test "$host_cpu" != ia64; then
11107
lt_prog_compiler_pic_CXX='+Z'
11111
lt_prog_compiler_wl_CXX='-Wl,'
11112
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11118
lt_prog_compiler_pic_CXX='+Z'
11127
# This is c89, which is MS Visual C++ (no shared libs)
11128
# Anyone wants to do a port?
11130
irix5* | irix6* | nonstopux*)
11131
case $cc_basename in
11133
lt_prog_compiler_wl_CXX='-Wl,'
11134
lt_prog_compiler_static_CXX='-non_shared'
11135
# CC pic flag -KPIC is the default.
11142
case $cc_basename in
11145
lt_prog_compiler_wl_CXX='--backend -Wl,'
11146
lt_prog_compiler_pic_CXX='-fPIC'
11150
lt_prog_compiler_wl_CXX='-Wl,'
11151
lt_prog_compiler_pic_CXX='-KPIC'
11152
lt_prog_compiler_static_CXX='-static'
11155
# Portland Group C++ compiler.
11156
lt_prog_compiler_wl_CXX='-Wl,'
11157
lt_prog_compiler_pic_CXX='-fpic'
11158
lt_prog_compiler_static_CXX='-Bstatic'
11162
# Make sure the PIC flag is empty. It appears that all Alpha
11163
# Linux and Compaq Tru64 Unix objects are PIC.
11164
lt_prog_compiler_pic_CXX=
11165
lt_prog_compiler_static_CXX='-non_shared'
11176
case $cc_basename in
11178
lt_prog_compiler_pic_CXX='-W c,exportall'
11186
osf3* | osf4* | osf5*)
11187
case $cc_basename in
11189
lt_prog_compiler_wl_CXX='--backend -Wl,'
11192
# Rational C++ 2.4.1
11193
lt_prog_compiler_pic_CXX='-pic'
11196
# Digital/Compaq C++
11197
lt_prog_compiler_wl_CXX='-Wl,'
11198
# Make sure the PIC flag is empty. It appears that all Alpha
11199
# Linux and Compaq Tru64 Unix objects are PIC.
11200
lt_prog_compiler_pic_CXX=
11201
lt_prog_compiler_static_CXX='-non_shared'
11210
case $cc_basename in
11212
# Sun C++ 4.2, 5.x and Centerline C++
11213
lt_prog_compiler_pic_CXX='-KPIC'
11214
lt_prog_compiler_static_CXX='-Bstatic'
11215
lt_prog_compiler_wl_CXX='-Qoption ld '
11218
# Green Hills C++ Compiler
11219
lt_prog_compiler_pic_CXX='-PIC'
11226
case $cc_basename in
11229
lt_prog_compiler_pic_CXX='-pic'
11230
lt_prog_compiler_static_CXX='-Bstatic'
11234
lt_prog_compiler_pic_CXX='-pic'
11241
case $cc_basename in
11243
# NonStop-UX NCC 3.20
11244
lt_prog_compiler_pic_CXX='-KPIC'
11250
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11251
case $cc_basename in
11253
lt_prog_compiler_wl_CXX='-Wl,'
11254
lt_prog_compiler_pic_CXX='-KPIC'
11255
lt_prog_compiler_static_CXX='-Bstatic'
11262
lt_prog_compiler_can_build_shared_CXX=no
11267
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11268
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11271
# Check to make sure the PIC flag actually works.
11273
if test -n "$lt_prog_compiler_pic_CXX"; then
11275
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11276
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11277
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11278
echo $ECHO_N "(cached) $ECHO_C" >&6
11280
lt_prog_compiler_pic_works_CXX=no
11281
ac_outfile=conftest.$ac_objext
11282
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11283
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
11284
# Insert the option either (1) after the last *FLAGS variable, or
11285
# (2) before a word containing "conftest.", or (3) at the end.
11286
# Note that $ac_compile itself does not contain backslashes and begins
11287
# with a dollar sign (not a hyphen), so the echo should work correctly.
11288
# The option is referenced via a variable to avoid confusing sed.
11289
lt_compile=`echo "$ac_compile" | $SED \
11290
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11291
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11292
-e 's:$: $lt_compiler_flag:'`
11293
(eval echo "\"\$as_me:11293: $lt_compile\"" >&5)
11294
(eval "$lt_compile" 2>conftest.err)
11296
cat conftest.err >&5
11297
echo "$as_me:11297: \$? = $ac_status" >&5
11298
if (exit $ac_status) && test -s "$ac_outfile"; then
11299
# The compiler can only warn and ignore the option if not recognized
11300
# So say no if there are warnings other than the usual output.
11301
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11302
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11303
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11304
lt_prog_compiler_pic_works_CXX=yes
11310
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11311
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11313
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11314
case $lt_prog_compiler_pic_CXX in
11316
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
11319
lt_prog_compiler_pic_CXX=
11320
lt_prog_compiler_can_build_shared_CXX=no
11325
# For platforms which do not support PIC, -DPIC is meaningless:
11327
lt_prog_compiler_pic_CXX=
11330
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
11335
# Check to make sure the static flag actually works.
11337
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11338
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11339
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11340
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11341
echo $ECHO_N "(cached) $ECHO_C" >&6
11343
lt_prog_compiler_static_works_CXX=no
11344
save_LDFLAGS="$LDFLAGS"
11345
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11346
printf "$lt_simple_link_test_code" > conftest.$ac_ext
11347
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11348
# The linker can only warn and ignore the option if not recognized
11349
# So say no if there are warnings
11350
if test -s conftest.err; then
11351
# Append any errors to the config.log.
11352
cat conftest.err 1>&5
11353
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11354
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11355
if diff conftest.exp conftest.er2 >/dev/null; then
11356
lt_prog_compiler_static_works_CXX=yes
11359
lt_prog_compiler_static_works_CXX=yes
11363
LDFLAGS="$save_LDFLAGS"
11366
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11367
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11369
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
11372
lt_prog_compiler_static_CXX=
11376
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11377
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11378
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11379
echo $ECHO_N "(cached) $ECHO_C" >&6
11381
lt_cv_prog_compiler_c_o_CXX=no
11382
$rm -r conftest 2>/dev/null
11386
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11388
lt_compiler_flag="-o out/conftest2.$ac_objext"
11389
# Insert the option either (1) after the last *FLAGS variable, or
11390
# (2) before a word containing "conftest.", or (3) at the end.
11391
# Note that $ac_compile itself does not contain backslashes and begins
11392
# with a dollar sign (not a hyphen), so the echo should work correctly.
11393
lt_compile=`echo "$ac_compile" | $SED \
11394
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11395
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11396
-e 's:$: $lt_compiler_flag:'`
11397
(eval echo "\"\$as_me:11397: $lt_compile\"" >&5)
11398
(eval "$lt_compile" 2>out/conftest.err)
11400
cat out/conftest.err >&5
11401
echo "$as_me:11401: \$? = $ac_status" >&5
11402
if (exit $ac_status) && test -s out/conftest2.$ac_objext
11404
# The compiler can only warn and ignore the option if not recognized
11405
# So say no if there are warnings
11406
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11407
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11408
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11409
lt_cv_prog_compiler_c_o_CXX=yes
11414
# SGI C++ compiler will create directory out/ii_files/ for
11415
# template instantiation
11416
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
11417
$rm out/* && rmdir out
11423
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11424
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11427
hard_links="nottested"
11428
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11429
# do not overwrite the value of need_locks provided by the user
11430
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11431
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11434
ln conftest.a conftest.b 2>/dev/null && hard_links=no
11436
ln conftest.a conftest.b 2>&5 || hard_links=no
11437
ln conftest.a conftest.b 2>/dev/null && hard_links=no
11438
echo "$as_me:$LINENO: result: $hard_links" >&5
11439
echo "${ECHO_T}$hard_links" >&6
11440
if test "$hard_links" = no; then
11441
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11442
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11449
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11450
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11452
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11455
# If we're using GNU nm, then we don't want the "-C" option.
11456
# -C means demangle to AIX nm, but means don't demangle with GNU nm
11457
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
11458
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'
11460
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'
11464
export_symbols_cmds_CXX="$ltdll_cmds"
11467
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'
11470
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11474
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11475
echo "${ECHO_T}$ld_shlibs_CXX" >&6
11476
test "$ld_shlibs_CXX" = no && can_build_shared=no
11479
# Do we need to explicitly link libc?
11481
case "x$archive_cmds_need_lc_CXX" in
11483
# Assume -lc should be added
11484
archive_cmds_need_lc_CXX=yes
11486
if test "$enable_shared" = yes && test "$GCC" = yes; then
11487
case $archive_cmds_CXX in
11489
# FIXME: we may have to deal with multi-command sequences.
11492
# Test whether the compiler implicitly links with -lc since on some
11493
# systems, -lgcc has to come before -lc. If gcc already passes -lc
11494
# to ld, don't add -lc before -lgcc.
11495
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11496
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11498
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11500
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11501
(eval $ac_compile) 2>&5
11503
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504
(exit $ac_status); } 2>conftest.err; then
11507
libobjs=conftest.$ac_objext
11509
wl=$lt_prog_compiler_wl_CXX
11510
pic_flag=$lt_prog_compiler_pic_CXX
11516
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
11517
allow_undefined_flag_CXX=
11518
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11519
(eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11521
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11522
(exit $ac_status); }
11524
archive_cmds_need_lc_CXX=no
11526
archive_cmds_need_lc_CXX=yes
11528
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11530
cat conftest.err 1>&5
11533
echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11534
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11541
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11542
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11543
library_names_spec=
11544
libname_spec='lib$name'
11548
postuninstall_cmds=
11552
shlibpath_overrides_runpath=unknown
11554
dynamic_linker="$host_os ld.so"
11555
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11556
if test "$GCC" = yes; then
11557
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11558
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11559
# if the path contains ";" then we assume it to be the separator
11560
# otherwise default to the standard path separator (i.e. ":") - it is
11561
# assumed that no part of a normal pathname contains ";" but that should
11562
# okay in the real world where ";" in dirpaths is itself problematic.
11563
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11565
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11568
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11570
need_lib_prefix=unknown
11571
hardcode_into_libs=no
11573
# when you set need_version to no, make sure it does not cause -set_version
11574
# flags to be left without arguments
11575
need_version=unknown
11580
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11581
shlibpath_var=LIBPATH
11583
# AIX 3 has no versioning support, so we append a major version to the name.
11584
soname_spec='${libname}${release}${shared_ext}$major'
11591
hardcode_into_libs=yes
11592
if test "$host_cpu" = ia64; then
11593
# AIX 5 supports IA64
11594
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11595
shlibpath_var=LD_LIBRARY_PATH
11597
# With GCC up to 2.95.x, collect2 would create an import file
11598
# for dependence libraries. The import file would start with
11599
# the line `#! .'. This would cause the generated library to
11600
# depend on `.', always an invalid library. This was fixed in
11601
# development snapshots of GCC prior to 3.0.
11603
aix4 | aix4.[01] | aix4.[01].*)
11604
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11606
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11609
can_build_shared=no
11613
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11614
# soname into executable. Probably we can add versioning support to
11615
# collect2, so additional links can be useful in future.
11616
if test "$aix_use_runtimelinking" = yes; then
11617
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
11618
# instead of lib<name>.a to let people know that these are not
11619
# typical AIX shared libraries.
11620
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11622
# We preserve .a as extension for shared libraries through AIX4.2
11623
# and later when we are not doing run time linking.
11624
library_names_spec='${libname}${release}.a $libname.a'
11625
soname_spec='${libname}${release}${shared_ext}$major'
11627
shlibpath_var=LIBPATH
11632
library_names_spec='$libname.ixlibrary $libname.a'
11633
# Create ${libname}_ixlibrary.a entries in /sys/libs.
11634
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'
11638
library_names_spec='${libname}${shared_ext}'
11639
dynamic_linker="$host_os ld.so"
11640
shlibpath_var=LIBRARY_PATH
11646
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11647
soname_spec='${libname}${release}${shared_ext}$major'
11648
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11649
shlibpath_var=LD_LIBRARY_PATH
11650
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11651
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11652
# the default ld.so.conf also contains /usr/contrib/lib and
11653
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11654
# libtool to hard-code these into programs
11657
cygwin* | mingw* | pw32*)
11658
version_type=windows
11663
case $GCC,$host_os in
11664
yes,cygwin* | yes,mingw* | yes,pw32*)
11665
library_names_spec='$libname.dll.a'
11666
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11667
postinstall_cmds='base_file=`basename \${file}`~
11668
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11669
dldir=$destdir/`dirname \$dlpath`~
11670
test -d \$dldir || mkdir -p \$dldir~
11671
$install_prog $dir/$dlname \$dldir/$dlname~
11672
chmod a+x \$dldir/$dlname'
11673
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11674
dlpath=$dir/\$dldll~
11676
shlibpath_overrides_runpath=yes
11680
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
11681
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11682
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11685
# MinGW DLLs use traditional 'lib' prefix
11686
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11687
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11688
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11689
# It is most probably a Windows format PATH printed by
11690
# mingw gcc, but we are running on Cygwin. Gcc prints its search
11691
# path with ; separators, and with drive letters. We can handle the
11692
# drive letters (cygwin fileutils understands them), so leave them,
11693
# especially as we might pass files found there to a mingw objdump,
11694
# which wouldn't understand a cygwinified path. Ahh.
11695
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11697
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11701
# pw32 DLLs use 'pw' prefix rather than 'lib'
11702
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11708
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11711
dynamic_linker='Win32 ld.exe'
11712
# FIXME: first we should search . and the directory the executable is in
11716
darwin* | rhapsody*)
11717
dynamic_linker="$host_os dyld"
11718
version_type=darwin
11721
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11722
soname_spec='${libname}${release}${major}$shared_ext'
11723
shlibpath_overrides_runpath=yes
11724
shlibpath_var=DYLD_LIBRARY_PATH
11725
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11726
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11727
if test "$GCC" = yes; then
11728
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"`
11730
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11732
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11739
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11740
soname_spec='${libname}${release}${shared_ext}$major'
11741
shlibpath_var=LD_LIBRARY_PATH
11752
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11753
soname_spec='${libname}${release}${shared_ext}$major'
11754
shlibpath_var=LD_LIBRARY_PATH
11755
shlibpath_overrides_runpath=no
11756
hardcode_into_libs=yes
11757
dynamic_linker='GNU ld.so'
11760
freebsd* | dragonfly*)
11761
# DragonFly does not have aout. When/if they implement a new
11762
# versioning mechanism, adjust this.
11763
if test -x /usr/bin/objformat; then
11764
objformat=`/usr/bin/objformat`
11767
freebsd[123]*) objformat=aout ;;
11768
*) objformat=elf ;;
11771
version_type=freebsd-$objformat
11772
case $version_type in
11774
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11779
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11783
shlibpath_var=LD_LIBRARY_PATH
11786
shlibpath_overrides_runpath=yes
11788
freebsd3.[01]* | freebsdelf3.[01]*)
11789
shlibpath_overrides_runpath=yes
11790
hardcode_into_libs=yes
11792
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11793
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11794
shlibpath_overrides_runpath=no
11795
hardcode_into_libs=yes
11797
freebsd*) # from 4.6 on
11798
shlibpath_overrides_runpath=yes
11799
hardcode_into_libs=yes
11808
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11809
soname_spec='${libname}${release}${shared_ext}$major'
11810
shlibpath_var=LD_LIBRARY_PATH
11811
hardcode_into_libs=yes
11814
hpux9* | hpux10* | hpux11*)
11815
# Give a soname corresponding to the major version so that dld.sl refuses to
11816
# link against other versions.
11823
hardcode_into_libs=yes
11824
dynamic_linker="$host_os dld.so"
11825
shlibpath_var=LD_LIBRARY_PATH
11826
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11827
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11828
soname_spec='${libname}${release}${shared_ext}$major'
11829
if test "X$HPUX_IA64_MODE" = X32; then
11830
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11832
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11834
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11838
hardcode_into_libs=yes
11839
dynamic_linker="$host_os dld.sl"
11840
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11841
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11842
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11843
soname_spec='${libname}${release}${shared_ext}$major'
11844
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11845
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11849
dynamic_linker="$host_os dld.sl"
11850
shlibpath_var=SHLIB_PATH
11851
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11852
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11853
soname_spec='${libname}${release}${shared_ext}$major'
11856
# HP-UX runs *really* slowly unless shared libraries are mode 555.
11857
postinstall_cmds='chmod 555 $lib'
11864
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11865
soname_spec='${libname}${release}${shared_ext}$major'
11866
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11867
shlibpath_var=LD_LIBRARY_PATH
11868
shlibpath_overrides_runpath=no
11869
hardcode_into_libs=yes
11872
irix5* | irix6* | nonstopux*)
11874
nonstopux*) version_type=nonstopux ;;
11876
if test "$lt_cv_prog_gnu_ld" = yes; then
11884
soname_spec='${libname}${release}${shared_ext}$major'
11885
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11887
irix5* | nonstopux*)
11888
libsuff= shlibsuff=
11891
case $LD in # libtool.m4 will add one of these switches to LD
11892
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11893
libsuff= shlibsuff= libmagic=32-bit;;
11894
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11895
libsuff=32 shlibsuff=N32 libmagic=N32;;
11896
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11897
libsuff=64 shlibsuff=64 libmagic=64-bit;;
11898
*) libsuff= shlibsuff= libmagic=never-match;;
11902
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11903
shlibpath_overrides_runpath=no
11904
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11905
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11906
hardcode_into_libs=yes
11909
# No shared lib support for Linux oldld, aout, or coff.
11910
linux*oldld* | linux*aout* | linux*coff*)
11914
# This must be Linux ELF.
11919
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11920
soname_spec='${libname}${release}${shared_ext}$major'
11921
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11922
shlibpath_var=LD_LIBRARY_PATH
11923
shlibpath_overrides_runpath=no
11924
# This implies no fast_install, which is unacceptable.
11925
# Some rework will be needed to allow for fast_install
11926
# before this can be enabled.
11927
hardcode_into_libs=yes
11929
# find out which ABI we are using
11931
case "$host_cpu" in
11932
x86_64*|s390x*|powerpc64*)
11933
echo '#line 11933 "configure"' > conftest.$ac_ext
11934
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11935
(eval $ac_compile) 2>&5
11937
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938
(exit $ac_status); }; then
11939
case `/usr/bin/file conftest.$ac_objext` in
11942
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
11950
# Append ld.so.conf contents to the search path
11951
if test -f /etc/ld.so.conf; then
11952
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11953
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
11956
# We used to test for /lib/ld.so.1 and disable shared libraries on
11957
# powerpc, because MkLinux only supported shared libraries with the
11958
# GNU dynamic linker. Since this was broken with cross compilers,
11959
# most powerpc-linux boxes support dynamic linking these days and
11960
# people can always --disable-shared, the test was removed, and we
11961
# assume the GNU/Linux dynamic linker is in use.
11962
dynamic_linker='GNU/Linux ld.so'
11969
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11970
soname_spec='${libname}${release}${shared_ext}$major'
11971
shlibpath_var=LD_LIBRARY_PATH
11972
shlibpath_overrides_runpath=no
11973
hardcode_into_libs=yes
11974
dynamic_linker='GNU ld.so'
11981
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11982
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11983
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11984
dynamic_linker='NetBSD (a.out) ld.so'
11986
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11987
soname_spec='${libname}${release}${shared_ext}$major'
11988
dynamic_linker='NetBSD ld.elf_so'
11990
shlibpath_var=LD_LIBRARY_PATH
11991
shlibpath_overrides_runpath=yes
11992
hardcode_into_libs=yes
11997
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11998
shlibpath_var=LD_LIBRARY_PATH
11999
shlibpath_overrides_runpath=yes
12006
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12007
soname_spec='${libname}${release}${shared_ext}$major'
12008
shlibpath_var=LD_LIBRARY_PATH
12009
shlibpath_overrides_runpath=yes
12014
sys_lib_dlsearch_path_spec="/usr/lib"
12016
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12018
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12019
*) need_version=no ;;
12021
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12022
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12023
shlibpath_var=LD_LIBRARY_PATH
12024
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12026
openbsd2.[89] | openbsd2.[89].*)
12027
shlibpath_overrides_runpath=no
12030
shlibpath_overrides_runpath=yes
12034
shlibpath_overrides_runpath=yes
12039
libname_spec='$name'
12042
library_names_spec='$libname${shared_ext} $libname.a'
12043
dynamic_linker='OS/2 ld.exe'
12044
shlibpath_var=LIBPATH
12047
osf3* | osf4* | osf5*)
12051
soname_spec='${libname}${release}${shared_ext}$major'
12052
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12053
shlibpath_var=LD_LIBRARY_PATH
12054
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12055
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12062
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12063
soname_spec='${libname}${release}${shared_ext}$major'
12064
shlibpath_var=LD_LIBRARY_PATH
12065
shlibpath_overrides_runpath=yes
12066
hardcode_into_libs=yes
12067
# ldd complains unless libraries are executable
12068
postinstall_cmds='chmod +x $lib'
12073
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12074
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12075
shlibpath_var=LD_LIBRARY_PATH
12076
shlibpath_overrides_runpath=yes
12077
if test "$with_gnu_ld" = yes; then
12085
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12086
soname_spec='${libname}${release}${shared_ext}$major'
12087
shlibpath_var=LD_LIBRARY_PATH
12088
case $host_vendor in
12090
shlibpath_overrides_runpath=no
12092
export_dynamic_flag_spec='${wl}-Blargedynsym'
12093
runpath_var=LD_RUN_PATH
12101
shlibpath_overrides_runpath=no
12102
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12108
if test -d /usr/nec ;then
12110
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12111
soname_spec='$libname${shared_ext}.$major'
12112
shlibpath_var=LD_LIBRARY_PATH
12116
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12117
version_type=freebsd-elf
12120
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12121
soname_spec='${libname}${release}${shared_ext}$major'
12122
shlibpath_var=LD_LIBRARY_PATH
12123
hardcode_into_libs=yes
12124
if test "$with_gnu_ld" = yes; then
12125
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12126
shlibpath_overrides_runpath=no
12128
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12129
shlibpath_overrides_runpath=yes
12132
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12136
sys_lib_dlsearch_path_spec='/usr/lib'
12141
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12142
soname_spec='${libname}${release}${shared_ext}$major'
12143
shlibpath_var=LD_LIBRARY_PATH
12150
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12151
echo "${ECHO_T}$dynamic_linker" >&6
12152
test "$dynamic_linker" = no && can_build_shared=no
12154
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12155
if test "$GCC" = yes; then
12156
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12159
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12160
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12161
hardcode_action_CXX=
12162
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12163
test -n "$runpath_var_CXX" || \
12164
test "X$hardcode_automatic_CXX" = "Xyes" ; then
12166
# We can hardcode non-existant directories.
12167
if test "$hardcode_direct_CXX" != no &&
12168
# If the only mechanism to avoid hardcoding is shlibpath_var, we
12169
# have to relink, otherwise we might link with an installed library
12170
# when we should be linking with a yet-to-be-installed one
12171
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12172
test "$hardcode_minus_L_CXX" != no; then
12173
# Linking always hardcodes the temporary library directory.
12174
hardcode_action_CXX=relink
12176
# We can link without hardcoding, and we can hardcode nonexisting dirs.
12177
hardcode_action_CXX=immediate
12180
# We cannot hardcode anything, or else we can only hardcode existing
12182
hardcode_action_CXX=unsupported
12184
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12185
echo "${ECHO_T}$hardcode_action_CXX" >&6
12187
if test "$hardcode_action_CXX" = relink; then
12188
# Fast installation is not supported
12189
enable_fast_install=no
12190
elif test "$shlibpath_overrides_runpath" = yes ||
12191
test "$enable_shared" = no; then
12192
# Fast installation is not necessary
12193
enable_fast_install=needless
12197
# The else clause should only fire when bootstrapping the
12198
# libtool distribution, otherwise you forgot to ship ltmain.sh
12199
# with your package, and you will get complaints that there are
12200
# no rules to generate ltmain.sh.
12201
if test -f "$ltmain"; then
12202
# See if we are running on zsh, and set the options which allow our commands through
12203
# without removal of \ escapes.
12204
if test -n "${ZSH_VERSION+set}" ; then
12205
setopt NO_GLOB_SUBST
12207
# Now quote all the things that may contain metacharacters while being
12208
# careful not to overquote the AC_SUBSTed values. We take copies of the
12209
# variables and quote the copies for generation of the libtool script.
12210
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12212
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12213
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12214
deplibs_check_method reload_flag reload_cmds need_locks \
12215
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12216
lt_cv_sys_global_symbol_to_c_name_address \
12217
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12218
old_postinstall_cmds old_postuninstall_cmds \
12222
lt_prog_compiler_wl_CXX \
12223
lt_prog_compiler_pic_CXX \
12224
lt_prog_compiler_static_CXX \
12225
lt_prog_compiler_no_builtin_flag_CXX \
12226
export_dynamic_flag_spec_CXX \
12227
thread_safe_flag_spec_CXX \
12228
whole_archive_flag_spec_CXX \
12229
enable_shared_with_static_runtimes_CXX \
12230
old_archive_cmds_CXX \
12231
old_archive_from_new_cmds_CXX \
12232
predep_objects_CXX \
12233
postdep_objects_CXX \
12236
compiler_lib_search_path_CXX \
12238
archive_expsym_cmds_CXX \
12239
postinstall_cmds_CXX \
12240
postuninstall_cmds_CXX \
12241
old_archive_from_expsyms_cmds_CXX \
12242
allow_undefined_flag_CXX \
12243
no_undefined_flag_CXX \
12244
export_symbols_cmds_CXX \
12245
hardcode_libdir_flag_spec_CXX \
12246
hardcode_libdir_flag_spec_ld_CXX \
12247
hardcode_libdir_separator_CXX \
12248
hardcode_automatic_CXX \
12250
module_expsym_cmds_CXX \
12251
lt_cv_prog_compiler_c_o_CXX \
12252
exclude_expsyms_CXX \
12253
include_expsyms_CXX; do
12256
old_archive_cmds_CXX | \
12257
old_archive_from_new_cmds_CXX | \
12258
archive_cmds_CXX | \
12259
archive_expsym_cmds_CXX | \
12260
module_cmds_CXX | \
12261
module_expsym_cmds_CXX | \
12262
old_archive_from_expsyms_cmds_CXX | \
12263
export_symbols_cmds_CXX | \
12264
extract_expsyms_cmds | reload_cmds | finish_cmds | \
12265
postinstall_cmds | postuninstall_cmds | \
12266
old_postinstall_cmds | old_postuninstall_cmds | \
12267
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12268
# Double-quote double-evaled strings.
12269
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12272
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12278
*'\$0 --fallback-echo"')
12279
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12285
cat <<__EOF__ >> "$cfgfile"
12286
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
12288
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12290
# Shell to use when invoking shell scripts.
12293
# Whether or not to build shared libraries.
12294
build_libtool_libs=$enable_shared
12296
# Whether or not to build static libraries.
12297
build_old_libs=$enable_static
12299
# Whether or not to add -lc for building shared libraries.
12300
build_libtool_need_lc=$archive_cmds_need_lc_CXX
12302
# Whether or not to disallow shared libs when runtime libs are static
12303
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12305
# Whether or not to optimize for fast installation.
12306
fast_install=$enable_fast_install
12309
host_alias=$host_alias
12313
# The build system.
12314
build_alias=$build_alias
12318
# An echo program that does not interpret backslashes.
12323
AR_FLAGS=$lt_AR_FLAGS
12328
# LTCC compiler flags.
12329
LTCFLAGS=$lt_LTCFLAGS
12331
# A language-specific compiler.
12332
CC=$lt_compiler_CXX
12334
# Is the compiler the GNU C compiler?
12337
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
12338
gcc_ver=\`gcc -dumpversion\`
12343
# The linker used to build libraries.
12346
# Whether we need hard or soft links.
12349
# A BSD-compatible nm program.
12352
# A symbol stripping program
12355
# Used to examine libraries when file_magic_cmd begins "file"
12356
MAGIC_CMD=$MAGIC_CMD
12358
# Used on cygwin: DLL creation program.
12361
# Used on cygwin: object dumper.
12364
# Used on cygwin: assembler.
12367
# The name of the directory that contains temporary libtool files.
12370
# How to create reloadable object files.
12371
reload_flag=$lt_reload_flag
12372
reload_cmds=$lt_reload_cmds
12374
# How to pass a linker flag through the compiler.
12375
wl=$lt_lt_prog_compiler_wl_CXX
12377
# Object file suffix (normally "o").
12378
objext="$ac_objext"
12380
# Old archive suffix (normally "a").
12383
# Shared library suffix (normally ".so").
12384
shrext_cmds='$shrext_cmds'
12386
# Executable file suffix (normally "").
12389
# Additional compiler flags for building library objects.
12390
pic_flag=$lt_lt_prog_compiler_pic_CXX
12393
# What is the maximum length of a command?
12394
max_cmd_len=$lt_cv_sys_max_cmd_len
12396
# Does compiler simultaneously support -c and -o options?
12397
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12399
# Must we lock files when doing compilation?
12400
need_locks=$lt_need_locks
12402
# Do we need the lib prefix for modules?
12403
need_lib_prefix=$need_lib_prefix
12405
# Do we need a version for libraries?
12406
need_version=$need_version
12408
# Whether dlopen is supported.
12409
dlopen_support=$enable_dlopen
12411
# Whether dlopen of programs is supported.
12412
dlopen_self=$enable_dlopen_self
12414
# Whether dlopen of statically linked programs is supported.
12415
dlopen_self_static=$enable_dlopen_self_static
12417
# Compiler flag to prevent dynamic linking.
12418
link_static_flag=$lt_lt_prog_compiler_static_CXX
12420
# Compiler flag to turn off builtin functions.
12421
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12423
# Compiler flag to allow reflexive dlopens.
12424
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12426
# Compiler flag to generate shared objects directly from archives.
12427
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12429
# Compiler flag to generate thread-safe objects.
12430
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12432
# Library versioning type.
12433
version_type=$version_type
12435
# Format of library name prefix.
12436
libname_spec=$lt_libname_spec
12438
# List of archive names. First name is the real one, the rest are links.
12439
# The last name is the one that the linker finds with -lNAME.
12440
library_names_spec=$lt_library_names_spec
12442
# The coded name of the library, if different from the real name.
12443
soname_spec=$lt_soname_spec
12445
# Commands used to build and install an old-style archive.
12447
old_archive_cmds=$lt_old_archive_cmds_CXX
12448
old_postinstall_cmds=$lt_old_postinstall_cmds
12449
old_postuninstall_cmds=$lt_old_postuninstall_cmds
12451
# Create an old-style archive from a shared archive.
12452
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12454
# Create a temporary old-style archive to link instead of a shared archive.
12455
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12457
# Commands used to build and install a shared archive.
12458
archive_cmds=$lt_archive_cmds_CXX
12459
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12460
postinstall_cmds=$lt_postinstall_cmds
12461
postuninstall_cmds=$lt_postuninstall_cmds
12463
# Commands used to build a loadable module (assumed same as above if empty)
12464
module_cmds=$lt_module_cmds_CXX
12465
module_expsym_cmds=$lt_module_expsym_cmds_CXX
12467
# Commands to strip libraries.
12468
old_striplib=$lt_old_striplib
12469
striplib=$lt_striplib
12471
# Dependencies to place before the objects being linked to create a
12473
predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12475
# Dependencies to place after the objects being linked to create a
12477
postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12479
# Dependencies to place before the objects being linked to create a
12481
predeps=$lt_predeps_CXX
12483
# Dependencies to place after the objects being linked to create a
12485
postdeps=$lt_postdeps_CXX
12487
# The library search path used internally by the compiler when linking
12488
# a shared library.
12489
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12491
# Method to check whether dependent libraries are shared objects.
12492
deplibs_check_method=$lt_deplibs_check_method
12494
# Command to use when deplibs_check_method == file_magic.
12495
file_magic_cmd=$lt_file_magic_cmd
12497
# Flag that allows shared libraries with undefined symbols to be built.
12498
allow_undefined_flag=$lt_allow_undefined_flag_CXX
12500
# Flag that forces no undefined symbols.
12501
no_undefined_flag=$lt_no_undefined_flag_CXX
12503
# Commands used to finish a libtool library installation in a directory.
12504
finish_cmds=$lt_finish_cmds
12506
# Same as above, but a single script fragment to be evaled but not shown.
12507
finish_eval=$lt_finish_eval
12509
# Take the output of nm and produce a listing of raw symbols and C names.
12510
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12512
# Transform the output of nm in a proper C declaration
12513
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12515
# Transform the output of nm in a C name address pair
12516
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12518
# This is the shared library runtime path variable.
12519
runpath_var=$runpath_var
12521
# This is the shared library path variable.
12522
shlibpath_var=$shlibpath_var
12524
# Is shlibpath searched before the hard-coded library search path?
12525
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12527
# How to hardcode a shared library path into an executable.
12528
hardcode_action=$hardcode_action_CXX
12530
# Whether we should hardcode library paths into libraries.
12531
hardcode_into_libs=$hardcode_into_libs
12533
# Flag to hardcode \$libdir into a binary during linking.
12534
# This must work even if \$libdir does not exist.
12535
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12537
# If ld is used when linking, flag to hardcode \$libdir into
12538
# a binary during linking. This must work even if \$libdir does
12540
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12542
# Whether we need a single -rpath flag with a separated argument.
12543
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12545
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12546
# resulting binary.
12547
hardcode_direct=$hardcode_direct_CXX
12549
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12550
# resulting binary.
12551
hardcode_minus_L=$hardcode_minus_L_CXX
12553
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12554
# the resulting binary.
12555
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12557
# Set to yes if building a shared library automatically hardcodes DIR into the library
12558
# and all subsequent libraries and executables linked against it.
12559
hardcode_automatic=$hardcode_automatic_CXX
12561
# Variables whose values should be saved in libtool wrapper scripts and
12562
# restored at relink time.
12563
variables_saved_for_relink="$variables_saved_for_relink"
12565
# Whether libtool must link a program against all its dependency libraries.
12566
link_all_deplibs=$link_all_deplibs_CXX
12568
# Compile-time system search path for libraries
12569
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
12571
# Run-time system search path for libraries
12572
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12574
# Fix the shell variable \$srcfile for the compiler.
12575
fix_srcfile_path="$fix_srcfile_path_CXX"
12577
# Set to yes if exported symbols are required.
12578
always_export_symbols=$always_export_symbols_CXX
12580
# The commands to list exported symbols.
12581
export_symbols_cmds=$lt_export_symbols_cmds_CXX
12583
# The commands to extract the exported symbol list from a shared archive.
12584
extract_expsyms_cmds=$lt_extract_expsyms_cmds
12586
# Symbols that should not be listed in the preloaded symbols.
12587
exclude_expsyms=$lt_exclude_expsyms_CXX
12589
# Symbols that must always be exported.
12590
include_expsyms=$lt_include_expsyms_CXX
12592
# ### END LIBTOOL TAG CONFIG: $tagname
12598
# If there is no Makefile yet, we rely on a make rule to execute
12599
# `config.status --recheck' to rerun these tests and create the
12600
# libtool script then.
12601
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12602
if test -f "$ltmain_in"; then
12603
test -f Makefile && make "$ltmain"
12609
ac_cpp='$CPP $CPPFLAGS'
12610
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12611
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12612
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12618
with_gnu_ldcxx=$with_gnu_ld
12619
with_gnu_ld=$lt_save_with_gnu_ld
12620
lt_cv_path_LDCXX=$lt_cv_path_LD
12621
lt_cv_path_LD=$lt_save_path_LD
12622
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12623
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12631
if test -n "$F77" && test "X$F77" != "Xno"; then
12634
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12635
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12636
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12639
archive_cmds_need_lc_F77=no
12640
allow_undefined_flag_F77=
12641
always_export_symbols_F77=no
12642
archive_expsym_cmds_F77=
12643
export_dynamic_flag_spec_F77=
12644
hardcode_direct_F77=no
12645
hardcode_libdir_flag_spec_F77=
12646
hardcode_libdir_flag_spec_ld_F77=
12647
hardcode_libdir_separator_F77=
12648
hardcode_minus_L_F77=no
12649
hardcode_automatic_F77=no
12651
module_expsym_cmds_F77=
12652
link_all_deplibs_F77=unknown
12653
old_archive_cmds_F77=$old_archive_cmds
12654
no_undefined_flag_F77=
12655
whole_archive_flag_spec_F77=
12656
enable_shared_with_static_runtimes_F77=no
12658
# Source file extension for f77 test sources.
12661
# Object file extension for compiled f77 test sources.
12665
# Code to be used in simple compile tests
12666
lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12668
# Code to be used in simple link tests
12669
lt_simple_link_test_code=" program t\n end\n"
12671
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12673
# If no C compiler was specified, use CC.
12676
# If no C compiler flags were specified, use CFLAGS.
12677
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12679
# Allow CC to be a program name with arguments.
12683
# save warnings/boilerplate of simple test code
12684
ac_outfile=conftest.$ac_objext
12685
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
12686
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12687
_lt_compiler_boilerplate=`cat conftest.err`
12690
ac_outfile=conftest.$ac_objext
12691
printf "$lt_simple_link_test_code" >conftest.$ac_ext
12692
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12693
_lt_linker_boilerplate=`cat conftest.err`
12697
# Allow CC to be a program name with arguments.
12702
for cc_temp in $compiler""; do
12704
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12705
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12710
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12713
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12714
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12715
echo "$as_me:$LINENO: result: $can_build_shared" >&5
12716
echo "${ECHO_T}$can_build_shared" >&6
12718
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12719
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12720
test "$can_build_shared" = "no" && enable_shared=no
12722
# On AIX, shared libraries and static libraries use the same namespace, and
12723
# are all built from PIC.
12726
test "$enable_shared" = yes && enable_static=no
12727
if test -n "$RANLIB"; then
12728
archive_cmds="$archive_cmds~\$RANLIB \$lib"
12729
postinstall_cmds='$RANLIB $lib'
12733
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12734
test "$enable_shared" = yes && enable_static=no
12738
echo "$as_me:$LINENO: result: $enable_shared" >&5
12739
echo "${ECHO_T}$enable_shared" >&6
12741
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12742
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12743
# Make sure either enable_shared or enable_static is yes.
12744
test "$enable_shared" = yes || enable_static=yes
12745
echo "$as_me:$LINENO: result: $enable_static" >&5
12746
echo "${ECHO_T}$enable_static" >&6
12751
lt_prog_compiler_wl_F77=
12752
lt_prog_compiler_pic_F77=
12753
lt_prog_compiler_static_F77=
12755
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12756
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12758
if test "$GCC" = yes; then
12759
lt_prog_compiler_wl_F77='-Wl,'
12760
lt_prog_compiler_static_F77='-static'
12764
# All AIX code is PIC.
12765
if test "$host_cpu" = ia64; then
12766
# AIX 5 now supports IA64 processor
12767
lt_prog_compiler_static_F77='-Bstatic'
12772
# FIXME: we need at least 68020 code to build shared libraries, but
12773
# adding the `-m68020' flag to GCC prevents building anything better,
12775
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12778
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12779
# PIC is the default for these OSes.
12782
mingw* | pw32* | os2*)
12783
# This hack is so that the source file can tell whether it is being
12784
# built for inclusion in a dll (and should export symbols for example).
12785
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12788
darwin* | rhapsody*)
12789
# PIC is the default on this platform
12790
# Common symbols not allowed in MH_DYLIB files
12791
lt_prog_compiler_pic_F77='-fno-common'
12795
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
12796
# Instead, we relocate shared libraries at runtime.
12800
# Just because we use GCC doesn't mean we suddenly get shared libraries
12801
# on systems that don't support them.
12802
lt_prog_compiler_can_build_shared_F77=no
12807
if test -d /usr/nec; then
12808
lt_prog_compiler_pic_F77=-Kconform_pic
12813
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12814
# not for PA HP-UX.
12820
lt_prog_compiler_pic_F77='-fPIC'
12826
lt_prog_compiler_pic_F77='-fPIC'
12830
# PORTME Check for flag to pass linker flags through the system compiler.
12833
lt_prog_compiler_wl_F77='-Wl,'
12834
if test "$host_cpu" = ia64; then
12835
# AIX 5 now supports IA64 processor
12836
lt_prog_compiler_static_F77='-Bstatic'
12838
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12842
# PIC is the default on this platform
12843
# Common symbols not allowed in MH_DYLIB files
12844
case $cc_basename in
12846
lt_prog_compiler_pic_F77='-qnocommon'
12847
lt_prog_compiler_wl_F77='-Wl,'
12852
mingw* | pw32* | os2*)
12853
# This hack is so that the source file can tell whether it is being
12854
# built for inclusion in a dll (and should export symbols for example).
12855
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12858
hpux9* | hpux10* | hpux11*)
12859
lt_prog_compiler_wl_F77='-Wl,'
12860
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12861
# not for PA HP-UX.
12867
lt_prog_compiler_pic_F77='+Z'
12870
# Is there a better lt_prog_compiler_static that works with the bundled CC?
12871
lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12874
irix5* | irix6* | nonstopux*)
12875
lt_prog_compiler_wl_F77='-Wl,'
12876
# PIC (with -KPIC) is the default.
12877
lt_prog_compiler_static_F77='-non_shared'
12881
lt_prog_compiler_pic_F77='-KPIC'
12882
lt_prog_compiler_static_F77='-Bstatic'
12886
case $cc_basename in
12888
lt_prog_compiler_wl_F77='-Wl,'
12889
lt_prog_compiler_pic_F77='-KPIC'
12890
lt_prog_compiler_static_F77='-static'
12892
pgcc* | pgf77* | pgf90* | pgf95*)
12893
# Portland Group compilers (*not* the Pentium gcc compiler,
12894
# which looks to be a dead project)
12895
lt_prog_compiler_wl_F77='-Wl,'
12896
lt_prog_compiler_pic_F77='-fpic'
12897
lt_prog_compiler_static_F77='-Bstatic'
12900
lt_prog_compiler_wl_F77='-Wl,'
12901
# All Alpha code is PIC.
12902
lt_prog_compiler_static_F77='-non_shared'
12907
osf3* | osf4* | osf5*)
12908
lt_prog_compiler_wl_F77='-Wl,'
12909
# All OSF/1 code is PIC.
12910
lt_prog_compiler_static_F77='-non_shared'
12914
lt_prog_compiler_pic_F77='-KPIC'
12915
lt_prog_compiler_static_F77='-Bstatic'
12916
case $cc_basename in
12917
f77* | f90* | f95*)
12918
lt_prog_compiler_wl_F77='-Qoption ld ';;
12920
lt_prog_compiler_wl_F77='-Wl,';;
12925
lt_prog_compiler_wl_F77='-Qoption ld '
12926
lt_prog_compiler_pic_F77='-PIC'
12927
lt_prog_compiler_static_F77='-Bstatic'
12930
sysv4 | sysv4.2uw2* | sysv4.3*)
12931
lt_prog_compiler_wl_F77='-Wl,'
12932
lt_prog_compiler_pic_F77='-KPIC'
12933
lt_prog_compiler_static_F77='-Bstatic'
12937
if test -d /usr/nec ;then
12938
lt_prog_compiler_pic_F77='-Kconform_pic'
12939
lt_prog_compiler_static_F77='-Bstatic'
12943
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12944
lt_prog_compiler_wl_F77='-Wl,'
12945
lt_prog_compiler_pic_F77='-KPIC'
12946
lt_prog_compiler_static_F77='-Bstatic'
12950
lt_prog_compiler_wl_F77='-Wl,'
12951
lt_prog_compiler_can_build_shared_F77=no
12955
lt_prog_compiler_pic_F77='-pic'
12956
lt_prog_compiler_static_F77='-Bstatic'
12960
lt_prog_compiler_can_build_shared_F77=no
12965
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12966
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
12969
# Check to make sure the PIC flag actually works.
12971
if test -n "$lt_prog_compiler_pic_F77"; then
12973
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
12974
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
12975
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
12976
echo $ECHO_N "(cached) $ECHO_C" >&6
12978
lt_prog_compiler_pic_works_F77=no
12979
ac_outfile=conftest.$ac_objext
12980
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12981
lt_compiler_flag="$lt_prog_compiler_pic_F77"
12982
# Insert the option either (1) after the last *FLAGS variable, or
12983
# (2) before a word containing "conftest.", or (3) at the end.
12984
# Note that $ac_compile itself does not contain backslashes and begins
12985
# with a dollar sign (not a hyphen), so the echo should work correctly.
12986
# The option is referenced via a variable to avoid confusing sed.
12987
lt_compile=`echo "$ac_compile" | $SED \
12988
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12989
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12990
-e 's:$: $lt_compiler_flag:'`
12991
(eval echo "\"\$as_me:12991: $lt_compile\"" >&5)
12992
(eval "$lt_compile" 2>conftest.err)
12994
cat conftest.err >&5
12995
echo "$as_me:12995: \$? = $ac_status" >&5
12996
if (exit $ac_status) && test -s "$ac_outfile"; then
12997
# The compiler can only warn and ignore the option if not recognized
12998
# So say no if there are warnings other than the usual output.
12999
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13000
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13001
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13002
lt_prog_compiler_pic_works_F77=yes
13008
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13009
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13011
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13012
case $lt_prog_compiler_pic_F77 in
13014
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13017
lt_prog_compiler_pic_F77=
13018
lt_prog_compiler_can_build_shared_F77=no
13023
# For platforms which do not support PIC, -DPIC is meaningless:
13025
lt_prog_compiler_pic_F77=
13028
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13033
# Check to make sure the static flag actually works.
13035
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13036
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13037
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13038
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13039
echo $ECHO_N "(cached) $ECHO_C" >&6
13041
lt_prog_compiler_static_works_F77=no
13042
save_LDFLAGS="$LDFLAGS"
13043
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13044
printf "$lt_simple_link_test_code" > conftest.$ac_ext
13045
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13046
# The linker can only warn and ignore the option if not recognized
13047
# So say no if there are warnings
13048
if test -s conftest.err; then
13049
# Append any errors to the config.log.
13050
cat conftest.err 1>&5
13051
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13052
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13053
if diff conftest.exp conftest.er2 >/dev/null; then
13054
lt_prog_compiler_static_works_F77=yes
13057
lt_prog_compiler_static_works_F77=yes
13061
LDFLAGS="$save_LDFLAGS"
13064
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13065
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13067
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
13070
lt_prog_compiler_static_F77=
13074
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13075
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13076
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13077
echo $ECHO_N "(cached) $ECHO_C" >&6
13079
lt_cv_prog_compiler_c_o_F77=no
13080
$rm -r conftest 2>/dev/null
13084
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13086
lt_compiler_flag="-o out/conftest2.$ac_objext"
13087
# Insert the option either (1) after the last *FLAGS variable, or
13088
# (2) before a word containing "conftest.", or (3) at the end.
13089
# Note that $ac_compile itself does not contain backslashes and begins
13090
# with a dollar sign (not a hyphen), so the echo should work correctly.
13091
lt_compile=`echo "$ac_compile" | $SED \
13092
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13093
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13094
-e 's:$: $lt_compiler_flag:'`
13095
(eval echo "\"\$as_me:13095: $lt_compile\"" >&5)
13096
(eval "$lt_compile" 2>out/conftest.err)
13098
cat out/conftest.err >&5
13099
echo "$as_me:13099: \$? = $ac_status" >&5
13100
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13102
# The compiler can only warn and ignore the option if not recognized
13103
# So say no if there are warnings
13104
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13105
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13106
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13107
lt_cv_prog_compiler_c_o_F77=yes
13112
# SGI C++ compiler will create directory out/ii_files/ for
13113
# template instantiation
13114
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13115
$rm out/* && rmdir out
13121
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13122
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13125
hard_links="nottested"
13126
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13127
# do not overwrite the value of need_locks provided by the user
13128
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13129
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13132
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13134
ln conftest.a conftest.b 2>&5 || hard_links=no
13135
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13136
echo "$as_me:$LINENO: result: $hard_links" >&5
13137
echo "${ECHO_T}$hard_links" >&6
13138
if test "$hard_links" = no; then
13139
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13140
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13147
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13148
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13151
allow_undefined_flag_F77=
13152
enable_shared_with_static_runtimes_F77=no
13154
archive_expsym_cmds_F77=
13155
old_archive_From_new_cmds_F77=
13156
old_archive_from_expsyms_cmds_F77=
13157
export_dynamic_flag_spec_F77=
13158
whole_archive_flag_spec_F77=
13159
thread_safe_flag_spec_F77=
13160
hardcode_libdir_flag_spec_F77=
13161
hardcode_libdir_flag_spec_ld_F77=
13162
hardcode_libdir_separator_F77=
13163
hardcode_direct_F77=no
13164
hardcode_minus_L_F77=no
13165
hardcode_shlibpath_var_F77=unsupported
13166
link_all_deplibs_F77=unknown
13167
hardcode_automatic_F77=no
13169
module_expsym_cmds_F77=
13170
always_export_symbols_F77=no
13171
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13172
# include_expsyms should be a list of space-separated symbols to be *always*
13173
# included in the symbol list
13174
include_expsyms_F77=
13175
# exclude_expsyms can be an extended regexp of symbols to exclude
13176
# it will be wrapped by ` (' and `)$', so one must not match beginning or
13177
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13178
# as well as any symbol that contains `d'.
13179
exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13180
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13181
# platforms (ab)use it in PIC code, but their linkers get confused if
13182
# the symbol is explicitly referenced. Since portable code cannot
13183
# rely on this symbol name, it's probably fine to never include it in
13184
# preloaded symbol tables.
13185
extract_expsyms_cmds=
13186
# Just being paranoid about ensuring that cc_basename is set.
13187
for cc_temp in $compiler""; do
13189
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13190
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13195
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13198
cygwin* | mingw* | pw32*)
13199
# FIXME: the MSVC++ port hasn't been tested in a loooong time
13200
# When not using gcc, we currently assume that we are using
13201
# Microsoft Visual C++.
13202
if test "$GCC" != yes; then
13207
# we just hope/assume this is gcc and not c89 (= MSVC++)
13216
if test "$with_gnu_ld" = yes; then
13217
# If archive_cmds runs LD, not CC, wlarc should be empty
13220
# Set some defaults for GNU ld with shared library support. These
13221
# are reset later if shared libraries are not supported. Putting them
13222
# here allows them to be overridden if necessary.
13223
runpath_var=LD_RUN_PATH
13224
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13225
export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13226
# ancient GNU ld didn't support --whole-archive et. al.
13227
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13228
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13230
whole_archive_flag_spec_F77=
13232
supports_anon_versioning=no
13233
case `$LD -v 2>/dev/null` in
13234
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13235
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13236
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13237
*\ 2.11.*) ;; # other 2.11 versions
13238
*) supports_anon_versioning=yes ;;
13241
# See if GNU ld supports shared libraries.
13243
aix3* | aix4* | aix5*)
13244
# On AIX/PPC, the GNU linker is very broken
13245
if test "$host_cpu" != ia64; then
13249
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
13250
*** to be unable to reliably create shared libraries on AIX.
13251
*** Therefore, libtool is disabling shared libraries support. If you
13252
*** really care for shared libraries, you may want to modify your PATH
13253
*** so that a non-GNU linker is found, and then restart.
13260
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)'
13261
hardcode_libdir_flag_spec_F77='-L$libdir'
13262
hardcode_minus_L_F77=yes
13264
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13265
# that the semantics of dynamic libraries on AmigaOS, at least up
13266
# to version 4, is to share data among multiple programs linked
13267
# with the same dynamic library. Since this doesn't match the
13268
# behavior of shared libraries on other platforms, we can't use
13274
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13275
allow_undefined_flag_F77=unsupported
13276
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13277
# support --undefined. This deserves some investigation. FIXME
13278
archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13284
cygwin* | mingw* | pw32*)
13285
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13286
# as there is no search path for DLLs.
13287
hardcode_libdir_flag_spec_F77='-L$libdir'
13288
allow_undefined_flag_F77=unsupported
13289
always_export_symbols_F77=no
13290
enable_shared_with_static_runtimes_F77=yes
13291
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13293
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13294
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13295
# If the export-symbols file already is a .def file (1st line
13296
# is EXPORTS), use it as is; otherwise, prepend...
13297
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13298
cp $export_symbols $output_objdir/$soname.def;
13300
echo EXPORTS > $output_objdir/$soname.def;
13301
cat $export_symbols >> $output_objdir/$soname.def;
13303
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13310
hardcode_direct_F77=no
13311
hardcode_shlibpath_var_F77=no
13312
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13313
export_dynamic_flag_spec_F77='${wl}-E'
13314
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13315
# Instead, shared libraries are loaded at an image base (0x10000000 by
13316
# default) and relocated if they conflict, which is a slow very memory
13317
# consuming and fragmenting process. To avoid this, we pick a random,
13318
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13319
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
13320
archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13321
archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13325
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13327
case $cc_basename,$host_cpu in
13328
pgcc*) # Portland Group C compiler
13329
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'
13330
tmp_addflag=' $pic_flag'
13332
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
13333
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'
13334
tmp_addflag=' $pic_flag -Mnomain' ;;
13335
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13336
tmp_addflag=' -i_dynamic' ;;
13337
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13338
tmp_addflag=' -i_dynamic -nofor_main' ;;
13339
ifc* | ifort*) # Intel Fortran compiler
13340
tmp_addflag=' -nofor_main' ;;
13342
archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13344
if test $supports_anon_versioning = yes; then
13345
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13346
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13347
$echo "local: *; };" >> $output_objdir/$libname.ver~
13348
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13356
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13357
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13360
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13361
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13366
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13370
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
13371
*** create shared libraries on Solaris systems. Therefore, libtool
13372
*** is disabling shared libraries support. We urge you to upgrade GNU
13373
*** binutils to release 2.9.1 or newer. Another option is to modify
13374
*** your PATH or compiler configuration so that the native linker is
13375
*** used, and then restart.
13378
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13379
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13380
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13386
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13387
case `$LD -v 2>&1` in
13388
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13392
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13393
*** reliably create shared libraries on SCO systems. Therefore, libtool
13394
*** is disabling shared libraries support. We urge you to upgrade GNU
13395
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13396
*** your PATH or compiler configuration so that the native linker is
13397
*** used, and then restart.
13402
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13403
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13404
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13405
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13414
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13416
hardcode_direct_F77=yes
13417
hardcode_shlibpath_var_F77=no
13421
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13422
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13423
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13430
if test "$ld_shlibs_F77" = no; then
13432
hardcode_libdir_flag_spec_F77=
13433
export_dynamic_flag_spec_F77=
13434
whole_archive_flag_spec_F77=
13437
# PORTME fill in a description of your system's linker (not GNU ld)
13440
allow_undefined_flag_F77=unsupported
13441
always_export_symbols_F77=yes
13442
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'
13443
# Note: this linker hardcodes the directories in LIBPATH if there
13444
# are no directories specified by -L.
13445
hardcode_minus_L_F77=yes
13446
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13447
# Neither direct hardcoding nor static linking is supported with a
13449
hardcode_direct_F77=unsupported
13454
if test "$host_cpu" = ia64; then
13455
# On IA64, the linker does run time linking by default, so we don't
13456
# have to do anything special.
13457
aix_use_runtimelinking=no
13458
exp_sym_flag='-Bexport'
13461
# If we're using GNU nm, then we don't want the "-C" option.
13462
# -C means demangle to AIX nm, but means don't demangle with GNU nm
13463
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13464
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'
13466
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'
13468
aix_use_runtimelinking=no
13470
# Test if we are trying to use run time linking or normal
13471
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
13472
# need to do runtime linking.
13473
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13474
for ld_flag in $LDFLAGS; do
13475
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13476
aix_use_runtimelinking=yes
13483
exp_sym_flag='-bexport'
13484
no_entry_flag='-bnoentry'
13487
# When large executables or shared objects are built, AIX ld can
13488
# have problems creating the table of contents. If linking a library
13489
# or program results in "error TOC overflow" add -mminimal-toc to
13490
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13491
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13493
archive_cmds_F77=''
13494
hardcode_direct_F77=yes
13495
hardcode_libdir_separator_F77=':'
13496
link_all_deplibs_F77=yes
13498
if test "$GCC" = yes; then
13499
case $host_os in aix4.[012]|aix4.[012].*)
13500
# We only want to do this on AIX 4.2 and lower, the check
13501
# below for broken collect2 doesn't work under 4.3+
13502
collect2name=`${CC} -print-prog-name=collect2`
13503
if test -f "$collect2name" && \
13504
strings "$collect2name" | grep resolve_lib_name >/dev/null
13506
# We have reworked collect2
13507
hardcode_direct_F77=yes
13509
# We have old collect2
13510
hardcode_direct_F77=unsupported
13511
# It fails to find uninstalled libraries when the uninstalled
13512
# path is not listed in the libpath. Setting hardcode_minus_L
13513
# to unsupported forces relinking
13514
hardcode_minus_L_F77=yes
13515
hardcode_libdir_flag_spec_F77='-L$libdir'
13516
hardcode_libdir_separator_F77=
13520
shared_flag='-shared'
13521
if test "$aix_use_runtimelinking" = yes; then
13522
shared_flag="$shared_flag "'${wl}-G'
13526
if test "$host_cpu" = ia64; then
13527
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13528
# chokes on -Wl,-G. The following line is correct:
13531
if test "$aix_use_runtimelinking" = yes; then
13532
shared_flag='${wl}-G'
13534
shared_flag='${wl}-bM:SRE'
13539
# It seems that -bexpall does not export symbols beginning with
13540
# underscore (_), so it is better to generate a list of symbols to export.
13541
always_export_symbols_F77=yes
13542
if test "$aix_use_runtimelinking" = yes; then
13543
# Warning - without using the other runtime loading flags (-brtl),
13544
# -berok will link without error, but may produce a broken library.
13545
allow_undefined_flag_F77='-berok'
13546
# Determine the default libpath from the value encoded in an empty executable.
13547
cat >conftest.$ac_ext <<_ACEOF
13552
rm -f conftest.$ac_objext conftest$ac_exeext
13553
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13554
(eval $ac_link) 2>conftest.er1
13556
grep -v '^ *+' conftest.er1 >conftest.err
13558
cat conftest.err >&5
13559
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560
(exit $ac_status); } &&
13561
{ ac_try='test -z "$ac_f77_werror_flag"
13562
|| test ! -s conftest.err'
13563
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13564
(eval $ac_try) 2>&5
13566
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13567
(exit $ac_status); }; } &&
13568
{ ac_try='test -s conftest$ac_exeext'
13569
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13570
(eval $ac_try) 2>&5
13572
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573
(exit $ac_status); }; }; then
13575
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13577
# Check for a 64-bit object if we didn't find anything.
13578
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; }
13581
echo "$as_me: failed program was:" >&5
13582
sed 's/^/| /' conftest.$ac_ext >&5
13585
rm -f conftest.err conftest.$ac_objext \
13586
conftest$ac_exeext conftest.$ac_ext
13587
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13589
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13590
archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13592
if test "$host_cpu" = ia64; then
13593
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13594
allow_undefined_flag_F77="-z nodefs"
13595
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13597
# Determine the default libpath from the value encoded in an empty executable.
13598
cat >conftest.$ac_ext <<_ACEOF
13603
rm -f conftest.$ac_objext conftest$ac_exeext
13604
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13605
(eval $ac_link) 2>conftest.er1
13607
grep -v '^ *+' conftest.er1 >conftest.err
13609
cat conftest.err >&5
13610
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611
(exit $ac_status); } &&
13612
{ ac_try='test -z "$ac_f77_werror_flag"
13613
|| test ! -s conftest.err'
13614
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13615
(eval $ac_try) 2>&5
13617
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618
(exit $ac_status); }; } &&
13619
{ ac_try='test -s conftest$ac_exeext'
13620
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13621
(eval $ac_try) 2>&5
13623
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624
(exit $ac_status); }; }; then
13626
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13628
# Check for a 64-bit object if we didn't find anything.
13629
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; }
13632
echo "$as_me: failed program was:" >&5
13633
sed 's/^/| /' conftest.$ac_ext >&5
13636
rm -f conftest.err conftest.$ac_objext \
13637
conftest$ac_exeext conftest.$ac_ext
13638
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13640
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13641
# Warning - without using the other run time loading flags,
13642
# -berok will link without error, but may produce a broken library.
13643
no_undefined_flag_F77=' ${wl}-bernotok'
13644
allow_undefined_flag_F77=' ${wl}-berok'
13645
# Exported symbols can be pulled into shared objects from archives
13646
whole_archive_flag_spec_F77='$convenience'
13647
archive_cmds_need_lc_F77=yes
13648
# This is similar to how AIX traditionally builds its shared libraries.
13649
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13655
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)'
13656
hardcode_libdir_flag_spec_F77='-L$libdir'
13657
hardcode_minus_L_F77=yes
13658
# see comment about different semantics on the GNU ld section
13663
export_dynamic_flag_spec_F77=-rdynamic
13666
cygwin* | mingw* | pw32*)
13667
# When not using gcc, we currently assume that we are using
13668
# Microsoft Visual C++.
13669
# hardcode_libdir_flag_spec is actually meaningless, as there is
13670
# no search path for DLLs.
13671
hardcode_libdir_flag_spec_F77=' '
13672
allow_undefined_flag_F77=unsupported
13673
# Tell ltmain to make .lib files, not .a files.
13675
# Tell ltmain to make .dll files, not .so files.
13677
# FIXME: Setting linknames here is a bad hack.
13678
archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13679
# The linker will automatically build a .lib file if we build a DLL.
13680
old_archive_From_new_cmds_F77='true'
13681
# FIXME: Should let the user specify the lib program.
13682
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13683
fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
13684
enable_shared_with_static_runtimes_F77=yes
13687
darwin* | rhapsody*)
13689
rhapsody* | darwin1.[012])
13690
allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
13693
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13694
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13696
case ${MACOSX_DEPLOYMENT_TARGET} in
13698
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13701
allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
13707
archive_cmds_need_lc_F77=no
13708
hardcode_direct_F77=no
13709
hardcode_automatic_F77=yes
13710
hardcode_shlibpath_var_F77=unsupported
13711
whole_archive_flag_spec_F77=''
13712
link_all_deplibs_F77=yes
13713
if test "$GCC" = yes ; then
13714
output_verbose_link_cmd='echo'
13715
archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13716
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13717
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13718
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}'
13719
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}'
13721
case $cc_basename in
13723
output_verbose_link_cmd='echo'
13724
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
13725
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13726
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13727
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}'
13728
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}'
13738
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13739
hardcode_libdir_flag_spec_F77='-L$libdir'
13740
hardcode_shlibpath_var_F77=no
13747
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13748
# support. Future versions do this automatically, but an explicit c++rt0.o
13749
# does not break anything, and helps significantly (at the cost of a little
13752
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13753
hardcode_libdir_flag_spec_F77='-R$libdir'
13754
hardcode_direct_F77=yes
13755
hardcode_shlibpath_var_F77=no
13758
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
13760
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13761
hardcode_direct_F77=yes
13762
hardcode_minus_L_F77=yes
13763
hardcode_shlibpath_var_F77=no
13766
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13767
freebsd* | kfreebsd*-gnu | dragonfly*)
13768
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13769
hardcode_libdir_flag_spec_F77='-R$libdir'
13770
hardcode_direct_F77=yes
13771
hardcode_shlibpath_var_F77=no
13775
if test "$GCC" = yes; then
13776
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'
13778
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'
13780
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13781
hardcode_libdir_separator_F77=:
13782
hardcode_direct_F77=yes
13784
# hardcode_minus_L: Not really in the search PATH,
13785
# but as the default location of the library.
13786
hardcode_minus_L_F77=yes
13787
export_dynamic_flag_spec_F77='${wl}-E'
13791
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13792
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13794
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13796
if test "$with_gnu_ld" = no; then
13797
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13798
hardcode_libdir_separator_F77=:
13800
hardcode_direct_F77=yes
13801
export_dynamic_flag_spec_F77='${wl}-E'
13803
# hardcode_minus_L: Not really in the search PATH,
13804
# but as the default location of the library.
13805
hardcode_minus_L_F77=yes
13810
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13813
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13816
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13819
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13825
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13828
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13831
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13835
if test "$with_gnu_ld" = no; then
13836
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13837
hardcode_libdir_separator_F77=:
13841
hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13842
hardcode_direct_F77=no
13843
hardcode_shlibpath_var_F77=no
13846
hardcode_direct_F77=yes
13847
export_dynamic_flag_spec_F77='${wl}-E'
13849
# hardcode_minus_L: Not really in the search PATH,
13850
# but as the default location of the library.
13851
hardcode_minus_L_F77=yes
13857
irix5* | irix6* | nonstopux*)
13858
if test "$GCC" = yes; then
13859
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'
13861
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'
13862
hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13864
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13865
hardcode_libdir_separator_F77=:
13866
link_all_deplibs_F77=yes
13870
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13871
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13873
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13875
hardcode_libdir_flag_spec_F77='-R$libdir'
13876
hardcode_direct_F77=yes
13877
hardcode_shlibpath_var_F77=no
13881
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13882
hardcode_direct_F77=yes
13883
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13884
hardcode_libdir_separator_F77=:
13885
hardcode_shlibpath_var_F77=no
13889
hardcode_direct_F77=yes
13890
hardcode_shlibpath_var_F77=no
13891
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13892
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13893
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13894
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13895
export_dynamic_flag_spec_F77='${wl}-E'
13898
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13899
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13900
hardcode_libdir_flag_spec_F77='-R$libdir'
13903
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13904
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13911
hardcode_libdir_flag_spec_F77='-L$libdir'
13912
hardcode_minus_L_F77=yes
13913
allow_undefined_flag_F77=unsupported
13914
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'
13915
old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13919
if test "$GCC" = yes; then
13920
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13921
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'
13923
allow_undefined_flag_F77=' -expect_unresolved \*'
13924
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'
13926
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13927
hardcode_libdir_separator_F77=:
13930
osf4* | osf5*) # as osf3* with the addition of -msym flag
13931
if test "$GCC" = yes; then
13932
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13933
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'
13934
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13936
allow_undefined_flag_F77=' -expect_unresolved \*'
13937
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'
13938
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~
13939
$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'
13941
# Both c and cxx compiler support -rpath directly
13942
hardcode_libdir_flag_spec_F77='-rpath $libdir'
13944
hardcode_libdir_separator_F77=:
13948
no_undefined_flag_F77=' -z text'
13949
if test "$GCC" = yes; then
13951
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13952
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13953
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13956
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13957
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13958
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13960
hardcode_libdir_flag_spec_F77='-R$libdir'
13961
hardcode_shlibpath_var_F77=no
13963
solaris2.[0-5] | solaris2.[0-5].*) ;;
13965
# The compiler driver will combine linker options so we
13966
# cannot just pass the convience library names through
13967
# without $wl, iff we do not link with $LD.
13968
# Luckily, gcc supports the same syntax we need for Sun Studio.
13969
# Supported since Solaris 2.6 (maybe 2.5.1?)
13972
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13974
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' ;;
13977
link_all_deplibs_F77=yes
13981
if test "x$host_vendor" = xsequent; then
13982
# Use $CC to link under sequent, because it throws in some extra .o
13983
# files that make .init and .fini sections work.
13984
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13986
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13988
hardcode_libdir_flag_spec_F77='-L$libdir'
13989
hardcode_direct_F77=yes
13990
hardcode_minus_L_F77=yes
13991
hardcode_shlibpath_var_F77=no
13995
case $host_vendor in
13997
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13998
hardcode_direct_F77=yes # is this really true???
14001
## LD is ld it makes a PLAMLIB
14002
## CC just makes a GrossModule.
14003
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14004
reload_cmds_F77='$CC -r -o $output$reload_objs'
14005
hardcode_direct_F77=no
14008
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14009
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
14012
runpath_var='LD_RUN_PATH'
14013
hardcode_shlibpath_var_F77=no
14017
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14018
hardcode_shlibpath_var_F77=no
14019
export_dynamic_flag_spec_F77='-Bexport'
14023
if test -d /usr/nec; then
14024
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14025
hardcode_shlibpath_var_F77=no
14026
runpath_var=LD_RUN_PATH
14027
hardcode_runpath_var=yes
14032
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
14033
no_undefined_flag_F77='${wl}-z,text'
14034
archive_cmds_need_lc_F77=no
14035
hardcode_shlibpath_var_F77=no
14036
runpath_var='LD_RUN_PATH'
14038
if test "$GCC" = yes; then
14039
archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14040
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14042
archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14043
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14047
sysv5* | sco3.2v5* | sco5v6*)
14048
# Note: We can NOT use -z defs as we might desire, because we do not
14049
# link with -lc, and that would cause any symbols used from libc to
14050
# always be unresolved, which means just about no library would
14051
# ever link correctly. If we're not using GNU ld we use -z text
14052
# though, which does catch some bad symbols but isn't as heavy-handed
14054
no_undefined_flag_F77='${wl}-z,text'
14055
allow_undefined_flag_F77='${wl}-z,nodefs'
14056
archive_cmds_need_lc_F77=no
14057
hardcode_shlibpath_var_F77=no
14058
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14059
hardcode_libdir_separator_F77=':'
14060
link_all_deplibs_F77=yes
14061
export_dynamic_flag_spec_F77='${wl}-Bexport'
14062
runpath_var='LD_RUN_PATH'
14064
if test "$GCC" = yes; then
14065
archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14066
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14068
archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14069
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14074
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14075
hardcode_libdir_flag_spec_F77='-L$libdir'
14076
hardcode_shlibpath_var_F77=no
14085
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14086
echo "${ECHO_T}$ld_shlibs_F77" >&6
14087
test "$ld_shlibs_F77" = no && can_build_shared=no
14090
# Do we need to explicitly link libc?
14092
case "x$archive_cmds_need_lc_F77" in
14094
# Assume -lc should be added
14095
archive_cmds_need_lc_F77=yes
14097
if test "$enable_shared" = yes && test "$GCC" = yes; then
14098
case $archive_cmds_F77 in
14100
# FIXME: we may have to deal with multi-command sequences.
14103
# Test whether the compiler implicitly links with -lc since on some
14104
# systems, -lgcc has to come before -lc. If gcc already passes -lc
14105
# to ld, don't add -lc before -lgcc.
14106
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14107
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14109
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14111
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14112
(eval $ac_compile) 2>&5
14114
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115
(exit $ac_status); } 2>conftest.err; then
14118
libobjs=conftest.$ac_objext
14120
wl=$lt_prog_compiler_wl_F77
14121
pic_flag=$lt_prog_compiler_pic_F77
14127
lt_save_allow_undefined_flag=$allow_undefined_flag_F77
14128
allow_undefined_flag_F77=
14129
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14130
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14132
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133
(exit $ac_status); }
14135
archive_cmds_need_lc_F77=no
14137
archive_cmds_need_lc_F77=yes
14139
allow_undefined_flag_F77=$lt_save_allow_undefined_flag
14141
cat conftest.err 1>&5
14144
echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14145
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14152
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14153
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14154
library_names_spec=
14155
libname_spec='lib$name'
14159
postuninstall_cmds=
14163
shlibpath_overrides_runpath=unknown
14165
dynamic_linker="$host_os ld.so"
14166
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14167
if test "$GCC" = yes; then
14168
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14169
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14170
# if the path contains ";" then we assume it to be the separator
14171
# otherwise default to the standard path separator (i.e. ":") - it is
14172
# assumed that no part of a normal pathname contains ";" but that should
14173
# okay in the real world where ";" in dirpaths is itself problematic.
14174
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14176
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14179
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14181
need_lib_prefix=unknown
14182
hardcode_into_libs=no
14184
# when you set need_version to no, make sure it does not cause -set_version
14185
# flags to be left without arguments
14186
need_version=unknown
14191
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14192
shlibpath_var=LIBPATH
14194
# AIX 3 has no versioning support, so we append a major version to the name.
14195
soname_spec='${libname}${release}${shared_ext}$major'
14202
hardcode_into_libs=yes
14203
if test "$host_cpu" = ia64; then
14204
# AIX 5 supports IA64
14205
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14206
shlibpath_var=LD_LIBRARY_PATH
14208
# With GCC up to 2.95.x, collect2 would create an import file
14209
# for dependence libraries. The import file would start with
14210
# the line `#! .'. This would cause the generated library to
14211
# depend on `.', always an invalid library. This was fixed in
14212
# development snapshots of GCC prior to 3.0.
14214
aix4 | aix4.[01] | aix4.[01].*)
14215
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14217
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14220
can_build_shared=no
14224
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14225
# soname into executable. Probably we can add versioning support to
14226
# collect2, so additional links can be useful in future.
14227
if test "$aix_use_runtimelinking" = yes; then
14228
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
14229
# instead of lib<name>.a to let people know that these are not
14230
# typical AIX shared libraries.
14231
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14233
# We preserve .a as extension for shared libraries through AIX4.2
14234
# and later when we are not doing run time linking.
14235
library_names_spec='${libname}${release}.a $libname.a'
14236
soname_spec='${libname}${release}${shared_ext}$major'
14238
shlibpath_var=LIBPATH
14243
library_names_spec='$libname.ixlibrary $libname.a'
14244
# Create ${libname}_ixlibrary.a entries in /sys/libs.
14245
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'
14249
library_names_spec='${libname}${shared_ext}'
14250
dynamic_linker="$host_os ld.so"
14251
shlibpath_var=LIBRARY_PATH
14257
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14258
soname_spec='${libname}${release}${shared_ext}$major'
14259
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14260
shlibpath_var=LD_LIBRARY_PATH
14261
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14262
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14263
# the default ld.so.conf also contains /usr/contrib/lib and
14264
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14265
# libtool to hard-code these into programs
14268
cygwin* | mingw* | pw32*)
14269
version_type=windows
14274
case $GCC,$host_os in
14275
yes,cygwin* | yes,mingw* | yes,pw32*)
14276
library_names_spec='$libname.dll.a'
14277
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14278
postinstall_cmds='base_file=`basename \${file}`~
14279
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14280
dldir=$destdir/`dirname \$dlpath`~
14281
test -d \$dldir || mkdir -p \$dldir~
14282
$install_prog $dir/$dlname \$dldir/$dlname~
14283
chmod a+x \$dldir/$dlname'
14284
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14285
dlpath=$dir/\$dldll~
14287
shlibpath_overrides_runpath=yes
14291
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
14292
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14293
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14296
# MinGW DLLs use traditional 'lib' prefix
14297
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14298
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14299
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14300
# It is most probably a Windows format PATH printed by
14301
# mingw gcc, but we are running on Cygwin. Gcc prints its search
14302
# path with ; separators, and with drive letters. We can handle the
14303
# drive letters (cygwin fileutils understands them), so leave them,
14304
# especially as we might pass files found there to a mingw objdump,
14305
# which wouldn't understand a cygwinified path. Ahh.
14306
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14308
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14312
# pw32 DLLs use 'pw' prefix rather than 'lib'
14313
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14319
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14322
dynamic_linker='Win32 ld.exe'
14323
# FIXME: first we should search . and the directory the executable is in
14327
darwin* | rhapsody*)
14328
dynamic_linker="$host_os dyld"
14329
version_type=darwin
14332
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14333
soname_spec='${libname}${release}${major}$shared_ext'
14334
shlibpath_overrides_runpath=yes
14335
shlibpath_var=DYLD_LIBRARY_PATH
14336
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14337
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14338
if test "$GCC" = yes; then
14339
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"`
14341
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14343
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14350
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14351
soname_spec='${libname}${release}${shared_ext}$major'
14352
shlibpath_var=LD_LIBRARY_PATH
14363
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14364
soname_spec='${libname}${release}${shared_ext}$major'
14365
shlibpath_var=LD_LIBRARY_PATH
14366
shlibpath_overrides_runpath=no
14367
hardcode_into_libs=yes
14368
dynamic_linker='GNU ld.so'
14371
freebsd* | dragonfly*)
14372
# DragonFly does not have aout. When/if they implement a new
14373
# versioning mechanism, adjust this.
14374
if test -x /usr/bin/objformat; then
14375
objformat=`/usr/bin/objformat`
14378
freebsd[123]*) objformat=aout ;;
14379
*) objformat=elf ;;
14382
version_type=freebsd-$objformat
14383
case $version_type in
14385
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14390
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14394
shlibpath_var=LD_LIBRARY_PATH
14397
shlibpath_overrides_runpath=yes
14399
freebsd3.[01]* | freebsdelf3.[01]*)
14400
shlibpath_overrides_runpath=yes
14401
hardcode_into_libs=yes
14403
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14404
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14405
shlibpath_overrides_runpath=no
14406
hardcode_into_libs=yes
14408
freebsd*) # from 4.6 on
14409
shlibpath_overrides_runpath=yes
14410
hardcode_into_libs=yes
14419
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14420
soname_spec='${libname}${release}${shared_ext}$major'
14421
shlibpath_var=LD_LIBRARY_PATH
14422
hardcode_into_libs=yes
14425
hpux9* | hpux10* | hpux11*)
14426
# Give a soname corresponding to the major version so that dld.sl refuses to
14427
# link against other versions.
14434
hardcode_into_libs=yes
14435
dynamic_linker="$host_os dld.so"
14436
shlibpath_var=LD_LIBRARY_PATH
14437
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14438
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14439
soname_spec='${libname}${release}${shared_ext}$major'
14440
if test "X$HPUX_IA64_MODE" = X32; then
14441
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14443
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14445
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14449
hardcode_into_libs=yes
14450
dynamic_linker="$host_os dld.sl"
14451
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14452
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14453
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14454
soname_spec='${libname}${release}${shared_ext}$major'
14455
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14456
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14460
dynamic_linker="$host_os dld.sl"
14461
shlibpath_var=SHLIB_PATH
14462
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14463
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14464
soname_spec='${libname}${release}${shared_ext}$major'
14467
# HP-UX runs *really* slowly unless shared libraries are mode 555.
14468
postinstall_cmds='chmod 555 $lib'
14475
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14476
soname_spec='${libname}${release}${shared_ext}$major'
14477
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14478
shlibpath_var=LD_LIBRARY_PATH
14479
shlibpath_overrides_runpath=no
14480
hardcode_into_libs=yes
14483
irix5* | irix6* | nonstopux*)
14485
nonstopux*) version_type=nonstopux ;;
14487
if test "$lt_cv_prog_gnu_ld" = yes; then
14495
soname_spec='${libname}${release}${shared_ext}$major'
14496
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14498
irix5* | nonstopux*)
14499
libsuff= shlibsuff=
14502
case $LD in # libtool.m4 will add one of these switches to LD
14503
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14504
libsuff= shlibsuff= libmagic=32-bit;;
14505
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14506
libsuff=32 shlibsuff=N32 libmagic=N32;;
14507
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14508
libsuff=64 shlibsuff=64 libmagic=64-bit;;
14509
*) libsuff= shlibsuff= libmagic=never-match;;
14513
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14514
shlibpath_overrides_runpath=no
14515
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14516
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14517
hardcode_into_libs=yes
14520
# No shared lib support for Linux oldld, aout, or coff.
14521
linux*oldld* | linux*aout* | linux*coff*)
14525
# This must be Linux ELF.
14530
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14531
soname_spec='${libname}${release}${shared_ext}$major'
14532
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14533
shlibpath_var=LD_LIBRARY_PATH
14534
shlibpath_overrides_runpath=no
14535
# This implies no fast_install, which is unacceptable.
14536
# Some rework will be needed to allow for fast_install
14537
# before this can be enabled.
14538
hardcode_into_libs=yes
14540
# find out which ABI we are using
14542
case "$host_cpu" in
14543
x86_64*|s390x*|powerpc64*)
14544
echo '#line 14544 "configure"' > conftest.$ac_ext
14545
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14546
(eval $ac_compile) 2>&5
14548
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549
(exit $ac_status); }; then
14550
case `/usr/bin/file conftest.$ac_objext` in
14553
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14561
# Append ld.so.conf contents to the search path
14562
if test -f /etc/ld.so.conf; then
14563
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14564
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14567
# We used to test for /lib/ld.so.1 and disable shared libraries on
14568
# powerpc, because MkLinux only supported shared libraries with the
14569
# GNU dynamic linker. Since this was broken with cross compilers,
14570
# most powerpc-linux boxes support dynamic linking these days and
14571
# people can always --disable-shared, the test was removed, and we
14572
# assume the GNU/Linux dynamic linker is in use.
14573
dynamic_linker='GNU/Linux ld.so'
14580
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14581
soname_spec='${libname}${release}${shared_ext}$major'
14582
shlibpath_var=LD_LIBRARY_PATH
14583
shlibpath_overrides_runpath=no
14584
hardcode_into_libs=yes
14585
dynamic_linker='GNU ld.so'
14592
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14593
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14594
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14595
dynamic_linker='NetBSD (a.out) ld.so'
14597
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14598
soname_spec='${libname}${release}${shared_ext}$major'
14599
dynamic_linker='NetBSD ld.elf_so'
14601
shlibpath_var=LD_LIBRARY_PATH
14602
shlibpath_overrides_runpath=yes
14603
hardcode_into_libs=yes
14608
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14609
shlibpath_var=LD_LIBRARY_PATH
14610
shlibpath_overrides_runpath=yes
14617
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14618
soname_spec='${libname}${release}${shared_ext}$major'
14619
shlibpath_var=LD_LIBRARY_PATH
14620
shlibpath_overrides_runpath=yes
14625
sys_lib_dlsearch_path_spec="/usr/lib"
14627
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14629
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14630
*) need_version=no ;;
14632
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14633
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14634
shlibpath_var=LD_LIBRARY_PATH
14635
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14637
openbsd2.[89] | openbsd2.[89].*)
14638
shlibpath_overrides_runpath=no
14641
shlibpath_overrides_runpath=yes
14645
shlibpath_overrides_runpath=yes
14650
libname_spec='$name'
14653
library_names_spec='$libname${shared_ext} $libname.a'
14654
dynamic_linker='OS/2 ld.exe'
14655
shlibpath_var=LIBPATH
14658
osf3* | osf4* | osf5*)
14662
soname_spec='${libname}${release}${shared_ext}$major'
14663
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14664
shlibpath_var=LD_LIBRARY_PATH
14665
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14666
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14673
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14674
soname_spec='${libname}${release}${shared_ext}$major'
14675
shlibpath_var=LD_LIBRARY_PATH
14676
shlibpath_overrides_runpath=yes
14677
hardcode_into_libs=yes
14678
# ldd complains unless libraries are executable
14679
postinstall_cmds='chmod +x $lib'
14684
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14685
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14686
shlibpath_var=LD_LIBRARY_PATH
14687
shlibpath_overrides_runpath=yes
14688
if test "$with_gnu_ld" = yes; then
14696
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14697
soname_spec='${libname}${release}${shared_ext}$major'
14698
shlibpath_var=LD_LIBRARY_PATH
14699
case $host_vendor in
14701
shlibpath_overrides_runpath=no
14703
export_dynamic_flag_spec='${wl}-Blargedynsym'
14704
runpath_var=LD_RUN_PATH
14712
shlibpath_overrides_runpath=no
14713
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14719
if test -d /usr/nec ;then
14721
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14722
soname_spec='$libname${shared_ext}.$major'
14723
shlibpath_var=LD_LIBRARY_PATH
14727
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14728
version_type=freebsd-elf
14731
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14732
soname_spec='${libname}${release}${shared_ext}$major'
14733
shlibpath_var=LD_LIBRARY_PATH
14734
hardcode_into_libs=yes
14735
if test "$with_gnu_ld" = yes; then
14736
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14737
shlibpath_overrides_runpath=no
14739
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14740
shlibpath_overrides_runpath=yes
14743
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14747
sys_lib_dlsearch_path_spec='/usr/lib'
14752
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14753
soname_spec='${libname}${release}${shared_ext}$major'
14754
shlibpath_var=LD_LIBRARY_PATH
14761
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14762
echo "${ECHO_T}$dynamic_linker" >&6
14763
test "$dynamic_linker" = no && can_build_shared=no
14765
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14766
if test "$GCC" = yes; then
14767
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14770
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14771
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14772
hardcode_action_F77=
14773
if test -n "$hardcode_libdir_flag_spec_F77" || \
14774
test -n "$runpath_var_F77" || \
14775
test "X$hardcode_automatic_F77" = "Xyes" ; then
14777
# We can hardcode non-existant directories.
14778
if test "$hardcode_direct_F77" != no &&
14779
# If the only mechanism to avoid hardcoding is shlibpath_var, we
14780
# have to relink, otherwise we might link with an installed library
14781
# when we should be linking with a yet-to-be-installed one
14782
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14783
test "$hardcode_minus_L_F77" != no; then
14784
# Linking always hardcodes the temporary library directory.
14785
hardcode_action_F77=relink
14787
# We can link without hardcoding, and we can hardcode nonexisting dirs.
14788
hardcode_action_F77=immediate
14791
# We cannot hardcode anything, or else we can only hardcode existing
14793
hardcode_action_F77=unsupported
14795
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14796
echo "${ECHO_T}$hardcode_action_F77" >&6
14798
if test "$hardcode_action_F77" = relink; then
14799
# Fast installation is not supported
14800
enable_fast_install=no
14801
elif test "$shlibpath_overrides_runpath" = yes ||
14802
test "$enable_shared" = no; then
14803
# Fast installation is not necessary
14804
enable_fast_install=needless
14808
# The else clause should only fire when bootstrapping the
14809
# libtool distribution, otherwise you forgot to ship ltmain.sh
14810
# with your package, and you will get complaints that there are
14811
# no rules to generate ltmain.sh.
14812
if test -f "$ltmain"; then
14813
# See if we are running on zsh, and set the options which allow our commands through
14814
# without removal of \ escapes.
14815
if test -n "${ZSH_VERSION+set}" ; then
14816
setopt NO_GLOB_SUBST
14818
# Now quote all the things that may contain metacharacters while being
14819
# careful not to overquote the AC_SUBSTed values. We take copies of the
14820
# variables and quote the copies for generation of the libtool script.
14821
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14823
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14824
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14825
deplibs_check_method reload_flag reload_cmds need_locks \
14826
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14827
lt_cv_sys_global_symbol_to_c_name_address \
14828
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14829
old_postinstall_cmds old_postuninstall_cmds \
14833
lt_prog_compiler_wl_F77 \
14834
lt_prog_compiler_pic_F77 \
14835
lt_prog_compiler_static_F77 \
14836
lt_prog_compiler_no_builtin_flag_F77 \
14837
export_dynamic_flag_spec_F77 \
14838
thread_safe_flag_spec_F77 \
14839
whole_archive_flag_spec_F77 \
14840
enable_shared_with_static_runtimes_F77 \
14841
old_archive_cmds_F77 \
14842
old_archive_from_new_cmds_F77 \
14843
predep_objects_F77 \
14844
postdep_objects_F77 \
14847
compiler_lib_search_path_F77 \
14849
archive_expsym_cmds_F77 \
14850
postinstall_cmds_F77 \
14851
postuninstall_cmds_F77 \
14852
old_archive_from_expsyms_cmds_F77 \
14853
allow_undefined_flag_F77 \
14854
no_undefined_flag_F77 \
14855
export_symbols_cmds_F77 \
14856
hardcode_libdir_flag_spec_F77 \
14857
hardcode_libdir_flag_spec_ld_F77 \
14858
hardcode_libdir_separator_F77 \
14859
hardcode_automatic_F77 \
14861
module_expsym_cmds_F77 \
14862
lt_cv_prog_compiler_c_o_F77 \
14863
exclude_expsyms_F77 \
14864
include_expsyms_F77; do
14867
old_archive_cmds_F77 | \
14868
old_archive_from_new_cmds_F77 | \
14869
archive_cmds_F77 | \
14870
archive_expsym_cmds_F77 | \
14871
module_cmds_F77 | \
14872
module_expsym_cmds_F77 | \
14873
old_archive_from_expsyms_cmds_F77 | \
14874
export_symbols_cmds_F77 | \
14875
extract_expsyms_cmds | reload_cmds | finish_cmds | \
14876
postinstall_cmds | postuninstall_cmds | \
14877
old_postinstall_cmds | old_postuninstall_cmds | \
14878
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14879
# Double-quote double-evaled strings.
14880
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14883
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14889
*'\$0 --fallback-echo"')
14890
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14896
cat <<__EOF__ >> "$cfgfile"
14897
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
14899
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14901
# Shell to use when invoking shell scripts.
14904
# Whether or not to build shared libraries.
14905
build_libtool_libs=$enable_shared
14907
# Whether or not to build static libraries.
14908
build_old_libs=$enable_static
14910
# Whether or not to add -lc for building shared libraries.
14911
build_libtool_need_lc=$archive_cmds_need_lc_F77
14913
# Whether or not to disallow shared libs when runtime libs are static
14914
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14916
# Whether or not to optimize for fast installation.
14917
fast_install=$enable_fast_install
14920
host_alias=$host_alias
14924
# The build system.
14925
build_alias=$build_alias
14929
# An echo program that does not interpret backslashes.
14934
AR_FLAGS=$lt_AR_FLAGS
14939
# LTCC compiler flags.
14940
LTCFLAGS=$lt_LTCFLAGS
14942
# A language-specific compiler.
14943
CC=$lt_compiler_F77
14945
# Is the compiler the GNU C compiler?
14948
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
14949
gcc_ver=\`gcc -dumpversion\`
14954
# The linker used to build libraries.
14957
# Whether we need hard or soft links.
14960
# A BSD-compatible nm program.
14963
# A symbol stripping program
14966
# Used to examine libraries when file_magic_cmd begins "file"
14967
MAGIC_CMD=$MAGIC_CMD
14969
# Used on cygwin: DLL creation program.
14972
# Used on cygwin: object dumper.
14975
# Used on cygwin: assembler.
14978
# The name of the directory that contains temporary libtool files.
14981
# How to create reloadable object files.
14982
reload_flag=$lt_reload_flag
14983
reload_cmds=$lt_reload_cmds
14985
# How to pass a linker flag through the compiler.
14986
wl=$lt_lt_prog_compiler_wl_F77
14988
# Object file suffix (normally "o").
14989
objext="$ac_objext"
14991
# Old archive suffix (normally "a").
14994
# Shared library suffix (normally ".so").
14995
shrext_cmds='$shrext_cmds'
14997
# Executable file suffix (normally "").
15000
# Additional compiler flags for building library objects.
15001
pic_flag=$lt_lt_prog_compiler_pic_F77
15004
# What is the maximum length of a command?
15005
max_cmd_len=$lt_cv_sys_max_cmd_len
15007
# Does compiler simultaneously support -c and -o options?
15008
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15010
# Must we lock files when doing compilation?
15011
need_locks=$lt_need_locks
15013
# Do we need the lib prefix for modules?
15014
need_lib_prefix=$need_lib_prefix
15016
# Do we need a version for libraries?
15017
need_version=$need_version
15019
# Whether dlopen is supported.
15020
dlopen_support=$enable_dlopen
15022
# Whether dlopen of programs is supported.
15023
dlopen_self=$enable_dlopen_self
15025
# Whether dlopen of statically linked programs is supported.
15026
dlopen_self_static=$enable_dlopen_self_static
15028
# Compiler flag to prevent dynamic linking.
15029
link_static_flag=$lt_lt_prog_compiler_static_F77
15031
# Compiler flag to turn off builtin functions.
15032
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15034
# Compiler flag to allow reflexive dlopens.
15035
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15037
# Compiler flag to generate shared objects directly from archives.
15038
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15040
# Compiler flag to generate thread-safe objects.
15041
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15043
# Library versioning type.
15044
version_type=$version_type
15046
# Format of library name prefix.
15047
libname_spec=$lt_libname_spec
15049
# List of archive names. First name is the real one, the rest are links.
15050
# The last name is the one that the linker finds with -lNAME.
15051
library_names_spec=$lt_library_names_spec
15053
# The coded name of the library, if different from the real name.
15054
soname_spec=$lt_soname_spec
15056
# Commands used to build and install an old-style archive.
15058
old_archive_cmds=$lt_old_archive_cmds_F77
15059
old_postinstall_cmds=$lt_old_postinstall_cmds
15060
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15062
# Create an old-style archive from a shared archive.
15063
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15065
# Create a temporary old-style archive to link instead of a shared archive.
15066
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15068
# Commands used to build and install a shared archive.
15069
archive_cmds=$lt_archive_cmds_F77
15070
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15071
postinstall_cmds=$lt_postinstall_cmds
15072
postuninstall_cmds=$lt_postuninstall_cmds
15074
# Commands used to build a loadable module (assumed same as above if empty)
15075
module_cmds=$lt_module_cmds_F77
15076
module_expsym_cmds=$lt_module_expsym_cmds_F77
15078
# Commands to strip libraries.
15079
old_striplib=$lt_old_striplib
15080
striplib=$lt_striplib
15082
# Dependencies to place before the objects being linked to create a
15084
predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15086
# Dependencies to place after the objects being linked to create a
15088
postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15090
# Dependencies to place before the objects being linked to create a
15092
predeps=$lt_predeps_F77
15094
# Dependencies to place after the objects being linked to create a
15096
postdeps=$lt_postdeps_F77
15098
# The library search path used internally by the compiler when linking
15099
# a shared library.
15100
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15102
# Method to check whether dependent libraries are shared objects.
15103
deplibs_check_method=$lt_deplibs_check_method
15105
# Command to use when deplibs_check_method == file_magic.
15106
file_magic_cmd=$lt_file_magic_cmd
15108
# Flag that allows shared libraries with undefined symbols to be built.
15109
allow_undefined_flag=$lt_allow_undefined_flag_F77
15111
# Flag that forces no undefined symbols.
15112
no_undefined_flag=$lt_no_undefined_flag_F77
15114
# Commands used to finish a libtool library installation in a directory.
15115
finish_cmds=$lt_finish_cmds
15117
# Same as above, but a single script fragment to be evaled but not shown.
15118
finish_eval=$lt_finish_eval
15120
# Take the output of nm and produce a listing of raw symbols and C names.
15121
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15123
# Transform the output of nm in a proper C declaration
15124
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15126
# Transform the output of nm in a C name address pair
15127
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15129
# This is the shared library runtime path variable.
15130
runpath_var=$runpath_var
15132
# This is the shared library path variable.
15133
shlibpath_var=$shlibpath_var
15135
# Is shlibpath searched before the hard-coded library search path?
15136
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15138
# How to hardcode a shared library path into an executable.
15139
hardcode_action=$hardcode_action_F77
15141
# Whether we should hardcode library paths into libraries.
15142
hardcode_into_libs=$hardcode_into_libs
15144
# Flag to hardcode \$libdir into a binary during linking.
15145
# This must work even if \$libdir does not exist.
15146
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15148
# If ld is used when linking, flag to hardcode \$libdir into
15149
# a binary during linking. This must work even if \$libdir does
15151
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15153
# Whether we need a single -rpath flag with a separated argument.
15154
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15156
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15157
# resulting binary.
15158
hardcode_direct=$hardcode_direct_F77
15160
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15161
# resulting binary.
15162
hardcode_minus_L=$hardcode_minus_L_F77
15164
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15165
# the resulting binary.
15166
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15168
# Set to yes if building a shared library automatically hardcodes DIR into the library
15169
# and all subsequent libraries and executables linked against it.
15170
hardcode_automatic=$hardcode_automatic_F77
15172
# Variables whose values should be saved in libtool wrapper scripts and
15173
# restored at relink time.
15174
variables_saved_for_relink="$variables_saved_for_relink"
15176
# Whether libtool must link a program against all its dependency libraries.
15177
link_all_deplibs=$link_all_deplibs_F77
15179
# Compile-time system search path for libraries
15180
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15182
# Run-time system search path for libraries
15183
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15185
# Fix the shell variable \$srcfile for the compiler.
15186
fix_srcfile_path="$fix_srcfile_path_F77"
15188
# Set to yes if exported symbols are required.
15189
always_export_symbols=$always_export_symbols_F77
15191
# The commands to list exported symbols.
15192
export_symbols_cmds=$lt_export_symbols_cmds_F77
15194
# The commands to extract the exported symbol list from a shared archive.
15195
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15197
# Symbols that should not be listed in the preloaded symbols.
15198
exclude_expsyms=$lt_exclude_expsyms_F77
15200
# Symbols that must always be exported.
15201
include_expsyms=$lt_include_expsyms_F77
15203
# ### END LIBTOOL TAG CONFIG: $tagname
15209
# If there is no Makefile yet, we rely on a make rule to execute
15210
# `config.status --recheck' to rerun these tests and create the
15211
# libtool script then.
15212
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15213
if test -f "$ltmain_in"; then
15214
test -f Makefile && make "$ltmain"
15220
ac_cpp='$CPP $CPPFLAGS'
15221
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15222
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15223
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15233
if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15237
# Source file extension for Java test sources.
15240
# Object file extension for compiled Java test sources.
15244
# Code to be used in simple compile tests
15245
lt_simple_compile_test_code="class foo {}\n"
15247
# Code to be used in simple link tests
15248
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
15250
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15252
# If no C compiler was specified, use CC.
15255
# If no C compiler flags were specified, use CFLAGS.
15256
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15258
# Allow CC to be a program name with arguments.
15262
# save warnings/boilerplate of simple test code
15263
ac_outfile=conftest.$ac_objext
15264
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15265
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15266
_lt_compiler_boilerplate=`cat conftest.err`
15269
ac_outfile=conftest.$ac_objext
15270
printf "$lt_simple_link_test_code" >conftest.$ac_ext
15271
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15272
_lt_linker_boilerplate=`cat conftest.err`
15276
# Allow CC to be a program name with arguments.
15281
for cc_temp in $compiler""; do
15283
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15284
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15289
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15292
# GCJ did not exist at the time GCC didn't implicitly link libc in.
15293
archive_cmds_need_lc_GCJ=no
15295
old_archive_cmds_GCJ=$old_archive_cmds
15298
lt_prog_compiler_no_builtin_flag_GCJ=
15300
if test "$GCC" = yes; then
15301
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15304
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15305
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15306
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15307
echo $ECHO_N "(cached) $ECHO_C" >&6
15309
lt_cv_prog_compiler_rtti_exceptions=no
15310
ac_outfile=conftest.$ac_objext
15311
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15312
lt_compiler_flag="-fno-rtti -fno-exceptions"
15313
# Insert the option either (1) after the last *FLAGS variable, or
15314
# (2) before a word containing "conftest.", or (3) at the end.
15315
# Note that $ac_compile itself does not contain backslashes and begins
15316
# with a dollar sign (not a hyphen), so the echo should work correctly.
15317
# The option is referenced via a variable to avoid confusing sed.
15318
lt_compile=`echo "$ac_compile" | $SED \
15319
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15320
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15321
-e 's:$: $lt_compiler_flag:'`
15322
(eval echo "\"\$as_me:15322: $lt_compile\"" >&5)
15323
(eval "$lt_compile" 2>conftest.err)
15325
cat conftest.err >&5
15326
echo "$as_me:15326: \$? = $ac_status" >&5
15327
if (exit $ac_status) && test -s "$ac_outfile"; then
15328
# The compiler can only warn and ignore the option if not recognized
15329
# So say no if there are warnings other than the usual output.
15330
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15331
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15332
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15333
lt_cv_prog_compiler_rtti_exceptions=yes
15339
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15340
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15342
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15343
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15350
lt_prog_compiler_wl_GCJ=
15351
lt_prog_compiler_pic_GCJ=
15352
lt_prog_compiler_static_GCJ=
15354
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15355
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15357
if test "$GCC" = yes; then
15358
lt_prog_compiler_wl_GCJ='-Wl,'
15359
lt_prog_compiler_static_GCJ='-static'
15363
# All AIX code is PIC.
15364
if test "$host_cpu" = ia64; then
15365
# AIX 5 now supports IA64 processor
15366
lt_prog_compiler_static_GCJ='-Bstatic'
15371
# FIXME: we need at least 68020 code to build shared libraries, but
15372
# adding the `-m68020' flag to GCC prevents building anything better,
15374
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15377
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15378
# PIC is the default for these OSes.
15381
mingw* | pw32* | os2*)
15382
# This hack is so that the source file can tell whether it is being
15383
# built for inclusion in a dll (and should export symbols for example).
15384
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15387
darwin* | rhapsody*)
15388
# PIC is the default on this platform
15389
# Common symbols not allowed in MH_DYLIB files
15390
lt_prog_compiler_pic_GCJ='-fno-common'
15394
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
15395
# Instead, we relocate shared libraries at runtime.
15399
# Just because we use GCC doesn't mean we suddenly get shared libraries
15400
# on systems that don't support them.
15401
lt_prog_compiler_can_build_shared_GCJ=no
15406
if test -d /usr/nec; then
15407
lt_prog_compiler_pic_GCJ=-Kconform_pic
15412
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15413
# not for PA HP-UX.
15419
lt_prog_compiler_pic_GCJ='-fPIC'
15425
lt_prog_compiler_pic_GCJ='-fPIC'
15429
# PORTME Check for flag to pass linker flags through the system compiler.
15432
lt_prog_compiler_wl_GCJ='-Wl,'
15433
if test "$host_cpu" = ia64; then
15434
# AIX 5 now supports IA64 processor
15435
lt_prog_compiler_static_GCJ='-Bstatic'
15437
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15441
# PIC is the default on this platform
15442
# Common symbols not allowed in MH_DYLIB files
15443
case $cc_basename in
15445
lt_prog_compiler_pic_GCJ='-qnocommon'
15446
lt_prog_compiler_wl_GCJ='-Wl,'
15451
mingw* | pw32* | os2*)
15452
# This hack is so that the source file can tell whether it is being
15453
# built for inclusion in a dll (and should export symbols for example).
15454
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15457
hpux9* | hpux10* | hpux11*)
15458
lt_prog_compiler_wl_GCJ='-Wl,'
15459
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15460
# not for PA HP-UX.
15466
lt_prog_compiler_pic_GCJ='+Z'
15469
# Is there a better lt_prog_compiler_static that works with the bundled CC?
15470
lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15473
irix5* | irix6* | nonstopux*)
15474
lt_prog_compiler_wl_GCJ='-Wl,'
15475
# PIC (with -KPIC) is the default.
15476
lt_prog_compiler_static_GCJ='-non_shared'
15480
lt_prog_compiler_pic_GCJ='-KPIC'
15481
lt_prog_compiler_static_GCJ='-Bstatic'
15485
case $cc_basename in
15487
lt_prog_compiler_wl_GCJ='-Wl,'
15488
lt_prog_compiler_pic_GCJ='-KPIC'
15489
lt_prog_compiler_static_GCJ='-static'
15491
pgcc* | pgf77* | pgf90* | pgf95*)
15492
# Portland Group compilers (*not* the Pentium gcc compiler,
15493
# which looks to be a dead project)
15494
lt_prog_compiler_wl_GCJ='-Wl,'
15495
lt_prog_compiler_pic_GCJ='-fpic'
15496
lt_prog_compiler_static_GCJ='-Bstatic'
15499
lt_prog_compiler_wl_GCJ='-Wl,'
15500
# All Alpha code is PIC.
15501
lt_prog_compiler_static_GCJ='-non_shared'
15506
osf3* | osf4* | osf5*)
15507
lt_prog_compiler_wl_GCJ='-Wl,'
15508
# All OSF/1 code is PIC.
15509
lt_prog_compiler_static_GCJ='-non_shared'
15513
lt_prog_compiler_pic_GCJ='-KPIC'
15514
lt_prog_compiler_static_GCJ='-Bstatic'
15515
case $cc_basename in
15516
f77* | f90* | f95*)
15517
lt_prog_compiler_wl_GCJ='-Qoption ld ';;
15519
lt_prog_compiler_wl_GCJ='-Wl,';;
15524
lt_prog_compiler_wl_GCJ='-Qoption ld '
15525
lt_prog_compiler_pic_GCJ='-PIC'
15526
lt_prog_compiler_static_GCJ='-Bstatic'
15529
sysv4 | sysv4.2uw2* | sysv4.3*)
15530
lt_prog_compiler_wl_GCJ='-Wl,'
15531
lt_prog_compiler_pic_GCJ='-KPIC'
15532
lt_prog_compiler_static_GCJ='-Bstatic'
15536
if test -d /usr/nec ;then
15537
lt_prog_compiler_pic_GCJ='-Kconform_pic'
15538
lt_prog_compiler_static_GCJ='-Bstatic'
15542
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15543
lt_prog_compiler_wl_GCJ='-Wl,'
15544
lt_prog_compiler_pic_GCJ='-KPIC'
15545
lt_prog_compiler_static_GCJ='-Bstatic'
15549
lt_prog_compiler_wl_GCJ='-Wl,'
15550
lt_prog_compiler_can_build_shared_GCJ=no
15554
lt_prog_compiler_pic_GCJ='-pic'
15555
lt_prog_compiler_static_GCJ='-Bstatic'
15559
lt_prog_compiler_can_build_shared_GCJ=no
15564
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15565
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15568
# Check to make sure the PIC flag actually works.
15570
if test -n "$lt_prog_compiler_pic_GCJ"; then
15572
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15573
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15574
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15575
echo $ECHO_N "(cached) $ECHO_C" >&6
15577
lt_prog_compiler_pic_works_GCJ=no
15578
ac_outfile=conftest.$ac_objext
15579
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15580
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15581
# Insert the option either (1) after the last *FLAGS variable, or
15582
# (2) before a word containing "conftest.", or (3) at the end.
15583
# Note that $ac_compile itself does not contain backslashes and begins
15584
# with a dollar sign (not a hyphen), so the echo should work correctly.
15585
# The option is referenced via a variable to avoid confusing sed.
15586
lt_compile=`echo "$ac_compile" | $SED \
15587
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15588
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15589
-e 's:$: $lt_compiler_flag:'`
15590
(eval echo "\"\$as_me:15590: $lt_compile\"" >&5)
15591
(eval "$lt_compile" 2>conftest.err)
15593
cat conftest.err >&5
15594
echo "$as_me:15594: \$? = $ac_status" >&5
15595
if (exit $ac_status) && test -s "$ac_outfile"; then
15596
# The compiler can only warn and ignore the option if not recognized
15597
# So say no if there are warnings other than the usual output.
15598
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15599
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15600
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15601
lt_prog_compiler_pic_works_GCJ=yes
15607
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15608
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15610
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15611
case $lt_prog_compiler_pic_GCJ in
15613
*) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15616
lt_prog_compiler_pic_GCJ=
15617
lt_prog_compiler_can_build_shared_GCJ=no
15622
# For platforms which do not support PIC, -DPIC is meaningless:
15624
lt_prog_compiler_pic_GCJ=
15627
lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15632
# Check to make sure the static flag actually works.
15634
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
15635
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15636
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15637
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15638
echo $ECHO_N "(cached) $ECHO_C" >&6
15640
lt_prog_compiler_static_works_GCJ=no
15641
save_LDFLAGS="$LDFLAGS"
15642
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15643
printf "$lt_simple_link_test_code" > conftest.$ac_ext
15644
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15645
# The linker can only warn and ignore the option if not recognized
15646
# So say no if there are warnings
15647
if test -s conftest.err; then
15648
# Append any errors to the config.log.
15649
cat conftest.err 1>&5
15650
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15651
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15652
if diff conftest.exp conftest.er2 >/dev/null; then
15653
lt_prog_compiler_static_works_GCJ=yes
15656
lt_prog_compiler_static_works_GCJ=yes
15660
LDFLAGS="$save_LDFLAGS"
15663
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15664
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
15666
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
15669
lt_prog_compiler_static_GCJ=
15673
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15674
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15675
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15676
echo $ECHO_N "(cached) $ECHO_C" >&6
15678
lt_cv_prog_compiler_c_o_GCJ=no
15679
$rm -r conftest 2>/dev/null
15683
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15685
lt_compiler_flag="-o out/conftest2.$ac_objext"
15686
# Insert the option either (1) after the last *FLAGS variable, or
15687
# (2) before a word containing "conftest.", or (3) at the end.
15688
# Note that $ac_compile itself does not contain backslashes and begins
15689
# with a dollar sign (not a hyphen), so the echo should work correctly.
15690
lt_compile=`echo "$ac_compile" | $SED \
15691
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15692
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15693
-e 's:$: $lt_compiler_flag:'`
15694
(eval echo "\"\$as_me:15694: $lt_compile\"" >&5)
15695
(eval "$lt_compile" 2>out/conftest.err)
15697
cat out/conftest.err >&5
15698
echo "$as_me:15698: \$? = $ac_status" >&5
15699
if (exit $ac_status) && test -s out/conftest2.$ac_objext
15701
# The compiler can only warn and ignore the option if not recognized
15702
# So say no if there are warnings
15703
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15704
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15705
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15706
lt_cv_prog_compiler_c_o_GCJ=yes
15711
# SGI C++ compiler will create directory out/ii_files/ for
15712
# template instantiation
15713
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15714
$rm out/* && rmdir out
15720
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15721
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15724
hard_links="nottested"
15725
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15726
# do not overwrite the value of need_locks provided by the user
15727
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15728
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15731
ln conftest.a conftest.b 2>/dev/null && hard_links=no
15733
ln conftest.a conftest.b 2>&5 || hard_links=no
15734
ln conftest.a conftest.b 2>/dev/null && hard_links=no
15735
echo "$as_me:$LINENO: result: $hard_links" >&5
15736
echo "${ECHO_T}$hard_links" >&6
15737
if test "$hard_links" = no; then
15738
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15739
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15746
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15747
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15750
allow_undefined_flag_GCJ=
15751
enable_shared_with_static_runtimes_GCJ=no
15753
archive_expsym_cmds_GCJ=
15754
old_archive_From_new_cmds_GCJ=
15755
old_archive_from_expsyms_cmds_GCJ=
15756
export_dynamic_flag_spec_GCJ=
15757
whole_archive_flag_spec_GCJ=
15758
thread_safe_flag_spec_GCJ=
15759
hardcode_libdir_flag_spec_GCJ=
15760
hardcode_libdir_flag_spec_ld_GCJ=
15761
hardcode_libdir_separator_GCJ=
15762
hardcode_direct_GCJ=no
15763
hardcode_minus_L_GCJ=no
15764
hardcode_shlibpath_var_GCJ=unsupported
15765
link_all_deplibs_GCJ=unknown
15766
hardcode_automatic_GCJ=no
15768
module_expsym_cmds_GCJ=
15769
always_export_symbols_GCJ=no
15770
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15771
# include_expsyms should be a list of space-separated symbols to be *always*
15772
# included in the symbol list
15773
include_expsyms_GCJ=
15774
# exclude_expsyms can be an extended regexp of symbols to exclude
15775
# it will be wrapped by ` (' and `)$', so one must not match beginning or
15776
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15777
# as well as any symbol that contains `d'.
15778
exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15779
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15780
# platforms (ab)use it in PIC code, but their linkers get confused if
15781
# the symbol is explicitly referenced. Since portable code cannot
15782
# rely on this symbol name, it's probably fine to never include it in
15783
# preloaded symbol tables.
15784
extract_expsyms_cmds=
15785
# Just being paranoid about ensuring that cc_basename is set.
15786
for cc_temp in $compiler""; do
15788
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15789
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15794
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15797
cygwin* | mingw* | pw32*)
15798
# FIXME: the MSVC++ port hasn't been tested in a loooong time
15799
# When not using gcc, we currently assume that we are using
15800
# Microsoft Visual C++.
15801
if test "$GCC" != yes; then
15806
# we just hope/assume this is gcc and not c89 (= MSVC++)
15815
if test "$with_gnu_ld" = yes; then
15816
# If archive_cmds runs LD, not CC, wlarc should be empty
15819
# Set some defaults for GNU ld with shared library support. These
15820
# are reset later if shared libraries are not supported. Putting them
15821
# here allows them to be overridden if necessary.
15822
runpath_var=LD_RUN_PATH
15823
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15824
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15825
# ancient GNU ld didn't support --whole-archive et. al.
15826
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15827
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15829
whole_archive_flag_spec_GCJ=
15831
supports_anon_versioning=no
15832
case `$LD -v 2>/dev/null` in
15833
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15834
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15835
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15836
*\ 2.11.*) ;; # other 2.11 versions
15837
*) supports_anon_versioning=yes ;;
15840
# See if GNU ld supports shared libraries.
15842
aix3* | aix4* | aix5*)
15843
# On AIX/PPC, the GNU linker is very broken
15844
if test "$host_cpu" != ia64; then
15848
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15849
*** to be unable to reliably create shared libraries on AIX.
15850
*** Therefore, libtool is disabling shared libraries support. If you
15851
*** really care for shared libraries, you may want to modify your PATH
15852
*** so that a non-GNU linker is found, and then restart.
15859
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)'
15860
hardcode_libdir_flag_spec_GCJ='-L$libdir'
15861
hardcode_minus_L_GCJ=yes
15863
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15864
# that the semantics of dynamic libraries on AmigaOS, at least up
15865
# to version 4, is to share data among multiple programs linked
15866
# with the same dynamic library. Since this doesn't match the
15867
# behavior of shared libraries on other platforms, we can't use
15873
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15874
allow_undefined_flag_GCJ=unsupported
15875
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15876
# support --undefined. This deserves some investigation. FIXME
15877
archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15883
cygwin* | mingw* | pw32*)
15884
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15885
# as there is no search path for DLLs.
15886
hardcode_libdir_flag_spec_GCJ='-L$libdir'
15887
allow_undefined_flag_GCJ=unsupported
15888
always_export_symbols_GCJ=no
15889
enable_shared_with_static_runtimes_GCJ=yes
15890
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15892
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15893
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15894
# If the export-symbols file already is a .def file (1st line
15895
# is EXPORTS), use it as is; otherwise, prepend...
15896
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15897
cp $export_symbols $output_objdir/$soname.def;
15899
echo EXPORTS > $output_objdir/$soname.def;
15900
cat $export_symbols >> $output_objdir/$soname.def;
15902
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15909
hardcode_direct_GCJ=no
15910
hardcode_shlibpath_var_GCJ=no
15911
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15912
export_dynamic_flag_spec_GCJ='${wl}-E'
15913
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15914
# Instead, shared libraries are loaded at an image base (0x10000000 by
15915
# default) and relocated if they conflict, which is a slow very memory
15916
# consuming and fragmenting process. To avoid this, we pick a random,
15917
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15918
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
15919
archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15920
archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15924
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15926
case $cc_basename,$host_cpu in
15927
pgcc*) # Portland Group C compiler
15928
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'
15929
tmp_addflag=' $pic_flag'
15931
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
15932
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'
15933
tmp_addflag=' $pic_flag -Mnomain' ;;
15934
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
15935
tmp_addflag=' -i_dynamic' ;;
15936
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
15937
tmp_addflag=' -i_dynamic -nofor_main' ;;
15938
ifc* | ifort*) # Intel Fortran compiler
15939
tmp_addflag=' -nofor_main' ;;
15941
archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15943
if test $supports_anon_versioning = yes; then
15944
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
15945
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15946
$echo "local: *; };" >> $output_objdir/$libname.ver~
15947
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15955
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15956
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15959
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15960
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15965
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15969
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15970
*** create shared libraries on Solaris systems. Therefore, libtool
15971
*** is disabling shared libraries support. We urge you to upgrade GNU
15972
*** binutils to release 2.9.1 or newer. Another option is to modify
15973
*** your PATH or compiler configuration so that the native linker is
15974
*** used, and then restart.
15977
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15978
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15979
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15985
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15986
case `$LD -v 2>&1` in
15987
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15991
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15992
*** reliably create shared libraries on SCO systems. Therefore, libtool
15993
*** is disabling shared libraries support. We urge you to upgrade GNU
15994
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15995
*** your PATH or compiler configuration so that the native linker is
15996
*** used, and then restart.
16001
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16002
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16003
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16004
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16013
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16015
hardcode_direct_GCJ=yes
16016
hardcode_shlibpath_var_GCJ=no
16020
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16021
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16022
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16029
if test "$ld_shlibs_GCJ" = no; then
16031
hardcode_libdir_flag_spec_GCJ=
16032
export_dynamic_flag_spec_GCJ=
16033
whole_archive_flag_spec_GCJ=
16036
# PORTME fill in a description of your system's linker (not GNU ld)
16039
allow_undefined_flag_GCJ=unsupported
16040
always_export_symbols_GCJ=yes
16041
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'
16042
# Note: this linker hardcodes the directories in LIBPATH if there
16043
# are no directories specified by -L.
16044
hardcode_minus_L_GCJ=yes
16045
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16046
# Neither direct hardcoding nor static linking is supported with a
16048
hardcode_direct_GCJ=unsupported
16053
if test "$host_cpu" = ia64; then
16054
# On IA64, the linker does run time linking by default, so we don't
16055
# have to do anything special.
16056
aix_use_runtimelinking=no
16057
exp_sym_flag='-Bexport'
16060
# If we're using GNU nm, then we don't want the "-C" option.
16061
# -C means demangle to AIX nm, but means don't demangle with GNU nm
16062
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16063
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'
16065
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'
16067
aix_use_runtimelinking=no
16069
# Test if we are trying to use run time linking or normal
16070
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
16071
# need to do runtime linking.
16072
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
16073
for ld_flag in $LDFLAGS; do
16074
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16075
aix_use_runtimelinking=yes
16082
exp_sym_flag='-bexport'
16083
no_entry_flag='-bnoentry'
16086
# When large executables or shared objects are built, AIX ld can
16087
# have problems creating the table of contents. If linking a library
16088
# or program results in "error TOC overflow" add -mminimal-toc to
16089
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16090
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16092
archive_cmds_GCJ=''
16093
hardcode_direct_GCJ=yes
16094
hardcode_libdir_separator_GCJ=':'
16095
link_all_deplibs_GCJ=yes
16097
if test "$GCC" = yes; then
16098
case $host_os in aix4.[012]|aix4.[012].*)
16099
# We only want to do this on AIX 4.2 and lower, the check
16100
# below for broken collect2 doesn't work under 4.3+
16101
collect2name=`${CC} -print-prog-name=collect2`
16102
if test -f "$collect2name" && \
16103
strings "$collect2name" | grep resolve_lib_name >/dev/null
16105
# We have reworked collect2
16106
hardcode_direct_GCJ=yes
16108
# We have old collect2
16109
hardcode_direct_GCJ=unsupported
16110
# It fails to find uninstalled libraries when the uninstalled
16111
# path is not listed in the libpath. Setting hardcode_minus_L
16112
# to unsupported forces relinking
16113
hardcode_minus_L_GCJ=yes
16114
hardcode_libdir_flag_spec_GCJ='-L$libdir'
16115
hardcode_libdir_separator_GCJ=
16119
shared_flag='-shared'
16120
if test "$aix_use_runtimelinking" = yes; then
16121
shared_flag="$shared_flag "'${wl}-G'
16125
if test "$host_cpu" = ia64; then
16126
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16127
# chokes on -Wl,-G. The following line is correct:
16130
if test "$aix_use_runtimelinking" = yes; then
16131
shared_flag='${wl}-G'
16133
shared_flag='${wl}-bM:SRE'
16138
# It seems that -bexpall does not export symbols beginning with
16139
# underscore (_), so it is better to generate a list of symbols to export.
16140
always_export_symbols_GCJ=yes
16141
if test "$aix_use_runtimelinking" = yes; then
16142
# Warning - without using the other runtime loading flags (-brtl),
16143
# -berok will link without error, but may produce a broken library.
16144
allow_undefined_flag_GCJ='-berok'
16145
# Determine the default libpath from the value encoded in an empty executable.
16146
cat >conftest.$ac_ext <<_ACEOF
16149
cat confdefs.h >>conftest.$ac_ext
16150
cat >>conftest.$ac_ext <<_ACEOF
16151
/* end confdefs.h. */
16161
rm -f conftest.$ac_objext conftest$ac_exeext
16162
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16163
(eval $ac_link) 2>conftest.er1
16165
grep -v '^ *+' conftest.er1 >conftest.err
16167
cat conftest.err >&5
16168
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169
(exit $ac_status); } &&
16170
{ ac_try='test -z "$ac_c_werror_flag"
16171
|| test ! -s conftest.err'
16172
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16173
(eval $ac_try) 2>&5
16175
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176
(exit $ac_status); }; } &&
16177
{ ac_try='test -s conftest$ac_exeext'
16178
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16179
(eval $ac_try) 2>&5
16181
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182
(exit $ac_status); }; }; then
16184
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16186
# Check for a 64-bit object if we didn't find anything.
16187
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; }
16190
echo "$as_me: failed program was:" >&5
16191
sed 's/^/| /' conftest.$ac_ext >&5
16194
rm -f conftest.err conftest.$ac_objext \
16195
conftest$ac_exeext conftest.$ac_ext
16196
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16198
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16199
archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16201
if test "$host_cpu" = ia64; then
16202
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
16203
allow_undefined_flag_GCJ="-z nodefs"
16204
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
16206
# Determine the default libpath from the value encoded in an empty executable.
16207
cat >conftest.$ac_ext <<_ACEOF
16210
cat confdefs.h >>conftest.$ac_ext
16211
cat >>conftest.$ac_ext <<_ACEOF
16212
/* end confdefs.h. */
16222
rm -f conftest.$ac_objext conftest$ac_exeext
16223
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16224
(eval $ac_link) 2>conftest.er1
16226
grep -v '^ *+' conftest.er1 >conftest.err
16228
cat conftest.err >&5
16229
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230
(exit $ac_status); } &&
16231
{ ac_try='test -z "$ac_c_werror_flag"
16232
|| test ! -s conftest.err'
16233
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16234
(eval $ac_try) 2>&5
16236
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237
(exit $ac_status); }; } &&
16238
{ ac_try='test -s conftest$ac_exeext'
16239
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16240
(eval $ac_try) 2>&5
16242
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243
(exit $ac_status); }; }; then
16245
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16247
# Check for a 64-bit object if we didn't find anything.
16248
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; }
16251
echo "$as_me: failed program was:" >&5
16252
sed 's/^/| /' conftest.$ac_ext >&5
16255
rm -f conftest.err conftest.$ac_objext \
16256
conftest$ac_exeext conftest.$ac_ext
16257
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16259
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16260
# Warning - without using the other run time loading flags,
16261
# -berok will link without error, but may produce a broken library.
16262
no_undefined_flag_GCJ=' ${wl}-bernotok'
16263
allow_undefined_flag_GCJ=' ${wl}-berok'
16264
# Exported symbols can be pulled into shared objects from archives
16265
whole_archive_flag_spec_GCJ='$convenience'
16266
archive_cmds_need_lc_GCJ=yes
16267
# This is similar to how AIX traditionally builds its shared libraries.
16268
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16274
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)'
16275
hardcode_libdir_flag_spec_GCJ='-L$libdir'
16276
hardcode_minus_L_GCJ=yes
16277
# see comment about different semantics on the GNU ld section
16282
export_dynamic_flag_spec_GCJ=-rdynamic
16285
cygwin* | mingw* | pw32*)
16286
# When not using gcc, we currently assume that we are using
16287
# Microsoft Visual C++.
16288
# hardcode_libdir_flag_spec is actually meaningless, as there is
16289
# no search path for DLLs.
16290
hardcode_libdir_flag_spec_GCJ=' '
16291
allow_undefined_flag_GCJ=unsupported
16292
# Tell ltmain to make .lib files, not .a files.
16294
# Tell ltmain to make .dll files, not .so files.
16296
# FIXME: Setting linknames here is a bad hack.
16297
archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16298
# The linker will automatically build a .lib file if we build a DLL.
16299
old_archive_From_new_cmds_GCJ='true'
16300
# FIXME: Should let the user specify the lib program.
16301
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
16302
fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16303
enable_shared_with_static_runtimes_GCJ=yes
16306
darwin* | rhapsody*)
16308
rhapsody* | darwin1.[012])
16309
allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
16312
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16313
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16315
case ${MACOSX_DEPLOYMENT_TARGET} in
16317
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16320
allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
16326
archive_cmds_need_lc_GCJ=no
16327
hardcode_direct_GCJ=no
16328
hardcode_automatic_GCJ=yes
16329
hardcode_shlibpath_var_GCJ=unsupported
16330
whole_archive_flag_spec_GCJ=''
16331
link_all_deplibs_GCJ=yes
16332
if test "$GCC" = yes ; then
16333
output_verbose_link_cmd='echo'
16334
archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16335
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16336
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16337
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}'
16338
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}'
16340
case $cc_basename in
16342
output_verbose_link_cmd='echo'
16343
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16344
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16345
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16346
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}'
16347
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}'
16357
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16358
hardcode_libdir_flag_spec_GCJ='-L$libdir'
16359
hardcode_shlibpath_var_GCJ=no
16366
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16367
# support. Future versions do this automatically, but an explicit c++rt0.o
16368
# does not break anything, and helps significantly (at the cost of a little
16371
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16372
hardcode_libdir_flag_spec_GCJ='-R$libdir'
16373
hardcode_direct_GCJ=yes
16374
hardcode_shlibpath_var_GCJ=no
16377
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
16379
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16380
hardcode_direct_GCJ=yes
16381
hardcode_minus_L_GCJ=yes
16382
hardcode_shlibpath_var_GCJ=no
16385
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16386
freebsd* | kfreebsd*-gnu | dragonfly*)
16387
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16388
hardcode_libdir_flag_spec_GCJ='-R$libdir'
16389
hardcode_direct_GCJ=yes
16390
hardcode_shlibpath_var_GCJ=no
16394
if test "$GCC" = yes; then
16395
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'
16397
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'
16399
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16400
hardcode_libdir_separator_GCJ=:
16401
hardcode_direct_GCJ=yes
16403
# hardcode_minus_L: Not really in the search PATH,
16404
# but as the default location of the library.
16405
hardcode_minus_L_GCJ=yes
16406
export_dynamic_flag_spec_GCJ='${wl}-E'
16410
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16411
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16413
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16415
if test "$with_gnu_ld" = no; then
16416
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16417
hardcode_libdir_separator_GCJ=:
16419
hardcode_direct_GCJ=yes
16420
export_dynamic_flag_spec_GCJ='${wl}-E'
16422
# hardcode_minus_L: Not really in the search PATH,
16423
# but as the default location of the library.
16424
hardcode_minus_L_GCJ=yes
16429
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16432
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16435
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16438
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16444
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16447
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16450
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16454
if test "$with_gnu_ld" = no; then
16455
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16456
hardcode_libdir_separator_GCJ=:
16460
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
16461
hardcode_direct_GCJ=no
16462
hardcode_shlibpath_var_GCJ=no
16465
hardcode_direct_GCJ=yes
16466
export_dynamic_flag_spec_GCJ='${wl}-E'
16468
# hardcode_minus_L: Not really in the search PATH,
16469
# but as the default location of the library.
16470
hardcode_minus_L_GCJ=yes
16476
irix5* | irix6* | nonstopux*)
16477
if test "$GCC" = yes; then
16478
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'
16480
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'
16481
hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
16483
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16484
hardcode_libdir_separator_GCJ=:
16485
link_all_deplibs_GCJ=yes
16489
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16490
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16492
archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16494
hardcode_libdir_flag_spec_GCJ='-R$libdir'
16495
hardcode_direct_GCJ=yes
16496
hardcode_shlibpath_var_GCJ=no
16500
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16501
hardcode_direct_GCJ=yes
16502
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16503
hardcode_libdir_separator_GCJ=:
16504
hardcode_shlibpath_var_GCJ=no
16508
hardcode_direct_GCJ=yes
16509
hardcode_shlibpath_var_GCJ=no
16510
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16511
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16512
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16513
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16514
export_dynamic_flag_spec_GCJ='${wl}-E'
16517
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16518
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16519
hardcode_libdir_flag_spec_GCJ='-R$libdir'
16522
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16523
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16530
hardcode_libdir_flag_spec_GCJ='-L$libdir'
16531
hardcode_minus_L_GCJ=yes
16532
allow_undefined_flag_GCJ=unsupported
16533
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'
16534
old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16538
if test "$GCC" = yes; then
16539
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16540
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'
16542
allow_undefined_flag_GCJ=' -expect_unresolved \*'
16543
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'
16545
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16546
hardcode_libdir_separator_GCJ=:
16549
osf4* | osf5*) # as osf3* with the addition of -msym flag
16550
if test "$GCC" = yes; then
16551
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16552
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'
16553
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16555
allow_undefined_flag_GCJ=' -expect_unresolved \*'
16556
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'
16557
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~
16558
$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'
16560
# Both c and cxx compiler support -rpath directly
16561
hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16563
hardcode_libdir_separator_GCJ=:
16567
no_undefined_flag_GCJ=' -z text'
16568
if test "$GCC" = yes; then
16570
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16571
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16572
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16575
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16576
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16577
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16579
hardcode_libdir_flag_spec_GCJ='-R$libdir'
16580
hardcode_shlibpath_var_GCJ=no
16582
solaris2.[0-5] | solaris2.[0-5].*) ;;
16584
# The compiler driver will combine linker options so we
16585
# cannot just pass the convience library names through
16586
# without $wl, iff we do not link with $LD.
16587
# Luckily, gcc supports the same syntax we need for Sun Studio.
16588
# Supported since Solaris 2.6 (maybe 2.5.1?)
16591
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16593
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' ;;
16596
link_all_deplibs_GCJ=yes
16600
if test "x$host_vendor" = xsequent; then
16601
# Use $CC to link under sequent, because it throws in some extra .o
16602
# files that make .init and .fini sections work.
16603
archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16605
archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16607
hardcode_libdir_flag_spec_GCJ='-L$libdir'
16608
hardcode_direct_GCJ=yes
16609
hardcode_minus_L_GCJ=yes
16610
hardcode_shlibpath_var_GCJ=no
16614
case $host_vendor in
16616
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16617
hardcode_direct_GCJ=yes # is this really true???
16620
## LD is ld it makes a PLAMLIB
16621
## CC just makes a GrossModule.
16622
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16623
reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16624
hardcode_direct_GCJ=no
16627
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16628
hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16631
runpath_var='LD_RUN_PATH'
16632
hardcode_shlibpath_var_GCJ=no
16636
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16637
hardcode_shlibpath_var_GCJ=no
16638
export_dynamic_flag_spec_GCJ='-Bexport'
16642
if test -d /usr/nec; then
16643
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16644
hardcode_shlibpath_var_GCJ=no
16645
runpath_var=LD_RUN_PATH
16646
hardcode_runpath_var=yes
16651
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
16652
no_undefined_flag_GCJ='${wl}-z,text'
16653
archive_cmds_need_lc_GCJ=no
16654
hardcode_shlibpath_var_GCJ=no
16655
runpath_var='LD_RUN_PATH'
16657
if test "$GCC" = yes; then
16658
archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16659
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16661
archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16662
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16666
sysv5* | sco3.2v5* | sco5v6*)
16667
# Note: We can NOT use -z defs as we might desire, because we do not
16668
# link with -lc, and that would cause any symbols used from libc to
16669
# always be unresolved, which means just about no library would
16670
# ever link correctly. If we're not using GNU ld we use -z text
16671
# though, which does catch some bad symbols but isn't as heavy-handed
16673
no_undefined_flag_GCJ='${wl}-z,text'
16674
allow_undefined_flag_GCJ='${wl}-z,nodefs'
16675
archive_cmds_need_lc_GCJ=no
16676
hardcode_shlibpath_var_GCJ=no
16677
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16678
hardcode_libdir_separator_GCJ=':'
16679
link_all_deplibs_GCJ=yes
16680
export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16681
runpath_var='LD_RUN_PATH'
16683
if test "$GCC" = yes; then
16684
archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16685
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16687
archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16688
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16693
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16694
hardcode_libdir_flag_spec_GCJ='-L$libdir'
16695
hardcode_shlibpath_var_GCJ=no
16704
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16705
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16706
test "$ld_shlibs_GCJ" = no && can_build_shared=no
16709
# Do we need to explicitly link libc?
16711
case "x$archive_cmds_need_lc_GCJ" in
16713
# Assume -lc should be added
16714
archive_cmds_need_lc_GCJ=yes
16716
if test "$enable_shared" = yes && test "$GCC" = yes; then
16717
case $archive_cmds_GCJ in
16719
# FIXME: we may have to deal with multi-command sequences.
16722
# Test whether the compiler implicitly links with -lc since on some
16723
# systems, -lgcc has to come before -lc. If gcc already passes -lc
16724
# to ld, don't add -lc before -lgcc.
16725
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16726
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16728
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16730
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16731
(eval $ac_compile) 2>&5
16733
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734
(exit $ac_status); } 2>conftest.err; then
16737
libobjs=conftest.$ac_objext
16739
wl=$lt_prog_compiler_wl_GCJ
16740
pic_flag=$lt_prog_compiler_pic_GCJ
16746
lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16747
allow_undefined_flag_GCJ=
16748
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16749
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16751
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752
(exit $ac_status); }
16754
archive_cmds_need_lc_GCJ=no
16756
archive_cmds_need_lc_GCJ=yes
16758
allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16760
cat conftest.err 1>&5
16763
echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16764
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16771
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16772
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16773
library_names_spec=
16774
libname_spec='lib$name'
16778
postuninstall_cmds=
16782
shlibpath_overrides_runpath=unknown
16784
dynamic_linker="$host_os ld.so"
16785
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16786
if test "$GCC" = yes; then
16787
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16788
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16789
# if the path contains ";" then we assume it to be the separator
16790
# otherwise default to the standard path separator (i.e. ":") - it is
16791
# assumed that no part of a normal pathname contains ";" but that should
16792
# okay in the real world where ";" in dirpaths is itself problematic.
16793
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16795
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16798
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16800
need_lib_prefix=unknown
16801
hardcode_into_libs=no
16803
# when you set need_version to no, make sure it does not cause -set_version
16804
# flags to be left without arguments
16805
need_version=unknown
16810
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16811
shlibpath_var=LIBPATH
16813
# AIX 3 has no versioning support, so we append a major version to the name.
16814
soname_spec='${libname}${release}${shared_ext}$major'
16821
hardcode_into_libs=yes
16822
if test "$host_cpu" = ia64; then
16823
# AIX 5 supports IA64
16824
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16825
shlibpath_var=LD_LIBRARY_PATH
16827
# With GCC up to 2.95.x, collect2 would create an import file
16828
# for dependence libraries. The import file would start with
16829
# the line `#! .'. This would cause the generated library to
16830
# depend on `.', always an invalid library. This was fixed in
16831
# development snapshots of GCC prior to 3.0.
16833
aix4 | aix4.[01] | aix4.[01].*)
16834
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16836
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16839
can_build_shared=no
16843
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16844
# soname into executable. Probably we can add versioning support to
16845
# collect2, so additional links can be useful in future.
16846
if test "$aix_use_runtimelinking" = yes; then
16847
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
16848
# instead of lib<name>.a to let people know that these are not
16849
# typical AIX shared libraries.
16850
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16852
# We preserve .a as extension for shared libraries through AIX4.2
16853
# and later when we are not doing run time linking.
16854
library_names_spec='${libname}${release}.a $libname.a'
16855
soname_spec='${libname}${release}${shared_ext}$major'
16857
shlibpath_var=LIBPATH
16862
library_names_spec='$libname.ixlibrary $libname.a'
16863
# Create ${libname}_ixlibrary.a entries in /sys/libs.
16864
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'
16868
library_names_spec='${libname}${shared_ext}'
16869
dynamic_linker="$host_os ld.so"
16870
shlibpath_var=LIBRARY_PATH
16876
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16877
soname_spec='${libname}${release}${shared_ext}$major'
16878
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16879
shlibpath_var=LD_LIBRARY_PATH
16880
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16881
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16882
# the default ld.so.conf also contains /usr/contrib/lib and
16883
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16884
# libtool to hard-code these into programs
16887
cygwin* | mingw* | pw32*)
16888
version_type=windows
16893
case $GCC,$host_os in
16894
yes,cygwin* | yes,mingw* | yes,pw32*)
16895
library_names_spec='$libname.dll.a'
16896
# DLL is installed to $(libdir)/../bin by postinstall_cmds
16897
postinstall_cmds='base_file=`basename \${file}`~
16898
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16899
dldir=$destdir/`dirname \$dlpath`~
16900
test -d \$dldir || mkdir -p \$dldir~
16901
$install_prog $dir/$dlname \$dldir/$dlname~
16902
chmod a+x \$dldir/$dlname'
16903
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16904
dlpath=$dir/\$dldll~
16906
shlibpath_overrides_runpath=yes
16910
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
16911
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16912
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16915
# MinGW DLLs use traditional 'lib' prefix
16916
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16917
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16918
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16919
# It is most probably a Windows format PATH printed by
16920
# mingw gcc, but we are running on Cygwin. Gcc prints its search
16921
# path with ; separators, and with drive letters. We can handle the
16922
# drive letters (cygwin fileutils understands them), so leave them,
16923
# especially as we might pass files found there to a mingw objdump,
16924
# which wouldn't understand a cygwinified path. Ahh.
16925
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16927
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16931
# pw32 DLLs use 'pw' prefix rather than 'lib'
16932
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16938
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16941
dynamic_linker='Win32 ld.exe'
16942
# FIXME: first we should search . and the directory the executable is in
16946
darwin* | rhapsody*)
16947
dynamic_linker="$host_os dyld"
16948
version_type=darwin
16951
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16952
soname_spec='${libname}${release}${major}$shared_ext'
16953
shlibpath_overrides_runpath=yes
16954
shlibpath_var=DYLD_LIBRARY_PATH
16955
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16956
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16957
if test "$GCC" = yes; then
16958
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"`
16960
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16962
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16969
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16970
soname_spec='${libname}${release}${shared_ext}$major'
16971
shlibpath_var=LD_LIBRARY_PATH
16982
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16983
soname_spec='${libname}${release}${shared_ext}$major'
16984
shlibpath_var=LD_LIBRARY_PATH
16985
shlibpath_overrides_runpath=no
16986
hardcode_into_libs=yes
16987
dynamic_linker='GNU ld.so'
16990
freebsd* | dragonfly*)
16991
# DragonFly does not have aout. When/if they implement a new
16992
# versioning mechanism, adjust this.
16993
if test -x /usr/bin/objformat; then
16994
objformat=`/usr/bin/objformat`
16997
freebsd[123]*) objformat=aout ;;
16998
*) objformat=elf ;;
17001
version_type=freebsd-$objformat
17002
case $version_type in
17004
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17009
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17013
shlibpath_var=LD_LIBRARY_PATH
17016
shlibpath_overrides_runpath=yes
17018
freebsd3.[01]* | freebsdelf3.[01]*)
17019
shlibpath_overrides_runpath=yes
17020
hardcode_into_libs=yes
17022
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17023
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17024
shlibpath_overrides_runpath=no
17025
hardcode_into_libs=yes
17027
freebsd*) # from 4.6 on
17028
shlibpath_overrides_runpath=yes
17029
hardcode_into_libs=yes
17038
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17039
soname_spec='${libname}${release}${shared_ext}$major'
17040
shlibpath_var=LD_LIBRARY_PATH
17041
hardcode_into_libs=yes
17044
hpux9* | hpux10* | hpux11*)
17045
# Give a soname corresponding to the major version so that dld.sl refuses to
17046
# link against other versions.
17053
hardcode_into_libs=yes
17054
dynamic_linker="$host_os dld.so"
17055
shlibpath_var=LD_LIBRARY_PATH
17056
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17057
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17058
soname_spec='${libname}${release}${shared_ext}$major'
17059
if test "X$HPUX_IA64_MODE" = X32; then
17060
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17062
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17064
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17068
hardcode_into_libs=yes
17069
dynamic_linker="$host_os dld.sl"
17070
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17071
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17072
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17073
soname_spec='${libname}${release}${shared_ext}$major'
17074
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17075
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17079
dynamic_linker="$host_os dld.sl"
17080
shlibpath_var=SHLIB_PATH
17081
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17082
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17083
soname_spec='${libname}${release}${shared_ext}$major'
17086
# HP-UX runs *really* slowly unless shared libraries are mode 555.
17087
postinstall_cmds='chmod 555 $lib'
17094
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17095
soname_spec='${libname}${release}${shared_ext}$major'
17096
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17097
shlibpath_var=LD_LIBRARY_PATH
17098
shlibpath_overrides_runpath=no
17099
hardcode_into_libs=yes
17102
irix5* | irix6* | nonstopux*)
17104
nonstopux*) version_type=nonstopux ;;
17106
if test "$lt_cv_prog_gnu_ld" = yes; then
17114
soname_spec='${libname}${release}${shared_ext}$major'
17115
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17117
irix5* | nonstopux*)
17118
libsuff= shlibsuff=
17121
case $LD in # libtool.m4 will add one of these switches to LD
17122
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17123
libsuff= shlibsuff= libmagic=32-bit;;
17124
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17125
libsuff=32 shlibsuff=N32 libmagic=N32;;
17126
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17127
libsuff=64 shlibsuff=64 libmagic=64-bit;;
17128
*) libsuff= shlibsuff= libmagic=never-match;;
17132
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17133
shlibpath_overrides_runpath=no
17134
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17135
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17136
hardcode_into_libs=yes
17139
# No shared lib support for Linux oldld, aout, or coff.
17140
linux*oldld* | linux*aout* | linux*coff*)
17144
# This must be Linux ELF.
17149
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17150
soname_spec='${libname}${release}${shared_ext}$major'
17151
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17152
shlibpath_var=LD_LIBRARY_PATH
17153
shlibpath_overrides_runpath=no
17154
# This implies no fast_install, which is unacceptable.
17155
# Some rework will be needed to allow for fast_install
17156
# before this can be enabled.
17157
hardcode_into_libs=yes
17159
# find out which ABI we are using
17161
case "$host_cpu" in
17162
x86_64*|s390x*|powerpc64*)
17163
echo '#line 17163 "configure"' > conftest.$ac_ext
17164
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17165
(eval $ac_compile) 2>&5
17167
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168
(exit $ac_status); }; then
17169
case `/usr/bin/file conftest.$ac_objext` in
17172
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17180
# Append ld.so.conf contents to the search path
17181
if test -f /etc/ld.so.conf; then
17182
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17183
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17186
# We used to test for /lib/ld.so.1 and disable shared libraries on
17187
# powerpc, because MkLinux only supported shared libraries with the
17188
# GNU dynamic linker. Since this was broken with cross compilers,
17189
# most powerpc-linux boxes support dynamic linking these days and
17190
# people can always --disable-shared, the test was removed, and we
17191
# assume the GNU/Linux dynamic linker is in use.
17192
dynamic_linker='GNU/Linux ld.so'
17199
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17200
soname_spec='${libname}${release}${shared_ext}$major'
17201
shlibpath_var=LD_LIBRARY_PATH
17202
shlibpath_overrides_runpath=no
17203
hardcode_into_libs=yes
17204
dynamic_linker='GNU ld.so'
17211
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17212
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17213
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17214
dynamic_linker='NetBSD (a.out) ld.so'
17216
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17217
soname_spec='${libname}${release}${shared_ext}$major'
17218
dynamic_linker='NetBSD ld.elf_so'
17220
shlibpath_var=LD_LIBRARY_PATH
17221
shlibpath_overrides_runpath=yes
17222
hardcode_into_libs=yes
17227
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17228
shlibpath_var=LD_LIBRARY_PATH
17229
shlibpath_overrides_runpath=yes
17236
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17237
soname_spec='${libname}${release}${shared_ext}$major'
17238
shlibpath_var=LD_LIBRARY_PATH
17239
shlibpath_overrides_runpath=yes
17244
sys_lib_dlsearch_path_spec="/usr/lib"
17246
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17248
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17249
*) need_version=no ;;
17251
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17252
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17253
shlibpath_var=LD_LIBRARY_PATH
17254
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17256
openbsd2.[89] | openbsd2.[89].*)
17257
shlibpath_overrides_runpath=no
17260
shlibpath_overrides_runpath=yes
17264
shlibpath_overrides_runpath=yes
17269
libname_spec='$name'
17272
library_names_spec='$libname${shared_ext} $libname.a'
17273
dynamic_linker='OS/2 ld.exe'
17274
shlibpath_var=LIBPATH
17277
osf3* | osf4* | osf5*)
17281
soname_spec='${libname}${release}${shared_ext}$major'
17282
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17283
shlibpath_var=LD_LIBRARY_PATH
17284
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17285
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17292
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17293
soname_spec='${libname}${release}${shared_ext}$major'
17294
shlibpath_var=LD_LIBRARY_PATH
17295
shlibpath_overrides_runpath=yes
17296
hardcode_into_libs=yes
17297
# ldd complains unless libraries are executable
17298
postinstall_cmds='chmod +x $lib'
17303
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17304
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17305
shlibpath_var=LD_LIBRARY_PATH
17306
shlibpath_overrides_runpath=yes
17307
if test "$with_gnu_ld" = yes; then
17315
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17316
soname_spec='${libname}${release}${shared_ext}$major'
17317
shlibpath_var=LD_LIBRARY_PATH
17318
case $host_vendor in
17320
shlibpath_overrides_runpath=no
17322
export_dynamic_flag_spec='${wl}-Blargedynsym'
17323
runpath_var=LD_RUN_PATH
17331
shlibpath_overrides_runpath=no
17332
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17338
if test -d /usr/nec ;then
17340
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17341
soname_spec='$libname${shared_ext}.$major'
17342
shlibpath_var=LD_LIBRARY_PATH
17346
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17347
version_type=freebsd-elf
17350
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17351
soname_spec='${libname}${release}${shared_ext}$major'
17352
shlibpath_var=LD_LIBRARY_PATH
17353
hardcode_into_libs=yes
17354
if test "$with_gnu_ld" = yes; then
17355
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17356
shlibpath_overrides_runpath=no
17358
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17359
shlibpath_overrides_runpath=yes
17362
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17366
sys_lib_dlsearch_path_spec='/usr/lib'
17371
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17372
soname_spec='${libname}${release}${shared_ext}$major'
17373
shlibpath_var=LD_LIBRARY_PATH
17380
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17381
echo "${ECHO_T}$dynamic_linker" >&6
17382
test "$dynamic_linker" = no && can_build_shared=no
17384
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17385
if test "$GCC" = yes; then
17386
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17389
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17390
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17391
hardcode_action_GCJ=
17392
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17393
test -n "$runpath_var_GCJ" || \
17394
test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17396
# We can hardcode non-existant directories.
17397
if test "$hardcode_direct_GCJ" != no &&
17398
# If the only mechanism to avoid hardcoding is shlibpath_var, we
17399
# have to relink, otherwise we might link with an installed library
17400
# when we should be linking with a yet-to-be-installed one
17401
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17402
test "$hardcode_minus_L_GCJ" != no; then
17403
# Linking always hardcodes the temporary library directory.
17404
hardcode_action_GCJ=relink
17406
# We can link without hardcoding, and we can hardcode nonexisting dirs.
17407
hardcode_action_GCJ=immediate
17410
# We cannot hardcode anything, or else we can only hardcode existing
17412
hardcode_action_GCJ=unsupported
17414
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17415
echo "${ECHO_T}$hardcode_action_GCJ" >&6
17417
if test "$hardcode_action_GCJ" = relink; then
17418
# Fast installation is not supported
17419
enable_fast_install=no
17420
elif test "$shlibpath_overrides_runpath" = yes ||
17421
test "$enable_shared" = no; then
17422
# Fast installation is not necessary
17423
enable_fast_install=needless
17427
# The else clause should only fire when bootstrapping the
17428
# libtool distribution, otherwise you forgot to ship ltmain.sh
17429
# with your package, and you will get complaints that there are
17430
# no rules to generate ltmain.sh.
17431
if test -f "$ltmain"; then
17432
# See if we are running on zsh, and set the options which allow our commands through
17433
# without removal of \ escapes.
17434
if test -n "${ZSH_VERSION+set}" ; then
17435
setopt NO_GLOB_SUBST
17437
# Now quote all the things that may contain metacharacters while being
17438
# careful not to overquote the AC_SUBSTed values. We take copies of the
17439
# variables and quote the copies for generation of the libtool script.
17440
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17442
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17443
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17444
deplibs_check_method reload_flag reload_cmds need_locks \
17445
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17446
lt_cv_sys_global_symbol_to_c_name_address \
17447
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17448
old_postinstall_cmds old_postuninstall_cmds \
17452
lt_prog_compiler_wl_GCJ \
17453
lt_prog_compiler_pic_GCJ \
17454
lt_prog_compiler_static_GCJ \
17455
lt_prog_compiler_no_builtin_flag_GCJ \
17456
export_dynamic_flag_spec_GCJ \
17457
thread_safe_flag_spec_GCJ \
17458
whole_archive_flag_spec_GCJ \
17459
enable_shared_with_static_runtimes_GCJ \
17460
old_archive_cmds_GCJ \
17461
old_archive_from_new_cmds_GCJ \
17462
predep_objects_GCJ \
17463
postdep_objects_GCJ \
17466
compiler_lib_search_path_GCJ \
17468
archive_expsym_cmds_GCJ \
17469
postinstall_cmds_GCJ \
17470
postuninstall_cmds_GCJ \
17471
old_archive_from_expsyms_cmds_GCJ \
17472
allow_undefined_flag_GCJ \
17473
no_undefined_flag_GCJ \
17474
export_symbols_cmds_GCJ \
17475
hardcode_libdir_flag_spec_GCJ \
17476
hardcode_libdir_flag_spec_ld_GCJ \
17477
hardcode_libdir_separator_GCJ \
17478
hardcode_automatic_GCJ \
17480
module_expsym_cmds_GCJ \
17481
lt_cv_prog_compiler_c_o_GCJ \
17482
exclude_expsyms_GCJ \
17483
include_expsyms_GCJ; do
17486
old_archive_cmds_GCJ | \
17487
old_archive_from_new_cmds_GCJ | \
17488
archive_cmds_GCJ | \
17489
archive_expsym_cmds_GCJ | \
17490
module_cmds_GCJ | \
17491
module_expsym_cmds_GCJ | \
17492
old_archive_from_expsyms_cmds_GCJ | \
17493
export_symbols_cmds_GCJ | \
17494
extract_expsyms_cmds | reload_cmds | finish_cmds | \
17495
postinstall_cmds | postuninstall_cmds | \
17496
old_postinstall_cmds | old_postuninstall_cmds | \
17497
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17498
# Double-quote double-evaled strings.
17499
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17502
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17508
*'\$0 --fallback-echo"')
17509
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17515
cat <<__EOF__ >> "$cfgfile"
17516
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17518
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17520
# Shell to use when invoking shell scripts.
17523
# Whether or not to build shared libraries.
17524
build_libtool_libs=$enable_shared
17526
# Whether or not to build static libraries.
17527
build_old_libs=$enable_static
17529
# Whether or not to add -lc for building shared libraries.
17530
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17532
# Whether or not to disallow shared libs when runtime libs are static
17533
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17535
# Whether or not to optimize for fast installation.
17536
fast_install=$enable_fast_install
17539
host_alias=$host_alias
17543
# The build system.
17544
build_alias=$build_alias
17548
# An echo program that does not interpret backslashes.
17553
AR_FLAGS=$lt_AR_FLAGS
17558
# LTCC compiler flags.
17559
LTCFLAGS=$lt_LTCFLAGS
17561
# A language-specific compiler.
17562
CC=$lt_compiler_GCJ
17564
# Is the compiler the GNU C compiler?
17567
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
17568
gcc_ver=\`gcc -dumpversion\`
17573
# The linker used to build libraries.
17576
# Whether we need hard or soft links.
17579
# A BSD-compatible nm program.
17582
# A symbol stripping program
17585
# Used to examine libraries when file_magic_cmd begins "file"
17586
MAGIC_CMD=$MAGIC_CMD
17588
# Used on cygwin: DLL creation program.
17591
# Used on cygwin: object dumper.
17594
# Used on cygwin: assembler.
17597
# The name of the directory that contains temporary libtool files.
17600
# How to create reloadable object files.
17601
reload_flag=$lt_reload_flag
17602
reload_cmds=$lt_reload_cmds
17604
# How to pass a linker flag through the compiler.
17605
wl=$lt_lt_prog_compiler_wl_GCJ
17607
# Object file suffix (normally "o").
17608
objext="$ac_objext"
17610
# Old archive suffix (normally "a").
17613
# Shared library suffix (normally ".so").
17614
shrext_cmds='$shrext_cmds'
17616
# Executable file suffix (normally "").
17619
# Additional compiler flags for building library objects.
17620
pic_flag=$lt_lt_prog_compiler_pic_GCJ
17623
# What is the maximum length of a command?
17624
max_cmd_len=$lt_cv_sys_max_cmd_len
17626
# Does compiler simultaneously support -c and -o options?
17627
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17629
# Must we lock files when doing compilation?
17630
need_locks=$lt_need_locks
17632
# Do we need the lib prefix for modules?
17633
need_lib_prefix=$need_lib_prefix
17635
# Do we need a version for libraries?
17636
need_version=$need_version
17638
# Whether dlopen is supported.
17639
dlopen_support=$enable_dlopen
17641
# Whether dlopen of programs is supported.
17642
dlopen_self=$enable_dlopen_self
17644
# Whether dlopen of statically linked programs is supported.
17645
dlopen_self_static=$enable_dlopen_self_static
17647
# Compiler flag to prevent dynamic linking.
17648
link_static_flag=$lt_lt_prog_compiler_static_GCJ
17650
# Compiler flag to turn off builtin functions.
17651
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17653
# Compiler flag to allow reflexive dlopens.
17654
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17656
# Compiler flag to generate shared objects directly from archives.
17657
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17659
# Compiler flag to generate thread-safe objects.
17660
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17662
# Library versioning type.
17663
version_type=$version_type
17665
# Format of library name prefix.
17666
libname_spec=$lt_libname_spec
17668
# List of archive names. First name is the real one, the rest are links.
17669
# The last name is the one that the linker finds with -lNAME.
17670
library_names_spec=$lt_library_names_spec
17672
# The coded name of the library, if different from the real name.
17673
soname_spec=$lt_soname_spec
17675
# Commands used to build and install an old-style archive.
17677
old_archive_cmds=$lt_old_archive_cmds_GCJ
17678
old_postinstall_cmds=$lt_old_postinstall_cmds
17679
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17681
# Create an old-style archive from a shared archive.
17682
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17684
# Create a temporary old-style archive to link instead of a shared archive.
17685
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17687
# Commands used to build and install a shared archive.
17688
archive_cmds=$lt_archive_cmds_GCJ
17689
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17690
postinstall_cmds=$lt_postinstall_cmds
17691
postuninstall_cmds=$lt_postuninstall_cmds
17693
# Commands used to build a loadable module (assumed same as above if empty)
17694
module_cmds=$lt_module_cmds_GCJ
17695
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17697
# Commands to strip libraries.
17698
old_striplib=$lt_old_striplib
17699
striplib=$lt_striplib
17701
# Dependencies to place before the objects being linked to create a
17703
predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
17705
# Dependencies to place after the objects being linked to create a
17707
postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
17709
# Dependencies to place before the objects being linked to create a
17711
predeps=$lt_predeps_GCJ
17713
# Dependencies to place after the objects being linked to create a
17715
postdeps=$lt_postdeps_GCJ
17717
# The library search path used internally by the compiler when linking
17718
# a shared library.
17719
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
17721
# Method to check whether dependent libraries are shared objects.
17722
deplibs_check_method=$lt_deplibs_check_method
17724
# Command to use when deplibs_check_method == file_magic.
17725
file_magic_cmd=$lt_file_magic_cmd
17727
# Flag that allows shared libraries with undefined symbols to be built.
17728
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17730
# Flag that forces no undefined symbols.
17731
no_undefined_flag=$lt_no_undefined_flag_GCJ
17733
# Commands used to finish a libtool library installation in a directory.
17734
finish_cmds=$lt_finish_cmds
17736
# Same as above, but a single script fragment to be evaled but not shown.
17737
finish_eval=$lt_finish_eval
17739
# Take the output of nm and produce a listing of raw symbols and C names.
17740
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17742
# Transform the output of nm in a proper C declaration
17743
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17745
# Transform the output of nm in a C name address pair
17746
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17748
# This is the shared library runtime path variable.
17749
runpath_var=$runpath_var
17751
# This is the shared library path variable.
17752
shlibpath_var=$shlibpath_var
17754
# Is shlibpath searched before the hard-coded library search path?
17755
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17757
# How to hardcode a shared library path into an executable.
17758
hardcode_action=$hardcode_action_GCJ
17760
# Whether we should hardcode library paths into libraries.
17761
hardcode_into_libs=$hardcode_into_libs
17763
# Flag to hardcode \$libdir into a binary during linking.
17764
# This must work even if \$libdir does not exist.
17765
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17767
# If ld is used when linking, flag to hardcode \$libdir into
17768
# a binary during linking. This must work even if \$libdir does
17770
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17772
# Whether we need a single -rpath flag with a separated argument.
17773
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17775
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17776
# resulting binary.
17777
hardcode_direct=$hardcode_direct_GCJ
17779
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17780
# resulting binary.
17781
hardcode_minus_L=$hardcode_minus_L_GCJ
17783
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17784
# the resulting binary.
17785
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17787
# Set to yes if building a shared library automatically hardcodes DIR into the library
17788
# and all subsequent libraries and executables linked against it.
17789
hardcode_automatic=$hardcode_automatic_GCJ
17791
# Variables whose values should be saved in libtool wrapper scripts and
17792
# restored at relink time.
17793
variables_saved_for_relink="$variables_saved_for_relink"
17795
# Whether libtool must link a program against all its dependency libraries.
17796
link_all_deplibs=$link_all_deplibs_GCJ
17798
# Compile-time system search path for libraries
17799
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
17801
# Run-time system search path for libraries
17802
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17804
# Fix the shell variable \$srcfile for the compiler.
17805
fix_srcfile_path="$fix_srcfile_path_GCJ"
17807
# Set to yes if exported symbols are required.
17808
always_export_symbols=$always_export_symbols_GCJ
17810
# The commands to list exported symbols.
17811
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17813
# The commands to extract the exported symbol list from a shared archive.
17814
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17816
# Symbols that should not be listed in the preloaded symbols.
17817
exclude_expsyms=$lt_exclude_expsyms_GCJ
17819
# Symbols that must always be exported.
17820
include_expsyms=$lt_include_expsyms_GCJ
17822
# ### END LIBTOOL TAG CONFIG: $tagname
17828
# If there is no Makefile yet, we rely on a make rule to execute
17829
# `config.status --recheck' to rerun these tests and create the
17830
# libtool script then.
17831
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17832
if test -f "$ltmain_in"; then
17833
test -f Makefile && make "$ltmain"
17839
ac_cpp='$CPP $CPPFLAGS'
17840
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17841
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17842
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17855
# Source file extension for RC test sources.
17858
# Object file extension for compiled RC test sources.
17862
# Code to be used in simple compile tests
17863
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17865
# Code to be used in simple link tests
17866
lt_simple_link_test_code="$lt_simple_compile_test_code"
17868
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17870
# If no C compiler was specified, use CC.
17873
# If no C compiler flags were specified, use CFLAGS.
17874
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17876
# Allow CC to be a program name with arguments.
17880
# save warnings/boilerplate of simple test code
17881
ac_outfile=conftest.$ac_objext
17882
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
17883
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17884
_lt_compiler_boilerplate=`cat conftest.err`
17887
ac_outfile=conftest.$ac_objext
17888
printf "$lt_simple_link_test_code" >conftest.$ac_ext
17889
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17890
_lt_linker_boilerplate=`cat conftest.err`
17894
# Allow CC to be a program name with arguments.
17899
for cc_temp in $compiler""; do
17901
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17902
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17907
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17909
lt_cv_prog_compiler_c_o_RC=yes
17911
# The else clause should only fire when bootstrapping the
17912
# libtool distribution, otherwise you forgot to ship ltmain.sh
17913
# with your package, and you will get complaints that there are
17914
# no rules to generate ltmain.sh.
17915
if test -f "$ltmain"; then
17916
# See if we are running on zsh, and set the options which allow our commands through
17917
# without removal of \ escapes.
17918
if test -n "${ZSH_VERSION+set}" ; then
17919
setopt NO_GLOB_SUBST
17921
# Now quote all the things that may contain metacharacters while being
17922
# careful not to overquote the AC_SUBSTed values. We take copies of the
17923
# variables and quote the copies for generation of the libtool script.
17924
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17926
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17927
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17928
deplibs_check_method reload_flag reload_cmds need_locks \
17929
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17930
lt_cv_sys_global_symbol_to_c_name_address \
17931
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17932
old_postinstall_cmds old_postuninstall_cmds \
17936
lt_prog_compiler_wl_RC \
17937
lt_prog_compiler_pic_RC \
17938
lt_prog_compiler_static_RC \
17939
lt_prog_compiler_no_builtin_flag_RC \
17940
export_dynamic_flag_spec_RC \
17941
thread_safe_flag_spec_RC \
17942
whole_archive_flag_spec_RC \
17943
enable_shared_with_static_runtimes_RC \
17944
old_archive_cmds_RC \
17945
old_archive_from_new_cmds_RC \
17946
predep_objects_RC \
17947
postdep_objects_RC \
17950
compiler_lib_search_path_RC \
17952
archive_expsym_cmds_RC \
17953
postinstall_cmds_RC \
17954
postuninstall_cmds_RC \
17955
old_archive_from_expsyms_cmds_RC \
17956
allow_undefined_flag_RC \
17957
no_undefined_flag_RC \
17958
export_symbols_cmds_RC \
17959
hardcode_libdir_flag_spec_RC \
17960
hardcode_libdir_flag_spec_ld_RC \
17961
hardcode_libdir_separator_RC \
17962
hardcode_automatic_RC \
17964
module_expsym_cmds_RC \
17965
lt_cv_prog_compiler_c_o_RC \
17966
exclude_expsyms_RC \
17967
include_expsyms_RC; do
17970
old_archive_cmds_RC | \
17971
old_archive_from_new_cmds_RC | \
17972
archive_cmds_RC | \
17973
archive_expsym_cmds_RC | \
17975
module_expsym_cmds_RC | \
17976
old_archive_from_expsyms_cmds_RC | \
17977
export_symbols_cmds_RC | \
17978
extract_expsyms_cmds | reload_cmds | finish_cmds | \
17979
postinstall_cmds | postuninstall_cmds | \
17980
old_postinstall_cmds | old_postuninstall_cmds | \
17981
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17982
# Double-quote double-evaled strings.
17983
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17986
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17992
*'\$0 --fallback-echo"')
17993
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17999
cat <<__EOF__ >> "$cfgfile"
18000
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18002
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18004
# Shell to use when invoking shell scripts.
18007
# Whether or not to build shared libraries.
18008
build_libtool_libs=$enable_shared
18010
# Whether or not to build static libraries.
18011
build_old_libs=$enable_static
18013
# Whether or not to add -lc for building shared libraries.
18014
build_libtool_need_lc=$archive_cmds_need_lc_RC
18016
# Whether or not to disallow shared libs when runtime libs are static
18017
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18019
# Whether or not to optimize for fast installation.
18020
fast_install=$enable_fast_install
18023
host_alias=$host_alias
18027
# The build system.
18028
build_alias=$build_alias
18032
# An echo program that does not interpret backslashes.
18037
AR_FLAGS=$lt_AR_FLAGS
18042
# LTCC compiler flags.
18043
LTCFLAGS=$lt_LTCFLAGS
18045
# A language-specific compiler.
18048
# Is the compiler the GNU C compiler?
18051
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18052
gcc_ver=\`gcc -dumpversion\`
18057
# The linker used to build libraries.
18060
# Whether we need hard or soft links.
18063
# A BSD-compatible nm program.
18066
# A symbol stripping program
18069
# Used to examine libraries when file_magic_cmd begins "file"
18070
MAGIC_CMD=$MAGIC_CMD
18072
# Used on cygwin: DLL creation program.
18075
# Used on cygwin: object dumper.
18078
# Used on cygwin: assembler.
18081
# The name of the directory that contains temporary libtool files.
18084
# How to create reloadable object files.
18085
reload_flag=$lt_reload_flag
18086
reload_cmds=$lt_reload_cmds
18088
# How to pass a linker flag through the compiler.
18089
wl=$lt_lt_prog_compiler_wl_RC
18091
# Object file suffix (normally "o").
18092
objext="$ac_objext"
18094
# Old archive suffix (normally "a").
18097
# Shared library suffix (normally ".so").
18098
shrext_cmds='$shrext_cmds'
18100
# Executable file suffix (normally "").
18103
# Additional compiler flags for building library objects.
18104
pic_flag=$lt_lt_prog_compiler_pic_RC
18107
# What is the maximum length of a command?
18108
max_cmd_len=$lt_cv_sys_max_cmd_len
18110
# Does compiler simultaneously support -c and -o options?
18111
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18113
# Must we lock files when doing compilation?
18114
need_locks=$lt_need_locks
18116
# Do we need the lib prefix for modules?
18117
need_lib_prefix=$need_lib_prefix
18119
# Do we need a version for libraries?
18120
need_version=$need_version
18122
# Whether dlopen is supported.
18123
dlopen_support=$enable_dlopen
18125
# Whether dlopen of programs is supported.
18126
dlopen_self=$enable_dlopen_self
18128
# Whether dlopen of statically linked programs is supported.
18129
dlopen_self_static=$enable_dlopen_self_static
18131
# Compiler flag to prevent dynamic linking.
18132
link_static_flag=$lt_lt_prog_compiler_static_RC
18134
# Compiler flag to turn off builtin functions.
18135
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18137
# Compiler flag to allow reflexive dlopens.
18138
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18140
# Compiler flag to generate shared objects directly from archives.
18141
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18143
# Compiler flag to generate thread-safe objects.
18144
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18146
# Library versioning type.
18147
version_type=$version_type
18149
# Format of library name prefix.
18150
libname_spec=$lt_libname_spec
18152
# List of archive names. First name is the real one, the rest are links.
18153
# The last name is the one that the linker finds with -lNAME.
18154
library_names_spec=$lt_library_names_spec
18156
# The coded name of the library, if different from the real name.
18157
soname_spec=$lt_soname_spec
18159
# Commands used to build and install an old-style archive.
18161
old_archive_cmds=$lt_old_archive_cmds_RC
18162
old_postinstall_cmds=$lt_old_postinstall_cmds
18163
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18165
# Create an old-style archive from a shared archive.
18166
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18168
# Create a temporary old-style archive to link instead of a shared archive.
18169
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18171
# Commands used to build and install a shared archive.
18172
archive_cmds=$lt_archive_cmds_RC
18173
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18174
postinstall_cmds=$lt_postinstall_cmds
18175
postuninstall_cmds=$lt_postuninstall_cmds
18177
# Commands used to build a loadable module (assumed same as above if empty)
18178
module_cmds=$lt_module_cmds_RC
18179
module_expsym_cmds=$lt_module_expsym_cmds_RC
18181
# Commands to strip libraries.
18182
old_striplib=$lt_old_striplib
18183
striplib=$lt_striplib
18185
# Dependencies to place before the objects being linked to create a
18187
predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18189
# Dependencies to place after the objects being linked to create a
18191
postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18193
# Dependencies to place before the objects being linked to create a
18195
predeps=$lt_predeps_RC
18197
# Dependencies to place after the objects being linked to create a
18199
postdeps=$lt_postdeps_RC
18201
# The library search path used internally by the compiler when linking
18202
# a shared library.
18203
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18205
# Method to check whether dependent libraries are shared objects.
18206
deplibs_check_method=$lt_deplibs_check_method
18208
# Command to use when deplibs_check_method == file_magic.
18209
file_magic_cmd=$lt_file_magic_cmd
18211
# Flag that allows shared libraries with undefined symbols to be built.
18212
allow_undefined_flag=$lt_allow_undefined_flag_RC
18214
# Flag that forces no undefined symbols.
18215
no_undefined_flag=$lt_no_undefined_flag_RC
18217
# Commands used to finish a libtool library installation in a directory.
18218
finish_cmds=$lt_finish_cmds
18220
# Same as above, but a single script fragment to be evaled but not shown.
18221
finish_eval=$lt_finish_eval
18223
# Take the output of nm and produce a listing of raw symbols and C names.
18224
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18226
# Transform the output of nm in a proper C declaration
18227
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18229
# Transform the output of nm in a C name address pair
18230
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18232
# This is the shared library runtime path variable.
18233
runpath_var=$runpath_var
18235
# This is the shared library path variable.
18236
shlibpath_var=$shlibpath_var
18238
# Is shlibpath searched before the hard-coded library search path?
18239
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18241
# How to hardcode a shared library path into an executable.
18242
hardcode_action=$hardcode_action_RC
18244
# Whether we should hardcode library paths into libraries.
18245
hardcode_into_libs=$hardcode_into_libs
18247
# Flag to hardcode \$libdir into a binary during linking.
18248
# This must work even if \$libdir does not exist.
18249
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18251
# If ld is used when linking, flag to hardcode \$libdir into
18252
# a binary during linking. This must work even if \$libdir does
18254
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18256
# Whether we need a single -rpath flag with a separated argument.
18257
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18259
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18260
# resulting binary.
18261
hardcode_direct=$hardcode_direct_RC
18263
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18264
# resulting binary.
18265
hardcode_minus_L=$hardcode_minus_L_RC
18267
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18268
# the resulting binary.
18269
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18271
# Set to yes if building a shared library automatically hardcodes DIR into the library
18272
# and all subsequent libraries and executables linked against it.
18273
hardcode_automatic=$hardcode_automatic_RC
18275
# Variables whose values should be saved in libtool wrapper scripts and
18276
# restored at relink time.
18277
variables_saved_for_relink="$variables_saved_for_relink"
18279
# Whether libtool must link a program against all its dependency libraries.
18280
link_all_deplibs=$link_all_deplibs_RC
18282
# Compile-time system search path for libraries
18283
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18285
# Run-time system search path for libraries
18286
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18288
# Fix the shell variable \$srcfile for the compiler.
18289
fix_srcfile_path="$fix_srcfile_path_RC"
18291
# Set to yes if exported symbols are required.
18292
always_export_symbols=$always_export_symbols_RC
18294
# The commands to list exported symbols.
18295
export_symbols_cmds=$lt_export_symbols_cmds_RC
18297
# The commands to extract the exported symbol list from a shared archive.
18298
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18300
# Symbols that should not be listed in the preloaded symbols.
18301
exclude_expsyms=$lt_exclude_expsyms_RC
18303
# Symbols that must always be exported.
18304
include_expsyms=$lt_include_expsyms_RC
18306
# ### END LIBTOOL TAG CONFIG: $tagname
18312
# If there is no Makefile yet, we rely on a make rule to execute
18313
# `config.status --recheck' to rerun these tests and create the
18314
# libtool script then.
18315
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18316
if test -f "$ltmain_in"; then
18317
test -f Makefile && make "$ltmain"
18323
ac_cpp='$CPP $CPPFLAGS'
18324
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18325
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18326
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18333
{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18334
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18335
{ (exit 1); exit 1; }; }
18339
# Append the new tag name to the list of available tags.
18340
if test -n "$tagname" ; then
18341
available_tags="$available_tags $tagname"
18347
# Now substitute the updated list of available tags.
18348
if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18349
mv "${ofile}T" "$ofile"
18353
{ { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18354
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18355
{ (exit 1); exit 1; }; }
18361
# This can be used to rebuild libtool when needed
18362
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18364
# Always use our own libtool.
18365
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
18367
# Prevent multiple expansion
18390
am__api_version="1.9"
10829
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10830
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10831
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10832
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10833
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10834
{ $as_echo "$as_me:$LINENO: result: yes" >&5
10835
$as_echo "yes" >&6; }
10837
# FIXME - insert some real tests, host_os isn't really good enough
10840
if test -n "$STRIP" ; then
10841
striplib="$STRIP -x"
10842
old_striplib="$STRIP -S"
10843
{ $as_echo "$as_me:$LINENO: result: yes" >&5
10844
$as_echo "yes" >&6; }
10846
{ $as_echo "$as_me:$LINENO: result: no" >&5
10847
$as_echo "no" >&6; }
10851
{ $as_echo "$as_me:$LINENO: result: no" >&5
10852
$as_echo "no" >&6; }
10868
# Report which library types will actually be built
10869
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10870
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10871
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10872
$as_echo "$can_build_shared" >&6; }
10874
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10875
$as_echo_n "checking whether to build shared libraries... " >&6; }
10876
test "$can_build_shared" = "no" && enable_shared=no
10878
# On AIX, shared libraries and static libraries use the same namespace, and
10879
# are all built from PIC.
10882
test "$enable_shared" = yes && enable_static=no
10883
if test -n "$RANLIB"; then
10884
archive_cmds="$archive_cmds~\$RANLIB \$lib"
10885
postinstall_cmds='$RANLIB $lib'
10890
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10891
test "$enable_shared" = yes && enable_static=no
10895
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10896
$as_echo "$enable_shared" >&6; }
10898
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10899
$as_echo_n "checking whether to build static libraries... " >&6; }
10900
# Make sure either enable_shared or enable_static is yes.
10901
test "$enable_shared" = yes || enable_static=yes
10902
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10903
$as_echo "$enable_static" >&6; }
10910
ac_cpp='$CPP $CPPFLAGS'
10911
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10912
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10913
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10929
ac_config_commands="$ac_config_commands libtool"
10934
# Only expand once:
10939
am__api_version='1.11'
18391
10941
# Find a good install program. We prefer a C program (faster),
18392
10942
# so one script is as good as another. But avoid the broken or
18393
10943
# incompatible versions:
20238
13094
# Have a temporary directory for convenience. Make it in the build tree
20239
# simply because there is no reason to put it here, and in addition,
13095
# simply because there is no reason against having it here, and in addition,
20240
13096
# creating and moving files from /tmp can sometimes cause problems.
20241
# Create a temporary directory, and hook for its removal unless debugging.
13097
# Hook for its removal unless debugging.
13098
# Note that there is a small window in which the directory will not be cleaned:
13099
# after its creation but before its name has been assigned to `$tmp'.
20244
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13103
trap 'exit_status=$?
13104
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20245
13106
trap '{ (exit 1); exit 1; }' 1 2 13 15
20248
13108
# Create a (secure) tmp directory for tmp files.
20251
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13111
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20252
13112
test -n "$tmp" && test -d "$tmp"
20255
tmp=./confstat$$-$RANDOM
20256
(umask 077 && mkdir $tmp)
13115
tmp=./conf$$-$RANDOM
13116
(umask 077 && mkdir "$tmp")
20259
echo "$me: cannot create a temporary directory in ." >&2
13119
$as_echo "$as_me: cannot create a temporary directory in ." >&2
20260
13120
{ (exit 1); exit 1; }
20265
cat >>$CONFIG_STATUS <<_ACEOF
20268
# CONFIG_FILES section.
20271
# No need to generate the scripts if there are no CONFIG_FILES.
20272
# This happens for instance when ./config.status config.h
20273
if test -n "\$CONFIG_FILES"; then
20274
# Protect against being on the right side of a sed subst in config.status.
20275
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20276
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20277
s,@SHELL@,$SHELL,;t t
20278
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20279
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20280
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20281
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20282
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20283
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20284
s,@exec_prefix@,$exec_prefix,;t t
20285
s,@prefix@,$prefix,;t t
20286
s,@program_transform_name@,$program_transform_name,;t t
20287
s,@bindir@,$bindir,;t t
20288
s,@sbindir@,$sbindir,;t t
20289
s,@libexecdir@,$libexecdir,;t t
20290
s,@datadir@,$datadir,;t t
20291
s,@sysconfdir@,$sysconfdir,;t t
20292
s,@sharedstatedir@,$sharedstatedir,;t t
20293
s,@localstatedir@,$localstatedir,;t t
20294
s,@libdir@,$libdir,;t t
20295
s,@includedir@,$includedir,;t t
20296
s,@oldincludedir@,$oldincludedir,;t t
20297
s,@infodir@,$infodir,;t t
20298
s,@mandir@,$mandir,;t t
20299
s,@build_alias@,$build_alias,;t t
20300
s,@host_alias@,$host_alias,;t t
20301
s,@target_alias@,$target_alias,;t t
20302
s,@DEFS@,$DEFS,;t t
20303
s,@ECHO_C@,$ECHO_C,;t t
20304
s,@ECHO_N@,$ECHO_N,;t t
20305
s,@ECHO_T@,$ECHO_T,;t t
20306
s,@LIBS@,$LIBS,;t t
20307
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20308
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20309
s,@MAINT@,$MAINT,;t t
20310
s,@docdir@,$docdir,;t t
20311
s,@GPT_LOCATION@,$GPT_LOCATION,;t t
20312
s,@GPT_PKGCONFIG_DEPENDENCIES@,$GPT_PKGCONFIG_DEPENDENCIES,;t t
20313
s,@GPT_IS_2@,$GPT_IS_2,;t t
20314
s,@GPT_CFLAGS@,$GPT_CFLAGS,;t t
20315
s,@GPT_PKG_CFLAGS@,$GPT_PKG_CFLAGS,;t t
20316
s,@GPT_INCLUDES@,$GPT_INCLUDES,;t t
20317
s,@GPT_EXTERNAL_INCLUDES@,$GPT_EXTERNAL_INCLUDES,;t t
20318
s,@GPT_EXTERNAL_LIBS@,$GPT_EXTERNAL_LIBS,;t t
20319
s,@GPT_LIBS@,$GPT_LIBS,;t t
20320
s,@GPT_LDFLAGS@,$GPT_LDFLAGS,;t t
20321
s,@GPT_CONFIG_CFLAGS@,$GPT_CONFIG_CFLAGS,;t t
20322
s,@GPT_CONFIG_INCLUDES@,$GPT_CONFIG_INCLUDES,;t t
20323
s,@GPT_CONFIG_LIBS@,$GPT_CONFIG_LIBS,;t t
20324
s,@GPT_CONFIG_PKG_LIBS@,$GPT_CONFIG_PKG_LIBS,;t t
20325
s,@GPT_PGM_LINKS@,$GPT_PGM_LINKS,;t t
20326
s,@GPT_LIB_LINKS@,$GPT_LIB_LINKS,;t t
20327
s,@GPT_LINKTYPE@,$GPT_LINKTYPE,;t t
20328
s,@builddir@,$builddir,;t t
20329
s,@pkgconfdir@,$pkgconfdir,;t t
20330
s,@pkgconffile@,$pkgconffile,;t t
20331
s,@pkgconffile_in@,$pkgconffile_in,;t t
20332
s,@WITHOUT_FLAVORS_TRUE@,$WITHOUT_FLAVORS_TRUE,;t t
20333
s,@WITHOUT_FLAVORS_FALSE@,$WITHOUT_FLAVORS_FALSE,;t t
20334
s,@GLOBUS_FLAVOR_NAME@,$GLOBUS_FLAVOR_NAME,;t t
20335
s,@datarootdir@,$datarootdir,;t t
20338
s,@CFLAGS@,$CFLAGS,;t t
20339
s,@CPPFLAGS@,$CPPFLAGS,;t t
20341
s,@LDFLAGS@,$LDFLAGS,;t t
20343
s,@CXXCPP@,$CXXCPP,;t t
20344
s,@CXXFLAGS@,$CXXFLAGS,;t t
20345
s,@INSURE@,$INSURE,;t t
20346
s,@DOXYGEN@,$DOXYGEN,;t t
20348
s,@F77FLAGS@,$F77FLAGS,;t t
20350
s,@F90FLAGS@,$F90FLAGS,;t t
20352
s,@ARFLAGS@,$ARFLAGS,;t t
20353
s,@RANLIB@,$RANLIB,;t t
20354
s,@PERL@,$PERL,;t t
20355
s,@CROSS@,$CROSS,;t t
20356
s,@cross_compiling@,$cross_compiling,;t t
20357
s,@OBJEXT@,$OBJEXT,;t t
20358
s,@EXEEXT@,$EXEEXT,;t t
20359
s,@OBJECT_MODE@,$OBJECT_MODE,;t t
20360
s,@setupdir@,$setupdir,;t t
20361
s,@testdir@,$testdir,;t t
20362
s,@flavorincludedir@,$flavorincludedir,;t t
20363
s,@pkgdir@,$pkgdir,;t t
20364
s,@aclocaldir@,$aclocaldir,;t t
20365
s,@perlmoduledir@,$perlmoduledir,;t t
20366
s,@doxygendir@,$doxygendir,;t t
20367
s,@FILELIST_FILE@,$FILELIST_FILE,;t t
20368
s,@GPT_MAJOR_VERSION@,$GPT_MAJOR_VERSION,;t t
20369
s,@GPT_MINOR_VERSION@,$GPT_MINOR_VERSION,;t t
20370
s,@GPT_AGE_VERSION@,$GPT_AGE_VERSION,;t t
20371
s,@DIRT_TIMESTAMP@,$DIRT_TIMESTAMP,;t t
20372
s,@DIRT_BRANCH_ID@,$DIRT_BRANCH_ID,;t t
20373
s,@ENABLE_PROGRAMS_TRUE@,$ENABLE_PROGRAMS_TRUE,;t t
20374
s,@ENABLE_PROGRAMS_FALSE@,$ENABLE_PROGRAMS_FALSE,;t t
20375
s,@build@,$build,;t t
20376
s,@build_cpu@,$build_cpu,;t t
20377
s,@build_vendor@,$build_vendor,;t t
20378
s,@build_os@,$build_os,;t t
20379
s,@host@,$host,;t t
20380
s,@host_cpu@,$host_cpu,;t t
20381
s,@host_vendor@,$host_vendor,;t t
20382
s,@host_os@,$host_os,;t t
20383
s,@ac_ct_CC@,$ac_ct_CC,;t t
20385
s,@EGREP@,$EGREP,;t t
20386
s,@LN_S@,$LN_S,;t t
20387
s,@ECHO@,$ECHO,;t t
20388
s,@ac_ct_AR@,$ac_ct_AR,;t t
20389
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20390
s,@STRIP@,$STRIP,;t t
20391
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20392
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20393
s,@FFLAGS@,$FFLAGS,;t t
20394
s,@ac_ct_F77@,$ac_ct_F77,;t t
20395
s,@LIBTOOL@,$LIBTOOL,;t t
20396
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20397
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20398
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20399
s,@CYGPATH_W@,$CYGPATH_W,;t t
20400
s,@PACKAGE@,$PACKAGE,;t t
20401
s,@VERSION@,$VERSION,;t t
20402
s,@ACLOCAL@,$ACLOCAL,;t t
20403
s,@AUTOCONF@,$AUTOCONF,;t t
20404
s,@AUTOMAKE@,$AUTOMAKE,;t t
20405
s,@AUTOHEADER@,$AUTOHEADER,;t t
20406
s,@MAKEINFO@,$MAKEINFO,;t t
20407
s,@install_sh@,$install_sh,;t t
20408
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20409
s,@mkdir_p@,$mkdir_p,;t t
20411
s,@SET_MAKE@,$SET_MAKE,;t t
20412
s,@am__leading_dot@,$am__leading_dot,;t t
20413
s,@AMTAR@,$AMTAR,;t t
20414
s,@am__tar@,$am__tar,;t t
20415
s,@am__untar@,$am__untar,;t t
20416
s,@DEPDIR@,$DEPDIR,;t t
20417
s,@am__include@,$am__include,;t t
20418
s,@am__quote@,$am__quote,;t t
20419
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20420
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20421
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20422
s,@CCDEPMODE@,$CCDEPMODE,;t t
20423
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20424
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20425
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20426
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20427
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20428
s,@DOXYFILE@,$DOXYFILE,;t t
20430
s,@HAVE_DOT@,$HAVE_DOT,;t t
20431
s,@lac_doxygen_srcdirs@,$lac_doxygen_srcdirs,;t t
20432
s,@lac_doxygen_input_filter@,$lac_doxygen_input_filter,;t t
20433
s,@lac_doxygen_project@,$lac_doxygen_project,;t t
20434
s,@lac_doxygen_output_tagfile@,$lac_doxygen_output_tagfile,;t t
20435
s,@lac_doxygen_tagfiles@,$lac_doxygen_tagfiles,;t t
20436
s,@lac_doxygen_internal_tagfiles@,$lac_doxygen_internal_tagfiles,;t t
20437
s,@lac_doxygen_installdox@,$lac_doxygen_installdox,;t t
20438
s,@lac_doxygen_file_patterns@,$lac_doxygen_file_patterns,;t t
20439
s,@lac_doxygen_examples@,$lac_doxygen_examples,;t t
20440
s,@lac_doxygen_predefines@,$lac_doxygen_predefines,;t t
20441
s,@MPIEXEC@,$MPIEXEC,;t t
20442
s,@MPIRUN@,$MPIRUN,;t t
20443
s,@SOFTENV_DIR@,$SOFTENV_DIR,;t t
20444
s,@XSLTPROC@,$XSLTPROC,;t t
20445
s,@XMLLINT@,$XMLLINT,;t t
20446
s,@XML_CATALOG_PATH@,$XML_CATALOG_PATH,;t t
20447
s,@globusstatedir@,$globusstatedir,;t t
20448
s,@SEG_CLAUSE@,$SEG_CLAUSE,;t t
20449
s,@SEG_ENABLED_COND_TRUE@,$SEG_ENABLED_COND_TRUE,;t t
20450
s,@SEG_ENABLED_COND_FALSE@,$SEG_ENABLED_COND_FALSE,;t t
20451
s,@GENERATE_MANPAGES_TRUE@,$GENERATE_MANPAGES_TRUE,;t t
20452
s,@GENERATE_MANPAGES_FALSE@,$GENERATE_MANPAGES_FALSE,;t t
20453
s,@LIBOBJS@,$LIBOBJS,;t t
20454
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20455
/@GLOBUS_LIBDIR_CHOICE@/r $GLOBUS_LIBDIR_CHOICE
20456
s,@GLOBUS_LIBDIR_CHOICE@,,;t t
20457
/@GLOBUS_PERL_LIBDIR_CHOICE@/r $GLOBUS_PERL_LIBDIR_CHOICE
20458
s,@GLOBUS_PERL_LIBDIR_CHOICE@,,;t t
20459
/@GLOBUS_SCRIPT_INITIALIZER@/r $GLOBUS_SCRIPT_INITIALIZER
20460
s,@GLOBUS_SCRIPT_INITIALIZER@,,;t t
20461
/@GLOBUS_PERL_INITIALIZER@/r $GLOBUS_PERL_INITIALIZER
20462
s,@GLOBUS_PERL_INITIALIZER@,,;t t
20467
cat >>$CONFIG_STATUS <<\_ACEOF
20468
# Split the substitutions into bite-sized pieces for seds with
20469
# small command number limits, like on Digital OSF/1 and HP-UX.
20470
ac_max_sed_lines=48
20471
ac_sed_frag=1 # Number of current file.
20472
ac_beg=1 # First line for current file.
20473
ac_end=$ac_max_sed_lines # Line after last line for current file.
20476
while $ac_more_lines; do
20477
if test $ac_beg -gt 1; then
20478
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20480
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20482
if test ! -s $tmp/subs.frag; then
20483
ac_more_lines=false
20485
# The purpose of the label and of the branching condition is to
20486
# speed up the sed processing (if there are no `@' at all, there
20487
# is no need to browse any of the substitutions).
20488
# These are the two extra sed commands mentioned above.
20490
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
20491
if test -z "$ac_sed_cmds"; then
20492
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
20494
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20496
ac_sed_frag=`expr $ac_sed_frag + 1`
20498
ac_end=`expr $ac_end + $ac_max_sed_lines`
20501
if test -z "$ac_sed_cmds"; then
13123
# Set up the scripts for CONFIG_FILES section.
13124
# No need to generate them if there are no CONFIG_FILES.
13125
# This happens for instance with `./config.status config.h'.
13126
if test -n "$CONFIG_FILES"; then
13128
if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
13129
ac_cs_awk_getline=:
13130
ac_cs_awk_pipe_init=
13131
ac_cs_awk_read_file='
13132
while ((getline aline < (F[key])) > 0)
13135
ac_cs_awk_pipe_fini=
13137
ac_cs_awk_getline=false
13138
ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
13139
ac_cs_awk_read_file='
13141
print "cat " F[key] " &&"
13142
'$ac_cs_awk_pipe_init
13143
# The final `:' finishes the AND list.
13144
ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
13147
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13148
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13151
ac_cs_awk_cr=$ac_cr
13154
echo 'BEGIN {' >"$tmp/subs1.awk" &&
13157
# Create commands to substitute file output variables.
13159
echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
13160
echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
13161
echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
13164
} >conf$$files.sh &&
13165
. ./conf$$files.sh ||
13166
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13167
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13168
{ (exit 1); exit 1; }; }
13169
rm -f conf$$files.sh
13172
echo "cat >conf$$subs.awk <<_ACEOF" &&
13173
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13175
} >conf$$subs.sh ||
13176
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13177
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13178
{ (exit 1); exit 1; }; }
13179
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13181
for ac_last_try in false false false false false :; do
13182
. ./conf$$subs.sh ||
13183
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13184
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13185
{ (exit 1); exit 1; }; }
13187
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13188
if test $ac_delim_n = $ac_delim_num; then
13190
elif $ac_last_try; then
13191
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13192
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13193
{ (exit 1); exit 1; }; }
13195
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13198
rm -f conf$$subs.sh
13200
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13201
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13205
s/^/S["/; s/!.*/"]=/
13215
s/\(.\{148\}\).*/\1/
13217
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13222
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13229
s/\(.\{148\}\).*/\1/
13231
s/["\\]/\\&/g; s/^/"/; s/$/"/
13235
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13240
' <conf$$subs.awk | sed '
13245
' >>$CONFIG_STATUS || ac_write_fail=1
13246
rm -f conf$$subs.awk
13247
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13249
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13250
for (key in S) S_is_set[key] = 1
13252
\$ac_cs_awk_pipe_init
13256
nfields = split(line, field, "@")
13258
len = length(field[1])
13259
for (i = 2; i < nfields; i++) {
13261
keylen = length(key)
13262
if (S_is_set[key]) {
13264
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13265
len += length(value) + length(field[++i])
13270
if (nfields == 3 && !substed) {
13272
if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
13273
\$ac_cs_awk_read_file
13279
\$ac_cs_awk_pipe_fini
13282
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13283
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13284
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13287
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13288
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
13289
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
13290
{ (exit 1); exit 1; }; }
13293
# VPATH may cause trouble with some makes, so we remove $(srcdir),
13294
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13295
# trailing colons and then remove the whole line if VPATH becomes empty
13296
# (actually we leave an empty line to preserve line numbers).
13297
if test "x$srcdir" = x.; then
13298
ac_vpsub='/^[ ]*VPATH[ ]*=/{
13299
s/:*\$(srcdir):*/:/
13300
s/:*\${srcdir}:*/:/
13302
s/^\([^=]*=[ ]*\):*/\1/
13308
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20504
13309
fi # test -n "$CONFIG_FILES"
20507
cat >>$CONFIG_STATUS <<\_ACEOF
20508
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
20509
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20511
- | *:- | *:-:* ) # input from stdin
20513
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20514
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20515
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20516
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20517
* ) ac_file_in=$ac_file.in ;;
20520
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20521
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13312
eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
13317
:[FHLC]) ac_mode=$ac_tag; continue;;
13319
case $ac_mode$ac_tag in
13321
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
13322
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
13323
{ (exit 1); exit 1; }; };;
13324
:[FH]-) ac_tag=-:-;;
13325
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13342
-) ac_f="$tmp/stdin";;
13343
*) # Look for the file first in the build tree, then in the source tree
13344
# (if the path is not absolute). The absolute path cannot be DOS-style,
13345
# because $ac_f cannot contain `:'.
13349
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13351
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13352
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13353
{ (exit 1); exit 1; }; };;
13355
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13356
ac_file_inputs="$ac_file_inputs '$ac_f'"
13359
# Let's still pretend it is `configure' which instantiates (i.e., don't
13360
# use $as_me), people would be surprised to read:
13361
# /* config.h. Generated by config.status. */
13362
configure_input='Generated from '`
13363
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13365
if test x"$ac_file" != x-; then
13366
configure_input="$ac_file. $configure_input"
13367
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13368
$as_echo "$as_me: creating $ac_file" >&6;}
13370
# Neutralize special characters interpreted by sed in replacement strings.
13371
case $configure_input in #(
13372
*\&* | *\|* | *\\* )
13373
ac_sed_conf_input=`$as_echo "$configure_input" |
13374
sed 's/[\\\\&|]/\\\\&/g'`;; #(
13375
*) ac_sed_conf_input=$configure_input;;
13379
*:-:* | *:-) cat >"$tmp/stdin" \
13380
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13381
$as_echo "$as_me: error: could not create $ac_file" >&2;}
13382
{ (exit 1); exit 1; }; } ;;
13387
ac_dir=`$as_dirname -- "$ac_file" ||
20522
13388
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20523
13389
X"$ac_file" : 'X\(//\)[^/]' \| \
20524
13390
X"$ac_file" : 'X\(//\)$' \| \
20525
X"$ac_file" : 'X\(/\)' \| \
20526
. : '\(.\)' 2>/dev/null ||
20528
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20529
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
20530
/^X\(\/\/\)$/{ s//\1/; q; }
20531
/^X\(\/\).*/{ s//\1/; q; }
20533
{ if $as_mkdir_p; then
13391
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13392
$as_echo X"$ac_file" |
13393
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13397
/^X\(\/\/\)[^/].*/{
13412
-*) as_dir=./$as_dir;;
13414
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20538
while test ! -d "$as_dir"; do
20539
as_dirs="$as_dir $as_dirs"
20540
as_dir=`(dirname "$as_dir") 2>/dev/null ||
13418
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13419
*) as_qdir=$as_dir;;
13421
as_dirs="'$as_qdir' $as_dirs"
13422
as_dir=`$as_dirname -- "$as_dir" ||
20541
13423
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20542
13424
X"$as_dir" : 'X\(//\)[^/]' \| \
20543
13425
X"$as_dir" : 'X\(//\)$' \| \
20544
X"$as_dir" : 'X\(/\)' \| \
20545
. : '\(.\)' 2>/dev/null ||
20547
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20548
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
20549
/^X\(\/\/\)$/{ s//\1/; q; }
20550
/^X\(\/\).*/{ s//\1/; q; }
13426
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13427
$as_echo X"$as_dir" |
13428
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13432
/^X\(\/\/\)[^/].*/{
13445
test -d "$as_dir" && break
20553
test ! -n "$as_dirs" || mkdir $as_dirs
20554
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20555
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13447
test -z "$as_dirs" || eval "mkdir $as_dirs"
13448
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13449
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
20556
13450
{ (exit 1); exit 1; }; }; }
20558
13451
ac_builddir=.
20560
if test "$ac_dir" != .; then
20561
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20562
# A "../" for each directory in $ac_dir_suffix.
20563
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20565
ac_dir_suffix= ac_top_builddir=
13454
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13456
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13457
# A ".." for each directory in $ac_dir_suffix.
13458
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13459
case $ac_top_builddir_sub in
13460
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13461
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13464
ac_abs_top_builddir=$ac_pwd
13465
ac_abs_builddir=$ac_pwd$ac_dir_suffix
13466
# for backward compatibility:
13467
ac_top_builddir=$ac_top_build_prefix
20568
13469
case $srcdir in
20569
.) # No --srcdir option. We are building in place.
13470
.) # We are building in place.
20571
if test -z "$ac_top_builddir"; then
20574
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20576
[\\/]* | ?:[\\/]* ) # Absolute path.
13472
ac_top_srcdir=$ac_top_builddir_sub
13473
ac_abs_top_srcdir=$ac_pwd ;;
13474
[\\/]* | ?:[\\/]* ) # Absolute name.
20577
13475
ac_srcdir=$srcdir$ac_dir_suffix;
20578
ac_top_srcdir=$srcdir ;;
20579
*) # Relative path.
20580
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20581
ac_top_srcdir=$ac_top_builddir$srcdir ;;
20584
# Do not use `cd foo && pwd` to compute absolute paths, because
20585
# the directories may not exist.
20587
.) ac_abs_builddir="$ac_dir";;
20590
.) ac_abs_builddir=`pwd`;;
20591
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20592
*) ac_abs_builddir=`pwd`/"$ac_dir";;
20595
case $ac_abs_builddir in
20596
.) ac_abs_top_builddir=${ac_top_builddir}.;;
20598
case ${ac_top_builddir}. in
20599
.) ac_abs_top_builddir=$ac_abs_builddir;;
20600
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20601
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20604
case $ac_abs_builddir in
20605
.) ac_abs_srcdir=$ac_srcdir;;
20608
.) ac_abs_srcdir=$ac_abs_builddir;;
20609
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20610
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20613
case $ac_abs_builddir in
20614
.) ac_abs_top_srcdir=$ac_top_srcdir;;
20616
case $ac_top_srcdir in
20617
.) ac_abs_top_srcdir=$ac_abs_builddir;;
20618
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20619
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13476
ac_top_srcdir=$srcdir
13477
ac_abs_top_srcdir=$srcdir ;;
13478
*) # Relative name.
13479
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13480
ac_top_srcdir=$ac_top_build_prefix$srcdir
13481
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13483
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20624
13492
case $INSTALL in
20625
13493
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20626
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
20629
if test x"$ac_file" != x-; then
20630
{ echo "$as_me:$LINENO: creating $ac_file" >&5
20631
echo "$as_me: creating $ac_file" >&6;}
20634
# Let's still pretend it is `configure' which instantiates (i.e., don't
20635
# use $as_me), people would be surprised to read:
20636
# /* config.h. Generated by config.status. */
20637
if test x"$ac_file" = x-; then
20640
configure_input="$ac_file. "
20642
configure_input=$configure_input"Generated from `echo $ac_file_in |
20643
sed 's,.*/,,'` by configure."
20645
# First look for the input files in the build tree, otherwise in the
20647
ac_file_inputs=`IFS=:
20648
for f in $ac_file_in; do
20650
-) echo $tmp/stdin ;;
20652
# Absolute (can't be DOS-style, as IFS=:)
20653
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20654
echo "$as_me: error: cannot find input file: $f" >&2;}
20655
{ (exit 1); exit 1; }; }
20658
if test -f "$f"; then
20661
elif test -f "$srcdir/$f"; then
20666
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20667
echo "$as_me: error: cannot find input file: $f" >&2;}
20668
{ (exit 1); exit 1; }; }
20671
done` || { (exit 1); exit 1; }
20673
cat >>$CONFIG_STATUS <<_ACEOF
13494
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13496
ac_MKDIR_P=$MKDIR_P
13498
[\\/$]* | ?:[\\/]* ) ;;
13499
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13503
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13504
# If the template does not know about datarootdir, expand it.
13505
# FIXME: This hack should be removed a few years after 2.60.
13506
ac_datarootdir_hack=; ac_datarootdir_seen=
13519
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13520
*datarootdir*) ac_datarootdir_seen=yes;;
13521
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13522
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13523
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13525
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13526
ac_datarootdir_hack='
13527
s&@datadir@&$datadir&g
13528
s&@docdir@&$docdir&g
13529
s&@infodir@&$infodir&g
13530
s&@localedir@&$localedir&g
13531
s&@mandir@&$mandir&g
13532
s&\\\${datarootdir}&$datarootdir&g' ;;
13536
# Neutralize VPATH when `$srcdir' = `.'.
13537
# Shell code in configure.ac might set extrasub.
13538
# FIXME: do we really want to maintain this feature?
13539
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13540
ac_sed_extra="$ac_vpsub
20677
cat >>$CONFIG_STATUS <<\_ACEOF
13543
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20679
13545
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20680
s,@configure_input@,$configure_input,;t t
20681
s,@srcdir@,$ac_srcdir,;t t
20682
s,@abs_srcdir@,$ac_abs_srcdir,;t t
20683
s,@top_srcdir@,$ac_top_srcdir,;t t
20684
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
20685
s,@builddir@,$ac_builddir,;t t
20686
s,@abs_builddir@,$ac_abs_builddir,;t t
20687
s,@top_builddir@,$ac_top_builddir,;t t
20688
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
20689
s,@INSTALL@,$ac_INSTALL,;t t
20690
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20692
if test x"$ac_file" != x-; then
20693
mv $tmp/out $ac_file
20701
cat >>$CONFIG_STATUS <<\_ACEOF
20704
# CONFIG_COMMANDS section.
20706
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
20707
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
20708
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
20709
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
20710
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20711
X"$ac_dest" : 'X\(//\)[^/]' \| \
20712
X"$ac_dest" : 'X\(//\)$' \| \
20713
X"$ac_dest" : 'X\(/\)' \| \
20714
. : '\(.\)' 2>/dev/null ||
20716
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20717
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
20718
/^X\(\/\/\)$/{ s//\1/; q; }
20719
/^X\(\/\).*/{ s//\1/; q; }
20721
{ if $as_mkdir_p; then
20726
while test ! -d "$as_dir"; do
20727
as_dirs="$as_dir $as_dirs"
20728
as_dir=`(dirname "$as_dir") 2>/dev/null ||
20729
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20730
X"$as_dir" : 'X\(//\)[^/]' \| \
20731
X"$as_dir" : 'X\(//\)$' \| \
20732
X"$as_dir" : 'X\(/\)' \| \
20733
. : '\(.\)' 2>/dev/null ||
20735
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20736
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
20737
/^X\(\/\/\)$/{ s//\1/; q; }
20738
/^X\(\/\).*/{ s//\1/; q; }
20741
test ! -n "$as_dirs" || mkdir $as_dirs
20742
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20743
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20744
{ (exit 1); exit 1; }; }; }
20748
if test "$ac_dir" != .; then
20749
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20750
# A "../" for each directory in $ac_dir_suffix.
20751
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13546
s|@configure_input@|$ac_sed_conf_input|;t t
13547
s&@top_builddir@&$ac_top_builddir_sub&;t t
13548
s&@top_build_prefix@&$ac_top_build_prefix&;t t
13549
s&@srcdir@&$ac_srcdir&;t t
13550
s&@abs_srcdir@&$ac_abs_srcdir&;t t
13551
s&@top_srcdir@&$ac_top_srcdir&;t t
13552
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13553
s&@builddir@&$ac_builddir&;t t
13554
s&@abs_builddir@&$ac_abs_builddir&;t t
13555
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13556
s&@INSTALL@&$ac_INSTALL&;t t
13557
s&@MKDIR_P@&$ac_MKDIR_P&;t t
13558
$ac_datarootdir_hack
13560
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
13561
if $ac_cs_awk_getline; then
13562
$AWK -f "$tmp/subs.awk"
20753
ac_dir_suffix= ac_top_builddir=
13564
$AWK -f "$tmp/subs.awk" | $SHELL
13566
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13567
$as_echo "$as_me: error: could not create $ac_file" >&2;}
13568
{ (exit 1); exit 1; }; }
13570
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13571
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13572
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13573
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13574
which seems to be undefined. Please make sure it is defined." >&5
13575
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13576
which seems to be undefined. Please make sure it is defined." >&2;}
13580
-) cat "$tmp/out" && rm -f "$tmp/out";;
13581
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13583
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13584
$as_echo "$as_me: error: could not create $ac_file" >&2;}
13585
{ (exit 1); exit 1; }; }
13589
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
13590
$as_echo "$as_me: executing $ac_file commands" >&6;}
13595
case $ac_file$ac_mode in
13598
# See if we are running on zsh, and set the options which allow our
13599
# commands through without removal of \ escapes.
13600
if test -n "${ZSH_VERSION+set}" ; then
13601
setopt NO_GLOB_SUBST
13604
cfgfile="${ofile}T"
13605
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13608
cat <<_LT_EOF >> "$cfgfile"
13611
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13612
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13613
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13614
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
13616
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13617
# 2006, 2007, 2008 Free Software Foundation, Inc.
13618
# Written by Gordon Matzigkeit, 1996
13620
# This file is part of GNU Libtool.
13622
# GNU Libtool is free software; you can redistribute it and/or
13623
# modify it under the terms of the GNU General Public License as
13624
# published by the Free Software Foundation; either version 2 of
13625
# the License, or (at your option) any later version.
13627
# As a special exception to the GNU General Public License,
13628
# if you distribute this file as part of a program or library that
13629
# is built using GNU Libtool, you may include this file under the
13630
# same distribution terms that you use for the rest of that program.
13632
# GNU Libtool is distributed in the hope that it will be useful,
13633
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13634
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13635
# GNU General Public License for more details.
13637
# You should have received a copy of the GNU General Public License
13638
# along with GNU Libtool; see the file COPYING. If not, a copy
13639
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13640
# obtained by writing to the Free Software Foundation, Inc.,
13641
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13644
# The names of the tagged configurations supported by this script.
13647
# ### BEGIN LIBTOOL CONFIG
13649
# Which release of libtool.m4 was used?
13650
macro_version=$macro_version
13651
macro_revision=$macro_revision
13653
# Whether or not to build shared libraries.
13654
build_libtool_libs=$enable_shared
13656
# Whether or not to build static libraries.
13657
build_old_libs=$enable_static
13659
# What type of objects to build.
13662
# Whether or not to optimize for fast installation.
13663
fast_install=$enable_fast_install
13666
host_alias=$host_alias
13670
# The build system.
13671
build_alias=$build_alias
13675
# A sed program that does not truncate output.
13678
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
13679
Xsed="\$SED -e 1s/^X//"
13681
# A grep program that handles long lines.
13687
# A literal string matcher.
13690
# A BSD- or MS-compatible name lister.
13693
# Whether we need soft or hard links.
13696
# What is the maximum length of a command?
13697
max_cmd_len=$max_cmd_len
13699
# Object file suffix (normally "o").
13702
# Executable file suffix (normally "").
13705
# whether the shell understands "unset".
13708
# turn spaces into newlines.
13711
# turn newlines into spaces.
13714
# How to create reloadable object files.
13715
reload_flag=$lt_reload_flag
13716
reload_cmds=$lt_reload_cmds
13718
# An object symbol dumper.
13719
OBJDUMP=$lt_OBJDUMP
13721
# Method to check whether dependent libraries are shared objects.
13722
deplibs_check_method=$lt_deplibs_check_method
13724
# Command to use when deplibs_check_method == "file_magic".
13725
file_magic_cmd=$lt_file_magic_cmd
13729
AR_FLAGS=$lt_AR_FLAGS
13731
# A symbol stripping program.
13734
# Commands used to install an old-style archive.
13736
old_postinstall_cmds=$lt_old_postinstall_cmds
13737
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13742
# LTCC compiler flags.
13743
LTCFLAGS=$lt_CFLAGS
13745
# Take the output of nm and produce a listing of raw symbols and C names.
13746
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13748
# Transform the output of nm in a proper C declaration.
13749
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13751
# Transform the output of nm in a C name address pair.
13752
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13754
# Transform the output of nm in a C name address pair when lib prefix is needed.
13755
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13757
# The name of the directory that contains temporary libtool files.
13760
# Shell to use when invoking shell scripts.
13763
# An echo program that does not interpret backslashes.
13766
# Used to examine libraries when file_magic_cmd begins with "file".
13767
MAGIC_CMD=$MAGIC_CMD
13769
# Must we lock files when doing compilation?
13770
need_locks=$lt_need_locks
13772
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13773
DSYMUTIL=$lt_DSYMUTIL
13775
# Tool to change global to local symbols on Mac OS X.
13778
# Tool to manipulate fat objects and archives on Mac OS X.
13781
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
13784
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13785
OTOOL64=$lt_OTOOL64
13787
# Old archive suffix (normally "a").
13790
# Shared library suffix (normally ".so").
13791
shrext_cmds=$lt_shrext_cmds
13793
# The commands to extract the exported symbol list from a shared archive.
13794
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13796
# Variables whose values should be saved in libtool wrapper scripts and
13797
# restored at link time.
13798
variables_saved_for_relink=$lt_variables_saved_for_relink
13800
# Do we need the "lib" prefix for modules?
13801
need_lib_prefix=$need_lib_prefix
13803
# Do we need a version for libraries?
13804
need_version=$need_version
13806
# Library versioning type.
13807
version_type=$version_type
13809
# Shared library runtime path variable.
13810
runpath_var=$runpath_var
13812
# Shared library path variable.
13813
shlibpath_var=$shlibpath_var
13815
# Is shlibpath searched before the hard-coded library search path?
13816
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13818
# Format of library name prefix.
13819
libname_spec=$lt_libname_spec
13821
# List of archive names. First name is the real one, the rest are links.
13822
# The last name is the one that the linker finds with -lNAME
13823
library_names_spec=$lt_library_names_spec
13825
# The coded name of the library, if different from the real name.
13826
soname_spec=$lt_soname_spec
13828
# Command to use after installation of a shared archive.
13829
postinstall_cmds=$lt_postinstall_cmds
13831
# Command to use after uninstallation of a shared archive.
13832
postuninstall_cmds=$lt_postuninstall_cmds
13834
# Commands used to finish a libtool library installation in a directory.
13835
finish_cmds=$lt_finish_cmds
13837
# As "finish_cmds", except a single script fragment to be evaled but
13839
finish_eval=$lt_finish_eval
13841
# Whether we should hardcode library paths into libraries.
13842
hardcode_into_libs=$hardcode_into_libs
13844
# Compile-time system search path for libraries.
13845
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13847
# Run-time system search path for libraries.
13848
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13850
# Whether dlopen is supported.
13851
dlopen_support=$enable_dlopen
13853
# Whether dlopen of programs is supported.
13854
dlopen_self=$enable_dlopen_self
13856
# Whether dlopen of statically linked programs is supported.
13857
dlopen_self_static=$enable_dlopen_self_static
13859
# Commands to strip libraries.
13860
old_striplib=$lt_old_striplib
13861
striplib=$lt_striplib
13864
# The linker used to build libraries.
13867
# Commands used to build an old-style archive.
13868
old_archive_cmds=$lt_old_archive_cmds
13870
# A language specific compiler.
13873
# Is the compiler the GNU compiler?
13876
# Compiler flag to turn off builtin functions.
13877
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13879
# How to pass a linker flag through the compiler.
13880
wl=$lt_lt_prog_compiler_wl
13882
# Additional compiler flags for building library objects.
13883
pic_flag=$lt_lt_prog_compiler_pic
13885
# Compiler flag to prevent dynamic linking.
13886
link_static_flag=$lt_lt_prog_compiler_static
13888
# Does compiler simultaneously support -c and -o options?
13889
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13891
# Whether or not to add -lc for building shared libraries.
13892
build_libtool_need_lc=$archive_cmds_need_lc
13894
# Whether or not to disallow shared libs when runtime libs are static.
13895
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13897
# Compiler flag to allow reflexive dlopens.
13898
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13900
# Compiler flag to generate shared objects directly from archives.
13901
whole_archive_flag_spec=$lt_whole_archive_flag_spec
13903
# Whether the compiler copes with passing no objects directly.
13904
compiler_needs_object=$lt_compiler_needs_object
13906
# Create an old-style archive from a shared archive.
13907
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13909
# Create a temporary old-style archive to link instead of a shared archive.
13910
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13912
# Commands used to build a shared archive.
13913
archive_cmds=$lt_archive_cmds
13914
archive_expsym_cmds=$lt_archive_expsym_cmds
13916
# Commands used to build a loadable module if different from building
13917
# a shared archive.
13918
module_cmds=$lt_module_cmds
13919
module_expsym_cmds=$lt_module_expsym_cmds
13921
# Whether we are building with GNU ld or not.
13922
with_gnu_ld=$lt_with_gnu_ld
13924
# Flag that allows shared libraries with undefined symbols to be built.
13925
allow_undefined_flag=$lt_allow_undefined_flag
13927
# Flag that enforces no undefined symbols.
13928
no_undefined_flag=$lt_no_undefined_flag
13930
# Flag to hardcode \$libdir into a binary during linking.
13931
# This must work even if \$libdir does not exist
13932
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13934
# If ld is used when linking, flag to hardcode \$libdir into a binary
13935
# during linking. This must work even if \$libdir does not exist.
13936
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13938
# Whether we need a single "-rpath" flag with a separated argument.
13939
hardcode_libdir_separator=$lt_hardcode_libdir_separator
13941
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13942
# DIR into the resulting binary.
13943
hardcode_direct=$hardcode_direct
13945
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13946
# DIR into the resulting binary and the resulting library dependency is
13947
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13948
# library is relocated.
13949
hardcode_direct_absolute=$hardcode_direct_absolute
13951
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13952
# into the resulting binary.
13953
hardcode_minus_L=$hardcode_minus_L
13955
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13956
# into the resulting binary.
13957
hardcode_shlibpath_var=$hardcode_shlibpath_var
13959
# Set to "yes" if building a shared library automatically hardcodes DIR
13960
# into the library and all subsequent libraries and executables linked
13962
hardcode_automatic=$hardcode_automatic
13964
# Set to yes if linker adds runtime paths of dependent libraries
13965
# to runtime path list.
13966
inherit_rpath=$inherit_rpath
13968
# Whether libtool must link a program against all its dependency libraries.
13969
link_all_deplibs=$link_all_deplibs
13971
# Fix the shell variable \$srcfile for the compiler.
13972
fix_srcfile_path=$lt_fix_srcfile_path
13974
# Set to "yes" if exported symbols are required.
13975
always_export_symbols=$always_export_symbols
13977
# The commands to list exported symbols.
13978
export_symbols_cmds=$lt_export_symbols_cmds
13980
# Symbols that should not be listed in the preloaded symbols.
13981
exclude_expsyms=$lt_exclude_expsyms
13983
# Symbols that must always be exported.
13984
include_expsyms=$lt_include_expsyms
13986
# Commands necessary for linking programs (against libraries) with templates.
13987
prelink_cmds=$lt_prelink_cmds
13989
# Specify filename containing input files.
13990
file_list_spec=$lt_file_list_spec
13992
# How to hardcode a shared library path into an executable.
13993
hardcode_action=$hardcode_action
13995
# ### END LIBTOOL CONFIG
14001
cat <<\_LT_EOF >> "$cfgfile"
14002
# AIX sometimes has problems with the GCC collect2 program. For some
14003
# reason, if we set the COLLECT_NAMES environment variable, the problems
14004
# vanish in a puff of smoke.
14005
if test "X${COLLECT_NAMES+set}" != Xset; then
14007
export COLLECT_NAMES
20757
.) # No --srcdir option. We are building in place.
20759
if test -z "$ac_top_builddir"; then
20762
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20764
[\\/]* | ?:[\\/]* ) # Absolute path.
20765
ac_srcdir=$srcdir$ac_dir_suffix;
20766
ac_top_srcdir=$srcdir ;;
20767
*) # Relative path.
20768
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20769
ac_top_srcdir=$ac_top_builddir$srcdir ;;
20772
# Do not use `cd foo && pwd` to compute absolute paths, because
20773
# the directories may not exist.
20775
.) ac_abs_builddir="$ac_dir";;
20778
.) ac_abs_builddir=`pwd`;;
20779
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20780
*) ac_abs_builddir=`pwd`/"$ac_dir";;
20783
case $ac_abs_builddir in
20784
.) ac_abs_top_builddir=${ac_top_builddir}.;;
20786
case ${ac_top_builddir}. in
20787
.) ac_abs_top_builddir=$ac_abs_builddir;;
20788
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20789
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20792
case $ac_abs_builddir in
20793
.) ac_abs_srcdir=$ac_srcdir;;
20796
.) ac_abs_srcdir=$ac_abs_builddir;;
20797
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20798
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20801
case $ac_abs_builddir in
20802
.) ac_abs_top_srcdir=$ac_top_srcdir;;
20804
case $ac_top_srcdir in
20805
.) ac_abs_top_srcdir=$ac_abs_builddir;;
20806
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20807
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20812
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20813
echo "$as_me: executing $ac_dest commands" >&6;}
20815
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
20816
# Strip MF so we end up with the name of the file.
20817
mf=`echo "$mf" | sed -e 's/:.*$//'`
20818
# Check whether this is an Automake generated Makefile or not.
20819
# We used to match only the files named `Makefile.in', but
20820
# some people rename them; so instead we look at the file content.
20821
# Grep'ing the first line is not enough: some people post-process
20822
# each Makefile.in and add a new line on top of each file to say so.
20823
# So let's grep whole file.
20824
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
20825
dirpart=`(dirname "$mf") 2>/dev/null ||
14014
ltmain="$ac_aux_dir/ltmain.sh"
14017
# We use sed instead of cat because bash on DJGPP gets confused if
14018
# if finds mixed CR/LF and LF-only lines. Since sed operates in
14019
# text mode, it properly converts lines to CR/LF. This bash problem
14020
# is reportedly fixed, but why not run on old versions too?
14021
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14022
|| (rm -f "$cfgfile"; exit 1)
14026
cat << \_LT_EOF >> "$cfgfile"
14028
# func_dirname file append nondir_replacement
14029
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
14030
# otherwise set result to NONDIR_REPLACEMENT.
14034
*/*) func_dirname_result="${1%/*}${2}" ;;
14035
* ) func_dirname_result="${3}" ;;
14039
# func_basename file
14042
func_basename_result="${1##*/}"
14045
# func_dirname_and_basename file append nondir_replacement
14046
# perform func_basename and func_dirname in a single function
14048
# dirname: Compute the dirname of FILE. If nonempty,
14049
# add APPEND to the result, otherwise set result
14050
# to NONDIR_REPLACEMENT.
14051
# value returned in "$func_dirname_result"
14052
# basename: Compute filename of FILE.
14053
# value retuned in "$func_basename_result"
14054
# Implementation must be kept synchronized with func_dirname
14055
# and func_basename. For efficiency, we do not delegate to
14056
# those functions but instead duplicate the functionality here.
14057
func_dirname_and_basename ()
14060
*/*) func_dirname_result="${1%/*}${2}" ;;
14061
* ) func_dirname_result="${3}" ;;
14063
func_basename_result="${1##*/}"
14066
# func_stripname prefix suffix name
14067
# strip PREFIX and SUFFIX off of NAME.
14068
# PREFIX and SUFFIX must not contain globbing or regex special
14069
# characters, hashes, percent signs, but SUFFIX may contain a leading
14070
# dot (in which case that matches only a dot).
14073
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14074
# positional parameters, so assign one to ordinary parameter first.
14075
func_stripname_result=${3}
14076
func_stripname_result=${func_stripname_result#"${1}"}
14077
func_stripname_result=${func_stripname_result%"${2}"}
14083
func_opt_split_opt=${1%%=*}
14084
func_opt_split_arg=${1#*=}
14091
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14092
*) func_lo2o_result=${1} ;;
14096
# func_xform libobj-or-source
14099
func_xform_result=${1%.*}.lo
14102
# func_arith arithmetic-term...
14105
func_arith_result=$(( $* ))
14109
# STRING may not start with a hyphen.
14112
func_len_result=${#1}
14117
*) # Bourne compatible functions.
14118
cat << \_LT_EOF >> "$cfgfile"
14120
# func_dirname file append nondir_replacement
14121
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
14122
# otherwise set result to NONDIR_REPLACEMENT.
14125
# Extract subdirectory from the argument.
14126
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14127
if test "X$func_dirname_result" = "X${1}"; then
14128
func_dirname_result="${3}"
14130
func_dirname_result="$func_dirname_result${2}"
14134
# func_basename file
14137
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14141
# func_stripname prefix suffix name
14142
# strip PREFIX and SUFFIX off of NAME.
14143
# PREFIX and SUFFIX must not contain globbing or regex special
14144
# characters, hashes, percent signs, but SUFFIX may contain a leading
14145
# dot (in which case that matches only a dot).
14146
# func_strip_suffix prefix name
14150
.*) func_stripname_result=`$ECHO "X${3}" \
14151
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14152
*) func_stripname_result=`$ECHO "X${3}" \
14153
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14158
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14159
my_sed_long_arg='1s/^-[^=]*=//'
14164
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14165
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14171
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14174
# func_xform libobj-or-source
14177
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14180
# func_arith arithmetic-term...
14183
func_arith_result=`expr "$@"`
14187
# STRING may not start with a hyphen.
14190
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14196
case $lt_shell_append in
14198
cat << \_LT_EOF >> "$cfgfile"
14200
# func_append var value
14201
# Append VALUE to the end of shell variable VAR.
14209
cat << \_LT_EOF >> "$cfgfile"
14211
# func_append var value
14212
# Append VALUE to the end of shell variable VAR.
14223
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14224
|| (rm -f "$cfgfile"; exit 1)
14226
mv -f "$cfgfile" "$ofile" ||
14227
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14231
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14232
# Autoconf 2.62 quotes --file arguments for eval, but not when files
14233
# are listed without --file. Let's play safe and only enable the eval
14234
# if we detect the quoting.
14235
case $CONFIG_FILES in
14236
*\'*) eval set x "$CONFIG_FILES" ;;
14237
*) set x $CONFIG_FILES ;;
14242
# Strip MF so we end up with the name of the file.
14243
mf=`echo "$mf" | sed -e 's/:.*$//'`
14244
# Check whether this is an Automake generated Makefile or not.
14245
# We used to match only the files named `Makefile.in', but
14246
# some people rename them; so instead we look at the file content.
14247
# Grep'ing the first line is not enough: some people post-process
14248
# each Makefile.in and add a new line on top of each file to say so.
14249
# Grep'ing the whole file is not good either: AIX grep has a line
14250
# limit of 2048, but all sed's we know have understand at least 4000.
14251
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14252
dirpart=`$as_dirname -- "$mf" ||
20826
14253
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20827
14254
X"$mf" : 'X\(//\)[^/]' \| \
20828
14255
X"$mf" : 'X\(//\)$' \| \
20829
X"$mf" : 'X\(/\)' \| \
20830
. : '\(.\)' 2>/dev/null ||
20832
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20833
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
20834
/^X\(\/\/\)$/{ s//\1/; q; }
20835
/^X\(\/\).*/{ s//\1/; q; }
20840
# Extract the definition of DEPDIR, am__include, and am__quote
20841
# from the Makefile without running `make'.
20842
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20843
test -z "$DEPDIR" && continue
20844
am__include=`sed -n 's/^am__include = //p' < "$mf"`
20845
test -z "am__include" && continue
20846
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20847
# When using ansi2knr, U may be empty or an underscore; expand it
20848
U=`sed -n 's/^U = //p' < "$mf"`
20849
# Find all dependency output files, they are included files with
20850
# $(DEPDIR) in their names. We invoke sed twice because it is the
20851
# simplest approach to changing $(DEPDIR) to its actual value in the
20853
for file in `sed -n "
20854
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20855
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20856
# Make sure the directory exists.
20857
test -f "$dirpart/$file" && continue
20858
fdir=`(dirname "$file") 2>/dev/null ||
14256
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14258
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14262
/^X\(\/\/\)[^/].*/{
14278
# Extract the definition of DEPDIR, am__include, and am__quote
14279
# from the Makefile without running `make'.
14280
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14281
test -z "$DEPDIR" && continue
14282
am__include=`sed -n 's/^am__include = //p' < "$mf"`
14283
test -z "am__include" && continue
14284
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14285
# When using ansi2knr, U may be empty or an underscore; expand it
14286
U=`sed -n 's/^U = //p' < "$mf"`
14287
# Find all dependency output files, they are included files with
14288
# $(DEPDIR) in their names. We invoke sed twice because it is the
14289
# simplest approach to changing $(DEPDIR) to its actual value in the
14291
for file in `sed -n "
14292
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14293
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14294
# Make sure the directory exists.
14295
test -f "$dirpart/$file" && continue
14296
fdir=`$as_dirname -- "$file" ||
20859
14297
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20860
14298
X"$file" : 'X\(//\)[^/]' \| \
20861
14299
X"$file" : 'X\(//\)$' \| \
20862
X"$file" : 'X\(/\)' \| \
20863
. : '\(.\)' 2>/dev/null ||
20865
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20866
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
20867
/^X\(\/\/\)$/{ s//\1/; q; }
20868
/^X\(\/\).*/{ s//\1/; q; }
20870
{ if $as_mkdir_p; then
20871
mkdir -p $dirpart/$fdir
20873
as_dir=$dirpart/$fdir
14300
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14301
$as_echo X"$file" |
14302
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14306
/^X\(\/\/\)[^/].*/{
14319
{ as_dir=$dirpart/$fdir
14321
-*) as_dir=./$as_dir;;
14323
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20875
while test ! -d "$as_dir"; do
20876
as_dirs="$as_dir $as_dirs"
20877
as_dir=`(dirname "$as_dir") 2>/dev/null ||
14327
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14328
*) as_qdir=$as_dir;;
14330
as_dirs="'$as_qdir' $as_dirs"
14331
as_dir=`$as_dirname -- "$as_dir" ||
20878
14332
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20879
14333
X"$as_dir" : 'X\(//\)[^/]' \| \
20880
14334
X"$as_dir" : 'X\(//\)$' \| \
20881
X"$as_dir" : 'X\(/\)' \| \
20882
. : '\(.\)' 2>/dev/null ||
20884
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20885
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
20886
/^X\(\/\/\)$/{ s//\1/; q; }
20887
/^X\(\/\).*/{ s//\1/; q; }
14335
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14336
$as_echo X"$as_dir" |
14337
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14341
/^X\(\/\/\)[^/].*/{
14354
test -d "$as_dir" && break
20890
test ! -n "$as_dirs" || mkdir $as_dirs
20891
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
20892
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
14356
test -z "$as_dirs" || eval "mkdir $as_dirs"
14357
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14358
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
20893
14359
{ (exit 1); exit 1; }; }; }
20895
# echo "creating $dirpart/$file"
20896
echo '# dummy' > "$dirpart/$file"
14360
# echo "creating $dirpart/$file"
14361
echo '# dummy' > "$dirpart/$file"
20904
cat >>$CONFIG_STATUS <<\_ACEOF
20906
14371
{ (exit 0); exit 0; }
20908
14373
chmod +x $CONFIG_STATUS
20909
14374
ac_clean_files=$ac_clean_files_save
14376
test $ac_write_fail = 0 ||
14377
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14378
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14379
{ (exit 1); exit 1; }; }
20912
14382
# configure is writing to config.log, and then calls config.status.
20913
14383
# config.status does its own redirection, appending to config.log.