tightened png header check a bit

-Yosh
This commit is contained in:
Manish Singh 1998-04-29 11:07:33 +00:00
parent bb7b1ae3d2
commit 6289df3534
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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)],