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