Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    rdf47e2f r871b664  
    668668CFA_BACKEND_CC
    669669BACKEND_CC
    670 CFA_NAME
    671670MAINT
    672671MAINTAINER_MODE_FALSE
     
    30023001                        # may require auto* software to be installed
    30033002
    3004 # Allow program name tansformation
    3005 # will fille program_transform_name with appropriate sed regex
    3006 
    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 characters
    3009 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 compilation
    3015 if ! test "${cc1_name}" = "cc1"; then
    3016     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" 5
    3019 fi
    3020 #We could support transforming cfa-cpp but since it is located in a unique subfolder we don't need to
    3021 if ! test "${cpp_name}" = "cfa-cpp"; then
    3022     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" 5
    3025 fi
    3026 
    3027 #Define the new name of the installed command
    3028 CFA_NAME=${cfa_name}
    3029 
    3030 
    30313003rm -f version
    30323004echo ${PACKAGE_VERSION} > version               # file containing version number for other tools
     
    32663238
    32673239if test "$includedir" = '${prefix}/include'; then
    3268         cfa_incdir="${cfa_prefix}/include/${cfa_name}"
     3240        cfa_incdir="${cfa_prefix}/include/cfa"
    32693241else
    32703242        cfa_incdir=${includedir}
     
    32923264
    32933265if test "$libdir" = '${exec_prefix}/lib'; then
    3294         cfa_libdir="${cfa_prefix}/lib/${cfa_name}"
     3266        cfa_libdir=${cfa_prefix}/lib
    32953267else
    32963268        cfa_libdir=${libdir}
Note: See TracChangeset for help on using the changeset viewer.