* ltmain.in (func_mktempdir): New, backported from HEAD. (relink mode): Use it. Fixes potential denial of service through malicious other local user. Reported by James Kosin <jkosin@intcomgrp.com>.