summaryrefslogtreecommitdiffabout
path: root/am
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-01 10:54:10 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-05-01 10:54:10 (GMT)
commit5906ff8971e683deb35ee0beea1425aa93aeb499 (patch) (side-by-side diff)
treebc1b6346ba056d704f8cb44f46be95013958009d /am
parent3f39626191970d57a8ad406b72474d565627b043 (diff)
downloadgrecs-5906ff8971e683deb35ee0beea1425aa93aeb499.tar.gz
grecs-5906ff8971e683deb35ee0beea1425aa93aeb499.tar.bz2
Minor changes
* am/grecs.m4 (GRECS_SETUP): Call AC_PROG_YACC and AM_PROG_LEX. * src/grecs.h: Add a missing prototype.
Diffstat (limited to 'am') (more/less context) (ignore whitespace changes)
-rw-r--r--am/grecs.m420
1 files changed, 19 insertions, 1 deletions
diff --git a/am/grecs.m4 b/am/grecs.m4
index 0b28604..8d046f5 100644
--- a/am/grecs.m4
+++ b/am/grecs.m4
@@ -49,8 +49,26 @@ AC_DEFUN([_GRECS_OPTION_SWITCH],
AC_DEFUN([_GRECS_SET_OPTIONS],
[m4_foreach_w([_GRECS_Option], [$1], [_GRECS_SET_OPTION(_GRECS_Option)])])
-# GRECS_SETUP([no-preproc std-pp-setup pp-setup-option],[pp-setup-file])
+# GRECS_SETUP([OPTIONS],[pp-setup-file])
+#
+# Options are:
+# no-preproc Disable the use of preprocessor.
+# std-pp-setup Install standard pp-setup file.
+# pp-setup-option Add the --with-pp-setup-file option to the
+# configuration file. The option allows user to
+# control whether the pp-setup file is installed.
+#
+# The pp-setup-file argument supplies the pathname of the preprocessor
+# setup file in the source tree. It is ignored if std-pp-setup option is
+# given.
+#
+# If neither std-pp-setup option, nor pp-setup-file argument are supplied,
+# no preprocessor setup file is installed.
+
AC_DEFUN([GRECS_SETUP],[
+ AC_PROG_YACC
+ AM_PROG_LEX
+
_GRECS_SET_OPTIONS([$1])
# **********************
# Preprocessor

Return to:

Send suggestions and report system problems to the System administrator.