From: Dave Hart Date: Fri, 25 Feb 2011 12:37:40 +0000 (+0000) Subject: [Bug 1839] 4.2.7p131 installs libevent ev*.h headers. X-Git-Tag: NTP_4_2_7P135~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f641d41c0d81b6f008fa7e36098416e3d42532d;p=thirdparty%2Fntp.git [Bug 1839] 4.2.7p131 installs libevent ev*.h headers. bk: 4d67a294Tiis-u1o7vn2ezHRY4J2sQ --- diff --git a/ChangeLog b/ChangeLog index 06847d173..b27476fee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 1839] 4.2.7p131 installs libevent ev*.h headers. * Ensure CONFIG_SHELL is not empty before relying on it for #! scripts. (4.2.7p134) 2011/02/24 Released by Harlan Stenn * [Bug 1837] Build fails on Win7 due to regedit requiring privilege. diff --git a/sntp/libevent/include/Makefile.am b/sntp/libevent/include/Makefile.am index b109ff797..fbf459ebb 100644 --- a/sntp/libevent/include/Makefile.am +++ b/sntp/libevent/include/Makefile.am @@ -28,7 +28,14 @@ EVENT2_EXPORT = \ EXTRA_SRC = $(EVENT2_EXPORT) -nobase_include_HEADERS = $(EVENT2_EXPORT) +## Without the nobase_ prefixing, Automake would strip "event2/" from +## the source header filename to derive the installed header filename. +## With nobase_ the installed path is $(includedir)/event2/ev*.h. +if INSTALL_LIBEVENT +nobase_include_HEADERS = $(EVENT2_EXPORT) nobase_nodist_include_HEADERS = ./event2/event-config.h - +else +noinst_HEADERS = $(EVENT2_EXPORT) +nodist_noinst_HEADERS = ./event2/event-config.h +endif