From 54c43692649e392a42bb9559ea12cdaff056b965 Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Tue, 27 Mar 2012 10:46:38 +0200 Subject: [PATCH] s/AC_CHECK_NETLIBS/NMH_CHECK_NETLIBS/, since it's not part of autoconf. Pulled in from nmh. Thanks to Ken Hornstein. --- aclocal.m4 | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index 89e6f97..872f5f9 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -4,7 +4,7 @@ # optional libraries for networking functions. # -AC_DEFUN([AC_CHECK_NETLIBS], +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])]) diff --git a/configure.ac b/configure.ac index 51a4d1a..f55a982 100644 --- a/configure.ac +++ b/configure.ac @@ -387,7 +387,7 @@ dnl Check location of modf AC_CHECK_FUNC(modf, , AC_CHECK_LIB(m, modf)) dnl Checks for network libraries (nsl, socket) -AC_CHECK_NETLIBS +NMH_CHECK_NETLIBS termcap_curses_order="termcap curses ncurses" for lib in $termcap_curses_order; do -- 1.7.10.4