]> git.eshelyaron.com Git - emacs.git/commit
Work if libpng is in /usr/local (2nd try)
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 13 Feb 2018 00:39:56 +0000 (16:39 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 13 Feb 2018 00:41:08 +0000 (16:41 -0800)
commitb8c415180895f155b4aaebd9cae65124c95b0c98
treed1742c6bf4846c71c7993e673477e63d0a7cc461
parent3a718ffca097b35218c3e041a94adff937f3052f
Work if libpng is in /usr/local (2nd try)

Problem reported by Werner Lemberg in:
https://lists.gnu.org/r/emacs-devel/2018-02/msg00304.html
with a further fix suggested by Glenn Morris in Bug#30431#14.
* configure.ac: Try pkg-config before libpng-config.
Adjust LIBPNG accordingly, and append -lz regardless of
whether it was pkg-config.
configure.ac