>> As far as I know libbacktrace does not currently rely on using GNU >> make. I'd rather not add that dependency for this purpose (I don't >> mind adding this kind of testing but to me this seems only of mild >> interest--I expect that all significant libbacktrace users have mmap). >> You should be able to write something like >> >> libbacktrace_alloc_la_SOURCES = $(libbacktrace_SOURCES) >> libbacktrace_alloc_la_LIBADD = $(BACKTRACE_FILE) $(FORMAT_FILE) read.c >> alloc.c >> > > Done. > >> Then I wouldn't bother with only running the tests with HAVE_MMAP, >> just add unconditional tests for btest_alloc, etc. It's OK to run >> duplicate tests for the incredibly rare case of a host that doesn't >> support mmap. > > Done. > > OK for trunk?
This is OK. (I assume the tests pass). Thanks. Ian