mergerfs/tools/cppfind
2016-09-14 08:36:06 -04:00

8 lines
165 B
Bash
Executable File

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