configure --with-libevent not causing make unbound-event-install

When building unbound with --with-libevent support, the make install
phase should also call make unbound-event-install or else unbound-event.h
does not get installed and the header file for using the unbound event
functionality is not available.

I've just updated the fedora packages to manually call this, but the
rhel packages will take some more time to get this fixed :frowning:

We will need this to work properly for librswan in the next release. I
hope debian maintainers and other maintainers are on this list as well,
if not please let them know to issue a fix.

Paul

Hello,

the same "missing unbound-event.h" happen when building getdns (https://getdnsapi.net)
Thanks for the hint, Paul!

Andreas

Hi,

When building unbound with --with-libevent support, the make install
phase should also call make unbound-event-install or else unbound-event.h
does not get installed and the header file for using the unbound event
functionality is not available.

Hello,

the same "missing unbound-event.h" happen when building getdns (https://getdnsapi.net)
Thanks for the hint, Paul!

This install is triggered by the option --enable-event-api . Just
enabling --with-libevent does not trigger the install by itself.

Best regards, Wouter

Oops,
reading "configure --help" is an option. Uncommon but sometimes helpful :slight_smile:

works like documented.

Andreeas

What does --with-libevent without --enable-event-api do? The packages
I've created now used --with-libevent and a manually installed header
file. Does --enable-event-api do anything else I am missing?

My point being of course, I see a bug where you see a feature :slight_smile:

And since every distro got it wrong, I think merging --enable-event-api
and --with-libevent into one target that also installs the header
file is the proper bugfix.

Paul