From d5f8c89527b1be27c268cc3675f012562ff8d825 Mon Sep 17 00:00:00 2001 From: Brice Goglin Date: Thu, 18 Sep 2014 11:29:47 +0200 Subject: [PATCH] hwloc: configure: fix the check for X11/Xutil.h At least some solaris enforce the need to #include X11/Xlib.h first. Thanks to Siegmar Gross for reporting the issue. (cherry picked from commit open-mpi/hwloc@005a7e89b67010952f9d86e905a17b38d18dab7f) Signed-off-by: Jeff Squyres --- opal/mca/hwloc/hwloc191/hwloc/config/hwloc.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/mca/hwloc/hwloc191/hwloc/config/hwloc.m4 b/opal/mca/hwloc/hwloc191/hwloc/config/hwloc.m4 index 4fc2c4784b..2999f35d9a 100644 --- a/opal/mca/hwloc/hwloc191/hwloc/config/hwloc.m4 +++ b/opal/mca/hwloc/hwloc191/hwloc/config/hwloc.m4 @@ -931,7 +931,7 @@ EOF]) [AC_CHECK_HEADERS([X11/keysym.h], [AC_DEFINE([HWLOC_HAVE_X11_KEYSYM], [1], [Define to 1 if X11 headers including Xutil.h and keysym.h are available.])]) AC_SUBST([HWLOC_X11_LIBS], ["-lX11"]) - ]) + ], [], [#include ]) ]) ]) CPPFLAGS=$CPPFLAGS_save