INSTALL_ASSERT_H

Zack Weinberg zackw@stanford.edu
Wed May 2 14:47:00 GMT 2001


On Wed, May 02, 2001 at 10:35:57AM -0700, David O'Brien wrote:
> When would one want to use "INSTALL_ASSERT_H ="?
> 
> from t-linux:
>     # Don't install "assert.h" in gcc. We use the one in glibc.
>     INSTALL_ASSERT_H =
> 
> I.e. how does one determine if the base assert.h is OK to use and GCC's
> isn't needed?

If your C library provides an assert.h which is compliant with C89,
you should most definitely put "INSTALL_ASSERT_H =" in your
t-fragment.  I'd like to automate detection of this but I doubt I can
get it into 3.0.

zw



More information about the Gcc mailing list