* configure.ac (HAVE_OLDXMENU): New.
(emacs_config_features): Add oldxmenu.
fi
AC_SUBST(LIBX_OTHER)
+HAVE_OLDXMENU=no
if test "$HAVE_GTK" = yes || test "$HAVE_X11" != yes; then
LIBXMENU=
elif test "$USE_X_TOOLKIT" = none; then
+ HAVE_OLDXMENU=yes
LIBXMENU='$(oldXMenudir)/libXMenu11.a'
AUTODEPEND_PARENTS="$AUTODEPEND_PARENTS oldXMenu"
else
emacs_config_features=
for opt in XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO IMAGEMAGICK SOUND GPM DBUS \
GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT \
- LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS X_TOOLKIT X11 NS MODULES \
+ LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS X_TOOLKIT OLDXMENU X11 NS MODULES \
XWIDGETS LIBSYSTEMD CANNOT_DUMP; do
case $opt in