Changes in libcfa/configure.ac [3fcbdca1:d65f92c]
- File:
-
- 1 edited
-
libcfa/configure.ac (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/configure.ac
r3fcbdca1 rd65f92c 27 27 AC_ARG_VAR(CFA_VERSION, [The long version of cfa]) 28 28 29 CFACC=${DRIVER_DIR}cfa 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 30 47 CFACPP=${DRIVER_DIR}cfa-cpp 48 LOCAL_CFACC=${DRIVER_DIR}cfa 49 50 AM_CONDITIONAL([ENABLE_DISTCC], [test x$enable_distcc = xyes]) 51 31 52 AC_SUBST(CFACC) 32 53 AC_SUBST(CFACPP) 54 AC_SUBST(LOCAL_CFACC) 55 AC_SUBST(CFADIR_HASH) 33 56 AC_SUBST(CFA_VERSION) 57 AC_SUBST(PRELUDEFLAG) 34 58 35 59 #==============================================================================
Note:
See TracChangeset
for help on using the changeset viewer.