Changeset facc44f for configure.ac


Ignore:
Timestamp:
Feb 20, 2017, 12:05:40 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
bd9bcc8
Parents:
cf97ccb
Message:

Added option to compile without concurrency using --disable-threading on the configure (will fail concurrency related tests)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    rcf97ccb rfacc44f  
    5757AC_ARG_ENABLE(target-release, AS_HELP_STRING([--enable-target-release], [Build and install the release target]))
    5858AC_ARG_ENABLE(target-debug, AS_HELP_STRING([--enable-target-debug], [Build and install the debug target]))
     59AC_ARG_ENABLE(threading, AS_HELP_STRING([--enable-threading], [Build and install libcfa with threading support (Enabled by default)]),
     60[case "${enableval}" in
     61  yes) build_threading-"yes" ;;
     62  no)  build_threading="no" ;;
     63  *) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]) ;;
     64esac],[build_threading="yes"])
    5965
    6066case "$enable_target_release" in
     
    112118AM_CONDITIONAL([BUILD_DEBUG], [test "x$build_debug" = "xyes"])
    113119AM_CONDITIONAL([BUILD_NO_LIB], [test "x$build_release$build_debug" = "xnono"])
     120AM_CONDITIONAL([BUILD_CONCURRENCY], [test "x$build_threading" = "xyes"])
    114121
    115122if test "x$prefix" = "xNONE"; then
Note: See TracChangeset for help on using the changeset viewer.