diff options
author | Stefan Holst <holstsn@users.sourceforge.net> | 2003-03-23 17:12:26 +0000 |
---|---|---|
committer | Stefan Holst <holstsn@users.sourceforge.net> | 2003-03-23 17:12:26 +0000 |
commit | a3d1eac9b0f3acac4a0bea2e31b2a26be7ae8c2f (patch) | |
tree | ccdcd2f2af05377d53c9e50054af018cf9b2f0c4 /configure.ac | |
parent | 7a43582b9692b0dca7b026553812373bf24d4db2 (diff) | |
download | xine-lib-a3d1eac9b0f3acac4a0bea2e31b2a26be7ae8c2f.tar.gz xine-lib-a3d1eac9b0f3acac4a0bea2e31b2a26be7ae8c2f.tar.bz2 |
png image support
CVS patchset: 4472
CVS date: 2003/03/23 17:12:26
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d4e7d6978..b6f5d8dc7 100644 --- a/configure.ac +++ b/configure.ac @@ -625,6 +625,17 @@ AC_CHECK_LIB(mng, mng_initialize, AM_CONDITIONAL(HAVE_LIBMNG, test x"$have_libmng" = "xyes") AC_SUBST(MNG_LIBS) +dnl --------------------------------------------- +dnl PNG lib. +dnl --------------------------------------------- +AC_CHECK_LIB(png, png_create_read_struct, + [ AC_CHECK_HEADER(png.h, + [ have_libpng=yes + PNG_LIBS="-lpng" ], + AC_MSG_RESULT([*** image decoder will be disabled ***]))], + AC_MSG_RESULT([*** image decoder will be disabled ***])) +AM_CONDITIONAL(HAVE_LIBPNG, test x"$have_libpng" = "xyes") +AC_SUBST(PNG_LIBS) dnl --------------------------------------------- dnl OSS style audio interface @@ -1421,6 +1432,9 @@ fi if test x"$enable_w32dll" = "xyes"; then echo " - w32dll" fi +if test x"$have_libpng" = "xyes"; then + echo " - png" +fi echo "" dnl audio decoders |