5432
echo "$as_me:$LINENO: checking for GLIB" >&5
5433
echo $ECHO_N "checking for GLIB... $ECHO_C" >&6
5435
if test -n "$PKG_CONFIG"; then
5436
if test -n "$GLIB_CFLAGS"; then
5437
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
5439
if test -n "$PKG_CONFIG" && \
5440
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
5441
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
5443
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444
(exit $ac_status); }; then
5445
pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
5453
if test -n "$PKG_CONFIG"; then
5454
if test -n "$GLIB_LIBS"; then
5455
pkg_cv_GLIB_LIBS="$GLIB_LIBS"
5457
if test -n "$PKG_CONFIG" && \
5458
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
5459
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
5461
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462
(exit $ac_status); }; then
5463
pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
5432
echo "$as_me:$LINENO: checking for GLIB_CFLAGS" >&5
5433
echo $ECHO_N "checking for GLIB_CFLAGS... $ECHO_C" >&6
5434
if test "${pkg_cv_GLIB_CFLAGS+set}" = set; then
5435
echo $ECHO_N "(cached) $ECHO_C" >&6
5437
if test "x$ac_cv_env_GLIB_CFLAGS_set" = "xset"; then
5438
pkg_cv_GLIB_CFLAGS=$ac_cv_env_GLIB_CFLAGS_value
5439
elif test -n "$PKG_CONFIG"; then
5440
if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"glib-2.0\" >/dev/null 2>&1") >&5
5441
($PKG_CONFIG --exists "glib-2.0" >/dev/null 2>&1) 2>&5
5443
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444
(exit $ac_status); }; then
5445
pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
5453
echo "$as_me:$LINENO: result: $pkg_cv_GLIB_CFLAGS" >&5
5454
echo "${ECHO_T}$pkg_cv_GLIB_CFLAGS" >&6
5455
echo "$as_me:$LINENO: checking for GLIB_LIBS" >&5
5456
echo $ECHO_N "checking for GLIB_LIBS... $ECHO_C" >&6
5457
if test "${pkg_cv_GLIB_LIBS+set}" = set; then
5458
echo $ECHO_N "(cached) $ECHO_C" >&6
5460
if test "x$ac_cv_env_GLIB_LIBS_set" = "xset"; then
5461
pkg_cv_GLIB_LIBS=$ac_cv_env_GLIB_LIBS_value
5462
elif test -n "$PKG_CONFIG"; then
5463
if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"glib-2.0\" >/dev/null 2>&1") >&5
5464
($PKG_CONFIG --exists "glib-2.0" >/dev/null 2>&1) 2>&5
5466
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467
(exit $ac_status); }; then
5468
pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
5476
echo "$as_me:$LINENO: result: $pkg_cv_GLIB_LIBS" >&5
5477
echo "${ECHO_T}$pkg_cv_GLIB_LIBS" >&6
5474
5479
if test $pkg_failed = yes; then
5476
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5477
_pkg_short_errors_supported=yes
5479
_pkg_short_errors_supported=no
5481
if test $_pkg_short_errors_supported = yes; then
5482
GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"`
5484
GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
5480
GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
5486
5481
# Put the nasty error message in config.log where it belongs
5487
echo "$GLIB_PKG_ERRORS" >&5
5489
{ { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
5493
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5494
installed software in a non-standard prefix.
5496
Alternatively, you may set the environment variables GLIB_CFLAGS
5497
and GLIB_LIBS to avoid the need to call pkg-config.
5498
See the pkg-config man page for more details.
5500
echo "$as_me: error: Package requirements (glib-2.0) were not met:
5504
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5505
installed software in a non-standard prefix.
5507
Alternatively, you may set the environment variables GLIB_CFLAGS
5508
and GLIB_LIBS to avoid the need to call pkg-config.
5509
See the pkg-config man page for more details.
5482
echo "$GLIB_PKG_ERRORS" 1>&5
5484
{ { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met.
5485
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5486
installed software in a non-standard prefix.
5488
Alternatively you may set the GLIB_CFLAGS and GLIB_LIBS environment variables
5489
to avoid the need to call pkg-config. See the pkg-config man page for
5491
echo "$as_me: error: Package requirements (glib-2.0) were not met.
5492
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5493
installed software in a non-standard prefix.
5495
Alternatively you may set the GLIB_CFLAGS and GLIB_LIBS environment variables
5496
to avoid the need to call pkg-config. See the pkg-config man page for
5497
more details." >&2;}
5511
5498
{ (exit 1); exit 1; }; }
5512
5499
elif test $pkg_failed = untried; then
5513
5500
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5514
5501
is in your PATH or set the PKG_CONFIG environment variable to the full
5515
5502
path to pkg-config.
5517
Alternatively, you may set the environment variables GLIB_CFLAGS
5518
and GLIB_LIBS to avoid the need to call pkg-config.
5519
See the pkg-config man page for more details.
5504
Alternatively you may set the GLIB_CFLAGS and GLIB_LIBS environment variables
5505
to avoid the need to call pkg-config. See the pkg-config man page for
5521
5508
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5522
5509
See \`config.log' for more details." >&5
5535
5522
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
5536
5523
GLIB_LIBS=$pkg_cv_GLIB_LIBS
5537
echo "$as_me:$LINENO: result: yes" >&5
5538
echo "${ECHO_T}yes" >&6
5543
echo "$as_me:$LINENO: checking for EVTLOG" >&5
5544
echo $ECHO_N "checking for EVTLOG... $ECHO_C" >&6
5546
if test -n "$PKG_CONFIG"; then
5547
if test -n "$EVTLOG_CFLAGS"; then
5548
pkg_cv_EVTLOG_CFLAGS="$EVTLOG_CFLAGS"
5550
if test -n "$PKG_CONFIG" && \
5551
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"eventlog\"") >&5
5552
($PKG_CONFIG --exists --print-errors "eventlog") 2>&5
5554
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555
(exit $ac_status); }; then
5556
pkg_cv_EVTLOG_CFLAGS=`$PKG_CONFIG --cflags "eventlog" 2>/dev/null`
5564
if test -n "$PKG_CONFIG"; then
5565
if test -n "$EVTLOG_LIBS"; then
5566
pkg_cv_EVTLOG_LIBS="$EVTLOG_LIBS"
5568
if test -n "$PKG_CONFIG" && \
5569
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"eventlog\"") >&5
5570
($PKG_CONFIG --exists --print-errors "eventlog") 2>&5
5572
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573
(exit $ac_status); }; then
5574
pkg_cv_EVTLOG_LIBS=`$PKG_CONFIG --libs "eventlog" 2>/dev/null`
5528
echo "$as_me:$LINENO: checking for EVTLOG_CFLAGS" >&5
5529
echo $ECHO_N "checking for EVTLOG_CFLAGS... $ECHO_C" >&6
5530
if test "${pkg_cv_EVTLOG_CFLAGS+set}" = set; then
5531
echo $ECHO_N "(cached) $ECHO_C" >&6
5533
if test "x$ac_cv_env_EVTLOG_CFLAGS_set" = "xset"; then
5534
pkg_cv_EVTLOG_CFLAGS=$ac_cv_env_EVTLOG_CFLAGS_value
5535
elif test -n "$PKG_CONFIG"; then
5536
if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"eventlog\" >/dev/null 2>&1") >&5
5537
($PKG_CONFIG --exists "eventlog" >/dev/null 2>&1) 2>&5
5539
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540
(exit $ac_status); }; then
5541
pkg_cv_EVTLOG_CFLAGS=`$PKG_CONFIG --cflags "eventlog" 2>/dev/null`
5549
echo "$as_me:$LINENO: result: $pkg_cv_EVTLOG_CFLAGS" >&5
5550
echo "${ECHO_T}$pkg_cv_EVTLOG_CFLAGS" >&6
5551
echo "$as_me:$LINENO: checking for EVTLOG_LIBS" >&5
5552
echo $ECHO_N "checking for EVTLOG_LIBS... $ECHO_C" >&6
5553
if test "${pkg_cv_EVTLOG_LIBS+set}" = set; then
5554
echo $ECHO_N "(cached) $ECHO_C" >&6
5556
if test "x$ac_cv_env_EVTLOG_LIBS_set" = "xset"; then
5557
pkg_cv_EVTLOG_LIBS=$ac_cv_env_EVTLOG_LIBS_value
5558
elif test -n "$PKG_CONFIG"; then
5559
if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"eventlog\" >/dev/null 2>&1") >&5
5560
($PKG_CONFIG --exists "eventlog" >/dev/null 2>&1) 2>&5
5562
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563
(exit $ac_status); }; then
5564
pkg_cv_EVTLOG_LIBS=`$PKG_CONFIG --libs "eventlog" 2>/dev/null`
5572
echo "$as_me:$LINENO: result: $pkg_cv_EVTLOG_LIBS" >&5
5573
echo "${ECHO_T}$pkg_cv_EVTLOG_LIBS" >&6
5585
5575
if test $pkg_failed = yes; then
5587
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5588
_pkg_short_errors_supported=yes
5590
_pkg_short_errors_supported=no
5592
if test $_pkg_short_errors_supported = yes; then
5593
EVTLOG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "eventlog"`
5595
EVTLOG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "eventlog"`
5576
EVTLOG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "eventlog"`
5597
5577
# Put the nasty error message in config.log where it belongs
5598
echo "$EVTLOG_PKG_ERRORS" >&5
5600
{ { echo "$as_me:$LINENO: error: Package requirements (eventlog) were not met:
5604
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5605
installed software in a non-standard prefix.
5607
Alternatively, you may set the environment variables EVTLOG_CFLAGS
5608
and EVTLOG_LIBS to avoid the need to call pkg-config.
5609
See the pkg-config man page for more details.
5611
echo "$as_me: error: Package requirements (eventlog) were not met:
5615
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5616
installed software in a non-standard prefix.
5618
Alternatively, you may set the environment variables EVTLOG_CFLAGS
5619
and EVTLOG_LIBS to avoid the need to call pkg-config.
5620
See the pkg-config man page for more details.
5578
echo "$EVTLOG_PKG_ERRORS" 1>&5
5580
{ { echo "$as_me:$LINENO: error: Package requirements (eventlog) were not met.
5581
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5582
installed software in a non-standard prefix.
5584
Alternatively you may set the EVTLOG_CFLAGS and EVTLOG_LIBS environment variables
5585
to avoid the need to call pkg-config. See the pkg-config man page for
5587
echo "$as_me: error: Package requirements (eventlog) were not met.
5588
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5589
installed software in a non-standard prefix.
5591
Alternatively you may set the EVTLOG_CFLAGS and EVTLOG_LIBS environment variables
5592
to avoid the need to call pkg-config. See the pkg-config man page for
5593
more details." >&2;}
5622
5594
{ (exit 1); exit 1; }; }
5623
5595
elif test $pkg_failed = untried; then
5624
5596
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5625
5597
is in your PATH or set the PKG_CONFIG environment variable to the full
5626
5598
path to pkg-config.
5628
Alternatively, you may set the environment variables EVTLOG_CFLAGS
5629
and EVTLOG_LIBS to avoid the need to call pkg-config.
5630
See the pkg-config man page for more details.
5600
Alternatively you may set the EVTLOG_CFLAGS and EVTLOG_LIBS environment variables
5601
to avoid the need to call pkg-config. See the pkg-config man page for
5632
5604
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5633
5605
See \`config.log' for more details." >&5