Revision 7951, 1.1 KB checked in by munepi, 11 years ago (diff) |
---|
We use --with-system-libpng in configure options against libpng-1.2.50.
old | new | cat confdefs.h - <<_ACEOF >conftest.$ac_ |
---|---|---|
15766 | 15766 | int |
15767 | 15767 | main () |
15768 | 15768 | { |
15769 | png_ |
|
15769 | png_structp png; png_infop info; int err; | |
15770 | 15770 | err=png_get_image_width(png, info); |
15771 | 15771 | ; |
15772 | 15772 | return 0; |
old | new | AC_LINK_IFELSE([AC_LANG_PROGRAM([[#inclu |
---|---|---|
75 | 75 | |
76 | 76 | KPSE_ADD_FLAGS([libpng]) |
77 | 77 | AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <png.h>]], |
78 | [[png_ |
|
78 | [[png_structp png; png_infop info; int err; | |
79 | 79 | err=png_get_image_width(png, info);]])], |
80 | 80 | [], |
81 | 81 | [AC_MSG_ERROR([Sorry, you need libpng])]) |