--- a/.mtn-ignore Sun Jan 04 02:01:01 2009 -0600
+++ b/.mtn-ignore Mon Mar 09 02:01:15 2009 -0500
@@ -15,8 +15,9 @@
^doc/gplate/gplate\.(args|hierarchy|interfaces|prerequisites|signals)$
^doc/gplate/overview\.sgml$
--- a/Makefile.am Sun Jan 04 02:01:01 2009 -0600
+++ b/Makefile.am Mon Mar 09 02:01:15 2009 -0500
@@ -39,3 +39,17 @@
release: check distcheck version-check $(DIST_ARCHIVES:%=%.asc)
+ lcov -d $(top_srcdir)/gplate -d $(top_srcdir)/tests -c -o $(top_builddir)/gplate.info + genhtml -o $(top_builddir)/html $(top_builddir)/gplate.info + @echo lcov wasn\'t found during configure, aborting + lcov -d $(top_srcdir) -z --- a/configure.ac Sun Jan 04 02:01:01 2009 -0600
+++ b/configure.ac Mon Mar 09 02:01:15 2009 -0500
@@ -7,7 +7,8 @@
AC_CONFIG_SRCDIR(config.h.in)
-AC_COPYRIGHT([Copyright 2007-2008 Gary Kramlich])
+AC_COPYRIGHT([Copyright 2007-2009 Gary Kramlich]) dnl ################################################################
dnl # Version information
@@ -106,6 +107,23 @@
dnl #######################################################################
+dnl ####################################################################### +AC_PATH_PROG(XMLLINT, xmllint, [yes], [no]) +AM_CONDITIONAL(USE_XMLLINT, test x"$XMLLINT" = x"yes") +AC_PATH_PROG(XSLTPROC, xsltproc, [yes], [no]) +AM_CONDITIONAL(USE_XSLTPROC, test x"$XSLTPROC" = x"yes") +AC_PATH_PROG(FDP, fdp, [yes], [no]) +AM_CONDITIONAL(USE_FDP, test x"$FDP" = x"yes") +AC_PATH_PROG(SED, [sedZ]) +AC_PATH_PROG(LCOV, [lcov], [yes], [np]) +AM_CONDITIONAL(USE_LCOV, test x"$LCOV" = x"yes") +dnl ####################################################################### dnl # Look for the C compiler
dnl #######################################################################
AC_MSG_CHECKING([useful C based templating library so I don't have to write one])
@@ -119,6 +137,8 @@
if test x"$enable_debug" = x"yes" ; then
+ CFLAGS="$CFLAGS -O0 -fprofile-arcs -ftest-coverage" + CFLAGS=`echo $CFLAGS | sed 's/-O2//'` AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
@@ -162,18 +182,6 @@
dnl #######################################################################
-dnl #######################################################################
-AC_PATH_PROG(XMLLINT, xmllint, [yes], [np])
-AM_CONDITIONAL(USE_XMLLINT, test x"$XMLLINT" = x"yes")
-AC_PATH_PROG(XSLTPROC, xsltproc, [yes], [no])
-AM_CONDITIONAL(USE_XSLTPROC, test x"$XSLTPROC" = x"yes")
-AC_PATH_PROG(FDP, fdp, [yes], [np])
-AM_CONDITIONAL(USE_FDP, test x"$FDP" = x"yes")
-dnl #######################################################################
dnl #######################################################################
@@ -196,13 +204,29 @@
dnl #######################################################################
dnl #######################################################################
-echo AC_PACKAGE_NAME AC_PACKAGE_VERSION Configuration complete
-echo Debugging enabled................: $enable_debug
-echo Build tests......................: $enable_tests
-echo Build documentation..............: $enable_gtk_doc
-echo Type make to compile
+AC_PACKAGE_NAME AC_PACKAGE_VERSION Configuration complete +Debugging enabled: $enable_debug +Build tests: $enable_tests +Build documentation: $enable_gtk_doc +libexecdir: ${libexecdir} +sysconfdir: ${sysconfdir} +localstatedir: ${localstatedir} +maintainer mode: ${USE_MAINTAINER_MODE} --- a/gplate/Makefile.am Sun Jan 04 02:01:01 2009 -0600
+++ b/gplate/Makefile.am Mon Mar 09 02:01:15 2009 -0500
@@ -1,9 +1,5 @@
SUBDIRS=configs functions tags variables
gplateincdir=$(includedir)/gplate-1.0/gplate
@@ -52,3 +48,12 @@
-DLOCALEDIR=\"$(datadir)/locale\" \
+ $(libgplate_la_SOURCES:%=%.gcov.html) \ --- a/gplate/functions/Makefile.am Sun Jan 04 02:01:01 2009 -0600
+++ b/gplate/functions/Makefile.am Mon Mar 09 02:01:15 2009 -0500
@@ -1,9 +1,5 @@
gplatefunctionsincdir=$(includedir)/gplate-1.0/gplate/functions
gplatefunctionsinc_HEADERS=\
@@ -30,3 +26,9 @@
-DLOCALEDIR=\"$(datadir)/locale\" \
+ $(libgplate_functions_la_SOURCES:%=%.gcov.html) \ --- a/gplate/tags/Makefile.am Sun Jan 04 02:01:01 2009 -0600
+++ b/gplate/tags/Makefile.am Mon Mar 09 02:01:15 2009 -0500
@@ -1,9 +1,5 @@
gplatetagsincdir=$(includedir)/gplate-1.0/gplate/tags
@@ -28,3 +24,9 @@
-DLOCALEDIR=\"$(datadir)/locale\" \
+ $(libgplate_tags_la_SOURCES:%=%.gcov.html) \ --- a/gplate/variables/Makefile.am Sun Jan 04 02:01:01 2009 -0600
+++ b/gplate/variables/Makefile.am Mon Mar 09 02:01:15 2009 -0500
@@ -1,9 +1,5 @@
gplatevariablesincdir=$(includedir)/gplate-1.0/gplate/variables
gplatevariablesinc_HEADERS=\
@@ -28,3 +24,9 @@
-DLOCALEDIR=\"$(datadir)/locale\" \
+ $(libgplate_variables_la_SOURCES:%=%.gcov.html) \ --- a/tests/Makefile.am Sun Jan 04 02:01:01 2009 -0600
+++ b/tests/Makefile.am Mon Mar 09 02:01:15 2009 -0500
@@ -6,9 +6,7 @@
@@ -41,4 +39,10 @@
+ $(test_SOURCES:%=%.gcov.html) \