Changes in libcfa/configure.ac [81e60f7:3fcbdca1]
- File:
-
- 1 edited
-
libcfa/configure.ac (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/configure.ac
r81e60f7 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 LOCAL_CC1=${DRIVER_DIR}cc150 51 AM_CONDITIONAL([ENABLE_DISTCC], [test x$enable_distcc = xyes])52 53 31 AC_SUBST(CFACC) 54 32 AC_SUBST(CFACPP) 55 AC_SUBST(LOCAL_CFACC)56 AC_SUBST(LOCAL_CC1)57 AC_SUBST(CFADIR_HASH)58 33 AC_SUBST(CFA_VERSION) 59 AC_SUBST(PRELUDEFLAG)60 34 61 35 #==============================================================================
Note:
See TracChangeset
for help on using the changeset viewer.