From: Peter Grynderup Poulsen Subject: accepted by the compiler, rejected by the preprocessor! To: address@hidden Date: Thu, 2 Oct 2003 08:16:04 +0200 (MEST) X-Sent: 1 hour, 5 minutes, 5 seconds ago I got the following message from autoconf: checking SDL_image.h presence... no configure: WARNING: SDL_image.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: SDL_image.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to address@hidden ## configure: WARNING: ## ------------------------------------ ## checking for SDL_image.h... no configure: error: *** SDL image not found! The following the line from my configure.ac that does the trick: AC_CHECK_HEADER(SDL_image.h,,AC_MSG_ERROR(*** SDL image not found!)) I'm running gcc-2.95.3, autoconf-2.57 and automake-1.7.2 Yours Peter Poulsen