@@ -176,11 +176,15 @@ AM_CONDITIONAL([test_example], [test x$test_example = xyes ])
AM_CONDITIONAL([HAVE_DOXYGEN], [test "x${DOXYGEN}" = "xdoxygen"])
AM_CONDITIONAL([user_guide], [test "x${user_guides}" = "xyes" ])
AM_CONDITIONAL([HAVE_MSCGEN], [test "x${MSCGEN}" = "xmscgen"])
-if test x$enable_shared != xyes;
+
+##########################################################################
+# Setup for ABI compatibility
+##########################################################################
+if test x$enable_shared != xno;
then
- _ODP_INLINES="_ODP_INLINES"
-else
_ODP_INLINES="_ODP_NO_INLINES"
+else
+ _ODP_INLINES="_ODP_INLINES"
fi
AC_SUBST(_ODP_INLINES)
Suggested-by Petri Savolainen <petri.savolainen@nokia.com> Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> --- Note that this patch supersedes patch http://patches.opendataplane.org/patch/6967/ Changes for v3: - Correct default to be --enable-abi-compat=yes Changes for v2: - Correct test direction (yes vs. no) configure.ac | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) -- 2.7.4