summaryrefslogtreecommitdiffabout
path: root/runcap.m4
Side-by-side diff
Diffstat (limited to 'runcap.m4') (more/less context) (ignore whitespace changes)
-rw-r--r--runcap.m47
1 files changed, 6 insertions, 1 deletions
diff --git a/runcap.m4 b/runcap.m4
index cd4c234..3d49f05 100644
--- a/runcap.m4
+++ b/runcap.m4
@@ -16,6 +16,7 @@
AC_DEFUN([RUNCAP_SETUP],[
m4_pushdef([runcapdir],m4_if($1,[.],,$1,,[runcap/],$1/))
AC_SUBST([RUNCAP_INC],['-I$(top_srcdir)/]runcapdir')
+ AC_SUBST([RUNCAP_LDADD],['-L$(top_builddir)/]runcapdir -lruncap')
AC_SUBST([RUNCAP_BUILD_TYPE])
m4_if($2,[install],[
LT_INIT
@@ -33,7 +34,11 @@ AC_DEFUN([RUNCAP_SETUP],[
RUNCAP_LDADD=['$(top_builddir)/]runcapdir[libruncap.a']
AC_CONFIG_FILES(runcapdir[Makefile]:runcapdir[static.in])
])
- AC_CONFIG_FILES(runcapdir[t/Makefile])
+
+ AC_CONFIG_TESTDIR(runcapdir[t])
+ AC_CONFIG_FILES(runcapdir[t/Makefile] runcapdir[t/atlocal])
+ AM_MISSING_PROG([AUTOM4TE], [autom4te])
+
m4_popdef([runcapdir])
])

Return to:

Send suggestions and report system problems to the System administrator.