Mesa (master): configure.ac: Enable egl demos when --enable-egl is passed
Kristian Høgsberg
krh at kemper.freedesktop.org
Tue Feb 9 20:56:25 UTC 2010
Module: Mesa
Branch: master
Commit: 1ebc5681545786c247aacec8198a0fccef93b5d8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ebc5681545786c247aacec8198a0fccef93b5d8
Author: Kristian Høgsberg <krh at bitplanet.net>
Date: Tue Feb 9 15:54:59 2010 -0500
configure.ac: Enable egl demos when --enable-egl is passed
---
configure.ac | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index a273a16..27405bb 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])
More information about the mesa-commit
mailing list