|
|
@@ -20,6 +20,8 @@ AC_SUBST(LT_VERSION) |
|
|
|
|
|
|
|
AM_PROG_CC_C_O |
|
|
|
AC_PROG_CPP |
|
|
|
AC_PROG_CXX |
|
|
|
AC_PROG_CXXCPP |
|
|
|
AC_PROG_OBJC |
|
|
|
_AM_DEPENDENCIES([OBJC]) |
|
|
|
OBJC="${CC}" |
|
|
@@ -148,7 +150,19 @@ if test "${ac_cv_my_have_gdi}" != "no"; then |
|
|
|
AC_DEFINE(USE_GDI, 1, Define to 1 to use GDI) |
|
|
|
fi |
|
|
|
AM_CONDITIONAL(USE_GDI, test "${ac_cv_my_have_gdi}" = "yes") |
|
|
|
AM_CONDITIONAL(USE_GDIPLUS, test "${ac_cv_my_have_gdi}" = "yes") |
|
|
|
|
|
|
|
# Use Windows GDI+? |
|
|
|
ac_cv_my_have_gdiplus="no" |
|
|
|
AC_LANG_PUSH(C++) |
|
|
|
AC_CHECK_HEADERS(Gdiplus.h, |
|
|
|
[ac_cv_my_have_gdiplus="yes"], |
|
|
|
[ac_cv_my_have_gdiplus="no"], |
|
|
|
[#include <windows.h>]) |
|
|
|
AC_LANG_POP(C++) |
|
|
|
if test "${ac_cv_my_have_gdiplus}" != "no"; then |
|
|
|
AC_DEFINE(USE_GDIPLUS, 1, Define to 1 to use GDI+) |
|
|
|
fi |
|
|
|
AM_CONDITIONAL(USE_GDIPLUS, test "${ac_cv_my_have_gdiplus}" = "yes") |
|
|
|
|
|
|
|
# Use Cocoa? |
|
|
|
ac_cv_my_have_cocoa="no" |
|
|
|