From a9bb96d74c1337771bb4a9c1a4e78e2f2a73bbff Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Fri, 14 Mar 2008 23:41:38 +0000 Subject: do not attempt to build programs dependent on absent libraries Thanks, Joseph, for spotting it! Signed-off-by: Michael Krelin --- 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 \ -- cgit v0.9.0.2