- Timestamp:
- Mar 13, 2017, 2:14: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:
- 17df48e
- Parents:
- 031a2c95 (diff), 68ac32e (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
r031a2c95 r8ef9c5e7 644 644 CXXFLAGS 645 645 CXX 646 CFA_FLAGS 646 647 MACHINE_TYPE 647 648 host_os … … 653 654 build_cpu 654 655 build 655 CFA_FLAGS656 656 CFA_LIBDIR 657 657 CFA_BINDIR … … 3005 3005 3006 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}` 3007 # will fill program_transform_name with appropriate sed regex 3008 3015 3009 3016 3010 #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 3011 if test "${program_transform_name}" = ""; then 3012 as_fn_error $? "Program transform not supported. 3013 Use --with-cfa-name='[Desired name here]' instead" "$LINENO" 5 3027 3014 fi 3028 3015 … … 3315 3302 3316 3303 3317 3318 cat >>confdefs.h <<_ACEOF3319 #define CFA_FLAGS "${CFAFLAGS}"3320 _ACEOF3321 3322 CFA_FLAGS=${CFAFLAGS}3323 3324 3325 3304 # Make sure we can run config.sub. 3326 3305 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || … … 3395 3374 3396 3375 MACHINE_TYPE=$host_cpu 3376 3377 3378 if ! test "$host_cpu" = "$build_cpu"; then 3379 case $host_cpu in 3380 i386) 3381 CFLAGS+="-m32" 3382 CXXFLAGS+="-m32" 3383 CFAFLAGS+="-m32" 3384 LDFLAGS+="-m32" 3385 ;; 3386 i686) 3387 CFLAGS+="-m32" 3388 CXXFLAGS+="-m32" 3389 CFAFLAGS+="-m32" 3390 LDFLAGS+="-m32" 3391 ;; 3392 x86_64) 3393 CFLAGS+="-m64" 3394 CXXFLAGS+="-m64" 3395 CFAFLAGS+="-m64" 3396 LDFLAGS+="-m64" 3397 ;; 3398 esac 3399 fi 3400 3401 3402 cat >>confdefs.h <<_ACEOF 3403 #define CFA_FLAGS "${CFAFLAGS}" 3404 _ACEOF 3405 3406 CFA_FLAGS=${CFAFLAGS} 3397 3407 3398 3408
Note:
See TracChangeset
for help on using the changeset viewer.