$ ./configure checking for g++... g++ checking for C++ compiler default output... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking build system type... i386-unknown-freebsd6.1 checking host system type... i386-unknown-freebsd6.1 function: not found ./configure.lineno: 1849: Syntax error: "}" unexpected