Parent Directory | Revision Log | Patch
revision 1.30 by eggert, Wed Jan 1 10:10:41 2003 UTC | revision 1.31 by eggert, Sun Jan 5 06:25:35 2003 UTC | |
---|---|---|
# | Line 59 if test "${enableval}" = yes; then | Line 59 if test "${enableval}" = yes; then |
59 | AC_DEFINE([lint], 1, [Define to 1 if the compiler is checking for lint.]) | AC_DEFINE([lint], 1, [Define to 1 if the compiler is checking for lint.]) |
60 | fi | fi |
61 | ||
62 | AC_ARG_ENABLE([yacc], | |
63 | [AC_HELP_STRING([--disable-yacc], | |
64 | [do not build a yacc command or an -ly library])], | |
65 | , [enable_yacc=yes]) | |
66 | case $enable_yacc in | |
67 | yes) | |
68 | YACC_SCRIPT=yacc | |
69 | YACC_LIBRARY=liby.a;; | |
70 | *) | |
71 | YACC_SCRIPT= | |
72 | YACC_LIBRARY=;; | |
73 | esac | |
74 | AC_SUBST([YACC_SCRIPT]) | |
75 | AC_SUBST([YACC_LIBRARY]) | |
76 | ||
77 | # Checks for programs. | # Checks for programs. |
78 | AC_PROG_LEX | AC_PROG_LEX |
79 | AC_PROG_YACC | AC_PROG_YACC |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |