]> git.ozlabs.org Git - petitboot/blobdiff - configure.ac.in
discover: Remove unused 99-petitboot.rules file
[petitboot] / configure.ac.in
index 501528ff70758e758b542e9f4279bc8fd7d23856..80f601e078315f750936cf7715d021ea42a6cc16 100644 (file)
@@ -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>
@@ -213,6 +218,7 @@ AC_CONFIG_FILES([
        lib/Makefile
        man/Makefile
        test/Makefile
+       test/lib/Makefile
        test/parser/Makefile
        test/urls/Makefile
        ui/Makefile