summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/Makefile.am2
-rw-r--r--common/README8
-rw-r--r--common/collection/Makefile.am2
-rw-r--r--common/configure.ac4
-rw-r--r--common/ini/Makefile.am2
5 files changed, 12 insertions, 6 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index 5d39b42b..b06c0e73 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -1 +1 @@
-SUBDIRS = collection
+SUBDIRS = collection ini
diff --git a/common/README b/common/README
index a7db004a..1b035734 100644
--- a/common/README
+++ b/common/README
@@ -1,6 +1,12 @@
TO BUILD EXECUTE:
-autoreconf
+autoreconf -i
./configure
make
+If you build first time after getting source use:
+
+autoreconf -i -f
+
+Most information about how to use the interfaces can be found in header files
+and in the unit tests (*_ut.c).
diff --git a/common/collection/Makefile.am b/common/collection/Makefile.am
index 06cf953b..bdc11112 100644
--- a/common/collection/Makefile.am
+++ b/common/collection/Makefile.am
@@ -2,7 +2,7 @@
TRACE_LEVEL=@TRACE_VAR@
topdir=..
-AM_CPPFLAGS = -I$(topdir) -I$(topdir)/trace $(TRACE_LEVEL)
+AM_CPPFLAGS = -Wall -I$(topdir) -I$(topdir)/trace $(TRACE_LEVEL)
# Build static libraty
noinst_LIBRARIES = libcollection.a
diff --git a/common/configure.ac b/common/configure.ac
index 83a2c184..941125d0 100644
--- a/common/configure.ac
+++ b/common/configure.ac
@@ -11,13 +11,13 @@ AC_CONFIG_HEADERS([config.h])
# Enable trace build
AC_ARG_ENABLE([trace],
- [AS_HELP_STRING([--enable-trace],[build with low level tracing enabled])],
+ [AS_HELP_STRING([--enable-trace[=LEVEL]],[build with low level tracing enabled])],
[trace_level="$enableval"],
[trace_level="0"])
AS_IF([test ["$trace_level" -gt "0"] -a ["$trace_level" -lt "8"] ],[AC_SUBST([TRACE_VAR],["-DTRACE_LEVEL=$trace_level"])])
-AC_CONFIG_FILES([Makefile collection/Makefile])
+AC_CONFIG_FILES([Makefile collection/Makefile ini/Makefile])
AC_OUTPUT
diff --git a/common/ini/Makefile.am b/common/ini/Makefile.am
index a0131e94..a673aecd 100644
--- a/common/ini/Makefile.am
+++ b/common/ini/Makefile.am
@@ -2,7 +2,7 @@
TRACE_LEVEL=@TRACE_VAR@
topdir=..
-AM_CPPFLAGS = -I$(topdir) -I$(topdir)/trace -I$(topdir)/collection $(TRACE_LEVEL)
+AM_CPPFLAGS = -Wall -I$(topdir) -I$(topdir)/trace -I$(topdir)/collection $(TRACE_LEVEL)
# Build static libraty
noinst_LIBRARIES = libini_config.a