[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AC_CHECK_HEADER and kernel header files
From: |
Frank A. Uepping |
Subject: |
AC_CHECK_HEADER and kernel header files |
Date: |
Sat, 2 Aug 2003 13:34:59 +0200 |
I want to check for a kernel header file with AC_CHECK_HEADER.
E.g.:
AC_CHECK_HEADER([cdrom.h],, [AC_MSG_ERROR([cdrom.h not found])])
./configure CPPFLAGS=-I/usr/include/linux
gives me:
checking cdrom.h usability... no
checking cdrom.h presence... yes
configure: WARNING: cdrom.h: present but cannot be compiled
configure: WARNING: cdrom.h: check for missing prerequisite headers?
configure: WARNING: cdrom.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to address@hidden ##
configure: WARNING: ## ------------------------------------ ##
checking for cdrom.h... yes
As you can see cdrom.h is present.
And apparently this is a bug!?
Is there a workaround?
/FAU
- AC_CHECK_HEADER and kernel header files,
Frank A. Uepping <=