X-Git-Url: http://git.draconx.ca/gitweb/rrace.git/blobdiff_plain/da31028b3c2dfdb4d203fd9481568fe01d16926e..e6362f26075bafd5109f144c91ed87be343901b2:/configure.ac diff --git a/configure.ac b/configure.ac index 755d911..3709434 100644 --- a/configure.ac +++ b/configure.ac @@ -110,3 +110,9 @@ AC_CHECK_PROGS([OPTIPNG], [optipng]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT + +have_ui=false +AM_COND_IF([HAVE_MOTIF], [have_ui=:]) +AS_IF([$have_ui], [], +[AC_MSG_WARN([No user interface is enabled.]) +AC_MSG_WARN([It will not be possible to play the game.])])