comparison configure.ac @ 4769:5460287a3327

Remove support for pre-X11R5 systems, including systems without Xmu. See <870180fe0912091102j6fde7336hdc187608be0ef97@mail.gmail.com> in xemacs-patches.
author Jerry James <james@xemacs.org>
date Thu, 10 Dec 2009 12:42:09 -0700
parents 53f27fcd3cd9
children bc4f2511bbea
comparison
equal deleted inserted replaced
4768:0f5bee973a7b 4769:5460287a3327
754 *WARNING* If you compile in OffiX, you may not be 754 *WARNING* If you compile in OffiX, you may not be
755 able to use multiple X displays success- 755 able to use multiple X displays success-
756 fully. If the two servers are from 756 fully. If the two servers are from
757 different vendors, the results may be 757 different vendors, the results may be
758 unpredictable.]), 758 unpredictable.]),
759 [], [])
760 XE_MERGED_ARG([xmu],
761 AS_HELP_STRING([--with-xmu],[Use Xmu utilities. Default: yes.]),
762 [], []) 759 [], [])
763 XE_MERGED_ARG([external-widget], 760 XE_MERGED_ARG([external-widget],
764 AS_HELP_STRING([--enable-external-widget],[Support XEmacs server for text widgets in other applications.]), 761 AS_HELP_STRING([--enable-external-widget],[Support XEmacs server for text widgets in other applications.]),
765 [], []) 762 [], [])
766 dnl 763 dnl
3088 [AC_MSG_RESULT(yes)], 3085 [AC_MSG_RESULT(yes)],
3089 [AC_MSG_RESULT(no) 3086 [AC_MSG_RESULT(no)
3090 AC_DEFINE(XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE)]) 3087 AC_DEFINE(XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE)])
3091 3088
3092 dnl autodetect -lXmu 3089 dnl autodetect -lXmu
3093 test -z "$with_xmu" && { AC_CHECK_LIB(Xmu, XmuReadBitmapDataFromFile, 3090 AC_CHECK_LIB(Xmu, XmuReadBitmapDataFromFile, with_xmu=yes, with_xmu=no)
3094 with_xmu=yes, with_xmu=no) }
3095 if test "$with_xmu" = "no"; then 3091 if test "$with_xmu" = "no"; then
3096 XE_ADD_OBJS(xmu.o) 3092 AC_MSG_ERROR([We're sorry, but we thought there were no systems without Xmu by now.
3093 You cannot build this version of XEmacs for X11 without Xmu. Please report
3094 this to xemacs-beta@xemacs.org. As a workaround, revert to XEmacs 21.5.29.])
3097 else 3095 else
3098 XE_PREPEND(-lXmu, libs_x) 3096 XE_PREPEND(-lXmu, libs_x)
3099 AC_DEFINE(HAVE_XMU)
3100 fi 3097 fi
3101 3098
3102 dnl Autodetect -lXbsd 3099 dnl Autodetect -lXbsd
3103 dnl #### Someone, please add a better function than main 3100 dnl #### Someone, please add a better function than main
3104 AC_CHECK_LIB(Xbsd, main, XE_PREPEND(-lXbsd, libs_x)) 3101 AC_CHECK_LIB(Xbsd, main, XE_PREPEND(-lXbsd, libs_x))
3253 dnl It ought to be reasonable to have no output device at all, and only use 3250 dnl It ought to be reasonable to have no output device at all, and only use
3254 dnl XEmacs in --batch mode. 3251 dnl XEmacs in --batch mode.
3255 dnl if test "$with_tty" = "no" ; then 3252 dnl if test "$with_tty" = "no" ; then
3256 dnl AC_MSG_ERROR([No window system support and no TTY support - Unable to proceed.]) 3253 dnl AC_MSG_ERROR([No window system support and no TTY support - Unable to proceed.])
3257 dnl fi 3254 dnl fi
3258 for feature in with_tooltalk with_cde with_offix with_wmcommand with_xim with_xmu enable_sound_nas 3255 for feature in with_tooltalk with_cde with_offix with_wmcommand with_xim enable_sound_nas
3259 do 3256 do
3260 if eval "test -n \"\$${feature}\" -a \"\$${feature}\" != \"no\"" ; then 3257 if eval "test -n \"\$${feature}\" -a \"\$${feature}\" != \"no\"" ; then
3261 AC_MSG_WARN([--$feature ignored: Not valid without X support]) 3258 AC_MSG_WARN([--$feature ignored: Not valid without X support])
3262 fi 3259 fi
3263 eval "${feature}=no" 3260 eval "${feature}=no"
3490 with_tooltalk=yes # CDE requires Tooltalk 3487 with_tooltalk=yes # CDE requires Tooltalk
3491 need_motif=yes # CDE requires Motif 3488 need_motif=yes # CDE requires Motif
3492 fi 3489 fi
3493 3490
3494 dnl Always compile OffiX unless --without-offix is given, no 3491 dnl Always compile OffiX unless --without-offix is given, no
3495 dnl X11 support is compiled in, no standard Xmu is available, 3492 dnl X11 support is compiled in, or dragndrop support is disabled
3496 dnl or dragndrop support is disabled
3497 dnl Because OffiX support currently loses when more than one display 3493 dnl Because OffiX support currently loses when more than one display
3498 dnl is in use, we now disable it by default -slb 07/10/1998. 3494 dnl is in use, we now disable it by default -slb 07/10/1998.
3499 test "$window_system" != "x11" && with_offix=no 3495 test "$window_system" != "x11" && with_offix=no
3500 if test "$with_xmu" != yes -a "$with_x11" = yes; then
3501 if test "$with_offix" = "yes" ; then
3502 AC_MSG_WARN([--with-offix forced to `no'; no real Xmu support])
3503 fi
3504 with_offix=no
3505 fi
3506 if test "$with_dragndrop" = no; then 3496 if test "$with_dragndrop" = no; then
3507 if test "$with_offix" = "yes" ; then 3497 if test "$with_offix" = "yes" ; then
3508 AC_MSG_WARN([--with-offix forced to `no'; no generic Drag'n'Drop support]) 3498 AC_MSG_WARN([--with-offix forced to `no'; no generic Drag'n'Drop support])
3509 fi 3499 fi
3510 with_offix=no 3500 with_offix=no
5633 echo " - X Windows headers location: $x_includes" 5623 echo " - X Windows headers location: $x_includes"
5634 echo " - X Windows libraries location: $x_libraries" 5624 echo " - X Windows libraries location: $x_libraries"
5635 if test "$with_xauth" != yes; then 5625 if test "$with_xauth" != yes; then
5636 echo " - Xau (X authority) not available." 5626 echo " - Xau (X authority) not available."
5637 fi 5627 fi
5638 if test "$with_xmu" != yes; then
5639 echo " - Xmu library not available; substituting equivalent routines."
5640 fi
5641 if test "$with_wmcommand" != no; then 5628 if test "$with_wmcommand" != no; then
5642 echo " - Handling WM_COMMAND properly." 5629 echo " - Handling WM_COMMAND properly."
5643 fi 5630 fi
5644 if test "$with_fontconfig" = "yes"; then 5631 if test "$with_fontconfig" = "yes"; then
5645 echo " - Using fontconfig to manage fonts." 5632 echo " - Using fontconfig to manage fonts."