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:
parent
36d87c2ffa
commit
e7bc4be67e
3
aclocal.m4
vendored
3
aclocal.m4
vendored
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user