2008-08-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Fixed the bug that configure --enable-FEATURE actually disables 
FEATURE.
	* m4/aria2_arg.m4
This commit is contained in:
Tatsuhiro Tsujikawa 2008-08-04 14:34:19 +00:00
parent 2849301b2c
commit 01238a1579
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2008-08-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed the bug that configure --enable-FEATURE actually disables FEATURE.
* m4/aria2_arg.m4
2008-08-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* Release 0.15.1+1

6
configure vendored
View File

@ -2750,7 +2750,7 @@ fi
# Check whether --enable-bittorrent was given.
if test "${enable_bittorrent+set}" = set; then
enableval=$enable_bittorrent; enable_bittorrent=$withval
enableval=$enable_bittorrent; enable_bittorrent=$enableval
else
enable_bittorrent=yes
fi
@ -2758,7 +2758,7 @@ fi
# Check whether --enable-metalink was given.
if test "${enable_metalink+set}" = set; then
enableval=$enable_metalink; enable_metalink=$withval
enableval=$enable_metalink; enable_metalink=$enableval
else
enable_metalink=yes
fi
@ -2766,7 +2766,7 @@ fi
# Check whether --enable-epoll was given.
if test "${enable_epoll+set}" = set; then
enableval=$enable_epoll; enable_epoll=$withval
enableval=$enable_epoll; enable_epoll=$enableval
else
enable_epoll=yes
fi

View File

@ -11,5 +11,5 @@ dnl wrapper for AC_ARG_ENABLE with default value 'yes'.
AC_DEFUN([ARIA2_ARG_ENABLE],
[AC_ARG_ENABLE([$1],
AC_HELP_STRING([--enable-$1], [enable $1 support.]),
[enable_$1=$withval], [enable_$1=yes])]
[enable_$1=$enableval], [enable_$1=yes])]
)