5212
if test "x$CC" != xcc; then
5213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5214
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5216
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5217
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5219
set dummy $CC; ac_cc=`$as_echo "$2" |
5220
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5221
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5222
$as_echo_n "(cached) " >&6
5224
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5225
/* end confdefs.h. */
5235
# Make sure it works both with $CC and with simple cc.
5236
# We do the test twice because some compilers refuse to overwrite an
5237
# existing .o file with -o, though they will create one.
5238
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5240
if { { case "(($ac_try" in
5241
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5242
*) ac_try_echo=$ac_try;;
5244
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5245
$as_echo "$ac_try_echo"; } >&5
5246
(eval "$ac_try") 2>&5
5248
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5249
test $ac_status = 0; } &&
5250
test -f conftest2.$ac_objext && { { case "(($ac_try" in
5251
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5252
*) ac_try_echo=$ac_try;;
5254
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5255
$as_echo "$ac_try_echo"; } >&5
5256
(eval "$ac_try") 2>&5
5258
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5259
test $ac_status = 0; };
5261
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5262
if test "x$CC" != xcc; then
5263
# Test first that cc exists at all.
5264
if { ac_try='cc -c conftest.$ac_ext >&5'
5265
{ { case "(($ac_try" in
5266
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5267
*) ac_try_echo=$ac_try;;
5269
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5270
$as_echo "$ac_try_echo"; } >&5
5271
(eval "$ac_try") 2>&5
5273
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5274
test $ac_status = 0; }; }; then
5275
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5277
if { { case "(($ac_try" in
5278
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5279
*) ac_try_echo=$ac_try;;
5281
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5282
$as_echo "$ac_try_echo"; } >&5
5283
(eval "$ac_try") 2>&5
5285
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5286
test $ac_status = 0; } &&
5287
test -f conftest2.$ac_objext && { { case "(($ac_try" in
5288
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5289
*) ac_try_echo=$ac_try;;
5291
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5292
$as_echo "$ac_try_echo"; } >&5
5293
(eval "$ac_try") 2>&5
5295
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5296
test $ac_status = 0; };
5301
# cc exists but doesn't like -o.
5302
eval ac_cv_prog_cc_${ac_cc}_c_o=no
5307
eval ac_cv_prog_cc_${ac_cc}_c_o=no
5309
rm -f core conftest*
5312
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5314
$as_echo "yes" >&6; }
5316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5317
$as_echo "no" >&6; }
5319
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5323
# FIXME: we rely on the cache variable name because
5324
# there is no other way.
5326
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5327
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5328
if test "$am_t" != yes; then
5329
# Losing compiler, so override with the script.
5330
# FIXME: It is wrong to rewrite CC.
5331
# But if we don't then we get into trouble of one sort or another.
5332
# A longer-term fix would be to have automake use am__CC in this case,
5333
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5334
CC="$am_aux_dir/compile $CC"
12931
*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
12932
# These system don't have libm, or don't need it
12935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
12936
$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
12937
if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
12938
$as_echo_n "(cached) " >&6
12940
ac_check_lib_save_LIBS=$LIBS
12942
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12943
/* end confdefs.h. */
12945
/* Override any GCC internal prototype to avoid an error.
12946
Use char because int might match the return type of a GCC
12947
builtin and then its argument prototype would still apply. */
12951
char _mwvalidcheckl ();
12955
return _mwvalidcheckl ();
12960
if ac_fn_c_try_link "$LINENO"; then :
12961
ac_cv_lib_mw__mwvalidcheckl=yes
12963
ac_cv_lib_mw__mwvalidcheckl=no
12965
rm -f core conftest.err conftest.$ac_objext \
12966
conftest$ac_exeext conftest.$ac_ext
12967
LIBS=$ac_check_lib_save_LIBS
12969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
12970
$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
12971
if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
12975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12976
$as_echo_n "checking for cos in -lm... " >&6; }
12977
if ${ac_cv_lib_m_cos+:} false; then :
12978
$as_echo_n "(cached) " >&6
12980
ac_check_lib_save_LIBS=$LIBS
12982
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12983
/* end confdefs.h. */
12985
/* Override any GCC internal prototype to avoid an error.
12986
Use char because int might match the return type of a GCC
12987
builtin and then its argument prototype would still apply. */
13000
if ac_fn_c_try_link "$LINENO"; then :
13001
ac_cv_lib_m_cos=yes
13005
rm -f core conftest.err conftest.$ac_objext \
13006
conftest$ac_exeext conftest.$ac_ext
13007
LIBS=$ac_check_lib_save_LIBS
13009
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13010
$as_echo "$ac_cv_lib_m_cos" >&6; }
13011
if test "x$ac_cv_lib_m_cos" = xyes; then :
13017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13018
$as_echo_n "checking for cos in -lm... " >&6; }
13019
if ${ac_cv_lib_m_cos+:} false; then :
13020
$as_echo_n "(cached) " >&6
13022
ac_check_lib_save_LIBS=$LIBS
13024
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13025
/* end confdefs.h. */
13027
/* Override any GCC internal prototype to avoid an error.
13028
Use char because int might match the return type of a GCC
13029
builtin and then its argument prototype would still apply. */
13042
if ac_fn_c_try_link "$LINENO"; then :
13043
ac_cv_lib_m_cos=yes
13047
rm -f core conftest.err conftest.$ac_objext \
13048
conftest$ac_exeext conftest.$ac_ext
13049
LIBS=$ac_check_lib_save_LIBS
13051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13052
$as_echo "$ac_cv_lib_m_cos" >&6; }
13053
if test "x$ac_cv_lib_m_cos" = xyes; then :
13068
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13069
if test -n "$ac_tool_prefix"; then
13070
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13071
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13072
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13073
$as_echo_n "checking for $ac_word... " >&6; }
13074
if ${ac_cv_path_PKG_CONFIG+:} false; then :
13075
$as_echo_n "(cached) " >&6
13077
case $PKG_CONFIG in
13079
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13082
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13083
for as_dir in $PATH
13086
test -z "$as_dir" && as_dir=.
13087
for ac_exec_ext in '' $ac_executable_extensions; do
13088
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13089
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13090
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13100
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13101
if test -n "$PKG_CONFIG"; then
13102
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13103
$as_echo "$PKG_CONFIG" >&6; }
13105
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13106
$as_echo "no" >&6; }
13111
if test -z "$ac_cv_path_PKG_CONFIG"; then
13112
ac_pt_PKG_CONFIG=$PKG_CONFIG
13113
# Extract the first word of "pkg-config", so it can be a program name with args.
13114
set dummy pkg-config; ac_word=$2
13115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13116
$as_echo_n "checking for $ac_word... " >&6; }
13117
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13118
$as_echo_n "(cached) " >&6
13120
case $ac_pt_PKG_CONFIG in
13122
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13125
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13126
for as_dir in $PATH
13129
test -z "$as_dir" && as_dir=.
13130
for ac_exec_ext in '' $ac_executable_extensions; do
13131
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13132
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13133
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13143
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13144
if test -n "$ac_pt_PKG_CONFIG"; then
13145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13146
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13148
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13149
$as_echo "no" >&6; }
13152
if test "x$ac_pt_PKG_CONFIG" = x; then
13155
case $cross_compiling:$ac_tool_warned in
13157
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13158
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13159
ac_tool_warned=yes ;;
13161
PKG_CONFIG=$ac_pt_PKG_CONFIG
13164
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13168
if test -n "$PKG_CONFIG"; then
13169
_pkg_min_version=0.9.0
13170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13171
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13172
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13174
$as_echo "yes" >&6; }
13176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13177
$as_echo "no" >&6; }
13183
LIBGD_MODULE_DIR=libgd
13189
LIBGD_MODULES="gtk+-3.0 >= 3.7.10"
13190
LIBGD_GIR_INCLUDES="Gtk-3.0"
13195
LIBGD_STATIC_FALSE='#'
13197
LIBGD_STATIC_TRUE='#'
13198
LIBGD_STATIC_FALSE=
13202
# gtk-hacks: collection of Gtk+ hacks and workarounds
13204
LIBGD_GTK_HACKS_TRUE=
13205
LIBGD_GTK_HACKS_FALSE='#'
13207
LIBGD_GTK_HACKS_TRUE='#'
13208
LIBGD_GTK_HACKS_FALSE=
13215
LIBGD_MAIN_VIEW_TRUE=
13216
LIBGD_MAIN_VIEW_FALSE='#'
13218
LIBGD_MAIN_VIEW_TRUE='#'
13219
LIBGD_MAIN_VIEW_FALSE=
13226
$as_echo "#define LIBGD_MAIN_VIEW 1" >>confdefs.h
13232
LIBGD_MAIN_ICON_VIEW_TRUE=
13233
LIBGD_MAIN_ICON_VIEW_FALSE='#'
13235
LIBGD_MAIN_ICON_VIEW_TRUE='#'
13236
LIBGD_MAIN_ICON_VIEW_FALSE=
13242
$as_echo "#define LIBGD_MAIN_ICON_VIEW 1" >>confdefs.h
13248
LIBGD_MAIN_LIST_VIEW_TRUE=
13249
LIBGD_MAIN_LIST_VIEW_FALSE='#'
13251
LIBGD_MAIN_LIST_VIEW_TRUE='#'
13252
LIBGD_MAIN_LIST_VIEW_FALSE=
13258
$as_echo "#define LIBGD_MAIN_LIST_VIEW 1" >>confdefs.h
13264
LIBGD_MAIN_TOOLBAR_TRUE=
13265
LIBGD_MAIN_TOOLBAR_FALSE='#'
13267
LIBGD_MAIN_TOOLBAR_TRUE='#'
13268
LIBGD_MAIN_TOOLBAR_FALSE=
13275
LIBGD_HEADER_BAR_TRUE=
13276
LIBGD_HEADER_BAR_FALSE='#'
13278
LIBGD_HEADER_BAR_TRUE='#'
13279
LIBGD_HEADER_BAR_FALSE=
13284
# margin-container:
13286
LIBGD_MARGIN_CONTAINER_TRUE=
13287
LIBGD_MARGIN_CONTAINER_FALSE='#'
13289
LIBGD_MARGIN_CONTAINER_TRUE='#'
13290
LIBGD_MARGIN_CONTAINER_FALSE=
13297
LIBGD_NOTIFICATION_TRUE=
13298
LIBGD_NOTIFICATION_FALSE='#'
13300
LIBGD_NOTIFICATION_TRUE='#'
13301
LIBGD_NOTIFICATION_FALSE=
13308
LIBGD_REVEALER_TRUE=
13309
LIBGD_REVEALER_FALSE='#'
13311
LIBGD_REVEALER_TRUE='#'
13312
LIBGD_REVEALER_FALSE=
13320
LIBGD_STACK_FALSE='#'
13322
LIBGD_STACK_TRUE='#'
13328
# tagged-entry: Gtk+ widget
13330
LIBGD_TAGGED_ENTRY_TRUE=
13331
LIBGD_TAGGED_ENTRY_FALSE='#'
13333
LIBGD_TAGGED_ENTRY_TRUE='#'
13334
LIBGD_TAGGED_ENTRY_FALSE=
13339
# vapi: vala bindings support
13342
LIBGD_VAPI_FALSE='#'
13344
LIBGD_VAPI_TRUE='#'
13350
# gir: gobject introspection support
13353
LIBGD_GIR_FALSE='#'
13363
enable_introspection=yes
13365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
13366
$as_echo_n "checking for gobject-introspection... " >&6; }
13368
case $enable_introspection in #(
13370
found_introspection="no (disabled, use --enable-introspection to enable)"
13373
if test -n "$PKG_CONFIG" && \
13374
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
13375
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
13377
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13378
test $ac_status = 0; }; then
13381
as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
13383
if test -n "$PKG_CONFIG" && \
13384
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5
13385
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5
13387
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13388
test $ac_status = 0; }; then
13389
found_introspection=yes
13391
as_fn_error $? "You need to have gobject-introspection >= 0.9.6 installed to build org.gnome.Weather.Application" "$LINENO" 5
13395
if test -n "$PKG_CONFIG" && \
13396
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5
13397
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5
13399
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13400
test $ac_status = 0; }; then
13401
found_introspection=yes
13403
found_introspection=no
13405
enable_introspection=$found_introspection
13408
as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
13411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
13412
$as_echo "$found_introspection" >&6; }
13414
INTROSPECTION_SCANNER=
13415
INTROSPECTION_COMPILER=
13416
INTROSPECTION_GENERATE=
13417
INTROSPECTION_GIRDIR=
13418
INTROSPECTION_TYPELIBDIR=
13419
if test "x$found_introspection" = "xyes"; then
13420
INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
13421
INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
13422
INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
13423
INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
13424
INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
13425
INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
13426
INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
13427
INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
13438
if test "x$found_introspection" = "xyes"; then
13439
HAVE_INTROSPECTION_TRUE=
13440
HAVE_INTROSPECTION_FALSE='#'
13442
HAVE_INTROSPECTION_TRUE='#'
13443
HAVE_INTROSPECTION_FALSE=
13452
LIBGD__HEADER_BUTTON_TRUE=
13453
LIBGD__HEADER_BUTTON_FALSE='#'
13455
LIBGD__HEADER_BUTTON_TRUE='#'
13456
LIBGD__HEADER_BUTTON_FALSE=
13463
LIBGD__VIEW_COMMON_TRUE=
13464
LIBGD__VIEW_COMMON_FALSE='#'
13466
LIBGD__VIEW_COMMON_TRUE='#'
13467
LIBGD__VIEW_COMMON_FALSE=
13472
$as_echo "#define LIBGD__VIEW_COMMON 1" >>confdefs.h
13478
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGD" >&5
13479
$as_echo_n "checking for LIBGD... " >&6; }
13481
if test -n "$LIBGD_CFLAGS"; then
13482
pkg_cv_LIBGD_CFLAGS="$LIBGD_CFLAGS"
13483
elif test -n "$PKG_CONFIG"; then
13484
if test -n "$PKG_CONFIG" && \
13485
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" \$LIBGD_MODULES \""; } >&5
13486
($PKG_CONFIG --exists --print-errors " $LIBGD_MODULES ") 2>&5
13488
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13489
test $ac_status = 0; }; then
13490
pkg_cv_LIBGD_CFLAGS=`$PKG_CONFIG --cflags " $LIBGD_MODULES " 2>/dev/null`
13491
test "x$?" != "x0" && pkg_failed=yes
13498
if test -n "$LIBGD_LIBS"; then
13499
pkg_cv_LIBGD_LIBS="$LIBGD_LIBS"
13500
elif test -n "$PKG_CONFIG"; then
13501
if test -n "$PKG_CONFIG" && \
13502
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" \$LIBGD_MODULES \""; } >&5
13503
($PKG_CONFIG --exists --print-errors " $LIBGD_MODULES ") 2>&5
13505
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13506
test $ac_status = 0; }; then
13507
pkg_cv_LIBGD_LIBS=`$PKG_CONFIG --libs " $LIBGD_MODULES " 2>/dev/null`
13508
test "x$?" != "x0" && pkg_failed=yes
13518
if test $pkg_failed = yes; then
13519
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13520
$as_echo "no" >&6; }
13522
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13523
_pkg_short_errors_supported=yes
13525
_pkg_short_errors_supported=no
13527
if test $_pkg_short_errors_supported = yes; then
13528
LIBGD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " $LIBGD_MODULES " 2>&1`
13530
LIBGD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " $LIBGD_MODULES " 2>&1`
13532
# Put the nasty error message in config.log where it belongs
13533
echo "$LIBGD_PKG_ERRORS" >&5
13535
as_fn_error $? "Package requirements ( $LIBGD_MODULES ) were not met:
13539
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13540
installed software in a non-standard prefix.
13542
Alternatively, you may set the environment variables LIBGD_CFLAGS
13543
and LIBGD_LIBS to avoid the need to call pkg-config.
13544
See the pkg-config man page for more details." "$LINENO" 5
13545
elif test $pkg_failed = untried; then
13546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13547
$as_echo "no" >&6; }
13548
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13549
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13550
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13551
is in your PATH or set the PKG_CONFIG environment variable to the full
13552
path to pkg-config.
13554
Alternatively, you may set the environment variables LIBGD_CFLAGS
13555
and LIBGD_LIBS to avoid the need to call pkg-config.
13556
See the pkg-config man page for more details.
13558
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13559
See \`config.log' for more details" "$LINENO" 5; }
13561
LIBGD_CFLAGS=$pkg_cv_LIBGD_CFLAGS
13562
LIBGD_LIBS=$pkg_cv_LIBGD_LIBS
13563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13564
$as_echo "yes" >&6; }
13050
# Check whether --enable-appstream-util was given.
13051
if test "${enable_appstream_util+set}" = set; then :
13052
enableval=$enable_appstream_util;
13056
if test "x$enable_appstream_validate" != "xno"; then :
13057
# Extract the first word of "appstream-util", so it can be a program name with args.
13058
set dummy appstream-util; ac_word=$2
13059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13060
$as_echo_n "checking for $ac_word... " >&6; }
13061
if ${ac_cv_path_APPSTREAM_UTIL+:} false; then :
13062
$as_echo_n "(cached) " >&6
13064
case $APPSTREAM_UTIL in
13066
ac_cv_path_APPSTREAM_UTIL="$APPSTREAM_UTIL" # Let the user override the test with a path.
13069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13070
for as_dir in $PATH
13073
test -z "$as_dir" && as_dir=.
13074
for ac_exec_ext in '' $ac_executable_extensions; do
13075
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13076
ac_cv_path_APPSTREAM_UTIL="$as_dir/$ac_word$ac_exec_ext"
13077
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13087
APPSTREAM_UTIL=$ac_cv_path_APPSTREAM_UTIL
13088
if test -n "$APPSTREAM_UTIL"; then
13089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $APPSTREAM_UTIL" >&5
13090
$as_echo "$APPSTREAM_UTIL" >&6; }
13092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13093
$as_echo "no" >&6; }
13097
if test "x$APPSTREAM_UTIL" = "x"; then :
13098
have_appstream_validate=no
13100
have_appstream_validate=yes
13104
have_appstream_validate=no
13107
if test "x$have_appstream_validate" != "xno"; then :
13108
appstream_validate=yes
13110
appstream_validate=no
13111
if test "x$enable_appstream_validate" = "xyes"; then :
13112
as_fn_error $? "AppData validation was requested but appstream-util was not found" "$LINENO" 5
13116
appstreamxmldir=${datadir}/appdata
13119
APPSTREAM_XML_RULES='
13120
.PHONY : uninstall-appstream-xml install-appstream-xml clean-appstream-xml
13122
mostlyclean-am: clean-appstream-xml
13124
%.appdata.valid: %.appdata.xml
13125
$(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; \
13126
if test -n "$(APPSTREAM_UTIL)"; \
13127
then $(APPSTREAM_UTIL) --nonet validate $${d}$<; fi \
13130
check-am: $(appstream_XML:.appdata.xml=.appdata.valid)
13131
uninstall-am: uninstall-appstream-xml
13132
install-data-am: install-appstream-xml
13134
.SECONDARY: $(appstream_XML)
13136
install-appstream-xml: $(appstream_XML)
13138
if test -n "$^"; then \
13139
test -z "$(appstreamxmldir)" || $(MKDIR_P) "$(DESTDIR)$(appstreamxmldir)"; \
13140
$(INSTALL_DATA) $^ "$(DESTDIR)$(appstreamxmldir)"; \
13143
uninstall-appstream-xml:
13144
@$(NORMAL_UNINSTALL)
13145
@list='\''$(appstream_XML)'\''; test -n "$(appstreamxmldir)" || list=; \
13146
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
13147
test -n "$$files" || exit 0; \
13148
echo " ( cd '\''$(DESTDIR)$(appstreamxmldir)'\'' && rm -f" $$files ")"; \
13149
cd "$(DESTDIR)$(appstreamxmldir)" && rm -f $$files
13151
clean-appstream-xml:
13152
rm -f $(appstream_XML:.appdata.xml=.appdata.valid)
13694
13162
# Check whether --enable-schemas-compile was given.
13695
13163
if test "${enable_schemas_compile+set}" = set; then :
13696
13164
enableval=$enable_schemas_compile; case ${enableval} in
14639
14101
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14640
14102
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14642
if test -z "${LIBGD_STATIC_TRUE}" && test -z "${LIBGD_STATIC_FALSE}"; then
14643
as_fn_error $? "conditional \"LIBGD_STATIC\" was never defined.
14644
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14646
if test -z "${LIBGD_GTK_HACKS_TRUE}" && test -z "${LIBGD_GTK_HACKS_FALSE}"; then
14647
as_fn_error $? "conditional \"LIBGD_GTK_HACKS\" was never defined.
14648
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14650
if test -z "${LIBGD_MAIN_VIEW_TRUE}" && test -z "${LIBGD_MAIN_VIEW_FALSE}"; then
14651
as_fn_error $? "conditional \"LIBGD_MAIN_VIEW\" was never defined.
14652
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14654
if test -z "${LIBGD_MAIN_ICON_VIEW_TRUE}" && test -z "${LIBGD_MAIN_ICON_VIEW_FALSE}"; then
14655
as_fn_error $? "conditional \"LIBGD_MAIN_ICON_VIEW\" was never defined.
14656
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14658
if test -z "${LIBGD_MAIN_LIST_VIEW_TRUE}" && test -z "${LIBGD_MAIN_LIST_VIEW_FALSE}"; then
14659
as_fn_error $? "conditional \"LIBGD_MAIN_LIST_VIEW\" was never defined.
14660
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14662
if test -z "${LIBGD_MAIN_TOOLBAR_TRUE}" && test -z "${LIBGD_MAIN_TOOLBAR_FALSE}"; then
14663
as_fn_error $? "conditional \"LIBGD_MAIN_TOOLBAR\" was never defined.
14664
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14666
if test -z "${LIBGD_HEADER_BAR_TRUE}" && test -z "${LIBGD_HEADER_BAR_FALSE}"; then
14667
as_fn_error $? "conditional \"LIBGD_HEADER_BAR\" was never defined.
14668
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14670
if test -z "${LIBGD_MARGIN_CONTAINER_TRUE}" && test -z "${LIBGD_MARGIN_CONTAINER_FALSE}"; then
14671
as_fn_error $? "conditional \"LIBGD_MARGIN_CONTAINER\" was never defined.
14672
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14674
if test -z "${LIBGD_NOTIFICATION_TRUE}" && test -z "${LIBGD_NOTIFICATION_FALSE}"; then
14675
as_fn_error $? "conditional \"LIBGD_NOTIFICATION\" was never defined.
14676
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14678
if test -z "${LIBGD_REVEALER_TRUE}" && test -z "${LIBGD_REVEALER_FALSE}"; then
14679
as_fn_error $? "conditional \"LIBGD_REVEALER\" was never defined.
14680
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14682
if test -z "${LIBGD_STACK_TRUE}" && test -z "${LIBGD_STACK_FALSE}"; then
14683
as_fn_error $? "conditional \"LIBGD_STACK\" was never defined.
14684
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14686
if test -z "${LIBGD_TAGGED_ENTRY_TRUE}" && test -z "${LIBGD_TAGGED_ENTRY_FALSE}"; then
14687
as_fn_error $? "conditional \"LIBGD_TAGGED_ENTRY\" was never defined.
14688
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14690
if test -z "${LIBGD_VAPI_TRUE}" && test -z "${LIBGD_VAPI_FALSE}"; then
14691
as_fn_error $? "conditional \"LIBGD_VAPI\" was never defined.
14692
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14694
if test -z "${LIBGD_GIR_TRUE}" && test -z "${LIBGD_GIR_FALSE}"; then
14695
as_fn_error $? "conditional \"LIBGD_GIR\" was never defined.
14696
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14698
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
14699
as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
14700
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14702
if test -z "${LIBGD__HEADER_BUTTON_TRUE}" && test -z "${LIBGD__HEADER_BUTTON_FALSE}"; then
14703
as_fn_error $? "conditional \"LIBGD__HEADER_BUTTON\" was never defined.
14704
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14706
if test -z "${LIBGD__VIEW_COMMON_TRUE}" && test -z "${LIBGD__VIEW_COMMON_FALSE}"; then
14707
as_fn_error $? "conditional \"LIBGD__VIEW_COMMON\" was never defined.
14708
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14710
14104
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
14711
14105
as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
14712
14106
Usually this means the macro was only invoked conditionally." "$LINENO" 5