~ubuntu-branches/ubuntu/jaunty/alex/jaunty

« back to all changes in this revision

Viewing changes to distrib/fake-happy

  • Committer: Bazaar Package Importer
  • Author(s): Ian Lynagh (wibble)
  • Date: 2003-10-01 12:31:01 UTC
  • Revision ID: james.westby@ubuntu.com-20031001123101-yquo14mvjqh3e0sk
Tags: upstream-2.0
ImportĀ upstreamĀ versionĀ 2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
#
 
3
# This is a script that simulates the "-v" output of Happy 1.10.
 
4
# It is useful for running configure on a system without Happy.
 
5
# (You can set the environment variable HappyCmd=path/to/fake-happy
 
6
# to fool configure into thinking that it has found Happy here.)
 
7
 
 
8
if [ "$1" = "-v" ]; then
 
9
cat <<'END'
 
10
Happy Version 1.10 Copyright (c) 1993-1996 Andy Gill, Simon Marlow (c) 1997-2001 Simon Marlow
 
11
 
 
12
Happy is a Yacc for Haskell, and comes with ABSOLUTELY NO WARRANTY.
 
13
This program is free software; you can redistribute it and/or modify
 
14
it under the terms given in the file 'LICENSE' distributed with
 
15
the Happy sources.
 
16
END
 
17
else
 
18
echo Fake happy is not happy! >&2
 
19
exit 3
 
20
fi