From: Kristian Høgsberg Date: Tue, 9 Feb 2010 20:54:59 +0000 (-0500) Subject: configure.ac: Enable egl demos when --enable-egl is passed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ebc5681545786c247aacec8198a0fccef93b5d8;p=mesa.git configure.ac: Enable egl demos when --enable-egl is passed --- diff --git a/configure.ac b/configure.ac index a273a16c891..27405bbc24c 100644 --- a/configure.ac +++ b/configure.ac @@ -924,6 +924,10 @@ if test "x$enable_egl" = xyes; then EGL_DRIVERS_DIRS="$EGL_DRIVERS_DIRS dri2" fi fi + + if test "$with_demos" = yes; then + PROGRAM_DIRS="$PROGRAM_DIRS egl" + fi fi AC_SUBST([EGL_LIB_DEPS]) AC_SUBST([EGL_DRIVERS_DIRS])