authorSergey Poznyakoff <>2018-05-21 07:01:40 (GMT)
committer Sergey Poznyakoff <>2018-05-21 07:01:40 (GMT)
commit085d771694655dea82c37247497db32eca228b4a (patch) (side-by-side diff)
parent27ca9f5819d0e44173a5f61a241cd066ad157138 (diff)
Minor fixes
* README.submodule: Fix the description. * include/wordsplit.h: Fix typo.
Diffstat (more/less context) (ignore whitespace changes)
2 files changed, 15 insertions, 6 deletions
diff --git a/README.submodule b/README.submodule
index e04a4ec..9b7212f 100644
--- a/README.submodule
+++ b/README.submodule
@@ -34,23 +34,32 @@ recursively, joining several trees together, reductions, etc.
git submodule add git:// grecs
-2. Add a call to GRECS_SETUP to your It can be as
+2. Modify your
+First, indicate that grecs/am is the location of additional Autoconf
+macros. To do so, add the following statement
+ AC_CONFIG_MACRO_DIR([grecs/am])
+Somewhere below this statement, add a call to GRECS_SETUP. It can be as
simple as:
If the subproject directory is not 'grecs', supply the actual
-directory name as the first argument to this macro, e.g.:
+directory name as the first argument to both this macro, and
- GRECS_SETUP(lib/grecs)
+ AC_CONFIG_MACRO_DIR([lib/grecs/am])
+ GRECS_SETUP([lib/grecs])
For a detailed description of the GRECS_SETUP macro, run
`man doc/GRECS_SETUP.3'.
-3. In your, add @GRECS_INCLUDES@ to the INCLUDES value,
+3. In your, add @GRECS_INCLUDES@ to the AM_CPPFLAGS value,
and @GRECS_LDADD@ to LDADD, e.g.:
4. Include "grecs.h"
diff --git a/include/wordsplit.h b/include/wordsplit.h
index d8cd461..8726cf1 100644
--- a/include/wordsplit.h
+++ b/include/wordsplit.h
@@ -39,7 +39,7 @@ struct wordsplit
elements in ws_wordv to fill with NULLs. */
size_t ws_wordn; /* Number of elements ws_wordv can accomodate. */
int ws_flags; /* [Input] Flags passed to wordsplit. */
- int ws_options; /* [Input] (WRDSF_PATHEXPAND)
+ int ws_options; /* [Input] (WRDSF_OPTIONS)
Additional options. */
const char *ws_delim; /* [Input] (WRDSF_DELIM) Word delimiters. */
const char *ws_comment; /* [Input] (WRDSF_COMMENT) Comment characters. */

Return to:

Send suggestions and report system problems to the System administrator.