This happens to me when I try and compile rtorrent or cppunit. I installed them with pkg_add and that worked fine but I need a more recent rtorrent than is packaged.
Installed packages: http://pastie.org/876788.txt
Code:
i3d# ./autogen.sh
aclocal...
/usr/local/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/local/share/aclocal/glib.m4:8: run info '(automake)Extending aclocal'
/usr/local/share/aclocal/glib.m4:8: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoheader...
libtoolize... using libtoolize
automake...
configure.ac:18: installing `./install-sh'
configure.ac:18: installing `./missing'
src/Makefile.am: installing `./depcomp'
autoconf...
ready to configure
i3d# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for cppunit-config... /usr/local/bin/cppunit-config
checking for Cppunit - version >= 1.9.6... 1.12.1
./configure: 2783: Syntax error: word unexpected (expecting ")")
i3d#
Installed packages: http://pastie.org/876788.txt