Mesa (master): autoconf: st/vega requires --enable-openvg.
Chia-I Wu
olv at kemper.freedesktop.org
Sat Oct 30 06:42:43 UTC 2010
Module: Mesa
Branch: master
Commit: 156e955c25ad4acd78d683c4def83769f0bb3ddb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=156e955c25ad4acd78d683c4def83769f0bb3ddb
Author: Chia-I Wu <olv at lunarg.com>
Date: Sat Oct 30 14:26:01 2010 +0800
autoconf: st/vega requires --enable-openvg.
Make it a warning for now to smooth the transition.
---
configure.ac | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index 860ea21..53f938c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -493,6 +493,16 @@ AC_ARG_ENABLE([openvg],
[enable_openvg="$enableval"],
[enable_openvg=no])
+dnl smooth the transition; should be removed eventually
+if test "x$enable_openvg" = xno; then
+ case "x$with_state_trackers" in
+ x*vega*)
+ AC_MSG_WARN([vega state tracker is enabled without --enable-openvg])
+ enable_openvg=yes
+ ;;
+ esac
+fi
+
if test "x$enable_opengl" = xno -a \
"x$enable_gles1" = xno -a \
"x$enable_gles2" = xno -a \
@@ -1398,6 +1408,11 @@ yes)
PKG_CHECK_MODULES([LIBKMS_XORG], [libkms >= $LIBKMS_XORG_REQUIRED])
HAVE_ST_XORG="yes"
;;
+ vega)
+ if test "x$enable_openvg" != xyes; then
+ AC_MSG_ERROR([cannot build vega state tracker without --enable-openvg])
+ fi
+ ;;
esac
if test -n "$tracker"; then
More information about the mesa-commit
mailing list