summaryrefslogtreecommitdiff
path: root/extra/python-pygame/config.patch
blob: b3dab162ce0ee72ceda8fcd6853b0846d4b85091 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: config_unix.py
===================================================================
--- config_unix.py	(revision 2567)
+++ config_unix.py	(working copy)
@@ -174,7 +174,7 @@
 
     for d in DEPS[1:]:
         if not d.found:
-            if not confirm("""
+            if "-auto" not in sys.argv and not confirm("""
 Warning, some of the pygame dependencies were not found. Pygame can still
 compile and install, but games that depend on those missing dependencies
 will not run. Would you like to continue the configuration?"""):
Index: config_msys.py
===================================================================
--- config_msys.py	(revision 2567)
+++ config_msys.py	(working copy)
@@ -283,7 +283,7 @@
     
     for d in DEPS[1:]:
         if not d.found:
-            if not confirm("""
+            if "-auto" not in sys.argv and not confirm("""
 Warning, some of the pygame dependencies were not found. Pygame can still
 compile and install, but games that depend on those missing dependencies
 will not run. Would you like to continue the configuration?"""):