diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2017-08-19 20:24:59 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2017-08-19 20:28:40 +0300 |
commit | de5b0a9c0265b329b0c67cb02381fe7aebfd5186 (patch) | |
tree | f8462d313b327c6d3ace6445777e09de862eb8af /runcap.m4 | |
parent | 511f9c9765eb2a9992ea4470703ebcd96faca52b (diff) | |
download | runcap-de5b0a9c0265b329b0c67cb02381fe7aebfd5186.tar.gz runcap-de5b0a9c0265b329b0c67cb02381fe7aebfd5186.tar.bz2 |
Rewrite testsuite in autotest. Fix distcheck
Diffstat (limited to 'runcap.m4')
-rw-r--r-- | runcap.m4 | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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]) ]) |