Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: ext-v0.1.0
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (16 sloc) 1.03 kB
dnl $Id$
dnl config.m4 for extension discount
PHP_ARG_ENABLE(discount, whether to enable discount support,
[ --enable-discount Enable dicount markdown support])
discountlib_sources="lib/Csio.c lib/css.c lib/docheader.c \
lib/dumptree.c lib/emmatch.c lib/flags.c \
lib/generate.c lib/html5.c lib/markdown.c \
lib/mkdio.c lib/resource.c lib/tags.c \
lib/toc.c lib/version.c lib/xml.c \
lib/xmlpage.c lib/setup.c"
if test "$PHP_DISCOUNT" != "no"; then
AC_DEFINE(HAVE_DISCOUNT, 1, [Whether you have discount markdown support])
PHP_SUBST(DISCOUNT_SHARED_LIBADD)
PHP_NEW_EXTENSION(discount, discount.c markdowndoc_class.c markdowndoc_meth_callbacks.c markdowndoc_meth_document.c markdowndoc_meth_header.c markdowndoc_meth_input.c markdowndoc_meth_misc.c markdowndoc_meth_parts.c $discountlib_sources, $ext_shared,,-DUSE_DISCOUNT_DL=1 -DUSE_EXTRA_DL=1 -DTABSTOP=4 -Wall)
PHP_ADD_BUILD_DIR($ext_builddir/lib)
fi
Jump to Line
Something went wrong with that request. Please try again.