Ecore: i'm dumb... fix warning flag check

SVN revision: 72493
This commit is contained in:
Vincent Torri 2012-06-19 16:35:18 +00:00
parent 059ac47170
commit 2b5e064c7f
1 changed files with 3 additions and 1 deletions

View 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])