]> git.draconx.ca Git - rrace.git/blobdiff - configure.ac
Don't build locale/wcwidth junk if NLS is disabled.
[rrace.git] / configure.ac
index ab932ce2a5f696e6bb2b9a47b7cf3cb38f0fbb64..0042b3715b8d39b9ef4361fb7e6fbb2e9bdd6b57 100644 (file)
@@ -1,4 +1,4 @@
-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.
@@ -15,19 +15,15 @@ DX_AUTOMAKE_COMPAT
 
 AC_PROG_CC_C99
 gl_EARLY
-LT_INIT
-gl_INIT
 
 AC_C_FLEXIBLE_ARRAY_MEMBER
+AC_C_INLINE
+
+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
@@ -114,8 +110,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])