1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Check whether CURLOPT_NOSIGNAL is available, or disable YP (hopefully).

svn path=/trunk/icecast/; revision=4825
This commit is contained in:
brendan 2003-05-28 03:45:57 +00:00
parent 871f3cba1e
commit 60bce31e41

View File

@ -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(
AM_PATH_CURL([
AC_CHECK_DECL([CURLOPT_NOSIGNAL],
[ICECAST_OBJECTS="$ICECAST_OBJECTS geturl.o yp.o"],
[AC_MSG_NOTICE([libcurl not found, YP disabled])])
ACX_PTHREAD(, AC_MSG_ERROR(POSIX threads missing))
[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