File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -256,6 +256,21 @@ AC_CONFIG_COMMANDS([libtool-hacking],
256256[ mingw_found=$mingw_found]
257257)
258258
259+ dnl conditionnal build of tools.
260+ AC_ARG_ENABLE ( tools ,
261+ [ AS_HELP_STRING ( [ --enable-tools=[ yes/no] ] , [ Turn on or off compilation of console interface (default=yes)] ) ] ,
262+ [ case "${enableval}" in
263+ yes) build_tools=true ;;
264+ no) build_tools=false ;;
265+ *)AC_MSG_ERROR ( bad value ${enableval} for -- enable-tools ) ;;
266+ esac] ,
267+ [ build_tools=check]
268+ )
269+ AM_CONDITIONAL(BUILD_TOOLS, test x$build_tools != xfalse)
270+ if test "$build_tools" != "false" ; then
271+ build_tools=true
272+ AC_DEFINE ( BUILD_TOOLS , 1 , [ Define if tools enabled] )
273+ fi
259274
260275dnl prefer fixed point computations
261276AC_ARG_ENABLE ( fixed_point ,
You can’t perform that action at this time.
0 commit comments