This commit is contained in:
Werner Lemberg 2013-07-31 22:55:50 +02:00
parent 2b29ed660a
commit cc34efca99
2 changed files with 3 additions and 3 deletions

View File

@ -293,8 +293,8 @@ if test x$with_png != xno; then
either set the LIBPNG_CFLAGS and LIBPNG_LDFLAGS environment variables,
or pass `--without-png' to the `configure' script.])
elif test ${cross_compiling} = yes; then
AC_MSG_ERROR([`libpng-config' should not be used in cross-building,
set the LIBPNG_CFLAGS and LIBPNG_LDFLAGS environment,
AC_MSG_ERROR([`libpng-config' should not be used in cross-building;
either set the LIBPNG_CFLAGS and LIBPNG_LDFLAGS environment variables,
or pass `--without-png' to the `configure' script.])
fi
LIBPNG_CFLAGS="`libpng-config --cflags`"

View File

@ -386,7 +386,7 @@
/* Short-circuit transparent color to avoid div-by-zero. */
if (!a)
if ( !a )
return 0;
/*