Changes in libcfa/configure.ac [d65f92c:3fcbdca1]
- File:
-
- 1 edited
-
libcfa/configure.ac (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/configure.ac
rd65f92c r3fcbdca1 27 27 AC_ARG_VAR(CFA_VERSION, [The long version of cfa]) 28 28 29 AC_ARG_ENABLE(distcc, 30 [ --enable-distcc whether or not to enable distributed compilation], 31 enable_distcc=$enableval, enable_distcc=no) 32 33 echo -n "checking for distributated build... " 34 if test x$enable_distcc = xno; then 35 CFACC=${DRIVER_DIR}cfa 36 PRELUDEFLAG='-in-tree' 37 echo "no" 38 else 39 tools="$(readlink -m $ac_confdir/)/../tools/build" 40 config=$(basename $(readlink -f .)) 41 echo "$tools/distcc_hash $config" 42 CFADIR_HASH=$($tools/distcc_hash $config) 43 CFACC="distcc ~/.cfadistcc/${CFADIR_HASH}/cfa" 44 PRELUDEFLAG='-dist-tree' 45 echo "yes (hash=${CFADIR_HASH})" 46 fi 29 CFACC=${DRIVER_DIR}cfa 47 30 CFACPP=${DRIVER_DIR}cfa-cpp 48 LOCAL_CFACC=${DRIVER_DIR}cfa49 50 AM_CONDITIONAL([ENABLE_DISTCC], [test x$enable_distcc = xyes])51 52 31 AC_SUBST(CFACC) 53 32 AC_SUBST(CFACPP) 54 AC_SUBST(LOCAL_CFACC)55 AC_SUBST(CFADIR_HASH)56 33 AC_SUBST(CFA_VERSION) 57 AC_SUBST(PRELUDEFLAG)58 34 59 35 #==============================================================================
Note:
See TracChangeset
for help on using the changeset viewer.