12651
# Check for Clutter
12653
if test "$with_clutter" = "yes"; then
12654
CLUTTER_REQUIRED=1.0.0
12658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER" >&5
12659
$as_echo_n "checking for CLUTTER... " >&6; }
12661
if test -n "$CLUTTER_CFLAGS"; then
12662
pkg_cv_CLUTTER_CFLAGS="$CLUTTER_CFLAGS"
12663
elif test -n "$PKG_CONFIG"; then
12664
if test -n "$PKG_CONFIG" && \
12665
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= \$CLUTTER_REQUIRED\""; } >&5
12666
($PKG_CONFIG --exists --print-errors "clutter-1.0 >= $CLUTTER_REQUIRED") 2>&5
12668
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12669
test $ac_status = 0; }; then
12670
pkg_cv_CLUTTER_CFLAGS=`$PKG_CONFIG --cflags "clutter-1.0 >= $CLUTTER_REQUIRED" 2>/dev/null`
12677
if test -n "$CLUTTER_LIBS"; then
12678
pkg_cv_CLUTTER_LIBS="$CLUTTER_LIBS"
12679
elif test -n "$PKG_CONFIG"; then
12680
if test -n "$PKG_CONFIG" && \
12681
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= \$CLUTTER_REQUIRED\""; } >&5
12682
($PKG_CONFIG --exists --print-errors "clutter-1.0 >= $CLUTTER_REQUIRED") 2>&5
12684
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12685
test $ac_status = 0; }; then
12686
pkg_cv_CLUTTER_LIBS=`$PKG_CONFIG --libs "clutter-1.0 >= $CLUTTER_REQUIRED" 2>/dev/null`
12696
if test $pkg_failed = yes; then
12698
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12699
_pkg_short_errors_supported=yes
12701
_pkg_short_errors_supported=no
12703
if test $_pkg_short_errors_supported = yes; then
12704
CLUTTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "clutter-1.0 >= $CLUTTER_REQUIRED" 2>&1`
12706
CLUTTER_PKG_ERRORS=`$PKG_CONFIG --print-errors "clutter-1.0 >= $CLUTTER_REQUIRED" 2>&1`
12708
# Put the nasty error message in config.log where it belongs
12709
echo "$CLUTTER_PKG_ERRORS" >&5
12711
as_fn_error "Package requirements (clutter-1.0 >= $CLUTTER_REQUIRED) were not met:
12713
$CLUTTER_PKG_ERRORS
12715
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12716
installed software in a non-standard prefix.
12718
Alternatively, you may set the environment variables CLUTTER_CFLAGS
12719
and CLUTTER_LIBS to avoid the need to call pkg-config.
12720
See the pkg-config man page for more details.
12722
elif test $pkg_failed = untried; then
12723
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12724
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12725
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
12726
is in your PATH or set the PKG_CONFIG environment variable to the full
12727
path to pkg-config.
12729
Alternatively, you may set the environment variables CLUTTER_CFLAGS
12730
and CLUTTER_LIBS to avoid the need to call pkg-config.
12731
See the pkg-config man page for more details.
12733
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12734
See \`config.log' for more details." "$LINENO" 5; }
12736
CLUTTER_CFLAGS=$pkg_cv_CLUTTER_CFLAGS
12737
CLUTTER_LIBS=$pkg_cv_CLUTTER_LIBS
12738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12739
$as_echo "yes" >&6; }
12745
case "$with_gtk" in
12746
3.0) CLUTTER_GTK_API_VERSION=1.0
12747
CLUTTER_GTK_REQUIRED=0.91.6
12753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_GTK" >&5
12754
$as_echo_n "checking for CLUTTER_GTK... " >&6; }
12756
if test -n "$CLUTTER_GTK_CFLAGS"; then
12757
pkg_cv_CLUTTER_GTK_CFLAGS="$CLUTTER_GTK_CFLAGS"
12758
elif test -n "$PKG_CONFIG"; then
12759
if test -n "$PKG_CONFIG" && \
12760
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-\$CLUTTER_GTK_API_VERSION >= \$CLUTTER_GTK_REQUIRED\""; } >&5
12761
($PKG_CONFIG --exists --print-errors "clutter-gtk-$CLUTTER_GTK_API_VERSION >= $CLUTTER_GTK_REQUIRED") 2>&5
12763
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12764
test $ac_status = 0; }; then
12765
pkg_cv_CLUTTER_GTK_CFLAGS=`$PKG_CONFIG --cflags "clutter-gtk-$CLUTTER_GTK_API_VERSION >= $CLUTTER_GTK_REQUIRED" 2>/dev/null`
12772
if test -n "$CLUTTER_GTK_LIBS"; then
12773
pkg_cv_CLUTTER_GTK_LIBS="$CLUTTER_GTK_LIBS"
12774
elif test -n "$PKG_CONFIG"; then
12775
if test -n "$PKG_CONFIG" && \
12776
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-\$CLUTTER_GTK_API_VERSION >= \$CLUTTER_GTK_REQUIRED\""; } >&5
12777
($PKG_CONFIG --exists --print-errors "clutter-gtk-$CLUTTER_GTK_API_VERSION >= $CLUTTER_GTK_REQUIRED") 2>&5
12779
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12780
test $ac_status = 0; }; then
12781
pkg_cv_CLUTTER_GTK_LIBS=`$PKG_CONFIG --libs "clutter-gtk-$CLUTTER_GTK_API_VERSION >= $CLUTTER_GTK_REQUIRED" 2>/dev/null`
12791
if test $pkg_failed = yes; then
12793
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12794
_pkg_short_errors_supported=yes
12796
_pkg_short_errors_supported=no
12798
if test $_pkg_short_errors_supported = yes; then
12799
CLUTTER_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "clutter-gtk-$CLUTTER_GTK_API_VERSION >= $CLUTTER_GTK_REQUIRED" 2>&1`
12801
CLUTTER_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "clutter-gtk-$CLUTTER_GTK_API_VERSION >= $CLUTTER_GTK_REQUIRED" 2>&1`
12803
# Put the nasty error message in config.log where it belongs
12804
echo "$CLUTTER_GTK_PKG_ERRORS" >&5
12806
as_fn_error "Package requirements (clutter-gtk-$CLUTTER_GTK_API_VERSION >= $CLUTTER_GTK_REQUIRED) were not met:
12808
$CLUTTER_GTK_PKG_ERRORS
12810
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12811
installed software in a non-standard prefix.
12813
Alternatively, you may set the environment variables CLUTTER_GTK_CFLAGS
12814
and CLUTTER_GTK_LIBS to avoid the need to call pkg-config.
12815
See the pkg-config man page for more details.
12817
elif test $pkg_failed = untried; then
12818
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12819
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12820
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
12821
is in your PATH or set the PKG_CONFIG environment variable to the full
12822
path to pkg-config.
12824
Alternatively, you may set the environment variables CLUTTER_GTK_CFLAGS
12825
and CLUTTER_GTK_LIBS to avoid the need to call pkg-config.
12826
See the pkg-config man page for more details.
12828
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12829
See \`config.log' for more details." "$LINENO" 5; }
12831
CLUTTER_GTK_CFLAGS=$pkg_cv_CLUTTER_GTK_CFLAGS
12832
CLUTTER_GTK_LIBS=$pkg_cv_CLUTTER_GTK_LIBS
12833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12834
$as_echo "yes" >&6; }
12841
if test "$with_clutter" = "yes"; then
12843
HAVE_CLUTTER_FALSE='#'
12845
HAVE_CLUTTER_TRUE='#'
12846
HAVE_CLUTTER_FALSE=
12852
12602
if test "$need_gthread" = "yes"; then
14859
14584
if test "${with_help_dir+set}" = set; then :
14860
14585
withval=$with_help_dir;
14862
with_help_dir='${datadir}/gnome/help'
14587
with_help_dir='${datadir}/help'
14865
14590
HELP_DIR="$with_help_dir"
14869
# Check whether --with-omf-dir was given.
14870
if test "${with_omf_dir+set}" = set; then :
14871
withval=$with_omf_dir;
14873
with_omf_dir='${datadir}/omf'
14876
OMF_DIR="$with_omf_dir"
14880
# Check whether --with-help-formats was given.
14881
if test "${with_help_formats+set}" = set; then :
14882
withval=$with_help_formats;
14884
with_help_formats=''
14887
DOC_USER_FORMATS="$with_help_formats"
14890
# Check whether --enable-scrollkeeper was given.
14891
if test "${enable_scrollkeeper+set}" = set; then :
14892
enableval=$enable_scrollkeeper;
14894
enable_scrollkeeper=yes
14897
if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
14899
ENABLE_SK_FALSE='#'
14906
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
14909
if test "$gdu_cv_have_gdu" = "yes"; then
14910
HAVE_GNOME_DOC_UTILS_TRUE=
14911
HAVE_GNOME_DOC_UTILS_FALSE='#'
14913
HAVE_GNOME_DOC_UTILS_TRUE='#'
14914
HAVE_GNOME_DOC_UTILS_FALSE=
14594
# Extract the first word of "itstool", so it can be a program name with args.
14595
set dummy itstool; ac_word=$2
14596
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14597
$as_echo_n "checking for $ac_word... " >&6; }
14598
if test "${ac_cv_prog_ITSTOOL+set}" = set; then :
14599
$as_echo_n "(cached) " >&6
14601
if test -n "$ITSTOOL"; then
14602
ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test.
14604
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14605
for as_dir in $PATH
14608
test -z "$as_dir" && as_dir=.
14609
for ac_exec_ext in '' $ac_executable_extensions; do
14610
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14611
ac_cv_prog_ITSTOOL="itstool"
14612
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14621
ITSTOOL=$ac_cv_prog_ITSTOOL
14622
if test -n "$ITSTOOL"; then
14623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ITSTOOL" >&5
14624
$as_echo "$ITSTOOL" >&6; }
14626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14627
$as_echo "no" >&6; }
14631
if test x"$ITSTOOL" = x; then
14632
as_fn_error "itstool not found" "$LINENO" 5
14636
# Extract the first word of "xmllint", so it can be a program name with args.
14637
set dummy xmllint; ac_word=$2
14638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14639
$as_echo_n "checking for $ac_word... " >&6; }
14640
if test "${ac_cv_prog_XMLLINT+set}" = set; then :
14641
$as_echo_n "(cached) " >&6
14643
if test -n "$XMLLINT"; then
14644
ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
14646
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14647
for as_dir in $PATH
14650
test -z "$as_dir" && as_dir=.
14651
for ac_exec_ext in '' $ac_executable_extensions; do
14652
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14653
ac_cv_prog_XMLLINT="xmllint"
14654
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14663
XMLLINT=$ac_cv_prog_XMLLINT
14664
if test -n "$XMLLINT"; then
14665
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
14666
$as_echo "$XMLLINT" >&6; }
14668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14669
$as_echo "no" >&6; }
14673
if test x"$XMLLINT" = x; then
14674
as_fn_error "xmllint not found" "$LINENO" 5
14685
_HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS))
14686
_HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot))
14687
_HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po))
14688
_HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES))
14689
_HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f))
14690
_HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f))
14691
_HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f))
14692
_HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f)))
14693
_HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp)
14695
_HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
14696
_HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V))
14697
_HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V))
14698
_HELP_LC_VERBOSE_ = $(_HELP_LC_VERBOSE_$(_HELP_DEFAULT_V))
14699
_HELP_LC_VERBOSE_0 = @echo " GEN "$(dir $@);
14701
all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES)
14704
pot: $(_HELP_POTFILE)
14705
$(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
14706
$(AM_V_GEN)$(ITSTOOL) -o "$@" $(_HELP_C_FILES)
14709
repo: $(_HELP_POTFILE)
14710
$(AM_V_at)for po in $(_HELP_POFILES); do \
14711
if test "x$(_HELP_V)" = "x0"; then echo " GEN $${po}"; fi; \
14712
msgmerge -q -o "$${po}" "$${po}" "$(_HELP_POTFILE)"; \
14716
$(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
14717
$(AM_V_at)if test ! -f "$@" -a -f "$(srcdir)/$@"; then cp "$(srcdir)/$@" "$@"; fi
14718
$(AM_V_GEN)if ! test -f "$@"; then \
14719
(cd "$(dir $@)" && \
14720
$(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
14721
mv "$(notdir $@).tmp" "$(notdir $@)"); \
14723
(cd "$(dir $@)" && \
14724
$(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
14725
msgmerge -o "$(notdir $@)" "$(notdir $@)" "$(notdir $@).tmp" && \
14726
rm "$(notdir $@).tmp"); \
14729
$(_HELP_MOFILES): %.mo: %.po
14730
$(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
14731
$(AM_V_GEN)msgfmt -o "$@" "$<"
14733
$(_HELP_LC_FILES): $(_HELP_LINGUAS)
14734
$(_HELP_LINGUAS): $(_HELP_LC_STAMPS)
14735
$(_HELP_LC_STAMPS): %.stamp: %.mo
14736
$(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
14737
$(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
14738
$(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \
14739
mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
14740
if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \
14741
(cd "$(dir $@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \
14745
mostlyclean-am: $(if $(HELP_ID),clean-help)
14747
rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
14750
EXTRA_DIST += $(_HELP_C_FILES) $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_POFILES)
14751
EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(_HELP_LINGUAS),$(wildcard $(lc)/$(f))))
14756
for lc in C $(_HELP_LINGUAS); do \
14757
if test -d "$$lc"; \
14762
xmlpath="$$lc:$(srcdir)/$$lc"; \
14764
for page in $(HELP_FILES); do \
14765
echo "$(XMLLINT) --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
14766
$(XMLLINT) --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
14771
.PHONY: install-help
14772
install-data-am: $(if $(HELP_ID),install-help)
14774
@for lc in C $(_HELP_LINGUAS); do \
14775
$(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
14777
@for f in $(_HELP_C_FILES) $(_HELP_LC_FILES) $(_HELP_C_EXTRA); do \
14778
lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
14779
if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \
14780
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
14781
if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
14782
echo "$(INSTALL_DATA) $$d$$f $$helpdir`basename $$f`"; \
14783
$(INSTALL_DATA) "$$d$$f" "$$helpdir`basename $$f`" || exit 1; \
14785
@for f in $(HELP_MEDIA); do \
14786
for lc in C $(_HELP_LINGUAS); do \
14787
if test -f "$$lc$$f"; then d=; else d="$(srcdir)/"; fi; \
14788
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
14789
mdir=`dirname "$$f"`; \
14790
if test "x$mdir" = "x."; then mdir=""; fi; \
14791
if ! test -d "$$helpdir$$mdir"; then $(mkinstalldirs) "$$helpdir$$mdir"; fi; \
14792
if test -f "$$d$$lc/$$f"; then \
14793
echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \
14794
$(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \
14795
elif test "x$$lc" != "xC"; then \
14796
echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
14797
$(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
14802
.PHONY: uninstall-help
14803
uninstall-am: $(if $(HELP_ID),uninstall-help)
14805
@for f in $(_HELP_C_FILES) $(_HELP_LC_FILES) $(_HELP_C_EXTRA); do \
14806
lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
14807
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
14808
echo "rm -f $$helpdir`basename $$f`"; \
14809
rm -f "$$helpdir`basename $$f`"; \
14811
@for f in $(HELP_MEDIA); do \
14812
for lc in C $(_HELP_LINGUAS); do \
14813
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
14814
echo "rm -f $$helpdir$$f"; \
14815
rm -f "$$helpdir$$f"; \