
On Sun, Jan 23, 2005 at 06:46:48PM -0500, Montgomery, Steven S wrote:
So, we're trying to intergrate some code into Inkscape builds. The prototype code was being compiled with g++ using these cflags: "-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/loudmouth-1.0 -lglib-2.0 -lloudmouth-1" Where in the makefiles do we need to place these flags so they'll be used when building stuff that needs the loudmouth libraries?
I suggest adding loudmouth-1.0 to the list in the PKG_CHECK_MODULES argument in configure.ac. (The PKG_CHECK_MODULES call that's preceded by a `Unconditional dependencies' comment.)
Better would be to do some AC_ARG_WITH stuff such as is done for e.g. python support. This additional sophistication would be desirable if/when submitting your changes for inclusion in standard inkscape, but I suggest keeping the simple version until then (delaying the extra work until you know whether the rest of the work is suitable to be added to inkscape HEAD).
pjrm.