diff --git a/Makefile.am b/Makefile.am index d9934762..bfedc42a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -296,8 +296,7 @@ tests_unittests_unittests_LDADD = -lcmocka # https://github.com/profanity-im/stabber/issues/5 # # Note: Debian/Ubuntu's libexpect requires -ltcl8.6 for linkage. -if HAVE_STABBER -if HAVE_EXPECT + TESTS += tests/functionaltests/functionaltests check_PROGRAMS += tests/functionaltests/functionaltests tests_functionaltests_functionaltests_SOURCES = $(functionaltest_sources) @@ -305,8 +304,7 @@ tests_functionaltests_functionaltests_CPPFLAGS = -Itests/ -I$(top_srcdir)/extern tests_functionaltests_functionaltests_CFLAGS = $(AM_CFLAGS) -I/usr/include/tcl8.6 -I/usr/include/tcl8.5 -I$(top_srcdir)/external/stabber tests_functionaltests_functionaltests_LDFLAGS = -L$(top_srcdir)/external/stabber/.libs -Wl,-rpath,$(top_srcdir)/external/stabber/.libs tests_functionaltests_functionaltests_LDADD = -lcmocka -lstabber -lexpect -ltcl8.6 -endif -endif + man1_MANS = $(man1_sources)