configure: prevent premature HAVE_GLU check
authorKonno, Joe <joe.konno@linux.intel.com>
Wed, 30 Jan 2013 15:38:57 +0000 (07:38 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 8 Feb 2013 02:20:07 +0000 (21:20 -0500)
commit314d988b280b28bdebe12f5dae931e355c7c7ca1
tree17b1e679d229c2b03e222eda6cf538f17b213f4f
parent209e8f177ac9cdc649e9c465571c1c2525e82190
configure: prevent premature HAVE_GLU check

When cairo-gl and mesa-glu are present on the system, autoconf successfully
recognizes both. However, I was wondering why weston-screensaver was not
building since autoconf reported all dependencies were met.

Move the mesa-glu PKG_CHECK before the conditional. Additionally, remove
redundant check for enable_egl, as it is implied when GLU is 'yes.'

Signed-off-by: Joe Konno <joe.konno@intel.com>
configure.ac