all repos — fluxbox @ de2cca8988f43443f83f6f324c73d6ea03edfae3

custom fork of the fluxbox windowmanager

Include src/tests in the distribution tarball

and add a configure option for building them (default: off).
This patch fixes an error when configuring the tarball, where configure complained it cannot find
src/tests/Makefile.in.
Pavel Labath pavelo@centrum.sk
commit

de2cca8988f43443f83f6f324c73d6ea03edfae3

parent

127ec08ae6bffeefedd06b73aea4ee2fa2bd265b

2 files changed, 21 insertions(+), 1 deletions(-)

jump to
M configure.inconfigure.in

@@ -308,6 +308,22 @@ )

AC_SUBST(DEBUG) CXXFLAGS="$CXXFLAGS $DEBUG" +dnl Check whether to build test programs +AC_MSG_CHECKING([whether to build test programs]) +AC_ARG_ENABLE(test, + [ --enable-test build programs used in testing fluxbox ([default=no])], + if test x$enableval = "xyes"; then + AC_MSG_RESULT([yes]) + TEST=yes + else + AC_MSG_RESULT([no]) + TEST=no + fi, + AC_MSG_RESULT([no]) + TEST=no +) +AM_CONDITIONAL(TEST, test x$TEST = xyes) + dnl Check whether to include native language support (i18n) AC_MSG_CHECKING([whether to include NLS support]) AC_ARG_ENABLE(nls,
M src/Makefile.amsrc/Makefile.am

@@ -23,7 +23,11 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER

# DEALINGS IN THE SOFTWARE. -SUBDIRS= FbTk +if TEST +BUILD_TEST= tests +endif +SUBDIRS= FbTk $(BUILD_TEST) + DEFAULT_MENU=@DEFAULT_MENU@ DEFAULT_STYLE=@DEFAULT_STYLE@ DEFAULT_KEYSFILE=@DEFAULT_KEYS@