roken: test for auxv_t in whichever of auxv.h or sys/auxv.h we find
on solaris it's in sys/auxv.h; so a test for it only in auxv.h isn't enough
This commit is contained in:

committed by
Jeffrey Altman

parent
d82817d279
commit
1da17c2f22
@@ -42,7 +42,6 @@ AC_HAVE_TYPE([ssize_t],[#include <unistd.h>])
|
|||||||
AC_REQUIRE([AC_TYPE_PID_T])
|
AC_REQUIRE([AC_TYPE_PID_T])
|
||||||
AC_REQUIRE([AC_TYPE_UID_T])
|
AC_REQUIRE([AC_TYPE_UID_T])
|
||||||
AC_HAVE_TYPE([long long])
|
AC_HAVE_TYPE([long long])
|
||||||
AC_HAVE_TYPE([auxv_t],[#include <auxv.h>])
|
|
||||||
|
|
||||||
AC_REQUIRE([rk_RETSIGTYPE])
|
AC_REQUIRE([rk_RETSIGTYPE])
|
||||||
|
|
||||||
@@ -51,6 +50,7 @@ AC_REQUIRE([AC_HEADER_STDC])
|
|||||||
AC_REQUIRE([AC_HEADER_TIME])
|
AC_REQUIRE([AC_HEADER_TIME])
|
||||||
|
|
||||||
AC_CHECK_HEADERS([\
|
AC_CHECK_HEADERS([\
|
||||||
|
auxv.h \
|
||||||
arpa/inet.h \
|
arpa/inet.h \
|
||||||
config.h \
|
config.h \
|
||||||
crypt.h \
|
crypt.h \
|
||||||
@@ -97,6 +97,14 @@ AC_CHECK_HEADERS([\
|
|||||||
util.h \
|
util.h \
|
||||||
])
|
])
|
||||||
|
|
||||||
|
AC_HAVE_TYPE([auxv_t],[#ifdef HAVE_AUXV_H
|
||||||
|
#include <auxv.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_AUXV_H
|
||||||
|
#include <sys/auxv.h>
|
||||||
|
#endif
|
||||||
|
])
|
||||||
|
|
||||||
AC_HAVE_TYPE([uintptr_t],[#ifdef HAVE_STDINT_H
|
AC_HAVE_TYPE([uintptr_t],[#ifdef HAVE_STDINT_H
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif])
|
#endif])
|
||||||
|
Reference in New Issue
Block a user