On 22/05/06, Aaron Spike <aaron@...749...> wrote:
Aaron Spike wrote:
Ben Fowler wrote:
On 22/05/06, Aaron Spike <aaron@...749...> wrote:
Bryce Harrington wrote:
http://svn.sourceforge.net/viewcvs.cgi/inkscape/inkscape/trunk/configure.ac?...
Ok, this must be some issue with the way these macros work. The patch below works for me. Can anyone explain why?
Aaron Spike
Index: configure.ac
--- configure.ac (revision 11886) +++ configure.ac (working copy) @@ -495,10 +495,10 @@ dnl *** NOTE: when we move to gtk 2.6 or later, we can remove the dnl ********* the override for g_ascii_strtod below... dnl sigc++-2.0 >= 2.0.12: using "visit_each" not available in 2.0.10 -PKG_CHECK_MODULES(INKSCAPE, gdkmm-2.4 glibmm-2.4 gtkmm-2.4 gtk+-2.0
= 2.4.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 sigc++-2.0 >= 2.0.11
$ink_spell_pkg gthread-2.0 >= 2.0)
- if test $cc_vers_major -gt 3; then
- PKG_CHECK_MODULES(INKSCAPE, sigc++-2.0 >= 2.0.12)
- PKG_CHECK_MODULES(INKSCAPE, gdkmm-2.4 glibmm-2.4 gtkmm-2.4 gtk+-2.0 >= 2.4.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 sigc++-2.0 = 2.0.12 $ink_spell_pkg gthread-2.0 >= 2.0)
+else
PKG_CHECK_MODULES(INKSCAPE, gdkmm-2.4 glibmm-2.4 gtkmm-2.4 gtk+-2.0 >= 2.4.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 sigc++-2.0 = 2.0.11 $ink_spell_pkg gthread-2.0 >= 2.0) fi
dnl Shouldn't we test for libpng and libz?
I am getting a little impression that I am answering questions that you haven't asked - do warn me if I am not helping.
Could you confirm which way the '-' and '+' markers are pointing. Looking at revision 11951, I am working on the basis that you run two calls to PKG_CHECK_MODULES (instead of picking one).
Does the second one over-write the results of the first one?
Does your ./configure really do what you want?
Ben