wxGTK-configure-tests.patch 560 B

1234567891011121314151617181920212223242526272829
  1. diff --git a/configure b/configure
  2. index 0f3c4c9..92c84f3 100755
  3. --- a/configure
  4. +++ b/configure
  5. @@ -1368,6 +1368,7 @@ enable_dependency_tracking
  6. enable_precomp_headers
  7. with_cppunit_prefix
  8. with_cppunit_exec_prefix
  9. +enable_tests
  10. '
  11. ac_precious_vars='build_alias
  12. host_alias
  13. @@ -40955,8 +40956,13 @@ fi
  14. fi
  15. -
  16. -
  17. +# explicit override to enable or disable tests
  18. +if test "${enable_tests+set}" = set; then
  19. + SUBDIRS="$SUBDIRS tests"
  20. +fi
  21. +if test "${disable_tests+set}" = set; then
  22. + SUBDIRS="${SUBDIRS% tests}"
  23. +fi
  24. for subdir in $SUBDIRS; do