configure.ac: check if lzma has MT support, fix deb build/etc.
This commit is contained in:
		
							parent
							
								
									960e9c560e
								
							
						
					
					
						commit
						5a082ad15a
					
				
					 2 changed files with 4 additions and 0 deletions
				
			
		|  | @ -192,6 +192,7 @@ struct XzSink : CompressionSink | |||
|     XzSink(Sink & nextSink, const bool parallel) : nextSink(nextSink) | ||||
|     { | ||||
|         lzma_ret ret; | ||||
| #ifdef HAVE_LZMA_MT | ||||
|         if (parallel) { | ||||
|             lzma_mt mt_options = {}; | ||||
|             mt_options.flags = 0; | ||||
|  | @ -208,6 +209,7 @@ struct XzSink : CompressionSink | |||
|             ret = lzma_stream_encoder_mt( | ||||
|                 &strm, &mt_options); | ||||
|         } else | ||||
| #endif | ||||
|             ret = lzma_easy_encoder( | ||||
|                 &strm, 6, LZMA_CHECK_CRC64); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue