projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99ed934
)
Add support to link against libresolv Mac OS X
author
Alexis Hildebrandt
<afh@surryhill.net>
Sun, 22 Jun 2014 14:43:15 +0000
(16:43 +0200)
committer
Alexis Hildebrandt
<afh@surryhill.net>
Sun, 22 Jun 2014 14:43:15 +0000
(16:43 +0200)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index bb2dc802083bcd9f674b0959804b65d10b0932cc..b43bec8cb790be9a739b085580a4828794511eef 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-202,7
+202,7
@@
AC_CHECK_DECLS([freeaddrinfo, gai_strerror, getaddrinfo, getnameinfo],
[], [], [#include "src/have.h"]
)
-AC_CHECK_DECLS([res_init], [], [], [
+AC_CHECK_DECLS([res_init], [
LIBS="$LIBS -lresolv"
], [], [
#include <netinet/in.h>
#include <resolv.h>
])