|    From: Akim Demaille <[EMAIL PROTECTED]>
|    Date: 15 Mar 2000 09:44:55 +0100
| 
|    Akim> sys/stat.h:  Portable or not?
| 
|    Paul> I think it's portable to all targets of interest to GNU applications.
| 
|    OK, thanks.  Shall we include it in the set of default includes?
| 
| There is a bit of a slippery slope here.  If one includes <sys/stat.h>,
| why not <errno.h> as well?  Or <limits.h> (protected by HAVE_LIMITS_H)?
| I'm not sure what rule is being used for deciding what file is included
| in the default list.

Basically the thumb rule is that it is frequent enough to need this
include in order to AC_CHECK_TYPE or AC_CHECK_DECL, or AC_CHECK_SIZEOF
etc.

|    is there any reason not to use elif?  Lemme bet, not KnR?
| 
| Some C compilers lack #elif.  I don't recall which ones offhand.  Here
| are some relevant ChangeLog entries from GCC.
| 
| Tue May 25 23:03:11 1993  Per Bothner  ([EMAIL PROTECTED])
| 
|         * config.guess:  Fix typo.  Avoid #elif (not in K&R 1).
| 
| Mon Nov 15 13:26:22 1993  Per Bothner  ([EMAIL PROTECTED])
| 
|         * floatconv.c:  Avoid using #elif, which some C compilers lack.

OK, thanks Paul!  Yet something else to add in the documentation.

        Akim

Reply via email to