aboutsummaryrefslogtreecommitdiff
path: root/mesalib/configure.ac
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-11-28 08:33:39 +0100
committermarha <marha@users.sourceforge.net>2011-11-28 08:33:39 +0100
commit7417e9a171736b5279881cd4381fb58c617a23d9 (patch)
treef5eefdba22232ed7549497c96e70f09ccf558988 /mesalib/configure.ac
parenta0b4a1330be6a36ad095222d2ea83927cd33514d (diff)
downloadvcxsrv-7417e9a171736b5279881cd4381fb58c617a23d9.tar.gz
vcxsrv-7417e9a171736b5279881cd4381fb58c617a23d9.tar.bz2
vcxsrv-7417e9a171736b5279881cd4381fb58c617a23d9.zip
mesa git update 28 nov 2011
Diffstat (limited to 'mesalib/configure.ac')
-rw-r--r--mesalib/configure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/mesalib/configure.ac b/mesalib/configure.ac
index 8885a6d74..febb9f680 100644
--- a/mesalib/configure.ac
+++ b/mesalib/configure.ac
@@ -1469,8 +1469,20 @@ dnl
dnl XA configuration
dnl
if test "x$enable_xa" = xyes; then
+AC_PROG_AWK
+AC_PROG_GREP
+AC_CHECK_PROG(NM, nm, "nm")
+if test "x$AWK" = x || test "x$GREP" = x || test "x$NM" = x; then
+AC_MSG_WARN([Missing one of nm, grep or awk. Disabling xa.])
+enable_xa=no
+fi
+fi
+if test "x$enable_xa" = xyes; then
GALLIUM_STATE_TRACKERS_DIRS="xa $GALLIUM_STATE_TRACKERS_DIRS"
HAVE_ST_XA=yes
+ AC_SUBST(AWK)
+ AC_SUBST(GREP)
+ AC_SUBST(NM)
fi
dnl