X-Git-Url: http://git.draconx.ca/gitweb/rrace.git/blobdiff_plain/683ddffaa0940d7c8b792d790c617e6950ce7a1a..a13b072946d80c2da325e90cb73d96a25485a80a:/configure.ac diff --git a/configure.ac b/configure.ac index fb7dd41..946fb53 100644 --- a/configure.ac +++ b/configure.ac @@ -4,6 +4,9 @@ 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]) + AC_INIT([rrace], [0], [nbowler@draconx.ca]) AC_CONFIG_HEADERS([config.h]) @@ -12,7 +15,12 @@ AM_SILENT_RULES([yes]) DX_AUTOMAKE_COMPAT AC_PROG_CC_C99 +gl_EARLY LT_INIT +gl_INIT + +AC_CACHE_SAVE +m4_include([lib/gnulib.mk]) AC_PATH_XTRA AS_IF([test x"$no_x" != x"yes"], @@ -33,7 +41,13 @@ AS_IF([test x"$with_x" = x"yes" && test "$dx_cv_have_motif" != x"yes"], AC_SUBST([MOTIF_CFLAGS], [@&t@]) AC_SUBST([MOTIF_LIBS], [@&t@]) AS_IF([test x"$dx_cv_have_motif" = x"yes"], - [MOTIF_CFLAGS=$dx_cv_motif_cflags MOTIF_LIBS=$dx_cv_motif_libs]) + [MOTIF_CFLAGS=$dx_cv_motif_cflags MOTIF_LIBS=$dx_cv_motif_libs], + [AC_DEFINE([X_DISPLAY_MISSING])]) +AM_CONDITIONAL([HAVE_MOTIF], [test x"$dx_cv_have_motif" = x"yes"]) + +AC_CONFIG_TESTDIR([.], [t:.]) +DX_PROG_AUTOTEST +AM_CONDITIONAL([HAVE_AUTOTEST], [test x"$dx_cv_autotest_works" = x"yes"]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT