From f82c57e50531bf89820eaadf8d95852c47b6391e Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 29 Feb 2012 15:07:31 -0500 Subject: [PATCH] Generate event-config.h using the correct macros. The previous patch didn't change the sed script in Makefile.am, since that couldn't be done automatically. --- Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index f2a68475..a16c9cf2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -176,10 +176,10 @@ BUILT_SOURCES = ./include/event2/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_/' \ - -e 's/# define /# define _EVENT_/' \ - -e 's/#ifndef /#ifndef _EVENT_/' < config.h >> $@ + sed -e 's/#define /#define EVENT__/' \ + -e 's/#undef /#undef EVENT__/' \ + -e 's/# define /# define EVENT__/' \ + -e 's/#ifndef /#ifndef EVENT__/' < config.h >> $@ echo "#endif" >> $@ CORE_SRC = event.c evthread.c buffer.c \