Revert "Remove depracated extended source stuff from configure."

This reverts commit 9a85c0d7638f524e1f31e7853bc54aa34c63d41f.