Changeset 1354 for trunk/SConstruct


Ignore:
Timestamp:
04/26/07 15:00:04 (18 years ago)
Author:
mar637
Message:

tidy up; added custom rpfits lib name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r1335 r1354  
    4848                 "The root directory where wcs is installed", None),
    4949                ("wcslibdir", "The wcs library location", None),
     50                ("rpfitslib", "The rpfits library name", "rpfits"),
    5051                ("rpfitsroot",
    5152                 "The root directory where rpfits is installed", None),
    5253                ("rpfitslibdir", "The rpfits library location", None),
    53                
     54#               ("rpfitsincdir", "The rpfits include location", None),
    5455                EnumOption("mode", "The type of build.", "debug",
    5556                           ["release","debug"], ignorecase=1),
     
    9293                                               "include", "casacore"))
    9394    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"])
    95100    conf.env.Append(CPPPATH=[distutils.sysconfig.get_python_inc()])
    96101    if not conf.CheckHeader("Python.h", language='c'):
     
    116121        Exit(1)
    117122    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)
    119125
    120126    # test for blas/lapack
Note: See TracChangeset for help on using the changeset viewer.