Ecore: i'm dumb... fix warning flag check
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 19 Jun 2012 16:35:18 +0000 (16:35 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 19 Jun 2012 16:35:18 +0000 (16:35 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@72493 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

m4/efl_compiler.m4

index b40d8d2..5f17be4 100644 (file)
@@ -33,7 +33,9 @@ AC_MSG_RESULT([${have_flag}])
 CFLAGS="${CFLAGS_save}"
 AC_LANG_POP([C])
 
-UPEFL[_CFLAGS]="${UPEFL[_CFLAGS]} [$2]"
+if test "x${have_flag}" = "xyes" ; then
+   UPEFL[_CFLAGS]="${UPEFL[_CFLAGS]} [$2]"
+fi
 AC_ARG_VAR(UPEFL[_CFLAGS], [preprocessor flags for $2])
 AC_SUBST(UPEFL[_CFLAGS])