mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
pngvalid: backport autoconf exit(77) fix
Signed-off-by: John Bowler <jbowler@acm.org>
This commit is contained in:
parent
73adedf0e4
commit
1cef0c0eae
@ -62,10 +62,10 @@
|
|||||||
/* 1.6.1 added support for the configure test harness, which uses 77 to indicate
|
/* 1.6.1 added support for the configure test harness, which uses 77 to indicate
|
||||||
* a skipped test, in earlier versions we need to succeed on a skipped test, so:
|
* a skipped test, in earlier versions we need to succeed on a skipped test, so:
|
||||||
*/
|
*/
|
||||||
#if PNG_LIBPNG_VER < 10601
|
#if PNG_LIBPNG_VER >= 10601 && defined(HAVE_CONFIG_H)
|
||||||
# define SKIP 0
|
|
||||||
#else
|
|
||||||
# define SKIP 77
|
# define SKIP 77
|
||||||
|
#else
|
||||||
|
# define SKIP 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* pngvalid requires write support and one of the fixed or floating point APIs.
|
/* pngvalid requires write support and one of the fixed or floating point APIs.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user