-dnl Copyright © 2009-2011 Nick Bowler
+dnl Copyright © 2009-2012, 2015 Nick Bowler
dnl
dnl License WTFPL2: Do What The Fuck You Want To Public License, version 2.
dnl This is free software: you are free to do what the fuck you want to.
AC_CONFIG_HEADER([config.h])
AC_CONFIG_MACRO_DIR([m4])
-AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign subdir-objects])
+AM_SILENT_RULES([yes])
+DX_AUTOMAKE_COMPAT
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])
+LTDL_INIT([nonrecursive])
gl_INIT
+m4_include([lib/gnulib.mk])
+
CHECK_GLIB_2([], [gobject])
AC_ARG_WITH([modlib],
AC_CONFIG_FILES([
Makefile
- libltdl/Makefile
- lib/Makefile
- src/Makefile
libuobject.pc
])
AC_OUTPUT