]> granicus.if.org Git - libass/commit
test: fix compilation with libpng 1.5, rename configure switch
authorGrigori Goronzy <greg@blackbox>
Wed, 16 Feb 2011 18:58:15 +0000 (19:58 +0100)
committerGrigori Goronzy <greg@blackbox>
Wed, 16 Feb 2011 18:58:15 +0000 (19:58 +0100)
commitff88d8bdb9bad44230368fb9420c09ecb5b812da
tree68d043f93c130564c5921ef3575599601ab8b481
parent7a9b40bfe0ec240a7e74b36e2e2f284d00b1023c
test: fix compilation with libpng 1.5, rename configure switch

libpng 1.5 renamed the jmpbuf variable to jmp_buf. Since direct access
to this variable is deprecated, it makes more sense to use the function
png_jmpbuf() instead.

Also, rename the --enable-png switch to --enable-test to make clear this
is a debugging option.

Initial patch by Alexis Ballier, aballier AT gentoo DOT org.
configure.ac
test/test.c