disable shout support if vorbis not found
git-svn-id: https://svn.musicpd.org/mpd/trunk@2477 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
		
							
								
								
									
										5
									
								
								TODO
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								TODO
									
									
									
									
									
								
							| @@ -19,11 +19,6 @@ | |||||||
|  |  | ||||||
| *) Optimize read() on clients | *) Optimize read() on clients | ||||||
|  |  | ||||||
| *) Add libshout && vorbis encoding support |  | ||||||
| 	*) clean up code to make more robust (only works for 16-bits) |  | ||||||
| 	*) flush buffer on clearEncoder, it produces a little hiccup currently |  | ||||||
| 	*) cleanup configure script stuff (shout needs vorbisenc) |  | ||||||
|  |  | ||||||
| *) Make each audioOutput device enable/disable by the client | *) Make each audioOutput device enable/disable by the client | ||||||
|  |  | ||||||
| *) add command | *) add command | ||||||
|   | |||||||
| @@ -101,6 +101,12 @@ AP_maGiC_VALUE | |||||||
| ) | ) | ||||||
| fi | fi | ||||||
|  |  | ||||||
|  | if test x$enable_ao = xyes; then | ||||||
|  | 	if test x$enable_ogg = xno; then | ||||||
|  | 		AC_MSG_WARN("disabling shout streaming support since vorbis was not found") | ||||||
|  | 	fi | ||||||
|  | fi | ||||||
|  |  | ||||||
| if test x$enable_ao = xyes; then | if test x$enable_ao = xyes; then | ||||||
| 	XIPH_PATH_AO(MPD_LIBS="$MPD_LIBS $AO_LIBS" MPD_CFLAGS="$MPD_CFLAGS $AO_CFLAGS",AC_MSG_ERROR(Must have libao installed!!!)) | 	XIPH_PATH_AO(MPD_LIBS="$MPD_LIBS $AO_LIBS" MPD_CFLAGS="$MPD_CFLAGS $AO_CFLAGS",AC_MSG_ERROR(Must have libao installed!!!)) | ||||||
| 	AC_DEFINE(HAVE_AUDIO, 1, [Define to play audio]) | 	AC_DEFINE(HAVE_AUDIO, 1, [Define to play audio]) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Warren Dukes
					Warren Dukes