aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Verona2013-08-13 12:31:38 +0200
committerJoakim Verona2013-08-13 12:31:38 +0200
commit1272f71a5f83232f2b2c25a6d8ec24ebe1ea0a63 (patch)
treef223691ca8a1b3e7248cfd0bcc3ed0342dc724ea
parentf1742c473f7bc90dbe65d523a895187b5e72853a (diff)
parent31593bf6331776d08c1b439675b70a58492d657e (diff)
downloademacs-1272f71a5f83232f2b2c25a6d8ec24ebe1ea0a63.tar.gz
emacs-1272f71a5f83232f2b2c25a6d8ec24ebe1ea0a63.zip
merge from trunk
-rwxr-xr-xautogen/configure22
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
13640HAVE_ZLIB=no 13640HAVE_ZLIB=no
13641LIBZ= 13641LIBZ=
13642if test "${with_zlib}" != "no"; then 13642if 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; }
13651if test "${ac_cv_search_inflateEnd+set}" = set; then : 13646if 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
13703fi 13698fi
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
13710fi 13704fi
13711if test "${HAVE_ZLIB}" = "yes"; then 13705if 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
13715fi 13713fi
13716 13714
13717 13715