fix haddock submodule pointer
[ghc-hetmet.git] / distrib / fake-happy
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