Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/configure

    r3fcbdca1 r81e60f7  
    707707CONFIG_CFLAGS
    708708ARCH_FLAGS
     709PRELUDEFLAG
     710CFADIR_HASH
     711LOCAL_CC1
     712LOCAL_CFACC
    709713CFACPP
    710714CFACC
     715ENABLE_DISTCC_FALSE
     716ENABLE_DISTCC_TRUE
    711717CFA_VERSION
    712718DRIVER_DIR
     
    783789enable_option_checking
    784790enable_silent_rules
     791enable_distcc
    785792with_cfa_name
    786793enable_shared
     
    14451452  --enable-silent-rules   less verbose build output (undo: "make V=1")
    14461453  --disable-silent-rules  verbose build output (undo: "make V=0")
     1454  --enable-distcc     whether or not to enable distributed compilation
    14471455  --enable-shared[=PKGS]  build shared libraries [default=yes]
    14481456  --enable-static[=PKGS]  build static libraries [default=yes]
     
    29412949
    29422950
    2943 CFACC=${DRIVER_DIR}cfa
     2951# Check whether --enable-distcc was given.
     2952if test "${enable_distcc+set}" = set; then :
     2953  enableval=$enable_distcc; enable_distcc=$enableval
     2954else
     2955  enable_distcc=no
     2956fi
     2957
     2958
     2959echo -n "checking for distributated build... "
     2960if test x$enable_distcc = xno; then
     2961        CFACC=${DRIVER_DIR}cfa
     2962        PRELUDEFLAG='-in-tree'
     2963        echo "no"
     2964else
     2965        tools="$(readlink -m $ac_confdir/)/../tools/build"
     2966        config=$(basename $(readlink -f .))
     2967        echo "$tools/distcc_hash $config"
     2968        CFADIR_HASH=$($tools/distcc_hash $config)
     2969        CFACC="distcc ~/.cfadistcc/${CFADIR_HASH}/cfa"
     2970        PRELUDEFLAG='-dist-tree'
     2971        echo "yes (hash=${CFADIR_HASH})"
     2972fi
    29442973CFACPP=${DRIVER_DIR}cfa-cpp
     2974LOCAL_CFACC=${DRIVER_DIR}cfa
     2975LOCAL_CC1=${DRIVER_DIR}cc1
     2976
     2977 if test x$enable_distcc = xyes; then
     2978  ENABLE_DISTCC_TRUE=
     2979  ENABLE_DISTCC_FALSE='#'
     2980else
     2981  ENABLE_DISTCC_TRUE='#'
     2982  ENABLE_DISTCC_FALSE=
     2983fi
     2984
     2985
     2986
     2987
     2988
     2989
    29452990
    29462991
     
    1698217027fi
    1698317028
     17029if test -z "${ENABLE_DISTCC_TRUE}" && test -z "${ENABLE_DISTCC_FALSE}"; then
     17030  as_fn_error $? "conditional \"ENABLE_DISTCC\" was never defined.
     17031Usually this means the macro was only invoked conditionally." "$LINENO" 5
     17032fi
    1698417033if test -z "${BUILDLIB_TRUE}" && test -z "${BUILDLIB_FALSE}"; then
    1698517034  as_fn_error $? "conditional \"BUILDLIB\" was never defined.
Note: See TracChangeset for help on using the changeset viewer.