configure.ac: make use of wayland-scanner.pc
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 17 Feb 2015 15:13:32 +0000 (15:13 +0000)
committerBryce Harrington <bryce@osg.samsung.com>
Tue, 24 Feb 2015 02:01:46 +0000 (18:01 -0800)
commit32318a52c05e546d9093c766786ea769655f094a
tree5788226a3cf9e6d1b3704cea521142ad1dc706bb
parent01193aeb12b45c01d5f4ee72628a3fad29353271
configure.ac: make use of wayland-scanner.pc

Currently we use the wayland-scanner executable as found with
AC_PATH_PROG, and then check the presence of wayland-scanner.pc

Currently the latter is unused even if AC_PATH_PROG fails to find the
binary. Rework things to use the pkg-config variable as a fall-back.

Cc: Andrew Oakley <aoakley@espial.com>
Cc: Bill Spitzak <spitzak@gmail.com>
Cc: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Andrew Oakley <aoakley@espial.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Quentin Glidic <sardemff7+wayland@sardemff7.net>
configure.ac