configure: rewrote 3 ARG_ENABLEs to get them to behave properly
commitc7843e3f3be0fe9e5f88ab59829fe2e9ba4511d1
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 2 Jan 2015 09:34:32 +0000 (2 10:34 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 2 Jan 2015 10:08:10 +0000 (2 10:08 +0000)
tree35ba861a218d0ebd4c94f5014fa5430fe11b9797
parent85a3fb13cc2ac8a32502f452b4f8bcd51b174151
configure: rewrote 3 ARG_ENABLEs to get them to behave properly

In addition to proper quoting for M4, the macro would not behave totally as
expected: for example, providing '--disable-modelock' would enable the
feature instead of keeping it disabled as the default.

The definitions now properly behave as expectable, so the user can
explicitly specify how he wants the feature even if it is the default; it
will also fail on improper use which is always a good idea to ease possible
future evolution.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
configure.ac