summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-02-06 12:16:52 -0500
committerDavid Thompson <dthompson2@worcester.edu>2022-02-06 12:16:52 -0500
commitab0b722b0719e3370a21359e4d511af9c4f14e60 (patch)
tree5f98f6cb1551b2711d2336ad4317af055c9488fa /configure.ac
parent3e406cbef274ad83c44674a8ee404684eb16bdbe (diff)
Do not compile or load inotify module when inotify is not available.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index bb9550c..2a80cdf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,4 +21,7 @@ AM_CONDITIONAL([HAVE_GUILE_READER], [test "x$have_guile_reader" = "xyes"])
GUILE_MODULE_AVAILABLE([have_guile_commonmark], [(commonmark)])
AM_CONDITIONAL([HAVE_GUILE_COMMONMARK], [test "x$have_guile_commonmark" = "xyes"])
+AC_CHECK_FUNCS(inotify_init)
+AM_CONDITIONAL([HAVE_INOTIFY], [test "x$HAVE_INOTIFY_INIT" = "xyes"])
+
AC_OUTPUT