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'"
549
# Use only awk features that work with 7th edition Unix awk (1978).
550
# My, what an old awk you have, Mr. Solaris!
552
while (length(v1) && length(v2)) {
553
# Set d1 to be the next thing to compare from v1, and likewise for d2.
554
# Normally this is a single character, but if v1 and v2 contain digits,
555
# compare them as integers and fractions as strverscmp does.
556
if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
557
# Split v1 and v2 into their leading digit string components d1 and d2,
558
# and advance v1 and v2 past the leading digit strings.
559
for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
560
for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
561
d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
562
d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
565
# Compare two fractions.
566
while (d1 ~ /^0/ && d2 ~ /^0/) {
567
d1 = substr(d1, 2); len1--
568
d2 = substr(d2, 2); len2--
570
if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
571
# The two components differ in length, and the common prefix
572
# contains only leading zeros. Consider the longer to be less.
576
# Otherwise, compare as strings.
581
# A fraction is less than an integer.
586
# An integer is greater than a fraction.
589
# Compare two integers.
595
# The normal case, without worrying about digits.
596
d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
597
d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
602
# Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
603
# which mishandles some comparisons of empty strings to integers.
604
if (length(v2)) exit 1
605
if (length(v1)) exit 2
540
608
SHELL=${CONFIG_SHELL-/bin/sh}
6678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6679
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6680
if ${lt_cv_to_host_file_cmd+:} false; then :
6681
$as_echo_n "(cached) " >&6
6686
*-*-mingw* ) # actually msys
6687
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6690
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6692
* ) # otherwise, assume *nix
6693
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6699
*-*-mingw* ) # actually msys
6700
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6703
lt_cv_to_host_file_cmd=func_convert_file_noop
6705
* ) # otherwise, assume *nix
6706
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6710
* ) # unhandled hosts (and "normal" native builds)
6711
lt_cv_to_host_file_cmd=func_convert_file_noop
6717
to_host_file_cmd=$lt_cv_to_host_file_cmd
6718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6719
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6726
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6727
if ${lt_cv_to_tool_file_cmd+:} false; then :
6728
$as_echo_n "(cached) " >&6
6730
#assume ordinary cross tools, or native build.
6731
lt_cv_to_tool_file_cmd=func_convert_file_noop
6735
*-*-mingw* ) # actually msys
6736
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6744
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6746
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6457
6752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6458
6753
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6459
if test "${lt_cv_ld_reload_flag+set}" = set; then :
6754
if ${lt_cv_ld_reload_flag+:} false; then :
6460
6755
$as_echo_n "(cached) " >&6
6462
6757
lt_cv_ld_reload_flag='-r'
6811
if test -n "$ac_tool_prefix"; then
6812
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6813
set dummy ${ac_tool_prefix}ar; ac_word=$2
6814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6815
$as_echo_n "checking for $ac_word... " >&6; }
6816
if test "${ac_cv_prog_AR+set}" = set; then :
7136
if test -n "$ac_tool_prefix"; then
7137
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7138
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140
$as_echo_n "checking for $ac_word... " >&6; }
7141
if ${ac_cv_prog_DLLTOOL+:} false; then :
7142
$as_echo_n "(cached) " >&6
7144
if test -n "$DLLTOOL"; then
7145
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151
test -z "$as_dir" && as_dir=.
7152
for ac_exec_ext in '' $ac_executable_extensions; do
7153
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7154
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7155
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7164
DLLTOOL=$ac_cv_prog_DLLTOOL
7165
if test -n "$DLLTOOL"; then
7166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7167
$as_echo "$DLLTOOL" >&6; }
7169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170
$as_echo "no" >&6; }
7175
if test -z "$ac_cv_prog_DLLTOOL"; then
7176
ac_ct_DLLTOOL=$DLLTOOL
7177
# Extract the first word of "dlltool", so it can be a program name with args.
7178
set dummy dlltool; ac_word=$2
7179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7180
$as_echo_n "checking for $ac_word... " >&6; }
7181
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7182
$as_echo_n "(cached) " >&6
7184
if test -n "$ac_ct_DLLTOOL"; then
7185
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7187
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191
test -z "$as_dir" && as_dir=.
7192
for ac_exec_ext in '' $ac_executable_extensions; do
7193
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7194
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7195
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7205
if test -n "$ac_ct_DLLTOOL"; then
7206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7207
$as_echo "$ac_ct_DLLTOOL" >&6; }
7209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7210
$as_echo "no" >&6; }
7213
if test "x$ac_ct_DLLTOOL" = x; then
7216
case $cross_compiling:$ac_tool_warned in
7218
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7219
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7220
ac_tool_warned=yes ;;
7222
DLLTOOL=$ac_ct_DLLTOOL
7225
DLLTOOL="$ac_cv_prog_DLLTOOL"
7228
test -z "$DLLTOOL" && DLLTOOL=dlltool
7239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7240
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7241
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7242
$as_echo_n "(cached) " >&6
7244
lt_cv_sharedlib_from_linklib_cmd='unknown'
7247
cygwin* | mingw* | pw32* | cegcc*)
7248
# two different shell functions defined in ltmain.sh
7249
# decide which to use based on capabilities of $DLLTOOL
7250
case `$DLLTOOL --help 2>&1` in
7251
*--identify-strict*)
7252
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7255
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7260
# fallback: assume linklib IS sharedlib
7261
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7267
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7268
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7269
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7278
if test -n "$ac_tool_prefix"; then
7281
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7282
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284
$as_echo_n "checking for $ac_word... " >&6; }
7285
if ${ac_cv_prog_AR+:} false; then :
6817
7286
$as_echo_n "(cached) " >&6
6819
7288
if test -n "$AR"; then
7627
8221
need_locks="$enable_libtool_lock"
8223
if test -n "$ac_tool_prefix"; then
8224
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8225
set dummy ${ac_tool_prefix}mt; ac_word=$2
8226
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8227
$as_echo_n "checking for $ac_word... " >&6; }
8228
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8229
$as_echo_n "(cached) " >&6
8231
if test -n "$MANIFEST_TOOL"; then
8232
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8234
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8238
test -z "$as_dir" && as_dir=.
8239
for ac_exec_ext in '' $ac_executable_extensions; do
8240
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8241
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8242
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8251
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8252
if test -n "$MANIFEST_TOOL"; then
8253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8254
$as_echo "$MANIFEST_TOOL" >&6; }
8256
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8257
$as_echo "no" >&6; }
8262
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8263
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8264
# Extract the first word of "mt", so it can be a program name with args.
8265
set dummy mt; ac_word=$2
8266
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8267
$as_echo_n "checking for $ac_word... " >&6; }
8268
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8269
$as_echo_n "(cached) " >&6
8271
if test -n "$ac_ct_MANIFEST_TOOL"; then
8272
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8274
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8278
test -z "$as_dir" && as_dir=.
8279
for ac_exec_ext in '' $ac_executable_extensions; do
8280
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8281
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8282
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8291
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8292
if test -n "$ac_ct_MANIFEST_TOOL"; then
8293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8294
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8297
$as_echo "no" >&6; }
8300
if test "x$ac_ct_MANIFEST_TOOL" = x; then
8303
case $cross_compiling:$ac_tool_warned in
8305
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8306
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8307
ac_tool_warned=yes ;;
8309
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8312
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8315
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8317
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8318
if ${lt_cv_path_mainfest_tool+:} false; then :
8319
$as_echo_n "(cached) " >&6
8321
lt_cv_path_mainfest_tool=no
8322
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8323
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8324
cat conftest.err >&5
8325
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8326
lt_cv_path_mainfest_tool=yes
8330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8331
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8332
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7630
8341
case $host_os in
7631
8342
rhapsody* | darwin*)
10037
10794
# Microsoft Visual C++.
10038
10795
# hardcode_libdir_flag_spec is actually meaningless, as there is
10039
10796
# no search path for DLLs.
10040
hardcode_libdir_flag_spec=' '
10041
allow_undefined_flag=unsupported
10042
# Tell ltmain to make .lib files, not .a files.
10044
# Tell ltmain to make .dll files, not .so files.
10046
# FIXME: Setting linknames here is a bad hack.
10047
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10048
# The linker will automatically build a .lib file if we build a DLL.
10049
old_archive_from_new_cmds='true'
10050
# FIXME: Should let the user specify the lib program.
10051
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10052
fix_srcfile_path='`cygpath -w "$srcfile"`'
10053
enable_shared_with_static_runtimes=yes
10797
case $cc_basename in
10800
hardcode_libdir_flag_spec=' '
10801
allow_undefined_flag=unsupported
10802
always_export_symbols=yes
10804
# Tell ltmain to make .lib files, not .a files.
10806
# Tell ltmain to make .dll files, not .so files.
10808
# FIXME: Setting linknames here is a bad hack.
10809
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10810
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10811
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10813
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10815
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10817
# The linker will not automatically build a static lib if we build a DLL.
10818
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10819
enable_shared_with_static_runtimes=yes
10820
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10822
old_postinstall_cmds='chmod 644 $oldlib'
10823
postlink_cmds='lt_outputfile="@OUTPUT@"~
10824
lt_tool_outputfile="@TOOL_OUTPUT@"~
10825
case $lt_outputfile in
10828
lt_outputfile="$lt_outputfile.exe"
10829
lt_tool_outputfile="$lt_tool_outputfile.exe"
10832
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10833
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10834
$RM "$lt_outputfile.manifest";
10838
# Assume MSVC wrapper
10839
hardcode_libdir_flag_spec=' '
10840
allow_undefined_flag=unsupported
10841
# Tell ltmain to make .lib files, not .a files.
10843
# Tell ltmain to make .dll files, not .so files.
10845
# FIXME: Setting linknames here is a bad hack.
10846
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10847
# The linker will automatically build a .lib file if we build a DLL.
10848
old_archive_from_new_cmds='true'
10849
# FIXME: Should let the user specify the lib program.
10850
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10851
enable_shared_with_static_runtimes=yes
10056
10856
darwin* | rhapsody*)
10977
11791
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11794
dynamic_linker='Win32 ld.exe'
11799
libname_spec='$name'
11800
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11801
library_names_spec='${libname}.dll.lib'
11805
sys_lib_search_path_spec=
11808
for lt_path in $LIB
11811
# Let DOS variable expansion print the short 8.3 style file name.
11812
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11813
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11816
# Convert to MSYS style.
11817
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11820
# Convert to unix form, then to dos form, then back to unix form
11821
# but this time dos style (no spaces!) so that the unix form looks
11822
# like /cygdrive/c/PROGRA~1:/cygdr...
11823
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11824
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11825
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11828
sys_lib_search_path_spec="$LIB"
11829
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11830
# It is most probably a Windows format PATH.
11831
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11833
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11835
# FIXME: find the short name or the path components, as spaces are
11836
# common. (e.g. "Program Files" -> "PROGRA~1")
11840
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11841
postinstall_cmds='base_file=`basename \${file}`~
11842
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11843
dldir=$destdir/`dirname \$dlpath`~
11844
test -d \$dldir || mkdir -p \$dldir~
11845
$install_prog $dir/$dlname \$dldir/$dlname'
11846
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11847
dlpath=$dir/\$dldll~
11849
shlibpath_overrides_runpath=yes
11850
dynamic_linker='Win32 link.exe'
11854
# Assume MSVC wrapper
10983
11855
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11856
dynamic_linker='Win32 ld.exe'
10986
dynamic_linker='Win32 ld.exe'
10987
11859
# FIXME: first we should search . and the directory the executable is in
10988
11860
shlibpath_var=PATH
12845
13737
cygwin* | mingw* | pw32* | cegcc*)
12846
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12847
# as there is no search path for DLLs.
12848
hardcode_libdir_flag_spec_CXX='-L$libdir'
12849
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12850
allow_undefined_flag_CXX=unsupported
12851
always_export_symbols_CXX=no
12852
enable_shared_with_static_runtimes_CXX=yes
13738
case $GXX,$cc_basename in
13741
# hardcode_libdir_flag_spec is actually meaningless, as there is
13742
# no search path for DLLs.
13743
hardcode_libdir_flag_spec_CXX=' '
13744
allow_undefined_flag_CXX=unsupported
13745
always_export_symbols_CXX=yes
13746
file_list_spec_CXX='@'
13747
# Tell ltmain to make .lib files, not .a files.
13749
# Tell ltmain to make .dll files, not .so files.
13751
# FIXME: Setting linknames here is a bad hack.
13752
archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13753
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13754
$SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13756
$SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13758
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13760
# The linker will not automatically build a static lib if we build a DLL.
13761
# _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13762
enable_shared_with_static_runtimes_CXX=yes
13764
old_postinstall_cmds_CXX='chmod 644 $oldlib'
13765
postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13766
lt_tool_outputfile="@TOOL_OUTPUT@"~
13767
case $lt_outputfile in
13770
lt_outputfile="$lt_outputfile.exe"
13771
lt_tool_outputfile="$lt_tool_outputfile.exe"
13774
func_to_tool_file "$lt_outputfile"~
13775
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13776
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13777
$RM "$lt_outputfile.manifest";
13782
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13783
# as there is no search path for DLLs.
13784
hardcode_libdir_flag_spec_CXX='-L$libdir'
13785
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13786
allow_undefined_flag_CXX=unsupported
13787
always_export_symbols_CXX=no
13788
enable_shared_with_static_runtimes_CXX=yes
12854
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12855
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12856
# If the export-symbols file already is a .def file (1st line
12857
# is EXPORTS), use it as is; otherwise, prepend...
12858
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12859
cp $export_symbols $output_objdir/$soname.def;
12861
echo EXPORTS > $output_objdir/$soname.def;
12862
cat $export_symbols >> $output_objdir/$soname.def;
12864
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13790
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13791
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13792
# If the export-symbols file already is a .def file (1st line
13793
# is EXPORTS), use it as is; otherwise, prepend...
13794
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13795
cp $export_symbols $output_objdir/$soname.def;
13797
echo EXPORTS > $output_objdir/$soname.def;
13798
cat $export_symbols >> $output_objdir/$soname.def;
13800
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12869
13807
darwin* | rhapsody*)
14656
15629
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15632
dynamic_linker='Win32 ld.exe'
15637
libname_spec='$name'
15638
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15639
library_names_spec='${libname}.dll.lib'
15643
sys_lib_search_path_spec=
15646
for lt_path in $LIB
15649
# Let DOS variable expansion print the short 8.3 style file name.
15650
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15651
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15654
# Convert to MSYS style.
15655
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15658
# Convert to unix form, then to dos form, then back to unix form
15659
# but this time dos style (no spaces!) so that the unix form looks
15660
# like /cygdrive/c/PROGRA~1:/cygdr...
15661
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15662
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15663
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15666
sys_lib_search_path_spec="$LIB"
15667
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15668
# It is most probably a Windows format PATH.
15669
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15671
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15673
# FIXME: find the short name or the path components, as spaces are
15674
# common. (e.g. "Program Files" -> "PROGRA~1")
15678
# DLL is installed to $(libdir)/../bin by postinstall_cmds
15679
postinstall_cmds='base_file=`basename \${file}`~
15680
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15681
dldir=$destdir/`dirname \$dlpath`~
15682
test -d \$dldir || mkdir -p \$dldir~
15683
$install_prog $dir/$dlname \$dldir/$dlname'
15684
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15685
dlpath=$dir/\$dldll~
15687
shlibpath_overrides_runpath=yes
15688
dynamic_linker='Win32 link.exe'
15692
# Assume MSVC wrapper
14662
15693
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15694
dynamic_linker='Win32 ld.exe'
14665
dynamic_linker='Win32 ld.exe'
14666
15697
# FIXME: first we should search . and the directory the executable is in
14667
15698
shlibpath_var=PATH
16417
17445
pkg_failed=no
17446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
17447
$as_echo_n "checking for GMODULE... " >&6; }
17449
if test -n "$GMODULE_CFLAGS"; then
17450
pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
17451
elif test -n "$PKG_CONFIG"; then
17452
if test -n "$PKG_CONFIG" && \
17453
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
17454
($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
17456
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17457
test $ac_status = 0; }; then
17458
pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
17465
if test -n "$GMODULE_LIBS"; then
17466
pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
17467
elif test -n "$PKG_CONFIG"; then
17468
if test -n "$PKG_CONFIG" && \
17469
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
17470
($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
17472
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17473
test $ac_status = 0; }; then
17474
pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
17484
if test $pkg_failed = yes; then
17485
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17486
$as_echo "no" >&6; }
17488
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17489
_pkg_short_errors_supported=yes
17491
_pkg_short_errors_supported=no
17493
if test $_pkg_short_errors_supported = yes; then
17494
GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gmodule-2.0" 2>&1`
17496
GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gmodule-2.0" 2>&1`
17498
# Put the nasty error message in config.log where it belongs
17499
echo "$GMODULE_PKG_ERRORS" >&5
17501
as_fn_error $? "Package requirements (gmodule-2.0) were not met:
17503
$GMODULE_PKG_ERRORS
17505
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17506
installed software in a non-standard prefix.
17508
Alternatively, you may set the environment variables GMODULE_CFLAGS
17509
and GMODULE_LIBS to avoid the need to call pkg-config.
17510
See the pkg-config man page for more details." "$LINENO" 5
17512
elif test $pkg_failed = untried; then
17513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17514
$as_echo "no" >&6; }
17515
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17516
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17517
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17518
is in your PATH or set the PKG_CONFIG environment variable to the full
17519
path to pkg-config.
17521
Alternatively, you may set the environment variables GMODULE_CFLAGS
17522
and GMODULE_LIBS to avoid the need to call pkg-config.
17523
See the pkg-config man page for more details.
17525
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17526
See \`config.log' for more details" "$LINENO" 5; }
17529
GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
17530
GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
17531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17532
$as_echo "yes" >&6; }
17540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
17541
$as_echo_n "checking for GOBJECT... " >&6; }
17543
if test -n "$GOBJECT_CFLAGS"; then
17544
pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
17545
elif test -n "$PKG_CONFIG"; then
17546
if test -n "$PKG_CONFIG" && \
17547
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
17548
($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
17550
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17551
test $ac_status = 0; }; then
17552
pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0" 2>/dev/null`
17559
if test -n "$GOBJECT_LIBS"; then
17560
pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
17561
elif test -n "$PKG_CONFIG"; then
17562
if test -n "$PKG_CONFIG" && \
17563
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
17564
($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
17566
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17567
test $ac_status = 0; }; then
17568
pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0" 2>/dev/null`
17578
if test $pkg_failed = yes; then
17579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17580
$as_echo "no" >&6; }
17582
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17583
_pkg_short_errors_supported=yes
17585
_pkg_short_errors_supported=no
17587
if test $_pkg_short_errors_supported = yes; then
17588
GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-2.0" 2>&1`
17590
GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-2.0" 2>&1`
17592
# Put the nasty error message in config.log where it belongs
17593
echo "$GOBJECT_PKG_ERRORS" >&5
17595
as_fn_error $? "Package requirements (gobject-2.0) were not met:
17597
$GOBJECT_PKG_ERRORS
17599
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17600
installed software in a non-standard prefix.
17602
Alternatively, you may set the environment variables GOBJECT_CFLAGS
17603
and GOBJECT_LIBS to avoid the need to call pkg-config.
17604
See the pkg-config man page for more details." "$LINENO" 5
17606
elif test $pkg_failed = untried; then
17607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17608
$as_echo "no" >&6; }
17609
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17610
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17611
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17612
is in your PATH or set the PKG_CONFIG environment variable to the full
17613
path to pkg-config.
17615
Alternatively, you may set the environment variables GOBJECT_CFLAGS
17616
and GOBJECT_LIBS to avoid the need to call pkg-config.
17617
See the pkg-config man page for more details.
17619
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17620
See \`config.log' for more details" "$LINENO" 5; }
17623
GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
17624
GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
17625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17626
$as_echo "yes" >&6; }
16418
17634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
16419
17635
$as_echo_n "checking for GTK... " >&6; }
16591
# GLIB_GSETTINGS([],[:])
17811
# Check whether --enable-schemas-compile was given.
17812
if test "${enable_schemas_compile+set}" = set; then :
17813
enableval=$enable_schemas_compile; case ${enableval} in
17814
yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
17815
no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
17816
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
17827
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17828
if test -n "$ac_tool_prefix"; then
17829
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17830
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17832
$as_echo_n "checking for $ac_word... " >&6; }
17833
if ${ac_cv_path_PKG_CONFIG+:} false; then :
17834
$as_echo_n "(cached) " >&6
17836
case $PKG_CONFIG in
17838
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17841
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17842
for as_dir in $PATH
17845
test -z "$as_dir" && as_dir=.
17846
for ac_exec_ext in '' $ac_executable_extensions; do
17847
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17848
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17849
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17859
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17860
if test -n "$PKG_CONFIG"; then
17861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17862
$as_echo "$PKG_CONFIG" >&6; }
17864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17865
$as_echo "no" >&6; }
17870
if test -z "$ac_cv_path_PKG_CONFIG"; then
17871
ac_pt_PKG_CONFIG=$PKG_CONFIG
17872
# Extract the first word of "pkg-config", so it can be a program name with args.
17873
set dummy pkg-config; ac_word=$2
17874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17875
$as_echo_n "checking for $ac_word... " >&6; }
17876
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17877
$as_echo_n "(cached) " >&6
17879
case $ac_pt_PKG_CONFIG in
17881
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17884
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17885
for as_dir in $PATH
17888
test -z "$as_dir" && as_dir=.
17889
for ac_exec_ext in '' $ac_executable_extensions; do
17890
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17891
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17892
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17902
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17903
if test -n "$ac_pt_PKG_CONFIG"; then
17904
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17905
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17907
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17908
$as_echo "no" >&6; }
17911
if test "x$ac_pt_PKG_CONFIG" = x; then
17914
case $cross_compiling:$ac_tool_warned in
17916
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17917
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17918
ac_tool_warned=yes ;;
17920
PKG_CONFIG=$ac_pt_PKG_CONFIG
17923
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17927
if test -n "$PKG_CONFIG"; then
17928
_pkg_min_version=0.16
17929
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17930
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17931
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17933
$as_echo "yes" >&6; }
17935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17936
$as_echo "no" >&6; }
17940
gsettingsschemadir=${datadir}/glib-2.0/schemas
17942
if test x$cross_compiling != xyes; then
17943
GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
17945
# Extract the first word of "glib-compile-schemas", so it can be a program name with args.
17946
set dummy glib-compile-schemas; ac_word=$2
17947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17948
$as_echo_n "checking for $ac_word... " >&6; }
17949
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
17950
$as_echo_n "(cached) " >&6
17952
case $GLIB_COMPILE_SCHEMAS in
17954
ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
17957
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17958
for as_dir in $PATH
17961
test -z "$as_dir" && as_dir=.
17962
for ac_exec_ext in '' $ac_executable_extensions; do
17963
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17964
ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
17965
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17975
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
17976
if test -n "$GLIB_COMPILE_SCHEMAS"; then
17977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
17978
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
17980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17981
$as_echo "no" >&6; }
17987
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
17994
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
17996
mostlyclean-am: clean-gsettings-schemas
17998
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
18000
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
18001
$(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
18003
all-am: $(gsettings_SCHEMAS:.xml=.valid)
18004
uninstall-am: uninstall-gsettings-schemas
18005
install-data-am: install-gsettings-schemas
18007
.SECONDARY: $(gsettings_SCHEMAS)
18009
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
18011
if test -n "$^"; then \
18012
test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
18013
$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
18014
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
18017
uninstall-gsettings-schemas:
18018
@$(NORMAL_UNINSTALL)
18019
@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
18020
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
18021
test -n "$$files" || exit 0; \
18022
echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
18023
cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
18024
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
18026
clean-gsettings-schemas:
18027
rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
18029
ifdef gsettings_ENUM_NAMESPACE
18030
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
18031
$(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
16593
18041
# Check for GNOME modules
18625
if test "$need_sqlite" = "yes"; then
18628
# Errors out if sqlite is not found
18631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
18632
$as_echo_n "checking for SQLITE... " >&6; }
18634
if test -n "$SQLITE_CFLAGS"; then
18635
pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
18636
elif test -n "$PKG_CONFIG"; then
18637
if test -n "$PKG_CONFIG" && \
18638
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
18639
($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
18641
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18642
test $ac_status = 0; }; then
18643
pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
18650
if test -n "$SQLITE_LIBS"; then
18651
pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
18652
elif test -n "$PKG_CONFIG"; then
18653
if test -n "$PKG_CONFIG" && \
18654
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
18655
($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
18657
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18658
test $ac_status = 0; }; then
18659
pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
18669
if test $pkg_failed = yes; then
18670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18671
$as_echo "no" >&6; }
18673
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18674
_pkg_short_errors_supported=yes
18676
_pkg_short_errors_supported=no
18678
if test $_pkg_short_errors_supported = yes; then
18679
SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sqlite3" 2>&1`
18681
SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors "sqlite3" 2>&1`
18683
# Put the nasty error message in config.log where it belongs
18684
echo "$SQLITE_PKG_ERRORS" >&5
18686
as_fn_error $? "Package requirements (sqlite3) were not met:
18690
Consider adjusting the PKG_CONFIG_PATH environment variable if you
18691
installed software in a non-standard prefix.
18693
Alternatively, you may set the environment variables SQLITE_CFLAGS
18694
and SQLITE_LIBS to avoid the need to call pkg-config.
18695
See the pkg-config man page for more details." "$LINENO" 5
18697
elif test $pkg_failed = untried; then
18698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18699
$as_echo "no" >&6; }
18700
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18701
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18702
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18703
is in your PATH or set the PKG_CONFIG environment variable to the full
18704
path to pkg-config.
18706
Alternatively, you may set the environment variables SQLITE_CFLAGS
18707
and SQLITE_LIBS to avoid the need to call pkg-config.
18708
See the pkg-config man page for more details.
18710
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18711
See \`config.log' for more details" "$LINENO" 5; }
18714
SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
18715
SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
18716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18717
$as_echo "yes" >&6; }
18725
$as_echo "#define HAVE_SQLITE 1" >>confdefs.h
18729
if test "$have_sqlite" = "yes"; then
18731
HAVE_SQLITE_FALSE='#'
18733
HAVE_SQLITE_TRUE='#'
18741
if test "$need_opengl" = "yes"; then
18744
# Errors out if OpenGL is not found
18747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENGL" >&5
18748
$as_echo_n "checking for OPENGL... " >&6; }
18750
if test -n "$OPENGL_CFLAGS"; then
18751
pkg_cv_OPENGL_CFLAGS="$OPENGL_CFLAGS"
18752
elif test -n "$PKG_CONFIG"; then
18753
if test -n "$PKG_CONFIG" && \
18754
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
18756
($PKG_CONFIG --exists --print-errors "
18759
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18760
test $ac_status = 0; }; then
18761
pkg_cv_OPENGL_CFLAGS=`$PKG_CONFIG --cflags "
18762
gl glu" 2>/dev/null`
18769
if test -n "$OPENGL_LIBS"; then
18770
pkg_cv_OPENGL_LIBS="$OPENGL_LIBS"
18771
elif test -n "$PKG_CONFIG"; then
18772
if test -n "$PKG_CONFIG" && \
18773
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
18775
($PKG_CONFIG --exists --print-errors "
18778
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18779
test $ac_status = 0; }; then
18780
pkg_cv_OPENGL_LIBS=`$PKG_CONFIG --libs "
18781
gl glu" 2>/dev/null`
18791
if test $pkg_failed = yes; then
18792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18793
$as_echo "no" >&6; }
18795
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18796
_pkg_short_errors_supported=yes
18798
_pkg_short_errors_supported=no
18800
if test $_pkg_short_errors_supported = yes; then
18801
OPENGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
18804
OPENGL_PKG_ERRORS=`$PKG_CONFIG --print-errors "
18807
# Put the nasty error message in config.log where it belongs
18808
echo "$OPENGL_PKG_ERRORS" >&5
18810
as_fn_error $? "Package requirements (
18811
gl glu) were not met:
18815
Consider adjusting the PKG_CONFIG_PATH environment variable if you
18816
installed software in a non-standard prefix.
18818
Alternatively, you may set the environment variables OPENGL_CFLAGS
18819
and OPENGL_LIBS to avoid the need to call pkg-config.
18820
See the pkg-config man page for more details." "$LINENO" 5
18822
elif test $pkg_failed = untried; then
18823
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18824
$as_echo "no" >&6; }
18825
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18826
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18827
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18828
is in your PATH or set the PKG_CONFIG environment variable to the full
18829
path to pkg-config.
18831
Alternatively, you may set the environment variables OPENGL_CFLAGS
18832
and OPENGL_LIBS to avoid the need to call pkg-config.
18833
See the pkg-config man page for more details.
18835
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18836
See \`config.log' for more details" "$LINENO" 5; }
18839
OPENGL_CFLAGS=$pkg_cv_OPENGL_CFLAGS
18840
OPENGL_LIBS=$pkg_cv_OPENGL_LIBS
18841
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18842
$as_echo "yes" >&6; }
18850
$as_echo "#define HAVE_OPENGL 1" >>confdefs.h
18854
if test "$have_opengl" = "yes"; then
18856
HAVE_OPENGL_FALSE='#'
18858
HAVE_OPENGL_TRUE='#'
18866
if test "$need_glx" = "yes"; then
18869
# Errors out if GLX is not found
18872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLX" >&5
18873
$as_echo_n "checking for GLX... " >&6; }
18875
if test -n "$GLX_CFLAGS"; then
18876
pkg_cv_GLX_CFLAGS="$GLX_CFLAGS"
18877
elif test -n "$PKG_CONFIG"; then
18878
if test -n "$PKG_CONFIG" && \
18879
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
18881
($PKG_CONFIG --exists --print-errors "
18884
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18885
test $ac_status = 0; }; then
18886
pkg_cv_GLX_CFLAGS=`$PKG_CONFIG --cflags "
18887
gl x11" 2>/dev/null`
18894
if test -n "$GLX_LIBS"; then
18895
pkg_cv_GLX_LIBS="$GLX_LIBS"
18896
elif test -n "$PKG_CONFIG"; then
18897
if test -n "$PKG_CONFIG" && \
18898
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
18900
($PKG_CONFIG --exists --print-errors "
18903
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18904
test $ac_status = 0; }; then
18905
pkg_cv_GLX_LIBS=`$PKG_CONFIG --libs "
18906
gl x11" 2>/dev/null`
18916
if test $pkg_failed = yes; then
18917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18918
$as_echo "no" >&6; }
18920
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18921
_pkg_short_errors_supported=yes
18923
_pkg_short_errors_supported=no
18925
if test $_pkg_short_errors_supported = yes; then
18926
GLX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
18929
GLX_PKG_ERRORS=`$PKG_CONFIG --print-errors "
18932
# Put the nasty error message in config.log where it belongs
18933
echo "$GLX_PKG_ERRORS" >&5
18935
as_fn_error $? "Package requirements (
18936
gl x11) were not met:
18940
Consider adjusting the PKG_CONFIG_PATH environment variable if you
18941
installed software in a non-standard prefix.
18943
Alternatively, you may set the environment variables GLX_CFLAGS
18944
and GLX_LIBS to avoid the need to call pkg-config.
18945
See the pkg-config man page for more details." "$LINENO" 5
18947
elif test $pkg_failed = untried; then
18948
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18949
$as_echo "no" >&6; }
18950
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18951
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18952
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18953
is in your PATH or set the PKG_CONFIG environment variable to the full
18954
path to pkg-config.
18956
Alternatively, you may set the environment variables GLX_CFLAGS
18957
and GLX_LIBS to avoid the need to call pkg-config.
18958
See the pkg-config man page for more details.
18960
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18961
See \`config.log' for more details" "$LINENO" 5; }
18964
GLX_CFLAGS=$pkg_cv_GLX_CFLAGS
18965
GLX_LIBS=$pkg_cv_GLX_LIBS
18966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18967
$as_echo "yes" >&6; }
18975
$as_echo "#define HAVE_GLX 1" >>confdefs.h
18979
if test "$have_glx" = "yes"; then
17160
18988
# Check for Clutter
17162
18990
if test "$need_clutter" = "yes"; then
19200
# Check for PyGObject
17370
19202
if test "$have_python" = "yes"; then
17372
19204
pkg_failed=no
17373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGTK" >&5
17374
$as_echo_n "checking for PYGTK... " >&6; }
19205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGOBJECT" >&5
19206
$as_echo_n "checking for PYGOBJECT... " >&6; }
17376
if test -n "$PYGTK_CFLAGS"; then
17377
pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS"
19208
if test -n "$PYGOBJECT_CFLAGS"; then
19209
pkg_cv_PYGOBJECT_CFLAGS="$PYGOBJECT_CFLAGS"
17378
19210
elif test -n "$PKG_CONFIG"; then
17379
19211
if test -n "$PKG_CONFIG" && \
17380
19212
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
17381
pygtk-2.0 >= \$PYGTK_REQUIRED\""; } >&5
19213
pygobject-2.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
17382
19214
($PKG_CONFIG --exists --print-errors "
17383
pygtk-2.0 >= $PYGTK_REQUIRED") 2>&5
19215
pygobject-2.0 >= $PYGOBJECT_REQUIRED") 2>&5
17385
19217
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17386
19218
test $ac_status = 0; }; then
17387
pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "
17388
pygtk-2.0 >= $PYGTK_REQUIRED" 2>/dev/null`
19219
pkg_cv_PYGOBJECT_CFLAGS=`$PKG_CONFIG --cflags "
19220
pygobject-2.0 >= $PYGOBJECT_REQUIRED" 2>/dev/null`
17390
19222
pkg_failed=yes
17393
19225
pkg_failed=untried
17395
if test -n "$PYGTK_LIBS"; then
17396
pkg_cv_PYGTK_LIBS="$PYGTK_LIBS"
19227
if test -n "$PYGOBJECT_LIBS"; then
19228
pkg_cv_PYGOBJECT_LIBS="$PYGOBJECT_LIBS"
17397
19229
elif test -n "$PKG_CONFIG"; then
17398
19230
if test -n "$PKG_CONFIG" && \
17399
19231
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
17400
pygtk-2.0 >= \$PYGTK_REQUIRED\""; } >&5
19232
pygobject-2.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
17401
19233
($PKG_CONFIG --exists --print-errors "
17402
pygtk-2.0 >= $PYGTK_REQUIRED") 2>&5
19234
pygobject-2.0 >= $PYGOBJECT_REQUIRED") 2>&5
17404
19236
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17405
19237
test $ac_status = 0; }; then
17406
pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "
17407
pygtk-2.0 >= $PYGTK_REQUIRED" 2>/dev/null`
19238
pkg_cv_PYGOBJECT_LIBS=`$PKG_CONFIG --libs "
19239
pygobject-2.0 >= $PYGOBJECT_REQUIRED" 2>/dev/null`
17409
19241
pkg_failed=yes
22332
24203
"aisleriot/sol.desktop.in") CONFIG_FILES="$CONFIG_FILES aisleriot/sol.desktop.in" ;;
22333
24204
"aisleriot/freecell.desktop.in") CONFIG_FILES="$CONFIG_FILES aisleriot/freecell.desktop.in" ;;
22334
24205
"aisleriot/data/Makefile") CONFIG_FILES="$CONFIG_FILES aisleriot/data/Makefile" ;;
24206
"aisleriot/icons/Makefile") CONFIG_FILES="$CONFIG_FILES aisleriot/icons/Makefile" ;;
24207
"aisleriot/icons/gnome/Makefile") CONFIG_FILES="$CONFIG_FILES aisleriot/icons/gnome/Makefile" ;;
24208
"aisleriot/icons/hildon/Makefile") CONFIG_FILES="$CONFIG_FILES aisleriot/icons/hildon/Makefile" ;;
22335
24209
"aisleriot/lib/Makefile") CONFIG_FILES="$CONFIG_FILES aisleriot/lib/Makefile" ;;
22336
24210
"aisleriot/rules/Makefile") CONFIG_FILES="$CONFIG_FILES aisleriot/rules/Makefile" ;;
22337
24211
"aisleriot/help/Makefile") CONFIG_FILES="$CONFIG_FILES aisleriot/help/Makefile" ;;
22338
24212
"glchess/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/Makefile" ;;
22339
24213
"glchess/data/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/data/Makefile" ;;
22340
24214
"glchess/data/pieces/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/data/pieces/Makefile" ;;
24215
"glchess/data/pieces/3d/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/data/pieces/3d/Makefile" ;;
22341
24216
"glchess/data/pieces/fancy/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/data/pieces/fancy/Makefile" ;;
22342
24217
"glchess/data/pieces/simple/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/data/pieces/simple/Makefile" ;;
22343
24218
"glchess/data/textures/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/data/textures/Makefile" ;;
22344
24219
"glchess/gnuchess/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/gnuchess/Makefile" ;;
22345
24220
"glchess/help/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/help/Makefile" ;;
22346
"glchess/src/glchess.in") CONFIG_FILES="$CONFIG_FILES glchess/src/glchess.in" ;;
22347
24221
"glchess/src/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/Makefile" ;;
22348
"glchess/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/Makefile" ;;
22349
"glchess/src/lib/defaults.py") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/defaults.py" ;;
22350
"glchess/src/lib/chess/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/chess/Makefile" ;;
22351
"glchess/src/lib/chess/fics/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/chess/fics/Makefile" ;;
22352
"glchess/src/lib/ggz/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/ggz/Makefile" ;;
22353
"glchess/src/lib/gtkui/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/gtkui/Makefile" ;;
22354
"glchess/src/lib/scene/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/scene/Makefile" ;;
22355
"glchess/src/lib/scene/cairo/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/scene/cairo/Makefile" ;;
22356
"glchess/src/lib/scene/opengl/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/scene/opengl/Makefile" ;;
22357
"glchess/src/lib/ui/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/ui/Makefile" ;;
22358
24222
"gnome-sudoku/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-sudoku/Makefile" ;;
22359
24223
"gnome-sudoku/src/gnome-sudoku.in") CONFIG_FILES="$CONFIG_FILES gnome-sudoku/src/gnome-sudoku.in" ;;
22360
24224
"gnome-sudoku/src/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-sudoku/src/Makefile" ;;
23521
25420
# if finds mixed CR/LF and LF-only lines. Since sed operates in
23522
25421
# text mode, it properly converts lines to CR/LF. This bash problem
23523
25422
# is reportedly fixed, but why not run on old versions too?
23524
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
23525
|| (rm -f "$cfgfile"; exit 1)
23529
cat << \_LT_EOF >> "$cfgfile"
23531
# func_dirname file append nondir_replacement
23532
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
23533
# otherwise set result to NONDIR_REPLACEMENT.
23537
*/*) func_dirname_result="${1%/*}${2}" ;;
23538
* ) func_dirname_result="${3}" ;;
23542
# func_basename file
23545
func_basename_result="${1##*/}"
23548
# func_dirname_and_basename file append nondir_replacement
23549
# perform func_basename and func_dirname in a single function
23551
# dirname: Compute the dirname of FILE. If nonempty,
23552
# add APPEND to the result, otherwise set result
23553
# to NONDIR_REPLACEMENT.
23554
# value returned in "$func_dirname_result"
23555
# basename: Compute filename of FILE.
23556
# value retuned in "$func_basename_result"
23557
# Implementation must be kept synchronized with func_dirname
23558
# and func_basename. For efficiency, we do not delegate to
23559
# those functions but instead duplicate the functionality here.
23560
func_dirname_and_basename ()
23563
*/*) func_dirname_result="${1%/*}${2}" ;;
23564
* ) func_dirname_result="${3}" ;;
23566
func_basename_result="${1##*/}"
23569
# func_stripname prefix suffix name
23570
# strip PREFIX and SUFFIX off of NAME.
23571
# PREFIX and SUFFIX must not contain globbing or regex special
23572
# characters, hashes, percent signs, but SUFFIX may contain a leading
23573
# dot (in which case that matches only a dot).
23576
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
23577
# positional parameters, so assign one to ordinary parameter first.
23578
func_stripname_result=${3}
23579
func_stripname_result=${func_stripname_result#"${1}"}
23580
func_stripname_result=${func_stripname_result%"${2}"}
23586
func_opt_split_opt=${1%%=*}
23587
func_opt_split_arg=${1#*=}
23594
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
23595
*) func_lo2o_result=${1} ;;
23599
# func_xform libobj-or-source
23602
func_xform_result=${1%.*}.lo
23605
# func_arith arithmetic-term...
23608
func_arith_result=$(( $* ))
23612
# STRING may not start with a hyphen.
23615
func_len_result=${#1}
23620
*) # Bourne compatible functions.
23621
cat << \_LT_EOF >> "$cfgfile"
23623
# func_dirname file append nondir_replacement
23624
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
23625
# otherwise set result to NONDIR_REPLACEMENT.
23628
# Extract subdirectory from the argument.
23629
func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
23630
if test "X$func_dirname_result" = "X${1}"; then
23631
func_dirname_result="${3}"
23633
func_dirname_result="$func_dirname_result${2}"
23637
# func_basename file
23640
func_basename_result=`$ECHO "${1}" | $SED "$basename"`
23644
# func_stripname prefix suffix name
23645
# strip PREFIX and SUFFIX off of NAME.
23646
# PREFIX and SUFFIX must not contain globbing or regex special
23647
# characters, hashes, percent signs, but SUFFIX may contain a leading
23648
# dot (in which case that matches only a dot).
23649
# func_strip_suffix prefix name
23653
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
23654
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
23659
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
23660
my_sed_long_arg='1s/^-[^=]*=//'
23665
func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
23666
func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
23672
func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
23675
# func_xform libobj-or-source
23678
func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
23681
# func_arith arithmetic-term...
23684
func_arith_result=`expr "$@"`
23688
# STRING may not start with a hyphen.
23691
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
23697
case $lt_shell_append in
23699
cat << \_LT_EOF >> "$cfgfile"
23701
# func_append var value
23702
# Append VALUE to the end of shell variable VAR.
23710
cat << \_LT_EOF >> "$cfgfile"
23712
# func_append var value
23713
# Append VALUE to the end of shell variable VAR.
23724
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
23725
|| (rm -f "$cfgfile"; exit 1)
23727
mv -f "$cfgfile" "$ofile" ||
25423
sed '$q' "$ltmain" >> "$cfgfile" \
25424
|| (rm -f "$cfgfile"; exit 1)
25426
if test x"$xsi_shell" = xyes; then
25427
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
25431
\ */*) func_dirname_result="${1%/*}${2}" ;;\
25432
\ * ) func_dirname_result="${3}" ;;\
25434
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
25435
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25436
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25437
test 0 -eq $? || _lt_function_replace_fail=:
25440
sed -e '/^func_basename ()$/,/^} # func_basename /c\
25443
\ func_basename_result="${1##*/}"\
25444
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
25445
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25446
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25447
test 0 -eq $? || _lt_function_replace_fail=:
25450
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
25451
func_dirname_and_basename ()\
25454
\ */*) func_dirname_result="${1%/*}${2}" ;;\
25455
\ * ) func_dirname_result="${3}" ;;\
25457
\ func_basename_result="${1##*/}"\
25458
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
25459
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25460
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25461
test 0 -eq $? || _lt_function_replace_fail=:
25464
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
25467
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
25468
\ # positional parameters, so assign one to ordinary parameter first.\
25469
\ func_stripname_result=${3}\
25470
\ func_stripname_result=${func_stripname_result#"${1}"}\
25471
\ func_stripname_result=${func_stripname_result%"${2}"}\
25472
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
25473
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25474
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25475
test 0 -eq $? || _lt_function_replace_fail=:
25478
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
25479
func_split_long_opt ()\
25481
\ func_split_long_opt_name=${1%%=*}\
25482
\ func_split_long_opt_arg=${1#*=}\
25483
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
25484
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25485
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25486
test 0 -eq $? || _lt_function_replace_fail=:
25489
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
25490
func_split_short_opt ()\
25492
\ func_split_short_opt_arg=${1#??}\
25493
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
25494
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
25495
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25496
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25497
test 0 -eq $? || _lt_function_replace_fail=:
25500
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
25504
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
25505
\ *) func_lo2o_result=${1} ;;\
25507
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
25508
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25509
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25510
test 0 -eq $? || _lt_function_replace_fail=:
25513
sed -e '/^func_xform ()$/,/^} # func_xform /c\
25516
func_xform_result=${1%.*}.lo\
25517
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
25518
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25519
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25520
test 0 -eq $? || _lt_function_replace_fail=:
25523
sed -e '/^func_arith ()$/,/^} # func_arith /c\
25526
func_arith_result=$(( $* ))\
25527
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
25528
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25529
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25530
test 0 -eq $? || _lt_function_replace_fail=:
25533
sed -e '/^func_len ()$/,/^} # func_len /c\
25536
func_len_result=${#1}\
25537
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
25538
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25539
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25540
test 0 -eq $? || _lt_function_replace_fail=:
25544
if test x"$lt_shell_append" = xyes; then
25545
sed -e '/^func_append ()$/,/^} # func_append /c\
25548
eval "${1}+=\\${2}"\
25549
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
25550
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25551
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25552
test 0 -eq $? || _lt_function_replace_fail=:
25555
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
25556
func_append_quoted ()\
25558
\ func_quote_for_eval "${2}"\
25559
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
25560
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
25561
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25562
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25563
test 0 -eq $? || _lt_function_replace_fail=:
25566
# Save a `func_append' function call where possible by direct use of '+='
25567
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
25568
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25569
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25570
test 0 -eq $? || _lt_function_replace_fail=:
25572
# Save a `func_append' function call even when '+=' is not available
25573
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
25574
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25575
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25576
test 0 -eq $? || _lt_function_replace_fail=:
25579
if test x"$_lt_function_replace_fail" = x":"; then
25580
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
25581
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
25585
mv -f "$cfgfile" "$ofile" ||
23728
25586
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23729
25587
chmod +x "$ofile"