mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Feature: Allow enabling devel logging in configure
Allow enabling devil logging in configure using the --enable-devel-logging switch. Doing so defines the DEVEL_LOGGING macro.
This commit is contained in:
parent
e6122f13fb
commit
f5eecdf0f6
13
configure.ac
13
configure.ac
@ -274,6 +274,15 @@ AS_IF([test "$with_default_config" != "no"], [
|
|||||||
|
|
||||||
])
|
])
|
||||||
|
|
||||||
|
AC_ARG_ENABLE([devel-logging],
|
||||||
|
AS_HELP_STRING([--enable-devel-logging],
|
||||||
|
[enable development logging (default: disabled)])
|
||||||
|
)
|
||||||
|
|
||||||
|
AS_IF([test "x$enable_devel_logging" == "xyes"], [
|
||||||
|
AC_DEFINE([DEVEL_LOGGING], 1, [Define to enable development logging])
|
||||||
|
], [enable_devel_logging="no"])
|
||||||
|
|
||||||
dnl Make substitutions
|
dnl Make substitutions
|
||||||
AC_SUBST(XIPH_LIBS)
|
AC_SUBST(XIPH_LIBS)
|
||||||
AC_SUBST(XIPH_CPPFLAGS)
|
AC_SUBST(XIPH_CPPFLAGS)
|
||||||
@ -316,4 +325,6 @@ Format/Codec support:
|
|||||||
|
|
||||||
Features:
|
Features:
|
||||||
YP support : ${enable_yp}
|
YP support : ${enable_yp}
|
||||||
Client tests : ${enable_client_tests}"])
|
Client tests : ${enable_client_tests}
|
||||||
|
|
||||||
|
Development logging: ${enable_devel_logging}"])
|
||||||
|
Loading…
Reference in New Issue
Block a user