mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-06-23 06:25:24 +00:00
Handle --without-theora option. Ideally this would be controlled by
the caller (who may or may not want to allow this option), but I don't know how to do that while AC_ARG_WITH(theora...) is inside this macro. svn path=/icecast/trunk/m4/; revision=7101
This commit is contained in:
parent
8d52fab499
commit
a07c996f7b
|
@ -18,6 +18,11 @@ AC_ARG_WITH(theora,
|
|||
theora_prefix="$withval",
|
||||
theora_prefix="$THEORA_PREFIX"
|
||||
)
|
||||
|
||||
if test "x$with_theora" = "xno"
|
||||
then
|
||||
AC_MSG_RESULT([Theora support disabled by request])
|
||||
else
|
||||
if test "x$theora_prefix" = "x"; then
|
||||
if test "x$prefix" = "xNONE"; then
|
||||
theora_prefix="/usr/local"
|
||||
|
@ -66,4 +71,5 @@ fi
|
|||
AC_SUBST(THEORA_CFLAGS)
|
||||
AC_SUBST(THEORA_LDFLAGS)
|
||||
AC_SUBST(THEORA_LIBS)
|
||||
fi
|
||||
])
|
||||
|
|
Loading…
Reference in New Issue
Block a user