[Mono-list] Little patch

Alvaro López Ortega alvaro@godsmaze.org
16 Mar 2002 15:20:37 +0100


--=-GlnqlylXGn4q6wVxzyfJ
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi :-)

	This is a little patch for the configure.in of Mono.
	Adds a check for bison.

-- 
Greetings, alo.

--=-GlnqlylXGn4q6wVxzyfJ
Content-Disposition: attachment; filename=bison_patch.diff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-patch; charset=ISO-8859-1

Index: configure.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /mono/mono/configure.in,v
retrieving revision 1.58
diff -u -b -B -w -p -r1.58 configure.in
--- configure.in	13 Mar 2002 07:32:21 -0000	1.58
+++ configure.in	16 Mar 2002 14:15:09 -0000
@@ -76,6 +76,13 @@ AC_SUBST(GLIB_LIBS)
 AC_SUBST(GMODULE_CFLAGS)
 AC_SUBST(GMODULE_LIBS)
=20
+AC_PROG_YACC
+case $YACC in
+*yacc*)
+	   AC_MSG_ERROR(You need bison to build Mono)
+	   ;;
+esac
+	  =20
 AC_CHECK_LIB(gc, GC_malloc, found_boehm=3D"yes")
=20
 AC_ARG_WITH(gc, [  --with-gc=3Dboehm,none],

--=-GlnqlylXGn4q6wVxzyfJ--