-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])
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
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])
AC_CHECK_PROGS([OPTIPNG], [optipng])
: "${OPTIPNG:=:}"
+AM_CONDITIONAL([USE_NLS], [test x"$USE_NLS" = x"yes"])
+
AC_CONFIG_FILES([Makefile])
AC_OUTPUT