[f-spot] Fix building without gnome-doc-utils



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

    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 ecab345..f8618d0 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -69,7 +69,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]