meson: Move Xvfb build under an option.
Autotools also had it as an option. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
		
							parent
							
								
									de3b618691
								
							
						
					
					
						commit
						a09743c930
					
				| 
						 | 
				
			
			@ -6,7 +6,9 @@ if get_option('dmx')
 | 
			
		|||
    subdir('dmx')
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
subdir('vfb')
 | 
			
		||||
if get_option('xvfb')
 | 
			
		||||
    subdir('vfb')
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
if build_xnest
 | 
			
		||||
    subdir('xnest')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,6 +10,8 @@ option('xnest', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto',
 | 
			
		|||
       description: 'Enable Xnest nested X server')
 | 
			
		||||
option('dmx', type: 'boolean', value: false,
 | 
			
		||||
       description: 'Enable DMX nested X server')
 | 
			
		||||
option('xvfb', type: 'boolean', value: true,
 | 
			
		||||
       description: 'Enable Xvfb X server')
 | 
			
		||||
option('xwin', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto',
 | 
			
		||||
       description: 'Enable XWin X server')
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue