22993389.patch revision 1631
1631N/Adiff --git a/configure.ac b/configure.ac
1631N/Aindex b770c88..94abea4 100644
1631N/A--- a/configure.ac
1631N/A+++ b/configure.ac
1631N/A@@ -1,3 +1,6 @@
1631N/A+#
1631N/A+# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
1631N/A+#
1631N/A # Copyright 2005 Adam Jackson.
1631N/A #
1631N/A # Permission is hereby granted, free of charge, to any person obtaining a
1631N/A@@ -156,7 +159,8 @@ if test "x$EXA" = xyes; then
1631N/A SAVE_CPPFLAGS="$CPPFLAGS"
1631N/A CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
1631N/A AC_CHECK_HEADER(exa.h,
1631N/A- [have_exa_h="yes"], [have_exa_h="no"])
1631N/A+ [have_exa_h="yes"], [have_exa_h="no"],
1631N/A+ [#include "xorg-server.h"])
1631N/A CPPFLAGS="$SAVE_CPPFLAGS"
1631N/A else
1631N/A AC_MSG_RESULT(no)
1631N/A@@ -167,6 +171,7 @@ CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
1631N/A if test "x$have_exa_h" = xyes; then
1631N/A AC_MSG_CHECKING([whether EXA version is at least 2.0.0])
1631N/A AC_PREPROC_IFELSE([AC_LANG_PROGRAM([[
1631N/A+#include "xorg-server.h"
1631N/A #include "exa.h"
1631N/A #if EXA_VERSION_MAJOR < 2
1631N/A #error OLD EXA!