projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update defines according to manual pageentry
[rrdtool.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
202f370
..
3078710
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-72,7
+72,7
@@
char *strchr (), *strrchr ();
/* enable posix_fadvise on linux */
#if defined(HAVE_POSIX_FADVISE) && defined(HAVE_FCNTL_H)
/* enable posix_fadvise on linux */
#if defined(HAVE_POSIX_FADVISE) && defined(HAVE_FCNTL_H)
-#define _
_USE_XOPEN2K 1
+#define _
XOPEN_SOURCE 600
#include <fcntl.h>
#endif
#include <fcntl.h>
#endif
@@
-248,7
+248,7
@@
AC_C_BIGENDIAN
dnl for each function found we get a definition in config.h
dnl of the form HAVE_FUNCTION
dnl for each function found we get a definition in config.h
dnl of the form HAVE_FUNCTION
-AC_CHECK_FUNCS(tzset mbstowcs opendir readdir chdir chroot getuid setlocale strerror strerror_r snprintf vsnprintf fpclass class fp_class isnan memmove strchr mktime getrusage gettimeofday posix_fadvise)
+AC_CHECK_FUNCS(tzset mbstowcs opendir readdir chdir chroot getuid setlocale strerror strerror_r snprintf vsnprintf fpclass class fp_class isnan memmove strchr mktime getrusage gettimeofday posix_fadvise
madvise
)
if test "x$enable_mmap" = xyes; then
if test "x$enable_mmap" = xyes; then