651
651
# Identity of this package.
652
652
PACKAGE_NAME='Cheese'
653
653
PACKAGE_TARNAME='cheese'
654
PACKAGE_VERSION='3.10.1'
655
PACKAGE_STRING='Cheese 3.10.1'
654
PACKAGE_VERSION='3.12.0'
655
PACKAGE_STRING='Cheese 3.12.0'
656
656
PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=cheese'
657
PACKAGE_URL='http://projects.gnome.org/cheese/'
657
PACKAGE_URL='https://wiki.gnome.org/Apps/Cheese'
659
659
ac_unique_file="configure.ac"
660
660
# Factoring default headers for most tests.
1605
1614
--enable-gtk-doc-html build documentation in html format [[default=yes]]
1606
1615
--enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1607
1616
--disable-man Disable building the man page
1617
--disable-appdata-validate
1618
Disable validating AppData XML files during check
1608
1620
--disable-schemas-compile
1609
1621
Disable regeneration of gschemas.compiled on install
4210
if test "$VALAC" != valac && test -n "0.18.0"; then :
4211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version 0.18.0" >&5
4212
$as_echo_n "checking whether $VALAC is at least version 0.18.0... " >&6; }
4222
if test "$VALAC" != valac && test -n "0.23.3"; then :
4223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version 0.23.3" >&5
4224
$as_echo_n "checking whether $VALAC is at least version 0.23.3... " >&6; }
4213
4225
am__vala_version=`$VALAC --version | sed 's/Vala *//'`
4215
4227
as_arg_v2="$am__vala_version"
4216
4228
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12098
12113
# - If binary compatibility has been broken (eg removed or changed interfaces)
12099
12114
# change to C+1:0:0
12100
12115
# - If the interface is the same as the previous version, change to C:R+1:A
12101
LIBCHEESE_LT_VERSION=7:16:0
12116
LIBCHEESE_LT_VERSION=7:23:0
12103
LIBCHEESE_GTK_LT_VERSION=23:16:0
12118
LIBCHEESE_GTK_LT_VERSION=24:7:1
12106
12121
#*******************************************************************************
12698
12713
#*******************************************************************************
12701
GLIB_REQUIRED="glib-2.0 >= 2.32.0"
12702
GOBJECT_REQUIRED="gobject-2.0 >= 2.28.0"
12703
GIO_REQUIRED="gio-2.0 >= 2.32.0"
12704
GTK_REQUIRED="gtk+-3.0 >= 3.4.4"
12705
GDK_REQUIRED="gdk-3.0 >= 3.3.6"
12716
GLIB_REQUIRED="glib-2.0 >= 2.39.90"
12717
GTK_REQUIRED="gtk+-3.0 >= 3.10.0"
12706
12718
GDK_PIXBUF_REQUIRED="gdk-pixbuf-2.0"
12707
12719
LIBGNOMEDESKTOP_REQUIRED="gnome-desktop-3.0 >= 2.91.6"
12708
12720
GSTREAMER_VERSION=0.11.0
13033
13027
pkg_cv_CHEESE_GTK_CFLAGS="$CHEESE_GTK_CFLAGS"
13034
13028
elif test -n "$PKG_CONFIG"; then
13035
13029
if test -n "$PKG_CONFIG" && \
13036
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GIO_REQUIRED
13030
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GTK_REQUIRED
13039
13031
\$LIBRSVG_REQUIRED
13040
13032
\$CLUTTERGTK_REQUIRED
13041
13033
\$LIBCANBERRA_REQUIRED
13042
13034
\$UDEV_REQUIRED
13043
13035
\$GNOME_VIDEO_EFFECTS_REQUIRED\""; } >&5
13044
($PKG_CONFIG --exists --print-errors "$GIO_REQUIRED
13036
($PKG_CONFIG --exists --print-errors "$GTK_REQUIRED
13047
13037
$LIBRSVG_REQUIRED
13048
13038
$CLUTTERGTK_REQUIRED
13049
13039
$LIBCANBERRA_REQUIRED
13071
13059
pkg_cv_CHEESE_GTK_LIBS="$CHEESE_GTK_LIBS"
13072
13060
elif test -n "$PKG_CONFIG"; then
13073
13061
if test -n "$PKG_CONFIG" && \
13074
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GIO_REQUIRED
13062
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GTK_REQUIRED
13077
13063
\$LIBRSVG_REQUIRED
13078
13064
\$CLUTTERGTK_REQUIRED
13079
13065
\$LIBCANBERRA_REQUIRED
13080
13066
\$UDEV_REQUIRED
13081
13067
\$GNOME_VIDEO_EFFECTS_REQUIRED\""; } >&5
13082
($PKG_CONFIG --exists --print-errors "$GIO_REQUIRED
13068
($PKG_CONFIG --exists --print-errors "$GTK_REQUIRED
13085
13069
$LIBRSVG_REQUIRED
13086
13070
$CLUTTERGTK_REQUIRED
13087
13071
$LIBCANBERRA_REQUIRED
13118
13100
_pkg_short_errors_supported=no
13120
13102
if test $_pkg_short_errors_supported = yes; then
13121
CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GIO_REQUIRED
13103
CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GTK_REQUIRED
13124
13104
$LIBRSVG_REQUIRED
13125
13105
$CLUTTERGTK_REQUIRED
13126
13106
$LIBCANBERRA_REQUIRED
13127
13107
$UDEV_REQUIRED
13128
13108
$GNOME_VIDEO_EFFECTS_REQUIRED" 2>&1`
13130
CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GIO_REQUIRED
13110
CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GTK_REQUIRED
13133
13111
$LIBRSVG_REQUIRED
13134
13112
$CLUTTERGTK_REQUIRED
13135
13113
$LIBCANBERRA_REQUIRED
13558
gtk_doc_requires="gtk-doc >= 1.14"
13559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
13560
$as_echo_n "checking for gtk-doc... " >&6; }
13561
if test -n "$PKG_CONFIG" && \
13562
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
13563
($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
13565
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13566
test $ac_status = 0; }; then
13571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
13572
$as_echo "$have_gtk_doc" >&6; }
13574
if test "$have_gtk_doc" = "no"; then
13575
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13576
You will not be able to create source packages with 'make dist'
13577
because $gtk_doc_requires is not found." >&5
13578
$as_echo "$as_me: WARNING:
13579
You will not be able to create source packages with 'make dist'
13580
because $gtk_doc_requires is not found." >&2;}
13578
13583
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
13579
13584
set dummy gtkdoc-check; ac_word=$2
13580
13585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13761
if test x$enable_gtk_doc = xyes; then
13762
if test -n "$PKG_CONFIG" && \
13763
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.14\""; } >&5
13764
($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.14") 2>&5
13766
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13767
test $ac_status = 0; }; then
13770
as_fn_error $? "You need to have gtk-doc >= 1.14 installed to build $PACKAGE_NAME" "$LINENO" 5
13772
if test "x$PACKAGE_NAME" != "xglib"; then
13766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13767
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13769
$as_echo "$enable_gtk_doc" >&6; }
13771
if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
13773
You must have $gtk_doc_requires installed to build documentation for
13774
$PACKAGE_NAME. Please install gtk-doc or disable building the
13775
documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
13778
if test "x$PACKAGE_NAME" != "xglib"; then
13774
13780
pkg_failed=no
13775
13781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13841
13847
$as_echo "yes" >&6; }
13847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13848
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13850
$as_echo "$enable_gtk_doc" >&6; }
13852
13852
# Check whether --enable-gtk-doc-html was given.
13853
13853
if test "${enable_gtk_doc_html+set}" = set; then :
13854
13854
enableval=$enable_gtk_doc_html;
14111
YELP_LC_MEDIA_LINKS=true
14114
for yelpopt in ; do
14116
lc-media-links) YELP_LC_MEDIA_LINKS=true ;;
14117
no-lc-media-links) YELP_LC_MEDIA_LINKS= ;;
14118
lc-dist) YELP_LC_DIST=true ;;
14119
no-lc-dist) YELP_LC_DIST= ;;
14120
*) as_fn_error $? "Unrecognized YELP_HELP_INIT option $yelpopt\"" "$LINENO" 5 ;;
14103
14127
# Check whether --with-help-dir was given.
14104
14128
if test "${with_help_dir+set}" = set; then :
14105
14129
withval=$with_help_dir;
14270
14294
EXTRA_DIST ?=
14271
14295
EXTRA_DIST += $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
14272
EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp)
14296
EXTRA_DIST += $(if $(YELP_LC_DIST),$(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp))
14273
14297
EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po)
14274
14298
EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f))))
14276
14300
distdir: distdir-help-files
14277
14301
distdir-help-files:
14278
@for lc in C $(HELP_LINGUAS); do \
14302
@for lc in C $(if $(YELP_LC_DIST),$(HELP_LINGUAS)) ; do \
14279
14303
$(MKDIR_P) "$(distdir)/$$lc"; \
14280
14304
for file in $(HELP_FILES); do \
14281
14305
if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \
14333
14357
echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \
14334
14358
$(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \
14335
14359
elif test "x$$lc" != "xC"; then \
14336
echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
14337
$(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
14360
if test "x$(YELP_LC_MEDIA_LINKS)" != "x"; then \
14361
echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
14362
$(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
14397
# Check whether --enable-appdata-validate was given.
14398
if test "${enable_appdata_validate+set}" = set; then :
14399
enableval=$enable_appdata_validate;
14403
if test "x$enable_appdata_validate" != "xno"; then :
14404
# Extract the first word of "appdata-validate", so it can be a program name with args.
14405
set dummy appdata-validate; ac_word=$2
14406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14407
$as_echo_n "checking for $ac_word... " >&6; }
14408
if ${ac_cv_path_APPDATA_VALIDATE+:} false; then :
14409
$as_echo_n "(cached) " >&6
14411
case $APPDATA_VALIDATE in
14413
ac_cv_path_APPDATA_VALIDATE="$APPDATA_VALIDATE" # Let the user override the test with a path.
14416
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14417
for as_dir in $PATH
14420
test -z "$as_dir" && as_dir=.
14421
for ac_exec_ext in '' $ac_executable_extensions; do
14422
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14423
ac_cv_path_APPDATA_VALIDATE="$as_dir/$ac_word$ac_exec_ext"
14424
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14434
APPDATA_VALIDATE=$ac_cv_path_APPDATA_VALIDATE
14435
if test -n "$APPDATA_VALIDATE"; then
14436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $APPDATA_VALIDATE" >&5
14437
$as_echo "$APPDATA_VALIDATE" >&6; }
14439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14440
$as_echo "no" >&6; }
14444
if test "x$APPDATA_VALIDATE" = "x"; then :
14445
have_appdata_validate=no
14447
have_appdata_validate=yes
14451
have_appdata_validate=no
14454
if test "x$have_appdata_validate" != "xno"; then :
14455
appdata_validate=yes
14457
appdata_validate=no
14458
if test "x$enable_appdata_validate" = "xyes"; then :
14459
as_fn_error $? "AppData validation was requested but appdata-validate was not found" "$LINENO" 5
14463
appdataxmldir=${datadir}/appdata
14466
APPDATA_XML_RULES='
14467
.PHONY : uninstall-appdata-xml install-appdata-xml clean-appdata-xml
14469
mostlyclean-am: clean-appdata-xml
14471
%.appdata.valid: %.appdata.xml
14472
$(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; \
14473
if test -n "$(APPDATA_VALIDATE)"; \
14474
then $(APPDATA_VALIDATE) --nonet $${d}$<; fi \
14477
check-am: $(appdata_XML:.appdata.xml=.appdata.valid)
14478
uninstall-am: uninstall-appdata-xml
14479
install-data-am: install-appdata-xml
14481
.SECONDARY: $(appdata_XML)
14483
install-appdata-xml: $(appdata_XML)
14485
if test -n "$^"; then \
14486
test -z "$(appdataxmldir)" || $(MKDIR_P) "$(DESTDIR)$(appdataxmldir)"; \
14487
$(INSTALL_DATA) $^ "$(DESTDIR)$(appdataxmldir)"; \
14490
uninstall-appdata-xml:
14491
@$(NORMAL_UNINSTALL)
14492
@list='\''$(appdata_XML)'\''; test -n "$(appdataxmldir)" || list=; \
14493
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
14494
test -n "$$files" || exit 0; \
14495
echo " ( cd '\''$(DESTDIR)$(appdataxmldir)'\'' && rm -f" $$files ")"; \
14496
cd "$(DESTDIR)$(appdataxmldir)" && rm -f $$files
14499
rm -f $(appdata_XML:.appdata.xml=.appdata.valid)
14370
14510
# Check whether --enable-schemas-compile was given.
14558
14698
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
14560
14700
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
14561
$(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 $@
14701
$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
14563
14703
all-am: $(gsettings_SCHEMAS:.xml=.valid)
14564
14704
uninstall-am: uninstall-gsettings-schemas
14758
14898
as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
14759
14899
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14901
if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
14902
as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
14903
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14761
14905
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14762
14906
as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
14763
14907
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15179
15323
# report actual input values of CONFIG_FILES etc. instead of their
15180
15324
# values after options handling.
15182
This file was extended by Cheese $as_me 3.10.1, which was
15326
This file was extended by Cheese $as_me 3.12.0, which was
15183
15327
generated by GNU Autoconf 2.69. Invocation command line was
15185
15329
CONFIG_FILES = $CONFIG_FILES
15240
15384
$config_commands
15242
15386
Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=cheese>.
15243
Cheese home page: <http://projects.gnome.org/cheese/>."
15387
Cheese home page: <https://wiki.gnome.org/Apps/Cheese>."
15246
15390
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15247
15391
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15248
15392
ac_cs_version="\\
15249
Cheese config.status 3.10.1
15393
Cheese config.status 3.12.0
15250
15394
configured by $0, generated by GNU Autoconf 2.69,
15251
15395
with options \\"\$ac_cs_config\\"