Ignore:
Timestamp:
Sep 25, 2011, 12:21:54 AM (8 years ago)
Author:
sam
Message:

image: add a GDI+ loader.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r960 r981  
    264264
    265265
     266dnl Use Windows GDI+?
     267ac_cv_my_have_gdiplus="no"
     268AC_LANG_PUSH(C++)
     269AC_CHECK_HEADERS(Gdiplus.h,
     270 [ac_cv_my_have_gdiplus="yes"
     271  LOL_LIBS="${LOL_LIBS} -lgdiplus"],
     272 [ac_cv_my_have_gdiplus="no"],
     273 [#include <algorithm>
     274  using std::min;
     275  using std::max;
     276  #include <windows.h>])
     277AC_LANG_POP(C++)
     278if test "${ac_cv_my_have_gdiplus}" != "no"; then
     279  AC_DEFINE(USE_GDIPLUS, 1, Define to 1 to use GDI+)
     280fi
     281AM_CONDITIONAL(USE_GDIPLUS, test "${ac_cv_my_have_gdiplus}" = "yes")
     282
     283
    266284dnl Use libcaca? (required for font generation)
    267285ac_cv_my_have_caca="no"
Note: See TracChangeset for help on using the changeset viewer.