autoconf help needed

Aaron W. LaFramboise aaronavay62@aaronwl.com
Wed Nov 17 20:26:00 GMT 2004


Steve Kargl wrote:

> I need to test that struct stat has the 3 members
> st_blksize, st_rdev, and st_blocks.  I know my
> code needs for example

See "Particular Structure Checks" and "Generic Structure Checks" in the
Autoconf manual, availible at
<http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_mono/autoconf.html#SEC56>.
 All you need to do is put the required macros in configure.ac, then
regenerate configure with autoconf and config.h with autoheader.

Hope this helps,

Aaron W. LaFramboise



More information about the Gcc mailing list