PATCH: yacc/bison conf check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Terminate configure if there is no yacc or bison.

Ciao, Marcus

Changelog:
	Abort if we do not find yacc or bison.

Index: configure.in
===================================================================
RCS file: /home/wine/wine/configure.in,v
retrieving revision 1.248
diff -u -r1.248 configure.in
--- configure.in	2002/01/21 18:06:11	1.248
+++ configure.in	2002/01/22 06:34:21
@@ -55,6 +55,16 @@
 AC_PATH_XTRA
 AC_PROG_YACC
 AC_PROG_LEX
+
+dnl **** Just additional warning checks, since AC_PROG just sets 'yacc' even
+dnl **** without one present.
+AC_CHECK_PROGS(XYACC,$YACC bison yacc,none)
+if test "$XYACC" = "none"
+then
+	echo "*** Error: No suitable bison/yacc found. ***"
+	echo "    Please install the 'bison' package."
+	exit 1
+fi
 AC_CHECK_PROGS(XLEX,$LEX flex lex,none)
 if test "$XLEX" = "none"
 then



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux