Browse Source

added a check for uuid.h to the scons build

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1344 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/heads/lighttpd-1.4.11-ssl-fixes
Jan Kneschke 15 years ago
parent
commit
0014a87d02
  1. 3
      SConstruct
  2. 2
      src/SConscript

3
SConstruct

@ -176,6 +176,9 @@ if 1:
if autoconf.CheckLibWithHeader('crypt', 'crypt.h', 'C'):
autoconf.env.Append(CPPFLAGS = [ '-DHAVE_CRYPT_H', '-DHAVE_LIBCRYPT' ], LIBCRYPT = 'crypt')
if autoconf.CheckLibWithHeader('uuid', 'uuid/uuid.h', 'C'):
autoconf.env.Append(CPPFLAGS = [ '-DHAVE_UUID_UUID_H', '-DHAVE_LIBUUID' ], LIBUUID = 'uuid')
if env['with_openssl']:
if autoconf.CheckLibWithHeader('ssl', 'openssl/ssl.h', 'C'):
autoconf.env.Append(CPPFLAGS = [ '-DHAVE_OPENSSL_SSL_H', '-DHAVE_LIBSSL'] , LIBS = [ 'ssl', 'crypto' ])

2
src/SConscript

@ -63,7 +63,7 @@ modules = {
'mod_auth' : {
'src' : [ 'mod_auth.c', 'http_auth_digest.c', 'http_auth.c' ],
'lib' : [ env['LIBCRYPT'], env['LIBLDAP'], env['LIBLBER'] ] },
'mod_webdav' : { 'src' : [ 'mod_webdav.c' ], 'lib' : [ env['LIBXML2'], env['LIBSQLITE3'] ] },
'mod_webdav' : { 'src' : [ 'mod_webdav.c' ], 'lib' : [ env['LIBXML2'], env['LIBSQLITE3'], env['LIBUUID'] ] },
'mod_mysql_vhost' : { 'src' : [ 'mod_mysql_vhost.c' ], 'lib' : [ env['LIBMYSQL'] ] },
'mod_trigger_b4_dl' : { 'src' : [ 'mod_trigger_b4_dl.c' ], 'lib' : [ env['LIBPCRE'] ] },
'mod_cml' : {

Loading…
Cancel
Save