This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: autoconf help needed
- From: "Aaron W. LaFramboise" <aaronavay62 at aaronwl dot com>
- To: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 17 Nov 2004 14:04:34 -0600
- Subject: Re: autoconf help needed
- References: <20041117195800.GA52311@troutmask.apl.washington.edu>
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