[Olena-patches] [PATCH 12/27] Add an Automake macro OLN_WITH_LIB to factor common code.