Changeset 1327
- Timestamp:
- 04/12/07 13:28:19 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r1326 r1327 33 33 ("lapacklib", 34 34 "The lapack library name (e.g. for specialized AMD libraries", 35 None),35 "lapack"), 36 36 ("blasroot", 37 37 "The root directory where blas is installed", None), … … 39 39 ("blaslib", 40 40 "The blas library name (e.g. for specialized AMD libraries", 41 None),41 "blas"), 42 42 ("cfitsioroot", 43 43 "The root directory where cfistio is installed", None), 44 44 ("cfitsiolibdir", "The cfitsio library location", None), 45 ("cfitsiolib", "The cfitsio library name", "cfitsio"), 45 46 ("cfitsioincdir", "The cfitsio include location", None), 46 47 ("wcsroot", … … 106 107 if not conf.CheckLib("m"): Exit(1) 107 108 conf.env.AddCustomPackage('cfitsio') 108 if not conf.CheckLibWithHeader('cfitsio', 'fitsio.h', language='c'): 109 if not conf.CheckLibWithHeader(conf.env["cfitsiolib"], 110 'fitsio.h', language='c'): 109 111 Exit(1) 110 112 conf.env.AddCustomPackage('wcs') … … 117 119 blasname = conf.env.get("blaslib", "blas") 118 120 conf.env.AddCustomPackage("blas") 119 if not conf.CheckLib(blasname): Exit(1) 120 lapackname = conf.env.get("lapacklib", "lapack") 121 if not conf.CheckLib(conf.env["blaslib"]): Exit(1) 121 122 conf.env.AddCustomPackage("lapack") 122 if not conf.CheckLib( lapackname): Exit(1)123 if not conf.CheckLib(conf.env["lapacklib"]): Exit(1) 123 124 conf.env.CheckFortran(conf) 124 125 if not conf.CheckLib('stdc++', language='c++'): Exit(1)
Note:
See TracChangeset
for help on using the changeset viewer.