Jan Djärv wrote:
Librsvg can not work on OSX except with X11. Librsvg is totally
dependent on X11.
Ah. Forgive my ignorance, but my impression was that X11 is usually
installed on that platform and in any case, no harm could be done if
librsvg is not found.
Adrian (or any OS X user), could you comment?
I am an OSX user...
Your last change seems good enough for me (it reinstates SVG support
on GNUstep), but AFAICS there's still something fishy here.
If the initial test for
HAVE_X11 || HAVE_NS
caused configure to find librsvg for the OP, and librsvg depends on
X11, and he had a build failure during compilation because of
unresolved X symbols (IIRC), isn't this an indication that his
installation is somewhat broken? (I still can't explain myself why
the test was wrong in the first place as you say.)