May I suggest you looked at Peter Czanik's blog about compiling 3.7.1 on EL7? If it doesn't contain what you're looking for his specfile on COPR will.

On 5 October 2015 17:07:11 CEST, Tech Support <support@voipbusiness.us> wrote:

All;

   I’m trying to compile 3.7.1 on CentOS 7 with Elasticsearch support which I’m *assuming* requires Java support. However, when I run ‘configure’, it doesn’t enable the Java support. I must be missing a Java dependency somewhere. Does anyone know what dependencies I need for this? Any insight at all would be greatly appreciated.

Thanks;

John



Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ngFAQ: http://www.balabit.com/wiki/syslog-ng-faq