From: Brendan King Date: Tue, 13 Sep 2016 16:31:05 +0000 (+0100) Subject: configure.ac: fix the name of the Wayland Scanner pc file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95f3e5861c3dec5d029ee2f07b8ebce6e2f73af1;p=mesa.git configure.ac: fix the name of the Wayland Scanner pc file The Wayland Scanner pkg-config file is called wayland-scanner.pc. Fixes: 153539bd9d4445b50411 ("configure: rework wayland_scanner handling (fix make distcheck)") Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Eric Engestrom Tested-by: Eric Engestrom Signed-off-by: Brendan King Reviewed-by: Emil Velikov --- diff --git a/configure.ac b/configure.ac index a413a3a5f20..b81171b0ca4 100644 --- a/configure.ac +++ b/configure.ac @@ -2005,8 +2005,8 @@ if test "x$with_egl_platforms" != "x" -a "x$enable_egl" != xyes; then AC_MSG_ERROR([cannot build egl state tracker without EGL library]) fi -PKG_CHECK_MODULES([WAYLAND_SCANNER], [wayland_scanner], - WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland_scanner`, +PKG_CHECK_MODULES([WAYLAND_SCANNER], [wayland-scanner], + WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`, WAYLAND_SCANNER='') if test "x$WAYLAND_SCANNER" = x; then AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner])