Copy the packet_header in the plugins
[babeltrace.git] / configure.ac
index 6e68cad15a97d15442e43263b97e9b3806cfc933..b6ba0fe2f834c5b274f15fbb5d0c176019d9f156 100644 (file)
@@ -38,7 +38,7 @@ AC_PROG_CC_STDC
 
 # Checks for programs.
 AC_PROG_MAKE_SET
-LT_INIT
+LT_INIT(win32-dll)
 AC_PROG_YACC
 AC_PROG_LEX
 AC_PROG_MKDIR_P
@@ -153,6 +153,7 @@ AC_CHECK_FUNCS([ \
 
 MINGW32=no
 DEFAULT_ENABLE_DEBUG_INFO=yes
+LT_NO_UNDEFINED=""
 AS_CASE([$host_os],
   [solaris*|darwin*],
     [
@@ -162,10 +163,12 @@ AS_CASE([$host_os],
     [
        MINGW32=yes
        DEFAULT_ENABLE_DEBUG_INFO=no
+       LT_NO_UNDEFINED="-no-undefined"
     ]
 )
 
 AM_CONDITIONAL([BABELTRACE_BUILD_WITH_MINGW], [test "x$MINGW32" = "xyes"])
+AC_SUBST(LT_NO_UNDEFINED)
 
 # Check for uuid in system libs
 AC_CHECK_FUNCS([uuid_generate],
This page took 0.023373 seconds and 4 git commands to generate.