X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/382855dd3f69cdce3e3b4eb6da392f881e7825da..6be651088b8e49c16b04caf8031c132e858a0ee9:/configure.ac diff --git a/configure.ac b/configure.ac index f86b8dd..468147b 100644 --- a/configure.ac +++ b/configure.ac @@ -7,6 +7,15 @@ AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) AC_PROG_CC_C99 +gl_EARLY + +LT_CONFIG_LTDL_DIR([libltdl]) +LT_INIT([dlopen]) +LTDL_INIT([recursive]) + +AM_CONDITIONAL([BUNDLED_LIBLTDL], [test x$LTDLDEPS != x]) + +gl_INIT AC_ARG_WITH([gobject], [AS_HELP_STRING([--with-gobject], @@ -22,15 +31,11 @@ fi AM_CONDITIONAL([BUILD_UPKG], [test x$have_gobject = xyes]) -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 + lib/Makefile src/Makefile ]) AC_OUTPUT