From 679be2a74241a70028438217bace423a1a45faa6 Mon Sep 17 00:00:00 2001 From: Cristian Rodríguez Date: Tue, 13 May 2014 19:35:20 -0400 Subject: network: fix build failure, missing KMOD_XXX flags - Add KMOD_CFLAGS and KMOD_LIBS where appropiate - networkd now requires kmod. make --disable-kmod --enable-networkd to raise an error. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 336938ee7f..16b689e253 100644 --- a/configure.ac +++ b/configure.ac @@ -880,6 +880,8 @@ if test "x$enable_networkd" != "xno"; then AC_DEFINE(ENABLE_NETWORKD, 1, [Define if networkd support is to be enabled]) have_networkd=yes fi +AS_IF([test "x$have_networkd" = "xyes" -a "x$have_kmod" != "xyes"], + [AC_MSG_ERROR([networkd requires kmod])]) AM_CONDITIONAL(ENABLE_NETWORKD, [test "x$have_networkd" = "xyes"]) # ------------------------------------------------------------------------------ -- cgit v1.2.3-54-g00ecf