summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan B├╝hler <stbuehler@web.de>2017-10-24 20:51:47 +0200
committerGlenn Strauss <gstrauss@gluelogic.com>2017-10-28 22:41:32 -0400
commitd57029c075e897c1477c0fb3ce13ef68ca1d2fcb (patch)
treebfd3cdd649d327edb6adc8e66fd50f3ce1b9dd75
parent7733376b5a7e07511d81b759e8a87759576a211f (diff)
downloadlighttpd1.4-d57029c075e897c1477c0fb3ce13ef68ca1d2fcb.tar.gz
lighttpd1.4-d57029c075e897c1477c0fb3ce13ef68ca1d2fcb.zip
[scons] move LIB* initializing block
-rw-r--r--SConstruct48
1 files changed, 24 insertions, 24 deletions
diff --git a/SConstruct b/SConstruct
index 20552179..3b6b9241 100644
--- a/SConstruct
+++ b/SConstruct
@@ -292,6 +292,30 @@ if 1:
else:
autoconf.env.Append(APPEND_LIBS = '')
+ autoconf.env.Append(
+ LIBBZ2 = '',
+ LIBCRYPT = '',
+ LIBCRYPTO = '',
+ LIBDBI = '',
+ LIBDL = '',
+ LIBFCGI = '',
+ LIBGDBM = '',
+ LIBGSSAPI_KRB5 = '',
+ LIBKRB5 = '',
+ LIBLBER = '',
+ LIBLDAP = '',
+ LIBLUA = '',
+ LIBMEMCACHED = '',
+ LIBMYSQL = '',
+ LIBPCRE = '',
+ LIBPGSQL = '',
+ LIBSQLITE3 = '',
+ LIBSSL = '',
+ LIBUUID = '',
+ LIBXML2 = '',
+ LIBZ = '',
+ )
+
autoconf.haveCHeaders([
'arpa/inet.h',
'crypt.h',
@@ -392,30 +416,6 @@ if 1:
autoconf.haveTypes(Split('pid_t size_t off_t'))
- autoconf.env.Append(
- LIBBZ2 = '',
- LIBCRYPT = '',
- LIBCRYPTO = '',
- LIBDBI = '',
- LIBDL = '',
- LIBFCGI = '',
- LIBGDBM = '',
- LIBGSSAPI_KRB5 = '',
- LIBKRB5 = '',
- LIBLBER = '',
- LIBLDAP = '',
- LIBLUA = '',
- LIBMEMCACHED = '',
- LIBMYSQL = '',
- LIBPCRE = '',
- LIBPGSQL = '',
- LIBSQLITE3 = '',
- LIBSSL = '',
- LIBUUID = '',
- LIBXML2 = '',
- LIBZ = '',
- )
-
# have crypt_r/crypt, and is -lcrypt needed?
if autoconf.CheckLib('crypt'):
autoconf.env.Append(CPPFLAGS = [ '-DHAVE_LIBCRYPT' ], LIBCRYPT = 'crypt')