Lines 2011-2017
Link Here
|
2011 |
AC_MSG_RESULT(${ENABLE_SYSTEM_GTK}) |
2011 |
AC_MSG_RESULT(${ENABLE_SYSTEM_GTK}) |
2012 |
if test x"${ENABLE_SYSTEM_GTK}" = "xyes"; then |
2012 |
if test x"${ENABLE_SYSTEM_GTK}" = "xyes"; then |
2013 |
dnl Check for Gtk+ headers and libraries. |
2013 |
dnl Check for Gtk+ headers and libraries. |
2014 |
PKG_CHECK_MODULES(GTK, gtk+-2.0,[GTK_FOUND=yes],[GTK_FOUND=no]) |
2014 |
dnl Explicitly include gthread-2.0 to get g_thread_init even on glib 2.32 |
|
|
2015 |
dnl where it is deprecated. |
2016 |
PKG_CHECK_MODULES(GTK, gtk+-2.0 gthread-2.0,[GTK_FOUND=yes],[GTK_FOUND=no]) |
2015 |
if test "x${GTK_FOUND}" = xno |
2017 |
if test "x${GTK_FOUND}" = xno |
2016 |
then |
2018 |
then |
2017 |
AC_MSG_ERROR([Could not find Gtk+; install Gtk+ or build with --disable-system-gtk to use the in-tree headers.]) |
2019 |
AC_MSG_ERROR([Could not find Gtk+; install Gtk+ or build with --disable-system-gtk to use the in-tree headers.]) |