2 AC_INIT([upkg],[0.1],[nbowler@draconx.ca])
3 AC_CONFIG_SRCDIR([src/libupkg.c])
4 AC_CONFIG_HEADER([config.h])
5 AC_CONFIG_MACRO_DIR([m4])
7 AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
11 AC_ARG_WITH([gobject],
12 [AS_HELP_STRING([--with-gobject],
13 [build tools requiring libgobject [default=yes]]
19 if test x$with_gobject = xyes; then
20 AM_PATH_GLIB_2_0(, [have_gobject=yes], [have_gobject=no], [gobject])
23 AM_CONDITIONAL([BUILD_UPKG], [test x$have_gobject = xyes])
25 LT_CONFIG_LTDL_DIR([libltdl])
27 LTDL_INIT([recursive])
29 AM_CONDITIONAL([BUNDLED_LIBLTDL], [test x$LTDLDEPS != x])