Update of /cvsroot/mod-c/ehtml
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv16193
Modified Files:
configure.in
Log Message:
Made profiling optional.
Index: configure.in
===================================================================
RCS file: /cvsroot/mod-c/ehtml/configure.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** configure.in 15 Sep 2006 10:37:05 -0000 1.7
--- configure.in 17 Sep 2006 18:14:51 -0000 1.8
***************
*** 111,114 ****
--- 111,134 ----
##############################################################################
+ ############################# Enable profiling #############################
+
+ AC_ARG_ENABLE( profiling,
+ AS_HELP_STRING([--enable-profiling],
+ [build EHTML with profiling enabled]),
+ [WITH_PROFILING="$enableval"],
+ [WITH_PROFILING="no"])
+
+ if test ${WITH_PROFILING} = "yes"; then
+ WITH_PROFILING="-DWITH_PROFILING"
+ AC_MSG_NOTICE([Will build with profiling...])
+ else
+ WITH_PROFILING=
+ AC_MSG_NOTICE([Will not build with profiling...])
+ fi;
+
+ AC_SUBST(WITH_PROFILING)
+
+ ##############################################################################
+
################ Enable building and installing of samples ################
|