frei0r/configure: use CFLAGS so I can tell the test where to find frei0r.h
[melted] / src / modules / frei0r / configure
index c1cac58..5c46a7d 100755 (executable)
@@ -3,7 +3,7 @@
 if [ "$help" != "1" ]
 then
 
-       echo -e "#include <frei0r.h>\n int main(){ f0r_plugin_info_t test; test.name;return 0;}\n"| gcc -c -o test1 -x c -  >/dev/null 2>&1
+       echo -e "#include <frei0r.h>\n int main(){ f0r_plugin_info_t test; test.name;return 0;}\n"| gcc $CFLAGS -c -o test1 -x c -  >/dev/null 2>&1
 
        if [ "$?" = "1" ]
        then