X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure.ac;h=0addb4c57672372a4ffe03ca6563081b1050802c;hb=e1f4c4f71aba2f9fa07717025f2052d7eb2e212e;hp=e8966b8a747b3bc28907c936902d6d7b018a2c33;hpb=e5a54f3fe218c929804475e6257da0e17b4c226a;p=babeltrace.git diff --git a/configure.ac b/configure.ac index e8966b8a..0addb4c5 100644 --- a/configure.ac +++ b/configure.ac @@ -62,6 +62,7 @@ AC_HEADER_STDBOOL AC_CHECK_HEADERS([ \ fcntl.h \ float.h \ + ftw.h \ libintl.h \ limits.h \ malloc.h \ @@ -94,7 +95,7 @@ if test ! -f "$srcdir/plugins/ctf/common/metadata/lexer.c"; then fi -AM_PATH_GLIB_2_0(2.22.0, ,AC_MSG_ERROR([glib is required in order to compile BabelTrace - download it from ftp://ftp.gtk.org/pub/gtk]) , gmodule) +AM_PATH_GLIB_2_0(2.22.0, ,AC_MSG_ERROR([glib is required in order to compile BabelTrace - download it from ftp://ftp.gtk.org/pub/gtk]) , gmodule-no-export) # Check what libraries are required on this platform to link sockets programs. AX_LIB_SOCKET_NSL @@ -124,7 +125,6 @@ AC_FUNC_REALLOC AC_FUNC_STRERROR_R AC_CHECK_FUNCS([ \ atexit \ - dirfd \ dup2 \ ftruncate \ gethostbyname \ @@ -234,13 +234,6 @@ 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.])] ) @@ -406,7 +399,7 @@ AS_IF([test "x$BUILT_IN_PYTHON_PLUGIN_SUPPORT" != x], [ ]) AM_CONDITIONAL([BUILT_IN_PYTHON_PLUGIN_SUPPORT], [test "x$built_in_python_plugin_support" = "xyes"]) -PKG_CHECK_MODULES(GMODULE, [gmodule-2.0 >= 2.0.0]) +PKG_CHECK_MODULES(GMODULE, [gmodule-no-export-2.0 >= 2.0.0]) # Logging AC_ARG_VAR([BABELTRACE_MINIMAL_LOG_LEVEL], [Minimal log level for Babeltrace program, library, and plugins (VERBOSE, DEBUG, INFO, WARN, ERROR (default), FATAL, or NONE)])