--- configure.in.old 2004-08-26 15:19:09.404502200 +0200 +++ configure.in 2004-08-26 15:40:08.283123560 +0200 @@ -17,11 +17,26 @@ dnl incase it is broken for example. AC_ARG_ENABLE(shm, [ --enable-shm support shared memory if available [default=yes]], echo $enable_shm, enable_shm="yes") +AC_ARG_ENABLE(gdk, [ --enable-gdk enable gdk_imlib compilation [default=yes]],[ + if test x$enableval = xyes; then + disable_gdk="no" + else + disable_gdk="yes" + fi],disable_gdk=no) + +if test x$disable_gdk = xno; then + AC_MSG_RESULT(no) + AM_PATH_GTK(1.2.1,[ GDK_IMLIB="gdk_imlib utils"],[ GDK_IMLIB="" AC_MSG_WARN([*** gdk_imlib will not be built ***])]) +else + AC_MSG_RESULT(yes) + GDK_IMLIB="" +fi + AC_MSG_CHECKING(whether to build gmodulized imlib) AC_ARG_ENABLE(modules, [ --disable-modules Disables dynamic module loading],[