mirror of
				git://git.code.sf.net/p/cdesktopenv/code
				synced 2025-03-09 15:50:02 +00:00 
			
		
		
		
	iffe depends on cc -E not inserting newlines between tokens
Thanks to Andreas Schwab <schwab@suse.de> for the patch
This commit is contained in:
		
							parent
							
								
									3f54fd611f
								
							
						
					
					
						commit
						e79c292950
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -3398,7 +3398,7 @@ $src
 | 
			
		|||
						(eval "$src") <&$nullin || e=1
 | 
			
		||||
						;;
 | 
			
		||||
					mac*|nomac*)
 | 
			
		||||
						if	compile $cc -E $tmp.c <&$nullin >$tmp.i
 | 
			
		||||
						if	compile $cc -E -P $tmp.c <&$nullin >$tmp.i
 | 
			
		||||
						then	sed -e '/<<[ 	]*".*"[ 	]*>>/!d' -e 's/<<[ 	]*"//g' -e 's/"[ 	]*>>//g' $tmp.i
 | 
			
		||||
						else	e=1
 | 
			
		||||
						fi
 | 
			
		||||
| 
						 | 
				
			
			@ -3689,7 +3689,7 @@ $inc
 | 
			
		|||
<<\"#define $v\">>	$v	<<\"/* native $v */\">>
 | 
			
		||||
<<\"#endif\">>
 | 
			
		||||
#endif" > $tmp.c
 | 
			
		||||
					if	compile $cc -E $tmp.c <&$nullin >$tmp.i
 | 
			
		||||
					if	compile $cc -E -P $tmp.c <&$nullin >$tmp.i
 | 
			
		||||
					then	sed -e '/<<[ 	]*".*"[ 	]*>>/!d' -e 's/<<[ 	]*"//g' -e 's/"[ 	]*>>//g' $tmp.i > $tmp.t
 | 
			
		||||
						if	test -s $tmp.t
 | 
			
		||||
						then	success
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue