[jhbuild] Add flex/bison to sanity check.
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] Add flex/bison to sanity check.
- Date: Sat, 19 Mar 2011 22:00:03 +0000 (UTC)
commit 9bed9ed1ef7314d73334f34e55ff127bda09f4a9
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Mar 19 22:59:27 2011 +0100
Add flex/bison to sanity check.
They are needed by gobject-introspection, Vala and others.
jhbuild/commands/sanitycheck.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/commands/sanitycheck.py b/jhbuild/commands/sanitycheck.py
index 615c1a0..cf40f8b 100644
--- a/jhbuild/commands/sanitycheck.py
+++ b/jhbuild/commands/sanitycheck.py
@@ -151,4 +151,10 @@ class cmd_sanitycheck(Command):
except:
uprint(_('Could not check git program'))
+ # check for flex/bison:
+ if not inpath('flex', os.environ['PATH'].split(os.pathsep)):
+ uprint(_('%s not found') % 'flex')
+ if not inpath('bison', os.environ['PATH'].split(os.pathsep)):
+ uprint(_('%s not found') % 'bison')
+
register_command(cmd_sanitycheck)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]