10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-06-18 11:15:28 +02:00

configure

This commit is contained in:
Anthony Scemama 2015-06-16 14:52:20 +02:00
parent 5be8d24ad2
commit 8d35cf1425

6
configure vendored
View File

@ -128,7 +128,7 @@ ezfio = Info(
d_info = dict()
for m in ["ocaml", "m4", "curl", "zlib", "path", "irpf90", "docopt",
for m in ["ocaml", "m4", "curl", "zlib", "path", "irpf90", "docopt", "gcc",
"resultsFile", "ninja", "emsl", "ezfio"]:
exec ("d_info['{0}']={0}".format(m))
@ -188,7 +188,7 @@ def checking(d_dependency):
print "To old version (need >2.5). Abort"
sys.exit(1)
def check_availabiliy(binary):
def check_availability(binary):
"""
If avalabie return the path who can can't find the
binary else return 0
@ -238,7 +238,7 @@ def checking(d_dependency):
for i in d_dependency.keys():
print "Checking {0:>{1}}...".format(i, length),
r = check_availabiliy(i)
r = check_availability(i)
if r:
print "[ OK ] ( {0} )".format(r.strip())
l_installed[i] = r.strip()