This has been in Alan's tree for ages, why not merge in mainline? Patch below, happily stolen from -ac/-pac. Özkan Sezer