[svn] commit: r411 - /branches/parkinglot/configure.ac

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Jan 4 10:38:44 UTC 2010


On 12/29/2009 08:50 PM, BIND 10 source code commits wrote:
> At Tue, 29 Dec 2009 14:03:41 -0000,
> BIND 10 source code commits <bind10-changes at lists.isc.org> wrote:
> 
>> +	GTEST_FOUND="false"
>> +	for dir in $GTEST_PATHS; do
>> +		if test -f "$dir/include/gtest/gtest.h"; then
>> +			GTEST_INCLUDES="-I$dir/include"
>> +			GTEST_LDFLAGS="-L$dir/lib"
>> +			GTEST_LDADD="-lgtest"
>> +			GTEST_FOUND="true"
>> +		fi
>> +	done
> 
> With this logic, if we have multiple paths that have gtest we'll use
> the last one.  Is that intentional?
> 

not really, but i figured if there's multiple we have to pick one, and
it doesn't really matter which. A case could very well be made to pick
the first, and i wouldn't mind.

Jelte




More information about the bind10-changes mailing list