diff options
author | Daniel Martin <[email protected]> | 2013-02-28 19:39:06 +0100 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-03-04 10:11:01 -0800 |
commit | 998d975e38db7478781130b42a4fb68d6b181055 (patch) | |
tree | 7213e34e7ee388e135732083d6ab4c71cfb976f1 /configure.ac | |
parent | b1390c7992c457f230cb5a7a64803b194de316e0 (diff) |
Fix build of swrast only without libdrm
Reviewed-by: Matt Turner <[email protected]>
Signed-off-by: Daniel Martin <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 5f95a78d26f..785259554bb 100644 --- a/configure.ac +++ b/configure.ac @@ -1095,7 +1095,7 @@ if test "x$enable_dri" = xyes; then fi # if we are building any dri driver other than swrast or using the dri state tracker ... - if test -n "$DRI_DIRS" -a x"$DRI_DIRS" != xswrast || test "x$enable_dri" = xyes; then + if test -n "$DRI_DIRS" -a x"$DRI_DIRS" != xswrast -a "x$enable_dri" = xyes; then # ... libdrm is required if test "x$have_libdrm" != xyes; then AC_MSG_ERROR([DRI drivers requires libdrm >= $LIBDRM_REQUIRED]) |