Files
Peter Kokot 848a5aa23e Add AS_HELP_STRING to config.m4
This beautifies and simplifies the configure help output a bit.
2019-04-24 18:30:25 +02:00

11 lines
424 B
Plaintext

PHP_ARG_ENABLE([uploadprogress],
[whether to enable uploadprogress functions],
[AS_HELP_STRING([--enable-uploadprogress],
[Enable uploadprogress support [default=yes]])])
if test "$PHP_UPLOADPROGRESS" != "no"; then
PHP_SUBST(UPLOADPROGRESS_SHARED_LIBADD)
AC_DEFINE(HAVE_UPLOADPROGRESS, 1, [Whether the uploadprogress extension is enabled])
PHP_NEW_EXTENSION(uploadprogress, uploadprogress.c , $ext_shared)
fi