version 1.19 | | version 1.20 |
---|
| | |
dnl Process this file with autoconf to produce a configure script. | | dnl Process this file with autoconf to produce a configure script. |
| | |
AC_REVISION($Id: configure.ac,v 1.19 2006/03/21 22:46:00 tchize Exp $) | | AC_REVISION($Id: configure.ac,v 1.20 2006/03/22 23:06:45 tchize Exp $) |
AC_INIT([crossfire], [1.9.0], [crossfire-devel@listserv.real-time.com]) | | AC_INIT([crossfire], [1.9.0], [crossfire-devel@listserv.real-time.com]) |
AC_CONFIG_AUX_DIR(utils) | | AC_CONFIG_AUX_DIR(utils) |
AC_CONFIG_SRCDIR([server/main.c]) | | AC_CONFIG_SRCDIR([server/main.c]) |
| | |
AC_SUBST(PLUGIN_PYTHON) | | AC_SUBST(PLUGIN_PYTHON) |
| | |
######################## | | ######################## |
| | # crossedit compilability check |
| | CF_CHECK_CROSSEDIT(["$X11LIBS"], |
| | [cf_will_build_crossedit="yes"] |
| | AC_SUBST(CROSSEDIT, 'crossedit'), |
| | [cf_will_build_crossedit="no"] ) |
| | |
| | ######################## |
# Unit test configuration | | # Unit test configuration |
| | |
AM_PATH_CHECK(,[have_check="yes"], | | AM_PATH_CHECK(,[have_check="yes"], |
| | |
AC_MSG_NOTICE([]) | | AC_MSG_NOTICE([]) |
AC_MSG_NOTICE([ Build options]) | | AC_MSG_NOTICE([ Build options]) |
AC_MSG_NOTICE([]) | | AC_MSG_NOTICE([]) |
AC_MSG_NOTICE([ Will build crossedit? (*) No fucking way to know! ]) | | AC_MSG_NOTICE([ Will build crossedit? (*) $cf_will_build_crossedit ]) |
AC_MSG_NOTICE([ Will build plugins? $cf_have_libdl]) | | AC_MSG_NOTICE([ Will build plugins? $cf_have_libdl]) |
| | |
if test "x$cf_have_libdl" = "xyes" ; then | | if test "x$cf_have_libdl" = "xyes" ; then |
| | |
AC_MSG_NOTICE([ and write automated tests for all you add-ons!]) | | AC_MSG_NOTICE([ and write automated tests for all you add-ons!]) |
fi | | fi |
AC_MSG_NOTICE([]) | | AC_MSG_NOTICE([]) |
AC_MSG_NOTICE([ * because there is now way to know if crossedit will be compilable]) | | AC_MSG_NOTICE([ * this check is new and may be unaccurate. If you find it says]) |
AC_MSG_NOTICE([ on this platform, it may be that automated tests depending on it]) | | AC_MSG_NOTICE([ yes but compilation failed or you have good reason to think]) |
AC_MSG_NOTICE([ fail with awfull make error messages. As checks are run with]) | | AC_MSG_NOTICE([ script guessed wrong, please inform mailing list or sf tracker.]) |
AC_MSG_NOTICE([ make -k this should not affect other checks]) | | |
| | |
| | |