[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to check type size
From: |
Andrew Makhorin |
Subject: |
Re: how to check type size |
Date: |
Sun, 4 Feb 2007 19:34:08 +0300 |
>> I need to check the size of some generic types, and if the size is
>> unexpected, the configure script must raise a "configuration error".
>
> See AC_CHECK_SIZEOF.
Thank you for your response.
However, AC_CHECK_SIZEOF does *not* that I need. It defines certain
macros to be used later during compilation while I want the configure
script just to raise an error if some types have unexpected sizes,
for example, if 'int' is not of 4 bytes long.
Andrew Makhorin