config: issue an error if DRI3 is requested, but sendfds is not available
When a user issues the --enable-dri3 option and sendfds is not available on the system, the configuration will abort with an error message. Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
7f07b57be5
commit
23f57ac8bf
|
@ -56,6 +56,11 @@ m4_if(xcb_defopt, [auto], [
|
||||||
# This extension has a default value of "auto" and depends on the value of $2
|
# This extension has a default value of "auto" and depends on the value of $2
|
||||||
if test "x$BUILD_[]UP" = "xauto" ; then
|
if test "x$BUILD_[]UP" = "xauto" ; then
|
||||||
BUILD_[]UP=$2
|
BUILD_[]UP=$2
|
||||||
|
fi
|
||||||
|
if test "x$BUILD_[]UP" = "xyes" ; then
|
||||||
|
if test "x$2" = "xno" ; then
|
||||||
|
AC_MSG_ERROR([Extension []UP requested, but dependencies are not met])
|
||||||
|
fi
|
||||||
fi])
|
fi])
|
||||||
|
|
||||||
m4_undefine([xcb_defopt])dnl
|
m4_undefine([xcb_defopt])dnl
|
||||||
|
|
Loading…
Reference in New Issue