* acinclude.m4: Remove Termnet support, it's too old and obscure

to be supported properly.
This commit is contained in:
Pavel Roskin 2002-09-03 17:58:26 +00:00
parent 2b41a2e4e2
commit 0d7af2cdba
11 changed files with 8 additions and 43 deletions

View File

@ -1,3 +1,8 @@
2002-09-03 Pavel Roskin <proski@gnu.org>
* acinclude.m4: Remove Termnet support, it's too old and obscure
to be supported properly.
2002-08-27 Pavel Roskin <proski@gnu.org>
* lib/mc.ext.in: Add new OpenOffice.org formats. Always use

View File

@ -116,9 +116,6 @@ the directory base where you installed the gpm package.
=optional parameter, then the subshell support is turned off by
default. To turn it on, specify the `-U' option to the program.
`--with-termnet'
Enables the network support with the Term package.
`--with-tm-x-support'
This option enables minimal X Window support in the text edition. It
enables MC to query the status of the modifiers CONTROL and SHIFT

1
NEWS
View File

@ -3,6 +3,7 @@ Changes made after 4.6.0-pre1.
- Polish manual has been added.
- glib is now properly detected on FreeBSD.
- New syntax rules - RPM specfile.
- Termnet support has heen removed.
Version 4.6.0-pre1.

View File

@ -39,8 +39,6 @@ dnl MC_VFS_CHECKS
dnl Check for various functions needed by libvfs.
dnl This has various effects:
dnl Sets MC_VFS_LIBS to libraries required
dnl Sets termnet to true or false depending on whether it is required.
dnl If yes, defines USE_TERMNET.
dnl Sets vfs_flags to "pretty" list of vfs implementations we include.
dnl Sets shell variable use_vfs to yes (default, --with-vfs) or
dnl "no" (--without-vfs).
@ -157,20 +155,6 @@ AC_DEFUN([MC_WITH_VFS],[
)
fi
dnl
dnl The termnet support
dnl
termnet=false
AC_ARG_WITH(termnet,
[--with-termnet If you want a termified net support],[
if test x$withval = xyes; then
AC_DEFINE(USE_TERMNET, 1,
[Define to enable `term' firewall support])
termnet=true
fi
])
TERMNET=""
AC_DEFINE(USE_VFS, 1, [Define to enable VFS support])
if $use_net_code; then
AC_DEFINE(USE_NETCODE, 1, [Define to use networked VFS])
@ -178,12 +162,8 @@ AC_DEFUN([MC_WITH_VFS],[
mcserv=
if test $have_socket = yes; then
mcserv="mcserv"
if $termnet; then
TERMNET="-ltermnet"
fi
fi
AC_SUBST(TERMNET)
AC_SUBST(mcserv)
dnl FIXME:

View File

@ -36,7 +36,7 @@ endif
endif
mc_LDADD = $(EDITLIB) $(SLANGLIB) $(VFSLIB) \
$(INTLLIBS) $(TERMNET) $(GLIB_LIBS) $(MCLIBS) $(LIBICONV)
$(INTLLIBS) $(GLIB_LIBS) $(MCLIBS) $(LIBICONV)
CHARSET_SRC = charsets.c charsets.h selcodepage.c selcodepage.h

View File

@ -35,9 +35,6 @@ static const char * const features [] = {
# ifdef WITH_MCFS
N_(", mcfs"),
# endif
# ifdef USE_TERMNET
N_(" (with termnet support)"),
# endif
# ifdef WITH_SMBFS
N_(", smbfs"),
# endif

View File

@ -102,7 +102,7 @@ endif
mcserv_SOURCES = mcserv.c tcputil.c
mcserv_LDADD = $(TERMNET) $(PAMLIBS) $(LCRYPT) $(GLIB_LIBS)
mcserv_LDADD = $(PAMLIBS) $(LCRYPT) $(GLIB_LIBS)
SAMBA_DIST = \
Makefile.in \

View File

@ -69,10 +69,6 @@ What to do with this?
#include <arpa/telnet.h>
#include <sys/param.h>
#ifdef USE_TERMNET
#include <termnet.h>
#endif
#include "utilvfs.h"
#include "xdirentry.h"

View File

@ -39,10 +39,6 @@
#include <netinet/in.h> /* struct in_addr */
#include <arpa/inet.h>
#ifdef USE_TERMNET
#include <termnet.h>
#endif
#include "utilvfs.h"
#include "vfs.h"

View File

@ -38,10 +38,6 @@
#endif
#endif
#ifdef USE_TERMNET
#include <termnet.h>
#endif
#include <errno.h>
#include "tcputil.h"
#include "../src/dialog.h" /* for message () */

View File

@ -35,9 +35,6 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#ifdef USE_TERMNET
#include <termnet.h>
#endif
#include <errno.h>
#include "utilvfs.h"