From 0834c029a4bb2bf9d436aa4f12af29e53f29e246 Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Fri, 6 May 2011 14:52:41 +0100 Subject: [PATCH] multibuf MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix detection of multibuf.h by the configure script Without this patch, configure prints: checking X11/extensions/multibuf.h usability... no configure: WARNING: X11/extensions/multibuf.h: present but cannot be compiled checking X11/extensions/multibuf.h presence... yes configure: WARNING: X11/extensions/multibuf.h: check for missing prerequisite headers? configure: WARNING: X11/extensions/multibuf.h: see the Autoconf documentation configure: WARNING: X11/extensions/multibuf.h: section "Present But Cannot Be Compiled" configure: WARNING: X11/extensions/multibuf.h: proceeding with the compiler's result checking for X11/extensions/multibuf.h... no Based on a patch by Dan Horák. Gbp-Pq: Name multibuf.patch --- ros/configure.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ros/configure.in b/ros/configure.in index fce63ecc5..d69152b3d 100644 --- a/ros/configure.in +++ b/ros/configure.in @@ -54,9 +54,7 @@ AC_CHECK_HEADERS(stream.h strstream.h istream.h ostream.h fstream.h stdlib.h ios AC_CHECK_HEADERS(iomanip.h limits.h values.h float.h) AC_CHECK_HEADERS(siginfo.h bits/sigset.h bstring.h sys/types.h sys/select.h) AC_CHECK_HEADERS(X11/extensions/transovl.h X11/extensions/readdisplay.h) -AC_CHECK_HEADERS(X11/extensions/multibuf.h) -AC_CHECK_HEADERS(sys/filio.h sys/mman.h libc.h) -AC_CHECK_HEADERS(X11/extensions/multibuf.h) +AC_CHECK_HEADERS([X11/Xlib.h X11/extensions/multibuf.h], [], [], [#include ]) AC_CHECK_HEADERS(sys/filio.h sys/mman.h libc.h) #----------------------------------------------------------------------------- -- 2.30.2