From: Nikolaus Rath Date: Thu, 3 Aug 2017 11:44:32 +0000 (+0200) Subject: Produce more helpful message on OS-X and Windows. X-Git-Tag: fuse-3.1.1~16 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=430661d2210b213bfb03b3ee555b88a9e37653e7;p=qemu-gpiodev%2Flibfuse.git Produce more helpful message on OS-X and Windows. Fixes: #186. --- diff --git a/meson.build b/meson.build index 7b12631..0e1eb0a 100644 --- a/meson.build +++ b/meson.build @@ -2,6 +2,16 @@ project('libfuse3', 'c', version: '3.1.0', meson_version: '>= 0.38', default_options: [ 'buildtype=plain' ]) + +platform = host_machine.system() +if platform == 'darwin' + error('libfuse does not support OS-X.\n' + + 'Take a look at http://osxfuse.github.io/ instead') +elif platform == 'cygwin' or platform == 'windows' + error('libfuse does not support Windows.\n' + + 'Take a look at http://www.secfs.net/winfsp/ instead') +endif + # # Feature detection #