2600
2607
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2601
2608
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2603
# expand $ac_aux_dir to an absolute path
2604
am_aux_dir=`cd $ac_aux_dir && pwd`
2610
# Expand $ac_aux_dir to an absolute path.
2611
am_aux_dir=`cd "$ac_aux_dir" && pwd`
2606
2613
if test x"${MISSING+set}" != xset; then
2607
2614
case $am_aux_dir in
5719
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5728
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.50.1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5720
5729
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
5721
5730
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5722
if test -n "0.35.0"; then
5723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
5724
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
5731
if test -n "0.50.1"; then
5732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.50.1" >&5
5733
$as_echo_n "checking for intltool >= 0.50.1... " >&6; }
5725
5734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
5726
5735
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
5727
5736
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
5728
as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
5737
as_fn_error $? "Your intltool is too old. You need intltool 0.50.1 or later." "$LINENO" 5
5731
5740
# Extract the first word of "intltool-update", so it can be a program name with args.
6230
6239
# Substitute ALL_LINGUAS so we can use it in po/Makefile
6233
# Set DATADIRNAME correctly if it is not set yet
6234
# (copied from glib-gettext.m4)
6235
if test -z "$DATADIRNAME"; then
6236
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6237
/* end confdefs.h. */
6242
extern int _nl_msg_cat_cntr;
6243
return _nl_msg_cat_cntr
6248
if ac_fn_c_try_link "$LINENO"; then :
6253
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6254
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6266
rm -f core conftest.err conftest.$ac_objext \
6267
conftest$ac_exeext conftest.$ac_ext
13543
# check for AppStream
13546
# Check whether --enable-appstream-util was given.
13547
if test "${enable_appstream_util+set}" = set; then :
13548
enableval=$enable_appstream_util;
13552
if test "x$enable_appstream_validate" != "xno"; then :
13553
# Extract the first word of "appstream-util", so it can be a program name with args.
13554
set dummy appstream-util; ac_word=$2
13555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13556
$as_echo_n "checking for $ac_word... " >&6; }
13557
if ${ac_cv_path_APPSTREAM_UTIL+:} false; then :
13558
$as_echo_n "(cached) " >&6
13560
case $APPSTREAM_UTIL in
13562
ac_cv_path_APPSTREAM_UTIL="$APPSTREAM_UTIL" # Let the user override the test with a path.
13565
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13566
for as_dir in $PATH
13569
test -z "$as_dir" && as_dir=.
13570
for ac_exec_ext in '' $ac_executable_extensions; do
13571
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13572
ac_cv_path_APPSTREAM_UTIL="$as_dir/$ac_word$ac_exec_ext"
13573
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13583
APPSTREAM_UTIL=$ac_cv_path_APPSTREAM_UTIL
13584
if test -n "$APPSTREAM_UTIL"; then
13585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $APPSTREAM_UTIL" >&5
13586
$as_echo "$APPSTREAM_UTIL" >&6; }
13588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13589
$as_echo "no" >&6; }
13593
if test "x$APPSTREAM_UTIL" = "x"; then :
13594
have_appstream_validate=no
13596
have_appstream_validate=yes
13600
have_appstream_validate=no
13603
if test "x$have_appstream_validate" != "xno"; then :
13604
appstream_validate=yes
13606
appstream_validate=no
13607
if test "x$enable_appstream_validate" = "xyes"; then :
13608
as_fn_error $? "AppData validation was requested but appstream-util was not found" "$LINENO" 5
13612
appstreamxmldir=${datadir}/appdata
13615
APPSTREAM_XML_RULES='
13616
.PHONY : uninstall-appstream-xml install-appstream-xml clean-appstream-xml
13618
mostlyclean-am: clean-appstream-xml
13620
%.appdata.valid: %.appdata.xml
13621
$(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; \
13622
if test -n "$(APPSTREAM_UTIL)"; \
13623
then $(APPSTREAM_UTIL) --nonet validate $${d}$<; fi \
13626
check-am: $(appstream_XML:.appdata.xml=.appdata.valid)
13627
uninstall-am: uninstall-appstream-xml
13628
install-data-am: install-appstream-xml
13630
.SECONDARY: $(appstream_XML)
13632
install-appstream-xml: $(appstream_XML)
13634
if test -n "$^"; then \
13635
test -z "$(appstreamxmldir)" || $(MKDIR_P) "$(DESTDIR)$(appstreamxmldir)"; \
13636
$(INSTALL_DATA) $^ "$(DESTDIR)$(appstreamxmldir)"; \
13639
uninstall-appstream-xml:
13640
@$(NORMAL_UNINSTALL)
13641
@list='\''$(appstream_XML)'\''; test -n "$(appstreamxmldir)" || list=; \
13642
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
13643
test -n "$$files" || exit 0; \
13644
echo " ( cd '\''$(DESTDIR)$(appstreamxmldir)'\'' && rm -f" $$files ")"; \
13645
cd "$(DESTDIR)$(appstreamxmldir)" && rm -f $$files
13647
clean-appstream-xml:
13648
rm -f $(appstream_XML:.appdata.xml=.appdata.valid)
13571
13659
GLIB_REQUIRED_VERSION=2.28
13572
13660
GTK_REQUIRED_VERSION=3.11.4
13661
EDS_REQUIRED_VERSION=3.13.90
13955
14044
pkg_cv_BIJIBEN_CFLAGS="$BIJIBEN_CFLAGS"
13956
14045
elif test -n "$PKG_CONFIG"; then
13957
14046
if test -n "$PKG_CONFIG" && \
13958
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" evolution-calendar-3.0
13959
evolution-data-server-1.2
14047
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libecal-1.2 >= \$EDS_REQUIRED_VERSION
14048
libedataserver-1.2 >= \$EDS_REQUIRED_VERSION
14049
libedataserverui-1.2 >= \$EDS_REQUIRED_VERSION
13961
14051
glib-2.0 >= \$GLIB_REQUIRED_VERSION
13981
14072
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13982
14073
test $ac_status = 0; }; then
13983
pkg_cv_BIJIBEN_CFLAGS=`$PKG_CONFIG --cflags " evolution-calendar-3.0
13984
evolution-data-server-1.2
14074
pkg_cv_BIJIBEN_CFLAGS=`$PKG_CONFIG --cflags " libecal-1.2 >= $EDS_REQUIRED_VERSION
14075
libedataserver-1.2 >= $EDS_REQUIRED_VERSION
14076
libedataserverui-1.2 >= $EDS_REQUIRED_VERSION
13986
14078
glib-2.0 >= $GLIB_REQUIRED_VERSION
14002
14094
pkg_cv_BIJIBEN_LIBS="$BIJIBEN_LIBS"
14003
14095
elif test -n "$PKG_CONFIG"; then
14004
14096
if test -n "$PKG_CONFIG" && \
14005
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" evolution-calendar-3.0
14006
evolution-data-server-1.2
14097
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libecal-1.2 >= \$EDS_REQUIRED_VERSION
14098
libedataserver-1.2 >= \$EDS_REQUIRED_VERSION
14099
libedataserverui-1.2 >= \$EDS_REQUIRED_VERSION
14008
14101
glib-2.0 >= \$GLIB_REQUIRED_VERSION
14028
14122
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14029
14123
test $ac_status = 0; }; then
14030
pkg_cv_BIJIBEN_LIBS=`$PKG_CONFIG --libs " evolution-calendar-3.0
14031
evolution-data-server-1.2
14124
pkg_cv_BIJIBEN_LIBS=`$PKG_CONFIG --libs " libecal-1.2 >= $EDS_REQUIRED_VERSION
14125
libedataserver-1.2 >= $EDS_REQUIRED_VERSION
14126
libedataserverui-1.2 >= $EDS_REQUIRED_VERSION
14033
14128
glib-2.0 >= $GLIB_REQUIRED_VERSION
14058
14153
_pkg_short_errors_supported=no
14060
14155
if test $_pkg_short_errors_supported = yes; then
14061
BIJIBEN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " evolution-calendar-3.0
14062
evolution-data-server-1.2
14156
BIJIBEN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " libecal-1.2 >= $EDS_REQUIRED_VERSION
14157
libedataserver-1.2 >= $EDS_REQUIRED_VERSION
14158
libedataserverui-1.2 >= $EDS_REQUIRED_VERSION
14064
14160
glib-2.0 >= $GLIB_REQUIRED_VERSION
14085
14182
# Put the nasty error message in config.log where it belongs
14086
14183
echo "$BIJIBEN_PKG_ERRORS" >&5
14088
as_fn_error $? "Package requirements ( evolution-calendar-3.0
14089
evolution-data-server-1.2
14185
as_fn_error $? "Package requirements ( libecal-1.2 >= $EDS_REQUIRED_VERSION
14186
libedataserver-1.2 >= $EDS_REQUIRED_VERSION
14187
libedataserverui-1.2 >= $EDS_REQUIRED_VERSION
14091
14189
glib-2.0 >= $GLIB_REQUIRED_VERSION