1 | dnl Process this file with autoconf to produce a configure script. |
1 | dnl Process this file with autoconf to produce a configure script. |
2 | |
2 | |
3 | AC_REVISION($Id: configure.ac,v 1.4 2006/03/15 15:35:45 elmex Exp $) |
3 | AC_REVISION($Id: configure.ac,v 1.5 2006/05/07 08:19:27 pippijn Exp $) |
4 | AC_INIT([crossfire], [1.9.0], [crossfire-devel@listserv.real-time.com]) |
4 | AC_INIT([crossfire], [1.9.0], [crossfire-devel@listserv.real-time.com]) |
5 | AC_CONFIG_AUX_DIR(utils) |
5 | AC_CONFIG_AUX_DIR(utils) |
6 | AC_CONFIG_SRCDIR([server/main.c]) |
6 | AC_CONFIG_SRCDIR([server/main.c]) |
7 | AM_INIT_AUTOMAKE |
7 | AM_INIT_AUTOMAKE |
8 | AM_CONFIG_HEADER(include/autoconf.h) |
8 | AM_CONFIG_HEADER(include/autoconf.h) |
… | |
… | |
273 | AC_MSG_NOTICE([No dl library found. Plugins will not be supported.]) |
273 | AC_MSG_NOTICE([No dl library found. Plugins will not be supported.]) |
274 | fi |
274 | fi |
275 | AM_CONDITIONAL(PYTHON_PLUGIN,test "x$PLUGIN_PYTHON" != "x") |
275 | AM_CONDITIONAL(PYTHON_PLUGIN,test "x$PLUGIN_PYTHON" != "x") |
276 | AC_SUBST(PLUGIN_PYTHON) |
276 | AC_SUBST(PLUGIN_PYTHON) |
277 | |
277 | |
|
|
278 | # crossedit compilability check |
|
|
279 | CF_CHECK_CROSSEDIT(["$X11LIBS"], |
|
|
280 | [cf_will_build_crossedit="yes"] |
|
|
281 | AC_SUBST(CROSSEDIT, 'crossedit'), |
|
|
282 | [cf_will_build_crossedit="no"] ) |
|
|
283 | |
278 | AC_OUTPUT([Makefile |
284 | AC_OUTPUT([Makefile |
279 | crossedit/Makefile crossedit/doc/Makefile crossedit/include/Makefile |
285 | crossedit/Makefile crossedit/doc/Makefile crossedit/include/Makefile |
280 | crossedit/Cnv/Makefile crossedit/bitmaps/Makefile |
286 | crossedit/Cnv/Makefile crossedit/bitmaps/Makefile |
281 | doc/Makefile doc/Developers/Makefile doc/spell-docs/Makefile |
287 | doc/Makefile doc/Developers/Makefile doc/spell-docs/Makefile |
282 | doc/spoiler/Makefile doc/spoiler-html/Makefile |
288 | doc/spoiler/Makefile doc/spoiler-html/Makefile |