From: Marcel Holtmann Date: Wed, 22 Apr 2009 23:08:52 +0000 (+0100) Subject: Check for inotify header files and library support X-Git-Tag: 0.16~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d03ff3861fe4c04840744c58abc684bedb69712;p=platform%2Fupstream%2Fconnman.git Check for inotify header files and library support --- 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))