Build fails with libpng 1.4.x
|Reported by:||vog||Owned by:|
On a system with libpng 1.4.x, a "configure --with-libpng=sys" fails with:
checking for png.h > 0.90...
checking for png.h... yes
checking for png_check_sig in -lpng... no
configure: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version
It checks for the deprecated function png_check_sig(). Since that function isn't used by wxWidgets anyway, checking instead for png_sig_cmp() solves the problem.
The attached patch does exactly that. Note that it changes just configure.ac, so the configure script needs to be recreated after applying the patch.
Change History (5)
Changed 6 years ago by vog
comment:1 follow-up: ↓ 4 Changed 6 years ago by vadz
- Resolution set to port to stable
- Status changed from new to portneeded
comment:3 Changed 6 years ago by vadz
- Resolution changed from port to stable to fixed
- Status changed from portneeded to closed