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.
		
			
				
	
	
		
			17 lines
		
	
	
		
			461 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			461 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
AC_INIT([Google C++ Mocking and Testing Frameworks],
 | 
						|
        [1.8.0],
 | 
						|
        [googlemock@googlegroups.com],
 | 
						|
        [googletest])
 | 
						|
 | 
						|
# Provide various options to initialize the Autoconf and configure processes.
 | 
						|
AC_PREREQ([2.59])
 | 
						|
AC_CONFIG_SRCDIR([./README.md])
 | 
						|
AC_CONFIG_AUX_DIR([build-aux])
 | 
						|
AC_CONFIG_FILES([Makefile])
 | 
						|
AC_CONFIG_SUBDIRS([googletest googlemock])
 | 
						|
 | 
						|
AM_INIT_AUTOMAKE
 | 
						|
 | 
						|
# Output the generated files. No further autoconf macros may be used.
 | 
						|
AC_OUTPUT
 |