[Nouveau] [PATCH xf86-video-nouveau 04/17] config: Rely upon list.h as at least xorg-server 1.8 required

Rhys Kidd rhyskidd at gmail.com
Mon Jan 21 05:52:10 UTC 2019


Fixes: edd1608 ("xorg_list: define the xorg_list* symbols")
Signed-off-by: Rhys Kidd <rhyskidd at gmail.com>
---
 configure.ac | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/configure.ac b/configure.ac
index c80f92d..b2913e8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -124,18 +124,11 @@ AC_CHECK_DECL(xf86CursorResetCursor,
               [#include <xorg-server.h>
                #include <xf86Cursor.h>])
 
-AC_CHECK_HEADERS([list.h],
-                 [have_list_h="yes"], [have_list_h="no"],
-                 [#include <X11/Xdefs.h>
-                  #include "xorg-server.h"])
-
-if test "x$have_list_h" = xyes; then
-    AC_CHECK_DECL(xorg_list_init,
-                  [AC_DEFINE(HAVE_XORG_LIST, 1, [Have xorg_list API])], [],
-                  [#include <X11/Xdefs.h>
-                   #include "xorg-server.h"
-                   #include "list.h"])
-fi
+AC_CHECK_DECL(xorg_list_init,
+              [AC_DEFINE(HAVE_XORG_LIST, 1, [Have xorg_list API])], [],
+              [#include <X11/Xdefs.h>
+               #include "xorg-server.h"
+               #include "list.h"])
 
 AC_CONFIG_FILES([
 	Makefile
-- 
2.19.1



More information about the Nouveau mailing list