|
|
@ -393,6 +393,15 @@ AC_ARG_ENABLE( |
|
|
|
[[ARG_ENABLE_PYTHON_BINDING=no]] |
|
|
|
[[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( |
|
|
|
AC_ARG_WITH( |
|
|
|
[libgeoip], |
|
|
|
[libgeoip], |
|
|
|
[AS_HELP_STRING( |
|
|
|
[AS_HELP_STRING( |
|
|
@ -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_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 |
|
|
|
AS_ECHO "Checking for extra build files:" |
|
|
|
AS_ECHO "Checking for extra build files:" |
|
|
|
|
|
|
|
|
|
|
@ -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_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([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([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 |
|
|
|
# Other useful stuff |
|
|
@ -827,6 +851,7 @@ Features: |
|
|
|
geoip support: ${ARG_ENABLE_GEOIP:-yes} |
|
|
|
geoip support: ${ARG_ENABLE_GEOIP:-yes} |
|
|
|
dht support: ${ARG_ENABLE_DHT:-yes} |
|
|
|
dht support: ${ARG_ENABLE_DHT:-yes} |
|
|
|
pool allocators: ${ARG_ENABLE_POOL_ALLOC:-yes} |
|
|
|
pool allocators: ${ARG_ENABLE_POOL_ALLOC:-yes} |
|
|
|
|
|
|
|
rss feed: ${ARG_ENABLE_RSS:-yes} |
|
|
|
|
|
|
|
|
|
|
|
Extra builds: |
|
|
|
Extra builds: |
|
|
|
examples: ${ARG_ENABLE_EXAMPLES:-no} |
|
|
|
examples: ${ARG_ENABLE_EXAMPLES:-no} |
|
|
|