mirror of https://github.com/aria2/aria2
Add --disable-websocket
parent
010131161e
commit
cd204ff525
|
@ -57,6 +57,7 @@ ARIA2_ARG_WITH([jemalloc])
|
||||||
ARIA2_ARG_DISABLE([ssl])
|
ARIA2_ARG_DISABLE([ssl])
|
||||||
ARIA2_ARG_DISABLE([bittorrent])
|
ARIA2_ARG_DISABLE([bittorrent])
|
||||||
ARIA2_ARG_DISABLE([metalink])
|
ARIA2_ARG_DISABLE([metalink])
|
||||||
|
ARIA2_ARG_DISABLE([websocket])
|
||||||
ARIA2_ARG_DISABLE([epoll])
|
ARIA2_ARG_DISABLE([epoll])
|
||||||
ARIA2_ARG_ENABLE([libaria2])
|
ARIA2_ARG_ENABLE([libaria2])
|
||||||
|
|
||||||
|
@ -929,6 +930,7 @@ if test "x$have_option_const_name" = "xyes"; then
|
||||||
AC_DEFINE([HAVE_OPTION_CONST_NAME], [1], [Define 1 if struct option.name is const char*])
|
AC_DEFINE([HAVE_OPTION_CONST_NAME], [1], [Define 1 if struct option.name is const char*])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "x$enable_websocket" = "xyes"; then
|
||||||
AC_CONFIG_SUBDIRS([deps/wslay])
|
AC_CONFIG_SUBDIRS([deps/wslay])
|
||||||
enable_websocket=yes
|
enable_websocket=yes
|
||||||
AC_DEFINE([ENABLE_WEBSOCKET], [1],
|
AC_DEFINE([ENABLE_WEBSOCKET], [1],
|
||||||
|
@ -937,6 +939,7 @@ WSLAY_LIBS="\$(top_builddir)/deps/wslay/lib/libwslay.la"
|
||||||
AC_SUBST([WSLAY_LIBS])
|
AC_SUBST([WSLAY_LIBS])
|
||||||
# $(top_srcdir) for `make distcheck`
|
# $(top_srcdir) for `make distcheck`
|
||||||
CPPFLAGS="-I\$(top_builddir)/deps/wslay/lib/includes -I\$(top_srcdir)/deps/wslay/lib/includes $CPPFLAGS"
|
CPPFLAGS="-I\$(top_builddir)/deps/wslay/lib/includes -I\$(top_srcdir)/deps/wslay/lib/includes $CPPFLAGS"
|
||||||
|
fi
|
||||||
AM_CONDITIONAL([ENABLE_WEBSOCKET], [test "x$enable_websocket" = "xyes"])
|
AM_CONDITIONAL([ENABLE_WEBSOCKET], [test "x$enable_websocket" = "xyes"])
|
||||||
|
|
||||||
AM_CONDITIONAL([ENABLE_LIBARIA2], [test "x$enable_libaria2" = "xyes"])
|
AM_CONDITIONAL([ENABLE_LIBARIA2], [test "x$enable_libaria2" = "xyes"])
|
||||||
|
|
Loading…
Reference in New Issue