mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2025-01-03 14:56:35 -05:00
Make the example configuration files directory configurable.
git-svn-id: https://svn.xiph.org/trunk/ezstream@12594 0101bb08-14d6-0310-b084-bc0e0c8e3800
This commit is contained in:
parent
ad46ff44c6
commit
9e0c427433
2
README
2
README
@ -43,6 +43,8 @@ The ezstream software uses the GNU auto-tools to configure, build and install
|
|||||||
on a variety of systems. Aside from the standard autoconf options of the
|
on a variety of systems. Aside from the standard autoconf options of the
|
||||||
configure script, a couple of additional options are available:
|
configure script, a couple of additional options are available:
|
||||||
|
|
||||||
|
--enable-examplesdir=DIR example configuration files installation directory
|
||||||
|
(default: DATADIR/examples/ezstream)
|
||||||
--with-xml-config=PATH use xml-config in PATH to find libxml
|
--with-xml-config=PATH use xml-config in PATH to find libxml
|
||||||
--with-ogg=PREFIX Prefix where libogg is installed (optional)
|
--with-ogg=PREFIX Prefix where libogg is installed (optional)
|
||||||
--with-vorbis=PREFIX Prefix where libvorbis is installed (optional)
|
--with-vorbis=PREFIX Prefix where libvorbis is installed (optional)
|
||||||
|
11
configure.in
11
configure.in
@ -12,8 +12,15 @@ AC_USE_SYSTEM_EXTENSIONS
|
|||||||
|
|
||||||
dnl SETUP
|
dnl SETUP
|
||||||
|
|
||||||
dnl XXX This should be made configurable.
|
EXAMPLES_DIR="\$(datadir)/examples/${PACKAGE_TARNAME}"
|
||||||
EXAMPLES_DIR="\$(datadir)/examples/${PACKAGE}"
|
AC_ARG_ENABLE(examplesdir,
|
||||||
|
AS_HELP_STRING([--enable-examplesdir=DIR],
|
||||||
|
[example configuration files installation directory (default: DATADIR/examples/ezstream)]),
|
||||||
|
[case "$enableval" in
|
||||||
|
yes) ;;
|
||||||
|
no) AC_MSG_ERROR([Must have an example configuration files install dir.]) ;;
|
||||||
|
*) EXAMPLES_DIR="$enableval" ;;
|
||||||
|
esac], [])
|
||||||
AC_SUBST(EXAMPLES_DIR)
|
AC_SUBST(EXAMPLES_DIR)
|
||||||
|
|
||||||
AC_CANONICAL_HOST
|
AC_CANONICAL_HOST
|
||||||
|
Loading…
Reference in New Issue
Block a user