Ticket #522 (closed defect: worksforme)
Undefined macro in configure.in breaks configure
Description
Problem
Getting a warning from autoconf when running first ./autogen.sh on a freshly checked out svn copy.
This breaks the construction of ./configure, right after PKG_CHECK_MODULES(FAM, gamin >= 0.1.0,
Setup
debian sarge x86 libtool 1.5.22 automake 1.9.6 autoconf 2.59
Reproducing the error
root@n2kdb:~/lighttpd svn co svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x
root@n2kdb:~/lighttpd cd lighttpd-merge-1.4.x
root@n2kdb:~/lighttpd/lighttpd-merge-1.4.x ./autogen.sh ./autogen.sh: running `libtoolize --copy --force' You should add the contents of /usr/share/aclocal/libtool.m4' to aclocal.m4'. ./autogen.sh: running `aclocal' ./autogen.sh: running `autoheader' ./autogen.sh: running `automake --add-missing --copy' configure.in: installing `./install-sh' configure.in: installing `./missing' src/Makefile.am: installing `./compile' src/Makefile.am: installing `./depcomp' ./autogen.sh: running `autoconf' configure.in:69: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
root@n2kdb:~/lighttpd ./configure ... checking for FAM... no ./configure: line 24491: syntax error near unexpected token `FAM,' ./configure: line 24491: ` PKG_CHECK_MODULES(FAM, gamin >= 0.1.0,'
root@n2kdb:~/lighttpd

