summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2018-05-21 07:01:40 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2018-05-21 07:01:40 (GMT)
commit085d771694655dea82c37247497db32eca228b4a (patch) (side-by-side diff)
tree11803eb4d40063e18ac7b4a5ae9ed49e310e7163
parent27ca9f5819d0e44173a5f61a241cd066ad157138 (diff)
downloadgrecs-085d771694655dea82c37247497db32eca228b4a.tar.gz
grecs-085d771694655dea82c37247497db32eca228b4a.tar.bz2
Minor fixes
* README.submodule: Fix the description. * include/wordsplit.h: Fix typo.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--README.submodule19
-rw-r--r--include/wordsplit.h2
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://git.gnu.org.ua/grecs.git grecs
-2. Add a call to GRECS_SETUP to your configure.ac. It can be as
+2. Modify your configure.ac
+
+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:
GRECS_SETUP
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
+AC_CONFIG_MACRO_DIR, e.g.:
- 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 Makefile.am, add @GRECS_INCLUDES@ to the INCLUDES value,
+3. In your Makefile.am, add @GRECS_INCLUDES@ to the AM_CPPFLAGS value,
and @GRECS_LDADD@ to LDADD, e.g.:
- INCLUDES = @GRECS_INCLUDES@
+ AM_CPPFLAGS = @GRECS_INCLUDES@
LDADD = @GRECS_LDADD@
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.