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])
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"],
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