X-Git-Url: http://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/52c1b4699e8f5c396e3316a813d73de8075df97a..HEAD:/configure.ac diff --git a/configure.ac b/configure.ac index 7fd2cb4..1b3a262 100644 --- a/configure.ac +++ b/configure.ac @@ -1,12 +1,14 @@ -dnl Copyright © 2009-2012, 2015, 2019-2020, 2022 Nick Bowler +dnl Copyright © 2009-2012, 2015, 2019-2020, 2022-2023 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. dnl There is NO WARRANTY, to the extent permitted by law. +DX_PATCH_GNULIB + AC_INIT([upkg],[0.1],[nbowler@draconx.ca]) AC_CONFIG_SRCDIR([src/libupkg.c]) -AC_CONFIG_HEADER([config.h]) +AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign subdir-objects]) @@ -16,6 +18,8 @@ DX_AUTOMAKE_COMPAT AC_PROG_CC_C99 gl_EARLY +AC_C_FLEXIBLE_ARRAY_MEMBER + LT_CONFIG_LTDL_DIR([libltdl]) LT_INIT([dlopen]) LTDL_INIT([nonrecursive]) @@ -75,5 +79,9 @@ CFLAGS=$save_CFLAGS LIBS=$save_LIBS]) ]) AM_CONDITIONAL([HAVE_GOB2_DYN], [test x"$dx_cv_gob2_dynamic_types" = x"yes"]) +AC_CONFIG_TESTDIR([.], [test:.]) +DX_PROG_AUTOTEST +AM_CONDITIONAL([HAVE_AUTOTEST], [test x"$dx_cv_autotest_works" = x"yes"]) + AC_CONFIG_FILES([Makefile libuobject.pc]) AC_OUTPUT