summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-11-16 20:40:11 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-11-16 20:40:11 -0500
commit9ac9a4d1b701825fd528f9315d2723aea35e8c80 (patch)
tree31bada92881b6f9c706d5c94841a6ce0c06f0a47 /configure.ac
parent40e1789c0ba0f1f902e0dee60441591f0730aad1 (diff)
src/udev/Makefile.am: work towards fixing up udev build
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 999ec08496..9ac08c3bda 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,7 +44,7 @@ fi
# Checks for header files.
AC_CHECK_HEADERS(
- [arpa/inet.h fcntl.h inttypes.h limits.h stddef.h stdint.h stdlib.h string.h \
+ [arpa/inet.h fcntl.h inttypes.h limits.h netinet/in.h stddef.h stdint.h stdlib.h string.h \
sys/ioctl.h sys/mount.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h],
[],
[AC_MSG_ERROR([*** POSIX header not found])]
@@ -54,8 +54,10 @@ AC_CHECK_HEADERS(
AC_HEADER_STDBOOL
AC_TYPE_UID_T
AC_C_INLINE
+AC_TYPE_INT32_T
AC_TYPE_INT64_T
AC_TYPE_MODE_T
+AC_TYPE_OFF_T
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
@@ -64,6 +66,11 @@ AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
AC_TYPE_UINT8_T
+AC_CHECK_DECLS([gettid, pivot_root, name_to_handle_at], [], [], [[#include <sys/types.h>
+#include <unistd.h>
+#include <sys/mount.h>
+#include <fcntl.h>]])
+
# Checks for library functions.
AC_FUNC_ALLOCA