Changeset 4a60488 for configure.ac
- Timestamp:
- Sep 27, 2019, 3:35:46 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 90ce35aa
- Parents:
- 8e1467d (diff), 849720f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r8e1467d r4a60488 58 58 59 59 #============================================================================== 60 # distcc support 61 62 AC_ARG_ENABLE(distcc, 63 [ --enable-distcc whether or not to enable distributed compilation], 64 enable_distcc=$enableval, enable_distcc=no) 65 66 AM_CONDITIONAL([ENABLE_DISTCC], [test x$enable_distcc = xyes]) 67 HAS_DISTCC="False" 68 69 if test x$enable_distcc = xyes; then 70 CXX="distcc ${CXX}" 71 LD="distcc ${LD} -lstdc++" 72 HAS_DISTCC="True" 73 echo "Enabling distributed builds" 74 fi 75 76 AC_SUBST(CXX) 77 AC_SUBST(LD) 78 AC_SUBST(HAS_DISTCC) 79 80 #============================================================================== 60 81 # Installation paths 61 82 M4CFA_PARSE_PREFIX … … 72 93 DRIVER_DIR=${TOP_BUILDDIR}driver/ 73 94 CFACC=${DRIVER_DIR}cfa 95 CFACC_INSTALL=${CFA_BINDIR}${CFA_NAME} 74 96 CFACPP=${DRIVER_DIR}cfa-cpp 75 97 AC_SUBST(DRIVER_DIR) 76 98 AC_SUBST(CFACC) 99 AC_SUBST(CFACC_INSTALL) 77 100 AC_SUBST(CFACPP) 78 101 … … 133 156 enable_gprofiler=$enableval, enable_gprofiler=yes) 134 157 158 AC_ARG_ENABLE(demangler, 159 [ --enable-demangler whether or not to build the demangler (executable and library)], 160 enable_demangler=$enableval, enable_demangler=yes) 161 135 162 AC_SUBST(TARGET_HOSTS, ${target_hosts}) 136 163 … … 205 232 AM_CONDITIONAL([WITH_LIBTCMALLOC], [test "x$enable_gprofiler" = "xyes" -a "$HAVE_LIBTCMALLOC" -eq 1]) 206 233 234 # conditionnally build the demangler 235 if test "x$enable_demangler" == xyes; then 236 LIBDEMANGLE="libdemangle.a" 237 DEMANGLER="demangler" 238 else 239 LIBDEMANGLE="" 240 DEMANGLER="" 241 fi 242 AC_SUBST([LIBDEMANGLE]) 243 AC_SUBST([DEMANGLER]) 244 207 245 # Checks for header files. 208 246 AC_CHECK_HEADERS([libintl.h malloc.h unistd.h], [], [echo "Error: Missing required header"; exit 1])
Note: See TracChangeset
for help on using the changeset viewer.