projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9503b8
)
Change the name of AC_CHECK_NETLIBS, since it's not a macro distributed
author
Ken Hornstein
<kenh@pobox.com>
Tue, 17 Jan 2012 19:15:32 +0000
(14:15 -0500)
committer
Ken Hornstein
<kenh@pobox.com>
Tue, 17 Jan 2012 19:15:32 +0000
(14:15 -0500)
by Autoconf.
aclocal.m4
patch
|
blob
|
history
configure.ac
patch
|
blob
|
history
diff --git
a/aclocal.m4
b/aclocal.m4
index
a7e5447
..
e76b93f
100644
(file)
--- 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
(file)
--- 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