configure: avoid setting variables as empty strings
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 24 Feb 2014 22:58:07 +0000 (22:58 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 28 Feb 2014 22:34:50 +0000 (22:34 +0000)
commit2e830bba214656c84720669667b36eba7449fe13
treee580c869b2816b7f6414dde082a754fb185c8fb4
parentf42333b6b6f17d4f77bcc6dfc5dd9c9e38e8c99e
configure: avoid setting variables as empty strings

Recent patch converted our logic to use test -n and test -z.
An emptry string variable (empty_str="") return true for both
thus making the check unreliable.

Fix this by correctly setting the variable when applicable.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
configure.ac