Mercurial > hg > xemacs-beta
comparison configure.ac @ 4790:bc4f2511bbea
Remove support for the OffiX drag-and-drop protocol. See xemacs-patches
message with ID <870180fe0912211421m3e3d7891pdadefef167b50cb4@mail.gmail.com>.
author | Jerry James <james@xemacs.org> |
---|---|
date | Tue, 22 Dec 2009 15:52:06 -0700 |
parents | 5460287a3327 |
children | 5d120deb60ca 9987da5935bd |
comparison
equal
deleted
inserted
replaced
4789:56049bea9231 | 4790:bc4f2511bbea |
---|---|
739 There are no true Lucid widgets; Motif widgets will be | 739 There are no true Lucid widgets; Motif widgets will be |
740 used if Motif can be found, else Athena is used.]), | 740 used if Motif can be found, else Athena is used.]), |
741 [], [],[yes,no,lucid,motif,athena,gtk,msw]) | 741 [], [],[yes,no,lucid,motif,athena,gtk,msw]) |
742 XE_MERGED_ARG([dragndrop], | 742 XE_MERGED_ARG([dragndrop], |
743 AS_HELP_STRING([--with-dragndrop],[Compile in the generic drag and drop API. This is automatically added if one of the drag and drop | 743 AS_HELP_STRING([--with-dragndrop],[Compile in the generic drag and drop API. This is automatically added if one of the drag and drop |
744 protocols is found (currently CDE, OffiX, MSWindows, | 744 protocols is found (currently CDE, MSWindows, and GTK). |
745 and GTK). | |
746 *WARNING* The Drag'n'drop support is under development | 745 *WARNING* The Drag'n'drop support is under development |
747 and is considered experimental.]), | 746 and is considered experimental.]), |
748 [], []) | 747 [], []) |
749 XE_MERGED_ARG([cde], | 748 XE_MERGED_ARG([cde], |
750 AS_HELP_STRING([--with-cde],[Compile in support for CDE drag and drop.]), | 749 AS_HELP_STRING([--with-cde],[Compile in support for CDE drag and drop.]), |
751 [], []) | |
752 XE_MERGED_ARG([offix], | |
753 AS_HELP_STRING([--with-offix],[Compile in support for OffiX drag and drop. | |
754 *WARNING* If you compile in OffiX, you may not be | |
755 able to use multiple X displays success- | |
756 fully. If the two servers are from | |
757 different vendors, the results may be | |
758 unpredictable.]), | |
759 [], []) | 750 [], []) |
760 XE_MERGED_ARG([external-widget], | 751 XE_MERGED_ARG([external-widget], |
761 AS_HELP_STRING([--enable-external-widget],[Support XEmacs server for text widgets in other applications.]), | 752 AS_HELP_STRING([--enable-external-widget],[Support XEmacs server for text widgets in other applications.]), |
762 [], []) | 753 [], []) |
763 dnl | 754 dnl |
3250 dnl It ought to be reasonable to have no output device at all, and only use | 3241 dnl It ought to be reasonable to have no output device at all, and only use |
3251 dnl XEmacs in --batch mode. | 3242 dnl XEmacs in --batch mode. |
3252 dnl if test "$with_tty" = "no" ; then | 3243 dnl if test "$with_tty" = "no" ; then |
3253 dnl AC_MSG_ERROR([No window system support and no TTY support - Unable to proceed.]) | 3244 dnl AC_MSG_ERROR([No window system support and no TTY support - Unable to proceed.]) |
3254 dnl fi | 3245 dnl fi |
3255 for feature in with_tooltalk with_cde with_offix with_wmcommand with_xim enable_sound_nas | 3246 for feature in with_tooltalk with_cde with_wmcommand with_xim enable_sound_nas |
3256 do | 3247 do |
3257 if eval "test -n \"\$${feature}\" -a \"\$${feature}\" != \"no\"" ; then | 3248 if eval "test -n \"\$${feature}\" -a \"\$${feature}\" != \"no\"" ; then |
3258 AC_MSG_WARN([--$feature ignored: Not valid without X support]) | 3249 AC_MSG_WARN([--$feature ignored: Not valid without X support]) |
3259 fi | 3250 fi |
3260 eval "${feature}=no" | 3251 eval "${feature}=no" |
3486 XE_APPEND(CDE, dragndrop_proto) | 3477 XE_APPEND(CDE, dragndrop_proto) |
3487 with_tooltalk=yes # CDE requires Tooltalk | 3478 with_tooltalk=yes # CDE requires Tooltalk |
3488 need_motif=yes # CDE requires Motif | 3479 need_motif=yes # CDE requires Motif |
3489 fi | 3480 fi |
3490 | 3481 |
3491 dnl Always compile OffiX unless --without-offix is given, no | |
3492 dnl X11 support is compiled in, or dragndrop support is disabled | |
3493 dnl Because OffiX support currently loses when more than one display | |
3494 dnl is in use, we now disable it by default -slb 07/10/1998. | |
3495 test "$window_system" != "x11" && with_offix=no | |
3496 if test "$with_dragndrop" = no; then | |
3497 if test "$with_offix" = "yes" ; then | |
3498 AC_MSG_WARN([--with-offix forced to `no'; no generic Drag'n'Drop support]) | |
3499 fi | |
3500 with_offix=no | |
3501 fi | |
3502 if test "$with_cde" = yes; then | |
3503 if test "$with_offix" = "yes" ; then | |
3504 AC_MSG_WARN([--with-offix forced to `no'; CDE already found]) | |
3505 fi | |
3506 with_offix=no | |
3507 fi | |
3508 test -z "$with_offix" && with_offix=no | |
3509 if test "$with_offix" = "yes"; then | |
3510 AC_DEFINE(HAVE_OFFIX_DND) | |
3511 XE_APPEND(offix.o, dnd_objs) | |
3512 XE_APPEND(OffiX, dragndrop_proto) | |
3513 fi | |
3514 if test "$with_gtk" = "yes"; then | 3482 if test "$with_gtk" = "yes"; then |
3515 XE_APPEND(GTK, dragndrop_proto) | 3483 XE_APPEND(GTK, dragndrop_proto) |
3516 fi | 3484 fi |
3517 | 3485 |
3518 dnl Autodetect Drag'n'Drop support | 3486 dnl Autodetect Drag'n'Drop support |
3519 dnl always included if CDE, Offix, or MSWindows are defined | 3487 dnl always included if CDE or MSWindows is defined |
3520 if test "$with_dragndrop" != "no" ; then | 3488 if test "$with_dragndrop" != "no" ; then |
3521 AC_MSG_CHECKING(if drag and drop API is needed) | 3489 AC_MSG_CHECKING(if drag and drop API is needed) |
3522 if test -n "$dragndrop_proto" ; then | 3490 if test -n "$dragndrop_proto" ; then |
3523 with_dragndrop=yes | 3491 with_dragndrop=yes |
3524 AC_MSG_RESULT([yes (${dragndrop_proto} )]) | 3492 AC_MSG_RESULT([yes (${dragndrop_proto} )]) |