summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2014-05-13 19:35:20 -0400
committerLennart Poettering <lennart@poettering.net>2014-05-15 18:51:54 +0200
commit679be2a74241a70028438217bace423a1a45faa6 (patch)
tree57d09e51d43f0340622d94fbd373b75e189e2ce9 /configure.ac
parent301f9684e6465df5d0590f6c571fe3229ded966d (diff)
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
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"])
# ------------------------------------------------------------------------------