Revision: 889 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=889&view=rev Author: hyperair Date: 2009-08-10 18:20:16 +0000 (Mon, 10 Aug 2009)
Log Message: ----------- Add min version to libxml-2.0 check
Modified Paths: -------------- trunk/geany-plugins/build/pretty-printer.m4
Modified: trunk/geany-plugins/build/pretty-printer.m4 =================================================================== --- trunk/geany-plugins/build/pretty-printer.m4 2009-08-10 17:30:45 UTC (rev 888) +++ trunk/geany-plugins/build/pretty-printer.m4 2009-08-10 18:20:16 UTC (rev 889) @@ -5,12 +5,13 @@ [Enable the pretty-printer plugin [[default=auto]]]),, enable_prettyprinter=auto)
+ LIBXML_VERSION=2.6.27 if [[ x"$enable_prettyprinter" = "xauto" ]]; then - PKG_CHECK_MODULES(LIBXML, [libxml-2.0], + PKG_CHECK_MODULES(LIBXML, [libxml-2.0 >= $LIBXML_VERSION], [enable_prettyprinter=yes], [enable_prettyprinter=no]) elif [[ x"$enable_prettyprinter" = "xyes" ]]; then - PKG_CHECK_MODULES(LIBXML, [libxml-2.0]) + PKG_CHECK_MODULES(LIBXML, [libxml-2.0 >= $LIBXML_VERSION]) fi
AM_CONDITIONAL(ENABLE_PRETTYPRINTER, test $enable_prettyprinter = yes)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org