Changes in configure [df47e2f:871b664]
Legend:
- Unmodified
- Added
- Removed
-
configure
rdf47e2f r871b664 668 668 CFA_BACKEND_CC 669 669 BACKEND_CC 670 CFA_NAME671 670 MAINT 672 671 MAINTAINER_MODE_FALSE … … 3002 3001 # may require auto* software to be installed 3003 3002 3004 # Allow program name tansformation3005 # will fille program_transform_name with appropriate sed regex3006 3007 #autoconf escapes $ and \ since automake wiill un-escape them.3008 #Since we need to use the sed transform in autoconf we need to manualy un-escape these characters3009 name_transform=`echo ${program_transform_name} | sed 's/\\$\\$/\\$/g' | sed 's/\\\\\\\/\\\/g'`3010 cfa_name=`echo cfa | sed ${name_transform}`3011 cc1_name=`echo cc1 | sed ${name_transform}`3012 cpp_name=`echo cfa-cpp | sed ${name_transform}`3013 3014 #Trasforming cc1 will break compilation3015 if ! test "${cc1_name}" = "cc1"; then3016 as_fn_error $? "Program transform must not modify cc1.3017 --program-sufix and --program-prefix not supported.3018 Use -program-transform-name='s/cfa$/[Desired name here]/' instead" "$LINENO" 53019 fi3020 #We could support transforming cfa-cpp but since it is located in a unique subfolder we don't need to3021 if ! test "${cpp_name}" = "cfa-cpp"; then3022 as_fn_error $? "Program transform must not modify cfa-cpp.3023 --program-sufix and --program-prefix not supported.3024 Use -program-transform-name='s/cfa$/[Desired name here]/' instead" "$LINENO" 53025 fi3026 3027 #Define the new name of the installed command3028 CFA_NAME=${cfa_name}3029 3030 3031 3003 rm -f version 3032 3004 echo ${PACKAGE_VERSION} > version # file containing version number for other tools … … 3266 3238 3267 3239 if test "$includedir" = '${prefix}/include'; then 3268 cfa_incdir="${cfa_prefix}/include/ ${cfa_name}"3240 cfa_incdir="${cfa_prefix}/include/cfa" 3269 3241 else 3270 3242 cfa_incdir=${includedir} … … 3292 3264 3293 3265 if test "$libdir" = '${exec_prefix}/lib'; then 3294 cfa_libdir= "${cfa_prefix}/lib/${cfa_name}"3266 cfa_libdir=${cfa_prefix}/lib 3295 3267 else 3296 3268 cfa_libdir=${libdir}
Note:
See TracChangeset
for help on using the changeset viewer.