summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-04-02 20:26:12 +0200
committerRémi Verschelde <remi@verschelde.fr>2016-04-02 20:26:12 +0200
commit0a5472e697dee57956c2583a50bc5cf5faada5d8 (patch)
tree62e9d9616c9529cee5c6c85e18415bc8745966fe /platform/x11
parent48f057ea816f4ae4b917cb110e399fcbfb4234a0 (diff)
Remove trailing spaces
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/detect.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
index 6b147db130..6b3f7147ef 100644
--- a/platform/x11/detect.py
+++ b/platform/x11/detect.py
@@ -1,12 +1,12 @@
import os
-import sys
+import sys
import platform
def is_active():
return True
-
+
def get_name():
return "X11"
@@ -20,11 +20,11 @@ def can_build():
return False # no x11 on mac for now
errorval=os.system("pkg-config --version > /dev/null")
-
+
if (errorval):
print("pkg-config not found.. x11 disabled.")
return False
-
+
x11_error=os.system("pkg-config x11 --modversion > /dev/null ")
if (x11_error):
print("X11 not found.. x11 disabled.")
@@ -39,7 +39,7 @@ def can_build():
if (x11_error):
print("xcursor not found.. x11 disabled.")
return False
-
+
x11_error=os.system("pkg-config xinerama --modversion > /dev/null ")
if (x11_error):
print("xinerama not found.. x11 disabled.")
@@ -47,7 +47,7 @@ def can_build():
return True # X11 enabled
-
+
def get_opts():
return [
@@ -60,7 +60,7 @@ def get_opts():
('new_wm_api', 'Use experimental window management API','no'),
('debug_release', 'Add debug symbols to release version','no'),
]
-
+
def get_flags():
return [
@@ -68,7 +68,7 @@ def get_flags():
("openssl", "yes"),
#("theora","no"),
]
-
+
def configure(env):