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_INIT([crossfire], [1.9.1], [crossfire-devel@listserv.real-time.com]) |
3 | AC_INIT([crossfire], [1.9.1], [crossfire-devel@listserv.real-time.com]) |
4 | AC_CONFIG_AUX_DIR(utils) |
4 | AC_CONFIG_AUX_DIR(utils) |
5 | AC_CONFIG_SRCDIR([server/main.c]) |
5 | AC_CONFIG_SRCDIR([server/main.C]) |
6 | AM_INIT_AUTOMAKE |
6 | AM_INIT_AUTOMAKE |
7 | AM_CONFIG_HEADER(include/autoconf.h) |
7 | AM_CONFIG_HEADER(include/autoconf.h) |
8 | |
8 | |
9 | AM_MAINTAINER_MODE |
9 | AM_MAINTAINER_MODE |
10 | |
10 | |
… | |
… | |
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 | |
|
|
284 | AC_OUTPUT([Makefile |
278 | AC_OUTPUT([Makefile |
285 | crossedit/Makefile crossedit/doc/Makefile crossedit/include/Makefile |
|
|
286 | crossedit/Cnv/Makefile crossedit/bitmaps/Makefile |
|
|
287 | doc/Makefile doc/Developers/Makefile doc/spell-docs/Makefile |
279 | doc/Makefile doc/Developers/Makefile doc/spell-docs/Makefile |
288 | doc/spoiler/Makefile doc/spoiler-html/Makefile |
280 | doc/spoiler/Makefile doc/spoiler-html/Makefile |
289 | doc/playbook/Makefile doc/playbook-html/Makefile |
281 | doc/playbook/Makefile doc/playbook-html/Makefile |
290 | doc/scripts/Makefile |
282 | doc/scripts/Makefile |
291 | lib/Makefile random_maps/Makefile socket/Makefile server/Makefile |
283 | lib/Makefile random_maps/Makefile socket/Makefile server/Makefile |
292 | include/Makefile utils/Makefile lib/checkarch.pl |
284 | include/Makefile utils/Makefile lib/checkarch.pl |
293 | lib/collect.pl utils/add_throw.perl utils/crossloop.tmpl utils/crossloop.pl.tmpl |
285 | lib/collect.pl utils/add_throw.perl utils/crossloop.tmpl utils/crossloop.pl.tmpl |
294 | utils/metaserver.pl utils/crossloop.web utils/scores.pl utils/player_dl.pl |
286 | utils/metaserver.pl utils/crossloop.web utils/scores.pl utils/player_dl.pl |
295 | common/Makefile plugins/Makefile plugins/cfpython/Makefile |
287 | common/Makefile plugins/Makefile plugins/cfpython/Makefile |
296 | plugins/cfpython/include/Makefile plugins/cfanim/Makefile |
|
|
297 | plugins/cfanim/include/Makefile |
288 | plugins/cfpython/include/Makefile |
298 | plugins/common/Makefile plugins/common/include/Makefile |
289 | plugins/common/Makefile plugins/common/include/Makefile |
299 | devel/Makefile |
290 | devel/Makefile |
300 | plugins/cfperl/Makefile |
291 | plugins/cfperl/Makefile |
301 | ]) |
292 | ]) |