Commit a1ccd0ad authored by Marvin Scholz's avatar Marvin Scholz

Add --with-default-config=PATH option

parent 645ab428
Pipeline #194 passed with stage
in 54 seconds
......@@ -208,6 +208,21 @@ AS_IF([test "x$enable_client_tests" == "xyes"], [
AM_CONDITIONAL([ENABLE_MODULE_CLIENT_TESTS],
[test "x$enable_client_tests" = "xyes"])
AC_ARG_WITH([default-config],
AS_HELP_STRING([--with-default-config=PATH],
[Sets default Icecast configuration file (used when no configuration file is given)])
)
AS_IF([test "$with_default_config" != "no"], [
AS_IF([test "$with_default_config" = "yes"], [
AC_MSG_ERROR([You need to supply a path as value for --with-default-config])
])
AC_DEFINE_UNQUOTED([ICECAST_DEFAULT_CONFIG], ["$with_default_config"], [Define to default config file path])
])
dnl Make substitutions
AC_SUBST(XIPH_LIBS)
AC_SUBST(XIPH_CPPFLAGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment