projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ChangeLog: Add recent bugfix merges …
[collectd.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
c190784
..
e8eee8d
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-858,6
+858,17
@@
AC_CHECK_FUNCS([socket],
AM_CONDITIONAL([BUILD_WITH_LIBSOCKET], [test "x$socket_needs_socket" = "xyes"])
AM_CONDITIONAL([BUILD_WITH_GNULIB], [test "x$socket_needs_gnulib" = "xyes"])
AM_CONDITIONAL([BUILD_WITH_LIBSOCKET], [test "x$socket_needs_socket" = "xyes"])
AM_CONDITIONAL([BUILD_WITH_GNULIB], [test "x$socket_needs_gnulib" = "xyes"])
+AC_CHECK_FUNCS([inet_ntop],
+ [],
+ [
+ AC_CHECK_LIB([nsl], [inet_ntop],
+ [inet_ntop_needs_nsl="yes"],
+ [AC_MSG_ERROR([cannot find inet_ntop() in libnsl])]
+ )
+ ]
+)
+AM_CONDITIONAL([BUILD_WITH_LIBNSL], [test "x$inet_ntop_needs_nsl" = "xyes"])
+
clock_gettime_needs_posix4="no"
AC_CHECK_FUNCS([clock_gettime],
[have_clock_gettime="yes"],
clock_gettime_needs_posix4="no"
AC_CHECK_FUNCS([clock_gettime],
[have_clock_gettime="yes"],
@@
-2081,8
+2092,8
@@
if test "x$with_cuda" = "xyes"; then
fi
if test "x$with_cuda" = "xyes"; then
fi
if test "x$with_cuda" = "xyes"; then
- BUILD_WITH_CUDA_CPPFLAGS="$
CUDA_CPPFLAGS
"
- BUILD_WITH_CUDA_LDFLAGS="$
CUDA_LDFLAGS
"
+ BUILD_WITH_CUDA_CPPFLAGS="$
with_cuda_cppflags
"
+ BUILD_WITH_CUDA_LDFLAGS="$
with_cuda_ldflags
"
BUILD_WITH_CUDA_LIBS="-lnvidia-ml"
fi
BUILD_WITH_CUDA_LIBS="-lnvidia-ml"
fi