1 # Sed script to postprocess config.h into event-config.h.
4 /* event2/event-config.h\
6 * This file was generated by autoconf when libevent was built, and post-\
7 * processed by Libevent so that its macros would have a uniform prefix.\
9 * DO NOT EDIT THIS FILE.\
11 * Do not rely on macros in this file existing in later versions.\
14 #ifndef EVENT2_EVENT_CONFIG_H_INCLUDED_\
15 #define EVENT2_EVENT_CONFIG_H_INCLUDED_\
19 #endif /* event2/event-config.h */
21 s/#\( *\)define /#\1define EVENT__/
22 s/#\( *\)undef /#\1undef EVENT__/
23 s/#\( *\)if\(n*\)def /#\1if\2def EVENT__/