Revert "Use mktemp to generate temp files."
Doesn't seem to work on windows
This reverts commit 27988c5e66.
			
			
This commit is contained in:
		
							parent
							
								
									27988c5e66
								
							
						
					
					
						commit
						5e6fabefd7
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		
							
								
								
									
										3
									
								
								configure
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								configure
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -11,7 +11,8 @@ else
 | 
			
		|||
    TMPDIR1="/tmp"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
TMPN="$(mktemp --tmpdir=${TMPDIR1} tcc-conf-XXXXXXXXXX-$$-XXXXXXXXXX)"
 | 
			
		||||
# bashism: TMPN="${TMPDIR1}/tcc-conf-${RANDOM}-$$-${RANDOM}.c"
 | 
			
		||||
TMPN="./conftest-$$"
 | 
			
		||||
 | 
			
		||||
TMPC=$TMPN.c
 | 
			
		||||
TMPH=$TMPN.h
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue