|
@@ -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])]
|
|
|
)
|
|
|
|