Commit 524b87f7 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files add --enable-tools option as Linphone does

parent fc8d5b93
...@@ -256,6 +256,21 @@ AC_CONFIG_COMMANDS([libtool-hacking], ...@@ -256,6 +256,21 @@ AC_CONFIG_COMMANDS([libtool-hacking],
[mingw_found=$mingw_found] [mingw_found=$mingw_found]
) )
dnl conditionnal build of 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) ;;
AM_CONDITIONAL(BUILD_TOOLS, test x$build_tools != xfalse)
if test "$build_tools" != "false" ; then
AC_DEFINE(BUILD_TOOLS, 1, [Define if tools enabled] )
dnl prefer fixed point computations dnl prefer fixed point computations
AC_ARG_ENABLE(fixed_point, 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