Check for get_current_dir_name. There is a replacement function in
[tinc] / redhat / Makefile.am
1 EXTRA_DIST = tinc tinc.spec