Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/configure

    r3fcbdca1 rd65f92c  
    707707CONFIG_CFLAGS
    708708ARCH_FLAGS
     709PRELUDEFLAG
     710CFADIR_HASH
     711LOCAL_CFACC
    709712CFACPP
    710713CFACC
     714ENABLE_DISTCC_FALSE
     715ENABLE_DISTCC_TRUE
    711716CFA_VERSION
    712717DRIVER_DIR
     
    783788enable_option_checking
    784789enable_silent_rules
     790enable_distcc
    785791with_cfa_name
    786792enable_shared
     
    14451451  --enable-silent-rules   less verbose build output (undo: "make V=1")
    14461452  --disable-silent-rules  verbose build output (undo: "make V=0")
     1453  --enable-distcc     whether or not to enable distributed compilation
    14471454  --enable-shared[=PKGS]  build shared libraries [default=yes]
    14481455  --enable-static[=PKGS]  build static libraries [default=yes]
     
    29412948
    29422949
    2943 CFACC=${DRIVER_DIR}cfa
     2950# Check whether --enable-distcc was given.
     2951if test "${enable_distcc+set}" = set; then :
     2952  enableval=$enable_distcc; enable_distcc=$enableval
     2953else
     2954  enable_distcc=no
     2955fi
     2956
     2957
     2958echo -n "checking for distributated build... "
     2959if test x$enable_distcc = xno; then
     2960        CFACC=${DRIVER_DIR}cfa
     2961        PRELUDEFLAG='-in-tree'
     2962        echo "no"
     2963else
     2964        tools="$(readlink -m $ac_confdir/)/../tools/build"
     2965        config=$(basename $(readlink -f .))
     2966        echo "$tools/distcc_hash $config"
     2967        CFADIR_HASH=$($tools/distcc_hash $config)
     2968        CFACC="distcc ~/.cfadistcc/${CFADIR_HASH}/cfa"
     2969        PRELUDEFLAG='-dist-tree'
     2970        echo "yes (hash=${CFADIR_HASH})"
     2971fi
    29442972CFACPP=${DRIVER_DIR}cfa-cpp
     2973LOCAL_CFACC=${DRIVER_DIR}cfa
     2974
     2975 if test x$enable_distcc = xyes; then
     2976  ENABLE_DISTCC_TRUE=
     2977  ENABLE_DISTCC_FALSE='#'
     2978else
     2979  ENABLE_DISTCC_TRUE='#'
     2980  ENABLE_DISTCC_FALSE=
     2981fi
     2982
     2983
     2984
     2985
     2986
    29452987
    29462988
     
    1698217024fi
    1698317025
     17026if test -z "${ENABLE_DISTCC_TRUE}" && test -z "${ENABLE_DISTCC_FALSE}"; then
     17027  as_fn_error $? "conditional \"ENABLE_DISTCC\" was never defined.
     17028Usually this means the macro was only invoked conditionally." "$LINENO" 5
     17029fi
    1698417030if test -z "${BUILDLIB_TRUE}" && test -z "${BUILDLIB_FALSE}"; then
    1698517031  as_fn_error $? "conditional \"BUILDLIB\" was never defined.
Note: See TracChangeset for help on using the changeset viewer.