- Timestamp:
- Mar 8, 2017, 3:22:50 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 031a2c95, 0e7ea335
- Parents:
- 87c3bef (diff), 6363ad1 (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
r87c3bef rbe8bd88 668 668 CFA_BACKEND_CC 669 669 BACKEND_CC 670 CFA_NAME 670 671 MAINT 671 672 MAINTAINER_MODE_FALSE … … 741 742 enable_silent_rules 742 743 enable_maintainer_mode 744 with_cfa_name 743 745 with_backend_compiler 744 746 enable_target_release … … 1397 1399 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1398 1400 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1401 --with-cfa-name=NAME NAME too which cfa will be installed 1399 1402 --with-backend-compiler=PROGRAM PROGRAM that performs the final code compilation (must be gcc-compatible) 1400 1403 … … 3001 3004 # may require auto* software to be installed 3002 3005 3006 # Allow program name tansformation 3007 # will fille program_transform_name with appropriate sed regex 3008 3009 #autoconf escapes $ and \ since automake wiill un-escape them. 3010 #Since we need to use the sed transform in autoconf we need to manualy un-escape these characters 3011 name_transform=`echo ${program_transform_name} | sed 's/\\$\\$/\\$/g' | sed 's/\\\\\\\/\\\/g'` 3012 cfa_name=`echo cfa | sed ${name_transform}` 3013 cc1_name=`echo cc1 | sed ${name_transform}` 3014 cpp_name=`echo cfa-cpp | sed ${name_transform}` 3015 3016 #Trasforming cc1 will break compilation 3017 if ! test "${cc1_name}" = "cc1"; then 3018 as_fn_error $? "Program transform must not modify cc1. 3019 --program-sufix and --program-prefix not supported. 3020 Use -program-transform-name='s/cfa$/[Desired name here]/' instead" "$LINENO" 5 3021 fi 3022 #We could support transforming cfa-cpp but since it is located in a unique subfolder we don't need to 3023 if ! test "${cpp_name}" = "cfa-cpp"; then 3024 as_fn_error $? "Program transform must not modify cfa-cpp. 3025 --program-sufix and --program-prefix not supported. 3026 Use -program-transform-name='s/cfa$/[Desired name here]/' instead" "$LINENO" 5 3027 fi 3028 3029 3030 # Check whether --with-cfa-name was given. 3031 if test "${with_cfa_name+set}" = set; then : 3032 withval=$with_cfa_name; cfa_name=$withval 3033 else 3034 cfa_name="cfa" 3035 fi 3036 3037 3038 #Define the new name of the installed command 3039 CFA_NAME=${cfa_name} 3040 3041 3003 3042 rm -f version 3004 3043 echo ${PACKAGE_VERSION} > version # file containing version number for other tools … … 3238 3277 3239 3278 if test "$includedir" = '${prefix}/include'; then 3240 cfa_incdir="${cfa_prefix}/include/ cfa"3279 cfa_incdir="${cfa_prefix}/include/${cfa_name}" 3241 3280 else 3242 3281 cfa_incdir=${includedir} … … 3264 3303 3265 3304 if test "$libdir" = '${exec_prefix}/lib'; then 3266 cfa_libdir= ${cfa_prefix}/lib3305 cfa_libdir="${cfa_prefix}/lib/${cfa_name}" 3267 3306 else 3268 3307 cfa_libdir=${libdir}
Note:
See TracChangeset
for help on using the changeset viewer.