diff options
| author | Michael Lauer <mickey@vanille-media.de> | 2008-09-14 23:05:28 +0000 |
|---|---|---|
| committer | Michael Lauer <mickey@vanille-media.de> | 2008-09-14 23:05:28 +0000 |
| commit | 553cb265aeec877b03a2eeddb9740196e5a4e05c (patch) | |
| tree | dfb1fa7296e7fc8dcfd1c231938ea772b0c3fe27 /packages/mediatomb/files/inotify.diff | |
| parent | f08288008c2468351c3e3a5d8c3f7177f1cb408b (diff) | |
| parent | 60d19c2a86d4535f10a33a35cedd9c381fb6f592 (diff) | |
merge of 'f8ad7a4bfb118867c5a5867eb5c4c2c2c74f8330'
and 'f9d110b5aa39df7718381524083e62d3f8f7a5f0'
Diffstat (limited to 'packages/mediatomb/files/inotify.diff')
| -rw-r--r-- | packages/mediatomb/files/inotify.diff | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/packages/mediatomb/files/inotify.diff b/packages/mediatomb/files/inotify.diff new file mode 100644 index 0000000000..8c14fc99cc --- /dev/null +++ b/packages/mediatomb/files/inotify.diff @@ -0,0 +1,45 @@ +--- /tmp/configure.ac 2008-09-14 20:31:20.000000000 +0200 ++++ mediatomb-0.11.0/configure.ac 2008-09-14 20:32:23.043198000 +0200 +@@ -2888,41 +2888,7 @@ + fi + fi + +-if test "x$INOTIFY_EN" != xno; then +-dnl The check below was inspired by configure.ac from the inotify tools +-dnl package, see the "Acknowledgements" section in our README file for more +-dnl information. +- CXXFLAGS="$CXXFLAGS $INOTIFY_CXXFLAGS" +- AC_MSG_CHECKING([whether sys/inotify.h works]) +- AC_RUN_IFELSE( +- AC_LANG_PROGRAM([[#include <sys/inotify.h>]], +- [[return (-1 == inotify_init());]] +- ), +- [ +- AC_MSG_RESULT([yes]); +- AC_DEFINE([SYS_INOTIFY_H_OK],[1],[sys/inotify.h exists and works on this system])], +- [ +- AC_MSG_RESULT([no, using own inotify headers]) +- AC_MSG_CHECKING([whether inotify-nosys.h works on this system]) +- AC_RUN_IFELSE( +- AC_LANG_PROGRAM([[#include "src/inotify-nosys.h"]], +- [[return (-1 == inotify_init());]] +- ), +- [ +- AC_MSG_RESULT([yes]); +- INOTIFY_OK=yes +- ], +- [ +- if test "x$INOTIFY_EN" != xyes; then +- AC_MSG_RESULT([no, disabling inotify support]) +- else +- AC_MSG_RESULT([no]) +- fi +- INOTIFY_OK=missing +- ]) +- +- ]) +-fi ++INOTIFY_OK=yes + + if test "x$INOTIFY_OK" = xyes; then + AC_DEFINE([HAVE_INOTIFY], [1], [inotify presence]) |
