|
|
@ -34,8 +34,8 @@ def configure(conf): |
|
|
|
if not conf.env.HAVE_SDL2: |
|
|
|
if not conf.env.HAVE_SDL2: |
|
|
|
conf.fatal('SDL2 not availiable! If you want to build dedicated server, specify --dedicated') |
|
|
|
conf.fatal('SDL2 not availiable! If you want to build dedicated server, specify --dedicated') |
|
|
|
conf.env.append_unique('DEFINES', 'XASH_SDL') |
|
|
|
conf.env.append_unique('DEFINES', 'XASH_SDL') |
|
|
|
|
|
|
|
|
|
|
|
conf.check_cc(header_name='zlib.h', uselib_store='ZLIB') |
|
|
|
conf.check_cc(header_name='zlib.h', uselib_store='ZLIB') |
|
|
|
conf.check_cc(lib='z', uselib_store='ZLIB') |
|
|
|
conf.check_cc(lib='z', uselib_store='ZLIB') |
|
|
|
|
|
|
|
|
|
|
|
if conf.env.SINGLE_BINARY: |
|
|
|
if conf.env.SINGLE_BINARY: |
|
|
|