Suggested-by Petri Savolainen <[email protected]>
Signed-off-by: Bill Fischofer <[email protected]>
---
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(-)
diff --git a/configure.ac b/configure.ac
index 982aff7..983b221 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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)
--
2.7.4