/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 525 by johnpye, Fri Apr 21 05:35:59 2006 UTC revision 526 by johnpye, Fri Apr 21 13:47:31 2006 UTC
# Line 35  opts.Add(EnumOption( Line 35  opts.Add(EnumOption(
35      , ['DYNAMIC_PACKAGES', 'STATIC_PACKAGES', 'NO_PACKAGES']      , ['DYNAMIC_PACKAGES', 'STATIC_PACKAGES', 'NO_PACKAGES']
36  ))  ))
37    
38    opts.Add(BoolOption(
39        'WITH_GCCVISIBILITY'
40        ,"Whether to use GCC Visibility features (only applicable if available)"
41        ,True
42    ))
43    
44  # You can turn off building of Tcl/Tk interface  # You can turn off building of Tcl/Tk interface
45  opts.Add(BoolOption(  opts.Add(BoolOption(
46      'WITHOUT_TCLTK'      'WITHOUT_TCLTK'
# Line 678  if not conf.CheckFunc('isnan'): Line 684  if not conf.CheckFunc('isnan'):
684    
685  if conf.CheckGcc():  if conf.CheckGcc():
686      conf.env['HAVE_GCC']=True;      conf.env['HAVE_GCC']=True;
687      if conf.CheckGccVisibility():      if env['WITH_GCCVISIBILITY'] and conf.CheckGccVisibility():
688          conf.env['HAVE_GCCVISIBILITY']=True;          conf.env['HAVE_GCCVISIBILITY']=True;
689          conf.env.Append(CCFLAGS=['-fvisibility=hidden'])          conf.env.Append(CCFLAGS=['-fvisibility=hidden'])
690          conf.env.Append(CPPDEFINES=['HAVE_GCCVISIBILITY'])          conf.env.Append(CPPDEFINES=['HAVE_GCCVISIBILITY'])

Legend:
Removed from v.525  
changed lines
  Added in v.526

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22