summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--configure.ac12
-rw-r--r--lib/Makefile.am1
-rw-r--r--test/Makefile.am1
3 files changed, 14 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9ad9710..51bacd5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -165,6 +165,18 @@ if $nitpick ; then
165 CXXFLAGS="$CXXFLAGS $CXX_NITPICK" 165 CXXFLAGS="$CXXFLAGS $CXX_NITPICK"
166fi 166fi
167 167
168ndebug=true
169AC_ARG_ENABLE([debug],
170 AC_HELP_STRING([--enable-debug],[enable debugging code]),
171 [ test "$enableval" = "no" || ndebug=false ]
172)
173if $ndebug ; then
174 CPPFLAGS_DEBUG="-DNDEBUG"
175else
176 CPPFLAGS_DEBUG=""
177fi
178AC_SUBST([CPPFLAGS_DEBUG])
179
168xri_proxy_url="http://beta.xri.net/" 180xri_proxy_url="http://beta.xri.net/"
169AC_MSG_CHECKING([for XRI resolver proxy]) 181AC_MSG_CHECKING([for XRI resolver proxy])
170AC_ARG_ENABLE([xri-proxy], 182AC_ARG_ENABLE([xri-proxy],
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 185411f..9c73e96 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,5 +1,6 @@
1lib_LTLIBRARIES = libopkele.la 1lib_LTLIBRARIES = libopkele.la
2 2
3AM_CPPFLAGS = ${CPPFLAGS_DEBUG}
3DEFAULT_INCLUDES = -I${top_builddir} 4DEFAULT_INCLUDES = -I${top_builddir}
4INCLUDES = \ 5INCLUDES = \
5 -I${top_srcdir}/include/ \ 6 -I${top_srcdir}/include/ \
diff --git a/test/Makefile.am b/test/Makefile.am
index 13c4cd2..bacaafa 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,5 +1,6 @@
1noinst_PROGRAMS = test idiscover 1noinst_PROGRAMS = test idiscover
2 2
3AM_CPPFLAGS=${CPPFLAGS_DEBUG}
3DEFAULT_INCLUDES = -I${top_builddir} 4DEFAULT_INCLUDES = -I${top_builddir}
4INCLUDES = -I${top_srcdir}/include/ ${KONFORKA_CFLAGS} 5INCLUDES = -I${top_srcdir}/include/ ${KONFORKA_CFLAGS}
5 6