X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=configure.ac;h=d2d7c8c7088441096c08d32e58c2f36728d6c787;hb=668664d0ea90dc81670cccd7b7d56b36b8360eaa;hp=8c27a42dd4e241a051d217554b926312ae0ec68f;hpb=e25370c54e78fda0a7996b008f7ad68aa80f2ccd;p=meshlink diff --git a/configure.ac b/configure.ac index 8c27a42d..d2d7c8c7 100644 --- a/configure.ac +++ b/configure.ac @@ -83,6 +83,15 @@ AS_IF([test "x$enable_utcp_debug" = "xyes"], ] ); +dnl Install test binaries +AC_ARG_ENABLE([install_tests], + [AS_HELP_STRING([--enable-install-tests], [include test binaries in installation])], + [AS_IF([test "x$enable_install_tests" = "xyes"], [install_tests=true], [install_tests=false])], + [install_tests=false] +) + +AM_CONDITIONAL(INSTALL_TESTS, test "$install_tests" = true) + dnl Checks for header files. dnl We do this in multiple stages, because unlike Linux all the other operating systems really suck and don't include their own dependencies.