mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	iOS: build.sh does not run configure for libdivecomputer
In a "virgin" repo incl. libdivecomputer, starting by running ios/build.sh caused an error in libdivecomputer, because autoreconf was never run. Changed build.sh to check if libdivecomputer/configure exist, if not run autoreconf Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
		
							parent
							
								
									c67fe97ba1
								
							
						
					
					
						commit
						a0030a488a
					
				
					 1 changed files with 6 additions and 5 deletions
				
			
		|  | @ -281,17 +281,18 @@ echo next building for $ARCH | |||
| 	if [ ! -d ../../libdivecomputer/src ] ; then | ||||
| 		pushd ../.. | ||||
| 		git submodule init | ||||
| 		git submodule update --recursive | ||||
| 		pushd libdivecomputer | ||||
| 		autoreconf --install | ||||
| 		autoreconf --install | ||||
| 		popd | ||||
| 	fi | ||||
| 	git submodule update --recursive | ||||
| 	if [ ! -f ../../libdivecomputer/configure ] ; then | ||||
| 		pushd ../../libdivecomputer | ||||
| 		autoreconf --install | ||||
| 		autoreconf --install | ||||
| 		popd | ||||
| 	fi | ||||
| 	if [ ! -f libdivecomputer-${ARCH}.SHA ] ; then | ||||
| 		echo "" > libdivecomputer-${ARCH}.SHA | ||||
| 	fi | ||||
| 	git submodule update --recursive | ||||
| 	CURRENT_SHA=$(cd ../../libdivecomputer ; git describe) | ||||
| 	PREVIOUS_SHA=$(cat libdivecomputer-${ARCH}.SHA) | ||||
| 	if [ ! "$CURRENT_SHA" = "$PREVIOUS_SHA" ] ; then | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue