projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Port: Add compat for strnlen and strndup
[babeltrace.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index a4dde9e00e214650f96d0ba14ce24ce2ebf5b28f..e7ac7936c2a604cc481ad12c04edf9f717d594e6 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-95,6
+95,7
@@
AC_CHECK_FUNCS([ \
gettimeofday munmap strtoul ftruncate gethostbyname \
localtime_r memset mkdir rmdir setenv socket \
strchr strdup strerror strndup strrchr strtoull tzset \
gettimeofday munmap strtoul ftruncate gethostbyname \
localtime_r memset mkdir rmdir setenv socket \
strchr strdup strerror strndup strrchr strtoull tzset \
+ strnlen \
])
# Check for MinGW32.
])
# Check for MinGW32.
@@
-154,11
+155,17
@@
AC_CHECK_LIB([c], [posix_fallocate],
]
)
]
)
+# Check for faccessat
+AC_CHECK_LIB([c], [faccessat],
+[
+ AC_DEFINE_UNQUOTED([BABELTRACE_HAVE_FACCESSAT], 1, [Has faccessat support.])
+]
+)
+
AC_CHECK_LIB([popt], [poptGetContext], [],
[AC_MSG_ERROR([Cannot find popt.])]
)
AC_CHECK_LIB([popt], [poptGetContext], [],
[AC_MSG_ERROR([Cannot find popt.])]
)
-
# For Python
# SWIG version needed or newer:
swig_version=2.0.0
# For Python
# SWIG version needed or newer:
swig_version=2.0.0
This page took
0.025231 seconds
and
4
git commands to generate.