summaryrefslogtreecommitdiffstats
path: root/ipc/chromium/src/third_party/libevent/make-event-config.sed
blob: b343e3b779de9bb228cd539f6e8ae46b188aa261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Sed script to postprocess config.h into event-config.h.

1i\
/* 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.\
 *\
 * DO NOT EDIT THIS FILE.\
 *\
 * Do not rely on macros in this file existing in later versions.\
 */\
\
#ifndef _EVENT2_EVENT_CONFIG_H_\
#define _EVENT2_EVENT_CONFIG_H_\

$a\
\
#endif /* event2/event-config.h */

s/#define /#define _EVENT_/
s/#undef /#undef _EVENT_/
s/#ifndef /#ifndef _EVENT_/