[Gnucash-changes] Fix autogen.sh for GNOME2_PATH with multiple dirs, as proposed by Phil

Christian Stimming cstim at cvs.gnucash.org
Sat Aug 27 06:22:07 EDT 2005


Log Message:
-----------
Fix autogen.sh for GNOME2_PATH with multiple dirs, as proposed by Phil Longstaff

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash/macros:
        autogen.sh

Revision Data
-------------
Index: autogen.sh
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/macros/autogen.sh,v
retrieving revision 1.15.4.9
retrieving revision 1.15.4.10
diff -Lmacros/autogen.sh -Lmacros/autogen.sh -u -r1.15.4.9 -r1.15.4.10
--- macros/autogen.sh
+++ macros/autogen.sh
@@ -9,7 +9,9 @@
 LIBTOOL=${LIBTOOL:-libtool}
 
 if [ -n "$GNOME2_PATH" ]; then
-	ACLOCAL_FLAGS="-I $GNOME2_PATH/share/aclocal $ACLOCAL_FLAGS"
+	for dir in `echo $GNOME2_PATH | sed 's/:/ /g'`; do
+	    ACLOCAL_FLAGS="-I $dir/share/aclocal $ACLOCAL_FLAGS"
+	done;
 	PATH="$GNOME2_PATH/bin:$PATH"
 	export PATH
 fi


More information about the gnucash-changes mailing list