3150
3215
AMTAR='$${TAR-tar}'
3153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3218
# We'll loop over all known methods to create a tar archive until one works.
3219
_am_tools='gnutar plaintar pax cpio none'
3221
# The POSIX 1988 'ustar' format is defined with fixed-size fields.
3222
# There is notably a 21 bits limit for the UID and the GID. In fact,
3223
# the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3225
am_max_uid=2097151 # 2^21 - 1
3226
am_max_gid=$am_max_uid
3227
# The $UID and $GID variables are not portable, so we need to resort
3228
# to the POSIX-mandated id(1) utility. Errors in the 'id' calls
3229
# below are definitely unexpected, so allow the users to see them
3230
# (that is, avoid stderr redirection).
3231
am_uid=`id -u || echo unknown`
3232
am_gid=`id -g || echo unknown`
3233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3234
$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3235
if test $am_uid -le $am_max_uid; then
3236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3237
$as_echo "yes" >&6; }
3239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240
$as_echo "no" >&6; }
3243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3244
$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3245
if test $am_gid -le $am_max_gid; then
3246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3247
$as_echo "yes" >&6; }
3249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3250
$as_echo "no" >&6; }
3254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3154
3255
$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3155
# Loop over all known methods to create a tar archive until one works.
3156
_am_tools='gnutar plaintar pax cpio none'
3157
_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3158
# Do not fold the above two line into one, because Tru64 sh and
3159
# Solaris sh will not grok spaces in the rhs of '-'.
3160
for _am_tool in $_am_tools
3164
for _am_tar in tar gnutar gtar;
3166
{ echo "$as_me:$LINENO: $_am_tar --version" >&5
3257
# Go ahead even if we have the value already cached. We do so because we
3258
# need to set the values for the 'am__tar' and 'am__untar' variables.
3259
_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3261
for _am_tool in $_am_tools; do
3264
for _am_tar in tar gnutar gtar; do
3265
{ echo "$as_me:$LINENO: $_am_tar --version" >&5
3167
3266
($_am_tar --version) >&5 2>&5
3169
3268
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170
3269
(exit $ac_status); } && break
3172
am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3173
am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3174
am__untar="$_am_tar -xf -"
3177
# Must skip GNU tar: if it does not support --format= it doesn't create
3178
# ustar tarball either.
3179
(tar --version) >/dev/null 2>&1 && continue
3180
am__tar='tar chf - "$$tardir"'
3181
am__tar_='tar chf - "$tardir"'
3182
am__untar='tar xf -'
3185
am__tar='pax -L -x ustar -w "$$tardir"'
3186
am__tar_='pax -L -x ustar -w "$tardir"'
3190
am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3191
am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3192
am__untar='cpio -i -H ustar -d'
3201
# If the value was cached, stop now. We just wanted to have am__tar
3202
# and am__untar set.
3203
test -n "${am_cv_prog_tar_ustar}" && break
3205
# tar/untar a dummy directory, and stop if the command works
3208
echo GrepMe > conftest.dir/file
3209
{ echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3271
am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3272
am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3273
am__untar="$_am_tar -xf -"
3276
# Must skip GNU tar: if it does not support --format= it doesn't create
3277
# ustar tarball either.
3278
(tar --version) >/dev/null 2>&1 && continue
3279
am__tar='tar chf - "$$tardir"'
3280
am__tar_='tar chf - "$tardir"'
3281
am__untar='tar xf -'
3284
am__tar='pax -L -x ustar -w "$$tardir"'
3285
am__tar_='pax -L -x ustar -w "$tardir"'
3289
am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3290
am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3291
am__untar='cpio -i -H ustar -d'
3300
# If the value was cached, stop now. We just wanted to have am__tar
3301
# and am__untar set.
3302
test -n "${am_cv_prog_tar_ustar}" && break
3304
# tar/untar a dummy directory, and stop if the command works.
3307
echo GrepMe > conftest.dir/file
3308
{ echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3210
3309
(tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3212
3311
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213
3312
(exit $ac_status); }
3215
if test -s conftest.tar; then
3216
{ echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3314
if test -s conftest.tar; then
3315
{ echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3217
3316
($am__untar <conftest.tar) >&5 2>&5
3219
3318
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220
3319
(exit $ac_status); }
3221
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3320
{ echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3321
(cat conftest.dir/file) >&5 2>&5
3323
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324
(exit $ac_status); }
3325
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3226
if ${am_cv_prog_tar_ustar+:} false; then :
3330
if ${am_cv_prog_tar_ustar+:} false; then :
3227
3331
$as_echo_n "(cached) " >&6
3229
3333
am_cv_prog_tar_ustar=$_am_tool
3232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3336
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3233
3337
$as_echo "$am_cv_prog_tar_ustar" >&6; }
12608
12872
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
12610
if test "x$CC" != xcc; then
12611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12612
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12615
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12617
set dummy $CC; ac_cc=`$as_echo "$2" |
12618
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12619
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12620
$as_echo_n "(cached) " >&6
12622
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12623
/* end confdefs.h. */
12633
# Make sure it works both with $CC and with simple cc.
12634
# We do the test twice because some compilers refuse to overwrite an
12635
# existing .o file with -o, though they will create one.
12636
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12638
if { { case "(($ac_try" in
12639
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12640
*) ac_try_echo=$ac_try;;
12642
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12643
$as_echo "$ac_try_echo"; } >&5
12644
(eval "$ac_try") 2>&5
12646
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12647
test $ac_status = 0; } &&
12648
test -f conftest2.$ac_objext && { { case "(($ac_try" in
12649
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12650
*) ac_try_echo=$ac_try;;
12652
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12653
$as_echo "$ac_try_echo"; } >&5
12654
(eval "$ac_try") 2>&5
12656
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12657
test $ac_status = 0; };
12659
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12660
if test "x$CC" != xcc; then
12661
# Test first that cc exists at all.
12662
if { ac_try='cc -c conftest.$ac_ext >&5'
12663
{ { case "(($ac_try" in
12664
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12665
*) ac_try_echo=$ac_try;;
12667
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12668
$as_echo "$ac_try_echo"; } >&5
12669
(eval "$ac_try") 2>&5
12671
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12672
test $ac_status = 0; }; }; then
12673
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12675
if { { case "(($ac_try" in
12676
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12677
*) ac_try_echo=$ac_try;;
12679
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12680
$as_echo "$ac_try_echo"; } >&5
12681
(eval "$ac_try") 2>&5
12683
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12684
test $ac_status = 0; } &&
12685
test -f conftest2.$ac_objext && { { case "(($ac_try" in
12686
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12687
*) ac_try_echo=$ac_try;;
12689
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12690
$as_echo "$ac_try_echo"; } >&5
12691
(eval "$ac_try") 2>&5
12693
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12694
test $ac_status = 0; };
12699
# cc exists but doesn't like -o.
12700
eval ac_cv_prog_cc_${ac_cc}_c_o=no
12705
eval ac_cv_prog_cc_${ac_cc}_c_o=no
12707
rm -f core conftest*
12710
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12712
$as_echo "yes" >&6; }
12714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12715
$as_echo "no" >&6; }
12717
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12721
# FIXME: we rely on the cache variable name because
12722
# there is no other way.
12724
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12725
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12726
if test "$am_t" != yes; then
12727
# Losing compiler, so override with the script.
12728
# FIXME: It is wrong to rewrite CC.
12729
# But if we don't then we get into trouble of one sort or another.
12730
# A longer-term fix would be to have automake use am__CC in this case,
12731
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12732
CC="$am_aux_dir/compile $CC"
12736
12875
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12737
12876
$as_echo_n "checking for ANSI C header files... " >&6; }
16892
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16893
if test -n "$ac_tool_prefix"; then
16894
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16895
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16897
$as_echo_n "checking for $ac_word... " >&6; }
16898
if ${ac_cv_path_PKG_CONFIG+:} false; then :
16899
$as_echo_n "(cached) " >&6
16901
case $PKG_CONFIG in
16903
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16906
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16907
for as_dir in $PATH
16910
test -z "$as_dir" && as_dir=.
16911
for ac_exec_ext in '' $ac_executable_extensions; do
16912
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16913
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16914
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16924
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16925
if test -n "$PKG_CONFIG"; then
16926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16927
$as_echo "$PKG_CONFIG" >&6; }
16929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16930
$as_echo "no" >&6; }
16935
if test -z "$ac_cv_path_PKG_CONFIG"; then
16936
ac_pt_PKG_CONFIG=$PKG_CONFIG
16937
# Extract the first word of "pkg-config", so it can be a program name with args.
16938
set dummy pkg-config; ac_word=$2
16939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16940
$as_echo_n "checking for $ac_word... " >&6; }
16941
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16942
$as_echo_n "(cached) " >&6
16944
case $ac_pt_PKG_CONFIG in
16946
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16949
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16950
for as_dir in $PATH
16953
test -z "$as_dir" && as_dir=.
16954
for ac_exec_ext in '' $ac_executable_extensions; do
16955
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16956
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16957
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16967
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16968
if test -n "$ac_pt_PKG_CONFIG"; then
16969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16970
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16972
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16973
$as_echo "no" >&6; }
16976
if test "x$ac_pt_PKG_CONFIG" = x; then
16979
case $cross_compiling:$ac_tool_warned in
16981
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16982
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16983
ac_tool_warned=yes ;;
16985
PKG_CONFIG=$ac_pt_PKG_CONFIG
16988
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16992
if test -n "$PKG_CONFIG"; then
16993
_pkg_min_version=0.9.0
16994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16995
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16996
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16998
$as_echo "yes" >&6; }
17000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17001
$as_echo "no" >&6; }
17006
if test -z "$AM_DEFAULT_VERBOSITY"; then
17007
AM_DEFAULT_VERBOSITY=1
17011
gdu_cv_version_required=0.3.2
17013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
17014
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
17015
if test -n "$PKG_CONFIG" && \
17016
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
17017
($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
17019
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17020
test $ac_status = 0; }; then
17021
gdu_cv_have_gdu=yes
17026
if test "$gdu_cv_have_gdu" = "yes"; then
17027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17028
$as_echo "yes" >&6; }
17031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17032
$as_echo "no" >&6; }
17033
as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
17038
17073
# Check whether --with-help-dir was given.
17039
17074
if test "${with_help_dir+set}" = set; then :
17040
17075
withval=$with_help_dir;
17042
with_help_dir='${datadir}/gnome/help'
17077
with_help_dir='${datadir}/help'
17045
17080
HELP_DIR="$with_help_dir"
17049
# Check whether --with-omf-dir was given.
17050
if test "${with_omf_dir+set}" = set; then :
17051
withval=$with_omf_dir;
17053
with_omf_dir='${datadir}/omf'
17056
OMF_DIR="$with_omf_dir"
17060
# Check whether --with-help-formats was given.
17061
if test "${with_help_formats+set}" = set; then :
17062
withval=$with_help_formats;
17064
with_help_formats=''
17067
DOC_USER_FORMATS="$with_help_formats"
17070
# Check whether --enable-scrollkeeper was given.
17071
if test "${enable_scrollkeeper+set}" = set; then :
17072
enableval=$enable_scrollkeeper;
17074
enable_scrollkeeper=yes
17077
if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
17079
ENABLE_SK_FALSE='#'
17086
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
17089
if test "$gdu_cv_have_gdu" = "yes"; then
17090
HAVE_GNOME_DOC_UTILS_TRUE=
17091
HAVE_GNOME_DOC_UTILS_FALSE='#'
17093
HAVE_GNOME_DOC_UTILS_TRUE='#'
17094
HAVE_GNOME_DOC_UTILS_FALSE=
17084
# Extract the first word of "itstool", so it can be a program name with args.
17085
set dummy itstool; ac_word=$2
17086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17087
$as_echo_n "checking for $ac_word... " >&6; }
17088
if ${ac_cv_prog_ITSTOOL+:} false; then :
17089
$as_echo_n "(cached) " >&6
17091
if test -n "$ITSTOOL"; then
17092
ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test.
17094
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17095
for as_dir in $PATH
17098
test -z "$as_dir" && as_dir=.
17099
for ac_exec_ext in '' $ac_executable_extensions; do
17100
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17101
ac_cv_prog_ITSTOOL="itstool"
17102
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17111
ITSTOOL=$ac_cv_prog_ITSTOOL
17112
if test -n "$ITSTOOL"; then
17113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ITSTOOL" >&5
17114
$as_echo "$ITSTOOL" >&6; }
17116
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17117
$as_echo "no" >&6; }
17121
if test x"$ITSTOOL" = x; then
17122
as_fn_error $? "itstool not found" "$LINENO" 5
17126
# Extract the first word of "xmllint", so it can be a program name with args.
17127
set dummy xmllint; ac_word=$2
17128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17129
$as_echo_n "checking for $ac_word... " >&6; }
17130
if ${ac_cv_prog_XMLLINT+:} false; then :
17131
$as_echo_n "(cached) " >&6
17133
if test -n "$XMLLINT"; then
17134
ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
17136
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17137
for as_dir in $PATH
17140
test -z "$as_dir" && as_dir=.
17141
for ac_exec_ext in '' $ac_executable_extensions; do
17142
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17143
ac_cv_prog_XMLLINT="xmllint"
17144
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17153
XMLLINT=$ac_cv_prog_XMLLINT
17154
if test -n "$XMLLINT"; then
17155
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
17156
$as_echo "$XMLLINT" >&6; }
17158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17159
$as_echo "no" >&6; }
17163
if test x"$XMLLINT" = x; then
17164
as_fn_error $? "xmllint not found" "$LINENO" 5
17175
_HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS))
17176
_HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot))
17177
_HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po))
17178
_HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES))
17179
_HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f))
17180
_HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f))
17181
_HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f))
17182
_HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f)))
17183
_HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp)
17185
_HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
17186
_HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V))
17187
_HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V))
17188
_HELP_LC_VERBOSE_ = $(_HELP_LC_VERBOSE_$(_HELP_DEFAULT_V))
17189
_HELP_LC_VERBOSE_0 = @echo " GEN "$(dir $@);
17191
all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES)
17194
pot: $(_HELP_POTFILE)
17195
$(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
17196
$(AM_V_GEN)if test -d "C"; then d=; else d="$(srcdir)/"; fi; \
17197
$(ITSTOOL) -o "$@" $(foreach f,$(_HELP_C_FILES),"$${d}$(f)")
17200
repo: $(_HELP_POTFILE)
17201
$(AM_V_at)for po in $(_HELP_POFILES); do \
17202
if test "x$(_HELP_V)" = "x0"; then echo " GEN $${po}"; fi; \
17203
msgmerge -q -o "$${po}" "$${po}" "$(_HELP_POTFILE)"; \
17207
$(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
17208
$(AM_V_at)if test ! -f "$@" -a -f "$(srcdir)/$@"; then cp "$(srcdir)/$@" "$@"; fi
17209
$(AM_V_GEN)if ! test -f "$@"; then \
17210
(cd "$(dir $@)" && \
17211
$(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
17212
mv "$(notdir $@).tmp" "$(notdir $@)"); \
17214
(cd "$(dir $@)" && \
17215
$(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
17216
msgmerge -o "$(notdir $@)" "$(notdir $@)" "$(notdir $@).tmp" && \
17217
rm "$(notdir $@).tmp"); \
17220
$(_HELP_MOFILES): %.mo: %.po
17221
$(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
17222
$(AM_V_GEN)msgfmt -o "$@" "$<"
17224
$(_HELP_LC_FILES): $(_HELP_LINGUAS)
17225
$(_HELP_LINGUAS): $(_HELP_LC_STAMPS)
17226
$(_HELP_LC_STAMPS): %.stamp: %.mo
17227
$(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
17228
$(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
17229
$(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \
17230
mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
17231
if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \
17232
(cd "$(dir $@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \
17236
mostlyclean-am: $(if $(HELP_ID),clean-help)
17238
rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
17241
EXTRA_DIST += $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
17242
EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp)
17243
EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po)
17244
EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f))))
17246
distdir: distdir-help-files
17247
distdir-help-files:
17248
@for lc in C $(HELP_LINGUAS); do \
17249
$(MKDIR_P) "$(distdir)/$$lc"; \
17250
for file in $(HELP_FILES); do \
17251
if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \
17252
cp -p "$$d$$lc/$$file" "$(distdir)/$$lc/" || exit 1; \
17259
for lc in C $(_HELP_LINGUAS); do \
17260
if test -d "$$lc"; \
17265
xmlpath="$$lc:$(srcdir)/$$lc"; \
17267
for page in $(HELP_FILES); do \
17268
echo "$(XMLLINT) --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
17269
$(XMLLINT) --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
17274
.PHONY: install-help
17275
install-data-am: $(if $(HELP_ID),install-help)
17277
@for lc in C $(_HELP_LINGUAS); do \
17278
$(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
17280
@for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
17281
if test -f "$$lc/$$f"; then d=; else d="$(srcdir)/"; fi; \
17282
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17283
if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
17284
echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir`basename $$f`"; \
17285
$(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir`basename $$f`" || exit 1; \
17287
@for f in $(_HELP_C_EXTRA); do \
17288
lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
17289
if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \
17290
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17291
if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
17292
echo "$(INSTALL_DATA) $$d$$f $$helpdir`basename $$f`"; \
17293
$(INSTALL_DATA) "$$d$$f" "$$helpdir`basename $$f`" || exit 1; \
17295
@for f in $(HELP_MEDIA); do \
17296
for lc in C $(_HELP_LINGUAS); do \
17297
if test -f "$$lc$$f"; then d=; else d="$(srcdir)/"; fi; \
17298
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17299
mdir=`dirname "$$f"`; \
17300
if test "x$mdir" = "x."; then mdir=""; fi; \
17301
if ! test -d "$$helpdir$$mdir"; then $(mkinstalldirs) "$$helpdir$$mdir"; fi; \
17302
if test -f "$$d$$lc/$$f"; then \
17303
echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \
17304
$(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \
17305
elif test "x$$lc" != "xC"; then \
17306
echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
17307
$(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
17312
.PHONY: uninstall-help
17313
uninstall-am: $(if $(HELP_ID),uninstall-help)
17315
for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
17316
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17317
echo "rm -f $$helpdir`basename $$f`"; \
17318
rm -f "$$helpdir`basename $$f`"; \
17320
@for f in $(_HELP_C_EXTRA); do \
17321
lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
17322
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17323
echo "rm -f $$helpdir`basename $$f`"; \
17324
rm -f "$$helpdir`basename $$f`"; \
17326
@for f in $(HELP_MEDIA); do \
17327
for lc in C $(_HELP_LINGUAS); do \
17328
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17329
echo "rm -f $$helpdir$$f"; \
17330
rm -f "$$helpdir$$f"; \
20365
# Check whether --enable-libwebp was given.
20366
if test "${enable_libwebp+set}" = set; then :
20367
enableval=$enable_libwebp;
20373
if test x$enable_libwebp = xyes ; then
20376
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBWEBP" >&5
20377
$as_echo_n "checking for LIBWEBP... " >&6; }
20379
if test -n "$LIBWEBP_CFLAGS"; then
20380
pkg_cv_LIBWEBP_CFLAGS="$LIBWEBP_CFLAGS"
20381
elif test -n "$PKG_CONFIG"; then
20382
if test -n "$PKG_CONFIG" && \
20383
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwebp >= \$LIBWEBP_REQUIRED\""; } >&5
20384
($PKG_CONFIG --exists --print-errors "libwebp >= $LIBWEBP_REQUIRED") 2>&5
20386
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20387
test $ac_status = 0; }; then
20388
pkg_cv_LIBWEBP_CFLAGS=`$PKG_CONFIG --cflags "libwebp >= $LIBWEBP_REQUIRED" 2>/dev/null`
20389
test "x$?" != "x0" && pkg_failed=yes
20396
if test -n "$LIBWEBP_LIBS"; then
20397
pkg_cv_LIBWEBP_LIBS="$LIBWEBP_LIBS"
20398
elif test -n "$PKG_CONFIG"; then
20399
if test -n "$PKG_CONFIG" && \
20400
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwebp >= \$LIBWEBP_REQUIRED\""; } >&5
20401
($PKG_CONFIG --exists --print-errors "libwebp >= $LIBWEBP_REQUIRED") 2>&5
20403
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20404
test $ac_status = 0; }; then
20405
pkg_cv_LIBWEBP_LIBS=`$PKG_CONFIG --libs "libwebp >= $LIBWEBP_REQUIRED" 2>/dev/null`
20406
test "x$?" != "x0" && pkg_failed=yes
20416
if test $pkg_failed = yes; then
20417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20418
$as_echo "no" >&6; }
20420
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20421
_pkg_short_errors_supported=yes
20423
_pkg_short_errors_supported=no
20425
if test $_pkg_short_errors_supported = yes; then
20426
LIBWEBP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libwebp >= $LIBWEBP_REQUIRED" 2>&1`
20428
LIBWEBP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libwebp >= $LIBWEBP_REQUIRED" 2>&1`
20430
# Put the nasty error message in config.log where it belongs
20431
echo "$LIBWEBP_PKG_ERRORS" >&5
20434
elif test $pkg_failed = untried; then
20435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20436
$as_echo "no" >&6; }
20439
LIBWEBP_CFLAGS=$pkg_cv_LIBWEBP_CFLAGS
20440
LIBWEBP_LIBS=$pkg_cv_LIBWEBP_LIBS
20441
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20442
$as_echo "yes" >&6; }
20446
if test x$enable_libwebp = xyes ; then
20448
$as_echo "#define HAVE_LIBWEBP 1" >>confdefs.h
20454
if test "x$enable_libwebp" = xyes; then
20455
ENABLE_LIBWEBP_TRUE=
20456
ENABLE_LIBWEBP_FALSE='#'
20458
ENABLE_LIBWEBP_TRUE='#'
20459
ENABLE_LIBWEBP_FALSE=
20464
$as_echo "#define WEBP_IS_UNKNOWN_TO_GLIB 1" >>confdefs.h
20180
20468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking liboperaw" >&5
20181
20469
$as_echo_n "checking liboperaw... " >&6; }
20182
20470
# Check whether --enable-libopenraw was given.
20691
if test "x$enable_libsoup" = xyes; then
20981
# Check whether --enable-libjson_glib was given.
20982
if test "${enable_libjson_glib+set}" = set; then :
20983
enableval=$enable_libjson_glib;
20985
enable_libjson_glib=yes
20989
if test x$enable_libjson_glib = xyes ; then
20992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON_GLIB" >&5
20993
$as_echo_n "checking for JSON_GLIB... " >&6; }
20995
if test -n "$JSON_GLIB_CFLAGS"; then
20996
pkg_cv_JSON_GLIB_CFLAGS="$JSON_GLIB_CFLAGS"
20997
elif test -n "$PKG_CONFIG"; then
20998
if test -n "$PKG_CONFIG" && \
20999
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-glib-1.0 >= \$JSON_GLIB_REQUIRED\""; } >&5
21000
($PKG_CONFIG --exists --print-errors "json-glib-1.0 >= $JSON_GLIB_REQUIRED") 2>&5
21002
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21003
test $ac_status = 0; }; then
21004
pkg_cv_JSON_GLIB_CFLAGS=`$PKG_CONFIG --cflags "json-glib-1.0 >= $JSON_GLIB_REQUIRED" 2>/dev/null`
21005
test "x$?" != "x0" && pkg_failed=yes
21012
if test -n "$JSON_GLIB_LIBS"; then
21013
pkg_cv_JSON_GLIB_LIBS="$JSON_GLIB_LIBS"
21014
elif test -n "$PKG_CONFIG"; then
21015
if test -n "$PKG_CONFIG" && \
21016
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-glib-1.0 >= \$JSON_GLIB_REQUIRED\""; } >&5
21017
($PKG_CONFIG --exists --print-errors "json-glib-1.0 >= $JSON_GLIB_REQUIRED") 2>&5
21019
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21020
test $ac_status = 0; }; then
21021
pkg_cv_JSON_GLIB_LIBS=`$PKG_CONFIG --libs "json-glib-1.0 >= $JSON_GLIB_REQUIRED" 2>/dev/null`
21022
test "x$?" != "x0" && pkg_failed=yes
21032
if test $pkg_failed = yes; then
21033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21034
$as_echo "no" >&6; }
21036
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21037
_pkg_short_errors_supported=yes
21039
_pkg_short_errors_supported=no
21041
if test $_pkg_short_errors_supported = yes; then
21042
JSON_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-glib-1.0 >= $JSON_GLIB_REQUIRED" 2>&1`
21044
JSON_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-glib-1.0 >= $JSON_GLIB_REQUIRED" 2>&1`
21046
# Put the nasty error message in config.log where it belongs
21047
echo "$JSON_GLIB_PKG_ERRORS" >&5
21049
enable_libjson_glib=no
21050
elif test $pkg_failed = untried; then
21051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21052
$as_echo "no" >&6; }
21053
enable_libjson_glib=no
21055
JSON_GLIB_CFLAGS=$pkg_cv_JSON_GLIB_CFLAGS
21056
JSON_GLIB_LIBS=$pkg_cv_JSON_GLIB_LIBS
21057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21058
$as_echo "yes" >&6; }
21060
$as_echo "#define HAVE_JSON_GLIB 1" >>confdefs.h
21062
enable_libjson_glib=yes
21069
# Check whether --enable-webkit2 was given.
21070
if test "${enable_webkit2+set}" = set; then :
21071
enableval=$enable_webkit2;
21077
if test x$enable_webkit2 = xyes ; then
21080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT2" >&5
21081
$as_echo_n "checking for WEBKIT2... " >&6; }
21083
if test -n "$WEBKIT2_CFLAGS"; then
21084
pkg_cv_WEBKIT2_CFLAGS="$WEBKIT2_CFLAGS"
21085
elif test -n "$PKG_CONFIG"; then
21086
if test -n "$PKG_CONFIG" && \
21087
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-3.0 >= \$WEBKIT2_REQUIRED\""; } >&5
21088
($PKG_CONFIG --exists --print-errors "webkit2gtk-3.0 >= $WEBKIT2_REQUIRED") 2>&5
21090
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21091
test $ac_status = 0; }; then
21092
pkg_cv_WEBKIT2_CFLAGS=`$PKG_CONFIG --cflags "webkit2gtk-3.0 >= $WEBKIT2_REQUIRED" 2>/dev/null`
21093
test "x$?" != "x0" && pkg_failed=yes
21100
if test -n "$WEBKIT2_LIBS"; then
21101
pkg_cv_WEBKIT2_LIBS="$WEBKIT2_LIBS"
21102
elif test -n "$PKG_CONFIG"; then
21103
if test -n "$PKG_CONFIG" && \
21104
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-3.0 >= \$WEBKIT2_REQUIRED\""; } >&5
21105
($PKG_CONFIG --exists --print-errors "webkit2gtk-3.0 >= $WEBKIT2_REQUIRED") 2>&5
21107
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21108
test $ac_status = 0; }; then
21109
pkg_cv_WEBKIT2_LIBS=`$PKG_CONFIG --libs "webkit2gtk-3.0 >= $WEBKIT2_REQUIRED" 2>/dev/null`
21110
test "x$?" != "x0" && pkg_failed=yes
21120
if test $pkg_failed = yes; then
21121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21122
$as_echo "no" >&6; }
21124
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21125
_pkg_short_errors_supported=yes
21127
_pkg_short_errors_supported=no
21129
if test $_pkg_short_errors_supported = yes; then
21130
WEBKIT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "webkit2gtk-3.0 >= $WEBKIT2_REQUIRED" 2>&1`
21132
WEBKIT2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "webkit2gtk-3.0 >= $WEBKIT2_REQUIRED" 2>&1`
21134
# Put the nasty error message in config.log where it belongs
21135
echo "$WEBKIT2_PKG_ERRORS" >&5
21138
elif test $pkg_failed = untried; then
21139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21140
$as_echo "no" >&6; }
21143
WEBKIT2_CFLAGS=$pkg_cv_WEBKIT2_CFLAGS
21144
WEBKIT2_LIBS=$pkg_cv_WEBKIT2_LIBS
21145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21146
$as_echo "yes" >&6; }
21148
$as_echo "#define HAVE_WEBKIT2 1" >>confdefs.h
21156
if test "x$enable_libsoup" = xyes && test "x$enable_libjson_glib" = xyes && test "x$enable_webkit2" = xyes ; then
21157
enable_web_services=yes
21159
enable_web_services=no
21162
if test "x$enable_web_services" = xyes; then
20692
21163
ENABLE_WEB_SERVICES_TRUE=
20693
21164
ENABLE_WEB_SERVICES_FALSE='#'