diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2020-01-10 15:27:25 +0400 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2020-01-10 12:18:09 +0000 |
| commit | 0dba4897be3a458a419820f4598450907647c864 (patch) | |
| tree | 7d142efddfc5c8dc3b9ec23dc3a07204c42ea74e | |
| parent | 1bbd1511b617eaffc1da22cde33bc01c12fb450f (diff) | |
| download | focaccia-qemu-0dba4897be3a458a419820f4598450907647c864.tar.gz focaccia-qemu-0dba4897be3a458a419820f4598450907647c864.zip | |
configure: check for gdbus-codegen presence
Some distros ship gdbus-codegen separately for gio headers/pc... Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 20200110112725.689401-1-marcandre.lureau@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
| -rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure index 0ce2c0354a..28ee2a254f 100755 --- a/configure +++ b/configure @@ -3702,6 +3702,9 @@ if $pkg_config --atleast-version=$glib_req_ver gio-2.0; then gio_cflags=$($pkg_config --cflags gio-2.0) gio_libs=$($pkg_config --libs gio-2.0) gdbus_codegen=$($pkg_config --variable=gdbus_codegen gio-2.0) + if [ ! -x "$gdbus_codegen" ]; then + gdbus_codegen= + fi else gio=no fi |