configure: Correctly handle all cases when using AC_ARG_WITH().
authorSebastian Harl <sh@tokkee.org>
Tue, 5 Feb 2008 23:00:49 +0000 (00:00 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Sat, 9 Feb 2008 16:46:35 +0000 (17:46 +0100)
commitfb71367524083f90db7c0b4a246d2db6b2b3c737
treee16d82197c7712e3ecde1eb6472ac65ba5840718
parent94105804a59bf3e2a5d4b1320550f8aad1a0c288
configure: Correctly handle all cases when using AC_ARG_WITH().

In a lot of cases only "$withval" != "yes" and "no" had been handled when the
option had been given. Therefore, the option had been ignored if no argument
had been passed to the option, making --with-<option> and / or
--without-<option> a no-op. This patch fixes this issue.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
configure.in