Changeset 1354 for trunk/SConstruct
- Timestamp:
- 04/26/07 15:00:04 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r1335 r1354 48 48 "The root directory where wcs is installed", None), 49 49 ("wcslibdir", "The wcs library location", None), 50 ("rpfitslib", "The rpfits library name", "rpfits"), 50 51 ("rpfitsroot", 51 52 "The root directory where rpfits is installed", None), 52 53 ("rpfitslibdir", "The rpfits library location", None), 53 54 # ("rpfitsincdir", "The rpfits include location", None), 54 55 EnumOption("mode", "The type of build.", "debug", 55 56 ["release","debug"], ignorecase=1), … … 92 93 "include", "casacore")) 93 94 if not conf.CheckLib("casa_casa", language='c++'): Exit(1) 94 conf.env.PrependUnique(LIBS=["casa_ms", "casa_components", "casa_coordinates", "casa_lattices", "casa_fits", "casa_measures", "casa_scimath", "casa_scimath_f", "casa_tables", "casa_mirlib"]) 95 conf.env.PrependUnique(LIBS=["casa_ms", "casa_components", 96 "casa_coordinates", "casa_lattices", 97 "casa_fits", "casa_measures", "casa_scimath", 98 "casa_scimath_f", "casa_tables", 99 "casa_mirlib"]) 95 100 conf.env.Append(CPPPATH=[distutils.sysconfig.get_python_inc()]) 96 101 if not conf.CheckHeader("Python.h", language='c'): … … 116 121 Exit(1) 117 122 conf.env.AddCustomPackage('rpfits') 118 if not conf.CheckLib("rpfits"): Exit(1) 123 if not conf.CheckLib(conf.env["rpfitslib"], language="c"): 124 Exit(1) 119 125 120 126 # test for blas/lapack
Note:
See TracChangeset
for help on using the changeset viewer.