1714
1712
linker flags for GOBJECT, overriding pkg-config
1715
1713
GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1716
1714
GTK_LIBS linker flags for GTK, overriding pkg-config
1715
RSVG_CFLAGS C compiler flags for RSVG, overriding pkg-config
1716
RSVG_LIBS linker flags for RSVG, overriding pkg-config
1717
1717
GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1718
1718
GIO_LIBS linker flags for GIO, overriding pkg-config
1719
RSVG_CFLAGS C compiler flags for RSVG, overriding pkg-config
1720
RSVG_LIBS linker flags for RSVG, overriding pkg-config
1722
1720
C compiler flags for SQLITE, overriding pkg-config
1723
1721
SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
13173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSVG" >&5
13174
$as_echo_n "checking for RSVG... " >&6; }
13176
if test -n "$RSVG_CFLAGS"; then
13177
pkg_cv_RSVG_CFLAGS="$RSVG_CFLAGS"
13178
elif test -n "$PKG_CONFIG"; then
13179
if test -n "$PKG_CONFIG" && \
13180
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13181
librsvg-2.0 >= \$RSVG_REQUIRED
13182
cairo >= \$CAIRO_REQUIRED\""; } >&5
13183
($PKG_CONFIG --exists --print-errors "
13184
librsvg-2.0 >= $RSVG_REQUIRED
13185
cairo >= $CAIRO_REQUIRED") 2>&5
13187
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13188
test $ac_status = 0; }; then
13189
pkg_cv_RSVG_CFLAGS=`$PKG_CONFIG --cflags "
13190
librsvg-2.0 >= $RSVG_REQUIRED
13191
cairo >= $CAIRO_REQUIRED" 2>/dev/null`
13192
test "x$?" != "x0" && pkg_failed=yes
13199
if test -n "$RSVG_LIBS"; then
13200
pkg_cv_RSVG_LIBS="$RSVG_LIBS"
13201
elif test -n "$PKG_CONFIG"; then
13202
if test -n "$PKG_CONFIG" && \
13203
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13204
librsvg-2.0 >= \$RSVG_REQUIRED
13205
cairo >= \$CAIRO_REQUIRED\""; } >&5
13206
($PKG_CONFIG --exists --print-errors "
13207
librsvg-2.0 >= $RSVG_REQUIRED
13208
cairo >= $CAIRO_REQUIRED") 2>&5
13210
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13211
test $ac_status = 0; }; then
13212
pkg_cv_RSVG_LIBS=`$PKG_CONFIG --libs "
13213
librsvg-2.0 >= $RSVG_REQUIRED
13214
cairo >= $CAIRO_REQUIRED" 2>/dev/null`
13215
test "x$?" != "x0" && pkg_failed=yes
13225
if test $pkg_failed = yes; then
13226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13227
$as_echo "no" >&6; }
13229
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13230
_pkg_short_errors_supported=yes
13232
_pkg_short_errors_supported=no
13234
if test $_pkg_short_errors_supported = yes; then
13235
RSVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
13236
librsvg-2.0 >= $RSVG_REQUIRED
13237
cairo >= $CAIRO_REQUIRED" 2>&1`
13239
RSVG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
13240
librsvg-2.0 >= $RSVG_REQUIRED
13241
cairo >= $CAIRO_REQUIRED" 2>&1`
13243
# Put the nasty error message in config.log where it belongs
13244
echo "$RSVG_PKG_ERRORS" >&5
13246
as_fn_error $? "Package requirements (
13247
librsvg-2.0 >= $RSVG_REQUIRED
13248
cairo >= $CAIRO_REQUIRED) were not met:
13252
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13253
installed software in a non-standard prefix.
13255
Alternatively, you may set the environment variables RSVG_CFLAGS
13256
and RSVG_LIBS to avoid the need to call pkg-config.
13257
See the pkg-config man page for more details." "$LINENO" 5
13258
elif test $pkg_failed = untried; then
13259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13260
$as_echo "no" >&6; }
13261
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13262
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13263
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13264
is in your PATH or set the PKG_CONFIG environment variable to the full
13265
path to pkg-config.
13267
Alternatively, you may set the environment variables RSVG_CFLAGS
13268
and RSVG_LIBS to avoid the need to call pkg-config.
13269
See the pkg-config man page for more details.
13271
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13272
See \`config.log' for more details" "$LINENO" 5; }
13274
RSVG_CFLAGS=$pkg_cv_RSVG_CFLAGS
13275
RSVG_LIBS=$pkg_cv_RSVG_LIBS
13276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13277
$as_echo "yes" >&6; }
13495
# Check for librsvg
13498
if test "$need_rsvg" = "yes"; then
13501
CAIRO_REQUIRED=1.10.0
13503
# Errors out if rsvg is not found
13506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSVG" >&5
13507
$as_echo_n "checking for RSVG... " >&6; }
13509
if test -n "$RSVG_CFLAGS"; then
13510
pkg_cv_RSVG_CFLAGS="$RSVG_CFLAGS"
13511
elif test -n "$PKG_CONFIG"; then
13512
if test -n "$PKG_CONFIG" && \
13513
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13514
librsvg-2.0 >= \$RSVG_REQUIRED
13515
cairo >= \$CAIRO_REQUIRED\""; } >&5
13516
($PKG_CONFIG --exists --print-errors "
13517
librsvg-2.0 >= $RSVG_REQUIRED
13518
cairo >= $CAIRO_REQUIRED") 2>&5
13520
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13521
test $ac_status = 0; }; then
13522
pkg_cv_RSVG_CFLAGS=`$PKG_CONFIG --cflags "
13523
librsvg-2.0 >= $RSVG_REQUIRED
13524
cairo >= $CAIRO_REQUIRED" 2>/dev/null`
13525
test "x$?" != "x0" && pkg_failed=yes
13532
if test -n "$RSVG_LIBS"; then
13533
pkg_cv_RSVG_LIBS="$RSVG_LIBS"
13534
elif test -n "$PKG_CONFIG"; then
13535
if test -n "$PKG_CONFIG" && \
13536
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13537
librsvg-2.0 >= \$RSVG_REQUIRED
13538
cairo >= \$CAIRO_REQUIRED\""; } >&5
13539
($PKG_CONFIG --exists --print-errors "
13540
librsvg-2.0 >= $RSVG_REQUIRED
13541
cairo >= $CAIRO_REQUIRED") 2>&5
13543
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13544
test $ac_status = 0; }; then
13545
pkg_cv_RSVG_LIBS=`$PKG_CONFIG --libs "
13546
librsvg-2.0 >= $RSVG_REQUIRED
13547
cairo >= $CAIRO_REQUIRED" 2>/dev/null`
13548
test "x$?" != "x0" && pkg_failed=yes
13558
if test $pkg_failed = yes; then
13559
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13560
$as_echo "no" >&6; }
13562
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13563
_pkg_short_errors_supported=yes
13565
_pkg_short_errors_supported=no
13567
if test $_pkg_short_errors_supported = yes; then
13568
RSVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
13569
librsvg-2.0 >= $RSVG_REQUIRED
13570
cairo >= $CAIRO_REQUIRED" 2>&1`
13572
RSVG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
13573
librsvg-2.0 >= $RSVG_REQUIRED
13574
cairo >= $CAIRO_REQUIRED" 2>&1`
13576
# Put the nasty error message in config.log where it belongs
13577
echo "$RSVG_PKG_ERRORS" >&5
13579
as_fn_error $? "Package requirements (
13580
librsvg-2.0 >= $RSVG_REQUIRED
13581
cairo >= $CAIRO_REQUIRED) were not met:
13585
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13586
installed software in a non-standard prefix.
13588
Alternatively, you may set the environment variables RSVG_CFLAGS
13589
and RSVG_LIBS to avoid the need to call pkg-config.
13590
See the pkg-config man page for more details." "$LINENO" 5
13591
elif test $pkg_failed = untried; then
13592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13593
$as_echo "no" >&6; }
13594
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13595
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13596
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13597
is in your PATH or set the PKG_CONFIG environment variable to the full
13598
path to pkg-config.
13600
Alternatively, you may set the environment variables RSVG_CFLAGS
13601
and RSVG_LIBS to avoid the need to call pkg-config.
13602
See the pkg-config man page for more details.
13604
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13605
See \`config.log' for more details" "$LINENO" 5; }
13607
RSVG_CFLAGS=$pkg_cv_RSVG_CFLAGS
13608
RSVG_LIBS=$pkg_cv_RSVG_LIBS
13609
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13610
$as_echo "yes" >&6; }
13618
$as_echo "#define HAVE_RSVG 1" >>confdefs.h
13622
if test "$have_rsvg" = "yes"; then
13624
HAVE_RSVG_FALSE='#'
13631
13601
# Check for SQLite
13633
13603
have_sqlite=no