Fixes: edd1608 ("xorg_list: define the xorg_list* symbols") Signed-off-by: Rhys Kidd <rhyskidd@xxxxxxxxx> --- 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 _______________________________________________ Nouveau mailing list Nouveau@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/nouveau