mergerfs/tools/cppfind
2015-08-07 21:03:39 -04:00

8 lines
141 B
Bash
Executable File

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