hack, use AC_CONFIG_LINKs to work around subdir-objects problems in test/Makefile.am

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
Merge branch 'bld/dist'

* bld/dist:
  hack, use AC_CONFIG_LINKs to work around subdir-objects problems in test/Makefile.am