summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-08-26 18:20:58 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-08-26 18:20:58 +0000
commitf0da7b89bea3eb2ed1d149166f28afa5e670dec2 (patch)
tree14dcfc1a85760cf1a76abd7d24b5fe281289175b
parente400d0fc2780dac2ee516286893d4f312d065f86 (diff)
stray bug fix
Original commit message from CVS: stray bug fix
-rw-r--r--m4/gst-doc.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/gst-doc.m4 b/m4/gst-doc.m4
index 08d6f1f..295b595 100644
--- a/m4/gst-doc.m4
+++ b/m4/gst-doc.m4
@@ -61,11 +61,12 @@ AC_ARG_ENABLE(docs-build,
AC_HELP_STRING([--enable-docs-build],[enable building of documentation]),
[case "${enableval}" in
yes)
- if $HAVE_GTK_DOC; then
+ if test "x$HAVE_GTK_DOC" = "xtrue" ; then
AM_PATH_PYTHON(2.1)
BUILD_DOCS=yes
else
- AC_MSG_ERROR([you don't have gtk-doc, so don't use --docs-build])
+ AC_MSG_ERROR([you don't have gtk-doc, so don't use --enable-docs-build])
+ BUILD_DOCS=no
fi ;;
no) BUILD_DOCS=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-docs-build) ;;