Module Name: othersrc
Committed By: lukem
Date: Wed Mar 20 08:50:23 UTC 2013
Modified Files:
othersrc/libexec/tnftpd: configure.ac
Log Message:
Actually ensure bison or yacc is present after AC_PROG_YACC,
because the latter defaults to "yacc" if it can't find one...
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 othersrc/libexec/tnftpd/configure.ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: othersrc/libexec/tnftpd/configure.ac
diff -u othersrc/libexec/tnftpd/configure.ac:1.30 othersrc/libexec/tnftpd/configure.ac:1.31
--- othersrc/libexec/tnftpd/configure.ac:1.30 Wed Mar 6 22:57:44 2013
+++ othersrc/libexec/tnftpd/configure.ac Wed Mar 20 08:50:22 2013
@@ -1,4 +1,4 @@
-# $NetBSD: configure.ac,v 1.30 2013/03/06 22:57:44 christos Exp $
+# $NetBSD: configure.ac,v 1.31 2013/03/20 08:50:22 lukem Exp $
#
# Process this file with autoconf to produce a configure script.
@@ -9,7 +9,7 @@ AC_COPYRIGHT([
Copyright (c) 2001-2009 The NetBSD Foundation, Inc.
All rights reserved.
])
-AC_REVISION([$Revision: 1.30 $])
+AC_REVISION([$Revision: 1.31 $])
AS_SHELL_SANITIZE
@@ -90,6 +90,11 @@ AC_PROG_AWK
AC_PROG_LIBTOOL
AC_PROG_YACC
+AC_PATH_PROG([TOOL_YACC], [$YACC])
+AS_IF([test -n "$TOOL_YACC"],
+ [:],
+ [AC_MSG_ERROR([missing bison or yacc])])
+
#
# Checks for tool features.
#