Changeset 1902 for trunk/SConstruct


Ignore:
Timestamp:
08/26/10 12:04:42 (14 years ago)
Author:
Malte Marquarding
Message:

Need to define HAVE_LIBPYRAP not HAVE_PYRAP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r1873 r1902  
    148148    conf.env.AddCustomPackage('pyrap')
    149149    if conf.CheckLib(conf.env["pyraplib"], language='c++', autoadd=0):
    150         conf.env.Append(CPPFLAGS=['-DHAVE_PYRAP'])
     150        conf.env.Append(CPPFLAGS=['-DHAVE_LIBPYRAP'])
    151151        conf.env.PrependUnique(LIBS=env['pyraplib'])
    152152    else:
     
    158158        else:
    159159            conf.env.Exit(1)
     160        conf.env.Append(CPPFLAGS=['-DHAVE_LIBPYRAP'])
    160161        # compile in pyrap here...
    161162        conf.env["pyrapint"] = "#/external/libpyrap/pyrap-0.3.2"
Note: See TracChangeset for help on using the changeset viewer.