[Xfce4-commits] <xfce4-vala:xfce-dev> Fix two small mistakes in the autotools example
Mike Massonnet
mmassonnet at xfce.org
Fri Sep 11 18:36:01 CEST 2009
Updating branch refs/heads/xfce-dev
to 6a25b7c2cadb4c99723500f67ff745c21944bdb8 (commit)
from 79e3c0a544a040a81b499e48e5d3b460965b81f0 (commit)
commit 6a25b7c2cadb4c99723500f67ff745c21944bdb8
Author: Mike Massonnet <mmassonnet at xfce.org>
Date: Fri Sep 11 18:12:04 2009 +0200
Fix two small mistakes in the autotools example
Pass the generated header file to the _VALABUILTSOURCES variable and
quit with an error within the autoconf script in case VALAC was not
found.
examples/autotools/configure.in.in | 2 +-
examples/autotools/src/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/autotools/configure.in.in b/examples/autotools/configure.in.in
index 2f5023a..cdbb354 100644
--- a/examples/autotools/configure.in.in
+++ b/examples/autotools/configure.in.in
@@ -42,7 +42,7 @@ dnl Check for valac
if test "x$USE_MAINTAINER_MODE" = "xyes" ; then
AM_PROG_VALAC([0.7.1])
if test "x$VALAC" = "x" ; then
- AC_MSG_WARN([Cannot find the "valac" compiler in your PATH])
+ AC_MSG_ERROR([Cannot find the "valac" compiler in your PATH])
fi
XDT_CHECK_PACKAGE([XFCE4VALA], [xfce4-vala], [0.1]) # 4.6
fi
diff --git a/examples/autotools/src/Makefile.am b/examples/autotools/src/Makefile.am
index 1a942e7..66f5c86 100644
--- a/examples/autotools/src/Makefile.am
+++ b/examples/autotools/src/Makefile.am
@@ -15,7 +15,7 @@ product_VALASOURCES = \
obj2.vala \
main.vala
-product_VALABUILTSOURCES = $(product_VALASOURCES:.vala=.c)
+product_VALABUILTSOURCES = $(product_VALASOURCES:.vala=.c) product.h
if MAINTAINER_MODE
PACKAGES = --pkg=gtk+-2.0
More information about the Xfce4-commits
mailing list