configure.ac: reject libmpcdec SV7 in configure script
Look for symbol "mpc_demux_init" which does not exist in SV7. This avoids build failures when SV7 was found by configure.ac.
This commit is contained in:
		
							
								
								
									
										1
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								NEWS
									
									
									
									
									
								
							| @@ -4,6 +4,7 @@ ver 0.18.7 (not yet released) | |||||||
|   - soundcloud: fix build failure with libyajl 2.0.1 |   - soundcloud: fix build failure with libyajl 2.0.1 | ||||||
| * decoder | * decoder | ||||||
|   - faad: fix memory leak |   - faad: fix memory leak | ||||||
|  |   - mpcdec: reject libmpcdec SV7 in configure script | ||||||
| * daemon: don't initialize supplementary groups when already running | * daemon: don't initialize supplementary groups when already running | ||||||
|   as the configured user |   as the configured user | ||||||
|  |  | ||||||
|   | |||||||
| @@ -960,7 +960,7 @@ AM_CONDITIONAL(ENABLE_SNDFILE, test x$enable_sndfile = xyes) | |||||||
|  |  | ||||||
| dnl --------------------------------- musepack -------------------------------- | dnl --------------------------------- musepack -------------------------------- | ||||||
|  |  | ||||||
| MPD_AUTO_LIB(mpc, MPCDEC, mpcdec, main, [-lmpcdec], [], | MPD_AUTO_LIB(mpc, MPCDEC, mpcdec, mpc_demux_init, [-lmpcdec], [], | ||||||
| 	[mpcdec], [libmpcdec not found]) | 	[mpcdec], [libmpcdec not found]) | ||||||
| if test x$enable_mpc = xyes; then | if test x$enable_mpc = xyes; then | ||||||
| 	AC_DEFINE(HAVE_MPCDEC, 1, [Define to use libmpcdec for MPC decoding]) | 	AC_DEFINE(HAVE_MPCDEC, 1, [Define to use libmpcdec for MPC decoding]) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann