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
10
configure.in
10
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_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_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"],
|
[ICECAST_OBJECTS="$ICECAST_OBJECTS geturl.o yp.o"],
|
||||||
[AC_MSG_NOTICE([libcurl not found, YP disabled])])
|
[AC_MSG_NOTICE([Your libcurl is too old (7.10 or above required), YP disabled])],
|
||||||
ACX_PTHREAD(, AC_MSG_ERROR(POSIX threads missing))
|
[#include <curl/curl.h>])], [
|
||||||
|
AC_MSG_NOTICE([libcurl not found, YP disabled])
|
||||||
|
])
|
||||||
|
ACX_PTHREAD(, AC_MSG_ERROR([POSIX threads missing]))
|
||||||
|
|
||||||
dnl Make substitutions
|
dnl Make substitutions
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user