Add MinGW32 libraries to executables
[babeltrace.git] / configure.ac
index b21aa7ef3a4e7968f6fe20bb1eb7962f470356ec..8a636075a756813a29b8ef88ed93dbc75574de63 100644 (file)
@@ -37,6 +37,15 @@ AC_FUNC_MALLOC
 AC_FUNC_MMAP
 AC_CHECK_FUNCS([bzero gettimeofday munmap strtoul])
 
+# Check for MinGW32.
+MINGW32=no
+case $host in
+  *-*-mingw*)
+       MINGW32=yes;;
+esac
+
+AM_CONDITIONAL([BABELTRACE_BUILD_WITH_MINGW], [test "x$MINGW32" = "xyes"])
+
 # Check for libuuid
 AC_CHECK_LIB([uuid], [uuid_generate],
 [
This page took 0.02524 seconds and 4 git commands to generate.