X-Git-Url: http://git.draconx.ca/gitweb/rrace.git/blobdiff_plain/bb305b31ce8cd0c2ce214fd56732905c08fe080a..1cc5fc775e2a5dbd41cb968fa141be6647d1282a:/configure.ac diff --git a/configure.ac b/configure.ac index 11b1293..0042b37 100644 --- a/configure.ac +++ b/configure.ac @@ -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,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 ]) # Checks for curses @@ -115,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])