#
# This file is part of DisOrder.
# Copyright (C) 2004, 2005, 2006, 2007 Richard Kettlewell
+# Portions copyright (C) 2007 Ross Younger
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# USA
#
-AC_INIT([disorder], [1.5.99+], [richard+disorder@sfere.greenend.org.uk])
+AC_INIT([disorder], [2.0], [richard+disorder@sfere.greenend.org.uk])
AC_CONFIG_AUX_DIR([config.aux])
-AM_INIT_AUTOMAKE(disorder, [1.5.99+])
+AM_INIT_AUTOMAKE(disorder, [2.0])
AC_CONFIG_SRCDIR([server/disorderd.c])
AM_CONFIG_HEADER([config.h])
if test $want_server = yes; then
subdirs="${subdirs} server plugins driver templates sounds images"
fi
-if test $want_python = yes; then
- AM_PATH_PYTHON
- subdirs="${subdirs} python"
-fi
if test $want_gtk = yes; then
subdirs="${subdirs} disobedience"
if test $want_server = no; then
subdirs="${subdirs} images"
fi
fi
-subdirs="${subdirs} tests"
+if test $want_python = yes; then
+ AM_PATH_PYTHON([2.4])
+ subdirs="${subdirs} python tests"
+fi
AC_SUBST([subdirs])
# libtool config
if test $rjk_cv_shadow = yes; then
CC="${CC} -Wshadow"
fi
-
-
fi
+RJK_GCOV
+
AH_BOTTOM([#ifdef __GNUC__
# define attribute(x) __attribute__(x)
#else
if test $GCC = yes && test "$gcc_werror" = ''; then
AC_MSG_WARN([building without -Werror])
fi
+if test $want_python = no; then
+ AC_MSG_WARN([cannot run the test suit without Python])
+fi