diff --git a/configure.ac b/configure.ac index e11a7dc96..5fd49d111 100644 --- a/configure.ac +++ b/configure.ac @@ -224,6 +224,21 @@ AS_IF([test "x$enable_notifications" = "xyes"], [AC_SUBST([notify_LIBS],"")]) AC_SUBST([NOTIFICATIONS],$enable_notifications) +dnl +dnl iNotify Support +AC_CANONICAL_HOST +# Conditionally set bsd_inotify_LIBS based on the platform +case "$host_os" in + freebsd*) + bsd_inotify_LIBS="-linotify" + ;; + *) + bsd_inotify_LIBS="" + ;; +esac + +AC_SUBST([bsd_inotify_LIBS]) + dnl dnl Completion support dnl First determine whether completions are requested, pass that to Makefile