Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r796cea3 r871b664  
    668668CFA_BACKEND_CC
    669669BACKEND_CC
    670 CFA_NAME
    671670MAINT
    672671MAINTAINER_MODE_FALSE
     
    742741enable_silent_rules
    743742enable_maintainer_mode
    744 with_cfa_name
    745743with_backend_compiler
    746744enable_target_release
     
    13991397  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    14001398  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    1401   --with-cfa-name=NAME     NAME too which cfa will be installed
    14021399  --with-backend-compiler=PROGRAM     PROGRAM that performs the final code compilation (must be gcc-compatible)
    14031400
     
    30043001                        # may require auto* software to be installed
    30053002
    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 
    30423003rm -f version
    30433004echo ${PACKAGE_VERSION} > version               # file containing version number for other tools
     
    32773238
    32783239if test "$includedir" = '${prefix}/include'; then
    3279         cfa_incdir="${cfa_prefix}/include/${cfa_name}"
     3240        cfa_incdir="${cfa_prefix}/include/cfa"
    32803241else
    32813242        cfa_incdir=${includedir}
     
    33033264
    33043265if test "$libdir" = '${exec_prefix}/lib'; then
    3305         cfa_libdir="${cfa_prefix}/lib/${cfa_name}"
     3266        cfa_libdir=${cfa_prefix}/lib
    33063267else
    33073268        cfa_libdir=${libdir}
Note: See TracChangeset for help on using the changeset viewer.