Build: Fix SR_CHECK_COMPILE_FLAGS

Do not put "no" into the flags if the check fails.
This commit is contained in:
Daniel Elstner 2015-08-25 00:17:09 +02:00
parent ba1c29dc22
commit 2d2240bb99
1 changed files with 2 additions and 1 deletions

View File

@ -288,7 +288,8 @@ do
test "x$sr_ccf_result" = xno || break test "x$sr_ccf_result" = xno || break
done done
CPPFLAGS=$sr_ccf_save_CPPFLAGS CPPFLAGS=$sr_ccf_save_CPPFLAGS
SR_APPEND([$1], [$sr_ccf_result]) AS_IF([test "x$sr_ccf_result" != xno],
[SR_APPEND([$1], [$sr_ccf_result])])
AC_MSG_RESULT([$sr_ccf_result]) AC_MSG_RESULT([$sr_ccf_result])
AC_SUBST([$1]) AC_SUBST([$1])
]) ])