aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-01 13:54:10 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-05-01 13:54:10 +0300
commit5906ff8971e683deb35ee0beea1425aa93aeb499 (patch)
treebc1b6346ba056d704f8cb44f46be95013958009d
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.
-rw-r--r--am/grecs.m420
-rw-r--r--src/grecs.h1
2 files changed, 20 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
@@ -51,4 +51,22 @@ AC_DEFUN([_GRECS_SET_OPTIONS],
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
53AC_DEFUN([GRECS_SETUP],[ 68AC_DEFUN([GRECS_SETUP],[
69 AC_PROG_YACC
70 AM_PROG_LEX
71
54 _GRECS_SET_OPTIONS([$1]) 72 _GRECS_SET_OPTIONS([$1])
diff --git a/src/grecs.h b/src/grecs.h
index 1273c7d..99c0453 100644
--- a/src/grecs.h
+++ b/src/grecs.h
@@ -133,2 +133,3 @@ void *grecs_malloc(size_t size);
133void *grecs_zalloc(size_t size); 133void *grecs_zalloc(size_t size);
134void *grecs_calloc(size_t nmemb, size_t size);
134void *grecs_realloc(void *ptr, size_t size); 135void *grecs_realloc(void *ptr, size_t size);

Return to:

Send suggestions and report system problems to the System administrator.