[Tux4kids-tuxtype-dev] t4k_common configure.ac

Michael kensington at astralcloak.net
Thu Dec 8 13:17:19 UTC 2011


Hi there,

I was poking around t4k_common/configure.ac and ran into this:

if test "x$with_rsvg" = xyes; then
PKG_CHECK_MODULES([LIBPNG],
        [libpng >= 1.2.37],
        [],
        [AC_MSG_FAILURE([libpng test failed (--without-rsvg to disable svg
support)])])
CFLAGS="$CFLAGS $LIBPNG_CFLAGS"
LIBS="$LIBS $LIBPNG_LIBS"
AC_DEFINE([HAVE_LIBPNG],[1],[Define to 1 if you have the `libpng` library])
fi

Is this correct? t4k_loaders.c seems to imply that the libpng usage is used
directly and separately from librsvg, thus can be toggled independently.

Best regards,
Michael




More information about the Tux4kids-tuxtype-dev mailing list