Sam Lantinga 2022-07-30 16:30:32 -07:00
parent 21100006ad
commit 6926ff3cd8
2 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@ -26390,7 +26390,7 @@ CheckInotify()
{ {
save_LIBS="$LIBS" save_LIBS="$LIBS"
case "$host" in case "$host" in
*-*-freebsd*) LIBS="$LIBS -linotify" *-*-freebsd*|*-*dragonfly*) LIBS="$LIBS -linotify"
;; ;;
esac esac
for ac_header in sys/inotify.h for ac_header in sys/inotify.h
@ -26426,7 +26426,7 @@ fi
printf "%s\n" "#define HAVE_INOTIFY 1" >>confdefs.h printf "%s\n" "#define HAVE_INOTIFY 1" >>confdefs.h
case "$host" in case "$host" in
*-*-freebsd*) *-*-freebsd*|*-*-dragonfly*)
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -linotify" EXTRA_LDFLAGS="$EXTRA_LDFLAGS -linotify"
;; ;;
esac esac

View File

@ -2837,7 +2837,7 @@ CheckInotify()
{ {
save_LIBS="$LIBS" save_LIBS="$LIBS"
case "$host" in case "$host" in
*-*-freebsd*) LIBS="$LIBS -linotify" *-*-freebsd*|*-*dragonfly*) LIBS="$LIBS -linotify"
;; ;;
esac esac
AC_CHECK_HEADERS(sys/inotify.h, [have_inotify_inotify_h_hdr=yes]) 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 if test x$have_inotify_inotify_h_hdr = xyes -a x$have_inotify = xyes; then
AC_DEFINE(HAVE_INOTIFY, 1, [ ]) AC_DEFINE(HAVE_INOTIFY, 1, [ ])
case "$host" in case "$host" in
*-*-freebsd*) *-*-freebsd*|*-*-dragonfly*)
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -linotify" EXTRA_LDFLAGS="$EXTRA_LDFLAGS -linotify"
;; ;;
esac esac