GVC_CFLAGS and GVC_LIBS are flags to ImageMagick's configure script that allow you to set environment variables for GraphViz (GVC) support.
./configure --help says:
GVC_CFLAGS C compiler flags for GVC, overriding pkg-config
GVC_LIBS linker flags for GVC, overriding pkg-config
However if you try to use them:
./configure GVC_CFLAGS=-I/mydir/include/graphviz GVC_LIBS="-L/mydir/lib -lgvc -lgraph -lcdt"
They are ignored.
This seems to be because on line 38081 of configure the flags are initialised to "" regardless of what you pass in:
GVC_CFLAGS=""
GVC_LIBS=""
Commenting out these 2 lines appears to solve the problem:
#GVC_CFLAGS=""
#GVC_LIBS=""
Cheers,
Patrick
GVC_CFLAGS and GVC_LIBS configure flags not honoured
Re: GVC_CFLAGS and GVC_LIBS configure flags not honoured
Thanks. We'll get a patch into the ImageMagick Subversion trunk by sometime tomorrow.
Re: GVC_CFLAGS and GVC_LIBS configure flags not honoured
Fantastic, thanks for the speedy reply!
Patrick
Patrick