… | |
… | |
35 | AC_PROG_AWK |
35 | AC_PROG_AWK |
36 | |
36 | |
37 | AC_ARG_ENABLE(dmalloc, [ --enable-dmalloc Use the dmalloc library if available, may prevent plugins from working], |
37 | AC_ARG_ENABLE(dmalloc, [ --enable-dmalloc Use the dmalloc library if available, may prevent plugins from working], |
38 | use_dmalloc=yes, use_dmalloc=no) |
38 | use_dmalloc=yes, use_dmalloc=no) |
39 | |
39 | |
40 | AC_ARG_WITH(python, [ --with-python=dir Directory to look for python headers/library (default=standard system location) ], |
40 | dnl AC_ARG_WITH(python, [ --with-python=dir Directory to look for python headers/library (default=standard system location) ], PYTHON_HOME="$withval") |
41 | PYTHON_HOME="$withval") |
|
|
42 | |
41 | |
43 | |
42 | |
44 | dnl check for some other programs |
43 | dnl check for some other programs |
45 | AC_PATH_PROG(LATEX, latex) |
44 | AC_PATH_PROG(LATEX, latex) |
46 | AC_PATH_PROG(GZIP, gzip) |
45 | AC_PATH_PROG(GZIP, gzip) |
… | |
… | |
234 | AM_CONDITIONAL(HAVE_LIBDL,test "x$cf_have_libdl" = "xyes") |
233 | AM_CONDITIONAL(HAVE_LIBDL,test "x$cf_have_libdl" = "xyes") |
235 | |
234 | |
236 | if test "x$cf_have_libdl" = "xyes" ; then |
235 | if test "x$cf_have_libdl" = "xyes" ; then |
237 | ############### |
236 | ############### |
238 | # Python plugin |
237 | # Python plugin |
239 | CF_CHECK_PYTHON( |
238 | dnl CF_CHECK_PYTHON( |
240 | [PLUGIN_PYTHON="cfpython.la"], |
239 | dnl [PLUGIN_PYTHON="cfpython.la"], |
241 | [AC_MSG_NOTICE([No Python found. Python plugin will not be built.])] |
240 | dnl [AC_MSG_NOTICE([No Python found. Python plugin will not be built.])] |
242 | ) |
241 | dnl ) |
243 | dnl *** Put other plugins configuration code here *** |
242 | dnl *** Put other plugins configuration code here *** |
244 | else |
243 | else |
245 | AC_MSG_NOTICE([No dl library found. Plugins will not be supported.]) |
244 | AC_MSG_NOTICE([No dl library found. Plugins will not be supported.]) |
246 | fi |
245 | fi |
247 | AM_CONDITIONAL(PYTHON_PLUGIN,test "x$PLUGIN_PYTHON" != "x") |
246 | AM_CONDITIONAL(PYTHON_PLUGIN,test "x$PLUGIN_PYTHON" != "x") |