X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure.ac;h=b6ba0fe2f834c5b274f15fbb5d0c176019d9f156;hb=6a5c98a5326dccd11d1c8300c5977666b15a7b75;hp=6e68cad15a97d15442e43263b97e9b3806cfc933;hpb=48d1e6e0882713f441f793928ac6651666fd9b1d;p=babeltrace.git diff --git a/configure.ac b/configure.ac index 6e68cad1..b6ba0fe2 100644 --- a/configure.ac +++ b/configure.ac @@ -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],