Added timing functions to measure performance, removed unused cache support, refactored and removed some obsolete tests and adjusted build.

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@893937 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jsdelfino 2009-12-26 03:25:16 +00:00
commit f453584ae0
41 changed files with 561 additions and 1862 deletions

View file

@ -172,10 +172,11 @@ AC_ARG_ENABLE(maintainer-mode, [AS_HELP_STRING([--enable-maintainer-mode], [comp
esac ],
[ AC_MSG_RESULT(no)])
if test "$want_maintainer_mode" = "true"; then
AC_SUBST([CXXFLAGS], ["-D_DEBUG -O0 -g3 -pg -Wall -Wextra -Wno-ignored-qualifiers -Winit-self -Wmissing-include-dirs -Wcast-qual -Wcast-align -Wwrite-strings -Wpointer-arith -Wconversion -Waddress -Wlogical-op -Wredundant-decls -std=c++0x -fmessage-length=0"])
AC_SUBST([LDFLAGS], ["${LDFLAGS} -pg"])
AC_SUBST([CXXFLAGS], [" -D_REENTRANT -D_DEBUG -O0 -g3 -pg -Werror -Wall -Wextra -Wno-ignored-qualifiers -Winit-self -Wmissing-include-dirs -Wcast-qual -Wcast-align -Wwrite-strings -Wpointer-arith -Wconversion -Waddress -Wlogical-op -Wredundant-decls -std=c++0x -fmessage-length=0"])
AC_SUBST([LDFLAGS], ["${LDFLAGS} -lpthread -pg"])
else
AC_SUBST([CXXFLAGS], ["-O3 -std=c++0x -fmessage-length=0"])
AC_SUBST([CXXFLAGS], [" -D_REENTRANT -O3 -std=c++0x -fmessage-length=0"])
AC_SUBST([LDFLAGS], ["${LDFLAGS} -lpthread -pg"])
fi
# Configure exuberant ctags
@ -222,8 +223,6 @@ AC_CONFIG_FILES([Makefile
components/store/Makefile
samples/Makefile
test/Makefile
test/store-object/Makefile
test/store-function/Makefile
test/store-script/Makefile
doc/Makefile
doc/Doxyfile