summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 410db19)
raw | patch | inline | side by side (parent: 410db19)
author | rwst <rwst@users.sourceforge.net> | |
Sun, 21 May 2006 16:27:28 +0000 (16:27 +0000) | ||
committer | rwst <rwst@users.sourceforge.net> | |
Sun, 21 May 2006 16:27:28 +0000 (16:27 +0000) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 48d7afe3c2d18a6168fcb0956334cccf8716798c..b8ff9b4761f200cbc76c367403c789d1e4787eb6 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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"