summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2008-03-14 23:41:38 (UTC)
committer Michael Krelin <hacker@klever.net>2008-03-14 23:41:38 (UTC)
commita9bb96d74c1337771bb4a9c1a4e78e2f2a73bbff (patch) (side-by-side diff)
treefbb773adcc48beb8c9ef9a6fddaf2bf4f46f6a01
parente6928c1d6c368e999ec8d1b05fccec44c2bebdbc (diff)
downloadlibopkele-a9bb96d74c1337771bb4a9c1a4e78e2f2a73bbff.zip
libopkele-a9bb96d74c1337771bb4a9c1a4e78e2f2a73bbff.tar.gz
libopkele-a9bb96d74c1337771bb4a9c1a4e78e2f2a73bbff.tar.bz2
do not attempt to build programs dependent on absent libraries
Thanks, Joseph, for spotting it! Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--test/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index f0c0ea8..7cfe3a4 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,4 +1,5 @@
-noinst_PROGRAMS = test idiscover RP.cgi OP.cgi test-oauth-consumer
+noinst_PROGRAMS = test idiscover test-oauth-consumer \
+ ${_dependent_programs_}
AM_CPPFLAGS=${CPPFLAGS_DEBUG}
DEFAULT_INCLUDES = -I${top_builddir}
@@ -21,6 +22,8 @@ if HAVE_SQLITE3
if HAVE_UUID
if HAVE_KINGATE
+_dependent_programs_ = RP.cgi OP.cgi
+
RP_cgi_SOURCES = RP.cc
nodist_RP_cgi_SOURCES = RP-db.cc
RP_cgi_LDADD = ${top_builddir}/lib/libopkele.la \