After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 125970 - Build problem: autoconf warning
Build problem: autoconf warning
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-11-01 11:52 UTC by Steve Chaplin
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix the reported problem. (733 bytes, patch)
2003-11-01 11:53 UTC, Steve Chaplin
none Details | Review

Description Steve Chaplin 2003-11-01 11:52:34 UTC
running './autogen.sh' (with autoconf 2.56+) on gnome-control-center
from cvs gives the warnings:
 
checking X11/extensions/xf86misc.h usability... no
checking X11/extensions/xf86misc.h presence... yes
configure: WARNING: X11/extensions/xf86misc.h: present but cannot be compiled
configure: WARNING: X11/extensions/xf86misc.h:     check for missing
prerequisite headers?
configure: WARNING: X11/extensions/xf86misc.h: see the Autoconf documentation
configure: WARNING: X11/extensions/xf86misc.h:     section "Present But
Cannot Be Compiled"
configure: WARNING: X11/extensions/xf86misc.h: proceeding with the
preprocessor's result
configure: WARNING: X11/extensions/xf86misc.h: in the future, the compiler
will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
 
 
Unfortunately xf86misc.h is not a self-contained header file - it relies on
 (but does not #include) X11/Xlib.h to define 'Bool'.
 
The warning can be removed by changing the configure.in line:
AC_CHECK_HEADERS(X11/extensions/xf86misc.h, XF86MISC_LIBS="-lXxf86misc")
 
to:
 
AC_CHECK_HEADERS([X11/Xlib.h])
AC_CHECK_HEADERS([X11/extensions/xf86misc.h], [XF86MISC_LIBS="-lXxf86misc"],[],
[#if HAVE_X11_XLIB_H
#include <X11/Xlib.h>
#endif
])
Comment 1 Steve Chaplin 2003-11-01 11:53:30 UTC
Created attachment 21111 [details] [review]
Patch to fix the reported problem.
Comment 2 Jody Goldberg 2003-11-05 17:29:58 UTC
Good idea.  Applied to head, and gnome-2-4