discover: Set default language
[petitboot] / configure.ac
index 58aa6cf39017ae73438f901b1addf72ddc1a79e6..b540819fe14d54ca08d62a8829e053f333d6d3d8 100644 (file)
@@ -35,6 +35,8 @@ AM_GNU_GETTEXT([external])
 AM_GNU_GETTEXT_VERSION(0.18.1)
 LT_INIT
 
+AM_SILENT_RULES([yes])
+
 AX_WITH_CURSES
 AX_WITH_CURSES_MENU
 AX_WITH_CURSES_FORM
@@ -51,7 +53,7 @@ if test "x$ax_cv_curses" = xyes; then
 fi
 
 AC_CHECK_LIB([udev], [udev_new],
-       [],
+       [UDEV_LIBS=-ludev],
        [AC_MSG_FAILURE([The libudev development library is required by petitboot.  Try installing the package libudev-dev or libudev-devel.])]
 )
 
@@ -257,7 +259,7 @@ AS_IF(
        ]
 )
  
-
+AC_SUBST([UDEV_LIBS])
 AC_SUBST([LIBTOOL_DEPS])
 AC_SUBST([DESTDIR])
 AC_SUBST([pkgsysconfdir], ["${sysconfdir}/${package}"])
@@ -265,20 +267,6 @@ AC_SUBST([pkgsysconfdir], ["${sysconfdir}/${package}"])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_FILES([
        Makefile
-       discover/Makefile
-       discover/grub2/Makefile
-       lib/Makefile
-       man/Makefile
-       test/Makefile
-       test/lib/Makefile
-       test/parser/Makefile
-       test/urls/Makefile
-       ui/Makefile
-       ui/common/Makefile
-       ui/ncurses/Makefile
-       ui/test/Makefile
-       ui/twin/Makefile
-       utils/Makefile
        po/Makefile.in
 ])