From 84913aa0a279bb54a4bd3410be15a2d6688d4451 Mon Sep 17 00:00:00 2001 From: rwst Date: Sun, 21 May 2006 16:27:28 +0000 Subject: [PATCH] require libsigc-2.0.11 on gcc-3 and 2.0.12 on gcc-4+ systems --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 48d7afe3c..b8ff9b476 100644 --- a/configure.ac +++ b/configure.ac @@ -495,7 +495,11 @@ dnl ****************************** 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.12 $ink_spell_pkg gthread-2.0 >= 2.0) +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) +fi dnl Shouldn't we test for libpng and libz? INKSCAPE_LIBS="$INKSCAPE_LIBS -lpng -lz" -- 2.30.2