From bdd879c997e50e6b6e14dffb746d9fe9b6a1cf6c Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Wed, 28 Oct 2015 23:39:50 +0100 Subject: [PATCH] Remove check for not used networking libraries in configure.ac Mmh does no more contain networking code, hence we don't need this. This way, we can also get rid of aclocal.m4. --- Makefile.in | 4 ++-- aclocal.m4 | 11 ----------- configure.ac | 3 --- 3 files changed, 2 insertions(+), 16 deletions(-) delete mode 100644 aclocal.m4 diff --git a/Makefile.in b/Makefile.in index 21ffdb2..bd6d9a4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -135,7 +135,7 @@ Makefile: Makefile.in config.status config.status: configure VERSION ./config.status --recheck -configure: configure.ac aclocal.m4 +configure: configure.ac cd $(srcdir) && autoconf config.h: stamp-h @@ -143,7 +143,7 @@ stamp-h: config.h.in config.status ./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 > $@ diff --git a/aclocal.m4 b/aclocal.m4 deleted file mode 100644 index 872f5f9..0000000 --- a/aclocal.m4 +++ /dev/null @@ -1,11 +0,0 @@ - -# -# 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 diff --git a/configure.ac b/configure.ac index 9e32e21..05432d4 100644 --- a/configure.ac +++ b/configure.ac @@ -364,9 +364,6 @@ 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]) -- 1.7.10.4