[Top][All Lists]

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

Re: sys/bitypes.h and AC_CHECK_TYPE

Subject: Re: sys/bitypes.h and AC_CHECK_TYPE
Date: Wed, 10 Nov 2004 13:28:29 +0100
User-agent: Mutt/

On Wed, Nov 10, 2004 at 12:07:32PM +0100, Stepan Kasal wrote:
> On Tue, Nov 09, 2004 at 07:57:32PM +0100, Piotr KUCHARSKI wrote:
> > configure detects sys/bitypes.h, puts HAVE_SYS_BITYPES_H define onto
> > confdefs.h, but when later trying AC_CHECK_TYPE(u_int8_t, unsigned char)
> > sys/bitypes.h is not included in ac_includes_default, so u_int8_t gets
> a quick look into the autoconf manual reveals that AC_CHECK_TYPE can
> take up to four parameters, 

I know, but...

> and you can use the fourth one to add some includes.

...if it was "add", it would be perfect. It is, however, "replace", ie.
either default includes, or whatever is there. I am not even sure, how
am I supposed to put default includes there (I'd rather not reinvent
includes which should be there to check everything).

I still think that autoconf (at least when doing AC_CHECK_TYPE) should use 
#include <sys/bitypes.h>
because some types can be defined there.


Beware of he who would deny you access to information, for in his
heart he dreams himself your master.   -- Commissioner Pravin Lal
http://nerdquiz.sgh.waw.pl/  -- polska wersja quizu dla nerdów ;)

reply via email to

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