diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2018-05-21 10:01:40 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2018-05-21 10:01:40 +0300 |
commit | 085d771694655dea82c37247497db32eca228b4a (patch) | |
tree | 11803eb4d40063e18ac7b4a5ae9ed49e310e7163 | |
parent | 27ca9f5819d0e44173a5f61a241cd066ad157138 (diff) | |
download | grecs-085d771694655dea82c37247497db32eca228b4a.tar.gz grecs-085d771694655dea82c37247497db32eca228b4a.tar.bz2 |
Minor fixes
* README.submodule: Fix the description.
* include/wordsplit.h: Fix typo.
-rw-r--r-- | README.submodule | 19 | ||||
-rw-r--r-- | include/wordsplit.h | 2 |
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 @@ -36,3 +36,10 @@ recursively, joining several trees together, reductions, etc. -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: @@ -42,5 +49,7 @@ 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 +AC_CONFIG_MACRO_DIR, e.g.: - GRECS_SETUP(lib/grecs) + AC_CONFIG_MACRO_DIR([lib/grecs/am]) + GRECS_SETUP([lib/grecs]) @@ -49,6 +58,6 @@ For a detailed description of the GRECS_SETUP macro, run -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@ diff --git a/include/wordsplit.h b/include/wordsplit.h index d8cd461..8726cf1 100644 --- a/include/wordsplit.h +++ b/include/wordsplit.h @@ -41,3 +41,3 @@ struct wordsplit int ws_flags; /* [Input] Flags passed to wordsplit. */ - int ws_options; /* [Input] (WRDSF_PATHEXPAND) + int ws_options; /* [Input] (WRDSF_OPTIONS) Additional options. */ |