compile without gnumeric and odf read support
authorpspp.freepost@ordinaryamerican.net <pspp.freepost@ordinaryamerican.net>
Mon, 7 Nov 2016 11:18:35 +0000 (12:18 +0100)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Mon, 7 Nov 2016 12:14:01 +0000 (13:14 +0100)
commit93b3c24f9c9eef7e4a9ff2fca02731e94c3809de
treef98f48472057d431b6b33f4c0badc0c77f360dba
parentc86c40a2bb9194203a80f7ddf11cdc7a2e15474e
compile without gnumeric and odf read support

This patch fixes the problem described in bug #49550. When libxml2 is
not installed, the gnumeric and odf read support is disabled. This was
not handled correctly. I changed the compilation requirements and the
error message handling if somebody tries to open a file.

Closes bug #49550.
src/data/gnumeric-reader.c
src/data/ods-reader.c
src/language/data-io/get-data.c