summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2022-01-02 23:57:58 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2022-01-03 01:42:05 -0500
commitc7c342017f3876b3277ab231bc8b49b55c86683e (patch)
tree20bf5305ba3281732a69ab86b1307d8210e4e165 /SConstruct
parentd8bceb1472fddfab56437449a5be65341a3b4454 (diff)
downloadlighttpd-git-c7c342017f3876b3277ab231bc8b49b55c86683e.tar.gz
[build] feature consistency between build types
upate config.h.cmake for missing defines minor adjustments to other builds for features consistency
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct10
1 files changed, 3 insertions, 7 deletions
diff --git a/SConstruct b/SConstruct
index 18c9d059..c2000e5d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -424,7 +424,6 @@ if 1:
'getrlimit',
'getuid',
'inet_aton',
- 'inet_ntop',
'inet_pton',
'issetugid',
'jrand48',
@@ -441,11 +440,9 @@ if 1:
'mkostemp',
'mmap',
'munmap',
- 'pathconf',
'pipe2',
'poll',
'port_create',
- 'posix_fadvise',
'pread',
'preadv',
'pwrite',
@@ -477,7 +474,6 @@ if 1:
# have crypt_r/crypt, and is -lcrypt needed?
if autoconf.CheckLib('crypt'):
autoconf.env.Append(
- CPPFLAGS = [ '-DHAVE_LIBCRYPT' ],
LIBCRYPT = 'crypt',
)
with autoconf.restoreEnvLibs():
@@ -535,7 +531,7 @@ if 1:
if not autoconf.CheckLibWithHeader('dbi', 'dbi/dbi.h', 'C'):
fail("Couldn't find dbi")
autoconf.env.Append(
- CPPFLAGS = [ '-DHAVE_DBI_H', '-DHAVE_LIBDBI' ],
+ CPPFLAGS = [ '-DHAVE_DBI' ],
LIBDBI = 'dbi',
)
@@ -620,7 +616,7 @@ if 1:
mysql_config = autoconf.checkProgram('mysql', 'mysql_config')
if not autoconf.CheckParseConfigForLib('LIBMYSQL', mysql_config + ' --cflags --libs'):
fail("Couldn't find mysql")
- autoconf.env.Append(CPPFLAGS = [ '-DHAVE_MYSQL_H', '-DHAVE_LIBMYSQL' ])
+ autoconf.env.Append(CPPFLAGS = [ '-DHAVE_MYSQL' ])
if env['with_nss']:
nss_config = autoconf.checkProgram('nss', 'nss-config')
@@ -706,7 +702,7 @@ if 1:
if env['with_pgsql']:
if not autoconf.CheckParseConfigForLib('LIBPGSQL', 'pkg-config libpq --cflags --libs'):
fail("Couldn't find libpq")
- autoconf.env.Append(CPPFLAGS = [ '-DHAVE_PGSQL_H', '-DHAVE_LIBPGSQL' ])
+ autoconf.env.Append(CPPFLAGS = [ '-DHAVE_PGSQL' ])
if env['with_sasl']:
if not autoconf.CheckLibWithHeader('sasl2', 'sasl/sasl.h', 'C'):