|
|
@ -17,10 +17,10 @@ def configure(conf): |
|
|
|
conf.check_tool('node_addon') |
|
|
|
conf.env.append_value('CPPFLAGS', '-DNDEBUG') |
|
|
|
|
|
|
|
if conf.check(lib='gif', libpath=['/lib', '/usr/lib', '/usr/local/lib'], uselib_store='GIF', mandatory=False): |
|
|
|
if conf.check(lib='gif', libpath=['/lib', '/usr/lib', '/usr/local/lib', '/opt/local/lib'], uselib_store='GIF', mandatory=False): |
|
|
|
conf.env.append_value('CPPFLAGS', '-DHAVE_GIF=1') |
|
|
|
|
|
|
|
if conf.check(lib='jpeg', libpath=['/lib', '/usr/lib', '/usr/local/lib'], uselib_store='JPEG', mandatory=False): |
|
|
|
if conf.check(lib='jpeg', libpath=['/lib', '/usr/lib', '/usr/local/lib', '/opt/local/lib'], uselib_store='JPEG', mandatory=False): |
|
|
|
conf.env.append_value('CPPFLAGS', '-DHAVE_JPEG=1') |
|
|
|
|
|
|
|
if conf.env['USE_PROFILING'] == True: |
|
|
|