Skip to main content.

2006-Feb-24

I saw a ./configure script failing with:
./configure.lineno: 21303: Syntax error: word unexpected (expecting ")")
The lines around that were blank. Looking further I saw a autoconf macro(s) that never got converted. Even running autoconf didn't help. I tracked this down. This was caused because aclocal needed to be ran with -I switch to define the directory containing these custom .m4 files.

Using autoreconf will remove the custom macros from the local aclocal.m4. Normal usage is to set ACLOCAL environment variable to aclocal plus the -I argument.