comparison configure @ 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
954 with_dragndrop 954 with_dragndrop
955 enable_cde 955 enable_cde
956 with_cde 956 with_cde
957 enable_offix 957 enable_offix
958 with_offix 958 with_offix
959 enable_xmu
960 with_xmu
961 enable_external_widget 959 enable_external_widget
962 with_external_widget 960 with_external_widget
963 enable_tty 961 enable_tty
964 with_tty 962 with_tty
965 enable_ncurses 963 enable_ncurses
1860 --with-offix Compile in support for OffiX drag and drop. 1858 --with-offix Compile in support for OffiX drag and drop.
1861 *WARNING* If you compile in OffiX, you may not be 1859 *WARNING* If you compile in OffiX, you may not be
1862 able to use multiple X displays success- fully. If 1860 able to use multiple X displays success- fully. If
1863 the two servers are from different vendors, the 1861 the two servers are from different vendors, the
1864 results may be unpredictable. 1862 results may be unpredictable.
1865 --with-xmu Use Xmu utilities. Default: yes.
1866 --with-external-widget 1863 --with-external-widget
1867 Support XEmacs server for text widgets in other 1864 Support XEmacs server for text widgets in other
1868 applications. 1865 applications.
1869 1866
1870 TTY (character terminal) options 1867 TTY (character terminal) options
3556 if test "${with_offix+set}" = set; then 3553 if test "${with_offix+set}" = set; then
3557 enableval="$with_offix" 3554 enableval="$with_offix"
3558 withval="$with_offix" 3555 withval="$with_offix"
3559 3556
3560 fi; 3557 fi;
3561 # If --with-xmu or --without-xmu were given then copy the value to the
3562 # equivalent enable_xmu variable.
3563 if test "${with_xmu+set}" = set; then
3564 enable_xmu="$with_xmu"
3565 fi;
3566 # If -enable-xmu or --disable-xmu were given then copy the value to the
3567 # equivalent with_xmu variable.
3568 if test "${enable_xmu+set}" = set; then
3569 with_xmu="$enable_xmu"
3570 fi;
3571 # Check whether --with-xmu or --without-xmu was given.
3572 if test "${with_xmu+set}" = set; then
3573 enableval="$with_xmu"
3574 withval="$with_xmu"
3575
3576 fi;
3577 # If --with-external-widget or --without-external-widget were given then copy the value to the 3558 # If --with-external-widget or --without-external-widget were given then copy the value to the
3578 # equivalent enable_external-widget variable. 3559 # equivalent enable_external-widget variable.
3579 if test "${with_external_widget+set}" = set; then 3560 if test "${with_external_widget+set}" = set; then
3580 enable_external_widget="$with_external_widget" 3561 enable_external_widget="$with_external_widget"
3581 fi; 3562 fi;
19960 19941
19961 fi 19942 fi
19962 19943
19963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19964 19945
19965 test -z "$with_xmu" && { { $as_echo "$as_me:$LINENO: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 19946 { $as_echo "$as_me:$LINENO: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
19966 $as_echo_n "checking for XmuReadBitmapDataFromFile in -lXmu... " >&6; } 19947 $as_echo_n "checking for XmuReadBitmapDataFromFile in -lXmu... " >&6; }
19967 if test "${ac_cv_lib_Xmu_XmuReadBitmapDataFromFile+set}" = set; then 19948 if test "${ac_cv_lib_Xmu_XmuReadBitmapDataFromFile+set}" = set; then
19968 $as_echo_n "(cached) " >&6 19949 $as_echo_n "(cached) " >&6
19969 else 19950 else
19970 ac_check_lib_save_LIBS=$LIBS 19951 ac_check_lib_save_LIBS=$LIBS
20030 if test "x$ac_cv_lib_Xmu_XmuReadBitmapDataFromFile" = x""yes; then 20011 if test "x$ac_cv_lib_Xmu_XmuReadBitmapDataFromFile" = x""yes; then
20031 with_xmu=yes 20012 with_xmu=yes
20032 else 20013 else
20033 with_xmu=no 20014 with_xmu=no
20034 fi 20015 fi
20035 } 20016
20036 if test "$with_xmu" = "no"; then 20017 if test "$with_xmu" = "no"; then
20037 extra_objs="$extra_objs xmu.o" && if test "$verbose" = "yes"; then 20018 { { $as_echo "$as_me:$LINENO: error: We're sorry, but we thought there were no systems without Xmu by now.
20038 echo " xemacs will be linked with \"xmu.o\"" 20019 You cannot build this version of XEmacs for X11 without Xmu. Please report
20039 fi 20020 this to xemacs-beta@xemacs.org. As a workaround, revert to XEmacs 21.5.29." >&5
20021 $as_echo "$as_me: error: We're sorry, but we thought there were no systems without Xmu by now.
20022 You cannot build this version of XEmacs for X11 without Xmu. Please report
20023 this to xemacs-beta@xemacs.org. As a workaround, revert to XEmacs 21.5.29." >&2;}
20024 { (exit 1); exit 1; }; }
20040 else 20025 else
20041 libs_x="-lXmu $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXmu\" to \$libs_x"; fi 20026 libs_x="-lXmu $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXmu\" to \$libs_x"; fi
20042 cat >>confdefs.h <<\_ACEOF
20043 #define HAVE_XMU 1
20044 _ACEOF
20045
20046 fi 20027 fi
20047 20028
20048 { $as_echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 20029 { $as_echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
20049 $as_echo_n "checking for main in -lXbsd... " >&6; } 20030 $as_echo_n "checking for main in -lXbsd... " >&6; }
20050 if test "${ac_cv_lib_Xbsd_main+set}" = set; then 20031 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
21070 else 21051 else
21071 : 21052 :
21072 fi 21053 fi
21073 21054
21074 if test "$with_x11" != "yes"; then 21055 if test "$with_x11" != "yes"; then
21075 for feature in with_tooltalk with_cde with_offix with_wmcommand with_xim with_xmu enable_sound_nas 21056 for feature in with_tooltalk with_cde with_offix with_wmcommand with_xim enable_sound_nas
21076 do 21057 do
21077 if eval "test -n \"\$${feature}\" -a \"\$${feature}\" != \"no\"" ; then 21058 if eval "test -n \"\$${feature}\" -a \"\$${feature}\" != \"no\"" ; then
21078 { $as_echo "$as_me:$LINENO: WARNING: --$feature ignored: Not valid without X support" >&5 21059 { $as_echo "$as_me:$LINENO: WARNING: --$feature ignored: Not valid without X support" >&5
21079 $as_echo "$as_me: WARNING: --$feature ignored: Not valid without X support" >&2;} 21060 $as_echo "$as_me: WARNING: --$feature ignored: Not valid without X support" >&2;}
21080 fi 21061 fi
23402 with_tooltalk=yes # CDE requires Tooltalk 23383 with_tooltalk=yes # CDE requires Tooltalk
23403 need_motif=yes # CDE requires Motif 23384 need_motif=yes # CDE requires Motif
23404 fi 23385 fi
23405 23386
23406 test "$window_system" != "x11" && with_offix=no 23387 test "$window_system" != "x11" && with_offix=no
23407 if test "$with_xmu" != yes -a "$with_x11" = yes; then
23408 if test "$with_offix" = "yes" ; then
23409 { $as_echo "$as_me:$LINENO: WARNING: --with-offix forced to \`no'; no real Xmu support" >&5
23410 $as_echo "$as_me: WARNING: --with-offix forced to \`no'; no real Xmu support" >&2;}
23411 fi
23412 with_offix=no
23413 fi
23414 if test "$with_dragndrop" = no; then 23388 if test "$with_dragndrop" = no; then
23415 if test "$with_offix" = "yes" ; then 23389 if test "$with_offix" = "yes" ; then
23416 { $as_echo "$as_me:$LINENO: WARNING: --with-offix forced to \`no'; no generic Drag'n'Drop support" >&5 23390 { $as_echo "$as_me:$LINENO: WARNING: --with-offix forced to \`no'; no generic Drag'n'Drop support" >&5
23417 $as_echo "$as_me: WARNING: --with-offix forced to \`no'; no generic Drag'n'Drop support" >&2;} 23391 $as_echo "$as_me: WARNING: --with-offix forced to \`no'; no generic Drag'n'Drop support" >&2;}
23418 fi 23392 fi
41112 echo " Compiling in support for the X window system:" 41086 echo " Compiling in support for the X window system:"
41113 echo " - X Windows headers location: $x_includes" 41087 echo " - X Windows headers location: $x_includes"
41114 echo " - X Windows libraries location: $x_libraries" 41088 echo " - X Windows libraries location: $x_libraries"
41115 if test "$with_xauth" != yes; then 41089 if test "$with_xauth" != yes; then
41116 echo " - Xau (X authority) not available." 41090 echo " - Xau (X authority) not available."
41117 fi
41118 if test "$with_xmu" != yes; then
41119 echo " - Xmu library not available; substituting equivalent routines."
41120 fi 41091 fi
41121 if test "$with_wmcommand" != no; then 41092 if test "$with_wmcommand" != no; then
41122 echo " - Handling WM_COMMAND properly." 41093 echo " - Handling WM_COMMAND properly."
41123 fi 41094 fi
41124 if test "$with_fontconfig" = "yes"; then 41095 if test "$with_fontconfig" = "yes"; then