[Goodies-commits] r6889 - in xfce4-notes-plugin/trunk: . panel-plugin

Mike Massonnet mmassonnet at xfce.org
Fri Mar 13 10:52:04 CET 2009


Author: mmassonnet
Date: 2009-03-13 09:52:04 +0000 (Fri, 13 Mar 2009)
New Revision: 6889

Modified:
   xfce4-notes-plugin/trunk/configure.in.in
   xfce4-notes-plugin/trunk/panel-plugin/Makefile.am
Log:
Minor autofoo changes for vala

Modified: xfce4-notes-plugin/trunk/configure.in.in
===================================================================
--- xfce4-notes-plugin/trunk/configure.in.in	2009-03-12 14:14:24 UTC (rev 6888)
+++ xfce4-notes-plugin/trunk/configure.in.in	2009-03-13 09:52:04 UTC (rev 6889)
@@ -84,8 +84,11 @@
 fi
 
 dnl check for valac
+valac_minimum_version=0.5.7
 if test "x$USE_MAINTAINER_MODE" = "xyes" ; then
 	AC_CHECK_PROG([has_valac], [valac], [yes], [no])
+	AC_PATH_PROG([VALAC], [valac], [valac])
+	AC_SUBST(VALAC)
 	if test "x$has_valac" != "xyes" ; then
 		echo "***"
 		echo "*** You need the valac compiler in order to compile parts of the project"
@@ -121,6 +124,7 @@
 echo "* Maintainer Mode:        $USE_MAINTAINER_MODE"
 if test "x$USE_MAINTAINER_MODE" = "xyes" ; then
 echo "    * Vala:               $has_valac"
+echo "      You need Vala $valac_minimum_version or higher (run $VALAC --version)"
 echo
 fi
 echo "* Settings Dialog:        $enable_xfconf"

Modified: xfce4-notes-plugin/trunk/panel-plugin/Makefile.am
===================================================================
--- xfce4-notes-plugin/trunk/panel-plugin/Makefile.am	2009-03-12 14:14:24 UTC (rev 6888)
+++ xfce4-notes-plugin/trunk/panel-plugin/Makefile.am	2009-03-13 09:52:04 UTC (rev 6889)
@@ -19,7 +19,7 @@
 	hypertextview.h
 
 hypertextview.c: hypertextview.vala Makefile
-	valac --pkg=gtk+-2.0 hypertextview.vala -C
+	$(VALAC) --pkg=gtk+-2.0 hypertextview.vala -C
 endif
 
 plugindir = $(libexecdir)/xfce4/panel-plugins




More information about the Goodies-commits mailing list