[xiph-cvs] cvs commit: icecast configure.in
Brendan
brendan at xiph.org
Tue May 27 20:45:57 PDT 2003
brendan 03/05/27 23:45:57
Modified: . configure.in
Log:
Check whether CURLOPT_NOSIGNAL is available, or disable YP (hopefully).
Revision Changes Path
1.31 +8 -4 icecast/configure.in
Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/icecast/configure.in,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -p -u -r1.30 -r1.31
--- configure.in 15 May 2003 21:04:39 -0000 1.30
+++ configure.in 28 May 2003 03:45:57 -0000 1.31
@@ -164,10 +164,14 @@ fi
AM_PATH_OGG(, AC_MSG_ERROR(must have Ogg installed!(Perhaps you need --with-ogg-prefix=/usr/local)))
AM_PATH_VORBIS(, AC_MSG_ERROR(must have Vorbis installed!(Perhaps you need --with-vorbis-prefix=/usr/local)))
-AM_PATH_CURL(
- [ICECAST_OBJECTS="$ICECAST_OBJECTS geturl.o yp.o"],
- [AC_MSG_NOTICE([libcurl not found, YP disabled])])
-ACX_PTHREAD(, AC_MSG_ERROR(POSIX threads missing))
+AM_PATH_CURL([
+ AC_CHECK_DECL([CURLOPT_NOSIGNAL],
+ [ICECAST_OBJECTS="$ICECAST_OBJECTS geturl.o yp.o"],
+ [AC_MSG_NOTICE([Your libcurl is too old (7.10 or above required), YP disabled])],
+ [#include <curl/curl.h>])], [
+ AC_MSG_NOTICE([libcurl not found, YP disabled])
+ ])
+ACX_PTHREAD(, AC_MSG_ERROR([POSIX threads missing]))
dnl Make substitutions
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list