1#! /bin/sh
2
3if [ "$help" != "1" ]
4then
5
6	echo "#include <frei0r.h> int main(){ f0r_plugin_info_t test; test.name;return 0;}"| $CC $(pkg-config --cflags frei0r) $CFLAGS -c -x c -  >/dev/null 2>&1
7
8	if [ "$?" = "1" ]
9	then
10		touch ../disable-frei0r
11		echo "- frei0r plugin disabled. Install frei0r-plugins and make sure frei0r.h is available."
12	fi
13
14fi
15