aboutsummaryrefslogtreecommitdiff
path: root/runcap.m4
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2017-08-19 20:24:59 +0300
committerSergey Poznyakoff <gray@gnu.org>2017-08-19 20:28:40 +0300
commitde5b0a9c0265b329b0c67cb02381fe7aebfd5186 (patch)
treef8462d313b327c6d3ace6445777e09de862eb8af /runcap.m4
parent511f9c9765eb2a9992ea4470703ebcd96faca52b (diff)
downloadruncap-de5b0a9c0265b329b0c67cb02381fe7aebfd5186.tar.gz
runcap-de5b0a9c0265b329b0c67cb02381fe7aebfd5186.tar.bz2
Rewrite testsuite in autotest. Fix distcheck
Diffstat (limited to 'runcap.m4')
-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.