[xiph-commits] r15874 - trunk/ezstream/m4

moritz at svn.xiph.org moritz at svn.xiph.org
Sat Mar 28 04:14:55 PDT 2009


Author: moritz
Date: 2009-03-28 04:14:54 -0700 (Sat, 28 Mar 2009)
New Revision: 15874

Modified:
   trunk/ezstream/m4/vars.m4
Log:
AX_UNIQVAR_PREPEND needs to reverse its arguments before prepending.


Modified: trunk/ezstream/m4/vars.m4
===================================================================
--- trunk/ezstream/m4/vars.m4	2009-03-28 04:05:46 UTC (rev 15873)
+++ trunk/ezstream/m4/vars.m4	2009-03-28 11:14:54 UTC (rev 15874)
@@ -44,8 +44,13 @@
 AC_DEFUN([AX_UNIQVAR_PREPEND],
 [
 AC_REQUIRE([AC_PROG_FGREP])
+_prepend_args=""
 for arg in $2
 do
+	_prepend_args="${arg} ${_prepend_args}"
+done
+for arg in ${_prepend_args}
+do
 	if `echo " ${$1} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then
 		if test -z "${$1}"; then
 			$1="${arg}"



More information about the commits mailing list