aboutsummaryrefslogtreecommitdiff
path: root/am
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-02-18 20:43:32 +0200
committerSergey Poznyakoff <gray@gnu.org>2019-02-18 20:52:12 +0200
commit1498bd570eb001a6b2bc3f1a5074e8b384d6db30 (patch)
tree9d299556e15617c3920d397e5012e1c096e353f0 /am
parent9097d5294cf62c4cb7cd5e352e1d0c42d3c04d81 (diff)
downloadgrecs-1498bd570eb001a6b2bc3f1a5074e8b384d6db30.tar.gz
grecs-1498bd570eb001a6b2bc3f1a5074e8b384d6db30.tar.bz2
New substitution variable for linking with host project libraries
New variable GRECS_HOST_PROJECT_LDADD complements GRECS_HOST_PROJECT_INCLUDES. It provides a way to link test binaries with host project libraries. This may be useful if config.h redefines missing or defective library functions to their replacements, which are provided in third-party libraries, such as e.g. gnulib, * am/grecs.m4 (GRECS_HOST_PROJECT_LDADD): New substitution variable. * tests/Makefile.am (LDADD): Add GRECS_HOST_PROJECT_LDADD.
Diffstat (limited to 'am')
-rw-r--r--am/grecs.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/am/grecs.m4 b/am/grecs.m4
index 60244a1..33a6809 100644
--- a/am/grecs.m4
+++ b/am/grecs.m4
@@ -204,6 +204,7 @@ AC_DEFUN([GRECS_SETUP],[
AC_SUBST([GRECS_README])
AC_SUBST([GRECS_INCLUDES],['-I$(top_srcdir)/]grecsdir[include] [-I$(top_builddir)/]grecsdir[include]')
AC_SUBST([GRECS_HOST_PROJECT_INCLUDES])
+ AC_SUBST([GRECS_HOST_PROJECT_LDADD])
AC_SUBST([GRECS_DISTDOC])
AC_SUBST([GRECS_INCLUDE_DIR],['$(pkgincludedir)'])

Return to:

Send suggestions and report system problems to the System administrator.