Changes in configure.ac [6363ad1:a62cbb3]
- File:
-
- 1 edited
-
configure.ac (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r6363ad1 ra62cbb3 17 17 AM_INIT_AUTOMAKE 18 18 AM_MAINTAINER_MODE(enable) # may require auto* software to be installed 19 20 # Allow program name tansformation21 # will fill program_transform_name with appropriate sed regex22 AC_ARG_PROGRAM23 24 #Trasforming cc1 will break compilation25 if ! test "${program_transform_name}" = ""; then26 AC_MSG_ERROR([Program transform not supported.27 Use --with-cfa-name='[[Desired name here]]' instead])28 fi29 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 command35 AC_SUBST(CFA_NAME, ${cfa_name})36 19 37 20 rm -f version … … 146 129 147 130 if test "$includedir" = '${prefix}/include'; then 148 cfa_incdir="${cfa_prefix}/include/ ${cfa_name}"131 cfa_incdir="${cfa_prefix}/include/cfa" 149 132 else 150 133 cfa_incdir=${includedir} … … 162 145 163 146 if test "$libdir" = '${exec_prefix}/lib'; then 164 cfa_libdir= "${cfa_prefix}/lib/${cfa_name}"147 cfa_libdir=${cfa_prefix}/lib 165 148 else 166 149 cfa_libdir=${libdir}
Note:
See TracChangeset
for help on using the changeset viewer.