2002-12-15 Roland McGrath <roland@redhat.com>

* aclocal.m4 (AC_STAT64): Include <linux/types.h> before <asm/stat.h>
	in test.  Test our own #ifdef LINUX rather than predefined `linux'.
This commit is contained in:
Roland McGrath 2002-12-16 09:53:38 +00:00
parent 36d87c2ffa
commit e7bc4be67e

3
aclocal.m4 vendored
View File

@ -310,7 +310,8 @@ dnl ### A macro to determine whether stat64 is defined.
AC_DEFUN(AC_STAT64,
[AC_MSG_CHECKING(for stat64 in (asm|sys)/stat.h)
AC_CACHE_VAL(ac_cv_type_stat64,
[AC_TRY_COMPILE([#ifdef linux
[AC_TRY_COMPILE([#ifdef LINUX
#include <linux/types.h>
#include <asm/stat.h>
#else
#include <sys/stat.h>