You need autoconf-archive package installed when generating the configure script.
It should warn you that it was not installed though. Did you get any warnings from autogen.sh?
Hi Has anyone else seen this error from configure ?
checking for JSON... yes
checking for LIBMONGO... no
checking for prop_get in -lsasl2... no
checking for libESMTP... yes
checking for HIREDIS... yes
checking for RIEMANN_CLIENT... no
checking for PYTHON... no
checking for JAVA_VERSION... 1.8
checking for GRADLE_VERSION... 2
checking whether to enable Sun STREAMS support... no
checking whether to enable IPv6 support... yes
checking whether to enable Linux capability support... no
checking whether to enable mongodb destination support... yes
checking whether to enable amqp destination support... yes
checking for UUID... no
./configure: line 19787: syntax error near unexpected token `syslog-ng-config.h,'
./configure: line 19787: `AX_PREFIX_CONFIG_H(syslog-ng-config.h, "SYSLOG_NG")'
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq