1449
1445
path overriding pkg-config's built-in search path
1450
1446
GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1451
1447
GLIB_LIBS linker flags for GLIB, overriding pkg-config
1453
C compiler flags for GLIB2_26, overriding pkg-config
1455
linker flags for GLIB2_26, overriding pkg-config
1457
1449
C compiler flags for GECKO, overriding pkg-config
1458
1450
GECKO_LIBS linker flags for GECKO, overriding pkg-config
7277
7269
with_gconf=check
7280
if test "x$with_gconf" != xyes; then :
7283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2_26" >&5
7284
$as_echo_n "checking for GLIB2_26... " >&6; }
7286
if test -n "$GLIB2_26_CFLAGS"; then
7287
pkg_cv_GLIB2_26_CFLAGS="$GLIB2_26_CFLAGS"
7288
elif test -n "$PKG_CONFIG"; then
7289
if test -n "$PKG_CONFIG" && \
7290
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.26.0\""; } >&5
7291
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.26.0") 2>&5
7293
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7294
test $ac_status = 0; }; then
7295
pkg_cv_GLIB2_26_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.26.0" 2>/dev/null`
7302
if test -n "$GLIB2_26_LIBS"; then
7303
pkg_cv_GLIB2_26_LIBS="$GLIB2_26_LIBS"
7304
elif test -n "$PKG_CONFIG"; then
7305
if test -n "$PKG_CONFIG" && \
7306
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.26.0\""; } >&5
7307
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.26.0") 2>&5
7309
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7310
test $ac_status = 0; }; then
7311
pkg_cv_GLIB2_26_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.26.0" 2>/dev/null`
7321
if test $pkg_failed = yes; then
7322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7323
$as_echo "no" >&6; }
7325
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7326
_pkg_short_errors_supported=yes
7328
_pkg_short_errors_supported=no
7330
if test $_pkg_short_errors_supported = yes; then
7331
GLIB2_26_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.26.0" 2>&1`
7333
GLIB2_26_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.26.0" 2>&1`
7335
# Put the nasty error message in config.log where it belongs
7336
echo "$GLIB2_26_PKG_ERRORS" >&5
7338
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using GLIB < 2.26 specific features" >&5
7339
$as_echo "$as_me: Using GLIB < 2.26 specific features" >&6;}
7340
elif test $pkg_failed = untried; then
7341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342
$as_echo "no" >&6; }
7343
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using GLIB < 2.26 specific features" >&5
7344
$as_echo "$as_me: Using GLIB < 2.26 specific features" >&6;}
7346
GLIB2_26_CFLAGS=$pkg_cv_GLIB2_26_CFLAGS
7347
GLIB2_26_LIBS=$pkg_cv_GLIB2_26_LIBS
7348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7349
$as_echo "yes" >&6; }
7350
with_gconf=no with_gsettings=yes with_gio=yes GLIB2_26_DEFINES="-DGLIB2_26_ENABLED"
7351
$as_echo "#define GLIB2_26_ENABLED 1" >>confdefs.h