Changeset facc44f for configure


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

    rcf97ccb rfacc44f  
    658658CFA_INCDIR
    659659CFA_PREFIX
     660BUILD_CONCURRENCY_FALSE
     661BUILD_CONCURRENCY_TRUE
    660662BUILD_NO_LIB_FALSE
    661663BUILD_NO_LIB_TRUE
     
    742744enable_target_release
    743745enable_target_debug
     746enable_threading
    744747enable_dependency_tracking
    745748'
     
    13861389  --enable-target-release Build and install the release target
    13871390  --enable-target-debug   Build and install the debug target
     1391  --enable-threading      Build and install libcfa with threading support
     1392                          (Enabled by default)
    13881393  --disable-dependency-tracking  speeds up one-time build
    13891394  --enable-dependency-tracking   do not reject slow dependency extractors
     
    31233128fi
    31243129
     3130# Check whether --enable-threading was given.
     3131if test "${enable_threading+set}" = set; then :
     3132  enableval=$enable_threading; case "${enableval}" in
     3133  yes) build_threading-"yes" ;;
     3134  no)  build_threading="no" ;;
     3135  *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
     3136esac
     3137else
     3138  build_threading="yes"
     3139fi
     3140
    31253141
    31263142case "$enable_target_release" in
     
    31973213  BUILD_NO_LIB_TRUE='#'
    31983214  BUILD_NO_LIB_FALSE=
     3215fi
     3216
     3217 if test "x$build_threading" = "xyes"; then
     3218  BUILD_CONCURRENCY_TRUE=
     3219  BUILD_CONCURRENCY_FALSE='#'
     3220else
     3221  BUILD_CONCURRENCY_TRUE='#'
     3222  BUILD_CONCURRENCY_FALSE=
    31993223fi
    32003224
     
    63186342if test -z "${BUILD_NO_LIB_TRUE}" && test -z "${BUILD_NO_LIB_FALSE}"; then
    63196343  as_fn_error $? "conditional \"BUILD_NO_LIB\" was never defined.
     6344Usually this means the macro was only invoked conditionally." "$LINENO" 5
     6345fi
     6346if test -z "${BUILD_CONCURRENCY_TRUE}" && test -z "${BUILD_CONCURRENCY_FALSE}"; then
     6347  as_fn_error $? "conditional \"BUILD_CONCURRENCY\" was never defined.
    63206348Usually this means the macro was only invoked conditionally." "$LINENO" 5
    63216349fi
Note: See TracChangeset for help on using the changeset viewer.