summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Stephan <ralf@ark.in-berlin.de>2006-05-21 16:27:28 +0000
committerrwst <rwst@users.sourceforge.net>2006-05-21 16:27:28 +0000
commit8b747aef305f3ba7c555f808ce3abacfad4b1588 (patch)
tree969def963981fd2e9da8ba3f49cb8eeb44efcf4f
parentAdding notification when managed layers change. (diff)
downloadinkscape-8b747aef305f3ba7c555f808ce3abacfad4b1588.tar.gz
inkscape-8b747aef305f3ba7c555f808ce3abacfad4b1588.zip
require libsigc-2.0.11 on gcc-3 and 2.0.12 on gcc-4+ systems
(bzr r918)
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
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"