GTK eradication -- the build chain.
authorSteve Youngs <steve@sxemacs.org>
Tue, 10 Jan 2012 07:43:57 +0000 (17:43 +1000)
committerSteve Youngs <steve@sxemacs.org>
Tue, 10 Jan 2012 07:43:57 +0000 (17:43 +1000)
The GTK code in SXEmacs has been stagnating since 2000, 4 years before
SXEmacs even came into existance.  It was GTK version 1.  Nobody, nowhere
uses GTKv1 any more, so this stuff is going to /dev/null hell!

* src/ui/Makefile.am: Don't add `Gtk' to SUBDIRS

* src/Makefile.am: Don't add gtk to pdumplibs.

* lisp/Makefile.am (corelispels): Remove all the gtk/gnome elisp.

* lisp/dumped-lisp.el: Don't dump any gtk lisp.

* m4/sxe-summary.m4: No more gtk.

* m4/sxe-gui.m4 (SXE_CHECK_XT_DEPENDENCIES): Remove gtk stuff.

* m4/sxe-gui.m4 (SXE_CHECK_GTK_DEPENDENCIES): Removed.

* m4/sxe-gui.m4 (SXE_CHECK_UI_SUFFICIENCY): Don't subst gtk obj's

* configure.ac: Remove all gtk nonsense.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
configure.ac
lisp/Makefile.am
lisp/dumped-lisp.el
m4/sxe-gui.m4
m4/sxe-summary.m4
src/Makefile.am
src/ui/Makefile.am

index 0cfe3e9..dae2446 100644 (file)
@@ -480,30 +480,26 @@ OG_ARG_WITH([external-widget],
 OG_ARG_WITH([menubars],
        AS_HELP_STRING([--with-menubars=TYPE],
                [Type of menubars to use.  The Lucid menubars emulate
-               Motif (mostly) but are faster.
-               *WARNING*  The gtk menubar is gtk-1.2 only and unmaintained.]),
-       [lucid], [Lucid], [lucid gtk no])
+               Motif (mostly) but are faster.]),
+       [lucid], [Lucid], [lucid no])
 
 OG_ARG_WITH([scrollbars],
        AS_HELP_STRING([--with-scrollbars=TYPE],
                [Type of scrollbars to use.
-               *WARNING*  The Motif scrollbars are currently broken.
-               *WARNING*  The gtk scrollbars are gtk-1.2 only and unmaintained.]),
-       [lucid], [Lucid], [lucid motif athena gtk no])
+               *WARNING*  The Motif scrollbars are currently broken.]),
+       [lucid], [Lucid], [lucid motif athena no])
 
 OG_ARG_WITH([dialogs],
        AS_HELP_STRING([--with-dialogs=TYPE],
                [Type of dialog boxes to use.  Athena dialogs will
-                 be used if Athena can be found.
-                *WARNING*  The gtk dialogs are gtk-1.2 only and unmaintained.]),
-       [athena], [], [athena motif gtk no])
+                 be used if Athena can be found.]),
+       [athena], [], [athena motif no])
 
 OG_ARG_WITH([widgets],
        AS_HELP_STRING([--with-widgets=TYPE],
                [Type of native widgets to use.  Athena widgets will
-               be used if Athena can be found.
-               *WARNING*  The gtk widgets are gtk-1.2 only and unmaintained.]),
-       [athena], [], [athena motif gtk no])
+               be used if Athena can be found.]),
+       [athena], [], [athena motif no])
 
 OG_ARG_WITH([athena],
        AS_HELP_STRING([--with-athena=TYPE],
@@ -515,18 +511,6 @@ OG_ARG_WITH([xim],
                [Type of Mule input method to use.]),
        [auto], [Autodetect], [yes no xlib motif])
 
-OG_ARG_WITH([gtk],
-       AS_HELP_STRING([--with-gtk],
-               [Support GTK (version 1.x) on the X Window System.
-               (EXPERIMENTAL)]),
-       [no], [NO])
-
-OG_ARG_WITH([gnome],
-       AS_HELP_STRING([--with-gnome],
-               [Support GNOME (version 1.x) on the X Window System.
-               (EXPERIMENTAL)]),
-       [no], [NO])
-
 OG_ARG_WITH([wmcommand],
        AS_HELP_STRING([--with-wmcommand],
                [Compile with realized leader window which will
@@ -2224,131 +2208,6 @@ dnl ----------------------
 
 AS_MESSAGE([checking for specified window system])
 
-dnl Autodetection of Gdk libraries and includes
-dnl -------------------------------------------
-dnl On some systems (FreeBSD springs to mind), they use
-dnl versions on the utility routines, so instead of gtk-config
-dnl you must use gtk12-config, etc, etc.
-
-GNOME_CONFIG=no
-GTK_CONFIG=no
-
-if test "$with_gnome" != "no"; then
-   AC_MSG_CHECKING(for GNOME configuration script)
-   for possible in gnome-config
-   do
-      possible_version=`${possible} --version 2> /dev/null`
-      if test "x${possible_version}" != "x"; then
-              GNOME_CONFIG="${possible}"
-              with_gnome=yes
-              with_gtk=yes
-              break
-      fi
-   done
-   AC_MSG_RESULT([${GNOME_CONFIG}])
-fi
-
-if test "${GNOME_CONFIG}" != "no"; then
-      GNOME_LIBS=`${GNOME_CONFIG} --libs gnomeui`
-      GNOME_CFLAGS=`${GNOME_CONFIG} --cflags gnomeui`
-      AC_DEFINE([HAVE_GNOME], [1], [Description here!])
-      SXE_APPEND(${GNOME_LIBS}, libs_gtk)
-      SXE_APPEND_UNDUP(${GNOME_CFLAGS}, c_switch_gtk)
-fi
-
-if test "$with_gtk" != "no";then
-   AC_MSG_CHECKING(for GTK configuration script)
-   for possible in gtk12-config gtk14-config gtk-config
-   do
-      possible_version=`${possible} --version 2> /dev/null`
-      if test "x${possible_version}" != "x"; then
-              GTK_CONFIG="${possible}"
-             case "${possible_version}" in
-               1.0.*) AC_MSG_WARN([GTK 1.2 is required, please upgrade your version of GTK.]); with_gtk=no;;
-               1.3.*) AC_MSG_WARN([GTK 1.3 is not supported right now]); with_gtk=no;;
-               1.2.*)
-                       with_gtk=yes
-                       break
-                       ;;
-               *)     AC_MSG_WARN([Found unsupported version of GTK: $possible_version]);;
-             esac
-      fi
-   done
-   AC_MSG_RESULT([${GTK_CONFIG}])
-fi
-
-if test "${GTK_CONFIG}" != "no"; then
-      AC_MSG_CHECKING(gtk version)
-      GTK_VERSION=`${GTK_CONFIG} --version`
-      AC_MSG_RESULT(${GTK_VERSION})
-
-      AC_MSG_CHECKING(gtk libs)
-      GTK_LIBS=`${GTK_CONFIG} --libs`
-      SXE_APPEND(${GTK_LIBS}, libs_gtk)
-      AC_MSG_RESULT(${GTK_LIBS})
-
-      AC_MSG_CHECKING(gtk cflags)
-      GTK_CFLAGS=`${GTK_CONFIG} --cflags`
-      if test "$GCC" = "yes"; then
-       GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow"
-      fi
-      SXE_APPEND_UNDUP(${GTK_CFLAGS}, c_switch_gtk)
-      AC_MSG_RESULT(${GTK_CFLAGS})
-
-      AC_CHECK_LIB(gdk_imlib, main, SXE_PREPEND(-lgdk_imlib, libs_gtk))
-      AC_CHECK_LIB(Imlib, Imlib_init, SXE_APPEND(-lImlib, libs_gtk))
-      AC_CHECK_FUNCS(gdk_imlib_init)
-
-      AC_DEFINE([HAVE_XPM], [1], [Description here!])
-      AC_DEFINE([HAVE_GTK], [1], [Description here!])
-      AC_SUBST(GTK_CONFIG)
-
-      window_system=gtk
-      with_gtk=yes
-      if test "$with_x11" != "no"; then
-       AC_MSG_WARN([Configuring Gtk, this means:
-*** --with-athena  will have no effect
-*** --with-scrollbars  has been turned into a boolean option
-*** --with-menubars  has been turned into a boolean option
-*** --with-dialogs  has been turned into a boolean option
-*** --with-widgets  has been turned into a boolean option.])
-       with_x11=no
-      fi
-
-      test "${with_scrollbars}" != "no" && with_scrollbars=gtk
-      test "${with_toolbars}" != "no" && with_toolbars=gtk
-      test "${with_menubars}" != "no" && with_menubars=gtk
-      test "${with_dialogs}" != "no" && with_dialogs=gtk
-      test "${with_widgets}" != "no" && with_widgets=gtk
-
-      SXE_ADD_SXEUIGTK_OBJS(console-gtk.o device-gtk.o event-gtk.o frame-gtk.o)
-      SXE_ADD_SXEUIGTK_OBJS(objects-gtk.o redisplay-gtk.o glyphs-gtk.o)
-      SXE_ADD_SXEUIGTK_OBJS(select-gtk.o gccache-gtk.o)
-      SXE_ADD_SXEUIGTK_OBJS(gtk-xemacs.o ui-gtk.o)
-
-      dnl Check for libglade support (it rocks)
-      OLD_CFLAGS="${CFLAGS}"
-      OLD_CPPFLAGS="${CPPFLAGS}"
-      OLD_LDFLAGS="${LDFLAGS}"
-      CFLAGS="${GTK_CFLAGS} ${CFLAGS}"
-      CPPFLAGS="${GTK_CFLAGS} ${CFLAGS}"
-      LDFLAGS="${LDFLAGS} ${GTK_LIBS}"
-      AC_CHECK_HEADERS(glade/glade.h glade.h)
-      AC_CHECK_LIB(xml, main, SXE_PREPEND(-lxml, libs_gtk))
-      AC_CHECK_LIB(glade, main, SXE_PREPEND(-lglade, libs_gtk))
-      AC_CHECK_LIB(glade-gnome, main, SXE_PREPEND(-lglade-gnome, libs_gtk))
-      AC_EGREP_HEADER([char \*txtdomain;], [glade/glade-xml.h],
-                      [AC_MSG_RESULT(yes)
-                       AC_DEFINE([LIBGLADE_XML_TXTDOMAIN], [1], [Description here!])],
-                      [AC_MSG_RESULT(no)])
-      CFLAGS="${OLD_CFLAGS}"
-      CPPFLAGS="${OLD_CPPFLAGS}"
-      LDFLAGS="${OLD_LDFLAGS}"
-fi
-
-dnl We may eventually prefer gtk/gdk over vanilla X11...
-dnl Are we mad? We need stuff from the X11 even _with_ gtk!!!
-
 if test "$with_x" != "no"; then
        if test "$with_x11" != "no"; then
                dnl User-specified --x-includes or --x-libraries implies --with-x11.
@@ -2723,11 +2582,6 @@ bitmapdir=
 
 case "$window_system" in
   x11  ) HAVE_X_WINDOWS=yes; echo "  Using X11." ;;
-  gtk  )
-       HAVE_X_WINDOWS=no
-       test "$with_gnome" = "yes" && echo "  Using GNOME."
-       test "$with_gnome" = "no" && echo "  Using GTK."
-       ;;
   none ) HAVE_X_WINDOWS=no ; echo "  Using no window system." ;;
 esac
 
@@ -2757,27 +2611,11 @@ AC_CHECK_HEADER([X11/Xauth.h], [:], [with_xauth=no])
 AC_CHECK_LIB([Xau], [XauGetAuthByAddr], [:], [with_xauth=no])
 if test "$with_xauth" = "yes"; then
   AC_DEFINE([HAVE_XAUTH], [1], [Description here!])
-  SXE_CONSECUTIVE_UNDUP([libs_xauth], [$GTK_LIBS $X_EXTRA_LIBS -lXau $libs_x $X_PRE_LIBS])
+  SXE_CONSECUTIVE_UNDUP([libs_xauth], [$X_EXTRA_LIBS -lXau $libs_x $X_PRE_LIBS])
 fi
 SXE_RESTORE_LIBS
 AC_SUBST(libs_xauth)
 
-dnl ----------------------
-dnl GTK-Specific Graphics libraries
-dnl ----------------------
-
-if test "$with_gtk" = "yes"; then
-       dnl Autodetect XFACE
-       have_image_xface=yes
-       AC_CHECK_HEADER([compface.h], [], [have_image_xface=no])
-       AC_CHECK_LIB([compface], [UnGenFace], [:], [have_image_xface=no])
-       if test "$have_image_xface" = "yes"; then
-               AC_DEFINE([HAVE_XFACE], [1], [Description here!])
-               SXE_PREPEND(-lcompface, libs_gtk)
-       fi
-fi
-
-
 dnl ----------------------
 dnl X-Specific Graphics libraries
 dnl ----------------------
@@ -2807,8 +2645,6 @@ dnl ----------------------
 if test "$with_x11" = "yes" -a "$with_x" != "no"; then
        SXE_CHECK_XTOOLKITS
        SXE_CHECK_XT_DEPENDENCIES
-elif test "$with_gtk" = "yes" -o "$with_gnome" = "yes"; then
-       SXE_CHECK_GTK_DEPENDENCIES
 else
        with_menubars=no
        with_scrollbars=no
@@ -2840,9 +2676,6 @@ if test "$with_offix" = "yes"; then
   SXE_APPEND(offix.o, dnd_objs)
   SXE_APPEND(OffiX, dragndrop_proto)
 fi
-if test "$with_gtk" = "yes"; then
-   SXE_APPEND(GTK, dragndrop_proto)
-fi
 
 
 ## TTY Options
@@ -3612,7 +3445,7 @@ fi
 
 SXE_UNDUP(CFLAGS, $CFLAGS)
 SXE_UNDUP(c_switch_general, -DHAVE_CONFIG_H $c_switch_site $c_switch_machine $c_switch_system $CFLAGS $CPPFLAGS)
-SXE_UNDUP(c_switch_window_system, $c_switch_x_site $c_switch_gtk $X_CFLAGS)
+SXE_UNDUP(c_switch_window_system, $c_switch_x_site $X_CFLAGS)
 SXE_UNDUP(c_switch_all, $c_switch_general $c_switch_window_system)
 SXE_UNDUP(ld_switch_general, $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_run)
 SXE_UNDUP(ld_switch_window_system, $ld_switch_x_site)
@@ -3620,7 +3453,7 @@ SXE_UNDUP(ld_switch_all, $ld_switch_general $ld_switch_window_system)
 dnl Since some systems need libs to be restated later, we can't just dedup, we can only safely dedup
 dnl consecutive occurrences
 SXE_CONSECUTIVE_UNDUP(ld_libs_general, $LIBS $libs_machine $libs_system $libs_standard)
-SXE_CONSECUTIVE_UNDUP(ld_libs_window_system, $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS)
+SXE_CONSECUTIVE_UNDUP(ld_libs_window_system, $X_EXTRA_LIBS $libs_x $X_PRE_LIBS)
 SXE_CONSECUTIVE_UNDUP(ld_libs_all, $OPENSSL_LIBS $DB_LIBS $ENT_LIBS $MM_LIBS $ld_libs_window_system $ld_libs_general $ld_libs_module)
 
 dnl For no-module builds, make the src dir last
@@ -4226,7 +4059,6 @@ AC_CONFIG_FILES([src/ui/Makefile])
 AC_CONFIG_FILES([src/ui/TTY/Makefile])
 AC_CONFIG_FILES([src/ui/lwlib/Makefile])
 AC_CONFIG_FILES([src/ui/X11/Makefile])
-AC_CONFIG_FILES([src/ui/Gtk/Makefile])
 AC_CONFIG_FILES([src/events/Makefile])
 AC_CONFIG_FILES([src/ent/Makefile])
 AC_CONFIG_FILES([src/media/Makefile])
index 01e5fda..95e46e1 100644 (file)
@@ -75,30 +75,24 @@ corelispels =                                                               \
        abbrev.el about.el alist.el apropos.el auto-save.el             \
        auto-show.el backquote.el blessmail.el buff-menu.el buffer.el   \
        build-rpt.el byte-optimize.el bytecomp-runtime.el bytecomp.el   \
-       callers-of-rpt.el cl-compat.el cl-extra.el                      \
-       cl-macs.el cl-seq.el cl.el cmdloop.el code-cmds.el              \
-       code-files.el code-process.el coding.el compat.el config.el     \
-       console.el cus-dep.el cus-edit.el cus-face.el cus-file.el       \
-       cus-load.el cus-start.el custom.el derived.el device.el         \
-       dialog-gtk.el dialog-items.el dialog.el disass.el               \
-       disp-table.el dragdrop.el easy-mmode.el easymenu.el             \
+       callers-of-rpt.el cl-compat.el cl-extra.el cl-macs.el cl-seq.el \
+       cl.el cmdloop.el code-cmds.el code-files.el code-process.el     \
+       coding.el compat.el config.el console.el cus-dep.el             \
+       cus-edit.el cus-face.el cus-file.el cus-load.el cus-start.el    \
+       custom.el derived.el device.el dialog-items.el dialog.el        \
+       disass.el disp-table.el dragdrop.el easy-mmode.el easymenu.el   \
        emod-utils.el etags.el events.el extents.el faces.el ffi.el     \
        files-nomule.el files.el fill.el float-sup.el font-lock.el      \
-       font-menu.el font.el fontl-hooks.el format.el frame.el gdk.el   \
-       generic-widgets.el glade.el glyphs.el gnome-widgets.el gnome.el \
-       gnuserv.el gpm.el gtk-compose.el gtk-extra.el gtk-faces.el      \
-       gtk-ffi.el gtk-file-dialog.el gtk-font-menu.el gtk-glyphs.el    \
-       gtk-init.el gtk-iso8859-1.el gtk-marshal.el gtk-mouse.el        \
-       gtk-package.el gtk-password-dialog.el gtk-select.el             \
-       gtk-widget-accessors.el gtk-widgets.el gtk.el gui.el            \
-       gutter-items.el gutter.el help-macro.el help-nomule.el help.el  \
-       hyper-apropos.el indent.el info.el isearch-mode.el iso8859-1.el \
-       issue-tracker.el itimer-autosave.el itimer.el keydefs.el        \
-       keymap.el ldap.el lib-complete.el lisp-initd.el lisp-mnt.el     \
-       lisp-mode.el lisp.el list-mode.el loaddefs.el loadhist.el       \
-       map-ynp.el menubar-items.el menubar.el minibuf.el misc.el       \
-       mode-motion.el modeline.el mouse.el movemail.el multicast.el    \
-       mwheel.el number.el objects.el obsolete.el package-admin.el     \
+       font-menu.el font.el fontl-hooks.el format.el frame.el          \
+       glyphs.el gnuserv.el gpm.el gui.el gutter-items.el gutter.el    \
+       help-macro.el help-nomule.el help.el hyper-apropos.el indent.el \
+       info.el isearch-mode.el iso8859-1.el issue-tracker.el           \
+       itimer-autosave.el itimer.el keydefs.el keymap.el ldap.el       \
+       lib-complete.el lisp-initd.el lisp-mnt.el lisp-mode.el lisp.el  \
+       list-mode.el loaddefs.el loadhist.el map-ynp.el                 \
+       menubar-items.el menubar.el minibuf.el misc.el mode-motion.el   \
+       modeline.el mouse.el movemail.el multicast.el mwheel.el         \
+       number.el objects.el obsolete.el package-admin.el               \
        package-get.el package-info.el package-ui.el packages.el        \
        page.el paragraphs.el paths.el picture.el printer.el            \
        process.el rect.el regexp-opt.el register.el replace.el         \
@@ -106,7 +100,7 @@ corelispels =                                                               \
        sound.el specifier.el subr.el symbol-syntax.el symbols.el       \
        syntax.el text-mode.el text-props.el toolbar-items.el           \
        toolbar.el tty-init.el undo-stack.el userlock.el version.el     \
-       view-less.el wid-browse.el wid-edit.el widget.el widgets-gtk.el \
+       view-less.el wid-browse.el wid-edit.el widget.el                \
        window-xemacs.el window.el x-color.el x-compose.el x-faces.el   \
        x-font-menu.el x-init.el x-iso8859-1.el x-misc.el x-mouse.el    \
        x-scrollbar.el x-select.el x-win-sun.el x-win-xfree86.el
index c57c71a..c775066 100644 (file)
@@ -200,7 +200,7 @@ in dumped-lisp.el and is not itself listed.")
 ;; id-menus is not here.  infodock needs to figure out a clever way to
 ;; advise this stuff or we need to export a clean way for infodock or
 ;; others to control this programmatically.
-       (when-feature (and infodock (or x gtk) menubar) "id-menus")
+       (when-feature (and infodock x menubar) "id-menus")
 ;; preload the X code.
        (when-feature x "x-faces")
        (when-feature x "x-iso8859-1")
@@ -211,19 +211,6 @@ in dumped-lisp.el and is not itself listed.")
        (when-feature x "x-init")
        (when-feature x "x-win-xfree86")
        (when-feature x "x-win-sun")
-;; preload the GTK code
-       (when-feature gtk "gtk-ffi")
-       (when-feature gtk "gtk-widgets")
-       (when-feature gtk "gdk")
-       (when-feature gtk "gtk-init")
-       (when-feature gtk "gtk-faces")
-       (when-feature gtk "gtk-iso8859-1")
-       (when-feature (and gtk dialog) "dialog-gtk")
-       (when-feature gtk "gtk-select")
-       (when-feature gtk "gtk-mouse")
-       (when-feature gtk "gtk-glyphs")
-       (when-feature glade "glade")
-       (when-feature gtk "widgets-gtk")
 
 ;; preload the TTY init code.
        (when-feature tty "tty-init")
index 864b479..390eb5c 100644 (file)
@@ -453,9 +453,7 @@ AC_DEFUN([SXE_CHECK_XT_DEPENDENCIES], [dnl
        SXE_SUFFICIENT_LUCID_P
 
        all_widgets="$with_menubars $with_scrollbars $with_dialogs $with_toolbars $with_widgets"
-       if test "$with_x11" = "yes" -a \
-               "$with_gtk" != "yes" -a \
-               "$with_gnome" != "yes"; then
+       if test "$with_x11" = "yes"; then
 
                if test "$with_menubars" != "no"; then
                        SXE_ADD_SXEUIX11_OBJS([menubar-x.o])
@@ -476,37 +474,6 @@ AC_DEFUN([SXE_CHECK_XT_DEPENDENCIES], [dnl
 
 ])dnl SXE_CHECK_XT_DEPENDENCIES
 
-AC_DEFUN([SXE_CHECK_GTK_DEPENDENCIES], [dnl
-
-       all_widgets="$with_menubars $with_scrollbars $with_dialogs $with_toolbars $with_widgets"
-       if test "$with_menubars" != "no"; then
-               SXE_ADD_SXEUIGTK_OBJS([menubar-gtk.o])
-       fi
-       if test "$with_scrollbars" != "no"; then
-               SXE_ADD_SXEUIGTK_OBJS([scrollbar-gtk.o])
-       fi
-       if test "$with_dialogs" != "no"; then
-               SXE_ADD_SXEUIGTK_OBJS([dialog-gtk.o])
-       fi
-       if test "$with_toolbars" != "no"; then
-               SXE_ADD_SXEUIGTK_OBJS([toolbar-gtk.o])
-       fi
-       if test "$all_widgets" != "no no no no no"; then
-               SXE_ADD_SXEUIGTK_OBJS([gui-gtk.o])
-       fi
-
-       AS_MESSAGE([
-
-Congratulations!!!  You've won already!!!
-
-You have been chosen to implement a GTK user interface for us!
-Finish all your work IMMEDIATELY and contact us to obtain detailed orders.
-
-])
-       sleep 30
-])dnl SXE_CHECK_GTK_DEPENDENCIES
-
-
 AC_DEFUN([SXE_CHECK_UI_SUFFICIENCY], [dnl
        ## common-to-all stuff
        if test "$with_menubars" != "no"; then
@@ -536,7 +503,6 @@ AC_DEFUN([SXE_CHECK_UI_SUFFICIENCY], [dnl
        SXE_SUBST_SXEUI_OBJS
        SXE_SUBST_SXEUITTY_OBJS
        SXE_SUBST_SXEUIX11_OBJS
-       SXE_SUBST_SXEUIGTK_OBJS
 
 ])dnl SXE_CHECK_UI_SUFFICIENCY
 
index cf2ca67..13b638b 100644 (file)
@@ -163,7 +163,6 @@ if test "$need_athena" = "yes"; then
   echo "    - Athena library to link:                     $athena_lib"
 fi
 case "$with_menubars" in
-  gtk   ) echo "  Using GTK menubars."   ;;
   lucid ) echo "  Using Lucid menubars." ;;
   motif ) echo "  Using Motif menubars."
           echo "  *WARNING*  The Motif menubar implementation is currently buggy."
@@ -172,14 +171,12 @@ case "$with_menubars" in
   * )      echo "  No support for menubars."   ;;
 esac
 case "$with_scrollbars" in
-  gtk    ) echo "  Using GTK scrollbars."        ;;
   lucid  ) echo "  Using Lucid scrollbars."      ;;
   motif  ) echo "  Using Motif scrollbars."      ;;
   athena ) echo "  Using Athena scrollbars."     ;;
   * )      echo "  No support for scrollbars."   ;;
 esac
 case "$with_dialogs" in
-  gtk    ) echo "  Using GTK dialog boxes." ;;
   motif  ) echo "  Using Motif dialog boxes."
            if test "$unexec" = "unexaix.o"; then if test "`uname -v`" = 4 -a "`uname -r`" -ge 3; then
              echo "  *WARNING*  The Motif dialog boxes cause problems on AIX 4.3 and higher."
@@ -191,13 +188,12 @@ case "$with_dialogs" in
   * )      echo "  No support for dialog boxes." ;;
 esac
 case "$with_widgets" in
-  gtk    ) echo "  Using GTK native widgets."        ;;
   motif  ) echo "  Using Motif native widgets."      ;;
   athena ) echo "  Using Athena native widgets."     ;;
   * )      echo "  No support for native widgets."   ;;
 esac
 case "$with_toolbars" in
-  yes | gtk ) echo "  Support for toolbars."         ;;
+  yes )       echo "  Support for toolbars."         ;;
   no )        echo "  No support for toolbars."      ;;
   * ) ;;
 esac
index a7bb58a..3c2b36a 100644 (file)
@@ -77,11 +77,6 @@ pdump_ldadd      += $(libsxecore_a_ldflags)
 # Inverse order of dependency for order dependendant
 # linkers...
 
-if NEED_LIBSXEUIGTK
-pdumplibs += $(builddir)/ui/Gtk/libsxeuiGtk.a 
-# sxe_subdirs += ui
-endif
-
 if NEED_LIBSXEUIX11
 pdumplibs += $(builddir)/ui/X11/libsxeuiX11.a 
 # sxe_subdirs += ui
index b946f05..4db4ea1 100644 (file)
@@ -89,10 +89,6 @@ if NEED_LIBSXEUIX11
 SUBDIRS+=X11
 endif
 
-if NEED_LIBSXEUIGTK
-SUBDIRS+=Gtk
-endif
-
 Emacs.ad.h: $(top_srcdir)/etc/Emacs.ad
        @echo "Producing \`src/Emacs.ad.h' from \`etc/Emacs.ad'."
        @(echo "/*      Do not edit this file!" ; \