2003-06-27 Roland McGrath <roland@redhat.com>
* configure.ac: Check for type `struct __old_kernel_stat'.
* file.c (convertoldstat, printoldstat): Define under
[LINUX && HAVE_STRUCT___OLD_KERNEL_STAT] rather than a list of archs.
(sys_oldstat, sys_oldfstat, sys_oldlstat): Likewise.
* linux/dummy.h [! HAVE_STRUCT___OLD_KERNEL_STAT]
(sys_oldstat, sys_oldfstat, sys_oldlstat): #define to printargs.
diff --git a/configure.ac b/configure.ac
index ac20344..98185d5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -205,6 +205,8 @@
[#include <sys/stream.h>
#include <sys/tihdr.h>])
+AC_CHECK_TYPES([struct __old_kernel_stat],,, [#include <asm/stat.h>])
+
AC_CHECK_DECLS([sys_errlist])
AC_CHECK_DECLS([sys_siglist, _sys_siglist],,, [#include <signal.h>])