| | mo(~/project/tcl/unix)% autoconf
| | configure.in:154: warning: AC_STRUCT_ST_BLKSIZE:
| |         your code should no longer depend upon `HAVE_ST_BLKSIZE', but
| |         `HAVE_STRUCT_STAT_ST_BLKSIZE'.  Remove this AC_WARNING and
| |         the `AC_DEFINE' when you adjust the code.
| | 
| | Here is the bit it seems to be talking about:
| | 
| | #--------------------------------------------------------------------
| | #   Some systems (e.g., IRIX 4.0.5) lack the st_blksize field
| | #   in struct stat.  But we might be able to use fstatfs instead.
| | #--------------------------------------------------------------------
| | AC_STRUCT_ST_BLKSIZE
| | AC_CHECK_FUNC(fstatfs, , [AC_DEFINE(NO_FSTATFS)])
| | 
| | 
| | I am not sure how to fix this, and ideas?
| 
| Run autoupdate, you'll see what autoconf means.

I should have said that it is abnormal that you saw this message: it
was improperly classified as a `syntax' warning, while it is actually
a `obsolete' warning.  There is a patch in the queue which classifies
it properly, hence, unless you -Wobsolete, you won't see it again
(only `syntax' warnings are enabled by default).

        Akim

Reply via email to