6705
6707
mingw* | pw32*)
6706
6708
# Base MSYS/MinGW do not provide the 'file' command needed by
6707
# func_win32_libid shell function, so use a weaker test based on 'objdump'.
6708
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6709
lt_cv_file_magic_cmd='$OBJDUMP -f'
6709
# func_win32_libid shell function, so use a weaker test based on 'objdump',
6710
# unless we find 'file', for example because we are cross-compiling.
6711
if ( file / ) >/dev/null 2>&1; then
6712
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6713
lt_cv_file_magic_cmd='func_win32_libid'
6715
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6716
lt_cv_file_magic_cmd='$OBJDUMP -f'
6712
6720
darwin* | rhapsody*)
6713
6721
lt_cv_deplibs_check_method=pass_all
6716
freebsd* | kfreebsd*-gnu | dragonfly*)
6724
freebsd* | dragonfly*)
6717
6725
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6718
6726
case $host_cpu in
7798
# If test is not a shell built-in, we'll probably end up computing a
7799
# maximum length that is only half of the actual maximum length, but
7801
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7802
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7818
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7819
if test -n "$lt_cv_sys_max_cmd_len"; then
7820
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7821
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7823
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7824
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7803
7825
= "XX$teststring") >/dev/null 2>&1 &&
7804
new_result=`expr "X$teststring" : ".*" 2>&1` &&
7805
lt_cv_sys_max_cmd_len=$new_result &&
7806
test $i != 17 # 1/2 MB should be enough
7809
teststring=$teststring$teststring
7812
# Add a significant safety factor because C++ compilers can tack on massive
7813
# amounts of additional arguments before passing them to the linker.
7814
# It appears as though 1/2 is a usable value.
7815
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7826
new_result=`expr "X$teststring" : ".*" 2>&1` &&
7827
lt_cv_sys_max_cmd_len=$new_result &&
7828
test $i != 17 # 1/2 MB should be enough
7831
teststring=$teststring$teststring
7834
# Add a significant safety factor because C++ compilers can tack on massive
7835
# amounts of additional arguments before passing them to the linker.
7836
# It appears as though 1/2 is a usable value.
7837
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9291
9337
ifc* | ifort*) # Intel Fortran compiler
9292
9338
tmp_addflag=' -nofor_main' ;;
9294
archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9340
case `$CC -V 2>&1 | sed 5q` in
9341
*Sun\ C*) # Sun C 5.9
9342
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
9343
tmp_sharedflag='-G' ;;
9344
*Sun\ F*) # Sun Fortran 8.3
9345
tmp_sharedflag='-G' ;;
9347
tmp_sharedflag='-shared' ;;
9349
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9296
9351
if test $supports_anon_versioning = yes; then
9297
9352
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9298
9353
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9299
9354
$echo "local: *; };" >> $output_objdir/$libname.ver~
9300
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9355
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9689
9758
case $cc_basename in
9691
9760
output_verbose_link_cmd='echo'
9692
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
9761
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9693
9762
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9694
9763
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9695
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9764
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9696
9765
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9858
hardcode_shlibpath_var=no
9859
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9860
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9861
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9862
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9863
export_dynamic_flag_spec='${wl}-E'
9926
if test -f /usr/libexec/ld.so; then
9928
hardcode_shlibpath_var=no
9929
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9930
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9931
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9932
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9933
export_dynamic_flag_spec='${wl}-E'
9936
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9937
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9938
hardcode_libdir_flag_spec='-R$libdir'
9941
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9942
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9866
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9867
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9868
hardcode_libdir_flag_spec='-R$libdir'
9871
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9872
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9930
10003
case $host_os in
9931
10004
solaris2.[0-5] | solaris2.[0-5].*) ;;
9933
# The compiler driver will combine linker options so we
9934
# cannot just pass the convience library names through
9935
# without $wl, iff we do not link with $LD.
9936
# Luckily, gcc supports the same syntax we need for Sun Studio.
10006
# The compiler driver will combine and reorder linker options,
10007
# but understands `-z linker_flag'. GCC discards it without `$wl',
10008
# but is careful enough not to reorder.
9937
10009
# Supported since Solaris 2.6 (maybe 2.5.1?)
9940
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
9942
whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
10010
if test "$GCC" = yes; then
10011
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10013
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9945
10017
link_all_deplibs=yes
10132
10204
version_type=none
10133
10205
dynamic_linker="$host_os ld.so"
10134
10206
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10135
10208
if test "$GCC" = yes; then
10136
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10137
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
10210
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10211
*) lt_awk_arg="/^libraries:/" ;;
10213
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10214
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
10138
10215
# if the path contains ";" then we assume it to be the separator
10139
10216
# otherwise default to the standard path separator (i.e. ":") - it is
10140
10217
# assumed that no part of a normal pathname contains ";" but that should
10141
10218
# okay in the real world where ";" in dirpaths is itself problematic.
10142
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10219
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10144
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10221
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10223
# Ok, now we have the path, separated by spaces, we can step through it
10224
# and add multilib dir if necessary.
10225
lt_tmp_lt_search_path_spec=
10226
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10227
for lt_sys_path in $lt_search_path_spec; do
10228
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10229
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10231
test -d "$lt_sys_path" && \
10232
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10235
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
10236
BEGIN {RS=" "; FS="/|\n";} {
10239
for (lt_i = NF; lt_i > 0; lt_i--) {
10240
if ($lt_i != "" && $lt_i != ".") {
10241
if ($lt_i == "..") {
10244
if (lt_count == 0) {
10245
lt_foo="/" $lt_i lt_foo;
10252
if (lt_foo != "") { lt_freq[lt_foo]++; }
10253
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10255
sys_lib_search_path_spec=`echo $lt_search_path_spec`
10147
10257
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10504
10598
# Some rework will be needed to allow for fast_install
10505
10599
# before this can be enabled.
10506
10600
hardcode_into_libs=yes
10508
# find out which ABI we are using
10510
case "$host_cpu" in
10511
x86_64*|s390x*|powerpc64*)
10512
echo '#line 10512 "configure"' > conftest.$ac_ext
10513
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10514
(eval $ac_compile) 2>&5
10516
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517
(exit $ac_status); }; then
10518
case `/usr/bin/file conftest.$ac_objext` in
10521
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
10601
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10602
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10529
10604
# Append ld.so.conf contents to the search path
10530
10605
if test -f /etc/ld.so.conf; then
10531
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/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10532
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
10606
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10607
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10535
10610
# We used to test for /lib/ld.so.1 and disable shared libraries on
12749
12832
case $cc_basename in
12751
12834
output_verbose_link_cmd='echo'
12752
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'
12835
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12753
12836
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12754
12837
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12755
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}'
12838
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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12756
12839
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}'
13025
13106
# dependencies.
13026
13107
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'
13110
case `$CC -V 2>&1 | sed 5q` in
13113
no_undefined_flag_CXX=' -zdefs'
13114
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13115
archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13116
hardcode_libdir_flag_spec_CXX='-R$libdir'
13117
whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13119
# Not sure whether something based on
13120
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13122
output_verbose_link_cmd='echo'
13124
# Archives containing C++ object files must be created using
13125
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13126
# necessary to make sure instantiated templates are included
13128
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13063
13167
ld_shlibs_CXX=no
13066
hardcode_direct_CXX=yes
13067
hardcode_shlibpath_var_CXX=no
13068
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13069
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13070
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13071
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13072
export_dynamic_flag_spec_CXX='${wl}-E'
13073
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13170
if test -f /usr/libexec/ld.so; then
13171
hardcode_direct_CXX=yes
13172
hardcode_shlibpath_var_CXX=no
13173
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13174
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13175
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13176
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13177
export_dynamic_flag_spec_CXX='${wl}-E'
13178
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13180
output_verbose_link_cmd='echo'
13075
output_verbose_link_cmd='echo'
13078
13186
case $cc_basename in
13488
13597
postdeps_CXX=
13601
case `$CC -V 2>&1 | sed 5q` in
13605
# The more standards-conforming stlport4 library is
13606
# incompatible with the Cstd library. Avoid specifying
13607
# it if it's in CXXFLAGS. Ignore libCrun as
13608
# -library=stlport4 depends on it.
13609
case " $CXX $CXXFLAGS " in
13610
*" -library=stlport4 "*)
13611
solaris_use_stlport4=yes
13614
if test "$solaris_use_stlport4" != yes; then
13615
postdeps_CXX='-library=Cstd -library=Crun'
13492
13622
case $cc_basename in
13624
# The more standards-conforming stlport4 library is
13625
# incompatible with the Cstd library. Avoid specifying
13626
# it if it's in CXXFLAGS. Ignore libCrun as
13627
# -library=stlport4 depends on it.
13628
case " $CXX $CXXFLAGS " in
13629
*" -library=stlport4 "*)
13630
solaris_use_stlport4=yes
13494
13634
# Adding this requires a known-good setup of shared libraries for
13495
13635
# Sun compiler versions before 5.6, else PIC objects from an old
13496
13636
# archive will be linked into the output, leading to subtle bugs.
13497
postdeps_CXX='-lCstd -lCrun'
13637
if test "$solaris_use_stlport4" != yes; then
13638
postdeps_CXX='-library=Cstd -library=Crun'
14072
14224
version_type=none
14073
14225
dynamic_linker="$host_os ld.so"
14074
14226
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14075
if test "$GCC" = yes; then
14076
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14077
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14078
# if the path contains ";" then we assume it to be the separator
14079
# otherwise default to the standard path separator (i.e. ":") - it is
14080
# assumed that no part of a normal pathname contains ";" but that should
14081
# okay in the real world where ";" in dirpaths is itself problematic.
14082
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14084
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14087
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14089
14228
need_lib_prefix=unknown
14090
14229
hardcode_into_libs=no
14444
14566
# Some rework will be needed to allow for fast_install
14445
14567
# before this can be enabled.
14446
14568
hardcode_into_libs=yes
14448
# find out which ABI we are using
14450
case "$host_cpu" in
14451
x86_64*|s390x*|powerpc64*)
14452
echo '#line 14452 "configure"' > conftest.$ac_ext
14453
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14454
(eval $ac_compile) 2>&5
14456
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457
(exit $ac_status); }; then
14458
case `/usr/bin/file conftest.$ac_objext` in
14461
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14569
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14570
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14469
14572
# Append ld.so.conf contents to the search path
14470
14573
if test -f /etc/ld.so.conf; then
14471
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/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14472
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14574
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14575
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14475
14578
# We used to test for /lib/ld.so.1 and disable shared libraries on
15855
15980
ifc* | ifort*) # Intel Fortran compiler
15856
15981
tmp_addflag=' -nofor_main' ;;
15858
archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15983
case `$CC -V 2>&1 | sed 5q` in
15984
*Sun\ C*) # Sun C 5.9
15985
whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15986
tmp_sharedflag='-G' ;;
15987
*Sun\ F*) # Sun Fortran 8.3
15988
tmp_sharedflag='-G' ;;
15990
tmp_sharedflag='-shared' ;;
15992
archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15860
15994
if test $supports_anon_versioning = yes; then
15861
15995
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15862
15996
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15863
15997
$echo "local: *; };" >> $output_objdir/$libname.ver~
15864
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15998
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15867
16001
ld_shlibs_F77=no
16233
16381
case $cc_basename in
16235
16383
output_verbose_link_cmd='echo'
16236
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16384
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16237
16385
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16238
16386
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16239
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}'
16387
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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16240
16388
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}'
16401
hardcode_direct_F77=yes
16402
hardcode_shlibpath_var_F77=no
16403
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16404
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16405
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16406
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16407
export_dynamic_flag_spec_F77='${wl}-E'
16549
if test -f /usr/libexec/ld.so; then
16550
hardcode_direct_F77=yes
16551
hardcode_shlibpath_var_F77=no
16552
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16553
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16554
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16555
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16556
export_dynamic_flag_spec_F77='${wl}-E'
16559
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16560
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16561
hardcode_libdir_flag_spec_F77='-R$libdir'
16564
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16565
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16410
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16411
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16412
hardcode_libdir_flag_spec_F77='-R$libdir'
16415
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16416
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16474
16626
case $host_os in
16475
16627
solaris2.[0-5] | solaris2.[0-5].*) ;;
16477
# The compiler driver will combine linker options so we
16478
# cannot just pass the convience library names through
16479
# without $wl, iff we do not link with $LD.
16480
# Luckily, gcc supports the same syntax we need for Sun Studio.
16629
# The compiler driver will combine and reorder linker options,
16630
# but understands `-z linker_flag'. GCC discards it without `$wl',
16631
# but is careful enough not to reorder.
16481
16632
# Supported since Solaris 2.6 (maybe 2.5.1?)
16484
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
16486
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' ;;
16633
if test "$GCC" = yes; then
16634
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16636
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
16489
16640
link_all_deplibs_F77=yes
16676
16827
version_type=none
16677
16828
dynamic_linker="$host_os ld.so"
16678
16829
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16679
if test "$GCC" = yes; then
16680
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16681
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16682
# if the path contains ";" then we assume it to be the separator
16683
# otherwise default to the standard path separator (i.e. ":") - it is
16684
# assumed that no part of a normal pathname contains ";" but that should
16685
# okay in the real world where ";" in dirpaths is itself problematic.
16686
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16688
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16691
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16693
16831
need_lib_prefix=unknown
16694
16832
hardcode_into_libs=no
17048
17169
# Some rework will be needed to allow for fast_install
17049
17170
# before this can be enabled.
17050
17171
hardcode_into_libs=yes
17052
# find out which ABI we are using
17054
case "$host_cpu" in
17055
x86_64*|s390x*|powerpc64*)
17056
echo '#line 17056 "configure"' > conftest.$ac_ext
17057
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17058
(eval $ac_compile) 2>&5
17060
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061
(exit $ac_status); }; then
17062
case `/usr/bin/file conftest.$ac_objext` in
17065
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17172
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17173
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17073
17175
# Append ld.so.conf contents to the search path
17074
17176
if test -f /etc/ld.so.conf; then
17075
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/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17076
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17177
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17178
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
17079
17181
# We used to test for /lib/ld.so.1 and disable shared libraries on
18446
18563
ifc* | ifort*) # Intel Fortran compiler
18447
18564
tmp_addflag=' -nofor_main' ;;
18449
archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18566
case `$CC -V 2>&1 | sed 5q` in
18567
*Sun\ C*) # Sun C 5.9
18568
whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18569
tmp_sharedflag='-G' ;;
18570
*Sun\ F*) # Sun Fortran 8.3
18571
tmp_sharedflag='-G' ;;
18573
tmp_sharedflag='-shared' ;;
18575
archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18451
18577
if test $supports_anon_versioning = yes; then
18452
18578
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18453
18579
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18454
18580
$echo "local: *; };" >> $output_objdir/$libname.ver~
18455
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18581
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18458
18584
ld_shlibs_GCJ=no
18844
18984
case $cc_basename in
18846
18986
output_verbose_link_cmd='echo'
18847
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
18987
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18848
18988
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18849
18989
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18850
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}'
18990
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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18851
18991
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}'
19012
hardcode_direct_GCJ=yes
19013
hardcode_shlibpath_var_GCJ=no
19014
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19015
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19016
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19017
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19018
export_dynamic_flag_spec_GCJ='${wl}-E'
19152
if test -f /usr/libexec/ld.so; then
19153
hardcode_direct_GCJ=yes
19154
hardcode_shlibpath_var_GCJ=no
19155
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19156
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19157
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19158
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19159
export_dynamic_flag_spec_GCJ='${wl}-E'
19162
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19163
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19164
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19167
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19168
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19021
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19022
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19023
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19026
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19027
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19085
19229
case $host_os in
19086
19230
solaris2.[0-5] | solaris2.[0-5].*) ;;
19088
# The compiler driver will combine linker options so we
19089
# cannot just pass the convience library names through
19090
# without $wl, iff we do not link with $LD.
19091
# Luckily, gcc supports the same syntax we need for Sun Studio.
19232
# The compiler driver will combine and reorder linker options,
19233
# but understands `-z linker_flag'. GCC discards it without `$wl',
19234
# but is careful enough not to reorder.
19092
19235
# Supported since Solaris 2.6 (maybe 2.5.1?)
19095
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
19097
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' ;;
19236
if test "$GCC" = yes; then
19237
whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19239
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
19100
19243
link_all_deplibs_GCJ=yes
19287
19430
version_type=none
19288
19431
dynamic_linker="$host_os ld.so"
19289
19432
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19290
if test "$GCC" = yes; then
19291
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19292
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
19293
# if the path contains ";" then we assume it to be the separator
19294
# otherwise default to the standard path separator (i.e. ":") - it is
19295
# assumed that no part of a normal pathname contains ";" but that should
19296
# okay in the real world where ";" in dirpaths is itself problematic.
19297
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19299
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19302
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
19304
19434
need_lib_prefix=unknown
19305
19435
hardcode_into_libs=no
19659
19772
# Some rework will be needed to allow for fast_install
19660
19773
# before this can be enabled.
19661
19774
hardcode_into_libs=yes
19663
# find out which ABI we are using
19665
case "$host_cpu" in
19666
x86_64*|s390x*|powerpc64*)
19667
echo '#line 19667 "configure"' > conftest.$ac_ext
19668
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19669
(eval $ac_compile) 2>&5
19671
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672
(exit $ac_status); }; then
19673
case `/usr/bin/file conftest.$ac_objext` in
19676
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
19775
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19776
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19684
19778
# Append ld.so.conf contents to the search path
19685
19779
if test -f /etc/ld.so.conf; then
19686
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/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19687
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
19780
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19781
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
19690
19784
# We used to test for /lib/ld.so.1 and disable shared libraries on
22755
# Extract the first word of "lzma", so it can be a program name with args.
22756
set dummy lzma; ac_word=$2
22757
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22758
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22759
if test "${ac_cv_path___LZMA+set}" = set; then
22760
echo $ECHO_N "(cached) $ECHO_C" >&6
22764
ac_cv_path___LZMA="$__LZMA" # Let the user override the test with a path.
22767
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22768
for as_dir in $MYPATH
22771
test -z "$as_dir" && as_dir=.
22772
for ac_exec_ext in '' $ac_executable_extensions; do
22773
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22774
ac_cv_path___LZMA="$as_dir/$ac_word$ac_exec_ext"
22775
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22782
test -z "$ac_cv_path___LZMA" && ac_cv_path___LZMA="/usr/bin/lzma"
22786
__LZMA=$ac_cv_path___LZMA
22787
if test -n "$__LZMA"; then
22788
{ echo "$as_me:$LINENO: result: $__LZMA" >&5
22789
echo "${ECHO_T}$__LZMA" >&6; }
22791
{ echo "$as_me:$LINENO: result: no" >&5
22792
echo "${ECHO_T}no" >&6; }
22667
22796
# Extract the first word of "make", so it can be a program name with args.
22668
22797
set dummy make; ac_word=$2
22669
22798
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30481
for ac_header in locale.h
30483
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30484
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30485
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
30486
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30487
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30488
echo $ECHO_N "(cached) $ECHO_C" >&6
30490
ac_res=`eval echo '${'$as_ac_Header'}'`
30491
{ echo "$as_me:$LINENO: result: $ac_res" >&5
30492
echo "${ECHO_T}$ac_res" >&6; }
30494
# Is the header compilable?
30495
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
30496
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
30497
cat >conftest.$ac_ext <<_ACEOF
30500
cat confdefs.h >>conftest.$ac_ext
30501
cat >>conftest.$ac_ext <<_ACEOF
30502
/* end confdefs.h. */
30503
$ac_includes_default
30504
#include <$ac_header>
30506
rm -f conftest.$ac_objext
30507
if { (ac_try="$ac_compile"
30508
case "(($ac_try" in
30509
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30510
*) ac_try_echo=$ac_try;;
30512
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30513
(eval "$ac_compile") 2>conftest.er1
30515
grep -v '^ *+' conftest.er1 >conftest.err
30517
cat conftest.err >&5
30518
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519
(exit $ac_status); } && {
30520
test -z "$ac_c_werror_flag" ||
30521
test ! -s conftest.err
30522
} && test -s conftest.$ac_objext; then
30523
ac_header_compiler=yes
30525
echo "$as_me: failed program was:" >&5
30526
sed 's/^/| /' conftest.$ac_ext >&5
30528
ac_header_compiler=no
30531
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30532
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30533
echo "${ECHO_T}$ac_header_compiler" >&6; }
30535
# Is the header present?
30536
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
30537
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
30538
cat >conftest.$ac_ext <<_ACEOF
30541
cat confdefs.h >>conftest.$ac_ext
30542
cat >>conftest.$ac_ext <<_ACEOF
30543
/* end confdefs.h. */
30544
#include <$ac_header>
30546
if { (ac_try="$ac_cpp conftest.$ac_ext"
30547
case "(($ac_try" in
30548
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30549
*) ac_try_echo=$ac_try;;
30551
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30552
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30554
grep -v '^ *+' conftest.er1 >conftest.err
30556
cat conftest.err >&5
30557
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30558
(exit $ac_status); } >/dev/null && {
30559
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30560
test ! -s conftest.err
30562
ac_header_preproc=yes
30564
echo "$as_me: failed program was:" >&5
30565
sed 's/^/| /' conftest.$ac_ext >&5
30567
ac_header_preproc=no
30570
rm -f conftest.err conftest.$ac_ext
30571
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30572
echo "${ECHO_T}$ac_header_preproc" >&6; }
30574
# So? What about this header?
30575
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30577
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30578
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30579
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30580
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30581
ac_header_preproc=yes
30584
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30585
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30586
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30587
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30588
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30589
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30590
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30591
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30592
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30593
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30594
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30595
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30597
## -------------------------------------- ##
30598
## Report this to rpm-maint@lists.rpm.org ##
30599
## -------------------------------------- ##
30601
) | sed "s/^/$as_me: WARNING: /" >&2
30604
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
30605
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30606
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30607
echo $ECHO_N "(cached) $ECHO_C" >&6
30609
eval "$as_ac_Header=\$ac_header_preproc"
30611
ac_res=`eval echo '${'$as_ac_Header'}'`
30612
{ echo "$as_me:$LINENO: result: $ac_res" >&5
30613
echo "${ECHO_T}$ac_res" >&6; }
30616
if test `eval echo '${'$as_ac_Header'}'` = yes; then
30617
cat >>confdefs.h <<_ACEOF
30618
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37058
37340
MSGMERGE!$MSGMERGE$ac_delim
37059
37341
INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
37060
37342
LIBICONV!$LIBICONV$ac_delim
37345
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
37347
elif $ac_last_try; then
37348
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
37349
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
37350
{ (exit 1); exit 1; }; }
37352
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
37356
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
37357
if test -n "$ac_eof"; then
37358
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
37359
ac_eof=`expr $ac_eof + 1`
37362
cat >>$CONFIG_STATUS <<_ACEOF
37363
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
37364
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
37367
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
37368
s/^/s,@/; s/!/@,|#_!!_#|/
37371
s/'"$ac_delim"'$/,g/; t
37373
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
37374
' >>$CONFIG_STATUS <conf$$subs.sed
37375
rm -f conf$$subs.sed
37376
cat >>$CONFIG_STATUS <<_ACEOF
37382
for ac_last_try in false false false false false :; do
37383
cat >conf$$subs.sed <<_ACEOF
37061
37384
LTLIBICONV!$LTLIBICONV$ac_delim
37064
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
37066
elif $ac_last_try; then
37067
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
37068
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
37069
{ (exit 1); exit 1; }; }
37071
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
37075
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
37076
if test -n "$ac_eof"; then
37077
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
37078
ac_eof=`expr $ac_eof + 1`
37081
cat >>$CONFIG_STATUS <<_ACEOF
37082
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
37083
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
37086
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
37087
s/^/s,@/; s/!/@,|#_!!_#|/
37090
s/'"$ac_delim"'$/,g/; t
37092
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
37093
' >>$CONFIG_STATUS <conf$$subs.sed
37094
rm -f conf$$subs.sed
37095
cat >>$CONFIG_STATUS <<_ACEOF
37101
for ac_last_try in false false false false false :; do
37102
cat >conf$$subs.sed <<_ACEOF
37103
37385
INTLLIBS!$INTLLIBS$ac_delim
37104
37386
LIBINTL!$LIBINTL$ac_delim
37105
37387
LTLIBINTL!$LTLIBINTL$ac_delim