Commit 6289df35 authored by Manish Singh's avatar Manish Singh

tightened png header check a bit

-Yosh
parent bb7b1ae3
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)],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment