mirror of
https://github.com/aria2/aria2.git
synced 2024-11-27 20:14:48 +08:00
Revert dbb12d1bc8
This commit is contained in:
parent
d77f16f5ba
commit
2e94b4e4eb
@ -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_WITHOUT(PACKAGE)
|
||||
dnl ARIA2_ARG_WITH(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=yes]]),
|
||||
AS_HELP_STRING([--without-$1], [Do not use $1. [default=check]]),
|
||||
[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=yes]]),
|
||||
AS_HELP_STRING([--disable-$1], [Disable $1 support. [default=check]]),
|
||||
[enable_$1_requested=$enableval enable_$1=$enableval], [enable_$1=yes])]
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user