Incorrect identifying of --with-tremor option in configure.ac
[mk: moved check out of the AC_ARG_WITH block]
This commit is contained in:
		
				
					committed by
					
						
						Max Kellermann
					
				
			
			
				
	
			
			
			
						parent
						
							a2de0f0fc5
						
					
				
				
					commit
					6e3bd4f620
				
			
							
								
								
									
										12
									
								
								configure.ac
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								configure.ac
									
									
									
									
									
								
							@@ -475,9 +475,15 @@ dnl Ogg Tremor
 | 
				
			|||||||
dnl ###
 | 
					dnl ###
 | 
				
			||||||
AC_ARG_WITH(tremor,
 | 
					AC_ARG_WITH(tremor,
 | 
				
			||||||
	AS_HELP_STRING([--with-tremor=PFX],
 | 
						AS_HELP_STRING([--with-tremor=PFX],
 | 
				
			||||||
		[use Tremor (vorbisidec) integer Ogg Vorbis decoder (with optional prefix)]),
 | 
							[use Tremor (vorbisidec) integer Ogg Vorbis decoder (with optional prefix)]),,
 | 
				
			||||||
	use_tremor=yes; test x$withval != xyes && tremor_prefix="$withval",
 | 
						with_tremor=no)
 | 
				
			||||||
	)
 | 
					
 | 
				
			||||||
 | 
					if test x$with_tremor = xyes || test x$with_tremor = xno; then
 | 
				
			||||||
 | 
						use_tremor="$with_tremor"
 | 
				
			||||||
 | 
					else
 | 
				
			||||||
 | 
						tremor_prefix="$with_tremor"
 | 
				
			||||||
 | 
						use_tremor=yes
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
AC_ARG_WITH(tremor-libraries,
 | 
					AC_ARG_WITH(tremor-libraries,
 | 
				
			||||||
	AS_HELP_STRING([--with-tremor-libraries=DIR],
 | 
						AS_HELP_STRING([--with-tremor-libraries=DIR],
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user