aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorIlya Kulakov <kulakov.ilya@gmail.com>2023-09-22 01:32:29 -0400
committerIlya Kulakov <kulakov.ilya@gmail.com>2023-09-22 01:32:29 -0400
commit27d91be27c1bbfb9b55a7af60aca54c86818c12d (patch)
tree59c1ae733ea860a6cc948ee0a27e010dad7dd96b /configure.ac
parenta964587ee2c8609e3955d1a3e486893c0f6439c1 (diff)
downloadbindfs-27d91be27c1bbfb9b55a7af60aca54c86818c12d.tar.gz
Allow mount to use bindfs with configuration via /etc/fstab.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e8c1a2d..c8f7a52 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,7 +26,7 @@ if test x"$with_core_foundation" == "xyes" ; then
LDFLAGS="${LDFLAGS} -framework CoreFoundation"
fi
-AM_CONDITIONAL(BUILD_OS_IS_DARWIN, [test x"$build_os" = darwin])
+AM_CONDITIONAL([BUILD_OS_IS_DARWIN], [case $build_os in darwin* ) true ;; * ) false ;; esac])
# _XOPEN_SOURCE is >= 500 for pread/pwrite; >= 700 for utimensat.
# __BSD_VISIBLE is for flock() on FreeBSD. It otherwise gets hidden by _XOPEN_SOURCE.