mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
check for xmlcatalog for docs build (probably not strictly needed for general use but fixes non-srcdir builds)
Original commit message from CVS: check for xmlcatalog for docs build (probably not strictly needed for general use but fixes non-srcdir builds)
This commit is contained in:
parent
f31d863ceb
commit
82c2f46e0d
3 changed files with 35 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-07-09 David I. Lehn <dlehn@users.sourceforge.net>
|
||||
|
||||
* configure.ac: check for xmlcatalog for docs build (probably not
|
||||
strictly needed for general use but fixes non-srcdir builds)
|
||||
|
||||
2003-06-26 David I. Lehn <dlehn@users.sourceforge.net>
|
||||
|
||||
* configure.ac, AUTHORS, NEWS, README, TODO, docs/Makefile.am,
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 4e379694ae9ff9843d65cf08928642eea44abdf8
|
||||
Subproject commit f12ad60f50de84a39e26901b3ac29c15c1bf954e
|
29
configure.ac
29
configure.ac
|
@ -95,6 +95,34 @@ if test "x$GST_INCLUDEDIR" = "x"; then
|
|||
AC_MSG_ERROR(no gstreamer include dir found)
|
||||
fi
|
||||
|
||||
|
||||
AC_CHECK_PROG(HAVE_XMLTO, xmlto, true, false)
|
||||
AC_CHECK_PROG(HAVE_XMLCATALOG, xmlcatalog, true, false)
|
||||
|
||||
AC_ARG_ENABLE(docs,
|
||||
AC_HELP_STRING([--enable-docs],[enable building of documentation]),
|
||||
[case "${enableval}" in
|
||||
yes)
|
||||
if test "x$HAVE_XMLTO" = "xtrue" ; then
|
||||
BUILD_DOCS=yes
|
||||
else
|
||||
AC_MSG_ERROR([you don't have xmlto, so don't use --enable-docs])
|
||||
BUILD_DOCS=no
|
||||
fi
|
||||
if test "x$HAVE_XMLCATALOG" = "xtrue" ; then
|
||||
BUILD_DOCS=yes
|
||||
else
|
||||
AC_MSG_ERROR([you don't have xmlcatalog, so don't use --enable-docs])
|
||||
BUILD_DOCS=no
|
||||
fi ;;
|
||||
no) BUILD_DOCS=no ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-docs) ;;
|
||||
esac],
|
||||
[BUILD_DOCS=yes]) dnl Default value
|
||||
|
||||
AM_CONDITIONAL(BUILD_DOCS, test "x$BUILD_DOCS" = "xyes")
|
||||
|
||||
|
||||
dnl add debugging options ...
|
||||
changequote(,)dnl
|
||||
if test "x$GCC" = xyes; then
|
||||
|
@ -119,5 +147,6 @@ AC_OUTPUT([
|
|||
examples/Makefile
|
||||
examples/gstreamer/Makefile
|
||||
docs/Makefile
|
||||
docs/gst-python.ent
|
||||
gst-python.spec
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue