summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac23
1 files changed, 15 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 548695e47b..dbca833f6b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
AC_PREREQ([2.68])
-AC_INIT([eudev],[2.1],[https://github.com/gentoo/eudev/issues])
+AC_INIT([eudev],[2.1.1],[https://github.com/gentoo/eudev/issues])
AC_SUBST(UDEV_VERSION, 217)
AC_CONFIG_SRCDIR([src/udev/udevd.c])
@@ -49,31 +49,38 @@ AC_CHECK_HEADERS(
)
AC_CHECK_HEADERS(
- [linux/btrfs.h mtd/mtd-user.h],
+ [mtd/mtd-user.h],
[],
[AC_MSG_ERROR([*** KERNEL header not found])]
)
+AC_CHECK_HEADERS(
+ [linux/btrfs.h],
+ [],
+ [AC_MSG_WARN([*** KERNEL header not found])]
+)
+
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_UID_T
AC_C_INLINE
AC_TYPE_MODE_T
AC_TYPE_PID_T
AC_CHECK_MEMBERS([struct stat.st_rdev])
-AC_CHECK_DECLS([gettid, name_to_handle_at, accept4, mkostemp], [], [], [[#include <sys/types.h>
+AC_CHECK_DECLS([getrandom, gettid, name_to_handle_at, accept4, mkostemp], [], [], [[#include <sys/types.h>
#include <unistd.h>
#include <sys/mount.h>
#include <fcntl.h>
-#include <sys/socket.h>]])
+#include <sys/socket.h>
+#include <linux/random.h>]])
AC_CHECK_SIZEOF(pid_t)
AC_CHECK_SIZEOF(uid_t)
AC_CHECK_SIZEOF(gid_t)
+AC_CHECK_SIZEOF(dev_t)
AC_CHECK_SIZEOF(time_t)
-AC_CHECK_SIZEOF(rlim_t,,[
- #include <sys/time.h>
- #include <sys/resource.h>
-])
+AC_CHECK_SIZEOF(rlim_t,,[[
+#include <sys/time.h>
+#include <sys/resource.h>]])
# Checks for library functions.
AC_FUNC_CHOWN