mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 14:42:06 +00:00
fix handling of --enable-DGA so it works correctly
This commit is contained in:
parent
d2cf5ea07a
commit
eb0cb8c8c8
1 changed files with 2 additions and 2 deletions
|
@ -178,8 +178,8 @@ fi
|
|||
dnl Check for DGA support
|
||||
AC_ARG_ENABLE(DGA,
|
||||
[ --enable-DGA use XFree86 DGA extension, if available],
|
||||
HAS_DGA=$enableval, HAS_DGA=auto)
|
||||
if test "x$HAS_DGA" == xyes; then
|
||||
HAS_DGA=$enable_DGA)
|
||||
if test "x$HAS_DGA" = xyes; then
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$X_CFLAGS $CPPFLAGS"
|
||||
AC_CHECK_HEADER(X11/extensions/xf86dga.h, HAS_DGA=yes, HAS_DGA=no)
|
||||
|
|
Loading…
Reference in a new issue