From 2daf28cdb048aa7276f05e19980b0a818e82fcf1 Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Tue, 17 Jan 2012 14:15:32 -0500 Subject: [PATCH] Change the name of AC_CHECK_NETLIBS, since it's not a macro distributed by Autoconf. --- aclocal.m4 | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index a7e5447..e76b93f 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 18b4ab3..741d69f 100644 --- a/configure.ac +++ b/configure.ac @@ -526,7 +526,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