Adding ACLOCAL_FLAGS to aclocal-include.m4.



Hi!

I also added ACLOCAL_FLAGS in aclocal-include.m4. This allows maintainer
rules to work if any of the macros change. Attached is a patch. I do not
have CVS acc to commit any changes, so this patch includes the fix for
gnome.m4 I've allready posted.

Regards,
Tomislav
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-common/macros/ChangeLog,v
retrieving revision 1.153
diff -u -r1.153 ChangeLog
--- ChangeLog	1999/03/10 01:10:10	1.153
+++ ChangeLog	1999/03/10 21:47:38
@@ -1,3 +1,15 @@
+1999-03-10  Tomislav Vujec  <tvujec@carnet.hr
+
+	* aclocal-include.m4 (AM_ACLOCAL_INCLUDE): Add ACLOCAL_FLAGS in
+	ACLOCAL. This allows maintainer rules to work if any of the macros
+	change.
+
+1999-03-10  Tomislav Vujec  <tvujec@carnet.hr
+
+	* gnome.m4 (GNOME_INIT_HOOK): Wrapped position parameter in testing
+	for additional inits. It gets expanded while generating configure,
+	resulting in an empty parameter list - syntax error in for statement.
+
 1999-03-09  Raja R Harinath  <harinath@cs.umn.edu>
 
 	* gnome.m4 (GNOME_INIT): Add a new paramater, which is passed to
Index: aclocal-include.m4
===================================================================
RCS file: /cvs/gnome/gnome-common/macros/aclocal-include.m4,v
retrieving revision 1.3
diff -u -r1.3 aclocal-include.m4
--- aclocal-include.m4	1999/02/04 13:04:49	1.3
+++ aclocal-include.m4	1999/03/10 21:47:38
@@ -10,5 +10,7 @@
 [
 	AM_CONDITIONAL(INSIDE_GNOME_COMMON, test x = y)
 
+	test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
+
 	for k in $1 ; do ACLOCAL="$ACLOCAL -I $k" ; done
 ])
Index: gnome.m4
===================================================================
RCS file: /cvs/gnome/gnome-common/macros/gnome.m4,v
retrieving revision 1.20
diff -u -r1.20 gnome.m4
--- gnome.m4	1999/03/10 01:10:12	1.20
+++ gnome.m4	1999/03/10 21:47:38
@@ -96,7 +96,8 @@
 	fi
 
 	if test -n "$3"; then
-	  for i in $3; do
+          n="$3"
+	  for i in $n; do
 	    AC_MSG_CHECKING(extra library $i)
 	    case $i in 
 	      applets)


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