Configuring with --with-widgets=athena3d results in no widgets.
Configuring with --with-widgets=lucid results in Motif widgets being
selected. I suggest this code be looked at a little more closely:
case "$with_widgets" in "" | "yes" | "lucid")
if test "$have_motif" = "yes"; then
with_widgets="motif"
elif test "$have_xaw" = "yes"; then
with_widgets="athena"
else with_widgets=no
fi ;;
esac
When I tried to build with the attached configuration I got:
gcc -c -g -O3 -I. -DHAVE_CONFIG_H -I/usr/lib/locale/ja/wnn/demo/include
-I/usr/local/include -I/usr/local/canna/include -I/usr/dt/include
-I/usr/local/X11R6/include /usr/local/devel/xemacs-21.2/lwlib/lwlib-Xm.c
/usr/local/devel/xemacs-21.2/lwlib/lwlib-Xm.c: In function `xm_destroy_instance':
/usr/local/devel/xemacs-21.2/lwlib/lwlib-Xm.c:1764: `mark_dead_instance_destroyed'
undeclared (first use in this function)
/usr/local/devel/xemacs-21.2/lwlib/lwlib-Xm.c:1764: (Each undeclared identifier is
reported only once
/usr/local/devel/xemacs-21.2/lwlib/lwlib-Xm.c:1764: for each function it appears in.)
/usr/local/devel/xemacs-21.2/lwlib/lwlib-Xm.c:1771: `xm_nosel_callback' undeclared
(first use in this function)
make[1]: *** [lwlib-Xm.o] Error 1
make[1]: Leaving directory `/usr/local/devel/miho-test/lwlib'
make: *** [lwlib] Error 2
I am building against X11R6.3 (XFree86 libraries) and Solaris Motif is
poison in that environment. So is /usr/dt, but for whatever reason
the unconditional insertion of it has not been fixed.
uname -a: SunOS miho 5.6 Generic_105181-05 sun4u sparc
../xemacs-21.2/configure '--with-mule' '--debug=no'
'--error-checking=none' '--extra-verbose=no'
'--site-prefixes=/usr/local' '--x-includes=/usr/local/X11R6/include'
'--x-libraries=/usr/local/X11R6/lib' '--compiler=gcc'
'--mail-locking=file' '--srcdir=../xemacs-21.2' '--cflags=-g -O3'
'--with-xim=xlib' '--site-includes=/usr/lib/locale/ja/wnn/demo/include'
'--site-libraries=/usr/lib/locale/ja/wnn/lib' '--with-cde=no'
'--with-tooltalk=no' '--with-scrollbars=athena3d'
'--with-dialogs=athena3d' '--without-menubars'
'--with-widgets=lucid'
XEmacs 21.2-b19 "Shinjuku" configured for `sparc-sun-solaris2.6'.
Where should the build process find the source code? /usr/local/devel/xemacs-21.2
What installation prefix should install use? /usr/local
What operating system and machine description files should XEmacs use?
`s/sol2.h' and `m/sparc.h'
What compiler should XEmacs be built with? gcc -g -O3
Should XEmacs use the GNU version of malloc? yes
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/dt/include
/usr/local/X11R6/include
Where do we find X Windows libraries? /usr/dt/lib
/usr/local/X11R6/lib
Additional header files:
/usr/lib/locale/ja/wnn/demo/include
Additional libraries: /usr/lib/locale/ja/wnn/lib
Additional prefixes: /usr/local
Runtime library search path:
/usr/lib/locale/ja/wnn/lib:/usr/local/lib:/usr/dt/lib:/usr/local/X11R6/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for TIFF image handling.
Compiling in support for X-Face message headers.
Compiling in support for GNU DBM.
Compiling in support for ncurses.
Compiling in Mule (multi-lingual) support.
Compiling in XIM (X11R5+ I18N input method) support.
Using raw Xlib to provide XIM support.
Compiling in support for Canna on Mule.
Compiling in support for the WNN input method on Mule.
Using WNN version 6.
Compiling in support for proper WM_COMMAND handling.
Using Athena-3d scrollbars.
Using Motif native widgets.
Using Athena-3d dialog boxes.
Compiling in DSO module support.
movemail will use "dot-locking" for locking mail spool files.