summaryrefslogtreecommitdiffabout
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
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 (more/less context) (ignore whitespace changes)
-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],
-# 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])
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);
void *grecs_zalloc(size_t size);
+void *grecs_calloc(size_t nmemb, size_t size);
void *grecs_realloc(void *ptr, size_t size);

Return to:

Send suggestions and report system problems to the System administrator.