Remove check for not used networking libraries in configure.ac
authormarkus schnalke <meillo@marmaro.de>
Wed, 28 Oct 2015 22:39:50 +0000 (23:39 +0100)
committermarkus schnalke <meillo@marmaro.de>
Wed, 28 Oct 2015 22:39:50 +0000 (23:39 +0100)
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
aclocal.m4 [deleted file]
configure.ac

index 21ffdb2..bd6d9a4 100644 (file)
@@ -135,7 +135,7 @@ Makefile: Makefile.in config.status
 config.status: configure VERSION
        ./config.status --recheck
 
 config.status: configure VERSION
        ./config.status --recheck
 
-configure: configure.ac aclocal.m4
+configure: configure.ac
        cd $(srcdir) && autoconf
 
 config.h: stamp-h
        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
        ./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 > $@
 
        cd $(srcdir) && autoheader
        date > $@
 
diff --git a/aclocal.m4 b/aclocal.m4
deleted file mode 100644 (file)
index 872f5f9..0000000
+++ /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
index 9e32e21..05432d4 100644 (file)
@@ -364,9 +364,6 @@ dnl -------------------
 dnl Check location of modf
 AC_CHECK_FUNC(modf, , AC_CHECK_LIB(m, modf))
 
 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])
 termcap_curses_order="termcap curses ncurses"
 for lib in $termcap_curses_order; do
   AC_CHECK_LIB(${lib}, tgetent, [TERMLIB="-l$lib"; break])