projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: Use memset() to initialize packet_index
[babeltrace.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index a4dde9e00e214650f96d0ba14ce24ce2ebf5b28f..31bc76a1423bf2893c44de808a1cd61eab749ca3 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-46,7
+46,18
@@
CC="$PTHREAD_CC"
AX_APPEND_LINK_FLAGS([-Wl,--no-as-needed], [LD_NO_AS_NEEDED])
AC_SUBST([LD_NO_AS_NEEDED])
AX_APPEND_LINK_FLAGS([-Wl,--no-as-needed], [LD_NO_AS_NEEDED])
AC_SUBST([LD_NO_AS_NEEDED])
-AC_CHECK_HEADERS([fcntl.h limits.h netdb.h netinet/in.h stddef.h sys/socket.h])
+AC_HEADER_STDBOOL
+AC_CHECK_HEADERS([ \
+ fcntl.h \
+ float.h \
+ libintl.h \
+ limits.h \
+ malloc.h \
+ netdb.h \
+ netinet/in.h \
+ stddef.h \
+ sys/socket.h \
+])
if test ! -f "$srcdir/formats/ctf/metadata/ctf-parser.h"; then
if test x"$YACC" != "xbison -y"; then
if test ! -f "$srcdir/formats/ctf/metadata/ctf-parser.h"; then
if test x"$YACC" != "xbison -y"; then
@@
-89,12
+100,40
@@
AC_TYPE_UINT64_T
AC_TYPE_UINT8_T
# Checks for library functions.
AC_TYPE_UINT8_T
# Checks for library functions.
+AC_FUNC_ALLOCA
+AC_FUNC_FORK
AC_FUNC_MALLOC
AC_FUNC_MALLOC
+AC_FUNC_MKTIME
AC_FUNC_MMAP
AC_FUNC_MMAP
+AC_FUNC_REALLOC
+AC_FUNC_STRERROR_R
AC_CHECK_FUNCS([ \
AC_CHECK_FUNCS([ \
- gettimeofday munmap strtoul ftruncate gethostbyname \
- localtime_r memset mkdir rmdir setenv socket \
- strchr strdup strerror strndup strrchr strtoull tzset \
+ atexit \
+ dirfd \
+ dup2 \
+ ftruncate \
+ gethostbyname \
+ gethostname \
+ gettimeofday \
+ localtime_r \
+ memchr \
+ memset \
+ mkdir \
+ mkdtemp \
+ munmap \
+ rmdir \
+ setenv \
+ socket \
+ strchr \
+ strdup \
+ strerror \
+ strndup \
+ strnlen \
+ strrchr \
+ strtoul \
+ strtoull \
+ tzset \
+ uname \
])
# Check for MinGW32.
])
# Check for MinGW32.
@@
-154,11
+193,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
@@
-222,9
+267,12
@@
PKG_CHECK_MODULES(GMODULE, [$pkg_modules])
AC_SUBST(PACKAGE_LIBS)
LIBS="$LIBS $GMODULE_LIBS"
AC_SUBST(PACKAGE_LIBS)
LIBS="$LIBS $GMODULE_LIBS"
-PACKAGE_CFLAGS="$GMODULE_CFLAGS -Wall -Wformat
-include config.h
"
+PACKAGE_CFLAGS="$GMODULE_CFLAGS -Wall -Wformat"
AC_SUBST(PACKAGE_CFLAGS)
AC_SUBST(PACKAGE_CFLAGS)
+DEFAULT_INCLUDES="-I\$(top_srcdir) -I\$(top_builddir) -I\$(top_builddir)/include -include config.h"
+AC_SUBST(DEFAULT_INCLUDES)
+
babeltraceincludedir="${includedir}/babeltrace"
AC_SUBST(babeltraceincludedir)
babeltraceincludedir="${includedir}/babeltrace"
AC_SUBST(babeltraceincludedir)
This page took
0.027732 seconds
and
4
git commands to generate.