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
@@ -162,12 +162,24 @@ if $nitpick ; then
162 162
163 CPPFLAGS="$CPPFLAGS $CPP_NITPICK" 163 CPPFLAGS="$CPPFLAGS $CPP_NITPICK"
164 CFLAGS="$CFLAGS $C_NITPICK" 164 CFLAGS="$CFLAGS $C_NITPICK"
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],
171 AC_HELP_STRING([--with-xri-proxy=url],[set xri proxy for use when resolving xri identities, default is http://xr_proxy_url]), 183 AC_HELP_STRING([--with-xri-proxy=url],[set xri proxy for use when resolving xri identities, default is http://xr_proxy_url]),
172 [ xri_proxy_url="$withval" ] 184 [ xri_proxy_url="$withval" ]
173) 185)
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 185411f..9c73e96 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,8 +1,9 @@
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/ \
6 ${KONFORKA_CFLAGS} \ 7 ${KONFORKA_CFLAGS} \
7 ${OPENSSL_CFLAGS} \ 8 ${OPENSSL_CFLAGS} \
8 ${LIBCURL_CPPFLAGS} \ 9 ${LIBCURL_CPPFLAGS} \
diff --git a/test/Makefile.am b/test/Makefile.am
index 13c4cd2..bacaafa 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,8 +1,9 @@
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
6test_SOURCES = test.cc 7test_SOURCES = test.cc
7test_LDADD = ${top_builddir}/lib/libopkele.la 8test_LDADD = ${top_builddir}/lib/libopkele.la
8 9