12965
12967
pkg_cv_SERVICE_CFLAGS="$SERVICE_CFLAGS"
12966
12968
elif test -n "$PKG_CONFIG"; then
12967
12969
if test -n "$PKG_CONFIG" && \
12968
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gio-2.0 gio-unix-2.0\""; } >&5
12969
($PKG_CONFIG --exists --print-errors "glib-2.0 gio-2.0 gio-unix-2.0") 2>&5
12970
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0\""; } >&5
12971
($PKG_CONFIG --exists --print-errors "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0") 2>&5
12971
12973
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12972
12974
test $ac_status = 0; }; then
12973
pkg_cv_SERVICE_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gio-2.0 gio-unix-2.0" 2>/dev/null`
12975
pkg_cv_SERVICE_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0" 2>/dev/null`
12974
12976
test "x$?" != "x0" && pkg_failed=yes
12976
12978
pkg_failed=yes
12982
12984
pkg_cv_SERVICE_LIBS="$SERVICE_LIBS"
12983
12985
elif test -n "$PKG_CONFIG"; then
12984
12986
if test -n "$PKG_CONFIG" && \
12985
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gio-2.0 gio-unix-2.0\""; } >&5
12986
($PKG_CONFIG --exists --print-errors "glib-2.0 gio-2.0 gio-unix-2.0") 2>&5
12987
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0\""; } >&5
12988
($PKG_CONFIG --exists --print-errors "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0") 2>&5
12988
12990
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12989
12991
test $ac_status = 0; }; then
12990
pkg_cv_SERVICE_LIBS=`$PKG_CONFIG --libs "glib-2.0 gio-2.0 gio-unix-2.0" 2>/dev/null`
12992
pkg_cv_SERVICE_LIBS=`$PKG_CONFIG --libs "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0" 2>/dev/null`
12991
12993
test "x$?" != "x0" && pkg_failed=yes
12993
12995
pkg_failed=yes
13008
13010
_pkg_short_errors_supported=no
13010
13012
if test $_pkg_short_errors_supported = yes; then
13011
SERVICE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 gio-2.0 gio-unix-2.0" 2>&1`
13013
SERVICE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0" 2>&1`
13013
SERVICE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 gio-2.0 gio-unix-2.0" 2>&1`
13015
SERVICE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0" 2>&1`
13015
13017
# Put the nasty error message in config.log where it belongs
13016
13018
echo "$SERVICE_PKG_ERRORS" >&5
13018
as_fn_error $? "Package requirements (glib-2.0 gio-2.0 gio-unix-2.0) were not met:
13020
as_fn_error $? "Package requirements (glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0) were not met:
13020
13022
$SERVICE_PKG_ERRORS
13054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TEST" >&5
13055
$as_echo_n "checking for TEST... " >&6; }
13057
if test -n "$TEST_CFLAGS"; then
13058
pkg_cv_TEST_CFLAGS="$TEST_CFLAGS"
13059
elif test -n "$PKG_CONFIG"; then
13060
if test -n "$PKG_CONFIG" && \
13061
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbustest-1\""; } >&5
13062
($PKG_CONFIG --exists --print-errors "dbustest-1") 2>&5
13064
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13065
test $ac_status = 0; }; then
13066
pkg_cv_TEST_CFLAGS=`$PKG_CONFIG --cflags "dbustest-1" 2>/dev/null`
13067
test "x$?" != "x0" && pkg_failed=yes
13074
if test -n "$TEST_LIBS"; then
13075
pkg_cv_TEST_LIBS="$TEST_LIBS"
13076
elif test -n "$PKG_CONFIG"; then
13077
if test -n "$PKG_CONFIG" && \
13078
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbustest-1\""; } >&5
13079
($PKG_CONFIG --exists --print-errors "dbustest-1") 2>&5
13081
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13082
test $ac_status = 0; }; then
13083
pkg_cv_TEST_LIBS=`$PKG_CONFIG --libs "dbustest-1" 2>/dev/null`
13084
test "x$?" != "x0" && pkg_failed=yes
13094
if test $pkg_failed = yes; then
13095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13096
$as_echo "no" >&6; }
13098
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13099
_pkg_short_errors_supported=yes
13101
_pkg_short_errors_supported=no
13103
if test $_pkg_short_errors_supported = yes; then
13104
TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbustest-1" 2>&1`
13106
TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbustest-1" 2>&1`
13108
# Put the nasty error message in config.log where it belongs
13109
echo "$TEST_PKG_ERRORS" >&5
13111
as_fn_error $? "Package requirements (dbustest-1) were not met:
13115
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13116
installed software in a non-standard prefix.
13118
Alternatively, you may set the environment variables TEST_CFLAGS
13119
and TEST_LIBS to avoid the need to call pkg-config.
13120
See the pkg-config man page for more details." "$LINENO" 5
13121
elif test $pkg_failed = untried; then
13122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13123
$as_echo "no" >&6; }
13124
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13125
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13126
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13127
is in your PATH or set the PKG_CONFIG environment variable to the full
13128
path to pkg-config.
13130
Alternatively, you may set the environment variables TEST_CFLAGS
13131
and TEST_LIBS to avoid the need to call pkg-config.
13132
See the pkg-config man page for more details.
13134
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13135
See \`config.log' for more details" "$LINENO" 5; }
13137
TEST_CFLAGS=$pkg_cv_TEST_CFLAGS
13138
TEST_LIBS=$pkg_cv_TEST_LIBS
13139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13140
$as_echo "yes" >&6; }
13051
13144
###########################
13052
13145
# Local Install
13053
13146
###########################