From a6dc75e485fcd58269e2099d6db7948d6c808f05 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 06 Oct 2023 11:49:47 -0400 Subject: build: Enable test suite by default Also fix a help string. --- (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a42b73e..5b527de 100644 --- a/configure.ac +++ b/configure.ac @@ -65,8 +65,7 @@ fi AC_PROG_LN_S() AC_ARG_ENABLE([symlink], [AS_HELP_STRING([--disable-symlink], - [install \`@' symbolic link])], - dnl This `dnl' is needed to workaround Vim syntax highlighting. + [don't install \`@' symbolic link])], [case "${enableval}" in yes|no) symlink=${enableval};; *) AC_MSG_ERROR( [bad value ${enableval} for symlink option]);; @@ -76,16 +75,13 @@ AC_ARG_ENABLE([symlink], AM_CONDITIONAL([ENABLE_SYMLINK], [test x"${symlink}" = x'yes']) AC_ARG_ENABLE([tests], - [AS_HELP_STRING([--enable-tests], - [include test suite support in executable])], + [AS_HELP_STRING([--disable-tests], + [exclude test suite support from executable])], [case "${enableval}" in yes|no) tests=${enableval};; *) AC_MSG_ERROR( [bad value ${enableval} for tests option]);; esac], - [ - tests=no - test -d "${srcdir}/.git" && tests=yes - ] + [tests=yes] ) if test x"${tests}" = x'yes'; then AC_DEFINE([ENABLE_TESTS], [1], -- cgit v0.9.1