Changeset 3126


Ignore:
Timestamp:
05/16/17 15:13:24 (8 years ago)
Author:
Malte Marquarding
Message:

Remove redundant wcslib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r3034 r3126  
    4848                ("cfitsiolib", "The cfitsio library name", "cfitsio"),
    4949                ("cfitsioincdir", "The cfitsio include location", None),
    50                 ("wcslib", "The wcs library name", "wcs"),
    51                 ("wcsroot",
    52                  "The root directory where wcs is installed", None),
    53                 ("wcslibdir", "The wcs library location", None),
    5450                ("rpfitslib", "The rpfits library name", "rpfits"),
    5551                ("rpfitsroot",
     
    126122        if not conf.CheckLib(libname, language='c'):
    127123            Exit(1)
    128     conf.env.AddCustomPackage('wcs')
    129     libname = conf.env["wcslib"]
    130     if libname.find(".") > -1 and os.path.exists(libname):
    131         conf.env.AppendUnique(LIBS=[env.File(libname)])
    132     else:
    133         if not conf.CheckLibWithHeader(libname,
    134                                        'wcslib/wcs.h', language='c'):
    135             Exit(1)
    136124
    137125    conf.env.AddCustomPackage('rpfits')
Note: See TracChangeset for help on using the changeset viewer.