summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2015-11-21 13:07:42 -0800
committerEmil Velikov <[email protected]>2015-11-29 17:54:18 +0000
commitcfbb08168a2302b4a0a6124592cb939fb40c4ea4 (patch)
treeaadbf31d2861c9fd1e343f67ec8e883d1655ec1d /configure.ac
parent43b0b8a9a30ed520a9c21805d953a88616bed4eb (diff)
vc4: Just put USE_VC4_SIMULATOR in DEFINES.
In the pipe-loader reworks, it was missed in one of the new directories it was used. Cc: [email protected] Reviewed-by: Emil Velikov <[email protected]> (cherry picked from commit a39eac80fd491abb990b0b77dd5e4adc5b9c53e1)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 91fdfe5f9cb..120c93e7e73 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2173,7 +2173,9 @@ if test -n "$with_gallium_drivers"; then
gallium_require_drm_loader
PKG_CHECK_MODULES([SIMPENROSE], [simpenrose],
- [USE_VC4_SIMULATOR=yes], [USE_VC4_SIMULATOR=no])
+ [USE_VC4_SIMULATOR=yes;
+ DEFINES="$DEFINES -DUSE_VC4_SIMULATOR"],
+ [USE_VC4_SIMULATOR=no])
;;
xvirgl)
HAVE_GALLIUM_VIRGL=yes