projects
/
darkstat
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92f5854
)
Look for hstrerror in -lresolv.
author
Emil Mikulic
<emikulic@gmail.com>
Thu, 1 Mar 2012 09:32:24 +0000
(20:32 +1100)
committer
Emil Mikulic
<emikulic@gmail.com>
Thu, 1 Mar 2012 09:32:24 +0000
(20:32 +1100)
Suggested by: Bernd Schemmer, for Solaris 10
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
fbeb5c3
..
30c5f08
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-242,8
+242,8
@@
AC_SEARCH_LIBS(gethostbyname, [nsl], [],
[AC_MSG_ERROR([gethostbyname() not found])])
AC_SEARCH_LIBS(socket, [socket], [],
[AC_MSG_ERROR([socket() not found])])
-AC_SEARCH_LIBS(
inet_aton
, [resolv], [],
- [AC_MSG_ERROR([
inet_aton
() not found])])
+AC_SEARCH_LIBS(
hstrerror
, [resolv], [],
+ [AC_MSG_ERROR([
hstrerror
() not found])])
# Solaris need sys/filio.h for FIONBIO
AC_CHECK_HEADERS(sys/filio.h)