Mercurial > dwindows
diff configure.in @ 2204:b86ae2abb3b3
GTK: Added GTK2 support for GResource embedded images.
Removed the App ID from the resource namespace. I assume the namespace is
per process and this should be sufficient, but can revisit adding the
application name or application ID to the resource namespace later.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 29 Nov 2020 05:29:11 +0000 |
parents | 12fb7f32f3a9 |
children | 6cdb907755cb |
line wrap: on
line diff
--- a/configure.in Sun Nov 29 04:17:58 2020 +0000 +++ b/configure.in Sun Nov 29 05:29:11 2020 +0000 @@ -256,14 +256,11 @@ AM_PATH_GLIB(1.2.0,,AC_MSG_ERROR(AC_MSG_ERROR(Cannot find GLIB: Is glib-config in path?))) AM_PATH_GTK(1.2.0,,AC_MSG_ERROR(AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?)), gthread) AM_PATH_GDK_IMLIB(1.9.4, AC_DEFINE(USE_IMLIB), AC_MSG_ERROR(IMLIB not found or too old. Dynamic Windows cannot build without it.)) + CFLAGS="$CFLAGS -DDW_INCLUDE_DEPRECATED_RESOURCES=1" else GTK_CFLAGS=`$PKG_CFG --cflags $GTK_PACKAGES` GTK_LIBS=`$PKG_CFG --libs $GTK_PACKAGES` - if test $with_gtk2 = "yes"; then - CFLAGS="$CFLAGS -DDW_INCLUDE_DEPRECATED_RESOURCES=1" - else - PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.32.0], [DW_GRESOURCE="enabled"], [CFLAGS="$CFLAGS -DDW_INCLUDE_DEPRECATED_RESOURCES=1"]) - fi + PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.32.0], [DW_GRESOURCE="enabled"], [CFLAGS="$CFLAGS -DDW_INCLUDE_DEPRECATED_RESOURCES=1"]) fi fi