summaryrefslogtreecommitdiffstats
path: root/configure.ac.in
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2013-04-21 22:20:14 -0700
committerGeoff Levand <geoff@infradead.org>2013-05-03 17:12:08 -0700
commit0c3348684455144089d1da574b1096c95f4b0a80 (patch)
treeb040afe1faef7cd92555965931f26e4f948cf57f /configure.ac.in
parent8e9e2736dd0bb590cd9db300d12838d40cfe619e (diff)
downloadtalos-petitboot-0c3348684455144089d1da574b1096c95f4b0a80.tar.gz
talos-petitboot-0c3348684455144089d1da574b1096c95f4b0a80.zip
discover: Update udev routines to use libudev
Support for 'RUN+="socket:' in udev rules files has been removed in udev version 183. Update the discover server to use libudev. Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'configure.ac.in')
-rw-r--r--configure.ac.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac.in b/configure.ac.in
index 1b66244..80f601e 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -31,6 +31,11 @@ LT_INIT
AC_CHECK_HEADERS([stdarg.h])
AC_CHECK_HEADERS([varargs.h])
+AC_CHECK_LIB([udev], [udev_new],
+ [],
+ [AC_MSG_FAILURE([The libudev development library is required by petitboot. Try installing the libudev-dev package.])]
+)
+
dnl Checking for va_copy availability
AC_MSG_CHECKING([for va_copy])
AC_TRY_LINK([#include <stdarg.h>
OpenPOWER on IntegriCloud