diff --git a/configure b/configure index 1bca95364..6f65b6eae 100755 --- a/configure +++ b/configure @@ -26390,7 +26390,7 @@ CheckInotify() { save_LIBS="$LIBS" case "$host" in - *-*-freebsd*) LIBS="$LIBS -linotify" + *-*-freebsd*|*-*dragonfly*) LIBS="$LIBS -linotify" ;; esac for ac_header in sys/inotify.h @@ -26426,7 +26426,7 @@ fi printf "%s\n" "#define HAVE_INOTIFY 1" >>confdefs.h case "$host" in - *-*-freebsd*) + *-*-freebsd*|*-*-dragonfly*) EXTRA_LDFLAGS="$EXTRA_LDFLAGS -linotify" ;; esac diff --git a/configure.ac b/configure.ac index 93eceee2e..fccb2a33b 100644 --- a/configure.ac +++ b/configure.ac @@ -2837,7 +2837,7 @@ CheckInotify() { save_LIBS="$LIBS" case "$host" in - *-*-freebsd*) LIBS="$LIBS -linotify" + *-*-freebsd*|*-*dragonfly*) LIBS="$LIBS -linotify" ;; esac AC_CHECK_HEADERS(sys/inotify.h, [have_inotify_inotify_h_hdr=yes]) @@ -2846,7 +2846,7 @@ CheckInotify() if test x$have_inotify_inotify_h_hdr = xyes -a x$have_inotify = xyes; then AC_DEFINE(HAVE_INOTIFY, 1, [ ]) case "$host" in - *-*-freebsd*) + *-*-freebsd*|*-*-dragonfly*) EXTRA_LDFLAGS="$EXTRA_LDFLAGS -linotify" ;; esac