diff options
| author | Joakim Verona | 2013-08-13 12:31:38 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-08-13 12:31:38 +0200 |
| commit | 1272f71a5f83232f2b2c25a6d8ec24ebe1ea0a63 (patch) | |
| tree | f223691ca8a1b3e7248cfd0bcc3ed0342dc724ea | |
| parent | f1742c473f7bc90dbe65d523a895187b5e72853a (diff) | |
| parent | 31593bf6331776d08c1b439675b70a58492d657e (diff) | |
| download | emacs-1272f71a5f83232f2b2c25a6d8ec24ebe1ea0a63.tar.gz emacs-1272f71a5f83232f2b2c25a6d8ec24ebe1ea0a63.zip | |
merge from trunk
| -rwxr-xr-x | autogen/configure | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/autogen/configure b/autogen/configure index 54e8f290293..45d5b7954c9 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -13640,13 +13640,8 @@ fi | |||
| 13640 | HAVE_ZLIB=no | 13640 | HAVE_ZLIB=no |
| 13641 | LIBZ= | 13641 | LIBZ= |
| 13642 | if test "${with_zlib}" != "no"; then | 13642 | if test "${with_zlib}" != "no"; then |
| 13643 | if test "${HAVE_PNG}" = "yes"; then | 13643 | OLIBS=$LIBS |
| 13644 | ### PNG depends on zlib, so if we have PNG, we have zlib. | 13644 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inflateEnd" >&5 |
| 13645 | HAVE_ZLIB=yes | ||
| 13646 | else | ||
| 13647 | ### No PNG, so check zlib ourselves. | ||
| 13648 | OLIBS=$LIBS | ||
| 13649 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inflateEnd" >&5 | ||
| 13650 | $as_echo_n "checking for library containing inflateEnd... " >&6; } | 13645 | $as_echo_n "checking for library containing inflateEnd... " >&6; } |
| 13651 | if test "${ac_cv_search_inflateEnd+set}" = set; then : | 13646 | if test "${ac_cv_search_inflateEnd+set}" = set; then : |
| 13652 | $as_echo_n "(cached) " >&6 | 13647 | $as_echo_n "(cached) " >&6 |
| @@ -13702,16 +13697,19 @@ if test "$ac_res" != no; then : | |||
| 13702 | HAVE_ZLIB=yes | 13697 | HAVE_ZLIB=yes |
| 13703 | fi | 13698 | fi |
| 13704 | 13699 | ||
| 13705 | LIBS=$OLIBS | 13700 | LIBS=$OLIBS |
| 13706 | case $ac_cv_search_inflateEnd in | 13701 | case $ac_cv_search_inflateEnd in |
| 13707 | -*) LIBZ=$ac_cv_search_inflateEnd ;; | 13702 | -*) LIBZ=$ac_cv_search_inflateEnd ;; |
| 13708 | esac | 13703 | esac |
| 13709 | fi | ||
| 13710 | fi | 13704 | fi |
| 13711 | if test "${HAVE_ZLIB}" = "yes"; then | 13705 | if test "${HAVE_ZLIB}" = "yes"; then |
| 13712 | 13706 | ||
| 13713 | $as_echo "#define HAVE_ZLIB 1" >>confdefs.h | 13707 | $as_echo "#define HAVE_ZLIB 1" >>confdefs.h |
| 13714 | 13708 | ||
| 13709 | ### mingw32 doesn't use -lz, since it loads the library dynamically. | ||
| 13710 | if test "${opsys}" = "mingw32"; then | ||
| 13711 | LIBZ= | ||
| 13712 | fi | ||
| 13715 | fi | 13713 | fi |
| 13716 | 13714 | ||
| 13717 | 13715 | ||