Index: branches/rel10_ifa/psModules/configure.ac
===================================================================
--- branches/rel10_ifa/psModules/configure.ac	(revision 6448)
+++ branches/rel10_ifa/psModules/configure.ac	(revision 6493)
@@ -67,4 +67,13 @@
 )
 
+dnl handle profiler building
+AC_ARG_ENABLE(profile,
+  [AS_HELP_STRING(--enable-profile,enable compiler profiler information inclusion)],
+  [AC_MSG_RESULT(compile optimization enabled)
+   CFLAGS="${CFLAGS=} -pg"]
+)
+
+dnl CFLAGS="${CFLAGS=} -fprofile-arcs -ftest-coverage -pg"]
+
 dnl doxygen -------------------------------------------------------------------
 
