summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-10-12 18:00:15 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-10-12 18:00:15 -0700
commit9ca9d19206114788da85c81a5aba2525baef80cb (patch)
treec66ba3dbd195708d0150e6418a5d230a617ea0d1 /configure.ac
parent26b3ee9b9fd5a58ef7812ecabebd78bd10d57878 (diff)
downloadxdpyinfo-9ca9d19206114788da85c81a5aba2525baef80cb.tar.gz
xdpyinfo-9ca9d19206114788da85c81a5aba2525baef80cb.tar.bz2
xdpyinfo-9ca9d19206114788da85c81a5aba2525baef80cb.zip
Use Xxf86dga.h & xf86dgaproto.h if present, to avoid warnings from old headers
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0ed78b0..5d4e904 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,7 +69,7 @@ if test "x$USE_DGA" != "xno" ; then
PKG_CHECK_MODULES(DPY_XF86DGA, xxf86dga,
[SAVE_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $DPY_XF86DGA_CFLAGS $DPY_X11_CFLAGS"
- AC_CHECK_HEADERS([X11/extensions/xf86dga.h X11/extensions/xf86dgastr.h],,,
+ AC_CHECK_HEADERS([X11/extensions/Xxf86dga.h X11/extensions/xf86dgaproto.h X11/extensions/xf86dga.h X11/extensions/xf86dgastr.h],,,
[#include <X11/Xlib.h>
#include <X11/Xproto.h>])
CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"])