autotools: Fix AC_PATH_PROG call

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Quentin Glidic 2013-08-24 20:36:10 +02:00 committed by Kristian Høgsberg
parent eec6aee490
commit 9f43cb48aa

View file

@ -424,8 +424,10 @@ if test "x$have_lcms" = xyes; then
fi
AM_CONDITIONAL(HAVE_LCMS, [test "x$have_lcms" = xyes])
AC_PATH_PROG([wayland_scanner], [wayland-scanner],
[AC_MSG_ERROR("wayland-scanner is needed to compile weston")])
AC_PATH_PROG([wayland_scanner], [wayland-scanner])
if test x$wayland_scanner = x; then
AC_MSG_ERROR([wayland-scanner is needed to compile weston])
fi
AC_CONFIG_FILES([Makefile
shared/Makefile