diff -Nu ghc-5.02.3/configure.in ghc-5.02.3-patched/configure.in
--- ghc-5.02.3/configure.in	Mon Aug 20 15:15:04 2001
+++ ghc-5.02.3-patched/configure.in	Wed May 22 22:31:02 2002
@@ -478,6 +478,16 @@
 test -n "$with_glut_xlib" && CPPFLAGS="$CPPFLAGS -DGLUT_XLIB_IMPLEMENTATION=$with_glut_xlib"
 
 
+dnl ** Disable the check for Happy (for source builds)
+dnl --------------------------------------------------------------
+AC_ARG_WITH(happy,
+[  --without-happy
+        Don't check for the Happy parser generator, assuming the
+        parsers are already built.
+        If you don't have Happy, use this for building from a source
+        distribution (it contains the parsers pre-built).
+])
+
 
 
 dnl --------------------------------------------------------------
@@ -613,8 +623,9 @@
 
 dnl ** check for installed happy binary + version
 dnl    (don't do it if we're booting from .hc files though.)
-if test "$BootingFromHc" = "NO"; then
-FPTOOLS_HAPPY
+dnl    (also don't if --without-happy was given.)
+if test "$BootingFromHc" = "NO" && test x$with_happy != xno; then
+  FPTOOLS_HAPPY
 fi;
 
 dnl --------------------------------------------------
Common subdirectories: ghc-5.02.3/distrib and ghc-5.02.3-patched/distrib
Common subdirectories: ghc-5.02.3/docs and ghc-5.02.3-patched/docs
Common subdirectories: ghc-5.02.3/ghc and ghc-5.02.3-patched/ghc
Common subdirectories: ghc-5.02.3/glafp-utils and ghc-5.02.3-patched/glafp-utils
Common subdirectories: ghc-5.02.3/hslibs and ghc-5.02.3-patched/hslibs
Common subdirectories: ghc-5.02.3/mk and ghc-5.02.3-patched/mk
