diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-05-01 13:54:10 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-05-01 13:54:10 +0300 |
commit | 5906ff8971e683deb35ee0beea1425aa93aeb499 (patch) | |
tree | bc1b6346ba056d704f8cb44f46be95013958009d /am | |
parent | 3f39626191970d57a8ad406b72474d565627b043 (diff) | |
download | grecs-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')
-rw-r--r-- | am/grecs.m4 | 20 |
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], | |||
49 | AC_DEFUN([_GRECS_SET_OPTIONS], | 49 | AC_DEFUN([_GRECS_SET_OPTIONS], |
50 | [m4_foreach_w([_GRECS_Option], [$1], [_GRECS_SET_OPTION(_GRECS_Option)])]) | 50 | [m4_foreach_w([_GRECS_Option], [$1], [_GRECS_SET_OPTION(_GRECS_Option)])]) |
51 | 51 | ||
52 | # GRECS_SETUP([no-preproc std-pp-setup pp-setup-option],[pp-setup-file]) | 52 | # GRECS_SETUP([OPTIONS],[pp-setup-file]) |
53 | # | ||
54 | # Options are: | ||
55 | # no-preproc Disable the use of preprocessor. | ||
56 | # std-pp-setup Install standard pp-setup file. | ||
57 | # pp-setup-option Add the --with-pp-setup-file option to the | ||
58 | # configuration file. The option allows user to | ||
59 | # control whether the pp-setup file is installed. | ||
60 | # | ||
61 | # The pp-setup-file argument supplies the pathname of the preprocessor | ||
62 | # setup file in the source tree. It is ignored if std-pp-setup option is | ||
63 | # given. | ||
64 | # | ||
65 | # If neither std-pp-setup option, nor pp-setup-file argument are supplied, | ||
66 | # no preprocessor setup file is installed. | ||
67 | |||
53 | AC_DEFUN([GRECS_SETUP],[ | 68 | AC_DEFUN([GRECS_SETUP],[ |
69 | AC_PROG_YACC | ||
70 | AM_PROG_LEX | ||
71 | |||
54 | _GRECS_SET_OPTIONS([$1]) | 72 | _GRECS_SET_OPTIONS([$1]) |
55 | # ********************** | 73 | # ********************** |
56 | # Preprocessor | 74 | # Preprocessor |