X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/0b66ccda847802bdc7ba4755743031c323df4b7e..382855dd3f69cdce3e3b4eb6da392f881e7825da:/configure.ac diff --git a/configure.ac b/configure.ac index 5b8dbf7..f86b8dd 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ AC_CONFIG_SRCDIR([src/libupkg.c]) AC_CONFIG_HEADER([config.h]) AC_CONFIG_MACRO_DIR([m4]) -AM_INIT_AUTOMAKE([-Wall -Werror foreign]) +AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) AC_PROG_CC_C99 @@ -22,10 +22,15 @@ fi AM_CONDITIONAL([BUILD_UPKG], [test x$have_gobject = xyes]) -LT_INIT +LT_CONFIG_LTDL_DIR([libltdl]) +LT_INIT([dlopen]) +LTDL_INIT([recursive]) + +AM_CONDITIONAL([BUNDLED_LIBLTDL], [test x$LTDLDEPS != x]) AC_CONFIG_FILES([ Makefile + libltdl/Makefile src/Makefile ]) AC_OUTPUT