[PATCH weston] configure: prevent premature HAVE_GLU check

Kristian Høgsberg hoegsberg at gmail.com
Thu Feb 7 18:20:25 PST 2013


On Wed, Jan 30, 2013 at 07:38:57AM -0800, Konno, Joe wrote:
> 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 at intel.com>
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks Joe, looks good.

Kristian

> diff --git a/configure.ac b/configure.ac
> index f9075ae..feae582 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -220,10 +220,10 @@ if test x$enable_weston_launch == xyes; then
>    WESTON_LAUNCH_LIBS="$WESTON_LAUNCH_LIBS -lpam"
>  fi
>  
> -AM_CONDITIONAL(HAVE_GLU, test "x$have_glu" = "xyes" -a "$xenable_egl" = "xyes")
>  if test x$enable_egl = xyes; then
>    PKG_CHECK_MODULES(GLU, [glu], [have_glu=yes], [have_glu=no])
>  fi
> +AM_CONDITIONAL(HAVE_GLU, test "x$have_glu" = "xyes")
>  
>  
>  AM_CONDITIONAL(HAVE_POPPLER, test "x$have_poppler" = "xyes")
> -- 
> 1.7.11.7
> 
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list