Check for sys/auxv.h header, always include if present
- We'll need this to access any HWCAP_* bits for platforms that need it, regardless of whether getauxval() is present or not. On glibc systems this is likely to be equivalent, on others dunno (Solaris appears to have sys/auxv.h header as well)
This commit is contained in:
parent
a69d5b5a1b
commit
f8868f11d7
|
@ -411,6 +411,7 @@ AC_CHECK_HEADERS(sys/utsname.h)
|
|||
|
||||
AC_CHECK_HEADERS(sys/systemcfg.h)
|
||||
AC_CHECK_HEADERS(sys/param.h)
|
||||
AC_CHECK_HEADERS(sys/auxv.h)
|
||||
|
||||
dnl statfs portability fiddles.
|
||||
dnl
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#define __power_pc() 0
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GETAUXVAL
|
||||
#ifdef HAVE_SYS_AUXV_H
|
||||
#include <sys/auxv.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue