Hi, I'm trying to build not yet announced autoconf 2.59 from http://www.lrde.epita.fr/~akim/download/autoconf-2.59.tar.gz but I'm getting this one after unpacking + ./configure && make: ake[3]: Entering directory `/home/users/misiek/test/autoconf-2.59/lib' rm -f autom4te.cfg autom4te.tmp sed -e 's,@SHELL\@,/bin/sh,g' -e 's,@PERL\@,/usr/bin/perl,g' -e 's,@bindir\@,/usr/local/bin,g' -e 's,@datadir\@,/usr/local/share/autoconf,g' -e 's,@prefix\@,/usr/local,g' -e 's,@autoconf-name\@,'`echo autoconf | sed 's,x,x,'`',g' -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g' -e 's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g' -e 's,@M4\@,/usr/bin/m4,g' -e 's,@AWK\@,gawk,g' -e 's,@VERSION\@,2.59,g' -e 's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autom4te.in >autom4te.tmp chmod -w autom4te.tmp mv autom4te.tmp autom4te.cfg make[3]: Leaving directory `/home/users/misiek/test/autoconf-2.59/lib' ../../tests/autom4te \ --language=m4sugar \ --freeze \ --output=m4sugar.m4f ../../tests/autom4te[18]: syntax error: `if' unmatched make[2]: *** [m4sugar.m4f] Error 1 make[2]: Leaving directory `/home/users/misiek/test/autoconf-2.59/lib/m4sugar' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/users/misiek/test/autoconf-2.59/lib' make: *** [all-recursive] Błąd 1 starting from 17 line: # Support unset when possible. if ((MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi This happens with pdksh as /bin/sh and doesn't happen with bash as /bin/sh. Seems that changing it to if ( ( MAIL=60; unset MAIL ) || exit ) >/dev/null 2>&1; then fixes the problem (note spaces between ,,('' ,,('' ). ps. I've already sent this to bug-autoconf@xxxxxxxx -- Arkadiusz Miśkiewicz CS at FoE, Wroclaw University of Technology arekm.pld-linux.org AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux