Allow -warn-error to be disabled by configure

We assume we're in developer mode by default. Eventually we'll create a xapi 2.0 release branch.


Signed-off-by: David Scott <dave.scott@citrix.com>