| # | Line 2 | Line 2 | import os | |
|---|---|---|
| 2 | ||
| 3 | from SCons.SConf import SConf # aka Configure | |
| 4 | ||
| 5 | + | def find_radlib(env): |
| 6 | + | v = env.FindFile('helvet.fnt', './lib') |
| 7 | + | if not v: |
| 8 | + | print ''' |
| 9 | + | Radiance auxiliary support files not found. |
| 10 | + | -> Download from radiance-online.org and extract. |
| 11 | + | ''' |
| 12 | + | env.Exit() |
| 13 | + | |
| 14 | def find_x11(env): | |
| 15 | # Search for libX11, remember the X11 library and include dirs | |
| 16 | for d in ('/usr/X11R6', '/usr/X11', '/usr/openwin'): | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |