Index: configure.in =================================================================== RCS file: /cvs/tools/config_office/configure.in,v retrieving revision 1.53.2.3 diff -u -r1.53.2.3 configure.in --- configure.in 19 Jun 2003 12:24:15 -0000 1.53.2.3 +++ configure.in 21 Jun 2003 11:17:40 -0000 @@ -227,9 +227,11 @@ case "$_os" in "SunOS") test_x=yes + test_gtk=yes ;; "Linux") test_x=yes + test_gtk=yes ;; "GNU") test_x=yes @@ -1013,6 +1015,14 @@ else AC_MSG_WARN([Windows 4NT builds don't need tcsh]) TCSH="NO_TCSH_NEEDED" +fi +dnl =================================================================== +dnl Check whether the gtk 2.0 libraries are available. +dnl =================================================================== +if test "$test_gtk" = "yes"; then + pkg_modules="gtk+-2.0 >= 1.3.13" + PKG_CHECK_MODULES( GTK, [$pkg_modules] ) +dnl AM_PATH_GTK("1.3.13", AC_MSG_RESULT([GTK OK]), AC_MSG_WARN([GTK 2.0 not found]) fi dnl ===================================================================