Peter Czanik <czanik@balabit.hu> writes:
So, in theory json support was disabled... hmm.. there's no such switch as --enable-json, although I'd tend to agree that this is confusing. The reason is that we support two json implementations and that's usually specified using --with-json=<xxx>, and once that is supplied --enable-json is not needed. OK, I fixed the ports Makefile. Still, when I enable json-c in make conf, it fails with the above error.
I'll look into this at a later time, my FreeBSD refuses to boot at the moment.
So to disable json support you'd need to use --without-json, but suggestions how this should work is appreciated. "--with-json=none" would be a nice pair to "auto". It would be nice, if it could be explicitly disabled, as if json is available on the system, it's automagically used. So if it's there as a dependency of another software and later deleted, it would render syslog-ng unusable due to missing dependencies.
--with-json=no should work, as should --without-json, but I'll run a test in a bit. -- |8]