Changes in configure.ac [a62cbb3:6363ad1]
- File:
-
- 1 edited
-
configure.ac (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
ra62cbb3 r6363ad1 17 17 AM_INIT_AUTOMAKE 18 18 AM_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}) 19 36 20 37 rm -f version … … 129 146 130 147 if test "$includedir" = '${prefix}/include'; then 131 cfa_incdir="${cfa_prefix}/include/ cfa"148 cfa_incdir="${cfa_prefix}/include/${cfa_name}" 132 149 else 133 150 cfa_incdir=${includedir} … … 145 162 146 163 if test "$libdir" = '${exec_prefix}/lib'; then 147 cfa_libdir= ${cfa_prefix}/lib164 cfa_libdir="${cfa_prefix}/lib/${cfa_name}" 148 165 else 149 166 cfa_libdir=${libdir}
Note:
See TracChangeset
for help on using the changeset viewer.