configure: Enable elput if wayland is requested

This makes ./configure --enable-wayland work without having to
specify --enable-elput.
This commit is contained in:
Jean-Philippe Andre 2016-08-25 20:09:23 +09:00
parent e0c1f4a2a7
commit 7b5ec6ce30
1 changed files with 7 additions and 1 deletions

View File

@ -2119,7 +2119,13 @@ AC_ARG_ENABLE([elput],
want_elput="no"
fi
],
[want_elput="no"])
[
if test "x${want_wayland}" = "xyes" ; then
want_elput="yes"
else
want_elput="no"
fi
])
# Drm
AC_ARG_ENABLE([drm],