Index: configure
===================================================================
--- configure	(revision 088a5cdd8d3a236c5d44413bd779381bb291fc44)
+++ configure	(revision df47e2fe44d197c175959e907b74622b64a8430e)
@@ -668,4 +668,5 @@
 CFA_BACKEND_CC
 BACKEND_CC
+CFA_NAME
 MAINT
 MAINTAINER_MODE_FALSE
@@ -3001,4 +3002,31 @@
 			# may require auto* software to be installed
 
+# Allow program name tansformation
+# will fille program_transform_name with appropriate sed regex
+
+#autoconf escapes $ and \ since automake wiill un-escape them.
+#Since we need to use the sed transform in autoconf we need to manualy un-escape these characters
+name_transform=`echo ${program_transform_name} | sed 's/\\$\\$/\\$/g' | sed 's/\\\\\\\/\\\/g'`
+cfa_name=`echo cfa | sed ${name_transform}`
+cc1_name=`echo cc1 | sed ${name_transform}`
+cpp_name=`echo cfa-cpp | sed ${name_transform}`
+
+#Trasforming cc1 will break compilation
+if ! test "${cc1_name}" = "cc1"; then
+    as_fn_error $? "Program transform must not modify cc1.
+		--program-sufix and --program-prefix not supported.
+		Use -program-transform-name='s/cfa$/[Desired name here]/' instead" "$LINENO" 5
+fi
+#We could support transforming cfa-cpp but since it is located in a unique subfolder we don't need to
+if ! test "${cpp_name}" = "cfa-cpp"; then
+    as_fn_error $? "Program transform must not modify cfa-cpp.
+		--program-sufix and --program-prefix not supported.
+		Use -program-transform-name='s/cfa$/[Desired name here]/' instead" "$LINENO" 5
+fi
+
+#Define the new name of the installed command
+CFA_NAME=${cfa_name}
+
+
 rm -f version
 echo ${PACKAGE_VERSION} > version		# file containing version number for other tools
@@ -3238,5 +3266,5 @@
 
 if test "$includedir" = '${prefix}/include'; then
- 	cfa_incdir="${cfa_prefix}/include/cfa"
+ 	cfa_incdir="${cfa_prefix}/include/${cfa_name}"
 else
  	cfa_incdir=${includedir}
@@ -3264,5 +3292,5 @@
 
 if test "$libdir" = '${exec_prefix}/lib'; then
- 	cfa_libdir="${cfa_prefix}/lib/cfa"
+ 	cfa_libdir="${cfa_prefix}/lib/${cfa_name}"
 else
  	cfa_libdir=${libdir}
