mergerfs/tools/cppfind
2016-10-31 09:39:10 -04:00

8 lines
174 B
Bash
Executable File

#!/bin/sh
FUSE_CFLAGS="$(pkg-config --cflags fuse) -DFUSE_USE_VERSION=29"
echo "#include <fuse.h>" | cpp ${FUSE_CFLAGS} | grep "${1}" > /dev/null
[ "$?" != "0" ]; echo $?