autoconf-patches
[Top][All Lists]
Advanced

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

Re: FYI: fix for AC_STRUCT_ST_* examples


From: Akim Demaille
Subject: Re: FYI: fix for AC_STRUCT_ST_* examples
Date: 13 Nov 2000 19:05:17 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

>>>>> "Pavel" == Pavel Roskin <address@hidden> writes:

Pavel> Hello, Akim!
>> ChangeLog: * doc/autoconf.texi (Particular Structures): Fixed
>> examples for AC_STRUCT_ST_BLKSIZE and AC_STRUCT_ST_RDEV.
>> 
>> Well spotted!  But how about adding sys/stat.h to the default
>> includes instead?  I'd favor this.

Pavel> If you mean AC_INCLUDES_DEFAULT, it's not documented and I'll
Pavel> have yet to spend some time figuring out how it's supposed to
Pavel> work and whether it works or not.

# _AC_INIT_DEFAULTS
# -----------------
# Values which defaults can be set from `configure.in'.
m4_define([_AC_INIT_DEFAULTS],
[

######################################## CUT ##############################

# Factoring default headers for most tests.
dnl If ever you change this variable, please keep autoconf.texi in sync.
ac_includes_default="\
#include <stdio.h>
#include <sys/types.h>
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#else
# if HAVE_STRINGS_H
#  include <strings.h>
# endif
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif"
m4_divert_pop()dnl
])# _AC_INIT_DEFAULTS



reply via email to

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