Bugfix: cd back into the top-level directory when there's a failure.
commite8170b3b3c295e1b1bc7f96d080b85cc02cd1304
authorBenoit Sigoure <tsunanet@gmail.com>
Thu, 1 Jul 2010 19:02:16 +0000 (1 12:02 -0700)
committerBenoit Sigoure <tsunanet@gmail.com>
Thu, 1 Jul 2010 19:06:46 +0000 (1 12:06 -0700)
tree1160b964f8197288ba7623bd38d6dfe9427276bc
parent5b4e0cf36fc7472cebd16106cdb2060ac7d83b5f
Bugfix: cd back into the top-level directory when there's a failure.

When the code was returning early due to a failure, it was staying in a
temporary subdirectory used for testing.  This is obviously wrong as it
confused the rest of the configure script which assumed it was still running
from the top-level directory, and would cause errors such as:
  config.status: error: cannot find input file: build-aux/Makefile.in

Bug report and fix provided by Guillaume Lazzara.
THANKS
build-aux/autotroll.m4