Hi Paul,

On 6/15/2017 10:06 PM, Paul Menzel wrote:
Dear Autoconf folks,


When doing an out of source build of Unbound, the test suite fails with the error below.

```
test signature verify functions
testpkts error: could not open file testdata/test_signatures.1: No such file or directory
Makefile:304: recipe for target 'test' failed
make: *** [test] Error 1
```

In the source directory there is a directory `testdata`, and that gets referenced incorrectly in `testcode/unitverify.c`.


One solution I've used is to export ${abs_top_srcdir} to config.h and then use that value as prefix in filenames.

Another solution is to create a link to directory testdata when $srcdir != $builddir. There is a macro AC_CONFIG_LNKS that might be useful.

Cheers,
Peter

_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to