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@005a7e89b6) Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Этот коммит содержится в:
родитель
50b035dddb
Коммит
d5f8c89527
@ -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 <X11/Xlib.h>])
|
||||
])
|
||||
])
|
||||
CPPFLAGS=$CPPFLAGS_save
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user