Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
AM_CONDITIONAL([COMPAT_FUTEX], [test "x$compat_futex_test" = "x1"])
AM_CONDITIONAL([COMPAT_ARCH], [test "x$SUBARCHTYPE" = "xx86compat"])
+AM_CONDITIONAL([NO_SHARED], [test "x$enable_shared" = "xno"])
# smp-support configure option
AC_ARG_ENABLE([smp-support],
+if NO_SHARED
+# Don't build examples if shared libraries support was explicitly
+# disabled.
+else
SUBDIRS = qsbr-minimal
doc_examplesdir = ${docdir}/examples
BUILD_EXAMPLES_FROM_TREE = 1
export
+endif