X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=configure.ac.in;h=80f601e078315f750936cf7715d021ea42a6cc16;hp=501528ff70758e758b542e9f4279bc8fd7d23856;hb=c8be6d76e4d8e4aa39dd89ddf5a33287ca8f7350;hpb=bf40f5fbd759241d1505c985fa02441cd6febd64 diff --git a/configure.ac.in b/configure.ac.in index 501528f..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 @@ -213,6 +218,7 @@ AC_CONFIG_FILES([ lib/Makefile man/Makefile test/Makefile + test/lib/Makefile test/parser/Makefile test/urls/Makefile ui/Makefile