version 1.20 | | version 1.21 |
---|
| | |
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.20 2006/03/22 23:06:45 tchize Exp $) | | AC_REVISION($Id: configure.ac,v 1.21 2006/05/03 21:50:23 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]) |
| | |
[cf_will_build_crossedit="yes"] | | [cf_will_build_crossedit="yes"] |
AC_SUBST(CROSSEDIT, 'crossedit'), | | AC_SUBST(CROSSEDIT, 'crossedit'), |
[cf_will_build_crossedit="no"] ) | | [cf_will_build_crossedit="no"] ) |
| | |
######################## | | ######################## |
# Unit test configuration | | # Unit test configuration |
| | |
| | |
AC_MSG_WARN([Check not found; cannot run unit tests!]) | | AC_MSG_WARN([Check not found; cannot run unit tests!]) |
[have_check="no"]) | | [have_check="no"]) |
AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes") | | AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes") |
| | CF_CHECK_XSLT(xsltengine) |
| | AM_CONDITIONAL(PROCESS_XSLT,[test x"$have_check" = "xyes" -a x"$xsltengine" != x]) |
| | AC_SUBST(XSLTENGINE,[$xsltengine]) |
AC_OUTPUT([Makefile | | AC_OUTPUT([Makefile |
crossedit/Makefile crossedit/doc/Makefile crossedit/include/Makefile | | crossedit/Makefile crossedit/doc/Makefile crossedit/include/Makefile |
crossedit/Cnv/Makefile crossedit/bitmaps/Makefile | | crossedit/Cnv/Makefile crossedit/bitmaps/Makefile |
| | |
AC_MSG_NOTICE([ Will build python plugin? $cf_will_build_python]) | | AC_MSG_NOTICE([ Will build python plugin? $cf_will_build_python]) |
| | |
fi | | fi |
AC_MSG_NOTICE([ Will process unit testing? $have_check ]) | | if test x"$xsltengine" != x ; then |
| | check_complement=["(will generate report)"] |
| | fi |
| | AC_MSG_NOTICE([ Will process unit testing? $have_check $check_complement]) |
if test "x$have_check" = "xyes" ; then | | if test "x$have_check" = "xyes" ; then |
AC_MSG_NOTICE([ (run make; make -k check)]) | | AC_MSG_NOTICE([ (run make; make -k check)]) |
else | | else |
| | |
AC_MSG_NOTICE([ yes but compilation failed or you have good reason to think]) | | AC_MSG_NOTICE([ yes but compilation failed or you have good reason to think]) |
AC_MSG_NOTICE([ script guessed wrong, please inform mailing list or sf tracker.]) | | AC_MSG_NOTICE([ script guessed wrong, please inform mailing list or sf tracker.]) |
| | |
| | |