Mmh does no more contain networking code, hence we don't need this.
This way, we can also get rid of aclocal.m4.
config.status: configure VERSION
./config.status --recheck
-configure: configure.ac aclocal.m4
+configure: configure.ac
cd $(srcdir) && autoconf
config.h: stamp-h
./config.status config.h stamp
config.h.in: stamp-h.in
-stamp-h.in: configure.ac acconfig.h aclocal.m4
+stamp-h.in: configure.ac acconfig.h
cd $(srcdir) && autoheader
date > $@
+++ /dev/null
-
-#
-# Updated for more modern systems. Check to see if we need to link against
-# optional libraries for networking functions.
-#
-
-AC_DEFUN([NMH_CHECK_NETLIBS],
-[AC_SEARCH_LIBS([gethostbyname], [nsl], ,
- [AC_MSG_ERROR([gethostbyname not found])])
- AC_SEARCH_LIBS([connect], [socket], , [AC_MSG_ERROR([connect not found])])
-])dnl
dnl Check location of modf
AC_CHECK_FUNC(modf, , AC_CHECK_LIB(m, modf))
-dnl Checks for network libraries (nsl, socket)
-NMH_CHECK_NETLIBS
-
termcap_curses_order="termcap curses ncurses"
for lib in $termcap_curses_order; do
AC_CHECK_LIB(${lib}, tgetent, [TERMLIB="-l$lib"; break])