Now supports brain damaged elderly awk (like the standard one on suns).

This commit is contained in:
Frederic Petrot 2002-05-02 11:42:14 +00:00
parent 69c1e90d1b
commit d3033d6016
1 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ dnl Almost ten years since I wrote this stuff, I just can't
dnl believe it
dnl Date : 01/02/2002
dnl Author : Frederic Petrot <Frederic.Petrot@lip6.fr>
dnl $Id: configure.in,v 1.23 2002/04/30 16:17:12 xtof Exp $
dnl $Id: configure.in,v 1.24 2002/05/02 11:42:14 fred Exp $
dnl
dnl
AC_INIT(./configure.in)
@ -55,8 +55,8 @@ for l in $libraries ; do
done
tdirs=$dirs
for i in $ldirs ; do
s="\\\<$i\\\>"
tdirs=`echo $tdirs | awk -v x=$s '{gsub(x, ""); print}'`
cmd="awk '{for(k=1;k<=NF;k++) if(\$k!=\"$i\") printf \"%s \",\$k;}'"
tdirs=`echo $tdirs | eval $cmd`
done
for i in $ldirs $tdirs ; do
if test -f $srcdir/$i/configure.in ; then