mirror of
https://github.com/php/pecl-php-uploadprogress.git
synced 2026-03-23 22:52:10 +01:00
Add AS_HELP_STRING to config.m4
This beautifies and simplifies the configure help output a bit.
This commit is contained in:
11
config.m4
11
config.m4
@@ -1,11 +1,10 @@
|
||||
PHP_ARG_ENABLE(uploadprogress, whether to enable uploadprogress functions,
|
||||
[ --enable-uploadprogress Disable uploadprogress support])
|
||||
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, [ ])
|
||||
AC_DEFINE(HAVE_UPLOADPROGRESS, 1, [Whether the uploadprogress extension is enabled])
|
||||
PHP_NEW_EXTENSION(uploadprogress, uploadprogress.c , $ext_shared)
|
||||
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user