build: Fix KMS backend summary printout
If have_native_backend is not set, we might end up with: Native (KMS) backend: instead of: Native (KMS) backend: no in the configure summary https://bugzilla.gnome.org/show_bug.cgi?id=769305
This commit is contained in:
parent
740748af3e
commit
97d180ee59
@ -243,6 +243,7 @@ AC_ARG_ENABLE(native-backend,
|
|||||||
AS_HELP_STRING([--disable-native-backend], [disable mutter native (KMS) backend]),,
|
AS_HELP_STRING([--disable-native-backend], [disable mutter native (KMS) backend]),,
|
||||||
enable_native_backend=auto
|
enable_native_backend=auto
|
||||||
)
|
)
|
||||||
|
have_native_backend="no"
|
||||||
AS_IF([test "$enable_native_backend" = "yes"], [have_native_backend=yes],
|
AS_IF([test "$enable_native_backend" = "yes"], [have_native_backend=yes],
|
||||||
[test "$enable_native_backend" = "auto"], PKG_CHECK_EXISTS([$MUTTER_NATIVE_BACKEND_MODULES], [have_native_backend=yes]))
|
[test "$enable_native_backend" = "auto"], PKG_CHECK_EXISTS([$MUTTER_NATIVE_BACKEND_MODULES], [have_native_backend=yes]))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user