/missing
/stamp-h1
+/include/event2/event-config.h
+
/sample/dns-example
/sample/event-test
/sample/hello-world
SYS_SRC += signal.c
endif
-BUILT_SOURCES = event-config.h
+BUILT_SOURCES = ./include/event2/event-config.h
-event-config.h: config.h
- echo '/* event-config.h' > $@
+./include/event2/event-config.h: config.h
+ @MKDIR_P@ ./include/event2
+ echo '/* event2/event-config.h' > $@
echo ' *' >> $@
echo ' * This file was generated by autoconf when libevent was built, and post-' >> $@
echo ' * processed by Libevent so that its macros would have a uniform prefix.' >> $@
echo ' *' >> $@
echo ' * Do not rely on macros in this file existing in later versions.'>> $@
echo ' */' >> $@
- echo '#ifndef _EVENT_CONFIG_H_' >> $@
- echo '#define _EVENT_CONFIG_H_' >> $@
+ echo '#ifndef _EVENT2_EVENT_CONFIG_H_' >> $@
+ echo '#define _EVENT2_EVENT_CONFIG_H_' >> $@
sed -e 's/#define /#define _EVENT_/' \
-e 's/#undef /#undef _EVENT_/' \
minheap-internal.h log-internal.h evsignal-internal.h evmap-internal.h \
changelist-internal.h iocp-internal.h \
ratelim-internal.h \
- WIN32-Code/event-config.h \
+ WIN32-Code/event2/event-config.h \
WIN32-Code/tree.h \
compat/sys/queue.h
include_HEADERS = event.h evhttp.h evdns.h evrpc.h evutil.h
-nodist_include_HEADERS = event-config.h
-
-INCLUDES = -I$(srcdir)/compat -I$(srcdir)/include $(SYS_INCLUDES)
+INCLUDES = -I$(srcdir)/compat -I$(srcdir)/include -I./include $(SYS_INCLUDES)
verify: check
doxygen $(srcdir)/Doxyfile
FORCE:
-DISTCLEANFILES = *~ event-config.h libevent.pc
+DISTCLEANFILES = *~ libevent.pc ./include/event2/event-config.h
+
-/* event-config.h
+/* event2/event-config.h
*
* This file was generated by autoconf when libevent was built, and post-
* processed by Libevent so that its macros would have a uniform prefix.
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef WIN32
#include <winsock2.h>
#include "event2/bufferevent_compat.h"
#include "event2/bufferevent_struct.h"
#include "event2/thread.h"
-#include "event-config.h"
+#include "event2/event-config.h"
#include "log-internal.h"
#include "mm-internal.h"
#include "util-internal.h"
#include "event2/buffer_compat.h"
#include "event2/util.h"
#include "event2/thread.h"
-#include "event-config.h"
+#include "event2/event-config.h"
#include "util-internal.h"
#include "evthread-internal.h"
#include "evbuffer-internal.h"
extern "C" {
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#include "evutil.h"
#include "defer-internal.h"
#include "evthread-internal.h"
#include <sys/types.h>
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef _EVENT_HAVE_SYS_TIME_H
#include <sys/time.h>
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef _EVENT_HAVE_SYS_TIME_H
#include <sys/time.h>
#include <sys/types.h>
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef _EVENT_HAVE_SYS_TIME_H
#include <sys/time.h>
#include <sys/types.h>
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef _EVENT_HAVE_SYS_TIME_H
#include <sys/time.h>
#include <winsock2.h>
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#include "event2/util.h"
#include "event2/buffer.h"
#include <sys/types.h>
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef _EVENT_HAVE_SYS_TIME_H
#include <sys/time.h>
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
+AC_PROG_MKDIR_P
AC_PROG_GCC_TRADITIONAL
extern "C" {
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/queue.h>
struct deferred_cb;
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#include <sys/resource.h>
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#include <stdint.h>
#include <sys/types.h>
extern "C" {
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#include "event2/util.h"
#include "util-internal.h"
#include "defer-internal.h"
*/
#include <sys/types.h>
-#include "event-config.h"
+#include "event2/event-config.h"
#ifndef _FORTIFY_SOURCE
#define _FORTIFY_SOURCE 3
extern "C" {
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/queue.h>
#include "event2/event_struct.h"
#include "minheap-internal.h"
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef WIN32
#include <winsock2.h>
extern "C" {
#endif
-#include <event-config.h>
+#include <event2/event-config.h>
#ifdef _EVENT_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
pre += ( '#include <stdlib.h>\n'
'#include <string.h>\n'
'#include <assert.h>\n'
- '#include <event-config.h>\n'
+ '#include <event2/event-config.h>\n'
'#include <event2/event.h>\n'
'#include <event2/buffer.h>\n'
'#include <event2/tag.h>\n\n'
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef _EVENT_HAVE_SYS_TYPES_H
#include <sys/types.h>
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef WIN32
#include <winsock2.h>
* As in the select(2) implementation, signals are handled by evsignal.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/time.h>
#include <sys/queue.h>
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#endif
#include <event2/thread.h>
-#include "event-config.h"
+#include "event2/event-config.h"
#include "util-internal.h"
struct event_base;
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#ifndef _EVENT_DISABLE_THREAD_SUPPORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
/* With glibc we need to define this to get PTHREAD_MUTEX_RECURSIVE. */
#define _GNU_SOURCE
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef WIN32
#include <winsock2.h>
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#define _GNU_SOURCE
* so that other people can rip it out and use it for whatever.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#include "util-internal.h"
#include "evthread-internal.h"
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef _EVENT_HAVE_SYS_PARAM_H
#include <sys/param.h>
EXTRA_SRC = $(EVENT2_EXPORT)
-nobase_include_HEADERS = $(EVENT2_EXPORT)
+nobase_include_HEADERS = $(EVENT2_EXPORT) ./event2/event-config.h
extern "C" {
#endif
-#include <event-config.h>
+#include <event2/event-config.h>
#include <stdarg.h>
#ifdef _EVENT_HAVE_SYS_TYPES_H
#include <sys/types.h>
extern "C" {
#endif
-#include <event-config.h>
+#include <event2/event-config.h>
#ifdef _EVENT_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
OpenSSL support for bufferevents.
*/
-#include <event-config.h>
+#include <event2/event-config.h>
#include <event2/bufferevent.h>
#include <event2/util.h>
extern "C" {
#endif
-#include <event-config.h>
+#include <event2/event-config.h>
#ifdef _EVENT_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
extern "C" {
#endif
-#include <event-config.h>
+#include <event2/event-config.h>
#ifdef _EVENT_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
extern "C" {
#endif
-#include <event-config.h>
+#include <event2/event-config.h>
#ifdef _EVENT_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
extern "C" {
#endif
-#include <event-config.h>
+#include <event2/event-config.h>
#ifdef _EVENT_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
extern "C" {
#endif
-#include <event-config.h>
+#include <event2/event-config.h>
#ifdef _EVENT_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
extern "C" {
#endif
-#include <event-config.h>
+#include <event2/event-config.h>
#ifdef _EVENT_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
extern "C" {
#endif
-#include <event-config.h>
+#include <event2/event-config.h>
#ifdef _EVENT_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
extern "C" {
#endif
-#include <event-config.h>
+#include <event2/event-config.h>
#ifdef _EVENT_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
extern "C" {
#endif
-#include <event-config.h>
+#include <event2/event-config.h>
#ifdef _EVENT_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
extern "C" {
#endif
-#include <event-config.h>
+#include <event2/event-config.h>
/** A flag passed to a locking callback when the lock was allocated as a
* read-write lock, and we want to acquire or release the lock for writing. */
extern "C" {
#endif
-#include <event-config.h>
+#include <event2/event-config.h>
#ifdef _EVENT_HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef _EVENT_HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#include <event2/util.h>
#ifdef __cplusplus
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#define _GNU_SOURCE
#include <sys/types.h>
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef WIN32
#include <winsock2.h>
* SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef WIN32
#include <winsock2.h>
#ifndef _MIN_HEAP_H_
#define _MIN_HEAP_H_
-#include "event-config.h"
+#include "event2/event-config.h"
#include "event2/event.h"
#include "event2/event_struct.h"
#include "event2/util.h"
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#ifdef _EVENT_HAVE_SYS_TIME_H
AUTOMAKE_OPTIONS = foreign no-dependencies
LDADD = ../libevent.la
-AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat -I$(top_srcdir)/include
+AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat -I$(top_srcdir)/include -I../include
noinst_PROGRAMS = event-test time-test signal-test dns-example hello-world
XXX It's pretty ugly and should probably be cleaned up.
*/
-#include <event-config.h>
+#include <event2/event-config.h>
#include <sys/types.h>
* cc -I/usr/local/include -o event-test event-test.c -L/usr/local/lib -levent
*/
-#include <event-config.h>
+#include <event2/event-config.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/types.h>
-#include <event-config.h>
+#include <event2/event-config.h>
#include <sys/stat.h>
#ifndef WIN32
#include <sys/types.h>
-#include <event-config.h>
+#include <event2/event-config.h>
#include <sys/stat.h>
#ifndef WIN32
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#ifdef _EVENT_HAVE_SYS_TIME_H
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
extern "C" {
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#ifndef _EVENT_HAVE_STRLCPY
#include <string.h>
#include <sys/types.h>
-#include "event-config.h"
+#include "event2/event-config.h"
#ifndef _EVENT_HAVE_STRLCPY
#include "strlcpy-internal.h"
AUTOMAKE_OPTIONS = foreign
-AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat -I$(top_srcdir)/include
+AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat -I$(top_srcdir)/include -I../include
EXTRA_DIST = regress.rpc regress.gen.h regress.gen.c test.sh
regress_LDADD = ../libevent.la $(PTHREAD_LIBS) $(ZLIB_LIBS)
regress_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat \
- -I$(top_srcdir)/include $(PTHREAD_CFLAGS) $(ZLIB_CFLAGS)
+ -I$(top_srcdir)/include -I../include $(PTHREAD_CFLAGS) $(ZLIB_CFLAGS)
regress_LDFLAGS = $(PTHREAD_CFLAGS)
if OPENSSL
*
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#include <sys/stat.h>
*
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#include <sys/stat.h>
*
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <windows.h>
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <windows.h>
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <windows.h>
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <arpa/inet.h>
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#include "event2/event.h"
#include "event2/event_struct.h"
#include "event2/event_compat.h"
#include <ws2tcpip.h>
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#include <sys/stat.h>
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <event-config.h>
+#include <event2/event-config.h>
#ifdef WIN32
#include <winsock2.h>
#include <windows.h>
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef _EVENT___func__
#define __func__ _EVENT___func__
#include <event2/dns_compat.h>
#include <event2/thread.h>
-#include "event-config.h"
+#include "event2/event-config.h"
#include "regress.h"
#include "tinytest.h"
#include "tinytest_macros.h"
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#include <stdio.h>
#include <windows.h>
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <ws2tcpip.h>
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <ws2tcpip.h>
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#include <windows.h>
#endif
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#ifndef WIN32
* based on test-eof.c
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef WIN32
#include <winsock2.h>
* Compile with:
* cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef WIN32
#include <winsock2.h>
* Compile with:
* cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#include <sys/stat.h>
* Compile with:
* cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#include <sys/types.h>
#include <sys/stat.h>
* Compile with:
* cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent
*/
-#include "event-config.h"
+#include "event2/event-config.h"
#ifdef WIN32
#include <winsock2.h>
#ifndef _EVENT_UTIL_INTERNAL_H
#define _EVENT_UTIL_INTERNAL_H
-#include "event-config.h"
+#include "event2/event-config.h"
#include <errno.h>
/* For EVUTIL_ASSERT */
#include <errno.h>
#include "event2/util.h"
-#include "event-config.h"
+#include "event2/event-config.h"
#include "util-internal.h"
#include "log-internal.h"
#include "event2/event.h"