From a8b398c5fde08b25bb0ed3222aff45a507ed59f4 Mon Sep 17 00:00:00 2001 From: moritz Date: Sat, 28 Mar 2009 11:14:54 +0000 Subject: [PATCH] AX_UNIQVAR_PREPEND needs to reverse its arguments before prepending. git-svn-id: https://svn.xiph.org/trunk/ezstream@15874 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- m4/vars.m4 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/m4/vars.m4 b/m4/vars.m4 index b487d7e..dad7260 100644 --- a/m4/vars.m4 +++ b/m4/vars.m4 @@ -44,7 +44,12 @@ done 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