aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.
34 34
35 git submodule add git://git.gnu.org.ua/grecs.git grecs 35 git submodule add git://git.gnu.org.ua/grecs.git grecs
36 36
372. Add a call to GRECS_SETUP to your configure.ac. It can be as 372. Modify your configure.ac
38
39First, indicate that grecs/am is the location of additional Autoconf
40macros. To do so, add the following statement
41
42 AC_CONFIG_MACRO_DIR([grecs/am])
43
44Somewhere below this statement, add a call to GRECS_SETUP. It can be as
38simple as: 45simple as:
39 46
40 GRECS_SETUP 47 GRECS_SETUP
41 48
42If the subproject directory is not 'grecs', supply the actual 49If the subproject directory is not 'grecs', supply the actual
43directory name as the first argument to this macro, e.g.: 50directory name as the first argument to both this macro, and
51AC_CONFIG_MACRO_DIR, e.g.:
44 52
45 GRECS_SETUP(lib/grecs) 53 AC_CONFIG_MACRO_DIR([lib/grecs/am])
54 GRECS_SETUP([lib/grecs])
46 55
47For a detailed description of the GRECS_SETUP macro, run 56For a detailed description of the GRECS_SETUP macro, run
48`man doc/GRECS_SETUP.3'. 57`man doc/GRECS_SETUP.3'.
49 58
503. In your Makefile.am, add @GRECS_INCLUDES@ to the INCLUDES value, 593. In your Makefile.am, add @GRECS_INCLUDES@ to the AM_CPPFLAGS value,
51and @GRECS_LDADD@ to LDADD, e.g.: 60and @GRECS_LDADD@ to LDADD, e.g.:
52 61
53 INCLUDES = @GRECS_INCLUDES@ 62 AM_CPPFLAGS = @GRECS_INCLUDES@
54 LDADD = @GRECS_LDADD@ 63 LDADD = @GRECS_LDADD@
55 64
564. Include "grecs.h" 654. 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
39 elements in ws_wordv to fill with NULLs. */ 39 elements in ws_wordv to fill with NULLs. */
40 size_t ws_wordn; /* Number of elements ws_wordv can accomodate. */ 40 size_t ws_wordn; /* Number of elements ws_wordv can accomodate. */
41 int ws_flags; /* [Input] Flags passed to wordsplit. */ 41 int ws_flags; /* [Input] Flags passed to wordsplit. */
42 int ws_options; /* [Input] (WRDSF_PATHEXPAND) 42 int ws_options; /* [Input] (WRDSF_OPTIONS)
43 Additional options. */ 43 Additional options. */
44 const char *ws_delim; /* [Input] (WRDSF_DELIM) Word delimiters. */ 44 const char *ws_delim; /* [Input] (WRDSF_DELIM) Word delimiters. */
45 const char *ws_comment; /* [Input] (WRDSF_COMMENT) Comment characters. */ 45 const char *ws_comment; /* [Input] (WRDSF_COMMENT) Comment characters. */

Return to:

Send suggestions and report system problems to the System administrator.