comparison configure.ac @ 503:fe2c60ca8c98 trunk

[svn] - mms transport - summarize which transports will be built in configure
author nenolod
date Sun, 21 Jan 2007 21:45:52 -0800
parents 38fe08dff5cd
children 7b4b37819c9d
comparison
equal deleted inserted replaced
502:d9fe80b35381 503:fe2c60ca8c98
978 dnl check is the plain-text version of the required version 978 dnl check is the plain-text version of the required version
979 check="7.9.7" 979 check="7.9.7"
980 dnl check_hex must be UPPERCASE if any hex letters are present 980 dnl check_hex must be UPPERCASE if any hex letters are present
981 check_hex="070907" 981 check_hex="070907"
982 982
983 AC_MSG_CHECKING([for curl >= $check]) 983 have_curl="no"
984 984 PKG_CHECK_MODULES(CURL, [libcurl >= 7.9.7],
985 PKG_CHECK_MODULES(CURL, [libcurl >= 7.9.7], [ CONTAINER_PLUGINS="$CONTAINER_PLUGINS curl" ], [scrobbler="no"]) 985 [
986 CONTAINER_PLUGINS="$CONTAINER_PLUGINS curl"
987 have_curl="yes"
988 ], [scrobbler="no"])
986 989
987 if test "x$scrobbler" = "xyes"; then 990 if test "x$scrobbler" = "xyes"; then
988 GENERAL_PLUGINS="$GENERAL_PLUGINS scrobbler" 991 GENERAL_PLUGINS="$GENERAL_PLUGINS scrobbler"
989 fi 992 fi
990 993
991 AC_SUBST(CURL_CFLAGS) 994 AC_SUBST(CURL_CFLAGS)
992 AC_SUBST(CURL_LIBS) 995 AC_SUBST(CURL_LIBS)
993 996
994 dnl *** End of Scrobbler checks *** 997 dnl *** End of Scrobbler checks ***
998
999 dnl *** MMS
1000
1001 AC_ARG_ENABLE(mms,
1002 [ --disable-mms disable mms support. (default=enabled)],
1003 [have_mms=$enableval],
1004 [have_mms=yes])
1005
1006 if test "x$ap_disable_paranormal" = "xyes"; then
1007 have_mms=no
1008 AC_MSG_RESULT([*** mms plugin disabled by request ***])
1009 else
1010 have_mms=yes
1011 PKG_CHECK_MODULES(MMS, [libmms >= 0.3], [CONTAINER_PLUGINS="$CONTAINER_PLUGINS mms" ], [have_mms="no"])
1012 fi
995 1013
996 dnl *** libparanormal checks 1014 dnl *** libparanormal checks
997 1015
998 AC_ARG_ENABLE(paranormal, 1016 AC_ARG_ENABLE(paranormal,
999 [ --disable-paranormal disable paranormal vis plugin. (default=enabled)], 1017 [ --disable-paranormal disable paranormal vis plugin. (default=enabled)],
1213 echo " Blur Scope: yes" 1231 echo " Blur Scope: yes"
1214 echo " Spectrum Analyzer: yes" 1232 echo " Spectrum Analyzer: yes"
1215 echo " Paranormal Visualization Library: $have_paranormal" 1233 echo " Paranormal Visualization Library: $have_paranormal"
1216 echo " ProjectM (GL milkdrop): $have_projectm" 1234 echo " ProjectM (GL milkdrop): $have_projectm"
1217 echo 1235 echo
1236 echo " Transport"
1237 echo " ---------"
1238 echo " stdio transport: yes"
1239 echo " curl-based http/https: $have_curl"
1240 echo " libmms-based mms: $have_mms"
1241 echo
1218 echo " Container" 1242 echo " Container"
1219 echo " ---------" 1243 echo " ---------"
1220 echo " Winamp PLS playlist format (pls): yes" 1244 echo " Winamp PLS playlist format (pls): yes"
1221 echo " M3U playlist format (m3u): yes" 1245 echo " M3U playlist format (m3u): yes"
1222 echo " XML Sharable Playlist Format (xspf): $have_xspf" 1246 echo " XML Sharable Playlist Format (xspf): $have_xspf"