Subject: bug#18650: 25.0.50; Error message 'zlib library not found'

From: Dani Moncayo <[email-masked]>
Date: Tue, 7 Oct 2014 09:17:33 +0200

Recipe:
* If you have 'zlib1.dll' on path, rename it temporarily to something
  else.
* emacs -Q
* C-x C-f M-n

I see an annoying error message in the echo area: 'zlib library not
found'.

IIUC, Emacs should not show such message.  Instead, if it doesn't find
an optional library at runtime, it should just proceed without using the
feature(s) provided by the library.

In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2014-10-06 on LEG570
Repository revision: 118063
[email-masked]
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
 CPPFLAGS=-DGLYPH_DEBUG=1'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB

Important settings:
  value of $LANG: ESN
  locale-coding-system: cp1252

-- 
Dani Moncayo