summaryrefslogtreecommitdiff
path: root/devel/rpc2/patches/patch-aa
blob: 3cc132ba7569bffab20f43fa15831f2542b1efec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.7 2007/08/06 12:54:25 gdt Exp $

--- configure.in.orig	2007-06-28 12:16:52.000000000 -0400
+++ configure.in
@@ -30,10 +30,7 @@ AM_PROG_LEX
 if test -z "${ac_cv_prog_LEX}" ; then
     AC_MSG_ERROR([Build requires flex or lex lexical analyzer generator])
 fi
-AC_PROG_YACC
-if test -z "${ac_cv_prog_YACC}" ; then
-    AC_MSG_ERROR([Build requires bison, byacc or yacc parser generator])
-fi
+AC_CHECK_PROGS(YACC, 'bison -y' byacc yacc)
 AC_PROG_INSTALL
 AC_PROG_MAKE_SET
 AC_PROG_LIBTOOL