diff options
author | Max Kellermann <max@duempel.org> | 2009-09-25 18:32:00 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-09-25 18:32:00 +0200 |
commit | 8f261af5c1cfd6f922df009e17756fa3bef71458 (patch) | |
tree | dd5dd4bd6d41d1536e31f32e502e473e40520663 /configure.ac | |
parent | 3e8bdb93844eb21f4a34d4f586e51f869933ebb8 (diff) | |
download | mpd-8f261af5c1cfd6f922df009e17756fa3bef71458.tar.gz mpd-8f261af5c1cfd6f922df009e17756fa3bef71458.tar.xz mpd-8f261af5c1cfd6f922df009e17756fa3bef71458.zip |
automatically update the database with Linux inotify
This patch implements a light-weight inotify library, and watches all
directories below the music directory. It updates all directories
where files changed after a delay of 5 seconds.
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d0d215762..6522060e6 100644 --- a/configure.ac +++ b/configure.ac @@ -118,6 +118,9 @@ AC_CHECK_LIB(m,exp,MPD_LIBS="$MPD_LIBS -lm",) AC_CHECK_HEADERS(locale.h) AC_CHECK_HEADERS(valgrind/memcheck.h) +AC_CHECK_FUNCS(inotify_init) +AM_CONDITIONAL(HAVE_INOTIFY, test x$ac_cv_func_inotify_init = xyes) + dnl dnl mandatory libraries |