[banshee] [build] Fix building without gnome-doc-utils



commit b38374d9856639335977f79e0edc2fab7c720194
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Sat Jun 19 12:50:08 2010 +0200

    [build] Fix building without gnome-doc-utils

 autogen.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 310c017..ff28e9c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -68,7 +68,9 @@ if [ $(pkg-config --modversion gnome-doc-utils 2> /dev/null) ]; then
     run gnome-doc-prepare --automake --force
 else
     echo "gnome-doc-utils not found; user help will not be built"
-    echo "AC_DEFUN([GNOME_DOC_INIT], [AC_MSG_NOTICE([])])" > gnome-doc-utils.make
+    echo "AC_DEFUN([GNOME_DOC_INIT], [AC_MSG_NOTICE([])])" > build/m4/gnome-doc-utils.m4
+    ACLOCAL_FLAGS="-I build/m4 $ACLOCAL_FLAGS"
+    touch gnome-doc-utils.make
 fi
 
 run intltoolize --force --copy



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]