Browse Source

[build] augment configure.ac msgs to remove FAM (#3068)

augment configure.ac msgs to remove FAM on linux and *bsd

x-ref:
  "stat-cache-fam feature appears disabled since 1.4.56"
  https://redmine.lighttpd.net/issues/3068
master
Glenn Strauss 3 months ago
parent
commit
28fc51c747
  1. 30
      configure.ac

30
configure.ac

@ -1064,7 +1064,13 @@ AC_ARG_WITH([fam],
)
AC_MSG_RESULT([$WITH_FAM])
if test "$HAVE_SYS_NOTIFY_H" != no; then
dnl "$ac_cv_func_kqueue" is set further below
case "$host_os" in
*bsd*|*darwin* ) WITH_FAM=no ;;
* ) ;;
esac
if test "$ac_cv_header_sys_inotify_h" != no; then
WITH_FAM=no
fi
@ -1801,8 +1807,30 @@ lighty_track_feature "network-ipv6" "" \
lighty_track_feature "large-files" "" \
'test "$ENABLE_LFS" = yes'
case "$host_os" in
*linux* )
lighty_track_feature "stat-cache-inotify" "" \
'test "$ac_cv_header_sys_inotify_h" != no'
;;
* ) ;;
esac
case "$host_os" in
*bsd*|*darwin* )
lighty_track_feature "stat-cache-kqueue" "" \
'test "$ac_cv_func_kqueue" != no'
;;
* ) ;;
esac
case "$host_os" in
*bsd*|*darwin*|*linux* )
;;
* )
lighty_track_feature "stat-cache-fam" "" \
'test "$WITH_FAM" != no'
;;
esac
lighty_track_feature "webdav-properties" "" \
'test "$WITH_WEBDAV_PROPS" != no'

Loading…
Cancel
Save