Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Replace WAF with make/autoconf

  • Loading branch information...
commit 15594eaf87066abc8cf36520a1ad95e0c52da517 1 parent bb85e77
ry authored
6  .gitignore
@@ -15,3 +15,9 @@ node
15 15
 node_g
16 16
 *.swp
17 17
 .benchmark_reports
  18
+
  19
+autom4te.cache/
  20
+config.log
  21
+config.mak.autogen
  22
+config.status
  23
+configure
312  Makefile
... ...
@@ -1,39 +1,305 @@
1  
-WAF=python tools/waf-light
  1
+#config
2 2
 
3  
-all:
4  
-	@$(WAF) build
  3
+# define DEBUG=1 to build node_g
5 4
 
6  
-all-progress:
7  
-	@$(WAF) -p build
  5
+WANT_OPENSSL=1
  6
+PREFIX=/usr
  7
+SHELL=/bin/sh
  8
+INSTALL = install
8 9
 
9  
-install:
10  
-	@$(WAF) install
11 10
 
12  
-uninstall:
13  
-	@$(WAF) uninstall
  11
+-include config.mak.autogen
  12
+-include config.mak
14 13
 
15  
-test: all
  14
+
  15
+platform := $(shell python -c 'import sys; print sys.platform')
  16
+
  17
+
  18
+ifeq ($(platform),linux2)
  19
+	platform := linux
  20
+endif
  21
+
  22
+# fix me
  23
+arch = x86_64
  24
+
  25
+
  26
+ifeq ($(platform),darwin)
  27
+	LINKFLAGS += -framework Carbon
  28
+endif
  29
+
  30
+ifeq ($(platform),linux)
  31
+	LINKFLAGS += -pthread -lrt
  32
+endif
  33
+
  34
+ifdef WANT_OPENSSL
  35
+	HAVE_OPENSSL = 1
  36
+	HAVE_CRYPTO = 1
  37
+	ifdef OPENSSL_DIR
  38
+		OPENSSL_LINKFLAGS += -L$(OPENSSL_DIR)/lib
  39
+		OPENSSL_CPPFLAGS += -I$(OPENSSL_DIR)/include
  40
+	endif
  41
+	OPENSSL_LINKFLAGS += -lssl -lcrypto
  42
+endif
  43
+
  44
+cflags += -pedantic
  45
+
  46
+
  47
+
  48
+
  49
+debug_CPPDEFINES = -DDEBUG $(CFLAGS)
  50
+debug_CFLAGS = -Wall -O0 -ggdb $(CFLAGS)
  51
+debug_CXXFLAGS = $(debug_CFLAGS)
  52
+debug_LINKFLAGS = $(LINKFLAGS)
  53
+
  54
+release_CPPDEFINES = -DNODEBUG
  55
+release_CFLAGS = -Wall -O2
  56
+release_CXXFLAGS = $(release_CFLAGS)
  57
+release_LINKFLAGS = $(LINKFLAGS)
  58
+
  59
+builddir = build
  60
+
  61
+
  62
+libev_sources = deps/libev/ev.c
  63
+# Note: -I$(builddir)/deps/libev contains config.h which is generated from
  64
+# deps/libev/config.h.in during the configure script
  65
+libev_CPPFLAGS = -Ideps/libev -I$(builddir)/deps/libev
  66
+libev_release_objects = $(builddir)/release/deps/libev/ev.o
  67
+libev_debug_objects = $(builddir)/debug/deps/libev/ev.o
  68
+
  69
+libeio_sources = deps/libeio/eio.c
  70
+libeio_release_objects = $(builddir)/release/deps/libeio/eio.o
  71
+libeio_debug_objects = $(builddir)/debug/deps/libeio/eio.o
  72
+# Note: -I$(builddir)/deps/libeio contains config.h which is generated from
  73
+# deps/libeio/config.h.in during the configure script
  74
+libeio_CPPFLAGS = -D_GNU_SOURCE -Ideps/libeio -I$(builddir)/deps/libeio
  75
+
  76
+http_parser_sources = deps/http_parser/http_parser.c
  77
+http_parser_release_objects = $(builddir)/release/deps/http_parser/http_parser.o
  78
+http_parser_debug_objects = $(builddir)/debug/deps/http_parser/http_parser.o
  79
+http_parser_CPPFLAGS = -Ideps/http_parser
  80
+
  81
+cares_sources = $(wildcard deps/c-ares/*.c)
  82
+cares_release_objects = $(addprefix $(builddir)/release/,$(cares_sources:.c=.o))
  83
+cares_debug_objects = $(addprefix $(builddir)/debug/,$(cares_sources:.c=.o))
  84
+cares_CPPFLAGS = -DHAVE_CONFIG_H=1 -Ideps/c-ares -Ideps/c-ares/$(platform)-$(arch)
  85
+
  86
+node_sources = src/node.cc \
  87
+	src/platform_$(platform).cc \
  88
+	src/node_buffer.cc \
  89
+	src/node_cares.cc \
  90
+	src/node_child_process.cc \
  91
+	src/node_constants.cc \
  92
+	src/node_crypto.cc \
  93
+	src/node_events.cc \
  94
+	src/node_extensions.cc \
  95
+	src/node_file.cc \
  96
+	src/node_http_parser.cc \
  97
+	src/node_idle_watcher.cc \
  98
+	src/node_io_watcher.cc \
  99
+	src/node_main.cc \
  100
+	src/node_net.cc \
  101
+	src/node_script.cc \
  102
+	src/node_signal_watcher.cc \
  103
+	src/node_stat_watcher.cc \
  104
+	src/node_stdio.cc \
  105
+	src/node_timer.cc \
  106
+	src/node_javascript.cc \
  107
+
  108
+node_debug_objects = $(addprefix $(builddir)/debug/,$(node_sources:.cc=.o))
  109
+node_release_objects = $(addprefix $(builddir)/release/,$(node_sources:.cc=.o))
  110
+
  111
+# TODO HAVE_FDATASYNC should be set in configure.
  112
+
  113
+node_CPPFLAGS = -Isrc/ -Ideps/libeio/ -Ideps/libev/ -Ideps/http_parser/ \
  114
+	-Ideps/libev/include/ -Ideps/v8/include -DPLATFORM=\"$(platform)\" \
  115
+	-DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
  116
+	-DHAVE_FDATASYNC=0 -I$(builddir)/release/src $(cares_CPPFLAGS)
  117
+node_debug_CPPFLAGS = $(subst release,debug,$(NODE_CPPFLAGS))
  118
+
  119
+libv8 = $(builddir)/libv8.a
  120
+libv8_g = $(builddir)/libv8_g.a
  121
+
  122
+dirs = $(builddir)/release/src \
  123
+	$(builddir)/release/deps/libev \
  124
+	$(builddir)/release/deps/libeio \
  125
+	$(builddir)/release/deps/c-ares \
  126
+	$(builddir)/release/deps/http_parser \
  127
+	$(builddir)/release/deps/v8 \
  128
+	$(builddir)/release/lib/pkgconfig
  129
+debug_dirs = $(subst release,debug,$(dirs))
  130
+
  131
+
  132
+
  133
+
  134
+# Rules
  135
+
  136
+all: $(dirs) node
  137
+
  138
+ifdef DEBUG
  139
+all: $(debug_dirs) node_g
  140
+endif
  141
+
  142
+
  143
+node: $(builddir)/node
  144
+	ln -fs $< $@
  145
+
  146
+node_g: $(builddir)/node_g
  147
+	ln -fs $< $@
  148
+
  149
+
  150
+
  151
+$(dirs) $(debug_dirs):
  152
+	mkdir -p $@
  153
+
  154
+
  155
+# libev
  156
+
  157
+$(builddir)/release/deps/libev/%.o: deps/libev/%.c 
  158
+	$(CC) -c $(release_CFLAGS) $(release_CPPFLAGS) $(libev_CFLAGS) \
  159
+		$(libev_CPPFLAGS) $< -o $@
  160
+
  161
+$(builddir)/debug/deps/libev/%.o: deps/libev/%.c 
  162
+	$(CC) -c $(debug_CFLAGS) $(debug_CPPFLAGS) $(libev_CFLAGS) \
  163
+		$(libev_CPPFLAGS) $< -o $@
  164
+
  165
+
  166
+# libeio
  167
+
  168
+$(builddir)/release/deps/libeio/%.o: deps/libeio/%.c 
  169
+	$(CC) -c $(release_CFLAGS) $(release_CPPFLAGS) $(libeio_CFLAGS) \
  170
+		$(libeio_CPPFLAGS) $< -o $@
  171
+
  172
+$(builddir)/debug/deps/libeio/%.o: deps/libeio/%.c 
  173
+	$(CC) -c $(debug_CFLAGS) $(debug_CPPFLAGS) $(libeio_CFLAGS) \
  174
+		$(libeio_CPPFLAGS) $< -o $@
  175
+
  176
+
  177
+# http-parser
  178
+
  179
+$(builddir)/release/deps/http_parser/%.o: deps/http_parser/%.c 
  180
+	$(CC) -c $(release_CFLAGS) $(release_CPPFLAGS) $(http_parser_CFLAGS) \
  181
+		$(http_parser_CPPFLAGS) $< -o $@
  182
+
  183
+$(builddir)/debug/deps/http_parser/%.o: deps/http_parser/%.c 
  184
+	$(CC) -c $(debug_CFLAGS) $(debug_CPPFLAGS) $(http_parser_CFLAGS) \
  185
+		$(http_parser_CPPFLAGS) $< -o $@
  186
+
  187
+
  188
+# c-ares
  189
+
  190
+$(builddir)/release/deps/c-ares/%.o: deps/c-ares/%.c 
  191
+	$(CC) -c $(release_CFLAGS) $(release_CPPFLAGS) $(cares_CFLAGS) \
  192
+		$(cares_CPPFLAGS) $< -o $@
  193
+
  194
+$(builddir)/debug/deps/c-ares/%.o: deps/c-ares/%.c 
  195
+	$(CC) -c $(debug_CFLAGS) $(debug_CPPFLAGS) $(cares_CFLAGS) \
  196
+		$(cares_CPPFLAGS) $< -o $@
  197
+
  198
+
  199
+# node
  200
+
  201
+$(builddir)/release/src/%.o: src/%.cc
  202
+	$(CXX) -c $(release_CXXFLAGS) $(release_CPPFLAGS) $(node_CXXFLAGS) \
  203
+		$(node_CPPFLAGS) $(OPENSSL_CPPFLAGS) $< -o $@
  204
+
  205
+$(builddir)/debug/src/%.o: src/%.cc
  206
+	$(CXX) -c $(debug_CXXFLAGS) $(debug_CPPFLAGS) $(node_CXXFLAGS) \
  207
+		$(node_CPPFLAGS) $(OPENSSL_CPPFLAGS) $< -o $@
  208
+
  209
+
  210
+# node.o
  211
+
  212
+$(builddir)/release/src/node.o: src/node.cc $(builddir)/release/src/node_natives.h
  213
+	$(CXX) -c $(release_CXXFLAGS) $(release_CPPFLAGS) $(node_CFLAGS) \
  214
+		$(node_CPPFLAGS) $(OPENSSL_CPPFLAGS) $< -o $@
  215
+
  216
+$(builddir)/debug/src/node.o: src/node.cc $(builddir)/debug/src/node_natives.h
  217
+	$(CXX) -c $(debug_CXXFLAGS) $(debug_CPPFLAGS) $(node_CFLAGS) \
  218
+		$(node_CPPFLAGS) $(OPENSSL_CPPFLAGS) $< -o $@
  219
+
  220
+
  221
+# node executable
  222
+
  223
+$(builddir)/node: $(node_release_objects) $(libev_release_objects) \
  224
+		$(libeio_release_objects) $(http_parser_release_objects) \
  225
+		$(cares_release_objects) $(libv8)
  226
+	$(CXX) -o $@ $^ $(release_LINKFLAGS) $(node_LINKFLAGS) $(OPENSSL_LINKFLAGS)
  227
+
  228
+$(builddir)/node_g: $(node_debug_objects) $(libev_debug_objects) \
  229
+		$(libeio_debug_objects) $(http_parser_debug_objects) \
  230
+		$(cares_debug_objects) $(libv8_g)
  231
+	$(CXX) -o $@ $^ $(debug_LINKFLAGS) $(node_LINKFLAGS) $(OPENSSL_LINKFLAGS)
  232
+
  233
+
  234
+
  235
+$(builddir)/release/src/node_natives.h: src/node.js lib/*.js
  236
+	python tools/js2c.py $^ > $@
  237
+
  238
+$(builddir)/debug/src/node_natives.h: src/node.js lib/*.js
  239
+	python tools/js2c.py $^ > $@
  240
+	# TODO a debug flag for the macros ?
  241
+
  242
+
  243
+
  244
+$(builddir)/release/src/node_config.h: src/node_config.h.in
  245
+	sed -e "s#@PREFIX@#$(PREFIX)#" \
  246
+		-e "s#@CCFLAGS@#$(release_CFLAGS)#" \
  247
+		-e "s#@CPPFLAGS@#$(release_CPPFLAGS)#" $< > $@ || rm $@
  248
+
  249
+$(builddir)/debug/src/node_config.h: src/node_config.h.in
  250
+	sed -e "s#@PREFIX@#$(PREFIX)#" \
  251
+		-e "s#@CCFLAGS@#$(debug_CFLAGS)#" \
  252
+		-e "s#@CPPFLAGS@#$(debug_CPPFLAGS)#" $< > $@ || rm $@
  253
+
  254
+
  255
+# FIXME convert to a generalized *.in preprocessor
  256
+$(builddir)/release/lib/pkgconfig/nodejs.pc: tools/nodejs.pc.in
  257
+	sed \
  258
+		-e "s#@PREFIX@#$(PREFIX)#" \
  259
+		-e "s#@VERSION@#$(VERSION)#" \
  260
+		-e "s#@CCFLAGS@#$(CFLAGS)#" \
  261
+		-e "s#@CPPFLAGS@#$(CPPFLAGS)#" $< > $@ || rm $@
  262
+
  263
+# v8 does its own debug and release version, so we don't put it in the
  264
+# profile_builddir but rather just the builddir.
  265
+$(libv8):
  266
+	python tools/scons/scons.py -C $(builddir) -Y `pwd`/deps/v8 \
  267
+		visibility=default mode=release arch=x64 library=static snapshot=on
  268
+
  269
+$(libv8_g):
  270
+	python tools/scons/scons.py -C $(builddir) -Y `pwd`/deps/v8 \
  271
+		visibility=default mode=debug arch=x64 library=static snapshot=on
  272
+
  273
+
  274
+# header deps
  275
+$(builddir)/release/src/node.o: $(builddir)/release/src/node_config.h
  276
+$(builddir)/debug/src/node.o: $(builddir)/debug/src/node_config.h
  277
+
  278
+
  279
+# TODO install
  280
+
  281
+test: $(builddir)/node
16 282
 	python tools/test.py --mode=release simple message
17 283
 
18  
-test-all: all
  284
+test-all: $(builddir)/node $(builddir)/node_g
19 285
 	python tools/test.py --mode=debug,release
20 286
 
21  
-test-release: all
  287
+test-release: $(builddir)/node
22 288
 	python tools/test.py --mode=release
23 289
 
24  
-test-debug: all
  290
+test-debug: $(builddir)/node_g
25 291
 	python tools/test.py --mode=debug
26 292
 
27  
-test-message: all
  293
+test-message: $(builddir)/node
28 294
 	python tools/test.py message
29 295
 
30  
-test-simple: all
  296
+test-simple: $(builddir)/node
31 297
 	python tools/test.py simple
32 298
      
33  
-test-pummel: all
  299
+test-pummel: $(builddir)/node
34 300
 	python tools/test.py pummel
35 301
 	
36  
-test-internet: all
  302
+test-internet: $(builddir)/node
37 303
 	python tools/test.py internet
38 304
 
39 305
 # http://rtomayko.github.com/ronn
@@ -59,15 +325,15 @@ docclean:
59 325
 	@-rm -f doc/node.1 doc/api.html doc/changelog.html
60 326
 
61 327
 clean:
62  
-	@$(WAF) clean
63  
-	@-find tools -name "*.pyc" | xargs rm -f
  328
+	-rm -f node node_g $(builddir)/node $(builddir)/node_g
  329
+	-find $(builddir) -name "*.o" | xargs rm -f
  330
+	-find . -name "*.pyc" | xargs rm -f
64 331
 
65 332
 distclean: docclean
66  
-	@-find tools -name "*.pyc" | xargs rm -f
67  
-	@-rm -rf build/ node node_g
  333
+	-find tools -name "*.pyc" | xargs rm -f
  334
+	-rm -rf build/ node node_g
  335
+	-rm -rf configure config.mak.autogen config.log autom4te.cache config.status
68 336
 
69  
-check:
70  
-	@tools/waf-light check
71 337
 
72 338
 VERSION=$(shell git describe)
73 339
 TARNAME=node-$(VERSION)
26  config.mak.in
... ...
@@ -0,0 +1,26 @@
  1
+# git Makefile configuration, included in main Makefile
  2
+# @configure_input@
  3
+
  4
+CC = @CC@
  5
+CFLAGS = @CFLAGS@
  6
+CPPFLAGS = @CPPFLAGS@
  7
+LDFLAGS = @LDFLAGS@
  8
+AR = @AR@
  9
+TAR = @TAR@
  10
+
  11
+prefix = @prefix@
  12
+exec_prefix = @exec_prefix@
  13
+bindir = @bindir@
  14
+datarootdir = @datarootdir@
  15
+
  16
+mandir=@mandir@
  17
+
  18
+srcdir = @srcdir@
  19
+VPATH = @srcdir@
  20
+
  21
+export exec_prefix mandir
  22
+export srcdir VPATH
  23
+
  24
+
  25
+
  26
+WANT_OPENSSL=@WANT_OPENSSL@
21  configure
... ...
@@ -1,21 +0,0 @@
1  
-#! /bin/sh
2  
-
3  
-# v8 doesn't like ccache
4  
-if [ ! -z "`echo $CC | grep ccache`" ]; then
5  
-  echo "Error: V8 doesn't like cache. Please set your CC env var to 'gcc'"
6  
-  echo "  (ba)sh: export CC=gcc"
7  
-  exit 1
8  
-fi
9  
-
10  
-CUR_DIR=$PWD
11  
-
12  
-#possible relative path
13  
-WORKINGDIR=`dirname $0`
14  
-cd "$WORKINGDIR"
15  
-#abs path
16  
-WORKINGDIR=`pwd`
17  
-cd "$CUR_DIR"
18  
-
19  
-"${WORKINGDIR}/tools/waf-light" --jobs=1 configure $*
20  
-
21  
-exit $?
68  configure.ac
... ...
@@ -0,0 +1,68 @@
  1
+#                                               -*- Autoconf -*-
  2
+# Process this file with autoconf to produce a configure script.
  3
+
  4
+AC_PREREQ(2.59)
  5
+AC_INIT([node], [0.3.0-pre], [ryan@joyent.com])
  6
+
  7
+AC_CONFIG_SRCDIR([src/node.cc])
  8
+
  9
+config_file=config.mak.autogen
  10
+config_append=config.mak.append
  11
+config_in=config.mak.in
  12
+
  13
+echo "# ${config_append}.  Generated by configure." > "${config_append}"
  14
+
  15
+#dnl Search for pkg-config
  16
+#AC_PATH_PROG(PKG_CONFIG, pkg-config)
  17
+
  18
+
  19
+# TODO support options
  20
+#  --efence              Build with -lefence for debugging [Default: False]
  21
+#  --without-snapshot    Build without snapshotting V8 libraries. You might want to set this for cross-compiling.
  22
+#                        [Default: False]
  23
+#  --without-ssl         Build without SSL
  24
+#  --shared-v8           Link to a shared V8 DLL instead of static linking
  25
+#  --shared-v8-includes=SHARED_V8_INCLUDES
  26
+#                        Directory containing V8 header files
  27
+#  --shared-v8-libpath=SHARED_V8_LIBPATH
  28
+#                        A directory to search for the shared V8 DLL
  29
+#  --shared-v8-libname=SHARED_V8_LIBNAME
  30
+#                        Alternative lib name to link to (default: 'v8')
  31
+#  --shared-cares        Link to a shared C-Ares DLL instead of static linking
  32
+#  --shared-cares-includes=SHARED_CARES_INCLUDES
  33
+#                        Directory containing C-Ares header files
  34
+#  --shared-cares-libpath=SHARED_CARES_LIBPATH
  35
+#                        A directory to search for the shared C-Ares DLL
  36
+#  --shared-libev        Link to a shared libev DLL instead of static linking
  37
+#  --shared-libev-includes=SHARED_LIBEV_INCLUDES
  38
+#                        Directory containing libev header files
  39
+#  --shared-libev-libpath=SHARED_LIBEV_LIBPATH
  40
+#                        A directory to search for the shared libev DLL
  41
+
  42
+AC_CHECK_PROGS(TAR, [gtar tar])
  43
+AC_CHECK_TOOLS(AR, [gar ar], :)
  44
+
  45
+
  46
+
  47
+# OpenSSL
  48
+AC_SUBST([WANT_OPENSSL],[YES])
  49
+
  50
+
  51
+
  52
+
  53
+m4_include([deps/libev/libev.m4])
  54
+m4_include([deps/libeio/libeio.m4])
  55
+
  56
+mkdir -p build/deps/libev/
  57
+mkdir -p build/deps/libeio/
  58
+AC_CONFIG_HEADERS([build/deps/libev/config.h:deps/libev/config.h.in])
  59
+AC_CONFIG_HEADERS([build/deps/libeio/config.h:deps/libeio/config.h.in])
  60
+
  61
+AC_CONFIG_FILES(["${config_file}":"${config_in}"])
  62
+
  63
+## Output files
  64
+AC_OUTPUT
  65
+
  66
+
  67
+## Cleanup
  68
+rm -f "${config_append}"
26  deps/c-ares/wscript
... ...
@@ -1,26 +0,0 @@
1  
-import Options
2  
-import platform
3  
-
4  
-PLATFORM_IS_DARWIN = platform.platform().find('Darwin') == 0
5  
-PLATFORM_IS_LINUX = platform.platform().find('Linux') == 0
6  
-PLATFORM_IS_SOLARIS = platform.platform().find('Sun') == 0
7  
-PLATFORM_IS_FREEBSD = platform.platform().find('FreeBSD') == 0
8  
-MACHINE_IS_AMD64 = platform.machine().find('amd64') == 0
9  
-MACHINE_IS_I386 = platform.machine().find('i386') == 0
10  
-
11  
-def set_options(opt):
12  
-  pass
13  
-
14  
-def configure(conf):
15  
-  conf.env.append_value('CCFLAGS', ['-DHAVE_CONFIG_H=1'])
16  
-
17  
-def build(bld):
18  
-  cares = bld.new_task_gen("cc")
19  
-  cares.source = bld.path.ant_glob('*.c')
20  
-  cares.target = 'cares'
21  
-  cares.name = 'cares'
22  
-  cares.includes = '. ./' + bld.env['DEST_OS'] + '-' + bld.env['DEST_CPU']
23  
-  cares.install_path = None
24  
-  if bld.env["USE_DEBUG"]:
25  
-    cares.clone("debug");
26  
-
21  deps/libeio/config.h.in
@@ -48,26 +48,5 @@
48 48
 /* Define to 1 if you have the <unistd.h> header file. */
49 49
 #undef HAVE_UNISTD_H
50 50
 
51  
-/* Name of package */
52  
-#undef PACKAGE
53  
-
54  
-/* Define to the address where bug reports for this package should be sent. */
55  
-#undef PACKAGE_BUGREPORT
56  
-
57  
-/* Define to the full name of this package. */
58  
-#undef PACKAGE_NAME
59  
-
60  
-/* Define to the full name and version of this package. */
61  
-#undef PACKAGE_STRING
62  
-
63  
-/* Define to the one symbol short name of this package. */
64  
-#undef PACKAGE_TARNAME
65  
-
66  
-/* Define to the version of this package. */
67  
-#undef PACKAGE_VERSION
68  
-
69 51
 /* Define to 1 if you have the ANSI C header files. */
70 52
 #undef STDC_HEADERS
71  
-
72  
-/* Version number of package */
73  
-#undef VERSION
77  deps/libeio/cygwin/config.h
... ...
@@ -1,77 +0,0 @@
1  
-/* config.h.  Generated from config.h.in by configure.  */
2  
-/* config.h.in.  Generated from configure.ac by autoheader.  */
3  
-
4  
-/* Define to 1 if you have the <dlfcn.h> header file. */
5  
-#define HAVE_DLFCN_H 1
6  
-
7  
-/* fdatasync(2) is available */
8  
-#define HAVE_FDATASYNC 1
9  
-
10  
-/* futimes(2) is available */
11  
-#define HAVE_FUTIMES 1
12  
-
13  
-/* Define to 1 if you have the <inttypes.h> header file. */
14  
-#define HAVE_INTTYPES_H 1
15  
-
16  
-/* Define to 1 if you have the <memory.h> header file. */
17  
-#define HAVE_MEMORY_H 1
18  
-
19  
-/* pread(2) and pwrite(2) are available */
20  
-#define HAVE_PREADWRITE 1
21  
-
22  
-/* readahead(2) is available (linux) */
23  
-/* #undef HAVE_READAHEAD */
24  
-
25  
-/* sendfile(2) is available and supported */
26  
-/* #undef HAVE_SENDFILE */
27  
-
28  
-/* Define to 1 if you have the <stdint.h> header file. */
29  
-#define HAVE_STDINT_H 1
30  
-
31  
-/* Define to 1 if you have the <stdlib.h> header file. */
32  
-#define HAVE_STDLIB_H 1
33  
-
34  
-/* Define to 1 if you have the <strings.h> header file. */
35  
-#define HAVE_STRINGS_H 1
36  
-
37  
-/* Define to 1 if you have the <string.h> header file. */
38  
-#define HAVE_STRING_H 1
39  
-
40  
-/* sync_file_range(2) is available */
41  
-/* #undef HAVE_SYNC_FILE_RANGE */
42  
-
43  
-/* Define to 1 if you have the <sys/stat.h> header file. */
44  
-#define HAVE_SYS_STAT_H 1
45  
-
46  
-/* Define to 1 if you have the <sys/types.h> header file. */
47  
-#define HAVE_SYS_TYPES_H 1
48  
-
49  
-/* Define to 1 if you have the <unistd.h> header file. */
50  
-#define HAVE_UNISTD_H 1
51  
-
52  
-/* Name of package */
53  
-#define PACKAGE "libeio"
54  
-
55  
-/* Define to the address where bug reports for this package should be sent. */
56  
-#define PACKAGE_BUGREPORT ""
57  
-
58  
-/* Define to the full name of this package. */
59  
-#define PACKAGE_NAME ""
60  
-
61  
-/* Define to the full name and version of this package. */
62  
-#define PACKAGE_STRING ""
63  
-
64  
-/* Define to the one symbol short name of this package. */
65  
-#define PACKAGE_TARNAME ""
66  
-
67  
-/* Define to the home page for this package. */
68  
-#define PACKAGE_URL ""
69  
-
70  
-/* Define to the version of this package. */
71  
-#define PACKAGE_VERSION ""
72  
-
73  
-/* Define to 1 if you have the ANSI C header files. */
74  
-#define STDC_HEADERS 1
75  
-
76  
-/* Version number of package */
77  
-#define VERSION "1.0"
82  deps/libeio/darwin/config.h
... ...
@@ -1,82 +0,0 @@
1  
-/* config.h.  Generated from config.h.in by configure.  */
2  
-/* config.h.in.  Generated from configure.ac by autoheader.  */
3  
-
4  
-/* Define to 1 if you have the <dlfcn.h> header file. */
5  
-#define HAVE_DLFCN_H 1
6  
-
7  
-/* fdatasync(2) is not available on 10.5 but is on 10.6 
8  
- * How should we deal with this? */
9  
-/* #define HAVE_FDATASYNC 0 */
10  
-
11  
-/* futimes(2) is available */
12  
-#define HAVE_FUTIMES 1
13  
-
14  
-/* Define to 1 if you have the <inttypes.h> header file. */
15  
-#define HAVE_INTTYPES_H 1
16  
-
17  
-/* Define to 1 if you have the <memory.h> header file. */
18  
-#define HAVE_MEMORY_H 1
19  
-
20  
-/* pread(2) and pwrite(2) are available */
21  
-#define HAVE_PREADWRITE 1
22  
-
23  
-/* readahead(2) is available (linux) */
24  
-/* #undef HAVE_READAHEAD */
25  
-
26  
-/* sendfile(2) is available and supported */
27  
-#define HAVE_SENDFILE 1
28  
-
29  
-/* Define to 1 if you have the <stdint.h> header file. */
30  
-#define HAVE_STDINT_H 1
31  
-
32  
-/* Define to 1 if you have the <stdlib.h> header file. */
33  
-#define HAVE_STDLIB_H 1
34  
-
35  
-/* Define to 1 if you have the <strings.h> header file. */
36  
-#define HAVE_STRINGS_H 1
37  
-
38  
-/* Define to 1 if you have the <string.h> header file. */
39  
-#define HAVE_STRING_H 1
40  
-
41  
-/* sync_file_range(2) is available */
42  
-/* #undef HAVE_SYNC_FILE_RANGE */
43  
-
44  
-/* Define to 1 if you have the <sys/stat.h> header file. */
45  
-#define HAVE_SYS_STAT_H 1
46  
-
47  
-/* Define to 1 if you have the <sys/types.h> header file. */
48  
-#define HAVE_SYS_TYPES_H 1
49  
-
50  
-/* Define to 1 if you have the <unistd.h> header file. */
51  
-#define HAVE_UNISTD_H 1
52  
-
53  
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
54  
-   */
55  
-#define LT_OBJDIR ".libs/"
56  
-
57  
-/* Name of package */
58  
-#define PACKAGE "libeio"
59  
-
60  
-/* Define to the address where bug reports for this package should be sent. */
61  
-#define PACKAGE_BUGREPORT ""
62  
-
63  
-/* Define to the full name of this package. */
64  
-#define PACKAGE_NAME ""
65  
-
66  
-/* Define to the full name and version of this package. */
67  
-#define PACKAGE_STRING ""
68  
-
69  
-/* Define to the one symbol short name of this package. */
70  
-#define PACKAGE_TARNAME ""
71  
-
72  
-/* Define to the home page for this package. */
73  
-#define PACKAGE_URL ""
74  
-
75  
-/* Define to the version of this package. */
76  
-#define PACKAGE_VERSION ""
77  
-
78  
-/* Define to 1 if you have the ANSI C header files. */
79  
-#define STDC_HEADERS 1
80  
-
81  
-/* Version number of package */
82  
-#define VERSION "1.0"
78  deps/libeio/freebsd/config.h
... ...
@@ -1,78 +0,0 @@
1  
-/* config.h.  Generated from config.h.in by configure.  */
2  
-/* config.h.in.  Generated from configure.ac by autoheader.  */
3  
-
4  
-/* Define to 1 if you have the <dlfcn.h> header file. */
5  
-#define HAVE_DLFCN_H 1
6  
-
7  
-/* fdatasync(2) is available */
8  
-/* #undef HAVE_FDATASYNC */
9  
-
10  
-/* futimes(2) is available */
11  
-#define HAVE_FUTIMES 1
12  
-
13  
-/* Define to 1 if you have the <inttypes.h> header file. */
14  
-#define HAVE_INTTYPES_H 1
15  
-
16  
-/* Define to 1 if you have the <memory.h> header file. */
17  
-#define HAVE_MEMORY_H 1
18  
-
19  
-/* pread(2) and pwrite(2) are available */
20  
-#define HAVE_PREADWRITE 1
21  
-
22  
-/* readahead(2) is available (linux) */
23  
-/* #undef HAVE_READAHEAD */
24  
-
25  
-/* sendfile(2) is available and supported */
26  
-#define HAVE_SENDFILE 1
27  
-
28  
-/* Define to 1 if you have the <stdint.h> header file. */
29  
-#define HAVE_STDINT_H 1
30  
-
31  
-/* Define to 1 if you have the <stdlib.h> header file. */
32  
-#define HAVE_STDLIB_H 1
33  
-
34  
-/* Define to 1 if you have the <strings.h> header file. */
35  
-#define HAVE_STRINGS_H 1
36  
-
37  
-/* Define to 1 if you have the <string.h> header file. */
38  
-#define HAVE_STRING_H 1
39  
-
40  
-/* sync_file_range(2) is available */
41  
-/* #undef HAVE_SYNC_FILE_RANGE */
42  
-
43  
-/* Define to 1 if you have the <sys/stat.h> header file. */
44  
-#define HAVE_SYS_STAT_H 1
45  
-
46  
-/* Define to 1 if you have the <sys/types.h> header file. */
47  
-#define HAVE_SYS_TYPES_H 1
48  
-
49  
-/* Define to 1 if you have the <unistd.h> header file. */
50  
-#define HAVE_UNISTD_H 1
51  
-
52  
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
53  
-   */
54  
-#define LT_OBJDIR ".libs/"
55  
-
56  
-/* Name of package */
57  
-#define PACKAGE "libeio"
58  
-
59  
-/* Define to the address where bug reports for this package should be sent. */
60  
-#define PACKAGE_BUGREPORT ""
61  
-
62  
-/* Define to the full name of this package. */
63  
-#define PACKAGE_NAME ""
64  
-
65  
-/* Define to the full name and version of this package. */
66  
-#define PACKAGE_STRING ""
67  
-
68  
-/* Define to the one symbol short name of this package. */
69  
-#define PACKAGE_TARNAME ""
70  
-
71  
-/* Define to the version of this package. */
72  
-#define PACKAGE_VERSION ""
73  
-
74  
-/* Define to 1 if you have the ANSI C header files. */
75  
-#define STDC_HEADERS 1
76  
-
77  
-/* Version number of package */
78  
-#define VERSION "1.0"
81  deps/libeio/linux/config.h
... ...
@@ -1,81 +0,0 @@
1  
-/* config.h.  Generated from config.h.in by configure.  */
2  
-/* config.h.in.  Generated from configure.ac by autoheader.  */
3  
-
4  
-/* Define to 1 if you have the <dlfcn.h> header file. */
5  
-#define HAVE_DLFCN_H 1
6  
-
7  
-/* fdatasync(2) is available */
8  
-#define HAVE_FDATASYNC 1
9  
-
10  
-/* futimes(2) is available */
11  
-#define HAVE_FUTIMES 1
12  
-
13  
-/* Define to 1 if you have the <inttypes.h> header file. */
14  
-#define HAVE_INTTYPES_H 1
15  
-
16  
-/* Define to 1 if you have the <memory.h> header file. */
17  
-#define HAVE_MEMORY_H 1
18  
-
19  
-/* pread(2) and pwrite(2) are available */
20  
-#define HAVE_PREADWRITE 1
21  
-
22  
-/* readahead(2) is available (linux) */
23  
-#define HAVE_READAHEAD 1
24  
-
25  
-/* sendfile(2) is available and supported */
26  
-#define HAVE_SENDFILE 1
27  
-
28  
-/* Define to 1 if you have the <stdint.h> header file. */
29  
-#define HAVE_STDINT_H 1
30  
-
31  
-/* Define to 1 if you have the <stdlib.h> header file. */
32  
-#define HAVE_STDLIB_H 1
33  
-
34  
-/* Define to 1 if you have the <strings.h> header file. */
35  
-#define HAVE_STRINGS_H 1
36  
-
37  
-/* Define to 1 if you have the <string.h> header file. */
38  
-#define HAVE_STRING_H 1
39  
-
40  
-/* sync_file_range(2) is available */
41  
-#define HAVE_SYNC_FILE_RANGE 1
42  
-
43  
-/* Define to 1 if you have the <sys/stat.h> header file. */
44  
-#define HAVE_SYS_STAT_H 1
45  
-
46  
-/* Define to 1 if you have the <sys/types.h> header file. */
47  
-#define HAVE_SYS_TYPES_H 1
48  
-
49  
-/* Define to 1 if you have the <unistd.h> header file. */
50  
-#define HAVE_UNISTD_H 1
51  
-
52  
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
53  
-   */
54  
-#define LT_OBJDIR ".libs/"
55  
-
56  
-/* Name of package */
57  
-#define PACKAGE "libeio"
58  
-
59  
-/* Define to the address where bug reports for this package should be sent. */
60  
-#define PACKAGE_BUGREPORT ""
61  
-
62  
-/* Define to the full name of this package. */
63  
-#define PACKAGE_NAME ""
64  
-
65  
-/* Define to the full name and version of this package. */
66  
-#define PACKAGE_STRING ""
67  
-
68  
-/* Define to the one symbol short name of this package. */
69  
-#define PACKAGE_TARNAME ""
70  
-
71  
-/* Define to the home page for this package. */
72  
-#define PACKAGE_URL ""
73  
-
74  
-/* Define to the version of this package. */
75  
-#define PACKAGE_VERSION ""
76  
-
77  
-/* Define to 1 if you have the ANSI C header files. */
78  
-#define STDC_HEADERS 1
79  
-
80  
-/* Version number of package */
81  
-#define VERSION "1.0"
81  deps/libeio/sunos/config.h
... ...
@@ -1,81 +0,0 @@
1  
-/* config.h.  Generated from config.h.in by configure.  */
2  
-/* config.h.in.  Generated from configure.ac by autoheader.  */
3  
-
4  
-/* Define to 1 if you have the <dlfcn.h> header file. */
5  
-#define HAVE_DLFCN_H 1
6  
-
7  
-/* fdatasync(2) is available */
8  
-#define HAVE_FDATASYNC 1
9  
-
10  
-/* futimes(2) is available */
11  
-/* #undef HAVE_FUTIMES */
12  
-
13  
-/* Define to 1 if you have the <inttypes.h> header file. */
14  
-#define HAVE_INTTYPES_H 1
15  
-
16  
-/* Define to 1 if you have the <memory.h> header file. */
17  
-#define HAVE_MEMORY_H 1
18  
-
19  
-/* pread(2) and pwrite(2) are available */
20  
-#define HAVE_PREADWRITE 1
21  
-
22  
-/* readahead(2) is available (linux) */
23  
-/* #undef HAVE_READAHEAD */
24  
-
25  
-/* sendfile(2) is available and supported */
26  
-/* #undef HAVE_SENDFILE */
27  
-
28  
-/* Define to 1 if you have the <stdint.h> header file. */
29  
-#define HAVE_STDINT_H 1
30  
-
31  
-/* Define to 1 if you have the <stdlib.h> header file. */
32  
-#define HAVE_STDLIB_H 1
33  
-
34  
-/* Define to 1 if you have the <strings.h> header file. */
35  
-#define HAVE_STRINGS_H 1
36  
-
37  
-/* Define to 1 if you have the <string.h> header file. */
38  
-#define HAVE_STRING_H 1
39  
-
40  
-/* sync_file_range(2) is available */
41  
-/* #undef HAVE_SYNC_FILE_RANGE */
42  
-
43  
-/* Define to 1 if you have the <sys/stat.h> header file. */
44  
-#define HAVE_SYS_STAT_H 1
45  
-
46  
-/* Define to 1 if you have the <sys/types.h> header file. */
47  
-#define HAVE_SYS_TYPES_H 1
48  
-
49  
-/* Define to 1 if you have the <unistd.h> header file. */
50  
-#define HAVE_UNISTD_H 1
51  
-
52  
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
53  
-   */
54  
-#define LT_OBJDIR ".libs/"
55  
-
56  
-/* Name of package */
57  
-#define PACKAGE "libeio"
58  
-
59  
-/* Define to the address where bug reports for this package should be sent. */
60  
-#define PACKAGE_BUGREPORT ""
61  
-
62  
-/* Define to the full name of this package. */
63  
-#define PACKAGE_NAME ""
64  
-
65  
-/* Define to the full name and version of this package. */
66  
-#define PACKAGE_STRING ""
67  
-
68  
-/* Define to the one symbol short name of this package. */
69  
-#define PACKAGE_TARNAME ""
70  
-
71  
-/* Define to the home page for this package. */
72  
-#define PACKAGE_URL ""
73  
-
74  
-/* Define to the version of this package. */
75  
-#define PACKAGE_VERSION ""
76  
-
77  
-/* Define to 1 if you have the ANSI C header files. */
78  
-#define STDC_HEADERS 1
79  
-
80  
-/* Version number of package */
81  
-#define VERSION "1.0"
19  deps/libeio/wscript
... ...
@@ -1,19 +0,0 @@
1  
-import Options
2  
-import platform
3  
-
4  
-def set_options(opt):
5  
-  pass
6  
-
7  
-def configure(conf):
8  
-  conf.env.append_value('CCFLAGS', ['-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE'])
9  
-
10  
-def build(bld):
11  
-  libeio = bld.new_task_gen("cc")
12  
-  libeio.source = "eio.c"
13  
-  libeio.target = 'eio'
14  
-  libeio.name = 'eio'
15  
-  libeio.includes = '. ./' + bld.env['DEST_OS']
16  
-  libeio.install_path = None
17  
-  if bld.env["USE_DEBUG"]:
18  
-    libeio.clone("debug");
19  
-  bld.install_files('${PREFIX}/include/node/', 'eio.h');
89  deps/libev/linux/config.h → deps/libev/config.h.in
... ...
@@ -1,122 +1,97 @@
1  
-/* config.h.  Generated from config.h.in by configure.  */
2 1
 /* config.h.in.  Generated from configure.ac by autoheader.  */
3 2
 
4 3
 /* Define to 1 if you have the `clock_gettime' function. */
5  
-/* #undef HAVE_CLOCK_GETTIME */
  4
+#undef HAVE_CLOCK_GETTIME
6 5
 
7 6
 /* "use syscall interface for clock_gettime" */
8  
-#define HAVE_CLOCK_SYSCALL 1
  7
+#undef HAVE_CLOCK_SYSCALL
9 8
 
10 9
 /* Define to 1 if you have the <dlfcn.h> header file. */
11  
-#define HAVE_DLFCN_H 1
  10
+#undef HAVE_DLFCN_H
12 11
 
13 12
 /* Define to 1 if you have the `epoll_ctl' function. */
14  
-#define HAVE_EPOLL_CTL 1
  13
+#undef HAVE_EPOLL_CTL
15 14
 
16 15
 /* Define to 1 if you have the `eventfd' function. */
17  
-#define HAVE_EVENTFD 1
  16
+#undef HAVE_EVENTFD
18 17
 
19 18
 /* Define to 1 if you have the `inotify_init' function. */
20  
-#define HAVE_INOTIFY_INIT 1
  19
+#undef HAVE_INOTIFY_INIT
21 20
 
22 21
 /* Define to 1 if you have the <inttypes.h> header file. */
23  
-#define HAVE_INTTYPES_H 1
  22
+#undef HAVE_INTTYPES_H
24 23
 
25 24
 /* Define to 1 if you have the `kqueue' function. */
26  
-/* #undef HAVE_KQUEUE */
  25
+#undef HAVE_KQUEUE
27 26
 
28 27
 /* Define to 1 if you have the `m' library (-lm). */
29  
-#define HAVE_LIBM 1
  28
+#undef HAVE_LIBM
30 29
 
31 30
 /* Define to 1 if you have the `rt' library (-lrt). */
32  
-/* #undef HAVE_LIBRT */
  31
+#undef HAVE_LIBRT
33 32
 
34 33
 /* Define to 1 if you have the <memory.h> header file. */
35  
-#define HAVE_MEMORY_H 1
  34
+#undef HAVE_MEMORY_H
36 35
 
37 36
 /* Define to 1 if you have the `nanosleep' function. */
38  
-/* #undef HAVE_NANOSLEEP */
  37
+#undef HAVE_NANOSLEEP
39 38
 
40 39
 /* Define to 1 if you have the `poll' function. */
41  
-#define HAVE_POLL 1
  40
+#undef HAVE_POLL
42 41
 
43 42
 /* Define to 1 if you have the <poll.h> header file. */
44  
-#define HAVE_POLL_H 1
  43
+#undef HAVE_POLL_H
45 44
 
46 45
 /* Define to 1 if you have the `port_create' function. */
47  
-/* #undef HAVE_PORT_CREATE */
  46
+#undef HAVE_PORT_CREATE
48 47
 
49 48
 /* Define to 1 if you have the <port.h> header file. */
50  
-/* #undef HAVE_PORT_H */
  49
+#undef HAVE_PORT_H
51 50
 
52 51
 /* Define to 1 if you have the `select' function. */
53  
-#define HAVE_SELECT 1
  52
+#undef HAVE_SELECT
54 53
 
55 54
 /* Define to 1 if you have the `signalfd' function. */
56  
-#define HAVE_SIGNALFD 1
  55
+#undef HAVE_SIGNALFD
57 56
 
58 57
 /* Define to 1 if you have the <stdint.h> header file. */
59  
-#define HAVE_STDINT_H 1
  58
+#undef HAVE_STDINT_H
60 59
 
61 60
 /* Define to 1 if you have the <stdlib.h> header file. */
62  
-#define HAVE_STDLIB_H 1
  61
+#undef HAVE_STDLIB_H
63 62
 
64 63
 /* Define to 1 if you have the <strings.h> header file. */
65  
-#define HAVE_STRINGS_H 1
  64
+#undef HAVE_STRINGS_H
66 65
 
67 66
 /* Define to 1 if you have the <string.h> header file. */
68  
-#define HAVE_STRING_H 1
  67
+#undef HAVE_STRING_H
69 68
 
70 69
 /* Define to 1 if you have the <sys/epoll.h> header file. */
71  
-#define HAVE_SYS_EPOLL_H 1
  70
+#undef HAVE_SYS_EPOLL_H
72 71
 
73 72
 /* Define to 1 if you have the <sys/eventfd.h> header file. */
74  
-#define HAVE_SYS_EVENTFD_H 1
  73
+#undef HAVE_SYS_EVENTFD_H
75 74
 
76 75
 /* Define to 1 if you have the <sys/event.h> header file. */
77  
-/* #undef HAVE_SYS_EVENT_H */
  76
+#undef HAVE_SYS_EVENT_H
78 77
 
79 78
 /* Define to 1 if you have the <sys/inotify.h> header file. */
80  
-#define HAVE_SYS_INOTIFY_H 1
81  
-
82  
-/* Define to 1 if you have the <sys/queue.h> header file. */
83  
-#define HAVE_SYS_QUEUE_H 1
  79
+#undef HAVE_SYS_INOTIFY_H
84 80
 
85 81
 /* Define to 1 if you have the <sys/select.h> header file. */
86  
-#define HAVE_SYS_SELECT_H 1
  82
+#undef HAVE_SYS_SELECT_H
87 83
 
88 84
 /* Define to 1 if you have the <sys/signalfd.h> header file. */
89  
-#define HAVE_SYS_SIGNALFD_H 1
  85
+#undef HAVE_SYS_SIGNALFD_H
90 86
 
91 87
 /* Define to 1 if you have the <sys/stat.h> header file. */
92  
-#define HAVE_SYS_STAT_H 1
  88
+#undef HAVE_SYS_STAT_H
93 89
 
94 90
 /* Define to 1 if you have the <sys/types.h> header file. */
95  
-#define HAVE_SYS_TYPES_H 1
  91
+#undef HAVE_SYS_TYPES_H
96 92
 
97 93
 /* Define to 1 if you have the <unistd.h> header file. */
98  
-#define HAVE_UNISTD_H 1
99  
-
100  
-/* Name of package */
101  
-#define PACKAGE "libev"
102  
-
103  
-/* Define to the address where bug reports for this package should be sent. */
104  
-#define PACKAGE_BUGREPORT ""
105  
-
106  
-/* Define to the full name of this package. */
107  
-#define PACKAGE_NAME ""
108  
-
109  
-/* Define to the full name and version of this package. */
110  
-#define PACKAGE_STRING ""
111  
-
112  
-/* Define to the one symbol short name of this package. */
113  
-#define PACKAGE_TARNAME ""
114  
-
115  
-/* Define to the version of this package. */
116  
-#define PACKAGE_VERSION ""
  94
+#undef HAVE_UNISTD_H
117 95
 
118 96
 /* Define to 1 if you have the ANSI C header files. */
119  
-#define STDC_HEADERS 1
120  
-
121  
-/* Version number of package */
122  
-#define VERSION "3.9"
  97
+#undef STDC_HEADERS
123  deps/libev/cygwin/config.h
... ...
@@ -1,123 +0,0 @@
1  
-/* config.h.  Generated from config.h.in by configure.  */
2  
-/* config.h.in.  Generated from configure.ac by autoheader.  */
3  
-
4  
-/* Define to 1 if you have the `clock_gettime' function. */
5  
-/* #undef HAVE_CLOCK_GETTIME */
6  
-
7  
-/* "use syscall interface for clock_gettime" */
8  
-/* #undef HAVE_CLOCK_SYSCALL */
9  
-
10  
-/* Define to 1 if you have the <dlfcn.h> header file. */
11  
-#define HAVE_DLFCN_H 1
12  
-
13  
-/* Define to 1 if you have the `epoll_ctl' function. */
14  
-/* #undef HAVE_EPOLL_CTL */
15  
-
16  
-/* Define to 1 if you have the `eventfd' function. */
17  
-/* #undef HAVE_EVENTFD */
18  
-
19  
-/* Define to 1 if you have the `inotify_init' function. */
20  
-/* #undef HAVE_INOTIFY_INIT */
21  
-
22  
-/* Define to 1 if you have the <inttypes.h> header file. */
23  
-#define HAVE_INTTYPES_H 1
24  
-
25  
-/* Define to 1 if you have the `kqueue' function. */
26  
-/* #undef HAVE_KQUEUE */
27  
-
28  
-/* Define to 1 if you have the `m' library (-lm). */
29  
-#define HAVE_LIBM 1
30  
-
31  
-/* Define to 1 if you have the `rt' library (-lrt). */
32  
-/* #undef HAVE_LIBRT */
33  
-
34  
-/* Define to 1 if you have the <memory.h> header file. */
35  
-#define HAVE_MEMORY_H 1
36  
-
37  
-/* Define to 1 if you have the `nanosleep' function. */
38  
-/* #undef HAVE_NANOSLEEP */
39  
-
40  
-/* Define to 1 if you have the `poll' function. */
41  
-#define HAVE_POLL 1
42  
-
43  
-/* Define to 1 if you have the <poll.h> header file. */
44  
-#define HAVE_POLL_H 1
45  
-
46  
-/* Define to 1 if you have the `port_create' function. */
47  
-/* #undef HAVE_PORT_CREATE */
48  
-
49  
-/* Define to 1 if you have the <port.h> header file. */
50  
-/* #undef HAVE_PORT_H */
51  
-
52  
-/* Define to 1 if you have the `select' function. */
53  
-#define HAVE_SELECT 1
54  
-
55  
-/* Define to 1 if you have the <stdint.h> header file. */
56  
-#define HAVE_STDINT_H 1
57  
-
58  
-/* Define to 1 if you have the <stdlib.h> header file. */
59  
-#define HAVE_STDLIB_H 1
60  
-
61  
-/* Define to 1 if you have the <strings.h> header file. */
62  
-#define HAVE_STRINGS_H 1
63  
-
64  
-/* Define to 1 if you have the <string.h> header file. */
65  
-#define HAVE_STRING_H 1
66  
-
67  
-/* Define to 1 if you have the <sys/epoll.h> header file. */
68  
-/* #undef HAVE_SYS_EPOLL_H */
69  
-
70  
-/* Define to 1 if you have the <sys/eventfd.h> header file. */
71  
-/* #undef HAVE_SYS_EVENTFD_H */
72  
-
73  
-/* Define to 1 if you have the <sys/event.h> header file. */
74  
-/* #undef HAVE_SYS_EVENT_H */
75  
-