]> git.draconx.ca Git - upkg.git/blobdiff - configure.ac
Stop using gnulib's flexmember module.
[upkg.git] / configure.ac
index b5d8d3d2b17fc98fa80538cc03e5737772878003..1b3a262ce38876a77901b1722f9a455a4595501a 100644 (file)
@@ -1,11 +1,10 @@
-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.
 
-dnl remove pointless gnulib warning flag check
-AC_DEFUN([gl_CC_GNULIB_WARNINGS])
+DX_PATCH_GNULIB
 
 AC_INIT([upkg],[0.1],[nbowler@draconx.ca])
 AC_CONFIG_SRCDIR([src/libupkg.c])
@@ -19,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])
@@ -78,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