From 1d03ff3861fe4c04840744c58abc684bedb69712 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 23 Apr 2009 00:08:52 +0100 Subject: [PATCH] Check for inotify header files and library support --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index ba28251..daa40c3 100644 --- a/configure.ac +++ b/configure.ac @@ -149,6 +149,12 @@ if (test "${enable_ppp}" = "yes" || test "${enable_novatel}" = "yes" || fi AM_CONDITIONAL(PPPD, test "${enable_ppp}" = "yes") +AC_CHECK_HEADERS(sys/inotify.h, dummy=yes, + AC_MSG_ERROR(inotify header files are required)) + +AC_CHECK_LIB(c, inotify_init, dummy=yes, + AC_MSG_ERROR(inotify library support is required)) + AC_CHECK_LIB(dl, dlopen, dummy=yes, AC_MSG_ERROR(dynamic linking loader is required)) -- 1.7.9.5