After quite a lot of warnings about
"`struct stat' declared inside parameter list",
the build finally aborts with
\
source='../../lib/tmpdir.c' object='tmpdir.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/ksh ../../build-aux/depcomp \
gcc -I. -I../../lib -I/usr/local/include -ggdb -O2 -c
../../lib/tmpdir.c
In file included from ../../lib/tmpdir.c:39:
sys/stat.h:914: warning: `struct stat' declared inside parameter list
sys/stat.h:914: warning: its scope is only this definition or declaration,
which is probably not what you want.
../../lib/tmpdir.c: In function `direxists':
../../lib/tmpdir.c:68: storage size of `buf' isn't known
Regards
Volker Borchert