diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-03-11 01:49:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-03-11 01:49:36 +0000 |
commit | cf7807d7aea23a99a144afceaba961cfed652b5f (patch) | |
tree | ffd2c781c27e0b7e72152a685a04938a2b7966f0 /app-arch/unadf/files | |
parent | 7c5ebaf83da4c538dd11b56fdd5dfdf39dcbc096 (diff) |
Diffstat (limited to 'app-arch/unadf/files')
-rw-r--r-- | app-arch/unadf/files/unadf-0.9.0-make-test-build-conditional.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-arch/unadf/files/unadf-0.9.0-make-test-build-conditional.patch b/app-arch/unadf/files/unadf-0.9.0-make-test-build-conditional.patch new file mode 100644 index 000000000000..011edd7789ed --- /dev/null +++ b/app-arch/unadf/files/unadf-0.9.0-make-test-build-conditional.patch @@ -0,0 +1,22 @@ +diff --git a/configure.ac b/configure.ac +index a37d6f7..ec7d410 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -103,8 +103,14 @@ AC_PROG_INSTALL + AM_PROG_AR + LT_INIT + +-# Checks for libraries. +-PKG_CHECK_MODULES([CHECK], [check >= 0.11.0], [tests=yes], [tests=no]) ++AC_ARG_ENABLE([tests], ++ AS_HELP_STRING([--enable-tests], [Build tests])) ++ ++AS_IF([test "x$enable_tests" = "xyes"], ++ [PKG_CHECK_MODULES([CHECK], [check >= 0.11.0], ++ [tests=yes], ++ [AC_MSG_FAILURE([--enable-tests was given, but dependency check wasn't found])])], ++ []) + AM_CONDITIONAL([TESTS], [test x${tests} = xyes]) + + # Checks for typedefs, structures, and compiler characteristics. + |