|
|
@ -689,9 +689,15 @@ class GnuStepDependency(Dependency): |
|
|
|
|
|
|
|
|
|
|
|
def detect(self): |
|
|
|
def detect(self): |
|
|
|
confprog = 'gnustep-config' |
|
|
|
confprog = 'gnustep-config' |
|
|
|
|
|
|
|
try: |
|
|
|
gp = subprocess.Popen([confprog, '--help'], |
|
|
|
gp = subprocess.Popen([confprog, '--help'], |
|
|
|
stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
|
|
|
stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
|
|
|
|
|
|
|
|
|
|
|
gp.communicate() |
|
|
|
gp.communicate() |
|
|
|
|
|
|
|
except FileNotFoundError: |
|
|
|
|
|
|
|
self.args = None |
|
|
|
|
|
|
|
mlog.log('Dependency GnuStep found:', mlog.red('NO'), '(no gnustep-config)') |
|
|
|
|
|
|
|
return |
|
|
|
if gp.returncode != 0: |
|
|
|
if gp.returncode != 0: |
|
|
|
self.args = None |
|
|
|
self.args = None |
|
|
|
mlog.log('Dependency GnuStep found:', mlog.red('NO')) |
|
|
|
mlog.log('Dependency GnuStep found:', mlog.red('NO')) |
|
|
|