Pass the results of the environment variable ACLOCAL_FLAGS to aclocal.
authorOwen Taylor <otaylor@gtk.org>
Fri, 24 Apr 1998 20:48:37 +0000 (20:48 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Fri, 24 Apr 1998 20:48:37 +0000 (20:48 +0000)
Fri Apr 24 16:43:38 1998  Owen Taylor  <otaylor@gtk.org>

* autogen.sh: Pass the results of the environment variable
ACLOCAL_FLAGS to aclocal. This allows, for instance,

 ACLOCAL_FLAGS="-I /home/owen/share/aclocal/" autogen.sh

svn path=/trunk/; revision=198

macros/ChangeLog
macros/autogen.sh

index 19ca9b1..7b710b6 100644 (file)
@@ -1,3 +1,10 @@
+Fri Apr 24 16:43:38 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * autogen.sh: Pass the results of the environment variable
+       ACLOCAL_FLAGS to aclocal. This allows, for instance,
+
+        ACLOCAL_FLAGS="-I /home/owen/share/aclocal/" autogen.sh
+       
 Sun Apr 19 01:35:53 EDT 1998 Gregory McLean <gregm@comstar.net>
 
         * gnome-x-checks.m4: Updated the gtk check to check for 1.0.0
index 4ece848..a1530b2 100644 (file)
@@ -77,7 +77,7 @@ do
        ## debug
        test -n "$macrodirs" && echo \`aclocal\' will also look in \`$macrodirs\'
        (cd $i; \
-       aclocalinclude=""; \
+        aclocalinclude="$ACLOCAL_FLAGS"; \
        for k in $macrodirs; do \
            if test -d $k; then aclocalinclude="$aclocalinclude -I $k"; \
            else echo "**Warning**: No such directory \`$k'.  Ignored."; fi; \