From c2cef2e616bad37c60fde01d842abe7e52abdf2b Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Thu, 7 Nov 2013 23:22:31 +0000 Subject: [PATCH] add lines of code to config.h ... make me able to display these in the application --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index d25dd42..0dfa435 100644 --- a/configure.ac +++ b/configure.ac @@ -76,6 +76,9 @@ AM_CFLAGS="${AM_CFLAGS} -DCONFIGDIR=\\\"${myetcdir}\\\"" AM_CFLAGS="${AM_CFLAGS} ${CFLAGS}" AC_SUBST(AM_CFLAGS) +loc=`find src/ include/ -not -path testers -and -name "*.[[ch]]" -exec sed '/\/\*/,/\*\//d;/\/\//d' {} \; | wc -l` +AC_DEFINE_UNQUOTED([LOC], ["${loc}"], [Lines of code]) + AC_CONFIG_FILES([assets/html/_documentation.html]) AC_CONFIG_FILES([Makefile