diff options
author | P. J. McDermott <pj@pehjota.net> | 2023-10-06 11:49:47 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2023-10-06 11:49:47 (EDT) |
commit | a6dc75e485fcd58269e2099d6db7948d6c808f05 (patch) | |
tree | 35c13fa3c1b98d4baa51d67435329b66eda7de44 /configure.ac | |
parent | 705132a22db68642a11deec2d886e505bfc6cb86 (diff) | |
download | atsign-a6dc75e485fcd58269e2099d6db7948d6c808f05.zip atsign-a6dc75e485fcd58269e2099d6db7948d6c808f05.tar.gz atsign-a6dc75e485fcd58269e2099d6db7948d6c808f05.tar.bz2 |
build: Enable test suite by default
Also fix a help string.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 4 insertions, 8 deletions
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], |