Update of bug #35135 (project make): Status: None => Not A Bug Open/Closed: Open => Closed
_______________________________________________________ Follow-up Comment #1: This is expected behavior. One of the most important _features_ of define/endef is that newlines are preserved. It's the only way to get newlines into variable values, which is important in conjunction with $(eval ...) among other places. If you want to embed newlines in the define but not have them in the result, you must use backslashes to escape them; this works as expected: define SOME_MACRO = $(if ${SOMETHING} , RESULT1 , RESULT2 ) endef _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?35135> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make