bug-autoconf
[Top][All Lists]
Advanced

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

accepted by the compiler, rejected by the preprocessor!


From: Peter Grynderup Poulsen
Subject: accepted by the compiler, rejected by the preprocessor!
Date: Thu, 2 Oct 2003 08:16:04 +0200 (MEST)

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





reply via email to

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