configure: wrap some library tests with GIT_STASH_FLAGS
commit310386f07b5ef3dc337db1be37345fbd8d7a3af8
authorBen Walton <bwalton@artsci.utoronto.ca>
Thu, 12 Mar 2009 19:20:09 +0000 (12 15:20 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Mar 2009 06:23:38 +0000 (12 23:23 -0700)
treed89063d6e87a568ebbacd530c68ed57cb1c3cbc4
parent918c8120172514704809cbdf889794d8b1345d0a
configure: wrap some library tests with GIT_STASH_FLAGS

Libraries that can have user specificed base paths are wrapped with
GIT_STASH_FLAGS/GIT_UNSTASH_FLAGS to ensure that the proper versions
on the system are tested.  This ensures, for example, that the zlib
tests for deflateUnbound are done with the version of zlib requested
by the user.  This is most useful in the absence of good settings for
CPPFLAGS and/or LDFLAGS.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
configure.ac