Changeset 711


Ignore:
Timestamp:
Mar 1, 2011, 1:13:25 AM (9 years ago)
Author:
sam
Message:

build: look for libpng, even though we don't use it yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r700 r711  
    141141
    142142
     143dnl Use libpng? (replacement for SDL_image)
     144ac_cv_my_have_libpng="no"
     145PKG_CHECK_MODULES(LIBPNG, libpng, [ac_cv_my_have_libpng="yes"], [:])
     146if test "${ac_cv_my_have_libpng}" != "no"; then
     147  AC_DEFINE(USE_LIBPNG, 1, Define to 1 to use libpng)
     148fi
     149AM_CONDITIONAL(USE_LIBPNG, test "${ac_cv_my_have_libpng}" != "no")
     150
     151
    143152dnl Use libcaca? (required for font generation)
    144153ac_cv_my_have_caca="no"
     
    175184
    176185dnl How to use the Lol Engine inside this tree
    177 LOL_CFLAGS="$LOL_CFLAGS -I \$(top_srcdir)/src $SDL_CFLAGS $EGL_CFLAGS"
    178 LOL_LIBS="$LOL_LIBS $SDL_LIBS $EGL_LIBS"
     186LOL_CFLAGS="$LOL_CFLAGS -I \$(top_srcdir)/src $SDL_CFLAGS $EGL_CFLAGS $LIBPNG_CFLAGS"
     187LOL_LIBS="$LOL_LIBS $SDL_LIBS $EGL_LIBS $LIBPNG_LIBS"
    179188
    180189AC_SUBST(MATH_LIBS)
Note: See TracChangeset for help on using the changeset viewer.