Changes in configure [796cea3:871b664]
Legend:
- Unmodified
- Added
- Removed
-
configure
r796cea3 r871b664 668 668 CFA_BACKEND_CC 669 669 BACKEND_CC 670 CFA_NAME671 670 MAINT 672 671 MAINTAINER_MODE_FALSE … … 742 741 enable_silent_rules 743 742 enable_maintainer_mode 744 with_cfa_name745 743 with_backend_compiler 746 744 enable_target_release … … 1399 1397 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1400 1398 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1401 --with-cfa-name=NAME NAME too which cfa will be installed1402 1399 --with-backend-compiler=PROGRAM PROGRAM that performs the final code compilation (must be gcc-compatible) 1403 1400 … … 3004 3001 # may require auto* software to be installed 3005 3002 3006 # Allow program name tansformation3007 # will fille program_transform_name with appropriate sed regex3008 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 characters3011 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 compilation3017 if ! test "${cc1_name}" = "cc1"; then3018 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" 53021 fi3022 #We could support transforming cfa-cpp but since it is located in a unique subfolder we don't need to3023 if ! test "${cpp_name}" = "cfa-cpp"; then3024 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" 53027 fi3028 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=$withval3033 else3034 cfa_name="cfa"3035 fi3036 3037 3038 #Define the new name of the installed command3039 CFA_NAME=${cfa_name}3040 3041 3042 3003 rm -f version 3043 3004 echo ${PACKAGE_VERSION} > version # file containing version number for other tools … … 3277 3238 3278 3239 if test "$includedir" = '${prefix}/include'; then 3279 cfa_incdir="${cfa_prefix}/include/ ${cfa_name}"3240 cfa_incdir="${cfa_prefix}/include/cfa" 3280 3241 else 3281 3242 cfa_incdir=${includedir} … … 3303 3264 3304 3265 if test "$libdir" = '${exec_prefix}/lib'; then 3305 cfa_libdir= "${cfa_prefix}/lib/${cfa_name}"3266 cfa_libdir=${cfa_prefix}/lib 3306 3267 else 3307 3268 cfa_libdir=${libdir}
Note:
See TracChangeset
for help on using the changeset viewer.