|
|
|
@ -393,6 +393,15 @@ AC_ARG_ENABLE(
@@ -393,6 +393,15 @@ AC_ARG_ENABLE(
|
|
|
|
|
[[ARG_ENABLE_PYTHON_BINDING=no]] |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
AC_ARG_ENABLE( |
|
|
|
|
[rss], |
|
|
|
|
[AS_HELP_STRING( |
|
|
|
|
[--enable-rss], |
|
|
|
|
[enable rss feed [default=yes]])], |
|
|
|
|
[[ARG_ENABLE_RSS=$enableval]], |
|
|
|
|
[[ARG_ENABLE_RSS=yes]] |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
AC_ARG_WITH( |
|
|
|
|
[libgeoip], |
|
|
|
|
[AS_HELP_STRING( |
|
|
|
@ -608,6 +617,20 @@ AS_CASE(["$ARG_ENABLE_POOL_ALLOC"],
@@ -608,6 +617,20 @@ AS_CASE(["$ARG_ENABLE_POOL_ALLOC"],
|
|
|
|
|
AC_MSG_ERROR([Unknown option "$ARG_ENABLE_POOL_ALLOC". Use either "yes" or "no".])] |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
AC_MSG_CHECKING([whether rss feed should be enabled]) |
|
|
|
|
AS_CASE(["$ARG_ENABLE_RSS"], |
|
|
|
|
["yes"|"on"], [ |
|
|
|
|
AC_MSG_RESULT([yes]) |
|
|
|
|
AC_DEFINE([ENABLE_RSS],[1],[Enable RSS]) |
|
|
|
|
CXXFLAGS="$CXXFLAGS -DENABLE_RSS " |
|
|
|
|
], |
|
|
|
|
["no"|"off"], [ |
|
|
|
|
AC_MSG_RESULT([no]) |
|
|
|
|
], |
|
|
|
|
[AC_MSG_RESULT([$ARG_ENABLE_RSS]) |
|
|
|
|
AC_MSG_ERROR([Unknown option "$ARG_ENABLE_RSS". Use either "yes" or "no".])] |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
AS_ECHO |
|
|
|
|
AS_ECHO "Checking for extra build files:" |
|
|
|
|
|
|
|
|
@ -725,6 +748,7 @@ AM_CONDITIONAL([ENABLE_PYTHON_BINDING], [test "x$ARG_ENABLE_PYTHON_BINDING" = "x
@@ -725,6 +748,7 @@ AM_CONDITIONAL([ENABLE_PYTHON_BINDING], [test "x$ARG_ENABLE_PYTHON_BINDING" = "x
|
|
|
|
|
AM_CONDITIONAL([WITH_SHIPPED_GEOIP], [test "x$ARG_WITH_LIBGEOIP" = "xno" ]) |
|
|
|
|
AM_CONDITIONAL([WITH_OPENSSL], [test "x$ARG_ENABLE_ENCRYPTION" = "xyes" -o "x$ARG_ENABLE_ENCRYPTION" = "xon" ]) |
|
|
|
|
AM_CONDITIONAL([USE_SSE2], [test "x$ARG_ENABLE_SSE2" = "xyes" -o "x$ARG_ENABLE_SSE2" = "xon" ]) |
|
|
|
|
AM_CONDITIONAL([ENABLE_RSS], [test "x$ARG_ENABLE_RSS" = "xyes" -o "x$ARG_ENABLE_RSS" = "xon" ]) |
|
|
|
|
|
|
|
|
|
############################################################################### |
|
|
|
|
# Other useful stuff |
|
|
|
@ -827,6 +851,7 @@ Features:
@@ -827,6 +851,7 @@ Features:
|
|
|
|
|
geoip support: ${ARG_ENABLE_GEOIP:-yes} |
|
|
|
|
dht support: ${ARG_ENABLE_DHT:-yes} |
|
|
|
|
pool allocators: ${ARG_ENABLE_POOL_ALLOC:-yes} |
|
|
|
|
rss feed: ${ARG_ENABLE_RSS:-yes} |
|
|
|
|
|
|
|
|
|
Extra builds: |
|
|
|
|
examples: ${ARG_ENABLE_EXAMPLES:-no} |
|
|
|
|