mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-19 22:34:37 +00:00
tightened png header check a bit
-Yosh
This commit is contained in:
parent
bb7b1ae3d2
commit
6289df3534
|
@ -1,3 +1,7 @@
|
|||
Wed Apr 29 04:05:34 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* configure.in: tightened png header check
|
||||
|
||||
Wed Apr 29 03:46:44 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* plug-ins/animationplay/animationplay.c
|
||||
|
|
|
@ -164,7 +164,7 @@ dnl Test for libpng
|
|||
if test "$png_ok" = yes; then
|
||||
AC_MSG_CHECKING([for png_structp in png.h])
|
||||
AC_TRY_COMPILE([#include <png.h>],
|
||||
[png_structp pp; png_infop info; png_colorp cmap;],
|
||||
[png_structp pp; png_infop info; png_colorp cmap; png_create_read_struct;],
|
||||
png_ok=yes,
|
||||
png_ok=no)
|
||||
AC_MSG_RESULT($png_ok)
|
||||
|
@ -285,6 +285,7 @@ if test $gimp_ok = no; then
|
|||
fi
|
||||
|
||||
dnl Check for random number functions
|
||||
LIBUCB_LIB=""
|
||||
AC_CHECK_FUNC(random, [
|
||||
AC_DEFINE(RAND_FUNC, random)
|
||||
AC_DEFINE(SRAND_FUNC, srandom)],
|
||||
|
|
Loading…
Reference in a new issue