Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r6363ad1 ra62cbb3  
    1717AM_INIT_AUTOMAKE
    1818AM_MAINTAINER_MODE(enable)                      # may require auto* software to be installed
    19 
    20 # Allow program name tansformation
    21 # will fill program_transform_name with appropriate sed regex
    22 AC_ARG_PROGRAM
    23 
    24 #Trasforming cc1 will break compilation
    25 if ! test "${program_transform_name}" = ""; then
    26     AC_MSG_ERROR([Program transform not supported.
    27                 Use --with-cfa-name='[[Desired name here]]' instead])
    28 fi
    29 
    30 AC_ARG_WITH(cfa-name,
    31         [  --with-cfa-name=NAME     NAME too which cfa will be installed],
    32         cfa_name=$withval, cfa_name="cfa")
    33 
    34 #Define the new name of the installed command
    35 AC_SUBST(CFA_NAME, ${cfa_name})
    3619
    3720rm -f version
     
    146129
    147130if test "$includedir" = '${prefix}/include'; then
    148         cfa_incdir="${cfa_prefix}/include/${cfa_name}"
     131        cfa_incdir="${cfa_prefix}/include/cfa"
    149132else
    150133        cfa_incdir=${includedir}
     
    162145
    163146if test "$libdir" = '${exec_prefix}/lib'; then
    164         cfa_libdir="${cfa_prefix}/lib/${cfa_name}"
     147        cfa_libdir=${cfa_prefix}/lib
    165148else
    166149        cfa_libdir=${libdir}
Note: See TracChangeset for help on using the changeset viewer.