Alter CFLAGS, somehow INCLUDES doesn't propagate properly. Still
[oweals/tinc.git] / m4 / openssl.m4
index 0db5097884c2890481fa37e730a613c00b32600d..782e7e12984e702f28e9722a26e6ff075a80cf50 100644 (file)
@@ -37,7 +37,7 @@ if test "$tinc_cv_openssl_lib" != "none given" ; then
   LIBS="$LIBS -L$tinc_cv_openssl_lib"
 fi
 if test "$tinc_cv_openssl_include" != "none given" ; then
-  INCLUDES="$INCLUDES -I$tinc_cv_openssl_include"
+  CFLAGS="$CFLAGS -I$tinc_cv_openssl_include"
 fi
 
 osi=found