[xiph-commits] r12594 - trunk/ezstream
moritz at svn.xiph.org
moritz at svn.xiph.org
Wed Feb 28 16:10:14 PST 2007
Author: moritz
Date: 2007-02-28 16:10:12 -0800 (Wed, 28 Feb 2007)
New Revision: 12594
Modified:
trunk/ezstream/README
trunk/ezstream/configure.in
Log:
Make the example configuration files directory configurable.
Modified: trunk/ezstream/README
===================================================================
--- trunk/ezstream/README 2007-02-28 23:00:22 UTC (rev 12593)
+++ trunk/ezstream/README 2007-03-01 00:10:12 UTC (rev 12594)
@@ -43,6 +43,8 @@
on a variety of systems. Aside from the standard autoconf options of the
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-ogg=PREFIX Prefix where libogg is installed (optional)
--with-vorbis=PREFIX Prefix where libvorbis is installed (optional)
Modified: trunk/ezstream/configure.in
===================================================================
--- trunk/ezstream/configure.in 2007-02-28 23:00:22 UTC (rev 12593)
+++ trunk/ezstream/configure.in 2007-03-01 00:10:12 UTC (rev 12594)
@@ -12,8 +12,15 @@
dnl SETUP
-dnl XXX This should be made configurable.
-EXAMPLES_DIR="\$(datadir)/examples/${PACKAGE}"
+EXAMPLES_DIR="\$(datadir)/examples/${PACKAGE_TARNAME}"
+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_CANONICAL_HOST
More information about the commits
mailing list