Changeset View
Changeset View
Standalone View
Standalone View
security/sssd/files/patch-src__external__inotify.m4
diff --git src/external/inotify.m4 src/external/inotify.m4 | diff --git src/external/inotify.m4 src/external/inotify.m4 | ||||
index 9572f6d..2a5a8cf 100644 | index 9572f6d..2a5a8cf 100644 | ||||
--- src/external/inotify.m4 | --- src/external/inotify.m4 | ||||
+++ src/external/inotify.m4 | +++ src/external/inotify.m4 | ||||
@@ -20,10 +20,10 @@ int main () { | @@ -18,12 +18,7 @@ int main () { | ||||
SSS_AC_EXPAND_LIB_DIR() | |||||
AS_IF([test x"$inotify_works" != xyes], | AS_IF([test x"$inotify_works" != xyes], | ||||
[AC_CHECK_LIB([inotify], | - [AC_CHECK_LIB([inotify], | ||||
[inotify_init], | - [inotify_init], | ||||
- [INOTIFY_LIBS="$sss_extra_libdir -linotify" | - [INOTIFY_LIBS="$sss_extra_libdir -linotify" | ||||
+ [INOTIFY_LIBS="-L$sss_extra_libdir -linotify" | - inotify_works=yes], | ||||
inotify_works=yes], | - [inotify_works=no], | ||||
[inotify_works=no], | |||||
- [$sss_extra_libdir])] | - [$sss_extra_libdir])] | ||||
+ [-L$sss_extra_libdir])] | + [PKG_CHECK_MODULES(INOTIFY, [libinotify])] | ||||
) | ) | ||||
AS_IF([test x"$inotify_works" = xyes], | AS_IF([test x"$inotify_works" = xyes], |