Run autoconf from top-level directory.
This is part (hopefully all) of the fixes for #776. The top-level configure.ac configures googletest first and then googlemock. With this changes it is possible to embed googletest into another project that uses autoconf. For an example (though it is WIP), see the commits (and soon PR) referenced from google/protobuf#236.
This commit is contained in:
		@@ -129,7 +129,7 @@ AS_IF([test "x${HAVE_BUILT_GTEST}" = "xyes"],
 | 
			
		||||
      GTEST_LDFLAGS=`${GTEST_CONFIG} --ldflags`
 | 
			
		||||
      GTEST_LIBS=`${GTEST_CONFIG} --libs`
 | 
			
		||||
      GTEST_VERSION=`${GTEST_CONFIG} --version`],
 | 
			
		||||
      [AC_CONFIG_SUBDIRS([../googletest])
 | 
			
		||||
      [
 | 
			
		||||
      # GTEST_CONFIG needs to be executable both in a Makefile environment and
 | 
			
		||||
      # in a shell script environment, so resolve an absolute path for it here.
 | 
			
		||||
      GTEST_CONFIG="`pwd -P`/../googletest/scripts/gtest-config"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user