summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@britannica.bec.de>2007-10-09 23:18:29 -0400
committerAlex Deucher <alex@botch2.(none)>2007-10-09 23:18:29 -0400
commitc9264aa53bf1470ad9104d1e7c4a8ce13c49c270 (patch)
tree822ca0db0d77e453ef5f831e3f7d926b0b30f8e5
parent80eee856938756e1222526b6c39cee8b5252b409 (diff)
Portability fix from netbsd
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5f18d2b..5216eff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,7 +79,7 @@ sdkdir=$(pkg-config --variable=sdkdir xorg-server)
# Checks for header files.
AC_HEADER_STDC
-if test "$DRI" != no; then
+if test "x$DRI" = xauto; then
AC_CHECK_FILE([${sdkdir}/dri.h],
[have_dri_h="yes"], [have_dri_h="no"])
AC_CHECK_FILE([${sdkdir}/sarea.h],