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:
parent
871f3cba1e
commit
60bce31e41
12
configure.in
12
configure.in
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user