Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
bake
Commits
47a0f406
Commit
47a0f406
authored
Jan 13, 2021
by
Philip Carns
Browse files
optional autoconf tests for bedrock
parent
c05b20fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
47a0f406
...
...
@@ -117,6 +117,27 @@ fi
AC_SUBST(USE_REMI)
AC_SUBST(REMI_PKG)
AC_ARG_ENABLE(bedrock,
[AS_HELP_STRING([--enable-bedrock],[Enable bedrock library support @<:@default=no@:>@])],
[case "${enableval}" in
yes) enable_bedrock="yes" ;;
no) enable_bedrock="no" ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-bedrock) ;;
esac],
[enable_bedrock="no"]
)
AM_CONDITIONAL(ENABLE_BEDROCK, test x$enable_bedrock = xyes)
if test "$enable_bedrock" = "yes"; then
PKG_CHECK_MODULES(BEDROCK, bedrock-server)
AC_DEFINE(USE_BEDROCK, 1, [BEDROCK support enabled.])
USE_BEDROCK=1
CPPFLAGS="$BEDROCK_CFLAGS $CPPFLAGS"
CFLAGS="$BEDROCK_CFLAGS $CFLAGS"
else
USE_BEDROCK=0
fi
AC_SUBST(USE_BEDROCK)
AC_ARG_ENABLE(benchmark,
[AS_HELP_STRING([--enable-benchmark],[Build Bake benchmark @<:@default=no@:>@])],
[case "${enableval}" in
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment