From: markus schnalke Date: Tue, 27 Mar 2012 08:46:38 +0000 (+0200) Subject: s/AC_CHECK_NETLIBS/NMH_CHECK_NETLIBS/, since it's not part of autoconf. X-Git-Tag: mmh-thesis-end~156 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=54c43692649e392a42bb9559ea12cdaff056b965 s/AC_CHECK_NETLIBS/NMH_CHECK_NETLIBS/, since it's not part of autoconf. Pulled in from nmh. Thanks to Ken Hornstein. --- 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