Code : Tout sélectionner
#include "Xcas1.h"
The include should go in the other direction - xcas should include a icas.h, or something like this. Then, it would be possible to build icas without linking against graphics libraries, and at the same time build a graphics-enabled xcas, without having to run ./configure twice and compile two separate copies of libgiac.
This makes things easier for distros packagers like Debian and Gentoo, and nicer for users. We can build a non-GUI icas and a GUI xcas without messing with trying to run ./configure twice, and users have the option to not install any graphics libraries if all they need is the console version.