537
545
# Sed expression to map a string onto a valid variable name.
538
546
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
542
# Check that we are running under the correct shell.
543
548
SHELL=${CONFIG_SHELL-/bin/sh}
547
# Remove one level of quotation (which was required for Make).
548
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
553
if test "X$1" = X--no-reexec; then
554
# Discard the --no-reexec flag, and continue.
556
elif test "X$1" = X--fallback-echo; then
557
# Avoid inline document here, it may be left over
559
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
560
# Yippee, $ECHO works!
563
# Restart under the correct shell.
564
exec $SHELL "$0" --no-reexec ${1+"$@"}
567
if test "X$1" = X--fallback-echo; then
568
# used as fallback echo
576
# The HP-UX ksh and POSIX shell print the target directory to stdout
578
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
580
if test -z "$lt_ECHO"; then
581
if test "X${echo_test_string+set}" != Xset; then
582
# find a string as large as possible, as long as the shell can cope with it
583
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
584
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
585
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
586
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
593
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
594
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
595
test "X$echo_testing_string" = "X$echo_test_string"; then
598
# The Solaris, AIX, and Digital Unix default echo programs unquote
599
# backslashes. This makes it impossible to quote backslashes using
600
# echo "$something" | sed 's/\\/\\\\/g'
602
# So, first we look for a working echo in the user's PATH.
604
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
605
for dir in $PATH /usr/ucb; do
607
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
608
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
609
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
610
test "X$echo_testing_string" = "X$echo_test_string"; then
617
if test "X$ECHO" = Xecho; then
618
# We didn't find a better echo, so look for alternatives.
619
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
620
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
621
test "X$echo_testing_string" = "X$echo_test_string"; then
622
# This shell has a builtin print -r that does the trick.
624
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
625
test "X$CONFIG_SHELL" != X/bin/ksh; then
626
# If we have ksh, try running configure again with it.
627
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
628
export ORIGINAL_CONFIG_SHELL
629
CONFIG_SHELL=/bin/ksh
631
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
635
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
636
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
637
test "X$echo_testing_string" = "X$echo_test_string"; then
640
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
test "X$echo_testing_string" = 'X\t' &&
642
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
test "X$echo_testing_string" = "X$echo_test_string"; then
644
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
646
SHELL="$CONFIG_SHELL"
648
ECHO="$CONFIG_SHELL $0 --fallback-echo"
649
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
650
test "X$echo_testing_string" = 'X\t' &&
651
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
652
test "X$echo_testing_string" = "X$echo_test_string"; then
653
ECHO="$CONFIG_SHELL $0 --fallback-echo"
655
# maybe with a smaller string...
658
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
659
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
666
if test "$prev" != 'sed 50q "$0"'; then
667
echo_test_string=`eval $prev`
668
export echo_test_string
669
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
671
# Oops. We lost completely, so just stick with echo.
680
# Copy echo and quote the copy suitably for passing to libtool from
681
# the Makefile, instead of quoting the original, which is used later.
683
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
684
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
690
551
test -n "$DJDIR" || exec 7<&0 </dev/null
5815
if test -n "$ac_tool_prefix"; then
5816
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5817
set dummy ${ac_tool_prefix}ar; ac_word=$2
5809
if test -n "$ac_tool_prefix"; then
5810
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5811
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5812
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5813
$as_echo_n "checking for $ac_word... " >&6; }
5814
if ${ac_cv_prog_DLLTOOL+:} false; then :
5815
$as_echo_n "(cached) " >&6
5817
if test -n "$DLLTOOL"; then
5818
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5820
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824
test -z "$as_dir" && as_dir=.
5825
for ac_exec_ext in '' $ac_executable_extensions; do
5826
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5827
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5828
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837
DLLTOOL=$ac_cv_prog_DLLTOOL
5838
if test -n "$DLLTOOL"; then
5839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5840
$as_echo "$DLLTOOL" >&6; }
5842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843
$as_echo "no" >&6; }
5848
if test -z "$ac_cv_prog_DLLTOOL"; then
5849
ac_ct_DLLTOOL=$DLLTOOL
5850
# Extract the first word of "dlltool", so it can be a program name with args.
5851
set dummy dlltool; ac_word=$2
5852
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853
$as_echo_n "checking for $ac_word... " >&6; }
5854
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5855
$as_echo_n "(cached) " >&6
5857
if test -n "$ac_ct_DLLTOOL"; then
5858
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5860
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864
test -z "$as_dir" && as_dir=.
5865
for ac_exec_ext in '' $ac_executable_extensions; do
5866
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5868
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5877
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5878
if test -n "$ac_ct_DLLTOOL"; then
5879
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5880
$as_echo "$ac_ct_DLLTOOL" >&6; }
5882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883
$as_echo "no" >&6; }
5886
if test "x$ac_ct_DLLTOOL" = x; then
5889
case $cross_compiling:$ac_tool_warned in
5891
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5892
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5893
ac_tool_warned=yes ;;
5895
DLLTOOL=$ac_ct_DLLTOOL
5898
DLLTOOL="$ac_cv_prog_DLLTOOL"
5901
test -z "$DLLTOOL" && DLLTOOL=dlltool
5912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5913
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5914
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5915
$as_echo_n "(cached) " >&6
5917
lt_cv_sharedlib_from_linklib_cmd='unknown'
5920
cygwin* | mingw* | pw32* | cegcc*)
5921
# two different shell functions defined in ltmain.sh
5922
# decide which to use based on capabilities of $DLLTOOL
5923
case `$DLLTOOL --help 2>&1` in
5924
*--identify-strict*)
5925
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5928
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5933
# fallback: assume linklib IS sharedlib
5934
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5940
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5941
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5942
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5951
if test -n "$ac_tool_prefix"; then
5954
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5955
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5818
5956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819
5957
$as_echo_n "checking for $ac_word... " >&6; }
5820
5958
if ${ac_cv_prog_AR+:} false; then :
6619
6894
need_locks="$enable_libtool_lock"
6896
if test -n "$ac_tool_prefix"; then
6897
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6898
set dummy ${ac_tool_prefix}mt; ac_word=$2
6899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6900
$as_echo_n "checking for $ac_word... " >&6; }
6901
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6902
$as_echo_n "(cached) " >&6
6904
if test -n "$MANIFEST_TOOL"; then
6905
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6907
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6911
test -z "$as_dir" && as_dir=.
6912
for ac_exec_ext in '' $ac_executable_extensions; do
6913
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6914
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6915
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6924
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6925
if test -n "$MANIFEST_TOOL"; then
6926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6927
$as_echo "$MANIFEST_TOOL" >&6; }
6929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6930
$as_echo "no" >&6; }
6935
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6936
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6937
# Extract the first word of "mt", so it can be a program name with args.
6938
set dummy mt; ac_word=$2
6939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6940
$as_echo_n "checking for $ac_word... " >&6; }
6941
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6942
$as_echo_n "(cached) " >&6
6944
if test -n "$ac_ct_MANIFEST_TOOL"; then
6945
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6947
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6951
test -z "$as_dir" && as_dir=.
6952
for ac_exec_ext in '' $ac_executable_extensions; do
6953
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6954
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6955
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6964
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6965
if test -n "$ac_ct_MANIFEST_TOOL"; then
6966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6967
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6970
$as_echo "no" >&6; }
6973
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6976
case $cross_compiling:$ac_tool_warned in
6978
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6979
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6980
ac_tool_warned=yes ;;
6982
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6985
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6988
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6990
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6991
if ${lt_cv_path_mainfest_tool+:} false; then :
6992
$as_echo_n "(cached) " >&6
6994
lt_cv_path_mainfest_tool=no
6995
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6996
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6997
cat conftest.err >&5
6998
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6999
lt_cv_path_mainfest_tool=yes
7003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7004
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7005
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6622
7014
case $host_os in
6623
7015
rhapsody* | darwin*)
8956
9457
# Microsoft Visual C++.
8957
9458
# hardcode_libdir_flag_spec is actually meaningless, as there is
8958
9459
# no search path for DLLs.
8959
hardcode_libdir_flag_spec=' '
8960
allow_undefined_flag=unsupported
8961
# Tell ltmain to make .lib files, not .a files.
8963
# Tell ltmain to make .dll files, not .so files.
8965
# FIXME: Setting linknames here is a bad hack.
8966
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8967
# The linker will automatically build a .lib file if we build a DLL.
8968
old_archive_from_new_cmds='true'
8969
# FIXME: Should let the user specify the lib program.
8970
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8971
fix_srcfile_path='`cygpath -w "$srcfile"`'
8972
enable_shared_with_static_runtimes=yes
9460
case $cc_basename in
9463
hardcode_libdir_flag_spec=' '
9464
allow_undefined_flag=unsupported
9465
always_export_symbols=yes
9467
# Tell ltmain to make .lib files, not .a files.
9469
# Tell ltmain to make .dll files, not .so files.
9471
# FIXME: Setting linknames here is a bad hack.
9472
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9473
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9474
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9476
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9478
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9480
# The linker will not automatically build a static lib if we build a DLL.
9481
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9482
enable_shared_with_static_runtimes=yes
9483
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9485
old_postinstall_cmds='chmod 644 $oldlib'
9486
postlink_cmds='lt_outputfile="@OUTPUT@"~
9487
lt_tool_outputfile="@TOOL_OUTPUT@"~
9488
case $lt_outputfile in
9491
lt_outputfile="$lt_outputfile.exe"
9492
lt_tool_outputfile="$lt_tool_outputfile.exe"
9495
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9496
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9497
$RM "$lt_outputfile.manifest";
9501
# Assume MSVC wrapper
9502
hardcode_libdir_flag_spec=' '
9503
allow_undefined_flag=unsupported
9504
# Tell ltmain to make .lib files, not .a files.
9506
# Tell ltmain to make .dll files, not .so files.
9508
# FIXME: Setting linknames here is a bad hack.
9509
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9510
# The linker will automatically build a .lib file if we build a DLL.
9511
old_archive_from_new_cmds='true'
9512
# FIXME: Should let the user specify the lib program.
9513
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9514
enable_shared_with_static_runtimes=yes
8975
9519
darwin* | rhapsody*)
9823
10443
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9824
10444
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9825
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10446
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9827
10448
mingw* | cegcc*)
9828
10449
# MinGW DLLs use traditional 'lib' prefix
9829
10450
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9830
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9831
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9832
# It is most probably a Windows format PATH printed by
9833
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9834
# path with ; separators, and with drive letters. We can handle the
9835
# drive letters (cygwin fileutils understands them), so leave them,
9836
# especially as we might pass files found there to a mingw objdump,
9837
# which wouldn't understand a cygwinified path. Ahh.
9838
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9840
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9844
10453
# pw32 DLLs use 'pw' prefix rather than 'lib'
9845
10454
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10457
dynamic_linker='Win32 ld.exe'
10462
libname_spec='$name'
10463
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10464
library_names_spec='${libname}.dll.lib'
10468
sys_lib_search_path_spec=
10471
for lt_path in $LIB
10474
# Let DOS variable expansion print the short 8.3 style file name.
10475
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10476
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10479
# Convert to MSYS style.
10480
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10483
# Convert to unix form, then to dos form, then back to unix form
10484
# but this time dos style (no spaces!) so that the unix form looks
10485
# like /cygdrive/c/PROGRA~1:/cygdr...
10486
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10487
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10488
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10491
sys_lib_search_path_spec="$LIB"
10492
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10493
# It is most probably a Windows format PATH.
10494
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10496
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10498
# FIXME: find the short name or the path components, as spaces are
10499
# common. (e.g. "Program Files" -> "PROGRA~1")
10503
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10504
postinstall_cmds='base_file=`basename \${file}`~
10505
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10506
dldir=$destdir/`dirname \$dlpath`~
10507
test -d \$dldir || mkdir -p \$dldir~
10508
$install_prog $dir/$dlname \$dldir/$dlname'
10509
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10510
dlpath=$dir/\$dldll~
10512
shlibpath_overrides_runpath=yes
10513
dynamic_linker='Win32 link.exe'
10517
# Assume MSVC wrapper
9851
10518
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10519
dynamic_linker='Win32 ld.exe'
9854
dynamic_linker='Win32 ld.exe'
9855
10522
# FIXME: first we should search . and the directory the executable is in
9856
10523
shlibpath_var=PATH
11071
# Check whether --enable-compile-warnings was given.
11072
if test "${enable_compile_warnings+set}" = set; then :
11073
enableval=$enable_compile_warnings;
11075
enable_compile_warnings="maximum"
11080
if test "x$GCC" != xyes; then
11081
enable_compile_warnings=no
11085
realsave_CFLAGS="$CFLAGS"
11087
case "$enable_compile_warnings" in
11092
warning_flags="-Wall"
11095
warning_flags="-Wall -Wmissing-prototypes"
11098
warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
11099
CFLAGS="$warning_flags $CFLAGS"
11100
for option in -Wno-sign-compare; do
11101
SAVE_CFLAGS="$CFLAGS"
11102
CFLAGS="$CFLAGS $option"
11103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
11104
$as_echo_n "checking whether gcc understands $option... " >&6; }
11105
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106
/* end confdefs.h. */
11116
if ac_fn_c_try_compile "$LINENO"; then :
11121
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11122
CFLAGS="$SAVE_CFLAGS"
11123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
11124
$as_echo "$has_option" >&6; }
11125
if test $has_option = yes; then
11126
warning_flags="$warning_flags $option"
11132
if test "$enable_compile_warnings" = "error" ; then
11133
warning_flags="$warning_flags -Werror"
11137
as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
11140
CFLAGS="$realsave_CFLAGS"
11141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
11142
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
11143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
11144
$as_echo "$warning_flags" >&6; }
11146
# Check whether --enable-iso-c was given.
11147
if test "${enable_iso_c+set}" = set; then :
11148
enableval=$enable_iso_c;
11154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
11155
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
11157
if test "x$enable_iso_c" != "xno"; then
11158
if test "x$GCC" = "xyes"; then
11159
case " $CFLAGS " in
11160
*\ \ -ansi\ \ *) ;;
11161
*) complCFLAGS="$complCFLAGS -ansi" ;;
11163
case " $CFLAGS " in
11164
*\ \ -pedantic\ \ *) ;;
11165
*) complCFLAGS="$complCFLAGS -pedantic" ;;
11169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
11170
$as_echo "$complCFLAGS" >&6; }
11172
WARN_CFLAGS="$warning_flags $complCFLAGS"
11176
# Check whether --enable-cxx-warnings was given.
11177
if test "${enable_cxx_warnings+set}" = set; then :
11178
enableval=$enable_cxx_warnings;
11180
enable_cxx_warnings="yes"
11184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5
11185
$as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; }
11187
if test "x$GXX" != xyes; then
11188
enable_cxx_warnings=no
11190
if test "x$enable_cxx_warnings" != "xno"; then
11191
if test "x$GXX" = "xyes"; then
11192
case " $CXXFLAGS " in
11193
*\ \ -Wall\ \ *) ;;
11194
*) warnCXXFLAGS="-Wall -Wno-unused" ;;
11197
## -W is not all that useful. And it cannot be controlled
11198
## with individual -Wno-xxx flags, unlike -Wall
11199
if test "x$enable_cxx_warnings" = "xyes"; then
11200
warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
11204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $warnCXXFLAGS" >&5
11205
$as_echo "$warnCXXFLAGS" >&6; }
11207
# Check whether --enable-iso-cxx was given.
11208
if test "${enable_iso_cxx+set}" = set; then :
11209
enableval=$enable_iso_cxx;
11215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C++ compiler" >&5
11216
$as_echo_n "checking what language compliance flags to pass to the C++ compiler... " >&6; }
11218
if test "x$enable_iso_cxx" != "xno"; then
11219
if test "x$GXX" = "xyes"; then
11220
case " $CXXFLAGS " in
11221
*\ \ -ansi\ \ *) ;;
11222
*) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
11225
case " $CXXFLAGS " in
11226
*\ \ -pedantic\ \ *) ;;
11227
*) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
11231
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCXXFLAGS" >&5
11232
$as_echo "$complCXXFLAGS" >&6; }
11234
WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
11240
DISABLE_DEPRECATED=""
11241
if test $USE_MAINTAINER_MODE = yes; then
11242
DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
11243
for DOMAIN in $DOMAINS; do
11244
DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
11251
# *****************
11252
# Distribution info
11253
# *****************
11258
# Extract the first word of "lsb_release", so it can be a program name with args.
11259
set dummy lsb_release; ac_word=$2
11260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11261
$as_echo_n "checking for $ac_word... " >&6; }
11262
if ${ac_cv_path_LSB_RELEASE+:} false; then :
11263
$as_echo_n "(cached) " >&6
11265
case $LSB_RELEASE in
11267
ac_cv_path_LSB_RELEASE="$LSB_RELEASE" # Let the user override the test with a path.
11270
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11271
for as_dir in $PATH
11274
test -z "$as_dir" && as_dir=.
11275
for ac_exec_ext in '' $ac_executable_extensions; do
11276
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11277
ac_cv_path_LSB_RELEASE="$as_dir/$ac_word$ac_exec_ext"
11278
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11285
test -z "$ac_cv_path_LSB_RELEASE" && ac_cv_path_LSB_RELEASE="false"
11289
LSB_RELEASE=$ac_cv_path_LSB_RELEASE
11290
if test -n "$LSB_RELEASE"; then
11291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LSB_RELEASE" >&5
11292
$as_echo "$LSB_RELEASE" >&6; }
11294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11295
$as_echo "no" >&6; }
11299
if test "$LSB_RELEASE" != "false"; then
11300
LSB_DISTRIBUTOR="$($LSB_RELEASE -s -i | sed 's,^\",,;s,\"$,,')"
11301
LSB_DISTRIBUTION="$($LSB_RELEASE -s -d | sed 's,^\",,;s,\"$,,')"
11304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LSB distributor" >&5
11305
$as_echo_n "checking for LSB distributor... " >&6; }
11306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LSB_DISTRIBUTOR" >&5
11307
$as_echo "$LSB_DISTRIBUTOR" >&6; }
11308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LSB distribution" >&5
11309
$as_echo_n "checking for LSB distribution... " >&6; }
11310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LSB_DISTRIBUTION" >&5
11311
$as_echo "$LSB_DISTRIBUTION" >&6; }
11314
cat >>confdefs.h <<_ACEOF
11315
#define LSB_DISTRIBUTOR "$LSB_DISTRIBUTOR"
11319
cat >>confdefs.h <<_ACEOF
11320
#define LSB_DISTRIBUTION "$LSB_DISTRIBUTION"
11324
11787
# ************
11325
11788
# Dependencies
11326
11789
# ************
11709
12203
GCONF_REQUIRED=2.0
11710
GLIB_REQUIRED=2.26.0
11711
GIO_REQUIRED=2.26.0
11712
GSTREAMER_REQUIRED=0.10.11
12204
GLIB_REQUIRED=2.31.13
12205
GIO_REQUIRED=2.31.13
11714
12207
# Check for common modules
11719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
11720
$as_echo_n "checking for GTHREAD... " >&6; }
11722
if test -n "$GTHREAD_CFLAGS"; then
11723
pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
11724
elif test -n "$PKG_CONFIG"; then
11725
if test -n "$PKG_CONFIG" && \
11726
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
11727
($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
11729
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11730
test $ac_status = 0; }; then
11731
pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
11738
if test -n "$GTHREAD_LIBS"; then
11739
pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
11740
elif test -n "$PKG_CONFIG"; then
11741
if test -n "$PKG_CONFIG" && \
11742
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
11743
($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
11745
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11746
test $ac_status = 0; }; then
11747
pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
11757
if test $pkg_failed = yes; then
11758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11759
$as_echo "no" >&6; }
11761
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11762
_pkg_short_errors_supported=yes
11764
_pkg_short_errors_supported=no
11766
if test $_pkg_short_errors_supported = yes; then
11767
GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gthread-2.0" 2>&1`
11769
GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors "gthread-2.0" 2>&1`
11771
# Put the nasty error message in config.log where it belongs
11772
echo "$GTHREAD_PKG_ERRORS" >&5
11774
as_fn_error $? "Package requirements (gthread-2.0) were not met:
11776
$GTHREAD_PKG_ERRORS
11778
Consider adjusting the PKG_CONFIG_PATH environment variable if you
11779
installed software in a non-standard prefix.
11781
Alternatively, you may set the environment variables GTHREAD_CFLAGS
11782
and GTHREAD_LIBS to avoid the need to call pkg-config.
11783
See the pkg-config man page for more details." "$LINENO" 5
11785
elif test $pkg_failed = untried; then
11786
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787
$as_echo "no" >&6; }
11788
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11789
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11790
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11791
is in your PATH or set the PKG_CONFIG environment variable to the full
11792
path to pkg-config.
11794
Alternatively, you may set the environment variables GTHREAD_CFLAGS
11795
and GTHREAD_LIBS to avoid the need to call pkg-config.
11796
See the pkg-config man page for more details.
11798
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11799
See \`config.log' for more details" "$LINENO" 5; }
11802
GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
11803
GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
11804
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11805
$as_echo "yes" >&6; }
11813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
11814
$as_echo_n "checking for GMODULE... " >&6; }
11816
if test -n "$GMODULE_CFLAGS"; then
11817
pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
11818
elif test -n "$PKG_CONFIG"; then
11819
if test -n "$PKG_CONFIG" && \
11820
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
11821
($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
11823
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11824
test $ac_status = 0; }; then
11825
pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
11832
if test -n "$GMODULE_LIBS"; then
11833
pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
11834
elif test -n "$PKG_CONFIG"; then
11835
if test -n "$PKG_CONFIG" && \
11836
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
11837
($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
11839
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11840
test $ac_status = 0; }; then
11841
pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
11851
if test $pkg_failed = yes; then
11852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11853
$as_echo "no" >&6; }
11855
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11856
_pkg_short_errors_supported=yes
11858
_pkg_short_errors_supported=no
11860
if test $_pkg_short_errors_supported = yes; then
11861
GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gmodule-2.0" 2>&1`
11863
GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gmodule-2.0" 2>&1`
11865
# Put the nasty error message in config.log where it belongs
11866
echo "$GMODULE_PKG_ERRORS" >&5
11868
as_fn_error $? "Package requirements (gmodule-2.0) were not met:
11870
$GMODULE_PKG_ERRORS
11872
Consider adjusting the PKG_CONFIG_PATH environment variable if you
11873
installed software in a non-standard prefix.
11875
Alternatively, you may set the environment variables GMODULE_CFLAGS
11876
and GMODULE_LIBS to avoid the need to call pkg-config.
11877
See the pkg-config man page for more details." "$LINENO" 5
11879
elif test $pkg_failed = untried; then
11880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11881
$as_echo "no" >&6; }
11882
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11883
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11884
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11885
is in your PATH or set the PKG_CONFIG environment variable to the full
11886
path to pkg-config.
11888
Alternatively, you may set the environment variables GMODULE_CFLAGS
11889
and GMODULE_LIBS to avoid the need to call pkg-config.
11890
See the pkg-config man page for more details.
11892
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11893
See \`config.log' for more details" "$LINENO" 5; }
11896
GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
11897
GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
11898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11899
$as_echo "yes" >&6; }
11907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
11908
$as_echo_n "checking for GOBJECT... " >&6; }
11910
if test -n "$GOBJECT_CFLAGS"; then
11911
pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
11912
elif test -n "$PKG_CONFIG"; then
11913
if test -n "$PKG_CONFIG" && \
11914
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
11915
($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
11917
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11918
test $ac_status = 0; }; then
11919
pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0" 2>/dev/null`
11926
if test -n "$GOBJECT_LIBS"; then
11927
pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
11928
elif test -n "$PKG_CONFIG"; then
11929
if test -n "$PKG_CONFIG" && \
11930
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
11931
($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
11933
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11934
test $ac_status = 0; }; then
11935
pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0" 2>/dev/null`
11945
if test $pkg_failed = yes; then
11946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11947
$as_echo "no" >&6; }
11949
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11950
_pkg_short_errors_supported=yes
11952
_pkg_short_errors_supported=no
11954
if test $_pkg_short_errors_supported = yes; then
11955
GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-2.0" 2>&1`
11957
GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-2.0" 2>&1`
11959
# Put the nasty error message in config.log where it belongs
11960
echo "$GOBJECT_PKG_ERRORS" >&5
11962
as_fn_error $? "Package requirements (gobject-2.0) were not met:
11964
$GOBJECT_PKG_ERRORS
11966
Consider adjusting the PKG_CONFIG_PATH environment variable if you
11967
installed software in a non-standard prefix.
11969
Alternatively, you may set the environment variables GOBJECT_CFLAGS
11970
and GOBJECT_LIBS to avoid the need to call pkg-config.
11971
See the pkg-config man page for more details." "$LINENO" 5
11973
elif test $pkg_failed = untried; then
11974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11975
$as_echo "no" >&6; }
11976
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11977
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11978
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11979
is in your PATH or set the PKG_CONFIG environment variable to the full
11980
path to pkg-config.
11982
Alternatively, you may set the environment variables GOBJECT_CFLAGS
11983
and GOBJECT_LIBS to avoid the need to call pkg-config.
11984
See the pkg-config man page for more details.
11986
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11987
See \`config.log' for more details" "$LINENO" 5; }
11990
GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
11991
GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
11992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11993
$as_echo "yes" >&6; }
12001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12002
$as_echo_n "checking for GTK... " >&6; }
12004
if test -n "$GTK_CFLAGS"; then
12005
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12006
elif test -n "$PKG_CONFIG"; then
12007
if test -n "$PKG_CONFIG" && \
12008
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5
12009
($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5
12011
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12012
test $ac_status = 0; }; then
12013
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null`
12020
if test -n "$GTK_LIBS"; then
12021
pkg_cv_GTK_LIBS="$GTK_LIBS"
12022
elif test -n "$PKG_CONFIG"; then
12023
if test -n "$PKG_CONFIG" && \
12024
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5
12025
($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5
12027
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12028
test $ac_status = 0; }; then
12029
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null`
12039
if test $pkg_failed = yes; then
12040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12041
$as_echo "no" >&6; }
12043
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12044
_pkg_short_errors_supported=yes
12046
_pkg_short_errors_supported=no
12048
if test $_pkg_short_errors_supported = yes; then
12049
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1`
12051
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1`
12053
# Put the nasty error message in config.log where it belongs
12054
echo "$GTK_PKG_ERRORS" >&5
12056
as_fn_error $? "Package requirements (gtk+-$GTK_API_VERSION >= $GTK_REQUIRED) were not met:
12060
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12061
installed software in a non-standard prefix.
12063
Alternatively, you may set the environment variables GTK_CFLAGS
12064
and GTK_LIBS to avoid the need to call pkg-config.
12065
See the pkg-config man page for more details." "$LINENO" 5
12067
elif test $pkg_failed = untried; then
12068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12069
$as_echo "no" >&6; }
12070
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12071
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12072
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12073
is in your PATH or set the PKG_CONFIG environment variable to the full
12074
path to pkg-config.
12076
Alternatively, you may set the environment variables GTK_CFLAGS
12077
and GTK_LIBS to avoid the need to call pkg-config.
12078
See the pkg-config man page for more details.
12080
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12081
See \`config.log' for more details" "$LINENO" 5; }
12084
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12085
GTK_LIBS=$pkg_cv_GTK_LIBS
12086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12087
$as_echo "yes" >&6; }
12209
PKGS="$PKGS gtk+-$GTK_API_VERSION >= $GTK_REQUIRED"
12215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sound support" >&5
12216
$as_echo_n "checking whether to enable sound support... " >&6; }
12217
# Check whether --enable-sound was given.
12218
if test "${enable_sound+set}" = set; then :
12219
enableval=$enable_sound;
12224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_sound" >&5
12225
$as_echo "$enable_sound" >&6; }
12227
if test "$enable_sound" = "yes"; then
12228
PKGS="$PKGS $LIBCANBERRA_GTK_PKGS"
12231
$as_echo "#define ENABLE_SOUND 1" >>confdefs.h
12235
if test "$enable_sound" = "yes"; then
12237
ENABLE_SOUND_FALSE='#'
12239
ENABLE_SOUND_TRUE='#'
12240
ENABLE_SOUND_FALSE=
12422
12573
if test "$with_platform" = "gnome"; then
12425
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME" >&5
12426
$as_echo_n "checking for GNOME... " >&6; }
12428
if test -n "$GNOME_CFLAGS"; then
12429
pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS"
12430
elif test -n "$PKG_CONFIG"; then
12431
if test -n "$PKG_CONFIG" && \
12432
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= \$GCONF_REQUIRED\""; } >&5
12433
($PKG_CONFIG --exists --print-errors "gconf-2.0 >= $GCONF_REQUIRED") 2>&5
12435
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12436
test $ac_status = 0; }; then
12437
pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= $GCONF_REQUIRED" 2>/dev/null`
12444
if test -n "$GNOME_LIBS"; then
12445
pkg_cv_GNOME_LIBS="$GNOME_LIBS"
12446
elif test -n "$PKG_CONFIG"; then
12447
if test -n "$PKG_CONFIG" && \
12448
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= \$GCONF_REQUIRED\""; } >&5
12449
($PKG_CONFIG --exists --print-errors "gconf-2.0 >= $GCONF_REQUIRED") 2>&5
12451
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12452
test $ac_status = 0; }; then
12453
pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= $GCONF_REQUIRED" 2>/dev/null`
12463
if test $pkg_failed = yes; then
12464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12465
$as_echo "no" >&6; }
12467
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12468
_pkg_short_errors_supported=yes
12470
_pkg_short_errors_supported=no
12472
if test $_pkg_short_errors_supported = yes; then
12473
GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0 >= $GCONF_REQUIRED" 2>&1`
12475
GNOME_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0 >= $GCONF_REQUIRED" 2>&1`
12477
# Put the nasty error message in config.log where it belongs
12478
echo "$GNOME_PKG_ERRORS" >&5
12480
as_fn_error $? "Package requirements (gconf-2.0 >= $GCONF_REQUIRED) were not met:
12484
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12485
installed software in a non-standard prefix.
12487
Alternatively, you may set the environment variables GNOME_CFLAGS
12488
and GNOME_LIBS to avoid the need to call pkg-config.
12489
See the pkg-config man page for more details." "$LINENO" 5
12491
elif test $pkg_failed = untried; then
12492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12493
$as_echo "no" >&6; }
12494
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12495
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12496
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12497
is in your PATH or set the PKG_CONFIG environment variable to the full
12498
path to pkg-config.
12500
Alternatively, you may set the environment variables GNOME_CFLAGS
12501
and GNOME_LIBS to avoid the need to call pkg-config.
12502
See the pkg-config man page for more details.
12504
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12505
See \`config.log' for more details" "$LINENO" 5; }
12508
GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS
12509
GNOME_LIBS=$pkg_cv_GNOME_LIBS
12510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12511
$as_echo "yes" >&6; }
12574
PKGS="$PKGS gconf-2.0 >= $GCONF_REQUIRED"
12520
12577
# Check for librsvg
12526
12583
CAIRO_REQUIRED=1.10.0
12528
# Errors out if rsvg is not found
12531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSVG" >&5
12532
$as_echo_n "checking for RSVG... " >&6; }
12534
if test -n "$RSVG_CFLAGS"; then
12535
pkg_cv_RSVG_CFLAGS="$RSVG_CFLAGS"
12536
elif test -n "$PKG_CONFIG"; then
12537
if test -n "$PKG_CONFIG" && \
12538
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12539
librsvg-2.0 >= \$RSVG_REQUIRED
12540
cairo >= \$CAIRO_REQUIRED\""; } >&5
12541
($PKG_CONFIG --exists --print-errors "
12542
librsvg-2.0 >= $RSVG_REQUIRED
12543
cairo >= $CAIRO_REQUIRED") 2>&5
12545
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12546
test $ac_status = 0; }; then
12547
pkg_cv_RSVG_CFLAGS=`$PKG_CONFIG --cflags "
12548
librsvg-2.0 >= $RSVG_REQUIRED
12549
cairo >= $CAIRO_REQUIRED" 2>/dev/null`
12556
if test -n "$RSVG_LIBS"; then
12557
pkg_cv_RSVG_LIBS="$RSVG_LIBS"
12558
elif test -n "$PKG_CONFIG"; then
12559
if test -n "$PKG_CONFIG" && \
12560
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12561
librsvg-2.0 >= \$RSVG_REQUIRED
12562
cairo >= \$CAIRO_REQUIRED\""; } >&5
12563
($PKG_CONFIG --exists --print-errors "
12564
librsvg-2.0 >= $RSVG_REQUIRED
12565
cairo >= $CAIRO_REQUIRED") 2>&5
12567
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12568
test $ac_status = 0; }; then
12569
pkg_cv_RSVG_LIBS=`$PKG_CONFIG --libs "
12570
librsvg-2.0 >= $RSVG_REQUIRED
12571
cairo >= $CAIRO_REQUIRED" 2>/dev/null`
12581
if test $pkg_failed = yes; then
12582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12583
$as_echo "no" >&6; }
12585
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12586
_pkg_short_errors_supported=yes
12588
_pkg_short_errors_supported=no
12590
if test $_pkg_short_errors_supported = yes; then
12591
RSVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
12592
librsvg-2.0 >= $RSVG_REQUIRED
12593
cairo >= $CAIRO_REQUIRED" 2>&1`
12595
RSVG_PKG_ERRORS=`$PKG_CONFIG --print-errors "
12596
librsvg-2.0 >= $RSVG_REQUIRED
12597
cairo >= $CAIRO_REQUIRED" 2>&1`
12599
# Put the nasty error message in config.log where it belongs
12600
echo "$RSVG_PKG_ERRORS" >&5
12602
as_fn_error $? "Package requirements (
12603
librsvg-2.0 >= $RSVG_REQUIRED
12604
cairo >= $CAIRO_REQUIRED) were not met:
12608
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12609
installed software in a non-standard prefix.
12611
Alternatively, you may set the environment variables RSVG_CFLAGS
12612
and RSVG_LIBS to avoid the need to call pkg-config.
12613
See the pkg-config man page for more details." "$LINENO" 5
12615
elif test $pkg_failed = untried; then
12616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12617
$as_echo "no" >&6; }
12618
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12619
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12620
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12621
is in your PATH or set the PKG_CONFIG environment variable to the full
12622
path to pkg-config.
12624
Alternatively, you may set the environment variables RSVG_CFLAGS
12625
and RSVG_LIBS to avoid the need to call pkg-config.
12626
See the pkg-config man page for more details.
12628
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12629
See \`config.log' for more details" "$LINENO" 5; }
12632
RSVG_CFLAGS=$pkg_cv_RSVG_CFLAGS
12633
RSVG_LIBS=$pkg_cv_RSVG_LIBS
12634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12635
$as_echo "yes" >&6; }
12585
PKGS="$PKGS librsvg-2.0 >= $RSVG_REQUIRED cairo >= $CAIRO_REQUIRED"
12643
12588
$as_echo "#define HAVE_RSVG 1" >>confdefs.h
12658
if test "$need_gthread" = "yes"; then
12660
WITH_GTHREAD_FALSE='#'
12662
WITH_GTHREAD_TRUE='#'
12663
WITH_GTHREAD_FALSE=
12669
if test "$enable_sound" = "yes"; then
12672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CANBERRA_GTK" >&5
12673
$as_echo_n "checking for CANBERRA_GTK... " >&6; }
12675
if test -n "$CANBERRA_GTK_CFLAGS"; then
12676
pkg_cv_CANBERRA_GTK_CFLAGS="$CANBERRA_GTK_CFLAGS"
12677
elif test -n "$PKG_CONFIG"; then
12678
if test -n "$PKG_CONFIG" && \
12679
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBCANBERRA_GTK_PKGS\""; } >&5
12680
($PKG_CONFIG --exists --print-errors "$LIBCANBERRA_GTK_PKGS") 2>&5
12682
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12683
test $ac_status = 0; }; then
12684
pkg_cv_CANBERRA_GTK_CFLAGS=`$PKG_CONFIG --cflags "$LIBCANBERRA_GTK_PKGS" 2>/dev/null`
12691
if test -n "$CANBERRA_GTK_LIBS"; then
12692
pkg_cv_CANBERRA_GTK_LIBS="$CANBERRA_GTK_LIBS"
12693
elif test -n "$PKG_CONFIG"; then
12694
if test -n "$PKG_CONFIG" && \
12695
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBCANBERRA_GTK_PKGS\""; } >&5
12696
($PKG_CONFIG --exists --print-errors "$LIBCANBERRA_GTK_PKGS") 2>&5
12698
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12699
test $ac_status = 0; }; then
12700
pkg_cv_CANBERRA_GTK_LIBS=`$PKG_CONFIG --libs "$LIBCANBERRA_GTK_PKGS" 2>/dev/null`
12710
if test $pkg_failed = yes; then
12711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12712
$as_echo "no" >&6; }
12714
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12715
_pkg_short_errors_supported=yes
12717
_pkg_short_errors_supported=no
12719
if test $_pkg_short_errors_supported = yes; then
12720
CANBERRA_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$LIBCANBERRA_GTK_PKGS" 2>&1`
12722
CANBERRA_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "$LIBCANBERRA_GTK_PKGS" 2>&1`
12724
# Put the nasty error message in config.log where it belongs
12725
echo "$CANBERRA_GTK_PKG_ERRORS" >&5
12727
as_fn_error $? "Sound support was requested, but libcanberra-gtk not found." "$LINENO" 5
12728
elif test $pkg_failed = untried; then
12729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12730
$as_echo "no" >&6; }
12731
as_fn_error $? "Sound support was requested, but libcanberra-gtk not found." "$LINENO" 5
12733
CANBERRA_GTK_CFLAGS=$pkg_cv_CANBERRA_GTK_CFLAGS
12734
CANBERRA_GTK_LIBS=$pkg_cv_CANBERRA_GTK_LIBS
12735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12736
$as_echo "yes" >&6; }
12741
$as_echo "#define ENABLE_SOUND 1" >>confdefs.h
12745
if test "$enable_sound" = "yes"; then
12747
ENABLE_SOUND_FALSE='#'
12749
ENABLE_SOUND_TRUE='#'
12750
ENABLE_SOUND_FALSE=
12758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK target" >&5
12759
$as_echo_n "checking for GDK target... " >&6; }
12760
case "$with_gtk" in
12761
3.0) for target in $($PKG_CONFIG --variable targets gdk-$GTK_API_VERSION); do
12762
GDK_TARGET="$target"
12767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_TARGET" >&5
12768
$as_echo "$GDK_TARGET" >&6; }
12770
case "$GDK_TARGET" in
12771
x11|win32|quartz) ;;
12772
*) as_fn_error $? "unknown GDK target" "$LINENO" 5
12775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which smclient backend to use" >&5
12776
$as_echo_n "checking which smclient backend to use... " >&6; }
12778
# Check whether --with-smclient was given.
12779
if test "${with_smclient+set}" = set; then :
12780
withval=$with_smclient;
12782
case "$GDK_TARGET" in
12783
x11) with_smclient=xsmp SMCLIENT_PKGS="sm ice" ;;
12784
win32|quartz) with_smclient=$GDK_TARGET ;;
12785
*) with_smclient=no ;;
12789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_smclient" >&5
12790
$as_echo "$with_smclient" >&6; }
12792
if test "$with_smclient" != "no"; then
12793
if test -n "$SMCLIENT_PKGS"; then
12796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SMCLIENT" >&5
12797
$as_echo_n "checking for SMCLIENT... " >&6; }
12799
if test -n "$SMCLIENT_CFLAGS"; then
12800
pkg_cv_SMCLIENT_CFLAGS="$SMCLIENT_CFLAGS"
12801
elif test -n "$PKG_CONFIG"; then
12802
if test -n "$PKG_CONFIG" && \
12803
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SMCLIENT_PKGS\""; } >&5
12804
($PKG_CONFIG --exists --print-errors "$SMCLIENT_PKGS") 2>&5
12806
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12807
test $ac_status = 0; }; then
12808
pkg_cv_SMCLIENT_CFLAGS=`$PKG_CONFIG --cflags "$SMCLIENT_PKGS" 2>/dev/null`
12815
if test -n "$SMCLIENT_LIBS"; then
12816
pkg_cv_SMCLIENT_LIBS="$SMCLIENT_LIBS"
12817
elif test -n "$PKG_CONFIG"; then
12818
if test -n "$PKG_CONFIG" && \
12819
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SMCLIENT_PKGS\""; } >&5
12820
($PKG_CONFIG --exists --print-errors "$SMCLIENT_PKGS") 2>&5
12822
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12823
test $ac_status = 0; }; then
12824
pkg_cv_SMCLIENT_LIBS=`$PKG_CONFIG --libs "$SMCLIENT_PKGS" 2>/dev/null`
12834
if test $pkg_failed = yes; then
12835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12836
$as_echo "no" >&6; }
12838
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12839
_pkg_short_errors_supported=yes
12841
_pkg_short_errors_supported=no
12843
if test $_pkg_short_errors_supported = yes; then
12844
SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$SMCLIENT_PKGS" 2>&1`
12846
SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SMCLIENT_PKGS" 2>&1`
12848
# Put the nasty error message in config.log where it belongs
12849
echo "$SMCLIENT_PKG_ERRORS" >&5
12851
as_fn_error $? "Package requirements ($SMCLIENT_PKGS) were not met:
12853
$SMCLIENT_PKG_ERRORS
12855
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12856
installed software in a non-standard prefix.
12858
Alternatively, you may set the environment variables SMCLIENT_CFLAGS
12859
and SMCLIENT_LIBS to avoid the need to call pkg-config.
12860
See the pkg-config man page for more details." "$LINENO" 5
12862
elif test $pkg_failed = untried; then
12863
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12864
$as_echo "no" >&6; }
12865
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12866
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12867
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12868
is in your PATH or set the PKG_CONFIG environment variable to the full
12869
path to pkg-config.
12871
Alternatively, you may set the environment variables SMCLIENT_CFLAGS
12872
and SMCLIENT_LIBS to avoid the need to call pkg-config.
12873
See the pkg-config man page for more details.
12875
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12876
See \`config.log' for more details" "$LINENO" 5; }
12879
SMCLIENT_CFLAGS=$pkg_cv_SMCLIENT_CFLAGS
12880
SMCLIENT_LIBS=$pkg_cv_SMCLIENT_LIBS
12881
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12882
$as_echo "yes" >&6; }
12888
$as_echo "#define WITH_SMCLIENT 1" >>confdefs.h
12892
if test "$with_smclient" != "no"; then
12893
WITH_SMCLIENT_TRUE=
12894
WITH_SMCLIENT_FALSE='#'
12896
WITH_SMCLIENT_TRUE='#'
12897
WITH_SMCLIENT_FALSE=
12900
if test "$with_smclient" = "xsmp"; then
12901
WITH_SMCLIENT_XSMP_TRUE=
12902
WITH_SMCLIENT_XSMP_FALSE='#'
12904
WITH_SMCLIENT_XSMP_TRUE='#'
12905
WITH_SMCLIENT_XSMP_FALSE=
12908
if test "$with_smclient" = "win32"; then
12909
WITH_SMCLIENT_WIN32_TRUE=
12910
WITH_SMCLIENT_WIN32_FALSE='#'
12912
WITH_SMCLIENT_WIN32_TRUE='#'
12913
WITH_SMCLIENT_WIN32_FALSE=
12916
if test "$with_smclient" = "quartz"; then
12917
WITH_SMCLIENT_QUARTZ_TRUE=
12918
WITH_SMCLIENT_QUARTZ_FALSE='#'
12920
WITH_SMCLIENT_QUARTZ_TRUE='#'
12921
WITH_SMCLIENT_QUARTZ_FALSE=
12925
12601
# *****************
12926
12602
# Extra build tools
12927
12603
# *****************
12929
12606
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
12930
12607
set dummy glib-genmarshal; ac_word=$2
12931
12608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12646
if test -z "$GLIB_GENMARSHAL"; then
12647
as_fn_error $? "glib-genmarshal not found" "$LINENO" 5
12651
# Extract the first word of "glib-compile-resources", so it can be a program name with args.
12652
set dummy glib-compile-resources; ac_word=$2
12653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12654
$as_echo_n "checking for $ac_word... " >&6; }
12655
if ${ac_cv_path_GLIB_COMPILE_RESOURCES+:} false; then :
12656
$as_echo_n "(cached) " >&6
12658
case $GLIB_COMPILE_RESOURCES in
12660
ac_cv_path_GLIB_COMPILE_RESOURCES="$GLIB_COMPILE_RESOURCES" # Let the user override the test with a path.
12663
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12664
for as_dir in $PATH
12667
test -z "$as_dir" && as_dir=.
12668
for ac_exec_ext in '' $ac_executable_extensions; do
12669
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12670
ac_cv_path_GLIB_COMPILE_RESOURCES="$as_dir/$ac_word$ac_exec_ext"
12671
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12681
GLIB_COMPILE_RESOURCES=$ac_cv_path_GLIB_COMPILE_RESOURCES
12682
if test -n "$GLIB_COMPILE_RESOURCES"; then
12683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_RESOURCES" >&5
12684
$as_echo "$GLIB_COMPILE_RESOURCES" >&6; }
12686
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12687
$as_echo "no" >&6; }
12691
if test -z "$GLIB_COMPILE_RESOURCES"; then
12692
as_fn_error $? "glib-compile-resources not found" "$LINENO" 5
12696
# Extract the first word of "gzip", so it can be a program name with args.
12697
set dummy gzip; ac_word=$2
12698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12699
$as_echo_n "checking for $ac_word... " >&6; }
12700
if ${ac_cv_path_GZIP+:} false; then :
12701
$as_echo_n "(cached) " >&6
12705
ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path.
12708
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12709
for as_dir in $PATH
12712
test -z "$as_dir" && as_dir=.
12713
for ac_exec_ext in '' $ac_executable_extensions; do
12714
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12715
ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext"
12716
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12726
GZIP=$ac_cv_path_GZIP
12727
if test -n "$GZIP"; then
12728
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP" >&5
12729
$as_echo "$GZIP" >&6; }
12731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12732
$as_echo "no" >&6; }
12736
if test -z "$GZIP"; then
12737
as_fn_error $? "gzip not found" "$LINENO" 5
12741
# Extract the first word of "xmllint", so it can be a program name with args.
12742
set dummy xmllint; ac_word=$2
12743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12744
$as_echo_n "checking for $ac_word... " >&6; }
12745
if ${ac_cv_path_XMLLINT+:} false; then :
12746
$as_echo_n "(cached) " >&6
12750
ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
12753
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12754
for as_dir in $PATH
12757
test -z "$as_dir" && as_dir=.
12758
for ac_exec_ext in '' $ac_executable_extensions; do
12759
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12760
ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
12761
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12771
XMLLINT=$ac_cv_path_XMLLINT
12772
if test -n "$XMLLINT"; then
12773
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
12774
$as_echo "$XMLLINT" >&6; }
12776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12777
$as_echo "no" >&6; }
12781
if test -z "$XMLLINT"; then
12782
as_fn_error $? "xmllint not found" "$LINENO" 5
12970
12785
if test "$platform_win32" = "yes" -a "$os_win32" = "yes"; then
12971
12786
if test -n "$ac_tool_prefix"; then
14405
14279
# Check whether --with-guile was given.
14406
14280
if test "${with_guile+set}" = set; then :
14407
14281
withval=$with_guile; case "$with_guile" in
14409
*) as_fn_error $? "unknown or unsupported guile version $with_guile specified" "$LINENO" 5 ;;
14282
1.8) as_fn_error $? "unsupported guile version $with_guile requested" "$LINENO" 5 ;;
14284
*) as_fn_error $? "unsupported guile version $with_guile requested" "$LINENO" 5 ;;
14415
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_guile" >&5
14416
$as_echo "$with_guile" >&6; }
14418
case "$with_guile" in
14419
1.8) GUILE_PKGS="guile-1.8 >= $GUILE_1_8_REQUIRED" ;;
14420
2.0) GUILE_PKGS="guile-2.0 >= $GUILE_2_0_REQUIRED" ;;
14421
2.2) GUILE_PKGS="guile-2.2 >= $GUILE_2_2_REQUIRED" ;;
14291
if test "$with_guile" = "auto"; then
14293
for version in 2.2 2.0; do
14294
GUILE_REQUIRED=`$as_echo "GUILE_${version}_REQUIRED" | $as_tr_sh`
14295
GUILE_PKGS="guile-$version >= ${!GUILE_REQUIRED}"
14296
if $PKG_CONFIG --exists $GUILE_PKGS; then
14297
with_guile=$version
14302
if test -z "$with_guile"; then
14303
as_fn_error $? "no supported guile version found" "$LINENO" 5
14306
with_guile_result="$with_guile (auto)"
14308
GUILE_REQUIRED=`$as_echo "GUILE_${with_guile}_REQUIRED" | $as_tr_sh`
14309
GUILE_PKGS="guile-$with_guile >= ${!GUILE_REQUIRED}"
14310
with_guile_result="$with_guile"
14313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_guile_result" >&5
14314
$as_echo "$with_guile_result" >&6; }
14316
PKGS="$PKGS $GUILE_PKGS"
14318
GUILE_EFFECTIVE_VERSION=$with_guile
14322
# Extract the first word of "guile", so it can be a program name with args.
14323
set dummy guile; ac_word=$2
14324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14325
$as_echo_n "checking for $ac_word... " >&6; }
14326
if ${ac_cv_path_GUILE+:} false; then :
14327
$as_echo_n "(cached) " >&6
14331
ac_cv_path_GUILE="$GUILE" # Let the user override the test with a path.
14334
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14335
for as_dir in $PATH
14338
test -z "$as_dir" && as_dir=.
14339
for ac_exec_ext in '' $ac_executable_extensions; do
14340
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14341
ac_cv_path_GUILE="$as_dir/$ac_word$ac_exec_ext"
14342
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14349
test -z "$ac_cv_path_GUILE" && ac_cv_path_GUILE="false"
14424
if test -n "$PKG_CONFIG" && \
14425
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GUILE_PKGS\""; } >&5
14426
($PKG_CONFIG --exists --print-errors "$GUILE_PKGS") 2>&5
14428
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14429
test $ac_status = 0; }; then
14353
GUILE=$ac_cv_path_GUILE
14354
if test -n "$GUILE"; then
14355
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE" >&5
14356
$as_echo "$GUILE" >&6; }
14432
as_fn_error $? "guile version $with_guile not found. Install it, or use --with-guile to select a different version." "$LINENO" 5
14358
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14359
$as_echo "no" >&6; }
14363
if test "$GUILE" = "false"; then
14364
as_fn_error $? "guile not found" "$LINENO" 5
14436
14372
pkg_failed=no
14437
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUILE" >&5
14438
$as_echo_n "checking for GUILE... " >&6; }
14373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AISLERIOT" >&5
14374
$as_echo_n "checking for AISLERIOT... " >&6; }
14440
if test -n "$GUILE_CFLAGS"; then
14441
pkg_cv_GUILE_CFLAGS="$GUILE_CFLAGS"
14376
if test -n "$AISLERIOT_CFLAGS"; then
14377
pkg_cv_AISLERIOT_CFLAGS="$AISLERIOT_CFLAGS"
14442
14378
elif test -n "$PKG_CONFIG"; then
14443
14379
if test -n "$PKG_CONFIG" && \
14444
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GUILE_PKGS\""; } >&5
14445
($PKG_CONFIG --exists --print-errors "$GUILE_PKGS") 2>&5
14380
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$PKGS\""; } >&5
14381
($PKG_CONFIG --exists --print-errors "$PKGS") 2>&5
14447
14383
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14448
14384
test $ac_status = 0; }; then
14449
pkg_cv_GUILE_CFLAGS=`$PKG_CONFIG --cflags "$GUILE_PKGS" 2>/dev/null`
14385
pkg_cv_AISLERIOT_CFLAGS=`$PKG_CONFIG --cflags "$PKGS" 2>/dev/null`
14451
14387
pkg_failed=yes
14454
14390
pkg_failed=untried
14456
if test -n "$GUILE_LIBS"; then
14457
pkg_cv_GUILE_LIBS="$GUILE_LIBS"
14392
if test -n "$AISLERIOT_LIBS"; then
14393
pkg_cv_AISLERIOT_LIBS="$AISLERIOT_LIBS"
14458
14394
elif test -n "$PKG_CONFIG"; then
14459
14395
if test -n "$PKG_CONFIG" && \
14460
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GUILE_PKGS\""; } >&5
14461
($PKG_CONFIG --exists --print-errors "$GUILE_PKGS") 2>&5
14396
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$PKGS\""; } >&5
14397
($PKG_CONFIG --exists --print-errors "$PKGS") 2>&5
14463
14399
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14464
14400
test $ac_status = 0; }; then
14465
pkg_cv_GUILE_LIBS=`$PKG_CONFIG --libs "$GUILE_PKGS" 2>/dev/null`
14401
pkg_cv_AISLERIOT_LIBS=`$PKG_CONFIG --libs "$PKGS" 2>/dev/null`
14467
14403
pkg_failed=yes
15726
15616
sed_quote_subst='$sed_quote_subst'
15727
15617
double_quote_subst='$double_quote_subst'
15728
15618
delay_variable_subst='$delay_variable_subst'
15729
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15730
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15731
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15732
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15733
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15734
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15735
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15736
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15737
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15738
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15739
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15740
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15741
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15742
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15743
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15744
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15745
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15746
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15747
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15748
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15749
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15750
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15751
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15752
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15753
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15754
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15755
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15756
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15757
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15758
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15759
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15760
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15761
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15762
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15763
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15764
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15765
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15766
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15767
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15768
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15769
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15770
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15771
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15772
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15773
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
15774
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15775
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15776
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15777
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15778
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15779
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15780
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15781
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15782
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15783
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15784
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15785
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15786
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15787
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15788
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15789
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15790
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15791
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15792
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15793
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15794
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15795
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15796
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15797
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15798
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15799
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15800
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15801
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15802
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15803
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15804
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15805
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15806
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15807
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15808
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15809
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15810
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15811
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15812
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15813
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15814
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15815
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15816
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15817
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15818
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15819
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15820
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15821
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15822
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15823
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15824
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15825
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15826
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15827
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15828
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15829
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15830
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15831
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15832
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15833
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15834
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15835
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15836
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15837
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15838
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15839
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15840
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15841
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15842
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15843
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15844
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15845
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15846
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15619
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15620
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15621
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15622
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15623
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15624
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15625
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15626
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15627
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15628
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15629
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15630
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15631
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15632
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15633
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15634
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15635
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15636
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15637
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15638
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15639
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15640
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15641
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15642
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15643
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15644
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15645
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15646
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15647
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15648
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15649
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15650
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15651
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15652
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15653
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15654
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15655
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15656
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15657
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15658
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15659
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15660
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15661
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15662
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15663
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15664
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15665
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15666
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15667
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15668
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15669
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15670
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15671
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15672
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15673
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15674
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
15675
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15676
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15677
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15678
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15679
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15680
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15681
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15682
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15683
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15684
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15685
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15686
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15687
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15688
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15689
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15690
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15691
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15692
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15693
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15694
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15695
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15696
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15697
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15698
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15699
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15700
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15701
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15702
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15703
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15704
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15705
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15706
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15707
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15708
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15709
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15710
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15711
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15712
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15713
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15714
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15715
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15716
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15717
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15718
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15719
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15720
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15721
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15722
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15723
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15724
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15725
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15726
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15727
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15728
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15729
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15730
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15731
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15732
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15733
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15734
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15735
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15736
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15737
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15738
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15739
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15740
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15741
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15742
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15743
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15744
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15745
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15746
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15747
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15748
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15849
15751
LTCFLAGS='$LTCFLAGS'
15850
15752
compiler='$compiler_DEFAULT'
15754
# A function that is used when there is no print builtin or printf.
15755
func_fallback_echo ()
15757
eval 'cat <<_LTECHO_EOF
15852
15762
# Quote evaled strings.
17115
17067
# if finds mixed CR/LF and LF-only lines. Since sed operates in
17116
17068
# text mode, it properly converts lines to CR/LF. This bash problem
17117
17069
# is reportedly fixed, but why not run on old versions too?
17118
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17119
|| (rm -f "$cfgfile"; exit 1)
17123
cat << \_LT_EOF >> "$cfgfile"
17125
# func_dirname file append nondir_replacement
17126
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
17127
# otherwise set result to NONDIR_REPLACEMENT.
17131
*/*) func_dirname_result="${1%/*}${2}" ;;
17132
* ) func_dirname_result="${3}" ;;
17136
# func_basename file
17139
func_basename_result="${1##*/}"
17142
# func_dirname_and_basename file append nondir_replacement
17143
# perform func_basename and func_dirname in a single function
17145
# dirname: Compute the dirname of FILE. If nonempty,
17146
# add APPEND to the result, otherwise set result
17147
# to NONDIR_REPLACEMENT.
17148
# value returned in "$func_dirname_result"
17149
# basename: Compute filename of FILE.
17150
# value retuned in "$func_basename_result"
17151
# Implementation must be kept synchronized with func_dirname
17152
# and func_basename. For efficiency, we do not delegate to
17153
# those functions but instead duplicate the functionality here.
17154
func_dirname_and_basename ()
17157
*/*) func_dirname_result="${1%/*}${2}" ;;
17158
* ) func_dirname_result="${3}" ;;
17160
func_basename_result="${1##*/}"
17163
# func_stripname prefix suffix name
17164
# strip PREFIX and SUFFIX off of NAME.
17165
# PREFIX and SUFFIX must not contain globbing or regex special
17166
# characters, hashes, percent signs, but SUFFIX may contain a leading
17167
# dot (in which case that matches only a dot).
17170
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17171
# positional parameters, so assign one to ordinary parameter first.
17172
func_stripname_result=${3}
17173
func_stripname_result=${func_stripname_result#"${1}"}
17174
func_stripname_result=${func_stripname_result%"${2}"}
17180
func_opt_split_opt=${1%%=*}
17181
func_opt_split_arg=${1#*=}
17188
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17189
*) func_lo2o_result=${1} ;;
17193
# func_xform libobj-or-source
17196
func_xform_result=${1%.*}.lo
17199
# func_arith arithmetic-term...
17202
func_arith_result=$(( $* ))
17206
# STRING may not start with a hyphen.
17209
func_len_result=${#1}
17214
*) # Bourne compatible functions.
17215
cat << \_LT_EOF >> "$cfgfile"
17217
# func_dirname file append nondir_replacement
17218
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
17219
# otherwise set result to NONDIR_REPLACEMENT.
17222
# Extract subdirectory from the argument.
17223
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17224
if test "X$func_dirname_result" = "X${1}"; then
17225
func_dirname_result="${3}"
17227
func_dirname_result="$func_dirname_result${2}"
17231
# func_basename file
17234
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17238
# func_stripname prefix suffix name
17239
# strip PREFIX and SUFFIX off of NAME.
17240
# PREFIX and SUFFIX must not contain globbing or regex special
17241
# characters, hashes, percent signs, but SUFFIX may contain a leading
17242
# dot (in which case that matches only a dot).
17243
# func_strip_suffix prefix name
17247
.*) func_stripname_result=`$ECHO "X${3}" \
17248
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17249
*) func_stripname_result=`$ECHO "X${3}" \
17250
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17255
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17256
my_sed_long_arg='1s/^-[^=]*=//'
17261
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17262
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17268
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17271
# func_xform libobj-or-source
17274
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17277
# func_arith arithmetic-term...
17280
func_arith_result=`expr "$@"`
17284
# STRING may not start with a hyphen.
17287
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17293
case $lt_shell_append in
17295
cat << \_LT_EOF >> "$cfgfile"
17297
# func_append var value
17298
# Append VALUE to the end of shell variable VAR.
17306
cat << \_LT_EOF >> "$cfgfile"
17308
# func_append var value
17309
# Append VALUE to the end of shell variable VAR.
17320
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17321
|| (rm -f "$cfgfile"; exit 1)
17323
mv -f "$cfgfile" "$ofile" ||
17070
sed '$q' "$ltmain" >> "$cfgfile" \
17071
|| (rm -f "$cfgfile"; exit 1)
17073
if test x"$xsi_shell" = xyes; then
17074
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17078
\ */*) func_dirname_result="${1%/*}${2}" ;;\
17079
\ * ) func_dirname_result="${3}" ;;\
17081
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17082
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17083
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17084
test 0 -eq $? || _lt_function_replace_fail=:
17087
sed -e '/^func_basename ()$/,/^} # func_basename /c\
17090
\ func_basename_result="${1##*/}"\
17091
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17092
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17093
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17094
test 0 -eq $? || _lt_function_replace_fail=:
17097
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17098
func_dirname_and_basename ()\
17101
\ */*) func_dirname_result="${1%/*}${2}" ;;\
17102
\ * ) func_dirname_result="${3}" ;;\
17104
\ func_basename_result="${1##*/}"\
17105
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17106
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17107
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17108
test 0 -eq $? || _lt_function_replace_fail=:
17111
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17114
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17115
\ # positional parameters, so assign one to ordinary parameter first.\
17116
\ func_stripname_result=${3}\
17117
\ func_stripname_result=${func_stripname_result#"${1}"}\
17118
\ func_stripname_result=${func_stripname_result%"${2}"}\
17119
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17120
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17121
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17122
test 0 -eq $? || _lt_function_replace_fail=:
17125
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17126
func_split_long_opt ()\
17128
\ func_split_long_opt_name=${1%%=*}\
17129
\ func_split_long_opt_arg=${1#*=}\
17130
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17131
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17132
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17133
test 0 -eq $? || _lt_function_replace_fail=:
17136
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17137
func_split_short_opt ()\
17139
\ func_split_short_opt_arg=${1#??}\
17140
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17141
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17142
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17143
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17144
test 0 -eq $? || _lt_function_replace_fail=:
17147
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17151
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17152
\ *) func_lo2o_result=${1} ;;\
17154
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17155
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17156
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17157
test 0 -eq $? || _lt_function_replace_fail=:
17160
sed -e '/^func_xform ()$/,/^} # func_xform /c\
17163
func_xform_result=${1%.*}.lo\
17164
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17165
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17166
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17167
test 0 -eq $? || _lt_function_replace_fail=:
17170
sed -e '/^func_arith ()$/,/^} # func_arith /c\
17173
func_arith_result=$(( $* ))\
17174
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17175
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17176
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17177
test 0 -eq $? || _lt_function_replace_fail=:
17180
sed -e '/^func_len ()$/,/^} # func_len /c\
17183
func_len_result=${#1}\
17184
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17185
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17186
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17187
test 0 -eq $? || _lt_function_replace_fail=:
17191
if test x"$lt_shell_append" = xyes; then
17192
sed -e '/^func_append ()$/,/^} # func_append /c\
17195
eval "${1}+=\\${2}"\
17196
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17197
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17198
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17199
test 0 -eq $? || _lt_function_replace_fail=:
17202
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17203
func_append_quoted ()\
17205
\ func_quote_for_eval "${2}"\
17206
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17207
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17208
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17209
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17210
test 0 -eq $? || _lt_function_replace_fail=:
17213
# Save a `func_append' function call where possible by direct use of '+='
17214
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17215
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17216
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17217
test 0 -eq $? || _lt_function_replace_fail=:
17219
# Save a `func_append' function call even when '+=' is not available
17220
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17221
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17222
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17223
test 0 -eq $? || _lt_function_replace_fail=:
17226
if test x"$_lt_function_replace_fail" = x":"; then
17227
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17228
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17232
mv -f "$cfgfile" "$ofile" ||
17324
17233
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17325
17234
chmod +x "$ofile"