diff options
author | Rickard Green <[email protected]> | 2017-12-18 11:44:30 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-12-18 13:22:36 +0100 |
commit | ac49ae5c99993cb312645c26d3f07efa4c668bc8 (patch) | |
tree | a6297d28503a166d42ce3afef4886bbf1add7cfc /erts | |
parent | 3a14bb468b1f3f1f5bef3c18291fe0498429a417 (diff) | |
download | otp-ac49ae5c99993cb312645c26d3f07efa4c668bc8.tar.gz otp-ac49ae5c99993cb312645c26d3f07efa4c668bc8.tar.bz2 otp-ac49ae5c99993cb312645c26d3f07efa4c668bc8.zip |
Do not add -lz to LIBS; keep it in Z_LIB
Diffstat (limited to 'erts')
-rw-r--r-- | erts/configure.in | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/erts/configure.in b/erts/configure.in index 913315e402..cbebca97a3 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -1507,12 +1507,16 @@ error ],[ AC_MSG_RESULT(no) ]) + +if test "$Z_LIB" != ""; then + AC_MSG_CHECKING(for zlib inflateGetDictionary presence) + AC_SEARCH_LIBS(inflateGetDictionary, [z], + AC_DEFINE(HAVE_ZLIB_INFLATEGETDICTIONARY, 1, + [Define if your zlib version defines inflateGetDictionary.])) +fi + LIBS=$zlib_save_LIBS -AC_MSG_CHECKING(for zlib inflateGetDictionary presence) -AC_SEARCH_LIBS(inflateGetDictionary, [z], - AC_DEFINE(HAVE_ZLIB_INFLATEGETDICTIONARY, 1, - [Define if your zlib version defines inflateGetDictionary.])) fi AC_SUBST(Z_LIB) |