diff options
author | Matt Turner <[email protected]> | 2012-01-14 21:57:32 -0500 |
---|---|---|
committer | Matt Turner <[email protected]> | 2012-01-20 15:54:08 -0500 |
commit | 3c87dfce403ad3c2fed7998b16bea34dcb0c9fde (patch) | |
tree | 116233e49e5b73e3e44fd0844be8626a1eef2b74 /configure.ac | |
parent | c60dcc49e443eb1442b8f191e63078f2558eec31 (diff) |
automake: src/mesa/drivers/dri/i915
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 009a8c08313..a0ea317cb36 100644 --- a/configure.ac +++ b/configure.ac @@ -1257,15 +1257,21 @@ case $DRI_DIRS in *i915*|*i965*) PKG_CHECK_MODULES([INTEL], [libdrm_intel >= $LIBDRM_INTEL_REQUIRED]) - case $DRI_DIRS in - *i965*) - HAVE_I965_DRI=yes; - ;; - esac + for d in $(echo $DRI_DIRS | sed 's/,/ /g'); do + case $d in + i915) + HAVE_I915_DRI=yes; + ;; + i965) + HAVE_I965_DRI=yes; + ;; + esac + done ;; esac +AM_CONDITIONAL(HAVE_I915_DRI, test x$HAVE_I915_DRI = xyes) AM_CONDITIONAL(HAVE_I965_DRI, test x$HAVE_I965_DRI = xyes) case $DRI_DIRS in @@ -1904,6 +1910,7 @@ CXXFLAGS="$CXXFLAGS $USER_CXXFLAGS" dnl Substitute the config AC_CONFIG_FILES([configs/autoconf + src/mesa/drivers/dri/i915/Makefile src/mesa/drivers/dri/i965/Makefile tests/Makefile tests/glx/Makefile]) |