projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
896592c
)
configure: add few common libraries to build.
author
Marko Kreen
<markokr@gmail.com>
Sun, 26 Sep 2010 04:01:53 +0000
(21:01 -0700)
committer
Marko Kreen
<markokr@gmail.com>
Sun, 26 Sep 2010 04:07:05 +0000
(21:07 -0700)
Does not matter for libusual.a but for test executables.
configure.ac
patch
|
blob
|
blame
|
history
diff --git
a/configure.ac
b/configure.ac
index c3fc471336fcf2f79840947a0da082f160573a63..5a2ce786afb7b41fb950f0c6e066cc05d3b84d86 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-23,6
+23,12
@@
AC_USUAL_DEBUG
AC_USUAL_LIBEVENT(opt)
+dnl search for common libraries
+AC_SEARCH_LIBS(clock_gettime, rt)
+AC_SEARCH_LIBS(getsockname, socket)
+AC_SEARCH_LIBS(gethostbyname, nsl)
+AC_SEARCH_LIBS(hstrerror, resolv)
+
dnl Output findings
AC_OUTPUT([config.mak])