I have a requirement where wxWidgets is configured disabling GUI :
../configure wxDEBUG_LEVEL=0 --disable-gtktest --disable-sdltest --disable-compat28 --disable-debug --prefix=/usr/local/wxWidgets-nogui --disable-gui
Configuring wxJSON would fail as follows :
PATH=/usr/local/wxWidgets-nogui/bin:$PATH ../configure --prefix=/usr/local/wxWidgets-nogui
...
checking which wxWidgets toolkit was selected... configure: error:
Cannot detect the currently installed wxWidgets port !
Please check your 'wx-config --cxxflags'...
...
The wxJSON GTK3 patch has been previously applied.
Manipulating JSON files does not really need a GUI toolkit.
I'm wondering if this can be taken into account in the configure script, that I can't tinker with.
Thank you.