]> git.marmaro.de Git - mmh/commitdiff
s/AC_CHECK_NETLIBS/NMH_CHECK_NETLIBS/, since it's not part of autoconf.
authormarkus schnalke <meillo@marmaro.de>
Tue, 27 Mar 2012 08:46:38 +0000 (10:46 +0200)
committermarkus schnalke <meillo@marmaro.de>
Tue, 27 Mar 2012 08:46:38 +0000 (10:46 +0200)
Pulled in from nmh. Thanks to Ken Hornstein.

aclocal.m4
configure.ac

index 89e6f9762947b463a606856a8c877ff02d2bfd4a..872f5f9e41bf28a5467ba0a3c6a812d15af88fbc 100644 (file)
@@ -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])])
index 51a4d1af4615a6c7c32017335fcb239fbe311260..f55a9824476aaa8ae4930a878830280c99db7c22 100644 (file)
@@ -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