mergerfs/tools/cppfind

8 lines
174 B
Plaintext
Raw Permalink Normal View History

2015-08-06 13:11:17 -04:00
#!/bin/sh
2014-11-04 13:42:20 -05:00
FUSE_CFLAGS="$(pkg-config --cflags fuse) -DFUSE_USE_VERSION=29"
2014-11-04 13:42:20 -05:00
echo "#include <fuse.h>" | cpp ${FUSE_CFLAGS} | grep "${1}" > /dev/null
2014-11-04 13:42:20 -05:00
[ "$?" != "0" ]; echo $?