12 |
# this system already but we don't know that about unix shell (eg on Windows). |
# this system already but we don't know that about unix shell (eg on Windows). |
13 |
# |
# |
14 |
# Note that SCons supports reading of the output from this script, using |
# Note that SCons supports reading of the output from this script, using |
15 |
# features offered since version 0.96.91 |
# features offered since version 0.96.91, although this functionality |
16 |
|
# is a bit problematic on the Windows platform, and/or when paths contain spaces. |
17 |
# |
# |
18 |
# This file inspired by other software that uses the same approach, eg |
# This file inspired by other software that uses the same approach, eg |
19 |
# ginac-config, xft-config, cppunit-config. |
# ginac-config, xft-config, cppunit-config. |
58 |
include = "" |
include = "" |
59 |
if INCLUDE!="/usr/include": |
if INCLUDE!="/usr/include": |
60 |
include=INCLUDE |
include=INCLUDE |
61 |
print "-I"+include |
if -1!=include.find(" "): |
62 |
|
print "-I\""+include+"\"" |
63 |
|
else: |
64 |
|
print "-L"+libs+" -lascend" |
65 |
ok = True |
ok = True |
66 |
|
|
67 |
if options.libs: |
if options.libs: |
68 |
libs = "" |
libs = "" |
69 |
if LIB!="/usr/lib": |
if LIB!="/usr/lib": |
70 |
libs = LIB |
libs = LIB |
71 |
print "-L"+libs+" -lascend" |
if -1!=libs.find(" "): |
72 |
|
print "-L\""+libs+"\" -lascend" |
73 |
|
else: |
74 |
|
print "-L"+libs+" -lascend" |
75 |
ok = True |
ok = True |
76 |
|
|
77 |
if options.data: |
if options.data: |