[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug
From: |
Akim Demaille |
Subject: |
Re: bug |
Date: |
Wed, 26 Feb 2003 11:22:36 +0100 |
User-agent: |
Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 |
| Hi --
| I downloaded Hari Nair's beta version of xplanet
| (http://xplanet.sourceforge.net/beta/xplanet-021219.tar.gz) and ran into
| the following messages when running the configure script.
|
| checking for unistd.h... yes
| checking X11/extensions/scrnsaver.h usability... no
| checking X11/extensions/scrnsaver.h presence... yes
| configure: WARNING: X11/extensions/scrnsaver.h: present but cannot be
| compiled
| configure: WARNING: X11/extensions/scrnsaver.h: check for missing
| prerequisite headers?
| configure: WARNING: X11/extensions/scrnsaver.h: proceeding with the
| preprocessor's result
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: ## Report this to address@hidden ##
| configure: WARNING: ## ------------------------------------ ##
| checking for X11/extensions/scrnsaver.h... yes
|
| The host system is an x86 running Red Hat 8.0, kernel 2.4.18-18.0. The
| messages were sent when running version 2.53 (included in the RH
| distribution) and 2.57. The rpm for XFree86 is version 4.2.0-72.
| Let me know what other information would be useful and thanks in
| advance.
Please, report this to the package maintainers, as it's a configure.ac
problem. The Autoconf 2.57 doc says:
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 <foo.h>
# endif
])
Thanks!
- BUG, Ulrich Wiederhold, 2003/02/12
- bug, Robert, 2003/02/24
- BUG, engelmann-erfurt, 2003/02/24
- bug, A. I. Sinclair, 2003/02/25
- Re: bug,
Akim Demaille <=