projects
/
platform
/
upstream
/
openconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
008e396
)
Use libsocket and libnsl as necessary on Solaris
author
David Woodhouse
<David.Woodhouse@intel.com>
Tue, 6 Nov 2012 14:14:33 +0000
(14:14 +0000)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Tue, 6 Nov 2012 14:14:33 +0000
(14:14 +0000)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
430fe77
..
6288ea1
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-135,6
+135,9
@@
AS_COMPILER_FLAGS(CFLAGS,
-Wpointer-arith
-Wwrite-strings")
+AC_CHECK_FUNC(socket, [], AC_CHECK_LIB(socket, socket, [], AC_ERROR(Cannot find socket() function)))
+AC_CHECK_FUNC(inet_aton, [], AC_CHECK_LIB(nsl, inet_aton, [], AC_ERROR(Cannot find inet_aton() function)))
+
AC_ENABLE_SHARED
AC_DISABLE_STATIC