]> git.draconx.ca Git - rrace.git/blobdiff - configure.ac
Bump dxcommon to get curses configure fixes.
[rrace.git] / configure.ac
index 11b12933c7a3584b5c27419ed32c4c0d6f5b58f7..9f290c113c11f6ad243f4dfb14ce7bd282155cf7 100644 (file)
@@ -1,11 +1,10 @@
-dnl Copyright © 2022-2023 Nick Bowler
+dnl Copyright © 2022-2024 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([rrace], [0], [nbowler@draconx.ca])
 AC_CONFIG_HEADERS([config.h])
@@ -16,19 +15,16 @@ DX_AUTOMAKE_COMPAT
 
 AC_PROG_CC_C99
 gl_EARLY
-LT_INIT
-gl_INIT
 
+AC_C_INLINE
 AC_C_FLEXIBLE_ARRAY_MEMBER
+DX_C_FOR_DECLARATIONS
+
+LT_INIT
+gl_INIT
 
 AC_CACHE_SAVE
 m4_include([lib/gnulib.mk])
-
-dnl We will provide our own makefile rules for gettext.  Disable tracing of
-dnl AM_GNU_GETTEXT to prevent autoreconf from running autopoint, and to
-dnl prevent automake from growing gratuitous error conditions.
-m4_traceoff([AM_GNU_GETTEXT])
-AM_GNU_GETTEXT([external])
 AH_BOTTOM([#include <conf_post.h>])
 
 # Checks for curses
@@ -115,8 +111,7 @@ On some platforms, or when statically linking lib]m4_defn([lib])[,
 leaving this undefined may reduce the executable size somewhat.])])
 
 AC_CONFIG_TESTDIR([.], [t:.])
-DX_PROG_AUTOTEST
-AM_CONDITIONAL([HAVE_AUTOTEST], [test x"$dx_cv_autotest_works" = x"yes"])
+DX_PROG_AUTOTEST_AM
 
 AC_CHECK_PROGS([XPMTOPPM], [xpmtoppm])
 AC_CHECK_PROGS([PNMTOPNG], [pnmtopng])