summaryrefslogtreecommitdiffstats
path: root/configure.ac.in
diff options
context:
space:
mode:
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