mirror of
https://github.com/aria2/aria2.git
synced 2024-11-23 13:59:50 +00:00
aria2_arg.m4: Doc fix and use default=yes instead of check
This commit is contained in:
parent
9c2202c899
commit
dbb12d1bc8
@ -6,12 +6,12 @@ AC_DEFUN([ARIA2_ARG_WITH],
|
||||
AS_HELP_STRING([--with-$1], [Use $1.]),
|
||||
[with_$1_requested=$withval with_$1=$withval], [with_$1=no])]
|
||||
)
|
||||
dnl ARIA2_ARG_WITH(PACKAGE)
|
||||
dnl ARIA2_ARG_WITHOUT(PACKAGE)
|
||||
dnl wrapper for AC_ARG_WITH with default value 'yes'.
|
||||
dnl If --with-$1 is given explicitly, set with_$1_requested to given value.
|
||||
AC_DEFUN([ARIA2_ARG_WITHOUT],
|
||||
[AC_ARG_WITH([$1],
|
||||
AS_HELP_STRING([--without-$1], [Do not use $1. [default=check]]),
|
||||
AS_HELP_STRING([--without-$1], [Do not use $1. [default=yes]]),
|
||||
[with_$1_requested=$withval with_$1=$withval], [with_$1=yes])]
|
||||
)
|
||||
|
||||
@ -28,7 +28,7 @@ dnl wrapper for AC_ARG_ENABLE with default value 'yes'.
|
||||
dnl If --enable-$1 is given explicitly, set enable_$1_requested to given value.
|
||||
AC_DEFUN([ARIA2_ARG_DISABLE],
|
||||
[AC_ARG_ENABLE([$1],
|
||||
AS_HELP_STRING([--disable-$1], [Disable $1 support. [default=check]]),
|
||||
AS_HELP_STRING([--disable-$1], [Disable $1 support. [default=yes]]),
|
||||
[enable_$1_requested=$enableval enable_$1=$enableval], [enable_$1=yes])]
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user