X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=configure.ac;h=b6ba0fe2f834c5b274f15fbb5d0c176019d9f156;hp=6e68cad15a97d15442e43263b97e9b3806cfc933;hb=081464723c3c3dfb48ad428322d07b90465a5667;hpb=6f81931db3eb4f8c536b81dcc283a60b2711d66c 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],