From 3ae97cd49148b3ff8338d43c42a0dfd520cff82c Mon Sep 17 00:00:00 2001 From: Luca Padovani Date: Wed, 29 Oct 2003 10:25:04 +0000 Subject: [PATCH] * added profiling options --- helm/DEVEL/mathml_editor/configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/helm/DEVEL/mathml_editor/configure.ac b/helm/DEVEL/mathml_editor/configure.ac index b779c3239..74115f317 100644 --- a/helm/DEVEL/mathml_editor/configure.ac +++ b/helm/DEVEL/mathml_editor/configure.ac @@ -165,6 +165,12 @@ AC_CHECK_FILE(/usr/include/caml/mlvalues.h, AC_SUBST(OCAML_INCLUDE_DIR) +if test $profile = yes; then + CFLAFS="$CFLAGS -p" + CXXFLAGS="$CXXFLAGS -p" + AC_DEFINE(ENABLE_PROFILE,,[Define to 1 to let the widget collect some information for profiling purposes]) +fi + AC_CONFIG_FILES([ Makefile src/Makefile -- 2.39.2