diff options
Diffstat (limited to 'README.submodule')
-rw-r--r-- | README.submodule | 19 |
1 files changed, 14 insertions, 5 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" |