From: Debian Science Maintainers Date: Fri, 6 May 2011 13:52:41 +0000 (+0100) Subject: multibuf X-Git-Tag: archive/raspbian/7.3.0+dfsg1-4+rpi1~1^2^2~14 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0834c029a4bb2bf9d436aa4f12af29e53f29e246;p=opencascade.git multibuf 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 --- 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) #-----------------------------------------------------------------------------