Re: [Openvpn-devel] [PATCH 33/52] build: properly detect and use socket libs

2012-03-08 Thread Alon Bar-Lev
Although I work with flameeyes closely in some of these issues... I disagree with his opinion here as generic approach. He is write as in most cases people just adds libraries as they go in the configure process... So you check for dl, then rt, then resolv, then selinux etc... building your LIBS.

Re: [Openvpn-devel] [PATCH 33/52] build: properly detect and use socket libs

2012-03-08 Thread Samuli Seppänen
Did some digging regarding AC_SEARCH_LIBS and AC_CHECK_LIB. Somebody with more autotools knowledge might want to read this one: So, the question is: why AC_CHECK_LIB rather than AC_SEARCH_LIBS in this particular case? Apparently

[Openvpn-devel] [PATCH 33/52] build: properly detect and use socket libs

2012-02-29 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- configure.ac| 27 +-- src/openvpn/Makefile.am |1 + 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index a0dc462..c540f82 100644 --- a/configure.ac +++ b/configure.ac @@ -442,1