aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2014-05-02 12:34:03 -0700
committerPaul Eggert2014-05-02 12:34:03 -0700
commit6f074205d30c6922db52fdf9a63b9e0467fd82c1 (patch)
treee739dc5474dbc555ff87c612bc4cc9b274890f1d /ChangeLog
parentcb9af965374fd1537b1b82705642c5c03d04c4d2 (diff)
downloademacs-6f074205d30c6922db52fdf9a63b9e0467fd82c1.tar.gz
emacs-6f074205d30c6922db52fdf9a63b9e0467fd82c1.zip
Consult libpng-config more consistently.
* configure.ac (edit_cflags): Move this up and to the top level, so that PNG_CFLAGS can use it too. (PNG_CFLAGS): New var. (png_longjmp): Use PNG_CFLAGS when checking. (LIBPNG): Be consistent about -lpng16 etc; e.g., don't use -lpng16 in some places and -lpng in others. Test libpng-config's exit status. If it succeeds, use its output rather than appending -lz -lm. * src/Makefile.in (PNG_CFLAGS): New var. (ALL_CFLAGS): Use it. * src/image.c [HAVE_PNG]: Don't worry about <libpng/png.h>, as CFLAGS now handles this. Fixes: debbugs:17339
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c79e1b01976..5b583849bd7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
12014-05-02 Paul Eggert <eggert@cs.ucla.edu>
2
3 Consult libpng-config more consistently (Bug#17339).
4 * configure.ac (edit_cflags): Move this up and to the top level,
5 so that PNG_CFLAGS can use it too.
6 (PNG_CFLAGS): New var.
7 (png_longjmp): Use PNG_CFLAGS when checking.
8 (LIBPNG): Be consistent about -lpng16 etc; e.g., don't use -lpng16
9 in some places and -lpng in others. Test libpng-config's exit
10 status. If it succeeds, use its output rather than appending -lz -lm.
11
12014-05-01 Glenn Morris <rgm@gnu.org> 122014-05-01 Glenn Morris <rgm@gnu.org>
2 13
3 * configure.ac (LIBPNG): Consult libpng-config for the precise 14 * configure.ac (LIBPNG): Consult libpng-config for the precise