In spite claiming to tbe disabled by default, RTSP is enabled and it now

also says so. I also made the list of protocols get sorted.
This commit is contained in:
Daniel Stenberg 2010-01-22 12:52:35 +00:00
parent e45eefcb90
commit c047fe8e90

View File

@ -5,7 +5,7 @@
# | (__| |_| | _ <| |___ # | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____| # \___|\___/|_| \_\_____|
# #
# Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al. # Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
# #
# This software is licensed as described in the file COPYING, which # This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms # you should have received as part of this distribution. The terms
@ -434,9 +434,10 @@ AC_HELP_STRING([--disable-rtsp],[Disable RTSP support]),
curl_rtsp_msg="enabled" curl_rtsp_msg="enabled"
fi fi
;; ;;
esac ], esac
AC_MSG_RESULT(no) ],
curl_rtsp_msg="disabled" AC_MSG_RESULT(yes)
curl_rtsp_msg="enabled"
) )
AC_MSG_CHECKING([whether to support proxies]) AC_MSG_CHECKING([whether to support proxies])
@ -2606,6 +2607,11 @@ if test "x$CURL_DISABLE_RTSP" != "x1"; then
SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS RTSP" SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS RTSP"
fi fi
dnl replace spaces with newlines
dnl sort the lines
dnl replace the newlines back to spaces
SUPPORT_PROTOCOLS=`echo $SUPPORT_PROTOCOLS | tr ' ' '\012' | sort | tr '\012' ' '`
AC_SUBST(SUPPORT_PROTOCOLS) AC_SUBST(SUPPORT_PROTOCOLS)
dnl squeeze whitespace out of some variables dnl squeeze whitespace out of some variables