configure.ac: Respect 'with_fuse' user setting on non-Linux/Solaris.
Previously the configure script simply disregarded the value of the 'with_fuse' flag on non-Linux/Solaris systems. This is not unreasonable since the 'internal' option doesn't work on those systems, however in some situations we want to specify the libfuse CFLAGS/LDFLAGS manually and bypass the pkg-config check with '--with-fuse=none' and this was not possible with this logic. So add a special test to bypass the automatic determination when the user has specified a 'with_fuse' value.pull/2/head
parent
da1b61ec22
commit
bcd42e5ef3
|
@ -226,7 +226,9 @@ case "${target}" in
|
|||
;;
|
||||
esac
|
||||
|
||||
if test "x${enable_ntfs_3g}" = "xyes"; then
|
||||
if test "x${enable_ntfs_3g}" != "xyes"; then
|
||||
with_fuse="none"
|
||||
elif test "x${with_fuse}" == "x"; then
|
||||
AC_MSG_CHECKING([fuse compatibility])
|
||||
case "${target_os}" in
|
||||
linux*|solaris*)
|
||||
|
@ -248,8 +250,6 @@ if test "x${enable_ntfs_3g}" = "xyes"; then
|
|||
;;
|
||||
esac
|
||||
AC_MSG_RESULT([${with_fuse}])
|
||||
else
|
||||
with_fuse="none"
|
||||
fi
|
||||
|
||||
case "${target_os}" in
|
||||
|
|
Loading…
Reference in New Issue