bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: report


From: Akim Demaille
Subject: Re: report
Date: Thu, 27 Feb 2003 15:47:15 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2

 Hi there ...
 I am trying to compile geleon 1.2.8 on my SuSE Linux 8.1 box.
 While running configure I got the following lines:
 
   checking X11/extensions/Xinerama.h usability... no
   checking X11/extensions/Xinerama.h presence... yes
   configure: WARNING: X11/extensions/Xinerama.h: present but cannot be compiled
   configure: WARNING: X11/extensions/Xinerama.h: check for missing 
prerequisite headers?
   configure: WARNING: X11/extensions/Xinerama.h: proceeding with the 
preprocessor's result
   configure: WARNING:     ## ------------------------------------ ##
   configure: WARNING:     ## Report this to address@hidden ##
   configure: WARNING:     ## ------------------------------------ ##
   checking for X11/extensions/Xinerama.h... yes
 
 Xinerama.h itself does not include other headers. :-(
 
 How can I help you?
 Thomas
 
 

Hi,

You can help by reporting this failure to the Galeon maintainers.
With the following piece of Autoconf documentation.  Thanks!

 
>       Previous versions of Autoconf merely checked whether the header was
>    accepted by the preprocessor.  This was changed because the old test was
>    inappropriate for typical uses.  Headers are typically used to compile,
>    not merely to preprocess, and the old behavior sometimes accepted
>    headers that clashed at compile-time.  If you need to check whether a
>    header is preprocessable, you can use `AC_PREPROC_IFELSE' (*note
>    Running the Preprocessor::).
>    
>       This scheme, which improves the robustness of the test, also requires
>    that you make sure that headers that must be included before the
>    HEADER-FILE be part of the INCLUDES, (*note Default Includes::).  If
>    looking for `bar.h', which requires that `foo.h' be included before if
>    it exists, we suggest the following scheme:
>    
>    
>    AC_CHECK_HEADERS([foo.h])
>    AC_CHECK_HEADERS([bar.h], [], [],
>    [#if HAVE_FOO_H
>    # include 
>    # endif
>    ])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]