summaryrefslogtreecommitdiff
path: root/x11-libs/wxGTK/files/wxGTK-3.2.1-configure-tests.patch
blob: fe90b3aab0d9b086e0410856abfe80371ce3bada (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/configure b/configure
index d2acb7d..69ae083 100755
--- a/configure
+++ b/configure
@@ -45622,6 +45622,14 @@ $as_echo "yes" >&6; }
     fi
 fi
 
+# explicit override to enable or disable tests
+if test "${enable_tests+set}" = set; then
+    SUBDIRS="$SUBDIRS tests"
+fi
+if test "${disable_tests+set}" = set; then
+	SUBDIRS="${SUBDIRS% tests}"
+fi
+
 for subdir in $SUBDIRS; do
     if test -d ${srcdir}/${subdir} ; then
         if test "$wxUSE_GUI" = "yes"; then