These two processes can go in any order. Correctly written autoconf will just refuse to use library without changes so till upstream will include fix the autoconf will refuse all upstream releases.
But of course it's good idea to wait till upstream includes the patch at least in VCS: this will mean there WILL be supported release in the future...