mergerfs/tools/cppfind

8 lines
143 B
Plaintext
Raw Normal View History

2014-11-05 02:42:20 +08:00
#!/bin/bash
FUSE_CFLAGS=$(pkg-config --cflags fuse)
echo "#include <fuse.h>" | cpp ${FUSE_CFLAGS} | grep -q "${1}"
[ "$?" != "0" ]; echo $?