Alter CFLAGS, somehow INCLUDES doesn't propagate properly. Still
authorIvo Timmermans <ivo@lychnis.net>
Fri, 24 Nov 2000 14:12:31 +0000 (14:12 +0000)
committerIvo Timmermans <ivo@lychnis.net>
Fri, 24 Nov 2000 14:12:31 +0000 (14:12 +0000)
doesn't work exactly like it should, but getting there.

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
   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
 fi
 
 osi=found