… | |
… | |
234 | AC_SUBST(PERLLIB) |
234 | AC_SUBST(PERLLIB) |
235 | AC_SUBST(PERLFLAGS) |
235 | AC_SUBST(PERLFLAGS) |
236 | AC_SUBST(PERLPRIVLIBEXP) |
236 | AC_SUBST(PERLPRIVLIBEXP) |
237 | AC_SUBST(PERL) |
237 | AC_SUBST(PERL) |
238 | |
238 | |
239 | ############################################# |
|
|
240 | # Plugin configuration |
|
|
241 | AC_CHECK_LIB(dl, dlopen,[ cf_have_libdl=yes ]) |
|
|
242 | AM_CONDITIONAL(HAVE_LIBDL,test "x$cf_have_libdl" = "xyes") |
|
|
243 | |
|
|
244 | if test "x$cf_have_libdl" = "xyes" ; then |
|
|
245 | ############### |
|
|
246 | # Python plugin |
|
|
247 | dnl CF_CHECK_PYTHON( |
|
|
248 | dnl [PLUGIN_PYTHON="cfpython.la"], |
|
|
249 | dnl [AC_MSG_NOTICE([No Python found. Python plugin will not be built.])] |
|
|
250 | dnl ) |
|
|
251 | dnl *** Put other plugins configuration code here *** |
|
|
252 | : |
|
|
253 | else |
|
|
254 | AC_MSG_NOTICE([No dl library found. Plugins will not be supported.]) |
|
|
255 | fi |
|
|
256 | AM_CONDITIONAL(PYTHON_PLUGIN,test "x$PLUGIN_PYTHON" != "x") |
|
|
257 | AC_SUBST(PLUGIN_PYTHON) |
|
|
258 | |
|
|
259 | AC_OUTPUT([Makefile |
239 | AC_OUTPUT([Makefile |
260 | doc/Makefile doc/Developers/Makefile doc/spell-docs/Makefile |
240 | doc/Makefile doc/Developers/Makefile doc/spell-docs/Makefile |
261 | doc/spoiler/Makefile doc/spoiler-html/Makefile |
241 | doc/spoiler/Makefile doc/spoiler-html/Makefile doc/playbook/Makefile |
262 | doc/playbook/Makefile doc/playbook-html/Makefile |
242 | doc/playbook-html/Makefile doc/scripts/Makefile lib/Makefile |
263 | doc/scripts/Makefile |
|
|
264 | lib/Makefile random_maps/Makefile socket/Makefile server/Makefile src/Makefile |
243 | random_maps/Makefile socket/Makefile server/Makefile src/Makefile |
265 | include/Makefile utils/Makefile lib/checkarch.pl |
244 | include/Makefile utils/Makefile lib/checkarch.pl lib/collect.pl |
266 | lib/collect.pl utils/add_throw.perl utils/crossloop.tmpl utils/crossloop.pl.tmpl |
245 | utils/add_throw.perl utils/crossloop.tmpl utils/crossloop.pl.tmpl |
267 | utils/metaserver.pl utils/crossloop.web utils/scores.pl utils/player_dl.pl |
246 | utils/metaserver.pl utils/crossloop.web utils/scores.pl |
268 | common/Makefile plugins/Makefile plugins/cfpython/Makefile |
247 | utils/player_dl.pl common/Makefile |
269 | plugins/cfpython/include/Makefile |
|
|
270 | plugins/common/Makefile plugins/common/include/Makefile |
|
|
271 | devel/Makefile |
248 | devel/Makefile |
272 | ]) |
249 | ]) |