@@ -5,6 +5,7 @@ AC_INIT([babeltrace],[2.0.0-pre],[jeremie dot galarneau at efficios dot com])
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
AC_SUBST([BABELTRACE_LIBRARY_VERSION], [1:0:0])
+AC_CONFIG_SRCDIR([bindings/python/babeltrace/python-complements.c])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_MACRO_DIR([m4])
@@ -52,13 +53,19 @@ AC_HEADER_STDBOOL
AC_CHECK_HEADERS([ \
fcntl.h \
float.h \
+ inttypes.h \
libintl.h \
limits.h \
malloc.h \
netdb.h \
netinet/in.h \
stddef.h \
+ stdint.h \
+ stdlib.h \
+ string.h \
+ sys/param.h \
sys/socket.h \
+ unistd.h \
])
if test ! -f "$srcdir/formats/ctf/metadata/ctf-parser.h"; then
@@ -112,6 +119,7 @@ AC_FUNC_MKTIME
AC_FUNC_MMAP
AC_FUNC_REALLOC
AC_FUNC_STRERROR_R
+AC_FUNC_STRNLEN
AC_CHECK_FUNCS([ \
atexit \
dirfd \
Autoscan warns: autoscan: warning: missing AC_CHECK_HEADERS([sys/param.h]) wanted by: formats/lttng-live/lttng-live.h:28 autoscan: warning: missing AC_FUNC_STRNLEN wanted by: include/babeltrace/compat/string.h:59 Autoscan suggests adding AC_CONFIG_SRCDIR to make sure that the correct source directory is used at configure time. It also suggests adding checks for a handful of other headers. Signed-off-by: Nathan Lynch <nathan_lynch at mentor.com> --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+)