autoconf
[Top][All Lists]
Advanced

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

defines


From: Bob Lockie
Subject: defines
Date: Mon, 31 Mar 2003 23:37:34 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030330


If config.h.in is incorrect (created properly by autoheader but the contents deleted) then the configure script works but all the conditional compilation that depends on defines does not work because configure doesn't give any warnings.

For example:
config.h.in created by autoheader contains the proper #undefs but is then is emptied (for some unknown reason).

The configure script creates an empty config.h instead of one containing this:

Conditional compilation that checks if HAVE_X is defined is not compiled. :-(

There is no warning until the program is run.

Is there some macro that I can check that config.h has certain defines or undefs?


--
----------------------------------------
Sent from Mozilla and GNU/Linux.
Powered by an AMD processor.





reply via email to

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