Commit 524b87f7 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

configure.ac: add --enable-tools option as Linphone does

parent fc8d5b93
......@@ -256,6 +256,21 @@ AC_CONFIG_COMMANDS([libtool-hacking],
[mingw_found=$mingw_found]
)
dnl conditionnal build of tools.
AC_ARG_ENABLE(tools,
[AS_HELP_STRING([--enable-tools=[yes/no]], [Turn on or off compilation of console interface (default=yes)])],
[case "${enableval}" in
yes) build_tools=true ;;
no) build_tools=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-tools) ;;
esac],
[build_tools=check]
)
AM_CONDITIONAL(BUILD_TOOLS, test x$build_tools != xfalse)
if test "$build_tools" != "false" ; then
build_tools=true
AC_DEFINE(BUILD_TOOLS, 1, [Define if tools enabled] )
fi
dnl prefer fixed point computations
AC_ARG_ENABLE(fixed_point,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment