libctfcopytrace: copy trace's UUID
[babeltrace.git] / configure.ac
index b9d5e621ac53cc4b2f5065405343bc371cda58d1..f7503d5cef46f96a437acb0269fe3ce77d29351c 100644 (file)
@@ -62,6 +62,7 @@ AC_HEADER_STDBOOL
 AC_CHECK_HEADERS([ \
        fcntl.h \
        float.h \
+       ftw.h \
        libintl.h \
        limits.h \
        malloc.h \
@@ -117,14 +118,11 @@ AC_TYPE_UINT8_T
 # Checks for library functions.
 AC_FUNC_ALLOCA
 AC_FUNC_FORK
-AC_FUNC_MALLOC
 AC_FUNC_MKTIME
 AC_FUNC_MMAP
-AC_FUNC_REALLOC
 AC_FUNC_STRERROR_R
 AC_CHECK_FUNCS([ \
        atexit \
-       dirfd \
        dup2 \
        ftruncate \
        gethostbyname \
@@ -151,6 +149,10 @@ AC_CHECK_FUNCS([ \
        uname \
 ])
 
+# AC_FUNC_MALLOC causes problems when cross-compiling.
+#AC_FUNC_MALLOC
+#AC_FUNC_REALLOC
+
 MINGW32=no
 DEFAULT_ENABLE_DEBUG_INFO=yes
 LT_NO_UNDEFINED=""
@@ -159,6 +161,11 @@ AS_CASE([$host_os],
     [
        DEFAULT_ENABLE_DEBUG_INFO=no
     ],
+  [cygwin*],
+    [
+       DEFAULT_ENABLE_DEBUG_INFO=no
+       LT_NO_UNDEFINED="-no-undefined"
+    ],
   [mingw*],
     [
        MINGW32=yes
@@ -234,13 +241,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.])]
 )
@@ -523,6 +523,7 @@ AC_CONFIG_FILES([
        plugins/text/pretty/Makefile
        plugins/utils/Makefile
        plugins/utils/dummy/Makefile
+       plugins/utils/counter/Makefile
        plugins/utils/trimmer/Makefile
        plugins/utils/muxer/Makefile
        python-plugin-provider/Makefile
This page took 0.025224 seconds and 4 git commands to generate.