X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure.ac;h=fe5a0efbcbde92325fb0452a4b05190de8f30a6d;hb=4a7062f7481bb78e5a1eb6d21a4a6866954edc90;hp=9051405dc2b63668523d18551aa1d8b35e9475d7;hpb=bb9c6e6a0252d6239b00d8fe4cbcabd2f2af0a66;p=babeltrace.git diff --git a/configure.ac b/configure.ac index 9051405d..fe5a0efb 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 \ @@ -117,10 +118,8 @@ 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 \ @@ -150,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="" @@ -158,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 @@ -433,7 +441,7 @@ AC_SUBST(babeltracepluginincludedir) babeltracegraphincludedir="${includedir}/babeltrace/graph" AC_SUBST(babeltracegraphincludedir) -program_transform_name="s&babeltrace\.bin&babeltrace&;$program_transform_name" +program_transform_name="s&babeltrace\.bin&babeltrace&;s&babeltrace-log\.bin&babeltrace-log&;$program_transform_name" AC_SUBST(program_transform_name) # check for Doxygen @@ -512,9 +520,11 @@ AC_CONFIG_FILES([ plugins/ctf/fs-sink/Makefile plugins/ctf/lttng-live/Makefile plugins/text/Makefile + plugins/text/dmesg/Makefile 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