]> granicus.if.org Git - curl/commitdiff
disabling of rtsp when http isn't enabled required here for non-configure systems
authorYang Tse <yangsita@gmail.com>
Fri, 22 Jan 2010 14:20:08 +0000 (14:20 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 22 Jan 2010 14:20:08 +0000 (14:20 +0000)
lib/setup.h

index b8d62d417766e4f24df2052c9fe55be810bb8108..bcfd3835d2d2e7ec77863315a5f5ffd4e46250ab 100644 (file)
@@ -7,7 +7,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
  * you should have received as part of this distribution. The terms
 #  define CURL_DISABLE_RTSP
 #endif
 
+/*
+ * When http is disabled rtsp is not supported.
+ */
+
+#ifdef CURL_DISABLE_HTTP
+#  define CURL_DISABLE_RTSP
+#endif
+
 /* ================================================================ */
 /* No system header file shall be included in this file before this */
 /* point. The only allowed ones are those included from curlbuild.h */