Fix bug that $withval is used where $enableval should be used

This commit is contained in:
Tatsuhiro Tsujikawa 2012-09-22 15:44:42 +09:00
parent abf2ddc3a6
commit 0409c76b45
1 changed files with 3 additions and 3 deletions

View File

@ -43,17 +43,17 @@ dnl Checks for command-line options
AC_ARG_ENABLE([maintainer-mode], AC_ARG_ENABLE([maintainer-mode],
[AS_HELP_STRING([--enable-maintainer-mode], [AS_HELP_STRING([--enable-maintainer-mode],
[Turn on compile time warnings])], [Turn on compile time warnings])],
[maintainer_mode=$withval], [maintainer_mode=no]) [maintainer_mode=$enableval], [maintainer_mode=no])
AC_ARG_ENABLE([src], AC_ARG_ENABLE([src],
[AS_HELP_STRING([--enable-src], [AS_HELP_STRING([--enable-src],
[Build installable SPDY client/server programs in src])], [Build installable SPDY client/server programs in src])],
[request_src=$withval], [request_src=yes]) [request_src=$enableval], [request_src=yes])
AC_ARG_ENABLE([examples], AC_ARG_ENABLE([examples],
[AS_HELP_STRING([--enable-examples], [AS_HELP_STRING([--enable-examples],
[Build example programs])], [Build example programs])],
[request_examples=$withval], [request_examples=yes]) [request_examples=$enableval], [request_examples=yes])
dnl Checks for programs dnl Checks for programs
AC_PROG_CC AC_PROG_CC