Changeset bbfd0e0 for configure.ac


Ignore:
Timestamp:
Aug 7, 2019, 3:23:56 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
14347ac
Parents:
7e0017f5
Message:

Tentative support for distcc in cforall, right now nothing works because distcc doesn't understand cfa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r7e0017f5 rbbfd0e0  
    5656AC_SUBST([DOendif])
    5757AM_SUBST_NOTMAKE([DOendif])
     58
     59#==============================================================================
     60# distcc support
     61
     62AC_ARG_ENABLE(distcc,
     63        [  --enable-distcc     whether or not to enable distributed compilation],
     64        enable_distcc=$enableval, enable_distcc=no)
     65
     66AM_CONDITIONAL([ENABLE_DISTCC], [test x$enable_distcc = xyes])
     67
     68if test x$enable_distcc = xyes; then
     69        CXX="distcc ${CXX}"
     70        LD="distcc ${LD} -lstdc++"
     71        echo "Enabling distributed builds"
     72fi
     73
     74AC_SUBST(CXX)
     75AC_SUBST(LD)
    5876
    5977#==============================================================================
Note: See TracChangeset for help on using the changeset viewer.