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 mkdtemp
[babeltrace.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index c4faf6e58d6fbe4040f4d00a80c174f2ab752182..9757663f47f9aba70edebaf6550535a83928facb 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-81,7
+81,7
@@
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_MMAP
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_MMAP
-AC_CHECK_FUNCS([gettimeofday munmap strtoul])
+AC_CHECK_FUNCS([gettimeofday munmap strtoul
strndup strnlen mkdtemp
])
# Check for MinGW32.
MINGW32=no
# Check for MinGW32.
MINGW32=no
@@
-140,11
+140,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.024045 seconds
and
4
git commands to generate.